@acorex/modules 19.2.17-next.0 → 19.2.17
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/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.d.ts +4 -0
- package/auth/lib/pages/login/password/password.component.d.ts +1 -0
- package/common/lib/entities/dashboard/dashboard.types.d.ts +2 -2
- package/common/lib/entities/index.d.ts +0 -1
- package/common/lib/features/dashboard-home/dashboard-home.d.ts +113 -0
- package/common/lib/features/dashboard-home/dashboard-home.store.d.ts +19 -0
- package/common/lib/features/dashboard-home/dashboard.type.d.ts +12 -0
- package/common/lib/features/dashboard-popups/add-dashboard-popup.d.ts +11 -0
- package/common/lib/features/dashboard-popups/dashboard-popup.service.d.ts +9 -0
- package/common/lib/features/widget-wrapper/dashboard-widget-wrapper.d.ts +9 -0
- package/document-management/lib/document-management.module.d.ts +2 -1
- package/document-management/lib/entities/document/document.types.d.ts +4 -0
- package/document-management/lib/entities/folder/folder.types.d.ts +1 -0
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +7 -0
- package/document-management/lib/features/drive/drive.component.d.ts +4 -0
- package/document-management/lib/features/drive-choose/drive-choose.component.d.ts +200 -0
- package/document-management/lib/features/shared/components/file-viewer-popup/file-viewer-popup.component.d.ts +9 -0
- package/document-management/lib/features/shared/components/file-viewer-popup/index.d.ts +1 -0
- package/document-management/lib/features/shared/components/index.d.ts +2 -0
- package/document-management/lib/features/shared/components/tree-folder-popup/index.d.ts +1 -0
- package/document-management/lib/features/shared/components/tree-folder-popup/tree-folder-popup.component.d.ts +20 -0
- package/document-management/lib/features/shared/document-manager.service.d.ts +41 -49
- package/document-management/lib/features/shared/document-manager.types.d.ts +2 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +113 -1
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs → acorex-modules-application-management-module-designer.component-BSGSZi9T.mjs} +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs.map → acorex-modules-application-management-module-designer.component-BSGSZi9T.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +3 -3
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs → acorex-modules-auth-acorex-modules-auth-Xcs9ViQv.mjs} +13 -13
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-Xcs9ViQv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs → acorex-modules-auth-app-chooser.component-0L9y_yn_.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs.map → acorex-modules-auth-app-chooser.component-0L9y_yn_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-B9P2XpfQ.mjs → acorex-modules-auth-login.module-CfO1IwH9.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-B9P2XpfQ.mjs.map → acorex-modules-auth-login.module-CfO1IwH9.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-master.layout-hLuHDgvl.mjs +23 -0
- package/fesm2022/acorex-modules-auth-master.layout-hLuHDgvl.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-password.component-BztZ3DJd.mjs +132 -0
- package/fesm2022/acorex-modules-auth-password.component-BztZ3DJd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-C7Yp-ioT.mjs → acorex-modules-auth-password.component-CTVBARbz.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-C7Yp-ioT.mjs.map → acorex-modules-auth-password.component-CTVBARbz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-Bu-xB4O6.mjs → acorex-modules-auth-routes-CJz0CRlp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Bu-xB4O6.mjs.map → acorex-modules-auth-routes-CJz0CRlp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs → acorex-modules-auth-tenant-chooser.component-kVFAR9t1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs.map → acorex-modules-auth-tenant-chooser.component-kVFAR9t1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs → acorex-modules-auth-two-factor-code.component-_VYT-h-9.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs.map → acorex-modules-auth-two-factor-code.component-_VYT-h-9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-YRh6_YcG.mjs → acorex-modules-auth-two-factor.module-BQfrnrd0.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-YRh6_YcG.mjs.map → acorex-modules-auth-two-factor.module-BQfrnrd0.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common-index-BAt02rnb.mjs +472 -0
- package/fesm2022/acorex-modules-common-index-BAt02rnb.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +5 -505
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-C9ZCejjs.mjs → acorex-modules-document-management-acorex-modules-document-management-BmLGtKDq.mjs} +415 -60
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BmLGtKDq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BnRaCq_Q.mjs → acorex-modules-document-management-create-folder-dialog.component-DqoWmtm7.mjs} +4 -5
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-DqoWmtm7.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-drive-choose.component-CkS8s7zm.mjs +152 -0
- package/fesm2022/acorex-modules-document-management-drive-choose.component-CkS8s7zm.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-drive.component-B6az6-_w.mjs +164 -0
- package/fesm2022/acorex-modules-document-management-drive.component-B6az6-_w.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-index-9l8D5iEE.mjs +69 -0
- package/fesm2022/acorex-modules-document-management-index-9l8D5iEE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-EBf1XqU8.mjs → acorex-modules-document-management-rename-node-dialog.component-BoODbM0H.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-EBf1XqU8.mjs.map → acorex-modules-document-management-rename-node-dialog.component-BoODbM0H.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-Qnh16t3Q.mjs} +10 -10
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-Qnh16t3Q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs → acorex-modules-form-template-management-category.entity-BjmyIav9.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs.map → acorex-modules-form-template-management-category.entity-BjmyIav9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs → acorex-modules-form-template-management-setting.provider-hkwaOGfL.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs.map → acorex-modules-form-template-management-setting.provider-hkwaOGfL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs → acorex-modules-form-template-management-template-picker.component-gdMTnjl-.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs.map → acorex-modules-form-template-management-template-picker.component-gdMTnjl-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs → acorex-modules-form-template-management-template-widget-edit.component-CSShokqz.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-CSShokqz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs → acorex-modules-form-template-management-template.entity-_yMAqh35.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs.map → acorex-modules-form-template-management-template.entity-_yMAqh35.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs → acorex-modules-form-template-management-viewer-popup.component-CbcSFEis.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CbcSFEis.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs → acorex-modules-organization-management-add-item.component-Bsae9u-e.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs.map → acorex-modules-organization-management-add-item.component-Bsae9u-e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-branch.entity-DhObzxhh.mjs → acorex-modules-organization-management-branch.entity-e5pFx82N.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-branch.entity-DhObzxhh.mjs.map → acorex-modules-organization-management-branch.entity-e5pFx82N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs → acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs.map → acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-company.entity-d7GaCVei.mjs → acorex-modules-organization-management-company.entity-BRkEcDNt.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-d7GaCVei.mjs.map → acorex-modules-organization-management-company.entity-BRkEcDNt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-department.entity-BxyeK3lU.mjs → acorex-modules-organization-management-department.entity-ChJXNpXn.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-department.entity-BxyeK3lU.mjs.map → acorex-modules-organization-management-department.entity-ChJXNpXn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-division.entity-Dh54R4es.mjs → acorex-modules-organization-management-division.entity-qyDyhl-q.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-division.entity-Dh54R4es.mjs.map → acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs → acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs.map → acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-aNkt-l_e.mjs → acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-aNkt-l_e.mjs.map → acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-aMPR3Oyw.mjs +92 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-aMPR3Oyw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs → acorex-modules-organization-management-org-chart.page-CAgSSVON.mjs} +15 -15
- package/fesm2022/acorex-modules-organization-management-org-chart.page-CAgSSVON.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-D17Yembh.mjs → acorex-modules-organization-management-position.entity-BpQbwW-x.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-position.entity-D17Yembh.mjs.map → acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-role.entity-Cmbyle8P.mjs → acorex-modules-organization-management-role.entity-B9N4qA_E.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-role.entity-Cmbyle8P.mjs.map → acorex-modules-organization-management-role.entity-B9N4qA_E.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team.entity-DcurAtLd.mjs → acorex-modules-organization-management-team.entity-7q6Eg74A.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team.entity-DcurAtLd.mjs.map → acorex-modules-organization-management-team.entity-7q6Eg74A.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +15 -13
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CoZBz85x.mjs → acorex-modules-platform-management-list-version.component-DI1wKhRv.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CoZBz85x.mjs.map → acorex-modules-platform-management-list-version.component-DI1wKhRv.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +10 -8
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +1 -1
- package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +4 -0
- package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +4 -0
- package/package.json +1 -1
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.entity.d.ts +0 -3
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.service.d.ts +0 -10
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.types.d.ts +0 -9
- package/common/lib/entities/dashboard-widget-data/index.d.ts +0 -3
- package/common/lib/features/home/dashboard-home.d.ts +0 -5
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-BYC0FYq1.mjs +0 -23
- package/fesm2022/acorex-modules-auth-master.layout-BYC0FYq1.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs +0 -127
- package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs +0 -14
- package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C9ZCejjs.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-BnRaCq_Q.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive.component-Sz198sA6.mjs +0 -165
- package/fesm2022/acorex-modules-document-management-drive.component-Sz198sA6.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-index--I8MGeDs.mjs +0 -2
- package/fesm2022/acorex-modules-document-management-index--I8MGeDs.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs +0 -92
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs.map +0 -1
- /package/common/lib/features/{home → dashboard-home}/index.d.ts +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AXP_PERMISSION_PROVIDER } from '@acorex/platform/auth';
|
2
|
-
import { AXPSearchCommandProvider,
|
2
|
+
import { AXPSearchCommandProvider, createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
3
3
|
import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
4
4
|
import * as i0 from '@angular/core';
|
5
5
|
import { inject, Injector, Injectable, NgModule } from '@angular/core';
|
@@ -482,510 +482,18 @@ var dashboard_entity = /*#__PURE__*/Object.freeze({
|
|
482
482
|
dashboardFactory: dashboardFactory
|
483
483
|
});
|
484
484
|
|
485
|
-
class AXMDashboardWidgetDataService extends AXMEntityCrudServiceImpl {
|
486
|
-
}
|
487
|
-
class AXMDashboardWidgetDataServiceImpl extends AXMDashboardWidgetDataService {
|
488
|
-
constructor() {
|
489
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.dashboardWidgetData.name}`);
|
490
|
-
}
|
491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDashboardWidgetDataServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
492
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDashboardWidgetDataServiceImpl }); }
|
493
|
-
}
|
494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDashboardWidgetDataServiceImpl, decorators: [{
|
495
|
-
type: Injectable
|
496
|
-
}], ctorParameters: () => [] });
|
497
|
-
|
498
|
-
async function dashboardWidgetDataFactory(injector) {
|
499
|
-
const dataService = injector.get(AXMDashboardWidgetDataService);
|
500
|
-
const i18n = RootConfig.config.i18n;
|
501
|
-
const entityDef = {
|
502
|
-
module: RootConfig.module.name,
|
503
|
-
name: RootConfig.entities.dashboardWidgetData.name,
|
504
|
-
source: '',
|
505
|
-
title: RootConfig.entities.dashboardWidgetData.title,
|
506
|
-
formats: {
|
507
|
-
individual: RootConfig.entities.dashboardWidgetData.title,
|
508
|
-
plural: RootConfig.entities.dashboardWidgetData.titlePlural,
|
509
|
-
searchResult: {
|
510
|
-
title: '{{ title }}',
|
511
|
-
description: RootConfig.module.title,
|
512
|
-
},
|
513
|
-
},
|
514
|
-
relatedEntities: [],
|
515
|
-
groups: [
|
516
|
-
{
|
517
|
-
id: 'section',
|
518
|
-
title: RootConfig.entities.dashboardWidgetData.title,
|
519
|
-
},
|
520
|
-
],
|
521
|
-
properties: [
|
522
|
-
{
|
523
|
-
name: 'x',
|
524
|
-
title: `t("x", { scope: "${i18n}" })`,
|
525
|
-
groupId: 'section',
|
526
|
-
options: {
|
527
|
-
sort: {
|
528
|
-
enabled: true,
|
529
|
-
},
|
530
|
-
filter: {
|
531
|
-
advance: {
|
532
|
-
enabled: true,
|
533
|
-
},
|
534
|
-
inline: {
|
535
|
-
enabled: false,
|
536
|
-
},
|
537
|
-
},
|
538
|
-
},
|
539
|
-
schema: {
|
540
|
-
dataType: 'string',
|
541
|
-
interface: {
|
542
|
-
type: AXPWidgetsCatalog.number,
|
543
|
-
},
|
544
|
-
},
|
545
|
-
},
|
546
|
-
{
|
547
|
-
name: 'y',
|
548
|
-
title: `t("y", { scope: "${i18n}" })`,
|
549
|
-
groupId: 'section',
|
550
|
-
options: {
|
551
|
-
sort: {
|
552
|
-
enabled: true,
|
553
|
-
},
|
554
|
-
filter: {
|
555
|
-
advance: {
|
556
|
-
enabled: true,
|
557
|
-
},
|
558
|
-
inline: {
|
559
|
-
enabled: false,
|
560
|
-
},
|
561
|
-
},
|
562
|
-
},
|
563
|
-
schema: {
|
564
|
-
dataType: 'string',
|
565
|
-
interface: {
|
566
|
-
type: AXPWidgetsCatalog.number,
|
567
|
-
},
|
568
|
-
},
|
569
|
-
},
|
570
|
-
{
|
571
|
-
name: 'w',
|
572
|
-
title: `t("w", { scope: "${i18n}" })`,
|
573
|
-
groupId: 'section',
|
574
|
-
options: {
|
575
|
-
sort: {
|
576
|
-
enabled: true,
|
577
|
-
},
|
578
|
-
filter: {
|
579
|
-
advance: {
|
580
|
-
enabled: true,
|
581
|
-
},
|
582
|
-
inline: {
|
583
|
-
enabled: false,
|
584
|
-
},
|
585
|
-
},
|
586
|
-
},
|
587
|
-
schema: {
|
588
|
-
dataType: 'string',
|
589
|
-
interface: {
|
590
|
-
type: AXPWidgetsCatalog.number,
|
591
|
-
},
|
592
|
-
},
|
593
|
-
},
|
594
|
-
{
|
595
|
-
name: 'h',
|
596
|
-
title: `t("h", { scope: "${i18n}" })`,
|
597
|
-
groupId: 'section',
|
598
|
-
options: {
|
599
|
-
sort: {
|
600
|
-
enabled: true,
|
601
|
-
},
|
602
|
-
filter: {
|
603
|
-
advance: {
|
604
|
-
enabled: true,
|
605
|
-
},
|
606
|
-
inline: {
|
607
|
-
enabled: false,
|
608
|
-
},
|
609
|
-
},
|
610
|
-
},
|
611
|
-
schema: {
|
612
|
-
dataType: 'string',
|
613
|
-
interface: {
|
614
|
-
type: AXPWidgetsCatalog.number,
|
615
|
-
},
|
616
|
-
},
|
617
|
-
},
|
618
|
-
{
|
619
|
-
name: 'disableResize',
|
620
|
-
title: `t("disableResize", { scope: "${i18n}" })`,
|
621
|
-
groupId: 'section',
|
622
|
-
options: {
|
623
|
-
sort: {
|
624
|
-
enabled: true,
|
625
|
-
},
|
626
|
-
filter: {
|
627
|
-
advance: {
|
628
|
-
enabled: true,
|
629
|
-
},
|
630
|
-
inline: {
|
631
|
-
enabled: false,
|
632
|
-
},
|
633
|
-
},
|
634
|
-
},
|
635
|
-
schema: {
|
636
|
-
dataType: 'string',
|
637
|
-
interface: {
|
638
|
-
type: AXPWidgetsCatalog.text,
|
639
|
-
},
|
640
|
-
},
|
641
|
-
},
|
642
|
-
{
|
643
|
-
name: 'disableDrag',
|
644
|
-
title: `t("disableDrag", { scope: "${i18n}" })`,
|
645
|
-
groupId: 'section',
|
646
|
-
options: {
|
647
|
-
sort: {
|
648
|
-
enabled: true,
|
649
|
-
},
|
650
|
-
filter: {
|
651
|
-
advance: {
|
652
|
-
enabled: true,
|
653
|
-
},
|
654
|
-
inline: {
|
655
|
-
enabled: false,
|
656
|
-
},
|
657
|
-
},
|
658
|
-
},
|
659
|
-
schema: {
|
660
|
-
dataType: 'string',
|
661
|
-
interface: {
|
662
|
-
type: AXPWidgetsCatalog.text,
|
663
|
-
},
|
664
|
-
},
|
665
|
-
},
|
666
|
-
],
|
667
|
-
columns: [{ name: 'x' }, { name: 'y' }, { name: 'w' }, { name: 'h' }],
|
668
|
-
commands: {
|
669
|
-
create: {
|
670
|
-
execute: async (data) => {
|
671
|
-
const res = await dataService.insertOne(data);
|
672
|
-
return { id: res };
|
673
|
-
},
|
674
|
-
},
|
675
|
-
delete: {
|
676
|
-
execute: async (id) => {
|
677
|
-
return await dataService.deleteOne(id);
|
678
|
-
},
|
679
|
-
},
|
680
|
-
update: {
|
681
|
-
execute: async (data) => {
|
682
|
-
return await dataService.updateOne(data.id, data);
|
683
|
-
},
|
684
|
-
},
|
685
|
-
},
|
686
|
-
queries: {
|
687
|
-
byKey: {
|
688
|
-
execute: async (id) => {
|
689
|
-
return await dataService.getOne(id);
|
690
|
-
},
|
691
|
-
type: AXPEntityQueryType.Single,
|
692
|
-
},
|
693
|
-
list: {
|
694
|
-
execute: async (e) => {
|
695
|
-
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
696
|
-
},
|
697
|
-
type: AXPEntityQueryType.List,
|
698
|
-
},
|
699
|
-
},
|
700
|
-
interfaces: {
|
701
|
-
master: {
|
702
|
-
create: {
|
703
|
-
sections: [
|
704
|
-
{
|
705
|
-
id: 'section',
|
706
|
-
},
|
707
|
-
],
|
708
|
-
properties: [
|
709
|
-
{
|
710
|
-
name: 'x',
|
711
|
-
layout: {
|
712
|
-
positions: {
|
713
|
-
lg: {
|
714
|
-
colSpan: 6,
|
715
|
-
order: 1,
|
716
|
-
},
|
717
|
-
},
|
718
|
-
},
|
719
|
-
},
|
720
|
-
{
|
721
|
-
name: 'y',
|
722
|
-
layout: {
|
723
|
-
positions: {
|
724
|
-
lg: {
|
725
|
-
colSpan: 6,
|
726
|
-
order: 2,
|
727
|
-
},
|
728
|
-
},
|
729
|
-
},
|
730
|
-
},
|
731
|
-
{
|
732
|
-
name: 'w',
|
733
|
-
layout: {
|
734
|
-
positions: {
|
735
|
-
lg: {
|
736
|
-
colSpan: 6,
|
737
|
-
order: 3,
|
738
|
-
},
|
739
|
-
},
|
740
|
-
},
|
741
|
-
},
|
742
|
-
{
|
743
|
-
name: 'h',
|
744
|
-
layout: {
|
745
|
-
positions: {
|
746
|
-
lg: {
|
747
|
-
colSpan: 6,
|
748
|
-
order: 4,
|
749
|
-
},
|
750
|
-
},
|
751
|
-
},
|
752
|
-
},
|
753
|
-
{
|
754
|
-
name: 'disableResize',
|
755
|
-
layout: {
|
756
|
-
positions: {
|
757
|
-
lg: {
|
758
|
-
colSpan: 12,
|
759
|
-
order: 5,
|
760
|
-
},
|
761
|
-
},
|
762
|
-
},
|
763
|
-
},
|
764
|
-
{
|
765
|
-
name: 'disableDrag',
|
766
|
-
layout: {
|
767
|
-
positions: {
|
768
|
-
lg: {
|
769
|
-
colSpan: 12,
|
770
|
-
order: 6,
|
771
|
-
},
|
772
|
-
},
|
773
|
-
},
|
774
|
-
},
|
775
|
-
],
|
776
|
-
},
|
777
|
-
update: {
|
778
|
-
sections: [
|
779
|
-
{
|
780
|
-
id: 'section',
|
781
|
-
},
|
782
|
-
],
|
783
|
-
properties: [
|
784
|
-
{
|
785
|
-
name: 'x',
|
786
|
-
layout: {
|
787
|
-
positions: {
|
788
|
-
lg: {
|
789
|
-
colSpan: 6,
|
790
|
-
order: 1,
|
791
|
-
},
|
792
|
-
},
|
793
|
-
},
|
794
|
-
},
|
795
|
-
{
|
796
|
-
name: 'y',
|
797
|
-
layout: {
|
798
|
-
positions: {
|
799
|
-
lg: {
|
800
|
-
colSpan: 6,
|
801
|
-
order: 2,
|
802
|
-
},
|
803
|
-
},
|
804
|
-
},
|
805
|
-
},
|
806
|
-
{
|
807
|
-
name: 'w',
|
808
|
-
layout: {
|
809
|
-
positions: {
|
810
|
-
lg: {
|
811
|
-
colSpan: 6,
|
812
|
-
order: 3,
|
813
|
-
},
|
814
|
-
},
|
815
|
-
},
|
816
|
-
},
|
817
|
-
{
|
818
|
-
name: 'h',
|
819
|
-
layout: {
|
820
|
-
positions: {
|
821
|
-
lg: {
|
822
|
-
colSpan: 6,
|
823
|
-
order: 4,
|
824
|
-
},
|
825
|
-
},
|
826
|
-
},
|
827
|
-
},
|
828
|
-
{
|
829
|
-
name: 'disableResize',
|
830
|
-
layout: {
|
831
|
-
positions: {
|
832
|
-
lg: {
|
833
|
-
colSpan: 12,
|
834
|
-
order: 5,
|
835
|
-
},
|
836
|
-
},
|
837
|
-
},
|
838
|
-
},
|
839
|
-
{
|
840
|
-
name: 'disableDrag',
|
841
|
-
layout: {
|
842
|
-
positions: {
|
843
|
-
lg: {
|
844
|
-
colSpan: 12,
|
845
|
-
order: 6,
|
846
|
-
},
|
847
|
-
},
|
848
|
-
},
|
849
|
-
},
|
850
|
-
],
|
851
|
-
},
|
852
|
-
single: {
|
853
|
-
title: '{{title}}',
|
854
|
-
sections: [
|
855
|
-
{
|
856
|
-
id: 'section',
|
857
|
-
layout: {
|
858
|
-
positions: {
|
859
|
-
lg: {
|
860
|
-
colSpan: 12,
|
861
|
-
},
|
862
|
-
},
|
863
|
-
},
|
864
|
-
},
|
865
|
-
],
|
866
|
-
properties: [
|
867
|
-
{
|
868
|
-
name: 'x',
|
869
|
-
layout: {
|
870
|
-
positions: {
|
871
|
-
lg: {
|
872
|
-
colSpan: 6,
|
873
|
-
order: 1,
|
874
|
-
},
|
875
|
-
},
|
876
|
-
},
|
877
|
-
},
|
878
|
-
{
|
879
|
-
name: 'y',
|
880
|
-
layout: {
|
881
|
-
positions: {
|
882
|
-
lg: {
|
883
|
-
colSpan: 6,
|
884
|
-
order: 2,
|
885
|
-
},
|
886
|
-
},
|
887
|
-
},
|
888
|
-
},
|
889
|
-
{
|
890
|
-
name: 'w',
|
891
|
-
layout: {
|
892
|
-
positions: {
|
893
|
-
lg: {
|
894
|
-
colSpan: 6,
|
895
|
-
order: 3,
|
896
|
-
},
|
897
|
-
},
|
898
|
-
},
|
899
|
-
},
|
900
|
-
{
|
901
|
-
name: 'h',
|
902
|
-
layout: {
|
903
|
-
positions: {
|
904
|
-
lg: {
|
905
|
-
colSpan: 6,
|
906
|
-
order: 4,
|
907
|
-
},
|
908
|
-
},
|
909
|
-
},
|
910
|
-
},
|
911
|
-
{
|
912
|
-
name: 'disableResize',
|
913
|
-
layout: {
|
914
|
-
positions: {
|
915
|
-
lg: {
|
916
|
-
colSpan: 12,
|
917
|
-
order: 5,
|
918
|
-
},
|
919
|
-
},
|
920
|
-
},
|
921
|
-
},
|
922
|
-
{
|
923
|
-
name: 'disableDrag',
|
924
|
-
layout: {
|
925
|
-
positions: {
|
926
|
-
lg: {
|
927
|
-
colSpan: 12,
|
928
|
-
order: 6,
|
929
|
-
},
|
930
|
-
},
|
931
|
-
},
|
932
|
-
},
|
933
|
-
],
|
934
|
-
actions: [],
|
935
|
-
},
|
936
|
-
list: {
|
937
|
-
actions: [
|
938
|
-
{
|
939
|
-
title: `t("create", { scope: "common" })`,
|
940
|
-
command: 'create-entity',
|
941
|
-
priority: 'primary',
|
942
|
-
type: 'create',
|
943
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
944
|
-
},
|
945
|
-
{
|
946
|
-
title: 't("deleteItems", { scope: "common" })',
|
947
|
-
command: 'delete-entity',
|
948
|
-
priority: 'primary',
|
949
|
-
type: 'delete',
|
950
|
-
scope: AXPEntityCommandScope.Selected,
|
951
|
-
},
|
952
|
-
{
|
953
|
-
title: 't("detail", { scope: "common" })',
|
954
|
-
command: 'open-entity',
|
955
|
-
priority: 'secondary',
|
956
|
-
type: 'view',
|
957
|
-
scope: AXPEntityCommandScope.Individual,
|
958
|
-
},
|
959
|
-
{
|
960
|
-
title: 't("delete", { scope: "common" })',
|
961
|
-
command: 'delete-entity',
|
962
|
-
priority: 'secondary',
|
963
|
-
type: 'delete',
|
964
|
-
scope: AXPEntityCommandScope.Individual,
|
965
|
-
},
|
966
|
-
],
|
967
|
-
views: [
|
968
|
-
createAllQueryView({
|
969
|
-
sorts: [{ name: 'x', dir: 'asc' }],
|
970
|
-
}),
|
971
|
-
],
|
972
|
-
},
|
973
|
-
},
|
974
|
-
},
|
975
|
-
};
|
976
|
-
return entityDef;
|
977
|
-
}
|
978
|
-
|
979
485
|
function routesFactory() {
|
980
486
|
const config = inject(AXP_ENTITY_CONFIG_TOKEN);
|
981
487
|
const routes = [
|
982
488
|
{
|
983
489
|
path: ':app',
|
984
|
-
|
490
|
+
loadComponent: () => {
|
491
|
+
return config.viewers.root();
|
492
|
+
},
|
985
493
|
children: [
|
986
494
|
{
|
987
495
|
path: 'home',
|
988
|
-
loadComponent: () => import('./acorex-modules-common-index-
|
496
|
+
loadComponent: () => import('./acorex-modules-common-index-BAt02rnb.mjs').then((c) => c.AXPDashboardHomeComponent),
|
989
497
|
},
|
990
498
|
],
|
991
499
|
},
|
@@ -996,10 +504,6 @@ class AXMCommonModule {
|
|
996
504
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
997
505
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMCommonModule }); }
|
998
506
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCommonModule, providers: [
|
999
|
-
{
|
1000
|
-
provide: AXMDashboardWidgetDataService,
|
1001
|
-
useClass: AXMDashboardWidgetDataServiceImpl,
|
1002
|
-
},
|
1003
507
|
{
|
1004
508
|
provide: AXP_MENU_PROVIDER,
|
1005
509
|
useClass: AXMMenuProvider,
|
@@ -1043,10 +547,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
1043
547
|
exports: [],
|
1044
548
|
declarations: [],
|
1045
549
|
providers: [
|
1046
|
-
{
|
1047
|
-
provide: AXMDashboardWidgetDataService,
|
1048
|
-
useClass: AXMDashboardWidgetDataServiceImpl,
|
1049
|
-
},
|
1050
550
|
{
|
1051
551
|
provide: AXP_MENU_PROVIDER,
|
1052
552
|
useClass: AXMMenuProvider,
|