@acorex/modules 19.3.0-next.2 → 19.3.0-next.4
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/auth/lib/pages/account/app-chooser/app-chooser-list.component.d.ts +1 -0
- package/auth/lib/pages/account/tenant-chooser/tenant-chooser.component.d.ts +3 -0
- package/common/index.d.ts +2 -1
- package/common/lib/common.module.d.ts +2 -1
- package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +1 -2
- package/common/lib/features/home-dashboard/home-dashboard.module.d.ts +7 -0
- package/common/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +5 -3
- package/common/lib/features/home-dashboard/widgets/dashboard-shortcut/dashboard-shortcut-widget-view.component.d.ts +24 -0
- package/common/lib/features/home-dashboard/widgets/dashboard-shortcut/dashboard-shortcut-widget.config.d.ts +2 -0
- package/common/lib/menu.provider.d.ts +1 -0
- package/common/lib/permission-definition.provider.d.ts +4 -0
- package/common/lib/widgets-names-list.d.ts +39 -0
- package/document-management/index.d.ts +1 -1
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +8 -0
- package/document-management/lib/permission-definition.provider.d.ts +4 -0
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DoIq3IkC.mjs → acorex-modules-auth-acorex-modules-auth-DWcYgyZA.mjs} +26 -25
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DWcYgyZA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-D5z_sxdb.mjs → acorex-modules-auth-app-chooser.component-rr25Ry55.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-D5z_sxdb.mjs.map → acorex-modules-auth-app-chooser.component-rr25Ry55.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-D1lvqgpY.mjs → acorex-modules-auth-login.module-BgTtZuTg.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-D1lvqgpY.mjs.map → acorex-modules-auth-login.module-BgTtZuTg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-D0wN1nJg.mjs → acorex-modules-auth-master.layout-he9vVKsC.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-D0wN1nJg.mjs.map → acorex-modules-auth-master.layout-he9vVKsC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BxgUw_hF.mjs → acorex-modules-auth-password.component-U16w7Rq4.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-BxgUw_hF.mjs.map → acorex-modules-auth-password.component-U16w7Rq4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DwcP8s1c.mjs → acorex-modules-auth-password.component-_ceO6nyb.mjs} +6 -6
- package/fesm2022/{acorex-modules-auth-password.component-DwcP8s1c.mjs.map → acorex-modules-auth-password.component-_ceO6nyb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-BfuRe12M.mjs → acorex-modules-auth-routes-CSGjcpD8.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-BfuRe12M.mjs.map → acorex-modules-auth-routes-CSGjcpD8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-setting.provider-CM-T8nbI.mjs → acorex-modules-auth-settings.provider-CM-T8nbI.mjs} +1 -1
- package/fesm2022/acorex-modules-auth-settings.provider-CM-T8nbI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs → acorex-modules-auth-tenant-chooser.component-B5VHdItj.mjs} +24 -10
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-B5VHdItj.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs → acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs.map → acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BV_amlHF.mjs → acorex-modules-auth-two-factor.module-B9UV3Nxb.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-BV_amlHF.mjs.map → acorex-modules-auth-two-factor.module-B9UV3Nxb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-CjXRKjtX.mjs → acorex-modules-auth-user-sessions.component-Dx0zd4Nj.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-user-sessions.component-CjXRKjtX.mjs.map → acorex-modules-auth-user-sessions.component-Dx0zd4Nj.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs +139 -0
- package/fesm2022/acorex-modules-common-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-index-BhPbl6D7.mjs → acorex-modules-common-index-Dt3vRkkx.mjs} +20 -23
- package/fesm2022/acorex-modules-common-index-Dt3vRkkx.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +174 -36
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-By3KxyQi.mjs → acorex-modules-document-management-acorex-modules-document-management-CdZ56kDQ.mjs} +50 -48
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CdZ56kDQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BY-8zP2Y.mjs → acorex-modules-document-management-create-folder-dialog.component-CetsgMOJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BY-8zP2Y.mjs.map → acorex-modules-document-management-create-folder-dialog.component-CetsgMOJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-T2Wfo1An.mjs → acorex-modules-document-management-details-view.component-CeOqGjR9.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-T2Wfo1An.mjs.map → acorex-modules-document-management-details-view.component-CeOqGjR9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-B9OGXyP2.mjs → acorex-modules-document-management-drive-choose.component-DmKUj3Jr.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-B9OGXyP2.mjs.map → acorex-modules-document-management-drive-choose.component-DmKUj3Jr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CbS823XB.mjs → acorex-modules-document-management-large-icons-view.component-7iqPb1Xn.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CbS823XB.mjs.map → acorex-modules-document-management-large-icons-view.component-7iqPb1Xn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-_u1vSWi5.mjs → acorex-modules-document-management-large-tiles-view.component-C9jalviV.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-_u1vSWi5.mjs.map → acorex-modules-document-management-large-tiles-view.component-C9jalviV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-jXR4GQlh.mjs → acorex-modules-document-management-list-view.component-Bdb0uAm0.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-jXR4GQlh.mjs.map → acorex-modules-document-management-list-view.component-Bdb0uAm0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-Cp_X2KqY.mjs → acorex-modules-document-management-rename-node-dialog.component-Do61g5Sb.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-Cp_X2KqY.mjs.map → acorex-modules-document-management-rename-node-dialog.component-Do61g5Sb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CkoUBGKu.mjs → acorex-modules-document-management-small-icons-view.component-BSPp5gmT.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CkoUBGKu.mjs.map → acorex-modules-document-management-small-icons-view.component-BSPp5gmT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BFyR4x39.mjs → acorex-modules-document-management-small-tiles-view.component-77-_bfSe.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BFyR4x39.mjs.map → acorex-modules-document-management-small-tiles-view.component-77-_bfSe.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-B89YXZyp.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-DO18V9JK.mjs} +20 -39
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-DO18V9JK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-Dijep_aT.mjs → acorex-modules-form-template-management-category.entity-nErIyYxr.mjs} +5 -5
- package/fesm2022/acorex-modules-form-template-management-category.entity-nErIyYxr.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-BrWbwKTK.mjs +50 -0
- package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-BrWbwKTK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-CT_uJT9V.mjs → acorex-modules-form-template-management-settings.provider-CROST06h.mjs} +13 -5
- package/fesm2022/acorex-modules-form-template-management-settings.provider-CROST06h.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-C5gnjRm4.mjs → acorex-modules-form-template-management-template-widget-edit.component-0GHf41xy.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-C5gnjRm4.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-0GHf41xy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-dw1iFvcm.mjs → acorex-modules-form-template-management-template.entity-HSE5R67l.mjs} +9 -9
- package/fesm2022/acorex-modules-form-template-management-template.entity-HSE5R67l.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-oYKbLQpE.mjs → acorex-modules-form-template-management-viewer-popup.component-pi15hXWY.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-oYKbLQpE.mjs.map → acorex-modules-form-template-management-viewer-popup.component-pi15hXWY.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +293 -38
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +22 -21
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs → acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs → acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs → acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs.map → acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-setting.keys-CF6Giykz.mjs → acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs → acorex-modules-organization-management-settings.provider-hlbUXugb.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-settings.provider-hlbUXugb.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +42 -5
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-Ckc1_cpl.mjs → acorex-modules-platform-management-acorex-modules-platform-management-pKyqsPS6.mjs} +62 -6
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-pKyqsPS6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-capture-screen.component-B9hhUIbH.mjs → acorex-modules-platform-management-capture-screen.component-DN1Jnp7_.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-capture-screen.component-B9hhUIbH.mjs.map → acorex-modules-platform-management-capture-screen.component-DN1Jnp7_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-list-version.component-kbqAusu_.mjs → acorex-modules-platform-management-list-version.component-SLcO7Tof.mjs} +4 -4
- package/fesm2022/{acorex-modules-platform-management-list-version.component-kbqAusu_.mjs.map → acorex-modules-platform-management-list-version.component-SLcO7Tof.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-setting.provider-DEzI0jUt.mjs → acorex-modules-platform-management-settings.provider-CsrDpQQi.mjs} +15 -15
- package/fesm2022/acorex-modules-platform-management-settings.provider-CsrDpQQi.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +3 -3
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-text-template-management-setting.provider-fX0dhWUL.mjs → acorex-modules-text-template-management-settings.provider-fX0dhWUL.mjs} +1 -1
- package/fesm2022/acorex-modules-text-template-management-settings.provider-fX0dhWUL.mjs.map +1 -0
- package/fesm2022/acorex-modules-text-template-management.mjs +2 -2
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/form-template-management/lib/permission-definition.provider.d.ts +8 -0
- package/form-template-management/lib/permission.keys.d.ts +19 -0
- package/form-template-management/lib/settings.keys.d.ts +6 -0
- package/log-management/index.d.ts +1 -1
- package/log-management/lib/permission-definition.provider.d.ts +4 -0
- package/log-management/lib/settings.keys.d.ts +16 -0
- package/log-management/lib/settings.provider.d.ts +12 -0
- package/notification-management/index.d.ts +1 -1
- package/organization-management/lib/{setting.keys.d.ts → settings.keys.d.ts} +1 -1
- package/package.json +1 -1
- package/platform-management/lib/features/release-notes/settings.keys.d.ts +3 -0
- package/platform-management/lib/features/release-notes/settings.provider.d.ts +11 -0
- package/common/lib/permission.provider.d.ts +0 -4
- package/document-management/lib/permission.provider.d.ts +0 -4
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DoIq3IkC.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-setting.provider-CM-T8nbI.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-index-BhPbl6D7.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-By3KxyQi.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-B89YXZyp.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-Dijep_aT.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-setting.provider-CT_uJT9V.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-dw1iFvcm.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-setting.keys-CF6Giykz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-Ckc1_cpl.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-setting.provider-DEzI0jUt.mjs.map +0 -1
- package/fesm2022/acorex-modules-text-template-management-setting.provider-fX0dhWUL.mjs.map +0 -1
- package/form-template-management/lib/permission.provider.d.ts +0 -4
- package/log-management/lib/permission.provider.d.ts +0 -4
- package/text-template-management/lib/setting.provider.d.ts +0 -4
- /package/auth/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/common/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/document-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/form-template-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/notification-management/lib/{setting.keys.d.ts → settings.keys.d.ts} +0 -0
- /package/notification-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/organization-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/platform-management/lib/features/common/regional/{setting.keys.d.ts → settings.keys.d.ts} +0 -0
- /package/platform-management/lib/features/common/regional/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
- /package/{log-management/lib/setting.provider.d.ts → text-template-management/lib/settings.provider.d.ts} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AXPSessionService, AXPAuthGuard,
|
1
|
+
import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
2
2
|
import { AXPSearchCommandProvider, createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXPFileStorageService, AXPSettingService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_TASK_BADGE_PROVIDERS } 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';
|
@@ -190,8 +190,8 @@ class AXMMenuProvider {
|
|
190
190
|
}
|
191
191
|
}
|
192
192
|
|
193
|
-
class
|
194
|
-
async
|
193
|
+
class AXMPermissionDefinitionProvider {
|
194
|
+
async define(context) {
|
195
195
|
// context.addPermissions([
|
196
196
|
// {
|
197
197
|
// name: 'view_templates',
|
@@ -223,29 +223,6 @@ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
223
223
|
|
224
224
|
class AXMSettingProvider {
|
225
225
|
async provide(context) {
|
226
|
-
// context
|
227
|
-
// // Add Form Template Group
|
228
|
-
// .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)
|
229
|
-
// // Start Interface Section
|
230
|
-
// .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')
|
231
|
-
// .addSetting({
|
232
|
-
// key: 'history-panel',
|
233
|
-
// title: 'Show History Panel',
|
234
|
-
// scope: 'U',
|
235
|
-
// isInherited: true,
|
236
|
-
// defaultValue: false,
|
237
|
-
// widget: {
|
238
|
-
// type: AXPWidgetsCatalog.toggle,
|
239
|
-
// },
|
240
|
-
// description: 'Enable or disable the history panel for forms.',
|
241
|
-
// validationRules: [
|
242
|
-
// {
|
243
|
-
// rule: 'required',
|
244
|
-
// },
|
245
|
-
// ],
|
246
|
-
// })
|
247
|
-
// .endSection()
|
248
|
-
// .endGroup();
|
249
226
|
}
|
250
227
|
}
|
251
228
|
|
@@ -3207,7 +3184,7 @@ class AXMDocumentManagerService {
|
|
3207
3184
|
}
|
3208
3185
|
}
|
3209
3186
|
async showFolderEditDialog(node) {
|
3210
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
3187
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-CetsgMOJ.mjs'))
|
3211
3188
|
.AXMCreateFolderDialog;
|
3212
3189
|
const popup = await this.popupService.open(comp, {
|
3213
3190
|
title: 't("actions.update-folder")',
|
@@ -3355,7 +3332,7 @@ class AXMDocumentManagerService {
|
|
3355
3332
|
}
|
3356
3333
|
}
|
3357
3334
|
async showCreateFolderDialog(parentId) {
|
3358
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
3335
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-CetsgMOJ.mjs'))
|
3359
3336
|
.AXMCreateFolderDialog;
|
3360
3337
|
const popup = await this.popupService.open(comp, {
|
3361
3338
|
title: 't("actions.create-folder")',
|
@@ -3366,7 +3343,7 @@ class AXMDocumentManagerService {
|
|
3366
3343
|
return popup.data?.folder;
|
3367
3344
|
}
|
3368
3345
|
async moveTo(options) {
|
3369
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
3346
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-DmKUj3Jr.mjs')).AXMDocumentDriveChooseComponent;
|
3370
3347
|
//
|
3371
3348
|
const popup = await this.popupService.open(comp, {
|
3372
3349
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
@@ -3397,7 +3374,7 @@ class AXMDocumentManagerService {
|
|
3397
3374
|
}
|
3398
3375
|
}
|
3399
3376
|
async copyTo(options) {
|
3400
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
3377
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-DmKUj3Jr.mjs')).AXMDocumentDriveChooseComponent;
|
3401
3378
|
//
|
3402
3379
|
const popup = await this.popupService.open(comp, {
|
3403
3380
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
@@ -3490,7 +3467,7 @@ class AXMDocumentManagerService {
|
|
3490
3467
|
const file = await this.documentService.getOne(node.id);
|
3491
3468
|
}
|
3492
3469
|
async showRenamePopup(node) {
|
3493
|
-
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-
|
3470
|
+
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-Do61g5Sb.mjs'))
|
3494
3471
|
.AXMRenameNodeDialog;
|
3495
3472
|
const popup = await this.popupService.open(comp, {
|
3496
3473
|
title: 't("actions.rename")',
|
@@ -3538,7 +3515,7 @@ class AXMDocumentManagerService {
|
|
3538
3515
|
return [...(await this.getAllFolders()), ...(await this.getAllFiles())];
|
3539
3516
|
}
|
3540
3517
|
async showChooseFileDialog(scope) {
|
3541
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
3518
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-DmKUj3Jr.mjs')).AXMDocumentDriveChooseComponent;
|
3542
3519
|
const result = await this.popupService.open(comp, {
|
3543
3520
|
title: `t("actions.choose-from-drive" , scope: {"${RootConfig.config.i18n}"})`,
|
3544
3521
|
data: {
|
@@ -4248,12 +4225,12 @@ class AXMDocumentExplorerComponent {
|
|
4248
4225
|
this.showContextMenu = input(true);
|
4249
4226
|
this.view = signal(null);
|
4250
4227
|
this.viewMap = {
|
4251
|
-
list: async () => (await import('./acorex-modules-document-management-list-view.component-
|
4252
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
4253
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
4254
|
-
details: async () => (await import('./acorex-modules-document-management-details-view.component-
|
4255
|
-
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-
|
4256
|
-
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-
|
4228
|
+
list: async () => (await import('./acorex-modules-document-management-list-view.component-Bdb0uAm0.mjs')).AXMDocumentExplorerListViewComponent,
|
4229
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-77-_bfSe.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
4230
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-C9jalviV.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
4231
|
+
details: async () => (await import('./acorex-modules-document-management-details-view.component-CeOqGjR9.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
4232
|
+
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-7iqPb1Xn.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
4233
|
+
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-BSPp5gmT.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
4257
4234
|
};
|
4258
4235
|
this.#effect = effect(() => {
|
4259
4236
|
if (this.vm.loadingFolderId() == null) {
|
@@ -5051,9 +5028,6 @@ class AXMDocumentDriveComponent extends AXPBasePageComponent {
|
|
5051
5028
|
}
|
5052
5029
|
async getPageBreadcrumbs() {
|
5053
5030
|
return [
|
5054
|
-
{
|
5055
|
-
title: await this.translateService.translateAsync('entity.home'),
|
5056
|
-
},
|
5057
5031
|
{
|
5058
5032
|
title: await this.translateService.translateAsync(`scope.${resolvePlatformScopeName(this.vm.scope())}.title`, { scope: this.rootConfig.config.i18n }),
|
5059
5033
|
},
|
@@ -5154,6 +5128,7 @@ class AXMDocumentAttachmentWidgetEditComponent extends AXPValueWidgetComponent {
|
|
5154
5128
|
this.driveService = inject(AXMDocumentManagerService);
|
5155
5129
|
this.documentExplorer = viewChild(AXMDocumentExplorerComponent);
|
5156
5130
|
this.scopes = AXPPlatformScope;
|
5131
|
+
this.actions = computed(() => this.options()['actions'] ?? []);
|
5157
5132
|
this.multiple = computed(() => this.options()['multiple']);
|
5158
5133
|
this.entity = computed(() => this.options()['entity']);
|
5159
5134
|
this.entityRecordId = computed(() => this.options()['record']);
|
@@ -5277,8 +5252,35 @@ class AXMDocumentAttachmentWidgetEditComponent extends AXPValueWidgetComponent {
|
|
5277
5252
|
//this.setValue([files[files.length - 1]]);
|
5278
5253
|
}
|
5279
5254
|
}
|
5255
|
+
async handleActionCallback(action) {
|
5256
|
+
try {
|
5257
|
+
const result = await action.callback();
|
5258
|
+
if (result) {
|
5259
|
+
const allFiles = this.vm.files();
|
5260
|
+
const f = await this.fileStorageService.save({
|
5261
|
+
file: result,
|
5262
|
+
category: '',
|
5263
|
+
refId: this.entityRecordId(),
|
5264
|
+
refType: this.entity(),
|
5265
|
+
});
|
5266
|
+
allFiles.push({
|
5267
|
+
id: f.fileId,
|
5268
|
+
fileId: f.fileId,
|
5269
|
+
// name: `test.${f.mimeType.split('/')[1]}`,
|
5270
|
+
name: result.name,
|
5271
|
+
size: f.size,
|
5272
|
+
parentId: 'virtual',
|
5273
|
+
type: 'file',
|
5274
|
+
storageType: 'virtual',
|
5275
|
+
});
|
5276
|
+
}
|
5277
|
+
}
|
5278
|
+
catch (error) {
|
5279
|
+
console.error('Error in action callback:', error);
|
5280
|
+
}
|
5281
|
+
}
|
5280
5282
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentAttachmentWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
5281
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
5283
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMDocumentAttachmentWidgetEditComponent, isStandalone: true, selector: "axm-document-attachment-edit-widget", providers: [AXPDocumentExplorerViewModel], viewQueries: [{ propertyName: "documentExplorer", first: true, predicate: AXMDocumentExplorerComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-flex-col ax-gap-3\" *translate=\"let t\">\n <!-- Header Section -->\n <div class=\"ax-flex ax-flex-row ax-justify-end\">\n <!-- Primary Actions -->\n <ax-button [text]=\"t('actions.add-item', { scope: rootConfig.config.i18n }) | async\" [color]=\"'primary'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-plus\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel>\n <!-- Upload Dropdown -->\n <ax-button-item-list>\n <ax-button-item\n (onClick)=\"uploadFromComputer()\"\n [text]=\"(t('actions.upload-from-device', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n\n <ax-divider></ax-divider>\n\n <ax-button-item\n (onClick)=\"chooseFromDrive(scopes.User)\"\n [text]=\"(t('actions.choose-from-drive', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-button-item\n (onClick)=\"chooseFromDrive(scopes.Tenant)\"\n [text]=\"(t('actions.choose-from-organization', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n\n @for (action of actions(); track action.name) {\n <ax-button-item\n (onClick)=\"handleActionCallback(action)\"\n [text]=\"action.title\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"action.icon\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n <axm-document-explorer></axm-document-explorer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "component", type: AXMDocumentExplorerComponent, selector: "axm-document-explorer", inputs: ["browseMode", "viewMode", "selectionMode", "showContextMenu"] }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i3$3.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i4$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i2$3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXButtonGroupModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
5282
5284
|
}
|
5283
5285
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentAttachmentWidgetEditComponent, decorators: [{
|
5284
5286
|
type: Component,
|
@@ -5292,7 +5294,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
5292
5294
|
AXTranslationModule,
|
5293
5295
|
AXButtonModule,
|
5294
5296
|
AXButtonGroupModule,
|
5295
|
-
], providers: [AXPDocumentExplorerViewModel], template: "<div class=\"ax-flex ax-flex-col ax-gap-3\" *translate=\"let t\">\n <!-- Header Section -->\n <div class=\"ax-flex ax-flex-row ax-justify-end\">\n <!-- Primary Actions -->\n <ax-button [text]=\"t('actions.add-item', { scope: rootConfig.config.i18n }) | async\" [color]=\"'primary'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-plus\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel>\n <!-- Upload Dropdown -->\n <ax-button-item-list>\n <ax-button-item\n (onClick)=\"uploadFromComputer()\"\n [text]=\"(t('actions.upload-from-device', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n\n <ax-divider></ax-divider>\n\n <ax-button-item\n (onClick)=\"chooseFromDrive(scopes.User)\"\n [text]=\"(t('actions.choose-from-drive', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-button-item\n (onClick)=\"chooseFromDrive(scopes.Tenant)\"\n [text]=\"(t('actions.choose-from-organization', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n <axm-document-explorer></axm-document-explorer>\n</div>\n" }]
|
5297
|
+
], providers: [AXPDocumentExplorerViewModel], template: "<div class=\"ax-flex ax-flex-col ax-gap-3\" *translate=\"let t\">\n <!-- Header Section -->\n <div class=\"ax-flex ax-flex-row ax-justify-end\">\n <!-- Primary Actions -->\n <ax-button [text]=\"t('actions.add-item', { scope: rootConfig.config.i18n }) | async\" [color]=\"'primary'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-plus\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel>\n <!-- Upload Dropdown -->\n <ax-button-item-list>\n <ax-button-item\n (onClick)=\"uploadFromComputer()\"\n [text]=\"(t('actions.upload-from-device', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n\n <ax-divider></ax-divider>\n\n <ax-button-item\n (onClick)=\"chooseFromDrive(scopes.User)\"\n [text]=\"(t('actions.choose-from-drive', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-button-item\n (onClick)=\"chooseFromDrive(scopes.Tenant)\"\n [text]=\"(t('actions.choose-from-organization', { scope: rootConfig.config.i18n }) | async)!\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-file-arrow-up\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n\n @for (action of actions(); track action.name) {\n <ax-button-item\n (onClick)=\"handleActionCallback(action)\"\n [text]=\"action.title\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"action.icon\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n <axm-document-explorer></axm-document-explorer>\n</div>\n" }]
|
5296
5298
|
}] });
|
5297
5299
|
|
5298
5300
|
var documentAttachmentWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
@@ -5515,8 +5517,8 @@ class AXMDocumentManagementModule {
|
|
5515
5517
|
multi: true,
|
5516
5518
|
},
|
5517
5519
|
{
|
5518
|
-
provide:
|
5519
|
-
useClass:
|
5520
|
+
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
5521
|
+
useClass: AXMPermissionDefinitionProvider,
|
5520
5522
|
multi: true,
|
5521
5523
|
},
|
5522
5524
|
{
|
@@ -5607,8 +5609,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
5607
5609
|
multi: true,
|
5608
5610
|
},
|
5609
5611
|
{
|
5610
|
-
provide:
|
5611
|
-
useClass:
|
5612
|
+
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
5613
|
+
useClass: AXMPermissionDefinitionProvider,
|
5612
5614
|
multi: true,
|
5613
5615
|
},
|
5614
5616
|
{
|
@@ -5635,4 +5637,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
5635
5637
|
*/
|
5636
5638
|
|
5637
5639
|
export { AXMDocumentManagerService as A, AXMFolderServiceImpl as B, AXMEntityProvider as C, AXMMenuProvider as D, AXMSearchCommandProvider as E, AXMSettingProvider as F, RootConfig as R, AXMDocumentTypeService as a, AXPDocumentExplorerViewModel as b, AXMDocumentExplorerComponent as c, AXMFolderPathBreadcrumbsComponent as d, AXMDocumentManagementModule as e, documentFactory as f, AXMDocumentManagementDocumentEntityModule as g, AXMDocumentService as h, AXMDocumentServiceImpl as i, documentTypeFactory as j, AXMDocumentManagementDocumentTypeEntityModule as k, AXMDocumentTypeServiceImpl as l, documentTypeMetaDefinitionfactory as m, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule as n, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService as o, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl as p, documentTypeMetaValueFactory as q, AXMDocumentManagementDocumentTypeMetaValueEntityModule as r, AXMDocumentManagementDocumentTypeMetaValueEntityService as s, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl as t, documentTypeStatusDefinitionFactory as u, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule as v, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService as w, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl as x, folderFactory as y, AXMFolderService as z };
|
5638
|
-
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-
|
5640
|
+
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-CdZ56kDQ.mjs.map
|