@acorex/platform 18.0.4 → 18.0.6

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 (614) hide show
  1. package/README.md +7 -7
  2. package/auth/README.md +3 -3
  3. package/common/README.md +3 -3
  4. package/common/lib/app/application.types.d.ts +10 -6
  5. package/common/lib/data/dexie-storage.service.d.ts +0 -1
  6. package/common/lib/layout/grid-layout/grid-layout.types.d.ts +1 -2
  7. package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +1 -1
  8. package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +2 -1
  9. package/common/lib/utils/data-generator.d.ts +13 -1
  10. package/common/lib/utils/index.d.ts +1 -0
  11. package/common/lib/utils/pdf.service.d.ts +25 -0
  12. package/esm2022/auth/index.mjs +1 -1
  13. package/esm2022/auth/lib/application/application.loader.mjs +1 -1
  14. package/esm2022/auth/lib/application/application.types.mjs +1 -1
  15. package/esm2022/auth/lib/auth-registry.service.mjs +1 -1
  16. package/esm2022/auth/lib/auth.guard.mjs +1 -1
  17. package/esm2022/auth/lib/auth.module.mjs +1 -1
  18. package/esm2022/auth/lib/auth.strategy.mjs +1 -1
  19. package/esm2022/auth/lib/errors.types.mjs +1 -1
  20. package/esm2022/auth/lib/feature/feature.directive.mjs +1 -1
  21. package/esm2022/auth/lib/feature/feature.guard.mjs +1 -1
  22. package/esm2022/auth/lib/feature/feature.loader.mjs +1 -1
  23. package/esm2022/auth/lib/feature/feature.types.mjs +1 -1
  24. package/esm2022/auth/lib/feature/index.mjs +1 -1
  25. package/esm2022/auth/lib/permission/index.mjs +1 -1
  26. package/esm2022/auth/lib/permission/permission.directive.mjs +1 -1
  27. package/esm2022/auth/lib/permission/permission.guard.mjs +1 -1
  28. package/esm2022/auth/lib/permission/permission.loader.mjs +1 -1
  29. package/esm2022/auth/lib/permission/permission.types.mjs +1 -1
  30. package/esm2022/auth/lib/session.service.mjs +1 -1
  31. package/esm2022/auth/lib/session.types.mjs +1 -1
  32. package/esm2022/auth/lib/tenant/tenant.loader.mjs +1 -1
  33. package/esm2022/auth/lib/tenant/tenant.types.mjs +1 -1
  34. package/esm2022/auth/lib/user/user.types.mjs +1 -1
  35. package/esm2022/common/index.mjs +1 -1
  36. package/esm2022/common/lib/app/application.types.mjs +5 -1
  37. package/esm2022/common/lib/app/index.mjs +1 -1
  38. package/esm2022/common/lib/app/operators.mjs +1 -1
  39. package/esm2022/common/lib/common.module.mjs +1 -1
  40. package/esm2022/common/lib/configs/app.config.mjs +1 -1
  41. package/esm2022/common/lib/configs/config.types.mjs +1 -1
  42. package/esm2022/common/lib/data/data-provider.types.mjs +1 -1
  43. package/esm2022/common/lib/data/dexie-storage.service.mjs +2 -4
  44. package/esm2022/common/lib/data/entity-data-provider.mjs +1 -1
  45. package/esm2022/common/lib/data/index.mjs +1 -1
  46. package/esm2022/common/lib/data/storage-service.mjs +1 -1
  47. package/esm2022/common/lib/errors/error-handler-registry.service.mjs +1 -1
  48. package/esm2022/common/lib/errors/error-handler.types.mjs +1 -1
  49. package/esm2022/common/lib/errors/global-error-handler.mjs +1 -1
  50. package/esm2022/common/lib/errors/index.mjs +1 -1
  51. package/esm2022/common/lib/layout/beardcrumb.type.mjs +1 -1
  52. package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +1 -1
  53. package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +1 -1
  54. package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +1 -1
  55. package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +1 -1
  56. package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +1 -1
  57. package/esm2022/common/lib/layout/component-slot/index.mjs +1 -1
  58. package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +5 -5
  59. package/esm2022/common/lib/layout/grid-layout/grid-layout.types.mjs +1 -1
  60. package/esm2022/common/lib/layout/grid-layout/index.mjs +1 -1
  61. package/esm2022/common/lib/layout/index.mjs +1 -1
  62. package/esm2022/common/lib/layout/layout.service.mjs +1 -1
  63. package/esm2022/common/lib/layout/logo/index.mjs +1 -1
  64. package/esm2022/common/lib/layout/logo/logo.component.mjs +3 -3
  65. package/esm2022/common/lib/layout/logo/logo.types.mjs +1 -1
  66. package/esm2022/common/lib/layout/menu/index.mjs +1 -1
  67. package/esm2022/common/lib/layout/menu/menu.loader.mjs +1 -1
  68. package/esm2022/common/lib/layout/menu/menu.types.mjs +1 -1
  69. package/esm2022/common/lib/layout/sticky.directive.mjs +1 -1
  70. package/esm2022/common/lib/layout/theme/components/slots/footer-text-slot.component.mjs +5 -5
  71. package/esm2022/common/lib/layout/theme/components/slots/index.mjs +1 -1
  72. package/esm2022/common/lib/layout/theme/components/slots/navbar-slot.component.mjs +9 -9
  73. package/esm2022/common/lib/layout/theme/components/slots/theme-slot.component.mjs +16 -16
  74. package/esm2022/common/lib/layout/theme/store/admin-layout.actions.mjs +1 -1
  75. package/esm2022/common/lib/layout/theme/store/admin-layout.effects.mjs +1 -1
  76. package/esm2022/common/lib/layout/theme/store/admin-layout.reducers.mjs +1 -1
  77. package/esm2022/common/lib/layout/theme/store/admin-layout.selectors.mjs +1 -1
  78. package/esm2022/common/lib/layout/theme/store/admin-layout.state.mjs +1 -1
  79. package/esm2022/common/lib/layout/theme/store/index.mjs +1 -1
  80. package/esm2022/common/lib/schema/component-loader.mjs +1 -1
  81. package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +1 -1
  82. package/esm2022/common/lib/schema/entity/entity.class.mjs +1 -1
  83. package/esm2022/common/lib/schema/entity/entity.loader.mjs +1 -1
  84. package/esm2022/common/lib/schema/entity/index.mjs +1 -1
  85. package/esm2022/common/lib/schema/formats.mjs +1 -1
  86. package/esm2022/common/lib/schema/index.mjs +1 -1
  87. package/esm2022/common/lib/schema/schema-registery.service.mjs +1 -1
  88. package/esm2022/common/lib/schema/schema.module.mjs +1 -1
  89. package/esm2022/common/lib/schema/schema.types.mjs +1 -1
  90. package/esm2022/common/lib/schema/widget/index.mjs +1 -1
  91. package/esm2022/common/lib/schema/widget/widget-base.mjs +1 -1
  92. package/esm2022/common/lib/schema/widget/widget-column-renderer.mjs +17 -17
  93. package/esm2022/common/lib/schema/widget/widget-filter-renderer.mjs +13 -13
  94. package/esm2022/common/lib/schema/widget/widget-renderer.mjs +13 -13
  95. package/esm2022/common/lib/schema/widget/widget-token.mjs +1 -1
  96. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-edit.component.mjs +67 -67
  97. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-view.component.mjs +15 -15
  98. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.mjs +31 -31
  99. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +1 -1
  100. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.mjs +25 -25
  101. package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +76 -76
  102. package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +86 -86
  103. package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +68 -68
  104. package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +1 -1
  105. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.mjs +1 -1
  106. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.mjs +100 -100
  107. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +59 -59
  108. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.mjs +21 -21
  109. package/esm2022/common/lib/schema/widgets/email/email-widget-column.component.mjs +23 -23
  110. package/esm2022/common/lib/schema/widgets/email/email-widget-edit.component.mjs +134 -134
  111. package/esm2022/common/lib/schema/widgets/email/email-widget-view.component.mjs +65 -65
  112. package/esm2022/common/lib/schema/widgets/file/file-widget-column.component.mjs +1 -1
  113. package/esm2022/common/lib/schema/widgets/file/file-widget-edit.component.mjs +116 -116
  114. package/esm2022/common/lib/schema/widgets/file/file-widget-filter.component.mjs +5 -5
  115. package/esm2022/common/lib/schema/widgets/file/file-widget-view.component.mjs +70 -70
  116. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-edit.component.mjs +125 -125
  117. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-filter.component.mjs +5 -5
  118. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-types.mjs +1 -1
  119. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-view.component.mjs +109 -109
  120. package/esm2022/common/lib/schema/widgets/index.mjs +1 -1
  121. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-column.component.mjs +1 -1
  122. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +46 -29
  123. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +85 -68
  124. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +5 -5
  125. package/esm2022/common/lib/schema/widgets/map/map-widget-edit.component.mjs +5 -5
  126. package/esm2022/common/lib/schema/widgets/map/map-widget-view.component.mjs +5 -5
  127. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-column.component.mjs +23 -23
  128. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-edit.component.mjs +88 -88
  129. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-view.component.mjs +67 -67
  130. package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +15 -15
  131. package/esm2022/common/lib/schema/widgets/number/number-widget-view.component.mjs +1 -1
  132. package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +100 -100
  133. package/esm2022/common/lib/schema/widgets/password/password-widget-column.component.mjs +37 -37
  134. package/esm2022/common/lib/schema/widgets/password/password-widget-edit.component.mjs +15 -15
  135. package/esm2022/common/lib/schema/widgets/password/password-widget-view.component.mjs +58 -58
  136. package/esm2022/common/lib/schema/widgets/phone/phone-widget-column.component.mjs +41 -41
  137. package/esm2022/common/lib/schema/widgets/phone/phone-widget-edit.component.mjs +140 -140
  138. package/esm2022/common/lib/schema/widgets/phone/phone-widget-view.component.mjs +69 -69
  139. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.mjs +23 -23
  140. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +9 -9
  141. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.mjs +9 -9
  142. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.mjs +17 -17
  143. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +29 -29
  144. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +19 -19
  145. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.mjs +9 -9
  146. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.mjs +56 -56
  147. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.mjs +17 -17
  148. package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +13 -13
  149. package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +1 -1
  150. package/esm2022/common/lib/schema/widgets/text/text-widget-edit.component.mjs +88 -88
  151. package/esm2022/common/lib/schema/widgets/text/text-widget-view.component.mjs +21 -21
  152. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-column.component.mjs +33 -33
  153. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-edit.component.mjs +1 -1
  154. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-view.component.mjs +25 -25
  155. package/esm2022/common/lib/settings/index.mjs +1 -1
  156. package/esm2022/common/lib/settings/settings.loader.mjs +1 -1
  157. package/esm2022/common/lib/settings/settings.service.mjs +1 -1
  158. package/esm2022/common/lib/settings/settings.types.mjs +1 -1
  159. package/esm2022/common/lib/store/common.actions.mjs +1 -1
  160. package/esm2022/common/lib/store/common.effects.mjs +1 -1
  161. package/esm2022/common/lib/store/index.mjs +1 -1
  162. package/esm2022/common/lib/utils/clipboard-service.mjs +1 -1
  163. package/esm2022/common/lib/utils/data-generator.mjs +67 -2
  164. package/esm2022/common/lib/utils/index.mjs +2 -1
  165. package/esm2022/common/lib/utils/pdf.service.mjs +85 -0
  166. package/esm2022/common/lib/utils/router-util.service.mjs +1 -1
  167. package/esm2022/common/lib/workflows/common.workflow.mjs +1 -1
  168. package/esm2022/common/lib/workflows/error-handler.mjs +1 -1
  169. package/esm2022/common/lib/workflows/index.mjs +1 -1
  170. package/esm2022/index.mjs +1 -1
  171. package/esm2022/layout/builder/index.mjs +1 -1
  172. package/esm2022/layout/builder/lib/builder/builder.module.mjs +1 -1
  173. package/esm2022/layout/builder/lib/builder/builder.service.mjs +1 -1
  174. package/esm2022/layout/builder/lib/builder/index.mjs +1 -1
  175. package/esm2022/layout/builder/lib/builder/layout.types.mjs +1 -1
  176. package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +17 -17
  177. package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +1 -1
  178. package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +1 -1
  179. package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +19 -19
  180. package/esm2022/layout/builder/lib/builder/widget.types.mjs +1 -1
  181. package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +28 -13
  182. package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +23 -19
  183. package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +45 -14
  184. package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +33 -34
  185. package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +1 -1
  186. package/esm2022/layout/entity/lib/entity-registery.service.mjs +1 -1
  187. package/esm2022/layout/entity/lib/entity.config.mjs +1 -1
  188. package/esm2022/layout/entity/lib/entity.module.mjs +1 -1
  189. package/esm2022/layout/entity/lib/entity.viewmodel.mjs +1 -1
  190. package/esm2022/layout/entity/lib/index.mjs +1 -1
  191. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +60 -43
  192. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +72 -73
  193. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +15 -3
  194. package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +5 -5
  195. package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +3 -6
  196. package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +1 -1
  197. package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +1 -2
  198. package/esm2022/layout/entity/lib/workflows/show-list.workflow.mjs +1 -1
  199. package/esm2022/layouts/index.mjs +1 -1
  200. package/esm2022/layouts/lib/admin/admin.module.mjs +1 -1
  201. package/esm2022/layouts/lib/admin/admin.routes.mjs +1 -1
  202. package/esm2022/layouts/lib/admin/custom-reuse.strategy.mjs +1 -1
  203. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +3 -3
  204. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +1 -1
  205. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +1 -1
  206. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +3 -3
  207. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/index.mjs +1 -1
  208. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +3 -3
  209. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/index.mjs +1 -1
  210. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +3 -3
  211. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +3 -3
  212. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +19 -19
  213. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +3 -3
  214. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +3 -3
  215. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/index.mjs +1 -1
  216. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +1 -1
  217. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +1 -1
  218. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +3 -3
  219. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +1 -1
  220. package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +3 -3
  221. package/esm2022/layouts/lib/admin/entity-layout/index.mjs +1 -1
  222. package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +1 -1
  223. package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +1 -1
  224. package/esm2022/layouts/lib/admin/entity-layout/workflows/index.mjs +1 -1
  225. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +1 -1
  226. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.mjs +1 -1
  227. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +1 -1
  228. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +1 -1
  229. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +1 -1
  230. package/esm2022/layouts/lib/admin/entity.resolver.mjs +1 -1
  231. package/esm2022/layouts/lib/admin/index.mjs +1 -1
  232. package/esm2022/layouts/lib/layout.module.mjs +1 -1
  233. package/esm2022/mocks/index.mjs +1 -1
  234. package/esm2022/mocks/lib/mocks.module.mjs +1 -1
  235. package/esm2022/mocks/lib/services/mocker.service.mjs +1 -1
  236. package/esm2022/mocks/lib/storage/storage.mock.service.mjs +1 -1
  237. package/esm2022/native/index.mjs +1 -1
  238. package/esm2022/native/lib/native.service.mjs +1 -1
  239. package/esm2022/themes/default/index.mjs +1 -1
  240. package/esm2022/themes/default/lib/default.module.mjs +1 -1
  241. package/esm2022/themes/default/lib/entity-reuse.strategy.mjs +1 -1
  242. package/esm2022/themes/default/lib/layout.routes.mjs +1 -1
  243. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +14 -21
  244. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +3 -3
  245. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +17 -21
  246. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.mjs +3 -3
  247. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.mjs +3 -3
  248. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.mjs +3 -3
  249. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +8 -5
  250. package/esm2022/themes/default/lib/layouts/root-layout/components/footer/footer.component.mjs +3 -3
  251. package/esm2022/themes/default/lib/layouts/root-layout/components/header/header.component.mjs +3 -3
  252. package/esm2022/themes/default/lib/layouts/root-layout/index.mjs +1 -1
  253. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +3 -3
  254. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.module.mjs +1 -1
  255. package/esm2022/themes/default/lib/pages/errors/error-401/error-401.component.mjs +3 -3
  256. package/esm2022/themes/default/lib/pages/errors/error-404/error-404.component.mjs +3 -3
  257. package/esm2022/themes/default/lib/pages/errors/error-offline/error-offline.component.mjs +3 -3
  258. package/esm2022/widgets/index.mjs +1 -1
  259. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-column.component.mjs +25 -25
  260. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +9 -9
  261. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +29 -29
  262. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +1 -1
  263. package/esm2022/widgets/lib/editors/checkbox/index.mjs +1 -1
  264. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +1 -1
  265. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +1 -1
  266. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +54 -54
  267. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +1 -1
  268. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +1 -1
  269. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +17 -18
  270. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +1 -1
  271. package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +1 -1
  272. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +21 -21
  273. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +1 -1
  274. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +142 -142
  275. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +1 -1
  276. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +1 -1
  277. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +69 -69
  278. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +1 -1
  279. package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +1 -1
  280. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +1 -1
  281. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +1 -1
  282. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +112 -112
  283. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +1 -1
  284. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +1 -1
  285. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +64 -64
  286. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +1 -1
  287. package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +1 -1
  288. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +1 -1
  289. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +1 -1
  290. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +107 -107
  291. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +1 -1
  292. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +1 -1
  293. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +1 -1
  294. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +97 -97
  295. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +1 -1
  296. package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +1 -1
  297. package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +1 -1
  298. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-column.component.mjs +1 -1
  299. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +1 -1
  300. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.mjs +5 -5
  301. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +1 -1
  302. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +1 -1
  303. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-view.component.mjs +5 -5
  304. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +1 -1
  305. package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +1 -1
  306. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +1 -1
  307. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +1 -1
  308. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +68 -68
  309. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +1 -1
  310. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +1 -1
  311. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +17 -17
  312. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +1 -1
  313. package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +1 -1
  314. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-column.component.mjs +1 -1
  315. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +1 -1
  316. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.mjs +9 -9
  317. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +1 -1
  318. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +1 -1
  319. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +45 -45
  320. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +1 -1
  321. package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +1 -1
  322. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +21 -21
  323. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +1 -1
  324. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +138 -138
  325. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +1 -1
  326. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +1 -1
  327. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +69 -69
  328. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +1 -1
  329. package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +1 -1
  330. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +1 -1
  331. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +1 -1
  332. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +9 -9
  333. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +1 -1
  334. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +1 -1
  335. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +17 -11
  336. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +1 -1
  337. package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +1 -1
  338. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +1 -1
  339. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +1 -1
  340. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.mjs +25 -25
  341. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.mjs +1 -1
  342. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +1 -1
  343. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +23 -23
  344. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +1 -1
  345. package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +1 -1
  346. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +13 -13
  347. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +1 -1
  348. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.mjs +31 -31
  349. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +1 -1
  350. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +1 -1
  351. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +11 -10
  352. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +1 -1
  353. package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +1 -1
  354. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +1 -1
  355. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +1 -1
  356. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +57 -56
  357. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +1 -1
  358. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +1 -1
  359. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +18 -17
  360. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +1 -1
  361. package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +1 -1
  362. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +1 -1
  363. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +1 -1
  364. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +63 -62
  365. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +1 -1
  366. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +1 -1
  367. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +18 -17
  368. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +1 -1
  369. package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +1 -1
  370. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-column.component.mjs +25 -25
  371. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +1 -1
  372. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.mjs +1 -1
  373. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +1 -1
  374. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +1 -1
  375. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-view.component.mjs +25 -25
  376. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +1 -1
  377. package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +11 -11
  378. package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +1 -1
  379. package/esm2022/widgets/lib/layout/block-widget/index.mjs +1 -1
  380. package/esm2022/widgets/lib/widgets.module.mjs +1 -1
  381. package/esm2022/workflow/index.mjs +1 -1
  382. package/esm2022/workflow/lib/actions/start-workflow.action.mjs +7 -3
  383. package/esm2022/workflow/lib/errors.types.mjs +1 -1
  384. package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +1 -1
  385. package/esm2022/workflow/lib/workflow-registery.service.mjs +1 -1
  386. package/esm2022/workflow/lib/workflow.module.mjs +1 -1
  387. package/esm2022/workflow/lib/workflow.service.mjs +3 -3
  388. package/esm2022/workflow/lib/workflow.types.mjs +11 -10
  389. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  390. package/fesm2022/{acorex-platform-common-avatar-widget-edit.component-B-of5ssU.mjs → acorex-platform-common-avatar-widget-edit.component-B8txzrTw.mjs} +67 -67
  391. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-B8txzrTw.mjs.map +1 -0
  392. package/fesm2022/{acorex-platform-common-avatar-widget-view.component-CJvrSkTv.mjs → acorex-platform-common-avatar-widget-view.component-B3Ubyw3X.mjs} +15 -15
  393. package/fesm2022/acorex-platform-common-avatar-widget-view.component-B3Ubyw3X.mjs.map +1 -0
  394. package/fesm2022/{acorex-platform-common-boolean-widget-filter.component-BTcOjuUm.mjs → acorex-platform-common-boolean-widget-filter.component-CcJ5Vj4q.mjs} +76 -76
  395. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CcJ5Vj4q.mjs.map +1 -0
  396. package/fesm2022/{acorex-platform-common-change-password.component-NvrMMq9e.mjs → acorex-platform-common-change-password.component-CULJjn0l.mjs} +100 -100
  397. package/fesm2022/acorex-platform-common-change-password.component-CULJjn0l.mjs.map +1 -0
  398. package/fesm2022/{acorex-platform-common-checkbox-widget-column.component-X9d1iY_F.mjs → acorex-platform-common-checkbox-widget-column.component-C91gG8nm.mjs} +31 -31
  399. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-C91gG8nm.mjs.map +1 -0
  400. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-_jtT03Vn.mjs.map +1 -1
  401. package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-nYmtb8bK.mjs → acorex-platform-common-checkbox-widget-view.component-BDAtJB1B.mjs} +25 -25
  402. package/fesm2022/{acorex-platform-common-checkbox-widget-view.component-nYmtb8bK.mjs.map → acorex-platform-common-checkbox-widget-view.component-BDAtJB1B.mjs.map} +1 -1
  403. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-5ljYmtHI.mjs.map +1 -1
  404. package/fesm2022/{acorex-platform-common-dateTime-widget-edit.component-D8FSiqAo.mjs → acorex-platform-common-dateTime-widget-edit.component-DRsoJMVG.mjs} +100 -100
  405. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-DRsoJMVG.mjs.map +1 -0
  406. package/fesm2022/{acorex-platform-common-dateTime-widget-filter.component-Df0DuDtw.mjs → acorex-platform-common-dateTime-widget-filter.component-uB7iwji0.mjs} +59 -59
  407. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-uB7iwji0.mjs.map +1 -0
  408. package/fesm2022/{acorex-platform-common-dateTime-widget-view.component-CjVjQkPh.mjs → acorex-platform-common-dateTime-widget-view.component-Dxmnor_-.mjs} +21 -21
  409. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dxmnor_-.mjs.map +1 -0
  410. package/fesm2022/{acorex-platform-common-email-widget-column.component-BgNdL62k.mjs → acorex-platform-common-email-widget-column.component-DlPoexcx.mjs} +23 -23
  411. package/fesm2022/acorex-platform-common-email-widget-column.component-DlPoexcx.mjs.map +1 -0
  412. package/fesm2022/{acorex-platform-common-email-widget-edit.component-CgHPGccx.mjs → acorex-platform-common-email-widget-edit.component-CY-Nu0xD.mjs} +134 -134
  413. package/fesm2022/acorex-platform-common-email-widget-edit.component-CY-Nu0xD.mjs.map +1 -0
  414. package/fesm2022/{acorex-platform-common-email-widget-view.component-C2aQ14k-.mjs → acorex-platform-common-email-widget-view.component-C4M7KGUS.mjs} +65 -65
  415. package/fesm2022/acorex-platform-common-email-widget-view.component-C4M7KGUS.mjs.map +1 -0
  416. package/fesm2022/acorex-platform-common-file-widget-column.component-CwFzLLHt.mjs.map +1 -1
  417. package/fesm2022/{acorex-platform-common-file-widget-edit.component-DxoQR4CU.mjs → acorex-platform-common-file-widget-edit.component-ZXhaXwWN.mjs} +116 -116
  418. package/fesm2022/acorex-platform-common-file-widget-edit.component-ZXhaXwWN.mjs.map +1 -0
  419. package/fesm2022/{acorex-platform-common-file-widget-filter.component-BvG0iaKU.mjs → acorex-platform-common-file-widget-filter.component-qL-PznYm.mjs} +5 -5
  420. package/fesm2022/acorex-platform-common-file-widget-filter.component-qL-PznYm.mjs.map +1 -0
  421. package/fesm2022/{acorex-platform-common-file-widget-view.component-BC9l3YrO.mjs → acorex-platform-common-file-widget-view.component-B0C9oJLT.mjs} +70 -70
  422. package/fesm2022/acorex-platform-common-file-widget-view.component-B0C9oJLT.mjs.map +1 -0
  423. package/fesm2022/{acorex-platform-common-gallery-widget-edit.component-BihOIJ9T.mjs → acorex-platform-common-gallery-widget-edit.component-DB0-6pik.mjs} +125 -125
  424. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-DB0-6pik.mjs.map +1 -0
  425. package/fesm2022/{acorex-platform-common-gallery-widget-filter.component-DS1PCIJp.mjs → acorex-platform-common-gallery-widget-filter.component-Bvy3nmy6.mjs} +5 -5
  426. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-Bvy3nmy6.mjs.map +1 -0
  427. package/fesm2022/{acorex-platform-common-gallery-widget-view.component-CnQONVdg.mjs → acorex-platform-common-gallery-widget-view.component-Bp5cEEiY.mjs} +109 -109
  428. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Bp5cEEiY.mjs.map +1 -0
  429. package/fesm2022/{acorex-platform-common-largetext-widget-edit.component-BCtGkz1a.mjs → acorex-platform-common-largetext-widget-edit.component-DJhPlQ0G.mjs} +13 -13
  430. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DJhPlQ0G.mjs.map +1 -0
  431. package/fesm2022/acorex-platform-common-lookup-widget-column.component-Cl-vO5XW.mjs.map +1 -1
  432. package/fesm2022/{acorex-platform-common-lookup-widget-edit.component-D9UhViUG.mjs → acorex-platform-common-lookup-widget-edit.component-CpzTuRyJ.mjs} +45 -28
  433. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CpzTuRyJ.mjs.map +1 -0
  434. package/fesm2022/{acorex-platform-common-lookup-widget-filter.component-RWweQQaO.mjs → acorex-platform-common-lookup-widget-filter.component-i8oRoMWh.mjs} +84 -67
  435. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-i8oRoMWh.mjs.map +1 -0
  436. package/fesm2022/{acorex-platform-common-lookup-widget-view.component-mXo8VADX.mjs → acorex-platform-common-lookup-widget-view.component-BHqYDEuU.mjs} +5 -5
  437. package/fesm2022/acorex-platform-common-lookup-widget-view.component-BHqYDEuU.mjs.map +1 -0
  438. package/fesm2022/{acorex-platform-common-map-widget-edit.component-SSrR3xxv.mjs → acorex-platform-common-map-widget-edit.component-BjrRrklq.mjs} +5 -5
  439. package/fesm2022/acorex-platform-common-map-widget-edit.component-BjrRrklq.mjs.map +1 -0
  440. package/fesm2022/{acorex-platform-common-map-widget-view.component-DrGG3gzg.mjs → acorex-platform-common-map-widget-view.component-C5gL9-oB.mjs} +5 -5
  441. package/fesm2022/acorex-platform-common-map-widget-view.component-C5gL9-oB.mjs.map +1 -0
  442. package/fesm2022/{acorex-platform-common-messenger-widget-column.component-BJ_XzNKc.mjs → acorex-platform-common-messenger-widget-column.component-BQSYcyso.mjs} +23 -23
  443. package/fesm2022/acorex-platform-common-messenger-widget-column.component-BQSYcyso.mjs.map +1 -0
  444. package/fesm2022/{acorex-platform-common-messenger-widget-edit.component-B_FG_n0O.mjs → acorex-platform-common-messenger-widget-edit.component-WHM8ANuQ.mjs} +88 -88
  445. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-WHM8ANuQ.mjs.map +1 -0
  446. package/fesm2022/{acorex-platform-common-messenger-widget-view.component-EBiPO9ds.mjs → acorex-platform-common-messenger-widget-view.component-B4Yt68Vn.mjs} +67 -67
  447. package/fesm2022/acorex-platform-common-messenger-widget-view.component-B4Yt68Vn.mjs.map +1 -0
  448. package/fesm2022/{acorex-platform-common-number-widget-edit.component-B1XXga-9.mjs → acorex-platform-common-number-widget-edit.component-D9dC514F.mjs} +15 -15
  449. package/fesm2022/acorex-platform-common-number-widget-edit.component-D9dC514F.mjs.map +1 -0
  450. package/fesm2022/{acorex-platform-common-number-widget-filter.component-B2JCpDjU.mjs → acorex-platform-common-number-widget-filter.component-BkKeBL6p.mjs} +86 -86
  451. package/fesm2022/acorex-platform-common-number-widget-filter.component-BkKeBL6p.mjs.map +1 -0
  452. package/fesm2022/acorex-platform-common-number-widget-view.component-DD0tkoc4.mjs.map +1 -1
  453. package/fesm2022/{acorex-platform-common-password-widget-column.component-eyqgQlAt.mjs → acorex-platform-common-password-widget-column.component-C0-x1_Np.mjs} +37 -37
  454. package/fesm2022/acorex-platform-common-password-widget-column.component-C0-x1_Np.mjs.map +1 -0
  455. package/fesm2022/{acorex-platform-common-password-widget-edit.component-C2yNb9Pl.mjs → acorex-platform-common-password-widget-edit.component-BbYqIGEP.mjs} +15 -15
  456. package/fesm2022/acorex-platform-common-password-widget-edit.component-BbYqIGEP.mjs.map +1 -0
  457. package/fesm2022/{acorex-platform-common-password-widget-view.component-o9S7pwJW.mjs → acorex-platform-common-password-widget-view.component-B6vGWi9I.mjs} +59 -59
  458. package/fesm2022/acorex-platform-common-password-widget-view.component-B6vGWi9I.mjs.map +1 -0
  459. package/fesm2022/{acorex-platform-common-phone-widget-column.component-BL9Xl2XH.mjs → acorex-platform-common-phone-widget-column.component-uAeAPCog.mjs} +41 -41
  460. package/fesm2022/acorex-platform-common-phone-widget-column.component-uAeAPCog.mjs.map +1 -0
  461. package/fesm2022/{acorex-platform-common-phone-widget-edit.component-DSh9zoZj.mjs → acorex-platform-common-phone-widget-edit.component-BdxXFoxc.mjs} +140 -140
  462. package/fesm2022/acorex-platform-common-phone-widget-edit.component-BdxXFoxc.mjs.map +1 -0
  463. package/fesm2022/{acorex-platform-common-phone-widget-view.component-Br3xbaDd.mjs → acorex-platform-common-phone-widget-view.component-D_A5NXzA.mjs} +69 -69
  464. package/fesm2022/acorex-platform-common-phone-widget-view.component-D_A5NXzA.mjs.map +1 -0
  465. package/fesm2022/{acorex-platform-common-rich-text-widget-column.component-DDT58tca.mjs → acorex-platform-common-rich-text-widget-column.component-DDJn1WqG.mjs} +23 -23
  466. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-DDJn1WqG.mjs.map +1 -0
  467. package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-Dz1toc21.mjs → acorex-platform-common-rich-text-widget-edit.component-f30-VPMJ.mjs} +9 -9
  468. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-f30-VPMJ.mjs.map +1 -0
  469. package/fesm2022/{acorex-platform-common-rich-text-widget-view.component-CxTPcEIQ.mjs → acorex-platform-common-rich-text-widget-view.component-Y214kMe4.mjs} +9 -9
  470. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-Y214kMe4.mjs.map +1 -0
  471. package/fesm2022/{acorex-platform-common-selection-list-widget-column.component-BCCmg8MI.mjs → acorex-platform-common-selection-list-widget-column.component-4uQzk7WQ.mjs} +17 -17
  472. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-4uQzk7WQ.mjs.map +1 -0
  473. package/fesm2022/{acorex-platform-common-selection-list-widget-edit.component-B5eUdN2R.mjs → acorex-platform-common-selection-list-widget-edit.component-BY7A969M.mjs} +29 -29
  474. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-BY7A969M.mjs.map +1 -0
  475. package/fesm2022/{acorex-platform-common-selection-list-widget-filter.component-DPpZq1TB.mjs → acorex-platform-common-selection-list-widget-filter.component-NDAFZhfE.mjs} +19 -19
  476. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-NDAFZhfE.mjs.map +1 -0
  477. package/fesm2022/{acorex-platform-common-selection-list-widget-view.component-Bxvd_AKZ.mjs → acorex-platform-common-selection-list-widget-view.component-HzxEiWgp.mjs} +9 -9
  478. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-HzxEiWgp.mjs.map +1 -0
  479. package/fesm2022/{acorex-platform-common-signature-pad-widget-edit.component-CNjYCEi6.mjs → acorex-platform-common-signature-pad-widget-edit.component-C6VI3F_S.mjs} +56 -56
  480. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-C6VI3F_S.mjs.map +1 -0
  481. package/fesm2022/{acorex-platform-common-signature-pad-widget-view.component-CsiBv_7i.mjs → acorex-platform-common-signature-pad-widget-view.component-CEiBtv9t.mjs} +17 -17
  482. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-CEiBtv9t.mjs.map +1 -0
  483. package/fesm2022/{acorex-platform-common-string-widget-filter.component-CrGt6Bov.mjs → acorex-platform-common-string-widget-filter.component-BZiyRHfg.mjs} +68 -68
  484. package/fesm2022/acorex-platform-common-string-widget-filter.component-BZiyRHfg.mjs.map +1 -0
  485. package/fesm2022/acorex-platform-common-text-widget-column.component-qXusAevm.mjs.map +1 -1
  486. package/fesm2022/{acorex-platform-common-text-widget-edit.component-ed0MUYnD.mjs → acorex-platform-common-text-widget-edit.component-DSwPteMX.mjs} +88 -88
  487. package/fesm2022/acorex-platform-common-text-widget-edit.component-DSwPteMX.mjs.map +1 -0
  488. package/fesm2022/{acorex-platform-common-text-widget-view.component-BpxTaeQW.mjs → acorex-platform-common-text-widget-view.component-CKg9nvbY.mjs} +21 -21
  489. package/fesm2022/acorex-platform-common-text-widget-view.component-CKg9nvbY.mjs.map +1 -0
  490. package/fesm2022/{acorex-platform-common-toggle-widget-column.component-BqiUQrmV.mjs → acorex-platform-common-toggle-widget-column.component-_IrciAj-.mjs} +33 -33
  491. package/fesm2022/acorex-platform-common-toggle-widget-column.component-_IrciAj-.mjs.map +1 -0
  492. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-CDG62BJN.mjs.map +1 -1
  493. package/fesm2022/{acorex-platform-common-toggle-widget-view.component-DWYcIPTd.mjs → acorex-platform-common-toggle-widget-view.component-B5JwQ8X-.mjs} +25 -25
  494. package/fesm2022/acorex-platform-common-toggle-widget-view.component-B5JwQ8X-.mjs.map +1 -0
  495. package/fesm2022/acorex-platform-common.mjs +281 -131
  496. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  497. package/fesm2022/acorex-platform-layout-builder.mjs +34 -34
  498. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  499. package/fesm2022/acorex-platform-layout-entity.mjs +272 -200
  500. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  501. package/fesm2022/acorex-platform-layouts-entity-create-view.component-Bxkv579D.mjs +107 -0
  502. package/fesm2022/acorex-platform-layouts-entity-create-view.component-Bxkv579D.mjs.map +1 -0
  503. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-C-dS2HFl.mjs +88 -0
  504. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-C-dS2HFl.mjs.map +1 -0
  505. package/fesm2022/acorex-platform-layouts.mjs +35 -35
  506. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  507. package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
  508. package/fesm2022/acorex-platform-native.mjs.map +1 -1
  509. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CTlj-QBs.mjs +96 -0
  510. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CTlj-QBs.mjs.map +1 -0
  511. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DHmUvWx8.mjs +85 -0
  512. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DHmUvWx8.mjs.map +1 -0
  513. package/fesm2022/acorex-platform-themes-default-error-401.component-BeQ4_BgW.mjs +31 -0
  514. package/fesm2022/acorex-platform-themes-default-error-401.component-BeQ4_BgW.mjs.map +1 -0
  515. package/fesm2022/acorex-platform-themes-default-error-404.component-BYDiT6Ns.mjs +25 -0
  516. package/fesm2022/acorex-platform-themes-default-error-404.component-BYDiT6Ns.mjs.map +1 -0
  517. package/fesm2022/acorex-platform-themes-default-error-offline.component-DUtW3w_g.mjs +19 -0
  518. package/fesm2022/acorex-platform-themes-default-error-offline.component-DUtW3w_g.mjs.map +1 -0
  519. package/fesm2022/acorex-platform-themes-default.mjs +52 -60
  520. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  521. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs → acorex-platform-widgets-checkbox-widget-column.component-CFCwedxX.mjs} +25 -25
  522. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CFCwedxX.mjs.map +1 -0
  523. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs → acorex-platform-widgets-checkbox-widget-view.component-CCTIjDb0.mjs} +29 -29
  524. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-CCTIjDb0.mjs.map +1 -0
  525. package/fesm2022/acorex-platform-widgets.mjs +1383 -1374
  526. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  527. package/fesm2022/acorex-platform-workflow.mjs +18 -13
  528. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  529. package/fesm2022/acorex-platform.mjs.map +1 -1
  530. package/layout/builder/README.md +3 -3
  531. package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +2 -1
  532. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +9 -6
  533. package/layout/entity/lib/entity-master-single.viewmodel.d.ts +7 -5
  534. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +2 -0
  535. package/layouts/README.md +3 -3
  536. package/mocks/README.md +3 -3
  537. package/package.json +1 -1
  538. package/themes/default/README.md +3 -3
  539. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +1 -0
  540. package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +2 -1
  541. package/widgets/README.md +3 -3
  542. package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +1 -1
  543. package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +3 -2
  544. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +1 -1
  545. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
  546. package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +1 -1
  547. package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +1 -1
  548. package/workflow/README.md +3 -3
  549. package/workflow/lib/workflow.service.d.ts +1 -1
  550. package/workflow/lib/workflow.types.d.ts +4 -3
  551. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-B-of5ssU.mjs.map +0 -1
  552. package/fesm2022/acorex-platform-common-avatar-widget-view.component-CJvrSkTv.mjs.map +0 -1
  553. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-BTcOjuUm.mjs.map +0 -1
  554. package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs.map +0 -1
  555. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-X9d1iY_F.mjs.map +0 -1
  556. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-D8FSiqAo.mjs.map +0 -1
  557. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-Df0DuDtw.mjs.map +0 -1
  558. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-CjVjQkPh.mjs.map +0 -1
  559. package/fesm2022/acorex-platform-common-email-widget-column.component-BgNdL62k.mjs.map +0 -1
  560. package/fesm2022/acorex-platform-common-email-widget-edit.component-CgHPGccx.mjs.map +0 -1
  561. package/fesm2022/acorex-platform-common-email-widget-view.component-C2aQ14k-.mjs.map +0 -1
  562. package/fesm2022/acorex-platform-common-file-widget-edit.component-DxoQR4CU.mjs.map +0 -1
  563. package/fesm2022/acorex-platform-common-file-widget-filter.component-BvG0iaKU.mjs.map +0 -1
  564. package/fesm2022/acorex-platform-common-file-widget-view.component-BC9l3YrO.mjs.map +0 -1
  565. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-BihOIJ9T.mjs.map +0 -1
  566. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-DS1PCIJp.mjs.map +0 -1
  567. package/fesm2022/acorex-platform-common-gallery-widget-view.component-CnQONVdg.mjs.map +0 -1
  568. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-BCtGkz1a.mjs.map +0 -1
  569. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-D9UhViUG.mjs.map +0 -1
  570. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-RWweQQaO.mjs.map +0 -1
  571. package/fesm2022/acorex-platform-common-lookup-widget-view.component-mXo8VADX.mjs.map +0 -1
  572. package/fesm2022/acorex-platform-common-map-widget-edit.component-SSrR3xxv.mjs.map +0 -1
  573. package/fesm2022/acorex-platform-common-map-widget-view.component-DrGG3gzg.mjs.map +0 -1
  574. package/fesm2022/acorex-platform-common-messenger-widget-column.component-BJ_XzNKc.mjs.map +0 -1
  575. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-B_FG_n0O.mjs.map +0 -1
  576. package/fesm2022/acorex-platform-common-messenger-widget-view.component-EBiPO9ds.mjs.map +0 -1
  577. package/fesm2022/acorex-platform-common-number-widget-edit.component-B1XXga-9.mjs.map +0 -1
  578. package/fesm2022/acorex-platform-common-number-widget-filter.component-B2JCpDjU.mjs.map +0 -1
  579. package/fesm2022/acorex-platform-common-password-widget-column.component-eyqgQlAt.mjs.map +0 -1
  580. package/fesm2022/acorex-platform-common-password-widget-edit.component-C2yNb9Pl.mjs.map +0 -1
  581. package/fesm2022/acorex-platform-common-password-widget-view.component-o9S7pwJW.mjs.map +0 -1
  582. package/fesm2022/acorex-platform-common-phone-widget-column.component-BL9Xl2XH.mjs.map +0 -1
  583. package/fesm2022/acorex-platform-common-phone-widget-edit.component-DSh9zoZj.mjs.map +0 -1
  584. package/fesm2022/acorex-platform-common-phone-widget-view.component-Br3xbaDd.mjs.map +0 -1
  585. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-DDT58tca.mjs.map +0 -1
  586. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-Dz1toc21.mjs.map +0 -1
  587. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-CxTPcEIQ.mjs.map +0 -1
  588. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-BCCmg8MI.mjs.map +0 -1
  589. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-B5eUdN2R.mjs.map +0 -1
  590. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DPpZq1TB.mjs.map +0 -1
  591. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-Bxvd_AKZ.mjs.map +0 -1
  592. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-CNjYCEi6.mjs.map +0 -1
  593. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-CsiBv_7i.mjs.map +0 -1
  594. package/fesm2022/acorex-platform-common-string-widget-filter.component-CrGt6Bov.mjs.map +0 -1
  595. package/fesm2022/acorex-platform-common-text-widget-edit.component-ed0MUYnD.mjs.map +0 -1
  596. package/fesm2022/acorex-platform-common-text-widget-view.component-BpxTaeQW.mjs.map +0 -1
  597. package/fesm2022/acorex-platform-common-toggle-widget-column.component-BqiUQrmV.mjs.map +0 -1
  598. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DWYcIPTd.mjs.map +0 -1
  599. package/fesm2022/acorex-platform-layouts-entity-create-view.component-fkKPKxlb.mjs +0 -107
  600. package/fesm2022/acorex-platform-layouts-entity-create-view.component-fkKPKxlb.mjs.map +0 -1
  601. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs +0 -88
  602. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs.map +0 -1
  603. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BxYT9KhH.mjs +0 -96
  604. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BxYT9KhH.mjs.map +0 -1
  605. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-F7dr-osu.mjs +0 -85
  606. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-F7dr-osu.mjs.map +0 -1
  607. package/fesm2022/acorex-platform-themes-default-error-401.component-Djuin07Z.mjs +0 -31
  608. package/fesm2022/acorex-platform-themes-default-error-401.component-Djuin07Z.mjs.map +0 -1
  609. package/fesm2022/acorex-platform-themes-default-error-404.component-C-RyiLkk.mjs +0 -25
  610. package/fesm2022/acorex-platform-themes-default-error-404.component-C-RyiLkk.mjs.map +0 -1
  611. package/fesm2022/acorex-platform-themes-default-error-offline.component-WCfy9-cr.mjs +0 -19
  612. package/fesm2022/acorex-platform-themes-default-error-offline.component-WCfy9-cr.mjs.map +0 -1
  613. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs.map +0 -1
  614. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { AXFormatService } from '@acorex/core/format';
2
2
  import { cloneDeep, set, merge, get } from 'lodash-es';
3
3
  import * as i0 from '@angular/core';
4
- import { InjectionToken, inject, Injectable, computed, signal, Injector, Component, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';
4
+ import { InjectionToken, inject, Injectable, computed, signal, Injector, Component, ChangeDetectionStrategy, DestroyRef, ViewChild, NgModule } from '@angular/core';
5
5
  import * as i1$2 from '@acorex/platform/workflow';
6
6
  import { createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowService, ofType, AXPWorkflowModule } from '@acorex/platform/workflow';
7
7
  import { AXPSessionService } from '@acorex/platform/auth';
@@ -12,7 +12,7 @@ import { AXPopupService } from '@acorex/components/popup';
12
12
  import { AXPlatform } from '@acorex/core/platform';
13
13
  import * as i1 from '@acorex/components/common';
14
14
  import { AXDataSource, AXCommonModule } from '@acorex/components/common';
15
- import { Subject } from 'rxjs';
15
+ import { Subject, takeUntil } from 'rxjs';
16
16
  import { RouterModule, ROUTES } from '@angular/router';
17
17
  import * as i6 from '@acorex/platform/layout/builder';
18
18
  import { AXPWidgetBase, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPColumnWidgetBase } from '@acorex/platform/layout/builder';
@@ -37,6 +37,7 @@ import { AXFormModule } from '@acorex/components/form';
37
37
  import * as i5$1 from '@acorex/components/loading';
38
38
  import { AXLoadingModule } from '@acorex/components/loading';
39
39
  import { AXValidationModule } from '@acorex/core/validation';
40
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
40
41
 
41
42
  const AXP_ENTITY_CONFIG_TOKEN = new InjectionToken('AXP_ENTITY_CONFIG_TOKEN');
42
43
  const AXP_ENTITY_DEFINITION_LOADER = new InjectionToken('AXP_ENTITY_DEFINITION_LOADER');
@@ -147,11 +148,10 @@ class AXPEntityPerformDeleteAction extends AXPWorkflowAction {
147
148
  this.loadingDialog = inject(AXLoadingDialogService);
148
149
  }
149
150
  async execute(context) {
150
- debugger;
151
151
  const moduleEntity = context.getVariable('entity');
152
152
  const [moduleName, entityName] = moduleEntity.split(".");
153
- const items = context.getVariable('data');
154
- const ids = items.map(c => c.id);
153
+ const data = context.getVariable('data');
154
+ const ids = Array.isArray(data) ? data.map(c => c.id) : [data.id];
155
155
  const entity = await this.entityRegistery.resolve(moduleName, entityName);
156
156
  let deletedCount = 0;
157
157
  context.setVariable('deleteSuccessful', false);
@@ -197,14 +197,12 @@ class AXPEntityPerformDeleteAction extends AXPWorkflowAction {
197
197
  if (successfulPromises > 0 && failedPromises === 0) {
198
198
  // All items deleted successfully
199
199
  await this.dialogService.alert('Deletion Successful', `${successfulPromises} item(s) has been deleted.`, 'success');
200
- debugger;
201
200
  // Dispatch actions
202
201
  this.dispatch(AXPEntityDeletedEvent({ entity: moduleEntity, ids: ids }));
203
202
  }
204
203
  else if (successfulPromises > 0 && failedPromises > 0) {
205
204
  // Some items deleted successfully, some failed
206
205
  await this.dialogService.alert('Partial Deletion Completed', `${successfulPromises} item(s) deleted successfully. However, ${failedPromises} item(s) could not be deleted.`, 'warning');
207
- debugger;
208
206
  // Dispatch actions
209
207
  this.dispatch(AXPEntityDeletedEvent({ entity: moduleEntity, ids: ids }));
210
208
  }
@@ -474,21 +472,26 @@ class AXPEntityDetailListViewModel {
474
472
  return this.inlineFiltersPlaceholders().length > 0;
475
473
  });
476
474
  //****************** Actions ******************//
477
- this.actions = computed(() => {
478
- // const list = this.detailEntity.interfaces?.master?.list?.actions ?? [];
479
- // return list
480
- // .filter(a =>
481
- // (a.scope == AXPEntityCommandScope.Selected && this.hasSelectedItems()) ||
482
- // (a.scope != AXPEntityCommandScope.Selected && !this.hasSelectedItems())
483
- // )
484
- // .map((tr) => new AXPEntityCommandTriggerViewModel(this.entityDef, tr)) ?? [];
485
- return [];
475
+ this.allActions = computed(() => {
476
+ const list = this.detailEntity()?.interfaces?.master?.list?.actions ?? [];
477
+ return list
478
+ .map((tr) => new AXPEntityCommandTriggerViewModel(this.detailEntity(), tr)) ?? [];
486
479
  });
487
480
  this.primaryActions = computed(() => {
488
- return this.actions().filter(c => c.priority == 'primary');
481
+ return this.allActions()
482
+ .filter(a => (a.priority == 'primary') &&
483
+ ((a.scope == AXPEntityCommandScope.Selected && this.hasSelectedItems()) ||
484
+ (a.scope == AXPEntityCommandScope.TypeLevel && !this.hasSelectedItems())));
489
485
  });
490
486
  this.secondaryActions = computed(() => {
491
- return this.actions().filter(c => c.priority == 'secondary');
487
+ return this.allActions()
488
+ .filter(a => (a.priority == 'secondary') &&
489
+ ((a.scope == AXPEntityCommandScope.Selected && this.hasSelectedItems()) ||
490
+ (a.scope == AXPEntityCommandScope.TypeLevel && !this.hasSelectedItems())));
491
+ });
492
+ this.rowActions = computed(() => {
493
+ return this.allActions()
494
+ .filter(a => (a.scope == AXPEntityCommandScope.Individual));
492
495
  });
493
496
  //****************** Filter ******************//
494
497
  this.inlineFilters = {
@@ -583,6 +586,15 @@ class AXPEntityDetailListViewModel {
583
586
  }
584
587
  //****************** Commands ******************//
585
588
  async executeCommand(commandName, data = null) {
589
+ const action = this.allActions().find(c => c.name == commandName &&
590
+ ((this.selectedItems().length ?
591
+ c.scope == AXPEntityCommandScope.Selected :
592
+ c.scope == AXPEntityCommandScope.Individual) ||
593
+ c.scope == AXPEntityCommandScope.TypeLevel));
594
+ await this.workflow.execute(commandName, {
595
+ entity: this.detailEntity()?.source,
596
+ data: action?.scope == AXPEntityCommandScope.Selected ? this.selectedItems() : data
597
+ });
586
598
  }
587
599
  }
588
600
 
@@ -605,21 +617,18 @@ class AXPEntityMasterSingleViewGroupViewModel {
605
617
  return source;
606
618
  });
607
619
  this.props = computed(() => {
608
- const props = this.entity.properties.filter(c => c.groupId == this.group.id &&
609
- c.schema.hidden != true).map(c => c.name);
610
- const viewProps = this.entity.interfaces?.master?.single?.properties?.filter(c => props.includes(c.name)) ?? [];
611
- return viewProps.map(e => {
612
- return new AXPEntityMasterSingleElementViewModel(this.entity, this, e);
613
- });
620
+ const { properties, interfaces } = this.entity;
621
+ const groupProperties = properties
622
+ .filter(({ groupId, schema }) => groupId === this.group.id && !schema.hidden)
623
+ .map(({ name }) => name);
624
+ const viewProperties = interfaces?.master?.single?.properties?.filter(({ name }) => groupProperties.includes(name)) ?? [];
625
+ return viewProperties.map(prop => new AXPEntityMasterSingleElementViewModel(this.entity, this, prop));
614
626
  });
615
627
  this.editableProps = computed(() => {
616
- const editableProps = this.entity.interfaces?.master?.update?.properties?.map(c => c.name) ?? [];
617
- const props = this.entity.properties.filter(c => c.groupId == this.group.id &&
618
- c.schema.hidden != true &&
619
- editableProps.includes(c.name));
620
- return props.map(e => {
621
- return new AXPEntityMasterSingleElementViewModel(this.entity, this, e);
622
- });
628
+ const { properties, interfaces } = this.entity;
629
+ const editablePropertyNames = interfaces?.master?.update?.properties?.map(({ name }) => name) ?? [];
630
+ const filteredProperties = properties.filter(({ groupId, schema, name }) => groupId === this.group.id && !schema.hidden && editablePropertyNames.includes(name));
631
+ return filteredProperties.map(prop => new AXPEntityMasterSingleElementViewModel(this.entity, this, prop));
623
632
  });
624
633
  this.editable = computed(() => {
625
634
  return this.editableProps().length > 0;
@@ -667,6 +676,7 @@ class AXPEntityMasterSingleViewModel {
667
676
  this.session = this.injector.get(AXPSessionService);
668
677
  this.formatService = this.injector.get(AXFormatService);
669
678
  this.workflow = this.injector.get(AXPWorkflowService);
679
+ this.destroyed = new Subject();
670
680
  this.events$ = new Subject();
671
681
  this.context = signal(cloneDeep(this.entityData));
672
682
  this.actions = computed(() => {
@@ -679,15 +689,11 @@ class AXPEntityMasterSingleViewModel {
679
689
  return this.actions().filter(c => c.priority == 'secondary');
680
690
  });
681
691
  this.sections = computed(() => {
682
- const viewProps = this.entityDef.interfaces?.master?.single?.properties?.map(c => c.name);
683
- const props = this.entityDef.properties.filter(c => c.groupId &&
684
- c.schema.hidden != true &&
685
- viewProps?.includes(c.name));
686
- const groups = this.entityDef.interfaces?.master?.single?.sections?.filter(g => props.some(p => p.groupId == g.id)) ?? [];
687
- const result = groups?.map((section) => {
688
- return new AXPEntityMasterSingleViewGroupViewModel(this.entityDef, section);
689
- });
690
- return (result ?? []);
692
+ const { interfaces, properties } = this.entityDef;
693
+ const viewProps = interfaces?.master?.single?.properties?.map(({ name }) => name) ?? [];
694
+ const filteredProperties = properties.filter(({ groupId, schema, name }) => groupId && !schema.hidden && viewProps.includes(name));
695
+ const groups = interfaces?.master?.single?.sections?.filter(({ id }) => filteredProperties.some(({ groupId }) => groupId === id)) ?? [];
696
+ return groups.map(section => new AXPEntityMasterSingleViewGroupViewModel(this.entityDef, section));
691
697
  });
692
698
  //****************** Title ******************//
693
699
  this.title = computed(() => {
@@ -721,7 +727,10 @@ class AXPEntityMasterSingleViewModel {
721
727
  this.relatedEntities = computed(() => {
722
728
  return this.entityDef.relatedEntities?.map(re => new AXPEntityDetailListViewModel(this.injector, re, { entity: this.entityDef, data: this.entityData })) ?? [];
723
729
  });
724
- this.workflow.events$.pipe(ofType(AXPEntityDeletedEvent)).subscribe((event) => {
730
+ this.workflow.events$
731
+ .pipe(ofType(AXPEntityDeletedEvent))
732
+ .pipe(takeUntil(this.destroyed))
733
+ .subscribe((event) => {
725
734
  if (event.payload.entity == this.entityDef.source &&
726
735
  event.payload.ids.includes(this.context().id)) {
727
736
  this.workflow.execute('show-list-view', {
@@ -729,7 +738,10 @@ class AXPEntityMasterSingleViewModel {
729
738
  });
730
739
  }
731
740
  });
732
- this.workflow.events$.pipe(ofType(AXPEntityModifyEvent)).subscribe(async (event) => {
741
+ this.workflow.events$
742
+ .pipe(ofType(AXPEntityModifyEvent))
743
+ .pipe(takeUntil(this.destroyed))
744
+ .subscribe(async (event) => {
733
745
  if (event.payload.entity == this.entityDef.source &&
734
746
  event.payload.values.id === this.context().id) {
735
747
  this.context.set(event.payload.values);
@@ -737,15 +749,8 @@ class AXPEntityMasterSingleViewModel {
737
749
  });
738
750
  }
739
751
  async executeCommand(commandName, data = null) {
740
- // debugger
741
752
  //TODO: syntact for workflow
742
753
  switch (commandName) {
743
- case 'delete-entity':
744
- this.workflow.execute('delete-entity', {
745
- entity: this.entityDef.source,
746
- data: [this.context()],
747
- });
748
- break;
749
754
  case 'modify-entity-section': {
750
755
  this.workflow.execute('modify-entity-section', {
751
756
  entity: this.entityDef.source,
@@ -761,11 +766,17 @@ class AXPEntityMasterSingleViewModel {
761
766
  const action = this.actions().find(c => c.name == commandName);
762
767
  this.workflow.execute(commandName, {
763
768
  entity: this.entityDef.source,
764
- data: action?.scope == AXPEntityCommandScope.Individual ? data : null
769
+ data: action?.scope == AXPEntityCommandScope.Individual ? this.context() : null
765
770
  });
766
771
  }
767
772
  }
768
773
  }
774
+ //
775
+ //
776
+ destroy() {
777
+ this.destroyed.next();
778
+ this.destroyed.complete();
779
+ }
769
780
  }
770
781
  class AXPEntityDetailViewModelFactory {
771
782
  constructor() {
@@ -819,13 +830,15 @@ class AXPEntityCreateViewSectionViewModel {
819
830
  return source;
820
831
  });
821
832
  this.elements = computed(() => {
822
- const createProps = this.entity.interfaces?.master?.create?.properties ?? [];
823
- const createPropsNames = createProps.map(c => c.name);
824
- const props = this.entity.properties.filter(c => c.groupId == this.group.id &&
825
- c.schema.hidden != true &&
826
- createPropsNames.includes(c.name));
827
- return props.map(p => {
828
- return new AXPEntityCreateViewElementViewModel(this.entity, this, p, createProps.find(c => c.name == p.name));
833
+ const { interfaces, properties } = this.entity;
834
+ const createProps = interfaces?.master?.create?.properties ?? [];
835
+ const createPropNames = new Set(createProps.map(({ name }) => name));
836
+ const filteredProperties = properties.filter(({ groupId, schema, name }) => groupId === this.group.id &&
837
+ !schema.hidden &&
838
+ createPropNames.has(name));
839
+ return filteredProperties.map(property => {
840
+ const createProp = createProps.find(({ name }) => name === property.name);
841
+ return new AXPEntityCreateViewElementViewModel(this.entity, this, property, createProp);
829
842
  });
830
843
  });
831
844
  }
@@ -877,22 +890,24 @@ class AXPEntityMasterCreateViewModel {
877
890
  this.context = signal(this.initialData ?? {});
878
891
  this.isInProgress = signal(false);
879
892
  this.sections = computed(() => {
880
- const createProps = this.entityDef.interfaces?.master?.create?.properties?.map(c => c.name) ?? [];
881
- const props = this.entityDef.properties.filter(p => p.groupId && p.schema.hidden != true && createProps.includes(p.name));
882
- const groups = this.entityDef.interfaces?.master?.create?.sections?.filter(g => props.some(p => p.groupId == g.id)) ?? [];
883
- const result = groups?.map((section) => {
884
- return new AXPEntityCreateViewSectionViewModel(this.entityDef, section);
885
- });
886
- return (result ?? []);
893
+ const { interfaces, properties } = this.entityDef;
894
+ const createProps = interfaces?.master?.create?.properties?.map(({ name }) => name) ?? [];
895
+ const visibleProperties = properties.filter(({ groupId, schema, name }) => groupId && !schema.hidden && createProps.includes(name));
896
+ const sections = interfaces?.master?.create?.sections?.filter(({ id }) => visibleProperties.some(({ groupId }) => groupId === id)) ?? [];
897
+ return sections.map(section => new AXPEntityCreateViewSectionViewModel(this.entityDef, section));
887
898
  });
888
899
  if (!initialData)
889
900
  initialData = {};
890
901
  this.config.properties
891
- .filter(c => c.schema.defaultValue && typeof c.schema.defaultValue === 'function')
902
+ .filter(c => c.schema.defaultValue != null)
892
903
  .forEach(p => {
893
- debugger;
894
- const func = p.schema.defaultValue;
895
- set(initialData, p.name, func(initialData));
904
+ if (typeof p.schema.defaultValue === 'function') {
905
+ const func = p.schema.defaultValue;
906
+ set(initialData, p.name, func(initialData));
907
+ }
908
+ else {
909
+ set(initialData, p.name, p.schema.defaultValue);
910
+ }
896
911
  });
897
912
  this.context.set(initialData);
898
913
  }
@@ -956,6 +971,7 @@ class AXPEntityMasterListViewModel {
956
971
  this.formatService = this.injector.get(AXFormatService);
957
972
  this.session = this.injector.get(AXPSessionService);
958
973
  this.workflow = this.injector.get(AXPWorkflowService);
974
+ this.destroyed = new Subject();
959
975
  this.events$ = new Subject();
960
976
  this.dataSource = new AXDataSource({
961
977
  byKey: (key) => {
@@ -1003,18 +1019,26 @@ class AXPEntityMasterListViewModel {
1003
1019
  ];
1004
1020
  });
1005
1021
  //****************** Actions ******************//
1006
- this.actions = computed(() => {
1022
+ this.allActions = computed(() => {
1007
1023
  const list = this.entityDef.interfaces?.master?.list?.actions ?? [];
1008
1024
  return list
1009
- .filter(a => (a.scope == AXPEntityCommandScope.Selected && this.hasSelectedItems()) ||
1010
- (a.scope != AXPEntityCommandScope.Selected && !this.hasSelectedItems()))
1011
1025
  .map((tr) => new AXPEntityCommandTriggerViewModel(this.entityDef, tr)) ?? [];
1012
1026
  });
1013
1027
  this.primaryActions = computed(() => {
1014
- return this.actions().filter(c => c.priority == 'primary');
1028
+ return this.allActions()
1029
+ .filter(a => (a.priority == 'primary') &&
1030
+ ((a.scope == AXPEntityCommandScope.Selected && this.hasSelectedItems()) ||
1031
+ (a.scope == AXPEntityCommandScope.TypeLevel && !this.hasSelectedItems())));
1015
1032
  });
1016
1033
  this.secondaryActions = computed(() => {
1017
- return this.actions().filter(c => c.priority == 'secondary');
1034
+ return this.allActions()
1035
+ .filter(a => (a.priority == 'secondary') &&
1036
+ ((a.scope == AXPEntityCommandScope.Selected && this.hasSelectedItems()) ||
1037
+ (a.scope == AXPEntityCommandScope.TypeLevel && !this.hasSelectedItems())));
1038
+ });
1039
+ this.rowActions = computed(() => {
1040
+ return this.allActions()
1041
+ .filter(a => (a.scope == AXPEntityCommandScope.Individual));
1018
1042
  });
1019
1043
  //****************** Filter ******************//
1020
1044
  this.inlineFilters = {
@@ -1031,11 +1055,14 @@ class AXPEntityMasterListViewModel {
1031
1055
  };
1032
1056
  //****************** Columns ******************//
1033
1057
  this.allAvailableColumns = () => {
1034
- const columns = this.entityDef.columns?.map(c => c.name) ?? [];
1035
- const props = this.entityDef.properties.filter(p => p.schema.hidden != true);
1036
- const displayColumns = props.filter(p => columns.some(c => c == p.name));
1037
- return displayColumns.map(p => {
1038
- return new AXPEntityListViewColumnViewModel(p, this.entityDef.columns?.find(c => c.name == p.name));
1058
+ const { columns = [], properties } = this.entityDef;
1059
+ const visibleProperties = properties.filter(({ schema }) => !schema?.hidden);
1060
+ const visiblePropNames = new Set(visibleProperties.map(({ name }) => name));
1061
+ return columns
1062
+ .filter(({ name }) => visiblePropNames.has(name))
1063
+ .map(column => {
1064
+ const property = visibleProperties.find(({ name }) => name === column.name);
1065
+ return new AXPEntityListViewColumnViewModel(property, column);
1039
1066
  });
1040
1067
  };
1041
1068
  this.visibleColumnCount = () => {
@@ -1073,7 +1100,11 @@ class AXPEntityMasterListViewModel {
1073
1100
  });
1074
1101
  });
1075
1102
  this.view = signal(this.views()[0]);
1076
- this.workflow.events$.pipe(ofType(AXPEntityDeletedEvent)).subscribe((event) => {
1103
+ this.workflow.events$
1104
+ .pipe(ofType(AXPEntityDeletedEvent))
1105
+ .pipe(takeUntil(this.destroyed))
1106
+ .subscribe((event) => {
1107
+ debugger;
1077
1108
  if (event.payload.entity == this.entityDef.source) {
1078
1109
  this.selectedItems.set([]);
1079
1110
  this.events$.next({ action: "refresh" });
@@ -1104,6 +1135,12 @@ class AXPEntityMasterListViewModel {
1104
1135
  //
1105
1136
  this.dataSource.sort(...this.sortedFields().map(s => ({ dir: s.dir, field: s.name })));
1106
1137
  //
1138
+ this.advanceFilters.filters = this.view().conditions.map(f => ({
1139
+ field: f.name,
1140
+ operator: f.operator,
1141
+ value: f.value
1142
+ }));
1143
+ //
1107
1144
  const inline = this.inlineFilters.filters?.length ?? 0;
1108
1145
  const advance = this.advanceFilters.filters?.length ?? 0;
1109
1146
  if (inline && !advance) {
@@ -1175,12 +1212,21 @@ class AXPEntityMasterListViewModel {
1175
1212
  }
1176
1213
  //****************** Commands ******************//
1177
1214
  async executeCommand(commandName, data = null) {
1178
- const action = this.actions().find(c => c.name == commandName);
1215
+ const action = this.allActions().find(c => c.name == commandName &&
1216
+ ((this.selectedItems().length ?
1217
+ c.scope == AXPEntityCommandScope.Selected :
1218
+ c.scope == AXPEntityCommandScope.Individual) ||
1219
+ c.scope == AXPEntityCommandScope.TypeLevel));
1179
1220
  await this.workflow.execute(commandName, {
1180
1221
  entity: this.entityDef.source,
1181
1222
  data: action?.scope == AXPEntityCommandScope.Selected ? this.selectedItems() : data
1182
1223
  });
1183
1224
  }
1225
+ //
1226
+ destroy() {
1227
+ this.destroyed.next();
1228
+ this.destroyed.complete();
1229
+ }
1184
1230
  }
1185
1231
  class AXPEntityListViewModelFactory {
1186
1232
  constructor() {
@@ -1221,21 +1267,20 @@ class AXPEntityCreatePopupAction extends AXPWorkflowAction {
1221
1267
  }
1222
1268
  async execute(context) {
1223
1269
  const [module, entity] = context.getVariable('entity').split(".");
1224
- const dataContext = context.getVariable('context');
1270
+ const data = context.getVariable('data');
1225
1271
  const entityRef = await this.entityRegistery.resolve(module, entity);
1226
1272
  const com = await this.config.viewers.master.create();
1227
1273
  const result = await this.popupService.open(com, {
1228
1274
  title: `Create New ${entityRef.formats.individual}`,
1229
1275
  size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',
1230
1276
  data: {
1231
- vm: await this.factory.create(module, entity, dataContext),
1277
+ vm: await this.factory.create(module, entity, data),
1232
1278
  entity,
1233
1279
  },
1234
1280
  });
1235
1281
  context.setOutput('result', false);
1236
1282
  if (result.data?.save) {
1237
1283
  context.setOutput('result', true);
1238
- context.setVariable('redirect', result.data.redirect);
1239
1284
  context.setVariable('data', result.data.item);
1240
1285
  }
1241
1286
  }
@@ -1247,6 +1292,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
1247
1292
  }] });
1248
1293
  class AXPEntityCreateSubmittedAction extends AXPWorkflowAction {
1249
1294
  async execute(context) {
1295
+ debugger;
1250
1296
  this.dispatch(AXPEntityCreateEvent({ entity: context.getVariable('entity') }));
1251
1297
  }
1252
1298
  }
@@ -1280,7 +1326,7 @@ const AXPCreateEntityWorkflow = {
1280
1326
  action: 'AXPEntityCreateSubmittedAction',
1281
1327
  nextSteps: [
1282
1328
  {
1283
- conditions: [{ type: 'SINGLE', expression: 'context.getVariable("redirect") == true' }],
1329
+ conditions: [{ type: 'SINGLE', expression: 'context.getVariable("redirect") != false' }],
1284
1330
  nextStepId: 'show-entity',
1285
1331
  },
1286
1332
  ],
@@ -1316,7 +1362,6 @@ const AXPShowDetailsViewWorkflow = {
1316
1362
  startStepId: 'showDetailView',
1317
1363
  steps: {
1318
1364
  showDetailView: {
1319
- id: 'showDetailView',
1320
1365
  action: 'AXPShowDetailViewAction',
1321
1366
  },
1322
1367
  },
@@ -1347,7 +1392,6 @@ class AXPLookupWidgetSelectorComponent extends AXBasePageComponent {
1347
1392
  // super.ngOnInit();
1348
1393
  // }
1349
1394
  ngAfterViewInit() {
1350
- debugger;
1351
1395
  if (this.searchTerm) {
1352
1396
  this.vm.applyInlineFilter(this.searchTerm);
1353
1397
  }
@@ -1382,81 +1426,81 @@ class AXPLookupWidgetSelectorComponent extends AXBasePageComponent {
1382
1426
  }
1383
1427
  }
1384
1428
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetSelectorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1385
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLookupWidgetSelectorComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
1386
- <div class="ax-p-4 ax-flex ax-flex-col ax-gap-4 ax-overflow-hidden">
1387
- @if(vm.hasInlineFilters())
1388
- {
1389
- <div class="ax-w-full" >
1390
- <ax-search-box [placeholder]="'Search on '+vm.inlineFiltersPlaceholders().join(', ')" [value]="searchTerm"
1391
- (onValueChanged)="handleChangeSearchValue($event)" [axAutoFocus]="true"><ax-clear-button></ax-clear-button></ax-search-box>
1392
- </div>
1393
- }
1394
- <ax-data-table #grid [showFooter]="false" class="ax-h-[50vh]" [paging]="true" [fetchDataMode]="'manual'"
1395
- [loading]="{ enabled: true, animation: true }" [dataSource]="vm.dataSource"
1396
- (selectedRowsChange)="handleSelectedRowsChange($event)" (onRowClick)="handleRowClick($event)" (onRowDbClick)="handleRowDbClick($event)">
1397
- <!-- <ax-select-column fixed="start" [width]="'50px'"></ax-select-column> -->
1398
- @for(col of vm.columns();track col.name) {
1399
- @if(col.visible)
1400
- {
1401
- <axp-widget-column-renderer [caption]="col.title" [node]="col.node()"></axp-widget-column-renderer>
1402
- }
1403
- }
1404
- </ax-data-table>
1405
- </div>
1406
- <ax-footer>
1407
- <ax-suffix>
1408
- <ax-button look="solid" color="ghost" text="Close" (onClick)="handleCloseClick()"> </ax-button>
1409
- <ax-button look="solid" color="primary" text="Select" (onClick)="handleSelectClick()" [disabled]="focusedRow==null"> </ax-button>
1410
- @if(!vm.canCreate())
1411
- {
1412
- <ax-button look="solid" color="primary" text="Create New" (onClick)="handleCreateNewClick()">
1413
- <ax-prefix>
1414
- <ax-icon icon="fa-solid fa-add"></ax-icon>
1415
- </ax-prefix>
1416
- </ax-button>
1417
- }
1418
- </ax-suffix>
1419
- </ax-footer>
1420
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXCommonModule }, { kind: "directive", type: i1.AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i4.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "rowTemplate", "emptyTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowDbClick", "onColumnsOrderChanged"] }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i5.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "delayTime"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i6.AXPWidgetColumnRendererComponent, selector: "axp-widget-column-renderer", inputs: ["caption", "node", "footerTemplate", "cellTemplate", "headerTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1429
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLookupWidgetSelectorComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
1430
+ <div class="ax-p-4 ax-flex ax-flex-col ax-gap-4 ax-overflow-hidden">
1431
+ @if(vm.hasInlineFilters())
1432
+ {
1433
+ <div class="ax-w-full" >
1434
+ <ax-search-box [placeholder]="'Search on '+vm.inlineFiltersPlaceholders().join(', ')" [value]="searchTerm"
1435
+ (onValueChanged)="handleChangeSearchValue($event)" [axAutoFocus]="true"><ax-clear-button></ax-clear-button></ax-search-box>
1436
+ </div>
1437
+ }
1438
+ <ax-data-table #grid [showFooter]="false" class="ax-h-[50vh]" [paging]="true" [fetchDataMode]="'manual'"
1439
+ [loading]="{ enabled: true, animation: true }" [dataSource]="vm.dataSource"
1440
+ (selectedRowsChange)="handleSelectedRowsChange($event)" (onRowClick)="handleRowClick($event)" (onRowDbClick)="handleRowDbClick($event)">
1441
+ <!-- <ax-select-column fixed="start" [width]="'50px'"></ax-select-column> -->
1442
+ @for(col of vm.columns();track col.name) {
1443
+ @if(col.visible)
1444
+ {
1445
+ <axp-widget-column-renderer [caption]="col.title" [node]="col.node()"></axp-widget-column-renderer>
1446
+ }
1447
+ }
1448
+ </ax-data-table>
1449
+ </div>
1450
+ <ax-footer>
1451
+ <ax-suffix>
1452
+ <ax-button look="solid" color="ghost" text="Close" (onClick)="handleCloseClick()"> </ax-button>
1453
+ <ax-button look="solid" color="primary" text="Select" (onClick)="handleSelectClick()" [disabled]="focusedRow==null"> </ax-button>
1454
+ @if(!vm.canCreate())
1455
+ {
1456
+ <ax-button look="solid" color="primary" text="Create New" (onClick)="handleCreateNewClick()">
1457
+ <ax-prefix>
1458
+ <ax-icon icon="fa-solid fa-add"></ax-icon>
1459
+ </ax-prefix>
1460
+ </ax-button>
1461
+ }
1462
+ </ax-suffix>
1463
+ </ax-footer>
1464
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXCommonModule }, { kind: "directive", type: i1.AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { 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: AXFormModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i4.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "rowTemplate", "emptyTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowDbClick", "onColumnsOrderChanged"] }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i5.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "delayTime"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i6.AXPWidgetColumnRendererComponent, selector: "axp-widget-column-renderer", inputs: ["caption", "node", "footerTemplate", "cellTemplate", "headerTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1421
1465
  }
1422
1466
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetSelectorComponent, decorators: [{
1423
1467
  type: Component,
1424
1468
  args: [{
1425
- template: `
1426
- <div class="ax-p-4 ax-flex ax-flex-col ax-gap-4 ax-overflow-hidden">
1427
- @if(vm.hasInlineFilters())
1428
- {
1429
- <div class="ax-w-full" >
1430
- <ax-search-box [placeholder]="'Search on '+vm.inlineFiltersPlaceholders().join(', ')" [value]="searchTerm"
1431
- (onValueChanged)="handleChangeSearchValue($event)" [axAutoFocus]="true"><ax-clear-button></ax-clear-button></ax-search-box>
1432
- </div>
1433
- }
1434
- <ax-data-table #grid [showFooter]="false" class="ax-h-[50vh]" [paging]="true" [fetchDataMode]="'manual'"
1435
- [loading]="{ enabled: true, animation: true }" [dataSource]="vm.dataSource"
1436
- (selectedRowsChange)="handleSelectedRowsChange($event)" (onRowClick)="handleRowClick($event)" (onRowDbClick)="handleRowDbClick($event)">
1437
- <!-- <ax-select-column fixed="start" [width]="'50px'"></ax-select-column> -->
1438
- @for(col of vm.columns();track col.name) {
1439
- @if(col.visible)
1440
- {
1441
- <axp-widget-column-renderer [caption]="col.title" [node]="col.node()"></axp-widget-column-renderer>
1442
- }
1443
- }
1444
- </ax-data-table>
1445
- </div>
1446
- <ax-footer>
1447
- <ax-suffix>
1448
- <ax-button look="solid" color="ghost" text="Close" (onClick)="handleCloseClick()"> </ax-button>
1449
- <ax-button look="solid" color="primary" text="Select" (onClick)="handleSelectClick()" [disabled]="focusedRow==null"> </ax-button>
1450
- @if(!vm.canCreate())
1451
- {
1452
- <ax-button look="solid" color="primary" text="Create New" (onClick)="handleCreateNewClick()">
1453
- <ax-prefix>
1454
- <ax-icon icon="fa-solid fa-add"></ax-icon>
1455
- </ax-prefix>
1456
- </ax-button>
1457
- }
1458
- </ax-suffix>
1459
- </ax-footer>
1469
+ template: `
1470
+ <div class="ax-p-4 ax-flex ax-flex-col ax-gap-4 ax-overflow-hidden">
1471
+ @if(vm.hasInlineFilters())
1472
+ {
1473
+ <div class="ax-w-full" >
1474
+ <ax-search-box [placeholder]="'Search on '+vm.inlineFiltersPlaceholders().join(', ')" [value]="searchTerm"
1475
+ (onValueChanged)="handleChangeSearchValue($event)" [axAutoFocus]="true"><ax-clear-button></ax-clear-button></ax-search-box>
1476
+ </div>
1477
+ }
1478
+ <ax-data-table #grid [showFooter]="false" class="ax-h-[50vh]" [paging]="true" [fetchDataMode]="'manual'"
1479
+ [loading]="{ enabled: true, animation: true }" [dataSource]="vm.dataSource"
1480
+ (selectedRowsChange)="handleSelectedRowsChange($event)" (onRowClick)="handleRowClick($event)" (onRowDbClick)="handleRowDbClick($event)">
1481
+ <!-- <ax-select-column fixed="start" [width]="'50px'"></ax-select-column> -->
1482
+ @for(col of vm.columns();track col.name) {
1483
+ @if(col.visible)
1484
+ {
1485
+ <axp-widget-column-renderer [caption]="col.title" [node]="col.node()"></axp-widget-column-renderer>
1486
+ }
1487
+ }
1488
+ </ax-data-table>
1489
+ </div>
1490
+ <ax-footer>
1491
+ <ax-suffix>
1492
+ <ax-button look="solid" color="ghost" text="Close" (onClick)="handleCloseClick()"> </ax-button>
1493
+ <ax-button look="solid" color="primary" text="Select" (onClick)="handleSelectClick()" [disabled]="focusedRow==null"> </ax-button>
1494
+ @if(!vm.canCreate())
1495
+ {
1496
+ <ax-button look="solid" color="primary" text="Create New" (onClick)="handleCreateNewClick()">
1497
+ <ax-prefix>
1498
+ <ax-icon icon="fa-solid fa-add"></ax-icon>
1499
+ </ax-prefix>
1500
+ </ax-button>
1501
+ }
1502
+ </ax-suffix>
1503
+ </ax-footer>
1460
1504
  `,
1461
1505
  standalone: true,
1462
1506
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1551,13 +1595,25 @@ class AXPLookupWidgetSelectorViewModel {
1551
1595
  //
1552
1596
  //this.dataSource.sort(...this.sortedFields().map(s => ({ dir: s.dir, field: s.name } as AXDataSourceSortOption)));
1553
1597
  //
1598
+ // Check if inlineFilters or parentFilters have any filters
1599
+ const hasInlineFilters = (this.inlineFilters?.filters?.length ?? 0) > 0;
1600
+ const hasParentFilters = (this.parentFilters?.filters?.length ?? 0) > 0;
1601
+ // Construct the filters array based on the presence of filters
1602
+ const filters = [];
1603
+ if (hasInlineFilters) {
1604
+ filters.push(this.inlineFilters);
1605
+ }
1606
+ if (hasParentFilters && this.parentFilters) {
1607
+ filters.push(this.parentFilters);
1608
+ }
1609
+ // Apply the filters to the dataSource
1554
1610
  this.dataSource.filter({
1555
1611
  field: null,
1556
1612
  logic: 'and',
1557
1613
  operator: null,
1558
- filters: this.parentFilters ? [this.inlineFilters, this.parentFilters] : [this.inlineFilters]
1614
+ filters: filters
1559
1615
  });
1560
- //
1616
+ // Refresh the dataSource
1561
1617
  this.dataSource.refresh();
1562
1618
  }
1563
1619
  async find(value) {
@@ -1577,6 +1633,7 @@ class AXPLookupWidgetEditComponent extends AXPWidgetBase {
1577
1633
  this.formatService = inject(AXFormatService);
1578
1634
  this.popupService = inject(AXPopupService);
1579
1635
  this.builderService = inject(AXPLayoutBuilderService);
1636
+ this.destroyRef = inject(DestroyRef);
1580
1637
  this.displayText = signal("");
1581
1638
  this.selectedItem = signal(null);
1582
1639
  this.searchTerm = signal(null);
@@ -1602,17 +1659,23 @@ class AXPLookupWidgetEditComponent extends AXPWidgetBase {
1602
1659
  else if (value != null) {
1603
1660
  await this.findByValue();
1604
1661
  }
1605
- this.builderService.onChanged.subscribe(async (c) => {
1662
+ //
1663
+ this.builderService
1664
+ .onChanged
1665
+ .pipe(takeUntilDestroyed(this.destroyRef))
1666
+ .subscribe(async (c) => {
1606
1667
  if (c.path == this.path) {
1607
- console.log(c, this.getValue());
1608
- await this.findByValue();
1668
+ if (this.getValue())
1669
+ await this.findByValue();
1609
1670
  }
1610
1671
  });
1611
1672
  }
1612
1673
  async findByValue() {
1674
+ this.isLoading.set(true);
1613
1675
  const byKey = this.entityDef?.queries.byKey?.execute;
1614
1676
  const item = await byKey(this.getValue());
1615
1677
  this.setItems(item);
1678
+ this.isLoading.set(false);
1616
1679
  }
1617
1680
  handleOnClick(e) {
1618
1681
  this.showSelector();
@@ -1684,59 +1747,68 @@ class AXPLookupWidgetEditComponent extends AXPWidgetBase {
1684
1747
  this.builderService.setValue(i, item);
1685
1748
  }
1686
1749
  else {
1687
- this.builderService.setValue(i.target, get(item, i.source));
1750
+ const key = get(item, i.source);
1751
+ this.builderService.setValue(i.target, key);
1688
1752
  }
1689
1753
  });
1690
1754
  }
1691
1755
  }
1692
1756
  }
1757
+ handleClearClick() {
1758
+ this.clear();
1759
+ this.setValue(null);
1760
+ }
1693
1761
  clear() {
1694
1762
  this.searchTerm.set('');
1695
1763
  this.displayText.set('');
1696
1764
  this.selectedItem.set(null);
1697
1765
  }
1698
1766
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1699
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLookupWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { entity: "entity", conditions: "conditions", expose: "expose" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
1700
- <ax-text-box [ngModel]="displayText()" (onValueChanged)="handleValueChange($event)" [placeholder]="placeholder()" (onKeyUp)="handleKeyDown($event)" (onBlur)="handleOnBlur($event)">
1701
- @for (validation of validationRules; track $index) {
1702
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1703
- }
1704
- <ax-suffix>
1705
- <ax-button color="ghost" look="twotone" [disabled]="isLoading()" (onClick)="handleOnClick($event)">
1706
- @if(isLoading())
1707
- {
1708
- <ax-loading></ax-loading>
1709
- }
1710
- @else {
1711
- <ax-icon icon="far fa-search">
1712
- </ax-icon>
1713
- }
1714
- </ax-button>
1715
- </ax-suffix>
1716
- </ax-text-box>
1717
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i2$1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { 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: AXLoadingModule }, { kind: "component", type: i5$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i6$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1767
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLookupWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { entity: "entity", conditions: "conditions", expose: "expose" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
1768
+ <ax-text-box [ngModel]="displayText()" (onValueChanged)="handleValueChange($event)" [placeholder]="placeholder()" (onKeyUp)="handleKeyDown($event)" (onBlur)="handleOnBlur($event)">
1769
+ @for (validation of validationRules; track $index) {
1770
+ <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1771
+ }
1772
+ <ax-clear-button (click)="handleClearClick()"></ax-clear-button>
1773
+
1774
+ <ax-suffix>
1775
+ <ax-button color="ghost" look="twotone" [disabled]="isLoading()" (onClick)="handleOnClick($event)">
1776
+ @if(isLoading())
1777
+ {
1778
+ <ax-loading></ax-loading>
1779
+ }
1780
+ @else {
1781
+ <ax-icon icon="far fa-search">
1782
+ </ax-icon>
1783
+ }
1784
+ </ax-button>
1785
+ </ax-suffix>
1786
+ </ax-text-box>
1787
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i2$1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: 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"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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: AXLoadingModule }, { kind: "component", type: i5$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i6$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1718
1788
  }
1719
1789
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetEditComponent, decorators: [{
1720
1790
  type: Component,
1721
1791
  args: [{
1722
- template: `
1723
- <ax-text-box [ngModel]="displayText()" (onValueChanged)="handleValueChange($event)" [placeholder]="placeholder()" (onKeyUp)="handleKeyDown($event)" (onBlur)="handleOnBlur($event)">
1724
- @for (validation of validationRules; track $index) {
1725
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1726
- }
1727
- <ax-suffix>
1728
- <ax-button color="ghost" look="twotone" [disabled]="isLoading()" (onClick)="handleOnClick($event)">
1729
- @if(isLoading())
1730
- {
1731
- <ax-loading></ax-loading>
1732
- }
1733
- @else {
1734
- <ax-icon icon="far fa-search">
1735
- </ax-icon>
1736
- }
1737
- </ax-button>
1738
- </ax-suffix>
1739
- </ax-text-box>
1792
+ template: `
1793
+ <ax-text-box [ngModel]="displayText()" (onValueChanged)="handleValueChange($event)" [placeholder]="placeholder()" (onKeyUp)="handleKeyDown($event)" (onBlur)="handleOnBlur($event)">
1794
+ @for (validation of validationRules; track $index) {
1795
+ <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1796
+ }
1797
+ <ax-clear-button (click)="handleClearClick()"></ax-clear-button>
1798
+
1799
+ <ax-suffix>
1800
+ <ax-button color="ghost" look="twotone" [disabled]="isLoading()" (onClick)="handleOnClick($event)">
1801
+ @if(isLoading())
1802
+ {
1803
+ <ax-loading></ax-loading>
1804
+ }
1805
+ @else {
1806
+ <ax-icon icon="far fa-search">
1807
+ </ax-icon>
1808
+ }
1809
+ </ax-button>
1810
+ </ax-suffix>
1811
+ </ax-text-box>
1740
1812
  `,
1741
1813
  standalone: true,
1742
1814
  changeDetection: ChangeDetectionStrategy.OnPush,