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
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Inquiry v2 search — pure model (no React, no HTTP, no .js helpers), so it
3
3
  * runs under the node:test domain harness (`pnpm test:domain`). This is the
4
- * search consumer's brain: it derives what is searchable from a detailed tree,
5
- * stamps the quick-search text into the node's filter templates, parses the
6
- * Data Builder query's own filters/columns off the apiMethodInstance, orders
7
- * the result columns, decides whether a quick search is even worth firing, and
8
- * maps the root node's searchConfiguration into the shared
9
- * UdpAdvancedSearchBuilder's catalog schema.
4
+ * search consumer's brain: it derives what is searchable from a tree and its
5
+ * linked trees, stamps the quick-search text into the node's filter templates,
6
+ * parses the Data Builder query's own filters/columns off the
7
+ * apiMethodInstance, orders the result columns, decides whether a quick search
8
+ * is even worth firing, and maps the root node's searchConfiguration into the
9
+ * shared UdpAdvancedSearchBuilder's catalog schema.
10
10
  *
11
11
  * The actual request assembly (composeSearchFilters + getSearchObject) and the
12
12
  * fetch live in the hook — those pull in the shared .js composer and the
@@ -21,9 +21,13 @@
21
21
  * api/instanceBodyModel — which this file simply calls per entity.
22
22
  */
23
23
  import { ApiMethodInstanceWire, InstanceBodyFilters, QueryFilterGroup, SearchFilterElement } from '../api/instanceBodyModel';
24
+ import type { CatalogObject } from '../../../domain/inquiryTree/legalChildren';
25
+ import type { LazyFilterElement } from '../../../domain/inquiryTree/lazyLoad';
24
26
  import type { DisplayNode } from '../../../domain/inquiryTree/displayTree';
25
- import type { SearchConfigEntry } from '../../../domain/inquiryTree/types';
27
+ import type { InquiryTree, SearchConfigEntry, TreeNode } from '../../../domain/inquiryTree/types';
26
28
  export type { ApiMethodInstanceWire, InstanceBodyFilters, QueryFilterGroup, QueryOrderElement, SearchFilterElement } from '../api/instanceBodyModel';
29
+ /** The trees a tree's levels link to, by the levels' `associatedTreeId`. */
30
+ export type LinkedTrees = Readonly<Record<string, InquiryTree>>;
27
31
  /* ----------------------------------------------------------------- wire types */
28
32
  /** A column off the query's catalogModification (the visible result columns). */
29
33
  export interface QueryColumn {
@@ -38,18 +42,28 @@ export interface QueryColumn {
38
42
  };
39
43
  [key: string]: unknown;
40
44
  }
41
- /** The subset of a detailed inquiry tree the search derivation needs. */
42
- export interface SearchTreeWire {
43
- treeStructure?: Array<Record<string, unknown>>;
44
- apiMethodInstance?: ApiMethodInstanceWire;
45
- [key: string]: unknown;
46
- }
47
45
  /** A derived, ready-to-search entity (root always; primary-search children). */
48
46
  export interface SearchableEntity {
49
47
  /** Stable identity for keys/selection. */
50
48
  key: string;
49
+ /** Display text for a page of this entity's results (lookups, linked records' labels). */
50
+ stampRows?: (rows: Array<Record<string, unknown>>,
51
+ /** The response's own lookup config (api/queries LookupsMap). */
52
+ lookupsMap?: Record<string, unknown> | null) => Promise<Array<Record<string, unknown>>>;
51
53
  /** catalogReturnObject — the entity the results belong to. */
52
54
  entityName: string;
55
+ /**
56
+ * A many-to-many level's joining view (`joiningEntityName`) and the level
57
+ * entity's property that references it (`joiningEntityCatalogObjectKey`).
58
+ * Rows read through the view carry the VIEW's businessObjectKey, not the
59
+ * level entity's. Absent on every other level.
60
+ */
61
+ joiningView?: {
62
+ entityName: string;
63
+ associationKey: string;
64
+ };
65
+ /** The level's configured identifier map, whose keys its links are written in. */
66
+ associatedTreePrimaryKeyMap?: Record<string, string> | null;
53
67
  /** Group-header label for the results section (often plural: "Resources"). */
54
68
  displayName: string;
55
69
  /**
@@ -60,8 +74,6 @@ export interface SearchableEntity {
60
74
  */
61
75
  entityNoun: string;
62
76
  apiMethodId: string;
63
- /** For the single-result auto-load preference (matches the tree's own query). */
64
- apiMethodInstanceId: string;
65
77
  /** Tree filter templates (unstamped) — quick search stamps the text in. */
66
78
  quickSearchTemplates: SearchFilterElement[];
67
79
  /**
@@ -80,7 +92,10 @@ export interface SearchableEntity {
80
92
  columnsByField: ColumnTypeIndex;
81
93
  /** Root-only advanced-search configuration (null for associated entities). */
82
94
  searchConfiguration: SearchConfigEntry[] | null;
83
- /** The tree node config a clicked result is built into (buildDisplayNodeForRecord). */
95
+ /**
96
+ * The tree level a loaded result is composed against — NESTED, so the record
97
+ * arrives with its child levels (an associated entity's are its own tree's).
98
+ */
84
99
  rootNode: DisplayNode;
85
100
  isRoot: boolean;
86
101
  }
@@ -92,8 +107,6 @@ export interface ResultColumn {
92
107
  export type ColumnTypeIndex = Map<string, {
93
108
  type?: string | null;
94
109
  }>;
95
- /** Last dotted segment: 'A.B.Models.Actor' → 'Actor'. */
96
- export declare const simpleEntityName: (entityName: string) => string;
97
110
  /**
98
111
  * The search API's field-name casing rule: catalog/config names are camelCase,
99
112
  * filter elements are Pascal-cased. Exported because the copilot builds filter
@@ -241,6 +254,18 @@ export declare const mapAdvancedSearch: (detail: AdvancedSearchWire) => {
241
254
  /* --------------------------------------------------- searchable-set derivation */
242
255
  /** A scalar as text — strings and numbers only; anything else is blank. */
243
256
  export declare const asString: (value: unknown) => string;
257
+ /**
258
+ * A tree's nested root — its flat nodes composed into the display seed the
259
+ * composer and the wave planner walk, so a record loaded at it carries its own
260
+ * child levels.
261
+ */
262
+ export declare const nestedRootOf: (nodes: readonly TreeNode[]) => DisplayNode;
263
+ /**
264
+ * What the tree is called on screen: the root level's `inquiryTitle` (the Tree
265
+ * Builder's "Page title" — v1 reads it off the top node too), else the tree's
266
+ * own name, else blank.
267
+ */
268
+ export declare const treeTitleOf: (tree: InquiryTree) => string;
244
269
  /**
245
270
  * The catalog entity as a singular noun, straight off `catalogReturnObject`
246
271
  * ("Univerus.…​.Models.Resource" → "Resource"). The config node's own name is
@@ -259,12 +284,94 @@ export declare const entityNounOf: (entityName: string) => string;
259
284
  export declare const friendlyEntityName: (name: unknown, entityName: string) => string;
260
285
  /**
261
286
  * The searchable set: the root node's entity ALWAYS (tree's own
262
- * apiMethodInstance), plus every child node with
263
- * `properties.associatedInquiryTree && properties.isPrimarySearch` (that
264
- * associated tree's apiMethodInstance + root node). Reproduces
265
- * InquiryContainer.jsx `searchItems` exactly.
287
+ * apiMethodInstance), plus every child node with `properties.isPrimarySearch`
288
+ * whose `associatedTreeId` names a tree in `linkedTrees` (that tree's
289
+ * apiMethodInstance + root node). Reproduces InquiryContainer.jsx
290
+ * `searchItems`.
291
+ */
292
+ export declare const deriveSearchableEntities: (tree: InquiryTree, linkedTrees: Readonly<Record<string, InquiryTree>>, paramValues?: Record<string, string>) => SearchableEntity[];
293
+ /* ------------------------------------------------------ ?node deep link rule */
294
+ /** The searchable level a key or entity name opens at. */
295
+ export interface KeyLevel {
296
+ /** The level — null when no level, or several, read the key's entity. */
297
+ entity: SearchableEntity | null;
298
+ /** Several levels read the key's joining view, so it names no one level. */
299
+ ambiguous: boolean;
300
+ }
301
+ /**
302
+ * Which searchable level a `businessObjectKey` — or a bare entity name — opens
303
+ * at. The key's prefix is the record's fully qualified class name: the level
304
+ * whose own entity it is wins (an exact match over a simple-name one, v1's
305
+ * lookup rule); else the ONE level whose joining view it is. One reader for
306
+ * every door that arrives with a key or name: the `?node` deep link, a
307
+ * widget's loadInquiryNode and the recently-loaded history.
308
+ */
309
+ export declare const levelForBusinessObjectKey: (entities: SearchableEntity[], businessObjectKey: string) => KeyLevel;
310
+ /** The record a `?node` + `?nodeSearch` deep link names. */
311
+ export interface DeepLinkTarget extends KeyLevel {
312
+ /** Its `=` filters — empty until the catalog is in hand, or when unresolved. */
313
+ filterElements: LazyFilterElement[];
314
+ }
315
+ /**
316
+ * Resolve a deep link: `?node` is the row's businessObjectKey and `?nodeSearch`
317
+ * the comma-joined values of its level's search identifiers
318
+ * (getLevelSearchIdentifiers) — what every writer (v1, earlier builds, this one)
319
+ * puts there.
320
+ * - The level is the one whose own entity is the key's entity; else the ONE
321
+ * level whose joining view it is (several → ambiguous).
322
+ * - The filters are the level's identifiers paired with `?nodeSearch`, blank or
323
+ * missing values dropped (a row read through a joining view can lack one).
324
+ * - A joining-view key also ANDs the joined values it carries that are not
325
+ * already identifiers — extra precision, never a reason to reject.
326
+ * No filter left leaves the link unresolved. Whether the filters name exactly
327
+ * one record is the fetch's call (rowForIdentifierSet).
328
+ */
329
+ export declare const resolveDeepLink: (entities: SearchableEntity[], catalogObjects: CatalogObject[], { businessObjectKey, nodeSearch }: {
330
+ businessObjectKey: string;
331
+ nodeSearch: string;
332
+ }) => DeepLinkTarget;
333
+ /** An identifier value as comparable text; anything non-scalar is blank. */
334
+ export declare const asText: (value: unknown) => string;
335
+ /**
336
+ * Whether an identifier filter carries a value. A row read through a joining
337
+ * view can lack one, and `Field = ''` matches nothing, so every door that
338
+ * names a record by identifiers (a link, a widget, the history) drops the
339
+ * blank ones; whether what is left names exactly one record is the fetch's call.
340
+ */
341
+ export declare const hasIdentifierValue: (filter: {
342
+ searchValue?: unknown;
343
+ }) => boolean;
344
+ type Row = Record<string, unknown>;
345
+ /**
346
+ * The row an identifier search answers for one identifier set: the ONE fetched
347
+ * row carrying every value in the set. A lone set's lone row is its answer even
348
+ * when its columns are named differently. An empty set (nothing was searched),
349
+ * no match, or several matches is no answer — never the first of many.
350
+ */
351
+ export declare const rowForIdentifierSet: (rows: Row[], set: Row[], lone: boolean) => Row;
352
+ /**
353
+ * Each set's row from ONE fetch of the searched sets OR'd, asking for one row
354
+ * more than there are sets (fetchRecordsByIdentifierSets). A short page holds
355
+ * every match, so each set's answer is rowForIdentifierSet's. A full page may
356
+ * have cut matches off, so only a set with several matches on it is decided
357
+ * (null); the rest are `undefined` — unproven, to be fetched alone.
358
+ */
359
+ export declare const rowsForIdentifierSets: (rows: Row[], sets: Row[][]) => Row[];
360
+ /**
361
+ * Each identifier set's row — null when none, or several, match. One OR'd
362
+ * `fetchRows` of every set, then one more per set a full page left unproven,
363
+ * fetched alone: a lone set's page always decides it, so a load costs at most
364
+ * one request plus one per set.
365
+ */
366
+ export declare const resolveIdentifierSets: (fetchRows: (sets: Row[][]) => Promise<Row[]>, sets: Row[][]) => Promise<Row[]>;
367
+ /**
368
+ * A record's refresh, from a lone identifier fetch (two rows asked for): its
369
+ * one row, or — when several match — the one that is still this record (same
370
+ * businessObjectKey). `null` when nothing matches (the record is gone);
371
+ * `undefined` when the identifiers no longer pick it out, which leaves the
372
+ * branch as it is.
266
373
  */
267
- export declare const deriveSearchableEntities: (tree: SearchTreeWire, paramValues?: Record<string, string>) => SearchableEntity[];
374
+ export declare const refreshedRow: (rows: Row[], businessObjectKey: unknown) => Row;
268
375
  /* ------------------------------------------------- ?searchValue arrival rule */
269
376
  /**
270
377
  * What the viewer does with a `?searchValue=` term it arrived with (v1's
@@ -1 +1 @@
1
- {"version":3,"file":"searchModel.d.ts","sourceRoot":"","sources":["../../../../src/inquiry/v2/search/searchModel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAKlC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAElC,kFAAkF;AAElF,iFAAiF;AACjF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,kBAAkB,CAAC,EAAE;QACnB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,yEAAyE;AACzE,MAAM,WAAW,cAAc;IAC7B,aAAa,CAAC,EAAE,KAAK,CAAC,MA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AC;AAYnC;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,iDAK/B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,uCAWjC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,iFAYjC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,kDAKxB,CAAC;AAEF,iFAAiF;AAEjF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE5D,eAAO,MAAM,wBAAwB;;IASnC,mEAAiE;;;;;;wBAelE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,yHAqBzB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Inquiry v2 search — pure model (no React, no HTTP, no .js helpers), so it
3
3
  * runs under the node:test domain harness (`pnpm test:domain`). This is the
4
- * search consumer's brain: it derives what is searchable from a detailed tree,
5
- * stamps the quick-search text into the node's filter templates, parses the
6
- * Data Builder query's own filters/columns off the apiMethodInstance, orders
7
- * the result columns, decides whether a quick search is even worth firing, and
8
- * maps the root node's searchConfiguration into the shared
9
- * UdpAdvancedSearchBuilder's catalog schema.
4
+ * search consumer's brain: it derives what is searchable from a tree and its
5
+ * linked trees, stamps the quick-search text into the node's filter templates,
6
+ * parses the Data Builder query's own filters/columns off the
7
+ * apiMethodInstance, orders the result columns, decides whether a quick search
8
+ * is even worth firing, and maps the root node's searchConfiguration into the
9
+ * shared UdpAdvancedSearchBuilder's catalog schema.
10
10
  *
11
11
  * The actual request assembly (composeSearchFilters + getSearchObject) and the
12
12
  * fetch live in the hook — those pull in the shared .js composer and the
@@ -22,13 +22,15 @@
22
22
  */
23
23
  import { resolveInstanceBodyFilters } from '../api/instanceBodyModel';
24
24
  import { LogicalSearchOperatorEnums } from '../../../enums/unitySystemEnums';
25
- import { getSanitizedName } from '../../../utilities/entities/entityUtilities';
25
+ import { findCatalogObject, getSanitizedName, sameEntityName } from '../../../domain/inquiryTree/legalChildren';
26
26
  import { toUpperFirstChar } from '../../../utilities/input/StringUtilities';
27
- import { resolveDisplayName } from '../../../domain/inquiryTree/runtime';
27
+ import { getLevelSearchIdentifiers, resolveDisplayName } from '../../../domain/inquiryTree/runtime';
28
+ import { buildRecordEntryFilterElements } from '../../../domain/inquiryTree/waveLoad';
29
+ import { makeDisplayTreeStructure } from '../../../domain/inquiryTree/displayTree';
30
+ import { getRoot } from '../../../domain/inquiryTree/view';
31
+ import { isEntityNode } from '../../../domain/inquiryTree/types';
28
32
  /* --------------------------------------------------------------- tiny helpers */
29
33
  const isNonEmptyString = (v) => typeof v === 'string' && v.trim().length > 0;
30
- /** Last dotted segment: 'A.B.Models.Actor' → 'Actor'. */
31
- export const simpleEntityName = (entityName) => getSanitizedName(entityName);
32
34
  /**
33
35
  * The search API's field-name casing rule: catalog/config names are camelCase,
34
36
  * filter elements are Pascal-cased. Exported because the copilot builds filter
@@ -329,9 +331,27 @@ export const mapAdvancedSearch = (detail) => {
329
331
  /* --------------------------------------------------- searchable-set derivation */
330
332
  /** A scalar as text — strings and numbers only; anything else is blank. */
331
333
  export const asString = (value) => typeof value === 'string' || typeof value === 'number' ? String(value) : '';
332
- const findWireRoot = (structure) => {
334
+ /**
335
+ * A tree's nested root — its flat nodes composed into the display seed the
336
+ * composer and the wave planner walk, so a record loaded at it carries its own
337
+ * child levels.
338
+ */
339
+ export const nestedRootOf = (nodes) => {
333
340
  var _a;
334
- return (_a = structure === null || structure === void 0 ? void 0 : structure.find((node) => !node.parentId)) !== null && _a !== void 0 ? _a : null;
341
+ if (!(nodes === null || nodes === void 0 ? void 0 : nodes.length))
342
+ return null;
343
+ const nested = makeDisplayTreeStructure(nodes);
344
+ return (_a = (Array.isArray(nested) ? nested[0] : nested)) !== null && _a !== void 0 ? _a : null;
345
+ };
346
+ /**
347
+ * What the tree is called on screen: the root level's `inquiryTitle` (the Tree
348
+ * Builder's "Page title" — v1 reads it off the top node too), else the tree's
349
+ * own name, else blank.
350
+ */
351
+ export const treeTitleOf = (tree) => {
352
+ const root = tree && getRoot(tree);
353
+ const title = root && isEntityNode(root) ? root.properties.inquiryTitle : '';
354
+ return asString(title).trim() || asString(tree === null || tree === void 0 ? void 0 : tree.name).trim();
335
355
  };
336
356
  /**
337
357
  * The catalog entity as a singular noun, straight off `catalogReturnObject`
@@ -339,7 +359,7 @@ const findWireRoot = (structure) => {
339
359
  * usually the plural set it shows ("Resources"), which breaks any sentence about
340
360
  * a single record — so prose uses this and group headers use `displayName`.
341
361
  */
342
- export const entityNounOf = (entityName) => humanizeFieldName(simpleEntityName(entityName));
362
+ export const entityNounOf = (entityName) => humanizeFieldName(getSanitizedName(entityName));
343
363
  /**
344
364
  * The entity's noun as a PERSON reads it. The config node's own name wins
345
365
  * ("Assets", "Open Works Requests"), but a name that is really the entity's
@@ -352,25 +372,32 @@ export const friendlyEntityName = (name, entityName) => {
352
372
  const raw = asString(name);
353
373
  if (raw && raw !== entityName && !raw.includes('.'))
354
374
  return raw;
355
- return humanizeFieldName(simpleEntityName(entityName));
375
+ return humanizeFieldName(getSanitizedName(entityName));
356
376
  };
357
377
  const makeEntity = (node, instance, treeRootForBuild, isRoot, paramValues) => {
358
378
  var _a;
359
- var _b, _c, _d;
360
- const props = (_b = node.properties) !== null && _b !== void 0 ? _b : {};
379
+ var _b, _c;
380
+ const props = node.properties;
361
381
  const entityName = asString(props.catalogReturnObject);
362
382
  const apiMethodId = asString(instance === null || instance === void 0 ? void 0 : instance.apiMethodId);
363
383
  if (!entityName || !apiMethodId)
364
384
  return null;
365
- const searchConfiguration = (_d = (_c = (_a = treeRootForBuild.properties) === null || _a === void 0 ? void 0 : _a.searchConfiguration) !== null && _c !== void 0 ? _c : props.searchConfiguration) !== null && _d !== void 0 ? _d : null;
385
+ const searchConfiguration = (_c = (_b = (_a = treeRootForBuild.properties) === null || _a === void 0 ? void 0 : _a['searchConfiguration']) !== null && _b !== void 0 ? _b : props.searchConfiguration) !== null && _c !== void 0 ? _c : null;
366
386
  const queryColumns = parseQueryColumns(instance);
387
+ const joiningEntityName = asString(props.joiningEntityName);
367
388
  return {
368
- key: `${asString(node.id) || entityName}`,
389
+ key: node.id || entityName,
369
390
  entityName,
391
+ joiningView: joiningEntityName
392
+ ? {
393
+ entityName: joiningEntityName,
394
+ associationKey: asString(props.joiningEntityCatalogObjectKey)
395
+ }
396
+ : undefined,
397
+ associatedTreePrimaryKeyMap: props.associatedTreePrimaryKeyMap,
370
398
  displayName: friendlyEntityName(props.name, entityName),
371
399
  entityNoun: entityNounOf(entityName),
372
400
  apiMethodId,
373
- apiMethodInstanceId: asString(instance === null || instance === void 0 ? void 0 : instance.apiMethodInstanceId),
374
401
  quickSearchTemplates: quickSearchTemplatesFor(searchConfiguration),
375
402
  instanceFilters: resolveInstanceBodyFilters(instance, paramValues),
376
403
  resultColumns: deriveResultColumns(queryColumns, searchConfiguration),
@@ -382,40 +409,214 @@ const makeEntity = (node, instance, treeRootForBuild, isRoot, paramValues) => {
382
409
  };
383
410
  /**
384
411
  * The searchable set: the root node's entity ALWAYS (tree's own
385
- * apiMethodInstance), plus every child node with
386
- * `properties.associatedInquiryTree && properties.isPrimarySearch` (that
387
- * associated tree's apiMethodInstance + root node). Reproduces
388
- * InquiryContainer.jsx `searchItems` exactly.
412
+ * apiMethodInstance), plus every child node with `properties.isPrimarySearch`
413
+ * whose `associatedTreeId` names a tree in `linkedTrees` (that tree's
414
+ * apiMethodInstance + root node). Reproduces InquiryContainer.jsx
415
+ * `searchItems`.
389
416
  */
390
417
  export const deriveSearchableEntities = (tree,
418
+ /** The levels' linked trees (useLinkedTrees); null: the root alone. */
419
+ linkedTrees,
391
420
  /**
392
421
  * Values the entities' saved `params.*` filters resolve against. Omit and
393
422
  * every placeholder drops (and is reported through `instanceFilters`).
394
423
  */
395
424
  paramValues) => {
396
- var _a, _b;
397
- const structure = tree === null || tree === void 0 ? void 0 : tree.treeStructure;
398
- if (!(structure === null || structure === void 0 ? void 0 : structure.length))
425
+ const ownRoot = nestedRootOf(tree === null || tree === void 0 ? void 0 : tree.nodes);
426
+ if (!tree || !ownRoot)
399
427
  return [];
400
428
  const entities = [];
401
- for (const node of structure) {
402
- const props = (_a = node.properties) !== null && _a !== void 0 ? _a : {};
429
+ for (const node of tree.nodes) {
430
+ if (!isEntityNode(node))
431
+ continue;
432
+ const props = node.properties;
403
433
  if (!node.parentId) {
404
- const entity = makeEntity(node, tree === null || tree === void 0 ? void 0 : tree.apiMethodInstance, node, true, paramValues);
434
+ const entity = makeEntity(node, tree.wrapper.apiMethodInstance, ownRoot, true, paramValues);
405
435
  if (entity)
406
436
  entities.push(entity);
407
437
  continue;
408
438
  }
409
- const associated = props.associatedInquiryTree;
410
- if (associated && props.isPrimarySearch) {
411
- const assocRoot = (_b = findWireRoot(associated.treeStructure)) !== null && _b !== void 0 ? _b : node;
412
- const entity = makeEntity(node, associated.apiMethodInstance, assocRoot, false, paramValues);
413
- if (entity)
414
- entities.push(entity);
415
- }
439
+ const associated = props.isPrimarySearch && props.associatedTreeId
440
+ ? linkedTrees === null || linkedTrees === void 0 ? void 0 : linkedTrees[props.associatedTreeId]
441
+ : undefined;
442
+ if (!associated)
443
+ continue;
444
+ // The ASSOCIATED tree's nested root: a hit loads in shaped by that tree,
445
+ // with its own child levels — and with this level's
446
+ // associatedTreePrimaryKeyMap, so its links are written in the
447
+ // identifiers resolveDeepLink reads them in.
448
+ const treeRoot = nestedRootOf(associated.nodes);
449
+ if (!treeRoot)
450
+ continue;
451
+ const entity = makeEntity(node, associated.wrapper.apiMethodInstance, props.associatedTreePrimaryKeyMap
452
+ ? Object.assign(Object.assign({}, treeRoot), { properties: Object.assign(Object.assign({}, treeRoot.properties), { associatedTreePrimaryKeyMap: props.associatedTreePrimaryKeyMap }) }) : treeRoot, false, paramValues);
453
+ if (entity)
454
+ entities.push(entity);
416
455
  }
417
456
  return entities;
418
457
  };
458
+ /**
459
+ * Which searchable level a `businessObjectKey` — or a bare entity name — opens
460
+ * at. The key's prefix is the record's fully qualified class name: the level
461
+ * whose own entity it is wins (an exact match over a simple-name one, v1's
462
+ * lookup rule); else the ONE level whose joining view it is. One reader for
463
+ * every door that arrives with a key or name: the `?node` deep link, a
464
+ * widget's loadInquiryNode and the recently-loaded history.
465
+ */
466
+ export const levelForBusinessObjectKey = (entities, businessObjectKey) => {
467
+ var _a;
468
+ const fullyQualifiedName = businessObjectKey.split('|')[0];
469
+ const own = (_a = entities.find((entity) => entity.entityName === fullyQualifiedName)) !== null && _a !== void 0 ? _a : entities.find((entity) => sameEntityName(entity.entityName, fullyQualifiedName));
470
+ if (own)
471
+ return { entity: own, ambiguous: false };
472
+ const viewLevels = entities.filter((entity) => {
473
+ var _a;
474
+ return sameEntityName((_a = entity.joiningView) === null || _a === void 0 ? void 0 : _a.entityName, fullyQualifiedName);
475
+ });
476
+ return {
477
+ entity: viewLevels.length === 1 ? viewLevels[0] : null,
478
+ ambiguous: viewLevels.length > 1
479
+ };
480
+ };
481
+ /**
482
+ * A joining-view key's joined values as `=` filters on the level's entity,
483
+ * blank ones dropped. The key lists the view's values in the view's
484
+ * businessObjectKeyFieldNames order; the association the level is configured
485
+ * through pairs each level field with a view field in `Keys` ('LevelField,
486
+ * ViewField' — the level's own field first, lazyLoad's order).
487
+ */
488
+ const joiningViewFilters = (catalogObjects, levelEntityName, joiningView, keyValues) => {
489
+ var _a, _b, _c, _d, _e, _f;
490
+ const viewFields = asString((_a = findCatalogObject(catalogObjects, joiningView.entityName)) === null || _a === void 0 ? void 0 : _a.businessObjectKeyFieldNames)
491
+ .split(',')
492
+ .map((field) => field.trim().toLowerCase())
493
+ .filter(Boolean);
494
+ const pairs = (_f = (_e = (_d = (_c = (_b = findCatalogObject(catalogObjects, levelEntityName)) === null || _b === void 0 ? void 0 : _b.properties) === null || _c === void 0 ? void 0 : _c.find((property) => property.name === joiningView.associationKey)) === null || _d === void 0 ? void 0 : _d.extendedProperties) === null || _e === void 0 ? void 0 : _e.childEntityAssoc) === null || _f === void 0 ? void 0 : _f.Keys;
495
+ return (Array.isArray(pairs) ? pairs : [])
496
+ .map((pair) => {
497
+ var _a;
498
+ const [levelField = '', viewField = ''] = String(pair)
499
+ .split(',')
500
+ .map((field) => field.trim());
501
+ return {
502
+ searchField: toUpperFirstChar(levelField),
503
+ searchOperator: '=',
504
+ searchValue: (_a = keyValues[viewFields.indexOf(viewField.toLowerCase())]) !== null && _a !== void 0 ? _a : ''
505
+ };
506
+ })
507
+ .filter((filter) => filter.searchField && filter.searchValue !== '');
508
+ };
509
+ /**
510
+ * Resolve a deep link: `?node` is the row's businessObjectKey and `?nodeSearch`
511
+ * the comma-joined values of its level's search identifiers
512
+ * (getLevelSearchIdentifiers) — what every writer (v1, earlier builds, this one)
513
+ * puts there.
514
+ * - The level is the one whose own entity is the key's entity; else the ONE
515
+ * level whose joining view it is (several → ambiguous).
516
+ * - The filters are the level's identifiers paired with `?nodeSearch`, blank or
517
+ * missing values dropped (a row read through a joining view can lack one).
518
+ * - A joining-view key also ANDs the joined values it carries that are not
519
+ * already identifiers — extra precision, never a reason to reject.
520
+ * No filter left leaves the link unresolved. Whether the filters name exactly
521
+ * one record is the fetch's call (rowForIdentifierSet).
522
+ */
523
+ export const resolveDeepLink = (entities, catalogObjects, { businessObjectKey, nodeSearch }) => {
524
+ var _a;
525
+ const [keyEntityName, keyValues = ''] = businessObjectKey.split('|');
526
+ const { entity, ambiguous } = levelForBusinessObjectKey(entities, keyEntityName);
527
+ if (!entity || !(catalogObjects === null || catalogObjects === void 0 ? void 0 : catalogObjects.length)) {
528
+ return { entity, ambiguous, filterElements: [] };
529
+ }
530
+ const identifiers = buildRecordEntryFilterElements(getLevelSearchIdentifiers(catalogObjects, {
531
+ catalogReturnObject: entity.entityName,
532
+ associatedTreePrimaryKeyMap: entity.associatedTreePrimaryKeyMap
533
+ }), nodeSearch ? nodeSearch.split(',') : []).filter(hasIdentifierValue);
534
+ const joiningView = sameEntityName((_a = entity.joiningView) === null || _a === void 0 ? void 0 : _a.entityName, keyEntityName)
535
+ ? entity.joiningView
536
+ : null;
537
+ const named = new Set(identifiers.map((filter) => filter.searchField.toLowerCase()));
538
+ const joined = joiningView
539
+ ? joiningViewFilters(catalogObjects, entity.entityName, joiningView, keyValues.split(',')).filter((filter) => !named.has(filter.searchField.toLowerCase()))
540
+ : [];
541
+ return { entity, ambiguous, filterElements: [...identifiers, ...joined] };
542
+ };
543
+ /** An identifier value as comparable text; anything non-scalar is blank. */
544
+ export const asText = (value) => typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean'
545
+ ? String(value)
546
+ : '';
547
+ /**
548
+ * Whether an identifier filter carries a value. A row read through a joining
549
+ * view can lack one, and `Field = ''` matches nothing, so every door that
550
+ * names a record by identifiers (a link, a widget, the history) drops the
551
+ * blank ones; whether what is left names exactly one record is the fetch's call.
552
+ */
553
+ export const hasIdentifierValue = (filter) => asText(filter.searchValue) !== '';
554
+ /** The rows carrying every value in `set` (field names matched case-insensitively). */
555
+ const rowsMatching = (rows, set) => rows.filter((row) => {
556
+ const keys = new Map(Object.keys(row).map((key) => [key.toLowerCase(), key]));
557
+ return set.every((element) => {
558
+ const key = keys.get(asText(element.searchField).toLowerCase());
559
+ return key !== undefined && asText(row[key]) === asText(element.searchValue);
560
+ });
561
+ });
562
+ /**
563
+ * The row an identifier search answers for one identifier set: the ONE fetched
564
+ * row carrying every value in the set. A lone set's lone row is its answer even
565
+ * when its columns are named differently. An empty set (nothing was searched),
566
+ * no match, or several matches is no answer — never the first of many.
567
+ */
568
+ export const rowForIdentifierSet = (rows, set, lone) => {
569
+ if (!set.length)
570
+ return null;
571
+ const matches = rowsMatching(rows, set);
572
+ if (matches.length === 1)
573
+ return matches[0];
574
+ return lone && rows.length === 1 ? rows[0] : null;
575
+ };
576
+ /**
577
+ * Each set's row from ONE fetch of the searched sets OR'd, asking for one row
578
+ * more than there are sets (fetchRecordsByIdentifierSets). A short page holds
579
+ * every match, so each set's answer is rowForIdentifierSet's. A full page may
580
+ * have cut matches off, so only a set with several matches on it is decided
581
+ * (null); the rest are `undefined` — unproven, to be fetched alone.
582
+ */
583
+ export const rowsForIdentifierSets = (rows, sets) => {
584
+ const searched = sets.filter((set) => set.length).length;
585
+ const lone = searched === 1;
586
+ const complete = lone || rows.length <= searched;
587
+ return sets.map((set) => {
588
+ if (complete || !set.length)
589
+ return rowForIdentifierSet(rows, set, lone);
590
+ return rowsMatching(rows, set).length > 1 ? null : undefined;
591
+ });
592
+ };
593
+ /**
594
+ * Each identifier set's row — null when none, or several, match. One OR'd
595
+ * `fetchRows` of every set, then one more per set a full page left unproven,
596
+ * fetched alone: a lone set's page always decides it, so a load costs at most
597
+ * one request plus one per set.
598
+ */
599
+ export const resolveIdentifierSets = async (fetchRows, sets) => {
600
+ const rows = await fetchRows(sets);
601
+ return Promise.all(rowsForIdentifierSets(rows, sets).map(async (row, index) => row !== undefined
602
+ ? row
603
+ : rowForIdentifierSet(await fetchRows([sets[index]]), sets[index], true)));
604
+ };
605
+ /**
606
+ * A record's refresh, from a lone identifier fetch (two rows asked for): its
607
+ * one row, or — when several match — the one that is still this record (same
608
+ * businessObjectKey). `null` when nothing matches (the record is gone);
609
+ * `undefined` when the identifiers no longer pick it out, which leaves the
610
+ * branch as it is.
611
+ */
612
+ export const refreshedRow = (rows, businessObjectKey) => {
613
+ var _a;
614
+ if (rows.length < 2)
615
+ return (_a = rows[0]) !== null && _a !== void 0 ? _a : null;
616
+ return businessObjectKey == null
617
+ ? undefined
618
+ : rows.find((row) => row.businessObjectKey === businessObjectKey);
619
+ };
419
620
  export const decideSearchValueOutcome = ({ term, minChars, isPending, isSettled, isTimedOut, hasSingleResult }) => {
420
621
  const trimmed = term.trim();
421
622
  // Nothing to honor: the caller only runs this flow for a real term.