@lucca-front/ng 21.1.0-rc.1 → 21.1.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/lucca-front-ng-api.mjs +45 -13
- 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 +1 -1
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +1 -119
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +13 -39
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +3 -33
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +2 -17
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +18 -20
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +7 -5
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +2 -0
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +3 -75
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +3 -3
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +37 -5
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +20 -32
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +18 -2
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +3 -3
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +1 -10
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +1 -17
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +66 -2
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +0 -12
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +3 -3
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +0 -3
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +7 -76
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +0 -3
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +5 -19
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +8 -9
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +34 -51
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +40 -88
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +5 -28
- 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 +26 -31
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +0 -3
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +1 -42
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +3 -3
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +0 -12
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +0 -15
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +6 -18
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +8 -37
- 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 +2 -8
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +10 -18
- 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 +9 -12
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +0 -3
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +1 -10
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +315 -203
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +0 -9
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +1 -25
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +1 -7
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +33 -1
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +9 -19
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +5 -12
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +1 -16
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +7 -7
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +2 -5
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +3 -9
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +1 -16
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +6 -21
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +12 -63
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +1 -25
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +0 -12
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +1 -7
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +16 -55
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +22 -6
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +25 -9
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +2 -32
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +5 -7
- package/schematics/action-icon/index.js +5 -4
- package/schematics/action-icon/migration.js +4 -3
- package/schematics/action-icon/migration.spec.js +8 -8
- package/schematics/alignment-utilities/index.js +4 -3
- package/schematics/alignment-utilities/migration.spec.js +8 -8
- package/schematics/cdn-urls/index.js +4 -3
- package/schematics/cdn-urls/migration.js +9 -7
- package/schematics/cdn-urls/migration.spec.js +8 -8
- package/schematics/class-prefix/index.js +4 -3
- package/schematics/class-prefix/migration.spec.js +8 -8
- package/schematics/collection.json +0 -10
- package/schematics/color-text/index.js +4 -3
- package/schematics/color-text/migration.spec.js +8 -8
- package/schematics/component-path/index.js +4 -3
- package/schematics/component-path/migration.spec.js +8 -8
- package/schematics/empty-state-title/index.js +7 -5
- package/schematics/empty-state-title/migration.spec.js +5 -5
- package/schematics/lib/schematic.utils.js +0 -5
- package/schematics/lu-button/index.js +4 -3
- package/schematics/lu-button/migration.js +11 -5
- package/schematics/lu-button/migration.spec.js +5 -5
- package/schematics/lu-icon/index.js +4 -3
- package/schematics/lu-icon/migration.js +14 -8
- package/schematics/lu-icon/migration.spec.js +5 -5
- package/schematics/lu-select/index.js +4 -3
- package/schematics/lu-select/migration.js +21 -18
- package/schematics/lu-select/migration.spec.js +5 -5
- package/schematics/lu-select/util.js +19 -17
- package/schematics/lu-text-input/index.js +4 -3
- package/schematics/lu-text-input/migration.js +28 -22
- package/schematics/lu-text-input/migration.spec.js +5 -5
- package/schematics/new-icons/index.js +6 -5
- package/schematics/new-icons/migration.js +16 -11
- package/schematics/new-icons/migration.spec.js +8 -8
- package/schematics/palettes/index.js +4 -3
- package/schematics/palettes/migration.spec.js +8 -8
- package/schematics/tokens-radius/index.js +4 -3
- package/schematics/tokens-radius/migration.spec.js +8 -8
- package/schematics/tokens-spacing/index.js +4 -3
- package/schematics/tokens-spacing/migration.spec.js +8 -8
- package/schematics/tokens-typo/index.js +4 -3
- package/schematics/tokens-typo/migration.spec.js +8 -8
- package/src/components/cdk/_overlay.scss +0 -5
- package/src/definitions/option/_option-item.scss +0 -1
- package/types/lucca-front-ng-api.d.ts +19 -1
- package/types/lucca-front-ng-breadcrumbs.d.ts +1 -1
- package/types/lucca-front-ng-button.d.ts +1 -61
- package/types/lucca-front-ng-callout.d.ts +2 -32
- package/types/lucca-front-ng-chip.d.ts +2 -32
- package/types/lucca-front-ng-clear.d.ts +5 -20
- package/types/lucca-front-ng-comment.d.ts +11 -19
- package/types/lucca-front-ng-container.d.ts +4 -4
- package/types/lucca-front-ng-core-select.d.ts +1 -2
- package/types/lucca-front-ng-core.d.ts +3 -18
- package/types/lucca-front-ng-date.d.ts +19 -1
- package/types/lucca-front-ng-date2.d.ts +1 -2
- package/types/lucca-front-ng-department.d.ts +10 -1
- package/types/lucca-front-ng-divider.d.ts +0 -10
- package/types/lucca-front-ng-empty-state.d.ts +0 -16
- package/types/lucca-front-ng-establishment.d.ts +37 -1
- package/types/lucca-front-ng-fancy-box.d.ts +0 -12
- package/types/lucca-front-ng-footer.d.ts +0 -3
- package/types/lucca-front-ng-form-field.d.ts +4 -34
- package/types/lucca-front-ng-form-header.d.ts +0 -3
- package/types/lucca-front-ng-form.d.ts +5 -9
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +0 -1
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +0 -2
- package/types/lucca-front-ng-forms.d.ts +4 -16
- package/types/lucca-front-ng-gauge.d.ts +0 -25
- package/types/lucca-front-ng-grid.d.ts +1 -1
- package/types/lucca-front-ng-highlight-data.d.ts +15 -36
- package/types/lucca-front-ng-horizontal-navigation.d.ts +0 -3
- package/types/lucca-front-ng-icon.d.ts +1 -32
- package/types/lucca-front-ng-inline-message.d.ts +0 -12
- package/types/lucca-front-ng-link.d.ts +0 -15
- package/types/lucca-front-ng-listbox.d.ts +4 -16
- package/types/lucca-front-ng-listing.d.ts +2 -33
- package/types/lucca-front-ng-main-layout.d.ts +0 -6
- package/types/lucca-front-ng-mobile-push.d.ts +0 -7
- package/types/lucca-front-ng-new-badge.d.ts +0 -3
- package/types/lucca-front-ng-numeric-badge.d.ts +0 -9
- package/types/lucca-front-ng-option.d.ts +141 -78
- package/types/lucca-front-ng-page-header.d.ts +0 -9
- package/types/lucca-front-ng-pagination.d.ts +0 -24
- package/types/lucca-front-ng-plg-push.d.ts +0 -6
- package/types/lucca-front-ng-popover.d.ts +20 -1
- package/types/lucca-front-ng-popover2.d.ts +3 -5
- package/types/lucca-front-ng-progress-bar.d.ts +0 -9
- package/types/lucca-front-ng-read-more.d.ts +1 -16
- package/types/lucca-front-ng-resource-card.d.ts +0 -6
- package/types/lucca-front-ng-scroll-box.d.ts +1 -4
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +1 -7
- package/types/lucca-front-ng-segmented-control.d.ts +1 -16
- package/types/lucca-front-ng-skeleton.d.ts +6 -61
- package/types/lucca-front-ng-sortable-list.d.ts +0 -24
- package/types/lucca-front-ng-status-badge.d.ts +0 -12
- package/types/lucca-front-ng-tag.d.ts +0 -6
- package/types/lucca-front-ng-time.d.ts +10 -16
- package/types/lucca-front-ng-tooltip.d.ts +11 -2
- package/types/lucca-front-ng-user.d.ts +11 -2
- package/types/lucca-front-ng-vertical-navigation.d.ts +0 -30
- package/fesm2022/lucca-front-ng-text-flow.mjs +0 -20
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +0 -1
- package/schematics/lib/index.js +0 -29
- package/schematics/lu-container/index.js +0 -23
- package/schematics/lu-container/migration.js +0 -116
- package/schematics/lu-container/migration.spec.js +0 -23
- package/schematics/lu-container/schema.json +0 -23
- package/schematics/lu-loading/index.js +0 -23
- package/schematics/lu-loading/migration.js +0 -136
- package/schematics/lu-loading/migration.spec.js +0 -23
- package/schematics/lu-loading/schema.json +0 -28
- package/types/lucca-front-ng-text-flow.d.ts +0 -8
|
@@ -1,52 +1,26 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class SkeletonButtonComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Applies dark color for skeleton
|
|
6
|
-
*/
|
|
7
4
|
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
8
|
-
/**
|
|
9
|
-
* Changes the size of the skeleton button
|
|
10
|
-
*/
|
|
11
5
|
readonly size: _angular_core.InputSignal<"XS" | "S" | "M">;
|
|
12
6
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonButtonComponent, never>;
|
|
13
7
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonButtonComponent, "lu-skeleton-button", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
8
|
}
|
|
15
9
|
|
|
16
|
-
type ColAlignDataTable = 'start' | 'center' | 'end';
|
|
17
10
|
declare class SkeletonDataTableComponent {
|
|
18
|
-
/**
|
|
19
|
-
* Skeleton only show in data table body
|
|
20
|
-
*/
|
|
21
11
|
readonly dataTableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
-
/**
|
|
23
|
-
* Defines the number of cols (5 by default)
|
|
24
|
-
*/
|
|
25
12
|
readonly cols: _angular_core.InputSignal<number>;
|
|
26
|
-
readonly colsAlign: _angular_core.InputSignal<Record<number, ColAlignDataTable>>;
|
|
27
|
-
/**
|
|
28
|
-
* Defines the number of row (8 by default)
|
|
29
|
-
*/
|
|
30
|
-
readonly rows: _angular_core.InputSignal<number>;
|
|
31
13
|
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
14
|
+
readonly rows: _angular_core.InputSignal<number>;
|
|
32
15
|
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
33
16
|
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
34
17
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonDataTableComponent, never>;
|
|
35
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
19
|
}
|
|
37
20
|
|
|
38
21
|
declare class SkeletonFieldComponent {
|
|
39
|
-
/**
|
|
40
|
-
* Applies dark color for skeleton
|
|
41
|
-
*/
|
|
42
22
|
readonly dark: _angular_core.InputSignalWithTransform<boolean, boolean | "false" | "true">;
|
|
43
|
-
/**
|
|
44
|
-
* Hide the field label skeleton
|
|
45
|
-
*/
|
|
46
23
|
readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, boolean | "false" | "true">;
|
|
47
|
-
/**
|
|
48
|
-
* Defines the number of row
|
|
49
|
-
*/
|
|
50
24
|
readonly rows: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
51
25
|
readonly lines: _angular_core.Signal<unknown[]>;
|
|
52
26
|
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
@@ -55,40 +29,23 @@ declare class SkeletonFieldComponent {
|
|
|
55
29
|
}
|
|
56
30
|
|
|
57
31
|
declare class SkeletonHeaderComponent {
|
|
58
|
-
/**
|
|
59
|
-
* Applies dark color for skeleton
|
|
60
|
-
*/
|
|
61
32
|
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
62
33
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonHeaderComponent, never>;
|
|
63
34
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHeaderComponent, "lu-skeleton-header", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
64
35
|
}
|
|
65
36
|
|
|
66
|
-
type ColAlignIndexTable = 'start' | 'center' | 'end';
|
|
67
37
|
declare class SkeletonIndexTableComponent {
|
|
68
|
-
/**
|
|
69
|
-
* Skeleton only show in index table body
|
|
70
|
-
*/
|
|
71
38
|
readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
72
|
-
/**
|
|
73
|
-
* Defines the number of cols (5 by default)
|
|
74
|
-
*/
|
|
75
39
|
readonly cols: _angular_core.InputSignal<number>;
|
|
76
|
-
readonly
|
|
77
|
-
/**
|
|
78
|
-
* Defines the number of row (8 by default)
|
|
79
|
-
*/
|
|
40
|
+
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
80
41
|
readonly rows: _angular_core.InputSignal<number>;
|
|
81
42
|
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
82
|
-
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
83
43
|
readonly getRandomPercent: (min?: number, max?: number) => string;
|
|
84
44
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonIndexTableComponent, never>;
|
|
85
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "
|
|
45
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
86
46
|
}
|
|
87
47
|
|
|
88
48
|
declare class SkeletonResourceCardComponent {
|
|
89
|
-
/**
|
|
90
|
-
* Defines the number of description lines in resource card
|
|
91
|
-
*/
|
|
92
49
|
descriptionLines: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
93
50
|
readonly lines: _angular_core.Signal<unknown[]>;
|
|
94
51
|
getRandomPercent: (min?: number, max?: number) => string;
|
|
@@ -96,27 +53,15 @@ declare class SkeletonResourceCardComponent {
|
|
|
96
53
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonResourceCardComponent, "lu-skeleton-resource-card", never, { "descriptionLines": { "alias": "descriptionLines"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
97
54
|
}
|
|
98
55
|
|
|
99
|
-
type ColAlignTable = 'start' | 'center' | 'end';
|
|
100
56
|
declare class SkeletonTableComponent {
|
|
101
|
-
/**
|
|
102
|
-
* Skeleton only show in table body
|
|
103
|
-
*/
|
|
104
57
|
readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
105
|
-
/**
|
|
106
|
-
* Defines the number of cols (5 by default)
|
|
107
|
-
*/
|
|
108
58
|
readonly cols: _angular_core.InputSignal<number>;
|
|
109
|
-
readonly colsAlign: _angular_core.InputSignal<Record<number, ColAlignTable>>;
|
|
110
|
-
/**
|
|
111
|
-
* Defines the number of row (8 by default)
|
|
112
|
-
*/
|
|
113
|
-
readonly rows: _angular_core.InputSignal<number>;
|
|
114
59
|
readonly colsNumber: _angular_core.Signal<unknown[]>;
|
|
60
|
+
readonly rows: _angular_core.InputSignal<number>;
|
|
115
61
|
readonly rowsNumber: _angular_core.Signal<unknown[]>;
|
|
116
62
|
readonly randomPercent: string;
|
|
117
63
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonTableComponent, never>;
|
|
118
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
119
65
|
}
|
|
120
66
|
|
|
121
67
|
export { SkeletonButtonComponent, SkeletonDataTableComponent, SkeletonFieldComponent, SkeletonHeaderComponent, SkeletonIndexTableComponent, SkeletonResourceCardComponent, SkeletonTableComponent };
|
|
122
|
-
export type { ColAlignDataTable, ColAlignIndexTable, ColAlignTable };
|
|
@@ -1,42 +1,18 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class SortableListItemComponent {
|
|
4
|
-
/**
|
|
5
|
-
* Changes the text displayed by the sortable list item
|
|
6
|
-
*/
|
|
7
4
|
label: _angular_core.InputSignal<string>;
|
|
8
|
-
/**
|
|
9
|
-
* Adds descriptive help text below the label
|
|
10
|
-
*/
|
|
11
5
|
helperMessage: _angular_core.InputSignal<string>;
|
|
12
|
-
/**
|
|
13
|
-
* Sortable list item can be clickable
|
|
14
|
-
*/
|
|
15
6
|
clickable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
16
|
-
/**
|
|
17
|
-
* Disabled the possibility to clear the sortable list item
|
|
18
|
-
*/
|
|
19
7
|
unclearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
|
-
/**
|
|
21
|
-
* Sortable list item can be draggable
|
|
22
|
-
*/
|
|
23
8
|
drag: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
|
-
/**
|
|
25
|
-
* Applies small size to segmented control tabs
|
|
26
|
-
*/
|
|
27
9
|
small: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
|
-
/**
|
|
29
|
-
* Emit event when click on clear
|
|
30
|
-
*/
|
|
31
10
|
delete: _angular_core.OutputEmitterRef<void>;
|
|
32
11
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SortableListItemComponent, never>;
|
|
33
12
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SortableListItemComponent, "lu-sortable-list-item", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "helperMessage": { "alias": "helperMessage"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "unclearable": { "alias": "unclearable"; "required": false; "isSignal": true; }; "drag": { "alias": "drag"; "required": false; "isSignal": true; }; "small": { "alias": "small"; "required": false; "isSignal": true; }; }, { "delete": "delete"; }, never, never, true, never>;
|
|
34
13
|
}
|
|
35
14
|
|
|
36
15
|
declare class SortableListComponent {
|
|
37
|
-
/**
|
|
38
|
-
* Applies small size to sortable list
|
|
39
|
-
*/
|
|
40
16
|
small: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
41
17
|
sortableListItems: _angular_core.Signal<readonly SortableListItemComponent[]>;
|
|
42
18
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SortableListComponent, never>;
|
|
@@ -4,21 +4,9 @@ import { Palette } from '@lucca-front/ng/core';
|
|
|
4
4
|
|
|
5
5
|
declare class StatusBadgeComponent implements OnChanges {
|
|
6
6
|
#private;
|
|
7
|
-
/**
|
|
8
|
-
* Truncates the text with an ellipsis and adds a tooltip when the label is too long
|
|
9
|
-
*/
|
|
10
7
|
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
11
|
-
/**
|
|
12
|
-
* Changes the text displayed by the status badge
|
|
13
|
-
*/
|
|
14
8
|
readonly label: _angular_core.InputSignal<string>;
|
|
15
|
-
/**
|
|
16
|
-
* Changes the size of the status badge (Medium by default or L)
|
|
17
|
-
*/
|
|
18
9
|
readonly size: _angular_core.InputSignal<"L" | "M">;
|
|
19
|
-
/**
|
|
20
|
-
* Applies a color palette to the status badge
|
|
21
|
-
*/
|
|
22
10
|
readonly palette: _angular_core.InputSignal<Palette>;
|
|
23
11
|
ngOnChanges(): void;
|
|
24
12
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatusBadgeComponent, never>;
|
|
@@ -29,13 +29,7 @@ declare class TagComponent {
|
|
|
29
29
|
* Defaults to no icon.
|
|
30
30
|
*/
|
|
31
31
|
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
32
|
-
/**
|
|
33
|
-
* Truncates the text with an ellipsis and adds a tooltip when the label is too long
|
|
34
|
-
*/
|
|
35
32
|
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
36
|
-
/**
|
|
37
|
-
* Applies AI colors
|
|
38
|
-
*/
|
|
39
33
|
readonly AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
40
34
|
readonly tagClasses: _angular_core.Signal<{
|
|
41
35
|
[x: string]: boolean;
|
|
@@ -11,21 +11,16 @@ type PickerControlDirection = 'up' | 'down';
|
|
|
11
11
|
|
|
12
12
|
declare class TimePickerPartComponent {
|
|
13
13
|
private locale;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
label: _angular_core.InputSignal<string>;
|
|
15
|
+
decimalConf: _angular_core.InputSignal<string>;
|
|
16
16
|
value: ModelSignal<number | '––'>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
readonly focused: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
-
readonly maxDigits: _angular_core.InputSignal<number>;
|
|
26
|
-
readonly showZero: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
-
digitNumber: ModelSignal<number>;
|
|
28
|
-
isValueSet: ModelSignal<boolean>;
|
|
17
|
+
display: _angular_core.InputSignal<number | "––">;
|
|
18
|
+
max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
19
|
+
displayArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
isReadonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
hideValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
focused: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
24
|
prevRequest: _angular_core.OutputEmitterRef<void>;
|
|
30
25
|
nextRequest: _angular_core.OutputEmitterRef<void>;
|
|
31
26
|
inputControlClick: _angular_core.OutputEmitterRef<PickerControlDirection>;
|
|
@@ -44,7 +39,7 @@ declare class TimePickerPartComponent {
|
|
|
44
39
|
moveRequest(event: Event, direction: 'prev' | 'next'): void;
|
|
45
40
|
focus(): void;
|
|
46
41
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerPartComponent, never>;
|
|
47
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerPartComponent, "lu-time-picker-part", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "decimalConf": { "alias": "decimalConf"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "
|
|
42
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerPartComponent, "lu-time-picker-part", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "decimalConf": { "alias": "decimalConf"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "isReadonly": { "alias": "isReadonly"; "required": false; "isSignal": true; }; "hideValue": { "alias": "hideValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "prevRequest": "prevRequest"; "nextRequest": "nextRequest"; "inputControlClick": "inputControlClick"; "touched": "touched"; }, never, never, true, never>;
|
|
48
43
|
}
|
|
49
44
|
|
|
50
45
|
declare abstract class BasePickerComponent implements ControlValueAccessor {
|
|
@@ -89,7 +84,6 @@ declare class DurationPickerComponent extends BasePickerComponent {
|
|
|
89
84
|
protected readonly hours: _angular_core.Signal<number>;
|
|
90
85
|
protected readonly minutes: _angular_core.Signal<number>;
|
|
91
86
|
protected readonly shouldHideValue: _angular_core.Signal<boolean>;
|
|
92
|
-
protected readonly maxDigits: _angular_core.Signal<number>;
|
|
93
87
|
protected readonly pickerClasses: _angular_core.Signal<{
|
|
94
88
|
[x: string]: boolean;
|
|
95
89
|
timePicker: boolean;
|
|
@@ -21,6 +21,15 @@ declare class LuTooltipPanelComponent {
|
|
|
21
21
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuTooltipPanelComponent, "lu-tooltip-panel", never, {}, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use `LuTooltipPanelComponent` instead
|
|
26
|
+
*/
|
|
27
|
+
declare class LuTooltipPanelModule {
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipPanelModule, never>;
|
|
29
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipPanelModule, never, [typeof LuTooltipPanelComponent], [typeof LuTooltipPanelComponent]>;
|
|
30
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipPanelModule>;
|
|
31
|
+
}
|
|
32
|
+
|
|
24
33
|
declare class LuTooltipTriggerDirective implements OnDestroy {
|
|
25
34
|
#private;
|
|
26
35
|
readonly luTooltipInput: _angular_core.InputSignal<string | SafeHtml>;
|
|
@@ -75,8 +84,8 @@ declare class LuTooltipTriggerModule {
|
|
|
75
84
|
*/
|
|
76
85
|
declare class LuTooltipModule {
|
|
77
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipModule, never>;
|
|
78
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipModule, never, [typeof LuTooltipTriggerModule, typeof
|
|
87
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipModule, never, [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule], [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule]>;
|
|
79
88
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipModule>;
|
|
80
89
|
}
|
|
81
90
|
|
|
82
|
-
export { LuTooltipModule, LuTooltipPanelComponent, LuTooltipTriggerDirective, LuTooltipTriggerModule, luTransformTooltip };
|
|
91
|
+
export { LuTooltipModule, LuTooltipPanelComponent, LuTooltipPanelModule, LuTooltipTriggerDirective, LuTooltipTriggerModule, luTransformTooltip };
|
|
@@ -315,6 +315,15 @@ declare class LuUserHomonymsComponent<U extends ILuUser = ILuUser> implements IL
|
|
|
315
315
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserHomonymsComponent<any>, "lu-user-homonyms", never, {}, {}, never, never, true, never>;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
+
/**
|
|
319
|
+
* @deprecated use `LuUserHomonymsComponent` instead
|
|
320
|
+
*/
|
|
321
|
+
declare class LuUserHomonymsModule {
|
|
322
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserHomonymsModule, never>;
|
|
323
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LuUserHomonymsModule, never, [typeof LuUserHomonymsComponent], [typeof LuUserHomonymsComponent]>;
|
|
324
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserHomonymsModule>;
|
|
325
|
+
}
|
|
326
|
+
|
|
318
327
|
declare class LuUserMeOptionDirective<U extends ILuUser = ILuUser> implements ILuOptionOperator<U> {
|
|
319
328
|
private _vcr;
|
|
320
329
|
private _templateRef;
|
|
@@ -354,7 +363,7 @@ declare class LuUserMeOptionModule {
|
|
|
354
363
|
*/
|
|
355
364
|
declare class LuUserSelectModule {
|
|
356
365
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserSelectModule, never>;
|
|
357
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuUserSelectModule, never, [typeof LuUserSelectInputModule, typeof LuUserSearcherModule, typeof
|
|
366
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LuUserSelectModule, never, [typeof LuUserSelectInputModule, typeof LuUserSearcherModule, typeof LuUserHomonymsModule, typeof LuUserMeOptionModule], [typeof LuUserSelectInputModule, typeof LuUserSearcherModule, typeof LuUserHomonymsModule, typeof LuUserMeOptionModule]>;
|
|
358
367
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserSelectModule>;
|
|
359
368
|
}
|
|
360
369
|
|
|
@@ -380,5 +389,5 @@ declare class LuUserModule {
|
|
|
380
389
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserModule>;
|
|
381
390
|
}
|
|
382
391
|
|
|
383
|
-
export { ALuUserHomonymsService, ALuUserService, LU_DEFAULT_DISPLAY_POLICY, LU_USER_SEARCHER_TRANSLATIONS, LU_USER_SELECT_INPUT_TRANSLATIONS, LuDisplayFullname, LuDisplayHybrid, LuDisplayInitials, LuUserDisplayModule, LuUserDisplayPipe, LuUserHomonymsComponent, LuUserHomonymsService, LuUserMeOptionDirective, LuUserMeOptionModule, LuUserModule, LuUserPagedSearcherComponent, LuUserPictureComponent, LuUserPictureModule, LuUserSearcherModule, LuUserSelectInputComponent, LuUserSelectInputModule, LuUserSelectModule, LuUserTileComponent, LuUserTileModule, LuUserV3Service, luUserDisplay, luUserSearcherTranslations, luUserSelectInputTranslations, luUsersDisplay };
|
|
392
|
+
export { ALuUserHomonymsService, ALuUserService, LU_DEFAULT_DISPLAY_POLICY, LU_USER_SEARCHER_TRANSLATIONS, LU_USER_SELECT_INPUT_TRANSLATIONS, LuDisplayFullname, LuDisplayHybrid, LuDisplayInitials, LuUserDisplayModule, LuUserDisplayPipe, LuUserHomonymsComponent, LuUserHomonymsModule, LuUserHomonymsService, LuUserMeOptionDirective, LuUserMeOptionModule, LuUserModule, LuUserPagedSearcherComponent, LuUserPictureComponent, LuUserPictureModule, LuUserSearcherModule, LuUserSelectInputComponent, LuUserSelectInputModule, LuUserSelectModule, LuUserTileComponent, LuUserTileModule, LuUserV3Service, luUserDisplay, luUserSearcherTranslations, luUserSelectInputTranslations, luUsersDisplay };
|
|
384
393
|
export type { ILuUser, ILuUserHomonymsService, ILuUserSearcherLabel, ILuUserSelectInputLabel, ILuUserService, LuDisplayFormat, LuUserDisplayInput, LuUserDisplayMultipleOptions, LuUserDisplaySingleOptions, LuUserPictureUserInput, LuUserTileUserInput };
|
|
@@ -3,30 +3,15 @@ import { LuccaIcon } from '@lucca-front/icons';
|
|
|
3
3
|
import { PortalContent } from '@lucca-front/ng/core';
|
|
4
4
|
|
|
5
5
|
declare class VerticalNavigationLinkComponent {
|
|
6
|
-
/**
|
|
7
|
-
* adds an icon to the vertical navigation link
|
|
8
|
-
*/
|
|
9
6
|
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
10
|
-
/**
|
|
11
|
-
* Disabled the vertical navigation link
|
|
12
|
-
*/
|
|
13
7
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14
8
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VerticalNavigationLinkComponent, never>;
|
|
15
9
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VerticalNavigationLinkComponent, "span[luVerticalNavigationLink], a[luVerticalNavigationLink]", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
10
|
}
|
|
17
11
|
|
|
18
12
|
declare class VerticalNavigationGroupComponent {
|
|
19
|
-
/**
|
|
20
|
-
* Changes the text displayed by the vertical navigation group
|
|
21
|
-
*/
|
|
22
13
|
readonly label: _angular_core.InputSignal<PortalContent>;
|
|
23
|
-
/**
|
|
24
|
-
* Adds an icon to the vertical navigation group
|
|
25
|
-
*/
|
|
26
14
|
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
27
|
-
/**
|
|
28
|
-
* Disabled the vertical navigation group
|
|
29
|
-
*/
|
|
30
15
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
16
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
32
17
|
toggleExpanded(): void;
|
|
@@ -35,13 +20,7 @@ declare class VerticalNavigationGroupComponent {
|
|
|
35
20
|
}
|
|
36
21
|
|
|
37
22
|
declare class VerticalNavigationComponent {
|
|
38
|
-
/**
|
|
39
|
-
* Changes the heading title displayed by the vertical navigation
|
|
40
|
-
*/
|
|
41
23
|
readonly heading: _angular_core.InputSignal<PortalContent>;
|
|
42
|
-
/**
|
|
43
|
-
* Defines aria level for heading title
|
|
44
|
-
*/
|
|
45
24
|
readonly level: _angular_core.InputSignal<number>;
|
|
46
25
|
readonly verticalNavigationGroup: _angular_core.Signal<readonly VerticalNavigationGroupComponent[]>;
|
|
47
26
|
readonly verticalNavigationLinks: _angular_core.Signal<readonly VerticalNavigationLinkComponent[]>;
|
|
@@ -51,17 +30,8 @@ declare class VerticalNavigationComponent {
|
|
|
51
30
|
}
|
|
52
31
|
|
|
53
32
|
declare class VerticalNavigationItemComponent {
|
|
54
|
-
/**
|
|
55
|
-
* Changes the text displayed by the vertical navigation item
|
|
56
|
-
*/
|
|
57
33
|
readonly label: _angular_core.InputSignal<string>;
|
|
58
|
-
/**
|
|
59
|
-
* Adds an icon to the vertical navigation item
|
|
60
|
-
*/
|
|
61
34
|
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
62
|
-
/**
|
|
63
|
-
* Disabled the vertical navigation item
|
|
64
|
-
*/
|
|
65
35
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
66
36
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
67
37
|
toggleExpanded(): void;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class TextFlowComponent {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TextFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", type: TextFlowComponent, isStandalone: true, selector: "lu-text-flow", host: { classAttribute: "textFlow" }, ngImport: i0, template: `<ng-content />`, isInline: true, styles: ["@layer components{.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7
|
-
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: TextFlowComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{ selector: 'lu-text-flow', template: `<ng-content />`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
11
|
-
class: 'textFlow',
|
|
12
|
-
}, styles: ["@layer components{.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"] }]
|
|
13
|
-
}] });
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Generated bundle index. Do not edit.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
export { TextFlowComponent };
|
|
20
|
-
//# sourceMappingURL=lucca-front-ng-text-flow.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-text-flow.mjs","sources":["../../../packages/ng/text-flow/text-flow.component.ts","../../../packages/ng/text-flow/lucca-front-ng-text-flow.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-text-flow',\n\ttemplate: `<ng-content />`,\n\tstyleUrl: './text-flow.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\tclass: 'textFlow',\n\t},\n})\nexport class TextFlowComponent {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAYa,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,8GARnB,CAAA,cAAA,CAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,uiBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAQd,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,SAAS;+BACC,cAAc,EAAA,QAAA,EACd,CAAA,cAAA,CAAgB,EAAA,aAAA,EAEX,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACL,wBAAA,KAAK,EAAE,UAAU;AACjB,qBAAA,EAAA,MAAA,EAAA,CAAA,uiBAAA,CAAA,EAAA;;;ACVF;;AAEG;;;;"}
|
package/schematics/lib/index.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./angular-component-ast"), exports);
|
|
18
|
-
__exportStar(require("./angular-template"), exports);
|
|
19
|
-
__exportStar(require("./component-mapper"), exports);
|
|
20
|
-
__exportStar(require("./css-mapper"), exports);
|
|
21
|
-
__exportStar(require("./file-update"), exports);
|
|
22
|
-
__exportStar(require("./html-ast"), exports);
|
|
23
|
-
__exportStar(require("./lf-schematic-context"), exports);
|
|
24
|
-
__exportStar(require("./migration-test"), exports);
|
|
25
|
-
__exportStar(require("./schematic.utils"), exports);
|
|
26
|
-
__exportStar(require("./schematics"), exports);
|
|
27
|
-
__exportStar(require("./scss-ast"), exports);
|
|
28
|
-
__exportStar(require("./scss-value-ast"), exports);
|
|
29
|
-
__exportStar(require("./typescript-ast"), exports);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const typescript_1 = require("typescript");
|
|
4
|
-
const lib_1 = require("../lib");
|
|
5
|
-
const migration_1 = require("./migration");
|
|
6
|
-
// Nx need to see "@angular-devkit/schematics" in order to run this migration correctly (see https://github.com/nrwl/nx/blob/d9fed4b832bf01d1b9a44ae9e486a5e5cd2d2253/packages/nx/src/command-line/migrate/migrate.ts#L1729-L1738)
|
|
7
|
-
require('@angular-devkit/schematics');
|
|
8
|
-
exports.default = (options) => {
|
|
9
|
-
return async (tree, context) => {
|
|
10
|
-
await lib_1.currentSchematicContext.init(context, options);
|
|
11
|
-
tree.visit((path, entry) => {
|
|
12
|
-
if (path.includes('node_modules') || !entry) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
if (path.endsWith('.ts')) {
|
|
16
|
-
(0, lib_1.migrateFile)(path, entry, tree, (content) => {
|
|
17
|
-
const sourceFile = (0, typescript_1.createSourceFile)(path, content, typescript_1.ScriptTarget.ESNext);
|
|
18
|
-
return (0, migration_1.migrateComponent)(sourceFile, path, tree);
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.migrateComponent = migrateComponent;
|
|
4
|
-
const change_1 = require("@schematics/angular/utility/change");
|
|
5
|
-
const lib_1 = require("../lib");
|
|
6
|
-
function migrateComponent(sourceFile, path, tree) {
|
|
7
|
-
const htmlContainers = findHTMLContainers(sourceFile, path, tree);
|
|
8
|
-
if (htmlContainers.length > 0) {
|
|
9
|
-
const tsUpdate = tree.beginUpdate(path);
|
|
10
|
-
const isInlineTemplate = htmlContainers[0].filePath === path;
|
|
11
|
-
const templateUpdate = isInlineTemplate ? tsUpdate : tree.beginUpdate(htmlContainers[0].filePath);
|
|
12
|
-
htmlContainers.forEach((container) => {
|
|
13
|
-
const classesNode = container.node.attributes.find(attr => attr.name === 'class');
|
|
14
|
-
const containerNodeLength = container.node.name.length;
|
|
15
|
-
const hasAriaHidden = container.node.attributes.find(attr => attr.name === 'aria-hidden');
|
|
16
|
-
const hasStyle = container.node.attributes.find(attr => attr.name === 'style');
|
|
17
|
-
// remove element name attribute
|
|
18
|
-
templateUpdate.remove(container.nodeOffset + container.node.startSourceSpan.start.offset + 1, containerNodeLength);
|
|
19
|
-
if (classesNode && classesNode.keySpan) {
|
|
20
|
-
/**
|
|
21
|
-
* Add stuff
|
|
22
|
-
*/
|
|
23
|
-
let thingsToAdd = `lu-container${hasThingsToAdd(container.inputs) || hasAriaHidden || hasStyle ? '' : ' '}`;
|
|
24
|
-
if (container.inputs.center) {
|
|
25
|
-
thingsToAdd += ` center`;
|
|
26
|
-
}
|
|
27
|
-
if (container.inputs.overflow) {
|
|
28
|
-
thingsToAdd += ` overflow`;
|
|
29
|
-
}
|
|
30
|
-
if (container.inputs.max) {
|
|
31
|
-
thingsToAdd += ` max="${container.inputs.max}"`;
|
|
32
|
-
}
|
|
33
|
-
// with content
|
|
34
|
-
if (container.node.children.length > 0 && container.node.endSourceSpan) {
|
|
35
|
-
templateUpdate.remove(container.nodeOffset + container.node.endSourceSpan.start.offset + 1, containerNodeLength + 1);
|
|
36
|
-
templateUpdate.insertRight(container.nodeOffset + container.node.startSourceSpan.start.offset + 1, thingsToAdd);
|
|
37
|
-
templateUpdate.insertLeft(container.nodeOffset + container.node.endSourceSpan.start.offset + 1, '/lu-container');
|
|
38
|
-
}
|
|
39
|
-
// self closing
|
|
40
|
-
else {
|
|
41
|
-
const endSpanOffset = container.node.endSourceSpan?.start.offset || -1;
|
|
42
|
-
templateUpdate.remove(container.nodeOffset + container.node.startSourceSpan.end.offset, endSpanOffset - container.node.startSourceSpan.end.offset);
|
|
43
|
-
if (container.node.endSourceSpan?.start?.offset) {
|
|
44
|
-
templateUpdate.remove(container.nodeOffset + container.node.endSourceSpan?.start?.offset, container.node.endSourceSpan?.toString().length);
|
|
45
|
-
}
|
|
46
|
-
templateUpdate.insertRight(container.nodeOffset + container.node.startSourceSpan.start.offset + 1, thingsToAdd);
|
|
47
|
-
templateUpdate.insertRight(container.nodeOffset + container.node.startSourceSpan.end.offset - 1, `${hasThingsToAdd(container.inputs) || hasAriaHidden || hasStyle ? ' ' : ''}/`);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Modify classes
|
|
51
|
-
*/
|
|
52
|
-
if (classesNode && classesNode.keySpan) {
|
|
53
|
-
const classes = classesNode.value;
|
|
54
|
-
const cleanedClasses = classes.split(' ').filter(c => {
|
|
55
|
-
return ![`mod-max${container.inputs.max}`, `mod-overflow`, `mod-center`, `container`].includes(c);
|
|
56
|
-
}).join(' ');
|
|
57
|
-
templateUpdate.remove(container.nodeOffset + classesNode.keySpan.start.offset - 1, classesNode.sourceSpan.toString().length + 1);
|
|
58
|
-
if (cleanedClasses) {
|
|
59
|
-
templateUpdate.insertRight(container.nodeOffset + classesNode.keySpan.start.offset, `${hasThingsToAdd(container.inputs) || hasAriaHidden || hasStyle ? ' ' : ''}class="${cleanedClasses}"`);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
// Add import if needed
|
|
65
|
-
(0, change_1.applyToUpdateRecorder)(tsUpdate, [(0, lib_1.insertTSImportIfNeeded)(sourceFile, path, 'ContainerComponent', '@lucca-front/ng/container'), (0, lib_1.insertAngularImportIfNeeded)(sourceFile, path, 'ContainerComponent')]);
|
|
66
|
-
tree.commitUpdate(tsUpdate);
|
|
67
|
-
if (!isInlineTemplate) {
|
|
68
|
-
tree.commitUpdate(templateUpdate);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
return tree.readText(path);
|
|
72
|
-
}
|
|
73
|
-
function findHTMLContainers(sourceFile, basePath, tree) {
|
|
74
|
-
const htmlContainer = [];
|
|
75
|
-
const ngTemplates = (0, lib_1.extractNgTemplatesIncludingHtml)(sourceFile, tree, basePath);
|
|
76
|
-
ngTemplates.forEach((template) => {
|
|
77
|
-
const htmlAst = new lib_1.HtmlAst(template.content);
|
|
78
|
-
htmlAst.visitNodes((node) => {
|
|
79
|
-
if ((0, lib_1.isInterestingNode)(node)) {
|
|
80
|
-
const classes = node.attributes.find(attr => attr.name === 'class')?.value;
|
|
81
|
-
// match check if it's only "container" not container-custom ...
|
|
82
|
-
if (classes?.includes("container") && classes?.match(/(^|\s)container(\s|$)/)) {
|
|
83
|
-
const container = classes.split(' ').find(c => c.startsWith('container'));
|
|
84
|
-
if (container) {
|
|
85
|
-
const inputs = {
|
|
86
|
-
max: classes.split(' ').find(c => /mod-max(M|L|XL|XXL|XXXL)/.test(c))?.replace('mod-max', ''),
|
|
87
|
-
center: classes.includes('mod-center') ? true : undefined,
|
|
88
|
-
overflow: classes.includes('mod-overflow') ? true : undefined,
|
|
89
|
-
};
|
|
90
|
-
const container = {
|
|
91
|
-
node: node,
|
|
92
|
-
inputs,
|
|
93
|
-
nodeOffset: template.offsetStart,
|
|
94
|
-
filePath: template.filePath,
|
|
95
|
-
componentTS: sourceFile,
|
|
96
|
-
};
|
|
97
|
-
htmlContainer.push(container);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
return htmlContainer;
|
|
104
|
-
}
|
|
105
|
-
function hasThingsToAdd(inputs) {
|
|
106
|
-
if (inputs?.max) {
|
|
107
|
-
return true;
|
|
108
|
-
}
|
|
109
|
-
if (inputs?.overflow) {
|
|
110
|
-
return true;
|
|
111
|
-
}
|
|
112
|
-
if (inputs?.center) {
|
|
113
|
-
return true;
|
|
114
|
-
}
|
|
115
|
-
return false;
|
|
116
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const path = require("path");
|
|
4
|
-
const lib_1 = require("../lib");
|
|
5
|
-
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
6
|
-
const testsRoot = path.join(__dirname, 'tests');
|
|
7
|
-
describe('lu-container Migration', () => {
|
|
8
|
-
it('should handle basic case files', async () => {
|
|
9
|
-
// Arrange
|
|
10
|
-
const tree = (0, lib_1.createTreeFromFolder)(path.join(testsRoot, 'input'));
|
|
11
|
-
const expectedTree = (0, lib_1.createTreeFromFolder)(path.join(testsRoot, 'output'));
|
|
12
|
-
// Act
|
|
13
|
-
try {
|
|
14
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'lu-container', { skipInstallation: true }, tree);
|
|
15
|
-
}
|
|
16
|
-
catch (error) {
|
|
17
|
-
// eslint-disable-next-line no-console
|
|
18
|
-
console.log(error);
|
|
19
|
-
}
|
|
20
|
-
// Assert
|
|
21
|
-
(0, lib_1.expectTree)(tree).toMatchTree(expectedTree);
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "LuccaFrontLuContainer",
|
|
4
|
-
"title": "Migrate HTML Container to the new lu-container component",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"dryRun": {
|
|
8
|
-
"type": "boolean",
|
|
9
|
-
"description": "Run through the migration without making any changes.",
|
|
10
|
-
"default": false
|
|
11
|
-
},
|
|
12
|
-
"skipInstall": {
|
|
13
|
-
"type": "boolean",
|
|
14
|
-
"description": "Skip installing dependencies.",
|
|
15
|
-
"default": false
|
|
16
|
-
},
|
|
17
|
-
"verbose": {
|
|
18
|
-
"type": "boolean",
|
|
19
|
-
"description": "Enable verbose logging.",
|
|
20
|
-
"default": false
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|