@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
@@ -1,6 +1,6 @@
1
1
  import { RootConfig as RootConfig$1 } from '@acorex/modules/text-template-management';
2
2
  import * as i1$2 from '@acorex/platform/common';
3
- import { AXMEntityCrudServiceImpl, AXPEntityQueryType, AXPEntityCommandScope, AXPDataGenerator, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXPComponentSlotModule, AXPEntityStorageService, AXPEntityDataProviderImpl } from '@acorex/platform/common';
3
+ import { AXMEntityCrudServiceImpl, AXPEntityQueryType, AXPEntityCommandScope, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXPComponentSlotModule, AXPEntityStorageService, AXPEntityDataProviderImpl, AXPDataGenerator } from '@acorex/platform/common';
4
4
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
5
5
  import * as i0 from '@angular/core';
6
6
  import { Injectable, NgModule, inject, input, output, computed, Component, ChangeDetectionStrategy, signal, effect, Injector } from '@angular/core';
@@ -42,7 +42,7 @@ const RootConfig = {
42
42
  entities: {
43
43
  channel: {
44
44
  name: 'Channels',
45
- title: 't("channel", {scope:"${config.i18n}")',
45
+ title: `t("channel", {scope:"${config.i18n}")`,
46
46
  icon: 'fa-solid fa-list',
47
47
  },
48
48
  template: {
@@ -73,6 +73,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
73
73
 
74
74
  async function notificationChannelEntityFactory(injector) {
75
75
  const dataService = injector.get(AXMNotificationManagementChannelEntityService);
76
+ const i18n = RootConfig.config.i18n;
76
77
  const entityDef = {
77
78
  module: RootConfig.module.name,
78
79
  name: RootConfig.entities.channel.name,
@@ -92,7 +93,7 @@ async function notificationChannelEntityFactory(injector) {
92
93
  properties: [
93
94
  {
94
95
  name: 'title',
95
- title: 'Title',
96
+ title: `t("name", { scope: "${i18n}" })`,
96
97
  groupId: 'notificationChannel',
97
98
  schema: {
98
99
  dataType: 'string',
@@ -108,7 +109,7 @@ async function notificationChannelEntityFactory(injector) {
108
109
  },
109
110
  {
110
111
  name: 'template',
111
- title: 'Template',
112
+ title: `t("template", { scope: "${i18n}" })`,
112
113
  groupId: 'notificationChannel',
113
114
  schema: {
114
115
  dataType: 'string',
@@ -123,7 +124,7 @@ async function notificationChannelEntityFactory(injector) {
123
124
  },
124
125
  {
125
126
  name: 'body',
126
- title: 'Body',
127
+ title: `t("body", { scope: "${i18n}" })`,
127
128
  groupId: 'notificationChannel',
128
129
  schema: {
129
130
  dataType: 'string',
@@ -139,7 +140,7 @@ async function notificationChannelEntityFactory(injector) {
139
140
  },
140
141
  {
141
142
  name: 'channel',
142
- title: 'Channel',
143
+ title: `t("channel", { scope: "${i18n}" })`,
143
144
  groupId: 'notificationChannel',
144
145
  schema: {
145
146
  dataType: 'string',
@@ -165,13 +166,13 @@ async function notificationChannelEntityFactory(injector) {
165
166
  ],
166
167
  },
167
168
  {
168
- name: 'title',
169
- title: 'Title',
169
+ name: 'trigger',
170
+ title: `t("trigger", { scope: "${i18n}" })`,
170
171
  groupId: 'notificationChannel',
171
172
  schema: {
172
173
  dataType: 'string',
173
174
  interface: {
174
- type: AXPWidgetsCatalog.text,
175
+ type: AXPWidgetsCatalog.cronJob,
175
176
  },
176
177
  },
177
178
  validations: [
@@ -253,6 +254,16 @@ async function notificationChannelEntityFactory(injector) {
253
254
  },
254
255
  },
255
256
  },
257
+ {
258
+ name: 'trigger',
259
+ layout: {
260
+ positions: {
261
+ lg: {
262
+ colSpan: 12,
263
+ },
264
+ },
265
+ },
266
+ },
256
267
  {
257
268
  name: 'channel',
258
269
  layout: {
@@ -348,28 +359,28 @@ async function notificationChannelEntityFactory(injector) {
348
359
  list: {
349
360
  actions: [
350
361
  {
351
- title: 'Create New',
362
+ title: `t("create", { scope: "common" })`,
352
363
  command: 'create-entity',
353
364
  priority: 'primary',
354
365
  type: 'create',
355
366
  scope: AXPEntityCommandScope.TypeLevel,
356
367
  },
357
368
  {
358
- title: 'Delete Items',
369
+ title: 't("deleteItems", { scope: "common" })',
359
370
  command: 'delete-entity',
360
371
  priority: 'primary',
361
372
  type: 'delete',
362
373
  scope: AXPEntityCommandScope.Selected,
363
374
  },
364
375
  {
365
- title: 'Details',
376
+ title: 't("detail", { scope: "common" })',
366
377
  command: 'open-entity',
367
378
  priority: 'primary',
368
379
  type: 'view',
369
380
  scope: AXPEntityCommandScope.Individual,
370
381
  },
371
382
  {
372
- title: 'Delete',
383
+ title: 't("delete", { scope: "common" })',
373
384
  command: 'delete-entity',
374
385
  priority: 'primary',
375
386
  type: 'delete',
@@ -379,7 +390,7 @@ async function notificationChannelEntityFactory(injector) {
379
390
  views: [
380
391
  {
381
392
  name: 'all',
382
- title: 'All Items',
393
+ title: 't("all", { scope: "common" })',
383
394
  fixed: true,
384
395
  columns: [],
385
396
  conditions: [],
@@ -422,14 +433,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
422
433
 
423
434
  async function notificationEntityFactory(injector) {
424
435
  const dataService = injector.get(AXMNotificationEntityService);
436
+ const i18n = RootConfig.config.i18n;
425
437
  const entityDef = {
426
438
  module: RootConfig.module.name,
427
439
  name: RootConfig.entities.notification.name,
428
440
  source: '',
429
441
  title: RootConfig.entities.notification.title,
430
442
  formats: {
431
- individual: 't("notifications",{scope: "notification-management"})',
432
- plural: 't("notifications",{scope: "notification-management"})',
443
+ individual: `t("notifications",{scope: "${i18n}"})`,
444
+ plural: `t("notifications",{scope: "notification-management"})`,
433
445
  },
434
446
  relatedEntities: [
435
447
  {
@@ -446,7 +458,7 @@ async function notificationEntityFactory(injector) {
446
458
  properties: [
447
459
  {
448
460
  name: 'name',
449
- title: 'Name',
461
+ title: `t("name", { scope: "${i18n}" })`,
450
462
  groupId: 'notification',
451
463
  schema: {
452
464
  dataType: 'string',
@@ -462,7 +474,7 @@ async function notificationEntityFactory(injector) {
462
474
  },
463
475
  {
464
476
  name: 'title',
465
- title: 'Title',
477
+ title: `t("title", { scope: "${i18n}" })`,
466
478
  groupId: 'notification',
467
479
  schema: {
468
480
  dataType: 'string',
@@ -478,7 +490,7 @@ async function notificationEntityFactory(injector) {
478
490
  },
479
491
  {
480
492
  name: 'body',
481
- title: 'Body',
493
+ title: `t("body", { scope: "${i18n}" })`,
482
494
  groupId: 'notification',
483
495
  schema: {
484
496
  dataType: 'string',
@@ -494,7 +506,7 @@ async function notificationEntityFactory(injector) {
494
506
  },
495
507
  {
496
508
  name: 'channel',
497
- title: 'Channel',
509
+ title: `t("channel", { scope: "${i18n}" })`,
498
510
  groupId: 'notification',
499
511
  schema: {
500
512
  dataType: 'string',
@@ -505,7 +517,7 @@ async function notificationEntityFactory(injector) {
505
517
  },
506
518
  {
507
519
  name: 'user.name',
508
- title: 'User Name',
520
+ title: `t("user.name", { scope: "${i18n}" })`,
509
521
  groupId: 'notification',
510
522
  schema: {
511
523
  dataType: 'string',
@@ -608,7 +620,7 @@ async function notificationEntityFactory(injector) {
608
620
  list: {
609
621
  actions: [
610
622
  {
611
- title: 'Details',
623
+ title: 't("detail", { scope: "common" })',
612
624
  command: 'open-entity',
613
625
  priority: 'primary',
614
626
  type: 'view',
@@ -618,7 +630,7 @@ async function notificationEntityFactory(injector) {
618
630
  views: [
619
631
  {
620
632
  name: 'all',
621
- title: 'All Items',
633
+ title: 't("all", { scope: "common" })',
622
634
  fixed: true,
623
635
  columns: [],
624
636
  conditions: [],
@@ -652,6 +664,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
652
664
 
653
665
  async function notificationTemplateEntityFactory(injector) {
654
666
  const dataService = injector.get(AXMNotificationManagementTemplateEntityService);
667
+ const i18n = RootConfig.config.i18n;
655
668
  const entityDef = {
656
669
  module: RootConfig.module.name,
657
670
  name: RootConfig.entities.template.name,
@@ -685,7 +698,7 @@ async function notificationTemplateEntityFactory(injector) {
685
698
  properties: [
686
699
  {
687
700
  name: 'name',
688
- title: 'Name',
701
+ title: `t("name", { scope: "${i18n}" })`,
689
702
  groupId: 'notification',
690
703
  schema: {
691
704
  dataType: 'string',
@@ -701,7 +714,7 @@ async function notificationTemplateEntityFactory(injector) {
701
714
  },
702
715
  {
703
716
  name: 'title',
704
- title: 'Title',
717
+ title: `t("title", { scope: "${i18n}" })`,
705
718
  groupId: 'notification',
706
719
  schema: {
707
720
  dataType: 'string',
@@ -717,7 +730,7 @@ async function notificationTemplateEntityFactory(injector) {
717
730
  },
718
731
  {
719
732
  name: 'description',
720
- title: 'Description',
733
+ title: `t("description", { scope: "${i18n}" })`,
721
734
  groupId: 'notification',
722
735
  schema: {
723
736
  dataType: 'string',
@@ -736,37 +749,25 @@ async function notificationTemplateEntityFactory(injector) {
736
749
  commands: {
737
750
  create: {
738
751
  execute: async (data) => {
739
- const entity = Object.assign(data, { id: AXPDataGenerator.uuid() });
740
- dataService.insertOne(entity);
741
- return Promise.resolve(entity);
752
+ const res = await dataService.insertOne(data);
753
+ return { id: res };
742
754
  },
743
755
  },
744
756
  delete: {
745
757
  execute: async (id) => {
746
- await await dataService.deleteOne(id);
747
- return Promise.resolve();
758
+ return await dataService.deleteOne(id);
748
759
  },
749
760
  },
750
761
  update: {
751
762
  execute: async (data) => {
752
- return new Promise((resolve) => {
753
- setTimeout(async () => {
754
- await dataService.updateOne(data.id, data);
755
- resolve(data);
756
- }, 1000);
757
- });
763
+ return await dataService.updateOne(data.id, data);
758
764
  },
759
765
  },
760
766
  },
761
767
  queries: {
762
768
  byKey: {
763
769
  execute: async (id) => {
764
- return new Promise((resolve) => {
765
- setTimeout(async () => {
766
- const entity = await dataService.getOne(id);
767
- resolve(entity);
768
- }, 500);
769
- });
770
+ return await dataService.getOne(id);
770
771
  },
771
772
  type: AXPEntityQueryType.Single,
772
773
  },
@@ -908,28 +909,28 @@ async function notificationTemplateEntityFactory(injector) {
908
909
  list: {
909
910
  actions: [
910
911
  {
911
- title: 'Create New',
912
+ title: `t("create", { scope: "common" })`,
912
913
  command: 'create-entity',
913
914
  priority: 'primary',
914
915
  type: 'create',
915
916
  scope: AXPEntityCommandScope.TypeLevel,
916
917
  },
917
918
  {
918
- title: 'Delete Items',
919
+ title: `t("create", { scope: "common" })`,
919
920
  command: 'delete-entity',
920
921
  priority: 'primary',
921
922
  type: 'delete',
922
923
  scope: AXPEntityCommandScope.Selected,
923
924
  },
924
925
  {
925
- title: 'Details',
926
+ title: 't("detail", { scope: "common" })',
926
927
  command: 'open-entity',
927
928
  priority: 'primary',
928
929
  type: 'view',
929
930
  scope: AXPEntityCommandScope.Individual,
930
931
  },
931
932
  {
932
- title: 'Delete',
933
+ title: 't("delete", { scope: "common" })',
933
934
  command: 'delete-entity',
934
935
  priority: 'primary',
935
936
  type: 'delete',
@@ -939,7 +940,7 @@ async function notificationTemplateEntityFactory(injector) {
939
940
  views: [
940
941
  {
941
942
  name: 'all',
942
- title: 'All Items',
943
+ title: 't("all", { scope: "common" })',
943
944
  fixed: true,
944
945
  columns: [],
945
946
  conditions: [],
@@ -1627,7 +1628,7 @@ async function myNotificationEntityFactory(injector) {
1627
1628
  },
1628
1629
  {
1629
1630
  name: 'body',
1630
- title: 'Body',
1631
+ title: 't("body", { scope: "common" })',
1631
1632
  groupId: 'data',
1632
1633
  schema: {
1633
1634
  dataType: 'string',
@@ -1638,7 +1639,7 @@ async function myNotificationEntityFactory(injector) {
1638
1639
  },
1639
1640
  {
1640
1641
  name: 'channel',
1641
- title: 'Channel',
1642
+ title: 't("channel", { scope: "common" })',
1642
1643
  groupId: 'data',
1643
1644
  schema: {
1644
1645
  dataType: 'string',
@@ -1650,7 +1651,7 @@ async function myNotificationEntityFactory(injector) {
1650
1651
  },
1651
1652
  {
1652
1653
  name: 'content.type',
1653
- title: 'Content Data',
1654
+ title: 't("content.type", { scope: "common" })',
1654
1655
  groupId: 'content',
1655
1656
  schema: {
1656
1657
  dataType: 'object',
@@ -1661,7 +1662,7 @@ async function myNotificationEntityFactory(injector) {
1661
1662
  },
1662
1663
  {
1663
1664
  name: 'action.type',
1664
- title: 'Action Type',
1665
+ title: 't("action.type", { scope: "common" })',
1665
1666
  groupId: 'action',
1666
1667
  schema: {
1667
1668
  dataType: 'string',
@@ -1673,7 +1674,7 @@ async function myNotificationEntityFactory(injector) {
1673
1674
  },
1674
1675
  {
1675
1676
  name: 'User.name',
1676
- title: 'Username',
1677
+ title: 't("User.name", { scope: "common" })',
1677
1678
  groupId: 'user',
1678
1679
  schema: {
1679
1680
  dataType: 'string',
@@ -1684,7 +1685,7 @@ async function myNotificationEntityFactory(injector) {
1684
1685
  },
1685
1686
  {
1686
1687
  name: 'template.category',
1687
- title: 'Category',
1688
+ title: 't("template.category", { scope: "common" })',
1688
1689
  groupId: 'template',
1689
1690
  schema: {
1690
1691
  dataType: 'string',
@@ -1696,7 +1697,7 @@ async function myNotificationEntityFactory(injector) {
1696
1697
  },
1697
1698
  {
1698
1699
  name: 'template.prority',
1699
- title: 'Prority',
1700
+ title: 't("template.prority", { scope: "common" })',
1700
1701
  groupId: 'template',
1701
1702
  schema: {
1702
1703
  dataType: 'string',
@@ -1708,7 +1709,7 @@ async function myNotificationEntityFactory(injector) {
1708
1709
  },
1709
1710
  {
1710
1711
  name: 'template.isPinned',
1711
- title: 'Is Pinned',
1712
+ title: 't("template.isPinned", { scope: "common" })',
1712
1713
  groupId: 'template',
1713
1714
  schema: {
1714
1715
  dataType: 'boolean',
@@ -1722,7 +1723,7 @@ async function myNotificationEntityFactory(injector) {
1722
1723
  },
1723
1724
  {
1724
1725
  name: 'readAt',
1725
- title: 'Read At',
1726
+ title: 't("readAt", { scope: "common" })',
1726
1727
  groupId: 'data',
1727
1728
  schema: {
1728
1729
  dataType: 'datetime',
@@ -1734,7 +1735,7 @@ async function myNotificationEntityFactory(injector) {
1734
1735
  },
1735
1736
  {
1736
1737
  name: 'createAt',
1737
- title: 'Created At',
1738
+ title: 't("createAt", { scope: "common" })',
1738
1739
  groupId: 'data',
1739
1740
  schema: {
1740
1741
  dataType: 'datetime',
@@ -1821,6 +1822,7 @@ var myNotification = /*#__PURE__*/Object.freeze({
1821
1822
 
1822
1823
  async function notificationLogEntityFactory(injector) {
1823
1824
  const dataService = injector.get(AXMNotificationManagementChannelEntityService);
1825
+ const i18n = RootConfig.config.i18n;
1824
1826
  const entityDef = {
1825
1827
  module: 'notification-management',
1826
1828
  name: 'notification',
@@ -1840,7 +1842,7 @@ async function notificationLogEntityFactory(injector) {
1840
1842
  properties: [
1841
1843
  {
1842
1844
  name: 'name',
1843
- title: 'Name',
1845
+ title: `t("name", { scope: "${i18n}" })`,
1844
1846
  groupId: 'notification',
1845
1847
  schema: {
1846
1848
  dataType: 'string',
@@ -1851,7 +1853,7 @@ async function notificationLogEntityFactory(injector) {
1851
1853
  },
1852
1854
  {
1853
1855
  name: 'title',
1854
- title: 'Title',
1856
+ title: `t("title", { scope: "${i18n}" })`,
1855
1857
  groupId: 'notification',
1856
1858
  schema: {
1857
1859
  dataType: 'string',
@@ -1862,7 +1864,7 @@ async function notificationLogEntityFactory(injector) {
1862
1864
  },
1863
1865
  {
1864
1866
  name: 'status',
1865
- title: 'Status',
1867
+ title: `t("status", { scope: "${i18n}" })`,
1866
1868
  groupId: 'notification',
1867
1869
  schema: {
1868
1870
  dataType: 'string',
@@ -1965,7 +1967,7 @@ async function notificationLogEntityFactory(injector) {
1965
1967
  list: {
1966
1968
  actions: [
1967
1969
  {
1968
- title: 'Details',
1970
+ title: 't("detail", { scope: "common" })',
1969
1971
  command: 'open-entity',
1970
1972
  priority: 'primary',
1971
1973
  type: 'view',
@@ -1975,7 +1977,7 @@ async function notificationLogEntityFactory(injector) {
1975
1977
  views: [
1976
1978
  {
1977
1979
  name: 'all',
1978
- title: 'All Items',
1980
+ title: 't("all", { scope: "common" })',
1979
1981
  fixed: true,
1980
1982
  columns: [],
1981
1983
  conditions: [],