@acorex/platform 18.0.9 → 18.0.10

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 (828) hide show
  1. package/auth/lib/application/application.types.d.ts +3 -3
  2. package/auth/lib/auth.strategy.d.ts +5 -0
  3. package/auth/lib/errors.types.d.ts +4 -4
  4. package/auth/lib/session.service.d.ts +4 -3
  5. package/common/lib/app/application.types.d.ts +6 -12
  6. package/common/lib/schema/entity/entity.class.d.ts +2 -1
  7. package/common/lib/schema/schema.types.d.ts +2 -1
  8. package/common/lib/schema/widget/widget-base.d.ts +1 -1
  9. package/common/lib/schema/widget/widget-token.d.ts +1 -1
  10. package/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.d.ts +1 -1
  11. package/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.d.ts +2 -2
  12. package/common/lib/schema/widgets/text/text-widget-column.component.d.ts +1 -1
  13. package/common/lib/schema/widgets/text/text-widget-view.component.d.ts +1 -1
  14. package/core/README.md +4 -0
  15. package/core/index.d.ts +1 -0
  16. package/core/lib/types.d.ts +12 -0
  17. package/esm2022/auth/lib/application/application.types.mjs +1 -1
  18. package/esm2022/auth/lib/auth-registry.service.mjs +3 -3
  19. package/esm2022/auth/lib/auth.module.mjs +4 -4
  20. package/esm2022/auth/lib/auth.strategy.mjs +1 -1
  21. package/esm2022/auth/lib/feature/feature.directive.mjs +3 -3
  22. package/esm2022/auth/lib/permission/permission.directive.mjs +3 -3
  23. package/esm2022/auth/lib/session.service.mjs +58 -16
  24. package/esm2022/common/lib/app/application.types.mjs +1 -1
  25. package/esm2022/common/lib/common.module.mjs +4 -4
  26. package/esm2022/common/lib/errors/error-handler-registry.service.mjs +3 -3
  27. package/esm2022/common/lib/errors/global-error-handler.mjs +5 -5
  28. package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +3 -3
  29. package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +3 -3
  30. package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +3 -3
  31. package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +4 -4
  32. package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +3 -3
  33. package/esm2022/common/lib/layout/layout.service.mjs +3 -3
  34. package/esm2022/common/lib/layout/logo/logo.component.mjs +3 -3
  35. package/esm2022/common/lib/layout/sticky.directive.mjs +3 -3
  36. package/esm2022/common/lib/layout/theme/components/slots/footer-text-slot.component.mjs +3 -3
  37. package/esm2022/common/lib/layout/theme/components/slots/navbar-slot.component.mjs +3 -3
  38. package/esm2022/common/lib/layout/theme/components/slots/theme-slot.component.mjs +5 -5
  39. package/esm2022/common/lib/layout/theme/store/admin-layout.effects.mjs +3 -3
  40. package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +3 -3
  41. package/esm2022/common/lib/schema/entity/entity.class.mjs +1 -1
  42. package/esm2022/common/lib/schema/schema-registery.service.mjs +3 -3
  43. package/esm2022/common/lib/schema/schema.module.mjs +4 -4
  44. package/esm2022/common/lib/schema/schema.types.mjs +1 -1
  45. package/esm2022/common/lib/schema/widget/widget-base.mjs +10 -10
  46. package/esm2022/common/lib/schema/widget/widget-column-renderer.mjs +3 -3
  47. package/esm2022/common/lib/schema/widget/widget-filter-renderer.mjs +3 -3
  48. package/esm2022/common/lib/schema/widget/widget-renderer.mjs +3 -3
  49. package/esm2022/common/lib/schema/widget/widget-token.mjs +1 -1
  50. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-edit.component.mjs +3 -3
  51. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-view.component.mjs +3 -3
  52. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.mjs +3 -3
  53. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +3 -3
  54. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.mjs +3 -3
  55. package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +5 -5
  56. package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +4 -4
  57. package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +5 -5
  58. package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +4 -4
  59. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.mjs +3 -3
  60. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.mjs +5 -5
  61. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +3 -3
  62. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.mjs +4 -4
  63. package/esm2022/common/lib/schema/widgets/email/email-widget-column.component.mjs +3 -3
  64. package/esm2022/common/lib/schema/widgets/email/email-widget-edit.component.mjs +5 -5
  65. package/esm2022/common/lib/schema/widgets/email/email-widget-view.component.mjs +3 -3
  66. package/esm2022/common/lib/schema/widgets/file/file-widget-column.component.mjs +3 -3
  67. package/esm2022/common/lib/schema/widgets/file/file-widget-edit.component.mjs +5 -5
  68. package/esm2022/common/lib/schema/widgets/file/file-widget-filter.component.mjs +3 -3
  69. package/esm2022/common/lib/schema/widgets/file/file-widget-view.component.mjs +5 -5
  70. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-edit.component.mjs +4 -4
  71. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-filter.component.mjs +3 -3
  72. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-view.component.mjs +3 -3
  73. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-column.component.mjs +3 -3
  74. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +3 -3
  75. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +5 -5
  76. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +3 -3
  77. package/esm2022/common/lib/schema/widgets/map/map-widget-edit.component.mjs +3 -3
  78. package/esm2022/common/lib/schema/widgets/map/map-widget-view.component.mjs +3 -3
  79. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-column.component.mjs +3 -3
  80. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-edit.component.mjs +5 -5
  81. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-view.component.mjs +3 -3
  82. package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +3 -3
  83. package/esm2022/common/lib/schema/widgets/number/number-widget-view.component.mjs +3 -3
  84. package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +5 -5
  85. package/esm2022/common/lib/schema/widgets/password/password-widget-column.component.mjs +3 -3
  86. package/esm2022/common/lib/schema/widgets/password/password-widget-edit.component.mjs +3 -3
  87. package/esm2022/common/lib/schema/widgets/password/password-widget-view.component.mjs +4 -4
  88. package/esm2022/common/lib/schema/widgets/phone/phone-widget-column.component.mjs +3 -3
  89. package/esm2022/common/lib/schema/widgets/phone/phone-widget-edit.component.mjs +5 -5
  90. package/esm2022/common/lib/schema/widgets/phone/phone-widget-view.component.mjs +3 -3
  91. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.mjs +3 -3
  92. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +3 -3
  93. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.mjs +3 -3
  94. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.mjs +3 -3
  95. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +3 -3
  96. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +3 -3
  97. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.mjs +3 -3
  98. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.mjs +5 -5
  99. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.mjs +3 -3
  100. package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +3 -3
  101. package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +3 -3
  102. package/esm2022/common/lib/schema/widgets/text/text-widget-edit.component.mjs +4 -4
  103. package/esm2022/common/lib/schema/widgets/text/text-widget-view.component.mjs +3 -3
  104. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-column.component.mjs +3 -3
  105. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-edit.component.mjs +3 -3
  106. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-view.component.mjs +3 -3
  107. package/esm2022/common/lib/settings/settings.service.mjs +3 -3
  108. package/esm2022/common/lib/store/common.effects.mjs +3 -3
  109. package/esm2022/common/lib/utils/clipboard-service.mjs +3 -3
  110. package/esm2022/common/lib/utils/pdf.service.mjs +3 -3
  111. package/esm2022/common/lib/utils/router-util.service.mjs +3 -3
  112. package/esm2022/common/lib/workflows/common.workflow.mjs +9 -9
  113. package/esm2022/common/lib/workflows/error-handler.mjs +3 -3
  114. package/esm2022/core/acorex-platform-core.mjs +5 -0
  115. package/esm2022/core/index.mjs +2 -0
  116. package/esm2022/core/lib/types.mjs +2 -0
  117. package/esm2022/layout/builder/lib/builder/builder.module.mjs +4 -4
  118. package/esm2022/layout/builder/lib/builder/builder.service.mjs +18 -4
  119. package/esm2022/layout/builder/lib/builder/layout.types.mjs +29 -1
  120. package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +12 -5
  121. package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +3 -3
  122. package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +3 -3
  123. package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +28 -10
  124. package/esm2022/layout/builder/lib/builder/widget.types.mjs +77 -19
  125. package/esm2022/layout/designer/acorex-platform-layout-designer.mjs +5 -0
  126. package/esm2022/layout/designer/index.mjs +3 -0
  127. package/esm2022/layout/designer/lib/components/widget-property-viewer.component.mjs +86 -0
  128. package/esm2022/layout/designer/lib/designer.module.mjs +36 -0
  129. package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +3 -3
  130. package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +4 -5
  131. package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +5 -7
  132. package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +3 -3
  133. package/esm2022/layout/entity/lib/entity-registery.service.mjs +3 -3
  134. package/esm2022/layout/entity/lib/entity.module.mjs +4 -4
  135. package/esm2022/layout/entity/lib/entity.viewmodel.mjs +2 -3
  136. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +3 -3
  137. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.mjs +3 -3
  138. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +6 -6
  139. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.mjs +3 -3
  140. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.mjs +3 -3
  141. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +5 -5
  142. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +57 -8
  143. package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +4 -5
  144. package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +3 -3
  145. package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +6 -6
  146. package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +3 -3
  147. package/esm2022/layout/entity/lib/workflows/show-list.workflow.mjs +3 -3
  148. package/esm2022/layouts/lib/admin/admin.module.mjs +4 -4
  149. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +4 -4
  150. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +3 -3
  151. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +3 -3
  152. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +4 -4
  153. package/esm2022/layouts/lib/admin/entity-layout/entity-import-view/entity-import-view.component.mjs +4 -4
  154. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +4 -4
  155. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +3 -3
  156. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +3 -3
  157. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +3 -3
  158. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +3 -3
  159. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +3 -3
  160. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +3 -3
  161. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +4 -4
  162. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +4 -4
  163. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +3 -3
  164. package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +3 -3
  165. package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +3 -3
  166. package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +6 -6
  167. package/esm2022/layouts/lib/admin/entity-layout/workflows/import-entity.workflow.mjs +3 -3
  168. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +3 -3
  169. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.mjs +3 -3
  170. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +3 -3
  171. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +3 -3
  172. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +3 -3
  173. package/esm2022/layouts/lib/layout.module.mjs +4 -4
  174. package/esm2022/mocks/lib/mocks.module.mjs +4 -4
  175. package/esm2022/mocks/lib/services/mocker.service.mjs +3 -3
  176. package/esm2022/mocks/lib/storage/storage.mock.service.mjs +4 -4
  177. package/esm2022/native/lib/native.module.mjs +4 -4
  178. package/esm2022/native/lib/native.service.mjs +3 -3
  179. package/esm2022/themes/default/lib/default.module.mjs +4 -4
  180. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +3 -3
  181. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +5 -5
  182. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +5 -5
  183. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.mjs +4 -4
  184. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.mjs +4 -4
  185. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.mjs +5 -5
  186. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +5 -5
  187. package/esm2022/themes/default/lib/layouts/root-layout/components/footer/footer.component.mjs +3 -3
  188. package/esm2022/themes/default/lib/layouts/root-layout/components/header/header.component.mjs +3 -3
  189. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +3 -3
  190. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.module.mjs +4 -4
  191. package/esm2022/themes/default/lib/pages/errors/error-401/error-401.component.mjs +4 -4
  192. package/esm2022/themes/default/lib/pages/errors/error-404/error-404.component.mjs +3 -3
  193. package/esm2022/themes/default/lib/pages/errors/error-offline/error-offline.component.mjs +3 -3
  194. package/esm2022/widgets/index.mjs +3 -1
  195. package/esm2022/widgets/lib/properties/editors.props.mjs +65 -0
  196. package/esm2022/widgets/lib/properties/groups.mjs +21 -0
  197. package/esm2022/widgets/lib/properties/index.mjs +4 -0
  198. package/esm2022/widgets/lib/properties/table-column.props.mjs +16 -0
  199. package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget-view.component.mjs +33 -0
  200. package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget.config.mjs +9 -0
  201. package/esm2022/widgets/lib/widgets/actions/button-widget/index.mjs +3 -0
  202. package/esm2022/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget-column.component.mjs +4 -4
  203. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.mjs +45 -0
  204. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.mjs +54 -0
  205. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.mjs +15 -0
  206. package/esm2022/widgets/lib/widgets/editors/checkbox/index.mjs +3 -0
  207. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-column.component.mjs +19 -0
  208. package/esm2022/widgets/lib/{editors/password-box-widget/password-box-widget-column.component.mjs → widgets/editors/contact-widget/contact-widget-designer.component.mjs} +5 -5
  209. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-edit.component.mjs +267 -0
  210. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-filter.component.mjs +20 -0
  211. package/esm2022/widgets/lib/{editors/select-box-widget/select-box-widget-filter.component.mjs → widgets/editors/contact-widget/contact-widget-print.component.mjs} +5 -5
  212. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-view.component.mjs +20 -0
  213. package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget.config.mjs +24 -0
  214. package/esm2022/widgets/lib/widgets/editors/contact-widget/index.mjs +8 -0
  215. package/esm2022/widgets/lib/widgets/editors/contact-widget/popup-component.mjs +78 -0
  216. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +44 -0
  217. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +19 -0
  218. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +122 -0
  219. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +20 -0
  220. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +19 -0
  221. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +45 -0
  222. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget.config.mjs +24 -0
  223. package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/index.mjs +8 -0
  224. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-column.component.mjs +66 -0
  225. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-designer.component.mjs +19 -0
  226. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-edit.component.mjs +228 -0
  227. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-filter.component.mjs +20 -0
  228. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-print.component.mjs +19 -0
  229. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-view.component.mjs +111 -0
  230. package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget.config.mjs +24 -0
  231. package/esm2022/widgets/lib/widgets/editors/email-box-widget/index.mjs +8 -0
  232. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-column.component.mjs +19 -0
  233. package/esm2022/widgets/lib/{editors/signature-pad-widget/signature-pad-widget-column.component.mjs → widgets/editors/file-box-widget/file-box-widget-designer.component.mjs} +5 -5
  234. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-edit.component.mjs +118 -0
  235. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-filter.component.mjs +20 -0
  236. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-print.component.mjs +19 -0
  237. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-view.component.mjs +213 -0
  238. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.config.mjs +24 -0
  239. package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.service.mjs +3 -0
  240. package/esm2022/widgets/lib/widgets/editors/file-box-widget/index.mjs +9 -0
  241. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-column.component.mjs +19 -0
  242. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-designer.component.mjs +19 -0
  243. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-edit.component.mjs +172 -0
  244. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-filter.component.mjs +20 -0
  245. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-print.component.mjs +19 -0
  246. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-types.mjs +2 -0
  247. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-view.component.mjs +159 -0
  248. package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget.config.mjs +24 -0
  249. package/esm2022/widgets/lib/widgets/editors/gallery-widget/index.mjs +8 -0
  250. package/esm2022/widgets/lib/widgets/editors/large-text-widget/index.mjs +8 -0
  251. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-column.component.mjs +23 -0
  252. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-designer.component.mjs +19 -0
  253. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-edit.component.mjs +55 -0
  254. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-filter.component.mjs +20 -0
  255. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-print.component.mjs +19 -0
  256. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-view.component.mjs +31 -0
  257. package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget.config.mjs +33 -0
  258. package/esm2022/widgets/lib/widgets/editors/link-widget/index.mjs +8 -0
  259. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-column.component.mjs +19 -0
  260. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-designer.component.mjs +19 -0
  261. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-edit.component.mjs +390 -0
  262. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-filter.component.mjs +20 -0
  263. package/esm2022/widgets/lib/{editors/map-box-widget/map-box-widget-column.component.mjs → widgets/editors/link-widget/link-widget-print.component.mjs} +5 -5
  264. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-view.component.mjs +120 -0
  265. package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget.config.mjs +24 -0
  266. package/esm2022/widgets/lib/widgets/editors/map-box-widget/index.mjs +8 -0
  267. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-column.component.mjs +19 -0
  268. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-designer.component.mjs +19 -0
  269. package/esm2022/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-edit.component.mjs +4 -4
  270. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-filter.component.mjs +20 -0
  271. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-print.component.mjs +19 -0
  272. package/esm2022/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-view.component.mjs +4 -4
  273. package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget.config.mjs +24 -0
  274. package/esm2022/widgets/lib/widgets/editors/number-box-widget/index.mjs +8 -0
  275. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-column.component.mjs +38 -0
  276. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-designer.component.mjs +19 -0
  277. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-edit.component.mjs +138 -0
  278. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-filter.component.mjs +20 -0
  279. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-print.component.mjs +19 -0
  280. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-view.component.mjs +53 -0
  281. package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget.config.mjs +31 -0
  282. package/esm2022/widgets/lib/widgets/editors/password-box-widget/index.mjs +8 -0
  283. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-column.component.mjs +19 -0
  284. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-designer.component.mjs +19 -0
  285. package/esm2022/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-edit.component.mjs +4 -4
  286. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-filter.component.mjs +20 -0
  287. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-print.component.mjs +19 -0
  288. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-view.component.mjs +73 -0
  289. package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget.config.mjs +24 -0
  290. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/index.mjs +8 -0
  291. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-column.component.mjs +66 -0
  292. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-designer.component.mjs +19 -0
  293. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-edit.component.mjs +220 -0
  294. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-filter.component.mjs +20 -0
  295. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-print.component.mjs +19 -0
  296. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-view.component.mjs +113 -0
  297. package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget.config.mjs +37 -0
  298. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/index.mjs +8 -0
  299. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-column.component.mjs +23 -0
  300. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-designer.component.mjs +19 -0
  301. package/esm2022/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-edit.component.mjs +4 -4
  302. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-filter.component.mjs +20 -0
  303. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-print.component.mjs +19 -0
  304. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-view.component.mjs +39 -0
  305. package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget.config.mjs +24 -0
  306. package/esm2022/widgets/lib/widgets/editors/select-box-widget/index.mjs +8 -0
  307. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-column.component.mjs +19 -0
  308. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-designer.component.mjs +19 -0
  309. package/esm2022/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-edit.component.mjs +4 -4
  310. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-filter.component.mjs +19 -0
  311. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-print.component.mjs +19 -0
  312. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-view.component.mjs +60 -0
  313. package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget.config.mjs +24 -0
  314. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/index.mjs +8 -0
  315. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-column.component.mjs +41 -0
  316. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-designer.component.mjs +19 -0
  317. package/esm2022/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-edit.component.mjs +4 -4
  318. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-filter.component.mjs +20 -0
  319. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-print.component.mjs +19 -0
  320. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-view.component.mjs +41 -0
  321. package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget.config.mjs +24 -0
  322. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/index.mjs +8 -0
  323. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +19 -0
  324. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +19 -0
  325. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +140 -0
  326. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +20 -0
  327. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +19 -0
  328. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +42 -0
  329. package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget.config.mjs +24 -0
  330. package/esm2022/widgets/lib/widgets/editors/text-box-widget/index.mjs +8 -0
  331. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-column.component.mjs +20 -0
  332. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-designer.component.mjs +19 -0
  333. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-edit.component.mjs +121 -0
  334. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-filter.component.mjs +20 -0
  335. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-print.component.mjs +19 -0
  336. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-view.component.mjs +40 -0
  337. package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget.config.mjs +37 -0
  338. package/esm2022/widgets/lib/widgets/editors/toggle-widget/index.mjs +8 -0
  339. package/esm2022/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-column.component.mjs +4 -4
  340. package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-designer.component.mjs +19 -0
  341. package/esm2022/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-edit.component.mjs +4 -5
  342. package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-filter.component.mjs +20 -0
  343. package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-print.component.mjs +19 -0
  344. package/esm2022/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-view.component.mjs +4 -4
  345. package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget.config.mjs +24 -0
  346. package/esm2022/widgets/lib/widgets/index.mjs +24 -0
  347. package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget.component.mjs +34 -0
  348. package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget.config.mjs +9 -0
  349. package/esm2022/widgets/lib/widgets/layout/block-widget/index.mjs +3 -0
  350. package/esm2022/widgets/lib/widgets/layout/repeater-widget/index.mjs +8 -0
  351. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-column.component.mjs +19 -0
  352. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-designer.component.mjs +19 -0
  353. package/esm2022/widgets/lib/{editors/large-text-widget/large-text-widget-filter.component.mjs → widgets/layout/repeater-widget/repeater-widget-edit.component.mjs} +5 -5
  354. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-filter.component.mjs +20 -0
  355. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-print.component.mjs +19 -0
  356. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.mjs +52 -0
  357. package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.mjs +24 -0
  358. package/esm2022/widgets/lib/widgets.module.mjs +10 -24
  359. package/esm2022/workflow/lib/actions/start-workflow.action.mjs +3 -3
  360. package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +3 -3
  361. package/esm2022/workflow/lib/workflow-registery.service.mjs +3 -3
  362. package/esm2022/workflow/lib/workflow.module.mjs +4 -4
  363. package/esm2022/workflow/lib/workflow.service.mjs +3 -3
  364. package/esm2022/workflow/lib/workflow.types.mjs +6 -6
  365. package/fesm2022/acorex-platform-auth.mjs +70 -28
  366. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  367. package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-BtnVjoMi.mjs → acorex-platform-common-avatar-widget-edit.component-CfqY7kKi.mjs} +4 -4
  368. package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-BtnVjoMi.mjs.map → acorex-platform-common-avatar-widget-edit.component-CfqY7kKi.mjs.map} +1 -1
  369. package/fesm2022/{acorex-platform-common-avatar-widget-view.component-0-hGLYLK.mjs → acorex-platform-common-avatar-widget-view.component-DXC7INdQ.mjs} +4 -4
  370. package/fesm2022/{acorex-platform-common-avatar-widget-view.component-0-hGLYLK.mjs.map → acorex-platform-common-avatar-widget-view.component-DXC7INdQ.mjs.map} +1 -1
  371. package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-CMkjO_x1.mjs → acorex-platform-common-boolean-widget-filter.component-DLGnsXy4.mjs} +5 -5
  372. package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-CMkjO_x1.mjs.map → acorex-platform-common-boolean-widget-filter.component-DLGnsXy4.mjs.map} +1 -1
  373. package/fesm2022/{acorex-platform-common-change-password.component-CULJjn0l.mjs → acorex-platform-common-change-password.component-BBPFxmB6.mjs} +5 -5
  374. package/fesm2022/{acorex-platform-common-change-password.component-CULJjn0l.mjs.map → acorex-platform-common-change-password.component-BBPFxmB6.mjs.map} +1 -1
  375. package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-C91gG8nm.mjs → acorex-platform-common-checkbox-widget-column.component-Ch2bdAjo.mjs} +4 -4
  376. package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-C91gG8nm.mjs.map → acorex-platform-common-checkbox-widget-column.component-Ch2bdAjo.mjs.map} +1 -1
  377. package/fesm2022/{acorex-platform-common-checkbox-widget-edit.component-_jtT03Vn.mjs → acorex-platform-common-checkbox-widget-edit.component-DOGMfGby.mjs} +4 -4
  378. package/fesm2022/{acorex-platform-common-checkbox-widget-edit.component-_jtT03Vn.mjs.map → acorex-platform-common-checkbox-widget-edit.component-DOGMfGby.mjs.map} +1 -1
  379. package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-BDAtJB1B.mjs → acorex-platform-common-checkbox-widget-view.component-BhGOtblX.mjs} +4 -4
  380. package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-BDAtJB1B.mjs.map → acorex-platform-common-checkbox-widget-view.component-BhGOtblX.mjs.map} +1 -1
  381. package/fesm2022/{acorex-platform-common-dateTime-widget-column.component-5ljYmtHI.mjs → acorex-platform-common-dateTime-widget-column.component-BkUDt0Kj.mjs} +4 -4
  382. package/fesm2022/{acorex-platform-common-dateTime-widget-column.component-5ljYmtHI.mjs.map → acorex-platform-common-dateTime-widget-column.component-BkUDt0Kj.mjs.map} +1 -1
  383. package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-DdqtbOY1.mjs → acorex-platform-common-dateTime-widget-edit.component-DEqsapFH.mjs} +5 -5
  384. package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-DdqtbOY1.mjs.map → acorex-platform-common-dateTime-widget-edit.component-DEqsapFH.mjs.map} +1 -1
  385. package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-BjtIJkeC.mjs → acorex-platform-common-dateTime-widget-filter.component-CqddjYjP.mjs} +4 -4
  386. package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-BjtIJkeC.mjs.map → acorex-platform-common-dateTime-widget-filter.component-CqddjYjP.mjs.map} +1 -1
  387. package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-Dxmnor_-.mjs → acorex-platform-common-dateTime-widget-view.component-BKUPKE9M.mjs} +4 -4
  388. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-BKUPKE9M.mjs.map +1 -0
  389. package/fesm2022/{acorex-platform-common-email-widget-column.component-DlPoexcx.mjs → acorex-platform-common-email-widget-column.component-BOer2nZi.mjs} +4 -4
  390. package/fesm2022/{acorex-platform-common-email-widget-column.component-DlPoexcx.mjs.map → acorex-platform-common-email-widget-column.component-BOer2nZi.mjs.map} +1 -1
  391. package/fesm2022/{acorex-platform-common-email-widget-edit.component-CLl0gmdM.mjs → acorex-platform-common-email-widget-edit.component-BoKsGiEI.mjs} +5 -5
  392. package/fesm2022/{acorex-platform-common-email-widget-edit.component-CLl0gmdM.mjs.map → acorex-platform-common-email-widget-edit.component-BoKsGiEI.mjs.map} +1 -1
  393. package/fesm2022/{acorex-platform-common-email-widget-view.component-C4M7KGUS.mjs → acorex-platform-common-email-widget-view.component-BZtK5dMd.mjs} +4 -4
  394. package/fesm2022/{acorex-platform-common-email-widget-view.component-C4M7KGUS.mjs.map → acorex-platform-common-email-widget-view.component-BZtK5dMd.mjs.map} +1 -1
  395. package/fesm2022/{acorex-platform-common-file-widget-column.component-CwFzLLHt.mjs → acorex-platform-common-file-widget-column.component-DpcUmwAT.mjs} +4 -4
  396. package/fesm2022/{acorex-platform-common-file-widget-column.component-CwFzLLHt.mjs.map → acorex-platform-common-file-widget-column.component-DpcUmwAT.mjs.map} +1 -1
  397. package/fesm2022/{acorex-platform-common-file-widget-edit.component-ZXhaXwWN.mjs → acorex-platform-common-file-widget-edit.component-CNLXguLn.mjs} +5 -5
  398. package/fesm2022/{acorex-platform-common-file-widget-edit.component-ZXhaXwWN.mjs.map → acorex-platform-common-file-widget-edit.component-CNLXguLn.mjs.map} +1 -1
  399. package/fesm2022/{acorex-platform-common-file-widget-filter.component-DqYmxdx_.mjs → acorex-platform-common-file-widget-filter.component-Dwt-LYWG.mjs} +4 -4
  400. package/fesm2022/{acorex-platform-common-file-widget-filter.component-DqYmxdx_.mjs.map → acorex-platform-common-file-widget-filter.component-Dwt-LYWG.mjs.map} +1 -1
  401. package/fesm2022/{acorex-platform-common-file-widget-view.component-B0C9oJLT.mjs → acorex-platform-common-file-widget-view.component-CjDhjHQR.mjs} +5 -5
  402. package/fesm2022/{acorex-platform-common-file-widget-view.component-B0C9oJLT.mjs.map → acorex-platform-common-file-widget-view.component-CjDhjHQR.mjs.map} +1 -1
  403. package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-DB0-6pik.mjs → acorex-platform-common-gallery-widget-edit.component-CzKFKaPH.mjs} +5 -5
  404. package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-DB0-6pik.mjs.map → acorex-platform-common-gallery-widget-edit.component-CzKFKaPH.mjs.map} +1 -1
  405. package/fesm2022/{acorex-platform-common-gallery-widget-filter.component-Btrq4HP9.mjs → acorex-platform-common-gallery-widget-filter.component-B-KxKtY4.mjs} +4 -4
  406. package/fesm2022/{acorex-platform-common-gallery-widget-filter.component-Btrq4HP9.mjs.map → acorex-platform-common-gallery-widget-filter.component-B-KxKtY4.mjs.map} +1 -1
  407. package/fesm2022/{acorex-platform-common-gallery-widget-view.component-Bp5cEEiY.mjs → acorex-platform-common-gallery-widget-view.component-ca-JB8qW.mjs} +4 -4
  408. package/fesm2022/{acorex-platform-common-gallery-widget-view.component-Bp5cEEiY.mjs.map → acorex-platform-common-gallery-widget-view.component-ca-JB8qW.mjs.map} +1 -1
  409. package/fesm2022/{acorex-platform-common-largetext-widget-edit.component-DJhPlQ0G.mjs → acorex-platform-common-largetext-widget-edit.component-CrqPJ58V.mjs} +4 -4
  410. package/fesm2022/{acorex-platform-common-largetext-widget-edit.component-DJhPlQ0G.mjs.map → acorex-platform-common-largetext-widget-edit.component-CrqPJ58V.mjs.map} +1 -1
  411. package/fesm2022/{acorex-platform-common-lookup-widget-column.component-CtvP7V_w.mjs → acorex-platform-common-lookup-widget-column.component-BEZNLQZi.mjs} +4 -4
  412. package/fesm2022/{acorex-platform-common-lookup-widget-column.component-CtvP7V_w.mjs.map → acorex-platform-common-lookup-widget-column.component-BEZNLQZi.mjs.map} +1 -1
  413. package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-JjtWsg2g.mjs → acorex-platform-common-lookup-widget-edit.component-D50jPeKP.mjs} +4 -4
  414. package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-JjtWsg2g.mjs.map → acorex-platform-common-lookup-widget-edit.component-D50jPeKP.mjs.map} +1 -1
  415. package/fesm2022/{acorex-platform-common-lookup-widget-filter.component-B4C5JB_p.mjs → acorex-platform-common-lookup-widget-filter.component-CZHDDnR3.mjs} +5 -5
  416. package/fesm2022/{acorex-platform-common-lookup-widget-filter.component-B4C5JB_p.mjs.map → acorex-platform-common-lookup-widget-filter.component-CZHDDnR3.mjs.map} +1 -1
  417. package/fesm2022/{acorex-platform-common-lookup-widget-view.component-BHqYDEuU.mjs → acorex-platform-common-lookup-widget-view.component-CQCvJxgi.mjs} +4 -4
  418. package/fesm2022/{acorex-platform-common-lookup-widget-view.component-BHqYDEuU.mjs.map → acorex-platform-common-lookup-widget-view.component-CQCvJxgi.mjs.map} +1 -1
  419. package/fesm2022/{acorex-platform-common-map-widget-edit.component-BjrRrklq.mjs → acorex-platform-common-map-widget-edit.component-OanYRQ3B.mjs} +4 -4
  420. package/fesm2022/{acorex-platform-common-map-widget-edit.component-BjrRrklq.mjs.map → acorex-platform-common-map-widget-edit.component-OanYRQ3B.mjs.map} +1 -1
  421. package/fesm2022/{acorex-platform-common-map-widget-view.component-C5gL9-oB.mjs → acorex-platform-common-map-widget-view.component-BWdndMYJ.mjs} +4 -4
  422. package/fesm2022/{acorex-platform-common-map-widget-view.component-C5gL9-oB.mjs.map → acorex-platform-common-map-widget-view.component-BWdndMYJ.mjs.map} +1 -1
  423. package/fesm2022/{acorex-platform-common-messenger-widget-column.component-BQSYcyso.mjs → acorex-platform-common-messenger-widget-column.component-BHP6R3OI.mjs} +4 -4
  424. package/fesm2022/{acorex-platform-common-messenger-widget-column.component-BQSYcyso.mjs.map → acorex-platform-common-messenger-widget-column.component-BHP6R3OI.mjs.map} +1 -1
  425. package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-BjqtP0ls.mjs → acorex-platform-common-messenger-widget-edit.component-B7ycb6tX.mjs} +5 -5
  426. package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-BjqtP0ls.mjs.map → acorex-platform-common-messenger-widget-edit.component-B7ycb6tX.mjs.map} +1 -1
  427. package/fesm2022/{acorex-platform-common-messenger-widget-view.component-B4Yt68Vn.mjs → acorex-platform-common-messenger-widget-view.component-Dz5X-FS5.mjs} +4 -4
  428. package/fesm2022/{acorex-platform-common-messenger-widget-view.component-B4Yt68Vn.mjs.map → acorex-platform-common-messenger-widget-view.component-Dz5X-FS5.mjs.map} +1 -1
  429. package/fesm2022/{acorex-platform-common-number-widget-edit.component-D9dC514F.mjs → acorex-platform-common-number-widget-edit.component-bTHacO49.mjs} +4 -4
  430. package/fesm2022/{acorex-platform-common-number-widget-edit.component-D9dC514F.mjs.map → acorex-platform-common-number-widget-edit.component-bTHacO49.mjs.map} +1 -1
  431. package/fesm2022/{acorex-platform-common-number-widget-filter.component-BkKeBL6p.mjs → acorex-platform-common-number-widget-filter.component-CFqNphMw.mjs} +5 -5
  432. package/fesm2022/{acorex-platform-common-number-widget-filter.component-BkKeBL6p.mjs.map → acorex-platform-common-number-widget-filter.component-CFqNphMw.mjs.map} +1 -1
  433. package/fesm2022/{acorex-platform-common-number-widget-view.component-DD0tkoc4.mjs → acorex-platform-common-number-widget-view.component-CP5aboLU.mjs} +4 -4
  434. package/fesm2022/{acorex-platform-common-number-widget-view.component-DD0tkoc4.mjs.map → acorex-platform-common-number-widget-view.component-CP5aboLU.mjs.map} +1 -1
  435. package/fesm2022/{acorex-platform-common-password-widget-column.component-C0-x1_Np.mjs → acorex-platform-common-password-widget-column.component-CGxTbd_S.mjs} +4 -4
  436. package/fesm2022/{acorex-platform-common-password-widget-column.component-C0-x1_Np.mjs.map → acorex-platform-common-password-widget-column.component-CGxTbd_S.mjs.map} +1 -1
  437. package/fesm2022/{acorex-platform-common-password-widget-edit.component-BbYqIGEP.mjs → acorex-platform-common-password-widget-edit.component-CHQ_Kp4t.mjs} +4 -4
  438. package/fesm2022/{acorex-platform-common-password-widget-edit.component-BbYqIGEP.mjs.map → acorex-platform-common-password-widget-edit.component-CHQ_Kp4t.mjs.map} +1 -1
  439. package/fesm2022/{acorex-platform-common-password-widget-view.component-B6vGWi9I.mjs → acorex-platform-common-password-widget-view.component-BQ9jlt6g.mjs} +6 -6
  440. package/fesm2022/{acorex-platform-common-password-widget-view.component-B6vGWi9I.mjs.map → acorex-platform-common-password-widget-view.component-BQ9jlt6g.mjs.map} +1 -1
  441. package/fesm2022/{acorex-platform-common-phone-widget-column.component-uAeAPCog.mjs → acorex-platform-common-phone-widget-column.component-RJp6wHul.mjs} +4 -4
  442. package/fesm2022/{acorex-platform-common-phone-widget-column.component-uAeAPCog.mjs.map → acorex-platform-common-phone-widget-column.component-RJp6wHul.mjs.map} +1 -1
  443. package/fesm2022/{acorex-platform-common-phone-widget-edit.component-Dj_tdhZw.mjs → acorex-platform-common-phone-widget-edit.component-BB5wTbjd.mjs} +5 -5
  444. package/fesm2022/{acorex-platform-common-phone-widget-edit.component-Dj_tdhZw.mjs.map → acorex-platform-common-phone-widget-edit.component-BB5wTbjd.mjs.map} +1 -1
  445. package/fesm2022/{acorex-platform-common-phone-widget-view.component-D_A5NXzA.mjs → acorex-platform-common-phone-widget-view.component-SIzFWfjV.mjs} +4 -4
  446. package/fesm2022/{acorex-platform-common-phone-widget-view.component-D_A5NXzA.mjs.map → acorex-platform-common-phone-widget-view.component-SIzFWfjV.mjs.map} +1 -1
  447. package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-DDJn1WqG.mjs → acorex-platform-common-rich-text-widget-column.component-Ced0WqvI.mjs} +4 -4
  448. package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-DDJn1WqG.mjs.map → acorex-platform-common-rich-text-widget-column.component-Ced0WqvI.mjs.map} +1 -1
  449. package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-f30-VPMJ.mjs → acorex-platform-common-rich-text-widget-edit.component-CnH3MjYz.mjs} +4 -4
  450. package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-f30-VPMJ.mjs.map → acorex-platform-common-rich-text-widget-edit.component-CnH3MjYz.mjs.map} +1 -1
  451. package/fesm2022/{acorex-platform-common-rich-text-widget-view.component-Y214kMe4.mjs → acorex-platform-common-rich-text-widget-view.component-BIRyPRtw.mjs} +4 -4
  452. package/fesm2022/{acorex-platform-common-rich-text-widget-view.component-Y214kMe4.mjs.map → acorex-platform-common-rich-text-widget-view.component-BIRyPRtw.mjs.map} +1 -1
  453. package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-4uQzk7WQ.mjs → acorex-platform-common-selection-list-widget-column.component-DxeK2RPc.mjs} +4 -4
  454. package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-4uQzk7WQ.mjs.map → acorex-platform-common-selection-list-widget-column.component-DxeK2RPc.mjs.map} +1 -1
  455. package/fesm2022/{acorex-platform-common-selection-list-widget-edit.component-BY7A969M.mjs → acorex-platform-common-selection-list-widget-edit.component-CBLEeILz.mjs} +4 -4
  456. package/fesm2022/{acorex-platform-common-selection-list-widget-edit.component-BY7A969M.mjs.map → acorex-platform-common-selection-list-widget-edit.component-CBLEeILz.mjs.map} +1 -1
  457. package/fesm2022/{acorex-platform-common-selection-list-widget-filter.component-hbxBcirf.mjs → acorex-platform-common-selection-list-widget-filter.component-B01t7mso.mjs} +4 -4
  458. package/fesm2022/{acorex-platform-common-selection-list-widget-filter.component-hbxBcirf.mjs.map → acorex-platform-common-selection-list-widget-filter.component-B01t7mso.mjs.map} +1 -1
  459. package/fesm2022/{acorex-platform-common-selection-list-widget-view.component-HzxEiWgp.mjs → acorex-platform-common-selection-list-widget-view.component-QJMp11dd.mjs} +4 -4
  460. package/fesm2022/{acorex-platform-common-selection-list-widget-view.component-HzxEiWgp.mjs.map → acorex-platform-common-selection-list-widget-view.component-QJMp11dd.mjs.map} +1 -1
  461. package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-C6VI3F_S.mjs → acorex-platform-common-signature-pad-widget-edit.component-BQiY7RIp.mjs} +5 -5
  462. package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-C6VI3F_S.mjs.map → acorex-platform-common-signature-pad-widget-edit.component-BQiY7RIp.mjs.map} +1 -1
  463. package/fesm2022/{acorex-platform-common-signature-pad-widget-view.component-CEiBtv9t.mjs → acorex-platform-common-signature-pad-widget-view.component-CEhRqgEn.mjs} +4 -4
  464. package/fesm2022/{acorex-platform-common-signature-pad-widget-view.component-CEiBtv9t.mjs.map → acorex-platform-common-signature-pad-widget-view.component-CEhRqgEn.mjs.map} +1 -1
  465. package/fesm2022/{acorex-platform-common-string-widget-filter.component-BZiyRHfg.mjs → acorex-platform-common-string-widget-filter.component--L4PeRCB.mjs} +5 -5
  466. package/fesm2022/{acorex-platform-common-string-widget-filter.component-BZiyRHfg.mjs.map → acorex-platform-common-string-widget-filter.component--L4PeRCB.mjs.map} +1 -1
  467. package/fesm2022/{acorex-platform-common-text-widget-column.component-qXusAevm.mjs → acorex-platform-common-text-widget-column.component-D-mLfzKJ.mjs} +4 -4
  468. package/fesm2022/{acorex-platform-common-text-widget-column.component-qXusAevm.mjs.map → acorex-platform-common-text-widget-column.component-D-mLfzKJ.mjs.map} +1 -1
  469. package/fesm2022/{acorex-platform-common-text-widget-edit.component-DSwPteMX.mjs → acorex-platform-common-text-widget-edit.component-CN7OyTfJ.mjs} +5 -5
  470. package/fesm2022/{acorex-platform-common-text-widget-edit.component-DSwPteMX.mjs.map → acorex-platform-common-text-widget-edit.component-CN7OyTfJ.mjs.map} +1 -1
  471. package/fesm2022/{acorex-platform-common-text-widget-view.component-CKg9nvbY.mjs → acorex-platform-common-text-widget-view.component-B-R4-5Ra.mjs} +4 -4
  472. package/fesm2022/{acorex-platform-common-text-widget-view.component-CKg9nvbY.mjs.map → acorex-platform-common-text-widget-view.component-B-R4-5Ra.mjs.map} +1 -1
  473. package/fesm2022/{acorex-platform-common-toggle-widget-column.component-_IrciAj-.mjs → acorex-platform-common-toggle-widget-column.component-B5NFRPgX.mjs} +4 -4
  474. package/fesm2022/{acorex-platform-common-toggle-widget-column.component-_IrciAj-.mjs.map → acorex-platform-common-toggle-widget-column.component-B5NFRPgX.mjs.map} +1 -1
  475. package/fesm2022/{acorex-platform-common-toggle-widget-edit.component-CDG62BJN.mjs → acorex-platform-common-toggle-widget-edit.component-CLWHwf8V.mjs} +4 -4
  476. package/fesm2022/{acorex-platform-common-toggle-widget-edit.component-CDG62BJN.mjs.map → acorex-platform-common-toggle-widget-edit.component-CLWHwf8V.mjs.map} +1 -1
  477. package/fesm2022/{acorex-platform-common-toggle-widget-view.component-B5JwQ8X-.mjs → acorex-platform-common-toggle-widget-view.component-Di2S7vub.mjs} +4 -4
  478. package/fesm2022/{acorex-platform-common-toggle-widget-view.component-B5JwQ8X-.mjs.map → acorex-platform-common-toggle-widget-view.component-Di2S7vub.mjs.map} +1 -1
  479. package/fesm2022/acorex-platform-common.mjs +168 -168
  480. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  481. package/fesm2022/acorex-platform-core.mjs +4 -0
  482. package/fesm2022/acorex-platform-core.mjs.map +1 -0
  483. package/fesm2022/acorex-platform-layout-builder.mjs +169 -43
  484. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  485. package/fesm2022/acorex-platform-layout-designer.mjs +125 -0
  486. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -0
  487. package/fesm2022/acorex-platform-layout-entity.mjs +116 -76
  488. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  489. package/fesm2022/{acorex-platform-layouts-entity-create-view.component-DgPPnU8S.mjs → acorex-platform-layouts-entity-create-view.component-B2XtNJo1.mjs} +4 -4
  490. package/fesm2022/{acorex-platform-layouts-entity-create-view.component-DgPPnU8S.mjs.map → acorex-platform-layouts-entity-create-view.component-B2XtNJo1.mjs.map} +1 -1
  491. package/fesm2022/{acorex-platform-layouts-entity-import-view.component-V50y5Jjs.mjs → acorex-platform-layouts-entity-import-view.component-CZpEcVi9.mjs} +4 -4
  492. package/fesm2022/{acorex-platform-layouts-entity-import-view.component-V50y5Jjs.mjs.map → acorex-platform-layouts-entity-import-view.component-CZpEcVi9.mjs.map} +1 -1
  493. package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-Bwz4yVpK.mjs → acorex-platform-layouts-entity-modify-view.component-CjofXJku.mjs} +4 -4
  494. package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-Bwz4yVpK.mjs.map → acorex-platform-layouts-entity-modify-view.component-CjofXJku.mjs.map} +1 -1
  495. package/fesm2022/acorex-platform-layouts.mjs +80 -80
  496. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  497. package/fesm2022/acorex-platform-mocks.mjs +10 -10
  498. package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
  499. package/fesm2022/acorex-platform-native.mjs +7 -7
  500. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-qOxuoK6c.mjs → acorex-platform-themes-default-entity-master-create-view.component-D1vzPrng.mjs} +5 -5
  501. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-qOxuoK6c.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-D1vzPrng.mjs.map} +1 -1
  502. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-BJcpG94Q.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DCE6c3Is.mjs} +5 -5
  503. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-BJcpG94Q.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-DCE6c3Is.mjs.map} +1 -1
  504. package/fesm2022/{acorex-platform-themes-default-error-401.component-BeQ4_BgW.mjs → acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs} +4 -4
  505. package/fesm2022/{acorex-platform-themes-default-error-401.component-BeQ4_BgW.mjs.map → acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs.map} +1 -1
  506. package/fesm2022/{acorex-platform-themes-default-error-404.component-BYDiT6Ns.mjs → acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs} +4 -4
  507. package/fesm2022/{acorex-platform-themes-default-error-404.component-BYDiT6Ns.mjs.map → acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs.map} +1 -1
  508. package/fesm2022/{acorex-platform-themes-default-error-offline.component-DUtW3w_g.mjs → acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs} +4 -4
  509. package/fesm2022/{acorex-platform-themes-default-error-offline.component-DUtW3w_g.mjs.map → acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs.map} +1 -1
  510. package/fesm2022/acorex-platform-themes-default.mjs +41 -41
  511. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  512. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-CFCwedxX.mjs → acorex-platform-widgets-checkbox-widget-column.component-CJUV6lFi.mjs} +4 -4
  513. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CJUV6lFi.mjs.map +1 -0
  514. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-CCTIjDb0.mjs → acorex-platform-widgets-checkbox-widget-view.component-T-tXqoMd.mjs} +4 -4
  515. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-T-tXqoMd.mjs.map +1 -0
  516. package/fesm2022/acorex-platform-widgets.mjs +1141 -793
  517. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  518. package/fesm2022/acorex-platform-workflow.mjs +22 -22
  519. package/layout/builder/lib/builder/builder.service.d.ts +10 -0
  520. package/layout/builder/lib/builder/layout.types.d.ts +1 -30
  521. package/layout/builder/lib/builder/widget-renderer.component.d.ts +4 -2
  522. package/layout/builder/lib/builder/widget.types.d.ts +58 -23
  523. package/layout/designer/README.md +4 -0
  524. package/layout/designer/index.d.ts +2 -0
  525. package/layout/designer/lib/components/widget-property-viewer.component.d.ts +41 -0
  526. package/layout/designer/lib/designer.module.d.ts +12 -0
  527. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +2 -1
  528. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +12 -0
  529. package/package.json +19 -8
  530. package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +3 -3
  531. package/widgets/index.d.ts +2 -0
  532. package/widgets/lib/properties/editors.props.d.ts +6 -0
  533. package/widgets/lib/properties/groups.d.ts +5 -0
  534. package/widgets/lib/properties/index.d.ts +3 -0
  535. package/widgets/lib/properties/table-column.props.d.ts +2 -0
  536. package/widgets/lib/widgets/actions/button-widget/button-widget-view.component.d.ts +11 -0
  537. package/widgets/lib/widgets/actions/button-widget/button-widget.config.d.ts +2 -0
  538. package/widgets/lib/widgets/actions/button-widget/index.d.ts +2 -0
  539. package/widgets/lib/{editors → widgets/editors}/contact-widget/contact-widget-edit.component.d.ts +1 -1
  540. package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-column.component.d.ts +1 -1
  541. package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-edit.component.d.ts +1 -1
  542. package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-edit.component.d.ts +1 -1
  543. package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-edit.component.d.ts +8 -3
  544. package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-view.component.d.ts +16 -4
  545. package/widgets/lib/widgets/editors/file-box-widget/file-box-widget.service.d.ts +12 -0
  546. package/widgets/lib/{editors → widgets/editors}/file-box-widget/index.d.ts +4 -3
  547. package/widgets/lib/{editors → widgets/editors}/large-text-widget/large-text-widget-edit.component.d.ts +4 -2
  548. package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-edit.component.d.ts +1 -1
  549. package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-edit.component.d.ts +1 -1
  550. package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-view.component.d.ts +1 -1
  551. package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-edit.component.d.ts +1 -1
  552. package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
  553. package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-edit.component.d.ts +1 -1
  554. package/widgets/lib/widgets/index.d.ts +21 -0
  555. package/widgets/lib/widgets/layout/repeater-widget/index.d.ts +7 -0
  556. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-column.component.d.ts +6 -0
  557. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-designer.component.d.ts +6 -0
  558. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-edit.component.d.ts +6 -0
  559. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-filter.component.d.ts +6 -0
  560. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-print.component.d.ts +6 -0
  561. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.d.ts +11 -0
  562. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.d.ts +2 -0
  563. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +0 -45
  564. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +0 -54
  565. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +0 -15
  566. package/esm2022/widgets/lib/editors/checkbox/index.mjs +0 -3
  567. package/esm2022/widgets/lib/editors/contact-widget/contact-widget-column.component.mjs +0 -19
  568. package/esm2022/widgets/lib/editors/contact-widget/contact-widget-designer.component.mjs +0 -19
  569. package/esm2022/widgets/lib/editors/contact-widget/contact-widget-edit.component.mjs +0 -267
  570. package/esm2022/widgets/lib/editors/contact-widget/contact-widget-filter.component.mjs +0 -20
  571. package/esm2022/widgets/lib/editors/contact-widget/contact-widget-print.component.mjs +0 -19
  572. package/esm2022/widgets/lib/editors/contact-widget/contact-widget-view.component.mjs +0 -20
  573. package/esm2022/widgets/lib/editors/contact-widget/contact-widget.config.mjs +0 -24
  574. package/esm2022/widgets/lib/editors/contact-widget/index.mjs +0 -8
  575. package/esm2022/widgets/lib/editors/contact-widget/popup-component.mjs +0 -78
  576. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +0 -44
  577. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +0 -19
  578. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +0 -122
  579. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +0 -20
  580. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +0 -19
  581. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +0 -45
  582. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +0 -24
  583. package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +0 -8
  584. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +0 -66
  585. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +0 -19
  586. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +0 -228
  587. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +0 -20
  588. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +0 -19
  589. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +0 -111
  590. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +0 -24
  591. package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +0 -8
  592. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +0 -19
  593. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +0 -19
  594. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +0 -189
  595. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +0 -20
  596. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +0 -19
  597. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +0 -147
  598. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +0 -24
  599. package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +0 -8
  600. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +0 -19
  601. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +0 -19
  602. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +0 -172
  603. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +0 -20
  604. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +0 -19
  605. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +0 -2
  606. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +0 -159
  607. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +0 -24
  608. package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +0 -8
  609. package/esm2022/widgets/lib/editors/large-text-widget/index.mjs +0 -8
  610. package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-column.component.mjs +0 -23
  611. package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-designer.component.mjs +0 -19
  612. package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-edit.component.mjs +0 -47
  613. package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-print.component.mjs +0 -19
  614. package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-view.component.mjs +0 -31
  615. package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget.config.mjs +0 -24
  616. package/esm2022/widgets/lib/editors/link-widget/index.mjs +0 -8
  617. package/esm2022/widgets/lib/editors/link-widget/link-widget-column.component.mjs +0 -19
  618. package/esm2022/widgets/lib/editors/link-widget/link-widget-designer.component.mjs +0 -19
  619. package/esm2022/widgets/lib/editors/link-widget/link-widget-edit.component.mjs +0 -391
  620. package/esm2022/widgets/lib/editors/link-widget/link-widget-filter.component.mjs +0 -20
  621. package/esm2022/widgets/lib/editors/link-widget/link-widget-print.component.mjs +0 -19
  622. package/esm2022/widgets/lib/editors/link-widget/link-widget-view.component.mjs +0 -120
  623. package/esm2022/widgets/lib/editors/link-widget/link-widget.config.mjs +0 -24
  624. package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +0 -8
  625. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +0 -19
  626. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +0 -20
  627. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +0 -19
  628. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +0 -24
  629. package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +0 -8
  630. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +0 -38
  631. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +0 -19
  632. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +0 -138
  633. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +0 -20
  634. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +0 -19
  635. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +0 -53
  636. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +0 -27
  637. package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +0 -8
  638. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +0 -19
  639. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +0 -20
  640. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +0 -19
  641. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +0 -73
  642. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +0 -24
  643. package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +0 -8
  644. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +0 -66
  645. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +0 -19
  646. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +0 -220
  647. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +0 -20
  648. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +0 -19
  649. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +0 -113
  650. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +0 -24
  651. package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +0 -8
  652. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +0 -23
  653. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +0 -19
  654. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +0 -20
  655. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +0 -19
  656. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +0 -39
  657. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +0 -24
  658. package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +0 -8
  659. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +0 -19
  660. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +0 -19
  661. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +0 -19
  662. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +0 -60
  663. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +0 -24
  664. package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +0 -8
  665. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +0 -41
  666. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +0 -19
  667. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +0 -20
  668. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +0 -19
  669. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +0 -41
  670. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +0 -24
  671. package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +0 -8
  672. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +0 -19
  673. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +0 -140
  674. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +0 -20
  675. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +0 -19
  676. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +0 -42
  677. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +0 -24
  678. package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +0 -8
  679. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +0 -20
  680. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +0 -19
  681. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +0 -121
  682. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +0 -20
  683. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +0 -19
  684. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +0 -40
  685. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +0 -25
  686. package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +0 -8
  687. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +0 -19
  688. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +0 -20
  689. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +0 -19
  690. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +0 -24
  691. package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +0 -39
  692. package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +0 -9
  693. package/esm2022/widgets/lib/layout/block-widget/index.mjs +0 -3
  694. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dxmnor_-.mjs.map +0 -1
  695. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CFCwedxX.mjs.map +0 -1
  696. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-CCTIjDb0.mjs.map +0 -1
  697. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget-column.component.d.ts +0 -0
  698. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget-edit.component.d.ts +0 -0
  699. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget-view.component.d.ts +0 -0
  700. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget.config.d.ts +0 -0
  701. /package/widgets/lib/{editors → widgets/editors}/checkbox/index.d.ts +0 -0
  702. /package/widgets/lib/{editors → widgets/editors}/contact-widget/contact-widget-column.component.d.ts +0 -0
  703. /package/widgets/lib/{editors → widgets/editors}/contact-widget/contact-widget-designer.component.d.ts +0 -0
  704. /package/widgets/lib/{editors → widgets/editors}/contact-widget/contact-widget-filter.component.d.ts +0 -0
  705. /package/widgets/lib/{editors → widgets/editors}/contact-widget/contact-widget-print.component.d.ts +0 -0
  706. /package/widgets/lib/{editors → widgets/editors}/contact-widget/contact-widget-view.component.d.ts +0 -0
  707. /package/widgets/lib/{editors → widgets/editors}/contact-widget/contact-widget.config.d.ts +0 -0
  708. /package/widgets/lib/{editors → widgets/editors}/contact-widget/index.d.ts +0 -0
  709. /package/widgets/lib/{editors → widgets/editors}/contact-widget/popup-component.d.ts +0 -0
  710. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-designer.component.d.ts +0 -0
  711. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-filter.component.d.ts +0 -0
  712. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-print.component.d.ts +0 -0
  713. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-view.component.d.ts +0 -0
  714. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget.config.d.ts +0 -0
  715. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/index.d.ts +0 -0
  716. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-column.component.d.ts +0 -0
  717. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-designer.component.d.ts +0 -0
  718. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-filter.component.d.ts +0 -0
  719. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-print.component.d.ts +0 -0
  720. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-view.component.d.ts +0 -0
  721. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget.config.d.ts +0 -0
  722. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/index.d.ts +0 -0
  723. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-column.component.d.ts +0 -0
  724. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-designer.component.d.ts +0 -0
  725. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-filter.component.d.ts +0 -0
  726. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-print.component.d.ts +0 -0
  727. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget.config.d.ts +0 -0
  728. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-column.component.d.ts +0 -0
  729. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-designer.component.d.ts +0 -0
  730. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-edit.component.d.ts +0 -0
  731. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-filter.component.d.ts +0 -0
  732. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-print.component.d.ts +0 -0
  733. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-types.d.ts +0 -0
  734. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-view.component.d.ts +0 -0
  735. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget.config.d.ts +0 -0
  736. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/index.d.ts +0 -0
  737. /package/widgets/lib/{editors → widgets/editors}/large-text-widget/index.d.ts +0 -0
  738. /package/widgets/lib/{editors → widgets/editors}/large-text-widget/large-text-widget-column.component.d.ts +0 -0
  739. /package/widgets/lib/{editors → widgets/editors}/large-text-widget/large-text-widget-designer.component.d.ts +0 -0
  740. /package/widgets/lib/{editors → widgets/editors}/large-text-widget/large-text-widget-filter.component.d.ts +0 -0
  741. /package/widgets/lib/{editors → widgets/editors}/large-text-widget/large-text-widget-print.component.d.ts +0 -0
  742. /package/widgets/lib/{editors → widgets/editors}/large-text-widget/large-text-widget-view.component.d.ts +0 -0
  743. /package/widgets/lib/{editors → widgets/editors}/large-text-widget/large-text-widget.config.d.ts +0 -0
  744. /package/widgets/lib/{editors → widgets/editors}/link-widget/index.d.ts +0 -0
  745. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-column.component.d.ts +0 -0
  746. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-designer.component.d.ts +0 -0
  747. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-filter.component.d.ts +0 -0
  748. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-print.component.d.ts +0 -0
  749. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-view.component.d.ts +0 -0
  750. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget.config.d.ts +0 -0
  751. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/index.d.ts +0 -0
  752. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-column.component.d.ts +0 -0
  753. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-designer.component.d.ts +0 -0
  754. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-edit.component.d.ts +0 -0
  755. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-filter.component.d.ts +0 -0
  756. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-print.component.d.ts +0 -0
  757. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-view.component.d.ts +0 -0
  758. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget.config.d.ts +0 -0
  759. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/index.d.ts +0 -0
  760. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-column.component.d.ts +0 -0
  761. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-designer.component.d.ts +0 -0
  762. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-filter.component.d.ts +0 -0
  763. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-print.component.d.ts +0 -0
  764. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-view.component.d.ts +0 -0
  765. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget.config.d.ts +0 -0
  766. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/index.d.ts +0 -0
  767. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-column.component.d.ts +0 -0
  768. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-designer.component.d.ts +0 -0
  769. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-edit.component.d.ts +0 -0
  770. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-filter.component.d.ts +0 -0
  771. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-print.component.d.ts +0 -0
  772. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget.config.d.ts +0 -0
  773. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/index.d.ts +0 -0
  774. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-column.component.d.ts +0 -0
  775. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-designer.component.d.ts +0 -0
  776. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-filter.component.d.ts +0 -0
  777. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-print.component.d.ts +0 -0
  778. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-view.component.d.ts +0 -0
  779. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget.config.d.ts +0 -0
  780. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/index.d.ts +0 -0
  781. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-column.component.d.ts +0 -0
  782. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-designer.component.d.ts +0 -0
  783. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-edit.component.d.ts +0 -0
  784. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-filter.component.d.ts +0 -0
  785. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-print.component.d.ts +0 -0
  786. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-view.component.d.ts +0 -0
  787. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget.config.d.ts +0 -0
  788. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/index.d.ts +0 -0
  789. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-column.component.d.ts +0 -0
  790. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-designer.component.d.ts +0 -0
  791. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-edit.component.d.ts +0 -0
  792. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-filter.component.d.ts +0 -0
  793. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-print.component.d.ts +0 -0
  794. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-view.component.d.ts +0 -0
  795. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget.config.d.ts +0 -0
  796. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/index.d.ts +0 -0
  797. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-column.component.d.ts +0 -0
  798. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-designer.component.d.ts +0 -0
  799. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-edit.component.d.ts +0 -0
  800. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-filter.component.d.ts +0 -0
  801. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-print.component.d.ts +0 -0
  802. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-view.component.d.ts +0 -0
  803. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget.config.d.ts +0 -0
  804. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/index.d.ts +0 -0
  805. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-column.component.d.ts +0 -0
  806. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-designer.component.d.ts +0 -0
  807. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-edit.component.d.ts +0 -0
  808. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-filter.component.d.ts +0 -0
  809. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-print.component.d.ts +0 -0
  810. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget.config.d.ts +0 -0
  811. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/index.d.ts +0 -0
  812. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-column.component.d.ts +0 -0
  813. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-designer.component.d.ts +0 -0
  814. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-filter.component.d.ts +0 -0
  815. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-print.component.d.ts +0 -0
  816. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-view.component.d.ts +0 -0
  817. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget.config.d.ts +0 -0
  818. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/index.d.ts +0 -0
  819. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-column.component.d.ts +0 -0
  820. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-designer.component.d.ts +0 -0
  821. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-edit.component.d.ts +0 -0
  822. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-filter.component.d.ts +0 -0
  823. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-print.component.d.ts +0 -0
  824. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-view.component.d.ts +0 -0
  825. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget.config.d.ts +0 -0
  826. /package/widgets/lib/{layout → widgets/layout}/block-widget/block-widget.component.d.ts +0 -0
  827. /package/widgets/lib/{layout → widgets/layout}/block-widget/block-widget.config.d.ts +0 -0
  828. /package/widgets/lib/{layout → widgets/layout}/block-widget/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-checkbox-widget-column.component-C91gG8nm.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/checkbox/checkbox-widget-column.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n@Component({\n template: `<div>\n @if(value){ @if(trulyText){\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\n }@else { @if(negative){\n <ax-icon class=\"fa-solid fa-check ax-text-danger\"> </ax-icon>\n }@else{\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\n\n } } }@else { @if(falsyText){\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\n }@else { @if(negative){\n <ax-icon class=\"fa-solid fa-xmark ax-text-success\"> </ax-icon>\n }@else{\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\n } } }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXDecoratorModule],\n inputs: ['context', 'trulyText', 'falsyText', 'negative', 'width', 'allowResizing'],\n})\nexport class AXPCheckboxWidgetColumnComponent extends AXPWidgetBase {\n protected value!: boolean;\n protected negative!: boolean;\n protected trulyText!: boolean;\n protected falsyText!: boolean;\n\n protected override render(): void {\n this.value = !!this.rawValue;\n }\n}\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBM,MAAO,gCAAiC,SAAQ,aAAa,CAAA;IAM9C,MAAM,GAAA;QACvB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;KAC9B;8GARU,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,EArBjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,UAAA,EAAA,KAAA,EAAA,OAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;AAeH,QAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGG,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhB,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAtB5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;AAeH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC;AACpF,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-checkbox-widget-column.component-Ch2bdAjo.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/checkbox/checkbox-widget-column.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n@Component({\n template: `<div>\n @if(value){ @if(trulyText){\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\n }@else { @if(negative){\n <ax-icon class=\"fa-solid fa-check ax-text-danger\"> </ax-icon>\n }@else{\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\n\n } } }@else { @if(falsyText){\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\n }@else { @if(negative){\n <ax-icon class=\"fa-solid fa-xmark ax-text-success\"> </ax-icon>\n }@else{\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\n } } }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXDecoratorModule],\n inputs: ['context', 'trulyText', 'falsyText', 'negative', 'width', 'allowResizing'],\n})\nexport class AXPCheckboxWidgetColumnComponent extends AXPWidgetBase {\n protected value!: boolean;\n protected negative!: boolean;\n protected trulyText!: boolean;\n protected falsyText!: boolean;\n\n protected override render(): void {\n this.value = !!this.rawValue;\n }\n}\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBM,MAAO,gCAAiC,SAAQ,aAAa,CAAA;IAM9C,MAAM,GAAA;QACvB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;KAC9B;8GARU,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,EArBjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,UAAA,EAAA,KAAA,EAAA,OAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;AAeH,QAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGG,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhB,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAtB5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;AAeH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC;AACpF,iBAAA,CAAA;;;;;"}
@@ -29,10 +29,10 @@ import '@acorex/core/format';
29
29
  import 'rxjs/operators';
30
30
 
31
31
  class AXPCheckboxWidgetEditComponent extends AXPWidgetEditBase {
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPCheckboxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<ax-check-box [(ngModel)]="value"></ax-check-box>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckboxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPCheckboxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<ax-check-box [(ngModel)]="value"></ax-check-box>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetEditComponent, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckboxWidgetEditComponent, decorators: [{
36
36
  type: Component,
37
37
  args: [{
38
38
  template: `<ax-check-box [(ngModel)]="value"></ax-check-box>`,
@@ -44,4 +44,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
44
44
  }] });
45
45
 
46
46
  export { AXPCheckboxWidgetEditComponent };
47
- //# sourceMappingURL=acorex-platform-common-checkbox-widget-edit.component-_jtT03Vn.mjs.map
47
+ //# sourceMappingURL=acorex-platform-common-checkbox-widget-edit.component-DOGMfGby.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-checkbox-widget-edit.component-_jtT03Vn.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/checkbox/checkbox-widget-edit.component.ts"],"sourcesContent":["import { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n@Component({\n template: `<ax-check-box [(ngModel)]=\"value\"></ax-check-box>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXCheckBoxModule, FormsModule],\n inputs: [],\n})\nexport class AXPCheckboxWidgetEditComponent extends AXPWidgetEditBase { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYM,MAAO,8BAA+B,SAAQ,iBAAiB,CAAA;8GAAxD,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,EAN/B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,iDAAA,CAAmD,EAGnD,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,gBAAgB,+QAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG5B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAP1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAmD,iDAAA,CAAA;AAC7D,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,WAAW,CAAC;AACxC,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-checkbox-widget-edit.component-DOGMfGby.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/checkbox/checkbox-widget-edit.component.ts"],"sourcesContent":["import { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n@Component({\n template: `<ax-check-box [(ngModel)]=\"value\"></ax-check-box>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXCheckBoxModule, FormsModule],\n inputs: [],\n})\nexport class AXPCheckboxWidgetEditComponent extends AXPWidgetEditBase { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYM,MAAO,8BAA+B,SAAQ,iBAAiB,CAAA;8GAAxD,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,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29
29
  render() {
30
30
  this.value = !!this.rawValue;
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPCheckboxWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { trulyText: "trulyText", falsyText: "falsyText", negative: "negative" }, usesInheritance: true, ngImport: i0, template: ` <div>
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckboxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPCheckboxWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { trulyText: "trulyText", falsyText: "falsyText", negative: "negative" }, usesInheritance: true, ngImport: i0, template: ` <div>
34
34
  @if(value){ @if(trulyText){
35
35
  <span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
36
36
  }@else {
@@ -44,7 +44,7 @@ class AXPCheckboxWidgetViewComponent extends AXPWidgetBase {
44
44
  } }
45
45
  </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
46
46
  }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetViewComponent, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckboxWidgetViewComponent, decorators: [{
48
48
  type: Component,
49
49
  args: [{
50
50
  template: ` <div>
@@ -68,4 +68,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
68
68
  }] });
69
69
 
70
70
  export { AXPCheckboxWidgetViewComponent };
71
- //# sourceMappingURL=acorex-platform-common-checkbox-widget-view.component-BDAtJB1B.mjs.map
71
+ //# sourceMappingURL=acorex-platform-common-checkbox-widget-view.component-BhGOtblX.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-checkbox-widget-view.component-BDAtJB1B.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/checkbox/checkbox-widget-view.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n@Component({\n template: ` <div>\n @if(value){ @if(trulyText){\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\n } }@else { @if(falsyText){\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\n } }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXDecoratorModule],\n inputs: ['trulyText', 'falsyText', 'negative'],\n})\nexport class AXPCheckboxWidgetViewComponent extends AXPWidgetBase {\n protected value!: boolean;\n protected negative!: boolean;\n protected trulyText!: boolean;\n protected falsyText!: boolean;\n\n protected override render(): void {\n this.value = !!this.rawValue;\n }\n}\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;IAM5C,MAAM,GAAA;QACvB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;KAC9B;8GARU,8BAA8B,EAAA,IAAA,EAAA,IA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widgets/checkbox/checkbox-widget-view.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n@Component({\n template: ` <div>\n @if(value){ @if(trulyText){\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\n } }@else { @if(falsyText){\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\n } }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXDecoratorModule],\n inputs: ['trulyText', 'falsyText', 'negative'],\n})\nexport class AXPCheckboxWidgetViewComponent extends AXPWidgetBase {\n protected value!: boolean;\n protected negative!: boolean;\n protected trulyText!: boolean;\n protected falsyText!: boolean;\n\n protected override render(): void {\n this.value = !!this.rawValue;\n }\n}\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;IAM5C,MAAM,GAAA;QACvB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;KAC9B;8GARU,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,EAlB/B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;AAYH,QAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGG,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhB,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAnB1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;AAYH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,oBAAA,MAAM,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,CAAC;AAC/C,iBAAA,CAAA;;;;;"}
@@ -49,10 +49,10 @@ class AXPDateTimeWidgetColumnComponent extends AXPWidgetBase {
49
49
  isArray(val) {
50
50
  return Array.isArray(val);
51
51
  }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPDateTimeWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple", width: "width", format: "format", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: ` <span [title]="convertedValue">{{ convertedValue }}</span> `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
52
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
53
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPDateTimeWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple", width: "width", format: "format", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: ` <span [title]="convertedValue">{{ convertedValue }}</span> `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
54
54
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetColumnComponent, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetColumnComponent, decorators: [{
56
56
  type: Component,
57
57
  args: [{
58
58
  template: ` <span [title]="convertedValue">{{ convertedValue }}</span> `,
@@ -64,4 +64,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
64
64
  }] });
65
65
 
66
66
  export { AXPDateTimeWidgetColumnComponent };
67
- //# sourceMappingURL=acorex-platform-common-dateTime-widget-column.component-5ljYmtHI.mjs.map
67
+ //# sourceMappingURL=acorex-platform-common-dateTime-widget-column.component-BkUDt0Kj.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-dateTime-widget-column.component-5ljYmtHI.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/dateTime/dateTime-widget-column.component.ts"],"sourcesContent":["import { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n\n@Component({\n template: ` <span [title]=\"convertedValue\">{{ convertedValue }}</span> `,\n standalone: true,\n imports: [AXFormatModule, AXDateTimeModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['context', 'value', 'multiple', 'width', 'format', 'allowResizing'],\n})\nexport class AXPDateTimeWidgetColumnComponent extends AXPWidgetBase {\n protected convertedValue!: string | null;\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) {\n this.convertedValue = null;\n return;\n }\n if (this.isArray(rawValue)) {\n this.convertedValue = rawValue.map((item: Date) => this.formatValue(new Date(item))).join(', ');\n } else {\n this.convertedValue = this.formatValue(new Date(rawValue));\n }\n }\n\n protected formatValue(value: Date) {\n if (this.formats?.default) {\n return this.formatService.format(value, 'datetime', { format: this.formats.default });\n } else {\n return value.toISOString();\n }\n }\n\n protected isArray(val: any) {\n return Array.isArray(val);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAYM,MAAO,gCAAiC,SAAQ,aAAa,CAAA;IAIxD,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,QAAA,IAAI,QAAQ,IAAI,IAAI,EAAE;AACpB,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAC3B,OAAO;SACR;AACD,QAAA,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;AAC1B,YAAA,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAU,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,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EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAI/B,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAP5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAA8D,4DAAA,CAAA;AACxE,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;oBAC3C,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,CAAC;AAC7E,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-dateTime-widget-column.component-BkUDt0Kj.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/dateTime/dateTime-widget-column.component.ts"],"sourcesContent":["import { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n\n@Component({\n template: ` <span [title]=\"convertedValue\">{{ convertedValue }}</span> `,\n standalone: true,\n imports: [AXFormatModule, AXDateTimeModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['context', 'value', 'multiple', 'width', 'format', 'allowResizing'],\n})\nexport class AXPDateTimeWidgetColumnComponent extends AXPWidgetBase {\n protected convertedValue!: string | null;\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) {\n this.convertedValue = null;\n return;\n }\n if (this.isArray(rawValue)) {\n this.convertedValue = rawValue.map((item: Date) => this.formatValue(new Date(item))).join(', ');\n } else {\n this.convertedValue = this.formatValue(new Date(rawValue));\n }\n }\n\n protected formatValue(value: Date) {\n if (this.formats?.default) {\n return this.formatService.format(value, 'datetime', { format: this.formats.default });\n } else {\n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A,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gCAAgC,EANjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,KAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,4DAAA,CAA8D,EAE9D,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,8BAAE,gBAAgB,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAI/B,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAP5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAA8D,4DAAA,CAAA;AACxE,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;oBAC3C,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,CAAC;AAC7E,iBAAA,CAAA;;;;;"}
@@ -82,8 +82,8 @@ class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {
82
82
  getInitValue() {
83
83
  return this.autoSetToday ? new Date() : null;
84
84
  }
85
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
86
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPDateTimeWidgetEditComponent, isStandalone: true, selector: "axp-datetime-widget-edit", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
85
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
86
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDateTimeWidgetEditComponent, isStandalone: true, selector: "axp-datetime-widget-edit", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
87
87
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
88
88
  @if(multiple){ @for(item of convertedValue();track $index){
89
89
  <ng-container [ngTemplateOutlet]="textBoxTemplate" [ngTemplateOutletContext]="{ $implicit: item }"></ng-container>
@@ -132,9 +132,9 @@ class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {
132
132
  </ax-button>
133
133
  }
134
134
  </div>
135
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$2.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
135
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$2.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
136
136
  }
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetEditComponent, decorators: [{
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetEditComponent, decorators: [{
138
138
  type: Component,
139
139
  args: [{
140
140
  selector: 'axp-datetime-widget-edit',
@@ -196,4 +196,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
196
196
  }] });
197
197
 
198
198
  export { AXPDateTimeWidgetEditComponent };
199
- //# sourceMappingURL=acorex-platform-common-dateTime-widget-edit.component-DdqtbOY1.mjs.map
199
+ //# sourceMappingURL=acorex-platform-common-dateTime-widget-edit.component-DEqsapFH.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-dateTime-widget-edit.component-DdqtbOY1.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/dateTime/dateTime-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDateTimeBoxModule } from '@acorex/components/datetime-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { MockDataService } from '@acorex/platform/mocks';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n@Component({\n selector: 'axp-datetime-widget-edit',\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @if(multiple){ @for(item of convertedValue();track $index){\n <ng-container [ngTemplateOutlet]=\"textBoxTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n } } @else {\n <ng-container\n [ngTemplateOutlet]=\"textBoxTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: convertedValue()[0] }\"\n ></ng-container>\n }\n <ng-template #textBoxTemplate let-item>\n <ax-datetime-box\n [(ngModel)]=\"item.value\"\n (onValueChanged)=\"handleValueChange($event, item.id)\"\n [format]=\"calendarFormat\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [placeholder]=\"prop.description\"\n [class]=\"multiple ? 'ax-col-start-1 ax-col-end-11 lg:ax-col-end-12' : 'ax-col-start-1 ax-col-end-13'\"\n >\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n @if(multiple){\n <ax-button\n look=\"twotone\"\n color=\"danger\"\n (onClick)=\"handleRemoveItem(item)\"\n class=\" ax-col-start-11 lg:ax-col-start-12 ax-col-end-13 ax-justify-self-end\"\n >\n <ax-icon icon=\"fa-regular fa-xmark\"></ax-icon>\n </ax-button>\n }\n </ng-template>\n @if(multiple){\n <ax-button\n [text]=\"!convertedValue().length ? 'Add New' : 'Add Another'\"\n look=\"twotone\"\n (onClick)=\"handleAddItem()\"\n class=\"ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13\"\n >\n <ax-prefix>\n <ax-icon class=\"fa-solid fa-add\"></ax-icon>\n </ax-prefix>\n </ax-button>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXFormatModule, AXDateTimeBoxModule, AXDecoratorModule, AXButtonModule, AXFormModule],\n inputs: ['multiple'],\n})\nexport class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {\n protected mockerService = inject(MockDataService);\n\n public multiple!: boolean;\n public autoSetToday!: boolean;\n\n\n protected minValue: any;\n protected maxValue: any;\n protected format: string = 'dateTime';\n protected calendarFormat!: string;\n protected convertedValue: WritableSignal<{ value: Date | null; id: string }[]> = signal([]);\n\n private changeValueEffect = effect(() => {\n if (this.multiple) {\n this.value = this.convertedValue().map((i) => i.value);\n } else {\n this.value = this.convertedValue().map((i) => i.value)[0];\n }\n });\n\n ngOnInit(): void {\n // ****** Set Format ******\n if (this.format === 'date') this.calendarFormat = 'dd/MM/yyyy';\n else if (this.format === 'time') this.calendarFormat = 'HH:mm';\n else this.calendarFormat = 'dd/MM/yyyy HH:mm';\n // ****** Set Value ******\n if (!this.value || this.value?.length == 0) {\n this.convertedValue.set([{ value: this.getInitValue(), id: this.mockerService.uid() }]);\n } else if (Array.isArray(this.value)) {\n this.convertedValue.set(this.value.map((item) => ({ value: item ? new Date(item) : this.getInitValue(), id: this.mockerService.uid() })));\n } else {\n this.convertedValue.set([{ value: this.value ? new Date(this.value) : this.getInitValue(), id: this.mockerService.uid() }]);\n }\n }\n\n protected handleAddItem() {\n this.convertedValue.update((prev) => [...prev, { value: this.getInitValue(), id: this.mockerService.uid() }]);\n }\n\n protected handleRemoveItem(item: any) {\n this.convertedValue.update((prev) => prev.filter((c: any) => c != item));\n }\n protected handleValueChange(e: AXValueChangedEvent, id: string) {\n if (e.isUserInteraction) {\n this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { value: e.value, id: i.id } : i)));\n }\n }\n\n private getInitValue(): Date | null {\n return this.autoSetToday ? new Date() : null;\n }\n}\n"],"names":["i4","i5","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEM,MAAO,8BAA+B,SAAQ,iBAAiB,CAAA;AAzDrE,IAAA,WAAA,GAAA;;AA0DY,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;QAQxC,IAAM,CAAA,MAAA,GAAW,UAAU,CAAC;AAE5B,QAAA,IAAA,CAAA,cAAc,GAAyD,MAAM,CAAC,EAAE,CAAC,CAAC;AAEpF,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;AACtC,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,gBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC;aACxD;iBAAM;gBACL,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;aAC3D;AACH,SAAC,CAAC,CAAC;AAiCJ,KAAA;IA/BC,QAAQ,GAAA;;AAEN,QAAA,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM;A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AzD1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,CAAC;oBAC1H,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-dateTime-widget-edit.component-DEqsapFH.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/dateTime/dateTime-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDateTimeBoxModule } from '@acorex/components/datetime-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { MockDataService } from '@acorex/platform/mocks';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n@Component({\n selector: 'axp-datetime-widget-edit',\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @if(multiple){ @for(item of convertedValue();track $index){\n <ng-container [ngTemplateOutlet]=\"textBoxTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n } } @else {\n <ng-container\n [ngTemplateOutlet]=\"textBoxTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: convertedValue()[0] }\"\n ></ng-container>\n }\n <ng-template #textBoxTemplate let-item>\n <ax-datetime-box\n [(ngModel)]=\"item.value\"\n (onValueChanged)=\"handleValueChange($event, item.id)\"\n [format]=\"calendarFormat\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [placeholder]=\"prop.description\"\n [class]=\"multiple ? 'ax-col-start-1 ax-col-end-11 lg:ax-col-end-12' : 'ax-col-start-1 ax-col-end-13'\"\n >\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n @if(multiple){\n <ax-button\n look=\"twotone\"\n color=\"danger\"\n (onClick)=\"handleRemoveItem(item)\"\n class=\" ax-col-start-11 lg:ax-col-start-12 ax-col-end-13 ax-justify-self-end\"\n >\n <ax-icon icon=\"fa-regular fa-xmark\"></ax-icon>\n </ax-button>\n }\n </ng-template>\n @if(multiple){\n <ax-button\n [text]=\"!convertedValue().length ? 'Add New' : 'Add Another'\"\n look=\"twotone\"\n (onClick)=\"handleAddItem()\"\n class=\"ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13\"\n >\n <ax-prefix>\n <ax-icon class=\"fa-solid fa-add\"></ax-icon>\n </ax-prefix>\n </ax-button>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXFormatModule, AXDateTimeBoxModule, AXDecoratorModule, AXButtonModule, AXFormModule],\n inputs: ['multiple'],\n})\nexport class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {\n protected mockerService = inject(MockDataService);\n\n public multiple!: boolean;\n public autoSetToday!: boolean;\n\n\n protected minValue: any;\n protected maxValue: any;\n protected format: string = 'dateTime';\n protected calendarFormat!: string;\n protected convertedValue: WritableSignal<{ value: Date | null; id: string }[]> = signal([]);\n\n private changeValueEffect = effect(() => {\n if (this.multiple) {\n this.value = this.convertedValue().map((i) => i.value);\n } else {\n this.value = this.convertedValue().map((i) => i.value)[0];\n }\n });\n\n ngOnInit(): void {\n // ****** Set Format ******\n if (this.format === 'date') this.calendarFormat = 'dd/MM/yyyy';\n else if (this.format === 'time') this.calendarFormat = 'HH:mm';\n else this.calendarFormat = 'dd/MM/yyyy HH:mm';\n // ****** Set Value ******\n if (!this.value || this.value?.length == 0) {\n this.convertedValue.set([{ value: this.getInitValue(), id: this.mockerService.uid() }]);\n } else if (Array.isArray(this.value)) {\n this.convertedValue.set(this.value.map((item) => ({ value: item ? new Date(item) : this.getInitValue(), id: this.mockerService.uid() })));\n } else {\n this.convertedValue.set([{ value: this.value ? new Date(this.value) : this.getInitValue(), id: this.mockerService.uid() }]);\n }\n }\n\n protected handleAddItem() {\n this.convertedValue.update((prev) => [...prev, { value: this.getInitValue(), id: this.mockerService.uid() }]);\n }\n\n protected handleRemoveItem(item: any) {\n this.convertedValue.update((prev) => prev.filter((c: any) => c != item));\n }\n protected handleValueChange(e: AXValueChangedEvent, id: string) {\n if (e.isUserInteraction) {\n this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { value: e.value, id: i.id } : i)));\n }\n }\n\n private getInitValue(): Date | null {\n return this.autoSetToday ? new Date() : null;\n }\n}\n"],"names":["i4","i5","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEM,MAAO,8BAA+B,SAAQ,iBAAiB,CAAA;AAzDrE,IAAA,WAAA,GAAA;;AA0DY,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;QAQxC,IAAM,CAAA,MAAA,GAAW,UAAU,CAAC;AAE5B,QAAA,IAAA,CAAA,cAAc,GAAyD,MAAM,CAAC,EAAE,CAAC,CAAC;AAEpF,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;AACtC,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,gBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAA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AAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG9G,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAzD1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,CAAC;oBAC1H,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
@@ -156,8 +156,8 @@ class AXPDateTimeWidgetFilterComponent extends AXPWidgetFilterBase {
156
156
  .replace(/^\w/, (match) => match.toUpperCase())
157
157
  .replace(/\b\w/g, (match) => match.toUpperCase());
158
158
  }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
160
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPDateTimeWidgetFilterComponent, isStandalone: true, selector: "axp-datetime-widget-filter", inputs: { value: "value", operator: "operator" }, outputs: { valueChange: "valueChange", operatorChange: "operatorChange" }, usesInheritance: true, ngImport: i0, template: `
159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
160
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDateTimeWidgetFilterComponent, isStandalone: true, selector: "axp-datetime-widget-filter", inputs: { value: "value", operator: "operator" }, outputs: { valueChange: "valueChange", operatorChange: "operatorChange" }, usesInheritance: true, ngImport: i0, template: `
161
161
  <div class="ax-flex-1">
162
162
  <ax-select-box [ngModel]="selectedItem()" placeholder="Select ..." (onValueChanged)="changeSelectedItem($event)" [dataSource]="dataSource">
163
163
  </ax-select-box>
@@ -188,7 +188,7 @@ class AXPDateTimeWidgetFilterComponent extends AXPWidgetFilterBase {
188
188
  </div>
189
189
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i6.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
190
190
  }
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetFilterComponent, decorators: [{
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetFilterComponent, decorators: [{
192
192
  type: Component,
193
193
  args: [{
194
194
  selector: 'axp-datetime-widget-filter',
@@ -231,4 +231,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
231
231
  }] });
232
232
 
233
233
  export { AXPDateTimeWidgetFilterComponent };
234
- //# sourceMappingURL=acorex-platform-common-dateTime-widget-filter.component-BjtIJkeC.mjs.map
234
+ //# sourceMappingURL=acorex-platform-common-dateTime-widget-filter.component-CqddjYjP.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-dateTime-widget-filter.component-BjtIJkeC.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/dateTime/dateTime-widget-filter.component.ts"],"sourcesContent":["import { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDateTimeBoxModule } from '@acorex/components/datetime-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXCalendarService } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\n\n@Component({\n selector: 'axp-datetime-widget-filter',\n template: `\n <div class=\"ax-flex-1\">\n <ax-select-box [ngModel]=\"selectedItem()\" placeholder=\"Select ...\" (onValueChanged)=\"changeSelectedItem($event)\" [dataSource]=\"dataSource\">\n </ax-select-box>\n @if(selectedItem()==\"Between\"){\n <div class=\"ax-flex ax-gap-2 ax-mt-2\">\n <ax-datetime-box\n placeholder=\"From\"\n [(ngModel)]=\"value.from\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n <ax-datetime-box\n placeholder=\"To\"\n [(ngModel)]=\"value.to\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n </div>\n } @if(selectedItem()==\"Greater Than\" || selectedItem()==\"Less Than\"){\n <div class=\"ax-mt-2\">\n <ax-datetime-box [(ngModel)]=\"value\" class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\">\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n </div>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXFormatModule, AXDateTimeBoxModule, AXDecoratorModule, AXSelectBoxModule],\n outputs: ['valueChange', 'operatorChange'],\n inputs: ['value', 'operator'],\n})\nexport class AXPDateTimeWidgetFilterComponent extends AXPWidgetFilterBase {\n protected selectedItem: WritableSignal<string> = signal('');\n dataSource: string[] = [];\n\n private calendarService = inject(AXCalendarService);\n private changeValueEffect = effect(() => {\n this.getSelectedItemValue(this.selectedItem());\n });\n\n ngOnInit(): void {\n if (this.operator == 'greaterThan' || this.operator == 'lessThan') {\n this.selectedItem.set(this.convertToTitleCase(this.operator));\n } else {\n this.selectedItem.set(this.convertToTitleCase(this.value));\n }\n this.dataSource = [\n 'Today',\n 'This Week',\n 'This Month',\n 'Yesterday',\n 'Last Week',\n 'Last Month',\n 'Tomorrow',\n 'Next Week',\n 'Next Month',\n 'Between',\n 'Greater Than',\n 'Less Than',\n ];\n }\n\n protected changeSelectedItem(e: AXValueChangedEvent) {\n if (e.isUserInteraction) {\n this.selectedItem.set(e.value);\n }\n }\n\n protected getSelectedItemValue(itemTitle: string): void {\n this.operator = 'between';\n const currentDate = this.calendarService.now().date;\n const calendar = this.calendarService.calendar;\n switch (itemTitle) {\n case 'Today':\n this.value = {\n from: calendar.startOf(currentDate, 'day').date,\n to: calendar.endOf(currentDate, 'day').date,\n };\n break;\n case 'This Week':\n this.value = {\n from: calendar.startOf(currentDate, 'week').date,\n to: calendar.endOf(currentDate, 'week').date,\n };\n break;\n case 'This Month':\n this.value = {\n from: calendar.startOf(currentDate, 'month').date,\n to: calendar.endOf(currentDate, 'month').date,\n };\n break;\n case 'Yesterday':\n const yesterDay = calendar.add(currentDate, 'day', -1);\n this.value = {\n from: yesterDay.startOf('day').date,\n to: yesterDay.endOf('day').date,\n };\n break;\n case 'Last Week':\n const lastWeek = calendar.add(currentDate, 'week', -1);\n this.value = {\n from: lastWeek.startOf('week').date,\n to: lastWeek.endOf('week').date,\n };\n break;\n case 'Last Month':\n const lastMonth = calendar.add(currentDate, 'month', -1);\n this.value = {\n from: lastMonth.startOf('month').date,\n to: lastMonth.endOf('month').date,\n };\n break;\n case 'Tomorrow':\n const tomorrow = calendar.add(currentDate, 'day', 1);\n this.value = {\n from: tomorrow.startOf('day').date,\n to: tomorrow.endOf('day').date,\n };\n break;\n case 'Next Week':\n const nextWeek = calendar.add(currentDate, 'week', 1);\n this.value = {\n from: nextWeek.startOf('week').date,\n to: nextWeek.endOf('week').date,\n };\n break;\n case 'Next Month':\n const nextMonth = calendar.add(currentDate, 'month', -1);\n this.value = {\n from: nextMonth.startOf('month').date,\n to: nextMonth.endOf('month').date,\n };\n break;\n case 'Between':\n this.value = {\n from: '',\n to: '',\n };\n break;\n case 'Greater Than':\n this.operator = 'greaterThan';\n break;\n case 'Less Than':\n this.operator = 'lessThan';\n break;\n default:\n break;\n }\n }\n protected convertToTitleCase(str: string) {\n return str\n .replace(/[A-Z]/g, (match) => ` ${match}`)\n .trim()\n .replace(/^\\w/, (match) => match.toUpperCase())\n .replace(/\\b\\w/g, (match) => match.toUpperCase());\n }\n}\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDM,MAAO,gCAAiC,SAAQ,mBAAmB,CAAA;AAtCzE,IAAA,WAAA,GAAA;;AAuCY,QAAA,IAAA,CAAA,YAAY,GAA2B,MAAM,CAAC,EAAE,CAAC,CAAC;QAC5D,IAAU,CAAA,UAAA,GAAa,EAAE,CAAC;AAElB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC5C,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;YACtC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;AACjD,SAAC,CAAC,CAAC;AAsHJ,KAAA;IApHC,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,aAAa,IAAI,IAAI,CAAC,QAAQ,IAAI,UAAU,EAAE;AACjE,YAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;SAC/D;aAAM;AACL,YAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;SAC5D;QACD,IAAI,CAAC,UAAU,GAAG;YAChB,OAAO;YACP,WA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,CAAA,aAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAInG,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAtC5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;AAC/G,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,gBAAgB,CAAC;AAC1C,oBAAA,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;AAC9B,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-dateTime-widget-filter.component-CqddjYjP.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/dateTime/dateTime-widget-filter.component.ts"],"sourcesContent":["import { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDateTimeBoxModule } from '@acorex/components/datetime-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXCalendarService } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\n\n@Component({\n selector: 'axp-datetime-widget-filter',\n template: `\n <div class=\"ax-flex-1\">\n <ax-select-box [ngModel]=\"selectedItem()\" placeholder=\"Select ...\" (onValueChanged)=\"changeSelectedItem($event)\" [dataSource]=\"dataSource\">\n </ax-select-box>\n @if(selectedItem()==\"Between\"){\n <div class=\"ax-flex ax-gap-2 ax-mt-2\">\n <ax-datetime-box\n placeholder=\"From\"\n [(ngModel)]=\"value.from\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n <ax-datetime-box\n placeholder=\"To\"\n [(ngModel)]=\"value.to\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n </div>\n } @if(selectedItem()==\"Greater Than\" || selectedItem()==\"Less Than\"){\n <div class=\"ax-mt-2\">\n <ax-datetime-box [(ngModel)]=\"value\" class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\">\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n </div>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXFormatModule, AXDateTimeBoxModule, AXDecoratorModule, AXSelectBoxModule],\n outputs: ['valueChange', 'operatorChange'],\n inputs: ['value', 'operator'],\n})\nexport class AXPDateTimeWidgetFilterComponent extends AXPWidgetFilterBase {\n protected selectedItem: WritableSignal<string> = signal('');\n dataSource: string[] = [];\n\n private calendarService = inject(AXCalendarService);\n private changeValueEffect = effect(() => {\n this.getSelectedItemValue(this.selectedItem());\n });\n\n ngOnInit(): void {\n if (this.operator == 'greaterThan' || this.operator == 'lessThan') {\n this.selectedItem.set(this.convertToTitleCase(this.operator));\n } else {\n this.selectedItem.set(this.convertToTitleCase(this.value));\n }\n this.dataSource = [\n 'Today',\n 'This Week',\n 'This Month',\n 'Yesterday',\n 'Last Week',\n 'Last Month',\n 'Tomorrow',\n 'Next Week',\n 'Next Month',\n 'Between',\n 'Greater Than',\n 'Less Than',\n ];\n }\n\n protected changeSelectedItem(e: AXValueChangedEvent) {\n if (e.isUserInteraction) {\n this.selectedItem.set(e.value);\n }\n }\n\n protected getSelectedItemValue(itemTitle: string): void {\n this.operator = 'between';\n const currentDate = this.calendarService.now().date;\n const calendar = this.calendarService.calendar;\n switch (itemTitle) {\n case 'Today':\n this.value = {\n from: calendar.startOf(currentDate, 'day').date,\n to: calendar.endOf(currentDate, 'day').date,\n };\n break;\n case 'This Week':\n this.value = {\n from: calendar.startOf(currentDate, 'week').date,\n to: calendar.endOf(currentDate, 'week').date,\n };\n break;\n case 'This Month':\n this.value = {\n from: calendar.startOf(currentDate, 'month').date,\n to: calendar.endOf(currentDate, 'month').date,\n };\n break;\n case 'Yesterday':\n const yesterDay = calendar.add(currentDate, 'day', -1);\n this.value = {\n from: yesterDay.startOf('day').date,\n to: yesterDay.endOf('day').date,\n };\n break;\n case 'Last Week':\n const lastWeek = calendar.add(currentDate, 'week', -1);\n this.value = {\n from: lastWeek.startOf('week').date,\n to: lastWeek.endOf('week').date,\n };\n break;\n case 'Last Month':\n const lastMonth = calendar.add(currentDate, 'month', -1);\n this.value = {\n from: lastMonth.startOf('month').date,\n to: lastMonth.endOf('month').date,\n };\n break;\n case 'Tomorrow':\n const tomorrow = calendar.add(currentDate, 'day', 1);\n this.value = {\n from: tomorrow.startOf('day').date,\n to: tomorrow.endOf('day').date,\n };\n break;\n case 'Next Week':\n const nextWeek = calendar.add(currentDate, 'week', 1);\n this.value = {\n from: nextWeek.startOf('week').date,\n to: nextWeek.endOf('week').date,\n };\n break;\n case 'Next Month':\n const nextMonth = calendar.add(currentDate, 'month', -1);\n this.value = {\n from: nextMonth.startOf('month').date,\n to: nextMonth.endOf('month').date,\n };\n break;\n case 'Between':\n this.value = {\n from: '',\n to: '',\n };\n break;\n case 'Greater Than':\n this.operator = 'greaterThan';\n break;\n case 'Less Than':\n this.operator = 'lessThan';\n break;\n default:\n break;\n }\n }\n protected convertToTitleCase(str: string) {\n return str\n .replace(/[A-Z]/g, (match) => ` ${match}`)\n .trim()\n .replace(/^\\w/, (match) => match.toUpperCase())\n .replace(/\\b\\w/g, (match) => match.toUpperCase());\n }\n}\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDM,MAAO,gCAAiC,SAAQ,mBAAmB,CAAA;AAtCzE,IAAA,WAAA,GAAA;;AAuCY,QAAA,IAAA,CAAA,YAAY,GAA2B,MAAM,CAAC,EAAE,CAAC,CAAC;QAC5D,IAAU,CAAA,UAAA,GAAa,EAAE,CAAC;AAElB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC5C,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;YACtC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;AACjD,SAAC,CAAC,CAAC;AAsHJ,KAAA;IApHC,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,aAAa,IAAI,IAAI,CAAC,QAAQ,IAAI,UAAU,EAAE;AACjE,YAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;SAC/D;aAAM;AACL,YAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;SAC5D;QACD,IAAI,CAAC,UAAU,GAAG;YAChB,OAAO;YACP,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,YAAY;YACZ,UAAU;YACV,WAAW;YACX,YAAY;YACZ,SAAS;YACT,cAAc;YACd,WAAW;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AA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAInG,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAtC5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;AAC/G,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,gBAAgB,CAAC;AAC1C,oBAAA,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;AAC9B,iBAAA,CAAA;;;;;"}
@@ -56,8 +56,8 @@ class AXPDateTimeWidgetViewComponent extends AXPWidgetBase {
56
56
  isArray(val) {
57
57
  return Array.isArray(val);
58
58
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
60
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPDateTimeWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDateTimeWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
61
61
  @if(multiple && isArray(convertedValue)){
62
62
  <div class="ax-flex ax-flex-col ax-gap-1">
63
63
  @for(value of convertedValue; track $index){
@@ -69,7 +69,7 @@ class AXPDateTimeWidgetViewComponent extends AXPWidgetBase {
69
69
  }
70
70
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
71
71
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetViewComponent, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeWidgetViewComponent, decorators: [{
73
73
  type: Component,
74
74
  args: [{
75
75
  template: `
@@ -91,4 +91,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
91
91
  }] });
92
92
 
93
93
  export { AXPDateTimeWidgetViewComponent };
94
- //# sourceMappingURL=acorex-platform-common-dateTime-widget-view.component-Dxmnor_-.mjs.map
94
+ //# sourceMappingURL=acorex-platform-common-dateTime-widget-view.component-BKUPKE9M.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-common-dateTime-widget-view.component-BKUPKE9M.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/dateTime/dateTime-widget-view.component.ts"],"sourcesContent":["import { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n\n@Component({\n template: `\n @if(multiple && isArray(convertedValue)){\n <div class=\"ax-flex ax-flex-col ax-gap-1\">\n @for(value of convertedValue; track $index){\n <span>{{ value }}</span>\n }\n </div>\n }@else{\n <span>{{ convertedValue }}</span>\n }\n `,\n standalone: true,\n imports: [AXFormatModule, AXDateTimeModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['context', 'value', 'multiple'],\n})\nexport class AXPDateTimeWidgetViewComponent extends AXPWidgetBase {\n // protected convertedValue!: string | null;\n protected convertedValue!: any;\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) {\n this.convertedValue = null;\n return;\n }\n if (this.isArray(rawValue)) {\n // if (this.multiple) {\n console.log(rawValue);\n this.convertedValue = rawValue.map((item: Date) => this.formatValue(new Date(item)));\n // } else {\n // this.convertedValue = this.formatValue(rawValue[0]);\n // }\n } else {\n this.convertedValue = this.formatValue(new Date(rawValue));\n }\n\n // const value = new Date(rawValue);\n // this.formatValue(value);\n }\n\n protected formatValue(value: Date) {\n if (this.formats?.default) {\n return this.formatService.format(new Date(value), 'datetime', { format: this.formats.default });\n } else {\n return value.toISOString();\n }\n }\n\n protected isArray(val: any) {\n return Array.isArray(val);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsBM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;IAKtD,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,QAAA,IAAI,QAAQ,IAAI,IAAI,EAAE;AACpB,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAC3B,OAAO;SACR;AACD,QAAA,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;;AAE1B,YAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACtB,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAU,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;;;;SAItF;aAAM;AACL,YAAA,IAAI,CAAC,cAAc,G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EAAA,CAAA;kBAjB1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;AAUT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;oBAC3C,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC;AACzC,iBAAA,CAAA;;;;;"}
@@ -57,8 +57,8 @@ class AXPEmailWidgetColumnComponent extends AXPWidgetBase {
57
57
  label: null,
58
58
  };
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPEmailWidgetColumnComponent, isStandalone: true, selector: "axp-email-widget-column", inputs: { context: "context", multiple: "multiple", width: "width", hasLabel: "hasLabel", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: `<div>
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPEmailWidgetColumnComponent, isStandalone: true, selector: "axp-email-widget-column", inputs: { context: "context", multiple: "multiple", width: "width", hasLabel: "hasLabel", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: `<div>
62
62
  @if(multiple && list.length>1){
63
63
  <div [title]="text">{{ dot3(text) }}</div>
64
64
  }@else {
@@ -71,7 +71,7 @@ class AXPEmailWidgetColumnComponent extends AXPWidgetBase {
71
71
  }
72
72
  </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTooltipModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
73
73
  }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetColumnComponent, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailWidgetColumnComponent, decorators: [{
75
75
  type: Component,
76
76
  args: [{
77
77
  selector: 'axp-email-widget-column',
@@ -95,4 +95,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
95
95
  }] });
96
96
 
97
97
  export { AXPEmailWidgetColumnComponent };
98
- //# sourceMappingURL=acorex-platform-common-email-widget-column.component-DlPoexcx.mjs.map
98
+ //# sourceMappingURL=acorex-platform-common-email-widget-column.component-BOer2nZi.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-email-widget-column.component-DlPoexcx.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/email/email-widget-column.component.ts"],"sourcesContent":["import { AXTooltipModule } from '@acorex/components/tooltip';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n@Component({\n selector: 'axp-email-widget-column',\n template: `<div>\n @if(multiple && list.length>1){\n <div [title]=\"text\">{{ dot3(text) }}</div>\n }@else {\n <div>\n @if(list && list.length){\n {{ list[0].value }}\n }@else { - }\n </div>\n\n }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXTooltipModule],\n inputs: ['context', 'multiple', 'width', 'hasLabel', 'allowResizing'],\n})\nexport class AXPEmailWidgetColumnComponent extends AXPWidgetBase {\n protected list: { value: string; label: string }[] = [];\n protected text: string = '';\n protected multiple!: boolean;\n protected hasLabel!: boolean;\n\n protected dot3(text: string) {\n if (this.multiple) return text.split('\\n')[0] + '...';\n else return text.split('\\n')[0];\n }\n\n protected override render(): void {\n if (this.rawValue) {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n this.text = this.list.map((item) => item.value).join('\\n');\n }\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n value: item.value ?? '-',\n type: item.type ?? 'primary',\n label: item.label,\n }\n : {\n value: item,\n type: 'primary',\n label: null,\n };\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBM,MAAO,6BAA8B,SAAQ,aAAa,CAAA;AAnBhE,IAAA,WAAA,GAAA;;QAoBY,IAAI,CAAA,IAAA,GAAuC,EAAE,CAAC;QAC9C,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;AA8B7B,KAAA;AA1BW,IAAA,IAAI,CAAC,IAAY,EAAA;QACzB,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;;YACjD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;KACjC;IAEkB,MAAM,GAAA;AACvB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,YAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC9G,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,CAA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E,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;AAWH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,CAAC;AACtE,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-email-widget-column.component-BOer2nZi.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/email/email-widget-column.component.ts"],"sourcesContent":["import { AXTooltipModule } from '@acorex/components/tooltip';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n@Component({\n selector: 'axp-email-widget-column',\n template: `<div>\n @if(multiple && list.length>1){\n <div [title]=\"text\">{{ dot3(text) }}</div>\n }@else {\n <div>\n @if(list && list.length){\n {{ list[0].value }}\n }@else { - }\n </div>\n\n }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXTooltipModule],\n inputs: ['context', 'multiple', 'width', 'hasLabel', 'allowResizing'],\n})\nexport class AXPEmailWidgetColumnComponent extends AXPWidgetBase {\n protected list: { value: string; label: string }[] = [];\n protected text: string = '';\n protected multiple!: boolean;\n protected hasLabel!: boolean;\n\n protected dot3(text: string) {\n if (this.multiple) return text.split('\\n')[0] + '...';\n else return text.split('\\n')[0];\n }\n\n protected override render(): void {\n if (this.rawValue) {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n this.text = this.list.map((item) => item.value).join('\\n');\n }\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n value: item.value ?? '-',\n type: item.type ?? 'primary',\n label: item.label,\n }\n : {\n value: item,\n type: 'primary',\n label: null,\n };\n }\n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
@@ -112,8 +112,8 @@ class AXPEmailWidgetEditComponent extends AXPWidgetEditBase {
112
112
  ];
113
113
  this.convertedValue.set(newValue);
114
114
  }
115
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
116
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPEmailWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple", hasLabel: "hasLabel" }, usesInheritance: true, ngImport: i0, template: `
115
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
116
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPEmailWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple", hasLabel: "hasLabel" }, usesInheritance: true, ngImport: i0, template: `
117
117
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
118
118
  <ng-container *ngIf="multiple">
119
119
  @for(item of convertedValue();track item?.value) {
@@ -179,9 +179,9 @@ class AXPEmailWidgetEditComponent extends AXPWidgetEditBase {
179
179
  </ax-prefix>
180
180
  </ax-button>
181
181
  </div>
182
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i6.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
182
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i6.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
183
183
  }
184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetEditComponent, decorators: [{
184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailWidgetEditComponent, decorators: [{
185
185
  type: Component,
186
186
  args: [{
187
187
  template: `
@@ -267,4 +267,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
267
267
  }] });
268
268
 
269
269
  export { AXPEmailWidgetEditComponent };
270
- //# sourceMappingURL=acorex-platform-common-email-widget-edit.component-CLl0gmdM.mjs.map
270
+ //# sourceMappingURL=acorex-platform-common-email-widget-edit.component-BoKsGiEI.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-email-widget-edit.component-CLl0gmdM.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/email/email-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXPlatform } from '@acorex/core/platform';\nimport { MockDataService } from '@acorex/platform/mocks';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n <ng-container *ngIf=\"multiple\">\n @for(item of convertedValue();track item?.value) {\n <ax-text-box\n [(ngModel)]=\"item.value\"\n (onValueChanged)=\"handleEmailChange($event, item.id)\"\n type=\"email\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-8\"\n [class.lg:!ax-col-end-12]=\"!hasLabel\"\n >\n </ax-text-box>\n @if(hasLabel){\n <ax-select-box\n [dataSource]=\"['Primary', 'Secondary']\"\n [(ngModel)]=\"item.label\"\n (onValueChanged)=\"handleLabelChange($event, item.id)\"\n class=\"ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-12\"\n >\n </ax-select-box>\n }\n <ax-button\n look=\"twotone\"\n color=\"danger\"\n (onClick)=\"handleRemoveItem(item)\"\n class=\"ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end\"\n >\n <ax-icon icon=\"fa-regular fa-xmark\"></ax-icon>\n </ax-button>\n }\n </ng-container>\n <ng-container *ngIf=\"!multiple\">\n <div class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-8\" [class.lg:!ax-col-end-13]=\"!hasLabel\">\n <ax-text-box\n [(ngModel)]=\"convertedValue()[0].value\"\n (onValueChanged)=\"handleEmailChange($event, convertedValue()[0].id)\"\n type=\"email\"\n >\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n </ax-text-box>\n </div>\n @if(hasLabel){\n <ax-select-box\n [dataSource]=\"['Primary', 'Secondary']\"\n [(ngModel)]=\"convertedValue()[0].label\"\n (onValueChanged)=\"handleLabelChange($event, convertedValue()[0].id)\"\n class=\"ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-13\"\n >\n </ax-select-box>\n }\n </ng-container>\n\n <ax-button\n *ngIf=\"multiple\"\n [text]=\"convertedValue().length == 0 ? 'Add New' : 'Add Another'\"\n look=\"twotone\"\n (onClick)=\"handleAddItem()\"\n class=\"ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13\"\n >\n <ax-prefix>\n <ax-icon class=\"fa-solid fa-add\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n AXButtonModule,\n FormsModule,\n AXTextBoxModule,\n AXDecoratorModule,\n AXSelectBoxModule,\n AXFormModule,\n ],\n inputs: ['multiple', 'hasLabel'],\n})\nexport class AXPEmailWidgetEditComponent extends AXPWidgetEditBase<any> {\n protected mockerService = inject(MockDataService);\n\n protected platform = inject(AXPlatform);\n protected multiple!: boolean;\n protected hasLabel!: boolean;\n protected convertedValue: WritableSignal<{ value: string; label?: string; id: string }[]> = signal([]);\n\n private changeValueEffect = effect(() => {\n if (this.multiple) {\n if (this.hasLabel) this.value = this.convertedValue().map((i) => ({ value: i.value, label: i.label }));\n else this.value = this.convertedValue().map((i) => i.value);\n } else {\n if (this.hasLabel) this.value = this.convertedValue().map((i) => ({ value: i.value, label: i.label }))[0];\n else this.value = this.convertedValue().map((i) => i.value)[0];\n }\n });\n\n protected handleEmailChange(e: AXValueChangedEvent, id: string) {\n if (e.isUserInteraction) {\n this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { ...i, value: e.value } : i)));\n }\n }\n protected handleLabelChange(e: AXValueChangedEvent, id: string) {\n if (e.isUserInteraction) {\n this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { ...i, label: e.value } : i)));\n }\n }\n\n protected handleAddItem() {\n // this.value.push({ label: 'Primary', value: undefined });\n this.convertedValue.update((prev) => [\n ...prev,\n { label: this.hasLabel ? 'Primary' : '', value: '', id: this.mockerService.uid() },\n ]);\n }\n\n protected handleRemoveItem(item: any) {\n this.convertedValue.update((prev) => prev.filter((c) => c != item));\n }\n\n ngOnInit(): void {\n // Initialize with an empty array if there's no value or it's empty\n if (!this.value || this.value.length === 0) {\n this.initializeEmptyValue();\n return;\n }\n\n // Process the input based on `multiple` and `hasLabel`\n if (this.multiple) {\n this.handleMultipleValue();\n } else {\n this.handleSingleValue();\n }\n }\n\n private initializeEmptyValue(): void {\n this.convertedValue.set([{ value: '', label: '', id: this.mockerService.uid() }]);\n }\n\n private handleMultipleValue(): void {\n const newValue = this.value.map((item: any) => ({\n value: this.hasLabel ? item.value : item,\n label: this.hasLabel ? item.label : null,\n id: this.mockerService.uid(),\n }));\n this.convertedValue.set(newValue);\n }\n\n private handleSingleValue(): void {\n const newValue = [\n {\n value: this.hasLabel ? this.value.value : this.value,\n label: this.hasLabel ? this.value.label : null,\n id: this.mockerService.uid(),\n },\n ];\n this.convertedValue.set(newValue);\n }\n}\n"],"names":["i3","i5","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FM,MAAO,2BAA4B,SAAQ,iBAAsB,CAAA;AAjFvE,IAAA,WAAA,GAAA;;AAkFY,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;AAExC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAG9B,QAAA,IAAA,CAAA,cAAc,GAAoE,MAAM,CAAC,EAAE,CAAC,CAAC;AAE/F,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;AACtC,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,IAAI,IAAI,CAAC,QAAQ;AAAE,oBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;;AAClG,oBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC;aAC7D;iBAAM;gBACL,IAAI,IAAI,CAAC,QAAQ;AAAE,oBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,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,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAIH,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAjFvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkET,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;wBACd,WAAW;wBACX,eAAe;wBACf,iBAAiB;wBACjB,iBAAiB;wBACjB,YAAY;AACb,qBAAA;AACD,oBAAA,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;AACjC,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-email-widget-edit.component-BoKsGiEI.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/email/email-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXPlatform } from '@acorex/core/platform';\nimport { MockDataService } from '@acorex/platform/mocks';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n <ng-container *ngIf=\"multiple\">\n @for(item of convertedValue();track item?.value) {\n <ax-text-box\n [(ngModel)]=\"item.value\"\n (onValueChanged)=\"handleEmailChange($event, item.id)\"\n type=\"email\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-8\"\n [class.lg:!ax-col-end-12]=\"!hasLabel\"\n >\n </ax-text-box>\n @if(hasLabel){\n <ax-select-box\n [dataSource]=\"['Primary', 'Secondary']\"\n [(ngModel)]=\"item.label\"\n (onValueChanged)=\"handleLabelChange($event, item.id)\"\n class=\"ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-12\"\n >\n </ax-select-box>\n }\n <ax-button\n look=\"twotone\"\n color=\"danger\"\n (onClick)=\"handleRemoveItem(item)\"\n class=\"ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end\"\n >\n <ax-icon icon=\"fa-regular fa-xmark\"></ax-icon>\n </ax-button>\n }\n </ng-container>\n <ng-container *ngIf=\"!multiple\">\n <div class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-8\" [class.lg:!ax-col-end-13]=\"!hasLabel\">\n <ax-text-box\n [(ngModel)]=\"convertedValue()[0].value\"\n (onValueChanged)=\"handleEmailChange($event, convertedValue()[0].id)\"\n type=\"email\"\n >\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n </ax-text-box>\n </div>\n @if(hasLabel){\n <ax-select-box\n [dataSource]=\"['Primary', 'Secondary']\"\n [(ngModel)]=\"convertedValue()[0].label\"\n (onValueChanged)=\"handleLabelChange($event, convertedValue()[0].id)\"\n class=\"ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-13\"\n >\n </ax-select-box>\n }\n </ng-container>\n\n <ax-button\n *ngIf=\"multiple\"\n [text]=\"convertedValue().length == 0 ? 'Add New' : 'Add Another'\"\n look=\"twotone\"\n (onClick)=\"handleAddItem()\"\n class=\"ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13\"\n >\n <ax-prefix>\n <ax-icon class=\"fa-solid fa-add\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n AXButtonModule,\n FormsModule,\n AXTextBoxModule,\n AXDecoratorModule,\n AXSelectBoxModule,\n AXFormModule,\n ],\n inputs: ['multiple', 'hasLabel'],\n})\nexport class AXPEmailWidgetEditComponent extends AXPWidgetEditBase<any> {\n protected mockerService = inject(MockDataService);\n\n protected platform = inject(AXPlatform);\n protected multiple!: boolean;\n protected hasLabel!: boolean;\n protected convertedValue: WritableSignal<{ value: string; label?: string; id: string }[]> = signal([]);\n\n private changeValueEffect = effect(() => {\n if (this.multiple) {\n if (this.hasLabel) this.value = this.convertedValue().map((i) => ({ value: i.value, label: i.label }));\n else this.value = this.convertedValue().map((i) => i.value);\n } else {\n if (this.hasLabel) this.value = this.convertedValue().map((i) => ({ value: i.value, label: i.label }))[0];\n else this.value = this.convertedValue().map((i) => i.value)[0];\n }\n });\n\n protected handleEmailChange(e: AXValueChangedEvent, id: string) {\n if (e.isUserInteraction) {\n this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { ...i, value: e.value } : i)));\n }\n }\n protected handleLabelChange(e: AXValueChangedEvent, id: string) {\n if (e.isUserInteraction) {\n this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { ...i, label: e.value } : i)));\n }\n }\n\n protected handleAddItem() {\n // this.value.push({ label: 'Primary', value: undefined });\n this.convertedValue.update((prev) => [\n ...prev,\n { label: this.hasLabel ? 'Primary' : '', value: '', id: this.mockerService.uid() },\n ]);\n }\n\n protected handleRemoveItem(item: any) {\n this.convertedValue.update((prev) => prev.filter((c) => c != item));\n }\n\n ngOnInit(): void {\n // Initialize with an empty array if there's no value or it's empty\n if (!this.value || this.value.length === 0) {\n this.initializeEmptyValue();\n return;\n }\n\n // Process the input based on `multiple` and `hasLabel`\n if (this.multiple) {\n this.handleMultipleValue();\n } else {\n this.handleSingleValue();\n }\n }\n\n private initializeEmptyValue(): void {\n this.convertedValue.set([{ value: '', label: '', id: this.mockerService.uid() }]);\n }\n\n private handleMultipleValue(): void {\n const newValue = this.value.map((item: any) => ({\n value: this.hasLabel ? item.value : item,\n label: this.hasLabel ? item.label : null,\n id: this.mockerService.uid(),\n }));\n this.convertedValue.set(newValue);\n }\n\n private handleSingleValue(): void {\n const newValue = [\n {\n value: this.hasLabel ? this.value.value : this.value,\n label: this.hasLabel ? this.value.label : null,\n id: this.mockerService.uid(),\n },\n ];\n this.convertedValue.set(newValue);\n }\n}\n"],"names":["i3","i5","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FM,MAAO,2BAA4B,SAAQ,iBAAsB,CAAA;AAjFvE,IAAA,WAAA,GAAA;;AAkFY,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;AAExC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAG9B,QAAA,IAAA,CAAA,cAAc,GAAoE,MAAM,CAAC,EAAE,CAAC,CAAC;AAE/F,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;AACtC,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,IAAI,IAAI,CAAC,QAAQ;AAAE,oBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;;AAClG,oBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC;aAC7D;iBAAM;gBACL,IAAI,IAAI,CAAC,QAAQ;AAAE,oBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC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AAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAIH,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAjFvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkET,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;wBACd,WAAW;wBACX,eAAe;wBACf,iBAAiB;wBACjB,iBAAiB;wBACjB,YAAY;AACb,qBAAA;AACD,oBAAA,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;AACjC,iBAAA,CAAA;;;;;"}
@@ -50,8 +50,8 @@ class AXPEmailWidgetViewComponent extends AXPWidgetBase {
50
50
  label: 'Primary',
51
51
  };
52
52
  }
53
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
54
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPEmailWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple", hasLabel: "hasLabel" }, usesInheritance: true, ngImport: i0, template: `
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
54
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPEmailWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple", hasLabel: "hasLabel" }, usesInheritance: true, ngImport: i0, template: `
55
55
  <div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
56
56
  <ng-container *ngIf="multiple">
57
57
  @for(item of list;track item?.value) {
@@ -85,7 +85,7 @@ class AXPEmailWidgetViewComponent extends AXPWidgetBase {
85
85
  </div>
86
86
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }] }); }
87
87
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetViewComponent, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailWidgetViewComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{
91
91
  template: `
@@ -128,4 +128,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
128
128
  }] });
129
129
 
130
130
  export { AXPEmailWidgetViewComponent };
131
- //# sourceMappingURL=acorex-platform-common-email-widget-view.component-C4M7KGUS.mjs.map
131
+ //# sourceMappingURL=acorex-platform-common-email-widget-view.component-BZtK5dMd.mjs.map