@ascentgl/ads-ui 20.0.3 → 20.0.6
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/ascentgl-ads-ui-src-lib-components-avatar.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +10 -10
- package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-map.mjs +439 -0
- package/fesm2022/ascentgl-ads-ui-src-lib-components-map.mjs.map +1 -0
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui.mjs +1014 -585
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +131 -7
- package/package.json +18 -14
- package/src/assets/sass/ads-ui/overrides/angular-material/_html.scss +0 -1
- package/src/lib/components/map/index.d.ts +133 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnChanges, SimpleChanges, OnDestroy, ElementRef, SimpleChange, OnInit, AfterContentInit, Renderer2, AfterViewInit, ChangeDetectorRef, EventEmitter, TemplateRef, PipeTransform } from '@angular/core';
|
|
2
|
+
import { OnChanges, SimpleChanges, OnDestroy, ElementRef, SimpleChange, OnInit, AfterContentInit, Renderer2, AfterViewInit, ChangeDetectorRef, EventEmitter, TemplateRef, PipeTransform, Signal } from '@angular/core';
|
|
3
3
|
import * as i4 from '@ascentgl/ads-icons';
|
|
4
4
|
import { AdsIconRegistry, IconThemes } from '@ascentgl/ads-icons';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
@@ -46,6 +46,8 @@ import { MatExpansionPanel, MatAccordion } from '@angular/material/expansion';
|
|
|
46
46
|
import * as ag_grid_community from 'ag-grid-community';
|
|
47
47
|
import { GridOptions, ColDef, GridApi, GridReadyEvent, FirstDataRenderedEvent } from 'ag-grid-community';
|
|
48
48
|
import * as i4$6 from 'ag-grid-angular';
|
|
49
|
+
import * as i5$4 from '@angular/google-maps';
|
|
50
|
+
import { GoogleMap } from '@angular/google-maps';
|
|
49
51
|
import * as i4$7 from '@angular/material/menu';
|
|
50
52
|
import { MatMenu } from '@angular/material/menu';
|
|
51
53
|
import * as i4$8 from 'angular-split';
|
|
@@ -2315,6 +2317,131 @@ declare class AdsTableModule {
|
|
|
2315
2317
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsTableModule>;
|
|
2316
2318
|
}
|
|
2317
2319
|
|
|
2320
|
+
type MapMarker = {
|
|
2321
|
+
title: string;
|
|
2322
|
+
position: google.maps.LatLngLiteral;
|
|
2323
|
+
active?: boolean;
|
|
2324
|
+
description?: string;
|
|
2325
|
+
};
|
|
2326
|
+
|
|
2327
|
+
import AdvancedMarkerElementOptions = google.maps.marker.AdvancedMarkerElementOptions;
|
|
2328
|
+
|
|
2329
|
+
declare class MapMarkersService {
|
|
2330
|
+
markers: i0.WritableSignal<MapMarker[]>;
|
|
2331
|
+
markerOptions: i0.WritableSignal<AdvancedMarkerElementOptions[]>;
|
|
2332
|
+
container?: HTMLElement;
|
|
2333
|
+
private readonly appRef;
|
|
2334
|
+
constructor();
|
|
2335
|
+
private createMarkerComponent;
|
|
2336
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapMarkersService, never>;
|
|
2337
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapMarkersService>;
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
import MapOptions = google.maps.MapOptions;
|
|
2341
|
+
|
|
2342
|
+
declare class MapOptionsService {
|
|
2343
|
+
options: i0.WritableSignal<MapOptions>;
|
|
2344
|
+
center: i0.Signal<google.maps.LatLngLiteral | google.maps.LatLng | null | undefined>;
|
|
2345
|
+
mapOptions: i0.Signal<MapOptions>;
|
|
2346
|
+
private readonly defaultMapOptions;
|
|
2347
|
+
private readonly mapMarkersService;
|
|
2348
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapOptionsService, never>;
|
|
2349
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapOptionsService>;
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
declare enum CustomMapTypeId {
|
|
2353
|
+
CUSTOM_LIGHT = "customLight",
|
|
2354
|
+
CUSTOM_DARK = "customDark"
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
declare class MapConstructorService {
|
|
2358
|
+
mapTypeId: i0.WritableSignal<CustomMapTypeId>;
|
|
2359
|
+
isLoaded: i0.WritableSignal<boolean>;
|
|
2360
|
+
map: Signal<GoogleMap | undefined>;
|
|
2361
|
+
private readonly lightStyles;
|
|
2362
|
+
private readonly darkStyles;
|
|
2363
|
+
private readonly mapsLoader;
|
|
2364
|
+
constructor();
|
|
2365
|
+
configure(): void;
|
|
2366
|
+
private createCenterControl;
|
|
2367
|
+
private toggleTheme;
|
|
2368
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapConstructorService, never>;
|
|
2369
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapConstructorService>;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
import DirectionsResult = google.maps.DirectionsResult;
|
|
2373
|
+
|
|
2374
|
+
declare class MapDirectionsService {
|
|
2375
|
+
directions: i0.WritableSignal<DirectionsResult | null>;
|
|
2376
|
+
constructor();
|
|
2377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapDirectionsService, never>;
|
|
2378
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapDirectionsService>;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
declare class MapPolylineService {
|
|
2382
|
+
markers: i0.WritableSignal<MapMarker[]>;
|
|
2383
|
+
map: Signal<GoogleMap | undefined>;
|
|
2384
|
+
readonly polyline: i0.WritableSignal<google.maps.Polyline | undefined>;
|
|
2385
|
+
constructor();
|
|
2386
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapPolylineService, never>;
|
|
2387
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapPolylineService>;
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
import MapTypeId = google.maps.MapTypeId;
|
|
2391
|
+
|
|
2392
|
+
declare class AdsMapComponent {
|
|
2393
|
+
markers: i0.ModelSignal<MapMarker[]>;
|
|
2394
|
+
map: i0.Signal<GoogleMap | undefined>;
|
|
2395
|
+
readonly mapOptionsService: MapOptionsService;
|
|
2396
|
+
readonly mapMarkersService: MapMarkersService;
|
|
2397
|
+
readonly mapDirectionsService: MapDirectionsService;
|
|
2398
|
+
readonly mapPolylineService: MapPolylineService;
|
|
2399
|
+
readonly mapConstructorService: MapConstructorService;
|
|
2400
|
+
private readonly ref;
|
|
2401
|
+
constructor();
|
|
2402
|
+
getMapTypeId(): MapTypeId;
|
|
2403
|
+
getIsLoaded(): boolean;
|
|
2404
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapComponent, never>;
|
|
2405
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsMapComponent, "ads-map", never, { "markers": { "alias": "markers"; "required": false; "isSignal": true; }; }, { "markers": "markersChange"; }, never, never, false, never>;
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
declare class AdsMapMarkerComponent implements OnInit {
|
|
2409
|
+
index: i0.InputSignal<number>;
|
|
2410
|
+
marker: i0.Signal<MapMarker>;
|
|
2411
|
+
container: i0.InputSignal<HTMLElement>;
|
|
2412
|
+
private tooltipRef?;
|
|
2413
|
+
private element;
|
|
2414
|
+
private parentElement;
|
|
2415
|
+
private uniqueIdentifier;
|
|
2416
|
+
private readonly mapMarkersService;
|
|
2417
|
+
private readonly ref;
|
|
2418
|
+
private readonly appRef;
|
|
2419
|
+
constructor();
|
|
2420
|
+
ngOnInit(): void;
|
|
2421
|
+
onClick(): void;
|
|
2422
|
+
onMouseEnter(): void;
|
|
2423
|
+
onMouseLeave(): void;
|
|
2424
|
+
private getElement;
|
|
2425
|
+
private getParentElement;
|
|
2426
|
+
private setParentZIndex;
|
|
2427
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapMarkerComponent, never>;
|
|
2428
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsMapMarkerComponent, "ads-map-marker", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; "container": { "alias": "container"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
declare class AdsMapMarkerTooltipComponent {
|
|
2432
|
+
index: i0.InputSignal<number>;
|
|
2433
|
+
marker: i0.Signal<MapMarker>;
|
|
2434
|
+
private readonly mapMarkersService;
|
|
2435
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapMarkerTooltipComponent, never>;
|
|
2436
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsMapMarkerTooltipComponent, "ads-map-marker-tooltip", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
declare class AdsMapModule {
|
|
2440
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapModule, never>;
|
|
2441
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMapModule, [typeof AdsMapComponent, typeof AdsMapMarkerComponent, typeof AdsMapMarkerTooltipComponent], [typeof i2.CommonModule, typeof i5$4.GoogleMap, typeof i5$4.MapDirectionsRenderer, typeof i5$4.MapAdvancedMarker], [typeof AdsMapComponent, typeof AdsMapMarkerComponent, typeof AdsMapMarkerTooltipComponent]>;
|
|
2442
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdsMapModule>;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2318
2445
|
type NavMenuItem = {
|
|
2319
2446
|
template?: TemplateRef<unknown>;
|
|
2320
2447
|
label?: string;
|
|
@@ -2998,10 +3125,6 @@ declare class AdsInternationalPhoneFieldComponent extends AbstractInputComponent
|
|
|
2998
3125
|
/** @ignore */
|
|
2999
3126
|
getFlag(option: Option): string;
|
|
3000
3127
|
/** @ignore */
|
|
3001
|
-
onBlur: () => void;
|
|
3002
|
-
/** @ignore */
|
|
3003
|
-
protected validatePhoneNumber: () => void;
|
|
3004
|
-
/** @ignore */
|
|
3005
3128
|
private provideValueToTheValueControl;
|
|
3006
3129
|
/** @ignore */
|
|
3007
3130
|
canShowError(): boolean;
|
|
@@ -3009,6 +3132,7 @@ declare class AdsInternationalPhoneFieldComponent extends AbstractInputComponent
|
|
|
3009
3132
|
canShowSuccess(): boolean;
|
|
3010
3133
|
/** @ignore */
|
|
3011
3134
|
displayFirstError(control?: FormControl): string;
|
|
3135
|
+
private validateMask;
|
|
3012
3136
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsInternationalPhoneFieldComponent, never>;
|
|
3013
3137
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsInternationalPhoneFieldComponent, "ads-international-phone-field", never, { "dropdownId": { "alias": "dropdownId"; "required": false; }; }, {}, never, never, false, never>;
|
|
3014
3138
|
}
|
|
@@ -3019,5 +3143,5 @@ declare class AdsInternationalPhoneFieldModule {
|
|
|
3019
3143
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsInternationalPhoneFieldModule>;
|
|
3020
3144
|
}
|
|
3021
3145
|
|
|
3022
|
-
export { AdsAscentLogoComponent, AdsAscentLogoModule, AdsAvatarComponent, AdsAvatarModule, AdsBreadcrumbComponent, AdsBreadcrumbModule, AdsBubbleComponent, AdsBubbleModule, AdsButtonComponent, AdsButtonContainerComponent, AdsButtonContainerModule, AdsButtonModule, AdsCardComponent, AdsCardModule, AdsCheckboxComponent, AdsCheckboxModule, AdsChipComponent, AdsChipModule, AdsCreateTagComponent, AdsCreateTagModule, AdsDatepickerComponent, AdsDatepickerModule, AdsDatetimepickerComponent, AdsDatetimepickerModule, AdsDividerModule, AdsDragAndDropListComponent, AdsDragAndDropListModule, AdsDropdownComponent, AdsDropdownModule, AdsErrorPageCodeComponent, AdsErrorPageCodeModule, AdsErrorPageComponent, AdsErrorPageModule, AdsExpansionPanelComponent, AdsExpansionPanelModule, AdsFooterComponent, AdsFooterContainerComponent, AdsFooterContainerModule, AdsFooterModule, AdsHeaderComponent, AdsHeaderContainerComponent, AdsHeaderContainerModule, AdsHeaderModule, AdsHorizontalNavBarComponent, AdsHorizontalNavBarModule, AdsIconButtonComponent, AdsIconButtonModule, AdsIconHoverComponent, AdsIconHoverModule, AdsInputComponent, AdsInputDropdownComponent, AdsInputDropdownModule, AdsInputModule, AdsInternationalPhoneFieldComponent, AdsInternationalPhoneFieldModule, AdsLinkButtonComponent, AdsLinkButtonModule, AdsMainMenuComponent, AdsMainMenuModule, AdsModalComponent, AdsModalModule, AdsMultiSelectDropdownComponent, AdsMultiSelectDropdownModule, AdsNavMenuComponent, AdsNavMenuModule, AdsNavigationCollapseHandleComponent, AdsNavigationCollapseHandleModule, AdsNavigationComponent, AdsNavigationHeaderComponent, AdsNavigationHeaderModule, AdsNavigationItemComponent, AdsNavigationItemModule, AdsNavigationItemsContainerComponent, AdsNavigationItemsContainerModule, AdsNavigationModule, AdsNumericBadgeComponent, AdsNumericBadgeModule, AdsNumericStepperComponent, AdsNumericStepperModule, AdsOrgDisplayTextComponent, AdsOrgDisplayTextModule, AdsPeakEssentialsLogoComponent, AdsPeakEssentialsLogoModule, AdsPeakMarketplaceLogoComponent, AdsPeakMarketplaceLogoModule, AdsPeakOrderManagementLogoComponent, AdsPeakOrderManagementLogoModule, AdsPhoneFieldComponent, AdsPhoneFieldModule, AdsPrimaryLogoComponent, AdsPrimaryLogoModule, AdsProgressBarComponent, AdsProgressBarModule, AdsProgressIndicatorSpinnerComponent, AdsProgressIndicatorSpinnerModule, AdsProgressSpinnerComponent, AdsProgressSpinnerModule, AdsRadioButtonComponent, AdsRadioButtonModule, AdsScmsLogoComponent, AdsScmsLogoModule, AdsScmsSideNavBarComponent, AdsScmsSideNavBarModule, AdsSearchDropdownComponent, AdsSearchDropdownModule, AdsSearchInputComponent, AdsSearchInputModule, AdsShellLayoutModule, AdsSideNavBarComponent, AdsSideNavBarModule, AdsSlideToggle, AdsSlideToggleComponent, AdsSliderComponent, AdsSliderModule, AdsSnackbarComponent, AdsSnackbarModule, AdsSplashPageComponent, AdsSplashPageModule, AdsStepperComponent, AdsStepperModule, AdsTableComponent, AdsTableModule, AdsTabsComponent, AdsTabsModule, AdsTagComponent, AdsTagContainerComponent, AdsTagContainerModule, AdsTagModule, AdsTextareaComponent, AdsTextareaModule, AdsTimeFieldComponent, AdsTimeFieldModule, AdsTimepickerComponent, AdsTimepickerModule, AdsWizardStepperComponent, AdsWizardStepperModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus };
|
|
3023
|
-
export type { AdsModalData, Breadcrumb, Copyright, DROP_CALLBACK_INDEXES, DividerStyle, ErrorPageConfig, ErrorPageInfoColumn, HorizontalNavLink, IconButtonSize, Link, MainMenuItem, NavItem, NavMenuItem, NumericStep, ScmsNavItem, ScmsNavSubItem, Size, Step, Tab, Tag, UNSUBSCRIBE_FUNCTIONS_COLLECTION, Variant, WizardStep };
|
|
3146
|
+
export { AdsAscentLogoComponent, AdsAscentLogoModule, AdsAvatarComponent, AdsAvatarModule, AdsBreadcrumbComponent, AdsBreadcrumbModule, AdsBubbleComponent, AdsBubbleModule, AdsButtonComponent, AdsButtonContainerComponent, AdsButtonContainerModule, AdsButtonModule, AdsCardComponent, AdsCardModule, AdsCheckboxComponent, AdsCheckboxModule, AdsChipComponent, AdsChipModule, AdsCreateTagComponent, AdsCreateTagModule, AdsDatepickerComponent, AdsDatepickerModule, AdsDatetimepickerComponent, AdsDatetimepickerModule, AdsDividerModule, AdsDragAndDropListComponent, AdsDragAndDropListModule, AdsDropdownComponent, AdsDropdownModule, AdsErrorPageCodeComponent, AdsErrorPageCodeModule, AdsErrorPageComponent, AdsErrorPageModule, AdsExpansionPanelComponent, AdsExpansionPanelModule, AdsFooterComponent, AdsFooterContainerComponent, AdsFooterContainerModule, AdsFooterModule, AdsHeaderComponent, AdsHeaderContainerComponent, AdsHeaderContainerModule, AdsHeaderModule, AdsHorizontalNavBarComponent, AdsHorizontalNavBarModule, AdsIconButtonComponent, AdsIconButtonModule, AdsIconHoverComponent, AdsIconHoverModule, AdsInputComponent, AdsInputDropdownComponent, AdsInputDropdownModule, AdsInputModule, AdsInternationalPhoneFieldComponent, AdsInternationalPhoneFieldModule, AdsLinkButtonComponent, AdsLinkButtonModule, AdsMainMenuComponent, AdsMainMenuModule, AdsMapComponent, AdsMapMarkerComponent, AdsMapMarkerTooltipComponent, AdsMapModule, AdsModalComponent, AdsModalModule, AdsMultiSelectDropdownComponent, AdsMultiSelectDropdownModule, AdsNavMenuComponent, AdsNavMenuModule, AdsNavigationCollapseHandleComponent, AdsNavigationCollapseHandleModule, AdsNavigationComponent, AdsNavigationHeaderComponent, AdsNavigationHeaderModule, AdsNavigationItemComponent, AdsNavigationItemModule, AdsNavigationItemsContainerComponent, AdsNavigationItemsContainerModule, AdsNavigationModule, AdsNumericBadgeComponent, AdsNumericBadgeModule, AdsNumericStepperComponent, AdsNumericStepperModule, AdsOrgDisplayTextComponent, AdsOrgDisplayTextModule, AdsPeakEssentialsLogoComponent, AdsPeakEssentialsLogoModule, AdsPeakMarketplaceLogoComponent, AdsPeakMarketplaceLogoModule, AdsPeakOrderManagementLogoComponent, AdsPeakOrderManagementLogoModule, AdsPhoneFieldComponent, AdsPhoneFieldModule, AdsPrimaryLogoComponent, AdsPrimaryLogoModule, AdsProgressBarComponent, AdsProgressBarModule, AdsProgressIndicatorSpinnerComponent, AdsProgressIndicatorSpinnerModule, AdsProgressSpinnerComponent, AdsProgressSpinnerModule, AdsRadioButtonComponent, AdsRadioButtonModule, AdsScmsLogoComponent, AdsScmsLogoModule, AdsScmsSideNavBarComponent, AdsScmsSideNavBarModule, AdsSearchDropdownComponent, AdsSearchDropdownModule, AdsSearchInputComponent, AdsSearchInputModule, AdsShellLayoutModule, AdsSideNavBarComponent, AdsSideNavBarModule, AdsSlideToggle, AdsSlideToggleComponent, AdsSliderComponent, AdsSliderModule, AdsSnackbarComponent, AdsSnackbarModule, AdsSplashPageComponent, AdsSplashPageModule, AdsStepperComponent, AdsStepperModule, AdsTableComponent, AdsTableModule, AdsTabsComponent, AdsTabsModule, AdsTagComponent, AdsTagContainerComponent, AdsTagContainerModule, AdsTagModule, AdsTextareaComponent, AdsTextareaModule, AdsTimeFieldComponent, AdsTimeFieldModule, AdsTimepickerComponent, AdsTimepickerModule, AdsWizardStepperComponent, AdsWizardStepperModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus };
|
|
3147
|
+
export type { AdsModalData, Breadcrumb, Copyright, DROP_CALLBACK_INDEXES, DividerStyle, ErrorPageConfig, ErrorPageInfoColumn, HorizontalNavLink, IconButtonSize, Link, MainMenuItem, MapMarker, NavItem, NavMenuItem, NumericStep, ScmsNavItem, ScmsNavSubItem, Size, Step, Tab, Tag, UNSUBSCRIBE_FUNCTIONS_COLLECTION, Variant, WizardStep };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascentgl/ads-ui",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.6",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@ascentgl/ads-icons": ">=
|
|
6
|
-
"@ascentgl/ads-utils": ">=
|
|
5
|
+
"@ascentgl/ads-icons": ">=0.0.0",
|
|
6
|
+
"@ascentgl/ads-utils": ">=0.0.0",
|
|
7
7
|
"@jsverse/transloco": ">=7.0.0",
|
|
8
8
|
"ag-grid-angular": "33.0.3",
|
|
9
9
|
"ag-grid-community": "33.0.3",
|
|
@@ -36,21 +36,25 @@
|
|
|
36
36
|
"types": "./src/lib/components/footer/index.d.ts",
|
|
37
37
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
38
38
|
},
|
|
39
|
+
"./src/lib/components/drag-and-drop-list": {
|
|
40
|
+
"types": "./src/lib/components/drag-and-drop-list/index.d.ts",
|
|
41
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
42
|
+
},
|
|
43
|
+
"./src/lib/components/map": {
|
|
44
|
+
"types": "./src/lib/components/map/index.d.ts",
|
|
45
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-map.mjs"
|
|
46
|
+
},
|
|
39
47
|
"./src/lib/components/header": {
|
|
40
48
|
"types": "./src/lib/components/header/index.d.ts",
|
|
41
49
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs"
|
|
42
50
|
},
|
|
43
|
-
"./src/lib/components/shell-layout": {
|
|
44
|
-
"types": "./src/lib/components/shell-layout/index.d.ts",
|
|
45
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs"
|
|
46
|
-
},
|
|
47
51
|
"./src/lib/components/splash-page": {
|
|
48
52
|
"types": "./src/lib/components/splash-page/index.d.ts",
|
|
49
53
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs"
|
|
50
54
|
},
|
|
51
|
-
"./src/lib/components/
|
|
52
|
-
"types": "./src/lib/components/
|
|
53
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-
|
|
55
|
+
"./src/lib/components/shell-layout": {
|
|
56
|
+
"types": "./src/lib/components/shell-layout/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs"
|
|
54
58
|
},
|
|
55
59
|
"./src/lib/components/buttons/button-container": {
|
|
56
60
|
"types": "./src/lib/components/buttons/button-container/index.d.ts",
|
|
@@ -64,14 +68,14 @@
|
|
|
64
68
|
"types": "./src/lib/components/footer/container/index.d.ts",
|
|
65
69
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs"
|
|
66
70
|
},
|
|
67
|
-
"./src/lib/components/header/container": {
|
|
68
|
-
"types": "./src/lib/components/header/container/index.d.ts",
|
|
69
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs"
|
|
70
|
-
},
|
|
71
71
|
"./src/lib/components/logo/primary-logo": {
|
|
72
72
|
"types": "./src/lib/components/logo/primary-logo/index.d.ts",
|
|
73
73
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
|
|
74
74
|
},
|
|
75
|
+
"./src/lib/components/header/container": {
|
|
76
|
+
"types": "./src/lib/components/header/container/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs"
|
|
78
|
+
},
|
|
75
79
|
"./src/lib/components/progress-indicators/progress-bar": {
|
|
76
80
|
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
77
81
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Signal, OnInit } from '@angular/core';
|
|
3
|
+
import * as i5 from '@angular/google-maps';
|
|
4
|
+
import { GoogleMap } from '@angular/google-maps';
|
|
5
|
+
import * as i4 from '@angular/common';
|
|
6
|
+
|
|
7
|
+
type MapMarker = {
|
|
8
|
+
title: string;
|
|
9
|
+
position: google.maps.LatLngLiteral;
|
|
10
|
+
active?: boolean;
|
|
11
|
+
description?: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
import AdvancedMarkerElementOptions = google.maps.marker.AdvancedMarkerElementOptions;
|
|
15
|
+
|
|
16
|
+
declare class MapMarkersService {
|
|
17
|
+
markers: i0.WritableSignal<MapMarker[]>;
|
|
18
|
+
markerOptions: i0.WritableSignal<AdvancedMarkerElementOptions[]>;
|
|
19
|
+
container?: HTMLElement;
|
|
20
|
+
private readonly appRef;
|
|
21
|
+
constructor();
|
|
22
|
+
private createMarkerComponent;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapMarkersService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapMarkersService>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
import MapOptions = google.maps.MapOptions;
|
|
28
|
+
|
|
29
|
+
declare class MapOptionsService {
|
|
30
|
+
options: i0.WritableSignal<MapOptions>;
|
|
31
|
+
center: i0.Signal<google.maps.LatLngLiteral | google.maps.LatLng | null | undefined>;
|
|
32
|
+
mapOptions: i0.Signal<MapOptions>;
|
|
33
|
+
private readonly defaultMapOptions;
|
|
34
|
+
private readonly mapMarkersService;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapOptionsService, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapOptionsService>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare enum CustomMapTypeId {
|
|
40
|
+
CUSTOM_LIGHT = "customLight",
|
|
41
|
+
CUSTOM_DARK = "customDark"
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class MapConstructorService {
|
|
45
|
+
mapTypeId: i0.WritableSignal<CustomMapTypeId>;
|
|
46
|
+
isLoaded: i0.WritableSignal<boolean>;
|
|
47
|
+
map: Signal<GoogleMap | undefined>;
|
|
48
|
+
private readonly lightStyles;
|
|
49
|
+
private readonly darkStyles;
|
|
50
|
+
private readonly mapsLoader;
|
|
51
|
+
constructor();
|
|
52
|
+
configure(): void;
|
|
53
|
+
private createCenterControl;
|
|
54
|
+
private toggleTheme;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapConstructorService, never>;
|
|
56
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapConstructorService>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
import DirectionsResult = google.maps.DirectionsResult;
|
|
60
|
+
|
|
61
|
+
declare class MapDirectionsService {
|
|
62
|
+
directions: i0.WritableSignal<DirectionsResult | null>;
|
|
63
|
+
constructor();
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapDirectionsService, never>;
|
|
65
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapDirectionsService>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare class MapPolylineService {
|
|
69
|
+
markers: i0.WritableSignal<MapMarker[]>;
|
|
70
|
+
map: Signal<GoogleMap | undefined>;
|
|
71
|
+
readonly polyline: i0.WritableSignal<google.maps.Polyline | undefined>;
|
|
72
|
+
constructor();
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapPolylineService, never>;
|
|
74
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapPolylineService>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
import MapTypeId = google.maps.MapTypeId;
|
|
78
|
+
|
|
79
|
+
declare class AdsMapComponent {
|
|
80
|
+
markers: i0.ModelSignal<MapMarker[]>;
|
|
81
|
+
map: i0.Signal<GoogleMap | undefined>;
|
|
82
|
+
readonly mapOptionsService: MapOptionsService;
|
|
83
|
+
readonly mapMarkersService: MapMarkersService;
|
|
84
|
+
readonly mapDirectionsService: MapDirectionsService;
|
|
85
|
+
readonly mapPolylineService: MapPolylineService;
|
|
86
|
+
readonly mapConstructorService: MapConstructorService;
|
|
87
|
+
private readonly ref;
|
|
88
|
+
constructor();
|
|
89
|
+
getMapTypeId(): MapTypeId;
|
|
90
|
+
getIsLoaded(): boolean;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsMapComponent, "ads-map", never, { "markers": { "alias": "markers"; "required": false; "isSignal": true; }; }, { "markers": "markersChange"; }, never, never, false, never>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare class AdsMapMarkerComponent implements OnInit {
|
|
96
|
+
index: i0.InputSignal<number>;
|
|
97
|
+
marker: i0.Signal<MapMarker>;
|
|
98
|
+
container: i0.InputSignal<HTMLElement>;
|
|
99
|
+
private tooltipRef?;
|
|
100
|
+
private element;
|
|
101
|
+
private parentElement;
|
|
102
|
+
private uniqueIdentifier;
|
|
103
|
+
private readonly mapMarkersService;
|
|
104
|
+
private readonly ref;
|
|
105
|
+
private readonly appRef;
|
|
106
|
+
constructor();
|
|
107
|
+
ngOnInit(): void;
|
|
108
|
+
onClick(): void;
|
|
109
|
+
onMouseEnter(): void;
|
|
110
|
+
onMouseLeave(): void;
|
|
111
|
+
private getElement;
|
|
112
|
+
private getParentElement;
|
|
113
|
+
private setParentZIndex;
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapMarkerComponent, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsMapMarkerComponent, "ads-map-marker", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; "container": { "alias": "container"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class AdsMapMarkerTooltipComponent {
|
|
119
|
+
index: i0.InputSignal<number>;
|
|
120
|
+
marker: i0.Signal<MapMarker>;
|
|
121
|
+
private readonly mapMarkersService;
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapMarkerTooltipComponent, never>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsMapMarkerTooltipComponent, "ads-map-marker-tooltip", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare class AdsMapModule {
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMapModule, never>;
|
|
128
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMapModule, [typeof AdsMapComponent, typeof AdsMapMarkerComponent, typeof AdsMapMarkerTooltipComponent], [typeof i4.CommonModule, typeof i5.GoogleMap, typeof i5.MapDirectionsRenderer, typeof i5.MapAdvancedMarker], [typeof AdsMapComponent, typeof AdsMapMarkerComponent, typeof AdsMapMarkerTooltipComponent]>;
|
|
129
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdsMapModule>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export { AdsMapComponent, AdsMapMarkerComponent, AdsMapMarkerTooltipComponent, AdsMapModule };
|
|
133
|
+
export type { MapMarker };
|