@ascentgl/ads-ui 20.0.36 → 20.0.37
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 +125 -4
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +54 -3
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnChanges, SimpleChanges, OnDestroy, EventEmitter, ElementRef, SimpleChange, OnInit, AfterContentInit, Renderer2, AfterViewInit, ChangeDetectorRef, TemplateRef, PipeTransform } from '@angular/core';
|
|
2
|
+
import { OnChanges, SimpleChanges, OnDestroy, EventEmitter, ElementRef, SimpleChange, OnInit, AfterContentInit, Renderer2, AfterViewInit, ChangeDetectorRef, TemplateRef, PipeTransform, QueryList } 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';
|
|
@@ -3061,5 +3061,56 @@ declare class AdsInternationalPhoneFieldModule {
|
|
|
3061
3061
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsInternationalPhoneFieldModule>;
|
|
3062
3062
|
}
|
|
3063
3063
|
|
|
3064
|
-
|
|
3065
|
-
|
|
3064
|
+
type ProgressStep = {
|
|
3065
|
+
title: string;
|
|
3066
|
+
date?: string;
|
|
3067
|
+
completed?: boolean;
|
|
3068
|
+
};
|
|
3069
|
+
|
|
3070
|
+
declare class AdsProgressStepperComponent implements AfterViewInit, OnChanges, OnInit {
|
|
3071
|
+
private renderer;
|
|
3072
|
+
private registry;
|
|
3073
|
+
private window;
|
|
3074
|
+
constructor(renderer: Renderer2, registry: AdsIconRegistry, window: Window);
|
|
3075
|
+
/** @ignore */
|
|
3076
|
+
stepper: ElementRef;
|
|
3077
|
+
/** @ignore */
|
|
3078
|
+
stepElements: QueryList<ElementRef>;
|
|
3079
|
+
/** Whether the viewport is mobile */
|
|
3080
|
+
isMobile: boolean;
|
|
3081
|
+
/** Padding of parent container */
|
|
3082
|
+
containerPadding: number;
|
|
3083
|
+
/** Steps to display */
|
|
3084
|
+
steps: ProgressStep[];
|
|
3085
|
+
/** @ignore */
|
|
3086
|
+
styles: any;
|
|
3087
|
+
/** @ignore */
|
|
3088
|
+
private focusedIndex;
|
|
3089
|
+
/** @ignore */
|
|
3090
|
+
ngAfterViewInit(): void;
|
|
3091
|
+
/** @ignore */
|
|
3092
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3093
|
+
/** @ignore */
|
|
3094
|
+
ngOnInit(): void;
|
|
3095
|
+
/** @ignore */
|
|
3096
|
+
onSwipeLeft(): void;
|
|
3097
|
+
/** @ignore */
|
|
3098
|
+
onSwipeRight(): void;
|
|
3099
|
+
/** @ignore */
|
|
3100
|
+
private centerCurrentStep;
|
|
3101
|
+
/** @ignore */
|
|
3102
|
+
private getLastCompletedStepIndex;
|
|
3103
|
+
/** @ignore */
|
|
3104
|
+
private calculateStepsPerViewport;
|
|
3105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsProgressStepperComponent, never>;
|
|
3106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsProgressStepperComponent, "peak-progress-stepper", never, { "isMobile": { "alias": "isMobile"; "required": false; }; "containerPadding": { "alias": "containerPadding"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; }, {}, never, never, false, never>;
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
declare class AdsProgressStepperModule {
|
|
3110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsProgressStepperModule, never>;
|
|
3111
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsProgressStepperModule, [typeof AdsProgressStepperComponent], [typeof i2.CommonModule, typeof i4.AdsIconModule, typeof i4$2.AdsGestureModule], [typeof AdsProgressStepperComponent]>;
|
|
3112
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdsProgressStepperModule>;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
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, AdsProgressStepperComponent, AdsProgressStepperModule, 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, AscentCardComponent, AscentCardModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus };
|
|
3116
|
+
export type { AdsModalData, Breadcrumb, Copyright, DROP_CALLBACK_INDEXES, DividerStyle, ErrorPageConfig, ErrorPageInfoColumn, HorizontalNavLink, IconButtonSize, Link, MainMenuItem, NavItem, NavMenuItem, NumericStep, ProgressStep, ScmsNavItem, ScmsNavSubItem, Size, SnackBarData, 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.37",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ascentgl/ads-icons": ">=0.0.0",
|
|
6
6
|
"@ascentgl/ads-utils": ">=0.0.0",
|
|
@@ -28,10 +28,6 @@
|
|
|
28
28
|
"types": "./index.d.ts",
|
|
29
29
|
"default": "./fesm2022/ascentgl-ads-ui.mjs"
|
|
30
30
|
},
|
|
31
|
-
"./src/lib/components/avatar": {
|
|
32
|
-
"types": "./src/lib/components/avatar/index.d.ts",
|
|
33
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs"
|
|
34
|
-
},
|
|
35
31
|
"./src/lib/components/drag-and-drop-list": {
|
|
36
32
|
"types": "./src/lib/components/drag-and-drop-list/index.d.ts",
|
|
37
33
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
@@ -40,6 +36,10 @@
|
|
|
40
36
|
"types": "./src/lib/components/footer/index.d.ts",
|
|
41
37
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
42
38
|
},
|
|
39
|
+
"./src/lib/components/avatar": {
|
|
40
|
+
"types": "./src/lib/components/avatar/index.d.ts",
|
|
41
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs"
|
|
42
|
+
},
|
|
43
43
|
"./src/lib/components/header": {
|
|
44
44
|
"types": "./src/lib/components/header/index.d.ts",
|
|
45
45
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs"
|