@opensystemslab/map 1.0.0-alpha.14 → 1.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +0,0 @@
1
- import { LitElement, TemplateResult } from "lit";
2
- type LabelStyleEnum = "responsive" | "static";
3
- export declare class GeocodeAutocomplete extends LitElement {
4
- static styles: import("lit").CSSResult;
5
- id: string;
6
- label: string;
7
- initialAddress: string;
8
- osApiKey: string;
9
- osProxyEndpoint: string;
10
- labelStyle: LabelStyleEnum;
11
- private _selectedAddress;
12
- private _addressesMatching;
13
- private _isLoading;
14
- private _osError;
15
- connectedCallback(): void;
16
- disconnectedCallback(): void;
17
- firstUpdated(): void;
18
- _fetchData(input: string | undefined, populateResults: (values: string[]) => void): Promise<void>;
19
- _getLabelClasses(): string;
20
- /**
21
- * Render an errorMessage container
22
- * Must always be visible to ensure that role="status" works for screenreaders
23
- * @param errorMessage
24
- * @returns TemplateResult
25
- */
26
- _getErrorMessageContainer(errorMessage: string | undefined): TemplateResult;
27
- /**
28
- * If not in state of error, return the autocomplete
29
- * @param errorMessage
30
- * @returns TemplateResult | null
31
- */
32
- _getAutocomplete(errorMessage: string | undefined): TemplateResult | null;
33
- render(): TemplateResult<1>;
34
- /**
35
- * dispatches an event for clients to subscribe to
36
- * @param eventName
37
- * @param payload
38
- */
39
- private dispatch;
40
- }
41
- declare global {
42
- interface HTMLElementTagNameMap {
43
- "geocode-autocomplete": GeocodeAutocomplete;
44
- }
45
- }
46
- export {};
@@ -1 +0,0 @@
1
- import "./index";