udp-react-enterprise-component-library 27.0.0-next.11 → 27.0.0-next.13

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 (670) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/UI/feedback/PageLoading.d.ts +11 -1
  3. package/dist/UI/feedback/PageLoading.d.ts.map +1 -1
  4. package/dist/UI/feedback/PageLoading.js +12 -12
  5. package/dist/UI/feedback/PageLoading.js.map +1 -1
  6. package/dist/UI/feedback/PageLoading.mjs +35 -21
  7. package/dist/UI/feedback/PageLoading.mjs.map +1 -1
  8. package/dist/UI/feedback/PageLoading.module.css +9 -0
  9. package/dist/UI/fluent-web-components/UdpIconPicker.d.ts +4 -1
  10. package/dist/UI/fluent-web-components/UdpIconPicker.d.ts.map +1 -1
  11. package/dist/UI/fluent-web-components/UdpIconPicker.js +2 -2
  12. package/dist/UI/fluent-web-components/UdpIconPicker.js.map +1 -1
  13. package/dist/UI/fluent-web-components/UdpIconPicker.mjs +32 -28
  14. package/dist/UI/fluent-web-components/UdpIconPicker.mjs.map +1 -1
  15. package/dist/UI/fluent-web-components/UdpLink.d.ts +6 -0
  16. package/dist/UI/fluent-web-components/UdpLink.d.ts.map +1 -1
  17. package/dist/UI/fluent-web-components/UdpLink.js.map +1 -1
  18. package/dist/UI/fluent-web-components/UdpLink.mjs.map +1 -1
  19. package/dist/UI/fluent-web-components/index.d.ts +10 -0
  20. package/dist/UI/fluent-web-components/index.d.ts.map +1 -1
  21. package/dist/UI/fluent-web-components/index.js +10 -0
  22. package/dist/UI/fluent-web-components/index.js.map +1 -1
  23. package/dist/UI/fluent-web-components/shell/UdpShell.d.ts +10 -0
  24. package/dist/UI/fluent-web-components/shell/UdpShell.d.ts.map +1 -0
  25. package/dist/UI/fluent-web-components/shell/UdpShell.js +7 -0
  26. package/dist/UI/fluent-web-components/shell/UdpShell.js.map +1 -0
  27. package/dist/UI/fluent-web-components/shell/UdpShell.mjs +19 -0
  28. package/dist/UI/fluent-web-components/shell/UdpShell.mjs.map +1 -0
  29. package/dist/UI/fluent-web-components/shell/UdpShellAppBar.d.ts +11 -0
  30. package/dist/UI/fluent-web-components/shell/UdpShellAppBar.d.ts.map +1 -0
  31. package/dist/UI/fluent-web-components/shell/UdpShellAppBar.js +7 -0
  32. package/dist/UI/fluent-web-components/shell/UdpShellAppBar.js.map +1 -0
  33. package/dist/UI/fluent-web-components/shell/UdpShellAppBar.mjs +19 -0
  34. package/dist/UI/fluent-web-components/shell/UdpShellAppBar.mjs.map +1 -0
  35. package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.d.ts +16 -0
  36. package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.d.ts.map +1 -0
  37. package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.js +7 -0
  38. package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.js.map +1 -0
  39. package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.mjs +19 -0
  40. package/dist/UI/fluent-web-components/shell/UdpShellAppBarAction.mjs.map +1 -0
  41. package/dist/UI/fluent-web-components/shell/UdpShellNav.d.ts +21 -0
  42. package/dist/UI/fluent-web-components/shell/UdpShellNav.d.ts.map +1 -0
  43. package/dist/UI/fluent-web-components/shell/UdpShellNav.js +7 -0
  44. package/dist/UI/fluent-web-components/shell/UdpShellNav.js.map +1 -0
  45. package/dist/UI/fluent-web-components/shell/UdpShellNav.mjs +19 -0
  46. package/dist/UI/fluent-web-components/shell/UdpShellNav.mjs.map +1 -0
  47. package/dist/UI/fluent-web-components/shell/UdpShellRibbon.d.ts +10 -0
  48. package/dist/UI/fluent-web-components/shell/UdpShellRibbon.d.ts.map +1 -0
  49. package/dist/UI/fluent-web-components/shell/UdpShellRibbon.js +7 -0
  50. package/dist/UI/fluent-web-components/shell/UdpShellRibbon.js.map +1 -0
  51. package/dist/UI/fluent-web-components/shell/UdpShellRibbon.mjs +19 -0
  52. package/dist/UI/fluent-web-components/shell/UdpShellRibbon.mjs.map +1 -0
  53. package/dist/UI/fluent-web-components/shell/UdpShellSidebar.d.ts +13 -0
  54. package/dist/UI/fluent-web-components/shell/UdpShellSidebar.d.ts.map +1 -0
  55. package/dist/UI/fluent-web-components/shell/UdpShellSidebar.js +7 -0
  56. package/dist/UI/fluent-web-components/shell/UdpShellSidebar.js.map +1 -0
  57. package/dist/UI/fluent-web-components/shell/UdpShellSidebar.mjs +19 -0
  58. package/dist/UI/fluent-web-components/shell/UdpShellSidebar.mjs.map +1 -0
  59. package/dist/UI/fluent-web-components/types.d.ts +2 -0
  60. package/dist/UI/fluent-web-components/types.d.ts.map +1 -1
  61. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts +16 -3
  62. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts.map +1 -1
  63. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js +36 -13
  64. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js.map +1 -1
  65. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs +119 -62
  66. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs.map +1 -1
  67. package/dist/UI/widgets/library/InquiryFindRecordsWidget/index.mjs +3 -2
  68. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts +9 -2
  69. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts.map +1 -1
  70. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js +18 -18
  71. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js.map +1 -1
  72. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs +79 -67
  73. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs.map +1 -1
  74. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts +8 -2
  75. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts.map +1 -1
  76. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js +32 -16
  77. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js.map +1 -1
  78. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs +129 -102
  79. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs.map +1 -1
  80. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts +3 -2
  81. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts.map +1 -1
  82. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js +11 -12
  83. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js.map +1 -1
  84. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs +6 -4
  85. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs.map +1 -1
  86. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts +2 -19
  87. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts.map +1 -1
  88. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js +4 -5
  89. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js.map +1 -1
  90. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs +5 -4
  91. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs.map +1 -1
  92. package/dist/actionPanels/index.d.ts +0 -2
  93. package/dist/actionPanels/index.d.ts.map +1 -1
  94. package/dist/actionPanels/index.js +0 -2
  95. package/dist/actionPanels/index.js.map +1 -1
  96. package/dist/actionPanels/panelActionFields.d.ts +9 -26
  97. package/dist/actionPanels/panelActionFields.d.ts.map +1 -1
  98. package/dist/actionPanels/panelActionFields.js +32 -55
  99. package/dist/actionPanels/panelActionFields.js.map +1 -1
  100. package/dist/actionPanels/panelActionFields.mjs +159 -375
  101. package/dist/actionPanels/panelActionFields.mjs.map +1 -1
  102. package/dist/actionPanels/panelOperations.d.ts +15 -41
  103. package/dist/actionPanels/panelOperations.d.ts.map +1 -1
  104. package/dist/actionPanels/panelOperations.js +51 -89
  105. package/dist/actionPanels/panelOperations.js.map +1 -1
  106. package/dist/actionPanels/panelOperations.mjs +37 -92
  107. package/dist/actionPanels/panelOperations.mjs.map +1 -1
  108. package/dist/aiAssistant/aiFeatures.d.ts +1 -1
  109. package/dist/aiAssistant/aiFeatures.d.ts.map +1 -1
  110. package/dist/aiAssistant/aiFeatures.js +5 -0
  111. package/dist/aiAssistant/aiFeatures.js.map +1 -1
  112. package/dist/aiAssistant/aiFeatures.mjs +5 -1
  113. package/dist/aiAssistant/aiFeatures.mjs.map +1 -1
  114. package/dist/dashboard/DashboardWidget.d.ts.map +1 -1
  115. package/dist/dashboard/DashboardWidget.js +1 -1
  116. package/dist/dashboard/DashboardWidget.js.map +1 -1
  117. package/dist/dashboard/DashboardWidget.mjs +24 -21
  118. package/dist/dashboard/DashboardWidget.mjs.map +1 -1
  119. package/dist/domain/actionPanel/actionTypeMeta.d.ts +15 -2
  120. package/dist/domain/actionPanel/actionTypeMeta.d.ts.map +1 -1
  121. package/dist/domain/actionPanel/actionTypeMeta.js +21 -2
  122. package/dist/domain/actionPanel/actionTypeMeta.js.map +1 -1
  123. package/dist/domain/actionPanel/actionTypeMeta.mjs +18 -3
  124. package/dist/domain/actionPanel/actionTypeMeta.mjs.map +1 -1
  125. package/dist/domain/actionPanel/buttonOrder.d.ts +67 -0
  126. package/dist/domain/actionPanel/buttonOrder.d.ts.map +1 -0
  127. package/dist/domain/actionPanel/buttonOrder.js +105 -0
  128. package/dist/domain/actionPanel/buttonOrder.js.map +1 -0
  129. package/dist/domain/actionPanel/buttonOrder.mjs +90 -0
  130. package/dist/domain/actionPanel/buttonOrder.mjs.map +1 -0
  131. package/dist/domain/actionPanel/index.d.ts +1 -0
  132. package/dist/domain/actionPanel/index.d.ts.map +1 -1
  133. package/dist/domain/actionPanel/index.js +1 -0
  134. package/dist/domain/actionPanel/index.js.map +1 -1
  135. package/dist/domain/actionPanel/index.mjs +4 -3
  136. package/dist/domain/actionPanel/serialize.d.ts +6 -2
  137. package/dist/domain/actionPanel/serialize.d.ts.map +1 -1
  138. package/dist/domain/actionPanel/serialize.js +10 -3
  139. package/dist/domain/actionPanel/serialize.js.map +1 -1
  140. package/dist/domain/actionPanel/serialize.mjs +7 -3
  141. package/dist/domain/actionPanel/serialize.mjs.map +1 -1
  142. package/dist/domain/actionPanel/types.d.ts +24 -8
  143. package/dist/domain/actionPanel/types.d.ts.map +1 -1
  144. package/dist/domain/actionPanel/types.js.map +1 -1
  145. package/dist/domain/actionPanel/types.mjs.map +1 -1
  146. package/dist/domain/inquiryTree/describe.d.ts +15 -3
  147. package/dist/domain/inquiryTree/describe.d.ts.map +1 -1
  148. package/dist/domain/inquiryTree/describe.js +32 -28
  149. package/dist/domain/inquiryTree/describe.js.map +1 -1
  150. package/dist/domain/inquiryTree/describe.mjs +34 -16
  151. package/dist/domain/inquiryTree/describe.mjs.map +1 -1
  152. package/dist/domain/inquiryTree/displayTree.d.ts +75 -97
  153. package/dist/domain/inquiryTree/displayTree.d.ts.map +1 -1
  154. package/dist/domain/inquiryTree/displayTree.js +418 -551
  155. package/dist/domain/inquiryTree/displayTree.js.map +1 -1
  156. package/dist/domain/inquiryTree/displayTree.mjs +345 -414
  157. package/dist/domain/inquiryTree/displayTree.mjs.map +1 -1
  158. package/dist/domain/inquiryTree/groups.d.ts +2 -0
  159. package/dist/domain/inquiryTree/groups.d.ts.map +1 -1
  160. package/dist/domain/inquiryTree/groups.js.map +1 -1
  161. package/dist/domain/inquiryTree/groups.mjs.map +1 -1
  162. package/dist/domain/inquiryTree/index.d.ts +1 -1
  163. package/dist/domain/inquiryTree/index.d.ts.map +1 -1
  164. package/dist/domain/inquiryTree/index.js +1 -1
  165. package/dist/domain/inquiryTree/index.js.map +1 -1
  166. package/dist/domain/inquiryTree/index.mjs +12 -12
  167. package/dist/domain/inquiryTree/lazyLoad.d.ts +20 -129
  168. package/dist/domain/inquiryTree/lazyLoad.d.ts.map +1 -1
  169. package/dist/domain/inquiryTree/lazyLoad.js +48 -233
  170. package/dist/domain/inquiryTree/lazyLoad.js.map +1 -1
  171. package/dist/domain/inquiryTree/lazyLoad.mjs +32 -187
  172. package/dist/domain/inquiryTree/lazyLoad.mjs.map +1 -1
  173. package/dist/domain/inquiryTree/legalChildren.d.ts +13 -14
  174. package/dist/domain/inquiryTree/legalChildren.d.ts.map +1 -1
  175. package/dist/domain/inquiryTree/legalChildren.js +21 -42
  176. package/dist/domain/inquiryTree/legalChildren.js.map +1 -1
  177. package/dist/domain/inquiryTree/legalChildren.mjs +19 -37
  178. package/dist/domain/inquiryTree/legalChildren.mjs.map +1 -1
  179. package/dist/domain/inquiryTree/names.d.ts +38 -0
  180. package/dist/domain/inquiryTree/names.d.ts.map +1 -0
  181. package/dist/domain/inquiryTree/names.js +64 -0
  182. package/dist/domain/inquiryTree/names.js.map +1 -0
  183. package/dist/domain/inquiryTree/names.mjs +56 -0
  184. package/dist/domain/inquiryTree/names.mjs.map +1 -0
  185. package/dist/domain/inquiryTree/operations.d.ts +6 -2
  186. package/dist/domain/inquiryTree/operations.d.ts.map +1 -1
  187. package/dist/domain/inquiryTree/operations.js +17 -16
  188. package/dist/domain/inquiryTree/operations.js.map +1 -1
  189. package/dist/domain/inquiryTree/operations.mjs +14 -11
  190. package/dist/domain/inquiryTree/operations.mjs.map +1 -1
  191. package/dist/domain/inquiryTree/rules.d.ts +3 -4
  192. package/dist/domain/inquiryTree/rules.d.ts.map +1 -1
  193. package/dist/domain/inquiryTree/rules.js +3 -13
  194. package/dist/domain/inquiryTree/rules.js.map +1 -1
  195. package/dist/domain/inquiryTree/rules.mjs +3 -9
  196. package/dist/domain/inquiryTree/rules.mjs.map +1 -1
  197. package/dist/domain/inquiryTree/runtime.d.ts +23 -16
  198. package/dist/domain/inquiryTree/runtime.d.ts.map +1 -1
  199. package/dist/domain/inquiryTree/runtime.js +46 -54
  200. package/dist/domain/inquiryTree/runtime.js.map +1 -1
  201. package/dist/domain/inquiryTree/runtime.mjs +31 -26
  202. package/dist/domain/inquiryTree/runtime.mjs.map +1 -1
  203. package/dist/domain/inquiryTree/serialize.d.ts +20 -29
  204. package/dist/domain/inquiryTree/serialize.d.ts.map +1 -1
  205. package/dist/domain/inquiryTree/serialize.js +93 -205
  206. package/dist/domain/inquiryTree/serialize.js.map +1 -1
  207. package/dist/domain/inquiryTree/serialize.mjs +89 -180
  208. package/dist/domain/inquiryTree/serialize.mjs.map +1 -1
  209. package/dist/domain/inquiryTree/types.d.ts +146 -65
  210. package/dist/domain/inquiryTree/types.d.ts.map +1 -1
  211. package/dist/domain/inquiryTree/types.js +5 -0
  212. package/dist/domain/inquiryTree/types.js.map +1 -1
  213. package/dist/domain/inquiryTree/types.mjs +3 -1
  214. package/dist/domain/inquiryTree/types.mjs.map +1 -1
  215. package/dist/domain/inquiryTree/validate.d.ts +9 -2
  216. package/dist/domain/inquiryTree/validate.d.ts.map +1 -1
  217. package/dist/domain/inquiryTree/validate.js +30 -58
  218. package/dist/domain/inquiryTree/validate.js.map +1 -1
  219. package/dist/domain/inquiryTree/validate.mjs +29 -44
  220. package/dist/domain/inquiryTree/validate.mjs.map +1 -1
  221. package/dist/domain/inquiryTree/view.d.ts +8 -12
  222. package/dist/domain/inquiryTree/view.d.ts.map +1 -1
  223. package/dist/domain/inquiryTree/view.js +40 -66
  224. package/dist/domain/inquiryTree/view.js.map +1 -1
  225. package/dist/domain/inquiryTree/view.mjs +30 -60
  226. package/dist/domain/inquiryTree/view.mjs.map +1 -1
  227. package/dist/domain/inquiryTree/waveLoad.d.ts +32 -48
  228. package/dist/domain/inquiryTree/waveLoad.d.ts.map +1 -1
  229. package/dist/domain/inquiryTree/waveLoad.js +75 -90
  230. package/dist/domain/inquiryTree/waveLoad.js.map +1 -1
  231. package/dist/domain/inquiryTree/waveLoad.mjs +54 -60
  232. package/dist/domain/inquiryTree/waveLoad.mjs.map +1 -1
  233. package/dist/domain/inquiryTree/wireString.d.ts +5 -0
  234. package/dist/domain/inquiryTree/wireString.d.ts.map +1 -1
  235. package/dist/domain/inquiryTree/wireString.js +11 -0
  236. package/dist/domain/inquiryTree/wireString.js.map +1 -1
  237. package/dist/domain/inquiryTree/wireString.mjs +10 -1
  238. package/dist/domain/inquiryTree/wireString.mjs.map +1 -1
  239. package/dist/domain/nodeView/index.mjs +2 -2
  240. package/dist/domain/nodeView/model.d.ts +35 -30
  241. package/dist/domain/nodeView/model.d.ts.map +1 -1
  242. package/dist/domain/nodeView/model.js +108 -69
  243. package/dist/domain/nodeView/model.js.map +1 -1
  244. package/dist/domain/nodeView/model.mjs +86 -36
  245. package/dist/domain/nodeView/model.mjs.map +1 -1
  246. package/dist/errorBoundary/ErrorBoundary.d.ts +17 -1
  247. package/dist/errorBoundary/ErrorBoundary.d.ts.map +1 -1
  248. package/dist/errorBoundary/ErrorBoundary.js +25 -21
  249. package/dist/errorBoundary/ErrorBoundary.js.map +1 -1
  250. package/dist/errorBoundary/ErrorBoundary.mjs +22 -34
  251. package/dist/errorBoundary/ErrorBoundary.mjs.map +1 -1
  252. package/dist/errorBoundary/ErrorBoundaryFallback.d.ts +10 -0
  253. package/dist/errorBoundary/ErrorBoundaryFallback.d.ts.map +1 -0
  254. package/dist/errorBoundary/ErrorBoundaryFallback.js +8 -0
  255. package/dist/errorBoundary/ErrorBoundaryFallback.js.map +1 -0
  256. package/dist/errorBoundary/ErrorBoundaryFallback.mjs +91 -0
  257. package/dist/errorBoundary/ErrorBoundaryFallback.mjs.map +1 -0
  258. package/dist/icons/legacyIconNames.d.ts.map +1 -1
  259. package/dist/icons/legacyIconNames.js +46 -1
  260. package/dist/icons/legacyIconNames.js.map +1 -1
  261. package/dist/icons/legacyIconNames.mjs +46 -1
  262. package/dist/icons/legacyIconNames.mjs.map +1 -1
  263. package/dist/index.mjs +19 -14
  264. package/dist/inquiry/Inquiry.d.ts +3 -0
  265. package/dist/inquiry/Inquiry.d.ts.map +1 -1
  266. package/dist/inquiry/Inquiry.js +3 -0
  267. package/dist/inquiry/Inquiry.js.map +1 -1
  268. package/dist/inquiry/Inquiry.mjs +3 -0
  269. package/dist/inquiry/Inquiry.mjs.map +1 -1
  270. package/dist/inquiry/InquiryContainer.d.ts.map +1 -1
  271. package/dist/inquiry/InquiryContainer.js +22 -21
  272. package/dist/inquiry/InquiryContainer.js.map +1 -1
  273. package/dist/inquiry/InquiryContainer.mjs +14 -10
  274. package/dist/inquiry/InquiryContainer.mjs.map +1 -1
  275. package/dist/inquiry/InquiryTreeMenu.d.ts.map +1 -1
  276. package/dist/inquiry/InquiryTreeMenu.js +14 -23
  277. package/dist/inquiry/InquiryTreeMenu.js.map +1 -1
  278. package/dist/inquiry/InquiryTreeMenu.mjs +20 -20
  279. package/dist/inquiry/InquiryTreeMenu.mjs.map +1 -1
  280. package/dist/inquiry/v2/InquiryV2.d.ts +8 -6
  281. package/dist/inquiry/v2/InquiryV2.d.ts.map +1 -1
  282. package/dist/inquiry/v2/InquiryV2.js +45 -24
  283. package/dist/inquiry/v2/InquiryV2.js.map +1 -1
  284. package/dist/inquiry/v2/InquiryV2.mjs +108 -61
  285. package/dist/inquiry/v2/InquiryV2.mjs.map +1 -1
  286. package/dist/inquiry/v2/InquiryV2.module.css +60 -15
  287. package/dist/inquiry/v2/InquiryWorkspace.d.ts +9 -9
  288. package/dist/inquiry/v2/InquiryWorkspace.d.ts.map +1 -1
  289. package/dist/inquiry/v2/InquiryWorkspace.js +531 -408
  290. package/dist/inquiry/v2/InquiryWorkspace.js.map +1 -1
  291. package/dist/inquiry/v2/InquiryWorkspace.mjs +524 -408
  292. package/dist/inquiry/v2/InquiryWorkspace.mjs.map +1 -1
  293. package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts +3 -2
  294. package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts.map +1 -1
  295. package/dist/inquiry/v2/ai/InquiryV2Copilot.js +20 -37
  296. package/dist/inquiry/v2/ai/InquiryV2Copilot.js.map +1 -1
  297. package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs +19 -31
  298. package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs.map +1 -1
  299. package/dist/inquiry/v2/ai/copilotModel.d.ts +6 -14
  300. package/dist/inquiry/v2/ai/copilotModel.d.ts.map +1 -1
  301. package/dist/inquiry/v2/ai/copilotModel.js +35 -87
  302. package/dist/inquiry/v2/ai/copilotModel.js.map +1 -1
  303. package/dist/inquiry/v2/ai/copilotModel.mjs +23 -47
  304. package/dist/inquiry/v2/ai/copilotModel.mjs.map +1 -1
  305. package/dist/inquiry/v2/api/queries.d.ts +46 -73
  306. package/dist/inquiry/v2/api/queries.d.ts.map +1 -1
  307. package/dist/inquiry/v2/api/queries.js +151 -210
  308. package/dist/inquiry/v2/api/queries.js.map +1 -1
  309. package/dist/inquiry/v2/api/queries.mjs +227 -183
  310. package/dist/inquiry/v2/api/queries.mjs.map +1 -1
  311. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.d.ts.map +1 -1
  312. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js +103 -32
  313. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js.map +1 -1
  314. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs +92 -32
  315. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs.map +1 -1
  316. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.module.css +8 -1
  317. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts +20 -16
  318. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts.map +1 -1
  319. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js +111 -68
  320. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js.map +1 -1
  321. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs +108 -142
  322. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs.map +1 -1
  323. package/dist/inquiry/v2/capabilities/actions/RetrieveSurface.mjs +1 -1
  324. package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts +66 -50
  325. package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts.map +1 -1
  326. package/dist/inquiry/v2/capabilities/actions/actionModel.js +141 -66
  327. package/dist/inquiry/v2/capabilities/actions/actionModel.js.map +1 -1
  328. package/dist/inquiry/v2/capabilities/actions/actionModel.mjs +115 -53
  329. package/dist/inquiry/v2/capabilities/actions/actionModel.mjs.map +1 -1
  330. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts +26 -0
  331. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts.map +1 -0
  332. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js +36 -0
  333. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js.map +1 -0
  334. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs +41 -0
  335. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs.map +1 -0
  336. package/dist/inquiry/v2/capabilities/actions/runAction.d.ts +3 -2
  337. package/dist/inquiry/v2/capabilities/actions/runAction.d.ts.map +1 -1
  338. package/dist/inquiry/v2/capabilities/actions/runAction.js +27 -23
  339. package/dist/inquiry/v2/capabilities/actions/runAction.js.map +1 -1
  340. package/dist/inquiry/v2/capabilities/actions/runAction.mjs +26 -20
  341. package/dist/inquiry/v2/capabilities/actions/runAction.mjs.map +1 -1
  342. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts +20 -0
  343. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts.map +1 -0
  344. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js +112 -0
  345. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js.map +1 -0
  346. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs +118 -0
  347. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs.map +1 -0
  348. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts +25 -1
  349. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts.map +1 -1
  350. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js +7 -4
  351. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js.map +1 -1
  352. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs +9 -4
  353. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs.map +1 -1
  354. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts +5 -3
  355. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts.map +1 -1
  356. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js +11 -8
  357. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js.map +1 -1
  358. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs +13 -7
  359. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs.map +1 -1
  360. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.module.css +4 -4
  361. package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts +1 -1
  362. package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts.map +1 -1
  363. package/dist/inquiry/v2/capabilities/header/HeaderCapability.js +20 -17
  364. package/dist/inquiry/v2/capabilities/header/HeaderCapability.js.map +1 -1
  365. package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs +101 -111
  366. package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs.map +1 -1
  367. package/dist/inquiry/v2/capabilities/header/HeaderCapability.module.css +9 -6
  368. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts +2 -1
  369. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts.map +1 -1
  370. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js +9 -2
  371. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js.map +1 -1
  372. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs +18 -15
  373. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs.map +1 -1
  374. package/dist/inquiry/v2/index.d.ts +0 -1
  375. package/dist/inquiry/v2/index.d.ts.map +1 -1
  376. package/dist/inquiry/v2/index.js.map +1 -1
  377. package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts +3 -3
  378. package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts.map +1 -1
  379. package/dist/inquiry/v2/kernel/ActionRunnerContext.js +11 -5
  380. package/dist/inquiry/v2/kernel/ActionRunnerContext.js.map +1 -1
  381. package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs +15 -12
  382. package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs.map +1 -1
  383. package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts +3 -0
  384. package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts.map +1 -0
  385. package/dist/inquiry/v2/kernel/ReadOnlyContext.js +14 -0
  386. package/dist/inquiry/v2/kernel/ReadOnlyContext.js.map +1 -0
  387. package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs +20 -0
  388. package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs.map +1 -0
  389. package/dist/inquiry/v2/kernel/RecordContext.d.ts +2 -0
  390. package/dist/inquiry/v2/kernel/RecordContext.d.ts.map +1 -1
  391. package/dist/inquiry/v2/kernel/RecordContext.js.map +1 -1
  392. package/dist/inquiry/v2/kernel/RecordContext.mjs.map +1 -1
  393. package/dist/inquiry/v2/kernel/UdpNodeView.d.ts.map +1 -1
  394. package/dist/inquiry/v2/kernel/UdpNodeView.js +18 -13
  395. package/dist/inquiry/v2/kernel/UdpNodeView.js.map +1 -1
  396. package/dist/inquiry/v2/kernel/UdpNodeView.mjs +177 -140
  397. package/dist/inquiry/v2/kernel/UdpNodeView.mjs.map +1 -1
  398. package/dist/inquiry/v2/kernel/UdpNodeView.module.css +56 -5
  399. package/dist/inquiry/v2/kernel/capabilities.d.ts +0 -2
  400. package/dist/inquiry/v2/kernel/capabilities.d.ts.map +1 -1
  401. package/dist/inquiry/v2/kernel/capabilities.js.map +1 -1
  402. package/dist/inquiry/v2/kernel/capabilities.mjs.map +1 -1
  403. package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts +26 -37
  404. package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts.map +1 -1
  405. package/dist/inquiry/v2/landing/InquiryExplorePage.js +48 -57
  406. package/dist/inquiry/v2/landing/InquiryExplorePage.js.map +1 -1
  407. package/dist/inquiry/v2/landing/InquiryExplorePage.mjs +102 -106
  408. package/dist/inquiry/v2/landing/InquiryExplorePage.mjs.map +1 -1
  409. package/dist/inquiry/v2/landing/InquiryExplorePage.module.css +58 -6
  410. package/dist/inquiry/v2/landing/InquiryLanding.d.ts +3 -3
  411. package/dist/inquiry/v2/landing/InquiryLanding.d.ts.map +1 -1
  412. package/dist/inquiry/v2/landing/InquiryLanding.js +8 -3
  413. package/dist/inquiry/v2/landing/InquiryLanding.js.map +1 -1
  414. package/dist/inquiry/v2/landing/InquiryLanding.mjs +51 -35
  415. package/dist/inquiry/v2/landing/InquiryLanding.mjs.map +1 -1
  416. package/dist/inquiry/v2/landing/InquiryLanding.module.css +8 -0
  417. package/dist/inquiry/v2/page/UdpPageRenderer.d.ts +5 -1
  418. package/dist/inquiry/v2/page/UdpPageRenderer.d.ts.map +1 -1
  419. package/dist/inquiry/v2/page/UdpPageRenderer.js +13 -1
  420. package/dist/inquiry/v2/page/UdpPageRenderer.js.map +1 -1
  421. package/dist/inquiry/v2/page/UdpPageRenderer.mjs +36 -7
  422. package/dist/inquiry/v2/page/UdpPageRenderer.mjs.map +1 -1
  423. package/dist/inquiry/v2/search/InquirySearchPanel.d.ts +1 -7
  424. package/dist/inquiry/v2/search/InquirySearchPanel.d.ts.map +1 -1
  425. package/dist/inquiry/v2/search/InquirySearchPanel.js +6 -13
  426. package/dist/inquiry/v2/search/InquirySearchPanel.js.map +1 -1
  427. package/dist/inquiry/v2/search/InquirySearchPanel.mjs +4 -8
  428. package/dist/inquiry/v2/search/InquirySearchPanel.mjs.map +1 -1
  429. package/dist/inquiry/v2/search/RecordFinder.d.ts +30 -1
  430. package/dist/inquiry/v2/search/RecordFinder.d.ts.map +1 -1
  431. package/dist/inquiry/v2/search/RecordFinder.js +43 -20
  432. package/dist/inquiry/v2/search/RecordFinder.js.map +1 -1
  433. package/dist/inquiry/v2/search/RecordFinder.mjs +68 -42
  434. package/dist/inquiry/v2/search/RecordFinder.mjs.map +1 -1
  435. package/dist/inquiry/v2/search/index.d.ts +3 -3
  436. package/dist/inquiry/v2/search/index.d.ts.map +1 -1
  437. package/dist/inquiry/v2/search/index.js +1 -1
  438. package/dist/inquiry/v2/search/index.js.map +1 -1
  439. package/dist/inquiry/v2/search/searchModel.d.ts +130 -23
  440. package/dist/inquiry/v2/search/searchModel.d.ts.map +1 -1
  441. package/dist/inquiry/v2/search/searchModel.js +237 -36
  442. package/dist/inquiry/v2/search/searchModel.js.map +1 -1
  443. package/dist/inquiry/v2/search/searchModel.mjs +207 -34
  444. package/dist/inquiry/v2/search/searchModel.mjs.map +1 -1
  445. package/dist/inquiry/v2/search/useInquirySearch.d.ts.map +1 -1
  446. package/dist/inquiry/v2/search/useInquirySearch.js +46 -19
  447. package/dist/inquiry/v2/search/useInquirySearch.js.map +1 -1
  448. package/dist/inquiry/v2/search/useInquirySearch.mjs +83 -84
  449. package/dist/inquiry/v2/search/useInquirySearch.mjs.map +1 -1
  450. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts +4 -1
  451. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts.map +1 -1
  452. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js +174 -166
  453. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js.map +1 -1
  454. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs +343 -325
  455. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs.map +1 -1
  456. package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts +3 -1
  457. package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts.map +1 -1
  458. package/dist/inquiry/v2/tree/InquiryMenuToolbar.js +8 -7
  459. package/dist/inquiry/v2/tree/InquiryMenuToolbar.js.map +1 -1
  460. package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs +68 -72
  461. package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs.map +1 -1
  462. package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts +3 -3
  463. package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts.map +1 -1
  464. package/dist/inquiry/v2/tree/LoadRecordDialog.js +12 -7
  465. package/dist/inquiry/v2/tree/LoadRecordDialog.js.map +1 -1
  466. package/dist/inquiry/v2/tree/LoadRecordDialog.mjs +48 -33
  467. package/dist/inquiry/v2/tree/LoadRecordDialog.mjs.map +1 -1
  468. package/dist/inquiry/v2/tree/NodeList.d.ts.map +1 -1
  469. package/dist/inquiry/v2/tree/NodeList.js +17 -6
  470. package/dist/inquiry/v2/tree/NodeList.js.map +1 -1
  471. package/dist/inquiry/v2/tree/NodeList.mjs +49 -36
  472. package/dist/inquiry/v2/tree/NodeList.mjs.map +1 -1
  473. package/dist/inquiry/v2/tree/arrivalModel.d.ts +15 -0
  474. package/dist/inquiry/v2/tree/arrivalModel.d.ts.map +1 -1
  475. package/dist/inquiry/v2/tree/arrivalModel.js +14 -1
  476. package/dist/inquiry/v2/tree/arrivalModel.js.map +1 -1
  477. package/dist/inquiry/v2/tree/arrivalModel.mjs +12 -1
  478. package/dist/inquiry/v2/tree/arrivalModel.mjs.map +1 -1
  479. package/dist/inquiry/v2/tree/branchRefreshModel.d.ts +32 -0
  480. package/dist/inquiry/v2/tree/branchRefreshModel.d.ts.map +1 -0
  481. package/dist/inquiry/v2/tree/branchRefreshModel.js +62 -0
  482. package/dist/inquiry/v2/tree/branchRefreshModel.js.map +1 -0
  483. package/dist/inquiry/v2/tree/branchRefreshModel.mjs +60 -0
  484. package/dist/inquiry/v2/tree/branchRefreshModel.mjs.map +1 -0
  485. package/dist/inquiry/v2/tree/droppedPageModel.d.ts +23 -1
  486. package/dist/inquiry/v2/tree/droppedPageModel.d.ts.map +1 -1
  487. package/dist/inquiry/v2/tree/droppedPageModel.js +53 -26
  488. package/dist/inquiry/v2/tree/droppedPageModel.js.map +1 -1
  489. package/dist/inquiry/v2/tree/droppedPageModel.mjs +48 -20
  490. package/dist/inquiry/v2/tree/droppedPageModel.mjs.map +1 -1
  491. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts +7 -12
  492. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts.map +1 -1
  493. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js +44 -15
  494. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js.map +1 -1
  495. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs +34 -15
  496. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs.map +1 -1
  497. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.d.ts.map +1 -1
  498. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js +7 -18
  499. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js.map +1 -1
  500. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs +6 -14
  501. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs.map +1 -1
  502. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts +20 -16
  503. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts.map +1 -1
  504. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js +77 -55
  505. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js.map +1 -1
  506. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs +85 -106
  507. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs.map +1 -1
  508. package/dist/inquiry/v2/tree/lineageModel.d.ts +18 -1
  509. package/dist/inquiry/v2/tree/lineageModel.d.ts.map +1 -1
  510. package/dist/inquiry/v2/tree/lineageModel.js +71 -2
  511. package/dist/inquiry/v2/tree/lineageModel.js.map +1 -1
  512. package/dist/inquiry/v2/tree/lineageModel.mjs +53 -3
  513. package/dist/inquiry/v2/tree/lineageModel.mjs.map +1 -1
  514. package/dist/inquiry/v2/tree/menuRebuildModel.d.ts +10 -27
  515. package/dist/inquiry/v2/tree/menuRebuildModel.d.ts.map +1 -1
  516. package/dist/inquiry/v2/tree/menuRebuildModel.js +8 -58
  517. package/dist/inquiry/v2/tree/menuRebuildModel.js.map +1 -1
  518. package/dist/inquiry/v2/tree/menuRebuildModel.mjs +8 -51
  519. package/dist/inquiry/v2/tree/menuRebuildModel.mjs.map +1 -1
  520. package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts +26 -0
  521. package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts.map +1 -0
  522. package/dist/inquiry/v2/tree/pagedChildrenModel.js +56 -0
  523. package/dist/inquiry/v2/tree/pagedChildrenModel.js.map +1 -0
  524. package/dist/inquiry/v2/tree/pagedChildrenModel.mjs +43 -0
  525. package/dist/inquiry/v2/tree/pagedChildrenModel.mjs.map +1 -0
  526. package/dist/inquiry/v2/tree/rootRemovalModel.d.ts +7 -0
  527. package/dist/inquiry/v2/tree/rootRemovalModel.d.ts.map +1 -1
  528. package/dist/inquiry/v2/tree/rootRemovalModel.js +31 -5
  529. package/dist/inquiry/v2/tree/rootRemovalModel.js.map +1 -1
  530. package/dist/inquiry/v2/tree/rootRemovalModel.mjs +21 -4
  531. package/dist/inquiry/v2/tree/rootRemovalModel.mjs.map +1 -1
  532. package/dist/inquiry/v2/tree/treeFilterModel.d.ts +0 -2
  533. package/dist/inquiry/v2/tree/treeFilterModel.d.ts.map +1 -1
  534. package/dist/inquiry/v2/tree/treeFilterModel.js +0 -7
  535. package/dist/inquiry/v2/tree/treeFilterModel.js.map +1 -1
  536. package/dist/inquiry/v2/tree/treeFilterModel.mjs.map +1 -1
  537. package/dist/inquiry/v2/tree/useInquiryMenu.d.ts +16 -7
  538. package/dist/inquiry/v2/tree/useInquiryMenu.d.ts.map +1 -1
  539. package/dist/inquiry/v2/tree/useInquiryMenu.js +401 -163
  540. package/dist/inquiry/v2/tree/useInquiryMenu.js.map +1 -1
  541. package/dist/inquiry/v2/tree/useInquiryMenu.mjs +511 -310
  542. package/dist/inquiry/v2/tree/useInquiryMenu.mjs.map +1 -1
  543. package/dist/inquiry/v2/tree/waveLoader.d.ts +10 -11
  544. package/dist/inquiry/v2/tree/waveLoader.d.ts.map +1 -1
  545. package/dist/inquiry/v2/tree/waveLoader.js +78 -72
  546. package/dist/inquiry/v2/tree/waveLoader.js.map +1 -1
  547. package/dist/inquiry/v2/tree/waveLoader.mjs +79 -68
  548. package/dist/inquiry/v2/tree/waveLoader.mjs.map +1 -1
  549. package/dist/inquiry/v2/widgets/listRow.module.css +27 -0
  550. package/dist/inquiry/v2/widgets/widgetRowModel.d.ts +6 -2
  551. package/dist/inquiry/v2/widgets/widgetRowModel.d.ts.map +1 -1
  552. package/dist/inquiry/v2/widgets/widgetRowModel.js +49 -14
  553. package/dist/inquiry/v2/widgets/widgetRowModel.js.map +1 -1
  554. package/dist/inquiry/v2/widgets/widgetRowModel.mjs +36 -12
  555. package/dist/inquiry/v2/widgets/widgetRowModel.mjs.map +1 -1
  556. package/dist/maintenance/UdpTaggedRecordsPage.mjs +1 -1
  557. package/dist/maintenance/api/lookupApi.mjs +1 -1
  558. package/dist/maintenance/api/tagsApi.mjs +1 -1
  559. package/dist/maintenance/config/nodeDefaults.d.ts.map +1 -1
  560. package/dist/maintenance/config/nodeDefaults.js +16 -5
  561. package/dist/maintenance/config/nodeDefaults.js.map +1 -1
  562. package/dist/maintenance/config/nodeDefaults.mjs +14 -5
  563. package/dist/maintenance/config/nodeDefaults.mjs.map +1 -1
  564. package/dist/maintenance/config/useEntityConfig.mjs +1 -1
  565. package/dist/maintenance/config/useLinkedLabels.mjs +1 -1
  566. package/dist/maintenance/grid/MaintenanceGrid.mjs +1 -1
  567. package/dist/maintenance/metadata/useEntityMetadata.mjs +1 -1
  568. package/dist/maintenance/record/ChildTab.mjs +1 -1
  569. package/dist/maintenance/record/DeleteRecordDialog.mjs +1 -1
  570. package/dist/maintenance/record/LinkRecordsSheet.mjs +1 -1
  571. package/dist/maintenance/record/RecordFacts.mjs +1 -1
  572. package/dist/maintenance/record/RecordSheet.mjs +2 -2
  573. package/dist/maintenance/record/displayValue.mjs +1 -1
  574. package/dist/maintenance/record/stampDisplayText.mjs +1 -1
  575. package/dist/maintenance/settings/UdpEntitySettingsPage.d.ts.map +1 -1
  576. package/dist/maintenance/settings/UdpEntitySettingsPage.js +3 -0
  577. package/dist/maintenance/settings/UdpEntitySettingsPage.js.map +1 -1
  578. package/dist/maintenance/settings/UdpEntitySettingsPage.mjs +2 -0
  579. package/dist/maintenance/settings/UdpEntitySettingsPage.mjs.map +1 -1
  580. package/dist/maintenance/settings/useEntityCatalog.mjs +1 -1
  581. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +4 -5
  582. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts.map +1 -1
  583. package/dist/page/PageContainer/PageContainer.d.ts.map +1 -1
  584. package/dist/page/PageContainer/PageContainer.js +4 -11
  585. package/dist/page/PageContainer/PageContainer.js.map +1 -1
  586. package/dist/page/PageContainer/PageContainer.mjs +39 -50
  587. package/dist/page/PageContainer/PageContainer.mjs.map +1 -1
  588. package/dist/stores/inquiryStore.d.ts +2 -1
  589. package/dist/stores/inquiryStore.d.ts.map +1 -1
  590. package/dist/stores/inquiryStore.js +4 -3
  591. package/dist/stores/inquiryStore.js.map +1 -1
  592. package/dist/stores/inquiryStore.mjs +18 -11
  593. package/dist/stores/inquiryStore.mjs.map +1 -1
  594. package/dist/udp/extraFields/useExtraFieldsGridConfig.d.ts +3 -2
  595. package/dist/udp/extraFields/useExtraFieldsGridConfig.d.ts.map +1 -1
  596. package/dist/udp/extraFields/useExtraFieldsGridConfig.js +7 -6
  597. package/dist/udp/extraFields/useExtraFieldsGridConfig.js.map +1 -1
  598. package/dist/udp/extraFields/useExtraFieldsGridConfig.mjs +27 -22
  599. package/dist/udp/extraFields/useExtraFieldsGridConfig.mjs.map +1 -1
  600. package/dist/udp/fileImportMapping/FileImportMappingWizard.d.ts.map +1 -1
  601. package/dist/udp/fileImportMapping/FileImportMappingWizard.js +4 -4
  602. package/dist/udp/fileImportMapping/FileImportMappingWizard.js.map +1 -1
  603. package/dist/udp/fileImportMapping/FileImportMappingWizard.mjs +10 -9
  604. package/dist/udp/fileImportMapping/FileImportMappingWizard.mjs.map +1 -1
  605. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.d.ts.map +1 -1
  606. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js +1 -1
  607. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js.map +1 -1
  608. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +2 -1
  609. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs.map +1 -1
  610. package/dist/udp/pages/UdpMaintenanceEnginePage/components/EntitiyTimeLine.mjs +1 -1
  611. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.d.ts.map +1 -1
  612. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.js +84 -27
  613. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.js.map +1 -1
  614. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.mjs +53 -23
  615. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainForm.mjs.map +1 -1
  616. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.d.ts.map +1 -1
  617. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.js +45 -32
  618. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.js.map +1 -1
  619. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.mjs +27 -33
  620. package/dist/udp/pages/UdpTransactionsPage/components/DynamicTransactionDomainFormFields.mjs.map +1 -1
  621. package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.d.ts.map +1 -1
  622. package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.js +14 -16
  623. package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.js.map +1 -1
  624. package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.mjs +2 -4
  625. package/dist/udp/pages/UdpTranslationsPage/UdpTranslationsPage.mjs.map +1 -1
  626. package/dist/udp/utilities/useDateStringColumnDef.d.ts +1 -1
  627. package/dist/utilities/i18n/locales/es-US.json +24 -9
  628. package/dist/utilities/i18n/locales/es-US.mjs +25 -8
  629. package/dist/utilities/i18n/locales/fr-CA.json +24 -9
  630. package/dist/utilities/i18n/locales/fr-CA.mjs +25 -8
  631. package/dist/utilities/tree/TreeUtilities.d.ts +10 -10
  632. package/dist/utilities/tree/TreeUtilities.d.ts.map +1 -1
  633. package/dist/utilities/tree/TreeUtilities.js +41 -58
  634. package/dist/utilities/tree/TreeUtilities.js.map +1 -1
  635. package/dist/utilities/tree/TreeUtilities.mjs +32 -41
  636. package/dist/utilities/tree/TreeUtilities.mjs.map +1 -1
  637. package/dist/utilities/tree/lazyLevels.d.ts +32 -0
  638. package/dist/utilities/tree/lazyLevels.d.ts.map +1 -0
  639. package/dist/utilities/tree/lazyLevels.js +25 -0
  640. package/dist/utilities/tree/lazyLevels.js.map +1 -0
  641. package/dist/utilities/tree/lazyLevels.mjs +16 -0
  642. package/dist/utilities/tree/lazyLevels.mjs.map +1 -0
  643. package/dist/utilities/types.d.ts +4 -4
  644. package/dist/utilities/types.d.ts.map +1 -1
  645. package/package.json +62 -18
  646. package/dist/actionPanels/PanelActionForm.d.ts +0 -56
  647. package/dist/actionPanels/PanelActionForm.d.ts.map +0 -1
  648. package/dist/actionPanels/PanelActionForm.js +0 -30
  649. package/dist/actionPanels/PanelActionForm.js.map +0 -1
  650. package/dist/actionPanels/PanelActionForm.mjs +0 -168
  651. package/dist/actionPanels/PanelActionForm.mjs.map +0 -1
  652. package/dist/actionPanels/PanelEditor.d.ts +0 -44
  653. package/dist/actionPanels/PanelEditor.d.ts.map +0 -1
  654. package/dist/actionPanels/PanelEditor.js +0 -78
  655. package/dist/actionPanels/PanelEditor.js.map +0 -1
  656. package/dist/actionPanels/PanelEditor.mjs +0 -345
  657. package/dist/actionPanels/PanelEditor.mjs.map +0 -1
  658. package/dist/actionPanels/panelActionFields.module.css +0 -18
  659. package/dist/domain/inquiryTree/ruleBindings.d.ts +0 -10
  660. package/dist/domain/inquiryTree/ruleBindings.d.ts.map +0 -1
  661. package/dist/domain/inquiryTree/ruleBindings.js +0 -20
  662. package/dist/domain/inquiryTree/ruleBindings.js.map +0 -1
  663. package/dist/domain/inquiryTree/ruleBindings.mjs +0 -21
  664. package/dist/domain/inquiryTree/ruleBindings.mjs.map +0 -1
  665. package/dist/inquiry/v2/kernel/readOnlyModel.d.ts +0 -17
  666. package/dist/inquiry/v2/kernel/readOnlyModel.d.ts.map +0 -1
  667. package/dist/inquiry/v2/kernel/readOnlyModel.js +0 -19
  668. package/dist/inquiry/v2/kernel/readOnlyModel.js.map +0 -1
  669. package/dist/inquiry/v2/kernel/readOnlyModel.mjs +0 -21
  670. package/dist/inquiry/v2/kernel/readOnlyModel.mjs.map +0 -1
@@ -16,6 +16,7 @@ import { applyRule, mapRuleVariables } from '../inquiryTree/rules';
16
16
  import { formatTreeLabel } from '../inquiryTree/view';
17
17
  import { resolveRowLabel } from '../inquiryTree/displayTree';
18
18
  import { toWireString } from '../inquiryTree/wireString';
19
+ import { queryParamsFromRecord } from '../inquiryTree/runtime';
19
20
  /** Display-safe stringification: objects never render as '[object Object]'. */
20
21
  const displayString = (value) => {
21
22
  if (value === undefined || value === null || value === '')
@@ -39,6 +40,8 @@ export const BADGE_COLORS = [
39
40
  'success',
40
41
  'warning'
41
42
  ];
43
+ /** A badge with no colour of its own to fall back on. */
44
+ const NEUTRAL_BADGE_COLOR = 'informative';
42
45
  /**
43
46
  * The node view's degradation rule (one place, so band and body agree):
44
47
  *
@@ -72,7 +75,7 @@ const passesRule = (candidate, nodeObj) => {
72
75
  if (!candidate.propertyMapping || !candidate.jsonLogic)
73
76
  return true;
74
77
  const rule = mapRuleVariables(candidate.propertyMapping, candidate.jsonLogic);
75
- return !!applyRule(rule, nodeObj, null, false);
78
+ return !!applyRule(rule, nodeObj);
76
79
  };
77
80
  /**
78
81
  * The shared sequence-ordered, rule-gated candidate walk: first candidate
@@ -92,20 +95,27 @@ export const resolveFirstMatchingPageId = (candidates, nodeObj) => {
92
95
  };
93
96
  const asBadgeColor = (color) => BADGE_COLORS.includes(color) ? color : undefined;
94
97
  /**
95
- * Whether a badge entry renders at all, and in which color. With rules, the
96
- * first whose expression passes wins and no match means no badge; without
97
- * rules, a truthy value shows the entry's unconditional color. One semantics,
98
- * no special cases. The expressions go through `applyRule` — the same evaluator
99
- * the tree's conditional icon/adornment rules use, so one rule behaves
100
- * identically wherever a designer puts it.
98
+ * Whether a badge entry renders at all, and in which color. A badge shows when
99
+ * its value is present (a boolean flag only when true). The entry's own color
100
+ * is the badge's color; rules override it for the records they match, first
101
+ * match wins — the conditional icon's grammar, where the base icon is what
102
+ * "all other records" get. A value no rule matches therefore still shows, in
103
+ * the entry's color: a field must never vanish just because its value is one
104
+ * the designer did not single out. The expressions go through `applyRule` —
105
+ * the same evaluator the tree's conditional icon/adornment rules use, so one
106
+ * rule behaves identically wherever a designer puts it.
101
107
  */
102
108
  const resolveBadge = (config, value, nodeObj) => {
103
109
  var _a;
104
- if ((_a = config.badgeRules) === null || _a === void 0 ? void 0 : _a.length) {
105
- const match = config.badgeRules.find((rule) => rule.expression && applyRule(rule.expression, nodeObj, null, false));
106
- return match ? { color: asBadgeColor(match.color) } : null;
107
- }
108
- return value ? { color: asBadgeColor(config.badgeColor) } : null;
110
+ if (!value)
111
+ return null;
112
+ const base = asBadgeColor(config.badgeColor);
113
+ if (!((_a = config.badgeRules) === null || _a === void 0 ? void 0 : _a.length))
114
+ return { color: base };
115
+ const match = config.badgeRules.find((rule) => rule.expression && applyRule(rule.expression, nodeObj));
116
+ return {
117
+ color: match ? asBadgeColor(match.color) : (base !== null && base !== void 0 ? base : NEUTRAL_BADGE_COLOR)
118
+ };
109
119
  };
110
120
  /**
111
121
  * Read a record property, preferring the lookup display text the data layer
@@ -116,6 +126,36 @@ const readRecordValue = (source, property) => {
116
126
  var _a;
117
127
  return (_a = source === null || source === void 0 ? void 0 : source[`${property}LookupValue`]) !== null && _a !== void 0 ? _a : source === null || source === void 0 ? void 0 : source[property];
118
128
  };
129
+ const fieldConfigs = (node) => {
130
+ var _a;
131
+ var _b;
132
+ return (_b = (_a = node.properties) === null || _a === void 0 ? void 0 : _a.pageHeaderConfiguration) !== null && _b !== void 0 ? _b : [];
133
+ };
134
+ /** An entry's value from the record, through its joining entity when it has one. */
135
+ const readEntryValue = (config, node, nodeObj) => {
136
+ var _a;
137
+ var _b, _c;
138
+ const propertyName = (_b = config.propertyName) !== null && _b !== void 0 ? _b : '';
139
+ const property = config.property || propertyName;
140
+ if (!config.joiningEntityKey)
141
+ return readRecordValue(nodeObj, propertyName);
142
+ if (config.joiningEntityKey === ((_a = node.properties) === null || _a === void 0 ? void 0 : _a.catalogObjectKey)) {
143
+ return readRecordValue(nodeObj, property);
144
+ }
145
+ const joined = nodeObj[config.joiningEntityKey];
146
+ return (_c = readRecordValue(joined, property)) !== null && _c !== void 0 ? _c : readRecordValue(nodeObj, property);
147
+ };
148
+ /**
149
+ * Badge text: a boolean is a FLAG, and the flag's display string is the
150
+ * entry's name ("Confidential"); every other value-bearing field shows its
151
+ * VALUE, same as a plain field (lookup display text already preferred by
152
+ * `readRecordValue`). Rules only decide whether — and in what colour — the
153
+ * badge shows; they never change its text.
154
+ */
155
+ const badgeText = (config, value) => {
156
+ var _a;
157
+ return typeof value === 'boolean' ? ((_a = config.name) !== null && _a !== void 0 ? _a : '') : displayString(value);
158
+ };
119
159
  /**
120
160
  * Static header fields (legacy NodeDetails value resolution, ported pure):
121
161
  * value from the record by propertyName, with the joining-entity fallback
@@ -127,45 +167,23 @@ const readRecordValue = (source, property) => {
127
167
  */
128
168
  export const resolveHeaderFields = (node) => {
129
169
  var _a, _b;
130
- var _c, _d, _e, _f;
131
- const configs = (_a = node.properties) === null || _a === void 0 ? void 0 : _a.pageHeaderConfiguration;
132
170
  const nodeObj = node.nodeObj;
133
- if (!(configs === null || configs === void 0 ? void 0 : configs.length) || !nodeObj)
171
+ if (!nodeObj)
134
172
  return [];
135
173
  const fields = [];
136
- for (const config of configs) {
174
+ for (const config of fieldConfigs(node)) {
137
175
  if (!config.isShown)
138
176
  continue;
139
- const propertyName = (_c = config.propertyName) !== null && _c !== void 0 ? _c : '';
140
- const property = config.property || propertyName;
141
- let value = readRecordValue(nodeObj, propertyName);
142
- if (config.joiningEntityKey) {
143
- if (config.joiningEntityKey === ((_b = node.properties) === null || _b === void 0 ? void 0 : _b.catalogObjectKey)) {
144
- value = readRecordValue(nodeObj, property);
145
- }
146
- else {
147
- const joined = nodeObj[config.joiningEntityKey];
148
- value = (_d = readRecordValue(joined, property)) !== null && _d !== void 0 ? _d : readRecordValue(nodeObj, property);
149
- }
150
- }
151
- const display = (_e = config.display) !== null && _e !== void 0 ? _e : 'field';
152
- // A falsy value (no rules) or a rule set with no match drops the badge.
177
+ const value = readEntryValue(config, node, nodeObj);
178
+ const display = (_a = config.display) !== null && _a !== void 0 ? _a : 'field';
179
+ // A badge with no value to show is dropped (resolveBadge).
153
180
  const badge = display === 'badge' ? resolveBadge(config, value, nodeObj) : null;
154
181
  if (display === 'badge' && !badge)
155
182
  continue;
156
- // Badge text: a boolean is a FLAG, and the flag's display string is the
157
- // entry's name ("Confidential"); every other value-bearing field shows its
158
- // VALUE, same as a plain field (lookup display text already preferred by
159
- // `readRecordValue`). Rules only decide whether — and in what colour — the
160
- // badge shows; they never change its text.
161
- const name = (_f = config.name) !== null && _f !== void 0 ? _f : '';
162
- const text = display === 'badge' && typeof value === 'boolean'
163
- ? name
164
- : displayString(value);
165
183
  // Empty stays empty — the renderer decides the placeholder (legacy: 'N/A').
166
184
  const field = {
167
- label: name,
168
- value: text,
185
+ label: (_b = config.name) !== null && _b !== void 0 ? _b : '',
186
+ value: display === 'badge' ? badgeText(config, value) : displayString(value),
169
187
  display
170
188
  };
171
189
  if (badge === null || badge === void 0 ? void 0 : badge.color)
@@ -174,9 +192,41 @@ export const resolveHeaderFields = (node) => {
174
192
  }
175
193
  return fields;
176
194
  };
195
+ /**
196
+ * The fields a level draws as badges in one of the two places outside the
197
+ * header's details — its tree rows (`onRow`) or beside the record's title
198
+ * (`onTitle`) — in list order. It is the header's own entry, read by the
199
+ * header's own functions — value, text, visibility and colour — so a field's
200
+ * badge is the same badge in every place, and can only be configured once.
201
+ * Whether the details show the field (`isShown`), and how (`display`), is the
202
+ * details' business alone.
203
+ */
204
+ const resolveFieldBadges = (node, place) => {
205
+ const nodeObj = node.nodeObj;
206
+ if (!nodeObj)
207
+ return [];
208
+ const badges = [];
209
+ for (const config of fieldConfigs(node)) {
210
+ if (!config[place])
211
+ continue;
212
+ const value = readEntryValue(config, node, nodeObj);
213
+ const badge = resolveBadge(config, value, nodeObj);
214
+ if (!badge)
215
+ continue;
216
+ const text = badgeText(config, value);
217
+ if (!text)
218
+ continue;
219
+ badges.push(badge.color ? { text, color: badge.color } : { text });
220
+ }
221
+ return badges;
222
+ };
223
+ /** The field badges on a record's tree row. */
224
+ export const resolveRowBadges = (node) => resolveFieldBadges(node, 'onRow');
225
+ /** The field badges beside a record's title. */
226
+ export const resolveTitleBadges = (node) => resolveFieldBadges(node, 'onTitle');
177
227
  /**
178
228
  * Node-level alert refs (legacy EntityHeader → UdpAlertsContainer read of
179
- * `properties.alerts`): the `{ id, alertId }` rows, entity nodes only (group
229
+ * `properties.alerts`): the `{ id, alertId, paramMappings }` rows, entity nodes only (group
180
230
  * nodes never carried alerts). Pure — the `alert/{alertId}` fetch and the
181
231
  * threshold-status render happen in the alerts capability.
182
232
  */
@@ -189,17 +239,17 @@ export const resolveNodeAlerts = (node) => {
189
239
  return [];
190
240
  return alerts
191
241
  .filter((alert) => alert && alert.alertId != null && alert.alertId !== '')
192
- .map((alert) => ({
193
- id: alert.id != null ? toWireString(alert.id) : toWireString(alert.alertId),
194
- alertId: toWireString(alert.alertId)
195
- }));
242
+ .map((alert) => (Object.assign({ id: alert.id != null ? toWireString(alert.id) : toWireString(alert.alertId), alertId: toWireString(alert.alertId), params: queryParamsFromRecord(node.nodeObj, alert.paramMappings) }, (alert.stagedAlert ? { staged: alert.stagedAlert } : {}))));
196
243
  };
197
244
  const resolveCollapse = (value) => {
198
245
  if (!value || value === 'hidden')
199
246
  return { show: false, expanded: false };
200
247
  return { show: true, expanded: value === 'expanded' };
201
248
  };
202
- /** Visible tabs: sequence-ordered, rule-filtered, stable ids. */
249
+ /**
250
+ * Visible tabs: sequence-ordered, rule-filtered, stable ids. A tab with no
251
+ * page (saved as `page: ''`) has nothing to show and is skipped.
252
+ */
203
253
  export const resolveTabs = (node) => {
204
254
  var _a, _b, _c, _d, _e, _f;
205
255
  var _g, _h, _j, _k, _l, _m, _o;
@@ -210,16 +260,16 @@ export const resolveTabs = (node) => {
210
260
  return [];
211
261
  const visible = [];
212
262
  for (const tab of bySequence(tabs)) {
213
- if (!passesRule(tab, nodeObj))
214
- continue;
215
263
  const pageId = (_h = (_c = tab.page) === null || _c === void 0 ? void 0 : _c.pageId) !== null && _h !== void 0 ? _h : '';
264
+ if (!pageId || !passesRule(tab, nodeObj))
265
+ continue;
216
266
  const label = ((_d = tab.displayName) === null || _d === void 0 ? void 0 : _d.trim()) || ((_f = (_e = tab.page) === null || _e === void 0 ? void 0 : _e.name) === null || _f === void 0 ? void 0 : _f.trim()) || '';
217
267
  visible.push({
218
268
  id: tab.id !== undefined && tab.id !== null ? String(tab.id) : pageId,
219
269
  label,
220
270
  pageId,
221
271
  pageHeaderPageId: resolveFirstMatchingPageId((_j = tab.pageHeaderPages) !== null && _j !== void 0 ? _j : null, nodeObj),
222
- pageHeaderCollapse: resolveCollapse(tab.defaultPageHeaderExpanded || nodePageHeaderDefault),
272
+ pageHeaderCollapse: resolveCollapse(nodePageHeaderDefault),
223
273
  queryId: (_k = tab.queryId) !== null && _k !== void 0 ? _k : '',
224
274
  queryParamMapping: (_l = tab.queryParamMapping) !== null && _l !== void 0 ? _l : null,
225
275
  requiredFieldMapping: (_m = tab.requiredFieldMapping) !== null && _m !== void 0 ? _m : {},
@@ -232,24 +282,13 @@ export const resolveNodeViewModel = (node) => {
232
282
  var _a, _b, _c;
233
283
  const properties = (_a = node.properties) !== null && _a !== void 0 ? _a : {};
234
284
  const nodeObj = (_b = node.nodeObj) !== null && _b !== void 0 ? _b : {};
235
- // `formatTreeLabel` is a legacy port whose quirks are preserved on purpose:
236
- // handed no template at all (a node with no configured headerName) it returns
237
- // that missing template back, TYPED as string but undefined at runtime. The
238
- // model owns the contract — `headerTitle: string` — so it is made true here
239
- // rather than at each of the readers, one of which (the kernel's empty-state
240
- // check, UdpNodeView.tsx) called `.trim()` on it and crashed the viewer.
241
- //
242
- // A string, though, is not yet a TITLE: a level configuring no headerName
243
- // rendered a blank title row for a record whose name the tree row showed
244
- // perfectly well. Hence the fallback contract, stated once here: a configured
245
- // headerName wins, and a level that configures none shows exactly what its
246
- // tree row shows (`resolveRowLabel`, the one row-label reader). Group nodes
247
- // are unchanged — their row label IS `properties.label`.
248
- const headerTitle = displayString(node.isGroupNode
249
- ? properties.label
250
- : formatTreeLabel(properties.headerName, nodeObj)) || resolveRowLabel(node);
285
+ // A configured headerName wins; a level that configures none shows exactly
286
+ // what its tree row shows. Group nodes' row label IS `properties.label`.
287
+ const headerTitle = (node.isGroupNode
288
+ ? displayString(properties.label)
289
+ : formatTreeLabel(properties.headerName, nodeObj)) ||
290
+ resolveRowLabel(node);
251
291
  const headerCollapse = resolveCollapse(properties.defaultNodeHeaderExpanded);
252
- const pageHeaderCollapse = resolveCollapse(properties.defaultPageHeaderExpanded);
253
292
  let header = { kind: 'none' };
254
293
  if (headerCollapse.show) {
255
294
  const headerPageId = resolveFirstMatchingPageId(properties.nodeHeaderPages, nodeObj);
@@ -265,10 +304,10 @@ export const resolveNodeViewModel = (node) => {
265
304
  headerTitle,
266
305
  header,
267
306
  headerCollapse,
268
- pageHeaderCollapse,
269
307
  tabs: resolveTabs(node),
270
308
  panels: (_c = properties.panels) !== null && _c !== void 0 ? _c : [],
271
- alerts: resolveNodeAlerts(node)
309
+ alerts: resolveNodeAlerts(node),
310
+ titleBadges: resolveTitleBadges(node)
272
311
  };
273
312
  };
274
313
  //# sourceMappingURL=model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/domain/nodeView/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAG7D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAIzD,+EAA+E;AAC/E,MAAM,aAAa,GAAG,CAAC,KAAc,EA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MAAM,EAAE,iBAAiB,CAAC,IAAI,CAAC;QAC/B,WAAW,EAAE,kBAAkB,CAAC,IAAI,CAAC;KACtC,CAAC;AAAA,CACH,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { applyRule, mapRuleVariables } from "../inquiryTree/rules.mjs";
2
2
  import { formatTreeLabel } from "../inquiryTree/view.mjs";
3
3
  import { toWireString } from "../inquiryTree/wireString.mjs";
4
+ import { queryParamsFromRecord } from "../inquiryTree/runtime.mjs";
4
5
  import { resolveRowLabel } from "../inquiryTree/displayTree.mjs";
5
6
  //#region src/domain/nodeView/model.ts
6
7
  /**
@@ -38,6 +39,8 @@ const BADGE_COLORS = [
38
39
  "success",
39
40
  "warning"
40
41
  ];
42
+ /** A badge with no colour of its own to fall back on. */
43
+ const NEUTRAL_BADGE_COLOR = "informative";
41
44
  /**
42
45
  * The node view's degradation rule (one place, so band and body agree):
43
46
  *
@@ -62,7 +65,7 @@ const bySequence = (list) => [...list].sort((a, b) => (Number(a.sequenceNo ?? 0)
62
65
  /** True when the candidate has no rule, or its rule passes against the record. */
63
66
  const passesRule = (candidate, nodeObj) => {
64
67
  if (!candidate.propertyMapping || !candidate.jsonLogic) return true;
65
- return !!applyRule(mapRuleVariables(candidate.propertyMapping, candidate.jsonLogic), nodeObj, null, false);
68
+ return !!applyRule(mapRuleVariables(candidate.propertyMapping, candidate.jsonLogic), nodeObj);
66
69
  };
67
70
  /**
68
71
  * The shared sequence-ordered, rule-gated candidate walk: first candidate
@@ -75,19 +78,22 @@ const resolveFirstMatchingPageId = (candidates, nodeObj) => {
75
78
  };
76
79
  const asBadgeColor = (color) => BADGE_COLORS.includes(color) ? color : void 0;
77
80
  /**
78
- * Whether a badge entry renders at all, and in which color. With rules, the
79
- * first whose expression passes wins and no match means no badge; without
80
- * rules, a truthy value shows the entry's unconditional color. One semantics,
81
- * no special cases. The expressions go through `applyRule` — the same evaluator
82
- * the tree's conditional icon/adornment rules use, so one rule behaves
83
- * identically wherever a designer puts it.
81
+ * Whether a badge entry renders at all, and in which color. A badge shows when
82
+ * its value is present (a boolean flag only when true). The entry's own color
83
+ * is the badge's color; rules override it for the records they match, first
84
+ * match wins — the conditional icon's grammar, where the base icon is what
85
+ * "all other records" get. A value no rule matches therefore still shows, in
86
+ * the entry's color: a field must never vanish just because its value is one
87
+ * the designer did not single out. The expressions go through `applyRule` —
88
+ * the same evaluator the tree's conditional icon/adornment rules use, so one
89
+ * rule behaves identically wherever a designer puts it.
84
90
  */
85
91
  const resolveBadge = (config, value, nodeObj) => {
86
- if (config.badgeRules?.length) {
87
- const match = config.badgeRules.find((rule) => rule.expression && applyRule(rule.expression, nodeObj, null, false));
88
- return match ? { color: asBadgeColor(match.color) } : null;
89
- }
90
- return value ? { color: asBadgeColor(config.badgeColor) } : null;
92
+ if (!value) return null;
93
+ const base = asBadgeColor(config.badgeColor);
94
+ if (!config.badgeRules?.length) return { color: base };
95
+ const match = config.badgeRules.find((rule) => rule.expression && applyRule(rule.expression, nodeObj));
96
+ return { color: match ? asBadgeColor(match.color) : base ?? NEUTRAL_BADGE_COLOR };
91
97
  };
92
98
  /**
93
99
  * Read a record property, preferring the lookup display text the data layer
@@ -95,6 +101,24 @@ const resolveBadge = (config, value, nodeObj) => {
95
101
  * Unstamped fields (no lookup, or an unresolved one) read as before.
96
102
  */
97
103
  const readRecordValue = (source, property) => source?.[`${property}LookupValue`] ?? source?.[property];
104
+ const fieldConfigs = (node) => node.properties?.pageHeaderConfiguration ?? [];
105
+ /** An entry's value from the record, through its joining entity when it has one. */
106
+ const readEntryValue = (config, node, nodeObj) => {
107
+ const propertyName = config.propertyName ?? "";
108
+ const property = config.property || propertyName;
109
+ if (!config.joiningEntityKey) return readRecordValue(nodeObj, propertyName);
110
+ if (config.joiningEntityKey === node.properties?.catalogObjectKey) return readRecordValue(nodeObj, property);
111
+ const joined = nodeObj[config.joiningEntityKey];
112
+ return readRecordValue(joined, property) ?? readRecordValue(nodeObj, property);
113
+ };
114
+ /**
115
+ * Badge text: a boolean is a FLAG, and the flag's display string is the
116
+ * entry's name ("Confidential"); every other value-bearing field shows its
117
+ * VALUE, same as a plain field (lookup display text already preferred by
118
+ * `readRecordValue`). Rules only decide whether — and in what colour — the
119
+ * badge shows; they never change its text.
120
+ */
121
+ const badgeText = (config, value) => typeof value === "boolean" ? config.name ?? "" : displayString(value);
98
122
  /**
99
123
  * Static header fields (legacy NodeDetails value resolution, ported pure):
100
124
  * value from the record by propertyName, with the joining-entity fallback
@@ -105,27 +129,18 @@ const readRecordValue = (source, property) => source?.[`${property}LookupValue`]
105
129
  * resolve their visibility and color here, so the renderer stays dumb.
106
130
  */
107
131
  const resolveHeaderFields = (node) => {
108
- const configs = node.properties?.pageHeaderConfiguration;
109
132
  const nodeObj = node.nodeObj;
110
- if (!configs?.length || !nodeObj) return [];
133
+ if (!nodeObj) return [];
111
134
  const fields = [];
112
- for (const config of configs) {
135
+ for (const config of fieldConfigs(node)) {
113
136
  if (!config.isShown) continue;
114
- const propertyName = config.propertyName ?? "";
115
- const property = config.property || propertyName;
116
- let value = readRecordValue(nodeObj, propertyName);
117
- if (config.joiningEntityKey) if (config.joiningEntityKey === node.properties?.catalogObjectKey) value = readRecordValue(nodeObj, property);
118
- else {
119
- const joined = nodeObj[config.joiningEntityKey];
120
- value = readRecordValue(joined, property) ?? readRecordValue(nodeObj, property);
121
- }
137
+ const value = readEntryValue(config, node, nodeObj);
122
138
  const display = config.display ?? "field";
123
139
  const badge = display === "badge" ? resolveBadge(config, value, nodeObj) : null;
124
140
  if (display === "badge" && !badge) continue;
125
- const name = config.name ?? "";
126
141
  const field = {
127
- label: name,
128
- value: display === "badge" && typeof value === "boolean" ? name : displayString(value),
142
+ label: config.name ?? "",
143
+ value: display === "badge" ? badgeText(config, value) : displayString(value),
129
144
  display
130
145
  };
131
146
  if (badge?.color) field.color = badge.color;
@@ -134,8 +149,39 @@ const resolveHeaderFields = (node) => {
134
149
  return fields;
135
150
  };
136
151
  /**
152
+ * The fields a level draws as badges in one of the two places outside the
153
+ * header's details — its tree rows (`onRow`) or beside the record's title
154
+ * (`onTitle`) — in list order. It is the header's own entry, read by the
155
+ * header's own functions — value, text, visibility and colour — so a field's
156
+ * badge is the same badge in every place, and can only be configured once.
157
+ * Whether the details show the field (`isShown`), and how (`display`), is the
158
+ * details' business alone.
159
+ */
160
+ const resolveFieldBadges = (node, place) => {
161
+ const nodeObj = node.nodeObj;
162
+ if (!nodeObj) return [];
163
+ const badges = [];
164
+ for (const config of fieldConfigs(node)) {
165
+ if (!config[place]) continue;
166
+ const value = readEntryValue(config, node, nodeObj);
167
+ const badge = resolveBadge(config, value, nodeObj);
168
+ if (!badge) continue;
169
+ const text = badgeText(config, value);
170
+ if (!text) continue;
171
+ badges.push(badge.color ? {
172
+ text,
173
+ color: badge.color
174
+ } : { text });
175
+ }
176
+ return badges;
177
+ };
178
+ /** The field badges on a record's tree row. */
179
+ const resolveRowBadges = (node) => resolveFieldBadges(node, "onRow");
180
+ /** The field badges beside a record's title. */
181
+ const resolveTitleBadges = (node) => resolveFieldBadges(node, "onTitle");
182
+ /**
137
183
  * Node-level alert refs (legacy EntityHeader → UdpAlertsContainer read of
138
- * `properties.alerts`): the `{ id, alertId }` rows, entity nodes only (group
184
+ * `properties.alerts`): the `{ id, alertId, paramMappings }` rows, entity nodes only (group
139
185
  * nodes never carried alerts). Pure — the `alert/{alertId}` fetch and the
140
186
  * threshold-status render happen in the alerts capability.
141
187
  */
@@ -145,7 +191,9 @@ const resolveNodeAlerts = (node) => {
145
191
  if (!alerts?.length) return [];
146
192
  return alerts.filter((alert) => alert && alert.alertId != null && alert.alertId !== "").map((alert) => ({
147
193
  id: alert.id != null ? toWireString(alert.id) : toWireString(alert.alertId),
148
- alertId: toWireString(alert.alertId)
194
+ alertId: toWireString(alert.alertId),
195
+ params: queryParamsFromRecord(node.nodeObj, alert.paramMappings),
196
+ ...alert.stagedAlert ? { staged: alert.stagedAlert } : {}
149
197
  }));
150
198
  };
151
199
  const resolveCollapse = (value) => {
@@ -158,7 +206,10 @@ const resolveCollapse = (value) => {
158
206
  expanded: value === "expanded"
159
207
  };
160
208
  };
161
- /** Visible tabs: sequence-ordered, rule-filtered, stable ids. */
209
+ /**
210
+ * Visible tabs: sequence-ordered, rule-filtered, stable ids. A tab with no
211
+ * page (saved as `page: ''`) has nothing to show and is skipped.
212
+ */
162
213
  const resolveTabs = (node) => {
163
214
  const tabs = node.properties?.tabs;
164
215
  const nodeObj = node.nodeObj ?? {};
@@ -166,15 +217,15 @@ const resolveTabs = (node) => {
166
217
  if (!tabs?.length) return [];
167
218
  const visible = [];
168
219
  for (const tab of bySequence(tabs)) {
169
- if (!passesRule(tab, nodeObj)) continue;
170
220
  const pageId = tab.page?.pageId ?? "";
221
+ if (!pageId || !passesRule(tab, nodeObj)) continue;
171
222
  const label = tab.displayName?.trim() || tab.page?.name?.trim() || "";
172
223
  visible.push({
173
224
  id: tab.id !== void 0 && tab.id !== null ? String(tab.id) : pageId,
174
225
  label,
175
226
  pageId,
176
227
  pageHeaderPageId: resolveFirstMatchingPageId(tab.pageHeaderPages ?? null, nodeObj),
177
- pageHeaderCollapse: resolveCollapse(tab.defaultPageHeaderExpanded || nodePageHeaderDefault),
228
+ pageHeaderCollapse: resolveCollapse(nodePageHeaderDefault),
178
229
  queryId: tab.queryId ?? "",
179
230
  queryParamMapping: tab.queryParamMapping ?? null,
180
231
  requiredFieldMapping: tab.requiredFieldMapping ?? {},
@@ -186,9 +237,8 @@ const resolveTabs = (node) => {
186
237
  const resolveNodeViewModel = (node) => {
187
238
  const properties = node.properties ?? {};
188
239
  const nodeObj = node.nodeObj ?? {};
189
- const headerTitle = displayString(node.isGroupNode ? properties.label : formatTreeLabel(properties.headerName, nodeObj)) || resolveRowLabel(node);
240
+ const headerTitle = (node.isGroupNode ? displayString(properties.label) : formatTreeLabel(properties.headerName, nodeObj)) || resolveRowLabel(node);
190
241
  const headerCollapse = resolveCollapse(properties.defaultNodeHeaderExpanded);
191
- const pageHeaderCollapse = resolveCollapse(properties.defaultPageHeaderExpanded);
192
242
  let header = { kind: "none" };
193
243
  if (headerCollapse.show) {
194
244
  const headerPageId = resolveFirstMatchingPageId(properties.nodeHeaderPages, nodeObj);
@@ -208,13 +258,13 @@ const resolveNodeViewModel = (node) => {
208
258
  headerTitle,
209
259
  header,
210
260
  headerCollapse,
211
- pageHeaderCollapse,
212
261
  tabs: resolveTabs(node),
213
262
  panels: properties.panels ?? [],
214
- alerts: resolveNodeAlerts(node)
263
+ alerts: resolveNodeAlerts(node),
264
+ titleBadges: resolveTitleBadges(node)
215
265
  };
216
266
  };
217
267
  //#endregion
218
- export { BADGE_COLORS, resolveFirstMatchingPageId, resolveHeaderFields, resolveNodeAlerts, resolveNodeViewLayout, resolveNodeViewModel, resolveTabs };
268
+ export { BADGE_COLORS, resolveFirstMatchingPageId, resolveHeaderFields, resolveNodeAlerts, resolveNodeViewLayout, resolveNodeViewModel, resolveRowBadges, resolveTabs, resolveTitleBadges };
219
269
 
220
270
  //# sourceMappingURL=model.mjs.map