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,4151 @@
1
+ const require_chunk = require('./chunk-CsX-DzYB.cjs');
2
+ const require_SideSheet = require('./SideSheet-XOQ0yjmY.cjs');
3
+ const require_EnvironmentRibbon = require('./EnvironmentRibbon-C5I-zJ7u.cjs');
4
+ const require_apiHelpers = require('./apiHelpers-TkqtXraB.cjs');
5
+ const react = require_chunk.__toESM(require("react"));
6
+ const __material_ui_core = require_chunk.__toESM(require("@material-ui/core"));
7
+ const react_jsx_runtime = require_chunk.__toESM(require("react/jsx-runtime"));
8
+ const udp_react_stencil_component_library = require_chunk.__toESM(require("udp-react-stencil-component-library"));
9
+ const notistack = require_chunk.__toESM(require("notistack"));
10
+ const react_router_dom = require_chunk.__toESM(require("react-router-dom"));
11
+ const clsx = require_chunk.__toESM(require("clsx"));
12
+ const __fluentui_react_icons = require_chunk.__toESM(require("@fluentui/react-icons"));
13
+ const prop_types = require_chunk.__toESM(require("prop-types"));
14
+ const react_i18next = require_chunk.__toESM(require("react-i18next"));
15
+ const zustand = require_chunk.__toESM(require("zustand"));
16
+ const zustand_middleware = require_chunk.__toESM(require("zustand/middleware"));
17
+ const __material_ui_core_styles = require_chunk.__toESM(require("@material-ui/core/styles"));
18
+ const __material_ui_lab = require_chunk.__toESM(require("@material-ui/lab"));
19
+ require("./style.css");
20
+ const __material_ui_lab_ToggleButton = require_chunk.__toESM(require("@material-ui/lab/ToggleButton"));
21
+ const react_is = require_chunk.__toESM(require("react-is"));
22
+ const __material_ui_core_utils = require_chunk.__toESM(require("@material-ui/core/utils"));
23
+ const __ag_grid_enterprise_server_side_row_model = require_chunk.__toESM(require("@ag-grid-enterprise/server-side-row-model"));
24
+ const invariant = require_chunk.__toESM(require("invariant"));
25
+ const __ag_grid_enterprise_all_modules = require_chunk.__toESM(require("@ag-grid-enterprise/all-modules"));
26
+ require("@ag-grid-enterprise/all-modules/dist/styles/ag-grid.css");
27
+ require("@ag-grid-enterprise/all-modules/dist/styles/ag-theme-material.css");
28
+ require("./utilities/aggrid/ag-grid-styles.scss");
29
+ const __ag_grid_community_react = require_chunk.__toESM(require("@ag-grid-community/react"));
30
+ const __ag_grid_enterprise_excel_export = require_chunk.__toESM(require("@ag-grid-enterprise/excel-export"));
31
+ const material_ui_popup_state_hooks = require_chunk.__toESM(require("material-ui-popup-state/hooks"));
32
+ const __material_ui_icons = require_chunk.__toESM(require("@material-ui/icons"));
33
+ const __ag_grid_enterprise_core = require_chunk.__toESM(require("@ag-grid-enterprise/core"));
34
+ const __material_ui_core_Chip = require_chunk.__toESM(require("@material-ui/core/Chip"));
35
+ const __material_ui_core_Divider = require_chunk.__toESM(require("@material-ui/core/Divider"));
36
+ const __material_ui_core_Tooltip = require_chunk.__toESM(require("@material-ui/core/Tooltip"));
37
+ const __material_ui_core_Typography = require_chunk.__toESM(require("@material-ui/core/Typography"));
38
+ const __material_ui_icons_Star = require_chunk.__toESM(require("@material-ui/icons/Star"));
39
+
40
+ //#region src/AGLicense.js
41
+ const LicenseKey = "Using_this_{AG_Grid}_Enterprise_key_{AG-060880}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Univerus_Software_Inc}_is_granted_a_{Single_Application}_Developer_License_for_the_application_{MAIS_eRec}_only_for_{1}_Front-End_JavaScript_developer___All_Front-End_JavaScript_developers_working_on_{MAIS_eRec}_need_to_be_licensed___{MAIS_eRec}_has_not_been_granted_a_Deployment_License_Add-on___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{28_June_2025}____[v3]_[01]_MTc1MTA2NTIwMDAwMA==17ac166e7bb5dcca7f3eaa21c79da63b";
42
+
43
+ //#endregion
44
+ //#region src/utilities/maintenanceEngine/CrudBrowserUtilities.js
45
+ const RESERVED_PATH_PARAMETERS = ["version", "udp-api-version"];
46
+ const getPrimaryKeyValues = (properties, entityValue) => {
47
+ const primaryKeyProperties = properties.filter((property) => property?.extendedProperties?.identifier);
48
+ const primaryKeyValues = primaryKeyProperties.reduce((keyValues, property) => {
49
+ if (entityValue && entityValue[property["name"]] !== null) keyValues.push(entityValue[property["name"]]);
50
+ return keyValues;
51
+ }, []);
52
+ return primaryKeyValues;
53
+ };
54
+ const getPathObject = (pathParameters, primaryKeyValues) => {
55
+ const primaryKeyParameters = pathParameters.filter((parameter) => parameter.name !== RESERVED_PATH_PARAMETERS);
56
+ const pathObject = {};
57
+ if (primaryKeyParameters.length && primaryKeyValues.length) primaryKeyParameters.forEach((pkp, index) => {
58
+ pathObject[`{${pkp.name}}`] = primaryKeyValues[index];
59
+ });
60
+ return pathObject;
61
+ };
62
+ const findTermByType = (fieldType, term) => {
63
+ if (fieldType.toLowerCase() === term) return fieldType.toLowerCase();
64
+ else return "";
65
+ };
66
+ const getModelProperties = (model, componentsObj) => {
67
+ let modelPropertiesObj = null;
68
+ if (model) {
69
+ modelPropertiesObj = model.properties;
70
+ if (!modelPropertiesObj) {
71
+ const refKeys = [];
72
+ if (model["allOf"]?.length) model["allOf"].forEach((reference) => {
73
+ if (reference["$ref"]) {
74
+ const refString = reference["$ref"];
75
+ if (refString) {
76
+ const lastIndex = refString.lastIndexOf("/");
77
+ const referenceModel = refString.substring(lastIndex + 1);
78
+ refKeys.push(referenceModel);
79
+ }
80
+ }
81
+ });
82
+ refKeys.forEach((key) => {
83
+ const abstractModel = componentsObj[key];
84
+ if (modelPropertiesObj && abstractModel?.properties) modelPropertiesObj = {
85
+ ...modelPropertiesObj,
86
+ ...abstractModel.properties
87
+ };
88
+ else modelPropertiesObj = abstractModel?.properties;
89
+ });
90
+ }
91
+ }
92
+ return modelPropertiesObj;
93
+ };
94
+ const getEntityAttributes = (catalog, entityName) => {
95
+ if (!catalog) return [];
96
+ const catalogObjectList = catalog?.ctlg?.catalogObjectList;
97
+ const componentsObj = catalog?.ctlg?.components;
98
+ const entity = catalogObjectList?.find((catalogObject) => catalogObject.catalogObjectName === entityName);
99
+ if (!!componentsObj && Object.keys(componentsObj).length) {
100
+ const model = componentsObj[entityName];
101
+ let modelPropertiesObj = getModelProperties(model, componentsObj);
102
+ if (entity?.properties?.length) entity.properties.forEach((property) => {
103
+ let nullable = true;
104
+ if (modelPropertiesObj) {
105
+ const modelProperty = modelPropertiesObj[property["name"]];
106
+ if (modelProperty) nullable = modelProperty.nullable || false;
107
+ }
108
+ property["nullable"] = nullable;
109
+ });
110
+ }
111
+ return entity ? entity.properties : [];
112
+ };
113
+ const getPathParametersObj = (pathParametersDefinition, entityData) => {
114
+ if (!pathParametersDefinition || !entityData) return {};
115
+ const pathParametersObj = {};
116
+ for (let param of pathParametersDefinition) pathParametersObj[param.name] = entityData[param.name];
117
+ return pathParametersObj;
118
+ };
119
+
120
+ //#endregion
121
+ //#region src/utilities/entities/entityUtilities.js
122
+ const getCommonEntityName = (entityName) => {
123
+ if (!entityName) return entityName;
124
+ return require_EnvironmentRibbon.toTitleCase(getSanitizedName(entityName));
125
+ };
126
+ const getSanitizedName = (entityName) => {
127
+ if (!entityName) return "";
128
+ const entityNameParts = entityName.split(".");
129
+ return entityNameParts[entityNameParts.length - 1];
130
+ };
131
+ const getFullyQualifiedName = (udpObjectInfo) => {
132
+ if (!udpObjectInfo) return "";
133
+ const modelNameSpace = udpObjectInfo.namespaceStructure?.model;
134
+ if (modelNameSpace) return `${modelNameSpace}.Models.${udpObjectInfo.sanitizedName}`;
135
+ else return "";
136
+ };
137
+
138
+ //#endregion
139
+ //#region src/contexts/ActionDispatchContext.js
140
+ const ActionDispatchContext = (0, react.createContext)(null);
141
+
142
+ //#endregion
143
+ //#region src/contexts/ActionContext.js
144
+ const ActionContext = (0, react.createContext)(null);
145
+
146
+ //#endregion
147
+ //#region src/UI/SuccessAction.jsx
148
+ const getSuccessAction = (closeSnackbar) => {
149
+ const successAction = (key) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
150
+ color: "secondary",
151
+ size: "small",
152
+ onClick: () => {
153
+ closeSnackbar(key);
154
+ },
155
+ children: "OK"
156
+ });
157
+ return successAction;
158
+ };
159
+
160
+ //#endregion
161
+ //#region src/stores/actionStore.ts
162
+ const useActionStore = (0, zustand.create)()((0, zustand_middleware.devtools)((set) => ({
163
+ selectedNode: null,
164
+ setSelectedNode: (selectedNode) => set((state) => ({ selectedNode })),
165
+ hideActions: false,
166
+ setHideActions: (hideActions) => set((state) => ({ hideActions }))
167
+ })));
168
+
169
+ //#endregion
170
+ //#region src/stores/inquiryStore.ts
171
+ const useInquiryStore = (0, zustand.create)()((0, zustand_middleware.devtools)((set) => ({
172
+ title: "",
173
+ setInquiryToolbarTitle: (title) => set((state) => ({ title })),
174
+ workflowMap: {},
175
+ setWorkflowMap: (workflowMap) => set((state) => ({ workflowMap: {
176
+ ...state.workflowMap,
177
+ ...workflowMap
178
+ } })),
179
+ workflowStarting: false,
180
+ setWorkflowStarting: (workflowStarting) => set((state) => ({ workflowStarting }))
181
+ })));
182
+
183
+ //#endregion
184
+ //#region src/actions/utils/actionUtils.js
185
+ function isValidURL(url) {
186
+ const urlPattern = /^(ftp|http|https):\/\/[^ "]+$/;
187
+ return urlPattern.test(url);
188
+ }
189
+ const useHandleAction = () => {
190
+ const history = (0, react_router_dom.useHistory)();
191
+ const { t } = (0, react_i18next.useTranslation)();
192
+ const { enqueueSnackbar, closeSnackbar } = (0, notistack.useSnackbar)();
193
+ const successAction = getSuccessAction(closeSnackbar);
194
+ const selectedNode = useActionStore((state) => state.selectedNode);
195
+ const setWorkflowMap = useInquiryStore((state) => state.setWorkflowMap);
196
+ const setWorkflowStarting = useInquiryStore((state) => state.setWorkflowStarting);
197
+ const executeStartWorkflow = async (workflowId, payload) => require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.config.BUILDER_API_BASE, `workflow/${workflowId}/start`, { method: "post" }, { data: payload });
198
+ const getApiMethod = async (apiMethodId) => require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.config.INTEGRATION_API_BASE, `apimethod/${apiMethodId}`, { method: "get" });
199
+ const handleAction = async (dispatch, action, state, executeAction, apiCatalogId, entityAttributes, actionData, currentContainerId) => {
200
+ if (!action) return;
201
+ const actionName = action.name;
202
+ let actionValue = action.value;
203
+ if (action?.parameters?.entityName) actionValue += "?entityName=" + action.parameters.entityName + "&apiCatalogId=" + apiCatalogId;
204
+ switch (action.actionTypeId) {
205
+ case require_EnvironmentRibbon.NodeActionEnums.Open_External_Link:
206
+ window.open(actionValue, "_blank");
207
+ break;
208
+ case require_EnvironmentRibbon.NodeActionEnums.Redirect:
209
+ if (isValidURL(actionValue)) window.location.href = actionValue;
210
+ else history.push(actionValue);
211
+ break;
212
+ case require_EnvironmentRibbon.NodeActionEnums.Create:
213
+ if (dispatch) dispatch({
214
+ type: "OPEN_SIDESHEET",
215
+ sideSheet: {
216
+ action,
217
+ open: true
218
+ }
219
+ });
220
+ break;
221
+ case require_EnvironmentRibbon.NodeActionEnums.Update:
222
+ if (dispatch) dispatch({
223
+ type: "OPEN_SIDESHEET",
224
+ sideSheet: {
225
+ action,
226
+ open: true
227
+ }
228
+ });
229
+ break;
230
+ case require_EnvironmentRibbon.NodeActionEnums.Delete:
231
+ if (dispatch) dispatch({
232
+ type: "OPEN_MODAL",
233
+ modal: {
234
+ action,
235
+ open: true,
236
+ title: "Delete "
237
+ }
238
+ });
239
+ break;
240
+ case require_EnvironmentRibbon.NodeActionEnums.Retrieve:
241
+ if (dispatch) if (currentContainerId) break;
242
+ else dispatch({
243
+ type: "OPEN_SPLIT_SCREEN",
244
+ splitScreen: {
245
+ action,
246
+ open: true,
247
+ type: require_EnvironmentRibbon.SplitScreenTypeEnums.Entity
248
+ }
249
+ });
250
+ break;
251
+ case require_EnvironmentRibbon.NodeActionEnums.Open_Page_Split_Screen:
252
+ if (dispatch) if (!!selectedNode) dispatch({
253
+ type: "OPEN_PAGE_CONTAINER_SPLIT_SCREEN",
254
+ pageContainerSplitScreen: {
255
+ action,
256
+ open: true,
257
+ type: require_EnvironmentRibbon.SplitScreenTypeEnums.Page
258
+ }
259
+ });
260
+ else dispatch({
261
+ type: "OPEN_PAGE_SPLIT_SCREEN",
262
+ pageSplitScreen: {
263
+ action,
264
+ open: true,
265
+ type: require_EnvironmentRibbon.SplitScreenTypeEnums.Page
266
+ }
267
+ });
268
+ break;
269
+ case require_EnvironmentRibbon.NodeActionEnums.Open_Shell_Split_Screen:
270
+ if (dispatch) if (currentContainerId) break;
271
+ else dispatch({
272
+ type: "OPEN_SPLIT_SCREEN",
273
+ splitScreen: {
274
+ action,
275
+ open: true,
276
+ type: require_EnvironmentRibbon.SplitScreenTypeEnums.Page
277
+ }
278
+ });
279
+ break;
280
+ case require_EnvironmentRibbon.NodeActionEnums.Open_Notes:
281
+ if (dispatch) if (currentContainerId) break;
282
+ else dispatch({
283
+ type: "OPEN_SPLIT_SCREEN",
284
+ splitScreen: {
285
+ action,
286
+ open: true,
287
+ type: require_EnvironmentRibbon.SplitScreenTypeEnums.Notes
288
+ }
289
+ });
290
+ break;
291
+ case require_EnvironmentRibbon.NodeActionEnums.Open_Reminders:
292
+ if (dispatch) if (currentContainerId) break;
293
+ else dispatch({
294
+ type: "OPEN_SPLIT_SCREEN",
295
+ splitScreen: {
296
+ action,
297
+ open: true,
298
+ type: require_EnvironmentRibbon.SplitScreenTypeEnums.Reminders
299
+ }
300
+ });
301
+ break;
302
+ case require_EnvironmentRibbon.NodeActionEnums.Execute_Api:
303
+ if (executeAction && action?.value) {
304
+ let data = {};
305
+ if (entityAttributes.length > 0 && (selectedNode?.nodeObj || actionData)) {
306
+ if (actionData) data = { ...actionData };
307
+ else data = { ...selectedNode?.nodeObj };
308
+ const removeAttributes = entityAttributes.filter((p) => p?.extendedProperties?.childEntity);
309
+ removeAttributes.forEach((att) => {
310
+ if (att["name"] in data || "serializeFields" in data) delete data[att["name"]];
311
+ });
312
+ }
313
+ const apiMethod = await getApiMethod(action?.value);
314
+ const pathParamValues = getPathParametersObj(apiMethod?.data?.pathParametersDefinition, data);
315
+ executeAction({ data: {
316
+ requestBody: data,
317
+ ...pathParamValues
318
+ } }, action.value).then((res) => {
319
+ enqueueSnackbar(t(`${action?.name} api has been executed successfully.`), {
320
+ anchorOrigin: {
321
+ vertical: "top",
322
+ horizontal: "center"
323
+ },
324
+ action: successAction
325
+ });
326
+ }).catch((res) => {
327
+ enqueueSnackbar(res.message, {
328
+ variant: "error",
329
+ anchorOrigin: {
330
+ vertical: "top",
331
+ horizontal: "center"
332
+ }
333
+ });
334
+ });
335
+ } else enqueueSnackbar(t(`Unable to execute ${actionName} action.`), {
336
+ variant: "error",
337
+ anchorOrigin: {
338
+ vertical: "top",
339
+ horizontal: "center"
340
+ }
341
+ });
342
+ break;
343
+ case require_EnvironmentRibbon.NodeActionEnums.Start_Workflow:
344
+ setWorkflowStarting(true);
345
+ const response = await executeStartWorkflow(actionValue, actionData || {}).catch((e) => {
346
+ enqueueSnackbar(t(`Unable to Start Workflow`), {
347
+ variant: "error",
348
+ anchorOrigin: {
349
+ vertical: "top",
350
+ horizontal: "center"
351
+ }
352
+ });
353
+ });
354
+ setWorkflowStarting(false);
355
+ if (response.status === 200) {
356
+ const playId = response.data;
357
+ if (selectedNode) {
358
+ const workflow = {
359
+ inWorkflowMode: true,
360
+ currentWorkflowPlayId: playId
361
+ };
362
+ const containerId = currentContainerId || 0;
363
+ setWorkflowMap({ [containerId]: workflow });
364
+ } else history.push({
365
+ pathname: `/workflowtask/${playId}?taskId=`,
366
+ state: { label: t("Workflow") }
367
+ });
368
+ }
369
+ break;
370
+ case require_EnvironmentRibbon.NodeActionEnums.Execute_Function:
371
+ actionData?.execute && actionData.execute();
372
+ break;
373
+ default: break;
374
+ }
375
+ };
376
+ return { handleAction };
377
+ };
378
+
379
+ //#endregion
380
+ //#region src/contexts/ActionLoadingDispatchContext.js
381
+ const ActionLoadingDispatchContext = (0, react.createContext)(null);
382
+
383
+ //#endregion
384
+ //#region src/stores/catalogStore.ts
385
+ const useCatalogStore = (0, zustand.create)()((0, zustand_middleware.devtools)((set) => ({
386
+ currentApiCatalogId: "",
387
+ setCurrentApiCatalogId: (apiCatalogId) => {
388
+ sessionStorage.setItem("current-api-catalog-id", apiCatalogId);
389
+ set((state) => ({ currentApiCatalogId: apiCatalogId }));
390
+ },
391
+ catalogsMap: {},
392
+ setCatalogsMap: (catalogsMap) => set((state) => ({ catalogsMap: {
393
+ ...state.catalogsMap,
394
+ ...catalogsMap
395
+ } })),
396
+ promotedEntityMap: {},
397
+ setPromotedEntityMap: (promotedEntityMap) => set((state) => ({ promotedEntityMap: {
398
+ ...state.promotedEntityMap,
399
+ ...promotedEntityMap
400
+ } }))
401
+ })));
402
+
403
+ //#endregion
404
+ //#region src/hooks/useActions.js
405
+ const useActions = () => {
406
+ const dispatch = (0, react.useContext)(ActionDispatchContext);
407
+ const dispatchActionLoading = (0, react.useContext)(ActionLoadingDispatchContext);
408
+ const actionState = useActionState();
409
+ const { catalogsMap, currentApiCatalogId } = useCatalogStore();
410
+ const currentContainerId = require_EnvironmentRibbon.useShellStore((state) => state.currentContainerId);
411
+ const { enqueueSnackbar } = (0, notistack.useSnackbar)();
412
+ const { t } = (0, react_i18next.useTranslation)();
413
+ const { handleAction } = useHandleAction();
414
+ const setActionLoading = (0, react.useCallback)((loading) => {
415
+ dispatchActionLoading({
416
+ type: "SET_ACTION_LOADING",
417
+ loading
418
+ });
419
+ }, [dispatchActionLoading]);
420
+ const setActionWaitingToExecute = (0, react.useCallback)((actionId) => {
421
+ dispatchActionLoading({
422
+ type: "SET_ACTION_WAITING_TO_EXECUTE",
423
+ actionId
424
+ });
425
+ }, [dispatchActionLoading]);
426
+ const executeGetAction = (0, react.useCallback)(async (actionId) => require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.integrationV1ApiUrl, `action/${actionId}`, { method: "get" }, {}), []);
427
+ const executeAction = (0, react.useCallback)(async (data, id) => require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.integrationV1ApiUrl, `apimethod/executeQueryWithParameters/${id}`, { method: "post" }, data), []);
428
+ const setActionPanels = (0, react.useCallback)((actionPanels, containerId) => {
429
+ dispatch({
430
+ type: "SET_ACTION_PANELS",
431
+ actionPanels,
432
+ containerId
433
+ });
434
+ }, [dispatch]);
435
+ const getActionPanelByAction = (0, react.useCallback)((act) => {
436
+ if (act && actionState) {
437
+ const actionPanels = actionState.actionPanels;
438
+ const containerId = currentContainerId || 0;
439
+ if (actionPanels && Array.isArray(actionPanels) && actionPanels[containerId]) {
440
+ const actionPanel = actionPanels[containerId];
441
+ if (Array.isArray(actionPanel.panelActions)) {
442
+ const foundPanel = actionPanel.find((ap) => {
443
+ return ap.panelActions.find((pa) => {
444
+ return pa.actionId === act.actionId;
445
+ });
446
+ });
447
+ return foundPanel;
448
+ } else console.error("panelActions is not an array:", actionPanel.panelActions);
449
+ } else console.error("actionPanels is not valid:", actionPanels);
450
+ } else console.error("act or actionState is not defined:", act, actionState);
451
+ return null;
452
+ }, [actionState, currentContainerId]);
453
+ const setupAndExecuteAction = (0, react.useCallback)(async (catalog, actionId, actionData) => {
454
+ await executeGetAction(actionId).then((resp) => {
455
+ const panel = getActionPanelByAction(resp.data);
456
+ let entityName = panel?.entityName;
457
+ if (!panel) entityName = resp?.data?.parameters?.entityName;
458
+ if (entityName) {
459
+ actionState?.setCurrentEntityName && actionState.setCurrentEntityName(entityName);
460
+ const eAttributes = getEntityAttributes(catalog, entityName);
461
+ if (!eAttributes?.length && resp.data.actionTypeId !== require_EnvironmentRibbon.NodeActionEnums.Start_Workflow) enqueueSnackbar(t(`Unable to retrieve entity attributes.`), {
462
+ variant: "error",
463
+ anchorOrigin: {
464
+ vertical: "top",
465
+ horizontal: "center"
466
+ }
467
+ });
468
+ else handleAction(dispatch, resp.data, actionState, executeAction, catalog?.apiCatalogId, eAttributes, actionData, currentContainerId);
469
+ } else {
470
+ console.warn("Entity name does not exist");
471
+ handleAction(dispatch, resp.data, actionState, executeAction, catalog?.apiCatalogId, {}, actionData, currentContainerId);
472
+ }
473
+ });
474
+ }, [
475
+ actionState,
476
+ enqueueSnackbar,
477
+ executeAction,
478
+ executeGetAction,
479
+ getActionPanelByAction,
480
+ handleAction,
481
+ t,
482
+ dispatch,
483
+ currentContainerId
484
+ ]);
485
+ const executeTriggerAction = (0, react.useCallback)(async (actionId, actionData) => {
486
+ if (actionState?.catalogPromise) {
487
+ if (!actionState?.catalog) setActionWaitingToExecute(actionId);
488
+ try {
489
+ const result = await actionState.catalogPromise;
490
+ setupAndExecuteAction(result?.data || catalogsMap[currentApiCatalogId], actionId, actionData);
491
+ } catch (error) {
492
+ enqueueSnackbar(t(`Unable to retrieve catalog data.`), {
493
+ variant: "error",
494
+ anchorOrigin: {
495
+ vertical: "top",
496
+ horizontal: "center"
497
+ }
498
+ });
499
+ }
500
+ }
501
+ setActionWaitingToExecute("");
502
+ }, [
503
+ setupAndExecuteAction,
504
+ enqueueSnackbar,
505
+ t,
506
+ actionState,
507
+ setActionWaitingToExecute,
508
+ catalogsMap,
509
+ currentApiCatalogId
510
+ ]);
511
+ const triggerAction = (0, react.useCallback)((actionId, actionData) => {
512
+ executeTriggerAction(actionId, actionData);
513
+ }, [executeTriggerAction]);
514
+ const triggerMultipleActions = (0, react.useCallback)((actionIds) => {
515
+ actionIds.forEach((id) => {
516
+ executeTriggerAction(id);
517
+ });
518
+ }, [executeTriggerAction]);
519
+ const setCatalogEntities = (0, react.useCallback)((catalogEntities) => {
520
+ dispatch({
521
+ type: "SET_CATALOG_ENTITIES",
522
+ catalogEntities
523
+ });
524
+ }, [dispatch]);
525
+ const setCatalogPromotedEntities = (0, react.useCallback)((catalogPromotedEntities) => {
526
+ dispatch({
527
+ type: "SET_CATALOG_PROMOTED_ENTITIES",
528
+ catalogPromotedEntities
529
+ });
530
+ }, [dispatch]);
531
+ const setInquiryParams = (0, react.useCallback)((inquiryParams, containerId) => {
532
+ dispatch({
533
+ type: "SET_INQUIRY_PARAMS",
534
+ inquiryParams,
535
+ containerId
536
+ });
537
+ }, [dispatch]);
538
+ const setShowInquiryHeaderActions = (0, react.useCallback)((showInquiryHeaderActions) => {
539
+ dispatch({
540
+ type: "SET_SHOW_INQUIRY_HEADER_ACTIONS",
541
+ showInquiryHeaderActions
542
+ });
543
+ }, [dispatch]);
544
+ const setMenuListState = (0, react.useCallback)((menuListState) => {
545
+ dispatch({
546
+ type: "SET_MENU_LIST_STATE",
547
+ menuListState
548
+ });
549
+ }, [dispatch]);
550
+ const closeAllSplitScreens = (0, react.useCallback)(() => {
551
+ dispatch({ type: "CLOSE_ALL_SPLIT_SCREENS" });
552
+ }, [dispatch]);
553
+ const openSplitScreen = (0, react.useCallback)((splitScreen) => {
554
+ dispatch({
555
+ type: "OPEN_SPLIT_SCREEN",
556
+ splitScreen
557
+ });
558
+ }, [dispatch]);
559
+ const openPageSplitScreen = (0, react.useCallback)((pageSplitScreen) => {
560
+ dispatch({
561
+ type: "OPEN_PAGE_SPLIT_SCREEN",
562
+ pageSplitScreen
563
+ });
564
+ }, [dispatch]);
565
+ const openPageContainerSplitScreen = (0, react.useCallback)((pageContainerSplitScreen) => {
566
+ dispatch({
567
+ type: "OPEN_PAGE_CONTAINER_SPLIT_SCREEN",
568
+ pageContainerSplitScreen
569
+ });
570
+ }, [dispatch]);
571
+ const setApiCatalog = (0, react.useCallback)((catalog) => {
572
+ dispatch({
573
+ type: "SET_API_CATALOG",
574
+ catalog
575
+ });
576
+ }, [dispatch]);
577
+ return {
578
+ setActionPanels,
579
+ triggerAction,
580
+ triggerMultipleActions,
581
+ setCatalogEntities,
582
+ setCatalogPromotedEntities,
583
+ setInquiryParams,
584
+ setShowInquiryHeaderActions,
585
+ setMenuListState,
586
+ closeAllSplitScreens,
587
+ openSplitScreen,
588
+ openPageSplitScreen,
589
+ openPageContainerSplitScreen,
590
+ setApiCatalog,
591
+ setActionLoading
592
+ };
593
+ };
594
+ const useActionState = () => (0, react.useContext)(ActionContext);
595
+
596
+ //#endregion
597
+ //#region src/UI/inputs/textField/AmbientTextField.jsx
598
+ const useStyles$21 = (0, __material_ui_core.makeStyles)((theme) => ({
599
+ input: {
600
+ borderRadius: 2,
601
+ height: (props) => !props.multiline && !Array.isArray(props.value) && 32,
602
+ padding: (props) => !props.multiline && 0,
603
+ paddingBottom: 10,
604
+ marginTop: 3,
605
+ "& .MuiFilledInput-inputMarginDense": { paddingTop: 8 },
606
+ "& .MuiInputAdornment-filled.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel)": {
607
+ marginTop: theme.spacing(.5),
608
+ marginLeft: theme.spacing(1)
609
+ }
610
+ },
611
+ formTextInput: { fontSize: 14 },
612
+ labelRoot: { fontSize: 14 },
613
+ FormControl: {
614
+ display: "none",
615
+ marginTop: 0
616
+ },
617
+ root: {
618
+ width: "100%",
619
+ marginTop: 25,
620
+ "& .MuiFormLabel-root": {
621
+ marginTop: -30,
622
+ marginLeft: -11
623
+ },
624
+ "& .MuiInputAdornment-root": { paddingLeft: theme.spacing(1) }
625
+ },
626
+ noLabel: { marginTop: theme.spacing(1) }
627
+ }));
628
+ const AmbientTextField = (props) => {
629
+ const classes = useStyles$21(props);
630
+ const { id, label, startAdornment, endAdornment, title = "noTitle",...InputProps } = props;
631
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
632
+ className: label ? classes.root : classes.noLabel,
633
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.TextField, {
634
+ ...InputProps,
635
+ id,
636
+ udprecordid: `udpRecord-FluentAmbientTextField-${title.replace(/\s/g, "")}-${props?.InputProps?.type}`,
637
+ variant: "filled",
638
+ size: "small",
639
+ margin: "dense",
640
+ label,
641
+ classes: { label: classes.label },
642
+ InputProps: {
643
+ classes: {
644
+ root: classes.input,
645
+ input: classes.formTextInput,
646
+ ...props.InputProps?.classes
647
+ },
648
+ ...props.InputProps,
649
+ ...startAdornment,
650
+ ...endAdornment
651
+ },
652
+ InputLabelProps: {
653
+ shrink: false,
654
+ classes: {
655
+ root: classes.labelRoot,
656
+ focused: classes.labelFocused
657
+ }
658
+ }
659
+ })
660
+ });
661
+ };
662
+ AmbientTextField.propTypes = {
663
+ id: prop_types.default.string,
664
+ label: prop_types.default.string,
665
+ startAdornment: prop_types.default.node,
666
+ endAdornment: prop_types.default.node
667
+ };
668
+
669
+ //#endregion
670
+ //#region src/utilities/style/utils/styleUtils.js
671
+ const getEllipseColor = (theme, color) => {
672
+ if (!theme) return "";
673
+ let ellipseColor = theme.palette.primary.main;
674
+ switch (color) {
675
+ case "action":
676
+ ellipseColor = theme.palette.systemIcon?.action?.main;
677
+ break;
678
+ case "sequence":
679
+ ellipseColor = theme.palette.systemIcon?.sequence?.main;
680
+ break;
681
+ case "trigger":
682
+ ellipseColor = theme.palette.systemIcon?.trigger?.main;
683
+ break;
684
+ case "condition":
685
+ ellipseColor = theme.palette.systemIcon?.condition?.main;
686
+ break;
687
+ case "primary":
688
+ ellipseColor = theme.palette.primary.main;
689
+ break;
690
+ case "secondary":
691
+ ellipseColor = theme.palette.secondary.main;
692
+ break;
693
+ case "info":
694
+ ellipseColor = theme.palette.info.main;
695
+ break;
696
+ case "warning":
697
+ ellipseColor = theme.palette.warning.main;
698
+ break;
699
+ case "error":
700
+ ellipseColor = theme.palette.error.main;
701
+ break;
702
+ case "success":
703
+ ellipseColor = theme.palette.success.main;
704
+ break;
705
+ default:
706
+ ellipseColor = theme.palette.secondary.main;
707
+ break;
708
+ }
709
+ return ellipseColor;
710
+ };
711
+ const getEllipseHintColor = (theme, color) => {
712
+ if (!theme) return "";
713
+ let ellipseHintColor = theme.palette.primary.main;
714
+ switch (color) {
715
+ case "action":
716
+ ellipseHintColor = theme.palette.systemIcon?.action?.hint;
717
+ break;
718
+ case "sequence":
719
+ ellipseHintColor = theme.palette.systemIcon?.sequence?.hint;
720
+ break;
721
+ case "trigger":
722
+ ellipseHintColor = theme.palette.systemIcon?.trigger?.hint;
723
+ break;
724
+ case "condition":
725
+ ellipseHintColor = theme.palette.systemIcon?.condition?.hint;
726
+ break;
727
+ case "primary":
728
+ ellipseHintColor = theme.palette.primary.hint;
729
+ break;
730
+ case "secondary":
731
+ ellipseHintColor = theme.palette.secondary.hint;
732
+ break;
733
+ case "info":
734
+ ellipseHintColor = theme.palette.unity?.info?.hint;
735
+ break;
736
+ case "warning":
737
+ ellipseHintColor = theme.palette.unity?.warning?.hint;
738
+ break;
739
+ case "error":
740
+ ellipseHintColor = theme.palette.unity?.error?.hint;
741
+ break;
742
+ case "success":
743
+ ellipseHintColor = theme.palette.unity?.success?.hint;
744
+ break;
745
+ default:
746
+ ellipseHintColor = theme.palette.common.white;
747
+ break;
748
+ }
749
+ return ellipseHintColor;
750
+ };
751
+
752
+ //#endregion
753
+ //#region src/UI/components/dataDisplay/Ellipse.jsx
754
+ const useStyles$20 = (0, __material_ui_core.makeStyles)((theme) => ({ root: {
755
+ display: "flex",
756
+ alignItems: "center",
757
+ justifyContent: "center",
758
+ width: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
759
+ height: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
760
+ borderRadius: 50,
761
+ border: (props) => props.variant === "filled" ? "none" : `2px solid`,
762
+ backgroundColor: (props) => props.variant === "filled" && getEllipseHintColor(theme, props.color),
763
+ borderColor: (props) => getEllipseColor(theme, props.color)
764
+ } }));
765
+ const Ellipse = (props) => {
766
+ const { children } = props;
767
+ const classes = useStyles$20(props);
768
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
769
+ className: classes.root,
770
+ children
771
+ });
772
+ };
773
+ Ellipse.propTypes = {
774
+ color: prop_types.default.string,
775
+ size: prop_types.default.string,
776
+ variant: prop_types.default.string
777
+ };
778
+
779
+ //#endregion
780
+ //#region src/UI/templates/ui/GridSidebarContainer.jsx
781
+ const useStyles$19 = (0, __material_ui_core.makeStyles)((theme) => ({
782
+ root: {},
783
+ groupWrapper: {
784
+ padding: theme.spacing(2),
785
+ height: (props) => props?.height ? `${props.height} !important` : "calc(100vh - 280px) !important",
786
+ overflow: "auto"
787
+ }
788
+ }));
789
+ const GridSidebarContainer = (props) => {
790
+ const { children, color } = props;
791
+ const classes = useStyles$19(props);
792
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
793
+ className: classes.root,
794
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Paper, {
795
+ elevation: "0",
796
+ square: true,
797
+ style: { background: color },
798
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
799
+ className: classes.groupWrapper,
800
+ children
801
+ })
802
+ })
803
+ });
804
+ };
805
+ GridSidebarContainer.propTypes = {
806
+ children: prop_types.default.node,
807
+ color: prop_types.default.string
808
+ };
809
+
810
+ //#endregion
811
+ //#region src/UI/inputs/buttons/AmbientTokenButton.jsx
812
+ const useStyles$18 = (0, __material_ui_core.makeStyles)((theme) => ({
813
+ root: {},
814
+ actionHeader: {
815
+ display: "flex",
816
+ flexDirection: "row"
817
+ },
818
+ icon: {
819
+ background: theme.palette.common.white,
820
+ padding: theme.spacing(1),
821
+ color: theme.palette.secondary.main
822
+ }
823
+ }));
824
+ const AmbientTokenButton = (0, react.forwardRef)(function AmbientTokenButton$1(props, ref) {
825
+ const { tooltip, ariaLabel, onClick, size, icon = __fluentui_react_icons.ChevronDownIcon, iconClassName, otherProps, id = "token-button", udprecordid } = props;
826
+ const classes = useStyles$18(props);
827
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
828
+ className: classes.root,
829
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tooltip, {
830
+ title: tooltip,
831
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.IconButton, {
832
+ id,
833
+ udprecordid,
834
+ ref,
835
+ "aria-label": ariaLabel,
836
+ className: iconClassName ?? classes.icon,
837
+ size: size ?? "small",
838
+ onClick,
839
+ ...otherProps,
840
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
841
+ className: classes.iconButtonStyle,
842
+ component: icon
843
+ })
844
+ })
845
+ })
846
+ });
847
+ });
848
+ AmbientTokenButton.propTypes = {
849
+ tooltip: prop_types.default.string.isRequired,
850
+ ariaLabel: prop_types.default.string.isRequired,
851
+ onClick: prop_types.default.func,
852
+ icon: prop_types.default.func.isRequired
853
+ };
854
+
855
+ //#endregion
856
+ //#region src/UI/templates/ui/GridGroupingHeader.jsx
857
+ const useStyles$17 = (0, __material_ui_core.makeStyles)((theme) => ({
858
+ root: {},
859
+ actionHeader: {
860
+ display: "flex",
861
+ flexDirection: "row",
862
+ gap: 10
863
+ },
864
+ icon: {
865
+ background: theme.palette.common.white,
866
+ padding: theme.spacing(1),
867
+ color: theme.palette.secondary.main
868
+ }
869
+ }));
870
+ const GridGroupingHeader = ({ expandClick, collapseClick }) => {
871
+ const classes = useStyles$17();
872
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
873
+ className: classes.root,
874
+ children: [
875
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
876
+ className: classes.actionHeader,
877
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
878
+ icon: __fluentui_react_icons.ChevronFold10Icon,
879
+ tooltip: "Collapse All",
880
+ ariaLabel: "Collapse All",
881
+ onClick: collapseClick
882
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
883
+ icon: __fluentui_react_icons.ChevronUnfold10Icon,
884
+ tooltip: "Expand All",
885
+ ariaLabel: "Expand All",
886
+ onClick: expandClick
887
+ })]
888
+ }),
889
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.LayoutUnit, { unit: "nudge" }),
890
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
891
+ className: classes.label,
892
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
893
+ variant: "caption",
894
+ children: "Group By:"
895
+ })
896
+ }),
897
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.LayoutUnit, { unit: "nudge" })
898
+ ]
899
+ });
900
+ };
901
+ GridGroupingHeader.propTypes = {
902
+ expandClick: prop_types.default.func.isRequired,
903
+ collapseClick: prop_types.default.func.isRequired
904
+ };
905
+
906
+ //#endregion
907
+ //#region src/UI/components/dataDisplay/Token.jsx
908
+ const useStyles$16 = (0, __material_ui_core.makeStyles)((theme) => ({
909
+ root: { margin: (props) => props.compact ? theme.spacing(.5) : theme.spacing(1) },
910
+ letter: {
911
+ fontSize: (props) => props.size === "small" ? theme.spacing(2.25) : theme.spacing(2.5),
912
+ color: (props) => getEllipseColor(theme, props.color)
913
+ },
914
+ buttonRoot: {
915
+ margin: theme.spacing(1),
916
+ width: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
917
+ height: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
918
+ background: (props) => props.variant === "filled" ? getEllipseHintColor(theme, props.color) : "",
919
+ border: (props) => props.variant === "outlined" ? `1px solid` : "none",
920
+ borderColor: (props) => props.variant === "outlined" ? getEllipseColor(theme, props.color) : ""
921
+ }
922
+ }));
923
+ const Token = (props) => {
924
+ const { type = "default", variant = "outlined", color = "default", size = "large", iconType, icon, letter = "A", IconEllipseProps, onClick } = props;
925
+ const classes = useStyles$16(props);
926
+ const theme = (0, __material_ui_core.useTheme)();
927
+ const iconColor = (0, react.useMemo)(() => {
928
+ return getEllipseColor(theme, color);
929
+ }, [color, theme]);
930
+ const tokenComponent = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
931
+ className: classes.root,
932
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Ellipse, {
933
+ variant,
934
+ size,
935
+ color,
936
+ ...IconEllipseProps,
937
+ children: type === "letter" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
938
+ variant: "body1",
939
+ className: classes.letter,
940
+ children: letter.toUpperCase()
941
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.UnityFluentIcon, {
942
+ size: size === "small" ? size : "medium",
943
+ color: iconColor,
944
+ type: iconType,
945
+ icon,
946
+ style: { color: iconColor }
947
+ })
948
+ })
949
+ });
950
+ if (type === "action") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.IconButton, {
951
+ classes: { root: classes.buttonRoot },
952
+ onClick,
953
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.UnityFluentIcon, {
954
+ size: size === "small" ? size : "medium",
955
+ color: iconColor,
956
+ type: iconType,
957
+ icon,
958
+ style: { color: iconColor }
959
+ })
960
+ });
961
+ return tokenComponent;
962
+ };
963
+ Token.propTypes = {
964
+ type: prop_types.default.string,
965
+ variant: prop_types.default.string,
966
+ color: prop_types.default.string,
967
+ size: prop_types.default.string,
968
+ iconType: prop_types.default.string,
969
+ icon: prop_types.default.elementType,
970
+ letter: prop_types.default.string,
971
+ onClick: prop_types.default.func
972
+ };
973
+
974
+ //#endregion
975
+ //#region src/UI/inputs/buttons/AmbientToggleButton.jsx
976
+ const useStyles$15 = (0, __material_ui_core.makeStyles)((theme) => ({
977
+ root: {},
978
+ groupActionContainer: {
979
+ display: "flex",
980
+ flexDirection: "column",
981
+ flexWrap: "wrap",
982
+ alignContent: "space-around"
983
+ },
984
+ toggleRoot: {
985
+ "&:not(:first-child)": {
986
+ marginTop: 16,
987
+ border: "1px solid lightgrey",
988
+ borderTopLeftRadius: 25,
989
+ borderTopRightRadius: 25,
990
+ borderRadius: 25,
991
+ padding: 0,
992
+ paddingRight: theme.spacing(2)
993
+ },
994
+ "&:not(:last-child)": {
995
+ borderBottomLeftRadius: 25,
996
+ borderBottomRightRadius: 25,
997
+ borderRadius: 25,
998
+ padding: 0,
999
+ border: "1px solid lightgrey",
1000
+ paddingRight: theme.spacing(2)
1001
+ },
1002
+ "& .MuiToggleButton-root.Mui-selected": {
1003
+ color: "rgba(0, 0, 0, 0.54)",
1004
+ backgroundColor: "white"
1005
+ }
1006
+ },
1007
+ buttonRoot: {
1008
+ textTransform: "none",
1009
+ fontWeight: 700,
1010
+ justifyContent: "flex-start"
1011
+ },
1012
+ ".MuiToggleButton-root.Mui-selected": {
1013
+ color: "rgba(0, 0, 0, 0.54)",
1014
+ backgroundColor: "white"
1015
+ }
1016
+ }));
1017
+ const AmbientToggleButton = ({ children, value, ariaLabel, onClick,...otherProps }) => {
1018
+ const classes = useStyles$15();
1019
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1020
+ className: classes.root,
1021
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_ToggleButton.default, {
1022
+ classes: { root: classes.buttonRoot },
1023
+ value,
1024
+ "aria-label": ariaLabel,
1025
+ onClick,
1026
+ ...otherProps,
1027
+ children
1028
+ })
1029
+ });
1030
+ };
1031
+ AmbientToggleButton.propTypes = {
1032
+ children: prop_types.default.node,
1033
+ value: prop_types.default.string,
1034
+ ariaLabel: prop_types.default.string,
1035
+ onClick: prop_types.default.func
1036
+ };
1037
+
1038
+ //#endregion
1039
+ //#region src/utilities/isValueSelected.js
1040
+ function isValueSelected(value, candidate) {
1041
+ if (candidate === void 0 || value === void 0) return false;
1042
+ if (Array.isArray(candidate)) return candidate.indexOf(value) >= 0;
1043
+ return value === candidate;
1044
+ }
1045
+
1046
+ //#endregion
1047
+ //#region src/UI/inputs/buttons/AmbientToggleButtonGroupDefault.jsx
1048
+ const styles = (theme) => ({
1049
+ root: {
1050
+ display: "inline-flex",
1051
+ padding: 0
1052
+ },
1053
+ vertical: { flexDirection: "column" },
1054
+ grouped: {},
1055
+ groupedHorizontal: {
1056
+ borderRadius: 25,
1057
+ padding: 0,
1058
+ paddingRight: 16,
1059
+ "&:not(:first-child)": {
1060
+ marginTop: 16,
1061
+ borderRadius: 25,
1062
+ paddingRight: 16,
1063
+ padding: 0
1064
+ },
1065
+ "&:not(:last-child)": {
1066
+ padding: 0,
1067
+ borderRadius: 25,
1068
+ paddingRight: 16
1069
+ }
1070
+ },
1071
+ groupedVertical: {
1072
+ borderRadius: 25,
1073
+ padding: 0,
1074
+ paddingRight: 16,
1075
+ "&:not(:first-child)": {
1076
+ marginTop: 16,
1077
+ borderRadius: 25,
1078
+ paddingRight: 16,
1079
+ padding: 0
1080
+ },
1081
+ "&:not(:last-child)": {
1082
+ padding: 0,
1083
+ borderRadius: 25,
1084
+ paddingRight: 16
1085
+ }
1086
+ }
1087
+ });
1088
+ const AmbientToggleButtonGroupDefault = (0, react.forwardRef)(function AmbientToggleButton$1(props, ref) {
1089
+ const { children, classes, className, exclusive = false, onChange, orientation = "horizontal", size = "medium", value,...other } = props;
1090
+ const handleChange = (event, buttonValue) => {
1091
+ if (!onChange) return;
1092
+ const index = value && value.indexOf(buttonValue);
1093
+ let newValue;
1094
+ if (value && index >= 0) {
1095
+ newValue = value.slice();
1096
+ newValue.splice(index, 1);
1097
+ } else newValue = value ? value.concat(buttonValue) : [buttonValue];
1098
+ onChange(event, newValue);
1099
+ };
1100
+ const handleExclusiveChange = (event, buttonValue) => {
1101
+ if (!onChange) return;
1102
+ onChange(event, value === buttonValue ? null : buttonValue);
1103
+ };
1104
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1105
+ role: "group",
1106
+ className: (0, clsx.default)(classes.root, { [classes.vertical]: orientation === "vertical" }, className),
1107
+ ref,
1108
+ ...other,
1109
+ children: react.Children.map(children, (child) => {
1110
+ if (!(0, react.isValidElement)(child)) return null;
1111
+ if (process.env.NODE_ENV !== "production") {
1112
+ if ((0, react_is.isFragment)(child)) console.error(["Material-UI: The ToggleButtonGroup component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join("\n"));
1113
+ }
1114
+ return (0, react.cloneElement)(child, {
1115
+ className: (0, clsx.default)(classes.grouped, classes[`grouped${(0, __material_ui_core_utils.capitalize)(orientation)}`], child.props.className),
1116
+ onChange: exclusive ? handleExclusiveChange : handleChange,
1117
+ selected: child.props.selected === void 0 ? isValueSelected(child.props.value, value) : child.props.selected,
1118
+ size: child.props.size || size
1119
+ });
1120
+ })
1121
+ });
1122
+ });
1123
+ AmbientToggleButtonGroupDefault.propTypes = {
1124
+ children: prop_types.default.node,
1125
+ classes: prop_types.default.object,
1126
+ className: prop_types.default.string,
1127
+ exclusive: prop_types.default.bool,
1128
+ onChange: prop_types.default.func,
1129
+ orientation: prop_types.default.oneOf(["horizontal", "vertical"]),
1130
+ size: prop_types.default.oneOf([
1131
+ "large",
1132
+ "medium",
1133
+ "small"
1134
+ ]),
1135
+ value: prop_types.default.any
1136
+ };
1137
+ var AmbientToggleButtonGroupDefault_default = (0, __material_ui_core_styles.withStyles)(styles, { name: "MuiToggleButtonGroup" })(AmbientToggleButtonGroupDefault);
1138
+
1139
+ //#endregion
1140
+ //#region src/UI/templates/ui/GridGroupingSidebar.jsx
1141
+ const useStyles$14 = (0, __material_ui_core.makeStyles)((theme) => ({
1142
+ root: {},
1143
+ groupActionContainer: {
1144
+ display: "flex",
1145
+ flexDirection: "column",
1146
+ flexWrap: "wrap",
1147
+ alignContent: "space-around"
1148
+ },
1149
+ buttonRoot: {
1150
+ textTransform: "none",
1151
+ fontWeight: 700,
1152
+ justifyContent: "flex-start"
1153
+ },
1154
+ buttonGroupWrapper: { gap: theme.spacing(2) }
1155
+ }));
1156
+ const GridGroupingSidebar = ({ groupItem, expandClick, collapseClick, closeClick, groupingData, height, color = "#F5F2F8" }) => {
1157
+ const classes = useStyles$14();
1158
+ const [view, setView] = (0, react.useState)("");
1159
+ const handleChange = (event, nextView) => {
1160
+ setView(nextView);
1161
+ };
1162
+ const GroupItem = ({ label, clear }) => {
1163
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Token, {
1164
+ icon: clear ? __fluentui_react_icons.ChromeCloseIcon : __fluentui_react_icons.AssessmentGroupIcon,
1165
+ color: "trigger",
1166
+ size: "small",
1167
+ variant: "filled",
1168
+ type: "icon"
1169
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Typography, {
1170
+ variant: "caption",
1171
+ style: { color: "black" },
1172
+ children: [
1173
+ " ",
1174
+ label,
1175
+ " "
1176
+ ]
1177
+ })] });
1178
+ };
1179
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1180
+ className: classes.root,
1181
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(GridSidebarContainer, {
1182
+ color,
1183
+ height,
1184
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(GridGroupingHeader, {
1185
+ expandClick,
1186
+ collapseClick,
1187
+ closeClick
1188
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1189
+ className: classes.groupActionContainer,
1190
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AmbientToggleButtonGroupDefault_default, {
1191
+ orientation: "vertical",
1192
+ value: view,
1193
+ exclusive: true,
1194
+ onChange: handleChange,
1195
+ className: classes.buttonGroupWrapper,
1196
+ children: [groupingData.map((item) => {
1197
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientToggleButton, {
1198
+ value: item.value,
1199
+ "aria-label": item.label,
1200
+ onClick: () => groupItem(item.groupItem),
1201
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GroupItem, { label: item.label })
1202
+ });
1203
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientToggleButton, {
1204
+ value: "noGroups",
1205
+ "aria-label": "noGroups",
1206
+ onClick: closeClick,
1207
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GroupItem, {
1208
+ label: "No Groups",
1209
+ clear: true
1210
+ })
1211
+ })]
1212
+ })
1213
+ })]
1214
+ })
1215
+ });
1216
+ };
1217
+ GridGroupingSidebar.propTypes = {
1218
+ groupItem: prop_types.default.func,
1219
+ expandClick: prop_types.default.func,
1220
+ collapseClick: prop_types.default.func,
1221
+ closeClick: prop_types.default.func,
1222
+ groupingData: prop_types.default.array,
1223
+ color: prop_types.default.string
1224
+ };
1225
+
1226
+ //#endregion
1227
+ //#region src/utilities/aggrid/SplitButton.jsx
1228
+ const useStyles$13 = (0, __material_ui_core.makeStyles)((theme) => ({
1229
+ arrowButtonRoot: { padding: 0 },
1230
+ menu: { zIndex: theme.zIndex.tooltip },
1231
+ paper: {}
1232
+ }), { name: "SplitButton" });
1233
+ /**
1234
+ * https://material-ui.com/components/button-group/#split-button
1235
+ */
1236
+ const SplitButton = (props) => {
1237
+ const classes = useStyles$13(props);
1238
+ const { popupName, color, size, variant, label, "aria-label": ariaLabel, children } = props;
1239
+ const popupId = require_EnvironmentRibbon.useId(popupName);
1240
+ const popupState = (0, material_ui_popup_state_hooks.usePopupState)({
1241
+ variant: "popper",
1242
+ popupId
1243
+ });
1244
+ const firstItem = react.Children.toArray(children)[0];
1245
+ const setAnchorEl = (0, react.useCallback)((ref) => {
1246
+ if (ref) popupState.setAnchorEl(ref);
1247
+ }, []);
1248
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react.default.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.ButtonGroup, {
1249
+ variant,
1250
+ color,
1251
+ size,
1252
+ ref: setAnchorEl,
1253
+ "aria-label": ariaLabel,
1254
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
1255
+ onClick: firstItem?.props?.onClick,
1256
+ children: label || firstItem?.props?.children
1257
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
1258
+ ...(0, material_ui_popup_state_hooks.bindTrigger)(popupState),
1259
+ className: classes.arrowButtonRoot,
1260
+ color,
1261
+ size: "small",
1262
+ "aria-expanded": popupState.isOpen ? true : void 0,
1263
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_icons.ArrowDropDown, {})
1264
+ })]
1265
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Popper, {
1266
+ ...(0, material_ui_popup_state_hooks.bindPopper)(popupState),
1267
+ role: void 0,
1268
+ transition: true,
1269
+ disablePortal: true,
1270
+ className: classes.menu,
1271
+ children: ({ TransitionProps, placement }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Grow, {
1272
+ ...TransitionProps,
1273
+ style: { transformOrigin: placement === "bottom" ? "center top" : "center bottom" },
1274
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Paper, {
1275
+ className: classes.paper,
1276
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.ClickAwayListener, {
1277
+ onClickAway: popupState.close,
1278
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.MenuList, { children })
1279
+ })
1280
+ })
1281
+ })
1282
+ })] });
1283
+ };
1284
+
1285
+ //#endregion
1286
+ //#region src/utilities/aggrid/AgTable.tsx
1287
+ __ag_grid_enterprise_core.LicenseManager.setLicenseKey(LicenseKey);
1288
+ const useStyles$12 = (0, __material_ui_core.makeStyles)((theme) => ({
1289
+ root: {
1290
+ flex: 1,
1291
+ height: (props) => props?.height ? props.height : "calc(100vh - 280px)"
1292
+ },
1293
+ AgGrid: (props) => ({
1294
+ "--ag-control-panel-background-color": theme.palette.primary.light,
1295
+ "--ag-checkbox-checked-color": theme.palette.primary.main,
1296
+ ...props.hideHeader ? {} : {
1297
+ "--ag-header-background-color": theme.palette.primary.main,
1298
+ "--ag-header-foreground-color": theme.palette.primary.light
1299
+ }
1300
+ })
1301
+ }), { name: "AgTable" });
1302
+ const globalModules = [...__ag_grid_enterprise_all_modules.AllModules, __ag_grid_enterprise_excel_export.ExcelExportModule];
1303
+ /**
1304
+ * Utility hook for getting the ag-grid APIs into state
1305
+ */
1306
+ function useAgGridApi() {
1307
+ const [{ gridApi, gridColumnApi }, onGridReady] = (0, react.useReducer)((state, params) => {
1308
+ return {
1309
+ gridApi: params.api,
1310
+ gridColumnApi: params.columnApi
1311
+ };
1312
+ }, {});
1313
+ return {
1314
+ gridApi,
1315
+ gridColumnApi,
1316
+ onGridReady
1317
+ };
1318
+ }
1319
+ /**
1320
+ * Size/Export buttons for AgGrid tables
1321
+ */
1322
+ const AgTableButtons = (props) => {
1323
+ const { gridApi, gridColumnApi } = props;
1324
+ const exportToCSV = (0, react.useCallback)(() => {
1325
+ (0, invariant.default)(gridApi, `gridApi not ready`);
1326
+ gridApi?.exportDataAsCsv({
1327
+ allColumns: true,
1328
+ fileName: "export"
1329
+ });
1330
+ }, [gridApi]);
1331
+ const exportToExcel = (0, react.useCallback)(() => {
1332
+ (0, invariant.default)(gridApi, `gridApi not ready`);
1333
+ gridApi?.exportDataAsExcel({
1334
+ allColumns: true,
1335
+ fileName: "export"
1336
+ });
1337
+ }, [gridApi]);
1338
+ const sizeToFit = (0, react.useCallback)((params) => {
1339
+ (0, invariant.default)(gridApi, `gridApi not ready`);
1340
+ gridApi?.sizeColumnsToFit();
1341
+ }, [gridApi]);
1342
+ const autoSizeAll = (0, react.useCallback)((skipHeader) => {
1343
+ (0, invariant.default)(gridColumnApi, `gridColumnApi not ready`);
1344
+ const allColumnIds = [];
1345
+ gridColumnApi?.getAllColumns()?.forEach((column) => {
1346
+ allColumnIds.push(column.getColId());
1347
+ });
1348
+ gridColumnApi?.autoSizeColumns(allColumnIds, skipHeader);
1349
+ }, [gridColumnApi]);
1350
+ const autoSizeAllWithHeader = (0, react.useCallback)(() => autoSizeAll(false), [autoSizeAll]);
1351
+ const autoSizeAllWithoutHeader = (0, react.useCallback)(() => autoSizeAll(false), [autoSizeAll]);
1352
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Box, {
1353
+ mb: 1,
1354
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Grid, {
1355
+ container: true,
1356
+ direction: "row",
1357
+ spacing: 1,
1358
+ justify: "flex-end",
1359
+ children: [
1360
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Grid, {
1361
+ item: true,
1362
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
1363
+ variant: "outlined",
1364
+ size: "small",
1365
+ onClick: sizeToFit,
1366
+ children: "Size to Fit"
1367
+ })
1368
+ }),
1369
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Grid, {
1370
+ item: true,
1371
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SplitButton, {
1372
+ popupName: "auto-size",
1373
+ variant: "outlined",
1374
+ size: "small",
1375
+ label: "Auto-Size",
1376
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.MenuItem, {
1377
+ onClick: autoSizeAllWithHeader,
1378
+ children: "All"
1379
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.MenuItem, {
1380
+ onClick: autoSizeAllWithoutHeader,
1381
+ children: "Skip Header"
1382
+ })]
1383
+ })
1384
+ }),
1385
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Grid, {
1386
+ item: true,
1387
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SplitButton, {
1388
+ popupName: "export",
1389
+ variant: "outlined",
1390
+ size: "small",
1391
+ label: "Export",
1392
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.MenuItem, {
1393
+ onClick: exportToExcel,
1394
+ children: "Excel"
1395
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.MenuItem, {
1396
+ onClick: exportToCSV,
1397
+ children: "CSV"
1398
+ })]
1399
+ })
1400
+ })
1401
+ ]
1402
+ })
1403
+ });
1404
+ };
1405
+ /**
1406
+ * AgGrid with tweaks
1407
+ */
1408
+ const AgTable = (props) => {
1409
+ const classes = useStyles$12(props);
1410
+ const { modules: modulesProp, className, getRowHeight, rowModelType, isUsingAgRowHeight = false, hideHeader = false } = props;
1411
+ const modules = (0, react.useMemo)(() => modulesProp ? globalModules.concat(modulesProp) : globalModules, [modulesProp]);
1412
+ const calculateRowHeight = (params) => {
1413
+ if (params.node.level === 0) return 48;
1414
+ if (params.node.level === 1) return 32;
1415
+ return 16;
1416
+ };
1417
+ const rowHeightFunction = (0, react.useCallback)((params) => {
1418
+ if (rowModelType === "serverSide") if (isUsingAgRowHeight) return void 0;
1419
+ else if (getRowHeight) return getRowHeight(params);
1420
+ else return calculateRowHeight(params);
1421
+ else if (getRowHeight) return getRowHeight(params);
1422
+ return void 0;
1423
+ }, [getRowHeight, isUsingAgRowHeight]);
1424
+ const onGridSizeChanged = () => {
1425
+ if (props.dynamicSizing) props.api?.sizeColumnsToFit();
1426
+ };
1427
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1428
+ className: (0, clsx.default)("ag-theme-material", classes.root, className),
1429
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ag_grid_community_react.AgGridReact, {
1430
+ ...props,
1431
+ modules,
1432
+ onGridSizeChanged,
1433
+ getRowHeight: rowHeightFunction,
1434
+ className: classes.AgGrid
1435
+ })
1436
+ });
1437
+ };
1438
+
1439
+ //#endregion
1440
+ //#region src/UI/utilityDisplay/GridActionBar.jsx
1441
+ const useStyles$11 = (0, __material_ui_core.makeStyles)((theme) => ({
1442
+ root: {
1443
+ display: "flex",
1444
+ flexDirection: "row",
1445
+ padding: theme.spacing(.5),
1446
+ background: (props) => props.background ? props.background : (0, __material_ui_core.lighten)(theme.palette.secondary.light, .9)
1447
+ },
1448
+ label: {
1449
+ display: "flex",
1450
+ alignItems: "center",
1451
+ justifyContent: "flex-end"
1452
+ },
1453
+ title: {
1454
+ flex: 1,
1455
+ display: "flex",
1456
+ alignItems: "center",
1457
+ marginLeft: (props) => props.title ? theme.spacing(2) : 0
1458
+ },
1459
+ tabRoot: {
1460
+ minWidth: 0,
1461
+ textTransform: "none"
1462
+ },
1463
+ controls: {
1464
+ display: "flex",
1465
+ alignItems: "center",
1466
+ gridGap: theme.spacing(2),
1467
+ gap: theme.spacing(2),
1468
+ marginRight: theme.spacing(2)
1469
+ },
1470
+ icon: {
1471
+ background: theme.palette.common.white,
1472
+ padding: theme.spacing(1),
1473
+ color: theme.palette.secondary.main
1474
+ }
1475
+ }));
1476
+ const GridActionBar = (props) => {
1477
+ const classes = useStyles$11(props);
1478
+ const { children, onChange, handleChange, value, exportCSV, exportExcel, exportPDF, fitClick, expandClick, clearClick, exportClick, saveGridConfig, deleteGridConfig, clearGridConfig, title, hideFitGrid = false, hideExpandGrid = false, hideExportGrid = false, hideRemoveFilters = false, hideFilterTab = false, hideGroupTab = false, hideColumnTab = false, hideSearchBar = false } = props;
1479
+ const gridControlsExport = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {});
1480
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1481
+ className: classes.root,
1482
+ children: [
1483
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1484
+ className: classes.title,
1485
+ children: [title && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Typography, {
1486
+ variant: "h6",
1487
+ style: {
1488
+ overflow: "hidden",
1489
+ whiteSpace: "nowrap",
1490
+ textOverflow: "ellipsis"
1491
+ },
1492
+ children: [
1493
+ " ",
1494
+ title,
1495
+ " "
1496
+ ]
1497
+ }), !hideSearchBar && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1498
+ style: {
1499
+ flex: 1,
1500
+ marginLeft: 16,
1501
+ marginRight: 16,
1502
+ marginTop: -16
1503
+ },
1504
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTextField, {
1505
+ title,
1506
+ onChange,
1507
+ InputProps: {
1508
+ type: "search",
1509
+ startAdornment: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.InputAdornment, {
1510
+ position: "start",
1511
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__fluentui_react_icons.SearchIcon, {})
1512
+ })
1513
+ }
1514
+ })
1515
+ })]
1516
+ }),
1517
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [" ", gridControlsExport] }),
1518
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1519
+ className: classes.controls,
1520
+ children: [
1521
+ saveGridConfig && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1522
+ iconClassName: classes.icon,
1523
+ icon: __fluentui_react_icons.SaveIcon,
1524
+ tooltip: "Save Grid Configuration",
1525
+ ariaLabel: "Save Grid Configuration",
1526
+ onClick: saveGridConfig
1527
+ }),
1528
+ deleteGridConfig && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1529
+ iconClassName: classes.icon,
1530
+ icon: __fluentui_react_icons.DeleteIcon,
1531
+ tooltip: "Delete Grid Configuration",
1532
+ ariaLabel: "Delete Grid Configuration",
1533
+ onClick: deleteGridConfig
1534
+ }),
1535
+ clearGridConfig && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1536
+ iconClassName: classes.icon,
1537
+ icon: __fluentui_react_icons.ClearIcon,
1538
+ tooltip: "Clear Grid Configuration",
1539
+ ariaLabel: "Clear Grid Configuration",
1540
+ onClick: clearGridConfig
1541
+ }),
1542
+ !hideFitGrid && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1543
+ iconClassName: classes.icon,
1544
+ icon: __fluentui_react_icons.CombineIcon,
1545
+ tooltip: "Fit Grid",
1546
+ ariaLabel: "Fit Grid",
1547
+ onClick: fitClick
1548
+ }),
1549
+ !hideExpandGrid && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1550
+ iconClassName: classes.icon,
1551
+ icon: __fluentui_react_icons.ExportIcon,
1552
+ tooltip: "Expand Grid",
1553
+ ariaLabel: "Expand Grid",
1554
+ onClick: expandClick
1555
+ }),
1556
+ !hideExportGrid && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1557
+ iconClassName: classes.icon,
1558
+ icon: __fluentui_react_icons.DownloadIcon,
1559
+ tooltip: "Export Grid",
1560
+ ariaLabel: "Export Grid",
1561
+ onClick: exportClick
1562
+ }),
1563
+ !hideRemoveFilters && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1564
+ iconClassName: classes.icon,
1565
+ icon: __fluentui_react_icons.BlockedIcon,
1566
+ tooltip: "Remove Filters",
1567
+ ariaLabel: "Remove Filters",
1568
+ onClick: clearClick
1569
+ })
1570
+ ]
1571
+ }),
1572
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Tabs, {
1573
+ value,
1574
+ onChange: handleChange,
1575
+ "aria-label": "basic tabs example",
1576
+ children: [
1577
+ !hideFilterTab && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tab, {
1578
+ label: "Filter",
1579
+ classes: { root: classes.tabRoot }
1580
+ }),
1581
+ !hideGroupTab && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tab, {
1582
+ label: "Group",
1583
+ classes: { root: classes.tabRoot }
1584
+ }),
1585
+ !hideColumnTab && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tab, {
1586
+ label: "Column",
1587
+ classes: { root: classes.tabRoot }
1588
+ })
1589
+ ]
1590
+ }),
1591
+ children
1592
+ ]
1593
+ });
1594
+ };
1595
+ GridActionBar.propTypes = {
1596
+ title: prop_types.default.string,
1597
+ children: prop_types.default.node,
1598
+ handleChange: prop_types.default.func,
1599
+ value: prop_types.default.number,
1600
+ fitClick: prop_types.default.func,
1601
+ expandClick: prop_types.default.func,
1602
+ clearClick: prop_types.default.func,
1603
+ exportClick: prop_types.default.func
1604
+ };
1605
+
1606
+ //#endregion
1607
+ //#region src/UI/inputs/buttons/AmbientChipButton.jsx
1608
+ const useStyles$10 = (0, __material_ui_core.makeStyles)((theme) => ({
1609
+ root: {},
1610
+ actionHeader: {
1611
+ display: "flex",
1612
+ flexDirection: "row"
1613
+ },
1614
+ icon: {
1615
+ marginLeft: theme.spacing(1),
1616
+ color: (props) => props.background === "transparent" ? theme.palette.secondary.main : theme.palette.primary.main
1617
+ },
1618
+ chipRoot: { background: (props) => props.background ? props.background : theme.palette.common.white },
1619
+ label: {
1620
+ overflow: "hidden",
1621
+ whiteSpace: "nowrap",
1622
+ textOverflow: "ellipsis"
1623
+ }
1624
+ }));
1625
+ const AmbientChipButton = (0, react.forwardRef)(function AmbientChipButton$1(props, ref) {
1626
+ const { tooltip, label, onClick, icon, iconClassName, className, labelClassName, otherProps, id = "chip-button", udprecordid } = props;
1627
+ const classes = useStyles$10(props);
1628
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1629
+ className: classes.root,
1630
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tooltip, {
1631
+ title: tooltip,
1632
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Chip, {
1633
+ id,
1634
+ udprecordid,
1635
+ ref,
1636
+ className: className ?? classes.chipRoot,
1637
+ label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
1638
+ className: labelClassName ?? classes.label,
1639
+ children: label
1640
+ }),
1641
+ onClick,
1642
+ icon: icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
1643
+ className: iconClassName ?? classes.icon,
1644
+ component: icon
1645
+ }),
1646
+ ...otherProps
1647
+ })
1648
+ })
1649
+ });
1650
+ });
1651
+ AmbientChipButton.propTypes = {
1652
+ tooltip: prop_types.default.string.isRequired,
1653
+ label: prop_types.default.string.isRequired,
1654
+ onClick: prop_types.default.func,
1655
+ icon: prop_types.default.func.isRequired
1656
+ };
1657
+
1658
+ //#endregion
1659
+ //#region src/UI/utilityDisplay/GridPrimaryBar.jsx
1660
+ const useStyles$9 = (0, __material_ui_core.makeStyles)((theme) => ({
1661
+ root: {
1662
+ display: "flex",
1663
+ flexDirection: "row",
1664
+ padding: theme.spacing(.5)
1665
+ },
1666
+ label: {
1667
+ display: "flex",
1668
+ alignItems: "center",
1669
+ justifyContent: "flex-end"
1670
+ },
1671
+ title: {
1672
+ flex: 1,
1673
+ display: "flex",
1674
+ alignItems: "center",
1675
+ marginLeft: (props) => props.title ? theme.spacing(2) : 0
1676
+ },
1677
+ tabRoot: {
1678
+ minWidth: 0,
1679
+ textTransform: "none"
1680
+ },
1681
+ controls: {
1682
+ display: "flex",
1683
+ alignItems: "center",
1684
+ gridGap: theme.spacing(2),
1685
+ gap: theme.spacing(2),
1686
+ marginRight: theme.spacing(2)
1687
+ },
1688
+ icon: {
1689
+ background: theme.palette.common.white,
1690
+ padding: theme.spacing(1),
1691
+ color: theme.palette.primary.main
1692
+ }
1693
+ }));
1694
+ const GridPrimaryBar = (props) => {
1695
+ const classes = useStyles$9(props);
1696
+ const { children, onChange, fitClick, expandClick, clearClick, exportClick, filterClick, columnsClick, groupClick, title, hiddenActionButtons, hiddenLabels, hideSearchBar = false, secondaryActionButtons, saveViewClick, viewsClick, insightsClick, onPrimaryActionClick, primaryActionDisabled, primaryActionLabel, primaryActionIcon, onSearchKeyDown } = props;
1697
+ const [actionButtonMedianPx, setActionButtonMedianPx] = (0, react.useState)(0);
1698
+ const [actionButtons, setActionButtons] = (0, react.useState)([]);
1699
+ const [menuActionButtons, setMenuActionButtons] = (0, react.useState)([]);
1700
+ const [anchorEl, setAnchorEl] = (0, react.useState)(null);
1701
+ const [windowWidthBreakpoint, setWindowWidthBreakpoint] = (0, react.useState)(1400);
1702
+ const chipButtonSizePx = 100;
1703
+ const tokenButtonSizePx = 40;
1704
+ const open = Boolean(anchorEl);
1705
+ const id = open ? "simple-popover" : void 0;
1706
+ const defaultActionButtons = (0, react.useMemo)(() => [
1707
+ {
1708
+ icon: __fluentui_react_icons.SaveIcon,
1709
+ tooltip: "Save Grid Configuration",
1710
+ label: "Save View",
1711
+ visible: !hiddenActionButtons.includes("saveView"),
1712
+ hideLabel: hiddenLabels.includes("saveView"),
1713
+ onClick: saveViewClick,
1714
+ background: "transparent"
1715
+ },
1716
+ {
1717
+ icon: __fluentui_react_icons.FavoriteStarIcon,
1718
+ tooltip: "Browse Views",
1719
+ label: "Views",
1720
+ visible: !hiddenActionButtons.includes("views"),
1721
+ onClick: viewsClick,
1722
+ hideLabel: hiddenLabels.includes("views"),
1723
+ iconClassName: classes.icon
1724
+ },
1725
+ {
1726
+ icon: __fluentui_react_icons.LightbulbIcon,
1727
+ tooltip: "Insights",
1728
+ label: "Insights",
1729
+ visible: !hiddenActionButtons.includes("insights"),
1730
+ hideLabel: hiddenLabels.includes("insights"),
1731
+ onClick: insightsClick,
1732
+ iconClassName: classes.icon
1733
+ },
1734
+ {
1735
+ icon: __fluentui_react_icons.UploadIcon,
1736
+ tooltip: "Import/Export",
1737
+ label: "Import/Export",
1738
+ visible: !!exportClick && !hiddenActionButtons.includes("importExport"),
1739
+ hideLabel: hiddenLabels.includes("importExport"),
1740
+ onClick: exportClick,
1741
+ iconClassName: classes.icon
1742
+ },
1743
+ {
1744
+ icon: __fluentui_react_icons.BulletedTreeListIcon,
1745
+ tooltip: "Group",
1746
+ label: "Group",
1747
+ visible: !!groupClick && !hiddenActionButtons.includes("group"),
1748
+ hideLabel: hiddenLabels.includes("group"),
1749
+ onClick: groupClick,
1750
+ iconClassName: classes.icon
1751
+ },
1752
+ {
1753
+ icon: __fluentui_react_icons.FilterIcon,
1754
+ tooltip: "Filter",
1755
+ label: "Filter",
1756
+ visible: !!filterClick && !hiddenActionButtons.includes("filter"),
1757
+ hideLabel: hiddenLabels.includes("filter"),
1758
+ onClick: filterClick,
1759
+ iconClassName: classes.icon
1760
+ },
1761
+ {
1762
+ icon: __fluentui_react_icons.TripleColumnIcon,
1763
+ tooltip: "Columns",
1764
+ label: "Columns",
1765
+ visible: !!columnsClick && !hiddenActionButtons.includes("columns"),
1766
+ hideLabel: hiddenLabels.includes("columns"),
1767
+ onClick: columnsClick,
1768
+ iconClassName: classes.icon
1769
+ },
1770
+ {
1771
+ icon: __fluentui_react_icons.CombineIcon,
1772
+ tooltip: "Fit Grid",
1773
+ label: "Fit Grid",
1774
+ visible: !!fitClick && !hiddenActionButtons.includes("fitGrid"),
1775
+ hideLabel: hiddenLabels.includes("fitGrid"),
1776
+ onClick: fitClick,
1777
+ iconClassName: classes.icon
1778
+ },
1779
+ {
1780
+ icon: __fluentui_react_icons.ExportIcon,
1781
+ tooltip: "Expand Grid",
1782
+ label: "Expand Grid",
1783
+ visible: !!expandClick && !hiddenActionButtons.includes("expandGrid"),
1784
+ hideLabel: hiddenLabels.includes("expandGrid"),
1785
+ onClick: expandClick,
1786
+ iconClassName: classes.icon
1787
+ },
1788
+ {
1789
+ icon: __fluentui_react_icons.BlockedIcon,
1790
+ tooltip: "Clear Filters",
1791
+ label: "Clear Filters",
1792
+ visible: !!clearClick && !hiddenActionButtons.includes("clearFilters"),
1793
+ hideLabel: hiddenLabels.includes("clearFilters"),
1794
+ onClick: clearClick,
1795
+ iconClassName: classes.icon
1796
+ }
1797
+ ], [
1798
+ classes.icon,
1799
+ clearClick,
1800
+ columnsClick,
1801
+ expandClick,
1802
+ exportClick,
1803
+ filterClick,
1804
+ fitClick,
1805
+ groupClick,
1806
+ hiddenActionButtons,
1807
+ hiddenLabels,
1808
+ insightsClick,
1809
+ saveViewClick,
1810
+ viewsClick
1811
+ ]);
1812
+ const handlePopoverClick = (event) => {
1813
+ setAnchorEl(event.currentTarget);
1814
+ };
1815
+ const handlePopoverClose = () => {
1816
+ setAnchorEl(null);
1817
+ };
1818
+ const formatActionButtons = (0, react.useCallback)((buttons) => {
1819
+ return buttons.map((button) => {
1820
+ if (button.visible === void 0) button.visible = true;
1821
+ if (button.hideLabel === void 0) button.hideLabel = false;
1822
+ if (button.label === void 0) {
1823
+ button.label = button.tooltip ?? "Button";
1824
+ button.hideLabel = true;
1825
+ }
1826
+ if (button.iconClassName === void 0 && button.background === void 0) button.iconClassName = classes.icon;
1827
+ return button;
1828
+ });
1829
+ }, [classes?.icon]);
1830
+ (0, react.useEffect)(() => {
1831
+ const allActionButtons = formatActionButtons([...defaultActionButtons, ...secondaryActionButtons]);
1832
+ const menuButtons = [];
1833
+ const numActionButtons = allActionButtons.length - hiddenActionButtons.length;
1834
+ const buttonTotalWidth = numActionButtons * chipButtonSizePx - (chipButtonSizePx - tokenButtonSizePx) * hiddenLabels.length;
1835
+ const calculatedMedian = Math.floor(buttonTotalWidth / numActionButtons);
1836
+ const breakPointOffset = calculatedMedian > 70 ? 950 : 900;
1837
+ let breakPoint = breakPointOffset + buttonTotalWidth;
1838
+ const currentWindowWidth = window.innerWidth;
1839
+ while (currentWindowWidth < breakPoint && allActionButtons.length > 0) {
1840
+ const movedAction = allActionButtons.pop();
1841
+ menuButtons.push(movedAction);
1842
+ breakPoint -= calculatedMedian;
1843
+ }
1844
+ setActionButtonMedianPx(calculatedMedian);
1845
+ setActionButtons(allActionButtons);
1846
+ setMenuActionButtons(menuButtons);
1847
+ setWindowWidthBreakpoint(breakPoint);
1848
+ }, [
1849
+ formatActionButtons,
1850
+ defaultActionButtons,
1851
+ secondaryActionButtons,
1852
+ hiddenActionButtons?.length,
1853
+ hiddenLabels?.length
1854
+ ]);
1855
+ (0, react.useEffect)(() => {
1856
+ const handleResize = () => {
1857
+ let breakPoint = windowWidthBreakpoint;
1858
+ let visibleButtons = [...actionButtons];
1859
+ let menuButtons = [...menuActionButtons];
1860
+ while (window.innerWidth < breakPoint && visibleButtons.length > 0) {
1861
+ const movedAction = visibleButtons.pop();
1862
+ menuButtons.push(movedAction);
1863
+ breakPoint -= actionButtonMedianPx;
1864
+ }
1865
+ while (window.innerWidth > breakPoint + actionButtonMedianPx && menuButtons.length > 0) {
1866
+ const movedAction = menuButtons.pop(0);
1867
+ visibleButtons.push(movedAction);
1868
+ breakPoint += actionButtonMedianPx;
1869
+ }
1870
+ setActionButtons(visibleButtons);
1871
+ setMenuActionButtons(menuButtons);
1872
+ setWindowWidthBreakpoint(breakPoint);
1873
+ };
1874
+ window.addEventListener("resize", handleResize);
1875
+ return () => {
1876
+ window.removeEventListener("resize", handleResize);
1877
+ };
1878
+ }, [
1879
+ windowWidthBreakpoint,
1880
+ actionButtons,
1881
+ menuActionButtons,
1882
+ actionButtonMedianPx
1883
+ ]);
1884
+ const handleCustomKeyDown = (event) => {
1885
+ if (onSearchKeyDown) {
1886
+ if (event.key === "Enter") onSearchKeyDown();
1887
+ }
1888
+ };
1889
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1890
+ className: classes.root,
1891
+ children: [
1892
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1893
+ className: classes.title,
1894
+ children: [title && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Typography, {
1895
+ variant: "h6",
1896
+ style: {
1897
+ overflow: "hidden",
1898
+ whiteSpace: "nowrap",
1899
+ textOverflow: "ellipsis"
1900
+ },
1901
+ children: [
1902
+ " ",
1903
+ title,
1904
+ " "
1905
+ ]
1906
+ }), !hideSearchBar && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1907
+ style: {
1908
+ flex: 1,
1909
+ marginLeft: 16,
1910
+ marginRight: 16,
1911
+ marginTop: -16,
1912
+ maxWidth: 300
1913
+ },
1914
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTextField, {
1915
+ title,
1916
+ onChange,
1917
+ onKeyDown: handleCustomKeyDown,
1918
+ InputProps: {
1919
+ type: "search",
1920
+ startAdornment: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.InputAdornment, {
1921
+ position: "start",
1922
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__fluentui_react_icons.SearchIcon, {})
1923
+ })
1924
+ }
1925
+ })
1926
+ })]
1927
+ }),
1928
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1929
+ className: classes.controls,
1930
+ children: [actionButtons.map((button) => button.visible && (button.hideLabel ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1931
+ id: "udpRecord-GridPrimaryBar-Token-" + button.label.replace(/ /g, "-"),
1932
+ udprecordid: "udpRecord-GridPrimaryBar-Token-" + button.label.replace(/ /g, "-"),
1933
+ icon: button.icon ?? __fluentui_react_icons.AppIconDefaultIcon,
1934
+ tooltip: button.tooltip,
1935
+ onClick: button.onClick,
1936
+ ariaLabel: button.label,
1937
+ iconClassName: button.iconClassName
1938
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientChipButton, {
1939
+ id: "udpRecord-GridPrimaryBar-Chip-" + button.label.replace(/ /g, "-"),
1940
+ udprecordid: "udpRecord-GridPrimaryBar-Chip-" + button.label.replace(/ /g, "-"),
1941
+ icon: button.icon ?? __fluentui_react_icons.AppIconDefaultIcon,
1942
+ tooltip: button.tooltip,
1943
+ label: button.label,
1944
+ onClick: button.onClick,
1945
+ background: button.background
1946
+ }))), !!menuActionButtons.length && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
1947
+ id,
1948
+ icon: __fluentui_react_icons.MoreVerticalIcon,
1949
+ tooltip: "More Actions",
1950
+ ariaLabel: "More Actions",
1951
+ onClick: handlePopoverClick,
1952
+ iconClassName: classes.icon
1953
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Popover, {
1954
+ id,
1955
+ open,
1956
+ anchorEl,
1957
+ onClose: handlePopoverClose,
1958
+ anchorOrigin: {
1959
+ vertical: "bottom",
1960
+ horizontal: "right"
1961
+ },
1962
+ transformOrigin: {
1963
+ vertical: "top",
1964
+ horizontal: "right"
1965
+ },
1966
+ children: menuActionButtons.slice(0).reverse().map((button) => {
1967
+ if (!button.visible) return null;
1968
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.MenuItem, {
1969
+ id: "udpRecord-GridPrimaryBar-MenuItem-" + button.label.replace(/ /g, "-"),
1970
+ udprecordid: "udpRecord-GridPrimaryBar-MenuItem-" + button.label.replace(/ /g, "-"),
1971
+ onClick: button.onClick,
1972
+ style: {
1973
+ display: "flex",
1974
+ justifyContent: "space-between"
1975
+ },
1976
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, { children: button.label }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
1977
+ component: button.icon ?? __fluentui_react_icons.AppIconDefaultIcon,
1978
+ style: { marginLeft: 7 }
1979
+ })]
1980
+ });
1981
+ })
1982
+ })] })]
1983
+ }),
1984
+ onPrimaryActionClick && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_EnvironmentRibbon.PrimaryActionButton, {
1985
+ onClick: onPrimaryActionClick,
1986
+ id: "udpRecord-GridPrimaryBar-Add",
1987
+ udprecordid: "udpRecord-GridPrimaryBar-Add",
1988
+ disabled: primaryActionDisabled,
1989
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
1990
+ style: { marginLeft: 4 },
1991
+ children: primaryActionLabel ?? "Button"
1992
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
1993
+ style: { marginLeft: 7 },
1994
+ component: primaryActionIcon ?? __fluentui_react_icons.AppIconDefaultIcon
1995
+ })]
1996
+ })
1997
+ ]
1998
+ });
1999
+ };
2000
+ GridPrimaryBar.propTypes = {
2001
+ title: prop_types.default.string,
2002
+ children: prop_types.default.node,
2003
+ onChange: prop_types.default.func,
2004
+ fitClick: prop_types.default.func,
2005
+ expandClick: prop_types.default.func,
2006
+ clearClick: prop_types.default.func,
2007
+ exportClick: prop_types.default.func,
2008
+ insightsClick: prop_types.default.func,
2009
+ filterClick: prop_types.default.func,
2010
+ columnsClick: prop_types.default.func,
2011
+ groupClick: prop_types.default.func,
2012
+ hideSearchBar: prop_types.default.bool,
2013
+ secondaryActionButtons: prop_types.default.arrayOf(prop_types.default.object),
2014
+ hiddenActionButtons: prop_types.default.arrayOf(prop_types.default.oneOf([
2015
+ "saveView",
2016
+ "views",
2017
+ "insights",
2018
+ "importExport",
2019
+ "group",
2020
+ "filter",
2021
+ "columns",
2022
+ "fitGrid",
2023
+ "expandGrid",
2024
+ "clearFilters"
2025
+ ])),
2026
+ hiddenLabels: prop_types.default.arrayOf(prop_types.default.oneOf([
2027
+ "saveView",
2028
+ "views",
2029
+ "insights",
2030
+ "importExport",
2031
+ "group",
2032
+ "filter",
2033
+ "columns",
2034
+ "fitGrid",
2035
+ "expandGrid",
2036
+ "clearFilters"
2037
+ ])),
2038
+ onPrimaryActionClick: prop_types.default.func,
2039
+ primaryActionLabel: prop_types.default.string,
2040
+ primaryActionIcon: prop_types.default.elementType
2041
+ };
2042
+
2043
+ //#endregion
2044
+ //#region src/UI/feedback/FluentDialog.jsx
2045
+ const useStyles$8 = (0, __material_ui_core.makeStyles)((theme) => ({
2046
+ root: {},
2047
+ paper: {
2048
+ borderRadius: 2,
2049
+ borderTop: (props) => props.header && `4px solid ${theme.palette.secondary.main}`
2050
+ },
2051
+ title: { color: (props) => props.header && theme.palette.secondary.main },
2052
+ actions: {
2053
+ marginBottom: 0,
2054
+ marginRight: 0,
2055
+ padding: 0
2056
+ },
2057
+ button: {
2058
+ borderRadius: 0,
2059
+ padding: "calc(.875rem - 3px) 23px calc(.875rem - 3px) 15px",
2060
+ textTransform: "none"
2061
+ },
2062
+ dialogContent: {
2063
+ height: (props) => props.dialogContentHeight || "auto",
2064
+ width: (props) => props.dialogContentWidth || "auto"
2065
+ },
2066
+ dialogLeftBorder: {
2067
+ position: "absolute",
2068
+ left: 0,
2069
+ top: 0,
2070
+ bottom: 0,
2071
+ width: theme.spacing(1),
2072
+ backgroundColor: (props) => props.dialogLeftBorderColor ?? theme.palette.primary.main
2073
+ }
2074
+ }));
2075
+ const FluentDialog = (props) => {
2076
+ const classes = useStyles$8(props);
2077
+ const { title, message, actionOne, actionTwo, actionThree, labelOne, labelTwo, labelThree, open, handleClose, ariaLabelledby, ariaDescribedby, titleId, descriptionId, children, buttonOneHidden = false, buttonTwoHidden = false, buttonThreeHidden = true, disableOne, disableTwo, disableThree, progress, enableLeftBorderStyling = false,...otherProps } = props;
2078
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Dialog, {
2079
+ open,
2080
+ onClose: handleClose,
2081
+ "aria-labelledby": ariaLabelledby,
2082
+ "aria-describedby": ariaDescribedby,
2083
+ ...otherProps,
2084
+ classes: { paper: classes.paper },
2085
+ children: [
2086
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: enableLeftBorderStyling ? classes.dialogLeftBorder : "" }),
2087
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.DialogTitle, {
2088
+ className: classes.title,
2089
+ id: titleId,
2090
+ children: title
2091
+ }),
2092
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.DialogContent, {
2093
+ className: classes.dialogContent,
2094
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.DialogContentText, {
2095
+ id: descriptionId,
2096
+ children: message
2097
+ }), children]
2098
+ }),
2099
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.DialogActions, {
2100
+ className: classes.actions,
2101
+ disableSpacing: true,
2102
+ children: [
2103
+ !buttonThreeHidden && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
2104
+ id: "udpRecord-FluentDialog-Confirm",
2105
+ udprecordid: "udpRecord-FluentDialog-Confirm",
2106
+ onClick: actionThree,
2107
+ color: "secondary",
2108
+ disabled: disableThree,
2109
+ className: classes.button,
2110
+ children: labelThree
2111
+ }),
2112
+ !buttonTwoHidden && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
2113
+ id: "udpRecord-FluentDialog-Confirm",
2114
+ udprecordid: "udpRecord-FluentDialog-Confirm",
2115
+ onClick: actionTwo,
2116
+ color: "secondary",
2117
+ disabled: disableTwo,
2118
+ className: classes.button,
2119
+ children: labelTwo
2120
+ }),
2121
+ !buttonOneHidden && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.PrimaryActionButton, {
2122
+ id: "udpRecord-FluentDialog-Cancel",
2123
+ udprecordid: "udpRecord-FluentDialog-Cancel",
2124
+ disabled: disableOne,
2125
+ onClick: actionOne,
2126
+ children: labelOne
2127
+ })
2128
+ ]
2129
+ }),
2130
+ progress && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.LinearProgress, {
2131
+ color: "secondary",
2132
+ value: progress,
2133
+ ...otherProps
2134
+ })
2135
+ ]
2136
+ });
2137
+ };
2138
+
2139
+ //#endregion
2140
+ //#region src/utilities/aggrid/GridFunctions.js
2141
+ const useGridFormat = () => {
2142
+ const gridFormat = (gridApi, type) => {
2143
+ type === "expand" && gridApi.expandAll();
2144
+ type === "collapse" && gridApi.collapseAll();
2145
+ type === "resize" && gridApi.sizeColumnsToFit();
2146
+ };
2147
+ return [gridFormat];
2148
+ };
2149
+ const useGridClear = () => {
2150
+ const gridClear = (gridApi, gridColumnApi) => {
2151
+ gridColumnApi.setRowGroupColumns([]);
2152
+ gridApi.setFilterModel(null);
2153
+ gridApi.setQuickFilter("");
2154
+ gridApi.sizeColumnsToFit();
2155
+ gridColumnApi.resetColumnState();
2156
+ };
2157
+ return [gridClear];
2158
+ };
2159
+ const useQuickFilter = () => {
2160
+ const quickFilter = (gridApi, event) => {
2161
+ gridApi.setQuickFilter(event?.target.value);
2162
+ };
2163
+ return [quickFilter];
2164
+ };
2165
+ const useExport = () => {
2166
+ const gridExport = (gridApi, type) => {
2167
+ type === "excel" && gridApi.exportDataAsExcel();
2168
+ type === "csv" && gridApi.exportDataAsCsv();
2169
+ };
2170
+ return [gridExport];
2171
+ };
2172
+ const saveGridState = async (gridId, gridApi, gridColumnApi, execute) => {
2173
+ const columnState = gridColumnApi?.getColumnState();
2174
+ const columnGroupState = gridColumnApi?.getColumnGroupState();
2175
+ const sortModel = gridApi.getSortModel();
2176
+ const filterModel = gridApi.getFilterModel();
2177
+ const isPivotMode = gridColumnApi.isPivotMode();
2178
+ const gridState = [];
2179
+ const columnGridConfiguration = {
2180
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column,
2181
+ gridId,
2182
+ values: JSON.stringify(columnState)
2183
+ };
2184
+ const columnGroupGridConfiguration = {
2185
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column_Group,
2186
+ gridId,
2187
+ values: JSON.stringify(columnGroupState)
2188
+ };
2189
+ const columnSortGridConfiguration = {
2190
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column_Sort,
2191
+ gridId,
2192
+ values: JSON.stringify(sortModel)
2193
+ };
2194
+ const columnFilterGridConfiguration = {
2195
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column_Filter,
2196
+ gridId,
2197
+ values: JSON.stringify(filterModel)
2198
+ };
2199
+ const pivotGridConfiguration = {
2200
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Pivot_Mode,
2201
+ gridId,
2202
+ values: JSON.stringify(isPivotMode)
2203
+ };
2204
+ gridState.push(columnGridConfiguration);
2205
+ gridState.push(columnGroupGridConfiguration);
2206
+ gridState.push(columnSortGridConfiguration);
2207
+ gridState.push(columnFilterGridConfiguration);
2208
+ gridState.push(pivotGridConfiguration);
2209
+ return await execute({ data: gridState });
2210
+ };
2211
+ const getGridState = (gridApi, gridColumnApi, gridId) => {
2212
+ const columnState = gridColumnApi?.getColumnState();
2213
+ const columnGroupState = gridColumnApi?.getColumnGroupState();
2214
+ const sortModel = gridApi.getSortModel();
2215
+ const filterModel = gridApi.getFilterModel();
2216
+ const isPivotMode = gridColumnApi.isPivotMode();
2217
+ const gridState = [];
2218
+ const columnGridConfiguration = {
2219
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column,
2220
+ gridId,
2221
+ values: JSON.stringify(columnState)
2222
+ };
2223
+ const columnGroupGridConfiguration = {
2224
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column_Group,
2225
+ gridId,
2226
+ values: JSON.stringify(columnGroupState)
2227
+ };
2228
+ const columnSortGridConfiguration = {
2229
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column_Sort,
2230
+ gridId,
2231
+ values: JSON.stringify(sortModel)
2232
+ };
2233
+ const columnFilterGridConfiguration = {
2234
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Column_Filter,
2235
+ gridId,
2236
+ values: JSON.stringify(filterModel)
2237
+ };
2238
+ const pivotGridConfiguration = {
2239
+ gridStateTypeId: require_EnvironmentRibbon.GridStateTypeEnums.Pivot_Mode,
2240
+ gridId,
2241
+ values: JSON.stringify(isPivotMode)
2242
+ };
2243
+ gridState.push(columnGridConfiguration);
2244
+ gridState.push(columnGroupGridConfiguration);
2245
+ gridState.push(columnSortGridConfiguration);
2246
+ gridState.push(columnFilterGridConfiguration);
2247
+ gridState.push(pivotGridConfiguration);
2248
+ return gridState;
2249
+ };
2250
+ const deleteGridState = async (gridApi, gridColumnApi, deleteGridState$1) => {
2251
+ clearGridState(gridApi, gridColumnApi);
2252
+ return await deleteGridState$1();
2253
+ };
2254
+ const clearGridState = (gridApi, gridColumnApi) => {
2255
+ gridColumnApi.resetColumnState();
2256
+ gridColumnApi.resetColumnGroupState();
2257
+ gridApi.setFilterModel({});
2258
+ gridApi.setSortModel([]);
2259
+ gridColumnApi.setPivotMode(false);
2260
+ gridApi.sizeColumnsToFit();
2261
+ };
2262
+ const onFirstDataRendered = (gridApi, gridColumnApi, gridStates) => {
2263
+ if (gridStates && gridStates.length) gridStates.forEach((state) => {
2264
+ switch (state.gridStateTypeId) {
2265
+ case require_EnvironmentRibbon.GridStateTypeEnums.Column:
2266
+ gridColumnApi.setColumnState(JSON.parse(state.values));
2267
+ break;
2268
+ case require_EnvironmentRibbon.GridStateTypeEnums.Column_Group:
2269
+ gridColumnApi.setColumnGroupState(JSON.parse(state.values));
2270
+ break;
2271
+ case require_EnvironmentRibbon.GridStateTypeEnums.Pivot_Mode:
2272
+ gridColumnApi.setPivotMode(JSON.parse(state.values));
2273
+ break;
2274
+ case require_EnvironmentRibbon.GridStateTypeEnums.Column_Sort:
2275
+ gridApi.setSortModel(JSON.parse(state.values));
2276
+ break;
2277
+ case require_EnvironmentRibbon.GridStateTypeEnums.Column_Filter:
2278
+ gridApi.setFilterModel(JSON.parse(state.values));
2279
+ break;
2280
+ default: break;
2281
+ }
2282
+ });
2283
+ };
2284
+
2285
+ //#endregion
2286
+ //#region src/UI/utilityDisplay/SaveViewFormDialog.jsx
2287
+ const useStyles$7 = (0, __material_ui_core.makeStyles)((theme) => ({
2288
+ root: {},
2289
+ saveForm: {
2290
+ minWidth: 450,
2291
+ paddingLeft: theme.spacing(2),
2292
+ paddingRight: theme.spacing(2)
2293
+ },
2294
+ column: {
2295
+ flex: 1,
2296
+ paddingLeft: theme.spacing(2),
2297
+ paddingRight: theme.spacing(2)
2298
+ },
2299
+ divider: {
2300
+ backgroundColor: "grey",
2301
+ color: "grey",
2302
+ width: 2,
2303
+ height: "100%"
2304
+ },
2305
+ infoHeader: { color: "grey" }
2306
+ }));
2307
+ const SaveViewFormDialog = (props) => {
2308
+ const { handleErrorSnackbar, handleSuccessSnackbar } = require_apiHelpers.useHandleAxiosSnackbar();
2309
+ const { open, handleClose, tenant, application, user, refetchViews, gApi, gcApi, gridId, domain, apiCatalogId } = props;
2310
+ const { t } = (0, react_i18next.useTranslation)();
2311
+ const classes = useStyles$7(props);
2312
+ const saveViewFormRef = (0, react.useRef)(null);
2313
+ const triggerSaveView = (0, react.useCallback)(() => {
2314
+ saveViewFormRef.current.handleSubmit();
2315
+ }, [saveViewFormRef]);
2316
+ const saveView = async (values) => {
2317
+ const data = {
2318
+ data: {
2319
+ gridView: {
2320
+ Name: values.name,
2321
+ GridViewVisibilityTypeId: values.private ? require_EnvironmentRibbon.VisibilityTypeEnums.Private : require_EnvironmentRibbon.VisibilityTypeEnums.Public,
2322
+ isDefault: 0,
2323
+ tenantId: user?.currentTenantId,
2324
+ userId: user?.id,
2325
+ gridId,
2326
+ domain,
2327
+ apiCatalogId
2328
+ },
2329
+ gridConfigurations: getGridState(gApi, gcApi, gridId)
2330
+ },
2331
+ method: "POST"
2332
+ };
2333
+ handleClose();
2334
+ await require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.tenantV2ApiUrl, `GridView/createGridView`, data).then((response) => {
2335
+ handleSuccessSnackbar(t("View Saved"));
2336
+ refetchViews();
2337
+ }).catch((error) => {
2338
+ console.log(error);
2339
+ handleErrorSnackbar(error, t("Failed to Save View"));
2340
+ });
2341
+ };
2342
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(FluentDialog, {
2343
+ title: t("Save New View"),
2344
+ open,
2345
+ handleClose,
2346
+ labelOne: t("Save View"),
2347
+ labelTwo: t("Cancel"),
2348
+ actionOne: triggerSaveView,
2349
+ actionTwo: handleClose,
2350
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Box, {
2351
+ display: "flex",
2352
+ children: [
2353
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2354
+ className: classes.column,
2355
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
2356
+ className: classes.infoHeader,
2357
+ align: "left",
2358
+ children: t("Tenant")
2359
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
2360
+ variant: "subtitle2",
2361
+ align: "left",
2362
+ children: tenant ?? "--"
2363
+ })]
2364
+ }),
2365
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Divider, {
2366
+ flexItem: true,
2367
+ orientation: "vertical"
2368
+ }),
2369
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2370
+ className: classes.column,
2371
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
2372
+ className: classes.infoHeader,
2373
+ align: "left",
2374
+ children: t("Application")
2375
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
2376
+ variant: "subtitle2",
2377
+ align: "left",
2378
+ children: application ?? "--"
2379
+ })]
2380
+ }),
2381
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Divider, {
2382
+ flexItem: true,
2383
+ orientation: "vertical"
2384
+ }),
2385
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2386
+ className: classes.column,
2387
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
2388
+ className: classes.infoHeader,
2389
+ align: "left",
2390
+ children: t("Entity")
2391
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
2392
+ variant: "subtitle2",
2393
+ align: "left",
2394
+ children: domain ?? "--"
2395
+ })]
2396
+ })
2397
+ ]
2398
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2399
+ className: classes.saveForm,
2400
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_SideSheet.Form, {
2401
+ onSubmit: saveView,
2402
+ ref: saveViewFormRef,
2403
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SideSheet.Field, {
2404
+ type: "text",
2405
+ component: AmbientTextField,
2406
+ name: "name",
2407
+ id: "name",
2408
+ label: t("Name"),
2409
+ fullWidth: true,
2410
+ required: true,
2411
+ style: {
2412
+ marginBottom: 20,
2413
+ marginTop: 10
2414
+ }
2415
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.FormControlLabel, {
2416
+ control: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SideSheet.Field, {
2417
+ component: __material_ui_core.Switch,
2418
+ name: "private",
2419
+ id: "private",
2420
+ defaultValue: false,
2421
+ type: "checkbox"
2422
+ }),
2423
+ label: t("Private"),
2424
+ labelPlacement: "end"
2425
+ })]
2426
+ })
2427
+ })]
2428
+ });
2429
+ };
2430
+ SaveViewFormDialog.propTypes = {
2431
+ open: prop_types.default.bool.isRequired,
2432
+ handleClose: prop_types.default.func.isRequired,
2433
+ tenant: prop_types.default.string,
2434
+ application: prop_types.default.string,
2435
+ entity: prop_types.default.string,
2436
+ user: prop_types.default.object,
2437
+ columnDefsValues: prop_types.default.array,
2438
+ refetchViews: prop_types.default.func,
2439
+ gApi: prop_types.default.object,
2440
+ gcApi: prop_types.default.object,
2441
+ setSelectedView: prop_types.default.func
2442
+ };
2443
+
2444
+ //#endregion
2445
+ //#region src/hooks/useDynamicListCalculation.jsx
2446
+ /**
2447
+ * A custom React hook for calculating the number of visible children in a dynamic list based on container width and child widths.
2448
+ *
2449
+ * @returns {object} An object containing the `calculateNumberOfVisibleChildren` function.
2450
+ *
2451
+ * @example
2452
+ * // Basic usage:
2453
+ * const parentRef = useRef();
2454
+ * const childRefs = useRef([]);
2455
+ * const { calculateNumberOfVisibleChildren } = useDynamicListCalculation();
2456
+ * const maxVisibleChildren = calculateNumberOfVisibleChildren(parentRef, childRefs);
2457
+
2458
+ * @example
2459
+ * // Excluding a buffer for less white space:
2460
+ * const parentRef = useRef();
2461
+ * const childRefs = useRef([]);
2462
+ * const { calculateNumberOfVisibleChildren } = useDynamicListCalculation();
2463
+ * const maxVisibleChildren = calculateNumberOfVisibleChildren(parentRef, childRefs, false);
2464
+ */
2465
+ const useDynamicListCalculation = () => {
2466
+ const [averageChildWidth, setAverageChildWidth] = (0, react.useState)(0);
2467
+ const [previousChildRefs, setPreviousChildRefs] = (0, react.useState)([]);
2468
+ /**
2469
+ * Calculate the number of visible children based on container width and child widths.
2470
+ *
2471
+ * @param {object} parentRef - Ref object for the parent container.
2472
+ * @param {object} childRefs - Ref object for an array of child elements.
2473
+ * @param {boolean} includeBuffer - Whether to include a buffer for better performance (default: true).
2474
+ * @returns {number} The maximum number of visible children.
2475
+ */
2476
+ const calculateNumberOfVisibleChildren = (0, react.useCallback)((parentRef, childRefs, includeBuffer = true) => {
2477
+ if (!parentRef.current || !childRefs.current) return;
2478
+ const containerWidth = parentRef.current.getBoundingClientRect().width ?? 0;
2479
+ if (!averageChildWidth || previousChildRefs !== childRefs.current) {
2480
+ const childrenTotalWidth = childRefs.current.map((ref) => ref && typeof ref?.getBoundingClientRect === "function" ? ref.getBoundingClientRect().width : 0).reduce((acc, curr) => acc + curr, 0);
2481
+ const calculatedAverageWidth = childrenTotalWidth / childRefs.current.length;
2482
+ setAverageChildWidth(calculatedAverageWidth);
2483
+ setPreviousChildRefs(childRefs.current);
2484
+ }
2485
+ const maxVisibleChildren = Math.floor(containerWidth / averageChildWidth);
2486
+ if (includeBuffer) return maxVisibleChildren - 1;
2487
+ return maxVisibleChildren;
2488
+ }, [averageChildWidth, previousChildRefs]);
2489
+ return { calculateNumberOfVisibleChildren };
2490
+ };
2491
+
2492
+ //#endregion
2493
+ //#region src/UI/containers/DynamicContainerWithMenu.jsx
2494
+ const useStyles$6 = (0, __material_ui_core_styles.makeStyles)((theme) => ({ filterChipMenuIcon: {
2495
+ background: theme.palette.common.grey,
2496
+ padding: theme.spacing(1),
2497
+ color: theme.palette.primary.main
2498
+ } }));
2499
+ const DynamicContainerWithMenu = (0, react.forwardRef)((props, ref) => {
2500
+ const { children, className, menuButton, menuIconClassName, includeBuffer = true } = props;
2501
+ const classes = useStyles$6();
2502
+ const { calculateNumberOfVisibleChildren } = useDynamicListCalculation();
2503
+ const modifiedMenuButton = (0, react.useMemo)(() => {
2504
+ if (!menuButton) return null;
2505
+ return (0, react.cloneElement)(menuButton, {
2506
+ onClick: (event) => {
2507
+ menuButton.props.onClick(event);
2508
+ handlePopoverClick(event);
2509
+ },
2510
+ ...menuButton.props
2511
+ }, menuButton.props.children);
2512
+ }, [menuButton]);
2513
+ const [allChildren, setAllChildren] = (0, react.useState)([]);
2514
+ const [visibleChildren, setVisibleChildren] = (0, react.useState)([]);
2515
+ const [menuChildren, setMenuChildren] = (0, react.useState)([]);
2516
+ const [anchorEl, setAnchorEl] = (0, react.useState)(null);
2517
+ const open = Boolean(anchorEl);
2518
+ const id = open ? "simple-popover" : void 0;
2519
+ const containerRef = (0, react.useRef)(ref);
2520
+ const outerContainerRef = (0, react.useRef)(null);
2521
+ const childrenRefs = (0, react.useRef)([]);
2522
+ const handlePopoverClick = (event) => {
2523
+ setAnchorEl(event.currentTarget);
2524
+ };
2525
+ const handlePopoverClose = () => {
2526
+ setAnchorEl(null);
2527
+ };
2528
+ const handleSizeChange = (0, react.useCallback)(() => {
2529
+ const maxVisibleChildren = calculateNumberOfVisibleChildren(containerRef, childrenRefs, includeBuffer);
2530
+ const visibleChildren$1 = allChildren.slice(0, maxVisibleChildren);
2531
+ const menuChildren$1 = allChildren.slice(maxVisibleChildren);
2532
+ setVisibleChildren(visibleChildren$1);
2533
+ setMenuChildren(menuChildren$1);
2534
+ }, [
2535
+ containerRef,
2536
+ allChildren,
2537
+ childrenRefs,
2538
+ calculateNumberOfVisibleChildren,
2539
+ includeBuffer
2540
+ ]);
2541
+ const handleMenuItemClick = (0, react.useCallback)((child) => {
2542
+ if (child.props.onClick && typeof child.props.onClick === "function") child.props.onClick();
2543
+ let children$1 = child.props.children;
2544
+ while (children$1) {
2545
+ if (Array.isArray(children$1) && children$1.length > 0) children$1.forEach((child$1) => {
2546
+ if (child$1.props.onClick && typeof child$1.props.onClick === "function") child$1.props.onClick();
2547
+ });
2548
+ else if (typeof children$1 === "object") {
2549
+ if (children$1.props.onClick && typeof children$1.props.onClick === "function") children$1.props.onClick();
2550
+ }
2551
+ children$1 = children$1.props.children;
2552
+ }
2553
+ handlePopoverClose();
2554
+ }, []);
2555
+ (0, react.useEffect)(() => {
2556
+ const arrayChildren = react.Children.toArray(children);
2557
+ setAllChildren(arrayChildren);
2558
+ setVisibleChildren(arrayChildren);
2559
+ }, [children]);
2560
+ (0, react.useLayoutEffect)(handleSizeChange, [handleSizeChange]);
2561
+ (0, react.useLayoutEffect)(() => {
2562
+ window.addEventListener("resize", handleSizeChange);
2563
+ const resizeObserver = new ResizeObserver(handleSizeChange);
2564
+ if (outerContainerRef.current) resizeObserver.observe(outerContainerRef.current);
2565
+ return () => {
2566
+ window.removeEventListener("resize", handleSizeChange);
2567
+ resizeObserver.disconnect();
2568
+ };
2569
+ }, [handleSizeChange, outerContainerRef]);
2570
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2571
+ ref: outerContainerRef,
2572
+ style: {
2573
+ width: "100%",
2574
+ overflow: "hidden"
2575
+ },
2576
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2577
+ className,
2578
+ ref: containerRef,
2579
+ style: {
2580
+ display: "flex",
2581
+ flexWrap: "noWrap",
2582
+ overflow: "hidden",
2583
+ flexGrow: 1
2584
+ },
2585
+ children: [visibleChildren && react.Children.map(visibleChildren, (child, index) => {
2586
+ return (0, react.cloneElement)(child, {
2587
+ ref: (ref$1) => childrenRefs.current[index] = ref$1,
2588
+ ...child.props
2589
+ }, child.props.children);
2590
+ }), menuChildren && menuChildren.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [modifiedMenuButton ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientTokenButton, {
2591
+ id,
2592
+ icon: __fluentui_react_icons.MoreVerticalIcon,
2593
+ tooltip: "Additional Filter Values",
2594
+ ariaLabel: "Additional Filter Values",
2595
+ onClick: handlePopoverClick,
2596
+ iconClassName: menuIconClassName ?? classes.filterChipMenuIcon
2597
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Popover, {
2598
+ id,
2599
+ open,
2600
+ anchorEl,
2601
+ onClose: handlePopoverClose,
2602
+ anchorOrigin: {
2603
+ vertical: "bottom",
2604
+ horizontal: "right"
2605
+ },
2606
+ transformOrigin: {
2607
+ vertical: "top",
2608
+ horizontal: "right"
2609
+ },
2610
+ children: react.Children.map(menuChildren, (child, index) => {
2611
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.MenuItem, {
2612
+ onClick: () => handleMenuItemClick(child),
2613
+ children: (0, react.cloneElement)(child, { ...child.props }, child.props.children)
2614
+ });
2615
+ })
2616
+ })] })]
2617
+ })
2618
+ });
2619
+ });
2620
+ DynamicContainerWithMenu.displayName = "DynamicContainerWithMenu";
2621
+ DynamicContainerWithMenu.propTypes = {
2622
+ children: prop_types.default.node.isRequired,
2623
+ className: prop_types.default.string,
2624
+ menuButton: prop_types.default.node,
2625
+ menuIconClassName: prop_types.default.string,
2626
+ includeBuffer: prop_types.default.bool
2627
+ };
2628
+
2629
+ //#endregion
2630
+ //#region src/UI/utilityDisplay/ChipSection.jsx
2631
+ const useStyles$5 = (0, __material_ui_core_styles.makeStyles)((theme) => ({
2632
+ wrapper: {
2633
+ display: "flex",
2634
+ gap: theme.spacing(1),
2635
+ flexWrap: "noWrap",
2636
+ backgroundColor: `${theme.palette.secondary.light}80`,
2637
+ alignItems: "center",
2638
+ flexGrow: 1,
2639
+ width: "100%"
2640
+ },
2641
+ chipHolder: {
2642
+ display: "flex",
2643
+ gap: theme.spacing(1),
2644
+ flexWrap: "noWrap",
2645
+ backgroundColor: `${theme.palette.secondary.light}80`,
2646
+ alignItems: "center",
2647
+ overflow: "scroll",
2648
+ "&::-webkit-scrollbar": { display: "none" },
2649
+ flexGrow: 1
2650
+ },
2651
+ viewChip: {
2652
+ backgroundColor: theme.palette.secondary.main,
2653
+ color: "white",
2654
+ maxWidth: "150px",
2655
+ transition: "opacity 0.3s ease",
2656
+ marginLeft: theme.spacing(1)
2657
+ },
2658
+ menuItem: { backgroundColor: "white" },
2659
+ filterChipMenuIcon: {
2660
+ background: theme.palette.common.grey,
2661
+ padding: theme.spacing(1),
2662
+ color: theme.palette.primary.main
2663
+ },
2664
+ additionalFilterChip: {},
2665
+ KPI: {
2666
+ marginLeft: "auto",
2667
+ display: "flex",
2668
+ gap: theme.spacing(1),
2669
+ color: "grey",
2670
+ width: "auto"
2671
+ },
2672
+ kpiValue: {
2673
+ color: "black",
2674
+ fontSize: "1.1em"
2675
+ },
2676
+ kpiItem: {
2677
+ display: "flex",
2678
+ justifyContent: "center",
2679
+ width: "max-content"
2680
+ },
2681
+ kpiLabel: {
2682
+ width: "max-content",
2683
+ marginRight: theme.spacing(1)
2684
+ },
2685
+ clickedChip: {
2686
+ backgroundColor: theme.palette.primary.main,
2687
+ color: "white",
2688
+ maxWidth: "150px"
2689
+ },
2690
+ filterChipLabel: {
2691
+ color: theme.palette.text.primary,
2692
+ whiteSpace: "nowrap",
2693
+ marginRight: theme.spacing(1)
2694
+ },
2695
+ filterChipValue: {
2696
+ color: theme.palette.text.secondary,
2697
+ whiteSpace: "nowrap"
2698
+ }
2699
+ }));
2700
+ const ChipSection = (props) => {
2701
+ const { filterChips = [], viewChips = [], additionalFilterChips = [], hideKpiSection = false, kpiValues = [], maxKPIsDisplayed = 4, handleDelete } = props;
2702
+ const classes = useStyles$5();
2703
+ const chipRefs = (0, react.useRef)([]);
2704
+ const chipSectionContainerRef = (0, react.useRef)(null);
2705
+ const viewChipsContainerRef = (0, react.useRef)(null);
2706
+ const filterChipsContainerRef = (0, react.useRef)(null);
2707
+ const additionalFilterChipsContainerRef = (0, react.useRef)(null);
2708
+ const kpiContainerRef = (0, react.useRef)(null);
2709
+ const [selectedFilterChip, setSelectedFilterChip] = (0, react.useState)(null);
2710
+ const abbrNum = (number, decPlaces) => {
2711
+ if (typeof number === "string" && !isNaN(Number(number))) number = Number(number);
2712
+ else if (typeof number !== "number") throw new Error("The input must be a number or a string that can be converted to a number.");
2713
+ if (typeof decPlaces !== "number") return null;
2714
+ decPlaces = Math.pow(10, decPlaces);
2715
+ let abbrev = [
2716
+ "k",
2717
+ "m",
2718
+ "b",
2719
+ "t"
2720
+ ];
2721
+ for (let i = abbrev.length - 1; i >= 0; i--) {
2722
+ let size = Math.pow(10, (i + 1) * 3);
2723
+ if (size <= number) {
2724
+ number = Math.round(number * decPlaces / size) / decPlaces;
2725
+ if (number === 1e3 && i < abbrev.length - 1) {
2726
+ number = 1;
2727
+ i++;
2728
+ }
2729
+ number += abbrev[i];
2730
+ break;
2731
+ }
2732
+ }
2733
+ return number;
2734
+ };
2735
+ const isEmpty = (array) => Array.isArray(array) && array.length === 0;
2736
+ const abbreviateLabel = (label) => {
2737
+ const maxLength = 10;
2738
+ if (label.length > maxLength) {
2739
+ const newLabel = label.slice(0, maxLength - 3) + "...";
2740
+ return newLabel;
2741
+ } else return null;
2742
+ };
2743
+ const handleFilterChipToggle = (chip) => {
2744
+ setSelectedFilterChip(chip);
2745
+ if (typeof chip.onToggle === "function") chip.onToggle();
2746
+ };
2747
+ const handleFilterChipUntoggle = () => {
2748
+ if (selectedFilterChip) {
2749
+ if (typeof selectedFilterChip.onUntoggle === "function") selectedFilterChip.onUntoggle();
2750
+ setSelectedFilterChip(null);
2751
+ }
2752
+ };
2753
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2754
+ ref: chipSectionContainerRef,
2755
+ className: classes.wrapper,
2756
+ style: { display: [
2757
+ kpiValues,
2758
+ additionalFilterChips,
2759
+ viewChips,
2760
+ filterChips
2761
+ ].every((arr) => arr.length === 0) ? "none" : "flex" },
2762
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2763
+ className: classes.chipHolder,
2764
+ children: [
2765
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2766
+ ref: viewChipsContainerRef,
2767
+ children: viewChips.map((chip, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Chip.default, {
2768
+ onDelete: () => handleDelete("view", index),
2769
+ label: chip.label,
2770
+ className: classes.viewChip,
2771
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_icons_Star.default, {}),
2772
+ size: "small"
2773
+ }, index))
2774
+ }),
2775
+ !isEmpty(viewChips) && !isEmpty(filterChips) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Divider.default, {
2776
+ orientation: "vertical",
2777
+ flexItem: true
2778
+ }),
2779
+ !isEmpty(filterChips) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DynamicContainerWithMenu, {
2780
+ className: classes.chipHolder,
2781
+ ref: filterChipsContainerRef,
2782
+ children: [selectedFilterChip && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Chip.default, {
2783
+ onDelete: handleFilterChipUntoggle,
2784
+ label: selectedFilterChip.label,
2785
+ className: classes.viewChip,
2786
+ size: "small"
2787
+ }), filterChips.map((chip, index) => {
2788
+ if (selectedFilterChip && chip.id === selectedFilterChip.id) return null;
2789
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Tooltip.default, {
2790
+ title: chip.label,
2791
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Chip.default, {
2792
+ label: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2793
+ style: {
2794
+ display: "flex",
2795
+ flexWrap: "noWrap"
2796
+ },
2797
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Typography.default, {
2798
+ noWrap: true,
2799
+ className: chip.value ? classes.filterChipLabel : "",
2800
+ children: chip.label
2801
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Typography.default, {
2802
+ noWrap: true,
2803
+ className: classes.filterChipValue,
2804
+ children: chip.value
2805
+ })]
2806
+ }),
2807
+ className: classes.filterChip,
2808
+ size: "small",
2809
+ onClick: () => handleFilterChipToggle(chip),
2810
+ ref: (el) => chipRefs.current[index] = el
2811
+ }, index)
2812
+ });
2813
+ })]
2814
+ }),
2815
+ !isEmpty(additionalFilterChips) && !isEmpty(filterChips) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Divider.default, {
2816
+ orientation: "vertical",
2817
+ flexItem: true
2818
+ }),
2819
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2820
+ ref: additionalFilterChipsContainerRef,
2821
+ style: { display: "flex" },
2822
+ children: additionalFilterChips.map((chip, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Chip.default, {
2823
+ variant: "outlined",
2824
+ onDelete: () => handleDelete("additionalFilter", index),
2825
+ label: chip.label,
2826
+ className: classes.additionalFilterChip,
2827
+ size: "small"
2828
+ }, index))
2829
+ })
2830
+ ]
2831
+ }), !hideKpiSection && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2832
+ className: classes.KPI,
2833
+ ref: kpiContainerRef,
2834
+ children: kpiValues.slice(0, 4).map((kpi, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2835
+ className: classes.kpiItem,
2836
+ id: index,
2837
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2838
+ className: classes.kpiLabel,
2839
+ children: abbreviateLabel(kpi.label) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Tooltip.default, {
2840
+ title: kpi.label,
2841
+ arrow: true,
2842
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Typography.default, {
2843
+ noWrap: true,
2844
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [kpi.label, ":"] })
2845
+ })
2846
+ }) || /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: kpi.label })
2847
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2848
+ className: classes.kpiValue,
2849
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Tooltip.default, {
2850
+ title: kpi.value,
2851
+ arrow: true,
2852
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: abbrNum(kpi.value, 1) })
2853
+ })
2854
+ })]
2855
+ }), index !== maxKPIsDisplayed - 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Divider.default, {
2856
+ orientation: "vertical",
2857
+ flexItem: true
2858
+ })] }))
2859
+ })]
2860
+ });
2861
+ };
2862
+ ChipSection.propTypes = {
2863
+ filterChips: prop_types.default.arrayOf(prop_types.default.shape({
2864
+ label: prop_types.default.string.isRequired,
2865
+ value: prop_types.default.string.isRequired
2866
+ })),
2867
+ viewChips: prop_types.default.arrayOf(prop_types.default.shape({ label: prop_types.default.string.isRequired })),
2868
+ additionalFilterChips: prop_types.default.arrayOf(prop_types.default.shape({ label: prop_types.default.string.isRequired })),
2869
+ hideKpiSection: prop_types.default.bool,
2870
+ kpiValues: prop_types.default.arrayOf(prop_types.default.shape({
2871
+ label: prop_types.default.string.isRequired,
2872
+ value: prop_types.default.oneOfType([prop_types.default.string, prop_types.default.number]).isRequired
2873
+ })),
2874
+ maxKPIsDisplayed: prop_types.default.number,
2875
+ handleDelete: prop_types.default.func,
2876
+ selectedFilterChipsIndex: prop_types.default.number,
2877
+ setSelectedFilterChipsIndex: prop_types.default.func
2878
+ };
2879
+
2880
+ //#endregion
2881
+ //#region src/UI/inputs/buttons/IconButtonWithToolTip.jsx
2882
+ const useStyles$4 = (0, __material_ui_core.makeStyles)(() => ({ root: { "&.Mui-disabled": { pointerEvents: "auto" } } }));
2883
+ const IconButtonWithTooltip = ({ icon, title, disabled, onClick, className, fluentIconClassName, id, udprecordid,...other }) => {
2884
+ const adjustedButtonProps = {
2885
+ disabled,
2886
+ component: disabled ? "div" : void 0,
2887
+ onClick: disabled ? void 0 : onClick
2888
+ };
2889
+ const classes = useStyles$4();
2890
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tooltip, {
2891
+ title,
2892
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.IconButton, {
2893
+ id,
2894
+ udprecordid,
2895
+ className: `${className} ${classes.root}`,
2896
+ ...other,
2897
+ ...adjustedButtonProps,
2898
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
2899
+ className: fluentIconClassName,
2900
+ component: icon
2901
+ })
2902
+ })
2903
+ });
2904
+ };
2905
+
2906
+ //#endregion
2907
+ //#region src/UI/templates/ui/renderers/ActionsRenderer.jsx
2908
+ const useStyles$3 = (0, __material_ui_core.makeStyles)((theme) => ({
2909
+ icon: { margin: theme.spacing(.5) },
2910
+ iconButtonStyle: {
2911
+ width: `${theme.spacing(3)}px !important`,
2912
+ height: `${theme.spacing(3)}px !important`,
2913
+ background: "#fff",
2914
+ borderRadius: 25,
2915
+ padding: 6
2916
+ },
2917
+ circularSkeleton: { borderRadius: "50%" }
2918
+ }));
2919
+ const ActionItem = (0, react.memo)((props) => {
2920
+ const { icon, title, onClick, disabled, businessObjectKey = "" } = props;
2921
+ const classes = useStyles$3();
2922
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconButtonWithTooltip, {
2923
+ title,
2924
+ className: classes.icon,
2925
+ size: "small",
2926
+ onClick,
2927
+ disabled,
2928
+ icon,
2929
+ fluentIconClassName: classes.iconButtonStyle,
2930
+ id: "udpRecord-ActionsRenderer-" + title,
2931
+ udprecordid: "udpRecord-ActionsRenderer-" + title
2932
+ });
2933
+ });
2934
+ const ActionsRenderer = (0, react.memo)((props) => {
2935
+ const { data: value, actionList, onClick } = props;
2936
+ const classes = useStyles$3();
2937
+ const [sheetOpen, setSheetOpen] = (0, react.useState)(false);
2938
+ const [sheetItem, setSheetItem] = (0, react.useState)(null);
2939
+ const [dialogItem, setDialogItem] = (0, react.useState)(null);
2940
+ const [dialogOpen, setDialogOpen] = (0, react.useState)(false);
2941
+ const [isLoading, setIsLoading] = (0, react.useState)(false);
2942
+ const [sideSheetWidth, setSideSheetWidth] = (0, react.useState)(600);
2943
+ const [sideSheetButtonLabel, setSideSheetButtonLabel] = (0, react.useState)("");
2944
+ const [sideSheetOnSubmit, setSideSheetOnSubmit] = (0, react.useState)(() => () => console.warn("onSubmit not set"));
2945
+ const openSheet = (0, react.useCallback)((sheetView) => {
2946
+ setSheetItem(sheetView);
2947
+ setSheetOpen(true);
2948
+ }, []);
2949
+ const openDialog = (0, react.useCallback)((dialogView) => {
2950
+ setDialogItem(dialogView);
2951
+ setDialogOpen(true);
2952
+ }, []);
2953
+ const closeSheet = (0, react.useCallback)(() => {
2954
+ setSheetOpen(false);
2955
+ }, []);
2956
+ const closeDialog = (0, react.useCallback)(() => {
2957
+ setDialogOpen(false);
2958
+ }, []);
2959
+ const getSheetView = (actionItem) => {
2960
+ if (actionItem.opens === require_apiHelpers.ClickOpenEnums.SideSheet) {
2961
+ const valuePropName = actionItem?.view?.properties?.valuePropName;
2962
+ if (valuePropName) actionItem.view.properties[valuePropName] = value;
2963
+ const closeSideSheetPropName = actionItem?.view?.properties?.closeSideSheetPropName;
2964
+ if (closeSideSheetPropName) actionItem.view.properties[closeSideSheetPropName] = closeSheet;
2965
+ }
2966
+ const properties = actionItem?.view?.properties || {};
2967
+ return {
2968
+ id: actionItem.id,
2969
+ title: actionItem.title || "",
2970
+ width: actionItem?.view?.width,
2971
+ children: actionItem?.view?.component({
2972
+ ...properties,
2973
+ setSideSheetWidth,
2974
+ setSideSheetButtonLabel,
2975
+ setSideSheetOnSubmit
2976
+ })
2977
+ };
2978
+ };
2979
+ const getDialogView = (actionItem) => {
2980
+ if (actionItem.opens === require_apiHelpers.ClickOpenEnums.Dialog) {
2981
+ const handleActionTwo = async () => {
2982
+ if (actionItem?.view?.properties?.actionTwo) {
2983
+ setIsLoading(true);
2984
+ await actionItem?.view?.properties?.actionTwo(value);
2985
+ setIsLoading(false);
2986
+ }
2987
+ closeDialog();
2988
+ };
2989
+ return {
2990
+ id: actionItem.id,
2991
+ title: actionItem?.title || "",
2992
+ closeDialog,
2993
+ message: actionItem?.view?.properties?.message,
2994
+ labelOne: actionItem?.view?.properties?.labelOne,
2995
+ actionTwo: handleActionTwo,
2996
+ labelTwo: actionItem?.view?.properties?.labelTwo
2997
+ };
2998
+ }
2999
+ };
3000
+ const displayActions = actionList.map((item, index) => {
3001
+ let onClick$1 = () => item.onClick(value);
3002
+ let title = item.title;
3003
+ let disabled = item.disabled;
3004
+ if (item.opens === require_apiHelpers.ClickOpenEnums.SideSheet) {
3005
+ const sheetView = getSheetView(item);
3006
+ onClick$1 = () => openSheet(sheetView);
3007
+ }
3008
+ if (item.opens === require_apiHelpers.ClickOpenEnums.Dialog) {
3009
+ const dialogView = getDialogView(item);
3010
+ onClick$1 = () => openDialog(dialogView);
3011
+ }
3012
+ if (item.getTitle) title = item.getTitle(value);
3013
+ if (item.checkDisabled) disabled = item.checkDisabled(value);
3014
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [item.loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3015
+ style: {
3016
+ display: "inline-flex",
3017
+ marginRight: 10
3018
+ },
3019
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab.Skeleton, {
3020
+ className: classes.circularSkeleton,
3021
+ width: 24,
3022
+ height: 40
3023
+ })
3024
+ }), !item.loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ActionItem, {
3025
+ title,
3026
+ icon: item.icon,
3027
+ onClick: onClick$1,
3028
+ disabled,
3029
+ businessObjectKey: value?.businessObjectKey
3030
+ }, `${item.id}-${index}`)] });
3031
+ });
3032
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [
3033
+ displayActions,
3034
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SideSheet.SideSheet, {
3035
+ open: sheetOpen,
3036
+ onClose: closeSheet,
3037
+ title: sheetItem?.title,
3038
+ width: sheetItem?.width || 600,
3039
+ buttonLabel: sideSheetButtonLabel,
3040
+ onSubmit: sideSheetOnSubmit,
3041
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: sheetItem?.children })
3042
+ }),
3043
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FluentDialog, {
3044
+ open: dialogOpen,
3045
+ handleClose: closeDialog,
3046
+ title: dialogItem?.title,
3047
+ message: dialogItem?.message,
3048
+ actionOne: dialogItem?.closeDialog,
3049
+ labelOne: dialogItem?.labelOne,
3050
+ actionTwo: dialogItem?.actionTwo,
3051
+ labelTwo: dialogItem?.labelTwo,
3052
+ progress: dialogItem?.isLoading
3053
+ })
3054
+ ] });
3055
+ });
3056
+ ActionItem.displayName = "ActionItem";
3057
+ ActionsRenderer.displayName = "ActionsRenderer";
3058
+
3059
+ //#endregion
3060
+ //#region src/UI/dataDisplay/HintPanel.jsx
3061
+ const useStyles$2 = (0, __material_ui_core_styles.makeStyles)((theme) => ({
3062
+ hintContainer: { borderLeft: `3px solid ${theme.palette.primary.main}` },
3063
+ hintContent: {
3064
+ backgroundColor: "#F3F9FE",
3065
+ padding: `1rem`
3066
+ },
3067
+ hideHintButton: {
3068
+ border: "none",
3069
+ background: "none",
3070
+ cursor: "pointer",
3071
+ color: "#0B79D0",
3072
+ textDecoration: "none"
3073
+ },
3074
+ hidehelp: {
3075
+ display: "flex",
3076
+ flexDirection: "column",
3077
+ alignItems: "flex-end",
3078
+ width: "100%"
3079
+ }
3080
+ }));
3081
+ const HintPanel = ({ hint, hideHintText }) => {
3082
+ const theme = (0, __material_ui_core_styles.useTheme)();
3083
+ const classes = useStyles$2(theme);
3084
+ const [showHint, setShowHint] = (0, react.useState)(true);
3085
+ const handleHideHint = () => {
3086
+ setShowHint(false);
3087
+ };
3088
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3089
+ className: classes.hintContainer,
3090
+ children: showHint && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3091
+ className: classes.hintContent,
3092
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: hint }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3093
+ className: classes.hidehelp,
3094
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
3095
+ className: classes.hideHintButton,
3096
+ onClick: handleHideHint,
3097
+ children: hideHintText
3098
+ })
3099
+ })]
3100
+ })
3101
+ });
3102
+ };
3103
+ HintPanel.propTypes = {
3104
+ hint: prop_types.default.string.isRequired,
3105
+ hideHintText: prop_types.default.string.isRequired
3106
+ };
3107
+
3108
+ //#endregion
3109
+ //#region src/UI/utilityDisplay/GridViewsSideSheet.jsx
3110
+ const useStyles$1 = (0, __material_ui_core.makeStyles)((theme) => ({
3111
+ publicChip: {
3112
+ backgroundColor: "#96d2ff",
3113
+ color: "black",
3114
+ width: "60%"
3115
+ },
3116
+ privateChip: {
3117
+ backgroundColor: "#fce597",
3118
+ color: "black",
3119
+ width: "60%"
3120
+ }
3121
+ }));
3122
+ const GridViewsSideSheet = (props) => {
3123
+ const { onClose, open, openSaveView, rowData, setSelectedView } = props;
3124
+ const classes = useStyles$1();
3125
+ const { t } = (0, react_i18next.useTranslation)();
3126
+ const { gridApi, onGridReady } = useAgGridApi();
3127
+ const gApi = gridApi;
3128
+ const ChipRenderer = ({ onChange, value, id }) => {
3129
+ const handleChipClick = () => {
3130
+ onChange(id);
3131
+ };
3132
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core_Chip.default, {
3133
+ label: value === require_EnvironmentRibbon.VisibilityTypeEnums.Public ? t("Public") : t("Private"),
3134
+ onClick: handleChipClick,
3135
+ className: value === require_EnvironmentRibbon.VisibilityTypeEnums.Public ? classes.publicChip : classes.privateChip,
3136
+ size: "small"
3137
+ });
3138
+ };
3139
+ const setView = (0, react.useCallback)((value) => {
3140
+ setSelectedView(value);
3141
+ onClose();
3142
+ }, [setSelectedView, onClose]);
3143
+ const actionList = (0, react.useMemo)(() => [{
3144
+ id: 1,
3145
+ title: t("Load View"),
3146
+ icon: __fluentui_react_icons.OpenInNewTabIcon,
3147
+ onClick: setView,
3148
+ disabled: false
3149
+ }, {
3150
+ id: 2,
3151
+ title: t("Workflows"),
3152
+ icon: __fluentui_react_icons.TableHeaderRowIcon,
3153
+ disabled: false
3154
+ }], [setView, t]);
3155
+ const gridOptions = {
3156
+ headerHeight: 0,
3157
+ frameworkComponents: {
3158
+ actionsRenderer: ActionsRenderer,
3159
+ chipRenderer: ChipRenderer
3160
+ },
3161
+ columnDefs: [
3162
+ {
3163
+ headerName: t("Name"),
3164
+ field: "name"
3165
+ },
3166
+ {
3167
+ field: "visibility",
3168
+ cellRenderer: "chipRenderer",
3169
+ cellRendererParams: (params) => ({
3170
+ onChange: (id) => {},
3171
+ value: params.data.gridViewVisibilityTypeId
3172
+ })
3173
+ },
3174
+ {
3175
+ headerName: t("Actions"),
3176
+ cellRenderer: "actionsRenderer",
3177
+ cellRendererParams: { actionList },
3178
+ width: "100px",
3179
+ pinned: "right",
3180
+ suppressMenu: true,
3181
+ sortable: false
3182
+ }
3183
+ ]
3184
+ };
3185
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_SideSheet.SideSheet, {
3186
+ id: "udpRecord-GridViewsSideSheet",
3187
+ udprecordid: "udpRecord-GridViewsSideSheet",
3188
+ open,
3189
+ onClose,
3190
+ width: "40%",
3191
+ title: "Select a View",
3192
+ buttonLabel: "Create View",
3193
+ onSubmit: openSaveView,
3194
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3195
+ style: { marginBottom: 10 },
3196
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(HintPanel, {
3197
+ hint: "Quickly access and manage your pre-configured table/grid views. These views are designed to help you focus on specific sets of data and streamline your workflow.",
3198
+ hideHintText: "Hide Help"
3199
+ })
3200
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AmbientGridTemplate, {
3201
+ gridOptions,
3202
+ title: "Saved Views",
3203
+ rowData: rowData || [],
3204
+ onGridReady,
3205
+ suppressCellSelection: true,
3206
+ suppressRowClickSelection: true,
3207
+ sideBar: false,
3208
+ pivotMode: false,
3209
+ pivotPanelShow: "never",
3210
+ animateRows: true,
3211
+ pagination: false,
3212
+ api: gApi,
3213
+ useNewHeader: true,
3214
+ hiddenActionButtons: [
3215
+ "saveView",
3216
+ "views",
3217
+ "insights",
3218
+ "importExport",
3219
+ "group",
3220
+ "filter",
3221
+ "columns",
3222
+ "fitGrid",
3223
+ "expandGrid",
3224
+ "clearFilters"
3225
+ ]
3226
+ })]
3227
+ });
3228
+ };
3229
+ GridViewsSideSheet.propTypes = {
3230
+ onClose: prop_types.default.func.isRequired,
3231
+ open: prop_types.default.bool.isRequired,
3232
+ selectedMethod: prop_types.default.string,
3233
+ catalog: prop_types.default.array,
3234
+ openSaveView: prop_types.default.func,
3235
+ setViewChips: prop_types.default.func,
3236
+ setFilter: prop_types.default.func,
3237
+ rowData: prop_types.default.array,
3238
+ setSelectedView: prop_types.default.func,
3239
+ frameworkComponents: prop_types.default.object,
3240
+ scrollToTopOnStateChange: prop_types.default.bool
3241
+ };
3242
+
3243
+ //#endregion
3244
+ //#region src/UI/utilityDisplay/BulkActionsGridButton.jsx
3245
+ const BulkActionsGridButton = (props) => {
3246
+ const { numSelectedRows, bulkActions, triggerAction, domain } = props;
3247
+ const [actionsAnchorEl, setActionsAnchorEl] = (0, react.useState)(null);
3248
+ const handleBulkActionsClick = (event) => {
3249
+ setActionsAnchorEl(event.currentTarget);
3250
+ };
3251
+ const triggerBulkAction = (actionId) => {
3252
+ triggerAction(actionId);
3253
+ };
3254
+ const filterAction = (action) => {
3255
+ return !!domain ? JSON.parse(action?.parameters)?.entityName === domain : true;
3256
+ };
3257
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3258
+ style: {
3259
+ marginTop: 5,
3260
+ marginLeft: 20
3261
+ },
3262
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Badge, {
3263
+ badgeContent: numSelectedRows,
3264
+ color: "secondary",
3265
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentButton, {
3266
+ type: "button",
3267
+ onClick: handleBulkActionsClick,
3268
+ variant: "outlined",
3269
+ color: "primary",
3270
+ endIcon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
3271
+ component: __fluentui_react_icons.ChevronDownIcon,
3272
+ size: "small"
3273
+ }),
3274
+ children: "With Selected"
3275
+ })
3276
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Popover, {
3277
+ id: "actions",
3278
+ open: Boolean(actionsAnchorEl),
3279
+ anchorEl: actionsAnchorEl,
3280
+ onClose: () => setActionsAnchorEl(null),
3281
+ anchorOrigin: {
3282
+ vertical: "bottom",
3283
+ horizontal: "right"
3284
+ },
3285
+ transformOrigin: {
3286
+ vertical: "top",
3287
+ horizontal: "right"
3288
+ },
3289
+ children: bulkActions && bulkActions.map((action) => {
3290
+ const valid = filterAction(action);
3291
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tooltip, {
3292
+ placement: "right",
3293
+ title: !valid ? "Action entity does not match data grid entity" : "",
3294
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.MenuItem, {
3295
+ onClick: () => triggerBulkAction(action.actionId),
3296
+ style: {
3297
+ display: "flex",
3298
+ justifyContent: "space-between"
3299
+ },
3300
+ disabled: !valid,
3301
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, { children: action.name }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
3302
+ component: valid ? action.icon ?? __fluentui_react_icons.AppIconDefaultIcon : __fluentui_react_icons.ErrorIcon,
3303
+ style: { marginLeft: 7 },
3304
+ color: !valid && "red"
3305
+ })]
3306
+ }) })
3307
+ });
3308
+ })
3309
+ })]
3310
+ });
3311
+ };
3312
+
3313
+ //#endregion
3314
+ //#region src/models/SearchOperator.ts
3315
+ const SearchOperators = [
3316
+ {
3317
+ value: "=",
3318
+ label: "Equals"
3319
+ },
3320
+ {
3321
+ value: "IN",
3322
+ label: "Contains"
3323
+ },
3324
+ {
3325
+ value: "<>",
3326
+ label: "Does not Equal"
3327
+ },
3328
+ {
3329
+ value: ">",
3330
+ label: "Greater Than"
3331
+ },
3332
+ {
3333
+ value: "<",
3334
+ label: "Less Than"
3335
+ },
3336
+ {
3337
+ value: ">=",
3338
+ label: "Greater Than or Equal To"
3339
+ },
3340
+ {
3341
+ value: "<=",
3342
+ label: "Less Than or Equal To"
3343
+ },
3344
+ {
3345
+ value: "LIKE",
3346
+ label: "Like"
3347
+ },
3348
+ {
3349
+ value: "STARTSWITH",
3350
+ label: "Starts With"
3351
+ },
3352
+ {
3353
+ value: "BETWEEN",
3354
+ label: "Between"
3355
+ }
3356
+ ];
3357
+ const FilterOperators = {
3358
+ equals: "=",
3359
+ contains: "LIKE",
3360
+ notEqual: "<>",
3361
+ greaterThan: ">",
3362
+ lessThan: "<",
3363
+ greaterThanOrEqual: ">=",
3364
+ lessThanOrEqual: "<=",
3365
+ between: "BETWEEN",
3366
+ In: "IN",
3367
+ startsWith: "STARTSWITH"
3368
+ };
3369
+
3370
+ //#endregion
3371
+ //#region src/UI/templates/AmbientGridTemplate.jsx
3372
+ const useStyles = (0, __material_ui_core.makeStyles)((theme) => ({
3373
+ root: {},
3374
+ pab: {
3375
+ display: "flex",
3376
+ [theme.breakpoints.between("xs", "sm")]: {
3377
+ position: "fixed",
3378
+ bottom: theme.spacing(2),
3379
+ right: theme.spacing(2),
3380
+ zIndex: theme.zIndex.appBar
3381
+ }
3382
+ },
3383
+ groupSideBar: { width: 225 },
3384
+ gridApi: { display: "flex" }
3385
+ }));
3386
+ const AmbientGridTemplate = (props) => {
3387
+ const { additionalFilters, api, apiMethod, applicationName, bulkActionFunctions, clearGridConfig, columnApi, columnDefs, data, defaultAutoSize, deleteGridConfig, disablePagination, disableDynamicSizing, disableRowSelection, entityName, filterChips = [], filters, frameworkComponents, gridReady, gridId, groupingData, height, hideFitGrid, hideExpandGrid, hideExportGrid, hideRemoveFilters, hideFilterTab, hideGroupTab, hideColumnTab, hideSearchBar, hiddenLabels, hiddenActionButtons = [], kpiValues = [], loading = false, onRowSelected, onSearch, onPrimaryActionClick, paginationPageSize = 20, primaryActionButton, primaryActionDisabled, primaryActionLabel, primaryActionIcon, rowModelType = "clientSide", rowNodeIdName, saveGridConfig, scrollToTopOnStateChange, secondaryActionButtons, title, tenantName, hideHeader, useNewHeader, insightsClick, user, id, udprecordid, additionalGridOptions = {}, headerBackgroundColor, onSearchKeyDown,...otherGridProps } = props;
3388
+ const classes = useStyles();
3389
+ const { gridApi, gridColumnApi, onGridReady } = useAgGridApi();
3390
+ const [isVisible, setIsVisible] = (0, react.useState)();
3391
+ const [sidebarIsVisible, setSidebarIsVisible] = (0, react.useState)(false);
3392
+ const [showGroupOptions, setShowGroupOptions] = (0, react.useState)(false);
3393
+ const [selectedRow, setSelectedRow] = (0, react.useState)(null);
3394
+ const [value, setValue] = (0, react.useState)(0);
3395
+ const [saveViewOpen, setSaveViewOpen] = (0, react.useState)(false);
3396
+ const [defaultViews, setDefaultViews] = (0, react.useState)([]);
3397
+ const [viewsOpen, setViewsOpen] = (0, react.useState)(false);
3398
+ const [agGridOptions, setAgGridOptions] = (0, react.useState)({
3399
+ frameworkComponents,
3400
+ suppressScrollOnNewData: !scrollToTopOnStateChange,
3401
+ ...additionalGridOptions
3402
+ });
3403
+ const gApi = api || gridApi;
3404
+ const gcApi = columnApi || gridColumnApi;
3405
+ const [viewChips, setViewChips] = (0, react.useState)([]);
3406
+ const [additionalFilterChips, setAdditionalFilterChips] = (0, react.useState)(additionalFilters);
3407
+ const [columnDefsValues, setColumnDefsValues] = (0, react.useState)(null);
3408
+ const [selectedView, setSelectedView] = (0, react.useState)(null);
3409
+ const [viewsRowData, setViewsRowData] = (0, react.useState)(null);
3410
+ const [nonDefaultViewsRowData, setNonDefaultViewsRowData] = (0, react.useState)();
3411
+ const [numSelectedRows, setNumSelectedRows] = (0, react.useState)(0);
3412
+ const [domain, setDomain] = (0, react.useState)(null);
3413
+ const [apiCatalogId, setApiCatalogId] = (0, react.useState)(null);
3414
+ const { triggerAction } = useActions();
3415
+ (0, react.useEffect)(() => {
3416
+ if (apiMethod) {
3417
+ setDomain(apiMethod.entityName);
3418
+ setApiCatalogId(apiMethod.apiCatalogId);
3419
+ }
3420
+ }, [
3421
+ apiMethod,
3422
+ setDomain,
3423
+ setApiCatalogId
3424
+ ]);
3425
+ const defaultColActionsDef = {
3426
+ resizable: true,
3427
+ editable: false,
3428
+ sortable: true,
3429
+ filter: true,
3430
+ floatingFilter: false,
3431
+ enableRowGroup: true,
3432
+ filterParams: { filterOptions: rowModelType === "serverSide" ? Object.keys(FilterOperators) : void 0 }
3433
+ };
3434
+ const handleChange = (event, newValue) => {
3435
+ event.preventDefault();
3436
+ setValue((preValue) => {
3437
+ if (newValue === preValue && newValue !== 1) gApi.setSideBarVisible(!gApi.isSideBarVisible());
3438
+ else if (newValue === 0) {
3439
+ gApi.setSideBarVisible(true);
3440
+ gApi.openToolPanel("filters");
3441
+ setShowGroupOptions(false);
3442
+ } else if (newValue === 1) {
3443
+ showGrouping();
3444
+ gApi.setSideBarVisible(false);
3445
+ } else {
3446
+ gApi.setSideBarVisible(true);
3447
+ gApi.openToolPanel("columns");
3448
+ setShowGroupOptions(false);
3449
+ }
3450
+ return newValue;
3451
+ });
3452
+ };
3453
+ const onFilterClick = (event) => {
3454
+ event.preventDefault();
3455
+ gApi.setSideBarVisible(!gApi.isSideBarVisible());
3456
+ gApi.openToolPanel("filters");
3457
+ setShowGroupOptions(false);
3458
+ setValue(0);
3459
+ setSidebarIsVisible(!sidebarIsVisible);
3460
+ };
3461
+ const onColumnsClick = (event) => {
3462
+ event.preventDefault();
3463
+ gApi.setSideBarVisible(!gApi.isSideBarVisible());
3464
+ gApi.openToolPanel("columns");
3465
+ setShowGroupOptions(false);
3466
+ setValue(2);
3467
+ setSidebarIsVisible(!sidebarIsVisible);
3468
+ };
3469
+ const emptyArr = [];
3470
+ const handleRowSelected = (0, react.useCallback)((event) => {
3471
+ if (!gApi) return;
3472
+ const selectedRows = gApi.getSelectedRows();
3473
+ setNumSelectedRows(selectedRows.length);
3474
+ const row = selectedRows.length && selectedRows[0];
3475
+ setSelectedRow(row);
3476
+ if (onRowSelected) onRowSelected(event, row);
3477
+ }, [gApi, onRowSelected]);
3478
+ const setSideBarInvisible = () => {
3479
+ if (gApi.isSideBarVisible()) {
3480
+ gApi.setSideBarVisible(false);
3481
+ setIsVisible(false);
3482
+ } else {
3483
+ gApi.setSideBarVisible(true);
3484
+ gApi.openToolPanel("filters");
3485
+ setShowGroupOptions(false);
3486
+ setIsVisible(true);
3487
+ }
3488
+ };
3489
+ const handleFilterChange = (event) => {
3490
+ gApi.setQuickFilter(event.target.value);
3491
+ };
3492
+ const groupGridItems = (groupItem) => {
3493
+ gcApi.setRowGroupColumns([groupItem]);
3494
+ gApi.expandAll();
3495
+ };
3496
+ const restoreGridDefault = () => {
3497
+ gApi.setQuickFilter("");
3498
+ gcApi.setRowGroupColumns([]);
3499
+ gApi.setFilterModel(null);
3500
+ gApi.setQuickFilter("");
3501
+ gcApi.resetColumnState();
3502
+ };
3503
+ const showGrouping = () => {
3504
+ setShowGroupOptions(!showGroupOptions);
3505
+ gApi.setSideBarVisible(false);
3506
+ };
3507
+ const expandGroupedGrid = () => {
3508
+ gApi.expandAll();
3509
+ };
3510
+ const collapseGroupedGrid = () => {
3511
+ gApi.collapseAll();
3512
+ };
3513
+ const fitToSpace = () => {
3514
+ gApi.sizeColumnsToFit();
3515
+ };
3516
+ const exportGrid = () => {
3517
+ gApi.exportDataAsCsv({
3518
+ allColumns: true,
3519
+ fileName: "export"
3520
+ });
3521
+ };
3522
+ const openSaveView = () => {
3523
+ setColumnDefsValues(JSON.stringify(gcApi.getColumnState()));
3524
+ setSaveViewOpen(true);
3525
+ };
3526
+ const closeSaveView = () => {
3527
+ setSaveViewOpen(false);
3528
+ };
3529
+ const openViews = (0, react.useCallback)(() => {
3530
+ setViewsOpen(true);
3531
+ }, []);
3532
+ const closeViews = () => {
3533
+ setViewsOpen(false);
3534
+ };
3535
+ const handleTriggerAction = (0, react.useCallback)((actionId) => {
3536
+ if (triggerAction && gApi) triggerAction(actionId, gApi.getSelectedRows());
3537
+ }, [triggerAction, gApi]);
3538
+ const autoSizeAll = (0, react.useCallback)((skipHeader) => {
3539
+ (0, invariant.default)(gcApi, `gridColumnApi not ready`);
3540
+ const allColumnIds = [];
3541
+ gcApi.getAllColumns().forEach((column) => {
3542
+ allColumnIds.push(column.getColId());
3543
+ });
3544
+ gcApi.autoSizeColumns(allColumnIds, skipHeader);
3545
+ }, [gcApi]);
3546
+ const autoSizeAllWithoutHeader = (0, react.useCallback)(() => autoSizeAll(false), [autoSizeAll]);
3547
+ const firstDataRendered = (0, react.useCallback)((params) => {
3548
+ !defaultAutoSize && params?.api.sizeColumnsToFit();
3549
+ defaultAutoSize && autoSizeAllWithoutHeader();
3550
+ }, [defaultAutoSize, autoSizeAllWithoutHeader]);
3551
+ (0, react.useEffect)(() => {
3552
+ if (!gApi) return;
3553
+ setSelectedRow(gApi.getSelectedRows()?.length && gApi.getSelectedRows()[0]);
3554
+ selectedRow && gApi.ensureNodeVisible(selectedRow);
3555
+ }, [gApi, selectedRow]);
3556
+ const handleChipDelete = (chipType, chipIndex) => {
3557
+ switch (chipType) {
3558
+ case "view":
3559
+ setViewChips((prevChips) => prevChips.filter((_, index) => index !== chipIndex));
3560
+ setSelectedView(null);
3561
+ gcApi.resetColumnState();
3562
+ gApi.sizeColumnsToFit();
3563
+ break;
3564
+ case "additionalFilter":
3565
+ setAdditionalFilterChips((prevChips) => {
3566
+ if (prevChips[chipIndex]?.onUntoggle) prevChips[chipIndex]?.onUntoggle();
3567
+ return prevChips.filter((_, index) => index !== chipIndex);
3568
+ });
3569
+ break;
3570
+ default: break;
3571
+ }
3572
+ };
3573
+ (0, react.useEffect)(() => {
3574
+ if (viewsRowData?.length > 0) {
3575
+ const DefaultViews = viewsRowData.reduce((acc, row) => {
3576
+ if (row.isDefault) return [...acc, row];
3577
+ return acc;
3578
+ }, []);
3579
+ const nonDefaultViews = viewsRowData.reduce((acc, row) => {
3580
+ if (!row.isDefault) return [...acc, row];
3581
+ return acc;
3582
+ }, []);
3583
+ setDefaultViews(DefaultViews);
3584
+ setNonDefaultViewsRowData(nonDefaultViews);
3585
+ }
3586
+ }, [viewsRowData]);
3587
+ const setView = (0, react.useCallback)((value$1) => {
3588
+ const columnState = value$1?.gridViewGridViewGridConfiguration.map((ele) => ele.gridViewGridConfigurationGridConfiguration);
3589
+ setViewChips((prevChips) => [{ label: value$1?.name }]);
3590
+ onFirstDataRendered(gApi, gcApi, columnState);
3591
+ }, [
3592
+ setViewChips,
3593
+ gApi,
3594
+ gcApi
3595
+ ]);
3596
+ const setFilter = (value$1) => {};
3597
+ const [{ data: views }, refetch] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.tenantV2ApiUrl, `GridView/getFromUser/${user?.id}/${gridId}`, { params: {
3598
+ domainName: domain,
3599
+ apiCatalogId
3600
+ } }, !!!udp_react_stencil_component_library.ConfigService.tenantV2ApiUrl || !!!gridId || !!!user);
3601
+ const [{ data: bulkActions }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.integrationV2ApiUrl, `action/grid/${gridId}`, {}, !!!udp_react_stencil_component_library.ConfigService.integrationV2ApiUrl || !!!gridId);
3602
+ (0, react.useEffect)(() => {
3603
+ setViewsRowData(views);
3604
+ }, [openViews, views]);
3605
+ const getView = (0, react.useCallback)(async () => {
3606
+ await require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.tenantV2ApiUrl, `GridView/${selectedView.gridViewId}/PartiallyFull`, { method: "get" }).then((response) => {
3607
+ setView(response.data);
3608
+ }).catch((error) => {
3609
+ console.log(error);
3610
+ });
3611
+ }, [selectedView, setView]);
3612
+ (0, react.useEffect)(() => {
3613
+ if (!selectedView?.gridViewId) {
3614
+ gcApi?.resetColumnState();
3615
+ gApi?.sizeColumnsToFit();
3616
+ return void 0;
3617
+ }
3618
+ getView();
3619
+ return void 0;
3620
+ }, [
3621
+ setSelectedView,
3622
+ selectedView,
3623
+ gcApi,
3624
+ gApi,
3625
+ getView
3626
+ ]);
3627
+ (0, react.useEffect)(() => {
3628
+ if (additionalFilters) setAdditionalFilterChips(additionalFilters);
3629
+ }, [additionalFilters]);
3630
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
3631
+ !hideHeader && useNewHeader && gApi && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GridPrimaryBar, {
3632
+ title,
3633
+ showFilter: setSideBarInvisible,
3634
+ selected: isVisible,
3635
+ onChange: onSearch || handleFilterChange,
3636
+ showGroup: showGrouping,
3637
+ value,
3638
+ saveViewClick: openSaveView,
3639
+ viewsClick: openViews,
3640
+ handleChange,
3641
+ fitClick: fitToSpace,
3642
+ expandClick: autoSizeAllWithoutHeader,
3643
+ exportClick: exportGrid,
3644
+ insightsClick,
3645
+ clearClick: restoreGridDefault,
3646
+ filterClick: onFilterClick,
3647
+ columnsClick: onColumnsClick,
3648
+ hideSearchBar,
3649
+ secondaryActionButtons: secondaryActionButtons || [],
3650
+ onPrimaryActionClick,
3651
+ primaryActionDisabled,
3652
+ primaryActionLabel,
3653
+ primaryActionIcon,
3654
+ hiddenActionButtons: hiddenActionButtons || [],
3655
+ hiddenLabels: hiddenLabels || [],
3656
+ background: headerBackgroundColor,
3657
+ onSearchKeyDown
3658
+ }),
3659
+ useNewHeader && (kpiValues?.length > 0 || filterChips?.length > 0 || filters?.length > 0 || viewChips?.length > 0 || additionalFilterChips?.length > 0) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3660
+ style: {
3661
+ display: "flex",
3662
+ flexDirection: "row",
3663
+ height: 40
3664
+ },
3665
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Grow, {
3666
+ in: bulkActions && numSelectedRows > 0,
3667
+ unmountOnExit: true,
3668
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BulkActionsGridButton, {
3669
+ bulkActions,
3670
+ numSelectedRows,
3671
+ triggerAction: handleTriggerAction,
3672
+ domain
3673
+ })
3674
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChipSection, {
3675
+ filterChips,
3676
+ viewChips,
3677
+ additionalFilterChips,
3678
+ kpiValues,
3679
+ handleDelete: handleChipDelete,
3680
+ setAdditionalFilterChips,
3681
+ setViewChips,
3682
+ setFilter
3683
+ })]
3684
+ }),
3685
+ useNewHeader && gApi && gcApi && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GridViewsSideSheet, {
3686
+ open: viewsOpen,
3687
+ onClose: closeViews,
3688
+ openSaveView,
3689
+ setViewChips,
3690
+ setFilter: setView,
3691
+ rowData: views,
3692
+ setSelectedView
3693
+ }),
3694
+ !hideHeader && !useNewHeader && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GridActionBar, {
3695
+ title,
3696
+ showFilter: setSideBarInvisible,
3697
+ selected: isVisible,
3698
+ onChange: onSearch || handleFilterChange,
3699
+ showGroup: showGrouping,
3700
+ value,
3701
+ handleChange,
3702
+ fitClick: fitToSpace,
3703
+ expandClick: autoSizeAllWithoutHeader,
3704
+ exportClick: exportGrid,
3705
+ clearClick: restoreGridDefault,
3706
+ saveGridConfig,
3707
+ deleteGridConfig,
3708
+ clearGridConfig,
3709
+ hideFitGrid,
3710
+ hideExpandGrid,
3711
+ hideExportGrid,
3712
+ hideRemoveFilters,
3713
+ hideFilterTab,
3714
+ hideGroupTab,
3715
+ hideColumnTab,
3716
+ hideSearchBar,
3717
+ children: primaryActionButton && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3718
+ className: classes.pab,
3719
+ children: primaryActionButton
3720
+ })
3721
+ }),
3722
+ loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.LinearProgress, {}),
3723
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3724
+ style: { display: "flex" },
3725
+ children: [
3726
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3727
+ style: { width: "100%" },
3728
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AgTable, {
3729
+ ...agGridOptions,
3730
+ columnDefs,
3731
+ dynamicSizing: !disableDynamicSizing,
3732
+ rowData: data || emptyArr,
3733
+ onGridReady: gridReady || onGridReady,
3734
+ onRowSelected: handleRowSelected,
3735
+ suppressCellSelection: true,
3736
+ suppressRowClickSelection: false,
3737
+ defaultColDef: defaultColActionsDef,
3738
+ enableRangeSelection: true,
3739
+ enableColResize: true,
3740
+ sideBar: sidebarIsVisible,
3741
+ pivotMode: false,
3742
+ pivotPanelShow: "never",
3743
+ groupSelectsChildren: true,
3744
+ animateRows: false,
3745
+ pagination: !disablePagination,
3746
+ showOpenedGroup: true,
3747
+ paginateChildRows: true,
3748
+ paginationPageSize,
3749
+ modules: rowModelType === "serverSide" ? [__ag_grid_enterprise_server_side_row_model.ServerSideRowModelModule] : [],
3750
+ onFirstDataRendered: firstDataRendered,
3751
+ rowModelType,
3752
+ rowClassRules: { "first-row-in-group": (params) => params.node.rowIndex !== 0 && params.node.firstChild },
3753
+ height,
3754
+ api: gApi,
3755
+ rowSelection: !disableRowSelection && (bulkActions ? "multiple" : "single"),
3756
+ hideHeader,
3757
+ ...otherGridProps
3758
+ })
3759
+ }),
3760
+ showGroupOptions && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3761
+ className: classes.groupSideBar,
3762
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GridGroupingSidebar, {
3763
+ groupItem: (item) => groupGridItems(item),
3764
+ closeClick: () => groupGridItems(""),
3765
+ expandClick: expandGroupedGrid,
3766
+ collapseClick: collapseGroupedGrid,
3767
+ groupingData,
3768
+ height
3769
+ })
3770
+ }),
3771
+ !hiddenActionButtons?.includes("saveView") && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SaveViewFormDialog, {
3772
+ open: saveViewOpen,
3773
+ handleClose: closeSaveView,
3774
+ application: applicationName,
3775
+ tenant: tenantName,
3776
+ user,
3777
+ columnDefsValues,
3778
+ refetchViews: refetch,
3779
+ gApi,
3780
+ gcApi,
3781
+ setSelectedView: setView,
3782
+ gridId,
3783
+ domain,
3784
+ apiCatalogId
3785
+ })
3786
+ ]
3787
+ })
3788
+ ] });
3789
+ };
3790
+ AmbientGridTemplate.propTypes = {
3791
+ columnDefs: prop_types.default.array,
3792
+ handleRowSelected: prop_types.default.func,
3793
+ data: prop_types.default.array,
3794
+ title: prop_types.default.string,
3795
+ groupingData: prop_types.default.array,
3796
+ frameworkComponents: prop_types.default.object,
3797
+ loading: prop_types.default.bool,
3798
+ primaryActionButton: prop_types.default.object,
3799
+ rowNodeIdName: prop_types.default.string,
3800
+ defaultAutoSize: prop_types.default.bool,
3801
+ scrollToTopOnStateChange: prop_types.default.bool,
3802
+ disableDynamicSizing: prop_types.default.bool,
3803
+ filters: prop_types.default.arrayOf(prop_types.default.shape({
3804
+ label: prop_types.default.string.isRequired,
3805
+ value: prop_types.default.string.isRequired
3806
+ })),
3807
+ views: prop_types.default.arrayOf(prop_types.default.shape({ label: prop_types.default.string.isRequired })),
3808
+ additionalFilters: prop_types.default.arrayOf(prop_types.default.shape({ label: prop_types.default.string.isRequired })),
3809
+ kpis: prop_types.default.arrayOf(prop_types.default.shape({
3810
+ label: prop_types.default.string.isRequired,
3811
+ value: prop_types.default.oneOfType([prop_types.default.string, prop_types.default.number]).isRequired
3812
+ })),
3813
+ useNewHeader: prop_types.default.bool,
3814
+ insightsClick: prop_types.default.func,
3815
+ hiddenActionButtons: prop_types.default.arrayOf(prop_types.default.oneOf([
3816
+ "saveView",
3817
+ "views",
3818
+ "insights",
3819
+ "importExport",
3820
+ "group",
3821
+ "filter",
3822
+ "columns",
3823
+ "fitGrid",
3824
+ "expandGrid",
3825
+ "clearFilters"
3826
+ ])),
3827
+ hiddenLabels: prop_types.default.arrayOf(prop_types.default.oneOf([
3828
+ "saveView",
3829
+ "views",
3830
+ "insights",
3831
+ "importExport",
3832
+ "group",
3833
+ "filter",
3834
+ "columns",
3835
+ "fitGrid",
3836
+ "expandGrid",
3837
+ "clearFilters"
3838
+ ])),
3839
+ onPrimaryActionClick: prop_types.default.func,
3840
+ primaryActionLabel: prop_types.default.string,
3841
+ primaryActionIcon: prop_types.default.elementType,
3842
+ secondaryActionButtons: prop_types.default.array,
3843
+ applicationName: prop_types.default.string,
3844
+ entityName: prop_types.default.string,
3845
+ tenantName: prop_types.default.string,
3846
+ user: prop_types.default.object,
3847
+ kpiValues: prop_types.default.array
3848
+ };
3849
+
3850
+ //#endregion
3851
+ Object.defineProperty(exports, 'ActionContext', {
3852
+ enumerable: true,
3853
+ get: function () {
3854
+ return ActionContext;
3855
+ }
3856
+ });
3857
+ Object.defineProperty(exports, 'ActionDispatchContext', {
3858
+ enumerable: true,
3859
+ get: function () {
3860
+ return ActionDispatchContext;
3861
+ }
3862
+ });
3863
+ Object.defineProperty(exports, 'ActionLoadingDispatchContext', {
3864
+ enumerable: true,
3865
+ get: function () {
3866
+ return ActionLoadingDispatchContext;
3867
+ }
3868
+ });
3869
+ Object.defineProperty(exports, 'ActionsRenderer', {
3870
+ enumerable: true,
3871
+ get: function () {
3872
+ return ActionsRenderer;
3873
+ }
3874
+ });
3875
+ Object.defineProperty(exports, 'AgTable', {
3876
+ enumerable: true,
3877
+ get: function () {
3878
+ return AgTable;
3879
+ }
3880
+ });
3881
+ Object.defineProperty(exports, 'AgTableButtons', {
3882
+ enumerable: true,
3883
+ get: function () {
3884
+ return AgTableButtons;
3885
+ }
3886
+ });
3887
+ Object.defineProperty(exports, 'AmbientGridTemplate', {
3888
+ enumerable: true,
3889
+ get: function () {
3890
+ return AmbientGridTemplate;
3891
+ }
3892
+ });
3893
+ Object.defineProperty(exports, 'AmbientTextField', {
3894
+ enumerable: true,
3895
+ get: function () {
3896
+ return AmbientTextField;
3897
+ }
3898
+ });
3899
+ Object.defineProperty(exports, 'AmbientToggleButton', {
3900
+ enumerable: true,
3901
+ get: function () {
3902
+ return AmbientToggleButton;
3903
+ }
3904
+ });
3905
+ Object.defineProperty(exports, 'AmbientTokenButton', {
3906
+ enumerable: true,
3907
+ get: function () {
3908
+ return AmbientTokenButton;
3909
+ }
3910
+ });
3911
+ Object.defineProperty(exports, 'DynamicContainerWithMenu', {
3912
+ enumerable: true,
3913
+ get: function () {
3914
+ return DynamicContainerWithMenu;
3915
+ }
3916
+ });
3917
+ Object.defineProperty(exports, 'Ellipse', {
3918
+ enumerable: true,
3919
+ get: function () {
3920
+ return Ellipse;
3921
+ }
3922
+ });
3923
+ Object.defineProperty(exports, 'FilterOperators', {
3924
+ enumerable: true,
3925
+ get: function () {
3926
+ return FilterOperators;
3927
+ }
3928
+ });
3929
+ Object.defineProperty(exports, 'FluentDialog', {
3930
+ enumerable: true,
3931
+ get: function () {
3932
+ return FluentDialog;
3933
+ }
3934
+ });
3935
+ Object.defineProperty(exports, 'GridActionBar', {
3936
+ enumerable: true,
3937
+ get: function () {
3938
+ return GridActionBar;
3939
+ }
3940
+ });
3941
+ Object.defineProperty(exports, 'GridGroupingHeader', {
3942
+ enumerable: true,
3943
+ get: function () {
3944
+ return GridGroupingHeader;
3945
+ }
3946
+ });
3947
+ Object.defineProperty(exports, 'GridGroupingSidebar', {
3948
+ enumerable: true,
3949
+ get: function () {
3950
+ return GridGroupingSidebar;
3951
+ }
3952
+ });
3953
+ Object.defineProperty(exports, 'GridSidebarContainer', {
3954
+ enumerable: true,
3955
+ get: function () {
3956
+ return GridSidebarContainer;
3957
+ }
3958
+ });
3959
+ Object.defineProperty(exports, 'IconButtonWithTooltip', {
3960
+ enumerable: true,
3961
+ get: function () {
3962
+ return IconButtonWithTooltip;
3963
+ }
3964
+ });
3965
+ Object.defineProperty(exports, 'LicenseKey', {
3966
+ enumerable: true,
3967
+ get: function () {
3968
+ return LicenseKey;
3969
+ }
3970
+ });
3971
+ Object.defineProperty(exports, 'SearchOperators', {
3972
+ enumerable: true,
3973
+ get: function () {
3974
+ return SearchOperators;
3975
+ }
3976
+ });
3977
+ Object.defineProperty(exports, 'Token', {
3978
+ enumerable: true,
3979
+ get: function () {
3980
+ return Token;
3981
+ }
3982
+ });
3983
+ Object.defineProperty(exports, 'clearGridState', {
3984
+ enumerable: true,
3985
+ get: function () {
3986
+ return clearGridState;
3987
+ }
3988
+ });
3989
+ Object.defineProperty(exports, 'deleteGridState', {
3990
+ enumerable: true,
3991
+ get: function () {
3992
+ return deleteGridState;
3993
+ }
3994
+ });
3995
+ Object.defineProperty(exports, 'findTermByType', {
3996
+ enumerable: true,
3997
+ get: function () {
3998
+ return findTermByType;
3999
+ }
4000
+ });
4001
+ Object.defineProperty(exports, 'getCommonEntityName', {
4002
+ enumerable: true,
4003
+ get: function () {
4004
+ return getCommonEntityName;
4005
+ }
4006
+ });
4007
+ Object.defineProperty(exports, 'getEllipseColor', {
4008
+ enumerable: true,
4009
+ get: function () {
4010
+ return getEllipseColor;
4011
+ }
4012
+ });
4013
+ Object.defineProperty(exports, 'getEntityAttributes', {
4014
+ enumerable: true,
4015
+ get: function () {
4016
+ return getEntityAttributes;
4017
+ }
4018
+ });
4019
+ Object.defineProperty(exports, 'getFullyQualifiedName', {
4020
+ enumerable: true,
4021
+ get: function () {
4022
+ return getFullyQualifiedName;
4023
+ }
4024
+ });
4025
+ Object.defineProperty(exports, 'getGridState', {
4026
+ enumerable: true,
4027
+ get: function () {
4028
+ return getGridState;
4029
+ }
4030
+ });
4031
+ Object.defineProperty(exports, 'getPathObject', {
4032
+ enumerable: true,
4033
+ get: function () {
4034
+ return getPathObject;
4035
+ }
4036
+ });
4037
+ Object.defineProperty(exports, 'getPathParametersObj', {
4038
+ enumerable: true,
4039
+ get: function () {
4040
+ return getPathParametersObj;
4041
+ }
4042
+ });
4043
+ Object.defineProperty(exports, 'getPrimaryKeyValues', {
4044
+ enumerable: true,
4045
+ get: function () {
4046
+ return getPrimaryKeyValues;
4047
+ }
4048
+ });
4049
+ Object.defineProperty(exports, 'getSanitizedName', {
4050
+ enumerable: true,
4051
+ get: function () {
4052
+ return getSanitizedName;
4053
+ }
4054
+ });
4055
+ Object.defineProperty(exports, 'getSuccessAction', {
4056
+ enumerable: true,
4057
+ get: function () {
4058
+ return getSuccessAction;
4059
+ }
4060
+ });
4061
+ Object.defineProperty(exports, 'isValueSelected', {
4062
+ enumerable: true,
4063
+ get: function () {
4064
+ return isValueSelected;
4065
+ }
4066
+ });
4067
+ Object.defineProperty(exports, 'onFirstDataRendered', {
4068
+ enumerable: true,
4069
+ get: function () {
4070
+ return onFirstDataRendered;
4071
+ }
4072
+ });
4073
+ Object.defineProperty(exports, 'saveGridState', {
4074
+ enumerable: true,
4075
+ get: function () {
4076
+ return saveGridState;
4077
+ }
4078
+ });
4079
+ Object.defineProperty(exports, 'useActionState', {
4080
+ enumerable: true,
4081
+ get: function () {
4082
+ return useActionState;
4083
+ }
4084
+ });
4085
+ Object.defineProperty(exports, 'useActionStore', {
4086
+ enumerable: true,
4087
+ get: function () {
4088
+ return useActionStore;
4089
+ }
4090
+ });
4091
+ Object.defineProperty(exports, 'useActions', {
4092
+ enumerable: true,
4093
+ get: function () {
4094
+ return useActions;
4095
+ }
4096
+ });
4097
+ Object.defineProperty(exports, 'useAgGridApi', {
4098
+ enumerable: true,
4099
+ get: function () {
4100
+ return useAgGridApi;
4101
+ }
4102
+ });
4103
+ Object.defineProperty(exports, 'useCatalogStore', {
4104
+ enumerable: true,
4105
+ get: function () {
4106
+ return useCatalogStore;
4107
+ }
4108
+ });
4109
+ Object.defineProperty(exports, 'useDynamicListCalculation', {
4110
+ enumerable: true,
4111
+ get: function () {
4112
+ return useDynamicListCalculation;
4113
+ }
4114
+ });
4115
+ Object.defineProperty(exports, 'useExport', {
4116
+ enumerable: true,
4117
+ get: function () {
4118
+ return useExport;
4119
+ }
4120
+ });
4121
+ Object.defineProperty(exports, 'useGridClear', {
4122
+ enumerable: true,
4123
+ get: function () {
4124
+ return useGridClear;
4125
+ }
4126
+ });
4127
+ Object.defineProperty(exports, 'useGridFormat', {
4128
+ enumerable: true,
4129
+ get: function () {
4130
+ return useGridFormat;
4131
+ }
4132
+ });
4133
+ Object.defineProperty(exports, 'useHandleAction', {
4134
+ enumerable: true,
4135
+ get: function () {
4136
+ return useHandleAction;
4137
+ }
4138
+ });
4139
+ Object.defineProperty(exports, 'useInquiryStore', {
4140
+ enumerable: true,
4141
+ get: function () {
4142
+ return useInquiryStore;
4143
+ }
4144
+ });
4145
+ Object.defineProperty(exports, 'useQuickFilter', {
4146
+ enumerable: true,
4147
+ get: function () {
4148
+ return useQuickFilter;
4149
+ }
4150
+ });
4151
+ //# sourceMappingURL=AmbientGridTemplate-RvpH04W2.cjs.map