@acorex/modules 20.2.0-next.1 → 20.2.0-next.3

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.
Files changed (240) hide show
  1. package/auth/index.d.ts +59 -4
  2. package/common/index.d.ts +1 -8
  3. package/contact-management/index.d.ts +69 -2
  4. package/conversation/README.md +2 -2
  5. package/conversation/index.d.ts +219 -114
  6. package/data-management/index.d.ts +5 -12
  7. package/document-management/index.d.ts +51 -4
  8. package/fesm2022/{acorex-modules-application-management-module-designer.component-udoks-Ef.mjs → acorex-modules-application-management-module-designer.component-CsZjqUAj.mjs} +7 -7
  9. package/fesm2022/{acorex-modules-application-management-module-designer.component-udoks-Ef.mjs.map → acorex-modules-application-management-module-designer.component-CsZjqUAj.mjs.map} +1 -1
  10. package/fesm2022/acorex-modules-application-management.mjs +41 -41
  11. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  12. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs → acorex-modules-auth-acorex-modules-auth-tDyQQDnk.mjs} +254 -105
  13. package/fesm2022/acorex-modules-auth-acorex-modules-auth-tDyQQDnk.mjs.map +1 -0
  14. package/fesm2022/{acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs → acorex-modules-auth-app-chooser.component-yu1DJZKN.mjs} +8 -6
  15. package/fesm2022/acorex-modules-auth-app-chooser.component-yu1DJZKN.mjs.map +1 -0
  16. package/fesm2022/{acorex-modules-auth-blank.layout-C8NsXB9K.mjs → acorex-modules-auth-blank.layout-ZjroQcdq.mjs} +4 -4
  17. package/fesm2022/{acorex-modules-auth-blank.layout-C8NsXB9K.mjs.map → acorex-modules-auth-blank.layout-ZjroQcdq.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-auth-login.module-ZEX4NMuJ.mjs → acorex-modules-auth-login.module-D1aa1F6G.mjs} +8 -8
  19. package/fesm2022/{acorex-modules-auth-login.module-ZEX4NMuJ.mjs.map → acorex-modules-auth-login.module-D1aa1F6G.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-auth-master.layout-D-lIn4Pl.mjs → acorex-modules-auth-master.layout-CGQmSlGQ.mjs} +5 -5
  21. package/fesm2022/{acorex-modules-auth-master.layout-D-lIn4Pl.mjs.map → acorex-modules-auth-master.layout-CGQmSlGQ.mjs.map} +1 -1
  22. package/fesm2022/acorex-modules-auth-oauth-callback.component-m9YiJ4e9.mjs +97 -0
  23. package/fesm2022/acorex-modules-auth-oauth-callback.component-m9YiJ4e9.mjs.map +1 -0
  24. package/fesm2022/{acorex-modules-auth-password.component-CafZfqKe.mjs → acorex-modules-auth-password.component-Cb3FJ1DZ.mjs} +9 -9
  25. package/fesm2022/{acorex-modules-auth-password.component-CafZfqKe.mjs.map → acorex-modules-auth-password.component-Cb3FJ1DZ.mjs.map} +1 -1
  26. package/fesm2022/acorex-modules-auth-password.component-CiWdX7f_.mjs +226 -0
  27. package/fesm2022/acorex-modules-auth-password.component-CiWdX7f_.mjs.map +1 -0
  28. package/fesm2022/{acorex-modules-auth-routes-D9-qfC3V.mjs → acorex-modules-auth-routes-pae8qpX9.mjs} +2 -2
  29. package/fesm2022/{acorex-modules-auth-routes-D9-qfC3V.mjs.map → acorex-modules-auth-routes-pae8qpX9.mjs.map} +1 -1
  30. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs → acorex-modules-auth-tenant-chooser.component-Bk0l3XoV.mjs} +21 -12
  31. package/fesm2022/acorex-modules-auth-tenant-chooser.component-Bk0l3XoV.mjs.map +1 -0
  32. package/fesm2022/{acorex-modules-auth-two-factor-code.component-BglerlU-.mjs → acorex-modules-auth-two-factor-code.component-DDEIajiI.mjs} +8 -8
  33. package/fesm2022/{acorex-modules-auth-two-factor-code.component-BglerlU-.mjs.map → acorex-modules-auth-two-factor-code.component-DDEIajiI.mjs.map} +1 -1
  34. package/fesm2022/{acorex-modules-auth-two-factor.module-D3N2XyOH.mjs → acorex-modules-auth-two-factor.module-DtcoHPH4.mjs} +7 -7
  35. package/fesm2022/{acorex-modules-auth-two-factor.module-D3N2XyOH.mjs.map → acorex-modules-auth-two-factor.module-DtcoHPH4.mjs.map} +1 -1
  36. package/fesm2022/acorex-modules-auth-user-sessions.component-sI6P2joA.mjs +135 -0
  37. package/fesm2022/acorex-modules-auth-user-sessions.component-sI6P2joA.mjs.map +1 -0
  38. package/fesm2022/acorex-modules-auth.mjs +1 -1
  39. package/fesm2022/acorex-modules-calendar-management.mjs +22 -22
  40. package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
  41. package/fesm2022/{acorex-modules-common-search-popup.component-DbTj01Wz.mjs → acorex-modules-common-search-popup.component-D7Y4T3Rp.mjs} +8 -8
  42. package/fesm2022/{acorex-modules-common-search-popup.component-DbTj01Wz.mjs.map → acorex-modules-common-search-popup.component-D7Y4T3Rp.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-D_6STmWm.mjs → acorex-modules-common-timeline-version-history-popup.component-ceEtE6qB.mjs} +7 -7
  44. package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-D_6STmWm.mjs.map → acorex-modules-common-timeline-version-history-popup.component-ceEtE6qB.mjs.map} +1 -1
  45. package/fesm2022/acorex-modules-common.mjs +1222 -1
  46. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  47. package/fesm2022/{acorex-modules-contact-management-acorex-modules-contact-management-CM72FkGM.mjs → acorex-modules-contact-management-acorex-modules-contact-management-Co0tt3cj.mjs} +281 -54
  48. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-Co0tt3cj.mjs.map +1 -0
  49. package/fesm2022/{acorex-modules-contact-management-address-type.entity-CW0fx3v8.mjs → acorex-modules-contact-management-address-type.entity-DQZwgXki.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-contact-management-address-type.entity-CW0fx3v8.mjs.map → acorex-modules-contact-management-address-type.entity-DQZwgXki.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-contact-management-contact-address.entity-D5OGWsSx.mjs → acorex-modules-contact-management-contact-address.entity-CFfRywsB.mjs} +2 -2
  52. package/fesm2022/{acorex-modules-contact-management-contact-address.entity-D5OGWsSx.mjs.map → acorex-modules-contact-management-contact-address.entity-CFfRywsB.mjs.map} +1 -1
  53. package/fesm2022/{acorex-modules-contact-management-contact-method.entity-Cpdd-Xwb.mjs → acorex-modules-contact-management-contact-method.entity-Ci93_mb9.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-contact-management-contact-method.entity-Cpdd-Xwb.mjs.map → acorex-modules-contact-management-contact-method.entity-Ci93_mb9.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-B_gQ7mEo.mjs → acorex-modules-contact-management-contact-relationship.entity-CqdXpqLN.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-B_gQ7mEo.mjs.map → acorex-modules-contact-management-contact-relationship.entity-CqdXpqLN.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-contact-management-contact-source.entity-BwYBaS8B.mjs → acorex-modules-contact-management-contact-source.entity-BsF9p0GK.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-contact-management-contact-source.entity-BwYBaS8B.mjs.map → acorex-modules-contact-management-contact-source.entity-BsF9p0GK.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-CDbm4Rq3.mjs → acorex-modules-contact-management-emergency-contact-category.entity-DjOm8qQb.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-CDbm4Rq3.mjs.map → acorex-modules-contact-management-emergency-contact-category.entity-DjOm8qQb.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-BpNDJPVs.mjs → acorex-modules-contact-management-emergency-contact.entity-BQyjzPR8.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-BpNDJPVs.mjs.map → acorex-modules-contact-management-emergency-contact.entity-BQyjzPR8.mjs.map} +1 -1
  63. package/fesm2022/acorex-modules-contact-management.mjs +1 -1
  64. package/fesm2022/acorex-modules-content-management.mjs +14 -36
  65. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  66. package/fesm2022/acorex-modules-conversation.mjs +1611 -1308
  67. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  68. package/fesm2022/acorex-modules-dashboard-management.mjs +76 -75
  69. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  70. package/fesm2022/acorex-modules-data-management.mjs +140 -126
  71. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  72. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-C7ot6PfT.mjs → acorex-modules-document-management-acorex-modules-document-management-DXGX-riG.mjs} +1402 -389
  73. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DXGX-riG.mjs.map +1 -0
  74. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-C6pop0RM.mjs → acorex-modules-document-management-attachment-widget.component-NaY7Mn95.mjs} +5 -5
  75. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-C6pop0RM.mjs.map → acorex-modules-document-management-attachment-widget.component-NaY7Mn95.mjs.map} +1 -1
  76. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs → acorex-modules-document-management-create-folder-dialog.component-epxEuBU5.mjs} +5 -5
  77. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs.map → acorex-modules-document-management-create-folder-dialog.component-epxEuBU5.mjs.map} +1 -1
  78. package/fesm2022/{acorex-modules-document-management-details-view.component-CzTg3hha.mjs → acorex-modules-document-management-details-view.component-CMI2Eokj.mjs} +5 -5
  79. package/fesm2022/{acorex-modules-document-management-details-view.component-CzTg3hha.mjs.map → acorex-modules-document-management-details-view.component-CMI2Eokj.mjs.map} +1 -1
  80. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs → acorex-modules-document-management-drive-choose.component-DBKgwm70.mjs} +5 -5
  81. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs.map → acorex-modules-document-management-drive-choose.component-DBKgwm70.mjs.map} +1 -1
  82. package/fesm2022/{acorex-modules-document-management-drive.component-TzRLr7rb.mjs → acorex-modules-document-management-drive.component-DoGdTL3n.mjs} +11 -10
  83. package/fesm2022/acorex-modules-document-management-drive.component-DoGdTL3n.mjs.map +1 -0
  84. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BeKFvgYU.mjs → acorex-modules-document-management-large-icons-view.component-BRsTSoln.mjs} +5 -5
  85. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BeKFvgYU.mjs.map → acorex-modules-document-management-large-icons-view.component-BRsTSoln.mjs.map} +1 -1
  86. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CQyiGE99.mjs → acorex-modules-document-management-large-tiles-view.component-CpYeYyR5.mjs} +5 -5
  87. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CQyiGE99.mjs.map → acorex-modules-document-management-large-tiles-view.component-CpYeYyR5.mjs.map} +1 -1
  88. package/fesm2022/{acorex-modules-document-management-link-dialog.component-CPuOuvu-.mjs → acorex-modules-document-management-link-dialog.component-ZteosW8O.mjs} +4 -4
  89. package/fesm2022/{acorex-modules-document-management-link-dialog.component-CPuOuvu-.mjs.map → acorex-modules-document-management-link-dialog.component-ZteosW8O.mjs.map} +1 -1
  90. package/fesm2022/{acorex-modules-document-management-list-view.component-CWGGArxw.mjs → acorex-modules-document-management-list-view.component-C4VFnACA.mjs} +5 -5
  91. package/fesm2022/{acorex-modules-document-management-list-view.component-CWGGArxw.mjs.map → acorex-modules-document-management-list-view.component-C4VFnACA.mjs.map} +1 -1
  92. package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs → acorex-modules-document-management-meta-choose-popup.component-D5Csi3A3.mjs} +4 -4
  93. package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs.map → acorex-modules-document-management-meta-choose-popup.component-D5Csi3A3.mjs.map} +1 -1
  94. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-C_J1rPak.mjs → acorex-modules-document-management-meta-selector-widget-column.component-OXeS0kW8.mjs} +4 -4
  95. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-C_J1rPak.mjs.map → acorex-modules-document-management-meta-selector-widget-column.component-OXeS0kW8.mjs.map} +1 -1
  96. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-By_NgUX6.mjs → acorex-modules-document-management-meta-selector-widget-designer.component-BdVSGb3M.mjs} +4 -4
  97. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-By_NgUX6.mjs.map → acorex-modules-document-management-meta-selector-widget-designer.component-BdVSGb3M.mjs.map} +1 -1
  98. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-zwCw3v1w.mjs → acorex-modules-document-management-meta-selector-widget-view.component-B-Vos30P.mjs} +4 -4
  99. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-zwCw3v1w.mjs.map → acorex-modules-document-management-meta-selector-widget-view.component-B-Vos30P.mjs.map} +1 -1
  100. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs → acorex-modules-document-management-permission-definition.provider-Bc7rbWwN.mjs} +10 -2
  101. package/fesm2022/acorex-modules-document-management-permission-definition.provider-Bc7rbWwN.mjs.map +1 -0
  102. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-MPkYZl2p.mjs → acorex-modules-document-management-rename-node-dialog.component-DWUVMrVt.mjs} +5 -5
  103. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-MPkYZl2p.mjs.map → acorex-modules-document-management-rename-node-dialog.component-DWUVMrVt.mjs.map} +1 -1
  104. package/fesm2022/{acorex-modules-document-management-share-dialog.component-CLF6b1Io.mjs → acorex-modules-document-management-share-dialog.component-CkyuEAwV.mjs} +4 -4
  105. package/fesm2022/{acorex-modules-document-management-share-dialog.component-CLF6b1Io.mjs.map → acorex-modules-document-management-share-dialog.component-CkyuEAwV.mjs.map} +1 -1
  106. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-B8zNvOUv.mjs → acorex-modules-document-management-share-email-dialog.component-DXjcTOny.mjs} +4 -4
  107. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-B8zNvOUv.mjs.map → acorex-modules-document-management-share-email-dialog.component-DXjcTOny.mjs.map} +1 -1
  108. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DRVLlW1e.mjs → acorex-modules-document-management-small-icons-view.component-CCirsfoz.mjs} +5 -5
  109. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DRVLlW1e.mjs.map → acorex-modules-document-management-small-icons-view.component-CCirsfoz.mjs.map} +1 -1
  110. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C1E8RKYM.mjs → acorex-modules-document-management-small-tiles-view.component-58KZSQC4.mjs} +5 -5
  111. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C1E8RKYM.mjs.map → acorex-modules-document-management-small-tiles-view.component-58KZSQC4.mjs.map} +1 -1
  112. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  113. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-zz8KU2BM.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-DxSYInAR.mjs} +65 -67
  114. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-DxSYInAR.mjs.map +1 -0
  115. package/fesm2022/{acorex-modules-form-template-management-category.entity-g5YGQjj3.mjs → acorex-modules-form-template-management-category.entity-DeCfvNqF.mjs} +2 -2
  116. package/fesm2022/{acorex-modules-form-template-management-category.entity-g5YGQjj3.mjs.map → acorex-modules-form-template-management-category.entity-DeCfvNqF.mjs.map} +1 -1
  117. package/fesm2022/{acorex-modules-form-template-management-designer.page-DQorNK3f.mjs → acorex-modules-form-template-management-designer.page-BsjFGFOD.mjs} +4 -4
  118. package/fesm2022/{acorex-modules-form-template-management-designer.page-DQorNK3f.mjs.map → acorex-modules-form-template-management-designer.page-BsjFGFOD.mjs.map} +1 -1
  119. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-BFPqDVO3.mjs → acorex-modules-form-template-management-permission-definition.provider-CsjgxSgC.mjs} +2 -2
  120. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-BFPqDVO3.mjs.map → acorex-modules-form-template-management-permission-definition.provider-CsjgxSgC.mjs.map} +1 -1
  121. package/fesm2022/{acorex-modules-form-template-management-settings.provider-DYbrgJI7.mjs → acorex-modules-form-template-management-settings.provider-_BIGyRt8.mjs} +2 -2
  122. package/fesm2022/{acorex-modules-form-template-management-settings.provider-DYbrgJI7.mjs.map → acorex-modules-form-template-management-settings.provider-_BIGyRt8.mjs.map} +1 -1
  123. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BCg756yD.mjs +224 -0
  124. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BCg756yD.mjs.map +1 -0
  125. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CCL7xNSm.mjs → acorex-modules-form-template-management-template-widget-edit.component-DkqRsXMq.mjs} +5 -5
  126. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CCL7xNSm.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-DkqRsXMq.mjs.map} +1 -1
  127. package/fesm2022/{acorex-modules-form-template-management-template.entity-XNBsmQZY.mjs → acorex-modules-form-template-management-template.entity-CQm29n5v.mjs} +2 -2
  128. package/fesm2022/{acorex-modules-form-template-management-template.entity-XNBsmQZY.mjs.map → acorex-modules-form-template-management-template.entity-CQm29n5v.mjs.map} +1 -1
  129. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Bw9VbGx7.mjs → acorex-modules-form-template-management-viewer-popup.component-DW2Z5EcJ.mjs} +12 -19
  130. package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-DW2Z5EcJ.mjs.map +1 -0
  131. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  132. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs → acorex-modules-issue-management-acorex-modules-issue-management-a_wcGVPh.mjs} +31 -35
  133. package/fesm2022/acorex-modules-issue-management-acorex-modules-issue-management-a_wcGVPh.mjs.map +1 -0
  134. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs → acorex-modules-issue-management-capture-screen.component-CsahsE-E.mjs} +5 -5
  135. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs.map → acorex-modules-issue-management-capture-screen.component-CsahsE-E.mjs.map} +1 -1
  136. package/fesm2022/acorex-modules-issue-management.mjs +1 -1
  137. package/fesm2022/acorex-modules-locale-management-acorex-modules-locale-management-CfaOC6U5.mjs +1975 -0
  138. package/fesm2022/acorex-modules-locale-management-acorex-modules-locale-management-CfaOC6U5.mjs.map +1 -0
  139. package/fesm2022/acorex-modules-locale-management-profiles-MJ9xFTtp.mjs +19 -0
  140. package/fesm2022/acorex-modules-locale-management-profiles-MJ9xFTtp.mjs.map +1 -0
  141. package/fesm2022/{acorex-modules-common-settings.provider-DPVsF4c9.mjs → acorex-modules-locale-management-settings.provider-PKnqTses.mjs} +6 -6
  142. package/fesm2022/acorex-modules-locale-management-settings.provider-PKnqTses.mjs.map +1 -0
  143. package/fesm2022/acorex-modules-locale-management.mjs +2 -0
  144. package/fesm2022/acorex-modules-locale-management.mjs.map +1 -0
  145. package/fesm2022/acorex-modules-location-management.mjs +3139 -0
  146. package/fesm2022/acorex-modules-location-management.mjs.map +1 -0
  147. package/fesm2022/acorex-modules-log-management.mjs +160 -35
  148. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  149. package/fesm2022/acorex-modules-notification-management.mjs +180 -73
  150. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  151. package/fesm2022/{acorex-modules-organization-management-add-item.component-Dr-bwC4K.mjs → acorex-modules-organization-management-add-item.component-CzIIXsRJ.mjs} +4 -4
  152. package/fesm2022/{acorex-modules-organization-management-add-item.component-Dr-bwC4K.mjs.map → acorex-modules-organization-management-add-item.component-CzIIXsRJ.mjs.map} +1 -1
  153. package/fesm2022/acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs.map +1 -1
  154. package/fesm2022/acorex-modules-organization-management-department.entity-BxCyXNtv.mjs.map +1 -1
  155. package/fesm2022/acorex-modules-organization-management-division.entity-DzQT2jpz.mjs.map +1 -1
  156. package/fesm2022/acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs.map +1 -1
  157. package/fesm2022/acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs.map +1 -1
  158. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-a2JPiCy9.mjs → acorex-modules-organization-management-org-chart-configuration.page-XXAEpYNo.mjs} +5 -5
  159. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-a2JPiCy9.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-XXAEpYNo.mjs.map} +1 -1
  160. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-BkfSow3s.mjs → acorex-modules-organization-management-org-chart-configuration.service-CIveMQUH.mjs} +4 -4
  161. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-BkfSow3s.mjs.map → acorex-modules-organization-management-org-chart-configuration.service-CIveMQUH.mjs.map} +1 -1
  162. package/fesm2022/{acorex-modules-organization-management-org-chart.page-CXhtYrCS.mjs → acorex-modules-organization-management-org-chart.page-UqJ1VOJ-.mjs} +15 -14
  163. package/fesm2022/acorex-modules-organization-management-org-chart.page-UqJ1VOJ-.mjs.map +1 -0
  164. package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs.map +1 -1
  165. package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs.map +1 -1
  166. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs.map +1 -1
  167. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs.map +1 -1
  168. package/fesm2022/acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs.map +1 -1
  169. package/fesm2022/{acorex-modules-organization-management-settings.provider-hlbUXugb.mjs → acorex-modules-organization-management-settings.provider-feVwZnkw.mjs} +6 -30
  170. package/fesm2022/acorex-modules-organization-management-settings.provider-feVwZnkw.mjs.map +1 -0
  171. package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs.map +1 -1
  172. package/fesm2022/acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs.map +1 -1
  173. package/fesm2022/acorex-modules-organization-management-team.entity-DMCfAZsr.mjs.map +1 -1
  174. package/fesm2022/acorex-modules-organization-management.mjs +128 -124
  175. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  176. package/fesm2022/{acorex-modules-platform-management-list-version.component-BOfUQDwo.mjs → acorex-modules-platform-management-list-version.component-wqhq6ek4.mjs} +4 -4
  177. package/fesm2022/{acorex-modules-platform-management-list-version.component-BOfUQDwo.mjs.map → acorex-modules-platform-management-list-version.component-wqhq6ek4.mjs.map} +1 -1
  178. package/fesm2022/acorex-modules-platform-management.mjs +91 -303
  179. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  180. package/fesm2022/acorex-modules-project-management.mjs +232 -453
  181. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  182. package/fesm2022/{acorex-modules-report-management-report-create-root.component-Cv88TDx7.mjs → acorex-modules-report-management-report-create-root.component-CFNtnshF.mjs} +4 -4
  183. package/fesm2022/{acorex-modules-report-management-report-create-root.component-Cv88TDx7.mjs.map → acorex-modules-report-management-report-create-root.component-CFNtnshF.mjs.map} +1 -1
  184. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DHu-kyCd.mjs → acorex-modules-report-management-report-runner-root-page.component-CbfJ_7Da.mjs} +7 -7
  185. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DHu-kyCd.mjs.map → acorex-modules-report-management-report-runner-root-page.component-CbfJ_7Da.mjs.map} +1 -1
  186. package/fesm2022/acorex-modules-report-management.mjs +24 -24
  187. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  188. package/fesm2022/acorex-modules-scheduler-job-management.mjs +14 -14
  189. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  190. package/fesm2022/acorex-modules-security-management.mjs +830 -258
  191. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  192. package/fesm2022/{acorex-modules-settings-management-setting-page.component-cG4ykm2g.mjs → acorex-modules-settings-management-setting-page.component-BhF5x-8D.mjs} +12 -6
  193. package/fesm2022/acorex-modules-settings-management-setting-page.component-BhF5x-8D.mjs.map +1 -0
  194. package/fesm2022/{acorex-modules-settings-management-setting-view.component-CrEK2N1U.mjs → acorex-modules-settings-management-setting-view.component-Do_gNJ2t.mjs} +4 -4
  195. package/fesm2022/{acorex-modules-settings-management-setting-view.component-CrEK2N1U.mjs.map → acorex-modules-settings-management-setting-view.component-Do_gNJ2t.mjs.map} +1 -1
  196. package/fesm2022/acorex-modules-settings-management.mjs +9 -7
  197. package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
  198. package/fesm2022/acorex-modules-task-management.mjs +5937 -0
  199. package/fesm2022/acorex-modules-task-management.mjs.map +1 -0
  200. package/fesm2022/acorex-modules-text-template-management.mjs +24 -24
  201. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  202. package/fesm2022/acorex-modules-training-management.mjs +43 -43
  203. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  204. package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs → acorex-modules-workflow-management-acorex-modules-workflow-management-DC7jdoqZ.mjs} +64 -33
  205. package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-DC7jdoqZ.mjs.map +1 -0
  206. package/fesm2022/{acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs → acorex-modules-workflow-management-task-board.page-Bv2GAPaN.mjs} +197 -183
  207. package/fesm2022/acorex-modules-workflow-management-task-board.page-Bv2GAPaN.mjs.map +1 -0
  208. package/fesm2022/acorex-modules-workflow-management.mjs +1 -1
  209. package/locale-management/README.md +3 -0
  210. package/locale-management/index.d.ts +182 -0
  211. package/location-management/README.md +3 -0
  212. package/location-management/index.d.ts +166 -0
  213. package/notification-management/index.d.ts +79 -60
  214. package/package.json +20 -8
  215. package/security-management/index.d.ts +13 -4
  216. package/task-management/README.md +189 -0
  217. package/task-management/index.d.ts +320 -0
  218. package/workflow-management/index.d.ts +10 -5
  219. package/fesm2022/acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs.map +0 -1
  220. package/fesm2022/acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs.map +0 -1
  221. package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs +0 -134
  222. package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs.map +0 -1
  223. package/fesm2022/acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs.map +0 -1
  224. package/fesm2022/acorex-modules-common-acorex-modules-common-D06CT4CO.mjs +0 -1657
  225. package/fesm2022/acorex-modules-common-acorex-modules-common-D06CT4CO.mjs.map +0 -1
  226. package/fesm2022/acorex-modules-common-settings.provider-DPVsF4c9.mjs.map +0 -1
  227. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-CM72FkGM.mjs.map +0 -1
  228. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C7ot6PfT.mjs.map +0 -1
  229. package/fesm2022/acorex-modules-document-management-drive.component-TzRLr7rb.mjs.map +0 -1
  230. package/fesm2022/acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs.map +0 -1
  231. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-zz8KU2BM.mjs.map +0 -1
  232. package/fesm2022/acorex-modules-form-template-management-template-picker.component-DgH_DUIB.mjs +0 -196
  233. package/fesm2022/acorex-modules-form-template-management-template-picker.component-DgH_DUIB.mjs.map +0 -1
  234. package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-Bw9VbGx7.mjs.map +0 -1
  235. package/fesm2022/acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs.map +0 -1
  236. package/fesm2022/acorex-modules-organization-management-org-chart.page-CXhtYrCS.mjs.map +0 -1
  237. package/fesm2022/acorex-modules-organization-management-settings.provider-hlbUXugb.mjs.map +0 -1
  238. package/fesm2022/acorex-modules-settings-management-setting-page.component-cG4ykm2g.mjs.map +0 -1
  239. package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs.map +0 -1
  240. package/fesm2022/acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs.map +0 -1
@@ -1,21 +1,22 @@
1
- import { AXMEntityCrudServiceImpl, AXPEntityService, AXPEntityResolver, AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
2
- import * as i0 from '@angular/core';
3
- import { Injectable, inject, Injector, NgModule, signal, input, output, computed, ViewEncapsulation, Component, ViewChild, effect, ChangeDetectionStrategy } from '@angular/core';
4
- import { AXPEntityCommandScope, AXPEntityQueryType, AXPSearchCommandProvider, AXPRefreshEvent, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
5
- import * as i1 from '@acorex/platform/workflow';
6
- import { AXPWorkflowAction, AXPWorkflowModule, createWorkFlowEvent, AXPWorkflowService } from '@acorex/platform/workflow';
7
- import { AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
8
- import { AXP_USER_AVATAR_PROVIDER, AXPThemeLayoutBlockComponent } from '@acorex/platform/layout/components';
1
+ import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSearchCommandProvider, AXPRefreshEvent, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
9
2
  import * as i2 from '@acorex/platform/layout/builder';
10
3
  import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXPLayoutBuilderModule, AXPValueWidgetComponent, AXPColumnWidgetComponent, AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
4
+ import { AXMDeviceSessionsService, AXMDeviceSessionsServiceImpl } from '@acorex/modules/auth';
5
+ import * as i0 from '@angular/core';
6
+ import { NgModule, Injectable, inject, Injector, signal, input, output, computed, ViewEncapsulation, Component, ViewChild, effect, ChangeDetectionStrategy } from '@angular/core';
7
+ import { AXMEntityCrudServiceImpl, AXPEntityService, AXPEntityResolver, AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
8
+ import * as i1 from '@acorex/platform/workflow';
9
+ import { createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowModule, AXPWorkflowService } from '@acorex/platform/workflow';
11
10
  import { AXPSessionService, AXPPermissionDefinitionService } from '@acorex/platform/auth';
12
11
  import { AXDataSource } from '@acorex/cdk/common';
13
- import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
14
- import { AXPopupService } from '@acorex/components/popup';
15
- import * as i3$1 from '@acorex/core/translation';
16
- import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
17
12
  import { AXDialogService } from '@acorex/components/dialog';
18
13
  import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
14
+ import * as i3$1 from '@acorex/core/translation';
15
+ import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
16
+ import { AXP_USER_AVATAR_PROVIDER, AXPThemeLayoutBlockComponent } from '@acorex/platform/layout/components';
17
+ import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
18
+ import { AXPopupService } from '@acorex/components/popup';
19
+ import { AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
19
20
  import * as i1$1 from '@angular/common';
20
21
  import { CommonModule } from '@angular/common';
21
22
  import { AXFormModule } from '@acorex/components/form';
@@ -71,8 +72,547 @@ const RootConfig = {
71
72
  title: `t("profile",{scope:"${config.i18n}"})`,
72
73
  icon: 'fa-light fa-user',
73
74
  },
74
- },
75
- };
75
+ },
76
+ };
77
+
78
+ async function factory$3(injector) {
79
+ const dataService = injector.get(AXMDeviceSessionsService);
80
+ const i18n = RootConfig.config.i18n;
81
+ const entityDef = {
82
+ module: RootConfig.module.name,
83
+ name: RootConfig.entities.deviceSessions.name,
84
+ source: '',
85
+ title: RootConfig.entities.deviceSessions.title,
86
+ formats: {
87
+ individual: RootConfig.entities.deviceSessions.title,
88
+ plural: RootConfig.entities.deviceSessions.titlePlural,
89
+ searchResult: {
90
+ title: '{{ title }}',
91
+ description: RootConfig.module.title,
92
+ },
93
+ },
94
+ relatedEntities: [],
95
+ groups: [
96
+ {
97
+ id: 'section',
98
+ title: RootConfig.entities.deviceSessions.title,
99
+ },
100
+ {
101
+ id: 'device',
102
+ title: `t('device', { scope: "${i18n}" })`,
103
+ },
104
+ {
105
+ id: 'session',
106
+ title: `t('session', { scope: "${i18n}" })`,
107
+ },
108
+ ],
109
+ properties: [
110
+ {
111
+ name: 'tenant.name',
112
+ title: `t('tenant', { scope: "${i18n}" })`,
113
+ groupId: 'section',
114
+ options: {
115
+ sort: {
116
+ enabled: true,
117
+ },
118
+ },
119
+ schema: {
120
+ dataType: 'string',
121
+ interface: {
122
+ type: AXPWidgetsCatalog.text,
123
+ },
124
+ },
125
+ validations: [
126
+ {
127
+ rule: 'required',
128
+ },
129
+ ],
130
+ },
131
+ {
132
+ name: 'user.name',
133
+ title: `t('user', { scope: "${i18n}" })`,
134
+ groupId: 'section',
135
+ options: {
136
+ sort: {
137
+ enabled: true,
138
+ },
139
+ },
140
+ schema: {
141
+ dataType: 'string',
142
+ interface: {
143
+ type: AXPWidgetsCatalog.text,
144
+ },
145
+ },
146
+ validations: [
147
+ {
148
+ rule: 'required',
149
+ },
150
+ ],
151
+ },
152
+ {
153
+ name: 'application.name',
154
+ title: `t('application', { scope: "${i18n}" })`,
155
+ groupId: 'section',
156
+ options: {
157
+ sort: {
158
+ enabled: true,
159
+ },
160
+ },
161
+ schema: {
162
+ dataType: 'string',
163
+ interface: {
164
+ type: AXPWidgetsCatalog.text,
165
+ },
166
+ },
167
+ validations: [
168
+ {
169
+ rule: 'required',
170
+ },
171
+ ],
172
+ },
173
+ {
174
+ name: 'clientName',
175
+ title: `t('clientName', { scope: "${i18n}" })`,
176
+ groupId: 'section',
177
+ options: {
178
+ sort: {
179
+ enabled: true,
180
+ },
181
+ },
182
+ schema: {
183
+ dataType: 'string',
184
+ interface: {
185
+ type: AXPWidgetsCatalog.text,
186
+ },
187
+ },
188
+ validations: [
189
+ {
190
+ rule: 'required',
191
+ },
192
+ ],
193
+ },
194
+ {
195
+ name: 'location',
196
+ title: `t('location', { scope: "${i18n}" })`,
197
+ groupId: 'device',
198
+ options: {
199
+ sort: {
200
+ enabled: true,
201
+ },
202
+ },
203
+ schema: {
204
+ dataType: 'string',
205
+ interface: {
206
+ type: AXPWidgetsCatalog.text,
207
+ },
208
+ },
209
+ validations: [
210
+ {
211
+ rule: 'required',
212
+ },
213
+ ],
214
+ },
215
+ {
216
+ name: 'ipAddress',
217
+ title: `t('ipAddress', { scope: "${i18n}" })`,
218
+ groupId: 'device',
219
+ options: {
220
+ sort: {
221
+ enabled: true,
222
+ },
223
+ },
224
+ schema: {
225
+ dataType: 'string',
226
+ interface: {
227
+ type: AXPWidgetsCatalog.text,
228
+ },
229
+ },
230
+ validations: [
231
+ {
232
+ rule: 'required',
233
+ },
234
+ ],
235
+ },
236
+ {
237
+ name: 'lastLoginDate',
238
+ title: `t('lastLoginDate', { scope: "${i18n}" })`,
239
+ groupId: 'session',
240
+ options: {
241
+ sort: {
242
+ enabled: true,
243
+ },
244
+ },
245
+ schema: {
246
+ dataType: 'dateTime',
247
+ interface: {
248
+ type: AXPWidgetsCatalog.dateTime,
249
+ options: {
250
+ format: 'MM/DD/YYYY hh:mm a',
251
+ },
252
+ },
253
+ },
254
+ validations: [
255
+ {
256
+ rule: 'required',
257
+ },
258
+ ],
259
+ },
260
+ {
261
+ name: 'operatingSystem',
262
+ title: `t('operatingSystem', { scope: "${i18n}" })`,
263
+ groupId: 'device',
264
+ options: {
265
+ sort: {
266
+ enabled: true,
267
+ },
268
+ },
269
+ schema: {
270
+ dataType: 'string',
271
+ interface: {
272
+ type: AXPWidgetsCatalog.text,
273
+ },
274
+ },
275
+ validations: [
276
+ {
277
+ rule: 'required',
278
+ },
279
+ ],
280
+ },
281
+ {
282
+ name: 'deviceName',
283
+ title: `t('deviceName', { scope: "${i18n}" })`,
284
+ groupId: 'device',
285
+ options: {
286
+ sort: {
287
+ enabled: true,
288
+ },
289
+ },
290
+ schema: {
291
+ dataType: 'string',
292
+ interface: {
293
+ type: AXPWidgetsCatalog.text,
294
+ },
295
+ },
296
+ validations: [
297
+ {
298
+ rule: 'required',
299
+ },
300
+ ],
301
+ },
302
+ ],
303
+ columns: [
304
+ { name: 'tenant.name' },
305
+ { name: 'user.name' },
306
+ { name: 'application.name' },
307
+ { name: 'clientName' },
308
+ { name: 'location' },
309
+ { name: 'deviceName' },
310
+ { name: 'lastLoginDate' },
311
+ { name: 'operatingSystem' },
312
+ ],
313
+ commands: {
314
+ create: {
315
+ execute: async (data) => {
316
+ const res = await dataService.insertOne(data);
317
+ return { id: res };
318
+ },
319
+ },
320
+ delete: {
321
+ execute: async (id) => {
322
+ return await dataService.deleteOne(id);
323
+ },
324
+ },
325
+ update: {
326
+ execute: async (data) => {
327
+ return await dataService.updateOne(data.id, data);
328
+ },
329
+ },
330
+ terminate: {
331
+ execute: async (id) => {
332
+ const x = await dataService.terminate(id);
333
+ return x;
334
+ },
335
+ },
336
+ },
337
+ queries: {
338
+ byKey: {
339
+ execute: async (id) => {
340
+ return await dataService.getOne(id);
341
+ },
342
+ type: AXPEntityQueryType.Single,
343
+ },
344
+ list: {
345
+ execute: async (e) => {
346
+ const res = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
347
+ console.log('res', res);
348
+ return res;
349
+ },
350
+ type: AXPEntityQueryType.List,
351
+ },
352
+ },
353
+ interfaces: {
354
+ master: {
355
+ create: {
356
+ sections: [
357
+ {
358
+ id: 'section',
359
+ },
360
+ ],
361
+ properties: [
362
+ {
363
+ name: 'clientName',
364
+ layout: {
365
+ positions: {
366
+ lg: {
367
+ colSpan: 6,
368
+ },
369
+ },
370
+ },
371
+ },
372
+ {
373
+ name: 'title',
374
+ layout: {
375
+ positions: {
376
+ lg: {
377
+ colSpan: 6,
378
+ },
379
+ },
380
+ },
381
+ },
382
+ ],
383
+ },
384
+ update: {
385
+ sections: [
386
+ {
387
+ id: 'section',
388
+ },
389
+ ],
390
+ properties: [
391
+ {
392
+ name: 'ClientName',
393
+ layout: {
394
+ positions: {
395
+ lg: {
396
+ colSpan: 6,
397
+ },
398
+ },
399
+ },
400
+ },
401
+ {
402
+ name: 'title',
403
+ layout: {
404
+ positions: {
405
+ lg: {
406
+ colSpan: 6,
407
+ },
408
+ },
409
+ },
410
+ },
411
+ ],
412
+ },
413
+ single: {
414
+ title: '{{user.name}}',
415
+ sections: [
416
+ {
417
+ id: 'session',
418
+ layout: {
419
+ positions: {
420
+ lg: {
421
+ colSpan: 12,
422
+ },
423
+ },
424
+ },
425
+ },
426
+ {
427
+ id: 'section',
428
+ layout: {
429
+ positions: {
430
+ lg: {
431
+ colSpan: 12,
432
+ },
433
+ },
434
+ },
435
+ },
436
+ {
437
+ id: 'device',
438
+ layout: {
439
+ positions: {
440
+ lg: {
441
+ colSpan: 12,
442
+ },
443
+ },
444
+ },
445
+ },
446
+ ],
447
+ properties: [
448
+ {
449
+ name: 'tenant.name',
450
+ layout: {
451
+ positions: {
452
+ lg: {
453
+ colSpan: 6,
454
+ },
455
+ },
456
+ },
457
+ },
458
+ {
459
+ name: 'user.name',
460
+ layout: {
461
+ positions: {
462
+ lg: {
463
+ colSpan: 6,
464
+ },
465
+ },
466
+ },
467
+ },
468
+ {
469
+ name: 'application.name',
470
+ layout: {
471
+ positions: {
472
+ lg: {
473
+ colSpan: 6,
474
+ },
475
+ },
476
+ },
477
+ },
478
+ {
479
+ name: 'clientName',
480
+ layout: {
481
+ positions: {
482
+ lg: {
483
+ colSpan: 6,
484
+ },
485
+ },
486
+ },
487
+ },
488
+ {
489
+ name: 'location',
490
+ layout: {
491
+ positions: {
492
+ lg: {
493
+ colSpan: 6,
494
+ },
495
+ },
496
+ },
497
+ },
498
+ {
499
+ name: 'ipAddress',
500
+ layout: {
501
+ positions: {
502
+ lg: {
503
+ colSpan: 6,
504
+ },
505
+ },
506
+ },
507
+ },
508
+ {
509
+ name: 'lastLoginDate',
510
+ layout: {
511
+ positions: {
512
+ lg: {
513
+ colSpan: 6,
514
+ },
515
+ },
516
+ },
517
+ },
518
+ {
519
+ name: 'operatingSystem',
520
+ layout: {
521
+ positions: {
522
+ lg: {
523
+ colSpan: 6,
524
+ },
525
+ },
526
+ },
527
+ },
528
+ {
529
+ name: 'deviceName',
530
+ layout: {
531
+ positions: {
532
+ lg: {
533
+ colSpan: 6,
534
+ },
535
+ },
536
+ },
537
+ },
538
+ ],
539
+ actions: [],
540
+ },
541
+ list: {
542
+ actions: [
543
+ // {
544
+ // title: `t("create", { scope: "common" })`,
545
+ // command: 'create-entity',
546
+ // priority: 'primary',
547
+ // type: 'create',
548
+ // scope: AXPEntityCommandScope.TypeLevel,
549
+ // },
550
+ // {
551
+ // title: 't("deleteItems", { scope: "common" })',
552
+ // command: 'delete-entity',
553
+ // priority: 'primary',
554
+ // type: 'delete',
555
+ // scope: AXPEntityCommandScope.Selected,
556
+ // },
557
+ {
558
+ title: 't("terminate.Selected", { scope: "common" })',
559
+ command: 'terminate-entity',
560
+ priority: 'primary',
561
+ type: 'delete',
562
+ scope: AXPEntityCommandScope.Selected,
563
+ },
564
+ {
565
+ title: 't("detail", { scope: "common" })',
566
+ command: 'open-entity',
567
+ priority: 'secondary',
568
+ type: 'view',
569
+ scope: AXPEntityCommandScope.Individual,
570
+ },
571
+ {
572
+ title: 't("terminate", { scope: "common" })',
573
+ command: 'terminate-entity',
574
+ priority: 'secondary',
575
+ type: 'delete',
576
+ scope: AXPEntityCommandScope.Individual,
577
+ },
578
+ ],
579
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
580
+ },
581
+ },
582
+ },
583
+ };
584
+ return entityDef;
585
+ }
586
+
587
+ var deviceSessions_entity = /*#__PURE__*/Object.freeze({
588
+ __proto__: null,
589
+ factory: factory$3
590
+ });
591
+
592
+ class AXMSecurityManagementDeviceSessionsEntityModule {
593
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
594
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule }); }
595
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, providers: [
596
+ {
597
+ provide: AXMDeviceSessionsService,
598
+ useClass: AXMDeviceSessionsServiceImpl,
599
+ },
600
+ ] }); }
601
+ }
602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, decorators: [{
603
+ type: NgModule,
604
+ args: [{
605
+ imports: [],
606
+ exports: [],
607
+ declarations: [],
608
+ providers: [
609
+ {
610
+ provide: AXMDeviceSessionsService,
611
+ useClass: AXMDeviceSessionsServiceImpl,
612
+ },
613
+ ],
614
+ }]
615
+ }] });
76
616
 
77
617
  class AXMSecurityManagementRolesEntityService extends AXMEntityCrudServiceImpl {
78
618
  }
@@ -80,10 +620,10 @@ class AXMSecurityManagementRolesEntityServiceImpl extends AXMSecurityManagementR
80
620
  constructor() {
81
621
  super(`${RootConfig.module.name}.${RootConfig.entities.roles.name}`);
82
622
  }
83
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
84
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl }); }
623
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
624
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl }); }
85
625
  }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, decorators: [{
626
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, decorators: [{
87
627
  type: Injectable
88
628
  }], ctorParameters: () => [] });
89
629
 
@@ -93,15 +633,13 @@ class AXMUsersEntityServiceImpl extends AXMUsersEntityService {
93
633
  constructor() {
94
634
  super(`${RootConfig.module.name}.${RootConfig.entities.users.name}`);
95
635
  }
96
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMUsersEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
97
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMUsersEntityServiceImpl }); }
636
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMUsersEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
637
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMUsersEntityServiceImpl }); }
98
638
  }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMUsersEntityServiceImpl, decorators: [{
639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMUsersEntityServiceImpl, decorators: [{
100
640
  type: Injectable
101
641
  }], ctorParameters: () => [] });
102
642
 
103
- // export * from './device-sessions';
104
-
105
643
  const key = 'security-management';
106
644
  var AXPSecurityManagementMenuKeys;
107
645
  (function (AXPSecurityManagementMenuKeys) {
@@ -129,16 +667,16 @@ class AXMEntityProvider {
129
667
  return (await Promise.resolve().then(function () { return roles_entity; })).factory(this.injector);
130
668
  case RootConfig.entities.profile.name:
131
669
  return (await Promise.resolve().then(function () { return profile_entity; })).factory(this.injector);
132
- // case RootConfig.entities.deviceSessions.name:
133
- // return (await import('./entities/device-sessions/device-sessions.entity')).factory(this.injector);
670
+ case RootConfig.entities.deviceSessions.name:
671
+ return (await Promise.resolve().then(function () { return deviceSessions_entity; })).factory(this.injector);
134
672
  }
135
673
  }
136
674
  return null;
137
675
  }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
139
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider }); }
676
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
677
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMEntityProvider }); }
140
678
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider, decorators: [{
679
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMEntityProvider, decorators: [{
142
680
  type: Injectable
143
681
  }] });
144
682
 
@@ -179,16 +717,16 @@ class AXMMenuProvider {
179
717
  // requiredPermission: 'demo.admin.settings',
180
718
  },
181
719
  },
182
- // {
183
- // priority: 9005,
184
- // text: `t('deviceSessions', { scope: "${scope}" })`,
185
- // path: this.entityService.createPath(moduleName, RootConfig.entities.deviceSessions.name),
186
- // icon: 'fa-light fa-key',
187
- // name: AXPSecurityManagementMenuKeys.DeviceSessions,
188
- // data: {
189
- // // requiredPermission: 'demo.admin.settings',
190
- // },
191
- // },
720
+ {
721
+ priority: 9005,
722
+ text: `t('deviceSessions', { scope: "${scope}" })`,
723
+ path: this.entityService.createPath(moduleName, RootConfig.entities.deviceSessions.name),
724
+ icon: 'fa-light fa-key',
725
+ name: AXPSecurityManagementMenuKeys.DeviceSessions,
726
+ data: {
727
+ // requiredPermission: 'demo.admin.settings',
728
+ },
729
+ },
192
730
  ],
193
731
  },
194
732
  ]);
@@ -775,16 +1313,16 @@ var users_entity = /*#__PURE__*/Object.freeze({
775
1313
  });
776
1314
 
777
1315
  class AXMSecurityManagementUsersEntityModule {
778
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
779
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule }); }
780
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, providers: [
1316
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1317
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementUsersEntityModule }); }
1318
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, providers: [
781
1319
  {
782
1320
  provide: AXMUsersEntityService,
783
1321
  useClass: AXMUsersEntityServiceImpl,
784
1322
  },
785
1323
  ] }); }
786
1324
  }
787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, decorators: [{
1325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, decorators: [{
788
1326
  type: NgModule,
789
1327
  args: [{
790
1328
  imports: [],
@@ -1024,11 +1562,11 @@ var profile_entity = /*#__PURE__*/Object.freeze({
1024
1562
  });
1025
1563
 
1026
1564
  class AXMSecurityManagementProfileEntityModule {
1027
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1028
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
1029
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
1565
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1566
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
1567
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
1030
1568
  }
1031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, decorators: [{
1569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, decorators: [{
1032
1570
  type: NgModule,
1033
1571
  args: [{
1034
1572
  imports: [],
@@ -1424,39 +1962,189 @@ async function factory(injector) {
1424
1962
  },
1425
1963
  },
1426
1964
  },
1427
- };
1428
- return entityDef;
1429
- }
1430
-
1431
- var roles_entity = /*#__PURE__*/Object.freeze({
1432
- __proto__: null,
1433
- factory: factory
1434
- });
1965
+ };
1966
+ return entityDef;
1967
+ }
1968
+
1969
+ var roles_entity = /*#__PURE__*/Object.freeze({
1970
+ __proto__: null,
1971
+ factory: factory
1972
+ });
1973
+
1974
+ class AXMSecurityManagementRolesEntityModule {
1975
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1976
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementRolesEntityModule }); }
1977
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, providers: [
1978
+ {
1979
+ provide: AXMSecurityManagementRolesEntityService,
1980
+ useClass: AXMSecurityManagementRolesEntityServiceImpl,
1981
+ },
1982
+ ] }); }
1983
+ }
1984
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, decorators: [{
1985
+ type: NgModule,
1986
+ args: [{
1987
+ imports: [],
1988
+ exports: [],
1989
+ declarations: [],
1990
+ providers: [
1991
+ {
1992
+ provide: AXMSecurityManagementRolesEntityService,
1993
+ useClass: AXMSecurityManagementRolesEntityServiceImpl,
1994
+ },
1995
+ ],
1996
+ }]
1997
+ }] });
1998
+
1999
+ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
2000
+ constructor() {
2001
+ super(...arguments);
2002
+ this.commands = [
2003
+ {
2004
+ id: 'create-security-user',
2005
+ group: 'command',
2006
+ title: 'New User',
2007
+ icon: RootConfig.entities.users.icon,
2008
+ description: 'Create a new user entity in the system.', // Added meaningful description
2009
+ command: {
2010
+ // 'create-entity': {
2011
+ // entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`,
2012
+ // },
2013
+ name: 'create-entity',
2014
+ options: {
2015
+ entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`
2016
+ }
2017
+ },
2018
+ },
2019
+ {
2020
+ id: 'create-security-role',
2021
+ group: 'command',
2022
+ title: 'New Security Role',
2023
+ icon: RootConfig.entities.roles.icon,
2024
+ description: 'Define a new security role to manage permissions.', // Added meaningful description
2025
+ command: {
2026
+ // 'create-entity': {
2027
+ // entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
2028
+ // },
2029
+ name: 'create-entity',
2030
+ options: {
2031
+ entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
2032
+ }
2033
+ },
2034
+ },
2035
+ ];
2036
+ }
2037
+ }
2038
+
2039
+ const AXPSessionTerminateEvent = createWorkFlowEvent('[Entity] Terminated!');
2040
+ class AXPSessionTerminatePopupAction extends AXPWorkflowAction {
2041
+ constructor() {
2042
+ super(...arguments);
2043
+ this.entityRegistery = inject(AXPEntityDefinitionRegistryService);
2044
+ this.dialogService = inject(AXDialogService);
2045
+ this.loadingDialog = inject(AXLoadingDialogService);
2046
+ this.translationService = inject(AXTranslationService);
2047
+ }
2048
+ async execute(context) {
2049
+ const moduleEntity = context.getVariable('entity');
2050
+ const [moduleName, entityName] = moduleEntity.split('.');
2051
+ const data = context.getVariable('data');
2052
+ const meta = context.getVariable('meta');
2053
+ const ids = Array.isArray(data) ? data.map((c) => c.id) : [data.id];
2054
+ const entity = await this.entityRegistery.resolve(moduleName, entityName);
2055
+ if (entity.parentKey && data[entity.parentKey]) {
2056
+ context.setVariable('meta', { ...meta, refreshTargetId: data[entity.parentKey] });
2057
+ }
2058
+ context.setVariable('terminateSuccessful', false);
2059
+ const dialog = this.loadingDialog.show({
2060
+ title: await this.translationService.translateAsync('workflow.terminating'),
2061
+ mode: 'determinate',
2062
+ status: 'Terminating...',
2063
+ progressValue: 0,
2064
+ text: `0/${ids.length}`,
2065
+ buttons: [
2066
+ {
2067
+ text: await this.translationService.translateAsync('cancel'),
2068
+ color: 'danger',
2069
+ onClick: () => {
2070
+ dialog.close();
2071
+ },
2072
+ },
2073
+ ],
2074
+ });
2075
+ if (entity.commands.terminate != null) {
2076
+ const terminateExec = entity.commands.terminate?.execute;
2077
+ let faildCounter = 0;
2078
+ for (const element of ids) {
2079
+ const res = await terminateExec(element);
2080
+ if (!res) {
2081
+ faildCounter++;
2082
+ await this.dialogService.alert(await this.translationService.translateAsync('workflow.fail-delete-title'), await this.translationService.translateAsync('workflow.fail-delete-body', {
2083
+ params: { item: 1 },
2084
+ }), 'danger');
2085
+ }
2086
+ }
2087
+ context.setOutput('result', faildCounter == 0 ? true : false);
2088
+ setTimeout(() => {
2089
+ dialog.close();
2090
+ this.dispatch(AXPRefreshEvent({ entity: moduleEntity, meta: context.getVariable('meta') }));
2091
+ }, 300);
2092
+ }
2093
+ }
2094
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSessionTerminatePopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2095
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSessionTerminatePopupAction }); }
2096
+ }
2097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPSessionTerminatePopupAction, decorators: [{
2098
+ type: Injectable
2099
+ }] });
2100
+ const AXPSessionTerminateWorkflow = {
2101
+ startStepId: 'show-popup',
2102
+ steps: {
2103
+ 'show-popup': {
2104
+ action: 'AXPSessionTerminatePopupAction',
2105
+ nextSteps: [
2106
+ {
2107
+ conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
2108
+ nextStepId: 'show-toast',
2109
+ },
2110
+ ],
2111
+ },
2112
+ 'show-toast': {
2113
+ action: 'AXPToastAction',
2114
+ input: {
2115
+ color: 'success',
2116
+ title: 'workflow.session-terminated',
2117
+ content: 'workflow.session-terminated-body',
2118
+ },
2119
+ nextSteps: [
2120
+ {
2121
+ conditions: [],
2122
+ nextStepId: 'dispatch-event',
2123
+ },
2124
+ ],
2125
+ },
2126
+ },
2127
+ };
1435
2128
 
1436
- class AXMSecurityManagementRolesEntityModule {
1437
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1438
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule }); }
1439
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, providers: [
1440
- {
1441
- provide: AXMSecurityManagementRolesEntityService,
1442
- useClass: AXMSecurityManagementRolesEntityServiceImpl,
1443
- },
1444
- ] }); }
2129
+ class AXMUserAvatarProvider {
2130
+ constructor() {
2131
+ this.userService = inject(AXMUsersEntityService);
2132
+ }
2133
+ async provide(userId) {
2134
+ const user = await this.userService.getOne(userId);
2135
+ if (!user) {
2136
+ throw new Error(`User not found for ${userId}`);
2137
+ }
2138
+ return {
2139
+ id: user.id,
2140
+ username: user.username,
2141
+ firstName: user.firstName,
2142
+ lastName: user.lastName,
2143
+ status: 'online',
2144
+ avatarUrl: 'https://via.placeholder.com/150',
2145
+ };
2146
+ }
1445
2147
  }
1446
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, decorators: [{
1447
- type: NgModule,
1448
- args: [{
1449
- imports: [],
1450
- exports: [],
1451
- declarations: [],
1452
- providers: [
1453
- {
1454
- provide: AXMSecurityManagementRolesEntityService,
1455
- useClass: AXMSecurityManagementRolesEntityServiceImpl,
1456
- },
1457
- ],
1458
- }]
1459
- }] });
1460
2148
 
1461
2149
  const AXPPermissionsWidget = {
1462
2150
  name: "permissions-editor",
@@ -1516,10 +2204,10 @@ class AXMOpenPermissionsEditorAction extends AXPWorkflowAction {
1516
2204
  context.setOutput('result', true);
1517
2205
  }
1518
2206
  }
1519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOpenPermissionsEditorAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1520
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOpenPermissionsEditorAction }); }
2207
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMOpenPermissionsEditorAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2208
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMOpenPermissionsEditorAction }); }
1521
2209
  }
1522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOpenPermissionsEditorAction, decorators: [{
2210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMOpenPermissionsEditorAction, decorators: [{
1523
2211
  type: Injectable
1524
2212
  }] });
1525
2213
  const AXMAssignPermissionsWorkflow = {
@@ -1564,9 +2252,9 @@ const AXMAssignPermissionsWorkflow = {
1564
2252
  };
1565
2253
 
1566
2254
  class AXMPermissionsModule {
1567
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1568
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, imports: [i1.AXPWorkflowModule, i2.AXPLayoutBuilderModule] }); }
1569
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, imports: [AXPWorkflowModule.forChild({
2255
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPermissionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2256
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMPermissionsModule, imports: [i1.AXPWorkflowModule, i2.AXPLayoutBuilderModule] }); }
2257
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPermissionsModule, imports: [AXPWorkflowModule.forChild({
1570
2258
  workflows: {
1571
2259
  'assign-permissions': AXMAssignPermissionsWorkflow
1572
2260
  },
@@ -1580,7 +2268,7 @@ class AXMPermissionsModule {
1580
2268
  ]
1581
2269
  })] }); }
1582
2270
  }
1583
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, decorators: [{
2271
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPermissionsModule, decorators: [{
1584
2272
  type: NgModule,
1585
2273
  args: [{
1586
2274
  imports: [
@@ -1612,6 +2300,7 @@ class AXMUsersDataSourceDefinition {
1612
2300
  title: 'Users',
1613
2301
  source: () => {
1614
2302
  return new AXDataSource({
2303
+ key: 'id',
1615
2304
  load: async (_) => {
1616
2305
  try {
1617
2306
  const res = await this.userService.query();
@@ -1628,6 +2317,9 @@ class AXMUsersDataSourceDefinition {
1628
2317
  throw e;
1629
2318
  }
1630
2319
  },
2320
+ byKey: async (key) => {
2321
+ return await this.userService.getOne(key);
2322
+ },
1631
2323
  pageSize: 100,
1632
2324
  });
1633
2325
  },
@@ -1680,165 +2372,36 @@ class AXMUsersDataSourceDefinition {
1680
2372
  }
1681
2373
  }
1682
2374
 
1683
- class AXMSearchCommandProvider extends AXPSearchCommandProvider {
2375
+ class AXMSecurityManagementEvaluatorScopeProvider {
1684
2376
  constructor() {
1685
- super(...arguments);
1686
- this.commands = [
1687
- {
1688
- id: 'create-security-user',
1689
- group: 'command',
1690
- title: 'New User',
1691
- icon: RootConfig.entities.users.icon,
1692
- description: 'Create a new user entity in the system.', // Added meaningful description
1693
- command: {
1694
- // 'create-entity': {
1695
- // entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`,
1696
- // },
1697
- name: 'create-entity',
1698
- options: {
1699
- entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`
1700
- }
1701
- },
2377
+ this.sessionService = inject(AXPSessionService);
2378
+ }
2379
+ async provide(context) {
2380
+ context.addScope('session', {
2381
+ currentUser: () => {
2382
+ return this.sessionService.user;
1702
2383
  },
1703
- {
1704
- id: 'create-security-role',
1705
- group: 'command',
1706
- title: 'New Security Role',
1707
- icon: RootConfig.entities.roles.icon,
1708
- description: 'Define a new security role to manage permissions.', // Added meaningful description
1709
- command: {
1710
- // 'create-entity': {
1711
- // entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
1712
- // },
1713
- name: 'create-entity',
1714
- options: {
1715
- entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
1716
- }
1717
- },
2384
+ currentApplication: () => {
2385
+ return this.sessionService.application;
2386
+ },
2387
+ currentTenant: () => {
2388
+ return this.sessionService.tenant;
2389
+ },
2390
+ currentPermissions: () => {
2391
+ return this.sessionService.permissions;
1718
2392
  },
1719
- ];
1720
- }
1721
- }
1722
-
1723
- class AXMUserAvatarProvider {
1724
- constructor() {
1725
- this.userService = inject(AXMUsersEntityService);
1726
- }
1727
- async provide(userId) {
1728
- const user = await this.userService.getOne(userId);
1729
- if (!user) {
1730
- throw new Error(`User not found for ${userId}`);
1731
- }
1732
- return {
1733
- id: user.id,
1734
- username: user.username,
1735
- firstName: user.firstName,
1736
- lastName: user.lastName,
1737
- status: 'online',
1738
- avatarUrl: 'https://via.placeholder.com/150',
1739
- };
1740
- }
1741
- }
1742
-
1743
- const AXPSessionTerminateEvent = createWorkFlowEvent('[Entity] Terminated!');
1744
- class AXPSessionTerminatePopupAction extends AXPWorkflowAction {
1745
- constructor() {
1746
- super(...arguments);
1747
- this.entityRegistery = inject(AXPEntityDefinitionRegistryService);
1748
- this.dialogService = inject(AXDialogService);
1749
- this.loadingDialog = inject(AXLoadingDialogService);
1750
- this.translationService = inject(AXTranslationService);
1751
- }
1752
- async execute(context) {
1753
- const moduleEntity = context.getVariable('entity');
1754
- const [moduleName, entityName] = moduleEntity.split('.');
1755
- const data = context.getVariable('data');
1756
- const meta = context.getVariable('meta');
1757
- const ids = Array.isArray(data) ? data.map((c) => c.id) : [data.id];
1758
- const entity = await this.entityRegistery.resolve(moduleName, entityName);
1759
- if (entity.parentKey && data[entity.parentKey]) {
1760
- context.setVariable('meta', { ...meta, refreshTargetId: data[entity.parentKey] });
1761
- }
1762
- context.setVariable('terminateSuccessful', false);
1763
- const dialog = this.loadingDialog.show({
1764
- title: await this.translationService.translateAsync('workflow.terminating'),
1765
- mode: 'determinate',
1766
- status: 'Terminating...',
1767
- progressValue: 0,
1768
- text: `0/${ids.length}`,
1769
- buttons: [
1770
- {
1771
- text: await this.translationService.translateAsync('cancel'),
1772
- color: 'danger',
1773
- onClick: () => {
1774
- dialog.close();
1775
- },
1776
- },
1777
- ],
1778
2393
  });
1779
- if (entity.commands.terminate != null) {
1780
- const terminateExec = entity.commands.terminate?.execute;
1781
- let faildCounter = 0;
1782
- for (const element of ids) {
1783
- const res = await terminateExec(element);
1784
- if (!res) {
1785
- faildCounter++;
1786
- await this.dialogService.alert(await this.translationService.translateAsync('workflow.fail-delete-title'), await this.translationService.translateAsync('workflow.fail-delete-body', {
1787
- params: { item: 1 },
1788
- }), 'danger');
1789
- }
1790
- }
1791
- context.setOutput('result', faildCounter == 0 ? true : false);
1792
- setTimeout(() => {
1793
- dialog.close();
1794
- this.dispatch(AXPRefreshEvent({ entity: moduleEntity, meta: context.getVariable('meta') }));
1795
- }, 300);
1796
- }
1797
2394
  }
1798
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSessionTerminatePopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1799
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSessionTerminatePopupAction }); }
1800
2395
  }
1801
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSessionTerminatePopupAction, decorators: [{
1802
- type: Injectable
1803
- }] });
1804
- const AXPSessionTerminateWorkflow = {
1805
- startStepId: 'show-popup',
1806
- steps: {
1807
- 'show-popup': {
1808
- action: 'AXPSessionTerminatePopupAction',
1809
- nextSteps: [
1810
- {
1811
- conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
1812
- nextStepId: 'show-toast',
1813
- },
1814
- ],
1815
- },
1816
- 'show-toast': {
1817
- action: 'AXPToastAction',
1818
- input: {
1819
- color: 'success',
1820
- title: 'workflow.session-terminated',
1821
- content: 'workflow.session-terminated-body',
1822
- },
1823
- nextSteps: [
1824
- {
1825
- conditions: [],
1826
- nextStepId: 'dispatch-event',
1827
- },
1828
- ],
1829
- },
1830
- },
1831
- };
1832
2396
 
1833
2397
  class AXMSecurityManagementModule {
1834
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1835
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, imports: [
1836
- // AXMSecurityManagementDeviceSessionsEntityModule,
2398
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2399
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementModule, imports: [AXMSecurityManagementDeviceSessionsEntityModule,
1837
2400
  AXMSecurityManagementProfileEntityModule,
1838
2401
  AXMSecurityManagementRolesEntityModule,
1839
2402
  AXMSecurityManagementUsersEntityModule,
1840
2403
  AXMPermissionsModule, i1.AXPWorkflowModule] }); }
1841
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, providers: [
2404
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementModule, providers: [
1842
2405
  {
1843
2406
  provide: AXP_MENU_PROVIDER,
1844
2407
  useClass: AXMMenuProvider,
@@ -1863,15 +2426,19 @@ class AXMSecurityManagementModule {
1863
2426
  useClass: AXMUsersDataSourceDefinition,
1864
2427
  multi: true,
1865
2428
  },
1866
- ], imports: [
1867
- // AXMSecurityManagementDeviceSessionsEntityModule,
2429
+ {
2430
+ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
2431
+ useClass: AXMSecurityManagementEvaluatorScopeProvider,
2432
+ multi: true,
2433
+ },
2434
+ ], imports: [AXMSecurityManagementDeviceSessionsEntityModule,
1868
2435
  AXMSecurityManagementProfileEntityModule,
1869
2436
  AXMSecurityManagementRolesEntityModule,
1870
2437
  AXMSecurityManagementUsersEntityModule,
1871
2438
  AXMPermissionsModule,
1872
2439
  AXPWorkflowModule.forChild({
1873
2440
  actions: {
1874
- AXPSessionTerminatePopupAction,
2441
+ AXPSessionTerminatePopupAction
1875
2442
  },
1876
2443
  workflows: {
1877
2444
  'terminate-entity': AXPSessionTerminateWorkflow,
@@ -1879,18 +2446,18 @@ class AXMSecurityManagementModule {
1879
2446
  functions: {},
1880
2447
  })] }); }
1881
2448
  }
1882
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, decorators: [{
2449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMSecurityManagementModule, decorators: [{
1883
2450
  type: NgModule,
1884
2451
  args: [{
1885
2452
  imports: [
1886
- // AXMSecurityManagementDeviceSessionsEntityModule,
2453
+ AXMSecurityManagementDeviceSessionsEntityModule,
1887
2454
  AXMSecurityManagementProfileEntityModule,
1888
2455
  AXMSecurityManagementRolesEntityModule,
1889
2456
  AXMSecurityManagementUsersEntityModule,
1890
2457
  AXMPermissionsModule,
1891
2458
  AXPWorkflowModule.forChild({
1892
2459
  actions: {
1893
- AXPSessionTerminatePopupAction,
2460
+ AXPSessionTerminatePopupAction
1894
2461
  },
1895
2462
  workflows: {
1896
2463
  'terminate-entity': AXPSessionTerminateWorkflow,
@@ -1925,6 +2492,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
1925
2492
  useClass: AXMUsersDataSourceDefinition,
1926
2493
  multi: true,
1927
2494
  },
2495
+ {
2496
+ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
2497
+ useClass: AXMSecurityManagementEvaluatorScopeProvider,
2498
+ multi: true,
2499
+ },
1928
2500
  ],
1929
2501
  }]
1930
2502
  }] });
@@ -2086,14 +2658,14 @@ class AXPPermissionsEditorComponent {
2086
2658
  }
2087
2659
  this.permissionsChanged.emit(this.selectedPermissions());
2088
2660
  }
2089
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2090
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXPPermissionsEditorComponent, isStandalone: true, selector: "axm-permissions-editor", inputs: { initialPermissions: { classPropertyName: "initialPermissions", publicName: "initialPermissions", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { permissionsChanged: "permissionsChanged", permissionsSelected: "permissionsSelected" }, host: { classAttribute: "ax-h-[75vh] ax-flex" }, ngImport: i0, template: "<div class=\"__groups ax-p-4 ax-min-h-full ax-w-2/5\">\n <ax-tabs location=\"start\" look=\"with-line-color\" class=\"ax-h-full\">\n @for (group of groupsWithBadge(); track $index) {\n <ax-tab-item [active]=\"group.name === selectedGroup()?.name\" [text]=\"group.title\"\n (onClick)=\"handleMenuItemClick(group)\">\n <ax-suffix>\n <ax-badge color=\"primary\" [text]=\"group.badge\"></ax-badge>\n </ax-suffix>\n </ax-tab-item>\n }\n </ax-tabs>\n</div>\n\n<div class=\"__permissions ax-flex ax-h-full ax-overflow-auto ax-flex-col ax-w-3/5 ax-border-s\">\n\n <div class=\"__header ax-p-4 ax-border-b ax-border-lightest\">\n <span class=\"ax-h6\">{{ selectedGroup()?.title! }}</span>\n </div>\n\n <div class=\"__content ax-flex ax-p-4 ax-overflow-auto\">\n\n <ul class=\"__list\">\n <ng-template #recursiveList let-items>\n @for (item of items; track $index) {\n <li class=\"__item ax-py-1 ax-ps-2\">\n\n <ax-check-box [ngModel]=\"item.isSelected\" [readonly]=\"readOnly()\"\n (onValueChanged)=\"onPermissionToggle(item, $event)\">\n <ax-label>\n {{ item.title }}\n @if (item.description) {\n <i class=\"ax-ps-2 ax-text-xs fa-light fa-circle-info\" [title]=\"item.description\"></i>\n }\n </ax-label>\n </ax-check-box>\n\n @if (item.children && item.children.length > 0) {\n <ul class=\"__children ax-p-2 ax-mt-1 ax-ms-1\">\n <ng-container\n *ngTemplateOutlet=\"recursiveList; context: { $implicit: item.children }\"></ng-container>\n </ul>\n }\n\n </li>\n }\n </ng-template>\n <ng-container *ngTemplateOutlet=\"recursiveList; context: { $implicit: items() }\"></ng-container>\n </ul>\n </div>\n</div>", styles: [".axm-permissions-editor{display:flex;height:100%;flex-direction:column}.axm-permissions-editor .__groups .__tabs{height:100%}.axm-permissions-editor .__permissions .__header .__title{font-size:1rem;font-weight:500;line-height:1rem}.axm-permissions-editor .__permissions .__content .__list{width:100%}.axm-permissions-editor .__permissions .__content .__list .__item .__children{margin-left:.5rem;border-left-width:1px;border-style:dashed;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-lighter-surface),var(--tw-border-opacity, 1))}\n"], dependencies: [{ kind: "ngmodule", type:
2661
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2662
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: AXPPermissionsEditorComponent, isStandalone: true, selector: "axm-permissions-editor", inputs: { initialPermissions: { classPropertyName: "initialPermissions", publicName: "initialPermissions", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { permissionsChanged: "permissionsChanged", permissionsSelected: "permissionsSelected" }, host: { classAttribute: "ax-h-[75vh] ax-flex" }, ngImport: i0, template: "<div class=\"__groups ax-p-4 ax-min-h-full ax-w-2/5\">\n <ax-tabs location=\"start\" look=\"with-line-color\" class=\"ax-h-full\">\n @for (group of groupsWithBadge(); track $index) {\n <ax-tab-item [active]=\"group.name === selectedGroup()?.name\" [text]=\"group.title\"\n (onClick)=\"handleMenuItemClick(group)\">\n <ax-suffix>\n <ax-badge color=\"primary\" [text]=\"group.badge\"></ax-badge>\n </ax-suffix>\n </ax-tab-item>\n }\n </ax-tabs>\n</div>\n\n<div class=\"__permissions ax-flex ax-h-full ax-overflow-auto ax-flex-col ax-w-3/5 ax-border-s\">\n\n <div class=\"__header ax-p-4 ax-border-b ax-border-lightest\">\n <span class=\"ax-h6\">{{ selectedGroup()?.title! }}</span>\n </div>\n\n <div class=\"__content ax-flex ax-p-4 ax-overflow-auto\">\n\n <ul class=\"__list\">\n <ng-template #recursiveList let-items>\n @for (item of items; track $index) {\n <li class=\"__item ax-py-1 ax-ps-2\">\n\n <ax-check-box [ngModel]=\"item.isSelected\" [readonly]=\"readOnly()\"\n (onValueChanged)=\"onPermissionToggle(item, $event)\">\n <ax-label>\n {{ item.title }}\n @if (item.description) {\n <i class=\"ax-ps-2 ax-text-xs fa-light fa-circle-info\" [title]=\"item.description\"></i>\n }\n </ax-label>\n </ax-check-box>\n\n @if (item.children && item.children.length > 0) {\n <ul class=\"__children ax-p-2 ax-mt-1 ax-ms-1\">\n <ng-container\n *ngTemplateOutlet=\"recursiveList; context: { $implicit: item.children }\"></ng-container>\n </ul>\n }\n\n </li>\n }\n </ng-template>\n <ng-container *ngTemplateOutlet=\"recursiveList; context: { $implicit: items() }\"></ng-container>\n </ul>\n </div>\n</div>", styles: [".axm-permissions-editor{display:flex;height:100%;flex-direction:column}.axm-permissions-editor .__groups .__tabs{height:100%}.axm-permissions-editor .__permissions .__header .__title{font-size:1rem;font-weight:500;line-height:1rem}.axm-permissions-editor .__permissions .__content .__list{width:100%}.axm-permissions-editor .__permissions .__content .__list .__item .__children{margin-left:.5rem;border-left-width:1px;border-style:dashed;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-lighter-surface),var(--tw-border-opacity, 1))}\n"], dependencies: [{ kind: "ngmodule", type:
2091
2663
  // Angular
2092
2664
  CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
2093
2665
  // ACoreX
2094
2666
  AXFormModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i4.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i5.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i5.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i6.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXTooltipModule }], encapsulation: i0.ViewEncapsulation.None }); }
2095
2667
  }
2096
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorComponent, decorators: [{
2668
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsEditorComponent, decorators: [{
2097
2669
  type: Component,
2098
2670
  args: [{ selector: 'axm-permissions-editor', imports: [
2099
2671
  // Angular
@@ -2170,8 +2742,8 @@ class AXPPermissionsEditorPopupComponent extends AXPPopupLayoutBaseComponent {
2170
2742
  this.close(selectedPermissions);
2171
2743
  }
2172
2744
  }
2173
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2174
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsEditorPopupComponent, isStandalone: true, selector: "axm-permissions-editor-popup", providers: [
2745
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsEditorPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2746
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXPPermissionsEditorPopupComponent, isStandalone: true, selector: "axm-permissions-editor-popup", providers: [
2175
2747
  {
2176
2748
  provide: AXPPopupLayoutBase,
2177
2749
  useExisting: AXPPermissionsEditorPopupComponent
@@ -2186,7 +2758,7 @@ class AXPPermissionsEditorPopupComponent extends AXPPopupLayoutBaseComponent {
2186
2758
  // Local
2187
2759
  AXPPermissionsEditorComponent, selector: "axm-permissions-editor", inputs: ["initialPermissions", "readOnly"], outputs: ["permissionsChanged", "permissionsSelected"] }, { kind: "component", type: 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, " }], encapsulation: i0.ViewEncapsulation.None }); }
2188
2760
  }
2189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorPopupComponent, decorators: [{
2761
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsEditorPopupComponent, decorators: [{
2190
2762
  type: Component,
2191
2763
  args: [{ selector: 'axm-permissions-editor-popup', imports: [
2192
2764
  // Angular
@@ -2262,8 +2834,8 @@ class AXPPermissionsWidgetViewComponent extends AXPValueWidgetComponent {
2262
2834
  data: this.contextService.data(),
2263
2835
  });
2264
2836
  }
2265
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2266
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXPPermissionsWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2837
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2838
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: AXPPermissionsWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2267
2839
  <!-- <axm-permissions-editor
2268
2840
  [initialPermissions]="getValue() || []"
2269
2841
  [readOnly]="true">
@@ -2285,7 +2857,7 @@ class AXPPermissionsWidgetViewComponent extends AXPValueWidgetComponent {
2285
2857
  </div>
2286
2858
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2287
2859
  }
2288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetViewComponent, decorators: [{
2860
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetViewComponent, decorators: [{
2289
2861
  type: Component,
2290
2862
  args: [{
2291
2863
  template: `
@@ -2328,8 +2900,8 @@ class AXPPermissionsWidgetEditComponent extends AXPValueWidgetComponent {
2328
2900
  onPermissionsChanged(permissions) {
2329
2901
  this.setValue(permissions);
2330
2902
  }
2331
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2332
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2903
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2904
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXPPermissionsWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2333
2905
  <axm-permissions-editor
2334
2906
  [initialPermissions]="getValue() || []"
2335
2907
  [readOnly]="false"
@@ -2341,7 +2913,7 @@ class AXPPermissionsWidgetEditComponent extends AXPValueWidgetComponent {
2341
2913
  // Local
2342
2914
  AXPPermissionsEditorComponent, selector: "axm-permissions-editor", inputs: ["initialPermissions", "readOnly"], outputs: ["permissionsChanged", "permissionsSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2343
2915
  }
2344
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetEditComponent, decorators: [{
2916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetEditComponent, decorators: [{
2345
2917
  type: Component,
2346
2918
  args: [{
2347
2919
  template: `
@@ -2378,12 +2950,12 @@ class AXPPermissionsWidgetColumnComponent extends AXPColumnWidgetComponent {
2378
2950
  data: this.rowData
2379
2951
  });
2380
2952
  }
2381
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2382
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
2953
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2954
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXPPermissionsWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
2383
2955
  <span class="ax-cursor-pointer ax-text-primary ax-underline" (click)="openPermissionsEditor()">{{count()}} {{'@security-management:features.permissions.terms.permissions' | translate | async}}</span>
2384
2956
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2385
2957
  }
2386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, decorators: [{
2958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, decorators: [{
2387
2959
  type: Component,
2388
2960
  args: [{
2389
2961
  template: `
@@ -2402,10 +2974,10 @@ var permissionsWidgetColumn_component = /*#__PURE__*/Object.freeze({
2402
2974
  });
2403
2975
 
2404
2976
  class AXPPermissionsWidgetPrintComponent extends AXPLayoutWidgetComponent {
2405
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2406
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2977
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2978
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXPPermissionsWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2407
2979
  }
2408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, decorators: [{
2980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, decorators: [{
2409
2981
  type: Component,
2410
2982
  args: [{
2411
2983
  template: ``,
@@ -2422,10 +2994,10 @@ var permissionsWidgetPrint_component = /*#__PURE__*/Object.freeze({
2422
2994
  });
2423
2995
 
2424
2996
  class AXPPermissionsWidgetDesignerComponent extends AXPLayoutWidgetComponent {
2425
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2426
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2997
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2998
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXPPermissionsWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2427
2999
  }
2428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, decorators: [{
3000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, decorators: [{
2429
3001
  type: Component,
2430
3002
  args: [{
2431
3003
  template: ``,
@@ -2446,5 +3018,5 @@ var permissionsWidgetDesigner_component = /*#__PURE__*/Object.freeze({
2446
3018
  * Generated bundle index. Do not edit.
2447
3019
  */
2448
3020
 
2449
- export { AXMPermissionsModule, AXMSecurityManagementModule, AXMSecurityManagementRolesEntityService, AXMSecurityManagementRolesEntityServiceImpl, AXMUsersEntityService, AXMUsersEntityServiceImpl, AXPPermissionsEditorComponent, AXPPermissionsEditorPopupComponent, AXPPermissionsWidget, AXPPermissionsWidgetColumnComponent, AXPPermissionsWidgetDesignerComponent, AXPPermissionsWidgetEditComponent, AXPPermissionsWidgetPrintComponent, AXPPermissionsWidgetViewComponent, AXPSecurityManagementMenuKeys, RootConfig };
3021
+ export { AXMPermissionsModule, AXMSecurityManagementDeviceSessionsEntityModule, AXMSecurityManagementModule, AXMSecurityManagementRolesEntityService, AXMSecurityManagementRolesEntityServiceImpl, AXMUsersEntityService, AXMUsersEntityServiceImpl, AXPPermissionsEditorComponent, AXPPermissionsEditorPopupComponent, AXPPermissionsWidget, AXPPermissionsWidgetColumnComponent, AXPPermissionsWidgetDesignerComponent, AXPPermissionsWidgetEditComponent, AXPPermissionsWidgetPrintComponent, AXPPermissionsWidgetViewComponent, AXPSecurityManagementMenuKeys, RootConfig, factory$3 as factory };
2450
3022
  //# sourceMappingURL=acorex-modules-security-management.mjs.map