udp-react-enterprise-component-library 1.0.4 → 1.0.5-beta.2

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 (961) hide show
  1. package/dist/AmbientGridTemplate-CvXWVsCb.cjs +4205 -0
  2. package/dist/AmbientGridTemplate-CvXWVsCb.cjs.map +1 -0
  3. package/dist/AmbientGridTemplate-Dq2QYPF2.js +3905 -0
  4. package/dist/AmbientGridTemplate-Dq2QYPF2.js.map +1 -0
  5. package/dist/EnvironmentRibbon-CgKsTmQ7.cjs +1558 -0
  6. package/dist/EnvironmentRibbon-CgKsTmQ7.cjs.map +1 -0
  7. package/dist/EnvironmentRibbon-DBJftQWQ.js +1108 -0
  8. package/dist/EnvironmentRibbon-DBJftQWQ.js.map +1 -0
  9. package/dist/MenuPage-DNywMmn2.cjs +562 -0
  10. package/dist/MenuPage-DNywMmn2.cjs.map +1 -0
  11. package/dist/MenuPage-MyE8iJHD.js +561 -0
  12. package/dist/MenuPage-MyE8iJHD.js.map +1 -0
  13. package/dist/MyExportsPage-B-xwnIEc.js +724 -0
  14. package/dist/MyExportsPage-B-xwnIEc.js.map +1 -0
  15. package/dist/MyExportsPage-C-NEjmfQ.cjs +8 -0
  16. package/dist/MyExportsPage-CKwuN1wj.js +8 -0
  17. package/dist/MyExportsPage-CcO8Mf8y.cjs +778 -0
  18. package/dist/MyExportsPage-CcO8Mf8y.cjs.map +1 -0
  19. package/dist/PageContainer-DFKnbhBN.cjs +1858 -0
  20. package/dist/PageContainer-DFKnbhBN.cjs.map +1 -0
  21. package/dist/PageContainer-SljTiaZr.js +1756 -0
  22. package/dist/PageContainer-SljTiaZr.js.map +1 -0
  23. package/dist/PageNotFoundRoute-BR4QPROq.js +112 -0
  24. package/dist/PageNotFoundRoute-BR4QPROq.js.map +1 -0
  25. package/dist/PageNotFoundRoute-B_3_Yw5c.js +3 -0
  26. package/dist/PageNotFoundRoute-Cu88CEUm.cjs +124 -0
  27. package/dist/PageNotFoundRoute-Cu88CEUm.cjs.map +1 -0
  28. package/dist/PageNotFoundRoute-DNBUulJh.cjs +3 -0
  29. package/dist/PasswordResetRedirect-BXP3ftKb.js +86 -0
  30. package/dist/PasswordResetRedirect-BXP3ftKb.js.map +1 -0
  31. package/dist/PasswordResetRedirect-CX9MEbof.js +3 -0
  32. package/dist/PasswordResetRedirect-CYJBeZIA.cjs +122 -0
  33. package/dist/PasswordResetRedirect-CYJBeZIA.cjs.map +1 -0
  34. package/dist/PasswordResetRedirect-DbPv1Au9.cjs +3 -0
  35. package/dist/SearchUtilities-BYR03EFr.cjs +232 -0
  36. package/dist/SearchUtilities-BYR03EFr.cjs.map +1 -0
  37. package/dist/SearchUtilities-Bl4U_j-0.js +202 -0
  38. package/dist/SearchUtilities-Bl4U_j-0.js.map +1 -0
  39. package/dist/SideSheet-DKR15EH5.js +485 -0
  40. package/dist/SideSheet-DKR15EH5.js.map +1 -0
  41. package/dist/SideSheet-ERkgeXFG.cjs +575 -0
  42. package/dist/SideSheet-ERkgeXFG.cjs.map +1 -0
  43. package/dist/UdpPublicForm-1vK6Ug4-.cjs +5 -0
  44. package/dist/UdpPublicForm-BNe1yTjb.js +41 -0
  45. package/dist/UdpPublicForm-BNe1yTjb.js.map +1 -0
  46. package/dist/UdpPublicForm-C8eVm1sb.js +4 -0
  47. package/dist/UdpPublicForm-fWsuCBoR.cjs +52 -0
  48. package/dist/UdpPublicForm-fWsuCBoR.cjs.map +1 -0
  49. package/dist/UtilitySideBar-CoLVUjcV.cjs +2647 -0
  50. package/dist/UtilitySideBar-CoLVUjcV.cjs.map +1 -0
  51. package/dist/UtilitySideBar-Dz_17lBo.js +2277 -0
  52. package/dist/UtilitySideBar-Dz_17lBo.js.map +1 -0
  53. package/dist/VirtualBrowser-79L67ptM.js +572 -0
  54. package/dist/VirtualBrowser-79L67ptM.js.map +1 -0
  55. package/dist/VirtualBrowser-CBJQrZar.cjs +573 -0
  56. package/dist/VirtualBrowser-CBJQrZar.cjs.map +1 -0
  57. package/dist/WorkflowContainer-0_Aj2YEQ.js +9 -0
  58. package/dist/WorkflowContainer-C06Cr059.cjs +9 -0
  59. package/dist/WorkflowContainer-D8L8yLtX.cjs +1774 -0
  60. package/dist/WorkflowContainer-D8L8yLtX.cjs.map +1 -0
  61. package/dist/WorkflowContainer-mXeP_hbS.js +1708 -0
  62. package/dist/WorkflowContainer-mXeP_hbS.js.map +1 -0
  63. package/dist/apiHelpers-Dyq5plHt.cjs +377 -0
  64. package/dist/apiHelpers-Dyq5plHt.cjs.map +1 -0
  65. package/dist/apiHelpers-ntQQ4i7A.js +257 -0
  66. package/dist/apiHelpers-ntQQ4i7A.js.map +1 -0
  67. package/dist/chunk-Cn1u12Og.js +34 -0
  68. package/dist/chunk-DoeelZqw.cjs +51 -0
  69. package/dist/index.cjs +50843 -0
  70. package/dist/index.cjs.map +1 -0
  71. package/dist/index.d.cts +1727 -0
  72. package/dist/index.d.ts +1723 -438
  73. package/dist/index.js +50113 -0
  74. package/dist/index.js.map +1 -0
  75. package/dist/propertyTypeEnums-BcUuGbb0.js +94 -0
  76. package/dist/propertyTypeEnums-BcUuGbb0.js.map +1 -0
  77. package/dist/propertyTypeEnums-NvvbX8dM.cjs +112 -0
  78. package/dist/propertyTypeEnums-NvvbX8dM.cjs.map +1 -0
  79. package/dist-tsdown/AmbientGridTemplate-C4cO-UBE.js +3851 -0
  80. package/dist-tsdown/AmbientGridTemplate-C4cO-UBE.js.map +1 -0
  81. package/dist-tsdown/AmbientGridTemplate-RvpH04W2.cjs +4151 -0
  82. package/dist-tsdown/AmbientGridTemplate-RvpH04W2.cjs.map +1 -0
  83. package/dist-tsdown/EnvironmentRibbon-C5I-zJ7u.cjs +1546 -0
  84. package/dist-tsdown/EnvironmentRibbon-C5I-zJ7u.cjs.map +1 -0
  85. package/dist-tsdown/EnvironmentRibbon-W5AjvnLN.js +1096 -0
  86. package/dist-tsdown/EnvironmentRibbon-W5AjvnLN.js.map +1 -0
  87. package/dist-tsdown/MenuPage-DsZUwqyz.js +546 -0
  88. package/dist-tsdown/MenuPage-DsZUwqyz.js.map +1 -0
  89. package/dist-tsdown/MenuPage-Zn5ipVRK.cjs +547 -0
  90. package/dist-tsdown/MenuPage-Zn5ipVRK.cjs.map +1 -0
  91. package/dist-tsdown/MyExportsPage-B2wf-kFZ.cjs +763 -0
  92. package/dist-tsdown/MyExportsPage-B2wf-kFZ.cjs.map +1 -0
  93. package/dist-tsdown/MyExportsPage-BuzFo_X_.cjs +8 -0
  94. package/dist-tsdown/MyExportsPage-CuJoA0n6.js +8 -0
  95. package/dist-tsdown/MyExportsPage-DWbSEbU5.js +709 -0
  96. package/dist-tsdown/MyExportsPage-DWbSEbU5.js.map +1 -0
  97. package/dist-tsdown/PageContainer-BG6v3pM7.cjs +1841 -0
  98. package/dist-tsdown/PageContainer-BG6v3pM7.cjs.map +1 -0
  99. package/dist-tsdown/PageContainer-CWhjU1zS.js +1739 -0
  100. package/dist-tsdown/PageContainer-CWhjU1zS.js.map +1 -0
  101. package/dist-tsdown/PageNotFoundRoute-CciC9cPY.cjs +124 -0
  102. package/dist-tsdown/PageNotFoundRoute-CciC9cPY.cjs.map +1 -0
  103. package/dist-tsdown/PageNotFoundRoute-DsRSLpI6.js +3 -0
  104. package/dist-tsdown/PageNotFoundRoute-Z5qYmErL.js +112 -0
  105. package/dist-tsdown/PageNotFoundRoute-Z5qYmErL.js.map +1 -0
  106. package/dist-tsdown/PageNotFoundRoute-aJr2o81C.cjs +3 -0
  107. package/dist-tsdown/PasswordResetRedirect-1cRmBJvr.cjs +3 -0
  108. package/dist-tsdown/PasswordResetRedirect-BMHXzpvb.js +3 -0
  109. package/dist-tsdown/PasswordResetRedirect-D6RVOdwy.js +82 -0
  110. package/dist-tsdown/PasswordResetRedirect-D6RVOdwy.js.map +1 -0
  111. package/dist-tsdown/PasswordResetRedirect-DRhK3lVL.cjs +118 -0
  112. package/dist-tsdown/PasswordResetRedirect-DRhK3lVL.cjs.map +1 -0
  113. package/dist-tsdown/SearchUtilities-URbeAh75.js +186 -0
  114. package/dist-tsdown/SearchUtilities-URbeAh75.js.map +1 -0
  115. package/dist-tsdown/SearchUtilities-kF1roS4F.cjs +216 -0
  116. package/dist-tsdown/SearchUtilities-kF1roS4F.cjs.map +1 -0
  117. package/dist-tsdown/SideSheet-DcEfnfH_.js +362 -0
  118. package/dist-tsdown/SideSheet-DcEfnfH_.js.map +1 -0
  119. package/dist-tsdown/SideSheet-XOQ0yjmY.cjs +410 -0
  120. package/dist-tsdown/SideSheet-XOQ0yjmY.cjs.map +1 -0
  121. package/dist-tsdown/UdpPublicForm-BZff9-Hy.js +4 -0
  122. package/dist-tsdown/UdpPublicForm-CaWFfHLQ.cjs +5 -0
  123. package/dist-tsdown/UdpPublicForm-DFEJakHu.cjs +52 -0
  124. package/dist-tsdown/UdpPublicForm-DFEJakHu.cjs.map +1 -0
  125. package/dist-tsdown/UdpPublicForm-EOSy6X_O.js +41 -0
  126. package/dist-tsdown/UdpPublicForm-EOSy6X_O.js.map +1 -0
  127. package/dist-tsdown/UtilitySideBar-C-5lGIvy.cjs +2503 -0
  128. package/dist-tsdown/UtilitySideBar-C-5lGIvy.cjs.map +1 -0
  129. package/dist-tsdown/UtilitySideBar-D4Gdx13d.js +2138 -0
  130. package/dist-tsdown/UtilitySideBar-D4Gdx13d.js.map +1 -0
  131. package/dist-tsdown/VirtualBrowser-DmgmfhWg.cjs +568 -0
  132. package/dist-tsdown/VirtualBrowser-DmgmfhWg.cjs.map +1 -0
  133. package/dist-tsdown/VirtualBrowser-OXhftZwa.js +567 -0
  134. package/dist-tsdown/VirtualBrowser-OXhftZwa.js.map +1 -0
  135. package/dist-tsdown/WorkflowContainer-BdakMxJP.js +9 -0
  136. package/dist-tsdown/WorkflowContainer-Bm1FHgJq.cjs +1718 -0
  137. package/dist-tsdown/WorkflowContainer-Bm1FHgJq.cjs.map +1 -0
  138. package/dist-tsdown/WorkflowContainer-C2W0pr5f.js +1652 -0
  139. package/dist-tsdown/WorkflowContainer-C2W0pr5f.js.map +1 -0
  140. package/dist-tsdown/WorkflowContainer-C9hsSvOg.cjs +9 -0
  141. package/dist-tsdown/apiHelpers-DtpC3VqG.js +253 -0
  142. package/dist-tsdown/apiHelpers-DtpC3VqG.js.map +1 -0
  143. package/dist-tsdown/apiHelpers-TkqtXraB.cjs +373 -0
  144. package/dist-tsdown/apiHelpers-TkqtXraB.cjs.map +1 -0
  145. package/dist-tsdown/assets/images/phone.png +0 -0
  146. package/dist-tsdown/assets/paymentIcons/american-logo.svg +71 -0
  147. package/dist-tsdown/assets/paymentIcons/amex.svg +101 -0
  148. package/dist-tsdown/assets/paymentIcons/diners.svg +1 -0
  149. package/dist-tsdown/assets/paymentIcons/discover-logo.svg +1 -0
  150. package/dist-tsdown/assets/paymentIcons/discover.svg +1 -0
  151. package/dist-tsdown/assets/paymentIcons/echeck-logo.svg +6 -0
  152. package/dist-tsdown/assets/paymentIcons/jcb.svg +64 -0
  153. package/dist-tsdown/assets/paymentIcons/mastercard-logo.svg +11 -0
  154. package/dist-tsdown/assets/paymentIcons/mastercard.svg +1 -0
  155. package/dist-tsdown/assets/paymentIcons/unionpay.svg +9 -0
  156. package/dist-tsdown/assets/paymentIcons/visa-logo.svg +76 -0
  157. package/dist-tsdown/assets/paymentIcons/visa.svg +60 -0
  158. package/dist-tsdown/assets/unityIcons/NoEntityOpened.svg +7 -0
  159. package/dist-tsdown/assets/unityIcons/Sewer.svg +1 -0
  160. package/dist-tsdown/assets/unityIcons/TruckIcon.svg +8 -0
  161. package/dist-tsdown/assets/unityIcons/WaterDrop.svg +43 -0
  162. package/dist-tsdown/chunk-CHLpw0oG.js +25 -0
  163. package/dist-tsdown/chunk-CsX-DzYB.cjs +42 -0
  164. package/dist-tsdown/componentSystems/pageRenderer/style/style.css +5 -0
  165. package/dist-tsdown/index.cjs +49909 -0
  166. package/dist-tsdown/index.cjs.map +1 -0
  167. package/dist-tsdown/index.d.cts +1727 -0
  168. package/dist-tsdown/index.d.ts +1723 -0
  169. package/dist-tsdown/index.js +49180 -0
  170. package/dist-tsdown/index.js.map +1 -0
  171. package/dist-tsdown/map-library/Map/Map.css +11 -0
  172. package/dist-tsdown/maps/openLayerMaps/Map/Map.css +11 -0
  173. package/dist-tsdown/propertyTypeEnums-CaDtepcE.js +144 -0
  174. package/dist-tsdown/propertyTypeEnums-CaDtepcE.js.map +1 -0
  175. package/dist-tsdown/propertyTypeEnums-Cn4wJJc5.cjs +174 -0
  176. package/dist-tsdown/propertyTypeEnums-Cn4wJJc5.cjs.map +1 -0
  177. package/dist-tsdown/stories/assets/code-brackets.svg +1 -0
  178. package/dist-tsdown/stories/assets/colors.svg +1 -0
  179. package/dist-tsdown/stories/assets/comments.svg +1 -0
  180. package/dist-tsdown/stories/assets/direction.svg +1 -0
  181. package/dist-tsdown/stories/assets/flow.svg +1 -0
  182. package/dist-tsdown/stories/assets/plugin.svg +1 -0
  183. package/dist-tsdown/stories/assets/repo.svg +1 -0
  184. package/dist-tsdown/stories/assets/stackalt.svg +1 -0
  185. package/dist-tsdown/stories/button.css +30 -0
  186. package/dist-tsdown/stories/header.css +26 -0
  187. package/dist-tsdown/stories/page.css +69 -0
  188. package/dist-tsdown/style.css +49 -0
  189. package/dist-tsdown/styles.module.css +9 -0
  190. package/dist-tsdown/utilities/aggrid/ag-grid-styles.scss +46 -0
  191. package/package.json +20 -10
  192. package/dist/AGLicense.d.ts +0 -1
  193. package/dist/MenuPage-D59wUnHx.js +0 -556
  194. package/dist/UI/AlertContainer.d.ts +0 -1
  195. package/dist/UI/Box.d.ts +0 -1
  196. package/dist/UI/Grid.d.ts +0 -1
  197. package/dist/UI/SuccessAction.d.ts +0 -1
  198. package/dist/UI/accordion/Accordion.d.ts +0 -1
  199. package/dist/UI/charts/InsightRenderer.d.ts +0 -19
  200. package/dist/UI/charts/UdpBarChart.d.ts +0 -6
  201. package/dist/UI/charts/UdpDistributionChart.d.ts +0 -5
  202. package/dist/UI/charts/UdpDonutChart.d.ts +0 -7
  203. package/dist/UI/charts/UdpLineChart.d.ts +0 -6
  204. package/dist/UI/charts/index.d.ts +0 -6
  205. package/dist/UI/charts/types.d.ts +0 -62
  206. package/dist/UI/components/dataDisplay/Ellipse.d.ts +0 -8
  207. package/dist/UI/components/dataDisplay/EmailDisplay.d.ts +0 -1
  208. package/dist/UI/components/dataDisplay/SmsDisplay.d.ts +0 -1
  209. package/dist/UI/components/dataDisplay/Sticky.d.ts +0 -8
  210. package/dist/UI/components/dataDisplay/Token.d.ts +0 -13
  211. package/dist/UI/components/feedback/Adornment.d.ts +0 -6
  212. package/dist/UI/containers/DynamicContainerWithMenu.d.ts +0 -1
  213. package/dist/UI/dataDisplay/AmbientList.d.ts +0 -15
  214. package/dist/UI/dataDisplay/AvatarAlphabet.d.ts +0 -1
  215. package/dist/UI/dataDisplay/ChipAlphabet.d.ts +0 -6
  216. package/dist/UI/dataDisplay/CompactDataList.d.ts +0 -1
  217. package/dist/UI/dataDisplay/CompactDataListItem.d.ts +0 -1
  218. package/dist/UI/dataDisplay/EmptyStateDisplay.d.ts +0 -22
  219. package/dist/UI/dataDisplay/FluentActivity/FluentActivity.d.ts +0 -1
  220. package/dist/UI/dataDisplay/FluentActivity/FluentActivityRow.d.ts +0 -1
  221. package/dist/UI/dataDisplay/FluentDataTable/FluentBody/index.d.ts +0 -8
  222. package/dist/UI/dataDisplay/FluentDataTable/FluentCell/index.d.ts +0 -62
  223. package/dist/UI/dataDisplay/FluentDataTable/FluentDataTable.d.ts +0 -11
  224. package/dist/UI/dataDisplay/FluentDataTable/FluentHead/index.d.ts +0 -9
  225. package/dist/UI/dataDisplay/FluentDataTable/FluentRow/index.d.ts +0 -8
  226. package/dist/UI/dataDisplay/FluentListElement.d.ts +0 -8
  227. package/dist/UI/dataDisplay/FluentListItem.d.ts +0 -1
  228. package/dist/UI/dataDisplay/GraphCard.d.ts +0 -10
  229. package/dist/UI/dataDisplay/HeaderExpander.d.ts +0 -11
  230. package/dist/UI/dataDisplay/HintPanel.d.ts +0 -10
  231. package/dist/UI/dataDisplay/StatusChip.d.ts +0 -9
  232. package/dist/UI/dataDisplay/StatusFlags.d.ts +0 -8
  233. package/dist/UI/dataDisplay/SummaryBlock.d.ts +0 -16
  234. package/dist/UI/dataDisplay/TimelineCalendar.d.ts +0 -1
  235. package/dist/UI/dataDisplay/address/AddressListItem.d.ts +0 -3
  236. package/dist/UI/dataDisplay/cardList/CardList.d.ts +0 -49
  237. package/dist/UI/dataDisplay/cardList/enum.d.ts +0 -5
  238. package/dist/UI/dataDisplay/directory/Directory.d.ts +0 -9
  239. package/dist/UI/dataDisplay/directory/DirectoryListItem.d.ts +0 -4
  240. package/dist/UI/dataDisplay/entityHeader/EntityHeader.d.ts +0 -12
  241. package/dist/UI/dataDisplay/entityHeader/functions/groupSectionData.d.ts +0 -2
  242. package/dist/UI/dataDisplay/entityHeader/functions/useDivideArrayIntoGroups.d.ts +0 -2
  243. package/dist/UI/dataDisplay/entityHeader/functions/useElementWidth.d.ts +0 -14
  244. package/dist/UI/dataDisplay/entityHeader/ui/AlertPill.d.ts +0 -22
  245. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderContainer.d.ts +0 -20
  246. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderFlags.d.ts +0 -4
  247. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderList.d.ts +0 -1
  248. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderListItem.d.ts +0 -1
  249. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderSection.d.ts +0 -19
  250. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatList.d.ts +0 -1
  251. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatListItem.d.ts +0 -1
  252. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStats.d.ts +0 -3
  253. package/dist/UI/dataDisplay/map/ColorKey.d.ts +0 -10
  254. package/dist/UI/dataDisplay/map/FluentIconKey.d.ts +0 -2
  255. package/dist/UI/dataDisplay/map/IconKey.d.ts +0 -10
  256. package/dist/UI/dataDisplay/notes/Note.d.ts +0 -7
  257. package/dist/UI/dataDisplay/notes/Notes.d.ts +0 -6
  258. package/dist/UI/dataDisplay/ticketCard/NotificationElement.d.ts +0 -8
  259. package/dist/UI/dataDisplay/ticketCard/StatusLineItem.d.ts +0 -16
  260. package/dist/UI/dataDisplay/ticketCard/TicketCard.d.ts +0 -22
  261. package/dist/UI/dataDisplay/typography/FormHeaders.d.ts +0 -2
  262. package/dist/UI/dataDisplay/typography/SideSheetHeader.d.ts +0 -4
  263. package/dist/UI/dataDisplay/typography/SidebarHeader.d.ts +0 -1
  264. package/dist/UI/dataDisplay/typography/StandardTitle.d.ts +0 -1
  265. package/dist/UI/dataDisplay/typography/StylizedTitle.d.ts +0 -16
  266. package/dist/UI/dataDisplay/typography/Typography.d.ts +0 -1
  267. package/dist/UI/dataDisplay/visualization/AmbientVisualizer.d.ts +0 -63
  268. package/dist/UI/dataDisplay/visualization/GaugeGraph.d.ts +0 -1
  269. package/dist/UI/dataDisplay/visualization/RatioVisulization.d.ts +0 -5
  270. package/dist/UI/dataDisplay/visualization/amCharts/AmChart.d.ts +0 -1
  271. package/dist/UI/dataDisplay/visualization/amCharts/AmSankeyChart.d.ts +0 -2
  272. package/dist/UI/feedback/AmbientAlert.d.ts +0 -12
  273. package/dist/UI/feedback/AmbientToast.d.ts +0 -1
  274. package/dist/UI/feedback/FluentDialog.d.ts +0 -1
  275. package/dist/UI/feedback/NodeLoader.d.ts +0 -4
  276. package/dist/UI/feedback/PageLoading.d.ts +0 -1
  277. package/dist/UI/fileViewer/FileViewer.d.ts +0 -1
  278. package/dist/UI/fileViewer/imageSlider/Image.d.ts +0 -1
  279. package/dist/UI/fileViewer/imageSlider/ImageFooter.d.ts +0 -1
  280. package/dist/UI/fileViewer/imageSlider/ImageSlider.d.ts +0 -1
  281. package/dist/UI/fileViewer/imageSlider/ImageViewerSideSheet.d.ts +0 -1
  282. package/dist/UI/fileViewer/pdfViewer/ControlPanel.d.ts +0 -2
  283. package/dist/UI/fileViewer/pdfViewer/PDFViewer.d.ts +0 -11
  284. package/dist/UI/fileViewer/utils/fileTypes.d.ts +0 -1
  285. package/dist/UI/fileViewer/utils/fileUtils.d.ts +0 -2
  286. package/dist/UI/floorplans/CoreLayoutFloorplan.d.ts +0 -51
  287. package/dist/UI/forms/CrudForm.d.ts +0 -11
  288. package/dist/UI/forms/LoginForm.d.ts +0 -1
  289. package/dist/UI/forms/PaymentReversalForm.d.ts +0 -5
  290. package/dist/UI/forms/UdpCrudFormFields.d.ts +0 -6
  291. package/dist/UI/forms/VirtualForm.d.ts +0 -8
  292. package/dist/UI/iframe/Iframe.d.ts +0 -1
  293. package/dist/UI/inputs/buttons/AdvanceButton.d.ts +0 -4
  294. package/dist/UI/inputs/buttons/AmbientCardButton.d.ts +0 -9
  295. package/dist/UI/inputs/buttons/AmbientChipButton.d.ts +0 -1
  296. package/dist/UI/inputs/buttons/AmbientPopoverMenuItem.d.ts +0 -5
  297. package/dist/UI/inputs/buttons/AmbientToggleButton.d.ts +0 -15
  298. package/dist/UI/inputs/buttons/AmbientToggleButtonGroup.d.ts +0 -1
  299. package/dist/UI/inputs/buttons/AmbientToggleButtonGroupDefault.d.ts +0 -44
  300. package/dist/UI/inputs/buttons/AmbientTokenButton.d.ts +0 -1
  301. package/dist/UI/inputs/buttons/FUISquareIconButton.d.ts +0 -5
  302. package/dist/UI/inputs/buttons/FluentButton.d.ts +0 -1
  303. package/dist/UI/inputs/buttons/FluentCompoundButton.d.ts +0 -1
  304. package/dist/UI/inputs/buttons/FluentIconButton.d.ts +0 -1
  305. package/dist/UI/inputs/buttons/FluentMenuListButton.d.ts +0 -6
  306. package/dist/UI/inputs/buttons/FluentMenuListItem.d.ts +0 -6
  307. package/dist/UI/inputs/buttons/FluentUploadButton.d.ts +0 -1
  308. package/dist/UI/inputs/buttons/FluentUploadIconButton.d.ts +0 -1
  309. package/dist/UI/inputs/buttons/IconButtonWithToolTip.d.ts +0 -11
  310. package/dist/UI/inputs/buttons/PrimaryActionButton.d.ts +0 -6
  311. package/dist/UI/inputs/buttons/ToolBarButton.d.ts +0 -11
  312. package/dist/UI/inputs/calendar/AmbientDateRangeSelector.d.ts +0 -1
  313. package/dist/UI/inputs/calendar/AmbientSingleDateSelector.d.ts +0 -1
  314. package/dist/UI/inputs/checkbox/FluentCheckbox.d.ts +0 -1
  315. package/dist/UI/inputs/datetimes/DateField.d.ts +0 -1
  316. package/dist/UI/inputs/datetimes/DateTimeField.d.ts +0 -1
  317. package/dist/UI/inputs/datetimes/TimeField.d.ts +0 -1
  318. package/dist/UI/inputs/fieldArrayCard/AutocompleteFinalField.d.ts +0 -2
  319. package/dist/UI/inputs/fieldArrayCard/DateRangeField.d.ts +0 -2
  320. package/dist/UI/inputs/fieldArrayCard/FieldArrayCard.d.ts +0 -1
  321. package/dist/UI/inputs/fieldArrayCard/SearchSideSheet.d.ts +0 -2
  322. package/dist/UI/inputs/fieldArrayCard/fieldArrayCardEnum.d.ts +0 -10
  323. package/dist/UI/inputs/link/BreadCrumbMenu.d.ts +0 -1
  324. package/dist/UI/inputs/link/FluentLink.d.ts +0 -1
  325. package/dist/UI/inputs/menus/AmbientStepper/AmbientStepContent.d.ts +0 -9
  326. package/dist/UI/inputs/menus/AmbientStepper/AmbientStepper.d.ts +0 -5
  327. package/dist/UI/inputs/menus/AmbientStepper/StepLabel.d.ts +0 -49
  328. package/dist/UI/inputs/menus/FluentScrollLoadAutocompleteMenu.d.ts +0 -44
  329. package/dist/UI/inputs/menus/FluentSelectDirectoryMenu.d.ts +0 -6
  330. package/dist/UI/inputs/menus/FluentSelectGroupMenu.d.ts +0 -7
  331. package/dist/UI/inputs/menus/FluentSelectMenu-old.d.ts +0 -1
  332. package/dist/UI/inputs/menus/FluentSelectMenu.d.ts +0 -9
  333. package/dist/UI/inputs/menus/FluentSimpleSelect.d.ts +0 -1
  334. package/dist/UI/inputs/pickers/FluentColorPicker.d.ts +0 -1
  335. package/dist/UI/inputs/pickers/FluentDatePicker.d.ts +0 -6
  336. package/dist/UI/inputs/pickers/FluentDateTimePicker.d.ts +0 -6
  337. package/dist/UI/inputs/pickers/FluentTimePicker.d.ts +0 -7
  338. package/dist/UI/inputs/pickers/UdpDateSelector.d.ts +0 -10
  339. package/dist/UI/inputs/pickers/UdpTimeSelector.d.ts +0 -8
  340. package/dist/UI/inputs/radio/FluentRadio.d.ts +0 -1
  341. package/dist/UI/inputs/radio/FluentRadioGroup.d.ts +0 -1
  342. package/dist/UI/inputs/richEditors/CkRichEditor.d.ts +0 -1
  343. package/dist/UI/inputs/sliders/FluentInputSlider.d.ts +0 -2
  344. package/dist/UI/inputs/textField/AmbientAutoComplete.d.ts +0 -1
  345. package/dist/UI/inputs/textField/AmbientTextField.d.ts +0 -9
  346. package/dist/UI/inputs/textField/FluentSearchField.d.ts +0 -1
  347. package/dist/UI/inputs/textField/FluentTagField.d.ts +0 -2
  348. package/dist/UI/inputs/textField/FluentTextField.d.ts +0 -2
  349. package/dist/UI/inputs/textField/FluentTextFieldAutoComplete.d.ts +0 -1
  350. package/dist/UI/inputs/textField/KeyValueTextField.d.ts +0 -1
  351. package/dist/UI/inputs/toggle/FluentToggle.d.ts +0 -1
  352. package/dist/UI/loading/CircularProgress.d.ts +0 -1
  353. package/dist/UI/loading/LinearProgress.d.ts +0 -1
  354. package/dist/UI/loading/LoadingIndicator.d.ts +0 -4
  355. package/dist/UI/loading/LoadingOverlay.d.ts +0 -4
  356. package/dist/UI/mapLayout/MapLayout.d.ts +0 -1
  357. package/dist/UI/mapLayout/ui/ActionsRenderer.d.ts +0 -2
  358. package/dist/UI/mapLayout/ui/CheckboxGroup.d.ts +0 -1
  359. package/dist/UI/mapLayout/ui/CheckboxList.d.ts +0 -1
  360. package/dist/UI/mapLayout/ui/CompactCard.d.ts +0 -1
  361. package/dist/UI/mapLayout/ui/ListCard.d.ts +0 -9
  362. package/dist/UI/mapLayout/ui/ListView.d.ts +0 -2
  363. package/dist/UI/mapLayout/ui/MapLayoutToolbar.d.ts +0 -2
  364. package/dist/UI/mapLayout/ui/PopoverCard.d.ts +0 -1
  365. package/dist/UI/mapLayout/ui/PopoverOverlay.d.ts +0 -2
  366. package/dist/UI/mapLayout/ui/Statistic.d.ts +0 -1
  367. package/dist/UI/mapLayout/utilities/MapUtilities.d.ts +0 -12
  368. package/dist/UI/maps/UdpMap.d.ts +0 -66
  369. package/dist/UI/maps/UdpMapComponent.d.ts +0 -64
  370. package/dist/UI/maps/UdpMapToolbar.d.ts +0 -49
  371. package/dist/UI/navigation/FluentSideNav.d.ts +0 -1
  372. package/dist/UI/navigation/menus/AppMenu.d.ts +0 -6
  373. package/dist/UI/navigation/menus/AppMenuItem.d.ts +0 -24
  374. package/dist/UI/navigation/menus/AppMenuItemComponent.d.ts +0 -1
  375. package/dist/UI/navigation/menus/Expander.d.ts +0 -1
  376. package/dist/UI/navigation/menus/ExpanderItem.d.ts +0 -4
  377. package/dist/UI/navigation/menus/FluentMenuListItem.d.ts +0 -5
  378. package/dist/UI/navigation/tabs/UdpTabPanel.d.ts +0 -1
  379. package/dist/UI/navigation/tabs/UdpTabUtility.d.ts +0 -1
  380. package/dist/UI/navigation/tabs/UdpTabs.d.ts +0 -1
  381. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTab.d.ts +0 -1
  382. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.d.ts +0 -1
  383. package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanel.d.ts +0 -8
  384. package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanels.d.ts +0 -45
  385. package/dist/UI/navigation/tabs/defaultTabs/FluentTabUtility.d.ts +0 -1
  386. package/dist/UI/property/PropertyFields.d.ts +0 -10
  387. package/dist/UI/property/widgets/AutoCompletePropertyWidget.d.ts +0 -7
  388. package/dist/UI/property/widgets/BooleanPropertyWidget.d.ts +0 -7
  389. package/dist/UI/property/widgets/DatePropertyWidget.d.ts +0 -7
  390. package/dist/UI/property/widgets/DateTimePropertyWidget.d.ts +0 -7
  391. package/dist/UI/property/widgets/FloatPropertyWidget.d.ts +0 -7
  392. package/dist/UI/property/widgets/IntegerPropertyWidget.d.ts +0 -7
  393. package/dist/UI/property/widgets/MultilineTextPropertyWidget.d.ts +0 -7
  394. package/dist/UI/property/widgets/NumericPropertyWidget.d.ts +0 -7
  395. package/dist/UI/property/widgets/SelectPropertyWidget.d.ts +0 -7
  396. package/dist/UI/property/widgets/TextPropertyWidget.d.ts +0 -8
  397. package/dist/UI/property/widgets/TimePropertyWidget.d.ts +0 -7
  398. package/dist/UI/property/widgets/index.d.ts +0 -25
  399. package/dist/UI/stepper/types.d.ts +0 -38
  400. package/dist/UI/stepper/udp-stepper.d.ts +0 -2
  401. package/dist/UI/support/SupportCaseForm.d.ts +0 -6
  402. package/dist/UI/support/SupportCaseSideSheet.d.ts +0 -9
  403. package/dist/UI/surfaces/NestedGrid/NestedGrid.d.ts +0 -18
  404. package/dist/UI/surfaces/NestedGrid/ui/ExpandRenderer.d.ts +0 -5
  405. package/dist/UI/surfaces/SideSheet.d.ts +0 -23
  406. package/dist/UI/surfaces/cards/AmbientCard.d.ts +0 -1
  407. package/dist/UI/surfaces/cards/AmbientCardTitle.d.ts +0 -12
  408. package/dist/UI/surfaces/cards/AmbientVisualizationCard.d.ts +0 -10
  409. package/dist/UI/surfaces/cards/BioCard.d.ts +0 -10
  410. package/dist/UI/surfaces/cards/ContentDisplayCard.d.ts +0 -13
  411. package/dist/UI/surfaces/cards/FUICard.d.ts +0 -4
  412. package/dist/UI/surfaces/cards/FUICardHeader.d.ts +0 -2
  413. package/dist/UI/surfaces/cards/FluentCard.d.ts +0 -8
  414. package/dist/UI/surfaces/cards/FluentCardActions.d.ts +0 -4
  415. package/dist/UI/surfaces/cards/FluentCardContent.d.ts +0 -4
  416. package/dist/UI/surfaces/cards/FluentCardHeader.d.ts +0 -4
  417. package/dist/UI/surfaces/cards/FluentCardText.d.ts +0 -1
  418. package/dist/UI/surfaces/cards/InfoCard.d.ts +0 -33
  419. package/dist/UI/surfaces/cards/QuickViewCard.d.ts +0 -8
  420. package/dist/UI/surfaces/cards/newsCard/NewsCard.d.ts +0 -20
  421. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderCard.d.ts +0 -12
  422. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderHeader.d.ts +0 -4
  423. package/dist/UI/templates/AmbientGridTemplate.d.ts +0 -34
  424. package/dist/UI/templates/DraggableSidebarTemplate.d.ts +0 -1
  425. package/dist/UI/templates/OpenPage.d.ts +0 -1
  426. package/dist/UI/templates/SapFlexibleTemplate.d.ts +0 -5
  427. package/dist/UI/templates/ToggleSection.d.ts +0 -11
  428. package/dist/UI/templates/UdpCalendar.d.ts +0 -1
  429. package/dist/UI/templates/UdpCalendarDayView.d.ts +0 -1
  430. package/dist/UI/templates/UdpCalendarMonthView.d.ts +0 -1
  431. package/dist/UI/templates/UdpCalendarWeekView.d.ts +0 -1
  432. package/dist/UI/templates/UdpCalendarYearView.d.ts +0 -1
  433. package/dist/UI/templates/UdpGridTemplate.d.ts +0 -1
  434. package/dist/UI/templates/newGrid/ApiMethodUdpGrid.d.ts +0 -1
  435. package/dist/UI/templates/newGrid/ClientSideUdpGrid.d.ts +0 -1
  436. package/dist/UI/templates/newGrid/ServerSideUdpGrid.d.ts +0 -1
  437. package/dist/UI/templates/ui/ExtenderToggle.d.ts +0 -8
  438. package/dist/UI/templates/ui/GridGroupingHeader.d.ts +0 -10
  439. package/dist/UI/templates/ui/GridGroupingSidebar.d.ts +0 -19
  440. package/dist/UI/templates/ui/GridSidebarContainer.d.ts +0 -7
  441. package/dist/UI/templates/ui/TokenGroupItem.d.ts +0 -12
  442. package/dist/UI/templates/ui/renderers/ActionsRenderer.d.ts +0 -1
  443. package/dist/UI/templates/ui/renderers/IconRenderer.d.ts +0 -1
  444. package/dist/UI/templates/ui/renderers/StatusCellRenderer.d.ts +0 -1
  445. package/dist/UI/timeline/ExtendActions.d.ts +0 -2
  446. package/dist/UI/timeline/ExtendedHeader.d.ts +0 -2
  447. package/dist/UI/timeline/TimeEntryStates.d.ts +0 -1
  448. package/dist/UI/timeline/TimeLine.d.ts +0 -6
  449. package/dist/UI/timeline/TimelineElement.d.ts +0 -2
  450. package/dist/UI/timeline/UdpTimeline.d.ts +0 -1
  451. package/dist/UI/timeline/UdpTimelineContent.d.ts +0 -1
  452. package/dist/UI/timeline/UdpTimelineDot.d.ts +0 -1
  453. package/dist/UI/timeline/UdpTimelineItem.d.ts +0 -1
  454. package/dist/UI/timeline/UdpTimelineItemConnector.d.ts +0 -1
  455. package/dist/UI/timeline/UdpTimelineItemSeparator.d.ts +0 -1
  456. package/dist/UI/timeline/fluentTimeline/FluentTimeline.d.ts +0 -1
  457. package/dist/UI/timeline/fluentTimeline/FluentTimelineContent.d.ts +0 -1
  458. package/dist/UI/timeline/fluentTimeline/FluentTimelineHeader.d.ts +0 -1
  459. package/dist/UI/utilityDisplay/AggregateChip.d.ts +0 -2
  460. package/dist/UI/utilityDisplay/BulkActionsGridButton.d.ts +0 -1
  461. package/dist/UI/utilityDisplay/ChipSection.d.ts +0 -14
  462. package/dist/UI/utilityDisplay/Divider.d.ts +0 -1
  463. package/dist/UI/utilityDisplay/FormControl.d.ts +0 -1
  464. package/dist/UI/utilityDisplay/FormControlLabel.d.ts +0 -1
  465. package/dist/UI/utilityDisplay/GridActionBar.d.ts +0 -13
  466. package/dist/UI/utilityDisplay/GridPrimaryBar.d.ts +0 -23
  467. package/dist/UI/utilityDisplay/GridViewsSideSheet.d.ts +0 -17
  468. package/dist/UI/utilityDisplay/IndicatorChip.d.ts +0 -1
  469. package/dist/UI/utilityDisplay/InputAdornment.d.ts +0 -1
  470. package/dist/UI/utilityDisplay/SaveViewFormDialog.d.ts +0 -16
  471. package/dist/UI/utilityDisplay/UtilityBar.d.ts +0 -1
  472. package/dist/UI/utilityDisplay/UtilitySideBar.d.ts +0 -1
  473. package/dist/UI/utilityDisplay/alerts/UdpAlert.d.ts +0 -2
  474. package/dist/UI/utilityDisplay/alerts/UdpAlertsContainer.d.ts +0 -1
  475. package/dist/UI/utilityDisplay/ui/UtilitySearch.d.ts +0 -5
  476. package/dist/UI/utilityDisplay/utilities/aggregateUtils.d.ts +0 -1
  477. package/dist/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.d.ts +0 -44
  478. package/dist/UI/utilityDisplay/utilityHeader/UtilityTabHeader.d.ts +0 -6
  479. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.d.ts +0 -4
  480. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.d.ts +0 -4
  481. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHExport.d.ts +0 -5
  482. package/dist/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.d.ts +0 -8
  483. package/dist/UI/utilityDisplay/utilityHeader/ui/teleporter.d.ts +0 -2
  484. package/dist/UI/widgets/FluentComponents/ChartSummaryToggle.d.ts +0 -2
  485. package/dist/UI/widgets/FluentComponents/FUIMenuItem.d.ts +0 -2
  486. package/dist/UI/widgets/FluentComponents/SimpleTable.d.ts +0 -2
  487. package/dist/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.d.ts +0 -2
  488. package/dist/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.d.ts +0 -2
  489. package/dist/UI/widgets/FluentComponents/atoms/FluentTrendArrow.d.ts +0 -2
  490. package/dist/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.d.ts +0 -2
  491. package/dist/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.d.ts +0 -2
  492. package/dist/UI/widgets/FluentComponents/molecules/FluentStatNumber.d.ts +0 -2
  493. package/dist/UI/widgets/FluentComponents/molecules/FluentTimeline.d.ts +0 -2
  494. package/dist/UI/widgets/ItemsWidgetCard.d.ts +0 -8
  495. package/dist/UI/widgets/WidgetCard.d.ts +0 -5
  496. package/dist/UI/widgets/library/BarChartWidget.d.ts +0 -23
  497. package/dist/UI/widgets/library/BubbleWidget.d.ts +0 -23
  498. package/dist/UI/widgets/library/CircleGaugeWidget.d.ts +0 -12
  499. package/dist/UI/widgets/library/DateTrendWidget.d.ts +0 -18
  500. package/dist/UI/widgets/library/DensePlotWidget.d.ts +0 -23
  501. package/dist/UI/widgets/library/DonutChartWidget.d.ts +0 -18
  502. package/dist/UI/widgets/library/GaugeWidget.d.ts +0 -14
  503. package/dist/UI/widgets/library/LineAndSparklinesWidget.d.ts +0 -18
  504. package/dist/UI/widgets/library/LineGraphWidget.d.ts +0 -23
  505. package/dist/UI/widgets/library/ProgressBarWidget.d.ts +0 -18
  506. package/dist/UI/widgets/library/RecentlyLoadedNodesWidget.d.ts +0 -3
  507. package/dist/UI/widgets/library/RemindersWidget.d.ts +0 -3
  508. package/dist/UI/widgets/library/SparklineWidget.d.ts +0 -18
  509. package/dist/UI/widgets/library/SparsePlotWidget.d.ts +0 -23
  510. package/dist/UI/widgets/library/TableWidget.d.ts +0 -18
  511. package/dist/UI/widgets/utils/ConvertISODate.d.ts +0 -1
  512. package/dist/UI/widgets/utils/NumberVisualization.d.ts +0 -2
  513. package/dist/UI/widgets/utils/dateUtils.d.ts +0 -3
  514. package/dist/UI/widgets/utils/useId.d.ts +0 -4
  515. package/dist/VirtualBrowser-CkZIC2h5.js +0 -593
  516. package/dist/actions/ActionForm.d.ts +0 -11
  517. package/dist/actions/ActionModal.d.ts +0 -1
  518. package/dist/actions/ActionPanelPlacement.d.ts +0 -8
  519. package/dist/actions/ActionSideSheet.d.ts +0 -12
  520. package/dist/actions/ActionSpeedDial.d.ts +0 -13
  521. package/dist/actions/ActionSplitScreen.d.ts +0 -14
  522. package/dist/actions/ActionWrapper.d.ts +0 -12
  523. package/dist/actions/PageActionWrapper.d.ts +0 -1
  524. package/dist/actions/actionSummary/ActionSummaryCard.d.ts +0 -13
  525. package/dist/actions/actionSummary/ActionSummaryHeader.d.ts +0 -8
  526. package/dist/actions/actionSummary/ActionSummaryListContainer.d.ts +0 -8
  527. package/dist/actions/actionSummary/ActionSummaryListItem.d.ts +0 -10
  528. package/dist/actions/actionSummary/ActionSummaryPopover.d.ts +0 -8
  529. package/dist/actions/actionSummary/index.d.ts +0 -5
  530. package/dist/actions/sidebar/EntitySideBarContent.d.ts +0 -1
  531. package/dist/actions/utils/actionUtils.d.ts +0 -3
  532. package/dist/assets/unityIcons/LibraryData.d.ts +0 -5
  533. package/dist/chatBot/ChatContainer.d.ts +0 -1
  534. package/dist/chatBot/ChatMessage.d.ts +0 -1
  535. package/dist/componentSystems/multiThreadTimeline/functions/mttFunctions.d.ts +0 -5
  536. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.d.ts +0 -4
  537. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.d.ts +0 -1
  538. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttTimeline.d.ts +0 -1
  539. package/dist/componentSystems/multiThreadTimeline/mttSummary/MttSummary.d.ts +0 -6
  540. package/dist/componentSystems/multiThreadTimeline/timeline.d.ts +0 -26
  541. package/dist/componentSystems/multiThreadTimeline/ui/CircleButton.d.ts +0 -6
  542. package/dist/componentSystems/multiThreadTimeline/ui/DateWrapper.d.ts +0 -14
  543. package/dist/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.d.ts +0 -1
  544. package/dist/componentSystems/multiThreadTimeline/ui/MttYearTag.d.ts +0 -8
  545. package/dist/componentSystems/multiThreadTimeline/ui/MultiDot.d.ts +0 -8
  546. package/dist/componentSystems/multiThreadTimeline/ui/SummaryToken.d.ts +0 -18
  547. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDateBar.d.ts +0 -12
  548. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDot.d.ts +0 -9
  549. package/dist/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.d.ts +0 -9
  550. package/dist/componentSystems/multiThreadTimeline/ui/TimelineNode.d.ts +0 -1
  551. package/dist/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.d.ts +0 -9
  552. package/dist/componentSystems/multiThreadTimeline/ui/TimelineStatus.d.ts +0 -6
  553. package/dist/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.d.ts +0 -17
  554. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.d.ts +0 -22
  555. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.d.ts +0 -16
  556. package/dist/componentSystems/multiThreadTimeline/ui/TimelineWrapper.d.ts +0 -10
  557. package/dist/componentSystems/multiThreadTimeline/ui/VisualizationDot.d.ts +0 -10
  558. package/dist/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.d.ts +0 -18
  559. package/dist/componentSystems/pageRenderer/PageRenderer.d.ts +0 -6
  560. package/dist/componentSystems/pageRenderer/hocs/withEngineComponent.d.ts +0 -1
  561. package/dist/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +0 -33
  562. package/dist/componentSystems/pageRenderer/utils/TableColumnDefs.d.ts +0 -9
  563. package/dist/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.d.ts +0 -12
  564. package/dist/componentSystems/pageRenderer/wrappers/BarChartWrapper.d.ts +0 -7
  565. package/dist/componentSystems/pageRenderer/wrappers/BioCardWrapper.d.ts +0 -1
  566. package/dist/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.d.ts +0 -1
  567. package/dist/componentSystems/pageRenderer/wrappers/DonutWrapper.d.ts +0 -7
  568. package/dist/componentSystems/pageRenderer/wrappers/HistogramWrapper.d.ts +0 -1
  569. package/dist/componentSystems/pageRenderer/wrappers/LineGraphWrapper.d.ts +0 -1
  570. package/dist/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.d.ts +0 -1
  571. package/dist/constants/reminderConstants.d.ts +0 -4
  572. package/dist/containers/IframeContainer.d.ts +0 -1
  573. package/dist/contexts/ActionContext.d.ts +0 -1
  574. package/dist/contexts/ActionDispatchContext.d.ts +0 -1
  575. package/dist/contexts/ActionLoadingContext.d.ts +0 -1
  576. package/dist/contexts/ActionLoadingDispatchContext.d.ts +0 -1
  577. package/dist/contexts/PageContext.d.ts +0 -15
  578. package/dist/contexts/usePageContext.d.ts +0 -1
  579. package/dist/dashboard/DashboardCardGrid.d.ts +0 -5
  580. package/dist/dashboard/DashboardWidget.d.ts +0 -2
  581. package/dist/dashboard/WidgetCard.d.ts +0 -1
  582. package/dist/dashboard/getWidgetLayout.d.ts +0 -5
  583. package/dist/dashboard/types.d.ts +0 -27
  584. package/dist/dataBrowser/DataBrowserColumnDefs.d.ts +0 -9
  585. package/dist/dataBrowser/DataBrowserContainer.d.ts +0 -1
  586. package/dist/dataBrowser/forms/ParamsMappingFields.d.ts +0 -1
  587. package/dist/dataBrowser/forms/ParamsMappingForm.d.ts +0 -1
  588. package/dist/dataBrowser/forms/RequiredFieldsMappingField.d.ts +0 -1
  589. package/dist/dataBrowser/forms/RequiredFieldsMappingForm.d.ts +0 -1
  590. package/dist/diffChecker/DiffChecker.d.ts +0 -6
  591. package/dist/enums/InputFieldTypeEnums.d.ts +0 -8
  592. package/dist/enums/aggridEnums.d.ts +0 -46
  593. package/dist/enums/menuEnums.d.ts +0 -6
  594. package/dist/enums/pageEnums.d.ts +0 -14
  595. package/dist/enums/paymentMethodTypeEnum.d.ts +0 -6
  596. package/dist/enums/paymentTenderTypeEnum.d.ts +0 -8
  597. package/dist/enums/paymentVendorFactoryEnum.d.ts +0 -10
  598. package/dist/enums/propertyTypeEnums.d.ts +0 -9
  599. package/dist/enums/searchEnums.d.ts +0 -5
  600. package/dist/enums/tagEnums.d.ts +0 -5
  601. package/dist/enums/unitySystemEnums.d.ts +0 -243
  602. package/dist/enums/workflowEnums.d.ts +0 -41
  603. package/dist/hooks/crudActions.d.ts +0 -5
  604. package/dist/hooks/useActions.d.ts +0 -17
  605. package/dist/hooks/useApiCatalog.d.ts +0 -6
  606. package/dist/hooks/useDateLocale.d.ts +0 -5
  607. package/dist/hooks/useDynamicListCalculation.d.ts +0 -1
  608. package/dist/hooks/useFluentIcon.d.ts +0 -3
  609. package/dist/hooks/useItemSubCard.d.ts +0 -7
  610. package/dist/hooks/useOutlook.d.ts +0 -6
  611. package/dist/hooks/useProductVersion.d.ts +0 -1
  612. package/dist/hooks/usePromotedLookupMethods.d.ts +0 -5
  613. package/dist/hooks/usePromotedMethodEntity.d.ts +0 -5
  614. package/dist/hooks/useQueryExecutors.d.ts +0 -7
  615. package/dist/hooks/useSearchFilterParamsMap.d.ts +0 -6
  616. package/dist/hooks/useSetLocationState.d.ts +0 -1
  617. package/dist/hooks/useSplitDecimal.d.ts +0 -3
  618. package/dist/hooks/useUpdateSearchParams.d.ts +0 -1
  619. package/dist/hooks/useWorkflow.d.ts +0 -3
  620. package/dist/hooks/virtualActions.d.ts +0 -3
  621. package/dist/index-ZceONLUX.js +0 -56508
  622. package/dist/index.modern.js +0 -610
  623. package/dist/index.test.d.ts +0 -1
  624. package/dist/inquiry/AlertFlag.d.ts +0 -1
  625. package/dist/inquiry/AmbientListItem.d.ts +0 -1
  626. package/dist/inquiry/AmbientSplitStatCard.d.ts +0 -1
  627. package/dist/inquiry/AmbientSummaryListHeader.d.ts +0 -1
  628. package/dist/inquiry/EmbeddedInquiry.d.ts +0 -2
  629. package/dist/inquiry/ExecuteApiDialog.d.ts +0 -1
  630. package/dist/inquiry/FilterSearch.d.ts +0 -3
  631. package/dist/inquiry/FlagBlock.d.ts +0 -1
  632. package/dist/inquiry/Inquiry.d.ts +0 -1
  633. package/dist/inquiry/InquiryContainer.d.ts +0 -28
  634. package/dist/inquiry/InquiryTreeMenu.d.ts +0 -1
  635. package/dist/inquiry/InquiryTreeMenuItem.d.ts +0 -1
  636. package/dist/inquiry/InquiryWrapper.d.ts +0 -1
  637. package/dist/inquiry/ItemDescription.d.ts +0 -1
  638. package/dist/inquiry/NodeColumnHeader.d.ts +0 -5
  639. package/dist/inquiry/NodeDetails.d.ts +0 -1
  640. package/dist/inquiry/NodeList.d.ts +0 -1
  641. package/dist/inquiry/ToggleButton.d.ts +0 -1
  642. package/dist/inquiry/dashboard/InquiryDashboard.d.ts +0 -1
  643. package/dist/inquiry/dashboard/RecentlyLoadedNodesTable.d.ts +0 -1
  644. package/dist/inquiry/inquiryBar/InquiryControlList.d.ts +0 -11
  645. package/dist/inquiry/inquiryBar/InquiryNodeControls.d.ts +0 -1
  646. package/dist/inquiry/search/InquiryAdvancedSearch.d.ts +0 -1
  647. package/dist/inquiry/search/InquiryAdvancedSearchForm.d.ts +0 -1
  648. package/dist/inquiry/search/InquirySearchContainer.d.ts +0 -1
  649. package/dist/inquiry/search/InquirySearchDatasource.d.ts +0 -3
  650. package/dist/inquiry/search/InquirySearchTable.d.ts +0 -1
  651. package/dist/layout/GridGroup.d.ts +0 -10
  652. package/dist/layout/GridRow.d.ts +0 -5
  653. package/dist/layout/GridUnit.d.ts +0 -1
  654. package/dist/layout/HeaderLayout.d.ts +0 -3
  655. package/dist/layout/LayoutUnit.d.ts +0 -2
  656. package/dist/layout/getRatio.d.ts +0 -1
  657. package/dist/layout/templates/SideBarTemplate.d.ts +0 -4
  658. package/dist/maintenanceEngine/crudBrowser/CrudBrowserContainer.d.ts +0 -1
  659. package/dist/maintenanceEngine/crudBrowser/CrudTableActionRender.d.ts +0 -2
  660. package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.d.ts +0 -9
  661. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts +0 -11
  662. package/dist/maintenanceEngine/entityAttributeActions.d.ts +0 -1
  663. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +0 -44
  664. package/dist/maintenanceEngine/tableBrowser/TableContainer.d.ts +0 -1
  665. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.d.ts +0 -1
  666. package/dist/maintenanceEngine/virtualBrowser/VirtualTableColumnDefs.d.ts +0 -9
  667. package/dist/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.d.ts +0 -10
  668. package/dist/map-library/Controls/Controls.d.ts +0 -3
  669. package/dist/map-library/Controls/CustomControl.d.ts +0 -1
  670. package/dist/map-library/Controls/FullScreenControl.d.ts +0 -1
  671. package/dist/map-library/Controls/ZoomControl.d.ts +0 -1
  672. package/dist/map-library/Controls/index.d.ts +0 -1
  673. package/dist/map-library/Layers/ImageLayer.d.ts +0 -4
  674. package/dist/map-library/Layers/Layers.d.ts +0 -3
  675. package/dist/map-library/Layers/TileLayer.d.ts +0 -4
  676. package/dist/map-library/Layers/VectorLayer.d.ts +0 -6
  677. package/dist/map-library/Layers/index.d.ts +0 -1
  678. package/dist/map-library/Map/Map.d.ts +0 -22
  679. package/dist/map-library/Map/MapContext.d.ts +0 -2
  680. package/dist/map-library/Map/index.d.ts +0 -1
  681. package/dist/map-library/Source/index.d.ts +0 -4
  682. package/dist/map-library/Source/osm.d.ts +0 -3
  683. package/dist/map-library/Source/vector.d.ts +0 -5
  684. package/dist/map-library/Source/xyz.d.ts +0 -7
  685. package/dist/map-library/functions/mapFunctions.d.ts +0 -2
  686. package/dist/map-library/geoLocation/FreeFormField.d.ts +0 -1
  687. package/dist/map-library/geoLocation/GeoLocation.d.ts +0 -2
  688. package/dist/map-library/ui/ControlZoom.d.ts +0 -2
  689. package/dist/map-library/ui/Filter.d.ts +0 -2
  690. package/dist/map-library/ui/FilterOptions.d.ts +0 -2
  691. package/dist/map-library/ui/LocationPin.d.ts +0 -2
  692. package/dist/map-library/ui/MapControls.d.ts +0 -2
  693. package/dist/map-library/ui/MapControlsStandard.d.ts +0 -2
  694. package/dist/map-library/ui/MapFilterBar.d.ts +0 -1
  695. package/dist/map-library/ui/MapSheet.d.ts +0 -1
  696. package/dist/map-library/ui/Position.d.ts +0 -2
  697. package/dist/map-library/ui/TileDisplay.d.ts +0 -1
  698. package/dist/map-library/ui/ToggleViewType.d.ts +0 -2
  699. package/dist/maps/GeoMap.d.ts +0 -1
  700. package/dist/maps/leafletMaps/FluentImageMap.d.ts +0 -13
  701. package/dist/maps/leafletMaps/FluentMap.d.ts +0 -24
  702. package/dist/maps/leafletMaps/ui/MapContent.d.ts +0 -12
  703. package/dist/maps/leafletMaps/ui/MapMarker.d.ts +0 -1
  704. package/dist/maps/openLayerMaps/Controls/Controls.d.ts +0 -4
  705. package/dist/maps/openLayerMaps/Controls/FullScreenControl.d.ts +0 -2
  706. package/dist/maps/openLayerMaps/Controls/index.d.ts +0 -3
  707. package/dist/maps/openLayerMaps/Layers/ImageLayer.d.ts +0 -4
  708. package/dist/maps/openLayerMaps/Layers/Layers.d.ts +0 -3
  709. package/dist/maps/openLayerMaps/Layers/TileLayer.d.ts +0 -4
  710. package/dist/maps/openLayerMaps/Layers/VectorLayer.d.ts +0 -5
  711. package/dist/maps/openLayerMaps/Layers/index.d.ts +0 -5
  712. package/dist/maps/openLayerMaps/Map/Map.d.ts +0 -6
  713. package/dist/maps/openLayerMaps/Map/MapContext.d.ts +0 -2
  714. package/dist/maps/openLayerMaps/Map/index.d.ts +0 -1
  715. package/dist/maps/openLayerMaps/Source/index.d.ts +0 -4
  716. package/dist/maps/openLayerMaps/Source/osm.d.ts +0 -3
  717. package/dist/maps/openLayerMaps/Source/vector.d.ts +0 -5
  718. package/dist/maps/openLayerMaps/Source/xyz.d.ts +0 -7
  719. package/dist/maps/openLayerMaps/ui/ControlZoom.d.ts +0 -2
  720. package/dist/maps/openLayerMaps/ui/Filter.d.ts +0 -2
  721. package/dist/maps/openLayerMaps/ui/LocationPin.d.ts +0 -2
  722. package/dist/maps/openLayerMaps/ui/MapControls.d.ts +0 -2
  723. package/dist/maps/openLayerMaps/ui/MapControlsStandard.d.ts +0 -2
  724. package/dist/maps/openLayerMaps/ui/Position.d.ts +0 -2
  725. package/dist/maps/openLayerMaps/ui/ToggleViewType.d.ts +0 -2
  726. package/dist/menuPage/MenuPage.d.ts +0 -1
  727. package/dist/models/ApiMethodInstance.d.ts +0 -10
  728. package/dist/models/GroupNode.d.ts +0 -13
  729. package/dist/models/Lookup.d.ts +0 -6
  730. package/dist/models/NumberOperator.d.ts +0 -14
  731. package/dist/models/QueryResult.d.ts +0 -9
  732. package/dist/models/SearchOperator.d.ts +0 -17
  733. package/dist/notes/NotesScreen.d.ts +0 -1
  734. package/dist/page/Page.d.ts +0 -2
  735. package/dist/page/PageContainer.d.ts +0 -1
  736. package/dist/page/PageContent.d.ts +0 -1
  737. package/dist/page/PageHeader.d.ts +0 -1
  738. package/dist/page/PageSectionHeader.d.ts +0 -1
  739. package/dist/page/PageSectionSpacer.d.ts +0 -1
  740. package/dist/reminders/CompleteReminderSwitch.d.ts +0 -1
  741. package/dist/reminders/RemindersCard.d.ts +0 -1
  742. package/dist/reminders/RemindersScreen.d.ts +0 -1
  743. package/dist/reports/PowerBIReport.d.ts +0 -1
  744. package/dist/routes/PrivateRoute.d.ts +0 -3
  745. package/dist/routes/UdpRoutes.d.ts +0 -1
  746. package/dist/routes/components/PageForbiddenRoute.d.ts +0 -1
  747. package/dist/routes/components/PageNotFoundRoute.d.ts +0 -1
  748. package/dist/routes/components/PageStatus.d.ts +0 -1
  749. package/dist/routes/components/PasswordResetRedirect.d.ts +0 -1
  750. package/dist/shell/Shell.d.ts +0 -43
  751. package/dist/shell/ui/AmbientProjectSwitcher.d.ts +0 -8
  752. package/dist/shell/ui/EnvironmentRibbon.d.ts +0 -4
  753. package/dist/shell/ui/FluentProfileMenuCard.d.ts +0 -1
  754. package/dist/shell/ui/HelpCenter.d.ts +0 -1
  755. package/dist/shell/ui/LanguageSwitcher.d.ts +0 -1
  756. package/dist/shell/ui/MiniCollapsibleSidebar.d.ts +0 -2
  757. package/dist/shell/ui/NavigationSidebar.d.ts +0 -2
  758. package/dist/shell/ui/SidebarCollapseButton.d.ts +0 -1
  759. package/dist/shell/ui/SidebarListItem.d.ts +0 -5
  760. package/dist/shell/ui/SiteHeader.d.ts +0 -11
  761. package/dist/shell/ui/SiteHeaderRightComponent.d.ts +0 -11
  762. package/dist/shell/ui/UserAvatar.d.ts +0 -9
  763. package/dist/shell/ui/addUser/PasswordValidator.d.ts +0 -10
  764. package/dist/shell/ui/addUser/UserForm.d.ts +0 -2
  765. package/dist/shell/ui/addUser/UserFormFields.d.ts +0 -2
  766. package/dist/shell/ui/addUser/UserFormSideSheet.d.ts +0 -5
  767. package/dist/shell/ui/appSwitcher/FUIAppHeader.d.ts +0 -2
  768. package/dist/shell/ui/appSwitcher/FUIAppList.d.ts +0 -2
  769. package/dist/shell/ui/appSwitcher/FUIAppListItem.d.ts +0 -2
  770. package/dist/shell/ui/appSwitcher/FUIAppSwitcher.d.ts +0 -2
  771. package/dist/shell/ui/appSwitcher/ProductAppList.d.ts +0 -2
  772. package/dist/shell/ui/appSwitcher/ProductAppListItem.d.ts +0 -2
  773. package/dist/shell/ui/appSwitcher/UnityApps.d.ts +0 -2
  774. package/dist/stores/actionStore.d.ts +0 -12
  775. package/dist/stores/catalogStore.d.ts +0 -14
  776. package/dist/stores/inquiryStore.d.ts +0 -21
  777. package/dist/stores/lookupsStore.d.ts +0 -12
  778. package/dist/stores/shellStore.d.ts +0 -21
  779. package/dist/stores/teleporterStore.d.ts +0 -13
  780. package/dist/stores/tenantStore.d.ts +0 -16
  781. package/dist/stores/workflowStore.d.ts +0 -19
  782. package/dist/stories/Button.d.ts +0 -26
  783. package/dist/stories/Button.stories.d.ts +0 -45
  784. package/dist/stories/Header.d.ts +0 -18
  785. package/dist/stories/Header.stories.d.ts +0 -17
  786. package/dist/stories/Page.d.ts +0 -18
  787. package/dist/stories/Page.stories.d.ts +0 -15
  788. package/dist/treeMenu/BaseTreeMenu.d.ts +0 -1
  789. package/dist/treeMenu/BaseTreeMenuItem.d.ts +0 -1
  790. package/dist/udp/ShortcutContent/ListSearch.d.ts +0 -1
  791. package/dist/udp/ShortcutContent/ShortcutContentFinder.d.ts +0 -1
  792. package/dist/udp/export/ExportSidesheet.d.ts +0 -1
  793. package/dist/udp/export/MyExportsPage.d.ts +0 -1
  794. package/dist/udp/export/VisualSearchObject.d.ts +0 -3
  795. package/dist/udp/export/useUdpExport.d.ts +0 -14
  796. package/dist/udp/fileImportMapping/FileImportConfigCard.d.ts +0 -1
  797. package/dist/udp/fileImportMapping/FileImportMappingEnums.d.ts +0 -6
  798. package/dist/udp/fileImportMapping/FileImportMappingWizard.d.ts +0 -2
  799. package/dist/udp/fileImportMapping/ImportDataFromFileMapping.d.ts +0 -1
  800. package/dist/udp/fileImportMapping/SampleFileImportGrid.d.ts +0 -1
  801. package/dist/udp/fileImportMapping/fileUtils.d.ts +0 -3
  802. package/dist/udp/pages/ChatUDP.d.ts +0 -2
  803. package/dist/udp/pages/UdpDataBrowserPage.d.ts +0 -3
  804. package/dist/udp/pages/UdpFormsBuilderPage.d.ts +0 -2
  805. package/dist/udp/pages/UdpFormsListPage.d.ts +0 -2
  806. package/dist/udp/pages/UdpGridPanelManagementPage.d.ts +0 -2
  807. package/dist/udp/pages/UdpGridPanelManagementSidesheet.d.ts +0 -2
  808. package/dist/udp/pages/UdpImportFromFileMappingPage.d.ts +0 -2
  809. package/dist/udp/pages/UdpInquiryMaintenanceEnginePage.d.ts +0 -2
  810. package/dist/udp/pages/UdpMaintenanceConfigPage.d.ts +0 -1
  811. package/dist/udp/pages/UdpMaintenanceEnginePage.d.ts +0 -2
  812. package/dist/udp/pages/UdpNotesPage.d.ts +0 -2
  813. package/dist/udp/pages/UdpPrivateForm.d.ts +0 -2
  814. package/dist/udp/pages/UdpPublicForm.d.ts +0 -2
  815. package/dist/udp/pages/UdpRemindersPage.d.ts +0 -2
  816. package/dist/udp/pages/UdpReportsPage.d.ts +0 -2
  817. package/dist/udp/pages/UdpVerticalManagementPage.d.ts +0 -2
  818. package/dist/udp/pages/UdpVerticalManagementSidesheet.d.ts +0 -2
  819. package/dist/udp/pages/udpPages.d.ts +0 -40
  820. package/dist/udp/utilities/methodUtils.d.ts +0 -5
  821. package/dist/udp-react-enterprise-component-library.css +0 -1
  822. package/dist/uploader/DragDropFileUpload.d.ts +0 -12
  823. package/dist/uploader/FileProfile.d.ts +0 -2
  824. package/dist/uploader/FileType.d.ts +0 -1
  825. package/dist/uploader/FileUpload.d.ts +0 -2
  826. package/dist/uploader/ImagePreview.d.ts +0 -2
  827. package/dist/utilities/CustomNavigationClient.d.ts +0 -11
  828. package/dist/utilities/DemoJuly/redirectToProduct.d.ts +0 -1
  829. package/dist/utilities/FluentIcon.d.ts +0 -1
  830. package/dist/utilities/TrimForAvatar.d.ts +0 -1
  831. package/dist/utilities/UnityFluentIcon.d.ts +0 -1
  832. package/dist/utilities/UnityIcon.d.ts +0 -1
  833. package/dist/utilities/aggrid/AgTable.d.ts +0 -33
  834. package/dist/utilities/aggrid/GridFunctions.d.ts +0 -13
  835. package/dist/utilities/aggrid/SplitButton.d.ts +0 -1
  836. package/dist/utilities/aggrid/aggridHelpers.d.ts +0 -1
  837. package/dist/utilities/aggrid/datasources/SearchServiceDatasource.d.ts +0 -4
  838. package/dist/utilities/apiHelpers.d.ts +0 -7
  839. package/dist/utilities/auth/AuthDialogs.d.ts +0 -2
  840. package/dist/utilities/auth/AuthProvider.d.ts +0 -5
  841. package/dist/utilities/auth/AuthProviderWrapper.d.ts +0 -1
  842. package/dist/utilities/auth/UserProvider.d.ts +0 -2
  843. package/dist/utilities/auth/authActions.d.ts +0 -9
  844. package/dist/utilities/auth/internal.d.ts +0 -9
  845. package/dist/utilities/auth/signInAuthProvider.d.ts +0 -5
  846. package/dist/utilities/auth/useAccessToken.d.ts +0 -1
  847. package/dist/utilities/auth/useAuthedUser.d.ts +0 -15
  848. package/dist/utilities/auth/useIsUnityAuthenticated.d.ts +0 -1
  849. package/dist/utilities/auth/useSingleLogout.d.ts +0 -1
  850. package/dist/utilities/auth/useUser.d.ts +0 -8
  851. package/dist/utilities/auth/user.d.ts +0 -29
  852. package/dist/utilities/auth/users.d.ts +0 -8
  853. package/dist/utilities/auth/whitelistedPaths.d.ts +0 -1
  854. package/dist/utilities/axiosInterceptors.d.ts +0 -2
  855. package/dist/utilities/brand.d.ts +0 -19
  856. package/dist/utilities/chatBot/ChatBotContext.d.ts +0 -1
  857. package/dist/utilities/chatBot/ChatBotProvider.d.ts +0 -3
  858. package/dist/utilities/chatBot/useChatBot.d.ts +0 -6
  859. package/dist/utilities/crud/useDefaultFormValues.d.ts +0 -6
  860. package/dist/utilities/customIcons/ApprovalIcon.d.ts +0 -1
  861. package/dist/utilities/customIcons/RejectIcon.d.ts +0 -1
  862. package/dist/utilities/entities/entityUtilities.d.ts +0 -3
  863. package/dist/utilities/floorplanFunctions/gridVisualizationFunctions.d.ts +0 -2
  864. package/dist/utilities/form/AltSubmitButton.d.ts +0 -13
  865. package/dist/utilities/form/Field.d.ts +0 -22
  866. package/dist/utilities/form/Form.d.ts +0 -7
  867. package/dist/utilities/form/FormButtons.d.ts +0 -2
  868. package/dist/utilities/form/FormError.d.ts +0 -7
  869. package/dist/utilities/form/FormSpy.d.ts +0 -10
  870. package/dist/utilities/form/SubmitButton.d.ts +0 -13
  871. package/dist/utilities/form/arrayMutators.d.ts +0 -2
  872. package/dist/utilities/form/final-form-scroll/createDecorator.d.ts +0 -5
  873. package/dist/utilities/form/final-form-scroll/findInput.d.ts +0 -2
  874. package/dist/utilities/form/final-form-scroll/getAllInputs.d.ts +0 -2
  875. package/dist/utilities/form/final-form-scroll/isFocusableInput.d.ts +0 -2
  876. package/dist/utilities/form/formHooks.d.ts +0 -3
  877. package/dist/utilities/form/index.d.ts +0 -9
  878. package/dist/utilities/form/paymentForm/AccountPayment.model.d.ts +0 -143
  879. package/dist/utilities/form/paymentForm/BankAccountForm.d.ts +0 -48
  880. package/dist/utilities/form/paymentForm/BankIcon.d.ts +0 -8
  881. package/dist/utilities/form/paymentForm/CashForm.d.ts +0 -9
  882. package/dist/utilities/form/paymentForm/CashIcon.d.ts +0 -8
  883. package/dist/utilities/form/paymentForm/CheckIcon.d.ts +0 -8
  884. package/dist/utilities/form/paymentForm/CreditCardAdornment.d.ts +0 -12
  885. package/dist/utilities/form/paymentForm/CreditCardForm.d.ts +0 -41
  886. package/dist/utilities/form/paymentForm/CreditCardIcon.d.ts +0 -8
  887. package/dist/utilities/form/paymentForm/CreditCardUtils.d.ts +0 -42
  888. package/dist/utilities/form/paymentForm/DisableOverlay.d.ts +0 -7
  889. package/dist/utilities/form/paymentForm/HostedPaymentError.d.ts +0 -20
  890. package/dist/utilities/form/paymentForm/NewCreditCardForm.d.ts +0 -19
  891. package/dist/utilities/form/paymentForm/NewECheckForm.d.ts +0 -15
  892. package/dist/utilities/form/paymentForm/PaymentAccount.model.d.ts +0 -81
  893. package/dist/utilities/form/paymentForm/PaymentBankDetails.d.ts +0 -12
  894. package/dist/utilities/form/paymentForm/PaymentBoxDetail.d.ts +0 -32
  895. package/dist/utilities/form/paymentForm/PaymentCard.d.ts +0 -12
  896. package/dist/utilities/form/paymentForm/PaymentCardDetail.d.ts +0 -19
  897. package/dist/utilities/form/paymentForm/PaymentDropdown.d.ts +0 -32
  898. package/dist/utilities/form/paymentForm/PaymentForm.d.ts +0 -77
  899. package/dist/utilities/form/paymentForm/TabPanel.d.ts +0 -20
  900. package/dist/utilities/form/paymentForm/usePaymentProviderForm.d.ts +0 -12
  901. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts +0 -40
  902. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts +0 -46
  903. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +0 -13
  904. package/dist/utilities/form/useFieldChangeListener.d.ts +0 -7
  905. package/dist/utilities/iconLibrary/IconLibrary.d.ts +0 -2
  906. package/dist/utilities/iconLibrary/IconLibraryComponent.d.ts +0 -7
  907. package/dist/utilities/iconLibrary/SelectedLibraryItem.d.ts +0 -2
  908. package/dist/utilities/iconLibrary/UnityIconLibrary.d.ts +0 -7
  909. package/dist/utilities/input/DateUtilities.d.ts +0 -2
  910. package/dist/utilities/input/SelectUtilities.d.ts +0 -3
  911. package/dist/utilities/input/StringUtilities.d.ts +0 -7
  912. package/dist/utilities/isValueSelected.d.ts +0 -1
  913. package/dist/utilities/maintenanceEngine/CrudBrowserUtilities.d.ts +0 -5
  914. package/dist/utilities/menus/menuUtilities.d.ts +0 -1
  915. package/dist/utilities/menus/redirectToLink.d.ts +0 -1
  916. package/dist/utilities/page/PageSubHeaderAction.d.ts +0 -11
  917. package/dist/utilities/provider/ActionProvider.d.ts +0 -1
  918. package/dist/utilities/redirect/ExternalRedirectUrlStorage.d.ts +0 -3
  919. package/dist/utilities/redirect/LocalRedirectUrlStorage.d.ts +0 -5
  920. package/dist/utilities/redirect/pages/OutlookCallback.d.ts +0 -1
  921. package/dist/utilities/rules/RuleUtilities.d.ts +0 -5
  922. package/dist/utilities/search/Search.d.ts +0 -37
  923. package/dist/utilities/search/SearchUtilities.d.ts +0 -12
  924. package/dist/utilities/storage/UnitySessionStorage.d.ts +0 -4
  925. package/dist/utilities/stringUtils.d.ts +0 -8
  926. package/dist/utilities/style/ContentContainer.d.ts +0 -11
  927. package/dist/utilities/style/colorConverter.d.ts +0 -3
  928. package/dist/utilities/style/colors.d.ts +0 -107
  929. package/dist/utilities/style/utils/styleUtils.d.ts +0 -2
  930. package/dist/utilities/style/verticalStyles.d.ts +0 -4
  931. package/dist/utilities/systemColors.d.ts +0 -1
  932. package/dist/utilities/tenant/TenantProvider.d.ts +0 -3
  933. package/dist/utilities/tenant/tenantContext.d.ts +0 -1
  934. package/dist/utilities/tenant/useTenant.d.ts +0 -6
  935. package/dist/utilities/theme.d.ts +0 -3
  936. package/dist/utilities/theme.types.d.ts +0 -11
  937. package/dist/utilities/tree/TreeUtilities.d.ts +0 -74
  938. package/dist/utilities/types.d.ts +0 -31
  939. package/dist/utilities/uploader/FileProfile.d.ts +0 -2
  940. package/dist/utilities/uploader/FileType.d.ts +0 -1
  941. package/dist/utilities/uploader/FileUpload.d.ts +0 -1
  942. package/dist/utilities/uploader/ImagePreview.d.ts +0 -2
  943. package/dist/utilities/uploader/formatBytes.d.ts +0 -1
  944. package/dist/utilities/useAxiosGet.d.ts +0 -10
  945. package/dist/utilities/useAxiosMutate.d.ts +0 -6
  946. package/dist/utilities/useDevicePixelRatio.d.ts +0 -6
  947. package/dist/utilities/useGravatar.d.ts +0 -10
  948. package/dist/utilities/usePrevious.d.ts +0 -1
  949. package/dist/utilities/utilityBar/InquiryHeaderControl.d.ts +0 -11
  950. package/dist/utilities/utilityBar/InquiryHeaderSecondary.d.ts +0 -11
  951. package/dist/utilities/utilityBar/InquiryHeaderSecondaryAlert.d.ts +0 -11
  952. package/dist/utilities/utilityBar/InquiryHeaderTitle.d.ts +0 -11
  953. package/dist/utilities/utilityBar/SubHeaderAction.d.ts +0 -11
  954. package/dist/utilities/utilityBar/UtilityBarInport.d.ts +0 -11
  955. package/dist/utilities/workflow/workflowUtilities.d.ts +0 -47
  956. package/dist/workflow/WorkflowContainer.d.ts +0 -1
  957. package/dist/workflow/WorkflowContent.d.ts +0 -1
  958. package/dist/workflow/WorkflowUiInterruptContent.d.ts +0 -1
  959. package/dist/workflow/components/WorkflowTaskFlow.d.ts +0 -1
  960. package/dist/workflow/menus/WorkflowTreeMenu.d.ts +0 -1
  961. package/dist/workflow/menus/WorkflowTreeMenuItem.d.ts +0 -1
@@ -0,0 +1,2277 @@
1
+ import { __commonJS, __toESM } from "./chunk-Cn1u12Og.js";
2
+ import { APP_RIBBON_SPACE, CardinalityTypeEnums, FluentButton, FluentIconButton, LayoutUnit, NodeGroupOutlierEnums, NodeGroupTypeEnums, SeverityTypeEnums, StatusChip, executeQueryInstance, getEllipseColor, toLowerFirstChar, toUpperFirstChar, useAxiosGet, useBuildEnvironment } from "./EnvironmentRibbon-DBJftQWQ.js";
3
+ import { getSearchIdentifiers, getSearchObject } from "./SearchUtilities-Bl4U_j-0.js";
4
+ import React, { memo, useCallback, useEffect, useMemo, useState } from "react";
5
+ import { Button, ButtonBase, CardContent, CardMedia, CircularProgress, Collapse, Paper, Typography, lighten, makeStyles, useTheme } from "@material-ui/core";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { ConfigService } from "udp-react-stencil-component-library";
8
+ import clsx from "clsx";
9
+ import * as Icons from "@fluentui/react-icons";
10
+ import { ArrowUpRightIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, DeleteIcon, EditIcon } from "@fluentui/react-icons";
11
+ import PropTypes from "prop-types";
12
+ import { cloneDeep, orderBy } from "lodash";
13
+ import { useTranslation } from "react-i18next";
14
+ import jsonLogic from "json-logic-js";
15
+ import { v4 } from "uuid";
16
+ import Sewer from "./assets/unityIcons/Sewer.svg";
17
+ import WaterDrop from "./assets/unityIcons/WaterDrop.svg";
18
+ import { createTeleporter } from "react-teleporter";
19
+ import { Alert } from "@material-ui/lab";
20
+ import Skeleton$1 from "@material-ui/lab/Skeleton";
21
+ import { ResizableBox } from "react-resizable";
22
+
23
+ //#region src/utilities/rules/RuleUtilities.js
24
+ /**
25
+ * Constructs an array of object from the object map.
26
+ *
27
+ * @param {Object} obj ex: {"a": "customerID", "b": "firstName"}
28
+ * @returns an array of object ex. [{"variable": "a", "value": "serviceLocationID"}, {"variable": "b", "value" "firstName"}]
29
+ */
30
+ const getPropertyMappingList = (obj) => {
31
+ const mappings = [];
32
+ if (obj) {
33
+ const keys = Object.keys(obj);
34
+ keys.forEach((key) => {
35
+ const mappingObj = {
36
+ variable: key,
37
+ value: obj[key]
38
+ };
39
+ mappings.push(mappingObj);
40
+ });
41
+ }
42
+ return mappings;
43
+ };
44
+ /**
45
+ * Constructs a map object where variables are keys and values are the values.
46
+ *
47
+ * @param {Array<Object>} properties ex. [{"variable": "a", "value": "serviceLocationID"}, {"variable": "b", "value" "firstName"}]
48
+ * @returns mapped object ex: {"a": "customerID", "b": "firstName"}
49
+ */
50
+ const getPropertyMappingObj = (properties) => {
51
+ const mapping = {};
52
+ if (properties === null || properties === void 0 ? void 0 : properties.length) properties.forEach((property) => {
53
+ mapping[property.variable] = property.value;
54
+ });
55
+ return mapping;
56
+ };
57
+ /**
58
+ * Maps the keys of mapping to the values of data.
59
+ *
60
+ * @param {Object} mapping ex: {"a": "customerID", "b": "firstName"}
61
+ * @param {Object} data ex: {"customerID": 1001, "firstName": "John"}
62
+ * @returns flat object ex: {"a": 1001, "b": "John"}
63
+ */
64
+ const mapRuleData = (mapping, data) => {
65
+ const mappedData = {};
66
+ if (mapping && mapping.length) {
67
+ const keys = Object.keys(mapping);
68
+ keys.forEach((key) => {
69
+ const dataKey = mapping[key];
70
+ if (dataKey) {
71
+ const dataValue = data[dataKey];
72
+ mappedData[key] = dataValue;
73
+ }
74
+ });
75
+ }
76
+ return mappedData;
77
+ };
78
+ /**
79
+ * Maps the mapping values in the mapping object to the variables in the rule.
80
+ *
81
+ * @param {Object} mapping ex: {"a": "customerID", "b": "firstName"}
82
+ * @param {Object} rule ex: {"or": [{"==": [{"var": "a"}, 400]}, {"==": [{"var": "b"}, John]}]}
83
+ * @returns jsonLogic object with the correct variable names ex: [{"==": [{"var": "customerID"}, 400]}, {"==": [{"var": "firstName"}, John]}]
84
+ */
85
+ const mapRule = (mapping = {}, rule = "") => {
86
+ const keys = Object.keys(mapping);
87
+ let updatedJsonLogic = JSON.stringify(rule);
88
+ keys.forEach((key) => {
89
+ const substr = JSON.stringify({ var: key });
90
+ const newSubstr = JSON.stringify({ var: mapping[key] });
91
+ updatedJsonLogic = updatedJsonLogic.replaceAll(substr, newSubstr);
92
+ });
93
+ try {
94
+ return JSON.parse(updatedJsonLogic);
95
+ } catch (err) {
96
+ console.err("Error with parsing JSON Logic String");
97
+ return {};
98
+ }
99
+ };
100
+ /**
101
+ * Evaluates the rule with provided data.
102
+ *
103
+ * @param {Object} rule ex: {"or": [{"==": [{"var": "customerID"}, 400]}, {"==": [{"var": "firstName"}, John]}]}
104
+ * @param {Object} data ex: {"customerID": 1001, "firstName": "John"}
105
+ * @param {string} objectKey ex: "users"
106
+ * @param {boolean} dataLazyLoaded ex: "true"
107
+ * @returns the evaluated rule ex: true
108
+ */
109
+ const evaluateRule = (rule, data, objectKey, dataLazyLoaded) => {
110
+ let formattedData = {};
111
+ if (objectKey && dataLazyLoaded) formattedData[objectKey] = data[objectKey] ? data[objectKey] : data;
112
+ else formattedData = data;
113
+ return jsonLogic.apply(rule, formattedData);
114
+ };
115
+
116
+ //#endregion
117
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js
118
+ var require_typeof = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js": ((exports, module) => {
119
+ function _typeof$2(o) {
120
+ "@babel/helpers - typeof";
121
+ return module.exports = _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
122
+ return typeof o$1;
123
+ } : function(o$1) {
124
+ return o$1 && "function" == typeof Symbol && o$1.constructor === Symbol && o$1 !== Symbol.prototype ? "symbol" : typeof o$1;
125
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof$2(o);
126
+ }
127
+ module.exports = _typeof$2, module.exports.__esModule = true, module.exports["default"] = module.exports;
128
+ }) });
129
+
130
+ //#endregion
131
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js
132
+ var require_toPrimitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js": ((exports, module) => {
133
+ var _typeof$1 = require_typeof()["default"];
134
+ function toPrimitive$1(t, r) {
135
+ if ("object" != _typeof$1(t) || !t) return t;
136
+ var e = t[Symbol.toPrimitive];
137
+ if (void 0 !== e) {
138
+ var i = e.call(t, r || "default");
139
+ if ("object" != _typeof$1(i)) return i;
140
+ throw new TypeError("@@toPrimitive must return a primitive value.");
141
+ }
142
+ return ("string" === r ? String : Number)(t);
143
+ }
144
+ module.exports = toPrimitive$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
145
+ }) });
146
+
147
+ //#endregion
148
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js
149
+ var require_toPropertyKey = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js": ((exports, module) => {
150
+ var _typeof = require_typeof()["default"];
151
+ var toPrimitive = require_toPrimitive();
152
+ function toPropertyKey$1(t) {
153
+ var i = toPrimitive(t, "string");
154
+ return "symbol" == _typeof(i) ? i : i + "";
155
+ }
156
+ module.exports = toPropertyKey$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
157
+ }) });
158
+
159
+ //#endregion
160
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js
161
+ var require_defineProperty = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js": ((exports, module) => {
162
+ var toPropertyKey = require_toPropertyKey();
163
+ function _defineProperty$1(e, r, t) {
164
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
165
+ value: t,
166
+ enumerable: !0,
167
+ configurable: !0,
168
+ writable: !0
169
+ }) : e[r] = t, e;
170
+ }
171
+ module.exports = _defineProperty$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
172
+ }) });
173
+
174
+ //#endregion
175
+ //#region src/models/GroupNode.ts
176
+ var import_defineProperty = /* @__PURE__ */ __toESM(require_defineProperty(), 1);
177
+ var GroupNode = class {
178
+ constructor(node) {
179
+ (0, import_defineProperty.default)(this, "id", void 0);
180
+ (0, import_defineProperty.default)(this, "isGroupNode", void 0);
181
+ (0, import_defineProperty.default)(this, "groupType", void 0);
182
+ (0, import_defineProperty.default)(this, "children", void 0);
183
+ (0, import_defineProperty.default)(this, "isExpanded", void 0);
184
+ (0, import_defineProperty.default)(this, "parentId", void 0);
185
+ (0, import_defineProperty.default)(this, "parentGroupId", void 0);
186
+ (0, import_defineProperty.default)(this, "properties", void 0);
187
+ (0, import_defineProperty.default)(this, "isOutlierGroup", void 0);
188
+ (0, import_defineProperty.default)(this, "hideEmptyGroups", void 0);
189
+ this.id = node.id || v4();
190
+ this.isGroupNode = true;
191
+ this.hideEmptyGroups = node.hideEmptyGroups || false;
192
+ this.groupType = node.groupType || NodeGroupTypeEnums.Static;
193
+ this.children = node.children || [];
194
+ this.isExpanded = node.isExpanded || false;
195
+ this.parentId = node.parentId || null;
196
+ this.parentGroupId = node.parentGroupId || null;
197
+ this.properties = node.properties ? {
198
+ propertyMapping: null,
199
+ jsonLogic: null,
200
+ icon: {
201
+ name: "GroupedListIcon",
202
+ type: "",
203
+ color: ""
204
+ },
205
+ ...node.properties
206
+ } : {
207
+ propertyMapping: null,
208
+ jsonLogic: null,
209
+ icon: {
210
+ name: "GroupedListIcon",
211
+ type: "",
212
+ color: ""
213
+ }
214
+ };
215
+ this.isOutlierGroup = node.isOutlierGroup || false;
216
+ }
217
+ };
218
+
219
+ //#endregion
220
+ //#region src/utilities/tree/TreeUtilities.js
221
+ const makeTreeStructure = (treeData, key, parentKey, parentGroupKey = "parentGroupId") => {
222
+ if (!treeData) return [];
223
+ const keys = [];
224
+ treeData.forEach((node) => {
225
+ node.children = [];
226
+ if (node["isExpanded"] === void 0 && !node.isGroupNode) if (node.properties.defaultDisplay === "collapsed" || node.properties.lazyLoad) node.isExpanded = false;
227
+ else node.isExpanded = true;
228
+ keys.push(node[key]);
229
+ });
230
+ const roots = treeData.filter((node) => {
231
+ return !((node === null || node === void 0 ? void 0 : node.isGroupNode) ? node[parentGroupKey] : node[parentKey]);
232
+ });
233
+ const nodes = [];
234
+ const existingGroups = [];
235
+ roots.forEach((root) => {
236
+ nodes.push(root);
237
+ });
238
+ while (nodes.length > 0) {
239
+ const node = nodes.pop();
240
+ let children = treeData.filter((data) => data[parentKey] === node[key] || data[parentGroupKey] === node[key]);
241
+ children.forEach((child) => {
242
+ if (child === null || child === void 0 ? void 0 : child.isGroupNode) {
243
+ const existingGroup = existingGroups.find((eg) => eg.id === child.id && eg.parentGroupId === child.parentGroupId);
244
+ if (!existingGroup) {
245
+ existingGroups.push(child);
246
+ node.children.push(child);
247
+ nodes.push(child);
248
+ }
249
+ } else if (node.isGroupNode && child.parentGroupId || !node.isGroupNode && !child.parentGroupId) {
250
+ node.children.push(child);
251
+ nodes.push(child);
252
+ }
253
+ });
254
+ }
255
+ const removeEmptyGroupNodes = (node) => {
256
+ var _node$children;
257
+ if ((node === null || node === void 0 ? void 0 : node.isGroupNode) && (node === null || node === void 0 ? void 0 : node.hideEmptyGroups) && !(node === null || node === void 0 || (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children.length)) return null;
258
+ node.children = node.children.map(removeEmptyGroupNodes).filter((child) => child !== null);
259
+ return node;
260
+ };
261
+ const filteredRoots = roots.map(removeEmptyGroupNodes).filter((root) => root !== null);
262
+ if (filteredRoots.length === 1) return filteredRoots[0];
263
+ return filteredRoots;
264
+ };
265
+ const makeTreeStaticGroupStructure = (treeData, key, parentKey, groupType = NodeGroupTypeEnums.Static, hideEmptyGroups) => {
266
+ if (!treeData) return [];
267
+ const keys = [];
268
+ treeData.forEach((node, index) => {
269
+ const { id, hideEmptyGroups: hideEmptyGroups$1, children, apiMethodInstanceId, parentGroupId, order, isExpanded,...groupProperties } = node;
270
+ treeData[index] = new GroupNode({
271
+ id,
272
+ groupType,
273
+ children,
274
+ parentId: parentGroupId,
275
+ parentGroupId,
276
+ isExpanded,
277
+ properties: { ...groupProperties }
278
+ });
279
+ keys.push(node[key]);
280
+ });
281
+ const roots = treeData.filter((node) => keys.indexOf(node[parentKey]) === -1);
282
+ const nodes = [];
283
+ roots.forEach((root) => {
284
+ nodes.push(root);
285
+ });
286
+ while (nodes.length > 0) {
287
+ const node = nodes.pop();
288
+ let children = treeData.filter((data) => data[parentKey] === node[key]);
289
+ children.forEach((child) => {
290
+ node.children.push(child);
291
+ nodes.push(child);
292
+ });
293
+ }
294
+ if (roots.length === 1) return roots[0];
295
+ return roots;
296
+ };
297
+ const makeDynamicGroupStructures = (treeStructure, results) => {
298
+ if (!treeStructure) return [];
299
+ const groupStructures = [];
300
+ results.forEach((item) => {
301
+ processDynamicGroupForCurrentNodeLevel(item, treeStructure, groupStructures, groupStructures);
302
+ });
303
+ return groupStructures;
304
+ };
305
+ const processDynamicGroupForCurrentNodeLevel = (item, node, groupStructures, previousFilteredGroups = []) => {
306
+ const { property, id } = node;
307
+ const label = property ? getLabelFromProperty(item, property) : null;
308
+ let filteredGroups = [];
309
+ previousFilteredGroups.forEach((group) => {
310
+ if (group) {
311
+ const foundGroups = findNodesByIdAndLabel(group, id, label);
312
+ if (foundGroups.length) filteredGroups = filteredGroups.concat(foundGroups);
313
+ }
314
+ });
315
+ if (filteredGroups.length) {
316
+ var _node$children2;
317
+ if (node === null || node === void 0 || (_node$children2 = node.children) === null || _node$children2 === void 0 ? void 0 : _node$children2.length) node.children.forEach((child) => processDynamicGroupForCurrentNodeLevel(item, child, groupStructures, filteredGroups));
318
+ } else if (label) {
319
+ const dynamicGroupTree = makeDynamicGroupTree(node, item);
320
+ if (node.parentGroupId) previousFilteredGroups.forEach((filteredGroup) => {
321
+ const matchingGroupNode = findNodeById(filteredGroup, node.parentGroupId);
322
+ if (matchingGroupNode) {
323
+ dynamicGroupTree.parentGroupId = matchingGroupNode.id;
324
+ matchingGroupNode.children.push(dynamicGroupTree);
325
+ }
326
+ });
327
+ else groupStructures.push(dynamicGroupTree);
328
+ }
329
+ };
330
+ const makeDynamicGroupTree = (node, item, parentGroupNode) => {
331
+ const { id, children, apiMethodInstanceId, parentGroupId, order, property, label, isExpanded,...groupProperties } = node;
332
+ const updatedLabel = property ? getLabelFromProperty(item, property) : null;
333
+ if (updatedLabel) {
334
+ const groupNode = new GroupNode({
335
+ id: `${id}`,
336
+ groupType: NodeGroupTypeEnums.Dynamic,
337
+ children: [],
338
+ parentGroupId: (parentGroupNode === null || parentGroupNode === void 0 ? void 0 : parentGroupNode.id) || null,
339
+ isExpanded,
340
+ properties: {
341
+ label: updatedLabel,
342
+ ...groupProperties,
343
+ propertyKey: property
344
+ }
345
+ });
346
+ if (parentGroupNode) parentGroupNode.children.push(groupNode);
347
+ if (children === null || children === void 0 ? void 0 : children.length) children.forEach((child) => makeDynamicGroupTree(child, item, groupNode));
348
+ return groupNode;
349
+ }
350
+ };
351
+ const makeDynamicTreeStructure = (treeData, key, parentKey) => {
352
+ if (!treeData) return [];
353
+ const keys = [];
354
+ treeData.forEach((node, index) => {
355
+ keys.push(node[key]);
356
+ });
357
+ const roots = treeData.filter((node) => keys.indexOf(node[parentKey]) === -1);
358
+ const nodes = [];
359
+ roots.forEach((root) => {
360
+ nodes.push(root);
361
+ });
362
+ while (nodes.length > 0) {
363
+ const node = nodes.pop();
364
+ let children = treeData.filter((data) => data[parentKey] === node[key]);
365
+ children.forEach((child) => {
366
+ node.children.push(child);
367
+ nodes.push(child);
368
+ });
369
+ }
370
+ if (roots.length === 1) return roots[0];
371
+ return roots;
372
+ };
373
+ const getIconFromName = (name) => {
374
+ if (!name) return null;
375
+ const substr = name.slice(-4);
376
+ if (substr.toLowerCase() !== "icon") {
377
+ const updatedName = `${name}Icon`;
378
+ return Icons[updatedName] || null;
379
+ } else return Icons[name] || null;
380
+ };
381
+ const findLastNode = (tree) => {
382
+ var _tree$children;
383
+ let result = null;
384
+ if (!(tree === null || tree === void 0 || (_tree$children = tree.children) === null || _tree$children === void 0 ? void 0 : _tree$children.length)) return tree;
385
+ else {
386
+ if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => result = findLastNode(node));
387
+ return result;
388
+ }
389
+ };
390
+ const searchTree = (tree, id) => {
391
+ let result = null;
392
+ if (tree.id === id) return tree;
393
+ else {
394
+ if (tree.children) tree.children.some((node) => result = searchTree(node, id));
395
+ return result;
396
+ }
397
+ };
398
+ const deleteNode = (treeData, nodeId) => {
399
+ const updatedTreeData = [...treeData];
400
+ const foundNode = updatedTreeData.find((node) => node.id === nodeId);
401
+ const nodeIndex = updatedTreeData.findIndex((node) => node.id === nodeId);
402
+ if (!foundNode.parentId || !updatedTreeData.some((node) => node.parentId === nodeId)) {
403
+ if (nodeIndex > -1) updatedTreeData.splice(nodeIndex, 1);
404
+ const immediateChild = updatedTreeData.find((node) => node.parentId === nodeId);
405
+ if (immediateChild) immediateChild.parentId = null;
406
+ } else {
407
+ foundNode.isDeleted = true;
408
+ foundNode.properties = {};
409
+ }
410
+ return updatedTreeData;
411
+ };
412
+ const deleteNodeAndChildren = (treeData, nodeId) => {
413
+ const updatedTreeData = [...treeData];
414
+ const nodeIdsToDelete = [];
415
+ nodeIdsToDelete.push(nodeId);
416
+ getAllChildrenNodesToDelete(updatedTreeData, nodeId, nodeIdsToDelete);
417
+ return updatedTreeData.filter((node) => !nodeIdsToDelete.includes(node.id));
418
+ };
419
+ const getAllChildrenNodesToDelete = (treeData, nodeId, nodeIdsToDelete) => {
420
+ const nodesToDelete = treeData.filter((node) => node.parentId === nodeId);
421
+ nodesToDelete.forEach((node) => {
422
+ nodeIdsToDelete.push(node.id);
423
+ getAllChildrenNodesToDelete(treeData, node.id, nodeIdsToDelete);
424
+ });
425
+ };
426
+ const processCatalogObjectKeysInOrder = (tree, keys) => {
427
+ var _tree$children2;
428
+ if (!(tree === null || tree === void 0 || (_tree$children2 = tree.children) === null || _tree$children2 === void 0 ? void 0 : _tree$children2.length)) {
429
+ var _tree$properties;
430
+ keys.push(tree === null || tree === void 0 || (_tree$properties = tree.properties) === null || _tree$properties === void 0 ? void 0 : _tree$properties.catalogObjectKey);
431
+ } else if (tree === null || tree === void 0 ? void 0 : tree.children) {
432
+ var _tree$properties2;
433
+ if (tree === null || tree === void 0 || (_tree$properties2 = tree.properties) === null || _tree$properties2 === void 0 ? void 0 : _tree$properties2.catalogObjectKey) {
434
+ var _tree$properties3;
435
+ keys.push(tree === null || tree === void 0 || (_tree$properties3 = tree.properties) === null || _tree$properties3 === void 0 ? void 0 : _tree$properties3.catalogObjectKey);
436
+ }
437
+ tree.children.forEach((node) => processCatalogObjectKeysInOrder(node, keys));
438
+ }
439
+ };
440
+ const processOrderedTreeData = (tree, treeData) => {
441
+ var _tree$children3;
442
+ if (!(tree === null || tree === void 0 || (_tree$children3 = tree.children) === null || _tree$children3 === void 0 ? void 0 : _tree$children3.length)) treeData.push(tree);
443
+ else if (tree === null || tree === void 0 ? void 0 : tree.children) {
444
+ treeData.push(tree);
445
+ tree.children.forEach((node) => processOrderedTreeData(node, treeData));
446
+ }
447
+ };
448
+ const processObjectToTree = (result, treeData, objectReferenceKeys, treeList, catalogObjects, promotedEntities, wasLazyLoaded) => {
449
+ const treeArr = { ...treeData };
450
+ processReferences(result, objectReferenceKeys, treeArr, 0, treeList, null, catalogObjects, promotedEntities, wasLazyLoaded);
451
+ };
452
+ const processReferences = (reference, objectReferenceKeys, treeData, index, treeList, parentId, catalogObjects, promotedEntities, wasLazyLoaded) => {
453
+ const newIndex = index + 1;
454
+ if (reference) {
455
+ let node = parentId ? treeData[newIndex] : treeData[0];
456
+ let nodeGroups = [];
457
+ if (parentId) {
458
+ var _node$properties, _node$properties2;
459
+ if ((node === null || node === void 0 || (_node$properties = node.properties) === null || _node$properties === void 0 || (_node$properties = _node$properties.groupConfiguration) === null || _node$properties === void 0 ? void 0 : _node$properties.groupType) === NodeGroupTypeEnums.Static) nodeGroups = constructStaticNodeGroups(node, true);
460
+ else if ((node === null || node === void 0 || (_node$properties2 = node.properties) === null || _node$properties2 === void 0 || (_node$properties2 = _node$properties2.groupConfiguration) === null || _node$properties2 === void 0 ? void 0 : _node$properties2.groupType) === NodeGroupTypeEnums.Dynamic) nodeGroups = constructDynamicNodeGroups(reference, node, true);
461
+ }
462
+ if (Array.isArray(reference) && reference.length) reference.forEach((ref, i) => {
463
+ if (node) {
464
+ var _nodeCopy$children;
465
+ const nodeCopy = cloneDeep(node);
466
+ processObjIndex(nodeCopy, ref, i, parentId, catalogObjects, promotedEntities, wasLazyLoaded);
467
+ if (nodeGroups.length) {
468
+ var _node$properties3, _node$properties5;
469
+ if ((node === null || node === void 0 || (_node$properties3 = node.properties) === null || _node$properties3 === void 0 || (_node$properties3 = _node$properties3.groupConfiguration) === null || _node$properties3 === void 0 ? void 0 : _node$properties3.groupType) === NodeGroupTypeEnums.Static) {
470
+ var _node$properties4;
471
+ const groupedItemIndexes = /* @__PURE__ */ new Set();
472
+ let processedItem = {
473
+ itemAdded: false,
474
+ nodeChildren: []
475
+ };
476
+ nodeGroups.forEach((nodeGroup) => {
477
+ let nodeGroupChildren = [];
478
+ processedItem = processItemForStaticNodeGroup(nodeGroup, ref, groupedItemIndexes, nodeCopy, i, /* @__PURE__ */ new Set(), treeList);
479
+ nodeGroupChildren = nodeGroupChildren.concat(processedItem.nodeChildren);
480
+ mapNodeGroupChildren(nodeGroup, nodeGroupChildren);
481
+ nodeGroup.parentGroupId = nodeCopy.parentId;
482
+ });
483
+ if (!processedItem.itemAdded && (node === null || node === void 0 || (_node$properties4 = node.properties) === null || _node$properties4 === void 0 || (_node$properties4 = _node$properties4.groupConfiguration) === null || _node$properties4 === void 0 ? void 0 : _node$properties4.outlier) === NodeGroupOutlierEnums.Individual) {
484
+ const nodeIsHidden = checkNodeIsHidden(nodeCopy, ref, wasLazyLoaded);
485
+ !nodeIsHidden && treeList.push(nodeCopy);
486
+ }
487
+ } else if ((node === null || node === void 0 || (_node$properties5 = node.properties) === null || _node$properties5 === void 0 || (_node$properties5 = _node$properties5.groupConfiguration) === null || _node$properties5 === void 0 ? void 0 : _node$properties5.groupType) === NodeGroupTypeEnums.Dynamic) nodeGroups.forEach((nodeGroup) => {
488
+ nodeGroup.parentGroupId = nodeCopy.parentId;
489
+ nodeGroup.parentId = nodeCopy.parentId;
490
+ processGroupNodesAndAddToTreeList(nodeGroup, treeList, nodeCopy.parentId, ref, wasLazyLoaded);
491
+ });
492
+ } else {
493
+ const nodeIsHidden = checkNodeIsHidden(nodeCopy, ref, wasLazyLoaded);
494
+ !nodeIsHidden && treeList.push(nodeCopy);
495
+ }
496
+ if (nodeCopy === null || nodeCopy === void 0 || (_nodeCopy$children = nodeCopy.children) === null || _nodeCopy$children === void 0 ? void 0 : _nodeCopy$children.length) {
497
+ const objectReferenceKeysCopy = [...objectReferenceKeys];
498
+ nodeCopy.children.forEach((childNode, i$1) => {
499
+ var _childNode$properties;
500
+ const catalogObjectKey = childNode === null || childNode === void 0 || (_childNode$properties = childNode.properties) === null || _childNode$properties === void 0 ? void 0 : _childNode$properties.catalogObjectKey;
501
+ const nextIndex = objectReferenceKeysCopy.indexOf(catalogObjectKey);
502
+ if (!parentId) objectReferenceKeysCopy[nextIndex] = null;
503
+ processReferences(ref[catalogObjectKey], objectReferenceKeys, treeData, nextIndex, treeList, nodeCopy.id, catalogObjects, promotedEntities, nodeCopy.properties.lazyLoad);
504
+ });
505
+ }
506
+ }
507
+ });
508
+ else if (typeof reference === "object" && !Array.isArray(reference)) {
509
+ processObjIndex(node, reference, 0, parentId, catalogObjects, promotedEntities, wasLazyLoaded);
510
+ if (node) {
511
+ var _nodeCopy$children2;
512
+ const nodeCopy = cloneDeep(node);
513
+ const nodeIsHidden = checkNodeIsHidden(nodeCopy, reference, wasLazyLoaded);
514
+ !nodeIsHidden && treeList.push(nodeCopy);
515
+ if (nodeCopy === null || nodeCopy === void 0 || (_nodeCopy$children2 = nodeCopy.children) === null || _nodeCopy$children2 === void 0 ? void 0 : _nodeCopy$children2.length) {
516
+ const objectReferenceKeysCopy = [...objectReferenceKeys];
517
+ nodeCopy.children.forEach((childNode, i) => {
518
+ var _childNode$properties2;
519
+ const catalogObjectKey = childNode === null || childNode === void 0 || (_childNode$properties2 = childNode.properties) === null || _childNode$properties2 === void 0 ? void 0 : _childNode$properties2.catalogObjectKey;
520
+ const nextIndex = parentId ? newIndex : objectReferenceKeysCopy.indexOf(catalogObjectKey);
521
+ if (!parentId) objectReferenceKeysCopy[nextIndex] = null;
522
+ processReferences(reference[catalogObjectKey], objectReferenceKeys, treeData, nextIndex, treeList, nodeCopy.id, catalogObjects, promotedEntities, nodeCopy.properties.lazyLoad);
523
+ });
524
+ }
525
+ }
526
+ }
527
+ }
528
+ };
529
+ const processObjIndex = (node, obj, index, parentId, catalogObjects, promotedEntities, wasLazyLoaded) => {
530
+ var _node$properties10;
531
+ if (node.properties.conditionalNodeIconExpression) {
532
+ var _node$properties6;
533
+ const conditionalNodeIcon = evaluateRule(node.properties.conditionalNodeIconExpression, obj, (_node$properties6 = node.properties) === null || _node$properties6 === void 0 ? void 0 : _node$properties6.joiningEntityCatalogObjectKey, wasLazyLoaded);
534
+ if (conditionalNodeIcon) {
535
+ var _conditionalNodeIcon$;
536
+ node.properties["conditionalNodeIconName"] = (conditionalNodeIcon === null || conditionalNodeIcon === void 0 ? void 0 : conditionalNodeIcon.name) || "";
537
+ node.properties["conditionalNodeIconColor"] = conditionalNodeIcon === null || conditionalNodeIcon === void 0 || (_conditionalNodeIcon$ = conditionalNodeIcon.iconColor) === null || _conditionalNodeIcon$ === void 0 ? void 0 : _conditionalNodeIcon$.hex;
538
+ node.properties["conditionalNodeIconType"] = (conditionalNodeIcon === null || conditionalNodeIcon === void 0 ? void 0 : conditionalNodeIcon.type) || "";
539
+ } else {
540
+ node.properties["conditionalNodeIconName"] = "";
541
+ node.properties["conditionalNodeIconColor"] = "";
542
+ node.properties["conditionalNodeIconType"] = "";
543
+ }
544
+ }
545
+ if (node.properties.conditionalNodeAdornmentExpression || node.properties.conditionalIconExpression) {
546
+ var _node$properties7, _node$properties8;
547
+ const conditionalNodeAdornment = node.properties.conditionalNodeAdornmentExpression ? evaluateRule(node.properties.conditionalNodeAdornmentExpression, obj, (_node$properties7 = node.properties) === null || _node$properties7 === void 0 ? void 0 : _node$properties7.joiningEntityCatalogObjectKey, wasLazyLoaded) : evaluateRule(node.properties.conditionalIconExpression, obj, (_node$properties8 = node.properties) === null || _node$properties8 === void 0 ? void 0 : _node$properties8.joiningEntityCatalogObjectKey, wasLazyLoaded);
548
+ if (conditionalNodeAdornment) {
549
+ var _conditionalNodeAdorn;
550
+ node.properties["conditionalNodeAdornmentName"] = (conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 ? void 0 : conditionalNodeAdornment.name) || "";
551
+ node.properties["conditionalNodeAdornmentColor"] = conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 || (_conditionalNodeAdorn = conditionalNodeAdornment.iconColor) === null || _conditionalNodeAdorn === void 0 ? void 0 : _conditionalNodeAdorn.hex;
552
+ node.properties["conditionalNodeAdornmentType"] = (conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 ? void 0 : conditionalNodeAdornment.type) || "";
553
+ } else {
554
+ node.properties["conditionalNodeAdornmentName"] = "";
555
+ node.properties["conditionalNodeAdornmentColor"] = "";
556
+ node.properties["conditionalNodeAdornmentType"] = "";
557
+ }
558
+ }
559
+ if (node.properties.catalogReturnObject) {
560
+ var _node$properties9;
561
+ let searchIdentifiers = getSearchIdentifiers(catalogObjects, node.properties.catalogReturnObject);
562
+ node.properties["searchIdentifier"] = searchIdentifiers === null || searchIdentifiers === void 0 ? void 0 : searchIdentifiers.join(",");
563
+ const associatedTreePrimaryKeyMap = node.properties.associatedTreePrimaryKeyMap;
564
+ if (!!associatedTreePrimaryKeyMap) {
565
+ searchIdentifiers = Object.keys(associatedTreePrimaryKeyMap);
566
+ node.properties["searchIdentifier"] = searchIdentifiers;
567
+ }
568
+ node.properties["filterElements"] = [];
569
+ const searchValues = [];
570
+ const joiningEntityCatalogObjectKey = node === null || node === void 0 || (_node$properties9 = node.properties) === null || _node$properties9 === void 0 ? void 0 : _node$properties9.joiningEntityCatalogObjectKey;
571
+ searchIdentifiers.forEach((searchIdentifier) => {
572
+ var _searchValue;
573
+ const searchField = searchIdentifier ? searchIdentifier.charAt(0).toUpperCase() + searchIdentifier.slice(1) : "";
574
+ let searchValue = "";
575
+ let si = (associatedTreePrimaryKeyMap === null || associatedTreePrimaryKeyMap === void 0 ? void 0 : associatedTreePrimaryKeyMap[searchIdentifier]) ? associatedTreePrimaryKeyMap === null || associatedTreePrimaryKeyMap === void 0 ? void 0 : associatedTreePrimaryKeyMap[searchIdentifier] : searchIdentifier;
576
+ if (obj[si]) searchValue = obj[si];
577
+ else if (joiningEntityCatalogObjectKey) searchValue = obj[joiningEntityCatalogObjectKey] ? obj[joiningEntityCatalogObjectKey][si] : "";
578
+ node.properties["filterElements"].push({
579
+ searchField,
580
+ searchOperator: "=",
581
+ searchValue: (_searchValue = searchValue) !== null && _searchValue !== void 0 ? _searchValue : ""
582
+ });
583
+ searchValues.push(searchValue);
584
+ });
585
+ node.properties["searchValue"] = searchValues.toString();
586
+ }
587
+ node.properties["nodeLabel"] = getDisplayName(node, obj);
588
+ node.properties["nodeSubLabel"] = getDisplayDetails(node, obj);
589
+ node.properties["headerTitle"] = getHeaderTitle(node, obj);
590
+ node.parentId = parentId;
591
+ node["entityNodeParentId"] = parentId;
592
+ node.id = v4();
593
+ node.nodeObj = obj;
594
+ if (node === null || node === void 0 || (_node$properties10 = node.properties) === null || _node$properties10 === void 0 ? void 0 : _node$properties10.lazyLoad) node.lazyLoadChildrenArr = getLazyLoadChildrenArr(node, catalogObjects, promotedEntities);
595
+ };
596
+ const getEntityAssoc = (nodeEntity, node) => {
597
+ let entityAssoc = null;
598
+ if (nodeEntity) {
599
+ var _referenceProperty$ex;
600
+ const referenceProperty = nodeEntity.properties.find((property) => {
601
+ var _node$properties11;
602
+ if ((_node$properties11 = node.properties) === null || _node$properties11 === void 0 ? void 0 : _node$properties11.joiningEntityName) {
603
+ var _node$properties12;
604
+ return property.reference === ((_node$properties12 = node.properties) === null || _node$properties12 === void 0 ? void 0 : _node$properties12.joiningEntityName);
605
+ } else {
606
+ var _node$properties13;
607
+ return property.reference === ((_node$properties13 = node.properties) === null || _node$properties13 === void 0 ? void 0 : _node$properties13.catalogReturnObject);
608
+ }
609
+ });
610
+ entityAssoc = referenceProperty ? (_referenceProperty$ex = referenceProperty.extendedProperties) === null || _referenceProperty$ex === void 0 ? void 0 : _referenceProperty$ex.childEntityAssoc : null;
611
+ }
612
+ return entityAssoc;
613
+ };
614
+ const getLazyLoadChildrenArr = (node, catalogObjects, promotedEntities) => {
615
+ var _node$properties14;
616
+ const lazyLoadChildrenArr = [];
617
+ let defaultSearchIdentifiers = [];
618
+ if (node === null || node === void 0 || (_node$properties14 = node.properties) === null || _node$properties14 === void 0 ? void 0 : _node$properties14.catalogReturnObject) defaultSearchIdentifiers = getSearchIdentifiers(catalogObjects, node.properties.catalogReturnObject);
619
+ node && node.children && node.children.forEach((childNode) => {
620
+ var _childNode$properties3, _childNode$properties4, _childNode$properties5;
621
+ const lazyNodeSearchObj = {
622
+ apiMethodId: null,
623
+ data: null,
624
+ parentNodeRefKey: (_childNode$properties3 = childNode.properties) === null || _childNode$properties3 === void 0 ? void 0 : _childNode$properties3.catalogObjectKey,
625
+ catalogReturnObject: (_childNode$properties4 = childNode.properties) === null || _childNode$properties4 === void 0 ? void 0 : _childNode$properties4.catalogReturnObject
626
+ };
627
+ const entityName = (_childNode$properties5 = childNode.properties) === null || _childNode$properties5 === void 0 ? void 0 : _childNode$properties5.catalogReturnObject;
628
+ const promotedEntity = promotedEntities === null || promotedEntities === void 0 ? void 0 : promotedEntities.find((pe) => pe.entityName === entityName);
629
+ let searchIdentifiers = [];
630
+ const filterElements = [];
631
+ if (promotedEntity) {
632
+ let baseSearch = promotedEntity.unityBaseSearchMethod;
633
+ let childBaseSearch = promotedEntity.unityBaseSearchMethod;
634
+ const nodeEntity = catalogObjects === null || catalogObjects === void 0 ? void 0 : catalogObjects.find((co) => {
635
+ var _node$properties15;
636
+ return co.catalogObjectName === ((_node$properties15 = node.properties) === null || _node$properties15 === void 0 ? void 0 : _node$properties15.catalogReturnObject);
637
+ });
638
+ let isManyToManySearch = false;
639
+ let usingJoiningTableForSearch = false;
640
+ if (nodeEntity) {
641
+ const childEntityAssoc = getEntityAssoc(nodeEntity, childNode);
642
+ let joiningEntityName = null;
643
+ let promotedEntityForJoiningTable = null;
644
+ if (childEntityAssoc.Cardinality === CardinalityTypeEnums.Many_To_Many) {
645
+ var _childNode$properties6;
646
+ isManyToManySearch = true;
647
+ lazyNodeSearchObj["manyToManyKeys"] = [];
648
+ joiningEntityName = (_childNode$properties6 = childNode.properties) === null || _childNode$properties6 === void 0 ? void 0 : _childNode$properties6.joiningEntityName;
649
+ promotedEntityForJoiningTable = promotedEntities === null || promotedEntities === void 0 ? void 0 : promotedEntities.find((pe) => pe.entityName === joiningEntityName);
650
+ if (promotedEntityForJoiningTable === null || promotedEntityForJoiningTable === void 0 ? void 0 : promotedEntityForJoiningTable.unityBaseSearchMethod) {
651
+ baseSearch = promotedEntityForJoiningTable.unityBaseSearchMethod;
652
+ lazyNodeSearchObj.manyToManyJointEntityApiMethodId = childBaseSearch === null || childBaseSearch === void 0 ? void 0 : childBaseSearch.apiMethodId;
653
+ usingJoiningTableForSearch = true;
654
+ }
655
+ const childNodeEntity = catalogObjects.find((co) => {
656
+ var _childNode$properties7;
657
+ return co.catalogObjectName === ((_childNode$properties7 = childNode.properties) === null || _childNode$properties7 === void 0 ? void 0 : _childNode$properties7.catalogReturnObject);
658
+ });
659
+ const entityAssoc = getEntityAssoc(childNodeEntity, childNode);
660
+ if (entityAssoc && Object.keys(entityAssoc).length) entityAssoc.Keys.forEach((keyVal) => {
661
+ const keyValArr = keyVal.split(",");
662
+ const foreignKeyName = keyValArr[0] ? keyValArr[0].trim() : "";
663
+ const parentIdentifierName = keyValArr[1] ? keyValArr[1].trim() : "";
664
+ const searchValueKey = /^[A-Z]*$/.test(parentIdentifierName) ? parentIdentifierName.toLowerCase() : toLowerFirstChar(parentIdentifierName);
665
+ lazyNodeSearchObj["manyToManyKeys"].push({
666
+ searchItemIdentifier: usingJoiningTableForSearch ? /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : toLowerFirstChar(foreignKeyName) : searchValueKey,
667
+ searchNameKey: foreignKeyName,
668
+ searchValueKey
669
+ });
670
+ });
671
+ }
672
+ if (childEntityAssoc && Object.keys(childEntityAssoc).length) childEntityAssoc.Keys.forEach((keyVal) => {
673
+ const keyValArr = keyVal.split(",");
674
+ let searchJoiningEntity = "";
675
+ if (!isManyToManySearch && node.nodeObj.hasOwnProperty(node.properties.joiningEntityCatalogObjectKey)) searchJoiningEntity = node.properties.joiningEntityCatalogObjectKey;
676
+ const foreignKeyName = keyValArr[0] ? keyValArr[0].trim() : "";
677
+ const parentIdentifierName = keyValArr[1] ? keyValArr[1].trim() : "";
678
+ let siObj = {
679
+ searchNameKey: parentIdentifierName,
680
+ searchValueKey: /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : toLowerFirstChar(foreignKeyName),
681
+ searchJoiningEntity
682
+ };
683
+ if (isManyToManySearch && !usingJoiningTableForSearch) siObj = {
684
+ searchNameKey: foreignKeyName,
685
+ searchValueKey: /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : toLowerFirstChar(foreignKeyName)
686
+ };
687
+ if (isManyToManySearch) {
688
+ var _childNode$properties8, _childNode$properties9;
689
+ if (((_childNode$properties8 = childNode.properties) === null || _childNode$properties8 === void 0 ? void 0 : _childNode$properties8.catalogObjectKey) && ((_childNode$properties9 = childNode.properties) === null || _childNode$properties9 === void 0 ? void 0 : _childNode$properties9.joiningEntityCatalogObjectLeftKey)) {
690
+ var _childNode$properties10, _childNode$properties11, _childNode$properties12;
691
+ siObj["joiningEntityKeyName"] = toUpperFirstChar(!usingJoiningTableForSearch ? (_childNode$properties10 = childNode.properties) === null || _childNode$properties10 === void 0 ? void 0 : _childNode$properties10.joiningEntityChildKey : (_childNode$properties11 = childNode.properties) === null || _childNode$properties11 === void 0 ? void 0 : _childNode$properties11.catalogObjectKey);
692
+ siObj["joiningEntityCatalogObjectLeftKeyName"] = toUpperFirstChar((_childNode$properties12 = childNode.properties) === null || _childNode$properties12 === void 0 ? void 0 : _childNode$properties12.joiningEntityCatalogObjectLeftKey);
693
+ }
694
+ if (promotedEntityForJoiningTable === null || promotedEntityForJoiningTable === void 0 ? void 0 : promotedEntityForJoiningTable.unityBaseSearchMethod) {
695
+ siObj["joiningEntityKeyName"] = null;
696
+ siObj["joiningEntityCatalogObjectLeftKeyName"] = null;
697
+ }
698
+ }
699
+ searchIdentifiers.push(siObj);
700
+ });
701
+ }
702
+ if (!searchIdentifiers.length) defaultSearchIdentifiers.forEach((searchIdentifier) => {
703
+ var _childNode$properties13, _childNode$properties14;
704
+ const siObj = {
705
+ searchNameKey: searchIdentifier,
706
+ searchValueKey: searchIdentifier
707
+ };
708
+ if (((_childNode$properties13 = childNode.properties) === null || _childNode$properties13 === void 0 ? void 0 : _childNode$properties13.catalogObjectKey) && ((_childNode$properties14 = childNode.properties) === null || _childNode$properties14 === void 0 ? void 0 : _childNode$properties14.joiningEntityCatalogObjectLeftKey)) {
709
+ var _childNode$properties15, _childNode$properties16;
710
+ siObj["joiningEntityKeyName"] = toUpperFirstChar((_childNode$properties15 = childNode.properties) === null || _childNode$properties15 === void 0 ? void 0 : _childNode$properties15.catalogObjectKey);
711
+ siObj["joiningEntityCatalogObjectLeftKeyName"] = toUpperFirstChar((_childNode$properties16 = childNode.properties) === null || _childNode$properties16 === void 0 ? void 0 : _childNode$properties16.joiningEntityCatalogObjectLeftKey);
712
+ }
713
+ searchIdentifiers.push(siObj);
714
+ });
715
+ searchIdentifiers.forEach((si) => {
716
+ let searchValue = "";
717
+ if (si === null || si === void 0 ? void 0 : si.searchJoiningEntity) searchValue = node.nodeObj[si.searchJoiningEntity][si.searchValueKey];
718
+ else if (usingJoiningTableForSearch) {
719
+ var _node$properties16, _node$nodeObj;
720
+ const joiningEntityCatalogObjectKey = node === null || node === void 0 || (_node$properties16 = node.properties) === null || _node$properties16 === void 0 ? void 0 : _node$properties16.joiningEntityCatalogObjectKey;
721
+ const value = node === null || node === void 0 || (_node$nodeObj = node.nodeObj) === null || _node$nodeObj === void 0 ? void 0 : _node$nodeObj[joiningEntityCatalogObjectKey];
722
+ searchValue = value ? value[si.searchValueKey] : node.nodeObj[si.searchValueKey];
723
+ } else searchValue = node.nodeObj[si.searchValueKey];
724
+ let formattedPropertyName = toUpperFirstChar(si.searchNameKey);
725
+ if (si["joiningEntityKeyName"] && si["joiningEntityCatalogObjectLeftKeyName"]) formattedPropertyName = `${si["joiningEntityKeyName"]}.${si["joiningEntityCatalogObjectLeftKeyName"]}.${formattedPropertyName}`;
726
+ filterElements.push({
727
+ searchField: formattedPropertyName,
728
+ searchValue,
729
+ searchOperator: "="
730
+ });
731
+ });
732
+ lazyNodeSearchObj.data = getSearchObject(filterElements, 1, 50);
733
+ lazyNodeSearchObj.apiMethodId = (baseSearch === null || baseSearch === void 0 ? void 0 : baseSearch.apiMethodId) || null;
734
+ lazyLoadChildrenArr.push(lazyNodeSearchObj);
735
+ } else {
736
+ console.log("Error: Promote " + entityName + " entity");
737
+ node.errorRetrievingChildren = "Error: Promote " + entityName + " child entity";
738
+ }
739
+ });
740
+ return lazyLoadChildrenArr;
741
+ };
742
+ const formatTreeMenuItem = (responseObject, treeStructure, catalogObjects, promotedEntities, associatedInquiryTree, wasLazyLoaded) => {
743
+ if (!responseObject) return null;
744
+ const tree = cloneDeep(treeStructure);
745
+ const orderedKeys = [];
746
+ const orderedTreeData = [];
747
+ const treeArr = [];
748
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
749
+ processOrderedTreeData(tree, orderedTreeData);
750
+ processObjectToTree(responseObject, orderedTreeData, orderedKeys, treeArr, catalogObjects, promotedEntities, wasLazyLoaded);
751
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
752
+ displayTree["associatedInquiryTree"] = associatedInquiryTree;
753
+ displayTree["wasLazyLoaded"] = wasLazyLoaded;
754
+ return displayTree;
755
+ };
756
+ const expandAllNodes = (tree) => {
757
+ tree.isExpanded = true;
758
+ if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => expandAllNodes(node));
759
+ };
760
+ const collapseAllNodes = (tree) => {
761
+ tree.isExpanded = false;
762
+ if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => collapseAllNodes(node));
763
+ };
764
+ const findAllParentIds = (menuItems, currentParentNode, allParentIds = []) => {
765
+ if (currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId) {
766
+ allParentIds.push(currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId);
767
+ const newParentNode = searchTree(menuItems, currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId);
768
+ findAllParentIds(menuItems, newParentNode, allParentIds);
769
+ }
770
+ return allParentIds;
771
+ };
772
+ const formatTreeLabel = (label, obj) => {
773
+ const fields = label === null || label === void 0 ? void 0 : label.split("+");
774
+ const keys = fields === null || fields === void 0 ? void 0 : fields.map((field) => field.trim());
775
+ if (keys) {
776
+ const skippableKeys = [];
777
+ const updatedKeys = keys.map((key, index) => {
778
+ const matchedKey = key.charAt(0) === "\"";
779
+ if (matchedKey) {
780
+ skippableKeys.push(index);
781
+ key = key.replace(/"/g, "");
782
+ }
783
+ return key;
784
+ });
785
+ const values = [];
786
+ for (let j = 0; j < keys.length; j++) {
787
+ let property = keys[j];
788
+ if (property) {
789
+ const splitProperties = property.split(".");
790
+ if (splitProperties.length > 1) {
791
+ let constructedValue = null;
792
+ splitProperties.forEach((property$1) => {
793
+ const matches = property$1.match(/\[(.*?)\]/);
794
+ let objIndex = null;
795
+ let arrIndex = null;
796
+ if (matches) {
797
+ arrIndex = parseInt(matches[1]);
798
+ objIndex = matches.index;
799
+ }
800
+ if (typeof arrIndex === "number" && objIndex) {
801
+ const formattedProperty = property$1.substring(0, objIndex);
802
+ if (!constructedValue) {
803
+ if (obj[formattedProperty]) constructedValue = obj[formattedProperty][arrIndex];
804
+ } else if (constructedValue[formattedProperty]) constructedValue = constructedValue[formattedProperty][arrIndex];
805
+ } else if (!constructedValue) constructedValue = obj[property$1];
806
+ else constructedValue = constructedValue[property$1];
807
+ });
808
+ if (typeof constructedValue === "boolean" || typeof constructedValue === "number") constructedValue = constructedValue.toString();
809
+ values.push(constructedValue);
810
+ continue;
811
+ }
812
+ }
813
+ let value = obj[property];
814
+ if (typeof value === "boolean" || typeof value === "number") value = value.toString();
815
+ values.push(value);
816
+ }
817
+ let displayName = updatedKeys.join("+");
818
+ for (let k = 0; k < updatedKeys.length; k++) if (!skippableKeys.includes(k)) if (values[k]) displayName = displayName.replace(`${updatedKeys[k]}`, values[k]);
819
+ else displayName = displayName.replace(`${updatedKeys[k]}`, "");
820
+ return displayName.replaceAll("+", " ");
821
+ } else return label;
822
+ };
823
+ const getDisplayName = (node, obj) => {
824
+ return formatTreeLabel(node.properties["displayName"], obj);
825
+ };
826
+ const getDisplayDetails = (node, obj) => {
827
+ return formatTreeLabel(node.properties["displayDetails"], obj);
828
+ };
829
+ const getHeaderTitle = (node, obj) => {
830
+ return formatTreeLabel(node.properties["headerName"], obj);
831
+ };
832
+ const searchForMatchingNode = (tree, nodeObj = {}, searchIdentifiers = []) => {
833
+ let result = null;
834
+ let match = true;
835
+ searchIdentifiers.forEach((searchIdentifier) => {
836
+ if ((tree === null || tree === void 0 ? void 0 : tree.nodeObj[searchIdentifier]) !== nodeObj[searchIdentifier]) match = false;
837
+ });
838
+ if (match && searchIdentifiers.length) return tree;
839
+ else {
840
+ if (tree.children) tree.children.some((node) => result = searchForMatchingNode(node, nodeObj, searchIdentifiers));
841
+ return result;
842
+ }
843
+ };
844
+ const getNodeIdForRightBorder = (expandedNodeIds, node, parentId) => {
845
+ if (!expandedNodeIds.includes(node === null || node === void 0 ? void 0 : node.id)) return node.id;
846
+ if (!expandedNodeIds.includes(parentId)) {
847
+ const foundParentNode = node.children.find((item) => item.id === parentId);
848
+ if (foundParentNode) if (expandedNodeIds.includes(foundParentNode === null || foundParentNode === void 0 ? void 0 : foundParentNode.parentId)) return parentId;
849
+ else return getNodeIdForRightBorder(expandedNodeIds, foundParentNode, foundParentNode === null || foundParentNode === void 0 ? void 0 : foundParentNode.parentId);
850
+ } else return parentId;
851
+ };
852
+ const findNodeById = (tree, id) => {
853
+ let result = null;
854
+ if ((tree === null || tree === void 0 ? void 0 : tree.id) === id) return tree;
855
+ else {
856
+ if (tree.children) tree.children.some((node) => result = findNodeById(node, id));
857
+ return result;
858
+ }
859
+ };
860
+ const findNodeByIdAndLabel = (tree, id, label) => {
861
+ var _tree$properties4;
862
+ let result = null;
863
+ if ((tree === null || tree === void 0 ? void 0 : tree.id) === id && (tree === null || tree === void 0 || (_tree$properties4 = tree.properties) === null || _tree$properties4 === void 0 ? void 0 : _tree$properties4.label) === label) return tree;
864
+ else {
865
+ if (tree.children) tree.children.some((node) => result = findNodeById(node, id, label));
866
+ return result;
867
+ }
868
+ };
869
+ const findNodesByIdAndLabel = (tree, id, label) => {
870
+ var _tree$properties5;
871
+ let results = [];
872
+ if ((tree === null || tree === void 0 ? void 0 : tree.id) === id && (tree === null || tree === void 0 || (_tree$properties5 = tree.properties) === null || _tree$properties5 === void 0 ? void 0 : _tree$properties5.label) === label) results.push(tree);
873
+ if (tree.children) tree.children.forEach((node) => {
874
+ results = results.concat(findNodesByIdAndLabel(node, id, label));
875
+ });
876
+ return results;
877
+ };
878
+ const updateNodeForStaticGrouping = (displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item) => {
879
+ const updatedDisplayTree = { ...displayTree };
880
+ const nodeIsHidden = checkNodeIsHidden(updatedDisplayTree, item, false);
881
+ if (!nodeIsHidden) {
882
+ updatedDisplayTree.children = displayTree.children ? cloneDeep(displayTree.children) : displayTree.children;
883
+ updatedDisplayTree["parentId"] = nodeGroup.id;
884
+ updatedDisplayTree["parentGroupId"] = nodeGroup.id;
885
+ if (updatedDisplayTree.isGroupNode) nodeGroup.children.push(updatedDisplayTree);
886
+ else nodeChildren.push(updatedDisplayTree);
887
+ if (treeList) treeList.push(updatedDisplayTree);
888
+ scopedGroupItemIndexes.add(index);
889
+ groupedItemIndexes.add(index);
890
+ }
891
+ };
892
+ const processItemForStaticNodeGroup = (nodeGroup, item, groupedItemIndexes, displayTree, index, scopedGroupItemIndexes = /* @__PURE__ */ new Set(), treeList, nodeChildren = []) => {
893
+ var _nodeGroup$properties, _nodeGroup$properties2;
894
+ if ((nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties = nodeGroup.properties) === null || _nodeGroup$properties === void 0 ? void 0 : _nodeGroup$properties.propertyMapping) && (nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties2 = nodeGroup.properties) === null || _nodeGroup$properties2 === void 0 ? void 0 : _nodeGroup$properties2.jsonLogic)) {
895
+ var _nodeGroup$properties3, _nodeGroup$properties4, _item$properties;
896
+ const rule = mapRule(nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties3 = nodeGroup.properties) === null || _nodeGroup$properties3 === void 0 ? void 0 : _nodeGroup$properties3.propertyMapping, nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties4 = nodeGroup.properties) === null || _nodeGroup$properties4 === void 0 ? void 0 : _nodeGroup$properties4.jsonLogic);
897
+ if (rule && evaluateRule(rule, item, (_item$properties = item.properties) === null || _item$properties === void 0 ? void 0 : _item$properties.joiningEntityCatalogObjectKey, false)) {
898
+ let itemAdded = false;
899
+ nodeGroup.children.forEach((childGroup) => {
900
+ if (childGroup.isGroupNode) {
901
+ const processedItem = processItemForStaticNodeGroup(childGroup, item, groupedItemIndexes, displayTree, index, childGroup.children.length ? /* @__PURE__ */ new Set() : scopedGroupItemIndexes, treeList, nodeChildren) || { itemAdded };
902
+ itemAdded = processedItem === null || processedItem === void 0 ? void 0 : processedItem.itemAdded;
903
+ }
904
+ });
905
+ if (!itemAdded) {
906
+ updateNodeForStaticGrouping(displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item);
907
+ itemAdded = true;
908
+ }
909
+ }
910
+ } else if (nodeGroup.isOutlierGroup && !groupedItemIndexes.has(index)) updateNodeForStaticGrouping(displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item);
911
+ if (treeList && nodeGroup.isGroupNode) {
912
+ const existingGroup = treeList.filter((node) => node.isGroupNode).find((eg) => eg.id === nodeGroup.id);
913
+ if (!existingGroup) {
914
+ const nodeIsHidden = checkNodeIsHidden(nodeGroup, item, false);
915
+ !nodeIsHidden && treeList.push(nodeGroup);
916
+ }
917
+ }
918
+ return {
919
+ itemAdded: groupedItemIndexes.has(index),
920
+ nodeChildren
921
+ };
922
+ };
923
+ const constructStaticNodeGroups = (tree, shouldUseNewId = false) => {
924
+ var _tree$properties6, _groupConfiguration$g;
925
+ const nodeGroups = [];
926
+ const groupConfiguration = tree === null || tree === void 0 || (_tree$properties6 = tree.properties) === null || _tree$properties6 === void 0 ? void 0 : _tree$properties6.groupConfiguration;
927
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Static;
928
+ const hideEmptyGroups = groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.hideEmptyGroups;
929
+ if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g === void 0 ? void 0 : _groupConfiguration$g.length)) {
930
+ groupConfiguration.groupings[groupType].forEach((grouping) => {
931
+ const orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
932
+ const newIdMap = {};
933
+ orderedGroups.forEach((group) => {
934
+ if (shouldUseNewId) newIdMap[group.id] = v4();
935
+ group["children"] = [];
936
+ });
937
+ if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
938
+ if (newIdMap[group.id]) group.id = newIdMap[group.id];
939
+ if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
940
+ });
941
+ if (orderedGroups === null || orderedGroups === void 0 ? void 0 : orderedGroups.length) {
942
+ const firstGroup = orderedGroups.find((group) => !group.parentGroupId) || orderedGroups[0];
943
+ orderedGroups.shift();
944
+ const displayTree = makeTreeStaticGroupStructure(orderedGroups, "id", "parentGroupId", groupType, hideEmptyGroups);
945
+ const { id, isExpanded,...firstGroupProperties } = firstGroup;
946
+ const groupNode = new GroupNode({
947
+ id,
948
+ hideEmptyGroups,
949
+ groupType,
950
+ children: Array.isArray(displayTree) ? displayTree : [displayTree],
951
+ isExpanded,
952
+ properties: { ...firstGroupProperties }
953
+ });
954
+ nodeGroups.push(groupNode);
955
+ }
956
+ });
957
+ if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlier) === "group") {
958
+ const outlierGroup = new GroupNode({
959
+ groupType,
960
+ isOutlierGroup: true,
961
+ properties: {
962
+ label: (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlierGroupLabel) || "Unlabeled Outlier Group",
963
+ icon: groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlierIcon
964
+ }
965
+ });
966
+ nodeGroups.push(outlierGroup);
967
+ }
968
+ }
969
+ return nodeGroups;
970
+ };
971
+ const getOrderedDynamicGroups = (tree, shouldUseNewId = false) => {
972
+ var _tree$properties7, _groupConfiguration$g2;
973
+ const groupConfiguration = tree === null || tree === void 0 || (_tree$properties7 = tree.properties) === null || _tree$properties7 === void 0 ? void 0 : _tree$properties7.groupConfiguration;
974
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Dynamic;
975
+ let orderedGroups = [];
976
+ if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g2 = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g2 === void 0 ? void 0 : _groupConfiguration$g2.length)) groupConfiguration.groupings[groupType].forEach((grouping) => {
977
+ orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
978
+ const newIdMap = {};
979
+ orderedGroups.forEach((group) => {
980
+ if (shouldUseNewId) newIdMap[group.id] = v4();
981
+ group["children"] = [];
982
+ });
983
+ if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
984
+ if (newIdMap[group.id]) group.id = newIdMap[group.id];
985
+ if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
986
+ });
987
+ });
988
+ return orderedGroups;
989
+ };
990
+ const constructDynamicNodeGroups = (results, tree, shouldUseNewId = false) => {
991
+ var _tree$properties8, _groupConfiguration$g3;
992
+ let nodeGroups = [];
993
+ const groupConfiguration = tree === null || tree === void 0 || (_tree$properties8 = tree.properties) === null || _tree$properties8 === void 0 ? void 0 : _tree$properties8.groupConfiguration;
994
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Dynamic;
995
+ if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g3 = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g3 === void 0 ? void 0 : _groupConfiguration$g3.length)) groupConfiguration.groupings[groupType].forEach((grouping) => {
996
+ const orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
997
+ const newIdMap = {};
998
+ orderedGroups.forEach((group) => {
999
+ if (shouldUseNewId) newIdMap[group.id] = v4();
1000
+ group["children"] = [];
1001
+ });
1002
+ if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
1003
+ if (newIdMap[group.id]) group.id = newIdMap[group.id];
1004
+ if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
1005
+ });
1006
+ if (orderedGroups === null || orderedGroups === void 0 ? void 0 : orderedGroups.length) {
1007
+ const isSingleGroup = orderedGroups.length === 1;
1008
+ const dynamicTreeStructure = makeDynamicTreeStructure(orderedGroups, "id", "parentGroupId");
1009
+ const groupSet = makeDynamicGroupStructures(dynamicTreeStructure, results);
1010
+ results.forEach((item, index) => {
1011
+ const orderedKeys = [];
1012
+ const orderedTreeData = [];
1013
+ const treeArr = [];
1014
+ const innerGroupList = [];
1015
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1016
+ processOrderedTreeData(tree, orderedTreeData);
1017
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false, innerGroupList);
1018
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1019
+ const updatedDisplayTree = cloneDeep(displayTree);
1020
+ const nodeIsHidden = checkNodeIsHidden(updatedDisplayTree, item, false);
1021
+ !nodeIsHidden && processItemForDynamicNodeGroups(updatedDisplayTree, dynamicTreeStructure, groupSet, groupSet, isSingleGroup);
1022
+ });
1023
+ groupSet.forEach((group) => updateTreeIds(group, null, v4(), v4()));
1024
+ nodeGroups = nodeGroups.concat(groupSet);
1025
+ }
1026
+ });
1027
+ return nodeGroups;
1028
+ };
1029
+ const getLabelFromProperty = (item, property) => {
1030
+ const splitProperties = property.split(".");
1031
+ if (splitProperties.length) {
1032
+ let constructedValue = null;
1033
+ splitProperties.forEach((property$1) => {
1034
+ const matches = property$1.match(/\[(.*?)\]/);
1035
+ let objIndex = null;
1036
+ let arrIndex = null;
1037
+ if (matches) {
1038
+ arrIndex = parseInt(matches[1]);
1039
+ objIndex = matches.index;
1040
+ }
1041
+ if (typeof arrIndex === "number" && objIndex) {
1042
+ const formattedProperty = property$1.substring(0, objIndex);
1043
+ if (!constructedValue) {
1044
+ if (item[formattedProperty]) constructedValue = item[formattedProperty][arrIndex];
1045
+ } else if (constructedValue[formattedProperty]) constructedValue = constructedValue[formattedProperty][arrIndex];
1046
+ } else if (!constructedValue) constructedValue = item ? item[property$1] : "";
1047
+ else constructedValue = constructedValue[property$1];
1048
+ });
1049
+ return constructedValue;
1050
+ }
1051
+ return null;
1052
+ };
1053
+ const constructBusinessObjectArrFromTree = (node, businessObjects = []) => {
1054
+ var _node$children3;
1055
+ if (node === null || node === void 0 ? void 0 : node.nodeObj) {
1056
+ var _node$properties17, _node$properties18;
1057
+ const businessObject = {
1058
+ label: "",
1059
+ value: "",
1060
+ domainObject: ""
1061
+ };
1062
+ const joiningEntityCatalogObjectKey = (_node$properties17 = node.properties) === null || _node$properties17 === void 0 ? void 0 : _node$properties17.joiningEntityCatalogObjectKey;
1063
+ const displayName = (_node$properties18 = node.properties) === null || _node$properties18 === void 0 ? void 0 : _node$properties18.displayName;
1064
+ if (joiningEntityCatalogObjectKey) {
1065
+ var _node$properties19;
1066
+ const jointEntity = node.nodeObj[joiningEntityCatalogObjectKey];
1067
+ businessObject.label = formatTreeLabel(displayName, node.nodeObj) || (jointEntity === null || jointEntity === void 0 ? void 0 : jointEntity.businessObjectKey);
1068
+ businessObject.value = jointEntity === null || jointEntity === void 0 ? void 0 : jointEntity.businessObjectKey;
1069
+ businessObject.domainObject = (_node$properties19 = node.properties) === null || _node$properties19 === void 0 ? void 0 : _node$properties19.catalogReturnObject;
1070
+ } else {
1071
+ var _node$properties20;
1072
+ const entity = node.nodeObj;
1073
+ businessObject.label = formatTreeLabel(displayName, node.nodeObj) || (entity === null || entity === void 0 ? void 0 : entity.businessObjectKey);
1074
+ businessObject.value = entity === null || entity === void 0 ? void 0 : entity.businessObjectKey;
1075
+ businessObject.domainObject = (_node$properties20 = node.properties) === null || _node$properties20 === void 0 ? void 0 : _node$properties20.catalogReturnObject;
1076
+ }
1077
+ businessObjects.push(businessObject);
1078
+ }
1079
+ if (node === null || node === void 0 || (_node$children3 = node.children) === null || _node$children3 === void 0 ? void 0 : _node$children3.length) node.children.forEach((childNode) => constructBusinessObjectArrFromTree(childNode, businessObjects));
1080
+ return businessObjects;
1081
+ };
1082
+ const processItemForDynamicNodeGroups = (displayTree, node, groupNodes, previousFilteredGroups = [], isSingleGroup = false) => {
1083
+ const { property, id } = node;
1084
+ const item = displayTree === null || displayTree === void 0 ? void 0 : displayTree.nodeObj;
1085
+ const label = property ? getLabelFromProperty(item, property) : null;
1086
+ let filteredGroups = [];
1087
+ previousFilteredGroups.forEach((group) => {
1088
+ if (group) {
1089
+ const foundGroups = findNodesByIdAndLabel(group, id, label);
1090
+ if (foundGroups.length) filteredGroups = filteredGroups.concat(foundGroups);
1091
+ }
1092
+ });
1093
+ if (filteredGroups.length) {
1094
+ var _node$children4;
1095
+ if (node === null || node === void 0 || (_node$children4 = node.children) === null || _node$children4 === void 0 ? void 0 : _node$children4.length) node.children.forEach((child) => processItemForDynamicNodeGroups(displayTree, child, groupNodes, filteredGroups, isSingleGroup));
1096
+ else filteredGroups.forEach((filteredGroup) => {
1097
+ const matchingGroupNode = findNodeByIdAndLabel(filteredGroup, node.id, label);
1098
+ if (matchingGroupNode) {
1099
+ displayTree["parentGroupId"] = matchingGroupNode.id;
1100
+ matchingGroupNode.children.push(displayTree);
1101
+ }
1102
+ });
1103
+ } else if (isSingleGroup) groupNodes.push(displayTree);
1104
+ else previousFilteredGroups.forEach((filteredGroup) => {
1105
+ if (filteredGroup) {
1106
+ displayTree["parentGroupId"] = filteredGroup.id;
1107
+ filteredGroup.children.push(displayTree);
1108
+ }
1109
+ });
1110
+ };
1111
+ const orderByGroupOrder = (groups = []) => {
1112
+ return orderBy(groups, ["order"], ["asc"]);
1113
+ };
1114
+ const updateTreeIds = (node, lastEntityNodeId, newId = v4(), newParentId = v4()) => {
1115
+ var _node$children5;
1116
+ let entityNodeParentId = lastEntityNodeId;
1117
+ if (node) {
1118
+ node.id = newId;
1119
+ if (node.parentId || node.parentGroupId) {
1120
+ node.parentId = newParentId;
1121
+ node.parentGroupId = newParentId;
1122
+ }
1123
+ if (!node.isGroupNode && entityNodeParentId) node["entityNodeParentId"] = entityNodeParentId;
1124
+ if (!node.isGroupNode) entityNodeParentId = node.id;
1125
+ }
1126
+ if (node === null || node === void 0 || (_node$children5 = node.children) === null || _node$children5 === void 0 ? void 0 : _node$children5.length) node.children.forEach((child) => updateTreeIds(child, entityNodeParentId, v4(), newId));
1127
+ };
1128
+ const processGroupNodesAndAddToTreeList = (node, treeList, lastEntityNodeId, item, wasLazyLoaded) => {
1129
+ var _node$children6;
1130
+ let entityNodeParentId = lastEntityNodeId;
1131
+ if (treeList) {
1132
+ if (!treeList.find((tree) => tree.id === node.id)) {
1133
+ if (!node.isGroupNode && entityNodeParentId) node["entityNodeParentId"] = entityNodeParentId;
1134
+ if (!node.isGroupNode) entityNodeParentId = node.id;
1135
+ const nodeIsHidden = checkNodeIsHidden(node, item, wasLazyLoaded);
1136
+ !nodeIsHidden && treeList.push(node);
1137
+ }
1138
+ }
1139
+ if (node === null || node === void 0 || (_node$children6 = node.children) === null || _node$children6 === void 0 ? void 0 : _node$children6.length) node.children.forEach((child) => processGroupNodesAndAddToTreeList(child, treeList, entityNodeParentId, item, wasLazyLoaded));
1140
+ };
1141
+ const mapNodeGroupChildren = (nodeGroup, nodeGroupChildren = []) => {
1142
+ var _nodeGroup$children;
1143
+ nodeGroupChildren.forEach((node) => {
1144
+ if (nodeGroup.id === node.parentGroupId) nodeGroup.children.push(node);
1145
+ });
1146
+ if (nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$children = nodeGroup.children) === null || _nodeGroup$children === void 0 ? void 0 : _nodeGroup$children.length) nodeGroup.children.forEach((childGroup) => {
1147
+ if (childGroup.isGroupNode) mapNodeGroupChildren(childGroup, nodeGroupChildren);
1148
+ });
1149
+ return nodeGroup;
1150
+ };
1151
+ const checkNodeIsHidden = (node, item, wasLazyLoaded = false) => {
1152
+ if (!node || node && !Object.keys(node).length) return true;
1153
+ let rule = null;
1154
+ if (node.isGroupNode) {
1155
+ var _node$properties21;
1156
+ if ((_node$properties21 = node.properties) === null || _node$properties21 === void 0 || (_node$properties21 = _node$properties21.hiddenNode) === null || _node$properties21 === void 0 ? void 0 : _node$properties21.enabled) {}
1157
+ } else {
1158
+ var _node$properties22;
1159
+ if ((_node$properties22 = node.properties) === null || _node$properties22 === void 0 || (_node$properties22 = _node$properties22.hiddenNode) === null || _node$properties22 === void 0 ? void 0 : _node$properties22.enabled) {
1160
+ var _node$properties23;
1161
+ rule = mapRule(node.properties.hiddenNode.propertyMapping, node.properties.hiddenNode.jsonLogic);
1162
+ if (rule && evaluateRule(rule, item, (_node$properties23 = node.properties) === null || _node$properties23 === void 0 ? void 0 : _node$properties23.joiningEntityCatalogObjectKey, wasLazyLoaded)) return true;
1163
+ }
1164
+ }
1165
+ return false;
1166
+ };
1167
+ const constructPreloadedTree = (treeStructure, pageList) => {
1168
+ var _tree$properties9, _tree$properties10, _tree$properties11, _tree$properties13, _tree$properties14, _tree$properties15;
1169
+ if (!pageList) return null;
1170
+ let preloadedList = [];
1171
+ const tree = cloneDeep(treeStructure);
1172
+ if (((_tree$properties9 = tree.properties) === null || _tree$properties9 === void 0 || (_tree$properties9 = _tree$properties9.groupConfiguration) === null || _tree$properties9 === void 0 ? void 0 : _tree$properties9.enabled) && ((_tree$properties10 = tree.properties) === null || _tree$properties10 === void 0 ? void 0 : _tree$properties10.groupConfiguration.groupType) === NodeGroupTypeEnums.Static && ((_tree$properties11 = tree.properties) === null || _tree$properties11 === void 0 || (_tree$properties11 = _tree$properties11.groupConfiguration) === null || _tree$properties11 === void 0 || (_tree$properties11 = _tree$properties11.groupings) === null || _tree$properties11 === void 0 || (_tree$properties11 = _tree$properties11.static) === null || _tree$properties11 === void 0 ? void 0 : _tree$properties11.length)) {
1173
+ var _tree$properties12;
1174
+ const topNodeGroups = constructStaticNodeGroups(tree);
1175
+ const groupedItemIndexes = /* @__PURE__ */ new Set();
1176
+ topNodeGroups.forEach((nodeGroup) => {
1177
+ let nodeGroupChildren = [];
1178
+ pageList.forEach((item, index) => {
1179
+ const orderedKeys = [];
1180
+ const orderedTreeData = [];
1181
+ const treeArr = [];
1182
+ const innerGroupList = [];
1183
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1184
+ processOrderedTreeData(tree, orderedTreeData);
1185
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false, innerGroupList);
1186
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1187
+ const processedItem = processItemForStaticNodeGroup(nodeGroup, item, groupedItemIndexes, displayTree, index, /* @__PURE__ */ new Set());
1188
+ nodeGroupChildren = nodeGroupChildren.concat((processedItem === null || processedItem === void 0 ? void 0 : processedItem.nodeChildren) || []);
1189
+ });
1190
+ const updatedNodeGroup = mapNodeGroupChildren(nodeGroup, nodeGroupChildren);
1191
+ updatedNodeGroup.children.forEach((child) => {
1192
+ updateTreeIds(child, null, v4(), v4());
1193
+ });
1194
+ preloadedList.push(updatedNodeGroup);
1195
+ });
1196
+ if (((_tree$properties12 = tree.properties) === null || _tree$properties12 === void 0 || (_tree$properties12 = _tree$properties12.groupConfiguration) === null || _tree$properties12 === void 0 ? void 0 : _tree$properties12.outlier) === NodeGroupOutlierEnums.Individual) pageList.forEach((item, index) => {
1197
+ if (!groupedItemIndexes.has(index)) {
1198
+ const orderedKeys = [];
1199
+ const orderedTreeData = [];
1200
+ const treeArr = [];
1201
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1202
+ processOrderedTreeData(tree, orderedTreeData);
1203
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false);
1204
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1205
+ const nodeIsHidden = checkNodeIsHidden(displayTree, item, false);
1206
+ if (!nodeIsHidden) {
1207
+ updateTreeIds(displayTree, null, v4(), v4());
1208
+ preloadedList.push(displayTree);
1209
+ }
1210
+ }
1211
+ });
1212
+ } else if (((_tree$properties13 = tree.properties) === null || _tree$properties13 === void 0 || (_tree$properties13 = _tree$properties13.groupConfiguration) === null || _tree$properties13 === void 0 ? void 0 : _tree$properties13.enabled) && ((_tree$properties14 = tree.properties) === null || _tree$properties14 === void 0 ? void 0 : _tree$properties14.groupConfiguration.groupType) === NodeGroupTypeEnums.Dynamic && ((_tree$properties15 = tree.properties) === null || _tree$properties15 === void 0 || (_tree$properties15 = _tree$properties15.groupConfiguration) === null || _tree$properties15 === void 0 || (_tree$properties15 = _tree$properties15.groupings) === null || _tree$properties15 === void 0 || (_tree$properties15 = _tree$properties15.dynamic) === null || _tree$properties15 === void 0 ? void 0 : _tree$properties15.length)) {
1213
+ const nodeGroups = constructDynamicNodeGroups2(pageList, tree);
1214
+ preloadedList = preloadedList.concat(nodeGroups);
1215
+ } else pageList.forEach((item) => {
1216
+ const orderedKeys = [];
1217
+ const orderedTreeData = [];
1218
+ const treeArr = [];
1219
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1220
+ processOrderedTreeData(tree, orderedTreeData);
1221
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr);
1222
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1223
+ const nodeIsHidden = checkNodeIsHidden(displayTree, item, false);
1224
+ !nodeIsHidden && preloadedList.push(displayTree);
1225
+ });
1226
+ return preloadedList;
1227
+ };
1228
+ const CompareGroupByOrder = (a, b) => {
1229
+ if (a.order > b.order) return 1;
1230
+ if (a.order < b.order) return -1;
1231
+ return 0;
1232
+ };
1233
+ const CompareSiblingNodes = (a, b) => {
1234
+ if (a.hasOwnProperty("isGroupNode") && !b.hasOwnProperty("isGroupNode")) return -1;
1235
+ if (!a.hasOwnProperty("isGroupNode") && b.hasOwnProperty("isGroupNode")) return 1;
1236
+ if (a.hasOwnProperty("isGroupNode") && b.hasOwnProperty("isGroupNode")) {
1237
+ var _a$properties, _b$properties, _a$properties2, _b$properties2;
1238
+ if (((_a$properties = a.properties) === null || _a$properties === void 0 ? void 0 : _a$properties.order) > ((_b$properties = b.properties) === null || _b$properties === void 0 ? void 0 : _b$properties.order)) return 1;
1239
+ if (((_a$properties2 = a.properties) === null || _a$properties2 === void 0 ? void 0 : _a$properties2.order) < ((_b$properties2 = b.properties) === null || _b$properties2 === void 0 ? void 0 : _b$properties2.order)) return -1;
1240
+ }
1241
+ return 0;
1242
+ };
1243
+ const GetGroupChildMap = (_map, groupKey) => {
1244
+ if (_map[groupKey] === void 0) _map[groupKey] = [];
1245
+ return _map[groupKey];
1246
+ };
1247
+ const AddGroupToChildMap = (_map, groupKey, groupNode) => {
1248
+ let childMap = GetGroupChildMap(_map, groupKey);
1249
+ childMap.push(groupNode);
1250
+ childMap.sort(CompareGroupByOrder);
1251
+ };
1252
+ const createDynamicGroups2 = (_treeConfig, _groupConfig, _item, _curItem, _pList, _siblings, _parentId) => {
1253
+ let _groupCreated = false;
1254
+ if (_pList.length > 0) {
1255
+ let tmpProp = _pList[0];
1256
+ if (_curItem.hasOwnProperty(tmpProp)) {
1257
+ let newItem = _curItem[tmpProp];
1258
+ if (_pList.length > 1) {
1259
+ if (Array.isArray(newItem)) for (let i = 0, numOfItems = newItem.length; i < numOfItems; i++) {
1260
+ let aGroupWasCreated = createDynamicGroups2(_treeConfig, _groupConfig, _item, newItem[i], _pList.slice(1), _siblings, _parentId);
1261
+ _groupCreated = aGroupWasCreated ? aGroupWasCreated : _groupCreated;
1262
+ }
1263
+ else if (typeof newItem === "object" && newItem !== null) {
1264
+ let aGroupWasCreated = createDynamicGroups2(_treeConfig, _groupConfig, _item, newItem, _pList.slice(1), _siblings, _parentId);
1265
+ _groupCreated = aGroupWasCreated ? aGroupWasCreated : _groupCreated;
1266
+ }
1267
+ } else if (typeof newItem !== "object" && newItem !== null && newItem !== "") {
1268
+ let groupName = newItem.toString();
1269
+ let groupNode = null;
1270
+ for (let siblingIdx = 0, numOfSiblings = _siblings.length; siblingIdx < numOfSiblings; siblingIdx++) {
1271
+ let sibling = _siblings[siblingIdx];
1272
+ if (sibling.hasOwnProperty("isGroupNode") && sibling.isGroupNode === true) {
1273
+ if (sibling.properties.label === groupName) {
1274
+ groupNode = sibling;
1275
+ break;
1276
+ }
1277
+ }
1278
+ }
1279
+ if (groupNode == null) {
1280
+ let newGroupNodeId = v4();
1281
+ groupNode = new GroupNode({
1282
+ id: `${newGroupNodeId}`,
1283
+ groupType: NodeGroupTypeEnums.Dynamic,
1284
+ children: [],
1285
+ parentGroupId: _parentId,
1286
+ parentId: _parentId,
1287
+ isExpanded: _groupConfig.isExpanded,
1288
+ properties: {
1289
+ label: groupName,
1290
+ propertyIsCustom: _groupConfig.propertyIsCustom,
1291
+ propertyKey: _groupConfig.property,
1292
+ order: _groupConfig.order
1293
+ }
1294
+ });
1295
+ _siblings.push(groupNode);
1296
+ }
1297
+ _groupCreated = true;
1298
+ let subGroupWasCreated = false;
1299
+ for (let subGroupIdx = 0, numOfSubGroups = _groupConfig.children.length; subGroupIdx < numOfSubGroups; subGroupIdx++) {
1300
+ let subGroupConfig = _groupConfig.children[subGroupIdx];
1301
+ let subGroupPropList = subGroupConfig.property ? subGroupConfig.property.split(".") : [];
1302
+ let subGroupCreated = createDynamicGroups2(_treeConfig, subGroupConfig, _item, _item, subGroupPropList, groupNode.children, groupNode.id);
1303
+ subGroupWasCreated = subGroupCreated ? subGroupCreated : subGroupWasCreated;
1304
+ }
1305
+ if (!subGroupWasCreated) {
1306
+ let tmpNode = cloneDeep(_treeConfig);
1307
+ processObjIndex(tmpNode, _item, null, groupNode.id, null, null, false);
1308
+ groupNode.children.push(tmpNode);
1309
+ let newChildNodes = [];
1310
+ for (let childNodeIdx = 0, numOfChildNodes = tmpNode.children.length; childNodeIdx < numOfChildNodes; childNodeIdx++) {
1311
+ let childConfigNode = tmpNode.children[childNodeIdx];
1312
+ let propToGetRecords = childConfigNode.properties.catalogObjectKey;
1313
+ if (propToGetRecords && propToGetRecords != null && _item.hasOwnProperty(propToGetRecords)) {
1314
+ let newResultSet = _item[propToGetRecords];
1315
+ if (newResultSet && newResultSet != null) if (Array.isArray(newResultSet)) newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1316
+ else {
1317
+ let tmpNewResultSet = [];
1318
+ tmpNewResultSet.push(newResultSet);
1319
+ newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1320
+ }
1321
+ }
1322
+ }
1323
+ tmpNode.children = newChildNodes;
1324
+ }
1325
+ groupNode.children.sort(CompareSiblingNodes);
1326
+ }
1327
+ }
1328
+ }
1329
+ return _groupCreated;
1330
+ };
1331
+ const constructDynamicGroupConfigTrees2 = (configNode) => {
1332
+ var _configNode$propertie, _groupConfiguration$g4;
1333
+ let topLevelConfigGroupNodes = [];
1334
+ const groupConfiguration = configNode === null || configNode === void 0 || (_configNode$propertie = configNode.properties) === null || _configNode$propertie === void 0 ? void 0 : _configNode$propertie.groupConfiguration;
1335
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Dynamic;
1336
+ if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g4 = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g4 === void 0 ? void 0 : _groupConfiguration$g4.length)) {
1337
+ let dynamicGroupings = groupConfiguration.groupings[groupType];
1338
+ for (let groupingIdx = 0, numOfGroupings = dynamicGroupings.length; groupingIdx < numOfGroupings; groupingIdx++) {
1339
+ let grouping = dynamicGroupings[groupingIdx];
1340
+ if (grouping.groups === void 0 || grouping.groups === null) continue;
1341
+ let groupChildMap = {};
1342
+ for (let groupIdx = 0, numOfGroups = grouping.groups.length; groupIdx < numOfGroups; groupIdx++) {
1343
+ let group = grouping.groups[groupIdx];
1344
+ group["children"] = GetGroupChildMap(groupChildMap, group.id);
1345
+ if (group.parentGroupId === void 0 || group.parentGroupId === null) topLevelConfigGroupNodes.push(group);
1346
+ else AddGroupToChildMap(groupChildMap, group.parentGroupId, group);
1347
+ }
1348
+ }
1349
+ }
1350
+ for (let configIdx = 0, numOfChildConfigNodes = configNode.children.length; configIdx < numOfChildConfigNodes; configIdx++) {
1351
+ let childConfigNode = configNode.children[configIdx];
1352
+ constructDynamicGroupConfigTrees2(childConfigNode);
1353
+ }
1354
+ configNode.groupConfigTrees = topLevelConfigGroupNodes;
1355
+ };
1356
+ const constructDynamicNodeGroups2 = (results, configNode, parentId = null) => {
1357
+ let levelNodes = [];
1358
+ if (!configNode.groupConfigTrees) constructDynamicGroupConfigTrees2(configNode);
1359
+ for (let rIdx = 0, numOfResults = results.length; rIdx < numOfResults; rIdx++) {
1360
+ let item = results[rIdx];
1361
+ let groupCreated = false;
1362
+ for (let ctlIdx = 0, numOfGroupConfigTrees = configNode.groupConfigTrees.length; ctlIdx < numOfGroupConfigTrees; ctlIdx++) {
1363
+ let groupConfigNode = configNode.groupConfigTrees[ctlIdx];
1364
+ let gPropList = groupConfigNode.property ? groupConfigNode.property.split(".") : [];
1365
+ let aGroupWasCreated = createDynamicGroups2(configNode, groupConfigNode, item, item, gPropList, levelNodes, parentId);
1366
+ groupCreated = aGroupWasCreated ? aGroupWasCreated : groupCreated;
1367
+ }
1368
+ if (!groupCreated) {
1369
+ let tmpNode = cloneDeep(configNode);
1370
+ processObjIndex(tmpNode, item, null, parentId, null, null, false);
1371
+ levelNodes.push(tmpNode);
1372
+ let newChildNodes = [];
1373
+ for (let childNodeIdx = 0, numOfChildNodes = tmpNode.children.length; childNodeIdx < numOfChildNodes; childNodeIdx++) {
1374
+ let childConfigNode = tmpNode.children[childNodeIdx];
1375
+ let propToGetRecords = childConfigNode.properties.catalogObjectKey;
1376
+ if (propToGetRecords && propToGetRecords != null && item.hasOwnProperty(propToGetRecords)) {
1377
+ let newResultSet = item[propToGetRecords];
1378
+ if (newResultSet && newResultSet != null) if (Array.isArray(newResultSet)) newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1379
+ else {
1380
+ let tmpNewResultSet = [];
1381
+ tmpNewResultSet.push(newResultSet);
1382
+ newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1383
+ }
1384
+ }
1385
+ }
1386
+ tmpNode.children = newChildNodes;
1387
+ }
1388
+ }
1389
+ levelNodes.sort(CompareSiblingNodes);
1390
+ return levelNodes;
1391
+ };
1392
+ const transformMenuPageTree = (node) => {
1393
+ var _node$menuItemInstanc, _node$menuItemInstanc2;
1394
+ if (!(node === null || node === void 0 || (_node$menuItemInstanc = node.menuItemInstance) === null || _node$menuItemInstanc === void 0 ? void 0 : _node$menuItemInstanc.isActive)) return null;
1395
+ const parameters = ((_node$menuItemInstanc2 = node.menuItemInstance) === null || _node$menuItemInstanc2 === void 0 ? void 0 : _node$menuItemInstanc2.parameters) && JSON.parse(node.menuItemInstance.parameters);
1396
+ const label = node.title || "";
1397
+ const expanded = (parameters === null || parameters === void 0 ? void 0 : parameters.defaultDisplay) === "expanded";
1398
+ const updatedNode = {
1399
+ id: node.menuStructureId,
1400
+ parentId: node.parentId,
1401
+ isExpanded: expanded,
1402
+ properties: {
1403
+ defaultIcon: {
1404
+ type: "",
1405
+ name: parameters.FluentIcon,
1406
+ color: ""
1407
+ },
1408
+ nodeLabel: label,
1409
+ nodeSubLabel: "",
1410
+ page: {
1411
+ id: parameters.PageId,
1412
+ entity: { entityName: parameters.entityName },
1413
+ pbiReportCode: parameters.pbiReportCode,
1414
+ udpTagId: parameters.udpTagId,
1415
+ queryId: parameters.queryId,
1416
+ inquiryTreeId: parameters === null || parameters === void 0 ? void 0 : parameters.InquiryTreeId,
1417
+ requiredFieldMapping: parameters === null || parameters === void 0 ? void 0 : parameters.requiredFieldMapping
1418
+ },
1419
+ aggregateThresholdId: parameters.aggregateThresholdId || ""
1420
+ },
1421
+ children: []
1422
+ };
1423
+ for (const child of node.menuItemInstanceStructures) {
1424
+ const updatedChild = transformMenuPageTree(child);
1425
+ if (updatedChild) updatedNode.children.push(updatedChild);
1426
+ }
1427
+ return updatedNode;
1428
+ };
1429
+ const mapNodeObjValuesToSearchParameters = (nodeObj, aggregateThresholdParamMappings) => {
1430
+ if (!aggregateThresholdParamMappings || !nodeObj) return {};
1431
+ const mappings = { ...aggregateThresholdParamMappings };
1432
+ Object.keys(mappings).forEach((key) => {
1433
+ const nodeObjKey = mappings[key];
1434
+ if (nodeObjKey) {
1435
+ const nodeObjValue = nodeObj[nodeObjKey];
1436
+ mappings[key] = nodeObjValue || "";
1437
+ }
1438
+ });
1439
+ return mappings;
1440
+ };
1441
+ const getSearchValueString = (nodeObj, searchIdentifier) => {
1442
+ const searchIdentifiers = searchIdentifier.split(",");
1443
+ const searchValues = [];
1444
+ searchIdentifiers.forEach((searchIdentifier$1) => {
1445
+ searchValues.push(nodeObj[searchIdentifier$1]);
1446
+ });
1447
+ return searchValues.toString();
1448
+ };
1449
+
1450
+ //#endregion
1451
+ //#region src/utilities/iconLibrary/UnityIconLibrary.jsx
1452
+ const unityIcons = [{
1453
+ id: "WaterDropIcon",
1454
+ label: "Water Drop",
1455
+ icon: /* @__PURE__ */ jsx(WaterDrop, {}),
1456
+ type: "unity"
1457
+ }, {
1458
+ id: "SewerIcon",
1459
+ label: "Sewer",
1460
+ icon: /* @__PURE__ */ jsx(Sewer, {}),
1461
+ type: "unity"
1462
+ }];
1463
+ const getUnityIconFromName = (name) => {
1464
+ const foundIcon = unityIcons.find((icon) => icon.id === name);
1465
+ return (foundIcon === null || foundIcon === void 0 ? void 0 : foundIcon.icon) || null;
1466
+ };
1467
+
1468
+ //#endregion
1469
+ //#region src/shell/ui/SidebarCollapseButton.jsx
1470
+ const useStyles$6 = makeStyles((theme) => {
1471
+ var _theme$transitions, _theme$transitions2, _theme$transitions3, _theme$transitions4, _theme$transitions5, _theme$transitions6;
1472
+ return {
1473
+ root: {
1474
+ display: "flex",
1475
+ justifyContent: "flex-start",
1476
+ height: 48,
1477
+ width: "100%",
1478
+ paddingLeft: 0
1479
+ },
1480
+ iconButton: {
1481
+ width: 48,
1482
+ height: 48,
1483
+ marginLeft: 16 - 24 / 2
1484
+ },
1485
+ expanded: {},
1486
+ icon: {
1487
+ width: 14,
1488
+ height: 14,
1489
+ margin: 8 / 2,
1490
+ transition: theme === null || theme === void 0 || (_theme$transitions = theme.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.create("transform", {
1491
+ easing: theme === null || theme === void 0 || (_theme$transitions2 = theme.transitions) === null || _theme$transitions2 === void 0 || (_theme$transitions2 = _theme$transitions2.easing) === null || _theme$transitions2 === void 0 ? void 0 : _theme$transitions2.sharp,
1492
+ duration: theme === null || theme === void 0 || (_theme$transitions3 = theme.transitions) === null || _theme$transitions3 === void 0 || (_theme$transitions3 = _theme$transitions3.duration) === null || _theme$transitions3 === void 0 ? void 0 : _theme$transitions3.shortest
1493
+ }),
1494
+ "$expanded &": { transform: "scaleX(-1)" }
1495
+ },
1496
+ switch: {
1497
+ margin: 8 / 2,
1498
+ transition: theme === null || theme === void 0 || (_theme$transitions4 = theme.transitions) === null || _theme$transitions4 === void 0 ? void 0 : _theme$transitions4.create("transform", {
1499
+ easing: theme === null || theme === void 0 || (_theme$transitions5 = theme.transitions) === null || _theme$transitions5 === void 0 || (_theme$transitions5 = _theme$transitions5.easing) === null || _theme$transitions5 === void 0 ? void 0 : _theme$transitions5.sharp,
1500
+ duration: theme === null || theme === void 0 || (_theme$transitions6 = theme.transitions) === null || _theme$transitions6 === void 0 || (_theme$transitions6 = _theme$transitions6.duration) === null || _theme$transitions6 === void 0 ? void 0 : _theme$transitions6.shortest
1501
+ }),
1502
+ "$expanded &": { transform: "scaleX(-1)" }
1503
+ }
1504
+ };
1505
+ }, { name: "SidebarCollapseButton" });
1506
+ /**
1507
+ * Custom styled button used for expanding/collapsing sidebars
1508
+ */
1509
+ const SidebarCollapseButton = (props) => {
1510
+ const classes = useStyles$6(props);
1511
+ const { expanded, className, id, udprecordid,...other } = props;
1512
+ const { t } = useTranslation();
1513
+ return /* @__PURE__ */ jsx("div", {
1514
+ ...other,
1515
+ className: clsx(className, classes.root, { [classes.expanded]: expanded }),
1516
+ children: /* @__PURE__ */ jsx(FluentIconButton, {
1517
+ id,
1518
+ udprecordid,
1519
+ color: "inherit",
1520
+ className: clsx(classes.iconButton, classes.switch),
1521
+ "aria-label": expanded ? t("mainMenuAria.collapseNavigation") : t("mainMenuAria.expandNavigation"),
1522
+ icon: ChevronRightIcon
1523
+ })
1524
+ });
1525
+ };
1526
+
1527
+ //#endregion
1528
+ //#region src/UI/inputs/buttons/AmbientCardButton.jsx
1529
+ const useStyles$5 = makeStyles((theme) => ({ root: {
1530
+ borderRadius: 0,
1531
+ padding: 8
1532
+ } }));
1533
+ const AmbientCardButton = (props) => {
1534
+ const classes = useStyles$5(props);
1535
+ const { editOption, launchOption, deleteOption, children,...otherProps } = props;
1536
+ return /* @__PURE__ */ jsxs(Button, {
1537
+ classes: { root: classes.root },
1538
+ variant: "outlined",
1539
+ disableElevation: true,
1540
+ color: "primary",
1541
+ ...otherProps,
1542
+ children: [
1543
+ editOption && /* @__PURE__ */ jsx(EditIcon, {}),
1544
+ launchOption && /* @__PURE__ */ jsx(ArrowUpRightIcon, {}),
1545
+ deleteOption && /* @__PURE__ */ jsx(DeleteIcon, {}),
1546
+ children
1547
+ ]
1548
+ });
1549
+ };
1550
+ AmbientCardButton.propTypes = {
1551
+ editOption: PropTypes.bool,
1552
+ launchOption: PropTypes.bool,
1553
+ deleteOption: PropTypes.bool,
1554
+ children: PropTypes.string
1555
+ };
1556
+
1557
+ //#endregion
1558
+ //#region src/UI/components/feedback/Adornment.jsx
1559
+ const useStyles$4 = makeStyles((theme) => ({ root: (props) => ({
1560
+ width: theme.spacing(.5),
1561
+ height: "100%",
1562
+ background: theme.palette[props.color].main
1563
+ }) }));
1564
+ const Adornment = (props) => {
1565
+ const classes = useStyles$4(props);
1566
+ return /* @__PURE__ */ jsx("div", { className: classes.root });
1567
+ };
1568
+ Adornment.propTypes = { color: PropTypes.string };
1569
+
1570
+ //#endregion
1571
+ //#region src/UI/surfaces/cards/AmbientCard.jsx
1572
+ const useStyles$3 = makeStyles((theme) => ({
1573
+ root: {},
1574
+ paper: {
1575
+ width: "100%",
1576
+ position: "relative",
1577
+ display: "flex",
1578
+ flexDirection: "column",
1579
+ height: (props) => {
1580
+ var _props$cardHeight;
1581
+ return (_props$cardHeight = props === null || props === void 0 ? void 0 : props.cardHeight) !== null && _props$cardHeight !== void 0 ? _props$cardHeight : "";
1582
+ }
1583
+ },
1584
+ adornment: {
1585
+ top: 0,
1586
+ left: 0,
1587
+ height: "100%",
1588
+ position: "absolute"
1589
+ },
1590
+ launchButtons: {
1591
+ padding: theme.spacing(0, 2, 2, 2),
1592
+ display: "flex",
1593
+ justifyContent: "flex-end",
1594
+ bottom: (props) => props.adjustBaseline ? props.adjustBaseline : 16,
1595
+ right: theme.spacing(2),
1596
+ gridGap: theme.spacing(1)
1597
+ },
1598
+ moreButton: {
1599
+ marginTop: theme.spacing(1),
1600
+ display: "flex",
1601
+ justifyContent: "center",
1602
+ backgroundColor: lighten(theme.palette.secondary.main, .9),
1603
+ padding: theme.spacing(1)
1604
+ },
1605
+ styleWidth: {
1606
+ width: (props) => !(props === null || props === void 0 ? void 0 : props.fullWidth) ? "75%" : "100%",
1607
+ height: "100%"
1608
+ },
1609
+ media: { height: (props) => props.mediaHeight || 120 },
1610
+ cardContent: {
1611
+ flexGrow: 1,
1612
+ padding: (props) => props.removePadding && 0,
1613
+ "&:last-child": { paddingBottom: (props) => props.lastChildBottomPadding ? props.lastChildBottomPadding : theme.spacing(2) },
1614
+ paddingTop: 0,
1615
+ height: (props) => props.cardContentHeight ? props.cardContentHeight : ""
1616
+ },
1617
+ titleWrapper: {
1618
+ display: "flex",
1619
+ backgroundColor: (props) => props.headerColor && getEllipseColor(theme, props.headerColor, "light")
1620
+ },
1621
+ title: { color: (props) => props.headerColor && theme.palette.getContrastText(getEllipseColor(theme, props.headerColor, "light")) },
1622
+ loading: {
1623
+ position: "absolute",
1624
+ top: 0,
1625
+ left: 0
1626
+ },
1627
+ expandMessage: { display: "flex" },
1628
+ cardRoot: { "&:last-child": { paddingBottom: theme.spacing(2) } },
1629
+ visualization: {
1630
+ display: "flex",
1631
+ alignItems: "flex-end",
1632
+ width: "100%",
1633
+ height: 300
1634
+ },
1635
+ titlesWrapper: {
1636
+ display: "flex",
1637
+ flexDirection: "column",
1638
+ flex: 1,
1639
+ lineHeight: (props) => props.globalExpanded && "125%"
1640
+ },
1641
+ collapseChildren: {
1642
+ flexGrow: 1,
1643
+ "& .MuiCollapse-wrapper": { height: "100%" },
1644
+ "& .MuiCollapse-wrapperInner": { height: "100%" },
1645
+ height: (props) => props.cardContentHeight ? props.cardContentHeight : ""
1646
+ }
1647
+ }));
1648
+ const AmbientCard = (props) => {
1649
+ const classes = useStyles$3(props);
1650
+ const [expanded, setExpanded] = useState(false);
1651
+ const { adornment = "secondary", ariaLabel, baseLoading, cardHeight, children, collapseChildrenWhenExpanded, customAdornment = " ", deleteEvent, deleteOption, editEvent, editOption, extendedContent, extendedList, fullWidth, globalToggle, header, image, imageTitle, label, large, launchEvent, launchOption, loading, mediaHeight, more, moreMessage, moreButton, moreButtonExpanded, noAdornment = false, overrideStatusSuccess, overrideStatusError, overrideStatusWarning, overrideStatusInfo, removeTopLayoutUnit, status, subCard, title, toggleGlobalExpanded = true, visualization, subtitle,...otherProps } = props;
1652
+ const [globalExpanded, setGlobalExpanded] = useState(toggleGlobalExpanded);
1653
+ return !baseLoading && /* @__PURE__ */ jsxs(Paper, {
1654
+ elevation: 0,
1655
+ className: classes.paper,
1656
+ children: [
1657
+ !noAdornment && /* @__PURE__ */ jsx("div", {
1658
+ className: classes.adornment,
1659
+ children: customAdornment ? customAdornment : /* @__PURE__ */ jsx(Adornment, { color: adornment })
1660
+ }),
1661
+ title && /* @__PURE__ */ jsxs(CardContent, {
1662
+ className: classes.titleWrapper,
1663
+ classes: { root: classes.cardRoot },
1664
+ children: [
1665
+ /* @__PURE__ */ jsxs("div", {
1666
+ className: classes.titlesWrapper,
1667
+ children: [/* @__PURE__ */ jsx(Typography, {
1668
+ className: classes.title,
1669
+ component: "h2",
1670
+ variant: subCard ? "subtitle2" : "h6",
1671
+ children: title
1672
+ }), subtitle && /* @__PURE__ */ jsx(Typography, {
1673
+ variant: "body1",
1674
+ className: classes.title,
1675
+ children: subtitle
1676
+ })]
1677
+ }),
1678
+ status && /* @__PURE__ */ jsx(StatusChip, {
1679
+ status,
1680
+ label,
1681
+ success: overrideStatusSuccess,
1682
+ error: overrideStatusError,
1683
+ warning: overrideStatusWarning,
1684
+ info: overrideStatusInfo
1685
+ }),
1686
+ globalToggle && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FluentIconButton, {
1687
+ onClick: () => setGlobalExpanded(!globalExpanded),
1688
+ icon: globalExpanded ? ChevronUpIcon : ChevronDownIcon,
1689
+ className: classes.icon,
1690
+ id: "udpRecord-AmbientCard-Toggle-" + (globalExpanded ? "Up" : "Down"),
1691
+ udprecordid: "udpRecord-AmbientCard-Toggle-" + (globalExpanded ? "Up" : "Down")
1692
+ }) })
1693
+ ]
1694
+ }),
1695
+ image && /* @__PURE__ */ jsx(CardMedia, {
1696
+ className: classes.media,
1697
+ image,
1698
+ title: imageTitle
1699
+ }),
1700
+ globalExpanded && /* @__PURE__ */ jsxs(CardContent, {
1701
+ classes: { root: classes.cardContent },
1702
+ children: [
1703
+ !image && !header && !removeTopLayoutUnit && /* @__PURE__ */ jsx(LayoutUnit, { unit: large ? "md" : "xxs" }),
1704
+ image && /* @__PURE__ */ jsx(LayoutUnit, { unit: "xs" }),
1705
+ /* @__PURE__ */ jsx(Collapse, {
1706
+ in: !collapseChildrenWhenExpanded || !expanded,
1707
+ timeout: "auto",
1708
+ className: classes.collapseChildren,
1709
+ children: /* @__PURE__ */ jsx("div", {
1710
+ className: classes.styleWidth,
1711
+ children
1712
+ })
1713
+ }),
1714
+ extendedList && /* @__PURE__ */ jsx(Collapse, {
1715
+ in: expanded,
1716
+ timeout: "auto",
1717
+ children: /* @__PURE__ */ jsx("div", { children: extendedList })
1718
+ }),
1719
+ more && /* @__PURE__ */ jsx("div", {
1720
+ className: classes.moreButton,
1721
+ children: /* @__PURE__ */ jsxs("div", {
1722
+ className: classes.expandMessage,
1723
+ children: [/* @__PURE__ */ jsx(Typography, {
1724
+ style: {
1725
+ marginTop: 4,
1726
+ marginRight: 16
1727
+ },
1728
+ variant: "subtitle2",
1729
+ children: !expanded && moreMessage
1730
+ }), /* @__PURE__ */ jsx(FluentButton, {
1731
+ onClick: () => setExpanded(!expanded),
1732
+ color: "secondary",
1733
+ variant: "outlined",
1734
+ children: expanded ? moreButtonExpanded : moreButton
1735
+ })]
1736
+ })
1737
+ })
1738
+ ]
1739
+ }),
1740
+ visualization && /* @__PURE__ */ jsx("div", {
1741
+ className: classes.visualization,
1742
+ children: visualization
1743
+ }),
1744
+ !globalToggle && (editOption || launchOption || deleteOption) && /* @__PURE__ */ jsxs("div", {
1745
+ className: classes.launchButtons,
1746
+ children: [
1747
+ editOption && /* @__PURE__ */ jsx(AmbientCardButton, {
1748
+ "aria-label": ariaLabel,
1749
+ editOption: true,
1750
+ ...otherProps,
1751
+ onClick: editEvent,
1752
+ id: "udpRecord-AmbientCard-edit",
1753
+ udprecordid: "udpRecord-AmbientCard-edit"
1754
+ }),
1755
+ launchOption && /* @__PURE__ */ jsx(AmbientCardButton, {
1756
+ "aria-label": ariaLabel,
1757
+ launchOption: true,
1758
+ ...otherProps,
1759
+ onClick: launchEvent,
1760
+ id: "udpRecord-AmbientCard-launch",
1761
+ udprecordid: "udpRecord-AmbientCard-launch"
1762
+ }),
1763
+ deleteOption && /* @__PURE__ */ jsx(AmbientCardButton, {
1764
+ "aria-label": ariaLabel,
1765
+ deleteOption: true,
1766
+ ...otherProps,
1767
+ onClick: deleteEvent,
1768
+ id: "udpRecord-AmbientCard-delete",
1769
+ udprecordid: "udpRecord-AmbientCard-delete"
1770
+ })
1771
+ ]
1772
+ })
1773
+ ]
1774
+ });
1775
+ };
1776
+
1777
+ //#endregion
1778
+ //#region src/UI/feedback/NodeLoader.jsx
1779
+ const useStyles$2 = makeStyles((theme) => ({
1780
+ root: {},
1781
+ nodeWrapper: { display: "flex" }
1782
+ }));
1783
+ const NodeLoader = ({ loading, nodesRequested = [1] }) => {
1784
+ const classes = useStyles$2();
1785
+ const singleNode = [
1786
+ 1,
1787
+ 2,
1788
+ 3,
1789
+ 4
1790
+ ];
1791
+ const NodeElement = () => {
1792
+ return /* @__PURE__ */ jsxs("div", {
1793
+ className: classes.nodeWrapper,
1794
+ children: [/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Skeleton$1, {
1795
+ variant: "circle",
1796
+ width: 20,
1797
+ height: 20
1798
+ }) }), /* @__PURE__ */ jsx("div", {
1799
+ style: {
1800
+ marginLeft: 8,
1801
+ width: "100%"
1802
+ },
1803
+ children: /* @__PURE__ */ jsx(Skeleton$1, {
1804
+ height: 20,
1805
+ variant: "rect",
1806
+ width: "100%"
1807
+ })
1808
+ })]
1809
+ });
1810
+ };
1811
+ const NodeGroup = ({ indent }) => {
1812
+ return /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
1813
+ style: { marginLeft: indent },
1814
+ children: /* @__PURE__ */ jsx(NodeElement, {})
1815
+ }), /* @__PURE__ */ jsx(LayoutUnit, { unit: "xxs" })] });
1816
+ };
1817
+ const singleNodeGroup = loading && /* @__PURE__ */ jsx("div", { children: singleNode.map((item, index) => {
1818
+ return /* @__PURE__ */ jsx(NodeGroup, { indent: index * 8 });
1819
+ }) });
1820
+ return /* @__PURE__ */ jsx("div", { children: nodesRequested && nodesRequested.map((item) => {
1821
+ return /* @__PURE__ */ jsxs("div", {
1822
+ className: classes.root,
1823
+ children: [
1824
+ singleNodeGroup,
1825
+ " ",
1826
+ /* @__PURE__ */ jsx(LayoutUnit, { unit: "xxs" })
1827
+ ]
1828
+ });
1829
+ }) });
1830
+ };
1831
+
1832
+ //#endregion
1833
+ //#region src/models/NumberOperator.ts
1834
+ let NumberOperatorEnums = /* @__PURE__ */ function(NumberOperatorEnums$1) {
1835
+ NumberOperatorEnums$1["Equals"] = "=";
1836
+ NumberOperatorEnums$1["Does_Not_Equal"] = "!=";
1837
+ NumberOperatorEnums$1["Greater_Than"] = ">";
1838
+ NumberOperatorEnums$1["Less_Than"] = "<";
1839
+ NumberOperatorEnums$1["Greater_Than_Or_Equal_To"] = ">=";
1840
+ NumberOperatorEnums$1["Less_Than_Or_Equal_To"] = "<=";
1841
+ NumberOperatorEnums$1["Between"] = "BETWEEN";
1842
+ return NumberOperatorEnums$1;
1843
+ }({});
1844
+
1845
+ //#endregion
1846
+ //#region src/UI/utilityDisplay/utilities/aggregateUtils.js
1847
+ const getThresholdStatus = (aggThreshold, aggregateValue) => {
1848
+ if (!aggThreshold || !aggregateValue) return null;
1849
+ const thresholdTypes = [
1850
+ {
1851
+ type: SeverityTypeEnums.Success,
1852
+ threshold: aggThreshold.successThreshold
1853
+ },
1854
+ {
1855
+ type: SeverityTypeEnums.Error,
1856
+ threshold: aggThreshold.errorThreshold
1857
+ },
1858
+ {
1859
+ type: SeverityTypeEnums.Warning,
1860
+ threshold: aggThreshold.warningThreshold
1861
+ },
1862
+ {
1863
+ type: SeverityTypeEnums.Info,
1864
+ threshold: aggThreshold.infoThreshold
1865
+ }
1866
+ ];
1867
+ let thresholdStatus = "";
1868
+ for (const { type, threshold } of thresholdTypes) if (threshold && evaluateThreshold(threshold, aggregateValue)) {
1869
+ thresholdStatus = type;
1870
+ break;
1871
+ }
1872
+ return thresholdStatus;
1873
+ };
1874
+ const evaluateThreshold = (threshold = {}, aggregateValue) => {
1875
+ if (typeof threshold === "string") try {
1876
+ threshold = JSON.parse(threshold);
1877
+ } catch {
1878
+ console.error(`Could not parse: ${threshold}`);
1879
+ return false;
1880
+ }
1881
+ const { operator, value1, value2 } = threshold;
1882
+ let thresholdMet = false;
1883
+ switch (operator) {
1884
+ case NumberOperatorEnums.Equals:
1885
+ thresholdMet = aggregateValue === parseFloat(value1);
1886
+ break;
1887
+ case NumberOperatorEnums.Does_Not_Equal:
1888
+ thresholdMet = aggregateValue !== parseFloat(value1);
1889
+ break;
1890
+ case NumberOperatorEnums.Greater_Than:
1891
+ thresholdMet = aggregateValue > parseFloat(value1);
1892
+ break;
1893
+ case NumberOperatorEnums.Less_Than:
1894
+ thresholdMet = aggregateValue < parseFloat(value1);
1895
+ break;
1896
+ case NumberOperatorEnums.Greater_Than_Or_Equal_To:
1897
+ thresholdMet = aggregateValue >= parseFloat(value1);
1898
+ break;
1899
+ case NumberOperatorEnums.Less_Than_Or_Equal_To:
1900
+ thresholdMet = aggregateValue <= parseFloat(value1);
1901
+ break;
1902
+ case NumberOperatorEnums.Between:
1903
+ thresholdMet = aggregateValue >= parseFloat(value1) && aggregateValue <= parseFloat(value2);
1904
+ break;
1905
+ default: break;
1906
+ }
1907
+ return thresholdMet;
1908
+ };
1909
+
1910
+ //#endregion
1911
+ //#region src/UI/dataDisplay/entityHeader/ui/AlertPill.jsx
1912
+ /**
1913
+ * Styles for the AlertPill component
1914
+ */
1915
+ const useStyles$1 = makeStyles((theme) => {
1916
+ const endRadius = theme.spacing(3);
1917
+ return {
1918
+ root: {
1919
+ display: "flex",
1920
+ flexDirection: "row",
1921
+ overflow: "hidden",
1922
+ flexGrow: 0,
1923
+ alignSelf: "start"
1924
+ },
1925
+ alertRoot: {
1926
+ padding: theme.spacing(0, 1.5, 0, 1),
1927
+ borderRadius: 0,
1928
+ "&:first-of-type": {
1929
+ borderTopLeftRadius: endRadius,
1930
+ borderBottomLeftRadius: endRadius
1931
+ },
1932
+ "&:last-of-type": {
1933
+ borderTopRightRadius: endRadius,
1934
+ borderBottomRightRadius: endRadius
1935
+ }
1936
+ },
1937
+ alertIcon: { marginRight: theme.spacing(.5) },
1938
+ buttonBase: {
1939
+ borderRadius: endRadius,
1940
+ overflow: "hidden"
1941
+ },
1942
+ defaultSeverityAlert: { backgroundColor: theme.palette.grey[400] }
1943
+ };
1944
+ });
1945
+ /**
1946
+ * Memoized version of the Alert component
1947
+ *
1948
+ * @param {object} props - Component props
1949
+ * @param {number} props.count - The count to display in the Alert
1950
+ * @param {boolean} props.hide - Whether the Alert should be hidden
1951
+ * @param {string} props.severity - The severity of the Alert
1952
+ * @param {object} props.alertProps - Additional props to pass to the Alert component
1953
+ * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
1954
+ * @returns {JSX.Element | null} - The Alert component, or null if the count is falsy or hide is true
1955
+ */
1956
+ const MemoizedAlert = memo((props) => {
1957
+ const { count, hide, severity, alertProps, maxCount, label } = props;
1958
+ const classes = useStyles$1(props);
1959
+ if (count && !hide) {
1960
+ let displayCount = count;
1961
+ if (maxCount && count > maxCount) displayCount = `${maxCount}+`;
1962
+ if (severity === SeverityTypeEnums.Default) return /* @__PURE__ */ jsx(Alert, {
1963
+ severity: SeverityTypeEnums.Info,
1964
+ ...alertProps,
1965
+ className: classes.defaultSeverityAlert,
1966
+ children: displayCount
1967
+ });
1968
+ return /* @__PURE__ */ jsx(Alert, {
1969
+ severity,
1970
+ ...alertProps,
1971
+ children: label ? label : displayCount
1972
+ });
1973
+ }
1974
+ return null;
1975
+ });
1976
+ MemoizedAlert.displayName = "MemoizedAlert";
1977
+ /**
1978
+ * The AlertPill component displays a row of Alerts, each with a count and a severity level.
1979
+ * Alerts can be hidden by setting the corresponding hide prop to true.
1980
+ *
1981
+ * @param {object} props - Component props
1982
+ * @param {function} [props.handleClick] - The click event handler.
1983
+ * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
1984
+ * @param {number} props.errorCount - The count for the error Alert
1985
+ * @param {number} props.warningCount - The count for the warning Alert
1986
+ * @param {number} props.successCount - The count for the success Alert
1987
+ * @param {number} props.infoCount - The count for the info Alert
1988
+ * @param {number} props.defaultCount - The count for the default Alert
1989
+ * @param {string} props.errorLabel - The label for the error Alert
1990
+ * @param {string} props.warningLabel - The label for the warning Alert
1991
+ * @param {string} props.successLabel - The label for the success Alert
1992
+ * @param {string} props.infoLabel - The label for the info Alert
1993
+ * @param {string} props.defaultLabel - The label for the default Alert
1994
+ * @param {boolean} props.hideError - Whether the error Alert should be hidden
1995
+ * @param {boolean} props.hideWarning - Whether the warning Alert should be hidden
1996
+ * @param {boolean} props.hideSuccess - Whether the success Alert should be hidden
1997
+ * @param {boolean} props.hideInfo - Whether the info Alert should be hidden
1998
+ * @param {boolean} props.hideDefault - Whether the default Alert should be hidden
1999
+ * @param {string} props.variant - The variant of the Alert
2000
+ * @param {function} [props.handleClick] - The click event handler.
2001
+ * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
2002
+ * @returns {JSX.Element} - The AlertPill component
2003
+ */
2004
+ const AlertPill = (props) => {
2005
+ const { variant = "filled", handleClick, maxCount, errorCount, warningCount, successCount, infoCount, defaultCount, errorLabel, warningLabel, successLabel, infoLabel, defaultLabel, hideError = false, hideWarning = false, hideSuccess = false, hideInfo = false, hideDefault = false } = props;
2006
+ const classes = useStyles$1(props);
2007
+ const variantMapping = {
2008
+ filled: "filled",
2009
+ standard: "hint",
2010
+ outlined: "outlined",
2011
+ text: ""
2012
+ };
2013
+ const alertProps = {
2014
+ variant: variantMapping[variant],
2015
+ classes: {
2016
+ root: classes.alertRoot,
2017
+ icon: classes.alertIcon
2018
+ }
2019
+ };
2020
+ return /* @__PURE__ */ jsx("div", {
2021
+ className: classes.root,
2022
+ children: /* @__PURE__ */ jsxs(ButtonBase, {
2023
+ onClick: handleClick,
2024
+ className: classes.buttonBase,
2025
+ children: [
2026
+ /* @__PURE__ */ jsx(MemoizedAlert, {
2027
+ count: errorCount,
2028
+ hide: hideError,
2029
+ severity: SeverityTypeEnums.Error,
2030
+ alertProps,
2031
+ maxCount,
2032
+ label: errorLabel
2033
+ }),
2034
+ /* @__PURE__ */ jsx(MemoizedAlert, {
2035
+ count: warningCount,
2036
+ hide: hideWarning,
2037
+ severity: SeverityTypeEnums.Warning,
2038
+ alertProps,
2039
+ maxCount,
2040
+ label: warningLabel
2041
+ }),
2042
+ /* @__PURE__ */ jsx(MemoizedAlert, {
2043
+ count: successCount,
2044
+ hide: hideSuccess,
2045
+ severity: SeverityTypeEnums.Success,
2046
+ alertProps,
2047
+ maxCount,
2048
+ label: successLabel
2049
+ }),
2050
+ /* @__PURE__ */ jsx(MemoizedAlert, {
2051
+ count: infoCount,
2052
+ hide: hideInfo,
2053
+ severity: SeverityTypeEnums.Info,
2054
+ alertProps,
2055
+ maxCount,
2056
+ label: infoLabel
2057
+ }),
2058
+ /* @__PURE__ */ jsx(MemoizedAlert, {
2059
+ count: defaultCount,
2060
+ hide: hideDefault,
2061
+ severity: SeverityTypeEnums.Default,
2062
+ alertProps,
2063
+ maxCount,
2064
+ label: defaultLabel
2065
+ })
2066
+ ]
2067
+ })
2068
+ });
2069
+ };
2070
+
2071
+ //#endregion
2072
+ //#region src/UI/utilityDisplay/AggregateChip.jsx
2073
+ const AggregateChip = (props) => {
2074
+ const { aggregateThresholdId, aggregateThresholdParamMappings, label, chipColor, setStatus, isActionable = false, isAlert = false, hideAlert = false, onAlertClick } = props;
2075
+ const [color, setColor] = useState(chipColor);
2076
+ const [aggregateValue, setAggregateValue] = useState(null);
2077
+ const [loading, setLoading] = useState(false);
2078
+ const [{ data: aggregateThreshold, loading: loadingAggregateThreshold }] = useAxiosGet(ConfigService.integrationV2ApiUrl, `aggregateThreshold/${aggregateThresholdId}`, {}, !!!aggregateThresholdId);
2079
+ const alertDisplayLabel = useMemo(() => {
2080
+ if (!label) return aggregateValue;
2081
+ return `${label.replace("{value}", aggregateValue)}`;
2082
+ }, [aggregateValue, label]);
2083
+ useEffect(() => {
2084
+ const setAggregateData = async (apiMethodInstanceId, valueKey) => {
2085
+ setLoading(true);
2086
+ const data = aggregateThresholdParamMappings ? { data: aggregateThresholdParamMappings } : { data: {} };
2087
+ const response = await executeQueryInstance(data, apiMethodInstanceId).catch((res) => setLoading(false));
2088
+ if ((response === null || response === void 0 ? void 0 : response.status) === 200 && valueKey) {
2089
+ var _response$data, _response$data2;
2090
+ const aggregateResult = ((_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.aggregateResults) && ((_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.aggregateResults[0]);
2091
+ if (aggregateResult) setAggregateValue(aggregateResult[valueKey] ? Math.round(aggregateResult[valueKey]) : "");
2092
+ }
2093
+ setLoading(false);
2094
+ };
2095
+ if (aggregateThreshold) setAggregateData(aggregateThreshold.apiMethodInstanceId, aggregateThreshold.aggregateKey);
2096
+ }, [aggregateThreshold]);
2097
+ useEffect(() => {
2098
+ if (aggregateThreshold && aggregateValue) {
2099
+ const status = getThresholdStatus(aggregateThreshold, aggregateValue);
2100
+ setColor(status);
2101
+ if (setStatus) setStatus(status || "default");
2102
+ }
2103
+ }, [
2104
+ aggregateThreshold,
2105
+ aggregateValue,
2106
+ setStatus
2107
+ ]);
2108
+ if (loading || loadingAggregateThreshold) return /* @__PURE__ */ jsx(CircularProgress, { size: 18 });
2109
+ if (!color && !isAlert) return /* @__PURE__ */ jsx(Typography, {
2110
+ variant: "caption2",
2111
+ style: { fontSize: "0.7rem" },
2112
+ children: label || aggregateValue
2113
+ });
2114
+ if (isAlert) return /* @__PURE__ */ jsx(AlertPill, {
2115
+ handleClick: onAlertClick,
2116
+ successCount: color === SeverityTypeEnums.Success ? aggregateValue : "",
2117
+ errorCount: color === SeverityTypeEnums.Error ? aggregateValue : "",
2118
+ warningCount: color === SeverityTypeEnums.Warning ? aggregateValue : "",
2119
+ infoCount: color === SeverityTypeEnums.Info ? aggregateValue : "",
2120
+ defaultCount: !color && (aggregateValue || ""),
2121
+ successLabel: color === SeverityTypeEnums.Success ? alertDisplayLabel : "",
2122
+ errorLabel: color === SeverityTypeEnums.Error ? alertDisplayLabel : "",
2123
+ warningLabel: color === SeverityTypeEnums.Warning ? alertDisplayLabel : "",
2124
+ infoLabel: color === SeverityTypeEnums.Info ? alertDisplayLabel : "",
2125
+ defaultLabel: !color && (alertDisplayLabel || ""),
2126
+ hideSuccess: color === SeverityTypeEnums.Success ? hideAlert : false,
2127
+ hideError: color === SeverityTypeEnums.Error ? hideAlert : false,
2128
+ hideWarning: color === SeverityTypeEnums.Warning ? hideAlert : false,
2129
+ hideInfo: color === SeverityTypeEnums.Info ? hideAlert : false,
2130
+ hideDefault: !color ? hideAlert : false
2131
+ });
2132
+ return label || aggregateValue ? /* @__PURE__ */ jsx(StatusChip, {
2133
+ label: label || aggregateValue,
2134
+ status: color,
2135
+ useSmallChip: true,
2136
+ isActionable
2137
+ }) : null;
2138
+ };
2139
+ AggregateChip.prototype = {
2140
+ chipColor: PropTypes.oneOf([
2141
+ "success",
2142
+ "error",
2143
+ "warning",
2144
+ "info",
2145
+ void 0,
2146
+ null
2147
+ ]),
2148
+ aggregateThresholdId: PropTypes.oneOf([
2149
+ PropTypes.string,
2150
+ void 0,
2151
+ null
2152
+ ])
2153
+ };
2154
+
2155
+ //#endregion
2156
+ //#region src/utilities/utilityBar/UtilityBarInport.jsx
2157
+ const UtilityBarInports = createTeleporter({ multiSources: true });
2158
+ const UtilityBarInportTarget = UtilityBarInports.Target;
2159
+ /**
2160
+ * Places a Control in the App SubHeader
2161
+ */
2162
+ const UtilityBarInport = (props) => {
2163
+ const { children, className,...buttonProps } = props;
2164
+ return /* @__PURE__ */ jsx(UtilityBarInports.Source, { children });
2165
+ };
2166
+
2167
+ //#endregion
2168
+ //#region src/UI/utilityDisplay/UtilitySideBar.jsx
2169
+ const EXPANDED_WIDTH = 288;
2170
+ const COLLAPSED_WIDTH = 78;
2171
+ const MAX_WIDTH = 700;
2172
+ const useStyles = makeStyles((theme) => ({
2173
+ root: {
2174
+ paddingTop: (props) => props.removePadding || props.sidebarHidden ? 0 : 40,
2175
+ overflow: "hidden",
2176
+ height: "100%"
2177
+ },
2178
+ titleWrapper: {
2179
+ display: (props) => props.hideTitleBar ? "none" : "flex",
2180
+ width: "100%",
2181
+ paddingLeft: theme.spacing(1)
2182
+ },
2183
+ button: { marginTop: -8 },
2184
+ title: {
2185
+ flex: 1,
2186
+ width: "100%",
2187
+ marginTop: 8
2188
+ },
2189
+ expandedWidth: { width: 288 },
2190
+ handle: {
2191
+ top: 0,
2192
+ right: theme.spacing(-.75),
2193
+ width: theme.spacing(.75),
2194
+ zIndex: 1e4,
2195
+ height: "calc(100vh - 56px)",
2196
+ display: "inline-block",
2197
+ position: "absolute",
2198
+ "&:hover": { cursor: "col-resize" }
2199
+ }
2200
+ }));
2201
+ const UtilitySideBar = (props) => {
2202
+ const { onUtilitySidebarToggleExpandClick, resizable, title, utilitySidebarToggleOverride, isUsingChildren = false, removeTopLayoutUnit = false, collapsedWidth, children, sidebarHidden, handleResize = null, hideTitleBar } = props;
2203
+ const buildEnv = useBuildEnvironment();
2204
+ const classes = useStyles({
2205
+ ...props,
2206
+ appRibbbonSpace: buildEnv ? APP_RIBBON_SPACE : 0
2207
+ });
2208
+ const [expanded, setExpanded] = useState(true);
2209
+ const [width, setWidth] = useState(EXPANDED_WIDTH);
2210
+ const _collapsedWidth = collapsedWidth !== null && collapsedWidth !== void 0 ? collapsedWidth : COLLAPSED_WIDTH;
2211
+ const theme = useTheme();
2212
+ const onResize = (event, { element, size, handle }) => {
2213
+ setWidth(size.width);
2214
+ if (handleResize) handleResize(size.width);
2215
+ };
2216
+ const handleToggleClick = useCallback(() => {
2217
+ if (onUtilitySidebarToggleExpandClick) onUtilitySidebarToggleExpandClick();
2218
+ setExpanded((expanded$1) => !expanded$1);
2219
+ }, [onUtilitySidebarToggleExpandClick]);
2220
+ useEffect(() => {
2221
+ if (typeof utilitySidebarToggleOverride === "boolean") setExpanded(utilitySidebarToggleOverride);
2222
+ }, [utilitySidebarToggleOverride]);
2223
+ return /* @__PURE__ */ jsx(ResizableBox, {
2224
+ width: expanded ? width : _collapsedWidth,
2225
+ resizeHandles: resizable && expanded ? ["e"] : [],
2226
+ axis: "x",
2227
+ minConstraints: expanded ? [EXPANDED_WIDTH] : [_collapsedWidth],
2228
+ maxConstraints: [MAX_WIDTH],
2229
+ onResize,
2230
+ handle: expanded && /* @__PURE__ */ jsx("div", { className: classes.handle }),
2231
+ style: { position: "relative" },
2232
+ children: /* @__PURE__ */ jsx("div", {
2233
+ className: classes.root,
2234
+ style: { width: expanded ? width : _collapsedWidth },
2235
+ children: /* @__PURE__ */ jsxs(AmbientCard, {
2236
+ fullWidth: true,
2237
+ removePadding: true,
2238
+ lastChildBottomPadding: 12,
2239
+ removeTopLayoutUnit: removeTopLayoutUnit || sidebarHidden,
2240
+ children: [
2241
+ /* @__PURE__ */ jsxs("div", {
2242
+ style: {
2243
+ display: hideTitleBar ? "none" : "flex",
2244
+ width: "100%",
2245
+ paddingLeft: theme.spacing(1)
2246
+ },
2247
+ children: [/* @__PURE__ */ jsx("div", {
2248
+ className: classes.title,
2249
+ children: expanded && /* @__PURE__ */ jsxs(Typography, {
2250
+ variant: "h6",
2251
+ children: [
2252
+ " ",
2253
+ title,
2254
+ " "
2255
+ ]
2256
+ })
2257
+ }), /* @__PURE__ */ jsx("div", {
2258
+ className: classes.button,
2259
+ children: /* @__PURE__ */ jsx(SidebarCollapseButton, {
2260
+ id: "udpRecord-UtilitySideBar",
2261
+ udprecordid: "udpRecord-UtilitySideBar",
2262
+ expanded,
2263
+ onClick: handleToggleClick
2264
+ })
2265
+ })]
2266
+ }),
2267
+ !isUsingChildren && /* @__PURE__ */ jsx(UtilityBarInportTarget, {}),
2268
+ isUsingChildren && children
2269
+ ]
2270
+ })
2271
+ })
2272
+ });
2273
+ };
2274
+
2275
+ //#endregion
2276
+ export { Adornment, AggregateChip, AlertPill, AmbientCard, AmbientCardButton, GroupNode, NodeLoader, SidebarCollapseButton, UtilityBarInport, UtilityBarInportTarget, UtilitySideBar, checkNodeIsHidden, collapseAllNodes, constructBusinessObjectArrFromTree, constructDynamicNodeGroups, constructDynamicNodeGroups2, constructPreloadedTree, constructStaticNodeGroups, deleteNode, deleteNodeAndChildren, evaluateRule, expandAllNodes, findAllParentIds, findLastNode, findNodeById, findNodeByIdAndLabel, findNodesByIdAndLabel, formatTreeLabel, formatTreeMenuItem, getAllChildrenNodesToDelete, getDisplayDetails, getDisplayName, getHeaderTitle, getIconFromName, getLazyLoadChildrenArr, getNodeIdForRightBorder, getOrderedDynamicGroups, getPropertyMappingList, getPropertyMappingObj, getSearchValueString, getUnityIconFromName, makeDynamicGroupStructures, makeDynamicTreeStructure, makeTreeStaticGroupStructure, makeTreeStructure, mapNodeGroupChildren, mapNodeObjValuesToSearchParameters, mapRule, mapRuleData, processCatalogObjectKeysInOrder, processItemForDynamicNodeGroups, processItemForStaticNodeGroup, processObjIndex, processObjectToTree, processOrderedTreeData, processReferences, require_defineProperty, searchForMatchingNode, searchTree, transformMenuPageTree, unityIcons, updateTreeIds };
2277
+ //# sourceMappingURL=UtilitySideBar-Dz_17lBo.js.map