@quadrel-enterprise-ui/framework 21.0.0-beta.226.1 → 21.0.0-beta.278.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/quadrel-enterprise-ui-framework.mjs +3341 -3136
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/i18n/de.json +19 -6
- package/src/assets/i18n/en.json +13 -2
- package/src/assets/i18n/fr.json +22 -11
- package/src/assets/i18n/it.json +25 -15
- package/src/assets/styles/settings/_settings.iconFont.scss +1 -1
- package/types/quadrel-enterprise-ui-framework.d.ts +1275 -1276
- package/fesm2022/quadrel-enterprise-ui-framework-dialog-confirm.module-CUc7xRuP.mjs +0 -42
- package/fesm2022/quadrel-enterprise-ui-framework-dialog-confirm.module-CUc7xRuP.mjs.map +0 -1
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable, BehaviorSubject, Subject, Subscription, ReplaySubject } from 'rxjs';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i12 from '@angular/cdk/dialog';
|
|
4
4
|
import { DialogConfig, DialogRef } from '@angular/cdk/dialog';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { InjectionToken, EventEmitter, OnInit, PipeTransform, TemplateRef, AfterContentInit, AfterViewInit, DestroyRef,
|
|
6
|
+
import { InjectionToken, EventEmitter, OnInit, PipeTransform, TemplateRef, AfterContentInit, AfterViewInit, DestroyRef, OnChanges, AfterViewChecked, OnDestroy, SimpleChanges, AfterContentChecked, Injector, ElementRef, QueryList, DoCheck, NgIterable, ViewContainerRef, TrackByFunction, Type, ModuleWithProviders } from '@angular/core';
|
|
7
7
|
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpParams } from '@angular/common/http';
|
|
8
8
|
import * as i2 from '@angular/common';
|
|
9
9
|
import { Moment } from 'moment/moment';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i28 from '@angular/cdk/a11y';
|
|
11
|
+
import { Highlightable } from '@angular/cdk/a11y';
|
|
12
|
+
import * as i30 from '@angular/forms';
|
|
11
13
|
import { AbstractControl, UntypedFormGroup, ControlValueAccessor, UntypedFormControl, ValidationErrors, FormControlOptions, AsyncValidatorFn, ValidatorFn, UntypedFormArray, AbstractControlOptions, ɵTypedOrUntyped as _TypedOrUntyped, UntypedFormBuilder, FormGroup, FormArray } from '@angular/forms';
|
|
12
|
-
import * as
|
|
14
|
+
import * as i5 from '@ngx-translate/core';
|
|
13
15
|
import { TranslateService } from '@ngx-translate/core';
|
|
14
|
-
import { OverlayRef, OverlayPositionBuilder, Overlay
|
|
16
|
+
import { OverlayRef, OverlayPositionBuilder, Overlay } from '@angular/cdk/overlay';
|
|
15
17
|
import * as i4 from '@angular/router';
|
|
16
18
|
import { Params } from '@angular/router';
|
|
19
|
+
import * as _quadrel_enterprise_ui_framework from '@quadrel-enterprise-ui/framework';
|
|
17
20
|
import * as i39 from 'ngx-editor';
|
|
18
21
|
import { Editor, Toolbar } from 'ngx-editor';
|
|
19
22
|
import { Moment as Moment$1 } from 'moment';
|
|
20
|
-
import
|
|
21
|
-
import * as
|
|
22
|
-
import * as i25 from '@ngrx/store';
|
|
23
|
-
import * as i5 from '@angular/cdk/stepper';
|
|
23
|
+
import * as i26 from '@ngrx/store';
|
|
24
|
+
import * as i5$1 from '@angular/cdk/stepper';
|
|
24
25
|
import { CdkStep, CdkStepper, StepState, CdkStepHeader } from '@angular/cdk/stepper';
|
|
25
|
-
import * as
|
|
26
|
+
import * as i22 from '@angular/cdk/scrolling';
|
|
26
27
|
import * as rxjs_internal_scheduler_AsyncScheduler from 'rxjs/internal/scheduler/AsyncScheduler';
|
|
27
|
-
import * as
|
|
28
|
+
import * as i18 from '@angular/cdk/drag-drop';
|
|
28
29
|
import { ComponentType } from '@angular/cdk/portal';
|
|
29
30
|
|
|
30
31
|
/**
|
|
@@ -190,8 +191,8 @@ interface QdNotification {
|
|
|
190
191
|
date?: Date;
|
|
191
192
|
/**
|
|
192
193
|
* The notification will be removed automatically after the given life time.
|
|
193
|
-
* This option does not work for 'warning' and 'critical' messages. These messages will not be removed
|
|
194
|
-
* but have to be removed by the user. For 'success' and 'info' messages the default life time is 3 seconds.
|
|
194
|
+
* This option does not work for 'warning', 'urgent' and 'critical' messages. These messages will not be removed
|
|
195
|
+
* automatically but have to be removed by the user. For 'success' and 'info' messages the default life time is 3 seconds.
|
|
195
196
|
* To configure that the notification is not automatically removed, set the life time to 0.
|
|
196
197
|
*/
|
|
197
198
|
lifeTime?: number;
|
|
@@ -221,7 +222,7 @@ interface QdNotification {
|
|
|
221
222
|
*/
|
|
222
223
|
osNotificationOptions?: QdOsNotificationOptions;
|
|
223
224
|
}
|
|
224
|
-
type QdNotificationType = 'info' | 'warning' | 'critical' | 'success';
|
|
225
|
+
type QdNotificationType = 'info' | 'warning' | 'critical' | 'success' | 'urgent';
|
|
225
226
|
type QdNotificationTranslation = string;
|
|
226
227
|
type QdNotificationTitle = {
|
|
227
228
|
i18n: string;
|
|
@@ -302,6 +303,7 @@ declare class QdNotificationsService {
|
|
|
302
303
|
}
|
|
303
304
|
|
|
304
305
|
declare const BACKEND_ERROR_CODES: InjectionToken<Record<string, string>>;
|
|
306
|
+
declare const WHITELIST_ERROR_CODES: InjectionToken<number[]>;
|
|
305
307
|
/**
|
|
306
308
|
* The QdNotificationsHttpInterceptorService is an Angular HTTP interceptor that captures error responses from HTTP requests and generates notifications for backend errors. This Service not only intercepts error responses, but it also handles specific error codes and translates them into appropriate error messages for display.
|
|
307
309
|
*/
|
|
@@ -318,15 +320,92 @@ declare class QdNotificationsHttpInterceptorService implements HttpInterceptor {
|
|
|
318
320
|
static ɵprov: i0.ɵɵInjectableDeclaration<QdNotificationsHttpInterceptorService>;
|
|
319
321
|
}
|
|
320
322
|
|
|
323
|
+
/**
|
|
324
|
+
* @description The configuration for QdMenuButton
|
|
325
|
+
*/
|
|
326
|
+
interface QdMenuButtonConfig {
|
|
327
|
+
/**
|
|
328
|
+
* @description The actions in the button's menu
|
|
329
|
+
*/
|
|
330
|
+
actions: QdMenuButtonActionConfig[];
|
|
331
|
+
/**
|
|
332
|
+
* @description Whether the QdMenuButton is disabled or not
|
|
333
|
+
*
|
|
334
|
+
* * @default false
|
|
335
|
+
*/
|
|
336
|
+
isDisabled?: boolean;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* @description Configuration for a QdButtonAction
|
|
340
|
+
*/
|
|
341
|
+
interface QdMenuButtonActionConfig {
|
|
342
|
+
/**
|
|
343
|
+
* @description The label is shown as text in the UI for this action.
|
|
344
|
+
*/
|
|
345
|
+
label: QdMenuButtonActionLabel;
|
|
346
|
+
/**
|
|
347
|
+
* @description The handler to execute when the action is clicked.
|
|
348
|
+
*/
|
|
349
|
+
handler: () => void;
|
|
350
|
+
/**
|
|
351
|
+
* @description Whether the QdButtonAction is disabled or not
|
|
352
|
+
*
|
|
353
|
+
* * @default false
|
|
354
|
+
*/
|
|
355
|
+
isDisabled?: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* @description Whether the QdButtonAction is hidden or not
|
|
358
|
+
*
|
|
359
|
+
* * @default false
|
|
360
|
+
*/
|
|
361
|
+
isHidden?: boolean;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Type for the label of a QdButtonAction.
|
|
365
|
+
*/
|
|
366
|
+
interface QdMenuButtonActionLabel {
|
|
367
|
+
/**
|
|
368
|
+
* This i18n key is translated directly inside the QdMenuButton component.
|
|
369
|
+
*/
|
|
370
|
+
i18n: string;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Type for a small info icon box that can be attached to a button like a flap. When this flap is clicked the
|
|
374
|
+
* info message will be displayed in a notification. Therefore you need to place the snackbar listener eventually.
|
|
375
|
+
*/
|
|
376
|
+
interface QdButtonAdditionalInfo {
|
|
377
|
+
/**
|
|
378
|
+
* The info type determines the color and icon of the button info flap.
|
|
379
|
+
*/
|
|
380
|
+
infoType: QdButtonAdditionalInfoType;
|
|
381
|
+
/**
|
|
382
|
+
* You can define a message that will be displayed in the notification that is opened when
|
|
383
|
+
* the button info flap is clicked.
|
|
384
|
+
*/
|
|
385
|
+
message: QdButtonAdditionalInfoMessage;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* The info type determines the color and icon of the button info flap.
|
|
389
|
+
*/
|
|
390
|
+
type QdButtonAdditionalInfoType = 'warning' | 'info';
|
|
391
|
+
/**
|
|
392
|
+
* Message that is displayed when the button info flap is clicked.
|
|
393
|
+
* You can insert the defined additional info count in the translation text with the {{count}} placeholder.
|
|
394
|
+
*/
|
|
395
|
+
interface QdButtonAdditionalInfoMessage {
|
|
396
|
+
i18n: string;
|
|
397
|
+
}
|
|
398
|
+
|
|
321
399
|
type QdButtonColor = 'primary' | 'secondary' | 'error';
|
|
322
400
|
|
|
323
401
|
declare class QdMockButtonComponent {
|
|
324
402
|
disabled: boolean;
|
|
325
403
|
color: QdButtonColor;
|
|
326
404
|
icon: string;
|
|
405
|
+
additionalInfo?: QdButtonAdditionalInfo;
|
|
327
406
|
testId: string;
|
|
328
407
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockButtonComponent, never>;
|
|
329
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockButtonComponent, "button[qdButton], a[qdButton], button[qd-button]", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
408
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockButtonComponent, "button[qdButton], a[qdButton], button[qd-button]", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "additionalInfo": { "alias": "additionalInfo"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
330
409
|
}
|
|
331
410
|
|
|
332
411
|
declare class QdMockButtonLinkDirective {
|
|
@@ -357,8 +436,9 @@ declare class QdMockButtonStackComponent {
|
|
|
357
436
|
|
|
358
437
|
declare class QdMockIconButtonComponent {
|
|
359
438
|
color: QdButtonColor;
|
|
439
|
+
testId: string;
|
|
360
440
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockIconButtonComponent, never>;
|
|
361
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockIconButtonComponent, "button[qd-icon-button], button[qdIconButton]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
441
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockIconButtonComponent, "button[qd-icon-button], button[qdIconButton]", never, { "color": { "alias": "color"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
362
442
|
}
|
|
363
443
|
|
|
364
444
|
declare class QdMockButtonModule {
|
|
@@ -627,7 +707,9 @@ declare class QdMockPopoverOnClickDirective {
|
|
|
627
707
|
qdPopoverHeight: any;
|
|
628
708
|
qdPopoverMinHeight: any;
|
|
629
709
|
qdPopoverMaxHeight: any;
|
|
630
|
-
|
|
710
|
+
qdPopoverPlacement: any;
|
|
711
|
+
qdPopoverOffsetX: any;
|
|
712
|
+
qdPopoverOffsetY: any;
|
|
631
713
|
qdPopoverCloseStrategy: any;
|
|
632
714
|
qdPopoverDisabled: any;
|
|
633
715
|
qdPopoverStopPropagation: boolean;
|
|
@@ -643,7 +725,7 @@ declare class QdMockPopoverOnClickDirective {
|
|
|
643
725
|
private isElementInTemplateClicked;
|
|
644
726
|
private getTemplateRootNode;
|
|
645
727
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockPopoverOnClickDirective, never>;
|
|
646
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QdMockPopoverOnClickDirective, "[qdPopoverOnClick]", ["qdPopoverOnClick"], { "qdPopoverOnClick": { "alias": "qdPopoverOnClick"; "required": false; }; "qdPopoverWidth": { "alias": "qdPopoverWidth"; "required": false; }; "qdPopoverMinWidth": { "alias": "qdPopoverMinWidth"; "required": false; }; "qdPopoverMaxWidth": { "alias": "qdPopoverMaxWidth"; "required": false; }; "qdPopoverHeight": { "alias": "qdPopoverHeight"; "required": false; }; "qdPopoverMinHeight": { "alias": "qdPopoverMinHeight"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "
|
|
728
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<QdMockPopoverOnClickDirective, "[qdPopoverOnClick]", ["qdPopoverOnClick"], { "qdPopoverOnClick": { "alias": "qdPopoverOnClick"; "required": false; }; "qdPopoverWidth": { "alias": "qdPopoverWidth"; "required": false; }; "qdPopoverMinWidth": { "alias": "qdPopoverMinWidth"; "required": false; }; "qdPopoverMaxWidth": { "alias": "qdPopoverMaxWidth"; "required": false; }; "qdPopoverHeight": { "alias": "qdPopoverHeight"; "required": false; }; "qdPopoverMinHeight": { "alias": "qdPopoverMinHeight"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "qdPopoverPlacement": { "alias": "qdPopoverPlacement"; "required": false; }; "qdPopoverOffsetX": { "alias": "qdPopoverOffsetX"; "required": false; }; "qdPopoverOffsetY": { "alias": "qdPopoverOffsetY"; "required": false; }; "qdPopoverCloseStrategy": { "alias": "qdPopoverCloseStrategy"; "required": false; }; "qdPopoverDisabled": { "alias": "qdPopoverDisabled"; "required": false; }; "qdPopoverStopPropagation": { "alias": "qdPopoverStopPropagation"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, false, never>;
|
|
647
729
|
}
|
|
648
730
|
|
|
649
731
|
declare class QdMockCoreModule {
|
|
@@ -1490,42 +1572,6 @@ interface QdTooltip {
|
|
|
1490
1572
|
hidden?: boolean;
|
|
1491
1573
|
}
|
|
1492
1574
|
|
|
1493
|
-
/**
|
|
1494
|
-
* @deprecated Will be removed in v21. This directive is no longer used inside
|
|
1495
|
-
* the framework. Use `QdTooltipOnClickDirective` (`[qdTooltipOnClick]`) instead.
|
|
1496
|
-
*
|
|
1497
|
-
* QdTooltipAtIntersectionDirective provides a tooltip. This will be triggered if the content is intersected.
|
|
1498
|
-
*
|
|
1499
|
-
* * Selector: [qdTooltipAtIntersection]
|
|
1500
|
-
* * Target Selector: .qd-intersection-target
|
|
1501
|
-
*
|
|
1502
|
-
* The IntersectionObserver API is used for the implementation.
|
|
1503
|
-
* * @see https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver
|
|
1504
|
-
*
|
|
1505
|
-
* * Note: The intersection of the target is calculated by the IntersectionObserver only once, initially (can be extended later if required). After that it will be unsubscribed immediately.
|
|
1506
|
-
* */
|
|
1507
|
-
declare class QdTooltipAtIntersectionDirective implements AfterViewInit, OnDestroy {
|
|
1508
|
-
private _host;
|
|
1509
|
-
private _positionBuilder;
|
|
1510
|
-
private _overlay;
|
|
1511
|
-
private _overlayRef;
|
|
1512
|
-
private _target;
|
|
1513
|
-
private _observer$;
|
|
1514
|
-
private _isIntersected;
|
|
1515
|
-
private _destroyed$;
|
|
1516
|
-
ngAfterViewInit(): void;
|
|
1517
|
-
ngOnDestroy(): void;
|
|
1518
|
-
private setTarget;
|
|
1519
|
-
private observeTarget;
|
|
1520
|
-
private _setStyles;
|
|
1521
|
-
private createOverlay;
|
|
1522
|
-
private subscribeShow;
|
|
1523
|
-
private subscribeHide;
|
|
1524
|
-
private getContent;
|
|
1525
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdTooltipAtIntersectionDirective, never>;
|
|
1526
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QdTooltipAtIntersectionDirective, "[qdTooltipAtIntersection]", never, {}, {}, never, never, false, never>;
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
1575
|
declare class QdTooltipIconComponent {
|
|
1530
1576
|
tooltip?: QdTooltip;
|
|
1531
1577
|
get isVisible(): boolean;
|
|
@@ -1580,11 +1626,7 @@ declare class QdChipComponent implements OnChanges, AfterViewChecked {
|
|
|
1580
1626
|
type QdStatus = 'positive' | 'warning' | 'critical' | 'info' | 'neutral' | 'inactive';
|
|
1581
1627
|
|
|
1582
1628
|
/**
|
|
1583
|
-
*
|
|
1584
|
-
*/
|
|
1585
|
-
declare const AVAILABLE_ICONS: string[];
|
|
1586
|
-
/**
|
|
1587
|
-
* The component **QdIcon** can be used to display the icons available in Qd-UI.
|
|
1629
|
+
* The component **QdIcon** can be used to display the icons available in the framework.
|
|
1588
1630
|
*/
|
|
1589
1631
|
declare class QdIconComponent implements OnInit, OnChanges {
|
|
1590
1632
|
private elementRef;
|
|
@@ -1838,13 +1880,20 @@ declare class QdDataFacetsBlankComponent {
|
|
|
1838
1880
|
}
|
|
1839
1881
|
|
|
1840
1882
|
/**
|
|
1841
|
-
* @description Renders a checkmark icon
|
|
1883
|
+
* @description Renders a checkmark icon when the value is `true` and a "x" icon when it is `false`.
|
|
1842
1884
|
*
|
|
1843
|
-
*
|
|
1885
|
+
* #### Notes & Best Practices:
|
|
1886
|
+
*
|
|
1887
|
+
* * The icon is only rendered when a value exists. `null` and `undefined` mean "no value"
|
|
1888
|
+
* and render nothing, so a cell without a value stays empty instead of showing a "x" icon.
|
|
1889
|
+
* * In a table or tree, group rows have no value of their own and therefore show no icon.
|
|
1890
|
+
* * This is a base component for all potentially derived components and classes.
|
|
1844
1891
|
*/
|
|
1845
|
-
declare class QdDataFacetsBooleanComponent {
|
|
1846
|
-
data?: boolean;
|
|
1892
|
+
declare class QdDataFacetsBooleanComponent implements OnChanges {
|
|
1893
|
+
data?: boolean | null;
|
|
1847
1894
|
testId?: string;
|
|
1895
|
+
hasValue: boolean;
|
|
1896
|
+
ngOnChanges(): void;
|
|
1848
1897
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsBooleanComponent, never>;
|
|
1849
1898
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdDataFacetsBooleanComponent, "qd-data-facets-boolean", never, { "data": { "alias": "data"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
|
|
1850
1899
|
}
|
|
@@ -1856,19 +1905,7 @@ type QdTableSelectedRows<T extends string> = QdTableSelectedRow<T>[];
|
|
|
1856
1905
|
/**
|
|
1857
1906
|
* @description Model for a selected row in a selection event.
|
|
1858
1907
|
*/
|
|
1859
|
-
type QdTableSelectedRow<T extends string> = QdTableDataRow<T
|
|
1860
|
-
/**
|
|
1861
|
-
* Position of the row at the most recent moment it was visible. Refreshed for every row that
|
|
1862
|
-
* appears on the current page, so visible rows reflect their actual position; rows that have
|
|
1863
|
-
* left the current page keep the position from the last time they were seen.
|
|
1864
|
-
*
|
|
1865
|
-
* @deprecated Use the row's unique identifier (`uid` or the result of `trackRowBy`) for
|
|
1866
|
-
* row identification. After DAZUIC-4025 the selection output emits rows across all pages,
|
|
1867
|
-
* so for rows that are no longer on the current page this value can be out-of-sync with
|
|
1868
|
-
* their actual position. It will be removed in a future major release.
|
|
1869
|
-
*/
|
|
1870
|
-
index: number;
|
|
1871
|
-
};
|
|
1908
|
+
type QdTableSelectedRow<T extends string> = QdTableDataRow<T>;
|
|
1872
1909
|
|
|
1873
1910
|
/**
|
|
1874
1911
|
* @description Defines the primary action that can be triggered by clicking on a row.
|
|
@@ -1891,6 +1928,9 @@ interface QdTablePrimaryAction<T extends string> {
|
|
|
1891
1928
|
}) => QdTableActionResult;
|
|
1892
1929
|
/**
|
|
1893
1930
|
* @description Refresh configuration for the table after the action completes.
|
|
1931
|
+
*
|
|
1932
|
+
* For an `Observable` action result, only the first emitted value counts.
|
|
1933
|
+
* A truthy first value triggers the refresh; later emissions are ignored.
|
|
1894
1934
|
*/
|
|
1895
1935
|
refresh?: QdTableRefreshConfig;
|
|
1896
1936
|
/**
|
|
@@ -1933,6 +1973,9 @@ interface QdTableSecondaryAction<T extends string> {
|
|
|
1933
1973
|
handler?: (selectedRow: QdTableRecentSecondaryAction<T>) => QdTableActionResult;
|
|
1934
1974
|
/**
|
|
1935
1975
|
* @description Refresh configuration for the table after the action completes.
|
|
1976
|
+
*
|
|
1977
|
+
* For an `Observable` action result, only the first emitted value counts.
|
|
1978
|
+
* A truthy first value triggers the refresh; later emissions are ignored.
|
|
1936
1979
|
*/
|
|
1937
1980
|
refresh?: QdTableRefreshConfig;
|
|
1938
1981
|
/**
|
|
@@ -1990,23 +2033,6 @@ interface QdTableSecondaryAction<T extends string> {
|
|
|
1990
2033
|
* @description Defines the secondaryAction type for the table. For 'edit', 'delete' & 'view' types, an icon will be provided.
|
|
1991
2034
|
*/
|
|
1992
2035
|
type QdTableConfigSecondaryActionType = 'edit' | 'delete' | 'view' | string;
|
|
1993
|
-
/**
|
|
1994
|
-
* @description Configures the behavior of the groups in the tree view.
|
|
1995
|
-
*/
|
|
1996
|
-
interface QdTableConfigGroup {
|
|
1997
|
-
/**
|
|
1998
|
-
* @description Click/tap to release the groups.
|
|
1999
|
-
*
|
|
2000
|
-
* * @default: false
|
|
2001
|
-
*/
|
|
2002
|
-
toggle?: boolean;
|
|
2003
|
-
/**
|
|
2004
|
-
* @description Rows that are grouped together are aggregated.
|
|
2005
|
-
*
|
|
2006
|
-
* * @default: true
|
|
2007
|
-
*/
|
|
2008
|
-
aggregation?: boolean;
|
|
2009
|
-
}
|
|
2010
2036
|
/**
|
|
2011
2037
|
* @description Configures selection options for table rows.
|
|
2012
2038
|
*/
|
|
@@ -2083,10 +2109,10 @@ interface QdTableRefreshConfig {
|
|
|
2083
2109
|
*/
|
|
2084
2110
|
isEnabled?: boolean;
|
|
2085
2111
|
/**
|
|
2086
|
-
* @description Specifies
|
|
2087
|
-
* - A specific page number (e.g., `2`) can be provided.
|
|
2112
|
+
* @description Specifies which page to load when the table refreshes.
|
|
2088
2113
|
*
|
|
2089
|
-
*
|
|
2114
|
+
* - A specific page number (e.g., `0` for the first page) jumps to that page.
|
|
2115
|
+
* - When omitted, the refresh keeps the current page.
|
|
2090
2116
|
*/
|
|
2091
2117
|
page?: number;
|
|
2092
2118
|
}
|
|
@@ -2330,14 +2356,24 @@ declare class QdDataFacetsLinkComponent {
|
|
|
2330
2356
|
/**
|
|
2331
2357
|
* @description Renders a progress bar.
|
|
2332
2358
|
*
|
|
2333
|
-
*
|
|
2334
|
-
*
|
|
2335
|
-
*
|
|
2359
|
+
* #### Features:
|
|
2360
|
+
*
|
|
2361
|
+
* * The displayed text and the bar width both come from {@link normalizedValue}.
|
|
2362
|
+
* * Values are clamped to the inclusive range `[0, 100]`. `NaN` falls back to `0`.
|
|
2363
|
+
* * A value of `0` is a real value and renders a bar with `0%`.
|
|
2364
|
+
*
|
|
2365
|
+
* #### Notes & Best Practices:
|
|
2366
|
+
*
|
|
2367
|
+
* * The bar is only rendered when a value exists. `null` and `undefined` mean "no value"
|
|
2368
|
+
* and render nothing at all, so rows without a value stay empty instead of showing `0%`.
|
|
2369
|
+
* * In a table or tree, a cell without a value keeps the column empty. Group rows of a tree
|
|
2370
|
+
* have no progress of their own and therefore show no bar.
|
|
2336
2371
|
*/
|
|
2337
2372
|
declare class QdDataFacetsProgressComponent implements OnChanges {
|
|
2338
2373
|
data?: number | null;
|
|
2339
2374
|
testId?: string;
|
|
2340
2375
|
normalizedValue: number;
|
|
2376
|
+
hasValue: boolean;
|
|
2341
2377
|
ngOnChanges(): void;
|
|
2342
2378
|
private normalize;
|
|
2343
2379
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsProgressComponent, never>;
|
|
@@ -2374,7 +2410,7 @@ declare class QdDataFacetsTextComponent {
|
|
|
2374
2410
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdDataFacetsTextComponent, "qd-data-facets-text", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
|
|
2375
2411
|
}
|
|
2376
2412
|
|
|
2377
|
-
declare class QdDataFacetsChipTruncatedTooltipComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
2413
|
+
declare class QdDataFacetsChipTruncatedTooltipComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
2378
2414
|
private readonly hostRef;
|
|
2379
2415
|
private readonly changeDetectorRef;
|
|
2380
2416
|
private readonly translateService;
|
|
@@ -2383,16 +2419,13 @@ declare class QdDataFacetsChipTruncatedTooltipComponent implements AfterViewInit
|
|
|
2383
2419
|
i18n: string;
|
|
2384
2420
|
columnOptions: QdDataFacetsChipConfig;
|
|
2385
2421
|
overlayRef: OverlayRef;
|
|
2386
|
-
get styleMaxWidth(): string;
|
|
2387
|
-
get styleVisibility(): string;
|
|
2388
2422
|
private get element();
|
|
2389
|
-
maxWidth: number;
|
|
2390
|
-
visibility: string;
|
|
2391
2423
|
closable: boolean;
|
|
2392
2424
|
private changesSubject;
|
|
2393
2425
|
private adjustWidthSubscription;
|
|
2394
2426
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2395
2427
|
ngOnDestroy(): void;
|
|
2428
|
+
ngOnInit(): void;
|
|
2396
2429
|
ngAfterViewInit(): void;
|
|
2397
2430
|
close(): void;
|
|
2398
2431
|
private adjustWidthToFitInViewport;
|
|
@@ -2502,7 +2535,7 @@ type QdDataFacetsType = 'blank' | 'boolean' | 'chip' | 'currency' | 'date' | 'ic
|
|
|
2502
2535
|
|
|
2503
2536
|
declare class QdDataFacetsModule {
|
|
2504
2537
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsModule, never>;
|
|
2505
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDataFacetsModule, [typeof QdDataFacetsBlankComponent, typeof QdDataFacetsBooleanComponent, typeof QdDataFacetsChipComponent, typeof QdDataFacetsCurrencyComponent, typeof QdDataFacetsDateComponent, typeof QdDataFacetsIconComponent, typeof QdDataFacetsIntegerComponent, typeof QdDataFacetsLinkComponent, typeof QdDataFacetsProgressComponent, typeof QdDataFacetsStatusComponent, typeof QdDataFacetsTextComponent, typeof QdDataFacetsChipTruncatedTooltipComponent, typeof QdDataFacetsChipTruncatedIndicatorComponent], [typeof i2.CommonModule, typeof
|
|
2538
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDataFacetsModule, [typeof QdDataFacetsBlankComponent, typeof QdDataFacetsBooleanComponent, typeof QdDataFacetsChipComponent, typeof QdDataFacetsCurrencyComponent, typeof QdDataFacetsDateComponent, typeof QdDataFacetsIconComponent, typeof QdDataFacetsIntegerComponent, typeof QdDataFacetsLinkComponent, typeof QdDataFacetsProgressComponent, typeof QdDataFacetsStatusComponent, typeof QdDataFacetsTextComponent, typeof QdDataFacetsChipTruncatedTooltipComponent, typeof QdDataFacetsChipTruncatedIndicatorComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdChipModule, typeof QdStatusIndicatorModule], never>;
|
|
2506
2539
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdDataFacetsModule>;
|
|
2507
2540
|
}
|
|
2508
2541
|
|
|
@@ -2662,13 +2695,13 @@ declare class QdPlaceholdersPipe implements PipeTransform {
|
|
|
2662
2695
|
|
|
2663
2696
|
declare class QdBreadcrumbsModule {
|
|
2664
2697
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdBreadcrumbsModule, never>;
|
|
2665
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdBreadcrumbsModule, [typeof QdBreadcrumbsComponent, typeof QdPlaceholdersPipe], [typeof i2.CommonModule, typeof i4.RouterModule, typeof
|
|
2698
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdBreadcrumbsModule, [typeof QdBreadcrumbsComponent, typeof QdPlaceholdersPipe], [typeof i2.CommonModule, typeof i4.RouterModule, typeof i5.TranslateModule], [typeof QdBreadcrumbsComponent]>;
|
|
2666
2699
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdBreadcrumbsModule>;
|
|
2667
2700
|
}
|
|
2668
2701
|
|
|
2669
2702
|
declare class QdCoreModule {
|
|
2670
2703
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdCoreModule, never>;
|
|
2671
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCoreModule, [typeof QdDisabledDirective, typeof QdFileSizePipe$1, typeof QdPlaceholderPipe, typeof QdProjectionGuardComponent, typeof QdRwdDisabledDirective, typeof QdVisuallyHiddenDirective, typeof QdViewportAdaptiveDirective], [typeof i2.CommonModule, typeof
|
|
2704
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCoreModule, [typeof QdDisabledDirective, typeof QdFileSizePipe$1, typeof QdPlaceholderPipe, typeof QdProjectionGuardComponent, typeof QdRwdDisabledDirective, typeof QdVisuallyHiddenDirective, typeof QdViewportAdaptiveDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdDataFacetsModule, typeof QdBreadcrumbsModule], [typeof QdDisabledDirective, typeof QdFileSizePipe$1, typeof QdPlaceholderPipe, typeof QdProjectionGuardComponent, typeof QdRwdDisabledDirective, typeof QdVisuallyHiddenDirective, typeof QdViewportAdaptiveDirective]>;
|
|
2672
2705
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdCoreModule>;
|
|
2673
2706
|
}
|
|
2674
2707
|
|
|
@@ -3354,6 +3387,7 @@ declare class QdMockFilterItemDateRangeComponent {
|
|
|
3354
3387
|
timePickerConfig?: QdFormTimepickerConfiguration;
|
|
3355
3388
|
testId: any;
|
|
3356
3389
|
get dataTestId(): string;
|
|
3390
|
+
open(): void;
|
|
3357
3391
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockFilterItemDateRangeComponent, never>;
|
|
3358
3392
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockFilterItemDateRangeComponent, "qd-filter-item-date-range", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "timePickerConfig": { "alias": "timePickerConfig"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
3359
3393
|
}
|
|
@@ -3379,14 +3413,36 @@ declare class QdMockFilterItemMultiSelectComponent {
|
|
|
3379
3413
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockFilterItemMultiSelectComponent, "qd-filter-item-multi-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
3380
3414
|
}
|
|
3381
3415
|
|
|
3382
|
-
|
|
3416
|
+
interface QdFilterListboxOption extends Highlightable {
|
|
3417
|
+
itemIndex: number;
|
|
3418
|
+
optionElementId: string;
|
|
3419
|
+
active: boolean;
|
|
3420
|
+
getLabel(): string;
|
|
3421
|
+
scrollIntoView(): void;
|
|
3422
|
+
}
|
|
3423
|
+
interface QdFilterListboxHost {
|
|
3424
|
+
registerOption(option: QdFilterListboxOption): void;
|
|
3425
|
+
unregisterOption(option: QdFilterListboxOption): void;
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
declare class QdMockFilterItemSingleSelectComponent implements OnInit, OnDestroy, QdFilterListboxOption {
|
|
3429
|
+
private category;
|
|
3383
3430
|
filterId: string;
|
|
3384
3431
|
categoryIndex: number;
|
|
3385
3432
|
itemIndex: number;
|
|
3433
|
+
optionElementId: string;
|
|
3386
3434
|
testId: any;
|
|
3435
|
+
active: boolean;
|
|
3436
|
+
isActive: boolean;
|
|
3387
3437
|
get dataTestId(): string;
|
|
3438
|
+
ngOnInit(): void;
|
|
3439
|
+
ngOnDestroy(): void;
|
|
3440
|
+
setActiveStyles(): void;
|
|
3441
|
+
setInactiveStyles(): void;
|
|
3442
|
+
getLabel(): string;
|
|
3443
|
+
scrollIntoView(): void;
|
|
3388
3444
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockFilterItemSingleSelectComponent, never>;
|
|
3389
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockFilterItemSingleSelectComponent, "qd-filter-item-single-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
3445
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockFilterItemSingleSelectComponent, "qd-filter-item-single-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "optionElementId": { "alias": "optionElementId"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
3390
3446
|
}
|
|
3391
3447
|
|
|
3392
3448
|
declare class MockLocaleDatePipe implements PipeTransform {
|
|
@@ -3411,12 +3467,15 @@ declare class QdMockFilterService {
|
|
|
3411
3467
|
private postBodyWithEmptyDefaultSubjects;
|
|
3412
3468
|
private categoryByIdSubject;
|
|
3413
3469
|
private itemByIdSubject;
|
|
3470
|
+
private loadingSubject;
|
|
3414
3471
|
initializeFilterState(): void;
|
|
3415
3472
|
updateFilterState(): void;
|
|
3416
3473
|
getFilterState(): void;
|
|
3417
3474
|
setFilterSelection: any;
|
|
3418
3475
|
updateItem: any;
|
|
3419
3476
|
setItemIsActive: any;
|
|
3477
|
+
clearCategorySelection: any;
|
|
3478
|
+
setItemsLoading: any;
|
|
3420
3479
|
selectFilterDataById$: any;
|
|
3421
3480
|
getQueryString$(filterId: any): Observable<string>;
|
|
3422
3481
|
getFilterUrlParameter$(filterId: any): Observable<string>;
|
|
@@ -3425,6 +3484,7 @@ declare class QdMockFilterService {
|
|
|
3425
3484
|
getPostBodyWithEmptyDefault$(filterId: any): Observable<QdFilterPostBodyData>;
|
|
3426
3485
|
getCategoryById$(filterId: any): Observable<any>;
|
|
3427
3486
|
getItemById$(filterId: any): Observable<any>;
|
|
3487
|
+
getItemsLoading$(filterId: any): Observable<boolean>;
|
|
3428
3488
|
getQueryStringSubject(filterId: any): Subject<string>;
|
|
3429
3489
|
getFilterUrlParameterSubject(filterId: any): Subject<string>;
|
|
3430
3490
|
getPostBodySubject(filterId: any): Subject<QdFilterPostBodyData>;
|
|
@@ -3433,6 +3493,7 @@ declare class QdMockFilterService {
|
|
|
3433
3493
|
getMaxDate$: any;
|
|
3434
3494
|
emitCategory(value: any, filterId: any): void;
|
|
3435
3495
|
emitItem(value: any, filterId: any): void;
|
|
3496
|
+
emitLoading(value: any, filterId: any): void;
|
|
3436
3497
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockFilterService, never>;
|
|
3437
3498
|
static ɵprov: i0.ɵɵInjectableDeclaration<QdMockFilterService>;
|
|
3438
3499
|
}
|
|
@@ -3448,9 +3509,10 @@ declare class QdMockCalendarComponent {
|
|
|
3448
3509
|
language: any;
|
|
3449
3510
|
disabledDates: any;
|
|
3450
3511
|
selectedChange: EventEmitter<any>;
|
|
3512
|
+
closeRequested: EventEmitter<void>;
|
|
3451
3513
|
pickDate(date: any): void;
|
|
3452
3514
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockCalendarComponent, never>;
|
|
3453
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockCalendarComponent, "qd-calendar", never, { "selectedDate": { "alias": "selectedDate"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, false, never>;
|
|
3515
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockCalendarComponent, "qd-calendar", never, { "selectedDate": { "alias": "selectedDate"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; }, { "selectedChange": "selectedChange"; "closeRequested": "closeRequested"; }, never, never, false, never>;
|
|
3454
3516
|
}
|
|
3455
3517
|
|
|
3456
3518
|
declare class QdMockCheckboxChipsComponent {
|
|
@@ -3467,12 +3529,13 @@ declare class QdMockCheckboxComponent {
|
|
|
3467
3529
|
value: string;
|
|
3468
3530
|
disabled: boolean;
|
|
3469
3531
|
hasAutofocus: boolean;
|
|
3532
|
+
isAriaHidden: boolean;
|
|
3470
3533
|
testId: string;
|
|
3471
3534
|
valueChange: EventEmitter<string>;
|
|
3472
3535
|
get dataTestId(): string;
|
|
3473
3536
|
handleClick(): void;
|
|
3474
3537
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockCheckboxComponent, never>;
|
|
3475
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockCheckboxComponent, "qd-checkbox", never, { "inputData": { "alias": "inputData"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hasAutofocus": { "alias": "hasAutofocus"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
3538
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockCheckboxComponent, "qd-checkbox", never, { "inputData": { "alias": "inputData"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hasAutofocus": { "alias": "hasAutofocus"; "required": false; }; "isAriaHidden": { "alias": "isAriaHidden"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
3476
3539
|
}
|
|
3477
3540
|
|
|
3478
3541
|
declare class QdMockCheckboxesComponent {
|
|
@@ -3612,13 +3675,14 @@ declare class QdMockRadioButtonsComponent {
|
|
|
3612
3675
|
value: string;
|
|
3613
3676
|
config: QdFormRadioButtonsConfiguration;
|
|
3614
3677
|
formControlName: string;
|
|
3678
|
+
isAriaHidden: boolean;
|
|
3615
3679
|
testId: string;
|
|
3616
3680
|
get dataTestId(): string;
|
|
3617
3681
|
handleClick(value: any): {
|
|
3618
3682
|
value: any;
|
|
3619
3683
|
};
|
|
3620
3684
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockRadioButtonsComponent, never>;
|
|
3621
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockRadioButtonsComponent, "qd-radio-buttons", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
3685
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockRadioButtonsComponent, "qd-radio-buttons", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "isAriaHidden": { "alias": "isAriaHidden"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
3622
3686
|
}
|
|
3623
3687
|
|
|
3624
3688
|
declare class QdMockSwitchComponent {
|
|
@@ -3681,7 +3745,7 @@ declare class QdMockCheckboxChipsItemComponent {
|
|
|
3681
3745
|
|
|
3682
3746
|
declare class QdMockFormsModule {
|
|
3683
3747
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockFormsModule, never>;
|
|
3684
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdMockFormsModule, [typeof QdMockCalendarComponent, typeof QdMockCheckboxChipsComponent, typeof QdMockCheckboxChipsItemComponent, typeof QdMockCheckboxComponent, typeof QdMockCheckboxesComponent, typeof QdMockDatepickerComponent, typeof QdMockDropdownComponent, typeof QdMockFilterFormItemsComponent, typeof QdMockFormErrorComponent, typeof QdMockFormGroupErrorComponent, typeof QdMockFormHintComponent, typeof QdMockFormLabelComponent, typeof QdMockFormReadonlyComponent, typeof QdMockFormViewonlyComponent, typeof QdMockInputComponent, typeof QdMockPinCodeComponent, typeof QdMockRadioButtonsComponent, typeof QdMockSwitchComponent, typeof QdMockSwitchesComponent, typeof QdMockTextareaComponent], [typeof i2.CommonModule, typeof
|
|
3748
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdMockFormsModule, [typeof QdMockCalendarComponent, typeof QdMockCheckboxChipsComponent, typeof QdMockCheckboxChipsItemComponent, typeof QdMockCheckboxComponent, typeof QdMockCheckboxesComponent, typeof QdMockDatepickerComponent, typeof QdMockDropdownComponent, typeof QdMockFilterFormItemsComponent, typeof QdMockFormErrorComponent, typeof QdMockFormGroupErrorComponent, typeof QdMockFormHintComponent, typeof QdMockFormLabelComponent, typeof QdMockFormReadonlyComponent, typeof QdMockFormViewonlyComponent, typeof QdMockInputComponent, typeof QdMockPinCodeComponent, typeof QdMockRadioButtonsComponent, typeof QdMockSwitchComponent, typeof QdMockSwitchesComponent, typeof QdMockTextareaComponent], [typeof i2.CommonModule, typeof i30.FormsModule], [typeof QdMockCalendarComponent, typeof QdMockCheckboxChipsComponent, typeof QdMockCheckboxComponent, typeof QdMockCheckboxesComponent, typeof QdMockDatepickerComponent, typeof QdMockDropdownComponent, typeof QdMockFilterFormItemsComponent, typeof QdMockFormErrorComponent, typeof QdMockFormGroupErrorComponent, typeof QdMockFormHintComponent, typeof QdMockFormLabelComponent, typeof QdMockFormReadonlyComponent, typeof QdMockFormViewonlyComponent, typeof QdMockInputComponent, typeof QdMockPinCodeComponent, typeof QdMockRadioButtonsComponent, typeof QdMockSwitchComponent, typeof QdMockSwitchesComponent, typeof QdMockTextareaComponent]>;
|
|
3685
3749
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdMockFormsModule>;
|
|
3686
3750
|
}
|
|
3687
3751
|
|
|
@@ -3863,18 +3927,6 @@ declare class QdMockPageModule {
|
|
|
3863
3927
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdMockPageModule>;
|
|
3864
3928
|
}
|
|
3865
3929
|
|
|
3866
|
-
declare class QdMockQdPlaceHolderComponent {
|
|
3867
|
-
area: string;
|
|
3868
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockQdPlaceHolderComponent, never>;
|
|
3869
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockQdPlaceHolderComponent, "qd-place-holder", never, { "area": { "alias": "area"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
3870
|
-
}
|
|
3871
|
-
|
|
3872
|
-
declare class QdMockPlaceHolderModule {
|
|
3873
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockPlaceHolderModule, never>;
|
|
3874
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdMockPlaceHolderModule, [typeof QdMockQdPlaceHolderComponent], never, [typeof QdMockQdPlaceHolderComponent]>;
|
|
3875
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<QdMockPlaceHolderModule>;
|
|
3876
|
-
}
|
|
3877
|
-
|
|
3878
3930
|
declare class QdMockIndeterminateProgressBarComponent {
|
|
3879
3931
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockIndeterminateProgressBarComponent, never>;
|
|
3880
3932
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockIndeterminateProgressBarComponent, "qd-indeterminate-progress-bar", never, {}, {}, never, never, false, never>;
|
|
@@ -4084,12 +4136,6 @@ declare class QdMockShellHeaderSearchComponent {
|
|
|
4084
4136
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockShellHeaderSearchComponent, "qd-shell-header-search", never, {}, {}, never, never, false, never>;
|
|
4085
4137
|
}
|
|
4086
4138
|
|
|
4087
|
-
declare class QdMockShellHeaderWidgetComponent {
|
|
4088
|
-
config: any;
|
|
4089
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockShellHeaderWidgetComponent, never>;
|
|
4090
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockShellHeaderWidgetComponent, "qd-shell-header-widget", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
4091
|
-
}
|
|
4092
|
-
|
|
4093
4139
|
declare class QdMockCounterBadgeComponent {
|
|
4094
4140
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockCounterBadgeComponent, never>;
|
|
4095
4141
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockCounterBadgeComponent, "qd-counter-badge", never, {}, {}, never, never, false, never>;
|
|
@@ -4106,37 +4152,9 @@ declare class QdMockShellToolbarComponent {
|
|
|
4106
4152
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockShellToolbarComponent, "qd-shell-toolbar", never, {}, {}, never, never, false, never>;
|
|
4107
4153
|
}
|
|
4108
4154
|
|
|
4109
|
-
declare class QdMockHeaderWidgetDesktopComponent {
|
|
4110
|
-
languageList: any;
|
|
4111
|
-
languageChange: EventEmitter<any>;
|
|
4112
|
-
loginStatus: EventEmitter<any>;
|
|
4113
|
-
buttonClickedEmitter: EventEmitter<any>;
|
|
4114
|
-
triggerLanguageChange(language: any): void;
|
|
4115
|
-
triggerLoginStatusChange(loginStatus: any): void;
|
|
4116
|
-
nativeElement: {
|
|
4117
|
-
setAttribute: any;
|
|
4118
|
-
};
|
|
4119
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockHeaderWidgetDesktopComponent, never>;
|
|
4120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockHeaderWidgetDesktopComponent, "header-widget", never, { "languageList": { "alias": "languageList"; "required": false; }; }, { "languageChange": "languageChange"; "loginStatus": "loginStatus"; "buttonClickedEmitter": "buttonClickedEmitter"; }, never, never, false, never>;
|
|
4121
|
-
}
|
|
4122
|
-
|
|
4123
|
-
declare class QdMockHeaderWidgetMobileComponent {
|
|
4124
|
-
languageList: any;
|
|
4125
|
-
languageChange: EventEmitter<any>;
|
|
4126
|
-
loginStatus: EventEmitter<any>;
|
|
4127
|
-
buttonClickedEmitter: EventEmitter<any>;
|
|
4128
|
-
triggerLanguageChange(language: any): void;
|
|
4129
|
-
triggerLoginStatusChange(loginStatus: any): void;
|
|
4130
|
-
nativeElement: {
|
|
4131
|
-
setAttribute: any;
|
|
4132
|
-
};
|
|
4133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockHeaderWidgetMobileComponent, never>;
|
|
4134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMockHeaderWidgetMobileComponent, "header-widget-mobile", never, { "languageList": { "alias": "languageList"; "required": false; }; }, { "languageChange": "languageChange"; "loginStatus": "loginStatus"; "buttonClickedEmitter": "buttonClickedEmitter"; }, never, never, false, never>;
|
|
4135
|
-
}
|
|
4136
|
-
|
|
4137
4155
|
declare class QdMockShellModule {
|
|
4138
4156
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockShellModule, never>;
|
|
4139
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdMockShellModule, [typeof QdMockShellComponent, typeof QdMockShellFooterComponent, typeof QdMockShellHeaderComponent, typeof QdMockShellHeaderBannerComponent, typeof QdMockShellHeaderSearchComponent, typeof
|
|
4157
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdMockShellModule, [typeof QdMockShellComponent, typeof QdMockShellFooterComponent, typeof QdMockShellHeaderComponent, typeof QdMockShellHeaderBannerComponent, typeof QdMockShellHeaderSearchComponent, typeof QdMockCounterBadgeComponent, typeof QdMockShellToolbarComponent, typeof QdMockShellToolbarItemComponent], [typeof i2.CommonModule], [typeof QdMockShellComponent, typeof QdMockShellFooterComponent, typeof QdMockShellHeaderComponent, typeof QdMockShellHeaderBannerComponent, typeof QdMockShellHeaderSearchComponent, typeof QdMockCounterBadgeComponent, typeof QdMockShellToolbarComponent, typeof QdMockShellToolbarItemComponent]>;
|
|
4140
4158
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdMockShellModule>;
|
|
4141
4159
|
}
|
|
4142
4160
|
|
|
@@ -4285,18 +4303,6 @@ interface QdTableConfig<T extends string> {
|
|
|
4285
4303
|
* @description Defines the columns of the table.
|
|
4286
4304
|
*/
|
|
4287
4305
|
columns: QdTableConfigColumn<T>[];
|
|
4288
|
-
/**
|
|
4289
|
-
* @description Configures the behavior of the groups in the tree view.
|
|
4290
|
-
* @deprecated use qd-tree instead
|
|
4291
|
-
*/
|
|
4292
|
-
group?: QdTableConfigGroup;
|
|
4293
|
-
/**
|
|
4294
|
-
* @description Activates a pagination
|
|
4295
|
-
*
|
|
4296
|
-
* * @default: false
|
|
4297
|
-
* * @deprecated
|
|
4298
|
-
*/
|
|
4299
|
-
hasPagination?: boolean;
|
|
4300
4306
|
/**
|
|
4301
4307
|
* @description Activates a pagination with configurable available page sizes
|
|
4302
4308
|
*/
|
|
@@ -4370,14 +4376,6 @@ interface QdTableConfig<T extends string> {
|
|
|
4370
4376
|
* * @default: columns[0].column
|
|
4371
4377
|
*/
|
|
4372
4378
|
mainColumn?: T;
|
|
4373
|
-
/**
|
|
4374
|
-
* @description By default the main column fills the remaining width so that the table has a width of 100%.
|
|
4375
|
-
* By setting this property the main column will have content width.
|
|
4376
|
-
*
|
|
4377
|
-
* * @default: false
|
|
4378
|
-
* * @deprecated
|
|
4379
|
-
*/
|
|
4380
|
-
mainColumnNotFillingWidth?: boolean;
|
|
4381
4379
|
/**
|
|
4382
4380
|
* @description Usually the table fills 100% of the width.
|
|
4383
4381
|
*
|
|
@@ -4823,10 +4821,9 @@ declare class QdButtonGridComponent {
|
|
|
4823
4821
|
/**
|
|
4824
4822
|
* With the **QdButtonStackButton** you can display and set up various states in the process.
|
|
4825
4823
|
*
|
|
4826
|
-
*
|
|
4824
|
+
* @see parent component **QdButtonStack**.
|
|
4827
4825
|
*/
|
|
4828
|
-
declare class QdButtonStackButtonComponent
|
|
4829
|
-
private readonly _elementRef;
|
|
4826
|
+
declare class QdButtonStackButtonComponent {
|
|
4830
4827
|
/**
|
|
4831
4828
|
* Disabled the button
|
|
4832
4829
|
*/
|
|
@@ -4836,9 +4833,8 @@ declare class QdButtonStackButtonComponent implements OnInit {
|
|
|
4836
4833
|
*/
|
|
4837
4834
|
completed: boolean;
|
|
4838
4835
|
get hasCompleted(): boolean;
|
|
4839
|
-
ngOnInit(): void;
|
|
4840
4836
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdButtonStackButtonComponent, never>;
|
|
4841
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdButtonStackButtonComponent, "button[
|
|
4837
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdButtonStackButtonComponent, "button[qdButtonStack]", never, { "disabled": { "alias": "disabled"; "required": false; }; "completed": { "alias": "completed"; "required": false; }; }, {}, never, ["*", "qd-icon"], false, never>;
|
|
4842
4838
|
}
|
|
4843
4839
|
|
|
4844
4840
|
/**
|
|
@@ -4854,113 +4850,34 @@ declare class QdButtonStackComponent {
|
|
|
4854
4850
|
/**
|
|
4855
4851
|
* The **QdButtonLink** can be used in combination with the **QdButton** component.
|
|
4856
4852
|
*
|
|
4857
|
-
*
|
|
4853
|
+
* @see **QdButton** component.
|
|
4858
4854
|
*/
|
|
4859
|
-
declare class QdButtonLinkDirective
|
|
4860
|
-
private readonly _elementRef;
|
|
4861
|
-
ngOnInit(): void;
|
|
4855
|
+
declare class QdButtonLinkDirective {
|
|
4862
4856
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdButtonLinkDirective, never>;
|
|
4863
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QdButtonLinkDirective, "button[qdButtonLink], a[qdButtonLink]
|
|
4857
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<QdButtonLinkDirective, "button[qdButtonLink], a[qdButtonLink]", never, {}, {}, never, never, false, never>;
|
|
4864
4858
|
}
|
|
4865
4859
|
/**
|
|
4866
4860
|
* The **QdButtonGhost** can be used in combination with the **QdButton** and **QdMenuButton**.
|
|
4867
4861
|
*
|
|
4868
|
-
*
|
|
4869
|
-
*
|
|
4862
|
+
* @see **QdButton** component.
|
|
4863
|
+
* @see **QdMenuButton** component.
|
|
4870
4864
|
*/
|
|
4871
4865
|
declare class QdButtonGhostDirective {
|
|
4872
4866
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdButtonGhostDirective, never>;
|
|
4873
4867
|
static ɵdir: i0.ɵɵDirectiveDeclaration<QdButtonGhostDirective, "button[qdButtonGhost], a[qdButtonGhost]", never, {}, {}, never, never, false, never>;
|
|
4874
4868
|
}
|
|
4875
4869
|
|
|
4876
|
-
/**
|
|
4877
|
-
* @description The configuration for QdMenuButton
|
|
4878
|
-
*/
|
|
4879
|
-
interface QdMenuButtonConfig {
|
|
4880
|
-
/**
|
|
4881
|
-
* @description The actions in the button's menu
|
|
4882
|
-
*/
|
|
4883
|
-
actions: QdMenuButtonActionConfig[];
|
|
4884
|
-
/**
|
|
4885
|
-
* @description Whether the QdMenuButton is disabled or not
|
|
4886
|
-
*
|
|
4887
|
-
* * @default false
|
|
4888
|
-
*/
|
|
4889
|
-
isDisabled?: boolean;
|
|
4890
|
-
}
|
|
4891
|
-
/**
|
|
4892
|
-
* @description Configuration for a QdButtonAction
|
|
4893
|
-
*/
|
|
4894
|
-
interface QdMenuButtonActionConfig {
|
|
4895
|
-
/**
|
|
4896
|
-
* @description The label is shown as text in the UI for this action.
|
|
4897
|
-
*/
|
|
4898
|
-
label: QdMenuButtonActionLabel;
|
|
4899
|
-
/**
|
|
4900
|
-
* @description The handler to execute when the action is clicked.
|
|
4901
|
-
*/
|
|
4902
|
-
handler: () => void;
|
|
4903
|
-
/**
|
|
4904
|
-
* @description Whether the QdButtonAction is disabled or not
|
|
4905
|
-
*
|
|
4906
|
-
* * @default false
|
|
4907
|
-
*/
|
|
4908
|
-
isDisabled?: boolean;
|
|
4909
|
-
/**
|
|
4910
|
-
* @description Whether the QdButtonAction is hidden or not
|
|
4911
|
-
*
|
|
4912
|
-
* * @default false
|
|
4913
|
-
*/
|
|
4914
|
-
isHidden?: boolean;
|
|
4915
|
-
}
|
|
4916
|
-
/**
|
|
4917
|
-
* Type for the label of a QdButtonAction.
|
|
4918
|
-
*/
|
|
4919
|
-
interface QdMenuButtonActionLabel {
|
|
4920
|
-
/**
|
|
4921
|
-
* This i18n key is translated directly inside the QdMenuButton component.
|
|
4922
|
-
*/
|
|
4923
|
-
i18n: string;
|
|
4924
|
-
}
|
|
4925
|
-
/**
|
|
4926
|
-
* Type for a small info icon box that can be attached to a button like a flap. When this flap is clicked the
|
|
4927
|
-
* info message will be displayed in a notification. Therefore you need to place the snackbar listener eventually.
|
|
4928
|
-
*/
|
|
4929
|
-
interface QdButtonAdditionalInfo {
|
|
4930
|
-
/**
|
|
4931
|
-
* The info type determines the color and icon of the button info flap.
|
|
4932
|
-
*/
|
|
4933
|
-
infoType: QdButtonAdditionalInfoType;
|
|
4934
|
-
/**
|
|
4935
|
-
* You can define a message that will be displayed in the notification that is opened when
|
|
4936
|
-
* the button info flap is clicked.
|
|
4937
|
-
*/
|
|
4938
|
-
message: QdButtonAdditionalInfoMessage;
|
|
4939
|
-
}
|
|
4940
|
-
/**
|
|
4941
|
-
* The info type determines the color and icon of the button info flap.
|
|
4942
|
-
*/
|
|
4943
|
-
type QdButtonAdditionalInfoType = 'warning' | 'info';
|
|
4944
|
-
/**
|
|
4945
|
-
* Message that is displayed when the button info flap is clicked.
|
|
4946
|
-
* You can insert the defined additional info count in the translation text with the {{count}} placeholder.
|
|
4947
|
-
*/
|
|
4948
|
-
interface QdButtonAdditionalInfoMessage {
|
|
4949
|
-
i18n: string;
|
|
4950
|
-
}
|
|
4951
|
-
|
|
4952
4870
|
/**
|
|
4953
4871
|
* The **QdButton** component, as the name suggests, provides a simple button.<br />
|
|
4954
4872
|
* It is possible to bind it to either a `button` tag or to an `a` tag.
|
|
4955
4873
|
*/
|
|
4956
|
-
declare class QdButtonComponent
|
|
4874
|
+
declare class QdButtonComponent {
|
|
4957
4875
|
buttonLink: QdButtonLinkDirective;
|
|
4958
4876
|
buttonGhost: QdButtonGhostDirective;
|
|
4959
|
-
private readonly _elementRef;
|
|
4960
4877
|
/**
|
|
4961
4878
|
* Disables the button
|
|
4962
4879
|
*/
|
|
4963
|
-
disabled
|
|
4880
|
+
disabled?: boolean;
|
|
4964
4881
|
/**
|
|
4965
4882
|
* Sets the color
|
|
4966
4883
|
*/
|
|
@@ -4968,29 +4885,27 @@ declare class QdButtonComponent implements OnInit {
|
|
|
4968
4885
|
/**
|
|
4969
4886
|
* This allows you to specify an icon.
|
|
4970
4887
|
*/
|
|
4971
|
-
icon
|
|
4888
|
+
icon?: string;
|
|
4972
4889
|
/**
|
|
4973
4890
|
* A static test ID for integration tests can be set. <br />
|
|
4974
4891
|
* The value for the HTML attribute [data-test-id].
|
|
4975
4892
|
*/
|
|
4976
4893
|
testId: string;
|
|
4977
|
-
additionalInfo
|
|
4894
|
+
additionalInfo?: QdButtonAdditionalInfo;
|
|
4978
4895
|
private onlyIconOnSmallViewport;
|
|
4979
4896
|
get hasIcon(): boolean;
|
|
4980
4897
|
get isDisabled(): boolean | null;
|
|
4981
4898
|
get classes(): string;
|
|
4982
4899
|
constructor();
|
|
4983
|
-
ngOnInit(): void;
|
|
4984
4900
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdButtonComponent, never>;
|
|
4985
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdButtonComponent, "button[qdButton], a[qdButton]
|
|
4901
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdButtonComponent, "button[qdButton], a[qdButton]", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "additionalInfo": { "alias": "additionalInfo"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
4986
4902
|
}
|
|
4987
4903
|
|
|
4988
4904
|
/**
|
|
4989
4905
|
* The **QdIconButton** can only display icons, in contrast to the **QdButton**. <br />
|
|
4990
4906
|
* It is possible to bind it to either a `button` tag or to an `a` tag.
|
|
4991
4907
|
*/
|
|
4992
|
-
declare class QdIconButtonComponent
|
|
4993
|
-
private readonly _elementRef;
|
|
4908
|
+
declare class QdIconButtonComponent {
|
|
4994
4909
|
/**
|
|
4995
4910
|
* Sets the color
|
|
4996
4911
|
*/
|
|
@@ -5002,9 +4917,8 @@ declare class QdIconButtonComponent implements OnInit {
|
|
|
5002
4917
|
testId: string;
|
|
5003
4918
|
get colorClassName(): string;
|
|
5004
4919
|
get dataTestId(): string;
|
|
5005
|
-
ngOnInit(): void;
|
|
5006
4920
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdIconButtonComponent, never>;
|
|
5007
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdIconButtonComponent, "button[qdIconButton], a[qdIconButton]
|
|
4921
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdIconButtonComponent, "button[qdIconButton], a[qdIconButton]", never, { "color": { "alias": "color"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
5008
4922
|
}
|
|
5009
4923
|
|
|
5010
4924
|
/**
|
|
@@ -5189,6 +5103,7 @@ interface QdPopoverSizeConstraints {
|
|
|
5189
5103
|
* - The returned Observable emits `true` once initial sizing is applied and overlay is visible.
|
|
5190
5104
|
* - Even if autosize is turned off, the minimum and maximum width or height constraints are always enforced as hard limits.
|
|
5191
5105
|
* - This means the popover can never be smaller or larger than the values you set, no matter what content it contains.
|
|
5106
|
+
* - The width is also capped to the current screen width, so the popover never reaches past the screen edge — even if a larger maxWidth is set.
|
|
5192
5107
|
*
|
|
5193
5108
|
* #### For the hidden-content measuring
|
|
5194
5109
|
* @see https://stackoverflow.com/questions/1841124/find-the-potential-width-of-a-hidden-element
|
|
@@ -5208,6 +5123,7 @@ declare class QdPopoverSizingService {
|
|
|
5208
5123
|
observe(host: HTMLElement, popover: HTMLElement, overlayRef: OverlayRef, autoSize: QdPopoverAutoSizeConfig, constraints: QdPopoverSizeConstraints): Observable<boolean>;
|
|
5209
5124
|
private showOverlay;
|
|
5210
5125
|
private hideOverlay;
|
|
5126
|
+
private resolveWidthLimits;
|
|
5211
5127
|
private applySize;
|
|
5212
5128
|
private measureContentSize;
|
|
5213
5129
|
disconnect(): void;
|
|
@@ -5222,25 +5138,136 @@ declare class QdPopoverParentService {
|
|
|
5222
5138
|
static ɵprov: i0.ɵɵInjectableDeclaration<QdPopoverParentService>;
|
|
5223
5139
|
}
|
|
5224
5140
|
|
|
5225
|
-
|
|
5226
|
-
|
|
5141
|
+
type QdPopoverPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
5142
|
+
/**
|
|
5143
|
+
* **QdPopoverOnClickDirective**
|
|
5144
|
+
*
|
|
5145
|
+
* Shows a popover next to its host element and opens or closes it on host click.
|
|
5146
|
+
*
|
|
5147
|
+
* It is an internal building block. Quadrel components such as dropdowns, menu buttons and
|
|
5148
|
+
* filters build on it; consumers do not use it directly.
|
|
5149
|
+
*
|
|
5150
|
+
* #### Features:
|
|
5151
|
+
* - Opens the popover on click and closes it on the next click or an outside click.
|
|
5152
|
+
* - With `qdPopoverEnableKeyControl`, Enter and Space open it, Escape and Tab close it.
|
|
5153
|
+
* - Sizes the popover to its host or content within the min/max limits, and never wider than the screen.
|
|
5154
|
+
* - Places it with the Angular CDK; with `qdPopoverFlipIntoViewport` it opens to the side that has room instead of off the screen edge.
|
|
5155
|
+
* - Keeps only one popover open: opening one closes the others, but a nested popover keeps its parents open.
|
|
5156
|
+
*
|
|
5157
|
+
* #### Notes & Best Practices
|
|
5158
|
+
* - Emits `opened` and `closed` so consumers can react.
|
|
5159
|
+
* - The flip is opt-in, so popovers that already sit correctly stay as they are.
|
|
5160
|
+
* - Not part of the public API; use the higher-level components like `qd-dropdown` or `qd-menu-button` instead.
|
|
5161
|
+
*/
|
|
5162
|
+
declare class QdPopoverOnClickDirective implements OnInit, OnDestroy {
|
|
5163
|
+
protected hostRef: ElementRef<HTMLElement>;
|
|
5227
5164
|
protected overlayPositionBuilder: OverlayPositionBuilder;
|
|
5228
5165
|
protected overlay: Overlay;
|
|
5229
5166
|
protected popoverService: QdPopoverService;
|
|
5230
5167
|
protected sizingService: QdPopoverSizingService;
|
|
5231
5168
|
protected popoverParentService: QdPopoverParentService;
|
|
5169
|
+
private readonly _topFirst;
|
|
5170
|
+
/**
|
|
5171
|
+
* The template shown inside the popover.
|
|
5172
|
+
*
|
|
5173
|
+
* Pass the `ng-template` that holds the menu, option list or panel.
|
|
5174
|
+
*/
|
|
5232
5175
|
qdPopoverOnClick: TemplateRef<unknown>;
|
|
5233
|
-
|
|
5176
|
+
/**
|
|
5177
|
+
* Which corner of the host the popover opens from.
|
|
5178
|
+
*
|
|
5179
|
+
* One of `bottom-start`, `bottom-end`, `top-start` or `top-end`. When unset,
|
|
5180
|
+
* the popover uses the default end-aligned position below the host.
|
|
5181
|
+
*/
|
|
5182
|
+
qdPopoverPlacement?: QdPopoverPlacement;
|
|
5183
|
+
/**
|
|
5184
|
+
* Fine-tunes the horizontal position, in pixels.
|
|
5185
|
+
*
|
|
5186
|
+
* A negative value moves the popover left, a positive value moves it right.
|
|
5187
|
+
*/
|
|
5188
|
+
qdPopoverOffsetX: number;
|
|
5189
|
+
/**
|
|
5190
|
+
* Fine-tunes the vertical gap to the host, in pixels.
|
|
5191
|
+
*
|
|
5192
|
+
* A negative value moves the popover up, a positive value moves it down. The
|
|
5193
|
+
* value is mirrored when the popover flips, so the gap looks the same whether
|
|
5194
|
+
* it opens downward or upward.
|
|
5195
|
+
*/
|
|
5196
|
+
qdPopoverOffsetY: number;
|
|
5197
|
+
/**
|
|
5198
|
+
* Decides when a click closes the popover.
|
|
5199
|
+
*
|
|
5200
|
+
* `onEveryClick` (default) closes it on the next click anywhere, including
|
|
5201
|
+
* inside the popover. `onOutsideClick` keeps it open while you click inside
|
|
5202
|
+
* and only closes on a click outside.
|
|
5203
|
+
*/
|
|
5234
5204
|
qdPopoverCloseStrategy: 'onEveryClick' | 'onOutsideClick';
|
|
5205
|
+
/**
|
|
5206
|
+
* Turns the popover off.
|
|
5207
|
+
*
|
|
5208
|
+
* While `true`, clicks and keys on the host no longer open it.
|
|
5209
|
+
*/
|
|
5235
5210
|
qdPopoverDisabled: boolean;
|
|
5211
|
+
/**
|
|
5212
|
+
* Stops the opening click from bubbling to parent elements.
|
|
5213
|
+
*
|
|
5214
|
+
* Keep it `true` so an outer click handler does not fire as well. Set it
|
|
5215
|
+
* `false` when a parent must react to the same click.
|
|
5216
|
+
*/
|
|
5236
5217
|
qdPopoverStopPropagation: boolean;
|
|
5218
|
+
/**
|
|
5219
|
+
* Background colour of the popover panel.
|
|
5220
|
+
*
|
|
5221
|
+
* When unset, the panel uses its default colour.
|
|
5222
|
+
*/
|
|
5237
5223
|
qdPopoverBackgroundColor?: QdPopoverBackgroundColor;
|
|
5224
|
+
/**
|
|
5225
|
+
* Tallest the popover may get, in pixels.
|
|
5226
|
+
*
|
|
5227
|
+
* Once the content is taller, it scrolls inside the popover. `none` removes
|
|
5228
|
+
* the limit.
|
|
5229
|
+
*/
|
|
5238
5230
|
qdPopoverMaxHeight: number | 'none';
|
|
5231
|
+
/**
|
|
5232
|
+
* Narrowest the popover may get, in pixels.
|
|
5233
|
+
*
|
|
5234
|
+
* `none` removes the lower limit.
|
|
5235
|
+
*/
|
|
5239
5236
|
qdPopoverMinWidth: number | 'none';
|
|
5237
|
+
/**
|
|
5238
|
+
* Widest the popover may get, in pixels.
|
|
5239
|
+
*
|
|
5240
|
+
* `none` removes the upper limit. The popover is never wider than the screen,
|
|
5241
|
+
* even if a larger value is set.
|
|
5242
|
+
*/
|
|
5240
5243
|
qdPopoverMaxWidth: number | 'none';
|
|
5244
|
+
/**
|
|
5245
|
+
* Matches the popover size to the host or its content.
|
|
5246
|
+
*
|
|
5247
|
+
* Set `width` and/or `height` to `true`. An empty object keeps the natural
|
|
5248
|
+
* content size. The min and max limits still apply.
|
|
5249
|
+
*/
|
|
5241
5250
|
qdPopoverAutoSize: QdPopoverAutoSizeConfig;
|
|
5251
|
+
/**
|
|
5252
|
+
* Turns on keyboard control.
|
|
5253
|
+
*
|
|
5254
|
+
* While `true`, Enter and Space open the popover and Escape and Tab close it.
|
|
5255
|
+
*/
|
|
5242
5256
|
qdPopoverEnableKeyControl: boolean;
|
|
5257
|
+
/**
|
|
5258
|
+
* Lets the popover flip to the side that has room.
|
|
5259
|
+
*
|
|
5260
|
+
* While `true`, a popover that would open past the screen edge opens to the
|
|
5261
|
+
* opposite side instead. It is opt-in, so popovers that already fit stay put.
|
|
5262
|
+
*/
|
|
5263
|
+
qdPopoverFlipIntoViewport: boolean;
|
|
5264
|
+
/**
|
|
5265
|
+
* Emits after the popover has opened.
|
|
5266
|
+
*/
|
|
5243
5267
|
readonly opened: EventEmitter<any>;
|
|
5268
|
+
/**
|
|
5269
|
+
* Emits after the popover has closed.
|
|
5270
|
+
*/
|
|
5244
5271
|
readonly closed: EventEmitter<any>;
|
|
5245
5272
|
handleClick(event: MouseEvent): void;
|
|
5246
5273
|
handleDocumentClick(event: PointerEvent): void;
|
|
@@ -5250,14 +5277,28 @@ declare class QdPopoverOnClickDirective implements OnInit, OnDestroy {
|
|
|
5250
5277
|
private _host;
|
|
5251
5278
|
private _popoverRef;
|
|
5252
5279
|
private _positionStrategyInstance;
|
|
5280
|
+
private _resolvedPositions;
|
|
5253
5281
|
private _subscriptions;
|
|
5254
5282
|
constructor();
|
|
5255
5283
|
ngOnInit(): void;
|
|
5256
5284
|
ngOnDestroy(): void;
|
|
5257
5285
|
open(): void;
|
|
5286
|
+
/**
|
|
5287
|
+
* Re-aligns an open overlay with its origin element.
|
|
5288
|
+
*
|
|
5289
|
+
* The connected position is only recomputed on scroll/resize, not when a
|
|
5290
|
+
* layout reflow moves the origin (e.g. a chip or action buttons appearing in
|
|
5291
|
+
* the host). Call this after such a reflow to keep the overlay attached to the
|
|
5292
|
+
* host. Deferred by one frame so the new layout is measured, and a no-op while
|
|
5293
|
+
* the overlay is detached, so it stays cheap to call on discrete events.
|
|
5294
|
+
*/
|
|
5295
|
+
updatePosition(): void;
|
|
5258
5296
|
close(): void;
|
|
5259
5297
|
private popoverInstance;
|
|
5260
5298
|
private initPositionStrategy;
|
|
5299
|
+
private buildPlacementPositions;
|
|
5300
|
+
private applyOffsets;
|
|
5301
|
+
private withHorizontalFallbacks;
|
|
5261
5302
|
private createOverlay;
|
|
5262
5303
|
private runSizingAndOpen;
|
|
5263
5304
|
private setPopoverContent;
|
|
@@ -5267,39 +5308,12 @@ declare class QdPopoverOnClickDirective implements OnInit, OnDestroy {
|
|
|
5267
5308
|
private unsubscribeAll;
|
|
5268
5309
|
private cleanup;
|
|
5269
5310
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPopoverOnClickDirective, never>;
|
|
5270
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPopoverOnClickDirective, "[qdPopoverOnClick]", ["qdPopoverOnClick"], { "qdPopoverOnClick": { "alias": "qdPopoverOnClick"; "required": false; }; "
|
|
5271
|
-
}
|
|
5272
|
-
|
|
5273
|
-
/**
|
|
5274
|
-
* @deprecated Will be removed in v21. This directive is no longer used inside
|
|
5275
|
-
* the framework. Use `QdPopoverOnClickDirective` (`[qdPopoverOnClick]`) instead.
|
|
5276
|
-
*/
|
|
5277
|
-
declare class QdPopoverOnHoverDirective implements OnInit, OnDestroy {
|
|
5278
|
-
private hostRef;
|
|
5279
|
-
private overlayPositionBuilder;
|
|
5280
|
-
private overlay;
|
|
5281
|
-
private popoverService;
|
|
5282
|
-
private host;
|
|
5283
|
-
private overlayRef;
|
|
5284
|
-
private closeSubscription;
|
|
5285
|
-
qdPopoverOnHover: TemplateRef<unknown>;
|
|
5286
|
-
qdPopoverWidth: string | 'auto';
|
|
5287
|
-
positionStrategy: ConnectedPosition;
|
|
5288
|
-
readonly opened: EventEmitter<any>;
|
|
5289
|
-
readonly closed: EventEmitter<any>;
|
|
5290
|
-
constructor();
|
|
5291
|
-
ngOnInit(): void;
|
|
5292
|
-
ngOnDestroy(): void;
|
|
5293
|
-
show(event: any): void;
|
|
5294
|
-
hoveredOutside(): void;
|
|
5295
|
-
close(): void;
|
|
5296
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdPopoverOnHoverDirective, never>;
|
|
5297
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPopoverOnHoverDirective, "[qdPopoverOnHover]", never, { "qdPopoverOnHover": { "alias": "qdPopoverOnHover"; "required": false; }; "qdPopoverWidth": { "alias": "qdPopoverWidth"; "required": false; }; "positionStrategy": { "alias": "positionStrategy"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, false, never>;
|
|
5311
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPopoverOnClickDirective, "[qdPopoverOnClick]", ["qdPopoverOnClick"], { "qdPopoverOnClick": { "alias": "qdPopoverOnClick"; "required": false; }; "qdPopoverPlacement": { "alias": "qdPopoverPlacement"; "required": false; }; "qdPopoverOffsetX": { "alias": "qdPopoverOffsetX"; "required": false; }; "qdPopoverOffsetY": { "alias": "qdPopoverOffsetY"; "required": false; }; "qdPopoverCloseStrategy": { "alias": "qdPopoverCloseStrategy"; "required": false; }; "qdPopoverDisabled": { "alias": "qdPopoverDisabled"; "required": false; }; "qdPopoverStopPropagation": { "alias": "qdPopoverStopPropagation"; "required": false; }; "qdPopoverBackgroundColor": { "alias": "qdPopoverBackgroundColor"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "qdPopoverMinWidth": { "alias": "qdPopoverMinWidth"; "required": false; }; "qdPopoverMaxWidth": { "alias": "qdPopoverMaxWidth"; "required": false; }; "qdPopoverAutoSize": { "alias": "qdPopoverAutoSize"; "required": false; }; "qdPopoverEnableKeyControl": { "alias": "qdPopoverEnableKeyControl"; "required": false; }; "qdPopoverFlipIntoViewport": { "alias": "qdPopoverFlipIntoViewport"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, false, never>;
|
|
5298
5312
|
}
|
|
5299
5313
|
|
|
5300
5314
|
declare class QdPopoverModule {
|
|
5301
5315
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPopoverModule, never>;
|
|
5302
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPopoverModule, [typeof QdPopoverComponent, typeof QdPopoverOnClickDirective
|
|
5316
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPopoverModule, [typeof QdPopoverComponent, typeof QdPopoverOnClickDirective], [typeof i2.CommonModule], [typeof QdPopoverOnClickDirective]>;
|
|
5303
5317
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPopoverModule>;
|
|
5304
5318
|
}
|
|
5305
5319
|
|
|
@@ -5312,7 +5326,7 @@ declare class QdPopoverModule {
|
|
|
5312
5326
|
*
|
|
5313
5327
|
* ## Notification from Backend
|
|
5314
5328
|
*
|
|
5315
|
-
* The **
|
|
5329
|
+
* The **QdFrameworkModule** provides an HTTP interceptor that displays request errors as snackbar notifications. To get the proper notification messages for the corresponding backend errors, please comply with these conventions.
|
|
5316
5330
|
*
|
|
5317
5331
|
* ### Example of a response object
|
|
5318
5332
|
*
|
|
@@ -5325,11 +5339,11 @@ declare class QdPopoverModule {
|
|
|
5325
5339
|
* }
|
|
5326
5340
|
* ```
|
|
5327
5341
|
*
|
|
5328
|
-
* ### Define Error Codes in the
|
|
5342
|
+
* ### Define Error Codes in the QdFrameworkModule
|
|
5329
5343
|
*
|
|
5330
|
-
* The **
|
|
5344
|
+
* The **QdFrameworkModule** expects an enum with error codes as the second parameter. For these given error codes you can define specific notification messages.
|
|
5331
5345
|
*
|
|
5332
|
-
* This is an example configuration of the **
|
|
5346
|
+
* This is an example configuration of the **QdFrameworkModule** in the **app.module.ts**.
|
|
5333
5347
|
*
|
|
5334
5348
|
* ```typescript
|
|
5335
5349
|
* enum ErrorCodes {
|
|
@@ -5341,7 +5355,7 @@ declare class QdPopoverModule {
|
|
|
5341
5355
|
* ```typescript
|
|
5342
5356
|
* imports: [
|
|
5343
5357
|
* ...
|
|
5344
|
-
*
|
|
5358
|
+
* QdFrameworkModule.forRoot(appEnvironment, ErrorCodes),
|
|
5345
5359
|
* ...
|
|
5346
5360
|
* ]
|
|
5347
5361
|
* ```
|
|
@@ -5363,7 +5377,7 @@ declare class QdPopoverModule {
|
|
|
5363
5377
|
*
|
|
5364
5378
|
* ### Default error messages
|
|
5365
5379
|
*
|
|
5366
|
-
* A default error message is shown if no error code is given in the backend response or the error code is not defined in the `ErrorCodes` enum that you pass to the **
|
|
5380
|
+
* A default error message is shown if no error code is given in the backend response or the error code is not defined in the `ErrorCodes` enum that you pass to the **QdFrameworkModule**.
|
|
5367
5381
|
*
|
|
5368
5382
|
* To override the default error messages you have to add the corresponding HTTP error code in the `ErrorCodes` enum. Then you can define a custom default error message in the translation files.
|
|
5369
5383
|
*
|
|
@@ -5396,16 +5410,16 @@ declare class QdPopoverModule {
|
|
|
5396
5410
|
*
|
|
5397
5411
|
* ### Whitelisting HTTP status codes
|
|
5398
5412
|
*
|
|
5399
|
-
* In some cases, you might want to prevent certain HTTP status codes from triggering error notifications. For example, a 304 Not Modified response is not actually an error and should not display an error notification. The **
|
|
5413
|
+
* In some cases, you might want to prevent certain HTTP status codes from triggering error notifications. For example, a 304 Not Modified response is not actually an error and should not display an error notification. The **QdFrameworkModule** allows you to whitelist specific HTTP status codes.
|
|
5400
5414
|
*
|
|
5401
|
-
* To whitelist HTTP status codes, pass an array of status codes as the third parameter to the **
|
|
5415
|
+
* To whitelist HTTP status codes, pass an array of status codes as the third parameter to the **QdFrameworkModule.forRoot** method:
|
|
5402
5416
|
*
|
|
5403
5417
|
* ```typescript
|
|
5404
5418
|
* import { HttpStatusCode } from '@angular/common/http';
|
|
5405
5419
|
*
|
|
5406
5420
|
* imports: [
|
|
5407
5421
|
* ...
|
|
5408
|
-
*
|
|
5422
|
+
* QdFrameworkModule.forRoot(
|
|
5409
5423
|
* appEnvironment,
|
|
5410
5424
|
* ErrorCodes,
|
|
5411
5425
|
* [HttpStatusCode.NotModified, HttpStatusCode.NoContent] // Whitelist 304 Not Modified and 204 No Content
|
|
@@ -5418,7 +5432,7 @@ declare class QdPopoverModule {
|
|
|
5418
5432
|
*
|
|
5419
5433
|
* ### Blacklisting HTTP status codes
|
|
5420
5434
|
*
|
|
5421
|
-
* For critical errors, notifications are always shown, even if the status code is whitelisted. The **
|
|
5435
|
+
* For critical errors, notifications are always shown, even if the status code is whitelisted. The **QdFrameworkModule** implements a fixed blacklist that takes precedence over the whitelist.
|
|
5422
5436
|
*
|
|
5423
5437
|
* The following status codes are permanently blacklisted:
|
|
5424
5438
|
* - 401 Unauthorized
|
|
@@ -5480,7 +5494,7 @@ declare class QdPopoverModule {
|
|
|
5480
5494
|
* osNotificationOptions?: QdOsNotificationOptions;
|
|
5481
5495
|
* }
|
|
5482
5496
|
*
|
|
5483
|
-
* type QdNotificationType = 'info' | 'warning' | 'critical' | 'success';
|
|
5497
|
+
* type QdNotificationType = 'info' | 'warning' | 'critical' | 'success' | 'urgent';
|
|
5484
5498
|
*
|
|
5485
5499
|
* type QdNotificationTranslation = string;
|
|
5486
5500
|
* type QdNotificationTitle = { i18n: string };
|
|
@@ -5532,7 +5546,7 @@ declare class QdPopoverModule {
|
|
|
5532
5546
|
* ### Type QdNotificationType
|
|
5533
5547
|
*
|
|
5534
5548
|
* ```typescript
|
|
5535
|
-
* type QdNotificationType = 'info' | 'warning' | 'critical' | 'success';
|
|
5549
|
+
* type QdNotificationType = 'info' | 'warning' | 'critical' | 'success' | 'urgent';
|
|
5536
5550
|
* ```
|
|
5537
5551
|
*
|
|
5538
5552
|
* ### Template
|
|
@@ -6002,6 +6016,7 @@ declare class QdCheckboxChipsComponent implements ControlValueAccessor, OnInit,
|
|
|
6002
6016
|
}
|
|
6003
6017
|
|
|
6004
6018
|
declare class QdCheckboxComponent implements ControlValueAccessor {
|
|
6019
|
+
private readonly keyboardDetection;
|
|
6005
6020
|
inputData: QdFormCheckboxOption;
|
|
6006
6021
|
value: string;
|
|
6007
6022
|
testId: string;
|
|
@@ -6014,6 +6029,14 @@ declare class QdCheckboxComponent implements ControlValueAccessor {
|
|
|
6014
6029
|
* * @default: false
|
|
6015
6030
|
*/
|
|
6016
6031
|
hasAutofocus: boolean;
|
|
6032
|
+
/**
|
|
6033
|
+
* Set to "true", this checkbox's native input is hidden from assistive technology and removed
|
|
6034
|
+
* from the tab order — an aria-hidden element must not contain anything focusable. The checkbox
|
|
6035
|
+
* stays clickable and keeps its visual state. Use this when the checkbox is embedded as an option
|
|
6036
|
+
* of a composite widget that owns the keyboard interaction and exposes its own semantics, for
|
|
6037
|
+
* example inside a listbox, where the listbox is the single tab stop. Defaults to false.
|
|
6038
|
+
*/
|
|
6039
|
+
isAriaHidden: boolean;
|
|
6017
6040
|
valueChange: EventEmitter<string>;
|
|
6018
6041
|
get checked(): boolean;
|
|
6019
6042
|
get isDisabled(): boolean;
|
|
@@ -6027,7 +6050,7 @@ declare class QdCheckboxComponent implements ControlValueAccessor {
|
|
|
6027
6050
|
writeValue(value: any): void;
|
|
6028
6051
|
handleClick(value: string, event: MouseEvent): void;
|
|
6029
6052
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdCheckboxComponent, never>;
|
|
6030
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdCheckboxComponent, "qd-checkbox", never, { "inputData": { "alias": "inputData"; "required": false; }; "value": { "alias": "value"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hasAutofocus": { "alias": "hasAutofocus"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
6053
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdCheckboxComponent, "qd-checkbox", never, { "inputData": { "alias": "inputData"; "required": false; }; "value": { "alias": "value"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hasAutofocus": { "alias": "hasAutofocus"; "required": false; }; "isAriaHidden": { "alias": "isAriaHidden"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
6031
6054
|
}
|
|
6032
6055
|
|
|
6033
6056
|
/**
|
|
@@ -6190,6 +6213,7 @@ declare class QdDatepickerComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
6190
6213
|
private readonly controlContainer;
|
|
6191
6214
|
private readonly changeDetectorRef;
|
|
6192
6215
|
private readonly eventBrokerService;
|
|
6216
|
+
private readonly keyboardDetection;
|
|
6193
6217
|
/**
|
|
6194
6218
|
* Configuration object
|
|
6195
6219
|
*
|
|
@@ -6257,6 +6281,7 @@ declare class QdDatepickerComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
6257
6281
|
*/
|
|
6258
6282
|
readonly clickViewonly: EventEmitter<null>;
|
|
6259
6283
|
private popover;
|
|
6284
|
+
private readonly hostRef;
|
|
6260
6285
|
readonly: boolean;
|
|
6261
6286
|
viewonly: boolean;
|
|
6262
6287
|
hintAction: boolean;
|
|
@@ -6267,6 +6292,7 @@ declare class QdDatepickerComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
6267
6292
|
displayedDateTime: string;
|
|
6268
6293
|
label: string;
|
|
6269
6294
|
hint: string;
|
|
6295
|
+
hasAutofocus: boolean;
|
|
6270
6296
|
readonlyAction: boolean;
|
|
6271
6297
|
viewonlyAction: boolean;
|
|
6272
6298
|
language: string;
|
|
@@ -6287,6 +6313,10 @@ declare class QdDatepickerComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
6287
6313
|
registerOnTouched(fn: () => void): void;
|
|
6288
6314
|
writeValue(date: Date): void;
|
|
6289
6315
|
setDisabledState(disabled: boolean): void;
|
|
6316
|
+
open(): void;
|
|
6317
|
+
onCalendarCloseRequested(): void;
|
|
6318
|
+
private closeCalendar;
|
|
6319
|
+
private focusToggle;
|
|
6290
6320
|
handleUpdatedDate($rawValue: QdInputRawEventValue): void;
|
|
6291
6321
|
handleUpdatedTime($event: string): void;
|
|
6292
6322
|
handleUpdatedDateTime($rawValue: QdInputRawEventValue): void;
|
|
@@ -6445,6 +6475,7 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
|
|
|
6445
6475
|
private readonly actionEmitterService;
|
|
6446
6476
|
private readonly resolverRegistry;
|
|
6447
6477
|
private readonly optionsService;
|
|
6478
|
+
private readonly keyboardService;
|
|
6448
6479
|
private readonly injector;
|
|
6449
6480
|
private readonly controlContainer;
|
|
6450
6481
|
private readonly eventBrokerService;
|
|
@@ -6515,9 +6546,18 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
|
|
|
6515
6546
|
*/
|
|
6516
6547
|
readonly valueChange: EventEmitter<string>;
|
|
6517
6548
|
/**
|
|
6518
|
-
* Emits
|
|
6549
|
+
* Emits when the dropdown is opened.
|
|
6550
|
+
*
|
|
6551
|
+
* @deprecated The name no longer reflects the behavior (it fires on every open, not just on a
|
|
6552
|
+
* click). Use {@link dropdownOpened} instead. Will be removed in v22.
|
|
6519
6553
|
*/
|
|
6520
6554
|
readonly enterClick: EventEmitter<any>;
|
|
6555
|
+
/**
|
|
6556
|
+
* Emits whenever the dropdown opens or closes, regardless of input modality
|
|
6557
|
+
* (mouse click or keyboard Enter/Space). The boolean payload is the open state:
|
|
6558
|
+
* `true` when opened, `false` when closed.
|
|
6559
|
+
*/
|
|
6560
|
+
readonly dropdownOpened: EventEmitter<boolean>;
|
|
6521
6561
|
/**
|
|
6522
6562
|
* Emits event when the hint is clicked/tapped. `hintAction` must be set to `true` for this.
|
|
6523
6563
|
*/
|
|
@@ -6555,15 +6595,15 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
|
|
|
6555
6595
|
label: string;
|
|
6556
6596
|
filter: boolean;
|
|
6557
6597
|
options: QdFormOption[];
|
|
6558
|
-
filterText:
|
|
6598
|
+
filterText: string;
|
|
6599
|
+
readonly filteredOptions$: Observable<QdFormResolvedOptions>;
|
|
6559
6600
|
control: AbstractControl;
|
|
6560
|
-
positionStrategy: ConnectedPosition[];
|
|
6561
6601
|
private _value;
|
|
6562
6602
|
private _selectedOption;
|
|
6563
6603
|
private _subs;
|
|
6564
6604
|
private _onChange;
|
|
6565
6605
|
private _onTouch;
|
|
6566
|
-
private
|
|
6606
|
+
private filterInput;
|
|
6567
6607
|
private dropdownDirective;
|
|
6568
6608
|
box: ElementRef;
|
|
6569
6609
|
isOpen: boolean;
|
|
@@ -6588,10 +6628,10 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
|
|
|
6588
6628
|
hasOptions(): boolean;
|
|
6589
6629
|
handleOptionSelected(option: QdFormOption): void;
|
|
6590
6630
|
handleClick(option: QdFormOption): void;
|
|
6591
|
-
handleFilterChange($event:
|
|
6631
|
+
handleFilterChange($event: string): void;
|
|
6632
|
+
onListKeydown(event: KeyboardEvent): void;
|
|
6592
6633
|
onOpenDropdown(): void;
|
|
6593
6634
|
onDropdownClosed(): void;
|
|
6594
|
-
private getPositionStrategy;
|
|
6595
6635
|
private loadOptionsForCurrentConfig;
|
|
6596
6636
|
private resolveControl;
|
|
6597
6637
|
private updateConfiguration;
|
|
@@ -6600,7 +6640,7 @@ declare class QdDropdownComponent implements ControlValueAccessor, OnInit, OnCha
|
|
|
6600
6640
|
private updateSelectedOption;
|
|
6601
6641
|
private initOpModeSubscription;
|
|
6602
6642
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDropdownComponent, never>;
|
|
6603
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdDropdownComponent, "qd-dropdown", never, { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "valueChange": "valueChange"; "enterClick": "enterClick"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; "optionsResolved": "optionsResolved"; }, never, never, false, never>;
|
|
6643
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdDropdownComponent, "qd-dropdown", never, { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "qdPopoverMaxHeight": { "alias": "qdPopoverMaxHeight"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "valueChange": "valueChange"; "enterClick": "enterClick"; "dropdownOpened": "dropdownOpened"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; "optionsResolved": "optionsResolved"; }, never, never, false, never>;
|
|
6604
6644
|
}
|
|
6605
6645
|
|
|
6606
6646
|
/**
|
|
@@ -6891,8 +6931,6 @@ declare class QdFileUploadService {
|
|
|
6891
6931
|
* <qd-input [config]="config"></qd-input>
|
|
6892
6932
|
* ```
|
|
6893
6933
|
*
|
|
6894
|
-
* <Story id="components-grid-system-container--columns-6" />
|
|
6895
|
-
*
|
|
6896
6934
|
* ### **Dynamic options by resolver**
|
|
6897
6935
|
*
|
|
6898
6936
|
* If you want to define the options dynamically, you can inject a `QdFormOptionsResolver`
|
|
@@ -6904,7 +6942,7 @@ declare class QdFileUploadService {
|
|
|
6904
6942
|
* export class YourFormOptionsResolver implements QdFormOptionsResolver {
|
|
6905
6943
|
* constructor(private readonly httpClient: HttpClient) {}
|
|
6906
6944
|
*
|
|
6907
|
-
* resolve(value: string): Observable<
|
|
6945
|
+
* resolve(value: string): Observable<QdFormBaseOption[]> {
|
|
6908
6946
|
* return this.httpClient
|
|
6909
6947
|
* .get(yourBackendUrl)
|
|
6910
6948
|
* .pipe(
|
|
@@ -7014,7 +7052,7 @@ declare class QdFileUploadService {
|
|
|
7014
7052
|
*
|
|
7015
7053
|
* // ...
|
|
7016
7054
|
*
|
|
7017
|
-
* resolve(value: string): Observable<
|
|
7055
|
+
* resolve(value: string): Observable<QdFormBaseOption[]> {
|
|
7018
7056
|
* // ...
|
|
7019
7057
|
* }
|
|
7020
7058
|
* }
|
|
@@ -7035,7 +7073,7 @@ declare class QdFileUploadService {
|
|
|
7035
7073
|
*
|
|
7036
7074
|
* // ...
|
|
7037
7075
|
*
|
|
7038
|
-
* resolve(value: string): Observable<
|
|
7076
|
+
* resolve(value: string): Observable<QdFormBaseOption[]> {
|
|
7039
7077
|
* return this.httpClient
|
|
7040
7078
|
* .get(yourBackendUrl)
|
|
7041
7079
|
* .pipe(
|
|
@@ -7051,10 +7089,13 @@ declare class QdFileUploadService {
|
|
|
7051
7089
|
*/
|
|
7052
7090
|
declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, QdFocusable {
|
|
7053
7091
|
private readonly actionEmitterService;
|
|
7092
|
+
private readonly optionsService;
|
|
7054
7093
|
private readonly resolverRegistry;
|
|
7094
|
+
private readonly keyboardService;
|
|
7055
7095
|
private readonly controlContainer;
|
|
7056
7096
|
private readonly eventBrokerService;
|
|
7057
7097
|
private readonly numberInputService;
|
|
7098
|
+
private readonly translateService;
|
|
7058
7099
|
/**
|
|
7059
7100
|
* The form control name can be assigned here if you want to use Reactive Forms.
|
|
7060
7101
|
*/
|
|
@@ -7130,6 +7171,9 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
7130
7171
|
* }
|
|
7131
7172
|
*/
|
|
7132
7173
|
readonly optionsResolved: EventEmitter<QdFormOptionsResolvedEvent>;
|
|
7174
|
+
closeOptions(): void;
|
|
7175
|
+
openOptionsOnArrow(event: Event): void;
|
|
7176
|
+
selectActiveOption(): void;
|
|
7133
7177
|
readonly: boolean;
|
|
7134
7178
|
readonlyAction: boolean;
|
|
7135
7179
|
viewonly: boolean;
|
|
@@ -7142,6 +7186,11 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
7142
7186
|
get isErrorFromOutside(): boolean;
|
|
7143
7187
|
get isAmbiguousState(): boolean;
|
|
7144
7188
|
inputElement: ElementRef;
|
|
7189
|
+
private popover?;
|
|
7190
|
+
isOptionsOpen: boolean;
|
|
7191
|
+
readonly filteredOptions$: rxjs.Observable<_quadrel_enterprise_ui_framework.QdFormBaseOption[]>;
|
|
7192
|
+
readonly optionsRequestState$: rxjs.Observable<QdFormOptionsRequestState>;
|
|
7193
|
+
protected readonly QdFormOptionsRequestState: typeof QdFormOptionsRequestState;
|
|
7145
7194
|
inputType: QdInputType;
|
|
7146
7195
|
inputMode: QdInputMode;
|
|
7147
7196
|
htmlInputType: string;
|
|
@@ -7154,12 +7203,15 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
7154
7203
|
_value: QdInputValueWithUnit;
|
|
7155
7204
|
_displayValue: string;
|
|
7156
7205
|
control: AbstractControl | QdFormControl<any>;
|
|
7157
|
-
private _optionsResolver;
|
|
7158
7206
|
private _subs;
|
|
7207
|
+
private _filteredOptions;
|
|
7208
|
+
private _optionsResolver;
|
|
7159
7209
|
private _isUserTyped;
|
|
7160
7210
|
private _onChange;
|
|
7161
7211
|
private _onTouch;
|
|
7162
7212
|
get hasOnlyUnitsError(): boolean;
|
|
7213
|
+
get requestLoadingHintI18n(): string;
|
|
7214
|
+
get requestErrorHintI18n(): string;
|
|
7163
7215
|
get hasUnits(): boolean;
|
|
7164
7216
|
get ambiguityHintKey(): string;
|
|
7165
7217
|
get isAmbiguousInput(): boolean;
|
|
@@ -7175,7 +7227,12 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
7175
7227
|
writeValue(value: QdInputValueWithUnit | QdInputValue): void;
|
|
7176
7228
|
setDisabledState(disabled: boolean): void;
|
|
7177
7229
|
handleInput(event: any): void;
|
|
7230
|
+
private handleNumberInput;
|
|
7231
|
+
private setInvalidCharactersError;
|
|
7232
|
+
private clearInvalidCharactersError;
|
|
7178
7233
|
handleOptionSelected(option: QdFormInputOption): void;
|
|
7234
|
+
onOptionsOpened(): void;
|
|
7235
|
+
onOptionsClosed(): void;
|
|
7179
7236
|
handleUnitChange(unit: any): void;
|
|
7180
7237
|
handleInputFocus(): void;
|
|
7181
7238
|
handleInputBlur(): void;
|
|
@@ -7185,7 +7242,9 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
7185
7242
|
focus(): void;
|
|
7186
7243
|
emitEnterClick(): void;
|
|
7187
7244
|
private updateConfig;
|
|
7188
|
-
private
|
|
7245
|
+
private subscribeToOptions;
|
|
7246
|
+
private loadOptionsForTypedValue;
|
|
7247
|
+
private getUnitLabel;
|
|
7189
7248
|
private emitValue;
|
|
7190
7249
|
private initOpModeSubscription;
|
|
7191
7250
|
private normalizeInitialControlValueIfNeeded;
|
|
@@ -7194,11 +7253,6 @@ declare class QdInputComponent implements OnInit, OnChanges, OnDestroy, ControlV
|
|
|
7194
7253
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdInputComponent, "qd-input", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "isError": { "alias": "isError"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valueChange": "valueChange"; "enterClick": "enterClick"; "clickClear": "clickClear"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; "optionsResolved": "optionsResolved"; }, never, ["[qdIconButton]"], false, never>;
|
|
7195
7254
|
}
|
|
7196
7255
|
|
|
7197
|
-
/**
|
|
7198
|
-
* @deprecated Use `QdFormBaseOption` instead.
|
|
7199
|
-
*/
|
|
7200
|
-
type QdFormInput = QdFormBaseOption;
|
|
7201
|
-
|
|
7202
7256
|
/**
|
|
7203
7257
|
* Represents a list of options used in radio buttons.
|
|
7204
7258
|
*/
|
|
@@ -7458,15 +7512,16 @@ interface QdFormArrayOptions extends AbstractControlOptions {
|
|
|
7458
7512
|
declare class QdMultiInputComponent implements ControlValueAccessor, OnInit, OnChanges, OnDestroy, OnDestroy {
|
|
7459
7513
|
private readonly hostRef;
|
|
7460
7514
|
private readonly multiInputService;
|
|
7515
|
+
private readonly keyboardService;
|
|
7516
|
+
private readonly optionsService;
|
|
7461
7517
|
private readonly changeDetectorRef;
|
|
7462
7518
|
private readonly actionEmitterService;
|
|
7463
|
-
private readonly qdFormArrayFactoryService;
|
|
7464
7519
|
private readonly controlContainer;
|
|
7465
7520
|
private readonly eventBrokerService;
|
|
7466
7521
|
/**
|
|
7467
7522
|
* Here an id can be assigned, with which a value can be linked to a corresponding label.
|
|
7468
7523
|
*/
|
|
7469
|
-
id
|
|
7524
|
+
id?: string;
|
|
7470
7525
|
/**
|
|
7471
7526
|
* The current form item values, if you are working with Model Binding.
|
|
7472
7527
|
*
|
|
@@ -7475,12 +7530,6 @@ declare class QdMultiInputComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
7475
7530
|
*/
|
|
7476
7531
|
set values(values: string[]);
|
|
7477
7532
|
get values(): string[];
|
|
7478
|
-
/**
|
|
7479
|
-
* * @deprecated
|
|
7480
|
-
* TODO remove logic for support of [formControlName] directive and FormControl with angular 14 update
|
|
7481
|
-
*/
|
|
7482
|
-
set formControlName(formControlName: string);
|
|
7483
|
-
get formControlName(): string;
|
|
7484
7533
|
set formArrayName(formArrayName: string);
|
|
7485
7534
|
get formArrayName(): string;
|
|
7486
7535
|
/**
|
|
@@ -7520,10 +7569,8 @@ declare class QdMultiInputComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
7520
7569
|
*/
|
|
7521
7570
|
readonly clickViewonly: EventEmitter<any>;
|
|
7522
7571
|
inputField: ElementRef;
|
|
7523
|
-
private multiInputMenu;
|
|
7524
7572
|
private popoverOnClickDirective;
|
|
7525
7573
|
errorTooltips: QueryList<ElementRef>;
|
|
7526
|
-
dropdownOptions: QueryList<ElementRef>;
|
|
7527
7574
|
readonly: boolean;
|
|
7528
7575
|
readonlyAction: boolean;
|
|
7529
7576
|
viewonly: boolean;
|
|
@@ -7532,25 +7579,24 @@ declare class QdMultiInputComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
7532
7579
|
disabled: boolean;
|
|
7533
7580
|
hasFocus: boolean;
|
|
7534
7581
|
get hasError(): boolean;
|
|
7535
|
-
clickOutside($event:
|
|
7582
|
+
clickOutside($event: PointerEvent): void;
|
|
7536
7583
|
label: string;
|
|
7537
7584
|
options: QdMultiInputOption[];
|
|
7538
7585
|
open: boolean;
|
|
7539
7586
|
optionsListForView: QdMultiInputOption[];
|
|
7540
7587
|
filterOptions: string;
|
|
7541
|
-
formArray
|
|
7588
|
+
formArray?: QdFormArray<string>;
|
|
7542
7589
|
private _values;
|
|
7543
|
-
private _formControlName;
|
|
7544
7590
|
private _formArrayName;
|
|
7545
|
-
private _onDisabledChange
|
|
7591
|
+
private _onDisabledChange?;
|
|
7546
7592
|
private _subs;
|
|
7547
|
-
private _resizeObserver
|
|
7593
|
+
private _resizeObserver?;
|
|
7548
7594
|
private _onChange;
|
|
7549
7595
|
private _onTouch;
|
|
7550
7596
|
get hasHint(): boolean;
|
|
7551
7597
|
constructor();
|
|
7552
7598
|
ngOnInit(): void;
|
|
7553
|
-
ngOnChanges(changes:
|
|
7599
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
7554
7600
|
ngOnDestroy(): void;
|
|
7555
7601
|
registerOnChange(fn: (_: any) => void): void;
|
|
7556
7602
|
registerOnTouched(fn: any): void;
|
|
@@ -7564,12 +7610,12 @@ declare class QdMultiInputComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
7564
7610
|
handleBlur(): void;
|
|
7565
7611
|
onKeyDown(event: KeyboardEvent): void;
|
|
7566
7612
|
changeValue(): void;
|
|
7567
|
-
close(index:
|
|
7613
|
+
close(index: number): void;
|
|
7568
7614
|
getIterableElements(): NgIterable<any>;
|
|
7569
7615
|
getValues(): QdMultiInputOption[];
|
|
7570
|
-
handleChipClick($event:
|
|
7571
|
-
handleReadOnlyAction($event:
|
|
7572
|
-
handleViewOnlyAction($event:
|
|
7616
|
+
handleChipClick($event: MouseEvent): void;
|
|
7617
|
+
handleReadOnlyAction($event: MouseEvent): void;
|
|
7618
|
+
handleViewOnlyAction($event: MouseEvent): void;
|
|
7573
7619
|
focus(): void;
|
|
7574
7620
|
private updateConfiguration;
|
|
7575
7621
|
private addChip;
|
|
@@ -7583,7 +7629,7 @@ declare class QdMultiInputComponent implements ControlValueAccessor, OnInit, OnC
|
|
|
7583
7629
|
private getItemsArray;
|
|
7584
7630
|
private initOpModeSubscription;
|
|
7585
7631
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdMultiInputComponent, never>;
|
|
7586
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdMultiInputComponent, "qd-multi-input", never, { "id": { "alias": "id"; "required": false; }; "values": { "alias": "values"; "required": false; }; "
|
|
7632
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdMultiInputComponent, "qd-multi-input", never, { "id": { "alias": "id"; "required": false; }; "values": { "alias": "values"; "required": false; }; "formArrayName": { "alias": "formArrayName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valuesChange": "valuesChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
|
|
7587
7633
|
}
|
|
7588
7634
|
|
|
7589
7635
|
/**
|
|
@@ -7767,6 +7813,7 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
|
|
|
7767
7813
|
private readonly controlContainer;
|
|
7768
7814
|
private readonly ngZone;
|
|
7769
7815
|
private readonly eventBrokerService;
|
|
7816
|
+
private readonly keyboardDetection;
|
|
7770
7817
|
/**
|
|
7771
7818
|
* The current form item value, if you are working with Model Binding.
|
|
7772
7819
|
*
|
|
@@ -7799,6 +7846,14 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
|
|
|
7799
7846
|
* The value for the HTML attribute [data-test-id].
|
|
7800
7847
|
*/
|
|
7801
7848
|
testId: string;
|
|
7849
|
+
/**
|
|
7850
|
+
* Set to "true", the native radio inputs are hidden from assistive technology and removed from
|
|
7851
|
+
* the tab order — an aria-hidden element must not contain anything focusable. The radio buttons
|
|
7852
|
+
* stay clickable and keep their visual state. Use this when they are embedded as an option of a
|
|
7853
|
+
* composite widget that owns the keyboard interaction and exposes its own semantics, for example
|
|
7854
|
+
* inside a listbox, where the listbox is the single tab stop. Defaults to false.
|
|
7855
|
+
*/
|
|
7856
|
+
isAriaHidden: boolean;
|
|
7802
7857
|
/**
|
|
7803
7858
|
* Emits event when the value has changed. Return value matches the current value.
|
|
7804
7859
|
*/
|
|
@@ -7822,9 +7877,11 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
|
|
|
7822
7877
|
get hasHint(): boolean;
|
|
7823
7878
|
get required(): boolean;
|
|
7824
7879
|
get activeOptionAsList(): QdFormOption[];
|
|
7880
|
+
get tabStopValue(): string | null;
|
|
7825
7881
|
label: string;
|
|
7826
7882
|
align: 'vertical' | 'horizontal';
|
|
7827
7883
|
filter: boolean;
|
|
7884
|
+
hasAutofocus: boolean;
|
|
7828
7885
|
options: QdFormOption[];
|
|
7829
7886
|
isLabelDisabled: boolean;
|
|
7830
7887
|
id: string;
|
|
@@ -7850,7 +7907,7 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, OnDestroy, C
|
|
|
7850
7907
|
private setInitialValue;
|
|
7851
7908
|
private initOpModeSubscription;
|
|
7852
7909
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdRadioButtonsComponent, never>;
|
|
7853
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdRadioButtonsComponent, "qd-radio-buttons", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valueChange": "valueChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
|
|
7910
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdRadioButtonsComponent, "qd-radio-buttons", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "isAriaHidden": { "alias": "isAriaHidden"; "required": false; }; }, { "valueChange": "valueChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
|
|
7854
7911
|
}
|
|
7855
7912
|
|
|
7856
7913
|
/**
|
|
@@ -8081,13 +8138,31 @@ declare class QdRichtextComponent implements OnInit, OnDestroy, ControlValueAcce
|
|
|
8081
8138
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdRichtextComponent, "qd-richtext", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valueChange": "valueChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
|
|
8082
8139
|
}
|
|
8083
8140
|
|
|
8141
|
+
/**
|
|
8142
|
+
* Renders the filter row of an options list.
|
|
8143
|
+
*
|
|
8144
|
+
* The row shows a magnifier icon and a text input. It takes its start text
|
|
8145
|
+
* from `inputFilterValue` once on init and then emits every change through
|
|
8146
|
+
* `filterValueChange`. The filtering itself stays in the owning component.
|
|
8147
|
+
*/
|
|
8084
8148
|
declare class QdFilterFormItemsComponent implements OnInit {
|
|
8085
|
-
|
|
8086
|
-
|
|
8149
|
+
/**
|
|
8150
|
+
* Sets the text the filter input starts with. <br />
|
|
8151
|
+
* The value is read once on init, later changes are ignored.
|
|
8152
|
+
*/
|
|
8153
|
+
inputFilterValue?: string;
|
|
8154
|
+
/**
|
|
8155
|
+
* A static test ID for integration tests can be set. <br />
|
|
8156
|
+
* The value for the HTML attribute [data-test-id].
|
|
8157
|
+
*/
|
|
8087
8158
|
testId: string;
|
|
8088
|
-
|
|
8159
|
+
/**
|
|
8160
|
+
* Emits the current text of the filter input on every change.
|
|
8161
|
+
*/
|
|
8162
|
+
filterValueChange: EventEmitter<string>;
|
|
8163
|
+
filterValue?: string;
|
|
8089
8164
|
ngOnInit(): void;
|
|
8090
|
-
changeValue($event:
|
|
8165
|
+
changeValue($event: string): void;
|
|
8091
8166
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterFormItemsComponent, never>;
|
|
8092
8167
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterFormItemsComponent, "qd-filter-form-items", never, { "inputFilterValue": { "alias": "inputFilterValue"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "filterValueChange": "filterValueChange"; }, never, never, false, never>;
|
|
8093
8168
|
}
|
|
@@ -8603,7 +8678,8 @@ declare class QdTextareaComponent implements OnInit, OnChanges, OnDestroy, Contr
|
|
|
8603
8678
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdTextareaComponent, "qd-textarea", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valueChange": "valueChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
|
|
8604
8679
|
}
|
|
8605
8680
|
|
|
8606
|
-
declare class QdCalendarComponent implements OnInit, OnChanges {
|
|
8681
|
+
declare class QdCalendarComponent implements OnInit, OnChanges, AfterViewInit {
|
|
8682
|
+
private readonly injector;
|
|
8607
8683
|
/**
|
|
8608
8684
|
* This property is used to highlight the selected date in the calendar. It should be in the format for example 'DD.MM.YYYY' or 'MM/DD/YYYY' depending on the language used.
|
|
8609
8685
|
*
|
|
@@ -8627,26 +8703,47 @@ declare class QdCalendarComponent implements OnInit, OnChanges {
|
|
|
8627
8703
|
* Outputs a value when the user selects a date in the calendar. The newly selected date is output as a formatted date string.
|
|
8628
8704
|
*/
|
|
8629
8705
|
selectedChange: EventEmitter<string>;
|
|
8706
|
+
/**
|
|
8707
|
+
* Emitted when the calendar should be closed (Escape or after a selection), so the host can close the popover and restore focus.
|
|
8708
|
+
*/
|
|
8709
|
+
closeRequested: EventEmitter<void>;
|
|
8710
|
+
private dayCells;
|
|
8711
|
+
private pickerCells;
|
|
8630
8712
|
currentDate: Moment$1;
|
|
8631
8713
|
todayDate: Moment$1;
|
|
8714
|
+
activeDate: Moment$1;
|
|
8632
8715
|
weekdays: string[];
|
|
8633
8716
|
weeks: Array<QdCalendarDay[]>;
|
|
8634
8717
|
months: string[];
|
|
8635
8718
|
years: number[];
|
|
8636
8719
|
mode: QdCalendarMode;
|
|
8720
|
+
activePickerIndex: number;
|
|
8637
8721
|
protected readonly QdCalendarMode: typeof QdCalendarMode;
|
|
8638
8722
|
ngOnInit(): void;
|
|
8723
|
+
ngAfterViewInit(): void;
|
|
8639
8724
|
ngOnChanges(changes: SimpleChanges): void;
|
|
8725
|
+
get prevAriaKey(): string;
|
|
8726
|
+
get nextAriaKey(): string;
|
|
8640
8727
|
isSameYearMonth(day: Moment$1): boolean;
|
|
8641
8728
|
isSameMonth(month: any): boolean;
|
|
8642
8729
|
isSameYear(year: number): boolean;
|
|
8730
|
+
isActive(day: Moment$1): boolean;
|
|
8731
|
+
isActivePicker(index: number): boolean;
|
|
8643
8732
|
prev(): void;
|
|
8644
8733
|
next(): void;
|
|
8645
8734
|
isSelected(momentObj: Moment$1): boolean;
|
|
8735
|
+
onGridKeydown(event: KeyboardEvent): void;
|
|
8736
|
+
onPickerKeydown(event: KeyboardEvent): void;
|
|
8646
8737
|
selectDate(date: QdCalendarDay | any): void;
|
|
8647
8738
|
selectYear(year: number): void;
|
|
8648
8739
|
selectMonth(month: number): void;
|
|
8649
8740
|
changeMode(nr: QdCalendarMode): void;
|
|
8741
|
+
private selectActiveDate;
|
|
8742
|
+
private moveActiveTo;
|
|
8743
|
+
private syncActiveToCurrentMonth;
|
|
8744
|
+
private afterModeEnter;
|
|
8745
|
+
private focusActiveCell;
|
|
8746
|
+
private focusActivePickerCell;
|
|
8650
8747
|
private generateCalendar;
|
|
8651
8748
|
private fillDates;
|
|
8652
8749
|
private isToday;
|
|
@@ -8655,7 +8752,7 @@ declare class QdCalendarComponent implements OnInit, OnChanges {
|
|
|
8655
8752
|
private isDisabled;
|
|
8656
8753
|
private setWeekdays;
|
|
8657
8754
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdCalendarComponent, never>;
|
|
8658
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdCalendarComponent, "qd-calendar", never, { "selectedDate": { "alias": "selectedDate"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, false, never>;
|
|
8755
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdCalendarComponent, "qd-calendar", never, { "selectedDate": { "alias": "selectedDate"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; }, { "selectedChange": "selectedChange"; "closeRequested": "closeRequested"; }, never, never, false, never>;
|
|
8659
8756
|
}
|
|
8660
8757
|
|
|
8661
8758
|
declare class QdCheckboxChipsItemComponent {
|
|
@@ -8667,62 +8764,52 @@ declare class QdCheckboxChipsItemComponent {
|
|
|
8667
8764
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdCheckboxChipsItemComponent, "qd-checkbox-chips-item", never, { "data": { "alias": "data"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
8668
8765
|
}
|
|
8669
8766
|
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
private _isActive;
|
|
8674
|
-
get isActive(): boolean;
|
|
8675
|
-
private element;
|
|
8676
|
-
scrollIntoView(): void;
|
|
8677
|
-
setActiveStyles(): void;
|
|
8678
|
-
setInactiveStyles(): void;
|
|
8679
|
-
getLabel(): string;
|
|
8680
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormInputComponent, never>;
|
|
8681
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormInputComponent, "qd-form-input", never, { "option": { "alias": "option"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
8682
|
-
}
|
|
8683
|
-
|
|
8684
|
-
declare class QdDropdownOptionsComponent implements AfterViewInit {
|
|
8685
|
-
private keyboardService;
|
|
8686
|
-
private optionsService;
|
|
8687
|
-
filter: boolean;
|
|
8688
|
-
filterText: string;
|
|
8689
|
-
testId: string;
|
|
8690
|
-
id: string;
|
|
8691
|
-
readonly filterChange: EventEmitter<string>;
|
|
8692
|
-
readonly optionClick: EventEmitter<any>;
|
|
8693
|
-
optionComponents: QueryList<QdFormInputComponent>;
|
|
8694
|
-
filterElement: ElementRef;
|
|
8695
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
8696
|
-
selectedOptionValue: string;
|
|
8697
|
-
filteredOptions$: Observable<QdFormResolvedOption[] | QdFormOption[]>;
|
|
8698
|
-
optionSelected: EventEmitter<any>;
|
|
8699
|
-
constructor();
|
|
8700
|
-
ngAfterViewInit(): void;
|
|
8701
|
-
onOpen(): void;
|
|
8702
|
-
onFilterInputChange(value: string): void;
|
|
8703
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdDropdownOptionsComponent, never>;
|
|
8704
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdDropdownOptionsComponent, "qd-dropdown-options", never, { "filter": { "alias": "filter"; "required": false; }; "filterText": { "alias": "filterText"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "filterChange": "filterChange"; "optionClick": "optionClick"; }, never, never, false, never>;
|
|
8767
|
+
interface QdFormErrorItem {
|
|
8768
|
+
key: string;
|
|
8769
|
+
params?: Record<string, unknown>;
|
|
8705
8770
|
}
|
|
8706
8771
|
|
|
8772
|
+
/**
|
|
8773
|
+
* Shows the validation errors of a form control.
|
|
8774
|
+
*
|
|
8775
|
+
* The component renders one line per error and translates its key.
|
|
8776
|
+
*
|
|
8777
|
+
* #### Internal invariant:
|
|
8778
|
+
*
|
|
8779
|
+
* - For a form group or a form array the component also collects the errors
|
|
8780
|
+
* of the direct child controls. Errors of the control itself and of its
|
|
8781
|
+
* children are merged, so the same error key appears only once.
|
|
8782
|
+
*/
|
|
8707
8783
|
declare class QdFormErrorComponent {
|
|
8708
|
-
control?: AbstractControl;
|
|
8709
|
-
get errorArr():
|
|
8710
|
-
key: string;
|
|
8711
|
-
params?: string;
|
|
8712
|
-
}[];
|
|
8784
|
+
control?: AbstractControl | null;
|
|
8785
|
+
get errorArr(): QdFormErrorItem[];
|
|
8713
8786
|
private getAccumulatedErrorsOfItemControls;
|
|
8714
8787
|
private getItemControls;
|
|
8715
8788
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormErrorComponent, never>;
|
|
8716
8789
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormErrorComponent, "qd-form-error", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, false, never>;
|
|
8717
8790
|
}
|
|
8718
8791
|
|
|
8792
|
+
/**
|
|
8793
|
+
* Shows the hint line below a form field, or its error messages.
|
|
8794
|
+
*
|
|
8795
|
+
* The field decides what is visible: with `hasError` the component renders
|
|
8796
|
+
* the errors of `control`, otherwise the `hint` text. With `hintAction` the
|
|
8797
|
+
* hint becomes clickable.
|
|
8798
|
+
*
|
|
8799
|
+
* #### Internal invariant:
|
|
8800
|
+
*
|
|
8801
|
+
* - A click on the hint is not emitted as an output. It goes through
|
|
8802
|
+
* `QdFormsActionEmitterService.hintEventEmitterSubject`.
|
|
8803
|
+
* - The owning form field must provide that service and subscribe to the
|
|
8804
|
+
* subject, otherwise the click is lost.
|
|
8805
|
+
*/
|
|
8719
8806
|
declare class QdFormHintComponent {
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
hintAction: any;
|
|
8807
|
+
hint?: string;
|
|
8808
|
+
control?: AbstractControl | null;
|
|
8809
|
+
hasError?: boolean;
|
|
8810
|
+
hintAction?: boolean;
|
|
8725
8811
|
testId: string;
|
|
8812
|
+
private readonly actionEmitterService;
|
|
8726
8813
|
handleClick(): void;
|
|
8727
8814
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormHintComponent, never>;
|
|
8728
8815
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormHintComponent, "qd-form-hint", never, { "hint": { "alias": "hint"; "required": false; }; "control": { "alias": "control"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "hintAction": { "alias": "hintAction"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -8742,29 +8829,56 @@ declare class QdFormLabelComponent {
|
|
|
8742
8829
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormLabelComponent, "qd-form-label", never, { "label": { "alias": "label"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "viewonly": { "alias": "viewonly"; "required": false; }; "control": { "alias": "control"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
8743
8830
|
}
|
|
8744
8831
|
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8832
|
+
/**
|
|
8833
|
+
* Shows the values of a form field in readonly state.
|
|
8834
|
+
*
|
|
8835
|
+
* The component renders the values as a comma separated list and translates
|
|
8836
|
+
* each entry. With `readonlyAction` the list becomes clickable.
|
|
8837
|
+
*
|
|
8838
|
+
* #### Internal invariant:
|
|
8839
|
+
*
|
|
8840
|
+
* - A click is not emitted as an output. It goes through
|
|
8841
|
+
* `QdFormsActionEmitterService.readonlyEventEmitterSubject`.
|
|
8842
|
+
* - The owning form field must provide that service and subscribe to the
|
|
8843
|
+
* subject, otherwise the click is lost.
|
|
8844
|
+
*/
|
|
8845
|
+
declare class QdFormReadonlyComponent implements OnChanges {
|
|
8846
|
+
values: Array<string | QdFormOption | null> | null;
|
|
8847
|
+
readonlyAction?: boolean;
|
|
8749
8848
|
testId: string;
|
|
8750
|
-
|
|
8849
|
+
translationKeys: string[];
|
|
8850
|
+
private readonly actionEmitterService;
|
|
8851
|
+
ngOnChanges(): void;
|
|
8751
8852
|
handleClick(): void;
|
|
8752
|
-
getTranslationKey(value:
|
|
8853
|
+
getTranslationKey(value: string | QdFormOption | null): string;
|
|
8753
8854
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormReadonlyComponent, never>;
|
|
8754
8855
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormReadonlyComponent, "qd-form-readonly", never, { "values": { "alias": "values"; "required": false; }; "readonlyAction": { "alias": "readonlyAction"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
8755
8856
|
}
|
|
8756
8857
|
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8858
|
+
/**
|
|
8859
|
+
* Shows the values of a form field in viewonly state.
|
|
8860
|
+
*
|
|
8861
|
+
* The component renders the values as a comma separated list and translates
|
|
8862
|
+
* each entry. An empty entry becomes a dash. With `viewonlyAction` the list
|
|
8863
|
+
* becomes clickable.
|
|
8864
|
+
*
|
|
8865
|
+
* #### Internal invariant:
|
|
8866
|
+
*
|
|
8867
|
+
* - A click is not emitted as an output. It goes through
|
|
8868
|
+
* `QdFormsActionEmitterService.viewonlyEventEmitterSubject`.
|
|
8869
|
+
* - The owning form field must provide that service and subscribe to the
|
|
8870
|
+
* subject, otherwise the click is lost.
|
|
8871
|
+
*/
|
|
8872
|
+
declare class QdFormViewonlyComponent implements OnChanges {
|
|
8873
|
+
values: Array<string | QdFormOption | null> | null;
|
|
8760
8874
|
viewonlyAction?: boolean;
|
|
8761
8875
|
testId: string;
|
|
8762
|
-
|
|
8876
|
+
formattedValues: string[];
|
|
8877
|
+
private readonly actionEmitterService;
|
|
8878
|
+
ngOnChanges(): void;
|
|
8763
8879
|
handleClick(): void;
|
|
8764
|
-
formatValue(value: string | QdFormOption): string;
|
|
8765
|
-
getTranslationKey(value: string |
|
|
8766
|
-
i18n: string;
|
|
8767
|
-
}): string;
|
|
8880
|
+
formatValue(value: string | QdFormOption | null | undefined): string;
|
|
8881
|
+
getTranslationKey(value: string | QdFormOption): string;
|
|
8768
8882
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormViewonlyComponent, never>;
|
|
8769
8883
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormViewonlyComponent, "qd-form-viewonly", never, { "values": { "alias": "values"; "required": false; }; "viewonlyAction": { "alias": "viewonlyAction"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
8770
8884
|
}
|
|
@@ -8787,120 +8901,6 @@ declare class QdInputUnitsComponent implements OnInit, OnChanges {
|
|
|
8787
8901
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdInputUnitsComponent, "qd-input-units", never, { "config": { "alias": "config"; "required": false; }; "unitValue": { "alias": "unit"; "required": false; }; }, { "unitChange": "unitChange"; "opened": "opened"; "closed": "closed"; }, never, never, false, never>;
|
|
8788
8902
|
}
|
|
8789
8903
|
|
|
8790
|
-
/**
|
|
8791
|
-
* Manages the options popover of a form input, including resolver-based options.
|
|
8792
|
-
* The resolver trigger rules are defined on {@link QdFormOptionsResolver}.
|
|
8793
|
-
*
|
|
8794
|
-
* Invariant: the `value` setter resolves options only on actual value changes. Selecting
|
|
8795
|
-
* an option assigns the option's i18n key as the new value right away, because the host
|
|
8796
|
-
* component writes exactly that key back into the `value` binding for display purposes —
|
|
8797
|
-
* the write-back therefore arrives as a no-op instead of resolving with the i18n key.
|
|
8798
|
-
*/
|
|
8799
|
-
declare class QdInputOptionsDirective extends QdPopoverOnClickDirective implements OnInit, OnChanges, OnDestroy, AfterViewInit {
|
|
8800
|
-
private readonly translateService;
|
|
8801
|
-
private readonly viewContainerRef;
|
|
8802
|
-
private readonly changeDetectorRef;
|
|
8803
|
-
private readonly resolverRegistry;
|
|
8804
|
-
private readonly controlContainer;
|
|
8805
|
-
get value(): QdInputValue;
|
|
8806
|
-
/**
|
|
8807
|
-
* The value of the form input
|
|
8808
|
-
*/
|
|
8809
|
-
set value(value: QdInputValue);
|
|
8810
|
-
/**
|
|
8811
|
-
* The configuration of the form input
|
|
8812
|
-
*
|
|
8813
|
-
* @example
|
|
8814
|
-
* {
|
|
8815
|
-
* label: { i18n: 'label' },
|
|
8816
|
-
* placeholder: { i18n: 'placeholder' },
|
|
8817
|
-
* hint: { i18n: 'hint' }
|
|
8818
|
-
* };
|
|
8819
|
-
*/
|
|
8820
|
-
config: QdFormInputConfiguration;
|
|
8821
|
-
/**
|
|
8822
|
-
* Emits event when the value has changed. Note: Emits on keyup (no longer on click, as before)!
|
|
8823
|
-
*/
|
|
8824
|
-
readonly enterClick: EventEmitter<any>;
|
|
8825
|
-
/**
|
|
8826
|
-
* Emits event when an option in the fly out has been selected.
|
|
8827
|
-
*/
|
|
8828
|
-
readonly optionSelected: EventEmitter<_quadrel_enterprise_ui_framework.QdFormBaseOption>;
|
|
8829
|
-
/**
|
|
8830
|
-
* Emits the resolved options and the depended-on values they were resolved with,
|
|
8831
|
-
* after every resolver run.
|
|
8832
|
-
*
|
|
8833
|
-
* The resolver fetches the options; this output lets the component react to them —
|
|
8834
|
-
* typically to drop a selection the new options no longer contain (e.g. clear the
|
|
8835
|
-
* chosen city once the country changed).
|
|
8836
|
-
*
|
|
8837
|
-
* @example
|
|
8838
|
-
* onCityOptionsResolved(event: QdFormOptionsResolvedEvent): void {
|
|
8839
|
-
* const city = this.form.get('city');
|
|
8840
|
-
* if (city?.value && !event.options.some(o => o.value === city.value)) city.reset();
|
|
8841
|
-
* }
|
|
8842
|
-
*/
|
|
8843
|
-
readonly optionsResolved: EventEmitter<QdFormOptionsResolvedEvent>;
|
|
8844
|
-
onSpace(): void;
|
|
8845
|
-
onEscape(): void;
|
|
8846
|
-
onTab(): void;
|
|
8847
|
-
private _optionsResolver;
|
|
8848
|
-
private _optionsRequestStateSubject;
|
|
8849
|
-
private readonly _optionsLoadingHintDelay;
|
|
8850
|
-
private readonly _optionsLoadingHintMinTime;
|
|
8851
|
-
private _hostElement;
|
|
8852
|
-
private _keyManager?;
|
|
8853
|
-
private _value;
|
|
8854
|
-
private _filteredOptionsSubject;
|
|
8855
|
-
private _destroyed$;
|
|
8856
|
-
private _dependsOnSubscription;
|
|
8857
|
-
private readonly _resolveRequests$;
|
|
8858
|
-
filteredOptions$: rxjs.Observable<QdFormResolvedOptions>;
|
|
8859
|
-
optionsRequestState$: rxjs.Observable<QdFormOptionsRequestState>;
|
|
8860
|
-
formInputComponents: QueryList<QdFormInputComponent>;
|
|
8861
|
-
constructor();
|
|
8862
|
-
ngOnInit(): void;
|
|
8863
|
-
private initializeOptionsResolver;
|
|
8864
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
8865
|
-
ngOnDestroy(): void;
|
|
8866
|
-
ngAfterViewInit(): void;
|
|
8867
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
8868
|
-
selectOption(option: QdFormResolvedOption): void;
|
|
8869
|
-
private logWarningIfBothOptionsAndResolverAreUsed;
|
|
8870
|
-
private logWarningIfDependsOnWithoutFormGroup;
|
|
8871
|
-
private closePopover;
|
|
8872
|
-
private createKeyManager;
|
|
8873
|
-
private setPopoverProperties;
|
|
8874
|
-
private hasOptions;
|
|
8875
|
-
private updateOptions;
|
|
8876
|
-
private updateOptionsWhenDependsOnControlsChange;
|
|
8877
|
-
private updateOptionsWithResolver;
|
|
8878
|
-
private publishLatestResolvedOptions;
|
|
8879
|
-
private filterOptions;
|
|
8880
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdInputOptionsDirective, never>;
|
|
8881
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QdInputOptionsDirective, "[qdInputOptions]", never, { "value": { "alias": "value"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "enterClick": "enterClick"; "optionSelected": "optionSelected"; "optionsResolved": "optionsResolved"; }, never, never, false, never>;
|
|
8882
|
-
}
|
|
8883
|
-
|
|
8884
|
-
declare class QdInputOptionsComponent implements OnInit, AfterViewInit {
|
|
8885
|
-
private readonly resolverRegistry;
|
|
8886
|
-
filteredOptions$: Observable<QdFormResolvedOptions>;
|
|
8887
|
-
optionsRequestState$: Observable<QdFormOptionsRequestState>;
|
|
8888
|
-
template: EventEmitter<TemplateRef<any>>;
|
|
8889
|
-
formInputComponents: EventEmitter<QueryList<QdFormInputComponent>>;
|
|
8890
|
-
optionSelected: EventEmitter<_quadrel_enterprise_ui_framework.QdFormBaseOption>;
|
|
8891
|
-
private _template;
|
|
8892
|
-
_formInputComponents: QueryList<QdFormInputComponent>;
|
|
8893
|
-
get requestLoadingHintI18n(): string;
|
|
8894
|
-
get requestErrorHintI18n(): string;
|
|
8895
|
-
protected readonly QdFormOptionsRequestState: typeof QdFormOptionsRequestState;
|
|
8896
|
-
private _optionsResolver;
|
|
8897
|
-
ngOnInit(): void;
|
|
8898
|
-
ngAfterViewInit(): void;
|
|
8899
|
-
selectOption(option: QdFormResolvedOption): void;
|
|
8900
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdInputOptionsComponent, never>;
|
|
8901
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdInputOptionsComponent, "qd-input-options", never, { "filteredOptions$": { "alias": "filteredOptions$"; "required": false; }; "optionsRequestState$": { "alias": "optionsRequestState$"; "required": false; }; }, { "template": "template"; "formInputComponents": "formInputComponents"; "optionSelected": "optionSelected"; }, never, never, false, never>;
|
|
8902
|
-
}
|
|
8903
|
-
|
|
8904
8904
|
type QdMultiInputChipColor = 'default' | 'error' | 'pending';
|
|
8905
8905
|
|
|
8906
8906
|
declare class QdMultiInputChipComponent {
|
|
@@ -8924,38 +8924,95 @@ declare class QdMultiInputChipComponent {
|
|
|
8924
8924
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdMultiInputChipComponent, "qd-multi-input-chip", never, { "itemControl": { "alias": "itemControl"; "required": false; }; "value": { "alias": "value"; "required": false; }; "close": { "alias": "close"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "closeClickEmitter": "closeClickEmitter"; }, never, never, false, never>;
|
|
8925
8925
|
}
|
|
8926
8926
|
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8927
|
+
/**
|
|
8928
|
+
* Renders one entry of the shared option list.
|
|
8929
|
+
*
|
|
8930
|
+
* The item is only a shell: the list projects the option radio and its
|
|
8931
|
+
* label into the open default slot. The item adds the highlight state,
|
|
8932
|
+
* exposed as class `active` and as attribute `data-active` so tests can
|
|
8933
|
+
* assert it.
|
|
8934
|
+
*
|
|
8935
|
+
* #### Internal invariant:
|
|
8936
|
+
*
|
|
8937
|
+
* - The CDK `ActiveDescendantKeyManager` built in `QdFormKeyboardService`
|
|
8938
|
+
* drives this item. It calls `setActiveStyles()` and `setInactiveStyles()`
|
|
8939
|
+
* while the user navigates, and reads `getLabel()` for its typeahead.
|
|
8940
|
+
* - No other code calls these three methods. They still must stay, because
|
|
8941
|
+
* the `Highlightable` contract is what makes keyboard navigation work.
|
|
8942
|
+
*/
|
|
8943
|
+
declare class QdFormOptionItemComponent implements Highlightable {
|
|
8944
|
+
option?: QdFormResolvedOption;
|
|
8945
|
+
private _element;
|
|
8946
|
+
isActive: boolean;
|
|
8947
|
+
private readonly hostRef;
|
|
8948
|
+
private readonly translateService;
|
|
8949
|
+
scrollIntoView(): void;
|
|
8950
|
+
setActiveStyles(): void;
|
|
8951
|
+
setInactiveStyles(): void;
|
|
8952
|
+
getLabel(): string;
|
|
8953
|
+
private applyActiveMarkers;
|
|
8954
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormOptionItemComponent, never>;
|
|
8955
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormOptionItemComponent, "qd-form-option-item", never, { "option": { "alias": "option"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
8956
|
+
}
|
|
8957
|
+
|
|
8958
|
+
/**
|
|
8959
|
+
* Renders the shared option list used inside form field popovers.
|
|
8960
|
+
*
|
|
8961
|
+
* The list shows the given options as radio items, drives keyboard
|
|
8962
|
+
* highlighting through the shared QdFormKeyboardService and emits the
|
|
8963
|
+
* picked option. Field-specific extras like a search box or hint content
|
|
8964
|
+
* are projected through the qdFormOptionsListHeader and qdFormOptionsListStatus
|
|
8965
|
+
* slots. Data loading, filtering and value handling stay in the field.
|
|
8966
|
+
*/
|
|
8967
|
+
declare class QdFormOptionsListComponent implements AfterViewInit {
|
|
8968
|
+
id?: string;
|
|
8969
|
+
options?: QdFormOption[] | null;
|
|
8970
|
+
/**
|
|
8971
|
+
* Groups the option radios under one form name.
|
|
8972
|
+
* Set a distinct name per field so open lists never share a radio group.
|
|
8973
|
+
*/
|
|
8974
|
+
radioName: string;
|
|
8975
|
+
testId: string;
|
|
8976
|
+
readonly optionSelected: EventEmitter<QdFormOption>;
|
|
8977
|
+
optionComponents: QueryList<QdFormOptionItemComponent>;
|
|
8978
|
+
private readonly keyboardService;
|
|
8979
|
+
ngAfterViewInit(): void;
|
|
8980
|
+
selectOption(option: QdFormOption): void;
|
|
8981
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormOptionsListComponent, never>;
|
|
8982
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdFormOptionsListComponent, "qd-form-options-list", never, { "id": { "alias": "id"; "required": false; }; "options": { "alias": "options"; "required": false; }; "radioName": { "alias": "radioName"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, ["[qdFormOptionsListHeader]", "[qdFormOptionsListStatus]"], false, never>;
|
|
8983
|
+
}
|
|
8984
|
+
|
|
8985
|
+
/**
|
|
8986
|
+
* Resolves the label of an option through QdTranslateService.
|
|
8987
|
+
* Works for i18n keys and for backend translation maps and stays
|
|
8988
|
+
* reactive to language changes because the pipe is impure.
|
|
8989
|
+
*/
|
|
8990
|
+
declare class QdFormOptionLabelPipe implements PipeTransform {
|
|
8991
|
+
private readonly translateService;
|
|
8992
|
+
transform(option: QdTranslatable): string;
|
|
8993
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormOptionLabelPipe, never>;
|
|
8994
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<QdFormOptionLabelPipe, "qdFormOptionLabel", false>;
|
|
8995
|
+
}
|
|
8996
|
+
|
|
8997
|
+
/**
|
|
8998
|
+
* Focuses its host element once, after the initial view init, when `qdAutofocus` is `true`.
|
|
8999
|
+
*
|
|
9000
|
+
* Init-only by design: the input is read in `ngAfterViewInit` only. A later `false -> true`
|
|
9001
|
+
* change on an already-rendered element is intentionally ignored to avoid stealing focus
|
|
9002
|
+
* mid-interaction (this mirrors the native `autofocus` attribute). An element that appears
|
|
9003
|
+
* later (e.g. via `*ngIf`) still autofocuses, because `ngAfterViewInit` runs when it is created.
|
|
9004
|
+
*
|
|
9005
|
+
* Coordinated app-wide through {@link QdAutofocusService}: only one element may autofocus per
|
|
9006
|
+
* view; the guard is released once the focused element blurs, so a newly opened view can
|
|
9007
|
+
* autofocus again. Using it on more than one active element at a time logs a warning and is
|
|
9008
|
+
* ignored for the surplus elements.
|
|
9009
|
+
*/
|
|
9010
|
+
declare class QdAutofocusDirective implements AfterViewInit, OnDestroy {
|
|
8956
9011
|
private readonly autofocusService;
|
|
8957
9012
|
private readonly elementRef;
|
|
8958
9013
|
qdAutofocus: boolean;
|
|
9014
|
+
private _timeoutId?;
|
|
9015
|
+
private _blurHandler?;
|
|
8959
9016
|
ngAfterViewInit(): void;
|
|
8960
9017
|
ngOnDestroy(): void;
|
|
8961
9018
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdAutofocusDirective, never>;
|
|
@@ -8968,6 +9025,12 @@ declare class QdAutofocusModule {
|
|
|
8968
9025
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdAutofocusModule>;
|
|
8969
9026
|
}
|
|
8970
9027
|
|
|
9028
|
+
declare class QdIconButtonModule {
|
|
9029
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdIconButtonModule, never>;
|
|
9030
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdIconButtonModule, [typeof QdIconButtonComponent], [typeof i2.CommonModule], [typeof QdIconButtonComponent]>;
|
|
9031
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QdIconButtonModule>;
|
|
9032
|
+
}
|
|
9033
|
+
|
|
8971
9034
|
declare class QdTooltipComponent {
|
|
8972
9035
|
content?: {
|
|
8973
9036
|
headline?: string;
|
|
@@ -9012,25 +9075,25 @@ declare class QdTooltipOnClickDirective implements OnDestroy {
|
|
|
9012
9075
|
|
|
9013
9076
|
declare class QdTooltipModule {
|
|
9014
9077
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdTooltipModule, never>;
|
|
9015
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTooltipModule, [typeof QdTooltipComponent, typeof QdTooltipOnClickDirective, typeof
|
|
9078
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTooltipModule, [typeof QdTooltipComponent, typeof QdTooltipOnClickDirective, typeof QdTooltipIconComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule], [typeof QdTooltipOnClickDirective, typeof QdTooltipIconComponent]>;
|
|
9016
9079
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdTooltipModule>;
|
|
9017
9080
|
}
|
|
9018
9081
|
|
|
9019
9082
|
declare class QdFormModule {
|
|
9020
9083
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFormModule, never>;
|
|
9021
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFormModule, [typeof QdCalendarComponent, typeof QdCheckboxChipsComponent, typeof QdCheckboxChipsItemComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof
|
|
9084
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFormModule, [typeof QdCalendarComponent, typeof QdCheckboxChipsComponent, typeof QdCheckboxChipsItemComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdFilterFormItemsComponent, typeof QdFormErrorComponent, typeof QdFormHintComponent, typeof QdFormLabelComponent, typeof QdFormReadonlyComponent, typeof QdFormViewonlyComponent, typeof QdInputComponent, typeof QdInputUnitsComponent, typeof QdMultiInputChipComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdFormOptionItemComponent, typeof QdFormOptionsListComponent, typeof QdFormOptionLabelPipe, typeof QdRichtextComponent, typeof QdFileUploadComponent], [typeof i28.A11yModule, typeof i2.CommonModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof i5.TranslateModule, typeof QdAutofocusModule, typeof QdChipModule, typeof QdCoreModule, typeof QdIconButtonModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof i39.NgxEditorModule], [typeof QdCheckboxChipsComponent, typeof QdCheckboxComponent, typeof QdCheckboxesComponent, typeof QdDatepickerComponent, typeof QdDropdownComponent, typeof QdFilterFormItemsComponent, typeof QdInputComponent, typeof QdMultiInputComponent, typeof QdPinCodeComponent, typeof QdRadioButtonsComponent, typeof QdSwitchComponent, typeof QdSwitchesComponent, typeof QdTextareaComponent, typeof QdRichtextComponent, typeof QdFileUploadComponent]>;
|
|
9022
9085
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdFormModule>;
|
|
9023
9086
|
}
|
|
9024
9087
|
|
|
9025
9088
|
declare class QdNotificationsModule {
|
|
9026
9089
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdNotificationsModule, never>;
|
|
9027
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNotificationsModule, [typeof QdNotificationComponent, typeof QdNotificationContentComponent, typeof QdNotificationsComponent, typeof QdNotificationsSnackbarComponent, typeof QdNotificationsSnackbarListenerDirective], [typeof i2.CommonModule, typeof QdFormModule, typeof QdIconModule, typeof
|
|
9090
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNotificationsModule, [typeof QdNotificationComponent, typeof QdNotificationContentComponent, typeof QdNotificationsComponent, typeof QdNotificationsSnackbarComponent, typeof QdNotificationsSnackbarListenerDirective], [typeof i2.CommonModule, typeof QdFormModule, typeof QdIconModule, typeof i5.TranslateModule], [typeof QdNotificationComponent, typeof QdNotificationContentComponent, typeof QdNotificationsComponent, typeof QdNotificationsSnackbarListenerDirective]>;
|
|
9028
9091
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdNotificationsModule>;
|
|
9029
9092
|
}
|
|
9030
9093
|
|
|
9031
9094
|
declare class QdButtonModule {
|
|
9032
9095
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdButtonModule, never>;
|
|
9033
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdButtonModule, [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof
|
|
9096
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdButtonModule, [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdMenuButtonComponent, typeof QdButtonAdditionalInfoComponent, typeof QdSanitizeHtmlPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdTextSectionModule, typeof QdPopoverModule, typeof QdCoreModule, typeof QdNotificationsModule, typeof QdIconButtonModule], [typeof QdButtonComponent, typeof QdButtonGhostDirective, typeof QdButtonGridComponent, typeof QdButtonLinkDirective, typeof QdButtonStackButtonComponent, typeof QdButtonStackComponent, typeof QdIconButtonComponent, typeof QdMenuButtonComponent]>;
|
|
9034
9097
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdButtonModule>;
|
|
9035
9098
|
}
|
|
9036
9099
|
|
|
@@ -9038,15 +9101,15 @@ declare class QdButtonModule {
|
|
|
9038
9101
|
* **qdColumn** is used to build a grid. Directive for child elements. Maximum 6 columns can be defined.
|
|
9039
9102
|
* The `qdColumn` value defines how many columns this block takes *(colspan)*.
|
|
9040
9103
|
*
|
|
9041
|
-
* *
|
|
9104
|
+
* * See parent component **qd-grid** and parent directive **qdColumns**
|
|
9042
9105
|
*
|
|
9043
9106
|
* **Usage:**
|
|
9044
9107
|
*
|
|
9045
9108
|
* @example
|
|
9046
9109
|
* <qd-grid [config]="{ columns: 6 }">
|
|
9047
|
-
* <
|
|
9048
|
-
* <
|
|
9049
|
-
* <
|
|
9110
|
+
* <qd-input qdColumn="1" />
|
|
9111
|
+
* <qd-input qdColumn="2" />
|
|
9112
|
+
* <qd-input qdColumn="3" />
|
|
9050
9113
|
* </qd-grid>
|
|
9051
9114
|
*/
|
|
9052
9115
|
declare class QdColumnDirective implements OnInit {
|
|
@@ -9090,9 +9153,9 @@ declare class QdColumnDirective implements OnInit {
|
|
|
9090
9153
|
*
|
|
9091
9154
|
* @example
|
|
9092
9155
|
* <div qdColumns="6">
|
|
9093
|
-
* <
|
|
9094
|
-
* <
|
|
9095
|
-
* <
|
|
9156
|
+
* <qd-input qdColumn="1" />
|
|
9157
|
+
* <qd-input qdColumn="2" />
|
|
9158
|
+
* <qd-input qdColumn="3" />
|
|
9096
9159
|
* </div>
|
|
9097
9160
|
*/
|
|
9098
9161
|
declare class QdColumnsDirective implements OnInit, AfterViewInit, OnDestroy {
|
|
@@ -9153,7 +9216,8 @@ interface QdGridConfig {
|
|
|
9153
9216
|
}
|
|
9154
9217
|
|
|
9155
9218
|
/**
|
|
9156
|
-
* The component **qd-grid**
|
|
9219
|
+
* The component **qd-grid** builds a responsive column grid for form layouts. Colspans reflow automatically on
|
|
9220
|
+
* tablet and mobile. Maximum 6 columns can be defined. Optionally, a title can be set.
|
|
9157
9221
|
* You can use the `qdColumn` directive for the elements inside the grid.
|
|
9158
9222
|
* The `qdColumn` value defines how many columns a block takes *(colspan)*.
|
|
9159
9223
|
*
|
|
@@ -9163,15 +9227,30 @@ interface QdGridConfig {
|
|
|
9163
9227
|
*
|
|
9164
9228
|
* @example
|
|
9165
9229
|
* <qd-grid [config]="{ columns: 6 }">
|
|
9166
|
-
* <
|
|
9167
|
-
* <
|
|
9168
|
-
* <
|
|
9230
|
+
* <qd-input qdColumn="1" />
|
|
9231
|
+
* <qd-input qdColumn="2" />
|
|
9232
|
+
* <qd-input qdColumn="3" />
|
|
9233
|
+
* </qd-grid>
|
|
9234
|
+
*
|
|
9235
|
+
* The grid also works without a config. It then renders as a plain container,
|
|
9236
|
+
* for example to host a form group:
|
|
9237
|
+
*
|
|
9238
|
+
* @example
|
|
9239
|
+
* <qd-grid [formGroup]="form">
|
|
9240
|
+
* <qd-input formControlName="name" [config]="{ label: { i18n: 'i18n.name' } }" />
|
|
9169
9241
|
* </qd-grid>
|
|
9170
9242
|
*/
|
|
9171
9243
|
declare class QdGridComponent implements OnInit {
|
|
9172
9244
|
private readonly _renderer;
|
|
9173
9245
|
private readonly _elementRef;
|
|
9174
|
-
|
|
9246
|
+
/**
|
|
9247
|
+
* Settings for the column grid: column count, maximum columns, and
|
|
9248
|
+
* responsive behavior.
|
|
9249
|
+
* Optional: without a config the grid renders as a plain container,
|
|
9250
|
+
* for example as a form group host.
|
|
9251
|
+
* Must be set when the grid initializes; later changes are not applied.
|
|
9252
|
+
*/
|
|
9253
|
+
config?: QdGridConfig;
|
|
9175
9254
|
private readonly _columnsDirective;
|
|
9176
9255
|
get element(): HTMLElement;
|
|
9177
9256
|
ngOnInit(): void;
|
|
@@ -9219,14 +9298,14 @@ interface QdSubgridConfig {
|
|
|
9219
9298
|
* @example
|
|
9220
9299
|
* <qd-grid [config]="{ columns: 6 }">
|
|
9221
9300
|
* <qd-subgrid [config]="{ columns: 2 }">
|
|
9222
|
-
* <
|
|
9223
|
-
* <
|
|
9224
|
-
* <
|
|
9301
|
+
* <qd-input qdColumn="1" />
|
|
9302
|
+
* <qd-input qdColumn="1" />
|
|
9303
|
+
* <qd-input qdColumn="2" />
|
|
9225
9304
|
* <qd-subgrid>
|
|
9226
9305
|
* <qd-subgrid [config]="{ columns: 4 }">
|
|
9227
|
-
* <
|
|
9228
|
-
* <
|
|
9229
|
-
* <
|
|
9306
|
+
* <qd-input qdColumn="2" />
|
|
9307
|
+
* <qd-input qdColumn="2" />
|
|
9308
|
+
* <qd-input qdColumn="4" />
|
|
9230
9309
|
* <qd-subgrid>
|
|
9231
9310
|
* </qd-grid>
|
|
9232
9311
|
*/
|
|
@@ -9254,10 +9333,10 @@ declare class QdSubgridComponent implements OnInit {
|
|
|
9254
9333
|
*
|
|
9255
9334
|
* @example
|
|
9256
9335
|
* <div qdColumns="6" qdColumnsMax="4">
|
|
9257
|
-
* <
|
|
9258
|
-
* <
|
|
9259
|
-
* <
|
|
9260
|
-
* <
|
|
9336
|
+
* <qd-input qdColumn="1" />
|
|
9337
|
+
* <qd-input qdColumn="3" />
|
|
9338
|
+
* <qd-input qdColumn="2" />
|
|
9339
|
+
* <qd-input qdColumn="2" />
|
|
9261
9340
|
* </div>
|
|
9262
9341
|
*/
|
|
9263
9342
|
declare class QdColumnsMaxDirective implements OnInit, AfterViewInit {
|
|
@@ -9280,16 +9359,16 @@ declare class QdColumnsMaxDirective implements OnInit, AfterViewInit {
|
|
|
9280
9359
|
/**
|
|
9281
9360
|
* **qdColumnBreakBefore** can be used for elements with a `qdColumn` directive to place the element in a new row.
|
|
9282
9361
|
*
|
|
9283
|
-
* *
|
|
9362
|
+
* * See directive **qdColumn**
|
|
9284
9363
|
*
|
|
9285
9364
|
* **Usage:**
|
|
9286
9365
|
*
|
|
9287
9366
|
* @example
|
|
9288
9367
|
* <qd-grid [config]="{ columns: 6 }">
|
|
9289
|
-
* <
|
|
9290
|
-
* <
|
|
9291
|
-
* <
|
|
9292
|
-
* <
|
|
9368
|
+
* <qd-input qdColumn="1" />
|
|
9369
|
+
* <qd-input qdColumn="2" />
|
|
9370
|
+
* <qd-input qdColumn="3" qdColumnBreakBefore /> <!-- will be placed in a new row -->
|
|
9371
|
+
* <qd-input qdColumn="3" />
|
|
9293
9372
|
* </qd-grid>
|
|
9294
9373
|
*/
|
|
9295
9374
|
declare class QdColumnBreakBeforeDirective implements OnInit, AfterViewInit {
|
|
@@ -9313,15 +9392,15 @@ declare class QdColumnBreakBeforeDirective implements OnInit, AfterViewInit {
|
|
|
9313
9392
|
* Nevertheless, in the mobile view all elements will be arranged one below the other to get a bigger touch area for
|
|
9314
9393
|
* each element.
|
|
9315
9394
|
*
|
|
9316
|
-
* *
|
|
9395
|
+
* * See directive **qdColumn**
|
|
9317
9396
|
*
|
|
9318
9397
|
* **Usage:**
|
|
9319
9398
|
*
|
|
9320
9399
|
* @example
|
|
9321
9400
|
* <qd-grid [config]="{ columns: 6 }">
|
|
9322
|
-
* <
|
|
9323
|
-
* <
|
|
9324
|
-
* <
|
|
9401
|
+
* <qd-input qdColumn="1" qdColumnNextInSameRow />
|
|
9402
|
+
* <qd-input qdColumn="2" />
|
|
9403
|
+
* <qd-input qdColumn="3" />
|
|
9325
9404
|
* </qd-grid>
|
|
9326
9405
|
*/
|
|
9327
9406
|
declare class QdColumnNextInSameRowDirective implements AfterViewInit {
|
|
@@ -9342,16 +9421,16 @@ declare class QdColumnNextInSameRowDirective implements AfterViewInit {
|
|
|
9342
9421
|
* **qdColumnFullGridWidth** can be used for elements with a `qdColumn` directive to place the element
|
|
9343
9422
|
* on its own row with full grid width.
|
|
9344
9423
|
*
|
|
9345
|
-
* *
|
|
9424
|
+
* * See directive **qdColumn**
|
|
9346
9425
|
*
|
|
9347
9426
|
* **Usage:**
|
|
9348
9427
|
*
|
|
9349
9428
|
* @example
|
|
9350
9429
|
* <qd-grid [config]="{ columns: 6 }">
|
|
9351
|
-
* <
|
|
9352
|
-
* <
|
|
9353
|
-
* <
|
|
9354
|
-
* <
|
|
9430
|
+
* <qd-input qdColumn="1" />
|
|
9431
|
+
* <qd-input qdColumn="2" />
|
|
9432
|
+
* <qd-input qdColumn="3" qdColumnFullGridWidth /> <!-- will be placed in its own row with full grid width -->
|
|
9433
|
+
* <qd-input qdColumn="3" />
|
|
9355
9434
|
* </qd-grid>
|
|
9356
9435
|
*/
|
|
9357
9436
|
declare class QdColumnFullGridWidthDirective implements OnInit, AfterViewInit {
|
|
@@ -9373,16 +9452,16 @@ declare class QdColumnFullGridWidthDirective implements OnInit, AfterViewInit {
|
|
|
9373
9452
|
* directive to your `qdColumns` element, this feature will be disabled. Nevertheless, you can activate auto fill for
|
|
9374
9453
|
* single columns with the `qdColumnAutoFill` directive.
|
|
9375
9454
|
*
|
|
9376
|
-
* *
|
|
9455
|
+
* * See directive **qdColumns**
|
|
9377
9456
|
*
|
|
9378
9457
|
* **Usage:**
|
|
9379
9458
|
*
|
|
9380
9459
|
* @example
|
|
9381
9460
|
* <div qdColumns="6" qdColumnsDisableAutoFill>
|
|
9382
|
-
* <
|
|
9383
|
-
* <
|
|
9384
|
-
* <
|
|
9385
|
-
* <
|
|
9461
|
+
* <qd-input qdColumn="2" />
|
|
9462
|
+
* <qd-input qdColumn="3" /><!-- the remaining space will not be filled -->
|
|
9463
|
+
* <qd-input qdColumn="3" />
|
|
9464
|
+
* <qd-input qdColumn="2" qdColumnAutoFill /><!-- the remaining space will be filled -->
|
|
9386
9465
|
* </div>
|
|
9387
9466
|
*/
|
|
9388
9467
|
declare class QdColumnsDisableAutoFillDirective implements OnInit, AfterViewInit {
|
|
@@ -9406,10 +9485,10 @@ declare class QdColumnsDisableAutoFillDirective implements OnInit, AfterViewInit
|
|
|
9406
9485
|
*
|
|
9407
9486
|
* @example
|
|
9408
9487
|
* <qd-grid [config]="{ columns: 6, disableAutoFill: true }">
|
|
9409
|
-
* <
|
|
9410
|
-
* <
|
|
9411
|
-
* <
|
|
9412
|
-
* <
|
|
9488
|
+
* <qd-input qdColumn="2" />
|
|
9489
|
+
* <qd-input qdColumn="3" /><!-- the remaining space will not be filled -->
|
|
9490
|
+
* <qd-input qdColumn="3" />
|
|
9491
|
+
* <qd-input qdColumn="2" qdColumnAutoFill /><!-- the remaining space will be filled -->
|
|
9413
9492
|
* </qd-grid>
|
|
9414
9493
|
*/
|
|
9415
9494
|
declare class QdColumnAutoFillDirective implements OnInit, AfterViewInit {
|
|
@@ -9431,16 +9510,16 @@ declare class QdColumnAutoFillDirective implements OnInit, AfterViewInit {
|
|
|
9431
9510
|
* the mobile breakpoint when disabled. However, in the mobile view all elements will be arranged one below the
|
|
9432
9511
|
* other to get a bigger touch area for each element.
|
|
9433
9512
|
*
|
|
9434
|
-
* *
|
|
9513
|
+
* * See directive **qdColumns**
|
|
9435
9514
|
*
|
|
9436
9515
|
* **Usage:**
|
|
9437
9516
|
*
|
|
9438
9517
|
* @example
|
|
9439
9518
|
* <div qdColumns="4" qdColumnsDisableResponsiveColspans>
|
|
9440
|
-
* <
|
|
9441
|
-
* <
|
|
9442
|
-
* <
|
|
9443
|
-
* <
|
|
9519
|
+
* <qd-input qdColumn="2" /><!-- colspan 2 is kept until mobile view (excluded) -->
|
|
9520
|
+
* <qd-input qdColumn="2" /><!-- colspan 2 is kept until mobile view (excluded) -->
|
|
9521
|
+
* <qd-input qdColumn="2" /><!-- colspan 2 is kept until mobile view (excluded) -->
|
|
9522
|
+
* <qd-input qdColumn="2" /><!-- colspan 2 is kept until mobile view (excluded) -->
|
|
9444
9523
|
* </div>
|
|
9445
9524
|
*/
|
|
9446
9525
|
declare class QdColumnsDisableResponsiveColspansDirective implements AfterViewInit {
|
|
@@ -9461,16 +9540,16 @@ declare class QdColumnsDisableResponsiveColspansDirective implements AfterViewIn
|
|
|
9461
9540
|
* To disable the responsive colspans for all `qdColumn` elements inside a grid, enable the `disableResponsiveColspans`
|
|
9462
9541
|
* config setting on the `qd-grid` element.
|
|
9463
9542
|
*
|
|
9464
|
-
* *
|
|
9543
|
+
* * See directive **qdColumn**
|
|
9465
9544
|
*
|
|
9466
9545
|
* **Usage:**
|
|
9467
9546
|
*
|
|
9468
9547
|
* @example
|
|
9469
9548
|
* <qd-grid [config]="{ columns: 6 }">
|
|
9470
|
-
* <
|
|
9471
|
-
* <
|
|
9472
|
-
* <
|
|
9473
|
-
* <
|
|
9549
|
+
* <qd-input qdColumn="2" />
|
|
9550
|
+
* <qd-input qdColumn="3" />
|
|
9551
|
+
* <qd-input qdColumn="3" />
|
|
9552
|
+
* <qd-input qdColumn="2" qdColumnDisableResponsiveColspans /><!-- colspan 2 is kept until mobile view (excluded) -->
|
|
9474
9553
|
* </qd-grid>
|
|
9475
9554
|
*/
|
|
9476
9555
|
declare class QdColumnDisableResponsiveColspansDirective implements OnInit, AfterViewInit {
|
|
@@ -9488,7 +9567,7 @@ declare class QdColumnDisableResponsiveColspansDirective implements OnInit, Afte
|
|
|
9488
9567
|
|
|
9489
9568
|
declare class QdGridModule {
|
|
9490
9569
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdGridModule, never>;
|
|
9491
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdGridModule, [typeof QdGridComponent, typeof QdSubgridComponent, typeof QdColumnsMaxDirective, typeof QdColumnsDisableAutoFillDirective, typeof QdColumnsDisableResponsiveColspansDirective, typeof QdColumnBreakBeforeDirective, typeof QdColumnNextInSameRowDirective, typeof QdColumnFullGridWidthDirective, typeof QdColumnAutoFillDirective, typeof QdColumnDisableResponsiveColspansDirective], [typeof i2.CommonModule, typeof QdColumnsDirective, typeof QdColumnDirective, typeof
|
|
9570
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdGridModule, [typeof QdGridComponent, typeof QdSubgridComponent, typeof QdColumnsMaxDirective, typeof QdColumnsDisableAutoFillDirective, typeof QdColumnsDisableResponsiveColspansDirective, typeof QdColumnBreakBeforeDirective, typeof QdColumnNextInSameRowDirective, typeof QdColumnFullGridWidthDirective, typeof QdColumnAutoFillDirective, typeof QdColumnDisableResponsiveColspansDirective], [typeof i2.CommonModule, typeof QdColumnsDirective, typeof QdColumnDirective, typeof i5.TranslateModule], [typeof QdGridComponent, typeof QdSubgridComponent, typeof QdColumnDirective, typeof QdColumnsDirective, typeof QdColumnsMaxDirective, typeof QdColumnsDisableAutoFillDirective, typeof QdColumnsDisableResponsiveColspansDirective, typeof QdColumnBreakBeforeDirective, typeof QdColumnNextInSameRowDirective, typeof QdColumnFullGridWidthDirective, typeof QdColumnAutoFillDirective, typeof QdColumnDisableResponsiveColspansDirective]>;
|
|
9492
9571
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdGridModule>;
|
|
9493
9572
|
}
|
|
9494
9573
|
|
|
@@ -10466,11 +10545,11 @@ declare class QdContactCardMenuComponent implements OnInit, OnDestroy {
|
|
|
10466
10545
|
* Configuration for the **QdContactCard** actions
|
|
10467
10546
|
*/
|
|
10468
10547
|
set actions(actions: QdContactCardActionsConfig);
|
|
10469
|
-
get actions$(): Observable<QdContactCardActionConfig[]>;
|
|
10470
10548
|
testId: string;
|
|
10471
10549
|
private _destroyed$;
|
|
10472
10550
|
private _actionsSubject;
|
|
10473
10551
|
private _operationModeSubject;
|
|
10552
|
+
readonly actions$: Observable<QdContactCardActionConfig[]>;
|
|
10474
10553
|
ngOnInit(): void;
|
|
10475
10554
|
ngOnDestroy(): void;
|
|
10476
10555
|
private isDisabled;
|
|
@@ -10483,7 +10562,7 @@ declare class QdContactCardMenuComponent implements OnInit, OnDestroy {
|
|
|
10483
10562
|
|
|
10484
10563
|
declare class QdContactCardModule {
|
|
10485
10564
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdContactCardModule, never>;
|
|
10486
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdContactCardModule, [typeof QdContactCardComponent, typeof QdContactCardMenuComponent], [typeof i2.CommonModule, typeof QdCoreModule, typeof
|
|
10565
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdContactCardModule, [typeof QdContactCardComponent, typeof QdContactCardMenuComponent], [typeof i2.CommonModule, typeof QdCoreModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdButtonModule, typeof QdPopoverModule], [typeof QdContactCardComponent]>;
|
|
10487
10566
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdContactCardModule>;
|
|
10488
10567
|
}
|
|
10489
10568
|
|
|
@@ -10501,7 +10580,7 @@ declare class QdDialogActionComponent {
|
|
|
10501
10580
|
* **Usage:**
|
|
10502
10581
|
*
|
|
10503
10582
|
* @example
|
|
10504
|
-
* import { QdDialogService } from '@quadrel-ui/
|
|
10583
|
+
* import { QdDialogService } from '@quadrel-enterprise-ui/framework';
|
|
10505
10584
|
*
|
|
10506
10585
|
* @example
|
|
10507
10586
|
* const config: QdDialogConfig = {
|
|
@@ -10545,6 +10624,15 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
|
|
|
10545
10624
|
private changeDetectorRef;
|
|
10546
10625
|
private dialogChangeGuard;
|
|
10547
10626
|
private dialogService;
|
|
10627
|
+
/**
|
|
10628
|
+
* A static test ID for integration tests can be set. <br />
|
|
10629
|
+
* The value for the HTML attribute [data-test-id].
|
|
10630
|
+
*
|
|
10631
|
+
* Every element of the dialog derives its own test ID from this root,
|
|
10632
|
+
* for example `<root>-close-button`. A nested dialog passes its own root
|
|
10633
|
+
* down, so a stacked dialog stays reachable without structural selectors.
|
|
10634
|
+
*/
|
|
10635
|
+
testId: string;
|
|
10548
10636
|
body?: ElementRef<HTMLElement>;
|
|
10549
10637
|
infoBanners?: ElementRef<HTMLElement>;
|
|
10550
10638
|
get hasSectionsClass(): boolean;
|
|
@@ -10553,6 +10641,7 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
|
|
|
10553
10641
|
hasInfoBanner: boolean;
|
|
10554
10642
|
private _destroyed$;
|
|
10555
10643
|
private _pageDialogCanCloseFn;
|
|
10644
|
+
private _isConfirmingClose;
|
|
10556
10645
|
get isFullWidth(): boolean;
|
|
10557
10646
|
ngOnInit(): void;
|
|
10558
10647
|
ngAfterContentChecked(): void;
|
|
@@ -10567,7 +10656,7 @@ declare class QdDialogComponent implements OnInit, AfterContentChecked, AfterVie
|
|
|
10567
10656
|
private runCancelHandlerAndClose;
|
|
10568
10657
|
private bindEscToClose;
|
|
10569
10658
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogComponent, never>;
|
|
10570
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogComponent, "qd-dialog", never, {}, {}, never, ["qd-page-info-banner", "*", "qd-dialog-action"], false, never>;
|
|
10659
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogComponent, "qd-dialog", never, { "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["qd-page-info-banner", "*", "qd-dialog-action"], false, never>;
|
|
10571
10660
|
}
|
|
10572
10661
|
|
|
10573
10662
|
/**
|
|
@@ -10974,10 +11063,17 @@ declare class QdDialogAuthSessionEndComponent {
|
|
|
10974
11063
|
* Tracks pending changes inside a QdDialog by comparing the current form value with the initial value.
|
|
10975
11064
|
* Supports both Reactive Forms (FormGroupDirective) and Template-Driven Forms (NgForm).
|
|
10976
11065
|
*
|
|
10977
|
-
* Relevant when closing the dialog (X icon or Cancel button):
|
|
11066
|
+
* Relevant when closing the dialog (X icon, ESC or Cancel button):
|
|
10978
11067
|
* - if the current value equals the initial value, closing will not trigger a pending-changes warning
|
|
10979
11068
|
* - the form is reset to pristine, so the dialog behaves like “unchanged”
|
|
10980
11069
|
*
|
|
11070
|
+
* #### Notes & Best Practices:
|
|
11071
|
+
*
|
|
11072
|
+
* - Pending changes are reported for the dialog that hosts the form. Other open
|
|
11073
|
+
* dialogs are never affected.
|
|
11074
|
+
* - Outside a dialog there is nothing to guard. The form is still reset to
|
|
11075
|
+
* pristine, but no pending changes are reported.
|
|
11076
|
+
*
|
|
10981
11077
|
* #### **Usage (Reactive Form)**
|
|
10982
11078
|
*
|
|
10983
11079
|
* ```html
|
|
@@ -10991,18 +11087,46 @@ declare class QdDialogAuthSessionEndComponent {
|
|
|
10991
11087
|
declare class QdPendingChangesGuardDirective implements OnInit, OnDestroy {
|
|
10992
11088
|
private ngForm;
|
|
10993
11089
|
private formGroupDirective;
|
|
11090
|
+
private dialogRef;
|
|
10994
11091
|
private changeGuard;
|
|
10995
11092
|
private statusSubscription;
|
|
10996
11093
|
private initialValue;
|
|
10997
11094
|
private formGroup;
|
|
10998
11095
|
constructor();
|
|
10999
11096
|
ngOnInit(): void;
|
|
11000
|
-
private updateStatus;
|
|
11001
11097
|
ngOnDestroy(): void;
|
|
11098
|
+
private updateStatus;
|
|
11099
|
+
private reportPendingChanges;
|
|
11002
11100
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPendingChangesGuardDirective, never>;
|
|
11003
11101
|
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPendingChangesGuardDirective, "[qdPendingChangesGuard]", never, {}, {}, never, never, false, never>;
|
|
11004
11102
|
}
|
|
11005
11103
|
|
|
11104
|
+
interface QdDialogConfirmConfig {
|
|
11105
|
+
title?: {
|
|
11106
|
+
i18n: string;
|
|
11107
|
+
};
|
|
11108
|
+
message: {
|
|
11109
|
+
i18n: string;
|
|
11110
|
+
};
|
|
11111
|
+
confirm?: {
|
|
11112
|
+
i18n: string;
|
|
11113
|
+
};
|
|
11114
|
+
cancel?: {
|
|
11115
|
+
i18n: string;
|
|
11116
|
+
};
|
|
11117
|
+
}
|
|
11118
|
+
|
|
11119
|
+
declare class QdDialogConfirmComponent {
|
|
11120
|
+
private dialogRef;
|
|
11121
|
+
private data;
|
|
11122
|
+
config: QdDialogConfirmConfig;
|
|
11123
|
+
testId: string;
|
|
11124
|
+
close(): void;
|
|
11125
|
+
confirm(): void;
|
|
11126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogConfirmComponent, never>;
|
|
11127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdDialogConfirmComponent, "qd-dialog-confirm", never, {}, {}, never, never, false, never>;
|
|
11128
|
+
}
|
|
11129
|
+
|
|
11006
11130
|
declare class QdPageDialogWithBreadcrumbsComponent {
|
|
11007
11131
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageDialogWithBreadcrumbsComponent, never>;
|
|
11008
11132
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageDialogWithBreadcrumbsComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
@@ -11021,7 +11145,7 @@ declare class QdSpinnerModule {
|
|
|
11021
11145
|
|
|
11022
11146
|
declare class QdDialogModule {
|
|
11023
11147
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdDialogModule, never>;
|
|
11024
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDialogModule, [typeof QdDialogActionComponent, typeof QdDialogAuthSessionEndComponent, typeof QdDialogComponent, typeof QdDialogConfirmationComponent, typeof QdDialogConfirmationErrorDirective, typeof QdDialogConfirmationInfoDirective, typeof QdDialogConfirmationSuccessDirective, typeof QdDialogRecordStepperComponent, typeof QdPageDialogWithBreadcrumbsComponent, typeof QdPendingChangesGuardDirective], [typeof i2.CommonModule, typeof
|
|
11148
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdDialogModule, [typeof QdDialogActionComponent, typeof QdDialogAuthSessionEndComponent, typeof QdDialogComponent, typeof QdDialogConfirmComponent, typeof QdDialogConfirmationComponent, typeof QdDialogConfirmationErrorDirective, typeof QdDialogConfirmationInfoDirective, typeof QdDialogConfirmationSuccessDirective, typeof QdDialogRecordStepperComponent, typeof QdPageDialogWithBreadcrumbsComponent, typeof QdPendingChangesGuardDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i4.RouterModule, typeof i12.DialogModule, typeof QdButtonModule, typeof QdFormModule, typeof QdIconModule, typeof QdNotificationsModule, typeof QdSpinnerModule, typeof QdTextSectionModule, typeof QdCoreModule, typeof QdBreadcrumbsModule], [typeof QdDialogActionComponent, typeof QdDialogAuthSessionEndComponent, typeof QdDialogComponent, typeof QdDialogConfirmationComponent, typeof QdDialogConfirmationErrorDirective, typeof QdDialogConfirmationSuccessDirective, typeof QdDialogRecordStepperComponent, typeof QdPendingChangesGuardDirective]>;
|
|
11025
11149
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdDialogModule>;
|
|
11026
11150
|
}
|
|
11027
11151
|
|
|
@@ -11495,7 +11619,7 @@ declare class QdProgressBarModule {
|
|
|
11495
11619
|
|
|
11496
11620
|
declare class QdFileCollectorModule {
|
|
11497
11621
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFileCollectorModule, never>;
|
|
11498
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFileCollectorModule, [typeof QdFileCollectorComponent, typeof QdFileCollectorAllowedFilesDescriptionComponent, typeof QdFileCollectorItemComponent, typeof QdFileCollectorItemNameComponent, typeof QdFileCollectorItemSizeComponent, typeof QdFileCollectorItemToolsComponent, typeof QdFileCollectorDialogComponent, typeof QdFileCollectorDialogItemComponent, typeof QdFileCollectorDialogItemProgressComponent, typeof QdFileCollectorDialogItemErrorComponent, typeof QdFileDeleteDialogComponent, typeof QdFileCollectorUploadTimestampComponent, typeof QdFileSizePipe, typeof QdUploadTimestampPipe], [typeof i2.CommonModule, typeof
|
|
11622
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFileCollectorModule, [typeof QdFileCollectorComponent, typeof QdFileCollectorAllowedFilesDescriptionComponent, typeof QdFileCollectorItemComponent, typeof QdFileCollectorItemNameComponent, typeof QdFileCollectorItemSizeComponent, typeof QdFileCollectorItemToolsComponent, typeof QdFileCollectorDialogComponent, typeof QdFileCollectorDialogItemComponent, typeof QdFileCollectorDialogItemProgressComponent, typeof QdFileCollectorDialogItemErrorComponent, typeof QdFileDeleteDialogComponent, typeof QdFileCollectorUploadTimestampComponent, typeof QdFileSizePipe, typeof QdUploadTimestampPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDialogModule, typeof QdButtonModule, typeof QdCoreModule, typeof QdIconModule, typeof QdProgressBarModule], [typeof QdFileCollectorComponent]>;
|
|
11499
11623
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdFileCollectorModule>;
|
|
11500
11624
|
}
|
|
11501
11625
|
|
|
@@ -11505,6 +11629,7 @@ declare class QdFilterService {
|
|
|
11505
11629
|
private queryStringSubjects;
|
|
11506
11630
|
private filterUrlParameterSubjects;
|
|
11507
11631
|
private postBodySubjects;
|
|
11632
|
+
private itemsLoadingSubjects;
|
|
11508
11633
|
getItems$(filterId: any, categoryIndex: any): Observable<any>;
|
|
11509
11634
|
getItemById$(filterId: any, categoryIndex: any, itemIndex: any): Observable<QdFilterItem>;
|
|
11510
11635
|
getMinDate$(filterId: any, categoryIndex: any, itemIndex: any): Observable<string | undefined>;
|
|
@@ -11524,6 +11649,7 @@ declare class QdFilterService {
|
|
|
11524
11649
|
selectFilterDataById$(filterId: any): Observable<QdFilterCategory[]>;
|
|
11525
11650
|
selectHasActiveCategory$(filterId: any): Observable<boolean>;
|
|
11526
11651
|
getCategoryById$(filterId: any, categoryIndex: any): Observable<any>;
|
|
11652
|
+
getItemsLoading$(filterId: any, categoryIndex: any): Observable<boolean>;
|
|
11527
11653
|
getFilterCategoryValue$(filterId: any, categoryIndex: any): Observable<any>;
|
|
11528
11654
|
/**
|
|
11529
11655
|
* Action dispatcher
|
|
@@ -11539,6 +11665,9 @@ declare class QdFilterService {
|
|
|
11539
11665
|
resetEmissionReplaySubjects(filterId: any): void;
|
|
11540
11666
|
setCategoryFilter(filterId: any, categoryIndex: number, filter: string): void;
|
|
11541
11667
|
resetCategoryFilter(filterId: string, categoryIndex: number): void;
|
|
11668
|
+
clearCategorySelection(filterId: string, categoryIndex: number): void;
|
|
11669
|
+
setItemsLoading(filterId: string, categoryIndex: number, loading: boolean): void;
|
|
11670
|
+
private getItemsLoadingSubject;
|
|
11542
11671
|
private getQueryStringSubject;
|
|
11543
11672
|
private getFilterUrlParameterSubject;
|
|
11544
11673
|
private getPostBodySubject;
|
|
@@ -11547,43 +11676,123 @@ declare class QdFilterService {
|
|
|
11547
11676
|
}
|
|
11548
11677
|
|
|
11549
11678
|
/**
|
|
11550
|
-
*
|
|
11679
|
+
* **QdFilterComponent** lets users build and apply a filter with several categories over a data set.
|
|
11680
|
+
*
|
|
11681
|
+
* #### **Features**
|
|
11682
|
+
*
|
|
11683
|
+
* - **Category types**: single and multi select dropdowns, a boolean toggle, date and date-time pickers, date and date-time ranges, and free text. A select dropdown can also show a filter field that narrows the item list.
|
|
11684
|
+
* - **Outputs**: react to the applied selection through the query-string and post-body outputs, or read the current selection at any time.
|
|
11685
|
+
* - **Multi-staging**: chain categories so one stage loads its items from the selection of another.
|
|
11686
|
+
* - **URL sync**: the selection is kept in the URL, so a view can be shared, bookmarked, and reopened.
|
|
11687
|
+
*
|
|
11688
|
+
* #### **Quick start**
|
|
11689
|
+
*
|
|
11690
|
+
* **1. Add the filter to the template**
|
|
11691
|
+
*
|
|
11692
|
+
* ```html
|
|
11693
|
+
* <qd-filter
|
|
11694
|
+
* [filterData]="myFilterConfig"
|
|
11695
|
+
* (queryStringOutput)="callBackendWithQueryString($event)"
|
|
11696
|
+
* (postBodyOutput)="callBackendWithResultObject($event)"
|
|
11697
|
+
* ></qd-filter>
|
|
11698
|
+
* ```
|
|
11699
|
+
*
|
|
11700
|
+
* **2. Define the config in your component**
|
|
11701
|
+
*
|
|
11702
|
+
* ```typescript
|
|
11703
|
+
* myFilterConfig: QdFilterConfigData = {
|
|
11704
|
+
* categories: [
|
|
11705
|
+
* {
|
|
11706
|
+
* type: 'singleSelect',
|
|
11707
|
+
* category: 'controlObject',
|
|
11708
|
+
* i18n: 'i18n.my.category.controlObject',
|
|
11709
|
+
* items: [
|
|
11710
|
+
* { item: 'vehicle', i18n: 'i18n.my.item.vehicle', active: true },
|
|
11711
|
+
* { item: 'article', i18n: 'i18n.my.item.article' }
|
|
11712
|
+
* ],
|
|
11713
|
+
* filter: true
|
|
11714
|
+
* },
|
|
11715
|
+
* {
|
|
11716
|
+
* type: 'multiSelect',
|
|
11717
|
+
* category: 'enrollmentCountry',
|
|
11718
|
+
* i18n: 'i18n.my.category.enrollmentCountry',
|
|
11719
|
+
* items: [
|
|
11720
|
+
* { item: 'de', i18n: 'i18n.my.item.de' },
|
|
11721
|
+
* { item: 'ch', i18n: 'i18n.my.item.ch' }
|
|
11722
|
+
* ]
|
|
11723
|
+
* }
|
|
11724
|
+
* ],
|
|
11725
|
+
* uid: 'overview-filter'
|
|
11726
|
+
* };
|
|
11727
|
+
* ```
|
|
11728
|
+
*
|
|
11729
|
+
* The `filterData` input is the only configuration. It holds the categories and the behavior flags.
|
|
11730
|
+
*
|
|
11731
|
+
* #### **Category types**
|
|
11551
11732
|
*
|
|
11552
|
-
*
|
|
11553
|
-
*
|
|
11554
|
-
* -
|
|
11555
|
-
*
|
|
11733
|
+
* A category sets its type to one of: singleSelect, multiSelect, boolean, date, dateTime,
|
|
11734
|
+
* dateRange, dateTimeRange or freeText. Single and multi select show a dropdown, boolean is a
|
|
11735
|
+
* toggle, the date types open a picker (the date-time variants add a time picker), and free text
|
|
11736
|
+
* is a text field applied on enter.
|
|
11556
11737
|
*
|
|
11557
|
-
*
|
|
11738
|
+
* On a single or multi select you can add a filter field above the items with `filter: true` to
|
|
11739
|
+
* narrow the item list. It has no effect on the other types.
|
|
11558
11740
|
*
|
|
11559
|
-
*
|
|
11560
|
-
* These outputs will be emitted when the filter is triggered. The `(queryStringOutput)` returns
|
|
11561
|
-
* the applied filters as an url string with an encoded *filter* parameter. The `(postBodyOutput)`
|
|
11562
|
-
* yields an object containing the categories and active items.
|
|
11741
|
+
* #### **Filter selection**
|
|
11563
11742
|
*
|
|
11564
|
-
*
|
|
11565
|
-
* filter
|
|
11743
|
+
* Listen to the outputs to react when the user applies the filter. The query-string output gives
|
|
11744
|
+
* the selection as a URL string (for example filter=...); the post-body output gives it as an
|
|
11745
|
+
* object with the active categories and their values.
|
|
11566
11746
|
*
|
|
11567
|
-
*
|
|
11747
|
+
* The outputs fire when the user applies the filter, on reset (only when a preselection exists),
|
|
11748
|
+
* when the last active item is removed, and on load if a category starts active.
|
|
11568
11749
|
*
|
|
11569
|
-
* To
|
|
11570
|
-
*
|
|
11750
|
+
* To read the selection without waiting for an apply, call `getCurrentQueryString` or
|
|
11751
|
+
* `getCurrentPostBody`, or subscribe to `getFilterChanges$` for a continuous stream.
|
|
11571
11752
|
*
|
|
11572
|
-
*
|
|
11753
|
+
* #### **Multi-staging filters**
|
|
11573
11754
|
*
|
|
11574
|
-
* To
|
|
11575
|
-
*
|
|
11576
|
-
*
|
|
11577
|
-
* of categories given in `dependsOn`. The `itemsResolver` can also be defined in the config where `dependsOn`
|
|
11578
|
-
* is also defined.
|
|
11755
|
+
* To chain categories, give one a `dependsOn` list and an `itemsResolver`. In `dependsOn` you
|
|
11756
|
+
* name the parent categories. The resolver receives the active parents and returns the items for
|
|
11757
|
+
* this stage.
|
|
11579
11758
|
*
|
|
11580
|
-
*
|
|
11581
|
-
*
|
|
11759
|
+
* ```typescript
|
|
11760
|
+
* const cityCategory: QdDependentFilterCategory = {
|
|
11761
|
+
* type: 'multiSelect',
|
|
11762
|
+
* category: 'city',
|
|
11763
|
+
* i18n: 'i18n.my.category.city',
|
|
11764
|
+
* dependsOn: ['country'],
|
|
11765
|
+
* itemsResolver: ([country]) =>
|
|
11766
|
+
* loadCitiesFor(country.items.filter(item => item.active)),
|
|
11767
|
+
* filter: true
|
|
11768
|
+
* };
|
|
11769
|
+
* ```
|
|
11770
|
+
*
|
|
11771
|
+
* The stage appears once every parent has an active item. While its items load, the open
|
|
11772
|
+
* dropdown shows a loading text instead of the list. If the resolver returns nothing, the list
|
|
11773
|
+
* stays empty. Multi-staging works only for single and multi select categories.
|
|
11774
|
+
*
|
|
11775
|
+
* #### **URL synchronization**
|
|
11776
|
+
*
|
|
11777
|
+
* The filter keeps its selection in the URL filter parameter: it is saved when the selection
|
|
11778
|
+
* changes and read back when the page opens, so a user can share or bookmark the URL and return
|
|
11779
|
+
* to the same filter.
|
|
11780
|
+
*
|
|
11781
|
+
* This is on by default. With more than one filter in a view, only one may own the URL, so set
|
|
11782
|
+
* `connectWithRouter` to false on every other filter.
|
|
11783
|
+
*
|
|
11784
|
+
* #### **Preserve filter state**
|
|
11582
11785
|
*
|
|
11583
|
-
*
|
|
11786
|
+
* Give the config a stable `uid` to keep the selection while the user moves around the app, for
|
|
11787
|
+
* example from an overview to a detail page and back. The selection is restored the next time a
|
|
11788
|
+
* filter with the same `uid` is shown.
|
|
11584
11789
|
*
|
|
11585
|
-
*
|
|
11790
|
+
* #### **Reset behavior**
|
|
11586
11791
|
*
|
|
11792
|
+
* An item set to active is a preselection. The reset button reads "Reset" when there is no
|
|
11793
|
+
* preselection, and "Back to preselection" when the config starts with active items. It restores
|
|
11794
|
+
* the initial state. With instant filtering (`isInstantFiltering`) the apply and reset buttons
|
|
11795
|
+
* are hidden and the filter applies on every change.
|
|
11587
11796
|
*/
|
|
11588
11797
|
declare class QdFilterComponent implements OnInit, OnChanges, OnDestroy {
|
|
11589
11798
|
readonly filterService: QdFilterService;
|
|
@@ -11830,43 +12039,20 @@ declare class QdFilterItemDateComponent implements OnInit, OnDestroy {
|
|
|
11830
12039
|
clickTimePlaceholder: EventEmitter<boolean>;
|
|
11831
12040
|
testId: string;
|
|
11832
12041
|
get dataTestId(): string;
|
|
12042
|
+
private datepicker?;
|
|
11833
12043
|
datepickerConfig: QdFormDatepickerConfiguration;
|
|
11834
|
-
item: Date;
|
|
12044
|
+
item: Date | null;
|
|
11835
12045
|
private _destroyed$;
|
|
11836
12046
|
ngOnInit(): void;
|
|
11837
12047
|
ngOnDestroy(): void;
|
|
11838
12048
|
handleDateChange(date: Date): void;
|
|
11839
12049
|
handleClickTimePlaceholder($event: boolean): void;
|
|
12050
|
+
open(): void;
|
|
11840
12051
|
private subscribeGetItem;
|
|
11841
12052
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterItemDateComponent, never>;
|
|
11842
12053
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemDateComponent, "qd-filter-item-date", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "timePickerConfig": { "alias": "timePickerConfig"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "clickTimePlaceholder": "clickTimePlaceholder"; }, never, never, false, never>;
|
|
11843
12054
|
}
|
|
11844
12055
|
|
|
11845
|
-
declare class QdFilterItemDateRangeCategoryComponent implements OnInit {
|
|
11846
|
-
private readonly filterService;
|
|
11847
|
-
filterId: string;
|
|
11848
|
-
categoryIndex: number;
|
|
11849
|
-
testId: string;
|
|
11850
|
-
timePickerConfig?: QdFormTimepickerConfiguration;
|
|
11851
|
-
i18n$: Observable<string>;
|
|
11852
|
-
fromItem$: Observable<QdFilterItem>;
|
|
11853
|
-
fromItemIndex: number;
|
|
11854
|
-
fromItemTimePickerConfig: QdFormTimepickerConfiguration;
|
|
11855
|
-
fromItemTimePlaceholderClicked: boolean;
|
|
11856
|
-
untilItem$: Observable<QdFilterItem>;
|
|
11857
|
-
untilItemIndex: number;
|
|
11858
|
-
untilItemTimePickerConfig: QdFormTimepickerConfiguration;
|
|
11859
|
-
untilItemTimePlaceholderClicked: boolean;
|
|
11860
|
-
ngOnInit(): void;
|
|
11861
|
-
removeItem(itemIndex: any): void;
|
|
11862
|
-
handleFromTimePlaceholderClicked($event: boolean): void;
|
|
11863
|
-
handleUntilTimePlaceholderClicked($event: boolean): void;
|
|
11864
|
-
private setCategoryI18n;
|
|
11865
|
-
private setFromItem;
|
|
11866
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterItemDateRangeCategoryComponent, never>;
|
|
11867
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemDateRangeCategoryComponent, "qd-filter-category-date-range", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "timePickerConfig": { "alias": "timePickerConfig"; "required": false; }; }, {}, never, never, false, never>;
|
|
11868
|
-
}
|
|
11869
|
-
|
|
11870
12056
|
declare class QdFilterItemDateRangeComponent implements OnInit, OnDestroy {
|
|
11871
12057
|
private readonly filterService;
|
|
11872
12058
|
filterId: string;
|
|
@@ -11875,11 +12061,13 @@ declare class QdFilterItemDateRangeComponent implements OnInit, OnDestroy {
|
|
|
11875
12061
|
timePickerConfig?: QdFormTimepickerConfiguration;
|
|
11876
12062
|
testId: string;
|
|
11877
12063
|
clickTimePlaceholder: EventEmitter<boolean>;
|
|
11878
|
-
item: Date;
|
|
12064
|
+
item: Date | null;
|
|
11879
12065
|
config: QdFormDatepickerConfiguration;
|
|
11880
12066
|
private _destroyed$;
|
|
11881
12067
|
get itemClassName(): string;
|
|
11882
12068
|
get dataTestId(): string;
|
|
12069
|
+
private datepicker?;
|
|
12070
|
+
open(): void;
|
|
11883
12071
|
get minDate$(): Observable<string | undefined>;
|
|
11884
12072
|
get maxDate$(): Observable<string | undefined>;
|
|
11885
12073
|
ngOnInit(): void;
|
|
@@ -11893,6 +12081,32 @@ declare class QdFilterItemDateRangeComponent implements OnInit, OnDestroy {
|
|
|
11893
12081
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemDateRangeComponent, "qd-filter-item-date-range", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "timePickerConfig": { "alias": "timePickerConfig"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "clickTimePlaceholder": "clickTimePlaceholder"; }, never, never, false, never>;
|
|
11894
12082
|
}
|
|
11895
12083
|
|
|
12084
|
+
declare class QdFilterItemDateRangeCategoryComponent implements OnInit {
|
|
12085
|
+
private readonly filterService;
|
|
12086
|
+
filterId: string;
|
|
12087
|
+
categoryIndex: number;
|
|
12088
|
+
testId: string;
|
|
12089
|
+
timePickerConfig?: QdFormTimepickerConfiguration;
|
|
12090
|
+
i18n$: Observable<string>;
|
|
12091
|
+
fromItem$: Observable<QdFilterItem>;
|
|
12092
|
+
fromItemIndex: number;
|
|
12093
|
+
fromItemTimePickerConfig: QdFormTimepickerConfiguration;
|
|
12094
|
+
fromItemTimePlaceholderClicked: boolean;
|
|
12095
|
+
untilItem$: Observable<QdFilterItem>;
|
|
12096
|
+
untilItemIndex: number;
|
|
12097
|
+
untilItemTimePickerConfig: QdFormTimepickerConfiguration;
|
|
12098
|
+
untilItemTimePlaceholderClicked: boolean;
|
|
12099
|
+
ngOnInit(): void;
|
|
12100
|
+
openItem(itemRef: QdFilterItemDateRangeComponent, event: Event): void;
|
|
12101
|
+
removeItem(itemIndex: any): void;
|
|
12102
|
+
handleFromTimePlaceholderClicked($event: boolean): void;
|
|
12103
|
+
handleUntilTimePlaceholderClicked($event: boolean): void;
|
|
12104
|
+
private setCategoryI18n;
|
|
12105
|
+
private setFromItem;
|
|
12106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterItemDateRangeCategoryComponent, never>;
|
|
12107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemDateRangeCategoryComponent, "qd-filter-category-date-range", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "timePickerConfig": { "alias": "timePickerConfig"; "required": false; }; }, {}, never, never, false, never>;
|
|
12108
|
+
}
|
|
12109
|
+
|
|
11896
12110
|
declare class QdFilterItemFreeTextComponent implements OnInit, OnDestroy {
|
|
11897
12111
|
private readonly filterService;
|
|
11898
12112
|
filterId: string;
|
|
@@ -11901,11 +12115,12 @@ declare class QdFilterItemFreeTextComponent implements OnInit, OnDestroy {
|
|
|
11901
12115
|
itemIndex: number;
|
|
11902
12116
|
testId: string;
|
|
11903
12117
|
enterClick: EventEmitter<any>;
|
|
12118
|
+
get dataTestId(): string;
|
|
11904
12119
|
item: any;
|
|
11905
12120
|
i18n: any;
|
|
11906
|
-
|
|
11907
|
-
get value(): string;
|
|
12121
|
+
inputValue: string;
|
|
11908
12122
|
private _destroyed$;
|
|
12123
|
+
get value(): string;
|
|
11909
12124
|
ngOnInit(): void;
|
|
11910
12125
|
ngOnDestroy(): void;
|
|
11911
12126
|
handleValueChange(value: any): void;
|
|
@@ -11915,12 +12130,19 @@ declare class QdFilterItemFreeTextComponent implements OnInit, OnDestroy {
|
|
|
11915
12130
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemFreeTextComponent, "qd-filter-item-free-text", never, { "filterId": { "alias": "filterId"; "required": false; }; "isInstantFiltering": { "alias": "isInstantFiltering"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "enterClick": "enterClick"; }, never, never, false, never>;
|
|
11916
12131
|
}
|
|
11917
12132
|
|
|
11918
|
-
|
|
12133
|
+
interface QdFilterItemEntry {
|
|
12134
|
+
item: QdFilterItem;
|
|
12135
|
+
itemIndex: number;
|
|
12136
|
+
}
|
|
12137
|
+
declare class QdFilterItemSelectCategoryComponent implements OnInit, AfterViewInit, QdFilterListboxHost {
|
|
11919
12138
|
private readonly filterService;
|
|
12139
|
+
private readonly breakpointService;
|
|
12140
|
+
readonly isMobile$: Observable<boolean>;
|
|
11920
12141
|
filterId: string;
|
|
11921
12142
|
categoryIndex: number;
|
|
11922
12143
|
testId: string;
|
|
11923
12144
|
popoverDirective: QdPopoverOnClickDirective;
|
|
12145
|
+
triggerRef: ElementRef<HTMLElement>;
|
|
11924
12146
|
open: boolean;
|
|
11925
12147
|
type: 'singleSelect' | 'multiSelect';
|
|
11926
12148
|
i18n: string;
|
|
@@ -11928,68 +12150,130 @@ declare class QdFilterItemSelectCategoryComponent implements OnInit {
|
|
|
11928
12150
|
items: QdFilterItem[];
|
|
11929
12151
|
dependsOn: string[];
|
|
11930
12152
|
showSelectButton$: Observable<boolean>;
|
|
11931
|
-
|
|
12153
|
+
itemsLoading$: Observable<boolean>;
|
|
12154
|
+
listboxId: string;
|
|
12155
|
+
optionIds: string[];
|
|
12156
|
+
activeOptionId: string | null;
|
|
12157
|
+
triggerAriaControls: string | null;
|
|
11932
12158
|
maxFlyoutHeight: number;
|
|
11933
12159
|
private _destroyRef;
|
|
12160
|
+
private frozenSelectedKeys;
|
|
12161
|
+
private frozenUnselectedKeys;
|
|
12162
|
+
private frozenOrder;
|
|
12163
|
+
private keyManager;
|
|
12164
|
+
private readonly options;
|
|
12165
|
+
private readonly registeredOptions;
|
|
11934
12166
|
get closeButton(): boolean;
|
|
12167
|
+
get activeItemCount(): number;
|
|
12168
|
+
get selectedDropdownEntries(): QdFilterItemEntry[];
|
|
12169
|
+
get unselectedDropdownEntries(): QdFilterItemEntry[];
|
|
12170
|
+
get showSelectedSeparator(): boolean;
|
|
12171
|
+
get hasNoVisibleItems(): boolean;
|
|
11935
12172
|
get buttonClassName(): string;
|
|
11936
12173
|
get layerContentClassName(): string;
|
|
11937
12174
|
get filterCategoryValue$(): Observable<string>;
|
|
11938
12175
|
ngOnInit(): void;
|
|
12176
|
+
ngAfterViewInit(): void;
|
|
12177
|
+
registerOption(option: QdFilterListboxOption): void;
|
|
12178
|
+
unregisterOption(option: QdFilterListboxOption): void;
|
|
12179
|
+
private publishOptions;
|
|
12180
|
+
private displayOrder;
|
|
12181
|
+
private updateListboxAriaState;
|
|
11939
12182
|
onLayerOpened(): void;
|
|
12183
|
+
private activateOptionIfListboxFocused;
|
|
11940
12184
|
onLayerClosed(): void;
|
|
11941
12185
|
closeLayer(): void;
|
|
12186
|
+
onListboxKeydown(event: KeyboardEvent): void;
|
|
12187
|
+
onListboxFocus(): void;
|
|
12188
|
+
onListboxBlur(): void;
|
|
12189
|
+
onFlyoutFocusout(event: FocusEvent): void;
|
|
12190
|
+
private ensureActiveOption;
|
|
12191
|
+
private initialActiveOption;
|
|
12192
|
+
private selectActiveOption;
|
|
12193
|
+
private closeAndRefocus;
|
|
11942
12194
|
close(itemIndex: string): void;
|
|
12195
|
+
clearAll(): void;
|
|
12196
|
+
trackByItem(_index: number, entry: QdFilterItemEntry): string;
|
|
12197
|
+
private freezeDropdownOrder;
|
|
12198
|
+
private toEntries;
|
|
11943
12199
|
changeValue($event: string): void;
|
|
11944
12200
|
private initCategorySubscription;
|
|
11945
12201
|
private initItemsSubscription;
|
|
12202
|
+
private haveSameItemKeys;
|
|
11946
12203
|
private initShowSelectButton;
|
|
11947
12204
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterItemSelectCategoryComponent, never>;
|
|
11948
12205
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemSelectCategoryComponent, "qd-filter-category-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
11949
12206
|
}
|
|
11950
12207
|
|
|
11951
|
-
declare class QdFilterItemMultiSelectComponent implements OnInit, OnDestroy {
|
|
12208
|
+
declare class QdFilterItemMultiSelectComponent implements OnInit, OnDestroy, QdFilterListboxOption {
|
|
11952
12209
|
private filterService;
|
|
12210
|
+
private translateService;
|
|
12211
|
+
private elementRef;
|
|
12212
|
+
private category;
|
|
11953
12213
|
filterId: string;
|
|
11954
12214
|
categoryIndex: number;
|
|
11955
12215
|
itemIndex: number;
|
|
12216
|
+
optionElementId: string;
|
|
11956
12217
|
testId: string;
|
|
11957
|
-
get dataTestId(): string;
|
|
11958
12218
|
item: any;
|
|
11959
12219
|
i18n: any;
|
|
11960
12220
|
active: any;
|
|
12221
|
+
isActive: boolean;
|
|
12222
|
+
role: string;
|
|
12223
|
+
get idAttr(): string;
|
|
12224
|
+
get ariaSelected(): boolean;
|
|
12225
|
+
get activeClass(): boolean;
|
|
12226
|
+
get dataTestId(): string;
|
|
12227
|
+
onMouseDown(event: MouseEvent): void;
|
|
11961
12228
|
private _destroyed$;
|
|
11962
12229
|
ngOnInit(): void;
|
|
11963
12230
|
ngOnDestroy(): void;
|
|
12231
|
+
setActiveStyles(): void;
|
|
12232
|
+
setInactiveStyles(): void;
|
|
12233
|
+
getLabel(): string;
|
|
12234
|
+
scrollIntoView(): void;
|
|
11964
12235
|
clickToggle($event: any): void;
|
|
11965
12236
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterItemMultiSelectComponent, never>;
|
|
11966
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemMultiSelectComponent, "qd-filter-item-multi-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
12237
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemMultiSelectComponent, "qd-filter-item-multi-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "optionElementId": { "alias": "optionElementId"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
|
|
11967
12238
|
}
|
|
11968
12239
|
|
|
11969
|
-
declare class QdFilterItemSingleSelectComponent implements OnInit, OnDestroy {
|
|
12240
|
+
declare class QdFilterItemSingleSelectComponent implements OnInit, OnDestroy, QdFilterListboxOption {
|
|
11970
12241
|
private filterService;
|
|
12242
|
+
private translateService;
|
|
12243
|
+
private elementRef;
|
|
12244
|
+
private category;
|
|
11971
12245
|
filterId: string;
|
|
11972
12246
|
categoryIndex: number;
|
|
11973
12247
|
itemIndex: number;
|
|
12248
|
+
optionElementId: string;
|
|
11974
12249
|
testId: string;
|
|
11975
12250
|
closeEventEmitter: EventEmitter<string>;
|
|
11976
12251
|
item: any;
|
|
11977
12252
|
i18n: any;
|
|
11978
12253
|
active: any;
|
|
12254
|
+
isActive: boolean;
|
|
12255
|
+
role: string;
|
|
12256
|
+
get idAttr(): string;
|
|
12257
|
+
get ariaSelected(): boolean;
|
|
12258
|
+
get activeClass(): boolean;
|
|
11979
12259
|
get dataTestId(): string;
|
|
11980
12260
|
private _destroyed$;
|
|
11981
12261
|
ngOnInit(): void;
|
|
11982
12262
|
ngOnDestroy(): void;
|
|
12263
|
+
setActiveStyles(): void;
|
|
12264
|
+
setInactiveStyles(): void;
|
|
12265
|
+
getLabel(): string;
|
|
12266
|
+
scrollIntoView(): void;
|
|
11983
12267
|
handleActive(): void;
|
|
11984
12268
|
setItems(): void;
|
|
11985
12269
|
close(): void;
|
|
11986
12270
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterItemSingleSelectComponent, never>;
|
|
11987
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemSingleSelectComponent, "qd-filter-item-single-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "closeEventEmitter": "closeEventEmitter"; }, never, never, false, never>;
|
|
12271
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdFilterItemSingleSelectComponent, "qd-filter-item-single-select", never, { "filterId": { "alias": "filterId"; "required": false; }; "categoryIndex": { "alias": "categoryIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "optionElementId": { "alias": "optionElementId"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "closeEventEmitter": "closeEventEmitter"; }, never, never, false, never>;
|
|
11988
12272
|
}
|
|
11989
12273
|
|
|
11990
12274
|
declare class QdFilterModule {
|
|
11991
12275
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdFilterModule, never>;
|
|
11992
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFilterModule, [typeof LocaleDatePipe, typeof QdFilterComponent, typeof QdFilterCategoryComponent, typeof QdFilterCategoryBooleanComponent, typeof QdFilterItemBooleanComponent, typeof QdFilterItemDateCategoryComponent, typeof QdFilterItemDateComponent, typeof QdFilterItemDateRangeCategoryComponent, typeof QdFilterItemDateRangeComponent, typeof QdFilterItemFreeTextCategoryComponent, typeof QdFilterItemFreeTextComponent, typeof QdFilterItemSelectCategoryComponent, typeof QdFilterItemMultiSelectComponent, typeof QdFilterItemSingleSelectComponent], [typeof i2.CommonModule, typeof
|
|
12276
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFilterModule, [typeof LocaleDatePipe, typeof QdFilterComponent, typeof QdFilterCategoryComponent, typeof QdFilterCategoryBooleanComponent, typeof QdFilterItemBooleanComponent, typeof QdFilterItemDateCategoryComponent, typeof QdFilterItemDateComponent, typeof QdFilterItemDateRangeCategoryComponent, typeof QdFilterItemDateRangeComponent, typeof QdFilterItemFreeTextCategoryComponent, typeof QdFilterItemFreeTextComponent, typeof QdFilterItemSelectCategoryComponent, typeof QdFilterItemMultiSelectComponent, typeof QdFilterItemSingleSelectComponent], [typeof i2.CommonModule, typeof i30.FormsModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdChipModule, typeof QdCoreModule, typeof QdFormModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdTooltipModule, typeof QdAutofocusModule, typeof i26.StoreFeatureModule], [typeof QdFilterComponent]>;
|
|
11993
12277
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdFilterModule>;
|
|
11994
12278
|
}
|
|
11995
12279
|
|
|
@@ -12305,7 +12589,7 @@ declare class NavigationTileComponent implements OnInit {
|
|
|
12305
12589
|
|
|
12306
12590
|
declare class QdNavigationTilesModule {
|
|
12307
12591
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdNavigationTilesModule, never>;
|
|
12308
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNavigationTilesModule, [typeof NavigationTilesComponent, typeof NavigationTileComponent], [typeof i2.CommonModule, typeof QdIconModule, typeof
|
|
12592
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdNavigationTilesModule, [typeof NavigationTilesComponent, typeof NavigationTileComponent], [typeof i2.CommonModule, typeof QdIconModule, typeof i5.TranslateModule], [typeof NavigationTilesComponent, typeof NavigationTileComponent]>;
|
|
12309
12593
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdNavigationTilesModule>;
|
|
12310
12594
|
}
|
|
12311
12595
|
|
|
@@ -12378,6 +12662,18 @@ declare class QdPageControlPanelComponent {
|
|
|
12378
12662
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageControlPanelComponent, "qd-page-control-panel", never, { "config": { "alias": "config"; "required": true; }; }, {}, never, ["qd-text-section", "qd-panel-section", "qd-section"], false, never>;
|
|
12379
12663
|
}
|
|
12380
12664
|
|
|
12665
|
+
declare class QdPageFooterCustomContentDirective implements OnInit, OnDestroy {
|
|
12666
|
+
private footerService;
|
|
12667
|
+
ngOnInit(): void;
|
|
12668
|
+
ngOnDestroy(): void;
|
|
12669
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageFooterCustomContentDirective, never>;
|
|
12670
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPageFooterCustomContentDirective, "[qdPageFooter]", never, {}, {}, never, never, false, never>;
|
|
12671
|
+
}
|
|
12672
|
+
|
|
12673
|
+
/**
|
|
12674
|
+
* Type for the keys of footer actions.
|
|
12675
|
+
*/
|
|
12676
|
+
type QdFooterActionKey = 'saveDraft' | 'previous' | 'next' | 'cancel' | 'submit';
|
|
12381
12677
|
/**
|
|
12382
12678
|
* Interface that describes the configuration of a footer action.
|
|
12383
12679
|
*/
|
|
@@ -12604,15 +12900,6 @@ interface QdPageObjectResolver<T extends object> {
|
|
|
12604
12900
|
* @description Resolves the data for the Page Object Header.
|
|
12605
12901
|
*/
|
|
12606
12902
|
resolve(): Observable<T>;
|
|
12607
|
-
/**
|
|
12608
|
-
* Updates the metadata of the page object model. Can be invoked with an action and accepts a partial metadata object.
|
|
12609
|
-
*
|
|
12610
|
-
* @deprecated Use `QdPageConfig.metadata$` instead. Declare an `Observable<Partial<T>>` (typically a `Subject`)
|
|
12611
|
-
* on the page config and emit partial updates through it — the page header subscribes to it and merges each
|
|
12612
|
-
* emission into the current object data. The `updateMetadata` method is kept for backward compatibility and
|
|
12613
|
-
* will be removed in a future major version.
|
|
12614
|
-
*/
|
|
12615
|
-
updateMetadata?(metadata: Partial<T>): void;
|
|
12616
12903
|
}
|
|
12617
12904
|
/**
|
|
12618
12905
|
* Config for the QdPageObjectResolver
|
|
@@ -12636,6 +12923,26 @@ interface QdPageObjectResolverConfig {
|
|
|
12636
12923
|
triggerOn?: 'always' | 'paramsChange' | 'pathParamsChange' | 'queryParamsChange' | 'paramsOrQueryParamsChange' | 'pathParamsOrQueryParamsChange';
|
|
12637
12924
|
}
|
|
12638
12925
|
|
|
12926
|
+
/**
|
|
12927
|
+
* **QdPageHeaderExtensionDirective** projects a team-defined header extension into the QdPage header,
|
|
12928
|
+
* right next to the page actions.
|
|
12929
|
+
*
|
|
12930
|
+
* This is a targeted slot, not a general-purpose content projection point — only content marked with
|
|
12931
|
+
* `qdPageHeaderExtension` is passed through to the header.
|
|
12932
|
+
*
|
|
12933
|
+
* ```html
|
|
12934
|
+
* <qd-page [config]="pageConfig">
|
|
12935
|
+
* <div qdPageHeaderExtension>
|
|
12936
|
+
* <button qdButton qdButtonGhost>My Control</button>
|
|
12937
|
+
* </div>
|
|
12938
|
+
* </qd-page>
|
|
12939
|
+
* ```
|
|
12940
|
+
*/
|
|
12941
|
+
declare class QdPageHeaderExtensionDirective {
|
|
12942
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageHeaderExtensionDirective, never>;
|
|
12943
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPageHeaderExtensionDirective, "[qdPageHeaderExtension]", never, {}, {}, never, never, false, never>;
|
|
12944
|
+
}
|
|
12945
|
+
|
|
12639
12946
|
/**
|
|
12640
12947
|
* **QdPageStepperAdapterDirective** lets developers easily add custom components to the QLS layout. This keeps the design and behavior consistent across the UI.
|
|
12641
12948
|
*
|
|
@@ -12889,6 +13196,28 @@ declare class QdPageTabsAdapterDirective implements OnInit {
|
|
|
12889
13196
|
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPageTabsAdapterDirective, "[qdPageTabsAdapter]", never, {}, {}, never, never, false, never>;
|
|
12890
13197
|
}
|
|
12891
13198
|
|
|
13199
|
+
declare class QdPageFooterService {
|
|
13200
|
+
private _pageFooterActions;
|
|
13201
|
+
private _customContentCount;
|
|
13202
|
+
pageFooterActions$: rxjs.Observable<Map<QdFooterActionKey, QdPageFooterAction>>;
|
|
13203
|
+
customContentCount$: rxjs.Observable<number>;
|
|
13204
|
+
footerHasContent$: rxjs.Observable<boolean>;
|
|
13205
|
+
registerCustomContent(): void;
|
|
13206
|
+
detachCustomContent(): void;
|
|
13207
|
+
setActions(actionsArray: Array<{
|
|
13208
|
+
key: QdFooterActionKey;
|
|
13209
|
+
action: QdPageFooterAction;
|
|
13210
|
+
}>): void;
|
|
13211
|
+
updateActions(updates: {
|
|
13212
|
+
actionKey: QdFooterActionKey;
|
|
13213
|
+
partialAction: Partial<QdPageFooterAction>;
|
|
13214
|
+
}[]): void;
|
|
13215
|
+
private sortActionsByPriority;
|
|
13216
|
+
private isAnyActionVisible;
|
|
13217
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageFooterService, never>;
|
|
13218
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QdPageFooterService>;
|
|
13219
|
+
}
|
|
13220
|
+
|
|
12892
13221
|
/**
|
|
12893
13222
|
* The configuration object of the tabs
|
|
12894
13223
|
*/
|
|
@@ -13016,7 +13345,8 @@ interface QdPageTabCounters {
|
|
|
13016
13345
|
/**
|
|
13017
13346
|
* The **QdPageTab** is a single tab inside the **QdPageTabs** within a **QdPage**.
|
|
13018
13347
|
*/
|
|
13019
|
-
declare class QdPageTabComponent
|
|
13348
|
+
declare class QdPageTabComponent implements OnInit, OnChanges, OnDestroy {
|
|
13349
|
+
private readonly _pageTabs;
|
|
13020
13350
|
private translate;
|
|
13021
13351
|
/**
|
|
13022
13352
|
* Configuration of QdPageTabComponent.
|
|
@@ -13028,8 +13358,14 @@ declare class QdPageTabComponent extends CdkStep implements OnInit, OnChanges, O
|
|
|
13028
13358
|
set tabControl(tabControl: AbstractControl);
|
|
13029
13359
|
get tabControl(): AbstractControl;
|
|
13030
13360
|
infoBanners: QueryList<QdPageInfoBannerComponent>;
|
|
13361
|
+
content: TemplateRef<any>;
|
|
13362
|
+
stepControl?: AbstractControl;
|
|
13363
|
+
interacted: boolean;
|
|
13364
|
+
editable: boolean;
|
|
13365
|
+
get completed(): boolean;
|
|
13366
|
+
get hasError(): boolean;
|
|
13031
13367
|
private _destroyed$;
|
|
13032
|
-
|
|
13368
|
+
select(): void;
|
|
13033
13369
|
ngOnInit(): void;
|
|
13034
13370
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
13035
13371
|
ngOnDestroy(): void;
|
|
@@ -13165,7 +13501,7 @@ interface QdTabSelectionEvent {
|
|
|
13165
13501
|
* ```typescript
|
|
13166
13502
|
* import { Component } from '@angular/core';
|
|
13167
13503
|
* import { Router } from '@angular/router';
|
|
13168
|
-
* import { QdPageTabsConfig, QdPageTabConfig } from '@
|
|
13504
|
+
* import { QdPageTabsConfig, QdPageTabConfig } from '@quadrel-enterprise-ui/framework';
|
|
13169
13505
|
*
|
|
13170
13506
|
* @Component({
|
|
13171
13507
|
* selector: 'app-bookmarkable-tabs',
|
|
@@ -13225,10 +13561,14 @@ interface QdTabSelectionEvent {
|
|
|
13225
13561
|
* - If an invalid tab name is provided in URL, the first available tab is selected
|
|
13226
13562
|
* - If no tab parameter is present, the `selectedIndex` or first non-disabled tab is selected
|
|
13227
13563
|
*/
|
|
13228
|
-
declare class QdPageTabsComponent
|
|
13229
|
-
|
|
13230
|
-
private pageStoreService;
|
|
13564
|
+
declare class QdPageTabsComponent implements OnInit, OnChanges, AfterContentInit, AfterViewInit {
|
|
13565
|
+
readonly footerService: QdPageFooterService;
|
|
13566
|
+
private readonly pageStoreService;
|
|
13231
13567
|
private readonly routerConnector;
|
|
13568
|
+
private readonly _changeDetectorRef;
|
|
13569
|
+
private readonly destroyRef;
|
|
13570
|
+
private static _idCounter;
|
|
13571
|
+
private readonly _id;
|
|
13232
13572
|
protected get hasPageFooter(): boolean;
|
|
13233
13573
|
/**
|
|
13234
13574
|
* Configuration of QdPageTabs.
|
|
@@ -13239,17 +13579,26 @@ declare class QdPageTabsComponent extends CdkStepper implements OnInit, OnChange
|
|
|
13239
13579
|
*/
|
|
13240
13580
|
testId: string;
|
|
13241
13581
|
readonly tabSelection: EventEmitter<QdTabSelectionEvent>;
|
|
13582
|
+
private _tabs;
|
|
13583
|
+
linear: boolean;
|
|
13584
|
+
private _selectedIndex;
|
|
13242
13585
|
private _viewonly;
|
|
13243
|
-
private readonly destroyRef;
|
|
13244
13586
|
get tabs(): QueryList<QdPageTabComponent>;
|
|
13245
13587
|
get selected(): QdPageTabComponent | undefined;
|
|
13246
|
-
set selected(
|
|
13247
|
-
|
|
13588
|
+
set selected(tab: QdPageTabComponent | undefined);
|
|
13589
|
+
get selectedIndex(): number;
|
|
13590
|
+
set selectedIndex(newIndex: number);
|
|
13248
13591
|
ngOnInit(): void;
|
|
13249
13592
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13250
|
-
_getIndicatorType(index: number, state?: StepState): StepState;
|
|
13251
13593
|
ngAfterContentInit(): void;
|
|
13252
13594
|
ngAfterViewInit(): void;
|
|
13595
|
+
_stateChanged(): void;
|
|
13596
|
+
_getIndicatorType(index: number): string;
|
|
13597
|
+
_getTabLabelId(i: number): string;
|
|
13598
|
+
save(): void;
|
|
13599
|
+
selectTab(tab: QdPageTabComponent): void;
|
|
13600
|
+
isSubmitButtonShown(): boolean;
|
|
13601
|
+
isSubmitButtonDisabled(): boolean | undefined;
|
|
13253
13602
|
private initializeTabSelection;
|
|
13254
13603
|
private configureBookmarkableTabs;
|
|
13255
13604
|
private isTabSelectable;
|
|
@@ -13257,15 +13606,9 @@ declare class QdPageTabsComponent extends CdkStepper implements OnInit, OnChange
|
|
|
13257
13606
|
* Selects the first tab that is not disabled.
|
|
13258
13607
|
*/
|
|
13259
13608
|
private selectFirstNotDisabledTab;
|
|
13260
|
-
save(): void;
|
|
13261
|
-
selectTab(tab: QdPageTabComponent): void;
|
|
13262
|
-
isSubmitButtonShown(): boolean;
|
|
13263
|
-
isSubmitButtonDisabled(): boolean | undefined;
|
|
13264
|
-
_getTabLabelId(i: number): string;
|
|
13265
13609
|
private blockCdkInput;
|
|
13266
|
-
private mapSelectionChangeToTabSelectionOutput;
|
|
13267
13610
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageTabsComponent, never>;
|
|
13268
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageTabsComponent, "qd-page-tabs", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "tabSelection": "tabSelection"; },
|
|
13611
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageTabsComponent, "qd-page-tabs", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "tabSelection": "tabSelection"; }, ["_tabs"], never, true, never>;
|
|
13269
13612
|
}
|
|
13270
13613
|
|
|
13271
13614
|
interface QdSearchPostBodyData {
|
|
@@ -13286,14 +13629,6 @@ interface QdSectionConfig {
|
|
|
13286
13629
|
* - The `i18n` property specifies the translation key for the title.
|
|
13287
13630
|
*/
|
|
13288
13631
|
title?: QdSectionTitle;
|
|
13289
|
-
/**
|
|
13290
|
-
* @description Configures the action for the section.
|
|
13291
|
-
*
|
|
13292
|
-
* **Note**: `action` and `actions` cannot be used together. Only `actions` should be used.
|
|
13293
|
-
*
|
|
13294
|
-
* @deprecated Use `actions` instead. The `action` key will be removed in v18.
|
|
13295
|
-
*/
|
|
13296
|
-
action?: QdLegacySectionActionConfig;
|
|
13297
13632
|
/**
|
|
13298
13633
|
* @description Configures the actions shown on the right of the section toolbar.
|
|
13299
13634
|
*
|
|
@@ -13349,24 +13684,6 @@ interface QdSectionTitle {
|
|
|
13349
13684
|
*/
|
|
13350
13685
|
tooltip?: QdTooltip;
|
|
13351
13686
|
}
|
|
13352
|
-
interface QdLegacySectionActionConfig {
|
|
13353
|
-
/**
|
|
13354
|
-
* @description Defines the icon to display for the action. Leave empty if no icon is needed.
|
|
13355
|
-
*
|
|
13356
|
-
* - For a list of available icons, see {@link https://quadrel.ezv.admin.ch/?path=/story/components-icon--icons-set}.
|
|
13357
|
-
*/
|
|
13358
|
-
icon?: string;
|
|
13359
|
-
/**
|
|
13360
|
-
* @description Specifies the type of the action. This value will be emitted in the action output callback.
|
|
13361
|
-
*
|
|
13362
|
-
* - Predefined type: `"addNew"` automatically applies a plus icon and a default i18n key.
|
|
13363
|
-
*/
|
|
13364
|
-
type?: QdSectionActionType;
|
|
13365
|
-
/**
|
|
13366
|
-
* @description Specifies the translation key for the action label.
|
|
13367
|
-
*/
|
|
13368
|
-
i18n?: string;
|
|
13369
|
-
}
|
|
13370
13687
|
/**
|
|
13371
13688
|
* @description Configuration for predefined actions like `"addNew"`.
|
|
13372
13689
|
*
|
|
@@ -13830,44 +14147,21 @@ declare class QdSectionComponent implements OnInit, AfterViewInit, OnChanges, On
|
|
|
13830
14147
|
* }
|
|
13831
14148
|
* ```
|
|
13832
14149
|
*
|
|
13833
|
-
*
|
|
14150
|
+
* #### **Overview Page**
|
|
14151
|
+
*
|
|
14152
|
+
* On an overview page, a list of business cases can be displayed. Typically, this is done in a **QdTable**, including filters and/or search options. There are actions that handle routing to the related detail pages, where the business cases, represented by a business object model, can be viewed, edited, or newly created.
|
|
13834
14153
|
*
|
|
13835
14154
|
* ```ts
|
|
13836
|
-
*
|
|
13837
|
-
*
|
|
13838
|
-
*
|
|
13839
|
-
*
|
|
13840
|
-
*
|
|
13841
|
-
*
|
|
13842
|
-
*
|
|
13843
|
-
*
|
|
13844
|
-
*
|
|
13845
|
-
*
|
|
13846
|
-
*
|
|
13847
|
-
* class MyPageComponent {
|
|
13848
|
-
* constructor(@Inject(QD_PAGE_OBJECT_RESOLVER_TOKEN) private objectResolver: MyObjectModelResolver) {}
|
|
13849
|
-
*
|
|
13850
|
-
* updateStatus() {
|
|
13851
|
-
* this.objectResolver.updateMetadata({ state: 'Updated' });
|
|
13852
|
-
* }
|
|
13853
|
-
* }
|
|
13854
|
-
* ```
|
|
13855
|
-
*
|
|
13856
|
-
* #### **Overview Page**
|
|
13857
|
-
*
|
|
13858
|
-
* On an overview page, a list of business cases can be displayed. Typically, this is done in a **QdTable**, including filters and/or search options. There are actions that handle routing to the related detail pages, where the business cases, represented by a business object model, can be viewed, edited, or newly created.
|
|
13859
|
-
*
|
|
13860
|
-
* ```ts
|
|
13861
|
-
* const overviewPageConfig: QdPageConfig<MyObjectType> = {
|
|
13862
|
-
* title: { i18n: 'i18n.my-page.title' },
|
|
13863
|
-
* pageType: 'overview',
|
|
13864
|
-
* pageTypeConfig: {
|
|
13865
|
-
* customActions: [
|
|
13866
|
-
* {
|
|
13867
|
-
* i18n: 'i18n.custom.action',
|
|
13868
|
-
* handler: () => doSomething()
|
|
13869
|
-
* }
|
|
13870
|
-
* ]
|
|
14155
|
+
* const overviewPageConfig: QdPageConfig<MyObjectType> = {
|
|
14156
|
+
* title: { i18n: 'i18n.my-page.title' },
|
|
14157
|
+
* pageType: 'overview',
|
|
14158
|
+
* pageTypeConfig: {
|
|
14159
|
+
* customActions: [
|
|
14160
|
+
* {
|
|
14161
|
+
* i18n: 'i18n.custom.action',
|
|
14162
|
+
* handler: () => doSomething()
|
|
14163
|
+
* }
|
|
14164
|
+
* ]
|
|
13871
14165
|
* }
|
|
13872
14166
|
* };
|
|
13873
14167
|
* ```
|
|
@@ -13976,7 +14270,7 @@ declare class QdSectionComponent implements OnInit, AfterViewInit, OnChanges, On
|
|
|
13976
14270
|
* }
|
|
13977
14271
|
*
|
|
13978
14272
|
* @Component({
|
|
13979
|
-
* selector: '
|
|
14273
|
+
* selector: 'app-page-create',
|
|
13980
14274
|
* templateUrl: './create.component.html',
|
|
13981
14275
|
* providers: [
|
|
13982
14276
|
* {
|
|
@@ -14092,6 +14386,7 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14092
14386
|
private bottomOffset$;
|
|
14093
14387
|
private readonly dialogRef;
|
|
14094
14388
|
private readonly navigationInterceptor;
|
|
14389
|
+
private readonly injector;
|
|
14095
14390
|
private readonly confirmationDialogService;
|
|
14096
14391
|
/**
|
|
14097
14392
|
* This property defines the configuration for the QdPage component, including the page type,
|
|
@@ -14165,7 +14460,7 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14165
14460
|
private initSubmitValidation;
|
|
14166
14461
|
private setupPageDialogCloseContract;
|
|
14167
14462
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageComponent<any>, never>;
|
|
14168
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageComponent<any>, "qd-page", never, { "config": { "alias": "config"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "operationModeChanged": "operationModeChanged"; }, ["controlPanel", "stepperComponent", "tabsComponent", "stepperAdapterDirective", "tabsAdapterDirective", "sections", "infoBanners"], ["qd-page-info-banner", "qd-page-stepper", "[qdPageStepperAdapter]", "qd-page-tabs", "[qdPageTabsAdapter]", "qd-section", "[qdSectionAdapter]", "[qdPageFooter]", "qd-page-control-panel", "*"], false, never>;
|
|
14463
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageComponent<any>, "qd-page", never, { "config": { "alias": "config"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "operationModeChanged": "operationModeChanged"; }, ["controlPanel", "stepperComponent", "tabsComponent", "stepperAdapterDirective", "tabsAdapterDirective", "sections", "infoBanners"], ["[qdPageHeaderExtension]", "qd-page-info-banner", "qd-page-stepper", "[qdPageStepperAdapter]", "qd-page-tabs", "[qdPageTabsAdapter]", "qd-section", "[qdSectionAdapter]", "[qdPageFooter]", "qd-page-control-panel", "*"], false, never>;
|
|
14169
14464
|
}
|
|
14170
14465
|
|
|
14171
14466
|
/**
|
|
@@ -14180,6 +14475,11 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14180
14475
|
* - Snapshots store only raw values and are taken by the page/header workflow (e.g. on init, edit, save). The confirmation dialog may restore all registered form groups from the snapshot.
|
|
14181
14476
|
* - FormArrays are restored with dynamic resizing (length is aligned to snapshot before values are reset).
|
|
14182
14477
|
*
|
|
14478
|
+
* ### **Filling a form right after connecting it**
|
|
14479
|
+
* - You can fill a connected form right after registration — e.g. an `effect` that adds controls or pushes `FormArray` rows. This first fill is the form's starting point, not a user change.
|
|
14480
|
+
* - So loading data into a fresh form never triggers a false "unsaved changes" prompt. Only later edits count.
|
|
14481
|
+
* - This only covers fills that happen right after registration, in the same task. Data that arrives later — e.g. an HTTP response — counts as a user change. For async loads, render the form only once the data is there (e.g. with `@if`).
|
|
14482
|
+
*
|
|
14183
14483
|
* ### **Page-Dialog (FullWidth) – Unsaved-Changes Close Contract**
|
|
14184
14484
|
* - When a QdPage is embedded in a full-width page dialog, the directive’s registered form groups are also used to guard dialog closing.
|
|
14185
14485
|
* - The page dialog can only close (e.g. via ESC or backdrop) if no unsaved changes are detected ($hasValuesChanged() is false).
|
|
@@ -14192,8 +14492,10 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14192
14492
|
* ```html
|
|
14193
14493
|
* <qd-page [config]="pageConfig">
|
|
14194
14494
|
* <qd-section [config]="sectionConfig">
|
|
14195
|
-
* <qd-grid
|
|
14196
|
-
*
|
|
14495
|
+
* <qd-grid
|
|
14496
|
+
* qdConnectFormStateToPage="myFormGroup"
|
|
14497
|
+
* [formGroup]="myFormGroup">
|
|
14498
|
+
* My Section
|
|
14197
14499
|
* </qd-grid>
|
|
14198
14500
|
* </qd-section>
|
|
14199
14501
|
* </qd-page>
|
|
@@ -14213,13 +14515,14 @@ declare class QdPageComponent<T extends object> implements OnInit, OnChanges, Af
|
|
|
14213
14515
|
declare class QdConnectFormStateToPageDirective implements OnInit, OnDestroy {
|
|
14214
14516
|
private formGroupManagerService;
|
|
14215
14517
|
private formGroupDirective;
|
|
14518
|
+
private closeInitialBuildupHandle?;
|
|
14216
14519
|
/**
|
|
14217
14520
|
* This key is used to manage and track the form state within the page. It has to be unique for each FormGroup Connector. Use the property name of the FormGroup in your component.
|
|
14218
14521
|
*/
|
|
14219
14522
|
qdConnectFormStateToPage: string;
|
|
14220
14523
|
ngOnInit(): void;
|
|
14221
14524
|
ngOnDestroy(): void;
|
|
14222
|
-
|
|
14525
|
+
private scheduleInitialBaseline;
|
|
14223
14526
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdConnectFormStateToPageDirective, never>;
|
|
14224
14527
|
static ɵdir: i0.ɵɵDirectiveDeclaration<QdConnectFormStateToPageDirective, "[qdConnectFormStateToPage]", never, { "qdConnectFormStateToPage": { "alias": "qdConnectFormStateToPage"; "required": false; }; }, {}, never, never, false, never>;
|
|
14225
14528
|
}
|
|
@@ -14285,6 +14588,11 @@ declare class QdPageStoreService<T extends object> {
|
|
|
14285
14588
|
}
|
|
14286
14589
|
|
|
14287
14590
|
declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, OnChanges, OnDestroy {
|
|
14591
|
+
config: QdPageConfig<T>;
|
|
14592
|
+
hasNavigation: boolean;
|
|
14593
|
+
testId: string;
|
|
14594
|
+
get isInDialog(): boolean;
|
|
14595
|
+
toggleFacets(): void;
|
|
14288
14596
|
private pageObjectResolver;
|
|
14289
14597
|
private formGroupManagerService;
|
|
14290
14598
|
private navigationInterceptor;
|
|
@@ -14293,13 +14601,8 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
|
|
|
14293
14601
|
private confirmationDialogService;
|
|
14294
14602
|
private contextService;
|
|
14295
14603
|
private resolverTriggerService;
|
|
14604
|
+
private readonly injector;
|
|
14296
14605
|
private pageStoreService;
|
|
14297
|
-
config: QdPageConfig<T>;
|
|
14298
|
-
hasNavigation: boolean;
|
|
14299
|
-
testId: string;
|
|
14300
|
-
get isInDialog(): boolean;
|
|
14301
|
-
toggleFacets(): void;
|
|
14302
|
-
get adaptiveMode(): boolean;
|
|
14303
14606
|
private _pageObjectDataSubject;
|
|
14304
14607
|
private _isLoadingSubject;
|
|
14305
14608
|
private _customActionsSubject;
|
|
@@ -14320,6 +14623,7 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
|
|
|
14320
14623
|
selection: QdPageSelectedContext | QdPageSelectedContext[];
|
|
14321
14624
|
}[]>;
|
|
14322
14625
|
get borderBottomStyle(): string;
|
|
14626
|
+
get adaptiveMode(): boolean;
|
|
14323
14627
|
get showEdit$(): Observable<boolean>;
|
|
14324
14628
|
get showDelete$(): Observable<boolean>;
|
|
14325
14629
|
get showArchive$(): Observable<boolean>;
|
|
@@ -14338,7 +14642,6 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
|
|
|
14338
14642
|
get hideEdit(): boolean;
|
|
14339
14643
|
get hasValuesChanged$(): Observable<boolean>;
|
|
14340
14644
|
get $canSave(): Observable<boolean>;
|
|
14341
|
-
constructor();
|
|
14342
14645
|
ngOnInit(): void;
|
|
14343
14646
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14344
14647
|
ngOnDestroy(): void;
|
|
@@ -14359,7 +14662,7 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
|
|
|
14359
14662
|
private getCustomActionsByMode;
|
|
14360
14663
|
private openCancelDialog;
|
|
14361
14664
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageObjectHeaderComponent<any>, never>;
|
|
14362
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageObjectHeaderComponent<any>, "qd-page-object-header", never, { "config": { "alias": "config"; "required": true; }; "hasNavigation": { "alias": "hasNavigation"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never,
|
|
14665
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageObjectHeaderComponent<any>, "qd-page-object-header", never, { "config": { "alias": "config"; "required": true; }; "hasNavigation": { "alias": "hasNavigation"; "required": true; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14363
14666
|
}
|
|
14364
14667
|
|
|
14365
14668
|
declare class QdSingleSelectFacetComponent<T> {
|
|
@@ -14466,14 +14769,6 @@ declare class QdReferencesFacetComponent<T> {
|
|
|
14466
14769
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdReferencesFacetComponent<any>, "qd-references-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
14467
14770
|
}
|
|
14468
14771
|
|
|
14469
|
-
declare class QdPageFooterCustomContentDirective implements OnInit, OnDestroy {
|
|
14470
|
-
private footerService;
|
|
14471
|
-
ngOnInit(): void;
|
|
14472
|
-
ngOnDestroy(): void;
|
|
14473
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageFooterCustomContentDirective, never>;
|
|
14474
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<QdPageFooterCustomContentDirective, "[qdPageFooter]", never, {}, {}, never, never, false, never>;
|
|
14475
|
-
}
|
|
14476
|
-
|
|
14477
14772
|
declare class QdContextSelectDialogComponent implements OnInit {
|
|
14478
14773
|
private dialogRef;
|
|
14479
14774
|
private translateService;
|
|
@@ -14934,7 +15229,6 @@ declare class QdSectionToolbarActionComponent implements OnInit, OnDestroy {
|
|
|
14934
15229
|
private getLabel;
|
|
14935
15230
|
private executeAction;
|
|
14936
15231
|
private validateConfig;
|
|
14937
|
-
private mapLegacyAction;
|
|
14938
15232
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdSectionToolbarActionComponent, never>;
|
|
14939
15233
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdSectionToolbarActionComponent, "qd-section-toolbar-action", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
14940
15234
|
}
|
|
@@ -14963,13 +15257,13 @@ declare function qdSearchParameterize(search: QdSearchPostBodyData | undefined):
|
|
|
14963
15257
|
|
|
14964
15258
|
declare class QdSearchModule {
|
|
14965
15259
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdSearchModule, never>;
|
|
14966
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSearchModule, [typeof QdSearchComponent], [typeof i2.CommonModule, typeof
|
|
15260
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSearchModule, [typeof QdSearchComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i26.StoreFeatureModule, typeof QdButtonModule, typeof QdFormModule, typeof QdIconModule, typeof QdTooltipModule], [typeof QdSearchComponent]>;
|
|
14967
15261
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdSearchModule>;
|
|
14968
15262
|
}
|
|
14969
15263
|
|
|
14970
15264
|
declare class QdSectionModule {
|
|
14971
15265
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdSectionModule, never>;
|
|
14972
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSectionModule, [typeof QdSectionComponent, typeof QdSectionToolbarComponent, typeof QdSectionToolbarActionComponent, typeof QdConnectorTableFilterDirective, typeof QdConnectorTableSearchDirective, typeof QdConnectorTableContextDirective, typeof QdSectionAdapterDirective], [typeof i2.CommonModule, typeof
|
|
15266
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdSectionModule, [typeof QdSectionComponent, typeof QdSectionToolbarComponent, typeof QdSectionToolbarActionComponent, typeof QdConnectorTableFilterDirective, typeof QdConnectorTableSearchDirective, typeof QdConnectorTableContextDirective, typeof QdSectionAdapterDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdIconModule, typeof QdFilterModule, typeof QdSearchModule, typeof QdCoreModule, typeof QdTooltipModule], [typeof QdSectionComponent, typeof QdConnectorTableFilterDirective, typeof QdConnectorTableSearchDirective, typeof QdConnectorTableContextDirective, typeof QdSectionAdapterDirective, typeof QdSectionToolbarComponent]>;
|
|
14973
15267
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdSectionModule>;
|
|
14974
15268
|
}
|
|
14975
15269
|
|
|
@@ -14978,6 +15272,40 @@ declare class QdSectionModule {
|
|
|
14978
15272
|
*/
|
|
14979
15273
|
declare const QD_TABLE_DATA_RESOLVER_TOKEN: InjectionToken<string>;
|
|
14980
15274
|
|
|
15275
|
+
/**
|
|
15276
|
+
* The pagination slice of `QdTableDataResolverProps`, following Spring Boot's `Pageable`
|
|
15277
|
+
* conventions.
|
|
15278
|
+
*/
|
|
15279
|
+
interface QdPaginationParams {
|
|
15280
|
+
/**
|
|
15281
|
+
* The zero-indexed page number, passed through verbatim (no off-by-one adjustment).
|
|
15282
|
+
*/
|
|
15283
|
+
page?: number;
|
|
15284
|
+
/**
|
|
15285
|
+
* The number of items per page.
|
|
15286
|
+
*/
|
|
15287
|
+
size?: number;
|
|
15288
|
+
}
|
|
15289
|
+
/**
|
|
15290
|
+
* **qdPaginationParameterize** turns pagination state into the `page` and `size` parameters read by the backend
|
|
15291
|
+
* `QdPaginationParser`.
|
|
15292
|
+
*
|
|
15293
|
+
* ### Usage
|
|
15294
|
+
*
|
|
15295
|
+
* ```ts
|
|
15296
|
+
* qdPaginationParameterize({ page: 0, size: 25 }).toQueryString(); // 'page=0&size=25'
|
|
15297
|
+
* ```
|
|
15298
|
+
*
|
|
15299
|
+
* @remarks
|
|
15300
|
+
* `page` stays zero-indexed and is sent as-is (no `+1`/`-1`), so `page=0` is kept. Each key is
|
|
15301
|
+
* only set for a real number; `size` is trusted, not checked. Missing input gives empty
|
|
15302
|
+
* parameters.
|
|
15303
|
+
*
|
|
15304
|
+
* @param input - The page and size from the resolver props.
|
|
15305
|
+
* @returns A {@link QdQueryParameter} with the `page` and/or `size` keys.
|
|
15306
|
+
*/
|
|
15307
|
+
declare function qdPaginationParameterize(input: QdPaginationParams | undefined): QdQueryParameter;
|
|
15308
|
+
|
|
14981
15309
|
/**
|
|
14982
15310
|
* Represents the resolved data for a query.
|
|
14983
15311
|
*
|
|
@@ -15052,7 +15380,8 @@ interface QdTableDataResolver<T extends string> {
|
|
|
15052
15380
|
*/
|
|
15053
15381
|
declare enum QdTableRequestState {
|
|
15054
15382
|
PENDING = 0,
|
|
15055
|
-
SUCCESS = 1
|
|
15383
|
+
SUCCESS = 1,
|
|
15384
|
+
ERROR = 2
|
|
15056
15385
|
}
|
|
15057
15386
|
|
|
15058
15387
|
declare enum QdTableConnectorState {
|
|
@@ -15094,63 +15423,6 @@ interface QdTableConnectorCriteria {
|
|
|
15094
15423
|
[criteria: string]: unknown;
|
|
15095
15424
|
}
|
|
15096
15425
|
|
|
15097
|
-
/**
|
|
15098
|
-
* Spring-compatible serialization helpers for table query state.
|
|
15099
|
-
*
|
|
15100
|
-
* @deprecated Use the free function {@link qdSortParameterize} instead, which returns a
|
|
15101
|
-
* `QdQueryParameter`. This compatibility shell is retained only so the static method stays
|
|
15102
|
-
* importable.
|
|
15103
|
-
*/
|
|
15104
|
-
declare class QdTableSpringTools {
|
|
15105
|
-
/**
|
|
15106
|
-
* Serializes table sort state into the Spring `sort=column,direction` wire format.
|
|
15107
|
-
*
|
|
15108
|
-
* @deprecated Returns a string. Use the free function `qdSortParameterize(sort)` which
|
|
15109
|
-
* returns a `QdQueryParameter`. For identical string output use
|
|
15110
|
-
* `qdSortParameterize(sort).toQueryString()`; for an `HttpClient` request use
|
|
15111
|
-
* `qdSortParameterize(sort).params`. Note that dropping the class prefix without
|
|
15112
|
-
* `.toQueryString()` changes the return type from `string` to `QdQueryParameter`.
|
|
15113
|
-
*
|
|
15114
|
-
* @param sort - The sort state to serialize.
|
|
15115
|
-
* @returns The Spring sort query string, or the empty string when there is nothing to sort.
|
|
15116
|
-
*/
|
|
15117
|
-
static sortParameterize(sort: QdTableStateSort<string>[] | undefined): string;
|
|
15118
|
-
}
|
|
15119
|
-
|
|
15120
|
-
/**
|
|
15121
|
-
* The pagination slice of `QdTableDataResolverProps`, following Spring Boot's `Pageable`
|
|
15122
|
-
* conventions.
|
|
15123
|
-
*/
|
|
15124
|
-
interface QdPaginationParams {
|
|
15125
|
-
/**
|
|
15126
|
-
* The zero-indexed page number, passed through verbatim (no off-by-one adjustment).
|
|
15127
|
-
*/
|
|
15128
|
-
page?: number;
|
|
15129
|
-
/**
|
|
15130
|
-
* The number of items per page.
|
|
15131
|
-
*/
|
|
15132
|
-
size?: number;
|
|
15133
|
-
}
|
|
15134
|
-
/**
|
|
15135
|
-
* **qdPaginationParameterize** turns pagination state into the `page` and `size` parameters read by the backend
|
|
15136
|
-
* `QdPaginationParser`.
|
|
15137
|
-
*
|
|
15138
|
-
* ### Usage
|
|
15139
|
-
*
|
|
15140
|
-
* ```ts
|
|
15141
|
-
* qdPaginationParameterize({ page: 0, size: 25 }).toQueryString(); // 'page=0&size=25'
|
|
15142
|
-
* ```
|
|
15143
|
-
*
|
|
15144
|
-
* @remarks
|
|
15145
|
-
* `page` stays zero-indexed and is sent as-is (no `+1`/`-1`), so `page=0` is kept. Each key is
|
|
15146
|
-
* only set for a real number; `size` is trusted, not checked. Missing input gives empty
|
|
15147
|
-
* parameters.
|
|
15148
|
-
*
|
|
15149
|
-
* @param input - The page and size from the resolver props.
|
|
15150
|
-
* @returns A {@link QdQueryParameter} with the `page` and/or `size` keys.
|
|
15151
|
-
*/
|
|
15152
|
-
declare function qdPaginationParameterize(input: QdPaginationParams | undefined): QdQueryParameter;
|
|
15153
|
-
|
|
15154
15426
|
/**
|
|
15155
15427
|
* **qdSortParameterize** turns table sort state into the Spring `sort=column,direction` format read by the backend
|
|
15156
15428
|
* `QdSortParser`. Each active column adds one `sort` key, so several columns become repeated
|
|
@@ -15433,12 +15705,6 @@ declare class QdTableComponent<T extends string> implements OnInit, OnChanges, O
|
|
|
15433
15705
|
private triggerRefresh;
|
|
15434
15706
|
private validateConfig;
|
|
15435
15707
|
private hasHighlightOnRevisit;
|
|
15436
|
-
/**
|
|
15437
|
-
* @description Can be deleted when the property "mainColumnNotFillingWidth" is dropped.
|
|
15438
|
-
*
|
|
15439
|
-
* * @deprecated
|
|
15440
|
-
*/
|
|
15441
|
-
private mapColumnFillsWidth;
|
|
15442
15708
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdTableComponent<any>, never>;
|
|
15443
15709
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdTableComponent<any>, "qd-table", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "secondaryActionOutput": "secondaryActionOutput"; "selectedRowsOutput": "selectedRowsOutput"; "emptyStateActionOutput": "emptyStateActionOutput"; }, never, never, false, never>;
|
|
15444
15710
|
}
|
|
@@ -16026,7 +16292,7 @@ declare class QdTableRowActionsSecondaryMenuComponent<T extends string> implemen
|
|
|
16026
16292
|
viewonly?: boolean;
|
|
16027
16293
|
private readonly _viewonly$;
|
|
16028
16294
|
private readonly _destroy$;
|
|
16029
|
-
|
|
16295
|
+
readonly actions$: Observable<ResolvedAction$1[]>;
|
|
16030
16296
|
ngOnInit(): void;
|
|
16031
16297
|
ngOnDestroy(): void;
|
|
16032
16298
|
onActionClick(type: QdTableConfigSecondaryActionType): void;
|
|
@@ -16301,8 +16567,8 @@ declare class QdTreeRowActionsSecondaryMenuComponent<T extends string> implement
|
|
|
16301
16567
|
private readonly _secondaryActionsConfig$;
|
|
16302
16568
|
private readonly _viewonly$;
|
|
16303
16569
|
private readonly _destroy$;
|
|
16304
|
-
|
|
16305
|
-
|
|
16570
|
+
readonly actions$: Observable<ResolvedAction[]>;
|
|
16571
|
+
readonly hasVisibleActions$: Observable<boolean>;
|
|
16306
16572
|
ngOnInit(): void;
|
|
16307
16573
|
ngOnDestroy(): void;
|
|
16308
16574
|
handleSecondaryAction(type: QdTreeConfigSecondaryActionType, index: number, isHidden: boolean | ((row: QdTreeDataRow<T>) => boolean)): void;
|
|
@@ -16313,19 +16579,19 @@ declare class QdTreeRowActionsSecondaryMenuComponent<T extends string> implement
|
|
|
16313
16579
|
|
|
16314
16580
|
declare class QdTreeModule {
|
|
16315
16581
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdTreeModule, never>;
|
|
16316
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTreeModule, [typeof QdTreeComponent, typeof QdTreeHeadComponent, typeof QdTreeBodyComponent, typeof QdTreeRowComponent, typeof QdTreeEmptyStateComponent, typeof QdTreeRowActionsSecondaryMenuComponent], [typeof i2.CommonModule, typeof
|
|
16582
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTreeModule, [typeof QdTreeComponent, typeof QdTreeHeadComponent, typeof QdTreeBodyComponent, typeof QdTreeRowComponent, typeof QdTreeEmptyStateComponent, typeof QdTreeRowActionsSecondaryMenuComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i26.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule], [typeof QdTreeComponent]>;
|
|
16317
16583
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdTreeModule>;
|
|
16318
16584
|
}
|
|
16319
16585
|
|
|
16320
16586
|
declare class QdTableModule {
|
|
16321
16587
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdTableModule, never>;
|
|
16322
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTableModule, [typeof QdScrollToPaginationDirective, typeof QdTableBodyComponent, typeof QdTableComponent, typeof QdTableEmptyStateComponent, typeof QdTableHeadComponent, typeof QdTablePaginatorComponent, typeof QdTablePaginatorPageSizeComponent, typeof QdTablePaginatorPageSizeDirective, typeof QdTableRowActionsSecondaryMenuComponent, typeof QdTableRowComponent, typeof QdTableRowSelectionComponent, typeof QdTableSortComponent], [typeof i2.CommonModule, typeof
|
|
16588
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdTableModule, [typeof QdScrollToPaginationDirective, typeof QdTableBodyComponent, typeof QdTableComponent, typeof QdTableEmptyStateComponent, typeof QdTableHeadComponent, typeof QdTablePaginatorComponent, typeof QdTablePaginatorPageSizeComponent, typeof QdTablePaginatorPageSizeDirective, typeof QdTableRowActionsSecondaryMenuComponent, typeof QdTableRowComponent, typeof QdTableRowSelectionComponent, typeof QdTableSortComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i26.StoreFeatureModule, typeof QdButtonModule, typeof QdChipModule, typeof QdDataFacetsModule, typeof QdDialogModule, typeof QdIconModule, typeof QdPopoverModule, typeof QdStatusIndicatorModule, typeof QdSpinnerModule, typeof QdTooltipModule, typeof QdTreeModule], [typeof QdTableComponent, typeof QdTreeComponent]>;
|
|
16323
16589
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdTableModule>;
|
|
16324
16590
|
}
|
|
16325
16591
|
|
|
16326
16592
|
declare class QdPageModule {
|
|
16327
16593
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageModule, never>;
|
|
16328
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageModule, [typeof QdPageComponent, typeof QdPageFooterComponent, typeof QdPageObjectHeaderComponent, typeof QdPageControlPanelComponent, typeof QdSingleSelectFacetComponent, typeof QdMultiSelectFacetComponent, typeof QdDateFacetComponent, typeof QdIconFacetComponent, typeof QdValueFacetComponent, typeof QdStatusFacetComponent, typeof QdDynamicFacetComponent, typeof QdDynamicFacetDirective, typeof QdCriticalityFacetComponent, typeof QdProgressFacetComponent, typeof QdReferencesFacetComponent, typeof QdConnectFormStateToPageDirective, typeof QdPageFooterCustomContentDirective, typeof QdContextSelectDialogComponent, typeof QdPageInfoBannerComponent], [typeof i2.CommonModule, typeof
|
|
16594
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageModule, [typeof QdPageComponent, typeof QdPageFooterComponent, typeof QdPageObjectHeaderComponent, typeof QdPageControlPanelComponent, typeof QdSingleSelectFacetComponent, typeof QdMultiSelectFacetComponent, typeof QdDateFacetComponent, typeof QdIconFacetComponent, typeof QdValueFacetComponent, typeof QdStatusFacetComponent, typeof QdDynamicFacetComponent, typeof QdDynamicFacetDirective, typeof QdCriticalityFacetComponent, typeof QdProgressFacetComponent, typeof QdReferencesFacetComponent, typeof QdConnectFormStateToPageDirective, typeof QdPageFooterCustomContentDirective, typeof QdPageHeaderExtensionDirective, typeof QdContextSelectDialogComponent, typeof QdPageInfoBannerComponent], [typeof i2.CommonModule, typeof i22.ScrollingModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdButtonModule, typeof QdChipModule, typeof QdCoreModule, typeof QdDialogModule, typeof QdIconModule, typeof QdProgressBarModule, typeof QdSectionModule, typeof QdSpinnerModule, typeof QdStatusIndicatorModule, typeof QdTableModule, typeof QdTextSectionModule, typeof QdSearchModule, typeof QdPopoverModule], [typeof QdPageComponent, typeof QdPageFooterComponent, typeof QdConnectFormStateToPageDirective, typeof QdPageControlPanelComponent, typeof QdPageFooterCustomContentDirective, typeof QdPageHeaderExtensionDirective, typeof QdPageInfoBannerComponent]>;
|
|
16329
16595
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPageModule>;
|
|
16330
16596
|
}
|
|
16331
16597
|
|
|
@@ -16502,27 +16768,10 @@ declare class QdPanelSectionActionsComponent {
|
|
|
16502
16768
|
|
|
16503
16769
|
declare class QdPanelSectionModule {
|
|
16504
16770
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPanelSectionModule, never>;
|
|
16505
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPanelSectionModule, [typeof QdPanelSectionComponent, typeof QdPanelSectionStatusComponent, typeof QdPanelSectionActionsComponent, typeof QdPanelSectionTextParagraphComponent], [typeof i2.CommonModule, typeof
|
|
16771
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPanelSectionModule, [typeof QdPanelSectionComponent, typeof QdPanelSectionStatusComponent, typeof QdPanelSectionActionsComponent, typeof QdPanelSectionTextParagraphComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdIconModule], [typeof QdPanelSectionComponent, typeof QdPanelSectionStatusComponent, typeof QdPanelSectionActionsComponent, typeof QdPanelSectionTextParagraphComponent]>;
|
|
16506
16772
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPanelSectionModule>;
|
|
16507
16773
|
}
|
|
16508
16774
|
|
|
16509
|
-
/**
|
|
16510
|
-
* **QdPlaceHolder** provides a placeholder component for documentation purposes in Storybook.
|
|
16511
|
-
*
|
|
16512
|
-
* * @deprecated By rebuilding the storybook, this component is no longer necessary.
|
|
16513
|
-
*/
|
|
16514
|
-
declare class QdPlaceHolderComponent {
|
|
16515
|
-
area: string;
|
|
16516
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdPlaceHolderComponent, never>;
|
|
16517
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdPlaceHolderComponent, "qd-place-holder", never, { "area": { "alias": "area"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
16518
|
-
}
|
|
16519
|
-
|
|
16520
|
-
declare class QdPlaceHolderModule {
|
|
16521
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdPlaceHolderModule, never>;
|
|
16522
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPlaceHolderModule, [typeof QdPlaceHolderComponent], [typeof i2.CommonModule], [typeof QdPlaceHolderComponent]>;
|
|
16523
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<QdPlaceHolderModule>;
|
|
16524
|
-
}
|
|
16525
|
-
|
|
16526
16775
|
/**
|
|
16527
16776
|
* @description Copyright Information for the QdShell Footer.
|
|
16528
16777
|
*/
|
|
@@ -16539,293 +16788,6 @@ interface QdShellFooterCopyrightInfo {
|
|
|
16539
16788
|
showYear?: boolean;
|
|
16540
16789
|
}
|
|
16541
16790
|
|
|
16542
|
-
/**
|
|
16543
|
-
* Configuration for the HeaderWidget.
|
|
16544
|
-
*
|
|
16545
|
-
* This configuration includes a mapping of the properties of the originally HeaderWidget web component in camelCase notation.
|
|
16546
|
-
*
|
|
16547
|
-
* You can find the documentation in Confluence
|
|
16548
|
-
* * @see https://confluence.bit.admin.ch/display/EN4/Header+widget+documentation
|
|
16549
|
-
*
|
|
16550
|
-
*/
|
|
16551
|
-
interface QdShellHeaderWidgetConfig {
|
|
16552
|
-
/**
|
|
16553
|
-
* @description Set if the header widget should not be rendered.
|
|
16554
|
-
*
|
|
16555
|
-
* * @default: false
|
|
16556
|
-
*/
|
|
16557
|
-
isDisabled?: boolean;
|
|
16558
|
-
/**
|
|
16559
|
-
* List of all possible languages that can be selected.
|
|
16560
|
-
* The e-portal language or language from url will only be adopted if it is contained in the language list.
|
|
16561
|
-
*
|
|
16562
|
-
* * web component: 'language-list'
|
|
16563
|
-
*
|
|
16564
|
-
* * @default: ['de', 'fr', 'it', 'en']
|
|
16565
|
-
*/
|
|
16566
|
-
languageList?: QdShellHeaderWidgetLanguage[];
|
|
16567
|
-
/**
|
|
16568
|
-
* Language that is preselected initially. Must be one of the languages listed in languageList.
|
|
16569
|
-
* If no defaultLanguage is defined, the e-portal language will be taken.
|
|
16570
|
-
* If the e-portal language cannot be determined, the defaultLanguage is 'de'.
|
|
16571
|
-
* A language is only set automatically if it is included in the languageList.
|
|
16572
|
-
*
|
|
16573
|
-
* * web component: 'default-language'
|
|
16574
|
-
*
|
|
16575
|
-
* * @default: e-portal language or 'de'
|
|
16576
|
-
*/
|
|
16577
|
-
defaultLanguage?: QdShellHeaderWidgetLanguage;
|
|
16578
|
-
/**
|
|
16579
|
-
* @description PAMS API environment that is used for login status requests.
|
|
16580
|
-
* An empty string can be set initially if the environment is set asynchronously.
|
|
16581
|
-
*
|
|
16582
|
-
* * Note: The type 'ABN' has been added here.
|
|
16583
|
-
*
|
|
16584
|
-
* * web component: 'environment'
|
|
16585
|
-
*/
|
|
16586
|
-
pamsEnvironment?: QdShellHeaderWidgetEnvironment | '';
|
|
16587
|
-
/**
|
|
16588
|
-
* @description Set if the icon with the info panel should be displayed. The Info panel can contain info,
|
|
16589
|
-
* links and contact information.
|
|
16590
|
-
*
|
|
16591
|
-
* * web component: 'show-info'
|
|
16592
|
-
*
|
|
16593
|
-
* * @default: false
|
|
16594
|
-
*/
|
|
16595
|
-
isInfoActive?: boolean;
|
|
16596
|
-
/**
|
|
16597
|
-
* @description Additional links that are displayed in the info panel.
|
|
16598
|
-
*
|
|
16599
|
-
* * web component: 'links' (modified)
|
|
16600
|
-
*
|
|
16601
|
-
* * @example
|
|
16602
|
-
* ```ts
|
|
16603
|
-
* [
|
|
16604
|
-
* {
|
|
16605
|
-
* i18n: "i18n.error.success",
|
|
16606
|
-
* href: "/success"
|
|
16607
|
-
* },
|
|
16608
|
-
* {
|
|
16609
|
-
* i18n: "i18n.error.info",
|
|
16610
|
-
* hrefs: {
|
|
16611
|
-
* de: "/info/de",
|
|
16612
|
-
* fr: "/info/fr",
|
|
16613
|
-
* it: "/info/it",
|
|
16614
|
-
* en: "/info/en"
|
|
16615
|
-
* }
|
|
16616
|
-
* }
|
|
16617
|
-
* ]
|
|
16618
|
-
* ```
|
|
16619
|
-
*/
|
|
16620
|
-
infoLinks?: QdShellHeaderWidgetInfoLink[];
|
|
16621
|
-
/**
|
|
16622
|
-
* @description Contact information that are displayed in the info panel. It can contain an email address and a
|
|
16623
|
-
* telephone number.
|
|
16624
|
-
*
|
|
16625
|
-
* * web component: 'contact' (modified)
|
|
16626
|
-
*
|
|
16627
|
-
* * @example
|
|
16628
|
-
* ```ts
|
|
16629
|
-
* {
|
|
16630
|
-
* emailAddress: "support@bazg.admin.ch",
|
|
16631
|
-
* telephoneNumber: "+41 800 757 123"
|
|
16632
|
-
* }
|
|
16633
|
-
* ```
|
|
16634
|
-
*/
|
|
16635
|
-
contactInfo?: QdShellHeaderWidgetContactInfo;
|
|
16636
|
-
/**
|
|
16637
|
-
* @description Set if links should be opened in a new tab.
|
|
16638
|
-
*
|
|
16639
|
-
* * web component: 'open-in-new-tab'
|
|
16640
|
-
*
|
|
16641
|
-
* * @default: true
|
|
16642
|
-
*/
|
|
16643
|
-
openLinksInNewTab?: boolean;
|
|
16644
|
-
/**
|
|
16645
|
-
* @description Whether icon and button size and other things should be adjusted because the header widget
|
|
16646
|
-
* is being used in the *.admin.ch AEM (Adobe Experience Manager) CMS context and should fit with the
|
|
16647
|
-
* surrounding elements.
|
|
16648
|
-
*
|
|
16649
|
-
* When set to true the appearance changes as follows:
|
|
16650
|
-
* - the language selection is hidden
|
|
16651
|
-
* - smaller icons
|
|
16652
|
-
* - red dot instead of number on notification inbox icon
|
|
16653
|
-
*
|
|
16654
|
-
* * web component: 'cms'
|
|
16655
|
-
*/
|
|
16656
|
-
isInCmsContext?: boolean;
|
|
16657
|
-
/**
|
|
16658
|
-
* @description Show or hide the language selector.
|
|
16659
|
-
*
|
|
16660
|
-
* * web component: 'show-languages'
|
|
16661
|
-
*
|
|
16662
|
-
* * @default: true
|
|
16663
|
-
*/
|
|
16664
|
-
showLanguages?: boolean;
|
|
16665
|
-
/**
|
|
16666
|
-
* @description Show or hide the notification button.
|
|
16667
|
-
*
|
|
16668
|
-
* * web component: 'show-notifications'
|
|
16669
|
-
*
|
|
16670
|
-
* * @default: true
|
|
16671
|
-
*/
|
|
16672
|
-
showNotifications?: boolean;
|
|
16673
|
-
/**
|
|
16674
|
-
* @description Show or hide the services button.
|
|
16675
|
-
*
|
|
16676
|
-
* * web component: 'show-eportal-services'
|
|
16677
|
-
*
|
|
16678
|
-
* * @default: true
|
|
16679
|
-
*/
|
|
16680
|
-
showEportalServices?: boolean;
|
|
16681
|
-
/**
|
|
16682
|
-
* @description Show or hide the settings option.
|
|
16683
|
-
*
|
|
16684
|
-
* * web component: 'show-settings'
|
|
16685
|
-
*
|
|
16686
|
-
* * @default: true
|
|
16687
|
-
*/
|
|
16688
|
-
showSettings?: boolean;
|
|
16689
|
-
/**
|
|
16690
|
-
* @description Links displayed in the profile menu. You can also add a badge for each input, and they also handle different languages.
|
|
16691
|
-
*
|
|
16692
|
-
* * web component: 'profile-links'
|
|
16693
|
-
*
|
|
16694
|
-
* * @example
|
|
16695
|
-
* ```ts
|
|
16696
|
-
* [
|
|
16697
|
-
* {
|
|
16698
|
-
* i18n: "i18n.profile.one",
|
|
16699
|
-
* href: "/profile-one"
|
|
16700
|
-
* },
|
|
16701
|
-
* {
|
|
16702
|
-
* i18n: "i18n.profile.two",
|
|
16703
|
-
* hrefs: {
|
|
16704
|
-
* de: "/profile-two/de",
|
|
16705
|
-
* fr: "/profile-two/fr",
|
|
16706
|
-
* it: "/profile-two/it",
|
|
16707
|
-
* en: "/profile-two/en"
|
|
16708
|
-
* },
|
|
16709
|
-
* batch: 2
|
|
16710
|
-
* },
|
|
16711
|
-
* {
|
|
16712
|
-
* i18n: "i18n.profile.three",
|
|
16713
|
-
* href: "/profile-three",
|
|
16714
|
-
* batch: 3
|
|
16715
|
-
* }
|
|
16716
|
-
* ]
|
|
16717
|
-
* ```
|
|
16718
|
-
*/
|
|
16719
|
-
profileLinks?: QdShellHeaderWidgetProfileLink[];
|
|
16720
|
-
/**
|
|
16721
|
-
* @description Custom button links as icons.
|
|
16722
|
-
*
|
|
16723
|
-
* * Note: The custom buttons are displayed only if the user is logged onto the correct environment - for "DEV": "https://eportal-d.admin.ch".
|
|
16724
|
-
*
|
|
16725
|
-
* For the specific characteristics and documentation:
|
|
16726
|
-
* * @see https://confluence.bit.admin.ch/display/EN4/Header+widget+documentation
|
|
16727
|
-
*
|
|
16728
|
-
* * web component: 'custom-buttons'
|
|
16729
|
-
*
|
|
16730
|
-
* * @example
|
|
16731
|
-
* ```ts
|
|
16732
|
-
* [
|
|
16733
|
-
* {
|
|
16734
|
-
* obliqueIconName: 'calendar',
|
|
16735
|
-
* isVisibleInMobile: true,
|
|
16736
|
-
* iconLink: {
|
|
16737
|
-
* i18n: 'i18n.customButtons.calendar.ariaLabel',
|
|
16738
|
-
* hrefs: {
|
|
16739
|
-
* de: '/custom-buttons/calendar/de',
|
|
16740
|
-
* fr: '/custom-buttons/calendar/fr',
|
|
16741
|
-
* it: '/custom-buttons/calendar/it',
|
|
16742
|
-
* en: '/custom-buttons/calendar/en'
|
|
16743
|
-
* },
|
|
16744
|
-
* badge: 5
|
|
16745
|
-
* },
|
|
16746
|
-
* childLinks: [{
|
|
16747
|
-
* i18n: 'i18n.customButtons.childLinkText.one',
|
|
16748
|
-
* href: '/custom-buttons-child-link-one',
|
|
16749
|
-
* badge: 1
|
|
16750
|
-
* },
|
|
16751
|
-
* {
|
|
16752
|
-
* i18n: 'i18n.customButtons.childLinkText.two',
|
|
16753
|
-
* hrefs: {
|
|
16754
|
-
* de: '/custom-buttons/child-link-two/de',
|
|
16755
|
-
* fr: '/custom-buttons/child-link-two/fr',
|
|
16756
|
-
* it: '/custom-buttons/child-link-two/it',
|
|
16757
|
-
* en: '/custom-buttons/child-link-two/en'
|
|
16758
|
-
* },
|
|
16759
|
-
* badge: 2
|
|
16760
|
-
* }
|
|
16761
|
-
* ]
|
|
16762
|
-
* },
|
|
16763
|
-
* {
|
|
16764
|
-
* obliqueIconName: 'archive',
|
|
16765
|
-
* isVisibleInMobile: false,
|
|
16766
|
-
* iconLink: {
|
|
16767
|
-
* i18n: 'i18n.customButtons.archive.ariaLabel',
|
|
16768
|
-
* badge: 5
|
|
16769
|
-
* }
|
|
16770
|
-
* },
|
|
16771
|
-
* {
|
|
16772
|
-
* obliqueIconName: 'apps',
|
|
16773
|
-
* isVisibleInMobile: true,
|
|
16774
|
-
* iconLink: {
|
|
16775
|
-
* i18n: 'i18n.customButtons.apps.ariaLabel',
|
|
16776
|
-
* href: '/custom-buttons/apps',
|
|
16777
|
-
* badge: 8
|
|
16778
|
-
* }
|
|
16779
|
-
* }
|
|
16780
|
-
* ]
|
|
16781
|
-
* ```
|
|
16782
|
-
*/
|
|
16783
|
-
customButtonsLinks?: QdShellHeaderWidgetCustomButtonLinks[];
|
|
16784
|
-
/**
|
|
16785
|
-
* @description Path to the header widget javascript asset.
|
|
16786
|
-
*
|
|
16787
|
-
* * @default: 'https://widget.eportal.admin.ch/header-widget.js'
|
|
16788
|
-
*/
|
|
16789
|
-
javascriptAssetPath?: string;
|
|
16790
|
-
}
|
|
16791
|
-
type QdShellHeaderWidgetLanguage = 'de' | 'en' | 'fr' | 'it';
|
|
16792
|
-
type QdShellHeaderWidgetEnvironment = 'LOCAL' | 'DEV' | 'TEST' | 'REF' | 'ABN' | 'PROD';
|
|
16793
|
-
type QdShellHeaderWidgetInfoLink = QdShellHeaderWidgetSingleHref | QdShellHeaderWidgetMultiHrefs;
|
|
16794
|
-
type QdShellHeaderWidgetProfileLink = QdShellHeaderWidgetSingleHrefBadge | QdShellHeaderWidgetMultiHrefBadge;
|
|
16795
|
-
interface QdShellHeaderWidgetCustomButtonLinks {
|
|
16796
|
-
obliqueIconName: string;
|
|
16797
|
-
/**
|
|
16798
|
-
* * web component: 'fixedMobileView'
|
|
16799
|
-
* * @default: true
|
|
16800
|
-
*/
|
|
16801
|
-
isVisibleInMobile: boolean;
|
|
16802
|
-
iconLink?: QdShellHeaderWidgetSingleHref | (QdShellHeaderWidgetMultiHrefs & QdShellHeaderWidgetBadge);
|
|
16803
|
-
childLinks?: (QdShellHeaderWidgetSingleHrefBadge | QdShellHeaderWidgetMultiHrefBadge)[];
|
|
16804
|
-
}
|
|
16805
|
-
interface QdShellHeaderWidgetSingleHref {
|
|
16806
|
-
i18n: string;
|
|
16807
|
-
href?: string;
|
|
16808
|
-
}
|
|
16809
|
-
interface QdShellHeaderWidgetMultiHrefs {
|
|
16810
|
-
i18n: string;
|
|
16811
|
-
hrefs?: QdShellHeaderWidgetHrefs;
|
|
16812
|
-
}
|
|
16813
|
-
type QdShellHeaderWidgetSingleHrefBadge = QdShellHeaderWidgetSingleHref & QdShellHeaderWidgetBadge;
|
|
16814
|
-
type QdShellHeaderWidgetMultiHrefBadge = QdShellHeaderWidgetMultiHrefs & QdShellHeaderWidgetBadge;
|
|
16815
|
-
interface QdShellHeaderWidgetBadge {
|
|
16816
|
-
badge?: number;
|
|
16817
|
-
}
|
|
16818
|
-
interface QdShellHeaderWidgetHrefs {
|
|
16819
|
-
de?: string;
|
|
16820
|
-
fr?: string;
|
|
16821
|
-
it?: string;
|
|
16822
|
-
en?: string;
|
|
16823
|
-
}
|
|
16824
|
-
interface QdShellHeaderWidgetContactInfo {
|
|
16825
|
-
emailAddress?: string;
|
|
16826
|
-
telephoneNumber?: string;
|
|
16827
|
-
}
|
|
16828
|
-
|
|
16829
16791
|
interface QdShellNavigationConfig {
|
|
16830
16792
|
/**
|
|
16831
16793
|
* @description Internationalization key for the link text.
|
|
@@ -16901,6 +16863,7 @@ interface QdShellServiceNavigationConfig {
|
|
|
16901
16863
|
* If not provided, it will be determined automatically through the QD Auth config service if QD Auth is used.
|
|
16902
16864
|
*
|
|
16903
16865
|
* * Note: The type 'ABN' has been added here.
|
|
16866
|
+
* * Note: Per PAMS guidance, 'DEV' is PAMS' own internal test environment. Applications should generally use 'REF'.
|
|
16904
16867
|
*
|
|
16905
16868
|
* * web component: 'environment'
|
|
16906
16869
|
*/
|
|
@@ -16911,7 +16874,7 @@ interface QdShellServiceNavigationConfig {
|
|
|
16911
16874
|
*
|
|
16912
16875
|
* * web component: 'display-info'
|
|
16913
16876
|
*
|
|
16914
|
-
* * @default:
|
|
16877
|
+
* * @default: true
|
|
16915
16878
|
*/
|
|
16916
16879
|
isInfoActive?: boolean;
|
|
16917
16880
|
/**
|
|
@@ -16979,9 +16942,9 @@ interface QdShellServiceNavigationConfig {
|
|
|
16979
16942
|
*/
|
|
16980
16943
|
showEportalServices?: boolean;
|
|
16981
16944
|
/**
|
|
16982
|
-
* @description Show or hide the
|
|
16945
|
+
* @description Show or hide the profile menu.
|
|
16983
16946
|
*
|
|
16984
|
-
* * web component: '
|
|
16947
|
+
* * web component: 'display-profile'
|
|
16985
16948
|
*
|
|
16986
16949
|
* * @default: true
|
|
16987
16950
|
*/
|
|
@@ -17024,8 +16987,6 @@ interface QdShellServiceNavigationConfig {
|
|
|
17024
16987
|
* the logout by yourself in the handler. The logoutUrl will be passed to the logoutHandler.
|
|
17025
16988
|
*
|
|
17026
16989
|
* * web component: 'logoutTriggered' output
|
|
17027
|
-
*
|
|
17028
|
-
* * @default: true
|
|
17029
16990
|
*/
|
|
17030
16991
|
logoutHandler?: (logoutUrl: string) => void;
|
|
17031
16992
|
/**
|
|
@@ -17130,39 +17091,115 @@ interface QdShellServiceNavigationConfig {
|
|
|
17130
17091
|
*/
|
|
17131
17092
|
javascriptAssetPath?: string;
|
|
17132
17093
|
}
|
|
17094
|
+
/**
|
|
17095
|
+
* @description A language the service navigation can offer in its language switcher.
|
|
17096
|
+
*/
|
|
17133
17097
|
type QdShellServiceNavigationLanguage = 'de' | 'en' | 'fr' | 'it';
|
|
17098
|
+
/**
|
|
17099
|
+
* @description The e-portal (PAMS) environment the service navigation talks to for the login and session status.
|
|
17100
|
+
*/
|
|
17134
17101
|
type QdShellServiceNavigationEnvironment = 'DEV' | 'TEST' | 'REF' | 'ABN' | 'PROD';
|
|
17102
|
+
/**
|
|
17103
|
+
* @description A link shown in the info panel. Use a single-URL link, or a per-language link when the target differs by language.
|
|
17104
|
+
*/
|
|
17135
17105
|
type QdShellServiceNavigationInfoLink = QdShellServiceNavigationSingleHref | QdShellServiceNavigationMultiHrefs;
|
|
17106
|
+
/**
|
|
17107
|
+
* @description A link shown in the profile menu. Like an info link, but it can also show a badge.
|
|
17108
|
+
*/
|
|
17136
17109
|
type QdShellServiceNavigationProfileLink = QdShellServiceNavigationSingleHrefBadge | QdShellServiceNavigationMultiHrefBadge;
|
|
17110
|
+
/**
|
|
17111
|
+
* @description An extra icon button rendered next to the standard service navigation buttons.
|
|
17112
|
+
* It shows an Oblique icon and can carry a small number badge.
|
|
17113
|
+
*/
|
|
17137
17114
|
interface QdShellServiceNavigationCustomButtonLinks {
|
|
17115
|
+
/**
|
|
17116
|
+
* @description Name of the Oblique icon shown on the button.
|
|
17117
|
+
*/
|
|
17138
17118
|
obliqueIconName: string;
|
|
17139
17119
|
/**
|
|
17140
|
-
*
|
|
17141
|
-
*
|
|
17120
|
+
* @description Optional number shown as a small badge on the button.
|
|
17121
|
+
*
|
|
17122
|
+
* * @default: no badge
|
|
17142
17123
|
*/
|
|
17143
|
-
|
|
17124
|
+
badge?: number;
|
|
17144
17125
|
}
|
|
17126
|
+
/**
|
|
17127
|
+
* @description A link whose target URL is the same in every language.
|
|
17128
|
+
*/
|
|
17145
17129
|
interface QdShellServiceNavigationSingleHref {
|
|
17130
|
+
/**
|
|
17131
|
+
* @description Translation key for the link label.
|
|
17132
|
+
*/
|
|
17146
17133
|
i18n: string;
|
|
17134
|
+
/**
|
|
17135
|
+
* @description The target URL. Leave empty for a label-only entry.
|
|
17136
|
+
*/
|
|
17147
17137
|
href?: string;
|
|
17148
17138
|
}
|
|
17139
|
+
/**
|
|
17140
|
+
* @description A link whose target URL differs per language.
|
|
17141
|
+
*/
|
|
17149
17142
|
interface QdShellServiceNavigationMultiHrefs {
|
|
17143
|
+
/**
|
|
17144
|
+
* @description Translation key for the link label.
|
|
17145
|
+
*/
|
|
17150
17146
|
i18n: string;
|
|
17147
|
+
/**
|
|
17148
|
+
* @description The target URL for each language.
|
|
17149
|
+
*/
|
|
17151
17150
|
hrefs?: QdShellServiceNavigationHrefs;
|
|
17152
17151
|
}
|
|
17152
|
+
/**
|
|
17153
|
+
* @description A single-URL link that also shows a badge.
|
|
17154
|
+
*/
|
|
17153
17155
|
type QdShellServiceNavigationSingleHrefBadge = QdShellServiceNavigationSingleHref & QdShellServiceNavigationBadge;
|
|
17156
|
+
/**
|
|
17157
|
+
* @description A per-language link that also shows a badge.
|
|
17158
|
+
*/
|
|
17154
17159
|
type QdShellServiceNavigationMultiHrefBadge = QdShellServiceNavigationMultiHrefs & QdShellServiceNavigationBadge;
|
|
17160
|
+
/**
|
|
17161
|
+
* @description Adds a small number badge to a link, for example an unread count.
|
|
17162
|
+
*/
|
|
17155
17163
|
interface QdShellServiceNavigationBadge {
|
|
17164
|
+
/**
|
|
17165
|
+
* @description The number shown in the badge.
|
|
17166
|
+
*
|
|
17167
|
+
* * @default: no badge
|
|
17168
|
+
*/
|
|
17156
17169
|
badge?: number;
|
|
17157
17170
|
}
|
|
17171
|
+
/**
|
|
17172
|
+
* @description One target URL per language. Used when a link should open a different page depending on the current language.
|
|
17173
|
+
*/
|
|
17158
17174
|
interface QdShellServiceNavigationHrefs {
|
|
17175
|
+
/**
|
|
17176
|
+
* @description The URL for German.
|
|
17177
|
+
*/
|
|
17159
17178
|
de?: string;
|
|
17179
|
+
/**
|
|
17180
|
+
* @description The URL for French.
|
|
17181
|
+
*/
|
|
17160
17182
|
fr?: string;
|
|
17183
|
+
/**
|
|
17184
|
+
* @description The URL for Italian.
|
|
17185
|
+
*/
|
|
17161
17186
|
it?: string;
|
|
17187
|
+
/**
|
|
17188
|
+
* @description The URL for English.
|
|
17189
|
+
*/
|
|
17162
17190
|
en?: string;
|
|
17163
17191
|
}
|
|
17192
|
+
/**
|
|
17193
|
+
* @description Contact details shown in the info panel, such as a support email and phone number.
|
|
17194
|
+
*/
|
|
17164
17195
|
interface QdShellServiceNavigationContactInfo {
|
|
17196
|
+
/**
|
|
17197
|
+
* @description The contact email address.
|
|
17198
|
+
*/
|
|
17165
17199
|
emailAddress?: string;
|
|
17200
|
+
/**
|
|
17201
|
+
* @description The contact phone number.
|
|
17202
|
+
*/
|
|
17166
17203
|
telephoneNumber?: string;
|
|
17167
17204
|
}
|
|
17168
17205
|
|
|
@@ -17207,17 +17244,15 @@ interface QdShellConfig {
|
|
|
17207
17244
|
*
|
|
17208
17245
|
* * @default: false
|
|
17209
17246
|
*
|
|
17210
|
-
*
|
|
17247
|
+
* @deprecated Will be removed in one of the next major versions.
|
|
17211
17248
|
*/
|
|
17212
17249
|
isFooterSticky?: boolean;
|
|
17213
17250
|
/**
|
|
17214
17251
|
* @description The title to be displayed in the shell header
|
|
17215
|
-
*
|
|
17216
|
-
* * Note: string ist deprecated and will be removed in the next major release. Use the i18n key instead.
|
|
17217
17252
|
*/
|
|
17218
17253
|
title?: {
|
|
17219
17254
|
i18n: string;
|
|
17220
|
-
}
|
|
17255
|
+
};
|
|
17221
17256
|
/**
|
|
17222
17257
|
* @description App icon to be displayed in the shell header in front of the title
|
|
17223
17258
|
*/
|
|
@@ -17244,10 +17279,6 @@ interface QdShellConfig {
|
|
|
17244
17279
|
* @description Configuration for the toolbar. The toolbar allows you to include icons with a numeric badge outside the header widget.
|
|
17245
17280
|
*/
|
|
17246
17281
|
toolbar?: QdShellToolbarConfig;
|
|
17247
|
-
/**
|
|
17248
|
-
* @description Configuration for the header widget
|
|
17249
|
-
*/
|
|
17250
|
-
headerWidget?: QdShellHeaderWidgetConfig;
|
|
17251
17282
|
/**
|
|
17252
17283
|
* @description Configuration for service navigation
|
|
17253
17284
|
*/
|
|
@@ -17480,7 +17511,7 @@ declare class QdCommentsComponent {
|
|
|
17480
17511
|
* ### **Features**
|
|
17481
17512
|
* - **RWD Ready**: QdShell is RWD-enabled out of the box.
|
|
17482
17513
|
* - **Navigation**: Configure the shell to allow the user navigating between applications.
|
|
17483
|
-
* - **Service Navigation
|
|
17514
|
+
* - **Service Navigation**: Use the built-in mechanism to embed auth handling components.
|
|
17484
17515
|
* - **Header appearance**: Depending on internal or external use, QdShell renders a different header style.
|
|
17485
17516
|
* - **Notifications**: Embed notifications on the right of your application.
|
|
17486
17517
|
*
|
|
@@ -17520,10 +17551,7 @@ declare class QdShellComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
17520
17551
|
* The configuration of the shell.
|
|
17521
17552
|
* * @default {
|
|
17522
17553
|
* isInternal: false,
|
|
17523
|
-
* hasSearch: false
|
|
17524
|
-
* headerWidget: {
|
|
17525
|
-
* isDisabled: false
|
|
17526
|
-
* }
|
|
17554
|
+
* hasSearch: false
|
|
17527
17555
|
* }
|
|
17528
17556
|
*/
|
|
17529
17557
|
set config(value: QdShellConfig);
|
|
@@ -17538,10 +17566,10 @@ declare class QdShellComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
17538
17566
|
* Return value is the result object of the search.
|
|
17539
17567
|
*/
|
|
17540
17568
|
searchPostBodyOutput: EventEmitter<QdSearchPostBodyData>;
|
|
17569
|
+
private shellHeaderComponent;
|
|
17541
17570
|
/**
|
|
17542
|
-
*
|
|
17571
|
+
* @deprecated Comments belong to an object (the QdPage), not the shell. Relocate to QdPage instead of removing. Planned for v22.
|
|
17543
17572
|
*/
|
|
17544
|
-
private shellHeaderComponent;
|
|
17545
17573
|
commentsComponent: QueryList<QdCommentsComponent>;
|
|
17546
17574
|
protected get isCommentsDisplayed(): boolean;
|
|
17547
17575
|
hasNavigation$: Observable<boolean>;
|
|
@@ -17559,7 +17587,7 @@ declare class QdShellComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
17559
17587
|
ngAfterViewInit(): void;
|
|
17560
17588
|
private closeShellRightIfCommentsDisappear;
|
|
17561
17589
|
ngOnDestroy(): void;
|
|
17562
|
-
handleRouterOutletActivation(routeComponentInstance:
|
|
17590
|
+
handleRouterOutletActivation(routeComponentInstance: unknown): void;
|
|
17563
17591
|
private passConfigToServices;
|
|
17564
17592
|
private subscribeToSearchService;
|
|
17565
17593
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdShellComponent, never>;
|
|
@@ -17602,7 +17630,7 @@ declare class QdShellHeaderBannerComponent {
|
|
|
17602
17630
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdShellHeaderBannerComponent, "qd-shell-header-banner", never, {}, {}, never, never, false, never>;
|
|
17603
17631
|
}
|
|
17604
17632
|
|
|
17605
|
-
declare class QdShellHeaderComponent implements
|
|
17633
|
+
declare class QdShellHeaderComponent implements OnDestroy {
|
|
17606
17634
|
private navigationService;
|
|
17607
17635
|
private shellHeaderMinimizationService;
|
|
17608
17636
|
private shellLeftService;
|
|
@@ -17618,16 +17646,14 @@ declare class QdShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
17618
17646
|
isMinimized: boolean;
|
|
17619
17647
|
/**
|
|
17620
17648
|
* @description Indicates whether the comments are used.
|
|
17621
|
-
* TODO: Remove in v17!
|
|
17622
17649
|
*
|
|
17623
|
-
*
|
|
17650
|
+
* @deprecated Comments belong to an object (the QdPage), not the shell. Relocate to QdPage instead of removing. Planned for v22.
|
|
17624
17651
|
*/
|
|
17625
17652
|
isCommentsUsed: boolean;
|
|
17626
17653
|
/**
|
|
17627
17654
|
* @description Indicates whether comments are available.
|
|
17628
|
-
* TODO: Remove in v17!
|
|
17629
17655
|
*
|
|
17630
|
-
*
|
|
17656
|
+
* @deprecated Comments belong to an object (the QdPage), not the shell. Relocate to QdPage instead of removing. Planned for v22.
|
|
17631
17657
|
*/
|
|
17632
17658
|
hasComments: boolean;
|
|
17633
17659
|
menuIconChange: EventEmitter<boolean>;
|
|
@@ -17640,12 +17666,18 @@ declare class QdShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
17640
17666
|
isNavigationPinned$: Observable<boolean>;
|
|
17641
17667
|
hasNotificationsToggle$: Observable<boolean>;
|
|
17642
17668
|
hasNotifications$: Observable<boolean>;
|
|
17669
|
+
/**
|
|
17670
|
+
* @deprecated Comments belong to an object (the QdPage), not the shell. Relocate to QdPage instead of removing. Planned for v22.
|
|
17671
|
+
*/
|
|
17643
17672
|
isCommentsOpened$: Observable<boolean>;
|
|
17644
17673
|
isNotificationsOpened$: Observable<boolean>;
|
|
17674
|
+
/**
|
|
17675
|
+
* @deprecated Comments belong to an object (the QdPage), not the shell. Relocate to QdPage instead of removing. Planned for v22.
|
|
17676
|
+
*/
|
|
17645
17677
|
isCommentsDisplayed: boolean;
|
|
17646
17678
|
isServiceNavigationOpened: boolean;
|
|
17647
17679
|
private _previousHref;
|
|
17648
|
-
private _routeParams
|
|
17680
|
+
private _routeParams?;
|
|
17649
17681
|
private _routeParamsSubscription;
|
|
17650
17682
|
private _breakpointSubscription;
|
|
17651
17683
|
constructor();
|
|
@@ -17653,13 +17685,12 @@ declare class QdShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
17653
17685
|
private insertRouteParams;
|
|
17654
17686
|
togglePinnedNavigation(): void;
|
|
17655
17687
|
toggleNotifications(): void;
|
|
17688
|
+
/**
|
|
17689
|
+
* @deprecated Comments belong to an object (the QdPage), not the shell. Relocate to QdPage instead of removing. Planned for v22.
|
|
17690
|
+
*/
|
|
17656
17691
|
toggleComments(): void;
|
|
17657
17692
|
toggleServiceNavigation(): void;
|
|
17658
|
-
ngOnInit(): void;
|
|
17659
17693
|
ngOnDestroy(): void;
|
|
17660
|
-
isPlainTitle(title: QdShellConfig['title']): boolean;
|
|
17661
|
-
extractI18nTitle(title: QdShellConfig['title']): string;
|
|
17662
|
-
private validateTitle;
|
|
17663
17694
|
protected readonly async: rxjs_internal_scheduler_AsyncScheduler.AsyncScheduler;
|
|
17664
17695
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdShellHeaderComponent, never>;
|
|
17665
17696
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdShellHeaderComponent, "[qd-shell-header]", never, { "config": { "alias": "config"; "required": false; }; "isMinimized": { "alias": "isMinimized"; "required": false; }; "isCommentsUsed": { "alias": "isCommentsUsed"; "required": false; }; "hasComments": { "alias": "hasComments"; "required": false; }; }, { "menuIconChange": "menuIconChange"; }, never, never, false, never>;
|
|
@@ -17672,32 +17703,6 @@ declare class QdShellHeaderSearchComponent {
|
|
|
17672
17703
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdShellHeaderSearchComponent, "qd-shell-header-search", never, {}, {}, never, never, false, never>;
|
|
17673
17704
|
}
|
|
17674
17705
|
|
|
17675
|
-
declare class QdShellHeaderWidgetComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
17676
|
-
private readonly headerWidgetService;
|
|
17677
|
-
private readonly translateService;
|
|
17678
|
-
private readonly languageFromUrlService;
|
|
17679
|
-
private readonly authenticationService;
|
|
17680
|
-
/**
|
|
17681
|
-
* The configuration of the shell header widget.
|
|
17682
|
-
*/
|
|
17683
|
-
config: QdShellHeaderWidgetConfig;
|
|
17684
|
-
headerWidgetDesktop: ElementRef;
|
|
17685
|
-
headerWidgetMobile: ElementRef;
|
|
17686
|
-
private _destroyed$;
|
|
17687
|
-
get languageList(): string[];
|
|
17688
|
-
ngOnInit(): void;
|
|
17689
|
-
ngAfterViewInit(): void;
|
|
17690
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
17691
|
-
ngOnDestroy(): void;
|
|
17692
|
-
handleLanguageChange($event: any): void;
|
|
17693
|
-
handleLoginStatusChange($event: any): void;
|
|
17694
|
-
private passConfigToHeaderWidgets;
|
|
17695
|
-
private setAttributesForHeaderWidgets;
|
|
17696
|
-
private useLanguage;
|
|
17697
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QdShellHeaderWidgetComponent, never>;
|
|
17698
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdShellHeaderWidgetComponent, "qd-shell-header-widget", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
17699
|
-
}
|
|
17700
|
-
|
|
17701
17706
|
declare class QdShellLeftComponent {
|
|
17702
17707
|
private readonly shellLeftService;
|
|
17703
17708
|
navigationTemplateRef: any;
|
|
@@ -17842,7 +17847,7 @@ declare class QdShellServiceNavigationModule {
|
|
|
17842
17847
|
|
|
17843
17848
|
declare class QdShellModule {
|
|
17844
17849
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdShellModule, never>;
|
|
17845
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdShellModule, [typeof QdCounterBadgeComponent, typeof QdShellComponent, typeof QdShellFooterComponent, typeof QdShellHeaderBannerComponent, typeof QdShellHeaderComponent, typeof QdShellHeaderSearchComponent, typeof
|
|
17850
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdShellModule, [typeof QdCounterBadgeComponent, typeof QdShellComponent, typeof QdShellFooterComponent, typeof QdShellHeaderBannerComponent, typeof QdShellHeaderComponent, typeof QdShellHeaderSearchComponent, typeof QdShellLeftComponent, typeof QdShellRightComponent, typeof QdShellRightToolbarComponent, typeof QdShellNotificationsComponent, typeof QdShellNotificationComponent, typeof QdShellNavigationComponent, typeof QdShellNavigationLinkComponent, typeof QdShellToolbarComponent, typeof QdShellToolbarItemComponent], [typeof i2.CommonModule, typeof i4.RouterModule, typeof i18.CdkDrag, typeof QdIconModule, typeof QdSearchModule, typeof i5.TranslateModule, typeof QdNotificationsModule, typeof QdShellServiceNavigationModule], [typeof QdShellComponent]>;
|
|
17846
17851
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdShellModule>;
|
|
17847
17852
|
}
|
|
17848
17853
|
|
|
@@ -17944,10 +17949,10 @@ declare class QdTilesModule {
|
|
|
17944
17949
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdTilesModule>;
|
|
17945
17950
|
}
|
|
17946
17951
|
|
|
17947
|
-
declare class
|
|
17948
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
17949
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
17950
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
17952
|
+
declare class QdMockFrameworkModule {
|
|
17953
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdMockFrameworkModule, never>;
|
|
17954
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdMockFrameworkModule, never, [typeof QdMockButtonModule, typeof QdMockChipModule, typeof QdMockGridModule, typeof QdMockFilterModule, typeof QdMockFormsModule, typeof QdMockIconModule, typeof QdMockImageModule, typeof QdMockListModule, typeof QdMockNotificationsModule, typeof QdMockPageModule, typeof QdMockProgressBarModule, typeof QdMockSearchModule, typeof QdMockSectionModule, typeof QdMockCoreModule, typeof QdMockShellModule, typeof QdMockStatusIndicatorModule, typeof QdMockTableModule, typeof QdMockTextSectionModule, typeof QdMockTilesModule], [typeof QdMockButtonModule, typeof QdMockChipModule, typeof QdMockGridModule, typeof QdMockFilterModule, typeof QdMockFormsModule, typeof QdMockIconModule, typeof QdMockImageModule, typeof QdMockListModule, typeof QdMockNotificationsModule, typeof QdMockPageModule, typeof QdMockProgressBarModule, typeof QdMockSearchModule, typeof QdMockSectionModule, typeof QdMockCoreModule, typeof QdMockShellModule, typeof QdMockStatusIndicatorModule, typeof QdMockTableModule, typeof QdMockTextSectionModule, typeof QdMockTilesModule]>;
|
|
17955
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QdMockFrameworkModule>;
|
|
17951
17956
|
}
|
|
17952
17957
|
|
|
17953
17958
|
declare class QdCommentMenuComponent {
|
|
@@ -17985,7 +17990,7 @@ declare class QdStriphtmlPipe implements PipeTransform {
|
|
|
17985
17990
|
|
|
17986
17991
|
declare class QdCommentsModule {
|
|
17987
17992
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdCommentsModule, never>;
|
|
17988
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCommentsModule, [typeof QdCommentsComponent, typeof QdCommentMenuComponent, typeof AddCommentDialogComponent, typeof QdStriphtmlPipe], [typeof i2.CommonModule, typeof
|
|
17993
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdCommentsModule, [typeof QdCommentsComponent, typeof QdCommentMenuComponent, typeof AddCommentDialogComponent, typeof QdStriphtmlPipe], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdPopoverModule, typeof QdIconModule, typeof QdButtonModule, typeof QdFormModule, typeof QdDialogModule, typeof i30.FormsModule, typeof i30.ReactiveFormsModule, typeof QdCoreModule], [typeof QdCommentsComponent]>;
|
|
17989
17994
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdCommentsModule>;
|
|
17990
17995
|
}
|
|
17991
17996
|
|
|
@@ -18040,7 +18045,7 @@ declare class QdPageStepHeaderComponent extends CdkStepHeader {
|
|
|
18040
18045
|
|
|
18041
18046
|
declare class QdPageStepperModule {
|
|
18042
18047
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageStepperModule, never>;
|
|
18043
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageStepperModule, [typeof QdPageStepperCancelDialogComponent, typeof QdPageStepperAdapterDirective], [typeof i2.CommonModule, typeof
|
|
18048
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageStepperModule, [typeof QdPageStepperCancelDialogComponent, typeof QdPageStepperAdapterDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof i5$1.CdkStepperModule, typeof QdIconModule, typeof QdButtonModule, typeof QdGridModule, typeof QdDialogModule, typeof QdTextSectionModule, typeof QdPageStepperComponent, typeof QdPageStepComponent, typeof QdPageStepHeaderComponent], [typeof QdPageStepperComponent, typeof QdPageStepComponent, typeof QdPageStepperAdapterDirective]>;
|
|
18044
18049
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPageStepperModule>;
|
|
18045
18050
|
}
|
|
18046
18051
|
|
|
@@ -18064,18 +18069,13 @@ declare class QdPageStepperModule {
|
|
|
18064
18069
|
*/
|
|
18065
18070
|
declare function qdPageTabParameterize(tab: QdPageTabConfig | string | undefined): QdQueryParameter;
|
|
18066
18071
|
|
|
18072
|
+
type QdTabState = 'number' | 'edit' | 'done' | 'error' | string;
|
|
18067
18073
|
/**
|
|
18068
18074
|
* **QdPageTabHeader* renders the header of a single tab. It is used quadrel-internally.
|
|
18069
18075
|
*/
|
|
18070
|
-
declare class QdPageTabHeaderComponent
|
|
18071
|
-
protected readonly STEP_STATE: {
|
|
18072
|
-
NUMBER: string;
|
|
18073
|
-
EDIT: string;
|
|
18074
|
-
DONE: string;
|
|
18075
|
-
ERROR: string;
|
|
18076
|
-
};
|
|
18076
|
+
declare class QdPageTabHeaderComponent {
|
|
18077
18077
|
/** State of the given tab. */
|
|
18078
|
-
state:
|
|
18078
|
+
state: QdTabState;
|
|
18079
18079
|
/** Label of the given tab. */
|
|
18080
18080
|
label: string;
|
|
18081
18081
|
/** Represents up to two numeric counters as a badge */
|
|
@@ -18090,7 +18090,6 @@ declare class QdPageTabHeaderComponent extends CdkStepHeader {
|
|
|
18090
18090
|
* A static test ID for integration tests can be set.
|
|
18091
18091
|
*/
|
|
18092
18092
|
testId: string;
|
|
18093
|
-
constructor();
|
|
18094
18093
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageTabHeaderComponent, never>;
|
|
18095
18094
|
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageTabHeaderComponent, "qd-page-tab-header", never, { "state": { "alias": "state"; "required": false; }; "label": { "alias": "label"; "required": false; }; "counters": { "alias": "counters"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, true, never>;
|
|
18096
18095
|
}
|
|
@@ -18107,7 +18106,7 @@ declare class QdPageTabHeaderCountersComponent implements OnInit {
|
|
|
18107
18106
|
|
|
18108
18107
|
declare class QdPageTabsModule {
|
|
18109
18108
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageTabsModule, never>;
|
|
18110
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageTabsModule, [typeof QdPageTabsAdapterDirective], [typeof i2.CommonModule, typeof
|
|
18109
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdPageTabsModule, [typeof QdPageTabsAdapterDirective], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdButtonModule, typeof QdIconModule, typeof QdPageTabsComponent, typeof QdPageTabComponent, typeof QdPageTabHeaderComponent, typeof QdPageTabHeaderCountersComponent], [typeof QdPageTabsComponent, typeof QdPageTabComponent, typeof QdPageTabsAdapterDirective]>;
|
|
18111
18110
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdPageTabsModule>;
|
|
18112
18111
|
}
|
|
18113
18112
|
|
|
@@ -18548,18 +18547,18 @@ declare class QdFocusableModule {
|
|
|
18548
18547
|
|
|
18549
18548
|
declare class QdQuickEditModule {
|
|
18550
18549
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdQuickEditModule, never>;
|
|
18551
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QdQuickEditModule, [typeof QdQuickEditComponent, typeof QdCustomForDirective], [typeof QdCoreModule, typeof QdButtonModule, typeof i2.CommonModule, typeof QdFormModule, typeof
|
|
18550
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdQuickEditModule, [typeof QdQuickEditComponent, typeof QdCustomForDirective], [typeof QdCoreModule, typeof QdButtonModule, typeof i2.CommonModule, typeof QdFormModule, typeof i30.ReactiveFormsModule, typeof QdIconModule, typeof QdPopoverModule, typeof i5.TranslateModule, typeof QdPageModule, typeof QdFocusableModule, typeof QdTooltipModule], [typeof QdQuickEditComponent]>;
|
|
18552
18551
|
static ɵinj: i0.ɵɵInjectorDeclaration<QdQuickEditModule>;
|
|
18553
18552
|
}
|
|
18554
18553
|
|
|
18555
|
-
declare class
|
|
18556
|
-
static forRoot(config: QdAppEnvironment, backendErrorCodes?: {}, whitelistErrorCodes?: number[]): ModuleWithProviders<
|
|
18557
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
18558
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
18559
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
18554
|
+
declare class QdFrameworkModule {
|
|
18555
|
+
static forRoot(config: QdAppEnvironment, backendErrorCodes?: {}, whitelistErrorCodes?: number[]): ModuleWithProviders<QdFrameworkModule>;
|
|
18556
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdFrameworkModule, never>;
|
|
18557
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QdFrameworkModule, never, [typeof QdButtonModule, typeof QdChipModule, typeof QdCommentsModule, typeof QdContactCardModule, typeof QdCoreModule, typeof QdDialogModule, typeof QdFileCollectorModule, typeof QdFilterModule, typeof QdFormModule, typeof QdGridModule, typeof QdIconModule, typeof QdImageModule, typeof QdListModule, typeof QdNavigationTilesModule, typeof QdNotificationsModule, typeof QdPageModule, typeof QdPageStepperModule, typeof QdPageTabsModule, typeof QdPanelSectionModule, typeof QdProgressBarModule, typeof QdQuickEditModule, typeof QdSearchModule, typeof QdSectionModule, typeof QdShellModule, typeof QdSpinnerModule, typeof QdStatusIndicatorModule, typeof QdTableModule, typeof QdTextSectionModule, typeof QdTilesModule, typeof QdTreeModule], [typeof QdButtonModule, typeof QdChipModule, typeof QdCommentsModule, typeof QdContactCardModule, typeof QdCoreModule, typeof QdDialogModule, typeof QdFileCollectorModule, typeof QdFilterModule, typeof QdFormModule, typeof QdGridModule, typeof QdIconModule, typeof QdImageModule, typeof QdListModule, typeof QdNavigationTilesModule, typeof QdNotificationsModule, typeof QdPageModule, typeof QdPageStepperModule, typeof QdPageTabsModule, typeof QdPanelSectionModule, typeof QdProgressBarModule, typeof QdQuickEditModule, typeof QdSearchModule, typeof QdSectionModule, typeof QdShellModule, typeof QdSpinnerModule, typeof QdStatusIndicatorModule, typeof QdTableModule, typeof QdTextSectionModule, typeof QdTilesModule, typeof QdTreeModule]>;
|
|
18558
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QdFrameworkModule>;
|
|
18560
18559
|
}
|
|
18561
18560
|
|
|
18562
18561
|
declare const APP_ENVIRONMENT: InjectionToken<QdAppEnvironment>;
|
|
18563
18562
|
|
|
18564
|
-
export { APP_ENVIRONMENT,
|
|
18565
|
-
export type { CustomField, QdAppEnvironment, QdAudioFileType, QdButtonAdditionalInfo, QdButtonAdditionalInfoMessage, QdButtonAdditionalInfoType, QdButtonColor, QdChipColor, QdCollectedFile, QdComment, QdCommentAuthorFieldConfig, QdCommentCustomFieldConfig, QdCommentDeletedMeta, QdCommentRichtextConfig, QdCommentSecondaryActionConfig, QdCommentsAddButtonConfig, QdCommentsAddConfig, QdCommentsConfig, QdCompressedFileType, QdConfirmationStatus, QdContactAddress, QdContactCardActionConfig, QdContactCardActionLabel, QdContactCardActionsConfig, QdContactData, QdContactDataCustomField, QdContactDataCustomFieldEntry, QdContactDataCustomTranslatedEntry, QdContactFunction, QdContactPerson, QdContactTag, QdContextSelection, QdDependentFilterCategory, QdDialogAuthSessionEndResult, QdDialogCancelAction, QdDialogConfig, QdDialogConfirmConfigTranslation, QdDialogConfirmationConfig, QdDialogConfirmationResolver, QdDialogData, QdDialogPrimaryAction, QdDialogTitle, QdDisabledDates, QdDisabledDatesValidation, QdDisabledTimes, QdDisabledTimesValidation, QdDocumentFileType, QdFacetOptionMultiSelect, QdFacetOptionSingleSelect, QdFacetOptions, QdFacetOptionsDate, QdFacetOptionsIcon, QdFacetOptionsStatus, QdFacetOptionsValue, QdFileCollectorConfig, QdFileUpload$1 as QdFileCollectorUpload, QdFileManager, QdFileType, QdFileUpload, QdFileUploadManager, QdFilterCategory, QdFilterConfigData, QdFilterItem, QdFilterPostBodyCategory, QdFilterPostBodyData, QdFilterSelection, QdFilterType, QdFormArrayAsyncValidator, QdFormArrayItemAsyncValidator, QdFormArrayItemValidator, QdFormArrayItemValidatorOrOpts, QdFormArrayOptions, QdFormArrayValidator, QdFormArrayValuesOrControls, QdFormBaseOption, QdFormBaseOptions, QdFormCheckboxChipsConfiguration, QdFormCheckboxOption, QdFormCheckboxOptions, QdFormCheckboxesConfiguration, QdFormConfiguration, QdFormDatepickerConfiguration, QdFormDropdownConfiguration, QdFormFileUploadConfiguration, QdFormHint,
|
|
18563
|
+
export { APP_ENVIRONMENT, BACKEND_ERROR_CODES, MockLocaleDatePipe, NavigationTileComponent, NavigationTilesComponent, QD_DIALOG_CONFIRMATION_RESOLVER_TOKEN, QD_FILE_MANAGER_TOKEN, QD_FILE_UPLOAD_MANAGER_TOKEN, QD_FORM_OPTIONS_RESOLVER, QD_PAGE_OBJECT_RESOLVER_TOKEN, QD_PAGE_STEP_RESOLVER_TOKEN, QD_POPOVER_TOP_FIRST, QD_SAFE_BOTTOM_OFFSET, QD_TABLE_DATA_RESOLVER_TOKEN, QD_UPLOAD_HTTP_OPTIONS, QdButtonComponent, QdButtonGhostDirective, QdButtonGridComponent, QdButtonLinkDirective, QdButtonModule, QdButtonStackButtonComponent, QdButtonStackComponent, QdCheckboxChipsComponent, QdCheckboxComponent, QdCheckboxesComponent, QdChipComponent, QdChipModule, QdColumnAutoFillDirective, QdColumnBreakBeforeDirective, QdColumnDirective, QdColumnDisableResponsiveColspansDirective, QdColumnFullGridWidthDirective, QdColumnNextInSameRowDirective, QdColumnsDirective, QdColumnsDisableAutoFillDirective, QdColumnsDisableResponsiveColspansDirective, QdColumnsMaxDirective, QdCommentsComponent, QdCommentsModule, QdConnectFormStateToPageDirective, QdConnectorTableContextDirective, QdConnectorTableFilterDirective, QdConnectorTableSearchDirective, QdContactCardComponent, QdContactCardModule, QdContainerPairsCaptionComponent, QdContainerPairsContainerComponent, QdContainerPairsHeaderComponent, QdContainerPairsItemComponent, QdContainerPairsValueComponent, QdContextService, QdCoreModule, QdDatepickerComponent, QdDialogActionComponent, QdDialogAuthSessionEndComponent, QdDialogAuthSessionEndService, QdDialogComponent, QdDialogConfirmationComponent, QdDialogConfirmationErrorDirective, QdDialogConfirmationInfoDirective, QdDialogConfirmationSuccessDirective, QdDialogModule, QdDialogRecordStepperComponent, QdDialogService, QdDialogSize, QdDisabledDirective, QdDropdownComponent, QdFileCollectorComponent, QdFileCollectorModule, QdFileSizePipe$1 as QdFileSizePipe, QdFileUploadComponent, QdFileUploadService, QdFilterComponent, QdFilterFormItemsComponent, QdFilterModule, QdFilterRestParamBuilder, QdFilterService, QdFooterActionType, QdFormArray, QdFormBuilder, QdFormControl, QdFormGroup, QdFormModule, QdFrameworkModule, QdGridComponent, QdGridModule, QdHorizontalPairsCaptionComponent, QdHorizontalPairsComponent, QdHorizontalPairsItemComponent, QdHorizontalPairsValueComponent, QdIconButtonComponent, QdIconComponent, QdIconModule, QdImageComponent, QdImageModule, QdIndeterminateProgressBarComponent, QdInputComponent, QdListModule, QdMenuButtonComponent, QdMockBreakpointService, QdMockButtonComponent, QdMockButtonGhostDirective, QdMockButtonGridComponent, QdMockButtonLinkDirective, QdMockButtonModule, QdMockButtonStackButtonComponent, QdMockButtonStackComponent, QdMockCalendarComponent, QdMockCheckboxChipsComponent, QdMockCheckboxComponent, QdMockCheckboxesComponent, QdMockChipComponent, QdMockChipModule, QdMockColumnDirective, QdMockColumnsDirective, QdMockContactCardComponent, QdMockContactCardModule, QdMockContainerPairsCaptionComponent, QdMockContainerPairsContainerComponent, QdMockContainerPairsHeaderComponent, QdMockContainerPairsItemComponent, QdMockContainerPairsValueComponent, QdMockCoreModule, QdMockCounterBadgeComponent, QdMockDatepickerComponent, QdMockDisabledDirective, QdMockDropdownComponent, QdMockFileCollectorComponent, QdMockFileCollectorModule, QdMockFilterCategoryBooleanComponent, QdMockFilterCategoryComponent, QdMockFilterCategoryDateComponent, QdMockFilterCategoryDateRangeComponent, QdMockFilterCategoryFreeTextComponent, QdMockFilterCategorySelectComponent, QdMockFilterComponent, QdMockFilterFormItemsComponent, QdMockFilterItemBooleanComponent, QdMockFilterItemDateComponent, QdMockFilterItemDateRangeComponent, QdMockFilterItemFreeTextComponent, QdMockFilterItemMultiSelectComponent, QdMockFilterItemSingleSelectComponent, QdMockFilterModule, QdMockFilterService, QdMockFormErrorComponent, QdMockFormGroupErrorComponent, QdMockFormHintComponent, QdMockFormLabelComponent, QdMockFormReadonlyComponent, QdMockFormViewonlyComponent, QdMockFormsModule, QdMockFrameworkModule, QdMockGridModule, QdMockIconButtonComponent, QdMockIconComponent, QdMockIconModule, QdMockImageComponent, QdMockImageModule, QdMockIndeterminateProgressBarComponent, QdMockInputComponent, QdMockListModule, QdMockNavigationTileComponent, QdMockNavigationTilesComponent, QdMockNavigationTilesModule, QdMockNotificationComponent, QdMockNotificationContentComponent, QdMockNotificationsComponent, QdMockNotificationsModule, QdMockNotificationsService, QdMockPageComponent, QdMockPageModule, QdMockPercentageProgressBarComponent, QdMockPinCodeComponent, QdMockPopoverOnClickDirective, QdMockProgressBarModule, QdMockRadioButtonsComponent, QdMockRwdDisabledDirective, QdMockSearchComponent, QdMockSearchModule, QdMockSectionComponent, QdMockSectionModule, QdMockShellComponent, QdMockShellFooterComponent, QdMockShellHeaderBannerComponent, QdMockShellHeaderComponent, QdMockShellHeaderSearchComponent, QdMockShellModule, QdMockShellToolbarComponent, QdMockShellToolbarItemComponent, QdMockStatusIndicatorCaptionComponent, QdMockStatusIndicatorComponent, QdMockStatusIndicatorItemComponent, QdMockStatusIndicatorModule, QdMockStatusPairsCaptionComponent, QdMockStatusPairsComponent, QdMockStatusPairsErrorComponent, QdMockStatusPairsItemComponent, QdMockStatusPairsValueComponent, QdMockSwitchComponent, QdMockSwitchesComponent, QdMockTableComponent, QdMockTableModule, QdMockTextSectionComponent, QdMockTextSectionHeadlineComponent, QdMockTextSectionModule, QdMockTextSectionParagraphComponent, QdMockTextareaComponent, QdMockTileButtonListComponent, QdMockTileComponent, QdMockTileTextListComponent, QdMockTileTextListItemComponent, QdMockTileTitleComponent, QdMockTilesContainerComponent, QdMockTilesContainerTitleComponent, QdMockTilesModule, QdMockTranslatePipe, QdMockVisuallyHiddenDirective, QdMultiInputComponent, QdNavigationTilesModule, QdNotificationComponent, QdNotificationContentComponent, QdNotificationsComponent, QdNotificationsHttpInterceptorService, QdNotificationsModule, QdNotificationsService, QdNotificationsSnackbarListenerDirective, QdNumberInputService, QdPageComponent, QdPageControlPanelComponent, QdPageFooterComponent, QdPageFooterCustomContentDirective, QdPageHeaderExtensionDirective, QdPageInfoBannerComponent, QdPageModule, QdPageStepComponent, QdPageStepperAdapterDirective, QdPageStepperComponent, QdPageStepperModule, QdPageStoreService, QdPageTabComponent, QdPageTabsAdapterDirective, QdPageTabsComponent, QdPageTabsModule, QdPanelSectionActionsComponent, QdPanelSectionComponent, QdPanelSectionModule, QdPanelSectionStatusComponent, QdPanelSectionTextParagraphComponent, QdPendingChangesGuardDirective, QdPercentageProgressBarComponent, QdPinCodeComponent, QdPlaceholderPipe, QdProgressBarModule, QdProjectionGuardComponent, QdPushEventsService, QdQuickEditComponent, QdQuickEditModule, QdRadioButtonsComponent, QdRichtextComponent, QdRouterQueryParamHubService, QdRwdDisabledDirective, QdSearchComponent, QdSearchModule, QdSearchService, QdSectionAdapterDirective, QdSectionComponent, QdSectionModule, QdSectionToolbarComponent, QdShellComponent, QdShellModule, QdSortDirection, QdSpinnerComponent, QdSpinnerModule, QdStatusIndicatorComponent, QdStatusIndicatorModule, QdStatusPairsCaptionComponent, QdStatusPairsComponent, QdStatusPairsErrorComponent, QdStatusPairsItemComponent, QdStatusPairsValueComponent, QdSubgridComponent, QdSwitchComponent, QdSwitchesComponent, QdTableComponent, QdTableModule, QdTextSectionComponent, QdTextSectionHeadlineComponent, QdTextSectionModule, QdTextSectionParagraphComponent, QdTextareaComponent, QdTileButtonListComponent, QdTileComponent, QdTileTextListComponent, QdTileTextListItemComponent, QdTileTitleComponent, QdTilesComponent, QdTilesModule, QdTilesTitleComponent, QdTooltipIconComponent, QdTreeComponent, QdTreeModule, QdTreeRowExpanderService, QdUploadErrorType, QdValidators, QdViewportAdaptiveDirective, QdVisuallyHiddenDirective, WHITELIST_ERROR_CODES, chipColorDefault, createMetadataStream, qdFilterParameterize, qdMergeParams, qdPageTabParameterize, qdPaginationParameterize, qdSearchParameterize, qdSortParameterize, qdTableQueryParameterize, qdWrapParams, quadrelIconNames, updateHtmlLang };
|
|
18564
|
+
export type { CustomField, QdAppEnvironment, QdAudioFileType, QdButtonAdditionalInfo, QdButtonAdditionalInfoMessage, QdButtonAdditionalInfoType, QdButtonColor, QdChipColor, QdCollectedFile, QdComment, QdCommentAuthorFieldConfig, QdCommentCustomFieldConfig, QdCommentDeletedMeta, QdCommentRichtextConfig, QdCommentSecondaryActionConfig, QdCommentsAddButtonConfig, QdCommentsAddConfig, QdCommentsConfig, QdCompressedFileType, QdConfirmationStatus, QdContactAddress, QdContactCardActionConfig, QdContactCardActionLabel, QdContactCardActionsConfig, QdContactData, QdContactDataCustomField, QdContactDataCustomFieldEntry, QdContactDataCustomTranslatedEntry, QdContactFunction, QdContactPerson, QdContactTag, QdContextSelection, QdDependentFilterCategory, QdDialogAuthSessionEndResult, QdDialogCancelAction, QdDialogConfig, QdDialogConfirmConfigTranslation, QdDialogConfirmationConfig, QdDialogConfirmationResolver, QdDialogData, QdDialogPrimaryAction, QdDialogTitle, QdDisabledDates, QdDisabledDatesValidation, QdDisabledTimes, QdDisabledTimesValidation, QdDocumentFileType, QdFacetOptionMultiSelect, QdFacetOptionSingleSelect, QdFacetOptions, QdFacetOptionsDate, QdFacetOptionsIcon, QdFacetOptionsStatus, QdFacetOptionsValue, QdFileCollectorConfig, QdFileUpload$1 as QdFileCollectorUpload, QdFileManager, QdFileType, QdFileUpload, QdFileUploadManager, QdFilterCategory, QdFilterConfigData, QdFilterItem, QdFilterPostBodyCategory, QdFilterPostBodyData, QdFilterSelection, QdFilterType, QdFormArrayAsyncValidator, QdFormArrayItemAsyncValidator, QdFormArrayItemValidator, QdFormArrayItemValidatorOrOpts, QdFormArrayOptions, QdFormArrayValidator, QdFormArrayValuesOrControls, QdFormBaseOption, QdFormBaseOptions, QdFormCheckboxChipsConfiguration, QdFormCheckboxOption, QdFormCheckboxOptions, QdFormCheckboxesConfiguration, QdFormConfiguration, QdFormDatepickerConfiguration, QdFormDropdownConfiguration, QdFormFileUploadConfiguration, QdFormHint, QdFormInputConfiguration, QdFormInputOption, QdFormLabel, QdFormMultiInputConfiguration, QdFormOption, QdFormOptionsDependencies, QdFormOptionsResolvedEvent, QdFormOptionsResolver, QdFormPinCodeConfiguration, QdFormRadioButtonsConfiguration, QdFormRadioButtonsOptions, QdFormResolvableOptionsConfiguration, QdFormResolvedOption, QdFormResolvedOptions, QdFormSwitchesConfiguration, QdFormTextAreaConfiguration, QdFormTimepickerConfiguration, QdGridConfig, QdHinti18n, QdImageFileType, QdInputMode, QdInputRawEventValue, QdInputType, QdInputValue, QdInputValueWithUnit, QdInspectOperationMode, QdLabeli18n, QdMaxColumnsCount, QdMenuButtonActionConfig, QdMenuButtonActionLabel, QdMenuButtonConfig, QdMultiInputOption, QdNotification, QdNotificationLink, QdNotificationTitle, QdNotificationTranslation, QdNotificationType, QdNotifications, QdOsNotificationOptions, QdPageArchiveAction, QdPageCancelAction, QdPageCommitAction, QdPageConfig, QdPageConfigBase, QdPageConfigCreate, QdPageConfigCustom, QdPageConfigInspect, QdPageConfigOverview, QdPageContextConfig, QdPageContextConfigBase, QdPageContextConfigCustom, QdPageContextConfigMulti, QdPageContextConfigSingle, QdPageControlPanelConfig, QdPageCreateSubmitAction, QdPageCustomActionsLabel, QdPageDeleteAction, QdPageDialogCanCloseEntry, QdPageDialogCanCloseFn, QdPageDialogCanCloseResult, QdPageDialogCloseCause, QdPageEditAction, QdPageFooterAction, QdPageHeaderFacetConfig, QdPageInfoBannerConfig, QdPageInfoBannerLink, QdPageInfoBannerTitle, QdPageInfoBannerTranslation, QdPageInfoBannerType, QdPageInspectSubmitAction, QdPageObjectResolver, QdPageObjectResolverConfig, QdPageSaveAction, QdPageSaveDraftAction, QdPageSelectedContext, QdPageStepConfig, QdPageStepResolver, QdPageStepperActionConfig, QdPageStepperConfig, QdPageStepperHandlerParams, QdPageStepperSubmitActionConfig, QdPageTabConfig, QdPageTabCounters, QdPageTabsConfig, QdPageTabsSubmitButtonConfig, QdPageTitle, QdPageTypeCreateConfig, QdPageTypeCustomConfig, QdPageTypeInspectConfig, QdPageTypeOverviewConfig, QdPaginationParams, QdPanelSectionActionConfig, QdPanelSectionConfig, QdPanelSectionStatusConfig, QdPanelSectionTextParagraphConfig, QdPanelSectionTextParagraphTitle, QdPanelSectionTitle, QdPinCodeInputType, QdPlaceholder, QdPlaceholderPrefix, QdPredefinedSectionActionConfig, QdPushEventName, QdQueryParameter, QdQuickEditColumn, QdQuickEditColumnBase, QdQuickEditColumnEnum, QdQuickEditColumnInteger, QdQuickEditColumnText, QdQuickEditConfig, QdQuickEditData, QdQuickEditDataValue, QdQuickEditEmptyStateView, QdQuickEditRow, QdQuickEditSecondaryAction, QdResolvedFilterCategory, QdRichtextConfig, QdSearchAdditionalInfo, QdSearchOptions, QdSearchPostBodyData, QdSearchPreSelectOptions, QdSearchPreSelectOptionsList, QdSearchState, QdSectionActionConfig, QdSectionActionOperationMode, QdSectionActionType, QdSectionCollapse, QdSectionConfig, QdSectionTitle, QdShellConfig, QdShellFooterCopyrightInfo, QdShellNavigationConfig, QdShellServiceNavigationBadge, QdShellServiceNavigationConfig, QdShellServiceNavigationContactInfo, QdShellServiceNavigationCustomButtonLinks, QdShellServiceNavigationEnvironment, QdShellServiceNavigationHrefs, QdShellServiceNavigationInfoLink, QdShellServiceNavigationLanguage, QdShellServiceNavigationMultiHrefBadge, QdShellServiceNavigationMultiHrefs, QdShellServiceNavigationProfileLink, QdShellServiceNavigationSingleHref, QdShellServiceNavigationSingleHrefBadge, QdShellToolbarConfig, QdShellToolbarItem, QdSnackbarNotificationOptions, QdStaticFilterCategory, QdStatus, QdStatusIndicator, QdStatusIndicatorCaption, QdStatusIndicatorLevel, QdStatusIndicatorType, QdStatusPairStatus, QdSubgridConfig, QdSwitchInput, QdSwitchOption, QdTabSelectionEvent, QdTableActionResult, QdTableChipDataValue, QdTableConfig, QdTableConfigColumn, QdTableConfigColumnBase, QdTableConfigColumnSort, QdTableConfigColumnType, QdTableConfigSecondaryActionType, QdTableConfigSelection, QdTableConfigSelectionType, QdTableConnectorCriteria, QdTableContentDataChip, QdTableContentDataChipObject, QdTableContextDataValue, QdTableCriticalDataValue, QdTableData, QdTableDataResolver, QdTableDataResolverProps, QdTableDataRow, QdTableDataValue, QdTableEmptyStateView, QdTableFillingColumn, QdTableOptionalRefreshingEventTypes, QdTablePagination, QdTablePrimaryAction, QdTableRecentSecondaryAction, QdTableRefreshConfig, QdTableResolvedData, QdTableRowIdentifier, QdTableRowIndex, QdTableRowUid, QdTableSecondaryAction, QdTableSelectedRow, QdTableSelectedRows, QdTableSort, QdTableStateSort, QdTableStatusDataValue, QdTileConfig, QdTilesConfig, QdTooltip, QdTranslatable, QdTranslation, QdTreeActionResult, QdTreeConfig, QdTreeConfigColumn, QdTreeConfigColumnBase, QdTreeConfigColumnType, QdTreeConfigSecondaryActionType, QdTreeData, QdTreeDataRow, QdTreeDataValue, QdTreeEmptyStateView, QdTreeGroupConfig, QdTreeRowsProvider, QdTreeSecondaryAction, QdUploadError, QdUploadProgress, QdVideoFileType };
|