@spartan-ng/cli 0.0.1-alpha.516 → 0.0.1-alpha.518
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/generators.json +10 -0
- package/package.json +1 -1
- package/src/generators/healthcheck/generator.js +2 -0
- package/src/generators/healthcheck/generator.js.map +1 -1
- package/src/generators/healthcheck/healthchecks/module-imports.d.ts +2 -0
- package/src/generators/healthcheck/healthchecks/module-imports.js +34 -0
- package/src/generators/healthcheck/healthchecks/module-imports.js.map +1 -0
- package/src/generators/migrate-module-imports/compat.d.ts +2 -0
- package/src/generators/migrate-module-imports/compat.js +6 -0
- package/src/generators/migrate-module-imports/compat.js.map +1 -0
- package/src/generators/migrate-module-imports/generator.d.ts +4 -0
- package/src/generators/migrate-module-imports/generator.js +103 -0
- package/src/generators/migrate-module-imports/generator.js.map +1 -0
- package/src/generators/migrate-module-imports/import-map.d.ts +35 -0
- package/src/generators/migrate-module-imports/import-map.js +37 -0
- package/src/generators/migrate-module-imports/import-map.js.map +1 -0
- package/src/generators/migrate-module-imports/schema.d.ts +3 -0
- package/src/generators/migrate-module-imports/schema.json +13 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-alert-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-autocomplete-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-avatar-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-badge-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-button-helm/files/index.ts.template +1 -7
- package/src/generators/ui/libs/ui-calendar-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-card-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-carousel-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-checkbox-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-command-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-date-picker-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-dialog-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-form-field-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-hover-card-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-icon-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-input-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-input-otp-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-label-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-menu-helm/files/index.ts.template +8 -25
- package/src/generators/ui/libs/ui-pagination-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-popover-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-progress-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-radio-group-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-scroll-area-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-select-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-separator-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-sheet-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-skeleton-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-sonner-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-spinner-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-switch-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-table-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-tabs-helm/files/index.ts.template +0 -8
- package/src/generators/ui/libs/ui-toggle-group-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-toggle-helm/files/index.ts.template +0 -7
- package/src/generators/ui/libs/ui-tooltip-helm/files/index.ts.template +0 -7
- package/src/generators/ui/supported-ui-libraries.json +31 -31
package/generators.json
CHANGED
|
@@ -55,6 +55,11 @@
|
|
|
55
55
|
"schema": "./src/generators/migrate-icon/schema.json",
|
|
56
56
|
"description": "Migrate hlm-icon to ng-icon"
|
|
57
57
|
},
|
|
58
|
+
"migrate-module-imports": {
|
|
59
|
+
"factory": "./src/generators/migrate-module-imports/generator",
|
|
60
|
+
"schema": "./src/generators/migrate-module-imports/schema.json",
|
|
61
|
+
"description": "Migrate module imports to const imports"
|
|
62
|
+
},
|
|
58
63
|
"migrate-naming-conventions": {
|
|
59
64
|
"factory": "./src/generators/migrate-naming-convention/generator",
|
|
60
65
|
"schema": "./src/generators/migrate-naming-convention/schema.json",
|
|
@@ -157,6 +162,11 @@
|
|
|
157
162
|
"schema": "./src/generators/migrate-icon/schema.json",
|
|
158
163
|
"description": "Migrate hlm-icon to ng-icon"
|
|
159
164
|
},
|
|
165
|
+
"migrate-module-imports": {
|
|
166
|
+
"factory": "./src/generators/migrate-module-imports/compat",
|
|
167
|
+
"schema": "./src/generators/migrate-module-imports/schema.json",
|
|
168
|
+
"description": "Migrate module imports to const imports"
|
|
169
|
+
},
|
|
160
170
|
"migrate-naming-conventions": {
|
|
161
171
|
"factory": "./src/generators/migrate-naming-convention/compat",
|
|
162
172
|
"schema": "./src/generators/migrate-naming-convention/schema.json",
|
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ const hlm_icon_1 = require("./healthchecks/hlm-icon");
|
|
|
18
18
|
const hlm_progress_1 = require("./healthchecks/hlm-progress");
|
|
19
19
|
const hlm_scroll_area_1 = require("./healthchecks/hlm-scroll-area");
|
|
20
20
|
const hlm_select_1 = require("./healthchecks/hlm-select");
|
|
21
|
+
const module_imports_1 = require("./healthchecks/module-imports");
|
|
21
22
|
const naming_conventions_1 = require("./healthchecks/naming-conventions");
|
|
22
23
|
const version_1 = require("./healthchecks/version");
|
|
23
24
|
const prompt_1 = require("./utils/prompt");
|
|
@@ -43,6 +44,7 @@ async function healthcheckGenerator(tree, options) {
|
|
|
43
44
|
brn_checkbox_changed_event_rename_1.brnCheckboxChangedEventRename,
|
|
44
45
|
brn_switch_changed_event_rename_1.brnSwitchChangedEventRename,
|
|
45
46
|
brn_accordion_trigger_1.brainAccordionTriggerHealthcheck,
|
|
47
|
+
module_imports_1.moduleImportsHealthcheck,
|
|
46
48
|
];
|
|
47
49
|
const failedReports = [];
|
|
48
50
|
for (const healthcheck of healthchecks) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/healthcheck/generator.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/healthcheck/generator.ts"],"names":[],"mappings":";;AAyBA,oDAgDC;AAzED,uCAAuD;AACvD,iDAAyG;AACzG,gEAAuE;AACvE,gFAAwF;AACxF,wGAAiG;AACjG,wDAAiE;AACjE,gEAAyE;AACzE,oGAA6F;AAC7F,sEAAyE;AACzE,8DAAqE;AACrE,8DAAqE;AACrE,4CAA0D;AAC1D,oEAAuE;AACvE,sDAA8D;AAC9D,8DAAkE;AAClE,oEAAuE;AACvE,0DAA8D;AAC9D,kEAAyE;AACzE,0EAAgF;AAChF,oDAA4D;AAE5D,2CAA4C;AAC5C,+CAA+C;AAC/C,2CAAgD;AAEzC,KAAK,UAAU,oBAAoB,CAAC,IAAU,EAAE,OAA8D;IACpH,eAAM,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;IAEvC,MAAM,YAAY,GAAkB;QACnC,4BAAkB;QAClB,uCAAuB;QACvB,qCAAsB;QACtB,8BAAmB;QACnB,uCAAqB;QACrB,iCAAqB;QACrB,8BAAiB;QACjB,yCAAsB;QACtB,qCAAsB;QACtB,gDAA2B;QAC3B,uCAAqB;QACrB,kCAAmB;QACnB,0BAAoB;QACpB,yCAAyB;QACzB,iEAA6B;QAC7B,6DAA2B;QAC3B,wDAAgC;QAChC,yCAAwB;KACxB,CAAC;IAEF,MAAM,aAAa,GAAwB,EAAE,CAAC;IAE9C,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,MAAM,IAAA,uBAAc,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QACvD,IAAA,sBAAW,EAAC,MAAM,CAAC,CAAC;QAEpB,IAAI,MAAM,CAAC,MAAM,KAAK,gCAAiB,CAAC,OAAO,EAAE,CAAC;YACjD,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5B,CAAC;IACF,CAAC;IAED,KAAK,MAAM,MAAM,IAAI,aAAa,EAAE,CAAC;QACpC,IAAI,MAAM,CAAC,OAAO,IAAI,IAAA,mCAAoB,EAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;YAChE,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,IAAI,CAAC,MAAM,IAAA,mBAAU,EAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;YAE7E,IAAI,GAAG,EAAE,CAAC;gBACT,MAAM,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;YACxE,CAAC;QACF,CAAC;IACF,CAAC;IAED,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;QACzB,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;IACzB,CAAC;AACF,CAAC;AAED,kBAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.moduleImportsHealthcheck = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const devkit_1 = require("@nx/devkit");
|
|
6
|
+
const generator_1 = tslib_1.__importDefault(require("../../migrate-module-imports/generator"));
|
|
7
|
+
const import_map_1 = tslib_1.__importDefault(require("../../migrate-module-imports/import-map"));
|
|
8
|
+
const healthchecks_1 = require("../healthchecks");
|
|
9
|
+
exports.moduleImportsHealthcheck = {
|
|
10
|
+
name: 'Module imports',
|
|
11
|
+
async detect(tree, failure) {
|
|
12
|
+
(0, devkit_1.visitNotIgnoredFiles)(tree, '/', (file) => {
|
|
13
|
+
// if the file is a .ts or .json file, check for helm imports/packages
|
|
14
|
+
if (!file.endsWith('.ts')) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const contents = tree.read(file, 'utf-8');
|
|
18
|
+
if (!contents) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
for (const [importPath, helmPackage] of Object.entries(import_map_1.default)) {
|
|
22
|
+
if (contents.includes(importPath)) {
|
|
23
|
+
failure(`The import ${importPath} is deprecated. Please use the ${helmPackage} package instead.`, healthchecks_1.HealthcheckSeverity.Error, true);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
},
|
|
28
|
+
fix: async (tree) => {
|
|
29
|
+
await (0, generator_1.default)(tree, { skipFormat: true });
|
|
30
|
+
return true;
|
|
31
|
+
},
|
|
32
|
+
prompt: 'Would you like to migrate helm imports?',
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=module-imports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-imports.js","sourceRoot":"","sources":["../../../../../../../libs/cli/src/generators/healthcheck/healthchecks/module-imports.ts"],"names":[],"mappings":";;;;AAAA,uCAAkD;AAClD,+FAAmF;AACnF,iGAAgE;AAChE,kDAAmE;AAEtD,QAAA,wBAAwB,GAAgB;IACpD,IAAI,EAAE,gBAAgB;IACtB,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO;QACzB,IAAA,6BAAoB,EAAC,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE;YACxC,sEAAsE;YACtE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3B,OAAO;YACR,CAAC;YAED,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;YAE1C,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACf,OAAO;YACR,CAAC;YAED,KAAK,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,oBAAS,CAAC,EAAE,CAAC;gBACnE,IAAI,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;oBACnC,OAAO,CACN,cAAc,UAAU,kCAAkC,WAAW,mBAAmB,EACxF,kCAAmB,CAAC,KAAK,EACzB,IAAI,CACJ,CAAC;gBACH,CAAC;YACF,CAAC;QACF,CAAC,CAAC,CAAC;IACJ,CAAC;IACD,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;QACnB,MAAM,IAAA,mBAA6B,EAAC,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;QAChE,OAAO,IAAI,CAAC;IACb,CAAC;IACD,MAAM,EAAE,yCAAyC;CACjD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const devkit_1 = require("@nx/devkit");
|
|
4
|
+
const generator_1 = require("./generator");
|
|
5
|
+
exports.default = (0, devkit_1.convertNxGenerator)(generator_1.migrateModuleImportsGenerator);
|
|
6
|
+
//# sourceMappingURL=compat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/migrate-module-imports/compat.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAA4D;AAE5D,kBAAe,IAAA,2BAAkB,EAAC,yCAA6B,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Tree } from '@nx/devkit';
|
|
2
|
+
import { MigrateModuleImportsGeneratorSchema } from './schema';
|
|
3
|
+
export declare function migrateModuleImportsGenerator(tree: Tree, options: MigrateModuleImportsGeneratorSchema): Promise<void>;
|
|
4
|
+
export default migrateModuleImportsGenerator;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.migrateModuleImportsGenerator = migrateModuleImportsGenerator;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const devkit_1 = require("@nx/devkit");
|
|
6
|
+
const devkit_exports_1 = require("nx/src/devkit-exports");
|
|
7
|
+
const path_1 = require("path");
|
|
8
|
+
const binary_extensions_1 = require("../migrate-brain-imports/utils/binary-extensions");
|
|
9
|
+
const import_map_1 = tslib_1.__importDefault(require("./import-map"));
|
|
10
|
+
async function migrateModuleImportsGenerator(tree, options) {
|
|
11
|
+
for (const [from, to] of Object.entries(import_map_1.default)) {
|
|
12
|
+
replaceUsages(tree, from, to);
|
|
13
|
+
}
|
|
14
|
+
deduplicateBrainImports(tree);
|
|
15
|
+
if (!options.skipFormat) {
|
|
16
|
+
await (0, devkit_1.formatFiles)(tree);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
// based on https://github.com/nrwl/nx/blob/master/packages/devkit/src/utils/replace-package.ts
|
|
20
|
+
function replaceUsages(tree, oldPackageName, newPackageName) {
|
|
21
|
+
(0, devkit_1.visitNotIgnoredFiles)(tree, '.', (path) => {
|
|
22
|
+
if ((0, binary_extensions_1.isBinaryPath)(path)) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const ignoredFiles = [
|
|
26
|
+
'yarn.lock',
|
|
27
|
+
'package-lock.json',
|
|
28
|
+
'pnpm-lock.yaml',
|
|
29
|
+
'bun.lockb',
|
|
30
|
+
'CHANGELOG.md',
|
|
31
|
+
// this is relevant for this repo only - and this file is auto-generated
|
|
32
|
+
'supported-ui-libraries.json',
|
|
33
|
+
// we don't want to replace usages in the import map as these are used to detect the usages
|
|
34
|
+
'import-map.ts',
|
|
35
|
+
];
|
|
36
|
+
if (ignoredFiles.includes((0, path_1.basename)(path))) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
try {
|
|
40
|
+
const contents = tree.read(path).toString();
|
|
41
|
+
if (!contents.includes(oldPackageName)) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
tree.write(path, contents.replace(new RegExp(oldPackageName, 'g'), newPackageName));
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
devkit_exports_1.logger.warn(`Could not replace ${oldPackageName} with ${newPackageName} in ${path}.`);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function deduplicateBrainImports(tree) {
|
|
52
|
+
(0, devkit_1.visitNotIgnoredFiles)(tree, '.', (path) => {
|
|
53
|
+
if ((0, binary_extensions_1.isBinaryPath)(path))
|
|
54
|
+
return;
|
|
55
|
+
try {
|
|
56
|
+
let contents = tree.read(path).toString();
|
|
57
|
+
if (!contents.includes('@spartan-ng/brain'))
|
|
58
|
+
return;
|
|
59
|
+
// -----------------------------
|
|
60
|
+
// Step 1: Deduplicate import statements
|
|
61
|
+
// -----------------------------
|
|
62
|
+
const importRegex = /import\s+{([^}]+)}\s+from\s+'(@spartan-ng\/brain\/[^']+)';/g;
|
|
63
|
+
const importMap = {};
|
|
64
|
+
[...contents.matchAll(importRegex)].forEach((match) => {
|
|
65
|
+
const identifiers = match[1]
|
|
66
|
+
.split(',')
|
|
67
|
+
.map((i) => i.trim())
|
|
68
|
+
.filter(Boolean);
|
|
69
|
+
const modulePath = match[2];
|
|
70
|
+
if (!importMap[modulePath])
|
|
71
|
+
importMap[modulePath] = new Set();
|
|
72
|
+
identifiers.forEach((i) => importMap[modulePath].add(i));
|
|
73
|
+
});
|
|
74
|
+
if (Object.keys(importMap).length > 0) {
|
|
75
|
+
contents = contents.replace(importRegex, '');
|
|
76
|
+
const dedupImports = Object.entries(importMap)
|
|
77
|
+
.map(([modulePath, identifiers]) => `import { ${[...identifiers].join(', ')} } from '${modulePath}';`)
|
|
78
|
+
.join('\n');
|
|
79
|
+
contents = dedupImports + '\n' + contents;
|
|
80
|
+
}
|
|
81
|
+
// -----------------------------
|
|
82
|
+
// Step 2: Deduplicate @Component/@NgModule imports array
|
|
83
|
+
// -----------------------------
|
|
84
|
+
// Match imports: [ ... ] arrays
|
|
85
|
+
const importsArrayRegex = /imports\s*:\s*\[([\s\S]*?)\]/g;
|
|
86
|
+
contents = contents.replace(importsArrayRegex, (match, inner) => {
|
|
87
|
+
const identifiers = inner
|
|
88
|
+
.split(',')
|
|
89
|
+
.map((i) => i.trim())
|
|
90
|
+
.filter(Boolean);
|
|
91
|
+
// Deduplicate Brn* imports only
|
|
92
|
+
const deduped = Array.from(new Set(identifiers));
|
|
93
|
+
return `imports: [${deduped.join(', ')}]`;
|
|
94
|
+
});
|
|
95
|
+
tree.write(path, contents);
|
|
96
|
+
}
|
|
97
|
+
catch {
|
|
98
|
+
devkit_exports_1.logger.warn(`Could not deduplicate brain imports in ${path}`);
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
exports.default = migrateModuleImportsGenerator;
|
|
103
|
+
//# sourceMappingURL=generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/migrate-module-imports/generator.ts"],"names":[],"mappings":";;AAOA,sEAUC;;AAjBD,uCAAqE;AACrE,0DAA+C;AAC/C,+BAAgC;AAChC,wFAAgF;AAChF,sEAAqC;AAG9B,KAAK,UAAU,6BAA6B,CAAC,IAAU,EAAE,OAA4C;IAC3G,KAAK,MAAM,CAAC,IAAI,E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|
+
declare const _default: {
|
|
2
|
+
BrnAccordionModule: string;
|
|
3
|
+
BrnAlertDialogModule: string;
|
|
4
|
+
BrnAutocompleteModule: string;
|
|
5
|
+
BrnAvatarModule: string;
|
|
6
|
+
BrnButtonModule: string;
|
|
7
|
+
BrnCalendarModule: string;
|
|
8
|
+
BrnCheckboxModule: string;
|
|
9
|
+
BrnCollapsibleModule: string;
|
|
10
|
+
BrnCommandModule: string;
|
|
11
|
+
BrnDialogModule: string;
|
|
12
|
+
BrnHoverCardModule: string;
|
|
13
|
+
BrnInputOtpModule: string;
|
|
14
|
+
BrnLabelModule: string;
|
|
15
|
+
BrnMenuItemImports: string;
|
|
16
|
+
BrnMenuBarImports: string;
|
|
17
|
+
BrnContextMenuImports: string;
|
|
18
|
+
BrnMenuItemModule: string;
|
|
19
|
+
BrnMenuModule: string;
|
|
20
|
+
BrnMenuBarModule: string;
|
|
21
|
+
BrnContextMenuModule: string;
|
|
22
|
+
BrnPopoverModule: string;
|
|
23
|
+
BrnProgressModule: string;
|
|
24
|
+
BrnRadioGroupModule: string;
|
|
25
|
+
BrnSelectModule: string;
|
|
26
|
+
BrnSeparatorModule: string;
|
|
27
|
+
BrnSheetModule: string;
|
|
28
|
+
BrnSwitchModule: string;
|
|
29
|
+
BrnTabsModule: string;
|
|
30
|
+
BrnToggleModule: string;
|
|
31
|
+
BrnToggleGroupModule: string;
|
|
32
|
+
BrnToggleGroupItemModule: string;
|
|
33
|
+
BrnTooltipModule: string;
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
BrnAccordionModule: 'BrnAccordionImports',
|
|
5
|
+
BrnAlertDialogModule: 'BrnAlertDialogImports',
|
|
6
|
+
BrnAutocompleteModule: 'BrnAutocompleteImports',
|
|
7
|
+
BrnAvatarModule: 'BrnAvatarImports',
|
|
8
|
+
BrnButtonModule: 'BrnButtonImports',
|
|
9
|
+
BrnCalendarModule: 'BrnCalendarImports',
|
|
10
|
+
BrnCheckboxModule: 'BrnCheckboxImports',
|
|
11
|
+
BrnCollapsibleModule: 'BrnCollapsibleImports',
|
|
12
|
+
BrnCommandModule: 'BrnCommandImports',
|
|
13
|
+
BrnDialogModule: 'BrnDialogImports',
|
|
14
|
+
BrnHoverCardModule: 'BrnHoverCardImports',
|
|
15
|
+
BrnInputOtpModule: 'BrnInputOtpImports',
|
|
16
|
+
BrnLabelModule: 'BrnLabelImports',
|
|
17
|
+
BrnMenuItemImports: 'BrnMenuImports',
|
|
18
|
+
BrnMenuBarImports: 'BrnMenuImports',
|
|
19
|
+
BrnContextMenuImports: 'BrnMenuImports',
|
|
20
|
+
BrnMenuItemModule: 'BrnMenuImports',
|
|
21
|
+
BrnMenuModule: 'BrnMenuImports',
|
|
22
|
+
BrnMenuBarModule: 'BrnMenuImports',
|
|
23
|
+
BrnContextMenuModule: 'BrnMenuImports',
|
|
24
|
+
BrnPopoverModule: 'BrnPopoverImports',
|
|
25
|
+
BrnProgressModule: 'BrnProgressImports',
|
|
26
|
+
BrnRadioGroupModule: 'BrnRadioGroupImports',
|
|
27
|
+
BrnSelectModule: 'BrnSelectImports',
|
|
28
|
+
BrnSeparatorModule: 'BrnSeparatorImports',
|
|
29
|
+
BrnSheetModule: 'BrnSheetImports',
|
|
30
|
+
BrnSwitchModule: 'BrnSwitchImports',
|
|
31
|
+
BrnTabsModule: 'BrnTabsImports',
|
|
32
|
+
BrnToggleModule: 'BrnToggleImports',
|
|
33
|
+
BrnToggleGroupModule: 'BrnToggleGroupImports',
|
|
34
|
+
BrnToggleGroupItemModule: 'BrnToggleGroupImports',
|
|
35
|
+
BrnTooltipModule: 'BrnTooltipImports',
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=import-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-map.js","sourceRoot":"","sources":["../../../../../../libs/cli/src/generators/migrate-module-imports/import-map.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACd,kBAAkB,EAAE,qBAAqB;IACzC,oBAAoB,EAAE,uBAAuB;IAC7C,qBAAqB,EAAE,wBAAwB;IAC/C,eAAe,EAAE,kBAAkB;IACnC,eAAe,EAAE,kBAAkB;IACnC,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,oBAAoB;IACvC,oBAAoB,EAAE,uBAAuB;IAC7C,gBAAgB,EAAE,mBAAmB;IACrC,eAAe,EAAE,kBAAkB;IACnC,kBAAkB,EAAE,qBAAqB;IACzC,iBAAiB,EAAE,oBAAoB;IACvC,cAAc,EAAE,iBAAiB;IACjC,kBAAkB,EAAE,gBAAgB;IACpC,iBAAiB,EAAE,gBAAgB;IACnC,qBAAqB,EAAE,gBAAgB;IACvC,iBAAiB,EAAE,gBAAgB;IACnC,aAAa,EAAE,gBAAgB;IAC/B,gBAAgB,EAAE,gBAAgB;IAClC,oBAAoB,EAAE,gBAAgB;IACtC,gBAAgB,EAAE,mBAAmB;IACrC,iBAAiB,EAAE,oBAAoB;IACvC,mBAAmB,EAAE,sBAAsB;IAC3C,eAAe,EAAE,kBAAkB;IACnC,kBAAkB,EAAE,qBAAqB;IACzC,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,kBAAkB;IACnC,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,oBAAoB,EAAE,uBAAuB;IAC7C,wBAAwB,EAAE,uBAAuB;IACjD,gBAAgB,EAAE,mBAAmB;CACrC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "MigrateModuleImports",
|
|
4
|
+
"title": "",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"skipFormat": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"description": "Skip formatting the code after migration."
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": []
|
|
13
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmAccordion } from './lib/hlm-accordion';
|
|
4
2
|
import { HlmAccordionContent } from './lib/hlm-accordion-content';
|
|
5
3
|
import { HlmAccordionIcon } from './lib/hlm-accordion-icon';
|
|
@@ -19,9 +17,3 @@ export const HlmAccordionImports = [
|
|
|
19
17
|
HlmAccordionIcon,
|
|
20
18
|
HlmAccordionContent,
|
|
21
19
|
] as const;
|
|
22
|
-
|
|
23
|
-
@NgModule({
|
|
24
|
-
imports: [...HlmAccordionImports],
|
|
25
|
-
exports: [...HlmAccordionImports],
|
|
26
|
-
})
|
|
27
|
-
export class HlmAccordionModule {}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmAlertDialog } from './lib/hlm-alert-dialog';
|
|
4
2
|
import { HlmAlertDialogActionButton } from './lib/hlm-alert-dialog-action-button';
|
|
5
3
|
import { HlmAlertDialogCancelButton } from './lib/hlm-alert-dialog-cancel-button';
|
|
@@ -31,9 +29,3 @@ export const HlmAlertDialogImports = [
|
|
|
31
29
|
HlmAlertDialogCancelButton,
|
|
32
30
|
HlmAlertDialog,
|
|
33
31
|
] as const;
|
|
34
|
-
|
|
35
|
-
@NgModule({
|
|
36
|
-
imports: [...HlmAlertDialogImports],
|
|
37
|
-
exports: [...HlmAlertDialogImports],
|
|
38
|
-
})
|
|
39
|
-
export class HlmAlertDialogModule {}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmAlert } from './lib/hlm-alert';
|
|
4
2
|
import { HlmAlertDescription } from './lib/hlm-alert-description';
|
|
5
3
|
import { HlmAlertIcon } from './lib/hlm-alert-icon';
|
|
@@ -11,9 +9,3 @@ export * from './lib/hlm-alert-icon';
|
|
|
11
9
|
export * from './lib/hlm-alert-title';
|
|
12
10
|
|
|
13
11
|
export const HlmAlertImports = [HlmAlert, HlmAlertTitle, HlmAlertDescription, HlmAlertIcon] as const;
|
|
14
|
-
|
|
15
|
-
@NgModule({
|
|
16
|
-
imports: [...HlmAlertImports],
|
|
17
|
-
exports: [...HlmAlertImports],
|
|
18
|
-
})
|
|
19
|
-
export class HlmAlertModule {}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmAspectRatio } from './lib/helm-aspect-ratio';
|
|
3
2
|
|
|
4
3
|
export * from './lib/helm-aspect-ratio';
|
|
5
4
|
|
|
6
5
|
export const HlmAspectRatioImports = [HlmAspectRatio] as const;
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [HlmAspectRatio],
|
|
10
|
-
exports: [HlmAspectRatio],
|
|
11
|
-
})
|
|
12
|
-
export class HlmAspectRatioModule {}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmAutocomplete } from './lib/hlm-autocomplete';
|
|
3
2
|
import { HlmAutocompleteEmpty } from './lib/hlm-autocomplete-empty';
|
|
4
3
|
import { HlmAutocompleteGroup } from './lib/hlm-autocomplete-group';
|
|
@@ -28,9 +27,3 @@ export const HlmAutocompleteImports = [
|
|
|
28
27
|
HlmAutocompleteSearchInput,
|
|
29
28
|
HlmAutocompleteTrigger,
|
|
30
29
|
] as const;
|
|
31
|
-
|
|
32
|
-
@NgModule({
|
|
33
|
-
imports: [...HlmAutocompleteImports],
|
|
34
|
-
exports: [...HlmAutocompleteImports],
|
|
35
|
-
})
|
|
36
|
-
export class HlmAutocompleteModule {}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmAvatarFallback } from './lib/fallback';
|
|
4
2
|
import { HlmAvatar } from './lib/hlm-avatar';
|
|
5
3
|
import { HlmAvatarImage } from './lib/image';
|
|
@@ -9,9 +7,3 @@ export * from './lib/hlm-avatar';
|
|
|
9
7
|
export * from './lib/image';
|
|
10
8
|
|
|
11
9
|
export const HlmAvatarImports = [HlmAvatarFallback, HlmAvatarImage, HlmAvatar] as const;
|
|
12
|
-
|
|
13
|
-
@NgModule({
|
|
14
|
-
imports: [...HlmAvatarImports],
|
|
15
|
-
exports: [...HlmAvatarImports],
|
|
16
|
-
})
|
|
17
|
-
export class HlmAvatarModule {}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmBadge } from './lib/hlm-badge';
|
|
3
2
|
|
|
4
3
|
export * from './lib/hlm-badge';
|
|
5
4
|
|
|
6
5
|
export const HlmBadgeImports = [HlmBadge] as const;
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [...HlmBadgeImports],
|
|
10
|
-
exports: [...HlmBadgeImports],
|
|
11
|
-
})
|
|
12
|
-
export class HlmBadgeModule {}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmBreadcrumb } from './lib/hlm-breadcrumb';
|
|
3
2
|
import { HlmBreadcrumbEllipsis } from './lib/hlm-breadcrumb-ellipsis';
|
|
4
3
|
import { HlmBreadcrumbItem } from './lib/hlm-breadcrumb-item';
|
|
@@ -24,9 +23,3 @@ export const HlmBreadCrumbImports = [
|
|
|
24
23
|
HlmBreadcrumbPage,
|
|
25
24
|
HlmBreadcrumbList,
|
|
26
25
|
] as const;
|
|
27
|
-
|
|
28
|
-
@NgModule({
|
|
29
|
-
imports: [...HlmBreadCrumbImports],
|
|
30
|
-
exports: [...HlmBreadCrumbImports],
|
|
31
|
-
})
|
|
32
|
-
export class HlmBreadCrumbModule {}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmButton } from './lib/hlm-button';
|
|
2
|
+
|
|
3
3
|
export * from './lib/hlm-button';
|
|
4
4
|
export * from './lib/hlm-button.token';
|
|
5
5
|
|
|
6
6
|
export const HlmButtonImports = [HlmButton] as const;
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [HlmButton],
|
|
10
|
-
exports: [HlmButton],
|
|
11
|
-
})
|
|
12
|
-
export class HlmButtonModule {}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmCalendar } from './lib/hlm-calendar';
|
|
3
2
|
import { HlmCalendarMulti } from './lib/hlm-calendar-multi';
|
|
4
3
|
import { HlmCalendarRange } from './lib/hlm-calendar-range';
|
|
@@ -8,9 +7,3 @@ export * from './lib/hlm-calendar-multi';
|
|
|
8
7
|
export * from './lib/hlm-calendar-range';
|
|
9
8
|
|
|
10
9
|
export const HlmCalendarImports = [HlmCalendar, HlmCalendarMulti, HlmCalendarRange] as const;
|
|
11
|
-
|
|
12
|
-
@NgModule({
|
|
13
|
-
imports: [...HlmCalendarImports],
|
|
14
|
-
exports: [...HlmCalendarImports],
|
|
15
|
-
})
|
|
16
|
-
export class HlmCalendarModule {}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmCard } from './lib/hlm-card';
|
|
4
2
|
import { HlmCardAction } from './lib/hlm-card-action';
|
|
5
3
|
import { HlmCardContent } from './lib/hlm-card-content';
|
|
@@ -25,9 +23,3 @@ export const HlmCardImports = [
|
|
|
25
23
|
HlmCardContent,
|
|
26
24
|
HlmCardAction,
|
|
27
25
|
] as const;
|
|
28
|
-
|
|
29
|
-
@NgModule({
|
|
30
|
-
imports: [...HlmCardImports],
|
|
31
|
-
exports: [...HlmCardImports],
|
|
32
|
-
})
|
|
33
|
-
export class HlmCardModule {}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmCarousel } from './lib/hlm-carousel';
|
|
3
2
|
import { HlmCarouselContent } from './lib/hlm-carousel-content';
|
|
4
3
|
import { HlmCarouselItem } from './lib/hlm-carousel-item';
|
|
@@ -21,9 +20,3 @@ export const HlmCarouselImports = [
|
|
|
21
20
|
HlmCarouselNext,
|
|
22
21
|
HlmCarouselSlideDisplay,
|
|
23
22
|
] as const;
|
|
24
|
-
|
|
25
|
-
@NgModule({
|
|
26
|
-
imports: [...HlmCarouselImports],
|
|
27
|
-
exports: [...HlmCarouselImports],
|
|
28
|
-
})
|
|
29
|
-
export class HlmCarouselModule {}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmCheckbox } from './lib/hlm-checkbox';
|
|
4
2
|
|
|
5
3
|
export * from './lib/hlm-checkbox';
|
|
6
4
|
|
|
7
5
|
export const HlmCheckboxImports = [HlmCheckbox] as const;
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [...HlmCheckboxImports],
|
|
10
|
-
exports: [...HlmCheckboxImports],
|
|
11
|
-
})
|
|
12
|
-
export class HlmCheckboxModule {}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmCommand } from './lib/hlm-command';
|
|
4
2
|
import { HlmCommandDialog } from './lib/hlm-command-dialog';
|
|
5
3
|
import { HlmCommandDialogCloseButton } from './lib/hlm-command-dialog-close-button';
|
|
@@ -43,9 +41,3 @@ export const HlmCommandImports = [
|
|
|
43
41
|
HlmCommandGroupLabel,
|
|
44
42
|
HlmCommandEmpty,
|
|
45
43
|
] as const;
|
|
46
|
-
|
|
47
|
-
@NgModule({
|
|
48
|
-
imports: [...HlmCommandImports],
|
|
49
|
-
exports: [...HlmCommandImports],
|
|
50
|
-
})
|
|
51
|
-
export class HlmCommandModule {}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmDatePicker } from './lib/hlm-date-picker';
|
|
3
2
|
import { HlmDatePickerMulti } from './lib/hlm-date-picker-multi';
|
|
4
3
|
import { HlmDateRangePicker } from './lib/hlm-date-range-picker';
|
|
@@ -12,9 +11,3 @@ export * from './lib/hlm-date-range-picker';
|
|
|
12
11
|
export * from './lib/hlm-date-range-picker.token';
|
|
13
12
|
|
|
14
13
|
export const HlmDatePickerImports = [HlmDatePicker, HlmDatePickerMulti, HlmDateRangePicker] as const;
|
|
15
|
-
|
|
16
|
-
@NgModule({
|
|
17
|
-
imports: [...HlmDatePickerImports],
|
|
18
|
-
exports: [...HlmDatePickerImports],
|
|
19
|
-
})
|
|
20
|
-
export class HlmDatePickerModule {}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
1
|
import { HlmDialog } from './lib/hlm-dialog';
|
|
4
2
|
import { HlmDialogClose } from './lib/hlm-dialog-close';
|
|
5
3
|
import { HlmDialogContent } from './lib/hlm-dialog-content';
|
|
@@ -29,9 +27,3 @@ export const HlmDialogImports = [
|
|
|
29
27
|
HlmDialogOverlay,
|
|
30
28
|
HlmDialogTitle,
|
|
31
29
|
] as const;
|
|
32
|
-
|
|
33
|
-
@NgModule({
|
|
34
|
-
imports: [...HlmDialogImports],
|
|
35
|
-
exports: [...HlmDialogImports],
|
|
36
|
-
})
|
|
37
|
-
export class HlmDialogModule {}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmError } from './lib/hlm-error';
|
|
3
2
|
import { HlmFormField } from './lib/hlm-form-field';
|
|
4
3
|
import { HlmHint } from './lib/hlm-hint';
|
|
@@ -8,9 +7,3 @@ export * from './lib/hlm-form-field';
|
|
|
8
7
|
export * from './lib/hlm-hint';
|
|
9
8
|
|
|
10
9
|
export const HlmFormFieldImports = [HlmFormField, HlmError, HlmHint] as const;
|
|
11
|
-
|
|
12
|
-
@NgModule({
|
|
13
|
-
imports: [...HlmFormFieldImports],
|
|
14
|
-
exports: [...HlmFormFieldImports],
|
|
15
|
-
})
|
|
16
|
-
export class HlmFormFieldModule {}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmHoverCardContent } from './lib/hlm-hover-card-content';
|
|
3
2
|
|
|
4
3
|
export { HlmHoverCardContent } from './lib/hlm-hover-card-content';
|
|
5
4
|
|
|
6
5
|
export const HlmHoverCardImports = [HlmHoverCardContent] as const;
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [...HlmHoverCardImports],
|
|
10
|
-
exports: [...HlmHoverCardImports],
|
|
11
|
-
})
|
|
12
|
-
export class HlmHoverCardModule {}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmIcon } from './lib/hlm-icon';
|
|
3
2
|
|
|
4
3
|
export * from './lib/hlm-icon';
|
|
5
4
|
export * from './lib/hlm-icon.token';
|
|
6
5
|
|
|
7
6
|
export const HlmIconImports = [HlmIcon] as const;
|
|
8
|
-
|
|
9
|
-
@NgModule({
|
|
10
|
-
imports: [...HlmIconImports],
|
|
11
|
-
exports: [...HlmIconImports],
|
|
12
|
-
})
|
|
13
|
-
export class HlmIconModule {}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { HlmInput } from './lib/hlm-input';
|
|
3
2
|
|
|
4
3
|
export * from './lib/hlm-input';
|
|
5
4
|
|
|
6
5
|
export const HlmInputImports = [HlmInput] as const;
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [...HlmInputImports],
|
|
10
|
-
exports: [...HlmInputImports],
|
|
11
|
-
})
|
|
12
|
-
export class HlmInputModule {}
|