@acorex/modules 20.7.8 → 20.7.10

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 (143) hide show
  1. package/assessment-management/index.d.ts +266 -1
  2. package/common/index.d.ts +1 -1
  3. package/document-management/index.d.ts +33 -10
  4. package/fesm2022/acorex-modules-application-management.mjs +16 -1
  5. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  6. package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-5peOXPDz.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs} +846 -24
  7. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs.map +1 -0
  8. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-D6KO7up6.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs} +2 -2
  9. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-D6KO7up6.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs.map} +1 -1
  10. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-C4NilFjL.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs} +2 -2
  11. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-C4NilFjL.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs.map} +1 -1
  12. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-DtHvmJQD.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs} +2 -2
  13. package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-DtHvmJQD.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-BDRkvtin.mjs → acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs} +3 -2
  15. package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs.map +1 -0
  16. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-MLP74IAt.mjs → acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-MLP74IAt.mjs.map → acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-wtCw3l5I.mjs → acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs} +40 -6
  19. package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs.map +1 -0
  20. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-Cm7cniSG.mjs → acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs} +4 -4
  21. package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-Cm7cniSG.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs.map} +1 -1
  22. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BIGQMXEc.mjs → acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BIGQMXEc.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-BxN8kxpu.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-BxN8kxpu.mjs.map → acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-CHA00XC0.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs} +2 -2
  27. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-CHA00XC0.mjs.map → acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs.map} +1 -1
  28. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-C-AX1MiC.mjs → acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs} +3 -3
  29. package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-C-AX1MiC.mjs.map → acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs.map} +1 -1
  30. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BY8YfBf1.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs} +2 -2
  31. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BY8YfBf1.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs.map} +1 -1
  32. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-ktXkCzVb.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs} +2 -2
  33. package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-ktXkCzVb.mjs.map → acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs.map} +1 -1
  34. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C2soGbpn.mjs → acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs} +2 -2
  35. package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C2soGbpn.mjs.map → acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs.map} +1 -1
  36. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-RvdyXryB.mjs → acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs} +3 -3
  37. package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-RvdyXryB.mjs.map → acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs.map} +1 -1
  38. package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
  39. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-Dg9sg98-.mjs → acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs} +14 -14
  40. package/fesm2022/acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs.map +1 -0
  41. package/fesm2022/{acorex-modules-auth-app-chooser.component-Dr8EZ7ZX.mjs → acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs} +2 -2
  42. package/fesm2022/{acorex-modules-auth-app-chooser.component-Dr8EZ7ZX.mjs.map → acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-auth-login.module-C7Rt6tLk.mjs → acorex-modules-auth-login.module-uUQkWCgY.mjs} +4 -4
  44. package/fesm2022/{acorex-modules-auth-login.module-C7Rt6tLk.mjs.map → acorex-modules-auth-login.module-uUQkWCgY.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-auth-master.layout-CgD5kk65.mjs → acorex-modules-auth-master.layout-XkwT3Slv.mjs} +2 -2
  46. package/fesm2022/{acorex-modules-auth-master.layout-CgD5kk65.mjs.map → acorex-modules-auth-master.layout-XkwT3Slv.mjs.map} +1 -1
  47. package/fesm2022/{acorex-modules-auth-oauth-callback.component-CuGIGBVO.mjs → acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs} +2 -2
  48. package/fesm2022/{acorex-modules-auth-oauth-callback.component-CuGIGBVO.mjs.map → acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs.map} +1 -1
  49. package/fesm2022/{acorex-modules-auth-password.component-DmohsIxt.mjs → acorex-modules-auth-password.component-CaH-OaIv.mjs} +4 -4
  50. package/fesm2022/acorex-modules-auth-password.component-CaH-OaIv.mjs.map +1 -0
  51. package/fesm2022/{acorex-modules-auth-password.component-C6TCAUm4.mjs → acorex-modules-auth-password.component-DDFOsrkt.mjs} +3 -3
  52. package/fesm2022/acorex-modules-auth-password.component-DDFOsrkt.mjs.map +1 -0
  53. package/fesm2022/{acorex-modules-auth-routes-C3162bwa.mjs → acorex-modules-auth-routes-Cik9Y3RJ.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-auth-routes-C3162bwa.mjs.map → acorex-modules-auth-routes-Cik9Y3RJ.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ce-n3WC9.mjs → acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ce-n3WC9.mjs.map → acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-auth-two-factor.module-B2nPzX-3.mjs → acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-auth-two-factor.module-B2nPzX-3.mjs.map → acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-auth-user-sessions.component-wVKJ2KIm.mjs → acorex-modules-auth-user-sessions.component-MZJramlf.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-auth-user-sessions.component-wVKJ2KIm.mjs.map → acorex-modules-auth-user-sessions.component-MZJramlf.mjs.map} +1 -1
  61. package/fesm2022/acorex-modules-auth.mjs +1 -1
  62. package/fesm2022/acorex-modules-business-core.mjs +1 -1
  63. package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
  64. package/fesm2022/acorex-modules-calendar-management-datasource.provider-C_iazC89.mjs +95 -0
  65. package/fesm2022/acorex-modules-calendar-management-datasource.provider-C_iazC89.mjs.map +1 -0
  66. package/fesm2022/acorex-modules-calendar-management.mjs +68 -33
  67. package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
  68. package/fesm2022/acorex-modules-common.mjs +25 -17
  69. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  70. package/fesm2022/acorex-modules-content-management.mjs +3 -3
  71. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  72. package/fesm2022/acorex-modules-dashboard-management.mjs +25 -24
  73. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  74. package/fesm2022/acorex-modules-data-management.mjs +455 -73
  75. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  76. package/fesm2022/{acorex-modules-document-management-drive-choose.component-CJRrn2XH.mjs → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs} +4 -4
  77. package/fesm2022/{acorex-modules-document-management-drive-choose.component-CJRrn2XH.mjs.map → acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map} +1 -1
  78. package/fesm2022/{acorex-modules-document-management-link-dialog.component-Civ7UZb8.mjs → acorex-modules-document-management-link-dialog.component-F1DkJ4Ns.mjs} +2 -2
  79. package/fesm2022/acorex-modules-document-management-link-dialog.component-F1DkJ4Ns.mjs.map +1 -0
  80. package/fesm2022/{acorex-modules-document-management-share-dialog.component-BwUZShJg.mjs → acorex-modules-document-management-share-dialog.component-BV2JJmED.mjs} +2 -2
  81. package/fesm2022/acorex-modules-document-management-share-dialog.component-BV2JJmED.mjs.map +1 -0
  82. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-BMiCmb1k.mjs → acorex-modules-document-management-share-email-dialog.component-Dn-j0ETn.mjs} +2 -2
  83. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-Dn-j0ETn.mjs.map +1 -0
  84. package/fesm2022/acorex-modules-document-management.mjs +366 -234
  85. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  86. package/fesm2022/acorex-modules-financial-core-data-source.provider-Do4rvgy4.mjs +73 -0
  87. package/fesm2022/acorex-modules-financial-core-data-source.provider-Do4rvgy4.mjs.map +1 -0
  88. package/fesm2022/acorex-modules-financial-core.mjs +4 -2
  89. package/fesm2022/acorex-modules-financial-core.mjs.map +1 -1
  90. package/fesm2022/acorex-modules-form-template-management.mjs +37 -405
  91. package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
  92. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-DGgHWrL0.mjs → acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs} +9 -5
  93. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-DGgHWrL0.mjs.map → acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs.map} +1 -1
  94. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CAknGKEK.mjs → acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs} +2 -2
  95. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CAknGKEK.mjs.map → acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs.map} +1 -1
  96. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  97. package/fesm2022/acorex-modules-human-capital-management.mjs +41 -26
  98. package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
  99. package/fesm2022/acorex-modules-locale-management.mjs +13 -355
  100. package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
  101. package/fesm2022/acorex-modules-location-management.mjs +140 -6
  102. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  103. package/fesm2022/acorex-modules-measurement-core.mjs +1 -1
  104. package/fesm2022/acorex-modules-measurement-core.mjs.map +1 -1
  105. package/fesm2022/acorex-modules-notification-management.mjs +1 -1
  106. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  107. package/fesm2022/{acorex-modules-organization-management-org-chart.page-C85uluWf.mjs → acorex-modules-organization-management-org-chart.page-Ca_aJDbu.mjs} +19 -13
  108. package/fesm2022/acorex-modules-organization-management-org-chart.page-Ca_aJDbu.mjs.map +1 -0
  109. package/fesm2022/acorex-modules-organization-management.mjs +2 -2
  110. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DEx13GSy.mjs → acorex-modules-platform-management-acorex-modules-platform-management-BAIx0BJe.mjs} +1190 -343
  111. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BAIx0BJe.mjs.map +1 -0
  112. package/fesm2022/acorex-modules-platform-management-menu-list.component-BxGLun0f.mjs +519 -0
  113. package/fesm2022/acorex-modules-platform-management-menu-list.component-BxGLun0f.mjs.map +1 -0
  114. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  115. package/fesm2022/{acorex-modules-product-catalog-product.entity-CuTXUcc1.mjs → acorex-modules-product-catalog-product.entity-BXDh4Wlu.mjs} +10 -2
  116. package/fesm2022/acorex-modules-product-catalog-product.entity-BXDh4Wlu.mjs.map +1 -0
  117. package/fesm2022/acorex-modules-product-catalog.mjs +1 -1
  118. package/fesm2022/acorex-modules-report-management.mjs +27 -6
  119. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  120. package/fesm2022/{acorex-modules-task-management-task-board.page-BUp5SQ7b.mjs → acorex-modules-task-management-task-board.page-Cgxdk78j.mjs} +3 -3
  121. package/fesm2022/acorex-modules-task-management-task-board.page-Cgxdk78j.mjs.map +1 -0
  122. package/fesm2022/acorex-modules-task-management.mjs +1 -1
  123. package/fesm2022/acorex-modules-workflow-management.mjs +15 -9
  124. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  125. package/form-template-management/index.d.ts +2 -12
  126. package/locale-management/index.d.ts +3 -23
  127. package/package.json +6 -6
  128. package/platform-management/index.d.ts +12 -1
  129. package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-5peOXPDz.mjs.map +0 -1
  130. package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-BDRkvtin.mjs.map +0 -1
  131. package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-wtCw3l5I.mjs.map +0 -1
  132. package/fesm2022/acorex-modules-auth-acorex-modules-auth-Dg9sg98-.mjs.map +0 -1
  133. package/fesm2022/acorex-modules-auth-password.component-C6TCAUm4.mjs.map +0 -1
  134. package/fesm2022/acorex-modules-auth-password.component-DmohsIxt.mjs.map +0 -1
  135. package/fesm2022/acorex-modules-document-management-link-dialog.component-Civ7UZb8.mjs.map +0 -1
  136. package/fesm2022/acorex-modules-document-management-share-dialog.component-BwUZShJg.mjs.map +0 -1
  137. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-BMiCmb1k.mjs.map +0 -1
  138. package/fesm2022/acorex-modules-organization-management-org-chart.page-C85uluWf.mjs.map +0 -1
  139. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DEx13GSy.mjs.map +0 -1
  140. package/fesm2022/acorex-modules-platform-management-menu-list.component-DLg61Nf8.mjs +0 -853
  141. package/fesm2022/acorex-modules-platform-management-menu-list.component-DLg61Nf8.mjs.map +0 -1
  142. package/fesm2022/acorex-modules-product-catalog-product.entity-CuTXUcc1.mjs.map +0 -1
  143. package/fesm2022/acorex-modules-task-management-task-board.page-BUp5SQ7b.mjs.map +0 -1
@@ -20,9 +20,9 @@ import { AXCalendarService } from '@acorex/core/date-time';
20
20
  import { AXLocaleService, AX_LOCALE_PROFILE_PROVIDERS } from '@acorex/core/locale';
21
21
  import { AXTranslationService } from '@acorex/core/translation';
22
22
  import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
23
+ import { AXPCommonMenuKeys, AXPWidgetsList } from '@acorex/modules/common';
23
24
  import { AXFormatService } from '@acorex/core/format';
24
- import { AXPWidgetsList } from '@acorex/modules/common';
25
- import { AXDataSource, convertArrayToDataSource } from '@acorex/cdk/common';
25
+ import { AXDataSource } from '@acorex/cdk/common';
26
26
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
27
27
 
28
28
  const config = {
@@ -54,12 +54,6 @@ const RootConfig = {
54
54
  titlePlural: '@locale-management:timezones.entities.timezone.plural',
55
55
  icon: 'fa-light fa-clock',
56
56
  },
57
- currencies: {
58
- name: 'Currencies',
59
- title: '@locale-management:currencies.entities.currency.title',
60
- titlePlural: '@locale-management:currencies.entities.currency.plural',
61
- icon: 'fa-light fa-coins',
62
- },
63
57
  },
64
58
  };
65
59
 
@@ -158,9 +152,6 @@ withMethods((store, settingsService = inject(AXPSettingsService), localeService
158
152
  class AXMLocaleManagementService {
159
153
  constructor() {
160
154
  this.entityService = inject(AXPEntityService);
161
- this.currenciesDataAccessor = this.entityService
162
- .withEntity(RootConfig.module.name, RootConfig.entities.currencies.name)
163
- .data();
164
155
  this.languagesDataAccessor = this.entityService
165
156
  .withEntity(RootConfig.module.name, RootConfig.entities.languages.name)
166
157
  .data();
@@ -181,27 +172,18 @@ class AXMLocaleManagementService {
181
172
  operator: {
182
173
  type: 'equal',
183
174
  },
184
- value: true
185
- }
186
- ]
175
+ value: true,
176
+ },
177
+ ],
187
178
  },
188
179
  sort: [
189
180
  {
190
181
  field: 'title',
191
182
  dir: 'asc',
192
- }
193
- ]
183
+ },
184
+ ],
194
185
  };
195
186
  }
196
- async getCurrencies() {
197
- const result = await this.currenciesDataAccessor.query(this.activeQuery);
198
- return result.items.map((c) => ({
199
- code: c.code,
200
- title: c.title,
201
- symbol: c.symbol,
202
- format: c.symbol,
203
- }));
204
- }
205
187
  async getLocaleProfiles() {
206
188
  const { profiles } = await import('./acorex-modules-locale-management-profiles-BmCQxHK5.mjs');
207
189
  return profiles;
@@ -398,13 +380,6 @@ const AXMPermissionsKeys = {
398
380
  Delete: 'LocaleManagement:Permission:Timezone.Delete',
399
381
  Create: 'LocaleManagement:Permission:Timezone.Create',
400
382
  },
401
- Currency: {
402
- Management: 'LocaleManagement:Permission:Currency.Management',
403
- View: 'LocaleManagement:Permission:Currency.View',
404
- Edit: 'LocaleManagement:Permission:Currency.Edit',
405
- Delete: 'LocaleManagement:Permission:Currency.Delete',
406
- Create: 'LocaleManagement:Permission:Currency.Create',
407
- },
408
383
  },
409
384
  };
410
385
 
@@ -433,13 +408,6 @@ class AXMLocaleManagementPermissionDefinitionProvider {
433
408
  .addChild(keys.Timezone.Delete, await this.translateService.translateAsync('@locale-management:timezones.permissions.timezones.actions.delete.title'), await this.translateService.translateAsync('@locale-management:timezones.permissions.timezones.actions.delete.description'))
434
409
  .endPermission()
435
410
  //
436
- .addPermission(keys.Currency.Management, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.description'))
437
- .addChild(keys.Currency.View, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.view.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.view.description'))
438
- .addChild(keys.Currency.Create, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.create.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.create.description'))
439
- .addChild(keys.Currency.Edit, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.edit.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.edit.description'))
440
- .addChild(keys.Currency.Delete, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.delete.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.delete.description'))
441
- .endPermission()
442
- //
443
411
  .endGroup();
444
412
  }
445
413
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMLocaleManagementPermissionDefinitionProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
@@ -454,7 +422,6 @@ const AXPLocaleManagementMenuKeys = {
454
422
  Languages: 'locale-management:menu:languages',
455
423
  Divider1: 'locale-management:menu:divider-1',
456
424
  Timezones: 'locale-management:menu:timezones',
457
- Currencies: 'locale-management:menu:currencies',
458
425
  };
459
426
 
460
427
  class AXMLocaleManagementMenuProvider {
@@ -463,15 +430,15 @@ class AXMLocaleManagementMenuProvider {
463
430
  }
464
431
  async provide(context) {
465
432
  const module = RootConfig.module;
466
- context.addItems([
433
+ context.find(AXPCommonMenuKeys.Configuration).addItems([
467
434
  {
468
435
  name: AXPLocaleManagementMenuKeys.Root,
469
- priority: 9004,
470
- text: '@locale-management:module.menus.root.title',
436
+ priority: 8910,
437
+ text: '@locale-management:module.menus.foundation-group.title',
471
438
  icon: module.icon,
472
439
  policy: {
473
440
  features: [module.name],
474
- permissions: [AXMPermissionsKeys.LocaleManagement.Management]
441
+ permissions: [AXMPermissionsKeys.LocaleManagement.Management],
475
442
  },
476
443
  children: [
477
444
  {
@@ -494,13 +461,6 @@ class AXMLocaleManagementMenuProvider {
494
461
  icon: RootConfig.entities.timezones.icon,
495
462
  priority: 3,
496
463
  },
497
- {
498
- name: AXPLocaleManagementMenuKeys.Currencies,
499
- text: '@locale-management:currencies.menus.currencies.title',
500
- path: this.entityService.createPath(module.name, RootConfig.entities.currencies.name),
501
- icon: RootConfig.entities.currencies.icon,
502
- priority: 4,
503
- },
504
464
  ],
505
465
  },
506
466
  ]);
@@ -520,8 +480,6 @@ class AXMLocaleManagementEntityProvider {
520
480
  return (await Promise.resolve().then(function () { return locales_entity; })).localesFactory(this.injector);
521
481
  case RootConfig.entities.timezones.name:
522
482
  return (await Promise.resolve().then(function () { return timezones_entity; })).timezonesFactory(this.injector);
523
- case RootConfig.entities.currencies.name:
524
- return (await Promise.resolve().then(function () { return currencies_entity; })).currenciesFactory(this.injector);
525
483
  }
526
484
  }
527
485
  return null;
@@ -1043,18 +1001,6 @@ class AXMLocaleManagementSearchCommandProvider extends AXPSearchCommandProvider
1043
1001
  },
1044
1002
  },
1045
1003
  },
1046
- {
1047
- group: 'entity',
1048
- title: 'New Currency',
1049
- icon: RootConfig.entities.currencies.icon,
1050
- description: 'Create a new currency definition.',
1051
- command: {
1052
- name: 'create-entity',
1053
- options: {
1054
- entity: `${RootConfig.module.name}.${RootConfig.entities.currencies.name}`,
1055
- },
1056
- },
1057
- },
1058
1004
  ];
1059
1005
  }
1060
1006
  }
@@ -1107,81 +1053,6 @@ class AXMLocaleManagementDataSourceDefinition {
1107
1053
  },
1108
1054
  };
1109
1055
  //#endregion
1110
- //#region Currencies
1111
- this.currencies = {
1112
- name: 'currencies',
1113
- title: 'Currencies',
1114
- columns: [
1115
- {
1116
- name: 'code',
1117
- title: 'Code',
1118
- type: 'string',
1119
- datatype: 'string',
1120
- },
1121
- {
1122
- name: 'title',
1123
- title: 'Title',
1124
- type: 'string',
1125
- datatype: 'string',
1126
- },
1127
- ],
1128
- filters: [],
1129
- textField: { name: 'title', title: 'Title' },
1130
- valueField: { name: 'code', title: 'Code' },
1131
- samples: [
1132
- { code: 'USD', title: 'United States Dollar' },
1133
- { code: 'CAD', title: 'Canadian Dollar' },
1134
- { code: 'GBP', title: 'British Pound' },
1135
- ],
1136
- source: () => {
1137
- return new AXDataSource({
1138
- load: async (e) => {
1139
- const items = await this.localeManagementService.getCurrencies();
1140
- return {
1141
- items: items,
1142
- total: items.length,
1143
- };
1144
- },
1145
- pageSize: 50,
1146
- key: 'code',
1147
- byKey: async (key) => {
1148
- const items = await this.localeManagementService.getCurrencies();
1149
- return items.find((c) => c.code == key);
1150
- },
1151
- });
1152
- },
1153
- };
1154
- this.booleans = {
1155
- name: 'booleans',
1156
- title: 'Booleans',
1157
- columns: [
1158
- {
1159
- name: 'value',
1160
- title: 'Value',
1161
- type: 'string',
1162
- datatype: 'string',
1163
- },
1164
- {
1165
- name: 'title',
1166
- title: 'Title',
1167
- type: 'string',
1168
- datatype: 'string',
1169
- },
1170
- ],
1171
- filters: [],
1172
- textField: { name: 'title', title: 'Title' },
1173
- valueField: { name: 'value', title: 'Value' },
1174
- samples: [
1175
- { value: 'true', title: 'Yes' },
1176
- { value: 'false', title: 'No' },
1177
- ],
1178
- source: () => {
1179
- return convertArrayToDataSource([
1180
- { value: 'true', title: 'Yes' },
1181
- { value: 'false', title: 'No' },
1182
- ]);
1183
- },
1184
- };
1185
1056
  //#region Languages
1186
1057
  this.languages = {
1187
1058
  name: 'languages',
@@ -1273,7 +1144,7 @@ class AXMLocaleManagementDataSourceDefinition {
1273
1144
  }
1274
1145
  //#endregion
1275
1146
  async items() {
1276
- return [this.timezones, this.currencies, this.languages, this.locales, this.booleans];
1147
+ return [this.timezones, this.languages, this.locales];
1277
1148
  }
1278
1149
  }
1279
1150
 
@@ -2090,219 +1961,6 @@ var timezones_entity = /*#__PURE__*/Object.freeze({
2090
1961
  timezonesFactory: timezonesFactory
2091
1962
  });
2092
1963
 
2093
- async function currenciesFactory(injector) {
2094
- const entityDef = {
2095
- module: RootConfig.module.name,
2096
- name: RootConfig.entities.currencies.name,
2097
- title: RootConfig.entities.currencies.title,
2098
- icon: RootConfig.entities.currencies.icon,
2099
- formats: {
2100
- individual: RootConfig.entities.currencies.title,
2101
- plural: RootConfig.entities.currencies.titlePlural,
2102
- searchResult: {
2103
- title: '{{ title }}',
2104
- description: '{{ code }} ({{ symbol }})',
2105
- },
2106
- },
2107
- plugins: [
2108
- { name: 'archive' },
2109
- ],
2110
- groups: [
2111
- {
2112
- id: 'basic-info',
2113
- title: '@general:terms.interface.basic-info',
2114
- },
2115
- {
2116
- id: 'settings',
2117
- title: '@general:terms.interface.settings',
2118
- },
2119
- ],
2120
- properties: [
2121
- {
2122
- name: 'code',
2123
- title: '@general:terms.common.code',
2124
- groupId: 'basic-info',
2125
- options: {
2126
- sort: {
2127
- enabled: true,
2128
- },
2129
- filter: {
2130
- advance: {
2131
- enabled: true,
2132
- },
2133
- inline: {
2134
- enabled: true,
2135
- },
2136
- },
2137
- },
2138
- schema: {
2139
- dataType: 'string',
2140
- interface: {
2141
- type: AXPWidgetsCatalog.text,
2142
- options: {
2143
- placeholder: 'e.g., USD, EUR, IRR',
2144
- },
2145
- },
2146
- },
2147
- validations: [
2148
- {
2149
- rule: 'required',
2150
- },
2151
- ],
2152
- },
2153
- {
2154
- name: 'title',
2155
- title: '@general:terms.common.title',
2156
- groupId: 'basic-info',
2157
- options: {
2158
- sort: {
2159
- enabled: true,
2160
- },
2161
- filter: {
2162
- advance: {
2163
- enabled: true,
2164
- },
2165
- inline: {
2166
- enabled: true,
2167
- },
2168
- },
2169
- },
2170
- schema: {
2171
- dataType: 'string',
2172
- interface: {
2173
- type: AXPWidgetsCatalog.text,
2174
- options: {
2175
- placeholder: 'e.g., US Dollar, Euro',
2176
- },
2177
- },
2178
- },
2179
- validations: [
2180
- {
2181
- rule: 'required',
2182
- },
2183
- ],
2184
- },
2185
- {
2186
- name: 'symbol',
2187
- title: '@locale-management:currencies.entities.currency.fields.symbol',
2188
- groupId: 'basic-info',
2189
- options: {
2190
- sort: {
2191
- enabled: true,
2192
- },
2193
- filter: {
2194
- advance: {
2195
- enabled: true,
2196
- },
2197
- },
2198
- },
2199
- schema: {
2200
- dataType: 'string',
2201
- interface: {
2202
- type: AXPWidgetsCatalog.text,
2203
- options: {
2204
- placeholder: 'e.g., $, €, ﷼',
2205
- },
2206
- },
2207
- },
2208
- validations: [
2209
- {
2210
- rule: 'required',
2211
- },
2212
- ],
2213
- },
2214
- {
2215
- name: 'decimalPlaces',
2216
- title: '@locale-management:currencies.entities.currency.fields.decimal-places',
2217
- groupId: 'basic-info',
2218
- options: {
2219
- sort: {
2220
- enabled: true,
2221
- },
2222
- filter: {
2223
- advance: {
2224
- enabled: true,
2225
- },
2226
- },
2227
- },
2228
- schema: {
2229
- dataType: 'number',
2230
- interface: {
2231
- type: AXPWidgetsCatalog.number,
2232
- options: {
2233
- minValue: 0,
2234
- maxValue: 4,
2235
- placeholder: 'Usually 2',
2236
- },
2237
- },
2238
- },
2239
- validations: [
2240
- {
2241
- rule: 'required',
2242
- },
2243
- ],
2244
- },
2245
- ],
2246
- columns: [
2247
- { name: 'code', options: { width: '100px', order: 1 } },
2248
- { name: 'title', options: { width: '250px', order: 2 } },
2249
- { name: 'symbol', options: { width: '80px', order: 3 } },
2250
- { name: 'decimalPlaces', options: { width: '120px', order: 4 } },
2251
- ],
2252
- interfaces: {
2253
- master: {
2254
- create: {
2255
- sections: [{ id: 'basic-info' }, { id: 'settings' }],
2256
- properties: [
2257
- { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
2258
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
2259
- { name: 'symbol', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
2260
- { name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
2261
- ],
2262
- },
2263
- update: {
2264
- sections: [{ id: 'basic-info' }, { id: 'settings' }],
2265
- properties: [
2266
- { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
2267
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
2268
- { name: 'symbol', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
2269
- { name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
2270
- ],
2271
- },
2272
- single: {
2273
- title: RootConfig.entities.currencies.title,
2274
- sections: [{ id: 'basic-info' }, { id: 'settings' }],
2275
- properties: [
2276
- { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
2277
- { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
2278
- { name: 'symbol', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
2279
- { name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
2280
- ],
2281
- actions: [
2282
- ...entityMasterRecordActions(),
2283
- ],
2284
- },
2285
- list: {
2286
- actions: [
2287
- ...entityMasterCrudActions(),
2288
- ],
2289
- views: [
2290
- createAllQueryView({
2291
- sorts: [{ name: 'title', dir: 'asc' }],
2292
- }),
2293
- ],
2294
- },
2295
- },
2296
- },
2297
- };
2298
- return entityDef;
2299
- }
2300
-
2301
- var currencies_entity = /*#__PURE__*/Object.freeze({
2302
- __proto__: null,
2303
- currenciesFactory: currenciesFactory
2304
- });
2305
-
2306
1964
  // Entity Types
2307
1965
 
2308
1966
  /**
@@ -2318,5 +1976,5 @@ var currencies_entity = /*#__PURE__*/Object.freeze({
2318
1976
  * Generated bundle index. Do not edit.
2319
1977
  */
2320
1978
 
2321
- export { AXMLocaleManagementEntityProvider, AXMLocaleManagementMenuProvider, AXMLocaleManagementModule, AXMLocaleManagementPermissionDefinitionProvider, AXMLocaleManagementSearchCommandProvider, AXMLocaleManagementService, AXMLocaleProfileProviderService, RootConfig, currenciesFactory, languagesFactory, localesFactory, timezonesFactory };
1979
+ export { AXMLocaleManagementEntityProvider, AXMLocaleManagementMenuProvider, AXMLocaleManagementModule, AXMLocaleManagementPermissionDefinitionProvider, AXMLocaleManagementSearchCommandProvider, AXMLocaleManagementService, AXMLocaleProfileProviderService, RootConfig, languagesFactory, localesFactory, timezonesFactory };
2322
1980
  //# sourceMappingURL=acorex-modules-locale-management.mjs.map