@acorex/platform 21.0.0-next.50 → 21.0.0-next.53
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/acorex-platform-common.mjs +6 -4
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +4933 -4818
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +38 -25
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +31 -25
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs → acorex-platform-themes-shared-settings.provider-BgXYCFia.mjs} +3 -10
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BgXYCFia.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +4 -4
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1 -1
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +6 -6
- package/types/acorex-platform-common.d.ts +12 -5
- package/types/acorex-platform-layout-components.d.ts +719 -627
- package/types/acorex-platform-layout-entity.d.ts +4 -0
- package/types/acorex-platform-layout-widgets.d.ts +4 -2
- package/types/acorex-platform-workflow.d.ts +19 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs.map +0 -1
|
@@ -244,13 +244,14 @@ class AXPSettingDefinitionProviderContext {
|
|
|
244
244
|
this.rootGroups = [];
|
|
245
245
|
this.groupMap = new Map();
|
|
246
246
|
}
|
|
247
|
-
addGroup(name, title, description, icon, pageTitle) {
|
|
247
|
+
addGroup(name, title, description, icon, pageTitle, priority) {
|
|
248
248
|
const newGroup = {
|
|
249
249
|
name,
|
|
250
250
|
title,
|
|
251
251
|
pageTitle,
|
|
252
252
|
description,
|
|
253
253
|
icon,
|
|
254
|
+
priority,
|
|
254
255
|
groups: [],
|
|
255
256
|
sections: [],
|
|
256
257
|
};
|
|
@@ -299,13 +300,14 @@ class AXPSettingDefinitionGroupBuilder {
|
|
|
299
300
|
}
|
|
300
301
|
return new AXPSettingDefinitionSectionBuilder(this, foundSection);
|
|
301
302
|
}
|
|
302
|
-
addGroup(name, title, description, icon, pageTitle) {
|
|
303
|
+
addGroup(name, title, description, icon, pageTitle, priority) {
|
|
303
304
|
const newGroup = {
|
|
304
305
|
name,
|
|
305
306
|
title,
|
|
306
307
|
pageTitle,
|
|
307
308
|
description: description,
|
|
308
309
|
icon,
|
|
310
|
+
priority,
|
|
309
311
|
groups: [],
|
|
310
312
|
sections: [],
|
|
311
313
|
};
|
|
@@ -428,7 +430,7 @@ class AXPSettingDefinitionProviderService {
|
|
|
428
430
|
}))
|
|
429
431
|
.filter((group) => group.sections.length > 0 || group.groups.length > 0); // Keep groups with valid sections or nested groups
|
|
430
432
|
};
|
|
431
|
-
return sortBy(filterByScope(this.cache, scope), 'title');
|
|
433
|
+
return sortBy(filterByScope(this.cache, scope), [(group) => group.priority ?? 1000, 'title']);
|
|
432
434
|
}
|
|
433
435
|
async defaultValues() {
|
|
434
436
|
const defaults = {};
|
|
@@ -1275,7 +1277,7 @@ class AXPHomePageSettingProvider {
|
|
|
1275
1277
|
}
|
|
1276
1278
|
// Define the 'General Settings' group
|
|
1277
1279
|
context
|
|
1278
|
-
.addGroup('general', `${I18N}.general.nav-title`, `${I18N}.general.description`, 'fa-light fa-palette', `${I18N}.general.title
|
|
1280
|
+
.addGroup('general', `${I18N}.general.nav-title`, `${I18N}.general.description`, 'fa-light fa-palette', `${I18N}.general.title`, 1)
|
|
1279
1281
|
// Add the 'Startup' section
|
|
1280
1282
|
.addSection('startup', `${I18N}.general.startup.title`, `${I18N}.general.startup.description`)
|
|
1281
1283
|
// Add the 'Home Page' setting
|