udp-react-enterprise-component-library 27.0.0-next.12 → 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 (540) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/UI/fluent-web-components/UdpIconPicker.d.ts +4 -1
  3. package/dist/UI/fluent-web-components/UdpIconPicker.d.ts.map +1 -1
  4. package/dist/UI/fluent-web-components/UdpIconPicker.js +2 -2
  5. package/dist/UI/fluent-web-components/UdpIconPicker.js.map +1 -1
  6. package/dist/UI/fluent-web-components/UdpIconPicker.mjs +32 -28
  7. package/dist/UI/fluent-web-components/UdpIconPicker.mjs.map +1 -1
  8. package/dist/UI/fluent-web-components/UdpLink.d.ts +6 -0
  9. package/dist/UI/fluent-web-components/UdpLink.d.ts.map +1 -1
  10. package/dist/UI/fluent-web-components/UdpLink.js.map +1 -1
  11. package/dist/UI/fluent-web-components/UdpLink.mjs.map +1 -1
  12. package/dist/UI/fluent-web-components/types.d.ts +2 -0
  13. package/dist/UI/fluent-web-components/types.d.ts.map +1 -1
  14. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts +16 -3
  15. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.d.ts.map +1 -1
  16. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js +36 -13
  17. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.js.map +1 -1
  18. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs +119 -62
  19. package/dist/UI/widgets/library/InquiryFindRecordsWidget/InquiryFindRecordsWidget.mjs.map +1 -1
  20. package/dist/UI/widgets/library/InquiryFindRecordsWidget/index.mjs +3 -2
  21. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts +9 -2
  22. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.d.ts.map +1 -1
  23. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js +18 -18
  24. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.js.map +1 -1
  25. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs +79 -67
  26. package/dist/UI/widgets/library/InquiryRecentRecordsWidget/InquiryRecentRecordsWidget.mjs.map +1 -1
  27. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts +8 -2
  28. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.d.ts.map +1 -1
  29. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js +32 -16
  30. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.js.map +1 -1
  31. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs +129 -102
  32. package/dist/UI/widgets/library/InquiryRemindersWidget/InquiryRemindersWidget.mjs.map +1 -1
  33. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts +3 -2
  34. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.d.ts.map +1 -1
  35. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js +11 -12
  36. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.js.map +1 -1
  37. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs +6 -4
  38. package/dist/UI/widgets/library/InquiryRemindersWidget/reminderRowModel.mjs.map +1 -1
  39. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts +2 -19
  40. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.d.ts.map +1 -1
  41. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js +4 -5
  42. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.js.map +1 -1
  43. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs +5 -4
  44. package/dist/UI/widgets/library/InquiryRemindersWidget/useInquiryReminders.mjs.map +1 -1
  45. package/dist/actionPanels/index.d.ts +0 -2
  46. package/dist/actionPanels/index.d.ts.map +1 -1
  47. package/dist/actionPanels/index.js +0 -2
  48. package/dist/actionPanels/index.js.map +1 -1
  49. package/dist/actionPanels/panelActionFields.d.ts +9 -26
  50. package/dist/actionPanels/panelActionFields.d.ts.map +1 -1
  51. package/dist/actionPanels/panelActionFields.js +32 -55
  52. package/dist/actionPanels/panelActionFields.js.map +1 -1
  53. package/dist/actionPanels/panelActionFields.mjs +159 -375
  54. package/dist/actionPanels/panelActionFields.mjs.map +1 -1
  55. package/dist/actionPanels/panelOperations.d.ts +15 -41
  56. package/dist/actionPanels/panelOperations.d.ts.map +1 -1
  57. package/dist/actionPanels/panelOperations.js +51 -89
  58. package/dist/actionPanels/panelOperations.js.map +1 -1
  59. package/dist/actionPanels/panelOperations.mjs +37 -92
  60. package/dist/actionPanels/panelOperations.mjs.map +1 -1
  61. package/dist/domain/actionPanel/actionTypeMeta.d.ts +15 -2
  62. package/dist/domain/actionPanel/actionTypeMeta.d.ts.map +1 -1
  63. package/dist/domain/actionPanel/actionTypeMeta.js +21 -2
  64. package/dist/domain/actionPanel/actionTypeMeta.js.map +1 -1
  65. package/dist/domain/actionPanel/actionTypeMeta.mjs +18 -3
  66. package/dist/domain/actionPanel/actionTypeMeta.mjs.map +1 -1
  67. package/dist/domain/actionPanel/buttonOrder.d.ts +67 -0
  68. package/dist/domain/actionPanel/buttonOrder.d.ts.map +1 -0
  69. package/dist/domain/actionPanel/buttonOrder.js +105 -0
  70. package/dist/domain/actionPanel/buttonOrder.js.map +1 -0
  71. package/dist/domain/actionPanel/buttonOrder.mjs +90 -0
  72. package/dist/domain/actionPanel/buttonOrder.mjs.map +1 -0
  73. package/dist/domain/actionPanel/index.d.ts +1 -0
  74. package/dist/domain/actionPanel/index.d.ts.map +1 -1
  75. package/dist/domain/actionPanel/index.js +1 -0
  76. package/dist/domain/actionPanel/index.js.map +1 -1
  77. package/dist/domain/actionPanel/index.mjs +4 -3
  78. package/dist/domain/actionPanel/serialize.d.ts +6 -2
  79. package/dist/domain/actionPanel/serialize.d.ts.map +1 -1
  80. package/dist/domain/actionPanel/serialize.js +10 -3
  81. package/dist/domain/actionPanel/serialize.js.map +1 -1
  82. package/dist/domain/actionPanel/serialize.mjs +7 -3
  83. package/dist/domain/actionPanel/serialize.mjs.map +1 -1
  84. package/dist/domain/actionPanel/types.d.ts +24 -8
  85. package/dist/domain/actionPanel/types.d.ts.map +1 -1
  86. package/dist/domain/actionPanel/types.js.map +1 -1
  87. package/dist/domain/actionPanel/types.mjs.map +1 -1
  88. package/dist/domain/inquiryTree/describe.d.ts +15 -3
  89. package/dist/domain/inquiryTree/describe.d.ts.map +1 -1
  90. package/dist/domain/inquiryTree/describe.js +32 -28
  91. package/dist/domain/inquiryTree/describe.js.map +1 -1
  92. package/dist/domain/inquiryTree/describe.mjs +34 -16
  93. package/dist/domain/inquiryTree/describe.mjs.map +1 -1
  94. package/dist/domain/inquiryTree/displayTree.d.ts +75 -97
  95. package/dist/domain/inquiryTree/displayTree.d.ts.map +1 -1
  96. package/dist/domain/inquiryTree/displayTree.js +418 -551
  97. package/dist/domain/inquiryTree/displayTree.js.map +1 -1
  98. package/dist/domain/inquiryTree/displayTree.mjs +345 -414
  99. package/dist/domain/inquiryTree/displayTree.mjs.map +1 -1
  100. package/dist/domain/inquiryTree/groups.d.ts +2 -0
  101. package/dist/domain/inquiryTree/groups.d.ts.map +1 -1
  102. package/dist/domain/inquiryTree/groups.js.map +1 -1
  103. package/dist/domain/inquiryTree/groups.mjs.map +1 -1
  104. package/dist/domain/inquiryTree/index.d.ts +1 -1
  105. package/dist/domain/inquiryTree/index.d.ts.map +1 -1
  106. package/dist/domain/inquiryTree/index.js +1 -1
  107. package/dist/domain/inquiryTree/index.js.map +1 -1
  108. package/dist/domain/inquiryTree/index.mjs +12 -12
  109. package/dist/domain/inquiryTree/lazyLoad.d.ts +20 -129
  110. package/dist/domain/inquiryTree/lazyLoad.d.ts.map +1 -1
  111. package/dist/domain/inquiryTree/lazyLoad.js +48 -233
  112. package/dist/domain/inquiryTree/lazyLoad.js.map +1 -1
  113. package/dist/domain/inquiryTree/lazyLoad.mjs +32 -187
  114. package/dist/domain/inquiryTree/lazyLoad.mjs.map +1 -1
  115. package/dist/domain/inquiryTree/legalChildren.d.ts +13 -14
  116. package/dist/domain/inquiryTree/legalChildren.d.ts.map +1 -1
  117. package/dist/domain/inquiryTree/legalChildren.js +21 -42
  118. package/dist/domain/inquiryTree/legalChildren.js.map +1 -1
  119. package/dist/domain/inquiryTree/legalChildren.mjs +19 -37
  120. package/dist/domain/inquiryTree/legalChildren.mjs.map +1 -1
  121. package/dist/domain/inquiryTree/names.d.ts +38 -0
  122. package/dist/domain/inquiryTree/names.d.ts.map +1 -0
  123. package/dist/domain/inquiryTree/names.js +64 -0
  124. package/dist/domain/inquiryTree/names.js.map +1 -0
  125. package/dist/domain/inquiryTree/names.mjs +56 -0
  126. package/dist/domain/inquiryTree/names.mjs.map +1 -0
  127. package/dist/domain/inquiryTree/operations.d.ts +6 -2
  128. package/dist/domain/inquiryTree/operations.d.ts.map +1 -1
  129. package/dist/domain/inquiryTree/operations.js +17 -16
  130. package/dist/domain/inquiryTree/operations.js.map +1 -1
  131. package/dist/domain/inquiryTree/operations.mjs +14 -11
  132. package/dist/domain/inquiryTree/operations.mjs.map +1 -1
  133. package/dist/domain/inquiryTree/rules.d.ts +3 -4
  134. package/dist/domain/inquiryTree/rules.d.ts.map +1 -1
  135. package/dist/domain/inquiryTree/rules.js +3 -13
  136. package/dist/domain/inquiryTree/rules.js.map +1 -1
  137. package/dist/domain/inquiryTree/rules.mjs +3 -9
  138. package/dist/domain/inquiryTree/rules.mjs.map +1 -1
  139. package/dist/domain/inquiryTree/runtime.d.ts +23 -16
  140. package/dist/domain/inquiryTree/runtime.d.ts.map +1 -1
  141. package/dist/domain/inquiryTree/runtime.js +46 -54
  142. package/dist/domain/inquiryTree/runtime.js.map +1 -1
  143. package/dist/domain/inquiryTree/runtime.mjs +31 -26
  144. package/dist/domain/inquiryTree/runtime.mjs.map +1 -1
  145. package/dist/domain/inquiryTree/serialize.d.ts +20 -29
  146. package/dist/domain/inquiryTree/serialize.d.ts.map +1 -1
  147. package/dist/domain/inquiryTree/serialize.js +93 -205
  148. package/dist/domain/inquiryTree/serialize.js.map +1 -1
  149. package/dist/domain/inquiryTree/serialize.mjs +89 -180
  150. package/dist/domain/inquiryTree/serialize.mjs.map +1 -1
  151. package/dist/domain/inquiryTree/types.d.ts +146 -65
  152. package/dist/domain/inquiryTree/types.d.ts.map +1 -1
  153. package/dist/domain/inquiryTree/types.js +5 -0
  154. package/dist/domain/inquiryTree/types.js.map +1 -1
  155. package/dist/domain/inquiryTree/types.mjs +3 -1
  156. package/dist/domain/inquiryTree/types.mjs.map +1 -1
  157. package/dist/domain/inquiryTree/validate.d.ts +9 -2
  158. package/dist/domain/inquiryTree/validate.d.ts.map +1 -1
  159. package/dist/domain/inquiryTree/validate.js +30 -58
  160. package/dist/domain/inquiryTree/validate.js.map +1 -1
  161. package/dist/domain/inquiryTree/validate.mjs +29 -44
  162. package/dist/domain/inquiryTree/validate.mjs.map +1 -1
  163. package/dist/domain/inquiryTree/view.d.ts +8 -12
  164. package/dist/domain/inquiryTree/view.d.ts.map +1 -1
  165. package/dist/domain/inquiryTree/view.js +40 -66
  166. package/dist/domain/inquiryTree/view.js.map +1 -1
  167. package/dist/domain/inquiryTree/view.mjs +30 -60
  168. package/dist/domain/inquiryTree/view.mjs.map +1 -1
  169. package/dist/domain/inquiryTree/waveLoad.d.ts +32 -48
  170. package/dist/domain/inquiryTree/waveLoad.d.ts.map +1 -1
  171. package/dist/domain/inquiryTree/waveLoad.js +75 -90
  172. package/dist/domain/inquiryTree/waveLoad.js.map +1 -1
  173. package/dist/domain/inquiryTree/waveLoad.mjs +54 -60
  174. package/dist/domain/inquiryTree/waveLoad.mjs.map +1 -1
  175. package/dist/domain/inquiryTree/wireString.d.ts +5 -0
  176. package/dist/domain/inquiryTree/wireString.d.ts.map +1 -1
  177. package/dist/domain/inquiryTree/wireString.js +11 -0
  178. package/dist/domain/inquiryTree/wireString.js.map +1 -1
  179. package/dist/domain/inquiryTree/wireString.mjs +10 -1
  180. package/dist/domain/inquiryTree/wireString.mjs.map +1 -1
  181. package/dist/domain/nodeView/index.mjs +2 -2
  182. package/dist/domain/nodeView/model.d.ts +35 -30
  183. package/dist/domain/nodeView/model.d.ts.map +1 -1
  184. package/dist/domain/nodeView/model.js +108 -69
  185. package/dist/domain/nodeView/model.js.map +1 -1
  186. package/dist/domain/nodeView/model.mjs +86 -36
  187. package/dist/domain/nodeView/model.mjs.map +1 -1
  188. package/dist/icons/legacyIconNames.d.ts.map +1 -1
  189. package/dist/icons/legacyIconNames.js +46 -1
  190. package/dist/icons/legacyIconNames.js.map +1 -1
  191. package/dist/icons/legacyIconNames.mjs +46 -1
  192. package/dist/icons/legacyIconNames.mjs.map +1 -1
  193. package/dist/index.mjs +10 -12
  194. package/dist/inquiry/Inquiry.d.ts +3 -0
  195. package/dist/inquiry/Inquiry.d.ts.map +1 -1
  196. package/dist/inquiry/Inquiry.js +3 -0
  197. package/dist/inquiry/Inquiry.js.map +1 -1
  198. package/dist/inquiry/Inquiry.mjs +3 -0
  199. package/dist/inquiry/Inquiry.mjs.map +1 -1
  200. package/dist/inquiry/v2/InquiryV2.d.ts +8 -6
  201. package/dist/inquiry/v2/InquiryV2.d.ts.map +1 -1
  202. package/dist/inquiry/v2/InquiryV2.js +45 -24
  203. package/dist/inquiry/v2/InquiryV2.js.map +1 -1
  204. package/dist/inquiry/v2/InquiryV2.mjs +108 -61
  205. package/dist/inquiry/v2/InquiryV2.mjs.map +1 -1
  206. package/dist/inquiry/v2/InquiryV2.module.css +60 -15
  207. package/dist/inquiry/v2/InquiryWorkspace.d.ts +9 -9
  208. package/dist/inquiry/v2/InquiryWorkspace.d.ts.map +1 -1
  209. package/dist/inquiry/v2/InquiryWorkspace.js +531 -408
  210. package/dist/inquiry/v2/InquiryWorkspace.js.map +1 -1
  211. package/dist/inquiry/v2/InquiryWorkspace.mjs +524 -408
  212. package/dist/inquiry/v2/InquiryWorkspace.mjs.map +1 -1
  213. package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts +3 -2
  214. package/dist/inquiry/v2/ai/InquiryV2Copilot.d.ts.map +1 -1
  215. package/dist/inquiry/v2/ai/InquiryV2Copilot.js +20 -37
  216. package/dist/inquiry/v2/ai/InquiryV2Copilot.js.map +1 -1
  217. package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs +19 -31
  218. package/dist/inquiry/v2/ai/InquiryV2Copilot.mjs.map +1 -1
  219. package/dist/inquiry/v2/ai/copilotModel.d.ts +6 -14
  220. package/dist/inquiry/v2/ai/copilotModel.d.ts.map +1 -1
  221. package/dist/inquiry/v2/ai/copilotModel.js +35 -87
  222. package/dist/inquiry/v2/ai/copilotModel.js.map +1 -1
  223. package/dist/inquiry/v2/ai/copilotModel.mjs +23 -47
  224. package/dist/inquiry/v2/ai/copilotModel.mjs.map +1 -1
  225. package/dist/inquiry/v2/api/queries.d.ts +46 -73
  226. package/dist/inquiry/v2/api/queries.d.ts.map +1 -1
  227. package/dist/inquiry/v2/api/queries.js +151 -210
  228. package/dist/inquiry/v2/api/queries.js.map +1 -1
  229. package/dist/inquiry/v2/api/queries.mjs +227 -183
  230. package/dist/inquiry/v2/api/queries.mjs.map +1 -1
  231. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.d.ts.map +1 -1
  232. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js +103 -32
  233. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.js.map +1 -1
  234. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs +92 -32
  235. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.mjs.map +1 -1
  236. package/dist/inquiry/v2/capabilities/actions/ActionsCapability.module.css +8 -1
  237. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts +20 -16
  238. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.d.ts.map +1 -1
  239. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js +111 -68
  240. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.js.map +1 -1
  241. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs +108 -142
  242. package/dist/inquiry/v2/capabilities/actions/EntityFormSurface.mjs.map +1 -1
  243. package/dist/inquiry/v2/capabilities/actions/RetrieveSurface.mjs +1 -1
  244. package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts +66 -50
  245. package/dist/inquiry/v2/capabilities/actions/actionModel.d.ts.map +1 -1
  246. package/dist/inquiry/v2/capabilities/actions/actionModel.js +141 -66
  247. package/dist/inquiry/v2/capabilities/actions/actionModel.js.map +1 -1
  248. package/dist/inquiry/v2/capabilities/actions/actionModel.mjs +115 -53
  249. package/dist/inquiry/v2/capabilities/actions/actionModel.mjs.map +1 -1
  250. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts +26 -0
  251. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.d.ts.map +1 -0
  252. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js +36 -0
  253. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.js.map +1 -0
  254. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs +41 -0
  255. package/dist/inquiry/v2/capabilities/actions/parentKeyDefaults.mjs.map +1 -0
  256. package/dist/inquiry/v2/capabilities/actions/runAction.d.ts +3 -2
  257. package/dist/inquiry/v2/capabilities/actions/runAction.d.ts.map +1 -1
  258. package/dist/inquiry/v2/capabilities/actions/runAction.js +27 -23
  259. package/dist/inquiry/v2/capabilities/actions/runAction.js.map +1 -1
  260. package/dist/inquiry/v2/capabilities/actions/runAction.mjs +26 -20
  261. package/dist/inquiry/v2/capabilities/actions/runAction.mjs.map +1 -1
  262. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts +20 -0
  263. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.d.ts.map +1 -0
  264. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js +112 -0
  265. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.js.map +1 -0
  266. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs +118 -0
  267. package/dist/inquiry/v2/capabilities/actions/useHeaderFold.mjs.map +1 -0
  268. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts +25 -1
  269. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.d.ts.map +1 -1
  270. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js +7 -4
  271. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.js.map +1 -1
  272. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs +9 -4
  273. package/dist/inquiry/v2/capabilities/actions/useSheetPanel.mjs.map +1 -1
  274. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts +5 -3
  275. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.d.ts.map +1 -1
  276. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js +11 -8
  277. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.js.map +1 -1
  278. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs +13 -7
  279. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.mjs.map +1 -1
  280. package/dist/inquiry/v2/capabilities/alerts/AlertsCapability.module.css +4 -4
  281. package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts +1 -1
  282. package/dist/inquiry/v2/capabilities/header/HeaderCapability.d.ts.map +1 -1
  283. package/dist/inquiry/v2/capabilities/header/HeaderCapability.js +20 -17
  284. package/dist/inquiry/v2/capabilities/header/HeaderCapability.js.map +1 -1
  285. package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs +101 -111
  286. package/dist/inquiry/v2/capabilities/header/HeaderCapability.mjs.map +1 -1
  287. package/dist/inquiry/v2/capabilities/header/HeaderCapability.module.css +9 -6
  288. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts +2 -1
  289. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.d.ts.map +1 -1
  290. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js +9 -2
  291. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.js.map +1 -1
  292. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs +18 -15
  293. package/dist/inquiry/v2/capabilities/tabs/TabsCapability.mjs.map +1 -1
  294. package/dist/inquiry/v2/index.d.ts +0 -1
  295. package/dist/inquiry/v2/index.d.ts.map +1 -1
  296. package/dist/inquiry/v2/index.js.map +1 -1
  297. package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts +3 -3
  298. package/dist/inquiry/v2/kernel/ActionRunnerContext.d.ts.map +1 -1
  299. package/dist/inquiry/v2/kernel/ActionRunnerContext.js +11 -5
  300. package/dist/inquiry/v2/kernel/ActionRunnerContext.js.map +1 -1
  301. package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs +15 -12
  302. package/dist/inquiry/v2/kernel/ActionRunnerContext.mjs.map +1 -1
  303. package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts +3 -0
  304. package/dist/inquiry/v2/kernel/ReadOnlyContext.d.ts.map +1 -0
  305. package/dist/inquiry/v2/kernel/ReadOnlyContext.js +14 -0
  306. package/dist/inquiry/v2/kernel/ReadOnlyContext.js.map +1 -0
  307. package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs +20 -0
  308. package/dist/inquiry/v2/kernel/ReadOnlyContext.mjs.map +1 -0
  309. package/dist/inquiry/v2/kernel/RecordContext.d.ts +2 -0
  310. package/dist/inquiry/v2/kernel/RecordContext.d.ts.map +1 -1
  311. package/dist/inquiry/v2/kernel/RecordContext.js.map +1 -1
  312. package/dist/inquiry/v2/kernel/RecordContext.mjs.map +1 -1
  313. package/dist/inquiry/v2/kernel/UdpNodeView.d.ts.map +1 -1
  314. package/dist/inquiry/v2/kernel/UdpNodeView.js +18 -13
  315. package/dist/inquiry/v2/kernel/UdpNodeView.js.map +1 -1
  316. package/dist/inquiry/v2/kernel/UdpNodeView.mjs +177 -140
  317. package/dist/inquiry/v2/kernel/UdpNodeView.mjs.map +1 -1
  318. package/dist/inquiry/v2/kernel/UdpNodeView.module.css +56 -5
  319. package/dist/inquiry/v2/kernel/capabilities.d.ts +0 -2
  320. package/dist/inquiry/v2/kernel/capabilities.d.ts.map +1 -1
  321. package/dist/inquiry/v2/kernel/capabilities.js.map +1 -1
  322. package/dist/inquiry/v2/kernel/capabilities.mjs.map +1 -1
  323. package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts +26 -37
  324. package/dist/inquiry/v2/landing/InquiryExplorePage.d.ts.map +1 -1
  325. package/dist/inquiry/v2/landing/InquiryExplorePage.js +48 -57
  326. package/dist/inquiry/v2/landing/InquiryExplorePage.js.map +1 -1
  327. package/dist/inquiry/v2/landing/InquiryExplorePage.mjs +102 -106
  328. package/dist/inquiry/v2/landing/InquiryExplorePage.mjs.map +1 -1
  329. package/dist/inquiry/v2/landing/InquiryExplorePage.module.css +58 -6
  330. package/dist/inquiry/v2/landing/InquiryLanding.d.ts +3 -3
  331. package/dist/inquiry/v2/landing/InquiryLanding.d.ts.map +1 -1
  332. package/dist/inquiry/v2/landing/InquiryLanding.js +8 -3
  333. package/dist/inquiry/v2/landing/InquiryLanding.js.map +1 -1
  334. package/dist/inquiry/v2/landing/InquiryLanding.mjs +51 -35
  335. package/dist/inquiry/v2/landing/InquiryLanding.mjs.map +1 -1
  336. package/dist/inquiry/v2/landing/InquiryLanding.module.css +8 -0
  337. package/dist/inquiry/v2/page/UdpPageRenderer.d.ts +5 -1
  338. package/dist/inquiry/v2/page/UdpPageRenderer.d.ts.map +1 -1
  339. package/dist/inquiry/v2/page/UdpPageRenderer.js +13 -1
  340. package/dist/inquiry/v2/page/UdpPageRenderer.js.map +1 -1
  341. package/dist/inquiry/v2/page/UdpPageRenderer.mjs +36 -7
  342. package/dist/inquiry/v2/page/UdpPageRenderer.mjs.map +1 -1
  343. package/dist/inquiry/v2/search/InquirySearchPanel.d.ts +1 -7
  344. package/dist/inquiry/v2/search/InquirySearchPanel.d.ts.map +1 -1
  345. package/dist/inquiry/v2/search/InquirySearchPanel.js +6 -13
  346. package/dist/inquiry/v2/search/InquirySearchPanel.js.map +1 -1
  347. package/dist/inquiry/v2/search/InquirySearchPanel.mjs +4 -8
  348. package/dist/inquiry/v2/search/InquirySearchPanel.mjs.map +1 -1
  349. package/dist/inquiry/v2/search/RecordFinder.d.ts +30 -1
  350. package/dist/inquiry/v2/search/RecordFinder.d.ts.map +1 -1
  351. package/dist/inquiry/v2/search/RecordFinder.js +43 -20
  352. package/dist/inquiry/v2/search/RecordFinder.js.map +1 -1
  353. package/dist/inquiry/v2/search/RecordFinder.mjs +68 -42
  354. package/dist/inquiry/v2/search/RecordFinder.mjs.map +1 -1
  355. package/dist/inquiry/v2/search/index.d.ts +3 -3
  356. package/dist/inquiry/v2/search/index.d.ts.map +1 -1
  357. package/dist/inquiry/v2/search/index.js +1 -1
  358. package/dist/inquiry/v2/search/index.js.map +1 -1
  359. package/dist/inquiry/v2/search/searchModel.d.ts +130 -23
  360. package/dist/inquiry/v2/search/searchModel.d.ts.map +1 -1
  361. package/dist/inquiry/v2/search/searchModel.js +237 -36
  362. package/dist/inquiry/v2/search/searchModel.js.map +1 -1
  363. package/dist/inquiry/v2/search/searchModel.mjs +207 -34
  364. package/dist/inquiry/v2/search/searchModel.mjs.map +1 -1
  365. package/dist/inquiry/v2/search/useInquirySearch.d.ts.map +1 -1
  366. package/dist/inquiry/v2/search/useInquirySearch.js +46 -19
  367. package/dist/inquiry/v2/search/useInquirySearch.js.map +1 -1
  368. package/dist/inquiry/v2/search/useInquirySearch.mjs +83 -84
  369. package/dist/inquiry/v2/search/useInquirySearch.mjs.map +1 -1
  370. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts +4 -1
  371. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.d.ts.map +1 -1
  372. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js +174 -166
  373. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.js.map +1 -1
  374. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs +343 -325
  375. package/dist/inquiry/v2/tree/InquiryFluentTreeMenu.mjs.map +1 -1
  376. package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts +3 -1
  377. package/dist/inquiry/v2/tree/InquiryMenuToolbar.d.ts.map +1 -1
  378. package/dist/inquiry/v2/tree/InquiryMenuToolbar.js +8 -7
  379. package/dist/inquiry/v2/tree/InquiryMenuToolbar.js.map +1 -1
  380. package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs +68 -72
  381. package/dist/inquiry/v2/tree/InquiryMenuToolbar.mjs.map +1 -1
  382. package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts +3 -3
  383. package/dist/inquiry/v2/tree/LoadRecordDialog.d.ts.map +1 -1
  384. package/dist/inquiry/v2/tree/LoadRecordDialog.js +12 -7
  385. package/dist/inquiry/v2/tree/LoadRecordDialog.js.map +1 -1
  386. package/dist/inquiry/v2/tree/LoadRecordDialog.mjs +48 -33
  387. package/dist/inquiry/v2/tree/LoadRecordDialog.mjs.map +1 -1
  388. package/dist/inquiry/v2/tree/NodeList.d.ts.map +1 -1
  389. package/dist/inquiry/v2/tree/NodeList.js +17 -6
  390. package/dist/inquiry/v2/tree/NodeList.js.map +1 -1
  391. package/dist/inquiry/v2/tree/NodeList.mjs +49 -36
  392. package/dist/inquiry/v2/tree/NodeList.mjs.map +1 -1
  393. package/dist/inquiry/v2/tree/arrivalModel.d.ts +15 -0
  394. package/dist/inquiry/v2/tree/arrivalModel.d.ts.map +1 -1
  395. package/dist/inquiry/v2/tree/arrivalModel.js +14 -1
  396. package/dist/inquiry/v2/tree/arrivalModel.js.map +1 -1
  397. package/dist/inquiry/v2/tree/arrivalModel.mjs +12 -1
  398. package/dist/inquiry/v2/tree/arrivalModel.mjs.map +1 -1
  399. package/dist/inquiry/v2/tree/branchRefreshModel.d.ts +32 -0
  400. package/dist/inquiry/v2/tree/branchRefreshModel.d.ts.map +1 -0
  401. package/dist/inquiry/v2/tree/branchRefreshModel.js +62 -0
  402. package/dist/inquiry/v2/tree/branchRefreshModel.js.map +1 -0
  403. package/dist/inquiry/v2/tree/branchRefreshModel.mjs +60 -0
  404. package/dist/inquiry/v2/tree/branchRefreshModel.mjs.map +1 -0
  405. package/dist/inquiry/v2/tree/droppedPageModel.d.ts +23 -1
  406. package/dist/inquiry/v2/tree/droppedPageModel.d.ts.map +1 -1
  407. package/dist/inquiry/v2/tree/droppedPageModel.js +53 -26
  408. package/dist/inquiry/v2/tree/droppedPageModel.js.map +1 -1
  409. package/dist/inquiry/v2/tree/droppedPageModel.mjs +48 -20
  410. package/dist/inquiry/v2/tree/droppedPageModel.mjs.map +1 -1
  411. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts +7 -12
  412. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.d.ts.map +1 -1
  413. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js +44 -15
  414. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.js.map +1 -1
  415. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs +34 -15
  416. package/dist/inquiry/v2/tree/fluentTreeMenu/treeMenuVisuals.mjs.map +1 -1
  417. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.d.ts.map +1 -1
  418. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js +7 -18
  419. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.js.map +1 -1
  420. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs +6 -14
  421. package/dist/inquiry/v2/tree/fluentTreeMenu/useAggregateBadges.mjs.map +1 -1
  422. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts +20 -16
  423. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.d.ts.map +1 -1
  424. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js +77 -55
  425. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.js.map +1 -1
  426. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs +85 -106
  427. package/dist/inquiry/v2/tree/fluentTreeMenu/useChildCountBadges.mjs.map +1 -1
  428. package/dist/inquiry/v2/tree/lineageModel.d.ts +18 -1
  429. package/dist/inquiry/v2/tree/lineageModel.d.ts.map +1 -1
  430. package/dist/inquiry/v2/tree/lineageModel.js +71 -2
  431. package/dist/inquiry/v2/tree/lineageModel.js.map +1 -1
  432. package/dist/inquiry/v2/tree/lineageModel.mjs +53 -3
  433. package/dist/inquiry/v2/tree/lineageModel.mjs.map +1 -1
  434. package/dist/inquiry/v2/tree/menuRebuildModel.d.ts +10 -27
  435. package/dist/inquiry/v2/tree/menuRebuildModel.d.ts.map +1 -1
  436. package/dist/inquiry/v2/tree/menuRebuildModel.js +8 -58
  437. package/dist/inquiry/v2/tree/menuRebuildModel.js.map +1 -1
  438. package/dist/inquiry/v2/tree/menuRebuildModel.mjs +8 -51
  439. package/dist/inquiry/v2/tree/menuRebuildModel.mjs.map +1 -1
  440. package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts +26 -0
  441. package/dist/inquiry/v2/tree/pagedChildrenModel.d.ts.map +1 -0
  442. package/dist/inquiry/v2/tree/pagedChildrenModel.js +56 -0
  443. package/dist/inquiry/v2/tree/pagedChildrenModel.js.map +1 -0
  444. package/dist/inquiry/v2/tree/pagedChildrenModel.mjs +43 -0
  445. package/dist/inquiry/v2/tree/pagedChildrenModel.mjs.map +1 -0
  446. package/dist/inquiry/v2/tree/rootRemovalModel.d.ts +7 -0
  447. package/dist/inquiry/v2/tree/rootRemovalModel.d.ts.map +1 -1
  448. package/dist/inquiry/v2/tree/rootRemovalModel.js +31 -5
  449. package/dist/inquiry/v2/tree/rootRemovalModel.js.map +1 -1
  450. package/dist/inquiry/v2/tree/rootRemovalModel.mjs +21 -4
  451. package/dist/inquiry/v2/tree/rootRemovalModel.mjs.map +1 -1
  452. package/dist/inquiry/v2/tree/treeFilterModel.d.ts +0 -2
  453. package/dist/inquiry/v2/tree/treeFilterModel.d.ts.map +1 -1
  454. package/dist/inquiry/v2/tree/treeFilterModel.js +0 -7
  455. package/dist/inquiry/v2/tree/treeFilterModel.js.map +1 -1
  456. package/dist/inquiry/v2/tree/treeFilterModel.mjs.map +1 -1
  457. package/dist/inquiry/v2/tree/useInquiryMenu.d.ts +16 -7
  458. package/dist/inquiry/v2/tree/useInquiryMenu.d.ts.map +1 -1
  459. package/dist/inquiry/v2/tree/useInquiryMenu.js +401 -163
  460. package/dist/inquiry/v2/tree/useInquiryMenu.js.map +1 -1
  461. package/dist/inquiry/v2/tree/useInquiryMenu.mjs +511 -310
  462. package/dist/inquiry/v2/tree/useInquiryMenu.mjs.map +1 -1
  463. package/dist/inquiry/v2/tree/waveLoader.d.ts +10 -11
  464. package/dist/inquiry/v2/tree/waveLoader.d.ts.map +1 -1
  465. package/dist/inquiry/v2/tree/waveLoader.js +78 -72
  466. package/dist/inquiry/v2/tree/waveLoader.js.map +1 -1
  467. package/dist/inquiry/v2/tree/waveLoader.mjs +79 -68
  468. package/dist/inquiry/v2/tree/waveLoader.mjs.map +1 -1
  469. package/dist/inquiry/v2/widgets/listRow.module.css +27 -0
  470. package/dist/inquiry/v2/widgets/widgetRowModel.d.ts +6 -2
  471. package/dist/inquiry/v2/widgets/widgetRowModel.d.ts.map +1 -1
  472. package/dist/inquiry/v2/widgets/widgetRowModel.js +49 -14
  473. package/dist/inquiry/v2/widgets/widgetRowModel.js.map +1 -1
  474. package/dist/inquiry/v2/widgets/widgetRowModel.mjs +36 -12
  475. package/dist/inquiry/v2/widgets/widgetRowModel.mjs.map +1 -1
  476. package/dist/maintenance/UdpTaggedRecordsPage.mjs +1 -1
  477. package/dist/maintenance/api/lookupApi.mjs +1 -1
  478. package/dist/maintenance/api/tagsApi.mjs +1 -1
  479. package/dist/maintenance/config/nodeDefaults.d.ts.map +1 -1
  480. package/dist/maintenance/config/nodeDefaults.js +16 -5
  481. package/dist/maintenance/config/nodeDefaults.js.map +1 -1
  482. package/dist/maintenance/config/nodeDefaults.mjs +14 -5
  483. package/dist/maintenance/config/nodeDefaults.mjs.map +1 -1
  484. package/dist/maintenance/config/useEntityConfig.mjs +1 -1
  485. package/dist/maintenance/config/useLinkedLabels.mjs +1 -1
  486. package/dist/maintenance/grid/MaintenanceGrid.mjs +1 -1
  487. package/dist/maintenance/metadata/useEntityMetadata.mjs +1 -1
  488. package/dist/maintenance/record/ChildTab.mjs +1 -1
  489. package/dist/maintenance/record/DeleteRecordDialog.mjs +1 -1
  490. package/dist/maintenance/record/LinkRecordsSheet.mjs +1 -1
  491. package/dist/maintenance/record/RecordFacts.mjs +1 -1
  492. package/dist/maintenance/record/RecordSheet.mjs +2 -2
  493. package/dist/maintenance/record/displayValue.mjs +1 -1
  494. package/dist/maintenance/record/stampDisplayText.mjs +1 -1
  495. package/dist/maintenance/settings/useEntityCatalog.mjs +1 -1
  496. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +4 -5
  497. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts.map +1 -1
  498. package/dist/stores/inquiryStore.d.ts +2 -1
  499. package/dist/stores/inquiryStore.d.ts.map +1 -1
  500. package/dist/stores/inquiryStore.js +4 -3
  501. package/dist/stores/inquiryStore.js.map +1 -1
  502. package/dist/stores/inquiryStore.mjs +18 -11
  503. package/dist/stores/inquiryStore.mjs.map +1 -1
  504. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.d.ts.map +1 -1
  505. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js +1 -1
  506. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.js.map +1 -1
  507. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs +2 -1
  508. package/dist/udp/pages/UdpMaintenanceEnginePage/UdpMaintenanceEnginePage.mjs.map +1 -1
  509. package/dist/udp/pages/UdpMaintenanceEnginePage/components/EntitiyTimeLine.mjs +1 -1
  510. package/dist/udp/utilities/useDateStringColumnDef.d.ts +1 -1
  511. package/dist/utilities/i18n/locales/es-US.json +23 -5
  512. package/dist/utilities/i18n/locales/es-US.mjs +24 -4
  513. package/dist/utilities/i18n/locales/fr-CA.json +23 -5
  514. package/dist/utilities/i18n/locales/fr-CA.mjs +24 -4
  515. package/package.json +30 -18
  516. package/dist/actionPanels/PanelActionForm.d.ts +0 -56
  517. package/dist/actionPanels/PanelActionForm.d.ts.map +0 -1
  518. package/dist/actionPanels/PanelActionForm.js +0 -30
  519. package/dist/actionPanels/PanelActionForm.js.map +0 -1
  520. package/dist/actionPanels/PanelActionForm.mjs +0 -168
  521. package/dist/actionPanels/PanelActionForm.mjs.map +0 -1
  522. package/dist/actionPanels/PanelEditor.d.ts +0 -44
  523. package/dist/actionPanels/PanelEditor.d.ts.map +0 -1
  524. package/dist/actionPanels/PanelEditor.js +0 -78
  525. package/dist/actionPanels/PanelEditor.js.map +0 -1
  526. package/dist/actionPanels/PanelEditor.mjs +0 -345
  527. package/dist/actionPanels/PanelEditor.mjs.map +0 -1
  528. package/dist/actionPanels/panelActionFields.module.css +0 -18
  529. package/dist/domain/inquiryTree/ruleBindings.d.ts +0 -10
  530. package/dist/domain/inquiryTree/ruleBindings.d.ts.map +0 -1
  531. package/dist/domain/inquiryTree/ruleBindings.js +0 -20
  532. package/dist/domain/inquiryTree/ruleBindings.js.map +0 -1
  533. package/dist/domain/inquiryTree/ruleBindings.mjs +0 -21
  534. package/dist/domain/inquiryTree/ruleBindings.mjs.map +0 -1
  535. package/dist/inquiry/v2/kernel/readOnlyModel.d.ts +0 -17
  536. package/dist/inquiry/v2/kernel/readOnlyModel.d.ts.map +0 -1
  537. package/dist/inquiry/v2/kernel/readOnlyModel.js +0 -19
  538. package/dist/inquiry/v2/kernel/readOnlyModel.js.map +0 -1
  539. package/dist/inquiry/v2/kernel/readOnlyModel.mjs +0 -21
  540. package/dist/inquiry/v2/kernel/readOnlyModel.mjs.map +0 -1
@@ -1,10 +1,12 @@
1
1
  import { c } from "../../../reactCompilerRuntime.mjs";
2
2
  import { getSearchIdentifiers } from "../../../domain/inquiryTree/runtime.mjs";
3
+ import { buildDisplayTree, buildPreloadedDisplayList, groupsLevelRecords, hasUnloadedChildren, resolveRowLabel } from "../../../domain/inquiryTree/displayTree.mjs";
3
4
  import { buildRecordEntryFilterElements } from "../../../domain/inquiryTree/waveLoad.mjs";
4
- import { buildDisplayNodeForRecord, buildDisplayTree, buildPreloadedDisplayList, getSearchValueString, resolveRowLabel } from "../../../domain/inquiryTree/displayTree.mjs";
5
- import { findNodeById, findRecordParent, locateNodeById } from "./lineageModel.mjs";
6
- import { preserveMenuWorkspace, restampMenuRecords } from "./menuRebuildModel.mjs";
5
+ import { ancestorIdsOf, findNodeById, findRecordParent, locateInMenus, locateNodeById, patchMenuEntry } from "./lineageModel.mjs";
6
+ import { asDrop, dropPageNode, isDroppedPageNode, rebuildDroppedPage } from "./droppedPageModel.mjs";
7
+ import { preserveMenuWorkspace } from "./menuRebuildModel.mjs";
7
8
  import { removeRootFromMenus } from "./rootRemovalModel.mjs";
9
+ import { reloadBranch } from "./branchRefreshModel.mjs";
8
10
  import { firstRecordId, locateRecordByKey, reselectAfterRebuild } from "./selectionModel.mjs";
9
11
  import { useEffect, useRef, useState } from "react";
10
12
  //#region src/inquiry/v2/tree/useInquiryMenu.ts
@@ -23,7 +25,7 @@ import { useEffect, useRef, useState } from "react";
23
25
  *
24
26
  * Composition follows the Tree Builder preview's live-menu path: the nested
25
27
  * seed (makeDisplayTreeStructure output, built once by the caller from the
26
- * detailed tree) + the root-record page → buildPreloadedDisplayList, so root
28
+ * tree) + the root-record page → buildPreloadedDisplayList, so root
27
29
  * group configuration, icons, and lazy-child descriptors are all stamped by the
28
30
  * domain pipeline. `rows` arrive WAVE-HYDRATED (v2/tree/waveLoader): every
29
31
  * eager level's records are already grafted onto their parent row, so the
@@ -41,7 +43,7 @@ import { useEffect, useRef, useState } from "react";
41
43
  * across through menuRebuildModel — the roots the user loaded in, and how far
42
44
  * they had opened the tree. Only `resetTree` throws that away. A mutation on a
43
45
  * CHILD record leaves the root page answering identically, so no rebuild fires
44
- * at all: `restampRecords` is what re-reads that record into the rows holding it.
46
+ * at all: `refreshRecord` recomposes the branch that mutation touched.
45
47
  *
46
48
  * Loaded records graft through the same pipeline: the searched entity's config
47
49
  * node is located in the nested seed and buildDisplayTree composes its subtree
@@ -51,37 +53,68 @@ import { useEffect, useRef, useState } from "react";
51
53
  * Loaded roots live until they are removed, or the tree is reset.
52
54
  */
53
55
  /**
54
- * v1's expandAllNodes/collapseAllNodes walk. `cachedOnly` skips lazy levels
55
- * whose children haven't loaded, so expand-all never triggers a fetch storm —
56
- * unloaded lazy folders stay collapsed until the user opens them.
57
- * (`properties.lazyLoad` here is the DISPLAY marker the composer stamps on rows
58
- * that have an unloaded level, not the retired wire flag.)
56
+ * v1's expandAllNodes/collapseAllNodes walk: every row id. `cachedOnly` stops
57
+ * at lazy levels whose children haven't loaded, so expand-all never triggers a
58
+ * fetch storm — unloaded lazy folders stay collapsed until the user opens them.
59
59
  */
60
- const setExpandedDeep = (node, expanded, cachedOnly) => {
61
- if (cachedOnly && node.properties?.["lazyLoad"] && !node["completedLoadingChildren"]) return;
62
- node.isExpanded = expanded;
63
- (node.children ?? []).forEach((child) => setExpandedDeep(child, expanded, cachedOnly));
60
+ const collectRowIds = (menus, cachedOnly) => {
61
+ const ids = /* @__PURE__ */ new Set();
62
+ const walk = (node) => {
63
+ if (cachedOnly && hasUnloadedChildren(node)) return;
64
+ ids.add(node.id);
65
+ (node.children ?? []).forEach(walk);
66
+ };
67
+ menus.forEach((menu) => menu.forEach(walk));
68
+ return ids;
64
69
  };
65
70
  /**
66
- * Identifier `=` filters for a row — the load-record refetch recipe. Same
67
- * builder the URL deep link uses (`?nodeSearch=` is literally this row's
68
- * comma-joined identifier values), so a link and a click resolve identically.
71
+ * Set `isExpanded` on the rows `ids` names, path-copying (patchMenuEntry):
72
+ * untouched rows keep their identity, and nothing to change → same list.
73
+ */
74
+ const setExpansion = (menus, ids, expandedOf) => {
75
+ const next = menus.map((menu) => patchMenuEntry(menu, ids, (copy) => {
76
+ const expanded = expandedOf(copy);
77
+ if (copy.isExpanded === expanded) return false;
78
+ copy.isExpanded = expanded;
79
+ return true;
80
+ }));
81
+ return next.some((menu, index) => menu !== menus[index]) ? next : menus;
82
+ };
83
+ /**
84
+ * Open every row above `id` (and `id` itself when `openSelf`). The tree item
85
+ * shows a selected row's ancestors open on its own, so a row selected inside
86
+ * a collapsed branch (a deep link, a load, filter stepping, the copilot, the
87
+ * default selection) must open them in the model too — else the first chevron
88
+ * click on such an ancestor flips it to open, which it already looks, and
89
+ * nothing visibly happens.
90
+ */
91
+ const revealRow = (menus, id, openSelf = false) => {
92
+ const location = locateNodeById(menus, id);
93
+ if (!location) return menus;
94
+ const ids = new Set(ancestorIdsOf(location.root, id));
95
+ if (openSelf) ids.add(location.node.id);
96
+ return setExpansion(menus, ids, () => true);
97
+ };
98
+ /**
99
+ * Identifier `=` filters for a row — the load-record refetch recipe: the
100
+ * entity's catalog identifiers, read off the row. (A `?node` link resolves
101
+ * through its level's identifiers instead — getLevelSearchIdentifiers, where
102
+ * an associatedTreePrimaryKeyMap replaces them.)
69
103
  */
70
104
  const buildIdentifierFilterElements = (catalogObjects, entityName, row) => {
71
105
  if (!catalogObjects?.length || !entityName) return [];
72
106
  const identifiers = getSearchIdentifiers(catalogObjects, entityName) ?? [];
73
107
  if (!identifiers.length) return [];
74
- return buildRecordEntryFilterElements(identifiers, getSearchValueString(row, identifiers.toString()));
108
+ return buildRecordEntryFilterElements(identifiers, identifiers.map((identifier) => row[identifier]));
75
109
  };
76
110
  const useInquiryMenu = (t0) => {
77
- const $ = c(63);
111
+ const $ = c(88);
78
112
  const { seed, rows, catalogObjects, promotedEntities, autoSelectFirst: t1 } = t0;
79
113
  const autoSelectFirst = t1 === void 0 ? true : t1;
80
114
  let t2;
81
115
  if ($[0] !== catalogObjects || $[1] !== promotedEntities) {
82
116
  t2 = {
83
117
  makeId: _temp,
84
- loadMode: "config",
85
118
  catalogObjects,
86
119
  promotedEntities
87
120
  };
@@ -97,6 +130,7 @@ const useInquiryMenu = (t0) => {
97
130
  } else t3 = $[3];
98
131
  const [menuList, setMenuList] = useState(t3);
99
132
  const [selectedId, setSelectedId] = useState(null);
133
+ const [seededRows, setSeededRows] = useState(rows);
100
134
  let t4;
101
135
  if ($[4] !== menuList || $[5] !== selectedId) {
102
136
  t4 = locateNodeById(menuList, selectedId);
@@ -116,395 +150,562 @@ const useInquiryMenu = (t0) => {
116
150
  } else t5 = $[9];
117
151
  const selectedParent = t5;
118
152
  let t6;
119
- if ($[10] !== buildOptions || $[11] !== rows || $[12] !== seed) {
120
- t6 = () => {
121
- if (!seed || !rows?.length) return [];
122
- const built = buildPreloadedDisplayList(seed, rows, buildOptions);
123
- return Array.isArray(built) && built.length ? [built] : [];
124
- };
125
- $[10] = buildOptions;
126
- $[11] = rows;
127
- $[12] = seed;
128
- $[13] = t6;
129
- } else t6 = $[13];
130
- const buildSeededList = t6;
153
+ if ($[10] !== seed) {
154
+ t6 = (level) => !!seed && level.id === seed.id && groupsLevelRecords(seed);
155
+ $[10] = seed;
156
+ $[11] = t6;
157
+ } else t6 = $[11];
158
+ const joinsRootGroups = t6;
131
159
  let t7;
132
- if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
133
- t7 = [];
134
- $[14] = t7;
135
- } else t7 = $[14];
136
- const menuListRef = useRef(t7);
160
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
161
+ t7 = /* @__PURE__ */ new Set();
162
+ $[12] = t7;
163
+ } else t7 = $[12];
164
+ const removedKeysRef = useRef(t7);
137
165
  let t8;
166
+ if ($[13] !== buildOptions || $[14] !== joinsRootGroups || $[15] !== rows || $[16] !== seed) {
167
+ t8 = (loaded) => {
168
+ if (!seed) return [];
169
+ const keys = new Set((rows ?? []).map(_temp2));
170
+ const joining = loaded.filter((root) => joinsRootGroups(root.level)).map(_temp3).filter((row_0) => !keys.has(row_0.businessObjectKey));
171
+ const pageRows = [...(rows ?? []).filter((row_1) => !removedKeysRef.current.has(row_1.businessObjectKey)), ...joining];
172
+ if (!pageRows.length) return [];
173
+ const built = buildPreloadedDisplayList(seed, pageRows, buildOptions);
174
+ return Array.isArray(built) && built.length ? [built] : [];
175
+ };
176
+ $[13] = buildOptions;
177
+ $[14] = joinsRootGroups;
178
+ $[15] = rows;
179
+ $[16] = seed;
180
+ $[17] = t8;
181
+ } else t8 = $[17];
182
+ const buildSeededList = t8;
138
183
  let t9;
139
- if ($[15] !== menuList) {
140
- t8 = () => {
184
+ if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
185
+ t9 = [];
186
+ $[18] = t9;
187
+ } else t9 = $[18];
188
+ const menuListRef = useRef(t9);
189
+ let t10;
190
+ let t11;
191
+ if ($[19] !== menuList) {
192
+ t10 = () => {
141
193
  menuListRef.current = menuList;
142
194
  };
143
- t9 = [menuList];
144
- $[15] = menuList;
145
- $[16] = t8;
146
- $[17] = t9;
195
+ t11 = [menuList];
196
+ $[19] = menuList;
197
+ $[20] = t10;
198
+ $[21] = t11;
147
199
  } else {
148
- t8 = $[16];
149
- t9 = $[17];
200
+ t10 = $[20];
201
+ t11 = $[21];
150
202
  }
151
- useEffect(t8, t9);
152
- let t10;
153
- if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
154
- t10 = [];
155
- $[18] = t10;
156
- } else t10 = $[18];
157
- const loadedRootsRef = useRef(t10);
158
- let t11;
159
- if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
160
- t11 = [];
161
- $[19] = t11;
162
- } else t11 = $[19];
163
- const droppedPagesRef = useRef(t11);
164
- const selectedIdRef = useRef(null);
203
+ useEffect(t10, t11);
165
204
  let t12;
205
+ if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
206
+ t12 = (update) => {
207
+ menuListRef.current = update(menuListRef.current);
208
+ setMenuList(update);
209
+ };
210
+ $[22] = t12;
211
+ } else t12 = $[22];
212
+ const updateMenuList = t12;
166
213
  let t13;
167
- if ($[20] !== selectedId) {
168
- t12 = () => {
214
+ if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
215
+ t13 = [];
216
+ $[23] = t13;
217
+ } else t13 = $[23];
218
+ const loadedRootsRef = useRef(t13);
219
+ let t14;
220
+ if ($[24] === Symbol.for("react.memo_cache_sentinel")) {
221
+ t14 = [];
222
+ $[24] = t14;
223
+ } else t14 = $[24];
224
+ const foreignLevelsRef = useRef(t14);
225
+ let t15;
226
+ if ($[25] !== seed) {
227
+ t15 = (id) => {
228
+ const own = findNodeById(seed, id);
229
+ if (own) return own;
230
+ for (const level_0 of foreignLevelsRef.current) {
231
+ const found = findNodeById(level_0, id);
232
+ if (found) return found;
233
+ }
234
+ return null;
235
+ };
236
+ $[25] = seed;
237
+ $[26] = t15;
238
+ } else t15 = $[26];
239
+ const findConfigLevel = t15;
240
+ let t16;
241
+ if ($[27] !== buildOptions || $[28] !== findConfigLevel) {
242
+ t16 = (level_1, row_2) => {
243
+ const built_0 = buildDisplayTree(row_2, findConfigLevel(level_1.id) ?? level_1, buildOptions);
244
+ return (Array.isArray(built_0) ? built_0[0] : built_0) ?? null;
245
+ };
246
+ $[27] = buildOptions;
247
+ $[28] = findConfigLevel;
248
+ $[29] = t16;
249
+ } else t16 = $[29];
250
+ const composeRecord = t16;
251
+ let t17;
252
+ if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
253
+ t17 = [];
254
+ $[30] = t17;
255
+ } else t17 = $[30];
256
+ const droppedPagesRef = useRef(t17);
257
+ const selectedIdRef = useRef(null);
258
+ let t18;
259
+ let t19;
260
+ if ($[31] !== selectedId) {
261
+ t18 = () => {
169
262
  selectedIdRef.current = selectedId;
170
263
  };
171
- t13 = [selectedId];
172
- $[20] = selectedId;
173
- $[21] = t12;
174
- $[22] = t13;
264
+ t19 = [selectedId];
265
+ $[31] = selectedId;
266
+ $[32] = t18;
267
+ $[33] = t19;
175
268
  } else {
176
- t12 = $[21];
177
- t13 = $[22];
269
+ t18 = $[32];
270
+ t19 = $[33];
178
271
  }
179
- useEffect(t12, t13);
180
- let t14;
181
- let t15;
182
- if ($[23] !== autoSelectFirst || $[24] !== buildSeededList || $[25] !== seed) {
183
- t14 = () => {
272
+ useEffect(t18, t19);
273
+ let t20;
274
+ if ($[34] !== buildSeededList || $[35] !== findConfigLevel || $[36] !== joinsRootGroups) {
275
+ t20 = (previous) => preserveMenuWorkspace({
276
+ fresh: buildSeededList(loadedRootsRef.current),
277
+ previous,
278
+ loadedRoots: loadedRootsRef.current.filter((loaded_0) => !joinsRootGroups(loaded_0.level)).map(_temp4),
279
+ droppedPages: droppedPagesRef.current.flatMap((page) => {
280
+ const node = rebuildDroppedPage(page, findConfigLevel);
281
+ return node ? [node] : [];
282
+ })
283
+ });
284
+ $[34] = buildSeededList;
285
+ $[35] = findConfigLevel;
286
+ $[36] = joinsRootGroups;
287
+ $[37] = t20;
288
+ } else t20 = $[37];
289
+ const composeWorkspace = t20;
290
+ let t21;
291
+ let t22;
292
+ if ($[38] !== autoSelectFirst || $[39] !== composeRecord || $[40] !== composeWorkspace || $[41] !== rows || $[42] !== seed) {
293
+ t21 = () => {
184
294
  if (!seed) return;
185
- const previous = menuListRef.current;
186
- const list = preserveMenuWorkspace({
187
- fresh: buildSeededList(),
188
- previous,
189
- loadedRoots: loadedRootsRef.current,
190
- droppedPages: droppedPagesRef.current
295
+ const previous_0 = menuListRef.current;
296
+ loadedRootsRef.current = loadedRootsRef.current.flatMap((loaded_2) => {
297
+ const node_0 = composeRecord(loaded_2.level, loaded_2.row);
298
+ return node_0 ? [{
299
+ ...loaded_2,
300
+ node: node_0
301
+ }] : [];
191
302
  });
192
- setMenuList(list);
193
- setSelectedId(reselectAfterRebuild({
303
+ const list = composeWorkspace(previous_0);
304
+ const nextSelectedId = reselectAfterRebuild({
194
305
  list,
195
- previous,
306
+ previous: previous_0,
196
307
  selectedId: selectedIdRef.current,
197
308
  autoSelectFirst
198
- }));
309
+ });
310
+ setMenuList(revealRow(list, nextSelectedId));
311
+ setSelectedId(nextSelectedId);
312
+ setSeededRows(rows);
199
313
  };
200
- t15 = [
314
+ t22 = [
201
315
  seed,
202
- buildSeededList,
316
+ rows,
317
+ composeWorkspace,
318
+ composeRecord,
203
319
  autoSelectFirst
204
320
  ];
205
- $[23] = autoSelectFirst;
206
- $[24] = buildSeededList;
207
- $[25] = seed;
208
- $[26] = t14;
209
- $[27] = t15;
321
+ $[38] = autoSelectFirst;
322
+ $[39] = composeRecord;
323
+ $[40] = composeWorkspace;
324
+ $[41] = rows;
325
+ $[42] = seed;
326
+ $[43] = t21;
327
+ $[44] = t22;
210
328
  } else {
211
- t14 = $[26];
212
- t15 = $[27];
329
+ t21 = $[43];
330
+ t22 = $[44];
213
331
  }
214
- useEffect(t14, t15);
215
- let t16;
216
- if ($[28] === Symbol.for("react.memo_cache_sentinel")) {
217
- t16 = (node) => {
218
- if (!node?.nodeObj || node.isGroupNode) return;
219
- setSelectedId(String(node.id));
332
+ useEffect(t21, t22);
333
+ let t23;
334
+ if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
335
+ t23 = (node_1) => {
336
+ if (!node_1?.nodeObj || node_1.isGroupNode) return;
337
+ const id_0 = String(node_1.id);
338
+ setMenuList((previous_1) => revealRow(previous_1, id_0));
339
+ setSelectedId(id_0);
220
340
  };
221
- $[28] = t16;
222
- } else t16 = $[28];
223
- const handleSelectNode = t16;
224
- let t17;
225
- if ($[29] !== menuList) {
226
- t17 = (nodeId) => handleSelectNode(locateNodeById(menuList, nodeId)?.node);
227
- $[29] = menuList;
228
- $[30] = t17;
229
- } else t17 = $[30];
230
- const selectNodeById = t17;
231
- let t18;
232
- if ($[31] !== buildOptions || $[32] !== menuList || $[33] !== seed) {
233
- t18 = (configNode, row) => {
234
- const key = row?.businessObjectKey;
235
- const existing = key != null ? locateRecordByKey(menuList, key) : null;
341
+ $[45] = t23;
342
+ } else t23 = $[45];
343
+ const handleSelectNode = t23;
344
+ let t24;
345
+ if ($[46] !== menuList) {
346
+ t24 = (nodeId) => handleSelectNode(locateNodeById(menuList, nodeId)?.node);
347
+ $[46] = menuList;
348
+ $[47] = t24;
349
+ } else t24 = $[47];
350
+ const selectNodeById = t24;
351
+ let t25;
352
+ if ($[48] !== composeRecord || $[49] !== composeWorkspace || $[50] !== joinsRootGroups || $[51] !== seed) {
353
+ t25 = (configNode, row_3, t26) => {
354
+ const { select: t27 } = t26 === void 0 ? {} : t26;
355
+ const select = t27 === void 0 ? true : t27;
356
+ const key = row_3?.businessObjectKey;
357
+ removedKeysRef.current.delete(key);
358
+ const existing = key != null ? locateRecordByKey(menuListRef.current, key) : null;
236
359
  if (existing) {
237
- setSelectedId(String(existing.node.id));
360
+ const id_1 = String(existing.node.id);
361
+ if (select) {
362
+ updateMenuList((previous_2) => revealRow(previous_2, id_1));
363
+ setSelectedId(id_1);
364
+ }
238
365
  return {
239
366
  rootId: String(existing.root.id),
240
- nodeId: String(existing.node.id),
367
+ nodeId: id_1,
241
368
  label: resolveRowLabel(existing.node),
242
369
  alreadyLoaded: true
243
370
  };
244
371
  }
245
- const subtree = seed && configNode?.id != null ? findNodeById(seed, String(configNode.id)) : null;
246
- const built_0 = subtree ? buildDisplayTree(row, subtree, buildOptions) : buildDisplayNodeForRecord(configNode, row, buildOptions);
247
- const root = Array.isArray(built_0) ? built_0[0] : built_0;
248
- if (!root) return null;
372
+ if (!findNodeById(seed, configNode?.id)) foreignLevelsRef.current = [...foreignLevelsRef.current.filter((level_2) => level_2.id !== configNode.id), configNode];
373
+ const root_1 = composeRecord(configNode, row_3);
374
+ if (!root_1) return null;
375
+ if (joinsRootGroups(configNode)) {
376
+ loadedRootsRef.current = [...loadedRootsRef.current, {
377
+ level: configNode,
378
+ row: row_3,
379
+ node: root_1
380
+ }];
381
+ const previous_3 = menuListRef.current;
382
+ const list_0 = composeWorkspace(previous_3);
383
+ const placed = key != null ? locateRecordByKey(list_0, key) : null;
384
+ if (!placed) {
385
+ loadedRootsRef.current = loadedRootsRef.current.filter((loaded_3) => loaded_3.node !== root_1);
386
+ return null;
387
+ }
388
+ const id_2 = String(placed.node.id);
389
+ const nextSelectedId_0 = select ? id_2 : reselectAfterRebuild({
390
+ list: list_0,
391
+ previous: previous_3,
392
+ selectedId: selectedIdRef.current,
393
+ autoSelectFirst: false
394
+ });
395
+ selectedIdRef.current = nextSelectedId_0;
396
+ updateMenuList(() => revealRow(revealRow(list_0, nextSelectedId_0), id_2));
397
+ setSelectedId(nextSelectedId_0);
398
+ return {
399
+ rootId: String(placed.root.id),
400
+ nodeId: id_2,
401
+ label: resolveRowLabel(placed.node),
402
+ alreadyLoaded: false
403
+ };
404
+ }
249
405
  const pages = droppedPagesRef.current.length;
250
- setMenuList((previous_0) => {
251
- if (previous_0.length <= pages) return [...previous_0, [root]];
252
- return previous_0.map((menu, index) => index === pages ? [...menu, root] : menu);
406
+ updateMenuList((previous_4) => {
407
+ if (previous_4.length <= pages) return [...previous_4, [root_1]];
408
+ return previous_4.map((menu, index) => index === pages ? [...menu, root_1] : menu);
253
409
  });
254
- loadedRootsRef.current = [...loadedRootsRef.current, root];
255
- setSelectedId(String(root.id));
410
+ loadedRootsRef.current = [...loadedRootsRef.current, {
411
+ level: configNode,
412
+ row: row_3,
413
+ node: root_1
414
+ }];
415
+ if (select) setSelectedId(String(root_1.id));
256
416
  return {
257
- rootId: String(root.id),
258
- nodeId: String(root.id),
259
- label: resolveRowLabel(root),
417
+ rootId: String(root_1.id),
418
+ nodeId: String(root_1.id),
419
+ label: resolveRowLabel(root_1),
260
420
  alreadyLoaded: false
261
421
  };
262
422
  };
263
- $[31] = buildOptions;
264
- $[32] = menuList;
265
- $[33] = seed;
266
- $[34] = t18;
267
- } else t18 = $[34];
268
- const loadRecord = t18;
269
- let t19;
270
- if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
271
- t19 = (page) => {
272
- const id = String(page.id);
273
- if (droppedPagesRef.current.some((candidate_0) => String(candidate_0.id) === id)) {
274
- droppedPagesRef.current = droppedPagesRef.current.map((candidate) => String(candidate.id) === id ? page : candidate);
275
- setMenuList((previous_1) => previous_1.map((menu_0) => menu_0.map((root_0) => String(root_0.id) === id ? page : root_0)));
423
+ $[48] = composeRecord;
424
+ $[49] = composeWorkspace;
425
+ $[50] = joinsRootGroups;
426
+ $[51] = seed;
427
+ $[52] = t25;
428
+ } else t25 = $[52];
429
+ const loadRecord = t25;
430
+ let t26;
431
+ if ($[53] !== findConfigLevel) {
432
+ t26 = (target, source) => {
433
+ if (!dropPageNode(target, source, _temp5)) return null;
434
+ const drop = asDrop(source);
435
+ const existing_0 = isDroppedPageNode(target) ? droppedPagesRef.current.find((page_0) => page_0.id === String(target.id)) : void 0;
436
+ const pageSource = existing_0 ? {
437
+ ...existing_0,
438
+ drops: [...existing_0.drops, drop]
439
+ } : {
440
+ id: crypto.randomUUID(),
441
+ targetLevelId: String(target.configNodeId ?? ""),
442
+ targetRecord: target.nodeObj,
443
+ drops: [drop]
444
+ };
445
+ const page_1 = rebuildDroppedPage(pageSource, findConfigLevel);
446
+ if (!page_1) return null;
447
+ if (existing_0) {
448
+ droppedPagesRef.current = droppedPagesRef.current.map((candidate) => candidate.id === pageSource.id ? pageSource : candidate);
449
+ setMenuList((previous_5) => previous_5.map((menu_0) => menu_0.map((root_2) => String(root_2.id) === pageSource.id ? page_1 : root_2)));
276
450
  } else {
277
- droppedPagesRef.current = [page, ...droppedPagesRef.current];
278
- setMenuList((previous_2) => [[page], ...previous_2]);
451
+ droppedPagesRef.current = [pageSource, ...droppedPagesRef.current];
452
+ setMenuList((previous_6) => [[page_1], ...previous_6]);
279
453
  }
280
- setSelectedId(id);
281
- };
282
- $[35] = t19;
283
- } else t19 = $[35];
284
- const showDroppedPage = t19;
285
- let t20;
286
- if ($[36] !== buildOptions || $[37] !== seed) {
287
- t20 = (rows_0) => {
288
- if (!rows_0.length) return;
289
- setMenuList((previous_3) => restampMenuRecords(previous_3, rows_0, (node_0, row_0) => {
290
- const configNode_0 = node_0.configNodeId != null ? findNodeById(seed, String(node_0.configNodeId)) : null;
291
- if (!configNode_0) return null;
292
- return buildDisplayNodeForRecord(configNode_0, row_0, {
293
- ...buildOptions,
294
- makeId: () => String(node_0.id),
295
- wasLazyLoaded: !!node_0.wasLazyLoaded
296
- });
297
- }));
298
- };
299
- $[36] = buildOptions;
300
- $[37] = seed;
301
- $[38] = t20;
302
- } else t20 = $[38];
303
- const restampRecords = t20;
304
- let t21;
305
- if ($[39] === Symbol.for("react.memo_cache_sentinel")) {
306
- t21 = () => {
307
- setMenuList(_temp5);
454
+ setSelectedId(pageSource.id);
455
+ return page_1;
308
456
  };
309
- $[39] = t21;
310
- } else t21 = $[39];
311
- const expandAll = t21;
312
- let t22;
313
- if ($[40] !== menuList) {
314
- t22 = (nodeId_0) => {
315
- let target = null;
316
- for (const menu_3 of menuList) {
317
- for (const root_2 of menu_3) {
318
- target = findNodeById(root_2, nodeId_0);
319
- if (target) break;
320
- }
321
- if (target) break;
457
+ $[53] = findConfigLevel;
458
+ $[54] = t26;
459
+ } else t26 = $[54];
460
+ const dropOnto = t26;
461
+ let t27;
462
+ if ($[55] !== composeRecord || $[56] !== findConfigLevel) {
463
+ t27 = async (record, row_4, loadChildren) => {
464
+ const before = menuListRef.current;
465
+ const key_0 = record.nodeObj?.businessObjectKey;
466
+ const location_0 = locateNodeById(before, String(record.id)) ?? (key_0 == null ? null : locateInMenus(before, (node_2) => !node_2.isGroupNode && node_2.configNodeId === record.configNodeId && node_2.nodeObj?.businessObjectKey === key_0));
467
+ if (!location_0) return;
468
+ const old = location_0.node;
469
+ let fresh = null;
470
+ if (row_4) {
471
+ const level_3 = findConfigLevel(old.configNodeId);
472
+ fresh = level_3 ? composeRecord(level_3, row_4) : null;
473
+ if (!fresh) return;
474
+ await reloadBranch(fresh, old, loadChildren);
475
+ fresh.parentId = old.parentId;
476
+ fresh.parentGroupId = old.parentGroupId;
477
+ fresh.parentGroupName = old.parentGroupName;
478
+ fresh.entityNodeParentId = old.entityNodeParentId;
322
479
  }
323
- if (!target) return null;
324
- const expandPath = (node_1) => {
325
- const onPath = String(node_1.id) === nodeId_0 || (node_1.children ?? []).some((child) => expandPath(child));
326
- if (onPath) node_1.isExpanded = true;
327
- return onPath;
328
- };
329
- setMenuList((previous_5) => {
330
- const next_0 = previous_5.map(_temp6);
331
- next_0.forEach((menu_5) => menu_5.forEach((root_3) => expandPath(root_3)));
332
- return next_0;
333
- });
334
- return target;
480
+ const swap = (nodes) => nodes.flatMap((node_3) => node_3.id !== old.id ? [node_3] : fresh ? [fresh] : []);
481
+ const isRoot = location_0.root === old;
482
+ const list_1 = menuListRef.current.map((menu_1) => isRoot ? swap(menu_1) : patchMenuEntry(menu_1, new Set([old.parentId]), (copy) => {
483
+ copy.children = swap(copy.children ?? []);
484
+ return true;
485
+ })).filter(_temp6);
486
+ const oldKey = old.nodeObj?.businessObjectKey;
487
+ loadedRootsRef.current = loadedRootsRef.current.flatMap((loaded_4) => loaded_4.node.id !== old.id && (oldKey == null || loaded_4.level.id !== old.configNodeId || loaded_4.row.businessObjectKey !== oldKey) ? [loaded_4] : fresh && row_4 ? [{
488
+ ...loaded_4,
489
+ row: row_4,
490
+ node: fresh
491
+ }] : []);
492
+ setMenuList(list_1);
493
+ if (locateNodeById(list_1, selectedIdRef.current)) return;
494
+ const selectedAt = locateNodeById(menuListRef.current, selectedIdRef.current);
495
+ const selected = selectedAt?.node;
496
+ const reselected = [
497
+ selected?.nodeObj?.businessObjectKey,
498
+ findRecordParent(menuListRef.current[selectedAt?.menuIndex ?? location_0.menuIndex], selected)?.nodeObj?.businessObjectKey,
499
+ old.nodeObj?.businessObjectKey
500
+ ].filter(_temp7).map((key_2) => locateRecordByKey(list_1, key_2)).find(_temp8);
501
+ setSelectedId(reselected ? String(reselected.node.id) : null);
335
502
  };
336
- $[40] = menuList;
337
- $[41] = t22;
338
- } else t22 = $[41];
339
- const expandNode = t22;
340
- let t23;
341
- if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
342
- t23 = () => {
503
+ $[55] = composeRecord;
504
+ $[56] = findConfigLevel;
505
+ $[57] = t27;
506
+ } else t27 = $[57];
507
+ const refreshRecord = t27;
508
+ let t28;
509
+ if ($[58] === Symbol.for("react.memo_cache_sentinel")) {
510
+ t28 = () => {
343
511
  setMenuList(_temp0);
344
512
  };
345
- $[42] = t23;
346
- } else t23 = $[42];
347
- const collapseAll = t23;
348
- let t24;
349
- if ($[43] !== menuList || $[44] !== selectedId) {
350
- t24 = (rootId) => {
513
+ $[58] = t28;
514
+ } else t28 = $[58];
515
+ const expandAll = t28;
516
+ let t29;
517
+ if ($[59] !== menuList) {
518
+ t29 = (nodeId_0) => {
519
+ const target_0 = locateNodeById(menuList, nodeId_0)?.node ?? null;
520
+ if (target_0) setMenuList((previous_8) => revealRow(previous_8, nodeId_0, true));
521
+ return target_0;
522
+ };
523
+ $[59] = menuList;
524
+ $[60] = t29;
525
+ } else t29 = $[60];
526
+ const expandNode = t29;
527
+ let t30;
528
+ if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
529
+ t30 = () => {
530
+ setMenuList(_temp10);
531
+ };
532
+ $[61] = t30;
533
+ } else t30 = $[61];
534
+ const collapseAll = t30;
535
+ let t31;
536
+ if ($[62] !== menuList || $[63] !== selectedId) {
537
+ t31 = (rootId) => {
351
538
  const outcome = removeRootFromMenus(menuList, rootId, selectedId);
352
539
  if (!outcome.removed) return;
353
540
  setMenuList(outcome.menus);
354
- loadedRootsRef.current = loadedRootsRef.current.filter((root_5) => String(root_5.id) !== rootId);
355
- droppedPagesRef.current = droppedPagesRef.current.filter((root_6) => String(root_6.id) !== rootId);
541
+ const key_3 = outcome.removed.nodeObj?.businessObjectKey;
542
+ if (key_3 != null) removedKeysRef.current.add(key_3);
543
+ loadedRootsRef.current = loadedRootsRef.current.filter((loaded_5) => String(loaded_5.node.id) !== rootId && (key_3 == null || loaded_5.row.businessObjectKey !== key_3));
544
+ droppedPagesRef.current = droppedPagesRef.current.filter((page_2) => page_2.id !== rootId);
356
545
  setSelectedId(outcome.selectedNodeId);
357
546
  };
358
- $[43] = menuList;
359
- $[44] = selectedId;
360
- $[45] = t24;
361
- } else t24 = $[45];
362
- const removeRoot = t24;
547
+ $[62] = menuList;
548
+ $[63] = selectedId;
549
+ $[64] = t31;
550
+ } else t31 = $[64];
551
+ const removeRoot = t31;
363
552
  const expansionSnapshotRef = useRef(null);
364
- let t25;
365
- if ($[46] === Symbol.for("react.memo_cache_sentinel")) {
366
- t25 = (ids) => {
553
+ let t32;
554
+ if ($[65] === Symbol.for("react.memo_cache_sentinel")) {
555
+ t32 = (ids) => {
367
556
  if (!ids.length) return;
368
557
  const wanted = new Set(ids);
369
- setMenuList((previous_7) => {
370
- let needsWork = false;
371
- const check = (node_2) => {
372
- if (wanted.has(String(node_2.id)) && !node_2.isExpanded) needsWork = true;
373
- (node_2.children ?? []).forEach(check);
374
- };
375
- previous_7.forEach((menu_8) => menu_8.forEach(check));
376
- if (!needsWork) return previous_7;
558
+ setMenuList((previous_10) => {
559
+ const next = setExpansion(previous_10, wanted, _temp11);
560
+ if (next === previous_10) return previous_10;
377
561
  if (!expansionSnapshotRef.current) {
378
562
  const snapshot = /* @__PURE__ */ new Map();
379
- const record = (node_3) => {
380
- snapshot.set(String(node_3.id), !!node_3.isExpanded);
381
- (node_3.children ?? []).forEach(record);
563
+ const record_0 = (node_4) => {
564
+ snapshot.set(String(node_4.id), !!node_4.isExpanded);
565
+ (node_4.children ?? []).forEach(record_0);
382
566
  };
383
- previous_7.forEach((menu_9) => menu_9.forEach(record));
567
+ previous_10.forEach((menu_3) => menu_3.forEach(record_0));
384
568
  expansionSnapshotRef.current = snapshot;
385
569
  }
386
- const next_2 = previous_7.map(_temp1);
387
- const open = (node_4) => {
388
- if (wanted.has(String(node_4.id))) node_4.isExpanded = true;
389
- (node_4.children ?? []).forEach(open);
390
- };
391
- next_2.forEach((menu_11) => menu_11.forEach(open));
392
- return next_2;
570
+ return next;
393
571
  });
394
572
  };
395
- $[46] = t25;
396
- } else t25 = $[46];
397
- const expandForFilter = t25;
398
- let t26;
399
- if ($[47] === Symbol.for("react.memo_cache_sentinel")) {
400
- t26 = () => {
573
+ $[65] = t32;
574
+ } else t32 = $[65];
575
+ const expandForFilter = t32;
576
+ let t33;
577
+ if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
578
+ t33 = () => {
401
579
  const snapshot_0 = expansionSnapshotRef.current;
402
580
  if (!snapshot_0) return;
403
581
  expansionSnapshotRef.current = null;
404
- setMenuList((previous_8) => {
405
- const next_3 = previous_8.map(_temp10);
406
- const apply = (node_5) => {
407
- const was = snapshot_0.get(String(node_5.id));
408
- if (was !== void 0) node_5.isExpanded = was;
409
- (node_5.children ?? []).forEach(apply);
410
- };
411
- next_3.forEach((menu_13) => menu_13.forEach(apply));
412
- return next_3;
582
+ setMenuList((previous_11) => setExpansion(previous_11, new Set(snapshot_0.keys()), (node_5) => !!snapshot_0.get(String(node_5.id))));
583
+ };
584
+ $[66] = t33;
585
+ } else t33 = $[66];
586
+ const restoreExpansion = t33;
587
+ let t34;
588
+ if ($[67] !== composeWorkspace) {
589
+ t34 = () => {
590
+ if (!removedKeysRef.current.size) return;
591
+ removedKeysRef.current.clear();
592
+ const previous_12 = menuListRef.current;
593
+ const list_2 = composeWorkspace(previous_12);
594
+ const nextSelectedId_1 = reselectAfterRebuild({
595
+ list: list_2,
596
+ previous: previous_12,
597
+ selectedId: selectedIdRef.current,
598
+ autoSelectFirst: false
413
599
  });
600
+ selectedIdRef.current = nextSelectedId_1;
601
+ updateMenuList(() => revealRow(list_2, nextSelectedId_1));
602
+ setSelectedId(nextSelectedId_1);
414
603
  };
415
- $[47] = t26;
416
- } else t26 = $[47];
417
- const restoreExpansion = t26;
418
- let t27;
419
- if ($[48] !== autoSelectFirst || $[49] !== buildSeededList) {
420
- t27 = () => {
604
+ $[67] = composeWorkspace;
605
+ $[68] = t34;
606
+ } else t34 = $[68];
607
+ const restoreRemoved = t34;
608
+ let t35;
609
+ if ($[69] !== autoSelectFirst || $[70] !== buildSeededList) {
610
+ t35 = () => {
421
611
  loadedRootsRef.current = [];
422
612
  droppedPagesRef.current = [];
423
- const list_0 = buildSeededList();
424
- setMenuList(list_0);
425
- setSelectedId(autoSelectFirst ? firstRecordId(list_0) : null);
613
+ foreignLevelsRef.current = [];
614
+ removedKeysRef.current.clear();
615
+ const list_3 = buildSeededList([]);
616
+ const firstId = autoSelectFirst ? firstRecordId(list_3) : null;
617
+ setMenuList(revealRow(list_3, firstId));
618
+ setSelectedId(firstId);
426
619
  };
427
- $[48] = autoSelectFirst;
428
- $[49] = buildSeededList;
429
- $[50] = t27;
430
- } else t27 = $[50];
431
- const resetTree = t27;
432
- let t28;
433
- if ($[51] !== expandNode || $[52] !== loadRecord || $[53] !== menuList || $[54] !== removeRoot || $[55] !== resetTree || $[56] !== restampRecords || $[57] !== selectNodeById || $[58] !== selectedId || $[59] !== selectedNode || $[60] !== selectedParent || $[61] !== selectedRoot) {
434
- t28 = {
620
+ $[69] = autoSelectFirst;
621
+ $[70] = buildSeededList;
622
+ $[71] = t35;
623
+ } else t35 = $[71];
624
+ const resetTree = t35;
625
+ let t36;
626
+ if ($[72] !== dropOnto || $[73] !== expandNode || $[74] !== findConfigLevel || $[75] !== loadRecord || $[76] !== menuList || $[77] !== refreshRecord || $[78] !== removeRoot || $[79] !== resetTree || $[80] !== restoreRemoved || $[81] !== seededRows || $[82] !== selectNodeById || $[83] !== selectedId || $[84] !== selectedNode || $[85] !== selectedParent || $[86] !== selectedRoot) {
627
+ t36 = {
435
628
  menuList,
629
+ menuListRef,
436
630
  setMenuList,
631
+ seededRows,
437
632
  selectedId,
633
+ selectedIdRef,
438
634
  selectedNode,
439
635
  selectedRoot,
440
636
  selectedParent,
441
637
  handleSelectNode,
442
638
  selectNodeById,
443
639
  loadRecord,
444
- showDroppedPage,
445
- restampRecords,
640
+ dropOnto,
641
+ refreshRecord,
642
+ findConfigLevel,
446
643
  expandAll,
447
644
  expandNode,
448
645
  collapseAll,
449
646
  removeRoot,
647
+ restoreRemoved,
450
648
  resetTree,
451
649
  expandForFilter,
452
650
  restoreExpansion
453
651
  };
454
- $[51] = expandNode;
455
- $[52] = loadRecord;
456
- $[53] = menuList;
457
- $[54] = removeRoot;
458
- $[55] = resetTree;
459
- $[56] = restampRecords;
460
- $[57] = selectNodeById;
461
- $[58] = selectedId;
462
- $[59] = selectedNode;
463
- $[60] = selectedParent;
464
- $[61] = selectedRoot;
465
- $[62] = t28;
466
- } else t28 = $[62];
467
- return t28;
652
+ $[72] = dropOnto;
653
+ $[73] = expandNode;
654
+ $[74] = findConfigLevel;
655
+ $[75] = loadRecord;
656
+ $[76] = menuList;
657
+ $[77] = refreshRecord;
658
+ $[78] = removeRoot;
659
+ $[79] = resetTree;
660
+ $[80] = restoreRemoved;
661
+ $[81] = seededRows;
662
+ $[82] = selectNodeById;
663
+ $[83] = selectedId;
664
+ $[84] = selectedNode;
665
+ $[85] = selectedParent;
666
+ $[86] = selectedRoot;
667
+ $[87] = t36;
668
+ } else t36 = $[87];
669
+ return t36;
468
670
  };
469
671
  function _temp() {
470
672
  return crypto.randomUUID();
471
673
  }
472
- function _temp2(menu_1) {
473
- return structuredClone(menu_1);
674
+ function _temp2(row) {
675
+ return row.businessObjectKey;
676
+ }
677
+ function _temp3(root_0) {
678
+ return root_0.row;
474
679
  }
475
- function _temp3(root_1) {
476
- return setExpandedDeep(root_1, true, true);
680
+ function _temp4(loaded_1) {
681
+ return loaded_1.node;
477
682
  }
478
- function _temp4(menu_2) {
479
- return menu_2.forEach(_temp3);
683
+ function _temp5() {
684
+ return "";
480
685
  }
481
- function _temp5(previous_4) {
482
- const next = previous_4.map(_temp2);
483
- next.forEach(_temp4);
484
- return next;
686
+ function _temp6(menu_2) {
687
+ return menu_2.length > 0;
485
688
  }
486
- function _temp6(menu_4) {
487
- return structuredClone(menu_4);
689
+ function _temp7(key_1) {
690
+ return key_1 != null;
488
691
  }
489
- function _temp7(menu_6) {
490
- return structuredClone(menu_6);
692
+ function _temp8(found_0) {
693
+ return !!found_0;
491
694
  }
492
- function _temp8(root_4) {
493
- return setExpandedDeep(root_4, false, false);
695
+ function _temp9() {
696
+ return true;
494
697
  }
495
- function _temp9(menu_7) {
496
- return menu_7.forEach(_temp8);
698
+ function _temp0(previous_7) {
699
+ return setExpansion(previous_7, collectRowIds(previous_7, true), _temp9);
497
700
  }
498
- function _temp0(previous_6) {
499
- const next_1 = previous_6.map(_temp7);
500
- next_1.forEach(_temp9);
501
- return next_1;
701
+ function _temp1() {
702
+ return false;
502
703
  }
503
- function _temp1(menu_10) {
504
- return structuredClone(menu_10);
704
+ function _temp10(previous_9) {
705
+ return setExpansion(previous_9, collectRowIds(previous_9, false), _temp1);
505
706
  }
506
- function _temp10(menu_12) {
507
- return structuredClone(menu_12);
707
+ function _temp11() {
708
+ return true;
508
709
  }
509
710
  //#endregion
510
711
  export { buildIdentifierFilterElements, useInquiryMenu };