@acorex/platform 20.0.2 → 20.0.3

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.
Files changed (32) hide show
  1. package/common/index.d.ts +40 -71
  2. package/core/index.d.ts +244 -217
  3. package/fesm2022/acorex-platform-common.mjs +9 -26
  4. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-core.mjs +56 -56
  6. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  8. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  9. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-BFIGLwd9.mjs → acorex-platform-themes-default-entity-master-create-view.component-CzSqhYfE.mjs} +3 -3
  10. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-BFIGLwd9.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-CzSqhYfE.mjs.map} +1 -1
  11. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BuyMyK_I.mjs → acorex-platform-themes-default-entity-master-list-view.component-BU_uiU_3.mjs} +9 -269
  12. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BU_uiU_3.mjs.map +1 -0
  13. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-CHHmHz2a.mjs → acorex-platform-themes-default-entity-master-modify-view.component-12xcM8FJ.mjs} +3 -3
  14. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-CHHmHz2a.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-12xcM8FJ.mjs.map} +1 -1
  15. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CnjDBPeT.mjs → acorex-platform-themes-default-entity-master-single-view.component-cvoKMP84.mjs} +3 -3
  16. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CnjDBPeT.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-cvoKMP84.mjs.map} +1 -1
  17. package/fesm2022/acorex-platform-themes-default.mjs +10 -10
  18. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-widgets.mjs +26 -8
  20. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-workflow.mjs +13 -44
  22. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  23. package/layout/components/index.d.ts +2 -2
  24. package/layout/entity/index.d.ts +2 -2
  25. package/package.json +1 -5
  26. package/widgets/index.d.ts +4 -0
  27. package/workflow/index.d.ts +11 -3
  28. package/fesm2022/acorex-platform-layout-filters.mjs +0 -163
  29. package/fesm2022/acorex-platform-layout-filters.mjs.map +0 -1
  30. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BuyMyK_I.mjs.map +0 -1
  31. package/layout/filters/README.md +0 -3
  32. package/layout/filters/index.d.ts +0 -34
@@ -893,62 +893,6 @@ const AXPAppStartUpProvider = provideAppInitializer(() => {
893
893
  return initializerFn();
894
894
  });
895
895
 
896
- function getNestedKeys(obj, prefix = '') {
897
- let keys = [];
898
- for (const key in obj) {
899
- if (typeof obj[key] === 'object' && obj[key] !== null && !Array.isArray(obj[key])) {
900
- keys = [...keys, ...getNestedKeys(obj[key], prefix + key + '.')];
901
- }
902
- else {
903
- keys.push(prefix + key);
904
- }
905
- }
906
- return keys;
907
- }
908
-
909
- class AXPImageUrlLogoConfig {
910
- constructor(url, width, height) {
911
- this.url = url;
912
- this.width = width;
913
- this.height = height;
914
- }
915
- }
916
- class AXPComponentLogoConfig {
917
- constructor(component) {
918
- this.component = component;
919
- }
920
- }
921
-
922
- var AXPPlatformScope;
923
- (function (AXPPlatformScope) {
924
- AXPPlatformScope["Environment"] = "C";
925
- AXPPlatformScope["Global"] = "G";
926
- AXPPlatformScope["Platform"] = "P";
927
- AXPPlatformScope["Tenant"] = "T";
928
- AXPPlatformScope["User"] = "U";
929
- })(AXPPlatformScope || (AXPPlatformScope = {}));
930
- ;
931
- function resolvePlatformScopeKey(name) {
932
- const scopeMap = {
933
- environment: AXPPlatformScope.Environment,
934
- global: AXPPlatformScope.Global,
935
- platform: AXPPlatformScope.Platform,
936
- tenant: AXPPlatformScope.Tenant,
937
- user: AXPPlatformScope.User,
938
- };
939
- return scopeMap[name.toLowerCase()] ?? AXPPlatformScope.User;
940
- }
941
- function resolvePlatformScopeName(scope) {
942
- const scopeMap = {
943
- C: 'environment',
944
- G: 'global',
945
- P: 'platform',
946
- T: 'tenant',
947
- U: 'user',
948
- };
949
- return scopeMap[scope] ?? 'user';
950
- }
951
-
952
896
  var AXPSystemActionType;
953
897
  (function (AXPSystemActionType) {
954
898
  AXPSystemActionType["View"] = "view";
@@ -1313,6 +1257,62 @@ function getSystemActions(type) {
1313
1257
  return Object.values(AXPSystemActions).find(action => action.key === type);
1314
1258
  }
1315
1259
 
1260
+ function getNestedKeys(obj, prefix = '') {
1261
+ let keys = [];
1262
+ for (const key in obj) {
1263
+ if (typeof obj[key] === 'object' && obj[key] !== null && !Array.isArray(obj[key])) {
1264
+ keys = [...keys, ...getNestedKeys(obj[key], prefix + key + '.')];
1265
+ }
1266
+ else {
1267
+ keys.push(prefix + key);
1268
+ }
1269
+ }
1270
+ return keys;
1271
+ }
1272
+
1273
+ class AXPImageUrlLogoConfig {
1274
+ constructor(url, width, height) {
1275
+ this.url = url;
1276
+ this.width = width;
1277
+ this.height = height;
1278
+ }
1279
+ }
1280
+ class AXPComponentLogoConfig {
1281
+ constructor(component) {
1282
+ this.component = component;
1283
+ }
1284
+ }
1285
+
1286
+ var AXPPlatformScope;
1287
+ (function (AXPPlatformScope) {
1288
+ AXPPlatformScope["Environment"] = "C";
1289
+ AXPPlatformScope["Global"] = "G";
1290
+ AXPPlatformScope["Platform"] = "P";
1291
+ AXPPlatformScope["Tenant"] = "T";
1292
+ AXPPlatformScope["User"] = "U";
1293
+ })(AXPPlatformScope || (AXPPlatformScope = {}));
1294
+ ;
1295
+ function resolvePlatformScopeKey(name) {
1296
+ const scopeMap = {
1297
+ environment: AXPPlatformScope.Environment,
1298
+ global: AXPPlatformScope.Global,
1299
+ platform: AXPPlatformScope.Platform,
1300
+ tenant: AXPPlatformScope.Tenant,
1301
+ user: AXPPlatformScope.User,
1302
+ };
1303
+ return scopeMap[name.toLowerCase()] ?? AXPPlatformScope.User;
1304
+ }
1305
+ function resolvePlatformScopeName(scope) {
1306
+ const scopeMap = {
1307
+ C: 'environment',
1308
+ G: 'global',
1309
+ P: 'platform',
1310
+ T: 'tenant',
1311
+ U: 'user',
1312
+ };
1313
+ return scopeMap[scope] ?? 'user';
1314
+ }
1315
+
1316
1316
  class AXPCountdownPipe {
1317
1317
  constructor() {
1318
1318
  this.calendarService = inject(AXCalendarService);