@corto-ai/gds-angular 2.1.5-test.3 → 2.1.5-test.5

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@corto-ai/gds-angular",
3
- "version": "2.1.5-test.3",
4
- "devVersion": "3",
3
+ "version": "2.1.5-test.5",
4
+ "devVersion": "5",
5
5
  "exports": {
6
6
  "./assets/*": "./assets/*",
7
7
  "./package.json": {
@@ -491,6 +491,8 @@ declare abstract class GdsSignalFormControl<T> implements FormValueControl<T> {
491
491
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GdsSignalFormControl<any>, never, never, { "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, { "touched": "touchedChange"; }, never, never, true, never>;
492
492
  }
493
493
 
494
+ type GdsDrilldownSelectLayout = 'drilldown' | 'tree';
495
+
494
496
  declare class GdsDrilldownSelectComponent<T extends {
495
497
  children?: T[];
496
498
  }> extends GdsSignalFormControl<string[]> implements AfterViewInit {
@@ -508,11 +510,16 @@ declare class GdsDrilldownSelectComponent<T extends {
508
510
  resetLabel: _angular_core.InputSignal<string>;
509
511
  emptyText: _angular_core.InputSignal<string>;
510
512
  backAriaLabel: _angular_core.InputSignal<string>;
513
+ dialogTitle: _angular_core.InputSignal<string>;
514
+ applyLabel: _angular_core.InputSignal<string>;
515
+ /** Mobile picker presentation. Desktop always uses the dropdown drilldown menu. */
516
+ layout: _angular_core.InputSignal<GdsDrilldownSelectLayout>;
511
517
  value: _angular_core.ModelSignal<string[]>;
512
518
  dropdownWidth: _angular_core.WritableSignal<number>;
513
519
  isOpen: _angular_core.WritableSignal<boolean>;
514
520
  navStack: _angular_core.WritableSignal<T[]>;
515
521
  searchText: _angular_core.WritableSignal<string>;
522
+ isMobile: _angular_core.Signal<boolean>;
516
523
  menu: _angular_core.Signal<TemplateRef<HTMLElement>>;
517
524
  searchInput: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
518
525
  displayedOptions: _angular_core.Signal<T[]>;
@@ -521,6 +528,7 @@ declare class GdsDrilldownSelectComponent<T extends {
521
528
  hasNavHeader: _angular_core.Signal<boolean>;
522
529
  constructor();
523
530
  ngAfterViewInit(): void;
531
+ onHostClick: (event?: Event) => void;
524
532
  onItemClick: (option: T) => void;
525
533
  onDrilldownClick: (option: T) => void;
526
534
  onBack: () => void;
@@ -530,11 +538,12 @@ declare class GdsDrilldownSelectComponent<T extends {
530
538
  onSearchKeydown: (event: KeyboardEvent) => void;
531
539
  onEscape: () => void;
532
540
  openMenu: () => void;
541
+ openMobileDialog: () => void;
533
542
  optionLabel: (option: T) => string;
534
543
  onArrowRight: (option: T) => void;
535
544
  onArrowLeft: () => void;
536
545
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDrilldownSelectComponent<any>, never>;
537
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsDrilldownSelectComponent<any>, "gds-drilldown-select", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "bindValue": { "alias": "bindValue"; "required": true; "isSignal": true; }; "bindLabel": { "alias": "bindLabel"; "required": true; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "searchAutoFocus": { "alias": "searchAutoFocus"; "required": false; "isSignal": true; }; "maxMenuHeight": { "alias": "maxMenuHeight"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "mobileCancelLabel": { "alias": "mobileCancelLabel"; "required": false; "isSignal": true; }; "resetLabel": { "alias": "resetLabel"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "backAriaLabel": { "alias": "backAriaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: {}; }]>;
546
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsDrilldownSelectComponent<any>, "gds-drilldown-select", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "bindValue": { "alias": "bindValue"; "required": true; "isSignal": true; }; "bindLabel": { "alias": "bindLabel"; "required": true; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "searchAutoFocus": { "alias": "searchAutoFocus"; "required": false; "isSignal": true; }; "maxMenuHeight": { "alias": "maxMenuHeight"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "mobileCancelLabel": { "alias": "mobileCancelLabel"; "required": false; "isSignal": true; }; "resetLabel": { "alias": "resetLabel"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "backAriaLabel": { "alias": "backAriaLabel"; "required": false; "isSignal": true; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; "isSignal": true; }; "applyLabel": { "alias": "applyLabel"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: {}; }]>;
538
547
  }
539
548
 
540
549
  declare class GdsDropdownComponent {
@@ -656,6 +665,7 @@ declare class GdsDateInputComponent extends GdsSignalFormContainer implements Af
656
665
  dropdownPositionX: _angular_core.InputSignal<string>;
657
666
  dropdownPositionY: _angular_core.InputSignal<string>;
658
667
  clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
668
+ clearableAlwaysVisible: _angular_core.InputSignalWithTransform<boolean, unknown>;
659
669
  blurred: _angular_core.OutputEmitterRef<void>;
660
670
  cleared: _angular_core.OutputEmitterRef<void>;
661
671
  selectedDate: _angular_core.ModelSignal<Date | undefined>;
@@ -680,7 +690,7 @@ declare class GdsDateInputComponent extends GdsSignalFormContainer implements Af
680
690
  openCalendar(): void;
681
691
  closeCalendar(): void;
682
692
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDateInputComponent, never>;
683
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsDateInputComponent, "gds-date-input", never, { "dropdownPositionX": { "alias": "dropdownPositionX"; "required": false; "isSignal": true; }; "dropdownPositionY": { "alias": "dropdownPositionY"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; }, { "blurred": "blurred"; "cleared": "cleared"; "selectedDate": "selectedDateChange"; }, ["inputComponent"], ["[leading-visual]", "*", "[trailing-visual]"], true, never>;
693
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsDateInputComponent, "gds-date-input", never, { "dropdownPositionX": { "alias": "dropdownPositionX"; "required": false; "isSignal": true; }; "dropdownPositionY": { "alias": "dropdownPositionY"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearableAlwaysVisible": { "alias": "clearableAlwaysVisible"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; }, { "blurred": "blurred"; "cleared": "cleared"; "selectedDate": "selectedDateChange"; }, ["inputComponent"], ["[leading-visual]", "*", "[trailing-visual]"], true, never>;
684
694
  }
685
695
 
686
696
  declare class GdsFileUploadComponent extends GdsSignalFormControl<File[]> {
@@ -779,6 +789,11 @@ declare class GdsSelectComponent<T, U = T[keyof T]> extends GdsSignalFormControl
779
789
  autofocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
780
790
  multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
781
791
  hideChevron: _angular_core.InputSignalWithTransform<boolean, unknown>;
792
+ preventMobileDialog: _angular_core.InputSignalWithTransform<boolean, unknown>;
793
+ dialogTitle: _angular_core.InputSignal<string>;
794
+ applyLabel: _angular_core.InputSignal<string>;
795
+ searchPlaceholder: _angular_core.InputSignal<string>;
796
+ backAriaLabel: _angular_core.InputSignal<string>;
782
797
  width: _angular_core.InputSignal<"sm" | "md" | "lg" | "default">;
783
798
  id: _angular_core.InputSignal<string>;
784
799
  placeholder: _angular_core.InputSignal<string>;
@@ -818,10 +833,11 @@ declare class GdsSelectComponent<T, U = T[keyof T]> extends GdsSignalFormControl
818
833
  get dropdownPanelScroll(): ElementRef<HTMLElement>;
819
834
  handleClosed: () => void;
820
835
  handleOpened: () => void;
836
+ openMobileDialog: () => void;
821
837
  unmarkItem: () => void;
822
838
  onClearClicked: () => void;
823
839
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsSelectComponent<any, any>, never>;
824
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsSelectComponent<any, any>, "gds-select", never, { "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingText": { "alias": "loadingText"; "required": false; "isSignal": true; }; "clearAriaLabel": { "alias": "clearAriaLabel"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "hideChevron": { "alias": "hideChevron"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; "isSignal": true; }; "bindValue": { "alias": "bindValue"; "required": false; "isSignal": true; }; "bindLabel": { "alias": "bindLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "changed": "changed"; "searched": "searched"; "blurred": "blurred"; "cleared": "cleared"; "closed": "closed"; "opened": "opened"; "bindValue": "bindValueChange"; "bindLabel": "bindLabelChange"; "value": "valueChange"; "items": "itemsChange"; }, ["multiLabelTmpl", "labelTmpl", "optionTmpl", "footerTmpl", "clearBtnTmpl", "placeholderTmpl"], never, true, never>;
840
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsSelectComponent<any, any>, "gds-select", never, { "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingText": { "alias": "loadingText"; "required": false; "isSignal": true; }; "clearAriaLabel": { "alias": "clearAriaLabel"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "hideChevron": { "alias": "hideChevron"; "required": false; "isSignal": true; }; "preventMobileDialog": { "alias": "preventMobileDialog"; "required": false; "isSignal": true; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; "isSignal": true; }; "applyLabel": { "alias": "applyLabel"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "backAriaLabel": { "alias": "backAriaLabel"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; "isSignal": true; }; "bindValue": { "alias": "bindValue"; "required": false; "isSignal": true; }; "bindLabel": { "alias": "bindLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "changed": "changed"; "searched": "searched"; "blurred": "blurred"; "cleared": "cleared"; "closed": "closed"; "opened": "opened"; "bindValue": "bindValueChange"; "bindLabel": "bindLabelChange"; "value": "valueChange"; "items": "itemsChange"; }, ["multiLabelTmpl", "labelTmpl", "optionTmpl", "footerTmpl", "clearBtnTmpl", "placeholderTmpl"], never, true, never>;
825
841
  }
826
842
 
827
843
  declare const gdsSelectWidths: readonly ["default", "sm", "md", "lg"];
@@ -851,6 +867,7 @@ declare class GdsSliderComponent extends GdsSignalFormContainer implements After
851
867
  declare class GdsTextInputComponent extends GdsSignalFormContainer implements AfterContentInit, OnDestroy {
852
868
  #private;
853
869
  clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
870
+ clearableAlwaysVisible: _angular_core.InputSignalWithTransform<boolean, unknown>;
854
871
  cleared: _angular_core.OutputEmitterRef<void>;
855
872
  input: _angular_core.Signal<GdsNativeInputDirective | undefined>;
856
873
  inputValue: _angular_core.WritableSignal<string | undefined>;
@@ -860,7 +877,7 @@ declare class GdsTextInputComponent extends GdsSignalFormContainer implements Af
860
877
  onInputChange(event: Event): void;
861
878
  onClearClick(): void;
862
879
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsTextInputComponent, never>;
863
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsTextInputComponent, "gds-text-input", never, { "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "cleared": "cleared"; }, ["input"], ["[leading-visual]", "*", "[trailing-visual]"], true, never>;
880
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsTextInputComponent, "gds-text-input", never, { "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearableAlwaysVisible": { "alias": "clearableAlwaysVisible"; "required": false; "isSignal": true; }; }, { "cleared": "cleared"; }, ["input"], ["[leading-visual]", "*", "[trailing-visual]"], true, never>;
864
881
  }
865
882
 
866
883
  declare class GdsAutoGrowingTextareaComponent extends GdsSignalFormContainer implements AfterContentInit, OnDestroy {
@@ -1656,4 +1673,4 @@ declare class GdsModule {
1656
1673
  }
1657
1674
 
1658
1675
  export { BrandEnum, CDN_URL, CONTACT_INITIALS_REGEX, DEFAULT_CONFIG, GDS_BRANDS, GDS_EMPTY_STATE_VARIANTS, GDS_TOASTER_CONFIG, GDS_TOAST_CONTAINER, GdsAccountingService, GdsAutoRoundCurrencyDirective, GdsAutofocusDirective, GdsAvatarComponent, GdsBadgeColorType, GdsBadgeComponent, GdsBadgeVariantType, GdsBannerComponent, GdsBoldTextHighlightPipe, GdsBreadcrumbsComponent, GdsBuildOptionConfigPipe, GdsButtonComponent, GdsButtonRadioOptionComponent, GdsChatExpandableListComponent, GdsChatPromptComponent, GdsChatSuggestionComponent, GdsCheckboxComponent, GdsChipColorsMap, GdsChipComponent, GdsCollapsibleAsideLayoutComponent, GdsCompositeOptionPrimaryDirective, GdsCompositeOptionSecondaryDirective, GdsContextMenuHeadingComponent, GdsContextMenuItemComponent, GdsContextMenuItemVariantEnum, GdsContextMenuSwitchComponent, GdsDateInputComponent, GdsDatePipe, GdsDialogBaseDirective, GdsDialogComponent, GdsDialogOverlayComponent, GdsDialogService, GdsDoctypeService, GdsDoctypeToIconPipe, GdsDocumentItemComponent, GdsDrilldownSelectComponent, GdsDropdownComponent, GdsEmptyStateComponent, GdsFeatureBlockComponent, GdsFeedbackButtonComponent, GdsFileUploadComponent, GdsFilenameToIconPipe, GdsFilterChipComponent, GdsFocusOnInitDirective, GdsFormControlComponent, GdsHistoryComponent, GdsIconButtonComponent, GdsIconComponent, GdsIconDoctypeComponent, GdsIconService, GdsInputAutocompleteDirective, GdsItemDisplayComponent, GdsKeyboardNavigationHost, GdsKeyboardNavigationItem, GdsListboxCompositeOptionDirective, GdsListboxDirective, GdsListboxOptionDirective, GdsLoadingCarouselComponent, GdsMapArrayToRadioOptionsPipe, GdsMathFloorPipe, GdsMathMaxPipe, GdsMathMinPipe, GdsMessageInputComponent, GdsModule, GdsNativeInputDirective, GdsNativeTextareaDirective, GdsNavAsideComponent, GdsNavAsideItemComponent, GdsNestedSelectComponent, GdsPageSelectorComponent, GdsProgressBarComponent, GdsRadioComponent, GdsRadioOptionDirective, GdsReferenceComponent, GdsReferenceLinkComponent, GdsRegexFilterDirective, GdsResizedDirective, GdsResizedEvent, GdsResponseComponent, GdsScrollOutOfViewDirective, GdsScrollOutOfViewScrollStatus, GdsScrollOutOfViewService, GdsScrollToBottomDirective, GdsScrollToFirstInvalidDirective, GdsSearchBarComponent, GdsSelectComponent, GdsSelectOnFocusDirective, GdsSidebarItemBodyComponent, GdsSidebarItemComponent, GdsSkeletonLoadingComponent, GdsSliderComponent, GdsSpinnerComponent, GdsSplitButtonComponent, GdsSvgIconPipe, GdsSwitchComponent, GdsTextInputComponent, GdsTextareaComponent, GdsTimelineItemComponent, GdsToastComponent, GdsTooltipComponent, GdsTreeViewListItemComponent, GdsUserPromptService, GdsVirtualScrollListboxDirective, MapperPipe, OnBrandChanged, RoundMode, ToastrService, TreeViewListItemDirective, chipColor, chipSize, chipTypes, chipWidth, formatToISO, gdsButtonSizes, gdsButtonVariants, gdsDropdownPositionsX, gdsDropdownPositionsY, gdsSelectWidths, gdsServices, gdsUserPromptSecondaryTextVariants, getIconsByPrefix, isGdsBrand, ngSelectDropdownPositions, parseLocalizedDate, provideToaster, shortDate, shortDateTime, transformDateFormat, transformDurationToSeconds, transformSecondsToDuration };
1659
- export type { FeatureDescriptionConfigVM, GdsActiveToast, GdsAvatarOrganizationType, GdsAvatarSize, GdsAvatarVariant, GdsBannerState, GdsBrand, GdsBreadCrumbSize, GdsBreadCrumbVM, GdsButtonSharedCssProperties, GdsButtonSharedProperties, GdsButtonSharedSlotProperties, GdsButtonSize, GdsButtonVariant, GdsChipColor, GdsChipColorType, GdsChipSize, GdsChipTypes, GdsChipWidth, GdsContextMenuItemVariantType, GdsDropdownPositionX, GdsDropdownPositionY, GdsEmptyStateSize, GdsEmptyStateVariant, GdsNativeRadioProps, GdsRadioOption, GdsRadioOptionConfig, GdsScrollOutOfViewScrollStatusType, GdsSelectWidth, GdsTimelineConnectorType, GdsToastConfig, GdsToastConfigPayload, GdsToastGlobalConfig, GdsToastInstance, GdsToastStatus, GdsToastType, GdsUserPromptSecondaryTextVariant, HistoryItemVM };
1676
+ export type { FeatureDescriptionConfigVM, GdsActiveToast, GdsAvatarOrganizationType, GdsAvatarSize, GdsAvatarVariant, GdsBannerState, GdsBrand, GdsBreadCrumbSize, GdsBreadCrumbVM, GdsButtonSharedCssProperties, GdsButtonSharedProperties, GdsButtonSharedSlotProperties, GdsButtonSize, GdsButtonVariant, GdsChipColor, GdsChipColorType, GdsChipSize, GdsChipTypes, GdsChipWidth, GdsContextMenuItemVariantType, GdsDrilldownSelectLayout, GdsDropdownPositionX, GdsDropdownPositionY, GdsEmptyStateSize, GdsEmptyStateVariant, GdsNativeRadioProps, GdsRadioOption, GdsRadioOptionConfig, GdsScrollOutOfViewScrollStatusType, GdsSelectWidth, GdsTimelineConnectorType, GdsToastConfig, GdsToastConfigPayload, GdsToastGlobalConfig, GdsToastInstance, GdsToastStatus, GdsToastType, GdsUserPromptSecondaryTextVariant, HistoryItemVM };