igniteui-live-editing 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,6 +22,7 @@ export declare class SampleAssetsGenerator {
|
|
|
22
22
|
private _getAppConfig;
|
|
23
23
|
private _formatImports;
|
|
24
24
|
private _getAppConfigImports;
|
|
25
|
+
private _getAppAdditionalAdjustments;
|
|
25
26
|
private _formatProviders;
|
|
26
27
|
private _getAppModuleConfig;
|
|
27
28
|
private _getAppModuleImports;
|
|
@@ -225,8 +225,10 @@ class SampleAssetsGenerator {
|
|
|
225
225
|
_getAppConfig(config, configImports, configAdditionalImports) {
|
|
226
226
|
let appConfigTemplate = fs.readFileSync(APP_CONFIG_TEMPLATE_PATH, "utf8");
|
|
227
227
|
let imports = this._getAppConfigImports(config);
|
|
228
|
+
let additionalAdjustments = this._getAppAdditionalAdjustments(config);
|
|
228
229
|
appConfigTemplate = appConfigTemplate
|
|
229
230
|
.replace("{imports}", this._formatImports(imports))
|
|
231
|
+
.replace("{additionalAdjustments}", additionalAdjustments)
|
|
230
232
|
.replace("{providers}", this._formatProviders(config));
|
|
231
233
|
return appConfigTemplate;
|
|
232
234
|
}
|
|
@@ -270,6 +272,17 @@ class SampleAssetsGenerator {
|
|
|
270
272
|
}
|
|
271
273
|
return importMap;
|
|
272
274
|
}
|
|
275
|
+
_getAppAdditionalAdjustments(config) {
|
|
276
|
+
let additionalAdjustments = "";
|
|
277
|
+
if (config.appConfig.additionalAdjustments !== undefined &&
|
|
278
|
+
config.appConfig.additionalAdjustments.length > 0) {
|
|
279
|
+
let adjustments = config.appConfig.additionalAdjustments;
|
|
280
|
+
adjustments.forEach(a => {
|
|
281
|
+
additionalAdjustments += a + "\n";
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
return additionalAdjustments;
|
|
285
|
+
}
|
|
273
286
|
_formatProviders(config) {
|
|
274
287
|
let formatted = '';
|
|
275
288
|
if (config.appConfig.modules && config.appConfig.modules.length) {
|
package/package.json
CHANGED
package/public.d.ts
CHANGED
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"igniteui-angular-maps": "^19.0.0",
|
|
33
33
|
"igniteui-angular-spreadsheet": "^19.0.0",
|
|
34
34
|
"igniteui-angular-spreadsheet-chart-adapter": "^19.0.0",
|
|
35
|
-
"igniteui-dockmanager": "^1.
|
|
36
|
-
"igniteui-webcomponents": "^5.
|
|
35
|
+
"igniteui-dockmanager": "^1.16.0",
|
|
36
|
+
"igniteui-webcomponents": "^5.3.0",
|
|
37
37
|
"immediate": "^3.2.3",
|
|
38
38
|
"intl": "^1.2.5",
|
|
39
39
|
"rxjs": "^7.8.1",
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"karma-chrome-launcher": "~3.2.0",
|
|
52
52
|
"karma-jasmine": "~5.1.0",
|
|
53
53
|
"karma-jasmine-html-reporter": "^2.0.0",
|
|
54
|
-
"typescript": "5.
|
|
54
|
+
"typescript": "5.7.3"
|
|
55
55
|
}
|
|
56
56
|
}
|