@corto-ai/gds-angular 2.1.5 → 2.1.6-dev.2
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/README.md +5 -5
- package/assets/css/acctivity.css +78 -166
- package/assets/css/acctivity.css.map +1 -1
- package/assets/css/all.css +122 -212
- package/assets/css/all.css.map +1 -1
- package/assets/css/corto.css +79 -166
- package/assets/css/corto.css.map +1 -1
- package/assets/css/lawy.css +78 -166
- package/assets/css/lawy.css.map +1 -1
- package/assets/css/leap.css +78 -166
- package/assets/css/leap.css.map +1 -1
- package/assets/scss/_fonts.scss +0 -1
- package/assets/scss/_mixins.scss +4 -2
- package/assets/scss/_toast-anchor-fallback.scss +62 -0
- package/assets/scss/cdk-overlay-prebuilt.scss +7 -0
- package/assets/scss/css-custom-properties/acctivity/_custom-properties.scss +4 -4
- package/assets/scss/css-custom-properties/corto/_custom-properties.scss +4 -4
- package/assets/scss/css-custom-properties/corto/_primitives.scss +1 -1
- package/assets/scss/css-custom-properties/lawy/_custom-properties.scss +4 -4
- package/assets/scss/css-custom-properties/leap/_custom-properties.scss +4 -4
- package/assets/scss/css-custom-properties/mixins/_gds.scss +5 -4
- package/assets/scss/mixins/buttons/_base.scss +1 -1
- package/assets/scss/ng-select.scss +21 -0
- package/assets/scss/styles.scss +0 -1
- package/assets/scss/utilities/_background.scss +1 -1
- package/assets/scss/utilities/_focus-ring.scss +7 -0
- package/assets/scss/utilities/_position.scss +1 -1
- package/assets/svg/acctivity/acctivity-icon-default.svg +12 -8
- package/assets/svg/brand/brand-icon.svg +0 -0
- package/assets/svg/corto/corto-admin-dev-console-icon-light.svg +11 -0
- package/assets/svg/doc/doc-badge-sync-success.svg +4 -0
- package/assets/svg/doc/doc-badge-sync-warn.svg +4 -0
- package/assets/svg/doc/doc-badge-syncing.svg +4 -0
- package/assets/svg/doc/doc-csv.svg +70 -0
- package/assets/svg/doc/doc-email.svg +22 -3
- package/assets/svg/doc/doc-excel.svg +69 -13
- package/assets/svg/doc/doc-folder-zip.svg +69 -14
- package/assets/svg/doc/doc-folder.svg +23 -4
- package/assets/svg/doc/doc-html.svg +70 -0
- package/assets/svg/doc/doc-infotrack.svg +71 -8
- package/assets/svg/doc/doc-jpg.svg +70 -0
- package/assets/svg/doc/doc-md.svg +70 -0
- package/assets/svg/doc/doc-mp4.svg +70 -0
- package/assets/svg/doc/doc-pdf.svg +69 -6
- package/assets/svg/doc/doc-png.svg +70 -0
- package/assets/svg/doc/doc-powerpoint.svg +78 -9
- package/assets/svg/doc/doc-rtf.svg +70 -0
- package/assets/svg/doc/doc-svg.svg +70 -0
- package/assets/svg/doc/doc-tiff.svg +70 -0
- package/assets/svg/doc/doc-txt.svg +70 -0
- package/assets/svg/doc/doc-unknown-type.svg +69 -3
- package/assets/svg/doc/doc-word.svg +69 -9
- package/assets/svg/doc/doc-xml.svg +70 -0
- package/assets/svg/doc/doc-zip.svg +36 -0
- package/assets/svg/filled/filled-apps-list.svg +3 -0
- package/assets/svg/filled/filled-apps.svg +3 -0
- package/assets/svg/filled/filled-key.svg +3 -0
- package/assets/svg/filled/filled-people-queue.svg +3 -0
- package/assets/svg/filled/filled-people-team.svg +3 -0
- package/assets/svg/filled/filled-people.svg +3 -0
- package/assets/svg/line/line-apps-list.svg +3 -0
- package/assets/svg/line/line-apps.svg +3 -0
- package/assets/svg/line/line-building-people.svg +3 -0
- package/assets/svg/line/line-building-skyscraper.svg +3 -0
- package/assets/svg/line/line-building.svg +3 -0
- package/assets/svg/line/line-check-starburst.svg +3 -0
- package/assets/svg/line/line-clock-arrow.svg +3 -0
- package/assets/svg/line/line-code.svg +3 -0
- package/assets/svg/line/line-cursor-hover.svg +3 -0
- package/assets/svg/line/line-desktop.svg +3 -0
- package/assets/svg/line/line-dismiss-circle.svg +3 -0
- package/assets/svg/line/line-document-text.svg +3 -0
- package/assets/svg/line/line-key.svg +3 -0
- package/assets/svg/line/line-live.svg +3 -0
- package/assets/svg/line/line-marketplace.svg +3 -0
- package/assets/svg/line/line-people-queue.svg +3 -0
- package/assets/svg/line/line-people-team.svg +3 -0
- package/assets/svg/line/line-person-lock.svg +3 -0
- package/assets/svg/line/line-reference.svg +3 -0
- package/assets/svg/line/line-rocket.svg +3 -0
- package/assets/svg/line/line-sparkle-circle.svg +3 -0
- package/assets/svg/line/line-upload.svg +3 -0
- package/assets/svg/line/line-window-dev-tools.svg +3 -0
- package/fesm2022/corto-ai-gds-angular.mjs +2285 -981
- package/fesm2022/corto-ai-gds-angular.mjs.map +1 -1
- package/package.json +10 -10
- package/types/corto-ai-gds-angular.d.ts +106 -23
- package/assets/fonts/Inter-VariableFont.ttf +0 -0
- package/assets/scss/fonts/_inter.scss +0 -7
- 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.
|
|
4
|
-
"devVersion": "
|
|
3
|
+
"version": "2.1.6-dev.2",
|
|
4
|
+
"devVersion": "2",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./assets/*": "./assets/*",
|
|
7
7
|
"./package.json": {
|
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/common": "^
|
|
17
|
-
"@angular/core": "^
|
|
18
|
-
"@angular/cdk": "^
|
|
19
|
-
"@angular/forms": "^
|
|
20
|
-
"@angular/material": "^
|
|
21
|
-
"@angular/animations": "^
|
|
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",
|
|
25
25
|
"date-fns": "^4.1.0",
|
|
26
26
|
"uuid": "^11.1.1",
|
|
27
|
-
"@ng-select/ng-select": "
|
|
27
|
+
"@ng-select/ng-select": "23.5.0",
|
|
28
28
|
"@ngneat/helipopper": "12.1.0",
|
|
29
29
|
"tippy.js": "^6.3.7",
|
|
30
|
-
"ngx-device-detector": "
|
|
30
|
+
"ngx-device-detector": "12.0.0",
|
|
31
31
|
"tslib": "^2.3.0"
|
|
32
32
|
},
|
|
33
33
|
"module": "fesm2022/corto-ai-gds-angular.mjs",
|
|
@@ -14,10 +14,11 @@ import * as i2 from '@ng-select/ng-select';
|
|
|
14
14
|
import { DropdownPosition, NgSelectComponent } from '@ng-select/ng-select';
|
|
15
15
|
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
16
16
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
17
|
+
import * as tippy_js from 'tippy.js';
|
|
17
18
|
import * as _popperjs_core from '@popperjs/core';
|
|
18
19
|
import * as i1$2 from '@ngneat/helipopper';
|
|
19
20
|
import { TippyDirective } from '@ngneat/helipopper';
|
|
20
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
21
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
21
22
|
import * as i1$3 from '@angular/common';
|
|
22
23
|
|
|
23
24
|
type GdsAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -347,6 +348,7 @@ declare class GdsChipComponent extends OnBrandChanged {
|
|
|
347
348
|
}
|
|
348
349
|
|
|
349
350
|
declare abstract class GdsContextMenuBaseDirective extends OnBrandChanged {
|
|
351
|
+
#private;
|
|
350
352
|
abstract variant: Signal<GdsContextMenuItemVariantType>;
|
|
351
353
|
border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
352
354
|
startIcon: _angular_core.InputSignal<SvgIcons | undefined>;
|
|
@@ -354,12 +356,13 @@ declare abstract class GdsContextMenuBaseDirective extends OnBrandChanged {
|
|
|
354
356
|
labelClass: _angular_core.InputSignal<string | undefined>;
|
|
355
357
|
hint: _angular_core.InputSignal<string | undefined>;
|
|
356
358
|
size: _angular_core.InputSignal<"default" | "compact">;
|
|
359
|
+
tooltipAppendTo: _angular_core.InputSignal<Element | "parent" | ((ref: Element) => Element)>;
|
|
357
360
|
selected: Signal<boolean>;
|
|
358
361
|
hasChildren: Signal<boolean>;
|
|
359
362
|
tooltipVariation: Signal<"light" | "dark">;
|
|
360
363
|
variantIcon: Signal<SvgIcons | undefined>;
|
|
361
364
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuBaseDirective, never>;
|
|
362
|
-
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>;
|
|
363
366
|
}
|
|
364
367
|
|
|
365
368
|
declare class GdsContextMenuItemComponent extends GdsContextMenuBaseDirective {
|
|
@@ -367,13 +370,13 @@ declare class GdsContextMenuItemComponent extends GdsContextMenuBaseDirective {
|
|
|
367
370
|
nestedMenu: _angular_core.InputSignal<TemplateRef<unknown> | null | undefined>;
|
|
368
371
|
hasChildren: _angular_core.Signal<boolean>;
|
|
369
372
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuItemComponent, never>;
|
|
370
|
-
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,
|
|
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: {}; }]>;
|
|
371
374
|
}
|
|
372
375
|
|
|
373
376
|
declare class GdsContextMenuHeadingComponent extends GdsContextMenuBaseDirective {
|
|
374
377
|
variant: _angular_core.Signal<"switch" | "default" | "radio" | "check" | "indent" | "double-indent" | "heading">;
|
|
375
378
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuHeadingComponent, never>;
|
|
376
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuHeadingComponent, "gds-context-menu-heading", never, {}, {}, never,
|
|
379
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsContextMenuHeadingComponent, "gds-context-menu-heading", never, {}, {}, never, ["[label]"], true, never>;
|
|
377
380
|
}
|
|
378
381
|
|
|
379
382
|
declare class GdsContextMenuSwitchComponent extends GdsContextMenuBaseDirective implements OnInit {
|
|
@@ -383,7 +386,7 @@ declare class GdsContextMenuSwitchComponent extends GdsContextMenuBaseDirective
|
|
|
383
386
|
triggered: _angular_core.ModelSignal<Event | undefined>;
|
|
384
387
|
constructor();
|
|
385
388
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsContextMenuSwitchComponent, never>;
|
|
386
|
-
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,
|
|
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: {}; }]>;
|
|
387
390
|
}
|
|
388
391
|
|
|
389
392
|
declare class GdsDialogComponent {
|
|
@@ -441,6 +444,7 @@ declare class GdsDialogService {
|
|
|
441
444
|
open: <TData = void, TOutput = void>(component: Type<GdsDialogBaseDirective<TData, TOutput>>, data?: TData, id?: string) => Observable<TOutput>;
|
|
442
445
|
close: (id: string) => boolean;
|
|
443
446
|
closeAll: () => void;
|
|
447
|
+
isOpen: (id: string) => boolean;
|
|
444
448
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDialogService, never>;
|
|
445
449
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GdsDialogService>;
|
|
446
450
|
}
|
|
@@ -487,6 +491,8 @@ declare abstract class GdsSignalFormControl<T> implements FormValueControl<T> {
|
|
|
487
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>;
|
|
488
492
|
}
|
|
489
493
|
|
|
494
|
+
type GdsDrilldownSelectLayout = 'drilldown' | 'tree';
|
|
495
|
+
|
|
490
496
|
declare class GdsDrilldownSelectComponent<T extends {
|
|
491
497
|
children?: T[];
|
|
492
498
|
}> extends GdsSignalFormControl<string[]> implements AfterViewInit {
|
|
@@ -496,6 +502,7 @@ declare class GdsDrilldownSelectComponent<T extends {
|
|
|
496
502
|
bindLabel: _angular_core.InputSignal<keyof T>;
|
|
497
503
|
clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
498
504
|
searchable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
505
|
+
searchAutoFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
499
506
|
maxMenuHeight: _angular_core.InputSignal<string>;
|
|
500
507
|
placeholder: _angular_core.InputSignal<string>;
|
|
501
508
|
searchPlaceholder: _angular_core.InputSignal<string>;
|
|
@@ -503,18 +510,25 @@ declare class GdsDrilldownSelectComponent<T extends {
|
|
|
503
510
|
resetLabel: _angular_core.InputSignal<string>;
|
|
504
511
|
emptyText: _angular_core.InputSignal<string>;
|
|
505
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>;
|
|
506
517
|
value: _angular_core.ModelSignal<string[]>;
|
|
507
518
|
dropdownWidth: _angular_core.WritableSignal<number>;
|
|
508
519
|
isOpen: _angular_core.WritableSignal<boolean>;
|
|
509
520
|
navStack: _angular_core.WritableSignal<T[]>;
|
|
510
521
|
searchText: _angular_core.WritableSignal<string>;
|
|
522
|
+
isMobile: _angular_core.Signal<boolean>;
|
|
511
523
|
menu: _angular_core.Signal<TemplateRef<HTMLElement>>;
|
|
524
|
+
searchInput: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
512
525
|
displayedOptions: _angular_core.Signal<T[]>;
|
|
513
526
|
label: _angular_core.Signal<string>;
|
|
514
527
|
activeItems: _angular_core.Signal<T[keyof T][]>;
|
|
515
528
|
hasNavHeader: _angular_core.Signal<boolean>;
|
|
516
529
|
constructor();
|
|
517
530
|
ngAfterViewInit(): void;
|
|
531
|
+
onHostClick: (event?: Event) => void;
|
|
518
532
|
onItemClick: (option: T) => void;
|
|
519
533
|
onDrilldownClick: (option: T) => void;
|
|
520
534
|
onBack: () => void;
|
|
@@ -524,11 +538,12 @@ declare class GdsDrilldownSelectComponent<T extends {
|
|
|
524
538
|
onSearchKeydown: (event: KeyboardEvent) => void;
|
|
525
539
|
onEscape: () => void;
|
|
526
540
|
openMenu: () => void;
|
|
541
|
+
openMobileDialog: () => void;
|
|
527
542
|
optionLabel: (option: T) => string;
|
|
528
543
|
onArrowRight: (option: T) => void;
|
|
529
544
|
onArrowLeft: () => void;
|
|
530
545
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDrilldownSelectComponent<any>, never>;
|
|
531
|
-
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: {}; }]>;
|
|
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: {}; }]>;
|
|
532
547
|
}
|
|
533
548
|
|
|
534
549
|
declare class GdsDropdownComponent {
|
|
@@ -649,7 +664,10 @@ declare class GdsDateInputComponent extends GdsSignalFormContainer implements Af
|
|
|
649
664
|
#private;
|
|
650
665
|
dropdownPositionX: _angular_core.InputSignal<string>;
|
|
651
666
|
dropdownPositionY: _angular_core.InputSignal<string>;
|
|
667
|
+
clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
668
|
+
clearableAlwaysVisible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
652
669
|
blurred: _angular_core.OutputEmitterRef<void>;
|
|
670
|
+
cleared: _angular_core.OutputEmitterRef<void>;
|
|
653
671
|
selectedDate: _angular_core.ModelSignal<Date | undefined>;
|
|
654
672
|
calendarVisible: _angular_core.WritableSignal<boolean>;
|
|
655
673
|
calendarView: _angular_core.WritableSignal<MatCalendarView>;
|
|
@@ -668,13 +686,15 @@ declare class GdsDateInputComponent extends GdsSignalFormContainer implements Af
|
|
|
668
686
|
onSelectedDateChange(): void;
|
|
669
687
|
onCalendarClick(event: MouseEvent): void;
|
|
670
688
|
onCalendarBlur(event: FocusEvent): void;
|
|
689
|
+
onClearClick(): void;
|
|
671
690
|
openCalendar(): void;
|
|
672
691
|
closeCalendar(): void;
|
|
673
692
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDateInputComponent, never>;
|
|
674
|
-
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>;
|
|
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>;
|
|
675
694
|
}
|
|
676
695
|
|
|
677
696
|
declare class GdsFileUploadComponent extends GdsSignalFormControl<File[]> {
|
|
697
|
+
#private;
|
|
678
698
|
value: _angular_core.ModelSignal<File[]>;
|
|
679
699
|
accept: _angular_core.InputSignal<string | undefined>;
|
|
680
700
|
multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -682,15 +702,20 @@ declare class GdsFileUploadComponent extends GdsSignalFormControl<File[]> {
|
|
|
682
702
|
separatorLabel: _angular_core.InputSignal<string>;
|
|
683
703
|
browseLabel: _angular_core.InputSignal<string>;
|
|
684
704
|
inputAriaLabel: _angular_core.InputSignal<string>;
|
|
685
|
-
|
|
705
|
+
layoutTmpl: _angular_core.Signal<TemplateRef<{
|
|
706
|
+
dragOver: boolean;
|
|
707
|
+
}> | undefined>;
|
|
686
708
|
fileUpload: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
709
|
+
changed: _angular_core.OutputEmitterRef<File[]>;
|
|
687
710
|
dragOver: _angular_core.WritableSignal<boolean>;
|
|
688
|
-
|
|
711
|
+
onDragOver: (event: DragEvent) => void;
|
|
712
|
+
onDragEnter: (event: DragEvent) => void;
|
|
713
|
+
onDragLeave: (event: DragEvent) => void;
|
|
689
714
|
onFileDrop: (event: DragEvent) => void;
|
|
690
715
|
fileSelected(event: Event): void;
|
|
691
716
|
openFileSelector(): void;
|
|
692
717
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsFileUploadComponent, never>;
|
|
693
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsFileUploadComponent, "gds-file-upload", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "dragDropLabel": { "alias": "dragDropLabel"; "required": false; "isSignal": true; }; "separatorLabel": { "alias": "separatorLabel"; "required": false; "isSignal": true; }; "browseLabel": { "alias": "browseLabel"; "required": false; "isSignal": true; }; "inputAriaLabel": { "alias": "inputAriaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "changed": "changed"; },
|
|
718
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsFileUploadComponent, "gds-file-upload", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "dragDropLabel": { "alias": "dragDropLabel"; "required": false; "isSignal": true; }; "separatorLabel": { "alias": "separatorLabel"; "required": false; "isSignal": true; }; "browseLabel": { "alias": "browseLabel"; "required": false; "isSignal": true; }; "inputAriaLabel": { "alias": "inputAriaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "changed": "changed"; }, ["layoutTmpl"], ["*"], true, never>;
|
|
694
719
|
}
|
|
695
720
|
|
|
696
721
|
declare class GdsFormControlComponent extends GdsSignalFormContainer {
|
|
@@ -764,6 +789,11 @@ declare class GdsSelectComponent<T, U = T[keyof T]> extends GdsSignalFormControl
|
|
|
764
789
|
autofocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
765
790
|
multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
766
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>;
|
|
767
797
|
width: _angular_core.InputSignal<"sm" | "md" | "lg" | "default">;
|
|
768
798
|
id: _angular_core.InputSignal<string>;
|
|
769
799
|
placeholder: _angular_core.InputSignal<string>;
|
|
@@ -788,6 +818,7 @@ declare class GdsSelectComponent<T, U = T[keyof T]> extends GdsSignalFormControl
|
|
|
788
818
|
clearBtnTmpl: _angular_core.Signal<TemplateRef<unknown> | undefined>;
|
|
789
819
|
placeholderTmpl: _angular_core.Signal<TemplateRef<unknown> | undefined>;
|
|
790
820
|
virtualScroll: _angular_core.Signal<boolean>;
|
|
821
|
+
hasValue: _angular_core.Signal<boolean>;
|
|
791
822
|
searchText: _angular_core.WritableSignal<string>;
|
|
792
823
|
markedIndex: _angular_core.WritableSignal<number>;
|
|
793
824
|
onKeyDown: (event: KeyboardEvent) => boolean;
|
|
@@ -803,10 +834,11 @@ declare class GdsSelectComponent<T, U = T[keyof T]> extends GdsSignalFormControl
|
|
|
803
834
|
get dropdownPanelScroll(): ElementRef<HTMLElement>;
|
|
804
835
|
handleClosed: () => void;
|
|
805
836
|
handleOpened: () => void;
|
|
837
|
+
openMobileDialog: () => void;
|
|
806
838
|
unmarkItem: () => void;
|
|
807
839
|
onClearClicked: () => void;
|
|
808
840
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsSelectComponent<any, any>, never>;
|
|
809
|
-
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>;
|
|
841
|
+
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>;
|
|
810
842
|
}
|
|
811
843
|
|
|
812
844
|
declare const gdsSelectWidths: readonly ["default", "sm", "md", "lg"];
|
|
@@ -833,13 +865,20 @@ declare class GdsSliderComponent extends GdsSignalFormContainer implements After
|
|
|
833
865
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsSliderComponent, "gds-slider", never, {}, {}, ["input"], ["*"], true, never>;
|
|
834
866
|
}
|
|
835
867
|
|
|
836
|
-
declare class GdsTextInputComponent extends GdsSignalFormContainer implements AfterContentInit {
|
|
868
|
+
declare class GdsTextInputComponent extends GdsSignalFormContainer implements AfterContentInit, OnDestroy {
|
|
837
869
|
#private;
|
|
870
|
+
clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
871
|
+
clearableAlwaysVisible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
872
|
+
cleared: _angular_core.OutputEmitterRef<void>;
|
|
838
873
|
input: _angular_core.Signal<GdsNativeInputDirective | undefined>;
|
|
874
|
+
inputValue: _angular_core.WritableSignal<string | undefined>;
|
|
839
875
|
nativeElement: HTMLElement;
|
|
840
876
|
ngAfterContentInit(): void;
|
|
877
|
+
ngOnDestroy(): void;
|
|
878
|
+
onInputChange(event: Event): void;
|
|
879
|
+
onClearClick(): void;
|
|
841
880
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsTextInputComponent, never>;
|
|
842
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsTextInputComponent, "gds-text-input", never, {}, {}, ["input"], ["[leading-visual]", "*", "[trailing-visual]"], true, never>;
|
|
881
|
+
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>;
|
|
843
882
|
}
|
|
844
883
|
|
|
845
884
|
declare class GdsAutoGrowingTextareaComponent extends GdsSignalFormContainer implements AfterContentInit, OnDestroy {
|
|
@@ -1133,6 +1172,7 @@ declare class GdsToastComponent {
|
|
|
1133
1172
|
status: _angular_core.Signal<GdsToastStatus>;
|
|
1134
1173
|
title: _angular_core.Signal<string>;
|
|
1135
1174
|
message: _angular_core.Signal<string>;
|
|
1175
|
+
positionClass: _angular_core.Signal<string | undefined>;
|
|
1136
1176
|
actionLabel: _angular_core.Signal<string | undefined>;
|
|
1137
1177
|
dismissAriaLabel: _angular_core.Signal<string>;
|
|
1138
1178
|
actionAriaLabel: _angular_core.Signal<string | undefined>;
|
|
@@ -1145,13 +1185,13 @@ declare class GdsToastComponent {
|
|
|
1145
1185
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsToastComponent, "gds-toast", never, { "toast": { "alias": "toast"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1146
1186
|
}
|
|
1147
1187
|
|
|
1188
|
+
declare const DEFAULT_CONFIG: Required<GdsToastGlobalConfig>;
|
|
1148
1189
|
declare const provideToaster: (customOptions?: Partial<GdsToastGlobalConfig>) => EnvironmentProviders;
|
|
1149
1190
|
|
|
1150
1191
|
declare class ToastrService {
|
|
1151
1192
|
#private;
|
|
1152
1193
|
/** Visible toasts for the overlay stack container. */
|
|
1153
1194
|
readonly toasts: _angular_core.Signal<GdsToastInstance[]>;
|
|
1154
|
-
get positionClass(): string;
|
|
1155
1195
|
success: (message?: string, title?: string, override?: Partial<GdsToastConfig>) => GdsActiveToast;
|
|
1156
1196
|
error: (message?: string, title?: string, override?: Partial<GdsToastConfig>) => GdsActiveToast;
|
|
1157
1197
|
info: (message?: string, title?: string, override?: Partial<GdsToastConfig>) => GdsActiveToast;
|
|
@@ -1179,12 +1219,18 @@ declare class GdsTooltipComponent extends OnBrandChanged {
|
|
|
1179
1219
|
open: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1180
1220
|
maxWidth: _angular_core.InputSignal<CSSValue>;
|
|
1181
1221
|
appendTo: _angular_core.InputSignal<Element | "parent" | ((ref: Element) => Element)>;
|
|
1222
|
+
lineClamp: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
1223
|
+
tooltipOffset: _angular_core.InputSignal<[number, number] | (({ placement, popper, reference, }: {
|
|
1224
|
+
placement: tippy_js.Placement;
|
|
1225
|
+
popper: _popperjs_core.Rect;
|
|
1226
|
+
reference: _popperjs_core.Rect;
|
|
1227
|
+
}) => [number, number])>;
|
|
1182
1228
|
tooltipVariation: _angular_core.Signal<"light" | "dark">;
|
|
1229
|
+
protected tooltipEnabled: _angular_core.Signal<boolean>;
|
|
1183
1230
|
tippyDirective: _angular_core.Signal<TippyDirective>;
|
|
1184
1231
|
span: _angular_core.Signal<ElementRef<HTMLSpanElement>>;
|
|
1185
|
-
get isOverflowing(): boolean;
|
|
1186
1232
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsTooltipComponent, never>;
|
|
1187
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsTooltipComponent, "gds-tooltip", never, { "tooltip": { "alias": "tooltip"; "required": true; "isSignal": true; }; "onlyTextOverflow": { "alias": "onlyTextOverflow"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; "isSignal": true; }; "tooltipInteractive": { "alias": "tooltipInteractive"; "required": false; "isSignal": true; }; "useHostWidth": { "alias": "useHostWidth"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$2.TippyDirective; inputs: {}; outputs: {}; }]>;
|
|
1233
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsTooltipComponent, "gds-tooltip", never, { "tooltip": { "alias": "tooltip"; "required": true; "isSignal": true; }; "onlyTextOverflow": { "alias": "onlyTextOverflow"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; "isSignal": true; }; "tooltipInteractive": { "alias": "tooltipInteractive"; "required": false; "isSignal": true; }; "useHostWidth": { "alias": "useHostWidth"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "lineClamp": { "alias": "lineClamp"; "required": false; "isSignal": true; }; "tooltipOffset": { "alias": "tooltipOffset"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1$2.TippyDirective; inputs: {}; outputs: {}; }]>;
|
|
1188
1234
|
}
|
|
1189
1235
|
|
|
1190
1236
|
declare abstract class GdsListboxOption implements FocusableOption {
|
|
@@ -1240,6 +1286,7 @@ interface GdsUserPromptVM {
|
|
|
1240
1286
|
title: string;
|
|
1241
1287
|
description: string | TemplateRef<unknown>;
|
|
1242
1288
|
primaryLabel: string;
|
|
1289
|
+
primaryDisabled?: boolean | (() => boolean);
|
|
1243
1290
|
secondaryLabel: string;
|
|
1244
1291
|
secondaryTextVariant: GdsUserPromptSecondaryTextVariant;
|
|
1245
1292
|
closeOnBackdropClick: boolean;
|
|
@@ -1278,6 +1325,21 @@ declare class GdsDialogOverlayComponent {
|
|
|
1278
1325
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsDialogOverlayComponent, "gds-dialog-overlay", never, {}, { "clicked": "clicked"; }, never, never, true, never>;
|
|
1279
1326
|
}
|
|
1280
1327
|
|
|
1328
|
+
declare class GdsPageSelectorComponent {
|
|
1329
|
+
#private;
|
|
1330
|
+
pageCount: _angular_core.InputSignal<number>;
|
|
1331
|
+
nextAriaLabel: _angular_core.InputSignal<string>;
|
|
1332
|
+
previousAriaLabel: _angular_core.InputSignal<string>;
|
|
1333
|
+
selectedPage: _angular_core.ModelSignal<number>;
|
|
1334
|
+
isFirstPage: _angular_core.Signal<boolean>;
|
|
1335
|
+
isLastPage: _angular_core.Signal<boolean>;
|
|
1336
|
+
pageLabel: _angular_core.Signal<string>;
|
|
1337
|
+
onPrevious: () => void;
|
|
1338
|
+
onNext: () => void;
|
|
1339
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsPageSelectorComponent, never>;
|
|
1340
|
+
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>;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1281
1343
|
declare class GdsChatExpandableListComponent {
|
|
1282
1344
|
items: _angular_core.InputSignal<unknown[]>;
|
|
1283
1345
|
displayLimit: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
@@ -1295,37 +1357,52 @@ declare class GdsChatExpandableListComponent {
|
|
|
1295
1357
|
}
|
|
1296
1358
|
|
|
1297
1359
|
declare class GdsMessageInputComponent {
|
|
1360
|
+
#private;
|
|
1298
1361
|
mode: _angular_core.InputSignal<"type" | "cancel">;
|
|
1299
1362
|
placeholder: _angular_core.InputSignal<string>;
|
|
1300
1363
|
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1301
1364
|
suppressClearOnSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1365
|
+
suppressEnterSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1302
1366
|
enableIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1367
|
+
disableSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1303
1368
|
textareaAriaLabel: _angular_core.InputSignal<string>;
|
|
1304
1369
|
sendButtonAriaLabel: _angular_core.InputSignal<string>;
|
|
1305
1370
|
cancelButtonAriaLabel: _angular_core.InputSignal<string>;
|
|
1371
|
+
/** Provisional text shown inline while it is still being recognized. Never part of `value`. */
|
|
1372
|
+
interimText: _angular_core.InputSignal<string>;
|
|
1306
1373
|
sent: _angular_core.OutputEmitterRef<string>;
|
|
1307
1374
|
canceled: _angular_core.OutputEmitterRef<void>;
|
|
1308
1375
|
changed: _angular_core.OutputEmitterRef<string | undefined>;
|
|
1309
1376
|
value: _angular_core.ModelSignal<string | undefined>;
|
|
1310
1377
|
hovering: _angular_core.WritableSignal<boolean>;
|
|
1311
|
-
|
|
1378
|
+
isEmpty: _angular_core.WritableSignal<boolean>;
|
|
1379
|
+
editor: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
1312
1380
|
slot: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
1313
1381
|
hasChildren: _angular_core.Signal<boolean>;
|
|
1314
1382
|
icon: _angular_core.Signal<SvgIcons>;
|
|
1315
1383
|
iconAriaLabel: _angular_core.Signal<string>;
|
|
1316
|
-
|
|
1384
|
+
constructor();
|
|
1385
|
+
captureCaret(): void;
|
|
1386
|
+
handleInput(): void;
|
|
1387
|
+
handleEnter(event: Event): void;
|
|
1317
1388
|
handleSubmit(event?: Event): void;
|
|
1318
1389
|
iconHoveringChanged({ type }: MouseEvent): void;
|
|
1319
1390
|
clear(): void;
|
|
1320
1391
|
focus(): void;
|
|
1392
|
+
appendText: (text: string) => void;
|
|
1393
|
+
/** Inserts at the last known caret position, falling back to appending when there is none. */
|
|
1394
|
+
insertTextAtCaret: (text: string) => void;
|
|
1321
1395
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsMessageInputComponent, never>;
|
|
1322
|
-
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, ["
|
|
1396
|
+
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; }; "interimText": { "alias": "interimText"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "sent": "sent"; "canceled": "canceled"; "changed": "changed"; "value": "valueChange"; }, never, ["[header]", "[footer]"], true, never>;
|
|
1323
1397
|
}
|
|
1324
1398
|
|
|
1325
1399
|
declare class GdsChatPromptComponent {
|
|
1400
|
+
#private;
|
|
1326
1401
|
label: _angular_core.InputSignal<string>;
|
|
1402
|
+
highlightText: _angular_core.InputSignal<string[]>;
|
|
1403
|
+
highlightPattern: _angular_core.Signal<string>;
|
|
1327
1404
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsChatPromptComponent, never>;
|
|
1328
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GdsChatPromptComponent, "gds-chat-prompt", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1405
|
+
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>;
|
|
1329
1406
|
}
|
|
1330
1407
|
|
|
1331
1408
|
declare class GdsReferenceComponent {
|
|
@@ -1426,6 +1503,13 @@ declare class MapperPipe implements PipeTransform {
|
|
|
1426
1503
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<MapperPipe, "mapper", true>;
|
|
1427
1504
|
}
|
|
1428
1505
|
|
|
1506
|
+
declare class GdsBoldTextHighlightPipe implements PipeTransform {
|
|
1507
|
+
sanitizer: DomSanitizer;
|
|
1508
|
+
transform(value: string, pattern: string | RegExp, flags?: string): SafeHtml;
|
|
1509
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsBoldTextHighlightPipe, never>;
|
|
1510
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<GdsBoldTextHighlightPipe, "gdsBoldTextHighlight", true>;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1429
1513
|
declare enum RoundMode {
|
|
1430
1514
|
Round = "round",
|
|
1431
1515
|
Floor = "floor"
|
|
@@ -1441,7 +1525,6 @@ declare class GdsAccountingService {
|
|
|
1441
1525
|
declare class GdsDoctypeService {
|
|
1442
1526
|
constructor();
|
|
1443
1527
|
getIconKeyForExt(ext: string): SvgIcons;
|
|
1444
|
-
getDocTypeKey(ext: string): string;
|
|
1445
1528
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GdsDoctypeService, never>;
|
|
1446
1529
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GdsDoctypeService>;
|
|
1447
1530
|
}
|
|
@@ -1595,5 +1678,5 @@ declare class GdsModule {
|
|
|
1595
1678
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<GdsModule>;
|
|
1596
1679
|
}
|
|
1597
1680
|
|
|
1598
|
-
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 };
|
|
1599
|
-
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 };
|
|
1681
|
+
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 };
|
|
1682
|
+
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 };
|
|
Binary file
|
|
@@ -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
|
-
}
|