@lucca-front/ng 21.1.0-rc.0 → 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 +6 -6
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +16 -48
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +2 -2
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +5 -5
- 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 +21 -0
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +41 -15
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +37 -7
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +21 -6
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- 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 +20 -18
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +7 -9
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +0 -2
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +14 -14
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +68 -49
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +13 -1
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +6 -6
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +66 -99
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +48 -40
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +8 -24
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +33 -10
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +10 -1
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +66 -8
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +11 -75
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +12 -0
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +40 -34
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +14 -13
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +3 -0
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +25 -10
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +3 -0
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +19 -5
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +4 -4
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +2 -2
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +91 -74
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +110 -41
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +28 -5
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +3 -3
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +31 -26
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +5 -2
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +15 -0
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +12 -0
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +7 -7
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +21 -6
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +17 -5
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +36 -7
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +8 -2
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +22 -14
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +31 -28
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -0
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +10 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +227 -337
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +9 -0
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +29 -5
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +11 -5
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +1 -33
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +30 -20
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +12 -5
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +38 -21
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +8 -8
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +5 -2
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +9 -3
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +16 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +20 -14
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +65 -14
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +25 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +12 -0
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +6 -0
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- 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 +63 -24
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +5 -5
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +13 -27
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +6 -6
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +20 -36
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +30 -0
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- 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/src/components/cdk/_overlay.scss +5 -0
- package/src/definitions/option/_option-item.scss +1 -0
- 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-button.d.ts +21 -0
- package/types/lucca-front-ng-callout.d.ts +33 -3
- package/types/lucca-front-ng-chip.d.ts +33 -3
- package/types/lucca-front-ng-clear.d.ts +21 -6
- package/types/lucca-front-ng-color.d.ts +12 -0
- package/types/lucca-front-ng-comment.d.ts +19 -11
- package/types/lucca-front-ng-container.d.ts +4 -4
- package/types/lucca-front-ng-core-select.d.ts +21 -16
- 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 +6 -5
- 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-divider.d.ts +10 -0
- package/types/lucca-front-ng-empty-state.d.ts +21 -3
- package/types/lucca-front-ng-establishment.d.ts +3 -39
- package/types/lucca-front-ng-fancy-box.d.ts +12 -0
- 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-footer.d.ts +3 -0
- package/types/lucca-front-ng-form-field.d.ts +12 -3
- package/types/lucca-front-ng-form-header.d.ts +3 -0
- package/types/lucca-front-ng-form.d.ts +9 -5
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +16 -16
- package/types/lucca-front-ng-forms.d.ts +41 -12
- package/types/lucca-front-ng-gauge.d.ts +25 -0
- package/types/lucca-front-ng-grid.d.ts +1 -1
- package/types/lucca-front-ng-highlight-data.d.ts +36 -15
- package/types/lucca-front-ng-horizontal-navigation.d.ts +3 -0
- package/types/lucca-front-ng-icon.d.ts +15 -0
- package/types/lucca-front-ng-inline-message.d.ts +12 -0
- package/types/lucca-front-ng-input.d.ts +2 -2
- package/types/lucca-front-ng-link.d.ts +17 -2
- package/types/lucca-front-ng-listbox.d.ts +16 -4
- package/types/lucca-front-ng-listing.d.ts +33 -2
- package/types/lucca-front-ng-main-layout.d.ts +6 -0
- package/types/lucca-front-ng-mobile-push.d.ts +9 -2
- package/types/lucca-front-ng-multi-select.d.ts +26 -24
- package/types/lucca-front-ng-new-badge.d.ts +3 -0
- package/types/lucca-front-ng-numeric-badge.d.ts +9 -0
- package/types/lucca-front-ng-option.d.ts +86 -149
- package/types/lucca-front-ng-page-header.d.ts +9 -0
- package/types/lucca-front-ng-pagination.d.ts +26 -2
- package/types/lucca-front-ng-plg-push.d.ts +8 -2
- package/types/lucca-front-ng-popover.d.ts +1 -20
- package/types/lucca-front-ng-popover2.d.ts +8 -6
- package/types/lucca-front-ng-progress-bar.d.ts +9 -0
- package/types/lucca-front-ng-read-more.d.ts +25 -10
- package/types/lucca-front-ng-resource-card.d.ts +6 -0
- package/types/lucca-front-ng-scroll-box.d.ts +4 -1
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +7 -1
- package/types/lucca-front-ng-segmented-control.d.ts +16 -1
- package/types/lucca-front-ng-simple-select.d.ts +5 -4
- package/types/lucca-front-ng-skeleton.d.ts +61 -6
- package/types/lucca-front-ng-sortable-list.d.ts +24 -0
- package/types/lucca-front-ng-status-badge.d.ts +12 -0
- package/types/lucca-front-ng-tag.d.ts +6 -0
- 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
- package/types/lucca-front-ng-vertical-navigation.d.ts +30 -0
|
@@ -5,34 +5,42 @@ import { PortalContent } from '@lucca-front/ng/core';
|
|
|
5
5
|
|
|
6
6
|
declare class CommentComponent {
|
|
7
7
|
#private;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
authorName: _angular_core.Signal<_lucca_front_ng_core.PortalContent>;
|
|
11
|
-
size: _angular_core.Signal<"S" | "M">;
|
|
12
|
-
date: _angular_core.InputSignal<Date>;
|
|
8
|
+
readonly content: _angular_core.InputSignal<string>;
|
|
9
|
+
readonly date: _angular_core.InputSignal<Date>;
|
|
13
10
|
/**
|
|
14
11
|
* format given to the date pipe for display.
|
|
15
12
|
*
|
|
16
13
|
* See https://angular.dev/api/common/DatePipe#custom-format-options
|
|
17
14
|
*/
|
|
18
|
-
datePipeFormat: _angular_core.InputSignal<string>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
readonly datePipeFormat: _angular_core.InputSignal<string>;
|
|
16
|
+
readonly noAvatar: _angular_core.Signal<boolean>;
|
|
17
|
+
readonly avatar: _angular_core.Signal<_angular_core.TemplateRef<unknown>>;
|
|
18
|
+
readonly authorName: _angular_core.Signal<_lucca_front_ng_core.PortalContent>;
|
|
19
|
+
readonly size: _angular_core.Signal<"S" | "M">;
|
|
20
|
+
readonly contentIsHTML: _angular_core.Signal<boolean>;
|
|
21
|
+
readonly dateDisplay: _angular_core.Signal<string>;
|
|
22
|
+
readonly role: _angular_core.Signal<string>;
|
|
23
23
|
get roleAttr(): string;
|
|
24
24
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommentComponent, never>;
|
|
25
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentComponent, "lu-comment", never, { "
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentComponent, "lu-comment", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "datePipeFormat": { "alias": "datePipeFormat"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
declare class CommentBlockComponent {
|
|
29
29
|
#private;
|
|
30
30
|
readonly comments: _angular_core.Signal<readonly CommentComponent[]>;
|
|
31
31
|
readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
/**
|
|
33
|
+
* Small is a shorthand to set the size to small
|
|
34
|
+
*
|
|
35
|
+
* If the size input is filled along with the small input, their values will have the priority
|
|
36
|
+
*/
|
|
32
37
|
readonly small: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
33
38
|
readonly chatAnswer: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
39
|
readonly authorName: _angular_core.InputSignal<PortalContent>;
|
|
35
40
|
readonly avatar: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
41
|
+
/**
|
|
42
|
+
* Which size should the block comment be? Defaults or small
|
|
43
|
+
*/
|
|
36
44
|
readonly size: _angular_core.InputSignal<"S" | "M">;
|
|
37
45
|
readonly noAvatar: _angular_core.Signal<boolean>;
|
|
38
46
|
readonly isSingleComment: _angular_core.Signal<boolean>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class ContainerComponent {
|
|
4
|
-
center: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5
|
-
overflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6
|
-
max: _angular_core.InputSignal<"M" | "L" | "XL" | "XXL" | "XXXL">;
|
|
7
|
-
classesConfig: _angular_core.Signal<{
|
|
4
|
+
readonly center: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5
|
+
readonly overflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
readonly max: _angular_core.InputSignal<"M" | "L" | "XL" | "XXL" | "XXXL">;
|
|
7
|
+
readonly classesConfig: _angular_core.Signal<{
|
|
8
8
|
[x: string]: boolean;
|
|
9
9
|
"mod-center": boolean;
|
|
10
10
|
"mod-overflow": boolean;
|
|
@@ -2,7 +2,6 @@ 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';
|
|
@@ -136,7 +135,7 @@ declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
|
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;
|
|
@@ -160,7 +159,7 @@ declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
|
160
159
|
ngAfterViewInit(): void;
|
|
161
160
|
selectOption($event: Event): void;
|
|
162
161
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
|
|
163
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "optionTpl": { "alias": "optionTpl"; "required": false; }; "option": { "alias": "option"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; "isSignal": true; }; "groupIndex": { "alias": "groupIndex"; "required": false; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "scrollIntoViewOptions": { "alias": "scrollIntoViewOptions"; "required": false; }; "groupTemplateLocation": { "alias": "groupTemplateLocation"; "required": false; "isSignal": true; }; }, { "onlyParent": "onlyParent"; "onlyChildren": "onlyChildren"; }, never, never, true, never>;
|
|
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> {
|
|
@@ -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,7 +244,7 @@ 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;
|
|
@@ -249,16 +254,19 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
249
254
|
selectChildren$?: Subject<void>;
|
|
250
255
|
panelClosed: _angular_core.OutputEmitterRef<void>;
|
|
251
256
|
panelOpened: _angular_core.OutputEmitterRef<void>;
|
|
257
|
+
highlightedOption: _angular_core.OutputEmitterRef<TOption>;
|
|
252
258
|
private inputElementRef;
|
|
253
259
|
placeholder$: BehaviorSubject<string>;
|
|
254
260
|
disabled$: BehaviorSubject<boolean>;
|
|
255
|
-
filterPillDisabled:
|
|
261
|
+
filterPillDisabled: Signal<boolean>;
|
|
256
262
|
prefix: _angular_core.InputSignal<PortalContent>;
|
|
257
263
|
set placeholder(value: string);
|
|
258
264
|
set clearable(value: boolean);
|
|
259
265
|
get clearable(): boolean;
|
|
260
266
|
get searchable(): boolean;
|
|
261
|
-
|
|
267
|
+
protected computedAddOptionLabel: Signal<PortalContent>;
|
|
268
|
+
set addOptionLabel(label: PortalContent);
|
|
269
|
+
get addOptionLabel(): PortalContent;
|
|
262
270
|
set addOptionStrategy(strategy: CoreSelectAddOptionStrategy);
|
|
263
271
|
protected get isSelectedClass(): boolean;
|
|
264
272
|
protected get isSearchFilledClass(): boolean;
|
|
@@ -274,11 +282,14 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
274
282
|
optionKey: (option: TOption) => unknown;
|
|
275
283
|
noClueIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
276
284
|
inputTabindex: _angular_core.InputSignal<number>;
|
|
285
|
+
compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
286
|
+
colorPicker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
277
287
|
protected get isNoClueIconClass(): boolean;
|
|
278
288
|
optionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
279
289
|
valueTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
280
290
|
panelHeaderTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void>>;
|
|
281
|
-
|
|
291
|
+
panelFooterTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void>>;
|
|
292
|
+
displayerTpl: Signal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
282
293
|
groupingSignal: _angular_core.WritableSignal<LuOptionGrouping<TOption, unknown>>;
|
|
283
294
|
/**
|
|
284
295
|
* @deprecated use groupingSignal
|
|
@@ -296,8 +307,8 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
296
307
|
previousPage: _angular_core.OutputEmitterRef<void>;
|
|
297
308
|
addOption: _angular_core.OutputEmitterRef<string>;
|
|
298
309
|
valueSignal: _angular_core.WritableSignal<TValue>;
|
|
299
|
-
isFilterPillEmpty:
|
|
300
|
-
isFilterPillClearable:
|
|
310
|
+
isFilterPillEmpty: Signal<boolean>;
|
|
311
|
+
isFilterPillClearable: Signal<boolean>;
|
|
301
312
|
get value(): TValue;
|
|
302
313
|
protected set value(value: TValue);
|
|
303
314
|
get inputPlaceholder(): string | null;
|
|
@@ -340,7 +351,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
340
351
|
onFilterPillOpened(): void;
|
|
341
352
|
onFilterPillClosed(): void;
|
|
342
353
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
|
|
343
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "ignorePresentation": { "alias": "ignorePresentation"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "addOptionLabel": { "alias": "addOptionLabel"; "required": false; }; "addOptionStrategy": { "alias": "addOptionStrategy"; "required": false; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionComparer": { "alias": "optionComparer"; "required": false; }; "optionKey": { "alias": "optionKey"; "required": false; }; "noClueIcon": { "alias": "noClueIcon"; "required": false; "isSignal": true; }; "inputTabindex": { "alias": "inputTabindex"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "valueTpl": { "alias": "valueTpl"; "required": false; "isSignal": true; }; "panelHeaderTpl": { "alias": "panelHeaderTpl"; "required": false; "isSignal": true; }; }, { "panelClosed": "panelClosed"; "panelOpened": "panelOpened"; "optionTpl": "optionTplChange"; "valueTpl": "valueTplChange"; "panelHeaderTpl": "panelHeaderTplChange"; "clueChange": "clueChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "addOption": "addOption"; }, never, never, true, never>;
|
|
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>;
|
|
344
355
|
static ngAcceptInputType_clearable: unknown;
|
|
345
356
|
}
|
|
346
357
|
|
|
@@ -375,12 +386,6 @@ declare class LuCoreSelectNoClueDirective {
|
|
|
375
386
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectNoClueDirective, "lu-simple-select[noClue],lu-multi-select[noClue]", never, {}, {}, never, never, true, never>;
|
|
376
387
|
}
|
|
377
388
|
|
|
378
|
-
declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectLabel>>;
|
|
379
|
-
interface LuCoreSelectLabel {
|
|
380
|
-
addOption: string;
|
|
381
|
-
}
|
|
382
|
-
declare const luCoreSelectTranslations: LuTranslation<LuCoreSelectLabel>;
|
|
383
|
-
|
|
384
389
|
declare const applySearchDelimiter: (clue: string, delimiter: string) => string;
|
|
385
390
|
|
|
386
391
|
declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
@@ -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 };
|
|
@@ -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 = {
|
|
@@ -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 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, InjectionToken, OnDestroy, Injector, TemplateRef,
|
|
2
|
+
import { OnInit, InjectionToken, EnvironmentProviders, OnDestroy, Injector, TemplateRef, Provider, AfterViewInit } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_dialog from '@lucca-front/ng/dialog';
|
|
4
4
|
import { LuTranslation } from '@lucca-front/ng/core';
|
|
5
|
-
import { CanDeactivateFn, DeprecatedGuard, GuardResult, Route } from '@angular/router';
|
|
5
|
+
import { BaseRouteReuseStrategy, ActivatedRouteSnapshot, CanDeactivateFn, DeprecatedGuard, GuardResult, Route } from '@angular/router';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Observable, Subscription } from 'rxjs';
|
|
8
8
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
@@ -26,13 +26,13 @@ declare class DialogHeaderAction {
|
|
|
26
26
|
}
|
|
27
27
|
declare class DialogHeaderComponent implements OnInit {
|
|
28
28
|
#private;
|
|
29
|
-
intl: _lucca_front_ng_dialog.LuDialogHeaderTranslations
|
|
29
|
+
intl: i0.InputSignalWithTransform<_lucca_front_ng_dialog.LuDialogHeaderTranslations, Partial<_lucca_front_ng_dialog.LuDialogHeaderTranslations>>;
|
|
30
30
|
dismissible: boolean;
|
|
31
31
|
close(): void;
|
|
32
32
|
optionalAction: i0.Signal<DialogHeaderAction>;
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "lu-dialog-header", never, {}, {}, ["optionalAction"], ["[dialogHeaderAction]", "*"], true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "lu-dialog-header", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, ["optionalAction"], ["[dialogHeaderAction]", "*"], true, never>;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
declare const LU_DIALOG_HEADER_TRANSLATIONS: InjectionToken<LuTranslation<LuDialogHeaderTranslations>>;
|
|
@@ -41,6 +41,12 @@ interface LuDialogHeaderTranslations {
|
|
|
41
41
|
}
|
|
42
42
|
declare const luDialogHeaderTranslations: LuTranslation<LuDialogHeaderTranslations>;
|
|
43
43
|
|
|
44
|
+
declare function provideDialogRoutingReuseStrategy(): EnvironmentProviders;
|
|
45
|
+
declare const noRouteReuseFlag: unique symbol;
|
|
46
|
+
declare class LuccaDialogRoutingReuseStrategy extends BaseRouteReuseStrategy {
|
|
47
|
+
shouldReuseRoute(future: ActivatedRouteSnapshot, current: ActivatedRouteSnapshot): boolean;
|
|
48
|
+
}
|
|
49
|
+
|
|
44
50
|
/**
|
|
45
51
|
* Default onClosed/onDismissed function that navigates back to the parent route when the dialog is closed or dismissed.
|
|
46
52
|
*/
|
|
@@ -56,6 +62,7 @@ declare class DialogRoutingContainerComponent<C> implements OnDestroy, OnInit {
|
|
|
56
62
|
readonly config: _lucca_front_ng_dialog.DialogRouteConfig<C>;
|
|
57
63
|
protected readonly dialogComponentInstance: i0.WritableSignal<C>;
|
|
58
64
|
protected readonly dialogTemplate: i0.Signal<TemplateRef<any>>;
|
|
65
|
+
static [noRouteReuseFlag]: boolean;
|
|
59
66
|
ngOnInit(): void;
|
|
60
67
|
/**
|
|
61
68
|
* In this context, ngOnDestroy is called when the user navigates away from the route.
|
|
@@ -293,5 +300,5 @@ declare class DialogOpenDirective {
|
|
|
293
300
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogOpenDirective, "[luDialogOpen]", never, { "dialog": { "alias": "luDialogOpen"; "required": true; "isSignal": true; }; "luDialogConfig": { "alias": "luDialogConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
294
301
|
}
|
|
295
302
|
|
|
296
|
-
export { DIALOG_ROUTE_CLOSE_TRIGGER, DIALOG_ROUTE_CONFIG, DIALOG_ROUTE_DISMISS_TRIGGER, DialogCloseDirective, DialogComponent, DialogContentComponent, DialogDismissDirective, DialogFooterComponent, DialogHeaderAction, DialogHeaderComponent, DialogOpenDirective, DialogRoutingContainerComponent, LU_DIALOG_HEADER_TRANSLATIONS, LuDialogRef, LuDialogService, configureLuDialog, createDialogRoute, defaultOnClosedFn, dialogLazyRouteFactory, dialogRouteFactory, injectDialogData, injectDialogRef, luDialogHeaderTranslations, provideLuDialog };
|
|
303
|
+
export { DIALOG_ROUTE_CLOSE_TRIGGER, DIALOG_ROUTE_CONFIG, DIALOG_ROUTE_DISMISS_TRIGGER, DialogCloseDirective, DialogComponent, DialogContentComponent, DialogDismissDirective, DialogFooterComponent, DialogHeaderAction, DialogHeaderComponent, DialogOpenDirective, DialogRoutingContainerComponent, LU_DIALOG_HEADER_TRANSLATIONS, LuDialogRef, LuDialogService, LuccaDialogRoutingReuseStrategy, configureLuDialog, createDialogRoute, defaultOnClosedFn, dialogLazyRouteFactory, dialogRouteFactory, injectDialogData, injectDialogRef, luDialogHeaderTranslations, provideDialogRoutingReuseStrategy, provideLuDialog };
|
|
297
304
|
export type { DialogFactoryConfig, DialogFactoryResult, DialogFactoryResultOptions, DialogRouteCloseTrigger, DialogRouteConfig, DialogRouteDialogConfig, DialogRouteDismissTrigger, LuDialogConfig, LuDialogData, LuDialogHeaderTranslations, LuDialogResult, LuDialogSelfRef, ɵDialogDataFlag, ɵDialogResultFlag };
|
|
@@ -4,9 +4,19 @@ import { OnChanges, ElementRef } from '@angular/core';
|
|
|
4
4
|
declare class DividerComponent implements OnChanges {
|
|
5
5
|
#private;
|
|
6
6
|
content: ElementRef;
|
|
7
|
+
/**
|
|
8
|
+
* Allows rendering the Divider as a native separator
|
|
9
|
+
* (Any text content it may have will no longer be rendered)
|
|
10
|
+
*/
|
|
7
11
|
readonly separatorRole: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
8
12
|
readonly vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
/**
|
|
14
|
+
* Which size should the chip be? Defaults or small
|
|
15
|
+
*/
|
|
9
16
|
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated
|
|
19
|
+
*/
|
|
10
20
|
readonly withRole: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
11
21
|
readonly classesConfig: _angular_core.Signal<{
|
|
12
22
|
[x: string]: boolean;
|
|
@@ -28,6 +28,9 @@ declare class EmptyStatePageComponent {
|
|
|
28
28
|
* Background color for content (text)
|
|
29
29
|
*/
|
|
30
30
|
readonly contentBackgroundColor: _angular_core.InputSignal<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Add content above heading
|
|
33
|
+
*/
|
|
31
34
|
readonly slotTop: _angular_core.InputSignal<PortalContent>;
|
|
32
35
|
readonly heading: _angular_core.InputSignal<string>;
|
|
33
36
|
readonly description: _angular_core.InputSignal<PortalContent>;
|
|
@@ -37,20 +40,35 @@ declare class EmptyStatePageComponent {
|
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
declare class EmptyStateSectionComponent {
|
|
43
|
+
/** @deprecated use illustration and action */
|
|
44
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
45
|
+
readonly actionIllustration: _angular_core.Signal<boolean>;
|
|
46
|
+
readonly illustration: _angular_core.InputSignal<"moodAngry" | "moodBored" | "moodHappy" | "moodJoyful" | "moodMoody" | "moodSad" | "moodShoked" | "moodSly" | "moodSmirking" | "moodSurprised" | "absence" | "anniversary" | "awardRibbon" | "banknote" | "battery" | "bell" | "binders" | "biscuit" | "bookmark" | "books" | "bronzeMedal" | "building" | "bulb" | "calculator" | "calendar" | "camera" | "charts" | "chat" | "checkmark" | "chemistry" | "clipboard" | "clock" | "coffee" | "cup" | "diamond" | "equity" | "error" | "export" | "file" | "fish" | "folder" | "gear" | "gift" | "goldMedal" | "graduate" | "growth" | "hearth" | "home" | "hourglass" | "import" | "invoice" | "jigsaw" | "link" | "lock" | "magnifyingGlass" | "mail" | "map" | "mapPin" | "medical" | "megaphone" | "mix" | "mobile" | "multipleReceipts" | "newbie" | "newsFeed" | "office" | "outside" | "paint" | "paperplane" | "party" | "paymentCards" | "payslip" | "pen" | "percent" | "phone" | "picture" | "polaroid" | "receipt" | "recruit" | "reload" | "restaurant" | "rocket" | "save" | "screwdriver" | "security" | "silverMedal" | "sliders" | "speed" | "stopwatch" | "subjects" | "survey" | "target" | "tasklist" | "temperature" | "thumbtack" | "thumbUp" | "timer" | "trash" | "userID" | "video" | "warning" | "widget">;
|
|
47
|
+
readonly action: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
48
|
+
readonly iconOrIllustration: _angular_core.Signal<"moodAngry" | "moodBored" | "moodHappy" | "moodJoyful" | "moodMoody" | "moodSad" | "moodShoked" | "moodSly" | "moodSmirking" | "moodSurprised" | "absence" | "anniversary" | "awardRibbon" | "banknote" | "battery" | "bell" | "binders" | "biscuit" | "bookmark" | "books" | "bronzeMedal" | "building" | "bulb" | "calculator" | "calendar" | "camera" | "charts" | "chat" | "checkmark" | "chemistry" | "clipboard" | "clock" | "coffee" | "cup" | "diamond" | "equity" | "error" | "export" | "file" | "fish" | "folder" | "gear" | "gift" | "goldMedal" | "graduate" | "growth" | "hearth" | "home" | "hourglass" | "import" | "invoice" | "jigsaw" | "link" | "lock" | "magnifyingGlass" | "mail" | "map" | "mapPin" | "medical" | "megaphone" | "mix" | "mobile" | "multipleReceipts" | "newbie" | "newsFeed" | "office" | "outside" | "paint" | "paperplane" | "party" | "paymentCards" | "payslip" | "pen" | "percent" | "phone" | "picture" | "polaroid" | "receipt" | "recruit" | "reload" | "restaurant" | "rocket" | "save" | "screwdriver" | "security" | "silverMedal" | "sliders" | "speed" | "stopwatch" | "subjects" | "survey" | "target" | "tasklist" | "temperature" | "thumbtack" | "thumbUp" | "timer" | "trash" | "userID" | "video" | "warning" | "widget">;
|
|
40
49
|
/**
|
|
41
|
-
*
|
|
50
|
+
* Which palette should be used for the empty state section.
|
|
51
|
+
* Defaults to none (inherits parent palette)
|
|
42
52
|
*/
|
|
43
|
-
readonly icon: _angular_core.InputSignal<string>;
|
|
44
53
|
readonly palette: _angular_core.InputSignal<Palette>;
|
|
45
54
|
readonly center: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
55
|
+
/**
|
|
56
|
+
* The title of the empty state section
|
|
57
|
+
*/
|
|
46
58
|
readonly heading: _angular_core.InputSignal<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The description of the empty state section
|
|
61
|
+
*/
|
|
47
62
|
readonly description: _angular_core.InputSignal<PortalContent>;
|
|
63
|
+
/**
|
|
64
|
+
* Define the aria level of the title
|
|
65
|
+
*/
|
|
48
66
|
readonly hx: _angular_core.InputSignalWithTransform<Hx, Hx | "1" | "2" | "3" | "4" | "5" | "6">;
|
|
49
67
|
readonly emptyStateClasses: _angular_core.Signal<{
|
|
50
68
|
[x: string]: boolean;
|
|
51
69
|
}>;
|
|
52
70
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmptyStateSectionComponent, never>;
|
|
53
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateSectionComponent, "lu-empty-state-section", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "center": { "alias": "center"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "hx": { "alias": "hx"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
71
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateSectionComponent, "lu-empty-state-section", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "illustration": { "alias": "illustration"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "center": { "alias": "center"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "hx": { "alias": "hx"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
54
72
|
}
|
|
55
73
|
|
|
56
74
|
export { EmptyStatePageComponent, EmptyStateSectionComponent };
|