@lucca-front/ng 21.0.1 → 21.1.0-rc.0
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-a11y.mjs +3 -3
- package/fesm2022/lucca-front-ng-api.mjs +48 -48
- package/fesm2022/lucca-front-ng-app-layout.mjs +3 -3
- package/fesm2022/lucca-front-ng-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
- package/fesm2022/lucca-front-ng-button.mjs +3 -3
- package/fesm2022/lucca-front-ng-callout.mjs +24 -24
- package/fesm2022/lucca-front-ng-chip.mjs +3 -3
- package/fesm2022/lucca-front-ng-clear.mjs +3 -3
- package/fesm2022/lucca-front-ng-code.mjs +3 -3
- package/fesm2022/lucca-front-ng-comment.mjs +9 -9
- package/fesm2022/lucca-front-ng-container.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-department.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-user.mjs +22 -19
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +53 -52
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +15 -15
- package/fesm2022/lucca-front-ng-data-table.mjs +25 -25
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +48 -48
- package/fesm2022/lucca-front-ng-date2.mjs +39 -29
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +28 -28
- package/fesm2022/lucca-front-ng-dialog.mjs +30 -30
- package/fesm2022/lucca-front-ng-divider.mjs +3 -3
- package/fesm2022/lucca-front-ng-dropdown.mjs +40 -40
- package/fesm2022/lucca-front-ng-empty-state.mjs +6 -6
- package/fesm2022/lucca-front-ng-establishment.mjs +49 -49
- package/fesm2022/lucca-front-ng-fancy-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-file-upload.mjs +33 -16
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +20 -20
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +3 -3
- package/fesm2022/lucca-front-ng-form-field.mjs +69 -15
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
- package/fesm2022/lucca-front-ng-form.mjs +3 -3
- package/fesm2022/lucca-front-ng-formly.mjs +58 -58
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +15 -14
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +34 -34
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +105 -58
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
- package/fesm2022/lucca-front-ng-grid.mjs +6 -6
- package/fesm2022/lucca-front-ng-highlight-data.mjs +3 -3
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +6 -6
- package/fesm2022/lucca-front-ng-icon.mjs +3 -3
- package/fesm2022/lucca-front-ng-index-table.mjs +31 -31
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
- package/fesm2022/lucca-front-ng-input.mjs +21 -21
- package/fesm2022/lucca-front-ng-link.mjs +16 -10
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
- package/fesm2022/lucca-front-ng-listing.mjs +6 -6
- package/fesm2022/lucca-front-ng-loading.mjs +3 -3
- package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
- package/fesm2022/lucca-front-ng-mobile-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-modal.mjs +22 -22
- package/fesm2022/lucca-front-ng-multi-select.mjs +70 -60
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-number-format.mjs +6 -6
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-option.mjs +154 -154
- package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
- package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
- package/fesm2022/lucca-front-ng-plg-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-popover.mjs +25 -25
- package/fesm2022/lucca-front-ng-popover2.mjs +9 -9
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-progress-bar.mjs +3 -3
- package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
- package/fesm2022/lucca-front-ng-resource-card.mjs +12 -12
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-scroll-box.mjs +5 -5
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +6 -6
- package/fesm2022/lucca-front-ng-segmented-control.mjs +6 -6
- package/fesm2022/lucca-front-ng-select.mjs +14 -14
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-simple-select.mjs +30 -18
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +21 -21
- package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
- package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
- package/fesm2022/lucca-front-ng-tag.mjs +3 -3
- package/fesm2022/lucca-front-ng-time.mjs +15 -15
- package/fesm2022/lucca-front-ng-title.mjs +10 -10
- package/fesm2022/lucca-front-ng-toast.mjs +10 -10
- package/fesm2022/lucca-front-ng-tooltip.mjs +21 -21
- package/fesm2022/lucca-front-ng-tree-select.mjs +6 -6
- package/fesm2022/lucca-front-ng-user-popover.mjs +18 -18
- package/fesm2022/lucca-front-ng-user.mjs +63 -63
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
- package/package.json +7 -7
- package/schematics/palettes/index.js +2 -2
- package/src/components/_picker.scss +4 -0
- package/types/lucca-front-ng-core-select.d.ts +69 -68
- package/types/lucca-front-ng-date2.d.ts +2 -1
- package/types/lucca-front-ng-form-field.d.ts +25 -4
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +1 -0
- package/types/lucca-front-ng-forms.d.ts +12 -1
- package/types/lucca-front-ng-link.d.ts +2 -3
- package/types/lucca-front-ng-multi-select.d.ts +30 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, Provider, OnInit, TemplateRef, PipeTransform, OnChanges, OnDestroy, Type, SimpleChanges, ElementRef, AfterViewInit, Signal, EventEmitter, WritableSignal, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_filter_pills from '@lucca-front/ng/filter-pills';
|
|
4
4
|
import { FilterPillInputComponent } from '@lucca-front/ng/filter-pills';
|
|
@@ -22,15 +22,15 @@ declare class LuSimpleSelectDefaultOptionComponent {
|
|
|
22
22
|
context: ILuOptionContext<{
|
|
23
23
|
name?: string;
|
|
24
24
|
}>;
|
|
25
|
-
static ɵfac:
|
|
26
|
-
static ɵcmp:
|
|
25
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSimpleSelectDefaultOptionComponent, never>;
|
|
26
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-simple-select-default-option", never, {}, {}, never, never, true, never>;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
declare class LuDisabledOptionDirective {
|
|
30
30
|
private context;
|
|
31
31
|
set isDisabled(disabled: boolean | null);
|
|
32
|
-
static ɵfac:
|
|
33
|
-
static ɵdir:
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
|
|
33
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisabledOptionDirective, "[luDisabledOption]", never, { "isDisabled": { "alias": "luDisabledOption"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
interface LuOptionContext<T> {
|
|
@@ -55,8 +55,8 @@ declare const CORE_SELECT_API_TOTAL_COUNT_PROVIDER: InjectionToken<CoreSelectApi
|
|
|
55
55
|
declare abstract class ɵIsSelectedStrategy<TOption> {
|
|
56
56
|
abstract isSelected(option: TOption, selectedOptions: TOption[], optionComparer: LuOptionComparer<TOption>): boolean;
|
|
57
57
|
abstract isGroupSelected(options: TOption[], notSelectedOptions: TOption[]): boolean;
|
|
58
|
-
static ɵfac:
|
|
59
|
-
static ɵprov:
|
|
58
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ɵIsSelectedStrategy<any>, never>;
|
|
59
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ɵIsSelectedStrategy<any>>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
interface LuOptionGrouping<TOption, TGroup> {
|
|
@@ -69,8 +69,8 @@ declare class LuOptionGroupDirective<TOption, TValue, TGroup> implements LuOptio
|
|
|
69
69
|
readonly content: TemplateRef<LuOptionGroupByContext<TOption, TGroup>>;
|
|
70
70
|
static ngTemplateContextGuard<TOption, TValue, TGroup>(_dir: LuOptionGroupDirective<TOption, TValue, TGroup>, ctx: unknown): ctx is LuOptionGroupByContext<TOption, TGroup>;
|
|
71
71
|
ngOnInit(): void;
|
|
72
|
-
static ɵfac:
|
|
73
|
-
static ɵdir:
|
|
72
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupDirective<any, any, any>, never>;
|
|
73
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionGroupDirective<any, any, any>, "[luOptionGroup]", never, { "select": { "alias": "luOptionGroupSelect"; "required": false; }; "selector": { "alias": "luOptionGroupBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/**
|
|
@@ -80,8 +80,8 @@ declare function generateGroups<T, TGroup>(options: T[], selector: (option: T) =
|
|
|
80
80
|
declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
|
|
81
81
|
transform(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
|
|
82
82
|
transform(options: T, selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>;
|
|
83
|
-
static ɵfac:
|
|
84
|
-
static ɵpipe:
|
|
83
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupPipe<any, any>, never>;
|
|
84
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuOptionGroupPipe<any, any>, "luOptionGroup", true>;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
declare class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {
|
|
@@ -99,8 +99,8 @@ declare class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {
|
|
|
99
99
|
private createComponent;
|
|
100
100
|
private updateRefValue;
|
|
101
101
|
static ngTemplateContextGuard<T>(_dir: LuOptionOutletDirective<T>, ctx: unknown): ctx is void;
|
|
102
|
-
static ɵfac:
|
|
103
|
-
static ɵdir:
|
|
102
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionOutletDirective<any>, never>;
|
|
103
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionOutletDirective<any>, "[luOptionOutlet]", never, { "luOptionOutlet": { "alias": "luOptionOutlet"; "required": false; }; "luOptionOutletValue": { "alias": "luOptionOutletValue"; "required": false; }; "luOptionShowNull": { "alias": "luOptionShowNull"; "required": false; }; }, {}, never, never, true, never>;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
interface OptionTranslate {
|
|
@@ -118,20 +118,20 @@ declare function getGroupTemplateLocation(hasGrouping$: Observable<boolean>, clu
|
|
|
118
118
|
declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
119
119
|
#private;
|
|
120
120
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
121
|
-
id:
|
|
122
|
-
elementId:
|
|
123
|
-
idAttribute:
|
|
124
|
-
isSelected:
|
|
125
|
-
option:
|
|
126
|
-
isHighlighted:
|
|
127
|
-
selected:
|
|
121
|
+
id: _angular_core.WritableSignal<string>;
|
|
122
|
+
elementId: _angular_core.InputSignal<string>;
|
|
123
|
+
idAttribute: _angular_core.Signal<string>;
|
|
124
|
+
isSelected: _angular_core.ModelSignal<boolean>;
|
|
125
|
+
option: _angular_core.InputSignal<T>;
|
|
126
|
+
isHighlighted: _angular_core.WritableSignal<boolean>;
|
|
127
|
+
selected: _angular_core.OutputEmitterRef<void>;
|
|
128
128
|
disabled: boolean;
|
|
129
129
|
constructor();
|
|
130
130
|
ngOnDestroy(): void;
|
|
131
131
|
setActiveStyles(): void;
|
|
132
132
|
setInactiveStyles(): void;
|
|
133
|
-
static ɵfac:
|
|
134
|
-
static ɵdir:
|
|
133
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectPanelElement<any>, never>;
|
|
134
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSelectPanelElement<any>, "[luCoreSelectPanelElement]", ["luCoreSelectPanelElement"], { "elementId": { "alias": "elementId"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "isSelected": "isSelectedChange"; "selected": "selected"; }, never, never, true, never>;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
@@ -141,13 +141,13 @@ declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
|
141
141
|
optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;
|
|
142
142
|
option?: T;
|
|
143
143
|
grouping?: LuOptionGrouping<T, unknown>;
|
|
144
|
-
hasChildren:
|
|
145
|
-
onlyParent:
|
|
146
|
-
onlyChildren:
|
|
147
|
-
groupIndex:
|
|
148
|
-
optionIndex:
|
|
144
|
+
hasChildren: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
145
|
+
onlyParent: _angular_core.OutputEmitterRef<void>;
|
|
146
|
+
onlyChildren: _angular_core.OutputEmitterRef<void>;
|
|
147
|
+
groupIndex: _angular_core.InputSignal<number>;
|
|
148
|
+
optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
149
149
|
scrollIntoViewOptions: ScrollIntoViewOptions;
|
|
150
|
-
groupTemplateLocation:
|
|
150
|
+
groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
|
|
151
151
|
private optionContext?;
|
|
152
152
|
private cdr;
|
|
153
153
|
private subscription?;
|
|
@@ -159,8 +159,8 @@ declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
|
159
159
|
ngOnDestroy(): void;
|
|
160
160
|
ngAfterViewInit(): void;
|
|
161
161
|
selectOption($event: Event): void;
|
|
162
|
-
static ɵfac:
|
|
163
|
-
static ɵcmp:
|
|
162
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
|
|
163
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "optionTpl": { "alias": "optionTpl"; "required": false; }; "option": { "alias": "option"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; "isSignal": true; }; "groupIndex": { "alias": "groupIndex"; "required": false; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "scrollIntoViewOptions": { "alias": "scrollIntoViewOptions"; "required": false; }; "groupTemplateLocation": { "alias": "groupTemplateLocation"; "required": false; "isSignal": true; }; }, { "onlyParent": "onlyParent"; "onlyChildren": "onlyChildren"; }, never, never, true, never>;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
declare class LuOptionDirective<TOption, TValue> {
|
|
@@ -168,8 +168,8 @@ declare class LuOptionDirective<TOption, TValue> {
|
|
|
168
168
|
set select(select: ALuSelectInputComponent<TOption, TValue>);
|
|
169
169
|
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
170
170
|
static ngTemplateContextGuard<TOption, TValue>(_dir: LuOptionDirective<TOption, TValue>, ctx: unknown): ctx is LuOptionContext<TOption>;
|
|
171
|
-
static ɵfac:
|
|
172
|
-
static ɵdir:
|
|
171
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionDirective<any, any>, never>;
|
|
172
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionDirective<any, any>, "[luOption]", never, { "select": { "alias": "luOptionSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
interface CoreSelectKeyManagerOptions<T> {
|
|
@@ -187,17 +187,17 @@ declare class CoreSelectKeyManager<T> {
|
|
|
187
187
|
get activeItemIndex(): number;
|
|
188
188
|
setActiveItem(index: number): void;
|
|
189
189
|
highlightOption(option: T): void;
|
|
190
|
-
static ɵfac:
|
|
191
|
-
static ɵprov:
|
|
190
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectKeyManager<any>, never>;
|
|
191
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
declare class LuCoreSelectPanelHeaderDirective {
|
|
195
195
|
readonly templateRef: TemplateRef<void>;
|
|
196
|
-
readonly select:
|
|
196
|
+
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<unknown, unknown> | ALuSelectInputComponent<unknown, unknown[]>>;
|
|
197
197
|
constructor();
|
|
198
198
|
static ngTemplateContextGuard(_dir: LuCoreSelectPanelHeaderDirective, ctx: unknown): ctx is void;
|
|
199
|
-
static ɵfac:
|
|
200
|
-
static ɵdir:
|
|
199
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectPanelHeaderDirective, never>;
|
|
200
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectPanelHeaderDirective, "[luSelectPanelHeader]", never, { "select": { "alias": "luSelectPanelHeader"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
@@ -244,15 +244,16 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
244
244
|
protected afterCloseFn?: () => void;
|
|
245
245
|
protected updatePositionFn?: () => void;
|
|
246
246
|
protected filterPillMode: boolean;
|
|
247
|
+
ignorePresentation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
247
248
|
selectParent$?: Subject<void>;
|
|
248
249
|
selectChildren$?: Subject<void>;
|
|
249
|
-
panelClosed:
|
|
250
|
-
panelOpened:
|
|
250
|
+
panelClosed: _angular_core.OutputEmitterRef<void>;
|
|
251
|
+
panelOpened: _angular_core.OutputEmitterRef<void>;
|
|
251
252
|
private inputElementRef;
|
|
252
253
|
placeholder$: BehaviorSubject<string>;
|
|
253
254
|
disabled$: BehaviorSubject<boolean>;
|
|
254
|
-
filterPillDisabled:
|
|
255
|
-
prefix:
|
|
255
|
+
filterPillDisabled: _angular_core.Signal<boolean>;
|
|
256
|
+
prefix: _angular_core.InputSignal<PortalContent>;
|
|
256
257
|
set placeholder(value: string);
|
|
257
258
|
set clearable(value: boolean);
|
|
258
259
|
get clearable(): boolean;
|
|
@@ -271,14 +272,14 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
271
272
|
set options(options: readonly TOption[]);
|
|
272
273
|
optionComparer: LuOptionComparer<TOption>;
|
|
273
274
|
optionKey: (option: TOption) => unknown;
|
|
274
|
-
noClueIcon:
|
|
275
|
-
inputTabindex:
|
|
275
|
+
noClueIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
276
|
+
inputTabindex: _angular_core.InputSignal<number>;
|
|
276
277
|
protected get isNoClueIconClass(): boolean;
|
|
277
|
-
optionTpl:
|
|
278
|
-
valueTpl:
|
|
279
|
-
panelHeaderTpl:
|
|
280
|
-
displayerTpl:
|
|
281
|
-
groupingSignal:
|
|
278
|
+
optionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
279
|
+
valueTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
280
|
+
panelHeaderTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void>>;
|
|
281
|
+
displayerTpl: _angular_core.Signal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
282
|
+
groupingSignal: _angular_core.WritableSignal<LuOptionGrouping<TOption, unknown>>;
|
|
282
283
|
/**
|
|
283
284
|
* @deprecated use groupingSignal
|
|
284
285
|
*/
|
|
@@ -289,14 +290,14 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
289
290
|
set grouping(grouping: LuOptionGrouping<TOption, unknown> | undefined);
|
|
290
291
|
treeGenerator?: TreeGenerator<TOption, TreeNode<TOption>>;
|
|
291
292
|
clueChange$: Subject<string>;
|
|
292
|
-
clueChange:
|
|
293
|
+
clueChange: _angular_core.OutputRef<string>;
|
|
293
294
|
nextPage$: Subject<void>;
|
|
294
|
-
nextPage:
|
|
295
|
-
previousPage:
|
|
296
|
-
addOption:
|
|
297
|
-
valueSignal:
|
|
298
|
-
isFilterPillEmpty:
|
|
299
|
-
isFilterPillClearable:
|
|
295
|
+
nextPage: _angular_core.OutputRef<void>;
|
|
296
|
+
previousPage: _angular_core.OutputEmitterRef<void>;
|
|
297
|
+
addOption: _angular_core.OutputEmitterRef<string>;
|
|
298
|
+
valueSignal: _angular_core.WritableSignal<TValue>;
|
|
299
|
+
isFilterPillEmpty: _angular_core.Signal<boolean>;
|
|
300
|
+
isFilterPillClearable: _angular_core.Signal<boolean>;
|
|
300
301
|
get value(): TValue;
|
|
301
302
|
protected set value(value: TValue);
|
|
302
303
|
get inputPlaceholder(): string | null;
|
|
@@ -338,8 +339,8 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
338
339
|
enableFilterPillMode(): void;
|
|
339
340
|
onFilterPillOpened(): void;
|
|
340
341
|
onFilterPillClosed(): void;
|
|
341
|
-
static ɵfac:
|
|
342
|
-
static ɵdir:
|
|
342
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
|
|
343
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "ignorePresentation": { "alias": "ignorePresentation"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "addOptionLabel": { "alias": "addOptionLabel"; "required": false; }; "addOptionStrategy": { "alias": "addOptionStrategy"; "required": false; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionComparer": { "alias": "optionComparer"; "required": false; }; "optionKey": { "alias": "optionKey"; "required": false; }; "noClueIcon": { "alias": "noClueIcon"; "required": false; "isSignal": true; }; "inputTabindex": { "alias": "inputTabindex"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "valueTpl": { "alias": "valueTpl"; "required": false; "isSignal": true; }; "panelHeaderTpl": { "alias": "panelHeaderTpl"; "required": false; "isSignal": true; }; }, { "panelClosed": "panelClosed"; "panelOpened": "panelOpened"; "optionTpl": "optionTplChange"; "valueTpl": "valueTplChange"; "panelHeaderTpl": "panelHeaderTplChange"; "clueChange": "clueChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "addOption": "addOption"; }, never, never, true, never>;
|
|
343
344
|
static ngAcceptInputType_clearable: unknown;
|
|
344
345
|
}
|
|
345
346
|
|
|
@@ -347,16 +348,16 @@ declare function provideLuSelectLabelsAndIds(): Provider[];
|
|
|
347
348
|
declare function addAttributesOnCdkContainer(overlayRef: OverlayRef, selectLabelId: string, selectId: number): void;
|
|
348
349
|
|
|
349
350
|
declare class LuCoreSelectTotalCountDirective implements CoreSelectApiTotalCountProvider {
|
|
350
|
-
totalCount:
|
|
351
|
+
totalCount: _angular_core.InputSignal<number>;
|
|
351
352
|
totalCount$: rxjs.Observable<number>;
|
|
352
|
-
static ɵfac:
|
|
353
|
-
static ɵdir:
|
|
353
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectTotalCountDirective, never>;
|
|
354
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectTotalCountDirective, "lu-simple-select[totalCount],lu-multi-select[totalCount]", never, { "totalCount": { "alias": "totalCount"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
354
355
|
}
|
|
355
356
|
|
|
356
357
|
declare class TreeDisplayPipe<T> implements PipeTransform {
|
|
357
358
|
transform(items: T[], treeGenerator: TreeGenerator<T, TreeNode<T>>): TreeNode<T>[];
|
|
358
|
-
static ɵfac:
|
|
359
|
-
static ɵpipe:
|
|
359
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeDisplayPipe<any>, never>;
|
|
360
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<TreeDisplayPipe<any>, "luTreeDisplay", true>;
|
|
360
361
|
}
|
|
361
362
|
|
|
362
363
|
declare class LuDisplayerDirective<TOption, TValue> {
|
|
@@ -364,14 +365,14 @@ declare class LuDisplayerDirective<TOption, TValue> {
|
|
|
364
365
|
set select(select: ALuSelectInputComponent<TOption, TValue>);
|
|
365
366
|
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
366
367
|
static ngTemplateContextGuard<TOption, TValue>(_dir: LuDisplayerDirective<TOption, TValue>, ctx: unknown): ctx is LuOptionContext<TOption>;
|
|
367
|
-
static ɵfac:
|
|
368
|
-
static ɵdir:
|
|
368
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisplayerDirective<any, any>, never>;
|
|
369
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisplayerDirective<any, any>, "[luDisplayer]", never, { "select": { "alias": "luDisplayerSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
369
370
|
}
|
|
370
371
|
|
|
371
372
|
declare class LuCoreSelectNoClueDirective {
|
|
372
373
|
constructor();
|
|
373
|
-
static ɵfac:
|
|
374
|
-
static ɵdir:
|
|
374
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectNoClueDirective, never>;
|
|
375
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectNoClueDirective, "lu-simple-select[noClue],lu-multi-select[noClue]", never, {}, {}, never, never, true, never>;
|
|
375
376
|
}
|
|
376
377
|
|
|
377
378
|
declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectLabel>>;
|
|
@@ -385,8 +386,8 @@ declare const applySearchDelimiter: (clue: string, delimiter: string) => string;
|
|
|
385
386
|
declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
386
387
|
#private;
|
|
387
388
|
transform(option: T, comparer: LuOptionComparer<T>, selectedOptions: T[]): boolean;
|
|
388
|
-
static ɵfac:
|
|
389
|
-
static ɵpipe:
|
|
389
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuIsOptionSelectedPipe<any>, never>;
|
|
390
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuIsOptionSelectedPipe<any>, "luIsOptionSelected", true>;
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
export { ALuSelectInputComponent, CORE_SELECT_API_TOTAL_COUNT_PROVIDER, CoreSelectKeyManager, LU_CORE_SELECT_TRANSLATIONS, LU_OPTION_CONTEXT, LuCoreSelectNoClueDirective, LuCoreSelectPanelHeaderDirective, LuCoreSelectTotalCountDirective, LuDisabledOptionDirective, LuDisplayerDirective, LuIsOptionSelectedPipe, LuOptionDirective, LuOptionGroupDirective, LuSelectPanelRef, LuSimpleSelectDefaultOptionComponent, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_INSTANCE, TreeDisplayPipe, addAttributesOnCdkContainer, applySearchDelimiter, coreSelectDefaultOptionComparer, coreSelectDefaultOptionKey, luCoreSelectTranslations, provideLuSelectLabelsAndIds, provideOptionContext, CoreSelectPanelElement as ɵCoreSelectPanelElement, ɵIsSelectedStrategy, LuOptionComponent as ɵLuOptionComponent, LuOptionGroupPipe as ɵLuOptionGroupPipe, LuOptionOutletDirective as ɵLuOptionOutletDirective, generateGroups as ɵgenerateGroups, getGroupTemplateLocation as ɵgetGroupTemplateLocation };
|
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { OnInit, ElementRef } from '@angular/core';
|
|
3
3
|
import { Palette, PortalContent } from '@lucca-front/ng/core';
|
|
4
4
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
5
|
-
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
|
+
import { ControlValueAccessor, Validator, NgControl, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
6
6
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
7
7
|
import { FilterPillInputComponent } from '@lucca-front/ng/filter-pills';
|
|
8
8
|
import { PopoverDirective } from '@lucca-front/ng/popover2';
|
|
@@ -209,6 +209,7 @@ type DateInputValidatorErrorType = {
|
|
|
209
209
|
declare class DateInputComponent extends AbstractDateComponent implements OnInit, ControlValueAccessor, Validator, FilterPillInputComponent {
|
|
210
210
|
#private;
|
|
211
211
|
parentInput: FilterPillInputComponent;
|
|
212
|
+
ngControl: NgControl;
|
|
212
213
|
autocomplete: _angular_core.InputSignal<AutoFill>;
|
|
213
214
|
placeholder: _angular_core.InputSignal<string>;
|
|
214
215
|
disableOverflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, ElementRef, OnDestroy, DoCheck, InjectionToken } from '@angular/core';
|
|
2
|
+
import { OnInit, ElementRef, OnDestroy, DoCheck, TemplateRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_form_field from '@lucca-front/ng/form-field';
|
|
4
4
|
import { RequiredValidator, NgControl, AbstractControl } from '@angular/forms';
|
|
5
5
|
import { SafeHtml } from '@angular/platform-browser';
|
|
@@ -42,6 +42,7 @@ declare class FormFieldComponent implements OnDestroy, DoCheck {
|
|
|
42
42
|
*/
|
|
43
43
|
readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
44
44
|
rolePresentationLabel: _angular_core.ModelSignal<boolean>;
|
|
45
|
+
labelIsPresentation: _angular_core.Signal<boolean>;
|
|
45
46
|
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
46
47
|
readonly statusControl: _angular_core.InputSignal<AbstractControl<any, any, any>>;
|
|
47
48
|
readonly tooltip: _angular_core.InputSignal<string | SafeHtml>;
|
|
@@ -66,11 +67,13 @@ declare class FormFieldComponent implements OnDestroy, DoCheck {
|
|
|
66
67
|
* Extra aria-describedby attribute
|
|
67
68
|
*/
|
|
68
69
|
readonly extraDescribedBy: _angular_core.InputSignal<string>;
|
|
69
|
-
layout: _angular_core.ModelSignal<"default" | "checkable" | "fieldset">;
|
|
70
|
+
readonly layout: _angular_core.ModelSignal<"default" | "checkable" | "fieldset">;
|
|
70
71
|
/**
|
|
71
72
|
* Max amount of characters allowed, defaults to 0, which means hidden, no maximum
|
|
72
73
|
*/
|
|
73
74
|
readonly counter: _angular_core.InputSignal<number>;
|
|
75
|
+
readonly presentation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
76
|
+
readonly presentationDisplayTpl: _angular_core.WritableSignal<TemplateRef<unknown>>;
|
|
74
77
|
get contentLength(): number;
|
|
75
78
|
addInput(input: InputDirective): void;
|
|
76
79
|
get inputs(): InputDirective[];
|
|
@@ -85,7 +88,7 @@ declare class FormFieldComponent implements OnDestroy, DoCheck {
|
|
|
85
88
|
ngOnDestroy(): void;
|
|
86
89
|
ngDoCheck(): void;
|
|
87
90
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
88
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "lu-form-field", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "rolePresentationLabel": { "alias": "rolePresentationLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "statusControl": { "alias": "statusControl"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "iconAItooltip": { "alias": "iconAItooltip"; "required": false; "isSignal": true; }; "iconAIalt": { "alias": "iconAIalt"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "inlineMessage": { "alias": "inlineMessage"; "required": false; "isSignal": true; }; "errorInlineMessage": { "alias": "errorInlineMessage"; "required": false; "isSignal": true; }; "inlineMessageState": { "alias": "inlineMessageState"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "extraDescribedBy": { "alias": "extraDescribedBy"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; }, { "rolePresentationLabel": "rolePresentationLabelChange"; "layout": "layoutChange"; }, ["formFieldChildren", "requiredValidators", "ngControls"], ["*"], true, never>;
|
|
91
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "lu-form-field", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "rolePresentationLabel": { "alias": "rolePresentationLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "statusControl": { "alias": "statusControl"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "iconAItooltip": { "alias": "iconAItooltip"; "required": false; "isSignal": true; }; "iconAIalt": { "alias": "iconAIalt"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "inlineMessage": { "alias": "inlineMessage"; "required": false; "isSignal": true; }; "errorInlineMessage": { "alias": "errorInlineMessage"; "required": false; "isSignal": true; }; "inlineMessageState": { "alias": "inlineMessageState"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "extraDescribedBy": { "alias": "extraDescribedBy"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; "presentation": { "alias": "presentation"; "required": false; "isSignal": true; }; }, { "rolePresentationLabel": "rolePresentationLabelChange"; "layout": "layoutChange"; }, ["formFieldChildren", "requiredValidators", "ngControls"], ["*"], true, never>;
|
|
89
92
|
}
|
|
90
93
|
|
|
91
94
|
declare const FORM_FIELD_INSTANCE: InjectionToken<FormFieldComponent>;
|
|
@@ -106,5 +109,23 @@ declare class InputFramedComponent {
|
|
|
106
109
|
|
|
107
110
|
declare const INPUT_FRAMED_INSTANCE: InjectionToken<InputFramedComponent>;
|
|
108
111
|
|
|
109
|
-
|
|
112
|
+
declare class PresentationDisplayDirective implements OnInit {
|
|
113
|
+
#private;
|
|
114
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
115
|
+
defaultDisplay: _angular_core.WritableSignal<boolean>;
|
|
116
|
+
ngOnInit(): void;
|
|
117
|
+
static ngTemplateContextGuard(_dir: PresentationDisplayDirective, ctx: unknown): ctx is void;
|
|
118
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PresentationDisplayDirective, never>;
|
|
119
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PresentationDisplayDirective, "[luPresentationDisplay]", never, {}, {}, never, never, true, never>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare class ɵPresentationDisplayDefaultDirective {
|
|
123
|
+
#private;
|
|
124
|
+
constructor();
|
|
125
|
+
static ngTemplateContextGuard(_dir: ɵPresentationDisplayDefaultDirective, ctx: unknown): ctx is void;
|
|
126
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ɵPresentationDisplayDefaultDirective, never>;
|
|
127
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ɵPresentationDisplayDefaultDirective, "[luPresentationDisplayDefault]", never, {}, {}, never, never, true, [{ directive: typeof PresentationDisplayDirective; inputs: {}; outputs: {}; }]>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export { FORM_FIELD_INSTANCE, FormFieldComponent, INPUT_FRAMED_INSTANCE, InputDirective, InputFramedComponent, LU_FORM_FIELD_TRANSLATIONS, PresentationDisplayDirective, luFormFieldTranslations, ɵPresentationDisplayDefaultDirective };
|
|
110
131
|
export type { FormFieldSize, LuFormFieldTranslations };
|
|
@@ -22,6 +22,7 @@ declare class PhoneNumberInputComponent implements ControlValueAccessor, Validat
|
|
|
22
22
|
readonly noAutoPlaceholder: _angular_core.InputSignal<boolean>;
|
|
23
23
|
readonly defaultCountryCode: _angular_core.InputSignal<CountryCode>;
|
|
24
24
|
readonly countryChange: _angular_core.OutputEmitterRef<CountryCode>;
|
|
25
|
+
readonly currentValue: _angular_core.WritableSignal<string>;
|
|
25
26
|
disabled: boolean;
|
|
26
27
|
prefixEntries: {
|
|
27
28
|
country: CountryCode;
|
|
@@ -33,10 +33,17 @@ declare class NoopValueAccessorDirective implements ControlValueAccessor {
|
|
|
33
33
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NoopValueAccessorDirective, "[luNoopValueAccessor]", never, {}, {}, never, never, true, never>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
interface CheckboxInputTranslations {
|
|
37
|
+
yes: string;
|
|
38
|
+
no: string;
|
|
39
|
+
separator: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
36
42
|
declare class CheckboxInputComponent implements FilterPillInputComponent {
|
|
37
43
|
framed: boolean;
|
|
38
44
|
parentInput: FilterPillInputComponent;
|
|
39
45
|
formField: FormFieldComponent;
|
|
46
|
+
intl: CheckboxInputTranslations;
|
|
40
47
|
readonly checklist: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
41
48
|
/**
|
|
42
49
|
* Should set aria-checked='mixed' attribute ?
|
|
@@ -84,6 +91,7 @@ declare class MultilanguageInputComponent implements ControlValueAccessor {
|
|
|
84
91
|
value: string;
|
|
85
92
|
}>;
|
|
86
93
|
panelInputs: _angular_core.Signal<MultilanguageTranslation[]>;
|
|
94
|
+
presentationValue: _angular_core.Signal<string>;
|
|
87
95
|
popoverPositions: ConnectionPositionPair[];
|
|
88
96
|
getLocaleDisplayName(locale: string): string;
|
|
89
97
|
writeValue(value: MultilanguageTranslation[]): void;
|
|
@@ -142,6 +150,7 @@ declare class NumberFormatInputComponent implements AfterViewInit {
|
|
|
142
150
|
unit: NumberFormatUnit;
|
|
143
151
|
unitDisplay: NumberFormatUnitDisplay;
|
|
144
152
|
}>;
|
|
153
|
+
formattedValue: _angular_core.Signal<string>;
|
|
145
154
|
readonly intl: LuNumberFormatFieldLabel;
|
|
146
155
|
clearValue(): void;
|
|
147
156
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatInputComponent, never>;
|
|
@@ -192,17 +201,19 @@ declare class RadioComponent<T = unknown> {
|
|
|
192
201
|
readonly framedCenter: _angular_core.Signal<boolean>;
|
|
193
202
|
readonly framedSize: _angular_core.Signal<"L">;
|
|
194
203
|
readonly size: _angular_core.Signal<"S" | "M">;
|
|
204
|
+
get ngControl(): _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName;
|
|
195
205
|
get formControl(): _angular_forms.FormControl<any>;
|
|
196
206
|
get name(): string;
|
|
197
207
|
id: string;
|
|
198
208
|
constructor();
|
|
199
209
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent<any>, never>;
|
|
200
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent<any>, "lu-radio", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inlineMessage": { "alias": "inlineMessage"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "framedPortal": { "alias": "framedPortal"; "required": false; "isSignal": true; }; }, {}, never, ["
|
|
210
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent<any>, "lu-radio", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inlineMessage": { "alias": "inlineMessage"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "framedPortal": { "alias": "framedPortal"; "required": false; "isSignal": true; }; }, {}, never, ["[illustration]", "[info]", "*"], true, never>;
|
|
201
211
|
}
|
|
202
212
|
|
|
203
213
|
declare class SwitchInputComponent {
|
|
204
214
|
formField: FormFieldComponent;
|
|
205
215
|
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName;
|
|
216
|
+
intl: CheckboxInputTranslations;
|
|
206
217
|
constructor();
|
|
207
218
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitchInputComponent, never>;
|
|
208
219
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchInputComponent, "lu-switch-input", never, {}, {}, never, never, true, [{ directive: typeof NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as _angular_router from '@angular/router';
|
|
2
|
-
import { RouterLink, Router, ActivatedRoute } from '@angular/router';
|
|
3
1
|
import * as _angular_core from '@angular/core';
|
|
4
2
|
import { Renderer2, ElementRef, WritableSignal } from '@angular/core';
|
|
3
|
+
import { RouterLink, Router, ActivatedRoute, UrlTree } from '@angular/router';
|
|
5
4
|
import { LocationStrategy } from '@angular/common';
|
|
6
5
|
|
|
7
6
|
interface LinkTranslate {
|
|
@@ -21,7 +20,7 @@ declare class LinkComponent {
|
|
|
21
20
|
routerLink: LuRouterLink;
|
|
22
21
|
router: Router;
|
|
23
22
|
readonly luHref: _angular_core.InputSignal<string>;
|
|
24
|
-
readonly routerLinkCommands: _angular_core.InputSignal<string | readonly any[] |
|
|
23
|
+
readonly routerLinkCommands: _angular_core.InputSignal<string | readonly any[] | UrlTree>;
|
|
25
24
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
25
|
readonly decorationHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
26
|
readonly external: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, Injector, ViewContainerRef, OnDestroy, OnInit, Type, TemplateRef, Signal, DestroyRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_multi_select from '@lucca-front/ng/multi-select';
|
|
4
4
|
import { ControlValueAccessor, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
|
-
import {
|
|
5
|
+
import { LuSelectPanelRef, ALuSelectInputComponent, LuOptionContext, ɵIsSelectedStrategy as _IsSelectedStrategy, ILuOptionContext } from '@lucca-front/ng/core-select';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
8
8
|
import { Overlay, OverlayPositionBuilder, ScrollStrategyOptions, OverlayConfig, ConnectedPosition } from '@angular/cdk/overlay';
|
|
@@ -23,33 +23,6 @@ type LuMultiSelection<T> = {
|
|
|
23
23
|
};
|
|
24
24
|
type LuMultiSelectionMode = LuMultiSelection<unknown>['mode'];
|
|
25
25
|
|
|
26
|
-
interface LuMultiSelectWithSelectAllContext {
|
|
27
|
-
setSelectAll(value: boolean): void;
|
|
28
|
-
mode: Signal<LuMultiSelectionMode>;
|
|
29
|
-
values: Signal<unknown[]>;
|
|
30
|
-
displayerLabel: Signal<string>;
|
|
31
|
-
totalCount: Signal<number>;
|
|
32
|
-
displayerCount: Signal<number>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare class LuMultiSelectWithSelectAllDirective<TValue> extends _IsSelectedStrategy<TValue> implements LuMultiSelectWithSelectAllContext {
|
|
36
|
-
#private;
|
|
37
|
-
readonly displayerLabel: i0.InputSignal<string>;
|
|
38
|
-
readonly mode: i0.Signal<"include" | "exclude" | "none" | "all">;
|
|
39
|
-
readonly values: i0.Signal<TValue[]>;
|
|
40
|
-
readonly totalCount: i0.Signal<number>;
|
|
41
|
-
readonly displayerCount: i0.Signal<number>;
|
|
42
|
-
constructor();
|
|
43
|
-
setSelectAll(selectAll: boolean): void;
|
|
44
|
-
isSelected(option: TValue, selectedOptions: TValue[], optionComparer: LuOptionComparer<TValue>): boolean;
|
|
45
|
-
isGroupSelected(_options: TValue[], notSelectedOptions: TValue[]): boolean;
|
|
46
|
-
registerOnChange(fn: (value: TValue[] | LuMultiSelection<TValue>) => void): void;
|
|
47
|
-
writeValue(value: TValue[] | LuMultiSelection<TValue>): void;
|
|
48
|
-
clearValue($event: Event): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectWithSelectAllDirective<any>, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuMultiSelectWithSelectAllDirective<any>, "lu-multi-select[withSelectAll]", never, { "displayerLabel": { "alias": "withSelectAllDisplayerLabel"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
26
|
declare abstract class LuMultiSelectPanelRef<T> extends LuSelectPanelRef<T, T[]> {
|
|
54
27
|
abstract changeDetectorRef?: ChangeDetectorRef;
|
|
55
28
|
abstract updateSelectedOptions(selectedOptions: T[]): void;
|
|
@@ -123,6 +96,34 @@ declare class LuMultiSelectInputComponent<T> extends ALuSelectInputComponent<T,
|
|
|
123
96
|
static ngAcceptInputType_keepSearchAfterSelection: unknown;
|
|
124
97
|
}
|
|
125
98
|
|
|
99
|
+
interface LuMultiSelectWithSelectAllContext {
|
|
100
|
+
setSelectAll(value: boolean): void;
|
|
101
|
+
mode: Signal<LuMultiSelectionMode>;
|
|
102
|
+
values: Signal<unknown[]>;
|
|
103
|
+
displayerLabel: Signal<string>;
|
|
104
|
+
totalCount: Signal<number>;
|
|
105
|
+
displayerCount: Signal<number>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare class LuMultiSelectWithSelectAllDirective<TValue> extends _IsSelectedStrategy<TValue> implements LuMultiSelectWithSelectAllContext {
|
|
109
|
+
#private;
|
|
110
|
+
readonly select: LuMultiSelectInputComponent<TValue>;
|
|
111
|
+
readonly displayerLabel: i0.InputSignal<string>;
|
|
112
|
+
readonly mode: i0.Signal<"include" | "exclude" | "none" | "all">;
|
|
113
|
+
readonly values: i0.Signal<TValue[]>;
|
|
114
|
+
readonly totalCount: i0.Signal<number>;
|
|
115
|
+
readonly displayerCount: i0.Signal<number>;
|
|
116
|
+
constructor();
|
|
117
|
+
setSelectAll(selectAll: boolean): void;
|
|
118
|
+
isSelected(option: TValue, selectedOptions: TValue[], optionComparer: LuOptionComparer<TValue>): boolean;
|
|
119
|
+
isGroupSelected(_options: TValue[], notSelectedOptions: TValue[]): boolean;
|
|
120
|
+
registerOnChange(fn: (value: TValue[] | LuMultiSelection<TValue>) => void): void;
|
|
121
|
+
writeValue(value: TValue[] | LuMultiSelection<TValue>): void;
|
|
122
|
+
clearValue($event: Event): void;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectWithSelectAllDirective<any>, never>;
|
|
124
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuMultiSelectWithSelectAllDirective<any>, "lu-multi-select[withSelectAll]", never, { "displayerLabel": { "alias": "withSelectAllDisplayerLabel"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
125
|
+
}
|
|
126
|
+
|
|
126
127
|
declare class LuMultiSelectContentDisplayerComponent<T> {
|
|
127
128
|
select: LuMultiSelectInputComponent<T>;
|
|
128
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuMultiSelectContentDisplayerComponent<any>, never>;
|