@lucca-front/ng 16.3.1-rc.2 → 16.4.0-rc.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/api/select/feeder/api-feeder.component.d.ts +2 -2
- package/api/select/feeder/api-feeder.model.d.ts +2 -2
- package/api/select/input/api-select-input.component.d.ts +1 -1
- package/api/select/pager/api-pager.component.d.ts +1 -1
- package/api/select/pager/api-pager.model.d.ts +3 -3
- package/api/select/searcher/api-searcher.component.d.ts +2 -2
- package/api/select/searcher/api-searcher.model.d.ts +2 -2
- package/api/service/api-hybrid.service.d.ts +5 -5
- package/api/service/api-service.model.d.ts +8 -8
- package/api/service/api-v3.service.d.ts +7 -7
- package/api/service/api-v4.service.d.ts +7 -7
- package/callout/callout.component.d.ts +2 -1
- package/core/public-api.d.ts +1 -0
- package/core/tools/ng-clazz.directive.d.ts +6 -0
- package/{simple-select/option → core-select/displayer}/displayer.directive.d.ts +2 -2
- package/core-select/displayer/index.d.ts +1 -0
- package/core-select/index.d.ts +5 -0
- package/core-select/input/index.d.ts +2 -0
- package/core-select/input/select-input.component.d.ts +59 -0
- package/{simple-select → core-select}/option/index.d.ts +2 -1
- package/{simple-select → core-select}/option/option.component.d.ts +2 -1
- package/{simple-select → core-select}/option/option.directive.d.ts +2 -2
- package/core-select/panel/index.d.ts +1 -0
- package/{simple-select → core-select}/panel/panel.models.d.ts +4 -4
- package/core-select/public-api.d.ts +5 -0
- package/core-select/select.model.d.ts +7 -0
- package/department/select/feeder/department-feeder.component.d.ts +2 -2
- package/department/select/input/department-select-input.component.d.ts +2 -2
- package/department/service/department-v3.service.d.ts +2 -2
- package/esm2022/api/select/feeder/api-feeder.component.mjs +1 -1
- package/esm2022/api/select/feeder/api-feeder.model.mjs +1 -1
- package/esm2022/api/select/input/api-select-input.component.mjs +3 -3
- package/esm2022/api/select/pager/api-pager.component.mjs +1 -1
- package/esm2022/api/select/pager/api-pager.model.mjs +1 -1
- package/esm2022/api/select/searcher/api-searcher.component.mjs +1 -1
- package/esm2022/api/select/searcher/api-searcher.model.mjs +1 -1
- package/esm2022/api/service/api-hybrid.service.mjs +1 -1
- package/esm2022/api/service/api-service.model.mjs +1 -1
- package/esm2022/api/service/api-v3.service.mjs +1 -1
- package/esm2022/api/service/api-v4.service.mjs +1 -1
- package/esm2022/callout/callout.component.mjs +3 -3
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/tools/ng-clazz.directive.mjs +18 -0
- package/esm2022/{simple-select/option → core-select/displayer}/displayer.directive.mjs +1 -1
- package/esm2022/core-select/displayer/index.mjs +2 -0
- package/esm2022/core-select/input/index.mjs +3 -0
- package/esm2022/core-select/input/select-input.component.mjs +203 -0
- package/esm2022/core-select/input/select-input.models.mjs +60 -0
- package/esm2022/core-select/lucca-front-ng-core-select.mjs +5 -0
- package/esm2022/{simple-select → core-select}/option/default-option.component.mjs +1 -1
- package/esm2022/core-select/option/disabled.directive.mjs +27 -0
- package/esm2022/core-select/option/index.mjs +7 -0
- package/esm2022/core-select/option/option-outlet.directive.mjs +71 -0
- package/esm2022/core-select/option/option.component.mjs +81 -0
- package/esm2022/core-select/option/option.directive.mjs +27 -0
- package/esm2022/core-select/option/option.token.mjs +22 -0
- package/esm2022/core-select/panel/index.mjs +2 -0
- package/esm2022/core-select/panel/panel.models.mjs +23 -0
- package/esm2022/core-select/public-api.mjs +6 -0
- package/esm2022/core-select/select.model.mjs +5 -0
- package/esm2022/date/input/date-input.translate.mjs +21 -21
- package/esm2022/date/select/date-select-input.component.mjs +3 -3
- package/esm2022/date/select/date-select-input.translate.mjs +16 -16
- package/esm2022/department/select/feeder/department-feeder.component.mjs +1 -1
- package/esm2022/department/select/input/department-select-input.component.mjs +3 -3
- package/esm2022/department/service/department-v3.service.mjs +1 -1
- package/esm2022/establishment/select/input/establishment-select-input.component.mjs +3 -3
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.directive.mjs +1 -1
- package/esm2022/establishment/select/searcher/establishment-searcher.component.mjs +1 -1
- package/esm2022/establishment/select/select-all/establishment-select-all.component.mjs +1 -1
- package/esm2022/establishment/service/establishment.service.mjs +1 -1
- package/esm2022/establishment/service/legal-unit.service.mjs +1 -1
- package/esm2022/form-field/form-field-size.mjs +2 -0
- package/esm2022/form-field/form-field.component.mjs +116 -0
- package/esm2022/form-field/input.directive.mjs +22 -0
- package/esm2022/form-field/lucca-front-ng-form-field.mjs +5 -0
- package/esm2022/form-field/public-api.mjs +4 -0
- package/esm2022/formly/types/api.mjs +1 -1
- package/esm2022/forms/abstract-field-component.mjs +25 -0
- package/esm2022/forms/checkboxfield/checkboxfield.component.mjs +41 -0
- package/esm2022/forms/form-field-id.directive.mjs +53 -0
- package/esm2022/forms/inject-ng-control.mjs +25 -0
- package/esm2022/forms/lucca-front-ng-forms.mjs +5 -0
- package/esm2022/forms/noop-value-accessor.directive.mjs +36 -0
- package/esm2022/forms/public-api.mjs +8 -0
- package/esm2022/forms/switchfield/switchfield.component.mjs +40 -0
- package/esm2022/forms/textfield/textfield-addon.mjs +2 -0
- package/esm2022/forms/textfield/textfield.component.mjs +73 -0
- package/esm2022/forms/textfield/textfield.translate.mjs +13 -0
- package/esm2022/icon/icon.component.mjs +27 -0
- package/esm2022/icon/lucca-front-ng-icon.mjs +5 -0
- package/esm2022/icon/public-api.mjs +2 -0
- package/esm2022/inline-message/inline-message-state.mjs +2 -0
- package/esm2022/inline-message/inline-message.component.mjs +15 -4
- package/esm2022/inline-message/public-api.mjs +2 -1
- package/esm2022/input/displayer/input-displayer.directive.mjs +1 -1
- package/esm2022/input/displayer/input-displayer.model.mjs +1 -1
- package/esm2022/multi-select/displayer/default-displayer.component.mjs +155 -0
- package/esm2022/multi-select/displayer/default-displayer.translate.mjs +32 -0
- package/esm2022/multi-select/displayer/displayer.directive.mjs +27 -0
- package/esm2022/multi-select/displayer/index.mjs +3 -0
- package/esm2022/multi-select/input/index.mjs +2 -0
- package/esm2022/multi-select/input/panel-ref.factory.mjs +121 -0
- package/esm2022/multi-select/input/panel.model.mjs +13 -0
- package/esm2022/multi-select/input/select-input.component.mjs +106 -0
- package/esm2022/multi-select/lucca-front-ng-multi-select.mjs +5 -0
- package/esm2022/multi-select/panel/index.mjs +2 -0
- package/esm2022/multi-select/panel/option-selected.pipe.mjs +18 -0
- package/esm2022/multi-select/panel/panel.component.mjs +146 -0
- package/esm2022/multi-select/panel/selected-chip.directive.mjs +27 -0
- package/esm2022/multi-select/public-api.mjs +4 -0
- package/esm2022/multi-select/select.model.mjs +3 -0
- package/esm2022/multi-select/select.translate.mjs +62 -0
- package/esm2022/option/item/option-item.component.mjs +3 -3
- package/esm2022/option/item/tree-option-item.component.mjs +3 -3
- package/esm2022/option/operator/feeder/option-feeder.component.mjs +1 -1
- package/esm2022/option/operator/for-options/for-options.directive.mjs +1 -1
- package/esm2022/option/operator/option-operator.model.mjs +1 -1
- package/esm2022/option/operator/pager/tree-option-pager.component.mjs +1 -1
- package/esm2022/option/picker/option-picker-advanced.component.mjs +1 -1
- package/esm2022/option/picker/option-picker.model.mjs +1 -1
- package/esm2022/option/picker/tree-option-picker-advanced.component.mjs +1 -1
- package/esm2022/option/picker/tree-option-picker.component.mjs +1 -1
- package/esm2022/option/selector/all/select-all.component.mjs +1 -1
- package/esm2022/option/selector/all/tree-select-all.component.mjs +1 -1
- package/esm2022/option/selector/option-selector.model.mjs +1 -1
- package/esm2022/picker/input-picker.model.mjs +1 -1
- package/esm2022/popover/panel/popover-panel.model.mjs +1 -1
- package/esm2022/qualification/select/input/qualification-select-input.component.mjs +3 -3
- package/esm2022/select/input/select-input.component.mjs +2 -2
- package/esm2022/select/input/select-input.model.mjs +1 -1
- package/esm2022/simple-select/api/api-v3.directive.mjs +3 -3
- package/esm2022/simple-select/api/api-v4.directive.mjs +3 -3
- package/esm2022/simple-select/api/api.directive.mjs +3 -3
- package/esm2022/simple-select/input/panel-ref.factory.mjs +5 -4
- package/esm2022/simple-select/input/select-input.component.mjs +26 -189
- package/esm2022/simple-select/panel/index.mjs +1 -2
- package/esm2022/simple-select/panel/panel.component.mjs +6 -7
- package/esm2022/simple-select/public-api.mjs +1 -2
- package/esm2022/simple-select/select.model.mjs +2 -5
- package/esm2022/user/select/homonyms/user-homonyms.service.mjs +1 -1
- package/esm2022/user/select/input/user-select-input.component.mjs +3 -3
- package/esm2022/user/select/me/me-option.directive.mjs +1 -1
- package/esm2022/user/select/searcher/user-searcher.component.mjs +1 -1
- package/esm2022/user/service/user-v3.service.mjs +1 -1
- package/establishment/select/input/establishment-select-input.component.d.ts +2 -2
- package/establishment/select/legal-unit-selector/legal-unit-selector.directive.d.ts +2 -2
- package/establishment/select/searcher/establishment-searcher.component.d.ts +2 -2
- package/establishment/select/select-all/establishment-select-all.component.d.ts +2 -2
- package/establishment/service/establishment.service.d.ts +4 -4
- package/establishment/service/legal-unit.service.d.ts +4 -4
- package/fesm2022/lucca-front-ng-api.mjs +2 -2
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +2 -2
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +537 -0
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-core.mjs +17 -3
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +37 -37
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +2 -2
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +140 -0
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +271 -0
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-icon.mjs +33 -0
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-inline-message.mjs +14 -3
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +669 -0
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-option.mjs +4 -4
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-picker.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-qualification.mjs +2 -2
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select-api.mjs +6 -6
- package/fesm2022/lucca-front-ng-simple-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +34 -517
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/form-field/form-field-size.d.ts +1 -0
- package/form-field/form-field.component.d.ts +39 -0
- package/form-field/index.d.ts +5 -0
- package/form-field/input.directive.d.ts +8 -0
- package/form-field/public-api.d.ts +3 -0
- package/formly/types/api.d.ts +1 -1
- package/forms/abstract-field-component.d.ts +8 -0
- package/forms/checkboxfield/checkboxfield.component.d.ts +18 -0
- package/forms/form-field-id.directive.d.ts +13 -0
- package/forms/index.d.ts +5 -0
- package/forms/inject-ng-control.d.ts +2 -0
- package/forms/noop-value-accessor.directive.d.ts +9 -0
- package/forms/public-api.d.ts +7 -0
- package/forms/switchfield/switchfield.component.d.ts +18 -0
- package/forms/textfield/textfield-addon.d.ts +10 -0
- package/forms/textfield/textfield.component.d.ts +35 -0
- package/forms/textfield/textfield.translate.d.ts +7 -0
- package/icon/icon.component.d.ts +10 -0
- package/icon/index.d.ts +5 -0
- package/icon/public-api.d.ts +1 -0
- package/inline-message/inline-message-state.d.ts +1 -0
- package/inline-message/inline-message.component.d.ts +8 -3
- package/inline-message/public-api.d.ts +1 -0
- package/input/displayer/input-displayer.directive.d.ts +3 -3
- package/input/displayer/input-displayer.model.d.ts +2 -2
- package/multi-select/displayer/default-displayer.component.d.ts +32 -0
- package/multi-select/displayer/default-displayer.translate.d.ts +9 -0
- package/multi-select/displayer/displayer.directive.d.ts +12 -0
- package/multi-select/displayer/index.d.ts +2 -0
- package/multi-select/index.d.ts +5 -0
- package/multi-select/input/index.d.ts +1 -0
- package/multi-select/input/panel-ref.factory.d.ts +22 -0
- package/multi-select/input/panel.model.d.ts +11 -0
- package/multi-select/input/select-input.component.d.ts +26 -0
- package/multi-select/panel/index.d.ts +1 -0
- package/multi-select/panel/option-selected.pipe.d.ts +7 -0
- package/multi-select/panel/panel.component.d.ts +40 -0
- package/multi-select/panel/selected-chip.directive.d.ts +10 -0
- package/multi-select/public-api.d.ts +3 -0
- package/multi-select/select.model.d.ts +15 -0
- package/multi-select/select.translate.d.ts +15 -0
- package/option/operator/feeder/option-feeder.component.d.ts +2 -2
- package/option/operator/for-options/for-options.directive.d.ts +1 -1
- package/option/operator/option-operator.model.d.ts +2 -2
- package/option/operator/pager/tree-option-pager.component.d.ts +2 -2
- package/option/picker/option-picker-advanced.component.d.ts +1 -1
- package/option/picker/option-picker.model.d.ts +5 -5
- package/option/picker/tree-option-picker-advanced.component.d.ts +1 -1
- package/option/picker/tree-option-picker.component.d.ts +2 -2
- package/option/selector/all/select-all.component.d.ts +1 -1
- package/option/selector/all/tree-select-all.component.d.ts +3 -3
- package/option/selector/option-selector.model.d.ts +4 -4
- package/package.json +49 -19
- package/picker/input-picker.model.d.ts +4 -4
- package/popover/panel/popover-panel.model.d.ts +3 -3
- package/qualification/select/input/qualification-select-input.component.d.ts +1 -1
- package/schematics/lib/scss-ast.js +4 -4
- package/select/input/select-input.model.d.ts +8 -8
- package/simple-select/api/api-v3.directive.d.ts +1 -1
- package/simple-select/api/api-v4.directive.d.ts +1 -1
- package/simple-select/api/api.directive.d.ts +2 -2
- package/simple-select/input/panel-ref.factory.d.ts +3 -3
- package/simple-select/input/select-input.component.d.ts +5 -51
- package/simple-select/panel/index.d.ts +0 -1
- package/simple-select/panel/panel.component.d.ts +6 -7
- package/simple-select/public-api.d.ts +0 -1
- package/simple-select/select.model.d.ts +4 -9
- package/src/components/_popup.scss +1 -8
- package/src/definitions/option/_option-item.scss +5 -1
- package/src/definitions/select/_select-input.scss +18 -17
- package/user/select/input/user-select-input.component.d.ts +2 -2
- package/user/select/me/me-option.directive.d.ts +2 -2
- package/user/select/searcher/user-searcher.component.d.ts +2 -2
- package/user/service/user-v3.service.d.ts +2 -2
- package/esm2022/simple-select/input/select-input.models.mjs +0 -60
- package/esm2022/simple-select/option/disabled.directive.mjs +0 -27
- package/esm2022/simple-select/option/index.mjs +0 -6
- package/esm2022/simple-select/option/option-outlet.directive.mjs +0 -71
- package/esm2022/simple-select/option/option.component.mjs +0 -78
- package/esm2022/simple-select/option/option.directive.mjs +0 -27
- package/esm2022/simple-select/option/option.token.mjs +0 -22
- package/esm2022/simple-select/panel/panel.models.mjs +0 -23
- /package/{simple-select → core-select}/input/select-input.models.d.ts +0 -0
- /package/{simple-select → core-select}/option/default-option.component.d.ts +0 -0
- /package/{simple-select → core-select}/option/disabled.directive.d.ts +0 -0
- /package/{simple-select → core-select}/option/option-outlet.directive.d.ts +0 -0
- /package/{simple-select → core-select}/option/option.token.d.ts +0 -0
|
@@ -55,9 +55,9 @@ export declare abstract class ALuPopoverPanel<T = unknown> implements ILuPopover
|
|
|
55
55
|
set contentClasses(cl: string);
|
|
56
56
|
get contentClassesMap(): Record<string, boolean>;
|
|
57
57
|
/** Classes to be passed into the popover's overlay */
|
|
58
|
-
protected _overlayPaneClass: string | string[];
|
|
59
|
-
get overlayPaneClass(): string | string[];
|
|
60
|
-
set overlayPaneClass(opc: string | string[]);
|
|
58
|
+
protected _overlayPaneClass: string | readonly string[];
|
|
59
|
+
get overlayPaneClass(): string | readonly string[];
|
|
60
|
+
set overlayPaneClass(opc: string | readonly string[]);
|
|
61
61
|
protected _keydownEventsSub: Subscription;
|
|
62
62
|
set keydownEvents$(evt$: Observable<KeyboardEvent>);
|
|
63
63
|
close: Observable<void>;
|
|
@@ -13,7 +13,7 @@ export declare class LuQualificationSelectInputComponent<D extends import('../..
|
|
|
13
13
|
protected _viewContainerRef: ViewContainerRef;
|
|
14
14
|
protected _renderer: Renderer2;
|
|
15
15
|
byId: LuOptionComparer<D>;
|
|
16
|
-
filters: string[];
|
|
16
|
+
filters: readonly string[];
|
|
17
17
|
isSearching: boolean;
|
|
18
18
|
intl: import("./qualification-select-input.translate").ILuQualificationSelectInputLabel;
|
|
19
19
|
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
|
|
@@ -80,10 +80,10 @@ function updateCSSClassNamesInRules(root, mappingOldToNew, postScssSelectorParse
|
|
|
80
80
|
/**
|
|
81
81
|
* In sass we can do such a thing:
|
|
82
82
|
* .foo {
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
83
|
+
* padding: {
|
|
84
|
+
* top: 10px;
|
|
85
|
+
* bottom: 10px;
|
|
86
|
+
* }
|
|
87
87
|
* }
|
|
88
88
|
* "padding:" is considered as a rule but its selector cannot be parsed using postScssSelectorParser
|
|
89
89
|
*/
|
|
@@ -20,13 +20,13 @@ export declare abstract class ALuSelectInput<T, TPicker extends ILuPickerPanel<T
|
|
|
20
20
|
/**
|
|
21
21
|
* contriol value accessor interface implementation
|
|
22
22
|
*/
|
|
23
|
-
protected _value: T | T[];
|
|
24
|
-
setValue(value: T | T[]): void;
|
|
25
|
-
get value(): T | T[];
|
|
26
|
-
set value(value: T | T[]);
|
|
27
|
-
writeValue(value: T | T[]): void;
|
|
28
|
-
protected _cvaOnChange: (v: T | T[]) => any;
|
|
29
|
-
registerOnChange(fn: (v: T | T[]) => unknown): void;
|
|
23
|
+
protected _value: T | readonly T[];
|
|
24
|
+
setValue(value: T | readonly T[]): void;
|
|
25
|
+
get value(): T | readonly T[];
|
|
26
|
+
set value(value: T | readonly T[]);
|
|
27
|
+
writeValue(value: T | readonly T[]): void;
|
|
28
|
+
protected _cvaOnChange: (v: T | readonly T[]) => any;
|
|
29
|
+
registerOnChange(fn: (v: T | readonly T[]) => unknown): void;
|
|
30
30
|
protected _onTouched: () => any;
|
|
31
31
|
registerOnTouched(fn: () => unknown): void;
|
|
32
32
|
set disabled(d: boolean);
|
|
@@ -52,7 +52,7 @@ export declare abstract class ALuSelectInput<T, TPicker extends ILuPickerPanel<T
|
|
|
52
52
|
protected useMultipleViews(): boolean;
|
|
53
53
|
protected renderSingleView(): void;
|
|
54
54
|
protected clearDisplay(): void;
|
|
55
|
-
protected getView(value: T | T[]): ViewRef;
|
|
55
|
+
protected getView(value: T | readonly T[]): ViewRef;
|
|
56
56
|
protected displayView(view: ViewRef): void;
|
|
57
57
|
protected renderMultipleViews(): void;
|
|
58
58
|
protected _multiple: boolean;
|
|
@@ -21,5 +21,5 @@ export declare class LuSimpleSelectApiV3Directive<T extends ILuApiItem> extends
|
|
|
21
21
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
22
22
|
protected optionComparer: (a: T, b: T) => boolean;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectApiV3Directive<any>, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuSimpleSelectApiV3Directive<any>, "lu-simple-select[apiV3]", never, { "apiV3": { "alias": "apiV3"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuSimpleSelectApiV3Directive<any>, "lu-simple-select[apiV3],lu-multi-select[apiV3]", never, { "apiV3": { "alias": "apiV3"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
25
|
}
|
|
@@ -18,5 +18,5 @@ export declare class LuSimpleSelectApiV4Directive<T extends ILuApiItem> extends
|
|
|
18
18
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
19
19
|
protected optionComparer: (a: T, b: T) => boolean;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectApiV4Directive<any>, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuSimpleSelectApiV4Directive<any>, "lu-simple-select[apiV4]", never, { "apiV4": { "alias": "apiV4"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuSimpleSelectApiV4Directive<any>, "lu-simple-select[apiV4],lu-multi-select[apiV4]", never, { "apiV4": { "alias": "apiV4"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ALuSelectInputComponent } from '@lucca-front/ng/core-select';
|
|
3
3
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const MAGIC_PAGE_SIZE = 20;
|
|
@@ -8,7 +8,7 @@ export declare abstract class ALuSimpleSelectApiDirective<TOption, TParams = Rec
|
|
|
8
8
|
protected destroy$: Subject<void>;
|
|
9
9
|
protected pageSize: number;
|
|
10
10
|
protected debounceDuration: number;
|
|
11
|
-
protected select:
|
|
11
|
+
protected select: ALuSelectInputComponent<TOption, unknown>;
|
|
12
12
|
protected page$: Observable<number>;
|
|
13
13
|
protected clue$: Observable<string>;
|
|
14
14
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Overlay, OverlayConfig, OverlayPositionBuilder, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
2
2
|
import { ElementRef, Injector } from '@angular/core';
|
|
3
|
-
import { LuSelectPanelRef } from '
|
|
4
|
-
import {
|
|
3
|
+
import { LuSelectPanelRef } from '@lucca-front/ng/core-select';
|
|
4
|
+
import { ILuSimpleSelectPanelData } from '../select.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LuSimpleSelectPanelRefFactory {
|
|
7
7
|
protected overlay: Overlay;
|
|
@@ -9,7 +9,7 @@ export declare class LuSimpleSelectPanelRefFactory {
|
|
|
9
9
|
protected positionBuilder: OverlayPositionBuilder;
|
|
10
10
|
protected scrollStrategies: ScrollStrategyOptions;
|
|
11
11
|
protected parentInjector: Injector;
|
|
12
|
-
buildPanelRef<T>(panelData:
|
|
12
|
+
buildPanelRef<T>(panelData: ILuSimpleSelectPanelData<T>, overlayConfigOverride?: OverlayConfig): LuSelectPanelRef<T, T>;
|
|
13
13
|
protected buildOverlayConfig(overlayConfigOverride?: OverlayConfig): OverlayConfig;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectPanelRefFactory, never>;
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuSimpleSelectPanelRefFactory>;
|
|
@@ -1,58 +1,12 @@
|
|
|
1
|
-
import { OverlayConfig } from '@angular/cdk/overlay';
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef, Type } from '@angular/core';
|
|
3
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import {
|
|
5
|
-
import { LuSelectPanelRef } from '../panel';
|
|
6
|
-
import { LuOptionContext } from '../select.model';
|
|
2
|
+
import { ALuSelectInputComponent, LuSelectPanelRef } from '@lucca-front/ng/core-select';
|
|
7
3
|
import { LuSimpleSelectPanelRefFactory } from './panel-ref.factory';
|
|
8
4
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class LuSimpleSelectInputComponent<T>
|
|
10
|
-
tabindex: number;
|
|
11
|
-
placeholder: string;
|
|
12
|
-
clearable: boolean;
|
|
13
|
-
get searchable(): boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
get isFilled(): boolean;
|
|
16
|
-
get isPanelOpen(): boolean;
|
|
17
|
-
isPanelOpen$: BehaviorSubject<boolean>;
|
|
18
|
-
role: string;
|
|
19
|
-
activeDescendant: string | undefined;
|
|
20
|
-
get ariaControls(): string;
|
|
21
|
-
overlayConfig?: OverlayConfig;
|
|
22
|
-
set loading(value: boolean);
|
|
23
|
-
set options(options: T[]);
|
|
24
|
-
optionComparer: (option1: T, option2: T) => boolean;
|
|
25
|
-
optionTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown>;
|
|
26
|
-
valueTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown>;
|
|
27
|
-
clueChange: EventEmitter<string>;
|
|
28
|
-
nextPage: EventEmitter<void>;
|
|
29
|
-
previousPage: EventEmitter<void>;
|
|
30
|
-
get value(): T;
|
|
31
|
-
protected set value(value: T);
|
|
32
|
-
protected _value?: T;
|
|
33
|
-
options$: ReplaySubject<T[]>;
|
|
34
|
-
loading$: ReplaySubject<boolean>;
|
|
35
|
-
clue: string | null;
|
|
5
|
+
export declare class LuSimpleSelectInputComponent<T> extends ALuSelectInputComponent<T, T> implements ControlValueAccessor {
|
|
36
6
|
intl: import("../select.translate").ILuSimpleSelectLabel;
|
|
37
|
-
protected onChange?: (value: T | null) => void;
|
|
38
|
-
protected onTouched?: () => void;
|
|
39
|
-
protected panelRef?: LuSelectPanelRef<T>;
|
|
40
|
-
onKeydown($event: KeyboardEvent): void;
|
|
41
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
42
|
-
protected overlayContainerRef: HTMLElement;
|
|
43
7
|
protected panelRefFactory: LuSimpleSelectPanelRefFactory;
|
|
44
|
-
protected
|
|
45
|
-
protected
|
|
46
|
-
registerOnChange(onChange: (value: T) => void): void;
|
|
47
|
-
registerOnTouched(onTouched: () => void): void;
|
|
48
|
-
setDisabledState(isDisabled: boolean): void;
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
clearValue(event: MouseEvent): void;
|
|
52
|
-
openPanel(): void;
|
|
53
|
-
closePanel(): void;
|
|
54
|
-
writeValue(value: T): void;
|
|
55
|
-
updateValue(value: T): void;
|
|
8
|
+
protected buildPanelRef(): LuSelectPanelRef<T, T>;
|
|
9
|
+
protected get hasValue(): boolean;
|
|
56
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectInputComponent<any>, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuSimpleSelectInputComponent<any>, "lu-simple-select", never, {
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuSimpleSelectInputComponent<any>, "lu-simple-select", never, {}, {}, never, never, true, never>;
|
|
58
12
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, QueryList } from '@angular/core';
|
|
2
|
-
import { ɵLuOptionComponent } from '
|
|
3
|
-
import {
|
|
4
|
-
import { LuSelectPanelRef } from './panel.models';
|
|
2
|
+
import { LuSelectPanelRef, ɵLuOptionComponent } from '@lucca-front/ng/core-select';
|
|
3
|
+
import { ILuSimpleSelectPanelData } from '../select.model';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class LuSelectPanelComponent<T> implements AfterViewInit {
|
|
7
|
-
protected panelData:
|
|
8
|
-
panelRef: LuSelectPanelRef<T>;
|
|
6
|
+
protected panelData: ILuSimpleSelectPanelData<T>;
|
|
7
|
+
panelRef: LuSelectPanelRef<T, T>;
|
|
9
8
|
selectId: number;
|
|
10
9
|
intl: import("../select.translate").ILuSimpleSelectLabel;
|
|
11
|
-
options$: import("rxjs").Observable<T[]>;
|
|
10
|
+
options$: import("rxjs").Observable<readonly T[]>;
|
|
12
11
|
loading$: import("rxjs").Observable<boolean>;
|
|
13
12
|
optionComparer: (option1: T, option2: T) => boolean;
|
|
14
13
|
initialValue: T | undefined;
|
|
15
|
-
optionTpl: import("@angular/core").Type<unknown> | import("@angular/core").TemplateRef<import("
|
|
14
|
+
optionTpl: import("@angular/core").Type<unknown> | import("@angular/core").TemplateRef<import("@lucca-front/ng/core-select").LuOptionContext<T>>;
|
|
16
15
|
searchable: boolean;
|
|
17
16
|
set searchInput(input: ElementRef<HTMLInputElement> | undefined);
|
|
18
17
|
optionsQL: QueryList<ɵLuOptionComponent<T>>;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { InjectionToken, TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { LuOptionContext } from '@lucca-front/ng/core-select';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
|
-
export interface
|
|
4
|
-
options$: Observable<T[]>;
|
|
4
|
+
export interface ILuSimpleSelectPanelData<T> {
|
|
5
|
+
options$: Observable<readonly T[]>;
|
|
5
6
|
loading$: Observable<boolean>;
|
|
6
7
|
optionComparer: (option1: T, option2: T) => boolean;
|
|
7
8
|
initialValue: T | undefined;
|
|
8
9
|
optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown>;
|
|
9
10
|
searchable: boolean;
|
|
10
11
|
}
|
|
11
|
-
export
|
|
12
|
-
$implicit: T;
|
|
13
|
-
}
|
|
14
|
-
export declare const SELECT_ID: InjectionToken<number>;
|
|
15
|
-
export declare const SELECT_PANEL_DATA: InjectionToken<unknown>;
|
|
16
|
-
export declare const SELECT_LABEL: InjectionToken<HTMLLabelElement>;
|
|
17
|
-
export declare const SELECT_LABEL_ID: InjectionToken<string>;
|
|
12
|
+
export declare const SIMPLE_SELECT_PANEL_DATA: InjectionToken<ILuSimpleSelectPanelData<unknown>>;
|
|
@@ -75,17 +75,10 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.lu-modal-content {
|
|
78
|
-
padding: var(--components-popup-padding-vertical) var(--components-popup-padding-horizontal)
|
|
78
|
+
padding: var(--components-popup-padding-vertical) var(--components-popup-padding-horizontal);
|
|
79
79
|
overflow: auto;
|
|
80
80
|
height: auto;
|
|
81
81
|
|
|
82
|
-
// Trick to force Firefox to have a bottom padding
|
|
83
|
-
&:after {
|
|
84
|
-
content: '';
|
|
85
|
-
display: block;
|
|
86
|
-
padding-bottom: var(--components-popup-padding-vertical);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
82
|
&.mod-noPadding {
|
|
90
83
|
padding: 0;
|
|
91
84
|
|
|
@@ -137,7 +137,11 @@
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
&.is-disabled {
|
|
141
|
+
--components-options-checkbox-border-color: var(--palettes-grey-500);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:not(.is-disabled):hover {
|
|
141
145
|
&::before {
|
|
142
146
|
box-shadow: inset 0 0 0 2px var(--components-options-checkbox-color);
|
|
143
147
|
}
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin selectInputStyle {
|
|
6
6
|
:host {
|
|
7
|
-
--components-select-chip-background: var(--palettes-primary-700);
|
|
8
|
-
--components-select-chip-text: var(--colors-white-color);
|
|
9
7
|
--components-select-input-padding-horizontal: var(--spacings-XS);
|
|
10
8
|
--components-select-input-padding-vertical: var(--spacings-XS);
|
|
11
9
|
--components-select-framed-color: var(--palettes-grey-500);
|
|
@@ -20,8 +18,8 @@
|
|
|
20
18
|
|
|
21
19
|
cursor: pointer;
|
|
22
20
|
outline: none;
|
|
23
|
-
padding: 0
|
|
24
|
-
gap: 0
|
|
21
|
+
padding: 0;
|
|
22
|
+
gap: 0;
|
|
25
23
|
|
|
26
24
|
&::after {
|
|
27
25
|
@include icon.generate('arrow_chevron_bottom');
|
|
@@ -35,21 +33,17 @@
|
|
|
35
33
|
right: var(--components-select-input-padding-horizontal);
|
|
36
34
|
}
|
|
37
35
|
|
|
38
|
-
&[disabled] {
|
|
39
|
-
cursor: not-allowed;
|
|
40
|
-
pointer-events: all;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.is-disabled {
|
|
36
|
+
&[disabled], &.is-disabled {
|
|
44
37
|
cursor: not-allowed;
|
|
45
38
|
pointer-events: all;
|
|
46
39
|
}
|
|
47
40
|
}
|
|
48
41
|
|
|
49
42
|
.lu-select-display-wrapper {
|
|
50
|
-
|
|
43
|
+
display: flex;
|
|
51
44
|
text-overflow: ellipsis;
|
|
52
45
|
white-space: nowrap;
|
|
46
|
+
gap: var(--spacings-XXS);
|
|
53
47
|
}
|
|
54
48
|
|
|
55
49
|
.lu-select-value {
|
|
@@ -86,19 +80,21 @@
|
|
|
86
80
|
}
|
|
87
81
|
|
|
88
82
|
::ng-deep .lu-select-value {
|
|
83
|
+
|
|
84
|
+
lu-simple-select-default-option {
|
|
85
|
+
max-width: 5rem;
|
|
86
|
+
text-overflow: ellipsis;
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
}
|
|
89
|
+
|
|
89
90
|
.label {
|
|
90
91
|
padding: var(--spacings-XXS) var(--spacings-XS);
|
|
91
92
|
margin-left: 0;
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
.chip {
|
|
95
|
-
background-color: var(--components-select-chip-background);
|
|
96
|
-
color: var(--components-select-chip-text);
|
|
97
96
|
vertical-align: baseline;
|
|
98
97
|
max-width: 100%;
|
|
99
|
-
height: var(--sizes-M-lineHeight);
|
|
100
|
-
line-height: var(--sizes-M-lineHeight);
|
|
101
|
-
padding: 0 var(--spacings-XS);
|
|
102
98
|
margin: 0 var(--spacings-XXS) var(--spacings-XXS) 0;
|
|
103
99
|
text-overflow: ellipsis;
|
|
104
100
|
overflow: hidden;
|
|
@@ -112,6 +108,8 @@
|
|
|
112
108
|
|
|
113
109
|
// Small
|
|
114
110
|
:host-context(.textfield.mod-S) {
|
|
111
|
+
padding: 0;
|
|
112
|
+
|
|
115
113
|
.lu-select-value,
|
|
116
114
|
.lu-select-placeholder {
|
|
117
115
|
font-size: var(--sizes-S-fontSize);
|
|
@@ -148,6 +146,9 @@
|
|
|
148
146
|
height: var(--sizes-XS-lineHeight);
|
|
149
147
|
line-height: var(--sizes-XS-lineHeight);
|
|
150
148
|
font-size: var(--sizes-XS-fontSize);
|
|
149
|
+
padding-left: var(--spacings-XXS);
|
|
150
|
+
padding-right: var(--spacings-XXS);
|
|
151
|
+
gap: var(--spacings-XXS);
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
.numericBadge {
|
|
@@ -246,7 +247,7 @@
|
|
|
246
247
|
}
|
|
247
248
|
|
|
248
249
|
.lu-select-display-wrapper {
|
|
249
|
-
overflow:
|
|
250
|
+
overflow: visible;
|
|
250
251
|
white-space: normal;
|
|
251
252
|
margin-bottom: calc(var(--spacings-XXS) * -1);
|
|
252
253
|
}
|
|
@@ -18,10 +18,10 @@ export declare class LuUserSelectInputComponent<U extends import('../../user.mod
|
|
|
18
18
|
searchFormat: LuDisplayFullname;
|
|
19
19
|
set inputPlaceholder(p: string);
|
|
20
20
|
fields: string;
|
|
21
|
-
filters: string[];
|
|
21
|
+
filters: readonly string[];
|
|
22
22
|
orderBy: string;
|
|
23
23
|
appInstanceId: number | string;
|
|
24
|
-
operations: number[];
|
|
24
|
+
operations: readonly number[];
|
|
25
25
|
enableFormerEmployees: boolean;
|
|
26
26
|
clue: string;
|
|
27
27
|
byId: LuOptionComparer<U>;
|
|
@@ -8,10 +8,10 @@ export declare class LuUserMeOptionDirective<U extends ILuUser = ILuUser> implem
|
|
|
8
8
|
private _vcr;
|
|
9
9
|
private _templateRef;
|
|
10
10
|
set luUserMeOptionFields(fields: string);
|
|
11
|
-
set luUserMeOptionFilters(filters: string[]);
|
|
11
|
+
set luUserMeOptionFilters(filters: readonly string[]);
|
|
12
12
|
set luUserMeOptionOrderBy(orderBy: string);
|
|
13
13
|
set luUserMeOptionAppInstanceId(appInstanceId: number | string);
|
|
14
|
-
set luUserMeOptionOperations(operations: number[]);
|
|
14
|
+
set luUserMeOptionOperations(operations: readonly number[]);
|
|
15
15
|
set luUserMeOptionClue(clue: string);
|
|
16
16
|
set inOptions$(in$: Observable<U[]>);
|
|
17
17
|
outOptions$: Observable<U[]>;
|
|
@@ -11,10 +11,10 @@ export declare class LuUserPagedSearcherComponent<U extends ILuUser = ILuUser> i
|
|
|
11
11
|
fixed: boolean;
|
|
12
12
|
searchInput: ElementRef<HTMLInputElement>;
|
|
13
13
|
set fields(fields: string);
|
|
14
|
-
set filters(filters: string[]);
|
|
14
|
+
set filters(filters: readonly string[]);
|
|
15
15
|
set orderBy(orderBy: string);
|
|
16
16
|
set appInstanceId(appInstanceId: number | string);
|
|
17
|
-
set operations(operations: number[]);
|
|
17
|
+
set operations(operations: readonly number[]);
|
|
18
18
|
enableFormerEmployees: boolean;
|
|
19
19
|
clueChange: Observable<string>;
|
|
20
20
|
form: FormGroup;
|
|
@@ -8,8 +8,8 @@ export declare class LuUserV3Service<U extends ILuUser = ILuUser> extends LuApiV
|
|
|
8
8
|
protected _http: HttpClient;
|
|
9
9
|
protected _appInstanceId: number | string;
|
|
10
10
|
set appInstanceId(appInstanceId: number | string);
|
|
11
|
-
protected _operations: number[];
|
|
12
|
-
set operations(operations: number[]);
|
|
11
|
+
protected _operations: readonly number[];
|
|
12
|
+
set operations(operations: readonly number[]);
|
|
13
13
|
constructor(_http: HttpClient);
|
|
14
14
|
getMe(): Observable<U>;
|
|
15
15
|
get url(): string;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
2
|
-
import { Platform } from '@angular/cdk/platform';
|
|
3
|
-
import { DOCUMENT } from '@angular/common';
|
|
4
|
-
import { ElementRef, inject, Injectable } from '@angular/core';
|
|
5
|
-
import { SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID } from '../select.model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
let selectId = 0;
|
|
8
|
-
function selectIdFactory() {
|
|
9
|
-
return selectId++;
|
|
10
|
-
}
|
|
11
|
-
function selectLabelFactory() {
|
|
12
|
-
const elementRef = inject(ElementRef);
|
|
13
|
-
function getLabel(node) {
|
|
14
|
-
if (node instanceof HTMLLabelElement) {
|
|
15
|
-
return node;
|
|
16
|
-
}
|
|
17
|
-
if (!node.parentElement) {
|
|
18
|
-
return undefined;
|
|
19
|
-
}
|
|
20
|
-
return getLabel(node.parentElement);
|
|
21
|
-
}
|
|
22
|
-
return getLabel(elementRef.nativeElement);
|
|
23
|
-
}
|
|
24
|
-
function selectLabelIdFactory() {
|
|
25
|
-
return inject(SELECT_LABEL)?.id || `lu-select-label-${inject(SELECT_ID)}`;
|
|
26
|
-
}
|
|
27
|
-
export function provideLuSelectLabelsAndIds() {
|
|
28
|
-
return [
|
|
29
|
-
{ provide: SELECT_ID, useFactory: selectIdFactory },
|
|
30
|
-
{ provide: SELECT_LABEL, useFactory: selectLabelFactory },
|
|
31
|
-
{ provide: SELECT_LABEL_ID, useFactory: selectLabelIdFactory },
|
|
32
|
-
];
|
|
33
|
-
}
|
|
34
|
-
class LuSelectOverlayContainer extends OverlayContainer {
|
|
35
|
-
constructor() {
|
|
36
|
-
super(inject(DOCUMENT), inject(Platform));
|
|
37
|
-
this.selectLabelId = inject(SELECT_LABEL_ID);
|
|
38
|
-
this.selectId = inject(SELECT_ID);
|
|
39
|
-
}
|
|
40
|
-
_createContainer() {
|
|
41
|
-
super._createContainer();
|
|
42
|
-
this._containerElement.setAttribute('aria-labelledby', this.selectLabelId);
|
|
43
|
-
this._containerElement.setAttribute('role', 'listbox');
|
|
44
|
-
this._containerElement.id = `lu-select-overlay-container-${this.selectId}`;
|
|
45
|
-
}
|
|
46
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuSelectOverlayContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
47
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuSelectOverlayContainer }); }
|
|
48
|
-
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuSelectOverlayContainer, decorators: [{
|
|
50
|
-
type: Injectable
|
|
51
|
-
}], ctorParameters: function () { return []; } });
|
|
52
|
-
export function provideLuSelectOverlayContainer() {
|
|
53
|
-
return [
|
|
54
|
-
{
|
|
55
|
-
provide: OverlayContainer,
|
|
56
|
-
useClass: LuSelectOverlayContainer,
|
|
57
|
-
},
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LWlucHV0Lm1vZGVscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL3NpbXBsZS1zZWxlY3QvaW5wdXQvc2VsZWN0LWlucHV0Lm1vZGVscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN4RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDakQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxVQUFVLEV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YXJpYS1sYWJlbGxlZGJ5JywgdGhpcy5zZWxlY3RMYWJlbElkKTtcclxuXHRcdHRoaXMuX2NvbnRhaW5lckVsZW1lbnQuc2V0QXR0cmlidXRlKCdyb2xlJywgJ2xpc3Rib3gnKTtcclxuXHRcdHRoaXMuX2NvbnRhaW5lckVsZW1lbnQuaWQgPSBgbHUtc2VsZWN0LW92ZXJsYXktY29udGFpbmVyLSR7dGhpcy5zZWxlY3RJZH1gO1xyXG5cdH1cclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIHByb3ZpZGVMdVNlbGVjdE92ZXJsYXlDb250YWluZXIoKTogUHJvdmlkZXJbXSB7XHJcblx0cmV0dXJuIFtcclxuXHRcdHtcclxuXHRcdFx0cHJvdmlkZTogT3ZlcmxheUNvbnRhaW5lcixcclxuXHRcdFx0dXNlQ2xhc3M6IEx1U2VsZWN0T3ZlcmxheUNvbnRhaW5lcixcclxuXHRcdH0sXHJcblx0XTtcclxufVxyXG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Directive, inject, Input } from '@angular/core';
|
|
2
|
-
import { LU_OPTION_CONTEXT } from './option.token';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
class LuDisabledOptionDirective {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.context = inject(LU_OPTION_CONTEXT);
|
|
7
|
-
}
|
|
8
|
-
set isDisabled(disabled) {
|
|
9
|
-
if (disabled !== null) {
|
|
10
|
-
this.context.isDisabled$.next(disabled);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuDisabledOptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: LuDisabledOptionDirective, isStandalone: true, selector: "[luDisabledOption]", inputs: { isDisabled: ["luDisabledOption", "isDisabled"] }, ngImport: i0 }); }
|
|
15
|
-
}
|
|
16
|
-
export { LuDisabledOptionDirective };
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuDisabledOptionDirective, decorators: [{
|
|
18
|
-
type: Directive,
|
|
19
|
-
args: [{
|
|
20
|
-
selector: '[luDisabledOption]',
|
|
21
|
-
standalone: true,
|
|
22
|
-
}]
|
|
23
|
-
}], propDecorators: { isDisabled: [{
|
|
24
|
-
type: Input,
|
|
25
|
-
args: ['luDisabledOption']
|
|
26
|
-
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZWQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbmcvc2ltcGxlLXNlbGVjdC9vcHRpb24vZGlzYWJsZWQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7QUFFbkQsTUFJYSx5QkFBeUI7SUFKdEM7UUFLUyxZQUFPLEdBQUcsTUFBTSxDQUFDLGlCQUFpQixDQUFDLENBQUM7S0FPNUM7SUFMQSxJQUFzQyxVQUFVLENBQUMsUUFBd0I7UUFDeEUsSUFBSSxRQUFRLEtBQUssSUFBSSxFQUFFO1lBQ3RCLElBQUksQ0FBQyxPQUFPLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztTQUN4QztJQUNGLENBQUM7OEdBUFcseUJBQXlCO2tHQUF6Qix5QkFBeUI7O1NBQXpCLHlCQUF5QjsyRkFBekIseUJBQXlCO2tCQUpyQyxTQUFTO21CQUFDO29CQUNWLFFBQVEsRUFBRSxvQkFBb0I7b0JBQzlCLFVBQVUsRUFBRSxJQUFJO2lCQUNoQjs4QkFJc0MsVUFBVTtzQkFBL0MsS0FBSzt1QkFBQyxrQkFBa0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIGluamVjdCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgTFVfT1BUSU9OX0NPTlRFWFQgfSBmcm9tICcuL29wdGlvbi50b2tlbic7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuXHRzZWxlY3RvcjogJ1tsdURpc2FibGVkT3B0aW9uXScsXHJcblx0c3RhbmRhbG9uZTogdHJ1ZSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEx1RGlzYWJsZWRPcHRpb25EaXJlY3RpdmUge1xyXG5cdHByaXZhdGUgY29udGV4dCA9IGluamVjdChMVV9PUFRJT05fQ09OVEVYVCk7XHJcblxyXG5cdEBJbnB1dCgnbHVEaXNhYmxlZE9wdGlvbicpIHB1YmxpYyBzZXQgaXNEaXNhYmxlZChkaXNhYmxlZDogYm9vbGVhbiB8IG51bGwpIHtcclxuXHRcdGlmIChkaXNhYmxlZCAhPT0gbnVsbCkge1xyXG5cdFx0XHR0aGlzLmNvbnRleHQuaXNEaXNhYmxlZCQubmV4dChkaXNhYmxlZCk7XHJcblx0XHR9XHJcblx0fVxyXG59XHJcbiJdfQ==
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './default-option.component';
|
|
2
|
-
export * from './disabled.directive';
|
|
3
|
-
export * from './displayer.directive';
|
|
4
|
-
export { LuOptionComponent as ɵLuOptionComponent } from './option.component';
|
|
5
|
-
export * from './option.directive';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9zaW1wbGUtc2VsZWN0L29wdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxPQUFPLEVBQUUsaUJBQWlCLElBQUksa0JBQWtCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUM3RSxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kZWZhdWx0LW9wdGlvbi5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2Rpc2FibGVkLmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGlzcGxheWVyLmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCB7IEx1T3B0aW9uQ29tcG9uZW50IGFzIMm1THVPcHRpb25Db21wb25lbnQgfSBmcm9tICcuL29wdGlvbi5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL29wdGlvbi5kaXJlY3RpdmUnO1xyXG4iXX0=
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Directive, inject, Injector, Input, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { LU_OPTION_CONTEXT, provideOptionContext } from './option.token';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
class LuOptionOutletDirective {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.viewContainerRef = inject(ViewContainerRef);
|
|
7
|
-
this.injector = inject(Injector);
|
|
8
|
-
this.optionContext = inject(LU_OPTION_CONTEXT);
|
|
9
|
-
}
|
|
10
|
-
ngOnChanges(changes) {
|
|
11
|
-
if (changes['luOptionOutlet'] || !this.luOptionOutletValue) {
|
|
12
|
-
this.clearContainer();
|
|
13
|
-
}
|
|
14
|
-
const hasRef = this.embeddedViewRef || this.componentRef;
|
|
15
|
-
if (changes['luOptionOutlet'] || (changes['luOptionOutletValue'] && !hasRef)) {
|
|
16
|
-
this.createComponent();
|
|
17
|
-
}
|
|
18
|
-
else if (changes['luOptionOutletValue']) {
|
|
19
|
-
this.updateRefValue();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
ngOnDestroy() {
|
|
23
|
-
this.optionContext.destroy();
|
|
24
|
-
}
|
|
25
|
-
clearContainer() {
|
|
26
|
-
this.viewContainerRef.clear();
|
|
27
|
-
this.embeddedViewRef?.destroy();
|
|
28
|
-
this.componentRef?.destroy();
|
|
29
|
-
this.embeddedViewRef = undefined;
|
|
30
|
-
this.componentRef = undefined;
|
|
31
|
-
}
|
|
32
|
-
createComponent() {
|
|
33
|
-
if (!this.luOptionOutlet || !this.luOptionOutletValue) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
if (this.luOptionOutlet instanceof TemplateRef) {
|
|
37
|
-
this.embeddedViewRef = this.viewContainerRef.createEmbeddedView(this.luOptionOutlet, { $implicit: this.luOptionOutletValue }, { injector: this.injector });
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
this.optionContext.option$.next(this.luOptionOutletValue);
|
|
41
|
-
this.componentRef = this.viewContainerRef.createComponent(this.luOptionOutlet, { injector: this.injector });
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
updateRefValue() {
|
|
45
|
-
if (!this.luOptionOutletValue) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (this.embeddedViewRef) {
|
|
49
|
-
this.embeddedViewRef.context = { $implicit: this.luOptionOutletValue };
|
|
50
|
-
}
|
|
51
|
-
else if (this.componentRef) {
|
|
52
|
-
this.optionContext.option$.next(this.luOptionOutletValue);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuOptionOutletDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
56
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: LuOptionOutletDirective, isStandalone: true, selector: "[luOptionOutlet]", inputs: { luOptionOutlet: "luOptionOutlet", luOptionOutletValue: "luOptionOutletValue" }, providers: [provideOptionContext()], usesOnChanges: true, ngImport: i0 }); }
|
|
57
|
-
}
|
|
58
|
-
export { LuOptionOutletDirective };
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuOptionOutletDirective, decorators: [{
|
|
60
|
-
type: Directive,
|
|
61
|
-
args: [{
|
|
62
|
-
selector: '[luOptionOutlet]',
|
|
63
|
-
standalone: true,
|
|
64
|
-
providers: [provideOptionContext()],
|
|
65
|
-
}]
|
|
66
|
-
}], propDecorators: { luOptionOutlet: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], luOptionOutletValue: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}] } });
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uLW91dGxldC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9zaW1wbGUtc2VsZWN0L29wdGlvbi9vcHRpb24tb3V0bGV0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLFNBQVMsRUFBbUIsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQXVDLFdBQVcsRUFBUSxnQkFBZ0IsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU1SyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsb0JBQW9CLEVBQUUsTUFB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