@lucca-front/ng 21.4.1 → 21.4.3-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 +16 -23
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +18 -27
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +42 -42
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +4 -4
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +4 -5
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +9 -12
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +11 -19
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +8 -13
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +57 -90
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +12 -21
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +7 -11
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +3 -3
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +6 -9
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +25 -41
- 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-api.mjs +20 -28
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +14 -22
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +15 -21
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +9 -12
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +6 -9
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +34 -51
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +77 -109
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +18 -55
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +67 -105
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +43 -45
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +104 -186
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +25 -26
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +61 -87
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +5 -7
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +41 -42
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +29 -49
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +7 -10
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +35 -36
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +10 -17
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +50 -93
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +50 -78
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +7 -10
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +55 -90
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +4 -5
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +9 -15
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +3 -3
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +58 -58
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +20 -33
- 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 +3 -3
- 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 +6 -6
- 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 +3 -3
- 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 +91 -168
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +133 -237
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +13 -23
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +15 -24
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +15 -26
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-text.mjs +5 -7
- package/fesm2022/lucca-front-ng-highlight-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +23 -35
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +8 -13
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +48 -64
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +6 -9
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +24 -27
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +21 -49
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +17 -25
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +10 -14
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +5 -7
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +4 -5
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +23 -24
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +104 -145
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +4 -5
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +10 -14
- package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +10 -17
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +132 -136
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +7 -11
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +8 -13
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +6 -9
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +18 -19
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +23 -36
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +5 -7
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +11 -16
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +15 -27
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +15 -18
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +5 -7
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +10 -14
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +12 -18
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +8 -10
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +14 -14
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +20 -25
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +45 -64
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +11 -16
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +7 -11
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +10 -13
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +6 -9
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +7 -8
- package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +9 -15
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +83 -142
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +14 -27
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +13 -16
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +87 -80
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +13 -20
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +20 -22
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +77 -94
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +22 -32
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +8 -8
- package/schematics/action-icon/index.js +1 -34
- package/schematics/action-icon/migration.spec.js +5 -38
- package/schematics/alignment-utilities/migration.spec.js +5 -38
- package/schematics/cdn-urls/migration.spec.js +5 -38
- package/schematics/class-prefix/migration.spec.js +5 -38
- package/schematics/color-text/migration.spec.js +5 -38
- package/schematics/component-path/migration.spec.js +5 -38
- package/schematics/deprecated-resolver/migration.spec.js +3 -36
- package/schematics/empty-state-title/migration.spec.js +3 -36
- package/schematics/lib/css-mapper.js +3 -36
- package/schematics/lib/lf-schematic-context.js +1 -34
- package/schematics/lib/local-deps/postcss.js +1 -34
- package/schematics/lib/migration-test.js +3 -11
- package/schematics/lu-button/migration.spec.js +2 -35
- package/schematics/lu-container/migration.spec.js +2 -35
- package/schematics/lu-grid/migration.js +16 -24
- package/schematics/lu-grid/migration.spec.js +2 -35
- package/schematics/lu-icon/migration.spec.js +2 -35
- package/schematics/lu-loading/migration.spec.js +2 -35
- package/schematics/lu-select/migration.spec.js +2 -35
- package/schematics/lu-text-input/migration.spec.js +2 -35
- package/schematics/new-icons/index.js +2 -35
- package/schematics/new-icons/migration.spec.js +5 -38
- package/schematics/palettes/index.js +8 -28
- package/schematics/palettes/migration.spec.js +5 -38
- package/schematics/tokens-radius/migration.spec.js +5 -38
- package/schematics/tokens-spacing/migration.spec.js +5 -38
- package/schematics/tokens-typo/migration.spec.js +5 -38
- package/types/lucca-front-ng-core.d.ts +1 -20
- package/types/lucca-front-ng-dialog.d.ts +3 -4
- package/types/lucca-front-ng-file-upload.d.ts +1 -3
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +3 -3
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +1 -5
- package/types/lucca-front-ng-forms.d.ts +2 -12
- package/types/lucca-front-ng-input.d.ts +1 -2
- package/types/lucca-front-ng-multi-select.d.ts +1 -13
- package/types/lucca-front-ng-sortable-list.d.ts +1 -2
- package/types/lucca-front-ng-title.d.ts +5 -6
|
@@ -1,41 +1,8 @@
|
|
|
1
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const fs =
|
|
37
|
-
const glob =
|
|
38
|
-
const path =
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const glob = require("glob");
|
|
5
|
+
const path = require("path");
|
|
39
6
|
const lib_1 = require("../lib");
|
|
40
7
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
41
8
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -47,7 +14,7 @@ describe('New icons Migration', () => {
|
|
|
47
14
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
15
|
// Act
|
|
49
16
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', {
|
|
17
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', { skipInstallation: true }, tree);
|
|
51
18
|
}
|
|
52
19
|
catch (error) {
|
|
53
20
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +36,7 @@ describe('New icons Migration', () => {
|
|
|
69
36
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
37
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
38
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', {
|
|
39
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', { skipInstallation: true }, tree);
|
|
73
40
|
// Assert
|
|
74
41
|
tree.visit((p, entry) => {
|
|
75
42
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -9,20 +9,16 @@ exports.default = (options) => {
|
|
|
9
9
|
await lib_1.currentSchematicContext.init(context, options);
|
|
10
10
|
await new lib_1.CssMapper(tree, {
|
|
11
11
|
classes: {
|
|
12
|
-
|
|
13
|
-
'palette-
|
|
14
|
-
|
|
15
|
-
'
|
|
16
|
-
// Icon color classes — only `primary`/`secondary` existed
|
|
17
|
-
'icon-color-primary': 'icon-color-product',
|
|
18
|
-
'icon-color-secondary': 'icon-color-product',
|
|
19
|
-
// Text color utilities generated from the palette list
|
|
20
|
-
'u-text{Palette}': 'pr-u-text{Palette}',
|
|
21
|
-
'pr-u-text{Palette}': 'pr-u-text{Palette}',
|
|
22
|
-
'pr-u-colorText{Palette}': 'pr-u-colorText{Palette}',
|
|
12
|
+
'palette-grey': 'palette-neutral',
|
|
13
|
+
'palette-primary': 'palette-product',
|
|
14
|
+
'palette-secondary': 'palette-product',
|
|
15
|
+
'palette-lucca': 'palette-brand',
|
|
23
16
|
},
|
|
24
17
|
variables: {
|
|
25
|
-
'--palettes-
|
|
18
|
+
'--palettes-grey-{val}': `--palettes-neutral-{val}`,
|
|
19
|
+
'--palettes-primary-{val}': `--palettes-product-{val}`,
|
|
20
|
+
'--palettes-secondary-{val}': `--palettes-product-{val}`,
|
|
21
|
+
'--palettes-lucca-{val}': `--palettes-brand-{val}`,
|
|
26
22
|
'--colors-grey-{val}': `--palettes-neutral-{val}`,
|
|
27
23
|
'--colors-white-color': '--palettes-neutral-0',
|
|
28
24
|
'--colors-black-color': '--palettes-neutral-900',
|
|
@@ -40,13 +36,6 @@ exports.default = (options) => {
|
|
|
40
36
|
},
|
|
41
37
|
mixins: {}
|
|
42
38
|
}, {
|
|
43
|
-
// Deprecated palette -> new palette (used by both classes and CSS vars)
|
|
44
|
-
palette: {
|
|
45
|
-
grey: 'neutral',
|
|
46
|
-
primary: 'product',
|
|
47
|
-
secondary: 'product',
|
|
48
|
-
lucca: 'brand',
|
|
49
|
-
},
|
|
50
39
|
val: {
|
|
51
40
|
25: '25',
|
|
52
41
|
50: '50',
|
|
@@ -61,14 +50,5 @@ exports.default = (options) => {
|
|
|
61
50
|
900: '900'
|
|
62
51
|
}
|
|
63
52
|
}).run();
|
|
64
|
-
new lib_1.DeprecatedMapper(tree, {
|
|
65
|
-
modules: {},
|
|
66
|
-
types: {},
|
|
67
|
-
inputsOutputs: {
|
|
68
|
-
// The `lu-icon` component `color` input is not a CSS class, so it isn't handled by CssMapper.
|
|
69
|
-
// Deprecated `primary`/`secondary` values → `product` (handles both `color="primary"` and `[color]="'primary'"`).
|
|
70
|
-
'lu-icon': { color: { primary: 'product', secondary: 'product' } },
|
|
71
|
-
},
|
|
72
|
-
}).run();
|
|
73
53
|
};
|
|
74
54
|
};
|
|
@@ -1,41 +1,8 @@
|
|
|
1
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const fs =
|
|
37
|
-
const glob =
|
|
38
|
-
const path =
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const glob = require("glob");
|
|
5
|
+
const path = require("path");
|
|
39
6
|
const lib_1 = require("../lib");
|
|
40
7
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
41
8
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -47,7 +14,7 @@ describe('Palettes Migration', () => {
|
|
|
47
14
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
15
|
// Act
|
|
49
16
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', {
|
|
17
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', { skipInstallation: true }, tree);
|
|
51
18
|
}
|
|
52
19
|
catch (error) {
|
|
53
20
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +36,7 @@ describe('Palettes Migration', () => {
|
|
|
69
36
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
37
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
38
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', {
|
|
39
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', { skipInstallation: true }, tree);
|
|
73
40
|
// Assert
|
|
74
41
|
tree.visit((p, entry) => {
|
|
75
42
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -1,41 +1,8 @@
|
|
|
1
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const fs =
|
|
37
|
-
const glob =
|
|
38
|
-
const path =
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const glob = require("glob");
|
|
5
|
+
const path = require("path");
|
|
39
6
|
const lib_1 = require("../lib");
|
|
40
7
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
41
8
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -47,7 +14,7 @@ describe('Tokens radius Migration', () => {
|
|
|
47
14
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
15
|
// Act
|
|
49
16
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', {
|
|
17
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', { skipInstallation: true }, tree);
|
|
51
18
|
}
|
|
52
19
|
catch (error) {
|
|
53
20
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +36,7 @@ describe('Tokens radius Migration', () => {
|
|
|
69
36
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
37
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
38
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', {
|
|
39
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', { skipInstallation: true }, tree);
|
|
73
40
|
// Assert
|
|
74
41
|
tree.visit((p, entry) => {
|
|
75
42
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -1,41 +1,8 @@
|
|
|
1
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const fs =
|
|
37
|
-
const glob =
|
|
38
|
-
const path =
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const glob = require("glob");
|
|
5
|
+
const path = require("path");
|
|
39
6
|
const lib_1 = require("../lib");
|
|
40
7
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
41
8
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -47,7 +14,7 @@ describe('Tokens spacing Migration', () => {
|
|
|
47
14
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
15
|
// Act
|
|
49
16
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', {
|
|
17
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', { skipInstallation: true }, tree);
|
|
51
18
|
}
|
|
52
19
|
catch (error) {
|
|
53
20
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +36,7 @@ describe('Tokens spacing Migration', () => {
|
|
|
69
36
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
37
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
38
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', {
|
|
39
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', { skipInstallation: true }, tree);
|
|
73
40
|
// Assert
|
|
74
41
|
tree.visit((p, entry) => {
|
|
75
42
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -1,41 +1,8 @@
|
|
|
1
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const fs =
|
|
37
|
-
const glob =
|
|
38
|
-
const path =
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const glob = require("glob");
|
|
5
|
+
const path = require("path");
|
|
39
6
|
const lib_1 = require("../lib");
|
|
40
7
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
41
8
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -47,7 +14,7 @@ describe('Tokens typo Migration', () => {
|
|
|
47
14
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
48
15
|
// Act
|
|
49
16
|
try {
|
|
50
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', {
|
|
17
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstallation: true }, tree);
|
|
51
18
|
}
|
|
52
19
|
catch (error) {
|
|
53
20
|
// eslint-disable-next-line no-console
|
|
@@ -69,7 +36,7 @@ describe('Tokens typo Migration', () => {
|
|
|
69
36
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
70
37
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
71
38
|
// Act
|
|
72
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', {
|
|
39
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstallation: true }, tree);
|
|
73
40
|
// Assert
|
|
74
41
|
tree.visit((p, entry) => {
|
|
75
42
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -177,25 +177,6 @@ declare const isNotNil: <T>(value: T) => value is NonNullable<T>;
|
|
|
177
177
|
declare const isNilOrEmptyString: (str: string | Nil) => str is Nil | "";
|
|
178
178
|
declare const isNotNilOrEmptyString: (str: string | Nil) => str is string;
|
|
179
179
|
|
|
180
|
-
/**
|
|
181
|
-
* Reads the `--commons-pushPanel-inlineSize` design token — the inline-end space reserved for a
|
|
182
|
-
* docked panel that shrinks the page content — from the document root, in pixels.
|
|
183
|
-
* Returns 0 when the token is unset or cannot be parsed as a pixel length.
|
|
184
|
-
*/
|
|
185
|
-
declare function getPushPanelInlineSize(element: Element): number;
|
|
186
|
-
/**
|
|
187
|
-
* Builds a per-side viewport margin for a CDK `FlexibleConnectedPositionStrategy` so connected
|
|
188
|
-
* overlays (popovers, tooltips, selects…) are pushed out of the reserved pushPanel zone on the
|
|
189
|
-
* inline-end instead of overflowing into it. `base` is added to every side so an existing uniform
|
|
190
|
-
* margin is preserved.
|
|
191
|
-
*/
|
|
192
|
-
declare function getPushPanelViewportMargin(element: Element, base?: number): {
|
|
193
|
-
start: number;
|
|
194
|
-
end: number;
|
|
195
|
-
top: number;
|
|
196
|
-
bottom: number;
|
|
197
|
-
};
|
|
198
|
-
|
|
199
180
|
type PortalContent<T = unknown> = string | TemplateRef<T> | Type<unknown>;
|
|
200
181
|
declare const PORTAL_CONTEXT: InjectionToken<unknown>;
|
|
201
182
|
|
|
@@ -309,5 +290,5 @@ interface ILuTree<T> {
|
|
|
309
290
|
disabled?: boolean;
|
|
310
291
|
}
|
|
311
292
|
|
|
312
|
-
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LOCALE_PLURAL_RULES, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, defaultBreakpoints, generateId, getIntl, getIntlPluralLabel,
|
|
293
|
+
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LOCALE_PLURAL_RULES, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, defaultBreakpoints, generateId, getIntl, getIntlPluralLabel, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
313
294
|
export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuPluralForms, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { OnInit, InjectionToken, EnvironmentProviders, OnDestroy, Injector, TemplateRef, Provider, AfterViewInit } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_dialog from '@lucca-front/ng/dialog';
|
|
4
4
|
import { LuTranslation } from '@lucca-front/ng/core';
|
|
5
5
|
import { BaseRouteReuseStrategy, ActivatedRouteSnapshot, CanDeactivateFn, DeprecatedGuard, GuardResult, Route } from '@angular/router';
|
|
@@ -28,15 +28,14 @@ declare class DialogHeaderSubtitle {
|
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderSubtitle, never>;
|
|
29
29
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogHeaderSubtitle, "[dialogHeaderSubtitle]", never, {}, {}, never, never, true, never>;
|
|
30
30
|
}
|
|
31
|
-
declare class DialogHeaderComponent implements
|
|
31
|
+
declare class DialogHeaderComponent implements OnInit {
|
|
32
32
|
#private;
|
|
33
33
|
intl: i0.InputSignalWithTransform<_lucca_front_ng_dialog.LuDialogHeaderTranslations, Partial<_lucca_front_ng_dialog.LuDialogHeaderTranslations>>;
|
|
34
34
|
dismissible: boolean;
|
|
35
|
-
constructor();
|
|
36
35
|
close(): void;
|
|
37
36
|
optionalAction: i0.Signal<DialogHeaderAction>;
|
|
38
37
|
optionalSubtitle: i0.Signal<DialogHeaderSubtitle>;
|
|
39
|
-
|
|
38
|
+
ngOnInit(): void;
|
|
40
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, never>;
|
|
41
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "lu-dialog-header", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, ["optionalAction", "optionalSubtitle"], ["[dialogHeaderAction]", "*", "[dialogHeaderSubtitle]", "[dialogHeaderContent]"], true, never>;
|
|
42
41
|
}
|
|
@@ -26,7 +26,6 @@ interface LuFileUploadLabel {
|
|
|
26
26
|
all: string;
|
|
27
27
|
file: string;
|
|
28
28
|
download: string;
|
|
29
|
-
preview: string;
|
|
30
29
|
downloadFile: string;
|
|
31
30
|
delete: string;
|
|
32
31
|
deleteFile: string;
|
|
@@ -101,7 +100,6 @@ declare class FileEntryComponent {
|
|
|
101
100
|
readonly size: _angular_core.InputSignal<"S">;
|
|
102
101
|
readonly iconOverride: _angular_core.InputSignal<string>;
|
|
103
102
|
readonly downloadURL: _angular_core.InputSignal<string>;
|
|
104
|
-
readonly openInNewTab: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
105
103
|
readonly password: _angular_core.InputSignal<string>;
|
|
106
104
|
passwordChange$: Subject<string>;
|
|
107
105
|
passwordChange: _angular_core.OutputRef<string>;
|
|
@@ -122,7 +120,7 @@ declare class FileEntryComponent {
|
|
|
122
120
|
[x: string]: boolean;
|
|
123
121
|
}>;
|
|
124
122
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileEntryComponent, never>;
|
|
125
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileEntryComponent, "lu-file-entry", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "displayFileName": { "alias": "displayFileName"; "required": false; "isSignal": true; }; "inlineMessageError": { "alias": "inlineMessageError"; "required": false; "isSignal": true; }; "entry": { "alias": "entry"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconOverride": { "alias": "iconOverride"; "required": false; "isSignal": true; }; "downloadURL": { "alias": "downloadURL"; "required": false; "isSignal": true; }; "
|
|
123
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileEntryComponent, "lu-file-entry", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "displayFileName": { "alias": "displayFileName"; "required": false; "isSignal": true; }; "inlineMessageError": { "alias": "inlineMessageError"; "required": false; "isSignal": true; }; "entry": { "alias": "entry"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconOverride": { "alias": "iconOverride"; "required": false; "isSignal": true; }; "downloadURL": { "alias": "downloadURL"; "required": false; "isSignal": true; }; "password": { "alias": "password"; "required": false; "isSignal": true; }; "media": { "alias": "media"; "required": false; "isSignal": true; }; "previewUrl": { "alias": "previewUrl"; "required": false; "isSignal": true; }; }, { "passwordChange": "passwordChange"; "deleteFile": "deleteFile"; }, never, never, true, never>;
|
|
126
124
|
}
|
|
127
125
|
|
|
128
126
|
/**
|
|
@@ -42,13 +42,13 @@ declare class PhoneNumberInputComponent implements ControlValueAccessor, Validat
|
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
prefixEntries: {
|
|
44
44
|
country: CountryCode;
|
|
45
|
-
prefix:
|
|
45
|
+
prefix: CountryCallingCode;
|
|
46
46
|
name: string;
|
|
47
47
|
}[];
|
|
48
48
|
query: _angular_core.WritableSignal<string>;
|
|
49
49
|
protected prefixesDisplay: _angular_core.Signal<{
|
|
50
50
|
country: CountryCode;
|
|
51
|
-
prefix:
|
|
51
|
+
prefix: CountryCallingCode;
|
|
52
52
|
name: string;
|
|
53
53
|
}[]>;
|
|
54
54
|
countryCodeSelected: _angular_core.WritableSignal<CountryCode>;
|
|
@@ -57,7 +57,7 @@ declare class PhoneNumberInputComponent implements ControlValueAccessor, Validat
|
|
|
57
57
|
displayedNumber: _angular_core.WritableSignal<string>;
|
|
58
58
|
readonly prefixEntry: _angular_core.Signal<{
|
|
59
59
|
country: CountryCode;
|
|
60
|
-
prefix:
|
|
60
|
+
prefix: CountryCallingCode;
|
|
61
61
|
name: string;
|
|
62
62
|
}>;
|
|
63
63
|
protected getPrefixKey: (prefix: PrefixEntry) => CountryCode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, Signal, WritableSignal, OnInit, OnDestroy, ElementRef, ViewContainerRef, TemplateRef } from '@angular/core';
|
|
3
3
|
import * as lexical from 'lexical';
|
|
4
|
-
import { LexicalEditor, Klass, LexicalNode, LexicalNodeReplacement, NodeKey, EditorConfig,
|
|
4
|
+
import { LexicalEditor, Klass, LexicalNode, LexicalNodeReplacement, NodeKey, EditorConfig, DOMExportOutput, DecoratorNode, DOMConversionMap, Spread, SerializedLexicalNode, LexicalUpdateJSON, TextFormatType } from 'lexical';
|
|
5
5
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
6
6
|
import { DomPortal } from '@angular/cdk/portal';
|
|
7
7
|
import { LuSimpleSelectInputComponent } from '@lucca-front/ng/simple-select';
|
|
@@ -132,10 +132,8 @@ declare class PopoverLinkNode extends LinkNode {
|
|
|
132
132
|
templateRef?: TemplateRef<LinkTemplateContext>;
|
|
133
133
|
}, key?: NodeKey);
|
|
134
134
|
createDOM(config: EditorConfig): HTMLElement;
|
|
135
|
-
getDOMSlot(element: HTMLElement): ElementDOMSlot;
|
|
136
135
|
updateDOM(prevNode: this): boolean;
|
|
137
136
|
exportDOM(editor: LexicalEditor): DOMExportOutput;
|
|
138
|
-
static importDOM(): lexical.DOMConversionMap;
|
|
139
137
|
remove(preserveEmptyParent?: boolean): void;
|
|
140
138
|
static importJSON(serializedNode: SerializedLinkNode): PopoverLinkNode;
|
|
141
139
|
static clone(node: PopoverLinkNode): PopoverLinkNode;
|
|
@@ -153,10 +151,8 @@ declare class PopoverAutoLinkNode extends AutoLinkNode {
|
|
|
153
151
|
templateRef?: TemplateRef<LinkTemplateContext>;
|
|
154
152
|
}, key?: NodeKey);
|
|
155
153
|
createDOM(config: EditorConfig): HTMLElement;
|
|
156
|
-
getDOMSlot(element: HTMLElement): ElementDOMSlot;
|
|
157
154
|
updateDOM(prevNode: this): boolean;
|
|
158
155
|
exportDOM(editor: LexicalEditor): DOMExportOutput;
|
|
159
|
-
static importDOM(): null;
|
|
160
156
|
remove(preserveEmptyParent?: boolean): void;
|
|
161
157
|
static importJSON(serializedNode: SerializedAutoLinkNode): PopoverAutoLinkNode;
|
|
162
158
|
static clone(node: PopoverAutoLinkNode): PopoverAutoLinkNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy,
|
|
2
|
+
import { OnDestroy, Signal, WritableSignal, AfterViewInit, ElementRef, OnInit, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _angular_forms from '@angular/forms';
|
|
4
4
|
import { NgModel, FormControlDirective, FormControlName, NgControl, FormControl, ControlValueAccessor, ValidatorFn } from '@angular/forms';
|
|
5
5
|
import { FilterPillInputComponent, FilterPillLayout } from '@lucca-front/ng/filter-pills';
|
|
@@ -39,8 +39,7 @@ declare class NoopValueAccessorDirective implements ControlValueAccessor {
|
|
|
39
39
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NoopValueAccessorDirective, "[luNoopValueAccessor]", never, {}, {}, never, never, true, never>;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
declare class CheckboxInputComponent implements FilterPillInputComponent
|
|
43
|
-
#private;
|
|
42
|
+
declare class CheckboxInputComponent implements FilterPillInputComponent {
|
|
44
43
|
framed: boolean;
|
|
45
44
|
parentInput: FilterPillInputComponent;
|
|
46
45
|
formField: FormFieldComponent;
|
|
@@ -63,16 +62,7 @@ declare class CheckboxInputComponent implements FilterPillInputComponent, OnInit
|
|
|
63
62
|
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
64
63
|
control: _angular_forms.FormControl<any>;
|
|
65
64
|
});
|
|
66
|
-
/**
|
|
67
|
-
* Reactive mirrors of the control's value/disabled state, so the filter pill button
|
|
68
|
-
* (rendered with OnPush) reflects programmatic changes such as a form reset without
|
|
69
|
-
* needing a DOM event to trigger change detection. Initialized in `ngOnInit` because
|
|
70
|
-
* `ngControl.control` is only wired once the control directive's `ngOnChanges` has run.
|
|
71
|
-
*/
|
|
72
|
-
protected checkboxValue: Signal<boolean>;
|
|
73
|
-
protected isCheckboxDisabled: Signal<boolean>;
|
|
74
65
|
constructor();
|
|
75
|
-
ngOnInit(): void;
|
|
76
66
|
clearFilterPillValue(): void;
|
|
77
67
|
registerFilterPillClosePopover(_closeFn: () => void): void;
|
|
78
68
|
enableFilterPillMode?(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, ViewRef, TemplateRef, OnInit, ElementRef, Renderer2,
|
|
3
|
+
import { EventEmitter, ViewRef, TemplateRef, OnInit, ElementRef, Renderer2, ChangeDetectorRef } from '@angular/core';
|
|
4
4
|
import { NgControl, ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
|
|
6
6
|
interface ILuClearer<T> {
|
|
@@ -76,7 +76,6 @@ declare class LuInputDirective implements OnInit {
|
|
|
76
76
|
protected _elementRef: ElementRef;
|
|
77
77
|
protected _renderer: Renderer2;
|
|
78
78
|
protected _ngControl: NgControl;
|
|
79
|
-
protected _destroyRef: DestroyRef;
|
|
80
79
|
constructor(_elementRef: ElementRef, _renderer: Renderer2, _ngControl: NgControl);
|
|
81
80
|
protected isEmpty(value: any): boolean;
|
|
82
81
|
protected applyClasses(value: any): void;
|
|
@@ -51,7 +51,6 @@ declare class LuMultiSelectPanelRefFactory {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
declare class LuMultiSelectInputComponent<T> extends ALuSelectInputComponent<T, T[]> implements ControlValueAccessor, OnDestroy, OnInit {
|
|
54
|
-
#private;
|
|
55
54
|
intl: i0.InputSignalWithTransform<_lucca_front_ng_core_select.LuCoreSelectLabel & _lucca_front_ng_multi_select.ILuMultiSelectLabel, Partial<_lucca_front_ng_core_select.LuCoreSelectLabel & _lucca_front_ng_multi_select.ILuMultiSelectLabel>>;
|
|
56
55
|
showColon: false;
|
|
57
56
|
valuesTpl: i0.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<T[]>>>;
|
|
@@ -67,7 +66,6 @@ declare class LuMultiSelectInputComponent<T> extends ALuSelectInputComponent<T,
|
|
|
67
66
|
valueLength: Signal<number>;
|
|
68
67
|
useSingleOptionDisplayer: Signal<boolean>;
|
|
69
68
|
_value: T[];
|
|
70
|
-
protected readonly presentationSeparators: Signal<string[]>;
|
|
71
69
|
get panelRef(): LuMultiSelectPanelRef<T> | undefined;
|
|
72
70
|
protected _panelRef?: LuMultiSelectPanelRef<T>;
|
|
73
71
|
protected panelRefFactory: LuMultiSelectPanelRefFactory;
|
|
@@ -224,16 +222,6 @@ declare class LuMultiDisplayerDirective<T> {
|
|
|
224
222
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LuMultiDisplayerDirective<any>, "[luMultiDisplayer]", never, { "select": { "alias": "luMultiDisplayerSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
225
223
|
}
|
|
226
224
|
|
|
227
|
-
/**
|
|
228
|
-
* Returns the `itemCount - 1` separators `Intl.ListFormat` puts between `itemCount` items, so they can be
|
|
229
|
-
* interleaved with values rendered by a template rather than by `format()`.
|
|
230
|
-
*
|
|
231
|
-
* @example
|
|
232
|
-
* ```ts
|
|
233
|
-
* listSeparators(new Intl.ListFormat('fr-FR'), 3); // [', ', ' et ']
|
|
234
|
-
* ```
|
|
235
|
-
*/
|
|
236
|
-
declare function listSeparators(listFormat: Intl.ListFormat, itemCount: number): string[];
|
|
237
225
|
declare function selectionToQueryParams<T, Key extends string>(key: Key, value: LuMultiSelection<T>, selector: (value: T) => unknown): Partial<Record<Key | `-${Key}`, string>>;
|
|
238
226
|
/**
|
|
239
227
|
* Transforms a selection from withSelectAll, the complete list of options and a getKey function to a list of options.
|
|
@@ -252,5 +240,5 @@ declare const LuMultiSelectionValidators: {
|
|
|
252
240
|
required: (control: AbstractControl<LuMultiSelection<unknown>>) => ValidationErrors | null;
|
|
253
241
|
};
|
|
254
242
|
|
|
255
|
-
export { LU_MULTI_SELECT_DISPLAYER_TRANSLATIONS, LU_MULTI_SELECT_TRANSLATIONS, LuMultiDisplayerDirective, LuMultiSelectContentDisplayerComponent, LuMultiSelectCounterDisplayerComponent, LuMultiSelectDefaultDisplayerComponent, LuMultiSelectDisplayerInputDirective, LuMultiSelectInputComponent, LuMultiSelectWithSelectAllDirective, LuMultiSelectionValidators,
|
|
243
|
+
export { LU_MULTI_SELECT_DISPLAYER_TRANSLATIONS, LU_MULTI_SELECT_TRANSLATIONS, LuMultiDisplayerDirective, LuMultiSelectContentDisplayerComponent, LuMultiSelectCounterDisplayerComponent, LuMultiSelectDefaultDisplayerComponent, LuMultiSelectDisplayerInputDirective, LuMultiSelectInputComponent, LuMultiSelectWithSelectAllDirective, LuMultiSelectionValidators, luMultiSelectDisplayerTranslations, luMultiSelectTranslations, selectionToOptions, selectionToQueryParams };
|
|
256
244
|
export type { ILuMultiSelectDisplayerLabel, ILuMultiSelectLabel, LuMultiSelection, LuMultiSelectionMode };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { PortalContent } from '@lucca-front/ng/core';
|
|
3
2
|
|
|
4
3
|
declare class SortableListItemComponent {
|
|
5
4
|
/**
|
|
6
5
|
* Changes the text displayed by the sortable list item
|
|
7
6
|
*/
|
|
8
|
-
label: _angular_core.InputSignal<
|
|
7
|
+
label: _angular_core.InputSignal<string>;
|
|
9
8
|
/**
|
|
10
9
|
* Adds descriptive help text below the label
|
|
11
10
|
*/
|