@acorex/platform 1.0.6 → 18.0.1

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 (1162) hide show
  1. package/README.md +7 -7
  2. package/auth/README.md +3 -3
  3. package/auth/lib/auth.strategy.d.ts +6 -3
  4. package/common/README.md +3 -3
  5. package/common/index.d.ts +5 -3
  6. package/common/lib/app/application.types.d.ts +234 -0
  7. package/common/lib/app/index.d.ts +2 -0
  8. package/common/lib/common.module.d.ts +6 -4
  9. package/common/lib/configs/app.config.d.ts +1 -1
  10. package/common/lib/layout/beardcrumb.type.d.ts +6 -0
  11. package/common/lib/layout/grid-layout/grid-layout.directive.d.ts +15 -0
  12. package/common/lib/layout/grid-layout/grid-layout.types.d.ts +19 -0
  13. package/common/lib/layout/grid-layout/index.d.ts +2 -0
  14. package/common/lib/layout/index.d.ts +9 -0
  15. package/common/lib/layout/logo/index.d.ts +2 -0
  16. package/common/lib/layout/sticky.directive.d.ts +25 -0
  17. package/common/lib/layout/theme/components/slots/index.d.ts +3 -0
  18. package/common/lib/layout/theme/components/slots/navbar-slot.component.d.ts +10 -0
  19. package/common/lib/layout/theme/store/admin-layout.selectors.d.ts +5 -0
  20. package/common/lib/schema/entity/entity.class.d.ts +155 -0
  21. package/common/lib/schema/index.d.ts +8 -0
  22. package/common/lib/schema/schema.types.d.ts +15 -0
  23. package/common/lib/schema/widget/index.d.ts +5 -0
  24. package/common/lib/schema/widget/widget-base.d.ts +45 -0
  25. package/common/lib/schema/widget/widget-token.d.ts +16 -0
  26. package/common/lib/schema/widgets/avatar/avatar-widget-edit.component.d.ts +16 -0
  27. package/common/lib/schema/widgets/avatar/avatar-widget-view.component.d.ts +13 -0
  28. package/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.d.ts +11 -0
  29. package/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.d.ts +6 -0
  30. package/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.d.ts +11 -0
  31. package/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +18 -0
  32. package/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.d.ts +12 -0
  33. package/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.d.ts +12 -0
  34. package/common/lib/schema/widgets/common-widgets.module.d.ts +32 -0
  35. package/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.d.ts +11 -0
  36. package/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.d.ts +26 -0
  37. package/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.d.ts +16 -0
  38. package/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.d.ts +11 -0
  39. package/common/lib/schema/widgets/email/email-widget-column.component.d.ts +16 -0
  40. package/common/lib/schema/widgets/email/email-widget-edit.component.d.ts +28 -0
  41. package/common/lib/schema/widgets/email/email-widget-view.component.d.ts +16 -0
  42. package/common/lib/schema/widgets/file/file-widget-column.component.d.ts +8 -0
  43. package/common/lib/schema/widgets/file/file-widget-edit.component.d.ts +17 -0
  44. package/common/lib/schema/widgets/file/file-widget-filter.component.d.ts +6 -0
  45. package/common/lib/schema/widgets/file/file-widget-view.component.d.ts +17 -0
  46. package/common/lib/schema/widgets/gallery/gallery-widget-edit.component.d.ts +15 -0
  47. package/common/lib/schema/widgets/gallery/gallery-widget-filter.component.d.ts +6 -0
  48. package/common/lib/schema/widgets/gallery/gallery-widget-view.component.d.ts +16 -0
  49. package/common/lib/schema/widgets/lookup/lookup-widget-column.component.d.ts +17 -0
  50. package/common/lib/schema/widgets/lookup/lookup-widget-edit.component.d.ts +15 -0
  51. package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +17 -0
  52. package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +17 -0
  53. package/common/lib/schema/widgets/map/map-widget-edit.component.d.ts +15 -0
  54. package/common/lib/schema/widgets/map/map-widget-view.component.d.ts +17 -0
  55. package/common/lib/schema/widgets/messenger/messenger-widget-column.component.d.ts +15 -0
  56. package/common/lib/schema/widgets/messenger/messenger-widget-edit.component.d.ts +14 -0
  57. package/common/lib/schema/widgets/messenger/messenger-widget-view.component.d.ts +17 -0
  58. package/common/lib/schema/widgets/number/number-widget-edit.component.d.ts +7 -0
  59. package/common/lib/schema/widgets/number/number-widget-view.component.d.ts +8 -0
  60. package/common/lib/schema/widgets/password/password-widget-column.component.d.ts +14 -0
  61. package/common/lib/schema/widgets/password/password-widget-edit.component.d.ts +6 -0
  62. package/common/lib/schema/widgets/password/password-widget-view.component.d.ts +18 -0
  63. package/common/lib/schema/widgets/phone/phone-widget-column.component.d.ts +15 -0
  64. package/common/lib/schema/widgets/phone/phone-widget-edit.component.d.ts +29 -0
  65. package/common/lib/schema/widgets/phone/phone-widget-view.component.d.ts +18 -0
  66. package/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.d.ts +11 -0
  67. package/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.d.ts +33 -0
  68. package/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.d.ts +10 -0
  69. package/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.d.ts +16 -0
  70. package/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.d.ts +12 -0
  71. package/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.d.ts +9 -0
  72. package/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.d.ts +15 -0
  73. package/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +19 -0
  74. package/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.d.ts +8 -0
  75. package/common/lib/schema/widgets/text/largetext-widget-edit.component.d.ts +6 -0
  76. package/common/lib/schema/widgets/text/text-widget-column.component.d.ts +12 -0
  77. package/common/lib/schema/widgets/text/text-widget-edit.component.d.ts +23 -0
  78. package/common/lib/schema/widgets/text/text-widget-view.component.d.ts +11 -0
  79. package/common/lib/schema/widgets/toggle/toggle-widget-column.component.d.ts +11 -0
  80. package/common/lib/schema/widgets/toggle/toggle-widget-edit.component.d.ts +6 -0
  81. package/common/lib/schema/widgets/toggle/toggle-widget-view.component.d.ts +11 -0
  82. package/common/lib/store/common.actions.d.ts +1 -0
  83. package/common/lib/utils/data-generator.d.ts +12 -0
  84. package/common/lib/utils/index.d.ts +1 -1
  85. package/common/lib/utils/router-util.service.d.ts +1 -1
  86. package/common/lib/workflows/common.workflow.d.ts +38 -0
  87. package/common/lib/workflows/error-handler.d.ts +8 -0
  88. package/esm2022/auth/index.mjs +1 -1
  89. package/esm2022/auth/lib/application/application.loader.mjs +1 -1
  90. package/esm2022/auth/lib/application/application.types.mjs +1 -1
  91. package/esm2022/auth/lib/auth-registry.service.mjs +1 -1
  92. package/esm2022/auth/lib/auth.guard.mjs +1 -1
  93. package/esm2022/auth/lib/auth.module.mjs +1 -1
  94. package/esm2022/auth/lib/auth.strategy.mjs +1 -1
  95. package/esm2022/auth/lib/errors.types.mjs +1 -1
  96. package/esm2022/auth/lib/feature/feature.directive.mjs +1 -1
  97. package/esm2022/auth/lib/feature/feature.guard.mjs +1 -1
  98. package/esm2022/auth/lib/feature/feature.loader.mjs +1 -1
  99. package/esm2022/auth/lib/feature/feature.types.mjs +1 -1
  100. package/esm2022/auth/lib/feature/index.mjs +1 -1
  101. package/esm2022/auth/lib/permission/index.mjs +1 -1
  102. package/esm2022/auth/lib/permission/permission.directive.mjs +1 -1
  103. package/esm2022/auth/lib/permission/permission.guard.mjs +1 -1
  104. package/esm2022/auth/lib/permission/permission.loader.mjs +1 -1
  105. package/esm2022/auth/lib/permission/permission.types.mjs +1 -1
  106. package/esm2022/auth/lib/session.service.mjs +4 -2
  107. package/esm2022/auth/lib/session.types.mjs +1 -1
  108. package/esm2022/auth/lib/tenant/tenant.loader.mjs +1 -1
  109. package/esm2022/auth/lib/tenant/tenant.types.mjs +1 -1
  110. package/esm2022/auth/lib/user/user.types.mjs +1 -1
  111. package/esm2022/common/index.mjs +6 -4
  112. package/esm2022/common/lib/app/application.types.mjs +39 -0
  113. package/esm2022/common/lib/app/index.mjs +3 -0
  114. package/esm2022/common/lib/app/operators.mjs +50 -0
  115. package/esm2022/common/lib/common.module.mjs +20 -44
  116. package/esm2022/common/lib/configs/app.config.mjs +2 -2
  117. package/esm2022/common/lib/configs/config.types.mjs +3 -0
  118. package/esm2022/common/lib/data/data-provider.types.mjs +1 -1
  119. package/esm2022/common/lib/errors/error-handler-registry.service.mjs +1 -1
  120. package/esm2022/common/lib/errors/error-handler.types.mjs +1 -1
  121. package/esm2022/common/lib/errors/global-error-handler.mjs +1 -1
  122. package/esm2022/common/lib/errors/index.mjs +1 -1
  123. package/esm2022/common/lib/layout/beardcrumb.type.mjs +2 -0
  124. package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +56 -0
  125. package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +28 -0
  126. package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +24 -0
  127. package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +72 -0
  128. package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +2 -0
  129. package/esm2022/common/lib/layout/component-slot/index.mjs +6 -0
  130. package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +61 -0
  131. package/esm2022/common/lib/layout/grid-layout/grid-layout.types.mjs +2 -0
  132. package/esm2022/common/lib/layout/grid-layout/index.mjs +3 -0
  133. package/esm2022/common/lib/layout/index.mjs +10 -0
  134. package/esm2022/common/lib/layout/layout.service.mjs +79 -0
  135. package/esm2022/common/lib/layout/logo/index.mjs +3 -0
  136. package/esm2022/common/lib/layout/logo/logo.component.mjs +38 -0
  137. package/esm2022/common/lib/layout/logo/logo.types.mjs +21 -0
  138. package/esm2022/common/lib/layout/menu/index.mjs +3 -0
  139. package/esm2022/common/lib/layout/menu/menu.loader.mjs +39 -0
  140. package/esm2022/common/lib/layout/menu/menu.types.mjs +2 -0
  141. package/esm2022/common/lib/layout/sticky.directive.mjs +78 -0
  142. package/esm2022/common/lib/layout/theme/components/slots/footer-text-slot.component.mjs +20 -0
  143. package/esm2022/common/lib/layout/theme/components/slots/index.mjs +4 -0
  144. package/esm2022/common/lib/layout/theme/components/slots/navbar-slot.component.mjs +36 -0
  145. package/esm2022/common/lib/layout/theme/components/slots/theme-slot.component.mjs +48 -0
  146. package/esm2022/common/lib/layout/theme/store/admin-layout.actions.mjs +12 -0
  147. package/esm2022/common/lib/layout/theme/store/admin-layout.effects.mjs +29 -0
  148. package/esm2022/common/lib/layout/theme/store/admin-layout.reducers.mjs +60 -0
  149. package/esm2022/common/lib/layout/theme/store/admin-layout.selectors.mjs +8 -0
  150. package/esm2022/common/lib/layout/theme/store/admin-layout.state.mjs +16 -0
  151. package/esm2022/common/lib/layout/theme/store/index.mjs +6 -0
  152. package/esm2022/common/lib/schema/component-loader.mjs +2 -0
  153. package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +70 -0
  154. package/esm2022/common/lib/schema/entity/entity.class.mjs +32 -0
  155. package/esm2022/common/lib/schema/entity/entity.loader.mjs +13 -0
  156. package/esm2022/common/lib/schema/entity/index.mjs +4 -0
  157. package/esm2022/common/lib/schema/formats.mjs +2 -0
  158. package/esm2022/common/lib/schema/index.mjs +9 -0
  159. package/esm2022/common/lib/schema/schema-registery.service.mjs +33 -0
  160. package/esm2022/common/lib/schema/schema.module.mjs +23 -0
  161. package/esm2022/common/lib/schema/schema.types.mjs +2 -0
  162. package/esm2022/common/lib/schema/widget/index.mjs +6 -0
  163. package/esm2022/common/lib/schema/widget/widget-base.mjs +113 -0
  164. package/esm2022/common/lib/schema/widget/widget-column-renderer.mjs +118 -0
  165. package/esm2022/common/lib/schema/widget/widget-filter-renderer.mjs +133 -0
  166. package/esm2022/common/lib/schema/widget/widget-renderer.mjs +144 -0
  167. package/esm2022/common/lib/schema/widget/widget-token.mjs +3 -0
  168. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-edit.component.mjs +160 -0
  169. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-view.component.mjs +63 -0
  170. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.mjs +53 -0
  171. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +22 -0
  172. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.mjs +47 -0
  173. package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +147 -0
  174. package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +135 -0
  175. package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +125 -0
  176. package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +505 -0
  177. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.mjs +44 -0
  178. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.mjs +178 -0
  179. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +213 -0
  180. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.mjs +71 -0
  181. package/esm2022/common/lib/schema/widgets/email/email-widget-column.component.mjs +73 -0
  182. package/esm2022/common/lib/schema/widgets/email/email-widget-edit.component.mjs +249 -0
  183. package/esm2022/common/lib/schema/widgets/email/email-widget-view.component.mjs +108 -0
  184. package/esm2022/common/lib/schema/widgets/file/file-widget-column.component.mjs +27 -0
  185. package/esm2022/common/lib/schema/widgets/file/file-widget-edit.component.mjs +200 -0
  186. package/esm2022/common/lib/schema/widgets/file/file-widget-filter.component.mjs +27 -0
  187. package/esm2022/common/lib/schema/widgets/file/file-widget-view.component.mjs +153 -0
  188. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-edit.component.mjs +189 -0
  189. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-filter.component.mjs +27 -0
  190. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-types.mjs +2 -0
  191. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-view.component.mjs +173 -0
  192. package/esm2022/common/lib/schema/widgets/index.mjs +2 -0
  193. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-column.component.mjs +43 -0
  194. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +74 -0
  195. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +115 -0
  196. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +54 -0
  197. package/esm2022/common/lib/schema/widgets/map/map-widget-edit.component.mjs +91 -0
  198. package/esm2022/common/lib/schema/widgets/map/map-widget-view.component.mjs +63 -0
  199. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-column.component.mjs +71 -0
  200. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-edit.component.mjs +136 -0
  201. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-view.component.mjs +132 -0
  202. package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +46 -0
  203. package/esm2022/common/lib/schema/widgets/number/number-widget-view.component.mjs +30 -0
  204. package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +174 -0
  205. package/esm2022/common/lib/schema/widgets/password/password-widget-column.component.mjs +67 -0
  206. package/esm2022/common/lib/schema/widgets/password/password-widget-edit.component.mjs +41 -0
  207. package/esm2022/common/lib/schema/widgets/password/password-widget-view.component.mjs +109 -0
  208. package/esm2022/common/lib/schema/widgets/phone/phone-widget-column.component.mjs +91 -0
  209. package/esm2022/common/lib/schema/widgets/phone/phone-widget-edit.component.mjs +245 -0
  210. package/esm2022/common/lib/schema/widgets/phone/phone-widget-view.component.mjs +123 -0
  211. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.mjs +61 -0
  212. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +67 -0
  213. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.mjs +34 -0
  214. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.mjs +45 -0
  215. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +53 -0
  216. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +41 -0
  217. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.mjs +45 -0
  218. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.mjs +128 -0
  219. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.mjs +41 -0
  220. package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +37 -0
  221. package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +46 -0
  222. package/esm2022/common/lib/schema/widgets/text/text-widget-edit.component.mjs +162 -0
  223. package/esm2022/common/lib/schema/widgets/text/text-widget-view.component.mjs +66 -0
  224. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-column.component.mjs +57 -0
  225. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-edit.component.mjs +25 -0
  226. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-view.component.mjs +49 -0
  227. package/esm2022/common/lib/settings/index.mjs +1 -1
  228. package/esm2022/common/lib/settings/settings.loader.mjs +1 -1
  229. package/esm2022/common/lib/settings/settings.service.mjs +1 -1
  230. package/esm2022/common/lib/settings/settings.types.mjs +1 -1
  231. package/esm2022/common/lib/store/common.actions.mjs +2 -1
  232. package/esm2022/common/lib/store/common.effects.mjs +1 -1
  233. package/esm2022/common/lib/store/index.mjs +1 -1
  234. package/esm2022/common/lib/utils/clipboard-service.mjs +1 -1
  235. package/esm2022/common/lib/utils/data-generator.mjs +47 -0
  236. package/esm2022/common/lib/utils/index.mjs +2 -2
  237. package/esm2022/common/lib/utils/router-util.service.mjs +1 -1
  238. package/esm2022/common/lib/workflows/common.workflow.mjs +68 -0
  239. package/esm2022/common/lib/workflows/error-handler.mjs +24 -0
  240. package/esm2022/common/lib/workflows/index.mjs +3 -0
  241. package/esm2022/index.mjs +1 -1
  242. package/esm2022/layout/builder/acorex-platform-layout-builder.mjs +5 -0
  243. package/esm2022/layout/builder/index.mjs +2 -0
  244. package/esm2022/layout/builder/lib/builder/builder.module.mjs +67 -0
  245. package/esm2022/layout/builder/lib/builder/builder.service.mjs +81 -0
  246. package/esm2022/layout/builder/lib/builder/index.mjs +9 -0
  247. package/esm2022/layout/builder/lib/builder/layout.types.mjs +2 -0
  248. package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +110 -0
  249. package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +55 -0
  250. package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +33 -0
  251. package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +293 -0
  252. package/esm2022/layout/builder/lib/builder/widget.types.mjs +74 -0
  253. package/esm2022/layout/entity/acorex-platform-layout-entity.mjs +5 -0
  254. package/esm2022/layout/entity/index.mjs +2 -0
  255. package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +154 -0
  256. package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +128 -0
  257. package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +278 -0
  258. package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +230 -0
  259. package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +101 -0
  260. package/esm2022/layout/entity/lib/entity-registery.service.mjs +69 -0
  261. package/esm2022/layout/entity/lib/entity.config.mjs +4 -0
  262. package/esm2022/layout/entity/lib/entity.module.mjs +134 -0
  263. package/esm2022/layout/entity/lib/entity.viewmodel.mjs +32 -0
  264. package/esm2022/layout/entity/lib/index.mjs +9 -0
  265. package/esm2022/layout/entity/lib/widgets/lookup-widget/index.mjs +8 -0
  266. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +19 -0
  267. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.mjs +19 -0
  268. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +127 -0
  269. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.mjs +20 -0
  270. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.mjs +19 -0
  271. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +105 -0
  272. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +85 -0
  273. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +19 -0
  274. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +24 -0
  275. package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +93 -0
  276. package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +123 -0
  277. package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +104 -0
  278. package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +36 -0
  279. package/esm2022/layouts/index.mjs +1 -3
  280. package/esm2022/layouts/lib/admin/admin.module.mjs +9 -17
  281. package/esm2022/layouts/lib/admin/admin.routes.mjs +7 -8
  282. package/esm2022/layouts/lib/admin/custom-reuse.strategy.mjs +1 -1
  283. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +6 -6
  284. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +3 -2
  285. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +3 -2
  286. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +8 -11
  287. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/index.mjs +1 -1
  288. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +5 -5
  289. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/index.mjs +1 -1
  290. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +4 -4
  291. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +6 -9
  292. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +19 -19
  293. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +6 -8
  294. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +6 -7
  295. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/index.mjs +1 -1
  296. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +3 -3
  297. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +2 -3
  298. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +5 -5
  299. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +3 -2
  300. package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +5 -6
  301. package/esm2022/layouts/lib/admin/entity-layout/index.mjs +1 -1
  302. package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +2 -2
  303. package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +2 -2
  304. package/esm2022/layouts/lib/admin/entity-layout/workflows/index.mjs +4 -1
  305. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +2 -2
  306. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.mjs +85 -0
  307. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +27 -1
  308. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +26 -1
  309. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +41 -1
  310. package/esm2022/layouts/lib/admin/entity.resolver.mjs +1 -1
  311. package/esm2022/layouts/lib/admin/index.mjs +1 -3
  312. package/esm2022/layouts/lib/layout.module.mjs +9 -14
  313. package/esm2022/mocks/index.mjs +1 -1
  314. package/esm2022/mocks/lib/mocks.module.mjs +1 -1
  315. package/esm2022/mocks/lib/services/mocker.service.mjs +1 -1
  316. package/esm2022/mocks/lib/storage/storage.mock.service.mjs +1 -1
  317. package/esm2022/native/index.mjs +1 -1
  318. package/esm2022/native/lib/native.service.mjs +1 -1
  319. package/esm2022/widgets/index.mjs +1 -1
  320. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-column.component.mjs +45 -0
  321. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +10 -10
  322. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +54 -0
  323. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +10 -4
  324. package/esm2022/widgets/lib/editors/checkbox/index.mjs +1 -1
  325. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +32 -7
  326. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +2 -2
  327. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +54 -54
  328. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +2 -2
  329. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +2 -2
  330. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +18 -18
  331. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +1 -1
  332. package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +1 -1
  333. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +54 -7
  334. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +2 -2
  335. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +173 -141
  336. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +2 -2
  337. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +2 -2
  338. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +70 -70
  339. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +1 -1
  340. package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +1 -1
  341. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +2 -2
  342. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +2 -2
  343. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +112 -112
  344. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +2 -2
  345. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +2 -2
  346. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +64 -64
  347. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +1 -1
  348. package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +1 -1
  349. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +2 -2
  350. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +2 -2
  351. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +108 -108
  352. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +2 -2
  353. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +2 -2
  354. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +1 -1
  355. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +98 -98
  356. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +1 -1
  357. package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +1 -1
  358. package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +1 -1
  359. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-column.component.mjs +2 -2
  360. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +2 -2
  361. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.mjs +6 -6
  362. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +2 -2
  363. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +2 -2
  364. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-view.component.mjs +6 -6
  365. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +1 -1
  366. package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +1 -1
  367. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +26 -7
  368. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +2 -2
  369. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +68 -68
  370. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +2 -2
  371. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +2 -2
  372. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +33 -19
  373. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +4 -1
  374. package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +1 -1
  375. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-column.component.mjs +2 -2
  376. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +2 -2
  377. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.mjs +10 -10
  378. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +2 -2
  379. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +2 -2
  380. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +46 -46
  381. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +1 -1
  382. package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +1 -1
  383. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +54 -7
  384. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +2 -2
  385. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +162 -134
  386. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +2 -2
  387. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +2 -2
  388. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +70 -70
  389. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +1 -1
  390. package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +1 -1
  391. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +2 -2
  392. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +2 -2
  393. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +10 -10
  394. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +2 -2
  395. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +2 -2
  396. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +10 -10
  397. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +1 -1
  398. package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +1 -1
  399. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +5 -5
  400. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +2 -2
  401. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.mjs +26 -26
  402. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.mjs +2 -2
  403. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +2 -2
  404. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +24 -18
  405. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +1 -1
  406. package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +1 -1
  407. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +30 -8
  408. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +2 -2
  409. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.mjs +32 -32
  410. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +2 -2
  411. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +2 -2
  412. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +29 -8
  413. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +1 -1
  414. package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +1 -1
  415. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +2 -2
  416. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +2 -2
  417. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +56 -56
  418. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +2 -2
  419. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +2 -2
  420. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +18 -18
  421. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +1 -1
  422. package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +1 -1
  423. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +7 -6
  424. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +2 -2
  425. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +62 -62
  426. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +2 -2
  427. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +2 -2
  428. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +18 -18
  429. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +2 -1
  430. package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +8 -0
  431. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-column.component.mjs +47 -0
  432. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +19 -0
  433. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.mjs +27 -0
  434. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +20 -0
  435. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +19 -0
  436. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-view.component.mjs +47 -0
  437. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +24 -0
  438. package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +14 -14
  439. package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +1 -1
  440. package/esm2022/widgets/lib/layout/block-widget/index.mjs +1 -1
  441. package/esm2022/widgets/lib/widgets.module.mjs +6 -3
  442. package/esm2022/workflow/index.mjs +1 -1
  443. package/esm2022/workflow/lib/errors.types.mjs +1 -1
  444. package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +1 -1
  445. package/esm2022/workflow/lib/workflow-registery.service.mjs +1 -1
  446. package/esm2022/workflow/lib/workflow.module.mjs +1 -1
  447. package/esm2022/workflow/lib/workflow.service.mjs +1 -1
  448. package/esm2022/workflow/lib/workflow.types.mjs +1 -1
  449. package/fesm2022/acorex-platform-auth.mjs +3 -1
  450. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  451. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs +178 -0
  452. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs.map +1 -0
  453. package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs +85 -0
  454. package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs.map +1 -0
  455. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs +169 -0
  456. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs.map +1 -0
  457. package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs +177 -0
  458. package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs.map +1 -0
  459. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs +76 -0
  460. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs.map +1 -0
  461. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs +46 -0
  462. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs.map +1 -0
  463. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs +70 -0
  464. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs.map +1 -0
  465. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs +66 -0
  466. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs.map +1 -0
  467. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs +198 -0
  468. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs.map +1 -0
  469. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs +233 -0
  470. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs.map +1 -0
  471. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs +93 -0
  472. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs.map +1 -0
  473. package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs +97 -0
  474. package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs.map +1 -0
  475. package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs +269 -0
  476. package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs.map +1 -0
  477. package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs +130 -0
  478. package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs.map +1 -0
  479. package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs +49 -0
  480. package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs.map +1 -0
  481. package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs +221 -0
  482. package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs.map +1 -0
  483. package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs +51 -0
  484. package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs.map +1 -0
  485. package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs +174 -0
  486. package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs.map +1 -0
  487. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs +209 -0
  488. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs.map +1 -0
  489. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs +50 -0
  490. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs.map +1 -0
  491. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs +193 -0
  492. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs.map +1 -0
  493. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs +60 -0
  494. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs.map +1 -0
  495. package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs +66 -0
  496. package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs.map +1 -0
  497. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs +96 -0
  498. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs.map +1 -0
  499. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs +135 -0
  500. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs.map +1 -0
  501. package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs +77 -0
  502. package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs.map +1 -0
  503. package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs +114 -0
  504. package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs.map +1 -0
  505. package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs +86 -0
  506. package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs.map +1 -0
  507. package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs +95 -0
  508. package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs.map +1 -0
  509. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs +157 -0
  510. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs.map +1 -0
  511. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs +154 -0
  512. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs.map +1 -0
  513. package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs +68 -0
  514. package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs.map +1 -0
  515. package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs +157 -0
  516. package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs.map +1 -0
  517. package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs +54 -0
  518. package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs.map +1 -0
  519. package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs +89 -0
  520. package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs.map +1 -0
  521. package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs +64 -0
  522. package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs.map +1 -0
  523. package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs +128 -0
  524. package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs.map +1 -0
  525. package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs +115 -0
  526. package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs.map +1 -0
  527. package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs +265 -0
  528. package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs.map +1 -0
  529. package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs +145 -0
  530. package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs.map +1 -0
  531. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs +85 -0
  532. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs.map +1 -0
  533. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs +89 -0
  534. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs.map +1 -0
  535. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs +58 -0
  536. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs.map +1 -0
  537. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs +69 -0
  538. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs.map +1 -0
  539. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs +76 -0
  540. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs.map +1 -0
  541. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs +65 -0
  542. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs.map +1 -0
  543. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs +69 -0
  544. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs.map +1 -0
  545. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs +148 -0
  546. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs.map +1 -0
  547. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs +63 -0
  548. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs.map +1 -0
  549. package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs +147 -0
  550. package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs.map +1 -0
  551. package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs +70 -0
  552. package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs.map +1 -0
  553. package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs +183 -0
  554. package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs.map +1 -0
  555. package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs +90 -0
  556. package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs.map +1 -0
  557. package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs +80 -0
  558. package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs.map +1 -0
  559. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs +46 -0
  560. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs.map +1 -0
  561. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs +72 -0
  562. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs.map +1 -0
  563. package/fesm2022/acorex-platform-common.mjs +2056 -246
  564. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  565. package/fesm2022/acorex-platform-layout-builder.mjs +687 -0
  566. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -0
  567. package/fesm2022/acorex-platform-layout-entity.mjs +1848 -0
  568. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -0
  569. package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs +107 -0
  570. package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs.map +1 -0
  571. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs +88 -0
  572. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs.map +1 -0
  573. package/fesm2022/acorex-platform-layouts.mjs +1058 -2553
  574. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  575. package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
  576. package/fesm2022/acorex-platform-native.mjs.map +1 -1
  577. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs +48 -0
  578. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs.map +1 -0
  579. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs +57 -0
  580. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs.map +1 -0
  581. package/fesm2022/acorex-platform-widgets.mjs +1755 -1293
  582. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  583. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  584. package/fesm2022/acorex-platform.mjs.map +1 -1
  585. package/layout/builder/README.md +4 -0
  586. package/layout/builder/index.d.ts +1 -0
  587. package/layout/builder/lib/builder/builder.module.d.ts +23 -0
  588. package/layout/builder/lib/builder/builder.service.d.ts +27 -0
  589. package/layout/builder/lib/builder/index.d.ts +8 -0
  590. package/layout/builder/lib/builder/layout.types.d.ts +30 -0
  591. package/layout/builder/lib/builder/widget-column-renderer.d.ts +31 -0
  592. package/layout/builder/lib/builder/widget-container.component.d.ts +15 -0
  593. package/layout/builder/lib/builder/widget-renderer.component.d.ts +43 -0
  594. package/layout/builder/lib/builder/widget.types.d.ts +74 -0
  595. package/layout/entity/README.md +4 -0
  596. package/layout/entity/index.d.ts +1 -0
  597. package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +32 -0
  598. package/layout/entity/lib/entity-master-create.viewmodel.d.ts +49 -0
  599. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +82 -0
  600. package/layout/entity/lib/entity-master-single.viewmodel.d.ts +62 -0
  601. package/layout/entity/lib/entity-master-update.viewmodel.d.ts +39 -0
  602. package/layout/entity/lib/entity-registery.service.d.ts +34 -0
  603. package/layout/entity/lib/entity.config.d.ts +21 -0
  604. package/layout/entity/lib/entity.module.d.ts +9 -0
  605. package/layout/entity/lib/entity.viewmodel.d.ts +22 -0
  606. package/layout/entity/lib/index.d.ts +8 -0
  607. package/layout/entity/lib/widgets/lookup-widget/index.d.ts +7 -0
  608. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +6 -0
  609. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.d.ts +6 -0
  610. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +27 -0
  611. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.d.ts +6 -0
  612. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.d.ts +6 -0
  613. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +13 -0
  614. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +15 -0
  615. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +6 -0
  616. package/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.d.ts +2 -0
  617. package/layout/entity/lib/workflows/create-entity.workflow.d.ts +29 -0
  618. package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +26 -0
  619. package/layout/entity/lib/workflows/modify-section.workflow.d.ts +34 -0
  620. package/layout/entity/lib/workflows/show-details.workflow.d.ts +10 -0
  621. package/layouts/README.md +3 -3
  622. package/layouts/index.d.ts +0 -2
  623. package/layouts/lib/admin/admin.module.d.ts +3 -6
  624. package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.d.ts +1 -1
  625. package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.d.ts +3 -3
  626. package/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.d.ts +3 -3
  627. package/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.d.ts +1 -1
  628. package/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.d.ts +2 -3
  629. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.d.ts +1 -1
  630. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.d.ts +4 -6
  631. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.d.ts +1 -1
  632. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.d.ts +3 -4
  633. package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +6 -6
  634. package/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.d.ts +5 -6
  635. package/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.d.ts +3 -4
  636. package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.d.ts +1 -1
  637. package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.d.ts +3 -3
  638. package/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.d.ts +2 -2
  639. package/layouts/lib/admin/entity-layout/workflows/index.d.ts +3 -0
  640. package/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.d.ts +12 -0
  641. package/layouts/lib/admin/entity-layout/workflows/show-details.workflow.d.ts +9 -1
  642. package/layouts/lib/admin/entity-layout/workflows/show-list.workflow.d.ts +9 -1
  643. package/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.d.ts +11 -1
  644. package/layouts/lib/admin/index.d.ts +0 -2
  645. package/layouts/lib/layout.module.d.ts +4 -4
  646. package/mocks/README.md +3 -3
  647. package/package.json +29 -20
  648. package/widgets/README.md +3 -3
  649. package/widgets/lib/editors/checkbox/checkbox-widget-column.component.d.ts +9 -0
  650. package/widgets/lib/editors/checkbox/checkbox-widget-edit.component.d.ts +1 -1
  651. package/widgets/lib/editors/checkbox/checkbox-widget-view.component.d.ts +9 -0
  652. package/widgets/lib/editors/checkbox/checkbox-widget.config.d.ts +1 -1
  653. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.d.ts +11 -3
  654. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.d.ts +1 -1
  655. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +1 -1
  656. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.d.ts +1 -1
  657. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.d.ts +1 -1
  658. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.d.ts +1 -1
  659. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.d.ts +1 -1
  660. package/widgets/lib/editors/email-box-widget/email-box-widget-column.component.d.ts +13 -3
  661. package/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.d.ts +1 -1
  662. package/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.d.ts +7 -1
  663. package/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.d.ts +1 -1
  664. package/widgets/lib/editors/email-box-widget/email-box-widget-print.component.d.ts +1 -1
  665. package/widgets/lib/editors/email-box-widget/email-box-widget-view.component.d.ts +1 -1
  666. package/widgets/lib/editors/email-box-widget/email-box-widget.config.d.ts +1 -1
  667. package/widgets/lib/editors/file-box-widget/file-box-widget-column.component.d.ts +1 -1
  668. package/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.d.ts +1 -1
  669. package/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.d.ts +1 -1
  670. package/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.d.ts +1 -1
  671. package/widgets/lib/editors/file-box-widget/file-box-widget-print.component.d.ts +1 -1
  672. package/widgets/lib/editors/file-box-widget/file-box-widget-view.component.d.ts +1 -1
  673. package/widgets/lib/editors/file-box-widget/file-box-widget.config.d.ts +1 -1
  674. package/widgets/lib/editors/gallery-widget/gallery-widget-column.component.d.ts +1 -1
  675. package/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.d.ts +1 -1
  676. package/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.d.ts +1 -1
  677. package/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.d.ts +1 -1
  678. package/widgets/lib/editors/gallery-widget/gallery-widget-print.component.d.ts +1 -1
  679. package/widgets/lib/editors/gallery-widget/gallery-widget-view.component.d.ts +1 -1
  680. package/widgets/lib/editors/gallery-widget/gallery-widget.config.d.ts +1 -1
  681. package/widgets/lib/editors/map-box-widget/map-box-widget-column.component.d.ts +1 -1
  682. package/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.d.ts +1 -1
  683. package/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.d.ts +1 -1
  684. package/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.d.ts +1 -1
  685. package/widgets/lib/editors/map-box-widget/map-box-widget-print.component.d.ts +1 -1
  686. package/widgets/lib/editors/map-box-widget/map-box-widget-view.component.d.ts +1 -1
  687. package/widgets/lib/editors/map-box-widget/map-box-widget.config.d.ts +1 -1
  688. package/widgets/lib/editors/number-box-widget/number-box-widget-column.component.d.ts +5 -3
  689. package/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.d.ts +1 -1
  690. package/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.d.ts +2 -2
  691. package/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.d.ts +1 -1
  692. package/widgets/lib/editors/number-box-widget/number-box-widget-print.component.d.ts +1 -1
  693. package/widgets/lib/editors/number-box-widget/number-box-widget-view.component.d.ts +8 -2
  694. package/widgets/lib/editors/number-box-widget/number-box-widget.config.d.ts +1 -1
  695. package/widgets/lib/editors/password-box-widget/password-box-widget-column.component.d.ts +1 -1
  696. package/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.d.ts +1 -1
  697. package/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.d.ts +1 -1
  698. package/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.d.ts +1 -1
  699. package/widgets/lib/editors/password-box-widget/password-box-widget-print.component.d.ts +1 -1
  700. package/widgets/lib/editors/password-box-widget/password-box-widget-view.component.d.ts +1 -1
  701. package/widgets/lib/editors/password-box-widget/password-box-widget.config.d.ts +1 -1
  702. package/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.d.ts +13 -3
  703. package/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.d.ts +1 -1
  704. package/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.d.ts +6 -1
  705. package/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.d.ts +1 -1
  706. package/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.d.ts +1 -1
  707. package/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.d.ts +1 -1
  708. package/widgets/lib/editors/phone-box-widget/phone-box-widget.config.d.ts +1 -1
  709. package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +1 -1
  710. package/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.d.ts +1 -1
  711. package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +1 -1
  712. package/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.d.ts +1 -1
  713. package/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.d.ts +1 -1
  714. package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +1 -1
  715. package/widgets/lib/editors/rich-text-widget/rich-text-widget.config.d.ts +1 -1
  716. package/widgets/lib/editors/select-box-widget/select-box-widget-column.component.d.ts +3 -3
  717. package/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.d.ts +1 -1
  718. package/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.d.ts +1 -1
  719. package/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.d.ts +1 -1
  720. package/widgets/lib/editors/select-box-widget/select-box-widget-print.component.d.ts +1 -1
  721. package/widgets/lib/editors/select-box-widget/select-box-widget-view.component.d.ts +1 -1
  722. package/widgets/lib/editors/select-box-widget/select-box-widget.config.d.ts +1 -1
  723. package/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.d.ts +11 -3
  724. package/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.d.ts +1 -1
  725. package/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.d.ts +1 -1
  726. package/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.d.ts +1 -1
  727. package/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.d.ts +1 -1
  728. package/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.d.ts +7 -2
  729. package/widgets/lib/editors/selection-list-widget/selection-list-widget.config.d.ts +1 -1
  730. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.d.ts +1 -1
  731. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.d.ts +1 -1
  732. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +1 -1
  733. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.d.ts +1 -1
  734. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.d.ts +1 -1
  735. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
  736. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.d.ts +1 -1
  737. package/widgets/lib/editors/text-box-widget/text-box-widget-column.component.d.ts +3 -3
  738. package/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.d.ts +1 -1
  739. package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +2 -2
  740. package/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.d.ts +1 -1
  741. package/widgets/lib/editors/text-box-widget/text-box-widget-print.component.d.ts +1 -1
  742. package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +1 -1
  743. package/widgets/lib/editors/text-box-widget/text-box-widget.config.d.ts +1 -1
  744. package/widgets/lib/editors/toggle-widget/index.d.ts +7 -0
  745. package/widgets/lib/editors/toggle-widget/toggle-widget-column.component.d.ts +9 -0
  746. package/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.d.ts +6 -0
  747. package/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.d.ts +7 -0
  748. package/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.d.ts +6 -0
  749. package/widgets/lib/editors/toggle-widget/toggle-widget-print.component.d.ts +6 -0
  750. package/widgets/lib/editors/toggle-widget/toggle-widget-view.component.d.ts +9 -0
  751. package/widgets/lib/editors/toggle-widget/toggle-widget.config.d.ts +2 -0
  752. package/widgets/lib/layout/block-widget/block-widget.component.d.ts +2 -2
  753. package/widgets/lib/layout/block-widget/block-widget.config.d.ts +1 -1
  754. package/widgets/lib/widgets.module.d.ts +1 -1
  755. package/workflow/README.md +3 -3
  756. package/workflow/lib/workflow.types.d.ts +2 -2
  757. package/common/lib/shared/state-persistence/index.d.ts +0 -3
  758. package/common/lib/shared/state-persistence/state-persistence.actions.d.ts +0 -1
  759. package/common/lib/shared/state-persistence/state-persistence.module.d.ts +0 -8
  760. package/common/lib/shared/state-persistence/state-persistence.reducers.d.ts +0 -3
  761. package/common/lib/utils/sticky.directive.d.ts +0 -24
  762. package/core/README.md +0 -4
  763. package/core/index.d.ts +0 -4
  764. package/core/lib/app/application.types.d.ts +0 -144
  765. package/core/lib/core.module.d.ts +0 -6
  766. package/esm2022/common/lib/menu/index.mjs +0 -3
  767. package/esm2022/common/lib/menu/menu.loader.mjs +0 -39
  768. package/esm2022/common/lib/menu/menu.types.mjs +0 -2
  769. package/esm2022/common/lib/shared/logo.types.mjs +0 -21
  770. package/esm2022/common/lib/shared/state-persistence/index.mjs +0 -4
  771. package/esm2022/common/lib/shared/state-persistence/state-persistence.actions.mjs +0 -3
  772. package/esm2022/common/lib/shared/state-persistence/state-persistence.module.mjs +0 -36
  773. package/esm2022/common/lib/shared/state-persistence/state-persistence.reducers.mjs +0 -30
  774. package/esm2022/common/lib/utils/sticky.directive.mjs +0 -74
  775. package/esm2022/core/acorex-platform-core.mjs +0 -5
  776. package/esm2022/core/index.mjs +0 -5
  777. package/esm2022/core/lib/app/application.types.mjs +0 -19
  778. package/esm2022/core/lib/app/operators.mjs +0 -50
  779. package/esm2022/core/lib/configs/config.types.mjs +0 -3
  780. package/esm2022/core/lib/core.module.mjs +0 -16
  781. package/esm2022/layout/acorex-platform-layout.mjs +0 -5
  782. package/esm2022/layout/index.mjs +0 -3
  783. package/esm2022/layout/lib/builder/builder.module.mjs +0 -66
  784. package/esm2022/layout/lib/builder/context.service.mjs +0 -64
  785. package/esm2022/layout/lib/builder/index.mjs +0 -8
  786. package/esm2022/layout/lib/builder/widget-column-renderer.mjs +0 -75
  787. package/esm2022/layout/lib/builder/widget-container.mjs +0 -45
  788. package/esm2022/layout/lib/builder/widget-registery.service.mjs +0 -33
  789. package/esm2022/layout/lib/builder/widget-renderer.mjs +0 -279
  790. package/esm2022/layout/lib/builder/widget.types.mjs +0 -49
  791. package/esm2022/layout/lib/component-slot/component-slot-loader.service.mjs +0 -56
  792. package/esm2022/layout/lib/component-slot/component-slot-registery.service.mjs +0 -28
  793. package/esm2022/layout/lib/component-slot/component-slot.directive.mjs +0 -24
  794. package/esm2022/layout/lib/component-slot/component-slot.module.mjs +0 -72
  795. package/esm2022/layout/lib/component-slot/component-slot.types.mjs +0 -2
  796. package/esm2022/layout/lib/component-slot/index.mjs +0 -6
  797. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.mjs +0 -58
  798. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.component.mjs +0 -50
  799. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.module.mjs +0 -57
  800. package/esm2022/layouts/lib/admin/admin-child-layout/index.mjs +0 -4
  801. package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.component.mjs +0 -74
  802. package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.module.mjs +0 -92
  803. package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.mjs +0 -14
  804. package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.mjs +0 -29
  805. package/esm2022/layouts/lib/admin/admin-root-layout/index.mjs +0 -5
  806. package/esm2022/layouts/lib/admin/store/admin-layout.actions.mjs +0 -12
  807. package/esm2022/layouts/lib/admin/store/admin-layout.effects.mjs +0 -29
  808. package/esm2022/layouts/lib/admin/store/admin-layout.reducers.mjs +0 -60
  809. package/esm2022/layouts/lib/admin/store/admin-layout.selectors.mjs +0 -8
  810. package/esm2022/layouts/lib/admin/store/admin-layout.state.mjs +0 -16
  811. package/esm2022/layouts/lib/admin/store/index.mjs +0 -6
  812. package/esm2022/layouts/lib/layout.routes.mjs +0 -15
  813. package/esm2022/layouts/lib/shared/components/content-view/content-view.page.mjs +0 -64
  814. package/esm2022/layouts/lib/shared/components/content-view/content-view.type.mjs +0 -2
  815. package/esm2022/layouts/lib/shared/components/error-401/error-401.component.mjs +0 -28
  816. package/esm2022/layouts/lib/shared/components/error-404/error-404.component.mjs +0 -22
  817. package/esm2022/layouts/lib/shared/components/error-offline/error-offline.component.mjs +0 -16
  818. package/esm2022/layouts/lib/shared/components/index.mjs +0 -10
  819. package/esm2022/layouts/lib/shared/components/logo/logo.component.mjs +0 -38
  820. package/esm2022/layouts/lib/shared/components/slots/footer-text-slot.component.mjs +0 -20
  821. package/esm2022/layouts/lib/shared/components/slots/navbar-slot.component.mjs +0 -36
  822. package/esm2022/layouts/lib/shared/components/slots/theme-slot.component.mjs +0 -48
  823. package/esm2022/layouts/lib/shared/entity/entity-registery.service.mjs +0 -70
  824. package/esm2022/layouts/lib/shared/entity/entity.class.mjs +0 -32
  825. package/esm2022/layouts/lib/shared/entity/entity.loader.mjs +0 -13
  826. package/esm2022/layouts/lib/shared/entity/index.mjs +0 -4
  827. package/esm2022/layouts/lib/shared/index.mjs +0 -5
  828. package/esm2022/layouts/lib/shared/services/index.mjs +0 -2
  829. package/esm2022/layouts/lib/shared/services/layout.service.mjs +0 -79
  830. package/esm2022/layouts/lib/shared/workflows/common.workflow.mjs +0 -147
  831. package/esm2022/layouts/lib/shared/workflows/error-handler.mjs +0 -24
  832. package/esm2022/layouts/lib/shared/workflows/index.mjs +0 -3
  833. package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.mjs +0 -73
  834. package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.mjs +0 -99
  835. package/esm2022/layouts/lib/themes/default/index.mjs +0 -3
  836. package/esm2022/layouts/lib/widgets/avatar/avatar-widget-edit.component.mjs +0 -160
  837. package/esm2022/layouts/lib/widgets/avatar/avatar-widget-view.component.mjs +0 -61
  838. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-column.component.mjs +0 -53
  839. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.mjs +0 -22
  840. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-view.component.mjs +0 -47
  841. package/esm2022/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.mjs +0 -147
  842. package/esm2022/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.mjs +0 -135
  843. package/esm2022/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.mjs +0 -125
  844. package/esm2022/layouts/lib/widgets/common-widgets.module.mjs +0 -504
  845. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-column.component.mjs +0 -44
  846. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.mjs +0 -178
  847. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.mjs +0 -214
  848. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-view.component.mjs +0 -71
  849. package/esm2022/layouts/lib/widgets/email/email-widget-column.component.mjs +0 -73
  850. package/esm2022/layouts/lib/widgets/email/email-widget-edit.component.mjs +0 -249
  851. package/esm2022/layouts/lib/widgets/email/email-widget-view.component.mjs +0 -108
  852. package/esm2022/layouts/lib/widgets/file/file-widget-column.component.mjs +0 -27
  853. package/esm2022/layouts/lib/widgets/file/file-widget-edit.component.mjs +0 -200
  854. package/esm2022/layouts/lib/widgets/file/file-widget-filter.component.mjs +0 -27
  855. package/esm2022/layouts/lib/widgets/file/file-widget-view.component.mjs +0 -153
  856. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-edit.component.mjs +0 -189
  857. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-filter.component.mjs +0 -27
  858. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-types.mjs +0 -2
  859. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-view.component.mjs +0 -173
  860. package/esm2022/layouts/lib/widgets/index.mjs +0 -2
  861. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-column.component.mjs +0 -43
  862. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-edit.component.mjs +0 -74
  863. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-filter.component.mjs +0 -115
  864. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-view.component.mjs +0 -54
  865. package/esm2022/layouts/lib/widgets/map/map-widget-edit.component.mjs +0 -91
  866. package/esm2022/layouts/lib/widgets/map/map-widget-view.component.mjs +0 -63
  867. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-column.component.mjs +0 -71
  868. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-edit.component.mjs +0 -136
  869. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-view.component.mjs +0 -132
  870. package/esm2022/layouts/lib/widgets/number/number-widget-edit.component.mjs +0 -46
  871. package/esm2022/layouts/lib/widgets/number/number-widget-view.component.mjs +0 -30
  872. package/esm2022/layouts/lib/widgets/password/change-password.component.mjs +0 -175
  873. package/esm2022/layouts/lib/widgets/password/password-widget-column.component.mjs +0 -67
  874. package/esm2022/layouts/lib/widgets/password/password-widget-edit.component.mjs +0 -41
  875. package/esm2022/layouts/lib/widgets/password/password-widget-view.component.mjs +0 -109
  876. package/esm2022/layouts/lib/widgets/phone/phone-widget-column.component.mjs +0 -91
  877. package/esm2022/layouts/lib/widgets/phone/phone-widget-edit.component.mjs +0 -231
  878. package/esm2022/layouts/lib/widgets/phone/phone-widget-view.component.mjs +0 -123
  879. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-column.component.mjs +0 -61
  880. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.mjs +0 -67
  881. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-view.component.mjs +0 -34
  882. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-column.component.mjs +0 -43
  883. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.mjs +0 -53
  884. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.mjs +0 -41
  885. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-view.component.mjs +0 -45
  886. package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.mjs +0 -128
  887. package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.mjs +0 -41
  888. package/esm2022/layouts/lib/widgets/text/largetext-widget-edit.component.mjs +0 -37
  889. package/esm2022/layouts/lib/widgets/text/text-widget-column.component.mjs +0 -46
  890. package/esm2022/layouts/lib/widgets/text/text-widget-edit.component.mjs +0 -162
  891. package/esm2022/layouts/lib/widgets/text/text-widget-view.component.mjs +0 -66
  892. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-column.component.mjs +0 -57
  893. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-edit.component.mjs +0 -25
  894. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-view.component.mjs +0 -49
  895. package/esm2022/schema/acorex-platform-schema.mjs +0 -5
  896. package/esm2022/schema/index.mjs +0 -14
  897. package/esm2022/schema/lib/component-loader.mjs +0 -2
  898. package/esm2022/schema/lib/formats.mjs +0 -2
  899. package/esm2022/schema/lib/operators.mjs +0 -50
  900. package/esm2022/schema/lib/schema-registery.service.mjs +0 -33
  901. package/esm2022/schema/lib/schema.module.mjs +0 -23
  902. package/esm2022/schema/lib/schema.types.mjs +0 -2
  903. package/esm2022/schema/lib/widget/widget-base.mjs +0 -113
  904. package/esm2022/schema/lib/widget/widget-column-renderer.mjs +0 -118
  905. package/esm2022/schema/lib/widget/widget-filter-renderer.mjs +0 -133
  906. package/esm2022/schema/lib/widget/widget-renderer.mjs +0 -144
  907. package/esm2022/schema/lib/widget/widget-token.mjs +0 -3
  908. package/fesm2022/acorex-platform-core.mjs +0 -94
  909. package/fesm2022/acorex-platform-core.mjs.map +0 -1
  910. package/fesm2022/acorex-platform-layout.mjs +0 -756
  911. package/fesm2022/acorex-platform-layout.mjs.map +0 -1
  912. package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs +0 -162
  913. package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs.map +0 -1
  914. package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs +0 -64
  915. package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs.map +0 -1
  916. package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs +0 -150
  917. package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs.map +0 -1
  918. package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs +0 -178
  919. package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs.map +0 -1
  920. package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs +0 -56
  921. package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs.map +0 -1
  922. package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs +0 -25
  923. package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs.map +0 -1
  924. package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs +0 -50
  925. package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs.map +0 -1
  926. package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs +0 -47
  927. package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs.map +0 -1
  928. package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs +0 -181
  929. package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs.map +0 -1
  930. package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs +0 -217
  931. package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs.map +0 -1
  932. package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs +0 -74
  933. package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs.map +0 -1
  934. package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs +0 -76
  935. package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs.map +0 -1
  936. package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs +0 -252
  937. package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs.map +0 -1
  938. package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs +0 -111
  939. package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs.map +0 -1
  940. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs +0 -108
  941. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs.map +0 -1
  942. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs +0 -89
  943. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs.map +0 -1
  944. package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs +0 -30
  945. package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs.map +0 -1
  946. package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs +0 -203
  947. package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs.map +0 -1
  948. package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs +0 -30
  949. package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs.map +0 -1
  950. package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs +0 -156
  951. package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs.map +0 -1
  952. package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs +0 -192
  953. package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs.map +0 -1
  954. package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs +0 -30
  955. package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs.map +0 -1
  956. package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs +0 -176
  957. package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs.map +0 -1
  958. package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs +0 -40
  959. package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs.map +0 -1
  960. package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs +0 -46
  961. package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs.map +0 -1
  962. package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs +0 -120
  963. package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs.map +0 -1
  964. package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs +0 -158
  965. package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs.map +0 -1
  966. package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs +0 -57
  967. package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs.map +0 -1
  968. package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs +0 -94
  969. package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs.map +0 -1
  970. package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs +0 -66
  971. package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs.map +0 -1
  972. package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs +0 -74
  973. package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs.map +0 -1
  974. package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs +0 -139
  975. package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs.map +0 -1
  976. package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs +0 -135
  977. package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs.map +0 -1
  978. package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs +0 -49
  979. package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs.map +0 -1
  980. package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs +0 -138
  981. package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs.map +0 -1
  982. package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs +0 -33
  983. package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs.map +0 -1
  984. package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs +0 -70
  985. package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs.map +0 -1
  986. package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs +0 -44
  987. package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs.map +0 -1
  988. package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs +0 -112
  989. package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs.map +0 -1
  990. package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs +0 -94
  991. package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs.map +0 -1
  992. package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs +0 -234
  993. package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs.map +0 -1
  994. package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs +0 -126
  995. package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs.map +0 -1
  996. package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs +0 -64
  997. package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs.map +0 -1
  998. package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs +0 -70
  999. package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs.map +0 -1
  1000. package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs +0 -37
  1001. package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs.map +0 -1
  1002. package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs +0 -46
  1003. package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs.map +0 -1
  1004. package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs +0 -56
  1005. package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs.map +0 -1
  1006. package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs +0 -44
  1007. package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs.map +0 -1
  1008. package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs +0 -48
  1009. package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs.map +0 -1
  1010. package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs +0 -131
  1011. package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs.map +0 -1
  1012. package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs +0 -44
  1013. package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs.map +0 -1
  1014. package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs +0 -128
  1015. package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs.map +0 -1
  1016. package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs +0 -49
  1017. package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs.map +0 -1
  1018. package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs +0 -165
  1019. package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs.map +0 -1
  1020. package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs +0 -69
  1021. package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs.map +0 -1
  1022. package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs +0 -60
  1023. package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs.map +0 -1
  1024. package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs +0 -28
  1025. package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs.map +0 -1
  1026. package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs +0 -52
  1027. package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs.map +0 -1
  1028. package/fesm2022/acorex-platform-schema.mjs +0 -594
  1029. package/fesm2022/acorex-platform-schema.mjs.map +0 -1
  1030. package/layout/README.md +0 -4
  1031. package/layout/index.d.ts +0 -2
  1032. package/layout/lib/builder/builder.module.d.ts +0 -23
  1033. package/layout/lib/builder/context.service.d.ts +0 -17
  1034. package/layout/lib/builder/index.d.ts +0 -7
  1035. package/layout/lib/builder/widget-column-renderer.d.ts +0 -30
  1036. package/layout/lib/builder/widget-container.d.ts +0 -13
  1037. package/layout/lib/builder/widget-renderer.d.ts +0 -41
  1038. package/layout/lib/builder/widget.types.d.ts +0 -55
  1039. package/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.d.ts +0 -22
  1040. package/layouts/lib/admin/admin-child-layout/admin-child-layout.component.d.ts +0 -21
  1041. package/layouts/lib/admin/admin-child-layout/admin-child-layout.module.d.ts +0 -17
  1042. package/layouts/lib/admin/admin-child-layout/index.d.ts +0 -3
  1043. package/layouts/lib/admin/admin-root-layout/admin-root-layout.component.d.ts +0 -30
  1044. package/layouts/lib/admin/admin-root-layout/admin-root-layout.module.d.ts +0 -25
  1045. package/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.d.ts +0 -5
  1046. package/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.d.ts +0 -10
  1047. package/layouts/lib/admin/admin-root-layout/index.d.ts +0 -4
  1048. package/layouts/lib/admin/store/admin-layout.selectors.d.ts +0 -5
  1049. package/layouts/lib/layout.routes.d.ts +0 -2
  1050. package/layouts/lib/shared/components/content-view/content-view.page.d.ts +0 -23
  1051. package/layouts/lib/shared/components/content-view/content-view.type.d.ts +0 -16
  1052. package/layouts/lib/shared/components/error-401/error-401.component.d.ts +0 -10
  1053. package/layouts/lib/shared/components/error-404/error-404.component.d.ts +0 -8
  1054. package/layouts/lib/shared/components/error-offline/error-offline.component.d.ts +0 -9
  1055. package/layouts/lib/shared/components/index.d.ts +0 -9
  1056. package/layouts/lib/shared/components/slots/navbar-slot.component.d.ts +0 -10
  1057. package/layouts/lib/shared/entity/entity.class.d.ts +0 -153
  1058. package/layouts/lib/shared/index.d.ts +0 -4
  1059. package/layouts/lib/shared/services/index.d.ts +0 -1
  1060. package/layouts/lib/shared/workflows/common.workflow.d.ts +0 -61
  1061. package/layouts/lib/shared/workflows/error-handler.d.ts +0 -8
  1062. package/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.d.ts +0 -11
  1063. package/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.d.ts +0 -34
  1064. package/layouts/lib/themes/default/index.d.ts +0 -2
  1065. package/layouts/lib/widgets/avatar/avatar-widget-edit.component.d.ts +0 -16
  1066. package/layouts/lib/widgets/avatar/avatar-widget-view.component.d.ts +0 -13
  1067. package/layouts/lib/widgets/checkbox/checkbox-widget-column.component.d.ts +0 -11
  1068. package/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.d.ts +0 -6
  1069. package/layouts/lib/widgets/checkbox/checkbox-widget-view.component.d.ts +0 -11
  1070. package/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +0 -17
  1071. package/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.d.ts +0 -11
  1072. package/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.d.ts +0 -11
  1073. package/layouts/lib/widgets/common-widgets.module.d.ts +0 -32
  1074. package/layouts/lib/widgets/dateTime/dateTime-widget-column.component.d.ts +0 -11
  1075. package/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.d.ts +0 -26
  1076. package/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.d.ts +0 -16
  1077. package/layouts/lib/widgets/dateTime/dateTime-widget-view.component.d.ts +0 -11
  1078. package/layouts/lib/widgets/email/email-widget-column.component.d.ts +0 -16
  1079. package/layouts/lib/widgets/email/email-widget-edit.component.d.ts +0 -28
  1080. package/layouts/lib/widgets/email/email-widget-view.component.d.ts +0 -16
  1081. package/layouts/lib/widgets/file/file-widget-column.component.d.ts +0 -8
  1082. package/layouts/lib/widgets/file/file-widget-edit.component.d.ts +0 -17
  1083. package/layouts/lib/widgets/file/file-widget-filter.component.d.ts +0 -6
  1084. package/layouts/lib/widgets/file/file-widget-view.component.d.ts +0 -17
  1085. package/layouts/lib/widgets/gallery/gallery-widget-edit.component.d.ts +0 -15
  1086. package/layouts/lib/widgets/gallery/gallery-widget-filter.component.d.ts +0 -6
  1087. package/layouts/lib/widgets/gallery/gallery-widget-view.component.d.ts +0 -16
  1088. package/layouts/lib/widgets/lookup/lookup-widget-column.component.d.ts +0 -16
  1089. package/layouts/lib/widgets/lookup/lookup-widget-edit.component.d.ts +0 -15
  1090. package/layouts/lib/widgets/lookup/lookup-widget-filter.component.d.ts +0 -16
  1091. package/layouts/lib/widgets/lookup/lookup-widget-view.component.d.ts +0 -17
  1092. package/layouts/lib/widgets/map/map-widget-edit.component.d.ts +0 -15
  1093. package/layouts/lib/widgets/map/map-widget-view.component.d.ts +0 -17
  1094. package/layouts/lib/widgets/messenger/messenger-widget-column.component.d.ts +0 -15
  1095. package/layouts/lib/widgets/messenger/messenger-widget-edit.component.d.ts +0 -14
  1096. package/layouts/lib/widgets/messenger/messenger-widget-view.component.d.ts +0 -17
  1097. package/layouts/lib/widgets/number/number-widget-edit.component.d.ts +0 -7
  1098. package/layouts/lib/widgets/number/number-widget-view.component.d.ts +0 -8
  1099. package/layouts/lib/widgets/password/password-widget-column.component.d.ts +0 -14
  1100. package/layouts/lib/widgets/password/password-widget-edit.component.d.ts +0 -6
  1101. package/layouts/lib/widgets/password/password-widget-view.component.d.ts +0 -18
  1102. package/layouts/lib/widgets/phone/phone-widget-column.component.d.ts +0 -15
  1103. package/layouts/lib/widgets/phone/phone-widget-edit.component.d.ts +0 -29
  1104. package/layouts/lib/widgets/phone/phone-widget-view.component.d.ts +0 -18
  1105. package/layouts/lib/widgets/rich-text/rich-text-widget-column.component.d.ts +0 -11
  1106. package/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.d.ts +0 -33
  1107. package/layouts/lib/widgets/rich-text/rich-text-widget-view.component.d.ts +0 -10
  1108. package/layouts/lib/widgets/selection-list/selection-list-widget-column.component.d.ts +0 -16
  1109. package/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.d.ts +0 -12
  1110. package/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.d.ts +0 -9
  1111. package/layouts/lib/widgets/selection-list/selection-list-widget-view.component.d.ts +0 -15
  1112. package/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +0 -19
  1113. package/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.d.ts +0 -8
  1114. package/layouts/lib/widgets/text/largetext-widget-edit.component.d.ts +0 -6
  1115. package/layouts/lib/widgets/text/text-widget-column.component.d.ts +0 -12
  1116. package/layouts/lib/widgets/text/text-widget-edit.component.d.ts +0 -23
  1117. package/layouts/lib/widgets/text/text-widget-view.component.d.ts +0 -11
  1118. package/layouts/lib/widgets/toggle/toggle-widget-column.component.d.ts +0 -11
  1119. package/layouts/lib/widgets/toggle/toggle-widget-edit.component.d.ts +0 -6
  1120. package/layouts/lib/widgets/toggle/toggle-widget-view.component.d.ts +0 -11
  1121. package/schema/README.md +0 -3
  1122. package/schema/index.d.ts +0 -11
  1123. package/schema/lib/operators.d.ts +0 -22
  1124. package/schema/lib/schema.types.d.ts +0 -16
  1125. package/schema/lib/widget/widget-base.d.ts +0 -45
  1126. package/schema/lib/widget/widget-token.d.ts +0 -16
  1127. /package/{core → common}/lib/app/operators.d.ts +0 -0
  1128. /package/{core → common}/lib/configs/config.types.d.ts +0 -0
  1129. /package/{layout/lib → common/lib/layout}/component-slot/component-slot-loader.service.d.ts +0 -0
  1130. /package/{layout/lib → common/lib/layout}/component-slot/component-slot-registery.service.d.ts +0 -0
  1131. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.directive.d.ts +0 -0
  1132. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.module.d.ts +0 -0
  1133. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.types.d.ts +0 -0
  1134. /package/{layout/lib → common/lib/layout}/component-slot/index.d.ts +0 -0
  1135. /package/{layouts/lib/shared/services → common/lib/layout}/layout.service.d.ts +0 -0
  1136. /package/{layouts/lib/shared/components → common/lib/layout}/logo/logo.component.d.ts +0 -0
  1137. /package/common/lib/{shared → layout/logo}/logo.types.d.ts +0 -0
  1138. /package/common/lib/{menu → layout/menu}/index.d.ts +0 -0
  1139. /package/common/lib/{menu → layout/menu}/menu.loader.d.ts +0 -0
  1140. /package/common/lib/{menu → layout/menu}/menu.types.d.ts +0 -0
  1141. /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/footer-text-slot.component.d.ts +0 -0
  1142. /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/theme-slot.component.d.ts +0 -0
  1143. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.actions.d.ts +0 -0
  1144. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.effects.d.ts +0 -0
  1145. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.reducers.d.ts +0 -0
  1146. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.state.d.ts +0 -0
  1147. /package/{layouts/lib/admin → common/lib/layout/theme}/store/index.d.ts +0 -0
  1148. /package/{schema/lib → common/lib/schema}/component-loader.d.ts +0 -0
  1149. /package/{layouts/lib/shared → common/lib/schema}/entity/entity-registery.service.d.ts +0 -0
  1150. /package/{layouts/lib/shared → common/lib/schema}/entity/entity.loader.d.ts +0 -0
  1151. /package/{layouts/lib/shared → common/lib/schema}/entity/index.d.ts +0 -0
  1152. /package/{schema/lib → common/lib/schema}/formats.d.ts +0 -0
  1153. /package/{schema/lib → common/lib/schema}/schema-registery.service.d.ts +0 -0
  1154. /package/{schema/lib → common/lib/schema}/schema.module.d.ts +0 -0
  1155. /package/{schema/lib → common/lib/schema}/widget/widget-column-renderer.d.ts +0 -0
  1156. /package/{schema/lib → common/lib/schema}/widget/widget-filter-renderer.d.ts +0 -0
  1157. /package/{schema/lib → common/lib/schema}/widget/widget-renderer.d.ts +0 -0
  1158. /package/{layouts/lib → common/lib/schema}/widgets/gallery/gallery-widget-types.d.ts +0 -0
  1159. /package/{layouts/lib → common/lib/schema}/widgets/index.d.ts +0 -0
  1160. /package/{layouts/lib → common/lib/schema}/widgets/password/change-password.component.d.ts +0 -0
  1161. /package/{layouts/lib/shared → common/lib}/workflows/index.d.ts +0 -0
  1162. /package/layout/{lib → builder/lib}/builder/widget-registery.service.d.ts +0 -0
@@ -0,0 +1,101 @@
1
+ import { cloneDeep, merge, set } from "lodash-es";
2
+ import { Injectable, Injector, computed, inject, signal } from "@angular/core";
3
+ import { AXPEntityDefinitionRegistryService } from "./entity-registery.service";
4
+ import { AXPWorkflowService } from "@acorex/platform/workflow";
5
+ import { AXPLayoutService } from "@acorex/platform/common";
6
+ import * as i0 from "@angular/core";
7
+ export class AXPEntityMasterUpdateElementViewModel {
8
+ constructor(entity, property) {
9
+ this.entity = entity;
10
+ this.property = property;
11
+ this.name = signal(this.property.name);
12
+ this.title = signal(this.property.title);
13
+ this.description = signal(this.property.description);
14
+ this.editable = computed(() => {
15
+ return !(this.property.schema.readonly ?? false) &&
16
+ (this.property.options?.update?.enabled ?? true);
17
+ });
18
+ this.order = signal(this.property.options?.view?.layout?.order ?? 0);
19
+ this.isRequired = computed(() => {
20
+ return this.property.validations?.some(c => c.rule == 'required') || false;
21
+ });
22
+ this.layout = computed(() => {
23
+ const source = cloneDeep(this.property.options?.update?.layout ?? this.property.options?.view?.layout ?? {});
24
+ set(source, "positions.default.colSpan", 12);
25
+ return source;
26
+ });
27
+ this.node = computed(() => {
28
+ const schema = this.property.schema;
29
+ const widget = schema.interface;
30
+ return {
31
+ type: widget.type,
32
+ mode: this.editable() ? 'edit' : 'view',
33
+ path: this.name(),
34
+ children: widget.children,
35
+ formula: widget.formula,
36
+ triggers: widget.triggers,
37
+ options: merge(schema.interface?.options, this.property.options?.create?.widget, { validationRules: this.property.validations })
38
+ };
39
+ });
40
+ }
41
+ }
42
+ export class AXPEntityMasterUpdateViewModel {
43
+ constructor(injector, config, entityData, props) {
44
+ this.injector = injector;
45
+ this.config = config;
46
+ this.entityData = entityData;
47
+ this.props = props;
48
+ this.entityDef = cloneDeep(this.config);
49
+ this.workflow = this.injector.get(AXPWorkflowService);
50
+ this.isInProgress = signal(false);
51
+ this.context = signal(cloneDeep(this.entityData));
52
+ this.elements = computed(() => {
53
+ const props = this.entityDef.properties.filter(c => this.props.includes(c.name) && c.schema.hidden != true && c.options?.update?.enabled != false);
54
+ return props.map(e => {
55
+ return new AXPEntityMasterUpdateElementViewModel(this.entityDef, e);
56
+ });
57
+ });
58
+ }
59
+ async save() {
60
+ this.isInProgress.set(true);
61
+ try {
62
+ const com = this.entityDef.commands?.update;
63
+ if (com) {
64
+ const exec = com.execute;
65
+ return await exec(this.context());
66
+ }
67
+ }
68
+ finally {
69
+ this.isInProgress.set(false);
70
+ }
71
+ }
72
+ reset() {
73
+ this.context.set(cloneDeep(this.entityData));
74
+ }
75
+ }
76
+ export class AXPEntityMasterUpdateViewModelFactory {
77
+ constructor() {
78
+ this.entityService = inject(AXPEntityDefinitionRegistryService);
79
+ this.layout = inject(AXPLayoutService);
80
+ this.injector = inject(Injector);
81
+ }
82
+ async create(moduleName, entityName, id, props) {
83
+ const config = await this.entityService.resolve(moduleName, entityName);
84
+ this.layout.setNavigationLoading(true);
85
+ if (config.queries.byKey) {
86
+ const func = config.queries.byKey.execute;
87
+ const data = await func(id);
88
+ this.layout.setNavigationLoading(false);
89
+ return new AXPEntityMasterUpdateViewModel(this.injector, config, data, props);
90
+ }
91
+ this.layout.setNavigationLoading(false);
92
+ return Promise.reject('cannot fetch ');
93
+ }
94
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityMasterUpdateViewModelFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
95
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityMasterUpdateViewModelFactory, providedIn: 'root' }); }
96
+ }
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityMasterUpdateViewModelFactory, decorators: [{
98
+ type: Injectable,
99
+ args: [{ providedIn: 'root' }]
100
+ }] });
101
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LW1hc3Rlci11cGRhdGUudmlld21vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZW50aXR5L3NyYy9saWIvZW50aXR5LW1hc3Rlci11cGRhdGUudmlld21vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUNsRCxPQUFPLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvRSxPQUFPLEVBQUUsa0NBQWtDLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUVoRixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMvRCxPQUFPLEVBQXNELGdCQUFnQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBRy9HLE1BQU0sT0FBTyxxQ0FBcUM7SUFFOUMsWUFBb0IsTUFBaUIsRUFBVSxRQUEyQjtRQUF0RCxXQUFNLEdBQU4s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PGJvb2xlYW4+KGZhbHNlKTtcclxuXHJcbiAgICBwdWJsaWMgY29udGV4dCA9IHNpZ25hbDxhbnk+KGNsb25lRGVlcCh0aGlzLmVudGl0eURhdGEpKTtcclxuXHJcbiAgICBlbGVtZW50cyA9IGNvbXB1dGVkKCgpID0+IHtcclxuICAgICAgICBjb25zdCBwcm9wcyA9IHRoaXMuZW50aXR5RGVmLnByb3BlcnRpZXMuZmlsdGVyKGMgPT4gdGhpcy5wcm9wcy5pbmNsdWRlcyhjLm5hbWUpICYmIGMuc2NoZW1hLmhpZGRlbiAhPSB0cnVlICYmIGMub3B0aW9ucz8udXBkYXRlPy5lbmFibGVkICE9IGZhbHNlKTtcclxuICAgICAgICByZXR1cm4gcHJvcHMubWFwKGUgPT4ge1xyXG4gICAgICAgICAgICByZXR1cm4gbmV3IEFYUEVudGl0eU1hc3RlclVwZGF0ZUVsZW1lbnRWaWV3TW9kZWwodGhpcy5lbnRpdHlEZWYsIGUpO1xyXG4gICAgICAgIH0pXHJcbiAgICB9KTtcclxuXHJcbiAgICBwdWJsaWMgYXN5bmMgc2F2ZSgpOiBQcm9taXNlPGFueT4ge1xyXG4gICAgICAgIHRoaXMuaXNJblByb2dyZXNzLnNldCh0cnVlKTtcclxuICAgICAgICB0cnkge1xyXG4gICAgICAgICAgICBjb25zdCBjb20gPSB0aGlzLmVudGl0eURlZi5jb21tYW5kcz8udXBkYXRlO1xyXG4gICAgICAgICAgICBpZiAoY29tKSB7XHJcbiAgICAgICAgICAgICAgICBjb25zdCBleGVjID0gY29tLmV4ZWN1dGUgYXMgRnVuY3Rpb247XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gYXdhaXQgZXhlYyh0aGlzLmNvbnRleHQoKSk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgZmluYWxseSB7XHJcbiAgICAgICAgICAgIHRoaXMuaXNJblByb2dyZXNzLnNldChmYWxzZSk7XHJcbiAgICAgICAgfVxyXG4gICAgf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lvdXQuc2V0TmF2aWdhdGlvbkxvYWRpbmcoZmFsc2UpO1xyXG4gICAgICAgICAgICByZXR1cm4gbmV3IEFYUEVudGl0eU1hc3RlclVwZGF0ZVZpZXdNb2RlbCh0aGlzLmluamVjdG9yLCBjb25maWcsIGRhdGEsIHByb3BzKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5sYXlvdXQuc2V0TmF2aWdhdGlvbkxvYWRpbmcoZmFsc2UpO1xyXG4gICAgICAgIHJldHVybiBQcm9taXNlLnJlamVjdCgnY2Fubm90IGZldGNoICcpO1xyXG4gICAgfVxyXG59XHJcblxyXG5cclxuIl19
@@ -0,0 +1,69 @@
1
+ import { Injectable, inject } from "@angular/core";
2
+ import { AXP_ENTITY_DEFINITION_LOADER } from "./entity.config";
3
+ import * as i0 from "@angular/core";
4
+ export class AXPEntityDefinitionRegistryService {
5
+ constructor() {
6
+ // Stores AXPEntityConfig objects, keyed by a combination of module and entity name.
7
+ this.entities = new Map();
8
+ // Entity loader service for dynamically loading entity configurations.
9
+ this.loader = inject(AXP_ENTITY_DEFINITION_LOADER); // Assuming AXPEntityLoader is the correct type
10
+ }
11
+ /**
12
+ * Registers a new entity configuration. Entities are identified uniquely by a combination
13
+ * of their module and name.
14
+ *
15
+ * @param config The configuration object of the entity to be registered.
16
+ */
17
+ register(config) {
18
+ const key = this.createEntityKey(config.module, config.name);
19
+ this.entities.set(key, config);
20
+ }
21
+ /**
22
+ * Resolves an entity configuration based on module and entity name. If the configuration
23
+ * is not already registered, attempts to load it dynamically. Throws an error if the
24
+ * entity cannot be found or loaded.
25
+ *
26
+ * @param moduleName The module name of the entity.
27
+ * @param entityName The name of the entity.
28
+ * @returns A promise resolving to the entity configuration.
29
+ * @throws Error if the entity configuration cannot be resolved.
30
+ */
31
+ async resolve(moduleName, entityName) {
32
+ const key = this.createEntityKey(moduleName, entityName);
33
+ let config = this.entities.get(key) ?? null;
34
+ if (!config) {
35
+ try {
36
+ config = await this.loader.get(moduleName, entityName);
37
+ if (config) {
38
+ this.register(config);
39
+ }
40
+ }
41
+ catch (error) {
42
+ throw error; // Rethrow to allow error handling by caller
43
+ }
44
+ if (!config) {
45
+ throw new Error(`Invalid Entity name: ${key}`);
46
+ }
47
+ }
48
+ return config;
49
+ }
50
+ /**
51
+ * Creates a unique key for an entity based on its module and name.
52
+ *
53
+ * @param moduleName The module name of the entity.
54
+ * @param entityName The name of the entity.
55
+ * @returns The unique key for the entity.
56
+ */
57
+ createEntityKey(moduleName, entityName) {
58
+ return `${moduleName}.${entityName}`;
59
+ }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityDefinitionRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
61
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityDefinitionRegistryService, providedIn: 'root' }); }
62
+ }
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityDefinitionRegistryService, decorators: [{
64
+ type: Injectable,
65
+ args: [{
66
+ providedIn: 'root',
67
+ }]
68
+ }] });
69
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LXJlZ2lzdGVyeS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZW50aXR5L3NyYy9saWIvZW50aXR5LXJlZ2lzdGVyeS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGlCQUFpQixD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cclxuICAgICAgICAgICAgICAgIHRocm93IGVycm9yOyAvLyBSZXRocm93IHRvIGFsbG93IGVycm9yIGhhbmRsaW5nIGJ5IGNhbGxlclxyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICBpZiAoIWNvbmZpZykge1xyXG4gICAgICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKGBJbnZhbGlkIEVudGl0eSBuYW1lOiAke2tleX1gKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIGNvbmZpZztcclxuICAgIH1cclxuXHJcbiAgICAvKipcclxuICAgICAqIENyZWF0ZXMgYSB1bmlxdWUga2V5IGZvciBhbiBlbnRpdHkgYmFzZWQgb24gaXRzIG1vZHVsZSBhbmQgbmFtZS5cclxuICAgICAqIFxyXG4gICAgICogQHBhcmFtIG1vZHVsZU5hbWUgVGhlIG1vZHVsZSBuYW1lIG9mIHRoZSBlbnRpdHkuXHJcbiAgICAgKiBAcGFyYW0gZW50aXR5TmFtZSBUaGUgbmFtZSBvZiB0aGUgZW50aXR5LlxyXG4gICAgICogQHJldHVybnMgVGhlIHVuaXF1ZSBrZXkgZm9yIHRoZSBlbnRpdHkuXHJcbiAgICAgKi9cclxuICAgIHByaXZhdGUgY3JlYXRlRW50aXR5S2V5KG1vZHVsZU5hbWU6IHN0cmluZywgZW50aXR5TmFtZTogc3RyaW5nKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gYCR7bW9kdWxlTmFtZX0uJHtlbnRpdHlOYW1lfWA7XHJcbiAgICB9XHJcbn1cclxuIl19
@@ -0,0 +1,4 @@
1
+ import { InjectionToken } from "@angular/core";
2
+ export const AXP_ENTITY_CONFIG_TOKEN = new InjectionToken('AXP_ENTITY_CONFIG_TOKEN');
3
+ export const AXP_ENTITY_DEFINITION_LOADER = new InjectionToken('AXP_ENTITY_DEFINITION_LOADER');
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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IG1vZGlmeTogKCkgPT4gVHlwZTxhbnk+IHwgUHJvbWlzZTxUeXBlPGFueT4+O1xyXG4gICAgICAgICAgICBsaXN0OiAoKSA9PiBUeXBlPGFueT4gfCBQcm9taXNlPFR5cGU8YW55Pj47XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcblxyXG5leHBvcnQgY29uc3QgQVhQX0VOVElUWV9DT05GSUdfVE9LRU4gPSBuZXcgSW5qZWN0aW9uVG9rZW48QVhQRW50aXR5Q29uZmlncz4oJ0FYUF9FTlRJVFlfQ09ORklHX1RPS0VOJyk7XHJcblxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBBWFBFbnRpdHlEZWZpbml0aW9uTG9hZGVyIHtcclxuICAgIGdldChtb2R1bGVOYW1lOiBzdHJpbmcsIGVudGl0eU5hbWU6IHN0cmluZyk6IFByb21pc2U8QVhQRW50aXR5IHwgbnVsbD47XHJcbn1cclxuXHJcblxyXG5leHBvcnQgY29uc3QgQVhQX0VOVElUWV9ERUZJTklUSU9OX0xPQURFUiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxBWFBFbnRpdHlEZWZpbml0aW9uTG9hZGVyPignQVhQX0VOVElUWV9ERUZJTklUSU9OX0xPQURFUicpOyJdfQ==
@@ -0,0 +1,134 @@
1
+ import { NgModule, inject } from '@angular/core';
2
+ import { ROUTES, RouterModule } from '@angular/router';
3
+ import { AXPEntityDetailViewModelResolver } from './entity-master-single.viewmodel';
4
+ import { AXP_ENTITY_CONFIG_TOKEN } from './entity.config';
5
+ import { AXPWorkflowModule } from '@acorex/platform/workflow';
6
+ import { AXPCreateEntityWorkflow, AXPEntityCreatePopupAction } from './workflows/create-entity.workflow';
7
+ import { AXPDeleteEntityWorkflow, AXPEntityPerformDeleteAction } from './workflows/delete-entity.workflow';
8
+ import { AXPEntityModifyConfirmedAction, AXPEntityModifySectionPopupAction, AXPModifyEntitySectionWorkflow } from './workflows/modify-section.workflow';
9
+ import { AXPEntityListViewModelResolver } from './entity-master-list.viewmodel';
10
+ import { AXPShowDetailViewAction, AXPShowDetailsViewWorkflow } from './workflows/show-details.workflow';
11
+ import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
12
+ import { AXPLookupWidget } from './widgets/lookup-widget';
13
+ import * as i0 from "@angular/core";
14
+ import * as i1 from "@acorex/platform/workflow";
15
+ import * as i2 from "@acorex/platform/layout/builder";
16
+ function routesFacory() {
17
+ const config = inject(AXP_ENTITY_CONFIG_TOKEN);
18
+ let routes = [];
19
+ routes = [
20
+ {
21
+ path: ':app/m',
22
+ component: config.viewers.root(),
23
+ // canActivate: [AXPAuthGuard],
24
+ children: [
25
+ {
26
+ path: ':module',
27
+ children: [
28
+ // {
29
+ // path: 'e/:entity/:id/view/:section',
30
+ // resolve: { loader: AXPEntityDetailViewLoaderResolver },
31
+ // component: AXPEntityDetailsViewComponent,
32
+ // },
33
+ {
34
+ path: 'e/:entity/list',
35
+ loadComponent: () => {
36
+ return config.viewers.master.list();
37
+ },
38
+ resolve: {
39
+ vm: AXPEntityListViewModelResolver,
40
+ },
41
+ },
42
+ {
43
+ path: 'e/:entity/:id/view',
44
+ resolve: { vm: AXPEntityDetailViewModelResolver },
45
+ loadComponent: () => {
46
+ return config.viewers.master.single();
47
+ },
48
+ },
49
+ {
50
+ path: 'e/:entity/:id',
51
+ redirectTo: 'e/:entity/:id/view',
52
+ pathMatch: 'full',
53
+ },
54
+ {
55
+ path: 'e/:entity',
56
+ redirectTo: ':entity/list',
57
+ pathMatch: 'full',
58
+ },
59
+ ],
60
+ },
61
+ ],
62
+ },
63
+ ];
64
+ return routes;
65
+ }
66
+ export class AXPEntityModule {
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
68
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityModule, imports: [RouterModule, i1.AXPWorkflowModule, i2.AXPLayoutBuilderModule] }); }
69
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityModule, providers: [
70
+ {
71
+ provide: ROUTES,
72
+ multi: true,
73
+ useFactory: routesFacory,
74
+ },
75
+ ], imports: [RouterModule,
76
+ AXPWorkflowModule.forChild({
77
+ actions: {
78
+ AXPEntityCreatePopupAction,
79
+ AXPEntityPerformDeleteAction,
80
+ AXPEntityModifySectionPopupAction,
81
+ AXPEntityModifyConfirmedAction,
82
+ AXPShowDetailViewAction
83
+ },
84
+ workflows: {
85
+ 'create-entity': AXPCreateEntityWorkflow,
86
+ 'delete-entity': AXPDeleteEntityWorkflow,
87
+ 'modify-entity-section': AXPModifyEntitySectionWorkflow,
88
+ 'open-entity': AXPShowDetailsViewWorkflow,
89
+ },
90
+ }),
91
+ AXPLayoutBuilderModule.forChild({
92
+ widgets: [
93
+ AXPLookupWidget,
94
+ ],
95
+ })] }); }
96
+ }
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityModule, decorators: [{
98
+ type: NgModule,
99
+ args: [{
100
+ imports: [
101
+ RouterModule,
102
+ AXPWorkflowModule.forChild({
103
+ actions: {
104
+ AXPEntityCreatePopupAction,
105
+ AXPEntityPerformDeleteAction,
106
+ AXPEntityModifySectionPopupAction,
107
+ AXPEntityModifyConfirmedAction,
108
+ AXPShowDetailViewAction
109
+ },
110
+ workflows: {
111
+ 'create-entity': AXPCreateEntityWorkflow,
112
+ 'delete-entity': AXPDeleteEntityWorkflow,
113
+ 'modify-entity-section': AXPModifyEntitySectionWorkflow,
114
+ 'open-entity': AXPShowDetailsViewWorkflow,
115
+ },
116
+ }),
117
+ AXPLayoutBuilderModule.forChild({
118
+ widgets: [
119
+ AXPLookupWidget,
120
+ ],
121
+ }),
122
+ ],
123
+ exports: [],
124
+ declarations: [],
125
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JVFlfQ09ORklHX1RPS0VOKTtcclxuICAgIGxldCByb3V0ZXM6IFJvdXRlcyA9IFtdO1xyXG4gICAgcm91dGVzID0gW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgcGF0aDogJzphcHAvbScsXHJcbiAgICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnLnZpZXdlcnMucm9vdCgpLFxyXG4gICAgICAgICAgICAvLyAgIGNhbkFjdGl2YXRlOiBbQVhQQXV0aEd1YXJkXSxcclxuICAgICAgICAgICAgY2hpbGRyZW46IFtcclxuICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICBwYXRoOiAnOm1vZHVsZScsXHJcbiAgICAgICAgICAgICAgICAgICAgY2hpbGRyZW46IFtcclxuICAgICAgICAgICAgICAgICAgICAgICAgLy8ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyAgIHBhdGg6ICdlLzplbnRpdHkvOmlkL3ZpZXcvOnNlY3Rpb24nLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyAgIHJlc29sdmU6IHsgbG9hZGVyOiBBWFBFbnRpdHlEZXRhaWxWaWV3TG9hZGVyUmVzb2x2ZXIgfSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gICBjb21wb25lbnQ6IEFYUEVudGl0eURldGFpbHNWaWV3Q29tcG9uZW50LFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyB9LFxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcGF0aDogJ2UvOmVudGl0eS9saXN0JyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxvYWRDb21wb25lbnQ6ICgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY29uZmlnLnZpZXdlcnMubWFzdGVyLmxpc3QoKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmU6IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2bTogQVhQRW50aXR5TGlzdFZpZXdNb2RlbFJlc29sdmVyLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcGF0aDogJ2UvOmVudGl0eS86aWQvdmlldycsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlOiB7IHZtOiBBWFBFbnRpdHlEZXRhaWxWaWV3TW9kZWxSZXNvbHZlciB9LFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbG9hZENvbXBvbmVudDogKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjb25maWcudmlld2Vycy5tYXN0ZXIuc2luZ2xlKClcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhdGg6ICdlLzplbnRpdHkvOmlkJyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZGlyZWN0VG86ICdlLzplbnRpdHkvOmlkL3ZpZXcnLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcGF0aE1hdGNoOiAnZnVsbCcsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhdGg6ICdlLzplbnRpdHknLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVkaXJlY3RUbzogJzplbnRpdHkvbGlzdCcsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXRoTWF0Y2g6ICdmdWxsJyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICBdLFxyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgXSxcclxuICAgICAgICB9LFxyXG4gICAgXTtcclxuICAgIHJldHVybiByb3V0ZXM7XHJcbn1cclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgICBpbXBvcnRzOiBbXHJcbiAgICAgICAgUm91dGVyTW9kdWxlLFxyXG4gICAgICAgIEFYUFdvcmtmbG93TW9kdWxlLmZvckNoaWxkKHtcclxuICAgICAgICAgICAgYWN0aW9uczoge1xyXG4gICAgICAgICAgICAgICAgQVhQRW50aXR5Q3JlYXRlUG9wdXBBY3Rpb24sXHJcbiAgICAgICAgICAgICAgICBBWFBFbnRpdHlQZXJmb3JtRGVsZXRlQWN0aW9uLFxyXG4gICAgICAgICAgICAgICAgQVhQRW50aXR5TW9kaWZ5U2VjdGlvblBvcHVwQWN0aW9uLFxyXG4gICAgICAgICAgICAgICAgQVhQRW50aXR5TW9kaWZ5Q29uZmlybWVkQWN0aW9uLFxyXG4gICAgICAgICAgICAgICAgQVhQU2hvd0RldGFpbFZpZXdBY3Rpb25cclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgd29ya2Zsb3dzOiB7XHJcbiAgICAgICAgICAgICAgICAnY3JlYXRlLWVudGl0eSc6IEFYUENyZWF0ZUVudGl0eVdvcmtmbG93LFxyXG4gICAgICAgICAgICAgICAgJ2RlbGV0ZS1lbnRpdHknOiBBWFBEZWxldGVFbnRpdHlXb3JrZmxvdyxcclxuICAgICAgICAgICAgICAgICdtb2RpZnktZW50aXR5LXNlY3Rpb24nOiBBWFBNb2RpZnlFbnRpdHlTZWN0aW9uV29ya2Zsb3csXHJcbiAgICAgICAgICAgICAgICAnb3Blbi1lbnRpdHknOiBBWFBTaG93RGV0YWlsc1ZpZXdXb3JrZmxvdyxcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICB9KSxcclxuICAgICAgICBBWFBMYXlvdXRCdWlsZGVyTW9kdWxlLmZvckNoaWxkKHtcclxuICAgICAgICAgICAgd2lkZ2V0czogW1xyXG4gICAgICAgICAgICAgICAgQVhQTG9va3VwV2lkZ2V0LFxyXG4gICAgICAgICAgICBdLFxyXG4gICAgICAgIH0pLFxyXG4gICAgXSxcclxuICAgIGV4cG9ydHM6IFtdLFxyXG4gICAgZGVjbGFyYXRpb25zOiBbXSxcclxuICAgIHByb3ZpZGVyczogW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgcHJvdmlkZTogUk9VVEVTLFxyXG4gICAgICAgICAgICBtdWx0aTogdHJ1ZSxcclxuICAgICAgICAgICAgdXNlRmFjdG9yeTogcm91dGVzRmFjb3J5LFxyXG4gICAgICAgIH0sXHJcbiAgICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhQRW50aXR5TW9kdWxlIHsgfVxyXG4iXX0=
@@ -0,0 +1,32 @@
1
+ import { computed } from "@angular/core";
2
+ import { resolveActionLook } from "@acorex/platform/common";
3
+ export class AXPEntityCommandTriggerViewModel {
4
+ constructor(entity, action) {
5
+ this.name = action.command;
6
+ const resolvedLook = resolveActionLook(action);
7
+ this.priority = action.priority;
8
+ this.title = action.title;
9
+ this.separated = action.separated ?? false;
10
+ this.color = action.color ?? resolvedLook.color;
11
+ this.icon = action.icon ?? resolvedLook.icon;
12
+ this.scope = action.scope;
13
+ }
14
+ }
15
+ export class AXPEntityListViewColumnViewModel {
16
+ constructor(property) {
17
+ this.property = property;
18
+ this.name = this.property.name;
19
+ this.title = this.property.title;
20
+ this.description = this.property.description;
21
+ this.visible = this.property.options?.table?.visible ?? true;
22
+ this.node = computed(() => {
23
+ const widget = this.property.schema.interface;
24
+ return {
25
+ path: this.name,
26
+ type: widget.type,
27
+ options: { ...widget?.options, ...this.property.options?.table?.widget }
28
+ };
29
+ });
30
+ }
31
+ }
32
+ //# sourceMappingURL=data:application/json;base64,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zY29wZVxyXG4gICAgfVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgQVhQRW50aXR5TGlzdFZpZXdDb2x1bW5WaWV3TW9kZWwge1xyXG5cclxuICAgIGNvbnN0cnVjdG9yKHByaXZhdGUgcHJvcGVydHk6IEFYUEVudGl0eVByb3BlcnR5KSB7XHJcblxyXG4gICAgfVxyXG4gICAgbmFtZSA9IHRoaXMucHJvcGVydHkubmFtZTtcclxuICAgIHRpdGxlID0gdGhpcy5wcm9wZXJ0eS50aXRsZTtcclxuICAgIGRlc2NyaXB0aW9uID0gdGhpcy5wcm9wZXJ0eS5kZXNjcmlwdGlvbjtcclxuICAgIHZpc2libGUgPSB0aGlzLnByb3BlcnR5Lm9wdGlvbnM/LnRhYmxlPy52aXNpYmxlID8/IHRydWU7XHJcblxyXG4gICAgbm9kZSA9IGNvbXB1dGVkPEFYUFdpZGdldENvbHVtbk5vZGU+KCgpID0+IHtcclxuICAgICAgICBjb25zdCB3aWRnZXQgPSB0aGlzLnByb3BlcnR5LnNjaGVtYS5pbnRlcmZhY2UhO1xyXG4gICAgICAgIHJldHVybiB7XHJcbiAgICAgICAgICAgIHBhdGg6IHRoaXMubmFtZSxcclxuICAgICAgICAgICAgdHlwZTogd2lkZ2V0LnR5cGUsXHJcbiAgICAgICAgICAgIG9wdGlvbnM6IHsgLi4ud2lkZ2V0Py5vcHRpb25zLCAuLi4gdGhpcy5wcm9wZXJ0eS5vcHRpb25zPy50YWJsZT8ud2lkZ2V0IH1cclxuICAgICAgICB9IGFzIEFYUFdpZGdldENvbHVtbk5vZGU7XHJcblxyXG4gICAgfSlcclxufVxyXG5cclxuIl19
@@ -0,0 +1,9 @@
1
+ export * from './entity-master-single.viewmodel';
2
+ export * from './entity-master-create.viewmodel';
3
+ export * from './entity-master-update.viewmodel';
4
+ export * from './entity-master-list.viewmodel';
5
+ export * from './entity-detail-list.viewmodel';
6
+ export * from './entity-registery.service';
7
+ export * from './entity.config';
8
+ export * from './entity.module';
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2xheW91dC9lbnRpdHkvc3JjL2xpYi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudGl0eS1tYXN0ZXItc2luZ2xlLnZpZXdtb2RlbCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZW50aXR5LW1hc3Rlci1jcmVhdGUudmlld21vZGVsJztcclxuZXhwb3J0ICogZnJvbSAnLi9lbnRpdHktbWFzdGVyLXVwZGF0ZS52aWV3bW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2VudGl0eS1tYXN0ZXItbGlzdC52aWV3bW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2VudGl0eS1kZXRhaWwtbGlzdC52aWV3bW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2VudGl0eS1yZWdpc3Rlcnkuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZW50aXR5LmNvbmZpZyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZW50aXR5Lm1vZHVsZSc7Il19
@@ -0,0 +1,8 @@
1
+ export * from './lookup-widget-view.component';
2
+ export * from './lookup-widget-edit.component';
3
+ export * from './lookup-widget-filter.component';
4
+ export * from './lookup-widget-column.component';
5
+ export * from './lookup-widget-print.component';
6
+ export * from './lookup-widget-designer.component';
7
+ export * from './lookup-widget.config';
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2xheW91dC9lbnRpdHkvc3JjL2xpYi93aWRnZXRzL2xvb2t1cC13aWRnZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbG9va3VwLXdpZGdldC12aWV3LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xvb2t1cC13aWRnZXQtZWRpdC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9sb29rdXAtd2lkZ2V0LWZpbHRlci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9sb29rdXAtd2lkZ2V0LWNvbHVtbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9sb29rdXAtd2lkZ2V0LXByaW50LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xvb2t1cC13aWRnZXQtZGVzaWduZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbG9va3VwLXdpZGdldC5jb25maWcnOyJdfQ==
@@ -0,0 +1,19 @@
1
+ import { AXPColumnWidgetBase } from '@acorex/platform/layout/builder';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ export class AXPLookupWidgetColumnComponent extends AXPColumnWidgetBase {
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLookupWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `{{rawValue}}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetColumnComponent, decorators: [{
10
+ type: Component,
11
+ args: [{
12
+ template: `{{rawValue}}`,
13
+ standalone: true,
14
+ changeDetection: ChangeDetectionStrategy.OnPush,
15
+ imports: [CommonModule],
16
+ inputs: ['rawValue']
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9va3VwLXdpZGdldC1jb2x1bW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZW50aXR5L3NyYy9saWIvd2lkZ2V0cy9sb29rdXAtd2lkZ2V0L2xvb2t1cC13aWRnZXQtY29sdW1uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxpQ0FBaUMs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EFYUENvbHVtbldpZGdldEJhc2U8YW55PiB7fSJdfQ==
@@ -0,0 +1,19 @@
1
+ import { AXPWidgetBase } from '@acorex/platform/layout/builder';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ export class AXPLookupWidgetDesignerComponent extends AXPWidgetBase {
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLookupWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetDesignerComponent, decorators: [{
10
+ type: Component,
11
+ args: [{
12
+ template: ``,
13
+ standalone: true,
14
+ changeDetection: ChangeDetectionStrategy.OnPush,
15
+ imports: [CommonModule],
16
+ inputs: []
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9va3VwLXdpZGdldC1kZXNpZ25lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2xheW91dC9lbnRpdHkvc3JjL2xpYi93aWRnZXRzL2xvb2t1cC13aWRnZXQvbG9va3VwLXdpZGdldC1kZXNpZ25lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQU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CYXNlPGFueT4ge30iXX0=
@@ -0,0 +1,127 @@
1
+ import { AXSelectBoxModule } from '@acorex/components/select-box';
2
+ import { AXPLayoutBuilderService, AXPWidgetBase } from '@acorex/platform/layout/builder';
3
+ import { CommonModule } from '@angular/common';
4
+ import { ChangeDetectionStrategy, Component, computed, inject, signal } from '@angular/core';
5
+ import { FormsModule } from '@angular/forms';
6
+ import { AXP_ENTITY_DEFINITION_LOADER } from '../../entity.config';
7
+ import { AXTextBoxModule } from '@acorex/components/text-box';
8
+ import { AXDecoratorModule } from '@acorex/components/decorators';
9
+ import { AXButtonModule } from '@acorex/components/button';
10
+ import { AXFormatService } from '@acorex/core/format';
11
+ import { AXPopupService } from '@acorex/components/popup';
12
+ import { AXPLookupWidgetSelectorComponent } from './lookup-widget-selector.component';
13
+ import { AXPLookupWidgetSelectorViewModel } from './lookup-widget-selector.viewmodel';
14
+ import * as i0 from "@angular/core";
15
+ import * as i1 from "@angular/forms";
16
+ import * as i2 from "@acorex/components/text-box";
17
+ import * as i3 from "@acorex/components/button";
18
+ import * as i4 from "@acorex/components/decorators";
19
+ export class AXPLookupWidgetEditComponent extends AXPWidgetBase {
20
+ constructor() {
21
+ super(...arguments);
22
+ this.dataSource = [];
23
+ this.textField = "title";
24
+ this.loader = inject(AXP_ENTITY_DEFINITION_LOADER);
25
+ this.formatService = inject(AXFormatService);
26
+ this.popupService = inject(AXPopupService);
27
+ this.builderService = inject(AXPLayoutBuilderService);
28
+ this.displayText = signal("");
29
+ this.vm = signal(null);
30
+ this.placeholder = computed(() => {
31
+ return 'Search on ' + this.vm()?.inlineFiltersPlaceholders().join(', ');
32
+ });
33
+ }
34
+ async ngOnInit() {
35
+ super.ngOnInit();
36
+ //
37
+ const [module, entity] = this.entity.split('.');
38
+ this.entityDef = await this.loader.get(module, entity);
39
+ //
40
+ this.vm.set(new AXPLookupWidgetSelectorViewModel(this.entityDef));
41
+ //
42
+ this.textField = this.entityDef?.formats.lookup ?? this.entityDef?.properties.find(c => c.name != 'id')?.name ?? "title";
43
+ const value = this.getValue();
44
+ if (typeof value == 'object')
45
+ this.displayText.set(this.formatService.format(this.textField, "string", value));
46
+ else if (value != null) {
47
+ const byKey = this.entityDef?.queries.byKey?.execute;
48
+ const item = await byKey(this.getValue());
49
+ this.setItems(item);
50
+ }
51
+ }
52
+ handleOnClick(e) {
53
+ this.popupService.open(AXPLookupWidgetSelectorComponent, {
54
+ title: `${this.entityDef?.formats.plural} Lookup`,
55
+ size: 'md',
56
+ data: {
57
+ vm: new AXPLookupWidgetSelectorViewModel(this.entityDef)
58
+ }
59
+ }).then((e) => {
60
+ if (e.data?.items) {
61
+ this.setItems(e.data?.items[0]);
62
+ }
63
+ });
64
+ }
65
+ setItems(item) {
66
+ const text = this.formatService.format(this.textField, "string", item);
67
+ this.displayText.set(text);
68
+ this.setValue(item.id);
69
+ if (this.expose) {
70
+ this.builderService.setValue(this.expose, item);
71
+ }
72
+ }
73
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
74
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLookupWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { entity: "entity", conditions: "conditions", expose: "expose" }, usesInheritance: true, ngImport: i0, template: `
75
+ <!-- <ax-select-box
76
+ [dataSource]="dataSource"
77
+ [valueField]="'id'"
78
+ [textField]="textField"
79
+ [ngModel]="getValue()"
80
+ (onValueChanged)="handleValueChange($event);"
81
+ >
82
+ </ax-select-box> -->
83
+ <ax-text-box [ngModel]="displayText()" readonly="true" [placeholder]="placeholder()">
84
+ <ax-suffix>
85
+ <ax-button color="ghost" look="twotone" (onClick)="handleOnClick($event)">
86
+ <ax-icon icon="far fa-search">
87
+ </ax-icon>
88
+ </ax-button>
89
+ </ax-suffix>
90
+ </ax-text-box>
91
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.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.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: i3.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: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
92
+ }
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetEditComponent, decorators: [{
94
+ type: Component,
95
+ args: [{
96
+ template: `
97
+ <!-- <ax-select-box
98
+ [dataSource]="dataSource"
99
+ [valueField]="'id'"
100
+ [textField]="textField"
101
+ [ngModel]="getValue()"
102
+ (onValueChanged)="handleValueChange($event);"
103
+ >
104
+ </ax-select-box> -->
105
+ <ax-text-box [ngModel]="displayText()" readonly="true" [placeholder]="placeholder()">
106
+ <ax-suffix>
107
+ <ax-button color="ghost" look="twotone" (onClick)="handleOnClick($event)">
108
+ <ax-icon icon="far fa-search">
109
+ </ax-icon>
110
+ </ax-button>
111
+ </ax-suffix>
112
+ </ax-text-box>
113
+ `,
114
+ standalone: true,
115
+ changeDetection: ChangeDetectionStrategy.OnPush,
116
+ imports: [
117
+ CommonModule,
118
+ FormsModule,
119
+ AXSelectBoxModule,
120
+ AXTextBoxModule,
121
+ AXButtonModule,
122
+ AXDecoratorModule
123
+ ],
124
+ inputs: ["entity", "conditions", "expose"]
125
+ }]
126
+ }] });
127
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9va3VwLXdpZGdldC1lZGl0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vbGF5b3V0L2VudGl0eS9zcmMvbGliL3dpZGdldHMvbG9va3VwLXdpZGdldC9sb29rdXAtd2lkZ2V0LWVkaXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxhQUFhLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUN6RixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN4RyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN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