@acorex/platform 18.2.3 → 19.0.0

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 (838) hide show
  1. package/common/lib/app/app-startup.service.d.ts +1 -2
  2. package/common/lib/app/application.types.d.ts +3 -3
  3. package/common/lib/schema/entity/entity.class.d.ts +1 -1
  4. package/core/index.d.ts +1 -0
  5. package/core/utils/highlighter.d.ts +43 -0
  6. package/fesm2022/acorex-platform-auth.mjs +27 -29
  7. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  8. package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-DtC2IaE8.mjs → acorex-platform-common-avatar-widget-edit.component-syRKKn21.mjs} +6 -26
  9. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-syRKKn21.mjs.map +1 -0
  10. package/fesm2022/{acorex-platform-common-avatar-widget-view.component-BOIV0Be1.mjs → acorex-platform-common-avatar-widget-view.component-DSju_bgg.mjs} +6 -28
  11. package/fesm2022/acorex-platform-common-avatar-widget-view.component-DSju_bgg.mjs.map +1 -0
  12. package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-S4-3SmKA.mjs → acorex-platform-common-boolean-widget-filter.component-aaKT0FyC.mjs} +6 -26
  13. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-aaKT0FyC.mjs.map +1 -0
  14. package/fesm2022/{acorex-platform-common-change-password.component-g_GEw3IZ.mjs → acorex-platform-common-change-password.component-DFoC5nP2.mjs} +7 -8
  15. package/fesm2022/acorex-platform-common-change-password.component-DFoC5nP2.mjs.map +1 -0
  16. package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-DOoneR7g.mjs → acorex-platform-common-checkbox-widget-column.component-DZxykkVr.mjs} +6 -28
  17. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-DZxykkVr.mjs.map +1 -0
  18. package/fesm2022/{acorex-platform-common-checkbox-widget-edit.component-PFRq-XS-.mjs → acorex-platform-common-checkbox-widget-edit.component-CNmYVpMu.mjs} +6 -29
  19. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-CNmYVpMu.mjs.map +1 -0
  20. package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-CKz8XnjT.mjs → acorex-platform-common-checkbox-widget-view.component-3XLnJx9A.mjs} +6 -28
  21. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-3XLnJx9A.mjs.map +1 -0
  22. package/fesm2022/{acorex-platform-common-dateTime-widget-column.component-DG0leXAo.mjs → acorex-platform-common-dateTime-widget-column.component-CKaMC189.mjs} +6 -27
  23. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-CKaMC189.mjs.map +1 -0
  24. package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-D8W-XEcx.mjs → acorex-platform-common-dateTime-widget-edit.component-B50J-bwp.mjs} +6 -26
  25. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B50J-bwp.mjs.map +1 -0
  26. package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-DngCKwFY.mjs → acorex-platform-common-dateTime-widget-filter.component-CTV2a3c0.mjs} +6 -24
  27. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-CTV2a3c0.mjs.map +1 -0
  28. package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-KGgJkiKB.mjs → acorex-platform-common-dateTime-widget-view.component-C7hmUXLz.mjs} +6 -27
  29. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-C7hmUXLz.mjs.map +1 -0
  30. package/fesm2022/{acorex-platform-common-email-widget-column.component-CLNqSuB7.mjs → acorex-platform-common-email-widget-column.component-BPoSZTqM.mjs} +6 -29
  31. package/fesm2022/acorex-platform-common-email-widget-column.component-BPoSZTqM.mjs.map +1 -0
  32. package/fesm2022/{acorex-platform-common-email-widget-edit.component--0gaRm4s.mjs → acorex-platform-common-email-widget-edit.component-aLPGOG3r.mjs} +6 -27
  33. package/fesm2022/acorex-platform-common-email-widget-edit.component-aLPGOG3r.mjs.map +1 -0
  34. package/fesm2022/{acorex-platform-common-email-widget-view.component-C3AUr1HO.mjs → acorex-platform-common-email-widget-view.component-dMByK5bc.mjs} +5 -27
  35. package/fesm2022/acorex-platform-common-email-widget-view.component-dMByK5bc.mjs.map +1 -0
  36. package/fesm2022/{acorex-platform-common-file-widget-column.component-C9AHk2UP.mjs → acorex-platform-common-file-widget-column.component-Dafc2zLc.mjs} +6 -27
  37. package/fesm2022/acorex-platform-common-file-widget-column.component-Dafc2zLc.mjs.map +1 -0
  38. package/fesm2022/{acorex-platform-common-file-widget-edit.component-L7bln9k0.mjs → acorex-platform-common-file-widget-edit.component-C31kfJSw.mjs} +6 -27
  39. package/fesm2022/acorex-platform-common-file-widget-edit.component-C31kfJSw.mjs.map +1 -0
  40. package/fesm2022/{acorex-platform-common-file-widget-filter.component-Ce35mqny.mjs → acorex-platform-common-file-widget-filter.component-BNCcBun4.mjs} +6 -29
  41. package/fesm2022/acorex-platform-common-file-widget-filter.component-BNCcBun4.mjs.map +1 -0
  42. package/fesm2022/{acorex-platform-common-file-widget-view.component-BvMzrs5C.mjs → acorex-platform-common-file-widget-view.component-T3r6musY.mjs} +6 -27
  43. package/fesm2022/acorex-platform-common-file-widget-view.component-T3r6musY.mjs.map +1 -0
  44. package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-BVuV2Ib8.mjs → acorex-platform-common-gallery-widget-edit.component-zBsaBkzu.mjs} +6 -26
  45. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-zBsaBkzu.mjs.map +1 -0
  46. package/fesm2022/{acorex-platform-common-gallery-widget-filter.component-C8tdM6PX.mjs → acorex-platform-common-gallery-widget-filter.component-BhLYuB6p.mjs} +6 -28
  47. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-BhLYuB6p.mjs.map +1 -0
  48. package/fesm2022/{acorex-platform-common-gallery-widget-view.component-D8YmSi9C.mjs → acorex-platform-common-gallery-widget-view.component-Dxf4Oj1E.mjs} +6 -26
  49. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Dxf4Oj1E.mjs.map +1 -0
  50. package/fesm2022/{acorex-platform-common-largetext-widget-edit.component-DGMxpnsr.mjs → acorex-platform-common-largetext-widget-edit.component-BYMIaLCI.mjs} +5 -27
  51. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-BYMIaLCI.mjs.map +1 -0
  52. package/fesm2022/{acorex-platform-common-lookup-widget-column.component-B-cEaNjv.mjs → acorex-platform-common-lookup-widget-column.component-BB0Mdx2u.mjs} +6 -28
  53. package/fesm2022/acorex-platform-common-lookup-widget-column.component-BB0Mdx2u.mjs.map +1 -0
  54. package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-DqB_g9Zz.mjs → acorex-platform-common-lookup-widget-edit.component-DUPsS_ZW.mjs} +6 -28
  55. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-DUPsS_ZW.mjs.map +1 -0
  56. package/fesm2022/{acorex-platform-common-lookup-widget-filter.component-0TPWNWSd.mjs → acorex-platform-common-lookup-widget-filter.component-CLyl94AJ.mjs} +6 -26
  57. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-CLyl94AJ.mjs.map +1 -0
  58. package/fesm2022/{acorex-platform-common-lookup-widget-view.component-DYAg76YH.mjs → acorex-platform-common-lookup-widget-view.component-CJijszjn.mjs} +6 -28
  59. package/fesm2022/acorex-platform-common-lookup-widget-view.component-CJijszjn.mjs.map +1 -0
  60. package/fesm2022/{acorex-platform-common-map-widget-edit.component-C3cpsXD5.mjs → acorex-platform-common-map-widget-edit.component-BTHORlG5.mjs} +6 -27
  61. package/fesm2022/acorex-platform-common-map-widget-edit.component-BTHORlG5.mjs.map +1 -0
  62. package/fesm2022/{acorex-platform-common-map-widget-view.component-C-DCNaJi.mjs → acorex-platform-common-map-widget-view.component-CQzW1ZeD.mjs} +6 -27
  63. package/fesm2022/acorex-platform-common-map-widget-view.component-CQzW1ZeD.mjs.map +1 -0
  64. package/fesm2022/{acorex-platform-common-messenger-widget-column.component-B2A7ZBEP.mjs → acorex-platform-common-messenger-widget-column.component-Brm4vLGA.mjs} +6 -29
  65. package/fesm2022/acorex-platform-common-messenger-widget-column.component-Brm4vLGA.mjs.map +1 -0
  66. package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-DC8vQDo0.mjs → acorex-platform-common-messenger-widget-edit.component-CJHvut2C.mjs} +6 -27
  67. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-CJHvut2C.mjs.map +1 -0
  68. package/fesm2022/{acorex-platform-common-messenger-widget-view.component-B6FavkmG.mjs → acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs} +6 -28
  69. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DVylp_2t.mjs.map +1 -0
  70. package/fesm2022/{acorex-platform-common-number-widget-edit.component-Bc5-ZUw4.mjs → acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs} +6 -27
  71. package/fesm2022/acorex-platform-common-number-widget-edit.component-DZf-n-yr.mjs.map +1 -0
  72. package/fesm2022/{acorex-platform-common-number-widget-filter.component-DxfJ90n4.mjs → acorex-platform-common-number-widget-filter.component-womVAhSr.mjs} +6 -28
  73. package/fesm2022/acorex-platform-common-number-widget-filter.component-womVAhSr.mjs.map +1 -0
  74. package/fesm2022/{acorex-platform-common-number-widget-view.component-DGfLSGw1.mjs → acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs} +5 -27
  75. package/fesm2022/acorex-platform-common-number-widget-view.component-L2pxAqqz.mjs.map +1 -0
  76. package/fesm2022/{acorex-platform-common-password-widget-column.component-DEHaVLGK.mjs → acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs} +6 -28
  77. package/fesm2022/acorex-platform-common-password-widget-column.component-3ubqJk-d.mjs.map +1 -0
  78. package/fesm2022/{acorex-platform-common-password-widget-edit.component-DrYyu5v-.mjs → acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs} +6 -28
  79. package/fesm2022/acorex-platform-common-password-widget-edit.component-BokyEDfK.mjs.map +1 -0
  80. package/fesm2022/{acorex-platform-common-password-widget-view.component-B_HU-3J1.mjs → acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs} +7 -28
  81. package/fesm2022/acorex-platform-common-password-widget-view.component-BuFoE2fz.mjs.map +1 -0
  82. package/fesm2022/{acorex-platform-common-phone-widget-column.component-D99ncxxJ.mjs → acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs} +6 -29
  83. package/fesm2022/acorex-platform-common-phone-widget-column.component-79Me_VNP.mjs.map +1 -0
  84. package/fesm2022/{acorex-platform-common-phone-widget-edit.component-a5EAI9FK.mjs → acorex-platform-common-phone-widget-edit.component-CIayMoT1.mjs} +6 -26
  85. package/fesm2022/acorex-platform-common-phone-widget-edit.component-CIayMoT1.mjs.map +1 -0
  86. package/fesm2022/{acorex-platform-common-phone-widget-view.component-BlFVuoNN.mjs → acorex-platform-common-phone-widget-view.component-B1Xu_rxC.mjs} +6 -28
  87. package/fesm2022/acorex-platform-common-phone-widget-view.component-B1Xu_rxC.mjs.map +1 -0
  88. package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-DOdv5I2s.mjs → acorex-platform-common-rich-text-widget-column.component-Dbn3JMOu.mjs} +6 -29
  89. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-Dbn3JMOu.mjs.map +1 -0
  90. package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-DL5UyAqe.mjs → acorex-platform-common-rich-text-widget-edit.component-CHT12edE.mjs} +6 -27
  91. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CHT12edE.mjs.map +1 -0
  92. package/fesm2022/{acorex-platform-common-rich-text-widget-view.component-B9WB-mx9.mjs → acorex-platform-common-rich-text-widget-view.component-qvUpx39D.mjs} +5 -27
  93. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-qvUpx39D.mjs.map +1 -0
  94. package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-CkOuYy0Z.mjs → acorex-platform-common-selection-list-widget-column.component-E7yRTViz.mjs} +6 -29
  95. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-E7yRTViz.mjs.map +1 -0
  96. package/fesm2022/{acorex-platform-common-selection-list-widget-edit.component-BmbDQ1LH.mjs → acorex-platform-common-selection-list-widget-edit.component-B8dmJ_jJ.mjs} +6 -28
  97. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-B8dmJ_jJ.mjs.map +1 -0
  98. package/fesm2022/{acorex-platform-common-selection-list-widget-filter.component-Dm_1-7eT.mjs → acorex-platform-common-selection-list-widget-filter.component-i4syx0Bj.mjs} +6 -27
  99. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-i4syx0Bj.mjs.map +1 -0
  100. package/fesm2022/{acorex-platform-common-selection-list-widget-view.component-3hinF85C.mjs → acorex-platform-common-selection-list-widget-view.component-B7disiIF.mjs} +6 -29
  101. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-B7disiIF.mjs.map +1 -0
  102. package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-DmmPbw-A.mjs → acorex-platform-common-signature-pad-widget-edit.component-CMoiIhgJ.mjs} +6 -26
  103. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-CMoiIhgJ.mjs.map +1 -0
  104. package/fesm2022/{acorex-platform-common-signature-pad-widget-view.component-DkFaMNk8.mjs → acorex-platform-common-signature-pad-widget-view.component-HfArY6VQ.mjs} +6 -27
  105. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-HfArY6VQ.mjs.map +1 -0
  106. package/fesm2022/{acorex-platform-common-string-widget-filter.component-DAqR2PUN.mjs → acorex-platform-common-string-widget-filter.component-CDssxMLR.mjs} +6 -28
  107. package/fesm2022/acorex-platform-common-string-widget-filter.component-CDssxMLR.mjs.map +1 -0
  108. package/fesm2022/{acorex-platform-common-text-widget-column.component-DVczwvKA.mjs → acorex-platform-common-text-widget-column.component-7yp4qqIb.mjs} +5 -27
  109. package/fesm2022/acorex-platform-common-text-widget-column.component-7yp4qqIb.mjs.map +1 -0
  110. package/fesm2022/{acorex-platform-common-text-widget-edit.component-DC_GnFhe.mjs → acorex-platform-common-text-widget-edit.component-5koh5Aws.mjs} +6 -27
  111. package/fesm2022/acorex-platform-common-text-widget-edit.component-5koh5Aws.mjs.map +1 -0
  112. package/fesm2022/{acorex-platform-common-text-widget-view.component-BK3HZGgb.mjs → acorex-platform-common-text-widget-view.component-BH0LTD80.mjs} +5 -27
  113. package/fesm2022/{acorex-platform-common-text-widget-view.component-BK3HZGgb.mjs.map → acorex-platform-common-text-widget-view.component-BH0LTD80.mjs.map} +1 -1
  114. package/fesm2022/{acorex-platform-common-toggle-widget-column.component-Bp1d7SAE.mjs → acorex-platform-common-toggle-widget-column.component-C5dMjerm.mjs} +6 -28
  115. package/fesm2022/acorex-platform-common-toggle-widget-column.component-C5dMjerm.mjs.map +1 -0
  116. package/fesm2022/{acorex-platform-common-toggle-widget-edit.component-D64m4agx.mjs → acorex-platform-common-toggle-widget-edit.component-JOnGMn-9.mjs} +6 -27
  117. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-JOnGMn-9.mjs.map +1 -0
  118. package/fesm2022/{acorex-platform-common-toggle-widget-view.component-BTaXXZ88.mjs → acorex-platform-common-toggle-widget-view.component-DguoIz_c.mjs} +6 -28
  119. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DguoIz_c.mjs.map +1 -0
  120. package/fesm2022/acorex-platform-common.mjs +197 -190
  121. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  122. package/fesm2022/acorex-platform-core.mjs +114 -7
  123. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  124. package/fesm2022/acorex-platform-layout-builder.mjs +72 -61
  125. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  126. package/fesm2022/acorex-platform-layout-designer.mjs +374 -234
  127. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  128. package/fesm2022/acorex-platform-layout-entity.mjs +916 -897
  129. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  130. package/fesm2022/acorex-platform-layout-setting.mjs +247 -44
  131. package/fesm2022/acorex-platform-layout-setting.mjs.map +1 -1
  132. package/fesm2022/{acorex-platform-layouts-entity-create-view.component-JsGlDx_S.mjs → acorex-platform-layouts-entity-create-view.component-1Yw4H3CW.mjs} +6 -6
  133. package/fesm2022/acorex-platform-layouts-entity-create-view.component-1Yw4H3CW.mjs.map +1 -0
  134. package/fesm2022/{acorex-platform-layouts-entity-import-view.component-9FK_Iro9.mjs → acorex-platform-layouts-entity-import-view.component-BIHTWoXR.mjs} +7 -9
  135. package/fesm2022/acorex-platform-layouts-entity-import-view.component-BIHTWoXR.mjs.map +1 -0
  136. package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-CNbc8ewu.mjs → acorex-platform-layouts-entity-modify-view.component-Cb2Yvtav.mjs} +7 -9
  137. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-Cb2Yvtav.mjs.map +1 -0
  138. package/fesm2022/acorex-platform-layouts.mjs +99 -88
  139. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  140. package/fesm2022/acorex-platform-native.mjs +7 -7
  141. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Bw-rbKbL.mjs +108 -0
  142. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Bw-rbKbL.mjs.map +1 -0
  143. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DJYTC375.mjs +305 -0
  144. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DJYTC375.mjs.map +1 -0
  145. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-wPZPhMgy.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DoeGBemE.mjs} +17 -18
  146. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DoeGBemE.mjs.map +1 -0
  147. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-D8UjpvuI.mjs +130 -0
  148. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-D8UjpvuI.mjs.map +1 -0
  149. package/fesm2022/{acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs → acorex-platform-themes-default-error-401.component-CRMYVnTw.mjs} +5 -5
  150. package/fesm2022/acorex-platform-themes-default-error-401.component-CRMYVnTw.mjs.map +1 -0
  151. package/fesm2022/{acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs → acorex-platform-themes-default-error-404.component-Dc_IGKXu.mjs} +5 -5
  152. package/fesm2022/acorex-platform-themes-default-error-404.component-Dc_IGKXu.mjs.map +1 -0
  153. package/fesm2022/{acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs → acorex-platform-themes-default-error-offline.component-C6raiMLq.mjs} +5 -5
  154. package/fesm2022/acorex-platform-themes-default-error-offline.component-C6raiMLq.mjs.map +1 -0
  155. package/fesm2022/acorex-platform-themes-default.mjs +182 -286
  156. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  157. package/fesm2022/acorex-platform-themes-shared.mjs +8 -9
  158. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  159. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-CPFA79Gx.mjs → acorex-platform-widgets-button-widget-designer.component-BQe1zP7P.mjs} +6 -7
  160. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BQe1zP7P.mjs.map +1 -0
  161. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-MInF2GVN.mjs → acorex-platform-widgets-checkbox-widget-column.component-05nKV-UV.mjs} +6 -7
  162. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-05nKV-UV.mjs.map +1 -0
  163. package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-B7Qv2aYx.mjs → acorex-platform-widgets-checkbox-widget-designer.component-RCi5IJOR.mjs} +6 -7
  164. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-RCi5IJOR.mjs.map +1 -0
  165. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-DP4kITs-.mjs → acorex-platform-widgets-checkbox-widget-view.component-BkWcZ4K9.mjs} +6 -7
  166. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-BkWcZ4K9.mjs.map +1 -0
  167. package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-uQBHAspe.mjs → acorex-platform-widgets-color-box-widget-designer.component-CWhbgmDV.mjs} +6 -7
  168. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CWhbgmDV.mjs.map +1 -0
  169. package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-DnQZon-E.mjs → acorex-platform-widgets-contact-widget-filter.component-B1HiCGC6.mjs} +5 -6
  170. package/fesm2022/acorex-platform-widgets-contact-widget-filter.component-B1HiCGC6.mjs.map +1 -0
  171. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DOulAanE.mjs → acorex-platform-widgets-page-widget-designer.component-DGNcuRbs.mjs} +21 -11
  172. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DGNcuRbs.mjs.map +1 -0
  173. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-C8KmObPV.mjs → acorex-platform-widgets-rich-text-popup.component-D7LZqQIO.mjs} +6 -7
  174. package/fesm2022/acorex-platform-widgets-rich-text-popup.component-D7LZqQIO.mjs.map +1 -0
  175. package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BE6goaZc.mjs → acorex-platform-widgets-text-block-widget-designer.component-BToPbMjj.mjs} +6 -7
  176. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-BToPbMjj.mjs.map +1 -0
  177. package/fesm2022/acorex-platform-widgets.mjs +576 -876
  178. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  179. package/fesm2022/acorex-platform-workflow.mjs +23 -23
  180. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  181. package/layout/builder/lib/builder/widget-column-renderer.d.ts +1 -1
  182. package/layout/builder/lib/builder/widget.types.d.ts +21 -5
  183. package/layout/designer/lib/designer/components/add-widget-button/add-widget-mini-button.component.d.ts +3 -1
  184. package/layout/designer/lib/designer/components/board/board.component.d.ts +4 -3
  185. package/layout/designer/lib/designer/designer.component.d.ts +1 -1
  186. package/layout/designer/lib/designer/shared/designer-connector.service.d.ts +2 -2
  187. package/layout/designer/lib/designer/shared/designer.service.d.ts +10 -4
  188. package/layout/designer/lib/designer/shared/designer.types.d.ts +11 -0
  189. package/layout/designer/lib/designer/shared/generic-commands.types.d.ts +1 -0
  190. package/layout/designer/lib/designer/shared/widget-designer-renderer.directive.d.ts +7 -5
  191. package/layout/designer/lib/property-viewer/widget-property-viewer.component.d.ts +1 -1
  192. package/layout/entity/lib/entity-master-create.viewmodel.d.ts +10 -5
  193. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +11 -4
  194. package/layout/entity/lib/index.d.ts +4 -3
  195. package/layout/entity/lib/workflows/create-entity.workflow.d.ts +2 -0
  196. package/layout/setting/README.md +2 -3
  197. package/{themes/default/lib/layouts/setting-layout → layout/setting/lib}/convert-setting-data.d.ts +7 -6
  198. package/layout/setting/lib/setting.viewmodel.d.ts +38 -9
  199. package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +12 -0
  200. package/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.d.ts +2 -0
  201. package/package.json +8 -36
  202. package/themes/default/lib/default.module.d.ts +3 -4
  203. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +1 -4
  204. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.d.ts +3 -0
  205. package/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.d.ts +1 -1
  206. package/themes/default/lib/layouts/setting-layout/index.d.ts +2 -2
  207. package/themes/default/lib/layouts/setting-layout/setting-menu/setting-menu.component.d.ts +12 -0
  208. package/themes/default/lib/layouts/setting-layout/setting-view/setting-view.component.d.ts +7 -0
  209. package/widgets/lib/properties/editors.props.d.ts +1 -0
  210. package/widgets/lib/widgets/advance/cron-job/cron-job-widget-edit.component.d.ts +1 -2
  211. package/widgets/lib/widgets/advance/file/file-box-widget-view.component.d.ts +1 -1
  212. package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +1 -0
  213. package/widgets/lib/widgets/index.d.ts +0 -1
  214. package/widgets/lib/widgets/layout/block/block-widget.config.d.ts +4 -6
  215. package/workflow/lib/workflow.service.d.ts +1 -1
  216. package/esm2022/acorex-platform.mjs +0 -5
  217. package/esm2022/auth/acorex-platform-auth.mjs +0 -5
  218. package/esm2022/auth/index.mjs +0 -14
  219. package/esm2022/auth/lib/application/application.loader.mjs +0 -23
  220. package/esm2022/auth/lib/application/application.types.mjs +0 -2
  221. package/esm2022/auth/lib/auth-registry.service.mjs +0 -29
  222. package/esm2022/auth/lib/auth.guard.mjs +0 -16
  223. package/esm2022/auth/lib/auth.module.mjs +0 -90
  224. package/esm2022/auth/lib/auth.strategy.mjs +0 -2
  225. package/esm2022/auth/lib/errors.types.mjs +0 -15
  226. package/esm2022/auth/lib/feature/feature.directive.mjs +0 -55
  227. package/esm2022/auth/lib/feature/feature.guard.mjs +0 -19
  228. package/esm2022/auth/lib/feature/feature.loader.mjs +0 -14
  229. package/esm2022/auth/lib/feature/feature.types.mjs +0 -2
  230. package/esm2022/auth/lib/feature/index.mjs +0 -5
  231. package/esm2022/auth/lib/permission/index.mjs +0 -5
  232. package/esm2022/auth/lib/permission/permission.directive.mjs +0 -54
  233. package/esm2022/auth/lib/permission/permission.guard.mjs +0 -19
  234. package/esm2022/auth/lib/permission/permission.loader.mjs +0 -14
  235. package/esm2022/auth/lib/permission/permission.types.mjs +0 -2
  236. package/esm2022/auth/lib/session.service.mjs +0 -265
  237. package/esm2022/auth/lib/session.types.mjs +0 -29
  238. package/esm2022/auth/lib/tenant/tenant.loader.mjs +0 -20
  239. package/esm2022/auth/lib/tenant/tenant.types.mjs +0 -2
  240. package/esm2022/auth/lib/user/user.types.mjs +0 -2
  241. package/esm2022/common/acorex-platform-common.mjs +0 -5
  242. package/esm2022/common/index.mjs +0 -13
  243. package/esm2022/common/lib/app/app-startup.service.mjs +0 -40
  244. package/esm2022/common/lib/app/application.types.mjs +0 -55
  245. package/esm2022/common/lib/app/index.mjs +0 -4
  246. package/esm2022/common/lib/app/operators.mjs +0 -65
  247. package/esm2022/common/lib/common.module.mjs +0 -155
  248. package/esm2022/common/lib/configs/app.config.mjs +0 -27
  249. package/esm2022/common/lib/configs/config.types.mjs +0 -3
  250. package/esm2022/common/lib/data/data-provider.types.mjs +0 -3
  251. package/esm2022/common/lib/data/data.types.mjs +0 -2
  252. package/esm2022/common/lib/data/dexie-storage.service.mjs +0 -130
  253. package/esm2022/common/lib/data/entity-data-seeder.mjs +0 -25
  254. package/esm2022/common/lib/data/entity-storage-service.mjs +0 -63
  255. package/esm2022/common/lib/data/filter-middleware.service.mjs +0 -53
  256. package/esm2022/common/lib/data/index.mjs +0 -8
  257. package/esm2022/common/lib/data/operators.service.mjs +0 -15
  258. package/esm2022/common/lib/errors/error-handler-registry.service.mjs +0 -29
  259. package/esm2022/common/lib/errors/error-handler.types.mjs +0 -2
  260. package/esm2022/common/lib/errors/global-error-handler.mjs +0 -36
  261. package/esm2022/common/lib/errors/index.mjs +0 -4
  262. package/esm2022/common/lib/layout/beardcrumb.type.mjs +0 -2
  263. package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +0 -57
  264. package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +0 -28
  265. package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +0 -24
  266. package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +0 -72
  267. package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +0 -2
  268. package/esm2022/common/lib/layout/component-slot/index.mjs +0 -6
  269. package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +0 -61
  270. package/esm2022/common/lib/layout/grid-layout/grid-layout.types.mjs +0 -2
  271. package/esm2022/common/lib/layout/grid-layout/index.mjs +0 -3
  272. package/esm2022/common/lib/layout/index.mjs +0 -8
  273. package/esm2022/common/lib/layout/logo/index.mjs +0 -3
  274. package/esm2022/common/lib/layout/logo/logo.component.mjs +0 -38
  275. package/esm2022/common/lib/layout/logo/logo.types.mjs +0 -21
  276. package/esm2022/common/lib/layout/menu/index.mjs +0 -4
  277. package/esm2022/common/lib/layout/menu/menu.provider.mjs +0 -137
  278. package/esm2022/common/lib/layout/menu/menu.service.mjs +0 -105
  279. package/esm2022/common/lib/layout/menu/menu.types.mjs +0 -2
  280. package/esm2022/common/lib/layout/sticky.directive.mjs +0 -78
  281. package/esm2022/common/lib/layout/theme/components/slots/footer-text-slot.component.mjs +0 -20
  282. package/esm2022/common/lib/layout/theme/components/slots/index.mjs +0 -3
  283. package/esm2022/common/lib/layout/theme/components/slots/navbar-slot.component.mjs +0 -36
  284. package/esm2022/common/lib/schema/component-loader.mjs +0 -2
  285. package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +0 -70
  286. package/esm2022/common/lib/schema/entity/entity.class.mjs +0 -32
  287. package/esm2022/common/lib/schema/entity/entity.loader.mjs +0 -13
  288. package/esm2022/common/lib/schema/entity/index.mjs +0 -4
  289. package/esm2022/common/lib/schema/formats.mjs +0 -2
  290. package/esm2022/common/lib/schema/index.mjs +0 -9
  291. package/esm2022/common/lib/schema/schema-registery.service.mjs +0 -33
  292. package/esm2022/common/lib/schema/schema.module.mjs +0 -23
  293. package/esm2022/common/lib/schema/schema.types.mjs +0 -2
  294. package/esm2022/common/lib/schema/widget/index.mjs +0 -6
  295. package/esm2022/common/lib/schema/widget/widget-base.mjs +0 -113
  296. package/esm2022/common/lib/schema/widget/widget-column-renderer.mjs +0 -118
  297. package/esm2022/common/lib/schema/widget/widget-filter-renderer.mjs +0 -133
  298. package/esm2022/common/lib/schema/widget/widget-renderer.mjs +0 -148
  299. package/esm2022/common/lib/schema/widget/widget-token.mjs +0 -3
  300. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-edit.component.mjs +0 -166
  301. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-view.component.mjs +0 -63
  302. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.mjs +0 -53
  303. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +0 -22
  304. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.mjs +0 -47
  305. package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +0 -153
  306. package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +0 -135
  307. package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +0 -125
  308. package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +0 -505
  309. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.mjs +0 -44
  310. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.mjs +0 -177
  311. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +0 -284
  312. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.mjs +0 -71
  313. package/esm2022/common/lib/schema/widgets/email/email-widget-column.component.mjs +0 -73
  314. package/esm2022/common/lib/schema/widgets/email/email-widget-edit.component.mjs +0 -248
  315. package/esm2022/common/lib/schema/widgets/email/email-widget-view.component.mjs +0 -108
  316. package/esm2022/common/lib/schema/widgets/file/file-widget-column.component.mjs +0 -27
  317. package/esm2022/common/lib/schema/widgets/file/file-widget-edit.component.mjs +0 -200
  318. package/esm2022/common/lib/schema/widgets/file/file-widget-filter.component.mjs +0 -27
  319. package/esm2022/common/lib/schema/widgets/file/file-widget-view.component.mjs +0 -153
  320. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-edit.component.mjs +0 -189
  321. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-filter.component.mjs +0 -27
  322. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-types.mjs +0 -2
  323. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-view.component.mjs +0 -173
  324. package/esm2022/common/lib/schema/widgets/index.mjs +0 -2
  325. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-column.component.mjs +0 -43
  326. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +0 -95
  327. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +0 -160
  328. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +0 -54
  329. package/esm2022/common/lib/schema/widgets/map/map-widget-edit.component.mjs +0 -91
  330. package/esm2022/common/lib/schema/widgets/map/map-widget-view.component.mjs +0 -63
  331. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-column.component.mjs +0 -71
  332. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-edit.component.mjs +0 -136
  333. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-view.component.mjs +0 -132
  334. package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +0 -46
  335. package/esm2022/common/lib/schema/widgets/number/number-widget-view.component.mjs +0 -30
  336. package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +0 -174
  337. package/esm2022/common/lib/schema/widgets/password/password-widget-column.component.mjs +0 -67
  338. package/esm2022/common/lib/schema/widgets/password/password-widget-edit.component.mjs +0 -41
  339. package/esm2022/common/lib/schema/widgets/password/password-widget-view.component.mjs +0 -109
  340. package/esm2022/common/lib/schema/widgets/phone/phone-widget-column.component.mjs +0 -91
  341. package/esm2022/common/lib/schema/widgets/phone/phone-widget-edit.component.mjs +0 -248
  342. package/esm2022/common/lib/schema/widgets/phone/phone-widget-view.component.mjs +0 -123
  343. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.mjs +0 -61
  344. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +0 -66
  345. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.mjs +0 -34
  346. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.mjs +0 -45
  347. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +0 -53
  348. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +0 -45
  349. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.mjs +0 -45
  350. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.mjs +0 -128
  351. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.mjs +0 -41
  352. package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +0 -36
  353. package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +0 -46
  354. package/esm2022/common/lib/schema/widgets/text/text-widget-edit.component.mjs +0 -161
  355. package/esm2022/common/lib/schema/widgets/text/text-widget-view.component.mjs +0 -66
  356. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-column.component.mjs +0 -57
  357. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-edit.component.mjs +0 -25
  358. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-view.component.mjs +0 -49
  359. package/esm2022/common/lib/settings/index.mjs +0 -5
  360. package/esm2022/common/lib/settings/setting-definition.provider.mjs +0 -183
  361. package/esm2022/common/lib/settings/settings.provider.mjs +0 -35
  362. package/esm2022/common/lib/settings/settings.service.mjs +0 -53
  363. package/esm2022/common/lib/settings/settings.types.mjs +0 -2
  364. package/esm2022/common/lib/store/common.actions.mjs +0 -5
  365. package/esm2022/common/lib/store/common.effects.mjs +0 -34
  366. package/esm2022/common/lib/store/index.mjs +0 -3
  367. package/esm2022/common/lib/utils/clipboard-service.mjs +0 -26
  368. package/esm2022/common/lib/utils/data-generator.mjs +0 -133
  369. package/esm2022/common/lib/utils/index.mjs +0 -4
  370. package/esm2022/common/lib/utils/pdf.service.mjs +0 -85
  371. package/esm2022/common/lib/workflows/common.workflow.mjs +0 -73
  372. package/esm2022/common/lib/workflows/error-handler.mjs +0 -24
  373. package/esm2022/common/lib/workflows/index.mjs +0 -3
  374. package/esm2022/core/acorex-platform-core.mjs +0 -5
  375. package/esm2022/core/index.mjs +0 -5
  376. package/esm2022/core/lib/types.mjs +0 -13
  377. package/esm2022/core/utils/countdown-timer.mjs +0 -49
  378. package/esm2022/core/utils/data-conditioner.mjs +0 -138
  379. package/esm2022/core/utils/html-utils.mjs +0 -27
  380. package/esm2022/index.mjs +0 -2
  381. package/esm2022/layout/builder/acorex-platform-layout-builder.mjs +0 -5
  382. package/esm2022/layout/builder/index.mjs +0 -2
  383. package/esm2022/layout/builder/lib/builder/builder.module.mjs +0 -68
  384. package/esm2022/layout/builder/lib/builder/builder.service.mjs +0 -105
  385. package/esm2022/layout/builder/lib/builder/datasource-provider.service.mjs +0 -27
  386. package/esm2022/layout/builder/lib/builder/index.mjs +0 -12
  387. package/esm2022/layout/builder/lib/builder/widget-catalog.mjs +0 -39
  388. package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +0 -117
  389. package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +0 -46
  390. package/esm2022/layout/builder/lib/builder/widget-groups.mjs +0 -27
  391. package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +0 -36
  392. package/esm2022/layout/builder/lib/builder/widget-renderer.component.directive.mjs +0 -313
  393. package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +0 -320
  394. package/esm2022/layout/builder/lib/builder/widget.types.mjs +0 -264
  395. package/esm2022/layout/designer/acorex-platform-layout-designer.mjs +0 -5
  396. package/esm2022/layout/designer/index.mjs +0 -5
  397. package/esm2022/layout/designer/lib/designer/components/add-widget-button/add-widget-button.component.mjs +0 -37
  398. package/esm2022/layout/designer/lib/designer/components/add-widget-button/add-widget-line-button.component.mjs +0 -49
  399. package/esm2022/layout/designer/lib/designer/components/add-widget-button/add-widget-mini-button.component.mjs +0 -53
  400. package/esm2022/layout/designer/lib/designer/components/add-widget-button/index.mjs +0 -4
  401. package/esm2022/layout/designer/lib/designer/components/board/board.component.mjs +0 -139
  402. package/esm2022/layout/designer/lib/designer/components/breadcrumbs/breadcrumbs.component.mjs +0 -59
  403. package/esm2022/layout/designer/lib/designer/components/drawers/data-sources/data-sources.component.mjs +0 -33
  404. package/esm2022/layout/designer/lib/designer/components/drawers/history/history.component.mjs +0 -30
  405. package/esm2022/layout/designer/lib/designer/components/drawers/outline/outline.component.mjs +0 -61
  406. package/esm2022/layout/designer/lib/designer/components/drawers/pages/pages.component.mjs +0 -28
  407. package/esm2022/layout/designer/lib/designer/components/grid-drawer/grid-drawer.component.mjs +0 -82
  408. package/esm2022/layout/designer/lib/designer/components/header-menu/header-menu.component.mjs +0 -105
  409. package/esm2022/layout/designer/lib/designer/components/size-mode/view-size-toolbar.component.mjs +0 -54
  410. package/esm2022/layout/designer/lib/designer/components/widget-picker/widget-picker.component.mjs +0 -121
  411. package/esm2022/layout/designer/lib/designer/designer.component.mjs +0 -81
  412. package/esm2022/layout/designer/lib/designer/index.mjs +0 -10
  413. package/esm2022/layout/designer/lib/designer/shared/command.mjs +0 -185
  414. package/esm2022/layout/designer/lib/designer/shared/designer-connector.service.mjs +0 -10
  415. package/esm2022/layout/designer/lib/designer/shared/designer.service.mjs +0 -603
  416. package/esm2022/layout/designer/lib/designer/shared/designer.types.mjs +0 -6
  417. package/esm2022/layout/designer/lib/designer/shared/drawer-content/drawer-content.component.mjs +0 -16
  418. package/esm2022/layout/designer/lib/designer/shared/generic-commands.types.mjs +0 -52
  419. package/esm2022/layout/designer/lib/designer/shared/widget-designer-renderer.directive.mjs +0 -220
  420. package/esm2022/layout/designer/lib/preview/preview-frame.component.mjs +0 -75
  421. package/esm2022/layout/designer/lib/preview/preview-viewer.component.mjs +0 -67
  422. package/esm2022/layout/designer/lib/preview/preview.component.mjs +0 -79
  423. package/esm2022/layout/designer/lib/property-viewer/widget-property-viewer.component.mjs +0 -119
  424. package/esm2022/layout/entity/acorex-platform-layout-entity.mjs +0 -5
  425. package/esm2022/layout/entity/index.mjs +0 -2
  426. package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +0 -182
  427. package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +0 -143
  428. package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +0 -325
  429. package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +0 -227
  430. package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +0 -103
  431. package/esm2022/layout/entity/lib/entity-registery.service.mjs +0 -69
  432. package/esm2022/layout/entity/lib/entity.config.mjs +0 -30
  433. package/esm2022/layout/entity/lib/entity.module.mjs +0 -154
  434. package/esm2022/layout/entity/lib/entity.service.mjs +0 -18
  435. package/esm2022/layout/entity/lib/entity.viewmodel.mjs +0 -34
  436. package/esm2022/layout/entity/lib/index.mjs +0 -10
  437. package/esm2022/layout/entity/lib/widgets/lookup-widget/index.mjs +0 -7
  438. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +0 -25
  439. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +0 -267
  440. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.mjs +0 -20
  441. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.mjs +0 -19
  442. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +0 -208
  443. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +0 -109
  444. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +0 -110
  445. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +0 -62
  446. package/esm2022/layout/entity/lib/widgets/widget-selector/index.mjs +0 -4
  447. package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget-edit.component.mjs +0 -130
  448. package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget-view.component.mjs +0 -18
  449. package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget.config.mjs +0 -20
  450. package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +0 -92
  451. package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +0 -130
  452. package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +0 -94
  453. package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +0 -35
  454. package/esm2022/layout/entity/lib/workflows/show-list.workflow.mjs +0 -35
  455. package/esm2022/layout/setting/acorex-platform-layout-setting.mjs +0 -5
  456. package/esm2022/layout/setting/index.mjs +0 -2
  457. package/esm2022/layout/setting/lib/setting.viewmodel.mjs +0 -50
  458. package/esm2022/layouts/acorex-platform-layouts.mjs +0 -5
  459. package/esm2022/layouts/index.mjs +0 -3
  460. package/esm2022/layouts/lib/admin/admin.module.mjs +0 -94
  461. package/esm2022/layouts/lib/admin/admin.routes.mjs +0 -48
  462. package/esm2022/layouts/lib/admin/custom-reuse.strategy.mjs +0 -20
  463. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +0 -119
  464. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +0 -138
  465. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +0 -126
  466. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +0 -164
  467. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/index.mjs +0 -3
  468. package/esm2022/layouts/lib/admin/entity-layout/entity-import-view/entity-import-view.component.mjs +0 -91
  469. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +0 -201
  470. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/index.mjs +0 -6
  471. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +0 -53
  472. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +0 -105
  473. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +0 -76
  474. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +0 -56
  475. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +0 -295
  476. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/index.mjs +0 -5
  477. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +0 -341
  478. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +0 -163
  479. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +0 -95
  480. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +0 -67
  481. package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +0 -77
  482. package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/index.mjs +0 -2
  483. package/esm2022/layouts/lib/admin/entity-layout/index.mjs +0 -5
  484. package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +0 -93
  485. package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +0 -139
  486. package/esm2022/layouts/lib/admin/entity-layout/workflows/import-entity.workflow.mjs +0 -77
  487. package/esm2022/layouts/lib/admin/entity-layout/workflows/index.mjs +0 -7
  488. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +0 -100
  489. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.mjs +0 -85
  490. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +0 -36
  491. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +0 -35
  492. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +0 -50
  493. package/esm2022/layouts/lib/admin/entity.resolver.mjs +0 -17
  494. package/esm2022/layouts/lib/admin/index.mjs +0 -6
  495. package/esm2022/layouts/lib/layout.module.mjs +0 -43
  496. package/esm2022/native/acorex-platform-native.mjs +0 -5
  497. package/esm2022/native/index.mjs +0 -3
  498. package/esm2022/native/lib/native.module.mjs +0 -16
  499. package/esm2022/native/lib/native.service.mjs +0 -133
  500. package/esm2022/themes/default/acorex-platform-themes-default.mjs +0 -5
  501. package/esm2022/themes/default/index.mjs +0 -5
  502. package/esm2022/themes/default/lib/default.module.mjs +0 -78
  503. package/esm2022/themes/default/lib/entity-reuse.strategy.mjs +0 -19
  504. package/esm2022/themes/default/lib/layout.routes.mjs +0 -20
  505. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +0 -160
  506. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +0 -106
  507. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +0 -190
  508. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.mjs +0 -64
  509. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.mjs +0 -72
  510. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.mjs +0 -85
  511. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +0 -84
  512. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/overview/entity-single-overview.component.mjs +0 -70
  513. package/esm2022/themes/default/lib/layouts/entity-layouts/index.mjs +0 -2
  514. package/esm2022/themes/default/lib/layouts/root-layout/components/footer/footer.component.mjs +0 -14
  515. package/esm2022/themes/default/lib/layouts/root-layout/components/header/header.component.mjs +0 -27
  516. package/esm2022/themes/default/lib/layouts/root-layout/components/menu/root-menu.component.mjs +0 -40
  517. package/esm2022/themes/default/lib/layouts/root-layout/index.mjs +0 -6
  518. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +0 -36
  519. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.module.mjs +0 -99
  520. package/esm2022/themes/default/lib/layouts/setting-layout/convert-setting-data.mjs +0 -49
  521. package/esm2022/themes/default/lib/layouts/setting-layout/index.mjs +0 -3
  522. package/esm2022/themes/default/lib/layouts/setting-layout/setting-preview/setting-preview.component.mjs +0 -104
  523. package/esm2022/themes/default/lib/layouts/setting-layout/setting-view/setting-menu.component.mjs +0 -44
  524. package/esm2022/themes/default/lib/pages/errors/error-401/error-401.component.mjs +0 -28
  525. package/esm2022/themes/default/lib/pages/errors/error-404/error-404.component.mjs +0 -22
  526. package/esm2022/themes/default/lib/pages/errors/error-offline/error-offline.component.mjs +0 -16
  527. package/esm2022/themes/shared/acorex-platform-themes-shared.mjs +0 -5
  528. package/esm2022/themes/shared/index.mjs +0 -4
  529. package/esm2022/themes/shared/lib/components/theme-slot.component.mjs +0 -116
  530. package/esm2022/themes/shared/lib/services/theme.service.mjs +0 -250
  531. package/esm2022/themes/shared/lib/shared.module.mjs +0 -39
  532. package/esm2022/widgets/acorex-platform-widgets.mjs +0 -5
  533. package/esm2022/widgets/index.mjs +0 -4
  534. package/esm2022/widgets/lib/properties/data-source.props.mjs +0 -21
  535. package/esm2022/widgets/lib/properties/editors.props.mjs +0 -252
  536. package/esm2022/widgets/lib/properties/general.props.mjs +0 -115
  537. package/esm2022/widgets/lib/properties/groups.mjs +0 -21
  538. package/esm2022/widgets/lib/properties/index.mjs +0 -7
  539. package/esm2022/widgets/lib/properties/layout.props.mjs +0 -270
  540. package/esm2022/widgets/lib/properties/table-column.props.mjs +0 -33
  541. package/esm2022/widgets/lib/widgets/actions/button/button-widget-designer.component.mjs +0 -69
  542. package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +0 -68
  543. package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +0 -31
  544. package/esm2022/widgets/lib/widgets/actions/button/index.mjs +0 -3
  545. package/esm2022/widgets/lib/widgets/advance/cron-job/cron-job-widget-column.component.mjs +0 -20
  546. package/esm2022/widgets/lib/widgets/advance/cron-job/cron-job-widget-designer.component.mjs +0 -18
  547. package/esm2022/widgets/lib/widgets/advance/cron-job/cron-job-widget-edit.component.mjs +0 -24
  548. package/esm2022/widgets/lib/widgets/advance/cron-job/cron-job-widget-filter.component.mjs +0 -20
  549. package/esm2022/widgets/lib/widgets/advance/cron-job/cron-job-widget-print.component.mjs +0 -19
  550. package/esm2022/widgets/lib/widgets/advance/cron-job/cron-job-widget-view.component.mjs +0 -22
  551. package/esm2022/widgets/lib/widgets/advance/cron-job/cron-job-widget.config.mjs +0 -31
  552. package/esm2022/widgets/lib/widgets/advance/cron-job/index.mjs +0 -8
  553. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-column.component.mjs +0 -19
  554. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-edit.component.mjs +0 -131
  555. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-filter.component.mjs +0 -20
  556. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-print.component.mjs +0 -19
  557. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-view.component.mjs +0 -215
  558. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.config.mjs +0 -53
  559. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.service.mjs +0 -3
  560. package/esm2022/widgets/lib/widgets/advance/file/index.mjs +0 -8
  561. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-column.component.mjs +0 -19
  562. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-edit.component.mjs +0 -182
  563. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-filter.component.mjs +0 -20
  564. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-print.component.mjs +0 -19
  565. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-types.mjs +0 -2
  566. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-view.component.mjs +0 -160
  567. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget.config.mjs +0 -30
  568. package/esm2022/widgets/lib/widgets/advance/gallery/index.mjs +0 -7
  569. package/esm2022/widgets/lib/widgets/advance/map/index.mjs +0 -4
  570. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +0 -77
  571. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-view.component.mjs +0 -52
  572. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget.config.mjs +0 -120
  573. package/esm2022/widgets/lib/widgets/advance/qrcode/index.mjs +0 -3
  574. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.mjs +0 -60
  575. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.mjs +0 -64
  576. package/esm2022/widgets/lib/widgets/advance/signature/index.mjs +0 -7
  577. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-column.component.mjs +0 -19
  578. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-edit.component.mjs +0 -151
  579. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-filter.component.mjs +0 -20
  580. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-print.component.mjs +0 -19
  581. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-view.component.mjs +0 -43
  582. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget.config.mjs +0 -30
  583. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.mjs +0 -51
  584. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-designer.component.mjs +0 -54
  585. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.mjs +0 -72
  586. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.mjs +0 -70
  587. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.mjs +0 -41
  588. package/esm2022/widgets/lib/widgets/editors/checkbox/index.mjs +0 -3
  589. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-column.component.mjs +0 -40
  590. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-designer.component.mjs +0 -54
  591. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-edit.component.mjs +0 -61
  592. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-filter.component.mjs +0 -20
  593. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-print.component.mjs +0 -19
  594. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-view.component.mjs +0 -41
  595. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget.config.mjs +0 -40
  596. package/esm2022/widgets/lib/widgets/editors/color/index.mjs +0 -7
  597. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-column.component.mjs +0 -50
  598. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +0 -322
  599. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-filter.component.mjs +0 -20
  600. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-print.component.mjs +0 -19
  601. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-view.component.mjs +0 -122
  602. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget.config.mjs +0 -59
  603. package/esm2022/widgets/lib/widgets/editors/contact/contact.type.mjs +0 -2
  604. package/esm2022/widgets/lib/widgets/editors/contact/index.mjs +0 -6
  605. package/esm2022/widgets/lib/widgets/editors/contact/popup-component.mjs +0 -78
  606. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.mjs +0 -64
  607. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +0 -172
  608. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-filter.component.mjs +0 -20
  609. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-print.component.mjs +0 -19
  610. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.mjs +0 -63
  611. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.mjs +0 -43
  612. package/esm2022/widgets/lib/widgets/editors/date-time/index.mjs +0 -7
  613. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-column.component.mjs +0 -66
  614. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-edit.component.mjs +0 -258
  615. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-filter.component.mjs +0 -20
  616. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-print.component.mjs +0 -19
  617. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-view.component.mjs +0 -115
  618. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget.config.mjs +0 -41
  619. package/esm2022/widgets/lib/widgets/editors/email/index.mjs +0 -7
  620. package/esm2022/widgets/lib/widgets/editors/large-text/index.mjs +0 -7
  621. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-column.component.mjs +0 -23
  622. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.mjs +0 -79
  623. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-filter.component.mjs +0 -20
  624. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-print.component.mjs +0 -19
  625. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-view.component.mjs +0 -31
  626. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget.config.mjs +0 -42
  627. package/esm2022/widgets/lib/widgets/editors/link/index.mjs +0 -7
  628. package/esm2022/widgets/lib/widgets/editors/link/link-widget-column.component.mjs +0 -19
  629. package/esm2022/widgets/lib/widgets/editors/link/link-widget-edit.component.mjs +0 -399
  630. package/esm2022/widgets/lib/widgets/editors/link/link-widget-filter.component.mjs +0 -20
  631. package/esm2022/widgets/lib/widgets/editors/link/link-widget-print.component.mjs +0 -19
  632. package/esm2022/widgets/lib/widgets/editors/link/link-widget-view.component.mjs +0 -120
  633. package/esm2022/widgets/lib/widgets/editors/link/link-widget.config.mjs +0 -30
  634. package/esm2022/widgets/lib/widgets/editors/number/index.mjs +0 -7
  635. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-column.component.mjs +0 -38
  636. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +0 -159
  637. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-filter.component.mjs +0 -20
  638. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-print.component.mjs +0 -19
  639. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-view.component.mjs +0 -50
  640. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget.config.mjs +0 -42
  641. package/esm2022/widgets/lib/widgets/editors/password/index.mjs +0 -7
  642. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-column.component.mjs +0 -56
  643. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-edit.component.mjs +0 -56
  644. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-filter.component.mjs +0 -20
  645. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-print.component.mjs +0 -19
  646. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-view.component.mjs +0 -82
  647. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget.config.mjs +0 -40
  648. package/esm2022/widgets/lib/widgets/editors/phone/index.mjs +0 -7
  649. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-column.component.mjs +0 -66
  650. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-edit.component.mjs +0 -230
  651. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-filter.component.mjs +0 -20
  652. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-print.component.mjs +0 -19
  653. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-view.component.mjs +0 -115
  654. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget.config.mjs +0 -33
  655. package/esm2022/widgets/lib/widgets/editors/rich-text/index.mjs +0 -7
  656. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-popup.component.mjs +0 -38
  657. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-column.component.mjs +0 -46
  658. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.mjs +0 -92
  659. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-filter.component.mjs +0 -20
  660. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-print.component.mjs +0 -19
  661. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-view.component.mjs +0 -47
  662. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.mjs +0 -41
  663. package/esm2022/widgets/lib/widgets/editors/select/index.mjs +0 -7
  664. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-column.component.mjs +0 -49
  665. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-edit.component.mjs +0 -108
  666. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-filter.component.mjs +0 -19
  667. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-print.component.mjs +0 -19
  668. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-view.component.mjs +0 -60
  669. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget.config.mjs +0 -41
  670. package/esm2022/widgets/lib/widgets/editors/selection-list/index.mjs +0 -8
  671. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.mjs +0 -56
  672. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-designer.component.mjs +0 -88
  673. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.mjs +0 -99
  674. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-filter.component.mjs +0 -20
  675. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-print.component.mjs +0 -19
  676. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-view.component.mjs +0 -52
  677. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.mjs +0 -44
  678. package/esm2022/widgets/lib/widgets/editors/text/index.mjs +0 -7
  679. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-column.component.mjs +0 -20
  680. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-edit.component.mjs +0 -130
  681. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-filter.component.mjs +0 -20
  682. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-print.component.mjs +0 -19
  683. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-view.component.mjs +0 -47
  684. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget.config.mjs +0 -43
  685. package/esm2022/widgets/lib/widgets/editors/toggle/index.mjs +0 -7
  686. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-column.component.mjs +0 -53
  687. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.mjs +0 -48
  688. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-filter.component.mjs +0 -20
  689. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-print.component.mjs +0 -20
  690. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-view.component.mjs +0 -55
  691. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget.config.mjs +0 -42
  692. package/esm2022/widgets/lib/widgets/index.mjs +0 -27
  693. package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +0 -98
  694. package/esm2022/widgets/lib/widgets/layout/block/block-widget-view.component.mjs +0 -83
  695. package/esm2022/widgets/lib/widgets/layout/block/block-widget.config.mjs +0 -31
  696. package/esm2022/widgets/lib/widgets/layout/block/index.mjs +0 -4
  697. package/esm2022/widgets/lib/widgets/layout/document/document-widget.config.mjs +0 -13
  698. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.mjs +0 -67
  699. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.mjs +0 -51
  700. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget.config.mjs +0 -30
  701. package/esm2022/widgets/lib/widgets/layout/form-field/index.mjs +0 -4
  702. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +0 -91
  703. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-print.component.mjs +0 -19
  704. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-view.component.mjs +0 -38
  705. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget.config.mjs +0 -29
  706. package/esm2022/widgets/lib/widgets/layout/grid/index.mjs +0 -5
  707. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.mjs +0 -100
  708. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-print.component.mjs +0 -19
  709. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.mjs +0 -89
  710. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget.config.mjs +0 -31
  711. package/esm2022/widgets/lib/widgets/layout/grid-item/index.mjs +0 -5
  712. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-designer.component.mjs +0 -85
  713. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-print.component.mjs +0 -19
  714. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.mjs +0 -38
  715. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget.config.mjs +0 -28
  716. package/esm2022/widgets/lib/widgets/layout/grid-row/index.mjs +0 -5
  717. package/esm2022/widgets/lib/widgets/layout/page/index.mjs +0 -3
  718. package/esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.mjs +0 -148
  719. package/esm2022/widgets/lib/widgets/layout/page/page-widget-view.component.mjs +0 -41
  720. package/esm2022/widgets/lib/widgets/layout/page/page-widget.config.mjs +0 -46
  721. package/esm2022/widgets/lib/widgets/layout/repeater/index.mjs +0 -6
  722. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-designer.component.mjs +0 -125
  723. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-edit.component.mjs +0 -170
  724. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-print.component.mjs +0 -20
  725. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-view.component.mjs +0 -44
  726. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget.config.mjs +0 -37
  727. package/esm2022/widgets/lib/widgets/layout/template/index.mjs +0 -5
  728. package/esm2022/widgets/lib/widgets/layout/template/template-picker/template-picker.component.mjs +0 -120
  729. package/esm2022/widgets/lib/widgets/layout/template/template-widget-designer.component.mjs +0 -70
  730. package/esm2022/widgets/lib/widgets/layout/template/template-widget-edit.component.mjs +0 -96
  731. package/esm2022/widgets/lib/widgets/layout/template/template-widget-view.component.mjs +0 -62
  732. package/esm2022/widgets/lib/widgets/layout/template/template-widget.config.mjs +0 -30
  733. package/esm2022/widgets/lib/widgets/layout/template/template.provider.mjs +0 -58
  734. package/esm2022/widgets/lib/widgets/layout/text-block/index.mjs +0 -3
  735. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-designer.component.mjs +0 -38
  736. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-view.component.mjs +0 -30
  737. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget.config.mjs +0 -43
  738. package/esm2022/widgets/lib/widgets.module.mjs +0 -113
  739. package/esm2022/workflow/acorex-platform-workflow.mjs +0 -5
  740. package/esm2022/workflow/index.mjs +0 -7
  741. package/esm2022/workflow/lib/actions/start-workflow.action.mjs +0 -32
  742. package/esm2022/workflow/lib/errors.types.mjs +0 -8
  743. package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +0 -23
  744. package/esm2022/workflow/lib/workflow-registery.service.mjs +0 -39
  745. package/esm2022/workflow/lib/workflow.module.mjs +0 -101
  746. package/esm2022/workflow/lib/workflow.service.mjs +0 -188
  747. package/esm2022/workflow/lib/workflow.types.mjs +0 -59
  748. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DtC2IaE8.mjs.map +0 -1
  749. package/fesm2022/acorex-platform-common-avatar-widget-view.component-BOIV0Be1.mjs.map +0 -1
  750. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-S4-3SmKA.mjs.map +0 -1
  751. package/fesm2022/acorex-platform-common-change-password.component-g_GEw3IZ.mjs.map +0 -1
  752. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-DOoneR7g.mjs.map +0 -1
  753. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-PFRq-XS-.mjs.map +0 -1
  754. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CKz8XnjT.mjs.map +0 -1
  755. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-DG0leXAo.mjs.map +0 -1
  756. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-D8W-XEcx.mjs.map +0 -1
  757. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-DngCKwFY.mjs.map +0 -1
  758. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-KGgJkiKB.mjs.map +0 -1
  759. package/fesm2022/acorex-platform-common-email-widget-column.component-CLNqSuB7.mjs.map +0 -1
  760. package/fesm2022/acorex-platform-common-email-widget-edit.component--0gaRm4s.mjs.map +0 -1
  761. package/fesm2022/acorex-platform-common-email-widget-view.component-C3AUr1HO.mjs.map +0 -1
  762. package/fesm2022/acorex-platform-common-file-widget-column.component-C9AHk2UP.mjs.map +0 -1
  763. package/fesm2022/acorex-platform-common-file-widget-edit.component-L7bln9k0.mjs.map +0 -1
  764. package/fesm2022/acorex-platform-common-file-widget-filter.component-Ce35mqny.mjs.map +0 -1
  765. package/fesm2022/acorex-platform-common-file-widget-view.component-BvMzrs5C.mjs.map +0 -1
  766. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-BVuV2Ib8.mjs.map +0 -1
  767. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-C8tdM6PX.mjs.map +0 -1
  768. package/fesm2022/acorex-platform-common-gallery-widget-view.component-D8YmSi9C.mjs.map +0 -1
  769. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DGMxpnsr.mjs.map +0 -1
  770. package/fesm2022/acorex-platform-common-lookup-widget-column.component-B-cEaNjv.mjs.map +0 -1
  771. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-DqB_g9Zz.mjs.map +0 -1
  772. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-0TPWNWSd.mjs.map +0 -1
  773. package/fesm2022/acorex-platform-common-lookup-widget-view.component-DYAg76YH.mjs.map +0 -1
  774. package/fesm2022/acorex-platform-common-map-widget-edit.component-C3cpsXD5.mjs.map +0 -1
  775. package/fesm2022/acorex-platform-common-map-widget-view.component-C-DCNaJi.mjs.map +0 -1
  776. package/fesm2022/acorex-platform-common-messenger-widget-column.component-B2A7ZBEP.mjs.map +0 -1
  777. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-DC8vQDo0.mjs.map +0 -1
  778. package/fesm2022/acorex-platform-common-messenger-widget-view.component-B6FavkmG.mjs.map +0 -1
  779. package/fesm2022/acorex-platform-common-number-widget-edit.component-Bc5-ZUw4.mjs.map +0 -1
  780. package/fesm2022/acorex-platform-common-number-widget-filter.component-DxfJ90n4.mjs.map +0 -1
  781. package/fesm2022/acorex-platform-common-number-widget-view.component-DGfLSGw1.mjs.map +0 -1
  782. package/fesm2022/acorex-platform-common-password-widget-column.component-DEHaVLGK.mjs.map +0 -1
  783. package/fesm2022/acorex-platform-common-password-widget-edit.component-DrYyu5v-.mjs.map +0 -1
  784. package/fesm2022/acorex-platform-common-password-widget-view.component-B_HU-3J1.mjs.map +0 -1
  785. package/fesm2022/acorex-platform-common-phone-widget-column.component-D99ncxxJ.mjs.map +0 -1
  786. package/fesm2022/acorex-platform-common-phone-widget-edit.component-a5EAI9FK.mjs.map +0 -1
  787. package/fesm2022/acorex-platform-common-phone-widget-view.component-BlFVuoNN.mjs.map +0 -1
  788. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-DOdv5I2s.mjs.map +0 -1
  789. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-DL5UyAqe.mjs.map +0 -1
  790. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-B9WB-mx9.mjs.map +0 -1
  791. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-CkOuYy0Z.mjs.map +0 -1
  792. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-BmbDQ1LH.mjs.map +0 -1
  793. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-Dm_1-7eT.mjs.map +0 -1
  794. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-3hinF85C.mjs.map +0 -1
  795. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DmmPbw-A.mjs.map +0 -1
  796. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-DkFaMNk8.mjs.map +0 -1
  797. package/fesm2022/acorex-platform-common-string-widget-filter.component-DAqR2PUN.mjs.map +0 -1
  798. package/fesm2022/acorex-platform-common-text-widget-column.component-DVczwvKA.mjs.map +0 -1
  799. package/fesm2022/acorex-platform-common-text-widget-edit.component-DC_GnFhe.mjs.map +0 -1
  800. package/fesm2022/acorex-platform-common-toggle-widget-column.component-Bp1d7SAE.mjs.map +0 -1
  801. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-D64m4agx.mjs.map +0 -1
  802. package/fesm2022/acorex-platform-common-toggle-widget-view.component-BTaXXZ88.mjs.map +0 -1
  803. package/fesm2022/acorex-platform-layouts-entity-create-view.component-JsGlDx_S.mjs.map +0 -1
  804. package/fesm2022/acorex-platform-layouts-entity-import-view.component-9FK_Iro9.mjs.map +0 -1
  805. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-CNbc8ewu.mjs.map +0 -1
  806. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CJY8R3sa.mjs +0 -109
  807. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CJY8R3sa.mjs.map +0 -1
  808. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C6zgLyry.mjs +0 -301
  809. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C6zgLyry.mjs.map +0 -1
  810. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-wPZPhMgy.mjs.map +0 -1
  811. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DNXWb6ij.mjs +0 -148
  812. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DNXWb6ij.mjs.map +0 -1
  813. package/fesm2022/acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs.map +0 -1
  814. package/fesm2022/acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs.map +0 -1
  815. package/fesm2022/acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs.map +0 -1
  816. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-CPFA79Gx.mjs.map +0 -1
  817. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-MInF2GVN.mjs.map +0 -1
  818. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-B7Qv2aYx.mjs.map +0 -1
  819. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-DP4kITs-.mjs.map +0 -1
  820. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-uQBHAspe.mjs.map +0 -1
  821. package/fesm2022/acorex-platform-widgets-contact-widget-filter.component-DnQZon-E.mjs.map +0 -1
  822. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DOulAanE.mjs.map +0 -1
  823. package/fesm2022/acorex-platform-widgets-rich-text-popup.component-C8KmObPV.mjs.map +0 -1
  824. package/fesm2022/acorex-platform-widgets-template-picker.component-DPlvwgbu.mjs +0 -123
  825. package/fesm2022/acorex-platform-widgets-template-picker.component-DPlvwgbu.mjs.map +0 -1
  826. package/fesm2022/acorex-platform-widgets-template-widget-edit.component-DwPYeF0y.mjs +0 -136
  827. package/fesm2022/acorex-platform-widgets-template-widget-edit.component-DwPYeF0y.mjs.map +0 -1
  828. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-BE6goaZc.mjs.map +0 -1
  829. package/themes/default/lib/layout.routes.d.ts +0 -2
  830. package/themes/default/lib/layouts/setting-layout/setting-preview/setting-preview.component.d.ts +0 -24
  831. package/themes/default/lib/layouts/setting-layout/setting-view/setting-menu.component.d.ts +0 -20
  832. package/widgets/lib/widgets/layout/template/index.d.ts +0 -4
  833. package/widgets/lib/widgets/layout/template/template-picker/template-picker.component.d.ts +0 -30
  834. package/widgets/lib/widgets/layout/template/template-widget-designer.component.d.ts +0 -11
  835. package/widgets/lib/widgets/layout/template/template-widget-edit.component.d.ts +0 -13
  836. package/widgets/lib/widgets/layout/template/template-widget-view.component.d.ts +0 -11
  837. package/widgets/lib/widgets/layout/template/template-widget.config.d.ts +0 -7
  838. package/widgets/lib/widgets/layout/template/template.provider.d.ts +0 -24
@@ -1,139 +0,0 @@
1
- import { AXContextMenuComponent, AXMenuModule, } from '@acorex/components/menu';
2
- import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
3
- import { CommonModule } from '@angular/common';
4
- import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, HostBinding, inject, ViewChild, ViewEncapsulation, } from '@angular/core';
5
- import { get } from 'lodash-es';
6
- import { AXPDesignerService } from '../../shared/designer.service';
7
- import { AXPWidgetDesignerRendererDirective } from '../../shared/widget-designer-renderer.directive';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@acorex/platform/layout/builder";
10
- import * as i2 from "@acorex/components/menu";
11
- export class AXPDesignerBoardComponent {
12
- // Unified method to extract media queries and create a custom class
13
- applyResponsiveStyles(breakpoint) {
14
- const minWidth = get(this.breakpointMap, breakpoint);
15
- const mediaRules = [];
16
- // Loop through all the stylesheets
17
- for (let sheet of Array.from(document.styleSheets)) {
18
- try {
19
- // Loop through CSS rules
20
- for (let rule of Array.from(sheet.cssRules)) {
21
- // Check if the rule is a CSSMediaRule
22
- if (rule instanceof CSSMediaRule && rule.media.mediaText.includes(`min-width: ${minWidth}px`)) {
23
- // Loop through the media rule's CSS rules
24
- for (let subRule of Array.from(rule.cssRules)) {
25
- mediaRules.push(subRule.cssText);
26
- }
27
- }
28
- }
29
- }
30
- catch (e) {
31
- console.error('Error accessing stylesheet:', e);
32
- }
33
- }
34
- // Create a dynamic class for the media queries
35
- this.createCustomClass(`axp-preview-${breakpoint}`, mediaRules, breakpoint);
36
- }
37
- createCustomClass(className, styles, breakpoint) {
38
- const styleSheet = document.createElement('style');
39
- styleSheet.setAttribute('data-screen', breakpoint);
40
- // Construct a pure CSS string, dynamically replacing the breakpoint prefix
41
- let styleString = '';
42
- styles.forEach((style) => {
43
- // Replace any prefixed classes like 'lg:' or 'md:' dynamically
44
- const dynamicPrefix = new RegExp(`\\.${breakpoint}\\\\:`, 'g');
45
- styleString += `.${className} ${style.replace(dynamicPrefix, '.')}`; // Replace the breakpoint prefix
46
- });
47
- styleSheet.innerText = styleString;
48
- this.removeCustomClass();
49
- this.elementRef.nativeElement.appendChild(styleSheet);
50
- }
51
- removeCustomClass() {
52
- this.elementRef.nativeElement.querySelectorAll('style').forEach((s) => s.remove());
53
- }
54
- /**
55
- *
56
- */
57
- constructor() {
58
- this.context = {};
59
- this.elementRef = inject((ElementRef));
60
- this.breakpointMap = {
61
- sm: 640,
62
- md: 768,
63
- lg: 1024,
64
- xl: 1280,
65
- xxl: 1536,
66
- };
67
- this.service = inject(AXPDesignerService);
68
- this.width = computed(() => {
69
- switch (this.service.size()) {
70
- case 'sm':
71
- return '340px';
72
- case 'md':
73
- case 'lg':
74
- return '768px';
75
- default:
76
- return '100%';
77
- }
78
- });
79
- this.ef = effect(() => {
80
- this.removeCustomClass();
81
- if (this.service.size() != 'xl') {
82
- this.applyResponsiveStyles(this.service.size());
83
- }
84
- });
85
- this.service.onRefresh.subscribe(() => {
86
- this.contextMenu?.refresh();
87
- });
88
- }
89
- handleContextChanged(e) {
90
- console.log(e);
91
- }
92
- handleContextMenuOpening(e) {
93
- const renderer = get(e.targetElement, '__meta__.renderer');
94
- renderer.select();
95
- const items = this.service.getContextMenuItems();
96
- if (items.length) {
97
- e.items.push(...items);
98
- }
99
- else {
100
- e.canceled = true;
101
- }
102
- }
103
- handleContextMenuItemClick(e) {
104
- if (e.item.name) {
105
- this.service.executeCommand(e.item.name);
106
- }
107
- }
108
- get __style() {
109
- const cls = {};
110
- cls[`width`] = this.width();
111
- cls[`max-width`] = '1280px';
112
- return cls;
113
- }
114
- get __class() {
115
- const cls = {};
116
- cls[`axp-designer-board`] = true;
117
- cls[`axp-state-design`] = true;
118
- cls['ax-h-full'] = true;
119
- cls['ax-overflow-auto'] = true;
120
- cls[`axp-preview-${this.service.size()}`] = true;
121
- return cls;
122
- }
123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerBoardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
124
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPDesignerBoardComponent, isStandalone: true, selector: "axp-designer-board", host: { properties: { "style": "this.__style", "class": "this.__class" } }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["contextMenu"], descendants: true }], ngImport: i0, template: "<axp-widgets-container [context]=\"context\" (onChanged)=\"handleContextChanged($event)\">\n <ng-container axp-widget-designer-renderer [node]=\"service.currentPage()\" [mode]=\"'designer'\"></ng-container>\n</axp-widgets-container>\n\n<ax-context-menu\n class=\"ax-dark\"\n #contextMenu\n [target]=\"'.axp-widget-host'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"handleContextMenuOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n>\n</ax-context-menu>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "variables", "functions"], outputs: ["onChanged", "contextChange"] }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i2.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
125
- }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerBoardComponent, decorators: [{
127
- type: Component,
128
- args: [{ selector: 'axp-designer-board', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXMenuModule], template: "<axp-widgets-container [context]=\"context\" (onChanged)=\"handleContextChanged($event)\">\n <ng-container axp-widget-designer-renderer [node]=\"service.currentPage()\" [mode]=\"'designer'\"></ng-container>\n</axp-widgets-container>\n\n<ax-context-menu\n class=\"ax-dark\"\n #contextMenu\n [target]=\"'.axp-widget-host'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"handleContextMenuOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n>\n</ax-context-menu>\n" }]
129
- }], ctorParameters: () => [], propDecorators: { contextMenu: [{
130
- type: ViewChild,
131
- args: ['contextMenu']
132
- }], __style: [{
133
- type: HostBinding,
134
- args: ['style']
135
- }], __class: [{
136
- type: HostBinding,
137
- args: ['class']
138
- }] } });
139
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9hcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZGVzaWduZXIvc3JjL2xpYi9kZXNpZ25lci9jb21wb25lbnR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ZV09XCJzZXJ2aWNlLmN1cnJlbnRQYWdlKClcIiBbbW9kZV09XCInZGVzaWduZXInXCI+PC9uZy1jb250YWluZXI+XG48L2F4cC13aWRnZXRzLWNvbnRhaW5lcj5cblxuPGF4LWNvbnRleHQtbWVudVxuICBjbGFzcz1cImF4LWRhcmtcIlxuICAjY29udGV4dE1lbnVcbiAgW3RhcmdldF09XCInLmF4cC13aWRnZXQtaG9zdCdcIlxuICBbb3JpZW50YXRpb25dPVwiJ3ZlcnRpY2FsJ1wiXG4gIFtjbG9zZU9uXT1cIidsZWF2ZSdcIlxuICAob25PcGVuaW5nKT1cImhhbmRsZUNvbnRleHRNZW51T3BlbmluZygkZXZlbnQpXCJcbiAgKG9uSXRlbUNsaWNrKT1cImhhbmRsZUNvbnRleHRNZW51SXRlbUNsaWNrKCRldmVudClcIlxuPlxuPC9heC1jb250ZXh0LW1lbnU+XG4iXX0=
@@ -1,59 +0,0 @@
1
- import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
2
- import { AXDecoratorModule } from '@acorex/components/decorators';
3
- import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
4
- import { CommonModule } from '@angular/common';
5
- import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
6
- import { get } from 'lodash-es';
7
- import { AXPDesignerService } from '../../shared/designer.service';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@acorex/components/breadcrumbs";
10
- export class AXPDesignerBreadcrumbsComponent {
11
- constructor() {
12
- this.service = inject(AXPDesignerService);
13
- }
14
- getTitle(node) {
15
- return get(node, '__meta__.config.title');
16
- }
17
- handleClick(node) {
18
- this.service.select({ widget: node });
19
- }
20
- handleMouseOver(node) {
21
- this.service.focus({ widget: node });
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerBreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDesignerBreadcrumbsComponent, isStandalone: true, selector: "axp-designer-breadcrumbs", ngImport: i0, template: `
25
- <ax-breadcrumbs>
26
- @for( b of service.breadcrumbs();track $index){
27
- <ax-breadcrumbs-item>
28
- <a (click)="handleClick(b)" (mouseover)="handleMouseOver(b)"> {{ getTitle(b) }}</a>
29
- </ax-breadcrumbs-item>
30
- }
31
- <ng-template #divider>
32
- <i class="ax-icon ax-icon-chevron-right"></i>
33
- </ng-template>
34
- </ax-breadcrumbs>
35
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "component", type: i1.AXBreadCrumbsComponent, selector: "ax-breadcrumbs" }, { kind: "component", type: i1.AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: ["disabled", "active"] }, { kind: "ngmodule", type: AXDecoratorModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerBreadcrumbsComponent, decorators: [{
38
- type: Component,
39
- args: [{
40
- selector: 'axp-designer-breadcrumbs',
41
- template: `
42
- <ax-breadcrumbs>
43
- @for( b of service.breadcrumbs();track $index){
44
- <ax-breadcrumbs-item>
45
- <a (click)="handleClick(b)" (mouseover)="handleMouseOver(b)"> {{ getTitle(b) }}</a>
46
- </ax-breadcrumbs-item>
47
- }
48
- <ng-template #divider>
49
- <i class="ax-icon ax-icon-chevron-right"></i>
50
- </ng-template>
51
- </ax-breadcrumbs>
52
- `,
53
- encapsulation: ViewEncapsulation.None,
54
- changeDetection: ChangeDetectionStrategy.OnPush,
55
- standalone: true,
56
- imports: [CommonModule, AXPLayoutBuilderModule, AXBreadcrumbsModule, AXDecoratorModule],
57
- }]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SxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgQVhQTGF5b3V0QnVpbGRlck1vZHVsZSwgQVhCcmVhZGNydW1ic01vZHVsZSwgQVhEZWNvcmF0b3JNb2R1bGVdLFxufSlcbmV4cG9ydCBjbGFzcyBBWFBEZXNpZ25lckJyZWFkY3J1bWJzQ29tcG9uZW50IHtcbiAgcHJvdGVjdGVkIHNlcnZpY2UgPSBpbmplY3QoQVhQRGVzaWduZXJTZXJ2aWNlKTtcblxuICBwcm90ZWN0ZWQgZ2V0VGl0bGUobm9kZTogQVhQV2lkZ2V0Tm9kZSk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGdldChub2RlLCAnX19tZXRhX18uY29uZmlnLnRpdGxlJykgYXMgYW55IGFzIHN0cmluZztcbiAgfVxuXG4gIHByb3RlY3RlZCBoYW5kbGVDbGljayhub2RlOiBBWFBXaWRnZXROb2RlKSB7XG4gICAgdGhpcy5zZXJ2aWNlLnNlbGVjdCh7IHdpZGdldDogbm9kZSB9KTtcbiAgfVxuXG4gIHByb3RlY3RlZCBoYW5kbGVNb3VzZU92ZXIobm9kZTogQVhQV2lkZ2V0Tm9kZSkge1xuICAgIHRoaXMuc2VydmljZS5mb2N1cyh7IHdpZGdldDogbm9kZSB9KTtcbiAgfVxufVxuIl19
@@ -1,33 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, inject, signal, ViewEncapsulation } from '@angular/core';
3
- import { AXDecoratorModule } from '@acorex/components/decorators';
4
- import { AXButtonModule } from '@acorex/components/button';
5
- import { AXPDesignerService } from '../../../shared/designer.service';
6
- import { AXPLayoutDesignerDrawerContentComponent } from '../../../shared/drawer-content/drawer-content.component';
7
- import { AXPWidgetDataSourceProviderService } from '@acorex/platform/layout/builder';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@acorex/components/decorators";
10
- import * as i2 from "@acorex/components/button";
11
- export class AXPDesignerDataSourcesComponent {
12
- constructor() {
13
- this.service = inject(AXPDesignerService);
14
- this.dataSourceProvider = inject(AXPWidgetDataSourceProviderService);
15
- this.list = signal([]);
16
- }
17
- async ngOnInit() {
18
- const items = (await this.dataSourceProvider.items()).map(c => ({ name: c.name, title: c.title }));
19
- this.list.set(items);
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerDataSourcesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDesignerDataSourcesComponent, isStandalone: true, selector: "axp-designer-data-sources", ngImport: i0, template: "<axp-designer-drawer-content>\n\n <ax-title>Data Sources</ax-title>\n\n <ax-content header>\n <ax-button look=\"ghost\" class=\"ax-xs\" title=\"Add New Data Source\">\n <ax-icon class=\"fa-light fa-plus\"></ax-icon>\n </ax-button>\n </ax-content>\n\n <ax-content body>\n @if(list().length)\n {\n <ul class=\"axp-designer-drawer-list\">\n @for (item of list(); track $index) {\n <li>\n <i class=\"ax-me-1 fa-solid fa-table\"></i>\n {{ item.title }}\n </li>\n }\n </ul>\n }\n @else {\n <div class=\"axp-designer-drawer-empty\">No data source found in the\n document\n </div>\n }\n </ax-content>\n\n</axp-designer-drawer-content>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: AXPLayoutDesignerDrawerContentComponent, selector: "axp-designer-drawer-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerDataSourcesComponent, decorators: [{
25
- type: Component,
26
- args: [{ selector: 'axp-designer-data-sources', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
27
- CommonModule,
28
- AXDecoratorModule,
29
- AXButtonModule,
30
- AXPLayoutDesignerDrawerContentComponent
31
- ], template: "<axp-designer-drawer-content>\n\n <ax-title>Data Sources</ax-title>\n\n <ax-content header>\n <ax-button look=\"ghost\" class=\"ax-xs\" title=\"Add New Data Source\">\n <ax-icon class=\"fa-light fa-plus\"></ax-icon>\n </ax-button>\n </ax-content>\n\n <ax-content body>\n @if(list().length)\n {\n <ul class=\"axp-designer-drawer-list\">\n @for (item of list(); track $index) {\n <li>\n <i class=\"ax-me-1 fa-solid fa-table\"></i>\n {{ item.title }}\n </li>\n }\n </ul>\n }\n @else {\n <div class=\"axp-designer-drawer-empty\">No data source found in the\n document\n </div>\n }\n </ax-content>\n\n</axp-designer-drawer-content>" }]
32
- }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1zb3VyY2VzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vbGF5b3V0L2Rlc2lnbmVyL3NyYy9saWIvZGVzaWduZXIvY29tcG9uZW50cy9kcmF3ZXJzL2RhdGEtc291cmNlcy9kYXRhLXNvdXJjZXMuY29tcG9uZW50LnRzIiwiLi4vLi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AgICAgICAgICAgICB7eyBpdGVtLnRpdGxlIH19XG4gICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L3VsPlxuICAgICAgICB9XG4gICAgICAgIEBlbHNlIHtcbiAgICAgICAgPGRpdiBjbGFzcz1cImF4cC1kZXNpZ25lci1kcmF3ZXItZW1wdHlcIj5ObyBkYXRhIHNvdXJjZSBmb3VuZCBpbiB0aGVcbiAgICAgICAgICAgIGRvY3VtZW50XG4gICAgICAgIDwvZGl2PlxuICAgICAgICB9XG4gICAgPC9heC1jb250ZW50PlxuXG48L2F4cC1kZXNpZ25lci1kcmF3ZXItY29udGVudD4iXX0=
@@ -1,30 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
3
- import { AXDecoratorModule } from '@acorex/components/decorators';
4
- import { AXButtonModule } from '@acorex/components/button';
5
- import { AXDropdownModule } from '@acorex/components/dropdown';
6
- import { AXPLayoutDesignerDrawerContentComponent } from '../../../shared/drawer-content/drawer-content.component';
7
- import { AXPDesignerService } from '../../../shared/designer.service';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/common";
10
- import * as i2 from "@acorex/components/decorators";
11
- import * as i3 from "@acorex/components/button";
12
- import * as i4 from "@acorex/components/dropdown";
13
- export class AXPDesignerHistoryComponent {
14
- constructor() {
15
- this.service = inject(AXPDesignerService);
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDesignerHistoryComponent, isStandalone: true, selector: "axp-designer-history", ngImport: i0, template: "<axp-designer-drawer-content>\n\n <ax-title>History</ax-title>\n\n <ax-content header>\n <ax-button look=\"ghost\" class=\"ax-xs\">\n <ax-icon class=\"fa-light fa-ellipsis\"></ax-icon>\n <ax-dropdown-panel class=\"ax-xs\">\n <ax-button-item-list>\n <ax-button-item text=\"Clear\" name=\"add\" (onClick)=\"service.clearHistory()\"> </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n </ax-content>\n\n <ax-content body>\n @if(service.history().length)\n {\n <ul class=\"axp-designer-drawer-list\">\n @for (step of service.history(); track $index) {\n <li (click)=\"service.navigateTo($index)\" [class.ax-italic]=\"step.isFuture\"\n [class.ax-text-neutral-400]=\"step.isFuture\" [class.ax-state-selected]=\"step.isCurrent\">\n <i class=\"ax-me-1\" [ngClass]=\"step.icon\"></i>\n {{ step.description }}\n </li>\n }\n </ul>\n }\n @else {\n <div class=\"axp-designer-drawer-empty\">\n No changes have been made yet.\n </div>\n }\n </ax-content>\n\n</axp-designer-drawer-content>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXPLayoutDesignerDrawerContentComponent, selector: "axp-designer-drawer-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerHistoryComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: 'axp-designer-history', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
23
- CommonModule,
24
- AXDecoratorModule,
25
- AXButtonModule,
26
- AXDropdownModule,
27
- AXPLayoutDesignerDrawerContentComponent
28
- ], template: "<axp-designer-drawer-content>\n\n <ax-title>History</ax-title>\n\n <ax-content header>\n <ax-button look=\"ghost\" class=\"ax-xs\">\n <ax-icon class=\"fa-light fa-ellipsis\"></ax-icon>\n <ax-dropdown-panel class=\"ax-xs\">\n <ax-button-item-list>\n <ax-button-item text=\"Clear\" name=\"add\" (onClick)=\"service.clearHistory()\"> </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n </ax-content>\n\n <ax-content body>\n @if(service.history().length)\n {\n <ul class=\"axp-designer-drawer-list\">\n @for (step of service.history(); track $index) {\n <li (click)=\"service.navigateTo($index)\" [class.ax-italic]=\"step.isFuture\"\n [class.ax-text-neutral-400]=\"step.isFuture\" [class.ax-state-selected]=\"step.isCurrent\">\n <i class=\"ax-me-1\" [ngClass]=\"step.icon\"></i>\n {{ step.description }}\n </li>\n }\n </ul>\n }\n @else {\n <div class=\"axp-designer-drawer-empty\">\n No changes have been made yet.\n </div>\n }\n </ax-content>\n\n</axp-designer-drawer-content>" }]
29
- }] });
30
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cC1kZXNpZ25lci1kcmF3ZXItZW1wdHlcIj5cbiAgICAgICAgICAgIE5vIGNoYW5nZXMgaGF2ZSBiZWVuIG1hZGUgeWV0LlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgfVxuICAgIDwvYXgtY29udGVudD5cblxuPC9heHAtZGVzaWduZXItZHJhd2VyLWNvbnRlbnQ+Il19
@@ -1,61 +0,0 @@
1
- import { AXDecoratorModule } from '@acorex/components/decorators';
2
- import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
3
- import { CommonModule } from '@angular/common';
4
- import { ChangeDetectionStrategy, Component, inject, signal, ViewEncapsulation } from '@angular/core';
5
- import { get } from 'lodash-es';
6
- import { merge } from 'rxjs';
7
- import { AXPLayoutDesignerDrawerContentComponent } from '../../../shared/drawer-content/drawer-content.component';
8
- import { AXPDesignerService } from '../../../shared/designer.service';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "@angular/common";
11
- import * as i2 from "@acorex/components/decorators";
12
- export class AXPDesignerOutlineComponent {
13
- constructor() {
14
- this.service = inject(AXPDesignerService);
15
- this.collapsedStates = new Map();
16
- this.root = signal(this.getTree());
17
- merge(this.service.onRefresh, this.service.onUpdate).subscribe(() => {
18
- this.root.update((c) => ({ ...this.getTree() }));
19
- });
20
- }
21
- getTree() {
22
- return {
23
- type: AXPWidgetsCatalog.document,
24
- children: [this.service.currentPage()],
25
- };
26
- }
27
- toggleCollapse(node) {
28
- // Toggle the current state or set to true if undefined
29
- this.collapsedStates.set(node, !this.collapsedStates.get(node));
30
- }
31
- isCollapsed(node) {
32
- // Return the collapsed state, default is false (expanded)
33
- return !!this.collapsedStates.get(node);
34
- }
35
- getConfig(node) {
36
- return get(node, '__meta__.config');
37
- }
38
- handleClick(e, node) {
39
- e.stopPropagation();
40
- this.service.select({ widget: node });
41
- }
42
- handleToggleClick(event, item) {
43
- event.stopPropagation(); // Prevents the event from bubbling up to parent elements
44
- this.toggleCollapse(item);
45
- }
46
- handleMouseOver(e, node) {
47
- e.stopPropagation();
48
- this.service.focus({ widget: node });
49
- }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerOutlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
51
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDesignerOutlineComponent, isStandalone: true, selector: "axp-designer-outline", ngImport: i0, template: "<axp-designer-drawer-content>\n\n <ax-title>Outline</ax-title>\n\n <ax-content body>\n @if(root().children?.length)\n {\n <ul class=\"ax-space-y-1 ax-p-1 ax-text-white ax-text-sm\">\n @for( node of root().children;track $index)\n {\n <ng-container [ngTemplateOutlet]=\"sideMenu\" [ngTemplateOutletContext]=\"{ $implicit: node }\">\n </ng-container>\n }\n </ul>\n <ng-template #sideMenu let-item>\n <li (click)=\"handleClick($event,item)\" (mouseover)=\"handleMouseOver($event,item)\">\n <div [class.ax-bg-neutral-700]=\"item === service.selectedNode()\"\n class=\"ax-flex ax-flex-row ax-items-center ax-cursor-pointer ax-transition ax-duration-150 ax-ease-in-out ax-hover:bg-gray-700 ax-py-1 ax-px-2 ax-rounded-sm ax-group\">\n <span class=\"ax-w-5 \">\n @if(item.children?.length)\n {\n <i class=\"fa-solid\" [class.fa-chevron-right]=\"isCollapsed(item)\"\n (click)=\"handleToggleClick($event, item)\" [class.fa-chevron-down]=\"!isCollapsed(item)\"></i>\n }\n </span>\n @let config = getConfig(item);\n <span class=\"ax-w-5\">\n @if(config.icon)\n {\n <i [ngClass]=\"config.icon\"></i>\n }\n </span>\n <span class=\"ax-truncate ax-flex-1 ax-pe-2\">{{config.title}} : {{item.name}}</span>\n <div class=\"ax-invisible group-hover:ax-visible ax-flex ax-gap-2 ax-justify-end \">\n @if(config.type=='container')\n {\n <i class=\"fa-light fa-plus hover:ax-text-primary-500\" (click)=\"service.showPicker(item)\"></i>\n }\n @if(config.name!=\"page-layout\")\n {\n <i class=\"fa-light fa-xmark hover:ax-text-danger-500\" (click)=\"service.removeWidget(item)\"></i>\n }\n </div>\n </div>\n @if(item.children?.length && !isCollapsed(item)) {\n <ul class=\"ax-space-y-1 ax-ps-3 ax-text-white ax-text-sm\">\n <ng-container *ngFor=\"let child of item.children\" [ngTemplateOutlet]=\"sideMenu\"\n [ngTemplateOutletContext]=\"{ $implicit: child }\">\n </ng-container>\n </ul>\n }\n </li>\n </ng-template>\n }\n @else {\n <div class=\"axp-designer-drawer-empty\">No widgets found in the page\n </div>\n }\n </ax-content>\n\n</axp-designer-drawer-content>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXDecoratorModule }, { 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-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: AXPLayoutDesignerDrawerContentComponent, selector: "axp-designer-drawer-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
52
- }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerOutlineComponent, decorators: [{
54
- type: Component,
55
- args: [{ selector: 'axp-designer-outline', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
56
- CommonModule,
57
- AXDecoratorModule,
58
- AXPLayoutDesignerDrawerContentComponent
59
- ], template: "<axp-designer-drawer-content>\n\n <ax-title>Outline</ax-title>\n\n <ax-content body>\n @if(root().children?.length)\n {\n <ul class=\"ax-space-y-1 ax-p-1 ax-text-white ax-text-sm\">\n @for( node of root().children;track $index)\n {\n <ng-container [ngTemplateOutlet]=\"sideMenu\" [ngTemplateOutletContext]=\"{ $implicit: node }\">\n </ng-container>\n }\n </ul>\n <ng-template #sideMenu let-item>\n <li (click)=\"handleClick($event,item)\" (mouseover)=\"handleMouseOver($event,item)\">\n <div [class.ax-bg-neutral-700]=\"item === service.selectedNode()\"\n class=\"ax-flex ax-flex-row ax-items-center ax-cursor-pointer ax-transition ax-duration-150 ax-ease-in-out ax-hover:bg-gray-700 ax-py-1 ax-px-2 ax-rounded-sm ax-group\">\n <span class=\"ax-w-5 \">\n @if(item.children?.length)\n {\n <i class=\"fa-solid\" [class.fa-chevron-right]=\"isCollapsed(item)\"\n (click)=\"handleToggleClick($event, item)\" [class.fa-chevron-down]=\"!isCollapsed(item)\"></i>\n }\n </span>\n @let config = getConfig(item);\n <span class=\"ax-w-5\">\n @if(config.icon)\n {\n <i [ngClass]=\"config.icon\"></i>\n }\n </span>\n <span class=\"ax-truncate ax-flex-1 ax-pe-2\">{{config.title}} : {{item.name}}</span>\n <div class=\"ax-invisible group-hover:ax-visible ax-flex ax-gap-2 ax-justify-end \">\n @if(config.type=='container')\n {\n <i class=\"fa-light fa-plus hover:ax-text-primary-500\" (click)=\"service.showPicker(item)\"></i>\n }\n @if(config.name!=\"page-layout\")\n {\n <i class=\"fa-light fa-xmark hover:ax-text-danger-500\" (click)=\"service.removeWidget(item)\"></i>\n }\n </div>\n </div>\n @if(item.children?.length && !isCollapsed(item)) {\n <ul class=\"ax-space-y-1 ax-ps-3 ax-text-white ax-text-sm\">\n <ng-container *ngFor=\"let child of item.children\" [ngTemplateOutlet]=\"sideMenu\"\n [ngTemplateOutletContext]=\"{ $implicit: child }\">\n </ng-container>\n </ul>\n }\n </li>\n </ng-template>\n }\n @else {\n <div class=\"axp-designer-drawer-empty\">No widgets found in the page\n </div>\n }\n </ax-content>\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cIj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJheC13LTUgXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICBAaWYoaXRlbS5jaGlsZHJlbj8ubGVuZ3RoKVxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYS1zb2xpZFwiIFtjbGFzcy5mYS1jaGV2cm9uLXJpZ2h0XT1cImlzQ29sbGFwc2VkKGl0ZW0pXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlVG9nZ2xlQ2xpY2soJGV2ZW50LCBpdGVtKVwiIFtjbGFzcy5mYS1jaGV2cm9uLWRvd25dPVwiIWlzQ29sbGFwc2VkKGl0ZW0pXCI+PC9pPlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgIEBsZXQgY29uZmlnID0gZ2V0Q29uZmlnKGl0ZW0pO1xuICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImF4LXctNVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGlmKGNvbmZpZy5pY29uKVxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgPGkgW25nQ2xhc3NdPVwiY29uZmlnLmljb25cIj48L2k+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJheC10cnVuY2F0ZSBheC1mbGV4LTEgYXgtcGUtMlwiPnt7Y29uZmlnLnRpdGxlfX0gOiB7e2l0ZW0ubmFtZX19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYXgtaW52aXNpYmxlIGdyb3VwLWhvdmVyOmF4LXZpc2libGUgYXgtZmxleCBheC1nYXAtMiAgYXgtanVzdGlmeS1lbmQgXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICBAaWYoY29uZmlnLnR5cGU9PSdjb250YWluZXInKVxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYS1saWdodCBmYS1wbHVzIGhvdmVyOmF4LXRleHQtcHJpbWFyeS01MDBcIiAoY2xpY2spPVwic2VydmljZS5zaG93UGlja2VyKGl0ZW0pXCI+PC9pPlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgQGlmKGNvbmZpZy5uYW1lIT1cInBhZ2UtbGF5b3V0XCIpXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhLWxpZ2h0IGZhLXhtYXJrICBob3ZlcjpheC10ZXh0LWRhbmdlci01MDBcIiAoY2xpY2spPVwic2VydmljZS5yZW1vdmVXaWRnZXQoaXRlbSlcIj48L2k+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIEBpZihpdGVtLmNoaWxkcmVuPy5sZW5ndGggJiYgIWlzQ29sbGFwc2VkKGl0ZW0pKSB7XG4gICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwiYXgtc3BhY2UteS0xIGF4LXBzLTMgYXgtdGV4dC13aGl0ZSBheC10ZXh0LXNtXCI+XG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IGNoaWxkIG9mIGl0ZW0uY2hpbGRyZW5cIiBbbmdUZW1wbGF0ZU91dGxldF09XCJzaWRlTWVudVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdPVwieyAkaW1wbGljaXQ6IGNoaWxkIH1cIj5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPC91bD5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICA8L2xpPlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICB9XG4gICAgICAgIEBlbHNlIHtcbiAgICAgICAgPGRpdiBjbGFzcz1cImF4cC1kZXNpZ25lci1kcmF3ZXItZW1wdHlcIj5ObyB3aWRnZXRzIGZvdW5kIGluIHRoZSBwYWdlXG4gICAgICAgIDwvZGl2PlxuICAgICAgICB9XG4gICAgPC9heC1jb250ZW50PlxuXG48L2F4cC1kZXNpZ25lci1kcmF3ZXItY29udGVudD4iXX0=
@@ -1,28 +0,0 @@
1
- import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
2
- import { CommonModule } from '@angular/common';
3
- import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
4
- import { AXDecoratorModule } from '@acorex/components/decorators';
5
- import { AXButtonModule } from '@acorex/components/button';
6
- import { AXPLayoutDesignerDrawerContentComponent } from '../../../shared/drawer-content/drawer-content.component';
7
- import { AXPDesignerService } from '../../../shared/designer.service';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@acorex/components/decorators";
10
- import * as i2 from "@acorex/components/button";
11
- export class AXPDesignerPagesComponent {
12
- constructor() {
13
- this.service = inject(AXPDesignerService);
14
- }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerPagesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
16
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDesignerPagesComponent, isStandalone: true, selector: "axp-designer-pages", ngImport: i0, template: "<axp-designer-drawer-content>\n\n <ax-title>Pages</ax-title>\n\n <ax-content header>\n <ax-button look=\"ghost\" class=\"ax-xs\" (onClick)=\"service.addNewPage()\" title=\"Add New Page\">\n <ax-icon class=\"fa-light fa-file-circle-plus\"></ax-icon>\n </ax-button>\n </ax-content>\n\n <ax-content body>\n @let count = service.document().children?.length ?? 0;\n @if(count)\n {\n <ul class=\"ax-text-white ax-text-sm ax-bg-gray-800 ax-p-2 ax-rounded-md ax-space-y-1\">\n @for( page of service.document().children;track $index)\n {\n <li (click)=\"service.goToPage($index)\"\n class=\"ax-cursor-pointer ax-transition ax-duration-150 ax-ease-in-out hover:ax-bg-gray-700 ax-py-1 ax-px-2 ax-rounded-sm ax-group ax-flex ax-justify-between ax-items-center\"\n [class.ax-bg-neutral-700]=\"$index==service.currentPageIndex()\">\n <div>\n <i class=\"fa-light fa-file ax-me-1\"></i>\n Page {{$index + 1}}\n </div>\n <div class=\"ax-invisible group-hover:ax-visible ax-flex ax-gap-2\">\n @if(count>1)\n {\n <i class=\"fa-light fa-xmark hover:ax-text-danger-500\" (click)=\"service.removePage($index)\"></i>\n }\n <i class=\"fa-light fa-clone hover:ax-text-primary-500\" (click)=\"service.clonePage($index)\"></i>\n </div>\n </li>\n }\n </ul>\n }\n @else {\n <div class=\"ax-flex ax-justify-center ax-items-center ax-text-gray-300 ax-p-4\">No pages found in the document\n </div>\n }\n </ax-content>\n\n</axp-designer-drawer-content>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: AXPLayoutDesignerDrawerContentComponent, selector: "axp-designer-drawer-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerPagesComponent, decorators: [{
19
- type: Component,
20
- args: [{ selector: 'axp-designer-pages', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
21
- CommonModule,
22
- AXPLayoutBuilderModule,
23
- AXDecoratorModule,
24
- AXButtonModule,
25
- AXPLayoutDesignerDrawerContentComponent
26
- ], template: "<axp-designer-drawer-content>\n\n <ax-title>Pages</ax-title>\n\n <ax-content header>\n <ax-button look=\"ghost\" class=\"ax-xs\" (onClick)=\"service.addNewPage()\" title=\"Add New Page\">\n <ax-icon class=\"fa-light fa-file-circle-plus\"></ax-icon>\n </ax-button>\n </ax-content>\n\n <ax-content body>\n @let count = service.document().children?.length ?? 0;\n @if(count)\n {\n <ul class=\"ax-text-white ax-text-sm ax-bg-gray-800 ax-p-2 ax-rounded-md ax-space-y-1\">\n @for( page of service.document().children;track $index)\n {\n <li (click)=\"service.goToPage($index)\"\n class=\"ax-cursor-pointer ax-transition ax-duration-150 ax-ease-in-out hover:ax-bg-gray-700 ax-py-1 ax-px-2 ax-rounded-sm ax-group ax-flex ax-justify-between ax-items-center\"\n [class.ax-bg-neutral-700]=\"$index==service.currentPageIndex()\">\n <div>\n <i class=\"fa-light fa-file ax-me-1\"></i>\n Page {{$index + 1}}\n </div>\n <div class=\"ax-invisible group-hover:ax-visible ax-flex ax-gap-2\">\n @if(count>1)\n {\n <i class=\"fa-light fa-xmark hover:ax-text-danger-500\" (click)=\"service.removePage($index)\"></i>\n }\n <i class=\"fa-light fa-clone hover:ax-text-primary-500\" (click)=\"service.clonePage($index)\"></i>\n </div>\n </li>\n }\n </ul>\n }\n @else {\n <div class=\"ax-flex ax-justify-center ax-items-center ax-text-gray-300 ax-p-4\">No pages found in the document\n </div>\n }\n </ax-content>\n\n</axp-designer-drawer-content>" }]
27
- }] });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZGVzaWduZXIvc3JjL2xpYi9kZXNpZ25lci9jb21wb25lbnRzL2RyYXdlcnMvcGFnZXMvcGFnZXMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZGVzaWduZXIvc3JjL2xpYi9kZXNpZ25lci9jb21wb25lbnRzL2RyYXdlcnMvcGFnZXMvcGFnZXMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDekUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzlGLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsdUNBQXVDLEVBQUUsTUFBTSx5REFBeUQsQ0FBQztBQUNsSCxPQUFPLEVBQUUsa0JBQWtCLEVB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kgY2xhc3M9XCJmYS1saWdodCBmYS1maWxlIGF4LW1lLTFcIj48L2k+XG4gICAgICAgICAgICAgICAgICAgIFBhZ2Uge3skaW5kZXggKyAxfX1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYXgtaW52aXNpYmxlIGdyb3VwLWhvdmVyOmF4LXZpc2libGUgYXgtZmxleCBheC1nYXAtMlwiPlxuICAgICAgICAgICAgICAgICAgICBAaWYoY291bnQ+MSlcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhLWxpZ2h0IGZhLXhtYXJrIGhvdmVyOmF4LXRleHQtZGFuZ2VyLTUwMFwiIChjbGljayk9XCJzZXJ2aWNlLnJlbW92ZVBhZ2UoJGluZGV4KVwiPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhLWxpZ2h0IGZhLWNsb25lICBob3ZlcjpheC10ZXh0LXByaW1hcnktNTAwXCIgKGNsaWNrKT1cInNlcnZpY2UuY2xvbmVQYWdlKCRpbmRleClcIj48L2k+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L3VsPlxuICAgICAgICB9XG4gICAgICAgIEBlbHNlIHtcbiAgICAgICAgPGRpdiBjbGFzcz1cImF4LWZsZXggYXgtanVzdGlmeS1jZW50ZXIgYXgtaXRlbXMtY2VudGVyIGF4LXRleHQtZ3JheS0zMDAgYXgtcC00XCI+Tm8gcGFnZXMgZm91bmQgaW4gdGhlIGRvY3VtZW50XG4gICAgICAgIDwvZGl2PlxuICAgICAgICB9XG4gICAgPC9heC1jb250ZW50PlxuXG48L2F4cC1kZXNpZ25lci1kcmF3ZXItY29udGVudD4iXX0=
@@ -1,82 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, computed, HostBinding, HostListener, model, output, signal } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class AXPDesignerGridDrawerComponent {
4
- constructor() {
5
- this.rowsCount = model(5, { alias: "rows" });
6
- this.colsCount = model(12, { alias: "columns" });
7
- this.onSelect = output();
8
- this.rows = computed(() => Array.from({ length: this.rowsCount() }).map((v, index) => index + 1));
9
- this.columns = computed(() => Array.from({ length: this.colsCount() }).map((v, index) => index + 1));
10
- this.rangeR = signal(0);
11
- this.rangeC = signal(0);
12
- }
13
- handleMouseHover(r, c) {
14
- this.rangeR.set(r);
15
- this.rangeC.set(c);
16
- }
17
- handleClick(r, c) {
18
- this.onSelect.emit({ rows: r, cols: c });
19
- }
20
- handleMouseLeave(event) {
21
- this.rangeR.set(0);
22
- this.rangeC.set(0);
23
- }
24
- get __style() {
25
- return {
26
- "--cols-width": `${this.colsCount() == 0 ? 0 : (100 / this.colsCount())}%`
27
- };
28
- }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerGridDrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDesignerGridDrawerComponent, isStandalone: true, selector: "axp-designer-grid-drawer", inputs: { rowsCount: { classPropertyName: "rowsCount", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, colsCount: { classPropertyName: "colsCount", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rowsCount: "rowsChange", colsCount: "columnsChange", onSelect: "onSelect" }, host: { listeners: { "mouseleave": "handleMouseLeave($event)" }, properties: { "style": "this.__style" } }, ngImport: i0, template: `
31
- <table class="table-picker" >
32
- <tbody>
33
- @for(r of rows();track $index)
34
- {
35
- <tr >
36
- @for(c of columns();track $index)
37
- {
38
- <td (mouseenter)="handleMouseHover(r,c)" [class.picked]="c<=rangeC() && r<=rangeR()" (click)="handleClick(r,c)">
39
- </td>
40
- }
41
- </tr>
42
- }
43
- <tr>
44
- <td [attr.colspan]="columns().length" class="ax-text-center">
45
- <small >{{rangeC()}}*{{rangeR()}}</small>
46
- </td>
47
- </tr>
48
- </tbody>
49
- </table>
50
- `, isInline: true, styles: [":host table{width:100%;border-collapse:collapse;--tw-border-spacing-x: 0px;--tw-border-spacing-y: 0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}:host table td{height:2.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-color-border-default),var(--tw-border-opacity, 1));width:var(--cols-width)}:host table td:after{content:\"\";display:block}:host table td.picked{border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-color-border-default),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-100),var(--tw-bg-opacity, 1))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
- }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerGridDrawerComponent, decorators: [{
53
- type: Component,
54
- args: [{ selector: 'axp-designer-grid-drawer', template: `
55
- <table class="table-picker" >
56
- <tbody>
57
- @for(r of rows();track $index)
58
- {
59
- <tr >
60
- @for(c of columns();track $index)
61
- {
62
- <td (mouseenter)="handleMouseHover(r,c)" [class.picked]="c<=rangeC() && r<=rangeR()" (click)="handleClick(r,c)">
63
- </td>
64
- }
65
- </tr>
66
- }
67
- <tr>
68
- <td [attr.colspan]="columns().length" class="ax-text-center">
69
- <small >{{rangeC()}}*{{rangeR()}}</small>
70
- </td>
71
- </tr>
72
- </tbody>
73
- </table>
74
- `, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [], styles: [":host table{width:100%;border-collapse:collapse;--tw-border-spacing-x: 0px;--tw-border-spacing-y: 0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}:host table td{height:2.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-color-border-default),var(--tw-border-opacity, 1));width:var(--cols-width)}:host table td:after{content:\"\";display:block}:host table td.picked{border-width:1px;--tw-border-opacity: 1;border-color:rgba(var(--ax-color-border-default),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-100),var(--tw-bg-opacity, 1))}\n"] }]
75
- }], propDecorators: { handleMouseLeave: [{
76
- type: HostListener,
77
- args: ['mouseleave', ['$event']]
78
- }], __style: [{
79
- type: HostBinding,
80
- args: ['style']
81
- }] } });
82
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1kcmF3ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZGVzaWduZXIvc3JjL2xpYi9kZXNpZ25lci9jb21wb25lbnRzL2dyaWQtZHJhd2VyL2dyaWQtZHJhd2VyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQThCL0gsTUFBTSxPQUFPLDhCQUE4QjtJQTVCM0M7UUE4QkksY0FBUyxHQUFHLEtBQUssQ0FBUyxDQUFDLEVBQUUsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLENBQUMsQ0FBQztRQUNoRCxjQUFTLEdBQUcsS0FBSyxDQUFTLEVBQUUsRUFBRSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsQ0FBQyxDQUFDO1FBRXBELGFBQVEsR0FBRyxNQUFNLEVBQWtDLENBQUM7UUFHMUMsU0FBSSxHQ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ddLFxuICAgIHRlbXBsYXRlOiBgXG4gICA8dGFibGUgY2xhc3M9XCJ0YWJsZS1waWNrZXJcIiA+XG4gICAgICAgIDx0Ym9keT5cbiAgICAgICAgICAgIEBmb3IociBvZiByb3dzKCk7dHJhY2sgJGluZGV4KVxuICAgICAgICAgICAge1xuICAgICAgICAgICAgPHRyID5cbiAgICAgICAgICAgICAgICBAZm9yKGMgb2YgY29sdW1ucygpO3RyYWNrICRpbmRleClcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIDx0ZCAobW91c2VlbnRlcik9XCJoYW5kbGVNb3VzZUhvdmVyKHIsYylcIiAgW2NsYXNzLnBpY2tlZF09XCJjPD1yYW5nZUMoKSAmJiByPD1yYW5nZVIoKVwiIChjbGljayk9XCJoYW5kbGVDbGljayhyLGMpXCI+XG4gICAgICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDx0cj5cbiAgICAgICAgICAgICAgICA8dGQgW2F0dHIuY29sc3Bhbl09XCJjb2x1bW5zKCkubGVuZ3RoXCIgY2xhc3M9XCJheC10ZXh0LWNlbnRlclwiPlxuICAgICAgICAgICAgICAgICAgICA8c21hbGwgPnt7cmFuZ2VDKCl9fSp7e3JhbmdlUigpfX08L3NtYWxsPlxuICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICA8L3RyPlxuICAgICAgICA8L3Rib2R5PlxuICAgIDwvdGFibGU+XG4gIGAsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgICBpbXBvcnRzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhQRGVzaWduZXJHcmlkRHJhd2VyQ29tcG9uZW50IHtcblxuICAgIHJvd3NDb3VudCA9IG1vZ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