@lucca-front/ng 22.1.0 → 22.1.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/lucca-front-ng-activity-feed.mjs +8 -4
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +46 -25
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +2 -0
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +2 -0
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -0
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +62 -12
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +3 -2
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- package/fesm2022/lucca-front-ng-form-field.mjs +6 -2
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +3 -2
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-section.mjs +3 -0
- package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +3 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +33 -9
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +17 -7
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +6 -6
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-priority-level.mjs +128 -0
- package/fesm2022/lucca-front-ng-priority-level.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +2 -2
- package/fesm2022/lucca-front-ng-segmented-control.mjs +2 -2
- package/fesm2022/lucca-front-ng-simple-select.mjs +4 -4
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +11 -4
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/package.json +11 -8
- package/schematics/lu-button/migration.js +59 -33
- package/src/components/_sidepanel.scss +2 -2
- package/src/components/cdk/_global.scss +4 -0
- package/src/components/cdk/_overlay.scss +1 -1
- package/types/lucca-front-ng-activity-feed.d.ts +13 -9
- package/types/lucca-front-ng-api.d.ts +28 -28
- package/types/lucca-front-ng-approbation-inbox.d.ts +19 -11
- package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
- package/types/lucca-front-ng-callout.d.ts +17 -17
- package/types/lucca-front-ng-chip.d.ts +6 -6
- package/types/lucca-front-ng-clear.d.ts +1 -1
- package/types/lucca-front-ng-color.d.ts +3 -3
- package/types/lucca-front-ng-comment.d.ts +11 -11
- package/types/lucca-front-ng-container.d.ts +1 -1
- package/types/lucca-front-ng-core-select-api.d.ts +7 -7
- package/types/lucca-front-ng-core-select-department.d.ts +7 -5
- package/types/lucca-front-ng-core-select-establishment.d.ts +7 -5
- package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -2
- package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -3
- package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -2
- package/types/lucca-front-ng-core-select-user.d.ts +14 -12
- package/types/lucca-front-ng-core-select.d.ts +39 -39
- package/types/lucca-front-ng-core.d.ts +2 -2
- package/types/lucca-front-ng-data-table.d.ts +33 -33
- package/types/lucca-front-ng-date.d.ts +11 -11
- package/types/lucca-front-ng-date2.d.ts +52 -36
- package/types/lucca-front-ng-dialog.d.ts +8 -8
- package/types/lucca-front-ng-divider.d.ts +2 -2
- package/types/lucca-front-ng-dropdown.d.ts +2 -2
- package/types/lucca-front-ng-empty-state.d.ts +20 -20
- package/types/lucca-front-ng-establishment.d.ts +13 -13
- package/types/lucca-front-ng-fancy-box.d.ts +12 -12
- package/types/lucca-front-ng-file-upload.d.ts +13 -13
- package/types/lucca-front-ng-filter-pills.d.ts +17 -17
- package/types/lucca-front-ng-footer.d.ts +1 -1
- package/types/lucca-front-ng-form-field.d.ts +19 -19
- package/types/lucca-front-ng-form-label.d.ts +4 -4
- package/types/lucca-front-ng-form.d.ts +1 -1
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +11 -11
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +11 -11
- package/types/lucca-front-ng-forms.d.ts +50 -50
- package/types/lucca-front-ng-grid.d.ts +23 -23
- package/types/lucca-front-ng-highlight-data.d.ts +5 -5
- package/types/lucca-front-ng-highlight-section.d.ts +6 -3
- package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
- package/types/lucca-front-ng-impersonation.d.ts +8 -6
- package/types/lucca-front-ng-index-table.d.ts +18 -18
- package/types/lucca-front-ng-inline-message.d.ts +2 -2
- package/types/lucca-front-ng-link.d.ts +17 -4
- package/types/lucca-front-ng-listbox.d.ts +9 -9
- package/types/lucca-front-ng-listing.d.ts +14 -3
- package/types/lucca-front-ng-loading.d.ts +4 -4
- package/types/lucca-front-ng-main-layout.d.ts +9 -9
- package/types/lucca-front-ng-modal.d.ts +2 -2
- package/types/lucca-front-ng-multi-select.d.ts +20 -20
- package/types/lucca-front-ng-option.d.ts +3 -3
- package/types/lucca-front-ng-page-header.d.ts +2 -2
- package/types/lucca-front-ng-pagination.d.ts +3 -3
- package/types/lucca-front-ng-popover.d.ts +18 -18
- package/types/lucca-front-ng-popover2.d.ts +8 -8
- package/types/lucca-front-ng-popup.d.ts +2 -2
- package/types/{lucca-front-ng-priority-levels.d.ts → lucca-front-ng-priority-level.d.ts} +11 -11
- package/types/lucca-front-ng-progress-bar.d.ts +1 -1
- package/types/lucca-front-ng-progress-stepper.d.ts +2 -2
- package/types/lucca-front-ng-read-more.d.ts +4 -4
- package/types/lucca-front-ng-resource-card.d.ts +3 -3
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +5 -5
- package/types/lucca-front-ng-segmented-control.d.ts +3 -3
- package/types/lucca-front-ng-select.d.ts +9 -9
- package/types/lucca-front-ng-simple-select.d.ts +8 -8
- package/types/lucca-front-ng-software-icon.d.ts +1 -1
- package/types/lucca-front-ng-sortable-list.d.ts +1 -1
- package/types/lucca-front-ng-status-badge.d.ts +1 -1
- package/types/lucca-front-ng-time.d.ts +19 -19
- package/types/lucca-front-ng-toast.d.ts +1 -1
- package/types/lucca-front-ng-tree-select.d.ts +2 -2
- package/types/lucca-front-ng-user-popover.d.ts +1 -1
- package/types/lucca-front-ng-user.d.ts +24 -18
- package/types/lucca-front-ng-vertical-navigation.d.ts +5 -5
- package/fesm2022/lucca-front-ng-priority-levels.mjs +0 -128
- package/fesm2022/lucca-front-ng-priority-levels.mjs.map +0 -1
|
@@ -3,7 +3,7 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
declare class ContainerComponent {
|
|
4
4
|
readonly center: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
5
5
|
readonly overflow: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
6
|
-
readonly max: _angular_core.InputSignal<"M" | "L" | "XL" | "XXL" | "XXXL">;
|
|
6
|
+
readonly max: _angular_core.InputSignal<"M" | "L" | "XL" | "XXL" | "XXXL" | null>;
|
|
7
7
|
readonly classesConfig: _angular_core.Signal<{
|
|
8
8
|
[x: string]: boolean;
|
|
9
9
|
"mod-center": boolean;
|
|
@@ -90,16 +90,16 @@ declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSe
|
|
|
90
90
|
protected httpClient: HttpClient;
|
|
91
91
|
readonly apiV3: _angular_core.InputSignal<string>;
|
|
92
92
|
readonly fields: _angular_core.InputSignal<string>;
|
|
93
|
-
readonly orderBy: _angular_core.InputSignal<string>;
|
|
93
|
+
readonly orderBy: _angular_core.InputSignal<string | null>;
|
|
94
94
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
95
95
|
protected readonly url$: Observable<string>;
|
|
96
96
|
protected readonly fields$: Observable<string>;
|
|
97
|
-
protected readonly orderBy$: Observable<string>;
|
|
97
|
+
protected readonly orderBy$: Observable<string | null>;
|
|
98
98
|
protected readonly filters$: Observable<Record<string, string | number | boolean>>;
|
|
99
99
|
protected params$: Observable<{
|
|
100
|
-
name?: string;
|
|
101
|
-
orderBy?: string;
|
|
102
|
-
fields?: string;
|
|
100
|
+
name?: string | undefined;
|
|
101
|
+
orderBy?: string | undefined;
|
|
102
|
+
fields?: string | undefined;
|
|
103
103
|
}>;
|
|
104
104
|
totalCount$: Observable<number>;
|
|
105
105
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
@@ -110,11 +110,11 @@ declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSe
|
|
|
110
110
|
|
|
111
111
|
declare class LuCoreSelectApiV4Directive<T extends ILuApiItem> extends ALuCoreSelectApiDirective<T> implements CoreSelectApiTotalCountProvider {
|
|
112
112
|
readonly apiV4: _angular_core.ModelSignal<string>;
|
|
113
|
-
readonly sort: _angular_core.InputSignal<string>;
|
|
113
|
+
readonly sort: _angular_core.InputSignal<string | null>;
|
|
114
114
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
115
115
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
116
116
|
protected httpClient: HttpClient;
|
|
117
|
-
protected readonly clue: _angular_core.Signal<string>;
|
|
117
|
+
protected readonly clue: _angular_core.Signal<string | undefined>;
|
|
118
118
|
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
119
119
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
120
120
|
readonly totalCount$: Observable<number>;
|
|
@@ -21,10 +21,12 @@ declare class LuCoreSelectDepartmentsDirective<T extends ILuDepartment = ILuDepa
|
|
|
21
21
|
protected httpClient: HttpClient;
|
|
22
22
|
readonly url: _angular_core.InputSignal<string>;
|
|
23
23
|
readonly countUrl: _angular_core.InputSignal<string>;
|
|
24
|
-
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean
|
|
25
|
-
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
24
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean> | null>;
|
|
25
|
+
/** @deprecated use `uniqueOperationIds` instead */
|
|
26
|
+
readonly operationIds: _angular_core.InputSignal<readonly number[] | null>;
|
|
27
|
+
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[] | null>;
|
|
28
|
+
/** @deprecated use `uniqueOperationIds` instead */
|
|
29
|
+
readonly appInstanceId: _angular_core.InputSignalWithTransform<number | null, number | `${number}` | "null" | null>;
|
|
28
30
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
29
31
|
ngOnInit(): void;
|
|
30
32
|
protected getOptionsPage(params: Record<string, string | number | boolean> | null, page: number): Observable<{
|
|
@@ -37,7 +39,7 @@ declare class LuCoreSelectDepartmentsDirective<T extends ILuDepartment = ILuDepa
|
|
|
37
39
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
38
40
|
readonly totalCount$: Observable<number>;
|
|
39
41
|
protected flattenTree(branch: TreeNode<T>): T[];
|
|
40
|
-
protected optionKey: (option: TreeNode<T> | T) => number;
|
|
42
|
+
protected optionKey: (option: TreeNode<T> | T) => number | null;
|
|
41
43
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectDepartmentsDirective<any>, never>;
|
|
42
44
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectDepartmentsDirective<any>, "lu-simple-select[departments],lu-multi-select[departments]", ["luDepartments"], { "url": { "alias": "url"; "required": false; "isSignal": true; }; "countUrl": { "alias": "countUrl"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "operationIds": { "alias": "operationIds"; "required": false; "isSignal": true; }; "uniqueOperationIds": { "alias": "uniqueOperationIds"; "required": false; "isSignal": true; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NoopTreeSelectDirective; inputs: {}; outputs: {}; }]>;
|
|
43
45
|
}
|
|
@@ -32,12 +32,14 @@ declare class LuCoreSelectEstablishmentsDirective<T extends LuCoreSelectEstablis
|
|
|
32
32
|
#private;
|
|
33
33
|
protected httpClient: HttpClient;
|
|
34
34
|
readonly url: _angular_core.InputSignal<string>;
|
|
35
|
-
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean
|
|
36
|
-
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
35
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean> | null>;
|
|
36
|
+
/** @deprecated use `uniqueOperationIds` instead */
|
|
37
|
+
readonly operationIds: _angular_core.InputSignal<readonly number[] | null>;
|
|
38
|
+
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[] | null>;
|
|
39
|
+
/** @deprecated use `uniqueOperationIds` instead */
|
|
40
|
+
readonly appInstanceId: _angular_core.InputSignalWithTransform<number | null, number | `${number}` | "null" | null>;
|
|
39
41
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
40
|
-
protected readonly clue: _angular_core.Signal<string>;
|
|
42
|
+
protected readonly clue: _angular_core.Signal<string | undefined>;
|
|
41
43
|
ngOnInit(): void;
|
|
42
44
|
protected initGrouping(): void;
|
|
43
45
|
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
@@ -17,9 +17,9 @@ declare class LuCoreSelectJobQualificationsDirective<T extends LuCoreSelectJobQu
|
|
|
17
17
|
#private;
|
|
18
18
|
protected httpClient: HttpClient;
|
|
19
19
|
readonly url: _angular_core.InputSignal<string>;
|
|
20
|
-
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean
|
|
20
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean> | null>;
|
|
21
21
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
22
|
-
protected readonly clue: _angular_core.Signal<string>;
|
|
22
|
+
protected readonly clue: _angular_core.Signal<string | undefined>;
|
|
23
23
|
constructor();
|
|
24
24
|
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
25
25
|
/**
|
|
@@ -37,12 +37,12 @@ interface LuCoreSelectLegalUnit extends ILuApiItem {
|
|
|
37
37
|
declare class LuCoreSelectLegalUnitsDirective<T extends LuCoreSelectLegalUnit = LuCoreSelectLegalUnit> extends ALuCoreSelectApiDirective<T> implements OnInit, CoreSelectApiTotalCountProvider {
|
|
38
38
|
protected httpClient: HttpClient;
|
|
39
39
|
readonly url: _angular_core.InputSignal<string>;
|
|
40
|
-
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean
|
|
41
|
-
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[]>;
|
|
40
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean> | null>;
|
|
41
|
+
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[] | null>;
|
|
42
42
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
43
43
|
readonly enableArchivedLegalUnits: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
44
44
|
readonly includeArchivedLegalUnits: _angular_core.WritableSignal<boolean>;
|
|
45
|
-
protected readonly clue: _angular_core.Signal<string>;
|
|
45
|
+
protected readonly clue: _angular_core.Signal<string | undefined>;
|
|
46
46
|
constructor();
|
|
47
47
|
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
48
48
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
@@ -11,9 +11,9 @@ type LuCoreSelectOccupationCategory = ILuApiItem;
|
|
|
11
11
|
declare class LuCoreSelectOccupationCategoriesDirective<T extends LuCoreSelectOccupationCategory = LuCoreSelectOccupationCategory> extends ALuCoreSelectApiDirective<T> implements OnInit, CoreSelectApiTotalCountProvider {
|
|
12
12
|
protected httpClient: HttpClient;
|
|
13
13
|
readonly url: _angular_core.InputSignal<string>;
|
|
14
|
-
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean
|
|
14
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean> | null>;
|
|
15
15
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
16
|
-
protected readonly clue: _angular_core.Signal<string>;
|
|
16
|
+
protected readonly clue: _angular_core.Signal<string | undefined>;
|
|
17
17
|
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
18
18
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
19
19
|
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
@@ -36,30 +36,32 @@ declare class LuCoreSelectUsersDirective<T extends LuCoreSelectUser = LuCoreSele
|
|
|
36
36
|
currentUserId: number;
|
|
37
37
|
readonly displayFormat: _angular_core.InputSignal<LuDisplayFormat>;
|
|
38
38
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
39
|
-
readonly url: _angular_core.InputSignal<string>;
|
|
40
|
-
readonly orderBy: _angular_core.InputSignal<string>;
|
|
41
|
-
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
39
|
+
readonly url: _angular_core.InputSignal<string | null>;
|
|
40
|
+
readonly orderBy: _angular_core.InputSignal<string | null>;
|
|
41
|
+
/** @deprecated use `uniqueOperationIds` instead */
|
|
42
|
+
readonly operationIds: _angular_core.InputSignal<readonly number[] | null>;
|
|
43
|
+
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[] | null>;
|
|
44
|
+
/** @deprecated use `uniqueOperationIds` instead */
|
|
45
|
+
readonly appInstanceId: _angular_core.InputSignalWithTransform<number | null, number | `${number}` | "null" | null>;
|
|
44
46
|
readonly enableFormerEmployees: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
45
47
|
readonly displayMeOption: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
46
|
-
readonly customUserOptionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<T
|
|
48
|
+
readonly customUserOptionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<T>> | undefined>;
|
|
47
49
|
readonly includeFormerEmployees: _angular_core.WritableSignal<boolean>;
|
|
48
50
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
49
51
|
constructor();
|
|
50
52
|
protected readonly defaultUrl: _angular_core.Signal<string>;
|
|
51
53
|
protected readonly urlOrDefault: _angular_core.Signal<string>;
|
|
52
|
-
protected readonly clue: _angular_core.Signal<string>;
|
|
54
|
+
protected readonly clue: _angular_core.Signal<string | undefined>;
|
|
53
55
|
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
54
56
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
55
57
|
protected readonly meParams$: Observable<{
|
|
56
58
|
id: number;
|
|
57
|
-
appInstanceId?: number;
|
|
58
|
-
operations?: string;
|
|
59
|
-
uniqueOperations?: string;
|
|
59
|
+
appInstanceId?: number | undefined;
|
|
60
|
+
operations?: string | undefined;
|
|
61
|
+
uniqueOperations?: string | undefined;
|
|
60
62
|
fields: string;
|
|
61
63
|
}>;
|
|
62
|
-
protected readonly me$: Observable<T>;
|
|
64
|
+
protected readonly me$: Observable<T | null>;
|
|
63
65
|
readonly totalCount$: Observable<number>;
|
|
64
66
|
protected getMe(): Observable<T | null>;
|
|
65
67
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
@@ -79,7 +81,7 @@ declare class LuCoreSelectUsersDirective<T extends LuCoreSelectUser = LuCoreSele
|
|
|
79
81
|
}
|
|
80
82
|
declare class LuCoreSelectUserOptionDirective<T extends LuCoreSelectUser = LuCoreSelectUser> {
|
|
81
83
|
#private;
|
|
82
|
-
readonly usersDirective: _angular_core.InputSignal<LuCoreSelectUsersDirective<T
|
|
84
|
+
readonly usersDirective: _angular_core.InputSignal<LuCoreSelectUsersDirective<T> | null>;
|
|
83
85
|
constructor();
|
|
84
86
|
static ngTemplateContextGuard<T extends LuCoreSelectUser>(_dir: LuCoreSelectUserOptionDirective<T>, _ctx: unknown): _ctx is {
|
|
85
87
|
$implicit: T;
|
|
@@ -63,7 +63,7 @@ interface LuOptionGroup<T, TGroup> {
|
|
|
63
63
|
type LuOptionComparer<T> = (a: T, b: T) => boolean;
|
|
64
64
|
type CoreSelectAddOptionStrategy = 'never' | 'always' | 'if-empty-clue' | 'if-not-empty-clue';
|
|
65
65
|
/**
|
|
66
|
-
* Feature flag gating the responsive dialog system as a whole: below the `
|
|
66
|
+
* Feature flag gating the responsive dialog system as a whole: below the `XS` breakpoint the select
|
|
67
67
|
* trigger becomes a button and its panel opens as a bottom sheet instead of a popover anchored to the
|
|
68
68
|
* field.
|
|
69
69
|
*
|
|
@@ -72,7 +72,7 @@ type CoreSelectAddOptionStrategy = 'never' | 'always' | 'if-empty-clue' | 'if-no
|
|
|
72
72
|
*/
|
|
73
73
|
declare const SELECT_RESPONSIVE_DIALOG: InjectionToken<boolean>;
|
|
74
74
|
declare const SELECT_ID: InjectionToken<number>;
|
|
75
|
-
declare const SELECT_LABEL: InjectionToken<HTMLLabelElement>;
|
|
75
|
+
declare const SELECT_LABEL: InjectionToken<HTMLLabelElement | undefined>;
|
|
76
76
|
declare const SELECT_LABEL_ID: InjectionToken<string>;
|
|
77
77
|
/**
|
|
78
78
|
* Contract behind {@link CORE_SELECT_API_TOTAL_COUNT_PROVIDER}: a directive fulfills it by declaring
|
|
@@ -97,7 +97,7 @@ declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
|
97
97
|
readonly elementId: _angular_core.InputSignal<string>;
|
|
98
98
|
readonly idAttribute: _angular_core.Signal<string>;
|
|
99
99
|
readonly isSelected: _angular_core.ModelSignal<boolean>;
|
|
100
|
-
readonly option: _angular_core.InputSignal<T>;
|
|
100
|
+
readonly option: _angular_core.InputSignal<T | undefined>;
|
|
101
101
|
readonly disabledInput: _angular_core.InputSignal<boolean>;
|
|
102
102
|
readonly disabledRef: _angular_core.WritableSignal<boolean>;
|
|
103
103
|
readonly isHighlighted: _angular_core.WritableSignal<boolean>;
|
|
@@ -147,7 +147,7 @@ declare class LuSelectPanelLayoutComponent {
|
|
|
147
147
|
/** Enables a focus trap on the scroll content (used by the single select panel). */
|
|
148
148
|
readonly trapFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
149
149
|
/** `tabindex` to set on the scroll content, or `null` to leave it non-focusable. */
|
|
150
|
-
readonly contentTabIndex: _angular_core.InputSignal<number>;
|
|
150
|
+
readonly contentTabIndex: _angular_core.InputSignal<number | null>;
|
|
151
151
|
/** Emitted when the scroll content is scrolled (used to trigger pagination). */
|
|
152
152
|
readonly scrolled: _angular_core.OutputEmitterRef<Event>;
|
|
153
153
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSelectPanelLayoutComponent, never>;
|
|
@@ -180,7 +180,7 @@ declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
|
180
180
|
/**
|
|
181
181
|
* Opens a select panel as a bottom sheet.
|
|
182
182
|
*
|
|
183
|
-
* Below the `
|
|
183
|
+
* Below the `XS` breakpoint the panel stops being a popover anchored to the field and becomes a modal
|
|
184
184
|
* surface pinned to the bottom of the viewport. That surface already exists as the dialog's `sheet`
|
|
185
185
|
* mode — backdrop, blocked page scroll, focus trap, focus restoration and close button all come with
|
|
186
186
|
* it — so the panel is opened as a dialog instead of as a bespoke overlay.
|
|
@@ -294,14 +294,14 @@ declare const coreSelectDefaultOptionComparer: LuOptionComparer<unknown>;
|
|
|
294
294
|
declare const coreSelectDefaultOptionKey: (option: unknown) => unknown;
|
|
295
295
|
declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDestroy, OnInit, ControlValueAccessor, FilterPillInputComponent {
|
|
296
296
|
#private;
|
|
297
|
-
parentInput: FilterPillInputComponent;
|
|
297
|
+
parentInput: FilterPillInputComponent | null;
|
|
298
298
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
299
299
|
protected overlayContainerRef: HTMLElement;
|
|
300
300
|
protected labelElement: HTMLElement | undefined;
|
|
301
301
|
protected labelId: string;
|
|
302
|
-
protected formField: FormFieldComponent;
|
|
302
|
+
protected formField: FormFieldComponent | null;
|
|
303
303
|
protected abstract intl: Signal<LuCoreSelectLabel>;
|
|
304
|
-
protected filterPillHost: _lucca_front_ng_filter_pills_core.FilterPillHostComponent;
|
|
304
|
+
protected filterPillHost: _lucca_front_ng_filter_pills_core.FilterPillHostComponent | null;
|
|
305
305
|
protected afterCloseFn?: () => void;
|
|
306
306
|
protected updatePositionFn?: () => void;
|
|
307
307
|
get filterPillMode(): boolean;
|
|
@@ -310,8 +310,8 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
310
310
|
/**
|
|
311
311
|
* Width of the select itself, using the same scale as the form field width
|
|
312
312
|
*/
|
|
313
|
-
readonly width: _angular_core.InputSignalWithTransform<10 | 20 | 30 | 40 | 50 | 60, 10 | 20 | 30 | 40 | 50 | 60 | "null" | "10" | "20" | "30" | "40" | "50" | "60">;
|
|
314
|
-
protected readonly widthClass: Signal<string>;
|
|
313
|
+
readonly width: _angular_core.InputSignalWithTransform<10 | 20 | 30 | 40 | 50 | 60 | null, 10 | 20 | 30 | 40 | 50 | 60 | "null" | "10" | "20" | "30" | "40" | "50" | "60" | null>;
|
|
314
|
+
protected readonly widthClass: Signal<string | null>;
|
|
315
315
|
selectParent$?: Subject<void>;
|
|
316
316
|
selectChildren$?: Subject<void>;
|
|
317
317
|
readonly panelClosed: _angular_core.OutputEmitterRef<void>;
|
|
@@ -320,13 +320,13 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
320
320
|
private readonly inputElementRef;
|
|
321
321
|
readonly disabled$: BehaviorSubject<boolean>;
|
|
322
322
|
readonly filterPillDisabled: Signal<boolean>;
|
|
323
|
-
readonly prefix: _angular_core.InputSignal<PortalContent>;
|
|
324
|
-
readonly placeholder: _angular_core.InputSignal<string>;
|
|
325
|
-
readonly clearableInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
323
|
+
readonly prefix: _angular_core.InputSignal<PortalContent | null>;
|
|
324
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
325
|
+
readonly clearableInput: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
326
326
|
readonly isClearable: Signal<boolean>;
|
|
327
327
|
get searchable(): boolean;
|
|
328
328
|
protected readonly computedAddOptionLabel: Signal<PortalContent>;
|
|
329
|
-
readonly addOptionLabelInput: _angular_core.InputSignal<PortalContent>;
|
|
329
|
+
readonly addOptionLabelInput: _angular_core.InputSignal<PortalContent | null>;
|
|
330
330
|
get addOptionLabel(): PortalContent;
|
|
331
331
|
readonly addOptionStrategy: _angular_core.InputSignal<CoreSelectAddOptionStrategy>;
|
|
332
332
|
protected get isSelectedClass(): boolean;
|
|
@@ -334,12 +334,12 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
334
334
|
protected abstract hasValue(): boolean;
|
|
335
335
|
get isPanelOpen(): boolean;
|
|
336
336
|
readonly isPanelOpen$: BehaviorSubject<boolean>;
|
|
337
|
-
readonly panelOpenSignal: Signal<boolean>;
|
|
338
|
-
private readonly
|
|
337
|
+
readonly panelOpenSignal: Signal<boolean | undefined>;
|
|
338
|
+
private readonly belowExtraSmallBreakpoint;
|
|
339
339
|
/** Feature flag turning the whole responsive dialog system on; off unless the app provides it. */
|
|
340
340
|
private readonly responsiveDialog;
|
|
341
341
|
/**
|
|
342
|
-
* Below the `
|
|
342
|
+
* Below the `XS` breakpoint (640px) the panel opens as a dialog in `sheet` mode that embeds its own
|
|
343
343
|
* search input, instead of a popover anchored to the field — mirroring how filter pills move the input
|
|
344
344
|
* inside their overlay. Filter pills already provide their own overlay, so they keep their behavior.
|
|
345
345
|
*
|
|
@@ -365,7 +365,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
365
365
|
get ariaControls(): string;
|
|
366
366
|
readonly overlayConfig: _angular_core.InputSignal<OverlayConfig>;
|
|
367
367
|
readonly loadingInput: _angular_core.InputSignal<boolean>;
|
|
368
|
-
readonly optionsInput: _angular_core.InputSignal<readonly TOption[]>;
|
|
368
|
+
readonly optionsInput: _angular_core.InputSignal<readonly TOption[] | null>;
|
|
369
369
|
readonly optionComparerInput: _angular_core.InputSignal<LuOptionComparer<TOption>>;
|
|
370
370
|
readonly optionKeyInput: _angular_core.InputSignal<(option: TOption) => unknown>;
|
|
371
371
|
readonly noClueIcon: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
@@ -373,17 +373,17 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
373
373
|
readonly compact: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
374
374
|
readonly colorPicker: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
375
375
|
protected get isNoClueIconClass(): boolean;
|
|
376
|
-
readonly options: _angular_core.WritableSignal<readonly TOption[]>;
|
|
376
|
+
readonly options: _angular_core.WritableSignal<readonly TOption[] | null>;
|
|
377
377
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
378
|
-
readonly clearable: _angular_core.WritableSignal<boolean>;
|
|
378
|
+
readonly clearable: _angular_core.WritableSignal<boolean | null>;
|
|
379
379
|
readonly optionComparer: _angular_core.WritableSignal<LuOptionComparer<TOption>>;
|
|
380
380
|
readonly optionKey: _angular_core.WritableSignal<(option: TOption) => unknown>;
|
|
381
381
|
readonly optionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
382
|
-
readonly valueTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption
|
|
383
|
-
readonly panelHeaderTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void
|
|
384
|
-
readonly panelFooterTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void
|
|
382
|
+
readonly valueTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>> | undefined>;
|
|
383
|
+
readonly panelHeaderTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void> | undefined>;
|
|
384
|
+
readonly panelFooterTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void> | undefined>;
|
|
385
385
|
readonly displayerTpl: Signal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
386
|
-
readonly groupingSignal: _angular_core.WritableSignal<LuOptionGrouping<TOption, unknown
|
|
386
|
+
readonly groupingSignal: _angular_core.WritableSignal<LuOptionGrouping<TOption, unknown> | undefined>;
|
|
387
387
|
/**
|
|
388
388
|
* @deprecated use groupingSignal
|
|
389
389
|
*/
|
|
@@ -398,7 +398,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
398
398
|
readonly nextPage$: Subject<void>;
|
|
399
399
|
nextPage: _angular_core.OutputRef<void>;
|
|
400
400
|
readonly addOption: _angular_core.OutputEmitterRef<string>;
|
|
401
|
-
readonly valueSignal: _angular_core.WritableSignal<TValue>;
|
|
401
|
+
readonly valueSignal: _angular_core.WritableSignal<TValue | null>;
|
|
402
402
|
readonly isFilterPillEmpty: Signal<boolean>;
|
|
403
403
|
readonly isFilterPillClearable: Signal<boolean>;
|
|
404
404
|
get value(): TValue | null;
|
|
@@ -411,8 +411,8 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
411
411
|
readonly dataSourceOptions: Signal<readonly TOption[]>;
|
|
412
412
|
clue: string | null;
|
|
413
413
|
lastEmittedClue: string;
|
|
414
|
-
readonly clue$: rxjs.Observable<string>;
|
|
415
|
-
readonly shouldDisplayAddOption: Signal<boolean>;
|
|
414
|
+
readonly clue$: rxjs.Observable<string | null>;
|
|
415
|
+
readonly shouldDisplayAddOption: Signal<boolean | undefined>;
|
|
416
416
|
protected onChange?: (value: TValue | null) => void;
|
|
417
417
|
protected onTouched?: () => void;
|
|
418
418
|
get panelRef(): LuSelectPanelRef<TOption, TValue> | undefined;
|
|
@@ -468,7 +468,7 @@ declare class TreeDisplayPipe<T> implements PipeTransform {
|
|
|
468
468
|
|
|
469
469
|
declare class LuDisplayerDirective<TOption, TValue> {
|
|
470
470
|
private templateRef;
|
|
471
|
-
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue
|
|
471
|
+
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue> | undefined>;
|
|
472
472
|
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
473
473
|
static ngTemplateContextGuard<TOption, TValue>(_dir: LuDisplayerDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
|
|
474
474
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisplayerDirective<any, any>, never>;
|
|
@@ -498,7 +498,7 @@ declare class LuSimpleSelectDefaultOptionComponent {
|
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
declare class LuDisabledOptionDirective {
|
|
501
|
-
readonly isDisabled: _angular_core.InputSignal<boolean>;
|
|
501
|
+
readonly isDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
502
502
|
private context;
|
|
503
503
|
constructor();
|
|
504
504
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
|
|
@@ -527,8 +527,8 @@ declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
declare class LuOptionOutletDirective<T> implements OnDestroy {
|
|
530
|
-
readonly luOptionOutlet: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T
|
|
531
|
-
readonly luOptionOutletValue: _angular_core.InputSignal<T>;
|
|
530
|
+
readonly luOptionOutlet: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>> | undefined>;
|
|
531
|
+
readonly luOptionOutletValue: _angular_core.InputSignal<T | undefined>;
|
|
532
532
|
readonly luOptionShowNull: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
533
533
|
private viewContainerRef;
|
|
534
534
|
private injector;
|
|
@@ -552,29 +552,29 @@ declare class LuOptionComponent<T> implements OnInit {
|
|
|
552
552
|
#private;
|
|
553
553
|
protected selectableItem: CoreSelectPanelElement<any>;
|
|
554
554
|
readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
|
|
555
|
-
readonly optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T
|
|
556
|
-
readonly option: _angular_core.InputSignal<T>;
|
|
557
|
-
readonly grouping: _angular_core.InputSignal<LuOptionGrouping<T, unknown
|
|
555
|
+
readonly optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>> | undefined>;
|
|
556
|
+
readonly option: _angular_core.InputSignal<T | undefined>;
|
|
557
|
+
readonly grouping: _angular_core.InputSignal<LuOptionGrouping<T, unknown> | undefined>;
|
|
558
558
|
readonly hasChildren: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
559
559
|
readonly onlyParent: _angular_core.OutputEmitterRef<void>;
|
|
560
560
|
readonly onlyChildren: _angular_core.OutputEmitterRef<void>;
|
|
561
|
-
readonly groupIndex: _angular_core.InputSignalWithTransform<number, number | `${number}` | "undefined">;
|
|
561
|
+
readonly groupIndex: _angular_core.InputSignalWithTransform<number | undefined, number | `${number}` | "undefined" | undefined>;
|
|
562
562
|
readonly optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
563
563
|
readonly scrollIntoViewOptions: _angular_core.InputSignal<ScrollIntoViewOptions>;
|
|
564
|
-
readonly groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
|
|
564
|
+
readonly groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation | undefined>;
|
|
565
565
|
/**
|
|
566
566
|
* Present only when the consumer projects nested `[treeitem]` content (tree selects).
|
|
567
567
|
* Detected here — and not on the inner `lu-listbox-option` — because Angular content
|
|
568
568
|
* queries do not traverse the `ng-content` re-projection boundary.
|
|
569
569
|
*/
|
|
570
|
-
readonly treeitemContent: _angular_core.Signal<Treeitem>;
|
|
570
|
+
readonly treeitemContent: _angular_core.Signal<Treeitem | undefined>;
|
|
571
571
|
/**
|
|
572
572
|
* Depth this option sits at, handed to the listbox option that wraps the projected
|
|
573
573
|
* `[treeitem]` children: option indentation is absolute, so the stylesheet cannot work out a
|
|
574
574
|
* depth it has no rule for, and every level below its deepest one would share an indentation.
|
|
575
575
|
*/
|
|
576
576
|
readonly level: number;
|
|
577
|
-
readonly optionContext: _angular_core.Signal<_lucca_front_ng_core_select.ILuOptionContext<unknown
|
|
577
|
+
readonly optionContext: _angular_core.Signal<_lucca_front_ng_core_select.ILuOptionContext<unknown> | undefined>;
|
|
578
578
|
private cdr;
|
|
579
579
|
get id(): string;
|
|
580
580
|
protected elementRef: ElementRef<HTMLElement>;
|
|
@@ -588,7 +588,7 @@ declare class LuOptionComponent<T> implements OnInit {
|
|
|
588
588
|
|
|
589
589
|
declare class LuOptionDirective<TOption, TValue> {
|
|
590
590
|
private templateRef;
|
|
591
|
-
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue
|
|
591
|
+
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue> | undefined>;
|
|
592
592
|
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
593
593
|
static ngTemplateContextGuard<TOption, TValue>(_dir: LuOptionDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
|
|
594
594
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionDirective<any, any>, never>;
|
|
@@ -44,7 +44,7 @@ declare const defaultBreakpoints: {
|
|
|
44
44
|
};
|
|
45
45
|
type ResponsiveConfig<T extends string, V> = Partial<Record<ResponsiveProperty<T>, V>>;
|
|
46
46
|
type ResponsiveProperty<T extends string> = `${T}At${Capitalize<At>}Min${Breakpoint}`;
|
|
47
|
-
declare function injectMediaMinBreakpoint(breakpoint: Breakpoint, reversed?: boolean): i0.Signal<boolean>;
|
|
47
|
+
declare function injectMediaMinBreakpoint(breakpoint: Breakpoint, reversed?: boolean): i0.Signal<boolean | undefined>;
|
|
48
48
|
|
|
49
49
|
declare enum ELuDateGranularity {
|
|
50
50
|
day = "day",
|
|
@@ -207,7 +207,7 @@ declare class PortalDirective<T extends object = object> implements OnDestroy {
|
|
|
207
207
|
private templateRef;
|
|
208
208
|
private injector;
|
|
209
209
|
readonly luPortal: i0.InputSignal<PortalContent<T>>;
|
|
210
|
-
readonly luPortalContext: i0.InputSignal<T>;
|
|
210
|
+
readonly luPortalContext: i0.InputSignal<T | null>;
|
|
211
211
|
private createdTextElement;
|
|
212
212
|
private embeddedViewRef?;
|
|
213
213
|
private componentRef?;
|
|
@@ -4,27 +4,27 @@ import { AfterContentInit, ElementRef, OnInit, InjectionToken } from '@angular/c
|
|
|
4
4
|
import { PortalContent, LuTranslation } from '@lucca-front/ng/core';
|
|
5
5
|
|
|
6
6
|
declare class DataTableBodyComponent {
|
|
7
|
-
readonly group: _angular_core.InputSignal<PortalContent>;
|
|
8
|
-
readonly groupButtonAlt: _angular_core.InputSignal<string>;
|
|
7
|
+
readonly group: _angular_core.InputSignal<PortalContent | null>;
|
|
8
|
+
readonly groupButtonAlt: _angular_core.InputSignal<string | null>;
|
|
9
9
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
10
10
|
expandedToggle(): void;
|
|
11
|
-
protected tableRef: _lucca_front_ng_data_table.DataTableComponent;
|
|
11
|
+
protected tableRef: _lucca_front_ng_data_table.DataTableComponent | null;
|
|
12
12
|
readonly colspan: _angular_core.Signal<number>;
|
|
13
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableBodyComponent, never>;
|
|
14
14
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableBodyComponent, "tbody[luDataTableBody]", never, { "group": { "alias": "group"; "required": false; "isSignal": true; }; "groupButtonAlt": { "alias": "groupButtonAlt"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["*"], true, never>;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
declare abstract class BaseDataTableCell {
|
|
18
|
-
readonly tableRef: _lucca_front_ng_data_table.DataTableComponent;
|
|
19
|
-
readonly bodyRef: _lucca_front_ng_data_table.DataTableBodyComponent;
|
|
20
|
-
readonly headRef: _lucca_front_ng_data_table.DataTableHeadComponent;
|
|
21
|
-
readonly footRef: _lucca_front_ng_data_table.DataTableFootComponent;
|
|
22
|
-
readonly rowRef: _lucca_front_ng_data_table.DataTableRowComponent;
|
|
18
|
+
readonly tableRef: _lucca_front_ng_data_table.DataTableComponent | null;
|
|
19
|
+
readonly bodyRef: _lucca_front_ng_data_table.DataTableBodyComponent | null;
|
|
20
|
+
readonly headRef: _lucca_front_ng_data_table.DataTableHeadComponent | null;
|
|
21
|
+
readonly footRef: _lucca_front_ng_data_table.DataTableFootComponent | null;
|
|
22
|
+
readonly rowRef: _lucca_front_ng_data_table.DataTableRowComponent | null;
|
|
23
23
|
readonly editable: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
24
|
-
readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
25
|
-
readonly isStickyStart: _angular_core.Signal<boolean>;
|
|
26
|
-
readonly isStickyEnd: _angular_core.Signal<boolean>;
|
|
27
|
-
readonly position: _angular_core.Signal<number>;
|
|
24
|
+
readonly align: _angular_core.InputSignal<"start" | "center" | "end" | null>;
|
|
25
|
+
readonly isStickyStart: _angular_core.Signal<boolean | undefined>;
|
|
26
|
+
readonly isStickyEnd: _angular_core.Signal<boolean | undefined>;
|
|
27
|
+
readonly position: _angular_core.Signal<number | undefined>;
|
|
28
28
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseDataTableCell, never>;
|
|
29
29
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BaseDataTableCell, "lu-base-data-table-cell", never, { "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
30
30
|
}
|
|
@@ -32,16 +32,16 @@ declare abstract class BaseDataTableCell {
|
|
|
32
32
|
declare class DataTableRowCellHeaderComponent extends BaseDataTableCell implements AfterContentInit {
|
|
33
33
|
#private;
|
|
34
34
|
readonly elementRef: ElementRef<HTMLTableCellElement>;
|
|
35
|
-
readonly sort: _angular_core.InputSignal<"none" | "ascending" | "descending">;
|
|
35
|
+
readonly sort: _angular_core.InputSignal<"none" | "ascending" | "descending" | null>;
|
|
36
36
|
readonly sortChange: _angular_core.OutputEmitterRef<"none" | "ascending" | "descending">;
|
|
37
|
-
protected readonly currentSort: _angular_core.WritableSignal<"none" | "ascending" | "descending">;
|
|
38
|
-
readonly fixedWidth: _angular_core.InputSignal<string>;
|
|
39
|
-
readonly inlineSize: _angular_core.InputSignal<string>;
|
|
37
|
+
protected readonly currentSort: _angular_core.WritableSignal<"none" | "ascending" | "descending" | null>;
|
|
38
|
+
readonly fixedWidth: _angular_core.InputSignal<string | null>;
|
|
39
|
+
readonly inlineSize: _angular_core.InputSignal<string | null>;
|
|
40
40
|
readonly sortWithEllipsis: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
41
|
-
protected readonly sortButtonRef: _angular_core.Signal<ElementRef<HTMLElement
|
|
41
|
+
protected readonly sortButtonRef: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
42
42
|
readonly insetInlineStart: _angular_core.Signal<string>;
|
|
43
43
|
readonly insetInlineEnd: _angular_core.Signal<string>;
|
|
44
|
-
readonly inlineSizePx: _angular_core.Signal<number>;
|
|
44
|
+
readonly inlineSizePx: _angular_core.Signal<number | undefined>;
|
|
45
45
|
ngAfterContentInit(): void;
|
|
46
46
|
toggleSort(): void;
|
|
47
47
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableRowCellHeaderComponent, never>;
|
|
@@ -50,10 +50,10 @@ declare class DataTableRowCellHeaderComponent extends BaseDataTableCell implemen
|
|
|
50
50
|
|
|
51
51
|
declare class DataTableRowCellComponent extends BaseDataTableCell {
|
|
52
52
|
readonly actions: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
53
|
-
readonly isSticky: _angular_core.Signal<boolean>;
|
|
54
|
-
readonly alignCol: _angular_core.Signal<"start" | "center" | "end">;
|
|
55
|
-
readonly insetInlineStart: _angular_core.Signal<string>;
|
|
56
|
-
readonly insetInlineEnd: _angular_core.Signal<string>;
|
|
53
|
+
readonly isSticky: _angular_core.Signal<boolean | undefined>;
|
|
54
|
+
readonly alignCol: _angular_core.Signal<"start" | "center" | "end" | null | undefined>;
|
|
55
|
+
readonly insetInlineStart: _angular_core.Signal<string | null | undefined>;
|
|
56
|
+
readonly insetInlineEnd: _angular_core.Signal<string | null | undefined>;
|
|
57
57
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableRowCellComponent, never>;
|
|
58
58
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowCellComponent, "td[luDataTableCell]", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
59
59
|
}
|
|
@@ -74,14 +74,14 @@ declare class DataTableHeadComponent {
|
|
|
74
74
|
|
|
75
75
|
declare class DataTableRowComponent {
|
|
76
76
|
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_data_table.LuDataTableTranslations, Partial<_lucca_front_ng_data_table.LuDataTableTranslations>>;
|
|
77
|
-
readonly bodyRef: _lucca_front_ng_data_table.DataTableBodyComponent;
|
|
78
|
-
readonly headRef: _lucca_front_ng_data_table.DataTableHeadComponent;
|
|
79
|
-
readonly footRef: _lucca_front_ng_data_table.DataTableFootComponent;
|
|
77
|
+
readonly bodyRef: _lucca_front_ng_data_table.DataTableBodyComponent | null;
|
|
78
|
+
readonly headRef: _lucca_front_ng_data_table.DataTableHeadComponent | null;
|
|
79
|
+
readonly footRef: _lucca_front_ng_data_table.DataTableFootComponent | null;
|
|
80
80
|
readonly elementRef: ElementRef<Element>;
|
|
81
81
|
readonly cells: _angular_core.Signal<readonly BaseDataTableCell[]>;
|
|
82
|
-
protected tableRef: _lucca_front_ng_data_table.DataTableComponent;
|
|
82
|
+
protected tableRef: _lucca_front_ng_data_table.DataTableComponent | null;
|
|
83
83
|
readonly selected: _angular_core.ModelSignal<boolean>;
|
|
84
|
-
readonly selectedLabel: _angular_core.InputSignal<string>;
|
|
84
|
+
readonly selectedLabel: _angular_core.InputSignal<string | null>;
|
|
85
85
|
readonly mixed: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
86
86
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
87
87
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableRowComponent, never>;
|
|
@@ -90,7 +90,7 @@ declare class DataTableRowComponent {
|
|
|
90
90
|
|
|
91
91
|
declare class DataTableComponent implements OnInit {
|
|
92
92
|
#private;
|
|
93
|
-
readonly tableRef: _angular_core.Signal<ElementRef<Element
|
|
93
|
+
readonly tableRef: _angular_core.Signal<ElementRef<Element> | undefined>;
|
|
94
94
|
/**
|
|
95
95
|
* @deprecated No replacement: rows without an action should not have a hover effect.
|
|
96
96
|
*/
|
|
@@ -103,10 +103,10 @@ declare class DataTableComponent implements OnInit {
|
|
|
103
103
|
readonly noOverflow: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
104
104
|
readonly empty: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
105
105
|
readonly responsive: _angular_core.InputSignal<Partial<Record<"layoutFixedAtMediaMinXXXS" | "layoutFixedAtMediaMinXXS" | "layoutFixedAtMediaMinXS" | "layoutFixedAtMediaMinS" | "layoutFixedAtMediaMinM" | "layoutFixedAtMediaMinL" | "layoutFixedAtMediaMinXL" | "layoutFixedAtMediaMinXXL" | "layoutFixedAtMediaMinXXXL" | "layoutFixedAtContainerMinXXXS" | "layoutFixedAtContainerMinXXS" | "layoutFixedAtContainerMinXS" | "layoutFixedAtContainerMinS" | "layoutFixedAtContainerMinM" | "layoutFixedAtContainerMinL" | "layoutFixedAtContainerMinXL" | "layoutFixedAtContainerMinXXL" | "layoutFixedAtContainerMinXXXL", true>>>;
|
|
106
|
-
readonly verticalAlign: _angular_core.InputSignal<"top" | "middle" | "bottom">;
|
|
106
|
+
readonly verticalAlign: _angular_core.InputSignal<"top" | "middle" | "bottom" | null>;
|
|
107
107
|
readonly rows: _angular_core.Signal<readonly DataTableRowComponent[]>;
|
|
108
|
-
readonly header: _angular_core.Signal<DataTableHeadComponent>;
|
|
109
|
-
readonly stickyHeader: _angular_core.Signal<boolean>;
|
|
108
|
+
readonly header: _angular_core.Signal<DataTableHeadComponent | undefined>;
|
|
109
|
+
readonly stickyHeader: _angular_core.Signal<boolean | undefined>;
|
|
110
110
|
readonly stickyColsStart: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
111
111
|
readonly stickyColsEnd: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
112
112
|
readonly firstColumnVisibleAfterColsStart: _angular_core.WritableSignal<boolean>;
|
|
@@ -115,10 +115,10 @@ declare class DataTableComponent implements OnInit {
|
|
|
115
115
|
readonly lastColumnVisible: _angular_core.WritableSignal<boolean>;
|
|
116
116
|
readonly firstRowVisible: _angular_core.WritableSignal<boolean>;
|
|
117
117
|
readonly lastRowVisible: _angular_core.WritableSignal<boolean>;
|
|
118
|
-
readonly cols: _angular_core.Signal<readonly _lucca_front_ng_data_table.DataTableRowCellHeaderComponent[]>;
|
|
118
|
+
readonly cols: _angular_core.Signal<readonly _lucca_front_ng_data_table.DataTableRowCellHeaderComponent[] | undefined>;
|
|
119
119
|
readonly classMods: _angular_core.Signal<{
|
|
120
120
|
dataTable: boolean;
|
|
121
|
-
"mod-stickyHeader": boolean;
|
|
121
|
+
"mod-stickyHeader": boolean | undefined;
|
|
122
122
|
"mod-hover": boolean;
|
|
123
123
|
"mod-cellBorder": boolean;
|
|
124
124
|
"mod-verticalAlignTop": boolean;
|