@opensystemslab/map 0.4.7 → 0.5.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.4.7",
3
+ "version": "0.5.0",
4
4
  "license": "OGL-UK-3.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -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?: any[]): Promise<void>;
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 {};