@what3words/angular-components
Advanced tools
Comparing version 4.5.0 to 4.6.0
@@ -10,2 +10,5 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core'; | ||
import type { Coordinates as IWhat3wordsMapCoordinates } from '@what3words/javascript-components'; | ||
import type { InputValuePayload as IWhat3wordsNotesInputValuePayload } from '@what3words/javascript-components'; | ||
import type { SuggestionPayload as IWhat3wordsNotesSuggestionPayload } from '@what3words/javascript-components'; | ||
import type { SuggestionsPayload as IWhat3wordsNotesSuggestionsPayload } from '@what3words/javascript-components'; | ||
import * as i0 from "@angular/core"; | ||
@@ -60,2 +63,45 @@ export declare class What3wordsAddress { | ||
} | ||
export declare class What3wordsNotes { | ||
protected z: NgZone; | ||
protected el: HTMLElement; | ||
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<What3wordsNotes, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<What3wordsNotes, "what3words-notes", never, { "addressFormat": "addressFormat"; "apiKey": "apiKey"; "apiVersion": "apiVersion"; "baseUrl": "baseUrl"; "callback": "callback"; "clipToBoundingBox": "clipToBoundingBox"; "clipToCircle": "clipToCircle"; "clipToCountry": "clipToCountry"; "clipToPolygon": "clipToPolygon"; "headers": "headers"; "language": "language"; "nFocusResults": "nFocusResults"; "searchFocus": "searchFocus"; "showHintsTooltip": "showHintsTooltip"; "typeaheadDelay": "typeaheadDelay"; }, {}, never, ["*"], false, never>; | ||
} | ||
export declare interface What3wordsNotes extends Components.What3wordsNotes { | ||
/** | ||
* Emitted when the input value changes @example { value: "filled.count.s" } | ||
*/ | ||
valueChanged: EventEmitter<CustomEvent<IWhat3wordsNotesInputValuePayload>>; | ||
/** | ||
* Emitted when the input value is a valid what3words address @example { value: "filled.count.soap" } | ||
*/ | ||
valueValid: EventEmitter<CustomEvent<IWhat3wordsNotesInputValuePayload>>; | ||
/** | ||
* Emitted when the input value is not a valid what3words address @example { value: "filled,count,s" } | ||
*/ | ||
valueInvalid: EventEmitter<CustomEvent<IWhat3wordsNotesInputValuePayload>>; | ||
/** | ||
* Emitted when a suggestion is selected @example { suggestion: { words: "filled.count.soap", [...] } } | ||
*/ | ||
suggestionSelected: EventEmitter<CustomEvent<IWhat3wordsNotesSuggestionPayload>>; | ||
/** | ||
* Emitted when the suggestions change | ||
*/ | ||
suggestionsChanged: EventEmitter<CustomEvent<IWhat3wordsNotesSuggestionsPayload>>; | ||
/** | ||
* Emitted when a suggestion is deselected | ||
*/ | ||
suggestionDeselected: EventEmitter<CustomEvent<IWhat3wordsNotesSuggestionPayload>>; | ||
/** | ||
* Emitted when a suggestion is hovered over | ||
*/ | ||
suggestionHover: EventEmitter<CustomEvent<IWhat3wordsNotesSuggestionPayload>>; | ||
/** | ||
* Emitted when a what3words API error occurs | ||
*/ | ||
apiError: EventEmitter<CustomEvent<{ | ||
error: Error | null; | ||
}>>; | ||
} | ||
export declare class What3wordsSymbol { | ||
@@ -62,0 +108,0 @@ protected z: NgZone; |
@@ -5,4 +5,4 @@ import * as i0 from "@angular/core"; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.What3wordsAddress, typeof i1.What3wordsAutosuggest, typeof i1.What3wordsMap, typeof i1.What3wordsSymbol], never, [typeof i1.What3wordsAddress, typeof i1.What3wordsAutosuggest, typeof i1.What3wordsMap, typeof i1.What3wordsSymbol]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.What3wordsAddress, typeof i1.What3wordsAutosuggest, typeof i1.What3wordsMap, typeof i1.What3wordsNotes, typeof i1.What3wordsSymbol], never, [typeof i1.What3wordsAddress, typeof i1.What3wordsAutosuggest, typeof i1.What3wordsMap, typeof i1.What3wordsNotes, typeof i1.What3wordsSymbol]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>; | ||
} |
import * as d from './components'; | ||
export declare const DIRECTIVES: (typeof d.What3wordsAddress | typeof d.What3wordsAutosuggest | typeof d.What3wordsMap | typeof d.What3wordsSymbol)[]; | ||
export declare const DIRECTIVES: (typeof d.What3wordsAddress | typeof d.What3wordsAutosuggest | typeof d.What3wordsMap | typeof d.What3wordsNotes | typeof d.What3wordsSymbol)[]; |
{ | ||
"name": "@what3words/angular-components", | ||
"version": "4.5.0", | ||
"version": "4.6.0", | ||
"description": "The what3words javascript sdk and web components for angular", | ||
"dependencies": { | ||
"@what3words/javascript-components": "^4.5.0", | ||
"@what3words/javascript-components": "^4.6.0", | ||
"tslib": "^2.3.0" | ||
@@ -8,0 +8,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
137231
874