@opensystemslab/map 0.4.7 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
import { LitElement } from "lit";
|
2
|
+
declare type Address = {
|
3
|
+
LPI: any;
|
4
|
+
};
|
2
5
|
export declare class AddressAutocomplete extends LitElement {
|
3
6
|
static styles: import("lit").CSSResult;
|
4
7
|
id: string;
|
5
8
|
postcode: string;
|
6
9
|
label: string;
|
10
|
+
initialAddress: string;
|
7
11
|
osPlacesApiKey: string;
|
8
12
|
private _totalAddresses;
|
9
13
|
private _addressesInPostcode;
|
@@ -13,7 +17,7 @@ export declare class AddressAutocomplete extends LitElement {
|
|
13
17
|
connectedCallback(): void;
|
14
18
|
disconnectedCallback(): void;
|
15
19
|
firstUpdated(): void;
|
16
|
-
_fetchData(offset?: number, prevResults?:
|
20
|
+
_fetchData(offset?: number, prevResults?: Address[]): Promise<void>;
|
17
21
|
render(): import("lit").TemplateResult<1>;
|
18
22
|
/**
|
19
23
|
* dispatches an event for clients to subscribe to
|
@@ -27,3 +31,4 @@ declare global {
|
|
27
31
|
"address-autocomplete": AddressAutocomplete;
|
28
32
|
}
|
29
33
|
}
|
34
|
+
export {};
|