ngx-wapp-components 1.0.74 → 1.0.76

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.
@@ -2,6 +2,7 @@
2
2
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
3
3
  import { FormGroup } from '@angular/forms';
4
4
  import { AddressMaps } from 'wapping-components';
5
+ import { CustomerAddress } from '../../shared/models/customer-address.model';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class WMapsComponent implements OnInit, AfterViewInit, OnChanges {
7
8
  private render;
@@ -17,6 +18,8 @@ export declare class WMapsComponent implements OnInit, AfterViewInit, OnChanges
17
18
  componentRestrictions: any;
18
19
  initialCoords: any;
19
20
  streetAddress: any;
21
+ address: CustomerAddress;
22
+ label: string;
20
23
  addressVerbose: EventEmitter<AddressMaps>;
21
24
  map: google.maps.Map;
22
25
  marker: google.maps.Marker;
@@ -30,5 +33,5 @@ export declare class WMapsComponent implements OnInit, AfterViewInit, OnChanges
30
33
  returnAddress(place: any): void;
31
34
  private loadAutoComplete;
32
35
  static ɵfac: i0.ɵɵFactoryDeclaration<WMapsComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<WMapsComponent, "w-maps", never, { "isEdit": "isEdit"; "mapHeight": "mapHeight"; "showMap": "showMap"; "showMapButton": "showMapButton"; "smallSearchInput": "smallSearchInput"; "showMapLabel": "showMapLabel"; "hideMapLabel": "hideMapLabel"; "componentRestrictions": "componentRestrictions"; "initialCoords": "initialCoords"; "streetAddress": "streetAddress"; }, { "addressVerbose": "addressVerbose"; }, never, never, false, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<WMapsComponent, "w-maps", never, { "isEdit": "isEdit"; "mapHeight": "mapHeight"; "showMap": "showMap"; "showMapButton": "showMapButton"; "smallSearchInput": "smallSearchInput"; "showMapLabel": "showMapLabel"; "hideMapLabel": "hideMapLabel"; "componentRestrictions": "componentRestrictions"; "initialCoords": "initialCoords"; "streetAddress": "streetAddress"; "address": "address"; "label": "label"; }, { "addressVerbose": "addressVerbose"; }, never, never, false, never>;
34
37
  }
@@ -0,0 +1,10 @@
1
+ export interface CustomerAddress {
2
+ id: number;
3
+ areaLevel1: string;
4
+ areaLevel2: string;
5
+ locality: string;
6
+ postalCode: string;
7
+ country: string;
8
+ latitude: number;
9
+ longitude: number;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-wapp-components",
3
- "version": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "This is a Wapping reusable component library published by Wapping.",
5
5
  "keywords": [
6
6
  "code",
package/public-api.d.ts CHANGED
@@ -60,3 +60,4 @@ export * from './lib/shared/models/image-b64.model';
60
60
  export * from './lib/shared/models/w-file-b64.model';
61
61
  export * from './lib/shared/models/w-image-file-uploader-config.model';
62
62
  export * from './lib/shared/models/w-image-cropper-data.model';
63
+ export * from './lib/shared/models/customer-address.model';