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,2647 @@
1
+ const require_chunk = require('./chunk-DoeelZqw.cjs');
2
+ const require_EnvironmentRibbon = require('./EnvironmentRibbon-CgKsTmQ7.cjs');
3
+ const require_SearchUtilities = require('./SearchUtilities-BYR03EFr.cjs');
4
+ const react = require_chunk.__toESM(require("react"));
5
+ const __material_ui_core = require_chunk.__toESM(require("@material-ui/core"));
6
+ const react_jsx_runtime = require_chunk.__toESM(require("react/jsx-runtime"));
7
+ const udp_react_stencil_component_library = require_chunk.__toESM(require("udp-react-stencil-component-library"));
8
+ const clsx = require_chunk.__toESM(require("clsx"));
9
+ const __fluentui_react_icons = require_chunk.__toESM(require("@fluentui/react-icons"));
10
+ const prop_types = require_chunk.__toESM(require("prop-types"));
11
+ const lodash = require_chunk.__toESM(require("lodash"));
12
+ const react_i18next = require_chunk.__toESM(require("react-i18next"));
13
+ const json_logic_js = require_chunk.__toESM(require("json-logic-js"));
14
+ const uuid = require_chunk.__toESM(require("uuid"));
15
+ const src_assets_unityIcons_Sewer_svg = require_chunk.__toESM(require("./assets/unityIcons/Sewer.svg"));
16
+ const src_assets_unityIcons_WaterDrop_svg = require_chunk.__toESM(require("./assets/unityIcons/WaterDrop.svg"));
17
+ const react_teleporter = require_chunk.__toESM(require("react-teleporter"));
18
+ const __material_ui_lab = require_chunk.__toESM(require("@material-ui/lab"));
19
+ const __material_ui_lab_Skeleton = require_chunk.__toESM(require("@material-ui/lab/Skeleton"));
20
+ const react_resizable = require_chunk.__toESM(require("react-resizable"));
21
+
22
+ //#region src/utilities/rules/RuleUtilities.js
23
+ /**
24
+ * Constructs an array of object from the object map.
25
+ *
26
+ * @param {Object} obj ex: {"a": "customerID", "b": "firstName"}
27
+ * @returns an array of object ex. [{"variable": "a", "value": "serviceLocationID"}, {"variable": "b", "value" "firstName"}]
28
+ */
29
+ const getPropertyMappingList = (obj) => {
30
+ const mappings = [];
31
+ if (obj) {
32
+ const keys = Object.keys(obj);
33
+ keys.forEach((key) => {
34
+ const mappingObj = {
35
+ variable: key,
36
+ value: obj[key]
37
+ };
38
+ mappings.push(mappingObj);
39
+ });
40
+ }
41
+ return mappings;
42
+ };
43
+ /**
44
+ * Constructs a map object where variables are keys and values are the values.
45
+ *
46
+ * @param {Array<Object>} properties ex. [{"variable": "a", "value": "serviceLocationID"}, {"variable": "b", "value" "firstName"}]
47
+ * @returns mapped object ex: {"a": "customerID", "b": "firstName"}
48
+ */
49
+ const getPropertyMappingObj = (properties) => {
50
+ const mapping = {};
51
+ if (properties === null || properties === void 0 ? void 0 : properties.length) properties.forEach((property) => {
52
+ mapping[property.variable] = property.value;
53
+ });
54
+ return mapping;
55
+ };
56
+ /**
57
+ * Maps the keys of mapping to the values of data.
58
+ *
59
+ * @param {Object} mapping ex: {"a": "customerID", "b": "firstName"}
60
+ * @param {Object} data ex: {"customerID": 1001, "firstName": "John"}
61
+ * @returns flat object ex: {"a": 1001, "b": "John"}
62
+ */
63
+ const mapRuleData = (mapping, data) => {
64
+ const mappedData = {};
65
+ if (mapping && mapping.length) {
66
+ const keys = Object.keys(mapping);
67
+ keys.forEach((key) => {
68
+ const dataKey = mapping[key];
69
+ if (dataKey) {
70
+ const dataValue = data[dataKey];
71
+ mappedData[key] = dataValue;
72
+ }
73
+ });
74
+ }
75
+ return mappedData;
76
+ };
77
+ /**
78
+ * Maps the mapping values in the mapping object to the variables in the rule.
79
+ *
80
+ * @param {Object} mapping ex: {"a": "customerID", "b": "firstName"}
81
+ * @param {Object} rule ex: {"or": [{"==": [{"var": "a"}, 400]}, {"==": [{"var": "b"}, John]}]}
82
+ * @returns jsonLogic object with the correct variable names ex: [{"==": [{"var": "customerID"}, 400]}, {"==": [{"var": "firstName"}, John]}]
83
+ */
84
+ const mapRule = (mapping = {}, rule = "") => {
85
+ const keys = Object.keys(mapping);
86
+ let updatedJsonLogic = JSON.stringify(rule);
87
+ keys.forEach((key) => {
88
+ const substr = JSON.stringify({ var: key });
89
+ const newSubstr = JSON.stringify({ var: mapping[key] });
90
+ updatedJsonLogic = updatedJsonLogic.replaceAll(substr, newSubstr);
91
+ });
92
+ try {
93
+ return JSON.parse(updatedJsonLogic);
94
+ } catch (err) {
95
+ console.err("Error with parsing JSON Logic String");
96
+ return {};
97
+ }
98
+ };
99
+ /**
100
+ * Evaluates the rule with provided data.
101
+ *
102
+ * @param {Object} rule ex: {"or": [{"==": [{"var": "customerID"}, 400]}, {"==": [{"var": "firstName"}, John]}]}
103
+ * @param {Object} data ex: {"customerID": 1001, "firstName": "John"}
104
+ * @param {string} objectKey ex: "users"
105
+ * @param {boolean} dataLazyLoaded ex: "true"
106
+ * @returns the evaluated rule ex: true
107
+ */
108
+ const evaluateRule = (rule, data, objectKey, dataLazyLoaded) => {
109
+ let formattedData = {};
110
+ if (objectKey && dataLazyLoaded) formattedData[objectKey] = data[objectKey] ? data[objectKey] : data;
111
+ else formattedData = data;
112
+ return json_logic_js.default.apply(rule, formattedData);
113
+ };
114
+
115
+ //#endregion
116
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js
117
+ var require_typeof = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js": ((exports, module) => {
118
+ function _typeof$2(o) {
119
+ "@babel/helpers - typeof";
120
+ return module.exports = _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
121
+ return typeof o$1;
122
+ } : function(o$1) {
123
+ return o$1 && "function" == typeof Symbol && o$1.constructor === Symbol && o$1 !== Symbol.prototype ? "symbol" : typeof o$1;
124
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof$2(o);
125
+ }
126
+ module.exports = _typeof$2, module.exports.__esModule = true, module.exports["default"] = module.exports;
127
+ }) });
128
+
129
+ //#endregion
130
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js
131
+ var require_toPrimitive = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js": ((exports, module) => {
132
+ var _typeof$1 = require_typeof()["default"];
133
+ function toPrimitive$1(t, r) {
134
+ if ("object" != _typeof$1(t) || !t) return t;
135
+ var e = t[Symbol.toPrimitive];
136
+ if (void 0 !== e) {
137
+ var i = e.call(t, r || "default");
138
+ if ("object" != _typeof$1(i)) return i;
139
+ throw new TypeError("@@toPrimitive must return a primitive value.");
140
+ }
141
+ return ("string" === r ? String : Number)(t);
142
+ }
143
+ module.exports = toPrimitive$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
144
+ }) });
145
+
146
+ //#endregion
147
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js
148
+ var require_toPropertyKey = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js": ((exports, module) => {
149
+ var _typeof = require_typeof()["default"];
150
+ var toPrimitive = require_toPrimitive();
151
+ function toPropertyKey$1(t) {
152
+ var i = toPrimitive(t, "string");
153
+ return "symbol" == _typeof(i) ? i : i + "";
154
+ }
155
+ module.exports = toPropertyKey$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
156
+ }) });
157
+
158
+ //#endregion
159
+ //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js
160
+ var require_defineProperty = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js": ((exports, module) => {
161
+ var toPropertyKey = require_toPropertyKey();
162
+ function _defineProperty$1(e, r, t) {
163
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
164
+ value: t,
165
+ enumerable: !0,
166
+ configurable: !0,
167
+ writable: !0
168
+ }) : e[r] = t, e;
169
+ }
170
+ module.exports = _defineProperty$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
171
+ }) });
172
+
173
+ //#endregion
174
+ //#region src/models/GroupNode.ts
175
+ var import_defineProperty = /* @__PURE__ */ require_chunk.__toESM(require_defineProperty(), 1);
176
+ var GroupNode = class {
177
+ constructor(node) {
178
+ (0, import_defineProperty.default)(this, "id", void 0);
179
+ (0, import_defineProperty.default)(this, "isGroupNode", void 0);
180
+ (0, import_defineProperty.default)(this, "groupType", void 0);
181
+ (0, import_defineProperty.default)(this, "children", void 0);
182
+ (0, import_defineProperty.default)(this, "isExpanded", void 0);
183
+ (0, import_defineProperty.default)(this, "parentId", void 0);
184
+ (0, import_defineProperty.default)(this, "parentGroupId", void 0);
185
+ (0, import_defineProperty.default)(this, "properties", void 0);
186
+ (0, import_defineProperty.default)(this, "isOutlierGroup", void 0);
187
+ (0, import_defineProperty.default)(this, "hideEmptyGroups", void 0);
188
+ this.id = node.id || (0, uuid.v4)();
189
+ this.isGroupNode = true;
190
+ this.hideEmptyGroups = node.hideEmptyGroups || false;
191
+ this.groupType = node.groupType || require_EnvironmentRibbon.NodeGroupTypeEnums.Static;
192
+ this.children = node.children || [];
193
+ this.isExpanded = node.isExpanded || false;
194
+ this.parentId = node.parentId || null;
195
+ this.parentGroupId = node.parentGroupId || null;
196
+ this.properties = node.properties ? {
197
+ propertyMapping: null,
198
+ jsonLogic: null,
199
+ icon: {
200
+ name: "GroupedListIcon",
201
+ type: "",
202
+ color: ""
203
+ },
204
+ ...node.properties
205
+ } : {
206
+ propertyMapping: null,
207
+ jsonLogic: null,
208
+ icon: {
209
+ name: "GroupedListIcon",
210
+ type: "",
211
+ color: ""
212
+ }
213
+ };
214
+ this.isOutlierGroup = node.isOutlierGroup || false;
215
+ }
216
+ };
217
+
218
+ //#endregion
219
+ //#region src/utilities/tree/TreeUtilities.js
220
+ const makeTreeStructure = (treeData, key, parentKey, parentGroupKey = "parentGroupId") => {
221
+ if (!treeData) return [];
222
+ const keys = [];
223
+ treeData.forEach((node) => {
224
+ node.children = [];
225
+ if (node["isExpanded"] === void 0 && !node.isGroupNode) if (node.properties.defaultDisplay === "collapsed" || node.properties.lazyLoad) node.isExpanded = false;
226
+ else node.isExpanded = true;
227
+ keys.push(node[key]);
228
+ });
229
+ const roots = treeData.filter((node) => {
230
+ return !((node === null || node === void 0 ? void 0 : node.isGroupNode) ? node[parentGroupKey] : node[parentKey]);
231
+ });
232
+ const nodes = [];
233
+ const existingGroups = [];
234
+ roots.forEach((root) => {
235
+ nodes.push(root);
236
+ });
237
+ while (nodes.length > 0) {
238
+ const node = nodes.pop();
239
+ let children = treeData.filter((data) => data[parentKey] === node[key] || data[parentGroupKey] === node[key]);
240
+ children.forEach((child) => {
241
+ if (child === null || child === void 0 ? void 0 : child.isGroupNode) {
242
+ const existingGroup = existingGroups.find((eg) => eg.id === child.id && eg.parentGroupId === child.parentGroupId);
243
+ if (!existingGroup) {
244
+ existingGroups.push(child);
245
+ node.children.push(child);
246
+ nodes.push(child);
247
+ }
248
+ } else if (node.isGroupNode && child.parentGroupId || !node.isGroupNode && !child.parentGroupId) {
249
+ node.children.push(child);
250
+ nodes.push(child);
251
+ }
252
+ });
253
+ }
254
+ const removeEmptyGroupNodes = (node) => {
255
+ var _node$children;
256
+ 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;
257
+ node.children = node.children.map(removeEmptyGroupNodes).filter((child) => child !== null);
258
+ return node;
259
+ };
260
+ const filteredRoots = roots.map(removeEmptyGroupNodes).filter((root) => root !== null);
261
+ if (filteredRoots.length === 1) return filteredRoots[0];
262
+ return filteredRoots;
263
+ };
264
+ const makeTreeStaticGroupStructure = (treeData, key, parentKey, groupType = require_EnvironmentRibbon.NodeGroupTypeEnums.Static, hideEmptyGroups) => {
265
+ if (!treeData) return [];
266
+ const keys = [];
267
+ treeData.forEach((node, index) => {
268
+ const { id, hideEmptyGroups: hideEmptyGroups$1, children, apiMethodInstanceId, parentGroupId, order, isExpanded,...groupProperties } = node;
269
+ treeData[index] = new GroupNode({
270
+ id,
271
+ groupType,
272
+ children,
273
+ parentId: parentGroupId,
274
+ parentGroupId,
275
+ isExpanded,
276
+ properties: { ...groupProperties }
277
+ });
278
+ keys.push(node[key]);
279
+ });
280
+ const roots = treeData.filter((node) => keys.indexOf(node[parentKey]) === -1);
281
+ const nodes = [];
282
+ roots.forEach((root) => {
283
+ nodes.push(root);
284
+ });
285
+ while (nodes.length > 0) {
286
+ const node = nodes.pop();
287
+ let children = treeData.filter((data) => data[parentKey] === node[key]);
288
+ children.forEach((child) => {
289
+ node.children.push(child);
290
+ nodes.push(child);
291
+ });
292
+ }
293
+ if (roots.length === 1) return roots[0];
294
+ return roots;
295
+ };
296
+ const makeDynamicGroupStructures = (treeStructure, results) => {
297
+ if (!treeStructure) return [];
298
+ const groupStructures = [];
299
+ results.forEach((item) => {
300
+ processDynamicGroupForCurrentNodeLevel(item, treeStructure, groupStructures, groupStructures);
301
+ });
302
+ return groupStructures;
303
+ };
304
+ const processDynamicGroupForCurrentNodeLevel = (item, node, groupStructures, previousFilteredGroups = []) => {
305
+ const { property, id } = node;
306
+ const label = property ? getLabelFromProperty(item, property) : null;
307
+ let filteredGroups = [];
308
+ previousFilteredGroups.forEach((group) => {
309
+ if (group) {
310
+ const foundGroups = findNodesByIdAndLabel(group, id, label);
311
+ if (foundGroups.length) filteredGroups = filteredGroups.concat(foundGroups);
312
+ }
313
+ });
314
+ if (filteredGroups.length) {
315
+ var _node$children2;
316
+ 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));
317
+ } else if (label) {
318
+ const dynamicGroupTree = makeDynamicGroupTree(node, item);
319
+ if (node.parentGroupId) previousFilteredGroups.forEach((filteredGroup) => {
320
+ const matchingGroupNode = findNodeById(filteredGroup, node.parentGroupId);
321
+ if (matchingGroupNode) {
322
+ dynamicGroupTree.parentGroupId = matchingGroupNode.id;
323
+ matchingGroupNode.children.push(dynamicGroupTree);
324
+ }
325
+ });
326
+ else groupStructures.push(dynamicGroupTree);
327
+ }
328
+ };
329
+ const makeDynamicGroupTree = (node, item, parentGroupNode) => {
330
+ const { id, children, apiMethodInstanceId, parentGroupId, order, property, label, isExpanded,...groupProperties } = node;
331
+ const updatedLabel = property ? getLabelFromProperty(item, property) : null;
332
+ if (updatedLabel) {
333
+ const groupNode = new GroupNode({
334
+ id: `${id}`,
335
+ groupType: require_EnvironmentRibbon.NodeGroupTypeEnums.Dynamic,
336
+ children: [],
337
+ parentGroupId: (parentGroupNode === null || parentGroupNode === void 0 ? void 0 : parentGroupNode.id) || null,
338
+ isExpanded,
339
+ properties: {
340
+ label: updatedLabel,
341
+ ...groupProperties,
342
+ propertyKey: property
343
+ }
344
+ });
345
+ if (parentGroupNode) parentGroupNode.children.push(groupNode);
346
+ if (children === null || children === void 0 ? void 0 : children.length) children.forEach((child) => makeDynamicGroupTree(child, item, groupNode));
347
+ return groupNode;
348
+ }
349
+ };
350
+ const makeDynamicTreeStructure = (treeData, key, parentKey) => {
351
+ if (!treeData) return [];
352
+ const keys = [];
353
+ treeData.forEach((node, index) => {
354
+ keys.push(node[key]);
355
+ });
356
+ const roots = treeData.filter((node) => keys.indexOf(node[parentKey]) === -1);
357
+ const nodes = [];
358
+ roots.forEach((root) => {
359
+ nodes.push(root);
360
+ });
361
+ while (nodes.length > 0) {
362
+ const node = nodes.pop();
363
+ let children = treeData.filter((data) => data[parentKey] === node[key]);
364
+ children.forEach((child) => {
365
+ node.children.push(child);
366
+ nodes.push(child);
367
+ });
368
+ }
369
+ if (roots.length === 1) return roots[0];
370
+ return roots;
371
+ };
372
+ const getIconFromName = (name) => {
373
+ if (!name) return null;
374
+ const substr = name.slice(-4);
375
+ if (substr.toLowerCase() !== "icon") {
376
+ const updatedName = `${name}Icon`;
377
+ return __fluentui_react_icons[updatedName] || null;
378
+ } else return __fluentui_react_icons[name] || null;
379
+ };
380
+ const findLastNode = (tree) => {
381
+ var _tree$children;
382
+ let result = null;
383
+ if (!(tree === null || tree === void 0 || (_tree$children = tree.children) === null || _tree$children === void 0 ? void 0 : _tree$children.length)) return tree;
384
+ else {
385
+ if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => result = findLastNode(node));
386
+ return result;
387
+ }
388
+ };
389
+ const searchTree = (tree, id) => {
390
+ let result = null;
391
+ if (tree.id === id) return tree;
392
+ else {
393
+ if (tree.children) tree.children.some((node) => result = searchTree(node, id));
394
+ return result;
395
+ }
396
+ };
397
+ const deleteNode = (treeData, nodeId) => {
398
+ const updatedTreeData = [...treeData];
399
+ const foundNode = updatedTreeData.find((node) => node.id === nodeId);
400
+ const nodeIndex = updatedTreeData.findIndex((node) => node.id === nodeId);
401
+ if (!foundNode.parentId || !updatedTreeData.some((node) => node.parentId === nodeId)) {
402
+ if (nodeIndex > -1) updatedTreeData.splice(nodeIndex, 1);
403
+ const immediateChild = updatedTreeData.find((node) => node.parentId === nodeId);
404
+ if (immediateChild) immediateChild.parentId = null;
405
+ } else {
406
+ foundNode.isDeleted = true;
407
+ foundNode.properties = {};
408
+ }
409
+ return updatedTreeData;
410
+ };
411
+ const deleteNodeAndChildren = (treeData, nodeId) => {
412
+ const updatedTreeData = [...treeData];
413
+ const nodeIdsToDelete = [];
414
+ nodeIdsToDelete.push(nodeId);
415
+ getAllChildrenNodesToDelete(updatedTreeData, nodeId, nodeIdsToDelete);
416
+ return updatedTreeData.filter((node) => !nodeIdsToDelete.includes(node.id));
417
+ };
418
+ const getAllChildrenNodesToDelete = (treeData, nodeId, nodeIdsToDelete) => {
419
+ const nodesToDelete = treeData.filter((node) => node.parentId === nodeId);
420
+ nodesToDelete.forEach((node) => {
421
+ nodeIdsToDelete.push(node.id);
422
+ getAllChildrenNodesToDelete(treeData, node.id, nodeIdsToDelete);
423
+ });
424
+ };
425
+ const processCatalogObjectKeysInOrder = (tree, keys) => {
426
+ var _tree$children2;
427
+ if (!(tree === null || tree === void 0 || (_tree$children2 = tree.children) === null || _tree$children2 === void 0 ? void 0 : _tree$children2.length)) {
428
+ var _tree$properties;
429
+ keys.push(tree === null || tree === void 0 || (_tree$properties = tree.properties) === null || _tree$properties === void 0 ? void 0 : _tree$properties.catalogObjectKey);
430
+ } else if (tree === null || tree === void 0 ? void 0 : tree.children) {
431
+ var _tree$properties2;
432
+ if (tree === null || tree === void 0 || (_tree$properties2 = tree.properties) === null || _tree$properties2 === void 0 ? void 0 : _tree$properties2.catalogObjectKey) {
433
+ var _tree$properties3;
434
+ keys.push(tree === null || tree === void 0 || (_tree$properties3 = tree.properties) === null || _tree$properties3 === void 0 ? void 0 : _tree$properties3.catalogObjectKey);
435
+ }
436
+ tree.children.forEach((node) => processCatalogObjectKeysInOrder(node, keys));
437
+ }
438
+ };
439
+ const processOrderedTreeData = (tree, treeData) => {
440
+ var _tree$children3;
441
+ if (!(tree === null || tree === void 0 || (_tree$children3 = tree.children) === null || _tree$children3 === void 0 ? void 0 : _tree$children3.length)) treeData.push(tree);
442
+ else if (tree === null || tree === void 0 ? void 0 : tree.children) {
443
+ treeData.push(tree);
444
+ tree.children.forEach((node) => processOrderedTreeData(node, treeData));
445
+ }
446
+ };
447
+ const processObjectToTree = (result, treeData, objectReferenceKeys, treeList, catalogObjects, promotedEntities, wasLazyLoaded) => {
448
+ const treeArr = { ...treeData };
449
+ processReferences(result, objectReferenceKeys, treeArr, 0, treeList, null, catalogObjects, promotedEntities, wasLazyLoaded);
450
+ };
451
+ const processReferences = (reference, objectReferenceKeys, treeData, index, treeList, parentId, catalogObjects, promotedEntities, wasLazyLoaded) => {
452
+ const newIndex = index + 1;
453
+ if (reference) {
454
+ let node = parentId ? treeData[newIndex] : treeData[0];
455
+ let nodeGroups = [];
456
+ if (parentId) {
457
+ var _node$properties, _node$properties2;
458
+ 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) === require_EnvironmentRibbon.NodeGroupTypeEnums.Static) nodeGroups = constructStaticNodeGroups(node, true);
459
+ 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) === require_EnvironmentRibbon.NodeGroupTypeEnums.Dynamic) nodeGroups = constructDynamicNodeGroups(reference, node, true);
460
+ }
461
+ if (Array.isArray(reference) && reference.length) reference.forEach((ref, i) => {
462
+ if (node) {
463
+ var _nodeCopy$children;
464
+ const nodeCopy = (0, lodash.cloneDeep)(node);
465
+ processObjIndex(nodeCopy, ref, i, parentId, catalogObjects, promotedEntities, wasLazyLoaded);
466
+ if (nodeGroups.length) {
467
+ var _node$properties3, _node$properties5;
468
+ 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) === require_EnvironmentRibbon.NodeGroupTypeEnums.Static) {
469
+ var _node$properties4;
470
+ const groupedItemIndexes = /* @__PURE__ */ new Set();
471
+ let processedItem = {
472
+ itemAdded: false,
473
+ nodeChildren: []
474
+ };
475
+ nodeGroups.forEach((nodeGroup) => {
476
+ let nodeGroupChildren = [];
477
+ processedItem = processItemForStaticNodeGroup(nodeGroup, ref, groupedItemIndexes, nodeCopy, i, /* @__PURE__ */ new Set(), treeList);
478
+ nodeGroupChildren = nodeGroupChildren.concat(processedItem.nodeChildren);
479
+ mapNodeGroupChildren(nodeGroup, nodeGroupChildren);
480
+ nodeGroup.parentGroupId = nodeCopy.parentId;
481
+ });
482
+ 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) === require_EnvironmentRibbon.NodeGroupOutlierEnums.Individual) {
483
+ const nodeIsHidden = checkNodeIsHidden(nodeCopy, ref, wasLazyLoaded);
484
+ !nodeIsHidden && treeList.push(nodeCopy);
485
+ }
486
+ } 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) === require_EnvironmentRibbon.NodeGroupTypeEnums.Dynamic) nodeGroups.forEach((nodeGroup) => {
487
+ nodeGroup.parentGroupId = nodeCopy.parentId;
488
+ nodeGroup.parentId = nodeCopy.parentId;
489
+ processGroupNodesAndAddToTreeList(nodeGroup, treeList, nodeCopy.parentId, ref, wasLazyLoaded);
490
+ });
491
+ } else {
492
+ const nodeIsHidden = checkNodeIsHidden(nodeCopy, ref, wasLazyLoaded);
493
+ !nodeIsHidden && treeList.push(nodeCopy);
494
+ }
495
+ if (nodeCopy === null || nodeCopy === void 0 || (_nodeCopy$children = nodeCopy.children) === null || _nodeCopy$children === void 0 ? void 0 : _nodeCopy$children.length) {
496
+ const objectReferenceKeysCopy = [...objectReferenceKeys];
497
+ nodeCopy.children.forEach((childNode, i$1) => {
498
+ var _childNode$properties;
499
+ const catalogObjectKey = childNode === null || childNode === void 0 || (_childNode$properties = childNode.properties) === null || _childNode$properties === void 0 ? void 0 : _childNode$properties.catalogObjectKey;
500
+ const nextIndex = objectReferenceKeysCopy.indexOf(catalogObjectKey);
501
+ if (!parentId) objectReferenceKeysCopy[nextIndex] = null;
502
+ processReferences(ref[catalogObjectKey], objectReferenceKeys, treeData, nextIndex, treeList, nodeCopy.id, catalogObjects, promotedEntities, nodeCopy.properties.lazyLoad);
503
+ });
504
+ }
505
+ }
506
+ });
507
+ else if (typeof reference === "object" && !Array.isArray(reference)) {
508
+ processObjIndex(node, reference, 0, parentId, catalogObjects, promotedEntities, wasLazyLoaded);
509
+ if (node) {
510
+ var _nodeCopy$children2;
511
+ const nodeCopy = (0, lodash.cloneDeep)(node);
512
+ const nodeIsHidden = checkNodeIsHidden(nodeCopy, reference, wasLazyLoaded);
513
+ !nodeIsHidden && treeList.push(nodeCopy);
514
+ if (nodeCopy === null || nodeCopy === void 0 || (_nodeCopy$children2 = nodeCopy.children) === null || _nodeCopy$children2 === void 0 ? void 0 : _nodeCopy$children2.length) {
515
+ const objectReferenceKeysCopy = [...objectReferenceKeys];
516
+ nodeCopy.children.forEach((childNode, i) => {
517
+ var _childNode$properties2;
518
+ const catalogObjectKey = childNode === null || childNode === void 0 || (_childNode$properties2 = childNode.properties) === null || _childNode$properties2 === void 0 ? void 0 : _childNode$properties2.catalogObjectKey;
519
+ const nextIndex = parentId ? newIndex : objectReferenceKeysCopy.indexOf(catalogObjectKey);
520
+ if (!parentId) objectReferenceKeysCopy[nextIndex] = null;
521
+ processReferences(reference[catalogObjectKey], objectReferenceKeys, treeData, nextIndex, treeList, nodeCopy.id, catalogObjects, promotedEntities, nodeCopy.properties.lazyLoad);
522
+ });
523
+ }
524
+ }
525
+ }
526
+ }
527
+ };
528
+ const processObjIndex = (node, obj, index, parentId, catalogObjects, promotedEntities, wasLazyLoaded) => {
529
+ var _node$properties10;
530
+ if (node.properties.conditionalNodeIconExpression) {
531
+ var _node$properties6;
532
+ const conditionalNodeIcon = evaluateRule(node.properties.conditionalNodeIconExpression, obj, (_node$properties6 = node.properties) === null || _node$properties6 === void 0 ? void 0 : _node$properties6.joiningEntityCatalogObjectKey, wasLazyLoaded);
533
+ if (conditionalNodeIcon) {
534
+ var _conditionalNodeIcon$;
535
+ node.properties["conditionalNodeIconName"] = (conditionalNodeIcon === null || conditionalNodeIcon === void 0 ? void 0 : conditionalNodeIcon.name) || "";
536
+ node.properties["conditionalNodeIconColor"] = conditionalNodeIcon === null || conditionalNodeIcon === void 0 || (_conditionalNodeIcon$ = conditionalNodeIcon.iconColor) === null || _conditionalNodeIcon$ === void 0 ? void 0 : _conditionalNodeIcon$.hex;
537
+ node.properties["conditionalNodeIconType"] = (conditionalNodeIcon === null || conditionalNodeIcon === void 0 ? void 0 : conditionalNodeIcon.type) || "";
538
+ } else {
539
+ node.properties["conditionalNodeIconName"] = "";
540
+ node.properties["conditionalNodeIconColor"] = "";
541
+ node.properties["conditionalNodeIconType"] = "";
542
+ }
543
+ }
544
+ if (node.properties.conditionalNodeAdornmentExpression || node.properties.conditionalIconExpression) {
545
+ var _node$properties7, _node$properties8;
546
+ 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);
547
+ if (conditionalNodeAdornment) {
548
+ var _conditionalNodeAdorn;
549
+ node.properties["conditionalNodeAdornmentName"] = (conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 ? void 0 : conditionalNodeAdornment.name) || "";
550
+ node.properties["conditionalNodeAdornmentColor"] = conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 || (_conditionalNodeAdorn = conditionalNodeAdornment.iconColor) === null || _conditionalNodeAdorn === void 0 ? void 0 : _conditionalNodeAdorn.hex;
551
+ node.properties["conditionalNodeAdornmentType"] = (conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 ? void 0 : conditionalNodeAdornment.type) || "";
552
+ } else {
553
+ node.properties["conditionalNodeAdornmentName"] = "";
554
+ node.properties["conditionalNodeAdornmentColor"] = "";
555
+ node.properties["conditionalNodeAdornmentType"] = "";
556
+ }
557
+ }
558
+ if (node.properties.catalogReturnObject) {
559
+ var _node$properties9;
560
+ let searchIdentifiers = require_SearchUtilities.getSearchIdentifiers(catalogObjects, node.properties.catalogReturnObject);
561
+ node.properties["searchIdentifier"] = searchIdentifiers === null || searchIdentifiers === void 0 ? void 0 : searchIdentifiers.join(",");
562
+ const associatedTreePrimaryKeyMap = node.properties.associatedTreePrimaryKeyMap;
563
+ if (!!associatedTreePrimaryKeyMap) {
564
+ searchIdentifiers = Object.keys(associatedTreePrimaryKeyMap);
565
+ node.properties["searchIdentifier"] = searchIdentifiers;
566
+ }
567
+ node.properties["filterElements"] = [];
568
+ const searchValues = [];
569
+ const joiningEntityCatalogObjectKey = node === null || node === void 0 || (_node$properties9 = node.properties) === null || _node$properties9 === void 0 ? void 0 : _node$properties9.joiningEntityCatalogObjectKey;
570
+ searchIdentifiers.forEach((searchIdentifier) => {
571
+ var _searchValue;
572
+ const searchField = searchIdentifier ? searchIdentifier.charAt(0).toUpperCase() + searchIdentifier.slice(1) : "";
573
+ let searchValue = "";
574
+ let si = (associatedTreePrimaryKeyMap === null || associatedTreePrimaryKeyMap === void 0 ? void 0 : associatedTreePrimaryKeyMap[searchIdentifier]) ? associatedTreePrimaryKeyMap === null || associatedTreePrimaryKeyMap === void 0 ? void 0 : associatedTreePrimaryKeyMap[searchIdentifier] : searchIdentifier;
575
+ if (obj[si]) searchValue = obj[si];
576
+ else if (joiningEntityCatalogObjectKey) searchValue = obj[joiningEntityCatalogObjectKey] ? obj[joiningEntityCatalogObjectKey][si] : "";
577
+ node.properties["filterElements"].push({
578
+ searchField,
579
+ searchOperator: "=",
580
+ searchValue: (_searchValue = searchValue) !== null && _searchValue !== void 0 ? _searchValue : ""
581
+ });
582
+ searchValues.push(searchValue);
583
+ });
584
+ node.properties["searchValue"] = searchValues.toString();
585
+ }
586
+ node.properties["nodeLabel"] = getDisplayName(node, obj);
587
+ node.properties["nodeSubLabel"] = getDisplayDetails(node, obj);
588
+ node.properties["headerTitle"] = getHeaderTitle(node, obj);
589
+ node.parentId = parentId;
590
+ node["entityNodeParentId"] = parentId;
591
+ node.id = (0, uuid.v4)();
592
+ node.nodeObj = obj;
593
+ 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);
594
+ };
595
+ const getEntityAssoc = (nodeEntity, node) => {
596
+ let entityAssoc = null;
597
+ if (nodeEntity) {
598
+ var _referenceProperty$ex;
599
+ const referenceProperty = nodeEntity.properties.find((property) => {
600
+ var _node$properties11;
601
+ if ((_node$properties11 = node.properties) === null || _node$properties11 === void 0 ? void 0 : _node$properties11.joiningEntityName) {
602
+ var _node$properties12;
603
+ return property.reference === ((_node$properties12 = node.properties) === null || _node$properties12 === void 0 ? void 0 : _node$properties12.joiningEntityName);
604
+ } else {
605
+ var _node$properties13;
606
+ return property.reference === ((_node$properties13 = node.properties) === null || _node$properties13 === void 0 ? void 0 : _node$properties13.catalogReturnObject);
607
+ }
608
+ });
609
+ entityAssoc = referenceProperty ? (_referenceProperty$ex = referenceProperty.extendedProperties) === null || _referenceProperty$ex === void 0 ? void 0 : _referenceProperty$ex.childEntityAssoc : null;
610
+ }
611
+ return entityAssoc;
612
+ };
613
+ const getLazyLoadChildrenArr = (node, catalogObjects, promotedEntities) => {
614
+ var _node$properties14;
615
+ const lazyLoadChildrenArr = [];
616
+ let defaultSearchIdentifiers = [];
617
+ if (node === null || node === void 0 || (_node$properties14 = node.properties) === null || _node$properties14 === void 0 ? void 0 : _node$properties14.catalogReturnObject) defaultSearchIdentifiers = require_SearchUtilities.getSearchIdentifiers(catalogObjects, node.properties.catalogReturnObject);
618
+ node && node.children && node.children.forEach((childNode) => {
619
+ var _childNode$properties3, _childNode$properties4, _childNode$properties5;
620
+ const lazyNodeSearchObj = {
621
+ apiMethodId: null,
622
+ data: null,
623
+ parentNodeRefKey: (_childNode$properties3 = childNode.properties) === null || _childNode$properties3 === void 0 ? void 0 : _childNode$properties3.catalogObjectKey,
624
+ catalogReturnObject: (_childNode$properties4 = childNode.properties) === null || _childNode$properties4 === void 0 ? void 0 : _childNode$properties4.catalogReturnObject
625
+ };
626
+ const entityName = (_childNode$properties5 = childNode.properties) === null || _childNode$properties5 === void 0 ? void 0 : _childNode$properties5.catalogReturnObject;
627
+ const promotedEntity = promotedEntities === null || promotedEntities === void 0 ? void 0 : promotedEntities.find((pe) => pe.entityName === entityName);
628
+ let searchIdentifiers = [];
629
+ const filterElements = [];
630
+ if (promotedEntity) {
631
+ let baseSearch = promotedEntity.unityBaseSearchMethod;
632
+ let childBaseSearch = promotedEntity.unityBaseSearchMethod;
633
+ const nodeEntity = catalogObjects === null || catalogObjects === void 0 ? void 0 : catalogObjects.find((co) => {
634
+ var _node$properties15;
635
+ return co.catalogObjectName === ((_node$properties15 = node.properties) === null || _node$properties15 === void 0 ? void 0 : _node$properties15.catalogReturnObject);
636
+ });
637
+ let isManyToManySearch = false;
638
+ let usingJoiningTableForSearch = false;
639
+ if (nodeEntity) {
640
+ const childEntityAssoc = getEntityAssoc(nodeEntity, childNode);
641
+ let joiningEntityName = null;
642
+ let promotedEntityForJoiningTable = null;
643
+ if (childEntityAssoc.Cardinality === require_EnvironmentRibbon.CardinalityTypeEnums.Many_To_Many) {
644
+ var _childNode$properties6;
645
+ isManyToManySearch = true;
646
+ lazyNodeSearchObj["manyToManyKeys"] = [];
647
+ joiningEntityName = (_childNode$properties6 = childNode.properties) === null || _childNode$properties6 === void 0 ? void 0 : _childNode$properties6.joiningEntityName;
648
+ promotedEntityForJoiningTable = promotedEntities === null || promotedEntities === void 0 ? void 0 : promotedEntities.find((pe) => pe.entityName === joiningEntityName);
649
+ if (promotedEntityForJoiningTable === null || promotedEntityForJoiningTable === void 0 ? void 0 : promotedEntityForJoiningTable.unityBaseSearchMethod) {
650
+ baseSearch = promotedEntityForJoiningTable.unityBaseSearchMethod;
651
+ lazyNodeSearchObj.manyToManyJointEntityApiMethodId = childBaseSearch === null || childBaseSearch === void 0 ? void 0 : childBaseSearch.apiMethodId;
652
+ usingJoiningTableForSearch = true;
653
+ }
654
+ const childNodeEntity = catalogObjects.find((co) => {
655
+ var _childNode$properties7;
656
+ return co.catalogObjectName === ((_childNode$properties7 = childNode.properties) === null || _childNode$properties7 === void 0 ? void 0 : _childNode$properties7.catalogReturnObject);
657
+ });
658
+ const entityAssoc = getEntityAssoc(childNodeEntity, childNode);
659
+ if (entityAssoc && Object.keys(entityAssoc).length) entityAssoc.Keys.forEach((keyVal) => {
660
+ const keyValArr = keyVal.split(",");
661
+ const foreignKeyName = keyValArr[0] ? keyValArr[0].trim() : "";
662
+ const parentIdentifierName = keyValArr[1] ? keyValArr[1].trim() : "";
663
+ const searchValueKey = /^[A-Z]*$/.test(parentIdentifierName) ? parentIdentifierName.toLowerCase() : require_EnvironmentRibbon.toLowerFirstChar(parentIdentifierName);
664
+ lazyNodeSearchObj["manyToManyKeys"].push({
665
+ searchItemIdentifier: usingJoiningTableForSearch ? /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : require_EnvironmentRibbon.toLowerFirstChar(foreignKeyName) : searchValueKey,
666
+ searchNameKey: foreignKeyName,
667
+ searchValueKey
668
+ });
669
+ });
670
+ }
671
+ if (childEntityAssoc && Object.keys(childEntityAssoc).length) childEntityAssoc.Keys.forEach((keyVal) => {
672
+ const keyValArr = keyVal.split(",");
673
+ let searchJoiningEntity = "";
674
+ if (!isManyToManySearch && node.nodeObj.hasOwnProperty(node.properties.joiningEntityCatalogObjectKey)) searchJoiningEntity = node.properties.joiningEntityCatalogObjectKey;
675
+ const foreignKeyName = keyValArr[0] ? keyValArr[0].trim() : "";
676
+ const parentIdentifierName = keyValArr[1] ? keyValArr[1].trim() : "";
677
+ let siObj = {
678
+ searchNameKey: parentIdentifierName,
679
+ searchValueKey: /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : require_EnvironmentRibbon.toLowerFirstChar(foreignKeyName),
680
+ searchJoiningEntity
681
+ };
682
+ if (isManyToManySearch && !usingJoiningTableForSearch) siObj = {
683
+ searchNameKey: foreignKeyName,
684
+ searchValueKey: /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : require_EnvironmentRibbon.toLowerFirstChar(foreignKeyName)
685
+ };
686
+ if (isManyToManySearch) {
687
+ var _childNode$properties8, _childNode$properties9;
688
+ 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)) {
689
+ var _childNode$properties10, _childNode$properties11, _childNode$properties12;
690
+ siObj["joiningEntityKeyName"] = require_EnvironmentRibbon.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);
691
+ siObj["joiningEntityCatalogObjectLeftKeyName"] = require_EnvironmentRibbon.toUpperFirstChar((_childNode$properties12 = childNode.properties) === null || _childNode$properties12 === void 0 ? void 0 : _childNode$properties12.joiningEntityCatalogObjectLeftKey);
692
+ }
693
+ if (promotedEntityForJoiningTable === null || promotedEntityForJoiningTable === void 0 ? void 0 : promotedEntityForJoiningTable.unityBaseSearchMethod) {
694
+ siObj["joiningEntityKeyName"] = null;
695
+ siObj["joiningEntityCatalogObjectLeftKeyName"] = null;
696
+ }
697
+ }
698
+ searchIdentifiers.push(siObj);
699
+ });
700
+ }
701
+ if (!searchIdentifiers.length) defaultSearchIdentifiers.forEach((searchIdentifier) => {
702
+ var _childNode$properties13, _childNode$properties14;
703
+ const siObj = {
704
+ searchNameKey: searchIdentifier,
705
+ searchValueKey: searchIdentifier
706
+ };
707
+ 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)) {
708
+ var _childNode$properties15, _childNode$properties16;
709
+ siObj["joiningEntityKeyName"] = require_EnvironmentRibbon.toUpperFirstChar((_childNode$properties15 = childNode.properties) === null || _childNode$properties15 === void 0 ? void 0 : _childNode$properties15.catalogObjectKey);
710
+ siObj["joiningEntityCatalogObjectLeftKeyName"] = require_EnvironmentRibbon.toUpperFirstChar((_childNode$properties16 = childNode.properties) === null || _childNode$properties16 === void 0 ? void 0 : _childNode$properties16.joiningEntityCatalogObjectLeftKey);
711
+ }
712
+ searchIdentifiers.push(siObj);
713
+ });
714
+ searchIdentifiers.forEach((si) => {
715
+ let searchValue = "";
716
+ if (si === null || si === void 0 ? void 0 : si.searchJoiningEntity) searchValue = node.nodeObj[si.searchJoiningEntity][si.searchValueKey];
717
+ else if (usingJoiningTableForSearch) {
718
+ var _node$properties16, _node$nodeObj;
719
+ const joiningEntityCatalogObjectKey = node === null || node === void 0 || (_node$properties16 = node.properties) === null || _node$properties16 === void 0 ? void 0 : _node$properties16.joiningEntityCatalogObjectKey;
720
+ const value = node === null || node === void 0 || (_node$nodeObj = node.nodeObj) === null || _node$nodeObj === void 0 ? void 0 : _node$nodeObj[joiningEntityCatalogObjectKey];
721
+ searchValue = value ? value[si.searchValueKey] : node.nodeObj[si.searchValueKey];
722
+ } else searchValue = node.nodeObj[si.searchValueKey];
723
+ let formattedPropertyName = require_EnvironmentRibbon.toUpperFirstChar(si.searchNameKey);
724
+ if (si["joiningEntityKeyName"] && si["joiningEntityCatalogObjectLeftKeyName"]) formattedPropertyName = `${si["joiningEntityKeyName"]}.${si["joiningEntityCatalogObjectLeftKeyName"]}.${formattedPropertyName}`;
725
+ filterElements.push({
726
+ searchField: formattedPropertyName,
727
+ searchValue,
728
+ searchOperator: "="
729
+ });
730
+ });
731
+ lazyNodeSearchObj.data = require_SearchUtilities.getSearchObject(filterElements, 1, 50);
732
+ lazyNodeSearchObj.apiMethodId = (baseSearch === null || baseSearch === void 0 ? void 0 : baseSearch.apiMethodId) || null;
733
+ lazyLoadChildrenArr.push(lazyNodeSearchObj);
734
+ } else {
735
+ console.log("Error: Promote " + entityName + " entity");
736
+ node.errorRetrievingChildren = "Error: Promote " + entityName + " child entity";
737
+ }
738
+ });
739
+ return lazyLoadChildrenArr;
740
+ };
741
+ const formatTreeMenuItem = (responseObject, treeStructure, catalogObjects, promotedEntities, associatedInquiryTree, wasLazyLoaded) => {
742
+ if (!responseObject) return null;
743
+ const tree = (0, lodash.cloneDeep)(treeStructure);
744
+ const orderedKeys = [];
745
+ const orderedTreeData = [];
746
+ const treeArr = [];
747
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
748
+ processOrderedTreeData(tree, orderedTreeData);
749
+ processObjectToTree(responseObject, orderedTreeData, orderedKeys, treeArr, catalogObjects, promotedEntities, wasLazyLoaded);
750
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
751
+ displayTree["associatedInquiryTree"] = associatedInquiryTree;
752
+ displayTree["wasLazyLoaded"] = wasLazyLoaded;
753
+ return displayTree;
754
+ };
755
+ const expandAllNodes = (tree) => {
756
+ tree.isExpanded = true;
757
+ if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => expandAllNodes(node));
758
+ };
759
+ const collapseAllNodes = (tree) => {
760
+ tree.isExpanded = false;
761
+ if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => collapseAllNodes(node));
762
+ };
763
+ const findAllParentIds = (menuItems, currentParentNode, allParentIds = []) => {
764
+ if (currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId) {
765
+ allParentIds.push(currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId);
766
+ const newParentNode = searchTree(menuItems, currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId);
767
+ findAllParentIds(menuItems, newParentNode, allParentIds);
768
+ }
769
+ return allParentIds;
770
+ };
771
+ const formatTreeLabel = (label, obj) => {
772
+ const fields = label === null || label === void 0 ? void 0 : label.split("+");
773
+ const keys = fields === null || fields === void 0 ? void 0 : fields.map((field) => field.trim());
774
+ if (keys) {
775
+ const skippableKeys = [];
776
+ const updatedKeys = keys.map((key, index) => {
777
+ const matchedKey = key.charAt(0) === "\"";
778
+ if (matchedKey) {
779
+ skippableKeys.push(index);
780
+ key = key.replace(/"/g, "");
781
+ }
782
+ return key;
783
+ });
784
+ const values = [];
785
+ for (let j = 0; j < keys.length; j++) {
786
+ let property = keys[j];
787
+ if (property) {
788
+ const splitProperties = property.split(".");
789
+ if (splitProperties.length > 1) {
790
+ let constructedValue = null;
791
+ splitProperties.forEach((property$1) => {
792
+ const matches = property$1.match(/\[(.*?)\]/);
793
+ let objIndex = null;
794
+ let arrIndex = null;
795
+ if (matches) {
796
+ arrIndex = parseInt(matches[1]);
797
+ objIndex = matches.index;
798
+ }
799
+ if (typeof arrIndex === "number" && objIndex) {
800
+ const formattedProperty = property$1.substring(0, objIndex);
801
+ if (!constructedValue) {
802
+ if (obj[formattedProperty]) constructedValue = obj[formattedProperty][arrIndex];
803
+ } else if (constructedValue[formattedProperty]) constructedValue = constructedValue[formattedProperty][arrIndex];
804
+ } else if (!constructedValue) constructedValue = obj[property$1];
805
+ else constructedValue = constructedValue[property$1];
806
+ });
807
+ if (typeof constructedValue === "boolean" || typeof constructedValue === "number") constructedValue = constructedValue.toString();
808
+ values.push(constructedValue);
809
+ continue;
810
+ }
811
+ }
812
+ let value = obj[property];
813
+ if (typeof value === "boolean" || typeof value === "number") value = value.toString();
814
+ values.push(value);
815
+ }
816
+ let displayName = updatedKeys.join("+");
817
+ for (let k = 0; k < updatedKeys.length; k++) if (!skippableKeys.includes(k)) if (values[k]) displayName = displayName.replace(`${updatedKeys[k]}`, values[k]);
818
+ else displayName = displayName.replace(`${updatedKeys[k]}`, "");
819
+ return displayName.replaceAll("+", " ");
820
+ } else return label;
821
+ };
822
+ const getDisplayName = (node, obj) => {
823
+ return formatTreeLabel(node.properties["displayName"], obj);
824
+ };
825
+ const getDisplayDetails = (node, obj) => {
826
+ return formatTreeLabel(node.properties["displayDetails"], obj);
827
+ };
828
+ const getHeaderTitle = (node, obj) => {
829
+ return formatTreeLabel(node.properties["headerName"], obj);
830
+ };
831
+ const searchForMatchingNode = (tree, nodeObj = {}, searchIdentifiers = []) => {
832
+ let result = null;
833
+ let match = true;
834
+ searchIdentifiers.forEach((searchIdentifier) => {
835
+ if ((tree === null || tree === void 0 ? void 0 : tree.nodeObj[searchIdentifier]) !== nodeObj[searchIdentifier]) match = false;
836
+ });
837
+ if (match && searchIdentifiers.length) return tree;
838
+ else {
839
+ if (tree.children) tree.children.some((node) => result = searchForMatchingNode(node, nodeObj, searchIdentifiers));
840
+ return result;
841
+ }
842
+ };
843
+ const getNodeIdForRightBorder = (expandedNodeIds, node, parentId) => {
844
+ if (!expandedNodeIds.includes(node === null || node === void 0 ? void 0 : node.id)) return node.id;
845
+ if (!expandedNodeIds.includes(parentId)) {
846
+ const foundParentNode = node.children.find((item) => item.id === parentId);
847
+ if (foundParentNode) if (expandedNodeIds.includes(foundParentNode === null || foundParentNode === void 0 ? void 0 : foundParentNode.parentId)) return parentId;
848
+ else return getNodeIdForRightBorder(expandedNodeIds, foundParentNode, foundParentNode === null || foundParentNode === void 0 ? void 0 : foundParentNode.parentId);
849
+ } else return parentId;
850
+ };
851
+ const findNodeById = (tree, id) => {
852
+ let result = null;
853
+ if ((tree === null || tree === void 0 ? void 0 : tree.id) === id) return tree;
854
+ else {
855
+ if (tree.children) tree.children.some((node) => result = findNodeById(node, id));
856
+ return result;
857
+ }
858
+ };
859
+ const findNodeByIdAndLabel = (tree, id, label) => {
860
+ var _tree$properties4;
861
+ let result = null;
862
+ 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;
863
+ else {
864
+ if (tree.children) tree.children.some((node) => result = findNodeById(node, id, label));
865
+ return result;
866
+ }
867
+ };
868
+ const findNodesByIdAndLabel = (tree, id, label) => {
869
+ var _tree$properties5;
870
+ let results = [];
871
+ 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);
872
+ if (tree.children) tree.children.forEach((node) => {
873
+ results = results.concat(findNodesByIdAndLabel(node, id, label));
874
+ });
875
+ return results;
876
+ };
877
+ const updateNodeForStaticGrouping = (displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item) => {
878
+ const updatedDisplayTree = { ...displayTree };
879
+ const nodeIsHidden = checkNodeIsHidden(updatedDisplayTree, item, false);
880
+ if (!nodeIsHidden) {
881
+ updatedDisplayTree.children = displayTree.children ? (0, lodash.cloneDeep)(displayTree.children) : displayTree.children;
882
+ updatedDisplayTree["parentId"] = nodeGroup.id;
883
+ updatedDisplayTree["parentGroupId"] = nodeGroup.id;
884
+ if (updatedDisplayTree.isGroupNode) nodeGroup.children.push(updatedDisplayTree);
885
+ else nodeChildren.push(updatedDisplayTree);
886
+ if (treeList) treeList.push(updatedDisplayTree);
887
+ scopedGroupItemIndexes.add(index);
888
+ groupedItemIndexes.add(index);
889
+ }
890
+ };
891
+ const processItemForStaticNodeGroup = (nodeGroup, item, groupedItemIndexes, displayTree, index, scopedGroupItemIndexes = /* @__PURE__ */ new Set(), treeList, nodeChildren = []) => {
892
+ var _nodeGroup$properties, _nodeGroup$properties2;
893
+ 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)) {
894
+ var _nodeGroup$properties3, _nodeGroup$properties4, _item$properties;
895
+ 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);
896
+ if (rule && evaluateRule(rule, item, (_item$properties = item.properties) === null || _item$properties === void 0 ? void 0 : _item$properties.joiningEntityCatalogObjectKey, false)) {
897
+ let itemAdded = false;
898
+ nodeGroup.children.forEach((childGroup) => {
899
+ if (childGroup.isGroupNode) {
900
+ const processedItem = processItemForStaticNodeGroup(childGroup, item, groupedItemIndexes, displayTree, index, childGroup.children.length ? /* @__PURE__ */ new Set() : scopedGroupItemIndexes, treeList, nodeChildren) || { itemAdded };
901
+ itemAdded = processedItem === null || processedItem === void 0 ? void 0 : processedItem.itemAdded;
902
+ }
903
+ });
904
+ if (!itemAdded) {
905
+ updateNodeForStaticGrouping(displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item);
906
+ itemAdded = true;
907
+ }
908
+ }
909
+ } else if (nodeGroup.isOutlierGroup && !groupedItemIndexes.has(index)) updateNodeForStaticGrouping(displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item);
910
+ if (treeList && nodeGroup.isGroupNode) {
911
+ const existingGroup = treeList.filter((node) => node.isGroupNode).find((eg) => eg.id === nodeGroup.id);
912
+ if (!existingGroup) {
913
+ const nodeIsHidden = checkNodeIsHidden(nodeGroup, item, false);
914
+ !nodeIsHidden && treeList.push(nodeGroup);
915
+ }
916
+ }
917
+ return {
918
+ itemAdded: groupedItemIndexes.has(index),
919
+ nodeChildren
920
+ };
921
+ };
922
+ const constructStaticNodeGroups = (tree, shouldUseNewId = false) => {
923
+ var _tree$properties6, _groupConfiguration$g;
924
+ const nodeGroups = [];
925
+ const groupConfiguration = tree === null || tree === void 0 || (_tree$properties6 = tree.properties) === null || _tree$properties6 === void 0 ? void 0 : _tree$properties6.groupConfiguration;
926
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || require_EnvironmentRibbon.NodeGroupTypeEnums.Static;
927
+ const hideEmptyGroups = groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.hideEmptyGroups;
928
+ 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)) {
929
+ groupConfiguration.groupings[groupType].forEach((grouping) => {
930
+ const orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
931
+ const newIdMap = {};
932
+ orderedGroups.forEach((group) => {
933
+ if (shouldUseNewId) newIdMap[group.id] = (0, uuid.v4)();
934
+ group["children"] = [];
935
+ });
936
+ if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
937
+ if (newIdMap[group.id]) group.id = newIdMap[group.id];
938
+ if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
939
+ });
940
+ if (orderedGroups === null || orderedGroups === void 0 ? void 0 : orderedGroups.length) {
941
+ const firstGroup = orderedGroups.find((group) => !group.parentGroupId) || orderedGroups[0];
942
+ orderedGroups.shift();
943
+ const displayTree = makeTreeStaticGroupStructure(orderedGroups, "id", "parentGroupId", groupType, hideEmptyGroups);
944
+ const { id, isExpanded,...firstGroupProperties } = firstGroup;
945
+ const groupNode = new GroupNode({
946
+ id,
947
+ hideEmptyGroups,
948
+ groupType,
949
+ children: Array.isArray(displayTree) ? displayTree : [displayTree],
950
+ isExpanded,
951
+ properties: { ...firstGroupProperties }
952
+ });
953
+ nodeGroups.push(groupNode);
954
+ }
955
+ });
956
+ if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlier) === "group") {
957
+ const outlierGroup = new GroupNode({
958
+ groupType,
959
+ isOutlierGroup: true,
960
+ properties: {
961
+ label: (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlierGroupLabel) || "Unlabeled Outlier Group",
962
+ icon: groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlierIcon
963
+ }
964
+ });
965
+ nodeGroups.push(outlierGroup);
966
+ }
967
+ }
968
+ return nodeGroups;
969
+ };
970
+ const getOrderedDynamicGroups = (tree, shouldUseNewId = false) => {
971
+ var _tree$properties7, _groupConfiguration$g2;
972
+ const groupConfiguration = tree === null || tree === void 0 || (_tree$properties7 = tree.properties) === null || _tree$properties7 === void 0 ? void 0 : _tree$properties7.groupConfiguration;
973
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || require_EnvironmentRibbon.NodeGroupTypeEnums.Dynamic;
974
+ let orderedGroups = [];
975
+ 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) => {
976
+ orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
977
+ const newIdMap = {};
978
+ orderedGroups.forEach((group) => {
979
+ if (shouldUseNewId) newIdMap[group.id] = (0, uuid.v4)();
980
+ group["children"] = [];
981
+ });
982
+ if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
983
+ if (newIdMap[group.id]) group.id = newIdMap[group.id];
984
+ if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
985
+ });
986
+ });
987
+ return orderedGroups;
988
+ };
989
+ const constructDynamicNodeGroups = (results, tree, shouldUseNewId = false) => {
990
+ var _tree$properties8, _groupConfiguration$g3;
991
+ let nodeGroups = [];
992
+ const groupConfiguration = tree === null || tree === void 0 || (_tree$properties8 = tree.properties) === null || _tree$properties8 === void 0 ? void 0 : _tree$properties8.groupConfiguration;
993
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || require_EnvironmentRibbon.NodeGroupTypeEnums.Dynamic;
994
+ 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) => {
995
+ const orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
996
+ const newIdMap = {};
997
+ orderedGroups.forEach((group) => {
998
+ if (shouldUseNewId) newIdMap[group.id] = (0, uuid.v4)();
999
+ group["children"] = [];
1000
+ });
1001
+ if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
1002
+ if (newIdMap[group.id]) group.id = newIdMap[group.id];
1003
+ if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
1004
+ });
1005
+ if (orderedGroups === null || orderedGroups === void 0 ? void 0 : orderedGroups.length) {
1006
+ const isSingleGroup = orderedGroups.length === 1;
1007
+ const dynamicTreeStructure = makeDynamicTreeStructure(orderedGroups, "id", "parentGroupId");
1008
+ const groupSet = makeDynamicGroupStructures(dynamicTreeStructure, results);
1009
+ results.forEach((item, index) => {
1010
+ const orderedKeys = [];
1011
+ const orderedTreeData = [];
1012
+ const treeArr = [];
1013
+ const innerGroupList = [];
1014
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1015
+ processOrderedTreeData(tree, orderedTreeData);
1016
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false, innerGroupList);
1017
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1018
+ const updatedDisplayTree = (0, lodash.cloneDeep)(displayTree);
1019
+ const nodeIsHidden = checkNodeIsHidden(updatedDisplayTree, item, false);
1020
+ !nodeIsHidden && processItemForDynamicNodeGroups(updatedDisplayTree, dynamicTreeStructure, groupSet, groupSet, isSingleGroup);
1021
+ });
1022
+ groupSet.forEach((group) => updateTreeIds(group, null, (0, uuid.v4)(), (0, uuid.v4)()));
1023
+ nodeGroups = nodeGroups.concat(groupSet);
1024
+ }
1025
+ });
1026
+ return nodeGroups;
1027
+ };
1028
+ const getLabelFromProperty = (item, property) => {
1029
+ const splitProperties = property.split(".");
1030
+ if (splitProperties.length) {
1031
+ let constructedValue = null;
1032
+ splitProperties.forEach((property$1) => {
1033
+ const matches = property$1.match(/\[(.*?)\]/);
1034
+ let objIndex = null;
1035
+ let arrIndex = null;
1036
+ if (matches) {
1037
+ arrIndex = parseInt(matches[1]);
1038
+ objIndex = matches.index;
1039
+ }
1040
+ if (typeof arrIndex === "number" && objIndex) {
1041
+ const formattedProperty = property$1.substring(0, objIndex);
1042
+ if (!constructedValue) {
1043
+ if (item[formattedProperty]) constructedValue = item[formattedProperty][arrIndex];
1044
+ } else if (constructedValue[formattedProperty]) constructedValue = constructedValue[formattedProperty][arrIndex];
1045
+ } else if (!constructedValue) constructedValue = item ? item[property$1] : "";
1046
+ else constructedValue = constructedValue[property$1];
1047
+ });
1048
+ return constructedValue;
1049
+ }
1050
+ return null;
1051
+ };
1052
+ const constructBusinessObjectArrFromTree = (node, businessObjects = []) => {
1053
+ var _node$children3;
1054
+ if (node === null || node === void 0 ? void 0 : node.nodeObj) {
1055
+ var _node$properties17, _node$properties18;
1056
+ const businessObject = {
1057
+ label: "",
1058
+ value: "",
1059
+ domainObject: ""
1060
+ };
1061
+ const joiningEntityCatalogObjectKey = (_node$properties17 = node.properties) === null || _node$properties17 === void 0 ? void 0 : _node$properties17.joiningEntityCatalogObjectKey;
1062
+ const displayName = (_node$properties18 = node.properties) === null || _node$properties18 === void 0 ? void 0 : _node$properties18.displayName;
1063
+ if (joiningEntityCatalogObjectKey) {
1064
+ var _node$properties19;
1065
+ const jointEntity = node.nodeObj[joiningEntityCatalogObjectKey];
1066
+ businessObject.label = formatTreeLabel(displayName, node.nodeObj) || (jointEntity === null || jointEntity === void 0 ? void 0 : jointEntity.businessObjectKey);
1067
+ businessObject.value = jointEntity === null || jointEntity === void 0 ? void 0 : jointEntity.businessObjectKey;
1068
+ businessObject.domainObject = (_node$properties19 = node.properties) === null || _node$properties19 === void 0 ? void 0 : _node$properties19.catalogReturnObject;
1069
+ } else {
1070
+ var _node$properties20;
1071
+ const entity = node.nodeObj;
1072
+ businessObject.label = formatTreeLabel(displayName, node.nodeObj) || (entity === null || entity === void 0 ? void 0 : entity.businessObjectKey);
1073
+ businessObject.value = entity === null || entity === void 0 ? void 0 : entity.businessObjectKey;
1074
+ businessObject.domainObject = (_node$properties20 = node.properties) === null || _node$properties20 === void 0 ? void 0 : _node$properties20.catalogReturnObject;
1075
+ }
1076
+ businessObjects.push(businessObject);
1077
+ }
1078
+ 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));
1079
+ return businessObjects;
1080
+ };
1081
+ const processItemForDynamicNodeGroups = (displayTree, node, groupNodes, previousFilteredGroups = [], isSingleGroup = false) => {
1082
+ const { property, id } = node;
1083
+ const item = displayTree === null || displayTree === void 0 ? void 0 : displayTree.nodeObj;
1084
+ const label = property ? getLabelFromProperty(item, property) : null;
1085
+ let filteredGroups = [];
1086
+ previousFilteredGroups.forEach((group) => {
1087
+ if (group) {
1088
+ const foundGroups = findNodesByIdAndLabel(group, id, label);
1089
+ if (foundGroups.length) filteredGroups = filteredGroups.concat(foundGroups);
1090
+ }
1091
+ });
1092
+ if (filteredGroups.length) {
1093
+ var _node$children4;
1094
+ 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));
1095
+ else filteredGroups.forEach((filteredGroup) => {
1096
+ const matchingGroupNode = findNodeByIdAndLabel(filteredGroup, node.id, label);
1097
+ if (matchingGroupNode) {
1098
+ displayTree["parentGroupId"] = matchingGroupNode.id;
1099
+ matchingGroupNode.children.push(displayTree);
1100
+ }
1101
+ });
1102
+ } else if (isSingleGroup) groupNodes.push(displayTree);
1103
+ else previousFilteredGroups.forEach((filteredGroup) => {
1104
+ if (filteredGroup) {
1105
+ displayTree["parentGroupId"] = filteredGroup.id;
1106
+ filteredGroup.children.push(displayTree);
1107
+ }
1108
+ });
1109
+ };
1110
+ const orderByGroupOrder = (groups = []) => {
1111
+ return (0, lodash.orderBy)(groups, ["order"], ["asc"]);
1112
+ };
1113
+ const updateTreeIds = (node, lastEntityNodeId, newId = (0, uuid.v4)(), newParentId = (0, uuid.v4)()) => {
1114
+ var _node$children5;
1115
+ let entityNodeParentId = lastEntityNodeId;
1116
+ if (node) {
1117
+ node.id = newId;
1118
+ if (node.parentId || node.parentGroupId) {
1119
+ node.parentId = newParentId;
1120
+ node.parentGroupId = newParentId;
1121
+ }
1122
+ if (!node.isGroupNode && entityNodeParentId) node["entityNodeParentId"] = entityNodeParentId;
1123
+ if (!node.isGroupNode) entityNodeParentId = node.id;
1124
+ }
1125
+ 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, (0, uuid.v4)(), newId));
1126
+ };
1127
+ const processGroupNodesAndAddToTreeList = (node, treeList, lastEntityNodeId, item, wasLazyLoaded) => {
1128
+ var _node$children6;
1129
+ let entityNodeParentId = lastEntityNodeId;
1130
+ if (treeList) {
1131
+ if (!treeList.find((tree) => tree.id === node.id)) {
1132
+ if (!node.isGroupNode && entityNodeParentId) node["entityNodeParentId"] = entityNodeParentId;
1133
+ if (!node.isGroupNode) entityNodeParentId = node.id;
1134
+ const nodeIsHidden = checkNodeIsHidden(node, item, wasLazyLoaded);
1135
+ !nodeIsHidden && treeList.push(node);
1136
+ }
1137
+ }
1138
+ 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));
1139
+ };
1140
+ const mapNodeGroupChildren = (nodeGroup, nodeGroupChildren = []) => {
1141
+ var _nodeGroup$children;
1142
+ nodeGroupChildren.forEach((node) => {
1143
+ if (nodeGroup.id === node.parentGroupId) nodeGroup.children.push(node);
1144
+ });
1145
+ if (nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$children = nodeGroup.children) === null || _nodeGroup$children === void 0 ? void 0 : _nodeGroup$children.length) nodeGroup.children.forEach((childGroup) => {
1146
+ if (childGroup.isGroupNode) mapNodeGroupChildren(childGroup, nodeGroupChildren);
1147
+ });
1148
+ return nodeGroup;
1149
+ };
1150
+ const checkNodeIsHidden = (node, item, wasLazyLoaded = false) => {
1151
+ if (!node || node && !Object.keys(node).length) return true;
1152
+ let rule = null;
1153
+ if (node.isGroupNode) {
1154
+ var _node$properties21;
1155
+ 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) {}
1156
+ } else {
1157
+ var _node$properties22;
1158
+ 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) {
1159
+ var _node$properties23;
1160
+ rule = mapRule(node.properties.hiddenNode.propertyMapping, node.properties.hiddenNode.jsonLogic);
1161
+ if (rule && evaluateRule(rule, item, (_node$properties23 = node.properties) === null || _node$properties23 === void 0 ? void 0 : _node$properties23.joiningEntityCatalogObjectKey, wasLazyLoaded)) return true;
1162
+ }
1163
+ }
1164
+ return false;
1165
+ };
1166
+ const constructPreloadedTree = (treeStructure, pageList) => {
1167
+ var _tree$properties9, _tree$properties10, _tree$properties11, _tree$properties13, _tree$properties14, _tree$properties15;
1168
+ if (!pageList) return null;
1169
+ let preloadedList = [];
1170
+ const tree = (0, lodash.cloneDeep)(treeStructure);
1171
+ 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) === require_EnvironmentRibbon.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)) {
1172
+ var _tree$properties12;
1173
+ const topNodeGroups = constructStaticNodeGroups(tree);
1174
+ const groupedItemIndexes = /* @__PURE__ */ new Set();
1175
+ topNodeGroups.forEach((nodeGroup) => {
1176
+ let nodeGroupChildren = [];
1177
+ pageList.forEach((item, index) => {
1178
+ const orderedKeys = [];
1179
+ const orderedTreeData = [];
1180
+ const treeArr = [];
1181
+ const innerGroupList = [];
1182
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1183
+ processOrderedTreeData(tree, orderedTreeData);
1184
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false, innerGroupList);
1185
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1186
+ const processedItem = processItemForStaticNodeGroup(nodeGroup, item, groupedItemIndexes, displayTree, index, /* @__PURE__ */ new Set());
1187
+ nodeGroupChildren = nodeGroupChildren.concat((processedItem === null || processedItem === void 0 ? void 0 : processedItem.nodeChildren) || []);
1188
+ });
1189
+ const updatedNodeGroup = mapNodeGroupChildren(nodeGroup, nodeGroupChildren);
1190
+ updatedNodeGroup.children.forEach((child) => {
1191
+ updateTreeIds(child, null, (0, uuid.v4)(), (0, uuid.v4)());
1192
+ });
1193
+ preloadedList.push(updatedNodeGroup);
1194
+ });
1195
+ 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) === require_EnvironmentRibbon.NodeGroupOutlierEnums.Individual) pageList.forEach((item, index) => {
1196
+ if (!groupedItemIndexes.has(index)) {
1197
+ const orderedKeys = [];
1198
+ const orderedTreeData = [];
1199
+ const treeArr = [];
1200
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1201
+ processOrderedTreeData(tree, orderedTreeData);
1202
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false);
1203
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1204
+ const nodeIsHidden = checkNodeIsHidden(displayTree, item, false);
1205
+ if (!nodeIsHidden) {
1206
+ updateTreeIds(displayTree, null, (0, uuid.v4)(), (0, uuid.v4)());
1207
+ preloadedList.push(displayTree);
1208
+ }
1209
+ }
1210
+ });
1211
+ } 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) === require_EnvironmentRibbon.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)) {
1212
+ const nodeGroups = constructDynamicNodeGroups2(pageList, tree);
1213
+ preloadedList = preloadedList.concat(nodeGroups);
1214
+ } else pageList.forEach((item) => {
1215
+ const orderedKeys = [];
1216
+ const orderedTreeData = [];
1217
+ const treeArr = [];
1218
+ processCatalogObjectKeysInOrder(tree, orderedKeys);
1219
+ processOrderedTreeData(tree, orderedTreeData);
1220
+ processObjectToTree(item, orderedTreeData, orderedKeys, treeArr);
1221
+ const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1222
+ const nodeIsHidden = checkNodeIsHidden(displayTree, item, false);
1223
+ !nodeIsHidden && preloadedList.push(displayTree);
1224
+ });
1225
+ return preloadedList;
1226
+ };
1227
+ const CompareGroupByOrder = (a, b) => {
1228
+ if (a.order > b.order) return 1;
1229
+ if (a.order < b.order) return -1;
1230
+ return 0;
1231
+ };
1232
+ const CompareSiblingNodes = (a, b) => {
1233
+ if (a.hasOwnProperty("isGroupNode") && !b.hasOwnProperty("isGroupNode")) return -1;
1234
+ if (!a.hasOwnProperty("isGroupNode") && b.hasOwnProperty("isGroupNode")) return 1;
1235
+ if (a.hasOwnProperty("isGroupNode") && b.hasOwnProperty("isGroupNode")) {
1236
+ var _a$properties, _b$properties, _a$properties2, _b$properties2;
1237
+ 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;
1238
+ 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;
1239
+ }
1240
+ return 0;
1241
+ };
1242
+ const GetGroupChildMap = (_map, groupKey) => {
1243
+ if (_map[groupKey] === void 0) _map[groupKey] = [];
1244
+ return _map[groupKey];
1245
+ };
1246
+ const AddGroupToChildMap = (_map, groupKey, groupNode) => {
1247
+ let childMap = GetGroupChildMap(_map, groupKey);
1248
+ childMap.push(groupNode);
1249
+ childMap.sort(CompareGroupByOrder);
1250
+ };
1251
+ const createDynamicGroups2 = (_treeConfig, _groupConfig, _item, _curItem, _pList, _siblings, _parentId) => {
1252
+ let _groupCreated = false;
1253
+ if (_pList.length > 0) {
1254
+ let tmpProp = _pList[0];
1255
+ if (_curItem.hasOwnProperty(tmpProp)) {
1256
+ let newItem = _curItem[tmpProp];
1257
+ if (_pList.length > 1) {
1258
+ if (Array.isArray(newItem)) for (let i = 0, numOfItems = newItem.length; i < numOfItems; i++) {
1259
+ let aGroupWasCreated = createDynamicGroups2(_treeConfig, _groupConfig, _item, newItem[i], _pList.slice(1), _siblings, _parentId);
1260
+ _groupCreated = aGroupWasCreated ? aGroupWasCreated : _groupCreated;
1261
+ }
1262
+ else if (typeof newItem === "object" && newItem !== null) {
1263
+ let aGroupWasCreated = createDynamicGroups2(_treeConfig, _groupConfig, _item, newItem, _pList.slice(1), _siblings, _parentId);
1264
+ _groupCreated = aGroupWasCreated ? aGroupWasCreated : _groupCreated;
1265
+ }
1266
+ } else if (typeof newItem !== "object" && newItem !== null && newItem !== "") {
1267
+ let groupName = newItem.toString();
1268
+ let groupNode = null;
1269
+ for (let siblingIdx = 0, numOfSiblings = _siblings.length; siblingIdx < numOfSiblings; siblingIdx++) {
1270
+ let sibling = _siblings[siblingIdx];
1271
+ if (sibling.hasOwnProperty("isGroupNode") && sibling.isGroupNode === true) {
1272
+ if (sibling.properties.label === groupName) {
1273
+ groupNode = sibling;
1274
+ break;
1275
+ }
1276
+ }
1277
+ }
1278
+ if (groupNode == null) {
1279
+ let newGroupNodeId = (0, uuid.v4)();
1280
+ groupNode = new GroupNode({
1281
+ id: `${newGroupNodeId}`,
1282
+ groupType: require_EnvironmentRibbon.NodeGroupTypeEnums.Dynamic,
1283
+ children: [],
1284
+ parentGroupId: _parentId,
1285
+ parentId: _parentId,
1286
+ isExpanded: _groupConfig.isExpanded,
1287
+ properties: {
1288
+ label: groupName,
1289
+ propertyIsCustom: _groupConfig.propertyIsCustom,
1290
+ propertyKey: _groupConfig.property,
1291
+ order: _groupConfig.order
1292
+ }
1293
+ });
1294
+ _siblings.push(groupNode);
1295
+ }
1296
+ _groupCreated = true;
1297
+ let subGroupWasCreated = false;
1298
+ for (let subGroupIdx = 0, numOfSubGroups = _groupConfig.children.length; subGroupIdx < numOfSubGroups; subGroupIdx++) {
1299
+ let subGroupConfig = _groupConfig.children[subGroupIdx];
1300
+ let subGroupPropList = subGroupConfig.property ? subGroupConfig.property.split(".") : [];
1301
+ let subGroupCreated = createDynamicGroups2(_treeConfig, subGroupConfig, _item, _item, subGroupPropList, groupNode.children, groupNode.id);
1302
+ subGroupWasCreated = subGroupCreated ? subGroupCreated : subGroupWasCreated;
1303
+ }
1304
+ if (!subGroupWasCreated) {
1305
+ let tmpNode = (0, lodash.cloneDeep)(_treeConfig);
1306
+ processObjIndex(tmpNode, _item, null, groupNode.id, null, null, false);
1307
+ groupNode.children.push(tmpNode);
1308
+ let newChildNodes = [];
1309
+ for (let childNodeIdx = 0, numOfChildNodes = tmpNode.children.length; childNodeIdx < numOfChildNodes; childNodeIdx++) {
1310
+ let childConfigNode = tmpNode.children[childNodeIdx];
1311
+ let propToGetRecords = childConfigNode.properties.catalogObjectKey;
1312
+ if (propToGetRecords && propToGetRecords != null && _item.hasOwnProperty(propToGetRecords)) {
1313
+ let newResultSet = _item[propToGetRecords];
1314
+ if (newResultSet && newResultSet != null) if (Array.isArray(newResultSet)) newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1315
+ else {
1316
+ let tmpNewResultSet = [];
1317
+ tmpNewResultSet.push(newResultSet);
1318
+ newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1319
+ }
1320
+ }
1321
+ }
1322
+ tmpNode.children = newChildNodes;
1323
+ }
1324
+ groupNode.children.sort(CompareSiblingNodes);
1325
+ }
1326
+ }
1327
+ }
1328
+ return _groupCreated;
1329
+ };
1330
+ const constructDynamicGroupConfigTrees2 = (configNode) => {
1331
+ var _configNode$propertie, _groupConfiguration$g4;
1332
+ let topLevelConfigGroupNodes = [];
1333
+ const groupConfiguration = configNode === null || configNode === void 0 || (_configNode$propertie = configNode.properties) === null || _configNode$propertie === void 0 ? void 0 : _configNode$propertie.groupConfiguration;
1334
+ const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || require_EnvironmentRibbon.NodeGroupTypeEnums.Dynamic;
1335
+ 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)) {
1336
+ let dynamicGroupings = groupConfiguration.groupings[groupType];
1337
+ for (let groupingIdx = 0, numOfGroupings = dynamicGroupings.length; groupingIdx < numOfGroupings; groupingIdx++) {
1338
+ let grouping = dynamicGroupings[groupingIdx];
1339
+ if (grouping.groups === void 0 || grouping.groups === null) continue;
1340
+ let groupChildMap = {};
1341
+ for (let groupIdx = 0, numOfGroups = grouping.groups.length; groupIdx < numOfGroups; groupIdx++) {
1342
+ let group = grouping.groups[groupIdx];
1343
+ group["children"] = GetGroupChildMap(groupChildMap, group.id);
1344
+ if (group.parentGroupId === void 0 || group.parentGroupId === null) topLevelConfigGroupNodes.push(group);
1345
+ else AddGroupToChildMap(groupChildMap, group.parentGroupId, group);
1346
+ }
1347
+ }
1348
+ }
1349
+ for (let configIdx = 0, numOfChildConfigNodes = configNode.children.length; configIdx < numOfChildConfigNodes; configIdx++) {
1350
+ let childConfigNode = configNode.children[configIdx];
1351
+ constructDynamicGroupConfigTrees2(childConfigNode);
1352
+ }
1353
+ configNode.groupConfigTrees = topLevelConfigGroupNodes;
1354
+ };
1355
+ const constructDynamicNodeGroups2 = (results, configNode, parentId = null) => {
1356
+ let levelNodes = [];
1357
+ if (!configNode.groupConfigTrees) constructDynamicGroupConfigTrees2(configNode);
1358
+ for (let rIdx = 0, numOfResults = results.length; rIdx < numOfResults; rIdx++) {
1359
+ let item = results[rIdx];
1360
+ let groupCreated = false;
1361
+ for (let ctlIdx = 0, numOfGroupConfigTrees = configNode.groupConfigTrees.length; ctlIdx < numOfGroupConfigTrees; ctlIdx++) {
1362
+ let groupConfigNode = configNode.groupConfigTrees[ctlIdx];
1363
+ let gPropList = groupConfigNode.property ? groupConfigNode.property.split(".") : [];
1364
+ let aGroupWasCreated = createDynamicGroups2(configNode, groupConfigNode, item, item, gPropList, levelNodes, parentId);
1365
+ groupCreated = aGroupWasCreated ? aGroupWasCreated : groupCreated;
1366
+ }
1367
+ if (!groupCreated) {
1368
+ let tmpNode = (0, lodash.cloneDeep)(configNode);
1369
+ processObjIndex(tmpNode, item, null, parentId, null, null, false);
1370
+ levelNodes.push(tmpNode);
1371
+ let newChildNodes = [];
1372
+ for (let childNodeIdx = 0, numOfChildNodes = tmpNode.children.length; childNodeIdx < numOfChildNodes; childNodeIdx++) {
1373
+ let childConfigNode = tmpNode.children[childNodeIdx];
1374
+ let propToGetRecords = childConfigNode.properties.catalogObjectKey;
1375
+ if (propToGetRecords && propToGetRecords != null && item.hasOwnProperty(propToGetRecords)) {
1376
+ let newResultSet = item[propToGetRecords];
1377
+ if (newResultSet && newResultSet != null) if (Array.isArray(newResultSet)) newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1378
+ else {
1379
+ let tmpNewResultSet = [];
1380
+ tmpNewResultSet.push(newResultSet);
1381
+ newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1382
+ }
1383
+ }
1384
+ }
1385
+ tmpNode.children = newChildNodes;
1386
+ }
1387
+ }
1388
+ levelNodes.sort(CompareSiblingNodes);
1389
+ return levelNodes;
1390
+ };
1391
+ const transformMenuPageTree = (node) => {
1392
+ var _node$menuItemInstanc, _node$menuItemInstanc2;
1393
+ if (!(node === null || node === void 0 || (_node$menuItemInstanc = node.menuItemInstance) === null || _node$menuItemInstanc === void 0 ? void 0 : _node$menuItemInstanc.isActive)) return null;
1394
+ const parameters = ((_node$menuItemInstanc2 = node.menuItemInstance) === null || _node$menuItemInstanc2 === void 0 ? void 0 : _node$menuItemInstanc2.parameters) && JSON.parse(node.menuItemInstance.parameters);
1395
+ const label = node.title || "";
1396
+ const expanded = (parameters === null || parameters === void 0 ? void 0 : parameters.defaultDisplay) === "expanded";
1397
+ const updatedNode = {
1398
+ id: node.menuStructureId,
1399
+ parentId: node.parentId,
1400
+ isExpanded: expanded,
1401
+ properties: {
1402
+ defaultIcon: {
1403
+ type: "",
1404
+ name: parameters.FluentIcon,
1405
+ color: ""
1406
+ },
1407
+ nodeLabel: label,
1408
+ nodeSubLabel: "",
1409
+ page: {
1410
+ id: parameters.PageId,
1411
+ entity: { entityName: parameters.entityName },
1412
+ pbiReportCode: parameters.pbiReportCode,
1413
+ udpTagId: parameters.udpTagId,
1414
+ queryId: parameters.queryId,
1415
+ inquiryTreeId: parameters === null || parameters === void 0 ? void 0 : parameters.InquiryTreeId,
1416
+ requiredFieldMapping: parameters === null || parameters === void 0 ? void 0 : parameters.requiredFieldMapping
1417
+ },
1418
+ aggregateThresholdId: parameters.aggregateThresholdId || ""
1419
+ },
1420
+ children: []
1421
+ };
1422
+ for (const child of node.menuItemInstanceStructures) {
1423
+ const updatedChild = transformMenuPageTree(child);
1424
+ if (updatedChild) updatedNode.children.push(updatedChild);
1425
+ }
1426
+ return updatedNode;
1427
+ };
1428
+ const mapNodeObjValuesToSearchParameters = (nodeObj, aggregateThresholdParamMappings) => {
1429
+ if (!aggregateThresholdParamMappings || !nodeObj) return {};
1430
+ const mappings = { ...aggregateThresholdParamMappings };
1431
+ Object.keys(mappings).forEach((key) => {
1432
+ const nodeObjKey = mappings[key];
1433
+ if (nodeObjKey) {
1434
+ const nodeObjValue = nodeObj[nodeObjKey];
1435
+ mappings[key] = nodeObjValue || "";
1436
+ }
1437
+ });
1438
+ return mappings;
1439
+ };
1440
+ const getSearchValueString = (nodeObj, searchIdentifier) => {
1441
+ const searchIdentifiers = searchIdentifier.split(",");
1442
+ const searchValues = [];
1443
+ searchIdentifiers.forEach((searchIdentifier$1) => {
1444
+ searchValues.push(nodeObj[searchIdentifier$1]);
1445
+ });
1446
+ return searchValues.toString();
1447
+ };
1448
+
1449
+ //#endregion
1450
+ //#region src/utilities/iconLibrary/UnityIconLibrary.jsx
1451
+ const unityIcons = [{
1452
+ id: "WaterDropIcon",
1453
+ label: "Water Drop",
1454
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(src_assets_unityIcons_WaterDrop_svg.default, {}),
1455
+ type: "unity"
1456
+ }, {
1457
+ id: "SewerIcon",
1458
+ label: "Sewer",
1459
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(src_assets_unityIcons_Sewer_svg.default, {}),
1460
+ type: "unity"
1461
+ }];
1462
+ const getUnityIconFromName = (name) => {
1463
+ const foundIcon = unityIcons.find((icon) => icon.id === name);
1464
+ return (foundIcon === null || foundIcon === void 0 ? void 0 : foundIcon.icon) || null;
1465
+ };
1466
+
1467
+ //#endregion
1468
+ //#region src/shell/ui/SidebarCollapseButton.jsx
1469
+ const useStyles$6 = (0, __material_ui_core.makeStyles)((theme) => {
1470
+ var _theme$transitions, _theme$transitions2, _theme$transitions3, _theme$transitions4, _theme$transitions5, _theme$transitions6;
1471
+ return {
1472
+ root: {
1473
+ display: "flex",
1474
+ justifyContent: "flex-start",
1475
+ height: 48,
1476
+ width: "100%",
1477
+ paddingLeft: 0
1478
+ },
1479
+ iconButton: {
1480
+ width: 48,
1481
+ height: 48,
1482
+ marginLeft: 16 - 24 / 2
1483
+ },
1484
+ expanded: {},
1485
+ icon: {
1486
+ width: 14,
1487
+ height: 14,
1488
+ margin: 8 / 2,
1489
+ transition: theme === null || theme === void 0 || (_theme$transitions = theme.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.create("transform", {
1490
+ 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,
1491
+ 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
1492
+ }),
1493
+ "$expanded &": { transform: "scaleX(-1)" }
1494
+ },
1495
+ switch: {
1496
+ margin: 8 / 2,
1497
+ transition: theme === null || theme === void 0 || (_theme$transitions4 = theme.transitions) === null || _theme$transitions4 === void 0 ? void 0 : _theme$transitions4.create("transform", {
1498
+ 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,
1499
+ 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
1500
+ }),
1501
+ "$expanded &": { transform: "scaleX(-1)" }
1502
+ }
1503
+ };
1504
+ }, { name: "SidebarCollapseButton" });
1505
+ /**
1506
+ * Custom styled button used for expanding/collapsing sidebars
1507
+ */
1508
+ const SidebarCollapseButton = (props) => {
1509
+ const classes = useStyles$6(props);
1510
+ const { expanded, className, id, udprecordid,...other } = props;
1511
+ const { t } = (0, react_i18next.useTranslation)();
1512
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1513
+ ...other,
1514
+ className: (0, clsx.default)(className, classes.root, { [classes.expanded]: expanded }),
1515
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIconButton, {
1516
+ id,
1517
+ udprecordid,
1518
+ color: "inherit",
1519
+ className: (0, clsx.default)(classes.iconButton, classes.switch),
1520
+ "aria-label": expanded ? t("mainMenuAria.collapseNavigation") : t("mainMenuAria.expandNavigation"),
1521
+ icon: __fluentui_react_icons.ChevronRightIcon
1522
+ })
1523
+ });
1524
+ };
1525
+
1526
+ //#endregion
1527
+ //#region src/UI/inputs/buttons/AmbientCardButton.jsx
1528
+ const useStyles$5 = (0, __material_ui_core.makeStyles)((theme) => ({ root: {
1529
+ borderRadius: 0,
1530
+ padding: 8
1531
+ } }));
1532
+ const AmbientCardButton = (props) => {
1533
+ const classes = useStyles$5(props);
1534
+ const { editOption, launchOption, deleteOption, children,...otherProps } = props;
1535
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Button, {
1536
+ classes: { root: classes.root },
1537
+ variant: "outlined",
1538
+ disableElevation: true,
1539
+ color: "primary",
1540
+ ...otherProps,
1541
+ children: [
1542
+ editOption && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__fluentui_react_icons.EditIcon, {}),
1543
+ launchOption && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__fluentui_react_icons.ArrowUpRightIcon, {}),
1544
+ deleteOption && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__fluentui_react_icons.DeleteIcon, {}),
1545
+ children
1546
+ ]
1547
+ });
1548
+ };
1549
+ AmbientCardButton.propTypes = {
1550
+ editOption: prop_types.default.bool,
1551
+ launchOption: prop_types.default.bool,
1552
+ deleteOption: prop_types.default.bool,
1553
+ children: prop_types.default.string
1554
+ };
1555
+
1556
+ //#endregion
1557
+ //#region src/UI/components/feedback/Adornment.jsx
1558
+ const useStyles$4 = (0, __material_ui_core.makeStyles)((theme) => ({ root: (props) => ({
1559
+ width: theme.spacing(.5),
1560
+ height: "100%",
1561
+ background: theme.palette[props.color].main
1562
+ }) }));
1563
+ const Adornment = (props) => {
1564
+ const classes = useStyles$4(props);
1565
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: classes.root });
1566
+ };
1567
+ Adornment.propTypes = { color: prop_types.default.string };
1568
+
1569
+ //#endregion
1570
+ //#region src/UI/surfaces/cards/AmbientCard.jsx
1571
+ const useStyles$3 = (0, __material_ui_core.makeStyles)((theme) => ({
1572
+ root: {},
1573
+ paper: {
1574
+ width: "100%",
1575
+ position: "relative",
1576
+ display: "flex",
1577
+ flexDirection: "column",
1578
+ height: (props) => {
1579
+ var _props$cardHeight;
1580
+ return (_props$cardHeight = props === null || props === void 0 ? void 0 : props.cardHeight) !== null && _props$cardHeight !== void 0 ? _props$cardHeight : "";
1581
+ }
1582
+ },
1583
+ adornment: {
1584
+ top: 0,
1585
+ left: 0,
1586
+ height: "100%",
1587
+ position: "absolute"
1588
+ },
1589
+ launchButtons: {
1590
+ padding: theme.spacing(0, 2, 2, 2),
1591
+ display: "flex",
1592
+ justifyContent: "flex-end",
1593
+ bottom: (props) => props.adjustBaseline ? props.adjustBaseline : 16,
1594
+ right: theme.spacing(2),
1595
+ gridGap: theme.spacing(1)
1596
+ },
1597
+ moreButton: {
1598
+ marginTop: theme.spacing(1),
1599
+ display: "flex",
1600
+ justifyContent: "center",
1601
+ backgroundColor: (0, __material_ui_core.lighten)(theme.palette.secondary.main, .9),
1602
+ padding: theme.spacing(1)
1603
+ },
1604
+ styleWidth: {
1605
+ width: (props) => !(props === null || props === void 0 ? void 0 : props.fullWidth) ? "75%" : "100%",
1606
+ height: "100%"
1607
+ },
1608
+ media: { height: (props) => props.mediaHeight || 120 },
1609
+ cardContent: {
1610
+ flexGrow: 1,
1611
+ padding: (props) => props.removePadding && 0,
1612
+ "&:last-child": { paddingBottom: (props) => props.lastChildBottomPadding ? props.lastChildBottomPadding : theme.spacing(2) },
1613
+ paddingTop: 0,
1614
+ height: (props) => props.cardContentHeight ? props.cardContentHeight : ""
1615
+ },
1616
+ titleWrapper: {
1617
+ display: "flex",
1618
+ backgroundColor: (props) => props.headerColor && require_EnvironmentRibbon.getEllipseColor(theme, props.headerColor, "light")
1619
+ },
1620
+ title: { color: (props) => props.headerColor && theme.palette.getContrastText(require_EnvironmentRibbon.getEllipseColor(theme, props.headerColor, "light")) },
1621
+ loading: {
1622
+ position: "absolute",
1623
+ top: 0,
1624
+ left: 0
1625
+ },
1626
+ expandMessage: { display: "flex" },
1627
+ cardRoot: { "&:last-child": { paddingBottom: theme.spacing(2) } },
1628
+ visualization: {
1629
+ display: "flex",
1630
+ alignItems: "flex-end",
1631
+ width: "100%",
1632
+ height: 300
1633
+ },
1634
+ titlesWrapper: {
1635
+ display: "flex",
1636
+ flexDirection: "column",
1637
+ flex: 1,
1638
+ lineHeight: (props) => props.globalExpanded && "125%"
1639
+ },
1640
+ collapseChildren: {
1641
+ flexGrow: 1,
1642
+ "& .MuiCollapse-wrapper": { height: "100%" },
1643
+ "& .MuiCollapse-wrapperInner": { height: "100%" },
1644
+ height: (props) => props.cardContentHeight ? props.cardContentHeight : ""
1645
+ }
1646
+ }));
1647
+ const AmbientCard = (props) => {
1648
+ const classes = useStyles$3(props);
1649
+ const [expanded, setExpanded] = (0, react.useState)(false);
1650
+ 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;
1651
+ const [globalExpanded, setGlobalExpanded] = (0, react.useState)(toggleGlobalExpanded);
1652
+ return !baseLoading && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Paper, {
1653
+ elevation: 0,
1654
+ className: classes.paper,
1655
+ children: [
1656
+ !noAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1657
+ className: classes.adornment,
1658
+ children: customAdornment ? customAdornment : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Adornment, { color: adornment })
1659
+ }),
1660
+ title && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.CardContent, {
1661
+ className: classes.titleWrapper,
1662
+ classes: { root: classes.cardRoot },
1663
+ children: [
1664
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1665
+ className: classes.titlesWrapper,
1666
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
1667
+ className: classes.title,
1668
+ component: "h2",
1669
+ variant: subCard ? "subtitle2" : "h6",
1670
+ children: title
1671
+ }), subtitle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
1672
+ variant: "body1",
1673
+ className: classes.title,
1674
+ children: subtitle
1675
+ })]
1676
+ }),
1677
+ status && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.StatusChip, {
1678
+ status,
1679
+ label,
1680
+ success: overrideStatusSuccess,
1681
+ error: overrideStatusError,
1682
+ warning: overrideStatusWarning,
1683
+ info: overrideStatusInfo
1684
+ }),
1685
+ globalToggle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIconButton, {
1686
+ onClick: () => setGlobalExpanded(!globalExpanded),
1687
+ icon: globalExpanded ? __fluentui_react_icons.ChevronUpIcon : __fluentui_react_icons.ChevronDownIcon,
1688
+ className: classes.icon,
1689
+ id: "udpRecord-AmbientCard-Toggle-" + (globalExpanded ? "Up" : "Down"),
1690
+ udprecordid: "udpRecord-AmbientCard-Toggle-" + (globalExpanded ? "Up" : "Down")
1691
+ }) })
1692
+ ]
1693
+ }),
1694
+ image && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.CardMedia, {
1695
+ className: classes.media,
1696
+ image,
1697
+ title: imageTitle
1698
+ }),
1699
+ globalExpanded && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.CardContent, {
1700
+ classes: { root: classes.cardContent },
1701
+ children: [
1702
+ !image && !header && !removeTopLayoutUnit && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.LayoutUnit, { unit: large ? "md" : "xxs" }),
1703
+ image && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.LayoutUnit, { unit: "xs" }),
1704
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Collapse, {
1705
+ in: !collapseChildrenWhenExpanded || !expanded,
1706
+ timeout: "auto",
1707
+ className: classes.collapseChildren,
1708
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1709
+ className: classes.styleWidth,
1710
+ children
1711
+ })
1712
+ }),
1713
+ extendedList && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Collapse, {
1714
+ in: expanded,
1715
+ timeout: "auto",
1716
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: extendedList })
1717
+ }),
1718
+ more && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1719
+ className: classes.moreButton,
1720
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1721
+ className: classes.expandMessage,
1722
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
1723
+ style: {
1724
+ marginTop: 4,
1725
+ marginRight: 16
1726
+ },
1727
+ variant: "subtitle2",
1728
+ children: !expanded && moreMessage
1729
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentButton, {
1730
+ onClick: () => setExpanded(!expanded),
1731
+ color: "secondary",
1732
+ variant: "outlined",
1733
+ children: expanded ? moreButtonExpanded : moreButton
1734
+ })]
1735
+ })
1736
+ })
1737
+ ]
1738
+ }),
1739
+ visualization && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1740
+ className: classes.visualization,
1741
+ children: visualization
1742
+ }),
1743
+ !globalToggle && (editOption || launchOption || deleteOption) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1744
+ className: classes.launchButtons,
1745
+ children: [
1746
+ editOption && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientCardButton, {
1747
+ "aria-label": ariaLabel,
1748
+ editOption: true,
1749
+ ...otherProps,
1750
+ onClick: editEvent,
1751
+ id: "udpRecord-AmbientCard-edit",
1752
+ udprecordid: "udpRecord-AmbientCard-edit"
1753
+ }),
1754
+ launchOption && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientCardButton, {
1755
+ "aria-label": ariaLabel,
1756
+ launchOption: true,
1757
+ ...otherProps,
1758
+ onClick: launchEvent,
1759
+ id: "udpRecord-AmbientCard-launch",
1760
+ udprecordid: "udpRecord-AmbientCard-launch"
1761
+ }),
1762
+ deleteOption && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientCardButton, {
1763
+ "aria-label": ariaLabel,
1764
+ deleteOption: true,
1765
+ ...otherProps,
1766
+ onClick: deleteEvent,
1767
+ id: "udpRecord-AmbientCard-delete",
1768
+ udprecordid: "udpRecord-AmbientCard-delete"
1769
+ })
1770
+ ]
1771
+ })
1772
+ ]
1773
+ });
1774
+ };
1775
+
1776
+ //#endregion
1777
+ //#region src/UI/feedback/NodeLoader.jsx
1778
+ const useStyles$2 = (0, __material_ui_core.makeStyles)((theme) => ({
1779
+ root: {},
1780
+ nodeWrapper: { display: "flex" }
1781
+ }));
1782
+ const NodeLoader = ({ loading, nodesRequested = [1] }) => {
1783
+ const classes = useStyles$2();
1784
+ const singleNode = [
1785
+ 1,
1786
+ 2,
1787
+ 3,
1788
+ 4
1789
+ ];
1790
+ const NodeElement = () => {
1791
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1792
+ className: classes.nodeWrapper,
1793
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_Skeleton.default, {
1794
+ variant: "circle",
1795
+ width: 20,
1796
+ height: 20
1797
+ }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1798
+ style: {
1799
+ marginLeft: 8,
1800
+ width: "100%"
1801
+ },
1802
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_Skeleton.default, {
1803
+ height: 20,
1804
+ variant: "rect",
1805
+ width: "100%"
1806
+ })
1807
+ })]
1808
+ });
1809
+ };
1810
+ const NodeGroup = ({ indent }) => {
1811
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1812
+ style: { marginLeft: indent },
1813
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NodeElement, {})
1814
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.LayoutUnit, { unit: "xxs" })] });
1815
+ };
1816
+ const singleNodeGroup = loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: singleNode.map((item, index) => {
1817
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NodeGroup, { indent: index * 8 });
1818
+ }) });
1819
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: nodesRequested && nodesRequested.map((item) => {
1820
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1821
+ className: classes.root,
1822
+ children: [
1823
+ singleNodeGroup,
1824
+ " ",
1825
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.LayoutUnit, { unit: "xxs" })
1826
+ ]
1827
+ });
1828
+ }) });
1829
+ };
1830
+
1831
+ //#endregion
1832
+ //#region src/models/NumberOperator.ts
1833
+ let NumberOperatorEnums = /* @__PURE__ */ function(NumberOperatorEnums$1) {
1834
+ NumberOperatorEnums$1["Equals"] = "=";
1835
+ NumberOperatorEnums$1["Does_Not_Equal"] = "!=";
1836
+ NumberOperatorEnums$1["Greater_Than"] = ">";
1837
+ NumberOperatorEnums$1["Less_Than"] = "<";
1838
+ NumberOperatorEnums$1["Greater_Than_Or_Equal_To"] = ">=";
1839
+ NumberOperatorEnums$1["Less_Than_Or_Equal_To"] = "<=";
1840
+ NumberOperatorEnums$1["Between"] = "BETWEEN";
1841
+ return NumberOperatorEnums$1;
1842
+ }({});
1843
+
1844
+ //#endregion
1845
+ //#region src/UI/utilityDisplay/utilities/aggregateUtils.js
1846
+ const getThresholdStatus = (aggThreshold, aggregateValue) => {
1847
+ if (!aggThreshold || !aggregateValue) return null;
1848
+ const thresholdTypes = [
1849
+ {
1850
+ type: require_EnvironmentRibbon.SeverityTypeEnums.Success,
1851
+ threshold: aggThreshold.successThreshold
1852
+ },
1853
+ {
1854
+ type: require_EnvironmentRibbon.SeverityTypeEnums.Error,
1855
+ threshold: aggThreshold.errorThreshold
1856
+ },
1857
+ {
1858
+ type: require_EnvironmentRibbon.SeverityTypeEnums.Warning,
1859
+ threshold: aggThreshold.warningThreshold
1860
+ },
1861
+ {
1862
+ type: require_EnvironmentRibbon.SeverityTypeEnums.Info,
1863
+ threshold: aggThreshold.infoThreshold
1864
+ }
1865
+ ];
1866
+ let thresholdStatus = "";
1867
+ for (const { type, threshold } of thresholdTypes) if (threshold && evaluateThreshold(threshold, aggregateValue)) {
1868
+ thresholdStatus = type;
1869
+ break;
1870
+ }
1871
+ return thresholdStatus;
1872
+ };
1873
+ const evaluateThreshold = (threshold = {}, aggregateValue) => {
1874
+ if (typeof threshold === "string") try {
1875
+ threshold = JSON.parse(threshold);
1876
+ } catch {
1877
+ console.error(`Could not parse: ${threshold}`);
1878
+ return false;
1879
+ }
1880
+ const { operator, value1, value2 } = threshold;
1881
+ let thresholdMet = false;
1882
+ switch (operator) {
1883
+ case NumberOperatorEnums.Equals:
1884
+ thresholdMet = aggregateValue === parseFloat(value1);
1885
+ break;
1886
+ case NumberOperatorEnums.Does_Not_Equal:
1887
+ thresholdMet = aggregateValue !== parseFloat(value1);
1888
+ break;
1889
+ case NumberOperatorEnums.Greater_Than:
1890
+ thresholdMet = aggregateValue > parseFloat(value1);
1891
+ break;
1892
+ case NumberOperatorEnums.Less_Than:
1893
+ thresholdMet = aggregateValue < parseFloat(value1);
1894
+ break;
1895
+ case NumberOperatorEnums.Greater_Than_Or_Equal_To:
1896
+ thresholdMet = aggregateValue >= parseFloat(value1);
1897
+ break;
1898
+ case NumberOperatorEnums.Less_Than_Or_Equal_To:
1899
+ thresholdMet = aggregateValue <= parseFloat(value1);
1900
+ break;
1901
+ case NumberOperatorEnums.Between:
1902
+ thresholdMet = aggregateValue >= parseFloat(value1) && aggregateValue <= parseFloat(value2);
1903
+ break;
1904
+ default: break;
1905
+ }
1906
+ return thresholdMet;
1907
+ };
1908
+
1909
+ //#endregion
1910
+ //#region src/UI/dataDisplay/entityHeader/ui/AlertPill.jsx
1911
+ /**
1912
+ * Styles for the AlertPill component
1913
+ */
1914
+ const useStyles$1 = (0, __material_ui_core.makeStyles)((theme) => {
1915
+ const endRadius = theme.spacing(3);
1916
+ return {
1917
+ root: {
1918
+ display: "flex",
1919
+ flexDirection: "row",
1920
+ overflow: "hidden",
1921
+ flexGrow: 0,
1922
+ alignSelf: "start"
1923
+ },
1924
+ alertRoot: {
1925
+ padding: theme.spacing(0, 1.5, 0, 1),
1926
+ borderRadius: 0,
1927
+ "&:first-of-type": {
1928
+ borderTopLeftRadius: endRadius,
1929
+ borderBottomLeftRadius: endRadius
1930
+ },
1931
+ "&:last-of-type": {
1932
+ borderTopRightRadius: endRadius,
1933
+ borderBottomRightRadius: endRadius
1934
+ }
1935
+ },
1936
+ alertIcon: { marginRight: theme.spacing(.5) },
1937
+ buttonBase: {
1938
+ borderRadius: endRadius,
1939
+ overflow: "hidden"
1940
+ },
1941
+ defaultSeverityAlert: { backgroundColor: theme.palette.grey[400] }
1942
+ };
1943
+ });
1944
+ /**
1945
+ * Memoized version of the Alert component
1946
+ *
1947
+ * @param {object} props - Component props
1948
+ * @param {number} props.count - The count to display in the Alert
1949
+ * @param {boolean} props.hide - Whether the Alert should be hidden
1950
+ * @param {string} props.severity - The severity of the Alert
1951
+ * @param {object} props.alertProps - Additional props to pass to the Alert component
1952
+ * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
1953
+ * @returns {JSX.Element | null} - The Alert component, or null if the count is falsy or hide is true
1954
+ */
1955
+ const MemoizedAlert = (0, react.memo)((props) => {
1956
+ const { count, hide, severity, alertProps, maxCount, label } = props;
1957
+ const classes = useStyles$1(props);
1958
+ if (count && !hide) {
1959
+ let displayCount = count;
1960
+ if (maxCount && count > maxCount) displayCount = `${maxCount}+`;
1961
+ if (severity === require_EnvironmentRibbon.SeverityTypeEnums.Default) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab.Alert, {
1962
+ severity: require_EnvironmentRibbon.SeverityTypeEnums.Info,
1963
+ ...alertProps,
1964
+ className: classes.defaultSeverityAlert,
1965
+ children: displayCount
1966
+ });
1967
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab.Alert, {
1968
+ severity,
1969
+ ...alertProps,
1970
+ children: label ? label : displayCount
1971
+ });
1972
+ }
1973
+ return null;
1974
+ });
1975
+ MemoizedAlert.displayName = "MemoizedAlert";
1976
+ /**
1977
+ * The AlertPill component displays a row of Alerts, each with a count and a severity level.
1978
+ * Alerts can be hidden by setting the corresponding hide prop to true.
1979
+ *
1980
+ * @param {object} props - Component props
1981
+ * @param {function} [props.handleClick] - The click event handler.
1982
+ * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
1983
+ * @param {number} props.errorCount - The count for the error Alert
1984
+ * @param {number} props.warningCount - The count for the warning Alert
1985
+ * @param {number} props.successCount - The count for the success Alert
1986
+ * @param {number} props.infoCount - The count for the info Alert
1987
+ * @param {number} props.defaultCount - The count for the default Alert
1988
+ * @param {string} props.errorLabel - The label for the error Alert
1989
+ * @param {string} props.warningLabel - The label for the warning Alert
1990
+ * @param {string} props.successLabel - The label for the success Alert
1991
+ * @param {string} props.infoLabel - The label for the info Alert
1992
+ * @param {string} props.defaultLabel - The label for the default Alert
1993
+ * @param {boolean} props.hideError - Whether the error Alert should be hidden
1994
+ * @param {boolean} props.hideWarning - Whether the warning Alert should be hidden
1995
+ * @param {boolean} props.hideSuccess - Whether the success Alert should be hidden
1996
+ * @param {boolean} props.hideInfo - Whether the info Alert should be hidden
1997
+ * @param {boolean} props.hideDefault - Whether the default Alert should be hidden
1998
+ * @param {string} props.variant - The variant of the Alert
1999
+ * @param {function} [props.handleClick] - The click event handler.
2000
+ * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
2001
+ * @returns {JSX.Element} - The AlertPill component
2002
+ */
2003
+ const AlertPill = (props) => {
2004
+ 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;
2005
+ const classes = useStyles$1(props);
2006
+ const variantMapping = {
2007
+ filled: "filled",
2008
+ standard: "hint",
2009
+ outlined: "outlined",
2010
+ text: ""
2011
+ };
2012
+ const alertProps = {
2013
+ variant: variantMapping[variant],
2014
+ classes: {
2015
+ root: classes.alertRoot,
2016
+ icon: classes.alertIcon
2017
+ }
2018
+ };
2019
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2020
+ className: classes.root,
2021
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.ButtonBase, {
2022
+ onClick: handleClick,
2023
+ className: classes.buttonBase,
2024
+ children: [
2025
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedAlert, {
2026
+ count: errorCount,
2027
+ hide: hideError,
2028
+ severity: require_EnvironmentRibbon.SeverityTypeEnums.Error,
2029
+ alertProps,
2030
+ maxCount,
2031
+ label: errorLabel
2032
+ }),
2033
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedAlert, {
2034
+ count: warningCount,
2035
+ hide: hideWarning,
2036
+ severity: require_EnvironmentRibbon.SeverityTypeEnums.Warning,
2037
+ alertProps,
2038
+ maxCount,
2039
+ label: warningLabel
2040
+ }),
2041
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedAlert, {
2042
+ count: successCount,
2043
+ hide: hideSuccess,
2044
+ severity: require_EnvironmentRibbon.SeverityTypeEnums.Success,
2045
+ alertProps,
2046
+ maxCount,
2047
+ label: successLabel
2048
+ }),
2049
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedAlert, {
2050
+ count: infoCount,
2051
+ hide: hideInfo,
2052
+ severity: require_EnvironmentRibbon.SeverityTypeEnums.Info,
2053
+ alertProps,
2054
+ maxCount,
2055
+ label: infoLabel
2056
+ }),
2057
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedAlert, {
2058
+ count: defaultCount,
2059
+ hide: hideDefault,
2060
+ severity: require_EnvironmentRibbon.SeverityTypeEnums.Default,
2061
+ alertProps,
2062
+ maxCount,
2063
+ label: defaultLabel
2064
+ })
2065
+ ]
2066
+ })
2067
+ });
2068
+ };
2069
+
2070
+ //#endregion
2071
+ //#region src/UI/utilityDisplay/AggregateChip.jsx
2072
+ const AggregateChip = (props) => {
2073
+ const { aggregateThresholdId, aggregateThresholdParamMappings, label, chipColor, setStatus, isActionable = false, isAlert = false, hideAlert = false, onAlertClick } = props;
2074
+ const [color, setColor] = (0, react.useState)(chipColor);
2075
+ const [aggregateValue, setAggregateValue] = (0, react.useState)(null);
2076
+ const [loading, setLoading] = (0, react.useState)(false);
2077
+ const [{ data: aggregateThreshold, loading: loadingAggregateThreshold }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.integrationV2ApiUrl, `aggregateThreshold/${aggregateThresholdId}`, {}, !!!aggregateThresholdId);
2078
+ const alertDisplayLabel = (0, react.useMemo)(() => {
2079
+ if (!label) return aggregateValue;
2080
+ return `${label.replace("{value}", aggregateValue)}`;
2081
+ }, [aggregateValue, label]);
2082
+ (0, react.useEffect)(() => {
2083
+ const setAggregateData = async (apiMethodInstanceId, valueKey) => {
2084
+ setLoading(true);
2085
+ const data = aggregateThresholdParamMappings ? { data: aggregateThresholdParamMappings } : { data: {} };
2086
+ const response = await require_EnvironmentRibbon.executeQueryInstance(data, apiMethodInstanceId).catch((res) => setLoading(false));
2087
+ if ((response === null || response === void 0 ? void 0 : response.status) === 200 && valueKey) {
2088
+ var _response$data, _response$data2;
2089
+ 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]);
2090
+ if (aggregateResult) setAggregateValue(aggregateResult[valueKey] ? Math.round(aggregateResult[valueKey]) : "");
2091
+ }
2092
+ setLoading(false);
2093
+ };
2094
+ if (aggregateThreshold) setAggregateData(aggregateThreshold.apiMethodInstanceId, aggregateThreshold.aggregateKey);
2095
+ }, [aggregateThreshold]);
2096
+ (0, react.useEffect)(() => {
2097
+ if (aggregateThreshold && aggregateValue) {
2098
+ const status = getThresholdStatus(aggregateThreshold, aggregateValue);
2099
+ setColor(status);
2100
+ if (setStatus) setStatus(status || "default");
2101
+ }
2102
+ }, [
2103
+ aggregateThreshold,
2104
+ aggregateValue,
2105
+ setStatus
2106
+ ]);
2107
+ if (loading || loadingAggregateThreshold) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.CircularProgress, { size: 18 });
2108
+ if (!color && !isAlert) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
2109
+ variant: "caption2",
2110
+ style: { fontSize: "0.7rem" },
2111
+ children: label || aggregateValue
2112
+ });
2113
+ if (isAlert) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AlertPill, {
2114
+ handleClick: onAlertClick,
2115
+ successCount: color === require_EnvironmentRibbon.SeverityTypeEnums.Success ? aggregateValue : "",
2116
+ errorCount: color === require_EnvironmentRibbon.SeverityTypeEnums.Error ? aggregateValue : "",
2117
+ warningCount: color === require_EnvironmentRibbon.SeverityTypeEnums.Warning ? aggregateValue : "",
2118
+ infoCount: color === require_EnvironmentRibbon.SeverityTypeEnums.Info ? aggregateValue : "",
2119
+ defaultCount: !color && (aggregateValue || ""),
2120
+ successLabel: color === require_EnvironmentRibbon.SeverityTypeEnums.Success ? alertDisplayLabel : "",
2121
+ errorLabel: color === require_EnvironmentRibbon.SeverityTypeEnums.Error ? alertDisplayLabel : "",
2122
+ warningLabel: color === require_EnvironmentRibbon.SeverityTypeEnums.Warning ? alertDisplayLabel : "",
2123
+ infoLabel: color === require_EnvironmentRibbon.SeverityTypeEnums.Info ? alertDisplayLabel : "",
2124
+ defaultLabel: !color && (alertDisplayLabel || ""),
2125
+ hideSuccess: color === require_EnvironmentRibbon.SeverityTypeEnums.Success ? hideAlert : false,
2126
+ hideError: color === require_EnvironmentRibbon.SeverityTypeEnums.Error ? hideAlert : false,
2127
+ hideWarning: color === require_EnvironmentRibbon.SeverityTypeEnums.Warning ? hideAlert : false,
2128
+ hideInfo: color === require_EnvironmentRibbon.SeverityTypeEnums.Info ? hideAlert : false,
2129
+ hideDefault: !color ? hideAlert : false
2130
+ });
2131
+ return label || aggregateValue ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.StatusChip, {
2132
+ label: label || aggregateValue,
2133
+ status: color,
2134
+ useSmallChip: true,
2135
+ isActionable
2136
+ }) : null;
2137
+ };
2138
+ AggregateChip.prototype = {
2139
+ chipColor: prop_types.default.oneOf([
2140
+ "success",
2141
+ "error",
2142
+ "warning",
2143
+ "info",
2144
+ void 0,
2145
+ null
2146
+ ]),
2147
+ aggregateThresholdId: prop_types.default.oneOf([
2148
+ prop_types.default.string,
2149
+ void 0,
2150
+ null
2151
+ ])
2152
+ };
2153
+
2154
+ //#endregion
2155
+ //#region src/utilities/utilityBar/UtilityBarInport.jsx
2156
+ const UtilityBarInports = (0, react_teleporter.createTeleporter)({ multiSources: true });
2157
+ const UtilityBarInportTarget = UtilityBarInports.Target;
2158
+ /**
2159
+ * Places a Control in the App SubHeader
2160
+ */
2161
+ const UtilityBarInport = (props) => {
2162
+ const { children, className,...buttonProps } = props;
2163
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UtilityBarInports.Source, { children });
2164
+ };
2165
+
2166
+ //#endregion
2167
+ //#region src/UI/utilityDisplay/UtilitySideBar.jsx
2168
+ const EXPANDED_WIDTH = 288;
2169
+ const COLLAPSED_WIDTH = 78;
2170
+ const MAX_WIDTH = 700;
2171
+ const useStyles = (0, __material_ui_core.makeStyles)((theme) => ({
2172
+ root: {
2173
+ paddingTop: (props) => props.removePadding || props.sidebarHidden ? 0 : 40,
2174
+ overflow: "hidden",
2175
+ height: "100%"
2176
+ },
2177
+ titleWrapper: {
2178
+ display: (props) => props.hideTitleBar ? "none" : "flex",
2179
+ width: "100%",
2180
+ paddingLeft: theme.spacing(1)
2181
+ },
2182
+ button: { marginTop: -8 },
2183
+ title: {
2184
+ flex: 1,
2185
+ width: "100%",
2186
+ marginTop: 8
2187
+ },
2188
+ expandedWidth: { width: 288 },
2189
+ handle: {
2190
+ top: 0,
2191
+ right: theme.spacing(-.75),
2192
+ width: theme.spacing(.75),
2193
+ zIndex: 1e4,
2194
+ height: "calc(100vh - 56px)",
2195
+ display: "inline-block",
2196
+ position: "absolute",
2197
+ "&:hover": { cursor: "col-resize" }
2198
+ }
2199
+ }));
2200
+ const UtilitySideBar = (props) => {
2201
+ const { onUtilitySidebarToggleExpandClick, resizable, title, utilitySidebarToggleOverride, isUsingChildren = false, removeTopLayoutUnit = false, collapsedWidth, children, sidebarHidden, handleResize = null, hideTitleBar } = props;
2202
+ const buildEnv = require_EnvironmentRibbon.useBuildEnvironment();
2203
+ const classes = useStyles({
2204
+ ...props,
2205
+ appRibbbonSpace: buildEnv ? require_EnvironmentRibbon.APP_RIBBON_SPACE : 0
2206
+ });
2207
+ const [expanded, setExpanded] = (0, react.useState)(true);
2208
+ const [width, setWidth] = (0, react.useState)(EXPANDED_WIDTH);
2209
+ const _collapsedWidth = collapsedWidth !== null && collapsedWidth !== void 0 ? collapsedWidth : COLLAPSED_WIDTH;
2210
+ const theme = (0, __material_ui_core.useTheme)();
2211
+ const onResize = (event, { element, size, handle }) => {
2212
+ setWidth(size.width);
2213
+ if (handleResize) handleResize(size.width);
2214
+ };
2215
+ const handleToggleClick = (0, react.useCallback)(() => {
2216
+ if (onUtilitySidebarToggleExpandClick) onUtilitySidebarToggleExpandClick();
2217
+ setExpanded((expanded$1) => !expanded$1);
2218
+ }, [onUtilitySidebarToggleExpandClick]);
2219
+ (0, react.useEffect)(() => {
2220
+ if (typeof utilitySidebarToggleOverride === "boolean") setExpanded(utilitySidebarToggleOverride);
2221
+ }, [utilitySidebarToggleOverride]);
2222
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_resizable.ResizableBox, {
2223
+ width: expanded ? width : _collapsedWidth,
2224
+ resizeHandles: resizable && expanded ? ["e"] : [],
2225
+ axis: "x",
2226
+ minConstraints: expanded ? [EXPANDED_WIDTH] : [_collapsedWidth],
2227
+ maxConstraints: [MAX_WIDTH],
2228
+ onResize,
2229
+ handle: expanded && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: classes.handle }),
2230
+ style: { position: "relative" },
2231
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2232
+ className: classes.root,
2233
+ style: { width: expanded ? width : _collapsedWidth },
2234
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AmbientCard, {
2235
+ fullWidth: true,
2236
+ removePadding: true,
2237
+ lastChildBottomPadding: 12,
2238
+ removeTopLayoutUnit: removeTopLayoutUnit || sidebarHidden,
2239
+ children: [
2240
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2241
+ style: {
2242
+ display: hideTitleBar ? "none" : "flex",
2243
+ width: "100%",
2244
+ paddingLeft: theme.spacing(1)
2245
+ },
2246
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2247
+ className: classes.title,
2248
+ children: expanded && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Typography, {
2249
+ variant: "h6",
2250
+ children: [
2251
+ " ",
2252
+ title,
2253
+ " "
2254
+ ]
2255
+ })
2256
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2257
+ className: classes.button,
2258
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarCollapseButton, {
2259
+ id: "udpRecord-UtilitySideBar",
2260
+ udprecordid: "udpRecord-UtilitySideBar",
2261
+ expanded,
2262
+ onClick: handleToggleClick
2263
+ })
2264
+ })]
2265
+ }),
2266
+ !isUsingChildren && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UtilityBarInportTarget, {}),
2267
+ isUsingChildren && children
2268
+ ]
2269
+ })
2270
+ })
2271
+ });
2272
+ };
2273
+
2274
+ //#endregion
2275
+ Object.defineProperty(exports, 'Adornment', {
2276
+ enumerable: true,
2277
+ get: function () {
2278
+ return Adornment;
2279
+ }
2280
+ });
2281
+ Object.defineProperty(exports, 'AggregateChip', {
2282
+ enumerable: true,
2283
+ get: function () {
2284
+ return AggregateChip;
2285
+ }
2286
+ });
2287
+ Object.defineProperty(exports, 'AlertPill', {
2288
+ enumerable: true,
2289
+ get: function () {
2290
+ return AlertPill;
2291
+ }
2292
+ });
2293
+ Object.defineProperty(exports, 'AmbientCard', {
2294
+ enumerable: true,
2295
+ get: function () {
2296
+ return AmbientCard;
2297
+ }
2298
+ });
2299
+ Object.defineProperty(exports, 'AmbientCardButton', {
2300
+ enumerable: true,
2301
+ get: function () {
2302
+ return AmbientCardButton;
2303
+ }
2304
+ });
2305
+ Object.defineProperty(exports, 'GroupNode', {
2306
+ enumerable: true,
2307
+ get: function () {
2308
+ return GroupNode;
2309
+ }
2310
+ });
2311
+ Object.defineProperty(exports, 'NodeLoader', {
2312
+ enumerable: true,
2313
+ get: function () {
2314
+ return NodeLoader;
2315
+ }
2316
+ });
2317
+ Object.defineProperty(exports, 'SidebarCollapseButton', {
2318
+ enumerable: true,
2319
+ get: function () {
2320
+ return SidebarCollapseButton;
2321
+ }
2322
+ });
2323
+ Object.defineProperty(exports, 'UtilityBarInport', {
2324
+ enumerable: true,
2325
+ get: function () {
2326
+ return UtilityBarInport;
2327
+ }
2328
+ });
2329
+ Object.defineProperty(exports, 'UtilityBarInportTarget', {
2330
+ enumerable: true,
2331
+ get: function () {
2332
+ return UtilityBarInportTarget;
2333
+ }
2334
+ });
2335
+ Object.defineProperty(exports, 'UtilitySideBar', {
2336
+ enumerable: true,
2337
+ get: function () {
2338
+ return UtilitySideBar;
2339
+ }
2340
+ });
2341
+ Object.defineProperty(exports, 'checkNodeIsHidden', {
2342
+ enumerable: true,
2343
+ get: function () {
2344
+ return checkNodeIsHidden;
2345
+ }
2346
+ });
2347
+ Object.defineProperty(exports, 'collapseAllNodes', {
2348
+ enumerable: true,
2349
+ get: function () {
2350
+ return collapseAllNodes;
2351
+ }
2352
+ });
2353
+ Object.defineProperty(exports, 'constructBusinessObjectArrFromTree', {
2354
+ enumerable: true,
2355
+ get: function () {
2356
+ return constructBusinessObjectArrFromTree;
2357
+ }
2358
+ });
2359
+ Object.defineProperty(exports, 'constructDynamicNodeGroups', {
2360
+ enumerable: true,
2361
+ get: function () {
2362
+ return constructDynamicNodeGroups;
2363
+ }
2364
+ });
2365
+ Object.defineProperty(exports, 'constructDynamicNodeGroups2', {
2366
+ enumerable: true,
2367
+ get: function () {
2368
+ return constructDynamicNodeGroups2;
2369
+ }
2370
+ });
2371
+ Object.defineProperty(exports, 'constructPreloadedTree', {
2372
+ enumerable: true,
2373
+ get: function () {
2374
+ return constructPreloadedTree;
2375
+ }
2376
+ });
2377
+ Object.defineProperty(exports, 'constructStaticNodeGroups', {
2378
+ enumerable: true,
2379
+ get: function () {
2380
+ return constructStaticNodeGroups;
2381
+ }
2382
+ });
2383
+ Object.defineProperty(exports, 'deleteNode', {
2384
+ enumerable: true,
2385
+ get: function () {
2386
+ return deleteNode;
2387
+ }
2388
+ });
2389
+ Object.defineProperty(exports, 'deleteNodeAndChildren', {
2390
+ enumerable: true,
2391
+ get: function () {
2392
+ return deleteNodeAndChildren;
2393
+ }
2394
+ });
2395
+ Object.defineProperty(exports, 'evaluateRule', {
2396
+ enumerable: true,
2397
+ get: function () {
2398
+ return evaluateRule;
2399
+ }
2400
+ });
2401
+ Object.defineProperty(exports, 'expandAllNodes', {
2402
+ enumerable: true,
2403
+ get: function () {
2404
+ return expandAllNodes;
2405
+ }
2406
+ });
2407
+ Object.defineProperty(exports, 'findAllParentIds', {
2408
+ enumerable: true,
2409
+ get: function () {
2410
+ return findAllParentIds;
2411
+ }
2412
+ });
2413
+ Object.defineProperty(exports, 'findLastNode', {
2414
+ enumerable: true,
2415
+ get: function () {
2416
+ return findLastNode;
2417
+ }
2418
+ });
2419
+ Object.defineProperty(exports, 'findNodeById', {
2420
+ enumerable: true,
2421
+ get: function () {
2422
+ return findNodeById;
2423
+ }
2424
+ });
2425
+ Object.defineProperty(exports, 'findNodeByIdAndLabel', {
2426
+ enumerable: true,
2427
+ get: function () {
2428
+ return findNodeByIdAndLabel;
2429
+ }
2430
+ });
2431
+ Object.defineProperty(exports, 'findNodesByIdAndLabel', {
2432
+ enumerable: true,
2433
+ get: function () {
2434
+ return findNodesByIdAndLabel;
2435
+ }
2436
+ });
2437
+ Object.defineProperty(exports, 'formatTreeLabel', {
2438
+ enumerable: true,
2439
+ get: function () {
2440
+ return formatTreeLabel;
2441
+ }
2442
+ });
2443
+ Object.defineProperty(exports, 'formatTreeMenuItem', {
2444
+ enumerable: true,
2445
+ get: function () {
2446
+ return formatTreeMenuItem;
2447
+ }
2448
+ });
2449
+ Object.defineProperty(exports, 'getAllChildrenNodesToDelete', {
2450
+ enumerable: true,
2451
+ get: function () {
2452
+ return getAllChildrenNodesToDelete;
2453
+ }
2454
+ });
2455
+ Object.defineProperty(exports, 'getDisplayDetails', {
2456
+ enumerable: true,
2457
+ get: function () {
2458
+ return getDisplayDetails;
2459
+ }
2460
+ });
2461
+ Object.defineProperty(exports, 'getDisplayName', {
2462
+ enumerable: true,
2463
+ get: function () {
2464
+ return getDisplayName;
2465
+ }
2466
+ });
2467
+ Object.defineProperty(exports, 'getHeaderTitle', {
2468
+ enumerable: true,
2469
+ get: function () {
2470
+ return getHeaderTitle;
2471
+ }
2472
+ });
2473
+ Object.defineProperty(exports, 'getIconFromName', {
2474
+ enumerable: true,
2475
+ get: function () {
2476
+ return getIconFromName;
2477
+ }
2478
+ });
2479
+ Object.defineProperty(exports, 'getLazyLoadChildrenArr', {
2480
+ enumerable: true,
2481
+ get: function () {
2482
+ return getLazyLoadChildrenArr;
2483
+ }
2484
+ });
2485
+ Object.defineProperty(exports, 'getNodeIdForRightBorder', {
2486
+ enumerable: true,
2487
+ get: function () {
2488
+ return getNodeIdForRightBorder;
2489
+ }
2490
+ });
2491
+ Object.defineProperty(exports, 'getOrderedDynamicGroups', {
2492
+ enumerable: true,
2493
+ get: function () {
2494
+ return getOrderedDynamicGroups;
2495
+ }
2496
+ });
2497
+ Object.defineProperty(exports, 'getPropertyMappingList', {
2498
+ enumerable: true,
2499
+ get: function () {
2500
+ return getPropertyMappingList;
2501
+ }
2502
+ });
2503
+ Object.defineProperty(exports, 'getPropertyMappingObj', {
2504
+ enumerable: true,
2505
+ get: function () {
2506
+ return getPropertyMappingObj;
2507
+ }
2508
+ });
2509
+ Object.defineProperty(exports, 'getSearchValueString', {
2510
+ enumerable: true,
2511
+ get: function () {
2512
+ return getSearchValueString;
2513
+ }
2514
+ });
2515
+ Object.defineProperty(exports, 'getUnityIconFromName', {
2516
+ enumerable: true,
2517
+ get: function () {
2518
+ return getUnityIconFromName;
2519
+ }
2520
+ });
2521
+ Object.defineProperty(exports, 'makeDynamicGroupStructures', {
2522
+ enumerable: true,
2523
+ get: function () {
2524
+ return makeDynamicGroupStructures;
2525
+ }
2526
+ });
2527
+ Object.defineProperty(exports, 'makeDynamicTreeStructure', {
2528
+ enumerable: true,
2529
+ get: function () {
2530
+ return makeDynamicTreeStructure;
2531
+ }
2532
+ });
2533
+ Object.defineProperty(exports, 'makeTreeStaticGroupStructure', {
2534
+ enumerable: true,
2535
+ get: function () {
2536
+ return makeTreeStaticGroupStructure;
2537
+ }
2538
+ });
2539
+ Object.defineProperty(exports, 'makeTreeStructure', {
2540
+ enumerable: true,
2541
+ get: function () {
2542
+ return makeTreeStructure;
2543
+ }
2544
+ });
2545
+ Object.defineProperty(exports, 'mapNodeGroupChildren', {
2546
+ enumerable: true,
2547
+ get: function () {
2548
+ return mapNodeGroupChildren;
2549
+ }
2550
+ });
2551
+ Object.defineProperty(exports, 'mapNodeObjValuesToSearchParameters', {
2552
+ enumerable: true,
2553
+ get: function () {
2554
+ return mapNodeObjValuesToSearchParameters;
2555
+ }
2556
+ });
2557
+ Object.defineProperty(exports, 'mapRule', {
2558
+ enumerable: true,
2559
+ get: function () {
2560
+ return mapRule;
2561
+ }
2562
+ });
2563
+ Object.defineProperty(exports, 'mapRuleData', {
2564
+ enumerable: true,
2565
+ get: function () {
2566
+ return mapRuleData;
2567
+ }
2568
+ });
2569
+ Object.defineProperty(exports, 'processCatalogObjectKeysInOrder', {
2570
+ enumerable: true,
2571
+ get: function () {
2572
+ return processCatalogObjectKeysInOrder;
2573
+ }
2574
+ });
2575
+ Object.defineProperty(exports, 'processItemForDynamicNodeGroups', {
2576
+ enumerable: true,
2577
+ get: function () {
2578
+ return processItemForDynamicNodeGroups;
2579
+ }
2580
+ });
2581
+ Object.defineProperty(exports, 'processItemForStaticNodeGroup', {
2582
+ enumerable: true,
2583
+ get: function () {
2584
+ return processItemForStaticNodeGroup;
2585
+ }
2586
+ });
2587
+ Object.defineProperty(exports, 'processObjIndex', {
2588
+ enumerable: true,
2589
+ get: function () {
2590
+ return processObjIndex;
2591
+ }
2592
+ });
2593
+ Object.defineProperty(exports, 'processObjectToTree', {
2594
+ enumerable: true,
2595
+ get: function () {
2596
+ return processObjectToTree;
2597
+ }
2598
+ });
2599
+ Object.defineProperty(exports, 'processOrderedTreeData', {
2600
+ enumerable: true,
2601
+ get: function () {
2602
+ return processOrderedTreeData;
2603
+ }
2604
+ });
2605
+ Object.defineProperty(exports, 'processReferences', {
2606
+ enumerable: true,
2607
+ get: function () {
2608
+ return processReferences;
2609
+ }
2610
+ });
2611
+ Object.defineProperty(exports, 'require_defineProperty', {
2612
+ enumerable: true,
2613
+ get: function () {
2614
+ return require_defineProperty;
2615
+ }
2616
+ });
2617
+ Object.defineProperty(exports, 'searchForMatchingNode', {
2618
+ enumerable: true,
2619
+ get: function () {
2620
+ return searchForMatchingNode;
2621
+ }
2622
+ });
2623
+ Object.defineProperty(exports, 'searchTree', {
2624
+ enumerable: true,
2625
+ get: function () {
2626
+ return searchTree;
2627
+ }
2628
+ });
2629
+ Object.defineProperty(exports, 'transformMenuPageTree', {
2630
+ enumerable: true,
2631
+ get: function () {
2632
+ return transformMenuPageTree;
2633
+ }
2634
+ });
2635
+ Object.defineProperty(exports, 'unityIcons', {
2636
+ enumerable: true,
2637
+ get: function () {
2638
+ return unityIcons;
2639
+ }
2640
+ });
2641
+ Object.defineProperty(exports, 'updateTreeIds', {
2642
+ enumerable: true,
2643
+ get: function () {
2644
+ return updateTreeIds;
2645
+ }
2646
+ });
2647
+ //# sourceMappingURL=UtilitySideBar-CoLVUjcV.cjs.map