@acorex/modules 19.1.10 → 19.1.12

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 (82) hide show
  1. package/fesm2022/{acorex-modules-form-template-management-category.entity-m0HWwBzu.mjs → acorex-modules-form-template-management-category.entity-D8XA8ZaF.mjs} +5 -5
  2. package/fesm2022/acorex-modules-form-template-management-category.entity-D8XA8ZaF.mjs.map +1 -0
  3. package/fesm2022/{acorex-modules-form-template-management-template.entity-EoPISAfV.mjs → acorex-modules-form-template-management-template.entity-CGj7d49H.mjs} +4 -4
  4. package/fesm2022/acorex-modules-form-template-management-template.entity-CGj7d49H.mjs.map +1 -0
  5. package/fesm2022/acorex-modules-form-template-management.mjs +3 -3
  6. package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
  7. package/fesm2022/acorex-modules-notification-management.mjs +65 -63
  8. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  9. package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs +305 -0
  10. package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs.map +1 -0
  11. package/fesm2022/acorex-modules-organization-managment-chart.entity-C_1rAJrs.mjs +257 -0
  12. package/fesm2022/acorex-modules-organization-managment-chart.entity-C_1rAJrs.mjs.map +1 -0
  13. package/fesm2022/acorex-modules-organization-managment-company.entity-5qijWD6i.mjs +199 -0
  14. package/fesm2022/acorex-modules-organization-managment-company.entity-5qijWD6i.mjs.map +1 -0
  15. package/fesm2022/acorex-modules-organization-managment-department.entity-BW18skLD.mjs +199 -0
  16. package/fesm2022/acorex-modules-organization-managment-department.entity-BW18skLD.mjs.map +1 -0
  17. package/fesm2022/acorex-modules-organization-managment-employment.entity-D28NBRYg.mjs +199 -0
  18. package/fesm2022/acorex-modules-organization-managment-employment.entity-D28NBRYg.mjs.map +1 -0
  19. package/fesm2022/acorex-modules-organization-managment-position.entity-DhndysSH.mjs +199 -0
  20. package/fesm2022/acorex-modules-organization-managment-position.entity-DhndysSH.mjs.map +1 -0
  21. package/fesm2022/acorex-modules-organization-managment.mjs +482 -0
  22. package/fesm2022/acorex-modules-organization-managment.mjs.map +1 -0
  23. package/fesm2022/acorex-modules-platform-management.mjs +396 -35
  24. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  25. package/fesm2022/acorex-modules-scheduler-job-management.mjs +36 -24
  26. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  27. package/fesm2022/acorex-modules-security-management.mjs +269 -108
  28. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  29. package/fesm2022/acorex-modules-text-template-management.mjs +2 -7
  30. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  31. package/organization-managment/README.md +3 -0
  32. package/organization-managment/index.d.ts +8 -0
  33. package/organization-managment/lib/const.d.ts +38 -0
  34. package/organization-managment/lib/entities/chart/chart.entity.d.ts +3 -0
  35. package/organization-managment/lib/entities/chart/chart.module.d.ts +6 -0
  36. package/organization-managment/lib/entities/chart/chart.service.d.ts +10 -0
  37. package/organization-managment/lib/entities/chart/chart.types.d.ts +6 -0
  38. package/organization-managment/lib/entities/company/company.entity.d.ts +3 -0
  39. package/organization-managment/lib/entities/company/company.module.d.ts +6 -0
  40. package/organization-managment/lib/entities/company/company.service.d.ts +10 -0
  41. package/organization-managment/lib/entities/company/company.types.d.ts +4 -0
  42. package/organization-managment/lib/entities/department/department.entity.d.ts +3 -0
  43. package/organization-managment/lib/entities/department/department.module.d.ts +6 -0
  44. package/organization-managment/lib/entities/department/department.service.d.ts +10 -0
  45. package/organization-managment/lib/entities/department/department.types.d.ts +4 -0
  46. package/organization-managment/lib/entities/employment/employment.entity.d.ts +3 -0
  47. package/organization-managment/lib/entities/employment/employment.module.d.ts +6 -0
  48. package/organization-managment/lib/entities/employment/employment.service.d.ts +10 -0
  49. package/organization-managment/lib/entities/employment/employment.types.d.ts +4 -0
  50. package/organization-managment/lib/entities/index.d.ts +5 -0
  51. package/organization-managment/lib/entities/position/position.entity.d.ts +3 -0
  52. package/organization-managment/lib/entities/position/position.module.d.ts +6 -0
  53. package/organization-managment/lib/entities/position/position.service.d.ts +10 -0
  54. package/organization-managment/lib/entities/position/position.types.d.ts +4 -0
  55. package/organization-managment/lib/entity.provider.d.ts +10 -0
  56. package/organization-managment/lib/menu.provider.d.ts +5 -0
  57. package/organization-managment/lib/organization-managment.module.d.ts +13 -0
  58. package/organization-managment/lib/pages/chart-design/add-item/add-item.component.d.ts +14 -0
  59. package/organization-managment/lib/pages/chart-design/chart-design.page.d.ts +26 -0
  60. package/organization-managment/lib/pages/chart-design/chart-design.service.d.ts +23 -0
  61. package/organization-managment/lib/pages/chart-design/chart.type.d.ts +9 -0
  62. package/organization-managment/lib/setting.provider.d.ts +4 -0
  63. package/organization-managment/lib/workflows/chart.workflow.d.ts +12 -0
  64. package/package.json +12 -8
  65. package/platform-management/index.d.ts +0 -1
  66. package/platform-management/lib/const.d.ts +27 -7
  67. package/platform-management/lib/entities/app-version/app-version.entity.d.ts +3 -0
  68. package/platform-management/lib/entities/app-version/app-version.service.d.ts +10 -0
  69. package/platform-management/lib/entities/app-version/app-version.types.d.ts +6 -0
  70. package/platform-management/lib/entities/app-version/index.d.ts +3 -0
  71. package/platform-management/lib/{global-variables → entities/global-variable}/index.d.ts +1 -2
  72. package/platform-management/lib/entities/index.d.ts +2 -0
  73. package/platform-management/lib/entity.provider.d.ts +10 -0
  74. package/scheduler-job-management/lib/const.d.ts +17 -6
  75. package/security-management/index.d.ts +1 -0
  76. package/security-management/lib/entities/index.d.ts +3 -0
  77. package/fesm2022/acorex-modules-form-template-management-category.entity-m0HWwBzu.mjs.map +0 -1
  78. package/fesm2022/acorex-modules-form-template-management-template.entity-EoPISAfV.mjs.map +0 -1
  79. package/platform-management/lib/global-variables/entity.loader.d.ts +0 -9
  80. /package/platform-management/lib/{global-variables/entities → entities/global-variable}/global-variable.entity.d.ts +0 -0
  81. /package/platform-management/lib/{global-variables → entities/global-variable}/global-variables.service.d.ts +0 -0
  82. /package/platform-management/lib/{global-variables → entities/global-variable}/global-variables.types.d.ts +0 -0
@@ -607,20 +607,339 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
607
607
  }]
608
608
  }], ctorParameters: () => [{ type: i1$1.AXPAppStartUpService }, { type: i0.Injector }] });
609
609
 
610
- const AXMPlatformManagementModuleConst = {
611
- moduleName: 'common',
612
- moduleRoute: 'platform-management',
610
+ const config = {
613
611
  i18n: 'platform-management',
614
- localizationManagement: 'localization-management',
615
- globalVariableEntity: 'variables',
616
- textSearchEntity: 'text-search',
617
612
  };
613
+ const RootConfig = {
614
+ config,
615
+ module: {
616
+ route: 'platform-management',
617
+ name: 'PlatformManagement',
618
+ title: `t('module-name', {scope:"${config.i18n}"})`,
619
+ icon: 'fa-solid fa-cogs',
620
+ },
621
+ entities: {
622
+ localizationManagement: {
623
+ name: 'Localization Management',
624
+ title: `t("localization-management", {scope:"${config.i18n}"})`,
625
+ icon: 'fa-solid fa-globe',
626
+ },
627
+ globalVariable: {
628
+ name: 'Global Variables',
629
+ title: `t("variables", {scope:"${config.i18n}"})`,
630
+ icon: 'fa-solid fa-object-exclude',
631
+ },
632
+ appVersion: {
633
+ name: 'app-version',
634
+ title: `t("appVersion", {scope:"${config.i18n}"})`,
635
+ icon: 'fa-regular fa-code-branch',
636
+ },
637
+ },
638
+ };
639
+
640
+ class AXMAppVersionService extends AXMEntityCrudServiceImpl {
641
+ }
642
+ class AXMAppVersionServiceImpl extends AXMEntityCrudServiceImpl {
643
+ constructor() {
644
+ super(`${RootConfig.module.name}.${RootConfig.entities.appVersion.name}`);
645
+ }
646
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAppVersionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
647
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAppVersionServiceImpl }); }
648
+ }
649
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAppVersionServiceImpl, decorators: [{
650
+ type: Injectable
651
+ }], ctorParameters: () => [] });
652
+
653
+ async function appVersionEntityEntityFactory(injector) {
654
+ const dataService = injector.get(AXMAppVersionService);
655
+ const entityDef = {
656
+ module: RootConfig.module.name,
657
+ name: RootConfig.entities.appVersion.name,
658
+ source: '',
659
+ title: RootConfig.entities.appVersion.title,
660
+ formats: {
661
+ individual: 'Application Version',
662
+ plural: 'Application Versions',
663
+ },
664
+ relatedEntities: [],
665
+ groups: [
666
+ {
667
+ id: 'section',
668
+ title: RootConfig.entities.appVersion.title,
669
+ },
670
+ ],
671
+ properties: [
672
+ {
673
+ name: 'versionNumber',
674
+ title: 'Version Number',
675
+ groupId: 'section',
676
+ schema: {
677
+ dataType: 'string',
678
+ interface: {
679
+ type: AXPWidgetsCatalog.text,
680
+ },
681
+ },
682
+ validations: [
683
+ {
684
+ rule: 'required',
685
+ },
686
+ ],
687
+ },
688
+ {
689
+ name: 'changeLog',
690
+ title: 'Change Log',
691
+ groupId: 'section',
692
+ schema: {
693
+ dataType: 'string',
694
+ interface: {
695
+ type: AXPWidgetsCatalog.text,
696
+ options: {
697
+ multiple: true,
698
+ },
699
+ },
700
+ },
701
+ validations: [
702
+ {
703
+ rule: 'required',
704
+ },
705
+ ],
706
+ },
707
+ {
708
+ name: 'publishDate',
709
+ title: 'Publish Date',
710
+ groupId: 'section',
711
+ schema: {
712
+ dataType: 'dateTime',
713
+ interface: {
714
+ type: AXPWidgetsCatalog.dateTime,
715
+ },
716
+ },
717
+ validations: [
718
+ {
719
+ rule: 'required',
720
+ },
721
+ ],
722
+ },
723
+ ],
724
+ columns: [{ name: 'versionNumber' }, { name: 'changeLog' }, { name: 'publishDate' }],
725
+ commands: {
726
+ create: {
727
+ execute: async (data) => {
728
+ return Promise.resolve({ id: await dataService.insertOne(data) });
729
+ },
730
+ },
731
+ delete: {
732
+ execute: async (id) => {
733
+ await await dataService.deleteOne(id);
734
+ return Promise.resolve();
735
+ },
736
+ },
737
+ update: {
738
+ execute: async (data) => {
739
+ return new Promise((resolve) => {
740
+ setTimeout(async () => {
741
+ await dataService.updateOne(data.id, data);
742
+ resolve(data);
743
+ }, 1000);
744
+ });
745
+ },
746
+ },
747
+ },
748
+ queries: {
749
+ byKey: {
750
+ execute: async (id) => {
751
+ return new Promise((resolve) => {
752
+ setTimeout(async () => {
753
+ const entity = await dataService.getOne(id);
754
+ resolve(entity);
755
+ }, 500);
756
+ });
757
+ },
758
+ type: AXPEntityQueryType.Single,
759
+ },
760
+ list: {
761
+ execute: async (e) => {
762
+ const x = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
763
+ console.log(x);
764
+ return x;
765
+ },
766
+ type: AXPEntityQueryType.List,
767
+ },
768
+ },
769
+ interfaces: {
770
+ master: {
771
+ create: {
772
+ sections: [
773
+ {
774
+ id: 'section',
775
+ },
776
+ ],
777
+ properties: [
778
+ {
779
+ name: 'versionNumber',
780
+ layout: {
781
+ positions: {
782
+ lg: {
783
+ colSpan: 6,
784
+ },
785
+ },
786
+ },
787
+ },
788
+ {
789
+ name: 'publishDate',
790
+ layout: {
791
+ positions: {
792
+ lg: {
793
+ colSpan: 6,
794
+ },
795
+ },
796
+ },
797
+ },
798
+ {
799
+ name: 'changeLog',
800
+ layout: {
801
+ positions: {
802
+ lg: {
803
+ colSpan: 12,
804
+ },
805
+ },
806
+ },
807
+ },
808
+ ],
809
+ },
810
+ update: {
811
+ sections: [
812
+ {
813
+ id: 'section',
814
+ },
815
+ ],
816
+ properties: [
817
+ {
818
+ name: 'versionNumber',
819
+ layout: {
820
+ positions: {
821
+ lg: {
822
+ colSpan: 6,
823
+ },
824
+ },
825
+ },
826
+ },
827
+ {
828
+ name: 'publishDate',
829
+ layout: {
830
+ positions: {
831
+ lg: {
832
+ colSpan: 6,
833
+ },
834
+ },
835
+ },
836
+ },
837
+ {
838
+ name: 'changeLog',
839
+ layout: {
840
+ positions: {
841
+ lg: {
842
+ colSpan: 12,
843
+ },
844
+ },
845
+ },
846
+ },
847
+ ],
848
+ },
849
+ single: {
850
+ title: '{{versionNumber}}',
851
+ sections: [
852
+ {
853
+ id: 'section',
854
+ },
855
+ ],
856
+ properties: [
857
+ {
858
+ name: 'versionNumber',
859
+ layout: {
860
+ positions: {
861
+ lg: {
862
+ colSpan: 6,
863
+ },
864
+ },
865
+ },
866
+ },
867
+ {
868
+ name: 'publishDate',
869
+ layout: {
870
+ positions: {
871
+ lg: {
872
+ colSpan: 6,
873
+ },
874
+ },
875
+ },
876
+ },
877
+ {
878
+ name: 'changeLog',
879
+ layout: {
880
+ positions: {
881
+ lg: {
882
+ colSpan: 12,
883
+ },
884
+ },
885
+ },
886
+ },
887
+ ],
888
+ actions: [],
889
+ },
890
+ list: {
891
+ actions: [
892
+ {
893
+ title: 'Create New',
894
+ command: 'create-entity',
895
+ priority: 'primary',
896
+ type: 'create',
897
+ scope: AXPEntityCommandScope.TypeLevel,
898
+ },
899
+ {
900
+ title: 'Delete Items',
901
+ command: 'delete-entity',
902
+ priority: 'primary',
903
+ type: 'delete',
904
+ scope: AXPEntityCommandScope.Selected,
905
+ },
906
+ {
907
+ title: 'Details',
908
+ command: 'open-entity',
909
+ priority: 'secondary',
910
+ type: 'view',
911
+ scope: AXPEntityCommandScope.Individual,
912
+ },
913
+ {
914
+ title: 'Delete',
915
+ command: 'delete-entity',
916
+ priority: 'secondary',
917
+ type: 'delete',
918
+ scope: AXPEntityCommandScope.Individual,
919
+ },
920
+ ],
921
+ views: [
922
+ {
923
+ name: 'all',
924
+ title: 'All Items',
925
+ fixed: true,
926
+ columns: [],
927
+ conditions: [],
928
+ sorts: [],
929
+ },
930
+ ],
931
+ },
932
+ },
933
+ },
934
+ };
935
+ return entityDef;
936
+ }
618
937
 
619
938
  class AXMGlobalVariablesService extends AXMEntityCrudServiceImpl {
620
939
  }
621
940
  class AXMGlobalVariablesServiceImpl extends AXMEntityCrudServiceImpl {
622
941
  constructor() {
623
- super(`${AXMPlatformManagementModuleConst.moduleName}.${AXMPlatformManagementModuleConst.globalVariableEntity}`);
942
+ super(`${RootConfig.module.name}.${RootConfig.entities.globalVariable.name}`);
624
943
  }
625
944
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMGlobalVariablesServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
626
945
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMGlobalVariablesServiceImpl }); }
@@ -631,9 +950,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
631
950
 
632
951
  async function globalVariableEntityFactory(injector) {
633
952
  const dataService = injector.get(AXMGlobalVariablesService);
953
+ const i18n = RootConfig.config.i18n;
634
954
  const entityDef = {
635
- module: AXMPlatformManagementModuleConst.moduleName,
636
- name: AXMPlatformManagementModuleConst.globalVariableEntity,
955
+ module: RootConfig.module.name,
956
+ name: RootConfig.entities.globalVariable.name,
637
957
  source: '',
638
958
  title: 'Global Variable',
639
959
  formats: {
@@ -650,7 +970,7 @@ async function globalVariableEntityFactory(injector) {
650
970
  properties: [
651
971
  {
652
972
  name: 'name',
653
- title: 'Name',
973
+ title: `t("name", { scope: "${i18n}" })`,
654
974
  groupId: 'section',
655
975
  schema: {
656
976
  dataType: 'string',
@@ -666,7 +986,7 @@ async function globalVariableEntityFactory(injector) {
666
986
  },
667
987
  {
668
988
  name: 'title',
669
- title: 'Title',
989
+ title: `t("title", { scope: "${i18n}" })`,
670
990
  groupId: 'section',
671
991
  schema: {
672
992
  dataType: 'string',
@@ -682,7 +1002,7 @@ async function globalVariableEntityFactory(injector) {
682
1002
  },
683
1003
  {
684
1004
  name: 'value',
685
- title: 'Data Value',
1005
+ title: `t("value", { scope: "${i18n}" })`,
686
1006
  groupId: 'section',
687
1007
  schema: {
688
1008
  dataType: 'string',
@@ -698,7 +1018,7 @@ async function globalVariableEntityFactory(injector) {
698
1018
  },
699
1019
  {
700
1020
  name: 'dataType',
701
- title: 'Data Type',
1021
+ title: `t("dataType", { scope: "${i18n}" })`,
702
1022
  groupId: 'section',
703
1023
  schema: {
704
1024
  dataType: 'string',
@@ -727,7 +1047,7 @@ async function globalVariableEntityFactory(injector) {
727
1047
  ],
728
1048
  },
729
1049
  ],
730
- columns: [{ name: 'title' }, { name: 'value' }, { name: 'dataType' }],
1050
+ columns: [{ name: 'title' }, { name: 'dataType' }, { name: 'value' }],
731
1051
  commands: {
732
1052
  create: {
733
1053
  execute: async (data) => {
@@ -926,28 +1246,28 @@ async function globalVariableEntityFactory(injector) {
926
1246
  list: {
927
1247
  actions: [
928
1248
  {
929
- title: 'Create New',
1249
+ title: `t("create", { scope: "common" })`,
930
1250
  command: 'create-entity',
931
1251
  priority: 'primary',
932
1252
  type: 'create',
933
1253
  scope: AXPEntityCommandScope.TypeLevel,
934
1254
  },
935
1255
  {
936
- title: 'Delete Items',
1256
+ title: 't("deleteItems", { scope: "common" })',
937
1257
  command: 'delete-entity',
938
1258
  priority: 'primary',
939
1259
  type: 'delete',
940
1260
  scope: AXPEntityCommandScope.Selected,
941
1261
  },
942
1262
  {
943
- title: 'Details',
1263
+ title: 't("deleteItems", { scope: "common" })',
944
1264
  command: 'open-entity',
945
1265
  priority: 'secondary',
946
1266
  type: 'view',
947
1267
  scope: AXPEntityCommandScope.Individual,
948
1268
  },
949
1269
  {
950
- title: 'Delete',
1270
+ title: 't("delete", { scope: "common" })',
951
1271
  command: 'delete-entity',
952
1272
  priority: 'secondary',
953
1273
  type: 'delete',
@@ -957,7 +1277,7 @@ async function globalVariableEntityFactory(injector) {
957
1277
  views: [
958
1278
  {
959
1279
  name: 'all',
960
- title: 'All Items',
1280
+ title: 't("allItem", { scope: "common" })',
961
1281
  fixed: true,
962
1282
  columns: [],
963
1283
  conditions: [],
@@ -971,28 +1291,52 @@ async function globalVariableEntityFactory(injector) {
971
1291
  return entityDef;
972
1292
  }
973
1293
 
974
- var globalVariable_entity = /*#__PURE__*/Object.freeze({
1294
+ var index = /*#__PURE__*/Object.freeze({
975
1295
  __proto__: null,
1296
+ AXMAppVersionService: AXMAppVersionService,
1297
+ AXMAppVersionServiceImpl: AXMAppVersionServiceImpl,
1298
+ AXMGlobalVariablesService: AXMGlobalVariablesService,
1299
+ AXMGlobalVariablesServiceImpl: AXMGlobalVariablesServiceImpl,
1300
+ appVersionEntityEntityFactory: appVersionEntityEntityFactory,
976
1301
  globalVariableEntityFactory: globalVariableEntityFactory
977
1302
  });
978
1303
 
979
- class AXMGlobalVariableModuleEntityLoader {
1304
+ class AXMEntityLoader {
980
1305
  constructor() {
981
1306
  this.injector = inject(Injector);
982
1307
  }
1308
+ preload() {
1309
+ const module = RootConfig.module.name;
1310
+ return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
1311
+ module: module,
1312
+ entity: entity.name,
1313
+ }));
1314
+ }
983
1315
  async get(moduleName, entityName) {
984
- switch (entityName) {
985
- case AXMPlatformManagementModuleConst.globalVariableEntity: {
986
- const entity = (await Promise.resolve().then(function () { return globalVariable_entity; })).globalVariableEntityFactory;
987
- return entity(this.injector);
988
- }
1316
+ if (moduleName == RootConfig.module.name) {
1317
+ return new Promise(async (resolve) => {
1318
+ switch (entityName) {
1319
+ case RootConfig.entities.globalVariable.name: {
1320
+ const entity = (await Promise.resolve().then(function () { return index; })).globalVariableEntityFactory;
1321
+ resolve(entity(this.injector));
1322
+ break;
1323
+ }
1324
+ case RootConfig.entities.appVersion.name: {
1325
+ const entity = (await Promise.resolve().then(function () { return index; })).appVersionEntityEntityFactory;
1326
+ resolve(entity(this.injector));
1327
+ break;
1328
+ }
1329
+ default:
1330
+ resolve(null);
1331
+ }
1332
+ });
989
1333
  }
990
1334
  return null;
991
1335
  }
992
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMGlobalVariableModuleEntityLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
993
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMGlobalVariableModuleEntityLoader }); }
1336
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1337
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityLoader }); }
994
1338
  }
995
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMGlobalVariableModuleEntityLoader, decorators: [{
1339
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityLoader, decorators: [{
996
1340
  type: Injectable
997
1341
  }] });
998
1342
 
@@ -1002,7 +1346,7 @@ class AXMMenuProvider {
1002
1346
  this.sessionService = inject(AXPSessionService);
1003
1347
  }
1004
1348
  async provide(context) {
1005
- const scope = AXMPlatformManagementModuleConst.i18n;
1349
+ const scope = RootConfig.config.i18n;
1006
1350
  const appName = this.sessionService.application?.name;
1007
1351
  context.addItems([
1008
1352
  {
@@ -1037,8 +1381,17 @@ class AXMMenuProvider {
1037
1381
  {
1038
1382
  priority: 9001,
1039
1383
  text: `t('globalVariables', {scope: "${scope}"})`,
1040
- path: this.entityService.createPath(AXMPlatformManagementModuleConst.moduleName, AXMPlatformManagementModuleConst.globalVariableEntity),
1041
- icon: 'fa-solid fa-object-exclude',
1384
+ path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.globalVariable.name),
1385
+ icon: RootConfig.entities.globalVariable.icon,
1386
+ data: {
1387
+ // requiredPermission: '',
1388
+ },
1389
+ },
1390
+ {
1391
+ priority: 9002,
1392
+ text: `t('appVersion', {scope: "${scope}"})`,
1393
+ path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.appVersion.name),
1394
+ icon: RootConfig.entities.appVersion.icon,
1042
1395
  data: {
1043
1396
  // requiredPermission: '',
1044
1397
  },
@@ -1057,9 +1410,13 @@ class AXMPlatformManagementModule {
1057
1410
  provide: AXMGlobalVariablesService,
1058
1411
  useClass: AXMGlobalVariablesServiceImpl,
1059
1412
  },
1413
+ {
1414
+ provide: AXMAppVersionService,
1415
+ useClass: AXMAppVersionServiceImpl,
1416
+ },
1060
1417
  {
1061
1418
  provide: AXP_ENTITY_DEFINITION_LOADER,
1062
- useClass: AXMGlobalVariableModuleEntityLoader,
1419
+ useClass: AXMEntityLoader,
1063
1420
  multi: true,
1064
1421
  },
1065
1422
  {
@@ -1080,9 +1437,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
1080
1437
  provide: AXMGlobalVariablesService,
1081
1438
  useClass: AXMGlobalVariablesServiceImpl,
1082
1439
  },
1440
+ {
1441
+ provide: AXMAppVersionService,
1442
+ useClass: AXMAppVersionServiceImpl,
1443
+ },
1083
1444
  {
1084
1445
  provide: AXP_ENTITY_DEFINITION_LOADER,
1085
- useClass: AXMGlobalVariableModuleEntityLoader,
1446
+ useClass: AXMEntityLoader,
1086
1447
  multi: true,
1087
1448
  },
1088
1449
  {
@@ -1098,5 +1459,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
1098
1459
  * Generated bundle index. Do not edit.
1099
1460
  */
1100
1461
 
1101
- export { AXMCommonModuleEntityProvider, AXMGlobalVariableModuleEntityLoader, AXMGlobalVariablesService, AXMGlobalVariablesServiceImpl, AXMPlatformManagementModule, AXMPlatformManagementModuleConst, globalVariableEntityFactory };
1462
+ export { AXMCommonModuleEntityProvider, AXMPlatformManagementModule, RootConfig };
1102
1463
  //# sourceMappingURL=acorex-modules-platform-management.mjs.map