@acorex/modules 20.7.17 → 20.7.19
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/assessment-management/index.d.ts +0 -1
- package/business-core/index.d.ts +32 -2
- package/common/index.d.ts +21 -0
- package/customer-management/index.d.ts +1 -27
- package/document-management/index.d.ts +0 -1
- package/fesm2022/acorex-modules-application-management.mjs +19 -27
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-CULLP39a.mjs} +65 -67
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-CULLP39a.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-BLjzQMgD.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-DyxE9Xec.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-BLjzQMgD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-Dy1fV5UY.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-DC2Ep3r1.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-Dy1fV5UY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-UWn57QXA.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-iKqac5PE.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-UWn57QXA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs → acorex-modules-assessment-management-assessment-case.entity-DMSrj4-x.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-CsCMlcvF.mjs.map → acorex-modules-assessment-management-assessment-case.entity-DMSrj4-x.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs → acorex-modules-assessment-management-assessment-session.entity-Amq-d0wb.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-BkNVe3FO.mjs.map → acorex-modules-assessment-management-assessment-session.entity-Amq-d0wb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs → acorex-modules-assessment-management-fill-assessment-session.command-CdxcGakt.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-Dgeh3E5f.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-CdxcGakt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs → acorex-modules-assessment-management-preview-questionnaire.command-C5zwNwJi.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-NcZlE6DU.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-C5zwNwJi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs → acorex-modules-assessment-management-question-bank-item.entity-MlspdBfD.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-vNxSmJuv.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-MlspdBfD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-DswgENO1.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-CbfHOFT1.mjs.map → acorex-modules-assessment-management-questionnaire-builder-edit.component-DswgENO1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-C3BXFr5P.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-DDqDjzwH.mjs.map → acorex-modules-assessment-management-questionnaire-builder-view.component-C3BXFr5P.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs → acorex-modules-assessment-management-questionnaire-builder.component-BMR71H5h.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-BOnwdWj7.mjs.map → acorex-modules-assessment-management-questionnaire-builder.component-BMR71H5h.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Bj-JfJqq.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BX8Q2Kfn.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-Bj-JfJqq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-CVF6-BFW.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-CSdVNxV2.mjs.map → acorex-modules-assessment-management-questionnaire-viewer.service-CVF6-BFW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs → acorex-modules-assessment-management-questionnaire.entity-BZj3A4yO.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-DFQIvlza.mjs.map → acorex-modules-assessment-management-questionnaire.entity-BZj3A4yO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs → acorex-modules-assessment-management-view-session-answers.command-BVwF-Qvd.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CMmE72Kt.mjs.map → acorex-modules-assessment-management-view-session-answers.command-BVwF-Qvd.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs → acorex-modules-auth-acorex-modules-auth-CCFM_tlK.mjs} +13 -13
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZuDhBx5.mjs.map → acorex-modules-auth-acorex-modules-auth-CCFM_tlK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DJE47I8p.mjs → acorex-modules-auth-app-chooser.component-CK5MfqD3.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DJE47I8p.mjs.map → acorex-modules-auth-app-chooser.component-CK5MfqD3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-CI_lkyb7.mjs → acorex-modules-auth-login.module-CoRuFgHW.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-CI_lkyb7.mjs.map → acorex-modules-auth-login.module-CoRuFgHW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CdY380qS.mjs → acorex-modules-auth-master.layout-DtQSZBEK.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CdY380qS.mjs.map → acorex-modules-auth-master.layout-DtQSZBEK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-menu.provider-Bk9KXBU3.mjs → acorex-modules-auth-menu.provider-CBNyM4Ax.mjs} +2 -14
- package/fesm2022/acorex-modules-auth-menu.provider-CBNyM4Ax.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs → acorex-modules-auth-oauth-callback.component-CLdkbMqN.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-BvPk9b3e.mjs.map → acorex-modules-auth-oauth-callback.component-CLdkbMqN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Dw_v_EFQ.mjs → acorex-modules-auth-password.component-DFh6ylyI.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dw_v_EFQ.mjs.map → acorex-modules-auth-password.component-DFh6ylyI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CefISnvd.mjs → acorex-modules-auth-password.component-zygAB4zy.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CefISnvd.mjs.map → acorex-modules-auth-password.component-zygAB4zy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CwcJHbAi.mjs → acorex-modules-auth-routes-44-jn5HH.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CwcJHbAi.mjs.map → acorex-modules-auth-routes-44-jn5HH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs → acorex-modules-auth-tenant-chooser.component-B7og_Ed1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-DFhTYEDt.mjs.map → acorex-modules-auth-tenant-chooser.component-B7og_Ed1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BOZB6sLo.mjs → acorex-modules-auth-two-factor.module--ToitCHE.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-BOZB6sLo.mjs.map → acorex-modules-auth-two-factor.module--ToitCHE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs → acorex-modules-auth-user-sessions.component-B49q0G5k.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BnrnXg4G.mjs.map → acorex-modules-auth-user-sessions.component-B49q0G5k.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-business-core.mjs +124 -1
- package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +49 -0
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +21 -22
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer.entity-B7-T9_T7.mjs → acorex-modules-customer-management-customer.entity-BOUGKl2b.mjs} +53 -1
- package/fesm2022/acorex-modules-customer-management-customer.entity-BOUGKl2b.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-lead.entity-Da9JTLOl.mjs → acorex-modules-customer-management-lead.entity-C-juNxOd.mjs} +19 -14
- package/fesm2022/acorex-modules-customer-management-lead.entity-C-juNxOd.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management.mjs +34 -152
- package/fesm2022/acorex-modules-customer-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +28 -39
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +51 -42
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +21 -17
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs → acorex-modules-help-desk-acorex-modules-help-desk-6uU5upBy.mjs} +65 -70
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-6uU5upBy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs → acorex-modules-help-desk-capture-screen.component-CqtTzbgS.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-CATwc3fe.mjs.map → acorex-modules-help-desk-capture-screen.component-CqtTzbgS.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +85 -76
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-learning-management.mjs +105 -137
- package/fesm2022/acorex-modules-learning-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +64 -198
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management.mjs +45 -39
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs +61 -0
- package/fesm2022/acorex-modules-order-management-menu.provider-DeMKkRZa.mjs.map +1 -0
- package/fesm2022/acorex-modules-order-management.mjs +2 -2
- package/fesm2022/acorex-modules-organization-management.mjs +140 -90
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs → acorex-modules-platform-management-acorex-modules-platform-management-fAjKD6Y5.mjs} +20 -17
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-fAjKD6Y5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs → acorex-modules-platform-management-menu-list.component-BJsd86Vf.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs.map → acorex-modules-platform-management-menu-list.component-BJsd86Vf.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-procurement-management.mjs +13 -18
- package/fesm2022/acorex-modules-procurement-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-product-catalog.mjs +24 -27
- package/fesm2022/acorex-modules-product-catalog.mjs.map +1 -1
- package/fesm2022/acorex-modules-reservation-management.mjs +91 -54
- package/fesm2022/acorex-modules-reservation-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs → acorex-modules-settings-management-acorex-modules-settings-management-fj933lbu.mjs} +6 -6
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-Dpjfgmg9.mjs.map → acorex-modules-settings-management-acorex-modules-settings-management-fj933lbu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs → acorex-modules-settings-management-permission-definition.provider-CW3wSb7v.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-nYV8iDwJ.mjs.map → acorex-modules-settings-management-permission-definition.provider-CW3wSb7v.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs → acorex-modules-settings-management-setting-page.component-BqJ31scm.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B1lhCtl_.mjs.map → acorex-modules-settings-management-setting-page.component-BqJ31scm.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs → acorex-modules-settings-management-setting-view.component-D7QpT246.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-CAX1kFy2.mjs.map → acorex-modules-settings-management-setting-view.component-D7QpT246.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/acorex-modules-subscription-management.mjs +19 -28
- package/fesm2022/acorex-modules-subscription-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs +9 -16
- package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +51 -36
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/learning-management/index.d.ts +6 -0
- package/meeting-management/index.d.ts +0 -1
- package/package.json +10 -10
- package/reservation-management/index.d.ts +13 -12
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-HgaOIA2U.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-menu.provider-Bk9KXBU3.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-customer.entity-B7-T9_T7.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-lead.entity-Da9JTLOl.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-DNFSDcpD.mjs +0 -60
- package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-DNFSDcpD.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-sales-territory.entity-Bw5YU_a3.mjs +0 -60
- package/fesm2022/acorex-modules-customer-management-sales-territory.entity-Bw5YU_a3.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-MfqQx2iN.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-menu.provider-CDXy5oMa.mjs +0 -68
- package/fesm2022/acorex-modules-order-management-menu.provider-CDXy5oMa.mjs.map +0 -1
|
@@ -6,6 +6,7 @@ import { AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PRO
|
|
|
6
6
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
9
|
+
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
9
10
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
10
11
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
11
12
|
|
|
@@ -141,6 +142,7 @@ const AXPLocationManagementMenuKeys = {
|
|
|
141
142
|
GeographicRegions: 'location-management:menu:geographic-regions',
|
|
142
143
|
};
|
|
143
144
|
|
|
145
|
+
//#region ---- Imports ----
|
|
144
146
|
//#endregion
|
|
145
147
|
//#region ---- Menu Provider ----
|
|
146
148
|
class AXMLocationManagementMenuProvider {
|
|
@@ -149,39 +151,25 @@ class AXMLocationManagementMenuProvider {
|
|
|
149
151
|
}
|
|
150
152
|
async provide(context) {
|
|
151
153
|
const module = RootConfig.module;
|
|
152
|
-
|
|
154
|
+
// Add LocationTypes and GeographicRegions under Configuration/Locations
|
|
155
|
+
// Locations entity is hidden from menu (used as detail of other entities)
|
|
156
|
+
context.find(AXPCommonMenuKeys.Configuration).addItems([
|
|
153
157
|
{
|
|
154
158
|
name: AXPLocationManagementMenuKeys.Root,
|
|
155
|
-
priority:
|
|
156
|
-
text: '@location-management:module.menus.
|
|
159
|
+
priority: 8550,
|
|
160
|
+
text: '@location-management:module.menus.configuration.title',
|
|
157
161
|
icon: module.icon,
|
|
158
162
|
policy: {
|
|
159
163
|
features: [module.name],
|
|
160
164
|
permissions: [AXMLocationManagementPermissionsKeys.LocationManagement.Management],
|
|
161
165
|
},
|
|
162
166
|
children: [
|
|
163
|
-
{
|
|
164
|
-
name: AXPLocationManagementMenuKeys.Locations,
|
|
165
|
-
text: '@location-management:locations.menus.locations.title',
|
|
166
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.location.name),
|
|
167
|
-
icon: RootConfig.entities.location.icon,
|
|
168
|
-
priority: 1,
|
|
169
|
-
policy: {
|
|
170
|
-
permissions: [AXMLocationManagementPermissionsKeys.LocationManagement.Locations.View],
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
name: AXPLocationManagementMenuKeys.Divider1,
|
|
175
|
-
text: '',
|
|
176
|
-
type: 'break',
|
|
177
|
-
priority: 5,
|
|
178
|
-
},
|
|
179
167
|
{
|
|
180
168
|
name: AXPLocationManagementMenuKeys.LocationTypes,
|
|
181
169
|
text: '@location-management:location-types.menus.location-types.title',
|
|
182
170
|
path: this.entityService.createPath(module.name, RootConfig.entities.locationType.name),
|
|
183
171
|
icon: RootConfig.entities.locationType.icon,
|
|
184
|
-
priority:
|
|
172
|
+
priority: 1,
|
|
185
173
|
policy: {
|
|
186
174
|
permissions: [AXMLocationManagementPermissionsKeys.LocationManagement.LocationTypes.View],
|
|
187
175
|
},
|
|
@@ -191,7 +179,7 @@ class AXMLocationManagementMenuProvider {
|
|
|
191
179
|
text: '@location-management:geographic-regions.menus.geographic-regions.title',
|
|
192
180
|
path: this.entityService.createPath(module.name, RootConfig.entities.geographicRegion.name),
|
|
193
181
|
icon: RootConfig.entities.geographicRegion.icon,
|
|
194
|
-
priority:
|
|
182
|
+
priority: 2,
|
|
195
183
|
policy: {
|
|
196
184
|
permissions: [AXMLocationManagementPermissionsKeys.LocationManagement.GeographicRegions.View],
|
|
197
185
|
},
|
|
@@ -634,16 +622,12 @@ async function locationFactory(injector) {
|
|
|
634
622
|
},
|
|
635
623
|
{
|
|
636
624
|
id: 'geographic',
|
|
637
|
-
title: '@
|
|
625
|
+
title: '@general:terms.interface.geographic-details',
|
|
638
626
|
},
|
|
639
627
|
{
|
|
640
628
|
id: 'additional',
|
|
641
629
|
title: '@general:terms.interface.additional-info',
|
|
642
630
|
},
|
|
643
|
-
{
|
|
644
|
-
id: 'validity',
|
|
645
|
-
title: '@general:terms.validation.validity',
|
|
646
|
-
},
|
|
647
631
|
],
|
|
648
632
|
properties: [
|
|
649
633
|
{
|
|
@@ -742,48 +726,6 @@ async function locationFactory(injector) {
|
|
|
742
726
|
},
|
|
743
727
|
],
|
|
744
728
|
},
|
|
745
|
-
{
|
|
746
|
-
name: 'validFrom',
|
|
747
|
-
title: '@location-management:locations.entities.location.fields.valid-from',
|
|
748
|
-
groupId: 'validity',
|
|
749
|
-
options: {
|
|
750
|
-
filter: {
|
|
751
|
-
advance: {
|
|
752
|
-
enabled: true,
|
|
753
|
-
},
|
|
754
|
-
},
|
|
755
|
-
},
|
|
756
|
-
schema: {
|
|
757
|
-
dataType: 'date',
|
|
758
|
-
interface: {
|
|
759
|
-
type: AXPWidgetsCatalog.dateTime,
|
|
760
|
-
options: {
|
|
761
|
-
showTime: false,
|
|
762
|
-
},
|
|
763
|
-
},
|
|
764
|
-
},
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
name: 'validTo',
|
|
768
|
-
title: '@location-management:locations.entities.location.fields.valid-to',
|
|
769
|
-
groupId: 'validity',
|
|
770
|
-
options: {
|
|
771
|
-
filter: {
|
|
772
|
-
advance: {
|
|
773
|
-
enabled: true,
|
|
774
|
-
},
|
|
775
|
-
},
|
|
776
|
-
},
|
|
777
|
-
schema: {
|
|
778
|
-
dataType: 'date',
|
|
779
|
-
interface: {
|
|
780
|
-
type: AXPWidgetsCatalog.dateTime,
|
|
781
|
-
options: {
|
|
782
|
-
showTime: false,
|
|
783
|
-
},
|
|
784
|
-
},
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
729
|
{
|
|
788
730
|
name: 'street1',
|
|
789
731
|
title: '@location-management:locations.entities.location.fields.street1',
|
|
@@ -1043,53 +985,53 @@ async function locationFactory(injector) {
|
|
|
1043
985
|
},
|
|
1044
986
|
},
|
|
1045
987
|
{
|
|
1046
|
-
name: '
|
|
1047
|
-
title: '@location-management:locations.entities.location.fields.
|
|
1048
|
-
groupId: '
|
|
988
|
+
name: 'timezone',
|
|
989
|
+
title: '@location-management:locations.entities.location.fields.timezone',
|
|
990
|
+
groupId: 'geographic',
|
|
1049
991
|
options: {
|
|
1050
992
|
filter: {
|
|
1051
993
|
advance: {
|
|
1052
994
|
enabled: true,
|
|
1053
995
|
},
|
|
1054
|
-
inline: {
|
|
1055
|
-
enabled: true,
|
|
1056
|
-
},
|
|
1057
996
|
},
|
|
1058
997
|
},
|
|
1059
998
|
schema: {
|
|
1060
|
-
dataType: '
|
|
999
|
+
dataType: 'string',
|
|
1061
1000
|
interface: {
|
|
1062
|
-
type: AXPWidgetsCatalog.
|
|
1001
|
+
type: AXPWidgetsCatalog.select,
|
|
1063
1002
|
options: {
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
],
|
|
1003
|
+
allowSearch: true,
|
|
1004
|
+
valueField: 'code',
|
|
1005
|
+
placeholder: 'e.g., America/New_York',
|
|
1006
|
+
dataSource: 'timezones',
|
|
1069
1007
|
},
|
|
1070
1008
|
},
|
|
1071
1009
|
},
|
|
1072
1010
|
},
|
|
1073
1011
|
{
|
|
1074
|
-
name: '
|
|
1075
|
-
title: '@location-management:locations.entities.location.fields.
|
|
1076
|
-
groupId: '
|
|
1012
|
+
name: 'parentLocationId',
|
|
1013
|
+
title: '@location-management:locations.entities.location.fields.parent-location',
|
|
1014
|
+
groupId: 'basic-info',
|
|
1077
1015
|
options: {
|
|
1078
1016
|
filter: {
|
|
1079
1017
|
advance: {
|
|
1080
1018
|
enabled: true,
|
|
1081
1019
|
},
|
|
1020
|
+
inline: {
|
|
1021
|
+
enabled: true,
|
|
1022
|
+
},
|
|
1082
1023
|
},
|
|
1083
1024
|
},
|
|
1084
1025
|
schema: {
|
|
1085
|
-
dataType: '
|
|
1026
|
+
dataType: 'object',
|
|
1086
1027
|
interface: {
|
|
1087
|
-
type: AXPWidgetsCatalog.
|
|
1028
|
+
type: AXPWidgetsCatalog.lookup,
|
|
1088
1029
|
options: {
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1030
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.location.name}`,
|
|
1031
|
+
expose: [
|
|
1032
|
+
{ source: 'id', target: 'parentLocation.id' },
|
|
1033
|
+
{ source: 'title', target: 'parentLocation.title' },
|
|
1034
|
+
],
|
|
1093
1035
|
},
|
|
1094
1036
|
},
|
|
1095
1037
|
},
|
|
@@ -1125,8 +1067,6 @@ async function locationFactory(injector) {
|
|
|
1125
1067
|
{ name: 'cityId', options: { dataPath: 'city.title' } },
|
|
1126
1068
|
{ name: 'stateId', options: { dataPath: 'state.title' } },
|
|
1127
1069
|
{ name: 'countryId', options: { dataPath: 'country.title' } },
|
|
1128
|
-
{ name: 'validFrom' },
|
|
1129
|
-
{ name: 'validTo' },
|
|
1130
1070
|
],
|
|
1131
1071
|
interfaces: {
|
|
1132
1072
|
master: {
|
|
@@ -1138,9 +1078,6 @@ async function locationFactory(injector) {
|
|
|
1138
1078
|
{
|
|
1139
1079
|
id: 'address',
|
|
1140
1080
|
},
|
|
1141
|
-
{
|
|
1142
|
-
id: 'validity',
|
|
1143
|
-
},
|
|
1144
1081
|
{
|
|
1145
1082
|
id: 'geographic',
|
|
1146
1083
|
},
|
|
@@ -1255,7 +1192,7 @@ async function locationFactory(injector) {
|
|
|
1255
1192
|
colSpan: 12,
|
|
1256
1193
|
},
|
|
1257
1194
|
md: {
|
|
1258
|
-
colSpan:
|
|
1195
|
+
colSpan: 4,
|
|
1259
1196
|
},
|
|
1260
1197
|
},
|
|
1261
1198
|
},
|
|
@@ -1283,19 +1220,6 @@ async function locationFactory(injector) {
|
|
|
1283
1220
|
},
|
|
1284
1221
|
},
|
|
1285
1222
|
},
|
|
1286
|
-
{
|
|
1287
|
-
name: 'parentLocationId',
|
|
1288
|
-
layout: {
|
|
1289
|
-
positions: {
|
|
1290
|
-
sm: {
|
|
1291
|
-
colSpan: 12,
|
|
1292
|
-
},
|
|
1293
|
-
md: {
|
|
1294
|
-
colSpan: 6,
|
|
1295
|
-
},
|
|
1296
|
-
},
|
|
1297
|
-
},
|
|
1298
|
-
},
|
|
1299
1223
|
{
|
|
1300
1224
|
name: 'timezone',
|
|
1301
1225
|
layout: {
|
|
@@ -1304,23 +1228,13 @@ async function locationFactory(injector) {
|
|
|
1304
1228
|
colSpan: 12,
|
|
1305
1229
|
},
|
|
1306
1230
|
md: {
|
|
1307
|
-
colSpan:
|
|
1308
|
-
},
|
|
1309
|
-
},
|
|
1310
|
-
},
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
name: 'description',
|
|
1314
|
-
layout: {
|
|
1315
|
-
positions: {
|
|
1316
|
-
sm: {
|
|
1317
|
-
colSpan: 12,
|
|
1231
|
+
colSpan: 4,
|
|
1318
1232
|
},
|
|
1319
1233
|
},
|
|
1320
1234
|
},
|
|
1321
1235
|
},
|
|
1322
1236
|
{
|
|
1323
|
-
name: '
|
|
1237
|
+
name: 'parentLocationId',
|
|
1324
1238
|
layout: {
|
|
1325
1239
|
positions: {
|
|
1326
1240
|
sm: {
|
|
@@ -1333,15 +1247,12 @@ async function locationFactory(injector) {
|
|
|
1333
1247
|
},
|
|
1334
1248
|
},
|
|
1335
1249
|
{
|
|
1336
|
-
name: '
|
|
1250
|
+
name: 'description',
|
|
1337
1251
|
layout: {
|
|
1338
1252
|
positions: {
|
|
1339
1253
|
sm: {
|
|
1340
1254
|
colSpan: 12,
|
|
1341
1255
|
},
|
|
1342
|
-
md: {
|
|
1343
|
-
colSpan: 6,
|
|
1344
|
-
},
|
|
1345
1256
|
},
|
|
1346
1257
|
},
|
|
1347
1258
|
},
|
|
@@ -1356,7 +1267,7 @@ async function locationFactory(injector) {
|
|
|
1356
1267
|
id: 'address',
|
|
1357
1268
|
},
|
|
1358
1269
|
{
|
|
1359
|
-
id: '
|
|
1270
|
+
id: 'geographic',
|
|
1360
1271
|
},
|
|
1361
1272
|
{
|
|
1362
1273
|
id: 'additional',
|
|
@@ -1498,7 +1409,7 @@ async function locationFactory(injector) {
|
|
|
1498
1409
|
colSpan: 12,
|
|
1499
1410
|
},
|
|
1500
1411
|
md: {
|
|
1501
|
-
colSpan:
|
|
1412
|
+
colSpan: 4,
|
|
1502
1413
|
},
|
|
1503
1414
|
},
|
|
1504
1415
|
},
|
|
@@ -1534,7 +1445,7 @@ async function locationFactory(injector) {
|
|
|
1534
1445
|
colSpan: 12,
|
|
1535
1446
|
},
|
|
1536
1447
|
md: {
|
|
1537
|
-
colSpan:
|
|
1448
|
+
colSpan: 4,
|
|
1538
1449
|
},
|
|
1539
1450
|
},
|
|
1540
1451
|
},
|
|
@@ -1574,16 +1485,6 @@ async function locationFactory(injector) {
|
|
|
1574
1485
|
},
|
|
1575
1486
|
},
|
|
1576
1487
|
},
|
|
1577
|
-
{
|
|
1578
|
-
id: 'validity',
|
|
1579
|
-
layout: {
|
|
1580
|
-
positions: {
|
|
1581
|
-
lg: {
|
|
1582
|
-
colSpan: 12,
|
|
1583
|
-
},
|
|
1584
|
-
},
|
|
1585
|
-
},
|
|
1586
|
-
},
|
|
1587
1488
|
{
|
|
1588
1489
|
id: 'additional',
|
|
1589
1490
|
layout: {
|
|
@@ -1711,7 +1612,7 @@ async function locationFactory(injector) {
|
|
|
1711
1612
|
layout: {
|
|
1712
1613
|
positions: {
|
|
1713
1614
|
lg: {
|
|
1714
|
-
colSpan:
|
|
1615
|
+
colSpan: 4,
|
|
1715
1616
|
order: 9,
|
|
1716
1617
|
},
|
|
1717
1618
|
},
|
|
@@ -1728,35 +1629,13 @@ async function locationFactory(injector) {
|
|
|
1728
1629
|
},
|
|
1729
1630
|
},
|
|
1730
1631
|
},
|
|
1731
|
-
{
|
|
1732
|
-
name: 'validFrom',
|
|
1733
|
-
layout: {
|
|
1734
|
-
positions: {
|
|
1735
|
-
lg: {
|
|
1736
|
-
colSpan: 6,
|
|
1737
|
-
order: 13,
|
|
1738
|
-
},
|
|
1739
|
-
},
|
|
1740
|
-
},
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
name: 'validTo',
|
|
1744
|
-
layout: {
|
|
1745
|
-
positions: {
|
|
1746
|
-
lg: {
|
|
1747
|
-
colSpan: 6,
|
|
1748
|
-
order: 14,
|
|
1749
|
-
},
|
|
1750
|
-
},
|
|
1751
|
-
},
|
|
1752
|
-
},
|
|
1753
1632
|
{
|
|
1754
1633
|
name: 'timezone',
|
|
1755
1634
|
layout: {
|
|
1756
1635
|
positions: {
|
|
1757
1636
|
lg: {
|
|
1758
|
-
colSpan:
|
|
1759
|
-
order:
|
|
1637
|
+
colSpan: 4,
|
|
1638
|
+
order: 11,
|
|
1760
1639
|
},
|
|
1761
1640
|
},
|
|
1762
1641
|
},
|
|
@@ -2044,13 +1923,9 @@ async function geographicRegionFactory(injector) {
|
|
|
2044
1923
|
id: 'basic-info',
|
|
2045
1924
|
title: '@general:terms.interface.basic-info',
|
|
2046
1925
|
},
|
|
2047
|
-
{
|
|
2048
|
-
id: 'hierarchy',
|
|
2049
|
-
title: '@location-management:geographic-regions.entities.geographic-region.groups.hierarchy',
|
|
2050
|
-
},
|
|
2051
1926
|
{
|
|
2052
1927
|
id: 'geographic-data',
|
|
2053
|
-
title: '@
|
|
1928
|
+
title: '@general:terms.interface.geographic-details',
|
|
2054
1929
|
},
|
|
2055
1930
|
{
|
|
2056
1931
|
id: 'additional-info',
|
|
@@ -2151,6 +2026,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2151
2026
|
{ code: 'city', title: 'City' },
|
|
2152
2027
|
{ code: 'district', title: 'District' },
|
|
2153
2028
|
{ code: 'subdistrict', title: 'Subdistrict' },
|
|
2029
|
+
{ code: 'territory', title: 'Territory' },
|
|
2154
2030
|
],
|
|
2155
2031
|
},
|
|
2156
2032
|
},
|
|
@@ -2164,7 +2040,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2164
2040
|
{
|
|
2165
2041
|
name: 'parentId',
|
|
2166
2042
|
title: '@location-management:geographic-regions.entities.geographic-region.fields.parent-region',
|
|
2167
|
-
groupId: '
|
|
2043
|
+
groupId: 'basic-info',
|
|
2168
2044
|
options: {
|
|
2169
2045
|
filter: {
|
|
2170
2046
|
advance: {
|
|
@@ -2318,9 +2194,6 @@ async function geographicRegionFactory(injector) {
|
|
|
2318
2194
|
{
|
|
2319
2195
|
id: 'basic-info',
|
|
2320
2196
|
},
|
|
2321
|
-
{
|
|
2322
|
-
id: 'hierarchy',
|
|
2323
|
-
},
|
|
2324
2197
|
{
|
|
2325
2198
|
id: 'geographic-data',
|
|
2326
2199
|
},
|
|
@@ -2378,6 +2251,9 @@ async function geographicRegionFactory(injector) {
|
|
|
2378
2251
|
sm: {
|
|
2379
2252
|
colSpan: 12,
|
|
2380
2253
|
},
|
|
2254
|
+
md: {
|
|
2255
|
+
colSpan: 6,
|
|
2256
|
+
},
|
|
2381
2257
|
},
|
|
2382
2258
|
},
|
|
2383
2259
|
},
|
|
@@ -2399,7 +2275,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2399
2275
|
colSpan: 12,
|
|
2400
2276
|
},
|
|
2401
2277
|
md: {
|
|
2402
|
-
colSpan:
|
|
2278
|
+
colSpan: 4,
|
|
2403
2279
|
},
|
|
2404
2280
|
},
|
|
2405
2281
|
},
|
|
@@ -2450,9 +2326,6 @@ async function geographicRegionFactory(injector) {
|
|
|
2450
2326
|
{
|
|
2451
2327
|
id: 'basic-info',
|
|
2452
2328
|
},
|
|
2453
|
-
{
|
|
2454
|
-
id: 'hierarchy',
|
|
2455
|
-
},
|
|
2456
2329
|
{
|
|
2457
2330
|
id: 'geographic-data',
|
|
2458
2331
|
},
|
|
@@ -2510,6 +2383,9 @@ async function geographicRegionFactory(injector) {
|
|
|
2510
2383
|
sm: {
|
|
2511
2384
|
colSpan: 12,
|
|
2512
2385
|
},
|
|
2386
|
+
md: {
|
|
2387
|
+
colSpan: 6,
|
|
2388
|
+
},
|
|
2513
2389
|
},
|
|
2514
2390
|
},
|
|
2515
2391
|
},
|
|
@@ -2531,7 +2407,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2531
2407
|
colSpan: 12,
|
|
2532
2408
|
},
|
|
2533
2409
|
md: {
|
|
2534
|
-
colSpan:
|
|
2410
|
+
colSpan: 4,
|
|
2535
2411
|
},
|
|
2536
2412
|
},
|
|
2537
2413
|
},
|
|
@@ -2590,16 +2466,6 @@ async function geographicRegionFactory(injector) {
|
|
|
2590
2466
|
},
|
|
2591
2467
|
},
|
|
2592
2468
|
},
|
|
2593
|
-
{
|
|
2594
|
-
id: 'hierarchy',
|
|
2595
|
-
layout: {
|
|
2596
|
-
positions: {
|
|
2597
|
-
lg: {
|
|
2598
|
-
colSpan: 12,
|
|
2599
|
-
},
|
|
2600
|
-
},
|
|
2601
|
-
},
|
|
2602
|
-
},
|
|
2603
2469
|
{
|
|
2604
2470
|
id: 'geographic-data',
|
|
2605
2471
|
layout: {
|
|
@@ -2637,7 +2503,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2637
2503
|
layout: {
|
|
2638
2504
|
positions: {
|
|
2639
2505
|
lg: {
|
|
2640
|
-
colSpan:
|
|
2506
|
+
colSpan: 6,
|
|
2641
2507
|
order: 1,
|
|
2642
2508
|
},
|
|
2643
2509
|
},
|
|
@@ -2648,7 +2514,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2648
2514
|
layout: {
|
|
2649
2515
|
positions: {
|
|
2650
2516
|
lg: {
|
|
2651
|
-
colSpan:
|
|
2517
|
+
colSpan: 6,
|
|
2652
2518
|
order: 2,
|
|
2653
2519
|
},
|
|
2654
2520
|
},
|
|
@@ -2659,7 +2525,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2659
2525
|
layout: {
|
|
2660
2526
|
positions: {
|
|
2661
2527
|
lg: {
|
|
2662
|
-
colSpan:
|
|
2528
|
+
colSpan: 6,
|
|
2663
2529
|
order: 3,
|
|
2664
2530
|
},
|
|
2665
2531
|
},
|
|
@@ -2670,8 +2536,8 @@ async function geographicRegionFactory(injector) {
|
|
|
2670
2536
|
layout: {
|
|
2671
2537
|
positions: {
|
|
2672
2538
|
lg: {
|
|
2673
|
-
colSpan:
|
|
2674
|
-
order:
|
|
2539
|
+
colSpan: 6,
|
|
2540
|
+
order: 4,
|
|
2675
2541
|
},
|
|
2676
2542
|
},
|
|
2677
2543
|
},
|
|
@@ -2682,7 +2548,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2682
2548
|
positions: {
|
|
2683
2549
|
lg: {
|
|
2684
2550
|
colSpan: 12,
|
|
2685
|
-
order:
|
|
2551
|
+
order: 5,
|
|
2686
2552
|
},
|
|
2687
2553
|
},
|
|
2688
2554
|
},
|
|
@@ -2692,8 +2558,8 @@ async function geographicRegionFactory(injector) {
|
|
|
2692
2558
|
layout: {
|
|
2693
2559
|
positions: {
|
|
2694
2560
|
lg: {
|
|
2695
|
-
colSpan:
|
|
2696
|
-
order:
|
|
2561
|
+
colSpan: 4,
|
|
2562
|
+
order: 6,
|
|
2697
2563
|
},
|
|
2698
2564
|
},
|
|
2699
2565
|
},
|
|
@@ -2704,7 +2570,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2704
2570
|
positions: {
|
|
2705
2571
|
lg: {
|
|
2706
2572
|
colSpan: 4,
|
|
2707
|
-
order:
|
|
2573
|
+
order: 7,
|
|
2708
2574
|
},
|
|
2709
2575
|
},
|
|
2710
2576
|
},
|
|
@@ -2715,7 +2581,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2715
2581
|
positions: {
|
|
2716
2582
|
lg: {
|
|
2717
2583
|
colSpan: 4,
|
|
2718
|
-
order:
|
|
2584
|
+
order: 8,
|
|
2719
2585
|
},
|
|
2720
2586
|
},
|
|
2721
2587
|
},
|
|
@@ -2726,7 +2592,7 @@ async function geographicRegionFactory(injector) {
|
|
|
2726
2592
|
positions: {
|
|
2727
2593
|
lg: {
|
|
2728
2594
|
colSpan: 4,
|
|
2729
|
-
order:
|
|
2595
|
+
order: 9,
|
|
2730
2596
|
},
|
|
2731
2597
|
},
|
|
2732
2598
|
},
|