@acorex/modules 21.0.0-beta.6 → 21.0.0-beta.8
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/fesm2022/acorex-modules-ai-management.mjs +31 -225
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs → acorex-modules-asset-management-acorex-modules-asset-management-BQcQ6ZR-.mjs} +718 -90
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BQcQ6ZR-.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs +118 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-CtCyaI46.mjs → acorex-modules-asset-management-asset-system-assignment.entity-BGdQY4Fh.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-CtCyaI46.mjs.map → acorex-modules-asset-management-asset-system-assignment.entity-BGdQY4Fh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-CfoB6Faf.mjs → acorex-modules-asset-management-asset-system-type.entity-VxShztML.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-CfoB6Faf.mjs.map → acorex-modules-asset-management-asset-system-type.entity-VxShztML.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-CvKC7MKH.mjs → acorex-modules-asset-management-asset-system.entity-BdyFBhzS.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-CvKC7MKH.mjs.map → acorex-modules-asset-management-asset-system.entity-BdyFBhzS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-xfRZM5vK.mjs → acorex-modules-asset-management-asset-type-section-component.entity-unp7Q8MH.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-xfRZM5vK.mjs.map → acorex-modules-asset-management-asset-type-section-component.entity-unp7Q8MH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-DdEcyihk.mjs → acorex-modules-asset-management-asset-type-section.entity-bJKJdrpm.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-DdEcyihk.mjs.map → acorex-modules-asset-management-asset-type-section.entity-bJKJdrpm.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs → acorex-modules-asset-management-asset-type.entity-B2eXZqQG.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs.map → acorex-modules-asset-management-asset-type.entity-B2eXZqQG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset.entity-3dFsNRkr.mjs → acorex-modules-asset-management-asset.entity-Bk_NIpzQ.mjs} +21 -27
- package/fesm2022/acorex-modules-asset-management-asset.entity-Bk_NIpzQ.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/{acorex-modules-common-search-popup.component-Bh3otWbL.mjs → acorex-modules-common-search-popup.component-ChaAcWfD.mjs} +3 -3
- package/fesm2022/{acorex-modules-common-search-popup.component-Bh3otWbL.mjs.map → acorex-modules-common-search-popup.component-ChaAcWfD.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +2 -2
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DgEFx2Ae.mjs +6157 -0
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DgEFx2Ae.mjs.map +1 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cvd2BFaC.mjs +324 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cvd2BFaC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-comments-page.component-C8HWwI_w.mjs → acorex-modules-conversation-comments-page.component-B5y5qeV6.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-C8HWwI_w.mjs.map → acorex-modules-conversation-comments-page.component-B5y5qeV6.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -6190
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +67 -29
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bwk3-2wy.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-hImDhzkB.mjs} +16 -19
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-hImDhzkB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-B5aSubCY.mjs → acorex-modules-human-capital-management-approve-leave-request.command-DujyJOvo.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-B5aSubCY.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-DujyJOvo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-l8dGe3kg.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-BPB9vaCn.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-l8dGe3kg.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-BPB9vaCn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-CeV-5Y5n.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-BdPUdhbU.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-CeV-5Y5n.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-BdPUdhbU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-DNgt9yQm.mjs → acorex-modules-human-capital-management-employee.entity-CgmF-WPf.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-DNgt9yQm.mjs.map → acorex-modules-human-capital-management-employee.entity-CgmF-WPf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-rq8-Bauc.mjs → acorex-modules-human-capital-management-employment-type.entity-Chio_E9S.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-rq8-Bauc.mjs.map → acorex-modules-human-capital-management-employment-type.entity-Chio_E9S.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-DlQJw4F6.mjs → acorex-modules-human-capital-management-leave-request.entity--9iGu0H7.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-DlQJw4F6.mjs.map → acorex-modules-human-capital-management-leave-request.entity--9iGu0H7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-D5J2oOuY.mjs → acorex-modules-human-capital-management-leave-type.entity-O0j4P2oU.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-D5J2oOuY.mjs.map → acorex-modules-human-capital-management-leave-type.entity-O0j4P2oU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-D7mKhxYp.mjs → acorex-modules-human-capital-management-position-assignment.entity-Bg6omEy_.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-D7mKhxYp.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-Bg6omEy_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-C4AWFOmG.mjs → acorex-modules-human-capital-management-reject-leave-request.command-ZNGufyB1.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-C4AWFOmG.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-ZNGufyB1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BSJhBW3p.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-C8pwJExa.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BSJhBW3p.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-C8pwJExa.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-BDnIsf2j.mjs → acorex-modules-organization-management-acorex-modules-organization-management-aord1Uv0.mjs} +169 -606
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-aord1Uv0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BB8-LTp8.mjs → acorex-modules-organization-management-add-business-unit-to-business-unit.command-AfY76V1Q.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BB8-LTp8.mjs.map → acorex-modules-organization-management-add-business-unit-to-business-unit.command-AfY76V1Q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-BaEW7Jx8.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-DT9WSyiI.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-BaEW7Jx8.mjs.map → acorex-modules-organization-management-add-position-to-business-unit.command-DT9WSyiI.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-Cm7ze35c.mjs +130 -0
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-Cm7ze35c.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-CuFBCQ7T.mjs → acorex-modules-organization-management-business-unit.entity-BgxuZhyH.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-CuFBCQ7T.mjs.map → acorex-modules-organization-management-business-unit.entity-BgxuZhyH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-chart.entity-B7oSgI4o.mjs → acorex-modules-organization-management-chart.entity-DSvAq3s6.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-chart.entity-B7oSgI4o.mjs.map → acorex-modules-organization-management-chart.entity-DSvAq3s6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-company.entity-BSDic10Z.mjs → acorex-modules-organization-management-company.entity-BU1_8FIf.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-BSDic10Z.mjs.map → acorex-modules-organization-management-company.entity-BU1_8FIf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-entity.provider-BkWwyLUZ.mjs → acorex-modules-organization-management-entity.provider-i18ksNjv.mjs} +15 -15
- package/fesm2022/{acorex-modules-organization-management-entity.provider-BkWwyLUZ.mjs.map → acorex-modules-organization-management-entity.provider-i18ksNjv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-D8Tsj3hk.mjs → acorex-modules-organization-management-feature-definition.provider-CDPVhpcX.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-D8Tsj3hk.mjs.map → acorex-modules-organization-management-feature-definition.provider-CDPVhpcX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-cHJU9tB2.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-BlOJIHXX.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-cHJU9tB2.mjs.map → acorex-modules-organization-management-job-definition-pages-component.provider-BlOJIHXX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Yu4gOQ6K.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-BtotMHNw.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Yu4gOQ6K.mjs.map → acorex-modules-organization-management-job-definition-responsibilities-page.component-BtotMHNw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-DV8x-8VB.mjs → acorex-modules-organization-management-job-definition-skills-page.component-Cr8vI2T9.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-DV8x-8VB.mjs.map → acorex-modules-organization-management-job-definition-skills-page.component-Cr8vI2T9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-DAo8xR1H.mjs → acorex-modules-organization-management-job-definition.entity-aL7vWbHE.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-DAo8xR1H.mjs.map → acorex-modules-organization-management-job-definition.entity-aL7vWbHE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-C7ElEuZx.mjs → acorex-modules-organization-management-job-level.datasource-Ds3ZDmRO.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-C7ElEuZx.mjs.map → acorex-modules-organization-management-job-level.datasource-Ds3ZDmRO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-Dw3YK9-O.mjs → acorex-modules-organization-management-job-level.entity-BzWMFrZX.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-Dw3YK9-O.mjs.map → acorex-modules-organization-management-job-level.entity-BzWMFrZX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-menu.provider-DWt62uxv.mjs → acorex-modules-organization-management-menu.provider-CICmpvEv.mjs} +3 -2
- package/fesm2022/{acorex-modules-organization-management-menu.provider-DWt62uxv.mjs.map → acorex-modules-organization-management-menu.provider-CICmpvEv.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-9s5ZUus4.mjs +228 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-9s5ZUus4.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CepGeA3_.mjs +182 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CepGeA3_.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Bi2pMYPe.mjs +170 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Bi2pMYPe.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-BgopvirR.mjs +334 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-BgopvirR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-Rh8xmXaj.mjs → acorex-modules-organization-management-org-chart.page-Cs-wTPS-.mjs} +116 -38
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Cs-wTPS-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-3TD89ErD.mjs → acorex-modules-organization-management-permission-definition.provider-DEc2_pkz.mjs} +3 -2
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-3TD89ErD.mjs.map → acorex-modules-organization-management-permission-definition.provider-DEc2_pkz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-permission.keys-DwZNBc12.mjs +56 -0
- package/fesm2022/acorex-modules-organization-management-permission.keys-DwZNBc12.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-Cysj_53n.mjs → acorex-modules-organization-management-position.entity-C7u3c4LB.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-position.entity-Cysj_53n.mjs.map → acorex-modules-organization-management-position.entity-C7u3c4LB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-BkQyq1ho.mjs → acorex-modules-organization-management-remove-position-from-business-unit.command-B7D1vMcs.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-BkQyq1ho.mjs.map → acorex-modules-organization-management-remove-position-from-business-unit.command-B7D1vMcs.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-Cf8VR0tX.mjs → acorex-modules-organization-management-replace-position-assignee.command-xodO4wdB.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-Cf8VR0tX.mjs.map → acorex-modules-organization-management-replace-position-assignee.command-xodO4wdB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeQ-nXpS.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeAm1FY0.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeQ-nXpS.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeAm1FY0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Ie_39X99.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-cdReuV2q.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Ie_39X99.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-cdReuV2q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-58s3Qfyg.mjs → acorex-modules-organization-management-responsibilities-matrix.component-bFxHz2vq.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-58s3Qfyg.mjs.map → acorex-modules-organization-management-responsibilities-matrix.component-bFxHz2vq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-DWWQB7ke.mjs → acorex-modules-organization-management-responsibility-level.entity-BDOhL12B.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-DWWQB7ke.mjs.map → acorex-modules-organization-management-responsibility-level.entity-BDOhL12B.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-C4V55fKt.mjs → acorex-modules-organization-management-responsibility.entity-DQK2qB5N.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-C4V55fKt.mjs.map → acorex-modules-organization-management-responsibility.entity-DQK2qB5N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-settings.provider-BD70P1XV.mjs → acorex-modules-organization-management-settings.provider-Di4FtA78.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-settings.provider-BD70P1XV.mjs.map → acorex-modules-organization-management-settings.provider-Di4FtA78.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-B5T1fYAF.mjs → acorex-modules-organization-management-team-business-unit.entity-DTWxuUQV.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-B5T1fYAF.mjs.map → acorex-modules-organization-management-team-business-unit.entity-DTWxuUQV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-dPp_dK-g.mjs → acorex-modules-organization-management-team-member-role.entity-D9SlbSQ4.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-dPp_dK-g.mjs.map → acorex-modules-organization-management-team-member-role.entity-D9SlbSQ4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-CZPmF9f6.mjs → acorex-modules-organization-management-team-member.entity-D5NapdKq.mjs} +14 -2
- package/fesm2022/acorex-modules-organization-management-team-member.entity-D5NapdKq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-CCfWLgDx.mjs → acorex-modules-organization-management-team.entity-CNg4ffZv.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team.entity-CCfWLgDx.mjs.map → acorex-modules-organization-management-team.entity-CNg4ffZv.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-ZcP94xuL.mjs → acorex-modules-task-management-acorex-modules-task-management-_6DcZE_U.mjs} +178 -14
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-_6DcZE_U.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-CEW3SrBz.mjs → acorex-modules-task-management-task-board.page-jMOsL_QA.mjs} +106 -68
- package/fesm2022/acorex-modules-task-management-task-board.page-jMOsL_QA.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/organization-management/README.md +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +25 -67
- package/types/acorex-modules-asset-management.d.ts +12 -8
- package/types/acorex-modules-document-management.d.ts +15 -7
- package/types/acorex-modules-organization-management.d.ts +135 -76
- package/types/acorex-modules-task-management.d.ts +12 -1
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-C6V8Nuvb.mjs +0 -302
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-C6V8Nuvb.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-3dFsNRkr.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-D5X1pcSP.mjs +0 -24
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-D5X1pcSP.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-a7wOH_7D.mjs +0 -24
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-a7wOH_7D.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bwk3-2wy.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BDnIsf2j.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Rh8xmXaj.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-member.entity-CZPmF9f6.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-ZcP94xuL.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-CEW3SrBz.mjs.map +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';
|
|
6
|
+
import { AXPDocumentExplorerViewModel } from './acorex-modules-document-management.mjs';
|
|
7
|
+
import * as i2 from '@acorex/core/format';
|
|
8
|
+
import { AXFormatModule } from '@acorex/core/format';
|
|
9
|
+
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
10
|
+
|
|
11
|
+
class AXMDocumentExplorerLargeTilesViewComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.vm = inject(AXPDocumentExplorerViewModel);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentExplorerLargeTilesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMDocumentExplorerLargeTilesViewComponent, isStandalone: true, selector: "axm-document-explorer-large-tiles-view", ngImport: i0, template: "<!-- Folders Section -->\n@if (vm.filteredFolders().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Folders</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon text-yellow-400\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <span>{{ folder.children?.length ?? 0 }} items</span>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.filteredFiles().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Files</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) { @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }} fa-solid\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ file.name }}</span>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n", styles: ["@layer properties;:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8)}:host .__section:last-child{margin-bottom:calc(var(--spacing, .25rem) * 0)}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;flex-direction:column;gap:calc(var(--spacing, .25rem) * 1);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);padding:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__section .__content .__explorer-item .__icon{position:relative;margin-bottom:calc(var(--spacing, .25rem) * 2);display:inline-flex}:host .__section .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__section .__content .__explorer-item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}:host .__section .__content .__explorer-item .__info{display:flex;width:100%;justify-content:space-between;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);opacity:65%}:host .__section .__content .__explorer-item .__info span{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}:host .__section .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial;--tw-border-style: solid}}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: AXPElementDataDirective, selector: "[axp-data]", inputs: ["axp-data", "axp-data-path"] }, { kind: "directive", type: AXPDblClickDirective, selector: "[onDblClick]", outputs: ["onDblClick"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }] }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentExplorerLargeTilesViewComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'axm-document-explorer-large-tiles-view', standalone: true, imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule], template: "<!-- Folders Section -->\n@if (vm.filteredFolders().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Folders</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon text-yellow-400\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <span>{{ folder.children?.length ?? 0 }} items</span>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.filteredFiles().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Files</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) { @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }} fa-solid\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ file.name }}</span>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n", styles: ["@layer properties;:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8)}:host .__section:last-child{margin-bottom:calc(var(--spacing, .25rem) * 0)}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;flex-direction:column;gap:calc(var(--spacing, .25rem) * 1);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);padding:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__section .__content .__explorer-item .__icon{position:relative;margin-bottom:calc(var(--spacing, .25rem) * 2);display:inline-flex}:host .__section .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__section .__content .__explorer-item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}:host .__section .__content .__explorer-item .__info{display:flex;width:100%;justify-content:space-between;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);opacity:65%}:host .__section .__content .__explorer-item .__info span{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}:host .__section .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial;--tw-border-style: solid}}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
|
|
21
|
+
}] });
|
|
22
|
+
|
|
23
|
+
export { AXMDocumentExplorerLargeTilesViewComponent };
|
|
24
|
+
//# sourceMappingURL=acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs.map
|
package/fesm2022/acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.html"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPDblClickDirective, AXPElementDataDirective } from '@acorex/platform/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\n\n@Component({\n selector: 'axm-document-explorer-large-tiles-view',\n templateUrl: './large-tiles-view.component.html',\n styleUrls: ['./large-tiles-view.component.css'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule],\n})\nexport class AXMDocumentExplorerLargeTilesViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- Folders Section -->\n@if (vm.filteredFolders().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Folders</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon text-yellow-400\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <span>{{ folder.children?.length ?? 0 }} items</span>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.filteredFiles().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Files</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) { @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }} fa-solid\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ file.name }}</span>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n"],"names":[],"mappings":";;;;;;;;;;MAca,0CAA0C,CAAA;AAPvD,IAAA,WAAA,GAAA;AAQc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD,IAAA;8GAFY,0CAA0C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1C,0CAA0C,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECdvD,o4EAoEA,EAAA,MAAA,EAAA,CAAA,wpFAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDxDc,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,uBAAuB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,oBAAoB,EAAA,QAAA,EAAA,cAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAE9F,0CAA0C,EAAA,UAAA,EAAA,CAAA;kBAPtD,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wCAAwC,EAAA,UAAA,EAGtC,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,o4EAAA,EAAA,MAAA,EAAA,CAAA,wpFAAA,CAAA,EAAA;;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';
|
|
6
|
+
import { AXPDocumentExplorerViewModel } from './acorex-modules-document-management.mjs';
|
|
7
|
+
import * as i2 from '@acorex/core/format';
|
|
8
|
+
import { AXFormatModule } from '@acorex/core/format';
|
|
9
|
+
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
10
|
+
|
|
11
|
+
class AXMDocumentExplorerSmallTilesViewComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.vm = inject(AXPDocumentExplorerViewModel);
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMDocumentExplorerSmallTilesViewComponent, isStandalone: true, selector: "axm-document-explorer-small-tiles-view", ngImport: i0, template: "<!-- Folders Section -->\n@if (vm.filteredFolders().length > 0) {\n<div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">Folders</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon text-yellow-400 fa-2x\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"__details\">\n <div class=\"__name\">{{ folder.name }}</div>\n <div class=\"__info\">\n <span>{{ folder.children?.length ?? 0 }} items</span>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.filteredFiles().length > 0) {\n<div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">Files</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) { @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon fa-2x\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }} fa-solid\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"__details\">\n <div class=\"__name\">{{ file.name }}</div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n}\n", styles: ["@layer properties;:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8)}:host .__section:last-child{margin-bottom:calc(var(--spacing, .25rem) * 0)}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:calc(var(--spacing, .25rem) * 2)}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing, .25rem) * 3);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);padding:calc(var(--spacing, .25rem) * 2)}:host .__section .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__section .__content .__explorer-item .__icon{position:relative;display:inline-flex;flex-shrink:0}:host .__section .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__section .__content .__explorer-item .__details{min-width:calc(var(--spacing, .25rem) * 0);flex:1}:host .__section .__content .__explorer-item .__details .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}:host .__section .__content .__explorer-item .__details .__info{display:flex;width:100%;justify-content:space-between;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);opacity:65%}:host .__section .__content .__explorer-item .__details .__info span{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}:host .__section .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial;--tw-border-style: solid}}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: AXPElementDataDirective, selector: "[axp-data]", inputs: ["axp-data", "axp-data-path"] }, { kind: "directive", type: AXPDblClickDirective, selector: "[onDblClick]", outputs: ["onDblClick"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }] }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'axm-document-explorer-small-tiles-view', standalone: true, imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule], template: "<!-- Folders Section -->\n@if (vm.filteredFolders().length > 0) {\n<div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">Folders</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon text-yellow-400 fa-2x\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"__details\">\n <div class=\"__name\">{{ folder.name }}</div>\n <div class=\"__info\">\n <span>{{ folder.children?.length ?? 0 }} items</span>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.filteredFiles().length > 0) {\n<div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">Files</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) { @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon fa-2x\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }} fa-solid\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"__details\">\n <div class=\"__name\">{{ file.name }}</div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n}\n", styles: ["@layer properties;:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8)}:host .__section:last-child{margin-bottom:calc(var(--spacing, .25rem) * 0)}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:calc(var(--spacing, .25rem) * 2)}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing, .25rem) * 3);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);padding:calc(var(--spacing, .25rem) * 2)}:host .__section .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__section .__content .__explorer-item .__icon{position:relative;display:inline-flex;flex-shrink:0}:host .__section .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__section .__content .__explorer-item .__details{min-width:calc(var(--spacing, .25rem) * 0);flex:1}:host .__section .__content .__explorer-item .__details .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}:host .__section .__content .__explorer-item .__details .__info{display:flex;width:100%;justify-content:space-between;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);opacity:65%}:host .__section .__content .__explorer-item .__details .__info span{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}:host .__section .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial;--tw-border-style: solid}}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
|
|
21
|
+
}] });
|
|
22
|
+
|
|
23
|
+
export { AXMDocumentExplorerSmallTilesViewComponent };
|
|
24
|
+
//# sourceMappingURL=acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs.map
|
package/fesm2022/acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.html"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\n\n@Component({\n selector: 'axm-document-explorer-small-tiles-view',\n templateUrl: './small-tiles-view.component.html',\n styleUrls: ['./small-tiles-view.component.css'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule],\n})\nexport class AXMDocumentExplorerSmallTilesViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- Folders Section -->\n@if (vm.filteredFolders().length > 0) {\n<div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">Folders</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon text-yellow-400 fa-2x\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"__details\">\n <div class=\"__name\">{{ folder.name }}</div>\n <div class=\"__info\">\n <span>{{ folder.children?.length ?? 0 }} items</span>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.filteredFiles().length > 0) {\n<div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">Files</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) { @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon fa-2x\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }} fa-solid\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"__details\">\n <div class=\"__name\">{{ file.name }}</div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n}\n"],"names":[],"mappings":";;;;;;;;;;MAca,0CAA0C,CAAA;AAPvD,IAAA,WAAA,GAAA;AAQc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD,IAAA;8GAFY,0CAA0C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1C,0CAA0C,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECdvD,o/EAwEA,EAAA,MAAA,EAAA,CAAA,+vFAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,ED5Dc,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,uBAAuB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,oBAAoB,EAAA,QAAA,EAAA,cAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAE9F,0CAA0C,EAAA,UAAA,EAAA,CAAA;kBAPtD,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wCAAwC,EAAA,UAAA,EAGtC,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,o/EAAA,EAAA,MAAA,EAAA,CAAA,+vFAAA,CAAA,EAAA;;;;;"}
|
|
@@ -2051,11 +2051,10 @@ class AXMDocumentDialogService {
|
|
|
2051
2051
|
const item = fileList[index];
|
|
2052
2052
|
if (showMeta) {
|
|
2053
2053
|
if (hasMetaFields) {
|
|
2054
|
-
// Bind meta-data-form-editor to file-${index}.metaDataForm
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
field.customWidget('meta-data-form-editor', editableMetaDataList);
|
|
2054
|
+
// Bind meta-data-form-editor to file-${index}.metaDataForm (no form-field wrapper).
|
|
2055
|
+
flex.customWidget('meta-data-form-editor', (widget) => {
|
|
2056
|
+
widget.path(`file-${index}.metaDataForm`);
|
|
2057
|
+
widget.options(editableMetaDataList);
|
|
2059
2058
|
});
|
|
2060
2059
|
}
|
|
2061
2060
|
if (enableExpiration) {
|
|
@@ -2200,9 +2199,10 @@ class AXMDocumentDialogService {
|
|
|
2200
2199
|
const item = fileList[index];
|
|
2201
2200
|
if (showMeta) {
|
|
2202
2201
|
if (hasMetaFields) {
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2202
|
+
const metaListForWidget = documentType?.metaDataList ?? { groups: [] };
|
|
2203
|
+
flex.customWidget('meta-data-form-editor', (widget) => {
|
|
2204
|
+
widget.path(`file-${index}.metaDataForm`);
|
|
2205
|
+
widget.options(metaListForWidget);
|
|
2206
2206
|
});
|
|
2207
2207
|
}
|
|
2208
2208
|
if (enableExpiration) {
|
|
@@ -2494,6 +2494,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
2494
2494
|
description: folder.description != null ? this.translate.resolve(folder.description) : undefined,
|
|
2495
2495
|
childrenCount: folder.childrenCount,
|
|
2496
2496
|
size: folder.size,
|
|
2497
|
+
color: folder.color,
|
|
2497
2498
|
documentTypes: folder.documentTypes || [],
|
|
2498
2499
|
storageType: 'physical',
|
|
2499
2500
|
inherit: folder.inherit,
|
|
@@ -3385,7 +3386,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3385
3386
|
*/
|
|
3386
3387
|
async searchNodes(searchTerm, scope, options) {
|
|
3387
3388
|
const hasSearchTerm = searchTerm?.trim().length > 0;
|
|
3388
|
-
const hasMetadataFilters = options?.metadataFilters
|
|
3389
|
+
const hasMetadataFilters = Boolean(options?.metadataFilters?.length);
|
|
3389
3390
|
const hasDocTypeFilter = Boolean(options?.documentTypeIds && options.documentTypeIds.length > 0);
|
|
3390
3391
|
let folders = [];
|
|
3391
3392
|
let files = [];
|
|
@@ -3544,6 +3545,17 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3544
3545
|
const unlocked = result.getOutput('unlocked');
|
|
3545
3546
|
return unlocked;
|
|
3546
3547
|
}
|
|
3548
|
+
/**
|
|
3549
|
+
* Document types picker: keeps current selection when non-empty; otherwise defaults to the
|
|
3550
|
+
* catalog entry whose programmatic name is `any` (mock title "Document").
|
|
3551
|
+
*/
|
|
3552
|
+
initialFolderDialogDocumentTypes(items, existing) {
|
|
3553
|
+
if (Array.isArray(existing) && existing.length > 0) {
|
|
3554
|
+
return existing;
|
|
3555
|
+
}
|
|
3556
|
+
const anyType = items.find((it) => it?.name === 'any');
|
|
3557
|
+
return anyType ? [anyType] : [];
|
|
3558
|
+
}
|
|
3547
3559
|
/**
|
|
3548
3560
|
* Shows folder edit dialog
|
|
3549
3561
|
*/
|
|
@@ -3560,8 +3572,8 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3560
3572
|
name: node.name,
|
|
3561
3573
|
description: node.description ?? '',
|
|
3562
3574
|
inherit: node.inherit ?? 'None',
|
|
3563
|
-
documentTypes: node.documentTypes
|
|
3564
|
-
color: '#FFFFFF',
|
|
3575
|
+
documentTypes: this.initialFolderDialogDocumentTypes(items, node.documentTypes),
|
|
3576
|
+
color: node.color ?? '#FFFFFF',
|
|
3565
3577
|
})
|
|
3566
3578
|
.content((flex) => {
|
|
3567
3579
|
flex
|
|
@@ -3594,6 +3606,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3594
3606
|
dataSource: items,
|
|
3595
3607
|
multiple: true,
|
|
3596
3608
|
allowSearch: true,
|
|
3609
|
+
validations: [{ rule: 'required' }],
|
|
3597
3610
|
});
|
|
3598
3611
|
})
|
|
3599
3612
|
.formField('@general:terms.common.color', (field) => {
|
|
@@ -3612,6 +3625,9 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3612
3625
|
}
|
|
3613
3626
|
const form = context;
|
|
3614
3627
|
const selected = Array.isArray(form.documentTypes) ? form.documentTypes : [];
|
|
3628
|
+
if (selected.length === 0) {
|
|
3629
|
+
return false;
|
|
3630
|
+
}
|
|
3615
3631
|
const selectedTypes = selected.map((v) => typeof v === 'object' ? v : items.find((it) => it.name === v) || { name: v, title: v, id: v });
|
|
3616
3632
|
await this.updateFolder(node.id, {
|
|
3617
3633
|
title: form.title ?? form.name,
|
|
@@ -3639,12 +3655,19 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3639
3655
|
const set = new Set(allowedNames);
|
|
3640
3656
|
items = items.filter((it) => it?.name && set.has(it.name));
|
|
3641
3657
|
}
|
|
3658
|
+
const defaultDocumentTypes = this.initialFolderDialogDocumentTypes(items, []);
|
|
3642
3659
|
const result = await this.layoutBuilder
|
|
3643
3660
|
.create()
|
|
3644
3661
|
.dialog((dialog) => {
|
|
3645
3662
|
dialog
|
|
3646
3663
|
.setTitle('@document-management:actions.create-folder')
|
|
3647
|
-
.setContext({
|
|
3664
|
+
.setContext({
|
|
3665
|
+
title: '',
|
|
3666
|
+
description: '',
|
|
3667
|
+
inherit: 'None',
|
|
3668
|
+
documentTypes: defaultDocumentTypes,
|
|
3669
|
+
color: '#FFFFFF',
|
|
3670
|
+
})
|
|
3648
3671
|
.content((flex) => {
|
|
3649
3672
|
flex
|
|
3650
3673
|
.setDirection('column')
|
|
@@ -3676,6 +3699,7 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3676
3699
|
dataSource: items,
|
|
3677
3700
|
multiple: true,
|
|
3678
3701
|
allowSearch: true,
|
|
3702
|
+
validations: [{ rule: 'required' }],
|
|
3679
3703
|
});
|
|
3680
3704
|
})
|
|
3681
3705
|
.formField('@general:terms.common.color', (field) => {
|
|
@@ -3693,13 +3717,18 @@ class AXMDocumentManagerServiceImpl extends AXMDocumentManagerService {
|
|
|
3693
3717
|
return null;
|
|
3694
3718
|
}
|
|
3695
3719
|
const form = context;
|
|
3720
|
+
const selectedTypesRaw = Array.isArray(form.documentTypes) ? form.documentTypes : [];
|
|
3721
|
+
if (selectedTypesRaw.length === 0) {
|
|
3722
|
+
return null;
|
|
3723
|
+
}
|
|
3724
|
+
const selectedTypes = selectedTypesRaw.map((v) => typeof v === 'object' ? v : items.find((it) => it.name === v) || { name: v, title: v, id: v });
|
|
3696
3725
|
try {
|
|
3697
3726
|
const folder = await this.createFolder({
|
|
3698
3727
|
title: form.title,
|
|
3699
3728
|
color: form.color,
|
|
3700
3729
|
parentId,
|
|
3701
3730
|
description: form.description,
|
|
3702
|
-
documentTypes:
|
|
3731
|
+
documentTypes: selectedTypes,
|
|
3703
3732
|
size: 0,
|
|
3704
3733
|
inherit: form.inherit,
|
|
3705
3734
|
});
|
|
@@ -4351,7 +4380,7 @@ const AXPDocumentExplorerViewModel = signalStore({ providedIn: 'root' }, withSta
|
|
|
4351
4380
|
},
|
|
4352
4381
|
{
|
|
4353
4382
|
title: 'Items',
|
|
4354
|
-
content: node.
|
|
4383
|
+
content: node.children?.length ?? 0,
|
|
4355
4384
|
icon: 'fa-solid fa-file-lines',
|
|
4356
4385
|
},
|
|
4357
4386
|
{
|
|
@@ -5127,8 +5156,8 @@ class AXMDocumentExplorerComponent {
|
|
|
5127
5156
|
this.view = signal(null, ...(ngDevMode ? [{ debugName: "view" }] : /* istanbul ignore next */ []));
|
|
5128
5157
|
this.viewMap = {
|
|
5129
5158
|
list: async () => (await import('./acorex-modules-document-management-list-view.component-5OmnjqSw.mjs')).AXMDocumentExplorerListViewComponent,
|
|
5130
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
|
5131
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
|
5159
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
|
5160
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
|
5132
5161
|
details: async () => (await import('./acorex-modules-document-management-details-view.component-Bh3G5klg.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
|
5133
5162
|
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-BOha3_iU.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
|
5134
5163
|
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-DDU7SBZu.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
|
@@ -6624,8 +6653,8 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
6624
6653
|
this.driveRootIds = null;
|
|
6625
6654
|
/** Filter definitions: document type (cascade parent) + metadata + search + file type. */
|
|
6626
6655
|
this.advancedFilterDefinitions = signal([], ...(ngDevMode ? [{ debugName: "advancedFilterDefinitions" }] : /* istanbul ignore next */ []));
|
|
6627
|
-
/** Active metadata
|
|
6628
|
-
this.activeMetadataFilters = signal(
|
|
6656
|
+
/** Active metadata filters from the query filter panel (same shape as {@link AXPFilterQuery}). */
|
|
6657
|
+
this.activeMetadataFilters = signal([], ...(ngDevMode ? [{ debugName: "activeMetadataFilters" }] : /* istanbul ignore next */ []));
|
|
6629
6658
|
/** Options for the document type filter (drive search). */
|
|
6630
6659
|
this.documentTypeFilterOptions = signal([], ...(ngDevMode ? [{ debugName: "documentTypeFilterOptions" }] : /* istanbul ignore next */ []));
|
|
6631
6660
|
/**
|
|
@@ -6745,7 +6774,7 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
6745
6774
|
this.previousFolderId = currentNode?.id ?? null;
|
|
6746
6775
|
}
|
|
6747
6776
|
const metadataFilters = this.activeMetadataFilters();
|
|
6748
|
-
const hasMetadataFilters =
|
|
6777
|
+
const hasMetadataFilters = metadataFilters.length > 0;
|
|
6749
6778
|
const documentTypeIds = this.activeDocumentTypeFilterIds();
|
|
6750
6779
|
const hasDocTypeFilter = documentTypeIds.length > 0;
|
|
6751
6780
|
const result = await this.driveService.searchNodes(searchValue, this.vm.scope(), {
|
|
@@ -6786,17 +6815,26 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
6786
6815
|
const fileTypeFilter = filters.find((f) => f.field === 'fileType');
|
|
6787
6816
|
const fileTypeValue = fileTypeFilter?.value != null ? String(fileTypeFilter.value) : 'all';
|
|
6788
6817
|
this.vm.setFileTypeFilter(fileTypeValue);
|
|
6789
|
-
const metaFilters =
|
|
6818
|
+
const metaFilters = [];
|
|
6790
6819
|
for (const filter of filters) {
|
|
6791
|
-
if (filter.field
|
|
6792
|
-
filter.field
|
|
6793
|
-
filter.field
|
|
6794
|
-
filter.field
|
|
6795
|
-
filter.field
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6820
|
+
if (!filter.field ||
|
|
6821
|
+
filter.field === 'all' ||
|
|
6822
|
+
filter.field === 'title' ||
|
|
6823
|
+
filter.field === 'fileType' ||
|
|
6824
|
+
filter.field === 'documentTypeId') {
|
|
6825
|
+
continue;
|
|
6826
|
+
}
|
|
6827
|
+
const opType = filter.operator?.type;
|
|
6828
|
+
const isValuelessOperator = opType === 'isEmpty' || opType === 'isNotEmpty' || opType === 'isNull';
|
|
6829
|
+
if (!isValuelessOperator && (filter.value == null || filter.value === '')) {
|
|
6830
|
+
continue;
|
|
6799
6831
|
}
|
|
6832
|
+
metaFilters.push({
|
|
6833
|
+
field: filter.field,
|
|
6834
|
+
value: filter.value,
|
|
6835
|
+
operator: filter.operator,
|
|
6836
|
+
logic: filter.logic,
|
|
6837
|
+
});
|
|
6800
6838
|
}
|
|
6801
6839
|
this.activeMetadataFilters.set(metaFilters);
|
|
6802
6840
|
const app = this.sessionService.application?.name;
|
|
@@ -6819,7 +6857,7 @@ class AXMDocumentDriveComponent extends AXPPageLayoutBaseComponent {
|
|
|
6819
6857
|
});
|
|
6820
6858
|
}
|
|
6821
6859
|
const hasDocTypeFilter = documentTypeIds.length > 0;
|
|
6822
|
-
if (searchValue.length > 0 ||
|
|
6860
|
+
if (searchValue.length > 0 || metaFilters.length > 0 || hasDocTypeFilter) {
|
|
6823
6861
|
await this.performSearch(searchValue);
|
|
6824
6862
|
}
|
|
6825
6863
|
else if (this.vm.isVirtual()) {
|