@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
@@ -0,0 +1,74 @@
1
+ import { ChangeDetectorRef, Injectable, InjectionToken, computed, inject } from '@angular/core';
2
+ import { get, merge, set } from 'lodash-es';
3
+ import { AXPLayoutBuilderService } from './builder.service';
4
+ import * as i0 from "@angular/core";
5
+ export const AXP_WIDGET_TOKEN = new InjectionToken('AXP_WIDGET_TOKEN');
6
+ export const AXP_WIDGET_COLUMN_TOKEN = new InjectionToken('AXP_WIDGET_COLUMN_TOKEN');
7
+ export class AXPWidgetBase {
8
+ constructor() {
9
+ this.token = inject(AXP_WIDGET_TOKEN);
10
+ this.cdr = inject(ChangeDetectorRef);
11
+ this.id = this.token.id;
12
+ this.path = this.token.path;
13
+ this.mode = this.token.mode;
14
+ this.type = this.token.type;
15
+ this.children = this.token.children;
16
+ this.contextService = inject(AXPLayoutBuilderService);
17
+ this.rawValue = computed(() => (this.path ? get(this.contextService.context, this.path) : null));
18
+ }
19
+ ngOnInit() {
20
+ this.setOptions(this.token.options);
21
+ }
22
+ getValue() {
23
+ return this.rawValue();
24
+ }
25
+ setValue(value) {
26
+ if (this.path) {
27
+ this.contextService.setValue(this.path, value);
28
+ }
29
+ }
30
+ setOption(path, value) {
31
+ set(this, path, value);
32
+ this.cdr.markForCheck();
33
+ }
34
+ setOptions(values) {
35
+ merge(this, values);
36
+ this.cdr.markForCheck();
37
+ }
38
+ call(name, ...args) {
39
+ const fn = get(this, name);
40
+ if (fn && typeof fn == 'function') {
41
+ fn.bind(this)(...args);
42
+ }
43
+ }
44
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetBase, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
45
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetBase }); }
46
+ }
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetBase, decorators: [{
48
+ type: Injectable
49
+ }] });
50
+ export class AXPColumnWidgetBase {
51
+ constructor() {
52
+ this.token = inject(AXP_WIDGET_COLUMN_TOKEN);
53
+ this.path = this.token.path;
54
+ this.options = this.token.options;
55
+ }
56
+ get rawValue() {
57
+ return this._rawValue;
58
+ }
59
+ set rawValue(v) {
60
+ this._rawValue = v;
61
+ }
62
+ ngOnInit() {
63
+ this.setOptions(this.token.options);
64
+ }
65
+ setOptions(values) {
66
+ merge(this, values);
67
+ }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPColumnWidgetBase, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
69
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPColumnWidgetBase }); }
70
+ }
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPColumnWidgetBase, decorators: [{
72
+ type: Injectable
73
+ }] });
74
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvYnVpbGRlci9zcmMvbGliL2J1aWxkZXIvd2lkZ2V0LnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxVQUFVLEVBQUUsY0FBYyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEcsT0FBTyxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsR0FBRyxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQzVDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQXFCNUQsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUcsSUFBSSxjQUFjLENBQWdCLGtCQUFrQixDQUFDLENBQUM7QUFDdEYsTUFBTSxDQUFDLE1BQU0sdUJBQXVCLEdBQUcsSUFBSSxjQUFjLENBQXNCLHlCQUF5QixDQUFDLENBQUM7QUF1QjFHLE1BQU0sT0FBZ0IsYUFBYTtJQURuQztRQUVtQixVQUFLLEdBQUcsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUM7UUFDakMsUUFBRyxHQUFHLE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDO1FBRTlCLE9BQUUsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQztRQUNuQixTQUFJLEdB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5fcmF3VmFsdWUgPSB2O1xyXG4gIH1cclxuXHJcbiAgbmdPbkluaXQoKSB7XHJcbiAgICB0aGlzLnNldE9wdGlvbnModGhpcy50b2tlbi5vcHRpb25zKTtcclxuICB9XHJcblxyXG4gIHNldE9wdGlvbnModmFsdWVzOiBhbnkpOiB2b2lkIHtcclxuICAgIG1lcmdlKHRoaXMsIHZhbHVlcyk7XHJcbiAgfVxyXG59Il19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LXBsYXRmb3JtLWxheW91dC1lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2xheW91dC9lbnRpdHkvc3JjL2Fjb3JleC1wbGF0Zm9ybS1sYXlvdXQtZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,2 @@
1
+ export * from './lib/index';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2xheW91dC9lbnRpdHkvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLGNBQWMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbmRleCc7XG4iXX0=
@@ -0,0 +1,154 @@
1
+ import { computed, signal } from "@angular/core";
2
+ import { AXPEntityListViewColumnViewModel } from "./entity.viewmodel";
3
+ import { AXFormatService } from "@acorex/core/format";
4
+ import { AXDataSource } from "@acorex/components/common";
5
+ import { AXPWorkflowService } from "@acorex/platform/workflow";
6
+ import { AXP_ENTITY_DEFINITION_LOADER } from "./entity.config";
7
+ export class AXPEntityDetailListViewModel {
8
+ constructor(injector, detailEntityConfig, parent) {
9
+ this.injector = injector;
10
+ this.detailEntityConfig = detailEntityConfig;
11
+ this.parent = parent;
12
+ this.detailEntity = signal(null);
13
+ this.formatService = this.injector.get(AXFormatService);
14
+ this.workflow = this.injector.get(AXPWorkflowService);
15
+ this.dataSource = new AXDataSource({
16
+ byKey: (key) => {
17
+ const func = this.detailEntity()?.queries.byKey.execute;
18
+ return func();
19
+ },
20
+ load: (e) => {
21
+ const func = this.detailEntity()?.queries.list?.execute;
22
+ return func(e);
23
+ },
24
+ pageSize: 5,
25
+ key: 'id'
26
+ });
27
+ this.selectedItems = signal([]);
28
+ this.hasSelectedItems = computed(() => {
29
+ return this.selectedItems().length > 0;
30
+ });
31
+ //****************** Title ******************//
32
+ this.title = computed(() => {
33
+ return this.detailEntityConfig.title ?? this.detailEntity()?.interfaces?.detail?.list?.title ?? this.detailEntity()?.formats.plural;
34
+ });
35
+ //****************** Inline filter ******************//
36
+ this.inlineFiltersPlaceholders = computed(() => {
37
+ //return this.entityDef.properties.filter(p => p.options?.filter?.inline?.enabled).map(c => c.title);
38
+ return [];
39
+ });
40
+ this.hasInlineFilters = computed(() => {
41
+ return this.inlineFiltersPlaceholders().length > 0;
42
+ });
43
+ //****************** Actions ******************//
44
+ this.actions = computed(() => {
45
+ // const list = this.detailEntity.interfaces?.master?.list?.actions ?? [];
46
+ // return list
47
+ // .filter(a =>
48
+ // (a.scope == AXPEntityCommandScope.Selected && this.hasSelectedItems()) ||
49
+ // (a.scope != AXPEntityCommandScope.Selected && !this.hasSelectedItems())
50
+ // )
51
+ // .map((tr) => new AXPEntityCommandTriggerViewModel(this.entityDef, tr)) ?? [];
52
+ return [];
53
+ });
54
+ this.primaryActions = computed(() => {
55
+ return this.actions().filter(c => c.priority == 'primary');
56
+ });
57
+ this.secondaryActions = computed(() => {
58
+ return this.actions().filter(c => c.priority == 'secondary');
59
+ });
60
+ //****************** Filter ******************//
61
+ this.inlineFilters = {
62
+ field: null,
63
+ logic: 'or',
64
+ operator: null,
65
+ filters: []
66
+ };
67
+ //****************** Columns ******************//
68
+ this.columns = computed(() => {
69
+ if (this.detailEntity()) {
70
+ const columns = this.detailEntityConfig.columns ?? [];
71
+ const props = this.detailEntity()?.properties.filter(c => c.schema.hidden != true &&
72
+ c.options?.table?.enabled &&
73
+ (columns?.length == 0 || columns?.includes(c.name))) ?? [];
74
+ return props.map(e => {
75
+ return new AXPEntityListViewColumnViewModel(e);
76
+ });
77
+ }
78
+ return [];
79
+ });
80
+ this.initialize();
81
+ }
82
+ async initialize() {
83
+ const loader = this.injector.get(AXP_ENTITY_DEFINITION_LOADER);
84
+ const [moduleName, entityName] = this.detailEntityConfig.entity.split('.');
85
+ const entity = await loader.get(moduleName, entityName);
86
+ if (!entity) {
87
+ throw Error(`Invalid enitity name: ${this.detailEntityConfig.entity}`);
88
+ }
89
+ this.detailEntity.set(entity);
90
+ this.applyFilterAndSort();
91
+ }
92
+ clearSelection() {
93
+ this.selectedItems.set([]);
94
+ }
95
+ applyInlineFilter(value) {
96
+ // const props = this.entityDef.properties.filter(c => c.options?.filter?.inline?.enabled);
97
+ // this.inlineFilters.filters = [];
98
+ // if (value) {
99
+ // props.forEach(p => {
100
+ // this.inlineFilters.filters?.push({
101
+ // field: p.name,
102
+ // operator: {
103
+ // type: 'contains'
104
+ // },
105
+ // value
106
+ // })
107
+ // })
108
+ // }
109
+ this.applyFilterAndSort();
110
+ }
111
+ applyFilterAndSort() {
112
+ this.dataSource.clearFilter();
113
+ //
114
+ //this.dataSource.sort(...this.detailEntity.().map(s => ({ dir: s.dir, field: s.name } as AXDataSourceSortOption)));
115
+ //
116
+ const parentFilters = this.detailEntityConfig.conditions?.map(c => {
117
+ return {
118
+ field: c.name,
119
+ operator: c.operator,
120
+ value: this.parent.data.id
121
+ };
122
+ }) ?? [];
123
+ const parentFilterWrapper = {
124
+ field: null,
125
+ logic: 'and',
126
+ operator: null,
127
+ filters: parentFilters
128
+ };
129
+ //
130
+ const inline = this.inlineFilters.filters?.length ?? 0;
131
+ const parent = parentFilterWrapper.filters?.length ?? 0;
132
+ //
133
+ if (inline) {
134
+ this.dataSource.filter(this.inlineFilters);
135
+ }
136
+ else if (!inline && parent) {
137
+ this.dataSource.filter(parentFilterWrapper);
138
+ }
139
+ else if (inline && parent) {
140
+ this.dataSource.filter({
141
+ field: null,
142
+ logic: 'and',
143
+ operator: null,
144
+ filters: [this.inlineFilters, parentFilterWrapper]
145
+ });
146
+ }
147
+ //
148
+ this.dataSource.refresh();
149
+ }
150
+ //****************** Commands ******************//
151
+ async executeCommand(commandName, data = null) {
152
+ }
153
+ }
154
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LWRldGFpbC1saXN0LnZpZXdtb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vbGF5b3V0L2VudGl0eS9zcmMvbGliL2VudGl0eS1kZXRhaWwtbGlzdC52aWV3bW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFZLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFvQyxnQ0FBZ0MsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3hHLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCx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J0aWVzLmZpbHRlcihjID0+IGMub3B0aW9ucz8uZmlsdGVyPy5pbmxpbmU/LmVuYWJsZWQpO1xyXG4gICAgICAgIC8vIHRoaXMuaW5saW5lRmlsdGVycy5maWx0ZXJzID0gW107XHJcbiAgICAgICAgLy8gaWYgKHZhbHVlKSB7XHJcbiAgICAgICAgLy8gICAgIHByb3BzLmZvckVhY2gocCA9PiB7XHJcbiAgICAgICAgLy8gICAgICAgICB0aGlzLmlubGluZUZpbHRlcnMuZmlsdGVycz8ucHVzaCh7XHJcbiAgICAgICAgLy8gICAgICAgICAgICAgZmllbGQ6IHAubmFtZSxcclxuICAgICAgICAvLyAgICAgICAgICAgICBvcGVyYXRvcjoge1xyXG4gICAgICAgIC8vICAgICAgICAgICAgICAgICB0eXBlOiAnY29udGFpbnMnXHJcbiAgICAgICAgLy8gICAgICAgICAgICAgfSxcclxuICAgICAgICAvLyAgICAgICAgICAgICB2YWx1ZVxyXG4gICAgICAgIC8vICAgICAgICAgfSlcclxuICAgICAgICAvLyAgICAgfSlcclxuICAgICAgICAvLyB9XHJcbiAgICAgICAgdGhpcy5hcHBseUZpbHRlckFuZFNvcnQoKTtcclxuICAgIH1cclxuXHJcbiAgICBhcHBseUZpbHRlckFuZFNvcnQoKSB7XHJcbiAgICAgICAgdGhpcy5kYXRhU291cmNlLmNsZWFyRmlsdGVyKCk7XHJcbiAgICAgICAgLy9cclxuICAgICAgICAvL3RoaXMuZGF0YVNvdXJjZS5zb3J0KC4uLnRoaXMuZGV0YWlsRW50aXR5LigpLm1hcChzID0+ICh7IGRpcjogcy5kaXIsIGZpZWxkOiBzLm5hbWUgfSBhcyBBWERhdGFTb3VyY2VTb3J0T3B0aW9uKSkpO1xyXG4gICAgICAgIC8vXHJcblxyXG4gICAgICAgIGNvbnN0IHBhcmVudEZpbHRlcnM6IEFYRGF0YVNvdXJjZUZpbHRlck9wdGlvbltdID0gdGhpcy5kZXRhaWxFbnRpdHlDb25maWcuY29uZGl0aW9ucz8ubWFwKGMgPT4ge1xyXG4gICAgICAgICAgICByZXR1cm4ge1xyXG4gICAgICAgICAgICAgICAgZmllbGQ6IGMubmFtZSxcclxuICAgICAgICAgICAgICAgIG9wZXJhdG9yOiAoYy5vcGVyYXRvciBhcyB1bmtub3duIGFzIEFYRGF0YVNvdXJjZU9wZXJhdG9yKSxcclxuICAgICAgICAgICAgICAgIHZhbHVlOiB0aGlzLnBhcmVudC5kYXRhLmlkXHJcbiAgICAgICAgICAgIH0gYXMgQVhEYXRhU291cmNlRmlsdGVyT3B0aW9uO1xyXG4gICAgICAgIH0pID8/IFtdO1xyXG4gICAgICAgIGNvbnN0IHBhcmVudEZpbHRlcldyYXBwZXI6IEFYRGF0YVNvdXJjZUZpbHRlck9wdGlvbiA9IHtcclxuICAgICAgICAgICAgZmllbGQ6IG51bGwgYXMgYW55LFxyXG4gICAgICAgICAgICBsb2dpYzogJ2FuZCcsXHJcbiAgICAgICAgICAgIG9wZXJhdG9yOiBudWxsIGFzIGFueSxcclxuICAgICAgICAgICAgZmlsdGVyczogcGFyZW50RmlsdGVyc1xyXG4gICAgICAgIH07XHJcbiAgICAgICAgLy9cclxuICAgICAgICBjb25zdCBpbmxpbmUgPSB0aGlzLmlubGluZUZpbHRlcnMuZmlsdGVycz8ubGVuZ3RoID8/IDA7XHJcbiAgICAgICAgY29uc3QgcGFyZW50ID0gcGFyZW50RmlsdGVyV3JhcHBlci5maWx0ZXJzPy5sZW5ndGggPz8gMDtcclxuICAgICAgICAvL1xyXG4gICAgICAgIGlmIChpbmxpbmUpIHtcclxuICAgICAgICAgICAgdGhpcy5kYXRhU291cmNlLmZpbHRlcih0aGlzLmlubGluZUZpbHRlcnMpO1xyXG4gICAgICAgIH1cclxuICAgICAgICBlbHNlIGlmICghaW5saW5lICYmIHBhcmVudCkge1xyXG4gICAgICAgICAgICB0aGlzLmRhdGFTb3VyY2UuZmlsdGVyKHBhcmVudEZpbHRlcldyYXBwZXIpO1xyXG4gICAgICAgIH1cclxuICAgICAgICBlbHNlIGlmIChpbmxpbmUgJiYgcGFyZW50KSB7XHJcbiAgICAgICAgICAgIHRoaXMuZGF0YVNvdXJjZS5maWx0ZXIoe1xyXG4gICAgICAgICAgICAgICAgZmllbGQ6IG51bGwgYXMgYW55LFxyXG4gICAgICAgICAgICAgICAgbG9naWM6ICdhbmQnLFxyXG4gICAgICAgICAgICAgICAgb3BlcmF0b3I6IG51bGwgYXMgYW55LFxyXG4gICAgICAgICAgICAgICAgZmlsdGVyczogW3RoaXMuaW5saW5lRmlsdGVycywgcGFyZW50RmlsdGVyV3JhcHBlcl1cclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIC8vXHJcbiAgICAgICAgdGhpcy5kYXRhU291cmNlLnJlZnJlc2goKTtcclxuICAgIH1cclxuXHJcblxyXG4gICAgLy8qKioqKioqKioqKioqKioqKiogQ29sdW1ucyAqKioqKioqKioqKioqKioqKiovL1xyXG5cclxuICAgIGNvbHVtbnMgPSBjb21wdXRlZCgoKSA9PiB7XHJcbiAgICAgICAgaWYgKHRoaXMuZGV0YWlsRW50aXR5KCkpIHtcclxuICAgICAgICAgICAgY29uc3QgY29sdW1ucyA9IHRoaXMuZGV0YWlsRW50aXR5Q29uZmlnLmNvbHVtbnMgPz8gW11cclxuICAgICAgICAgICAgY29uc3QgcHJvcHMgPSB0aGlzLmRldGFpbEVudGl0eSgpPy5wcm9wZXJ0aWVzLmZpbHRlcihjID0+XHJcbiAgICAgICAgICAgICAgICBjLnNjaGVtYS5oaWRkZW4gIT0gdHJ1ZSAmJlxyXG4gICAgICAgICAgICAgICAgYy5vcHRpb25zPy50YWJsZT8uZW5hYmxlZCAmJlxyXG4gICAgICAgICAgICAgICAgKGNvbHVtbnM/Lmxlbmd0aCA9PSAwIHx8IGNvbHVtbnM/LmluY2x1ZGVzKGMubmFtZSkpXHJcbiAgICAgICAgICAgICkgPz8gW107XHJcbiAgICAgICAgICAgIHJldHVybiBwcm9wcy5tYXAoZSA9PiB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gbmV3IEFYUEVudGl0eUxpc3RWaWV3Q29sdW1uVmlld01vZGVsKGUpO1xyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gW107XHJcbiAgICB9KTtcclxuXHJcblxyXG5cclxuICAgIC8vKioqKioqKioqKioqKioqKioqICBDb21tYW5kcyAqKioqKioqKioqKioqKioqKiovL1xyXG4gICAgcHVibGljIGFzeW5jIGV4ZWN1dGVDb21tYW5kKGNvbW1hbmROYW1lOiBzdHJpbmcsIGRhdGE6IGFueSA9IG51bGwpIHtcclxuICAgIH1cclxuXHJcbn1cclxuXHJcblxyXG4iXX0=
@@ -0,0 +1,128 @@
1
+ import { Injectable, inject, Injector, computed, signal } from "@angular/core";
2
+ import { AXPEntityDefinitionRegistryService } from "./entity-registery.service";
3
+ import { AXPWorkflowService } from "@acorex/platform/workflow";
4
+ import { cloneDeep, merge, set } from "lodash-es";
5
+ import { AXPLayoutService } from "@acorex/platform/common";
6
+ import * as i0 from "@angular/core";
7
+ export class AXPEntityCreateViewSectionViewModel {
8
+ constructor(entity, group) {
9
+ this.entity = entity;
10
+ this.group = group;
11
+ this.name = signal(this.group.id);
12
+ this.title = computed(() => {
13
+ if (this.group.title)
14
+ return this.group.title;
15
+ return this.group.id;
16
+ });
17
+ this.description = computed(() => {
18
+ if (this.group.description)
19
+ return this.group.description;
20
+ return null;
21
+ });
22
+ this.layout = computed(() => {
23
+ const source = cloneDeep(this.group.layout ?? {});
24
+ set(source, "positions.default.colSpan", 12);
25
+ return source;
26
+ });
27
+ this.elements = computed(() => {
28
+ const props = this.entity.properties.filter(c => c.groupId == this.group.id &&
29
+ c.schema.hidden != true &&
30
+ c.options?.create?.enabled != false);
31
+ return props.map(e => {
32
+ return new AXPEntityCreateViewElementViewModel(this.entity, this, e);
33
+ });
34
+ });
35
+ }
36
+ }
37
+ export class AXPEntityCreateViewElementViewModel {
38
+ constructor(entity, section, property) {
39
+ this.entity = entity;
40
+ this.section = section;
41
+ this.property = property;
42
+ this.name = signal(this.property.name);
43
+ this.title = signal(this.property.title);
44
+ this.description = signal(this.property.description);
45
+ this.editable = computed(() => {
46
+ return !(this.property.schema.readonly ?? false);
47
+ });
48
+ this.order = signal(this.property.options?.view?.layout?.order ?? 0);
49
+ this.isRequired = computed(() => {
50
+ return this.property.validations?.some(c => c.rule == 'required') || false;
51
+ });
52
+ this.layout = computed(() => {
53
+ const source = cloneDeep(this.property.options?.create?.layout ?? this.property.options?.view?.layout ?? {});
54
+ set(source, "positions.default.colSpan", 12);
55
+ return source;
56
+ });
57
+ this.node = computed(() => {
58
+ const schema = this.property.schema;
59
+ const widget = schema.interface;
60
+ return {
61
+ type: widget.type,
62
+ mode: this.editable() ? 'edit' : 'view',
63
+ path: this.name(),
64
+ children: widget.children,
65
+ formula: widget.formula,
66
+ triggers: widget.triggers,
67
+ options: merge(schema.interface?.options, this.property.options?.create?.widget, { validationRules: this.property.validations })
68
+ };
69
+ });
70
+ }
71
+ }
72
+ export class AXPEntityMasterCreateViewModel {
73
+ constructor(injector, config, initialData = null) {
74
+ this.injector = injector;
75
+ this.config = config;
76
+ this.initialData = initialData;
77
+ this.entityDef = cloneDeep(this.config);
78
+ this.workflow = this.injector.get(AXPWorkflowService);
79
+ this.context = signal({});
80
+ this.isInProgress = signal(false);
81
+ this.sections = computed(() => {
82
+ const props = this.entityDef.properties.filter(p => p.groupId && p.schema.hidden != true && p.options?.create?.enabled == true);
83
+ const groups = this.entityDef.groups?.filter(g => props.some(p => p.groupId == g.id));
84
+ const result = groups?.map((section) => {
85
+ return new AXPEntityCreateViewSectionViewModel(this.entityDef, section);
86
+ });
87
+ return (result ?? []);
88
+ });
89
+ }
90
+ async save() {
91
+ try {
92
+ this.isInProgress.set(true);
93
+ const exec = this.entityDef.commands?.create?.execute;
94
+ return await exec((this.context()));
95
+ }
96
+ finally {
97
+ this.isInProgress.set(false);
98
+ }
99
+ }
100
+ async createNewOne() {
101
+ await this.workflow.execute('create-entity', {
102
+ payload: {
103
+ module: this.entityDef.module,
104
+ entity: this.entityDef.name,
105
+ },
106
+ });
107
+ }
108
+ }
109
+ export class AXPEntityCreateViewModelFactory {
110
+ constructor() {
111
+ this.entityService = inject(AXPEntityDefinitionRegistryService);
112
+ this.layout = inject(AXPLayoutService);
113
+ this.injector = inject(Injector);
114
+ }
115
+ async create(moduleName, entityName, initialData = null) {
116
+ this.layout.setNavigationLoading(true);
117
+ const config = await this.entityService.resolve(moduleName, entityName);
118
+ this.layout.setNavigationLoading(false);
119
+ return new AXPEntityMasterCreateViewModel(this.injector, config, initialData);
120
+ }
121
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityCreateViewModelFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
122
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityCreateViewModelFactory, providedIn: 'root' }); }
123
+ }
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEntityCreateViewModelFactory, decorators: [{
125
+ type: Injectable,
126
+ args: [{ providedIn: 'root' }]
127
+ }] });
128
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LW1hc3Rlci1jcmVhdGUudmlld21vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9sYXlvdXQvZW50aXR5L3NyYy9saWIvZW50aXR5LW1hc3Rlci1jcmVhdGUudmlld21vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsTU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LmVudGl0eURlZi5jb21tYW5kcz8uY3JlYXRlPy5leGVjdXRlIGFzIEZ1bmN0aW9uO1xyXG4gICAgICAgICAgICByZXR1cm4gYXdhaXQgZXhlYygodGhpcy5jb250ZXh0KCkpKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgZmluYWxseSB7XHJcbiAgICAgICAgICAgIHRoaXMuaXNJblByb2dyZXNzLnNldChmYWxzZSk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHB1YmxpYyBhc3luYyBjcmVhdGVOZXdPbmUoKSB7XHJcbiAgICAgICAgYXdhaXQgdGhpcy53b3JrZmxvdy5leGVjdXRlKCdjcmVhdGUtZW50aXR5Jywge1xyXG4gICAgICAgICAgICBwYXlsb2FkOiB7XHJcbiAgICAgICAgICAgICAgICBtb2R1bGU6IHRoaXMuZW50aXR5RGVmLm1vZHVsZSxcclxuICAgICAgICAgICAgICAgIGVudGl0eTogdGhpcy5lbnRpdHlEZWYubmFtZSxcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICB9KTtcclxuICAgIH1cclxufVxyXG5cclxuQEluamVjdGFibGUoeyBwcm92aWRlZEluOiAncm9vdCcgfSlcclxuZXhwb3J0IGNsYXNzIEFYUEVudGl0eUNyZWF0ZVZpZXdNb2RlbEZhY3Rvcnkge1xyXG4gICAgcHJpdmF0ZSBlbnRpdHlTZXJ2aWNlID0gaW5qZWN0KEFYUEVudGl0eURlZmluaXRpb25SZWdpc3RyeVNlcnZpY2UpO1xyXG4gICAgcHJpdmF0ZSBsYXlvdXQgPSBpbmplY3QoQVhQTGF5b3V0U2VydmljZSk7XHJcbiAgICBwcml2YXRlIGluamVjdG9yID0gaW5qZWN0KEluamVjdG9yKTtcclxuXHJcbiAgICBwdWJsaWMgYXN5bmMgY3JlYXRlKG1vZHVsZU5hbWU6IHN0cmluZywgZW50aXR5TmFtZTogc3RyaW5nLCBpbml0aWFsRGF0YTogYW55ID0gbnVsbCk6IFByb21pc2U8QVhQRW50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