@acorex/platform 18.0.11 → 18.0.13

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 (545) hide show
  1. package/auth/lib/session.service.d.ts +2 -2
  2. package/common/lib/app/application.types.d.ts +3 -2
  3. package/common/lib/layout/sticky.directive.d.ts +1 -1
  4. package/common/lib/schema/widget/widget-renderer.d.ts +1 -0
  5. package/core/utils/countdown-timer.d.ts +4 -2
  6. package/esm2022/auth/lib/session.service.mjs +23 -38
  7. package/esm2022/common/lib/app/application.types.mjs +1 -1
  8. package/esm2022/common/lib/layout/sticky.directive.mjs +2 -2
  9. package/esm2022/common/lib/schema/widget/widget-renderer.mjs +20 -16
  10. package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +3 -3
  11. package/esm2022/core/utils/countdown-timer.mjs +10 -3
  12. package/esm2022/layout/builder/lib/builder/builder.service.mjs +15 -12
  13. package/esm2022/layout/builder/lib/builder/index.mjs +7 -6
  14. package/esm2022/layout/builder/lib/builder/widget-catalog.mjs +33 -0
  15. package/esm2022/layout/builder/lib/builder/widget-groups.mjs +27 -0
  16. package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +3 -3
  17. package/esm2022/layout/builder/lib/builder/widget.types.mjs +7 -6
  18. package/esm2022/layout/designer/index.mjs +3 -3
  19. package/esm2022/layout/designer/lib/board/board.component.mjs +69 -45
  20. package/esm2022/layout/designer/lib/command.mjs +185 -0
  21. package/esm2022/layout/designer/lib/designer/designer.component.mjs +64 -38
  22. package/esm2022/layout/designer/lib/designer.service.mjs +142 -115
  23. package/esm2022/layout/designer/lib/header-menu/header-menu.component.mjs +24 -0
  24. package/esm2022/layout/designer/lib/helpers/add-widget-button/add-widget-button.component.mjs +37 -0
  25. package/esm2022/layout/designer/lib/helpers/grid-drawer/grid-drawer.component.mjs +82 -0
  26. package/esm2022/layout/designer/lib/history/history.component.mjs +28 -0
  27. package/esm2022/layout/designer/lib/outline/outline.component.mjs +17 -17
  28. package/esm2022/layout/designer/lib/pages/pages.component.mjs +28 -0
  29. package/esm2022/layout/designer/lib/property-viewer/widget-property-viewer.component.mjs +5 -2
  30. package/esm2022/layout/designer/lib/widget-designer-renderer.component.mjs +3 -3
  31. package/esm2022/layout/designer/lib/widget-picker/widget-picker.component.mjs +80 -6
  32. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +6 -4
  33. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +17 -7
  34. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +1 -1
  35. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +12 -6
  36. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +1 -2
  37. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +2 -2
  38. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +1 -1
  39. package/esm2022/widgets/lib/properties/editors.props.mjs +114 -44
  40. package/esm2022/widgets/lib/properties/layout.props.mjs +60 -0
  41. package/esm2022/widgets/lib/properties/table-column.props.mjs +3 -2
  42. package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +52 -0
  43. package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +27 -0
  44. package/esm2022/widgets/lib/widgets/actions/button/index.mjs +3 -0
  45. package/esm2022/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-column.component.mjs +1 -1
  46. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-edit.component.mjs +122 -0
  47. package/esm2022/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-filter.component.mjs +1 -1
  48. package/esm2022/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-print.component.mjs +1 -1
  49. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-view.component.mjs +215 -0
  50. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.config.mjs +51 -0
  51. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.service.mjs +3 -0
  52. package/esm2022/widgets/lib/widgets/advance/file/index.mjs +8 -0
  53. package/esm2022/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-column.component.mjs +1 -1
  54. package/esm2022/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-edit.component.mjs +1 -1
  55. package/esm2022/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-filter.component.mjs +1 -1
  56. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-print.component.mjs +19 -0
  57. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-types.mjs +2 -0
  58. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-view.component.mjs +160 -0
  59. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget.config.mjs +29 -0
  60. package/esm2022/widgets/lib/widgets/advance/gallery/index.mjs +7 -0
  61. package/esm2022/widgets/lib/widgets/advance/map/index.mjs +7 -0
  62. package/esm2022/widgets/lib/widgets/{editors/link-widget/link-widget-print.component.mjs → advance/map/map-box-widget-column.component.mjs} +5 -5
  63. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +171 -0
  64. package/esm2022/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-filter.component.mjs +1 -1
  65. package/esm2022/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-print.component.mjs +1 -1
  66. package/esm2022/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-view.component.mjs +3 -3
  67. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget.config.mjs +31 -0
  68. package/esm2022/widgets/lib/widgets/advance/qrcode/index.mjs +3 -0
  69. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.mjs +51 -0
  70. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.mjs +62 -0
  71. package/esm2022/widgets/lib/widgets/advance/signature/index.mjs +7 -0
  72. package/esm2022/widgets/lib/widgets/{editors/select-box-widget/select-box-widget-print.component.mjs → advance/signature/signature-pad-widget-column.component.mjs} +5 -5
  73. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-edit.component.mjs +142 -0
  74. package/esm2022/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-filter.component.mjs +1 -1
  75. package/esm2022/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-print.component.mjs +1 -1
  76. package/esm2022/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-view.component.mjs +1 -1
  77. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget.config.mjs +31 -0
  78. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.mjs +10 -12
  79. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-column.component.mjs +1 -1
  80. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-edit.component.mjs +48 -0
  81. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-filter.component.mjs +1 -1
  82. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-print.component.mjs +1 -1
  83. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-view.component.mjs +1 -1
  84. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget.config.mjs +31 -0
  85. package/esm2022/widgets/lib/widgets/editors/color/index.mjs +7 -0
  86. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-column.component.mjs +36 -0
  87. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +297 -0
  88. package/esm2022/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-filter.component.mjs +1 -1
  89. package/esm2022/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-print.component.mjs +1 -1
  90. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-view.component.mjs +122 -0
  91. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget.config.mjs +81 -0
  92. package/esm2022/widgets/lib/widgets/editors/contact/contact.type.mjs +2 -0
  93. package/esm2022/widgets/lib/widgets/editors/contact/index.mjs +7 -0
  94. package/esm2022/widgets/lib/widgets/editors/{contact-widget → contact}/popup-component.mjs +1 -1
  95. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.mjs +44 -0
  96. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +133 -0
  97. package/esm2022/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-filter.component.mjs +1 -1
  98. package/esm2022/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-print.component.mjs +1 -1
  99. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.mjs +54 -0
  100. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.mjs +40 -0
  101. package/esm2022/widgets/lib/widgets/editors/date-time/index.mjs +7 -0
  102. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-column.component.mjs +66 -0
  103. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-edit.component.mjs +249 -0
  104. package/esm2022/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-filter.component.mjs +1 -1
  105. package/esm2022/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-print.component.mjs +1 -1
  106. package/esm2022/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-view.component.mjs +1 -1
  107. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget.config.mjs +39 -0
  108. package/esm2022/widgets/lib/widgets/editors/email/index.mjs +7 -0
  109. package/esm2022/widgets/lib/widgets/editors/large-text/index.mjs +7 -0
  110. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-column.component.mjs +1 -1
  111. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-edit.component.mjs +1 -1
  112. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-filter.component.mjs +1 -1
  113. package/esm2022/widgets/lib/widgets/editors/{map-box-widget/map-box-widget-column.component.mjs → large-text/large-text-widget-print.component.mjs} +5 -5
  114. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-view.component.mjs +1 -1
  115. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget.config.mjs +39 -0
  116. package/esm2022/widgets/lib/widgets/editors/link/index.mjs +7 -0
  117. package/esm2022/widgets/lib/widgets/editors/{link-widget → link}/link-widget-column.component.mjs +1 -1
  118. package/esm2022/widgets/lib/widgets/editors/link/link-widget-edit.component.mjs +391 -0
  119. package/esm2022/widgets/lib/widgets/editors/link/link-widget-filter.component.mjs +20 -0
  120. package/esm2022/widgets/lib/widgets/editors/link/link-widget-print.component.mjs +19 -0
  121. package/esm2022/widgets/lib/widgets/editors/{link-widget → link}/link-widget-view.component.mjs +1 -1
  122. package/esm2022/widgets/lib/widgets/editors/link/link-widget.config.mjs +29 -0
  123. package/esm2022/widgets/lib/widgets/editors/number/index.mjs +7 -0
  124. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-column.component.mjs +38 -0
  125. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +157 -0
  126. package/esm2022/widgets/lib/widgets/{layout/repeater-widget/repeater-widget-edit.component.mjs → editors/number/number-box-widget-filter.component.mjs} +5 -5
  127. package/esm2022/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-print.component.mjs +1 -1
  128. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-view.component.mjs +56 -0
  129. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget.config.mjs +39 -0
  130. package/esm2022/widgets/lib/widgets/editors/password/index.mjs +7 -0
  131. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget/phone-box-widget-print.component.mjs → password/password-box-widget-column.component.mjs} +5 -5
  132. package/esm2022/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-edit.component.mjs +1 -1
  133. package/esm2022/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-filter.component.mjs +1 -1
  134. package/esm2022/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-print.component.mjs +1 -1
  135. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-view.component.mjs +76 -0
  136. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget.config.mjs +38 -0
  137. package/esm2022/widgets/lib/widgets/editors/phone/index.mjs +7 -0
  138. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-column.component.mjs +66 -0
  139. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-edit.component.mjs +1 -1
  140. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-filter.component.mjs +1 -1
  141. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-print.component.mjs +19 -0
  142. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-view.component.mjs +1 -1
  143. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget.config.mjs +32 -0
  144. package/esm2022/widgets/lib/widgets/editors/rich-text/index.mjs +7 -0
  145. package/esm2022/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-popup.component.mjs +1 -1
  146. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-column.component.mjs +46 -0
  147. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.mjs +67 -0
  148. package/esm2022/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-filter.component.mjs +1 -1
  149. package/esm2022/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-print.component.mjs +1 -1
  150. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-view.component.mjs +45 -0
  151. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.mjs +39 -0
  152. package/esm2022/widgets/lib/widgets/editors/select/index.mjs +7 -0
  153. package/esm2022/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-column.component.mjs +1 -1
  154. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-edit.component.mjs +85 -0
  155. package/esm2022/widgets/lib/widgets/editors/{gallery-widget/gallery-widget-print.component.mjs → select/select-box-widget-filter.component.mjs} +5 -5
  156. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-print.component.mjs +19 -0
  157. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-view.component.mjs +60 -0
  158. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget.config.mjs +38 -0
  159. package/esm2022/widgets/lib/widgets/editors/selection-list/index.mjs +7 -0
  160. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.mjs +41 -0
  161. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.mjs +72 -0
  162. package/esm2022/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-filter.component.mjs +1 -1
  163. package/esm2022/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-print.component.mjs +1 -1
  164. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-view.component.mjs +44 -0
  165. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.mjs +29 -0
  166. package/esm2022/widgets/lib/widgets/editors/text/index.mjs +7 -0
  167. package/esm2022/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-column.component.mjs +1 -1
  168. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-edit.component.mjs +121 -0
  169. package/esm2022/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-filter.component.mjs +1 -1
  170. package/esm2022/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-print.component.mjs +1 -1
  171. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-view.component.mjs +47 -0
  172. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget.config.mjs +41 -0
  173. package/esm2022/widgets/lib/widgets/editors/toggle/index.mjs +7 -0
  174. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-column.component.mjs +1 -1
  175. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-edit.component.mjs +1 -1
  176. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-filter.component.mjs +1 -1
  177. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-print.component.mjs +1 -1
  178. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-view.component.mjs +1 -1
  179. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget.config.mjs +40 -0
  180. package/esm2022/widgets/lib/widgets/index.mjs +23 -22
  181. package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +65 -0
  182. package/esm2022/widgets/lib/widgets/layout/{block-widget → block}/block-widget-view.component.mjs +1 -1
  183. package/esm2022/widgets/lib/widgets/layout/block/block-widget.config.mjs +26 -0
  184. package/esm2022/widgets/lib/widgets/layout/block/index.mjs +4 -0
  185. package/esm2022/widgets/lib/widgets/layout/document/document-widget.config.mjs +13 -0
  186. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.mjs +56 -0
  187. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.mjs +41 -0
  188. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget.config.mjs +25 -0
  189. package/esm2022/widgets/lib/widgets/layout/form-field/index.mjs +4 -0
  190. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +101 -0
  191. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-print.component.mjs +19 -0
  192. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-view.component.mjs +18 -0
  193. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget.config.mjs +26 -0
  194. package/esm2022/widgets/lib/widgets/layout/grid/index.mjs +5 -0
  195. package/esm2022/widgets/lib/widgets/layout/page/index.mjs +3 -0
  196. package/esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.mjs +65 -0
  197. package/esm2022/widgets/lib/widgets/layout/{page-widget → page}/page-widget-view.component.mjs +1 -1
  198. package/esm2022/widgets/lib/widgets/layout/page/page-widget.config.mjs +27 -0
  199. package/esm2022/widgets/lib/widgets/layout/repeater/index.mjs +6 -0
  200. package/esm2022/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-designer.component.mjs +1 -1
  201. package/esm2022/widgets/lib/widgets/{editors/link-widget/link-widget-filter.component.mjs → layout/repeater/repeater-widget-edit.component.mjs} +5 -5
  202. package/esm2022/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-print.component.mjs +1 -1
  203. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-view.component.mjs +52 -0
  204. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget.config.mjs +24 -0
  205. package/esm2022/widgets/lib/widgets/layout/text-block/index.mjs +3 -0
  206. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-view.component.mjs +29 -0
  207. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget.config.mjs +42 -0
  208. package/esm2022/widgets/lib/widgets.module.mjs +17 -3
  209. package/fesm2022/acorex-platform-auth.mjs +22 -37
  210. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  211. package/fesm2022/{acorex-platform-common-text-widget-column.component-D-mLfzKJ.mjs → acorex-platform-common-text-widget-column.component-ytX4OqZX.mjs} +3 -3
  212. package/fesm2022/acorex-platform-common-text-widget-column.component-ytX4OqZX.mjs.map +1 -0
  213. package/fesm2022/acorex-platform-common.mjs +21 -17
  214. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  215. package/fesm2022/acorex-platform-core.mjs +9 -2
  216. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  217. package/fesm2022/acorex-platform-layout-builder.mjs +163 -129
  218. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  219. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-CaMaBGON.mjs +100 -0
  220. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-CaMaBGON.mjs.map +1 -0
  221. package/fesm2022/acorex-platform-layout-designer.mjs +640 -265
  222. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  223. package/fesm2022/acorex-platform-layout-entity.mjs +5 -4
  224. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  225. package/fesm2022/{acorex-platform-layouts-entity-create-view.component-B2XtNJo1.mjs → acorex-platform-layouts-entity-create-view.component-C2pYReAo.mjs} +17 -7
  226. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C2pYReAo.mjs.map +1 -0
  227. package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-CjofXJku.mjs → acorex-platform-layouts-entity-modify-view.component-Bt4MLEou.mjs} +12 -5
  228. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-Bt4MLEou.mjs.map +1 -0
  229. package/fesm2022/acorex-platform-layouts.mjs +4 -4
  230. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  231. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Cv0mt0pU.mjs → acorex-platform-themes-default-entity-master-create-view.component-DKNRxpQk.mjs} +1 -2
  232. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-DKNRxpQk.mjs.map +1 -0
  233. package/fesm2022/acorex-platform-themes-default.mjs +4 -4
  234. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  235. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DYb6bilD.mjs → acorex-platform-widgets-page-widget-designer.component-DlfG4EP1.mjs} +14 -4
  236. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DlfG4EP1.mjs.map +1 -0
  237. package/fesm2022/acorex-platform-widgets-rich-text-popup.component-RCdFIz45.mjs.map +1 -1
  238. package/fesm2022/acorex-platform-widgets.mjs +3989 -3315
  239. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  240. package/layout/builder/lib/builder/builder.service.d.ts +1 -1
  241. package/layout/builder/lib/builder/index.d.ts +6 -5
  242. package/layout/builder/lib/builder/widget-catalog.d.ts +3 -0
  243. package/layout/builder/lib/builder/widget-groups.d.ts +6 -0
  244. package/layout/builder/lib/builder/widget-registery.service.d.ts +1 -1
  245. package/layout/builder/lib/builder/widget.types.d.ts +44 -6
  246. package/layout/designer/index.d.ts +2 -2
  247. package/layout/designer/lib/board/board.component.d.ts +7 -2
  248. package/layout/designer/lib/command.d.ts +70 -0
  249. package/layout/designer/lib/designer/designer.component.d.ts +4 -10
  250. package/layout/designer/lib/designer.service.d.ts +34 -19
  251. package/layout/designer/lib/header-menu/header-menu.component.d.ts +7 -0
  252. package/layout/designer/lib/helpers/grid-drawer/grid-drawer.component.d.ts +19 -0
  253. package/layout/designer/lib/history/history.component.d.ts +7 -0
  254. package/layout/designer/lib/outline/outline.component.d.ts +1 -0
  255. package/layout/designer/lib/pages/pages.component.d.ts +7 -0
  256. package/layout/designer/lib/property-viewer/widget-property-viewer.component.d.ts +1 -0
  257. package/layout/designer/lib/widget-picker/widget-picker.component.d.ts +22 -4
  258. package/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.d.ts +5 -0
  259. package/package.json +12 -12
  260. package/widgets/lib/properties/editors.props.d.ts +5 -1
  261. package/widgets/lib/properties/layout.props.d.ts +4 -0
  262. package/widgets/lib/widgets/actions/{button-widget → button}/button-widget-view.component.d.ts +1 -0
  263. package/widgets/lib/widgets/actions/button/button-widget.config.d.ts +7 -0
  264. package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget.config.d.ts +5 -0
  265. package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget.config.d.ts +5 -0
  266. package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +37 -0
  267. package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget.config.d.ts +5 -0
  268. package/widgets/lib/widgets/advance/qrcode/index.d.ts +2 -0
  269. package/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.d.ts +12 -0
  270. package/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.d.ts +7 -0
  271. package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget.config.d.ts +5 -0
  272. package/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.d.ts +5 -0
  273. package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-edit.component.d.ts +2 -4
  274. package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget.config.d.ts +5 -0
  275. package/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-edit.component.d.ts +1 -1
  276. package/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-view.component.d.ts +1 -1
  277. package/widgets/lib/widgets/editors/contact/contact-widget.config.d.ts +7 -0
  278. package/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.d.ts +7 -0
  279. package/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget.config.d.ts +5 -0
  280. package/widgets/lib/widgets/editors/large-text/large-text-widget.config.d.ts +7 -0
  281. package/widgets/lib/widgets/editors/link/link-widget.config.d.ts +7 -0
  282. package/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-edit.component.d.ts +2 -0
  283. package/widgets/lib/widgets/editors/number/number-box-widget.config.d.ts +7 -0
  284. package/widgets/lib/widgets/editors/password/password-box-widget.config.d.ts +7 -0
  285. package/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget.config.d.ts +5 -0
  286. package/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.d.ts +7 -0
  287. package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-edit.component.d.ts +2 -0
  288. package/widgets/lib/widgets/editors/select/select-box-widget.config.d.ts +7 -0
  289. package/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.d.ts +7 -0
  290. package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-edit.component.d.ts +1 -1
  291. package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget.config.d.ts +5 -0
  292. package/widgets/lib/widgets/editors/toggle/toggle-widget.config.d.ts +7 -0
  293. package/widgets/lib/widgets/index.d.ts +21 -21
  294. package/widgets/lib/widgets/layout/block/block-widget.config.d.ts +7 -0
  295. package/widgets/lib/widgets/layout/document/document-widget.config.d.ts +7 -0
  296. package/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.d.ts +7 -0
  297. package/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.d.ts +7 -0
  298. package/widgets/lib/widgets/layout/form-field/form-field-widget.config.d.ts +7 -0
  299. package/widgets/lib/widgets/layout/form-field/index.d.ts +3 -0
  300. package/widgets/lib/widgets/layout/grid/grid-widget-designer.component.d.ts +20 -0
  301. package/widgets/lib/widgets/layout/grid/grid-widget-print.component.d.ts +6 -0
  302. package/widgets/lib/widgets/layout/grid/grid-widget-view.component.d.ts +6 -0
  303. package/widgets/lib/widgets/layout/grid/grid-widget.config.d.ts +7 -0
  304. package/widgets/lib/widgets/layout/grid/index.d.ts +4 -0
  305. package/widgets/lib/widgets/layout/{page-widget → page}/page-widget-designer.component.d.ts +2 -0
  306. package/widgets/lib/widgets/layout/page/page-widget.config.d.ts +7 -0
  307. package/widgets/lib/widgets/layout/repeater/repeater-widget.config.d.ts +7 -0
  308. package/widgets/lib/widgets/layout/text-block/text-block-widget.config.d.ts +7 -0
  309. package/esm2022/layout/builder/lib/builder/layout.types.mjs +0 -30
  310. package/esm2022/layout/designer/lib/buttons/add-widget-button/add-widget-button.component.mjs +0 -37
  311. package/esm2022/layout/designer/lib/designer.module.mjs +0 -16
  312. package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget-view.component.mjs +0 -37
  313. package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget.config.mjs +0 -25
  314. package/esm2022/widgets/lib/widgets/actions/button-widget/index.mjs +0 -3
  315. package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget-edit.component.mjs +0 -54
  316. package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget.config.mjs +0 -34
  317. package/esm2022/widgets/lib/widgets/editors/color-box-widget/index.mjs +0 -7
  318. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-column.component.mjs +0 -36
  319. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-edit.component.mjs +0 -297
  320. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-view.component.mjs +0 -122
  321. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget.config.mjs +0 -78
  322. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact.type.mjs +0 -2
  323. package/esm2022/widgets/lib/widgets/editors/contact-widget/index.mjs +0 -7
  324. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +0 -44
  325. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +0 -133
  326. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +0 -54
  327. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget.config.mjs +0 -38
  328. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/index.mjs +0 -7
  329. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-column.component.mjs +0 -66
  330. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-edit.component.mjs +0 -249
  331. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget.config.mjs +0 -36
  332. package/esm2022/widgets/lib/widgets/editors/email-box-widget/index.mjs +0 -7
  333. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-edit.component.mjs +0 -122
  334. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-view.component.mjs +0 -215
  335. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.config.mjs +0 -48
  336. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.service.mjs +0 -3
  337. package/esm2022/widgets/lib/widgets/editors/file-box-widget/index.mjs +0 -8
  338. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-types.mjs +0 -2
  339. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-view.component.mjs +0 -160
  340. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget.config.mjs +0 -26
  341. package/esm2022/widgets/lib/widgets/editors/gallery-widget/index.mjs +0 -7
  342. package/esm2022/widgets/lib/widgets/editors/large-text-widget/index.mjs +0 -7
  343. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-print.component.mjs +0 -19
  344. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget.config.mjs +0 -37
  345. package/esm2022/widgets/lib/widgets/editors/link-widget/index.mjs +0 -7
  346. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-edit.component.mjs +0 -391
  347. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget.config.mjs +0 -26
  348. package/esm2022/widgets/lib/widgets/editors/map-box-widget/index.mjs +0 -7
  349. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-edit.component.mjs +0 -96
  350. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget.config.mjs +0 -28
  351. package/esm2022/widgets/lib/widgets/editors/number-box-widget/index.mjs +0 -7
  352. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-column.component.mjs +0 -38
  353. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-edit.component.mjs +0 -151
  354. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-filter.component.mjs +0 -20
  355. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-view.component.mjs +0 -56
  356. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget.config.mjs +0 -37
  357. package/esm2022/widgets/lib/widgets/editors/password-box-widget/index.mjs +0 -7
  358. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-column.component.mjs +0 -19
  359. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-view.component.mjs +0 -76
  360. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget.config.mjs +0 -35
  361. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/index.mjs +0 -7
  362. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-column.component.mjs +0 -66
  363. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget.config.mjs +0 -29
  364. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/index.mjs +0 -7
  365. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-column.component.mjs +0 -46
  366. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-edit.component.mjs +0 -67
  367. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-view.component.mjs +0 -45
  368. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget.config.mjs +0 -37
  369. package/esm2022/widgets/lib/widgets/editors/select-box-widget/index.mjs +0 -7
  370. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-edit.component.mjs +0 -75
  371. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-filter.component.mjs +0 -19
  372. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-view.component.mjs +0 -60
  373. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget.config.mjs +0 -28
  374. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/index.mjs +0 -7
  375. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-column.component.mjs +0 -41
  376. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-edit.component.mjs +0 -72
  377. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-view.component.mjs +0 -44
  378. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget.config.mjs +0 -25
  379. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/index.mjs +0 -7
  380. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +0 -19
  381. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +0 -142
  382. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget.config.mjs +0 -34
  383. package/esm2022/widgets/lib/widgets/editors/text-box-widget/index.mjs +0 -7
  384. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-edit.component.mjs +0 -119
  385. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-view.component.mjs +0 -47
  386. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget.config.mjs +0 -38
  387. package/esm2022/widgets/lib/widgets/editors/toggle-widget/index.mjs +0 -7
  388. package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget.config.mjs +0 -36
  389. package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget-designer.component.mjs +0 -65
  390. package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget.config.mjs +0 -27
  391. package/esm2022/widgets/lib/widgets/layout/block-widget/index.mjs +0 -4
  392. package/esm2022/widgets/lib/widgets/layout/page-widget/index.mjs +0 -3
  393. package/esm2022/widgets/lib/widgets/layout/page-widget/page-widget-designer.component.mjs +0 -55
  394. package/esm2022/widgets/lib/widgets/layout/page-widget/page-widget.config.mjs +0 -27
  395. package/esm2022/widgets/lib/widgets/layout/repeater-widget/index.mjs +0 -6
  396. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.mjs +0 -52
  397. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.mjs +0 -20
  398. package/esm2022/widgets/lib/widgets/layout/text-block-widget/index.mjs +0 -3
  399. package/esm2022/widgets/lib/widgets/layout/text-block-widget/text-block-widget-view.component.mjs +0 -29
  400. package/esm2022/widgets/lib/widgets/layout/text-block-widget/text-block-widget.config.mjs +0 -39
  401. package/fesm2022/acorex-platform-common-text-widget-column.component-D-mLfzKJ.mjs.map +0 -1
  402. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs +0 -26
  403. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs.map +0 -1
  404. package/fesm2022/acorex-platform-layouts-entity-create-view.component-B2XtNJo1.mjs.map +0 -1
  405. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-CjofXJku.mjs.map +0 -1
  406. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cv0mt0pU.mjs.map +0 -1
  407. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DYb6bilD.mjs.map +0 -1
  408. package/layout/builder/lib/builder/layout.types.d.ts +0 -1
  409. package/layout/designer/lib/designer.module.d.ts +0 -6
  410. package/widgets/lib/widgets/actions/button-widget/button-widget.config.d.ts +0 -2
  411. package/widgets/lib/widgets/editors/contact-widget/contact-widget.config.d.ts +0 -2
  412. package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget.config.d.ts +0 -2
  413. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget.config.d.ts +0 -2
  414. package/widgets/lib/widgets/editors/link-widget/link-widget.config.d.ts +0 -2
  415. package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-edit.component.d.ts +0 -15
  416. package/widgets/lib/widgets/editors/number-box-widget/number-box-widget.config.d.ts +0 -2
  417. package/widgets/lib/widgets/editors/password-box-widget/password-box-widget.config.d.ts +0 -2
  418. package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget.config.d.ts +0 -2
  419. package/widgets/lib/widgets/editors/select-box-widget/select-box-widget.config.d.ts +0 -2
  420. package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget.config.d.ts +0 -2
  421. package/widgets/lib/widgets/editors/toggle-widget/toggle-widget.config.d.ts +0 -2
  422. package/widgets/lib/widgets/layout/block-widget/block-widget.config.d.ts +0 -2
  423. package/widgets/lib/widgets/layout/page-widget/page-widget.config.d.ts +0 -2
  424. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.d.ts +0 -2
  425. package/widgets/lib/widgets/layout/text-block-widget/text-block-widget.config.d.ts +0 -2
  426. /package/layout/designer/lib/{buttons → helpers}/add-widget-button/add-widget-button.component.d.ts +0 -0
  427. /package/widgets/lib/widgets/actions/{button-widget → button}/index.d.ts +0 -0
  428. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-column.component.d.ts +0 -0
  429. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-edit.component.d.ts +0 -0
  430. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-filter.component.d.ts +0 -0
  431. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-print.component.d.ts +0 -0
  432. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-view.component.d.ts +0 -0
  433. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget.service.d.ts +0 -0
  434. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/index.d.ts +0 -0
  435. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-column.component.d.ts +0 -0
  436. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-edit.component.d.ts +0 -0
  437. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-filter.component.d.ts +0 -0
  438. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-print.component.d.ts +0 -0
  439. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-types.d.ts +0 -0
  440. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-view.component.d.ts +0 -0
  441. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/index.d.ts +0 -0
  442. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/index.d.ts +0 -0
  443. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-column.component.d.ts +0 -0
  444. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-filter.component.d.ts +0 -0
  445. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-print.component.d.ts +0 -0
  446. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-view.component.d.ts +0 -0
  447. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/index.d.ts +0 -0
  448. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-column.component.d.ts +0 -0
  449. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-edit.component.d.ts +0 -0
  450. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-filter.component.d.ts +0 -0
  451. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-print.component.d.ts +0 -0
  452. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-view.component.d.ts +0 -0
  453. /package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-column.component.d.ts +0 -0
  454. /package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-filter.component.d.ts +0 -0
  455. /package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-print.component.d.ts +0 -0
  456. /package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-view.component.d.ts +0 -0
  457. /package/widgets/lib/widgets/editors/{color-box-widget → color}/index.d.ts +0 -0
  458. /package/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-column.component.d.ts +0 -0
  459. /package/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-filter.component.d.ts +0 -0
  460. /package/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-print.component.d.ts +0 -0
  461. /package/widgets/lib/widgets/editors/{contact-widget → contact}/contact.type.d.ts +0 -0
  462. /package/widgets/lib/widgets/editors/{contact-widget → contact}/index.d.ts +0 -0
  463. /package/widgets/lib/widgets/editors/{contact-widget → contact}/popup-component.d.ts +0 -0
  464. /package/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-column.component.d.ts +0 -0
  465. /package/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-edit.component.d.ts +0 -0
  466. /package/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-filter.component.d.ts +0 -0
  467. /package/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-print.component.d.ts +0 -0
  468. /package/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-view.component.d.ts +0 -0
  469. /package/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/index.d.ts +0 -0
  470. /package/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-column.component.d.ts +0 -0
  471. /package/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-edit.component.d.ts +0 -0
  472. /package/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-filter.component.d.ts +0 -0
  473. /package/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-print.component.d.ts +0 -0
  474. /package/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-view.component.d.ts +0 -0
  475. /package/widgets/lib/widgets/editors/{email-box-widget → email}/index.d.ts +0 -0
  476. /package/widgets/lib/widgets/editors/{large-text-widget → large-text}/index.d.ts +0 -0
  477. /package/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-column.component.d.ts +0 -0
  478. /package/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-edit.component.d.ts +0 -0
  479. /package/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-filter.component.d.ts +0 -0
  480. /package/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-print.component.d.ts +0 -0
  481. /package/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-view.component.d.ts +0 -0
  482. /package/widgets/lib/widgets/editors/{link-widget → link}/index.d.ts +0 -0
  483. /package/widgets/lib/widgets/editors/{link-widget → link}/link-widget-column.component.d.ts +0 -0
  484. /package/widgets/lib/widgets/editors/{link-widget → link}/link-widget-edit.component.d.ts +0 -0
  485. /package/widgets/lib/widgets/editors/{link-widget → link}/link-widget-filter.component.d.ts +0 -0
  486. /package/widgets/lib/widgets/editors/{link-widget → link}/link-widget-print.component.d.ts +0 -0
  487. /package/widgets/lib/widgets/editors/{link-widget → link}/link-widget-view.component.d.ts +0 -0
  488. /package/widgets/lib/widgets/editors/{number-box-widget → number}/index.d.ts +0 -0
  489. /package/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-column.component.d.ts +0 -0
  490. /package/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-filter.component.d.ts +0 -0
  491. /package/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-print.component.d.ts +0 -0
  492. /package/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-view.component.d.ts +0 -0
  493. /package/widgets/lib/widgets/editors/{password-box-widget → password}/index.d.ts +0 -0
  494. /package/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-column.component.d.ts +0 -0
  495. /package/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-edit.component.d.ts +0 -0
  496. /package/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-filter.component.d.ts +0 -0
  497. /package/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-print.component.d.ts +0 -0
  498. /package/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-view.component.d.ts +0 -0
  499. /package/widgets/lib/widgets/editors/{phone-box-widget → phone}/index.d.ts +0 -0
  500. /package/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-column.component.d.ts +0 -0
  501. /package/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-edit.component.d.ts +0 -0
  502. /package/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-filter.component.d.ts +0 -0
  503. /package/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-print.component.d.ts +0 -0
  504. /package/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-view.component.d.ts +0 -0
  505. /package/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/index.d.ts +0 -0
  506. /package/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-popup.component.d.ts +0 -0
  507. /package/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-column.component.d.ts +0 -0
  508. /package/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-edit.component.d.ts +0 -0
  509. /package/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-filter.component.d.ts +0 -0
  510. /package/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-print.component.d.ts +0 -0
  511. /package/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-view.component.d.ts +0 -0
  512. /package/widgets/lib/widgets/editors/{select-box-widget → select}/index.d.ts +0 -0
  513. /package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-column.component.d.ts +0 -0
  514. /package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-filter.component.d.ts +0 -0
  515. /package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-print.component.d.ts +0 -0
  516. /package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-view.component.d.ts +0 -0
  517. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/index.d.ts +0 -0
  518. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-column.component.d.ts +0 -0
  519. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-edit.component.d.ts +0 -0
  520. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-filter.component.d.ts +0 -0
  521. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-print.component.d.ts +0 -0
  522. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-view.component.d.ts +0 -0
  523. /package/widgets/lib/widgets/editors/{text-box-widget → text}/index.d.ts +0 -0
  524. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-column.component.d.ts +0 -0
  525. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-filter.component.d.ts +0 -0
  526. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-print.component.d.ts +0 -0
  527. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-view.component.d.ts +0 -0
  528. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/index.d.ts +0 -0
  529. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-column.component.d.ts +0 -0
  530. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-edit.component.d.ts +0 -0
  531. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-filter.component.d.ts +0 -0
  532. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-print.component.d.ts +0 -0
  533. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-view.component.d.ts +0 -0
  534. /package/widgets/lib/widgets/layout/{block-widget → block}/block-widget-designer.component.d.ts +0 -0
  535. /package/widgets/lib/widgets/layout/{block-widget → block}/block-widget-view.component.d.ts +0 -0
  536. /package/widgets/lib/widgets/layout/{block-widget → block}/index.d.ts +0 -0
  537. /package/widgets/lib/widgets/layout/{page-widget → page}/index.d.ts +0 -0
  538. /package/widgets/lib/widgets/layout/{page-widget → page}/page-widget-view.component.d.ts +0 -0
  539. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/index.d.ts +0 -0
  540. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-designer.component.d.ts +0 -0
  541. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-edit.component.d.ts +0 -0
  542. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-print.component.d.ts +0 -0
  543. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-view.component.d.ts +0 -0
  544. /package/widgets/lib/widgets/layout/{text-block-widget → text-block}/index.d.ts +0 -0
  545. /package/widgets/lib/widgets/layout/{text-block-widget → text-block}/text-block-widget-view.component.d.ts +0 -0
@@ -1,3 +0,0 @@
1
- export * from './page-widget-view.component';
2
- export * from './page-widget.config';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC9wYWdlLXdpZGdldC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3BhZ2Utd2lkZ2V0LXZpZXcuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcGFnZS13aWRnZXQuY29uZmlnJzsiXX0=
@@ -1,55 +0,0 @@
1
- import { AXPLayoutBuilderModule, AXPContainerWidgetComponent } from '@acorex/platform/layout/builder';
2
- import { CommonModule } from '@angular/common';
3
- import { ChangeDetectionStrategy, Component, computed, HostBinding, ViewEncapsulation } from '@angular/core';
4
- import { AXPDesignerAddWidgetButtonComponent, AXPWidgetDesignerRendererComponent } from "@acorex/platform/layout/designer";
5
- import * as i0 from "@angular/core";
6
- export class AXPPageWidgetDesignerComponent extends AXPContainerWidgetComponent {
7
- constructor() {
8
- super(...arguments);
9
- this.backgroundColor = computed(() => this.options()["backgroundColor"]);
10
- }
11
- get __style() {
12
- return {
13
- 'background-color': this.backgroundColor(),
14
- 'display': 'block',
15
- };
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPageWidgetDesignerComponent, isStandalone: true, selector: "axp-page-widget", host: { properties: { "style": "this.__style" } }, providers: [
19
- {
20
- provide: AXPContainerWidgetComponent, useExisting: AXPPageWidgetDesignerComponent
21
- }
22
- ], usesInheritance: true, ngImport: i0, template: `
23
- @for (node of children(); track $index) {
24
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode">
25
- </axp-widget-designer-renderer>
26
- }
27
- <axp-designer-add-widget-button></axp-designer-add-widget-button>
28
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, selector: "axp-widget-designer-renderer", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetDesignerComponent, decorators: [{
31
- type: Component,
32
- args: [{
33
- selector: 'axp-page-widget',
34
- template: `
35
- @for (node of children(); track $index) {
36
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode">
37
- </axp-widget-designer-renderer>
38
- }
39
- <axp-designer-add-widget-button></axp-designer-add-widget-button>
40
- `,
41
- standalone: true,
42
- changeDetection: ChangeDetectionStrategy.OnPush,
43
- encapsulation: ViewEncapsulation.None,
44
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
45
- providers: [
46
- {
47
- provide: AXPContainerWidgetComponent, useExisting: AXPPageWidgetDesignerComponent
48
- }
49
- ]
50
- }]
51
- }], propDecorators: { __style: [{
52
- type: HostBinding,
53
- args: ['style']
54
- }] } });
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS13aWRnZXQtZGVzaWduZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvcGFnZS13aWRnZXQvcGFnZS13aWRnZXQtZGVzaWduZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSwyQkFBMkIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3RHLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0csT0FBTyxFQUFFLG1DQUFtQyxFQUFFLGtDQUFrQyxFQUFFLE1BQU0sa0NBQWtDLENBQUM7O0FBcUIzSCxNQUFNLE9BQU8sOEJBQStCLFNBQVEsMkJBQWlDO0lBbkJyRjs7UUFxQlksb0JBQWUsR0FBRyxRQUFRLENBQVMsR0FBRyxFQU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aWRnZXREZXNpZ25lclJlbmRlcmVyQ29tcG9uZW50LCBBWFBEZXNpZ25lckFkZFdpZGdldEJ1dHRvbkNvbXBvbmVudF0sXG4gIHByb3ZpZGVyczogW1xuICAgIHtcbiAgICAgIHByb3ZpZGU6IEFYUENvbnRhaW5lcldpZGdldENvbXBvbmVudCwgdXNlRXhpc3Rpbmc6IEFYUFBhZ2VXaWRnZXREZXNpZ25lckNvbXBvbmVudFxuICAgIH1cbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBBWFBQYWdlV2lkZ2V0RGVzaWduZXJDb21wb25lbnQgZXh0ZW5kcyBBWFBDb250YWluZXJXaWRnZXRDb21wb25lbnQ8dm9pZD4ge1xuXG4gIHByb3RlY3RlZCBiYWNrZ3JvdW5kQ29sb3IgPSBjb21wdXRlZDxzdHJpbmc+KCgpID0+IHRoaXMub3B0aW9ucygpW1wiYmFja2dyb3VuZENvbG9yXCJdIGFzIHN0cmluZyk7XG5cbiAgQEhvc3RCaW5kaW5nKCdzdHlsZScpXG4gIHByaXZhdGUgZ2V0IF9fc3R5bGUoKTogYW55IHtcbiAgICByZXR1cm4ge1xuICAgICAgJ2JhY2tncm91bmQtY29sb3InOiB0aGlzLmJhY2tncm91bmRDb2xvcigpLFxuICAgICAgJ2Rpc3BsYXknOiAnYmxvY2snLFxuICAgIH07XG4gIH1cbn0iXX0=
@@ -1,27 +0,0 @@
1
- import { AXP_BG_COLOR_PROPERTY, AXP_FONT_SIZE_PROPERTY } from '../../../properties';
2
- export const AXPPageWidget = {
3
- name: "page",
4
- title: "Page",
5
- icon: "fa-solid fa-page",
6
- container: true,
7
- visible: false,
8
- properties: [
9
- AXP_FONT_SIZE_PROPERTY,
10
- AXP_BG_COLOR_PROPERTY
11
- ],
12
- components: {
13
- view: {
14
- component: () => import('./page-widget-view.component').then((c) => c.AXPPageWidgetViewComponent),
15
- },
16
- edit: {
17
- component: () => import('./page-widget-view.component').then((c) => c.AXPPageWidgetViewComponent),
18
- },
19
- print: {
20
- component: () => import('./page-widget-view.component').then((c) => c.AXPPageWidgetViewComponent),
21
- },
22
- designer: {
23
- component: () => import('./page-widget-designer.component').then((c) => c.AXPPageWidgetDesignerComponent),
24
- },
25
- }
26
- };
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS13aWRnZXQuY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvcGFnZS13aWRnZXQvcGFnZS13aWRnZXQuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3BGLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBb0I7SUFDNUMsSUFBSSxFQUFFLE1BQU07SUFDWixLQUFLLEVBQUUsTUFBTTtJQUNiLElBQUksRUFBRSxrQkFBa0I7SUFDeEIsU0FBUyxFQUFFLElBQUk7SUFDZixPQUFPLEVBQUUsS0FBSztJQUNkLFVBQVUsRUFBRTtRQUNWLHNCQUFzQjtRQUN0QixxQkFBcUI7S0FDdEI7SUFDRCxVQUFVLEVBQUU7UUFDVixJQUFJLEVBQUU7WUFDSixTQUFTLEVBQUUsR0FBRyxFQUFFLENBQUMsTUFBTSxDQUFDLDhCQUE4QixDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsMEJBQTBCLENBQUM7U0FDbEc7UUFDRCxJQUFJLEVBQUU7WUFDSixTQUFTLEVBQUUsR0FBRyxFQUFFLENBQUMsTUFBTSxDQUFDLDhCQUE4QixDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQ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4vcGFnZS13aWRnZXQtdmlldy5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUFBhZ2VXaWRnZXRWaWV3Q29tcG9uZW50KSxcbiAgICB9LFxuICAgIGVkaXQ6IHtcbiAgICAgIGNvbXBvbmVudDogKCkgPT4gaW1wb3J0KCcuL3BhZ2Utd2lkZ2V0LXZpZXcuY29tcG9uZW50JykudGhlbigoYykgPT4gYy5BWFBQYWdlV2lkZ2V0Vmlld0NvbXBvbmVudCksXG4gICAgfSxcbiAgICBwcmludDoge1xuICAgICAgY29tcG9uZW50OiAoKSA9PiBpbXBvcnQoJy4vcGFnZS13aWRnZXQtdmlldy5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUFBhZ2VXaWRnZXRWaWV3Q29tcG9uZW50KSxcbiAgICB9LFxuICAgIGRlc2lnbmVyOiB7XG4gICAgICBjb21wb25lbnQ6ICgpID0+IGltcG9ydCgnLi9wYWdlLXdpZGdldC1kZXNpZ25lci5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUFBhZ2VXaWRnZXREZXNpZ25lckNvbXBvbmVudCksXG4gICAgfSxcbiAgfVxufSJdfQ==
@@ -1,6 +0,0 @@
1
- export * from './repeater-widget-view.component';
2
- export * from './repeater-widget-edit.component';
3
- export * from './repeater-widget-print.component';
4
- export * from './repeater-widget-designer.component';
5
- export * from './repeater-widget.config';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC9yZXBlYXRlci13aWRnZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZXBlYXRlci13aWRnZXQtdmlldy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXBlYXRlci13aWRnZXQtZWRpdC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXBlYXRlci13aWRnZXQtcHJpbnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmVwZWF0ZXItd2lkZ2V0LWRlc2lnbmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3JlcGVhdGVyLXdpZGdldC5jb25maWcnOyJdfQ==
@@ -1,52 +0,0 @@
1
- import { AXPLayoutBuilderModule, AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
- import { CommonModule } from '@angular/common';
3
- import { ChangeDetectionStrategy, Component, signal } from '@angular/core';
4
- import { FormsModule } from '@angular/forms';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@acorex/platform/layout/builder";
7
- export class AXPRepeaterWidgetViewComponent extends AXPWidgetComponent {
8
- constructor() {
9
- super(...arguments);
10
- this.rows = signal([]);
11
- }
12
- ngAfterViewInit() {
13
- this.rows.set(this.getValue() ?? []);
14
- }
15
- addNew() {
16
- this.rows.update((prev) => [...prev, {}]);
17
- }
18
- api() {
19
- return {
20
- "addNew": this.addNew.bind(this)
21
- };
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
25
- @for(row of rows();let i=$index; track i){
26
- <ng-container>
27
- @for (node of children();track $index) {
28
- <axp-widget-renderer [node]="node" [parentNode]="this" [index]="i"> </axp-widget-renderer>
29
- }
30
- </ng-container>
31
- }
32
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
- }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetViewComponent, decorators: [{
35
- type: Component,
36
- args: [{
37
- template: `
38
- @for(row of rows();let i=$index; track i){
39
- <ng-container>
40
- @for (node of children();track $index) {
41
- <axp-widget-renderer [node]="node" [parentNode]="this" [index]="i"> </axp-widget-renderer>
42
- }
43
- </ng-container>
44
- }
45
- `,
46
- standalone: true,
47
- changeDetection: ChangeDetectionStrategy.OnPush,
48
- imports: [CommonModule, FormsModule, AXPLayoutBuilderModule],
49
- inputs: [],
50
- }]
51
- }] });
52
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwZWF0ZXItd2lkZ2V0LXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvcmVwZWF0ZXItd2lkZ2V0L3JlcGVhdGVyLXdpZGdldC12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQXVCLGtCQUFrQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDb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ZV0sXG4gIGlucHV0czogW10sXG59KVxuZXhwb3J0IGNsYXNzIEFYUFJlcGVhdGVyV2lkZ2V0Vmlld0NvbXBvbmVudCBleHRlbmRzIEFYUFdpZGdldENvbXBvbmVudDxhbnlbXT4ge1xuICBwcm90ZWN0ZWQgcm93czogV3JpdGFibGVTaWduYWw8YW55W10+ID0gc2lnbmFsKFtdKTtcblxuICBuZ0FmdGVyVmlld0luaXQoKSB7XG4gICAgdGhpcy5yb3dzLnNldCh0aGlzLmdldFZhbHVlKCkgPz8gW10pO1xuICB9XG5cbiAgcHVibGljIGFkZE5ldygpIHtcbiAgICB0aGlzLnJvd3MudXBkYXRlKChwcmV2KSA9PiBbLi4ucHJldiwge31dKTtcbiAgfVxuXG4gIG92ZXJyaWRlIGFwaSgpOiBBWFBMYXlvdXRFbGVtZW50QVBJIHtcbiAgICByZXR1cm4ge1xuICAgICAgXCJhZGROZXdcIjogdGhpcy5hZGROZXcuYmluZCh0aGlzKVxuICAgIH1cbiAgfVxufVxuIl19
@@ -1,20 +0,0 @@
1
- export const AXPRepeaterWidget = {
2
- name: "repeater",
3
- title: "Repeater",
4
- container: true,
5
- components: {
6
- view: {
7
- component: () => import('./repeater-widget-view.component').then((c) => c.AXPRepeaterWidgetViewComponent),
8
- },
9
- edit: {
10
- component: () => import('./repeater-widget-view.component').then((c) => c.AXPRepeaterWidgetViewComponent),
11
- },
12
- print: {
13
- component: () => import('./repeater-widget-print.component').then((c) => c.AXPRepeaterWidgetPrintComponent),
14
- },
15
- designer: {
16
- component: () => import('./repeater-widget-designer.component').then((c) => c.AXPRepeaterWidgetDesignerComponent),
17
- },
18
- }
19
- };
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwZWF0ZXItd2lkZ2V0LmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZv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IjpbImltcG9ydCB7IEFYUFdpZGdldENvbmZpZyB9IGZyb20gJ0BhY29yZXgvcGxhdGZvcm0vbGF5b3V0L2J1aWxkZXInO1xuZXhwb3J0IGNvbnN0IEFYUFJlcGVhdGVyV2lkZ2V0OiBBWFBXaWRnZXRDb25maWcgPSB7XG4gIG5hbWU6IFwicmVwZWF0ZXJcIixcbiAgdGl0bGU6IFwiUmVwZWF0ZXJcIixcbiAgY29udGFpbmVyOiB0cnVlLFxuICBjb21wb25lbnRzOiB7XG4gICAgdmlldzoge1xuICAgICAgY29tcG9uZW50OiAoKSA9PiBpbXBvcnQoJy4vcmVwZWF0ZXItd2lkZ2V0LXZpZXcuY29tcG9uZW50JykudGhlbigoYykgPT4gYy5BWFBSZXBlYXRlcldpZGdldFZpZXdDb21wb25lbnQpLFxuICAgIH0sXG4gICAgZWRpdDoge1xuICAgICAgY29tcG9uZW50OiAoKSA9PiBpbXBvcnQoJy4vcmVwZWF0ZXItd2lkZ2V0LXZpZXcuY29tcG9uZW50JykudGhlbigoYykgPT4gYy5BWFBSZXBlYXRlcldpZGdldFZpZXdDb21wb25lbnQpLFxuICAgIH0sXG4gICAgcHJpbnQ6IHtcbiAgICAgIGNvbXBvbmVudDogKCkgPT4gaW1wb3J0KCcuL3JlcGVhdGVyLXdpZGdldC1wcmludC5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUFJlcGVhdGVyV2lkZ2V0UHJpbnRDb21wb25lbnQpLFxuICAgIH0sXG4gICAgZGVzaWduZXI6IHtcbiAgICAgIGNvbXBvbmVudDogKCkgPT4gaW1wb3J0KCcuL3JlcGVhdGVyLXdpZGdldC1kZXNpZ25lci5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUFJlcGVhdGVyV2lkZ2V0RGVzaWduZXJDb21wb25lbnQpLFxuICAgIH0sXG4gIH1cbn0iXX0=
@@ -1,3 +0,0 @@
1
- export * from './text-block-widget-view.component';
2
- export * from './text-block-widget.config';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC90ZXh0LWJsb2NrLXdpZGdldC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RleHQtYmxvY2std2lkZ2V0LXZpZXcuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vdGV4dC1ibG9jay13aWRnZXQuY29uZmlnJzsiXX0=
@@ -1,29 +0,0 @@
1
- import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
- import { CommonModule } from '@angular/common';
3
- import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';
4
- import { DomSanitizer } from '@angular/platform-browser';
5
- import * as i0 from "@angular/core";
6
- export class AXPTextBlockWidgetViewComponent extends AXPWidgetComponent {
7
- constructor() {
8
- super(...arguments);
9
- this.sanitizer = inject(DomSanitizer);
10
- this.content = computed(() => this.options()['content']);
11
- this.innerContent = computed(() => this.sanitizer.bypassSecurityTrustHtml(this.content()));
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPTextBlockWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
15
- <div [innerHTML]="innerContent()"></div>
16
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, decorators: [{
19
- type: Component,
20
- args: [{
21
- template: `
22
- <div [innerHTML]="innerContent()"></div>
23
- `,
24
- standalone: true,
25
- changeDetection: ChangeDetectionStrategy.OnPush,
26
- imports: [CommonModule],
27
- }]
28
- }] });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1ibG9jay13aWRnZXQtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC90ZXh0LWJsb2NrLXdpZGdldC90ZXh0LWJsb2NrLXdpZGdldC12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNyRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7QUFVekQsTUFBTSxPQUFPLCtCQUFnQyxTQUFRLGtCQUF3QjtJQVI3RTs7UUFTRSxjQUFTLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxDQUFDO1FBRXZCLFlBQU8sR0FBRyxRQUFRLENBQVMsR0FBRyxFQUFFLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDLFNBQVM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1bGVdLFxufSlcbmV4cG9ydCBjbGFzcyBBWFBUZXh0QmxvY2tXaWRnZXRWaWV3Q29tcG9uZW50IGV4dGVuZHMgQVhQV2lkZ2V0Q29tcG9uZW50PHZvaWQ+IHtcbiAgc2FuaXRpemVyID0gaW5qZWN0KERvbVNhbml0aXplcik7XG5cbiAgcHJvdGVjdGVkIGNvbnRlbnQgPSBjb21wdXRlZDxzdHJpbmc+KCgpID0+IHRoaXMub3B0aW9ucygpWydjb250ZW50J10gYXMgc3RyaW5nKTtcblxuICBwcm90ZWN0ZWQgaW5uZXJDb250ZW50ID0gY29tcHV0ZWQoKCkgPT5cbiAgICB0aGlzLnNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0SHRtbCh0aGlzLmNvbnRlbnQoKSlcbiAgKTtcbn0iXX0=
@@ -1,39 +0,0 @@
1
- import { AXP_DATA_PROPERTY_GROUP, AXP_PLACEHOLDER_PROPERTY } from '../../../properties';
2
- export const AXPTextBlockWidget = {
3
- title: "Text Block",
4
- name: "text-block",
5
- icon: "fa-solid fa-square",
6
- properties: [
7
- AXP_PLACEHOLDER_PROPERTY,
8
- {
9
- name: 'content',
10
- title: 'Content',
11
- group: AXP_DATA_PROPERTY_GROUP,
12
- schema: {
13
- dataType: 'string',
14
- defaultValue: "Text Block",
15
- interface: {
16
- name: 'content',
17
- path: 'options.content',
18
- type: 'rich-text',
19
- },
20
- },
21
- visible: true,
22
- }
23
- ],
24
- components: {
25
- view: {
26
- component: () => import('./text-block-widget-view.component').then((c) => c.AXPTextBlockWidgetViewComponent),
27
- },
28
- edit: {
29
- component: () => import('./text-block-widget-view.component').then((c) => c.AXPTextBlockWidgetViewComponent),
30
- },
31
- print: {
32
- component: () => import('./text-block-widget-view.component').then((c) => c.AXPTextBlockWidgetViewComponent),
33
- },
34
- designer: {
35
- component: () => import('./text-block-widget-view.component').then((c) => c.AXPTextBlockWidgetViewComponent),
36
- },
37
- }
38
- };
39
- //# sourceMappingURL=data:application/json;base64,eyJ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ZXh0LWJsb2NrLXdpZGdldC12aWV3LmNvbXBvbmVudCcpLnRoZW4oKGMpID0+IGMuQVhQVGV4dEJsb2NrV2lkZ2V0Vmlld0NvbXBvbmVudCksXG4gICAgfSxcbiAgfVxufSJdfQ==
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-platform-common-text-widget-column.component-D-mLfzKJ.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/text/text-widget-column.component.ts"],"sourcesContent":["import { AXPWidgetBase } from '../../widget/widget-base';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'axp-text-widget-column',\n template: ` <span [title]=\"convertedValue\">{{ convertedValue }}</span> `,\n standalone: true,\n inputs: ['context', 'value', 'multiple', 'width', 'allowResizing'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPTextWidgetColumnComponent extends AXPWidgetBase {\n protected convertedValue!: string | string[] | null;\n protected multiple!: boolean;\n protected allowResizing!: boolean;\n\n override render() {\n if (this.rawValue == null) {\n this.convertedValue = null;\n return;\n }\n if (this.isArray(this.rawValue)) {\n if (this.multiple) {\n this.convertedValue = this.rawValue.map((value: string) => this.formatValue(value)).join(',');\n } else {\n this.convertedValue = this.formatValue(this.rawValue[0]);\n }\n } else {\n this.convertedValue = this.formatValue(this.rawValue);\n }\n }\n\n private formatValue(value: string): string {\n if (this.formats?.default) {\n return this.formatService.format(value, this.schema.dataType as any, this.formats.default);\n } else {\n return new String(value).toString();\n }\n }\n\n protected isArray(val: any) {\n return Array.isArray(val);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUM,MAAO,4BAA6B,SAAQ,aAAa,CAAA;IAKpD,MAAM,GAAA;AACb,QAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;AACzB,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAC3B,OAAO;SACR;QACD,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAA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BAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAK7D,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAPxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,QAAQ,EAAE,CAA8D,4DAAA,CAAA;AACxE,oBAAA,UAAU,EAAE,IAAI;oBAChB,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC;oBAClE,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA,CAAA;;;;;"}
@@ -1,26 +0,0 @@
1
- import { AXButtonModule } from '@acorex/components/button';
2
- import { AXDecoratorModule } from '@acorex/components/decorators';
3
- import { AXBasePageComponent } from '@acorex/components/page';
4
- import * as i1 from '@angular/common';
5
- import { CommonModule } from '@angular/common';
6
- import * as i0 from '@angular/core';
7
- import { Component } from '@angular/core';
8
-
9
- class AXPDesignerWidgetPickerComponent extends AXBasePageComponent {
10
- constructor() {
11
- super(...arguments);
12
- this.widgets = [];
13
- }
14
- handleClick(widget) {
15
- this.close({ widgets: [widget] });
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerWidgetPickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDesignerWidgetPickerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-p-5 ax-grid ax-grid-flow-row ax-grid-cols-2\">\n @for(w of widgets;track $index)\n {\n <div (click)=\"handleClick(w)\" class=\"ax-font-semibold ax-p-2 ax-cursor-pointer ax-flex ax-gap-2\">\n <div class=\"ax-w-8 ax-h-8 ax-rounded-md ax-bg-slate-400 ax-flex ax-items-center ax-justify-center\">\n <i [ngClass]=\"w.icon\"></i>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2\">\n <span>{{w.title}}</span>\n </div>\n </div>\n }\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerWidgetPickerComponent, decorators: [{
21
- type: Component,
22
- args: [{ standalone: true, imports: [CommonModule, AXButtonModule, AXDecoratorModule], template: "<div class=\"ax-p-5 ax-grid ax-grid-flow-row ax-grid-cols-2\">\n @for(w of widgets;track $index)\n {\n <div (click)=\"handleClick(w)\" class=\"ax-font-semibold ax-p-2 ax-cursor-pointer ax-flex ax-gap-2\">\n <div class=\"ax-w-8 ax-h-8 ax-rounded-md ax-bg-slate-400 ax-flex ax-items-center ax-justify-center\">\n <i [ngClass]=\"w.icon\"></i>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2\">\n <span>{{w.title}}</span>\n </div>\n </div>\n }\n</div>" }]
23
- }] });
24
-
25
- export { AXPDesignerWidgetPickerComponent };
26
- //# sourceMappingURL=acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs","sources":["../../../../libs/platform/layout/designer/src/lib/widget-picker/widget-picker.component.ts","../../../../libs/platform/layout/designer/src/lib/widget-picker/widget-picker.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXPWidgetConfig } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { Component, OnInit } from '@angular/core';\n\n@Component({\n standalone: true,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule],\n templateUrl: 'widget-picker.component.html',\n})\n\nexport class AXPDesignerWidgetPickerComponent extends AXBasePageComponent {\n\n protected widgets: AXPWidgetConfig[] = [];\n\n\n protected handleClick(widget: AXPWidgetConfig) {\n this.close({ widgets: [widget] });\n }\n}","<div class=\"ax-p-5 ax-grid ax-grid-flow-row ax-grid-cols-2\">\n @for(w of widgets;track $index)\n {\n <div (click)=\"handleClick(w)\" class=\"ax-font-semibold ax-p-2 ax-cursor-pointer ax-flex ax-gap-2\">\n <div class=\"ax-w-8 ax-h-8 ax-rounded-md ax-bg-slate-400 ax-flex ax-items-center ax-justify-center\">\n <i [ngClass]=\"w.icon\"></i>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2\">\n <span>{{w.title}}</span>\n </div>\n </div>\n }\n</div>"],"names":[],"mappings":";;;;;;;;AAaM,MAAO,gCAAiC,SAAQ,mBAAmB,CAAA;AANzE,IAAA,WAAA,GAAA;;QAQc,IAAO,CAAA,OAAA,GAAsB,EAAE,CAAC;AAM7C,KAAA;AAHa,IAAA,WAAW,CAAC,MAAuB,EAAA;QACzC,IAAI,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;KACrC;8GAPQ,gCAAgC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gCAAgC,+FCb7C,ugBAYM,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDHQ,YAAY,EAAE,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,8BAAE,iBAAiB,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIhD,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAN5C,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,WACP,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,CAAC,EAAA,QAAA,EAAA,ugBAAA,EAAA,CAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-platform-layouts-entity-create-view.component-B2XtNJo1.mjs","sources":["../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-create-view/entity-create-view.component.ts","../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-create-view/entity-create-view.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogModule } from '@acorex/components/dialog';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXTooltipModule } from '@acorex/components/tooltip';\nimport { AXPEntityConfig, AXPSchemaModule } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPEntityCreateViewLoader } from './entity-create-view.config';\n\nimport { AXValidationModule } from '@acorex/core/validation';\n\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPStickyDirective } from '@acorex/platform/common';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\n\n@Component({\n templateUrl: './entity-create-view.component.html',\n imports: [\n CommonModule,\n FormsModule,\n AXFormModule,\n AXDecoratorModule,\n CommonModule,\n AXButtonModule,\n AXDialogModule,\n AXLoadingModule,\n AXTabsModule,\n AXPSchemaModule,\n AXTooltipModule,\n AXValidationModule,\n AXLabelModule,\n AXDropdownModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n //\n AXPStickyDirective,\n ],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPEntityCreateViewComponent extends AXBasePageComponent {\n protected loader!: AXPEntityCreateViewLoader;\n protected entity!: AXPEntityConfig;\n protected workflow = inject(AXPWorkflowService);\n protected submitLoading: WritableSignal<boolean> = signal(false);\n\n protected handleCloseClick() {\n this.close();\n }\n\n protected async handleBackClick() {\n await this.loader.back();\n }\n\n protected async handleNextClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n await this.loader.next();\n }\n }\n\n protected async handleSaveClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n if (this.entity.commands?.create) {\n this.submitLoading.set(true);\n const record = await this.entity.commands.create(this.loader.data);\n if (record) {\n this.close({ save: true, recordId: record.id, redirect: true });\n }\n this.submitLoading.set(false);\n }\n }\n }\n\n protected async handleSaveAndNewClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n if (this.entity.commands?.create) {\n this.submitLoading.set(true);\n const record = await this.entity.commands.create(this.loader.data);\n if (record) {\n this.close({ save: true, recordId: record.id, redirect: false });\n }\n this.submitLoading.set(false);\n }\n this.workflow.execute('create-entity', {\n payload: {\n module: this.loader.entity.module,\n entity: this.loader.entity.name,\n },\n });\n }\n }\n}\n","<div class=\"ax-min-h-[25vh]\">\n @if((loader.hasSections$ | async)) {\n <ol\n class=\"ax-flex ax-items-center ax-w-full ax-space-x-2 ax-text-sm ax-font-medium ax-text-center ax-text-gray-500 ax-bg-white dark:ax-text-gray-400 sm:ax-text-base ax-p-4 sm:ax-space-x-4 rtl:ax-space-x-reverse ax-sticky ax-top-0 ax-z-10\"\n [axpSticky]=\"'ax-bg-surface ax-drop-shadow-lg'\"\n [stickyParent]=\"'.ax-popup-body-container'\"\n >\n @for(section of (loader.sections$ | async); track section.name;let index = $index;let last = $last;let count= $count) {\n <li class=\"ax-flex ax-items-center\">\n <span\n class=\"ax-flex ax-items-center ax-justify-center ax-w-5 ax-h-5 ax-me-2 ax-text-xs ax-text-white ax-bg-neutral-500 ax-rounded-full ax-shrink-0\"\n [class.!ax-bg-primary-500]=\"(loader.section$ | async) == section\"\n [class.!ax-bg-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\n >\n {{ index + 1 }}\n </span>\n <p\n class=\"ax-font-normal\"\n [class.!ax-text-primary-500]=\"(loader.section$ | async) == section\"\n [class.!ax-text-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\n [class.!ax-font-semibold]=\"(loader.section$ | async) == section\"\n >\n {{ section.title }}\n </p>\n\n <i\n *ngIf=\"!last\"\n [class.!ax-text-primary-500]=\"(loader.section$ | async) == section\"\n [class.!ax-text-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\n class=\"ax-text-xs ax-text-neutral-500 fa-solid fa-chevrons-right ax-ms-2 sm:ax-ms-4 rtl:ax-rotate-180\"\n ></i>\n </li>\n }\n </ol>\n }\n\n <ax-form class=\"ax-flex ax-flex-col ax-gap-6 ax-p-4\" #form [messageStyle]=\"'bottom'\" [updateOn]=\"'blur'\">\n @for(section of (loader.section$ | async)?.sections; track section.name;) {\n <div class=\"ax-flex ax-flex-col ax-pb-4\">\n @if(((loader.section$ | async)?.sections?.length ?? 0) > 1) {\n <div class=\"ax-pb-4\">\n <span class=\"ax-font-bold ax-text-2xl\">{{ section.title }}</span>\n @if(section.description) {\n <p class=\"ax-text-sm ax-text-gray-500\">{{ section.description }}</p>\n }\n </div>\n }\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4 ax-py-2 first:ax-pt-0 last:ax-pb-0\">\n @for(name of section.properties; track name) {\n <ng-container *ngIf=\"loader.getProp(name) as prop\">\n <!-- lg:ax-col-span-6 -->\n <!-- lg:ax-col-start-1 -->\n <ax-form-field\n class=\"ax-col-span-12 ax-col-start-1 lg:ax-col-span-{{ prop.layout?.positions?.default?.span || 12 }} lg:ax-col-start-{{\n prop.layout?.positions?.default?.start || 1\n }} ax-flex ax-flex-col\"\n >\n <ax-label class=\"ax-font-semibold ax-text-sm\" [required]=\"loader.isRequired(name)\">{{ prop.title }}</ax-label>\n <axp-widget-renderer [schema]=\"prop.schema\" [prop]=\"prop\" [mode]=\"'edit'\" [context]=\"loader.data\"></axp-widget-renderer>\n </ax-form-field>\n </ng-container>\n }\n </div>\n </div>\n }\n </ax-form>\n <ax-footer>\n <ax-prefix> </ax-prefix>\n <ax-suffix>\n @if((loader.hasSections$| async) && !(loader.isFirst$| async)) {\n <ax-button look=\"solid\" color=\"ghost\" text=\"Back\" (onClick)=\"handleBackClick()\"> </ax-button>\n } @else {\n <ax-button look=\"solid\" color=\"ghost\" [text]=\"'cancel' | translate | async\" (onClick)=\"handleCloseClick()\"> </ax-button>\n } @if((loader.isLast$ | async)) {\n <ax-dropdown-button [disabled]=\"submitLoading()\" color=\"primary\" [text]=\"'save' | translate | async\" look=\"solid\" (onClick)=\"handleSaveClick(form)\">\n <ax-loading *ngIf=\"submitLoading()\"></ax-loading>\n <ax-button-item-list>\n <ax-button-item [text]=\"('save' | translate | async) + ' & ' + ('create-new' | translate | async)\" (onClick)=\"handleSaveAndNewClick(form)\">\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-button>\n\n } @else {\n <ax-button look=\"solid\" color=\"primary\" [text]=\"'continue' | translate | async\" (onClick)=\"handleNextClick(form)\"> </ax-button>\n }\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":["i3","i6","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDM,MAAO,4BAA6B,SAAQ,mBAAmB,CAAA;AAzBrE,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,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKT,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAzBxC,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,WAAW;wBACX,YAAY;wBACZ,iBAAiB;wBACjB,YAAY;wBACZ,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,kBAAkB;wBAClB,aAAa;wBACb,gBAAgB;wBAChB,sBAAsB;wBACtB,mBAAmB;;wBAEnB,kBAAkB;AACnB,qBAAA,EAAA,UAAA,EACW,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6vIAAA,EAAA,CAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-platform-layouts-entity-modify-view.component-CjofXJku.mjs","sources":["../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.ts","../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogModule } from '@acorex/components/dialog';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXTooltipModule } from '@acorex/components/tooltip';\nimport { AXValidationModule } from '@acorex/core/validation';\nimport { AXPStickyDirective } from '@acorex/platform/common';\nimport { AXPEntityConfig, AXPSchemaModule } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { cloneDeep } from 'lodash-es';\nimport { AXPEntityModifyViewLoader } from './entity-modify-view.config';\nimport { AXTranslationModule } from '@acorex/core/translation';\n\n@Component({\n templateUrl: './entity-modify-view.component.html',\n imports: [\n CommonModule,\n FormsModule,\n AXFormModule,\n AXDecoratorModule,\n CommonModule,\n AXButtonModule,\n AXDialogModule,\n AXLoadingModule,\n AXTabsModule,\n AXPSchemaModule,\n AXTooltipModule,\n AXValidationModule,\n AXLabelModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n //\n AXPStickyDirective,\n ],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPEntityModifyViewComponent extends AXBasePageComponent {\n protected loader!: AXPEntityModifyViewLoader;\n context: any;\n entity!: AXPEntityConfig;\n properties: string[] = [];\n submitLoading: WritableSignal<boolean> = signal(false);\n\n protected editForm: {\n context?: any;\n previousContext?: any;\n } = {};\n\n protected handleCloseClick() {\n this.close({ result: false });\n }\n\n protected override ngOnInit(): void {\n this.editForm.context = cloneDeep(this.context);\n this.editForm.previousContext = cloneDeep(this.context);\n }\n\n protected async handleSectionDiscard(form: AXFormComponent) {\n this.close({ result: false });\n }\n\n protected async handleSectionReset(form: AXFormComponent) {\n this.editForm.context = cloneDeep(this.editForm.previousContext);\n }\n\n protected async handleSectionSubmit(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n if (this.entity.commands?.update) {\n this.submitLoading.set(true);\n await this.entity.commands.update(this.editForm.context.id, this.editForm.context);\n this.submitLoading.set(false);\n this.close({ result: true, context: this.editForm.context });\n }\n }\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n this.editForm.context = null;\n this.editForm.previousContext = null;\n }\n\n // override onClosing(e: AXComponentClosing): void | Promise<void> {\n // if (e.data?.save || isEmpty(this.loader.data))\n // e.cancel = false;\n // else {\n // e.cancel = true;\n // }\n // }\n}\n","<div class=\"ax-min-h-[25vh]\">\n <ax-form class=\"ax-flex ax-flex-col ax-gap-6 ax-p-4\" #form [messageStyle]=\"'bottom'\" [updateOn]=\"'blur'\">\n <div class=\"ax-flex ax-flex-col ax-pb-4\">\n <ax-form-field class=\"ax-grid ax-grid-cols-12 ax-gap-4 ax-py-2 first:ax-pt-0 last:ax-pb-0\">\n <ng-container *ngFor=\"let name of properties\">\n <ng-container *ngIf=\"loader.getProp(name) as prop\">\n <!-- lg:ax-col-span-6 -->\n <!-- lg:ax-col-start-1 -->\n <div *ngIf=\"prop.canEdit\" class=\"ax-col-span-12 ax-col-start-1 lg:ax-col-span-{{\n prop.layout?.positions?.default?.span || 12\n }} lg:ax-col-start-{{ prop.layout?.positions?.default?.start || 1 }} ax-flex ax-flex-col ax-gap-1\">\n <span class=\"ax-font-semibold ax-text-sm\">{{ prop.title }}</span>\n <axp-widget-renderer [schema]=\"prop.schema\" [prop]=\"prop\" [mode]=\"'edit'\"\n [context]=\"editForm.context\"></axp-widget-renderer>\n </div>\n </ng-container>\n </ng-container>\n </ax-form-field>\n </div>\n </ax-form>\n <ax-footer>\n <ax-suffix>\n <ax-dropdown-button [text]=\"'discard' | translate | async\" (onClick)=\"handleSectionDiscard(form)\">\n <ax-button-item-list>\n <ax-button-item [text]=\"('reset' | translate | async) ?? ' '\" (onClick)=\"handleSectionReset(form)\">\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-rotate-left fa-flip-horizontal\"></ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-button>\n <ax-button [disabled]=\"submitLoading()\" color=\"primary\" [text]=\"'save-changes' | translate | async\" (onClick)=\"handleSectionSubmit(form)\">\n <ax-loading *ngIf=\"submitLoading()\"></ax-loading>\n </ax-button>\n </ax-suffix>\n </ax-footer>\n</div>"],"names":["i3","i4","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CM,MAAO,4BAA6B,SAAQ,mBAAmB,CAAA;AAxBrE,IAAA,WAAA,GAAA;;QA4BE,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AA,EAAA,sBAAsB,yTACtB,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAOV,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAxBxC,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,WAAW;wBACX,YAAY;wBACZ,iBAAiB;wBACjB,YAAY;wBACZ,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,YAAY;wBACZ,eAAe;wBACf,eAAe;wBACf,kBAAkB;wBAClB,aAAa;wBACb,sBAAsB;wBACtB,mBAAmB;;wBAEnB,kBAAkB;AACnB,qBAAA,EAAA,UAAA,EACW,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,m5DAAA,EAAA,CAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-platform-themes-default-entity-master-create-view.component-Cv0mt0pU.mjs","sources":["../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.ts","../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogModule } from '@acorex/components/dialog';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXTooltipModule } from '@acorex/components/tooltip';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { AXValidationModule } from '@acorex/core/validation';\n\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXPGridLayoutDirective, AXPStickyDirective } from '@acorex/platform/common';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { AXPEntityMasterCreateViewModel } from '@acorex/platform/layout/entity';\nimport { AXTranslationModule } from '@acorex/core/translation';\n\n@Component({\n templateUrl: './entity-master-create-view.component.html',\n imports: [\n CommonModule,\n FormsModule,\n AXFormModule,\n AXDecoratorModule,\n CommonModule,\n AXButtonModule,\n AXDialogModule,\n AXLoadingModule,\n AXTabsModule,\n AXTooltipModule,\n AXValidationModule,\n AXLabelModule,\n AXDropdownModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n //\n AXPLayoutBuilderModule,\n AXPWidgetsModule,\n AXPStickyDirective,\n AXPGridLayoutDirective\n ],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPEntityMasterCreateViewComponent extends AXBasePageComponent {\n protected vm!: AXPEntityMasterCreateViewModel;\n\n protected workflow = inject(AXPWorkflowService);\n\n protected handleCloseClick() {\n this.close();\n }\n\n protected async handleBackClick() {\n //await this.vm.executeCommand('back');\n }\n\n protected async handleNextClick(form: AXFormComponent) {\n // const formResult = await form.validate();\n // if (formResult.result) {\n // await this.vm.executeCommand('next');\n // }\n }\n\n protected async handleSaveClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n const record = await this.vm.save();\n this.close({ save: true, recordId: record.id, item: record, redirect: true });\n }\n }\n\n protected async handleSaveAndNewClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n const record = await this.vm.save();\n this.close({ save: true, recordId: record.id, redirect: false });\n await this.vm.createNewOne();\n }\n }\n\n protected async handleContextChange(data: any) {\n debugger\n this.vm.context.set(data);\n }\n}\n","<div>\n <axp-widgets-container [context]=\"vm.context()\" (contextChange)=\"handleContextChange($event)\">\n <ax-form class=\"ax-flex ax-flex-col ax-gap-6 ax-p-4 ax-pb-8\" #form [messageStyle]=\"'bottom'\" [updateOn]=\"'blur'\">\n <!-- Begin Sections -->\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @for(section of vm.sections(); track section.name()) {\n <div class=\"ax-col-span-12\">\n <ax-form #form>\n <div class=\"ax-pb-4\">\n <span class=\"ax-font-bold ax-text-xl\">{{ section.title() }}</span>\n @if(section.description()) {\n <p class=\"ax-text-sm ax-text-gray-500\">{{ section.description() }}</p>\n }\n </div>\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\n @for(attr of section.elements(); track $index) {\n <ax-form-field class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\">\n <ax-label class=\"ax-font-semibold ax-text-sm\" [required]=\"attr.isRequired()\">{{ attr.title()\n }}</ax-label>\n <axp-widget-renderer [node]=\"attr.node()\" [mode]=\"'edit'\"> </axp-widget-renderer>\n </ax-form-field>\n }\n </div>\n </ax-form>\n </div>\n }\n </div>\n <!-- Finish Sections -->\n </ax-form>\n </axp-widgets-container>\n <ax-footer>\n <ax-suffix>\n <ax-button look=\"solid\" color=\"ghost\" [text]=\"'cancel' | translate | async\" (onClick)=\"handleCloseClick()\">\n </ax-button>\n <ax-dropdown-button [disabled]=\"vm.isInProgress()\" color=\"primary\" [text]=\"'save' | translate | async\"\n look=\"solid\" (onClick)=\"handleSaveClick(form)\">\n <ax-loading *ngIf=\"vm.isInProgress()\"></ax-loading>\n <ax-button-item-list>\n <ax-button-item [text]=\"('save' | translate | async) + ' ' + ('create-new' | translate | async)\"\n (onClick)=\"handleSaveAndNewClick(form)\">\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-button>\n </ax-suffix>\n </ax-footer>\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,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,YAAA,EAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACtB,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAEhB,sBAAsB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKb,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBA3B9C,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,WAAW;wBACX,YAAY;wBACZ,iBAAiB;wBACjB,YAAY;wBACZ,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,YAAY;wBACZ,eAAe;wBACf,kBAAkB;wBAClB,aAAa;wBACb,gBAAgB;wBAChB,sBAAsB;wBACtB,mBAAmB;;wBAEnB,sBAAsB;wBACtB,gBAAgB;wBAChB,kBAAkB;wBAClB,sBAAsB;AACvB,qBAAA,EAAA,UAAA,EACW,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4oEAAA,EAAA,CAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-platform-widgets-page-widget-designer.component-DYb6bilD.mjs","sources":["../../../../libs/platform/widgets/src/lib/widgets/layout/page-widget/page-widget-designer.component.ts"],"sourcesContent":["import { AXPLayoutBuilderModule, AXPContainerWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, HostBinding, ViewEncapsulation } from '@angular/core';\nimport { AXPDesignerAddWidgetButtonComponent, AXPWidgetDesignerRendererComponent } from \"@acorex/platform/layout/designer\";\n\n@Component({\n selector: 'axp-page-widget',\n template: `\n @for (node of children(); track $index) {\n <axp-widget-designer-renderer [node]=\"node\" [parentNode]=\"this\" [mode]=\"mode\">\n </axp-widget-designer-renderer>\n }\n <axp-designer-add-widget-button></axp-designer-add-widget-button>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],\n providers: [\n {\n provide: AXPContainerWidgetComponent, useExisting: AXPPageWidgetDesignerComponent\n }\n ]\n})\nexport class AXPPageWidgetDesignerComponent extends AXPContainerWidgetComponent<void> {\n\n protected backgroundColor = computed<string>(() => this.options()[\"backgroundColor\"] as string);\n\n @HostBinding('style')\n private get __style(): any {\n return {\n 'background-color': this.backgroundColor(),\n 'display': 'block',\n };\n }\n}"],"names":[],"mappings":";;;;;;AAwBM,MAAO,8BAA+B,SAAQ,2BAAiC,CAAA;AAnBrF,IAAA,WAAA,GAAA;;AAqBY,QAAA,IAAA,CAAA,eAAe,GAAG,QAAQ,CAAS,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAW,CAAC,CAAC;AASjG,KAAA;AAPC,IAAA,IACY,OAAO,GAAA;QACjB,OAAO;AACL,YAAA,kBAAkB,EAAE,IAAI,CAAC,eAAe,EAAE;AAC1C,YAAA,SAAS,EAAE,OAAO;SACnB,CAAC;KACH;8GAVU,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,EAN9B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,cAAA,EAAA,EA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 from "@angular/core";
2
- export declare class AXPDesignerModule {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerModule, never>;
4
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXPDesignerModule, never, never, never>;
5
- static ɵinj: i0.ɵɵInjectorDeclaration<AXPDesignerModule>;
6
- }
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPButtonWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPContactWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPDateTimeBoxWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPLargeTextWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPLinkWidget: AXPWidgetConfig;
@@ -1,15 +0,0 @@
1
- import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
- import { ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent<any> {
5
- mapEl: ElementRef<HTMLElement>;
6
- private map;
7
- private featuresGroup;
8
- protected multiple: import("@angular/core").Signal<boolean>;
9
- ngAfterViewInit(): Promise<void>;
10
- private updateValue;
11
- private addMarker;
12
- initMap(): Promise<void>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMapBoxWidgetEditComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPMapBoxWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
15
- }
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPNumberBoxWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPPasswordBoxWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPRichTextWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPSelectBoxWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPSelectionListWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPToggleWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPBlockWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPPageWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPRepeaterWidget: AXPWidgetConfig;
@@ -1,2 +0,0 @@
1
- import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
- export declare const AXPTextBlockWidget: AXPWidgetConfig;