ecabs-components 1.0.55 → 1.0.56-alpha

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.
@@ -0,0 +1,41 @@
1
+ /// <reference types="google.maps" />
2
+ import { Observable } from 'rxjs';
3
+ import { AfterViewInit, ElementRef, EventEmitter, Injector, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
4
+ import { ControlValueAccessor } from '@angular/forms';
5
+ import { UnsubscribeService } from '../../public-api';
6
+ import ElementBaseComponent from '../base/element-base';
7
+ import PlaceResult = google.maps.places.PlaceResult;
8
+ import * as i0 from "@angular/core";
9
+ export declare class EcabsPlaceAutocompleteComponent extends ElementBaseComponent implements OnDestroy, OnChanges, AfterViewInit, ControlValueAccessor {
10
+ private readonly ngZone;
11
+ private readonly unsubscribeService;
12
+ private readonly elementRef;
13
+ private readonly injector;
14
+ showDeleteItem: boolean;
15
+ showSuffix: boolean;
16
+ countryCode: string;
17
+ apiLoaded$: Observable<boolean>;
18
+ readonly placeResult: EventEmitter<{
19
+ place: PlaceResult;
20
+ text: string;
21
+ }>;
22
+ deleteItem: EventEmitter<any>;
23
+ val: string;
24
+ get value(): string;
25
+ set value(val: string);
26
+ constructor(ngZone: NgZone, unsubscribeService: UnsubscribeService, elementRef: ElementRef, injector: Injector);
27
+ ngOnChanges(changes: SimpleChanges): void;
28
+ ngAfterViewInit(): void;
29
+ ngOnDestroy(): void;
30
+ onChange: any;
31
+ onTouch: any;
32
+ writeValue(value: any): void;
33
+ registerOnChange(fn: any): void;
34
+ registerOnTouched(fn: any): void;
35
+ onDeleteItem(): void;
36
+ onClean(): void;
37
+ private initGoogle;
38
+ private getElement;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPlaceAutocompleteComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsPlaceAutocompleteComponent, "ecabs-place-autocomplete", never, { "showDeleteItem": { "alias": "showDeleteItem"; "required": false; }; "showSuffix": { "alias": "showSuffix"; "required": false; }; "countryCode": { "alias": "countryCode"; "required": false; }; "apiLoaded$": { "alias": "apiLoaded$"; "required": false; }; }, { "placeResult": "placeResult"; "deleteItem": "deleteItem"; }, never, never, false, never>;
41
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-place-autocomplete.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../base/element-wrapper/element-wrapper.module";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@angular/material/icon";
7
+ export declare class EcabsPlaceAutocompleteModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPlaceAutocompleteModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsPlaceAutocompleteModule, [typeof i1.EcabsPlaceAutocompleteComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.FormsModule, typeof i5.MatIconModule], [typeof i1.EcabsPlaceAutocompleteComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsPlaceAutocompleteModule>;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "1.0.55",
3
+ "version": "1.0.56-alpha",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.12",
6
6
  "@angular/common": "^16.2.12",
package/public-api.d.ts CHANGED
@@ -82,3 +82,5 @@ export * from './lib/ecabs-menu-items/ecabs-menu-items.module';
82
82
  export * from './lib/ecabs-menu-items/ecabs-menu-items.component';
83
83
  export * from './lib/ecabs-logo/ecabs-logo.module';
84
84
  export * from './lib/ecabs-logo/ecabs-logo.component';
85
+ export * from './lib/ecabs-place-autocomplete/ecabs-place-autocomplete.module';
86
+ export * from './lib/ecabs-place-autocomplete/ecabs-place-autocomplete.component';