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