@acorex/modules 20.2.4-next.0 → 20.2.4-next.1
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/index.d.ts +1 -0
- package/common/index.d.ts +16 -13
- package/contact-management/index.d.ts +0 -6
- package/conversation/index.d.ts +8 -0
- package/dashboard-management/index.d.ts +3 -79
- package/data-management/index.d.ts +2 -69
- package/document-management/index.d.ts +20 -5
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-C8p1VeqM.mjs → acorex-modules-auth-acorex-modules-auth-C3KbvhSU.mjs} +18 -14
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-C8p1VeqM.mjs.map → acorex-modules-auth-acorex-modules-auth-C3KbvhSU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CDKLbD_u.mjs → acorex-modules-auth-app-chooser.component-1rAktuKq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CDKLbD_u.mjs.map → acorex-modules-auth-app-chooser.component-1rAktuKq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-DGPRxnXo.mjs → acorex-modules-auth-login.module-Bq2itSg_.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-DGPRxnXo.mjs.map → acorex-modules-auth-login.module-Bq2itSg_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-BNFGuQQs.mjs → acorex-modules-auth-master.layout-DONbu77t.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-BNFGuQQs.mjs.map → acorex-modules-auth-master.layout-DONbu77t.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-B3sSFdOA.mjs → acorex-modules-auth-oauth-callback.component-BgzmfTlY.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-B3sSFdOA.mjs.map → acorex-modules-auth-oauth-callback.component-BgzmfTlY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Dyox9sR4.mjs → acorex-modules-auth-password.component-B9LqFrEG.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dyox9sR4.mjs.map → acorex-modules-auth-password.component-B9LqFrEG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-ln2kDKPR.mjs → acorex-modules-auth-password.component-BuGTsfLH.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-ln2kDKPR.mjs.map → acorex-modules-auth-password.component-BuGTsfLH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-7vr8T08D.mjs → acorex-modules-auth-routes-833kPM6o.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-7vr8T08D.mjs.map → acorex-modules-auth-routes-833kPM6o.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-D6XCUP_A.mjs → acorex-modules-auth-two-factor.module-BS1Pcbxp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-D6XCUP_A.mjs.map → acorex-modules-auth-two-factor.module-BS1Pcbxp.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-user-sessions.component-BXHfWAbP.mjs +137 -0
- package/fesm2022/acorex-modules-auth-user-sessions.component-BXHfWAbP.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +12 -40
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common-manage-extra-properties-popup.component-BgXwb8Su.mjs +71 -0
- package/fesm2022/acorex-modules-common-manage-extra-properties-popup.component-BgXwb8Su.mjs.map +1 -0
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs +47 -0
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-search-popup.component-39U0-TIj.mjs → acorex-modules-common-search-popup.component-BSQyjDKA.mjs} +8 -8
- package/fesm2022/{acorex-modules-common-search-popup.component-39U0-TIj.mjs.map → acorex-modules-common-search-popup.component-BSQyjDKA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs → acorex-modules-common-timeline-version-history-popup.component-ByAc4Yp9.mjs} +5 -5
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs.map → acorex-modules-common-timeline-version-history-popup.component-ByAc4Yp9.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +532 -91
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs → acorex-modules-contact-management-contact-method.entity-DR6V9Nox.mjs} +15 -41
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-DR6V9Nox.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs → acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs} +13 -90
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management.mjs +793 -1
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +3 -3
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +82 -22
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +29 -325
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +157 -1006
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-D9oPjJnn.mjs → acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs} +170 -282
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-CcWvTWv0.mjs → acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-CcWvTWv0.mjs.map → acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DPFIPNE_.mjs → acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DPFIPNE_.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-BKNvUhdl.mjs → acorex-modules-document-management-details-view.component-7OR6bXr-.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-BKNvUhdl.mjs.map → acorex-modules-document-management-details-view.component-7OR6bXr-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs → acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs} +42 -2
- package/fesm2022/acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BOPjvKlN.mjs → acorex-modules-document-management-drive-choose.component-B66hegSh.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BOPjvKlN.mjs.map → acorex-modules-document-management-drive-choose.component-B66hegSh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DutBXTtm.mjs → acorex-modules-document-management-drive.component-DZhd1DUn.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-DutBXTtm.mjs.map → acorex-modules-document-management-drive.component-DZhd1DUn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DX2_xsbq.mjs → acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DX2_xsbq.mjs.map → acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CshjCgG5.mjs → acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CshjCgG5.mjs.map → acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-DdLTVccZ.mjs → acorex-modules-document-management-list-view.component-oDeeGScM.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-DdLTVccZ.mjs.map → acorex-modules-document-management-list-view.component-oDeeGScM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-BomZu2bT.mjs → acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs} +6 -6
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-_AXz3sdF.mjs → acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-_AXz3sdF.mjs.map → acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DZRAXwFy.mjs → acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DZRAXwFy.mjs.map → acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DG3AbQJO.mjs → acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DG3AbQJO.mjs.map → acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Cx9jczo-.mjs → acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Cx9jczo-.mjs.map → acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.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-CLSHVjDE.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-COVNekIY.mjs} +13 -85
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-COVNekIY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-I8BY9RVh.mjs → acorex-modules-form-template-management-permission-definition.provider-BEkbbQH2.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-I8BY9RVh.mjs.map → acorex-modules-form-template-management-permission-definition.provider-BEkbbQH2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-B8ip0Ou_.mjs → acorex-modules-form-template-management-settings.provider-DSI7cmrW.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-B8ip0Ou_.mjs.map → acorex-modules-form-template-management-settings.provider-DSI7cmrW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BNM3RyDv.mjs → acorex-modules-form-template-management-template-picker.component-5n_kQMuQ.mjs} +6 -4
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-5n_kQMuQ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DFfvdZqJ.mjs → acorex-modules-form-template-management-template-widget-edit.component-BtCYeGB-.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DFfvdZqJ.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BtCYeGB-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-BCpgfVMz.mjs → acorex-modules-form-template-management-template.entity-Cm-AVAF_.mjs} +15 -85
- package/fesm2022/acorex-modules-form-template-management-template.entity-Cm-AVAF_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDfjwbrL.mjs → acorex-modules-form-template-management-viewer-popup.component-C8TC42DL.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDfjwbrL.mjs.map → acorex-modules-form-template-management-viewer-popup.component-C8TC42DL.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-CAibWOZT.mjs → acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs} +5 -5
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BSBozesT.mjs → acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BSBozesT.mjs.map → acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +16 -29
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management.mjs +87 -89
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management-notification-page.component-BUslAF8w.mjs +855 -0
- package/fesm2022/acorex-modules-notification-management-notification-page.component-BUslAF8w.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs +20 -20
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs → acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-chart.entity-UAn44WCP.mjs → acorex-modules-organization-management-chart.entity-8J9I9lgq.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-chart.entity-8J9I9lgq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-company.entity-D1A1HSkC.mjs → acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-department.entity-BxCyXNtv.mjs → acorex-modules-organization-management-department.entity-BbBrK4BN.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-department.entity-BbBrK4BN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-division.entity-DzQT2jpz.mjs → acorex-modules-organization-management-division.entity-DdX7LcCU.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-division.entity-DdX7LcCU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employee.entity-CRc2YjNR.mjs → acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs} +71 -50
- package/fesm2022/acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs → acorex-modules-organization-management-employment-type.entity-Dw3TLMtD.mjs} +14 -42
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-Dw3TLMtD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-role.entity-CruQeObl.mjs → acorex-modules-organization-management-position.entity-DT7EyvrR.mjs} +96 -79
- package/fesm2022/acorex-modules-organization-management-position.entity-DT7EyvrR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs → acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs} +19 -91
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs → acorex-modules-organization-management-role.entity-BdjgFsgo.mjs} +68 -51
- package/fesm2022/acorex-modules-organization-management-role.entity-BdjgFsgo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs → acorex-modules-organization-management-skill.entity-O1453j6I.mjs} +14 -105
- package/fesm2022/acorex-modules-organization-management-skill.entity-O1453j6I.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-DMCfAZsr.mjs → acorex-modules-organization-management-team.entity-DkRLWl0u.mjs} +13 -32
- package/fesm2022/acorex-modules-organization-management-team.entity-DkRLWl0u.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +13 -254
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-BUc-9XOG.mjs → acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs} +11 -21
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-Bgq-y9TN.mjs → acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs} +20 -19
- package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-CP47qbc-.mjs → acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs} +9 -12
- package/fesm2022/acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-pGea5plN.mjs → acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs} +9 -14
- package/fesm2022/acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-role.entity-CDt7Rxu7.mjs → acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs} +9 -12
- package/fesm2022/acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party.entity-DAvqOPic.mjs → acorex-modules-party-management-party.entity-BwAAZRJc.mjs} +43 -43
- package/fesm2022/acorex-modules-party-management-party.entity-BwAAZRJc.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management.mjs +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +2 -2
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +60 -48
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +56 -57
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +6 -7
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +7 -5
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-DbpqZaC7.mjs → acorex-modules-task-management-task-board.page-BBbHu2jz.mjs} +311 -71
- package/fesm2022/acorex-modules-task-management-task-board.page-BBbHu2jz.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +619 -241
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +4 -6
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +35 -35
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/form-template-management/index.d.ts +6 -32
- package/organization-management/index.d.ts +3 -111
- package/package.json +9 -9
- package/task-management/README.md +1 -1
- package/task-management/index.d.ts +80 -6
- package/fesm2022/acorex-modules-auth-user-sessions.component-B5aBDmdR.mjs +0 -135
- package/fesm2022/acorex-modules-auth-user-sessions.component-B5aBDmdR.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs +0 -863
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs +0 -680
- package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-D9oPjJnn.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BomZu2bT.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-CLSHVjDE.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-BBjVWSJ_.mjs +0 -245
- package/fesm2022/acorex-modules-form-template-management-category.entity-BBjVWSJ_.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-BNM3RyDv.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-BCpgfVMz.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-CAibWOZT.mjs.map +0 -1
- package/fesm2022/acorex-modules-notification-management-notification-page.component-TLxLpxzE.mjs +0 -544
- package/fesm2022/acorex-modules-notification-management-notification-page.component-TLxLpxzE.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-department.entity-BxCyXNtv.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-division.entity-DzQT2jpz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employee.entity-CRc2YjNR.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs +0 -305
- package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs +0 -526
- package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs +0 -338
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-CruQeObl.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs +0 -305
- package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-DMCfAZsr.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BUc-9XOG.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-Bgq-y9TN.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-identifier.entity-CP47qbc-.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-relationship.entity-pGea5plN.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-role.entity-CDt7Rxu7.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party.entity-DAvqOPic.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-DbpqZaC7.mjs.map +0 -1
|
@@ -19,24 +19,26 @@ import { AXTranslatorPipe, AXTranslationModule } from '@acorex/core/translation'
|
|
|
19
19
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
20
20
|
import { AXPThemeLayoutBlockComponent } from '@acorex/platform/layout/components';
|
|
21
21
|
import { AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPageLayoutBase } from '@acorex/platform/layout/views';
|
|
22
|
-
import * as
|
|
22
|
+
import * as i1$1 from '@angular/common';
|
|
23
23
|
import { AsyncPipe, CommonModule } from '@angular/common';
|
|
24
24
|
import * as i0 from '@angular/core';
|
|
25
|
-
import { computed, inject, signal, effect, ViewEncapsulation, ChangeDetectionStrategy, Component, viewChild, input,
|
|
26
|
-
import * as i1$
|
|
25
|
+
import { computed, inject, signal, effect, ViewEncapsulation, ChangeDetectionStrategy, Component, output, viewChild, input, model, untracked } from '@angular/core';
|
|
26
|
+
import * as i1$3 from '@angular/forms';
|
|
27
27
|
import { FormsModule } from '@angular/forms';
|
|
28
28
|
import { Router, ActivatedRoute, NavigationEnd, RouterModule } from '@angular/router';
|
|
29
29
|
import { filter, startWith } from 'rxjs';
|
|
30
30
|
import { AXPTaskBoardService, RootConfig } from './acorex-modules-task-management.mjs';
|
|
31
31
|
import { AXFormatPipe } from '@acorex/core/format';
|
|
32
32
|
import * as i1 from '@acorex/platform/layout/builder';
|
|
33
|
-
import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
|
33
|
+
import { AXPLayoutBuilderModule, AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
|
34
34
|
import { AXPSettingService } from '@acorex/platform/common';
|
|
35
35
|
import { AXPPlatformScope } from '@acorex/platform/core';
|
|
36
36
|
import { signalStore, withState, withComputed, withMethods, patchState } from '@ngrx/signals';
|
|
37
|
+
import { AXFormFieldComponent, AXFormComponent } from '@acorex/components/form';
|
|
38
|
+
import { AXLabelComponent } from '@acorex/components/label';
|
|
37
39
|
import { AXSchedulerComponent } from '@acorex/components/scheduler';
|
|
38
40
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
39
|
-
import * as i1$
|
|
41
|
+
import * as i1$2 from '@acorex/components/data-table';
|
|
40
42
|
import { AXDataTableModule } from '@acorex/components/data-table';
|
|
41
43
|
import { AXKanbanComponent } from '@acorex/components/kanban';
|
|
42
44
|
import { isEqual } from 'lodash-es';
|
|
@@ -47,7 +49,9 @@ var AXMTaskBoardSettings;
|
|
|
47
49
|
AXMTaskBoardSettings["ViewCategory"] = "taskboard.viewCategory";
|
|
48
50
|
AXMTaskBoardSettings["DaysCount"] = "taskboard.calendar.daysCount";
|
|
49
51
|
AXMTaskBoardSettings["CurrentDate"] = "taskboard.calendar.currentDate";
|
|
50
|
-
AXMTaskBoardSettings["
|
|
52
|
+
AXMTaskBoardSettings["SelectedTaskTypeNames"] = "taskboard.filter.selectedTaskTypeNames";
|
|
53
|
+
AXMTaskBoardSettings["SelectedAssigneeIds"] = "taskboard.filter.selectedAssigneeIds";
|
|
54
|
+
AXMTaskBoardSettings["SelectedPriorities"] = "taskboard.filter.selectedPriorities";
|
|
51
55
|
})(AXMTaskBoardSettings || (AXMTaskBoardSettings = {}));
|
|
52
56
|
|
|
53
57
|
const AXMTaskBoardViewModel = signalStore({ providedIn: 'root' }, withState(() => ({
|
|
@@ -59,17 +63,18 @@ const AXMTaskBoardViewModel = signalStore({ providedIn: 'root' }, withState(() =
|
|
|
59
63
|
rangeStartDate: null,
|
|
60
64
|
currentDate: new Date(),
|
|
61
65
|
currentViewMode: 'month',
|
|
62
|
-
|
|
66
|
+
selectedTaskTypeNames: [],
|
|
63
67
|
currentViewCategory: 'calendar',
|
|
68
|
+
selectedAssigneeIds: [],
|
|
69
|
+
selectedPriorities: [],
|
|
64
70
|
})), withComputed((store) => ({
|
|
65
|
-
|
|
66
|
-
const
|
|
67
|
-
if (!
|
|
68
|
-
return
|
|
71
|
+
selectedTaskTypes: computed(() => {
|
|
72
|
+
const names = store.selectedTaskTypeNames();
|
|
73
|
+
if (!names || names.length === 0) {
|
|
74
|
+
return [];
|
|
69
75
|
}
|
|
70
|
-
return store.taskTypes().
|
|
76
|
+
return store.taskTypes().filter((tt) => names.includes(tt.name));
|
|
71
77
|
}),
|
|
72
|
-
// (Optional but recommended) Add a computed signal to easily check if a task is selected
|
|
73
78
|
isTaskSelected: computed(() => store.selectedTask() !== null),
|
|
74
79
|
isDetailPanelOpen: computed(() => store.detailPanel()),
|
|
75
80
|
endDate: computed(() => {
|
|
@@ -77,28 +82,46 @@ const AXMTaskBoardViewModel = signalStore({ providedIn: 'root' }, withState(() =
|
|
|
77
82
|
const daysCount = store.daysCount();
|
|
78
83
|
return new Date(currentDate.getTime() + daysCount * 24 * 60 * 60 * 1000);
|
|
79
84
|
}),
|
|
85
|
+
activeFilterCount: computed(() => {
|
|
86
|
+
let count = 0;
|
|
87
|
+
if (store.currentViewMode() !== 'kanban' &&
|
|
88
|
+
store.currentViewMode() !== 'status-grouped-grid' &&
|
|
89
|
+
store.selectedTaskTypeNames().length > 0) {
|
|
90
|
+
count++;
|
|
91
|
+
}
|
|
92
|
+
if (store.selectedAssigneeIds().length > 0) {
|
|
93
|
+
count++;
|
|
94
|
+
}
|
|
95
|
+
if (store.selectedPriorities().length > 0) {
|
|
96
|
+
count++;
|
|
97
|
+
}
|
|
98
|
+
return count;
|
|
99
|
+
}),
|
|
80
100
|
})), withMethods((store, settingService = inject(AXPSettingService), taskBoardService = inject(AXPTaskBoardService)) => {
|
|
81
|
-
// Create a private method for getting the user-scoped settings to avoid repetition
|
|
82
101
|
const userScopedSettings = () => settingService.scope(AXPPlatformScope.User);
|
|
83
102
|
return {
|
|
84
103
|
async initialize() {
|
|
85
104
|
patchState(store, { isLoading: true });
|
|
86
105
|
try {
|
|
87
|
-
// 1. Load Task Types first
|
|
88
106
|
const taskTypes = await taskBoardService.getTaskTypes();
|
|
89
107
|
patchState(store, { taskTypes });
|
|
90
|
-
|
|
91
|
-
|
|
108
|
+
const [savedDaysCount, savedDateString, savedViewMode, savedViewCategory, savedTaskTypeNames, savedAssigneeIds, savedPriorities,] = await Promise.all([
|
|
109
|
+
userScopedSettings().get(AXMTaskBoardSettings.DaysCount),
|
|
92
110
|
userScopedSettings().get(AXMTaskBoardSettings.CurrentDate),
|
|
93
111
|
userScopedSettings().get(AXMTaskBoardSettings.ViewMode),
|
|
94
112
|
userScopedSettings().get(AXMTaskBoardSettings.ViewCategory),
|
|
95
|
-
userScopedSettings().get(AXMTaskBoardSettings.
|
|
113
|
+
userScopedSettings().get(AXMTaskBoardSettings.SelectedTaskTypeNames),
|
|
114
|
+
userScopedSettings().get(AXMTaskBoardSettings.SelectedAssigneeIds),
|
|
115
|
+
userScopedSettings().get(AXMTaskBoardSettings.SelectedPriorities),
|
|
96
116
|
]);
|
|
97
117
|
patchState(store, {
|
|
118
|
+
daysCount: savedDaysCount || 7,
|
|
98
119
|
currentViewMode: savedViewMode || 'month',
|
|
99
120
|
currentViewCategory: savedViewCategory || 'calendar',
|
|
100
121
|
currentDate: savedDateString ? new Date(savedDateString) : new Date(),
|
|
101
|
-
|
|
122
|
+
selectedTaskTypeNames: savedTaskTypeNames || [],
|
|
123
|
+
selectedAssigneeIds: savedAssigneeIds || [],
|
|
124
|
+
selectedPriorities: savedPriorities || [],
|
|
102
125
|
isLoading: false,
|
|
103
126
|
});
|
|
104
127
|
}
|
|
@@ -107,7 +130,9 @@ const AXMTaskBoardViewModel = signalStore({ providedIn: 'root' }, withState(() =
|
|
|
107
130
|
patchState(store, {
|
|
108
131
|
currentViewMode: 'month',
|
|
109
132
|
currentDate: new Date(),
|
|
110
|
-
|
|
133
|
+
selectedTaskTypeNames: [],
|
|
134
|
+
selectedAssigneeIds: [],
|
|
135
|
+
selectedPriorities: [],
|
|
111
136
|
taskTypes: store.taskTypes(),
|
|
112
137
|
isLoading: false,
|
|
113
138
|
});
|
|
@@ -134,15 +159,15 @@ const AXMTaskBoardViewModel = signalStore({ providedIn: 'root' }, withState(() =
|
|
|
134
159
|
.catch((error) => console.error('Error saving calendar view category:', error));
|
|
135
160
|
},
|
|
136
161
|
setViewMode(mode) {
|
|
137
|
-
if ((mode === 'kanban' || mode === 'status-grouped-grid') && store.
|
|
138
|
-
const
|
|
139
|
-
if (
|
|
140
|
-
|
|
141
|
-
userScopedSettings()
|
|
142
|
-
.set(AXMTaskBoardSettings.SelectedTaskTypeFilter, taskTypeName)
|
|
143
|
-
.catch((error) => console.error('Error saving selected task type filter:', error));
|
|
162
|
+
if ((mode === 'kanban' || mode === 'status-grouped-grid') && store.selectedTaskTypeNames().length === 0) {
|
|
163
|
+
const firstTaskType = store.taskTypes()[0];
|
|
164
|
+
if (firstTaskType) {
|
|
165
|
+
this.setSelectedTaskTypeNames([firstTaskType.name]);
|
|
144
166
|
}
|
|
145
167
|
}
|
|
168
|
+
if ((mode === 'kanban' || mode === 'status-grouped-grid') && store.selectedTaskTypeNames().length > 1) {
|
|
169
|
+
this.setSelectedTaskTypeNames([store.selectedTaskTypeNames()[0]]);
|
|
170
|
+
}
|
|
146
171
|
patchState(store, { currentViewMode: mode });
|
|
147
172
|
userScopedSettings()
|
|
148
173
|
.set(AXMTaskBoardSettings.ViewMode, mode)
|
|
@@ -154,13 +179,24 @@ const AXMTaskBoardViewModel = signalStore({ providedIn: 'root' }, withState(() =
|
|
|
154
179
|
.set(AXMTaskBoardSettings.CurrentDate, date.toISOString())
|
|
155
180
|
.catch((error) => console.error('Error saving current date:', error));
|
|
156
181
|
},
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
patchState(store, { selectedTaskTypeName: taskTypeName });
|
|
182
|
+
setSelectedTaskTypeNames(taskTypeNames) {
|
|
183
|
+
patchState(store, { selectedTaskTypeNames: taskTypeNames });
|
|
160
184
|
userScopedSettings()
|
|
161
|
-
.set(AXMTaskBoardSettings.
|
|
185
|
+
.set(AXMTaskBoardSettings.SelectedTaskTypeNames, taskTypeNames)
|
|
162
186
|
.catch((error) => console.error('Error saving selected task type filter:', error));
|
|
163
187
|
},
|
|
188
|
+
setSelectedAssigneeIds(assigneeIds) {
|
|
189
|
+
patchState(store, { selectedAssigneeIds: assigneeIds });
|
|
190
|
+
userScopedSettings()
|
|
191
|
+
.set(AXMTaskBoardSettings.SelectedAssigneeIds, assigneeIds)
|
|
192
|
+
.catch((error) => console.error('Error saving selected assignee filter:', error));
|
|
193
|
+
},
|
|
194
|
+
setSelectedPriorities(priorities) {
|
|
195
|
+
patchState(store, { selectedPriorities: priorities });
|
|
196
|
+
userScopedSettings()
|
|
197
|
+
.set(AXMTaskBoardSettings.SelectedPriorities, priorities)
|
|
198
|
+
.catch((error) => console.error('Error saving selected priority filter:', error));
|
|
199
|
+
},
|
|
164
200
|
/**
|
|
165
201
|
* Sets the currently selected task. Pass `null` to clear the selection.
|
|
166
202
|
* @param task The task to select, or null.
|
|
@@ -239,7 +275,7 @@ class AXMTaskBoardDetailPanel {
|
|
|
239
275
|
return String(text).charAt(0).toUpperCase() + String(text).slice(1);
|
|
240
276
|
}
|
|
241
277
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardDetailPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
242
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardDetailPanel, isStandalone: true, selector: "axm-task-board-detail-panel", ngImport: i0, template: "@if (vm.isTaskSelected()) {\n @let nodeInfo = vm.selectedTask();\n <div class=\"__header\">\n <div class=\"__title\">\n <span>{{ nodeInfo?.title }}</span>\n </div>\n <ax-button [look]=\"'blank'\" class=\"ax-sm ax-rounded-full\" (onClick)=\"vm.closeDetailPanel()\">\n <ax-icon icon=\"fa-solid fa-xmark\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"__content\">\n <div class=\"__section\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.title' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n @if (nodeInfo?.description) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.description' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">{{ nodeInfo?.description }}</div>\n </div>\n }\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.start-date' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.startDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.end-date' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.endDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.reporter' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{
|
|
278
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardDetailPanel, isStandalone: true, selector: "axm-task-board-detail-panel", ngImport: i0, template: "@if (vm.isTaskSelected()) {\n @let nodeInfo = vm.selectedTask();\n <div class=\"__header\">\n <div class=\"__title\">\n <span>{{ nodeInfo?.title }}</span>\n </div>\n <ax-button [look]=\"'blank'\" class=\"ax-sm ax-rounded-full\" (onClick)=\"vm.closeDetailPanel()\">\n <ax-icon icon=\"fa-solid fa-xmark\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"__content\">\n <div class=\"__section\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.title' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n @if (nodeInfo?.description) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.description' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">{{ nodeInfo?.description }}</div>\n </div>\n }\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.start-date' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.startDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.end-date' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.endDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.reporter' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{ nodeInfo?.reporter?.fullName }}\n </div>\n </div>\n @if (nodeInfo?.assignee) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{\n 'task-board.detail-panel.assignee' | translate: { scope: rootConfig.config.i18n } | async\n }}</span>\n </div>\n <div class=\"__content\">{{ nodeInfo?.assignee?.fullName }}</div>\n </div>\n }\n @if (statusName()) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.status' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">{{ statusName() }}</div>\n </div>\n }\n @if (nodeInfo?.priority) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.priority' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">{{ capitalizeFirstLetter(nodeInfo?.priority ?? '') }}</div>\n </div>\n }\n @if (extraFields() && extraFields().length) {\n <div class=\"__row\">\n <axp-widgets-container [context]=\"nodeInfo\">\n @for (extraField of extraFields(); track extraField) {\n <div class=\"__title\">\n <span>\n {{ extraField.title | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">\n <ng-container axp-widget-renderer [node]=\"extraField.widget\" [mode]=\"'view'\"> </ng-container>\n </div>\n }\n </axp-widgets-container>\n </div>\n }\n </div>\n </div>\n </div>\n} @else {\n <div class=\"__header\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.title' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <ax-button [look]=\"'blank'\" class=\"ax-sm ax-rounded-full\" (onClick)=\"vm.closeDetailPanel()\">\n <ax-icon icon=\"fa-solid fa-xmark\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"__content ax-flex ax-items-center\">\n <div class=\"__section\">\n <div class=\"__content\">\n <div class=\"__row\">\n <div class=\"__title\">\n {{ 'task-board.detail-panel.no-task-selected' | translate: { scope: rootConfig.config.i18n } | async }}\n </div>\n </div>\n </div>\n </div>\n </div>\n}\n", styles: ["axm-task-board-detail-panel{display:flex;flex-direction:column;border-radius:.5rem;border-width:1px;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}@media (min-width: 1024px){axm-task-board-detail-panel{width:24rem}}axm-task-board-detail-panel>.__header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-bottom-width:1px;padding:1rem}@media (min-width: 1024px){axm-task-board-detail-panel>.__header{width:20rem}}axm-task-board-detail-panel>.__header>.__title{display:flex;width:90%;flex-direction:row;align-items:center;gap:.5rem}axm-task-board-detail-panel>.__header>.__title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-weight:600;line-height:1.625}axm-task-board-detail-panel>.__content{display:flex;flex-direction:column}axm-task-board-detail-panel>.__content>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}axm-task-board-detail-panel>.__content>.__section{display:flex;flex-direction:column;padding:1rem}axm-task-board-detail-panel>.__content>.__section>.__title{margin-bottom:1rem;font-size:.875rem;line-height:1.25rem;font-weight:700}axm-task-board-detail-panel>.__content>.__section>.__content{display:flex;flex-direction:column;gap:1rem}axm-task-board-detail-panel>.__content>.__section>.__content>.__row{display:flex;flex-direction:column;gap:.25rem}axm-task-board-detail-panel>.__content>.__section>.__content>.__row>.__title{display:flex;font-size:.875rem;line-height:1.25rem;font-weight:600;opacity:.9}axm-task-board-detail-panel>.__content>.__section>.__content>.__row>.__content{display:flex;flex-direction:row;align-items:center;gap:.5rem}axm-task-board-detail-panel>.__content>.__section>.__content>.__row>.__content span{opacity:.7}\n"], dependencies: [{ 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: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: AXFormatPipe, name: "format" }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
243
279
|
}
|
|
244
280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardDetailPanel, decorators: [{
|
|
245
281
|
type: Component,
|
|
@@ -250,7 +286,178 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
250
286
|
AXButtonComponent,
|
|
251
287
|
AXPLayoutBuilderModule,
|
|
252
288
|
AXDecoratorIconComponent,
|
|
253
|
-
], template: "@if (vm.isTaskSelected()) {\n @let nodeInfo = vm.selectedTask();\n <div class=\"__header\">\n <div class=\"__title\">\n <span>{{ nodeInfo?.title }}</span>\n </div>\n <ax-button [look]=\"'blank'\" class=\"ax-sm ax-rounded-full\" (onClick)=\"vm.closeDetailPanel()\">\n <ax-icon icon=\"fa-solid fa-xmark\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"__content\">\n <div class=\"__section\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.title' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n @if (nodeInfo?.description) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.description' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">{{ nodeInfo?.description }}</div>\n </div>\n }\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.start-date' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.startDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.end-date' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.endDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.reporter' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{
|
|
289
|
+
], template: "@if (vm.isTaskSelected()) {\n @let nodeInfo = vm.selectedTask();\n <div class=\"__header\">\n <div class=\"__title\">\n <span>{{ nodeInfo?.title }}</span>\n </div>\n <ax-button [look]=\"'blank'\" class=\"ax-sm ax-rounded-full\" (onClick)=\"vm.closeDetailPanel()\">\n <ax-icon icon=\"fa-solid fa-xmark\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"__content\">\n <div class=\"__section\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.title' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n @if (nodeInfo?.description) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.description' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">{{ nodeInfo?.description }}</div>\n </div>\n }\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.start-date' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.startDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.end-date' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{\n nodeInfo?.endDate\n | format: 'datetime' : { format: 'short', calendar: localeService.activeProfile().calendar.system }\n | async\n }}\n </div>\n </div>\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.reporter' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">\n {{ nodeInfo?.reporter?.fullName }}\n </div>\n </div>\n @if (nodeInfo?.assignee) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{\n 'task-board.detail-panel.assignee' | translate: { scope: rootConfig.config.i18n } | async\n }}</span>\n </div>\n <div class=\"__content\">{{ nodeInfo?.assignee?.fullName }}</div>\n </div>\n }\n @if (statusName()) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>{{ 'task-board.detail-panel.status' | translate: { scope: rootConfig.config.i18n } | async }}</span>\n </div>\n <div class=\"__content\">{{ statusName() }}</div>\n </div>\n }\n @if (nodeInfo?.priority) {\n <div class=\"__row\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.priority' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">{{ capitalizeFirstLetter(nodeInfo?.priority ?? '') }}</div>\n </div>\n }\n @if (extraFields() && extraFields().length) {\n <div class=\"__row\">\n <axp-widgets-container [context]=\"nodeInfo\">\n @for (extraField of extraFields(); track extraField) {\n <div class=\"__title\">\n <span>\n {{ extraField.title | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <div class=\"__content\">\n <ng-container axp-widget-renderer [node]=\"extraField.widget\" [mode]=\"'view'\"> </ng-container>\n </div>\n }\n </axp-widgets-container>\n </div>\n }\n </div>\n </div>\n </div>\n} @else {\n <div class=\"__header\">\n <div class=\"__title\">\n <span>\n {{ 'task-board.detail-panel.title' | translate: { scope: rootConfig.config.i18n } | async }}\n </span>\n </div>\n <ax-button [look]=\"'blank'\" class=\"ax-sm ax-rounded-full\" (onClick)=\"vm.closeDetailPanel()\">\n <ax-icon icon=\"fa-solid fa-xmark\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"__content ax-flex ax-items-center\">\n <div class=\"__section\">\n <div class=\"__content\">\n <div class=\"__row\">\n <div class=\"__title\">\n {{ 'task-board.detail-panel.no-task-selected' | translate: { scope: rootConfig.config.i18n } | async }}\n </div>\n </div>\n </div>\n </div>\n </div>\n}\n", styles: ["axm-task-board-detail-panel{display:flex;flex-direction:column;border-radius:.5rem;border-width:1px;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}@media (min-width: 1024px){axm-task-board-detail-panel{width:24rem}}axm-task-board-detail-panel>.__header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-bottom-width:1px;padding:1rem}@media (min-width: 1024px){axm-task-board-detail-panel>.__header{width:20rem}}axm-task-board-detail-panel>.__header>.__title{display:flex;width:90%;flex-direction:row;align-items:center;gap:.5rem}axm-task-board-detail-panel>.__header>.__title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-weight:600;line-height:1.625}axm-task-board-detail-panel>.__content{display:flex;flex-direction:column}axm-task-board-detail-panel>.__content>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}axm-task-board-detail-panel>.__content>.__section{display:flex;flex-direction:column;padding:1rem}axm-task-board-detail-panel>.__content>.__section>.__title{margin-bottom:1rem;font-size:.875rem;line-height:1.25rem;font-weight:700}axm-task-board-detail-panel>.__content>.__section>.__content{display:flex;flex-direction:column;gap:1rem}axm-task-board-detail-panel>.__content>.__section>.__content>.__row{display:flex;flex-direction:column;gap:.25rem}axm-task-board-detail-panel>.__content>.__section>.__content>.__row>.__title{display:flex;font-size:.875rem;line-height:1.25rem;font-weight:600;opacity:.9}axm-task-board-detail-panel>.__content>.__section>.__content>.__row>.__content{display:flex;flex-direction:row;align-items:center;gap:.5rem}axm-task-board-detail-panel>.__content>.__section>.__content>.__row>.__content span{opacity:.7}\n"] }]
|
|
290
|
+
}] });
|
|
291
|
+
|
|
292
|
+
class AXMTaskBoardFiltersComponent {
|
|
293
|
+
constructor() {
|
|
294
|
+
this.rootConfig = RootConfig;
|
|
295
|
+
this.vm = inject(AXMTaskBoardViewModel);
|
|
296
|
+
this.applyClicked = output();
|
|
297
|
+
this.context = signal({}, ...(ngDevMode ? [{ debugName: "context" }] : []));
|
|
298
|
+
this.isInitialized = false;
|
|
299
|
+
this.#init = effect(() => {
|
|
300
|
+
const isLoading = this.vm.isLoading();
|
|
301
|
+
if (!isLoading && !this.isInitialized) {
|
|
302
|
+
this.resetContextToViewModel();
|
|
303
|
+
this.isInitialized = true;
|
|
304
|
+
}
|
|
305
|
+
}, ...(ngDevMode ? [{ debugName: "#init" }] : []));
|
|
306
|
+
this.VALID_PRIORITIES = [
|
|
307
|
+
{ title: 'Highest', name: 'highest' },
|
|
308
|
+
{ title: 'High', name: 'high' },
|
|
309
|
+
{ title: 'Medium', name: 'medium' },
|
|
310
|
+
{ title: 'Low', name: 'low' },
|
|
311
|
+
{ title: 'Lowest', name: 'lowest' },
|
|
312
|
+
{ title: 'No Priority', name: 'no_priority' },
|
|
313
|
+
];
|
|
314
|
+
this.isMultiSelectEnabled = computed(() => {
|
|
315
|
+
const viewMode = this.vm.currentViewMode();
|
|
316
|
+
return viewMode !== 'kanban' && viewMode !== 'status-grouped-grid';
|
|
317
|
+
}, ...(ngDevMode ? [{ debugName: "isMultiSelectEnabled" }] : []));
|
|
318
|
+
this.nodes = computed(() => [
|
|
319
|
+
{
|
|
320
|
+
name: 'taskType',
|
|
321
|
+
path: 'options.taskType',
|
|
322
|
+
type: AXPWidgetsCatalog.select,
|
|
323
|
+
options: {
|
|
324
|
+
valueField: 'name',
|
|
325
|
+
textField: 'title',
|
|
326
|
+
dataSource: this.vm.taskTypes().map((t) => ({ name: t.name, title: t.title })),
|
|
327
|
+
multiple: this.isMultiSelectEnabled(),
|
|
328
|
+
allowClear: this.isMultiSelectEnabled(),
|
|
329
|
+
placeholder: 'Select Task Type',
|
|
330
|
+
},
|
|
331
|
+
meta: {
|
|
332
|
+
title: 'task-board.filter.task-type',
|
|
333
|
+
},
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: 'assignee',
|
|
337
|
+
path: 'options.assignee',
|
|
338
|
+
type: AXPWidgetsCatalog.select,
|
|
339
|
+
options: {
|
|
340
|
+
valueField: 'id',
|
|
341
|
+
textField: 'displayName',
|
|
342
|
+
dataSource: 'users',
|
|
343
|
+
allowSearch: true,
|
|
344
|
+
multiple: true,
|
|
345
|
+
placeholder: 'Select Assignee',
|
|
346
|
+
},
|
|
347
|
+
meta: {
|
|
348
|
+
title: 'task-board.filter.assignee',
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
name: 'priority',
|
|
353
|
+
path: 'options.priority',
|
|
354
|
+
type: AXPWidgetsCatalog.select,
|
|
355
|
+
options: {
|
|
356
|
+
valueField: 'name',
|
|
357
|
+
textField: 'title',
|
|
358
|
+
dataSource: this.VALID_PRIORITIES,
|
|
359
|
+
direction: 'horizontal',
|
|
360
|
+
multiple: true,
|
|
361
|
+
placeholder: 'Select Priority',
|
|
362
|
+
},
|
|
363
|
+
meta: {
|
|
364
|
+
title: 'task-board.filter.priority',
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
], ...(ngDevMode ? [{ debugName: "nodes" }] : []));
|
|
368
|
+
}
|
|
369
|
+
#init;
|
|
370
|
+
resetContextToViewModel() {
|
|
371
|
+
const vmTaskTypeNames = this.vm.selectedTaskTypeNames();
|
|
372
|
+
const vmAssigneeIds = this.vm.selectedAssigneeIds();
|
|
373
|
+
const vmPriorities = this.vm.selectedPriorities();
|
|
374
|
+
const currentViewIsMulti = this.isMultiSelectEnabled();
|
|
375
|
+
const taskTypeContextValue = currentViewIsMulti
|
|
376
|
+
? vmTaskTypeNames
|
|
377
|
+
: vmTaskTypeNames.length > 0
|
|
378
|
+
? vmTaskTypeNames[0]
|
|
379
|
+
: null;
|
|
380
|
+
this.context.set({
|
|
381
|
+
options: {
|
|
382
|
+
taskType: taskTypeContextValue,
|
|
383
|
+
assignee: vmAssigneeIds,
|
|
384
|
+
priority: vmPriorities,
|
|
385
|
+
},
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
handleContextChanged(e) {
|
|
389
|
+
this.context.set(e.data);
|
|
390
|
+
}
|
|
391
|
+
handleApply() {
|
|
392
|
+
this.syncTaskTypesToViewModel(this.context()?.options?.taskType);
|
|
393
|
+
this.syncAssigneesToViewModel(this.context()?.options?.assignee);
|
|
394
|
+
this.syncPrioritiesToViewModel(this.context()?.options?.priority);
|
|
395
|
+
this.applyClicked.emit();
|
|
396
|
+
}
|
|
397
|
+
syncTaskTypesToViewModel(selectedValue) {
|
|
398
|
+
let newNames = [];
|
|
399
|
+
if (Array.isArray(selectedValue)) {
|
|
400
|
+
newNames = selectedValue.filter((v) => v != null).map((t) => (typeof t === 'string' ? t : t.name));
|
|
401
|
+
}
|
|
402
|
+
else if (selectedValue) {
|
|
403
|
+
newNames = [typeof selectedValue === 'string' ? selectedValue : selectedValue.name];
|
|
404
|
+
}
|
|
405
|
+
const currentNames = this.vm.selectedTaskTypeNames();
|
|
406
|
+
if (JSON.stringify(currentNames) !== JSON.stringify(newNames)) {
|
|
407
|
+
this.vm.setSelectedTaskTypeNames(newNames);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
syncAssigneesToViewModel(selectedAssignees) {
|
|
411
|
+
let newIds = [];
|
|
412
|
+
if (Array.isArray(selectedAssignees)) {
|
|
413
|
+
newIds = selectedAssignees
|
|
414
|
+
.filter((v) => v != null)
|
|
415
|
+
.map((t) => (typeof t === 'string' || typeof t === 'number' ? t : t.id));
|
|
416
|
+
}
|
|
417
|
+
const currentIds = this.vm.selectedAssigneeIds();
|
|
418
|
+
if (JSON.stringify(currentIds) !== JSON.stringify(newIds)) {
|
|
419
|
+
this.vm.setSelectedAssigneeIds(newIds);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
syncPrioritiesToViewModel(selectedPriorities) {
|
|
423
|
+
let newNames = [];
|
|
424
|
+
if (Array.isArray(selectedPriorities)) {
|
|
425
|
+
newNames = selectedPriorities
|
|
426
|
+
.filter((v) => v != null)
|
|
427
|
+
.map((t) => (typeof t === 'string' ? t : t.name));
|
|
428
|
+
}
|
|
429
|
+
const currentNames = this.vm.selectedPriorities();
|
|
430
|
+
if (JSON.stringify(currentNames) !== JSON.stringify(newNames)) {
|
|
431
|
+
this.vm.setSelectedPriorities(newNames);
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
handleReset() {
|
|
435
|
+
if (this.vm.currentViewMode() === 'kanban' || this.vm.currentViewMode() === 'status-grouped-grid') {
|
|
436
|
+
const currentOptions = this.context();
|
|
437
|
+
this.context.set({
|
|
438
|
+
options: {
|
|
439
|
+
taskType: currentOptions?.options?.taskType,
|
|
440
|
+
},
|
|
441
|
+
});
|
|
442
|
+
return;
|
|
443
|
+
}
|
|
444
|
+
this.context.set({});
|
|
445
|
+
}
|
|
446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardFiltersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
447
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardFiltersComponent, isStandalone: true, selector: "axm-task-board-filters", outputs: { applyClicked: "applyClicked" }, ngImport: i0, template: "<div class=\"ax-px-4 ax-py-3 ax-flex ax-flex-col ax-gap-2 ax-sm ax-w-[20rem]\">\n <axp-widgets-container [context]=\"context()\" (onContextChanged)=\"handleContextChanged($event)\">\n <ax-form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n @for (node of nodes(); track $index) {\n <ax-form-field>\n @if (node.meta?.['title']) {\n <ax-label>\n {{ node.meta?.['title'] | translate: { scope: rootConfig.config.i18n } | async }}\n </ax-label>\n }\n <ng-container axp-widget-renderer [node]=\"node\" [mode]=\"'edit'\"></ng-container>\n </ax-form-field>\n }\n </div>\n <div class=\"ax-flex ax-gap-2 ax-mt-6 ax-mb-1\">\n <ax-button (onClick)=\"handleReset()\" class=\"ax-w-full\" [text]=\"'clear' | translate | async\"></ax-button>\n <ax-button\n color=\"primary\"\n [type]=\"'submit'\"\n (onClick)=\"handleApply()\"\n class=\"ax-w-full\"\n [text]=\"'apply' | translate | async\"\n ></ax-button>\n </div>\n </ax-form>\n </axp-widgets-container>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "component", type: AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "component", type: AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { 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: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
448
|
+
}
|
|
449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardFiltersComponent, decorators: [{
|
|
450
|
+
type: Component,
|
|
451
|
+
args: [{ selector: 'axm-task-board-filters', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [
|
|
452
|
+
CommonModule,
|
|
453
|
+
AXFormFieldComponent,
|
|
454
|
+
AXPLayoutBuilderModule,
|
|
455
|
+
AXFormComponent,
|
|
456
|
+
AXLabelComponent,
|
|
457
|
+
AXButtonComponent,
|
|
458
|
+
AXTranslatorPipe,
|
|
459
|
+
AsyncPipe,
|
|
460
|
+
], template: "<div class=\"ax-px-4 ax-py-3 ax-flex ax-flex-col ax-gap-2 ax-sm ax-w-[20rem]\">\n <axp-widgets-container [context]=\"context()\" (onContextChanged)=\"handleContextChanged($event)\">\n <ax-form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n @for (node of nodes(); track $index) {\n <ax-form-field>\n @if (node.meta?.['title']) {\n <ax-label>\n {{ node.meta?.['title'] | translate: { scope: rootConfig.config.i18n } | async }}\n </ax-label>\n }\n <ng-container axp-widget-renderer [node]=\"node\" [mode]=\"'edit'\"></ng-container>\n </ax-form-field>\n }\n </div>\n <div class=\"ax-flex ax-gap-2 ax-mt-6 ax-mb-1\">\n <ax-button (onClick)=\"handleReset()\" class=\"ax-w-full\" [text]=\"'clear' | translate | async\"></ax-button>\n <ax-button\n color=\"primary\"\n [type]=\"'submit'\"\n (onClick)=\"handleApply()\"\n class=\"ax-w-full\"\n [text]=\"'apply' | translate | async\"\n ></ax-button>\n </div>\n </ax-form>\n </axp-widgets-container>\n</div>\n" }]
|
|
254
461
|
}] });
|
|
255
462
|
|
|
256
463
|
class AXMTaskBoardCalendarViewComponent {
|
|
@@ -386,12 +593,12 @@ class AXMTaskBoardGridViewComponent {
|
|
|
386
593
|
this.tasksDataSource().refresh();
|
|
387
594
|
}, ...(ngDevMode ? [{ debugName: "#dataSourceChanged" }] : []));
|
|
388
595
|
this.#providerChanged = effect(async () => {
|
|
389
|
-
const
|
|
390
|
-
if (!
|
|
596
|
+
const taskType = this.vm.selectedTaskTypes()[0];
|
|
597
|
+
if (!taskType) {
|
|
391
598
|
this.columns.set([]);
|
|
392
599
|
return;
|
|
393
600
|
}
|
|
394
|
-
|
|
601
|
+
taskType.getExtraFields().then((extraFields) => {
|
|
395
602
|
if (extraFields) {
|
|
396
603
|
this.columns.set(extraFields);
|
|
397
604
|
}
|
|
@@ -412,7 +619,7 @@ class AXMTaskBoardGridViewComponent {
|
|
|
412
619
|
this.onActionClick.emit({ nativeEvent: e.nativeEvent, task });
|
|
413
620
|
}
|
|
414
621
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardGridViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
415
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardGridViewComponent, isStandalone: true, selector: "axm-task-board-grid-view", inputs: { dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onTaskClick: "onTaskClick", onActionClick: "onActionClick" }, ngImport: i0, template: "<ax-data-table\n [fetchDataMode]=\"'manual'\"\n [dataSource]=\"tasksDataSource()\"\n (onRowClick)=\"handleRowClick($event)\"\n [loading]=\"{ enabled: true, animation: true }\"\n>\n <ax-text-column dataField=\"title\" caption=\"title\" [width]=\"'350px'\"></ax-text-column>\n <ax-text-column dataField=\"description\" caption=\"description\" [width]=\"'500px'\"></ax-text-column>\n <ax-text-column dataField=\"startDate\" caption=\"Start Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"endDate\" caption=\"Due Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"priority\" caption=\"priority\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"reporter\" caption=\"Reporter\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"assignee\" caption=\"Assignee\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"statusTitle\" caption=\"status\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"type\" caption=\"type\" [width]=\"'150px'\"></ax-text-column>\n\n @if (columns().length) {\n <ng-container>\n @for (column of columns(); track column) {\n <axp-widget-column-renderer\n [node]=\"column.widget\"\n [caption]=\"(column.title | translate | async)!\"\n ></axp-widget-column-renderer>\n }\n </ng-container>\n }\n\n <ax-command-column\n fixed=\"end\"\n [width]=\"'60px'\"\n (onItemClick)=\"onActionClickHandler($event)\"\n [items]=\"[{ name: 'view', text: 'View', icon: 'ax-icon ax-icon-more-horizontal' }]\"\n ></ax-command-column>\n</ax-data-table>\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"], dependencies: [{ kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i1$
|
|
622
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardGridViewComponent, isStandalone: true, selector: "axm-task-board-grid-view", inputs: { dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onTaskClick: "onTaskClick", onActionClick: "onActionClick" }, ngImport: i0, template: "<ax-data-table\n [fetchDataMode]=\"'manual'\"\n [dataSource]=\"tasksDataSource()\"\n (onRowClick)=\"handleRowClick($event)\"\n [loading]=\"{ enabled: true, animation: true }\"\n>\n <ax-text-column dataField=\"title\" caption=\"title\" [width]=\"'350px'\"></ax-text-column>\n <ax-text-column dataField=\"description\" caption=\"description\" [width]=\"'500px'\"></ax-text-column>\n <ax-text-column dataField=\"startDate\" caption=\"Start Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"endDate\" caption=\"Due Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"priority\" caption=\"priority\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"reporter\" caption=\"Reporter\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"assignee\" caption=\"Assignee\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"statusTitle\" caption=\"status\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"type\" caption=\"type\" [width]=\"'150px'\"></ax-text-column>\n\n @if (columns().length) {\n <ng-container>\n @for (column of columns(); track column) {\n <axp-widget-column-renderer\n [node]=\"column.widget\"\n [caption]=\"(column.title | translate | async)!\"\n ></axp-widget-column-renderer>\n }\n </ng-container>\n }\n\n <ax-command-column\n fixed=\"end\"\n [width]=\"'60px'\"\n (onItemClick)=\"onActionClickHandler($event)\"\n [items]=\"[{ name: 'view', text: 'View', icon: 'ax-icon ax-icon-more-horizontal' }]\"\n ></ax-command-column>\n</ax-data-table>\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"], dependencies: [{ kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i1$2.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "selectedRows", "parentField", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowDbClick", "onColumnsOrderChanged", "onColumnSizeChanged", "onPageChanged"] }, { kind: "component", type: i1$2.AXDataTableTextColumnComponent, selector: "ax-text-column", inputs: ["width", "caption", "allowSorting", "allowResizing", "fixed", "customExpandIcon", "customCollapseIcon", "dataField", "expandHandler", "wrapText", "cellTemplate", "footerTemplate", "headerTemplate", "format", "formatOptions"] }, { kind: "component", type: i1$2.AXRowCommandColumnComponent, selector: "ax-command-column", inputs: ["width", "caption", "fixed", "footerTemplate", "items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetColumnRendererComponent, selector: "axp-widget-column-renderer", inputs: ["caption", "customExpandIcon", "customCollapseIcon", "customWidth", "node", "footerTemplate", "expandHandler", "cellTemplate", "headerTemplate"] }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
416
623
|
}
|
|
417
624
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardGridViewComponent, decorators: [{
|
|
418
625
|
type: Component,
|
|
@@ -443,10 +650,16 @@ class AXMTaskBoardKanbanViewComponent {
|
|
|
443
650
|
}));
|
|
444
651
|
}, ...(ngDevMode ? [{ debugName: "kanbanTasks" }] : []));
|
|
445
652
|
this.#providerChanged = effect(async () => {
|
|
446
|
-
const
|
|
447
|
-
if (
|
|
448
|
-
this.statuses.set(
|
|
653
|
+
const taskType = this.vm.selectedTaskTypes()[0];
|
|
654
|
+
if (!taskType) {
|
|
655
|
+
this.statuses.set([]);
|
|
656
|
+
return;
|
|
449
657
|
}
|
|
658
|
+
taskType.getStatuses().then((statuses) => {
|
|
659
|
+
if (statuses) {
|
|
660
|
+
this.statuses.set(statuses);
|
|
661
|
+
}
|
|
662
|
+
});
|
|
450
663
|
}, ...(ngDevMode ? [{ debugName: "#providerChanged" }] : []));
|
|
451
664
|
}
|
|
452
665
|
ngAfterViewInit() {
|
|
@@ -459,7 +672,8 @@ class AXMTaskBoardKanbanViewComponent {
|
|
|
459
672
|
const tasks = this.tasks().map((item) => {
|
|
460
673
|
const task = event.allItems.find((t) => t.id === item.id);
|
|
461
674
|
if (task) {
|
|
462
|
-
|
|
675
|
+
const status = this.statuses().find((s) => s.key === task.statusKey);
|
|
676
|
+
return { ...item, index: task.index, status: { id: status.key, title: status.title } };
|
|
463
677
|
}
|
|
464
678
|
return item;
|
|
465
679
|
});
|
|
@@ -480,11 +694,11 @@ class AXMTaskBoardKanbanViewComponent {
|
|
|
480
694
|
}
|
|
481
695
|
}
|
|
482
696
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardKanbanViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
483
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.6", type: AXMTaskBoardKanbanViewComponent, isStandalone: true, selector: "axm-task-board-kanban-view", inputs: { tasks: { classPropertyName: "tasks", publicName: "tasks", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { tasks: "tasksChange", onTaskClick: "onTaskClick", onTaskChanged: "onTaskChanged", component: "component", onActionClick: "onActionClick" }, viewQueries: [{ propertyName: "kanbanComponent", first: true, predicate: AXKanbanComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-kanban\n [hasActions]=\"true\"\n [statuses]=\"statuses()\"\n [dataSource]=\"kanbanTasks()\"\n (onItemClick)=\"handleItemClick($event)\"\n (onSortChanged)=\"onSortChanged($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n></ax-kanban>\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"], dependencies: [{ kind: "component", type: AXKanbanComponent, selector: "ax-kanban", inputs: ["hasActions", "dragStartDelay", "statuses", "itemTemplate", "dataSource", "keyField", "indexField", "titleField", "cssClassField", "priorityField", "statusKeyField", "descriptionField", "emptyTemplate", "headerTemplate", "footerTemplate", "contentFooterTemplate", "tooltipTemplate"], outputs: ["onSortChanged", "onItemClick", "onActionClick", "onItemDblClick", "onItemRightClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
697
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.6", type: AXMTaskBoardKanbanViewComponent, isStandalone: true, selector: "axm-task-board-kanban-view", inputs: { tasks: { classPropertyName: "tasks", publicName: "tasks", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { tasks: "tasksChange", onTaskClick: "onTaskClick", onTaskChanged: "onTaskChanged", component: "component", onActionClick: "onActionClick" }, viewQueries: [{ propertyName: "kanbanComponent", first: true, predicate: AXKanbanComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<ax-kanban\n [hasActions]=\"true\"\n [statuses]=\"statuses()\"\n [dataSource]=\"kanbanTasks()\"\n (onItemClick)=\"handleItemClick($event)\"\n (onSortChanged)=\"onSortChanged($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n></ax-kanban>\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-height: 100%;--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"], dependencies: [{ kind: "component", type: AXKanbanComponent, selector: "ax-kanban", inputs: ["hasActions", "dragStartDelay", "statuses", "itemTemplate", "dataSource", "keyField", "indexField", "titleField", "cssClassField", "priorityField", "statusKeyField", "descriptionField", "emptyTemplate", "headerTemplate", "footerTemplate", "contentFooterTemplate", "tooltipTemplate"], outputs: ["onSortChanged", "onItemClick", "onActionClick", "onItemDblClick", "onItemRightClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
484
698
|
}
|
|
485
699
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardKanbanViewComponent, decorators: [{
|
|
486
700
|
type: Component,
|
|
487
|
-
args: [{ selector: 'axm-task-board-kanban-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [AXKanbanComponent], template: "<ax-kanban\n [hasActions]=\"true\"\n [statuses]=\"statuses()\"\n [dataSource]=\"kanbanTasks()\"\n (onItemClick)=\"handleItemClick($event)\"\n (onSortChanged)=\"onSortChanged($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n></ax-kanban>\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"] }]
|
|
701
|
+
args: [{ selector: 'axm-task-board-kanban-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [AXKanbanComponent], template: "<ax-kanban\n [hasActions]=\"true\"\n [statuses]=\"statuses()\"\n [dataSource]=\"kanbanTasks()\"\n (onItemClick)=\"handleItemClick($event)\"\n (onSortChanged)=\"onSortChanged($event)\"\n (onActionClick)=\"handleActionClick($event)\"\n></ax-kanban>\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-height: 100%;--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"] }]
|
|
488
702
|
}] });
|
|
489
703
|
|
|
490
704
|
class AXMTaskBoardStatusGroupedGridViewComponent {
|
|
@@ -527,7 +741,7 @@ class AXMTaskBoardStatusGroupedGridViewComponent {
|
|
|
527
741
|
});
|
|
528
742
|
}, ...(ngDevMode ? [{ debugName: "#dataChanged" }] : []));
|
|
529
743
|
this.#providerChanged = effect(async () => {
|
|
530
|
-
const provider = this.vm.
|
|
744
|
+
const provider = this.vm.selectedTaskTypes()[0];
|
|
531
745
|
provider?.getExtraFields().then((extraFields) => {
|
|
532
746
|
if (extraFields) {
|
|
533
747
|
this.columns.set(extraFields);
|
|
@@ -579,7 +793,7 @@ class AXMTaskBoardStatusGroupedGridViewComponent {
|
|
|
579
793
|
this.onActionClick.emit({ nativeEvent: e.nativeEvent, task });
|
|
580
794
|
}
|
|
581
795
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardStatusGroupedGridViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
582
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardStatusGroupedGridViewComponent, isStandalone: true, selector: "axm-task-board-status-grouped-grid-view", inputs: { provider: { classPropertyName: "provider", publicName: "provider", isSignal: true, isRequired: false, transformFunction: null }, dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onActionClick: "onActionClick" }, ngImport: i0, template: "@for (group of groupedTasks(); track group) {\n <h1 class=\"ax-text-xl ax-font-bold\">{{ group.statusInfo.title }}</h1>\n <ax-data-table\n class=\"ax-h-[300px]\"\n [fetchDataMode]=\"'manual'\"\n [dataSource]=\"group.tasks\"\n [loading]=\"{ enabled: true, animation: true }\"\n >\n <ax-text-column dataField=\"title\" caption=\"title\" [width]=\"'350px'\"></ax-text-column>\n <ax-text-column dataField=\"description\" caption=\"description\" [width]=\"'500px'\"></ax-text-column>\n <ax-text-column dataField=\"startDate\" caption=\"Start Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"endDate\" caption=\"Due Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"priority\" caption=\"priority\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"reporter\" caption=\"Reporter\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"assignee\" caption=\"Assignee\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"priority\" caption=\"priority\" [width]=\"'125px'\"></ax-text-column>\n\n @for (column of columns(); track column) {\n <axp-widget-column-renderer\n [node]=\"column.widget\"\n [caption]=\"(column.title | translate | async)!\"\n ></axp-widget-column-renderer>\n }\n\n <ax-command-column\n fixed=\"end\"\n [width]=\"'60px'\"\n (onItemClick)=\"onActionClickHandler($event)\"\n [items]=\"[{ name: 'view', text: 'View', icon: 'ax-icon ax-icon-more-horizontal' }]\"\n ></ax-command-column>\n </ax-data-table>\n}\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"], dependencies: [{ kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i1$
|
|
796
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardStatusGroupedGridViewComponent, isStandalone: true, selector: "axm-task-board-status-grouped-grid-view", inputs: { provider: { classPropertyName: "provider", publicName: "provider", isSignal: true, isRequired: false, transformFunction: null }, dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onActionClick: "onActionClick" }, ngImport: i0, template: "@for (group of groupedTasks(); track group) {\n <h1 class=\"ax-text-xl ax-font-bold\">{{ group.statusInfo.title }}</h1>\n <ax-data-table\n class=\"ax-h-[300px]\"\n [fetchDataMode]=\"'manual'\"\n [dataSource]=\"group.tasks\"\n [loading]=\"{ enabled: true, animation: true }\"\n >\n <ax-text-column dataField=\"title\" caption=\"title\" [width]=\"'350px'\"></ax-text-column>\n <ax-text-column dataField=\"description\" caption=\"description\" [width]=\"'500px'\"></ax-text-column>\n <ax-text-column dataField=\"startDate\" caption=\"Start Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"endDate\" caption=\"Due Date\" [width]=\"'150px'\"></ax-text-column>\n <ax-text-column dataField=\"priority\" caption=\"priority\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"reporter\" caption=\"Reporter\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"assignee\" caption=\"Assignee\" [width]=\"'125px'\"></ax-text-column>\n <ax-text-column dataField=\"priority\" caption=\"priority\" [width]=\"'125px'\"></ax-text-column>\n\n @for (column of columns(); track column) {\n <axp-widget-column-renderer\n [node]=\"column.widget\"\n [caption]=\"(column.title | translate | async)!\"\n ></axp-widget-column-renderer>\n }\n\n <ax-command-column\n fixed=\"end\"\n [width]=\"'60px'\"\n (onItemClick)=\"onActionClickHandler($event)\"\n [items]=\"[{ name: 'view', text: 'View', icon: 'ax-icon ax-icon-more-horizontal' }]\"\n ></ax-command-column>\n </ax-data-table>\n}\n", styles: ["ax-kanban{--ax-comp-kanban-status-min-width: 25rem;height:100%;line-height:1.5}\n"], dependencies: [{ kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i1$2.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "selectedRows", "parentField", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowDbClick", "onColumnsOrderChanged", "onColumnSizeChanged", "onPageChanged"] }, { kind: "component", type: i1$2.AXDataTableTextColumnComponent, selector: "ax-text-column", inputs: ["width", "caption", "allowSorting", "allowResizing", "fixed", "customExpandIcon", "customCollapseIcon", "dataField", "expandHandler", "wrapText", "cellTemplate", "footerTemplate", "headerTemplate", "format", "formatOptions"] }, { kind: "component", type: i1$2.AXRowCommandColumnComponent, selector: "ax-command-column", inputs: ["width", "caption", "fixed", "footerTemplate", "items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetColumnRendererComponent, selector: "axp-widget-column-renderer", inputs: ["caption", "customExpandIcon", "customCollapseIcon", "customWidth", "node", "footerTemplate", "expandHandler", "cellTemplate", "headerTemplate"] }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
583
797
|
}
|
|
584
798
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardStatusGroupedGridViewComponent, decorators: [{
|
|
585
799
|
type: Component,
|
|
@@ -682,8 +896,10 @@ class AXMTaskBoardPage extends AXPPageLayoutBaseComponent {
|
|
|
682
896
|
: { key: firstCategory.key, text: firstCategory.text, icon: firstCategory.icon };
|
|
683
897
|
}, ...(ngDevMode ? [{ debugName: "selectedViewMode" }] : []));
|
|
684
898
|
this.filter = computed(() => {
|
|
685
|
-
const
|
|
686
|
-
const types =
|
|
899
|
+
const taskTypeNames = this.vm.selectedTaskTypeNames();
|
|
900
|
+
const types = taskTypeNames.length > 0 ? taskTypeNames : undefined;
|
|
901
|
+
const assigneeIds = this.vm.selectedAssigneeIds();
|
|
902
|
+
const priorities = this.vm.selectedPriorities();
|
|
687
903
|
let from = this.calendarService.create(this.vm.currentDate(), this.localeService.activeProfile().calendar.system);
|
|
688
904
|
let end;
|
|
689
905
|
const currentView = this.vm.currentViewMode();
|
|
@@ -702,26 +918,38 @@ class AXMTaskBoardPage extends AXPPageLayoutBaseComponent {
|
|
|
702
918
|
}
|
|
703
919
|
return {
|
|
704
920
|
...(types && { types }),
|
|
921
|
+
...(assigneeIds.length > 0 && { assigneeIds }),
|
|
922
|
+
...(priorities.length > 0 && { priorities }),
|
|
705
923
|
range: { from: from.date, end: end.date },
|
|
706
924
|
};
|
|
707
925
|
}, ...(ngDevMode ? [{ debugName: "filter" }] : []));
|
|
708
926
|
this.contextMenu = viewChild('rootContextMenu', ...(ngDevMode ? [{ debugName: "contextMenu" }] : []));
|
|
709
927
|
this.schedulerDataSource = (filter) => {
|
|
710
|
-
const
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
928
|
+
const finalFilter = { ...this.filter(), ...filter };
|
|
929
|
+
return this.taskBoardService.getTasks(finalFilter).then((result) => {
|
|
930
|
+
this.validateSelectedTask(result.items);
|
|
931
|
+
return result.items;
|
|
932
|
+
});
|
|
714
933
|
};
|
|
715
934
|
this.gridDataSource = (filter) => {
|
|
716
|
-
const
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
935
|
+
const finalFilter = { ...this.filter(), ...filter };
|
|
936
|
+
return this.taskBoardService.getTasks(finalFilter).then((result) => {
|
|
937
|
+
this.validateSelectedTask(result.items);
|
|
938
|
+
return result;
|
|
939
|
+
});
|
|
720
940
|
};
|
|
721
941
|
this.resolvedTasks = signal([], ...(ngDevMode ? [{ debugName: "resolvedTasks" }] : []));
|
|
722
942
|
this.eff = effect(async () => {
|
|
723
|
-
|
|
943
|
+
const viewMode = this.vm.currentViewMode();
|
|
944
|
+
const filter = this.filter();
|
|
945
|
+
if (viewMode === 'kanban') {
|
|
946
|
+
await this.taskResolveHandler(filter);
|
|
947
|
+
}
|
|
724
948
|
}, ...(ngDevMode ? [{ debugName: "eff" }] : []));
|
|
949
|
+
this.refreshEffect = effect(() => {
|
|
950
|
+
this.vm.selectedTaskTypeNames();
|
|
951
|
+
this.schedulerComponent()?.refresh();
|
|
952
|
+
}, ...(ngDevMode ? [{ debugName: "refreshEffect" }] : []));
|
|
725
953
|
this.rangeBasedViews = [
|
|
726
954
|
'grid',
|
|
727
955
|
'kanban',
|
|
@@ -791,12 +1019,10 @@ class AXMTaskBoardPage extends AXPPageLayoutBaseComponent {
|
|
|
791
1019
|
},
|
|
792
1020
|
];
|
|
793
1021
|
}
|
|
794
|
-
async taskResolveHandler() {
|
|
795
|
-
const
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
this.resolvedTasks.set(result.items);
|
|
799
|
-
}
|
|
1022
|
+
async taskResolveHandler(filter = this.filter()) {
|
|
1023
|
+
const result = await this.taskBoardService.getTasks(filter);
|
|
1024
|
+
this.validateSelectedTask(result.items);
|
|
1025
|
+
this.resolvedTasks.set(result.items);
|
|
800
1026
|
}
|
|
801
1027
|
schedulerComponentChanged(component) {
|
|
802
1028
|
this.schedulerComponent.set(component);
|
|
@@ -839,10 +1065,6 @@ class AXMTaskBoardPage extends AXPPageLayoutBaseComponent {
|
|
|
839
1065
|
this.popover()?.close();
|
|
840
1066
|
dropdownPanel.close();
|
|
841
1067
|
}
|
|
842
|
-
handleSelectedTaskTypeChange(taskType) {
|
|
843
|
-
this.vm.setSelectedTaskTypeProvider(taskType);
|
|
844
|
-
this.schedulerComponent()?.refresh();
|
|
845
|
-
}
|
|
846
1068
|
handleContextMenuItemClick(event) {
|
|
847
1069
|
this.taskBoardService.executeCommand(event.item.data?.command, this.currentTask()?.provider ?? '');
|
|
848
1070
|
}
|
|
@@ -957,17 +1179,34 @@ class AXMTaskBoardPage extends AXPPageLayoutBaseComponent {
|
|
|
957
1179
|
setActiveTask(task) {
|
|
958
1180
|
this.vm.selectTask(task);
|
|
959
1181
|
}
|
|
1182
|
+
/**
|
|
1183
|
+
* Checks if the currently selected task is still present in the list of visible tasks.
|
|
1184
|
+
* If not, it clears the selection to prevent showing details for a hidden task.
|
|
1185
|
+
* @param visibleTasks The new array of tasks that will be displayed.
|
|
1186
|
+
*/
|
|
1187
|
+
validateSelectedTask(visibleTasks) {
|
|
1188
|
+
const currentSelectedTask = this.vm.selectedTask();
|
|
1189
|
+
// Proceed only if a task is actually selected
|
|
1190
|
+
if (currentSelectedTask) {
|
|
1191
|
+
// Check if any task in the new list has the same ID as the selected one
|
|
1192
|
+
const isSelectedTaskVisible = visibleTasks.some((task) => task.id === currentSelectedTask.id);
|
|
1193
|
+
// If the selected task is NOT in the new list, clear the selection.
|
|
1194
|
+
if (!isSelectedTaskVisible) {
|
|
1195
|
+
this.vm.selectTask(null);
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
960
1199
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
961
1200
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMTaskBoardPage, isStandalone: true, selector: "ng-component", providers: [
|
|
962
1201
|
{
|
|
963
1202
|
provide: AXPPageLayoutBase,
|
|
964
1203
|
useExisting: AXMTaskBoardPage,
|
|
965
1204
|
},
|
|
966
|
-
], viewQueries: [{ propertyName: "popover", first: true, predicate: ["popover"], descendants: true, isSignal: true }, { propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true, isSignal: true }, { propertyName: "contextMenu", first: true, predicate: ["rootContextMenu"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n <axp-page-toolbar>\n <axp-layout-prefix class=\"sm:ax-flex-row ax-flex-col ax-items-start\">\n <ax-button [text]=\"(t('task-board.view.' + selectedViewMode().text, { scope: rootConfig.config.i18n}) | async)!\">\n <ax-prefix><ax-icon [icon]=\"selectedViewMode().icon\"></ax-icon></ax-prefix>\n <ax-dropdown-panel #dropdownPanel>\n <ax-menu [orientation]=\"'vertical'\" class=\"ax-menu-container\">\n @for (category of menuItems(); track category.key) {\n <ng-container>\n @if (category.children && category.children.length > 0) {\n <ax-menu-item>\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n @for (child of category.children; track child.key) {\n <ax-menu-item (onClick)=\"handleViewChange(child.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"child.icon\"></ax-icon>\n </ax-prefix>\n <ax-text\n >{{ (t('task-board.view.' + child.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text\n >\n </ax-menu-item>\n }\n </ax-menu-item>\n } @else {\n <ax-menu-item (onClick)=\"handleViewChange(category.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n </ax-menu-item>\n }\n </ng-container>\n }\n </ax-menu>\n </ax-dropdown-panel>\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-caret-down\"></ax-icon>\n </ax-suffix>\n </ax-button>\n\n <div class=\"ax-scheduler-header ax-w-max ax-sm sm:ax-md\">\n <ax-button look=\"blank\" (onClick)=\"changeDate(false)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-left arrow-icon\"></ax-icon>\n </ax-button>\n <ax-button look=\"blank\" [text]=\"timeText()\" #date></ax-button>\n <ax-button look=\"blank\" (onClick)=\"changeDate(true)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-right arrow-icon\"></ax-icon>\n </ax-button>\n <ax-popover [target]=\"date\" [placement]=\"'bottom'\" #popover [adaptivityEnabled]=\"true\">\n <div class=\"ax-overlay-pane\">\n <ax-calendar\n #calendar\n [type]=\"calendarType()\"\n [depth]=\"calendarDepth()\"\n [cellClass]=\"getCellClass\"\n [ngModel]=\"vm.currentDate()\"\n class=\"ax-single-range-calendar\"\n (onSlotClick)=\"handleCalendarSlotClick($event)\"\n >\n <ax-footer>\n <ax-button\n look=\"link\"\n color=\"primary\"\n [text]=\"todayButtonText()\"\n (onClick)=\"handleTodayClick()\"\n ></ax-button>\n </ax-footer>\n </ax-calendar>\n </div>\n </ax-popover>\n </div>\n </axp-layout-prefix>\n <axp-layout-suffix>\n <ax-button
|
|
1205
|
+
], viewQueries: [{ propertyName: "popover", first: true, predicate: ["popover"], descendants: true, isSignal: true }, { propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true, isSignal: true }, { propertyName: "contextMenu", first: true, predicate: ["rootContextMenu"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n <axp-page-toolbar>\n <axp-layout-prefix class=\"sm:ax-flex-row ax-flex-col ax-items-start\">\n <ax-button [text]=\"(t('task-board.view.' + selectedViewMode().text, { scope: rootConfig.config.i18n}) | async)!\">\n <ax-prefix><ax-icon [icon]=\"selectedViewMode().icon\"></ax-icon></ax-prefix>\n <ax-dropdown-panel #dropdownPanel>\n <ax-menu [orientation]=\"'vertical'\" class=\"ax-menu-container\">\n @for (category of menuItems(); track category.key) {\n <ng-container>\n @if (category.children && category.children.length > 0) {\n <ax-menu-item>\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n @for (child of category.children; track child.key) {\n <ax-menu-item (onClick)=\"handleViewChange(child.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"child.icon\"></ax-icon>\n </ax-prefix>\n <ax-text\n >{{ (t('task-board.view.' + child.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text\n >\n </ax-menu-item>\n }\n </ax-menu-item>\n } @else {\n <ax-menu-item (onClick)=\"handleViewChange(category.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n </ax-menu-item>\n }\n </ng-container>\n }\n </ax-menu>\n </ax-dropdown-panel>\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-caret-down\"></ax-icon>\n </ax-suffix>\n </ax-button>\n\n <div class=\"ax-scheduler-header ax-w-max ax-sm sm:ax-md\">\n <ax-button look=\"blank\" (onClick)=\"changeDate(false)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-left arrow-icon\"></ax-icon>\n </ax-button>\n <ax-button look=\"blank\" [text]=\"timeText()\" #date></ax-button>\n <ax-button look=\"blank\" (onClick)=\"changeDate(true)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-right arrow-icon\"></ax-icon>\n </ax-button>\n <ax-popover [target]=\"date\" [placement]=\"'bottom'\" #popover [adaptivityEnabled]=\"true\">\n <div class=\"ax-overlay-pane\">\n <ax-calendar\n #calendar\n [type]=\"calendarType()\"\n [depth]=\"calendarDepth()\"\n [cellClass]=\"getCellClass\"\n [ngModel]=\"vm.currentDate()\"\n class=\"ax-single-range-calendar\"\n (onSlotClick)=\"handleCalendarSlotClick($event)\"\n >\n <ax-footer>\n <ax-button\n look=\"link\"\n color=\"primary\"\n [text]=\"todayButtonText()\"\n (onClick)=\"handleTodayClick()\"\n ></ax-button>\n </ax-footer>\n </ax-calendar>\n </div>\n </ax-popover>\n </div>\n </axp-layout-prefix>\n\n <axp-layout-suffix>\n <ax-button [text]=\"t('task-board.filter.title', { scope: rootConfig.config.i18n }) | async\">\n <ax-prefix><ax-icon icon=\"fa-{{vm.activeFilterCount()?'solid':'light'}} fa-filter\"></ax-icon></ax-prefix>\n <ax-dropdown-panel #filterDropdownPanel (onOpened)=\"filtersComponent.resetContextToViewModel()\">\n <axm-task-board-filters\n #filtersComponent\n (applyClicked)=\"filterDropdownPanel.close()\"\n ></axm-task-board-filters>\n </ax-dropdown-panel>\n </ax-button>\n\n @if(layoutService.isLarge()) {\n <ax-button (onClick)=\"vm.toggleDetailPanel()\">\n <ax-icon icon=\"{{ vm.isDetailPanelOpen() ? 'fa-solid fa-square-info' : 'fa-light fa-square-info' }}\"></ax-icon>\n </ax-button>\n }\n </axp-layout-suffix>\n </axp-page-toolbar>\n <axp-page-content class=\"ax-flex ax-flex-row ax-gap-2\">\n @switch(vm.currentViewMode()) { @case('kanban') {\n <axm-task-board-kanban-view\n class=\"axp-kanban-container ax-h-full ax-w-full ax-min-w-0\"\n [tasks]=\"resolvedTasks()\"\n (onTaskClick)=\"setActiveTask($event)\"\n (onActionClick)=\"handleContextMenu($event)\"\n ></axm-task-board-kanban-view>\n } @case('grid') {\n <axm-task-board-grid-view\n class=\"ax-h-full ax-w-full ax-min-w-0\"\n [dataSource]=\"gridDataSource\"\n (onTaskClick)=\"setActiveTask($event)\"\n (onActionClick)=\"handleContextMenu($event)\"\n ></axm-task-board-grid-view>\n } @case('status-grouped-grid') {\n <axm-task-board-status-grouped-grid-view\n class=\"ax-flex ax-flex-col ax-gap-2 ax-w-full ax-min-w-0\"\n [dataSource]=\"gridDataSource\"\n (onActionClick)=\"handleContextMenu($event)\"\n ></axm-task-board-status-grouped-grid-view>\n } @default {\n <axm-task-board-calendar-view\n class=\"axp-scheduler-container ax-h-full ax-w-full ax-min-w-0\"\n [dataSource]=\"schedulerDataSource\"\n [startingDate]=\"vm.currentDate()\"\n (onTaskClick)=\"setActiveTask($event)\"\n [selectedView]=\"vm.currentViewMode()\"\n (onActionClick)=\"handleContextMenu($event)\"\n (onTaskRightClick)=\"handleContextMenu($event)\"\n (component)=\"schedulerComponentChanged($event)\"\n (onMonthSlotDblClicked)=\"handleMonthSlotDblClicked($event)\"\n ></axm-task-board-calendar-view>\n } }\n <ax-context-menu\n #rootContextMenu\n [closeOn]=\"'leave'\"\n [orientation]=\"'vertical'\"\n (onOpening)=\"handleContextMenuOnOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n >\n </ax-context-menu>\n @if (vm.isDetailPanelOpen() && layoutService.isLarge()) {\n <axm-task-board-detail-panel></axm-task-board-detail-panel>\n }\n </axp-page-content>\n</axp-page-layout>\n", styles: ["html[dir=rtl] axp-page-layout axp-page-toolbar axp-layout-prefix .ax-scheduler-header .arrow-icon:before{-moz-transform:scale(-1,1);-webkit-transform:scale(-1,1);-o-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scaleX(-1)}.ax-single-range-calendar .ax-range-start,.ax-single-range-calendar .ax-range-end{color:rgba(var(--ax-sys-color-on-primary-surface))!important;background-color:rgba(var(--ax-sys-color-primary-surface),.85)!important}.ax-single-range-calendar .ax-range-start:hover,.ax-single-range-calendar .ax-range-end:hover{background-color:rgba(var(--ax-sys-color-primary-surface))!important}.ax-single-range-calendar .ax-range-start.ax-state-holiday,.ax-single-range-calendar .ax-range-end.ax-state-holiday{background-color:rgba(var(--ax-sys-color-danger-surface),.85)!important}.ax-single-range-calendar .ax-range-between{color:rgba(var(--ax-sys-color-on-primary-surface))!important;background-color:rgba(var(--ax-sys-color-primary-surface),.65)}.ax-single-range-calendar .ax-range-between.ax-state-holiday{background-color:rgba(var(--ax-sys-color-danger-surface),.65)}.ax-single-range-calendar ax-footer{display:flex;justify-content:center;border-color:rgba(var(--ax-comp-calendar-view-header-border-color));border-top-width:var(--ax-comp-calendar-view-header-border-width, 1px)}axp-page-content:not(:has(axm-task-board-status-grouped-grid-view,axm-task-board-time-grouped-grid-view)){overflow-y:hidden}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type:
|
|
967
1206
|
//
|
|
968
|
-
AXMenuModule }, { kind: "component", type: i2.AXMenuItemComponent, selector: "ax-menu-item", inputs: ["name", "data", "disabled", "color"], outputs: ["onClick"] }, { kind: "component", type: i2.AXMenuComponent, selector: "ax-menu", inputs: ["orientation", "openOn", "closeOn", "items", "hasArrow"], outputs: ["onItemClick"] }, { kind: "component", type: i2.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.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: "
|
|
1207
|
+
AXMenuModule }, { kind: "component", type: i2.AXMenuItemComponent, selector: "ax-menu-item", inputs: ["name", "data", "disabled", "color"], outputs: ["onClick"] }, { kind: "component", type: i2.AXMenuComponent, selector: "ax-menu", inputs: ["orientation", "openOn", "closeOn", "items", "hasArrow"], outputs: ["onItemClick"] }, { kind: "component", type: i2.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.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: AXTranslationModule }, { kind: "directive", type: i4.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i5.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: AXLoadingModule }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
969
1208
|
//
|
|
970
|
-
AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "component", type: AXMTaskBoardCalendarViewComponent, selector: "axm-task-board-calendar-view", inputs: ["startingDate", "selectedView", "dataSource"], outputs: ["onTaskClick", "onTaskChanged", "onMonthSlotDblClicked", "onActionClick", "component", "onTaskRightClick", "onRangeChanged"] }, { kind: "component", type: AXMTaskBoardKanbanViewComponent, selector: "axm-task-board-kanban-view", inputs: ["tasks"], outputs: ["tasksChange", "onTaskClick", "onTaskChanged", "component", "onActionClick"] }, { kind: "component", type: AXMTaskBoardGridViewComponent, selector: "axm-task-board-grid-view", inputs: ["dataSource"], outputs: ["onTaskClick", "onActionClick"] }, { kind: "component", type: AXMTaskBoardStatusGroupedGridViewComponent, selector: "axm-task-board-status-grouped-grid-view", inputs: ["provider", "dataSource"], outputs: ["onActionClick"] }, { kind: "component", type: AXMTaskBoardDetailPanel, selector: "axm-task-board-detail-panel" }, { kind: "component", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i6.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXCalendarComponent, selector: "ax-calendar", inputs: ["rtl", "readonly", "value", "name", "disabled", "depth", "activeView", "minValue", "maxValue", "disabledDates", "holidayDates", "type", "cellTemplate", "cellClass", "showNavigation", "count", "id"], outputs: ["onOptionChanged", "valueChange", "onValueChanged", "minValueChange", "maxValueChange", "onBlur", "onFocus", "depthChange", "typeChange", "activeViewChange", "disabledDatesChange", "holidayDatesChange", "onNavigate", "onSlotClick", "countChange"] }, { kind: "pipe", type:
|
|
1209
|
+
AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "component", type: AXMTaskBoardCalendarViewComponent, selector: "axm-task-board-calendar-view", inputs: ["startingDate", "selectedView", "dataSource"], outputs: ["onTaskClick", "onTaskChanged", "onMonthSlotDblClicked", "onActionClick", "component", "onTaskRightClick", "onRangeChanged"] }, { kind: "component", type: AXMTaskBoardKanbanViewComponent, selector: "axm-task-board-kanban-view", inputs: ["tasks"], outputs: ["tasksChange", "onTaskClick", "onTaskChanged", "component", "onActionClick"] }, { kind: "component", type: AXMTaskBoardGridViewComponent, selector: "axm-task-board-grid-view", inputs: ["dataSource"], outputs: ["onTaskClick", "onActionClick"] }, { kind: "component", type: AXMTaskBoardStatusGroupedGridViewComponent, selector: "axm-task-board-status-grouped-grid-view", inputs: ["provider", "dataSource"], outputs: ["onActionClick"] }, { kind: "component", type: AXMTaskBoardDetailPanel, selector: "axm-task-board-detail-panel" }, { kind: "component", type: AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i6.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXCalendarComponent, selector: "ax-calendar", inputs: ["rtl", "readonly", "value", "name", "disabled", "depth", "activeView", "minValue", "maxValue", "disabledDates", "holidayDates", "type", "cellTemplate", "cellClass", "showNavigation", "count", "id"], outputs: ["onOptionChanged", "valueChange", "onValueChanged", "minValueChange", "maxValueChange", "onBlur", "onFocus", "depthChange", "typeChange", "activeViewChange", "disabledDatesChange", "holidayDatesChange", "onNavigate", "onSlotClick", "countChange"] }, { kind: "component", type: AXMTaskBoardFiltersComponent, selector: "axm-task-board-filters", outputs: ["applyClicked"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
971
1210
|
}
|
|
972
1211
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTaskBoardPage, decorators: [{
|
|
973
1212
|
type: Component,
|
|
@@ -995,13 +1234,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
995
1234
|
AXDropdownPanelComponent,
|
|
996
1235
|
AXPopoverModule,
|
|
997
1236
|
AXCalendarComponent,
|
|
1237
|
+
AXMTaskBoardFiltersComponent,
|
|
998
1238
|
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
|
999
1239
|
{
|
|
1000
1240
|
provide: AXPPageLayoutBase,
|
|
1001
1241
|
useExisting: AXMTaskBoardPage,
|
|
1002
1242
|
},
|
|
1003
|
-
], template: "<axp-page-layout *translate=\"let t\">\n <axp-page-toolbar>\n <axp-layout-prefix class=\"sm:ax-flex-row ax-flex-col ax-items-start\">\n <ax-button [text]=\"(t('task-board.view.' + selectedViewMode().text, { scope: rootConfig.config.i18n}) | async)!\">\n <ax-prefix><ax-icon [icon]=\"selectedViewMode().icon\"></ax-icon></ax-prefix>\n <ax-dropdown-panel #dropdownPanel>\n <ax-menu [orientation]=\"'vertical'\" class=\"ax-menu-container\">\n @for (category of menuItems(); track category.key) {\n <ng-container>\n @if (category.children && category.children.length > 0) {\n <ax-menu-item>\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n @for (child of category.children; track child.key) {\n <ax-menu-item (onClick)=\"handleViewChange(child.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"child.icon\"></ax-icon>\n </ax-prefix>\n <ax-text\n >{{ (t('task-board.view.' + child.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text\n >\n </ax-menu-item>\n }\n </ax-menu-item>\n } @else {\n <ax-menu-item (onClick)=\"handleViewChange(category.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n </ax-menu-item>\n }\n </ng-container>\n }\n </ax-menu>\n </ax-dropdown-panel>\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-caret-down\"></ax-icon>\n </ax-suffix>\n </ax-button>\n\n <div class=\"ax-scheduler-header ax-w-max ax-sm sm:ax-md\">\n <ax-button look=\"blank\" (onClick)=\"changeDate(false)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-left arrow-icon\"></ax-icon>\n </ax-button>\n <ax-button look=\"blank\" [text]=\"timeText()\" #date></ax-button>\n <ax-button look=\"blank\" (onClick)=\"changeDate(true)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-right arrow-icon\"></ax-icon>\n </ax-button>\n <ax-popover [target]=\"date\" [placement]=\"'bottom'\" #popover [adaptivityEnabled]=\"true\">\n <div class=\"ax-overlay-pane\">\n <ax-calendar\n #calendar\n [type]=\"calendarType()\"\n [depth]=\"calendarDepth()\"\n [cellClass]=\"getCellClass\"\n [ngModel]=\"vm.currentDate()\"\n class=\"ax-single-range-calendar\"\n (onSlotClick)=\"handleCalendarSlotClick($event)\"\n >\n <ax-footer>\n <ax-button\n look=\"link\"\n color=\"primary\"\n [text]=\"todayButtonText()\"\n (onClick)=\"handleTodayClick()\"\n ></ax-button>\n </ax-footer>\n </ax-calendar>\n </div>\n </ax-popover>\n </div>\n </axp-layout-prefix>\n <axp-layout-suffix>\n <ax-button
|
|
1243
|
+
], template: "<axp-page-layout *translate=\"let t\">\n <axp-page-toolbar>\n <axp-layout-prefix class=\"sm:ax-flex-row ax-flex-col ax-items-start\">\n <ax-button [text]=\"(t('task-board.view.' + selectedViewMode().text, { scope: rootConfig.config.i18n}) | async)!\">\n <ax-prefix><ax-icon [icon]=\"selectedViewMode().icon\"></ax-icon></ax-prefix>\n <ax-dropdown-panel #dropdownPanel>\n <ax-menu [orientation]=\"'vertical'\" class=\"ax-menu-container\">\n @for (category of menuItems(); track category.key) {\n <ng-container>\n @if (category.children && category.children.length > 0) {\n <ax-menu-item>\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n @for (child of category.children; track child.key) {\n <ax-menu-item (onClick)=\"handleViewChange(child.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"child.icon\"></ax-icon>\n </ax-prefix>\n <ax-text\n >{{ (t('task-board.view.' + child.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text\n >\n </ax-menu-item>\n }\n </ax-menu-item>\n } @else {\n <ax-menu-item (onClick)=\"handleViewChange(category.key,dropdownPanel)\">\n <ax-prefix>\n <ax-icon [icon]=\"category.icon\"></ax-icon>\n </ax-prefix>\n <ax-text>{{ (t('task-board.' + category.text, { scope: rootConfig.config.i18n}) | async)! }}</ax-text>\n </ax-menu-item>\n }\n </ng-container>\n }\n </ax-menu>\n </ax-dropdown-panel>\n <ax-suffix>\n <ax-icon icon=\"fa-light fa-caret-down\"></ax-icon>\n </ax-suffix>\n </ax-button>\n\n <div class=\"ax-scheduler-header ax-w-max ax-sm sm:ax-md\">\n <ax-button look=\"blank\" (onClick)=\"changeDate(false)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-left arrow-icon\"></ax-icon>\n </ax-button>\n <ax-button look=\"blank\" [text]=\"timeText()\" #date></ax-button>\n <ax-button look=\"blank\" (onClick)=\"changeDate(true)\">\n <ax-icon class=\"ax-icon ax-text-xl ax-icon-chevron-right arrow-icon\"></ax-icon>\n </ax-button>\n <ax-popover [target]=\"date\" [placement]=\"'bottom'\" #popover [adaptivityEnabled]=\"true\">\n <div class=\"ax-overlay-pane\">\n <ax-calendar\n #calendar\n [type]=\"calendarType()\"\n [depth]=\"calendarDepth()\"\n [cellClass]=\"getCellClass\"\n [ngModel]=\"vm.currentDate()\"\n class=\"ax-single-range-calendar\"\n (onSlotClick)=\"handleCalendarSlotClick($event)\"\n >\n <ax-footer>\n <ax-button\n look=\"link\"\n color=\"primary\"\n [text]=\"todayButtonText()\"\n (onClick)=\"handleTodayClick()\"\n ></ax-button>\n </ax-footer>\n </ax-calendar>\n </div>\n </ax-popover>\n </div>\n </axp-layout-prefix>\n\n <axp-layout-suffix>\n <ax-button [text]=\"t('task-board.filter.title', { scope: rootConfig.config.i18n }) | async\">\n <ax-prefix><ax-icon icon=\"fa-{{vm.activeFilterCount()?'solid':'light'}} fa-filter\"></ax-icon></ax-prefix>\n <ax-dropdown-panel #filterDropdownPanel (onOpened)=\"filtersComponent.resetContextToViewModel()\">\n <axm-task-board-filters\n #filtersComponent\n (applyClicked)=\"filterDropdownPanel.close()\"\n ></axm-task-board-filters>\n </ax-dropdown-panel>\n </ax-button>\n\n @if(layoutService.isLarge()) {\n <ax-button (onClick)=\"vm.toggleDetailPanel()\">\n <ax-icon icon=\"{{ vm.isDetailPanelOpen() ? 'fa-solid fa-square-info' : 'fa-light fa-square-info' }}\"></ax-icon>\n </ax-button>\n }\n </axp-layout-suffix>\n </axp-page-toolbar>\n <axp-page-content class=\"ax-flex ax-flex-row ax-gap-2\">\n @switch(vm.currentViewMode()) { @case('kanban') {\n <axm-task-board-kanban-view\n class=\"axp-kanban-container ax-h-full ax-w-full ax-min-w-0\"\n [tasks]=\"resolvedTasks()\"\n (onTaskClick)=\"setActiveTask($event)\"\n (onActionClick)=\"handleContextMenu($event)\"\n ></axm-task-board-kanban-view>\n } @case('grid') {\n <axm-task-board-grid-view\n class=\"ax-h-full ax-w-full ax-min-w-0\"\n [dataSource]=\"gridDataSource\"\n (onTaskClick)=\"setActiveTask($event)\"\n (onActionClick)=\"handleContextMenu($event)\"\n ></axm-task-board-grid-view>\n } @case('status-grouped-grid') {\n <axm-task-board-status-grouped-grid-view\n class=\"ax-flex ax-flex-col ax-gap-2 ax-w-full ax-min-w-0\"\n [dataSource]=\"gridDataSource\"\n (onActionClick)=\"handleContextMenu($event)\"\n ></axm-task-board-status-grouped-grid-view>\n } @default {\n <axm-task-board-calendar-view\n class=\"axp-scheduler-container ax-h-full ax-w-full ax-min-w-0\"\n [dataSource]=\"schedulerDataSource\"\n [startingDate]=\"vm.currentDate()\"\n (onTaskClick)=\"setActiveTask($event)\"\n [selectedView]=\"vm.currentViewMode()\"\n (onActionClick)=\"handleContextMenu($event)\"\n (onTaskRightClick)=\"handleContextMenu($event)\"\n (component)=\"schedulerComponentChanged($event)\"\n (onMonthSlotDblClicked)=\"handleMonthSlotDblClicked($event)\"\n ></axm-task-board-calendar-view>\n } }\n <ax-context-menu\n #rootContextMenu\n [closeOn]=\"'leave'\"\n [orientation]=\"'vertical'\"\n (onOpening)=\"handleContextMenuOnOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n >\n </ax-context-menu>\n @if (vm.isDetailPanelOpen() && layoutService.isLarge()) {\n <axm-task-board-detail-panel></axm-task-board-detail-panel>\n }\n </axp-page-content>\n</axp-page-layout>\n", styles: ["html[dir=rtl] axp-page-layout axp-page-toolbar axp-layout-prefix .ax-scheduler-header .arrow-icon:before{-moz-transform:scale(-1,1);-webkit-transform:scale(-1,1);-o-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scaleX(-1)}.ax-single-range-calendar .ax-range-start,.ax-single-range-calendar .ax-range-end{color:rgba(var(--ax-sys-color-on-primary-surface))!important;background-color:rgba(var(--ax-sys-color-primary-surface),.85)!important}.ax-single-range-calendar .ax-range-start:hover,.ax-single-range-calendar .ax-range-end:hover{background-color:rgba(var(--ax-sys-color-primary-surface))!important}.ax-single-range-calendar .ax-range-start.ax-state-holiday,.ax-single-range-calendar .ax-range-end.ax-state-holiday{background-color:rgba(var(--ax-sys-color-danger-surface),.85)!important}.ax-single-range-calendar .ax-range-between{color:rgba(var(--ax-sys-color-on-primary-surface))!important;background-color:rgba(var(--ax-sys-color-primary-surface),.65)}.ax-single-range-calendar .ax-range-between.ax-state-holiday{background-color:rgba(var(--ax-sys-color-danger-surface),.65)}.ax-single-range-calendar ax-footer{display:flex;justify-content:center;border-color:rgba(var(--ax-comp-calendar-view-header-border-color));border-top-width:var(--ax-comp-calendar-view-header-border-width, 1px)}axp-page-content:not(:has(axm-task-board-status-grouped-grid-view,axm-task-board-time-grouped-grid-view)){overflow-y:hidden}\n"] }]
|
|
1004
1244
|
}] });
|
|
1005
1245
|
|
|
1006
1246
|
export { AXMTaskBoardPage };
|
|
1007
|
-
//# sourceMappingURL=acorex-modules-task-management-task-board.page-
|
|
1247
|
+
//# sourceMappingURL=acorex-modules-task-management-task-board.page-BBbHu2jz.mjs.map
|