@acorex/modules 19.3.0-next.1 → 19.3.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 (259) hide show
  1. package/auth/lib/pages/account/app-chooser/app-chooser-list.component.d.ts +1 -0
  2. package/auth/lib/pages/account/profile/profile-slot.component.d.ts +4 -0
  3. package/auth/lib/pages/account/tenant-chooser/tenant-chooser.component.d.ts +3 -0
  4. package/auth/lib/pages/account/user-sessions/user-sessions.component.d.ts +71 -0
  5. package/auth/lib/pages/account/user-sessions/user-sessions.service.d.ts +22 -0
  6. package/common/index.d.ts +2 -1
  7. package/common/lib/common.module.d.ts +2 -1
  8. package/common/lib/entities/dashboard/dashboard.types.d.ts +1 -1
  9. package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +5 -2
  10. package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +2 -0
  11. package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +1 -1
  12. package/common/lib/features/home-dashboard/home-dashboard.module.d.ts +7 -0
  13. package/common/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +10 -3
  14. package/common/lib/features/home-dashboard/widgets/dashboard-shortcut/dashboard-shortcut-widget-view.component.d.ts +24 -0
  15. package/common/lib/features/home-dashboard/widgets/dashboard-shortcut/dashboard-shortcut-widget.config.d.ts +2 -0
  16. package/common/lib/menu.provider.d.ts +1 -0
  17. package/common/lib/widgets-names-list.d.ts +39 -0
  18. package/document-management/index.d.ts +1 -1
  19. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +2 -2
  20. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +2 -2
  21. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +2 -2
  22. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +2 -2
  23. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +2 -2
  24. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +10 -2
  25. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +2 -2
  26. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +2 -2
  27. package/fesm2022/{acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs → acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs} +9 -9
  28. package/fesm2022/{acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs.map → acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs.map} +1 -1
  29. package/fesm2022/acorex-modules-application-management.mjs +14 -15
  30. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  31. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs → acorex-modules-auth-acorex-modules-auth-DWcYgyZA.mjs} +100 -28
  32. package/fesm2022/acorex-modules-auth-acorex-modules-auth-DWcYgyZA.mjs.map +1 -0
  33. package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs → acorex-modules-auth-app-chooser.component-rr25Ry55.mjs} +2 -2
  34. package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs.map → acorex-modules-auth-app-chooser.component-rr25Ry55.mjs.map} +1 -1
  35. package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs → acorex-modules-auth-login.module-BgTtZuTg.mjs} +4 -4
  36. package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs.map → acorex-modules-auth-login.module-BgTtZuTg.mjs.map} +1 -1
  37. package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs → acorex-modules-auth-master.layout-he9vVKsC.mjs} +2 -2
  38. package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs.map → acorex-modules-auth-master.layout-he9vVKsC.mjs.map} +1 -1
  39. package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs → acorex-modules-auth-password.component-U16w7Rq4.mjs} +5 -5
  40. package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs.map → acorex-modules-auth-password.component-U16w7Rq4.mjs.map} +1 -1
  41. package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs → acorex-modules-auth-password.component-_ceO6nyb.mjs} +5 -5
  42. package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs.map → acorex-modules-auth-password.component-_ceO6nyb.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs → acorex-modules-auth-routes-CSGjcpD8.mjs} +2 -2
  44. package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs.map → acorex-modules-auth-routes-CSGjcpD8.mjs.map} +1 -1
  45. package/fesm2022/acorex-modules-auth-settings.provider-CM-T8nbI.mjs +128 -0
  46. package/fesm2022/acorex-modules-auth-settings.provider-CM-T8nbI.mjs.map +1 -0
  47. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs → acorex-modules-auth-tenant-chooser.component-B5VHdItj.mjs} +24 -10
  48. package/fesm2022/acorex-modules-auth-tenant-chooser.component-B5VHdItj.mjs.map +1 -0
  49. package/fesm2022/{acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs → acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs} +3 -3
  50. package/fesm2022/{acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs.map → acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs → acorex-modules-auth-two-factor.module-B9UV3Nxb.mjs} +3 -3
  52. package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs.map → acorex-modules-auth-two-factor.module-B9UV3Nxb.mjs.map} +1 -1
  53. package/fesm2022/acorex-modules-auth-user-sessions.component-Dx0zd4Nj.mjs +135 -0
  54. package/fesm2022/acorex-modules-auth-user-sessions.component-Dx0zd4Nj.mjs.map +1 -0
  55. package/fesm2022/acorex-modules-auth.mjs +1 -1
  56. package/fesm2022/acorex-modules-common-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs +139 -0
  57. package/fesm2022/acorex-modules-common-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs.map +1 -0
  58. package/fesm2022/{acorex-modules-common-index-rvP9ISgL.mjs → acorex-modules-common-index-Dt3vRkkx.mjs} +141 -37
  59. package/fesm2022/acorex-modules-common-index-Dt3vRkkx.mjs.map +1 -0
  60. package/fesm2022/acorex-modules-common.mjs +168 -30
  61. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  62. package/fesm2022/acorex-modules-conversation.mjs +1 -1
  63. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  64. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs → acorex-modules-document-management-acorex-modules-document-management-CRoewhvP.mjs} +59 -56
  65. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CRoewhvP.mjs.map +1 -0
  66. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs → acorex-modules-document-management-create-folder-dialog.component-m7SsCGA1.mjs} +2 -2
  67. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs.map → acorex-modules-document-management-create-folder-dialog.component-m7SsCGA1.mjs.map} +1 -1
  68. package/fesm2022/{acorex-modules-document-management-details-view.component-BFMgAxeK.mjs → acorex-modules-document-management-details-view.component-CWvWCgXL.mjs} +2 -2
  69. package/fesm2022/{acorex-modules-document-management-details-view.component-BFMgAxeK.mjs.map → acorex-modules-document-management-details-view.component-CWvWCgXL.mjs.map} +1 -1
  70. package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs → acorex-modules-document-management-drive-choose.component-Dh9nJCMs.mjs} +2 -2
  71. package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs.map → acorex-modules-document-management-drive-choose.component-Dh9nJCMs.mjs.map} +1 -1
  72. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs → acorex-modules-document-management-large-icons-view.component-DZ5MHPYz.mjs} +2 -2
  73. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs.map → acorex-modules-document-management-large-icons-view.component-DZ5MHPYz.mjs.map} +1 -1
  74. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs → acorex-modules-document-management-large-tiles-view.component-CS_2hXao.mjs} +2 -2
  75. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs.map → acorex-modules-document-management-large-tiles-view.component-CS_2hXao.mjs.map} +1 -1
  76. package/fesm2022/{acorex-modules-document-management-list-view.component-BPkaAGjR.mjs → acorex-modules-document-management-list-view.component-L1hUtLp8.mjs} +2 -2
  77. package/fesm2022/{acorex-modules-document-management-list-view.component-BPkaAGjR.mjs.map → acorex-modules-document-management-list-view.component-L1hUtLp8.mjs.map} +1 -1
  78. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs → acorex-modules-document-management-rename-node-dialog.component-4fkD6VF4.mjs} +2 -2
  79. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs.map → acorex-modules-document-management-rename-node-dialog.component-4fkD6VF4.mjs.map} +1 -1
  80. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs → acorex-modules-document-management-small-icons-view.component-CfHVW4AR.mjs} +2 -2
  81. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs.map → acorex-modules-document-management-small-icons-view.component-CfHVW4AR.mjs.map} +1 -1
  82. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs → acorex-modules-document-management-small-tiles-view.component-CJJ4KRcD.mjs} +2 -2
  83. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs.map → acorex-modules-document-management-small-tiles-view.component-CJJ4KRcD.mjs.map} +1 -1
  84. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  85. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-C3bCqH0S.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-Di2Dkvbh.mjs} +19 -18
  86. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-Di2Dkvbh.mjs.map +1 -0
  87. package/fesm2022/{acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs → acorex-modules-form-template-management-category.entity-Cv-0gZOh.mjs} +12 -5
  88. package/fesm2022/acorex-modules-form-template-management-category.entity-Cv-0gZOh.mjs.map +1 -0
  89. package/fesm2022/{acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs → acorex-modules-form-template-management-settings.provider-BZoYtsfh.mjs} +13 -5
  90. package/fesm2022/acorex-modules-form-template-management-settings.provider-BZoYtsfh.mjs.map +1 -0
  91. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs → acorex-modules-form-template-management-template-widget-edit.component-CNFyBxpm.mjs} +5 -5
  92. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CNFyBxpm.mjs.map +1 -0
  93. package/fesm2022/{acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs → acorex-modules-form-template-management-template.entity-DbWv7ar9.mjs} +9 -9
  94. package/fesm2022/acorex-modules-form-template-management-template.entity-DbWv7ar9.mjs.map +1 -0
  95. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs → acorex-modules-form-template-management-viewer-popup.component-CMrQl-UQ.mjs} +3 -3
  96. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CMrQl-UQ.mjs.map} +1 -1
  97. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  98. package/fesm2022/acorex-modules-log-management.mjs +1351 -0
  99. package/fesm2022/acorex-modules-log-management.mjs.map +1 -0
  100. package/fesm2022/acorex-modules-notification-management.mjs +22 -21
  101. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  102. package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs +489 -0
  103. package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs.map +1 -0
  104. package/fesm2022/{acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs → acorex-modules-organization-management-chart.entity-UAn44WCP.mjs} +14 -13
  105. package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +1 -0
  106. package/fesm2022/{acorex-modules-organization-management-company.entity-BRkEcDNt.mjs → acorex-modules-organization-management-company.entity-D1A1HSkC.mjs} +12 -11
  107. package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +1 -0
  108. package/fesm2022/{acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs → acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs} +192 -85
  109. package/fesm2022/acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs.map +1 -0
  110. package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs +442 -0
  111. package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs.map +1 -0
  112. package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs +601 -0
  113. package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs.map +1 -0
  114. package/fesm2022/{acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs → acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs} +21 -25
  115. package/fesm2022/acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map +1 -0
  116. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs → acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs} +2 -2
  117. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs.map} +1 -1
  118. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs → acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs} +2 -2
  119. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs.map +1 -0
  120. package/fesm2022/{acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs → acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs} +2 -2
  121. package/fesm2022/{acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs.map → acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs.map} +1 -1
  122. package/fesm2022/{acorex-modules-organization-management-position.entity-BpQbwW-x.mjs → acorex-modules-organization-management-position.entity-DhPT9kzv.mjs} +12 -11
  123. package/fesm2022/acorex-modules-organization-management-position.entity-DhPT9kzv.mjs.map +1 -0
  124. package/fesm2022/{acorex-modules-organization-management-division.entity-qyDyhl-q.mjs → acorex-modules-organization-management-role.entity-C-AIIaDo.mjs} +31 -39
  125. package/fesm2022/acorex-modules-organization-management-role.entity-C-AIIaDo.mjs.map +1 -0
  126. package/fesm2022/{acorex-modules-organization-management-setting.keys-CF6Giykz.mjs → acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs} +2 -2
  127. package/fesm2022/acorex-modules-organization-management-settings.keys-B3cgSi_S.mjs.map +1 -0
  128. package/fesm2022/{acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs → acorex-modules-organization-management-settings.provider-hlbUXugb.mjs} +2 -2
  129. package/fesm2022/acorex-modules-organization-management-settings.provider-hlbUXugb.mjs.map +1 -0
  130. package/fesm2022/{acorex-modules-organization-management-branch.entity-e5pFx82N.mjs → acorex-modules-organization-management-team.entity-DZqK-yLT.mjs} +71 -60
  131. package/fesm2022/acorex-modules-organization-management-team.entity-DZqK-yLT.mjs.map +1 -0
  132. package/fesm2022/acorex-modules-organization-management.mjs +77 -40
  133. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  134. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs → acorex-modules-platform-management-acorex-modules-platform-management-pKyqsPS6.mjs} +3772 -1443
  135. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-pKyqsPS6.mjs.map +1 -0
  136. package/fesm2022/acorex-modules-platform-management-capture-screen.component-DN1Jnp7_.mjs +28 -0
  137. package/fesm2022/acorex-modules-platform-management-capture-screen.component-DN1Jnp7_.mjs.map +1 -0
  138. package/fesm2022/{acorex-modules-platform-management-list-version.component-EHtlPye1.mjs → acorex-modules-platform-management-list-version.component-SLcO7Tof.mjs} +7 -7
  139. package/fesm2022/{acorex-modules-platform-management-list-version.component-EHtlPye1.mjs.map → acorex-modules-platform-management-list-version.component-SLcO7Tof.mjs.map} +1 -1
  140. package/fesm2022/{acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs → acorex-modules-platform-management-settings.provider-CsrDpQQi.mjs} +34 -18
  141. package/fesm2022/acorex-modules-platform-management-settings.provider-CsrDpQQi.mjs.map +1 -0
  142. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  143. package/fesm2022/acorex-modules-security-management.mjs +1147 -461
  144. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  145. package/fesm2022/{acorex-modules-text-template-management-setting.provider-fX0dhWUL.mjs → acorex-modules-text-template-management-settings.provider-fX0dhWUL.mjs} +1 -1
  146. package/fesm2022/acorex-modules-text-template-management-settings.provider-fX0dhWUL.mjs.map +1 -0
  147. package/fesm2022/acorex-modules-text-template-management.mjs +2 -2
  148. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  149. package/form-template-management/lib/features/designer/widgets/template/template-widget-designer.component.d.ts +2 -2
  150. package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +2 -2
  151. package/form-template-management/lib/features/designer/widgets/template/template-widget-view.component.d.ts +2 -2
  152. package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +2 -2
  153. package/form-template-management/lib/settings.keys.d.ts +6 -0
  154. package/log-management/README.md +3 -0
  155. package/log-management/index.d.ts +7 -0
  156. package/log-management/lib/const.d.ts +20 -0
  157. package/log-management/lib/entities/axp-log/axp-log.entity.d.ts +3 -0
  158. package/log-management/lib/entities/axp-log/axp-log.service.d.ts +10 -0
  159. package/log-management/lib/entities/axp-log/axp-log.types.d.ts +23 -0
  160. package/log-management/lib/entities/axp-log/index.d.ts +3 -0
  161. package/log-management/lib/entity.provider.d.ts +10 -0
  162. package/log-management/lib/log-management.module.d.ts +6 -0
  163. package/log-management/lib/menu.provider.d.ts +5 -0
  164. package/log-management/lib/permission.provider.d.ts +4 -0
  165. package/log-management/lib/search-command.provider.d.ts +4 -0
  166. package/log-management/lib/settings.keys.d.ts +16 -0
  167. package/log-management/lib/settings.provider.d.ts +12 -0
  168. package/notification-management/index.d.ts +1 -1
  169. package/organization-management/lib/entities/branch/branch.types.d.ts +6 -0
  170. package/organization-management/lib/entities/department/department.types.d.ts +5 -0
  171. package/organization-management/lib/entities/division/division.types.d.ts +5 -0
  172. package/organization-management/lib/entities/employee/employee.types.d.ts +9 -1
  173. package/organization-management/lib/entities/role/role.types.d.ts +1 -1
  174. package/organization-management/lib/entities/team/team.types.d.ts +4 -1
  175. package/organization-management/lib/{setting.keys.d.ts → settings.keys.d.ts} +1 -1
  176. package/package.json +5 -1
  177. package/platform-management/index.d.ts +1 -0
  178. package/platform-management/lib/const.d.ts +24 -0
  179. package/platform-management/lib/entities/data-source/coulmn-def.widget.d.ts +3 -2
  180. package/platform-management/lib/entities/index.d.ts +3 -0
  181. package/platform-management/lib/entities/issue-type/index.d.ts +3 -0
  182. package/platform-management/lib/entities/issue-type/issue-type.entity.d.ts +3 -0
  183. package/platform-management/lib/entities/issue-type/issue-type.service.d.ts +10 -0
  184. package/platform-management/lib/entities/issue-type/issue-type.types.d.ts +6 -0
  185. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -1
  186. package/platform-management/lib/entities/meta-data-definition-category/category.types.d.ts +2 -0
  187. package/platform-management/lib/entities/my-reported-issues/index.d.ts +3 -0
  188. package/platform-management/lib/entities/my-reported-issues/my-reported-issues.entity.d.ts +3 -0
  189. package/platform-management/lib/entities/my-reported-issues/my-reported-issues.service.d.ts +10 -0
  190. package/platform-management/lib/entities/my-reported-issues/my-reported-issues.types.d.ts +5 -0
  191. package/platform-management/lib/entities/reported-issues/index.d.ts +3 -0
  192. package/platform-management/lib/entities/reported-issues/reported-issues.entity.d.ts +3 -0
  193. package/platform-management/lib/entities/reported-issues/reported-issues.service.d.ts +10 -0
  194. package/platform-management/lib/entities/reported-issues/reported-issues.types.d.ts +21 -0
  195. package/platform-management/lib/features/index.d.ts +1 -0
  196. package/platform-management/lib/features/release-notes/settings.keys.d.ts +3 -0
  197. package/platform-management/lib/features/release-notes/settings.provider.d.ts +11 -0
  198. package/platform-management/lib/features/support/capture-screen/capture-screen.types.d.ts +19 -0
  199. package/platform-management/lib/features/support/capture-screen/components/capture-screen-component/capture-screen.component.d.ts +37 -0
  200. package/platform-management/lib/features/support/capture-screen/index.d.ts +2 -0
  201. package/platform-management/lib/features/support/capture-screen/services/capture-screen.service.d.ts +33 -0
  202. package/platform-management/lib/features/support/index.d.ts +2 -0
  203. package/platform-management/lib/features/support/report-issue/components/index.d.ts +1 -0
  204. package/platform-management/lib/features/support/report-issue/components/report-new-issue/report-new-issue.component.d.ts +40 -0
  205. package/platform-management/lib/features/support/report-issue/index.d.ts +2 -0
  206. package/platform-management/lib/features/support/report-issue/report-issue.types.d.ts +19 -0
  207. package/platform-management/lib/features/support/report-issue/services/report-new-issue.viewmodel.d.ts +15 -0
  208. package/platform-management/lib/features/support/report-issue/workflows/index.d.ts +1 -0
  209. package/platform-management/lib/features/support/report-issue/workflows/show-report-issue.workflow.d.ts +10 -0
  210. package/security-management/lib/const.d.ts +6 -0
  211. package/security-management/lib/entities/device-sessions/device-sessions.entity.d.ts +3 -0
  212. package/security-management/lib/entities/device-sessions/device-sessions.module.d.ts +6 -0
  213. package/security-management/lib/entities/device-sessions/device-sessions.service.d.ts +12 -0
  214. package/security-management/lib/entities/device-sessions/device-sessions.types.d.ts +34 -0
  215. package/security-management/lib/entities/device-sessions/index.d.ts +4 -0
  216. package/security-management/lib/entities/index.d.ts +1 -0
  217. package/security-management/lib/menu.keys.d.ts +2 -1
  218. package/security-management/lib/security-management.module.d.ts +6 -4
  219. package/security-management/lib/workflows/terminate-entity.workflow.d.ts +27 -0
  220. package/fesm2022/acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs.map +0 -1
  221. package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs +0 -271
  222. package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs.map +0 -1
  223. package/fesm2022/acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs.map +0 -1
  224. package/fesm2022/acorex-modules-common-index-rvP9ISgL.mjs.map +0 -1
  225. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs.map +0 -1
  226. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-C3bCqH0S.mjs.map +0 -1
  227. package/fesm2022/acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs.map +0 -1
  228. package/fesm2022/acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs.map +0 -1
  229. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs.map +0 -1
  230. package/fesm2022/acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs.map +0 -1
  231. package/fesm2022/acorex-modules-organization-management-branch.entity-e5pFx82N.mjs.map +0 -1
  232. package/fesm2022/acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs.map +0 -1
  233. package/fesm2022/acorex-modules-organization-management-company.entity-BRkEcDNt.mjs.map +0 -1
  234. package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs +0 -256
  235. package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs.map +0 -1
  236. package/fesm2022/acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map +0 -1
  237. package/fesm2022/acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs.map +0 -1
  238. package/fesm2022/acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map +0 -1
  239. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs.map +0 -1
  240. package/fesm2022/acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map +0 -1
  241. package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs +0 -238
  242. package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs.map +0 -1
  243. package/fesm2022/acorex-modules-organization-management-setting.keys-CF6Giykz.mjs.map +0 -1
  244. package/fesm2022/acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs.map +0 -1
  245. package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs +0 -238
  246. package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs.map +0 -1
  247. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs.map +0 -1
  248. package/fesm2022/acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs.map +0 -1
  249. package/fesm2022/acorex-modules-text-template-management-setting.provider-fX0dhWUL.mjs.map +0 -1
  250. /package/auth/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
  251. /package/common/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
  252. /package/document-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
  253. /package/form-template-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
  254. /package/notification-management/lib/{setting.keys.d.ts → settings.keys.d.ts} +0 -0
  255. /package/notification-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
  256. /package/organization-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
  257. /package/platform-management/lib/features/common/regional/{setting.keys.d.ts → settings.keys.d.ts} +0 -0
  258. /package/platform-management/lib/features/common/regional/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
  259. /package/text-template-management/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-modules-common-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs","sources":["../../../../libs/modules/common/src/lib/features/home-dashboard/widgets/dashboard-shortcut/dashboard-shortcut-widget-view.component.ts"],"sourcesContent":["import { AXPopupService } from '@acorex/components/popup';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSearchDisplayResult } from '@acorex/platform/common';\nimport { AXPDataGenerator, AXPExecuteCommand } from '@acorex/platform/core';\nimport { AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';\nimport { AXP_GLOBAL_SEARCH_CONFIG_TOKEN } from '@acorex/platform/layout/search';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, HostBinding, inject } from '@angular/core';\n\n\nexport interface AXPShortcutItem {\n name: string;\n title: string;\n description?: string;\n icon: string;\n command: AXPExecuteCommand;\n}\n\n\n@Component({\n template: `\n @if(item()) {\n <div \n class=\"ax-group ax-flex ax-flex-col ax-items-center ax-justify-center ax-p-3 ax-w-full ax-h-full ax-relative ax-overflow-hidden \"\n (click)=\"executeCommand()\">\n <div class=\"ax-absolute ax-inset-0 ax-bg-black/0 hover:ax-bg-black/10 ax-transition-opacity\"></div>\n <i [class]=\"item().icon + ' ax-text-3xl'\"></i>\n <span class=\"ax-text-xl ax-font-semibold\">{{ item().title | translate | async }}</span>\n @if(item().description) {\n <span class=\"ax-text-sm ax-opacity-90 ax-text-center ax-px-2\">{{ item().description! | translate | async }}</span>\n }\n </div>\n } @else {\n <div \n (click)=\"setCommand()\" \n class=\"ax-group ax-flex ax-flex-col ax-items-center ax-justify-center ax-p-3 ax-w-full ax-h-full ax-relative ax-overflow-hidden\">\n <div class=\"ax-absolute ax-inset-0 ax-bg-black/0 hover:ax-bg-black/5 ax-transition-opacity\"></div>\n <i class=\"fa-light fa-plus ax-text-3xl\"></i>\n <span class=\"ax-text-xl ax-font-semibold\">Add Shortcut</span>\n </div>\n }\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXTranslationModule]\n})\nexport class AXPDashboardShortcutWidgetViewComponent extends AXPLayoutWidgetComponent {\n\n private popupService = inject(AXPopupService);\n private workflow = inject(AXPWorkflowService);\n private searchConfig = inject(AXP_GLOBAL_SEARCH_CONFIG_TOKEN);\n\n protected item = computed<AXPShortcutItem>(() => this.options()['item'] as AXPShortcutItem);\n protected color = computed<string>(() => this.options()['color'] as string);\n\n override ngOnInit(): void {\n super.ngOnInit();\n if (!this.color()) {\n this.setOptions({\n color: AXPDataGenerator.color()\n });\n }\n }\n\n protected async executeCommand() {\n if (this.item()?.command) {\n await this.workflow.execute(this.item().command.name, this.item().command.options);\n }\n }\n\n protected async setCommand() {\n const component = await this.searchConfig.window();\n const popup = await this.popupService.open(component, {\n title: 'Choose command...',\n size: 'fit',\n closeOnBackdropClick: true,\n header: false,\n });\n if (popup.data) {\n const result = popup.data as AXPSearchDisplayResult;\n if (result && result.command) {\n this.setOptions({\n item: {\n name: result.name,\n title: result.title,\n description: result.description,\n icon: result.icon,\n command: result.command\n } as AXPShortcutItem\n });\n }\n }\n }\n\n @HostBinding('style')\n private get __style() {\n const cls: any = {};\n cls[`background-color`] = this.color();\n return cls;\n }\n\n @HostBinding('class')\n private get __class() {\n const cls: any = {};\n cls[`ax-flex`] = true;\n cls[`ax-flex-col`] = true;\n cls[`ax-items-center`] = true;\n cls[`ax-justify-center`] = true;\n cls[`ax-w-full`] = true;\n cls[`ax-h-full`] = true;\n cls[`ax-text-center`] = true;\n cls[`ax-overflow-hidden`] = true;\n cls[`ax-cursor-pointer`] = true;\n cls[`ax-text-white`] = true;\n return cls;\n }\n}"],"names":[],"mappings":";;;;;;;;;;;;AA+CM,MAAO,uCAAwC,SAAQ,wBAAwB,CAAA;AA3BrF,IAAA,WAAA,GAAA;;AA6BU,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACrC,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,8BAA8B,CAAC;AAEnD,QAAA,IAAA,CAAA,IAAI,GAAG,QAAQ,CAAkB,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,CAAoB,CAAC;AACjF,QAAA,IAAA,CAAA,KAAK,GAAG,QAAQ,CAAS,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,OAAO,CAAW,CAAC;AA+D5E;IA7DU,QAAQ,GAAA;QACf,KAAK,CAAC,QAAQ,EAAE;AAChB,QAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;YACjB,IAAI,CAAC,UAAU,CAAC;AACd,gBAAA,KAAK,EAAE,gBAAgB,CAAC,KAAK;AAC9B,aAAA,CAAC;;;AAII,IAAA,MAAM,cAAc,GAAA;AAC5B,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE;YACxB,MAAM,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;;;AAI5E,IAAA,MAAM,UAAU,GAAA;QACxB,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE;QAClD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE;AACpD,YAAA,KAAK,EAAE,mBAAmB;AAC1B,YAAA,IAAI,EAAE,KAAK;AACX,YAAA,oBAAoB,EAAE,IAAI;AAC1B,YAAA,MAAM,EAAE,KAAK;AACd,SAAA,CAAC;AACF,QAAA,IAAI,KAAK,CAAC,IAAI,EAAE;AACd,YAAA,MAAM,MAAM,GAAG,KAAK,CAAC,IAA8B;AACnD,YAAA,IAAI,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE;gBAC5B,IAAI,CAAC,UAAU,CAAC;AACd,oBAAA,IAAI,EAAE;wBACJ,IAAI,EAAE,MAAM,CAAC,IAAI;wBACjB,KAAK,EAAE,MAAM,CAAC,KAAK;wBACnB,WAAW,EAAE,MAAM,CAAC,WAAW;wBAC/B,IAAI,EAAE,MAAM,CAAC,IAAI;wBACjB,OAAO,EAAE,MAAM,CAAC;AACE;AACrB,iBAAA,CAAC;;;;AAKR,IAAA,IACY,OAAO,GAAA;QACjB,MAAM,GAAG,GAAQ,EAAE;QACnB,GAAG,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE;AACtC,QAAA,OAAO,GAAG;;AAGZ,IAAA,IACY,OAAO,GAAA;QACjB,MAAM,GAAG,GAAQ,EAAE;AACnB,QAAA,GAAG,CAAC,CAAA,OAAA,CAAS,CAAC,GAAG,IAAI;AACrB,QAAA,GAAG,CAAC,CAAA,WAAA,CAAa,CAAC,GAAG,IAAI;AACzB,QAAA,GAAG,CAAC,CAAA,eAAA,CAAiB,CAAC,GAAG,IAAI;AAC7B,QAAA,GAAG,CAAC,CAAA,iBAAA,CAAmB,CAAC,GAAG,IAAI;AAC/B,QAAA,GAAG,CAAC,CAAA,SAAA,CAAW,CAAC,GAAG,IAAI;AACvB,QAAA,GAAG,CAAC,CAAA,SAAA,CAAW,CAAC,GAAG,IAAI;AACvB,QAAA,GAAG,CAAC,CAAA,cAAA,CAAgB,CAAC,GAAG,IAAI;AAC5B,QAAA,GAAG,CAAC,CAAA,kBAAA,CAAoB,CAAC,GAAG,IAAI;AAChC,QAAA,GAAG,CAAC,CAAA,iBAAA,CAAmB,CAAC,GAAG,IAAI;AAC/B,QAAA,GAAG,CAAC,CAAA,aAAA,CAAe,CAAC,GAAG,IAAI;AAC3B,QAAA,OAAO,GAAG;;8GApED,uCAAuC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uCAAuC,EA1BxC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,cAAA,EAAA,OAAA,EAAA,cAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;GAqBT,EAGS,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,mFAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAEhC,uCAAuC,EAAA,UAAA,EAAA,CAAA;kBA3BnD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;AAqBT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB;AAC5C,iBAAA;8BAkDa,OAAO,EAAA,CAAA;sBADlB,WAAW;uBAAC,OAAO;gBAQR,OAAO,EAAA,CAAA;sBADlB,WAAW;uBAAC,OAAO;;;;;"}
@@ -1,7 +1,7 @@
1
- import * as i5 from '@angular/common';
1
+ import * as i1$1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { output, input, ChangeDetectionStrategy, Component, model, signal, inject, Injectable, computed, effect, ViewEncapsulation } from '@angular/core';
4
+ import { output, contentChild, afterNextRender, input, signal, ChangeDetectionStrategy, Component, model, inject, Injectable, computed, effect, ViewEncapsulation } from '@angular/core';
5
5
  import { Router, ActivatedRoute } from '@angular/router';
6
6
  import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
7
7
  import * as i1 from '@acorex/components/button';
@@ -13,34 +13,49 @@ import { AXDialogService } from '@acorex/components/dialog';
13
13
  import * as i3 from '@acorex/components/dropdown';
14
14
  import { AXDropdownModule } from '@acorex/components/dropdown';
15
15
  import { AXDropdownButtonModule } from '@acorex/components/dropdown-button';
16
- import * as i3$2 from '@acorex/components/grid-layout-builder';
16
+ import * as i4$1 from '@acorex/components/grid-layout-builder';
17
17
  import { AXGridLayoutBuilderModule } from '@acorex/components/grid-layout-builder';
18
- import * as i4 from '@acorex/core/translation';
18
+ import * as i2$1 from '@acorex/core/translation';
19
19
  import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
20
- import * as i2$1 from '@acorex/platform/layout/builder';
21
- import { AXPWidgetGroupEnum, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
20
+ import * as i3$2 from '@acorex/platform/layout/builder';
21
+ import { AXPWidgetRendererDirective, AXPWidgetGroupEnum, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
22
22
  import { AXPWidgetPropertyViewerComponent, AXPWidgetPickerService, AXPDesignerService } from '@acorex/platform/layout/designer';
23
23
  import { AXPBasePageComponent, AXPPageLayoutComponent, AXPBasePage } from '@acorex/platform/themes/default';
24
24
  import { AXPLayoutThemeService, AXPThemeLayoutBlockComponent } from '@acorex/platform/themes/shared';
25
+ import * as i2$2 from '@acorex/components/loading';
26
+ import { AXLoadingModule } from '@acorex/components/loading';
25
27
  import { AXPopupService } from '@acorex/components/popup';
26
28
  import { AXMDashboardService, RootConfig } from './acorex-modules-common.mjs';
27
29
  import { AXPSettingService } from '@acorex/platform/common';
28
30
  import { AXPPlatformScope, AXPDataGenerator } from '@acorex/platform/core';
29
31
  import { signalStore, withState, withComputed, withMethods, patchState } from '@ngrx/signals';
30
- import * as i4$1 from '@acorex/components/label';
32
+ import * as i4 from '@acorex/components/label';
31
33
  import { AXLabelModule } from '@acorex/components/label';
32
34
  import { AXBasePageComponent } from '@acorex/components/page';
33
35
  import * as i3$1 from '@acorex/components/text-box';
34
36
  import { AXTextBoxModule } from '@acorex/components/text-box';
35
- import * as i1$1 from '@angular/forms';
37
+ import * as i1$2 from '@angular/forms';
36
38
  import { FormsModule } from '@angular/forms';
37
39
 
38
40
  class AXCDashboardWidgetWrapperComponent {
39
41
  constructor() {
40
42
  this.onDelete = output();
41
43
  this.onConfiguration = output();
42
- this.hasOptions = input(true);
44
+ this.onValueChanged = output();
45
+ this.onOptionsChanged = output();
46
+ this.widget = contentChild(AXPWidgetRendererDirective);
47
+ this.#init = afterNextRender(() => {
48
+ this.widget()?.onOptionsChanged.subscribe((c) => {
49
+ this.onOptionsChanged.emit(c.widget.options());
50
+ });
51
+ this.widget()?.onValueChanged.subscribe((c) => {
52
+ this.onValueChanged.emit(c.widget.getValue());
53
+ });
54
+ });
55
+ this.hasConfiguration = input(true);
56
+ this.isDropdownOpen = signal(false);
43
57
  }
58
+ #init;
44
59
  handleOnItemClick(event) {
45
60
  switch (event.item.data) {
46
61
  case 'delete':
@@ -52,13 +67,17 @@ class AXCDashboardWidgetWrapperComponent {
52
67
  default:
53
68
  break;
54
69
  }
70
+ this.isDropdownOpen.set(false);
71
+ }
72
+ log(event) {
73
+ console.log('Dropdown event:', event);
55
74
  }
56
75
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCDashboardWidgetWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
57
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXCDashboardWidgetWrapperComponent, isStandalone: true, selector: "axc-dashboard-widget-wrapper", inputs: { hasOptions: { classPropertyName: "hasOptions", publicName: "hasOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDelete: "onDelete", onConfiguration: "onConfiguration" }, ngImport: i0, template: "<section class=\"ax-relative ax-size-full ax-flex ax-justify-center ax-items-center ax-group\">\n @if(hasOptions()){\n <div class=\"ax-p-1 ax-absolute ax-top-0 ax-left-0 ax-z-[9999] ax-invisible group-hover:ax-visible\">\n <ax-button class=\"ax-sm\" [look]=\"'blank'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-ellipsis-h\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel>\n <ng-container *translate=\"let t\">\n <ax-button-item-list (onItemClick)=\"handleOnItemClick($event)\">\n <ax-button-item\n [data]=\"'configuration'\"\n [text]=\"(t('configuration', { scope: 'dashboard' }) | async) || 'configuration'\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-cog\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n <ax-button-item\n [data]=\"'delete'\"\n [text]=\"(t('delete', { scope: 'dashboard' }) | async) || 'delete'\"\n color=\"danger\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-trash-can\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ax-button-item-list>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n }\n <ng-content></ng-content>\n</section>\n", styles: [":host{display:block;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i1.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i1.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXDropdownModule }, { kind: "component", type: i3.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i4.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
76
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXCDashboardWidgetWrapperComponent, isStandalone: true, selector: "axc-dashboard-widget-wrapper", inputs: { hasConfiguration: { classPropertyName: "hasConfiguration", publicName: "hasConfiguration", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDelete: "onDelete", onConfiguration: "onConfiguration", onValueChanged: "onValueChanged", onOptionsChanged: "onOptionsChanged" }, queries: [{ propertyName: "widget", first: true, predicate: AXPWidgetRendererDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<section class=\"ax-relative ax-size-full ax-flex ax-justify-center ax-items-center ax-group\">\n <div\n class=\"ax-p-1 ax-absolute ax-top-0 ax-end-0 ax-z-[99] ax-invisible group-hover:ax-visible\"\n [class.!ax-visible]=\"isDropdownOpen()\"\n >\n <ax-button class=\"ax-sm\" [look]=\"'blank'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-ellipsis-vertical\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel (onOpened)=\"isDropdownOpen.set(true)\" (onClosed)=\"isDropdownOpen.set(false)\">\n <ng-container *translate=\"let t\">\n <ax-button-item-list (onItemClick)=\"handleOnItemClick($event)\">\n @if(hasConfiguration()){\n <ax-button-item\n [data]=\"'configuration'\"\n [text]=\"(t('configuration', { scope: 'dashboard' }) | async) || 'configuration'\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-cog\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n }\n <ax-button-item\n [data]=\"'delete'\"\n [text]=\"(t('delete', { scope: 'dashboard' }) | async) || 'delete'\"\n color=\"danger\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-trash-can\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ax-button-item-list>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n\n <ng-content></ng-content>\n</section>\n", styles: [":host{display:block;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i1.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i1.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXDropdownModule }, { kind: "component", type: i3.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i2$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
58
77
  }
59
78
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCDashboardWidgetWrapperComponent, decorators: [{
60
79
  type: Component,
61
- args: [{ selector: 'axc-dashboard-widget-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXButtonModule, AXDecoratorModule, AXDropdownModule, AXTranslationModule, CommonModule], standalone: true, template: "<section class=\"ax-relative ax-size-full ax-flex ax-justify-center ax-items-center ax-group\">\n @if(hasOptions()){\n <div class=\"ax-p-1 ax-absolute ax-top-0 ax-left-0 ax-z-[9999] ax-invisible group-hover:ax-visible\">\n <ax-button class=\"ax-sm\" [look]=\"'blank'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-ellipsis-h\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel>\n <ng-container *translate=\"let t\">\n <ax-button-item-list (onItemClick)=\"handleOnItemClick($event)\">\n <ax-button-item\n [data]=\"'configuration'\"\n [text]=\"(t('configuration', { scope: 'dashboard' }) | async) || 'configuration'\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-cog\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n <ax-button-item\n [data]=\"'delete'\"\n [text]=\"(t('delete', { scope: 'dashboard' }) | async) || 'delete'\"\n color=\"danger\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-trash-can\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ax-button-item-list>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n }\n <ng-content></ng-content>\n</section>\n", styles: [":host{display:block;width:100%;height:100%}\n"] }]
80
+ args: [{ selector: 'axc-dashboard-widget-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXButtonModule, AXDecoratorModule, AXDropdownModule, AXTranslationModule, CommonModule], standalone: true, template: "<section class=\"ax-relative ax-size-full ax-flex ax-justify-center ax-items-center ax-group\">\n <div\n class=\"ax-p-1 ax-absolute ax-top-0 ax-end-0 ax-z-[99] ax-invisible group-hover:ax-visible\"\n [class.!ax-visible]=\"isDropdownOpen()\"\n >\n <ax-button class=\"ax-sm\" [look]=\"'blank'\">\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-ellipsis-vertical\"></ax-icon>\n </ax-prefix>\n <ax-dropdown-panel (onOpened)=\"isDropdownOpen.set(true)\" (onClosed)=\"isDropdownOpen.set(false)\">\n <ng-container *translate=\"let t\">\n <ax-button-item-list (onItemClick)=\"handleOnItemClick($event)\">\n @if(hasConfiguration()){\n <ax-button-item\n [data]=\"'configuration'\"\n [text]=\"(t('configuration', { scope: 'dashboard' }) | async) || 'configuration'\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-cog\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n }\n <ax-button-item\n [data]=\"'delete'\"\n [text]=\"(t('delete', { scope: 'dashboard' }) | async) || 'delete'\"\n color=\"danger\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-trash-can\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ax-button-item-list>\n </ng-container>\n </ax-dropdown-panel>\n </ax-button>\n </div>\n\n <ng-content></ng-content>\n</section>\n", styles: [":host{display:block;width:100%;height:100%}\n"] }]
62
81
  }] });
63
82
 
64
83
  class AXCAddDashboardPopup extends AXBasePageComponent {
@@ -101,7 +120,7 @@ class AXCAddDashboardPopup extends AXBasePageComponent {
101
120
  </ax-button>
102
121
  </ax-suffix>
103
122
  </ax-footer>
104
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i3$1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i4$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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" }] }); }
123
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i3$1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i4.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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" }] }); }
105
124
  }
106
125
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCAddDashboardPopup, decorators: [{
107
126
  type: Component,
@@ -315,7 +334,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
315
334
  id: model.id || '',
316
335
  title: model.title,
317
336
  description: model.description,
318
- widget: model.widget || [],
337
+ widgets: model.widgets || [],
319
338
  };
320
339
  }
321
340
  // Convert dashboard layout to entity model
@@ -325,7 +344,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
325
344
  name: layout.title,
326
345
  title: layout.title,
327
346
  description: layout.description || '',
328
- widget: layout.widget,
347
+ widgets: layout.widgets,
329
348
  };
330
349
  }
331
350
  return {
@@ -340,11 +359,11 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
340
359
  const newDashboard = await dashboardPopup.generateDashboardLayout({});
341
360
  if (!newDashboard)
342
361
  return;
343
- newDashboard.id = AXPDataGenerator.uuid();
344
- newDashboard.widget = [];
345
362
  // Create dashboard model and save to service
346
363
  const dashboardModel = dashboardLayoutToModel(newDashboard);
347
- await dashboardService.insertOne(dashboardModel);
364
+ const createdDashboardId = await dashboardService.insertOne(dashboardModel);
365
+ newDashboard.id = createdDashboardId;
366
+ newDashboard.widgets = [];
348
367
  // Update local state
349
368
  const updatedDashboards = [...store.dashboards(), newDashboard];
350
369
  patchState(store, {
@@ -368,8 +387,17 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
368
387
  const widgets = await widgetPickerService.showPicker({
369
388
  groups: [AXPWidgetGroupEnum.DashboardWidget],
370
389
  });
371
- //remove meta from widgets
390
+ //remove meta from widgets //TODO TEMPORARY FIX
372
391
  const filteredWidgets = widgets.map(({ __meta__, ...rest }) => rest);
392
+ if (filteredWidgets[0]?.type === 'sticky-note') {
393
+ if (!filteredWidgets[0].options) {
394
+ filteredWidgets[0].options = {};
395
+ }
396
+ filteredWidgets[0].options.hasConfiguration = false;
397
+ }
398
+ filteredWidgets.forEach((widget) => {
399
+ widget.path = widget?.type + '-' + widget?.name;
400
+ });
373
401
  // Step 2: Convert the selected widgets into AXPDashboardWidgetData format
374
402
  const convertedWidgets = filteredWidgets.map((widget) => {
375
403
  const id = AXPDataGenerator.uuid();
@@ -391,7 +419,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
391
419
  if (dashboard.id === store.currentDashboardId()) {
392
420
  return {
393
421
  ...dashboard,
394
- widget: [...dashboard.widget, ...convertedWidgets],
422
+ widgets: [...dashboard.widgets, ...convertedWidgets],
395
423
  };
396
424
  }
397
425
  return dashboard;
@@ -423,7 +451,8 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
423
451
  // Update state and select a new current dashboard if needed
424
452
  let newCurrentDashboardId = store.currentDashboardId();
425
453
  if (id === store.currentDashboardId()) {
426
- newCurrentDashboardId = updatedDashboards.length > 0 ? updatedDashboards[0].id : null;
454
+ newCurrentDashboardId =
455
+ updatedDashboards.length > 0 ? updatedDashboards[updatedDashboards.length - 1].id : null;
427
456
  // Save to settings if we changed the current dashboard
428
457
  if (newCurrentDashboardId) {
429
458
  settingService
@@ -448,7 +477,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
448
477
  return;
449
478
  const updatedDashboard = {
450
479
  ...currentDashboard,
451
- widget: currentDashboard.widget.filter((widget) => widget.config.id !== widgetId),
480
+ widgets: currentDashboard.widgets.filter((widget) => widget.config.id !== widgetId),
452
481
  };
453
482
  // Save to service
454
483
  await dashboardService.updateOne(dashboardId, dashboardLayoutToModel(updatedDashboard));
@@ -473,7 +502,6 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
473
502
  },
474
503
  // Handle grid layout changes
475
504
  async onGridChange(event) {
476
- console.log('onGridChange', event);
477
505
  if (!store.currentDashboard()) {
478
506
  console.warn('No current dashboard for grid change');
479
507
  return;
@@ -482,7 +510,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
482
510
  const nodes = event.nodes.map(({ element, ...rest }) => rest);
483
511
  // Update the current dashboard
484
512
  const currentDashboard = store.currentDashboard();
485
- const updatedWidgets = currentDashboard.widget.map((widget) => {
513
+ const updatedWidgets = currentDashboard.widgets.map((widget) => {
486
514
  const updatedNode = nodes.find((node) => node.id === widget.config.id);
487
515
  if (updatedNode) {
488
516
  return {
@@ -494,7 +522,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
494
522
  });
495
523
  const updatedDashboard = {
496
524
  ...currentDashboard,
497
- widget: updatedWidgets,
525
+ widgets: updatedWidgets,
498
526
  };
499
527
  // Save to service
500
528
  await dashboardService.updateOne(updatedDashboard.id, dashboardLayoutToModel(updatedDashboard));
@@ -517,7 +545,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
517
545
  }
518
546
  // Update the current dashboard's widget with the new configuration
519
547
  const currentDashboard = store.currentDashboard();
520
- const updatedWidgets = currentDashboard.widget.map((widget) => {
548
+ const updatedWidgets = currentDashboard.widgets.map((widget) => {
521
549
  if (widget.node?.name === widgetNode.name && widget.node?.path === widgetNode.path) {
522
550
  return {
523
551
  ...widget,
@@ -528,7 +556,7 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
528
556
  });
529
557
  const updatedDashboard = {
530
558
  ...currentDashboard,
531
- widget: updatedWidgets,
559
+ widgets: updatedWidgets,
532
560
  };
533
561
  // Save to service
534
562
  await dashboardService.updateOne(updatedDashboard.id, dashboardLayoutToModel(updatedDashboard));
@@ -542,6 +570,83 @@ withMethods((store, dashboardPopup = inject(AXPDashboardPopupService), dialogSer
542
570
  console.error('Error handling widget configuration:', error);
543
571
  }
544
572
  },
573
+ // Handle widget value changes
574
+ async handleValueChanged(widgetNode, data) {
575
+ if (!store.currentDashboard()) {
576
+ console.warn('No current dashboard selected');
577
+ return;
578
+ }
579
+ try {
580
+ // Update the current dashboard's widget with the new value
581
+ const currentDashboard = store.currentDashboard();
582
+ const updatedWidgets = currentDashboard.widgets.map((widget) => {
583
+ if (widget.node && widget.node.name === widgetNode.name && widget.node.path === widgetNode.path) {
584
+ return {
585
+ ...widget,
586
+ node: {
587
+ ...widget.node,
588
+ defaultValue: data,
589
+ },
590
+ };
591
+ }
592
+ return widget;
593
+ });
594
+ const updatedDashboard = {
595
+ ...currentDashboard,
596
+ widgets: updatedWidgets,
597
+ };
598
+ // Save to service
599
+ await dashboardService.updateOne(updatedDashboard.id, dashboardLayoutToModel(updatedDashboard));
600
+ // Update the dashboards state
601
+ const updatedDashboards = store
602
+ .dashboards()
603
+ .map((dashboard) => (dashboard.id === updatedDashboard.id ? updatedDashboard : dashboard));
604
+ // patchState(store, { dashboards: updatedDashboards });
605
+ }
606
+ catch (error) {
607
+ console.error('Error handling widget value change:', error);
608
+ }
609
+ },
610
+ // Handle widget options changes
611
+ async handleOptionsChanged(widgetNode, data) {
612
+ if (!store.currentDashboard()) {
613
+ console.warn('No current dashboard selected');
614
+ return;
615
+ }
616
+ try {
617
+ // Update the current dashboard's widget with the new options
618
+ const currentDashboard = store.currentDashboard();
619
+ const updatedWidgets = currentDashboard.widgets.map((widget) => {
620
+ if (widget.node && widget.node.name === widgetNode.name && widget.node.path === widgetNode.path) {
621
+ return {
622
+ ...widget,
623
+ node: {
624
+ ...widget.node,
625
+ options: {
626
+ ...(widget.node.options || {}),
627
+ ...data,
628
+ },
629
+ },
630
+ };
631
+ }
632
+ return widget;
633
+ });
634
+ const updatedDashboard = {
635
+ ...currentDashboard,
636
+ widgets: updatedWidgets,
637
+ };
638
+ // Save to service
639
+ await dashboardService.updateOne(updatedDashboard.id, dashboardLayoutToModel(updatedDashboard));
640
+ // Update the dashboards state
641
+ const updatedDashboards = store
642
+ .dashboards()
643
+ .map((dashboard) => (dashboard.id === updatedDashboard.id ? updatedDashboard : dashboard));
644
+ patchState(store, { dashboards: updatedDashboards });
645
+ }
646
+ catch (error) {
647
+ console.error('Error handling widget options change:', error);
648
+ }
649
+ },
545
650
  // Reload dashboards from service
546
651
  async refreshDashboards() {
547
652
  await loadDashboards();
@@ -647,14 +752,6 @@ class AXPDashboardHomeComponent extends AXPBasePageComponent {
647
752
  },
648
753
  ];
649
754
  }
650
- getPageBreadcrumbs() {
651
- return [
652
- {
653
- title: this.translateService.translateSync('entity.home'),
654
- icon: 'fa-solid fa-home ax-text-xs ax-me-2',
655
- },
656
- ];
657
- }
658
755
  async execute(command) {
659
756
  if (command.metadata?.['isDashboard']) {
660
757
  this.store.handleConfigChange(command.metadata?.['dashboard']);
@@ -677,6 +774,12 @@ class AXPDashboardHomeComponent extends AXPBasePageComponent {
677
774
  }
678
775
  }
679
776
  }
777
+ // #af = afterNextRender(() => {
778
+ // this.store.refreshDashboards();
779
+ // });
780
+ log(event) {
781
+ console.log(event);
782
+ }
680
783
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDashboardHomeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
681
784
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPDashboardHomeComponent, isStandalone: true, selector: "axp-dashboard-home", providers: [
682
785
  AXPDesignerService,
@@ -685,12 +788,13 @@ class AXPDashboardHomeComponent extends AXPBasePageComponent {
685
788
  provide: AXPBasePage,
686
789
  useExisting: AXPDashboardHomeComponent,
687
790
  },
688
- ], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n <!-- Content Section -->\n\n <axp-page-content class=\"ax-relative\">\n <ax-grid-layout-container [options]=\"store.dashboardsOption()\" (onChange)=\"store.onGridChange($event)\">\n @for(widget of store.currentDashboard()?.widget; track widget.config.id) {\n <ax-grid-layout-widget [options]=\"widget.config\">\n <axc-dashboard-widget-wrapper\n [hasOptions]=\"widget.node?.options?.['hasOptions'] ?? true\"\n (onDelete)=\"confirmWidgetDelete(store.currentDashboard()?.id!, widget.config.id!)\"\n (onConfiguration)=\"store.handlePopupConfiguration(widget.node!)\"\n >\n @if(widget.node) {\n <axp-widgets-container [context]=\"context()\">\n <ng-container axp-widget-renderer [node]=\"widget.node\" [mode]=\"'view'\"></ng-container>\n </axp-widgets-container>\n }\n </axc-dashboard-widget-wrapper>\n </ax-grid-layout-widget>\n } @empty {\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-bg-gray-50 ax-p-4\">\n <ax-icon icon=\"fa-light fa-shapes\" class=\"ax-text-4xl ax-text-gray-400 ax-mb-4\"></ax-icon>\n <h2 class=\"ax-text-xl ax-font-semibold ax-text-gray-700 ax-mb-2\">\n {{ t('no-widgets', { scope: 'dashboard' }) | async }}\n </h2>\n <p class=\"ax-text-gray-500 ax-text-center ax-mb-6\">\n {{ t('add-first-widget', { scope: 'dashboard' }) | async }}\n </p>\n </div>\n }\n </ax-grid-layout-container>\n </axp-page-content>\n</axp-page-layout>\n", styles: ["axp-dashboard-home{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axp-dashboard-home .placeholder-content{border-radius:.5rem!important;border-width:1px!important;border-style:dashed!important;--tw-border-opacity: 1 !important;border-color:rgba(var(--ax-sys-color-primary-500),var(--tw-border-opacity, 1))!important;background-color:rgba(var(--ax-sys-color-primary-lightest-surface),.5)!important}axp-dashboard-home ax-grid-layout-widget .grid-stack-item-content{border-style:none!important;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important;background-color:rgb(var(--ax-sys-color-lightest-surface))!important;color:rgb(var(--ax-sys-color-on-lightest-surface))!important;border-color:rgb(var(--ax-sys-color-border-lightest-surface))!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i2$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i2$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXButtonGroupModule }, { kind: "ngmodule", type: AXGridLayoutBuilderModule }, { kind: "component", type: i3$2.AXGridLayoutContainerComponent, selector: "ax-grid-layout-container", inputs: ["options", "isEmpty"], outputs: ["onAdded", "onRemoved", "onWidgetChange", "onChange", "isLayoutRendered", "isEmptyChange"] }, { kind: "component", type: i3$2.AXGridLayoutWidgetComponent, selector: "ax-grid-layout-widget", inputs: ["options"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer, axp-page-header, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-container, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i4.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "component", type: AXCDashboardWidgetWrapperComponent, selector: "axc-dashboard-widget-wrapper", inputs: ["hasOptions"], outputs: ["onDelete", "onConfiguration"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
791
+ ], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n <!-- Content Section -->\n\n <axp-page-content class=\"ax-relative\">\n @if(store.isLoading()) {\n <div\n class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-w-full ax-absolute ax-z-10 ax-bg-white/80\"\n >\n <ax-loading></ax-loading>\n <p class=\"ax-mt-3 ax-text-gray-600\">{{ t('loading', { scope: 'dashboard' }) | async }}</p>\n </div>\n } @else {\n <axp-widgets-container [context]=\"context()\">\n <ax-grid-layout-container [options]=\"store.dashboardsOption()\" (onChange)=\"store.onGridChange($event)\">\n @for(widget of store.currentDashboard()?.widgets; track widget.config.id) {\n <ax-grid-layout-widget [options]=\"widget.config\">\n <axc-dashboard-widget-wrapper\n [hasConfiguration]=\"widget.node?.options?.['hasConfiguration'] ?? true\"\n (onDelete)=\"confirmWidgetDelete(store.currentDashboard()?.id!, widget.config.id!)\"\n (onConfiguration)=\"store.handlePopupConfiguration(widget.node!)\"\n (onValueChanged)=\"store.handleValueChanged(widget?.node!,$event)\"\n (onOptionsChanged)=\"store.handleOptionsChanged(widget?.node!,$event)\"\n >\n @if(widget.node) {\n <ng-container axp-widget-renderer [node]=\"widget.node\" [mode]=\"'view'\"></ng-container>\n }\n </axc-dashboard-widget-wrapper>\n </ax-grid-layout-widget>\n } @empty {\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-bg-gray-50 ax-p-4\">\n <ax-icon icon=\"fa-light fa-shapes\" class=\"ax-text-4xl ax-text-gray-400 ax-mb-4\"></ax-icon>\n <h2 class=\"ax-text-xl ax-font-semibold ax-text-gray-700 ax-mb-2\">\n {{ t('no-widgets', { scope: 'dashboard' }) | async }}\n </h2>\n <p class=\"ax-text-gray-500 ax-text-center ax-mb-6\">\n {{ t('add-first-widget', { scope: 'dashboard' }) | async }}\n </p>\n </div>\n }\n </ax-grid-layout-container>\n </axp-widgets-container>\n }\n </axp-page-content>\n</axp-page-layout>\n", styles: ["axp-dashboard-home{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axp-dashboard-home .placeholder-content{border-radius:.5rem!important;border-width:1px!important;border-style:dashed!important;--tw-border-opacity: 1 !important;border-color:rgba(var(--ax-sys-color-primary-500),var(--tw-border-opacity, 1))!important;background-color:rgba(var(--ax-sys-color-primary-lightest-surface),.5)!important}axp-dashboard-home ax-grid-layout-widget .grid-stack-item-content{border-radius:.375rem!important;border-width:1px!important;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05) !important;--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important;background-color:rgb(var(--ax-sys-color-lightest-surface))!important;color:rgb(var(--ax-sys-color-on-lightest-surface))!important;border-color:rgb(var(--ax-sys-color-border-lightest-surface))!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i2$2.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i3$2.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i3$2.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXButtonGroupModule }, { kind: "ngmodule", type: AXGridLayoutBuilderModule }, { kind: "component", type: i4$1.AXGridLayoutContainerComponent, selector: "ax-grid-layout-container", inputs: ["options", "isEmpty"], outputs: ["onAdded", "onRemoved", "onWidgetChange", "onChange", "isLayoutRendered", "isEmptyChange"] }, { kind: "component", type: i4$1.AXGridLayoutWidgetComponent, selector: "ax-grid-layout-widget", inputs: ["options"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer, axp-page-header, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-container, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i2$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "component", type: AXCDashboardWidgetWrapperComponent, selector: "axc-dashboard-widget-wrapper", inputs: ["hasConfiguration"], outputs: ["onDelete", "onConfiguration", "onValueChanged", "onOptionsChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
689
792
  }
690
793
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDashboardHomeComponent, decorators: [{
691
794
  type: Component,
692
795
  args: [{ selector: 'axp-dashboard-home', standalone: true, imports: [
693
796
  CommonModule,
797
+ AXLoadingModule,
694
798
  AXPLayoutBuilderModule,
695
799
  AXButtonModule,
696
800
  AXButtonGroupModule,
@@ -710,8 +814,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
710
814
  provide: AXPBasePage,
711
815
  useExisting: AXPDashboardHomeComponent,
712
816
  },
713
- ], template: "<axp-page-layout *translate=\"let t\">\n <!-- Content Section -->\n\n <axp-page-content class=\"ax-relative\">\n <ax-grid-layout-container [options]=\"store.dashboardsOption()\" (onChange)=\"store.onGridChange($event)\">\n @for(widget of store.currentDashboard()?.widget; track widget.config.id) {\n <ax-grid-layout-widget [options]=\"widget.config\">\n <axc-dashboard-widget-wrapper\n [hasOptions]=\"widget.node?.options?.['hasOptions'] ?? true\"\n (onDelete)=\"confirmWidgetDelete(store.currentDashboard()?.id!, widget.config.id!)\"\n (onConfiguration)=\"store.handlePopupConfiguration(widget.node!)\"\n >\n @if(widget.node) {\n <axp-widgets-container [context]=\"context()\">\n <ng-container axp-widget-renderer [node]=\"widget.node\" [mode]=\"'view'\"></ng-container>\n </axp-widgets-container>\n }\n </axc-dashboard-widget-wrapper>\n </ax-grid-layout-widget>\n } @empty {\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-bg-gray-50 ax-p-4\">\n <ax-icon icon=\"fa-light fa-shapes\" class=\"ax-text-4xl ax-text-gray-400 ax-mb-4\"></ax-icon>\n <h2 class=\"ax-text-xl ax-font-semibold ax-text-gray-700 ax-mb-2\">\n {{ t('no-widgets', { scope: 'dashboard' }) | async }}\n </h2>\n <p class=\"ax-text-gray-500 ax-text-center ax-mb-6\">\n {{ t('add-first-widget', { scope: 'dashboard' }) | async }}\n </p>\n </div>\n }\n </ax-grid-layout-container>\n </axp-page-content>\n</axp-page-layout>\n", styles: ["axp-dashboard-home{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axp-dashboard-home .placeholder-content{border-radius:.5rem!important;border-width:1px!important;border-style:dashed!important;--tw-border-opacity: 1 !important;border-color:rgba(var(--ax-sys-color-primary-500),var(--tw-border-opacity, 1))!important;background-color:rgba(var(--ax-sys-color-primary-lightest-surface),.5)!important}axp-dashboard-home ax-grid-layout-widget .grid-stack-item-content{border-style:none!important;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important;background-color:rgb(var(--ax-sys-color-lightest-surface))!important;color:rgb(var(--ax-sys-color-on-lightest-surface))!important;border-color:rgb(var(--ax-sys-color-border-lightest-surface))!important}\n"] }]
817
+ ], template: "<axp-page-layout *translate=\"let t\">\n <!-- Content Section -->\n\n <axp-page-content class=\"ax-relative\">\n @if(store.isLoading()) {\n <div\n class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-w-full ax-absolute ax-z-10 ax-bg-white/80\"\n >\n <ax-loading></ax-loading>\n <p class=\"ax-mt-3 ax-text-gray-600\">{{ t('loading', { scope: 'dashboard' }) | async }}</p>\n </div>\n } @else {\n <axp-widgets-container [context]=\"context()\">\n <ax-grid-layout-container [options]=\"store.dashboardsOption()\" (onChange)=\"store.onGridChange($event)\">\n @for(widget of store.currentDashboard()?.widgets; track widget.config.id) {\n <ax-grid-layout-widget [options]=\"widget.config\">\n <axc-dashboard-widget-wrapper\n [hasConfiguration]=\"widget.node?.options?.['hasConfiguration'] ?? true\"\n (onDelete)=\"confirmWidgetDelete(store.currentDashboard()?.id!, widget.config.id!)\"\n (onConfiguration)=\"store.handlePopupConfiguration(widget.node!)\"\n (onValueChanged)=\"store.handleValueChanged(widget?.node!,$event)\"\n (onOptionsChanged)=\"store.handleOptionsChanged(widget?.node!,$event)\"\n >\n @if(widget.node) {\n <ng-container axp-widget-renderer [node]=\"widget.node\" [mode]=\"'view'\"></ng-container>\n }\n </axc-dashboard-widget-wrapper>\n </ax-grid-layout-widget>\n } @empty {\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-bg-gray-50 ax-p-4\">\n <ax-icon icon=\"fa-light fa-shapes\" class=\"ax-text-4xl ax-text-gray-400 ax-mb-4\"></ax-icon>\n <h2 class=\"ax-text-xl ax-font-semibold ax-text-gray-700 ax-mb-2\">\n {{ t('no-widgets', { scope: 'dashboard' }) | async }}\n </h2>\n <p class=\"ax-text-gray-500 ax-text-center ax-mb-6\">\n {{ t('add-first-widget', { scope: 'dashboard' }) | async }}\n </p>\n </div>\n }\n </ax-grid-layout-container>\n </axp-widgets-container>\n }\n </axp-page-content>\n</axp-page-layout>\n", styles: ["axp-dashboard-home{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}axp-dashboard-home .placeholder-content{border-radius:.5rem!important;border-width:1px!important;border-style:dashed!important;--tw-border-opacity: 1 !important;border-color:rgba(var(--ax-sys-color-primary-500),var(--tw-border-opacity, 1))!important;background-color:rgba(var(--ax-sys-color-primary-lightest-surface),.5)!important}axp-dashboard-home ax-grid-layout-widget .grid-stack-item-content{border-radius:.375rem!important;border-width:1px!important;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05) !important;--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important;background-color:rgb(var(--ax-sys-color-lightest-surface))!important;color:rgb(var(--ax-sys-color-on-lightest-surface))!important;border-color:rgb(var(--ax-sys-color-border-lightest-surface))!important}\n"] }]
714
818
  }] });
715
819
 
716
820
  export { AXCDashboardStore, AXPDashboardHomeComponent };
717
- //# sourceMappingURL=acorex-modules-common-index-rvP9ISgL.mjs.map
821
+ //# sourceMappingURL=acorex-modules-common-index-Dt3vRkkx.mjs.map