@acorex/platform 18.0.12 → 18.0.14

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 (548) hide show
  1. package/common/lib/app/application.types.d.ts +3 -2
  2. package/common/lib/layout/sticky.directive.d.ts +1 -1
  3. package/common/lib/schema/widget/widget-renderer.d.ts +1 -0
  4. package/esm2022/common/lib/app/application.types.mjs +1 -1
  5. package/esm2022/common/lib/layout/sticky.directive.mjs +2 -2
  6. package/esm2022/common/lib/schema/widget/widget-renderer.mjs +20 -16
  7. package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +3 -3
  8. package/esm2022/layout/builder/lib/builder/builder.service.mjs +15 -12
  9. package/esm2022/layout/builder/lib/builder/index.mjs +7 -6
  10. package/esm2022/layout/builder/lib/builder/widget-catalog.mjs +34 -0
  11. package/esm2022/layout/builder/lib/builder/widget-groups.mjs +27 -0
  12. package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +3 -3
  13. package/esm2022/layout/builder/lib/builder/widget.types.mjs +6 -5
  14. package/esm2022/layout/designer/index.mjs +3 -3
  15. package/esm2022/layout/designer/lib/board/board.component.mjs +5 -40
  16. package/esm2022/layout/designer/lib/command.mjs +185 -0
  17. package/esm2022/layout/designer/lib/designer/designer.component.mjs +55 -5
  18. package/esm2022/layout/designer/lib/designer.service.mjs +139 -96
  19. package/esm2022/layout/designer/lib/header-menu/header-menu.component.mjs +1 -1
  20. package/esm2022/layout/designer/lib/{buttons → helpers}/add-widget-button/add-widget-button.component.mjs +7 -7
  21. package/esm2022/layout/designer/lib/helpers/grid-drawer/grid-drawer.component.mjs +82 -0
  22. package/esm2022/layout/designer/lib/history/history.component.mjs +11 -4
  23. package/esm2022/layout/designer/lib/outline/outline.component.mjs +16 -15
  24. package/esm2022/layout/designer/lib/pages/pages.component.mjs +28 -0
  25. package/esm2022/layout/designer/lib/preview/preview.component.mjs +20 -0
  26. package/esm2022/layout/designer/lib/property-viewer/widget-property-viewer.component.mjs +5 -2
  27. package/esm2022/layout/designer/lib/widget-designer-renderer.component.mjs +16 -8
  28. package/esm2022/layout/designer/lib/widget-picker/widget-picker.component.mjs +80 -6
  29. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +6 -4
  30. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +17 -7
  31. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +1 -1
  32. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +10 -5
  33. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +1 -2
  34. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +2 -2
  35. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +1 -1
  36. package/esm2022/widgets/lib/properties/editors.props.mjs +81 -45
  37. package/esm2022/widgets/lib/properties/layout.props.mjs +165 -0
  38. package/esm2022/widgets/lib/properties/table-column.props.mjs +3 -2
  39. package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +52 -0
  40. package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +27 -0
  41. package/esm2022/widgets/lib/widgets/actions/button/index.mjs +3 -0
  42. package/esm2022/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-column.component.mjs +1 -1
  43. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-edit.component.mjs +122 -0
  44. package/esm2022/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-filter.component.mjs +1 -1
  45. package/esm2022/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-print.component.mjs +1 -1
  46. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-view.component.mjs +215 -0
  47. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.config.mjs +51 -0
  48. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.service.mjs +3 -0
  49. package/esm2022/widgets/lib/widgets/advance/file/index.mjs +8 -0
  50. package/esm2022/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-column.component.mjs +1 -1
  51. package/esm2022/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-edit.component.mjs +1 -1
  52. package/esm2022/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-filter.component.mjs +1 -1
  53. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-print.component.mjs +19 -0
  54. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-types.mjs +2 -0
  55. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-view.component.mjs +160 -0
  56. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget.config.mjs +29 -0
  57. package/esm2022/widgets/lib/widgets/advance/gallery/index.mjs +7 -0
  58. package/esm2022/widgets/lib/widgets/advance/map/index.mjs +7 -0
  59. package/esm2022/widgets/lib/widgets/{editors/link-widget/link-widget-print.component.mjs → advance/map/map-box-widget-column.component.mjs} +5 -5
  60. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +171 -0
  61. package/esm2022/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-filter.component.mjs +1 -1
  62. package/esm2022/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-print.component.mjs +1 -1
  63. package/esm2022/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-view.component.mjs +3 -3
  64. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget.config.mjs +31 -0
  65. package/esm2022/widgets/lib/widgets/advance/qrcode/index.mjs +3 -0
  66. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.mjs +51 -0
  67. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.mjs +62 -0
  68. package/esm2022/widgets/lib/widgets/advance/signature/index.mjs +7 -0
  69. 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
  70. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-edit.component.mjs +142 -0
  71. package/esm2022/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-filter.component.mjs +1 -1
  72. package/esm2022/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-print.component.mjs +1 -1
  73. package/esm2022/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-view.component.mjs +1 -1
  74. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget.config.mjs +31 -0
  75. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.mjs +9 -12
  76. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-column.component.mjs +1 -1
  77. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-edit.component.mjs +1 -1
  78. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-filter.component.mjs +1 -1
  79. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-print.component.mjs +1 -1
  80. package/esm2022/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-view.component.mjs +1 -1
  81. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget.config.mjs +31 -0
  82. package/esm2022/widgets/lib/widgets/editors/color/index.mjs +7 -0
  83. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-column.component.mjs +36 -0
  84. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +297 -0
  85. package/esm2022/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-filter.component.mjs +1 -1
  86. package/esm2022/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-print.component.mjs +1 -1
  87. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-view.component.mjs +122 -0
  88. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget.config.mjs +81 -0
  89. package/esm2022/widgets/lib/widgets/editors/contact/contact.type.mjs +2 -0
  90. package/esm2022/widgets/lib/widgets/editors/contact/index.mjs +7 -0
  91. package/esm2022/widgets/lib/widgets/editors/{contact-widget → contact}/popup-component.mjs +1 -1
  92. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.mjs +44 -0
  93. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +133 -0
  94. package/esm2022/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-filter.component.mjs +1 -1
  95. package/esm2022/widgets/lib/widgets/editors/{date-time-box-widget → date-time}/date-time-box-widget-print.component.mjs +1 -1
  96. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.mjs +54 -0
  97. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.mjs +40 -0
  98. package/esm2022/widgets/lib/widgets/editors/date-time/index.mjs +7 -0
  99. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-column.component.mjs +66 -0
  100. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-edit.component.mjs +249 -0
  101. package/esm2022/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-filter.component.mjs +1 -1
  102. package/esm2022/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-print.component.mjs +1 -1
  103. package/esm2022/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget-view.component.mjs +1 -1
  104. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget.config.mjs +39 -0
  105. package/esm2022/widgets/lib/widgets/editors/email/index.mjs +7 -0
  106. package/esm2022/widgets/lib/widgets/editors/large-text/index.mjs +7 -0
  107. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-column.component.mjs +1 -1
  108. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-edit.component.mjs +1 -1
  109. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-filter.component.mjs +1 -1
  110. 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
  111. package/esm2022/widgets/lib/widgets/editors/{large-text-widget → large-text}/large-text-widget-view.component.mjs +1 -1
  112. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget.config.mjs +39 -0
  113. package/esm2022/widgets/lib/widgets/editors/link/index.mjs +7 -0
  114. package/esm2022/widgets/lib/widgets/editors/{link-widget → link}/link-widget-column.component.mjs +1 -1
  115. package/esm2022/widgets/lib/widgets/editors/link/link-widget-edit.component.mjs +391 -0
  116. package/esm2022/widgets/lib/widgets/editors/link/link-widget-filter.component.mjs +20 -0
  117. package/esm2022/widgets/lib/widgets/editors/link/link-widget-print.component.mjs +19 -0
  118. package/esm2022/widgets/lib/widgets/editors/{link-widget → link}/link-widget-view.component.mjs +1 -1
  119. package/esm2022/widgets/lib/widgets/editors/link/link-widget.config.mjs +29 -0
  120. package/esm2022/widgets/lib/widgets/editors/number/index.mjs +7 -0
  121. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-column.component.mjs +38 -0
  122. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +157 -0
  123. package/esm2022/widgets/lib/widgets/{layout/repeater-widget/repeater-widget-edit.component.mjs → editors/number/number-box-widget-filter.component.mjs} +5 -5
  124. package/esm2022/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-print.component.mjs +1 -1
  125. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-view.component.mjs +56 -0
  126. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget.config.mjs +39 -0
  127. package/esm2022/widgets/lib/widgets/editors/password/index.mjs +7 -0
  128. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget/phone-box-widget-print.component.mjs → password/password-box-widget-column.component.mjs} +5 -5
  129. package/esm2022/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-edit.component.mjs +1 -1
  130. package/esm2022/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-filter.component.mjs +1 -1
  131. package/esm2022/widgets/lib/widgets/editors/{password-box-widget → password}/password-box-widget-print.component.mjs +1 -1
  132. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-view.component.mjs +76 -0
  133. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget.config.mjs +38 -0
  134. package/esm2022/widgets/lib/widgets/editors/phone/index.mjs +7 -0
  135. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-column.component.mjs +66 -0
  136. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-edit.component.mjs +1 -1
  137. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-filter.component.mjs +1 -1
  138. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-print.component.mjs +19 -0
  139. package/esm2022/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget-view.component.mjs +1 -1
  140. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget.config.mjs +32 -0
  141. package/esm2022/widgets/lib/widgets/editors/rich-text/index.mjs +7 -0
  142. package/esm2022/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-popup.component.mjs +1 -1
  143. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-column.component.mjs +46 -0
  144. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.mjs +67 -0
  145. package/esm2022/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-filter.component.mjs +1 -1
  146. package/esm2022/widgets/lib/widgets/editors/{rich-text-widget → rich-text}/rich-text-widget-print.component.mjs +1 -1
  147. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-view.component.mjs +45 -0
  148. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.mjs +39 -0
  149. package/esm2022/widgets/lib/widgets/editors/select/index.mjs +7 -0
  150. package/esm2022/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-column.component.mjs +1 -1
  151. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-edit.component.mjs +85 -0
  152. package/esm2022/widgets/lib/widgets/editors/{gallery-widget/gallery-widget-print.component.mjs → select/select-box-widget-filter.component.mjs} +5 -5
  153. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-print.component.mjs +19 -0
  154. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-view.component.mjs +60 -0
  155. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget.config.mjs +38 -0
  156. package/esm2022/widgets/lib/widgets/editors/selection-list/index.mjs +7 -0
  157. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.mjs +41 -0
  158. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.mjs +72 -0
  159. package/esm2022/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-filter.component.mjs +1 -1
  160. package/esm2022/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-print.component.mjs +1 -1
  161. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-view.component.mjs +44 -0
  162. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.mjs +29 -0
  163. package/esm2022/widgets/lib/widgets/editors/text/index.mjs +7 -0
  164. package/esm2022/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-column.component.mjs +1 -1
  165. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-edit.component.mjs +121 -0
  166. package/esm2022/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-filter.component.mjs +1 -1
  167. package/esm2022/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-print.component.mjs +1 -1
  168. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-view.component.mjs +47 -0
  169. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget.config.mjs +41 -0
  170. package/esm2022/widgets/lib/widgets/editors/toggle/index.mjs +7 -0
  171. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-column.component.mjs +1 -1
  172. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-edit.component.mjs +1 -1
  173. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-filter.component.mjs +1 -1
  174. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-print.component.mjs +1 -1
  175. package/esm2022/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-view.component.mjs +1 -1
  176. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget.config.mjs +40 -0
  177. package/esm2022/widgets/lib/widgets/index.mjs +23 -22
  178. package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +65 -0
  179. package/esm2022/widgets/lib/widgets/layout/{block-widget → block}/block-widget-view.component.mjs +1 -1
  180. package/esm2022/widgets/lib/widgets/layout/block/block-widget.config.mjs +26 -0
  181. package/esm2022/widgets/lib/widgets/layout/block/index.mjs +4 -0
  182. package/esm2022/widgets/lib/widgets/layout/document/document-widget.config.mjs +13 -0
  183. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.mjs +56 -0
  184. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.mjs +41 -0
  185. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget.config.mjs +25 -0
  186. package/esm2022/widgets/lib/widgets/layout/form-field/index.mjs +4 -0
  187. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +95 -0
  188. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-print.component.mjs +19 -0
  189. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-view.component.mjs +18 -0
  190. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget.config.mjs +26 -0
  191. package/esm2022/widgets/lib/widgets/layout/grid/index.mjs +5 -0
  192. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.mjs +97 -0
  193. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-print.component.mjs +19 -0
  194. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.mjs +18 -0
  195. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget.config.mjs +34 -0
  196. package/esm2022/widgets/lib/widgets/layout/grid-item/index.mjs +5 -0
  197. package/esm2022/widgets/lib/widgets/layout/page/index.mjs +3 -0
  198. package/esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.mjs +65 -0
  199. package/esm2022/widgets/lib/widgets/layout/{page-widget → page}/page-widget-view.component.mjs +1 -1
  200. package/esm2022/widgets/lib/widgets/layout/page/page-widget.config.mjs +27 -0
  201. package/esm2022/widgets/lib/widgets/layout/repeater/index.mjs +6 -0
  202. package/esm2022/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-designer.component.mjs +1 -1
  203. package/esm2022/widgets/lib/widgets/{editors/link-widget/link-widget-filter.component.mjs → layout/repeater/repeater-widget-edit.component.mjs} +5 -5
  204. package/esm2022/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-print.component.mjs +1 -1
  205. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-view.component.mjs +52 -0
  206. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget.config.mjs +24 -0
  207. package/esm2022/widgets/lib/widgets/layout/text-block/index.mjs +3 -0
  208. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-view.component.mjs +29 -0
  209. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget.config.mjs +42 -0
  210. package/esm2022/widgets/lib/widgets.module.mjs +20 -3
  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-layout-builder.mjs +164 -129
  216. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  217. package/fesm2022/acorex-platform-layout-designer-preview.component-xkvSLydm.mjs +23 -0
  218. package/fesm2022/acorex-platform-layout-designer-preview.component-xkvSLydm.mjs.map +1 -0
  219. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DXgcm-fP.mjs +100 -0
  220. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DXgcm-fP.mjs.map +1 -0
  221. package/fesm2022/acorex-platform-layout-designer.mjs +501 -278
  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-C9L8cyBm.mjs → acorex-platform-layouts-entity-modify-view.component-Bt4MLEou.mjs} +10 -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-DlfG4EP1.mjs.map +1 -1
  236. package/fesm2022/acorex-platform-widgets-rich-text-popup.component-RCdFIz45.mjs.map +1 -1
  237. package/fesm2022/acorex-platform-widgets.mjs +4186 -3318
  238. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  239. package/layout/builder/lib/builder/builder.service.d.ts +1 -1
  240. package/layout/builder/lib/builder/index.d.ts +6 -5
  241. package/layout/builder/lib/builder/widget-catalog.d.ts +3 -0
  242. package/layout/builder/lib/builder/widget-groups.d.ts +6 -0
  243. package/layout/builder/lib/builder/widget-registery.service.d.ts +1 -1
  244. package/layout/builder/lib/builder/widget.types.d.ts +49 -9
  245. package/layout/designer/index.d.ts +2 -2
  246. package/layout/designer/lib/board/board.component.d.ts +0 -1
  247. package/layout/designer/lib/command.d.ts +70 -0
  248. package/layout/designer/lib/designer/designer.component.d.ts +3 -0
  249. package/layout/designer/lib/designer.service.d.ts +21 -10
  250. package/layout/designer/lib/helpers/grid-drawer/grid-drawer.component.d.ts +19 -0
  251. package/layout/designer/lib/outline/outline.component.d.ts +1 -0
  252. package/layout/designer/lib/pages/pages.component.d.ts +7 -0
  253. package/layout/designer/lib/preview/preview.component.d.ts +8 -0
  254. package/layout/designer/lib/property-viewer/widget-property-viewer.component.d.ts +1 -0
  255. package/layout/designer/lib/widget-designer-renderer.component.d.ts +1 -0
  256. package/layout/designer/lib/widget-picker/widget-picker.component.d.ts +22 -4
  257. package/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.d.ts +5 -0
  258. package/package.json +14 -13
  259. package/widgets/lib/properties/editors.props.d.ts +4 -1
  260. package/widgets/lib/properties/layout.props.d.ts +9 -0
  261. package/widgets/lib/widgets/actions/button/button-widget.config.d.ts +7 -0
  262. package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget.config.d.ts +5 -0
  263. package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget.config.d.ts +5 -0
  264. package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +37 -0
  265. package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget.config.d.ts +5 -0
  266. package/widgets/lib/widgets/advance/qrcode/index.d.ts +2 -0
  267. package/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.d.ts +12 -0
  268. package/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.d.ts +7 -0
  269. package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget.config.d.ts +5 -0
  270. package/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.d.ts +5 -0
  271. package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget.config.d.ts +5 -0
  272. package/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-edit.component.d.ts +1 -1
  273. package/widgets/lib/widgets/editors/{contact-widget → contact}/contact-widget-view.component.d.ts +1 -1
  274. package/widgets/lib/widgets/editors/contact/contact-widget.config.d.ts +7 -0
  275. package/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.d.ts +7 -0
  276. package/widgets/lib/widgets/editors/{email-box-widget → email}/email-box-widget.config.d.ts +5 -0
  277. package/widgets/lib/widgets/editors/large-text/large-text-widget.config.d.ts +7 -0
  278. package/widgets/lib/widgets/editors/link/link-widget.config.d.ts +7 -0
  279. package/widgets/lib/widgets/editors/{number-box-widget → number}/number-box-widget-edit.component.d.ts +2 -0
  280. package/widgets/lib/widgets/editors/number/number-box-widget.config.d.ts +7 -0
  281. package/widgets/lib/widgets/editors/password/password-box-widget.config.d.ts +7 -0
  282. package/widgets/lib/widgets/editors/{phone-box-widget → phone}/phone-box-widget.config.d.ts +5 -0
  283. package/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.d.ts +7 -0
  284. package/widgets/lib/widgets/editors/select/select-box-widget.config.d.ts +7 -0
  285. package/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.d.ts +7 -0
  286. package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget.config.d.ts +5 -0
  287. package/widgets/lib/widgets/editors/toggle/toggle-widget.config.d.ts +7 -0
  288. package/widgets/lib/widgets/index.d.ts +21 -21
  289. package/widgets/lib/widgets/layout/block/block-widget.config.d.ts +7 -0
  290. package/widgets/lib/widgets/layout/document/document-widget.config.d.ts +7 -0
  291. package/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.d.ts +7 -0
  292. package/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.d.ts +7 -0
  293. package/widgets/lib/widgets/layout/form-field/form-field-widget.config.d.ts +7 -0
  294. package/widgets/lib/widgets/layout/form-field/index.d.ts +3 -0
  295. package/widgets/lib/widgets/layout/grid/grid-widget-designer.component.d.ts +16 -0
  296. package/widgets/lib/widgets/layout/grid/grid-widget-print.component.d.ts +6 -0
  297. package/widgets/lib/widgets/layout/grid/grid-widget-view.component.d.ts +6 -0
  298. package/widgets/lib/widgets/layout/grid/grid-widget.config.d.ts +7 -0
  299. package/widgets/lib/widgets/layout/grid/index.d.ts +4 -0
  300. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.d.ts +15 -0
  301. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-print.component.d.ts +6 -0
  302. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.d.ts +6 -0
  303. package/widgets/lib/widgets/layout/grid-item/grid-item-widget.config.d.ts +7 -0
  304. package/widgets/lib/widgets/layout/grid-item/index.d.ts +4 -0
  305. package/widgets/lib/widgets/layout/page/page-widget.config.d.ts +7 -0
  306. package/widgets/lib/widgets/layout/repeater/repeater-widget.config.d.ts +7 -0
  307. package/widgets/lib/widgets/layout/text-block/text-block-widget.config.d.ts +7 -0
  308. package/esm2022/layout/builder/lib/builder/layout.types.mjs +0 -30
  309. package/esm2022/layout/designer/lib/designer.module.mjs +0 -16
  310. package/esm2022/layout/designer/lib/history-manager.service.mjs +0 -117
  311. package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget-view.component.mjs +0 -52
  312. package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget.config.mjs +0 -25
  313. package/esm2022/widgets/lib/widgets/actions/button-widget/index.mjs +0 -3
  314. package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget.config.mjs +0 -34
  315. package/esm2022/widgets/lib/widgets/editors/color-box-widget/index.mjs +0 -7
  316. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-column.component.mjs +0 -36
  317. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-edit.component.mjs +0 -297
  318. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-view.component.mjs +0 -122
  319. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget.config.mjs +0 -78
  320. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact.type.mjs +0 -2
  321. package/esm2022/widgets/lib/widgets/editors/contact-widget/index.mjs +0 -7
  322. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +0 -44
  323. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +0 -133
  324. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +0 -54
  325. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget.config.mjs +0 -38
  326. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/index.mjs +0 -7
  327. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-column.component.mjs +0 -66
  328. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-edit.component.mjs +0 -249
  329. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget.config.mjs +0 -36
  330. package/esm2022/widgets/lib/widgets/editors/email-box-widget/index.mjs +0 -7
  331. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-edit.component.mjs +0 -122
  332. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-view.component.mjs +0 -215
  333. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.config.mjs +0 -48
  334. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.service.mjs +0 -3
  335. package/esm2022/widgets/lib/widgets/editors/file-box-widget/index.mjs +0 -8
  336. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-types.mjs +0 -2
  337. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-view.component.mjs +0 -160
  338. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget.config.mjs +0 -26
  339. package/esm2022/widgets/lib/widgets/editors/gallery-widget/index.mjs +0 -7
  340. package/esm2022/widgets/lib/widgets/editors/large-text-widget/index.mjs +0 -7
  341. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-print.component.mjs +0 -19
  342. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget.config.mjs +0 -37
  343. package/esm2022/widgets/lib/widgets/editors/link-widget/index.mjs +0 -7
  344. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-edit.component.mjs +0 -391
  345. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget.config.mjs +0 -26
  346. package/esm2022/widgets/lib/widgets/editors/map-box-widget/index.mjs +0 -7
  347. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-edit.component.mjs +0 -96
  348. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget.config.mjs +0 -28
  349. package/esm2022/widgets/lib/widgets/editors/number-box-widget/index.mjs +0 -7
  350. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-column.component.mjs +0 -38
  351. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-edit.component.mjs +0 -151
  352. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-filter.component.mjs +0 -20
  353. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-view.component.mjs +0 -56
  354. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget.config.mjs +0 -37
  355. package/esm2022/widgets/lib/widgets/editors/password-box-widget/index.mjs +0 -7
  356. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-column.component.mjs +0 -19
  357. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-view.component.mjs +0 -76
  358. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget.config.mjs +0 -35
  359. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/index.mjs +0 -7
  360. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-column.component.mjs +0 -66
  361. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget.config.mjs +0 -29
  362. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/index.mjs +0 -7
  363. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-column.component.mjs +0 -46
  364. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-edit.component.mjs +0 -67
  365. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-view.component.mjs +0 -45
  366. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget.config.mjs +0 -37
  367. package/esm2022/widgets/lib/widgets/editors/select-box-widget/index.mjs +0 -7
  368. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-edit.component.mjs +0 -85
  369. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-filter.component.mjs +0 -19
  370. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-view.component.mjs +0 -60
  371. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget.config.mjs +0 -35
  372. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/index.mjs +0 -7
  373. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-column.component.mjs +0 -41
  374. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-edit.component.mjs +0 -72
  375. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-view.component.mjs +0 -44
  376. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget.config.mjs +0 -26
  377. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/index.mjs +0 -7
  378. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +0 -19
  379. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +0 -142
  380. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget.config.mjs +0 -34
  381. package/esm2022/widgets/lib/widgets/editors/text-box-widget/index.mjs +0 -7
  382. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-edit.component.mjs +0 -119
  383. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-view.component.mjs +0 -47
  384. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget.config.mjs +0 -39
  385. package/esm2022/widgets/lib/widgets/editors/toggle-widget/index.mjs +0 -7
  386. package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget.config.mjs +0 -37
  387. package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget-designer.component.mjs +0 -65
  388. package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget.config.mjs +0 -27
  389. package/esm2022/widgets/lib/widgets/layout/block-widget/index.mjs +0 -4
  390. package/esm2022/widgets/lib/widgets/layout/page-widget/index.mjs +0 -3
  391. package/esm2022/widgets/lib/widgets/layout/page-widget/page-widget-designer.component.mjs +0 -65
  392. package/esm2022/widgets/lib/widgets/layout/page-widget/page-widget.config.mjs +0 -28
  393. package/esm2022/widgets/lib/widgets/layout/repeater-widget/index.mjs +0 -6
  394. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.mjs +0 -52
  395. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.mjs +0 -21
  396. package/esm2022/widgets/lib/widgets/layout/text-block-widget/index.mjs +0 -3
  397. package/esm2022/widgets/lib/widgets/layout/text-block-widget/text-block-widget-view.component.mjs +0 -29
  398. package/esm2022/widgets/lib/widgets/layout/text-block-widget/text-block-widget.config.mjs +0 -39
  399. package/fesm2022/acorex-platform-common-text-widget-column.component-D-mLfzKJ.mjs.map +0 -1
  400. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs +0 -26
  401. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs.map +0 -1
  402. package/fesm2022/acorex-platform-layouts-entity-create-view.component-B2XtNJo1.mjs.map +0 -1
  403. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-C9L8cyBm.mjs.map +0 -1
  404. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cv0mt0pU.mjs.map +0 -1
  405. package/layout/builder/lib/builder/layout.types.d.ts +0 -1
  406. package/layout/designer/lib/designer.module.d.ts +0 -6
  407. package/layout/designer/lib/history-manager.service.d.ts +0 -31
  408. package/widgets/lib/widgets/actions/button-widget/button-widget.config.d.ts +0 -2
  409. package/widgets/lib/widgets/editors/contact-widget/contact-widget.config.d.ts +0 -2
  410. package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget.config.d.ts +0 -2
  411. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget.config.d.ts +0 -2
  412. package/widgets/lib/widgets/editors/link-widget/link-widget.config.d.ts +0 -2
  413. package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-edit.component.d.ts +0 -15
  414. package/widgets/lib/widgets/editors/number-box-widget/number-box-widget.config.d.ts +0 -2
  415. package/widgets/lib/widgets/editors/password-box-widget/password-box-widget.config.d.ts +0 -2
  416. package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget.config.d.ts +0 -2
  417. package/widgets/lib/widgets/editors/select-box-widget/select-box-widget.config.d.ts +0 -2
  418. package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget.config.d.ts +0 -2
  419. package/widgets/lib/widgets/editors/toggle-widget/toggle-widget.config.d.ts +0 -2
  420. package/widgets/lib/widgets/layout/block-widget/block-widget.config.d.ts +0 -2
  421. package/widgets/lib/widgets/layout/page-widget/page-widget.config.d.ts +0 -2
  422. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.d.ts +0 -2
  423. package/widgets/lib/widgets/layout/text-block-widget/text-block-widget.config.d.ts +0 -2
  424. /package/layout/designer/lib/{buttons → helpers}/add-widget-button/add-widget-button.component.d.ts +0 -0
  425. /package/widgets/lib/widgets/actions/{button-widget → button}/button-widget-view.component.d.ts +0 -0
  426. /package/widgets/lib/widgets/actions/{button-widget → button}/index.d.ts +0 -0
  427. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-column.component.d.ts +0 -0
  428. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-edit.component.d.ts +0 -0
  429. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-filter.component.d.ts +0 -0
  430. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-print.component.d.ts +0 -0
  431. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget-view.component.d.ts +0 -0
  432. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/file-box-widget.service.d.ts +0 -0
  433. /package/widgets/lib/widgets/{editors/file-box-widget → advance/file}/index.d.ts +0 -0
  434. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-column.component.d.ts +0 -0
  435. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-edit.component.d.ts +0 -0
  436. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-filter.component.d.ts +0 -0
  437. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-print.component.d.ts +0 -0
  438. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-types.d.ts +0 -0
  439. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/gallery-widget-view.component.d.ts +0 -0
  440. /package/widgets/lib/widgets/{editors/gallery-widget → advance/gallery}/index.d.ts +0 -0
  441. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/index.d.ts +0 -0
  442. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-column.component.d.ts +0 -0
  443. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-filter.component.d.ts +0 -0
  444. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-print.component.d.ts +0 -0
  445. /package/widgets/lib/widgets/{editors/map-box-widget → advance/map}/map-box-widget-view.component.d.ts +0 -0
  446. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/index.d.ts +0 -0
  447. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-column.component.d.ts +0 -0
  448. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-edit.component.d.ts +0 -0
  449. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-filter.component.d.ts +0 -0
  450. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-print.component.d.ts +0 -0
  451. /package/widgets/lib/widgets/{editors/signature-pad-widget → advance/signature}/signature-pad-widget-view.component.d.ts +0 -0
  452. /package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-column.component.d.ts +0 -0
  453. /package/widgets/lib/widgets/editors/{color-box-widget → color}/color-box-widget-edit.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-edit.component.d.ts +0 -0
  515. /package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-filter.component.d.ts +0 -0
  516. /package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-print.component.d.ts +0 -0
  517. /package/widgets/lib/widgets/editors/{select-box-widget → select}/select-box-widget-view.component.d.ts +0 -0
  518. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/index.d.ts +0 -0
  519. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-column.component.d.ts +0 -0
  520. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-edit.component.d.ts +0 -0
  521. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-filter.component.d.ts +0 -0
  522. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-print.component.d.ts +0 -0
  523. /package/widgets/lib/widgets/editors/{selection-list-widget → selection-list}/selection-list-widget-view.component.d.ts +0 -0
  524. /package/widgets/lib/widgets/editors/{text-box-widget → text}/index.d.ts +0 -0
  525. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-column.component.d.ts +0 -0
  526. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-edit.component.d.ts +0 -0
  527. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-filter.component.d.ts +0 -0
  528. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-print.component.d.ts +0 -0
  529. /package/widgets/lib/widgets/editors/{text-box-widget → text}/text-box-widget-view.component.d.ts +0 -0
  530. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/index.d.ts +0 -0
  531. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-column.component.d.ts +0 -0
  532. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-edit.component.d.ts +0 -0
  533. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-filter.component.d.ts +0 -0
  534. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-print.component.d.ts +0 -0
  535. /package/widgets/lib/widgets/editors/{toggle-widget → toggle}/toggle-widget-view.component.d.ts +0 -0
  536. /package/widgets/lib/widgets/layout/{block-widget → block}/block-widget-designer.component.d.ts +0 -0
  537. /package/widgets/lib/widgets/layout/{block-widget → block}/block-widget-view.component.d.ts +0 -0
  538. /package/widgets/lib/widgets/layout/{block-widget → block}/index.d.ts +0 -0
  539. /package/widgets/lib/widgets/layout/{page-widget → page}/index.d.ts +0 -0
  540. /package/widgets/lib/widgets/layout/{page-widget → page}/page-widget-designer.component.d.ts +0 -0
  541. /package/widgets/lib/widgets/layout/{page-widget → page}/page-widget-view.component.d.ts +0 -0
  542. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/index.d.ts +0 -0
  543. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-designer.component.d.ts +0 -0
  544. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-edit.component.d.ts +0 -0
  545. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-print.component.d.ts +0 -0
  546. /package/widgets/lib/widgets/layout/{repeater-widget → repeater}/repeater-widget-view.component.d.ts +0 -0
  547. /package/widgets/lib/widgets/layout/{text-block-widget → text-block}/index.d.ts +0 -0
  548. /package/widgets/lib/widgets/layout/{text-block-widget → text-block}/text-block-widget-view.component.d.ts +0 -0
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPQrcodeWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ qrcode: 'qrcode';
6
+ }
7
+ }
@@ -1,2 +1,7 @@
1
1
  import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
2
  export declare const AXPSignatureWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ signature: 'signature';
6
+ }
7
+ }
@@ -1,2 +1,7 @@
1
1
  import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
2
  export declare const AXPCheckBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ checkbox: 'checkbox-editor';
6
+ }
7
+ }
@@ -1,2 +1,7 @@
1
1
  import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
2
  export declare const AXPColorBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ color: 'color-editor';
6
+ }
7
+ }
@@ -6,7 +6,7 @@ import { Signal } from '@angular/core';
6
6
  import { AXPContactDataType } from './contact.type';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class AXPContactWidgetEditComponent extends AXPWidgetComponent<any> {
9
- protected type: Signal<"link" | "phone" | "email">;
9
+ protected type: Signal<"email" | "link" | "phone">;
10
10
  protected labelList: Signal<string[]>;
11
11
  protected hasLabel: Signal<boolean>;
12
12
  protected multiple: Signal<boolean>;
@@ -4,7 +4,7 @@ import { Signal } from '@angular/core';
4
4
  import { AXPContactDataType } from './contact.type';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class AXPContactWidgetViewComponent extends AXPWidgetComponent<any> {
7
- protected type: Signal<"link" | "phone" | "email">;
7
+ protected type: Signal<"email" | "link" | "phone">;
8
8
  protected labelList: Signal<string[]>;
9
9
  protected hasLabel: Signal<boolean>;
10
10
  protected multiple: Signal<boolean>;
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPContactWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ contact: 'contact-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPDateTimeBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ dateTime: 'date-time-editor';
6
+ }
7
+ }
@@ -1,2 +1,7 @@
1
1
  import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
2
  export declare const AXPEmailBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ email: 'email-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPLargeTextWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ largeText: 'large-text-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPLinkWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ link: 'link-editor';
6
+ }
7
+ }
@@ -9,6 +9,8 @@ export declare class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent<
9
9
  protected multiple: Signal<boolean>;
10
10
  protected clearButton: Signal<boolean>;
11
11
  protected decimals: Signal<number>;
12
+ protected minValue: Signal<number>;
13
+ protected maxValue: Signal<number>;
12
14
  protected placeholder: Signal<string>;
13
15
  protected validationService: AXValidationService;
14
16
  protected validationRules: AXPValidationRules;
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPNumberBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ number: 'number-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPPasswordBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ password: 'password-editor';
6
+ }
7
+ }
@@ -1,2 +1,7 @@
1
1
  import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
2
  export declare const AXPPhoneBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ phone: 'phone-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPRichTextWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ richText: 'rich-text-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPSelectBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ select: 'select-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPSelectionListWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ selectionList: 'selection-list-editor';
6
+ }
7
+ }
@@ -1,2 +1,7 @@
1
1
  import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
2
  export declare const AXPTextBoxWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ text: 'text-editor';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPToggleWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ toggle: 'toggle-editor';
6
+ }
7
+ }
@@ -1,22 +1,22 @@
1
- export * from './actions/button-widget';
1
+ export * from './actions/button';
2
2
  export * from './editors/checkbox';
3
- export * from './editors/contact-widget';
4
- export * from './editors/date-time-box-widget';
5
- export * from './editors/email-box-widget';
6
- export * from './editors/file-box-widget';
7
- export * from './editors/gallery-widget';
8
- export * from './editors/large-text-widget';
9
- export * from './editors/link-widget';
10
- export * from './editors/map-box-widget';
11
- export * from './editors/number-box-widget';
12
- export * from './editors/password-box-widget';
13
- export * from './editors/phone-box-widget';
14
- export * from './editors/rich-text-widget';
15
- export * from './editors/select-box-widget';
16
- export * from './editors/selection-list-widget';
17
- export * from './editors/signature-pad-widget';
18
- export * from './editors/text-box-widget';
19
- export * from './editors/toggle-widget';
20
- export * from './layout/page-widget';
21
- export * from './layout/block-widget';
22
- export * from './layout/repeater-widget';
3
+ export * from './editors/contact';
4
+ export * from './editors/date-time';
5
+ export * from './editors/email';
6
+ export * from './editors/large-text';
7
+ export * from './editors/link';
8
+ export * from './editors/number';
9
+ export * from './editors/password';
10
+ export * from './editors/phone';
11
+ export * from './editors/rich-text';
12
+ export * from './editors/select';
13
+ export * from './editors/selection-list';
14
+ export * from './editors/text';
15
+ export * from './editors/toggle';
16
+ export * from './advance/file';
17
+ export * from './advance/gallery';
18
+ export * from './advance/map';
19
+ export * from './advance/signature';
20
+ export * from './layout/block';
21
+ export * from './layout/page';
22
+ export * from './layout/repeater';
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPBlockWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ blockLayout: 'block-layout';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPDocumentWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ document: 'document-layout';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPContainerWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent<void> {
4
+ protected label: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPFormFieldWidgetDesignerComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPFormFieldWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPFormFieldWidgetViewComponent extends AXPWidgetComponent<any> {
4
+ protected label: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPFormFieldWidgetViewComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPFormFieldWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPFormFieldWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ formField: 'form-field';
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ export * from './form-field-widget-view.component';
2
+ export * from './form-field-widget-designer.component';
3
+ export * from './form-field-widget.config';
@@ -0,0 +1,16 @@
1
+ import { AXPContainerWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent<void> {
4
+ private designerService;
5
+ protected cols: import("@angular/core").Signal<number>;
6
+ protected rows: import("@angular/core").Signal<number>;
7
+ protected gap: import("@angular/core").Signal<number>;
8
+ protected cells: import("@angular/core").Signal<number[]>;
9
+ protected settled: import("@angular/core").Signal<boolean>;
10
+ protected handleDrawerSelect(e: {
11
+ rows: number;
12
+ cols: number;
13
+ }): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridWidgetDesignerComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGridWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGridWidgetPrintComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridWidgetPrintComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGridWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGridWidgetViewComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridWidgetViewComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGridWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPGridWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ grid: 'grid-layout';
6
+ }
7
+ }
@@ -0,0 +1,4 @@
1
+ export * from './grid-widget-view.component';
2
+ export * from './grid-widget-print.component';
3
+ export * from './grid-widget-designer.component';
4
+ export * from './grid-widget.config';
@@ -0,0 +1,15 @@
1
+ import { AXPContainerWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent<void> {
4
+ private designerService;
5
+ protected colSpan: import("@angular/core").Signal<number>;
6
+ protected colStart: import("@angular/core").Signal<number>;
7
+ protected colEnd: import("@angular/core").Signal<number>;
8
+ protected flexAlign: import("@angular/core").Signal<string>;
9
+ protected flexJustify: import("@angular/core").Signal<string>;
10
+ protected handleSlotClick(): Promise<void>;
11
+ private get __class();
12
+ outerClass: import("@angular/core").Signal<any>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridItemWidgetDesignerComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGridItemWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGridItemWidgetPrintComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridItemWidgetPrintComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGridItemWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPGridItemWidgetViewComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridItemWidgetViewComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPGridItemWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPGridItemWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ gridItem: 'grid-item-layout';
6
+ }
7
+ }
@@ -0,0 +1,4 @@
1
+ export * from './grid-item-widget-view.component';
2
+ export * from './grid-item-widget-print.component';
3
+ export * from './grid-item-widget-designer.component';
4
+ export * from './grid-item-widget.config';
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPPageWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ pageLayout: 'page-layout';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPRepeaterWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ repeaterLayout: 'repeater-layout';
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXPTextBlockWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ textBlockLayout: 'text-block-layout';
6
+ }
7
+ }
@@ -1,30 +0,0 @@
1
- export {};
2
- // export interface AXPLayoutPage {
3
- // id: string,
4
- // title: string,
5
- // forms: AXPLayoutForm[]
6
- // }
7
- // export interface AXPLayoutForm {
8
- // id: string,
9
- // title: string,
10
- // }
11
- // export interface AXPLayoutFormRootGroup {
12
- // id: string,
13
- // title: string,
14
- // layout?: AXPGridLayoutOptions
15
- // }
16
- // export interface AXPLayoutFormGroup {
17
- // id: string,
18
- // title: string,
19
- // groups: AXPLayoutFormGroup
20
- // fields: AXPLayoutFormField[]
21
- // }
22
- // export interface AXPLayoutFormField {
23
- // name: string;
24
- // title: string;
25
- // description?: string;
26
- // order?: number,
27
- // editable: boolean,
28
- // widget: AXPWidgetNode,
29
- // }
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvYnVpbGRlci9zcmMvbGliL2J1aWxkZXIvbGF5b3V0LnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFHQSxtQ0FBbUM7QUFDbkMsa0JBQWtCO0FBQ2xCLHFCQUFxQjtBQUNyQiw2QkFBNkI7QUFDN0IsSUFBSTtBQUVKLG1DQUFtQztBQUNuQyxrQkFBa0I7QUFDbEIscUJBQXFCO0FB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OiBzdHJpbmcsXG4vLyAgICAgZ3JvdXBzOiBBWFBMYXlvdXRGb3JtR3JvdXBcbi8vICAgICBmaWVsZHM6IEFYUExheW91dEZvcm1GaWVsZFtdXG4vLyB9XG5cbi8vIGV4cG9ydCBpbnRlcmZhY2UgQVhQTGF5b3V0Rm9ybUZpZWxkIHtcbi8vICAgICBuYW1lOiBzdHJpbmc7XG4vLyAgICAgdGl0bGU6IHN0cmluZztcbi8vICAgICBkZXNjcmlwdGlvbj86IHN0cmluZztcbi8vICAgICBvcmRlcj86IG51bWJlcixcbi8vICAgICBlZGl0YWJsZTogYm9vbGVhbixcbi8vICAgICB3aWRnZXQ6IEFYUFdpZGdldE5vZGUsXG4vLyB9Il19
@@ -1,16 +0,0 @@
1
- import { NgModule } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export class AXPDesignerModule {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerModule }); }
6
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerModule }); }
7
- }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDesignerModule, decorators: [{
9
- type: NgModule,
10
- args: [{
11
- imports: [],
12
- exports: [],
13
- declarations: [],
14
- }]
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzaWduZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZGVzaWduZXIvc3JjL2xpYi9kZXNpZ25lci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFPekMsTUFBTSxPQUFPLGlCQUFpQjs4R0FBakIsaUJBQWlCOytHQUFqQixpQkFBaUI7K0dBQWpCLGlCQUFpQjs7MkZBQWpCLGlCQUFpQjtrQkFMN0IsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsRUFBRTtvQkFDWCxPQUFPLEVBQUUsRUFBRTtvQkFDWCxZQUFZLEVBQUUsRUFBRTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gXCJAYW5ndWxhci9jb3JlXCI7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW10sXG4gICAgZXhwb3J0czogW10sXG4gICAgZGVjbGFyYXRpb25zOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhQRGVzaWduZXJNb2R1bGUge1xufVxuIl19
@@ -1,117 +0,0 @@
1
- import { Injectable, signal, computed } from '@angular/core';
2
- import { cloneDeep } from 'lodash-es';
3
- import * as i0 from "@angular/core";
4
- export class AXPObjectHistoryManager {
5
- constructor() {
6
- this.undoStack = signal([]); // Undo history as a signal
7
- this.redoStack = signal([]); // Redo history as a signal
8
- this._currentState = signal(null); // Current state as a signal
9
- this.maxHistorySize = 50;
10
- this.revertedIndex = null; // Track the index when reverting
11
- this.currentState = this._currentState.asReadonly();
12
- this.canUndo = computed(() => this.undoStack().length > 0);
13
- this.canRedo = computed(() => this.redoStack().length > 0);
14
- // Get the undo history for UI with disabled future states
15
- this.history = computed(() => {
16
- const undoHistory = this.undoStack();
17
- return undoHistory.map((state, index) => ({
18
- ...state,
19
- index,
20
- disabled: this.revertedIndex !== null && index > this.revertedIndex
21
- }));
22
- });
23
- }
24
- // Save a new state and clear redo if necessary
25
- saveState(newState, description) {
26
- const newHistoryState = {
27
- state: cloneDeep(newState),
28
- date: new Date(),
29
- description: description,
30
- };
31
- // Limit undo history size
32
- if (this.undoStack().length >= this.maxHistorySize) {
33
- this.undoStack.set(this.undoStack().slice(1)); // Remove oldest state
34
- }
35
- // Add the current state to the undo stack
36
- //if (this._currentState()) {
37
- this.undoStack.set([...this.undoStack(), this._currentState()]);
38
- //}
39
- // Set the new state as the current state
40
- this._currentState.set(newHistoryState);
41
- // Clear the redo stack if a new state is saved after undoing
42
- if (this.revertedIndex !== null) {
43
- this.redoStack.set([]);
44
- this.revertedIndex = null; // Reset reverted index
45
- }
46
- }
47
- // Update the current state's last entry in the undo stack
48
- updateState(newState) {
49
- const lastStateIndex = this.undoStack().length - 1;
50
- // Check if there is a valid state to update
51
- if (lastStateIndex >= 0) {
52
- const lastState = this.undoStack()[lastStateIndex];
53
- // Update the state in the last history entry
54
- const updatedState = {
55
- ...lastState,
56
- state: cloneDeep(newState),
57
- date: new Date() // Update the date to reflect the change
58
- };
59
- // Update the undo stack with the modified state
60
- const updatedUndoStack = [...this.undoStack()];
61
- updatedUndoStack[lastStateIndex] = updatedState;
62
- this.undoStack.set(updatedUndoStack);
63
- // Also update the currentState to reflect the latest change
64
- this._currentState.set(updatedState);
65
- }
66
- }
67
- // Undo the last action and update the current state
68
- undo() {
69
- if (this.undoStack().length > 0) {
70
- const previousState = this.undoStack().pop(); // Get the last state
71
- this.redoStack.set([...this.redoStack(), this._currentState()]); // Save current state to redo stack
72
- this._currentState.set(previousState); // Revert to the previous state
73
- this.revertedIndex = this.undoStack().length - 1; // Update reverted index
74
- }
75
- }
76
- // Redo the last undone action and update the current state
77
- redo() {
78
- if (this.redoStack().length > 0) {
79
- const nextState = this.redoStack().pop(); // Get the next state
80
- this.undoStack.set([...this.undoStack(), this._currentState()]); // Save current state to undo stack
81
- this._currentState.set(nextState); // Apply the redo state
82
- this.revertedIndex = this.undoStack().length - 1; // Update reverted index
83
- }
84
- }
85
- // Revert to a specific state by index in the undo stack
86
- revert(index) {
87
- if (index < 0 || index >= this.undoStack().length) {
88
- return; // Invalid index, do nothing
89
- }
90
- const targetState = this.undoStack()[index];
91
- const currentStateSnapshot = this._currentState(); // Save the current state for redo
92
- // Move states after the reverted index to the redo stack
93
- const statesToRedo = this.undoStack().slice(index + 1);
94
- this.redoStack.set([currentStateSnapshot, ...statesToRedo]);
95
- // Update the undo stack to the reverted point
96
- this.undoStack.set(this.undoStack().slice(0, index + 1));
97
- // Set the reverted state as the current state
98
- this._currentState.set(targetState);
99
- this.revertedIndex = index; // Track the reverted index
100
- }
101
- // Clear all history
102
- clear() {
103
- this.undoStack.set([]);
104
- this.redoStack.set([]);
105
- this.revertedIndex = null;
106
- this._currentState.set(null);
107
- }
108
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPObjectHistoryManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
109
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPObjectHistoryManager, providedIn: 'root' }); }
110
- }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPObjectHistoryManager, decorators: [{
112
- type: Injectable,
113
- args: [{
114
- providedIn: 'root',
115
- }]
116
- }] });
117
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlzdG9yeS1tYW5hZ2VyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2xheW91dC9kZXNpZ25lci9zcmMvbGliL2hpc3RvcnktbWFuYWdlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQ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