@lucca-front/ng 21.0.3 → 21.1.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/fesm2022/lucca-front-ng-a11y.mjs +8 -8
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +56 -88
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- 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 +10 -10
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +51 -0
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +135 -0
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-button.mjs +3 -3
- package/fesm2022/lucca-front-ng-callout.mjs +28 -28
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +8 -8
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +8 -8
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +3 -3
- package/fesm2022/lucca-front-ng-color.mjs +28 -0
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-comment.mjs +9 -9
- package/fesm2022/lucca-front-ng-container.mjs +4 -4
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- 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 +28 -28
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +117 -96
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +28 -16
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +29 -29
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +102 -135
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +78 -60
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +31 -47
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +60 -37
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- 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 +56 -14
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +43 -107
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-file-upload.mjs +67 -44
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +30 -29
- 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 +86 -17
- 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 +21 -7
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +58 -58
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +15 -13
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +117 -100
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +194 -79
- 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 +7 -7
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- 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 +27 -27
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +21 -15
- 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 +7 -7
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +8 -8
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +22 -22
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +62 -62
- 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 +327 -437
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
- package/fesm2022/lucca-front-ng-pagination.mjs +7 -7
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +7 -7
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +18 -50
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +20 -20
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- 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 +25 -23
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +13 -13
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- 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 +40 -25
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +22 -22
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- 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-text-flow.mjs +20 -0
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-time.mjs +72 -33
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +10 -10
- package/fesm2022/lucca-front-ng-toast.mjs +14 -14
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +27 -41
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +6 -6
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +23 -23
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +75 -91
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
- package/package.json +19 -3
- package/schematics/action-icon/index.js +4 -5
- package/schematics/action-icon/migration.js +3 -4
- package/schematics/action-icon/migration.spec.js +8 -8
- package/schematics/alignment-utilities/index.js +3 -4
- package/schematics/alignment-utilities/migration.spec.js +8 -8
- package/schematics/cdn-urls/index.js +3 -4
- package/schematics/cdn-urls/migration.js +7 -9
- package/schematics/cdn-urls/migration.spec.js +8 -8
- package/schematics/class-prefix/index.js +3 -4
- package/schematics/class-prefix/migration.spec.js +8 -8
- package/schematics/collection.json +10 -0
- package/schematics/color-text/index.js +3 -4
- package/schematics/color-text/migration.spec.js +8 -8
- package/schematics/component-path/index.js +3 -4
- package/schematics/component-path/migration.spec.js +8 -8
- package/schematics/empty-state-title/index.js +5 -7
- package/schematics/empty-state-title/migration.spec.js +5 -5
- package/schematics/lib/index.js +29 -0
- package/schematics/lib/local-deps/package-lock.json +2 -0
- package/schematics/lib/local-deps/package.json +1 -2
- package/schematics/lib/schematic.utils.js +5 -0
- package/schematics/lu-button/index.js +3 -4
- package/schematics/lu-button/migration.js +5 -11
- package/schematics/lu-button/migration.spec.js +5 -5
- package/schematics/lu-container/index.js +23 -0
- package/schematics/lu-container/migration.js +116 -0
- package/schematics/lu-container/migration.spec.js +23 -0
- package/schematics/lu-container/schema.json +23 -0
- package/schematics/lu-icon/index.js +3 -4
- package/schematics/lu-icon/migration.js +8 -14
- package/schematics/lu-icon/migration.spec.js +5 -5
- package/schematics/lu-loading/index.js +23 -0
- package/schematics/lu-loading/migration.js +136 -0
- package/schematics/lu-loading/migration.spec.js +23 -0
- package/schematics/lu-loading/schema.json +28 -0
- package/schematics/lu-select/index.js +3 -4
- package/schematics/lu-select/migration.js +18 -21
- package/schematics/lu-select/migration.spec.js +5 -5
- package/schematics/lu-select/util.js +17 -19
- package/schematics/lu-text-input/index.js +3 -4
- package/schematics/lu-text-input/migration.js +22 -28
- package/schematics/lu-text-input/migration.spec.js +5 -5
- package/schematics/new-icons/index.js +5 -6
- package/schematics/new-icons/migration.js +11 -16
- package/schematics/new-icons/migration.spec.js +8 -8
- package/schematics/palettes/index.js +3 -4
- package/schematics/palettes/migration.spec.js +8 -8
- package/schematics/tokens-radius/index.js +3 -4
- package/schematics/tokens-radius/migration.spec.js +8 -8
- package/schematics/tokens-spacing/index.js +3 -4
- package/schematics/tokens-spacing/migration.spec.js +8 -8
- package/schematics/tokens-typo/index.js +3 -4
- package/schematics/tokens-typo/migration.spec.js +8 -8
- package/types/lucca-front-ng-a11y.d.ts +3 -3
- package/types/lucca-front-ng-api.d.ts +1 -19
- package/types/lucca-front-ng-breadcrumbs.d.ts +9 -9
- package/types/lucca-front-ng-bubble-icon.d.ts +20 -0
- package/types/lucca-front-ng-bubble-illustration.d.ts +24 -0
- package/types/lucca-front-ng-callout.d.ts +2 -2
- package/types/lucca-front-ng-chip.d.ts +2 -2
- package/types/lucca-front-ng-clear.d.ts +2 -2
- package/types/lucca-front-ng-color.d.ts +12 -0
- package/types/lucca-front-ng-core-select.d.ts +84 -78
- package/types/lucca-front-ng-core.d.ts +23 -2
- package/types/lucca-front-ng-data-table.d.ts +2 -2
- package/types/lucca-front-ng-date.d.ts +6 -24
- package/types/lucca-front-ng-date2.d.ts +8 -6
- package/types/lucca-front-ng-department.d.ts +3 -12
- package/types/lucca-front-ng-dialog.d.ts +12 -5
- package/types/lucca-front-ng-empty-state.d.ts +6 -4
- package/types/lucca-front-ng-establishment.d.ts +3 -39
- package/types/lucca-front-ng-file-upload.d.ts +18 -8
- package/types/lucca-front-ng-filter-pills.d.ts +6 -5
- package/types/lucca-front-ng-form-field.d.ts +35 -5
- package/types/lucca-front-ng-form.d.ts +9 -5
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +1 -0
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +16 -16
- package/types/lucca-front-ng-forms.d.ts +51 -12
- package/types/lucca-front-ng-input.d.ts +2 -2
- package/types/lucca-front-ng-link.d.ts +4 -5
- package/types/lucca-front-ng-mobile-push.d.ts +2 -2
- package/types/lucca-front-ng-multi-select.d.ts +26 -24
- package/types/lucca-front-ng-option.d.ts +86 -149
- package/types/lucca-front-ng-pagination.d.ts +2 -2
- package/types/lucca-front-ng-plg-push.d.ts +2 -2
- package/types/lucca-front-ng-popover.d.ts +1 -20
- package/types/lucca-front-ng-popover2.d.ts +4 -4
- package/types/lucca-front-ng-read-more.d.ts +9 -9
- package/types/lucca-front-ng-simple-select.d.ts +5 -4
- package/types/lucca-front-ng-text-flow.d.ts +8 -0
- package/types/lucca-front-ng-time.d.ts +22 -16
- package/types/lucca-front-ng-toast.d.ts +2 -2
- package/types/lucca-front-ng-tooltip.d.ts +7 -14
- package/types/lucca-front-ng-user-popover.d.ts +6 -7
- package/types/lucca-front-ng-user.d.ts +6 -15
|
@@ -1,8 +1,7 @@
|
|
|
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';
|
|
5
|
-
import * as _lucca_front_ng_core_select from '@lucca-front/ng/core-select';
|
|
6
5
|
import { OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
|
|
7
6
|
import { ControlValueAccessor } from '@angular/forms';
|
|
8
7
|
import { PortalContent, LuTranslation } from '@lucca-front/ng/core';
|
|
@@ -22,15 +21,15 @@ declare class LuSimpleSelectDefaultOptionComponent {
|
|
|
22
21
|
context: ILuOptionContext<{
|
|
23
22
|
name?: string;
|
|
24
23
|
}>;
|
|
25
|
-
static ɵfac:
|
|
26
|
-
static ɵcmp:
|
|
24
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSimpleSelectDefaultOptionComponent, never>;
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-simple-select-default-option", never, {}, {}, never, never, true, never>;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
declare class LuDisabledOptionDirective {
|
|
30
29
|
private context;
|
|
31
30
|
set isDisabled(disabled: boolean | null);
|
|
32
|
-
static ɵfac:
|
|
33
|
-
static ɵdir:
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
|
|
32
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisabledOptionDirective, "[luDisabledOption]", never, { "isDisabled": { "alias": "luDisabledOption"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
interface LuOptionContext<T> {
|
|
@@ -55,8 +54,8 @@ declare const CORE_SELECT_API_TOTAL_COUNT_PROVIDER: InjectionToken<CoreSelectApi
|
|
|
55
54
|
declare abstract class ɵIsSelectedStrategy<TOption> {
|
|
56
55
|
abstract isSelected(option: TOption, selectedOptions: TOption[], optionComparer: LuOptionComparer<TOption>): boolean;
|
|
57
56
|
abstract isGroupSelected(options: TOption[], notSelectedOptions: TOption[]): boolean;
|
|
58
|
-
static ɵfac:
|
|
59
|
-
static ɵprov:
|
|
57
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ɵIsSelectedStrategy<any>, never>;
|
|
58
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ɵIsSelectedStrategy<any>>;
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
interface LuOptionGrouping<TOption, TGroup> {
|
|
@@ -69,8 +68,8 @@ declare class LuOptionGroupDirective<TOption, TValue, TGroup> implements LuOptio
|
|
|
69
68
|
readonly content: TemplateRef<LuOptionGroupByContext<TOption, TGroup>>;
|
|
70
69
|
static ngTemplateContextGuard<TOption, TValue, TGroup>(_dir: LuOptionGroupDirective<TOption, TValue, TGroup>, ctx: unknown): ctx is LuOptionGroupByContext<TOption, TGroup>;
|
|
71
70
|
ngOnInit(): void;
|
|
72
|
-
static ɵfac:
|
|
73
|
-
static ɵdir:
|
|
71
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupDirective<any, any, any>, never>;
|
|
72
|
+
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
73
|
}
|
|
75
74
|
|
|
76
75
|
/**
|
|
@@ -80,8 +79,8 @@ declare function generateGroups<T, TGroup>(options: T[], selector: (option: T) =
|
|
|
80
79
|
declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
|
|
81
80
|
transform(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
|
|
82
81
|
transform(options: T, selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>;
|
|
83
|
-
static ɵfac:
|
|
84
|
-
static ɵpipe:
|
|
82
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupPipe<any, any>, never>;
|
|
83
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuOptionGroupPipe<any, any>, "luOptionGroup", true>;
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
declare class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {
|
|
@@ -99,8 +98,8 @@ declare class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {
|
|
|
99
98
|
private createComponent;
|
|
100
99
|
private updateRefValue;
|
|
101
100
|
static ngTemplateContextGuard<T>(_dir: LuOptionOutletDirective<T>, ctx: unknown): ctx is void;
|
|
102
|
-
static ɵfac:
|
|
103
|
-
static ɵdir:
|
|
101
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionOutletDirective<any>, never>;
|
|
102
|
+
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
103
|
}
|
|
105
104
|
|
|
106
105
|
interface OptionTranslate {
|
|
@@ -118,36 +117,36 @@ declare function getGroupTemplateLocation(hasGrouping$: Observable<boolean>, clu
|
|
|
118
117
|
declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
119
118
|
#private;
|
|
120
119
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
121
|
-
id:
|
|
122
|
-
elementId:
|
|
123
|
-
idAttribute:
|
|
124
|
-
isSelected:
|
|
125
|
-
option:
|
|
126
|
-
isHighlighted:
|
|
127
|
-
selected:
|
|
120
|
+
id: _angular_core.WritableSignal<string>;
|
|
121
|
+
elementId: _angular_core.InputSignal<string>;
|
|
122
|
+
idAttribute: _angular_core.Signal<string>;
|
|
123
|
+
isSelected: _angular_core.ModelSignal<boolean>;
|
|
124
|
+
option: _angular_core.InputSignal<T>;
|
|
125
|
+
isHighlighted: _angular_core.WritableSignal<boolean>;
|
|
126
|
+
selected: _angular_core.OutputEmitterRef<void>;
|
|
128
127
|
disabled: boolean;
|
|
129
128
|
constructor();
|
|
130
129
|
ngOnDestroy(): void;
|
|
131
130
|
setActiveStyles(): void;
|
|
132
131
|
setInactiveStyles(): void;
|
|
133
|
-
static ɵfac:
|
|
134
|
-
static ɵdir:
|
|
132
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectPanelElement<any>, never>;
|
|
133
|
+
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
134
|
}
|
|
136
135
|
|
|
137
136
|
declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
138
137
|
protected selectableItem: CoreSelectPanelElement<any>;
|
|
139
|
-
protected intl: OptionTranslate
|
|
138
|
+
protected intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
|
|
140
139
|
hasOptionItemClass: boolean;
|
|
141
140
|
optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;
|
|
142
141
|
option?: T;
|
|
143
142
|
grouping?: LuOptionGrouping<T, unknown>;
|
|
144
|
-
hasChildren:
|
|
145
|
-
onlyParent:
|
|
146
|
-
onlyChildren:
|
|
147
|
-
groupIndex:
|
|
148
|
-
optionIndex:
|
|
143
|
+
hasChildren: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
144
|
+
onlyParent: _angular_core.OutputEmitterRef<void>;
|
|
145
|
+
onlyChildren: _angular_core.OutputEmitterRef<void>;
|
|
146
|
+
groupIndex: _angular_core.InputSignal<number>;
|
|
147
|
+
optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
149
148
|
scrollIntoViewOptions: ScrollIntoViewOptions;
|
|
150
|
-
groupTemplateLocation:
|
|
149
|
+
groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
|
|
151
150
|
private optionContext?;
|
|
152
151
|
private cdr;
|
|
153
152
|
private subscription?;
|
|
@@ -159,8 +158,8 @@ declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
|
159
158
|
ngOnDestroy(): void;
|
|
160
159
|
ngAfterViewInit(): void;
|
|
161
160
|
selectOption($event: Event): void;
|
|
162
|
-
static ɵfac:
|
|
163
|
-
static ɵcmp:
|
|
161
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
|
|
162
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "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
163
|
}
|
|
165
164
|
|
|
166
165
|
declare class LuOptionDirective<TOption, TValue> {
|
|
@@ -168,8 +167,8 @@ declare class LuOptionDirective<TOption, TValue> {
|
|
|
168
167
|
set select(select: ALuSelectInputComponent<TOption, TValue>);
|
|
169
168
|
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
170
169
|
static ngTemplateContextGuard<TOption, TValue>(_dir: LuOptionDirective<TOption, TValue>, ctx: unknown): ctx is LuOptionContext<TOption>;
|
|
171
|
-
static ɵfac:
|
|
172
|
-
static ɵdir:
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionDirective<any, any>, never>;
|
|
171
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionDirective<any, any>, "[luOption]", never, { "select": { "alias": "luOptionSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
interface CoreSelectKeyManagerOptions<T> {
|
|
@@ -187,17 +186,17 @@ declare class CoreSelectKeyManager<T> {
|
|
|
187
186
|
get activeItemIndex(): number;
|
|
188
187
|
setActiveItem(index: number): void;
|
|
189
188
|
highlightOption(option: T): void;
|
|
190
|
-
static ɵfac:
|
|
191
|
-
static ɵprov:
|
|
189
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectKeyManager<any>, never>;
|
|
190
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
|
|
192
191
|
}
|
|
193
192
|
|
|
194
193
|
declare class LuCoreSelectPanelHeaderDirective {
|
|
195
194
|
readonly templateRef: TemplateRef<void>;
|
|
196
|
-
readonly select:
|
|
195
|
+
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<unknown, unknown> | ALuSelectInputComponent<unknown, unknown[]>>;
|
|
197
196
|
constructor();
|
|
198
197
|
static ngTemplateContextGuard(_dir: LuCoreSelectPanelHeaderDirective, ctx: unknown): ctx is void;
|
|
199
|
-
static ɵfac:
|
|
200
|
-
static ɵdir:
|
|
198
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectPanelHeaderDirective, never>;
|
|
199
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectPanelHeaderDirective, "[luSelectPanelHeader]", never, { "select": { "alias": "luSelectPanelHeader"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
201
200
|
}
|
|
202
201
|
|
|
203
202
|
declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
@@ -220,6 +219,12 @@ interface CoreSelectPanelInstance<T = unknown> {
|
|
|
220
219
|
}
|
|
221
220
|
declare const SELECT_PANEL_INSTANCE: InjectionToken<CoreSelectPanelInstance<unknown>>;
|
|
222
221
|
|
|
222
|
+
declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectLabel>>;
|
|
223
|
+
interface LuCoreSelectLabel {
|
|
224
|
+
addOption: string;
|
|
225
|
+
}
|
|
226
|
+
declare const luCoreSelectTranslations: LuTranslation<LuCoreSelectLabel>;
|
|
227
|
+
|
|
223
228
|
type TreeGroupingFn<T> = (value: T, array: T[]) => T | null;
|
|
224
229
|
interface TreeNode<T> {
|
|
225
230
|
node: T;
|
|
@@ -239,25 +244,29 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
239
244
|
protected overlayContainerRef: HTMLElement;
|
|
240
245
|
protected labelElement: HTMLElement | undefined;
|
|
241
246
|
protected labelId: string;
|
|
242
|
-
protected
|
|
247
|
+
protected abstract intl: Signal<LuCoreSelectLabel>;
|
|
243
248
|
protected filterPillHost: _lucca_front_ng_filter_pills.FilterPillComponent;
|
|
244
249
|
protected afterCloseFn?: () => void;
|
|
245
250
|
protected updatePositionFn?: () => void;
|
|
246
251
|
protected filterPillMode: boolean;
|
|
252
|
+
ignorePresentation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
247
253
|
selectParent$?: Subject<void>;
|
|
248
254
|
selectChildren$?: Subject<void>;
|
|
249
|
-
panelClosed:
|
|
250
|
-
panelOpened:
|
|
255
|
+
panelClosed: _angular_core.OutputEmitterRef<void>;
|
|
256
|
+
panelOpened: _angular_core.OutputEmitterRef<void>;
|
|
257
|
+
highlightedOption: _angular_core.OutputEmitterRef<TOption>;
|
|
251
258
|
private inputElementRef;
|
|
252
259
|
placeholder$: BehaviorSubject<string>;
|
|
253
260
|
disabled$: BehaviorSubject<boolean>;
|
|
254
|
-
filterPillDisabled:
|
|
255
|
-
prefix:
|
|
261
|
+
filterPillDisabled: Signal<boolean>;
|
|
262
|
+
prefix: _angular_core.InputSignal<PortalContent>;
|
|
256
263
|
set placeholder(value: string);
|
|
257
264
|
set clearable(value: boolean);
|
|
258
265
|
get clearable(): boolean;
|
|
259
266
|
get searchable(): boolean;
|
|
260
|
-
|
|
267
|
+
protected computedAddOptionLabel: Signal<PortalContent>;
|
|
268
|
+
set addOptionLabel(label: PortalContent);
|
|
269
|
+
get addOptionLabel(): PortalContent;
|
|
261
270
|
set addOptionStrategy(strategy: CoreSelectAddOptionStrategy);
|
|
262
271
|
protected get isSelectedClass(): boolean;
|
|
263
272
|
protected get isSearchFilledClass(): boolean;
|
|
@@ -271,14 +280,17 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
271
280
|
set options(options: readonly TOption[]);
|
|
272
281
|
optionComparer: LuOptionComparer<TOption>;
|
|
273
282
|
optionKey: (option: TOption) => unknown;
|
|
274
|
-
noClueIcon:
|
|
275
|
-
inputTabindex:
|
|
283
|
+
noClueIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
284
|
+
inputTabindex: _angular_core.InputSignal<number>;
|
|
285
|
+
compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
286
|
+
colorPicker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
276
287
|
protected get isNoClueIconClass(): boolean;
|
|
277
|
-
optionTpl:
|
|
278
|
-
valueTpl:
|
|
279
|
-
panelHeaderTpl:
|
|
280
|
-
|
|
281
|
-
|
|
288
|
+
optionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
289
|
+
valueTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
290
|
+
panelHeaderTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void>>;
|
|
291
|
+
panelFooterTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void>>;
|
|
292
|
+
displayerTpl: Signal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
293
|
+
groupingSignal: _angular_core.WritableSignal<LuOptionGrouping<TOption, unknown>>;
|
|
282
294
|
/**
|
|
283
295
|
* @deprecated use groupingSignal
|
|
284
296
|
*/
|
|
@@ -289,14 +301,14 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
289
301
|
set grouping(grouping: LuOptionGrouping<TOption, unknown> | undefined);
|
|
290
302
|
treeGenerator?: TreeGenerator<TOption, TreeNode<TOption>>;
|
|
291
303
|
clueChange$: Subject<string>;
|
|
292
|
-
clueChange:
|
|
304
|
+
clueChange: _angular_core.OutputRef<string>;
|
|
293
305
|
nextPage$: Subject<void>;
|
|
294
|
-
nextPage:
|
|
295
|
-
previousPage:
|
|
296
|
-
addOption:
|
|
297
|
-
valueSignal:
|
|
298
|
-
isFilterPillEmpty:
|
|
299
|
-
isFilterPillClearable:
|
|
306
|
+
nextPage: _angular_core.OutputRef<void>;
|
|
307
|
+
previousPage: _angular_core.OutputEmitterRef<void>;
|
|
308
|
+
addOption: _angular_core.OutputEmitterRef<string>;
|
|
309
|
+
valueSignal: _angular_core.WritableSignal<TValue>;
|
|
310
|
+
isFilterPillEmpty: Signal<boolean>;
|
|
311
|
+
isFilterPillClearable: Signal<boolean>;
|
|
300
312
|
get value(): TValue;
|
|
301
313
|
protected set value(value: TValue);
|
|
302
314
|
get inputPlaceholder(): string | null;
|
|
@@ -338,8 +350,8 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
338
350
|
enableFilterPillMode(): void;
|
|
339
351
|
onFilterPillOpened(): void;
|
|
340
352
|
onFilterPillClosed(): void;
|
|
341
|
-
static ɵfac:
|
|
342
|
-
static ɵdir:
|
|
353
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
|
|
354
|
+
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; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "colorPicker": { "alias": "colorPicker"; "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; }; "panelFooterTpl": { "alias": "panelFooterTpl"; "required": false; "isSignal": true; }; }, { "panelClosed": "panelClosed"; "panelOpened": "panelOpened"; "highlightedOption": "highlightedOption"; "optionTpl": "optionTplChange"; "valueTpl": "valueTplChange"; "panelHeaderTpl": "panelHeaderTplChange"; "panelFooterTpl": "panelFooterTplChange"; "clueChange": "clueChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "addOption": "addOption"; }, never, never, true, never>;
|
|
343
355
|
static ngAcceptInputType_clearable: unknown;
|
|
344
356
|
}
|
|
345
357
|
|
|
@@ -347,16 +359,16 @@ declare function provideLuSelectLabelsAndIds(): Provider[];
|
|
|
347
359
|
declare function addAttributesOnCdkContainer(overlayRef: OverlayRef, selectLabelId: string, selectId: number): void;
|
|
348
360
|
|
|
349
361
|
declare class LuCoreSelectTotalCountDirective implements CoreSelectApiTotalCountProvider {
|
|
350
|
-
totalCount:
|
|
362
|
+
totalCount: _angular_core.InputSignal<number>;
|
|
351
363
|
totalCount$: rxjs.Observable<number>;
|
|
352
|
-
static ɵfac:
|
|
353
|
-
static ɵdir:
|
|
364
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectTotalCountDirective, never>;
|
|
365
|
+
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
366
|
}
|
|
355
367
|
|
|
356
368
|
declare class TreeDisplayPipe<T> implements PipeTransform {
|
|
357
369
|
transform(items: T[], treeGenerator: TreeGenerator<T, TreeNode<T>>): TreeNode<T>[];
|
|
358
|
-
static ɵfac:
|
|
359
|
-
static ɵpipe:
|
|
370
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeDisplayPipe<any>, never>;
|
|
371
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<TreeDisplayPipe<any>, "luTreeDisplay", true>;
|
|
360
372
|
}
|
|
361
373
|
|
|
362
374
|
declare class LuDisplayerDirective<TOption, TValue> {
|
|
@@ -364,29 +376,23 @@ declare class LuDisplayerDirective<TOption, TValue> {
|
|
|
364
376
|
set select(select: ALuSelectInputComponent<TOption, TValue>);
|
|
365
377
|
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
366
378
|
static ngTemplateContextGuard<TOption, TValue>(_dir: LuDisplayerDirective<TOption, TValue>, ctx: unknown): ctx is LuOptionContext<TOption>;
|
|
367
|
-
static ɵfac:
|
|
368
|
-
static ɵdir:
|
|
379
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisplayerDirective<any, any>, never>;
|
|
380
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisplayerDirective<any, any>, "[luDisplayer]", never, { "select": { "alias": "luDisplayerSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
369
381
|
}
|
|
370
382
|
|
|
371
383
|
declare class LuCoreSelectNoClueDirective {
|
|
372
384
|
constructor();
|
|
373
|
-
static ɵfac:
|
|
374
|
-
static ɵdir:
|
|
385
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectNoClueDirective, never>;
|
|
386
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectNoClueDirective, "lu-simple-select[noClue],lu-multi-select[noClue]", never, {}, {}, never, never, true, never>;
|
|
375
387
|
}
|
|
376
388
|
|
|
377
|
-
declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectLabel>>;
|
|
378
|
-
interface LuCoreSelectLabel {
|
|
379
|
-
addOption: string;
|
|
380
|
-
}
|
|
381
|
-
declare const luCoreSelectTranslations: LuTranslation<LuCoreSelectLabel>;
|
|
382
|
-
|
|
383
389
|
declare const applySearchDelimiter: (clue: string, delimiter: string) => string;
|
|
384
390
|
|
|
385
391
|
declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
386
392
|
#private;
|
|
387
393
|
transform(option: T, comparer: LuOptionComparer<T>, selectedOptions: T[]): boolean;
|
|
388
|
-
static ɵfac:
|
|
389
|
-
static ɵpipe:
|
|
394
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuIsOptionSelectedPipe<any>, never>;
|
|
395
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuIsOptionSelectedPipe<any>, "luIsOptionSelected", true>;
|
|
390
396
|
}
|
|
391
397
|
|
|
392
398
|
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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, TemplateRef, Type, OnDestroy, Signal, EffectCleanupRegisterFn, CreateEffectOptions, EffectRef, PipeTransform } from '@angular/core';
|
|
2
|
+
import { InjectionToken, TemplateRef, Type, OnDestroy, Signal, EffectCleanupRegisterFn, CreateEffectOptions, EffectRef, InputOptionsWithTransform, PipeTransform } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Extracts the values of an enum as a union type.
|
|
@@ -241,6 +241,27 @@ interface ILuTranslation<T> {
|
|
|
241
241
|
type LuTranslation<T> = Record<string, T>;
|
|
242
242
|
|
|
243
243
|
declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>> | InjectionToken<ILuTranslation<T>>): T;
|
|
244
|
+
/**
|
|
245
|
+
* Creates configuration for an Angular signal input that supports internationalization with optional overrides.
|
|
246
|
+
*
|
|
247
|
+
* This function merges translations from one or more injection tokens and returns a tuple
|
|
248
|
+
* compatible with Angular's `input()` function. Users can override specific translations
|
|
249
|
+
* via the component's `[intl]` input while inheriting defaults from the provided tokens.
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* ```typescript
|
|
253
|
+
* // In a component
|
|
254
|
+
* intl = input(...intlInputOptions(LU_SOME_COMPONENT_TRANSLATIONS));
|
|
255
|
+
*
|
|
256
|
+
* // Usage in template
|
|
257
|
+
* <lu-some-component [intl]="{ stuff: 'Some custom stuff' }" />
|
|
258
|
+
* ```
|
|
259
|
+
*
|
|
260
|
+
* @param tokens - One or more injection tokens containing locale-based translations
|
|
261
|
+
* @returns A tuple of [defaultValue, inputOptions] to spread into Angular's `input()` function
|
|
262
|
+
*/
|
|
263
|
+
declare function intlInputOptions<T1>(token1: InjectionToken<LuTranslation<T1>>): [T1, InputOptionsWithTransform<T1, Partial<T1>>];
|
|
264
|
+
declare function intlInputOptions<T1, T2>(token1: InjectionToken<LuTranslation<T1>>, token2: InjectionToken<LuTranslation<T2>>): [T1 & T2, InputOptionsWithTransform<T1 & T2, Partial<T1 & T2>>];
|
|
244
265
|
|
|
245
266
|
declare class IntlParamsPipe implements PipeTransform {
|
|
246
267
|
#private;
|
|
@@ -255,5 +276,5 @@ interface ILuTree<T> {
|
|
|
255
276
|
disabled?: boolean;
|
|
256
277
|
}
|
|
257
278
|
|
|
258
|
-
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuClass, LuNativeDateAdapter, LuStringDateAdapter, PORTAL_CONTEXT, PortalDirective, defaultBreakpoints, generateId, getIntl, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
279
|
+
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuClass, LuNativeDateAdapter, LuStringDateAdapter, PORTAL_CONTEXT, PortalDirective, defaultBreakpoints, generateId, getIntl, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
259
280
|
export type { At, Breakpoint, DecorativePalette, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuTranslation, Palette, PortalContent, ResponsiveConfig, ResponsiveProperty };
|
|
@@ -71,7 +71,7 @@ interface LuDataTableTranslations {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
declare class DataTableRowComponent {
|
|
74
|
-
intl: LuDataTableTranslations
|
|
74
|
+
intl: _angular_core.InputSignalWithTransform<LuDataTableTranslations, Partial<LuDataTableTranslations>>;
|
|
75
75
|
bodyRef: _lucca_front_ng_data_table.DataTableBodyComponent;
|
|
76
76
|
headRef: _lucca_front_ng_data_table.DataTableHeadComponent;
|
|
77
77
|
footRef: _lucca_front_ng_data_table.DataTableFootComponent;
|
|
@@ -82,7 +82,7 @@ declare class DataTableRowComponent {
|
|
|
82
82
|
readonly selectedLabel: _angular_core.InputSignal<string>;
|
|
83
83
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
84
84
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableRowComponent, never>;
|
|
85
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowComponent, "tr[luDataTableRow]", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["cells"], ["*"], true, never>;
|
|
85
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowComponent, "tr[luDataTableRow]", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["cells"], ["*"], true, never>;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
declare class DataTableComponent implements OnInit {
|
|
@@ -4,6 +4,7 @@ import { ALuDateAdapter, LuDateGranularity, ELuDateGranularity, LuTranslation }
|
|
|
4
4
|
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
5
|
import { ALuInput } from '@lucca-front/ng/input';
|
|
6
6
|
import { ALuPickerPanel, ILuInputWithPicker } from '@lucca-front/ng/picker';
|
|
7
|
+
import * as _lucca_front_ng_date from '@lucca-front/ng/date';
|
|
7
8
|
import { Overlay } from '@angular/cdk/overlay';
|
|
8
9
|
import { ALuSelectInputComponent } from '@lucca-front/ng/select';
|
|
9
10
|
import { Observable } from 'rxjs';
|
|
@@ -87,7 +88,7 @@ declare class LuCalendarInputComponent<D> extends ALuInput<D> implements Control
|
|
|
87
88
|
private _locale;
|
|
88
89
|
private _factory;
|
|
89
90
|
private _adapter;
|
|
90
|
-
intl: LuCalendarInputLabel
|
|
91
|
+
intl: i0.InputSignalWithTransform<LuCalendarInputLabel, Partial<LuCalendarInputLabel>>;
|
|
91
92
|
min?: D;
|
|
92
93
|
max?: D;
|
|
93
94
|
granularity: LuDateGranularity;
|
|
@@ -123,16 +124,7 @@ declare class LuCalendarInputComponent<D> extends ALuInput<D> implements Control
|
|
|
123
124
|
protected previousDecade(): void;
|
|
124
125
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
125
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuCalendarInputComponent<any>, never>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuCalendarInputComponent<any>, "lu-calendar", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "granularity": { "alias": "granularity"; "required": false; }; "startOn": { "alias": "startOn"; "required": false; }; }, {}, never, never, true, never>;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @deprecated use `LuCalendarInputComponent` instead
|
|
131
|
-
*/
|
|
132
|
-
declare class LuCalendarInputModule {
|
|
133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuCalendarInputModule, never>;
|
|
134
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuCalendarInputModule, never, [typeof LuCalendarInputComponent], [typeof LuCalendarInputComponent]>;
|
|
135
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LuCalendarInputModule>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuCalendarInputComponent<any>, "lu-calendar", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "granularity": { "alias": "granularity"; "required": false; }; "startOn": { "alias": "startOn"; "required": false; }; }, {}, never, never, true, never>;
|
|
136
128
|
}
|
|
137
129
|
|
|
138
130
|
declare class LuDatePickerComponent<D = Date> extends ALuPickerPanel<D> {
|
|
@@ -168,7 +160,7 @@ declare class LuDateInputDirective<D> extends ALuInput<D, HTMLInputElement> impl
|
|
|
168
160
|
max?: D;
|
|
169
161
|
granularity: LuDateGranularity;
|
|
170
162
|
set placeholder(p: string);
|
|
171
|
-
|
|
163
|
+
intl: i0.InputSignalWithTransform<_lucca_front_ng_date.ILuDateInputLabel, Partial<_lucca_front_ng_date.ILuDateInputLabel>>;
|
|
172
164
|
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLInputElement>, _renderer: Renderer2, _adapter: ALuDateAdapter<D>);
|
|
173
165
|
ngOnInit(): void;
|
|
174
166
|
protected render(): void;
|
|
@@ -178,7 +170,7 @@ declare class LuDateInputDirective<D> extends ALuInput<D, HTMLInputElement> impl
|
|
|
178
170
|
onBlur(): void;
|
|
179
171
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
180
172
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDateInputDirective<any>, never>;
|
|
181
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuDateInputDirective<any>, "input[luDateInput]", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "granularity": { "alias": "granularity"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
173
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuDateInputDirective<any>, "input[luDateInput]", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "granularity": { "alias": "granularity"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
182
174
|
}
|
|
183
175
|
|
|
184
176
|
declare class LuDateSelectInputComponent<D> extends ALuSelectInputComponent<D> implements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit, Validator {
|
|
@@ -197,7 +189,6 @@ declare class LuDateSelectInputComponent<D> extends ALuSelectInputComponent<D> i
|
|
|
197
189
|
set startOn(s: D);
|
|
198
190
|
get startOn(): D;
|
|
199
191
|
get format(): string;
|
|
200
|
-
private _intl;
|
|
201
192
|
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, _adapter: ALuDateAdapter<D>);
|
|
202
193
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
203
194
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDateSelectInputComponent<any>, never>;
|
|
@@ -244,15 +235,6 @@ declare class LuHumanizeDatePipe implements PipeTransform {
|
|
|
244
235
|
declare function getRelativeTime(date: number | Date, reference: number | Date, allowedUnits?: readonly LuRelativeTimeFormatUnit[]): LuRelativeTime;
|
|
245
236
|
declare function relativeTimeTimer(date: Date | number, allowedUnits?: readonly LuRelativeTimeFormatUnit[]): Observable<LuRelativeTime>;
|
|
246
237
|
|
|
247
|
-
/**
|
|
248
|
-
* @deprecated use `LuDateInputDirective` instead
|
|
249
|
-
*/
|
|
250
|
-
declare class LuDateInputModule {
|
|
251
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuDateInputModule, never>;
|
|
252
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuDateInputModule, never, [typeof LuDateInputDirective], [typeof LuDateInputDirective]>;
|
|
253
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LuDateInputModule>;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
238
|
declare const LU_DATE_INPUT_TRANSLATIONS: InjectionToken<LuTranslation<ILuDateInputLabel>>;
|
|
257
239
|
interface ILuDateInputLabel {
|
|
258
240
|
placeholderDay: string;
|
|
@@ -287,5 +269,5 @@ interface ILuDateSelectInputLabel {
|
|
|
287
269
|
}
|
|
288
270
|
declare const luDateSelectInputTranslations: LuTranslation<ILuDateSelectInputLabel>;
|
|
289
271
|
|
|
290
|
-
export { LU_DATE_INPUT_TRANSLATIONS, LU_DATE_SELECT_INPUT_TRANSLATIONS, LuCalendarInputComponent,
|
|
272
|
+
export { LU_DATE_INPUT_TRANSLATIONS, LU_DATE_SELECT_INPUT_TRANSLATIONS, LuCalendarInputComponent, LuDateAdapterModule, LuDateAdapterPipe, LuDateInputDirective, LuDateModule, LuDatePickerComponent, LuDatePickerModule, LuDateSelectInputComponent, LuDateSelectInputModule, LuHumanizeDateFormatter, LuHumanizeDatePipe, getRelativeTime, luDateInputTranslations, luDateSelectInputTranslations, luRelativeTimeFormatUnit, relativeTimeTimer };
|
|
291
273
|
export type { ILuDateInputLabel, ILuDateSelectInputLabel, LuRelativeTime, LuRelativeTimeFormatUnit };
|
|
@@ -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';
|
|
@@ -93,7 +93,7 @@ declare class Calendar2CellDirective {
|
|
|
93
93
|
declare class Calendar2Component implements OnInit {
|
|
94
94
|
#private;
|
|
95
95
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
96
|
-
intl: Date2Translate
|
|
96
|
+
intl: _angular_core.InputSignalWithTransform<Date2Translate, Partial<Date2Translate>>;
|
|
97
97
|
showOverflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
98
98
|
enableOverflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
99
99
|
removeYearOverflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -145,10 +145,10 @@ declare class Calendar2Component implements OnInit {
|
|
|
145
145
|
class: string;
|
|
146
146
|
};
|
|
147
147
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Calendar2Component, never>;
|
|
148
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Calendar2Component, "lu-calendar2", never, { "showOverflow": { "alias": "showOverflow"; "required": false; "isSignal": true; }; "enableOverflow": { "alias": "enableOverflow"; "required": false; "isSignal": true; }; "removeYearOverflow": { "alias": "removeYearOverflow"; "required": false; "isSignal": true; }; "hideToday": { "alias": "hideToday"; "required": false; "isSignal": true; }; "hasTodayButton": { "alias": "hasTodayButton"; "required": false; "isSignal": true; }; "hideWeekend": { "alias": "hideWeekend"; "required": false; "isSignal": true; }; "disableModeChange": { "alias": "disableModeChange"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "tabbableDate": { "alias": "tabbableDate"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "ranges": { "alias": "ranges"; "required": false; "isSignal": true; }; "getCellInfo": { "alias": "getCellInfo"; "required": false; "isSignal": true; }; "dateHovered": { "alias": "dateHovered"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; "tabbableDate": "tabbableDateChange"; "mode": "modeChange"; "displayMode": "displayModeChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "dateClicked": "dateClicked"; "dateHovered": "dateHoveredChange"; }, never, never, true, never>;
|
|
148
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Calendar2Component, "lu-calendar2", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "showOverflow": { "alias": "showOverflow"; "required": false; "isSignal": true; }; "enableOverflow": { "alias": "enableOverflow"; "required": false; "isSignal": true; }; "removeYearOverflow": { "alias": "removeYearOverflow"; "required": false; "isSignal": true; }; "hideToday": { "alias": "hideToday"; "required": false; "isSignal": true; }; "hasTodayButton": { "alias": "hasTodayButton"; "required": false; "isSignal": true; }; "hideWeekend": { "alias": "hideWeekend"; "required": false; "isSignal": true; }; "disableModeChange": { "alias": "disableModeChange"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "tabbableDate": { "alias": "tabbableDate"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "ranges": { "alias": "ranges"; "required": false; "isSignal": true; }; "getCellInfo": { "alias": "getCellInfo"; "required": false; "isSignal": true; }; "dateHovered": { "alias": "dateHovered"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; "tabbableDate": "tabbableDateChange"; "mode": "modeChange"; "displayMode": "displayModeChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "dateClicked": "dateClicked"; "dateHovered": "dateHoveredChange"; }, never, never, true, never>;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
declare function getDateFormat(locale: string): string;
|
|
151
|
+
declare function getDateFormat(locale: string, mode?: CalendarMode): string;
|
|
152
152
|
declare function getSeparator(locale: string): string;
|
|
153
153
|
declare function getLocalizedDateFormat(locale: string, period?: 'year' | 'month' | 'day'): string;
|
|
154
154
|
|
|
@@ -162,10 +162,11 @@ declare abstract class AbstractDateComponent {
|
|
|
162
162
|
protected locale: string;
|
|
163
163
|
protected dateFormat: string;
|
|
164
164
|
protected separator: string;
|
|
165
|
+
protected dateFormatWithMode: _angular_core.Signal<string>;
|
|
165
166
|
intlDateTimeFormat: Intl.DateTimeFormat;
|
|
166
167
|
intlDateTimeFormatMonth: Intl.DateTimeFormat;
|
|
167
168
|
intlDateTimeFormatYear: Intl.DateTimeFormat;
|
|
168
|
-
intl: Date2Translate
|
|
169
|
+
intl: _angular_core.InputSignalWithTransform<Date2Translate, Partial<Date2Translate>>;
|
|
169
170
|
onTouched?: () => void;
|
|
170
171
|
disabled: _angular_core.WritableSignal<boolean>;
|
|
171
172
|
readonly format: _angular_core.InputSignal<DateFormat>;
|
|
@@ -198,7 +199,7 @@ declare abstract class AbstractDateComponent {
|
|
|
198
199
|
setDisabledState?(isDisabled: boolean): void;
|
|
199
200
|
move(direction: 1 | -1, mode: CalendarMode): void;
|
|
200
201
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AbstractDateComponent, never>;
|
|
201
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AbstractDateComponent, "ng-component", never, { "format": { "alias": "format"; "required": false; "isSignal": true; }; "ranges": { "alias": "ranges"; "required": false; "isSignal": true; }; "hideToday": { "alias": "hideToday"; "required": false; "isSignal": true; }; "hasTodayButton": { "alias": "hasTodayButton"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearBehavior": { "alias": "clearBehavior"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "hideWeekend": { "alias": "hideWeekend"; "required": false; "isSignal": true; }; "getCellInfo": { "alias": "getCellInfo"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "focusedDate": { "alias": "focusedDate"; "required": false; "isSignal": true; }; "calendarMode": { "alias": "calendarMode"; "required": false; "isSignal": true; }; }, { "calendarMode": "calendarModeChange"; "panelOpened": "panelOpened"; "panelClosed": "panelClosed"; }, never, never, true, never>;
|
|
202
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AbstractDateComponent, "ng-component", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "ranges": { "alias": "ranges"; "required": false; "isSignal": true; }; "hideToday": { "alias": "hideToday"; "required": false; "isSignal": true; }; "hasTodayButton": { "alias": "hasTodayButton"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearBehavior": { "alias": "clearBehavior"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "hideWeekend": { "alias": "hideWeekend"; "required": false; "isSignal": true; }; "getCellInfo": { "alias": "getCellInfo"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "focusedDate": { "alias": "focusedDate"; "required": false; "isSignal": true; }; "calendarMode": { "alias": "calendarMode"; "required": false; "isSignal": true; }; }, { "calendarMode": "calendarModeChange"; "panelOpened": "panelOpened"; "panelClosed": "panelClosed"; }, never, never, true, never>;
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
type DateInputValidatorErrorType = {
|
|
@@ -209,6 +210,7 @@ type DateInputValidatorErrorType = {
|
|
|
209
210
|
declare class DateInputComponent extends AbstractDateComponent implements OnInit, ControlValueAccessor, Validator, FilterPillInputComponent {
|
|
210
211
|
#private;
|
|
211
212
|
parentInput: FilterPillInputComponent;
|
|
213
|
+
ngControl: NgControl;
|
|
212
214
|
autocomplete: _angular_core.InputSignal<AutoFill>;
|
|
213
215
|
placeholder: _angular_core.InputSignal<string>;
|
|
214
216
|
disableOverflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -95,11 +95,11 @@ declare class LuDepartmentSelectInputComponent<D extends ILuDepartment = ILuDepa
|
|
|
95
95
|
operations: number[];
|
|
96
96
|
filters: string[];
|
|
97
97
|
uniqueOperation: number;
|
|
98
|
-
intl: _lucca_front_ng_department.ILuDepartmentSelectInputLabel
|
|
98
|
+
intl: i0.InputSignalWithTransform<_lucca_front_ng_department.ILuDepartmentSelectInputLabel, Partial<_lucca_front_ng_department.ILuDepartmentSelectInputLabel>>;
|
|
99
99
|
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
|
|
100
100
|
searchFn(o: D, c: string): boolean;
|
|
101
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDepartmentSelectInputComponent<any, any>, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuDepartmentSelectInputComponent<any, any>, "lu-department-select", never, { "appInstanceId": { "alias": "appInstanceId"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "uniqueOperation": { "alias": "uniqueOperation"; "required": false; }; }, {}, never, never, true, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuDepartmentSelectInputComponent<any, any>, "lu-department-select", never, { "appInstanceId": { "alias": "appInstanceId"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "uniqueOperation": { "alias": "uniqueOperation"; "required": false; }; "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
@@ -120,15 +120,6 @@ declare class LuDepartmentModule {
|
|
|
120
120
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuDepartmentModule>;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
/**
|
|
124
|
-
* @deprecated use `LuDepartmentFeederComponent` instead
|
|
125
|
-
*/
|
|
126
|
-
declare class LuDepartmentFeederModule {
|
|
127
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuDepartmentFeederModule, never>;
|
|
128
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuDepartmentFeederModule, never, [typeof LuDepartmentFeederComponent], [typeof LuDepartmentFeederComponent]>;
|
|
129
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LuDepartmentFeederModule>;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
123
|
/**
|
|
133
124
|
* @deprecated use `LuDepartmentSelectInputComponent` instead
|
|
134
125
|
*/
|
|
@@ -144,5 +135,5 @@ interface ILuDepartmentSelectInputLabel {
|
|
|
144
135
|
}
|
|
145
136
|
declare const luDepartmentSelectInputTranslations: LuTranslation<ILuDepartmentSelectInputLabel>;
|
|
146
137
|
|
|
147
|
-
export { ALuDepartmentService, LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS, LuDepartmentFeederComponent,
|
|
138
|
+
export { ALuDepartmentService, LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS, LuDepartmentFeederComponent, LuDepartmentModule, LuDepartmentSelectInputComponent, LuDepartmentSelectInputModule, LuDepartmentSelectModule, LuDepartmentV3Service, LuDepartmentV4Service, luDepartmentSelectInputTranslations };
|
|
148
139
|
export type { IApiDepartment, ILuDepartment, ILuDepartmentSelectInputLabel, ILuDepartmentService };
|