@acorex/platform 18.0.0 → 18.0.2

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 (1210) 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/themes/default/acorex-platform-themes-default.mjs +5 -0
  320. package/esm2022/themes/default/index.mjs +3 -0
  321. package/esm2022/themes/default/lib/default.module.mjs +74 -0
  322. package/esm2022/themes/default/lib/entity-reuse.strategy.mjs +21 -0
  323. package/esm2022/themes/default/lib/layout.routes.mjs +20 -0
  324. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +114 -0
  325. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +93 -0
  326. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-list-view.component.mjs +157 -0
  327. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.mjs +64 -0
  328. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.mjs +61 -0
  329. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.mjs +82 -0
  330. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +77 -0
  331. package/esm2022/themes/default/lib/layouts/root-layout/components/footer/footer.component.mjs +14 -0
  332. package/esm2022/themes/default/lib/layouts/root-layout/components/header/header.component.mjs +29 -0
  333. package/esm2022/themes/default/lib/layouts/root-layout/index.mjs +5 -0
  334. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.component.mjs +78 -0
  335. package/esm2022/themes/default/lib/layouts/root-layout/root-layout.module.mjs +91 -0
  336. package/esm2022/themes/default/lib/pages/errors/error-401/error-401.component.mjs +28 -0
  337. package/esm2022/themes/default/lib/pages/errors/error-404/error-404.component.mjs +22 -0
  338. package/esm2022/themes/default/lib/pages/errors/error-offline/error-offline.component.mjs +16 -0
  339. package/esm2022/widgets/index.mjs +1 -1
  340. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-column.component.mjs +45 -0
  341. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +10 -10
  342. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +54 -0
  343. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +10 -4
  344. package/esm2022/widgets/lib/editors/checkbox/index.mjs +1 -1
  345. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +32 -7
  346. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +2 -2
  347. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +54 -54
  348. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +2 -2
  349. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +2 -2
  350. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +18 -18
  351. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +1 -1
  352. package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +1 -1
  353. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +54 -7
  354. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +2 -2
  355. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +173 -141
  356. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +2 -2
  357. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +2 -2
  358. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +70 -70
  359. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +1 -1
  360. package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +1 -1
  361. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +2 -2
  362. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +2 -2
  363. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +112 -112
  364. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +2 -2
  365. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +2 -2
  366. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +64 -64
  367. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +1 -1
  368. package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +1 -1
  369. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +2 -2
  370. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +2 -2
  371. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +108 -108
  372. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +2 -2
  373. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +2 -2
  374. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +1 -1
  375. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +98 -98
  376. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +1 -1
  377. package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +1 -1
  378. package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +1 -1
  379. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-column.component.mjs +2 -2
  380. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +2 -2
  381. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.mjs +6 -6
  382. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +2 -2
  383. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +2 -2
  384. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-view.component.mjs +6 -6
  385. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +1 -1
  386. package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +1 -1
  387. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +26 -7
  388. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +2 -2
  389. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +68 -68
  390. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +2 -2
  391. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +2 -2
  392. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +33 -19
  393. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +4 -1
  394. package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +1 -1
  395. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-column.component.mjs +2 -2
  396. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +2 -2
  397. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.mjs +10 -10
  398. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +2 -2
  399. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +2 -2
  400. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +46 -46
  401. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +1 -1
  402. package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +1 -1
  403. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +54 -7
  404. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +2 -2
  405. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +162 -134
  406. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +2 -2
  407. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +2 -2
  408. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +70 -70
  409. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +1 -1
  410. package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +1 -1
  411. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +2 -2
  412. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +2 -2
  413. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +10 -10
  414. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +2 -2
  415. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +2 -2
  416. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +10 -10
  417. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +1 -1
  418. package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +1 -1
  419. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +5 -5
  420. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +2 -2
  421. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.mjs +26 -26
  422. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.mjs +2 -2
  423. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +2 -2
  424. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +24 -18
  425. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +1 -1
  426. package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +1 -1
  427. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +30 -8
  428. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +2 -2
  429. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.mjs +32 -32
  430. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +2 -2
  431. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +2 -2
  432. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +29 -8
  433. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +1 -1
  434. package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +1 -1
  435. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +2 -2
  436. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +2 -2
  437. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +56 -56
  438. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +2 -2
  439. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +2 -2
  440. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +18 -18
  441. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +1 -1
  442. package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +1 -1
  443. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +7 -6
  444. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +2 -2
  445. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +62 -62
  446. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +2 -2
  447. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +2 -2
  448. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +18 -18
  449. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +2 -1
  450. package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +8 -0
  451. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-column.component.mjs +47 -0
  452. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +19 -0
  453. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.mjs +27 -0
  454. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +20 -0
  455. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +19 -0
  456. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-view.component.mjs +47 -0
  457. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +24 -0
  458. package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +14 -14
  459. package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +1 -1
  460. package/esm2022/widgets/lib/layout/block-widget/index.mjs +1 -1
  461. package/esm2022/widgets/lib/widgets.module.mjs +6 -3
  462. package/esm2022/workflow/index.mjs +1 -1
  463. package/esm2022/workflow/lib/errors.types.mjs +1 -1
  464. package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +1 -1
  465. package/esm2022/workflow/lib/workflow-registery.service.mjs +1 -1
  466. package/esm2022/workflow/lib/workflow.module.mjs +1 -1
  467. package/esm2022/workflow/lib/workflow.service.mjs +1 -1
  468. package/esm2022/workflow/lib/workflow.types.mjs +1 -1
  469. package/fesm2022/acorex-platform-auth.mjs +3 -1
  470. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  471. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs +178 -0
  472. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs.map +1 -0
  473. package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs +85 -0
  474. package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs.map +1 -0
  475. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs +169 -0
  476. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs.map +1 -0
  477. package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs +177 -0
  478. package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs.map +1 -0
  479. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs +76 -0
  480. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs.map +1 -0
  481. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs +46 -0
  482. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs.map +1 -0
  483. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs +70 -0
  484. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs.map +1 -0
  485. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs +66 -0
  486. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs.map +1 -0
  487. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs +198 -0
  488. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs.map +1 -0
  489. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs +233 -0
  490. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs.map +1 -0
  491. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs +93 -0
  492. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs.map +1 -0
  493. package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs +97 -0
  494. package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs.map +1 -0
  495. package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs +269 -0
  496. package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs.map +1 -0
  497. package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs +130 -0
  498. package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs.map +1 -0
  499. package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs +49 -0
  500. package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs.map +1 -0
  501. package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs +221 -0
  502. package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs.map +1 -0
  503. package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs +51 -0
  504. package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs.map +1 -0
  505. package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs +174 -0
  506. package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs.map +1 -0
  507. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs +209 -0
  508. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs.map +1 -0
  509. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs +50 -0
  510. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs.map +1 -0
  511. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs +193 -0
  512. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs.map +1 -0
  513. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs +60 -0
  514. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs.map +1 -0
  515. package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs +66 -0
  516. package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs.map +1 -0
  517. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs +96 -0
  518. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs.map +1 -0
  519. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs +135 -0
  520. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs.map +1 -0
  521. package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs +77 -0
  522. package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs.map +1 -0
  523. package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs +114 -0
  524. package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs.map +1 -0
  525. package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs +86 -0
  526. package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs.map +1 -0
  527. package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs +95 -0
  528. package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs.map +1 -0
  529. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs +157 -0
  530. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs.map +1 -0
  531. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs +154 -0
  532. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs.map +1 -0
  533. package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs +68 -0
  534. package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs.map +1 -0
  535. package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs +157 -0
  536. package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs.map +1 -0
  537. package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs +54 -0
  538. package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs.map +1 -0
  539. package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs +89 -0
  540. package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs.map +1 -0
  541. package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs +64 -0
  542. package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs.map +1 -0
  543. package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs +128 -0
  544. package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs.map +1 -0
  545. package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs +115 -0
  546. package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs.map +1 -0
  547. package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs +265 -0
  548. package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs.map +1 -0
  549. package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs +145 -0
  550. package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs.map +1 -0
  551. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs +85 -0
  552. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs.map +1 -0
  553. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs +89 -0
  554. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs.map +1 -0
  555. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs +58 -0
  556. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs.map +1 -0
  557. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs +69 -0
  558. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs.map +1 -0
  559. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs +76 -0
  560. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs.map +1 -0
  561. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs +65 -0
  562. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs.map +1 -0
  563. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs +69 -0
  564. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs.map +1 -0
  565. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs +148 -0
  566. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs.map +1 -0
  567. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs +63 -0
  568. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs.map +1 -0
  569. package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs +147 -0
  570. package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs.map +1 -0
  571. package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs +70 -0
  572. package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs.map +1 -0
  573. package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs +183 -0
  574. package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs.map +1 -0
  575. package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs +90 -0
  576. package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs.map +1 -0
  577. package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs +80 -0
  578. package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs.map +1 -0
  579. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs +46 -0
  580. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs.map +1 -0
  581. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs +72 -0
  582. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs.map +1 -0
  583. package/fesm2022/acorex-platform-common.mjs +2056 -246
  584. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  585. package/fesm2022/acorex-platform-layout-builder.mjs +687 -0
  586. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -0
  587. package/fesm2022/acorex-platform-layout-entity.mjs +1848 -0
  588. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -0
  589. package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs +107 -0
  590. package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs.map +1 -0
  591. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs +88 -0
  592. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs.map +1 -0
  593. package/fesm2022/acorex-platform-layouts.mjs +1058 -2553
  594. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  595. package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
  596. package/fesm2022/acorex-platform-native.mjs.map +1 -1
  597. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Buanq4is.mjs +96 -0
  598. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Buanq4is.mjs.map +1 -0
  599. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-F7dr-osu.mjs +85 -0
  600. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-F7dr-osu.mjs.map +1 -0
  601. package/fesm2022/acorex-platform-themes-default-error-401.component-Djuin07Z.mjs +31 -0
  602. package/fesm2022/acorex-platform-themes-default-error-401.component-Djuin07Z.mjs.map +1 -0
  603. package/fesm2022/acorex-platform-themes-default-error-404.component-C-RyiLkk.mjs +25 -0
  604. package/fesm2022/acorex-platform-themes-default-error-404.component-C-RyiLkk.mjs.map +1 -0
  605. package/fesm2022/acorex-platform-themes-default-error-offline.component-WCfy9-cr.mjs +19 -0
  606. package/fesm2022/acorex-platform-themes-default-error-offline.component-WCfy9-cr.mjs.map +1 -0
  607. package/fesm2022/acorex-platform-themes-default.mjs +681 -0
  608. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -0
  609. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs +48 -0
  610. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs.map +1 -0
  611. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs +57 -0
  612. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs.map +1 -0
  613. package/fesm2022/acorex-platform-widgets.mjs +1755 -1293
  614. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  615. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  616. package/fesm2022/acorex-platform.mjs.map +1 -1
  617. package/layout/builder/README.md +4 -0
  618. package/layout/builder/index.d.ts +1 -0
  619. package/layout/builder/lib/builder/builder.module.d.ts +23 -0
  620. package/layout/builder/lib/builder/builder.service.d.ts +27 -0
  621. package/layout/builder/lib/builder/index.d.ts +8 -0
  622. package/layout/builder/lib/builder/layout.types.d.ts +30 -0
  623. package/layout/builder/lib/builder/widget-column-renderer.d.ts +31 -0
  624. package/layout/builder/lib/builder/widget-container.component.d.ts +15 -0
  625. package/layout/builder/lib/builder/widget-renderer.component.d.ts +43 -0
  626. package/layout/builder/lib/builder/widget.types.d.ts +74 -0
  627. package/layout/entity/README.md +4 -0
  628. package/layout/entity/index.d.ts +1 -0
  629. package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +32 -0
  630. package/layout/entity/lib/entity-master-create.viewmodel.d.ts +49 -0
  631. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +82 -0
  632. package/layout/entity/lib/entity-master-single.viewmodel.d.ts +62 -0
  633. package/layout/entity/lib/entity-master-update.viewmodel.d.ts +39 -0
  634. package/layout/entity/lib/entity-registery.service.d.ts +34 -0
  635. package/layout/entity/lib/entity.config.d.ts +21 -0
  636. package/layout/entity/lib/entity.module.d.ts +9 -0
  637. package/layout/entity/lib/entity.viewmodel.d.ts +22 -0
  638. package/layout/entity/lib/index.d.ts +8 -0
  639. package/layout/entity/lib/widgets/lookup-widget/index.d.ts +7 -0
  640. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +6 -0
  641. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.d.ts +6 -0
  642. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +27 -0
  643. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.d.ts +6 -0
  644. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.d.ts +6 -0
  645. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +13 -0
  646. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +15 -0
  647. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +6 -0
  648. package/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.d.ts +2 -0
  649. package/layout/entity/lib/workflows/create-entity.workflow.d.ts +29 -0
  650. package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +26 -0
  651. package/layout/entity/lib/workflows/modify-section.workflow.d.ts +34 -0
  652. package/layout/entity/lib/workflows/show-details.workflow.d.ts +10 -0
  653. package/layouts/README.md +3 -3
  654. package/layouts/index.d.ts +0 -2
  655. package/layouts/lib/admin/admin.module.d.ts +3 -6
  656. package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.d.ts +1 -1
  657. package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.d.ts +3 -3
  658. package/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.d.ts +3 -3
  659. package/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.d.ts +1 -1
  660. package/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.d.ts +2 -3
  661. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.d.ts +1 -1
  662. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.d.ts +4 -6
  663. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.d.ts +1 -1
  664. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.d.ts +3 -4
  665. package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +6 -6
  666. package/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.d.ts +5 -6
  667. package/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.d.ts +3 -4
  668. package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.d.ts +1 -1
  669. package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.d.ts +3 -3
  670. package/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.d.ts +2 -2
  671. package/layouts/lib/admin/entity-layout/workflows/index.d.ts +3 -0
  672. package/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.d.ts +12 -0
  673. package/layouts/lib/admin/entity-layout/workflows/show-details.workflow.d.ts +9 -1
  674. package/layouts/lib/admin/entity-layout/workflows/show-list.workflow.d.ts +9 -1
  675. package/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.d.ts +11 -1
  676. package/layouts/lib/admin/index.d.ts +0 -2
  677. package/layouts/lib/layout.module.d.ts +4 -4
  678. package/mocks/README.md +3 -3
  679. package/package.json +19 -19
  680. package/themes/default/README.md +3 -0
  681. package/themes/default/index.d.ts +2 -0
  682. package/themes/default/lib/default.module.d.ts +8 -0
  683. package/themes/default/lib/entity-reuse.strategy.d.ts +8 -0
  684. package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +24 -0
  685. package/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.d.ts +17 -0
  686. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-list-view.component.d.ts +29 -0
  687. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.d.ts +18 -0
  688. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.d.ts +16 -0
  689. package/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.d.ts +16 -0
  690. package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +13 -0
  691. package/themes/default/lib/layouts/root-layout/components/footer/footer.component.d.ts +5 -0
  692. package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +10 -0
  693. package/themes/default/lib/layouts/root-layout/index.d.ts +4 -0
  694. package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +32 -0
  695. package/themes/default/lib/layouts/root-layout/root-layout.module.d.ts +24 -0
  696. package/widgets/README.md +3 -3
  697. package/widgets/lib/editors/checkbox/checkbox-widget-column.component.d.ts +9 -0
  698. package/widgets/lib/editors/checkbox/checkbox-widget-edit.component.d.ts +1 -1
  699. package/widgets/lib/editors/checkbox/checkbox-widget-view.component.d.ts +9 -0
  700. package/widgets/lib/editors/checkbox/checkbox-widget.config.d.ts +1 -1
  701. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.d.ts +11 -3
  702. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.d.ts +1 -1
  703. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +1 -1
  704. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.d.ts +1 -1
  705. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.d.ts +1 -1
  706. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.d.ts +1 -1
  707. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.d.ts +1 -1
  708. package/widgets/lib/editors/email-box-widget/email-box-widget-column.component.d.ts +13 -3
  709. package/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.d.ts +1 -1
  710. package/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.d.ts +7 -1
  711. package/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.d.ts +1 -1
  712. package/widgets/lib/editors/email-box-widget/email-box-widget-print.component.d.ts +1 -1
  713. package/widgets/lib/editors/email-box-widget/email-box-widget-view.component.d.ts +1 -1
  714. package/widgets/lib/editors/email-box-widget/email-box-widget.config.d.ts +1 -1
  715. package/widgets/lib/editors/file-box-widget/file-box-widget-column.component.d.ts +1 -1
  716. package/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.d.ts +1 -1
  717. package/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.d.ts +1 -1
  718. package/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.d.ts +1 -1
  719. package/widgets/lib/editors/file-box-widget/file-box-widget-print.component.d.ts +1 -1
  720. package/widgets/lib/editors/file-box-widget/file-box-widget-view.component.d.ts +1 -1
  721. package/widgets/lib/editors/file-box-widget/file-box-widget.config.d.ts +1 -1
  722. package/widgets/lib/editors/gallery-widget/gallery-widget-column.component.d.ts +1 -1
  723. package/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.d.ts +1 -1
  724. package/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.d.ts +1 -1
  725. package/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.d.ts +1 -1
  726. package/widgets/lib/editors/gallery-widget/gallery-widget-print.component.d.ts +1 -1
  727. package/widgets/lib/editors/gallery-widget/gallery-widget-view.component.d.ts +1 -1
  728. package/widgets/lib/editors/gallery-widget/gallery-widget.config.d.ts +1 -1
  729. package/widgets/lib/editors/map-box-widget/map-box-widget-column.component.d.ts +1 -1
  730. package/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.d.ts +1 -1
  731. package/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.d.ts +1 -1
  732. package/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.d.ts +1 -1
  733. package/widgets/lib/editors/map-box-widget/map-box-widget-print.component.d.ts +1 -1
  734. package/widgets/lib/editors/map-box-widget/map-box-widget-view.component.d.ts +1 -1
  735. package/widgets/lib/editors/map-box-widget/map-box-widget.config.d.ts +1 -1
  736. package/widgets/lib/editors/number-box-widget/number-box-widget-column.component.d.ts +5 -3
  737. package/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.d.ts +1 -1
  738. package/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.d.ts +2 -2
  739. package/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.d.ts +1 -1
  740. package/widgets/lib/editors/number-box-widget/number-box-widget-print.component.d.ts +1 -1
  741. package/widgets/lib/editors/number-box-widget/number-box-widget-view.component.d.ts +8 -2
  742. package/widgets/lib/editors/number-box-widget/number-box-widget.config.d.ts +1 -1
  743. package/widgets/lib/editors/password-box-widget/password-box-widget-column.component.d.ts +1 -1
  744. package/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.d.ts +1 -1
  745. package/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.d.ts +1 -1
  746. package/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.d.ts +1 -1
  747. package/widgets/lib/editors/password-box-widget/password-box-widget-print.component.d.ts +1 -1
  748. package/widgets/lib/editors/password-box-widget/password-box-widget-view.component.d.ts +1 -1
  749. package/widgets/lib/editors/password-box-widget/password-box-widget.config.d.ts +1 -1
  750. package/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.d.ts +13 -3
  751. package/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.d.ts +1 -1
  752. package/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.d.ts +6 -1
  753. package/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.d.ts +1 -1
  754. package/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.d.ts +1 -1
  755. package/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.d.ts +1 -1
  756. package/widgets/lib/editors/phone-box-widget/phone-box-widget.config.d.ts +1 -1
  757. package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +1 -1
  758. package/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.d.ts +1 -1
  759. package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +1 -1
  760. package/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.d.ts +1 -1
  761. package/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.d.ts +1 -1
  762. package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +1 -1
  763. package/widgets/lib/editors/rich-text-widget/rich-text-widget.config.d.ts +1 -1
  764. package/widgets/lib/editors/select-box-widget/select-box-widget-column.component.d.ts +3 -3
  765. package/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.d.ts +1 -1
  766. package/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.d.ts +1 -1
  767. package/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.d.ts +1 -1
  768. package/widgets/lib/editors/select-box-widget/select-box-widget-print.component.d.ts +1 -1
  769. package/widgets/lib/editors/select-box-widget/select-box-widget-view.component.d.ts +1 -1
  770. package/widgets/lib/editors/select-box-widget/select-box-widget.config.d.ts +1 -1
  771. package/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.d.ts +11 -3
  772. package/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.d.ts +1 -1
  773. package/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.d.ts +1 -1
  774. package/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.d.ts +1 -1
  775. package/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.d.ts +1 -1
  776. package/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.d.ts +7 -2
  777. package/widgets/lib/editors/selection-list-widget/selection-list-widget.config.d.ts +1 -1
  778. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.d.ts +1 -1
  779. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.d.ts +1 -1
  780. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +1 -1
  781. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.d.ts +1 -1
  782. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.d.ts +1 -1
  783. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
  784. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.d.ts +1 -1
  785. package/widgets/lib/editors/text-box-widget/text-box-widget-column.component.d.ts +3 -3
  786. package/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.d.ts +1 -1
  787. package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +2 -2
  788. package/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.d.ts +1 -1
  789. package/widgets/lib/editors/text-box-widget/text-box-widget-print.component.d.ts +1 -1
  790. package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +1 -1
  791. package/widgets/lib/editors/text-box-widget/text-box-widget.config.d.ts +1 -1
  792. package/widgets/lib/editors/toggle-widget/index.d.ts +7 -0
  793. package/widgets/lib/editors/toggle-widget/toggle-widget-column.component.d.ts +9 -0
  794. package/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.d.ts +6 -0
  795. package/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.d.ts +7 -0
  796. package/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.d.ts +6 -0
  797. package/widgets/lib/editors/toggle-widget/toggle-widget-print.component.d.ts +6 -0
  798. package/widgets/lib/editors/toggle-widget/toggle-widget-view.component.d.ts +9 -0
  799. package/widgets/lib/editors/toggle-widget/toggle-widget.config.d.ts +2 -0
  800. package/widgets/lib/layout/block-widget/block-widget.component.d.ts +2 -2
  801. package/widgets/lib/layout/block-widget/block-widget.config.d.ts +1 -1
  802. package/widgets/lib/widgets.module.d.ts +1 -1
  803. package/workflow/README.md +3 -3
  804. package/workflow/lib/workflow.types.d.ts +2 -2
  805. package/common/lib/shared/state-persistence/index.d.ts +0 -3
  806. package/common/lib/shared/state-persistence/state-persistence.actions.d.ts +0 -1
  807. package/common/lib/shared/state-persistence/state-persistence.module.d.ts +0 -8
  808. package/common/lib/shared/state-persistence/state-persistence.reducers.d.ts +0 -3
  809. package/common/lib/utils/sticky.directive.d.ts +0 -24
  810. package/core/README.md +0 -4
  811. package/core/index.d.ts +0 -4
  812. package/core/lib/app/application.types.d.ts +0 -144
  813. package/core/lib/core.module.d.ts +0 -6
  814. package/esm2022/common/lib/menu/index.mjs +0 -3
  815. package/esm2022/common/lib/menu/menu.loader.mjs +0 -39
  816. package/esm2022/common/lib/menu/menu.types.mjs +0 -2
  817. package/esm2022/common/lib/shared/logo.types.mjs +0 -21
  818. package/esm2022/common/lib/shared/state-persistence/index.mjs +0 -4
  819. package/esm2022/common/lib/shared/state-persistence/state-persistence.actions.mjs +0 -3
  820. package/esm2022/common/lib/shared/state-persistence/state-persistence.module.mjs +0 -36
  821. package/esm2022/common/lib/shared/state-persistence/state-persistence.reducers.mjs +0 -30
  822. package/esm2022/common/lib/utils/sticky.directive.mjs +0 -74
  823. package/esm2022/core/acorex-platform-core.mjs +0 -5
  824. package/esm2022/core/index.mjs +0 -5
  825. package/esm2022/core/lib/app/application.types.mjs +0 -19
  826. package/esm2022/core/lib/app/operators.mjs +0 -50
  827. package/esm2022/core/lib/configs/config.types.mjs +0 -3
  828. package/esm2022/core/lib/core.module.mjs +0 -16
  829. package/esm2022/layout/acorex-platform-layout.mjs +0 -5
  830. package/esm2022/layout/index.mjs +0 -3
  831. package/esm2022/layout/lib/builder/builder.module.mjs +0 -66
  832. package/esm2022/layout/lib/builder/context.service.mjs +0 -64
  833. package/esm2022/layout/lib/builder/index.mjs +0 -8
  834. package/esm2022/layout/lib/builder/widget-column-renderer.mjs +0 -75
  835. package/esm2022/layout/lib/builder/widget-container.mjs +0 -45
  836. package/esm2022/layout/lib/builder/widget-registery.service.mjs +0 -33
  837. package/esm2022/layout/lib/builder/widget-renderer.mjs +0 -279
  838. package/esm2022/layout/lib/builder/widget.types.mjs +0 -49
  839. package/esm2022/layout/lib/component-slot/component-slot-loader.service.mjs +0 -56
  840. package/esm2022/layout/lib/component-slot/component-slot-registery.service.mjs +0 -28
  841. package/esm2022/layout/lib/component-slot/component-slot.directive.mjs +0 -24
  842. package/esm2022/layout/lib/component-slot/component-slot.module.mjs +0 -72
  843. package/esm2022/layout/lib/component-slot/component-slot.types.mjs +0 -2
  844. package/esm2022/layout/lib/component-slot/index.mjs +0 -6
  845. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.mjs +0 -58
  846. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.component.mjs +0 -50
  847. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.module.mjs +0 -57
  848. package/esm2022/layouts/lib/admin/admin-child-layout/index.mjs +0 -4
  849. package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.component.mjs +0 -74
  850. package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.module.mjs +0 -92
  851. package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.mjs +0 -14
  852. package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.mjs +0 -29
  853. package/esm2022/layouts/lib/admin/admin-root-layout/index.mjs +0 -5
  854. package/esm2022/layouts/lib/admin/store/admin-layout.actions.mjs +0 -12
  855. package/esm2022/layouts/lib/admin/store/admin-layout.effects.mjs +0 -29
  856. package/esm2022/layouts/lib/admin/store/admin-layout.reducers.mjs +0 -60
  857. package/esm2022/layouts/lib/admin/store/admin-layout.selectors.mjs +0 -8
  858. package/esm2022/layouts/lib/admin/store/admin-layout.state.mjs +0 -16
  859. package/esm2022/layouts/lib/admin/store/index.mjs +0 -6
  860. package/esm2022/layouts/lib/layout.routes.mjs +0 -15
  861. package/esm2022/layouts/lib/shared/components/content-view/content-view.page.mjs +0 -64
  862. package/esm2022/layouts/lib/shared/components/content-view/content-view.type.mjs +0 -2
  863. package/esm2022/layouts/lib/shared/components/error-401/error-401.component.mjs +0 -28
  864. package/esm2022/layouts/lib/shared/components/error-404/error-404.component.mjs +0 -22
  865. package/esm2022/layouts/lib/shared/components/error-offline/error-offline.component.mjs +0 -16
  866. package/esm2022/layouts/lib/shared/components/index.mjs +0 -10
  867. package/esm2022/layouts/lib/shared/components/logo/logo.component.mjs +0 -38
  868. package/esm2022/layouts/lib/shared/components/slots/footer-text-slot.component.mjs +0 -20
  869. package/esm2022/layouts/lib/shared/components/slots/navbar-slot.component.mjs +0 -36
  870. package/esm2022/layouts/lib/shared/components/slots/theme-slot.component.mjs +0 -48
  871. package/esm2022/layouts/lib/shared/entity/entity-registery.service.mjs +0 -70
  872. package/esm2022/layouts/lib/shared/entity/entity.class.mjs +0 -32
  873. package/esm2022/layouts/lib/shared/entity/entity.loader.mjs +0 -13
  874. package/esm2022/layouts/lib/shared/entity/index.mjs +0 -4
  875. package/esm2022/layouts/lib/shared/index.mjs +0 -5
  876. package/esm2022/layouts/lib/shared/services/index.mjs +0 -2
  877. package/esm2022/layouts/lib/shared/services/layout.service.mjs +0 -79
  878. package/esm2022/layouts/lib/shared/workflows/common.workflow.mjs +0 -147
  879. package/esm2022/layouts/lib/shared/workflows/error-handler.mjs +0 -24
  880. package/esm2022/layouts/lib/shared/workflows/index.mjs +0 -3
  881. package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.mjs +0 -73
  882. package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.mjs +0 -99
  883. package/esm2022/layouts/lib/themes/default/index.mjs +0 -3
  884. package/esm2022/layouts/lib/widgets/avatar/avatar-widget-edit.component.mjs +0 -160
  885. package/esm2022/layouts/lib/widgets/avatar/avatar-widget-view.component.mjs +0 -61
  886. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-column.component.mjs +0 -53
  887. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.mjs +0 -22
  888. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-view.component.mjs +0 -47
  889. package/esm2022/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.mjs +0 -147
  890. package/esm2022/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.mjs +0 -135
  891. package/esm2022/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.mjs +0 -125
  892. package/esm2022/layouts/lib/widgets/common-widgets.module.mjs +0 -504
  893. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-column.component.mjs +0 -44
  894. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.mjs +0 -178
  895. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.mjs +0 -214
  896. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-view.component.mjs +0 -71
  897. package/esm2022/layouts/lib/widgets/email/email-widget-column.component.mjs +0 -73
  898. package/esm2022/layouts/lib/widgets/email/email-widget-edit.component.mjs +0 -249
  899. package/esm2022/layouts/lib/widgets/email/email-widget-view.component.mjs +0 -108
  900. package/esm2022/layouts/lib/widgets/file/file-widget-column.component.mjs +0 -27
  901. package/esm2022/layouts/lib/widgets/file/file-widget-edit.component.mjs +0 -200
  902. package/esm2022/layouts/lib/widgets/file/file-widget-filter.component.mjs +0 -27
  903. package/esm2022/layouts/lib/widgets/file/file-widget-view.component.mjs +0 -153
  904. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-edit.component.mjs +0 -189
  905. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-filter.component.mjs +0 -27
  906. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-types.mjs +0 -2
  907. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-view.component.mjs +0 -173
  908. package/esm2022/layouts/lib/widgets/index.mjs +0 -2
  909. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-column.component.mjs +0 -43
  910. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-edit.component.mjs +0 -74
  911. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-filter.component.mjs +0 -115
  912. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-view.component.mjs +0 -54
  913. package/esm2022/layouts/lib/widgets/map/map-widget-edit.component.mjs +0 -91
  914. package/esm2022/layouts/lib/widgets/map/map-widget-view.component.mjs +0 -63
  915. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-column.component.mjs +0 -71
  916. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-edit.component.mjs +0 -136
  917. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-view.component.mjs +0 -132
  918. package/esm2022/layouts/lib/widgets/number/number-widget-edit.component.mjs +0 -46
  919. package/esm2022/layouts/lib/widgets/number/number-widget-view.component.mjs +0 -30
  920. package/esm2022/layouts/lib/widgets/password/change-password.component.mjs +0 -175
  921. package/esm2022/layouts/lib/widgets/password/password-widget-column.component.mjs +0 -67
  922. package/esm2022/layouts/lib/widgets/password/password-widget-edit.component.mjs +0 -41
  923. package/esm2022/layouts/lib/widgets/password/password-widget-view.component.mjs +0 -109
  924. package/esm2022/layouts/lib/widgets/phone/phone-widget-column.component.mjs +0 -91
  925. package/esm2022/layouts/lib/widgets/phone/phone-widget-edit.component.mjs +0 -231
  926. package/esm2022/layouts/lib/widgets/phone/phone-widget-view.component.mjs +0 -123
  927. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-column.component.mjs +0 -61
  928. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.mjs +0 -67
  929. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-view.component.mjs +0 -34
  930. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-column.component.mjs +0 -43
  931. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.mjs +0 -53
  932. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.mjs +0 -41
  933. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-view.component.mjs +0 -45
  934. package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.mjs +0 -128
  935. package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.mjs +0 -41
  936. package/esm2022/layouts/lib/widgets/text/largetext-widget-edit.component.mjs +0 -37
  937. package/esm2022/layouts/lib/widgets/text/text-widget-column.component.mjs +0 -46
  938. package/esm2022/layouts/lib/widgets/text/text-widget-edit.component.mjs +0 -162
  939. package/esm2022/layouts/lib/widgets/text/text-widget-view.component.mjs +0 -66
  940. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-column.component.mjs +0 -57
  941. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-edit.component.mjs +0 -25
  942. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-view.component.mjs +0 -49
  943. package/esm2022/schema/acorex-platform-schema.mjs +0 -5
  944. package/esm2022/schema/index.mjs +0 -14
  945. package/esm2022/schema/lib/component-loader.mjs +0 -2
  946. package/esm2022/schema/lib/formats.mjs +0 -2
  947. package/esm2022/schema/lib/operators.mjs +0 -50
  948. package/esm2022/schema/lib/schema-registery.service.mjs +0 -33
  949. package/esm2022/schema/lib/schema.module.mjs +0 -23
  950. package/esm2022/schema/lib/schema.types.mjs +0 -2
  951. package/esm2022/schema/lib/widget/widget-base.mjs +0 -113
  952. package/esm2022/schema/lib/widget/widget-column-renderer.mjs +0 -118
  953. package/esm2022/schema/lib/widget/widget-filter-renderer.mjs +0 -133
  954. package/esm2022/schema/lib/widget/widget-renderer.mjs +0 -144
  955. package/esm2022/schema/lib/widget/widget-token.mjs +0 -3
  956. package/fesm2022/acorex-platform-core.mjs +0 -94
  957. package/fesm2022/acorex-platform-core.mjs.map +0 -1
  958. package/fesm2022/acorex-platform-layout.mjs +0 -756
  959. package/fesm2022/acorex-platform-layout.mjs.map +0 -1
  960. package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs +0 -162
  961. package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs.map +0 -1
  962. package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs +0 -64
  963. package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs.map +0 -1
  964. package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs +0 -150
  965. package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs.map +0 -1
  966. package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs +0 -178
  967. package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs.map +0 -1
  968. package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs +0 -56
  969. package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs.map +0 -1
  970. package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs +0 -25
  971. package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs.map +0 -1
  972. package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs +0 -50
  973. package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs.map +0 -1
  974. package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs +0 -47
  975. package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs.map +0 -1
  976. package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs +0 -181
  977. package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs.map +0 -1
  978. package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs +0 -217
  979. package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs.map +0 -1
  980. package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs +0 -74
  981. package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs.map +0 -1
  982. package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs +0 -76
  983. package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs.map +0 -1
  984. package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs +0 -252
  985. package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs.map +0 -1
  986. package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs +0 -111
  987. package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs.map +0 -1
  988. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs +0 -108
  989. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs.map +0 -1
  990. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs +0 -89
  991. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs.map +0 -1
  992. package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs +0 -30
  993. package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs.map +0 -1
  994. package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs +0 -203
  995. package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs.map +0 -1
  996. package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs +0 -30
  997. package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs.map +0 -1
  998. package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs +0 -156
  999. package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs.map +0 -1
  1000. package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs +0 -192
  1001. package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs.map +0 -1
  1002. package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs +0 -30
  1003. package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs.map +0 -1
  1004. package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs +0 -176
  1005. package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs.map +0 -1
  1006. package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs +0 -40
  1007. package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs.map +0 -1
  1008. package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs +0 -46
  1009. package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs.map +0 -1
  1010. package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs +0 -120
  1011. package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs.map +0 -1
  1012. package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs +0 -158
  1013. package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs.map +0 -1
  1014. package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs +0 -57
  1015. package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs.map +0 -1
  1016. package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs +0 -94
  1017. package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs.map +0 -1
  1018. package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs +0 -66
  1019. package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs.map +0 -1
  1020. package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs +0 -74
  1021. package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs.map +0 -1
  1022. package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs +0 -139
  1023. package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs.map +0 -1
  1024. package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs +0 -135
  1025. package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs.map +0 -1
  1026. package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs +0 -49
  1027. package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs.map +0 -1
  1028. package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs +0 -138
  1029. package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs.map +0 -1
  1030. package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs +0 -33
  1031. package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs.map +0 -1
  1032. package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs +0 -70
  1033. package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs.map +0 -1
  1034. package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs +0 -44
  1035. package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs.map +0 -1
  1036. package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs +0 -112
  1037. package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs.map +0 -1
  1038. package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs +0 -94
  1039. package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs.map +0 -1
  1040. package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs +0 -234
  1041. package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs.map +0 -1
  1042. package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs +0 -126
  1043. package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs.map +0 -1
  1044. package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs +0 -64
  1045. package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs.map +0 -1
  1046. package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs +0 -70
  1047. package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs.map +0 -1
  1048. package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs +0 -37
  1049. package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs.map +0 -1
  1050. package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs +0 -46
  1051. package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs.map +0 -1
  1052. package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs +0 -56
  1053. package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs.map +0 -1
  1054. package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs +0 -44
  1055. package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs.map +0 -1
  1056. package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs +0 -48
  1057. package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs.map +0 -1
  1058. package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs +0 -131
  1059. package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs.map +0 -1
  1060. package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs +0 -44
  1061. package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs.map +0 -1
  1062. package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs +0 -128
  1063. package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs.map +0 -1
  1064. package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs +0 -49
  1065. package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs.map +0 -1
  1066. package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs +0 -165
  1067. package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs.map +0 -1
  1068. package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs +0 -69
  1069. package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs.map +0 -1
  1070. package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs +0 -60
  1071. package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs.map +0 -1
  1072. package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs +0 -28
  1073. package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs.map +0 -1
  1074. package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs +0 -52
  1075. package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs.map +0 -1
  1076. package/fesm2022/acorex-platform-schema.mjs +0 -594
  1077. package/fesm2022/acorex-platform-schema.mjs.map +0 -1
  1078. package/layout/README.md +0 -4
  1079. package/layout/index.d.ts +0 -2
  1080. package/layout/lib/builder/builder.module.d.ts +0 -23
  1081. package/layout/lib/builder/context.service.d.ts +0 -17
  1082. package/layout/lib/builder/index.d.ts +0 -7
  1083. package/layout/lib/builder/widget-column-renderer.d.ts +0 -30
  1084. package/layout/lib/builder/widget-container.d.ts +0 -13
  1085. package/layout/lib/builder/widget-renderer.d.ts +0 -41
  1086. package/layout/lib/builder/widget.types.d.ts +0 -55
  1087. package/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.d.ts +0 -22
  1088. package/layouts/lib/admin/admin-child-layout/admin-child-layout.component.d.ts +0 -21
  1089. package/layouts/lib/admin/admin-child-layout/admin-child-layout.module.d.ts +0 -17
  1090. package/layouts/lib/admin/admin-child-layout/index.d.ts +0 -3
  1091. package/layouts/lib/admin/admin-root-layout/admin-root-layout.component.d.ts +0 -30
  1092. package/layouts/lib/admin/admin-root-layout/admin-root-layout.module.d.ts +0 -25
  1093. package/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.d.ts +0 -5
  1094. package/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.d.ts +0 -10
  1095. package/layouts/lib/admin/admin-root-layout/index.d.ts +0 -4
  1096. package/layouts/lib/admin/store/admin-layout.selectors.d.ts +0 -5
  1097. package/layouts/lib/shared/components/content-view/content-view.page.d.ts +0 -23
  1098. package/layouts/lib/shared/components/content-view/content-view.type.d.ts +0 -16
  1099. package/layouts/lib/shared/components/index.d.ts +0 -9
  1100. package/layouts/lib/shared/components/slots/navbar-slot.component.d.ts +0 -10
  1101. package/layouts/lib/shared/entity/entity.class.d.ts +0 -153
  1102. package/layouts/lib/shared/index.d.ts +0 -4
  1103. package/layouts/lib/shared/services/index.d.ts +0 -1
  1104. package/layouts/lib/shared/workflows/common.workflow.d.ts +0 -61
  1105. package/layouts/lib/shared/workflows/error-handler.d.ts +0 -8
  1106. package/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.d.ts +0 -11
  1107. package/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.d.ts +0 -34
  1108. package/layouts/lib/themes/default/index.d.ts +0 -2
  1109. package/layouts/lib/widgets/avatar/avatar-widget-edit.component.d.ts +0 -16
  1110. package/layouts/lib/widgets/avatar/avatar-widget-view.component.d.ts +0 -13
  1111. package/layouts/lib/widgets/checkbox/checkbox-widget-column.component.d.ts +0 -11
  1112. package/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.d.ts +0 -6
  1113. package/layouts/lib/widgets/checkbox/checkbox-widget-view.component.d.ts +0 -11
  1114. package/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +0 -17
  1115. package/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.d.ts +0 -11
  1116. package/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.d.ts +0 -11
  1117. package/layouts/lib/widgets/common-widgets.module.d.ts +0 -32
  1118. package/layouts/lib/widgets/dateTime/dateTime-widget-column.component.d.ts +0 -11
  1119. package/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.d.ts +0 -26
  1120. package/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.d.ts +0 -16
  1121. package/layouts/lib/widgets/dateTime/dateTime-widget-view.component.d.ts +0 -11
  1122. package/layouts/lib/widgets/email/email-widget-column.component.d.ts +0 -16
  1123. package/layouts/lib/widgets/email/email-widget-edit.component.d.ts +0 -28
  1124. package/layouts/lib/widgets/email/email-widget-view.component.d.ts +0 -16
  1125. package/layouts/lib/widgets/file/file-widget-column.component.d.ts +0 -8
  1126. package/layouts/lib/widgets/file/file-widget-edit.component.d.ts +0 -17
  1127. package/layouts/lib/widgets/file/file-widget-filter.component.d.ts +0 -6
  1128. package/layouts/lib/widgets/file/file-widget-view.component.d.ts +0 -17
  1129. package/layouts/lib/widgets/gallery/gallery-widget-edit.component.d.ts +0 -15
  1130. package/layouts/lib/widgets/gallery/gallery-widget-filter.component.d.ts +0 -6
  1131. package/layouts/lib/widgets/gallery/gallery-widget-view.component.d.ts +0 -16
  1132. package/layouts/lib/widgets/lookup/lookup-widget-column.component.d.ts +0 -16
  1133. package/layouts/lib/widgets/lookup/lookup-widget-edit.component.d.ts +0 -15
  1134. package/layouts/lib/widgets/lookup/lookup-widget-filter.component.d.ts +0 -16
  1135. package/layouts/lib/widgets/lookup/lookup-widget-view.component.d.ts +0 -17
  1136. package/layouts/lib/widgets/map/map-widget-edit.component.d.ts +0 -15
  1137. package/layouts/lib/widgets/map/map-widget-view.component.d.ts +0 -17
  1138. package/layouts/lib/widgets/messenger/messenger-widget-column.component.d.ts +0 -15
  1139. package/layouts/lib/widgets/messenger/messenger-widget-edit.component.d.ts +0 -14
  1140. package/layouts/lib/widgets/messenger/messenger-widget-view.component.d.ts +0 -17
  1141. package/layouts/lib/widgets/number/number-widget-edit.component.d.ts +0 -7
  1142. package/layouts/lib/widgets/number/number-widget-view.component.d.ts +0 -8
  1143. package/layouts/lib/widgets/password/password-widget-column.component.d.ts +0 -14
  1144. package/layouts/lib/widgets/password/password-widget-edit.component.d.ts +0 -6
  1145. package/layouts/lib/widgets/password/password-widget-view.component.d.ts +0 -18
  1146. package/layouts/lib/widgets/phone/phone-widget-column.component.d.ts +0 -15
  1147. package/layouts/lib/widgets/phone/phone-widget-edit.component.d.ts +0 -29
  1148. package/layouts/lib/widgets/phone/phone-widget-view.component.d.ts +0 -18
  1149. package/layouts/lib/widgets/rich-text/rich-text-widget-column.component.d.ts +0 -11
  1150. package/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.d.ts +0 -33
  1151. package/layouts/lib/widgets/rich-text/rich-text-widget-view.component.d.ts +0 -10
  1152. package/layouts/lib/widgets/selection-list/selection-list-widget-column.component.d.ts +0 -16
  1153. package/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.d.ts +0 -12
  1154. package/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.d.ts +0 -9
  1155. package/layouts/lib/widgets/selection-list/selection-list-widget-view.component.d.ts +0 -15
  1156. package/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +0 -19
  1157. package/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.d.ts +0 -8
  1158. package/layouts/lib/widgets/text/largetext-widget-edit.component.d.ts +0 -6
  1159. package/layouts/lib/widgets/text/text-widget-column.component.d.ts +0 -12
  1160. package/layouts/lib/widgets/text/text-widget-edit.component.d.ts +0 -23
  1161. package/layouts/lib/widgets/text/text-widget-view.component.d.ts +0 -11
  1162. package/layouts/lib/widgets/toggle/toggle-widget-column.component.d.ts +0 -11
  1163. package/layouts/lib/widgets/toggle/toggle-widget-edit.component.d.ts +0 -6
  1164. package/layouts/lib/widgets/toggle/toggle-widget-view.component.d.ts +0 -11
  1165. package/schema/README.md +0 -3
  1166. package/schema/index.d.ts +0 -11
  1167. package/schema/lib/operators.d.ts +0 -22
  1168. package/schema/lib/schema.types.d.ts +0 -16
  1169. package/schema/lib/widget/widget-base.d.ts +0 -45
  1170. package/schema/lib/widget/widget-token.d.ts +0 -16
  1171. /package/{core → common}/lib/app/operators.d.ts +0 -0
  1172. /package/{core → common}/lib/configs/config.types.d.ts +0 -0
  1173. /package/{layout/lib → common/lib/layout}/component-slot/component-slot-loader.service.d.ts +0 -0
  1174. /package/{layout/lib → common/lib/layout}/component-slot/component-slot-registery.service.d.ts +0 -0
  1175. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.directive.d.ts +0 -0
  1176. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.module.d.ts +0 -0
  1177. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.types.d.ts +0 -0
  1178. /package/{layout/lib → common/lib/layout}/component-slot/index.d.ts +0 -0
  1179. /package/{layouts/lib/shared/services → common/lib/layout}/layout.service.d.ts +0 -0
  1180. /package/{layouts/lib/shared/components → common/lib/layout}/logo/logo.component.d.ts +0 -0
  1181. /package/common/lib/{shared → layout/logo}/logo.types.d.ts +0 -0
  1182. /package/common/lib/{menu → layout/menu}/index.d.ts +0 -0
  1183. /package/common/lib/{menu → layout/menu}/menu.loader.d.ts +0 -0
  1184. /package/common/lib/{menu → layout/menu}/menu.types.d.ts +0 -0
  1185. /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/footer-text-slot.component.d.ts +0 -0
  1186. /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/theme-slot.component.d.ts +0 -0
  1187. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.actions.d.ts +0 -0
  1188. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.effects.d.ts +0 -0
  1189. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.reducers.d.ts +0 -0
  1190. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.state.d.ts +0 -0
  1191. /package/{layouts/lib/admin → common/lib/layout/theme}/store/index.d.ts +0 -0
  1192. /package/{schema/lib → common/lib/schema}/component-loader.d.ts +0 -0
  1193. /package/{layouts/lib/shared → common/lib/schema}/entity/entity-registery.service.d.ts +0 -0
  1194. /package/{layouts/lib/shared → common/lib/schema}/entity/entity.loader.d.ts +0 -0
  1195. /package/{layouts/lib/shared → common/lib/schema}/entity/index.d.ts +0 -0
  1196. /package/{schema/lib → common/lib/schema}/formats.d.ts +0 -0
  1197. /package/{schema/lib → common/lib/schema}/schema-registery.service.d.ts +0 -0
  1198. /package/{schema/lib → common/lib/schema}/schema.module.d.ts +0 -0
  1199. /package/{schema/lib → common/lib/schema}/widget/widget-column-renderer.d.ts +0 -0
  1200. /package/{schema/lib → common/lib/schema}/widget/widget-filter-renderer.d.ts +0 -0
  1201. /package/{schema/lib → common/lib/schema}/widget/widget-renderer.d.ts +0 -0
  1202. /package/{layouts/lib → common/lib/schema}/widgets/gallery/gallery-widget-types.d.ts +0 -0
  1203. /package/{layouts/lib → common/lib/schema}/widgets/index.d.ts +0 -0
  1204. /package/{layouts/lib → common/lib/schema}/widgets/password/change-password.component.d.ts +0 -0
  1205. /package/{layouts/lib/shared → common/lib}/workflows/index.d.ts +0 -0
  1206. /package/layout/{lib → builder/lib}/builder/widget-registery.service.d.ts +0 -0
  1207. /package/{layouts → themes/default}/lib/layout.routes.d.ts +0 -0
  1208. /package/{layouts/lib/shared/components → themes/default/lib/pages/errors}/error-401/error-401.component.d.ts +0 -0
  1209. /package/{layouts/lib/shared/components → themes/default/lib/pages/errors}/error-404/error-404.component.d.ts +0 -0
  1210. /package/{layouts/lib/shared/components → themes/default/lib/pages/errors}/error-offline/error-offline.component.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-workflow.mjs","sources":["../../../../libs/platform/workflow/src/lib/errors.types.ts","../../../../libs/platform/workflow/src/lib/workflow-event-dispatcher.service.ts","../../../../libs/platform/workflow/src/lib/workflow-registery.service.ts","../../../../libs/platform/workflow/src/lib/workflow.module.ts","../../../../libs/platform/workflow/src/lib/workflow.types.ts","../../../../libs/platform/workflow/src/lib/workflow.service.ts","../../../../libs/platform/workflow/src/acorex-platform-workflow.ts"],"sourcesContent":["export class AXPWorkflowError extends Error {\n constructor(message: string, public inner: Error | null = null) {\n super(message);\n this.name = 'AXPWorkflowError';\n }\n}","import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { AXPWorkflowEvent } from './workflow.types';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXPWorkflowEventService {\n private eventSubject = new Subject<AXPWorkflowEvent>();\n\n dispatch(event: AXPWorkflowEvent): void {\n this.eventSubject.next(event);\n }\n\n get events$(): Observable<AXPWorkflowEvent> {\n return this.eventSubject.asObservable();\n }\n}\n","import { Injectable, Type } from '@angular/core';\nimport { AXPWorkflow, AXPWorkflowAction, AXPWorkflowFunction } from './workflow.types';\n\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AXPWorkflowRegistryService {\n private functionsMap = new Map<string, Type<AXPWorkflowFunction>>();\n private actionsMap = new Map<string, Type<AXPWorkflowAction>>();\n private workflowsMap = new Map<string, AXPWorkflow>();\n\n registerWorkflow(name: string, workflow: AXPWorkflow): void {\n this.workflowsMap.set(name, workflow);\n }\n\n getWorkflow(name: string): AXPWorkflow | undefined {\n return this.workflowsMap.get(name);\n }\n\n registerAction(name: string, action: Type<AXPWorkflowAction>): void {\n this.actionsMap.set(name, action);\n }\n\n getAction(name: string): Type<AXPWorkflowAction> | undefined {\n return this.actionsMap.get(name);\n }\n\n registerFunction(name: string, func: Type<AXPWorkflowFunction>): void {\n this.functionsMap.set(name, func);\n }\n\n getFunction(name: string): Type<AXPWorkflowFunction> | undefined {\n return this.functionsMap.get(name);\n }\n\n getFunctionNames(): string[] {\n return Array.from(this.functionsMap.keys());\n }\n}","import { Inject, ModuleWithProviders, NgModule, Optional, Type } from \"@angular/core\";\nimport { AXPWorkflowRegistryService } from \"./workflow-registery.service\";\nimport { AXPWorkflow, AXPWorkflowAction, AXPWorkflowFunction } from \"./workflow.types\";\n\n\nexport interface AXPWorkflowModuleConfigs {\n functions?: {\n [name: string]: Type<AXPWorkflowFunction>\n },\n actions?: {\n [name: string]: Type<AXPWorkflowAction>\n },\n workflows?: {\n [name: string]: AXPWorkflow\n }\n}\n\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class AXPWorkflowModule {\n\n static forRoot(config?: AXPWorkflowModuleConfigs): ModuleWithProviders<AXPWorkflowModule> {\n return {\n ngModule: AXPWorkflowModule,\n providers: [\n {\n provide: 'AXPWorkflowModuleFactory',\n useFactory: (registry: AXPWorkflowRegistryService) => () => {\n if (config?.functions) {\n for (const [key, type] of Object.entries(config.functions)) {\n registry.registerFunction(key, type);\n }\n }\n //\n if (config?.actions) {\n for (const [key, type] of Object.entries(config.actions)) {\n registry.registerAction(key, type);\n }\n }\n //\n if (config?.workflows) {\n for (const [key, type] of Object.entries(config.workflows)) {\n registry.registerWorkflow(key, type);\n }\n }\n },\n deps: [AXPWorkflowRegistryService],\n multi: true\n },\n ...Object.values(config?.actions ?? {}),\n ...Object.values(config?.functions ?? {}),\n ]\n };\n }\n\n static forChild(config?: AXPWorkflowModuleConfigs): ModuleWithProviders<AXPWorkflowModule> {\n return {\n ngModule: AXPWorkflowModule,\n providers: [\n {\n provide: 'AXPWorkflowModuleFactory',\n useFactory: (registry: AXPWorkflowRegistryService) => () => {\n if (config?.functions) {\n for (const [key, type] of Object.entries(config.functions)) {\n registry.registerFunction(key, type);\n }\n }\n //\n if (config?.actions) {\n for (const [key, type] of Object.entries(config.actions)) {\n registry.registerAction(key, type);\n }\n }\n //\n if (config?.workflows) {\n for (const [key, type] of Object.entries(config.workflows)) {\n registry.registerWorkflow(key, type);\n }\n }\n },\n deps: [AXPWorkflowRegistryService],\n multi: true\n },\n ...Object.values(config?.actions ?? {}),\n ...Object.values(config?.functions ?? {})\n ]\n };\n }\n\n /**\n * @ignore\n */\n constructor(@Optional() @Inject('AXPWorkflowModuleFactory') instances: any[]) {\n instances?.forEach(f => {\n f();\n });\n }\n}\n","import { Injectable, inject } from '@angular/core';\nimport { filter } from 'rxjs';\nimport { AXPWorkflowEventService } from './workflow-event-dispatcher.service';\n\nexport interface AXPWorkflow {\n steps: { [stepName: string]: AXPWorkflowStep };\n startStepId: string;\n}\n\n\nexport class AXPWorkflowContext {\n private variables: Map<string, any> = new Map();\n private stepOutputs: Map<string, any> = new Map();\n\n setVariable(key: string, value: any): void {\n this.variables.set(key, value);\n }\n\n getVariable(key: string): any {\n return this.variables.get(key);\n }\n\n setOutput(stepId: string, output: any): void {\n this.stepOutputs.set(stepId, output);\n }\n\n getOutput(stepId: string): any {\n return this.stepOutputs.get(stepId);\n }\n\n // You can add more helper methods as needed\n}\n\nexport type AXPWorkflowActionInput = any;\n\nexport type AXPWorkflowConditionType = 'AND' | 'OR' | 'SINGLE';\n\nexport interface AXPWorkflowCondition {\n type: AXPWorkflowConditionType;\n conditions?: AXPWorkflowCondition[]; // Nested conditions\n expression?: string; // Used if type is 'SINGLE'\n}\n\nexport interface AXPWorkflowNextStep {\n conditions: AXPWorkflowCondition[];\n nextStepId: string;\n}\n\nexport interface AXPWorkflowStep {\n id: string;\n action: AXPWorkflowAction | string;\n input?: AXPWorkflowActionInput;\n nextSteps?: AXPWorkflowNextStep[];\n conditions?: AXPWorkflowCondition[];\n}\n@Injectable()\nexport abstract class AXPWorkflowAction {\n private eventService = inject(AXPWorkflowEventService);\n\n protected dispatch(event: AXPWorkflowEvent): void {\n this.eventService.dispatch(event);\n }\n\n abstract execute(context: AXPWorkflowContext): Promise<void>;\n}\n\n@Injectable()\nexport abstract class AXPWorkflowFunction {\n abstract execute(...args: any[]): Promise<any> | any;\n}\n\nexport interface AXPWorkflowEvent<T = any> {\n type: string;\n payload?: T;\n}\n\n\n\nexport function createWorkFlowEvent<T>(type: string) {\n const eventCreator = (payload: T) => ({ type, payload });\n eventCreator.type = type;\n return eventCreator;\n}\n\nexport function ofType<T extends { type: string }>(...allowedTypes: Array<{ type: string }>) {\n return filter((event: T) => allowedTypes.some((type) => event.type === type.type));\n}\n","import { Injectable, Injector, inject } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { AXPWorkflowError } from './errors.types';\nimport { AXPWorkflowEventService } from './workflow-event-dispatcher.service';\nimport { AXPWorkflowRegistryService } from './workflow-registery.service';\nimport {\n AXPWorkflow,\n AXPWorkflowAction,\n AXPWorkflowCondition,\n AXPWorkflowContext,\n AXPWorkflowEvent,\n AXPWorkflowFunction,\n AXPWorkflowNextStep,\n AXPWorkflowStep,\n} from './workflow.types';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXPWorkflowService {\n private eventService = inject(AXPWorkflowEventService);\n\n get events$(): Observable<AXPWorkflowEvent> {\n return this.eventService.events$;\n }\n\n constructor(private registryService: AXPWorkflowRegistryService, private injector: Injector) { }\n\n async execute(workflow: AXPWorkflow | string, initialContext: any = {}): Promise<void> {\n // Instantiate or retrieve the workflow\n const wk = typeof workflow === 'string' ? this.getWorkflowInstance(workflow) : workflow;\n\n let currentStepId = wk.startStepId;\n const context = new AXPWorkflowContext();\n // Initialize context with initial variables\n Object.entries(initialContext).forEach(e => context.setVariable(e[0], e[1]));\n\n while (currentStepId) {\n const currentStep = wk.steps[currentStepId];\n if (!currentStep) {\n throw new AXPWorkflowError(`Step '${currentStepId}' not found in the workflow steps.`);\n }\n\n // Instantiate or retrieve the action\n const action =\n typeof currentStep.action === 'string' ? this.getActionInstance(currentStep.action) : currentStep.action;\n if (currentStep.input) {\n Object.assign(action, currentStep.input);\n }\n\n try {\n await action.execute(context);\n } catch (error) {\n throw new AXPWorkflowError('Workflow Error', error as Error);\n }\n // Determine the next step based on the conditions\n const nextStepInfo = await this.determineNextStep(currentStep, context);\n if (nextStepInfo) {\n currentStepId = nextStepInfo.nextStepId;\n } else {\n break; // Exit the loop if no next step is determined\n }\n }\n }\n\n private getActionInstance(actionName: string): AXPWorkflowAction {\n const actionType = this.registryService.getAction(actionName);\n if (!actionType) {\n throw new AXPWorkflowError(`Action type '${actionName}' not found in the registry.`);\n }\n return this.injector.get(actionType);\n }\n\n private getWorkflowInstance(workflowName: string): AXPWorkflow {\n const workflowType = this.registryService.getWorkflow(workflowName);\n if (!workflowType) {\n throw new AXPWorkflowError(`Workflow type '${workflowName}' not found in the registry.`);\n }\n return workflowType;\n }\n\n private async determineNextStep(\n currentStep: AXPWorkflowStep,\n context: AXPWorkflowContext\n ): Promise<AXPWorkflowNextStep | null> {\n if (!currentStep.nextSteps) {\n return null;\n }\n for (const nextStep of currentStep.nextSteps) {\n if (await this.evaluateCondition(nextStep.conditions, context)) {\n return nextStep;\n }\n }\n return null;\n }\n\n private async evaluateCondition(conditions: AXPWorkflowCondition[], context: AXPWorkflowContext): Promise<boolean> {\n if (!conditions || conditions.length === 0) {\n return true; // If no conditions, the step proceeds\n }\n\n // Map each condition to a promise using evaluateSingleCondition\n const conditionPromises = conditions.map((condition) => this.evaluateSingleCondition(condition, context));\n\n // Wait for all promises to resolve\n const results = await Promise.all(conditionPromises);\n\n // Check if every condition is true\n return results.every((result) => result);\n }\n\n private async evaluateSingleCondition(\n condition: AXPWorkflowCondition,\n context: AXPWorkflowContext\n ): Promise<boolean> {\n switch (condition.type) {\n case 'SINGLE':\n return (!condition.expression ? true : await this.evaluateExpression(condition.expression, context)) as boolean;\n case 'AND':\n // Evaluate all conditions with 'AND' logic\n const andConditions = condition.conditions ?? [];\n const andResults = await Promise.all(andConditions.map((cond) => this.evaluateSingleCondition(cond, context)));\n return andResults.every((result) => result);\n\n case 'OR':\n // Evaluate all conditions with 'OR' logic\n const orConditions = condition.conditions ?? [];\n const orResults = await Promise.all(orConditions.map((cond) => this.evaluateSingleCondition(cond, context)));\n return orResults.some((result) => result);\n\n default:\n throw new AXPWorkflowError(`Unsupported condition type: ${condition.type}`);\n }\n }\n\n private async evaluateExpression(expression: string, context: AXPWorkflowContext): Promise<Boolean> {\n try {\n // Create a scope that includes context and registered functions\n const scope = { context, ...this.createFunctionScope() };\n\n // Evaluating the expression within the created scope\n const sandbox = new Function('scope', `return (async function() { with (scope) { return ${expression}; } })();`);\n const result = await sandbox(scope);\n return result;\n } catch (error) {\n console.error('Error evaluating expression:', error);\n return false;\n }\n }\n\n private createFunctionScope(): any {\n const scope: any = {};\n this.registryService.getFunctionNames().forEach((name) => {\n scope[name] = this.getFunctionInstance(name).execute;\n });\n return scope;\n }\n\n private getFunctionInstance(functionName: string): AXPWorkflowFunction {\n const functionType = this.registryService.getFunction(functionName);\n if (!functionType) {\n throw new AXPWorkflowError(`Function type '${functionName}' not found in the registry.`);\n }\n return this.injector.get(functionType);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.AXPWorkflowRegistryService"],"mappings":";;;;AAAM,MAAO,gBAAiB,SAAQ,KAAK,CAAA;IACvC,WAAY,CAAA,OAAe,EAAS,KAAA,GAAsB,IAAI,EAAA;QAC1D,KAAK,CAAC,OAAO,CAAC,CAAC;QADiB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAqB;AAE1D,QAAA,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;KAClC;AACJ;;MCEY,uBAAuB,CAAA;AAHpC,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAAoB,CAAC;AASxD,KAAA;AAPC,IAAA,QAAQ,CAAC,KAAuB,EAAA;AAC9B,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC/B;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;KACzC;8GATU,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cAFtB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCGY,0BAA0B,CAAA;AAHvC,IAA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ib/workflow-event-dispatcher.service.ts","../../../../libs/platform/workflow/src/lib/workflow-registery.service.ts","../../../../libs/platform/workflow/src/lib/workflow.module.ts","../../../../libs/platform/workflow/src/lib/workflow.types.ts","../../../../libs/platform/workflow/src/lib/workflow.service.ts","../../../../libs/platform/workflow/src/acorex-platform-workflow.ts"],"sourcesContent":["export class AXPWorkflowError extends Error {\r\n constructor(message: string, public inner: Error | null = null) {\r\n super(message);\r\n this.name = 'AXPWorkflowError';\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { AXPWorkflowEvent } from './workflow.types';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AXPWorkflowEventService {\r\n private eventSubject = new Subject<AXPWorkflowEvent>();\r\n\r\n dispatch(event: AXPWorkflowEvent): void {\r\n this.eventSubject.next(event);\r\n }\r\n\r\n get events$(): Observable<AXPWorkflowEvent> {\r\n return this.eventSubject.asObservable();\r\n }\r\n}\r\n","import { Injectable, Type } from '@angular/core';\r\nimport { AXPWorkflow, AXPWorkflowAction, AXPWorkflowFunction } from './workflow.types';\r\n\r\n\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AXPWorkflowRegistryService {\r\n private functionsMap = new Map<string, Type<AXPWorkflowFunction>>();\r\n private actionsMap = new Map<string, Type<AXPWorkflowAction>>();\r\n private workflowsMap = new Map<string, AXPWorkflow>();\r\n\r\n registerWorkflow(name: string, workflow: AXPWorkflow): void {\r\n this.workflowsMap.set(name, workflow);\r\n }\r\n\r\n getWorkflow(name: string): AXPWorkflow | undefined {\r\n return this.workflowsMap.get(name);\r\n }\r\n\r\n registerAction(name: string, action: Type<AXPWorkflowAction>): void {\r\n this.actionsMap.set(name, action);\r\n }\r\n\r\n getAction(name: string): Type<AXPWorkflowAction> | undefined {\r\n return this.actionsMap.get(name);\r\n }\r\n\r\n registerFunction(name: string, func: Type<AXPWorkflowFunction>): void {\r\n this.functionsMap.set(name, func);\r\n }\r\n\r\n getFunction(name: string): Type<AXPWorkflowFunction> | undefined {\r\n return this.functionsMap.get(name);\r\n }\r\n\r\n getFunctionNames(): string[] {\r\n return Array.from(this.functionsMap.keys());\r\n }\r\n}","import { Inject, ModuleWithProviders, NgModule, Optional, Type } from \"@angular/core\";\r\nimport { AXPWorkflowRegistryService } from \"./workflow-registery.service\";\r\nimport { AXPWorkflow, AXPWorkflowAction, AXPWorkflowFunction } from \"./workflow.types\";\r\n\r\n\r\nexport interface AXPWorkflowModuleConfigs {\r\n functions?: {\r\n [name: string]: Type<AXPWorkflowFunction>\r\n },\r\n actions?: {\r\n [name: string]: Type<AXPWorkflowAction>\r\n },\r\n workflows?: {\r\n [name: string]: AXPWorkflow\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [],\r\n exports: [],\r\n declarations: [],\r\n})\r\nexport class AXPWorkflowModule {\r\n\r\n static forRoot(config?: AXPWorkflowModuleConfigs): ModuleWithProviders<AXPWorkflowModule> {\r\n return {\r\n ngModule: AXPWorkflowModule,\r\n providers: [\r\n {\r\n provide: 'AXPWorkflowModuleFactory',\r\n useFactory: (registry: AXPWorkflowRegistryService) => () => {\r\n if (config?.functions) {\r\n for (const [key, type] of Object.entries(config.functions)) {\r\n registry.registerFunction(key, type);\r\n }\r\n }\r\n //\r\n if (config?.actions) {\r\n for (const [key, type] of Object.entries(config.actions)) {\r\n registry.registerAction(key, type);\r\n }\r\n }\r\n //\r\n if (config?.workflows) {\r\n for (const [key, type] of Object.entries(config.workflows)) {\r\n registry.registerWorkflow(key, type);\r\n }\r\n }\r\n },\r\n deps: [AXPWorkflowRegistryService],\r\n multi: true\r\n },\r\n ...Object.values(config?.actions ?? {}),\r\n ...Object.values(config?.functions ?? {}),\r\n ]\r\n };\r\n }\r\n\r\n static forChild(config?: AXPWorkflowModuleConfigs): ModuleWithProviders<AXPWorkflowModule> {\r\n return {\r\n ngModule: AXPWorkflowModule,\r\n providers: [\r\n {\r\n provide: 'AXPWorkflowModuleFactory',\r\n useFactory: (registry: AXPWorkflowRegistryService) => () => {\r\n if (config?.functions) {\r\n for (const [key, type] of Object.entries(config.functions)) {\r\n registry.registerFunction(key, type);\r\n }\r\n }\r\n //\r\n if (config?.actions) {\r\n for (const [key, type] of Object.entries(config.actions)) {\r\n registry.registerAction(key, type);\r\n }\r\n }\r\n //\r\n if (config?.workflows) {\r\n for (const [key, type] of Object.entries(config.workflows)) {\r\n registry.registerWorkflow(key, type);\r\n }\r\n }\r\n },\r\n deps: [AXPWorkflowRegistryService],\r\n multi: true\r\n },\r\n ...Object.values(config?.actions ?? {}),\r\n ...Object.values(config?.functions ?? {})\r\n ]\r\n };\r\n }\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(@Optional() @Inject('AXPWorkflowModuleFactory') instances: any[]) {\r\n instances?.forEach(f => {\r\n f();\r\n });\r\n }\r\n}\r\n","import { Injectable, inject } from '@angular/core';\r\nimport { filter } from 'rxjs';\r\nimport { AXPWorkflowEventService } from './workflow-event-dispatcher.service';\r\n\r\nexport interface AXPWorkflow {\r\n steps: { [stepName: string]: AXPWorkflowStep };\r\n startStepId: string;\r\n}\r\n\r\n\r\nexport class AXPWorkflowContext {\r\n private variables: Map<string, any> = new Map();\r\n private stepOutputs: Map<string, any> = new Map();\r\n\r\n setVariable(key: string, value: any): void {\r\n this.variables.set(key, value);\r\n }\r\n\r\n getVariable<T = any>(key: string): T {\r\n return this.variables.get(key);\r\n }\r\n\r\n setOutput(stepId: string, output: any): void {\r\n this.stepOutputs.set(stepId, output);\r\n }\r\n\r\n getOutput<T = any>(stepId: string): T {\r\n return this.stepOutputs.get(stepId);\r\n }\r\n\r\n // You can add more helper methods as needed\r\n}\r\n\r\nexport type AXPWorkflowActionInput = any;\r\n\r\nexport type AXPWorkflowConditionType = 'AND' | 'OR' | 'SINGLE';\r\n\r\nexport interface AXPWorkflowCondition {\r\n type: AXPWorkflowConditionType;\r\n conditions?: AXPWorkflowCondition[]; // Nested conditions\r\n expression?: string; // Used if type is 'SINGLE'\r\n}\r\n\r\nexport interface AXPWorkflowNextStep {\r\n conditions: AXPWorkflowCondition[];\r\n nextStepId: string;\r\n}\r\n\r\nexport interface AXPWorkflowStep {\r\n id: string;\r\n action: AXPWorkflowAction | string;\r\n input?: AXPWorkflowActionInput;\r\n nextSteps?: AXPWorkflowNextStep[];\r\n conditions?: AXPWorkflowCondition[];\r\n}\r\n@Injectable()\r\nexport abstract class AXPWorkflowAction {\r\n private eventService = inject(AXPWorkflowEventService);\r\n\r\n protected dispatch(event: AXPWorkflowEvent): void {\r\n this.eventService.dispatch(event);\r\n }\r\n\r\n abstract execute(context: AXPWorkflowContext): Promise<void>;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXPWorkflowFunction {\r\n abstract execute(...args: any[]): Promise<any> | any;\r\n}\r\n\r\nexport interface AXPWorkflowEvent<T = any> {\r\n type: string;\r\n payload?: T;\r\n}\r\n\r\n\r\n\r\nexport function createWorkFlowEvent<T>(type: string) {\r\n const eventCreator = (payload: T) => ({ type, payload });\r\n eventCreator.type = type;\r\n return eventCreator;\r\n}\r\n\r\nexport function ofType<T extends { type: string }>(...allowedTypes: Array<{ type: string }>) {\r\n return filter((event: T) => allowedTypes.some((type) => event.type === type.type));\r\n}\r\n","import { Injectable, Injector, inject } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AXPWorkflowError } from './errors.types';\r\nimport { AXPWorkflowEventService } from './workflow-event-dispatcher.service';\r\nimport { AXPWorkflowRegistryService } from './workflow-registery.service';\r\nimport {\r\n AXPWorkflow,\r\n AXPWorkflowAction,\r\n AXPWorkflowCondition,\r\n AXPWorkflowContext,\r\n AXPWorkflowEvent,\r\n AXPWorkflowFunction,\r\n AXPWorkflowNextStep,\r\n AXPWorkflowStep,\r\n} from './workflow.types';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AXPWorkflowService {\r\n private eventService = inject(AXPWorkflowEventService);\r\n\r\n get events$(): Observable<AXPWorkflowEvent> {\r\n return this.eventService.events$;\r\n }\r\n\r\n constructor(private registryService: AXPWorkflowRegistryService, private injector: Injector) { }\r\n\r\n async execute(workflow: AXPWorkflow | string, initialContext: any = {}): Promise<void> {\r\n // Instantiate or retrieve the workflow\r\n const wk = typeof workflow === 'string' ? this.getWorkflowInstance(workflow) : workflow;\r\n\r\n let currentStepId = wk.startStepId;\r\n const context = new AXPWorkflowContext();\r\n // Initialize context with initial variables\r\n Object.entries(initialContext).forEach(e => context.setVariable(e[0], e[1]));\r\n\r\n while (currentStepId) {\r\n const currentStep = wk.steps[currentStepId];\r\n if (!currentStep) {\r\n throw new AXPWorkflowError(`Step '${currentStepId}' not found in the workflow steps.`);\r\n }\r\n\r\n // Instantiate or retrieve the action\r\n const action =\r\n typeof currentStep.action === 'string' ? this.getActionInstance(currentStep.action) : currentStep.action;\r\n if (currentStep.input) {\r\n Object.assign(action, currentStep.input);\r\n }\r\n\r\n try {\r\n await action.execute(context);\r\n } catch (error) {\r\n throw new AXPWorkflowError('Workflow Error', error as Error);\r\n }\r\n // Determine the next step based on the conditions\r\n const nextStepInfo = await this.determineNextStep(currentStep, context);\r\n if (nextStepInfo) {\r\n currentStepId = nextStepInfo.nextStepId;\r\n } else {\r\n break; // Exit the loop if no next step is determined\r\n }\r\n }\r\n }\r\n\r\n private getActionInstance(actionName: string): AXPWorkflowAction {\r\n const actionType = this.registryService.getAction(actionName);\r\n if (!actionType) {\r\n throw new AXPWorkflowError(`Action type '${actionName}' not found in the registry.`);\r\n }\r\n return this.injector.get(actionType);\r\n }\r\n\r\n private getWorkflowInstance(workflowName: string): AXPWorkflow {\r\n const workflowType = this.registryService.getWorkflow(workflowName);\r\n if (!workflowType) {\r\n throw new AXPWorkflowError(`Workflow type '${workflowName}' not found in the registry.`);\r\n }\r\n return workflowType;\r\n }\r\n\r\n private async determineNextStep(\r\n currentStep: AXPWorkflowStep,\r\n context: AXPWorkflowContext\r\n ): Promise<AXPWorkflowNextStep | null> {\r\n if (!currentStep.nextSteps) {\r\n return null;\r\n }\r\n for (const nextStep of currentStep.nextSteps) {\r\n if (await this.evaluateCondition(nextStep.conditions, context)) {\r\n return nextStep;\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n private async evaluateCondition(conditions: AXPWorkflowCondition[], context: AXPWorkflowContext): Promise<boolean> {\r\n if (!conditions || conditions.length === 0) {\r\n return true; // If no conditions, the step proceeds\r\n }\r\n\r\n // Map each condition to a promise using evaluateSingleCondition\r\n const conditionPromises = conditions.map((condition) => this.evaluateSingleCondition(condition, context));\r\n\r\n // Wait for all promises to resolve\r\n const results = await Promise.all(conditionPromises);\r\n\r\n // Check if every condition is true\r\n return results.every((result) => result);\r\n }\r\n\r\n private async evaluateSingleCondition(\r\n condition: AXPWorkflowCondition,\r\n context: AXPWorkflowContext\r\n ): Promise<boolean> {\r\n switch (condition.type) {\r\n case 'SINGLE':\r\n return (!condition.expression ? true : await this.evaluateExpression(condition.expression, context)) as boolean;\r\n case 'AND':\r\n // Evaluate all conditions with 'AND' logic\r\n const andConditions = condition.conditions ?? [];\r\n const andResults = await Promise.all(andConditions.map((cond) => this.evaluateSingleCondition(cond, context)));\r\n return andResults.every((result) => result);\r\n\r\n case 'OR':\r\n // Evaluate all conditions with 'OR' logic\r\n const orConditions = condition.conditions ?? [];\r\n const orResults = await Promise.all(orConditions.map((cond) => this.evaluateSingleCondition(cond, context)));\r\n return orResults.some((result) => result);\r\n\r\n default:\r\n throw new AXPWorkflowError(`Unsupported condition type: ${condition.type}`);\r\n }\r\n }\r\n\r\n private async evaluateExpression(expression: string, context: AXPWorkflowContext): Promise<Boolean> {\r\n try {\r\n // Create a scope that includes context and registered functions\r\n const scope = { context, ...this.createFunctionScope() };\r\n\r\n // Evaluating the expression within the created scope\r\n const sandbox = new Function('scope', `return (async function() { with (scope) { return ${expression}; } })();`);\r\n const result = await sandbox(scope);\r\n return result;\r\n } catch (error) {\r\n console.error('Error evaluating expression:', error);\r\n return false;\r\n }\r\n }\r\n\r\n private createFunctionScope(): any {\r\n const scope: any = {};\r\n this.registryService.getFunctionNames().forEach((name) => {\r\n scope[name] = this.getFunctionInstance(name).execute;\r\n });\r\n return scope;\r\n }\r\n\r\n private getFunctionInstance(functionName: string): AXPWorkflowFunction {\r\n const functionType = this.registryService.getFunction(functionName);\r\n if (!functionType) {\r\n throw new AXPWorkflowError(`Function type '${functionName}' not found in the registry.`);\r\n }\r\n return this.injector.get(functionType);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.AXPWorkflowRegistryService"],"mappings":";;;;AAAM,MAAO,gBAAiB,SAAQ,KAAK,CAAA;IACvC,WAAY,CAAA,OAAe,EAAS,KAAA,GAAsB,IAAI,EAAA;QAC1D,KAAK,CAAC,OAAO,CAAC,CAAC;QADiB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAqB;AAE1D,QAAA,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;KAClC;AACJ;;MCEY,uBAAuB,CAAA;AAHpC,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAAoB,CAAC;AASxD,KAAA;AAPC,IAAA,QAAQ,CAAC,KAAuB,EAAA;AAC9B,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC/B;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;KACzC;8GATU,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cAFtB,MAAM,EAAA,CA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AA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform.mjs","sources":["../../../../libs/platform/index.ts","../../../../libs/platform/acorex-platform.ts"],"sourcesContent":["export default {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA,YAAe,EAAE;;ACAjB;;AAEG"}
1
+ {"version":3,"file":"acorex-platform.mjs","sources":["../../../../libs/platform/index.ts","../../../../libs/platform/acorex-platform.ts"],"sourcesContent":["export default {};\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA,YAAe,EAAE;;ACAjB;;AAEG"}
@@ -0,0 +1,4 @@
1
+ # @acorex/platform/layout
2
+
3
+ Secondary entry point of `@acorex/platform`. It can be used by importing from `@acorex/platform/layout`.
4
+
@@ -0,0 +1 @@
1
+ export * from './lib/builder';
@@ -0,0 +1,23 @@
1
+ import { ModuleWithProviders } from "@angular/core";
2
+ import { AXPWidgetConfig } from "./widget.types";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./widget-container.component";
5
+ import * as i2 from "./widget-renderer.component";
6
+ import * as i3 from "./widget-column-renderer";
7
+ import * as i4 from "@angular/common";
8
+ import * as i5 from "@angular/cdk/portal";
9
+ import * as i6 from "@acorex/components/skeleton";
10
+ export interface AXPLayoutBuilderModuleConfigs {
11
+ widgets: AXPWidgetConfig[];
12
+ }
13
+ export declare class AXPLayoutBuilderModule {
14
+ static forRoot(config?: AXPLayoutBuilderModuleConfigs): ModuleWithProviders<AXPLayoutBuilderModule>;
15
+ static forChild(config?: AXPLayoutBuilderModuleConfigs): ModuleWithProviders<AXPLayoutBuilderModule>;
16
+ /**
17
+ * @ignore
18
+ */
19
+ constructor(instances: any[]);
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPLayoutBuilderModule, [{ optional: true; }]>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPLayoutBuilderModule, [typeof i1.AXPWidgetContainerComponent, typeof i2.AXPWidgetRendererComponent, typeof i3.AXPWidgetColumnRendererComponent], [typeof i4.CommonModule, typeof i5.PortalModule, typeof i6.AXSkeletonModule, typeof i4.CommonModule], [typeof i1.AXPWidgetContainerComponent, typeof i2.AXPWidgetRendererComponent, typeof i3.AXPWidgetColumnRendererComponent]>;
22
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXPLayoutBuilderModule>;
23
+ }
@@ -0,0 +1,27 @@
1
+ import { Subject } from 'rxjs';
2
+ import { AXPLayoutContextEvent } from './widget.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXPLayoutBuilderService {
5
+ private readonly context$;
6
+ private readonly variables$;
7
+ private readonly functions$;
8
+ readonly onChanged: Subject<AXPLayoutContextEvent>;
9
+ private debouncers;
10
+ private debouncerSubscriptions;
11
+ get context(): any;
12
+ get variables(): any;
13
+ get functions(): {
14
+ [key: string]: Function;
15
+ };
16
+ initial(value: any): void;
17
+ setVariables(keysValues: any): void;
18
+ setVariables(key: string, value: any): void;
19
+ setFunctions(keysValues: any): void;
20
+ setFunctions(key: string, value: any): void;
21
+ setValue(path: string, value: any, debounceMs?: number): void;
22
+ getValue(path: string): any;
23
+ private unsubscribeDebouncers;
24
+ ngOnDestroy(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPLayoutBuilderService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPLayoutBuilderService>;
27
+ }
@@ -0,0 +1,8 @@
1
+ export * from './widget.types';
2
+ export * from './builder.service';
3
+ export * from './widget-container.component';
4
+ export * from './widget-renderer.component';
5
+ export * from './widget-column-renderer';
6
+ export * from './widget-registery.service';
7
+ export * from './builder.module';
8
+ export * from './layout.types';
@@ -0,0 +1,30 @@
1
+ import { AXPWidgetNode } from "./widget.types";
2
+ import { AXPGridLayoutOptions } from "@acorex/platform/common";
3
+ export interface AXPLayoutPage {
4
+ id: string;
5
+ title: string;
6
+ forms: AXPLayoutForm[];
7
+ }
8
+ export interface AXPLayoutForm {
9
+ id: string;
10
+ title: string;
11
+ }
12
+ export interface AXPLayoutFormRootGroup {
13
+ id: string;
14
+ title: string;
15
+ layout?: AXPGridLayoutOptions;
16
+ }
17
+ export interface AXPLayoutFormGroup {
18
+ id: string;
19
+ title: string;
20
+ groups: AXPLayoutFormGroup;
21
+ fields: AXPLayoutFormField[];
22
+ }
23
+ export interface AXPLayoutFormField {
24
+ name: string;
25
+ title: string;
26
+ description?: string;
27
+ order?: number;
28
+ editable: boolean;
29
+ widget: AXPWidgetNode;
30
+ }
@@ -0,0 +1,31 @@
1
+ import { AXDataTableColumnComponent } from '@acorex/components/data-table';
2
+ import { Injector, TemplateRef } from '@angular/core';
3
+ import { AXPWidgetColumnNode } from './widget.types';
4
+ import { AXPWidgetRegistryService } from './widget-registery.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponent {
7
+ protected widgetRegistery: AXPWidgetRegistryService;
8
+ private _node;
9
+ get node(): AXPWidgetColumnNode;
10
+ set node(v: AXPWidgetColumnNode);
11
+ private mergedOptions;
12
+ footerTemplate: TemplateRef<unknown>;
13
+ private _contentFooterTemplate;
14
+ get renderFooterTemplate(): TemplateRef<unknown>;
15
+ cellTemplate: TemplateRef<unknown>;
16
+ private _contentCellTemplate;
17
+ get renderCellTemplate(): TemplateRef<unknown>;
18
+ headerTemplate: TemplateRef<unknown>;
19
+ private _contentHeaderTemplate;
20
+ get renderHeaderTemplate(): TemplateRef<unknown>;
21
+ get loadingEnabled(): boolean;
22
+ get name(): string;
23
+ private injector;
24
+ private cdr;
25
+ protected widgetInjector: Injector;
26
+ protected component: any;
27
+ ngOnInit(): Promise<void>;
28
+ getInputs(data: any): any;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetColumnRendererComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetColumnRendererComponent, "axp-widget-column-renderer", never, { "caption": { "alias": "caption"; "required": false; }; "node": { "alias": "node"; "required": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; }, {}, never, never, false, never>;
31
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPWidgetContainerComponent {
4
+ contextChange: EventEmitter<any>;
5
+ private _context;
6
+ get context(): any;
7
+ set context(v: any);
8
+ set variables(v: any);
9
+ set functions(v: any);
10
+ private unsubscriber;
11
+ private builderService;
12
+ ngOnInit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetContainerComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetContainerComponent, "axp-widgets-container", never, { "context": { "alias": "context"; "required": false; }; "variables": { "alias": "variables"; "required": false; }; "functions": { "alias": "functions"; "required": false; }; }, { "contextChange": "contextChange"; }, never, ["*"], false, never>;
15
+ }
@@ -0,0 +1,43 @@
1
+ import { AXUnsubscriber } from '@acorex/core/utils';
2
+ import { CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal';
3
+ import { WritableSignal } from '@angular/core';
4
+ import { AXPLayoutBuilderService } from './builder.service';
5
+ import { AXPWidgetRegistryService } from './widget-registery.service';
6
+ import { AXPWidgetNode } from './widget.types';
7
+ import * as i0 from "@angular/core";
8
+ export declare class AXPWidgetRendererComponent {
9
+ private _node;
10
+ get node(): AXPWidgetNode;
11
+ set node(v: AXPWidgetNode);
12
+ protected mergedOptions: WritableSignal<any>;
13
+ private injector;
14
+ protected builderService: AXPLayoutBuilderService;
15
+ protected widgetRegistery: AXPWidgetRegistryService;
16
+ protected unsubscriber: AXUnsubscriber;
17
+ protected isLoading: WritableSignal<boolean>;
18
+ private instance;
19
+ protected portal: ComponentPortal<any>;
20
+ private expressionCache;
21
+ private expressionEvaluators;
22
+ private scope;
23
+ constructor();
24
+ private loadComponent;
25
+ protected handleAttached(portalOutletRef: CdkPortalOutletAttachedRef): Promise<void>;
26
+ private applyOptions;
27
+ private checkFormulaForUpdate;
28
+ preprocessAndInitialOptions(obj: any, pathPrefix?: string): void;
29
+ updateOptionsBasedOnContext(): Promise<number>;
30
+ updateValueBasedOnFormula(): Promise<void>;
31
+ private evaluateExpression;
32
+ private getGlobalScope;
33
+ private getContextScope;
34
+ private getEventScope;
35
+ private getWidgetScope;
36
+ private getFunctionScope;
37
+ private getVariablesScope;
38
+ private assignTriggers;
39
+ private evaluateTrigger;
40
+ private evaluateAction;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetRendererComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetRendererComponent, "axp-widget-renderer", never, { "node": { "alias": "node"; "required": true; }; }, {}, never, never, false, never>;
43
+ }
@@ -0,0 +1,74 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export type AXPWidgetNodeOptions = Record<string, any>;
4
+ export interface AXPWidgetNode {
5
+ type: string;
6
+ path: string;
7
+ id?: string;
8
+ formula?: string;
9
+ children?: AXPWidgetNode[];
10
+ mode: 'view' | 'edit' | 'designer';
11
+ options?: AXPWidgetNodeOptions;
12
+ triggers?: {
13
+ event: string;
14
+ action: string;
15
+ disabled?: boolean;
16
+ }[];
17
+ }
18
+ export interface AXPWidgetColumnNode {
19
+ type: string;
20
+ path: string;
21
+ options?: AXPWidgetNodeOptions;
22
+ }
23
+ export declare const AXP_WIDGET_TOKEN: InjectionToken<AXPWidgetNode>;
24
+ export declare const AXP_WIDGET_COLUMN_TOKEN: InjectionToken<AXPWidgetColumnNode>;
25
+ export interface AXPWidgetComponentConfig {
26
+ component: () => Promise<any>;
27
+ defaultOptions?: any;
28
+ }
29
+ export interface AXPWidgetConfig {
30
+ name: string;
31
+ defaultOptions?: any;
32
+ components: {
33
+ view: AXPWidgetComponentConfig;
34
+ [name: string]: AXPWidgetComponentConfig;
35
+ };
36
+ meta?: {
37
+ [key: string]: any;
38
+ };
39
+ }
40
+ export interface AXPLayoutContextEvent {
41
+ path?: string | null;
42
+ data: any;
43
+ }
44
+ export declare abstract class AXPWidgetBase<T = any | null | void> {
45
+ private readonly token;
46
+ private readonly cdr;
47
+ protected readonly id: string | undefined;
48
+ protected readonly path: string;
49
+ protected readonly mode: "view" | "edit" | "designer";
50
+ protected readonly type: string;
51
+ protected readonly children: AXPWidgetNode[] | undefined;
52
+ private readonly contextService;
53
+ private readonly rawValue;
54
+ ngOnInit(): void;
55
+ getValue(): any;
56
+ setValue(value: T): void;
57
+ setOption(path: string, value: any): void;
58
+ setOptions(values: any): void;
59
+ call(name: string, ...args: any[]): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetBase<any>, never>;
61
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPWidgetBase<any>>;
62
+ }
63
+ export declare abstract class AXPColumnWidgetBase<T = any | null | void> {
64
+ private readonly token;
65
+ protected readonly path: string;
66
+ protected readonly options: AXPWidgetNodeOptions | undefined;
67
+ private _rawValue;
68
+ get rawValue(): any;
69
+ set rawValue(v: any);
70
+ ngOnInit(): void;
71
+ setOptions(values: any): void;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPColumnWidgetBase<any>, never>;
73
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPColumnWidgetBase<any>>;
74
+ }
@@ -0,0 +1,4 @@
1
+ # @acorex/platform/entity
2
+
3
+ Secondary entry point of `@acorex/platform`. It can be used by importing from `@acorex/platform/entity`.
4
+
@@ -0,0 +1 @@
1
+ export * from './lib/index';
@@ -0,0 +1,32 @@
1
+ import { Injector } from "@angular/core";
2
+ import { AXPEntityCommandTriggerViewModel, AXPEntityListViewColumnViewModel } from "./entity.viewmodel";
3
+ import { AXDataSource } from "@acorex/components/common";
4
+ import { AXPEntity, AXPRelatedEntity } from "@acorex/platform/common";
5
+ export declare class AXPEntityDetailListViewModel {
6
+ private injector;
7
+ private detailEntityConfig;
8
+ private parent;
9
+ private detailEntity;
10
+ private formatService;
11
+ private workflow;
12
+ dataSource: AXDataSource<unknown>;
13
+ constructor(injector: Injector, detailEntityConfig: AXPRelatedEntity, parent: {
14
+ entity: AXPEntity;
15
+ data: any;
16
+ });
17
+ initialize(): Promise<void>;
18
+ selectedItems: import("@angular/core").WritableSignal<any[]>;
19
+ hasSelectedItems: import("@angular/core").Signal<boolean>;
20
+ clearSelection(): void;
21
+ title: import("@angular/core").Signal<string>;
22
+ inlineFiltersPlaceholders: import("@angular/core").Signal<string[]>;
23
+ hasInlineFilters: import("@angular/core").Signal<boolean>;
24
+ private actions;
25
+ primaryActions: import("@angular/core").Signal<AXPEntityCommandTriggerViewModel[]>;
26
+ secondaryActions: import("@angular/core").Signal<AXPEntityCommandTriggerViewModel[]>;
27
+ private inlineFilters;
28
+ applyInlineFilter(value: string): void;
29
+ applyFilterAndSort(): void;
30
+ columns: import("@angular/core").Signal<AXPEntityListViewColumnViewModel[]>;
31
+ executeCommand(commandName: string, data?: any): Promise<void>;
32
+ }
@@ -0,0 +1,49 @@
1
+ import { Injector } from "@angular/core";
2
+ import { AXPWidgetNode } from "@acorex/platform/layout/builder";
3
+ import { AXPEntity, AXPEntityPropertyGroup, AXPGridLayoutOptions, AXPEntityProperty } from "@acorex/platform/common";
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXPEntityCreateViewSectionViewModel {
6
+ private entity;
7
+ private group;
8
+ constructor(entity: AXPEntity, group: AXPEntityPropertyGroup);
9
+ name: import("@angular/core").WritableSignal<string>;
10
+ title: import("@angular/core").Signal<string>;
11
+ description: import("@angular/core").Signal<string | null | undefined>;
12
+ layout: import("@angular/core").Signal<AXPGridLayoutOptions>;
13
+ elements: import("@angular/core").Signal<AXPEntityCreateViewElementViewModel[]>;
14
+ }
15
+ export declare class AXPEntityCreateViewElementViewModel {
16
+ private entity;
17
+ private section;
18
+ private property;
19
+ constructor(entity: AXPEntity, section: AXPEntityCreateViewSectionViewModel, property: AXPEntityProperty);
20
+ name: import("@angular/core").WritableSignal<string>;
21
+ title: import("@angular/core").WritableSignal<string>;
22
+ description: import("@angular/core").WritableSignal<string | undefined>;
23
+ editable: import("@angular/core").Signal<boolean>;
24
+ order: import("@angular/core").WritableSignal<number>;
25
+ isRequired: import("@angular/core").Signal<boolean>;
26
+ layout: import("@angular/core").Signal<AXPGridLayoutOptions>;
27
+ node: import("@angular/core").Signal<AXPWidgetNode>;
28
+ }
29
+ export declare class AXPEntityMasterCreateViewModel {
30
+ private injector;
31
+ private config;
32
+ private initialData;
33
+ private entityDef;
34
+ private workflow;
35
+ constructor(injector: Injector, config: AXPEntity, initialData?: any);
36
+ context: import("@angular/core").WritableSignal<any>;
37
+ isInProgress: import("@angular/core").WritableSignal<boolean>;
38
+ sections: import("@angular/core").Signal<AXPEntityCreateViewSectionViewModel[]>;
39
+ save(): Promise<any | void>;
40
+ createNewOne(): Promise<void>;
41
+ }
42
+ export declare class AXPEntityCreateViewModelFactory {
43
+ private entityService;
44
+ private layout;
45
+ private injector;
46
+ create(moduleName: string, entityName: string, initialData?: any): Promise<AXPEntityMasterCreateViewModel>;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityCreateViewModelFactory, never>;
48
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPEntityCreateViewModelFactory>;
49
+ }
@@ -0,0 +1,82 @@
1
+ import { Injector } from "@angular/core";
2
+ import { ResolveFn } from "@angular/router";
3
+ import { AXPEntityCommandTriggerViewModel, AXPEntityListViewColumnViewModel } from "./entity.viewmodel";
4
+ import { AXDataSource } from "@acorex/components/common";
5
+ import { AXPEntity, AXPQueryView, AXPBeardCrumb } from "@acorex/platform/common";
6
+ import * as i0 from "@angular/core";
7
+ export interface AXPEntityMasterListViewSortPropViewModel {
8
+ name: string;
9
+ title: string;
10
+ dir: string;
11
+ }
12
+ export declare class AXPEntityMasterListViewQueryViewModel {
13
+ private entity;
14
+ private section;
15
+ private view;
16
+ constructor(entity: AXPEntity, section: AXPEntityMasterListViewModel, view: AXPQueryView);
17
+ name: string;
18
+ title: string;
19
+ sorts: import("@acorex/platform/common").AXPQuerySort[];
20
+ columns: string[];
21
+ conditions: import("@acorex/platform/common").AXPQueryFilter[];
22
+ }
23
+ export declare class AXPEntityMasterListViewModel {
24
+ private injector;
25
+ private config;
26
+ private entityDef;
27
+ private _viewDef;
28
+ private formatService;
29
+ private session;
30
+ private workflow;
31
+ dataSource: AXDataSource<unknown>;
32
+ constructor(injector: Injector, config: AXPEntity);
33
+ selectedItems: import("@angular/core").WritableSignal<any[]>;
34
+ hasSelectedItems: import("@angular/core").Signal<boolean>;
35
+ clearSelection(): void;
36
+ title: import("@angular/core").Signal<string>;
37
+ description: import("@angular/core").Signal<string | null>;
38
+ inlineFiltersPlaceholders: import("@angular/core").Signal<string[]>;
39
+ hasInlineFilters: import("@angular/core").Signal<boolean>;
40
+ beardcrumbs: import("@angular/core").Signal<AXPBeardCrumb[]>;
41
+ private actions;
42
+ primaryActions: import("@angular/core").Signal<AXPEntityCommandTriggerViewModel[]>;
43
+ secondaryActions: import("@angular/core").Signal<AXPEntityCommandTriggerViewModel[]>;
44
+ private inlineFilters;
45
+ private advanceFilters;
46
+ applyInlineFilter(value: string): void;
47
+ applyFilterAndSort(): void;
48
+ private allAvailableColumns;
49
+ visibleColumnCount: () => number;
50
+ columns: import("@angular/core").WritableSignal<AXPEntityListViewColumnViewModel[]>;
51
+ resetColumns(): void;
52
+ applyColumns(): void;
53
+ applyViewColumns(): void;
54
+ sortableFields: () => {
55
+ name: string;
56
+ title: string;
57
+ dir: string;
58
+ }[];
59
+ sortableFieldsCount: () => number;
60
+ canSort: () => boolean;
61
+ canAddMoreSort: () => boolean;
62
+ sortedCount: () => number;
63
+ sortedFields: import("@angular/core").WritableSignal<AXPEntityMasterListViewSortPropViewModel[]>;
64
+ resetSorts(): void;
65
+ applySorts(): void;
66
+ addSort(): void;
67
+ removeSort(name: string): void;
68
+ applyViewSorts(): void;
69
+ setView(viewName?: string | null): void;
70
+ views: import("@angular/core").Signal<AXPEntityMasterListViewQueryViewModel[]>;
71
+ view: import("@angular/core").WritableSignal<AXPEntityMasterListViewQueryViewModel>;
72
+ executeCommand(commandName: string, data?: any): Promise<void>;
73
+ }
74
+ export declare class AXPEntityListViewModelFactory {
75
+ private entityService;
76
+ private layout;
77
+ private injector;
78
+ create(moduleName: string, entityName: string): Promise<AXPEntityMasterListViewModel>;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityListViewModelFactory, never>;
80
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPEntityListViewModelFactory>;
81
+ }
82
+ export declare const AXPEntityListViewModelResolver: ResolveFn<Promise<AXPEntityMasterListViewModel>>;