@ascentgl/ads-ui 20.0.6 → 20.0.8
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.mjs +26 -454
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +3 -130
- package/package.json +12 -16
- package/fesm2022/ascentgl-ads-ui-src-lib-components-map.mjs +0 -439
- package/fesm2022/ascentgl-ads-ui-src-lib-components-map.mjs.map +0 -1
- package/src/lib/components/map/index.d.ts +0 -133
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
|
|
2
|
+
import { OnChanges, SimpleChanges, OnDestroy, ElementRef, SimpleChange, OnInit, AfterContentInit, Renderer2, AfterViewInit, ChangeDetectorRef, EventEmitter, TemplateRef, PipeTransform } 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,8 +46,6 @@ 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';
|
|
51
49
|
import * as i4$7 from '@angular/material/menu';
|
|
52
50
|
import { MatMenu } from '@angular/material/menu';
|
|
53
51
|
import * as i4$8 from 'angular-split';
|
|
@@ -2317,131 +2315,6 @@ declare class AdsTableModule {
|
|
|
2317
2315
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsTableModule>;
|
|
2318
2316
|
}
|
|
2319
2317
|
|
|
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
|
-
|
|
2445
2318
|
type NavMenuItem = {
|
|
2446
2319
|
template?: TemplateRef<unknown>;
|
|
2447
2320
|
label?: string;
|
|
@@ -3143,5 +3016,5 @@ declare class AdsInternationalPhoneFieldModule {
|
|
|
3143
3016
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsInternationalPhoneFieldModule>;
|
|
3144
3017
|
}
|
|
3145
3018
|
|
|
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,
|
|
3147
|
-
export type { AdsModalData, Breadcrumb, Copyright, DROP_CALLBACK_INDEXES, DividerStyle, ErrorPageConfig, ErrorPageInfoColumn, HorizontalNavLink, IconButtonSize, Link, MainMenuItem,
|
|
3019
|
+
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 };
|
|
3020
|
+
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascentgl/ads-ui",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.8",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ascentgl/ads-icons": ">=0.0.0",
|
|
6
6
|
"@ascentgl/ads-utils": ">=0.0.0",
|
|
@@ -32,30 +32,26 @@
|
|
|
32
32
|
"types": "./src/lib/components/avatar/index.d.ts",
|
|
33
33
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs"
|
|
34
34
|
},
|
|
35
|
-
"./src/lib/components/footer": {
|
|
36
|
-
"types": "./src/lib/components/footer/index.d.ts",
|
|
37
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
38
|
-
},
|
|
39
35
|
"./src/lib/components/drag-and-drop-list": {
|
|
40
36
|
"types": "./src/lib/components/drag-and-drop-list/index.d.ts",
|
|
41
37
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
42
38
|
},
|
|
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
|
-
},
|
|
47
39
|
"./src/lib/components/header": {
|
|
48
40
|
"types": "./src/lib/components/header/index.d.ts",
|
|
49
41
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs"
|
|
50
42
|
},
|
|
51
|
-
"./src/lib/components/
|
|
52
|
-
"types": "./src/lib/components/
|
|
53
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-
|
|
43
|
+
"./src/lib/components/footer": {
|
|
44
|
+
"types": "./src/lib/components/footer/index.d.ts",
|
|
45
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
54
46
|
},
|
|
55
47
|
"./src/lib/components/shell-layout": {
|
|
56
48
|
"types": "./src/lib/components/shell-layout/index.d.ts",
|
|
57
49
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs"
|
|
58
50
|
},
|
|
51
|
+
"./src/lib/components/splash-page": {
|
|
52
|
+
"types": "./src/lib/components/splash-page/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs"
|
|
54
|
+
},
|
|
59
55
|
"./src/lib/components/buttons/button-container": {
|
|
60
56
|
"types": "./src/lib/components/buttons/button-container/index.d.ts",
|
|
61
57
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs"
|
|
@@ -64,6 +60,10 @@
|
|
|
64
60
|
"types": "./src/lib/components/error-page/error-page-code/index.d.ts",
|
|
65
61
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs"
|
|
66
62
|
},
|
|
63
|
+
"./src/lib/components/header/container": {
|
|
64
|
+
"types": "./src/lib/components/header/container/index.d.ts",
|
|
65
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs"
|
|
66
|
+
},
|
|
67
67
|
"./src/lib/components/footer/container": {
|
|
68
68
|
"types": "./src/lib/components/footer/container/index.d.ts",
|
|
69
69
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs"
|
|
@@ -72,10 +72,6 @@
|
|
|
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
|
-
},
|
|
79
75
|
"./src/lib/components/progress-indicators/progress-bar": {
|
|
80
76
|
"types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
|
|
81
77
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
|