@acorex-platform/framework-shared 0.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 (458) hide show
  1. package/acorex-platform-framework-shared-0.0.1.tgz +0 -0
  2. package/core/src/index.d.ts +2 -0
  3. package/core/src/index.d.ts.map +1 -0
  4. package/core/src/index.js +5 -0
  5. package/core/src/index.js.map +1 -0
  6. package/core/src/lib/core/actions.types.d.ts +724 -0
  7. package/core/src/lib/core/actions.types.d.ts.map +1 -0
  8. package/core/src/lib/core/actions.types.js +851 -0
  9. package/core/src/lib/core/actions.types.js.map +1 -0
  10. package/core/src/lib/core/context.types.d.ts +23 -0
  11. package/core/src/lib/core/context.types.d.ts.map +1 -0
  12. package/core/src/lib/core/context.types.js +9 -0
  13. package/core/src/lib/core/context.types.js.map +1 -0
  14. package/core/src/lib/core/core.types.d.ts +193 -0
  15. package/core/src/lib/core/core.types.d.ts.map +1 -0
  16. package/core/src/lib/core/core.types.js +90 -0
  17. package/core/src/lib/core/core.types.js.map +1 -0
  18. package/core/src/lib/core/index.d.ts +8 -0
  19. package/core/src/lib/core/index.d.ts.map +1 -0
  20. package/core/src/lib/core/index.js +13 -0
  21. package/core/src/lib/core/index.js.map +1 -0
  22. package/core/src/lib/core/logo.types.d.ts +13 -0
  23. package/core/src/lib/core/logo.types.d.ts.map +1 -0
  24. package/core/src/lib/core/logo.types.js +5 -0
  25. package/core/src/lib/core/logo.types.js.map +1 -0
  26. package/core/src/lib/core/response.types.d.ts +10 -0
  27. package/core/src/lib/core/response.types.d.ts.map +1 -0
  28. package/core/src/lib/core/response.types.js +5 -0
  29. package/core/src/lib/core/response.types.js.map +1 -0
  30. package/core/src/lib/core/scope.types.d.ts +9 -0
  31. package/core/src/lib/core/scope.types.d.ts.map +1 -0
  32. package/core/src/lib/core/scope.types.js +32 -0
  33. package/core/src/lib/core/scope.types.js.map +1 -0
  34. package/core/src/lib/core/shims.types.d.ts +20 -0
  35. package/core/src/lib/core/shims.types.d.ts.map +1 -0
  36. package/core/src/lib/core/shims.types.js +5 -0
  37. package/core/src/lib/core/shims.types.js.map +1 -0
  38. package/core/src/lib/data/column.types.d.ts +6 -0
  39. package/core/src/lib/data/column.types.d.ts.map +1 -0
  40. package/core/src/lib/data/column.types.js +5 -0
  41. package/core/src/lib/data/column.types.js.map +1 -0
  42. package/core/src/lib/data/data.types.d.ts +40 -0
  43. package/core/src/lib/data/data.types.d.ts.map +1 -0
  44. package/core/src/lib/data/data.types.js +5 -0
  45. package/core/src/lib/data/data.types.js.map +1 -0
  46. package/core/src/lib/data/export.types.d.ts +64 -0
  47. package/core/src/lib/data/export.types.d.ts.map +1 -0
  48. package/core/src/lib/data/export.types.js +14 -0
  49. package/core/src/lib/data/export.types.js.map +1 -0
  50. package/core/src/lib/data/filter.types.d.ts +42 -0
  51. package/core/src/lib/data/filter.types.d.ts.map +1 -0
  52. package/core/src/lib/data/filter.types.js +5 -0
  53. package/core/src/lib/data/filter.types.js.map +1 -0
  54. package/core/src/lib/data/index.d.ts +7 -0
  55. package/core/src/lib/data/index.d.ts.map +1 -0
  56. package/core/src/lib/data/index.js +12 -0
  57. package/core/src/lib/data/index.js.map +1 -0
  58. package/core/src/lib/data/multi-source.types.d.ts +8 -0
  59. package/core/src/lib/data/multi-source.types.d.ts.map +1 -0
  60. package/core/src/lib/data/multi-source.types.js +5 -0
  61. package/core/src/lib/data/multi-source.types.js.map +1 -0
  62. package/core/src/lib/data/sort.types.d.ts +8 -0
  63. package/core/src/lib/data/sort.types.d.ts.map +1 -0
  64. package/core/src/lib/data/sort.types.js +5 -0
  65. package/core/src/lib/data/sort.types.js.map +1 -0
  66. package/core/src/lib/domain/address.types.d.ts +38 -0
  67. package/core/src/lib/domain/address.types.d.ts.map +1 -0
  68. package/core/src/lib/domain/address.types.js +5 -0
  69. package/core/src/lib/domain/address.types.js.map +1 -0
  70. package/core/src/lib/domain/ai-output.types.d.ts +5 -0
  71. package/core/src/lib/domain/ai-output.types.d.ts.map +1 -0
  72. package/core/src/lib/domain/ai-output.types.js +5 -0
  73. package/core/src/lib/domain/ai-output.types.js.map +1 -0
  74. package/core/src/lib/domain/file-storage.types.d.ts +203 -0
  75. package/core/src/lib/domain/file-storage.types.d.ts.map +1 -0
  76. package/core/src/lib/domain/file-storage.types.js +12 -0
  77. package/core/src/lib/domain/file-storage.types.js.map +1 -0
  78. package/core/src/lib/domain/index.d.ts +6 -0
  79. package/core/src/lib/domain/index.d.ts.map +1 -0
  80. package/core/src/lib/domain/index.js +11 -0
  81. package/core/src/lib/domain/index.js.map +1 -0
  82. package/core/src/lib/domain/metadata.types.d.ts +25 -0
  83. package/core/src/lib/domain/metadata.types.d.ts.map +1 -0
  84. package/core/src/lib/domain/metadata.types.js +3 -0
  85. package/core/src/lib/domain/metadata.types.js.map +1 -0
  86. package/core/src/lib/domain/spreadsheet.types.d.ts +4 -0
  87. package/core/src/lib/domain/spreadsheet.types.d.ts.map +1 -0
  88. package/core/src/lib/domain/spreadsheet.types.js +5 -0
  89. package/core/src/lib/domain/spreadsheet.types.js.map +1 -0
  90. package/core/src/lib/index.d.ts +14 -0
  91. package/core/src/lib/index.d.ts.map +1 -0
  92. package/core/src/lib/index.js +19 -0
  93. package/core/src/lib/index.js.map +1 -0
  94. package/core/src/lib/integration/index.d.ts +4 -0
  95. package/core/src/lib/integration/index.d.ts.map +1 -0
  96. package/core/src/lib/integration/index.js +9 -0
  97. package/core/src/lib/integration/index.js.map +1 -0
  98. package/core/src/lib/integration/integration-connection.safe-types.d.ts +54 -0
  99. package/core/src/lib/integration/integration-connection.safe-types.d.ts.map +1 -0
  100. package/core/src/lib/integration/integration-connection.safe-types.js +4 -0
  101. package/core/src/lib/integration/integration-connection.safe-types.js.map +1 -0
  102. package/core/src/lib/integration/integration-status.constants.d.ts +49 -0
  103. package/core/src/lib/integration/integration-status.constants.d.ts.map +1 -0
  104. package/core/src/lib/integration/integration-status.constants.js +57 -0
  105. package/core/src/lib/integration/integration-status.constants.js.map +1 -0
  106. package/core/src/lib/integration/integration.types.d.ts +120 -0
  107. package/core/src/lib/integration/integration.types.d.ts.map +1 -0
  108. package/core/src/lib/integration/integration.types.js +33 -0
  109. package/core/src/lib/integration/integration.types.js.map +1 -0
  110. package/core/src/lib/interaction/index.d.ts +4 -0
  111. package/core/src/lib/interaction/index.d.ts.map +1 -0
  112. package/core/src/lib/interaction/index.js +9 -0
  113. package/core/src/lib/interaction/index.js.map +1 -0
  114. package/core/src/lib/interaction/interactive.types.d.ts +65 -0
  115. package/core/src/lib/interaction/interactive.types.d.ts.map +1 -0
  116. package/core/src/lib/interaction/interactive.types.js +5 -0
  117. package/core/src/lib/interaction/interactive.types.js.map +1 -0
  118. package/core/src/lib/interaction/view-query.types.d.ts +11 -0
  119. package/core/src/lib/interaction/view-query.types.d.ts.map +1 -0
  120. package/core/src/lib/interaction/view-query.types.js +5 -0
  121. package/core/src/lib/interaction/view-query.types.js.map +1 -0
  122. package/core/src/lib/interaction/view.types.d.ts +34 -0
  123. package/core/src/lib/interaction/view.types.d.ts.map +1 -0
  124. package/core/src/lib/interaction/view.types.js +5 -0
  125. package/core/src/lib/interaction/view.types.js.map +1 -0
  126. package/core/src/lib/keys/index.d.ts +4 -0
  127. package/core/src/lib/keys/index.d.ts.map +1 -0
  128. package/core/src/lib/keys/index.js +9 -0
  129. package/core/src/lib/keys/index.js.map +1 -0
  130. package/core/src/lib/keys/platform-core-datasource.keys.d.ts +6 -0
  131. package/core/src/lib/keys/platform-core-datasource.keys.d.ts.map +1 -0
  132. package/core/src/lib/keys/platform-core-datasource.keys.js +11 -0
  133. package/core/src/lib/keys/platform-core-datasource.keys.js.map +1 -0
  134. package/core/src/lib/keys/preview-widget-field.command.key.d.ts +3 -0
  135. package/core/src/lib/keys/preview-widget-field.command.key.d.ts.map +1 -0
  136. package/core/src/lib/keys/preview-widget-field.command.key.js +6 -0
  137. package/core/src/lib/keys/preview-widget-field.command.key.js.map +1 -0
  138. package/core/src/lib/keys/regional-settings.keys.d.ts +31 -0
  139. package/core/src/lib/keys/regional-settings.keys.d.ts.map +1 -0
  140. package/core/src/lib/keys/regional-settings.keys.js +37 -0
  141. package/core/src/lib/keys/regional-settings.keys.js.map +1 -0
  142. package/core/src/lib/mock/index.d.ts +2 -0
  143. package/core/src/lib/mock/index.d.ts.map +1 -0
  144. package/core/src/lib/mock/index.js +7 -0
  145. package/core/src/lib/mock/index.js.map +1 -0
  146. package/core/src/lib/mock/mock-data.shims.d.ts +39 -0
  147. package/core/src/lib/mock/mock-data.shims.d.ts.map +1 -0
  148. package/core/src/lib/mock/mock-data.shims.js +191 -0
  149. package/core/src/lib/mock/mock-data.shims.js.map +1 -0
  150. package/core/src/lib/multi-language-string/compare-axp-multi-language-string.d.ts +16 -0
  151. package/core/src/lib/multi-language-string/compare-axp-multi-language-string.d.ts.map +1 -0
  152. package/core/src/lib/multi-language-string/compare-axp-multi-language-string.js +39 -0
  153. package/core/src/lib/multi-language-string/compare-axp-multi-language-string.js.map +1 -0
  154. package/core/src/lib/multi-language-string/index.d.ts +4 -0
  155. package/core/src/lib/multi-language-string/index.d.ts.map +1 -0
  156. package/core/src/lib/multi-language-string/index.js +9 -0
  157. package/core/src/lib/multi-language-string/index.js.map +1 -0
  158. package/core/src/lib/multi-language-string/locale-map-value.util.d.ts +10 -0
  159. package/core/src/lib/multi-language-string/locale-map-value.util.d.ts.map +1 -0
  160. package/core/src/lib/multi-language-string/locale-map-value.util.js +41 -0
  161. package/core/src/lib/multi-language-string/locale-map-value.util.js.map +1 -0
  162. package/core/src/lib/multi-language-string/resolve-multi-language-string.util.d.ts +6 -0
  163. package/core/src/lib/multi-language-string/resolve-multi-language-string.util.d.ts.map +1 -0
  164. package/core/src/lib/multi-language-string/resolve-multi-language-string.util.js +33 -0
  165. package/core/src/lib/multi-language-string/resolve-multi-language-string.util.js.map +1 -0
  166. package/core/src/lib/property/element.types.d.ts +2 -0
  167. package/core/src/lib/property/element.types.d.ts.map +1 -0
  168. package/core/src/lib/property/element.types.js +5 -0
  169. package/core/src/lib/property/element.types.js.map +1 -0
  170. package/core/src/lib/property/file.types.d.ts +2 -0
  171. package/core/src/lib/property/file.types.d.ts.map +1 -0
  172. package/core/src/lib/property/file.types.js +5 -0
  173. package/core/src/lib/property/file.types.js.map +1 -0
  174. package/core/src/lib/property/index.d.ts +5 -0
  175. package/core/src/lib/property/index.d.ts.map +1 -0
  176. package/core/src/lib/property/index.js +10 -0
  177. package/core/src/lib/property/index.js.map +1 -0
  178. package/core/src/lib/property/property.types.d.ts +24 -0
  179. package/core/src/lib/property/property.types.d.ts.map +1 -0
  180. package/core/src/lib/property/property.types.js +5 -0
  181. package/core/src/lib/property/property.types.js.map +1 -0
  182. package/core/src/lib/property/validation.types.d.ts +31 -0
  183. package/core/src/lib/property/validation.types.d.ts.map +1 -0
  184. package/core/src/lib/property/validation.types.js +5 -0
  185. package/core/src/lib/property/validation.types.js.map +1 -0
  186. package/core/src/lib/status/index.d.ts +4 -0
  187. package/core/src/lib/status/index.d.ts.map +1 -0
  188. package/core/src/lib/status/index.js +9 -0
  189. package/core/src/lib/status/index.js.map +1 -0
  190. package/core/src/lib/status/status-definition.types.d.ts +110 -0
  191. package/core/src/lib/status/status-definition.types.d.ts.map +1 -0
  192. package/core/src/lib/status/status-definition.types.js +16 -0
  193. package/core/src/lib/status/status-definition.types.js.map +1 -0
  194. package/core/src/lib/status/status.types.d.ts +28 -0
  195. package/core/src/lib/status/status.types.d.ts.map +1 -0
  196. package/core/src/lib/status/status.types.js +34 -0
  197. package/core/src/lib/status/status.types.js.map +1 -0
  198. package/core/src/lib/status/statuses.types.d.ts +279 -0
  199. package/core/src/lib/status/statuses.types.d.ts.map +1 -0
  200. package/core/src/lib/status/statuses.types.js +320 -0
  201. package/core/src/lib/status/statuses.types.js.map +1 -0
  202. package/core/src/lib/utils/index.d.ts +4 -0
  203. package/core/src/lib/utils/index.d.ts.map +1 -0
  204. package/core/src/lib/utils/index.js +9 -0
  205. package/core/src/lib/utils/index.js.map +1 -0
  206. package/core/src/lib/utils/object-util.d.ts +57 -0
  207. package/core/src/lib/utils/object-util.d.ts.map +1 -0
  208. package/core/src/lib/utils/object-util.js +679 -0
  209. package/core/src/lib/utils/object-util.js.map +1 -0
  210. package/core/src/lib/utils/scalar-coercion.d.ts +17 -0
  211. package/core/src/lib/utils/scalar-coercion.d.ts.map +1 -0
  212. package/core/src/lib/utils/scalar-coercion.js +95 -0
  213. package/core/src/lib/utils/scalar-coercion.js.map +1 -0
  214. package/core/src/lib/utils/string.util.d.ts +11 -0
  215. package/core/src/lib/utils/string.util.d.ts.map +1 -0
  216. package/core/src/lib/utils/string.util.js +37 -0
  217. package/core/src/lib/utils/string.util.js.map +1 -0
  218. package/core/src/lib/widgets/index.d.ts +4 -0
  219. package/core/src/lib/widgets/index.d.ts.map +1 -0
  220. package/core/src/lib/widgets/index.js +9 -0
  221. package/core/src/lib/widgets/index.js.map +1 -0
  222. package/core/src/lib/widgets/widget-node.types.d.ts +16 -0
  223. package/core/src/lib/widgets/widget-node.types.d.ts.map +1 -0
  224. package/core/src/lib/widgets/widget-node.types.js +5 -0
  225. package/core/src/lib/widgets/widget-node.types.js.map +1 -0
  226. package/core/src/lib/widgets/widgets-catalog.d.ts +100 -0
  227. package/core/src/lib/widgets/widgets-catalog.d.ts.map +1 -0
  228. package/core/src/lib/widgets/widgets-catalog.js +105 -0
  229. package/core/src/lib/widgets/widgets-catalog.js.map +1 -0
  230. package/core/src/lib/widgets/widgets-list.d.ts +116 -0
  231. package/core/src/lib/widgets/widgets-list.d.ts.map +1 -0
  232. package/core/src/lib/widgets/widgets-list.js +154 -0
  233. package/core/src/lib/widgets/widgets-list.js.map +1 -0
  234. package/core/src/lib/workflow/activity.types.d.ts +133 -0
  235. package/core/src/lib/workflow/activity.types.d.ts.map +1 -0
  236. package/core/src/lib/workflow/activity.types.js +8 -0
  237. package/core/src/lib/workflow/activity.types.js.map +1 -0
  238. package/core/src/lib/workflow/index.d.ts +4 -0
  239. package/core/src/lib/workflow/index.d.ts.map +1 -0
  240. package/core/src/lib/workflow/index.js +9 -0
  241. package/core/src/lib/workflow/index.js.map +1 -0
  242. package/core/src/lib/workflow/workflow-definition.types.d.ts +182 -0
  243. package/core/src/lib/workflow/workflow-definition.types.d.ts.map +1 -0
  244. package/core/src/lib/workflow/workflow-definition.types.js +4 -0
  245. package/core/src/lib/workflow/workflow-definition.types.js.map +1 -0
  246. package/core/src/lib/workflow/workflow-instance.types.d.ts +375 -0
  247. package/core/src/lib/workflow/workflow-instance.types.d.ts.map +1 -0
  248. package/core/src/lib/workflow/workflow-instance.types.js +8 -0
  249. package/core/src/lib/workflow/workflow-instance.types.js.map +1 -0
  250. package/domain/src/index.d.ts +2 -0
  251. package/domain/src/index.d.ts.map +1 -0
  252. package/domain/src/index.js +5 -0
  253. package/domain/src/index.js.map +1 -0
  254. package/domain/src/lib/definitions/aggregate-definition.types.d.ts +18 -0
  255. package/domain/src/lib/definitions/aggregate-definition.types.d.ts.map +1 -0
  256. package/domain/src/lib/definitions/aggregate-definition.types.js +4 -0
  257. package/domain/src/lib/definitions/aggregate-definition.types.js.map +1 -0
  258. package/domain/src/lib/definitions/base.types.d.ts +36 -0
  259. package/domain/src/lib/definitions/base.types.d.ts.map +1 -0
  260. package/domain/src/lib/definitions/base.types.js +17 -0
  261. package/domain/src/lib/definitions/base.types.js.map +1 -0
  262. package/domain/src/lib/definitions/command-registry.types.d.ts +34 -0
  263. package/domain/src/lib/definitions/command-registry.types.d.ts.map +1 -0
  264. package/domain/src/lib/definitions/command-registry.types.js +4 -0
  265. package/domain/src/lib/definitions/command-registry.types.js.map +1 -0
  266. package/domain/src/lib/definitions/entity-definition.types.d.ts +50 -0
  267. package/domain/src/lib/definitions/entity-definition.types.d.ts.map +1 -0
  268. package/domain/src/lib/definitions/entity-definition.types.js +10 -0
  269. package/domain/src/lib/definitions/entity-definition.types.js.map +1 -0
  270. package/domain/src/lib/definitions/interface-definition.types.d.ts +31 -0
  271. package/domain/src/lib/definitions/interface-definition.types.d.ts.map +1 -0
  272. package/domain/src/lib/definitions/interface-definition.types.js +3 -0
  273. package/domain/src/lib/definitions/interface-definition.types.js.map +1 -0
  274. package/domain/src/lib/definitions/menu-definition.types.d.ts +57 -0
  275. package/domain/src/lib/definitions/menu-definition.types.d.ts.map +1 -0
  276. package/domain/src/lib/definitions/menu-definition.types.js +5 -0
  277. package/domain/src/lib/definitions/menu-definition.types.js.map +1 -0
  278. package/domain/src/lib/definitions/module-definition.types.d.ts +7 -0
  279. package/domain/src/lib/definitions/module-definition.types.d.ts.map +1 -0
  280. package/domain/src/lib/definitions/module-definition.types.js +3 -0
  281. package/domain/src/lib/definitions/module-definition.types.js.map +1 -0
  282. package/domain/src/lib/definitions/permission-definition.types.d.ts +41 -0
  283. package/domain/src/lib/definitions/permission-definition.types.d.ts.map +1 -0
  284. package/domain/src/lib/definitions/permission-definition.types.js +5 -0
  285. package/domain/src/lib/definitions/permission-definition.types.js.map +1 -0
  286. package/domain/src/lib/definitions/plugin-definition.types.d.ts +23 -0
  287. package/domain/src/lib/definitions/plugin-definition.types.d.ts.map +1 -0
  288. package/domain/src/lib/definitions/plugin-definition.types.js +3 -0
  289. package/domain/src/lib/definitions/plugin-definition.types.js.map +1 -0
  290. package/domain/src/lib/definitions/property-definition.types.d.ts +33 -0
  291. package/domain/src/lib/definitions/property-definition.types.d.ts.map +1 -0
  292. package/domain/src/lib/definitions/property-definition.types.js +3 -0
  293. package/domain/src/lib/definitions/property-definition.types.js.map +1 -0
  294. package/domain/src/lib/definitions/query-registry.types.d.ts +32 -0
  295. package/domain/src/lib/definitions/query-registry.types.d.ts.map +1 -0
  296. package/domain/src/lib/definitions/query-registry.types.js +4 -0
  297. package/domain/src/lib/definitions/query-registry.types.js.map +1 -0
  298. package/domain/src/lib/definitions/relation-definition.types.d.ts +31 -0
  299. package/domain/src/lib/definitions/relation-definition.types.d.ts.map +1 -0
  300. package/domain/src/lib/definitions/relation-definition.types.js +16 -0
  301. package/domain/src/lib/definitions/relation-definition.types.js.map +1 -0
  302. package/domain/src/lib/definitions/validation-definition.types.d.ts +29 -0
  303. package/domain/src/lib/definitions/validation-definition.types.d.ts.map +1 -0
  304. package/domain/src/lib/definitions/validation-definition.types.js +3 -0
  305. package/domain/src/lib/definitions/validation-definition.types.js.map +1 -0
  306. package/domain/src/lib/definitions/widget-catalog.types.d.ts +14 -0
  307. package/domain/src/lib/definitions/widget-catalog.types.d.ts.map +1 -0
  308. package/domain/src/lib/definitions/widget-catalog.types.js +5 -0
  309. package/domain/src/lib/definitions/widget-catalog.types.js.map +1 -0
  310. package/domain/src/lib/index.d.ts +15 -0
  311. package/domain/src/lib/index.d.ts.map +1 -0
  312. package/domain/src/lib/index.js +20 -0
  313. package/domain/src/lib/index.js.map +1 -0
  314. package/entity/src/index.d.ts +2 -0
  315. package/entity/src/index.d.ts.map +1 -0
  316. package/entity/src/index.js +5 -0
  317. package/entity/src/index.js.map +1 -0
  318. package/entity/src/lib/constants/entity-datasource.keys.d.ts +5 -0
  319. package/entity/src/lib/constants/entity-datasource.keys.d.ts.map +1 -0
  320. package/entity/src/lib/constants/entity-datasource.keys.js +10 -0
  321. package/entity/src/lib/constants/entity-datasource.keys.js.map +1 -0
  322. package/entity/src/lib/constants/entity-display.constants.d.ts +7 -0
  323. package/entity/src/lib/constants/entity-display.constants.d.ts.map +1 -0
  324. package/entity/src/lib/constants/entity-display.constants.js +12 -0
  325. package/entity/src/lib/constants/entity-display.constants.js.map +1 -0
  326. package/entity/src/lib/constants/entity-events.keys.d.ts +5 -0
  327. package/entity/src/lib/constants/entity-events.keys.d.ts.map +1 -0
  328. package/entity/src/lib/constants/entity-events.keys.js +10 -0
  329. package/entity/src/lib/constants/entity-events.keys.js.map +1 -0
  330. package/entity/src/lib/constants/index.d.ts +4 -0
  331. package/entity/src/lib/constants/index.d.ts.map +1 -0
  332. package/entity/src/lib/constants/index.js +9 -0
  333. package/entity/src/lib/constants/index.js.map +1 -0
  334. package/entity/src/lib/helpers/entity-action.helpers.d.ts +31 -0
  335. package/entity/src/lib/helpers/entity-action.helpers.d.ts.map +1 -0
  336. package/entity/src/lib/helpers/entity-action.helpers.js +270 -0
  337. package/entity/src/lib/helpers/entity-action.helpers.js.map +1 -0
  338. package/entity/src/lib/helpers/index.d.ts +2 -0
  339. package/entity/src/lib/helpers/index.d.ts.map +1 -0
  340. package/entity/src/lib/helpers/index.js +7 -0
  341. package/entity/src/lib/helpers/index.js.map +1 -0
  342. package/entity/src/lib/index.d.ts +5 -0
  343. package/entity/src/lib/index.d.ts.map +1 -0
  344. package/entity/src/lib/index.js +10 -0
  345. package/entity/src/lib/index.js.map +1 -0
  346. package/entity/src/lib/types/entity-action.types.d.ts +69 -0
  347. package/entity/src/lib/types/entity-action.types.d.ts.map +1 -0
  348. package/entity/src/lib/types/entity-action.types.js +18 -0
  349. package/entity/src/lib/types/entity-action.types.js.map +1 -0
  350. package/entity/src/lib/types/entity-card-field.types.d.ts +38 -0
  351. package/entity/src/lib/types/entity-card-field.types.d.ts.map +1 -0
  352. package/entity/src/lib/types/entity-card-field.types.js +25 -0
  353. package/entity/src/lib/types/entity-card-field.types.js.map +1 -0
  354. package/entity/src/lib/types/entity-definition.types.d.ts +182 -0
  355. package/entity/src/lib/types/entity-definition.types.d.ts.map +1 -0
  356. package/entity/src/lib/types/entity-definition.types.js +44 -0
  357. package/entity/src/lib/types/entity-definition.types.js.map +1 -0
  358. package/entity/src/lib/types/entity-detail-list.types.d.ts +9 -0
  359. package/entity/src/lib/types/entity-detail-list.types.d.ts.map +1 -0
  360. package/entity/src/lib/types/entity-detail-list.types.js +5 -0
  361. package/entity/src/lib/types/entity-detail-list.types.js.map +1 -0
  362. package/entity/src/lib/types/entity-display-field.types.d.ts +35 -0
  363. package/entity/src/lib/types/entity-display-field.types.d.ts.map +1 -0
  364. package/entity/src/lib/types/entity-display-field.types.js +5 -0
  365. package/entity/src/lib/types/entity-display-field.types.js.map +1 -0
  366. package/entity/src/lib/types/entity-formats.types.d.ts +12 -0
  367. package/entity/src/lib/types/entity-formats.types.d.ts.map +1 -0
  368. package/entity/src/lib/types/entity-formats.types.js +5 -0
  369. package/entity/src/lib/types/entity-formats.types.js.map +1 -0
  370. package/entity/src/lib/types/entity-layout-view.types.d.ts +34 -0
  371. package/entity/src/lib/types/entity-layout-view.types.d.ts.map +1 -0
  372. package/entity/src/lib/types/entity-layout-view.types.js +5 -0
  373. package/entity/src/lib/types/entity-layout-view.types.js.map +1 -0
  374. package/entity/src/lib/types/entity-list-filter.types.d.ts +27 -0
  375. package/entity/src/lib/types/entity-list-filter.types.d.ts.map +1 -0
  376. package/entity/src/lib/types/entity-list-filter.types.js +39 -0
  377. package/entity/src/lib/types/entity-list-filter.types.js.map +1 -0
  378. package/entity/src/lib/types/entity-master-list.types.d.ts +44 -0
  379. package/entity/src/lib/types/entity-master-list.types.d.ts.map +1 -0
  380. package/entity/src/lib/types/entity-master-list.types.js +26 -0
  381. package/entity/src/lib/types/entity-master-list.types.js.map +1 -0
  382. package/entity/src/lib/types/entity-model.types.d.ts +52 -0
  383. package/entity/src/lib/types/entity-model.types.d.ts.map +1 -0
  384. package/entity/src/lib/types/entity-model.types.js +5 -0
  385. package/entity/src/lib/types/entity-model.types.js.map +1 -0
  386. package/entity/src/lib/types/entity-property-list.types.d.ts +21 -0
  387. package/entity/src/lib/types/entity-property-list.types.d.ts.map +1 -0
  388. package/entity/src/lib/types/entity-property-list.types.js +5 -0
  389. package/entity/src/lib/types/entity-property-list.types.js.map +1 -0
  390. package/entity/src/lib/types/entity-property.types.d.ts +67 -0
  391. package/entity/src/lib/types/entity-property.types.d.ts.map +1 -0
  392. package/entity/src/lib/types/entity-property.types.js +5 -0
  393. package/entity/src/lib/types/entity-property.types.js.map +1 -0
  394. package/entity/src/lib/types/entity-query-view.types.d.ts +32 -0
  395. package/entity/src/lib/types/entity-query-view.types.d.ts.map +1 -0
  396. package/entity/src/lib/types/entity-query-view.types.js +36 -0
  397. package/entity/src/lib/types/entity-query-view.types.js.map +1 -0
  398. package/entity/src/lib/types/entity-related-layout.types.d.ts +65 -0
  399. package/entity/src/lib/types/entity-related-layout.types.d.ts.map +1 -0
  400. package/entity/src/lib/types/entity-related-layout.types.js +5 -0
  401. package/entity/src/lib/types/entity-related-layout.types.js.map +1 -0
  402. package/entity/src/lib/types/entity-storage.types.d.ts +43 -0
  403. package/entity/src/lib/types/entity-storage.types.d.ts.map +1 -0
  404. package/entity/src/lib/types/entity-storage.types.js +4 -0
  405. package/entity/src/lib/types/entity-storage.types.js.map +1 -0
  406. package/entity/src/lib/types/index.d.ts +17 -0
  407. package/entity/src/lib/types/index.d.ts.map +1 -0
  408. package/entity/src/lib/types/index.js +22 -0
  409. package/entity/src/lib/types/index.js.map +1 -0
  410. package/entity/src/lib/types/lookup-widget.types.d.ts +79 -0
  411. package/entity/src/lib/types/lookup-widget.types.d.ts.map +1 -0
  412. package/entity/src/lib/types/lookup-widget.types.js +4 -0
  413. package/entity/src/lib/types/lookup-widget.types.js.map +1 -0
  414. package/entity/src/lib/utils/entity-display-template.util.d.ts +17 -0
  415. package/entity/src/lib/utils/entity-display-template.util.d.ts.map +1 -0
  416. package/entity/src/lib/utils/entity-display-template.util.js +57 -0
  417. package/entity/src/lib/utils/entity-display-template.util.js.map +1 -0
  418. package/entity/src/lib/utils/entity-list-filter-definitions.util.d.ts +17 -0
  419. package/entity/src/lib/utils/entity-list-filter-definitions.util.d.ts.map +1 -0
  420. package/entity/src/lib/utils/entity-list-filter-definitions.util.js +144 -0
  421. package/entity/src/lib/utils/entity-list-filter-definitions.util.js.map +1 -0
  422. package/entity/src/lib/utils/entity-list-sortable-fields.util.d.ts +14 -0
  423. package/entity/src/lib/utils/entity-list-sortable-fields.util.d.ts.map +1 -0
  424. package/entity/src/lib/utils/entity-list-sortable-fields.util.js +95 -0
  425. package/entity/src/lib/utils/entity-list-sortable-fields.util.js.map +1 -0
  426. package/entity/src/lib/utils/entity-merge-detail-list-properties.util.d.ts +16 -0
  427. package/entity/src/lib/utils/entity-merge-detail-list-properties.util.d.ts.map +1 -0
  428. package/entity/src/lib/utils/entity-merge-detail-list-properties.util.js +75 -0
  429. package/entity/src/lib/utils/entity-merge-detail-list-properties.util.js.map +1 -0
  430. package/entity/src/lib/utils/entity-property-display-path.util.d.ts +36 -0
  431. package/entity/src/lib/utils/entity-property-display-path.util.d.ts.map +1 -0
  432. package/entity/src/lib/utils/entity-property-display-path.util.js +97 -0
  433. package/entity/src/lib/utils/entity-property-display-path.util.js.map +1 -0
  434. package/entity/src/lib/utils/entity-quick-search-paths.util.d.ts +19 -0
  435. package/entity/src/lib/utils/entity-quick-search-paths.util.d.ts.map +1 -0
  436. package/entity/src/lib/utils/entity-quick-search-paths.util.js +149 -0
  437. package/entity/src/lib/utils/entity-quick-search-paths.util.js.map +1 -0
  438. package/entity/src/lib/utils/entity-search-title-context.util.d.ts +21 -0
  439. package/entity/src/lib/utils/entity-search-title-context.util.d.ts.map +1 -0
  440. package/entity/src/lib/utils/entity-search-title-context.util.js +127 -0
  441. package/entity/src/lib/utils/entity-search-title-context.util.js.map +1 -0
  442. package/entity/src/lib/utils/entity-workflow-record.util.d.ts +23 -0
  443. package/entity/src/lib/utils/entity-workflow-record.util.d.ts.map +1 -0
  444. package/entity/src/lib/utils/entity-workflow-record.util.js +38 -0
  445. package/entity/src/lib/utils/entity-workflow-record.util.js.map +1 -0
  446. package/entity/src/lib/utils/index.d.ts +10 -0
  447. package/entity/src/lib/utils/index.d.ts.map +1 -0
  448. package/entity/src/lib/utils/index.js +15 -0
  449. package/entity/src/lib/utils/index.js.map +1 -0
  450. package/entity/src/lib/utils/lookup-create-options.util.d.ts +10 -0
  451. package/entity/src/lib/utils/lookup-create-options.util.d.ts.map +1 -0
  452. package/entity/src/lib/utils/lookup-create-options.util.js +27 -0
  453. package/entity/src/lib/utils/lookup-create-options.util.js.map +1 -0
  454. package/index.d.ts +3 -0
  455. package/index.d.ts.map +1 -0
  456. package/index.js +4 -0
  457. package/index.js.map +1 -0
  458. package/package.json +21 -0
@@ -0,0 +1,182 @@
1
+ import type { AXPExpression, AXPOptionsData, AXPValidationRules, AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
+ import type { AXPEntityDetailListView } from './entity-detail-list.types';
3
+ import type { AXPEntityFormats } from './entity-formats.types';
4
+ import type { AXPEntityTableColumn } from './entity-display-field.types';
5
+ import type { AXPEntityMasterCreateLayoutView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView } from './entity-layout-view.types';
6
+ import type { AXPEntityMasterListView } from './entity-master-list.types';
7
+ import type { AXPRelatedEntity } from './entity-related-layout.types';
8
+ import type { AXPQueryFilter } from './entity-query-view.types';
9
+ import type { AXPEntityCommand, AXPEntityQuery } from './entity-action.types';
10
+ import type { AXPEntityProperty, AXPEntityPropertyGroup } from './entity-property.types';
11
+ export declare enum AXPRelationshipKind {
12
+ Association = 0,
13
+ Composition = 1,
14
+ Aggregation = 2
15
+ }
16
+ export declare enum AXPRelationshipCardinality {
17
+ OneToOne = 0,
18
+ OneToMany = 1,
19
+ ManyToMany = 2
20
+ }
21
+ export interface AXPRelationship {
22
+ id: string;
23
+ from: string;
24
+ to: string;
25
+ kind: AXPRelationshipKind;
26
+ cardinality: AXPRelationshipCardinality;
27
+ }
28
+ export interface AXPEntity {
29
+ plugins?: {
30
+ name: string;
31
+ options?: AXPOptionsData;
32
+ }[];
33
+ /**
34
+ * High-level rules: when expression evaluates true, apply actions to the given targets
35
+ * (property/section/action). Reduces repetition of the same condition across many properties.
36
+ * Evaluation context: form data, user, entity; precedence vs property-level visible/readonly
37
+ * must be defined where rules are applied.
38
+ */
39
+ rules?: Array<{
40
+ name: string;
41
+ expression: AXPExpression;
42
+ actions: Array<{
43
+ target: {
44
+ type: 'property' | 'section' | 'action';
45
+ name: string;
46
+ };
47
+ values: AXPOptionsData;
48
+ }>;
49
+ }>;
50
+ module: string;
51
+ name: string;
52
+ icon?: string;
53
+ parentKey?: string;
54
+ category?: AXPEntityCategoryPlugin;
55
+ title: string;
56
+ formats: AXPEntityFormats;
57
+ relatedEntities?: AXPRelatedEntity[];
58
+ pages?: AXPEntityPage[];
59
+ groups?: AXPEntityPropertyGroup[];
60
+ properties: AXPEntityProperty[];
61
+ columns?: AXPEntityTableColumn[];
62
+ commands?: {
63
+ create?: AXPEntityCommand | undefined;
64
+ update?: AXPEntityCommand | undefined;
65
+ delete?: AXPEntityCommand | undefined;
66
+ [name: string]: AXPEntityCommand | undefined;
67
+ };
68
+ queries?: {
69
+ byKey?: AXPEntityQuery;
70
+ list?: AXPEntityQuery;
71
+ lookup?: AXPEntityQuery;
72
+ history?: AXPEntityQuery;
73
+ comments?: AXPEntityQuery;
74
+ [name: string]: AXPEntityQuery | undefined;
75
+ };
76
+ validations?: AXPValidationRules;
77
+ interfaces?: {
78
+ master?: {
79
+ single?: AXPEntityMasterSingleLayoutView;
80
+ list?: AXPEntityMasterListView;
81
+ create?: AXPEntityMasterCreateLayoutView;
82
+ update?: AXPEntityMasterUpdateLayoutView;
83
+ };
84
+ detail?: {
85
+ list?: AXPEntityDetailListView;
86
+ };
87
+ };
88
+ }
89
+ export declare function getEntityInfo(entity: AXPEntity): {
90
+ source: string;
91
+ module: {
92
+ route: string;
93
+ };
94
+ entity: {
95
+ route: string;
96
+ };
97
+ };
98
+ export interface AXPEntityPage {
99
+ componentKey: string;
100
+ field?: string;
101
+ title?: AXPMultiLanguageString;
102
+ icon?: string;
103
+ description?: AXPMultiLanguageString;
104
+ layout?: {
105
+ order?: number;
106
+ position?: 'before' | 'after' | 'middle';
107
+ };
108
+ hidden?: boolean | string;
109
+ permissions?: string[];
110
+ appearOn?: {
111
+ create?: boolean;
112
+ update?: boolean;
113
+ };
114
+ options?: Record<string, any>;
115
+ }
116
+ export interface AXPEntityCategoryPlugin {
117
+ entity: string;
118
+ title?: string;
119
+ textField?: string;
120
+ valueField?: string;
121
+ conditions?: AXPQueryFilter[];
122
+ applyConditions?: AXPQueryFilter[];
123
+ }
124
+ export interface AXPEntityVersionHistory {
125
+ enabled?: boolean;
126
+ showInList?: boolean;
127
+ showInDetail?: boolean;
128
+ }
129
+ export interface AXPAggregate {
130
+ id: string;
131
+ name: string;
132
+ title: AXPMultiLanguageString;
133
+ entities: AXPEntity[];
134
+ }
135
+ export interface AXPModule {
136
+ name: string;
137
+ title: AXPMultiLanguageString;
138
+ aggregates: AXPAggregate[];
139
+ relationships?: AXPRelationship[];
140
+ }
141
+ export interface AXPApplication {
142
+ name: string;
143
+ title: AXPMultiLanguageString;
144
+ modules: AXPModule[];
145
+ }
146
+ export declare enum AXPEntityType {
147
+ Entity = 0,
148
+ AggregateRoot = 1,
149
+ ValueObject = 2
150
+ }
151
+ export interface AXPEntityV2 {
152
+ version: 2;
153
+ module: string;
154
+ aggregate: string;
155
+ name: string;
156
+ type: AXPEntityType;
157
+ icon?: string;
158
+ title: string;
159
+ description?: string;
160
+ plugins?: {
161
+ name: string;
162
+ options?: AXPOptionsData;
163
+ }[];
164
+ pages?: AXPEntityPage[];
165
+ groups?: AXPEntityPropertyGroup[];
166
+ properties: AXPEntityProperty[];
167
+ formats: AXPEntityFormats;
168
+ columns?: AXPEntityTableColumn[];
169
+ validations?: AXPValidationRules;
170
+ interfaces?: {
171
+ master?: {
172
+ single?: AXPEntityMasterSingleLayoutView;
173
+ list?: AXPEntityMasterListView;
174
+ create?: AXPEntityMasterCreateLayoutView;
175
+ update?: AXPEntityMasterUpdateLayoutView;
176
+ };
177
+ detail?: {
178
+ list?: AXPEntityDetailListView;
179
+ };
180
+ };
181
+ }
182
+ //# sourceMappingURL=entity-definition.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-definition.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-definition.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,wCAAwC,CAAC;AAEhD,OAAO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X,MAAM,CAAC,EAAE;YACP,MAAM,CAAC,EAAE,+BAA+B,CAAC;YACzC,IAAI,CAAC,EAAE,uBAAuB,CAAC;YAC/B,MAAM,CAAC,EAAE,+BAA+B,CAAC;YACzC,MAAM,CAAC,EAAE,+BAA+B,CAAC;SAC1C,CAAC;QACF,MAAM,CAAC,EAAE;YACP,IAAI,CAAC,EAAE,uBAAuB,CAAC;SAChC,CAAC;KACH,CAAC;CACH"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ //#region ---- Entity definition ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AXPEntityType = exports.AXPRelationshipCardinality = exports.AXPRelationshipKind = void 0;
5
+ exports.getEntityInfo = getEntityInfo;
6
+ var AXPRelationshipKind;
7
+ (function (AXPRelationshipKind) {
8
+ AXPRelationshipKind[AXPRelationshipKind["Association"] = 0] = "Association";
9
+ AXPRelationshipKind[AXPRelationshipKind["Composition"] = 1] = "Composition";
10
+ AXPRelationshipKind[AXPRelationshipKind["Aggregation"] = 2] = "Aggregation";
11
+ })(AXPRelationshipKind || (exports.AXPRelationshipKind = AXPRelationshipKind = {}));
12
+ var AXPRelationshipCardinality;
13
+ (function (AXPRelationshipCardinality) {
14
+ AXPRelationshipCardinality[AXPRelationshipCardinality["OneToOne"] = 0] = "OneToOne";
15
+ AXPRelationshipCardinality[AXPRelationshipCardinality["OneToMany"] = 1] = "OneToMany";
16
+ AXPRelationshipCardinality[AXPRelationshipCardinality["ManyToMany"] = 2] = "ManyToMany";
17
+ })(AXPRelationshipCardinality || (exports.AXPRelationshipCardinality = AXPRelationshipCardinality = {}));
18
+ function kebabCase(value) {
19
+ return value
20
+ .replace(/([a-z0-9])([A-Z])/g, '$1-$2')
21
+ .replace(/([A-Z])([A-Z][a-z])/g, '$1-$2')
22
+ .replace(/[\s_]+/g, '-')
23
+ .replace(/-+/g, '-')
24
+ .toLowerCase();
25
+ }
26
+ function getEntityInfo(entity) {
27
+ return {
28
+ source: `${entity.module}.${entity.name}`,
29
+ module: {
30
+ route: kebabCase(entity.module),
31
+ },
32
+ entity: {
33
+ route: kebabCase(entity.name),
34
+ },
35
+ };
36
+ }
37
+ var AXPEntityType;
38
+ (function (AXPEntityType) {
39
+ AXPEntityType[AXPEntityType["Entity"] = 0] = "Entity";
40
+ AXPEntityType[AXPEntityType["AggregateRoot"] = 1] = "AggregateRoot";
41
+ AXPEntityType[AXPEntityType["ValueObject"] = 2] = "ValueObject";
42
+ })(AXPEntityType || (exports.AXPEntityType = AXPEntityType = {}));
43
+ //#endregion
44
+ //# sourceMappingURL=entity-definition.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-definition.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-definition.types.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AA+GrC,sCAUC;AAlGD,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,2EAAW,CAAA;IACX,2EAAW,CAAA;IACX,2EAAW,CAAA;AACb,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACpC,mFAAQ,CAAA;IACR,qFAAS,CAAA;IACT,uFAAU,CAAA;AACZ,CAAC,EAJW,0BAA0B,0CAA1B,0BAA0B,QAIrC;AAqED,SAAS,SAAS,CAAC,KAAa;IAC9B,OAAO,KAAK;SACT,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC;SACtC,OAAO,CAAC,sBAAsB,EAAE,OAAO,CAAC;SACxC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC;SACvB,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC;SACnB,WAAW,EAAE,CAAC;AACnB,CAAC;AAED,SAAgB,aAAa,CAAC,MAAiB;IAC7C,OAAO;QACL,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzC,MAAM,EAAE;YACN,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC;SAChC;QACD,MAAM,EAAE;YACN,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;SAC9B;KACF,CAAC;AACJ,CAAC;AAwDD,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,qDAAM,CAAA;IACN,mEAAa,CAAA;IACb,+DAAW,CAAA;AACb,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AA+BD,YAAY"}
@@ -0,0 +1,9 @@
1
+ import type { AXPEntityAction } from './entity-action.types';
2
+ import type { AXPEntityTableColumn } from './entity-display-field.types';
3
+ export interface AXPEntityDetailListView {
4
+ title?: string;
5
+ description?: string;
6
+ columns: AXPEntityTableColumn[];
7
+ actions?: AXPEntityAction[];
8
+ }
9
+ //# sourceMappingURL=entity-detail-list.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-detail-list.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-detail-list.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;CAC7B"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ---- Entity detail list views ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-detail-list.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-detail-list.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-detail-list.types.ts"],"names":[],"mappings":";AAAA,4CAA4C;;AAa5C,YAAY"}
@@ -0,0 +1,35 @@
1
+ /** Logical alignment for table column header/cell (respects RTL). */
2
+ export type AXPColumnContentAlign = 'start' | 'center' | 'end';
3
+ /**
4
+ * Column alignment: shorthand applies to both header and cell;
5
+ * object form sets each side independently (omitted keys default to start).
6
+ */
7
+ export type AXPColumnAlign = AXPColumnContentAlign | {
8
+ header?: AXPColumnContentAlign;
9
+ cell?: AXPColumnContentAlign;
10
+ };
11
+ /** Shared field definition for list layouts (table columns, card fields, etc.). */
12
+ export interface AXPEntityDisplayField {
13
+ name: string;
14
+ title?: string;
15
+ showAs?: {
16
+ type: string;
17
+ options?: Record<string, any>;
18
+ };
19
+ options?: {
20
+ /** When string, evaluate against parent detail context (e.g. related list). */
21
+ visible?: boolean | string;
22
+ /** Optional dataPath override for field binding. */
23
+ dataPath?: string;
24
+ [name: string]: any;
25
+ };
26
+ }
27
+ export interface AXPEntityTableColumn extends AXPEntityDisplayField {
28
+ options?: AXPEntityDisplayField['options'] & {
29
+ /** Initial column width (overrides widget column width when set). */
30
+ width?: string;
31
+ /** Header/cell alignment (shorthand or per-side). */
32
+ align?: AXPColumnAlign;
33
+ };
34
+ }
35
+ //# sourceMappingURL=entity-display-field.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-display-field.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-display-field.types.ts"],"names":[],"mappings":"AAEA,qEAAqE;AACrE,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,qBAAqB,GACrB;IACE,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEN,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC/B,CAAC;IACF,OAAO,CAAC,EAAE;QACR,+EAA+E;QAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC3B,oDAAoD;QACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;KACrB,CAAC;CACH;AAED,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB;IACjE,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,GAAG;QAC3C,qEAAqE;QACrE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,qDAAqD;QACrD,KAAK,CAAC,EAAE,cAAc,CAAC;KACxB,CAAC;CACH"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ---- Entity display fields ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-display-field.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-display-field.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-display-field.types.ts"],"names":[],"mappings":";AAAA,yCAAyC;;AA0CzC,YAAY"}
@@ -0,0 +1,12 @@
1
+ export interface AXPEntitySearchResultFormat {
2
+ title: string;
3
+ description?: string;
4
+ }
5
+ export interface AXPEntityFormats {
6
+ individual: string;
7
+ plural: string;
8
+ lookup?: string;
9
+ displayName?: string;
10
+ searchResult?: AXPEntitySearchResultFormat;
11
+ }
12
+ //# sourceMappingURL=entity-formats.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-formats.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-formats.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,2BAA2B,CAAC;CAC5C"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ---- Entity formats ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-formats.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-formats.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-formats.types.ts"],"names":[],"mappings":";AAAA,kCAAkC;;AAelC,YAAY"}
@@ -0,0 +1,34 @@
1
+ import type { AXPEntityAction } from './entity-action.types';
2
+ import type { AXPEntityPropertyView, AXPEntitySectionView } from './entity-property.types';
3
+ import type { AXPopupSizeType } from '@acorex-platform/framework-shared/core';
4
+ export interface AXPEntityMasterLayoutView {
5
+ title?: string;
6
+ sections: AXPEntitySectionView[];
7
+ properties?: AXPEntityPropertyView[];
8
+ }
9
+ /** Quick create config for lookup widgets (+ button) - uses subset of create form */
10
+ export interface AXPEntityQuickCreate {
11
+ enabled?: boolean;
12
+ properties?: string[];
13
+ layout?: {
14
+ size?: AXPopupSizeType;
15
+ };
16
+ excludeProperties?: string[];
17
+ }
18
+ export interface AXPEntityMasterCreateLayoutView extends AXPEntityMasterLayoutView {
19
+ steps?: {
20
+ id: string;
21
+ title: string;
22
+ description?: string;
23
+ };
24
+ /** Quick create config for lookup widgets - uses subset of create form */
25
+ quickCreate?: AXPEntityQuickCreate;
26
+ }
27
+ export interface AXPEntityMasterUpdateLayoutView extends AXPEntityMasterLayoutView {
28
+ }
29
+ export interface AXPEntityMasterSingleLayoutView extends AXPEntityMasterLayoutView {
30
+ title: string;
31
+ description?: string;
32
+ actions?: AXPEntityAction[];
33
+ }
34
+ //# sourceMappingURL=entity-layout-view.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-layout-view.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-layout-view.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAEV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE9E,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACtC;AAED,qFAAqF;AACrF,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,eAAe,CAAC;KACxB,CAAC;IACF,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;IAChF,KAAK,CAAC,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,0EAA0E;IAC1E,WAAW,CAAC,EAAE,oBAAoB,CAAC;CACpC;AAED,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;CAAG;AAErF,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;CAC7B"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ---- Entity layout views ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-layout-view.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-layout-view.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-layout-view.types.ts"],"names":[],"mappings":";AAAA,uCAAuC;;AA4CvC,YAAY"}
@@ -0,0 +1,27 @@
1
+ import type { AXPFilterDefinition } from '@acorex-platform/framework-shared/core';
2
+ export interface AXPEntityListFilterDefinition extends AXPFilterDefinition {
3
+ /**
4
+ * Lodash-get path for inline `contains` queries on lookup/select properties.
5
+ * Keeps `field` as the property name for advance filters and filter widget binding.
6
+ */
7
+ inlineQueryField?: string;
8
+ /**
9
+ * Flat filter UI context key when `field` contains dots (merge-detail paths).
10
+ * Widget binding uses this key; storage queries still use `field`.
11
+ */
12
+ contextField?: string;
13
+ }
14
+ /** Encodes a dotted storage path as a flat filter context key (e.g. `person.lastName` → `person__lastName`). */
15
+ export declare function encodeEntityListFilterContextField(queryField: string): string;
16
+ /**
17
+ * Resolves the flat context key used by query-filters / widget binding for a filter definition.
18
+ */
19
+ export declare function resolveEntityListFilterContextField(filter: Pick<AXPEntityListFilterDefinition, 'field' | 'contextField'>): string;
20
+ /**
21
+ * Maps an entity list filter definition to the storage query field.
22
+ * Inline `contains` filters on lookup/select use `inlineQueryField` (display text path).
23
+ */
24
+ export declare function resolveEntityListFilterQueryField(filter: Pick<AXPFilterDefinition, 'field' | 'operator'> & Pick<AXPEntityListFilterDefinition, 'inlineQueryField'>, operator?: {
25
+ type?: string;
26
+ }): string | undefined;
27
+ //# sourceMappingURL=entity-list-filter.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-list-filter.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-list-filter.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAElF,MAAM,WAAW,6BAA8B,SAAQ,mBAAmB;IACxE;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,gHAAgH;AAChH,wBAAgB,kCAAkC,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE7E;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,IAAI,CAAC,6BAA6B,EAAE,OAAO,GAAG,cAAc,CAAC,GACpE,MAAM,CAYR;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG,IAAI,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,EACjH,QAAQ,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3B,MAAM,GAAG,SAAS,CAMpB"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ //#region ---- Entity list filters ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.encodeEntityListFilterContextField = encodeEntityListFilterContextField;
5
+ exports.resolveEntityListFilterContextField = resolveEntityListFilterContextField;
6
+ exports.resolveEntityListFilterQueryField = resolveEntityListFilterQueryField;
7
+ /** Encodes a dotted storage path as a flat filter context key (e.g. `person.lastName` → `person__lastName`). */
8
+ function encodeEntityListFilterContextField(queryField) {
9
+ return queryField.replace(/\./g, '__');
10
+ }
11
+ /**
12
+ * Resolves the flat context key used by query-filters / widget binding for a filter definition.
13
+ */
14
+ function resolveEntityListFilterContextField(filter) {
15
+ var _a, _b;
16
+ const explicit = (_a = filter.contextField) === null || _a === void 0 ? void 0 : _a.trim();
17
+ if (explicit) {
18
+ return explicit;
19
+ }
20
+ const field = (_b = filter.field) === null || _b === void 0 ? void 0 : _b.trim();
21
+ if (!field) {
22
+ return '';
23
+ }
24
+ return field.includes('.') ? encodeEntityListFilterContextField(field) : field;
25
+ }
26
+ /**
27
+ * Maps an entity list filter definition to the storage query field.
28
+ * Inline `contains` filters on lookup/select use `inlineQueryField` (display text path).
29
+ */
30
+ function resolveEntityListFilterQueryField(filter, operator) {
31
+ var _a, _b;
32
+ const operatorType = (_a = operator === null || operator === void 0 ? void 0 : operator.type) !== null && _a !== void 0 ? _a : (_b = filter.operator) === null || _b === void 0 ? void 0 : _b.type;
33
+ if (operatorType === 'contains' && filter.inlineQueryField) {
34
+ return filter.inlineQueryField;
35
+ }
36
+ return filter.field;
37
+ }
38
+ //#endregion
39
+ //# sourceMappingURL=entity-list-filter.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-list-filter.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-list-filter.types.ts"],"names":[],"mappings":";AAAA,uCAAuC;;AAkBvC,gFAEC;AAKD,kFAcC;AAMD,8EASC;AArCD,gHAAgH;AAChH,SAAgB,kCAAkC,CAAC,UAAkB;IACnE,OAAO,UAAU,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACzC,CAAC;AAED;;GAEG;AACH,SAAgB,mCAAmC,CACjD,MAAqE;;IAErE,MAAM,QAAQ,GAAG,MAAA,MAAM,CAAC,YAAY,0CAAE,IAAI,EAAE,CAAC;IAC7C,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,MAAM,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,0CAAE,IAAI,EAAE,CAAC;IACnC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,kCAAkC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AACjF,CAAC;AAED;;;GAGG;AACH,SAAgB,iCAAiC,CAC/C,MAAiH,EACjH,QAA4B;;IAE5B,MAAM,YAAY,GAAG,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,mCAAI,MAAA,MAAM,CAAC,QAAQ,0CAAE,IAAI,CAAC;IAC7D,IAAI,YAAY,KAAK,UAAU,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;QAC3D,OAAO,MAAM,CAAC,gBAAgB,CAAC;IACjC,CAAC;IACD,OAAO,MAAM,CAAC,KAAK,CAAC;AACtB,CAAC;AAED,YAAY"}
@@ -0,0 +1,44 @@
1
+ import type { AXPEntityAction } from './entity-action.types';
2
+ import { AXPExpression } from '@acorex-platform/framework-shared/core';
3
+ import type { AXPCardField } from './entity-card-field.types';
4
+ import type { AXPEntityTableColumn } from './entity-display-field.types';
5
+ import type { AXPQueryView } from './entity-query-view.types';
6
+ export interface AXPEntityMasterListView {
7
+ title?: string;
8
+ description?: string;
9
+ actions?: AXPEntityAction[];
10
+ views: AXPQueryView[];
11
+ layouts?: {
12
+ table?: {
13
+ enabled?: boolean;
14
+ columns: AXPEntityTableColumn[];
15
+ cssClass?: {
16
+ row?: AXPExpression;
17
+ cell?: AXPExpression;
18
+ };
19
+ };
20
+ card?: {
21
+ enabled?: boolean;
22
+ header: {
23
+ /** Property path, expression (`{{ ... }}`), or literal — evaluated per row. */
24
+ title?: string;
25
+ description?: string;
26
+ icon?: string;
27
+ };
28
+ fields: AXPCardField[];
29
+ };
30
+ };
31
+ }
32
+ export type AXPEntityMasterListLayoutType = 'table' | 'card';
33
+ /** Master list presentation: table or card with compact (collapsed) / expanded bodies. */
34
+ export type AXPEntityMasterListDisplayMode = 'table' | 'card-compact' | 'card-expanded';
35
+ export interface AXPEntityMasterListLayoutOption {
36
+ id: AXPEntityMasterListLayoutType;
37
+ title: string;
38
+ icon?: string;
39
+ }
40
+ /** Resolves master list layouts that are currently enabled. */
41
+ export declare function resolveEnabledMasterListLayouts(layouts?: AXPEntityMasterListView['layouts']): AXPEntityMasterListLayoutType[];
42
+ /** First enabled layout; used as the default when no user preference is stored. */
43
+ export declare function resolveDefaultMasterListLayout(layouts?: AXPEntityMasterListView['layouts']): AXPEntityMasterListLayoutType;
44
+ //# sourceMappingURL=entity-master-list.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-master-list.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-master-list.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE;YACN,OAAO,CAAC,EAAE,OAAO,CAAC;YAClB,OAAO,EAAE,oBAAoB,EAAE,CAAC;YAChC,QAAQ,CAAC,EAAE;gBACT,GAAG,CAAC,EAAE,aAAa,CAAC;gBACpB,IAAI,CAAC,EAAE,aAAa,CAAC;aACtB,CAAC;SACH,CAAC;QACF,IAAI,CAAC,EAAE;YACL,OAAO,CAAC,EAAE,OAAO,CAAC;YAClB,MAAM,EAAE;gBACN,+EAA+E;gBAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,IAAI,CAAC,EAAE,MAAM,CAAC;aACf,CAAC;YACF,MAAM,EAAE,YAAY,EAAE,CAAC;SACxB,CAAC;KACH,CAAC;CACH;AAED,MAAM,MAAM,6BAA6B,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7D,0FAA0F;AAC1F,MAAM,MAAM,8BAA8B,GAAG,OAAO,GAAG,cAAc,GAAG,eAAe,CAAC;AAExF,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,6BAA6B,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,+DAA+D;AAC/D,wBAAgB,+BAA+B,CAC7C,OAAO,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,GAC3C,6BAA6B,EAAE,CAgBjC;AAED,mFAAmF;AACnF,wBAAgB,8BAA8B,CAC5C,OAAO,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,GAC3C,6BAA6B,CAE/B"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ //#region ---- Entity master list views ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.resolveEnabledMasterListLayouts = resolveEnabledMasterListLayouts;
5
+ exports.resolveDefaultMasterListLayout = resolveDefaultMasterListLayout;
6
+ /** Resolves master list layouts that are currently enabled. */
7
+ function resolveEnabledMasterListLayouts(layouts) {
8
+ var _a;
9
+ if (!layouts) {
10
+ return ['table'];
11
+ }
12
+ const enabled = [];
13
+ if (((_a = layouts.table) === null || _a === void 0 ? void 0 : _a.enabled) !== false) {
14
+ enabled.push('table');
15
+ }
16
+ if (layouts.card && layouts.card.enabled !== false) {
17
+ enabled.push('card');
18
+ }
19
+ return enabled.length > 0 ? enabled : ['table'];
20
+ }
21
+ /** First enabled layout; used as the default when no user preference is stored. */
22
+ function resolveDefaultMasterListLayout(layouts) {
23
+ return resolveEnabledMasterListLayouts(layouts)[0];
24
+ }
25
+ //#endregion
26
+ //# sourceMappingURL=entity-master-list.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-master-list.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-master-list.types.ts"],"names":[],"mappings":";AAAA,4CAA4C;;AAgD5C,0EAkBC;AAGD,wEAIC;AA1BD,+DAA+D;AAC/D,SAAgB,+BAA+B,CAC7C,OAA4C;;IAE5C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAoC,EAAE,CAAC;IAEpD,IAAI,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,OAAO,MAAK,KAAK,EAAE,CAAC;QACrC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,KAAK,EAAE,CAAC;QACnD,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;AAClD,CAAC;AAED,mFAAmF;AACnF,SAAgB,8BAA8B,CAC5C,OAA4C;IAE5C,OAAO,+BAA+B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AACrD,CAAC;AAED,YAAY"}
@@ -0,0 +1,52 @@
1
+ import type { AXPUserReference } from '@acorex-platform/framework-shared/core';
2
+ export interface AXPAuditEvent {
3
+ at?: Date;
4
+ by?: AXPUserReference;
5
+ reason?: string;
6
+ source?: string;
7
+ }
8
+ export interface AXPRecordAuditInfo {
9
+ created?: AXPAuditEvent;
10
+ updated?: AXPAuditEvent;
11
+ deleted?: AXPAuditEvent;
12
+ }
13
+ export interface AXPRecordStateInfo {
14
+ isHidden?: boolean;
15
+ isSystem?: boolean;
16
+ isImmutable?: boolean;
17
+ /** @deprecated Prefer explicit domain modeling over this flag. */
18
+ isDistributed?: boolean;
19
+ }
20
+ export interface AXPRecordOwnershipInfo {
21
+ tenantId?: string;
22
+ applicationId?: string;
23
+ userId?: string;
24
+ }
25
+ export interface AXPRecordWorkflowInfo {
26
+ instanceId?: string | null;
27
+ definitionId?: string | null;
28
+ correlationId?: string | null;
29
+ pinnedVersion?: number | null;
30
+ }
31
+ export interface AXPEntityModel<Id> {
32
+ id: Id;
33
+ auditInfo?: AXPRecordAuditInfo;
34
+ stateInfo?: AXPRecordStateInfo;
35
+ ownershipInfo?: AXPRecordOwnershipInfo;
36
+ workflowInfo?: AXPRecordWorkflowInfo;
37
+ }
38
+ export interface AXPEntityCreateDto {
39
+ }
40
+ export interface AXPEntityUpdateDto<Id> {
41
+ id: Id;
42
+ }
43
+ export interface AXPEntityOutputDto<Id> {
44
+ id: Id;
45
+ }
46
+ export interface AXPEntityDetailDto<Id> extends AXPEntityOutputDto<Id> {
47
+ }
48
+ export interface AXPEntityListItemDto<Id> extends AXPEntityOutputDto<Id> {
49
+ }
50
+ export interface AXPMockDto<Id> extends AXPEntityModel<Id> {
51
+ }
52
+ //# sourceMappingURL=entity-model.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-model.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-model.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,IAAI,CAAC;IACV,EAAE,CAAC,EAAE,gBAAgB,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,MAAM,WAAW,kB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+ //#region ---- Entity model & DTO types ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-model.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-model.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-model.types.ts"],"names":[],"mappings":";AAAA,4CAA4C;;AA8D5C,YAAY"}