@lucca-front/ng 22.0.0-rc.2 → 22.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/lucca-front-ng-api.mjs +160 -85
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +7 -6
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +37 -21
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +229 -135
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +1 -12
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +124 -100
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +37 -25
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +0 -2
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +6 -4
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +34 -31
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +83 -49
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +18 -8
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +10 -7
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +2 -3
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +46 -5
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +0 -1
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +15 -11
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +115 -91
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +11 -7
- package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +37 -30
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +238 -123
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +65 -37
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +123 -76
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +13 -13
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +8 -6
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +13 -9
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +93 -59
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/package.json +4 -4
- package/types/lucca-front-ng-api.d.ts +62 -62
- package/types/lucca-front-ng-clear.d.ts +2 -3
- package/types/lucca-front-ng-core-select-api.d.ts +22 -22
- package/types/lucca-front-ng-core-select.d.ts +139 -140
- package/types/lucca-front-ng-core.d.ts +2 -7
- package/types/lucca-front-ng-date.d.ts +26 -28
- package/types/lucca-front-ng-divider.d.ts +1 -1
- package/types/lucca-front-ng-dropdown.d.ts +4 -5
- package/types/lucca-front-ng-establishment.d.ts +19 -18
- package/types/lucca-front-ng-form-field.d.ts +3 -2
- package/types/lucca-front-ng-forms.d.ts +32 -12
- package/types/lucca-front-ng-modal.d.ts +2 -2
- package/types/lucca-front-ng-multi-select.d.ts +37 -36
- package/types/lucca-front-ng-option.d.ts +10 -10
- package/types/lucca-front-ng-popover.d.ts +46 -52
- package/types/lucca-front-ng-popover2.d.ts +11 -13
- package/types/lucca-front-ng-segmented-control.d.ts +4 -2
- package/types/lucca-front-ng-select.d.ts +28 -30
- package/types/lucca-front-ng-simple-select.d.ts +3 -3
- package/types/lucca-front-ng-time.d.ts +1 -1
- package/types/lucca-front-ng-user-popover.d.ts +3 -4
- package/types/lucca-front-ng-user.d.ts +20 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, AfterViewInit, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, TemplateRef, OnDestroy, InjectionToken } from '@angular/core';
|
|
2
|
+
import { OnInit, AfterViewInit, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, EventEmitter, TemplateRef, OnDestroy, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_establishment from '@lucca-front/ng/establishment';
|
|
4
4
|
import { ILuApiItem, ALuApiService, ILuApiService, LuApiV4Service } from '@lucca-front/ng/api';
|
|
5
5
|
import { Overlay } from '@angular/cdk/overlay';
|
|
@@ -83,13 +83,14 @@ declare class LuEstablishmentSelectInputComponent<D extends ILuEstablishment = I
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
declare class LuEstablishmentSearcherComponent implements ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuOnCloseSubscriber, ILuOptionOperator<ILuEstablishment> {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
set filters(filters: string[]);
|
|
87
|
+
set appInstanceId(appId: number);
|
|
88
|
+
set operations(ops: number[]);
|
|
89
|
+
set sort(sort: string);
|
|
90
90
|
private _service;
|
|
91
|
-
|
|
92
|
-
readonly
|
|
91
|
+
fixed: boolean;
|
|
92
|
+
readonly searchInput: ElementRef<HTMLElement>;
|
|
93
|
+
isSearching: EventEmitter<boolean>;
|
|
93
94
|
private _isSearching;
|
|
94
95
|
clueControl: FormControl<string>;
|
|
95
96
|
loading: boolean;
|
|
@@ -104,7 +105,7 @@ declare class LuEstablishmentSearcherComponent implements ILuOnOpenSubscriber, I
|
|
|
104
105
|
onClose(): void;
|
|
105
106
|
reset(): void;
|
|
106
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuEstablishmentSearcherComponent, [{ optional: true; }, { self: true; }]>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuEstablishmentSearcherComponent, "lu-establishment-searcher", never, { "filters": { "alias": "filters"; "required": false;
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuEstablishmentSearcherComponent, "lu-establishment-searcher", never, { "filters": { "alias": "filters"; "required": false; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, { "isSearching": "isSearching"; }, never, never, true, never>;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
declare class LuForLegalUnitsDirective extends LuForGroupsDirective<ILuEstablishment, ILuLegalUnit> {
|
|
@@ -118,29 +119,29 @@ declare class LuForLegalUnitsDirective extends LuForGroupsDirective<ILuEstablish
|
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
declare class LuLegalUnitSelectorDirective implements ILuOptionSelector<ILuEstablishment>, OnDestroy {
|
|
122
|
+
multiple: boolean;
|
|
121
123
|
readonly onSelectValue: Subject<ILuEstablishment[]>;
|
|
122
124
|
private _values;
|
|
123
125
|
private _service;
|
|
124
126
|
private _subs;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
multiple: boolean;
|
|
127
|
+
legalUnit: ILuLegalUnit;
|
|
128
|
+
set filters(filters: string[]);
|
|
129
|
+
set appInstanceId(appId: number);
|
|
130
|
+
set operations(ops: number[]);
|
|
130
131
|
constructor(customService: LuEstablishmentService, defaultService: LuEstablishmentService);
|
|
131
132
|
onClick(): void;
|
|
132
133
|
setValue(values: ILuEstablishment[]): void;
|
|
133
134
|
ngOnDestroy(): void;
|
|
134
135
|
private shouldAdd;
|
|
135
136
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuLegalUnitSelectorDirective, [{ optional: true; }, { self: true; }]>;
|
|
136
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuLegalUnitSelectorDirective, "[luLegalUnitSelector]", never, { "legalUnit": { "alias": "luLegalUnitSelector"; "required": false;
|
|
137
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuLegalUnitSelectorDirective, "[luLegalUnitSelector]", never, { "legalUnit": { "alias": "luLegalUnitSelector"; "required": false; }; "filters": { "alias": "luLegalUnitSelectorFilters"; "required": false; }; "appInstanceId": { "alias": "luLegalUnitSelectorAppInstanceId"; "required": false; }; "operations": { "alias": "luLegalUnitSelectorOperations"; "required": false; }; }, {}, never, never, true, never>;
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
declare class LuEstablishmentSelectAllComponent extends LuOptionSelectAllComponent<ILuEstablishment> implements OnDestroy {
|
|
140
141
|
private readonly _changeDetectorRef;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
set filters(filters: string[]);
|
|
143
|
+
set appInstanceId(appInstanceId: number);
|
|
144
|
+
set operations(operations: number[]);
|
|
144
145
|
loading: boolean;
|
|
145
146
|
private _service;
|
|
146
147
|
private _subs;
|
|
@@ -148,7 +149,7 @@ declare class LuEstablishmentSelectAllComponent extends LuOptionSelectAllCompone
|
|
|
148
149
|
selectAll(): void;
|
|
149
150
|
ngOnDestroy(): void;
|
|
150
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuEstablishmentSelectAllComponent, [null, { optional: true; }, { self: true; }]>;
|
|
151
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuEstablishmentSelectAllComponent, "lu-establishment-select-all", never, { "filters": { "alias": "filters"; "required": false;
|
|
152
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuEstablishmentSelectAllComponent, "lu-establishment-select-all", never, { "filters": { "alias": "filters"; "required": false; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; }, {}, never, never, true, never>;
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
/**
|
|
@@ -16,10 +16,11 @@ declare class InputDirective implements OnInit {
|
|
|
16
16
|
/**
|
|
17
17
|
* Prevents message and label ids from being propagated, useful if the input holds its own message and label (like for radios)
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
standalone: boolean;
|
|
20
20
|
ngOnInit(): void;
|
|
21
21
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputDirective, never>;
|
|
22
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InputDirective, "[luInput]", never, { "standalone": { "alias": "luInputStandalone"; "required": false;
|
|
22
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InputDirective, "[luInput]", never, { "standalone": { "alias": "luInputStandalone"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
static ngAcceptInputType_standalone: unknown;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
type FormFieldWidth = 20 | 30 | 40 | 50 | 60;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnDestroy, Signal, WritableSignal, AfterViewInit, ElementRef, OnInit, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _angular_forms from '@angular/forms';
|
|
4
|
-
import { NgModel, FormControlDirective, FormControlName, ControlValueAccessor, ValidatorFn } from '@angular/forms';
|
|
4
|
+
import { NgModel, FormControlDirective, FormControlName, NgControl, FormControl, ControlValueAccessor, ValidatorFn } from '@angular/forms';
|
|
5
5
|
import { FilterPillInputComponent, FilterPillLayout } from '@lucca-front/ng/filter-pills';
|
|
6
6
|
import * as _lucca_front_ng_form_field from '@lucca-front/ng/form-field';
|
|
7
7
|
import { FormFieldComponent } from '@lucca-front/ng/form-field';
|
|
@@ -22,7 +22,9 @@ declare class FormFieldIdDirective implements OnDestroy {
|
|
|
22
22
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FormFieldIdDirective, "[luFormFieldId]", never, { "suffix": { "alias": "luFormFieldId"; "required": false; "isSignal": true; }; "labelledByStrategy": { "alias": "labelledByStrategy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
declare function injectNgControl(): NgModel | FormControlDirective | FormControlName
|
|
25
|
+
declare function injectNgControl(): NgModel | FormControlDirective | FormControlName | (NgControl & {
|
|
26
|
+
control: FormControl<any>;
|
|
27
|
+
});
|
|
26
28
|
|
|
27
29
|
declare class NoopValueAccessorDirective implements ControlValueAccessor {
|
|
28
30
|
writeValue(): void;
|
|
@@ -52,7 +54,9 @@ declare class CheckboxInputComponent implements FilterPillInputComponent {
|
|
|
52
54
|
readonly isFilterPillClearable: Signal<boolean>;
|
|
53
55
|
readonly hideCombobox: Signal<boolean>;
|
|
54
56
|
readonly showColon: Signal<boolean>;
|
|
55
|
-
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
57
|
+
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
58
|
+
control: _angular_forms.FormControl<any>;
|
|
59
|
+
});
|
|
56
60
|
constructor();
|
|
57
61
|
clearFilterPillValue(): void;
|
|
58
62
|
registerFilterPillClosePopover(_closeFn: () => void): void;
|
|
@@ -131,7 +135,9 @@ type TextInputAddon = TextfieldIconAddon | TextfieldTextAddon;
|
|
|
131
135
|
|
|
132
136
|
declare class NumberFormatInputComponent implements AfterViewInit {
|
|
133
137
|
#private;
|
|
134
|
-
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
138
|
+
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
139
|
+
control: _angular_forms.FormControl<any>;
|
|
140
|
+
});
|
|
135
141
|
ngAfterViewInit(): void;
|
|
136
142
|
readonly formatStyle: _angular_core.InputSignal<NumberFormatStyle>;
|
|
137
143
|
readonly useAutoPrefixSuffix: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -167,7 +173,9 @@ declare class NumberFormatInputComponent implements AfterViewInit {
|
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
declare class NumberInputComponent {
|
|
170
|
-
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
176
|
+
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
177
|
+
control: _angular_forms.FormControl<any>;
|
|
178
|
+
});
|
|
171
179
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
172
180
|
readonly step: _angular_core.InputSignalWithTransform<number, number>;
|
|
173
181
|
readonly noSpinButtons: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -186,7 +194,9 @@ declare class NumberInputComponent {
|
|
|
186
194
|
|
|
187
195
|
declare class RadioGroupInputComponent {
|
|
188
196
|
readonly formField: FormFieldComponent;
|
|
189
|
-
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
197
|
+
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
198
|
+
control: _angular_forms.FormControl<any>;
|
|
199
|
+
});
|
|
190
200
|
readonly size: _angular_core.InputSignal<"S" | "M">;
|
|
191
201
|
readonly framed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
192
202
|
readonly framedCenter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -210,8 +220,10 @@ declare class RadioComponent<T = unknown> {
|
|
|
210
220
|
readonly framedCenter: _angular_core.Signal<boolean>;
|
|
211
221
|
readonly framedSize: _angular_core.Signal<"L">;
|
|
212
222
|
readonly size: _angular_core.Signal<"S" | "M">;
|
|
213
|
-
get ngControl(): _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
214
|
-
|
|
223
|
+
get ngControl(): _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
224
|
+
control: _angular_forms.FormControl<any>;
|
|
225
|
+
});
|
|
226
|
+
get formControl(): _angular_forms.FormControl<any> | (_angular_forms.AbstractControl<any, any, any> & _angular_forms.FormControl<any>);
|
|
215
227
|
get name(): string;
|
|
216
228
|
id: string;
|
|
217
229
|
constructor();
|
|
@@ -221,7 +233,9 @@ declare class RadioComponent<T = unknown> {
|
|
|
221
233
|
|
|
222
234
|
declare class SwitchInputComponent {
|
|
223
235
|
readonly formField: FormFieldComponent;
|
|
224
|
-
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
236
|
+
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
237
|
+
control: _angular_forms.FormControl<any>;
|
|
238
|
+
});
|
|
225
239
|
readonly intl: {
|
|
226
240
|
yes: string;
|
|
227
241
|
no: string;
|
|
@@ -234,7 +248,9 @@ declare class SwitchInputComponent {
|
|
|
234
248
|
type TextFieldType = 'text' | 'email' | 'password' | 'url';
|
|
235
249
|
declare class TextInputComponent {
|
|
236
250
|
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_forms.LuTextfieldLabel, Partial<_lucca_front_ng_forms.LuTextfieldLabel>>;
|
|
237
|
-
readonly ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
251
|
+
readonly ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
252
|
+
control: _angular_forms.FormControl<any>;
|
|
253
|
+
});
|
|
238
254
|
readonly inputElementRef: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
239
255
|
readonly mask: _angular_core.InputSignal<string>;
|
|
240
256
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
@@ -261,7 +277,9 @@ declare class TextInputComponent {
|
|
|
261
277
|
|
|
262
278
|
declare class TextareaInputComponent implements OnInit {
|
|
263
279
|
#private;
|
|
264
|
-
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
280
|
+
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
281
|
+
control: _angular_forms.FormControl<any>;
|
|
282
|
+
});
|
|
265
283
|
readonly parent: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
266
284
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
267
285
|
readonly rows: _angular_core.InputSignal<number>;
|
|
@@ -321,7 +339,9 @@ declare class ColorInputComponent {
|
|
|
321
339
|
readonly colors: _angular_core.InputSignal<ColorOption[]>;
|
|
322
340
|
readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
323
341
|
readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
324
|
-
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName
|
|
342
|
+
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
343
|
+
control: _angular_forms.FormControl<any>;
|
|
344
|
+
});
|
|
325
345
|
readonly currentColorPresentation: Signal<ColorOption | null>;
|
|
326
346
|
constructor();
|
|
327
347
|
readonly filteredColors: Signal<ColorOption[]>;
|
|
@@ -61,7 +61,7 @@ declare abstract class ALuModalRef<T extends ILuModalContent = ILuModalContent,
|
|
|
61
61
|
|
|
62
62
|
declare abstract class ALuModalPanelComponent<T extends ILuModalContent> implements OnDestroy, DoCheck {
|
|
63
63
|
protected _ref: ALuModalRef<T>;
|
|
64
|
-
protected readonly _containerRef:
|
|
64
|
+
protected readonly _containerRef: ViewContainerRef;
|
|
65
65
|
protected _componentInstance: ILuModalContent;
|
|
66
66
|
protected readonly doCheck$: ReplaySubject<void>;
|
|
67
67
|
intl: _lucca_front_ng_modal.ILuModalLabel;
|
|
@@ -140,7 +140,7 @@ declare class LuModal {
|
|
|
140
140
|
protected _factory: _lucca_front_ng_modal.IModalRefFactory;
|
|
141
141
|
protected _config: LuModalConfig;
|
|
142
142
|
protected luDialogService: LuDialogService;
|
|
143
|
-
open<T extends ILuModalContent, D>(component: ComponentType<T>, data
|
|
143
|
+
open<T extends ILuModalContent, D>(component: ComponentType<T>, data?: D | undefined, config?: Partial<LuModalConfig>): ILuModalRef<D, LuModalContentResult<T>>;
|
|
144
144
|
legacyOpen<T extends ILuModalContent, D>(component: ComponentType<T>, data?: D | undefined, config?: Partial<LuModalConfig>): ILuModalRef<D, LuModalContentResult<T>>;
|
|
145
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuModal, never>;
|
|
146
146
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuModal>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
2
|
import { ChangeDetectorRef, ElementRef, Injector, ViewContainerRef, OnDestroy, OnInit, Type, TemplateRef, Signal, InjectionToken, DestroyRef } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_multi_select from '@lucca-front/ng/multi-select';
|
|
4
4
|
import * as _lucca_front_ng_core_select from '@lucca-front/ng/core-select';
|
|
@@ -46,17 +46,17 @@ declare class LuMultiSelectPanelRefFactory {
|
|
|
46
46
|
offsetY?: number;
|
|
47
47
|
overlapInput: boolean;
|
|
48
48
|
}): ConnectedPosition;
|
|
49
|
-
static ɵfac:
|
|
50
|
-
static ɵprov:
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectPanelRefFactory, never>;
|
|
50
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LuMultiSelectPanelRefFactory>;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
declare class LuMultiSelectInputComponent<T> extends ALuSelectInputComponent<T, T[]> implements ControlValueAccessor, OnDestroy, OnInit {
|
|
54
|
-
readonly intl:
|
|
54
|
+
readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_core_select.LuCoreSelectLabel & _lucca_front_ng_multi_select.ILuMultiSelectLabel, Partial<_lucca_front_ng_core_select.LuCoreSelectLabel & _lucca_front_ng_multi_select.ILuMultiSelectLabel>>;
|
|
55
55
|
showColon: false;
|
|
56
|
-
readonly valuesTpl:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
readonly valuesTpl: i0.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<T[]>>>;
|
|
57
|
+
maxValuesShown: number;
|
|
58
|
+
keepSearchAfterSelection: boolean;
|
|
59
|
+
filterPillLabelPlural: string;
|
|
60
60
|
readonly selectParent$: Subject<void>;
|
|
61
61
|
readonly selectChildren$: Subject<void>;
|
|
62
62
|
get filterPillClass(): boolean;
|
|
@@ -91,8 +91,10 @@ declare class LuMultiSelectInputComponent<T> extends ALuSelectInputComponent<T,
|
|
|
91
91
|
hasValue(): boolean;
|
|
92
92
|
clearValue(event?: Event): void;
|
|
93
93
|
ngOnDestroy(): void;
|
|
94
|
-
static ɵfac:
|
|
95
|
-
static ɵcmp:
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectInputComponent<any>, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuMultiSelectInputComponent<any>, "lu-multi-select", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "valuesTpl": { "alias": "valuesTpl"; "required": false; "isSignal": true; }; "maxValuesShown": { "alias": "maxValuesShown"; "required": false; }; "keepSearchAfterSelection": { "alias": "keepSearchAfterSelection"; "required": false; }; "filterPillLabelPlural": { "alias": "filterPillLabelPlural"; "required": false; }; }, { "valuesTpl": "valuesTplChange"; }, never, never, true, never>;
|
|
96
|
+
static ngAcceptInputType_maxValuesShown: unknown;
|
|
97
|
+
static ngAcceptInputType_keepSearchAfterSelection: unknown;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
100
|
declare const LU_MULTI_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<ILuMultiSelectLabel>>;
|
|
@@ -125,12 +127,12 @@ interface LuMultiSelectWithSelectAllContext {
|
|
|
125
127
|
declare class LuMultiSelectWithSelectAllDirective<TValue> extends _IsSelectedStrategy<TValue> implements LuMultiSelectWithSelectAllContext {
|
|
126
128
|
#private;
|
|
127
129
|
readonly select: LuMultiSelectInputComponent<TValue>;
|
|
128
|
-
readonly intl:
|
|
129
|
-
readonly displayerLabel:
|
|
130
|
-
readonly mode:
|
|
131
|
-
readonly values:
|
|
132
|
-
readonly totalCount:
|
|
133
|
-
readonly displayerCount:
|
|
130
|
+
readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_core_select.LuCoreSelectLabel & _lucca_front_ng_multi_select.ILuMultiSelectLabel, Partial<_lucca_front_ng_core_select.LuCoreSelectLabel & _lucca_front_ng_multi_select.ILuMultiSelectLabel>>;
|
|
131
|
+
readonly displayerLabel: i0.InputSignal<string>;
|
|
132
|
+
readonly mode: i0.Signal<"include" | "exclude" | "none" | "all">;
|
|
133
|
+
readonly values: i0.Signal<TValue[]>;
|
|
134
|
+
readonly totalCount: i0.Signal<number>;
|
|
135
|
+
readonly displayerCount: i0.Signal<number>;
|
|
134
136
|
constructor();
|
|
135
137
|
setSelectAll(selectAll: boolean): void;
|
|
136
138
|
isSelected(option: TValue, selectedOptions: TValue[], optionComparer: LuOptionComparer<TValue>): boolean;
|
|
@@ -138,36 +140,35 @@ declare class LuMultiSelectWithSelectAllDirective<TValue> extends _IsSelectedStr
|
|
|
138
140
|
registerOnChange(fn: (value: TValue[] | LuMultiSelection<TValue>) => void): void;
|
|
139
141
|
writeValue(value: TValue[] | LuMultiSelection<TValue>): void;
|
|
140
142
|
clearValue($event?: Event): void;
|
|
141
|
-
static ɵfac:
|
|
142
|
-
static ɵdir:
|
|
143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectWithSelectAllDirective<any>, never>;
|
|
144
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuMultiSelectWithSelectAllDirective<any>, "lu-multi-select[withSelectAll]", never, { "displayerLabel": { "alias": "withSelectAllDisplayerLabel"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
143
145
|
}
|
|
144
146
|
|
|
145
147
|
declare class LuMultiSelectContentDisplayerComponent<T> {
|
|
146
148
|
readonly select: LuMultiSelectInputComponent<T>;
|
|
147
|
-
static ɵfac:
|
|
148
|
-
static ɵcmp:
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectContentDisplayerComponent<any>, never>;
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuMultiSelectContentDisplayerComponent<any>, "lu-multi-select-content-displayer", never, {}, {}, never, ["*"], true, never>;
|
|
149
151
|
}
|
|
150
152
|
|
|
151
153
|
declare class LuMultiSelectCounterDisplayerComponent<T> implements OnInit {
|
|
152
154
|
readonly select: LuMultiSelectInputComponent<T>;
|
|
153
155
|
readonly context: ILuOptionContext<T[]>;
|
|
154
156
|
protected destroyRef: DestroyRef;
|
|
155
|
-
readonly inputElementRef:
|
|
157
|
+
readonly inputElementRef: ElementRef<HTMLInputElement>;
|
|
156
158
|
get value(): T[];
|
|
157
159
|
readonly selectedOptions$: BehaviorSubject<T[]>;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
constructor();
|
|
160
|
+
set selected(options: T[]);
|
|
161
|
+
label: string;
|
|
161
162
|
ngOnInit(): void;
|
|
162
|
-
static ɵfac:
|
|
163
|
-
static ɵcmp:
|
|
163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectCounterDisplayerComponent<any>, never>;
|
|
164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuMultiSelectCounterDisplayerComponent<any>, "lu-multi-select-counter-displayer", never, { "selected": { "alias": "selected"; "required": false; }; "label": { "alias": "label"; "required": true; }; }, {}, never, never, true, never>;
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
declare class LuMultiSelectDefaultDisplayerComponent<T> implements OnInit {
|
|
167
168
|
readonly select: LuMultiSelectInputComponent<T>;
|
|
168
|
-
readonly intl:
|
|
169
|
+
readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_multi_select.ILuMultiSelectDisplayerLabel, Partial<_lucca_front_ng_multi_select.ILuMultiSelectDisplayerLabel>>;
|
|
169
170
|
protected destroyRef: DestroyRef;
|
|
170
|
-
readonly inputElementRef:
|
|
171
|
+
readonly inputElementRef: ElementRef<HTMLInputElement>;
|
|
171
172
|
get value(): T[];
|
|
172
173
|
readonly context: ILuOptionContext<T[]>;
|
|
173
174
|
readonly displayedOptions$: rxjs.Observable<T[]>;
|
|
@@ -176,8 +177,8 @@ declare class LuMultiSelectDefaultDisplayerComponent<T> implements OnInit {
|
|
|
176
177
|
inputBackspace(): void;
|
|
177
178
|
inputSpace(event: Event): void;
|
|
178
179
|
ngOnInit(): void;
|
|
179
|
-
static ɵfac:
|
|
180
|
-
static ɵcmp:
|
|
180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectDefaultDisplayerComponent<any>, never>;
|
|
181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuMultiSelectDefaultDisplayerComponent<any>, "lu-multi-select-default-displayer", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
declare const LU_MULTI_SELECT_DISPLAYER_TRANSLATIONS: InjectionToken<LuTranslation<ILuMultiSelectDisplayerLabel>>;
|
|
@@ -200,23 +201,23 @@ declare class LuMultiSelectDisplayerInputDirective<T> implements OnInit {
|
|
|
200
201
|
get panelOpen(): boolean;
|
|
201
202
|
get activeDescendant(): string;
|
|
202
203
|
get controls(): string;
|
|
203
|
-
get disabled():
|
|
204
|
+
get disabled(): boolean;
|
|
204
205
|
get placeholder(): string;
|
|
205
206
|
get readonly(): boolean;
|
|
206
207
|
onInput(): void;
|
|
207
208
|
constructor();
|
|
208
209
|
ngOnInit(): void;
|
|
209
|
-
static ɵfac:
|
|
210
|
-
static ɵdir:
|
|
210
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectDisplayerInputDirective<any>, never>;
|
|
211
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuMultiSelectDisplayerInputDirective<any>, "[luMultiSelectDisplayerInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.InputDirective; inputs: {}; outputs: {}; }]>;
|
|
211
212
|
}
|
|
212
213
|
|
|
213
214
|
declare class LuMultiDisplayerDirective<T> {
|
|
214
215
|
private templateRef;
|
|
215
|
-
|
|
216
|
+
set select(select: LuMultiSelectInputComponent<T>);
|
|
216
217
|
constructor(templateRef: TemplateRef<LuOptionContext<T[]>>);
|
|
217
218
|
static ngTemplateContextGuard<T>(_dir: LuMultiDisplayerDirective<T>, _ctx: unknown): _ctx is LuOptionContext<T[]>;
|
|
218
|
-
static ɵfac:
|
|
219
|
-
static ɵdir:
|
|
219
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiDisplayerDirective<any>, never>;
|
|
220
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuMultiDisplayerDirective<any>, "[luMultiDisplayer]", never, { "select": { "alias": "luMultiDisplayerSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
220
221
|
}
|
|
221
222
|
|
|
222
223
|
declare function selectionToQueryParams<T, Key extends string>(key: Key, value: LuMultiSelection<T>, selector: (value: T) => unknown): Partial<Record<Key | `-${Key}`, string>>;
|
|
@@ -228,10 +228,10 @@ declare abstract class ALuOptionOperator<T> implements ILuOptionOperator<T> {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
declare class LuOptionFeederComponent<T> implements ILuOptionOperator<T> {
|
|
231
|
-
readonly
|
|
232
|
-
|
|
231
|
+
readonly outOptions$: BehaviorSubject<T[]>;
|
|
232
|
+
set options(options: T[]);
|
|
233
233
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuOptionFeederComponent<any>, never>;
|
|
234
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuOptionFeederComponent<any>, "lu-option-feeder", never, { "options": { "alias": "options"; "required": false;
|
|
234
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuOptionFeederComponent<any>, "lu-option-feeder", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/**
|
|
@@ -282,7 +282,7 @@ declare class LuForGroupsDirective<TItem, TKey> implements ILuOptionOperator<TIt
|
|
|
282
282
|
protected _templateRef: TemplateRef<LuForGroupContext<ILuGroup<TItem, TKey>>>;
|
|
283
283
|
outOptions$?: Observable<TItem[]>;
|
|
284
284
|
private _groupByFn;
|
|
285
|
-
|
|
285
|
+
set attrGroupBy(fn: (item: TItem) => TKey);
|
|
286
286
|
protected _subs: Subscription;
|
|
287
287
|
set inOptions$(options$: Observable<TItem[]>);
|
|
288
288
|
constructor(_vcr: ViewContainerRef, _cdr: ChangeDetectorRef, _templateRef: TemplateRef<LuForGroupContext<ILuGroup<TItem, TKey>>>);
|
|
@@ -290,7 +290,7 @@ declare class LuForGroupsDirective<TItem, TKey> implements ILuOptionOperator<TIt
|
|
|
290
290
|
render(options: TItem[]): void;
|
|
291
291
|
protected groupBy(items: TItem[]): ILuGroup<TItem, TKey>[];
|
|
292
292
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuForGroupsDirective<any, any>, never>;
|
|
293
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuForGroupsDirective<any, any>, "[luForGroups]", never, { "attrGroupBy": { "alias": "luForGroupsGroupBy"; "required": false;
|
|
293
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuForGroupsDirective<any, any>, "[luForGroups]", never, { "attrGroupBy": { "alias": "luForGroupsGroupBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
declare class LuForOptionsDirective<T> extends NgForOf<T> implements ILuOptionOperator<T>, OnDestroy {
|
|
@@ -298,11 +298,11 @@ declare class LuForOptionsDirective<T> extends NgForOf<T> implements ILuOptionOp
|
|
|
298
298
|
outOptions$: any;
|
|
299
299
|
protected _subs: Subscription;
|
|
300
300
|
set inOptions$(options$: Observable<T[]>);
|
|
301
|
-
|
|
301
|
+
set luForOptionsTrackBy(fn: TrackByFunction<T>);
|
|
302
302
|
constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForOfContext<T>>, _differs: IterableDiffers, _changeDetectionRef: ChangeDetectorRef);
|
|
303
303
|
ngOnDestroy(): void;
|
|
304
304
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuForOptionsDirective<any>, never>;
|
|
305
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuForOptionsDirective<any>, "[luForOptions]", never, { "luForOptionsTrackBy": { "alias": "luForOptionsTrackBy"; "required": false;
|
|
305
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuForOptionsDirective<any>, "[luForOptions]", never, { "luForOptionsTrackBy": { "alias": "luForOptionsTrackBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
/**
|
|
@@ -370,14 +370,14 @@ declare class LuOptionSearcherComponent<T> extends ALuOptionOperator<T> implemen
|
|
|
370
370
|
searchControl: FormControl<any>;
|
|
371
371
|
readonly clue$: Observable<string>;
|
|
372
372
|
empty$: Observable<boolean>;
|
|
373
|
-
readonly searchInput:
|
|
373
|
+
readonly searchInput: ElementRef<HTMLElement>;
|
|
374
374
|
outOptions$: Observable<T[]>;
|
|
375
375
|
set inOptions$(in$: Observable<T[]>);
|
|
376
|
-
|
|
376
|
+
searchFn: (option: T, clue: string) => boolean;
|
|
377
377
|
onOpen(): void;
|
|
378
378
|
resetClue(): void;
|
|
379
379
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuOptionSearcherComponent<any>, never>;
|
|
380
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuOptionSearcherComponent<any>, "lu-option-searcher", never, { "searchFn": { "alias": "searchFn"; "required": false;
|
|
380
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuOptionSearcherComponent<any>, "lu-option-searcher", never, { "searchFn": { "alias": "searchFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
/**
|