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
@@ -10,6 +10,7 @@
10
10
  * 2026-07-07: fluent-only with fallback).
11
11
  */
12
12
  import { resolveIconName } from '../../../../icons/legacyIconNames';
13
+ import { rowChildState } from '../../../../domain/inquiryTree/displayTree';
13
14
  /** Kept under its tree-menu name for existing importers. */
14
15
  export { resolveIconName as mapTreeIconName };
15
16
  /**
@@ -19,10 +20,10 @@ export { resolveIconName as mapTreeIconName };
19
20
  * folders, leaf records as documents.
20
21
  */
21
22
  export const fallbackTreeIcon = (node) => {
22
- var _a, _b;
23
+ var _a;
23
24
  if (node === null || node === void 0 ? void 0 : node.isGroupNode)
24
25
  return 'folder';
25
- if (((_a = node === null || node === void 0 ? void 0 : node.children) === null || _a === void 0 ? void 0 : _a.length) || ((_b = node === null || node === void 0 ? void 0 : node.properties) === null || _b === void 0 ? void 0 : _b.lazyLoad))
26
+ if (((_a = node === null || node === void 0 ? void 0 : node.children) === null || _a === void 0 ? void 0 : _a.length) || rowChildState(node) !== 'none')
26
27
  return 'folder';
27
28
  return 'document';
28
29
  };
@@ -66,31 +67,55 @@ export const resolveTreeItemIcon = (node) => {
66
67
  return { name: mapped, color: color || undefined };
67
68
  };
68
69
  /**
69
- * The row's icon as a chip descriptor for UdpTree's `itemIcon` — the Tree
70
- * Builder canvas chip treatment (icon in a soft rounded-square chip) carried
71
- * to the live Inquiry menu (Jordan, 2026-07-16). Every row gets one (typed
72
- * folder/document fallback), so rows are never blank, and the glyph keeps
73
- * its exact configured hex color.
70
+ * The row's icon for UdpTree's `itemIcon`: the plain glyph, in its exact
71
+ * configured hex color. Every row gets one (typed folder/document fallback), so
72
+ * rows are never blank.
74
73
  *
75
74
  * The caller picks the glyph size — 'xs' (16px) for the compact view, 'sm'
76
- * (20px) for the classic view — and the chip auto-sizes around it (24px and
77
- * 28px respectively).
75
+ * (20px) for the classic view.
78
76
  */
79
- export const resolveTreeItemChipIcon = (node, size = 'xs') => {
77
+ export const resolveTreeRowIcon = (node, size = 'xs') => {
80
78
  var _a;
81
79
  const icon = resolveTreeItemIcon(node);
82
80
  return {
83
81
  name: (_a = icon === null || icon === void 0 ? void 0 : icon.name) !== null && _a !== void 0 ? _a : fallbackTreeIcon(node),
84
82
  color: icon === null || icon === void 0 ? void 0 : icon.color,
85
- chip: true,
86
83
  size
87
84
  };
88
85
  };
86
+ /**
87
+ * The udp-fluent-badge palette colour nearest a configured hex, by hue — the
88
+ * badge takes palette names only. Greys and unreadable values are the neutral
89
+ * 'informative'.
90
+ */
91
+ const badgeColorForHex = (hex) => {
92
+ const match = /^#?([0-9a-f]{6})$/i.exec(String(hex !== null && hex !== void 0 ? hex : '').trim());
93
+ if (!match)
94
+ return 'informative';
95
+ const [r, g, b] = [0, 2, 4].map((start) => parseInt(match[1].slice(start, start + 2), 16) / 255);
96
+ const max = Math.max(r, g, b);
97
+ const chroma = max - Math.min(r, g, b);
98
+ if (chroma < 0.15)
99
+ return 'informative';
100
+ const hue = max === r
101
+ ? (((g - b) / chroma + 6) % 6) * 60
102
+ : max === g
103
+ ? ((b - r) / chroma + 2) * 60
104
+ : ((r - g) / chroma + 4) * 60;
105
+ if (hue < 15 || hue >= 330)
106
+ return 'danger';
107
+ if (hue < 40)
108
+ return 'severe';
109
+ if (hue < 70)
110
+ return 'warning';
111
+ if (hue < 170)
112
+ return 'success';
113
+ return 'brand';
114
+ };
89
115
  /**
90
116
  * Conditional adornment as a badge descriptor (icon-only ghost badge) for
91
- * UdpTree's `itemBadge`. Legacy rendered the adornment icon in its configured
92
- * hex color; udp-fluent-badge takes palette names only, so the hue is
93
- * approximated — acceptable under the fluent-only icon decision.
117
+ * UdpTree's `itemBadge`, in the palette colour nearest the configured hex
118
+ * (badgeColorForHex) — legacy rendered the exact hex.
94
119
  */
95
120
  export const resolveTreeItemAdornmentBadge = (node) => {
96
121
  const props = (node === null || node === void 0 ? void 0 : node.properties) || {};
@@ -99,6 +124,10 @@ export const resolveTreeItemAdornmentBadge = (node) => {
99
124
  const mapped = resolveIconName(props.conditionalNodeAdornmentName, props.conditionalNodeAdornmentType, props.conditionalNodeAdornmentFluentName);
100
125
  if (!mapped)
101
126
  return null;
102
- return { appearance: 'ghost', color: 'informative', startIconName: mapped };
127
+ return {
128
+ appearance: 'ghost',
129
+ color: badgeColorForHex(props.conditionalNodeAdornmentColor),
130
+ startIconName: mapped
131
+ };
103
132
  };
104
133
  //# sourceMappingURL=treeMenuVisuals.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"treeMenuVisuals.js","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,4DAA4D;AAC5D,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;;IACxC,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW;QAAE,OAAO,QAAQ,CAAC;IACvC,IAAI,CAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,0CAAE,MAAM,MAAI,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU,0CAAE,QAAQ,CAAA;QAAE,OAAO,QAAQ,CAAC;IAC1E,OAAO,UAAU,CAAC;AAAA,CACnB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;;;IAC3C,MAAM,KAAK,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU,KAAI,EAAE,CAAC;IACrC,IAAI,IAAI,CAAC;IACT,IAAI,IAAI,CAAC;IACT,IAAI,UAAU,CAAC;IACf,IAAI,KAAK,CAAC;IAEV,IAAI,IAAI,aAAJ,IA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;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;IACrD,MAAM,KAAK,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU,KAAI,EAAE,CAAC;IACrC,IAAI,CAAC,KAAK,CAAC,4BAA4B;QAAE,OAAO,IAAI,CAAC;IACrD,MAAM,MAAM,GAAG,eAAe,CAC5B,KAAK,CAAC,4BAA4B,EAClC,KAAK,CAAC,4BAA4B,EAClC,KAAK,CAAC,kCAAkC,CACzC,CAAC;IACF,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IACzB,OAAO;QACL,UAAU,EAAE,OAAO;QACnB,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,6BAA6B,CAAC;QAC5D,aAAa,EAAE,MAAM;KACtB,CAAC;AAAA,CACH,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { rowChildState } from "../../../../domain/inquiryTree/displayTree.mjs";
1
2
  import { resolveIconName } from "../../../../icons/legacyIconNames.mjs";
2
3
  //#region src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js
3
4
  /**
@@ -19,7 +20,7 @@ import { resolveIconName } from "../../../../icons/legacyIconNames.mjs";
19
20
  */
20
21
  const fallbackTreeIcon = (node) => {
21
22
  if (node?.isGroupNode) return "folder";
22
- if (node?.children?.length || node?.properties?.lazyLoad) return "folder";
23
+ if (node?.children?.length || rowChildState(node) !== "none") return "folder";
23
24
  return "document";
24
25
  };
25
26
  /**
@@ -57,30 +58,48 @@ const resolveTreeItemIcon = (node) => {
57
58
  };
58
59
  };
59
60
  /**
60
- * The row's icon as a chip descriptor for UdpTree's `itemIcon` — the Tree
61
- * Builder canvas chip treatment (icon in a soft rounded-square chip) carried
62
- * to the live Inquiry menu (Jordan, 2026-07-16). Every row gets one (typed
63
- * folder/document fallback), so rows are never blank, and the glyph keeps
64
- * its exact configured hex color.
61
+ * The row's icon for UdpTree's `itemIcon`: the plain glyph, in its exact
62
+ * configured hex color. Every row gets one (typed folder/document fallback), so
63
+ * rows are never blank.
65
64
  *
66
65
  * The caller picks the glyph size — 'xs' (16px) for the compact view, 'sm'
67
- * (20px) for the classic view — and the chip auto-sizes around it (24px and
68
- * 28px respectively).
66
+ * (20px) for the classic view.
69
67
  */
70
- const resolveTreeItemChipIcon = (node, size = "xs") => {
68
+ const resolveTreeRowIcon = (node, size = "xs") => {
71
69
  const icon = resolveTreeItemIcon(node);
72
70
  return {
73
71
  name: icon?.name ?? fallbackTreeIcon(node),
74
72
  color: icon?.color,
75
- chip: true,
76
73
  size
77
74
  };
78
75
  };
79
76
  /**
77
+ * The udp-fluent-badge palette colour nearest a configured hex, by hue — the
78
+ * badge takes palette names only. Greys and unreadable values are the neutral
79
+ * 'informative'.
80
+ */
81
+ const badgeColorForHex = (hex) => {
82
+ const match = /^#?([0-9a-f]{6})$/i.exec(String(hex ?? "").trim());
83
+ if (!match) return "informative";
84
+ const [r, g, b] = [
85
+ 0,
86
+ 2,
87
+ 4
88
+ ].map((start) => parseInt(match[1].slice(start, start + 2), 16) / 255);
89
+ const max = Math.max(r, g, b);
90
+ const chroma = max - Math.min(r, g, b);
91
+ if (chroma < .15) return "informative";
92
+ const hue = max === r ? ((g - b) / chroma + 6) % 6 * 60 : max === g ? ((b - r) / chroma + 2) * 60 : ((r - g) / chroma + 4) * 60;
93
+ if (hue < 15 || hue >= 330) return "danger";
94
+ if (hue < 40) return "severe";
95
+ if (hue < 70) return "warning";
96
+ if (hue < 170) return "success";
97
+ return "brand";
98
+ };
99
+ /**
80
100
  * Conditional adornment as a badge descriptor (icon-only ghost badge) for
81
- * UdpTree's `itemBadge`. Legacy rendered the adornment icon in its configured
82
- * hex color; udp-fluent-badge takes palette names only, so the hue is
83
- * approximated — acceptable under the fluent-only icon decision.
101
+ * UdpTree's `itemBadge`, in the palette colour nearest the configured hex
102
+ * (badgeColorForHex) — legacy rendered the exact hex.
84
103
  */
85
104
  const resolveTreeItemAdornmentBadge = (node) => {
86
105
  const props = node?.properties || {};
@@ -89,11 +108,11 @@ const resolveTreeItemAdornmentBadge = (node) => {
89
108
  if (!mapped) return null;
90
109
  return {
91
110
  appearance: "ghost",
92
- color: "informative",
111
+ color: badgeColorForHex(props.conditionalNodeAdornmentColor),
93
112
  startIconName: mapped
94
113
  };
95
114
  };
96
115
  //#endregion
97
- export { fallbackTreeIcon, resolveTreeItemAdornmentBadge, resolveTreeItemChipIcon };
116
+ export { fallbackTreeIcon, resolveTreeItemAdornmentBadge, resolveTreeRowIcon };
98
117
 
99
118
  //# sourceMappingURL=treeMenuVisuals.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"treeMenuVisuals.mjs","names":["resolveIconName","mapTreeIconName","fallbackTreeIcon","node","isGroupNode","children","length","properties","lazyLoad","resolveTreeItemIcon","props","name","type","fluentName","color","icon","hex","conditionalNodeIconName","conditionalNodeIconType","conditionalNodeIconFluentName","conditionalNodeIconColor","defaultIcon","mapped","undefined","resolveTreeItemChipIcon","size","chip","resolveTreeItemAdornmentBadge","conditionalNodeAdornmentName","conditionalNodeAdornmentType","conditionalNodeAdornmentFluentName","appearance","startIconName"],"sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js"],"sourcesContent":["/**\n * Icon + badge resolution for the UdpTree-based Inquiry tree menu.\n *\n * UdpTree renders row icons inside its shadow DOM as `udp-fluent-icon`, which\n * resolves stencil icon-registry names only. New-format node icons\n * (`type: 'fluent'`, Tree Builder decision 14) pass straight through. Legacy\n * MDL2-era names (the ~1800-entry fluentLibraryIcons registry) and unity SVGs\n * cannot render in the shadow, so they get a best-effort mapping onto the\n * stencil registry and otherwise the generic fallback icon (Jordan,\n * 2026-07-07: fluent-only with fallback).\n */\nimport { resolveIconName } from '../../../../icons/legacyIconNames';\n\n/** Kept under its tree-menu name for existing importers. */\nexport { resolveIconName as mapTreeIconName };\n\n/**\n * Fallback for unmapped legacy icon names: pick by what the node *is* so the\n * icon still carries meaning (a bare circle reads as a radio button —\n * Jordan, 2026-07-07). Groups read as folders, parents with children as\n * folders, leaf records as documents.\n */\nexport const fallbackTreeIcon = (node) => {\n if (node?.isGroupNode) return 'folder';\n if (node?.children?.length || node?.properties?.lazyLoad) return 'folder';\n return 'document';\n};\n\n/**\n * Effective icon descriptor for a display node — same precedence as the\n * legacy InquiryTreeMenu.renderTree (conditional override → default; group\n * nodes read properties.icon). Returns `{ name, color }` for UdpTree's\n * `itemIcon`, or null for icon-less rows.\n */\nexport const resolveTreeItemIcon = (node) => {\n const props = node?.properties || {};\n let name;\n let type;\n let fluentName;\n let color;\n\n if (node?.isGroupNode) {\n name = props.icon?.name;\n type = props.icon?.type;\n fluentName = props.icon?.fluentName;\n color = props.icon?.color?.hex;\n } else if (props.conditionalNodeIconName) {\n name = props.conditionalNodeIconName;\n type = props.conditionalNodeIconType;\n fluentName = props.conditionalNodeIconFluentName;\n color = props.conditionalNodeIconColor ?? props.defaultIcon?.color?.hex;\n } else {\n name = props.defaultIcon?.name;\n type = props.defaultIcon?.type;\n fluentName = props.defaultIcon?.fluentName;\n color = props.defaultIcon?.color?.hex;\n }\n\n // Icon-less nodes stay icon-less (legacy parity); only nodes whose\n // configured name can't map onto the registry get the typed fallback.\n if (!name) return null;\n const mapped =\n resolveIconName(name, type, fluentName) ?? fallbackTreeIcon(node);\n return { name: mapped, color: color || undefined };\n};\n\n/**\n * The row's icon as a chip descriptor for UdpTree's `itemIcon` — the Tree\n * Builder canvas chip treatment (icon in a soft rounded-square chip) carried\n * to the live Inquiry menu (Jordan, 2026-07-16). Every row gets one (typed\n * folder/document fallback), so rows are never blank, and the glyph keeps\n * its exact configured hex color.\n *\n * The caller picks the glyph size — 'xs' (16px) for the compact view, 'sm'\n * (20px) for the classic view — and the chip auto-sizes around it (24px and\n * 28px respectively).\n */\nexport const resolveTreeItemChipIcon = (node, size = 'xs') => {\n const icon = resolveTreeItemIcon(node);\n return {\n name: icon?.name ?? fallbackTreeIcon(node),\n color: icon?.color,\n chip: true,\n size\n };\n};\n\n/**\n * Conditional adornment as a badge descriptor (icon-only ghost badge) for\n * UdpTree's `itemBadge`. Legacy rendered the adornment icon in its configured\n * hex color; udp-fluent-badge takes palette names only, so the hue is\n * approximated — acceptable under the fluent-only icon decision.\n */\nexport const resolveTreeItemAdornmentBadge = (node) => {\n const props = node?.properties || {};\n if (!props.conditionalNodeAdornmentName) return null;\n const mapped = resolveIconName(\n props.conditionalNodeAdornmentName,\n props.conditionalNodeAdornmentType,\n props.conditionalNodeAdornmentFluentName\n );\n if (!mapped) return null;\n return { appearance: 'ghost', color: 'informative', startIconName: mapped };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAsBA,MAAaE,oBAAoBC,SAAS;AACxC,KAAIA,MAAMC,YAAa,QAAO;AAC9B,KAAID,MAAME,UAAUC,UAAUH,MAAMI,YAAYC,SAAU,QAAO;AACjE,QAAO;;;;;;;;AAST,MAAaC,uBAAuBN,SAAS;CAC3C,MAAMO,QAAQP,MAAMI,cAAc,EAAE;CACpC,IAAII;CACJ,IAAIC;CACJ,IAAIC;CACJ,IAAIC;AAEJ,KAAIX,MAAMC,aAAa;AACrBO,SAAOD,MAAMK,MAAMJ;AACnBC,SAAOF,MAAMK,MAAMH;AACnBC,eAAaH,MAAMK,MAAMF;AACzBC,UAAQJ,MAAMK,MAAMD,OAAOE;YAClBN,MAAMO,yBAAyB;AACxCN,SAAOD,MAAMO;AACbL,SAAOF,MAAMQ;AACbL,eAAaH,MAAMS;AACnBL,UAAQJ,MAAMU,4BAA4BV,MAAMW,aAAaP,OAAOE;QAC/D;AACLL,SAAOD,MAAMW,aAAaV;AAC1BC,SAAOF,MAAMW,aAAaT;AAC1BC,eAAaH,MAAMW,aAAaR;AAChCC,UAAQJ,MAAMW,aAAaP,OAAOE;;AAKpC,KAAI,CAACL,KAAM,QAAO;AAGlB,QAAO;EAAEA,MADPX,gBAAgBW,MAAMC,MAAMC,WAAW,IAAIX,iBAAiBC,KAAK;EAC5CW,OAAOA,SAASS,KAAAA;EAAW;;;;;;;;;;;;;AAcpD,MAAaC,2BAA2BrB,MAAMsB,OAAO,SAAS;CAC5D,MAAMV,OAAON,oBAAoBN,KAAK;AACtC,QAAO;EACLQ,MAAMI,MAAMJ,QAAQT,iBAAiBC,KAAK;EAC1CW,OAAOC,MAAMD;EACbY,MAAM;EACND;EACD;;;;;;;;AASH,MAAaE,iCAAiCxB,SAAS;CACrD,MAAMO,QAAQP,MAAMI,cAAc,EAAE;AACpC,KAAI,CAACG,MAAMkB,6BAA8B,QAAO;CAChD,MAAMN,SAAStB,gBACbU,MAAMkB,8BACNlB,MAAMmB,8BACNnB,MAAMoB,mCACP;AACD,KAAI,CAACR,OAAQ,QAAO;AACpB,QAAO;EAAES,YAAY;EAASjB,OAAO;EAAekB,eAAeV;EAAQ"}
1
+ {"version":3,"file":"treeMenuVisuals.mjs","names":["resolveIconName","rowChildState","mapTreeIconName","fallbackTreeIcon","node","isGroupNode","children","length","resolveTreeItemIcon","props","properties","name","type","fluentName","color","icon","hex","conditionalNodeIconName","conditionalNodeIconType","conditionalNodeIconFluentName","conditionalNodeIconColor","defaultIcon","mapped","undefined","resolveTreeRowIcon","size","badgeColorForHex","match","exec","String","trim","r","g","b","map","start","parseInt","slice","max","Math","chroma","min","hue","resolveTreeItemAdornmentBadge","conditionalNodeAdornmentName","conditionalNodeAdornmentType","conditionalNodeAdornmentFluentName","appearance","conditionalNodeAdornmentColor","startIconName"],"sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js"],"sourcesContent":["/**\n * Icon + badge resolution for the UdpTree-based Inquiry tree menu.\n *\n * UdpTree renders row icons inside its shadow DOM as `udp-fluent-icon`, which\n * resolves stencil icon-registry names only. New-format node icons\n * (`type: 'fluent'`, Tree Builder decision 14) pass straight through. Legacy\n * MDL2-era names (the ~1800-entry fluentLibraryIcons registry) and unity SVGs\n * cannot render in the shadow, so they get a best-effort mapping onto the\n * stencil registry and otherwise the generic fallback icon (Jordan,\n * 2026-07-07: fluent-only with fallback).\n */\nimport { resolveIconName } from '../../../../icons/legacyIconNames';\nimport { rowChildState } from '../../../../domain/inquiryTree/displayTree';\n\n/** Kept under its tree-menu name for existing importers. */\nexport { resolveIconName as mapTreeIconName };\n\n/**\n * Fallback for unmapped legacy icon names: pick by what the node *is* so the\n * icon still carries meaning (a bare circle reads as a radio button —\n * Jordan, 2026-07-07). Groups read as folders, parents with children as\n * folders, leaf records as documents.\n */\nexport const fallbackTreeIcon = (node) => {\n if (node?.isGroupNode) return 'folder';\n if (node?.children?.length || rowChildState(node) !== 'none') return 'folder';\n return 'document';\n};\n\n/**\n * Effective icon descriptor for a display node — same precedence as the\n * legacy InquiryTreeMenu.renderTree (conditional override → default; group\n * nodes read properties.icon). Returns `{ name, color }` for UdpTree's\n * `itemIcon`, or null for icon-less rows.\n */\nexport const resolveTreeItemIcon = (node) => {\n const props = node?.properties || {};\n let name;\n let type;\n let fluentName;\n let color;\n\n if (node?.isGroupNode) {\n name = props.icon?.name;\n type = props.icon?.type;\n fluentName = props.icon?.fluentName;\n color = props.icon?.color?.hex;\n } else if (props.conditionalNodeIconName) {\n name = props.conditionalNodeIconName;\n type = props.conditionalNodeIconType;\n fluentName = props.conditionalNodeIconFluentName;\n color = props.conditionalNodeIconColor ?? props.defaultIcon?.color?.hex;\n } else {\n name = props.defaultIcon?.name;\n type = props.defaultIcon?.type;\n fluentName = props.defaultIcon?.fluentName;\n color = props.defaultIcon?.color?.hex;\n }\n\n // Icon-less nodes stay icon-less (legacy parity); only nodes whose\n // configured name can't map onto the registry get the typed fallback.\n if (!name) return null;\n const mapped =\n resolveIconName(name, type, fluentName) ?? fallbackTreeIcon(node);\n return { name: mapped, color: color || undefined };\n};\n\n/**\n * The row's icon for UdpTree's `itemIcon`: the plain glyph, in its exact\n * configured hex color. Every row gets one (typed folder/document fallback), so\n * rows are never blank.\n *\n * The caller picks the glyph size — 'xs' (16px) for the compact view, 'sm'\n * (20px) for the classic view.\n */\nexport const resolveTreeRowIcon = (node, size = 'xs') => {\n const icon = resolveTreeItemIcon(node);\n return {\n name: icon?.name ?? fallbackTreeIcon(node),\n color: icon?.color,\n size\n };\n};\n\n/**\n * The udp-fluent-badge palette colour nearest a configured hex, by hue — the\n * badge takes palette names only. Greys and unreadable values are the neutral\n * 'informative'.\n */\nconst badgeColorForHex = (hex) => {\n const match = /^#?([0-9a-f]{6})$/i.exec(String(hex ?? '').trim());\n if (!match) return 'informative';\n const [r, g, b] = [0, 2, 4].map(\n (start) => parseInt(match[1].slice(start, start + 2), 16) / 255\n );\n const max = Math.max(r, g, b);\n const chroma = max - Math.min(r, g, b);\n if (chroma < 0.15) return 'informative';\n const hue =\n max === r\n ? (((g - b) / chroma + 6) % 6) * 60\n : max === g\n ? ((b - r) / chroma + 2) * 60\n : ((r - g) / chroma + 4) * 60;\n if (hue < 15 || hue >= 330) return 'danger';\n if (hue < 40) return 'severe';\n if (hue < 70) return 'warning';\n if (hue < 170) return 'success';\n return 'brand';\n};\n\n/**\n * Conditional adornment as a badge descriptor (icon-only ghost badge) for\n * UdpTree's `itemBadge`, in the palette colour nearest the configured hex\n * (badgeColorForHex) — legacy rendered the exact hex.\n */\nexport const resolveTreeItemAdornmentBadge = (node) => {\n const props = node?.properties || {};\n if (!props.conditionalNodeAdornmentName) return null;\n const mapped = resolveIconName(\n props.conditionalNodeAdornmentName,\n props.conditionalNodeAdornmentType,\n props.conditionalNodeAdornmentFluentName\n );\n if (!mapped) return null;\n return {\n appearance: 'ghost',\n color: badgeColorForHex(props.conditionalNodeAdornmentColor),\n startIconName: mapped\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuBA,MAAaG,oBAAoBC,SAAS;AACxC,KAAIA,MAAMC,YAAa,QAAO;AAC9B,KAAID,MAAME,UAAUC,UAAUN,cAAcG,KAAK,KAAK,OAAQ,QAAO;AACrE,QAAO;;;;;;;;AAST,MAAaI,uBAAuBJ,SAAS;CAC3C,MAAMK,QAA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C,GAAGC,EAAE;AACtC,KAAIO,SAAS,IAAM,QAAO;CAC1B,MAAME,MACJJ,QAAQP,MACDC,IAAIC,KAAKO,SAAS,KAAK,IAAK,KAC/BF,QAAQN,MACJC,IAAIF,KAAKS,SAAS,KAAK,OACvBT,IAAIC,KAAKQ,SAAS,KAAK;AACjC,KAAIE,MAAM,MAAMA,OAAO,IAAK,QAAO;AACnC,KAAIA,MAAM,GAAI,QAAO;AACrB,KAAIA,MAAM,GAAI,QAAO;AACrB,KAAIA,MAAM,IAAK,QAAO;AACtB,QAAO;;;;;;;AAQT,MAAaC,iCAAiCvC,SAAS;CACrD,MAAMK,QAAQL,MAAMM,cAAc,EAAE;AACpC,KAAI,CAACD,MAAMmC,6BAA8B,QAAO;CAChD,MAAMtB,SAAStB,gBACbS,MAAMmC,8BACNnC,MAAMoC,8BACNpC,MAAMqC,mCACP;AACD,KAAI,CAACxB,OAAQ,QAAO;AACpB,QAAO;EACLyB,YAAY;EACZjC,OAAOY,iBAAiBjB,MAAMuC,8BAA8B;EAC5DC,eAAe3B;EAChB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useAggregateBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"names":[],"mappings":"AAqDA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,oBA6D9B,CAAC"}
1
+ {"version":3,"file":"useAggregateBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"names":[],"mappings":"AA0CA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,oBA6D9B,CAAC"}
@@ -1,35 +1,24 @@
1
1
  import { useMemo } from 'react';
2
2
  import { useQueries } from '@tanstack/react-query';
3
3
  import { getThresholdStatus } from '../../../../UI/utilityDisplay/utilities/aggregateUtils';
4
+ import { queryParamsFromRecord } from '../../../../domain/inquiryTree/runtime';
4
5
  import { fetchAggregateThresholdValue, inquiryKeys } from '../../api/queries';
5
6
  import { dataOfQueries, severityBadge, useMenuQueryClient } from './useChildCountBadges';
6
7
  /** Values are live — matches useAggregateThresholdValue's staleTime. */
7
8
  const VALUE_STALE_MS = 30_000;
8
- /** Map node values onto threshold search parameters (legacy TreeUtilities
9
- * mapNodeObjValuesToSearchParameters :2790 — inlined so the menu carries no
10
- * TreeUtilities imports; identical semantics). */
11
- const mapNodeValuesToParams = (nodeObj, paramMappings) => {
12
- if (!paramMappings || !nodeObj)
13
- return {};
14
- const mappings = Object.assign({}, paramMappings);
15
- Object.keys(mappings).forEach((key) => {
16
- const nodeObjKey = mappings[key];
17
- if (nodeObjKey) {
18
- mappings[key] = nodeObj[nodeObjKey] || '';
19
- }
20
- });
21
- return mappings;
22
- };
23
9
  /** Stable cache key for a param map — same params, same request, one fetch. */
24
10
  const paramsKeyOf = (params) => JSON.stringify(Object.keys(params || {})
25
11
  .sort()
26
12
  .map((key) => [key, params[key]]));
27
- /** Definition + value → a badge descriptor, or null ("show nothing"). */
13
+ /** Definition + value → a badge descriptor, or null ("show nothing"). The
14
+ * threshold's name is the badge's tooltip — the bare number says nothing of
15
+ * what it counts. */
28
16
  const fetchBadge = async (client, { thresholdId, params }) => {
17
+ var _a;
29
18
  const result = await fetchAggregateThresholdValue(client, thresholdId, params).catch(() => null);
30
19
  if (!result || result.value === '')
31
20
  return null;
32
- return Object.assign({ content: result.value }, severityBadge(getThresholdStatus(result.threshold, result.value)));
21
+ return Object.assign({ content: result.value, title: ((_a = result.threshold) === null || _a === void 0 ? void 0 : _a.name) || undefined }, severityBadge(getThresholdStatus(result.threshold, result.value)));
33
22
  };
34
23
  /**
35
24
  * Fetches aggregate-threshold values for tree rows that configure one
@@ -54,7 +43,7 @@ export const useAggregateBadges = (items) => {
54
43
  })
55
44
  .map((item) => {
56
45
  const thresholdId = item.node.properties.aggregateThresholdId;
57
- const params = mapNodeValuesToParams(item.node.nodeObj, item.node.properties.aggregateThresholdParamMappings);
46
+ const params = queryParamsFromRecord(item.node.nodeObj, item.node.properties.aggregateThresholdParamMappings);
58
47
  return {
59
48
  id: item.id,
60
49
  thresholdId,
@@ -1 +1 @@
1
- {"version":3,"file":"useAggregateBadges.js","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAC5F,OAAO,EACL,4BAA4B,EAC5B,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EACb,aAAa,EACb,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,0EAAwE;AACxE,MAAM,cAAc,GAAG,MAAM,CAAC;AAE9B;;kDAEkD;AAClD,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,CAAC;IACxD,IAAI,CAAC,aAAa,IAAI,CAAC,OAAO;QAAE,OAAO,EAAE,CAAC;IAC1C,MAAM,QAAQ,qBAAQ,aAAa,CAAE,CAAC;IACtC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC;QACrC,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;QACjC,IAAI,UAAU,EAAE,CAAC;YACf,QAAQ,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QAC5C,CAAC;IAAA,CACF,CAAC,CAAC;IACH,OAAO,QAAQ,CAAC;AAAA,CACjB,CAAC;AAEF,iFAA+E;AAC/E,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,EAAE,CAC7B,IAAI,CAAC,SAAS,CACZ,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,CA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AU,CAAC,GAAG,CAAC,GAAG,QAAE,IAAI,CAAC,KAAK,CAAC,mCAAI,IAAI,CAAC,CAAC;QAAA,CAC1C,CAAC,CAAC;QACH,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;YAC1B,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,WAAW,KAAK,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC;YAC3E,IAAI,KAAK;gBAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;QAAA,CACtC,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAAA,CACf,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AAAA,CAC7B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { c } from "../../../../reactCompilerRuntime.mjs";
2
2
  import { getThresholdStatus } from "../../../../UI/utilityDisplay/utilities/aggregateUtils.mjs";
3
+ import { queryParamsFromRecord } from "../../../../domain/inquiryTree/runtime.mjs";
3
4
  import { fetchAggregateThresholdValue, inquiryKeys } from "../../api/queries.mjs";
4
5
  import { dataOfQueries, severityBadge, useMenuQueryClient } from "./useChildCountBadges.mjs";
5
6
  import "react";
@@ -7,26 +8,17 @@ import { useQueries } from "@tanstack/react-query";
7
8
  //#region src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js
8
9
  /** Values are live — matches useAggregateThresholdValue's staleTime. */
9
10
  const VALUE_STALE_MS = 3e4;
10
- /** Map node values onto threshold search parameters (legacy TreeUtilities
11
- * mapNodeObjValuesToSearchParameters :2790 — inlined so the menu carries no
12
- * TreeUtilities imports; identical semantics). */
13
- const mapNodeValuesToParams = (nodeObj, paramMappings) => {
14
- if (!paramMappings || !nodeObj) return {};
15
- const mappings = { ...paramMappings };
16
- Object.keys(mappings).forEach((key) => {
17
- const nodeObjKey = mappings[key];
18
- if (nodeObjKey) mappings[key] = nodeObj[nodeObjKey] || "";
19
- });
20
- return mappings;
21
- };
22
11
  /** Stable cache key for a param map — same params, same request, one fetch. */
23
12
  const paramsKeyOf = (params) => JSON.stringify(Object.keys(params || {}).sort().map((key) => [key, params[key]]));
24
- /** Definition + value → a badge descriptor, or null ("show nothing"). */
13
+ /** Definition + value → a badge descriptor, or null ("show nothing"). The
14
+ * threshold's name is the badge's tooltip — the bare number says nothing of
15
+ * what it counts. */
25
16
  const fetchBadge = async (client, { thresholdId, params }) => {
26
17
  const result = await fetchAggregateThresholdValue(client, thresholdId, params).catch(() => null);
27
18
  if (!result || result.value === "") return null;
28
19
  return {
29
20
  content: result.value,
21
+ title: result.threshold?.name || void 0,
30
22
  ...severityBadge(getThresholdStatus(result.threshold, result.value))
31
23
  };
32
24
  };
@@ -109,7 +101,7 @@ function _temp(item) {
109
101
  }
110
102
  function _temp2(item_0) {
111
103
  const thresholdId = item_0.node.properties.aggregateThresholdId;
112
- const params = mapNodeValuesToParams(item_0.node.nodeObj, item_0.node.properties.aggregateThresholdParamMappings);
104
+ const params = queryParamsFromRecord(item_0.node.nodeObj, item_0.node.properties.aggregateThresholdParamMappings);
113
105
  return {
114
106
  id: item_0.id,
115
107
  thresholdId,
@@ -1 +1 @@
1
- {"version":3,"file":"useAggregateBadges.mjs","names":["useMemo","useQueries","getThresholdStatus","fetchAggregateThresholdValue","inquiryKeys","dataOfQueries","severityBadge","useMenuQueryClient","VALUE_STALE_MS","mapNodeValuesToParams","nodeObj","paramMappings","mappings","Object","keys","forEach","key","nodeObjKey","paramsKeyOf","params","JSON","stringify","sort","map","fetchBadge","client","thresholdId","result","catch","value","content","threshold","useAggregateBadges","items","$","_c","t0","filter","_temp","_temp2","targets","t1","byKey","Map","target","set","paramsKey","Array","from","entries","unique","t2","queries","t3","target_0","queryKey","aggregateBadge","queryFn","staleTime","retry","networkMode","combine","data","badges","badgeByKey","index","target_1","badge","get","id","item","synthetic","node","properties","aggregateThresholdId","item_0","aggregateThresholdParamMappings"],"sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"sourcesContent":["import { useMemo } from 'react';\nimport { useQueries } from '@tanstack/react-query';\nimport { getThresholdStatus } from '../../../../UI/utilityDisplay/utilities/aggregateUtils';\nimport {\n fetchAggregateThresholdValue,\n inquiryKeys\n} from '../../api/queries';\nimport {\n dataOfQueries,\n severityBadge,\n useMenuQueryClient\n} from './useChildCountBadges';\n\n/** Values are live — matches useAggregateThresholdValue's staleTime. */\nconst VALUE_STALE_MS = 30_000;\n\n/** Map node values onto threshold search parameters (legacy TreeUtilities\n * mapNodeObjValuesToSearchParameters :2790 — inlined so the menu carries no\n * TreeUtilities imports; identical semantics). */\nconst mapNodeValuesToParams = (nodeObj, paramMappings) => {\n if (!paramMappings || !nodeObj) return {};\n const mappings = { ...paramMappings };\n Object.keys(mappings).forEach((key) => {\n const nodeObjKey = mappings[key];\n if (nodeObjKey) {\n mappings[key] = nodeObj[nodeObjKey] || '';\n }\n });\n return mappings;\n};\n\n/** Stable cache key for a param map — same params, same request, one fetch. */\nconst paramsKeyOf = (params) =>\n JSON.stringify(\n Object.keys(params || {})\n .sort()\n .map((key) => [key, params[key]])\n );\n\n/** Definition + value → a badge descriptor, or null (\"show nothing\"). */\nconst fetchBadge = async (client, { thresholdId, params }) => {\n const result = await fetchAggregateThresholdValue(\n client,\n thresholdId,\n params\n ).catch(() => null);\n if (!result || result.value === '') return null;\n return {\n content: result.value,\n ...severityBadge(getThresholdStatus(result.threshold, result.value))\n };\n};\n\n/**\n * Fetches aggregate-threshold values for tree rows that configure one\n * (legacy per-row AggregateChip, which self-fetched inside the MUI tree —\n * UdpTree rows render in shadow DOM, so the data must arrive as an\n * `itemBadge` descriptor instead).\n *\n * Returns `{ [nodeId]: { content, color, appearance } }`. One TanStack query\n * per (threshold × params) — remounts, sibling menus and rows sharing a\n * threshold all answer from one cache entry, and a resolved badge stays\n * rendered while a stale one revalidates (no blink). The threshold definition\n * is its own config-cached query (`fetchAggregateThresholdValue`), shared with\n * the v2 node view when a provider is present; legacy\n * hosts without a QueryClientProvider run on the menu's fallback client.\n */\nexport const useAggregateBadges = (items) => {\n const client = useMenuQueryClient();\n\n const targets = useMemo(\n () =>\n items\n .filter(\n (item) =>\n !item.synthetic && item.node?.properties?.aggregateThresholdId\n )\n .map((item) => {\n const thresholdId = item.node.properties.aggregateThresholdId;\n const params = mapNodeValuesToParams(\n item.node.nodeObj,\n item.node.properties.aggregateThresholdParamMappings\n );\n return {\n id: item.id,\n thresholdId,\n params,\n paramsKey: paramsKeyOf(params)\n };\n }),\n [items]\n );\n\n const unique = useMemo(() => {\n const byKey = new Map();\n targets.forEach((target) => {\n byKey.set(`${target.thresholdId}::${target.paramsKey}`, target);\n });\n return Array.from(byKey.entries());\n }, [targets]);\n\n const data = useQueries(\n {\n queries: unique.map(([, target]) => ({\n queryKey: inquiryKeys.aggregateBadge(target.thresholdId, target.paramsKey),\n queryFn: () => fetchBadge(client, target),\n staleTime: VALUE_STALE_MS,\n // Badges are decoration: one shot, never parked behind focus/online gates.\n retry: false,\n networkMode: 'always'\n })),\n combine: dataOfQueries\n },\n client\n );\n\n return useMemo(() => {\n const badgeByKey = new Map();\n unique.forEach(([key], index) => {\n badgeByKey.set(key, data[index] ?? null);\n });\n const badges = {};\n targets.forEach((target) => {\n const badge = badgeByKey.get(`${target.thresholdId}::${target.paramsKey}`);\n if (badge) badges[target.id] = badge;\n });\n return badges;\n }, [targets, unique, data]);\n};\n"],"mappings":";;;;;;;;AAcA,MAAMQ,iBAAiB;;;;AAKvB,MAAMC,yBAAyBC,SAASC,kBAAkB;AACxD,KAAI,CAACA,iBAAiB,CAACD,QAAS,QAAO,EAAE;CACzC,MAAME,WAAW,EAAE,GAAGD,eAAe;AACrCE,QAAOC,KAAKF,SAAS,CAACG,SAASC,QAAQ;EACrC,MAAMC,aAAaL,SAASI;AAC5B,MAAIC,WACFL,UAASI,OAAON,QAAQO,eAAe;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getThresholdStatus","queryParamsFromRecord","fetchAggregateThresholdValue","inquiryKeys","dataOfQueries","severityBadge","useMenuQueryClient","VALUE_STALE_MS","paramsKeyOf","params","JSON","stringify","Object","keys","sort","map","key","fetchBadge","client","thresholdId","result","catch","value","content","title","threshold","name","undefined","useAggregateBadges","items","$","_c","t0","filter","_temp","_temp2","targets","t1","byKey","Map","forEach","target","set","paramsKey","Array","from","entries","unique","t2","queries","t3","target_0","queryKey","aggregateBadge","queryFn","staleTime","retry","networkMode","combine","data","badges","badgeByKey","index","target_1","badge","get","id","item","synthetic","node","properties","aggregateThresholdId","item_0","nodeObj","aggregateThresholdParamMappings"],"sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js"],"sourcesContent":["import { useMemo } from 'react';\nimport { useQueries } from '@tanstack/react-query';\nimport { getThresholdStatus } from '../../../../UI/utilityDisplay/utilities/aggregateUtils';\nimport { queryParamsFromRecord } from '../../../../domain/inquiryTree/runtime';\nimport {\n fetchAggregateThresholdValue,\n inquiryKeys\n} from '../../api/queries';\nimport {\n dataOfQueries,\n severityBadge,\n useMenuQueryClient\n} from './useChildCountBadges';\n\n/** Values are live — matches useAggregateThresholdValue's staleTime. */\nconst VALUE_STALE_MS = 30_000;\n\n/** Stable cache key for a param map — same params, same request, one fetch. */\nconst paramsKeyOf = (params) =>\n JSON.stringify(\n Object.keys(params || {})\n .sort()\n .map((key) => [key, params[key]])\n );\n\n/** Definition + value → a badge descriptor, or null (\"show nothing\"). The\n * threshold's name is the badge's tooltip — the bare number says nothing of\n * what it counts. */\nconst fetchBadge = async (client, { thresholdId, params }) => {\n const result = await fetchAggregateThresholdValue(\n client,\n thresholdId,\n params\n ).catch(() => null);\n if (!result || result.value === '') return null;\n return {\n content: result.value,\n title: result.threshold?.name || undefined,\n ...severityBadge(getThresholdStatus(result.threshold, result.value))\n };\n};\n\n/**\n * Fetches aggregate-threshold values for tree rows that configure one\n * (legacy per-row AggregateChip, which self-fetched inside the MUI tree —\n * UdpTree rows render in shadow DOM, so the data must arrive as an\n * `itemBadge` descriptor instead).\n *\n * Returns `{ [nodeId]: { content, color, appearance } }`. One TanStack query\n * per (threshold × params) — remounts, sibling menus and rows sharing a\n * threshold all answer from one cache entry, and a resolved badge stays\n * rendered while a stale one revalidates (no blink). The threshold definition\n * is its own config-cached query (`fetchAggregateThresholdValue`), shared with\n * the v2 node view when a provider is present; legacy\n * hosts without a QueryClientProvider run on the menu's fallback client.\n */\nexport const useAggregateBadges = (items) => {\n const client = useMenuQueryClient();\n\n const targets = useMemo(\n () =>\n items\n .filter(\n (item) =>\n !item.synthetic && item.node?.properties?.aggregateThresholdId\n )\n .map((item) => {\n const thresholdId = item.node.properties.aggregateThresholdId;\n const params = queryParamsFromRecord(\n item.node.nodeObj,\n item.node.properties.aggregateThresholdParamMappings\n );\n return {\n id: item.id,\n thresholdId,\n params,\n paramsKey: paramsKeyOf(params)\n };\n }),\n [items]\n );\n\n const unique = useMemo(() => {\n const byKey = new Map();\n targets.forEach((target) => {\n byKey.set(`${target.thresholdId}::${target.paramsKey}`, target);\n });\n return Array.from(byKey.entries());\n }, [targets]);\n\n const data = useQueries(\n {\n queries: unique.map(([, target]) => ({\n queryKey: inquiryKeys.aggregateBadge(target.thresholdId, target.paramsKey),\n queryFn: () => fetchBadge(client, target),\n staleTime: VALUE_STALE_MS,\n // Badges are decoration: one shot, never parked behind focus/online gates.\n retry: false,\n networkMode: 'always'\n })),\n combine: dataOfQueries\n },\n client\n );\n\n return useMemo(() => {\n const badgeByKey = new Map();\n unique.forEach(([key], index) => {\n badgeByKey.set(key, data[index] ?? null);\n });\n const badges = {};\n targets.forEach((target) => {\n const badge = badgeByKey.get(`${target.thresholdId}::${target.paramsKey}`);\n if (badge) badges[target.id] = badge;\n });\n return badges;\n }, [targets, unique, data]);\n};\n"],"mappings":";;;;;;;;;AAeA,MAAMS,iBAAiB;;AAGvB,MAAMC,eAAeC,WACnBC,KAAKC,UACHC,OAAOC,KAAKJ,UAAU,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severity's badge look: tinted when banded, ghost when not.
14
- * @returns {{ color: 'success' | 'danger' | 'warning' | 'informative', appearance: 'tint' | 'ghost' }}
13
+ * A threshold severity's badge look: the tinted chip every row number wears, in
14
+ * the band's color — the quiet informative one when no band matched.
15
+ * @returns {{ color: 'success' | 'danger' | 'warning' | 'informative', appearance: 'tint' }}
15
16
  */
16
17
  export declare const severityBadge: (severity: any) => {
17
18
  color: "danger" | "informative" | "success" | "warning";
18
- appearance: "ghost" | "tint";
19
+ appearance: "tint";
19
20
  };
20
21
  declare const useMenuQueryClient: () => any;
21
22
  /** Each query's data only — structurally shared, so it is stable across
@@ -26,23 +27,26 @@ export declare const useChildCountBadges: (items: any) => {
26
27
  zeroIds: any[];
27
28
  };
28
29
  /**
29
- * Configured count chips (`properties.countChip`): each row shows how many
30
- * child records it has for ONE child binding, optionally narrowed by an AND of
31
- * conditions. Shares query keys with the implicit child counts above, so a
32
- * chip with no conditions is answered by the aggregate the chevron already
33
- * fetched — no extra request. A filtered chip adds one aggregate per
34
- * (method × key field × filter hash) for the whole page of rows.
30
+ * Configured counts (`countChipsOf(properties)`): each row shows, per count,
31
+ * how many child records it has for that count's child binding, optionally
32
+ * narrowed by an AND of conditions. Shares query keys with the implicit child
33
+ * counts above, so a count with no conditions is answered by the aggregate the
34
+ * chevron already fetched — no extra request. A filtered count adds one
35
+ * aggregate per (method × key field × filter hash) for the whole page of rows,
36
+ * so two counts cost at most two requests, never one per row.
35
37
  *
36
- * Returns `{ [itemId]: { content, color, appearance } }`; a row stays chip-less
37
- * until its count resolves, and a resolved zero renders as "0".
38
+ * Returns `{ [itemId]: Array<{ content, title, color, appearance }> }` in the
39
+ * level's count order; a count stays off the row until it resolves, and a
40
+ * resolved zero renders as "0". The counted level's name is the badge's
41
+ * tooltip — with several counts on a row the bare numbers say nothing of what
42
+ * each one counts.
38
43
  *
39
44
  * The child search is derived HERE rather than at display-tree build time,
40
- * because rows reach this menu from four different producers (the domain
41
- * preloaded/eager builders, the legacy lazy-paging fetcher, search-loaded
42
- * records, group synthesis) and only the lazy ones carry descriptors. Deriving
45
+ * because only rows whose child levels load lazily carry descriptors. Deriving
43
46
  * per render also means late-arriving catalog metadata simply re-derives —
44
- * there is no build the chip can miss.
47
+ * there is no build a count can miss. `findLevel` is the menu's config-level
48
+ * lookup by a row's `configNodeId`.
45
49
  */
46
- export declare const useCountChipBadges: (items: any, { treeStructureArr, catalogObjects, promotedEntities }?: {}) => {};
50
+ export declare const useCountChipBadges: (items: any, { findLevel, catalogObjects, promotedEntities }?: {}) => {};
47
51
  export { useMenuQueryClient };
48
52
  //# sourceMappingURL=useChildCountBadges.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useChildCountBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa;;;CAGxB,CAAC;AAkJH,QAAA,MAAM,kBAAkB,WAKvB,CAAC;AA2BF;6CAC6C;AAC7C,eAAO,MAAM,aAAa,uBAAoD,CAAC;AA0B/E,eAAO,MAAM,mBAAmB;;;CA4D/B,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kBAAkB,iFAyF9B,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"useChildCountBadges.d.ts","sourceRoot":"","sources":["../../../../../src/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;CAGxB,CAAC;AAkJH,QAAA,MAAM,kBAAkB,WAKvB,CAAC;AA2BF;6CAC6C;AAC7C,eAAO,MAAM,aAAa,uBAAoD,CAAC;AA0B/E,eAAO,MAAM,mBAAmB;;;CA6D/B,CAAC;AAQF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,kBAAkB,0EAwF9B,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}