@lucca-front/ng 21.4.3-rc.1 → 21.4.4
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 +23 -16
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +27 -18
- 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 +5 -4
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +12 -9
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +19 -11
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +13 -8
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +90 -57
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +21 -12
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +11 -7
- 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 +9 -6
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +44 -27
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +7 -5
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +31 -20
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +22 -14
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +21 -15
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +12 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +9 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +73 -53
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +144 -79
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +55 -18
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +105 -67
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +45 -43
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +188 -106
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +26 -25
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +87 -61
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +7 -5
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +49 -29
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +10 -7
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +36 -35
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +17 -10
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +94 -51
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +84 -52
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +10 -7
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +90 -55
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +5 -4
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +15 -9
- 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 +33 -20
- 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 +168 -91
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +244 -149
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +23 -13
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +24 -15
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +26 -15
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-text.mjs +7 -5
- package/fesm2022/lucca-front-ng-highlight-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +35 -23
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +14 -9
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +64 -48
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +9 -6
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +27 -24
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +49 -21
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +25 -17
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +14 -10
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +7 -5
- 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 +5 -4
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +24 -23
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +204 -133
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +5 -4
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +14 -10
- 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 +23 -12
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +136 -132
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +11 -7
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +13 -8
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +9 -6
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +19 -18
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +36 -23
- 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 +7 -5
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +16 -11
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +35 -17
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +19 -16
- 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 +7 -5
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +14 -10
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +18 -12
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +10 -8
- 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 +27 -35
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +65 -46
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +16 -11
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +11 -7
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +13 -10
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +9 -6
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +8 -7
- package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +15 -9
- 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 +142 -83
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +27 -14
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +16 -13
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +63 -39
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +20 -13
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +25 -20
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +94 -77
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +32 -22
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +8 -8
- package/schematics/action-icon/index.js +34 -1
- package/schematics/action-icon/migration.spec.js +38 -5
- package/schematics/alignment-utilities/migration.spec.js +38 -5
- package/schematics/cdn-urls/migration.spec.js +38 -5
- package/schematics/class-prefix/migration.spec.js +38 -5
- package/schematics/color-text/migration.spec.js +38 -5
- package/schematics/component-path/migration.spec.js +38 -5
- package/schematics/deprecated-resolver/migration.spec.js +36 -3
- package/schematics/empty-state-title/migration.spec.js +36 -3
- package/schematics/lib/css-mapper.js +36 -3
- package/schematics/lib/lf-schematic-context.js +34 -1
- package/schematics/lib/local-deps/postcss.js +34 -1
- package/schematics/lib/migration-test.js +11 -3
- package/schematics/lu-button/migration.spec.js +35 -2
- package/schematics/lu-container/migration.spec.js +35 -2
- package/schematics/lu-grid/migration.js +24 -16
- package/schematics/lu-grid/migration.spec.js +35 -2
- package/schematics/lu-icon/migration.spec.js +35 -2
- package/schematics/lu-loading/migration.spec.js +35 -2
- package/schematics/lu-select/migration.spec.js +35 -2
- package/schematics/lu-text-input/migration.spec.js +35 -2
- package/schematics/new-icons/index.js +35 -2
- package/schematics/new-icons/migration.spec.js +38 -5
- package/schematics/palettes/index.js +28 -8
- package/schematics/palettes/migration.spec.js +38 -5
- package/schematics/tokens-radius/migration.spec.js +38 -5
- package/schematics/tokens-spacing/migration.spec.js +38 -5
- package/schematics/tokens-typo/migration.spec.js +38 -5
- package/types/lucca-front-ng-comment.d.ts +2 -1
- package/types/lucca-front-ng-core-select.d.ts +13 -1
- package/types/lucca-front-ng-core.d.ts +20 -1
- package/types/lucca-front-ng-dialog.d.ts +4 -3
- package/types/lucca-front-ng-file-upload.d.ts +3 -1
- package/types/lucca-front-ng-filter-pills.d.ts +1 -0
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +3 -3
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +5 -1
- package/types/lucca-front-ng-forms.d.ts +14 -5
- package/types/lucca-front-ng-input.d.ts +2 -1
- package/types/lucca-front-ng-multi-select.d.ts +29 -5
- package/types/lucca-front-ng-numeric-badge.d.ts +1 -0
- package/types/lucca-front-ng-read-more.d.ts +6 -1
- package/types/lucca-front-ng-simple-select.d.ts +1 -3
- package/types/lucca-front-ng-sortable-list.d.ts +2 -1
- package/types/lucca-front-ng-title.d.ts +6 -5
|
@@ -1,8 +1,41 @@
|
|
|
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
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const glob = require("glob");
|
|
5
|
-
const path = require("path");
|
|
36
|
+
const fs = __importStar(require("fs"));
|
|
37
|
+
const glob = __importStar(require("glob"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
6
39
|
const lib_1 = require("../lib");
|
|
7
40
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
8
41
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -14,7 +47,7 @@ describe('New icons Migration', () => {
|
|
|
14
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
15
48
|
// Act
|
|
16
49
|
try {
|
|
17
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', { skipInstall: true }, tree);
|
|
18
51
|
}
|
|
19
52
|
catch (error) {
|
|
20
53
|
// eslint-disable-next-line no-console
|
|
@@ -36,7 +69,7 @@ describe('New icons Migration', () => {
|
|
|
36
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
37
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
38
71
|
// Act
|
|
39
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'new-icons', { skipInstall: true }, tree);
|
|
40
73
|
// Assert
|
|
41
74
|
tree.visit((p, entry) => {
|
|
42
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -9,16 +9,20 @@ 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
|
-
'
|
|
12
|
+
// Palette classes (Button, Callout, Gauge, Clear, Numeric Badge, Status Badge, …)
|
|
13
|
+
'palette-{palette}': 'palette-{palette}',
|
|
14
|
+
// Component color modifier (Box, Card, Section) — only `grey` existed
|
|
15
|
+
'mod-grey': 'mod-neutral',
|
|
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}',
|
|
16
23
|
},
|
|
17
24
|
variables: {
|
|
18
|
-
'--palettes-
|
|
19
|
-
'--palettes-primary-{val}': `--palettes-product-{val}`,
|
|
20
|
-
'--palettes-secondary-{val}': `--palettes-product-{val}`,
|
|
21
|
-
'--palettes-lucca-{val}': `--palettes-brand-{val}`,
|
|
25
|
+
'--palettes-{palette}-{val}': `--palettes-{palette}-{val}`,
|
|
22
26
|
'--colors-grey-{val}': `--palettes-neutral-{val}`,
|
|
23
27
|
'--colors-white-color': '--palettes-neutral-0',
|
|
24
28
|
'--colors-black-color': '--palettes-neutral-900',
|
|
@@ -36,6 +40,13 @@ exports.default = (options) => {
|
|
|
36
40
|
},
|
|
37
41
|
mixins: {}
|
|
38
42
|
}, {
|
|
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
|
+
},
|
|
39
50
|
val: {
|
|
40
51
|
25: '25',
|
|
41
52
|
50: '50',
|
|
@@ -50,5 +61,14 @@ exports.default = (options) => {
|
|
|
50
61
|
900: '900'
|
|
51
62
|
}
|
|
52
63
|
}).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();
|
|
53
73
|
};
|
|
54
74
|
};
|
|
@@ -1,8 +1,41 @@
|
|
|
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
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const glob = require("glob");
|
|
5
|
-
const path = require("path");
|
|
36
|
+
const fs = __importStar(require("fs"));
|
|
37
|
+
const glob = __importStar(require("glob"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
6
39
|
const lib_1 = require("../lib");
|
|
7
40
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
8
41
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -14,7 +47,7 @@ describe('Palettes Migration', () => {
|
|
|
14
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
15
48
|
// Act
|
|
16
49
|
try {
|
|
17
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', { skipInstall: true }, tree);
|
|
18
51
|
}
|
|
19
52
|
catch (error) {
|
|
20
53
|
// eslint-disable-next-line no-console
|
|
@@ -36,7 +69,7 @@ describe('Palettes Migration', () => {
|
|
|
36
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
37
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
38
71
|
// Act
|
|
39
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'palettes', { skipInstall: true }, tree);
|
|
40
73
|
// Assert
|
|
41
74
|
tree.visit((p, entry) => {
|
|
42
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -1,8 +1,41 @@
|
|
|
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
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const glob = require("glob");
|
|
5
|
-
const path = require("path");
|
|
36
|
+
const fs = __importStar(require("fs"));
|
|
37
|
+
const glob = __importStar(require("glob"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
6
39
|
const lib_1 = require("../lib");
|
|
7
40
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
8
41
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -14,7 +47,7 @@ describe('Tokens radius Migration', () => {
|
|
|
14
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
15
48
|
// Act
|
|
16
49
|
try {
|
|
17
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', { skipInstall: true }, tree);
|
|
18
51
|
}
|
|
19
52
|
catch (error) {
|
|
20
53
|
// eslint-disable-next-line no-console
|
|
@@ -36,7 +69,7 @@ describe('Tokens radius Migration', () => {
|
|
|
36
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
37
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
38
71
|
// Act
|
|
39
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-radius', { skipInstall: true }, tree);
|
|
40
73
|
// Assert
|
|
41
74
|
tree.visit((p, entry) => {
|
|
42
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -1,8 +1,41 @@
|
|
|
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
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const glob = require("glob");
|
|
5
|
-
const path = require("path");
|
|
36
|
+
const fs = __importStar(require("fs"));
|
|
37
|
+
const glob = __importStar(require("glob"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
6
39
|
const lib_1 = require("../lib");
|
|
7
40
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
8
41
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -14,7 +47,7 @@ describe('Tokens spacing Migration', () => {
|
|
|
14
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
15
48
|
// Act
|
|
16
49
|
try {
|
|
17
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', { skipInstall: true }, tree);
|
|
18
51
|
}
|
|
19
52
|
catch (error) {
|
|
20
53
|
// eslint-disable-next-line no-console
|
|
@@ -36,7 +69,7 @@ describe('Tokens spacing Migration', () => {
|
|
|
36
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
37
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
38
71
|
// Act
|
|
39
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-spacings', { skipInstall: true }, tree);
|
|
40
73
|
// Assert
|
|
41
74
|
tree.visit((p, entry) => {
|
|
42
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -1,8 +1,41 @@
|
|
|
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
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const fs = require("fs");
|
|
4
|
-
const glob = require("glob");
|
|
5
|
-
const path = require("path");
|
|
36
|
+
const fs = __importStar(require("fs"));
|
|
37
|
+
const glob = __importStar(require("glob"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
6
39
|
const lib_1 = require("../lib");
|
|
7
40
|
const collectionPath = path.normalize(path.join(__dirname, '..', 'collection.json'));
|
|
8
41
|
const testsRoot = path.join(__dirname, 'tests');
|
|
@@ -14,7 +47,7 @@ describe('Tokens typo Migration', () => {
|
|
|
14
47
|
const expectedTree = (0, lib_1.createTreeFromFiles)(testsRoot, files, '.output.');
|
|
15
48
|
// Act
|
|
16
49
|
try {
|
|
17
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', {
|
|
50
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstall: true }, tree);
|
|
18
51
|
}
|
|
19
52
|
catch (error) {
|
|
20
53
|
// eslint-disable-next-line no-console
|
|
@@ -36,7 +69,7 @@ describe('Tokens typo Migration', () => {
|
|
|
36
69
|
const treeOriginalTree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
37
70
|
const tree = (0, lib_1.createTreeFromFiles)(lfRoot, lfFiles, '.');
|
|
38
71
|
// Act
|
|
39
|
-
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', {
|
|
72
|
+
await (0, lib_1.runSchematic)('collection', collectionPath, 'tokens-typo', { skipInstall: true }, tree);
|
|
40
73
|
// Assert
|
|
41
74
|
tree.visit((p, entry) => {
|
|
42
75
|
const original = treeOriginalTree.get(p)?.content.toString() || '';
|
|
@@ -19,12 +19,13 @@ declare class CommentComponent {
|
|
|
19
19
|
readonly contentIsPortal: _angular_core.Signal<boolean>;
|
|
20
20
|
readonly contentIsHTML: _angular_core.Signal<boolean>;
|
|
21
21
|
readonly noInfos: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
readonly plainText: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
23
|
readonly dateDisplay: _angular_core.Signal<string>;
|
|
23
24
|
readonly role: _angular_core.Signal<string>;
|
|
24
25
|
get roleAttr(): string | null;
|
|
25
26
|
isStringPortalContent(message: PortalContent): message is string;
|
|
26
27
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommentComponent, never>;
|
|
27
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentComponent, "lu-comment", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "datePipeFormat": { "alias": "datePipeFormat"; "required": false; "isSignal": true; }; "noInfos": { "alias": "noInfos"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentComponent, "lu-comment", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "datePipeFormat": { "alias": "datePipeFormat"; "required": false; "isSignal": true; }; "noInfos": { "alias": "noInfos"; "required": false; "isSignal": true; }; "plainText": { "alias": "plainText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
declare class CommentBlockComponent {
|
|
@@ -223,6 +223,18 @@ interface CoreSelectPanelInstance<T = unknown> {
|
|
|
223
223
|
}
|
|
224
224
|
declare const SELECT_PANEL_INSTANCE: InjectionToken<CoreSelectPanelInstance<unknown>>;
|
|
225
225
|
|
|
226
|
+
/**
|
|
227
|
+
* Tracks whether the user is currently navigating with the pointer or with the keyboard.
|
|
228
|
+
*
|
|
229
|
+
* Both listeners are registered natively and outside of the Angular zone, and the signal is only
|
|
230
|
+
* written when the value actually changes: `mousemove` fires on every frame the mouse moves, and
|
|
231
|
+
* going through Angular's event system there schedules a change detection run each time — for a
|
|
232
|
+
* value that almost never changes.
|
|
233
|
+
*
|
|
234
|
+
* Must be called from an injection context.
|
|
235
|
+
*/
|
|
236
|
+
declare function injectPointerNavigation(): Signal<boolean>;
|
|
237
|
+
|
|
226
238
|
declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectLabel>>;
|
|
227
239
|
interface LuCoreSelectLabel {
|
|
228
240
|
addOption: string;
|
|
@@ -400,5 +412,5 @@ declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
|
400
412
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuIsOptionSelectedPipe<any>, "luIsOptionSelected", true>;
|
|
401
413
|
}
|
|
402
414
|
|
|
403
|
-
export { ALuSelectInputComponent, CORE_SELECT_API_TOTAL_COUNT_PROVIDER, CoreSelectKeyManager, LU_CORE_SELECT_TRANSLATIONS, LU_OPTION_CONTEXT, LuCoreSelectNoClueDirective, LuCoreSelectPanelHeaderDirective, LuCoreSelectTotalCountDirective, LuDisabledOptionDirective, LuDisplayerDirective, LuIsOptionSelectedPipe, LuOptionDirective, LuOptionGroupDirective, LuSelectPanelRef, LuSimpleSelectDefaultOptionComponent, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_INSTANCE, TreeDisplayPipe, addAttributesOnCdkContainer, applySearchDelimiter, coreSelectDefaultOptionComparer, coreSelectDefaultOptionKey, luCoreSelectTranslations, provideLuSelectLabelsAndIds, provideOptionContext, CoreSelectPanelElement as ɵCoreSelectPanelElement, ɵIsSelectedStrategy, LuOptionComponent as ɵLuOptionComponent, LuOptionGroupPipe as ɵLuOptionGroupPipe, LuOptionOutletDirective as ɵLuOptionOutletDirective, generateGroups as ɵgenerateGroups, getGroupTemplateLocation as ɵgetGroupTemplateLocation };
|
|
415
|
+
export { ALuSelectInputComponent, CORE_SELECT_API_TOTAL_COUNT_PROVIDER, CoreSelectKeyManager, LU_CORE_SELECT_TRANSLATIONS, LU_OPTION_CONTEXT, LuCoreSelectNoClueDirective, LuCoreSelectPanelHeaderDirective, LuCoreSelectTotalCountDirective, LuDisabledOptionDirective, LuDisplayerDirective, LuIsOptionSelectedPipe, LuOptionDirective, LuOptionGroupDirective, LuSelectPanelRef, LuSimpleSelectDefaultOptionComponent, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_INSTANCE, TreeDisplayPipe, addAttributesOnCdkContainer, applySearchDelimiter, coreSelectDefaultOptionComparer, coreSelectDefaultOptionKey, luCoreSelectTranslations, provideLuSelectLabelsAndIds, provideOptionContext, CoreSelectPanelElement as ɵCoreSelectPanelElement, ɵIsSelectedStrategy, LuOptionComponent as ɵLuOptionComponent, LuOptionGroupPipe as ɵLuOptionGroupPipe, LuOptionOutletDirective as ɵLuOptionOutletDirective, generateGroups as ɵgenerateGroups, getGroupTemplateLocation as ɵgetGroupTemplateLocation, injectPointerNavigation as ɵinjectPointerNavigation };
|
|
404
416
|
export type { CoreSelectAddOptionStrategy, CoreSelectApiTotalCountProvider, CoreSelectPanelInstance, ILuOptionContext, LuCoreSelectLabel, LuOptionComparer, LuOptionContext, LuOptionGroup, LuOptionGroupByContext, LuOptionGrouping, TreeGenerator, TreeGroupingFn, TreeNode };
|
|
@@ -177,6 +177,25 @@ 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
|
+
|
|
180
199
|
type PortalContent<T = unknown> = string | TemplateRef<T> | Type<unknown>;
|
|
181
200
|
declare const PORTAL_CONTEXT: InjectionToken<unknown>;
|
|
182
201
|
|
|
@@ -290,5 +309,5 @@ interface ILuTree<T> {
|
|
|
290
309
|
disabled?: boolean;
|
|
291
310
|
}
|
|
292
311
|
|
|
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 };
|
|
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, getPushPanelInlineSize, getPushPanelViewportMargin, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
294
313
|
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 { OnDestroy, InjectionToken, EnvironmentProviders, OnInit, 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,14 +28,15 @@ 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 OnDestroy {
|
|
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();
|
|
35
36
|
close(): void;
|
|
36
37
|
optionalAction: i0.Signal<DialogHeaderAction>;
|
|
37
38
|
optionalSubtitle: i0.Signal<DialogHeaderSubtitle>;
|
|
38
|
-
|
|
39
|
+
ngOnDestroy(): void;
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, never>;
|
|
40
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "lu-dialog-header", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, ["optionalAction", "optionalSubtitle"], ["[dialogHeaderAction]", "*", "[dialogHeaderSubtitle]", "[dialogHeaderContent]"], true, never>;
|
|
41
42
|
}
|
|
@@ -26,6 +26,7 @@ interface LuFileUploadLabel {
|
|
|
26
26
|
all: string;
|
|
27
27
|
file: string;
|
|
28
28
|
download: string;
|
|
29
|
+
preview: string;
|
|
29
30
|
downloadFile: string;
|
|
30
31
|
delete: string;
|
|
31
32
|
deleteFile: string;
|
|
@@ -100,6 +101,7 @@ declare class FileEntryComponent {
|
|
|
100
101
|
readonly size: _angular_core.InputSignal<"S">;
|
|
101
102
|
readonly iconOverride: _angular_core.InputSignal<string>;
|
|
102
103
|
readonly downloadURL: _angular_core.InputSignal<string>;
|
|
104
|
+
readonly openInNewTab: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
103
105
|
readonly password: _angular_core.InputSignal<string>;
|
|
104
106
|
passwordChange$: Subject<string>;
|
|
105
107
|
passwordChange: _angular_core.OutputRef<string>;
|
|
@@ -120,7 +122,7 @@ declare class FileEntryComponent {
|
|
|
120
122
|
[x: string]: boolean;
|
|
121
123
|
}>;
|
|
122
124
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileEntryComponent, never>;
|
|
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>;
|
|
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; }; "openInNewTab": { "alias": "openInNewTab"; "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>;
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
/**
|
|
@@ -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: string;
|
|
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: string;
|
|
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: string;
|
|
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, DOMExportOutput, DecoratorNode, DOMConversionMap, Spread, SerializedLexicalNode, LexicalUpdateJSON, TextFormatType } from 'lexical';
|
|
4
|
+
import { LexicalEditor, Klass, LexicalNode, LexicalNodeReplacement, NodeKey, EditorConfig, ElementDOMSlot, 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,8 +132,10 @@ 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;
|
|
135
136
|
updateDOM(prevNode: this): boolean;
|
|
136
137
|
exportDOM(editor: LexicalEditor): DOMExportOutput;
|
|
138
|
+
static importDOM(): lexical.DOMConversionMap;
|
|
137
139
|
remove(preserveEmptyParent?: boolean): void;
|
|
138
140
|
static importJSON(serializedNode: SerializedLinkNode): PopoverLinkNode;
|
|
139
141
|
static clone(node: PopoverLinkNode): PopoverLinkNode;
|
|
@@ -151,8 +153,10 @@ declare class PopoverAutoLinkNode extends AutoLinkNode {
|
|
|
151
153
|
templateRef?: TemplateRef<LinkTemplateContext>;
|
|
152
154
|
}, key?: NodeKey);
|
|
153
155
|
createDOM(config: EditorConfig): HTMLElement;
|
|
156
|
+
getDOMSlot(element: HTMLElement): ElementDOMSlot;
|
|
154
157
|
updateDOM(prevNode: this): boolean;
|
|
155
158
|
exportDOM(editor: LexicalEditor): DOMExportOutput;
|
|
159
|
+
static importDOM(): null;
|
|
156
160
|
remove(preserveEmptyParent?: boolean): void;
|
|
157
161
|
static importJSON(serializedNode: SerializedAutoLinkNode): PopoverAutoLinkNode;
|
|
158
162
|
static clone(node: PopoverAutoLinkNode): PopoverAutoLinkNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy, Signal, WritableSignal, AfterViewInit, ElementRef,
|
|
2
|
+
import { OnDestroy, OnInit, Signal, WritableSignal, AfterViewInit, ElementRef, 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,7 +39,8 @@ 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 {
|
|
42
|
+
declare class CheckboxInputComponent implements FilterPillInputComponent, OnInit {
|
|
43
|
+
#private;
|
|
43
44
|
framed: boolean;
|
|
44
45
|
parentInput: FilterPillInputComponent;
|
|
45
46
|
formField: FormFieldComponent;
|
|
@@ -62,7 +63,16 @@ declare class CheckboxInputComponent implements FilterPillInputComponent {
|
|
|
62
63
|
ngControl: _angular_forms.NgModel | _angular_forms.FormControlDirective | _angular_forms.FormControlName | (_angular_forms.NgControl & {
|
|
63
64
|
control: _angular_forms.FormControl<any>;
|
|
64
65
|
});
|
|
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>;
|
|
65
74
|
constructor();
|
|
75
|
+
ngOnInit(): void;
|
|
66
76
|
clearFilterPillValue(): void;
|
|
67
77
|
registerFilterPillClosePopover(_closeFn: () => void): void;
|
|
68
78
|
enableFilterPillMode?(): void;
|
|
@@ -307,6 +317,7 @@ declare class TextInputComponent {
|
|
|
307
317
|
protected showPassword: _angular_core.WritableSignal<boolean>;
|
|
308
318
|
protected typeRef: _angular_core.Signal<TextFieldType>;
|
|
309
319
|
protected hasTogglePasswordVisibilityIcon: _angular_core.Signal<boolean>;
|
|
320
|
+
protected hasValue(): boolean;
|
|
310
321
|
clearValue(): void;
|
|
311
322
|
togglePasswordVisibility(): void;
|
|
312
323
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
@@ -377,7 +388,7 @@ interface LuColorLabel {
|
|
|
377
388
|
|
|
378
389
|
declare class ColorInputComponent {
|
|
379
390
|
intl: _angular_core.InputSignalWithTransform<LuColorLabel, Partial<LuColorLabel>>;
|
|
380
|
-
pointerNavigation:
|
|
391
|
+
pointerNavigation: Signal<boolean>;
|
|
381
392
|
mouseHighlighted: _angular_core.WritableSignal<string>;
|
|
382
393
|
keyboardHighlighted: _angular_core.WritableSignal<string>;
|
|
383
394
|
highlighted: Signal<string>;
|
|
@@ -391,8 +402,6 @@ declare class ColorInputComponent {
|
|
|
391
402
|
currentColorPresentation: Signal<ColorOption | null>;
|
|
392
403
|
constructor();
|
|
393
404
|
filteredColors: Signal<ColorOption[]>;
|
|
394
|
-
onKeydown(): void;
|
|
395
|
-
onMousemove(): void;
|
|
396
405
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInputComponent, never>;
|
|
397
406
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorInputComponent, "lu-color-input", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": true; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
398
407
|
}
|