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

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.
Files changed (78) hide show
  1. package/README.md +5 -5
  2. package/assets/css/acctivity.css +53 -166
  3. package/assets/css/acctivity.css.map +1 -1
  4. package/assets/css/all.css +95 -212
  5. package/assets/css/all.css.map +1 -1
  6. package/assets/css/corto.css +53 -166
  7. package/assets/css/corto.css.map +1 -1
  8. package/assets/css/lawy.css +53 -166
  9. package/assets/css/lawy.css.map +1 -1
  10. package/assets/css/leap.css +53 -166
  11. package/assets/css/leap.css.map +1 -1
  12. package/assets/scss/_fonts.scss +0 -1
  13. package/assets/scss/_mixins.scss +4 -2
  14. package/assets/scss/cdk-overlay-prebuilt.scss +7 -0
  15. package/assets/scss/css-custom-properties/acctivity/_custom-properties.scss +4 -4
  16. package/assets/scss/css-custom-properties/corto/_custom-properties.scss +4 -4
  17. package/assets/scss/css-custom-properties/lawy/_custom-properties.scss +4 -4
  18. package/assets/scss/css-custom-properties/leap/_custom-properties.scss +4 -4
  19. package/assets/scss/css-custom-properties/mixins/_gds.scss +5 -4
  20. package/assets/scss/mixins/buttons/_base.scss +1 -1
  21. package/assets/scss/styles.scss +0 -1
  22. package/assets/scss/utilities/_background.scss +1 -1
  23. package/assets/scss/utilities/_focus-ring.scss +7 -0
  24. package/assets/scss/utilities/_position.scss +1 -1
  25. package/assets/svg/acctivity/acctivity-icon-default.svg +12 -8
  26. package/assets/svg/corto/corto-admin-dev-console-icon-light.svg +11 -0
  27. package/assets/svg/doc/doc-badge-sync-success.svg +4 -0
  28. package/assets/svg/doc/doc-badge-sync-warn.svg +4 -0
  29. package/assets/svg/doc/doc-badge-syncing.svg +4 -0
  30. package/assets/svg/doc/doc-csv.svg +70 -0
  31. package/assets/svg/doc/doc-email.svg +22 -3
  32. package/assets/svg/doc/doc-excel.svg +69 -13
  33. package/assets/svg/doc/doc-folder-zip.svg +69 -14
  34. package/assets/svg/doc/doc-folder.svg +23 -4
  35. package/assets/svg/doc/doc-html.svg +70 -0
  36. package/assets/svg/doc/doc-infotrack.svg +71 -8
  37. package/assets/svg/doc/doc-jpg.svg +70 -0
  38. package/assets/svg/doc/doc-md.svg +70 -0
  39. package/assets/svg/doc/doc-mp4.svg +70 -0
  40. package/assets/svg/doc/doc-pdf.svg +69 -6
  41. package/assets/svg/doc/doc-png.svg +70 -0
  42. package/assets/svg/doc/doc-powerpoint.svg +78 -9
  43. package/assets/svg/doc/doc-rtf.svg +70 -0
  44. package/assets/svg/doc/doc-svg.svg +70 -0
  45. package/assets/svg/doc/doc-tiff.svg +70 -0
  46. package/assets/svg/doc/doc-txt.svg +70 -0
  47. package/assets/svg/doc/doc-unknown-type.svg +69 -3
  48. package/assets/svg/doc/doc-word.svg +69 -9
  49. package/assets/svg/doc/doc-xml.svg +70 -0
  50. package/assets/svg/doc/doc-zip.svg +36 -0
  51. package/assets/svg/filled/filled-apps-list.svg +3 -0
  52. package/assets/svg/filled/filled-apps.svg +3 -0
  53. package/assets/svg/filled/filled-key.svg +3 -0
  54. package/assets/svg/filled/filled-people-queue.svg +3 -0
  55. package/assets/svg/filled/filled-people-team.svg +3 -0
  56. package/assets/svg/filled/filled-people.svg +3 -0
  57. package/assets/svg/line/line-apps-list.svg +3 -0
  58. package/assets/svg/line/line-apps.svg +3 -0
  59. package/assets/svg/line/line-building-people.svg +3 -0
  60. package/assets/svg/line/line-check-starburst.svg +3 -0
  61. package/assets/svg/line/line-clock-arrow.svg +3 -0
  62. package/assets/svg/line/line-code.svg +3 -0
  63. package/assets/svg/line/line-document-text.svg +3 -0
  64. package/assets/svg/line/line-key.svg +3 -0
  65. package/assets/svg/line/line-live.svg +3 -0
  66. package/assets/svg/line/line-marketplace.svg +3 -0
  67. package/assets/svg/line/line-people-queue.svg +3 -0
  68. package/assets/svg/line/line-people-team.svg +3 -0
  69. package/assets/svg/line/line-reference.svg +3 -0
  70. package/assets/svg/line/line-rocket.svg +3 -0
  71. package/assets/svg/line/line-window-dev-tools.svg +3 -0
  72. package/fesm2022/corto-ai-gds-angular.mjs +1615 -918
  73. package/fesm2022/corto-ai-gds-angular.mjs.map +1 -1
  74. package/package.json +8 -8
  75. package/types/corto-ai-gds-angular.d.ts +63 -16
  76. package/assets/fonts/Inter-VariableFont.ttf +0 -0
  77. package/assets/scss/fonts/_inter.scss +0 -7
  78. package/assets/scss/utilities/_toastr.scss +0 -58
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@corto-ai/gds-angular",
3
- "version": "2.1.5-test.2",
4
- "devVersion": "2",
3
+ "version": "2.1.5-test.3",
4
+ "devVersion": "3",
5
5
  "exports": {
6
6
  "./assets/*": "./assets/*",
7
7
  "./package.json": {
@@ -13,12 +13,12 @@
13
13
  }
14
14
  },
15
15
  "peerDependencies": {
16
- "@angular/common": "^21.0.0",
17
- "@angular/core": "^21.0.0",
18
- "@angular/cdk": "^21.0.0",
19
- "@angular/forms": "^21.0.0",
20
- "@angular/material": "^21.0.0",
21
- "@angular/animations": "^21.0.0"
16
+ "@angular/common": "^22.0.0",
17
+ "@angular/core": "^22.0.0",
18
+ "@angular/cdk": "^22.0.0",
19
+ "@angular/forms": "^22.0.0",
20
+ "@angular/material": "^22.0.0",
21
+ "@angular/animations": "^22.0.0"
22
22
  },
23
23
  "dependencies": {
24
24
  "@ngneat/svg-icon": "^7.1.0",
@@ -18,7 +18,7 @@ import * as tippy_js from 'tippy.js';
18
18
  import * as _popperjs_core from '@popperjs/core';
19
19
  import * as i1$2 from '@ngneat/helipopper';
20
20
  import { TippyDirective } from '@ngneat/helipopper';
21
- import { SafeHtml } from '@angular/platform-browser';
21
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
22
22
  import * as i1$3 from '@angular/common';
23
23
 
24
24
  type GdsAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -348,6 +348,7 @@ declare class GdsChipComponent extends OnBrandChanged {
348
348
  }
349
349
 
350
350
  declare abstract class GdsContextMenuBaseDirective extends OnBrandChanged {
351
+ #private;
351
352
  abstract variant: Signal<GdsContextMenuItemVariantType>;
352
353
  border: _angular_core.InputSignalWithTransform<boolean, unknown>;
353
354
  startIcon: _angular_core.InputSignal<SvgIcons | undefined>;
@@ -355,12 +356,13 @@ declare abstract class GdsContextMenuBaseDirective extends OnBrandChanged {
355
356
  labelClass: _angular_core.InputSignal<string | undefined>;
356
357
  hint: _angular_core.InputSignal<string | undefined>;
357
358
  size: _angular_core.InputSignal<"default" | "compact">;
359
+ tooltipAppendTo: _angular_core.InputSignal<Element | "parent" | ((ref: Element) => Element)>;
358
360
  selected: Signal<boolean>;
359
361
  hasChildren: Signal<boolean>;
360
362
  tooltipVariation: Signal<"light" | "dark">;
361
363
  variantIcon: Signal<SvgIcons | undefined>;
362
364
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuBaseDirective, never>;
363
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GdsContextMenuBaseDirective, never, never, { "border": { "alias": "border"; "required": false; "isSignal": true; }; "startIcon": { "alias": "startIcon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "labelClass": { "alias": "labelClass"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
365
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GdsContextMenuBaseDirective, never, never, { "border": { "alias": "border"; "required": false; "isSignal": true; }; "startIcon": { "alias": "startIcon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "labelClass": { "alias": "labelClass"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tooltipAppendTo": { "alias": "tooltipAppendTo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
364
366
  }
365
367
 
366
368
  declare class GdsContextMenuItemComponent extends GdsContextMenuBaseDirective {
@@ -368,13 +370,13 @@ declare class GdsContextMenuItemComponent extends GdsContextMenuBaseDirective {
368
370
  nestedMenu: _angular_core.InputSignal<TemplateRef<unknown> | null | undefined>;
369
371
  hasChildren: _angular_core.Signal<boolean>;
370
372
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuItemComponent, never>;
371
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuItemComponent, "gds-context-menu-item", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "nestedMenu": { "alias": "nestedMenu"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuItem; inputs: {}; outputs: { "cdkMenuItemTriggered": "clicked"; }; }, { directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "nestedMenu"; }; outputs: {}; }]>;
373
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuItemComponent, "gds-context-menu-item", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "nestedMenu": { "alias": "nestedMenu"; "required": false; "isSignal": true; }; }, {}, never, ["[label]"], true, [{ directive: typeof i1.CdkMenuItem; inputs: {}; outputs: { "cdkMenuItemTriggered": "clicked"; }; }, { directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "nestedMenu"; }; outputs: {}; }]>;
372
374
  }
373
375
 
374
376
  declare class GdsContextMenuHeadingComponent extends GdsContextMenuBaseDirective {
375
377
  variant: _angular_core.Signal<"switch" | "default" | "radio" | "check" | "indent" | "double-indent" | "heading">;
376
378
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuHeadingComponent, never>;
377
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuHeadingComponent, "gds-context-menu-heading", never, {}, {}, never, never, true, never>;
379
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuHeadingComponent, "gds-context-menu-heading", never, {}, {}, never, ["[label]"], true, never>;
378
380
  }
379
381
 
380
382
  declare class GdsContextMenuSwitchComponent extends GdsContextMenuBaseDirective implements OnInit {
@@ -384,7 +386,7 @@ declare class GdsContextMenuSwitchComponent extends GdsContextMenuBaseDirective
384
386
  triggered: _angular_core.ModelSignal<Event | undefined>;
385
387
  constructor();
386
388
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuSwitchComponent, never>;
387
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuSwitchComponent, "gds-context-menu-switch", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "triggered": { "alias": "triggered"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "triggered": "triggeredChange"; }, never, never, true, [{ directive: typeof i1.CdkMenuItemCheckbox; inputs: { "cdkMenuItemChecked": "selected"; }; outputs: { "cdkMenuItemTriggered": "clicked"; }; }, { directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: {}; }]>;
389
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuSwitchComponent, "gds-context-menu-switch", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "triggered": { "alias": "triggered"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "triggered": "triggeredChange"; }, never, ["[label]"], true, [{ directive: typeof i1.CdkMenuItemCheckbox; inputs: { "cdkMenuItemChecked": "selected"; }; outputs: { "cdkMenuItemTriggered": "clicked"; }; }, { directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: {}; }]>;
388
390
  }
389
391
 
390
392
  declare class GdsDialogComponent {
@@ -442,6 +444,7 @@ declare class GdsDialogService {
442
444
  open: <TData = void, TOutput = void>(component: Type<GdsDialogBaseDirective<TData, TOutput>>, data?: TData, id?: string) => Observable<TOutput>;
443
445
  close: (id: string) => boolean;
444
446
  closeAll: () => void;
447
+ isOpen: (id: string) => boolean;
445
448
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDialogService, never>;
446
449
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<GdsDialogService>;
447
450
  }
@@ -497,6 +500,7 @@ declare class GdsDrilldownSelectComponent<T extends {
497
500
  bindLabel: _angular_core.InputSignal<keyof T>;
498
501
  clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
499
502
  searchable: _angular_core.InputSignalWithTransform<boolean, unknown>;
503
+ searchAutoFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
500
504
  maxMenuHeight: _angular_core.InputSignal<string>;
501
505
  placeholder: _angular_core.InputSignal<string>;
502
506
  searchPlaceholder: _angular_core.InputSignal<string>;
@@ -510,6 +514,7 @@ declare class GdsDrilldownSelectComponent<T extends {
510
514
  navStack: _angular_core.WritableSignal<T[]>;
511
515
  searchText: _angular_core.WritableSignal<string>;
512
516
  menu: _angular_core.Signal<TemplateRef<HTMLElement>>;
517
+ searchInput: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
513
518
  displayedOptions: _angular_core.Signal<T[]>;
514
519
  label: _angular_core.Signal<string>;
515
520
  activeItems: _angular_core.Signal<T[keyof T][]>;
@@ -529,7 +534,7 @@ declare class GdsDrilldownSelectComponent<T extends {
529
534
  onArrowRight: (option: T) => void;
530
535
  onArrowLeft: () => void;
531
536
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDrilldownSelectComponent<any>, never>;
532
- 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; }; "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: {}; }]>;
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: {}; }]>;
533
538
  }
534
539
 
535
540
  declare class GdsDropdownComponent {
@@ -650,7 +655,9 @@ declare class GdsDateInputComponent extends GdsSignalFormContainer implements Af
650
655
  #private;
651
656
  dropdownPositionX: _angular_core.InputSignal<string>;
652
657
  dropdownPositionY: _angular_core.InputSignal<string>;
658
+ clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
653
659
  blurred: _angular_core.OutputEmitterRef<void>;
660
+ cleared: _angular_core.OutputEmitterRef<void>;
654
661
  selectedDate: _angular_core.ModelSignal<Date | undefined>;
655
662
  calendarVisible: _angular_core.WritableSignal<boolean>;
656
663
  calendarView: _angular_core.WritableSignal<MatCalendarView>;
@@ -669,10 +676,11 @@ declare class GdsDateInputComponent extends GdsSignalFormContainer implements Af
669
676
  onSelectedDateChange(): void;
670
677
  onCalendarClick(event: MouseEvent): void;
671
678
  onCalendarBlur(event: FocusEvent): void;
679
+ onClearClick(): void;
672
680
  openCalendar(): void;
673
681
  closeCalendar(): void;
674
682
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDateInputComponent, never>;
675
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsDateInputComponent, "gds-date-input", never, { "dropdownPositionX": { "alias": "dropdownPositionX"; "required": false; "isSignal": true; }; "dropdownPositionY": { "alias": "dropdownPositionY"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; }, { "blurred": "blurred"; "selectedDate": "selectedDateChange"; }, ["inputComponent"], ["[leading-visual]", "*", "[trailing-visual]"], true, 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>;
676
684
  }
677
685
 
678
686
  declare class GdsFileUploadComponent extends GdsSignalFormControl<File[]> {
@@ -840,13 +848,19 @@ declare class GdsSliderComponent extends GdsSignalFormContainer implements After
840
848
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsSliderComponent, "gds-slider", never, {}, {}, ["input"], ["*"], true, never>;
841
849
  }
842
850
 
843
- declare class GdsTextInputComponent extends GdsSignalFormContainer implements AfterContentInit {
851
+ declare class GdsTextInputComponent extends GdsSignalFormContainer implements AfterContentInit, OnDestroy {
844
852
  #private;
853
+ clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
854
+ cleared: _angular_core.OutputEmitterRef<void>;
845
855
  input: _angular_core.Signal<GdsNativeInputDirective | undefined>;
856
+ inputValue: _angular_core.WritableSignal<string | undefined>;
846
857
  nativeElement: HTMLElement;
847
858
  ngAfterContentInit(): void;
859
+ ngOnDestroy(): void;
860
+ onInputChange(event: Event): void;
861
+ onClearClick(): void;
848
862
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsTextInputComponent, never>;
849
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsTextInputComponent, "gds-text-input", never, {}, {}, ["input"], ["[leading-visual]", "*", "[trailing-visual]"], true, 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>;
850
864
  }
851
865
 
852
866
  declare class GdsAutoGrowingTextareaComponent extends GdsSignalFormContainer implements AfterContentInit, OnDestroy {
@@ -1140,6 +1154,7 @@ declare class GdsToastComponent {
1140
1154
  status: _angular_core.Signal<GdsToastStatus>;
1141
1155
  title: _angular_core.Signal<string>;
1142
1156
  message: _angular_core.Signal<string>;
1157
+ positionClass: _angular_core.Signal<string | undefined>;
1143
1158
  actionLabel: _angular_core.Signal<string | undefined>;
1144
1159
  dismissAriaLabel: _angular_core.Signal<string>;
1145
1160
  actionAriaLabel: _angular_core.Signal<string | undefined>;
@@ -1152,13 +1167,13 @@ declare class GdsToastComponent {
1152
1167
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsToastComponent, "gds-toast", never, { "toast": { "alias": "toast"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1153
1168
  }
1154
1169
 
1170
+ declare const DEFAULT_CONFIG: Required<GdsToastGlobalConfig>;
1155
1171
  declare const provideToaster: (customOptions?: Partial<GdsToastGlobalConfig>) => EnvironmentProviders;
1156
1172
 
1157
1173
  declare class ToastrService {
1158
1174
  #private;
1159
1175
  /** Visible toasts for the overlay stack container. */
1160
1176
  readonly toasts: _angular_core.Signal<GdsToastInstance[]>;
1161
- get positionClass(): string;
1162
1177
  success: (message?: string, title?: string, override?: Partial<GdsToastConfig>) => GdsActiveToast;
1163
1178
  error: (message?: string, title?: string, override?: Partial<GdsToastConfig>) => GdsActiveToast;
1164
1179
  info: (message?: string, title?: string, override?: Partial<GdsToastConfig>) => GdsActiveToast;
@@ -1253,6 +1268,7 @@ interface GdsUserPromptVM {
1253
1268
  title: string;
1254
1269
  description: string | TemplateRef<unknown>;
1255
1270
  primaryLabel: string;
1271
+ primaryDisabled?: boolean | (() => boolean);
1256
1272
  secondaryLabel: string;
1257
1273
  secondaryTextVariant: GdsUserPromptSecondaryTextVariant;
1258
1274
  closeOnBackdropClick: boolean;
@@ -1291,6 +1307,21 @@ declare class GdsDialogOverlayComponent {
1291
1307
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsDialogOverlayComponent, "gds-dialog-overlay", never, {}, { "clicked": "clicked"; }, never, never, true, never>;
1292
1308
  }
1293
1309
 
1310
+ declare class GdsPageSelectorComponent {
1311
+ #private;
1312
+ pageCount: _angular_core.InputSignal<number>;
1313
+ nextAriaLabel: _angular_core.InputSignal<string>;
1314
+ previousAriaLabel: _angular_core.InputSignal<string>;
1315
+ selectedPage: _angular_core.ModelSignal<number>;
1316
+ isFirstPage: _angular_core.Signal<boolean>;
1317
+ isLastPage: _angular_core.Signal<boolean>;
1318
+ pageLabel: _angular_core.Signal<string>;
1319
+ onPrevious: () => void;
1320
+ onNext: () => void;
1321
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsPageSelectorComponent, never>;
1322
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsPageSelectorComponent, "gds-page-selector", never, { "pageCount": { "alias": "pageCount"; "required": true; "isSignal": true; }; "nextAriaLabel": { "alias": "nextAriaLabel"; "required": false; "isSignal": true; }; "previousAriaLabel": { "alias": "previousAriaLabel"; "required": false; "isSignal": true; }; "selectedPage": { "alias": "selectedPage"; "required": true; "isSignal": true; }; }, { "selectedPage": "selectedPageChange"; }, never, never, true, never>;
1323
+ }
1324
+
1294
1325
  declare class GdsChatExpandableListComponent {
1295
1326
  items: _angular_core.InputSignal<unknown[]>;
1296
1327
  displayLimit: _angular_core.InputSignalWithTransform<number, unknown>;
@@ -1308,11 +1339,14 @@ declare class GdsChatExpandableListComponent {
1308
1339
  }
1309
1340
 
1310
1341
  declare class GdsMessageInputComponent {
1342
+ #private;
1311
1343
  mode: _angular_core.InputSignal<"type" | "cancel">;
1312
1344
  placeholder: _angular_core.InputSignal<string>;
1313
1345
  disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
1314
1346
  suppressClearOnSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
1347
+ suppressEnterSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
1315
1348
  enableIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
1349
+ disableSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
1316
1350
  textareaAriaLabel: _angular_core.InputSignal<string>;
1317
1351
  sendButtonAriaLabel: _angular_core.InputSignal<string>;
1318
1352
  cancelButtonAriaLabel: _angular_core.InputSignal<string>;
@@ -1321,24 +1355,31 @@ declare class GdsMessageInputComponent {
1321
1355
  changed: _angular_core.OutputEmitterRef<string | undefined>;
1322
1356
  value: _angular_core.ModelSignal<string | undefined>;
1323
1357
  hovering: _angular_core.WritableSignal<boolean>;
1324
- textarea: _angular_core.Signal<GdsNativeTextareaDirective>;
1358
+ isEmpty: _angular_core.WritableSignal<boolean>;
1359
+ editor: _angular_core.Signal<ElementRef<HTMLElement>>;
1325
1360
  slot: _angular_core.Signal<ElementRef<HTMLDivElement>>;
1326
1361
  hasChildren: _angular_core.Signal<boolean>;
1327
1362
  icon: _angular_core.Signal<SvgIcons>;
1328
1363
  iconAriaLabel: _angular_core.Signal<string>;
1329
- handleChange(event: Event): void;
1364
+ constructor();
1365
+ handleInput(): void;
1366
+ handleEnter(event: Event): void;
1330
1367
  handleSubmit(event?: Event): void;
1331
1368
  iconHoveringChanged({ type }: MouseEvent): void;
1332
1369
  clear(): void;
1333
1370
  focus(): void;
1371
+ appendText: (text: string) => void;
1334
1372
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsMessageInputComponent, never>;
1335
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsMessageInputComponent, "gds-message-input", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "suppressClearOnSubmit": { "alias": "suppressClearOnSubmit"; "required": false; "isSignal": true; }; "enableIcon": { "alias": "enableIcon"; "required": false; "isSignal": true; }; "textareaAriaLabel": { "alias": "textareaAriaLabel"; "required": false; "isSignal": true; }; "sendButtonAriaLabel": { "alias": "sendButtonAriaLabel"; "required": false; "isSignal": true; }; "cancelButtonAriaLabel": { "alias": "cancelButtonAriaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "sent": "sent"; "canceled": "canceled"; "changed": "changed"; "value": "valueChange"; }, never, ["[header]", "[footer]"], true, never>;
1373
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsMessageInputComponent, "gds-message-input", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "suppressClearOnSubmit": { "alias": "suppressClearOnSubmit"; "required": false; "isSignal": true; }; "suppressEnterSubmit": { "alias": "suppressEnterSubmit"; "required": false; "isSignal": true; }; "enableIcon": { "alias": "enableIcon"; "required": false; "isSignal": true; }; "disableSubmit": { "alias": "disableSubmit"; "required": false; "isSignal": true; }; "textareaAriaLabel": { "alias": "textareaAriaLabel"; "required": false; "isSignal": true; }; "sendButtonAriaLabel": { "alias": "sendButtonAriaLabel"; "required": false; "isSignal": true; }; "cancelButtonAriaLabel": { "alias": "cancelButtonAriaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "sent": "sent"; "canceled": "canceled"; "changed": "changed"; "value": "valueChange"; }, never, ["[header]", "[footer]"], true, never>;
1336
1374
  }
1337
1375
 
1338
1376
  declare class GdsChatPromptComponent {
1377
+ #private;
1339
1378
  label: _angular_core.InputSignal<string>;
1379
+ highlightText: _angular_core.InputSignal<string[]>;
1380
+ highlightPattern: _angular_core.Signal<string>;
1340
1381
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsChatPromptComponent, never>;
1341
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsChatPromptComponent, "gds-chat-prompt", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1382
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsChatPromptComponent, "gds-chat-prompt", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "highlightText": { "alias": "highlightText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1342
1383
  }
1343
1384
 
1344
1385
  declare class GdsReferenceComponent {
@@ -1439,6 +1480,13 @@ declare class MapperPipe implements PipeTransform {
1439
1480
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<MapperPipe, "mapper", true>;
1440
1481
  }
1441
1482
 
1483
+ declare class GdsBoldTextHighlightPipe implements PipeTransform {
1484
+ sanitizer: DomSanitizer;
1485
+ transform(value: string, pattern: string | RegExp, flags?: string): SafeHtml;
1486
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsBoldTextHighlightPipe, never>;
1487
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<GdsBoldTextHighlightPipe, "gdsBoldTextHighlight", true>;
1488
+ }
1489
+
1442
1490
  declare enum RoundMode {
1443
1491
  Round = "round",
1444
1492
  Floor = "floor"
@@ -1454,7 +1502,6 @@ declare class GdsAccountingService {
1454
1502
  declare class GdsDoctypeService {
1455
1503
  constructor();
1456
1504
  getIconKeyForExt(ext: string): SvgIcons;
1457
- getDocTypeKey(ext: string): string;
1458
1505
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDoctypeService, never>;
1459
1506
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<GdsDoctypeService>;
1460
1507
  }
@@ -1608,5 +1655,5 @@ declare class GdsModule {
1608
1655
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<GdsModule>;
1609
1656
  }
1610
1657
 
1611
- export { BrandEnum, CDN_URL, CONTACT_INITIALS_REGEX, GDS_BRANDS, GDS_EMPTY_STATE_VARIANTS, GDS_TOASTER_CONFIG, GDS_TOAST_CONTAINER, GdsAccountingService, GdsAutoRoundCurrencyDirective, GdsAutofocusDirective, GdsAvatarComponent, GdsBadgeColorType, GdsBadgeComponent, GdsBadgeVariantType, GdsBannerComponent, 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, 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 };
1658
+ 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 };
1612
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 };
Binary file
@@ -1,7 +0,0 @@
1
- @font-face {
2
- font-family: 'Inter';
3
- src: url('../fonts/Inter-VariableFont.ttf') format('truetype');
4
- font-weight: 400;
5
- font-display: swap;
6
- font-style: normal;
7
- }
@@ -1,58 +0,0 @@
1
- @use '../mixins' as *;
2
-
3
- // CDK Overlay sets some pane styles inline; utilities on panelClass can't override those.
4
- .cdk-overlay-pane.gds-toast-overlay-pane {
5
- max-width: none !important;
6
- transform: none !important;
7
- pointer-events: none !important;
8
- }
9
-
10
- .toast-container {
11
- pointer-events: none;
12
- position: fixed;
13
- z-index: 999999;
14
- display: flex;
15
- flex-direction: column;
16
- gap: var(--gds-spacing-2xs);
17
-
18
- // Default to bottom right
19
- bottom: 0;
20
- right: 0;
21
- left: auto;
22
- top: auto;
23
- align-items: flex-end;
24
- margin: var(--gds-spacing-2xs);
25
- width: calc(100% - (2 * var(--gds-spacing-2xs)));
26
-
27
- > * {
28
- pointer-events: auto;
29
- max-width: 100%;
30
- }
31
- }
32
-
33
- @include create-responsive-classes using ($responsive-class) {
34
- .toast-#{$responsive-class}top-left {
35
- inset: 0 auto auto 0;
36
- align-items: flex-start;
37
- }
38
-
39
- .toast-#{$responsive-class}top-right {
40
- inset: 0 0 auto auto;
41
- align-items: flex-end;
42
- }
43
-
44
- .toast-#{$responsive-class}bottom-left {
45
- inset: auto auto 0 0;
46
- align-items: flex-start;
47
- }
48
-
49
- .toast-#{$responsive-class}top-center {
50
- inset: 0 auto auto auto;
51
- align-items: center;
52
- }
53
-
54
- .toast-#{$responsive-class}bottom-center {
55
- inset: auto auto 0 auto;
56
- align-items: center;
57
- }
58
- }