@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,851 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AXPSystemActions = void 0;
4
+ exports.getSystemActions = getSystemActions;
5
+ exports.resolveActionLook = resolveActionLook;
6
+ exports.getActionButton = getActionButton;
7
+ const core_types_1 = require("./core.types");
8
+ /**
9
+ * Additional suggested generic actions for future consideration:
10
+ *
11
+ * Data & Content Actions:
12
+ * - Search = 'search' - Search functionality
13
+ * - Filter = 'filter' - Apply filters
14
+ * - Sort = 'sort' - Sort data
15
+ * - Group = 'group' - Group data
16
+ * - Expand = 'expand' - Expand details
17
+ * - Collapse = 'collapse' - Collapse details
18
+ * - Pin = 'pin' - Pin to favorites
19
+ * - Bookmark = 'bookmark' - Bookmark item
20
+ * - Favorite = 'favorite' - Mark as favorite
21
+ * - Star = 'star' - Star rating
22
+ *
23
+ * Workflow Actions:
24
+ * - Start = 'start' - Start process/workflow
25
+ * - Stop = 'stop' - Stop process
26
+ * - Pause = 'pause' - Pause process
27
+ * - Resume = 'resume' - Resume process
28
+ * - Cancel = 'cancel' - Cancel operation
29
+ * - Complete = 'complete' - Mark as complete
30
+ * - Close = 'close' - Close item
31
+ * - Reopen = 'reopen' - Reopen closed item
32
+ * - Forward = 'forward' - Forward to next step
33
+ * - Back = 'back' - Go back
34
+ *
35
+ * Communication Actions:
36
+ * - Reply = 'reply' - Reply to message
37
+ * - Forward = 'forward' - Forward message
38
+ * - Notify = 'notify' - Send notification
39
+ * - Invite = 'invite' - Invite user
40
+ * - Join = 'join' - Join group/meeting
41
+ * - Leave = 'leave' - Leave group/meeting
42
+ *
43
+ * Security Actions:
44
+ * - Login = 'login' - User login
45
+ * - Logout = 'logout' - User logout
46
+ * - Block = 'block' - Block user/content
47
+ * - Unblock = 'unblock' - Unblock user/content
48
+ * - Ban = 'ban' - Ban user
49
+ * - Unban = 'unban' - Unban user
50
+ * - Verify = 'verify' - Verify identity
51
+ * - Authenticate = 'authenticate' - Authenticate
52
+ *
53
+ * File & Media Actions:
54
+ * - Open = 'open' - Open file
55
+ * - Save = 'save' - Save file
56
+ * - SaveAs = 'save-as' - Save as new file
57
+ * - Attach = 'attach' - Attach file
58
+ * - Detach = 'detach' - Detach file
59
+ * - Compress = 'compress' - Compress files
60
+ * - Extract = 'extract' - Extract archive
61
+ * - Convert = 'convert' - Convert format
62
+ * - Crop = 'crop' - Crop image
63
+ * - Resize = 'resize' - Resize image
64
+ *
65
+ * System Actions:
66
+ * - Sync = 'sync' - Synchronize data
67
+ * - Backup = 'backup' - Create backup
68
+ * - Restore = 'restore' - Restore from backup
69
+ * - Reset = 'reset' - Reset to defaults
70
+ * - Clear = 'clear' - Clear data
71
+ * - Optimize = 'optimize' - Optimize performance
72
+ * - Update = 'update' - Update system
73
+ * - Install = 'install' - Install component
74
+ * - Uninstall = 'uninstall' - Uninstall component
75
+ * - Enable = 'enable' - Enable feature
76
+ * - Disable = 'disable' - Disable feature
77
+ *
78
+ * Analytics & Monitoring:
79
+ * - Monitor = 'monitor' - Monitor activity
80
+ * - Track = 'track' - Track progress
81
+ * - Analyze = 'analyze' - Analyze data
82
+ * - Debug = 'debug' - Debug issue
83
+ * - Log = 'log' - View logs
84
+ * - Alert = 'alert' - Set alert
85
+ * - Dashboard = 'dashboard' - View dashboard
86
+ * - Metrics = 'metrics' - View metrics
87
+ *
88
+ * Collaboration Actions:
89
+ * - Collaborate = 'collaborate' - Start collaboration
90
+ * - Share = 'share' - Share content
91
+ * - Comment = 'comment' - Add comment
92
+ * - Like = 'like' - Like content
93
+ * - Follow = 'follow' - Follow user/content
94
+ * - Subscribe = 'subscribe' - Subscribe to updates
95
+ * - Unsubscribe = 'unsubscribe' - Unsubscribe
96
+ * - Rate = 'rate' - Rate content
97
+ * - Review = 'review' - Review content
98
+ * - Recommend = 'recommend' - Recommend content
99
+ */
100
+ const i18n = (key) => `@general:actions.${key}`;
101
+ exports.AXPSystemActions = Object.freeze({
102
+ View: {
103
+ key: core_types_1.AXPSystemActionType.View,
104
+ title: i18n('view.title'),
105
+ icon: 'fa-light fa-eye',
106
+ color: 'primary',
107
+ descriptions: {
108
+ title: i18n('view.title'),
109
+ tooltip: i18n('view.description'),
110
+ permission: i18n('view.permission'),
111
+ audit: i18n('view.audit')
112
+ }
113
+ },
114
+ Create: {
115
+ key: core_types_1.AXPSystemActionType.Create,
116
+ title: i18n('create.title'),
117
+ icon: 'fa-light fa-plus',
118
+ color: 'primary',
119
+ descriptions: {
120
+ title: i18n('create.title'),
121
+ tooltip: i18n('create.description'),
122
+ permission: i18n('create.permission'),
123
+ audit: i18n('create.audit')
124
+ }
125
+ },
126
+ Edit: {
127
+ key: core_types_1.AXPSystemActionType.Update,
128
+ title: i18n('edit.title'),
129
+ icon: 'fa-light fa-pen',
130
+ color: 'default',
131
+ descriptions: {
132
+ title: i18n('edit.title'),
133
+ tooltip: i18n('edit.description'),
134
+ permission: i18n('edit.permission'),
135
+ audit: i18n('edit.audit')
136
+ }
137
+ },
138
+ Delete: {
139
+ key: core_types_1.AXPSystemActionType.Delete,
140
+ title: i18n('delete.title'),
141
+ icon: 'fa-light fa-trash',
142
+ color: 'danger',
143
+ critical: true,
144
+ descriptions: {
145
+ title: i18n('delete.title'),
146
+ tooltip: i18n('delete.description'),
147
+ permission: i18n('delete.permission'),
148
+ audit: i18n('delete.audit')
149
+ }
150
+ },
151
+ Approve: {
152
+ key: core_types_1.AXPSystemActionType.Approve,
153
+ title: i18n('approve.title'),
154
+ icon: 'fa-light fa-circle-check',
155
+ color: 'success',
156
+ critical: true,
157
+ descriptions: {
158
+ title: i18n('approve.title'),
159
+ tooltip: i18n('approve.description'),
160
+ permission: i18n('approve.permission'),
161
+ audit: i18n('approve.audit')
162
+ }
163
+ },
164
+ Submit: {
165
+ key: core_types_1.AXPSystemActionType.Submit,
166
+ title: i18n('submit.title'),
167
+ icon: 'fa-light fa-paper-plane',
168
+ color: 'primary',
169
+ descriptions: {
170
+ title: i18n('submit.title'),
171
+ tooltip: i18n('submit.description'),
172
+ permission: i18n('submit.permission'),
173
+ audit: i18n('submit.audit')
174
+ }
175
+ },
176
+ Reject: {
177
+ key: core_types_1.AXPSystemActionType.Reject,
178
+ title: i18n('reject.title'),
179
+ icon: 'fa-light fa-ban',
180
+ color: 'danger',
181
+ critical: true,
182
+ descriptions: {
183
+ title: i18n('reject.title'),
184
+ tooltip: i18n('reject.description'),
185
+ permission: i18n('reject.permission'),
186
+ audit: i18n('reject.audit')
187
+ }
188
+ },
189
+ Export: {
190
+ key: core_types_1.AXPSystemActionType.Export,
191
+ title: i18n('export.title'),
192
+ icon: 'fa-light fa-download',
193
+ color: 'default',
194
+ descriptions: {
195
+ title: i18n('export.title'),
196
+ tooltip: i18n('export.description'),
197
+ permission: i18n('export.permission'),
198
+ audit: i18n('export.audit')
199
+ }
200
+ },
201
+ Import: {
202
+ key: core_types_1.AXPSystemActionType.Import,
203
+ title: i18n('import.title'),
204
+ icon: 'fa-light fa-upload',
205
+ color: 'default',
206
+ descriptions: {
207
+ title: i18n('import.title'),
208
+ tooltip: i18n('import.description'),
209
+ permission: i18n('import.permission'),
210
+ audit: i18n('import.audit')
211
+ }
212
+ },
213
+ Print: {
214
+ key: core_types_1.AXPSystemActionType.Print,
215
+ title: i18n('print.title'),
216
+ icon: 'fa-light fa-print',
217
+ color: 'default',
218
+ descriptions: {
219
+ title: i18n('print.title'),
220
+ tooltip: i18n('print.description'),
221
+ permission: i18n('print.permission'),
222
+ audit: i18n('print.audit')
223
+ }
224
+ },
225
+ Duplicate: {
226
+ key: core_types_1.AXPSystemActionType.Duplicate,
227
+ title: i18n('duplicate.title'),
228
+ icon: 'fa-light fa-clone',
229
+ color: 'warning',
230
+ descriptions: {
231
+ title: i18n('duplicate.title'),
232
+ tooltip: i18n('duplicate.description'),
233
+ permission: i18n('duplicate.permission'),
234
+ audit: i18n('duplicate.audit')
235
+ }
236
+ },
237
+ Archive: {
238
+ key: core_types_1.AXPSystemActionType.Archive,
239
+ title: i18n('archive.title'),
240
+ icon: 'fa-light fa-box-archive',
241
+ color: 'default',
242
+ descriptions: {
243
+ title: i18n('archive.title'),
244
+ tooltip: i18n('archive.description'),
245
+ permission: i18n('archive.permission'),
246
+ audit: i18n('archive.audit')
247
+ }
248
+ },
249
+ Restore: {
250
+ key: core_types_1.AXPSystemActionType.Restore,
251
+ title: i18n('restore.title'),
252
+ icon: 'fa-light fa-arrow-rotate-left',
253
+ color: 'default',
254
+ descriptions: {
255
+ title: i18n('restore.title'),
256
+ tooltip: i18n('restore.description'),
257
+ permission: i18n('restore.permission'),
258
+ audit: i18n('restore.audit')
259
+ }
260
+ },
261
+ Assign: {
262
+ key: core_types_1.AXPSystemActionType.Assign,
263
+ title: i18n('assign.title'),
264
+ icon: 'fa-light fa-user-plus',
265
+ color: 'primary',
266
+ descriptions: {
267
+ title: i18n('assign.title'),
268
+ tooltip: i18n('assign.description'),
269
+ permission: i18n('assign.permission'),
270
+ audit: i18n('assign.audit')
271
+ }
272
+ },
273
+ Lock: {
274
+ key: core_types_1.AXPSystemActionType.Lock,
275
+ title: i18n('lock.title'),
276
+ icon: 'fa-light fa-lock',
277
+ color: 'warning',
278
+ descriptions: {
279
+ title: i18n('lock.title'),
280
+ tooltip: i18n('lock.description'),
281
+ permission: i18n('lock.permission'),
282
+ audit: i18n('lock.audit')
283
+ }
284
+ },
285
+ Unlock: {
286
+ key: core_types_1.AXPSystemActionType.Unlock,
287
+ title: i18n('unlock.title'),
288
+ icon: 'fa-light fa-unlock',
289
+ color: 'success',
290
+ descriptions: {
291
+ title: i18n('unlock.title'),
292
+ tooltip: i18n('unlock.description'),
293
+ permission: i18n('unlock.permission'),
294
+ audit: i18n('unlock.audit')
295
+ }
296
+ },
297
+ Share: {
298
+ key: core_types_1.AXPSystemActionType.Share,
299
+ title: i18n('share.title'),
300
+ icon: 'fa-light fa-share-nodes',
301
+ color: 'info',
302
+ descriptions: {
303
+ title: i18n('share.title'),
304
+ tooltip: i18n('share.description'),
305
+ permission: i18n('share.permission'),
306
+ audit: i18n('share.audit')
307
+ }
308
+ },
309
+ Configure: {
310
+ key: core_types_1.AXPSystemActionType.Configure,
311
+ title: i18n('configure.title'),
312
+ icon: 'fa-light fa-sliders',
313
+ color: 'primary',
314
+ descriptions: {
315
+ title: i18n('configure.title'),
316
+ tooltip: i18n('configure.description'),
317
+ permission: i18n('configure.permission'),
318
+ audit: i18n('configure.audit')
319
+ }
320
+ },
321
+ Reorder: {
322
+ key: core_types_1.AXPSystemActionType.Reorder,
323
+ title: i18n('reorder.title'),
324
+ icon: 'fa-light fa-arrow-down-up-across-line',
325
+ color: 'default',
326
+ descriptions: {
327
+ title: i18n('reorder.title'),
328
+ tooltip: i18n('reorder.description'),
329
+ permission: i18n('reorder.permission'),
330
+ audit: i18n('reorder.audit')
331
+ }
332
+ },
333
+ Preview: {
334
+ key: core_types_1.AXPSystemActionType.Preview,
335
+ title: i18n('preview.title'),
336
+ icon: 'fa-light fa-magnifying-glass',
337
+ color: 'default',
338
+ descriptions: {
339
+ title: i18n('preview.title'),
340
+ tooltip: i18n('preview.description'),
341
+ permission: i18n('preview.permission'),
342
+ audit: i18n('preview.audit')
343
+ }
344
+ },
345
+ Publish: {
346
+ key: core_types_1.AXPSystemActionType.Publish,
347
+ title: i18n('publish.title'),
348
+ icon: 'fa-light fa-globe',
349
+ color: 'success',
350
+ descriptions: {
351
+ title: i18n('publish.title'),
352
+ tooltip: i18n('publish.description'),
353
+ permission: i18n('publish.permission'),
354
+ audit: i18n('publish.audit')
355
+ }
356
+ },
357
+ Unpublish: {
358
+ key: core_types_1.AXPSystemActionType.Unpublish,
359
+ title: i18n('unpublish.title'),
360
+ icon: 'fa-light fa-globe-slash',
361
+ color: 'danger',
362
+ descriptions: {
363
+ title: i18n('unpublish.title'),
364
+ tooltip: i18n('unpublish.description'),
365
+ permission: i18n('unpublish.permission'),
366
+ audit: i18n('unpublish.audit')
367
+ }
368
+ },
369
+ Upload: {
370
+ key: core_types_1.AXPSystemActionType.Upload,
371
+ title: i18n('upload.title'),
372
+ icon: 'fa-light fa-upload',
373
+ color: 'default',
374
+ descriptions: {
375
+ title: i18n('upload.title'),
376
+ tooltip: i18n('upload.description'),
377
+ permission: i18n('upload.permission'),
378
+ audit: i18n('upload.audit')
379
+ }
380
+ },
381
+ Download: {
382
+ key: core_types_1.AXPSystemActionType.Download,
383
+ title: i18n('download.title'),
384
+ icon: 'fa-light fa-download',
385
+ color: 'default',
386
+ descriptions: {
387
+ title: i18n('download.title'),
388
+ tooltip: i18n('download.description'),
389
+ permission: i18n('download.permission'),
390
+ audit: i18n('download.audit')
391
+ }
392
+ },
393
+ Copy: {
394
+ key: core_types_1.AXPSystemActionType.Copy,
395
+ title: i18n('copy.title'),
396
+ icon: 'fa-light fa-copy',
397
+ color: 'default',
398
+ descriptions: {
399
+ title: i18n('copy.title'),
400
+ tooltip: i18n('copy.description'),
401
+ permission: i18n('copy.permission'),
402
+ audit: i18n('copy.audit')
403
+ }
404
+ },
405
+ Move: {
406
+ key: core_types_1.AXPSystemActionType.Move,
407
+ title: i18n('move.title'),
408
+ icon: 'fa-light fa-arrow-right-arrow-left',
409
+ color: 'default',
410
+ descriptions: {
411
+ title: i18n('move.title'),
412
+ tooltip: i18n('move.description'),
413
+ permission: i18n('move.permission'),
414
+ audit: i18n('move.audit')
415
+ }
416
+ },
417
+ Rename: {
418
+ key: core_types_1.AXPSystemActionType.Rename,
419
+ title: i18n('rename.title'),
420
+ icon: 'fa-light fa-pen',
421
+ color: 'default',
422
+ descriptions: {
423
+ title: i18n('rename.title'),
424
+ tooltip: i18n('rename.description'),
425
+ permission: i18n('rename.permission'),
426
+ audit: i18n('rename.audit')
427
+ }
428
+ },
429
+ Manage: {
430
+ key: core_types_1.AXPSystemActionType.Manage,
431
+ title: i18n('manage.title'),
432
+ icon: 'fa-light fa-gear',
433
+ color: 'default',
434
+ descriptions: {
435
+ title: i18n('manage.title'),
436
+ tooltip: i18n('manage.description'),
437
+ permission: i18n('manage.permission'),
438
+ audit: i18n('manage.audit')
439
+ }
440
+ },
441
+ Info: {
442
+ key: core_types_1.AXPSystemActionType.Info,
443
+ title: i18n('info.title'),
444
+ icon: 'fa-light fa-info',
445
+ color: 'default',
446
+ descriptions: {
447
+ title: i18n('info.title'),
448
+ tooltip: i18n('info.description'),
449
+ permission: i18n('info.permission'),
450
+ audit: i18n('info.audit')
451
+ }
452
+ },
453
+ Confirm: {
454
+ key: core_types_1.AXPSystemActionType.Confirm,
455
+ title: i18n('confirm.title'),
456
+ icon: 'fa-light fa-check',
457
+ color: 'success',
458
+ descriptions: {
459
+ title: i18n('confirm.title'),
460
+ tooltip: i18n('confirm.description'),
461
+ permission: i18n('confirm.permission'),
462
+ audit: i18n('confirm.audit')
463
+ }
464
+ },
465
+ Design: {
466
+ key: core_types_1.AXPSystemActionType.Design,
467
+ title: i18n('design.title'),
468
+ icon: 'fa-light fa-paintbrush',
469
+ color: 'default',
470
+ descriptions: {
471
+ title: i18n('design.title'),
472
+ tooltip: i18n('design.description'),
473
+ permission: i18n('design.permission'),
474
+ audit: i18n('design.audit')
475
+ }
476
+ },
477
+ VersionHistory: {
478
+ key: core_types_1.AXPSystemActionType.VersionHistory,
479
+ title: i18n('version-history.title'),
480
+ icon: 'fa-light fa-history',
481
+ color: 'default',
482
+ descriptions: {
483
+ title: i18n('version-history.title'),
484
+ tooltip: i18n('version-history.description'),
485
+ permission: i18n('version-history.permission'),
486
+ audit: i18n('version-history.audit')
487
+ }
488
+ },
489
+ Compare: {
490
+ key: core_types_1.AXPSystemActionType.Compare,
491
+ title: i18n('compare.title'),
492
+ icon: 'fa-light fa-code-compare',
493
+ color: 'default',
494
+ descriptions: {
495
+ title: i18n('compare.title'),
496
+ tooltip: i18n('compare.description'),
497
+ permission: i18n('compare.permission'),
498
+ audit: i18n('compare.audit')
499
+ }
500
+ },
501
+ Comments: {
502
+ key: core_types_1.AXPSystemActionType.Comments,
503
+ title: i18n('comments.title'),
504
+ icon: 'fa-light fa-comments',
505
+ color: 'default',
506
+ descriptions: {
507
+ title: i18n('comments.title'),
508
+ tooltip: i18n('comments.description'),
509
+ permission: i18n('comments.permission'),
510
+ audit: i18n('comments.audit')
511
+ }
512
+ },
513
+ Sign: {
514
+ key: core_types_1.AXPSystemActionType.Sign,
515
+ title: i18n('sign.title'),
516
+ icon: 'fa-light fa-signature',
517
+ color: 'default',
518
+ descriptions: {
519
+ title: i18n('sign.title'),
520
+ tooltip: i18n('sign.description'),
521
+ permission: i18n('sign.permission'),
522
+ audit: i18n('sign.audit')
523
+ }
524
+ },
525
+ Setup: {
526
+ key: core_types_1.AXPSystemActionType.Setup,
527
+ title: i18n('setup.title'),
528
+ icon: 'fa-light fa-cog',
529
+ color: 'default',
530
+ descriptions: {
531
+ title: i18n('setup.title'),
532
+ tooltip: i18n('setup.description'),
533
+ permission: i18n('setup.permission'),
534
+ audit: i18n('setup.audit')
535
+ }
536
+ },
537
+ Send: {
538
+ key: core_types_1.AXPSystemActionType.Send,
539
+ title: i18n('send.title'),
540
+ icon: 'fa-light fa-envelope',
541
+ color: 'default',
542
+ descriptions: {
543
+ title: i18n('send.title'),
544
+ tooltip: i18n('send.description'),
545
+ permission: i18n('send.permission'),
546
+ audit: i18n('send.audit')
547
+ }
548
+ },
549
+ Report: {
550
+ key: core_types_1.AXPSystemActionType.Report,
551
+ title: i18n('report.title'),
552
+ icon: 'fa-light fa-chart-line',
553
+ color: 'default',
554
+ descriptions: {
555
+ title: i18n('report.title'),
556
+ tooltip: i18n('report.description'),
557
+ permission: i18n('report.permission'),
558
+ audit: i18n('report.audit')
559
+ }
560
+ },
561
+ Sent: {
562
+ key: core_types_1.AXPSystemActionType.Sent,
563
+ title: i18n('sent.title'),
564
+ icon: 'fa-light fa-paper-plane',
565
+ color: 'default',
566
+ descriptions: {
567
+ title: i18n('sent.title'),
568
+ tooltip: i18n('sent.description'),
569
+ permission: i18n('sent.permission'),
570
+ audit: i18n('sent.audit')
571
+ }
572
+ },
573
+ Review: {
574
+ key: core_types_1.AXPSystemActionType.Review,
575
+ title: i18n('review.title'),
576
+ icon: 'fa-light fa-eye',
577
+ color: 'default',
578
+ descriptions: {
579
+ title: i18n('review.title'),
580
+ tooltip: i18n('review.description'),
581
+ permission: i18n('review.permission'),
582
+ audit: i18n('review.audit')
583
+ }
584
+ },
585
+ Generate: {
586
+ key: core_types_1.AXPSystemActionType.Generate,
587
+ title: i18n('generate.title'),
588
+ icon: 'fa-light fa-wand-magic-sparkles',
589
+ color: 'primary',
590
+ descriptions: {
591
+ title: i18n('generate.title'),
592
+ tooltip: i18n('generate.description'),
593
+ permission: i18n('generate.permission'),
594
+ audit: i18n('generate.audit')
595
+ }
596
+ },
597
+ Refresh: {
598
+ key: core_types_1.AXPSystemActionType.Refresh,
599
+ title: i18n('refresh.title'),
600
+ icon: 'fa-light fa-arrows-rotate',
601
+ color: 'default',
602
+ descriptions: {
603
+ title: i18n('refresh.title'),
604
+ tooltip: i18n('refresh.description'),
605
+ permission: i18n('refresh.permission'),
606
+ audit: i18n('refresh.audit')
607
+ }
608
+ },
609
+ Reload: {
610
+ key: core_types_1.AXPSystemActionType.Reload,
611
+ title: i18n('reload.title'),
612
+ icon: 'fa-light fa-arrows-rotate',
613
+ color: 'default',
614
+ descriptions: {
615
+ title: i18n('reload.title'),
616
+ tooltip: i18n('reload.description'),
617
+ permission: i18n('reload.permission'),
618
+ audit: i18n('reload.audit')
619
+ }
620
+ },
621
+ Search: {
622
+ key: core_types_1.AXPSystemActionType.Search,
623
+ title: i18n('search.title'),
624
+ icon: 'fa-light fa-magnifying-glass',
625
+ color: 'default',
626
+ descriptions: {
627
+ title: i18n('search.title'),
628
+ tooltip: i18n('search.description'),
629
+ permission: i18n('search.permission'),
630
+ audit: i18n('search.audit')
631
+ }
632
+ },
633
+ Filter: {
634
+ key: core_types_1.AXPSystemActionType.Filter,
635
+ title: i18n('filter.title'),
636
+ icon: 'fa-light fa-filter',
637
+ color: 'default',
638
+ descriptions: {
639
+ title: i18n('filter.title'),
640
+ tooltip: i18n('filter.description'),
641
+ permission: i18n('filter.permission'),
642
+ audit: i18n('filter.audit')
643
+ }
644
+ },
645
+ Sort: {
646
+ key: core_types_1.AXPSystemActionType.Sort,
647
+ title: i18n('sort.title'),
648
+ icon: 'fa-light fa-arrow-down-up-across-line',
649
+ color: 'default',
650
+ descriptions: {
651
+ title: i18n('sort.title'),
652
+ tooltip: i18n('sort.description'),
653
+ permission: i18n('sort.permission'),
654
+ audit: i18n('sort.audit')
655
+ }
656
+ },
657
+ Start: {
658
+ key: core_types_1.AXPSystemActionType.Start,
659
+ title: i18n('start.title'),
660
+ icon: 'fa-light fa-play',
661
+ color: 'success',
662
+ descriptions: {
663
+ title: i18n('start.title'),
664
+ tooltip: i18n('start.description'),
665
+ permission: i18n('start.permission'),
666
+ audit: i18n('start.audit')
667
+ }
668
+ },
669
+ Stop: {
670
+ key: core_types_1.AXPSystemActionType.Stop,
671
+ title: i18n('stop.title'),
672
+ icon: 'fa-light fa-stop',
673
+ color: 'danger',
674
+ critical: true,
675
+ descriptions: {
676
+ title: i18n('stop.title'),
677
+ tooltip: i18n('stop.description'),
678
+ permission: i18n('stop.permission'),
679
+ audit: i18n('stop.audit')
680
+ }
681
+ },
682
+ Pause: {
683
+ key: core_types_1.AXPSystemActionType.Pause,
684
+ title: i18n('pause.title'),
685
+ icon: 'fa-light fa-pause',
686
+ color: 'warning',
687
+ descriptions: {
688
+ title: i18n('pause.title'),
689
+ tooltip: i18n('pause.description'),
690
+ permission: i18n('pause.permission'),
691
+ audit: i18n('pause.audit')
692
+ }
693
+ },
694
+ Cancel: {
695
+ key: core_types_1.AXPSystemActionType.Cancel,
696
+ title: i18n('cancel.title'),
697
+ icon: 'fa-light fa-xmark',
698
+ critical: true,
699
+ descriptions: {
700
+ title: i18n('cancel.title'),
701
+ tooltip: i18n('cancel.description'),
702
+ permission: i18n('cancel.permission'),
703
+ audit: i18n('cancel.audit')
704
+ }
705
+ },
706
+ Close: {
707
+ key: core_types_1.AXPSystemActionType.Close,
708
+ title: i18n('close.title'),
709
+ icon: 'fa-light fa-xmark',
710
+ color: 'default',
711
+ descriptions: {
712
+ title: i18n('close.title'),
713
+ tooltip: i18n('close.description'),
714
+ permission: i18n('close.permission'),
715
+ audit: i18n('close.audit')
716
+ }
717
+ },
718
+ Complete: {
719
+ key: core_types_1.AXPSystemActionType.Complete,
720
+ title: i18n('complete.title'),
721
+ icon: 'fa-light fa-check',
722
+ color: 'success',
723
+ descriptions: {
724
+ title: i18n('complete.title'),
725
+ tooltip: i18n('complete.description'),
726
+ permission: i18n('complete.permission'),
727
+ audit: i18n('complete.audit')
728
+ }
729
+ },
730
+ Save: {
731
+ key: core_types_1.AXPSystemActionType.Save,
732
+ title: i18n('save.title'),
733
+ icon: 'fa-light fa-floppy-disk',
734
+ color: 'primary',
735
+ descriptions: {
736
+ title: i18n('save.title'),
737
+ tooltip: i18n('save.description'),
738
+ permission: i18n('save.permission'),
739
+ audit: i18n('save.audit')
740
+ }
741
+ },
742
+ SaveAs: {
743
+ key: core_types_1.AXPSystemActionType.SaveAs,
744
+ title: i18n('save-as.title'),
745
+ icon: 'fa-light fa-floppy-disk',
746
+ color: 'default',
747
+ descriptions: {
748
+ title: i18n('save-as.title'),
749
+ tooltip: i18n('save-as.description'),
750
+ permission: i18n('save-as.permission'),
751
+ audit: i18n('save-as.audit')
752
+ }
753
+ },
754
+ Sync: {
755
+ key: core_types_1.AXPSystemActionType.Sync,
756
+ title: i18n('sync.title'),
757
+ icon: 'fa-light fa-arrows-rotate',
758
+ color: 'default',
759
+ descriptions: {
760
+ title: i18n('sync.title'),
761
+ tooltip: i18n('sync.description'),
762
+ permission: i18n('sync.permission'),
763
+ audit: i18n('sync.audit')
764
+ }
765
+ },
766
+ Reset: {
767
+ key: core_types_1.AXPSystemActionType.Reset,
768
+ title: i18n('reset.title'),
769
+ icon: 'fa-light fa-arrow-rotate-left',
770
+ color: 'warning',
771
+ critical: true,
772
+ descriptions: {
773
+ title: i18n('reset.title'),
774
+ tooltip: i18n('reset.description'),
775
+ permission: i18n('reset.permission'),
776
+ audit: i18n('reset.audit')
777
+ }
778
+ },
779
+ Clear: {
780
+ key: core_types_1.AXPSystemActionType.Clear,
781
+ title: i18n('clear.title'),
782
+ icon: 'fa-light fa-eraser',
783
+ color: 'default',
784
+ descriptions: {
785
+ title: i18n('clear.title'),
786
+ tooltip: i18n('clear.description'),
787
+ permission: i18n('clear.permission'),
788
+ audit: i18n('clear.audit')
789
+ }
790
+ },
791
+ Distribution: {
792
+ key: core_types_1.AXPSystemActionType.Distribution,
793
+ title: i18n('distribution.title'),
794
+ icon: 'fa-light fa-share-nodes',
795
+ color: 'default',
796
+ descriptions: {
797
+ title: i18n('distribution.title'),
798
+ tooltip: i18n('distribution.description'),
799
+ permission: i18n('distribution.permission'),
800
+ audit: i18n('distribution.audit')
801
+ }
802
+ },
803
+ });
804
+ function getSystemActions(type) {
805
+ return Object.values(exports.AXPSystemActions).find(action => action.key === type);
806
+ }
807
+ /**
808
+ * Resolves the visual appearance (color and icon) for entity actions.
809
+ */
810
+ function resolveActionLook(actionType) {
811
+ const systemActionType = actionType;
812
+ if (systemActionType) {
813
+ const systemAction = getSystemActions(systemActionType);
814
+ if (systemAction) {
815
+ return {
816
+ color: (systemAction.color || 'default'),
817
+ icon: systemAction.icon || ''
818
+ };
819
+ }
820
+ }
821
+ return {
822
+ color: 'default',
823
+ icon: ''
824
+ };
825
+ }
826
+ /**
827
+ * Resolves the title, description, icon and color for button actions.
828
+ */
829
+ function getActionButton(actionType) {
830
+ const systemActionType = actionType;
831
+ if (systemActionType) {
832
+ const systemAction = getSystemActions(systemActionType);
833
+ if (systemAction) {
834
+ return {
835
+ name: actionType,
836
+ icon: systemAction.icon || '',
837
+ color: systemAction.color || 'default',
838
+ title: systemAction.title,
839
+ description: systemAction.descriptions.title
840
+ };
841
+ }
842
+ }
843
+ return {
844
+ name: actionType,
845
+ title: actionType,
846
+ description: `Perform ${actionType} action`,
847
+ icon: '',
848
+ color: 'default'
849
+ };
850
+ }
851
+ //# sourceMappingURL=actions.types.js.map