@ascentgl/ads-ui 21.13.0 → 21.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascentgl/ads-ui",
3
- "version": "21.13.0",
3
+ "version": "21.15.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=21.0.0",
6
6
  "date-fns": ">=4.1.0",
@@ -135,7 +135,7 @@ declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
135
135
  /** provide icon name. NOTE: the icon must be registered in icon registry **/
136
136
  name: i0.InputSignal<adsIcon>;
137
137
  /** choose ads icon theme **/
138
- theme: i0.InputSignal<"iconPrimary" | "primary" | "success" | "warn" | "white">;
138
+ theme: i0.InputSignal<"primary" | "iconPrimary" | "success" | "warn" | "white">;
139
139
  /** set badge value as number **/
140
140
  value: i0.InputSignal<number>;
141
141
  /** @ignore **/
@@ -1440,6 +1440,8 @@ declare class AdsInputComponent extends AbstractInputComponent implements OnInit
1440
1440
  showHidePassword(): void;
1441
1441
  /** @ignore */
1442
1442
  restrictInput(event: KeyboardEvent): void;
1443
+ /** @ignore Prevent scroll wheel from changing number input value */
1444
+ preventScroll(event: WheelEvent): void;
1443
1445
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputComponent, never>;
1444
1446
  static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputComponent, "ads-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "isPasswordField": { "alias": "isPasswordField"; "required": false; }; "showClockIcon": { "alias": "showClockIcon"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "matAutocomplete": { "alias": "matAutocomplete"; "required": false; }; "showSearchIcon": { "alias": "showSearchIcon"; "required": false; }; "onFocus": { "alias": "onFocus"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "rightHint": { "alias": "rightHint"; "required": false; }; }, {}, never, never, false, never>;
1445
1447
  }
@@ -1563,8 +1565,11 @@ type SearchDropdownDisplayControlValue = string | {
1563
1565
  value: string;
1564
1566
  };
1565
1567
  type SearchDropdownComponentOptions = DropdownComponentOption[];
1568
+ type SearchDropdownStaticOptionTemplateContext = {
1569
+ $implicit: string;
1570
+ };
1566
1571
  type SearchDropdownStaticOption = {
1567
- label: string;
1572
+ label: string | TemplateRef<SearchDropdownStaticOptionTemplateContext>;
1568
1573
  onClick?: (currentInputValue: string) => void;
1569
1574
  };
1570
1575
 
@@ -1656,6 +1661,8 @@ declare class AdsSearchDropdownComponent extends AbstractDropdownComponent imple
1656
1661
  auto?: MatAutocomplete;
1657
1662
  /** @ignore */
1658
1663
  loading: i0.WritableSignal<boolean>;
1664
+ /** @ignore - tracks if a search request has completed (for staticOptionRef visibility) */
1665
+ private hasSearched;
1659
1666
  /** @ignore */
1660
1667
  private isInternalValueSet;
1661
1668
  /** @ignore */
@@ -1722,6 +1729,8 @@ declare class AdsSearchDropdownComponent extends AbstractDropdownComponent imple
1722
1729
  key: DropdownComponentOption;
1723
1730
  value: string;
1724
1731
  }) => string;
1732
+ /** @ignore - Check if value is a TemplateRef */
1733
+ isTemplateRef(value: unknown): value is TemplateRef<unknown>;
1725
1734
  /** @ignore */
1726
1735
  resetInitialState(): void;
1727
1736
  /** @ignore */
@@ -3401,4 +3410,4 @@ declare function provideAdsUi(config: AdsUiConfig): {
3401
3410
  }[];
3402
3411
 
3403
3412
  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, AdsPilotPayLogoComponent, AdsPilotPayLogoModule, 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, AdsVerticalSideNavigationStepperComponent, AdsVerticalSideNavigationStepperModule, AdsWizardStepperComponent, AdsWizardStepperModule, AscentCardComponent, AscentCardModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus, provideAdsUi };
3404
- export type { AdsModalData, AdsUiConfig, 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, VerticalSideNavigationStep, WizardStep };
3413
+ export type { AdsModalData, AdsUiConfig, Breadcrumb, ColumnVisibilityControl, Copyright, DROP_CALLBACK_INDEXES, DividerStyle, ErrorPageConfig, ErrorPageInfoColumn, HorizontalNavLink, IconButtonSize, Link, MainMenuItem, NavItem, NavMenuItem, NumericStep, ProgressStep, ScmsNavItem, ScmsNavSubItem, SearchDropdownComponentOptions, SearchDropdownDisplayControlValue, SearchDropdownStaticOption, SearchDropdownStaticOptionTemplateContext, Size, SnackBarData, Step, Tab, Tag, UNSUBSCRIBE_FUNCTIONS_COLLECTION, Variant, VerticalSideNavigationStep, WizardStep };