@acorex/platform 18.0.8 → 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 (810) 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/{editors/rich-text-widget/rich-text-widget-column.component.mjs → widgets/editors/link-widget/link-widget-designer.component.mjs} +5 -5
  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/number-box-widget/number-box-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 +14 -22
  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 +1855 -878
  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 +18 -7
  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/widgets/editors/contact-widget/contact-widget-column.component.d.ts +6 -0
  540. package/widgets/lib/widgets/editors/contact-widget/contact-widget-designer.component.d.ts +6 -0
  541. package/widgets/lib/widgets/editors/contact-widget/contact-widget-edit.component.d.ts +36 -0
  542. package/widgets/lib/widgets/editors/contact-widget/contact-widget-filter.component.d.ts +6 -0
  543. package/widgets/lib/widgets/editors/contact-widget/contact-widget-print.component.d.ts +6 -0
  544. package/widgets/lib/widgets/editors/contact-widget/contact-widget-view.component.d.ts +6 -0
  545. package/widgets/lib/widgets/editors/contact-widget/contact-widget.config.d.ts +2 -0
  546. package/widgets/lib/widgets/editors/contact-widget/index.d.ts +7 -0
  547. package/widgets/lib/widgets/editors/contact-widget/popup-component.d.ts +10 -0
  548. package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-column.component.d.ts +1 -1
  549. package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-edit.component.d.ts +1 -1
  550. package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-edit.component.d.ts +1 -1
  551. package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-edit.component.d.ts +8 -3
  552. package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-view.component.d.ts +16 -4
  553. package/widgets/lib/widgets/editors/file-box-widget/file-box-widget.service.d.ts +12 -0
  554. package/widgets/lib/{editors → widgets/editors}/file-box-widget/index.d.ts +4 -3
  555. package/widgets/lib/widgets/editors/large-text-widget/index.d.ts +7 -0
  556. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-column.component.d.ts +6 -0
  557. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-designer.component.d.ts +6 -0
  558. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-edit.component.d.ts +12 -0
  559. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-filter.component.d.ts +6 -0
  560. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-print.component.d.ts +6 -0
  561. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-view.component.d.ts +6 -0
  562. package/widgets/lib/widgets/editors/large-text-widget/large-text-widget.config.d.ts +2 -0
  563. package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-edit.component.d.ts +2 -9
  564. package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-edit.component.d.ts +1 -1
  565. package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-view.component.d.ts +1 -1
  566. package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-edit.component.d.ts +1 -1
  567. package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-column.component.d.ts +2 -2
  568. package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
  569. package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-edit.component.d.ts +1 -1
  570. package/widgets/lib/widgets/index.d.ts +21 -0
  571. package/widgets/lib/widgets/layout/repeater-widget/index.d.ts +7 -0
  572. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-column.component.d.ts +6 -0
  573. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-designer.component.d.ts +6 -0
  574. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-edit.component.d.ts +6 -0
  575. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-filter.component.d.ts +6 -0
  576. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-print.component.d.ts +6 -0
  577. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.d.ts +11 -0
  578. package/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.d.ts +2 -0
  579. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +0 -45
  580. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +0 -54
  581. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +0 -15
  582. package/esm2022/widgets/lib/editors/checkbox/index.mjs +0 -3
  583. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +0 -44
  584. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +0 -19
  585. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +0 -122
  586. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +0 -20
  587. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +0 -19
  588. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +0 -45
  589. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +0 -24
  590. package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +0 -8
  591. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +0 -66
  592. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +0 -19
  593. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +0 -228
  594. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +0 -20
  595. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +0 -19
  596. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +0 -111
  597. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +0 -24
  598. package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +0 -8
  599. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +0 -19
  600. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +0 -19
  601. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +0 -189
  602. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +0 -20
  603. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +0 -19
  604. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +0 -147
  605. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +0 -24
  606. package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +0 -8
  607. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +0 -19
  608. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +0 -19
  609. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +0 -172
  610. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +0 -20
  611. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +0 -19
  612. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +0 -2
  613. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +0 -159
  614. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +0 -24
  615. package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +0 -8
  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-print.component.mjs +0 -19
  634. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +0 -53
  635. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +0 -27
  636. package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +0 -8
  637. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +0 -19
  638. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +0 -20
  639. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +0 -19
  640. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +0 -73
  641. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +0 -24
  642. package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +0 -8
  643. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +0 -66
  644. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +0 -19
  645. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +0 -220
  646. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +0 -20
  647. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +0 -19
  648. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +0 -113
  649. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +0 -24
  650. package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +0 -8
  651. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +0 -19
  652. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +0 -20
  653. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +0 -19
  654. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +0 -39
  655. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +0 -24
  656. package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +0 -8
  657. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +0 -19
  658. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +0 -19
  659. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +0 -19
  660. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +0 -60
  661. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +0 -24
  662. package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +0 -8
  663. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +0 -41
  664. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +0 -19
  665. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +0 -20
  666. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +0 -19
  667. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +0 -41
  668. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +0 -24
  669. package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +0 -8
  670. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +0 -19
  671. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +0 -140
  672. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +0 -20
  673. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +0 -19
  674. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +0 -42
  675. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +0 -24
  676. package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +0 -8
  677. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +0 -20
  678. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +0 -19
  679. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +0 -121
  680. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +0 -20
  681. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +0 -19
  682. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +0 -40
  683. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +0 -25
  684. package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +0 -8
  685. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +0 -19
  686. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +0 -20
  687. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +0 -19
  688. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +0 -24
  689. package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +0 -39
  690. package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +0 -9
  691. package/esm2022/widgets/lib/layout/block-widget/index.mjs +0 -3
  692. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dxmnor_-.mjs.map +0 -1
  693. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CFCwedxX.mjs.map +0 -1
  694. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-CCTIjDb0.mjs.map +0 -1
  695. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget-column.component.d.ts +0 -0
  696. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget-edit.component.d.ts +0 -0
  697. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget-view.component.d.ts +0 -0
  698. /package/widgets/lib/{editors → widgets/editors}/checkbox/checkbox-widget.config.d.ts +0 -0
  699. /package/widgets/lib/{editors → widgets/editors}/checkbox/index.d.ts +0 -0
  700. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-designer.component.d.ts +0 -0
  701. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-filter.component.d.ts +0 -0
  702. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-print.component.d.ts +0 -0
  703. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget-view.component.d.ts +0 -0
  704. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/date-time-box-widget.config.d.ts +0 -0
  705. /package/widgets/lib/{editors → widgets/editors}/date-time-box-widget/index.d.ts +0 -0
  706. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-column.component.d.ts +0 -0
  707. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-designer.component.d.ts +0 -0
  708. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-filter.component.d.ts +0 -0
  709. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-print.component.d.ts +0 -0
  710. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget-view.component.d.ts +0 -0
  711. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/email-box-widget.config.d.ts +0 -0
  712. /package/widgets/lib/{editors → widgets/editors}/email-box-widget/index.d.ts +0 -0
  713. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-column.component.d.ts +0 -0
  714. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-designer.component.d.ts +0 -0
  715. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-filter.component.d.ts +0 -0
  716. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget-print.component.d.ts +0 -0
  717. /package/widgets/lib/{editors → widgets/editors}/file-box-widget/file-box-widget.config.d.ts +0 -0
  718. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-column.component.d.ts +0 -0
  719. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-designer.component.d.ts +0 -0
  720. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-edit.component.d.ts +0 -0
  721. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-filter.component.d.ts +0 -0
  722. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-print.component.d.ts +0 -0
  723. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-types.d.ts +0 -0
  724. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget-view.component.d.ts +0 -0
  725. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/gallery-widget.config.d.ts +0 -0
  726. /package/widgets/lib/{editors → widgets/editors}/gallery-widget/index.d.ts +0 -0
  727. /package/widgets/lib/{editors → widgets/editors}/link-widget/index.d.ts +0 -0
  728. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-column.component.d.ts +0 -0
  729. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-designer.component.d.ts +0 -0
  730. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-filter.component.d.ts +0 -0
  731. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-print.component.d.ts +0 -0
  732. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget-view.component.d.ts +0 -0
  733. /package/widgets/lib/{editors → widgets/editors}/link-widget/link-widget.config.d.ts +0 -0
  734. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/index.d.ts +0 -0
  735. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-column.component.d.ts +0 -0
  736. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-designer.component.d.ts +0 -0
  737. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-edit.component.d.ts +0 -0
  738. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-filter.component.d.ts +0 -0
  739. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-print.component.d.ts +0 -0
  740. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget-view.component.d.ts +0 -0
  741. /package/widgets/lib/{editors → widgets/editors}/map-box-widget/map-box-widget.config.d.ts +0 -0
  742. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/index.d.ts +0 -0
  743. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-column.component.d.ts +0 -0
  744. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-designer.component.d.ts +0 -0
  745. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-filter.component.d.ts +0 -0
  746. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-print.component.d.ts +0 -0
  747. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget-view.component.d.ts +0 -0
  748. /package/widgets/lib/{editors → widgets/editors}/number-box-widget/number-box-widget.config.d.ts +0 -0
  749. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/index.d.ts +0 -0
  750. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-column.component.d.ts +0 -0
  751. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-designer.component.d.ts +0 -0
  752. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-edit.component.d.ts +0 -0
  753. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-filter.component.d.ts +0 -0
  754. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget-print.component.d.ts +0 -0
  755. /package/widgets/lib/{editors → widgets/editors}/password-box-widget/password-box-widget.config.d.ts +0 -0
  756. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/index.d.ts +0 -0
  757. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-column.component.d.ts +0 -0
  758. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-designer.component.d.ts +0 -0
  759. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-filter.component.d.ts +0 -0
  760. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-print.component.d.ts +0 -0
  761. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget-view.component.d.ts +0 -0
  762. /package/widgets/lib/{editors → widgets/editors}/phone-box-widget/phone-box-widget.config.d.ts +0 -0
  763. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/index.d.ts +0 -0
  764. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-designer.component.d.ts +0 -0
  765. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-edit.component.d.ts +0 -0
  766. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-filter.component.d.ts +0 -0
  767. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-print.component.d.ts +0 -0
  768. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget-view.component.d.ts +0 -0
  769. /package/widgets/lib/{editors → widgets/editors}/rich-text-widget/rich-text-widget.config.d.ts +0 -0
  770. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/index.d.ts +0 -0
  771. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-column.component.d.ts +0 -0
  772. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-designer.component.d.ts +0 -0
  773. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-edit.component.d.ts +0 -0
  774. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-filter.component.d.ts +0 -0
  775. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-print.component.d.ts +0 -0
  776. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget-view.component.d.ts +0 -0
  777. /package/widgets/lib/{editors → widgets/editors}/select-box-widget/select-box-widget.config.d.ts +0 -0
  778. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/index.d.ts +0 -0
  779. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-column.component.d.ts +0 -0
  780. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-designer.component.d.ts +0 -0
  781. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-edit.component.d.ts +0 -0
  782. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-filter.component.d.ts +0 -0
  783. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-print.component.d.ts +0 -0
  784. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget-view.component.d.ts +0 -0
  785. /package/widgets/lib/{editors → widgets/editors}/selection-list-widget/selection-list-widget.config.d.ts +0 -0
  786. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/index.d.ts +0 -0
  787. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-column.component.d.ts +0 -0
  788. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-designer.component.d.ts +0 -0
  789. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-edit.component.d.ts +0 -0
  790. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-filter.component.d.ts +0 -0
  791. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget-print.component.d.ts +0 -0
  792. /package/widgets/lib/{editors → widgets/editors}/signature-pad-widget/signature-pad-widget.config.d.ts +0 -0
  793. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/index.d.ts +0 -0
  794. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-column.component.d.ts +0 -0
  795. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-designer.component.d.ts +0 -0
  796. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-filter.component.d.ts +0 -0
  797. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-print.component.d.ts +0 -0
  798. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget-view.component.d.ts +0 -0
  799. /package/widgets/lib/{editors → widgets/editors}/text-box-widget/text-box-widget.config.d.ts +0 -0
  800. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/index.d.ts +0 -0
  801. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-column.component.d.ts +0 -0
  802. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-designer.component.d.ts +0 -0
  803. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-edit.component.d.ts +0 -0
  804. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-filter.component.d.ts +0 -0
  805. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-print.component.d.ts +0 -0
  806. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget-view.component.d.ts +0 -0
  807. /package/widgets/lib/{editors → widgets/editors}/toggle-widget/toggle-widget.config.d.ts +0 -0
  808. /package/widgets/lib/{layout → widgets/layout}/block-widget/block-widget.component.d.ts +0 -0
  809. /package/widgets/lib/{layout → widgets/layout}/block-widget/block-widget.config.d.ts +0 -0
  810. /package/widgets/lib/{layout → widgets/layout}/block-widget/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-email-widget-view.component-C4M7KGUS.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/email/email-widget-view.component.ts"],"sourcesContent":["import { AXBadgeModule } from '@acorex/components/badge';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\nimport { AXPClipBoardService } from '../../../utils';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2 \">\n <ng-container *ngIf=\"multiple\">\n @for(item of list;track item?.value) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: item }\"></ng-template>\n }\n </ng-container>\n <ng-container *ngIf=\"!multiple\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: list[0] }\"></ng-template>\n </ng-container>\n <ng-template #itemTemplate let-item=\"data\">\n <ng-container *ngIf=\"item\">\n <div class=\"ax-col-start-1 ax-col-end-10 lg:ax-col-end-7\">\n <div class=\"ax-flex ax-flex-1 ax-gap-1 lg:ax-gap-3 ax-group ax-items-center ax-w-max\">\n <div class=\"ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center\">\n <i class=\"fa-solid ax-text-neutral-400 fa-envelope\"></i>\n </div>\n <a class=\"group-hover:!ax-text-primary-500\" href=\"tel:{{ item.value }}\">{{ item.value }}</a>\n <span\n class=\"ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500\"\n (click)=\"clipboard.copy('Email', item.value)\"\n >\n <i class=\"fa-solid fa-copy \"></i>\n </span>\n @if(hasLabel){\n <ax-badge color=\"primary\" [look]=\"'twotone'\" [text]=\"item.label\"></ax-badge>\n }\n </div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n `,\n standalone: true,\n imports: [CommonModule, AXBadgeModule],\n inputs: ['context', 'value', 'multiple', 'hasLabel'],\n})\nexport class AXPEmailWidgetViewComponent extends AXPWidgetBase {\n protected clipboard = inject(AXPClipBoardService);\n protected multiple!: boolean;\n protected hasLabel!: boolean;\n\n protected list: { value: string; label: string }[] = [];\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) return;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n value: item.value ?? '-',\n label: item.label ?? 'Primary',\n }\n : {\n value: item,\n label: 'Primary',\n };\n }\n}\n"],"names":["i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CM,MAAO,2BAA4B,SAAQ,aAAa,CAAA;AAtC9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A,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCT,EAES,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,ySAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG1B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAtCvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC;AACrD,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-email-widget-view.component-BZtK5dMd.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/email/email-widget-view.component.ts"],"sourcesContent":["import { AXBadgeModule } from '@acorex/components/badge';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\nimport { AXPClipBoardService } from '../../../utils';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2 \">\n <ng-container *ngIf=\"multiple\">\n @for(item of list;track item?.value) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: item }\"></ng-template>\n }\n </ng-container>\n <ng-container *ngIf=\"!multiple\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: list[0] }\"></ng-template>\n </ng-container>\n <ng-template #itemTemplate let-item=\"data\">\n <ng-container *ngIf=\"item\">\n <div class=\"ax-col-start-1 ax-col-end-10 lg:ax-col-end-7\">\n <div class=\"ax-flex ax-flex-1 ax-gap-1 lg:ax-gap-3 ax-group ax-items-center ax-w-max\">\n <div class=\"ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center\">\n <i class=\"fa-solid ax-text-neutral-400 fa-envelope\"></i>\n </div>\n <a class=\"group-hover:!ax-text-primary-500\" href=\"tel:{{ item.value }}\">{{ item.value }}</a>\n <span\n class=\"ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500\"\n (click)=\"clipboard.copy('Email', item.value)\"\n >\n <i class=\"fa-solid fa-copy \"></i>\n </span>\n @if(hasLabel){\n <ax-badge color=\"primary\" [look]=\"'twotone'\" [text]=\"item.label\"></ax-badge>\n }\n </div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n `,\n standalone: true,\n imports: [CommonModule, AXBadgeModule],\n inputs: ['context', 'value', 'multiple', 'hasLabel'],\n})\nexport class AXPEmailWidgetViewComponent extends AXPWidgetBase {\n protected clipboard = inject(AXPClipBoardService);\n protected multiple!: boolean;\n protected hasLabel!: boolean;\n\n protected list: { value: string; label: string }[] = [];\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) return;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n value: item.value ?? '-',\n label: item.label ?? 'Primary',\n }\n : {\n value: item,\n label: 'Primary',\n };\n }\n}\n"],"names":["i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CM,MAAO,2BAA4B,SAAQ,aAAa,CAAA;AAtC9D,IAAA,WAAA,GAAA;;AAuC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QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCT,EAES,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,ySAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG1B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAtCvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC;AACrD,iBAAA,CAAA;;;;;"}
@@ -32,10 +32,10 @@ class AXPFileWidgetColumnComponent extends AXPWidgetBase {
32
32
  render() {
33
33
  this.hasFile = !isEmpty(this.rawValue);
34
34
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPFileWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", multiple: "multiple", width: "width", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: ` <i class="fa-regular fa-paperclip-vertical fa-xl ax-cursor-pointer"></i> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPFileWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", multiple: "multiple", width: "width", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: ` <i class="fa-regular fa-paperclip-vertical fa-xl ax-cursor-pointer"></i> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetColumnComponent, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetColumnComponent, decorators: [{
39
39
  type: Component,
40
40
  args: [{
41
41
  template: ` <i class="fa-regular fa-paperclip-vertical fa-xl ax-cursor-pointer"></i> `,
@@ -47,4 +47,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
47
47
  }] });
48
48
 
49
49
  export { AXPFileWidgetColumnComponent };
50
- //# sourceMappingURL=acorex-platform-common-file-widget-column.component-CwFzLLHt.mjs.map
50
+ //# sourceMappingURL=acorex-platform-common-file-widget-column.component-DpcUmwAT.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-file-widget-column.component-CwFzLLHt.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-column.component.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { isEmpty } from 'lodash-es';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n\n@Component({\n template: ` <i class=\"fa-regular fa-paperclip-vertical fa-xl ax-cursor-pointer\"></i> `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule],\n inputs: ['context', 'multiple', 'width', 'allowResizing'],\n})\nexport class AXPFileWidgetColumnComponent extends AXPWidgetBase {\n protected hasFile: boolean = false;\n\n override render() {\n this.hasFile = !isEmpty(this.rawValue);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAYM,MAAO,4BAA6B,SAAQ,aAAa,CAAA;AAP/D,IAAA,WAAA,GAAA;;QAQY,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;AAKpC,KAAA;IAHU,MAAM,GAAA;QACb,IAAI,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACxC;8GALU,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,UAAA,EAAA,KAAA,EAAA,OAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAN7B,CAA4E,0EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAG5E,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGX,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAPxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAA4E,0EAAA,CAAA;AACtF,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC;AAC1D,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-file-widget-column.component-DpcUmwAT.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-column.component.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { isEmpty } from 'lodash-es';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n\n@Component({\n template: ` <i class=\"fa-regular fa-paperclip-vertical fa-xl ax-cursor-pointer\"></i> `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule],\n inputs: ['context', 'multiple', 'width', 'allowResizing'],\n})\nexport class AXPFileWidgetColumnComponent extends AXPWidgetBase {\n protected hasFile: boolean = false;\n\n override render() {\n this.hasFile = !isEmpty(this.rawValue);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAYM,MAAO,4BAA6B,SAAQ,aAAa,CAAA;AAP/D,IAAA,WAAA,GAAA;;QAQY,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;AAKpC,KAAA;IAHU,MAAM,GAAA;QACb,IAAI,CAAC,OAAO,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACxC;8GALU,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,UAAA,EAAA,KAAA,EAAA,OAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAN7B,CAA4E,0EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAG5E,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGX,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAPxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAA4E,0EAAA,CAAA;AACtF,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC;AAC1D,iBAAA,CAAA;;;;;"}
@@ -90,8 +90,8 @@ class AXPFileWidgetEditComponent extends AXPWidgetEditBase {
90
90
  ];
91
91
  }
92
92
  }
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
94
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPFileWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
93
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
94
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPFileWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
95
95
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
96
96
  <ng-container *ngIf="multiple">
97
97
  @for(item of value;track item?.value) {
@@ -148,9 +148,9 @@ class AXPFileWidgetEditComponent extends AXPWidgetEditBase {
148
148
  </ax-prefix>
149
149
  </ax-button>
150
150
  </div>
151
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: "ngmodule", type: AXTextBoxModule }, { 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 }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
151
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: "ngmodule", type: AXTextBoxModule }, { 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 }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
152
152
  }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetEditComponent, decorators: [{
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetEditComponent, decorators: [{
154
154
  type: Component,
155
155
  args: [{
156
156
  template: `
@@ -219,4 +219,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
219
219
  }] });
220
220
 
221
221
  export { AXPFileWidgetEditComponent };
222
- //# sourceMappingURL=acorex-platform-common-file-widget-edit.component-ZXhaXwWN.mjs.map
222
+ //# sourceMappingURL=acorex-platform-common-file-widget-edit.component-CNLXguLn.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-file-widget-edit.component-ZXhaXwWN.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } 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 value;track item?.value) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: item }\" ]></ng-template>\n }\n </ng-container>\n <ng-container *ngIf=\"!multiple\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: value[0] }\" ]></ng-template>\n </ng-container>\n <ng-template #itemTemplate let-item=\"data\">\n <div\n *ngIf=\"item\"\n class=\"ax-flex ax-items-center ax-justify-between ax-p-2 ax-border ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-11 lg:ax-col-end-12\"\n >\n <div class=\"ax-flex ax-items-center ax-justify-between ax-gap-3\">\n <ng-container *ngIf=\"getFileInfo(item.name) as fileInfo\">\n <div\n class=\"ax-w-10 ax-h-10 ax-rounded-lg ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[fileInfo.color]\"\n >\n <i [ngClass]=\"['fa-solid', 'ax-text-xl', fileInfo.icon]\"></i>\n </div>\n </ng-container>\n <div>\n <div class=\"ax-leading-6\">{{ item.name }}</div>\n <p class=\"ax-text-sm ax-text-neutral-400\">250 KB</p>\n </div>\n </div>\n <ax-button look=\"blank\" color=\"ghost\" class=\"!ax-text-neutral-400 hover:!ax-text-neutral-600\">\n <ax-icon>\n <i class=\"fa-solid fa-download\"></i>\n </ax-icon>\n </ax-button>\n </div>\n <ax-button\n *ngIf=\"multiple\"\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 ax-justify-self-end ax-items ax-self-center\"\n >\n <ax-icon icon=\"fa-regular fa-xmark\"></ax-icon>\n </ax-button>\n </ng-template>\n <ax-button\n *ngIf=\"multiple\"\n [text]=\"value.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: [CommonModule, AXButtonModule, FormsModule, AXTextBoxModule, AXDecoratorModule, AXSelectBoxModule],\n inputs: ['multiple'],\n})\nexport class AXPFileWidgetEditComponent extends AXPWidgetEditBase<\n { value?: string | null; label?: string | undefined }[]\n> {\n protected multiple!: boolean;\n\n protected handleAddItem() { }\n\n protected handleRemoveItem(item: any) {\n this.value = this.value.filter((c) => c != item);\n }\n\n protected getFileInfo(fileName: string): { icon: string; color: string } {\n const extension = fileName?.split('.')?.pop()?.toLowerCase();\n\n switch (extension) {\n case 'txt':\n return { icon: 'fa-file-alt', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'pdf':\n return { icon: 'fa-file-pdf', color: 'ax-bg-red-100 ax-text-red-500' };\n\n case 'doc':\n case 'docx':\n return { icon: 'fa-file-word', color: 'ax-bg-blue-200 ax-text-blue-600' };\n\n case 'xls':\n case 'xlsx':\n return { icon: 'fa-file-excel', color: 'ax-bg-green-100 ax-text-green-500' };\n\n case 'ppt':\n case 'pptx':\n return { icon: 'fa-file-powerpoint', color: 'ax-bg-orange-100 ax-text-orange-500' };\n\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: 'fa-file-image', color: 'ax-bg-purple-100 ax-text-purple-500' };\n\n case 'zip':\n case 'rar':\n case '7z':\n return { icon: 'fa-file-archive', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-file-audio', color: 'ax-bg-pink-100 ax-text-pink-500' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-file-video', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'js':\n case 'jsx':\n case 'ts':\n case 'tsx':\n return { icon: 'fa-file-code', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n // Add more cases as needed for other file types\n\n default:\n return { icon: 'fa-file', color: 'ax-bg-gray-100 ax-text-gray-500' };\n }\n }\n\n ngOnInit(): void {\n if (!this.value || this.value?.length == 0) {\n this.value = [\n {\n label: 'Mobile',\n value: '',\n },\n ];\n }\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEM,MAAO,0BAA2B,SAAQ,iBAE/C,CAAA;AAGW,IAAA,aAAa,MAAM;AAEnB,IAAA,gBAAgB,CAAC,IAAS,EAAA;AAClC,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC;KAClD;AAES,IAAA,WAAW,CAAC,QAAgB,EAAA;AACpC,QAAA,MAAM,SAAS,GAAG,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,CAAC;QAE7D,QAAQ,SAAS;AACf,YAAA,KAAK,KAAK;gBACR,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,iCAAiC,EAAE,CAAC;AAE3E,YAAA,KAAK,KAAK;gBACR,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,+BAA+B,EAAE,CA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EAAA,CAAA;kBAhEtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;oBAC3G,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-file-widget-edit.component-CNLXguLn.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } 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 value;track item?.value) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: item }\" ]></ng-template>\n }\n </ng-container>\n <ng-container *ngIf=\"!multiple\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ data: value[0] }\" ]></ng-template>\n </ng-container>\n <ng-template #itemTemplate let-item=\"data\">\n <div\n *ngIf=\"item\"\n class=\"ax-flex ax-items-center ax-justify-between ax-p-2 ax-border ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-11 lg:ax-col-end-12\"\n >\n <div class=\"ax-flex ax-items-center ax-justify-between ax-gap-3\">\n <ng-container *ngIf=\"getFileInfo(item.name) as fileInfo\">\n <div\n class=\"ax-w-10 ax-h-10 ax-rounded-lg ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[fileInfo.color]\"\n >\n <i [ngClass]=\"['fa-solid', 'ax-text-xl', fileInfo.icon]\"></i>\n </div>\n </ng-container>\n <div>\n <div class=\"ax-leading-6\">{{ item.name }}</div>\n <p class=\"ax-text-sm ax-text-neutral-400\">250 KB</p>\n </div>\n </div>\n <ax-button look=\"blank\" color=\"ghost\" class=\"!ax-text-neutral-400 hover:!ax-text-neutral-600\">\n <ax-icon>\n <i class=\"fa-solid fa-download\"></i>\n </ax-icon>\n </ax-button>\n </div>\n <ax-button\n *ngIf=\"multiple\"\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 ax-justify-self-end ax-items ax-self-center\"\n >\n <ax-icon icon=\"fa-regular fa-xmark\"></ax-icon>\n </ax-button>\n </ng-template>\n <ax-button\n *ngIf=\"multiple\"\n [text]=\"value.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: [CommonModule, AXButtonModule, FormsModule, AXTextBoxModule, AXDecoratorModule, AXSelectBoxModule],\n inputs: ['multiple'],\n})\nexport class AXPFileWidgetEditComponent extends AXPWidgetEditBase<\n { value?: string | null; label?: string | undefined }[]\n> {\n protected multiple!: boolean;\n\n protected handleAddItem() { }\n\n protected handleRemoveItem(item: any) {\n this.value = this.value.filter((c) => c != item);\n }\n\n protected getFileInfo(fileName: string): { icon: string; color: string } {\n const extension = fileName?.split('.')?.pop()?.toLowerCase();\n\n switch (extension) {\n case 'txt':\n return { icon: 'fa-file-alt', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'pdf':\n return { icon: 'fa-file-pdf', color: 'ax-bg-red-100 ax-text-red-500' };\n\n case 'doc':\n case 'docx':\n return { icon: 'fa-file-word', color: 'ax-bg-blue-200 ax-text-blue-600' };\n\n case 'xls':\n case 'xlsx':\n return { icon: 'fa-file-excel', color: 'ax-bg-green-100 ax-text-green-500' };\n\n case 'ppt':\n case 'pptx':\n return { icon: 'fa-file-powerpoint', color: 'ax-bg-orange-100 ax-text-orange-500' };\n\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: 'fa-file-image', color: 'ax-bg-purple-100 ax-text-purple-500' };\n\n case 'zip':\n case 'rar':\n case '7z':\n return { icon: 'fa-file-archive', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-file-audio', color: 'ax-bg-pink-100 ax-text-pink-500' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-file-video', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'js':\n case 'jsx':\n case 'ts':\n case 'tsx':\n return { icon: 'fa-file-code', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n // Add more cases as needed for other file types\n\n default:\n return { icon: 'fa-file', color: 'ax-bg-gray-100 ax-text-gray-500' };\n }\n }\n\n ngOnInit(): void {\n if (!this.value || this.value?.length == 0) {\n this.value = [\n {\n label: 'Mobile',\n value: '',\n },\n ];\n }\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEM,MAAO,0BAA2B,SAAQ,iBAE/C,CAAA;AAGW,IAAA,aAAa,MAAM;AAEnB,IAAA,gBAAgB,CAAC,IAAS,EAAA;AAClC,QAAA,IAA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AA,WAAW,8BAAE,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,+IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,iBAAiB,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG/F,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAhEtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;oBAC3G,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
@@ -29,12 +29,12 @@ import '@acorex/core/format';
29
29
  import 'rxjs/operators';
30
30
 
31
31
  class AXPFileWidgetFilterComponent extends AXPWidgetFilterBase {
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPFileWidgetFilterComponent, isStandalone: true, selector: "ng-component", inputs: { value: "value", operator: "operator" }, outputs: { valueChange: "valueChange", operatorChange: "operatorChange" }, usesInheritance: true, ngImport: i0, template: `
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPFileWidgetFilterComponent, isStandalone: true, selector: "ng-component", inputs: { value: "value", operator: "operator" }, outputs: { valueChange: "valueChange", operatorChange: "operatorChange" }, usesInheritance: true, ngImport: i0, template: `
34
34
  <ax-select-box [(ngModel)]="value" [placeholder]="'Has file'" [dataSource]="['Yes', 'No']"></ax-select-box>
35
35
  `, isInline: true, dependencies: [{ 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: 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 }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetFilterComponent, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetFilterComponent, decorators: [{
38
38
  type: Component,
39
39
  args: [{
40
40
  template: `
@@ -49,4 +49,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
49
49
  }] });
50
50
 
51
51
  export { AXPFileWidgetFilterComponent };
52
- //# sourceMappingURL=acorex-platform-common-file-widget-filter.component-DqYmxdx_.mjs.map
52
+ //# sourceMappingURL=acorex-platform-common-file-widget-filter.component-Dwt-LYWG.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-file-widget-filter.component-DqYmxdx_.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-filter.component.ts"],"sourcesContent":["import { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\n@Component({\n template: `\n <ax-select-box [(ngModel)]=\"value\" [placeholder]=\"'Has file'\" [dataSource]=\"['Yes', 'No']\"></ax-select-box>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXSelectBoxModule, FormsModule],\n outputs: ['valueChange', 'operatorChange'],\n inputs: ['value', 'operator'],\n})\nexport class AXPFileWidgetFilterComponent extends AXPWidgetFilterBase { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcM,MAAO,4BAA6B,SAAQ,mBAAmB,CAAA;8GAAxD,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,EAT7B,YAAA,EAAA,IAAA,EAAA,QAAA,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G.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-filter.component.ts"],"sourcesContent":["import { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\n@Component({\n template: `\n <ax-select-box [(ngModel)]=\"value\" [placeholder]=\"'Has file'\" [dataSource]=\"['Yes', 'No']\"></ax-select-box>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXSelectBoxModule, FormsModule],\n outputs: ['valueChange', 'operatorChange'],\n inputs: ['value', 'operator'],\n})\nexport class AXPFileWidgetFilterComponent extends AXPWidgetFilterBase { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcM,MAAO,4BAA6B,SAAQ,mBAAmB,CAAA;8GAAxD,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,EAT7B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;GAET,EAGS,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,yiBAAE,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;;2FAI7B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAVxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;AAET,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,WAAW,CAAC;AACzC,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,gBAAgB,CAAC;AAC1C,oBAAA,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;AAC9B,iBAAA,CAAA;;;;;"}
@@ -89,8 +89,8 @@ class AXPFileWidgetViewComponent extends AXPWidgetBase {
89
89
  }
90
90
  : null;
91
91
  }
92
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
93
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPFileWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
93
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPFileWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
94
94
  <div class="ax-grid ax-grid-cols-12 ax-gap-2">
95
95
  @if(multiple){ @for(item of list;let first=$first;track item.name) {
96
96
  <ng-template [ngTemplateOutlet]="itemTemplate" ] [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
@@ -124,9 +124,9 @@ class AXPFileWidgetViewComponent extends AXPWidgetBase {
124
124
  </div>
125
125
  </ng-template>
126
126
  </div>
127
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
127
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
128
128
  }
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetViewComponent, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileWidgetViewComponent, decorators: [{
130
130
  type: Component,
131
131
  args: [{
132
132
  template: `
@@ -172,4 +172,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
172
172
  }] });
173
173
 
174
174
  export { AXPFileWidgetViewComponent };
175
- //# sourceMappingURL=acorex-platform-common-file-widget-view.component-B0C9oJLT.mjs.map
175
+ //# sourceMappingURL=acorex-platform-common-file-widget-view.component-CjDhjHQR.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-file-widget-view.component-B0C9oJLT.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(multiple){ @for(item of list;let first=$first;track item.name) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" ] [ngTemplateOutletContext]=\"{ data: item }\" ]></ng-template>\n } }@else {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" ] [ngTemplateOutletContext]=\"{ data: list[0] }\" ]></ng-template>\n }\n <ng-template #itemTemplate let-item=\"data\">\n <div\n *ngIf=\"item\"\n class=\"ax-flex ax-items-center ax-justify-between ax-p-2 ax-border ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13 lg:ax-col-end-7 2xl:ax-col-end-5\"\n >\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n <ng-container *ngIf=\"getFileInfo(item.name) as fileInfo\">\n <div\n class=\"ax-w-10 ax-h-10 ax-rounded-lg ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[fileInfo.color]\"\n >\n <i [ngClass]=\"['fa-solid', 'ax-text-xl', fileInfo.icon]\"></i>\n </div>\n </ng-container>\n <div>\n <div class=\"ax-leading-6\">{{ item.name }}</div>\n <p class=\"ax-text-sm ax-text-neutral-400\">250 KB</p>\n </div>\n </div>\n <ax-button look=\"blank\" color=\"ghost\" class=\"!ax-text-neutral-400 hover:!ax-text-neutral-600\">\n <ax-icon>\n <i class=\"fa-solid fa-download\"></i>\n </ax-icon>\n </ax-button>\n </div>\n </ng-template>\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule],\n inputs: ['context', 'value', 'multiple'],\n})\nexport class AXPFileWidgetViewComponent extends AXPWidgetBase {\n protected list: { name: string; type: string }[] = [];\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n }\n\n protected getFileInfo(fileName: string): { icon: string; color: string } {\n const extension = fileName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'txt':\n return { icon: 'fa-file-alt', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'pdf':\n return { icon: 'fa-file-pdf', color: 'ax-bg-red-100 ax-text-red-500' };\n\n case 'doc':\n case 'docx':\n return { icon: 'fa-file-word', color: 'ax-bg-blue-200 ax-text-blue-600' };\n\n case 'xls':\n case 'xlsx':\n return { icon: 'fa-file-excel', color: 'ax-bg-green-100 ax-text-green-500' };\n\n case 'ppt':\n case 'pptx':\n return { icon: 'fa-file-powerpoint', color: 'ax-bg-orange-100 ax-text-orange-500' };\n\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: 'fa-file-image', color: 'ax-bg-purple-100 ax-text-purple-500' };\n\n case 'zip':\n case 'rar':\n case '7z':\n return { icon: 'fa-file-archive', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-file-audio', color: 'ax-bg-pink-100 ax-text-pink-500' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-file-video', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'js':\n case 'jsx':\n case 'ts':\n case 'tsx':\n return { icon: 'fa-file-code', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n // Add more cases as needed for other file types\n\n default:\n return { icon: 'fa-file', color: 'ax-bg-gray-100 ax-text-gray-500' };\n }\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n name: item.name,\n type: item.type ?? 'Unknown',\n }\n : null;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CM,MAAO,0BAA2B,SAAQ,aAAa,CAAA;AAzC7D,IAAA,WAAA,GAAA;;QA0CY,IAAI,CAAA,IAAA,GAAqC,EAAE,CAAC;AA0EvD,KAAA;IAvEU,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IA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A,kBAAA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,mBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,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;;2FAG9C,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAzCtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,CAAC;AAC1D,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC;AACzC,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-file-widget-view.component-CjDhjHQR.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/file/file-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { AXPWidgetBase } from '../../widget/widget-base';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(multiple){ @for(item of list;let first=$first;track item.name) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" ] [ngTemplateOutletContext]=\"{ data: item }\" ]></ng-template>\n } }@else {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" ] [ngTemplateOutletContext]=\"{ data: list[0] }\" ]></ng-template>\n }\n <ng-template #itemTemplate let-item=\"data\">\n <div\n *ngIf=\"item\"\n class=\"ax-flex ax-items-center ax-justify-between ax-p-2 ax-border ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13 lg:ax-col-end-7 2xl:ax-col-end-5\"\n >\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n <ng-container *ngIf=\"getFileInfo(item.name) as fileInfo\">\n <div\n class=\"ax-w-10 ax-h-10 ax-rounded-lg ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[fileInfo.color]\"\n >\n <i [ngClass]=\"['fa-solid', 'ax-text-xl', fileInfo.icon]\"></i>\n </div>\n </ng-container>\n <div>\n <div class=\"ax-leading-6\">{{ item.name }}</div>\n <p class=\"ax-text-sm ax-text-neutral-400\">250 KB</p>\n </div>\n </div>\n <ax-button look=\"blank\" color=\"ghost\" class=\"!ax-text-neutral-400 hover:!ax-text-neutral-600\">\n <ax-icon>\n <i class=\"fa-solid fa-download\"></i>\n </ax-icon>\n </ax-button>\n </div>\n </ng-template>\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule],\n inputs: ['context', 'value', 'multiple'],\n})\nexport class AXPFileWidgetViewComponent extends AXPWidgetBase {\n protected list: { name: string; type: string }[] = [];\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n }\n\n protected getFileInfo(fileName: string): { icon: string; color: string } {\n const extension = fileName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'txt':\n return { icon: 'fa-file-alt', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'pdf':\n return { icon: 'fa-file-pdf', color: 'ax-bg-red-100 ax-text-red-500' };\n\n case 'doc':\n case 'docx':\n return { icon: 'fa-file-word', color: 'ax-bg-blue-200 ax-text-blue-600' };\n\n case 'xls':\n case 'xlsx':\n return { icon: 'fa-file-excel', color: 'ax-bg-green-100 ax-text-green-500' };\n\n case 'ppt':\n case 'pptx':\n return { icon: 'fa-file-powerpoint', color: 'ax-bg-orange-100 ax-text-orange-500' };\n\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: 'fa-file-image', color: 'ax-bg-purple-100 ax-text-purple-500' };\n\n case 'zip':\n case 'rar':\n case '7z':\n return { icon: 'fa-file-archive', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-file-audio', color: 'ax-bg-pink-100 ax-text-pink-500' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-file-video', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'js':\n case 'jsx':\n case 'ts':\n case 'tsx':\n return { icon: 'fa-file-code', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n // Add more cases as needed for other file types\n\n default:\n return { icon: 'fa-file', color: 'ax-bg-gray-100 ax-text-gray-500' };\n }\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n name: item.name,\n type: item.type ?? 'Unknown',\n }\n : null;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CM,MAAO,0BAA2B,SAAQ,aAAa,CAAA;AAzC7D,IAAA,WAAA,GAAA;;QA0CY,IAAI,CAAA,IAAA,GAAqC,EAAE,CAAC;AA0EvD,KAAA;IAvEU,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,QAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,C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WAAA,EAAA,IAAA,EAAA,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;;2FAG9C,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAzCtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,CAAC;AAC1D,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC;AACzC,iBAAA,CAAA;;;;;"}
@@ -68,8 +68,8 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetEditBase {
68
68
  return { icon: '', format: 'image' };
69
69
  }
70
70
  }
71
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
72
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPGalleryWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
72
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGalleryWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
73
73
  <div class="ax-grid ax-grid-cols-12 ax-gap-2">
74
74
  @if(list().length){
75
75
  <div class="ax-col-start-1 ax-col-end-13 ax-flex ax-items-center lg:ax-justify-start ax-justify-center ">
@@ -131,9 +131,9 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetEditBase {
131
131
 
132
132
  }
133
133
  </div>
134
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { 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: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "component", type: i5.AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone" }, { kind: "directive", type: i5.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple"] }, { kind: "directive", type: i5.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
134
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { 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: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "component", type: i5.AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone", inputs: ["description"] }, { kind: "directive", type: i5.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple", "accept"], outputs: ["onChanged", "onFileUploadComplete", "onFilesUploadComplete"] }, { kind: "directive", type: i5.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
135
135
  }
136
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetEditComponent, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetEditComponent, decorators: [{
137
137
  type: Component,
138
138
  args: [{
139
139
  template: `
@@ -207,4 +207,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
207
207
  }] });
208
208
 
209
209
  export { AXPGalleryWidgetEditComponent };
210
- //# sourceMappingURL=acorex-platform-common-gallery-widget-edit.component-DB0-6pik.mjs.map
210
+ //# sourceMappingURL=acorex-platform-common-gallery-widget-edit.component-CzKFKaPH.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-gallery-widget-edit.component-DB0-6pik.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/gallery/gallery-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXUploaderModule } from '@acorex/components/uploader';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Signal, WritableSignal, computed, signal } from '@angular/core';\nimport { AXPMediaInfo, AXPMediaItem } from './gallery-widget-types';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(list().length){\n <div class=\"ax-col-start-1 ax-col-end-13 ax-flex ax-items-center lg:ax-justify-start ax-justify-center \">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-4 ax-w-full\">\n @switch (getMediaInfo(activeMedia()?.name||'').format) { @case ('video') {\n <video\n class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto ax-shadow-md\"\n controls\n [src]=\"activeMedia()?.url\"\n ></video>\n } @case ('image') {\n <ax-image class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto\" [src]=\"activeMedia()?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder>\n <div\n class=\"ax-w-96 ax-h-72 ax-gap-4 ax-flex ax-flex-col ax-items-center ax-justify-center ax-border ax-rounded-lg\"\n >\n <ax-icon class=\"fa-solid fa-circle-exclamation ax-text-3xl\"> </ax-icon>\n <span>Connection Error!</span>\n </div>\n </ax-placeholder>\n </ax-image>\n } @case ('audio') {\n <audio controls class=\"ax-rounded-lg\">\n <source [src]=\"activeMedia()?.url\" type=\"audio/mp3\" />\n </audio>\n } }\n <div class=\"ax-flex ax-gap-4 ax-overflow-x-auto ax-max-w-[320px] lg:ax-max-w-[480px] ax-pb-2\">\n @for (media of thumbnails(); track $index) {\n <div\n *ngIf=\"getMediaInfo(media.name) as mediaInfo\"\n class=\"hover:ax-opacity-75 ax-transition-all ax-relative ax-cursor-pointer ax-flex ax-justify-center ax-items-center\"\n (click)=\"changeMediaSelected(media)\"\n >\n <ax-image\n class=\"ax-w-16 ax-brightness-50 ax-h-16 ax-rounded-lg ax-shadow-md ax-filter\"\n [src]=\"mediaInfo.format == 'image' ? media.url : media.posterUrl\"\n ></ax-image>\n <div class=\"ax-absolute ax-text-neutral-300 ax-text-xl\">\n <ax-icon [class]=\"mediaInfo.icon\"> </ax-icon>\n </div>\n </div>\n }\n <div axUploaderZone>\n <div\n axUploaderBrowseHandle\n class=\"ax-flex ax-justify-center ax-items-center ax-w-16 ax-h-16 ax-border ax-rounded-lg ax-cursor-pointer\"\n >\n <ax-icon class=\"fa-solid fa-plus ax-text-neutral-500\"> </ax-icon>\n </div>\n </div>\n </div>\n </div>\n </div>\n } @else {\n <div class=\" ax-col-start-1 ax-col-end-13\">\n <ax-uploader-drop-zone></ax-uploader-drop-zone>\n </div>\n\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXImageModule, AXLoadingModule, AXUploaderModule],\n inputs: ['multiple'],\n})\nexport class AXPGalleryWidgetEditComponent extends AXPWidgetEditBase {\n protected multiple!: boolean;\n protected activeMedia: WritableSignal<AXPMediaItem | null> = signal(null);\n protected list: WritableSignal<AXPMediaItem[]> = signal([]);\n protected thumbnails: Signal<AXPMediaItem[]> = computed(() =>\n this.list().filter((i) => i.id !== this.activeMedia()?.id)\n );\n\n ngAfterViewInit(): void {\n const parsedValue = this.value ? JSON.parse(this.value) : [];\n this.list.set(Array.isArray(parsedValue) ? parsedValue.map((c) => c) : [parsedValue]);\n this.activeMedia.set(this.list()[0]);\n }\n\n changeMediaSelected(media: AXPMediaItem) {\n this.activeMedia.set(media);\n }\n\n protected getMediaInfo(mediaName: string): AXPMediaInfo {\n const extension = mediaName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: '', format: 'image' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-regular fa-play', format: 'video' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-regular fa-volume-high', format: 'audio' };\n\n default:\n return { icon: '', format: 'image' };\n }\n }\n}\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFM,MAAO,6BAA8B,SAAQ,iBAAiB,CAAA;AArEpE,IAAA,WAAA,GAAA;;AAuEY,QAAA,IAAA,CAAA,WAAW,GAAwC,MAAM,CAAC,IAAI,CAAC,CAAC;AAChE,QAAA,IAAA,CAAA,IAAI,GAAmC,MAAM,CAAC,EAAE,CAAC,CAAC;AAClD,QAAA,IAAA,CAAA,UAAU,GAA2B,QAAQ,CAAC,MACtD,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,EAAE,EAAE,CAAC,CAC3D,CAAC;AAsCH,KAAA;IApCC,eAAe,GAAA;QACb,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;AAC7D,QAAA,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;AACtF,QAAA,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;KACtC;AAED,IAAA,mBAAmB,CAAC,KAAmB,E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AA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhG,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBArEzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,CAAC;oBAC5G,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-gallery-widget-edit.component-CzKFKaPH.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/gallery/gallery-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXUploaderModule } from '@acorex/components/uploader';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Signal, WritableSignal, computed, signal } from '@angular/core';\nimport { AXPMediaInfo, AXPMediaItem } from './gallery-widget-types';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\n\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(list().length){\n <div class=\"ax-col-start-1 ax-col-end-13 ax-flex ax-items-center lg:ax-justify-start ax-justify-center \">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-4 ax-w-full\">\n @switch (getMediaInfo(activeMedia()?.name||'').format) { @case ('video') {\n <video\n class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto ax-shadow-md\"\n controls\n [src]=\"activeMedia()?.url\"\n ></video>\n } @case ('image') {\n <ax-image class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto\" [src]=\"activeMedia()?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder>\n <div\n class=\"ax-w-96 ax-h-72 ax-gap-4 ax-flex ax-flex-col ax-items-center ax-justify-center ax-border ax-rounded-lg\"\n >\n <ax-icon class=\"fa-solid fa-circle-exclamation ax-text-3xl\"> </ax-icon>\n <span>Connection Error!</span>\n </div>\n </ax-placeholder>\n </ax-image>\n } @case ('audio') {\n <audio controls class=\"ax-rounded-lg\">\n <source [src]=\"activeMedia()?.url\" type=\"audio/mp3\" />\n </audio>\n } }\n <div class=\"ax-flex ax-gap-4 ax-overflow-x-auto ax-max-w-[320px] lg:ax-max-w-[480px] ax-pb-2\">\n @for (media of thumbnails(); track $index) {\n <div\n *ngIf=\"getMediaInfo(media.name) as mediaInfo\"\n class=\"hover:ax-opacity-75 ax-transition-all ax-relative ax-cursor-pointer ax-flex ax-justify-center ax-items-center\"\n (click)=\"changeMediaSelected(media)\"\n >\n <ax-image\n class=\"ax-w-16 ax-brightness-50 ax-h-16 ax-rounded-lg ax-shadow-md ax-filter\"\n [src]=\"mediaInfo.format == 'image' ? media.url : media.posterUrl\"\n ></ax-image>\n <div class=\"ax-absolute ax-text-neutral-300 ax-text-xl\">\n <ax-icon [class]=\"mediaInfo.icon\"> </ax-icon>\n </div>\n </div>\n }\n <div axUploaderZone>\n <div\n axUploaderBrowseHandle\n class=\"ax-flex ax-justify-center ax-items-center ax-w-16 ax-h-16 ax-border ax-rounded-lg ax-cursor-pointer\"\n >\n <ax-icon class=\"fa-solid fa-plus ax-text-neutral-500\"> </ax-icon>\n </div>\n </div>\n </div>\n </div>\n </div>\n } @else {\n <div class=\" ax-col-start-1 ax-col-end-13\">\n <ax-uploader-drop-zone></ax-uploader-drop-zone>\n </div>\n\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXImageModule, AXLoadingModule, AXUploaderModule],\n inputs: ['multiple'],\n})\nexport class AXPGalleryWidgetEditComponent extends AXPWidgetEditBase {\n protected multiple!: boolean;\n protected activeMedia: WritableSignal<AXPMediaItem | null> = signal(null);\n protected list: WritableSignal<AXPMediaItem[]> = signal([]);\n protected thumbnails: Signal<AXPMediaItem[]> = computed(() =>\n this.list().filter((i) => i.id !== this.activeMedia()?.id)\n );\n\n ngAfterViewInit(): void {\n const parsedValue = this.value ? JSON.parse(this.value) : [];\n this.list.set(Array.isArray(parsedValue) ? parsedValue.map((c) => c) : [parsedValue]);\n this.activeMedia.set(this.list()[0]);\n }\n\n changeMediaSelected(media: AXPMediaItem) {\n this.activeMedia.set(media);\n }\n\n protected getMediaInfo(mediaName: string): AXPMediaInfo {\n const extension = mediaName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: '', format: 'image' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-regular fa-play', format: 'video' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-regular fa-volume-high', format: 'audio' };\n\n default:\n return { icon: '', format: 'image' };\n }\n }\n}\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFM,MAAO,6BAA8B,SAAQ,iBAAiB,CAAA;AArEpE,IAAA,WAAA,GAAA;;AAuEY,QAAA,IAAA,CAAA,WAAW,G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,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,CAAC;oBAC5G,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
@@ -29,12 +29,12 @@ import '@acorex/core/format';
29
29
  import 'rxjs/operators';
30
30
 
31
31
  class AXPGalleryWidgetFilterComponent extends AXPWidgetFilterBase {
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPGalleryWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGalleryWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
34
34
  <ax-select-box [(ngModel)]="value" [placeholder]="'Has media'" [dataSource]="['Yes', 'No']"></ax-select-box>
35
35
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: 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 }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetFilterComponent, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetFilterComponent, decorators: [{
38
38
  type: Component,
39
39
  args: [{
40
40
  template: `
@@ -48,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
48
48
  }] });
49
49
 
50
50
  export { AXPGalleryWidgetFilterComponent };
51
- //# sourceMappingURL=acorex-platform-common-gallery-widget-filter.component-Btrq4HP9.mjs.map
51
+ //# sourceMappingURL=acorex-platform-common-gallery-widget-filter.component-B-KxKtY4.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-gallery-widget-filter.component-Btrq4HP9.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/gallery/gallery-widget-filter.component.ts"],"sourcesContent":["import { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n@Component({\n template: `\n <ax-select-box [(ngModel)]=\"value\" [placeholder]=\"'Has media'\" [dataSource]=\"['Yes', 'No']\"></ax-select-box>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXSelectBoxModule, FormsModule],\n inputs: [],\n})\nexport class AXPGalleryWidgetFilterComponent extends AXPWidgetFilterBase { }\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcM,MAAO,+BAAgC,SAAQ,mBAAmB,CAAA;8GAA3D,+BAA+B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,EARhC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;AAET,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGS,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,aAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,MAAA,EAAA,UAAA,EAAA,YAAA,EAAA,WAAA,EAAA,cAAA,EAAA,YAAA,EAAA,SAAA,EAAA,cAAA,EAAA,kBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,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;;2FAG3C,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAT3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;AAET,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,WAAW,CAAC;AACvD,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-gallery-widget-filter.component-B-KxKtY4.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/gallery/gallery-widget-filter.component.ts"],"sourcesContent":["import { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXPWidgetFilterBase } from '../../widget/widget-base';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n@Component({\n template: `\n <ax-select-box [(ngModel)]=\"value\" [placeholder]=\"'Has media'\" [dataSource]=\"['Yes', 'No']\"></ax-select-box>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXSelectBoxModule, FormsModule],\n inputs: [],\n})\nexport class AXPGalleryWidgetFilterComponent extends AXPWidgetFilterBase { }\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcM,MAAO,+BAAgC,SAAQ,mBAAmB,CAAA;8GAA3D,+BAA+B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,EARhC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;AAET,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGS,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,aAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,MAAA,EAAA,UAAA,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", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
72
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPGalleryWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
72
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGalleryWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
73
73
  <div class="ax-grid ax-grid-cols-12 ax-gap-2">
74
74
  @if(list().length){
75
75
  <div class="ax-flex ax-items-center ax-justify-between ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13">
@@ -125,7 +125,7 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetBase {
125
125
  </div>
126
126
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { 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: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
127
127
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetViewComponent, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetViewComponent, decorators: [{
129
129
  type: Component,
130
130
  args: [{
131
131
  template: `
@@ -191,4 +191,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
191
191
  }] });
192
192
 
193
193
  export { AXPGalleryWidgetViewComponent };
194
- //# sourceMappingURL=acorex-platform-common-gallery-widget-view.component-Bp5cEEiY.mjs.map
194
+ //# sourceMappingURL=acorex-platform-common-gallery-widget-view.component-ca-JB8qW.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-gallery-widget-view.component-Bp5cEEiY.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/gallery/gallery-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPWidgetBase } from '../../widget/widget-base';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Signal, WritableSignal, computed, signal } from '@angular/core';\nimport { AXPMediaInfo, AXPMediaItem } from './gallery-widget-types';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(list().length){\n <div class=\"ax-flex ax-items-center ax-justify-between ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13\">\n <div class=\"ax-flex ax-items-center md:ax-justify-start ax-justify-center ax-w-full ax-gap-3\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-4\">\n @switch (getMediaInfo(activeMedia()?.name||'').format) { @case ('video') {\n <video\n class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto ax-shadow-md\"\n controls\n [src]=\"activeMedia()?.url\"\n ></video>\n } @case ('image') {\n <ax-image class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto\" [src]=\"activeMedia()?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder>\n <div\n class=\"ax-w-96 ax-h-72 ax-gap-4 ax-flex ax-flex-col ax-items-center ax-justify-center ax-border ax-rounded-lg\"\n >\n <ax-icon class=\"fa-solid fa-circle-exclamation ax-text-3xl\"> </ax-icon>\n <span>Connection Error!</span>\n </div>\n </ax-placeholder>\n </ax-image>\n } @case ('audio') {\n <audio controls class=\"ax-rounded-lg\">\n <source [src]=\"activeMedia()?.url\" type=\"audio/mp3\" />\n </audio>\n } }\n <div class=\"ax-flex ax-gap-4 ax-overflow-x-auto ax-max-w-[320px] lg:ax-max-w-[480px] ax-pb-2\">\n @for (media of thumbnails(); track $index) {\n <div\n *ngIf=\"getMediaInfo(media.name) as mediaInfo\"\n class=\"hover:ax-opacity-75 ax-transition-all ax-relative ax-cursor-pointer ax-flex ax-justify-center ax-items-center\"\n (click)=\"changeMediaSelected(media)\"\n >\n <ax-image\n class=\"ax-w-16 ax-brightness-50 ax-h-16 ax-rounded-lg ax-shadow-md ax-filter\"\n [src]=\"mediaInfo.format == 'image' ? media.url : media.posterUrl\"\n ></ax-image>\n <div class=\"ax-absolute ax-text-neutral-300 ax-text-xl\">\n <ax-icon [class]=\"mediaInfo.icon\"> </ax-icon>\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n </div>\n } @else {\n <!-- ask for empty state: -->\n <small>No Media!</small>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXImageModule, AXLoadingModule],\n inputs: ['context', 'multiple'],\n})\nexport class AXPGalleryWidgetViewComponent extends AXPWidgetBase {\n protected multiple!: boolean;\n protected list: WritableSignal<AXPMediaItem[]> = signal([]);\n protected thumbnails: Signal<AXPMediaItem[]> = computed(() =>\n this.list().filter((i) => i.id !== this.activeMedia()?.id)\n );\n protected activeMedia: WritableSignal<AXPMediaItem | undefined> = signal(undefined);\n\n override render() {\n const rawValue: AXPMediaItem[] = this.rawValue ? JSON.parse(this.rawValue) : [];\n this.list.set(Array.isArray(rawValue) ? rawValue.map((c) => c) : [rawValue]);\n }\n\n ngOnInit(): void {\n this.activeMedia.set(this.list()[0]);\n }\n\n changeMediaSelected(media: AXPMediaItem) {\n this.activeMedia.set(media);\n }\n\n protected getMediaInfo(mediaName: string): AXPMediaInfo {\n const extension = mediaName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: '', format: 'image' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-regular fa-play', format: 'video' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-regular fa-volume-high', format: 'audio' };\n\n default:\n return { icon: '', format: 'image' };\n }\n }\n}\n"],"names":["i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEM,MAAO,6BAA8B,SAAQ,aAAa,CAAA;AA7DhE,IAAA,WAAA,GAAA;;AA+DY,QAAA,IAAA,CAAA,IAAI,GAAmC,MAAM,CAAC,EAAE,CAAC,CAAC;AAClD,QAAA,IAAA,CAAA,UAAU,GAA2B,QAAQ,CAAC,MACtD,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,EAAE,EAAE,CAAC,CAC3D,CAAC;AACQ,QAAA,IAAA,CAAA,WAAW,GAA6C,MAAM,CAAC,SAAS,CAAC,CAAC;AAyCrF,KAAA;IA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AAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG9E,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBA7DzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,CAAC;AAC1F,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;AAChC,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-gallery-widget-view.component-ca-JB8qW.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/gallery/gallery-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPWidgetBase } from '../../widget/widget-base';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Signal, WritableSignal, computed, signal } from '@angular/core';\nimport { AXPMediaInfo, AXPMediaItem } from './gallery-widget-types';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(list().length){\n <div class=\"ax-flex ax-items-center ax-justify-between ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13\">\n <div class=\"ax-flex ax-items-center md:ax-justify-start ax-justify-center ax-w-full ax-gap-3\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-4\">\n @switch (getMediaInfo(activeMedia()?.name||'').format) { @case ('video') {\n <video\n class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto ax-shadow-md\"\n controls\n [src]=\"activeMedia()?.url\"\n ></video>\n } @case ('image') {\n <ax-image class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto\" [src]=\"activeMedia()?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder>\n <div\n class=\"ax-w-96 ax-h-72 ax-gap-4 ax-flex ax-flex-col ax-items-center ax-justify-center ax-border ax-rounded-lg\"\n >\n <ax-icon class=\"fa-solid fa-circle-exclamation ax-text-3xl\"> </ax-icon>\n <span>Connection Error!</span>\n </div>\n </ax-placeholder>\n </ax-image>\n } @case ('audio') {\n <audio controls class=\"ax-rounded-lg\">\n <source [src]=\"activeMedia()?.url\" type=\"audio/mp3\" />\n </audio>\n } }\n <div class=\"ax-flex ax-gap-4 ax-overflow-x-auto ax-max-w-[320px] lg:ax-max-w-[480px] ax-pb-2\">\n @for (media of thumbnails(); track $index) {\n <div\n *ngIf=\"getMediaInfo(media.name) as mediaInfo\"\n class=\"hover:ax-opacity-75 ax-transition-all ax-relative ax-cursor-pointer ax-flex ax-justify-center ax-items-center\"\n (click)=\"changeMediaSelected(media)\"\n >\n <ax-image\n class=\"ax-w-16 ax-brightness-50 ax-h-16 ax-rounded-lg ax-shadow-md ax-filter\"\n [src]=\"mediaInfo.format == 'image' ? media.url : media.posterUrl\"\n ></ax-image>\n <div class=\"ax-absolute ax-text-neutral-300 ax-text-xl\">\n <ax-icon [class]=\"mediaInfo.icon\"> </ax-icon>\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n </div>\n } @else {\n <!-- ask for empty state: -->\n <small>No Media!</small>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXImageModule, AXLoadingModule],\n inputs: ['context', 'multiple'],\n})\nexport class AXPGalleryWidgetViewComponent extends AXPWidgetBase {\n protected multiple!: boolean;\n protected list: WritableSignal<AXPMediaItem[]> = signal([]);\n protected thumbnails: Signal<AXPMediaItem[]> = computed(() =>\n this.list().filter((i) => i.id !== this.activeMedia()?.id)\n );\n protected activeMedia: WritableSignal<AXPMediaItem | undefined> = signal(undefined);\n\n override render() {\n const rawValue: AXPMediaItem[] = this.rawValue ? JSON.parse(this.rawValue) : [];\n this.list.set(Array.isArray(rawValue) ? rawValue.map((c) => c) : [rawValue]);\n }\n\n ngOnInit(): void {\n this.activeMedia.set(this.list()[0]);\n }\n\n changeMediaSelected(media: AXPMediaItem) {\n this.activeMedia.set(media);\n }\n\n protected getMediaInfo(mediaName: string): AXPMediaInfo {\n const extension = mediaName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: '', format: 'image' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-regular fa-play', format: 'video' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-regular fa-volume-high', format: 'audio' };\n\n default:\n return { icon: '', format: 'image' };\n }\n }\n}\n"],"names":["i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEM,MAAO,6BAA8B,SAAQ,aAAa,CAAA;AA7DhE,IAAA,WAAA,GAAA;;AA+DY,QAAA,IAAA,CAAA,IAAI,GAAmC,MAAM,CAAC,EAAE,CAAC,CAAC;AAClD,QAAA,IAAA,CAAA,UAAU,GAA2B,QAAQ,CAAC,MACtD,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,EAAE,EAAE,CAAC,CAC3D,CAAC;AACQ,QAAA,IAAA,CAAA,WAAW,GAA6C,MAAM,CAAC,S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EAAAC,IAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG9E,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBA7DzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,CAAC;AAC1F,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;AAChC,iBAAA,CAAA;;;;;"}
@@ -31,8 +31,8 @@ import '@acorex/core/format';
31
31
  import 'rxjs/operators';
32
32
 
33
33
  class AXPLargeTextWidgetEditComponent extends AXPWidgetEditBase {
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
35
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLargeTextWidgetEditComponent, isStandalone: true, selector: "axp-largetext-widget-edit", inputs: { width: "width" }, usesInheritance: true, ngImport: i0, template: `
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLargeTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
35
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPLargeTextWidgetEditComponent, isStandalone: true, selector: "axp-largetext-widget-edit", inputs: { width: "width" }, usesInheritance: true, ngImport: i0, template: `
36
36
  <ax-text-area [(ngModel)]="value">
37
37
  @for(vl of validations;track $index) {
38
38
  <ax-validation-rule [rule]="vl.rule" [options]="vl.options"></ax-validation-rule>
@@ -40,7 +40,7 @@ class AXPLargeTextWidgetEditComponent extends AXPWidgetEditBase {
40
40
  </ax-text-area>
41
41
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i1.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { 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: AXDecoratorModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }] }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetEditComponent, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLargeTextWidgetEditComponent, decorators: [{
44
44
  type: Component,
45
45
  args: [{
46
46
  selector: 'axp-largetext-widget-edit',
@@ -58,4 +58,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
58
58
  }] });
59
59
 
60
60
  export { AXPLargeTextWidgetEditComponent };
61
- //# sourceMappingURL=acorex-platform-common-largetext-widget-edit.component-DJhPlQ0G.mjs.map
61
+ //# sourceMappingURL=acorex-platform-common-largetext-widget-edit.component-CrqPJ58V.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-common-largetext-widget-edit.component-DJhPlQ0G.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/text/largetext-widget-edit.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\nimport { Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axp-largetext-widget-edit',\n template: `\n <ax-text-area [(ngModel)]=\"value\">\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n </ax-text-area>\n `,\n standalone: true,\n imports: [AXTextAreaModule, FormsModule, AXDecoratorModule, AXFormModule],\n inputs: ['width']\n})\nexport class AXPLargeTextWidgetEditComponent extends AXPWidgetEditBase<string> {\n\n}"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBM,MAAO,+BAAgC,SAAQ,iBAAyB,CAAA;8GAAjE,+BAA+B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,EAX9B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAA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,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG/D,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAb3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,CAAA;;;;;;AAMT,IAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,CAAC;oBACzE,MAAM,EAAE,CAAC,OAAO,CAAC;AACpB,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"acorex-platform-common-largetext-widget-edit.component-CrqPJ58V.mjs","sources":["../../../../libs/platform/common/src/lib/schema/widgets/text/largetext-widget-edit.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXPWidgetEditBase } from '../../widget/widget-base';\nimport { Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axp-largetext-widget-edit',\n template: `\n <ax-text-area [(ngModel)]=\"value\">\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n </ax-text-area>\n `,\n standalone: true,\n imports: [AXTextAreaModule, FormsModule, AXDecoratorModule, AXFormModule],\n inputs: ['width']\n})\nexport class AXPLargeTextWidgetEditComponent extends AXPWidgetEditBase<string> {\n\n}"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBM,MAAO,+BAAgC,SAAQ,iBAAyB,CAAA;8GAAjE,+BAA+B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAA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,UAAA,EAAA,IAAA,EAAA,iBAAiB,8BAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG/D,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAb3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,CAAA;;;;;;AAMT,IAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,CAAC;oBACzE,MAAM,EAAE,CAAC,OAAO,CAAC;AACpB,iBAAA,CAAA;;;;;"}
@@ -48,10 +48,10 @@ class AXPLookupWidgetColumnComponent extends AXPWidgetBase {
48
48
  text: '',
49
49
  };
50
50
  }
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
52
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLookupWidgetColumnComponent, isStandalone: true, selector: "axp-lookup-widget-column", inputs: { context: "context", multiple: "multiple", width: "width", textField: "textField", valueField: "valueField", reference: "reference", referenceField: "referenceField", allowResizing: "allowResizing", filterField: "filterField", template: "template" }, usesInheritance: true, ngImport: i0, template: '{{text}}', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLookupWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
52
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPLookupWidgetColumnComponent, isStandalone: true, selector: "axp-lookup-widget-column", inputs: { context: "context", multiple: "multiple", width: "width", textField: "textField", valueField: "valueField", reference: "reference", referenceField: "referenceField", allowResizing: "allowResizing", filterField: "filterField", template: "template" }, usesInheritance: true, ngImport: i0, template: '{{text}}', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetColumnComponent, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLookupWidgetColumnComponent, decorators: [{
55
55
  type: Component,
56
56
  args: [{
57
57
  selector: 'axp-lookup-widget-column',
@@ -64,4 +64,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
64
64
  }] });
65
65
 
66
66
  export { AXPLookupWidgetColumnComponent };
67
- //# sourceMappingURL=acorex-platform-common-lookup-widget-column.component-CtvP7V_w.mjs.map
67
+ //# sourceMappingURL=acorex-platform-common-lookup-widget-column.component-BEZNLQZi.mjs.map