@ascentgl/ads-ui 21.3.0 → 21.5.0
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-buttons-button-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +10 -10
- 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-indicator-spinner.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +7 -7
- package/fesm2022/ascentgl-ads-ui.mjs +856 -599
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ascentgl-ads-ui.d.ts +92 -4
package/package.json
CHANGED
|
@@ -2112,13 +2112,19 @@ type SnackBarData = {
|
|
|
2112
2112
|
buttonCaption?: string;
|
|
2113
2113
|
closeOnClick?: boolean;
|
|
2114
2114
|
onButtonClick?: () => void;
|
|
2115
|
+
/**
|
|
2116
|
+
* Optional duration in milliseconds to auto-close the snackbar.
|
|
2117
|
+
* If not set and panel class is 'success', defaults to 4000ms.
|
|
2118
|
+
*/
|
|
2119
|
+
autoCloseDuration?: number;
|
|
2115
2120
|
};
|
|
2116
|
-
declare class AdsSnackbarComponent implements AfterViewInit {
|
|
2121
|
+
declare class AdsSnackbarComponent implements AfterViewInit, OnDestroy {
|
|
2117
2122
|
private elementRef;
|
|
2118
2123
|
data: SnackBarData;
|
|
2119
2124
|
snackBarRef: MatSnackBarRef<any>;
|
|
2120
2125
|
readonly defaultButtonCaption = "Close";
|
|
2121
2126
|
protected readonly PanelClass: typeof PanelClass;
|
|
2127
|
+
private autoCloseTimeoutId?;
|
|
2122
2128
|
/** @ignore */
|
|
2123
2129
|
constructor(elementRef: ElementRef<HTMLElement>);
|
|
2124
2130
|
get buttonPanelClass(): Variant;
|
|
@@ -2126,9 +2132,15 @@ declare class AdsSnackbarComponent implements AfterViewInit {
|
|
|
2126
2132
|
get id(): string;
|
|
2127
2133
|
/** @ignore */
|
|
2128
2134
|
ngAfterViewInit(): void;
|
|
2135
|
+
/**
|
|
2136
|
+
* Sets up the auto-close timer if required.
|
|
2137
|
+
* If autoCloseDuration is 0, null, or undefined, disables auto-close even for 'success'.
|
|
2138
|
+
*/
|
|
2139
|
+
private setupAutoCloseTimer;
|
|
2140
|
+
/** @ignore */
|
|
2141
|
+
ngOnDestroy(): void;
|
|
2129
2142
|
/** @ignore */
|
|
2130
2143
|
onSnackbarClick(): void;
|
|
2131
|
-
protected readonly indexedDB: IDBFactory;
|
|
2132
2144
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsSnackbarComponent, never>;
|
|
2133
2145
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsSnackbarComponent, "ads-snackbar", never, {}, {}, never, never, false, never>;
|
|
2134
2146
|
}
|
|
@@ -3317,5 +3329,81 @@ declare class AdsProgressStepperModule {
|
|
|
3317
3329
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsProgressStepperModule>;
|
|
3318
3330
|
}
|
|
3319
3331
|
|
|
3320
|
-
|
|
3321
|
-
|
|
3332
|
+
interface VerticalNavigationStep {
|
|
3333
|
+
/** Unique identifier for the step */
|
|
3334
|
+
id: string;
|
|
3335
|
+
/** Display name of the step */
|
|
3336
|
+
label: string;
|
|
3337
|
+
/** CSS selector or element ID to scroll to when step is clicked */
|
|
3338
|
+
targetSelector?: string;
|
|
3339
|
+
/** Whether the step is currently active */
|
|
3340
|
+
active?: boolean;
|
|
3341
|
+
/** Whether the step is disabled */
|
|
3342
|
+
disabled?: boolean;
|
|
3343
|
+
}
|
|
3344
|
+
declare class AdsVerticalNavigationStepperComponent implements OnInit, OnDestroy, OnChanges {
|
|
3345
|
+
/** List of steps to display in the stepper */
|
|
3346
|
+
steps: VerticalNavigationStep[];
|
|
3347
|
+
/** Index of the currently active step */
|
|
3348
|
+
activeStepIndex: number;
|
|
3349
|
+
/** Whether to enable smooth scrolling when navigating to steps */
|
|
3350
|
+
smoothScroll: boolean;
|
|
3351
|
+
/** Scroll offset in pixels when navigating to target elements */
|
|
3352
|
+
scrollOffset: number;
|
|
3353
|
+
/** Whether clicking on steps is enabled */
|
|
3354
|
+
clickable: boolean;
|
|
3355
|
+
/** Event emitted when a step is clicked */
|
|
3356
|
+
stepClick: EventEmitter<{
|
|
3357
|
+
step: VerticalNavigationStep;
|
|
3358
|
+
index: number;
|
|
3359
|
+
}>;
|
|
3360
|
+
/** @ignore */
|
|
3361
|
+
private scrollListener?;
|
|
3362
|
+
/** @ignore */
|
|
3363
|
+
ngOnInit(): void;
|
|
3364
|
+
/** @ignore */
|
|
3365
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3366
|
+
/** @ignore */
|
|
3367
|
+
ngOnDestroy(): void;
|
|
3368
|
+
/** @ignore */
|
|
3369
|
+
private updateActiveStep;
|
|
3370
|
+
/** @ignore */
|
|
3371
|
+
private setupScrollListener;
|
|
3372
|
+
/** @ignore */
|
|
3373
|
+
private updateActiveStepBasedOnScroll;
|
|
3374
|
+
/** @ignore */
|
|
3375
|
+
onStepClick(step: VerticalNavigationStep, index: number): void;
|
|
3376
|
+
/** @ignore */
|
|
3377
|
+
private scrollToElement;
|
|
3378
|
+
/** @ignore */
|
|
3379
|
+
private setActiveStep;
|
|
3380
|
+
/**
|
|
3381
|
+
* Programmatically set the active step
|
|
3382
|
+
* @param index - The index of the step to activate
|
|
3383
|
+
*/
|
|
3384
|
+
setActiveStepByIndex(index: number): void;
|
|
3385
|
+
/**
|
|
3386
|
+
* Programmatically set the active step by step ID
|
|
3387
|
+
* @param id - The ID of the step to activate
|
|
3388
|
+
*/
|
|
3389
|
+
setActiveStepById(id: string): void;
|
|
3390
|
+
/**
|
|
3391
|
+
* Navigate to the next step
|
|
3392
|
+
*/
|
|
3393
|
+
nextStep(): void;
|
|
3394
|
+
/**
|
|
3395
|
+
* Navigate to the previous step
|
|
3396
|
+
*/
|
|
3397
|
+
previousStep(): void;
|
|
3398
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsVerticalNavigationStepperComponent, never>;
|
|
3399
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsVerticalNavigationStepperComponent, "ads-vertical-navigation-stepper", never, { "steps": { "alias": "steps"; "required": false; }; "activeStepIndex": { "alias": "activeStepIndex"; "required": false; }; "smoothScroll": { "alias": "smoothScroll"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; }, { "stepClick": "stepClick"; }, never, never, false, never>;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
declare class AdsVerticalNavigationStepperModule {
|
|
3403
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsVerticalNavigationStepperModule, never>;
|
|
3404
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsVerticalNavigationStepperModule, [typeof AdsVerticalNavigationStepperComponent], [typeof i2.CommonModule], [typeof AdsVerticalNavigationStepperComponent]>;
|
|
3405
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdsVerticalNavigationStepperModule>;
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
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, AdsGenericLogoComponent, AdsGenericLogoModule, 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, AdsVerticalNavigationStepperComponent, AdsVerticalNavigationStepperModule, AdsWizardStepperComponent, AdsWizardStepperModule, AscentCardComponent, AscentCardModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus };
|
|
3409
|
+
export type { AdsModalData, Breadcrumb, ColumnVisibilityControl, 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, VerticalNavigationStep, WizardStep };
|