@lucca-front/ng 21.1.0-split.0 → 21.1.1-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 +2 -2
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +13 -45
- 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 +5 -4
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +2 -2
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +2 -2
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +6 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.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 +35 -5
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +17 -2
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- 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 +5 -7
- 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 +2 -2
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +12 -19
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +5 -5
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +5 -37
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +70 -31
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +2 -18
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +13 -4
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +12 -3
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +9 -8
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +20 -4
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +2 -66
- 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 +8 -8
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- 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 +81 -11
- 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-forms-phone-number-input.mjs +10 -9
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +15 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +28 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +15 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +53 -36
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +97 -48
- 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-index-table.mjs +5 -5
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +14 -2
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +17 -2
- 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 +9 -2
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +18 -10
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +29 -18
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +18 -14
- 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 +12 -3
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +203 -315
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +11 -2
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +24 -0
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +7 -1
- 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 +23 -19
- 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 +18 -3
- 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 +7 -4
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +11 -5
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +18 -3
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +22 -7
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +71 -20
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +62 -0
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-sortable-list.mjs +24 -0
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +14 -2
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +8 -2
- 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 +60 -16
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +23 -22
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +2 -2
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +11 -27
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +32 -2
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +22 -14
- 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 +8 -10
- 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/html-ast.js +11 -3
- package/schematics/lib/index.js +29 -0
- 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/ng-add/file-content.js +6 -8
- package/schematics/ng-add/index.js +5 -5
- package/schematics/ng-add/tasks.js +22 -17
- 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 +1 -1
- package/types/lucca-front-ng-api.d.ts +1 -19
- package/types/lucca-front-ng-box.d.ts +2 -1
- package/types/lucca-front-ng-breadcrumbs.d.ts +1 -1
- package/types/lucca-front-ng-bubble-illustration.d.ts +1 -1
- package/types/lucca-front-ng-callout.d.ts +32 -2
- package/types/lucca-front-ng-chip.d.ts +32 -2
- package/types/lucca-front-ng-clear.d.ts +20 -5
- 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 +3 -2
- package/types/lucca-front-ng-date.d.ts +1 -19
- package/types/lucca-front-ng-date2.d.ts +21 -18
- package/types/lucca-front-ng-department.d.ts +1 -10
- package/types/lucca-front-ng-dialog.d.ts +6 -3
- package/types/lucca-front-ng-divider.d.ts +10 -0
- package/types/lucca-front-ng-empty-state.d.ts +18 -2
- package/types/lucca-front-ng-establishment.d.ts +1 -37
- package/types/lucca-front-ng-fancy-box.d.ts +12 -0
- package/types/lucca-front-ng-footer.d.ts +3 -0
- package/types/lucca-front-ng-form-field.d.ts +36 -5
- 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-phone-number-input.d.ts +1 -0
- package/types/lucca-front-ng-forms-rich-text-input-formatters-html.d.ts +7 -1
- package/types/lucca-front-ng-forms-rich-text-input-formatters-markdown.d.ts +11 -1
- package/types/lucca-front-ng-forms-rich-text-input-formatters-plain-text.d.ts +7 -1
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +2 -0
- package/types/lucca-front-ng-forms.d.ts +21 -9
- 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-inline-message.d.ts +12 -0
- package/types/lucca-front-ng-link.d.ts +15 -0
- 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 +7 -0
- package/types/lucca-front-ng-modal.d.ts +3 -1
- 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 +78 -141
- package/types/lucca-front-ng-page-header.d.ts +9 -0
- package/types/lucca-front-ng-pagination.d.ts +25 -1
- package/types/lucca-front-ng-plg-push.d.ts +7 -1
- package/types/lucca-front-ng-popover.d.ts +1 -20
- package/types/lucca-front-ng-popover2.d.ts +7 -4
- package/types/lucca-front-ng-progress-bar.d.ts +9 -0
- package/types/lucca-front-ng-read-more.d.ts +16 -1
- 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-skeleton.d.ts +61 -6
- package/types/lucca-front-ng-software-icon.d.ts +19 -0
- 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 +18 -12
- package/types/lucca-front-ng-tooltip.d.ts +2 -11
- package/types/lucca-front-ng-user.d.ts +2 -11
- package/types/lucca-front-ng-vertical-navigation.d.ts +30 -0
|
@@ -3,25 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const fs = require("fs");
|
|
4
4
|
const glob = require("glob");
|
|
5
5
|
const path = require("path");
|
|
6
|
-
const
|
|
6
|
+
const lib_1 = require("../lib");
|
|
7
7
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
8
8
|
const testsRoot = path.join(__dirname, 'tests');
|
|
9
9
|
const files = fs.readdirSync(testsRoot);
|
|
10
10
|
describe('Tokens typo Migration', () => {
|
|
11
11
|
it('should update files', async () => {
|
|
12
12
|
// Arrange
|
|
13
|
-
const tree = (0,
|
|
14
|
-
const expectedTree = (0,
|
|
13
|
+
const tree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.input.');
|
|
14
|
+
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
15
15
|
// Act
|
|
16
16
|
try {
|
|
17
|
-
await (0,
|
|
17
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstallation: true }, tree);
|
|
18
18
|
}
|
|
19
19
|
catch (error) {
|
|
20
20
|
// eslint-disable-next-line no-console
|
|
21
21
|
console.log(error);
|
|
22
22
|
}
|
|
23
23
|
// Assert
|
|
24
|
-
(0,
|
|
24
|
+
(0, lib_1.expectTree)(tree).toMatchTree(expectedTree);
|
|
25
25
|
});
|
|
26
26
|
// Use this to migrate @lucca-front/* packages
|
|
27
27
|
it.skip('should migrate @lucca-front/*', async () => {
|
|
@@ -33,10 +33,10 @@ describe('Tokens typo Migration', () => {
|
|
|
33
33
|
...glob.sync('packages/ng/**/*', { cwd: lfRoot, nodir: true, ignore: ['**/schematics/**'] }),
|
|
34
34
|
...glob.sync('stories/**', { cwd: lfRoot, nodir: true }),
|
|
35
35
|
];
|
|
36
|
-
const treeOriginalTree = (0,
|
|
37
|
-
const tree = (0,
|
|
36
|
+
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
37
|
+
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
38
38
|
// Act
|
|
39
|
-
await (0,
|
|
39
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstallation: true }, tree);
|
|
40
40
|
// Assert
|
|
41
41
|
tree.visit((p, entry) => {
|
|
42
42
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -33,12 +33,17 @@
|
|
|
33
33
|
|
|
34
34
|
> * {
|
|
35
35
|
flex-grow: 1;
|
|
36
|
+
min-inline-size: 0;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
&.mod-optionPicker {
|
|
39
40
|
min-inline-size: 13rem;
|
|
40
41
|
max-inline-size: 30rem;
|
|
41
42
|
}
|
|
43
|
+
|
|
44
|
+
&:has(> lu-select-panel) {
|
|
45
|
+
max-inline-size: 35rem !important;
|
|
46
|
+
}
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
.cdk-overlay-backdrop {
|
|
@@ -5,7 +5,7 @@ import { LuTranslation } from '@lucca-front/ng/core';
|
|
|
5
5
|
|
|
6
6
|
declare class LuSkipLinksComponent {
|
|
7
7
|
#private;
|
|
8
|
-
|
|
8
|
+
readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_a11y.ILuSkipLinksLabel, Partial<_lucca_front_ng_a11y.ILuSkipLinksLabel>>;
|
|
9
9
|
anchor(hash: string, e: Event): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSkipLinksComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuSkipLinksComponent, "lu-skip-links", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -122,15 +122,6 @@ declare class LuApiFeederComponent<T extends ILuApiItem = ILuApiItem> extends AL
|
|
|
122
122
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuApiFeederComponent<any>, "lu-api-feeder", never, { "standard": { "alias": "standard"; "required": false; }; "api": { "alias": "api"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, {}, never, never, true, never>;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
/**
|
|
126
|
-
* @deprecated use `LuApiFeederComponent` instead
|
|
127
|
-
*/
|
|
128
|
-
declare class LuApiFeederModule {
|
|
129
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuApiFeederModule, never>;
|
|
130
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuApiFeederModule, never, [typeof LuApiFeederComponent], [typeof LuApiFeederComponent]>;
|
|
131
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LuApiFeederModule>;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
125
|
type ILuApiOptionSearcher<T extends ILuApiItem = ILuApiItem> = ILuApiOptionFeeder<T>;
|
|
135
126
|
declare abstract class ALuApiOptionSearcher<T extends ILuApiItem = ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>> implements ILuApiOptionFeeder<T>, ILuOnOpenSubscriber {
|
|
136
127
|
protected _service: S;
|
|
@@ -291,15 +282,6 @@ declare class LuApiSearcherModule {
|
|
|
291
282
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuApiSearcherModule>;
|
|
292
283
|
}
|
|
293
284
|
|
|
294
|
-
/**
|
|
295
|
-
* @deprecated use `LuApiPagerComponent` instead
|
|
296
|
-
*/
|
|
297
|
-
declare class LuApiPagerModule {
|
|
298
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuApiPagerModule, never>;
|
|
299
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuApiPagerModule, never, [typeof LuApiPagerComponent], [typeof LuApiPagerComponent]>;
|
|
300
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LuApiPagerModule>;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
285
|
/**
|
|
304
286
|
* @deprecated use `LuApiSelectInputComponent` instead
|
|
305
287
|
*/
|
|
@@ -309,5 +291,5 @@ declare class LuApiSelectInputModule {
|
|
|
309
291
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuApiSelectInputModule>;
|
|
310
292
|
}
|
|
311
293
|
|
|
312
|
-
export { ALuApiOptionFeeder, ALuApiOptionPagedSearcher, ALuApiOptionPager, ALuApiOptionSearcher, ALuApiService, LuApiFeederComponent,
|
|
294
|
+
export { ALuApiOptionFeeder, ALuApiOptionPagedSearcher, ALuApiOptionPager, ALuApiOptionSearcher, ALuApiService, LuApiFeederComponent, LuApiHybridService, LuApiModule, LuApiPagedSearcherComponent, LuApiPagerComponent, LuApiSearcherComponent, LuApiSearcherModule, LuApiSelectInputComponent, LuApiSelectInputModule, LuApiSelectModule, LuApiV3Service, LuApiV4Service };
|
|
313
295
|
export type { ILuApiCollectionResponse, ILuApiFeederService, ILuApiItem, ILuApiOptionFeeder, ILuApiOptionPagedSearcher, ILuApiOptionPager, ILuApiOptionSearcher, ILuApiPagerService, ILuApiResponse, ILuApiService, ILuApiSuggestion };
|
|
@@ -5,8 +5,9 @@ declare class BoxComponent {
|
|
|
5
5
|
readonly neutral: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6
6
|
readonly killable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7
7
|
readonly withArrow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
8
|
+
readonly killed: _angular_core.OutputEmitterRef<void>;
|
|
8
9
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BoxComponent, never>;
|
|
9
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BoxComponent, "lu-box", never, { "toggle": { "alias": "toggle"; "required": false; "isSignal": true; }; "neutral": { "alias": "neutral"; "required": false; "isSignal": true; }; "killable": { "alias": "killable"; "required": false; "isSignal": true; }; "withArrow": { "alias": "withArrow"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BoxComponent, "lu-box", never, { "toggle": { "alias": "toggle"; "required": false; "isSignal": true; }; "neutral": { "alias": "neutral"; "required": false; "isSignal": true; }; "killable": { "alias": "killable"; "required": false; "isSignal": true; }; "withArrow": { "alias": "withArrow"; "required": false; "isSignal": true; }; }, { "killed": "killed"; }, never, ["*"], true, never>;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export { BoxComponent };
|
|
@@ -12,7 +12,7 @@ interface LuBreadcrumbsLabel {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
declare class BreadcrumbsComponent {
|
|
15
|
-
intl: _angular_core.InputSignalWithTransform<LuBreadcrumbsLabel, Partial<LuBreadcrumbsLabel>>;
|
|
15
|
+
readonly intl: _angular_core.InputSignalWithTransform<LuBreadcrumbsLabel, Partial<LuBreadcrumbsLabel>>;
|
|
16
16
|
readonly disableCompact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
17
|
readonly links: _angular_core.Signal<readonly BreadcrumbsLinkDirective[]>;
|
|
18
18
|
readonly isCompact: _angular_core.Signal<boolean>;
|
|
@@ -8,7 +8,7 @@ declare class BubbleIllustrationComponent {
|
|
|
8
8
|
readonly domain = "https://cdn.lucca.fr";
|
|
9
9
|
readonly path = "/transverse/prisme/visuals/bubble-illustration/";
|
|
10
10
|
readonly extension = ".svg";
|
|
11
|
-
readonly illustration: _angular_core.InputSignal<
|
|
11
|
+
readonly illustration: _angular_core.InputSignal<string>;
|
|
12
12
|
readonly palette: _angular_core.InputSignal<Palette | DecorativePalette>;
|
|
13
13
|
readonly size: _angular_core.InputSignal<"" | "S" | "L">;
|
|
14
14
|
readonly action: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -11,9 +11,23 @@ declare class CalloutActionsComponent {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
declare class CalloutDisclosureComponent {
|
|
14
|
+
/**
|
|
15
|
+
* The title of the disclosure callout
|
|
16
|
+
*/
|
|
14
17
|
readonly heading: _angular_core.InputSignal<PortalContent>;
|
|
18
|
+
/**
|
|
19
|
+
* Which icon should we display in the disclosure callout if any?
|
|
20
|
+
* Defaults to no icon.
|
|
21
|
+
*/
|
|
15
22
|
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
23
|
+
/**
|
|
24
|
+
* Which palette should be used for the entire disclosure callout.
|
|
25
|
+
* Defaults to none (inherits parent palette)
|
|
26
|
+
*/
|
|
16
27
|
readonly palette: _angular_core.InputSignal<Palette>;
|
|
28
|
+
/**
|
|
29
|
+
* Which size should the disclosure callout be? Defaults to medium
|
|
30
|
+
*/
|
|
17
31
|
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
18
32
|
/**
|
|
19
33
|
* State is a shorthand to set the icon and the palette to the recommended values for the icon and palette based on
|
|
@@ -23,12 +37,18 @@ declare class CalloutDisclosureComponent {
|
|
|
23
37
|
* state (so setting state to success and palette to warning will make the palette warning)
|
|
24
38
|
*/
|
|
25
39
|
readonly state: _angular_core.InputSignal<"success" | "warning" | "error">;
|
|
40
|
+
/**
|
|
41
|
+
* Is the disclosure callout is open by default
|
|
42
|
+
*/
|
|
26
43
|
readonly open: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
/**
|
|
45
|
+
* Emit boolean event when toggle disclosure callout opened
|
|
46
|
+
*/
|
|
47
|
+
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
27
48
|
readonly calloutPalette: _angular_core.Signal<string>;
|
|
28
49
|
readonly calloutClasses: _angular_core.Signal<{
|
|
29
50
|
[x: string]: boolean;
|
|
30
51
|
}>;
|
|
31
|
-
openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
32
52
|
onToggle(event: Event): void;
|
|
33
53
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutDisclosureComponent, never>;
|
|
34
54
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutDisclosureComponent, "lu-callout-disclosure", never, { "heading": { "alias": "heading"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, ["*"], true, never>;
|
|
@@ -45,7 +65,14 @@ declare class CalloutFeedbackItemComponent {
|
|
|
45
65
|
|
|
46
66
|
declare class CalloutFeedbackListComponent {
|
|
47
67
|
#private;
|
|
68
|
+
/**
|
|
69
|
+
* Which palette should be used for the entire feedback list callout.
|
|
70
|
+
* Defaults to none (inherits parent palette)
|
|
71
|
+
*/
|
|
48
72
|
readonly palette: _angular_core.InputSignal<Palette>;
|
|
73
|
+
/**
|
|
74
|
+
* Which size should the feedback list callout be? Defaults to medium
|
|
75
|
+
*/
|
|
49
76
|
readonly size: _angular_core.InputSignal<"M" | "S">;
|
|
50
77
|
constructor();
|
|
51
78
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutFeedbackListComponent, never>;
|
|
@@ -69,6 +96,9 @@ declare class CalloutPopoverComponent {
|
|
|
69
96
|
* Alternative for the button
|
|
70
97
|
*/
|
|
71
98
|
readonly buttonAlt: _angular_core.InputSignal<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Hide callout popover title if there is only one item
|
|
101
|
+
*/
|
|
72
102
|
readonly headingHiddenIfSingleItem: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
73
103
|
/**
|
|
74
104
|
* Palette for both the button and the popover content
|
|
@@ -124,7 +154,7 @@ interface LuCalloutLabel {
|
|
|
124
154
|
declare const luCalloutTranslations: LuTranslation<LuCalloutLabel>;
|
|
125
155
|
|
|
126
156
|
declare class CalloutComponent {
|
|
127
|
-
intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_callout.LuCalloutLabel, Partial<_lucca_front_ng_callout.LuCalloutLabel>>;
|
|
157
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_callout.LuCalloutLabel, Partial<_lucca_front_ng_callout.LuCalloutLabel>>;
|
|
128
158
|
/**
|
|
129
159
|
* The title of the callout
|
|
130
160
|
*/
|
|
@@ -8,16 +8,46 @@ interface ChipTranslate {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
declare class ChipComponent {
|
|
11
|
-
intl: _angular_core.InputSignalWithTransform<ChipTranslate, Partial<ChipTranslate>>;
|
|
11
|
+
readonly intl: _angular_core.InputSignalWithTransform<ChipTranslate, Partial<ChipTranslate>>;
|
|
12
|
+
/**
|
|
13
|
+
* Add an ellipsis if the text is too long
|
|
14
|
+
*/
|
|
12
15
|
readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
/**
|
|
17
|
+
* Makes the chip non-removable
|
|
18
|
+
*/
|
|
13
19
|
readonly unkillable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
/**
|
|
21
|
+
* Which palette should be used for the entire chip.
|
|
22
|
+
* Defaults to none (inherits parent palette)
|
|
23
|
+
*/
|
|
14
24
|
readonly palette: _angular_core.InputSignal<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Disabled the chip
|
|
27
|
+
*/
|
|
15
28
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
/**
|
|
30
|
+
* Which size should the chip be? Defaults or small
|
|
31
|
+
*/
|
|
16
32
|
readonly size: _angular_core.InputSignal<"S">;
|
|
33
|
+
/**
|
|
34
|
+
* State is a shorthand to set the icon and the palette to the recommended values for the icon and palette based on
|
|
35
|
+
* the provided state.
|
|
36
|
+
*
|
|
37
|
+
* If one of the icon or palette inputs are filled along with the state input, their values will have the priority over
|
|
38
|
+
* state (so setting state to success and palette to warning will make the palette warning)
|
|
39
|
+
*/
|
|
17
40
|
readonly state: _angular_core.InputSignal<"warning" | "critical">;
|
|
18
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Which icon should we display in the chip if any?
|
|
43
|
+
* Defaults to no icon.
|
|
44
|
+
*/
|
|
19
45
|
readonly icon: _angular_core.InputSignal<LuccaIcon>;
|
|
46
|
+
/**
|
|
47
|
+
* Emit event when button kill is click
|
|
48
|
+
*/
|
|
20
49
|
readonly kill: _angular_core.OutputEmitterRef<Event>;
|
|
50
|
+
readonly stateAlt: _angular_core.Signal<string>;
|
|
21
51
|
readonly isWarning: _angular_core.Signal<boolean>;
|
|
22
52
|
readonly isCritical: _angular_core.Signal<boolean>;
|
|
23
53
|
readonly displayedIcon: _angular_core.Signal<LuccaIcon>;
|
|
@@ -16,11 +16,26 @@ declare abstract class ALuClear<T> implements ILuClear<T> {
|
|
|
16
16
|
|
|
17
17
|
declare class ClearComponent<T> extends ALuClear<T> implements ILuClear<T> {
|
|
18
18
|
#private;
|
|
19
|
-
intl: _angular_core.InputSignalWithTransform<LuClearLabel, Partial<LuClearLabel>>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
readonly intl: _angular_core.InputSignalWithTransform<LuClearLabel, Partial<LuClearLabel>>;
|
|
20
|
+
/**
|
|
21
|
+
* Which size should the clear be? Defaults to small
|
|
22
|
+
*/
|
|
23
|
+
readonly size: _angular_core.InputSignal<"S">;
|
|
24
|
+
/**
|
|
25
|
+
* Disabled the clear
|
|
26
|
+
*/
|
|
27
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
/**
|
|
29
|
+
* Which palette should be used for the entire clear
|
|
30
|
+
*/
|
|
31
|
+
readonly palette: _angular_core.InputSignal<Palette>;
|
|
32
|
+
/**
|
|
33
|
+
* Change the clear colors for use on a dark background
|
|
34
|
+
*/
|
|
35
|
+
readonly inverted: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
36
|
+
/**
|
|
37
|
+
* Emit event when button clear is click
|
|
38
|
+
*/
|
|
24
39
|
onClear: EventEmitter<T>;
|
|
25
40
|
contentRef: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
26
41
|
constructor();
|
|
@@ -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;
|
|
@@ -135,7 +135,7 @@ declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
|
135
135
|
|
|
136
136
|
declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
137
137
|
protected selectableItem: CoreSelectPanelElement<any>;
|
|
138
|
-
|
|
138
|
+
readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
|
|
139
139
|
hasOptionItemClass: boolean;
|
|
140
140
|
optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;
|
|
141
141
|
option?: T;
|
|
@@ -249,6 +249,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
249
249
|
protected afterCloseFn?: () => void;
|
|
250
250
|
protected updatePositionFn?: () => void;
|
|
251
251
|
protected filterPillMode: boolean;
|
|
252
|
+
ignorePresentation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
252
253
|
selectParent$?: Subject<void>;
|
|
253
254
|
selectChildren$?: Subject<void>;
|
|
254
255
|
panelClosed: _angular_core.OutputEmitterRef<void>;
|
|
@@ -350,7 +351,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
350
351
|
onFilterPillOpened(): void;
|
|
351
352
|
onFilterPillClosed(): void;
|
|
352
353
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
|
|
353
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "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>;
|
|
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>;
|
|
354
355
|
static ngAcceptInputType_clearable: unknown;
|
|
355
356
|
}
|
|
356
357
|
|
|
@@ -127,15 +127,6 @@ declare class LuCalendarInputComponent<D> extends ALuInput<D> implements Control
|
|
|
127
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>;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
/**
|
|
131
|
-
* @deprecated use `LuCalendarInputComponent` instead
|
|
132
|
-
*/
|
|
133
|
-
declare class LuCalendarInputModule {
|
|
134
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuCalendarInputModule, never>;
|
|
135
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuCalendarInputModule, never, [typeof LuCalendarInputComponent], [typeof LuCalendarInputComponent]>;
|
|
136
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LuCalendarInputModule>;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
130
|
declare class LuDatePickerComponent<D = Date> extends ALuPickerPanel<D> {
|
|
140
131
|
private _adapter;
|
|
141
132
|
_value: D;
|
|
@@ -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 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { OnInit, ElementRef, Signal } from '@angular/core';
|
|
3
3
|
import { Palette, PortalContent } from '@lucca-front/ng/core';
|
|
4
4
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
5
|
-
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
|
+
import { ControlValueAccessor, Validator, NgControl, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
6
6
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
7
7
|
import { FilterPillInputComponent } from '@lucca-front/ng/filter-pills';
|
|
8
8
|
import { PopoverDirective } from '@lucca-front/ng/popover2';
|
|
@@ -210,6 +210,7 @@ type DateInputValidatorErrorType = {
|
|
|
210
210
|
declare class DateInputComponent extends AbstractDateComponent implements OnInit, ControlValueAccessor, Validator, FilterPillInputComponent {
|
|
211
211
|
#private;
|
|
212
212
|
parentInput: FilterPillInputComponent;
|
|
213
|
+
ngControl: NgControl;
|
|
213
214
|
autocomplete: _angular_core.InputSignal<AutoFill>;
|
|
214
215
|
placeholder: _angular_core.InputSignal<string>;
|
|
215
216
|
disableOverflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -265,38 +266,40 @@ declare const PremadeShortcuts: Record<string, (locale: string) => DateRange>;
|
|
|
265
266
|
declare class DateRangeInputComponent extends AbstractDateComponent implements OnInit, ControlValueAccessor, Validator, FilterPillInputComponent {
|
|
266
267
|
#private;
|
|
267
268
|
parentInput: FilterPillInputComponent;
|
|
268
|
-
hasTwoCalendars:
|
|
269
|
+
hasTwoCalendars: Signal<boolean>;
|
|
269
270
|
idSuffix: number;
|
|
270
|
-
startTextInputRef:
|
|
271
|
-
|
|
271
|
+
startTextInputRef: Signal<ElementRef<HTMLInputElement>>;
|
|
272
|
+
startUserTextInput: _angular_core.WritableSignal<string>;
|
|
273
|
+
endTextInputRef: Signal<ElementRef<HTMLInputElement>>;
|
|
274
|
+
endUserTextInput: _angular_core.WritableSignal<string>;
|
|
272
275
|
initialValue: _angular_core.WritableSignal<DateRange>;
|
|
273
276
|
selectedRange: _angular_core.WritableSignal<DateRange>;
|
|
274
277
|
dateHovered: _angular_core.WritableSignal<Date>;
|
|
275
278
|
placeholder: _angular_core.InputSignal<string>;
|
|
276
279
|
widthAuto: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
277
|
-
label: PortalContent
|
|
280
|
+
label: Signal<PortalContent | undefined>;
|
|
278
281
|
popoverPositions: ConnectionPositionPair[];
|
|
279
282
|
inputFocused: _angular_core.WritableSignal<boolean>;
|
|
280
283
|
editedField: _angular_core.WritableSignal<0 | 1 | -1>;
|
|
281
284
|
highlightedField: _angular_core.WritableSignal<0 | 1 | -1>;
|
|
282
285
|
shortcuts: _angular_core.InputSignal<readonly CalendarShortcut[]>;
|
|
283
286
|
autocomplete: _angular_core.InputSignal<AutoFill>;
|
|
284
|
-
protected currentRightDate:
|
|
285
|
-
protected currentStartDisplayDate:
|
|
286
|
-
protected currentEndDisplayDate:
|
|
287
|
-
calendars:
|
|
287
|
+
protected currentRightDate: Signal<Date>;
|
|
288
|
+
protected currentStartDisplayDate: Signal<Date>;
|
|
289
|
+
protected currentEndDisplayDate: Signal<Date>;
|
|
290
|
+
calendars: Signal<readonly Calendar2Component[]>;
|
|
288
291
|
combinedGetCellInfo: (date: Date, mode: CalendarMode) => CellStatus;
|
|
289
|
-
calendarRanges:
|
|
290
|
-
startLabel:
|
|
291
|
-
endLabel:
|
|
292
|
-
previousButton:
|
|
293
|
-
nextButton:
|
|
292
|
+
calendarRanges: Signal<DateRange[]>;
|
|
293
|
+
startLabel: Signal<string>;
|
|
294
|
+
endLabel: Signal<string>;
|
|
295
|
+
previousButton: Signal<ElementRef<Element>>;
|
|
296
|
+
nextButton: Signal<ElementRef<Element>>;
|
|
294
297
|
focusedCalendarIndex: _angular_core.WritableSignal<number>;
|
|
295
|
-
focusedCalendar:
|
|
298
|
+
focusedCalendar: Signal<Calendar2Component>;
|
|
296
299
|
isFilterPill: boolean;
|
|
297
300
|
get isWidthAuto(): boolean;
|
|
298
|
-
isFilterPillEmpty:
|
|
299
|
-
isFilterPillClearable:
|
|
301
|
+
isFilterPillEmpty: Signal<boolean>;
|
|
302
|
+
isFilterPillClearable: Signal<boolean>;
|
|
300
303
|
filterPillPopoverCloseFn?: () => void;
|
|
301
304
|
filterPillDisabled: _angular_core.WritableSignal<boolean>;
|
|
302
305
|
get isNavigationButtonFocused(): boolean;
|
|
@@ -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 };
|
|
@@ -143,7 +143,7 @@ type BaseLuDialogConfig<C, TData = LuDialogData<C>> = {
|
|
|
143
143
|
/**
|
|
144
144
|
* The size of the panel used for the dialog
|
|
145
145
|
*/
|
|
146
|
-
size?:
|
|
146
|
+
size?: LuDialogSize;
|
|
147
147
|
/**
|
|
148
148
|
* Should it be a modal (default), a drawer? a drawer from bottom?
|
|
149
149
|
*/
|
|
@@ -154,6 +154,7 @@ type BaseLuDialogConfig<C, TData = LuDialogData<C>> = {
|
|
|
154
154
|
panelClasses?: string[];
|
|
155
155
|
};
|
|
156
156
|
type LuDialogConfig<T, TData = LuDialogData<T>> = [TData] extends [never] ? Omit<BaseLuDialogConfig<T, TData>, 'data'> : BaseLuDialogConfig<T, TData>;
|
|
157
|
+
type LuDialogSize = 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL' | 'fitContent' | `maxContent` | 'fullScreen';
|
|
157
158
|
|
|
158
159
|
declare const DISMISSED_VALUE: {};
|
|
159
160
|
declare class LuDialogRef<C = unknown, TData = LuDialogData<C>> {
|
|
@@ -185,10 +186,12 @@ declare class LuDialogRef<C = unknown, TData = LuDialogData<C>> {
|
|
|
185
186
|
constructor(cdkRef: DialogRef<LuDialogResult<C> | typeof DISMISSED_VALUE, C>, config: LuDialogConfig<C, TData>);
|
|
186
187
|
dismiss(): void;
|
|
187
188
|
close(res: LuDialogResult<C>): void;
|
|
189
|
+
resize(size: LuDialogSize): void;
|
|
188
190
|
}
|
|
189
191
|
type LuDialogSelfRef<R> = {
|
|
190
192
|
dismiss(): void;
|
|
191
193
|
close(res: R): void;
|
|
194
|
+
resize(size: LuDialogSize): void;
|
|
192
195
|
};
|
|
193
196
|
|
|
194
197
|
declare function injectDialogData<TData>(): TData & ɵDialogDataFlag;
|
|
@@ -291,7 +294,7 @@ declare class DialogOpenDirective {
|
|
|
291
294
|
cdkConfigOverride?: _angular_cdk_dialog.DialogConfig<unknown, unknown, _angular_cdk_portal.BasePortalOutlet>;
|
|
292
295
|
canClose?: (comp: unknown) => boolean | rxjs.Observable<boolean>;
|
|
293
296
|
canCloseWithBackdrop?: boolean;
|
|
294
|
-
size?:
|
|
297
|
+
size?: _lucca_front_ng_dialog.LuDialogSize;
|
|
295
298
|
mode?: "default" | "drawer" | "drawer-from-bottom";
|
|
296
299
|
panelClasses?: string[];
|
|
297
300
|
}, "data">>;
|
|
@@ -301,4 +304,4 @@ declare class DialogOpenDirective {
|
|
|
301
304
|
}
|
|
302
305
|
|
|
303
306
|
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 };
|
|
304
|
-
export type { DialogFactoryConfig, DialogFactoryResult, DialogFactoryResultOptions, DialogRouteCloseTrigger, DialogRouteConfig, DialogRouteDialogConfig, DialogRouteDismissTrigger, LuDialogConfig, LuDialogData, LuDialogHeaderTranslations, LuDialogResult, LuDialogSelfRef, ɵDialogDataFlag, ɵDialogResultFlag };
|
|
307
|
+
export type { DialogFactoryConfig, DialogFactoryResult, DialogFactoryResultOptions, DialogRouteCloseTrigger, DialogRouteConfig, DialogRouteDialogConfig, DialogRouteDismissTrigger, LuDialogConfig, LuDialogData, LuDialogHeaderTranslations, LuDialogResult, LuDialogSelfRef, LuDialogSize, ɵDialogDataFlag, ɵDialogResultFlag };
|