@onemrvapublic/design-system 19.2.0-develop.9 → 19.3.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/fesm2022/onemrvapublic-design-system-flag-icon.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-layout.mjs +52 -52
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +27 -9
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +13 -13
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +13 -13
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +9 -9
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +22 -22
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-shared.mjs +71 -71
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/mat-input-address/src/onemrva-mat-input-address.component.d.ts +7 -1
- package/package.json +1 -1
- package/shared/src/lib/services/osm.service.d.ts +31 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
4
5
|
import { OnemRvaOSMService, OSMResult } from '@onemrvapublic/design-system/shared';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class OnemrvaMatInputAddressComponent implements OnInit {
|
|
@@ -12,11 +13,16 @@ export declare class OnemrvaMatInputAddressComponent implements OnInit {
|
|
|
12
13
|
noEntriesFoundLabel: string;
|
|
13
14
|
hint: string;
|
|
14
15
|
getAddress: EventEmitter<OSMResult>;
|
|
16
|
+
autocompleteTrigger: MatAutocompleteTrigger;
|
|
15
17
|
results$: Observable<OSMResult[]>;
|
|
16
18
|
constructor(osm: OnemRvaOSMService);
|
|
17
19
|
isLoading: boolean;
|
|
20
|
+
firstResult: null | OSMResult;
|
|
21
|
+
showNoResult: boolean;
|
|
18
22
|
ngOnInit(): void;
|
|
19
|
-
selectAddress(address: OSMResult): void;
|
|
23
|
+
selectAddress(address: OSMResult, emit?: boolean): void;
|
|
24
|
+
clear(): void;
|
|
25
|
+
handleEnter(): void;
|
|
20
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputAddressComponent, never>;
|
|
21
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputAddressComponent, "onemrva-mat-input-address", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "address": { "alias": "address"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; }, { "getAddress": "getAddress"; }, never, never, true, never>;
|
|
22
28
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,45 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export interface OSMAddress {
|
|
5
|
+
house_number?: string;
|
|
6
|
+
road?: string;
|
|
7
|
+
village?: string;
|
|
8
|
+
municipality?: string;
|
|
9
|
+
county?: string;
|
|
10
|
+
state?: string;
|
|
11
|
+
'ISO3166-2-lvl6'?: string;
|
|
12
|
+
postcode?: string;
|
|
13
|
+
neighbourhood?: string;
|
|
14
|
+
city_district?: string;
|
|
15
|
+
city?: string;
|
|
16
|
+
region?: string;
|
|
17
|
+
suburb?: string;
|
|
18
|
+
country?: string;
|
|
19
|
+
country_code?: string;
|
|
20
|
+
}
|
|
4
21
|
export interface OSMResult {
|
|
5
|
-
|
|
22
|
+
place_id: number;
|
|
23
|
+
licence: string;
|
|
24
|
+
osm_type: string;
|
|
25
|
+
osm_id: number;
|
|
6
26
|
lat: string;
|
|
7
27
|
lon: string;
|
|
8
|
-
|
|
28
|
+
class: string;
|
|
29
|
+
type: string;
|
|
30
|
+
place_rank: number;
|
|
31
|
+
importance: number;
|
|
32
|
+
addresstype: string;
|
|
33
|
+
name: string;
|
|
34
|
+
display_name: string;
|
|
35
|
+
address: OSMAddress;
|
|
36
|
+
boundingbox: [string, string, string, string];
|
|
9
37
|
}
|
|
10
38
|
export declare class OnemRvaOSMService {
|
|
11
39
|
private http;
|
|
12
40
|
private nominatimUrl;
|
|
13
41
|
constructor(http: HttpClient);
|
|
14
|
-
searchAddress(query: string): Observable<OSMResult[]>;
|
|
42
|
+
searchAddress(query: string, format?: string, addressdetails?: number, limit?: number): Observable<OSMResult[]>;
|
|
15
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaOSMService, never>;
|
|
16
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<OnemRvaOSMService>;
|
|
17
45
|
}
|