@acorex/platform 1.0.6 → 18.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1162) hide show
  1. package/README.md +7 -7
  2. package/auth/README.md +3 -3
  3. package/auth/lib/auth.strategy.d.ts +6 -3
  4. package/common/README.md +3 -3
  5. package/common/index.d.ts +5 -3
  6. package/common/lib/app/application.types.d.ts +234 -0
  7. package/common/lib/app/index.d.ts +2 -0
  8. package/common/lib/common.module.d.ts +6 -4
  9. package/common/lib/configs/app.config.d.ts +1 -1
  10. package/common/lib/layout/beardcrumb.type.d.ts +6 -0
  11. package/common/lib/layout/grid-layout/grid-layout.directive.d.ts +15 -0
  12. package/common/lib/layout/grid-layout/grid-layout.types.d.ts +19 -0
  13. package/common/lib/layout/grid-layout/index.d.ts +2 -0
  14. package/common/lib/layout/index.d.ts +9 -0
  15. package/common/lib/layout/logo/index.d.ts +2 -0
  16. package/common/lib/layout/sticky.directive.d.ts +25 -0
  17. package/common/lib/layout/theme/components/slots/index.d.ts +3 -0
  18. package/common/lib/layout/theme/components/slots/navbar-slot.component.d.ts +10 -0
  19. package/common/lib/layout/theme/store/admin-layout.selectors.d.ts +5 -0
  20. package/common/lib/schema/entity/entity.class.d.ts +155 -0
  21. package/common/lib/schema/index.d.ts +8 -0
  22. package/common/lib/schema/schema.types.d.ts +15 -0
  23. package/common/lib/schema/widget/index.d.ts +5 -0
  24. package/common/lib/schema/widget/widget-base.d.ts +45 -0
  25. package/common/lib/schema/widget/widget-token.d.ts +16 -0
  26. package/common/lib/schema/widgets/avatar/avatar-widget-edit.component.d.ts +16 -0
  27. package/common/lib/schema/widgets/avatar/avatar-widget-view.component.d.ts +13 -0
  28. package/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.d.ts +11 -0
  29. package/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.d.ts +6 -0
  30. package/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.d.ts +11 -0
  31. package/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +18 -0
  32. package/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.d.ts +12 -0
  33. package/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.d.ts +12 -0
  34. package/common/lib/schema/widgets/common-widgets.module.d.ts +32 -0
  35. package/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.d.ts +11 -0
  36. package/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.d.ts +26 -0
  37. package/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.d.ts +16 -0
  38. package/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.d.ts +11 -0
  39. package/common/lib/schema/widgets/email/email-widget-column.component.d.ts +16 -0
  40. package/common/lib/schema/widgets/email/email-widget-edit.component.d.ts +28 -0
  41. package/common/lib/schema/widgets/email/email-widget-view.component.d.ts +16 -0
  42. package/common/lib/schema/widgets/file/file-widget-column.component.d.ts +8 -0
  43. package/common/lib/schema/widgets/file/file-widget-edit.component.d.ts +17 -0
  44. package/common/lib/schema/widgets/file/file-widget-filter.component.d.ts +6 -0
  45. package/common/lib/schema/widgets/file/file-widget-view.component.d.ts +17 -0
  46. package/common/lib/schema/widgets/gallery/gallery-widget-edit.component.d.ts +15 -0
  47. package/common/lib/schema/widgets/gallery/gallery-widget-filter.component.d.ts +6 -0
  48. package/common/lib/schema/widgets/gallery/gallery-widget-view.component.d.ts +16 -0
  49. package/common/lib/schema/widgets/lookup/lookup-widget-column.component.d.ts +17 -0
  50. package/common/lib/schema/widgets/lookup/lookup-widget-edit.component.d.ts +15 -0
  51. package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +17 -0
  52. package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +17 -0
  53. package/common/lib/schema/widgets/map/map-widget-edit.component.d.ts +15 -0
  54. package/common/lib/schema/widgets/map/map-widget-view.component.d.ts +17 -0
  55. package/common/lib/schema/widgets/messenger/messenger-widget-column.component.d.ts +15 -0
  56. package/common/lib/schema/widgets/messenger/messenger-widget-edit.component.d.ts +14 -0
  57. package/common/lib/schema/widgets/messenger/messenger-widget-view.component.d.ts +17 -0
  58. package/common/lib/schema/widgets/number/number-widget-edit.component.d.ts +7 -0
  59. package/common/lib/schema/widgets/number/number-widget-view.component.d.ts +8 -0
  60. package/common/lib/schema/widgets/password/password-widget-column.component.d.ts +14 -0
  61. package/common/lib/schema/widgets/password/password-widget-edit.component.d.ts +6 -0
  62. package/common/lib/schema/widgets/password/password-widget-view.component.d.ts +18 -0
  63. package/common/lib/schema/widgets/phone/phone-widget-column.component.d.ts +15 -0
  64. package/common/lib/schema/widgets/phone/phone-widget-edit.component.d.ts +29 -0
  65. package/common/lib/schema/widgets/phone/phone-widget-view.component.d.ts +18 -0
  66. package/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.d.ts +11 -0
  67. package/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.d.ts +33 -0
  68. package/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.d.ts +10 -0
  69. package/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.d.ts +16 -0
  70. package/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.d.ts +12 -0
  71. package/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.d.ts +9 -0
  72. package/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.d.ts +15 -0
  73. package/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +19 -0
  74. package/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.d.ts +8 -0
  75. package/common/lib/schema/widgets/text/largetext-widget-edit.component.d.ts +6 -0
  76. package/common/lib/schema/widgets/text/text-widget-column.component.d.ts +12 -0
  77. package/common/lib/schema/widgets/text/text-widget-edit.component.d.ts +23 -0
  78. package/common/lib/schema/widgets/text/text-widget-view.component.d.ts +11 -0
  79. package/common/lib/schema/widgets/toggle/toggle-widget-column.component.d.ts +11 -0
  80. package/common/lib/schema/widgets/toggle/toggle-widget-edit.component.d.ts +6 -0
  81. package/common/lib/schema/widgets/toggle/toggle-widget-view.component.d.ts +11 -0
  82. package/common/lib/store/common.actions.d.ts +1 -0
  83. package/common/lib/utils/data-generator.d.ts +12 -0
  84. package/common/lib/utils/index.d.ts +1 -1
  85. package/common/lib/utils/router-util.service.d.ts +1 -1
  86. package/common/lib/workflows/common.workflow.d.ts +38 -0
  87. package/common/lib/workflows/error-handler.d.ts +8 -0
  88. package/esm2022/auth/index.mjs +1 -1
  89. package/esm2022/auth/lib/application/application.loader.mjs +1 -1
  90. package/esm2022/auth/lib/application/application.types.mjs +1 -1
  91. package/esm2022/auth/lib/auth-registry.service.mjs +1 -1
  92. package/esm2022/auth/lib/auth.guard.mjs +1 -1
  93. package/esm2022/auth/lib/auth.module.mjs +1 -1
  94. package/esm2022/auth/lib/auth.strategy.mjs +1 -1
  95. package/esm2022/auth/lib/errors.types.mjs +1 -1
  96. package/esm2022/auth/lib/feature/feature.directive.mjs +1 -1
  97. package/esm2022/auth/lib/feature/feature.guard.mjs +1 -1
  98. package/esm2022/auth/lib/feature/feature.loader.mjs +1 -1
  99. package/esm2022/auth/lib/feature/feature.types.mjs +1 -1
  100. package/esm2022/auth/lib/feature/index.mjs +1 -1
  101. package/esm2022/auth/lib/permission/index.mjs +1 -1
  102. package/esm2022/auth/lib/permission/permission.directive.mjs +1 -1
  103. package/esm2022/auth/lib/permission/permission.guard.mjs +1 -1
  104. package/esm2022/auth/lib/permission/permission.loader.mjs +1 -1
  105. package/esm2022/auth/lib/permission/permission.types.mjs +1 -1
  106. package/esm2022/auth/lib/session.service.mjs +4 -2
  107. package/esm2022/auth/lib/session.types.mjs +1 -1
  108. package/esm2022/auth/lib/tenant/tenant.loader.mjs +1 -1
  109. package/esm2022/auth/lib/tenant/tenant.types.mjs +1 -1
  110. package/esm2022/auth/lib/user/user.types.mjs +1 -1
  111. package/esm2022/common/index.mjs +6 -4
  112. package/esm2022/common/lib/app/application.types.mjs +39 -0
  113. package/esm2022/common/lib/app/index.mjs +3 -0
  114. package/esm2022/common/lib/app/operators.mjs +50 -0
  115. package/esm2022/common/lib/common.module.mjs +20 -44
  116. package/esm2022/common/lib/configs/app.config.mjs +2 -2
  117. package/esm2022/common/lib/configs/config.types.mjs +3 -0
  118. package/esm2022/common/lib/data/data-provider.types.mjs +1 -1
  119. package/esm2022/common/lib/errors/error-handler-registry.service.mjs +1 -1
  120. package/esm2022/common/lib/errors/error-handler.types.mjs +1 -1
  121. package/esm2022/common/lib/errors/global-error-handler.mjs +1 -1
  122. package/esm2022/common/lib/errors/index.mjs +1 -1
  123. package/esm2022/common/lib/layout/beardcrumb.type.mjs +2 -0
  124. package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +56 -0
  125. package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +28 -0
  126. package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +24 -0
  127. package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +72 -0
  128. package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +2 -0
  129. package/esm2022/common/lib/layout/component-slot/index.mjs +6 -0
  130. package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +61 -0
  131. package/esm2022/common/lib/layout/grid-layout/grid-layout.types.mjs +2 -0
  132. package/esm2022/common/lib/layout/grid-layout/index.mjs +3 -0
  133. package/esm2022/common/lib/layout/index.mjs +10 -0
  134. package/esm2022/common/lib/layout/layout.service.mjs +79 -0
  135. package/esm2022/common/lib/layout/logo/index.mjs +3 -0
  136. package/esm2022/common/lib/layout/logo/logo.component.mjs +38 -0
  137. package/esm2022/common/lib/layout/logo/logo.types.mjs +21 -0
  138. package/esm2022/common/lib/layout/menu/index.mjs +3 -0
  139. package/esm2022/common/lib/layout/menu/menu.loader.mjs +39 -0
  140. package/esm2022/common/lib/layout/menu/menu.types.mjs +2 -0
  141. package/esm2022/common/lib/layout/sticky.directive.mjs +78 -0
  142. package/esm2022/common/lib/layout/theme/components/slots/footer-text-slot.component.mjs +20 -0
  143. package/esm2022/common/lib/layout/theme/components/slots/index.mjs +4 -0
  144. package/esm2022/common/lib/layout/theme/components/slots/navbar-slot.component.mjs +36 -0
  145. package/esm2022/common/lib/layout/theme/components/slots/theme-slot.component.mjs +48 -0
  146. package/esm2022/common/lib/layout/theme/store/admin-layout.actions.mjs +12 -0
  147. package/esm2022/common/lib/layout/theme/store/admin-layout.effects.mjs +29 -0
  148. package/esm2022/common/lib/layout/theme/store/admin-layout.reducers.mjs +60 -0
  149. package/esm2022/common/lib/layout/theme/store/admin-layout.selectors.mjs +8 -0
  150. package/esm2022/common/lib/layout/theme/store/admin-layout.state.mjs +16 -0
  151. package/esm2022/common/lib/layout/theme/store/index.mjs +6 -0
  152. package/esm2022/common/lib/schema/component-loader.mjs +2 -0
  153. package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +70 -0
  154. package/esm2022/common/lib/schema/entity/entity.class.mjs +32 -0
  155. package/esm2022/common/lib/schema/entity/entity.loader.mjs +13 -0
  156. package/esm2022/common/lib/schema/entity/index.mjs +4 -0
  157. package/esm2022/common/lib/schema/formats.mjs +2 -0
  158. package/esm2022/common/lib/schema/index.mjs +9 -0
  159. package/esm2022/common/lib/schema/schema-registery.service.mjs +33 -0
  160. package/esm2022/common/lib/schema/schema.module.mjs +23 -0
  161. package/esm2022/common/lib/schema/schema.types.mjs +2 -0
  162. package/esm2022/common/lib/schema/widget/index.mjs +6 -0
  163. package/esm2022/common/lib/schema/widget/widget-base.mjs +113 -0
  164. package/esm2022/common/lib/schema/widget/widget-column-renderer.mjs +118 -0
  165. package/esm2022/common/lib/schema/widget/widget-filter-renderer.mjs +133 -0
  166. package/esm2022/common/lib/schema/widget/widget-renderer.mjs +144 -0
  167. package/esm2022/common/lib/schema/widget/widget-token.mjs +3 -0
  168. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-edit.component.mjs +160 -0
  169. package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-view.component.mjs +63 -0
  170. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.mjs +53 -0
  171. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +22 -0
  172. package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.mjs +47 -0
  173. package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +147 -0
  174. package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +135 -0
  175. package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +125 -0
  176. package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +505 -0
  177. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.mjs +44 -0
  178. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.mjs +178 -0
  179. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +213 -0
  180. package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.mjs +71 -0
  181. package/esm2022/common/lib/schema/widgets/email/email-widget-column.component.mjs +73 -0
  182. package/esm2022/common/lib/schema/widgets/email/email-widget-edit.component.mjs +249 -0
  183. package/esm2022/common/lib/schema/widgets/email/email-widget-view.component.mjs +108 -0
  184. package/esm2022/common/lib/schema/widgets/file/file-widget-column.component.mjs +27 -0
  185. package/esm2022/common/lib/schema/widgets/file/file-widget-edit.component.mjs +200 -0
  186. package/esm2022/common/lib/schema/widgets/file/file-widget-filter.component.mjs +27 -0
  187. package/esm2022/common/lib/schema/widgets/file/file-widget-view.component.mjs +153 -0
  188. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-edit.component.mjs +189 -0
  189. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-filter.component.mjs +27 -0
  190. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-types.mjs +2 -0
  191. package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-view.component.mjs +173 -0
  192. package/esm2022/common/lib/schema/widgets/index.mjs +2 -0
  193. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-column.component.mjs +43 -0
  194. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +74 -0
  195. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +115 -0
  196. package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +54 -0
  197. package/esm2022/common/lib/schema/widgets/map/map-widget-edit.component.mjs +91 -0
  198. package/esm2022/common/lib/schema/widgets/map/map-widget-view.component.mjs +63 -0
  199. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-column.component.mjs +71 -0
  200. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-edit.component.mjs +136 -0
  201. package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-view.component.mjs +132 -0
  202. package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +46 -0
  203. package/esm2022/common/lib/schema/widgets/number/number-widget-view.component.mjs +30 -0
  204. package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +174 -0
  205. package/esm2022/common/lib/schema/widgets/password/password-widget-column.component.mjs +67 -0
  206. package/esm2022/common/lib/schema/widgets/password/password-widget-edit.component.mjs +41 -0
  207. package/esm2022/common/lib/schema/widgets/password/password-widget-view.component.mjs +109 -0
  208. package/esm2022/common/lib/schema/widgets/phone/phone-widget-column.component.mjs +91 -0
  209. package/esm2022/common/lib/schema/widgets/phone/phone-widget-edit.component.mjs +245 -0
  210. package/esm2022/common/lib/schema/widgets/phone/phone-widget-view.component.mjs +123 -0
  211. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.mjs +61 -0
  212. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +67 -0
  213. package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.mjs +34 -0
  214. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.mjs +45 -0
  215. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +53 -0
  216. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +41 -0
  217. package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.mjs +45 -0
  218. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.mjs +128 -0
  219. package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.mjs +41 -0
  220. package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +37 -0
  221. package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +46 -0
  222. package/esm2022/common/lib/schema/widgets/text/text-widget-edit.component.mjs +162 -0
  223. package/esm2022/common/lib/schema/widgets/text/text-widget-view.component.mjs +66 -0
  224. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-column.component.mjs +57 -0
  225. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-edit.component.mjs +25 -0
  226. package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-view.component.mjs +49 -0
  227. package/esm2022/common/lib/settings/index.mjs +1 -1
  228. package/esm2022/common/lib/settings/settings.loader.mjs +1 -1
  229. package/esm2022/common/lib/settings/settings.service.mjs +1 -1
  230. package/esm2022/common/lib/settings/settings.types.mjs +1 -1
  231. package/esm2022/common/lib/store/common.actions.mjs +2 -1
  232. package/esm2022/common/lib/store/common.effects.mjs +1 -1
  233. package/esm2022/common/lib/store/index.mjs +1 -1
  234. package/esm2022/common/lib/utils/clipboard-service.mjs +1 -1
  235. package/esm2022/common/lib/utils/data-generator.mjs +47 -0
  236. package/esm2022/common/lib/utils/index.mjs +2 -2
  237. package/esm2022/common/lib/utils/router-util.service.mjs +1 -1
  238. package/esm2022/common/lib/workflows/common.workflow.mjs +68 -0
  239. package/esm2022/common/lib/workflows/error-handler.mjs +24 -0
  240. package/esm2022/common/lib/workflows/index.mjs +3 -0
  241. package/esm2022/index.mjs +1 -1
  242. package/esm2022/layout/builder/acorex-platform-layout-builder.mjs +5 -0
  243. package/esm2022/layout/builder/index.mjs +2 -0
  244. package/esm2022/layout/builder/lib/builder/builder.module.mjs +67 -0
  245. package/esm2022/layout/builder/lib/builder/builder.service.mjs +81 -0
  246. package/esm2022/layout/builder/lib/builder/index.mjs +9 -0
  247. package/esm2022/layout/builder/lib/builder/layout.types.mjs +2 -0
  248. package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +110 -0
  249. package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +55 -0
  250. package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +33 -0
  251. package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +293 -0
  252. package/esm2022/layout/builder/lib/builder/widget.types.mjs +74 -0
  253. package/esm2022/layout/entity/acorex-platform-layout-entity.mjs +5 -0
  254. package/esm2022/layout/entity/index.mjs +2 -0
  255. package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +154 -0
  256. package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +128 -0
  257. package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +278 -0
  258. package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +230 -0
  259. package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +101 -0
  260. package/esm2022/layout/entity/lib/entity-registery.service.mjs +69 -0
  261. package/esm2022/layout/entity/lib/entity.config.mjs +4 -0
  262. package/esm2022/layout/entity/lib/entity.module.mjs +134 -0
  263. package/esm2022/layout/entity/lib/entity.viewmodel.mjs +32 -0
  264. package/esm2022/layout/entity/lib/index.mjs +9 -0
  265. package/esm2022/layout/entity/lib/widgets/lookup-widget/index.mjs +8 -0
  266. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +19 -0
  267. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.mjs +19 -0
  268. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +127 -0
  269. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.mjs +20 -0
  270. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.mjs +19 -0
  271. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +105 -0
  272. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +85 -0
  273. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +19 -0
  274. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +24 -0
  275. package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +93 -0
  276. package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +123 -0
  277. package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +104 -0
  278. package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +36 -0
  279. package/esm2022/layouts/index.mjs +1 -3
  280. package/esm2022/layouts/lib/admin/admin.module.mjs +9 -17
  281. package/esm2022/layouts/lib/admin/admin.routes.mjs +7 -8
  282. package/esm2022/layouts/lib/admin/custom-reuse.strategy.mjs +1 -1
  283. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +6 -6
  284. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +3 -2
  285. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +3 -2
  286. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +8 -11
  287. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/index.mjs +1 -1
  288. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +5 -5
  289. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/index.mjs +1 -1
  290. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +4 -4
  291. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +6 -9
  292. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +19 -19
  293. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +6 -8
  294. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +6 -7
  295. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/index.mjs +1 -1
  296. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +3 -3
  297. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +2 -3
  298. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +5 -5
  299. package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +3 -2
  300. package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +5 -6
  301. package/esm2022/layouts/lib/admin/entity-layout/index.mjs +1 -1
  302. package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +2 -2
  303. package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +2 -2
  304. package/esm2022/layouts/lib/admin/entity-layout/workflows/index.mjs +4 -1
  305. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +2 -2
  306. package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.mjs +85 -0
  307. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +27 -1
  308. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +26 -1
  309. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +41 -1
  310. package/esm2022/layouts/lib/admin/entity.resolver.mjs +1 -1
  311. package/esm2022/layouts/lib/admin/index.mjs +1 -3
  312. package/esm2022/layouts/lib/layout.module.mjs +9 -14
  313. package/esm2022/mocks/index.mjs +1 -1
  314. package/esm2022/mocks/lib/mocks.module.mjs +1 -1
  315. package/esm2022/mocks/lib/services/mocker.service.mjs +1 -1
  316. package/esm2022/mocks/lib/storage/storage.mock.service.mjs +1 -1
  317. package/esm2022/native/index.mjs +1 -1
  318. package/esm2022/native/lib/native.service.mjs +1 -1
  319. package/esm2022/widgets/index.mjs +1 -1
  320. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-column.component.mjs +45 -0
  321. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +10 -10
  322. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +54 -0
  323. package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +10 -4
  324. package/esm2022/widgets/lib/editors/checkbox/index.mjs +1 -1
  325. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +32 -7
  326. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +2 -2
  327. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +54 -54
  328. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +2 -2
  329. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +2 -2
  330. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +18 -18
  331. package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +1 -1
  332. package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +1 -1
  333. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +54 -7
  334. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +2 -2
  335. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +173 -141
  336. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +2 -2
  337. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +2 -2
  338. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +70 -70
  339. package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +1 -1
  340. package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +1 -1
  341. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +2 -2
  342. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +2 -2
  343. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +112 -112
  344. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +2 -2
  345. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +2 -2
  346. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +64 -64
  347. package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +1 -1
  348. package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +1 -1
  349. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +2 -2
  350. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +2 -2
  351. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +108 -108
  352. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +2 -2
  353. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +2 -2
  354. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +1 -1
  355. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +98 -98
  356. package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +1 -1
  357. package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +1 -1
  358. package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +1 -1
  359. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-column.component.mjs +2 -2
  360. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +2 -2
  361. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.mjs +6 -6
  362. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +2 -2
  363. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +2 -2
  364. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-view.component.mjs +6 -6
  365. package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +1 -1
  366. package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +1 -1
  367. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +26 -7
  368. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +2 -2
  369. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +68 -68
  370. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +2 -2
  371. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +2 -2
  372. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +33 -19
  373. package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +4 -1
  374. package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +1 -1
  375. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-column.component.mjs +2 -2
  376. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +2 -2
  377. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.mjs +10 -10
  378. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +2 -2
  379. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +2 -2
  380. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +46 -46
  381. package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +1 -1
  382. package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +1 -1
  383. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +54 -7
  384. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +2 -2
  385. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +162 -134
  386. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +2 -2
  387. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +2 -2
  388. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +70 -70
  389. package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +1 -1
  390. package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +1 -1
  391. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +2 -2
  392. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +2 -2
  393. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +10 -10
  394. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +2 -2
  395. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +2 -2
  396. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +10 -10
  397. package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +1 -1
  398. package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +1 -1
  399. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +5 -5
  400. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +2 -2
  401. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.mjs +26 -26
  402. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.mjs +2 -2
  403. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +2 -2
  404. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +24 -18
  405. package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +1 -1
  406. package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +1 -1
  407. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +30 -8
  408. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +2 -2
  409. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.mjs +32 -32
  410. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +2 -2
  411. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +2 -2
  412. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +29 -8
  413. package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +1 -1
  414. package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +1 -1
  415. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +2 -2
  416. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +2 -2
  417. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +56 -56
  418. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +2 -2
  419. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +2 -2
  420. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +18 -18
  421. package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +1 -1
  422. package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +1 -1
  423. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +7 -6
  424. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +2 -2
  425. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +62 -62
  426. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +2 -2
  427. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +2 -2
  428. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +18 -18
  429. package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +2 -1
  430. package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +8 -0
  431. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-column.component.mjs +47 -0
  432. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +19 -0
  433. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.mjs +27 -0
  434. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +20 -0
  435. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +19 -0
  436. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-view.component.mjs +47 -0
  437. package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +24 -0
  438. package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +14 -14
  439. package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +1 -1
  440. package/esm2022/widgets/lib/layout/block-widget/index.mjs +1 -1
  441. package/esm2022/widgets/lib/widgets.module.mjs +6 -3
  442. package/esm2022/workflow/index.mjs +1 -1
  443. package/esm2022/workflow/lib/errors.types.mjs +1 -1
  444. package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +1 -1
  445. package/esm2022/workflow/lib/workflow-registery.service.mjs +1 -1
  446. package/esm2022/workflow/lib/workflow.module.mjs +1 -1
  447. package/esm2022/workflow/lib/workflow.service.mjs +1 -1
  448. package/esm2022/workflow/lib/workflow.types.mjs +1 -1
  449. package/fesm2022/acorex-platform-auth.mjs +3 -1
  450. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  451. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs +178 -0
  452. package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs.map +1 -0
  453. package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs +85 -0
  454. package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs.map +1 -0
  455. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs +169 -0
  456. package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs.map +1 -0
  457. package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs +177 -0
  458. package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs.map +1 -0
  459. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs +76 -0
  460. package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs.map +1 -0
  461. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs +46 -0
  462. package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs.map +1 -0
  463. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs +70 -0
  464. package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs.map +1 -0
  465. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs +66 -0
  466. package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs.map +1 -0
  467. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs +198 -0
  468. package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs.map +1 -0
  469. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs +233 -0
  470. package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs.map +1 -0
  471. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs +93 -0
  472. package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs.map +1 -0
  473. package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs +97 -0
  474. package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs.map +1 -0
  475. package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs +269 -0
  476. package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs.map +1 -0
  477. package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs +130 -0
  478. package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs.map +1 -0
  479. package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs +49 -0
  480. package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs.map +1 -0
  481. package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs +221 -0
  482. package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs.map +1 -0
  483. package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs +51 -0
  484. package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs.map +1 -0
  485. package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs +174 -0
  486. package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs.map +1 -0
  487. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs +209 -0
  488. package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs.map +1 -0
  489. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs +50 -0
  490. package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs.map +1 -0
  491. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs +193 -0
  492. package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs.map +1 -0
  493. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs +60 -0
  494. package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs.map +1 -0
  495. package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs +66 -0
  496. package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs.map +1 -0
  497. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs +96 -0
  498. package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs.map +1 -0
  499. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs +135 -0
  500. package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs.map +1 -0
  501. package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs +77 -0
  502. package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs.map +1 -0
  503. package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs +114 -0
  504. package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs.map +1 -0
  505. package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs +86 -0
  506. package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs.map +1 -0
  507. package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs +95 -0
  508. package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs.map +1 -0
  509. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs +157 -0
  510. package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs.map +1 -0
  511. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs +154 -0
  512. package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs.map +1 -0
  513. package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs +68 -0
  514. package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs.map +1 -0
  515. package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs +157 -0
  516. package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs.map +1 -0
  517. package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs +54 -0
  518. package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs.map +1 -0
  519. package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs +89 -0
  520. package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs.map +1 -0
  521. package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs +64 -0
  522. package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs.map +1 -0
  523. package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs +128 -0
  524. package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs.map +1 -0
  525. package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs +115 -0
  526. package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs.map +1 -0
  527. package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs +265 -0
  528. package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs.map +1 -0
  529. package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs +145 -0
  530. package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs.map +1 -0
  531. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs +85 -0
  532. package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs.map +1 -0
  533. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs +89 -0
  534. package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs.map +1 -0
  535. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs +58 -0
  536. package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs.map +1 -0
  537. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs +69 -0
  538. package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs.map +1 -0
  539. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs +76 -0
  540. package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs.map +1 -0
  541. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs +65 -0
  542. package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs.map +1 -0
  543. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs +69 -0
  544. package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs.map +1 -0
  545. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs +148 -0
  546. package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs.map +1 -0
  547. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs +63 -0
  548. package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs.map +1 -0
  549. package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs +147 -0
  550. package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs.map +1 -0
  551. package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs +70 -0
  552. package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs.map +1 -0
  553. package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs +183 -0
  554. package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs.map +1 -0
  555. package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs +90 -0
  556. package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs.map +1 -0
  557. package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs +80 -0
  558. package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs.map +1 -0
  559. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs +46 -0
  560. package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs.map +1 -0
  561. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs +72 -0
  562. package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs.map +1 -0
  563. package/fesm2022/acorex-platform-common.mjs +2056 -246
  564. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  565. package/fesm2022/acorex-platform-layout-builder.mjs +687 -0
  566. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -0
  567. package/fesm2022/acorex-platform-layout-entity.mjs +1848 -0
  568. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -0
  569. package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs +107 -0
  570. package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs.map +1 -0
  571. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs +88 -0
  572. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs.map +1 -0
  573. package/fesm2022/acorex-platform-layouts.mjs +1058 -2553
  574. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  575. package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
  576. package/fesm2022/acorex-platform-native.mjs.map +1 -1
  577. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs +48 -0
  578. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs.map +1 -0
  579. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs +57 -0
  580. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs.map +1 -0
  581. package/fesm2022/acorex-platform-widgets.mjs +1755 -1293
  582. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  583. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  584. package/fesm2022/acorex-platform.mjs.map +1 -1
  585. package/layout/builder/README.md +4 -0
  586. package/layout/builder/index.d.ts +1 -0
  587. package/layout/builder/lib/builder/builder.module.d.ts +23 -0
  588. package/layout/builder/lib/builder/builder.service.d.ts +27 -0
  589. package/layout/builder/lib/builder/index.d.ts +8 -0
  590. package/layout/builder/lib/builder/layout.types.d.ts +30 -0
  591. package/layout/builder/lib/builder/widget-column-renderer.d.ts +31 -0
  592. package/layout/builder/lib/builder/widget-container.component.d.ts +15 -0
  593. package/layout/builder/lib/builder/widget-renderer.component.d.ts +43 -0
  594. package/layout/builder/lib/builder/widget.types.d.ts +74 -0
  595. package/layout/entity/README.md +4 -0
  596. package/layout/entity/index.d.ts +1 -0
  597. package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +32 -0
  598. package/layout/entity/lib/entity-master-create.viewmodel.d.ts +49 -0
  599. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +82 -0
  600. package/layout/entity/lib/entity-master-single.viewmodel.d.ts +62 -0
  601. package/layout/entity/lib/entity-master-update.viewmodel.d.ts +39 -0
  602. package/layout/entity/lib/entity-registery.service.d.ts +34 -0
  603. package/layout/entity/lib/entity.config.d.ts +21 -0
  604. package/layout/entity/lib/entity.module.d.ts +9 -0
  605. package/layout/entity/lib/entity.viewmodel.d.ts +22 -0
  606. package/layout/entity/lib/index.d.ts +8 -0
  607. package/layout/entity/lib/widgets/lookup-widget/index.d.ts +7 -0
  608. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +6 -0
  609. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.d.ts +6 -0
  610. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +27 -0
  611. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.d.ts +6 -0
  612. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.d.ts +6 -0
  613. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +13 -0
  614. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +15 -0
  615. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +6 -0
  616. package/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.d.ts +2 -0
  617. package/layout/entity/lib/workflows/create-entity.workflow.d.ts +29 -0
  618. package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +26 -0
  619. package/layout/entity/lib/workflows/modify-section.workflow.d.ts +34 -0
  620. package/layout/entity/lib/workflows/show-details.workflow.d.ts +10 -0
  621. package/layouts/README.md +3 -3
  622. package/layouts/index.d.ts +0 -2
  623. package/layouts/lib/admin/admin.module.d.ts +3 -6
  624. package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.d.ts +1 -1
  625. package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.d.ts +3 -3
  626. package/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.d.ts +3 -3
  627. package/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.d.ts +1 -1
  628. package/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.d.ts +2 -3
  629. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.d.ts +1 -1
  630. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.d.ts +4 -6
  631. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.d.ts +1 -1
  632. package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.d.ts +3 -4
  633. package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +6 -6
  634. package/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.d.ts +5 -6
  635. package/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.d.ts +3 -4
  636. package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.d.ts +1 -1
  637. package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.d.ts +3 -3
  638. package/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.d.ts +2 -2
  639. package/layouts/lib/admin/entity-layout/workflows/index.d.ts +3 -0
  640. package/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.d.ts +12 -0
  641. package/layouts/lib/admin/entity-layout/workflows/show-details.workflow.d.ts +9 -1
  642. package/layouts/lib/admin/entity-layout/workflows/show-list.workflow.d.ts +9 -1
  643. package/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.d.ts +11 -1
  644. package/layouts/lib/admin/index.d.ts +0 -2
  645. package/layouts/lib/layout.module.d.ts +4 -4
  646. package/mocks/README.md +3 -3
  647. package/package.json +29 -20
  648. package/widgets/README.md +3 -3
  649. package/widgets/lib/editors/checkbox/checkbox-widget-column.component.d.ts +9 -0
  650. package/widgets/lib/editors/checkbox/checkbox-widget-edit.component.d.ts +1 -1
  651. package/widgets/lib/editors/checkbox/checkbox-widget-view.component.d.ts +9 -0
  652. package/widgets/lib/editors/checkbox/checkbox-widget.config.d.ts +1 -1
  653. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.d.ts +11 -3
  654. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.d.ts +1 -1
  655. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +1 -1
  656. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.d.ts +1 -1
  657. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.d.ts +1 -1
  658. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.d.ts +1 -1
  659. package/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.d.ts +1 -1
  660. package/widgets/lib/editors/email-box-widget/email-box-widget-column.component.d.ts +13 -3
  661. package/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.d.ts +1 -1
  662. package/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.d.ts +7 -1
  663. package/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.d.ts +1 -1
  664. package/widgets/lib/editors/email-box-widget/email-box-widget-print.component.d.ts +1 -1
  665. package/widgets/lib/editors/email-box-widget/email-box-widget-view.component.d.ts +1 -1
  666. package/widgets/lib/editors/email-box-widget/email-box-widget.config.d.ts +1 -1
  667. package/widgets/lib/editors/file-box-widget/file-box-widget-column.component.d.ts +1 -1
  668. package/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.d.ts +1 -1
  669. package/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.d.ts +1 -1
  670. package/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.d.ts +1 -1
  671. package/widgets/lib/editors/file-box-widget/file-box-widget-print.component.d.ts +1 -1
  672. package/widgets/lib/editors/file-box-widget/file-box-widget-view.component.d.ts +1 -1
  673. package/widgets/lib/editors/file-box-widget/file-box-widget.config.d.ts +1 -1
  674. package/widgets/lib/editors/gallery-widget/gallery-widget-column.component.d.ts +1 -1
  675. package/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.d.ts +1 -1
  676. package/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.d.ts +1 -1
  677. package/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.d.ts +1 -1
  678. package/widgets/lib/editors/gallery-widget/gallery-widget-print.component.d.ts +1 -1
  679. package/widgets/lib/editors/gallery-widget/gallery-widget-view.component.d.ts +1 -1
  680. package/widgets/lib/editors/gallery-widget/gallery-widget.config.d.ts +1 -1
  681. package/widgets/lib/editors/map-box-widget/map-box-widget-column.component.d.ts +1 -1
  682. package/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.d.ts +1 -1
  683. package/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.d.ts +1 -1
  684. package/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.d.ts +1 -1
  685. package/widgets/lib/editors/map-box-widget/map-box-widget-print.component.d.ts +1 -1
  686. package/widgets/lib/editors/map-box-widget/map-box-widget-view.component.d.ts +1 -1
  687. package/widgets/lib/editors/map-box-widget/map-box-widget.config.d.ts +1 -1
  688. package/widgets/lib/editors/number-box-widget/number-box-widget-column.component.d.ts +5 -3
  689. package/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.d.ts +1 -1
  690. package/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.d.ts +2 -2
  691. package/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.d.ts +1 -1
  692. package/widgets/lib/editors/number-box-widget/number-box-widget-print.component.d.ts +1 -1
  693. package/widgets/lib/editors/number-box-widget/number-box-widget-view.component.d.ts +8 -2
  694. package/widgets/lib/editors/number-box-widget/number-box-widget.config.d.ts +1 -1
  695. package/widgets/lib/editors/password-box-widget/password-box-widget-column.component.d.ts +1 -1
  696. package/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.d.ts +1 -1
  697. package/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.d.ts +1 -1
  698. package/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.d.ts +1 -1
  699. package/widgets/lib/editors/password-box-widget/password-box-widget-print.component.d.ts +1 -1
  700. package/widgets/lib/editors/password-box-widget/password-box-widget-view.component.d.ts +1 -1
  701. package/widgets/lib/editors/password-box-widget/password-box-widget.config.d.ts +1 -1
  702. package/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.d.ts +13 -3
  703. package/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.d.ts +1 -1
  704. package/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.d.ts +6 -1
  705. package/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.d.ts +1 -1
  706. package/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.d.ts +1 -1
  707. package/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.d.ts +1 -1
  708. package/widgets/lib/editors/phone-box-widget/phone-box-widget.config.d.ts +1 -1
  709. package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +1 -1
  710. package/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.d.ts +1 -1
  711. package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +1 -1
  712. package/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.d.ts +1 -1
  713. package/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.d.ts +1 -1
  714. package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +1 -1
  715. package/widgets/lib/editors/rich-text-widget/rich-text-widget.config.d.ts +1 -1
  716. package/widgets/lib/editors/select-box-widget/select-box-widget-column.component.d.ts +3 -3
  717. package/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.d.ts +1 -1
  718. package/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.d.ts +1 -1
  719. package/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.d.ts +1 -1
  720. package/widgets/lib/editors/select-box-widget/select-box-widget-print.component.d.ts +1 -1
  721. package/widgets/lib/editors/select-box-widget/select-box-widget-view.component.d.ts +1 -1
  722. package/widgets/lib/editors/select-box-widget/select-box-widget.config.d.ts +1 -1
  723. package/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.d.ts +11 -3
  724. package/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.d.ts +1 -1
  725. package/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.d.ts +1 -1
  726. package/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.d.ts +1 -1
  727. package/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.d.ts +1 -1
  728. package/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.d.ts +7 -2
  729. package/widgets/lib/editors/selection-list-widget/selection-list-widget.config.d.ts +1 -1
  730. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.d.ts +1 -1
  731. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.d.ts +1 -1
  732. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +1 -1
  733. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.d.ts +1 -1
  734. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.d.ts +1 -1
  735. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
  736. package/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.d.ts +1 -1
  737. package/widgets/lib/editors/text-box-widget/text-box-widget-column.component.d.ts +3 -3
  738. package/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.d.ts +1 -1
  739. package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +2 -2
  740. package/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.d.ts +1 -1
  741. package/widgets/lib/editors/text-box-widget/text-box-widget-print.component.d.ts +1 -1
  742. package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +1 -1
  743. package/widgets/lib/editors/text-box-widget/text-box-widget.config.d.ts +1 -1
  744. package/widgets/lib/editors/toggle-widget/index.d.ts +7 -0
  745. package/widgets/lib/editors/toggle-widget/toggle-widget-column.component.d.ts +9 -0
  746. package/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.d.ts +6 -0
  747. package/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.d.ts +7 -0
  748. package/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.d.ts +6 -0
  749. package/widgets/lib/editors/toggle-widget/toggle-widget-print.component.d.ts +6 -0
  750. package/widgets/lib/editors/toggle-widget/toggle-widget-view.component.d.ts +9 -0
  751. package/widgets/lib/editors/toggle-widget/toggle-widget.config.d.ts +2 -0
  752. package/widgets/lib/layout/block-widget/block-widget.component.d.ts +2 -2
  753. package/widgets/lib/layout/block-widget/block-widget.config.d.ts +1 -1
  754. package/widgets/lib/widgets.module.d.ts +1 -1
  755. package/workflow/README.md +3 -3
  756. package/workflow/lib/workflow.types.d.ts +2 -2
  757. package/common/lib/shared/state-persistence/index.d.ts +0 -3
  758. package/common/lib/shared/state-persistence/state-persistence.actions.d.ts +0 -1
  759. package/common/lib/shared/state-persistence/state-persistence.module.d.ts +0 -8
  760. package/common/lib/shared/state-persistence/state-persistence.reducers.d.ts +0 -3
  761. package/common/lib/utils/sticky.directive.d.ts +0 -24
  762. package/core/README.md +0 -4
  763. package/core/index.d.ts +0 -4
  764. package/core/lib/app/application.types.d.ts +0 -144
  765. package/core/lib/core.module.d.ts +0 -6
  766. package/esm2022/common/lib/menu/index.mjs +0 -3
  767. package/esm2022/common/lib/menu/menu.loader.mjs +0 -39
  768. package/esm2022/common/lib/menu/menu.types.mjs +0 -2
  769. package/esm2022/common/lib/shared/logo.types.mjs +0 -21
  770. package/esm2022/common/lib/shared/state-persistence/index.mjs +0 -4
  771. package/esm2022/common/lib/shared/state-persistence/state-persistence.actions.mjs +0 -3
  772. package/esm2022/common/lib/shared/state-persistence/state-persistence.module.mjs +0 -36
  773. package/esm2022/common/lib/shared/state-persistence/state-persistence.reducers.mjs +0 -30
  774. package/esm2022/common/lib/utils/sticky.directive.mjs +0 -74
  775. package/esm2022/core/acorex-platform-core.mjs +0 -5
  776. package/esm2022/core/index.mjs +0 -5
  777. package/esm2022/core/lib/app/application.types.mjs +0 -19
  778. package/esm2022/core/lib/app/operators.mjs +0 -50
  779. package/esm2022/core/lib/configs/config.types.mjs +0 -3
  780. package/esm2022/core/lib/core.module.mjs +0 -16
  781. package/esm2022/layout/acorex-platform-layout.mjs +0 -5
  782. package/esm2022/layout/index.mjs +0 -3
  783. package/esm2022/layout/lib/builder/builder.module.mjs +0 -66
  784. package/esm2022/layout/lib/builder/context.service.mjs +0 -64
  785. package/esm2022/layout/lib/builder/index.mjs +0 -8
  786. package/esm2022/layout/lib/builder/widget-column-renderer.mjs +0 -75
  787. package/esm2022/layout/lib/builder/widget-container.mjs +0 -45
  788. package/esm2022/layout/lib/builder/widget-registery.service.mjs +0 -33
  789. package/esm2022/layout/lib/builder/widget-renderer.mjs +0 -279
  790. package/esm2022/layout/lib/builder/widget.types.mjs +0 -49
  791. package/esm2022/layout/lib/component-slot/component-slot-loader.service.mjs +0 -56
  792. package/esm2022/layout/lib/component-slot/component-slot-registery.service.mjs +0 -28
  793. package/esm2022/layout/lib/component-slot/component-slot.directive.mjs +0 -24
  794. package/esm2022/layout/lib/component-slot/component-slot.module.mjs +0 -72
  795. package/esm2022/layout/lib/component-slot/component-slot.types.mjs +0 -2
  796. package/esm2022/layout/lib/component-slot/index.mjs +0 -6
  797. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.mjs +0 -58
  798. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.component.mjs +0 -50
  799. package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.module.mjs +0 -57
  800. package/esm2022/layouts/lib/admin/admin-child-layout/index.mjs +0 -4
  801. package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.component.mjs +0 -74
  802. package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.module.mjs +0 -92
  803. package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.mjs +0 -14
  804. package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.mjs +0 -29
  805. package/esm2022/layouts/lib/admin/admin-root-layout/index.mjs +0 -5
  806. package/esm2022/layouts/lib/admin/store/admin-layout.actions.mjs +0 -12
  807. package/esm2022/layouts/lib/admin/store/admin-layout.effects.mjs +0 -29
  808. package/esm2022/layouts/lib/admin/store/admin-layout.reducers.mjs +0 -60
  809. package/esm2022/layouts/lib/admin/store/admin-layout.selectors.mjs +0 -8
  810. package/esm2022/layouts/lib/admin/store/admin-layout.state.mjs +0 -16
  811. package/esm2022/layouts/lib/admin/store/index.mjs +0 -6
  812. package/esm2022/layouts/lib/layout.routes.mjs +0 -15
  813. package/esm2022/layouts/lib/shared/components/content-view/content-view.page.mjs +0 -64
  814. package/esm2022/layouts/lib/shared/components/content-view/content-view.type.mjs +0 -2
  815. package/esm2022/layouts/lib/shared/components/error-401/error-401.component.mjs +0 -28
  816. package/esm2022/layouts/lib/shared/components/error-404/error-404.component.mjs +0 -22
  817. package/esm2022/layouts/lib/shared/components/error-offline/error-offline.component.mjs +0 -16
  818. package/esm2022/layouts/lib/shared/components/index.mjs +0 -10
  819. package/esm2022/layouts/lib/shared/components/logo/logo.component.mjs +0 -38
  820. package/esm2022/layouts/lib/shared/components/slots/footer-text-slot.component.mjs +0 -20
  821. package/esm2022/layouts/lib/shared/components/slots/navbar-slot.component.mjs +0 -36
  822. package/esm2022/layouts/lib/shared/components/slots/theme-slot.component.mjs +0 -48
  823. package/esm2022/layouts/lib/shared/entity/entity-registery.service.mjs +0 -70
  824. package/esm2022/layouts/lib/shared/entity/entity.class.mjs +0 -32
  825. package/esm2022/layouts/lib/shared/entity/entity.loader.mjs +0 -13
  826. package/esm2022/layouts/lib/shared/entity/index.mjs +0 -4
  827. package/esm2022/layouts/lib/shared/index.mjs +0 -5
  828. package/esm2022/layouts/lib/shared/services/index.mjs +0 -2
  829. package/esm2022/layouts/lib/shared/services/layout.service.mjs +0 -79
  830. package/esm2022/layouts/lib/shared/workflows/common.workflow.mjs +0 -147
  831. package/esm2022/layouts/lib/shared/workflows/error-handler.mjs +0 -24
  832. package/esm2022/layouts/lib/shared/workflows/index.mjs +0 -3
  833. package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.mjs +0 -73
  834. package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.mjs +0 -99
  835. package/esm2022/layouts/lib/themes/default/index.mjs +0 -3
  836. package/esm2022/layouts/lib/widgets/avatar/avatar-widget-edit.component.mjs +0 -160
  837. package/esm2022/layouts/lib/widgets/avatar/avatar-widget-view.component.mjs +0 -61
  838. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-column.component.mjs +0 -53
  839. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.mjs +0 -22
  840. package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-view.component.mjs +0 -47
  841. package/esm2022/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.mjs +0 -147
  842. package/esm2022/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.mjs +0 -135
  843. package/esm2022/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.mjs +0 -125
  844. package/esm2022/layouts/lib/widgets/common-widgets.module.mjs +0 -504
  845. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-column.component.mjs +0 -44
  846. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.mjs +0 -178
  847. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.mjs +0 -214
  848. package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-view.component.mjs +0 -71
  849. package/esm2022/layouts/lib/widgets/email/email-widget-column.component.mjs +0 -73
  850. package/esm2022/layouts/lib/widgets/email/email-widget-edit.component.mjs +0 -249
  851. package/esm2022/layouts/lib/widgets/email/email-widget-view.component.mjs +0 -108
  852. package/esm2022/layouts/lib/widgets/file/file-widget-column.component.mjs +0 -27
  853. package/esm2022/layouts/lib/widgets/file/file-widget-edit.component.mjs +0 -200
  854. package/esm2022/layouts/lib/widgets/file/file-widget-filter.component.mjs +0 -27
  855. package/esm2022/layouts/lib/widgets/file/file-widget-view.component.mjs +0 -153
  856. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-edit.component.mjs +0 -189
  857. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-filter.component.mjs +0 -27
  858. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-types.mjs +0 -2
  859. package/esm2022/layouts/lib/widgets/gallery/gallery-widget-view.component.mjs +0 -173
  860. package/esm2022/layouts/lib/widgets/index.mjs +0 -2
  861. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-column.component.mjs +0 -43
  862. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-edit.component.mjs +0 -74
  863. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-filter.component.mjs +0 -115
  864. package/esm2022/layouts/lib/widgets/lookup/lookup-widget-view.component.mjs +0 -54
  865. package/esm2022/layouts/lib/widgets/map/map-widget-edit.component.mjs +0 -91
  866. package/esm2022/layouts/lib/widgets/map/map-widget-view.component.mjs +0 -63
  867. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-column.component.mjs +0 -71
  868. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-edit.component.mjs +0 -136
  869. package/esm2022/layouts/lib/widgets/messenger/messenger-widget-view.component.mjs +0 -132
  870. package/esm2022/layouts/lib/widgets/number/number-widget-edit.component.mjs +0 -46
  871. package/esm2022/layouts/lib/widgets/number/number-widget-view.component.mjs +0 -30
  872. package/esm2022/layouts/lib/widgets/password/change-password.component.mjs +0 -175
  873. package/esm2022/layouts/lib/widgets/password/password-widget-column.component.mjs +0 -67
  874. package/esm2022/layouts/lib/widgets/password/password-widget-edit.component.mjs +0 -41
  875. package/esm2022/layouts/lib/widgets/password/password-widget-view.component.mjs +0 -109
  876. package/esm2022/layouts/lib/widgets/phone/phone-widget-column.component.mjs +0 -91
  877. package/esm2022/layouts/lib/widgets/phone/phone-widget-edit.component.mjs +0 -231
  878. package/esm2022/layouts/lib/widgets/phone/phone-widget-view.component.mjs +0 -123
  879. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-column.component.mjs +0 -61
  880. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.mjs +0 -67
  881. package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-view.component.mjs +0 -34
  882. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-column.component.mjs +0 -43
  883. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.mjs +0 -53
  884. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.mjs +0 -41
  885. package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-view.component.mjs +0 -45
  886. package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.mjs +0 -128
  887. package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.mjs +0 -41
  888. package/esm2022/layouts/lib/widgets/text/largetext-widget-edit.component.mjs +0 -37
  889. package/esm2022/layouts/lib/widgets/text/text-widget-column.component.mjs +0 -46
  890. package/esm2022/layouts/lib/widgets/text/text-widget-edit.component.mjs +0 -162
  891. package/esm2022/layouts/lib/widgets/text/text-widget-view.component.mjs +0 -66
  892. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-column.component.mjs +0 -57
  893. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-edit.component.mjs +0 -25
  894. package/esm2022/layouts/lib/widgets/toggle/toggle-widget-view.component.mjs +0 -49
  895. package/esm2022/schema/acorex-platform-schema.mjs +0 -5
  896. package/esm2022/schema/index.mjs +0 -14
  897. package/esm2022/schema/lib/component-loader.mjs +0 -2
  898. package/esm2022/schema/lib/formats.mjs +0 -2
  899. package/esm2022/schema/lib/operators.mjs +0 -50
  900. package/esm2022/schema/lib/schema-registery.service.mjs +0 -33
  901. package/esm2022/schema/lib/schema.module.mjs +0 -23
  902. package/esm2022/schema/lib/schema.types.mjs +0 -2
  903. package/esm2022/schema/lib/widget/widget-base.mjs +0 -113
  904. package/esm2022/schema/lib/widget/widget-column-renderer.mjs +0 -118
  905. package/esm2022/schema/lib/widget/widget-filter-renderer.mjs +0 -133
  906. package/esm2022/schema/lib/widget/widget-renderer.mjs +0 -144
  907. package/esm2022/schema/lib/widget/widget-token.mjs +0 -3
  908. package/fesm2022/acorex-platform-core.mjs +0 -94
  909. package/fesm2022/acorex-platform-core.mjs.map +0 -1
  910. package/fesm2022/acorex-platform-layout.mjs +0 -756
  911. package/fesm2022/acorex-platform-layout.mjs.map +0 -1
  912. package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs +0 -162
  913. package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs.map +0 -1
  914. package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs +0 -64
  915. package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs.map +0 -1
  916. package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs +0 -150
  917. package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs.map +0 -1
  918. package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs +0 -178
  919. package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs.map +0 -1
  920. package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs +0 -56
  921. package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs.map +0 -1
  922. package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs +0 -25
  923. package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs.map +0 -1
  924. package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs +0 -50
  925. package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs.map +0 -1
  926. package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs +0 -47
  927. package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs.map +0 -1
  928. package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs +0 -181
  929. package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs.map +0 -1
  930. package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs +0 -217
  931. package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs.map +0 -1
  932. package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs +0 -74
  933. package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs.map +0 -1
  934. package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs +0 -76
  935. package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs.map +0 -1
  936. package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs +0 -252
  937. package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs.map +0 -1
  938. package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs +0 -111
  939. package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs.map +0 -1
  940. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs +0 -108
  941. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs.map +0 -1
  942. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs +0 -89
  943. package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs.map +0 -1
  944. package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs +0 -30
  945. package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs.map +0 -1
  946. package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs +0 -203
  947. package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs.map +0 -1
  948. package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs +0 -30
  949. package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs.map +0 -1
  950. package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs +0 -156
  951. package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs.map +0 -1
  952. package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs +0 -192
  953. package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs.map +0 -1
  954. package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs +0 -30
  955. package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs.map +0 -1
  956. package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs +0 -176
  957. package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs.map +0 -1
  958. package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs +0 -40
  959. package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs.map +0 -1
  960. package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs +0 -46
  961. package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs.map +0 -1
  962. package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs +0 -120
  963. package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs.map +0 -1
  964. package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs +0 -158
  965. package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs.map +0 -1
  966. package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs +0 -57
  967. package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs.map +0 -1
  968. package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs +0 -94
  969. package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs.map +0 -1
  970. package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs +0 -66
  971. package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs.map +0 -1
  972. package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs +0 -74
  973. package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs.map +0 -1
  974. package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs +0 -139
  975. package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs.map +0 -1
  976. package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs +0 -135
  977. package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs.map +0 -1
  978. package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs +0 -49
  979. package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs.map +0 -1
  980. package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs +0 -138
  981. package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs.map +0 -1
  982. package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs +0 -33
  983. package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs.map +0 -1
  984. package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs +0 -70
  985. package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs.map +0 -1
  986. package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs +0 -44
  987. package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs.map +0 -1
  988. package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs +0 -112
  989. package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs.map +0 -1
  990. package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs +0 -94
  991. package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs.map +0 -1
  992. package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs +0 -234
  993. package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs.map +0 -1
  994. package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs +0 -126
  995. package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs.map +0 -1
  996. package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs +0 -64
  997. package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs.map +0 -1
  998. package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs +0 -70
  999. package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs.map +0 -1
  1000. package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs +0 -37
  1001. package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs.map +0 -1
  1002. package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs +0 -46
  1003. package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs.map +0 -1
  1004. package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs +0 -56
  1005. package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs.map +0 -1
  1006. package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs +0 -44
  1007. package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs.map +0 -1
  1008. package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs +0 -48
  1009. package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs.map +0 -1
  1010. package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs +0 -131
  1011. package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs.map +0 -1
  1012. package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs +0 -44
  1013. package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs.map +0 -1
  1014. package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs +0 -128
  1015. package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs.map +0 -1
  1016. package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs +0 -49
  1017. package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs.map +0 -1
  1018. package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs +0 -165
  1019. package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs.map +0 -1
  1020. package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs +0 -69
  1021. package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs.map +0 -1
  1022. package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs +0 -60
  1023. package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs.map +0 -1
  1024. package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs +0 -28
  1025. package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs.map +0 -1
  1026. package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs +0 -52
  1027. package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs.map +0 -1
  1028. package/fesm2022/acorex-platform-schema.mjs +0 -594
  1029. package/fesm2022/acorex-platform-schema.mjs.map +0 -1
  1030. package/layout/README.md +0 -4
  1031. package/layout/index.d.ts +0 -2
  1032. package/layout/lib/builder/builder.module.d.ts +0 -23
  1033. package/layout/lib/builder/context.service.d.ts +0 -17
  1034. package/layout/lib/builder/index.d.ts +0 -7
  1035. package/layout/lib/builder/widget-column-renderer.d.ts +0 -30
  1036. package/layout/lib/builder/widget-container.d.ts +0 -13
  1037. package/layout/lib/builder/widget-renderer.d.ts +0 -41
  1038. package/layout/lib/builder/widget.types.d.ts +0 -55
  1039. package/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.d.ts +0 -22
  1040. package/layouts/lib/admin/admin-child-layout/admin-child-layout.component.d.ts +0 -21
  1041. package/layouts/lib/admin/admin-child-layout/admin-child-layout.module.d.ts +0 -17
  1042. package/layouts/lib/admin/admin-child-layout/index.d.ts +0 -3
  1043. package/layouts/lib/admin/admin-root-layout/admin-root-layout.component.d.ts +0 -30
  1044. package/layouts/lib/admin/admin-root-layout/admin-root-layout.module.d.ts +0 -25
  1045. package/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.d.ts +0 -5
  1046. package/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.d.ts +0 -10
  1047. package/layouts/lib/admin/admin-root-layout/index.d.ts +0 -4
  1048. package/layouts/lib/admin/store/admin-layout.selectors.d.ts +0 -5
  1049. package/layouts/lib/layout.routes.d.ts +0 -2
  1050. package/layouts/lib/shared/components/content-view/content-view.page.d.ts +0 -23
  1051. package/layouts/lib/shared/components/content-view/content-view.type.d.ts +0 -16
  1052. package/layouts/lib/shared/components/error-401/error-401.component.d.ts +0 -10
  1053. package/layouts/lib/shared/components/error-404/error-404.component.d.ts +0 -8
  1054. package/layouts/lib/shared/components/error-offline/error-offline.component.d.ts +0 -9
  1055. package/layouts/lib/shared/components/index.d.ts +0 -9
  1056. package/layouts/lib/shared/components/slots/navbar-slot.component.d.ts +0 -10
  1057. package/layouts/lib/shared/entity/entity.class.d.ts +0 -153
  1058. package/layouts/lib/shared/index.d.ts +0 -4
  1059. package/layouts/lib/shared/services/index.d.ts +0 -1
  1060. package/layouts/lib/shared/workflows/common.workflow.d.ts +0 -61
  1061. package/layouts/lib/shared/workflows/error-handler.d.ts +0 -8
  1062. package/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.d.ts +0 -11
  1063. package/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.d.ts +0 -34
  1064. package/layouts/lib/themes/default/index.d.ts +0 -2
  1065. package/layouts/lib/widgets/avatar/avatar-widget-edit.component.d.ts +0 -16
  1066. package/layouts/lib/widgets/avatar/avatar-widget-view.component.d.ts +0 -13
  1067. package/layouts/lib/widgets/checkbox/checkbox-widget-column.component.d.ts +0 -11
  1068. package/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.d.ts +0 -6
  1069. package/layouts/lib/widgets/checkbox/checkbox-widget-view.component.d.ts +0 -11
  1070. package/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +0 -17
  1071. package/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.d.ts +0 -11
  1072. package/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.d.ts +0 -11
  1073. package/layouts/lib/widgets/common-widgets.module.d.ts +0 -32
  1074. package/layouts/lib/widgets/dateTime/dateTime-widget-column.component.d.ts +0 -11
  1075. package/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.d.ts +0 -26
  1076. package/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.d.ts +0 -16
  1077. package/layouts/lib/widgets/dateTime/dateTime-widget-view.component.d.ts +0 -11
  1078. package/layouts/lib/widgets/email/email-widget-column.component.d.ts +0 -16
  1079. package/layouts/lib/widgets/email/email-widget-edit.component.d.ts +0 -28
  1080. package/layouts/lib/widgets/email/email-widget-view.component.d.ts +0 -16
  1081. package/layouts/lib/widgets/file/file-widget-column.component.d.ts +0 -8
  1082. package/layouts/lib/widgets/file/file-widget-edit.component.d.ts +0 -17
  1083. package/layouts/lib/widgets/file/file-widget-filter.component.d.ts +0 -6
  1084. package/layouts/lib/widgets/file/file-widget-view.component.d.ts +0 -17
  1085. package/layouts/lib/widgets/gallery/gallery-widget-edit.component.d.ts +0 -15
  1086. package/layouts/lib/widgets/gallery/gallery-widget-filter.component.d.ts +0 -6
  1087. package/layouts/lib/widgets/gallery/gallery-widget-view.component.d.ts +0 -16
  1088. package/layouts/lib/widgets/lookup/lookup-widget-column.component.d.ts +0 -16
  1089. package/layouts/lib/widgets/lookup/lookup-widget-edit.component.d.ts +0 -15
  1090. package/layouts/lib/widgets/lookup/lookup-widget-filter.component.d.ts +0 -16
  1091. package/layouts/lib/widgets/lookup/lookup-widget-view.component.d.ts +0 -17
  1092. package/layouts/lib/widgets/map/map-widget-edit.component.d.ts +0 -15
  1093. package/layouts/lib/widgets/map/map-widget-view.component.d.ts +0 -17
  1094. package/layouts/lib/widgets/messenger/messenger-widget-column.component.d.ts +0 -15
  1095. package/layouts/lib/widgets/messenger/messenger-widget-edit.component.d.ts +0 -14
  1096. package/layouts/lib/widgets/messenger/messenger-widget-view.component.d.ts +0 -17
  1097. package/layouts/lib/widgets/number/number-widget-edit.component.d.ts +0 -7
  1098. package/layouts/lib/widgets/number/number-widget-view.component.d.ts +0 -8
  1099. package/layouts/lib/widgets/password/password-widget-column.component.d.ts +0 -14
  1100. package/layouts/lib/widgets/password/password-widget-edit.component.d.ts +0 -6
  1101. package/layouts/lib/widgets/password/password-widget-view.component.d.ts +0 -18
  1102. package/layouts/lib/widgets/phone/phone-widget-column.component.d.ts +0 -15
  1103. package/layouts/lib/widgets/phone/phone-widget-edit.component.d.ts +0 -29
  1104. package/layouts/lib/widgets/phone/phone-widget-view.component.d.ts +0 -18
  1105. package/layouts/lib/widgets/rich-text/rich-text-widget-column.component.d.ts +0 -11
  1106. package/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.d.ts +0 -33
  1107. package/layouts/lib/widgets/rich-text/rich-text-widget-view.component.d.ts +0 -10
  1108. package/layouts/lib/widgets/selection-list/selection-list-widget-column.component.d.ts +0 -16
  1109. package/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.d.ts +0 -12
  1110. package/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.d.ts +0 -9
  1111. package/layouts/lib/widgets/selection-list/selection-list-widget-view.component.d.ts +0 -15
  1112. package/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +0 -19
  1113. package/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.d.ts +0 -8
  1114. package/layouts/lib/widgets/text/largetext-widget-edit.component.d.ts +0 -6
  1115. package/layouts/lib/widgets/text/text-widget-column.component.d.ts +0 -12
  1116. package/layouts/lib/widgets/text/text-widget-edit.component.d.ts +0 -23
  1117. package/layouts/lib/widgets/text/text-widget-view.component.d.ts +0 -11
  1118. package/layouts/lib/widgets/toggle/toggle-widget-column.component.d.ts +0 -11
  1119. package/layouts/lib/widgets/toggle/toggle-widget-edit.component.d.ts +0 -6
  1120. package/layouts/lib/widgets/toggle/toggle-widget-view.component.d.ts +0 -11
  1121. package/schema/README.md +0 -3
  1122. package/schema/index.d.ts +0 -11
  1123. package/schema/lib/operators.d.ts +0 -22
  1124. package/schema/lib/schema.types.d.ts +0 -16
  1125. package/schema/lib/widget/widget-base.d.ts +0 -45
  1126. package/schema/lib/widget/widget-token.d.ts +0 -16
  1127. /package/{core → common}/lib/app/operators.d.ts +0 -0
  1128. /package/{core → common}/lib/configs/config.types.d.ts +0 -0
  1129. /package/{layout/lib → common/lib/layout}/component-slot/component-slot-loader.service.d.ts +0 -0
  1130. /package/{layout/lib → common/lib/layout}/component-slot/component-slot-registery.service.d.ts +0 -0
  1131. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.directive.d.ts +0 -0
  1132. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.module.d.ts +0 -0
  1133. /package/{layout/lib → common/lib/layout}/component-slot/component-slot.types.d.ts +0 -0
  1134. /package/{layout/lib → common/lib/layout}/component-slot/index.d.ts +0 -0
  1135. /package/{layouts/lib/shared/services → common/lib/layout}/layout.service.d.ts +0 -0
  1136. /package/{layouts/lib/shared/components → common/lib/layout}/logo/logo.component.d.ts +0 -0
  1137. /package/common/lib/{shared → layout/logo}/logo.types.d.ts +0 -0
  1138. /package/common/lib/{menu → layout/menu}/index.d.ts +0 -0
  1139. /package/common/lib/{menu → layout/menu}/menu.loader.d.ts +0 -0
  1140. /package/common/lib/{menu → layout/menu}/menu.types.d.ts +0 -0
  1141. /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/footer-text-slot.component.d.ts +0 -0
  1142. /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/theme-slot.component.d.ts +0 -0
  1143. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.actions.d.ts +0 -0
  1144. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.effects.d.ts +0 -0
  1145. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.reducers.d.ts +0 -0
  1146. /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.state.d.ts +0 -0
  1147. /package/{layouts/lib/admin → common/lib/layout/theme}/store/index.d.ts +0 -0
  1148. /package/{schema/lib → common/lib/schema}/component-loader.d.ts +0 -0
  1149. /package/{layouts/lib/shared → common/lib/schema}/entity/entity-registery.service.d.ts +0 -0
  1150. /package/{layouts/lib/shared → common/lib/schema}/entity/entity.loader.d.ts +0 -0
  1151. /package/{layouts/lib/shared → common/lib/schema}/entity/index.d.ts +0 -0
  1152. /package/{schema/lib → common/lib/schema}/formats.d.ts +0 -0
  1153. /package/{schema/lib → common/lib/schema}/schema-registery.service.d.ts +0 -0
  1154. /package/{schema/lib → common/lib/schema}/schema.module.d.ts +0 -0
  1155. /package/{schema/lib → common/lib/schema}/widget/widget-column-renderer.d.ts +0 -0
  1156. /package/{schema/lib → common/lib/schema}/widget/widget-filter-renderer.d.ts +0 -0
  1157. /package/{schema/lib → common/lib/schema}/widget/widget-renderer.d.ts +0 -0
  1158. /package/{layouts/lib → common/lib/schema}/widgets/gallery/gallery-widget-types.d.ts +0 -0
  1159. /package/{layouts/lib → common/lib/schema}/widgets/index.d.ts +0 -0
  1160. /package/{layouts/lib → common/lib/schema}/widgets/password/change-password.component.d.ts +0 -0
  1161. /package/{layouts/lib/shared → common/lib}/workflows/index.d.ts +0 -0
  1162. /package/layout/{lib → builder/lib}/builder/widget-registery.service.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-mocks.mjs","sources":["../../../../libs/platform/mocks/src/lib/mocks.module.ts","../../../../libs/platform/mocks/src/lib/services/mocker.service.ts","../../../../libs/platform/mocks/src/lib/storage/storage.mock.service.ts","../../../../libs/platform/mocks/src/index.ts","../../../../libs/platform/mocks/src/acorex-platform-mocks.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\n@NgModule({\n imports: [CommonModule],\n})\nexport class MocksModule {}\n","import { Injectable } from '@angular/core';\n\ntype SexType = 'male' | 'female';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MockDataService {\n private firstNamesMale: string[] = [\n 'Matei-Flesch',\n 'Philp',\n 'Mc Erlean',\n 'Hamilton',\n 'Borchard',\n 'Logan',\n 'Conley',\n 'soheil',\n 'John',\n 'James',\n 'Robert',\n 'Michael',\n 'William',\n ];\n private firstNamesFemale: string[] = ['Mary', 'Patricia', 'Jennifer', 'Linda', 'Elizabeth'];\n private lastNames: string[] = [\n ' Thyrian',\n 'Ian',\n 'Luke',\n 'Christopher',\n 'Hayden',\n 'Graham',\n 'Ray',\n 'asami',\n 'Smith',\n 'Johnson',\n 'Williams',\n 'Brown',\n 'Jones',\n ];\n private companyNames: string[] = ['Acme Corp', 'Globex', 'Soylent', 'Initech', 'Hooli'];\n private jobTitles: string[] = ['Software Engineer', 'Data Analyst', 'Product Manager', 'Graphic Designer', 'HR Specialist', 'Home note'];\n private _randomFromArray(arr: string[]): string {\n return arr[Math.floor(Math.random() * arr.length)];\n }\n\n public uid(): string {\n const timestamp = Date.now().toString(36);\n const randomSegment = Math.random().toString(36).substring(2, 15);\n return timestamp + '-' + randomSegment;\n }\n\n public id(): string {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n const r = (Math.random() * 16) | 0;\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n }\n\n public fName(gender?: SexType): string {\n return gender === 'male' ? this._randomFromArray(this.firstNamesMale) : this._randomFromArray(this.firstNamesFemale);\n }\n\n public lName(): string {\n return this._randomFromArray(this.lastNames);\n }\n\n public fullName(gender?: SexType): string {\n const selectedGender = gender || this.gender();\n return `${this.fName(selectedGender)} ${this.lName()}`;\n }\n\n public gender(): SexType {\n const genders: SexType[] = ['male', 'female'];\n return this._randomFromArray(genders) as SexType;\n }\n\n public userName(firstName?: string, lastName?: string): string {\n const fn = firstName || this.fName();\n const ln = lastName || this.lName();\n return `${fn}.${ln}${Math.floor(Math.random() * 100)}`;\n }\n\n public email(): string {\n const firstName = this.fName();\n const lastName = this.lName();\n return `${firstName}.${lastName}@example.com`.toLowerCase();\n }\n\n public phoneNumber(): string {\n return `+1-${Math.floor(Math.random() * 900 + 100)}-${Math.floor(Math.random() * 900 + 100)}-${Math.floor(Math.random() * 9000 + 1000)}`;\n }\n\n public dateOfBirth(): Date {\n const start = new Date(1950, 0, 1);\n const end = new Date(2000, 0, 1);\n return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));\n }\n\n public address1(): string {\n return `${Math.floor(Math.random() * 9000) + 1000} Main St`;\n }\n\n public address2(): string {\n return `Apt ${Math.floor(Math.random() * 900) + 100}`;\n }\n\n public zipCode(): string {\n return `${Math.floor(Math.random() * 90000) + 10000}`;\n }\n\n public company(): string {\n return this._randomFromArray(this.companyNames);\n }\n\n public jobTitle(): string {\n return this._randomFromArray(this.jobTitles);\n }\n\n public avatar(): string {\n // return Math.random() < 0.5 ? avatar1 : avatar2;\n return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAclBMVEX///8AAADx8fEJCQn39/fw8PD8/PzZ2dn09PTi4uKWlpZwcHDQ0NB9fX1jY2Ps7OxJSUm3t7cqKiqlpaVoaGiFhYW/v79DQ0MXFxd5eXktLS1dXV0lJSXIyMigoKA4ODgdHR1VVVWPj4+tra1PT0+Tk5Na8LRmAAAEkElEQVR4nO3d63aqMBAFYCPIpaiI1vut2vb9X/GUti57LJjLkExi9/e/a2UvQJLJkPZ6AAAAAAAAAAAAAAAAAAAAAAAAAH9VEmf9LE64h2FHklaj8XK6ilbT5XhUpY8Wc1HsxP92xYJ7UN0pz6LZueQeWifKdUu+2voBMj7dyVd74h4gUbqRBBRik3IPkmImzVc7cA/TWFIoBRSiCPTVkbwpBhTiLciI8VE5oBDHmHu4+uKJRkAhluFF3GoFFGLLPWBdI82AQsy5h6yn0g4oRMU9aB25QUAhQprB6T6EXwJ6FE3u0Vow92liGFCIUF78suVEu0AWGrFxQCHCeO8fCAmDWGYkU0LCaQhP4oIQUIgQylPPpIQF9/DlMlJAITLuAFK0mzSE21R/UfG/EXcAKWJAEXEHkBlQE4oBdwQJ6mPo/4OoViG9Z8YdQYL2Nqz5/kZckhMuuSNIUCalX6bcESReyAlfuCPcF0fkhCu/14h9esLI75lpFwn73CHuyjpI6Pdd+vi/NL3bphJ9O+4IEjqbhs2O3BEkxuSEY+4IEubV4Avfq8KmWxZXvm9emO2r/ZRzR5AhJ+QOIEVdID5zB5B6JSZ85Q4gVRITBrDVfSIFPHEPXwHtNvX/Ju31BpTlReR7tfQTpa4fRtsQ5aUfwO9MTbWt9Dffa6UX5i+MQC6h+QLD92XFVSLvX29yDKFN4dveKOGQe9g62r6SuefMPWg96l3sF2/cQ9aU6Rbddn6Xuhvovve9X9r/phcxwIB6EYMM+DG3Ud0unQYzl7mVqNWHx57vxdyl0prhe/OFRC5r298G+gj+sL/3Zlz53h+kZtH2kdfyMfLV0vnvXbfjPOjPY39J8tn62k20XM/ygJZK6pI4T4dp/qjHRgCAU3m1MKjOl2Uo89P8syKsWxncf0wLNk8hLPSHl4noRqd0Vn6vQla+Z0wWPyulJ9VJy2D+46/WHk91ssPtkvdZZbT5/OavTnvrQzUyOK8aJteTSjKB2Tetko8ebpT2by/EVdF+SYbztu3UlWfr4oGkxr2dpf2ba9lPZ5LGlJk/L49Yaa9pWYwO1X6YDvfVYVSonAuye/Vkiv5K75pts/GhyW1oL1/tyP3uKM13tFWtWdszqC1eSiK+W7U8uQj4Ycv0gQK9WVYdR1EuoX7wq8d9K9FA76ArujfHd2pK/zZGV+S0/D90nq/msFfDrJmEztmqiucK1hxdRfoHB+acPIvafSRd2rlYUdG/R6dw8LGCy5lME+uTVOrxM3S2y43t5RhXLM/f+C+h7YtI/7yQzu6JZ2bNv93a2AyYcqf7ZLN0Qz99pgs2i8X2604qbH6Vod/bbIPFfumYfvpMF6b2JqdZ0+6Seyt7b8QOTi7pgsXTT5DQESREQiTkZzFhZnc3VJXNT6Rcb1Y0m9gL+Adm3tyFti82y22k8xK6YvfcBf5Sm+1iG+W/AnTFcmGffk4wlfUt/XfmgO+2A3JHdBCQ90Z11HUSt3aF2hXN3fVjDqpisotc2k2KynWDW9Z3yfMWfgAAAAAAAAAAAAAAAAAAAAAAAABF/wCB50Scz71fkQAAAABJRU5ErkJggg==';\n }\n}\n","import { AXCalendarService, AXDateTime } from '@acorex/core/date-time';\nimport { Injectable, inject } from '@angular/core';\nimport Dexie from 'dexie';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXPStorageMockService extends Dexie {\n calendarService = inject(AXCalendarService);\n constructor() {\n super('MockDB');\n this.version(1).stores({\n entities: 'entityName, &data',\n });\n }\n\n async insertOrupdateOne(entityName: string, entityRow: any): Promise<void> {\n try {\n const entityCollection = await this.table('entities').get(entityName);\n\n if (entityCollection) {\n const existingEntityIndex = entityCollection.data.findIndex((e: any) => e.id === entityRow.id);\n\n if (existingEntityIndex !== -1) {\n entityCollection.data[existingEntityIndex] = { ...entityCollection.data[existingEntityIndex], ...entityRow };\n } else {\n entityCollection.data.push(entityRow);\n }\n\n const serializedEntity = this.serializeEntity(entityCollection.data);\n await this.table('entities').put({ entityName, data: serializedEntity });\n } else {\n const serializedEntity = this.serializeEntity([entityRow]);\n await this.table('entities').put({ entityName, data: serializedEntity });\n }\n return entityRow.id;\n } catch (error) {\n console.error('Error in insertOrUpdate:', error);\n // Handle the error appropriately\n }\n }\n\n async insertMany(entityName: string, entity: any): Promise<void> {\n const serializedEntity = this.serializeEntity(entity);\n try {\n await this.table('entities').put({ entityName, data: serializedEntity });\n Promise.resolve();\n // Use 'put' to add or replace an existing record with the same entityName\n } catch (error) {\n console.error('Error inserting entity:', error);\n // Handle the error appropriately\n }\n }\n\n async updateOne(entityName: string, id: string, keyValue: { [key: string]: any }): Promise<void> {\n try {\n // Fetch the entity using the entityName\n const entityRecord = await this.table('entities').get(entityName);\n if (entityRecord) {\n // Find the specific object in the entity's data array using the id\n const objectToUpdate = entityRecord.data.find((obj: any) => obj.id === id);\n if (objectToUpdate) {\n // Update the specific object with the provided key-value pairs\n Object.assign(objectToUpdate, keyValue);\n // Serialize the entire entity with the updated object\n // console.log('incomming data:', entityRecord.data);\n const serializedEntity = this.serializeEntity(entityRecord.data);\n // console.log('serializedEntity', serializedEntity);\n // Update the entity in the table\n await this.table('entities').put({ entityName, data: serializedEntity });\n } else {\n throw new Error(`Object with id '${id}' not found in entity '${entityName}'`);\n }\n } else {\n throw new Error(`Entity with name '${entityName}' not found`);\n }\n } catch (error) {\n console.error('Error updating entity:', error);\n }\n }\n\n async getOne(entityName: string, id: string): Promise<any> {\n const entities = await this.table('entities').get(entityName);\n const singleEntity = entities.data.find((row: any) => row.id == id);\n return singleEntity && this.deserializeEntity(singleEntity);\n }\n\n async getMany(entityName: string, params?: any): Promise<any> {\n const entity = await this.table('entities').get(entityName);\n return entity && this.deserializeEntity(entity.data);\n }\n\n async exist(entityName: string): Promise<boolean> {\n const entity = await this.getMany(entityName);\n return !!entity;\n }\n\n async deleteOne(entityName: string, entityId: string): Promise<void> {\n try {\n const entityCollection = await this.table('entities').get(entityName);\n\n if (entityCollection) {\n const entityIndex = entityCollection.data.findIndex((e: any) => e.id === entityId);\n\n if (entityIndex !== -1) {\n entityCollection.data.splice(entityIndex, 1);\n\n const serializedEntity = this.serializeEntity(entityCollection.data);\n\n await this.table('entities').put({ entityName, data: serializedEntity });\n } else {\n throw new Error(`Entity with id '${entityId}' not found in '${entityName}'`);\n }\n } else {\n throw new Error(`Entity collection '${entityName}' not found`);\n }\n } catch (error) {\n console.error('Error in deleteOne:', error);\n }\n }\n\n async deleteEntity(entityName: string): Promise<void> {\n await this.table('entities').delete(entityName);\n }\n\n async clearAllEntities(): Promise<void> {\n await this.table('entities').clear();\n }\n\n /****************************************************\n **------------------> Helpers <-------------------?\n ****************************************************/\n private serializeEntity(entity: any | any[]): any | any[] {\n const serialize = (data: any): any => {\n if (typeof data !== 'object' || data === null) {\n return data;\n }\n\n // Handle arrays (including arrays of objects)\n if (Array.isArray(data)) {\n return data.map((item) => serialize(item));\n }\n\n let clonedData = { ...data };\n\n for (const key in clonedData) {\n if (clonedData[key] instanceof AXDateTime) {\n clonedData[key] = {\n _date: clonedData[key].date.toISOString(),\n _calendar: { ...clonedData[key]._calendar },\n };\n } else if (clonedData[key] instanceof Date) {\n clonedData[key] = clonedData[key].toISOString();\n } else if (typeof clonedData[key] === 'object' && clonedData[key] !== null) {\n // console.log('before', clonedData[key]);\n clonedData[key] = serialize(clonedData[key]);\n // console.log('after', clonedData[key]);\n }\n }\n return clonedData;\n };\n\n return Array.isArray(entity) ? entity.map(serialize) : serialize(entity);\n }\n\n private deserializeEntity(serializedEntity: any | any[]): any | any[] {\n const deserialize = (data: any): any => {\n if (typeof data !== 'object' || data === null) {\n return data;\n }\n if (Array.isArray(data)) {\n return data.map((item) => deserialize(item));\n }\n\n let clonedData = { ...data };\n\n for (const key in clonedData) {\n if (typeof clonedData[key] === 'object' && clonedData[key] !== null && '_date' in clonedData[key] && '_calendar' in clonedData[key]) {\n clonedData[key] = new AXDateTime(new Date(clonedData[key]._date), clonedData[key]._calendar);\n } else if (typeof clonedData[key] === 'object' && clonedData[key] !== null) {\n clonedData[key] = deserialize(clonedData[key]);\n }\n }\n return clonedData;\n };\n\n return Array.isArray(serializedEntity) ? serializedEntity.map(deserialize) : deserialize(serializedEntity);\n }\n}\n","// export * from './lib/generator/address';\n// export * from './lib/generator/finance';\n// export * from './lib/generator/person';\nexport * from './lib/mocks.module';\nexport * from './lib/services/mocker.service';\nexport * from './lib/storage/storage.mock.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAMa,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAFZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;AAEX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAFZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAHvB,QAAQ;AAAC,YAAA,IA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,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cAFpB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACND;AACA;AACA;;ACFA;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-platform-mocks.mjs","sources":["../../../../libs/platform/mocks/src/lib/mocks.module.ts","../../../../libs/platform/mocks/src/lib/services/mocker.service.ts","../../../../libs/platform/mocks/src/lib/storage/storage.mock.service.ts","../../../../libs/platform/mocks/src/index.ts","../../../../libs/platform/mocks/src/acorex-platform-mocks.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n})\r\nexport class MocksModule {}\r\n","import { Injectable } from '@angular/core';\r\n\r\ntype SexType = 'male' | 'female';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class MockDataService {\r\n private firstNamesMale: string[] = [\r\n 'Matei-Flesch',\r\n 'Philp',\r\n 'Mc Erlean',\r\n 'Hamilton',\r\n 'Borchard',\r\n 'Logan',\r\n 'Conley',\r\n 'soheil',\r\n 'John',\r\n 'James',\r\n 'Robert',\r\n 'Michael',\r\n 'William',\r\n ];\r\n private firstNamesFemale: string[] = ['Mary', 'Patricia', 'Jennifer', 'Linda', 'Elizabeth'];\r\n private lastNames: string[] = [\r\n ' Thyrian',\r\n 'Ian',\r\n 'Luke',\r\n 'Christopher',\r\n 'Hayden',\r\n 'Graham',\r\n 'Ray',\r\n 'asami',\r\n 'Smith',\r\n 'Johnson',\r\n 'Williams',\r\n 'Brown',\r\n 'Jones',\r\n ];\r\n private companyNames: string[] = ['Acme Corp', 'Globex', 'Soylent', 'Initech', 'Hooli'];\r\n private jobTitles: string[] = ['Software Engineer', 'Data Analyst', 'Product Manager', 'Graphic Designer', 'HR Specialist', 'Home note'];\r\n private _randomFromArray(arr: string[]): string {\r\n return arr[Math.floor(Math.random() * arr.length)];\r\n }\r\n\r\n public uid(): string {\r\n const timestamp = Date.now().toString(36);\r\n const randomSegment = Math.random().toString(36).substring(2, 15);\r\n return timestamp + '-' + randomSegment;\r\n }\r\n\r\n public id(): string {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\r\n const r = (Math.random() * 16) | 0;\r\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\r\n return v.toString(16);\r\n });\r\n }\r\n\r\n public fName(gender?: SexType): string {\r\n return gender === 'male' ? this._randomFromArray(this.firstNamesMale) : this._randomFromArray(this.firstNamesFemale);\r\n }\r\n\r\n public lName(): string {\r\n return this._randomFromArray(this.lastNames);\r\n }\r\n\r\n public fullName(gender?: SexType): string {\r\n const selectedGender = gender || this.gender();\r\n return `${this.fName(selectedGender)} ${this.lName()}`;\r\n }\r\n\r\n public gender(): SexType {\r\n const genders: SexType[] = ['male', 'female'];\r\n return this._randomFromArray(genders) as SexType;\r\n }\r\n\r\n public userName(firstName?: string, lastName?: string): string {\r\n const fn = firstName || this.fName();\r\n const ln = lastName || this.lName();\r\n return `${fn}.${ln}${Math.floor(Math.random() * 100)}`;\r\n }\r\n\r\n public email(): string {\r\n const firstName = this.fName();\r\n const lastName = this.lName();\r\n return `${firstName}.${lastName}@example.com`.toLowerCase();\r\n }\r\n\r\n public phoneNumber(): string {\r\n return `+1-${Math.floor(Math.random() * 900 + 100)}-${Math.floor(Math.random() * 900 + 100)}-${Math.floor(Math.random() * 9000 + 1000)}`;\r\n }\r\n\r\n public dateOfBirth(): Date {\r\n const start = new Date(1950, 0, 1);\r\n const end = new Date(2000, 0, 1);\r\n return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));\r\n }\r\n\r\n public address1(): string {\r\n return `${Math.floor(Math.random() * 9000) + 1000} Main St`;\r\n }\r\n\r\n public address2(): string {\r\n return `Apt ${Math.floor(Math.random() * 900) + 100}`;\r\n }\r\n\r\n public zipCode(): string {\r\n return `${Math.floor(Math.random() * 90000) + 10000}`;\r\n }\r\n\r\n public company(): string {\r\n return this._randomFromArray(this.companyNames);\r\n }\r\n\r\n public jobTitle(): string {\r\n return this._randomFromArray(this.jobTitles);\r\n }\r\n\r\n public avatar(): string {\r\n // return Math.random() < 0.5 ? avatar1 : avatar2;\r\n return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAclBMVEX///8AAADx8fEJCQn39/fw8PD8/PzZ2dn09PTi4uKWlpZwcHDQ0NB9fX1jY2Ps7OxJSUm3t7cqKiqlpaVoaGiFhYW/v79DQ0MXFxd5eXktLS1dXV0lJSXIyMigoKA4ODgdHR1VVVWPj4+tra1PT0+Tk5Na8LRmAAAEkElEQVR4nO3d63aqMBAFYCPIpaiI1vut2vb9X/GUti57LJjLkExi9/e/a2UvQJLJkPZ6AAAAAAAAAAAAAAAAAAAAAAAAAH9VEmf9LE64h2FHklaj8XK6ilbT5XhUpY8Wc1HsxP92xYJ7UN0pz6LZueQeWifKdUu+2voBMj7dyVd74h4gUbqRBBRik3IPkmImzVc7cA/TWFIoBRSiCPTVkbwpBhTiLciI8VE5oBDHmHu4+uKJRkAhluFF3GoFFGLLPWBdI82AQsy5h6yn0g4oRMU9aB25QUAhQprB6T6EXwJ6FE3u0Vow92liGFCIUF78suVEu0AWGrFxQCHCeO8fCAmDWGYkU0LCaQhP4oIQUIgQylPPpIQF9/DlMlJAITLuAFK0mzSE21R/UfG/EXcAKWJAEXEH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CQ90Z11HUSt3aF2hXN3fVjDqpisotc2k2KynWDW9Z3yfMWfgAAAAAAAAAAAAAAAAAAAAAAAABF/wCB50Scz71fkQAAAABJRU5ErkJggg==';\r\n }\r\n}\r\n","import { AXCalendarService, AXDateTime } from '@acorex/core/date-time';\r\nimport { Injectable, inject } from '@angular/core';\r\nimport Dexie from 'dexie';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AXPStorageMockService extends Dexie {\r\n calendarService = inject(AXCalendarService);\r\n constructor() {\r\n super('MockDB');\r\n this.version(1).stores({\r\n entities: 'entityName, &data',\r\n });\r\n }\r\n\r\n async insertOrupdateOne(entityName: string, entityRow: any): Promise<void> {\r\n try {\r\n const entityCollection = await this.table('entities').get(entityName);\r\n\r\n if (entityCollection) {\r\n const existingEntityIndex = entityCollection.data.findIndex((e: any) => e.id === entityRow.id);\r\n\r\n if (existingEntityIndex !== -1) {\r\n entityCollection.data[existingEntityIndex] = { ...entityCollection.data[existingEntityIndex], ...entityRow };\r\n } else {\r\n entityCollection.data.push(entityRow);\r\n }\r\n\r\n const serializedEntity = this.serializeEntity(entityCollection.data);\r\n await this.table('entities').put({ entityName, data: serializedEntity });\r\n } else {\r\n const serializedEntity = this.serializeEntity([entityRow]);\r\n await this.table('entities').put({ entityName, data: serializedEntity });\r\n }\r\n return entityRow.id;\r\n } catch (error) {\r\n console.error('Error in insertOrUpdate:', error);\r\n // Handle the error appropriately\r\n }\r\n }\r\n\r\n async insertMany(entityName: string, entity: any): Promise<void> {\r\n const serializedEntity = this.serializeEntity(entity);\r\n try {\r\n await this.table('entities').put({ entityName, data: serializedEntity });\r\n Promise.resolve();\r\n // Use 'put' to add or replace an existing record with the same entityName\r\n } catch (error) {\r\n console.error('Error inserting entity:', error);\r\n // Handle the error appropriately\r\n }\r\n }\r\n\r\n async updateOne(entityName: string, id: string, keyValue: { [key: string]: any }): Promise<void> {\r\n try {\r\n // Fetch the entity using the entityName\r\n const entityRecord = await this.table('entities').get(entityName);\r\n if (entityRecord) {\r\n // Find the specific object in the entity's data array using the id\r\n const objectToUpdate = entityRecord.data.find((obj: any) => obj.id === id);\r\n if (objectToUpdate) {\r\n // Update the specific object with the provided key-value pairs\r\n Object.assign(objectToUpdate, keyValue);\r\n // Serialize the entire entity with the updated object\r\n // console.log('incomming data:', entityRecord.data);\r\n const serializedEntity = this.serializeEntity(entityRecord.data);\r\n // console.log('serializedEntity', serializedEntity);\r\n // Update the entity in the table\r\n await this.table('entities').put({ entityName, data: serializedEntity });\r\n } else {\r\n throw new Error(`Object with id '${id}' not found in entity '${entityName}'`);\r\n }\r\n } else {\r\n throw new Error(`Entity with name '${entityName}' not found`);\r\n }\r\n } catch (error) {\r\n console.error('Error updating entity:', error);\r\n }\r\n }\r\n\r\n async getOne(entityName: string, id: string): Promise<any> {\r\n const entities = await this.table('entities').get(entityName);\r\n const singleEntity = entities.data.find((row: any) => row.id == id);\r\n return singleEntity && this.deserializeEntity(singleEntity);\r\n }\r\n\r\n async getMany(entityName: string, params?: any): Promise<any> {\r\n const entity = await this.table('entities').get(entityName);\r\n return entity && this.deserializeEntity(entity.data);\r\n }\r\n\r\n async exist(entityName: string): Promise<boolean> {\r\n const entity = await this.getMany(entityName);\r\n return !!entity;\r\n }\r\n\r\n async deleteOne(entityName: string, entityId: string): Promise<void> {\r\n try {\r\n const entityCollection = await this.table('entities').get(entityName);\r\n\r\n if (entityCollection) {\r\n const entityIndex = entityCollection.data.findIndex((e: any) => e.id === entityId);\r\n\r\n if (entityIndex !== -1) {\r\n entityCollection.data.splice(entityIndex, 1);\r\n\r\n const serializedEntity = this.serializeEntity(entityCollection.data);\r\n\r\n await this.table('entities').put({ entityName, data: serializedEntity });\r\n } else {\r\n throw new Error(`Entity with id '${entityId}' not found in '${entityName}'`);\r\n }\r\n } else {\r\n throw new Error(`Entity collection '${entityName}' not found`);\r\n }\r\n } catch (error) {\r\n console.error('Error in deleteOne:', error);\r\n }\r\n }\r\n\r\n async deleteEntity(entityName: string): Promise<void> {\r\n await this.table('entities').delete(entityName);\r\n }\r\n\r\n async clearAllEntities(): Promise<void> {\r\n await this.table('entities').clear();\r\n }\r\n\r\n /****************************************************\r\n **------------------> Helpers <-------------------?\r\n ****************************************************/\r\n private serializeEntity(entity: any | any[]): any | any[] {\r\n const serialize = (data: any): any => {\r\n if (typeof data !== 'object' || data === null) {\r\n return data;\r\n }\r\n\r\n // Handle arrays (including arrays of objects)\r\n if (Array.isArray(data)) {\r\n return data.map((item) => serialize(item));\r\n }\r\n\r\n let clonedData = { ...data };\r\n\r\n for (const key in clonedData) {\r\n if (clonedData[key] instanceof AXDateTime) {\r\n clonedData[key] = {\r\n _date: clonedData[key].date.toISOString(),\r\n _calendar: { ...clonedData[key]._calendar },\r\n };\r\n } else if (clonedData[key] instanceof Date) {\r\n clonedData[key] = clonedData[key].toISOString();\r\n } else if (typeof clonedData[key] === 'object' && clonedData[key] !== null) {\r\n // console.log('before', clonedData[key]);\r\n clonedData[key] = serialize(clonedData[key]);\r\n // console.log('after', clonedData[key]);\r\n }\r\n }\r\n return clonedData;\r\n };\r\n\r\n return Array.isArray(entity) ? entity.map(serialize) : serialize(entity);\r\n }\r\n\r\n private deserializeEntity(serializedEntity: any | any[]): any | any[] {\r\n const deserialize = (data: any): any => {\r\n if (typeof data !== 'object' || data === null) {\r\n return data;\r\n }\r\n if (Array.isArray(data)) {\r\n return data.map((item) => deserialize(item));\r\n }\r\n\r\n let clonedData = { ...data };\r\n\r\n for (const key in clonedData) {\r\n if (typeof clonedData[key] === 'object' && clonedData[key] !== null && '_date' in clonedData[key] && '_calendar' in clonedData[key]) {\r\n clonedData[key] = new AXDateTime(new Date(clonedData[key]._date), clonedData[key]._calendar);\r\n } else if (typeof clonedData[key] === 'object' && clonedData[key] !== null) {\r\n clonedData[key] = deserialize(clonedData[key]);\r\n }\r\n }\r\n return clonedData;\r\n };\r\n\r\n return Array.isArray(serializedEntity) ? serializedEntity.map(deserialize) : deserialize(serializedEntity);\r\n }\r\n}\r\n","// export * from './lib/generator/address';\r\n// export * from './lib/generator/finance';\r\n// export * from './lib/generator/person';\r\nexport * from './lib/mocks.module';\r\nexport * from './lib/services/mocker.service';\r\nexport * from './lib/storage/storage.mock.service';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAMa,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAFZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;AAEX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAFZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAHvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA,CAAA;;;MCEY,eAAe,CAAA;AAH5B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,cAAc,GAAa;YACjC,cAAc;YACd,OAAO;YACP,WAAW;YACX,UAAU;YACV,UAAU;YACV,OAAO;YACP,QAAQ;YACR,QAAQ;YACR,MAAM;YACN,OAAO;YACP,QAAQ;YACR,SAAS;YACT,SAAS;SACV,CAAC;AACM,QAAA,IAAA,CAAA,gBAAgB,GAAa,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,CAAC,CA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,iBAAA,CAAA;;;ACND;AACA;AACA;;ACFA;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-native.mjs","sources":["../../../../libs/platform/native/src/lib/native.module.ts","../../../../libs/platform/native/src/lib/native.service.ts","../../../../libs/platform/native/src/acorex-platform-native.ts"],"sourcesContent":["import { NgModule } from \"@angular/core\";\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class AXPNativeModule {\n}\n ","import { Injectable } from '@angular/core';\n\ndeclare global {\n interface Window {\n FlutterChannel?: {\n postMessage: (message: string) => void;\n };\n }\n}\n\nenum MessageType {\n SetDarkMode,\n CheckNetworkStatus,\n GetCurrentLocation,\n SetPreferredLanguage,\n OpenExternalLink,\n AuthenticateBiometric,\n SelectImageFromGallery,\n SelectImageFromCamera,\n SelectVideoFromGallery,\n SelectVideoFromCamera,\n SelectFile,\n}\n\ninterface Message {\n action: MessageType;\n params: any;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class AXPNativeService {\n private isDark: boolean = false;\n\n constructor() {\n if (window.FlutterChannel) {\n window.FlutterChannel.postMessage = (message: string) => {\n try {\n const { action, params } = JSON.parse(message) as Message;\n console.log('FlutterChannel action:', action, 'params:', params);\n switch (action) {\n case MessageType.SetDarkMode:\n // this.setDarkMode(params.isDark);\n break;\n // Handle other message types as needed\n default:\n console.warn('Unhandled message action:', action);\n }\n } catch (error) {\n console.error('Error parsing message from FlutterChannel:', message, error);\n }\n };\n }\n }\n\n setDarkMode(isDarkMode: boolean): void {\n this.isDark = isDarkMode;\n const message: Message = {\n action: MessageType.SetDarkMode,\n params: { isDark: this.isDark },\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n checkNetworkStatus(): void {\n const message: Message = {\n action: MessageType.CheckNetworkStatus,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n getCurrentLocation(): void {\n const message: Message = {\n action: MessageType.GetCurrentLocation,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n setPreferredLanguage(language: string): void {\n const message: Message = {\n action: MessageType.SetPreferredLanguage,\n params: { language },\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n openExternalLink(url: string): void {\n const message: Message = {\n action: MessageType.OpenExternalLink,\n params: { url },\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n authenticateBiometric(): void {\n const message: Message = {\n action: MessageType.AuthenticateBiometric,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n selectImageFromGallery(): void {\n const message: Message = {\n action: MessageType.SelectImageFromGallery,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n selectImageFromCamera(): void {\n const message: Message = {\n action: MessageType.SelectImageFromCamera,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n selectVideoFromGallery(): void {\n const message: Message = {\n action: MessageType.SelectVideoFromGallery,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n selectVideoFromCamera(): void {\n const message: Message = {\n action: MessageType.SelectVideoFromCamera,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n selectFile(): void {\n const message: Message = {\n action: MessageType.SelectFile,\n params: {},\n };\n this.sendMessageToFlutter(JSON.stringify(message));\n }\n\n sendMessageToFlutter(message: string): void {\n if (window.FlutterChannel) {\n window.FlutterChannel.postMessage(message);\n } else {\n console.error('FlutterChannel is not defined');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAf,eAAe,EAAA,CAAA,CAAA,EAAA;+GAAf,eAAe,EAAA,CAAA,CAAA,EAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ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B,cADH,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;AC7BlC;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-platform-native.mjs","sources":["../../../../libs/platform/native/src/lib/native.module.ts","../../../../libs/platform/native/src/lib/native.service.ts","../../../../libs/platform/native/src/acorex-platform-native.ts"],"sourcesContent":["import { NgModule } from \"@angular/core\";\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class AXPNativeModule {\n}\n ","import { Injectable } from '@angular/core';\r\n\r\ndeclare global {\r\n interface Window {\r\n FlutterChannel?: {\r\n postMessage: (message: string) => void;\r\n };\r\n }\r\n}\r\n\r\nenum MessageType {\r\n SetDarkMode,\r\n CheckNetworkStatus,\r\n GetCurrentLocation,\r\n SetPreferredLanguage,\r\n OpenExternalLink,\r\n AuthenticateBiometric,\r\n SelectImageFromGallery,\r\n SelectImageFromCamera,\r\n SelectVideoFromGallery,\r\n SelectVideoFromCamera,\r\n SelectFile,\r\n}\r\n\r\ninterface Message {\r\n action: MessageType;\r\n params: any;\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXPNativeService {\r\n private isDark: boolean = false;\r\n\r\n constructor() {\r\n if (window.FlutterChannel) {\r\n window.FlutterChannel.postMessage = (message: string) => {\r\n try {\r\n const { action, params } = JSON.parse(message) as Message;\r\n console.log('FlutterChannel action:', action, 'params:', params);\r\n switch (action) {\r\n case MessageType.SetDarkMode:\r\n // this.setDarkMode(params.isDark);\r\n break;\r\n // Handle other message types as needed\r\n default:\r\n console.warn('Unhandled message action:', action);\r\n }\r\n } catch (error) {\r\n console.error('Error parsing message from FlutterChannel:', message, error);\r\n }\r\n };\r\n }\r\n }\r\n\r\n setDarkMode(isDarkMode: boolean): void {\r\n this.isDark = isDarkMode;\r\n const message: Message = {\r\n action: MessageType.SetDarkMode,\r\n params: { isDark: this.isDark },\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n checkNetworkStatus(): void {\r\n const message: Message = {\r\n action: MessageType.CheckNetworkStatus,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n getCurrentLocation(): void {\r\n const message: Message = {\r\n action: MessageType.GetCurrentLocation,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n setPreferredLanguage(language: string): void {\r\n const message: Message = {\r\n action: MessageType.SetPreferredLanguage,\r\n params: { language },\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n openExternalLink(url: string): void {\r\n const message: Message = {\r\n action: MessageType.OpenExternalLink,\r\n params: { url },\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n authenticateBiometric(): void {\r\n const message: Message = {\r\n action: MessageType.AuthenticateBiometric,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n selectImageFromGallery(): void {\r\n const message: Message = {\r\n action: MessageType.SelectImageFromGallery,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n selectImageFromCamera(): void {\r\n const message: Message = {\r\n action: MessageType.SelectImageFromCamera,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n selectVideoFromGallery(): void {\r\n const message: Message = {\r\n action: MessageType.SelectVideoFromGallery,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n selectVideoFromCamera(): void {\r\n const message: Message = {\r\n action: MessageType.SelectVideoFromCamera,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n selectFile(): void {\r\n const message: Message = {\r\n action: MessageType.SelectFile,\r\n params: {},\r\n };\r\n this.sendMessageToFlutter(JSON.stringify(message));\r\n }\r\n\r\n sendMessageToFlutter(message: string): void {\r\n if (window.FlutterChannel) {\r\n window.FlutterChannel.postMessage(message);\r\n } else {\r\n console.error('FlutterChannel is not defined');\r\n }\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAf,eAAe,EAAA,CAAA,CAAA,EAAA;+GAAf,eAAe,EAAA,CAAA,CAAA,EAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AACnB,iBAAA,CAAA;;;ACKD,IAAK,WAYJ,CAAA;AAZD,CAAA,UAAK,WAAW,EAAA;AACd,IAAA,WAAA,CAAA,WAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,GAAA,aAAW,CAAA;AACX,IAAA,WAAA,CAAA,WAAA,CAAA,oBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,oBAAkB,CAAA;AAClB,IAAA,WAAA,CAAA,WAAA,CAAA,oBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,oBAAkB,CAAA;AAClB,IAAA,WAAA,CAAA,WAAA,CAAA,sBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,sBAAoB,CAAA;AACpB,IAAA,WAAA,CAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,kBAAgB,CAAA;AAChB,IAAA,WAAA,CAAA,WAAA,CAAA,uBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,uBAAqB,CAAA;AACrB,IAAA,WAAA,CAAA,WAAA,CAAA,wBAAA,CAAA,GAAA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AAA,IAAI,MAAM,CAAC,cAAc,EAAE;AACzB,YAAA,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;SAC5C;aAAM;AACL,YAAA,OAAO,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;SAChD;KACF;8GAvHU,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cADH,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;AC7BlC;;AAEG;;;;"}
@@ -0,0 +1,48 @@
1
+ import * as i3 from '@acorex/components/decorators';
2
+ import { AXDecoratorModule } from '@acorex/components/decorators';
3
+ import { AXPColumnWidgetBase } from '@acorex/platform/layout/builder';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i0 from '@angular/core';
6
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
7
+
8
+ class AXPCheckBoxWidgetColumnComponent extends AXPColumnWidgetBase {
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPCheckBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <div>
11
+ @if(this.rawValue){ @if(trulyText){
12
+ <span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
13
+ }@else {
14
+
15
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
16
+ } }@else { @if(falsyText){
17
+ <span [class]="negative ? 'ax-text-success' : 'ax-text-danger'">{{ falsyText }}</span>
18
+ }@else {
19
+
20
+ <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
21
+ } }
22
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckBoxWidgetColumnComponent, decorators: [{
25
+ type: Component,
26
+ args: [{
27
+ template: ` <div>
28
+ @if(this.rawValue){ @if(trulyText){
29
+ <span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
30
+ }@else {
31
+
32
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
33
+ } }@else { @if(falsyText){
34
+ <span [class]="negative ? 'ax-text-success' : 'ax-text-danger'">{{ falsyText }}</span>
35
+ }@else {
36
+
37
+ <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
38
+ } }
39
+ </div>`,
40
+ standalone: true,
41
+ changeDetection: ChangeDetectionStrategy.OnPush,
42
+ imports: [CommonModule, AXDecoratorModule],
43
+ inputs: [],
44
+ }]
45
+ }] });
46
+
47
+ export { AXPCheckBoxWidgetColumnComponent };
48
+ //# sourceMappingURL=acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs","sources":["../../../../libs/platform/widgets/src/lib/editors/checkbox/checkbox-widget-column.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXPColumnWidgetBase } from '@acorex/platform/layout/builder';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\n@Component({\r\n template: ` <div>\r\n @if(this.rawValue){ @if(trulyText){\r\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\r\n }@else {\r\n\r\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\r\n } }@else { @if(falsyText){\r\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\r\n }@else {\r\n\r\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\r\n } }\r\n </div>`,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule, AXDecoratorModule],\r\n inputs: [],\r\n})\r\nexport class AXPCheckBoxWidgetColumnComponent extends AXPColumnWidgetBase<any> {\r\n protected negative!: boolean;\r\n protected trulyText!: boolean;\r\n protected falsyText!: boolean;\r\n}\r\n"],"names":["i1"],"mappings":";;;;;;;AAuBM,MAAO,gCAAiC,SAAQ,mBAAwB,CAAA;8GAAjE,gCAAgC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gCAAgC,EAlBjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;SAYH,EAGG,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,8BAAE,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG9B,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAnB5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;AAYH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;AAC1C,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;;;;;"}
@@ -0,0 +1,57 @@
1
+ import { AXButtonModule } from '@acorex/components/button';
2
+ import { AXCheckBoxModule } from '@acorex/components/check-box';
3
+ import * as i3 from '@acorex/components/decorators';
4
+ import { AXDecoratorModule } from '@acorex/components/decorators';
5
+ import { AXFormModule } from '@acorex/components/form';
6
+ import { AXValidationModule } from '@acorex/core/validation';
7
+ import { AXPWidgetBase } from '@acorex/platform/layout/builder';
8
+ import { CommonModule } from '@angular/common';
9
+ import * as i0 from '@angular/core';
10
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
11
+ import { FormsModule } from '@angular/forms';
12
+
13
+ class AXPCheckBoxWidgetViewComponent extends AXPWidgetBase {
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPCheckBoxWidgetViewComponent, isStandalone: true, selector: "axp-checkbox-widget-view", usesInheritance: true, ngImport: i0, template: `
16
+ <div class="ax-font-semibold">
17
+ @if(this.getValue()){ @if(trulyText){
18
+ <span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
19
+ }@else {
20
+
21
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
22
+ } }@else { @if(falsyText){
23
+ <span [class]="negative ? 'ax-text-success' : 'ax-text-danger'">{{ falsyText }}</span>
24
+ }@else {
25
+
26
+ <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
27
+ } }
28
+ </div>
29
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckBoxWidgetViewComponent, decorators: [{
32
+ type: Component,
33
+ args: [{
34
+ selector: 'axp-checkbox-widget-view',
35
+ template: `
36
+ <div class="ax-font-semibold">
37
+ @if(this.getValue()){ @if(trulyText){
38
+ <span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
39
+ }@else {
40
+
41
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
42
+ } }@else { @if(falsyText){
43
+ <span [class]="negative ? 'ax-text-success' : 'ax-text-danger'">{{ falsyText }}</span>
44
+ }@else {
45
+
46
+ <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
47
+ } }
48
+ </div>
49
+ `,
50
+ standalone: true,
51
+ changeDetection: ChangeDetectionStrategy.OnPush,
52
+ imports: [CommonModule, AXCheckBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],
53
+ }]
54
+ }] });
55
+
56
+ export { AXPCheckBoxWidgetViewComponent };
57
+ //# sourceMappingURL=acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs","sources":["../../../../libs/platform/widgets/src/lib/editors/checkbox/checkbox-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\r\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXFormModule } from '@acorex/components/form';\r\nimport { AXValidationModule } from '@acorex/core/validation';\r\nimport { AXPWidgetBase } from '@acorex/platform/layout/builder';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'axp-checkbox-widget-view',\r\n template: `\r\n <div class=\"ax-font-semibold\">\r\n @if(this.getValue()){ @if(trulyText){\r\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\r\n }@else {\r\n\r\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\r\n } }@else { @if(falsyText){\r\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\r\n }@else {\r\n\r\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\r\n } }\r\n </div>\r\n `,\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [CommonModule, AXCheckBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],\r\n})\r\nexport class AXPCheckBoxWidgetViewComponent extends AXPWidgetBase<boolean | null> {\r\n protected negative!: boolean;\r\n protected trulyText!: boolean;\r\n protected falsyText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