@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,21 @@
1
+ export interface AXPEntityPropertyFilterOptions {
2
+ advance?: {
3
+ enabled?: boolean;
4
+ widgetType?: string;
5
+ };
6
+ inline?: {
7
+ enabled?: boolean;
8
+ };
9
+ preload?: {
10
+ enabled?: boolean;
11
+ required?: boolean;
12
+ };
13
+ }
14
+ export interface AXPEntityPropertySortOptions {
15
+ enabled?: boolean;
16
+ }
17
+ export interface AXPEntityPropertyListOptions {
18
+ filter?: AXPEntityPropertyFilterOptions;
19
+ sort?: AXPEntityPropertySortOptions;
20
+ }
21
+ //# sourceMappingURL=entity-property-list.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-property-list.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-property-list.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC7C,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,IAAI,CAAC,EAAE,4BAA4B,CAAC;CACrC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ---- Entity property list options ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-property-list.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-property-list.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-property-list.types.ts"],"names":[],"mappings":";AAAA,gDAAgD;;AAyBhD,YAAY"}
@@ -0,0 +1,67 @@
1
+ import type { AXPExpression, AXPGridLayoutOptions, AXPValidationRules, AXPValueTransformerFunctions } from '@acorex-platform/framework-shared/core';
2
+ import type { AXPEntityPropertyListOptions } from './entity-property-list.types';
3
+ export interface AXEntityPropertyWidget {
4
+ type: string;
5
+ path?: string;
6
+ id?: string;
7
+ children?: AXEntityPropertyWidget[];
8
+ mode: 'view' | 'edit';
9
+ options?: Record<string, any>;
10
+ triggers?: {
11
+ event: string;
12
+ action: string;
13
+ disabled?: boolean;
14
+ }[];
15
+ valueTransforms?: AXPValueTransformerFunctions;
16
+ }
17
+ export interface AXPEntityPropertyLayoutConfig extends AXPGridLayoutOptions {
18
+ label?: {
19
+ visible?: boolean;
20
+ };
21
+ order?: number;
22
+ visible?: boolean | AXPExpression;
23
+ }
24
+ export interface AXPEntityPropertyGroup {
25
+ id: string;
26
+ title: string;
27
+ description?: string;
28
+ permissions?: string[];
29
+ icon?: string;
30
+ }
31
+ export interface AXPEntityPropertyView {
32
+ name: string;
33
+ dataPath?: string;
34
+ permissions?: string[];
35
+ layout?: AXPEntityPropertyLayoutConfig;
36
+ }
37
+ export interface AXPEntityPropertyUpdateView extends AXPEntityPropertyView {
38
+ }
39
+ export interface AXPEntityPropertyCreateView extends AXPEntityPropertyView {
40
+ defaultValue?: any;
41
+ }
42
+ export interface AXPEntitySectionView {
43
+ id: string;
44
+ order?: number;
45
+ collapsed?: boolean;
46
+ layout?: AXPEntityPropertyLayoutConfig;
47
+ }
48
+ export interface AXPEntityProperty {
49
+ name: string;
50
+ title: string;
51
+ description?: string;
52
+ groupId?: string;
53
+ schema: {
54
+ dataType: string;
55
+ nullable?: boolean;
56
+ readonly?: boolean | string;
57
+ visible?: boolean | string;
58
+ defaultValue?: any | string | ((context: any | null) => any);
59
+ unique?: {
60
+ enabled: boolean;
61
+ };
62
+ interface?: Partial<AXEntityPropertyWidget>;
63
+ };
64
+ options?: AXPEntityPropertyListOptions;
65
+ validations?: AXPValidationRules;
66
+ }
67
+ //# sourceMappingURL=entity-property.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-property.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-property.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAEjF,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACpC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IACnE,eAAe,CAAC,EAAE,4BAA4B,CAAC;CAChD;AAED,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB;IACzE,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CA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+ //#region ---- Entity properties ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-property.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-property.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-property.types.ts"],"names":[],"mappings":";AAAA,qCAAqC;;AA8ErC,YAAY"}
@@ -0,0 +1,32 @@
1
+ import type { AXDataSourceOperator } from '@acorex-platform/framework-shared/core';
2
+ export interface AXPQueryFilter {
3
+ name: string;
4
+ operator: AXDataSourceOperator;
5
+ value: any;
6
+ }
7
+ export interface AXPQuerySort {
8
+ name: string;
9
+ dir: 'asc' | 'desc';
10
+ }
11
+ export interface AXPQueryView {
12
+ name: string;
13
+ fixed: boolean;
14
+ title: string;
15
+ columns: string[];
16
+ conditions: AXPQueryFilter[];
17
+ sorts: AXPQuerySort[];
18
+ indexCol?: boolean;
19
+ pageSize?: number;
20
+ visible?: boolean;
21
+ }
22
+ export declare function createQueryView(name: string, title: string, fixed: boolean, params?: {
23
+ columns?: string[];
24
+ conditions?: any[];
25
+ sorts?: AXPQuerySort[];
26
+ }): AXPQueryView;
27
+ export declare function createAllQueryView(params?: {
28
+ columns?: string[];
29
+ conditions?: AXPQueryFilter[];
30
+ sorts?: AXPQuerySort[];
31
+ } | undefined): AXPQueryView;
32
+ //# sourceMappingURL=entity-query-view.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-query-view.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-query-view.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,GAAG,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,OAAO,EACd,MAAM,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,YAAY,EAAE,CAAA;CAIvE,GACA,YAAY,CAUd;AAED,wBAAgB,kBAAkB,CAChC,MAAM,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,YAAY,EAAE,CAAA;CAAE,GAAG,SAIvF,GACA,YAAY,CAOd"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ //#region ---- Entity query views ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.createQueryView = createQueryView;
5
+ exports.createAllQueryView = createAllQueryView;
6
+ function createQueryView(name, title, fixed, params = {
7
+ columns: [],
8
+ conditions: [],
9
+ sorts: [],
10
+ }) {
11
+ var _a, _b, _c;
12
+ params = Object.assign({ columns: [], sorts: [], conditions: [] }, params);
13
+ return {
14
+ name,
15
+ title,
16
+ fixed,
17
+ columns: (_a = params.columns) !== null && _a !== void 0 ? _a : [],
18
+ conditions: (_b = params.conditions) !== null && _b !== void 0 ? _b : [],
19
+ sorts: (_c = params.sorts) !== null && _c !== void 0 ? _c : [],
20
+ };
21
+ }
22
+ function createAllQueryView(params = {
23
+ columns: [],
24
+ sorts: [],
25
+ conditions: [],
26
+ }) {
27
+ var _a, _b, _c;
28
+ params = Object.assign({ columns: [], sorts: [], conditions: [] }, params);
29
+ return createQueryView('all', '@general:terms.interface.selection.all-items', true, {
30
+ columns: (_a = params.columns) !== null && _a !== void 0 ? _a : [],
31
+ conditions: (_b = params.conditions) !== null && _b !== void 0 ? _b : [],
32
+ sorts: (_c = params.sorts) !== null && _c !== void 0 ? _c : [],
33
+ });
34
+ }
35
+ //#endregion
36
+ //# sourceMappingURL=entity-query-view.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-query-view.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-query-view.types.ts"],"names":[],"mappings":";AAAA,sCAAsC;;AA2BtC,0CAmBC;AAED,gDAaC;AAlCD,SAAgB,eAAe,CAC7B,IAAY,EACZ,KAAa,EACb,KAAc,EACd,SAA6E;IAC3E,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,EAAE;IACd,KAAK,EAAE,EAAE;CACV;;IAED,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC3E,OAAO;QACL,IAAI;QACJ,KAAK;QACL,KAAK;QACL,OAAO,EAAE,MAAA,MAAM,CAAC,OAAO,mCAAI,EAAE;QAC7B,UAAU,EAAE,MAAA,MAAM,CAAC,UAAU,mCAAI,EAAE;QACnC,KAAK,EAAE,MAAA,MAAM,CAAC,KAAK,mCAAI,EAAE;KAC1B,CAAC;AACJ,CAAC;AAED,SAAgB,kBAAkB,CAChC,SAAoG;IAClG,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;IACT,UAAU,EAAE,EAAE;CACf;;IAED,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC3E,OAAO,eAAe,CAAC,KAAK,EAAE,8CAA8C,EAAE,IAAI,EAAE;QAClF,OAAO,EAAE,MAAA,MAAM,CAAC,OAAO,mCAAI,EAAE;QAC7B,UAAU,EAAE,MAAA,MAAM,CAAC,UAAU,mCAAI,EAAE;QACnC,KAAK,EAAE,MAAA,MAAM,CAAC,KAAK,mCAAI,EAAE;KAC1B,CAAC,CAAC;AACL,CAAC;AAED,YAAY"}
@@ -0,0 +1,65 @@
1
+ import type { AXPExpression } from '@acorex-platform/framework-shared/core';
2
+ import type { AXPEntityAction } from './entity-action.types';
3
+ import type { AXPEntityTableColumn } from './entity-display-field.types';
4
+ import type { AXPEntityListFilterDefinition } from './entity-list-filter.types';
5
+ import type { AXPQueryFilter } from './entity-query-view.types';
6
+ export interface AXPRelatedEntityLayout {
7
+ type: 'tab-detail' | 'tab-list' | 'page-detail' | 'page-list' | 'merge-detail';
8
+ order?: number;
9
+ position?: 'before' | 'after' | 'middle';
10
+ }
11
+ export interface AXPRelatedEntityPersistence {
12
+ strategy?: 'embedded' | 'referenced';
13
+ idField?: string;
14
+ dataPath?: string;
15
+ map?: Record<string, string>;
16
+ hydrate?: 'eager' | 'lazy';
17
+ cascade?: {
18
+ delete?: 'none' | 'orphans' | 'all';
19
+ };
20
+ foreignKeyField?: string;
21
+ }
22
+ export interface AXPRelatedEntity {
23
+ entity: string;
24
+ title?: string;
25
+ icon?: string;
26
+ columns?: string[] | AXPEntityTableColumn[];
27
+ properties?: string[];
28
+ excludeProperties?: string[];
29
+ layout?: AXPRelatedEntityLayout;
30
+ conditions?: AXPQueryFilter[];
31
+ customFilterDefinitions?: Partial<AXPEntityListFilterDefinition>[];
32
+ hidden?: boolean | AXPExpression;
33
+ actions?: AXPEntityAction[];
34
+ /**
35
+ * Controls inclusion on the host entity master **create** / **update** form.
36
+ * Defaults depend on layout:
37
+ * - **merge-detail**: omitted flags behave as **true** (opt-out with `false`).
38
+ * - **tab-list** / **page-list**: omitted flags behave as **false** (opt-in with `true`).
39
+ */
40
+ appearOn?: {
41
+ /** Include on host create form (see defaults above per layout type). */
42
+ create?: boolean;
43
+ /** Include on host update form (see defaults above per layout type). */
44
+ update?: boolean;
45
+ };
46
+ /**
47
+ * Host master-list filter policy for merge-detail related data.
48
+ * When omitted, filterable related properties referenced by host columns (or `properties`) are included.
49
+ */
50
+ filter?: {
51
+ /** Include related filterable properties on the host list (default: true). */
52
+ enabled?: boolean;
53
+ };
54
+ /**
55
+ * Relationship-level persistence strategy for merge-detail data.
56
+ * Defaults:
57
+ * - strategy: 'embedded'
58
+ * - idField: last segment of dataPath + 'Id' (or 'relatedId' when dataPath is missing)
59
+ * - map: undefined (pass-through)
60
+ * - hydrate: 'eager' (applies to getOne only in mock)
61
+ * - cascade.delete: 'none'
62
+ */
63
+ persistence?: AXPRelatedEntityPersistence;
64
+ }
65
+ //# sourceMappingURL=entity-related-layout.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-related-layout.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-related-layout.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,YAAY,GAAG,UAAU,GAAG,aAA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AAM,CAAC,EAAE;QACP,8EAA8E;QAC9E,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,2BAA2B,CAAC;CAC3C"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ //#region ---- Related entity layout ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //#endregion
5
+ //# sourceMappingURL=entity-related-layout.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-related-layout.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-related-layout.types.ts"],"names":[],"mappings":";AAAA,yCAAyC;;AAqEzC,YAAY"}
@@ -0,0 +1,43 @@
1
+ import type { AXPQueryRequest } from '@acorex-platform/framework-shared/core';
2
+ export type AXPEntityAggregateReducerType = 'count' | 'sum' | 'min' | 'max' | 'avg';
3
+ export interface AXPEntityAggregateMeasure {
4
+ reducer: AXPEntityAggregateReducerType;
5
+ /** Required for sum, min, max, and avg. Ignored for count (rows per group). */
6
+ field?: string;
7
+ /** Result column name; defaults are derived from the reducer and field. */
8
+ alias?: string;
9
+ }
10
+ /**
11
+ * Aggregate stored rows after the same filter/sort pipeline as {@link AXPQueryRequest}.
12
+ * Group keys use dotted field paths (same as lodash-style getters).
13
+ */
14
+ export interface AXPEntityAggregateRequest extends Pick<AXPQueryRequest, 'filter' | 'sort'> {
15
+ groupBy: string[];
16
+ measures: AXPEntityAggregateMeasure[];
17
+ }
18
+ export interface AXPEntityAggregateResult {
19
+ rows: Record<string, unknown>[];
20
+ }
21
+ export interface AXPEntityQueryAllOptions {
22
+ /**
23
+ * Page size for backends that read page-by-page (HTTP API).
24
+ * In-memory backends load the filtered set once and ignore this.
25
+ */
26
+ pageSize?: number;
27
+ /** Maximum rows to return or scan (safety cap). */
28
+ maxRows?: number;
29
+ }
30
+ export interface AXPEntityQueryAllResult<T> {
31
+ items: T[];
32
+ /** Row count matching filter/sort before applying maxRows. */
33
+ total: number;
34
+ /** True when maxRows prevented returning every matching row. */
35
+ truncated: boolean;
36
+ }
37
+ export interface AXPEntityAggregateOptions {
38
+ /** Maximum rows to load for aggregation when the backend pages remotely (default 50_000). */
39
+ maxRows?: number;
40
+ /** Page size for remote paging during aggregate (default 500). */
41
+ pageSize?: number;
42
+ }
43
+ //# sourceMappingURL=entity-storage.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-storage.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-storage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAI9E,MAAM,MAAM,6BAA6B,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEpF,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,6BAA6B,CAAC;IACvC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,MAAM,CAAC;IACzF,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,yBAAyB,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;CACjC;AAMD,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACxC,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,SAAS,EAAE,OAAO,CAAC;CACpB;AAMD,MAAM,WAAW,yBAAyB;IACxC,6FAA6F;IAC7F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //#endregion
4
+ //# sourceMappingURL=entity-storage.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-storage.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-storage.types.ts"],"names":[],"mappings":";;AA4DA,YAAY"}
@@ -0,0 +1,17 @@
1
+ export * from './entity-action.types';
2
+ export * from './entity-property.types';
3
+ export * from './entity-definition.types';
4
+ export * from './entity-model.types';
5
+ export * from './entity-storage.types';
6
+ export * from './entity-formats.types';
7
+ export * from './entity-property-list.types';
8
+ export * from './entity-display-field.types';
9
+ export * from './entity-card-field.types';
10
+ export * from './entity-query-view.types';
11
+ export * from './entity-master-list.types';
12
+ export * from './entity-detail-list.types';
13
+ export * from './entity-layout-view.types';
14
+ export * from './entity-related-layout.types';
15
+ export * from './entity-list-filter.types';
16
+ export * from './lookup-widget.types';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/index.ts"],"names":[],"mappings":"AAEA,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ //#region ---- Types barrel ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./entity-action.types"), exports);
6
+ tslib_1.__exportStar(require("./entity-property.types"), exports);
7
+ tslib_1.__exportStar(require("./entity-definition.types"), exports);
8
+ tslib_1.__exportStar(require("./entity-model.types"), exports);
9
+ tslib_1.__exportStar(require("./entity-storage.types"), exports);
10
+ tslib_1.__exportStar(require("./entity-formats.types"), exports);
11
+ tslib_1.__exportStar(require("./entity-property-list.types"), exports);
12
+ tslib_1.__exportStar(require("./entity-display-field.types"), exports);
13
+ tslib_1.__exportStar(require("./entity-card-field.types"), exports);
14
+ tslib_1.__exportStar(require("./entity-query-view.types"), exports);
15
+ tslib_1.__exportStar(require("./entity-master-list.types"), exports);
16
+ tslib_1.__exportStar(require("./entity-detail-list.types"), exports);
17
+ tslib_1.__exportStar(require("./entity-layout-view.types"), exports);
18
+ tslib_1.__exportStar(require("./entity-related-layout.types"), exports);
19
+ tslib_1.__exportStar(require("./entity-list-filter.types"), exports);
20
+ tslib_1.__exportStar(require("./lookup-widget.types"), exports);
21
+ //#endregion
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/index.ts"],"names":[],"mappings":";AAAA,gCAAgC;;;AAEhC,gEAAsC;AACtC,kEAAwC;AACxC,oEAA0C;AAC1C,+DAAqC;AACrC,iEAAuC;AACvC,iEAAuC;AACvC,uEAA6C;AAC7C,uEAA6C;AAC7C,oEAA0C;AAC1C,oEAA0C;AAC1C,qEAA2C;AAC3C,qEAA2C;AAC3C,qEAA2C;AAC3C,wEAA8C;AAC9C,qEAA2C;AAC3C,gEAAsC;AAEtC,YAAY"}
@@ -0,0 +1,79 @@
1
+ import type { AXPContextData, AXPExpression } from '@acorex-platform/framework-shared/core';
2
+ export interface AXPLookupWidgetCreateOptions {
3
+ enable?: boolean;
4
+ context?: AXPContextData;
5
+ }
6
+ export interface ResolvedLookupCreateOptions {
7
+ enabled: boolean;
8
+ mode: 'none' | 'full' | 'quick';
9
+ context?: AXPContextData;
10
+ }
11
+ export type AXPLookupWidgetLookType = 'select' | 'lookup';
12
+ /**
13
+ * How the lookup column resolves related items for display in entity lists.
14
+ * - `hydrated`: titles (and optional ids) are already on the row; inline preview + overflow popover use row data only.
15
+ * - `idsWithCount`: ids and optional count live on the row; the cell shows a count summary and loads titles via entity `byKey` when the popover opens.
16
+ * - `countOnly`: only a count is on the row; the popover loads ids/titles via a registered `AXPQuery` when opened.
17
+ */
18
+ export type AXPLookupColumnResolveStrategy = 'hydrated' | 'idsWithCount' | 'countOnly';
19
+ /**
20
+ * Column list only: controls how the lookup column loads and displays related items in grids.
21
+ * Omitted or empty strategy defaults to `hydrated` at runtime.
22
+ */
23
+ export interface AXPLookupColumnResolveOptions {
24
+ /** Default `hydrated` when omitted. */
25
+ strategy?: AXPLookupColumnResolveStrategy;
26
+ /** Lodash-style path on `rowData` for the displayed count (e.g. `rolesCount`). */
27
+ countFieldPath?: string;
28
+ /** Lodash-style path on `rowData` for the related id list (`idsWithCount`). If omitted, the column `rawValue` is used. */
29
+ idsPath?: string;
30
+ /** Registered query key for `AXPQueryExecutor.fetch` when using `countOnly`. */
31
+ queryKey?: string;
32
+ /**
33
+ * Maps query input property names to lodash-style paths on `rowData` (e.g. `{ "userId": "id" }`).
34
+ * May be a JSON string when set from the layout designer text field.
35
+ */
36
+ queryParams?: Record<string, string> | string;
37
+ /**
38
+ * Dot path into the named query result for the items array. Defaults to `items` when the result is an object.
39
+ * If the query returns an array directly, leave unset and handle at runtime.
40
+ */
41
+ queryResultItemsPath?: string;
42
+ }
43
+ export interface AXPLookupDisplayOptions {
44
+ displayFormat?: string;
45
+ textField?: string;
46
+ isMultiLanguage?: (value: unknown) => boolean;
47
+ }
48
+ /** Column list: entity detail popover when clicking a lookup value. */
49
+ export interface AXPLookupPopoverOptions {
50
+ /** When `false`, lookup values are not clickable and the detail popover does not open. Default `true`. */
51
+ enabled?: boolean;
52
+ }
53
+ /** Row actions to show in the lookup data selector popup (subset of entity list actions). */
54
+ export interface AXPLookupSelectorRowActionsConfig {
55
+ /** Primary icon buttons (e.g. preview). Match full command name or suffix such as `:Preview`. */
56
+ primary?: string[];
57
+ /** Secondary actions in the row dropdown menu. */
58
+ secondary?: string[];
59
+ }
60
+ export interface AXPLookupWidgetOptions {
61
+ disabled?: boolean | AXPExpression;
62
+ readonly?: boolean | AXPExpression;
63
+ placeholder?: string;
64
+ expose?: string | string[];
65
+ look?: AXPLookupWidgetLookType;
66
+ allowClear?: boolean;
67
+ /** Inline entity create configuration. */
68
+ create?: AXPLookupWidgetCreateOptions;
69
+ /** @deprecated Use create.enable; still supported for create mode (quick/full). */
70
+ allowCreate?: 'none' | 'full' | 'quick';
71
+ displayFormat?: string;
72
+ /** Column list: entity detail popover behavior. */
73
+ popover?: AXPLookupPopoverOptions;
74
+ /** Column list: lazy resolve and summary behavior. */
75
+ columnResolve?: AXPLookupColumnResolveOptions;
76
+ /** Lookup selector popup: entity row actions to display. */
77
+ selectorRowActions?: AXPLookupSelectorRowActionsConfig;
78
+ }
79
+ //# sourceMappingURL=lookup-widget.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-widget.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/lookup-widget.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAI5F,MAAM,WAAW,4BAA4B;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,cAA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CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,mFAAmF;IACnF,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,sDAAsD;IACtD,aAAa,CAAC,EAAE,6BAA6B,CAAC;IAC9C,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,iCAAiC,CAAC;CACxD"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //#endregion
4
+ //# sourceMappingURL=lookup-widget.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup-widget.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/lookup-widget.types.ts"],"names":[],"mappings":";;AA0FA,YAAY"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Normalizes display templates before expression evaluation.
3
+ * Converts simple dot paths (e.g. `{{ position.title }}`) to `context.eval("position.title")`.
4
+ */
5
+ export declare function normalizeExpressionTemplate(template: string): string;
6
+ /** @see normalizeExpressionTemplate */
7
+ export declare const normalizeEntityDisplayTemplate: typeof normalizeExpressionTemplate;
8
+ /** True when formatted text still contains unresolved template markers. */
9
+ export declare function isUnresolvedEntityDisplayTemplate(value: string): boolean;
10
+ /**
11
+ * Strips literal `undefined` / `null` tokens produced when expression segments are missing.
12
+ */
13
+ export declare function sanitizeResolvedEntityDisplayTitle(value: string): string;
14
+ /** True when a resolved title is non-empty and safe to show in search or entity chrome. */
15
+ export declare function isMeaningfulEntityDisplayTitle(value: string): boolean;
16
+ export declare function isRowBoundEntityDisplayTemplate(template: string): boolean;
17
+ //# sourceMappingURL=entity-display-template.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-display-template.util.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/utils/entity-display-template.util.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAcpE;AAED,uCAAuC;AACvC,eAAO,MAAM,8BAA8B,oCAA8B,CAAC;AAE1E,2EAA2E;AAC3E,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAExE;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAexE;AAED,2FAA2F;AAC3F,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAGrE;AAED,wBAAgB,+BAA+B,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAMzE"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ //#region ---- Template normalization ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.normalizeEntityDisplayTemplate = void 0;
5
+ exports.normalizeExpressionTemplate = normalizeExpressionTemplate;
6
+ exports.isUnresolvedEntityDisplayTemplate = isUnresolvedEntityDisplayTemplate;
7
+ exports.sanitizeResolvedEntityDisplayTitle = sanitizeResolvedEntityDisplayTitle;
8
+ exports.isMeaningfulEntityDisplayTitle = isMeaningfulEntityDisplayTitle;
9
+ exports.isRowBoundEntityDisplayTemplate = isRowBoundEntityDisplayTemplate;
10
+ /**
11
+ * Normalizes display templates before expression evaluation.
12
+ * Converts simple dot paths (e.g. `{{ position.title }}`) to `context.eval("position.title")`.
13
+ */
14
+ function normalizeExpressionTemplate(template) {
15
+ let normalized = template.replace(/\{\{\s*context\.eval\(['"]([^'"]+)['"]\)\s*\}\}/g, '{{ context.eval("$1") }}');
16
+ if (!normalized.includes('{{')) {
17
+ normalized = normalized.replace(/\{/g, '{{').replace(/\}/g, '}}');
18
+ }
19
+ return normalized.replace(/\{\{\s*(?!context\.)([\w]+(?:\.[\w]+)*)\s*\}\}/g, '{{ context.eval("$1") }}');
20
+ }
21
+ /** @see normalizeExpressionTemplate */
22
+ exports.normalizeEntityDisplayTemplate = normalizeExpressionTemplate;
23
+ /** True when formatted text still contains unresolved template markers. */
24
+ function isUnresolvedEntityDisplayTemplate(value) {
25
+ return /\{\{/.test(value) || /context\.eval\s*\(/.test(value) || value === '[object Object]';
26
+ }
27
+ /**
28
+ * Strips literal `undefined` / `null` tokens produced when expression segments are missing.
29
+ */
30
+ function sanitizeResolvedEntityDisplayTitle(value) {
31
+ const trimmed = value.trim();
32
+ if (!trimmed) {
33
+ return '';
34
+ }
35
+ const withoutLiterals = trimmed
36
+ .replace(/\bundefined\b/gi, ' ')
37
+ .replace(/\bnull\b/gi, ' ')
38
+ .replace(/\s+/g, ' ')
39
+ .trim();
40
+ return withoutLiterals
41
+ .replace(/^[\s\-–—·|/,()+]+|[\s\-–—·|/,()+]+$/g, '')
42
+ .trim();
43
+ }
44
+ /** True when a resolved title is non-empty and safe to show in search or entity chrome. */
45
+ function isMeaningfulEntityDisplayTitle(value) {
46
+ const sanitized = sanitizeResolvedEntityDisplayTitle(value);
47
+ return sanitized.length > 0 && !isUnresolvedEntityDisplayTemplate(sanitized);
48
+ }
49
+ function isRowBoundEntityDisplayTemplate(template) {
50
+ const trimmed = template.trim();
51
+ if (!trimmed || trimmed.startsWith('@')) {
52
+ return false;
53
+ }
54
+ return trimmed.includes('{{') || trimmed.includes('{');
55
+ }
56
+ //#endregion
57
+ //# sourceMappingURL=entity-display-template.util.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-display-template.util.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/utils/entity-display-template.util.ts"],"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SAAgB,8BAA8B,CAAC,KAAa;IAC1D,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,CAAC;IAC5D,OAAO,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,iCAAiC,CAAC,SAAS,CAAC,CAAC;AAC/E,CAAC;AAED,SAAgB,+BAA+B,CAAC,QAAgB;IAC9D,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;IAChC,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QACxC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AACzD,CAAC;AAED,YAAY"}
@@ -0,0 +1,17 @@
1
+ type AXPWidgetTypesMap = Record<string, string>;
2
+ import type { AXPEntity } from '../types/entity-definition.types';
3
+ import type { AXPEntityListFilterDefinition } from '../types/entity-list-filter.types';
4
+ import type { AXPCollectEntityQuickSearchPathsResolver } from './entity-quick-search-paths.util';
5
+ export interface AXPBuildEntityListFilterDefinitionsDeps {
6
+ resolveWidget?: (type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap]) => {
7
+ icon?: string;
8
+ defaultFilterWidgetName?: string;
9
+ } | undefined;
10
+ }
11
+ /**
12
+ * Builds master-list filter definitions from host properties and merge-detail related entities.
13
+ * Related filters use `{dataPath}.{property}` query fields (e.g. `person.firstName`).
14
+ */
15
+ export declare function collectEntityListFilterDefinitions(entity: AXPEntity | null | undefined, resolveRelatedDefinition: AXPCollectEntityQuickSearchPathsResolver, deps?: AXPBuildEntityListFilterDefinitionsDeps): Promise<AXPEntityListFilterDefinition[]>;
16
+ export {};
17
+ //# sourceMappingURL=entity-list-filter-definitions.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-list-filter-definitions.util.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/utils/entity-list-filter-definitions.util.ts"],"names":[],"mappings":"AACA,KAAK,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAGhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAYvF,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAC;AAIjG,MAAM,WAAW,uCAAuC;IACtD,aAAa,CAAC,EAAE,CACd,IAAI,EAAE,iBAAiB,CAAC,MAAM,iBAAiB,CAAC,KAC7C;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,uBAAuB,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACtE;AAyMD;;;GAGG;AACH,wBAAsB,kCAAkC,CACtD,MAAM,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,EACpC,wBAAwB,EAAE,wCAAwC,EAClE,IAAI,CAAC,EAAE,uCAAuC,GAC7C,OAAO,CAAC,6BAA6B,EAAE,CAAC,CAa1C"}