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,1756 @@
1
+ import { FluentIcon, FluentIconButton, LayoutUnit, PrimaryActionButton, StandardTitle, StatusChip, useAxiosGet, useId, useShellStore } from "./EnvironmentRibbon-DBJftQWQ.js";
2
+ import React, { Fragment, createContext, createRef, forwardRef, memo, useCallback, useEffect, useMemo, useReducer, useRef, useState } from "react";
3
+ import { Badge, Button, ButtonBase, Card, CardActions, CardContent, CircularProgress, Collapse, Divider, IconButton, LinearProgress, ListItemIcon, ListItemText, Menu, MenuItem, Popover, Slide, Tooltip, Typography, lighten, makeStyles, useTheme } from "@material-ui/core";
4
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
5
+ import { ConfigService } from "udp-react-stencil-component-library";
6
+ import { Redirect, useHistory, useLocation } from "react-router-dom";
7
+ import clsx from "clsx";
8
+ import { ArrowUpRightIcon, ChevronFold10Icon, ChevronRightIcon, ChevronUnfold10Icon, ClearIcon, DeleteIcon, ExcelDocumentIcon, FilterIcon, GroupListIcon, MaximumValueIcon, MoreIcon, MoreVerticalIcon, PDFIcon, SaveIcon, SearchIcon, TextDocumentIcon } from "@fluentui/react-icons";
9
+ import PropTypes from "prop-types";
10
+ import { useTranslation } from "react-i18next";
11
+ import { create } from "zustand";
12
+ import { v4 } from "uuid";
13
+ import { createTeleporter } from "react-teleporter";
14
+ import { Alert } from "@material-ui/lab";
15
+ import { DndProvider, useDragLayer } from "react-dnd";
16
+ import { HTML5Backend } from "react-dnd-html5-backend";
17
+ import { Responsive } from "react-grid-layout";
18
+ import { useMeasure } from "react-use";
19
+ import "react-grid-layout/css/styles.css";
20
+ import "react-resizable/css/styles.css";
21
+ import ArrowBackIcon from "@material-ui/icons/ArrowBack";
22
+
23
+ //#region src/stores/teleporterStore.ts
24
+ const useTeleporterStore = create((set, get) => ({
25
+ teleporterMap: /* @__PURE__ */ new Map(),
26
+ getTeleporter: (targetId = "", location) => {
27
+ const mapCopy = new Map(get().teleporterMap);
28
+ let locationMap = mapCopy.get(targetId);
29
+ if (!locationMap) {
30
+ locationMap = /* @__PURE__ */ new Map();
31
+ mapCopy.set(targetId, locationMap);
32
+ }
33
+ if (!locationMap.has(location)) locationMap.set(location, { teleporter: createTeleporter() });
34
+ const teleporter = locationMap.get(location).teleporter;
35
+ set({ teleporterMap: mapCopy });
36
+ return teleporter;
37
+ },
38
+ getAllTeleporters: () => {
39
+ const result = [];
40
+ const map = get().teleporterMap;
41
+ for (const [targetId, locationMap] of map.entries()) for (const [location, entry] of locationMap.entries()) result.push([
42
+ targetId,
43
+ location,
44
+ entry.teleporter
45
+ ]);
46
+ return result;
47
+ }
48
+ }));
49
+
50
+ //#endregion
51
+ //#region src/UI/inputs/buttons/ToolBarButton.jsx
52
+ const useStyles$12 = makeStyles((theme) => ({
53
+ root: { borderBottom: (props) => props.selected && `2px solid ${theme.palette.secondary.main}` },
54
+ wrapper: {
55
+ display: "flex",
56
+ flexDirection: "row",
57
+ marginRight: theme.spacing(2)
58
+ },
59
+ icon: {
60
+ fontSize: 16,
61
+ width: 16,
62
+ height: 16,
63
+ color: theme.palette.secondary.main
64
+ },
65
+ iconWrapper: {
66
+ background: theme.palette.common.white,
67
+ borderRadius: 100,
68
+ padding: theme.spacing(1)
69
+ },
70
+ label: {
71
+ marginLeft: theme.spacing(1),
72
+ fontSize: "0.875rem",
73
+ "&:hover": { color: theme.palette.secondary.main }
74
+ }
75
+ }), { name: "ToolBarButton" });
76
+ const ToolBarButton = (props) => {
77
+ const classes = useStyles$12(props);
78
+ const { component: ToolBarComponent, click, label, expanded, aria, icon = true, disabled = false } = props;
79
+ return /* @__PURE__ */ jsx(Tooltip, {
80
+ title: expanded && label || aria || "",
81
+ "aria-label": label,
82
+ placement: "top",
83
+ enterDelay: !expanded && 5e3,
84
+ children: /* @__PURE__ */ jsxs(ButtonBase, {
85
+ classes: { root: classes.root },
86
+ className: classes.wrapper,
87
+ onClick: click,
88
+ disableRipple: true,
89
+ "aria-label": aria,
90
+ disabled,
91
+ children: [icon && /* @__PURE__ */ jsx("div", {
92
+ className: classes.iconWrapper,
93
+ children: /* @__PURE__ */ jsx(ToolBarComponent, { className: classes.icon })
94
+ }), /* @__PURE__ */ jsx(Typography, {
95
+ variant: "body2",
96
+ className: classes.label,
97
+ children: !expanded && label
98
+ })]
99
+ })
100
+ });
101
+ };
102
+ ToolBarButton.propTypes = {
103
+ component: PropTypes.func,
104
+ click: PropTypes.func,
105
+ label: PropTypes.string,
106
+ expanded: PropTypes.bool,
107
+ aria: PropTypes.string,
108
+ icon: PropTypes.bool
109
+ };
110
+
111
+ //#endregion
112
+ //#region src/dashboard/getWidgetLayout.ts
113
+ const getW = (w) => {
114
+ if (typeof w === "object") return {
115
+ w: w.default,
116
+ minW: w.min,
117
+ maxW: w.max
118
+ };
119
+ if (typeof w === "number") return { w };
120
+ return { w: 2 };
121
+ };
122
+ const getH = (h) => {
123
+ if (typeof h === "object") return {
124
+ h: h.default,
125
+ minH: h.min,
126
+ maxH: h.max
127
+ };
128
+ if (typeof h === "number") return { h };
129
+ return { h: 2 };
130
+ };
131
+ /**
132
+ * Get a default layout for widgets of a type
133
+ */
134
+ function getWidgetLayout(getWidget, widgetType) {
135
+ var _ref, _getWidget;
136
+ const { w, h } = (_ref = getWidget && ((_getWidget = getWidget(widgetType)) === null || _getWidget === void 0 ? void 0 : _getWidget.layout)) !== null && _ref !== void 0 ? _ref : {};
137
+ const layout = {
138
+ ...getW(w),
139
+ ...getH(h)
140
+ };
141
+ const wResizable = "minW" in layout || "maxW" in layout;
142
+ const hResizable = "minH" in layout || "maxH" in layout;
143
+ layout.isResizable = wResizable || hResizable;
144
+ return layout;
145
+ }
146
+
147
+ //#endregion
148
+ //#region src/dashboard/DashboardCardGrid.jsx
149
+ const useStyle = makeStyles((theme) => ({ root: {
150
+ display: "flex",
151
+ flexDirection: "column",
152
+ width: "100%",
153
+ height: "100%",
154
+ marginBottom: (props) => (props === null || props === void 0 ? void 0 : props.disableMargin) ? "" : theme.spacing(3)
155
+ } }), { name: "DashboardCardGrid" });
156
+ const DASHBOARD_WIDGET = Symbol("DASHBOARD_WIDGET");
157
+ const breakpoints = {
158
+ xs: 0,
159
+ xl: 1150
160
+ };
161
+ const breakpointCols = {
162
+ xs: 4,
163
+ xl: 4
164
+ };
165
+ /**
166
+ * Grid layout for dashboard cards
167
+ */
168
+ const DashboardCardGrid = (props) => {
169
+ const classes = useStyle(props);
170
+ const { children, onCreateCard, gridProperties,...other } = props;
171
+ const { getWidget } = useShellStore();
172
+ const rglRef = useRef();
173
+ const [ref, { width }] = useMeasure();
174
+ const theme = useTheme();
175
+ const { droppingWidgetType } = useDragLayer((monitor) => {
176
+ if (monitor.getItemType() === DASHBOARD_WIDGET) {
177
+ const { id: wigetType } = monitor.getItem();
178
+ return { droppingWidgetType: wigetType };
179
+ }
180
+ return { droppingWidgetType: null };
181
+ });
182
+ const droppingItemLayout = useMemo(() => {
183
+ if (droppingWidgetType) return {
184
+ i: v4(),
185
+ ...getWidgetLayout(getWidget, droppingWidgetType)
186
+ };
187
+ }, [getWidget, droppingWidgetType]);
188
+ const drag = useCallback((layout, oldLayoutItem, layoutItem, placeholder) => {}, []);
189
+ const resize = useCallback((layout, oldLayoutItem, layoutItem, placeholder) => {
190
+ if (layoutItem.w >= 6 && layoutItem.w < 8) {
191
+ layoutItem.w = 4;
192
+ placeholder.w = 4;
193
+ }
194
+ }, []);
195
+ const drop = useCallback((layout, item) => {
196
+ if (droppingWidgetType) {
197
+ const { x, y, w, h } = item;
198
+ const { breakpoint } = rglRef.current.state;
199
+ if (onCreateCard) onCreateCard({
200
+ widgetType: droppingWidgetType,
201
+ id: v4(),
202
+ layout: { [breakpoint]: {
203
+ x,
204
+ y,
205
+ w,
206
+ h
207
+ } },
208
+ params: []
209
+ });
210
+ }
211
+ }, [droppingWidgetType, onCreateCard]);
212
+ return /* @__PURE__ */ jsx("div", {
213
+ ref,
214
+ className: classes.root,
215
+ children: width ? /* @__PURE__ */ jsx(Responsive, {
216
+ ref: rglRef,
217
+ ...other,
218
+ width,
219
+ breakpoints,
220
+ cols: breakpointCols,
221
+ rowHeight: 128,
222
+ margin: [theme.spacing(3), theme.spacing(3)],
223
+ containerPadding: [0, 0],
224
+ draggableHandle: "[data-handle]",
225
+ onDrag: drag,
226
+ onResize: resize,
227
+ onDrop: drop,
228
+ isDroppable: (gridProperties === null || gridProperties === void 0 ? void 0 : gridProperties.isDroppable) || false,
229
+ isDraggable: (gridProperties === null || gridProperties === void 0 ? void 0 : gridProperties.isDraggable) || false,
230
+ droppingItem: droppingItemLayout,
231
+ style: { height: "100%" },
232
+ children
233
+ }) : null
234
+ });
235
+ };
236
+
237
+ //#endregion
238
+ //#region src/UI/surfaces/cards/FUICardHeader.jsx
239
+ const useStyles$11 = makeStyles((theme) => ({
240
+ root: {
241
+ minHeight: 40,
242
+ paddingLeft: theme.spacing(2),
243
+ display: "flex",
244
+ flexDirection: "row",
245
+ alignItems: "center",
246
+ borderBottom: `1px solid ${theme.palette.divider}`
247
+ },
248
+ title: { flexGrow: 1 }
249
+ }));
250
+ const FUICardHeader = (props, ref) => {
251
+ const classes = useStyles$11(props);
252
+ const { className, children, headerActions, titleId,...other } = props;
253
+ return /* @__PURE__ */ jsxs("div", {
254
+ ref,
255
+ ...other,
256
+ className: clsx(className, classes.root),
257
+ children: [/* @__PURE__ */ jsx(Typography, {
258
+ id: titleId,
259
+ className: classes.title,
260
+ children
261
+ }), headerActions]
262
+ });
263
+ };
264
+ var FUICardHeader_default = forwardRef(FUICardHeader);
265
+
266
+ //#endregion
267
+ //#region src/UI/inputs/buttons/FUISquareIconButton.jsx
268
+ const useStyles$10 = makeStyles((theme) => ({ root: { borderRadius: 0 } }), { name: "FUISquareIconButton" });
269
+ /**
270
+ * <IconButton> but with a square highlight
271
+ */
272
+ const FUISquareIconButton = (props) => {
273
+ const classes = useStyles$10(props);
274
+ return /* @__PURE__ */ jsx(IconButton, {
275
+ ...props,
276
+ classes
277
+ });
278
+ };
279
+
280
+ //#endregion
281
+ //#region src/UI/surfaces/cards/FluentCard.jsx
282
+ const useStyles$9 = makeStyles({ root: {} }, { name: "FluentCard" });
283
+ /**
284
+ * A variant of <Card> that uses a square Fluent UI card style
285
+ */
286
+ const FluentCard = forwardRef((props, ref) => {
287
+ const classes = useStyles$9(props);
288
+ const { children,...other } = props;
289
+ return /* @__PURE__ */ jsx(Card, {
290
+ ref,
291
+ square: true,
292
+ ...other,
293
+ classes,
294
+ children
295
+ });
296
+ });
297
+ FluentCard.displayName = "FluentCard";
298
+
299
+ //#endregion
300
+ //#region src/UI/surfaces/cards/FluentCardContent.jsx
301
+ const useStyles$8 = makeStyles({ root: {} }, { name: "FluentCardContent" });
302
+ /**
303
+ * A variant of <CardContent> that uses a Fluent UI card style
304
+ */
305
+ const FluentCardContent = forwardRef((props, ref) => {
306
+ const classes = useStyles$8(props);
307
+ const { children,...other } = props;
308
+ return /* @__PURE__ */ jsx(CardContent, {
309
+ ref,
310
+ ...other,
311
+ classes,
312
+ children
313
+ });
314
+ });
315
+ FluentCardContent.displayName = "FluentCardContent";
316
+
317
+ //#endregion
318
+ //#region src/UI/surfaces/cards/FluentCardActions.jsx
319
+ const useStyles$7 = makeStyles({
320
+ root: {},
321
+ spacing: {}
322
+ }, { name: "FluentCardActions" });
323
+ /**
324
+ * A variant of <CardActions> that uses a Fluent UI card style
325
+ */
326
+ const FluentCardActions = forwardRef((props, ref) => {
327
+ const classes = useStyles$7(props);
328
+ const { children,...other } = props;
329
+ return /* @__PURE__ */ jsx(CardActions, {
330
+ ref,
331
+ ...other,
332
+ classes,
333
+ children
334
+ });
335
+ });
336
+ FluentCardActions.displayName = "FluentCardActions";
337
+
338
+ //#endregion
339
+ //#region src/UI/surfaces/cards/FUICard.jsx
340
+ const useStyles$6 = makeStyles((theme) => ({
341
+ root: {
342
+ display: "flex",
343
+ flexDirection: "column"
344
+ },
345
+ raised: { zIndex: 1 },
346
+ contentArea: {
347
+ flex: "1 1 auto",
348
+ minHeight: 0,
349
+ display: "flex",
350
+ flexDirection: "column"
351
+ },
352
+ cardActions: {
353
+ display: "flex",
354
+ flexDirection: "row",
355
+ justifyContent: "flex-start",
356
+ paddingTop: theme.spacing(1),
357
+ padding: theme.spacing(2)
358
+ }
359
+ }), { name: "FUICard" });
360
+ let FUICardAction = (props, ref) => {
361
+ const { children,...other } = props;
362
+ return /* @__PURE__ */ jsx(Button, {
363
+ ref,
364
+ size: "small",
365
+ variant: "contained",
366
+ disableElevation: true,
367
+ ...other,
368
+ children
369
+ });
370
+ };
371
+ FUICardAction = forwardRef(FUICardAction);
372
+ let FUICardHeaderMenu = (props, ref) => {
373
+ const { children } = props;
374
+ return /* @__PURE__ */ jsx("div", {
375
+ button: /* @__PURE__ */ jsx(FUISquareIconButton, { children: /* @__PURE__ */ jsx(FluentIcon, {
376
+ component: MoreIcon,
377
+ size: "small"
378
+ }) }),
379
+ menu: /* @__PURE__ */ jsx(Menu, { children })
380
+ });
381
+ };
382
+ FUICardHeaderMenu = forwardRef(FUICardHeaderMenu);
383
+ const FUICard = (props, ref) => {
384
+ const classes = useStyles$6();
385
+ const { className, children, actions, title, headerActions, CardHeaderProps, CardProps, raised, name,...cardProps } = props;
386
+ const id = useId(name, cardProps.id);
387
+ const titleId = `${id}-title`;
388
+ return /* @__PURE__ */ jsxs(FluentCard, {
389
+ ref,
390
+ component: "section",
391
+ "aria-labelledby": titleId,
392
+ ...cardProps,
393
+ raised,
394
+ className: clsx(className, raised && classes.raised),
395
+ ...CardProps,
396
+ classes: { root: classes.root },
397
+ children: [
398
+ /* @__PURE__ */ jsx(FUICardHeader_default, {
399
+ titleId,
400
+ headerActions,
401
+ ...CardHeaderProps,
402
+ children: title
403
+ }),
404
+ /* @__PURE__ */ jsx(FluentCardContent, {
405
+ className: classes.contentArea,
406
+ children
407
+ }),
408
+ actions && /* @__PURE__ */ jsx(FluentCardActions, {
409
+ className: classes.cardActions,
410
+ children: actions
411
+ })
412
+ ]
413
+ });
414
+ };
415
+ var FUICard_default = forwardRef(FUICard);
416
+
417
+ //#endregion
418
+ //#region src/UI/widgets/FluentComponents/FUIMenuItem.jsx
419
+ const useStyles$5 = makeStyles({ listItemIcon: { minWidth: 32 } }, { name: "FUIMenuItem" });
420
+ /**
421
+ * <MenuItem> with icon support
422
+ */
423
+ const FUIMenuItem = (props, ref) => {
424
+ const classes = useStyles$5();
425
+ const { icon, fluentIcon, primary, secondary,...menuItemProps } = props;
426
+ return /* @__PURE__ */ jsxs(MenuItem, {
427
+ ref,
428
+ dense: true,
429
+ ...menuItemProps,
430
+ children: [/* @__PURE__ */ jsx(ListItemIcon, {
431
+ className: classes.listItemIcon,
432
+ children: icon || /* @__PURE__ */ jsx(FluentIcon, { component: fluentIcon })
433
+ }), /* @__PURE__ */ jsx(ListItemText, {
434
+ primary,
435
+ secondary
436
+ })]
437
+ });
438
+ };
439
+ var FUIMenuItem_default = forwardRef(FUIMenuItem);
440
+
441
+ //#endregion
442
+ //#region src/dashboard/WidgetCard.jsx
443
+ /**
444
+ * Core component for dashboard widget cards
445
+ */
446
+ const WidgetCard = (props) => {
447
+ const { children, headerActions, className, widgetType, id, layout, params, setParam, onDelete, loading, errors, theme, hideWidgetName, innerPadding, contentHeight, contentMaxHeight,...other } = props;
448
+ const useStyles$13 = makeStyles((theme$1) => ({
449
+ root: { "&.react-resizable-hide .react-resizable-handle": { display: "none" } },
450
+ darkRoot: {
451
+ "&.react-resizable-hide .react-resizable-handle": { display: "none" },
452
+ background: "#424242",
453
+ color: "white"
454
+ },
455
+ anyRoot: { "& .MuiCardContent-root": {
456
+ justifyContent: "space-between",
457
+ overflow: "auto",
458
+ padding: 0
459
+ } },
460
+ handle: {
461
+ cursor: "move",
462
+ "&:hover": { backgroundColor: theme$1.palette.action.hover },
463
+ display: hideWidgetName && "none"
464
+ },
465
+ loadingContent: {
466
+ flex: 1,
467
+ display: "flex",
468
+ flexDirection: "column",
469
+ alignItems: "center",
470
+ justifyContent: "center"
471
+ },
472
+ innerWidgetContentContainer: {
473
+ height: widgetType === "TransformerLoadWidget" ? "auto" : contentHeight ? contentHeight : "100%",
474
+ maxHeight: contentMaxHeight ? contentMaxHeight : "",
475
+ minWidth: widgetType === "ProgressBarWidget" ? 0 : 270,
476
+ display: "flex",
477
+ flexDirection: "column",
478
+ justifyContent: "space-between",
479
+ padding: innerPadding || (widgetType === "VEERegisterRead" ? 0 : theme$1.spacing(2))
480
+ }
481
+ }));
482
+ const classes = useStyles$13();
483
+ const raised = /(^|\s)react-draggable-dragging(\s|$)/.test(className !== null && className !== void 0 ? className : "");
484
+ let body = children;
485
+ if (loading && !body) body = /* @__PURE__ */ jsx("div", {
486
+ className: classes.loadingContent,
487
+ children: /* @__PURE__ */ jsx(CircularProgress, { size: 64 })
488
+ });
489
+ if (errors && !body) body = /* @__PURE__ */ jsx("div", { children: "Unexpected error" });
490
+ return /* @__PURE__ */ jsx(FUICard_default, {
491
+ ...other,
492
+ className: clsx(className, theme === "dark" ? classes.darkRoot : classes.root, classes.anyRoot),
493
+ raised,
494
+ CardHeaderProps: {
495
+ className: classes.handle,
496
+ "data-handle": true
497
+ },
498
+ headerActions: /* @__PURE__ */ jsxs(Fragment$1, { children: [headerActions, /* @__PURE__ */ jsx(FUICardHeaderMenu, { children: /* @__PURE__ */ jsx(FUIMenuItem_default, {
499
+ onClick: onDelete,
500
+ fluentIcon: DeleteIcon,
501
+ primary: "Delete"
502
+ }) })] }),
503
+ children: /* @__PURE__ */ jsx("div", {
504
+ className: classes.innerWidgetContentContainer,
505
+ children: body
506
+ })
507
+ });
508
+ };
509
+
510
+ //#endregion
511
+ //#region src/dashboard/DashboardWidget.jsx
512
+ /**
513
+ * Widget implementation for dashboards
514
+ */
515
+ let DashboardWidget = (props) => {
516
+ const { widgetType, id, deleteCard, children, params: paramValues, setParams,...other } = props;
517
+ const { getWidget, isValidWidget } = useShellStore();
518
+ const onDelete = useCallback(() => {
519
+ deleteCard(id);
520
+ }, [deleteCard, id]);
521
+ const { Widget, params: paramDefs } = useMemo(() => {
522
+ if (!isValidWidget || !getWidget) return {};
523
+ if (isValidWidget(widgetType) && getWidget) return getWidget(widgetType);
524
+ return {};
525
+ }, [
526
+ widgetType,
527
+ getWidget,
528
+ isValidWidget
529
+ ]);
530
+ const params = useMemo(() => {
531
+ const params$1 = {};
532
+ if (paramDefs) {
533
+ for (const name in paramDefs) params$1[name] = paramDefs[name].defaultValue;
534
+ for (const param in paramValues) params$1[param] = paramValues[param];
535
+ }
536
+ return params$1;
537
+ }, [paramDefs, paramValues]);
538
+ const setParam = useCallback((name, value) => setParams(id, { [name]: value }), [id, setParams]);
539
+ if (!isValidWidget || !getWidget) return /* @__PURE__ */ jsx(WidgetCard, {
540
+ ...other,
541
+ title: "Error",
542
+ children: "isValidWidget or getWidget functions are not defined"
543
+ });
544
+ if (!Widget) return /* @__PURE__ */ jsxs(WidgetCard, {
545
+ ...other,
546
+ title: "Error",
547
+ children: [
548
+ "Unknown widget type \"",
549
+ widgetType,
550
+ "\"."
551
+ ]
552
+ });
553
+ else return /* @__PURE__ */ jsx(Widget, {
554
+ ...other,
555
+ id,
556
+ params,
557
+ setParam,
558
+ onDelete,
559
+ children
560
+ });
561
+ };
562
+ var DashboardWidget_default = memo(DashboardWidget);
563
+
564
+ //#endregion
565
+ //#region src/page/Page.jsx
566
+ const Page = (props) => {
567
+ const { gridConfig, widgetConfig, disableMargin } = props;
568
+ const { getWidget, isValidWidget } = useShellStore();
569
+ const gridProperties = gridConfig ? JSON.parse(gridConfig) : null;
570
+ let widgets = widgetConfig || null;
571
+ if (typeof widgetConfig === "string") widgets = JSON.parse(widgetConfig);
572
+ const calculateLayouts = () => {
573
+ if (!widgets) return null;
574
+ const layouts$1 = {};
575
+ for (const widget of widgets) for (const breakpoint in widget.layout) {
576
+ if (breakpoint === "__typename" || !widget.layout[breakpoint]) continue;
577
+ layouts$1[breakpoint] = layouts$1[breakpoint] || [];
578
+ const { __typename,...layout } = widget.layout[breakpoint];
579
+ layouts$1[breakpoint].push({
580
+ ...getWidgetLayout(getWidget, widget.widgetType),
581
+ isResizable: widget.params.isResizable || false,
582
+ ...layout,
583
+ i: widget.id
584
+ });
585
+ }
586
+ return layouts$1;
587
+ };
588
+ const layouts = useMemo(() => calculateLayouts(), [calculateLayouts, widgetConfig]);
589
+ const cards = useMemo(() => widgets && widgets.map(({ __typename,...widget }) => /* @__PURE__ */ jsx(DashboardWidget_default, { ...widget }, widget.id)), [widgets]);
590
+ if (!layouts) return null;
591
+ return /* @__PURE__ */ jsx(DashboardCardGrid, {
592
+ layouts,
593
+ gridProperties,
594
+ disableMargin,
595
+ children: cards
596
+ });
597
+ };
598
+
599
+ //#endregion
600
+ //#region src/UI/inputs/buttons/AmbientPopoverMenuItem.jsx
601
+ const useStyles$4 = makeStyles((theme) => ({ root: { paddingLeft: theme.spacing(1) } }));
602
+ const AmbientPopoverMenuItem = ({ label, component, click }) => {
603
+ const classes = useStyles$4();
604
+ return /* @__PURE__ */ jsxs("div", {
605
+ className: classes.root,
606
+ children: [
607
+ /* @__PURE__ */ jsx(LayoutUnit, { unit: "nudge" }),
608
+ /* @__PURE__ */ jsx(ToolBarButton, {
609
+ label,
610
+ component,
611
+ click,
612
+ icon: false
613
+ }),
614
+ /* @__PURE__ */ jsx(LayoutUnit, { unit: "nudge" }),
615
+ /* @__PURE__ */ jsx(Divider, {})
616
+ ]
617
+ });
618
+ };
619
+
620
+ //#endregion
621
+ //#region src/UI/utilityDisplay/utilityHeader/ui/PAHExport.jsx
622
+ const useStyles$3 = makeStyles((theme) => ({
623
+ root: {},
624
+ popoverRoot: {},
625
+ icon: { color: theme.palette.secondary.main }
626
+ }));
627
+ const PAHExport = ({ exportCSV, exportExcel, exportPDF }) => {
628
+ const classes = useStyles$3();
629
+ const [anchorEl, setAnchorEl] = useState(null);
630
+ const handleClick = (event) => {
631
+ setAnchorEl(event.currentTarget);
632
+ };
633
+ const handleClose = () => {
634
+ setAnchorEl(null);
635
+ };
636
+ const open = Boolean(anchorEl);
637
+ const id = open ? "simple-popover" : void 0;
638
+ const gridControlsExport = [{
639
+ label: "Export CSV",
640
+ component: TextDocumentIcon,
641
+ click: exportCSV,
642
+ key: 1
643
+ }, {
644
+ label: "Export Excel",
645
+ component: ExcelDocumentIcon,
646
+ click: exportExcel,
647
+ key: 2
648
+ }];
649
+ return /* @__PURE__ */ jsxs("div", {
650
+ className: classes.root,
651
+ children: [/* @__PURE__ */ jsx(FluentIconButton, {
652
+ className: classes.icon,
653
+ icon: ArrowUpRightIcon,
654
+ onClick: handleClick
655
+ }), /* @__PURE__ */ jsx(Popover, {
656
+ classes: { root: classes.popoverRoot },
657
+ square: true,
658
+ elevation: 1,
659
+ id,
660
+ open,
661
+ anchorEl,
662
+ onClose: handleClose,
663
+ anchorOrigin: {
664
+ vertical: "bottom",
665
+ horizontal: "left"
666
+ },
667
+ transformOrigin: {
668
+ vertical: "top",
669
+ horizontal: "left"
670
+ },
671
+ children: /* @__PURE__ */ jsx("div", {
672
+ style: { width: 140 },
673
+ children: /* @__PURE__ */ jsx("div", { children: gridControlsExport.map((item) => {
674
+ return /* @__PURE__ */ jsx(AmbientPopoverMenuItem, {
675
+ label: item.label,
676
+ component: item.component,
677
+ click: item.click
678
+ });
679
+ }) })
680
+ })
681
+ })]
682
+ });
683
+ };
684
+
685
+ //#endregion
686
+ //#region src/UI/navigation/tabs/UdpTabs.jsx
687
+ const useStyles$2 = makeStyles((theme) => ({
688
+ root: {
689
+ flexSkrink: 0,
690
+ overflow: "hidden"
691
+ },
692
+ tabsWrapper: {
693
+ display: "flex",
694
+ gap: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? theme.spacing(1) : null,
695
+ flexGrow: 1
696
+ },
697
+ tab: {
698
+ padding: `8px 18px`,
699
+ flex: 1
700
+ },
701
+ blockTab: { backgroundColor: theme.palette.background.paper },
702
+ activeTab: {
703
+ borderBottom: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? null : `2px solid ${theme.palette.secondary.main}`,
704
+ backgroundColor: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? theme.palette.secondary.light : null,
705
+ color: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? theme.palette.getContrastText(theme.palette.secondary.light) : null
706
+ },
707
+ moreButton: {
708
+ marginTop: theme.spacing(1),
709
+ width: theme.spacing(1),
710
+ height: theme.spacing(1),
711
+ borderRadius: 2
712
+ },
713
+ menuItem: {
714
+ whiteSpace: "normal",
715
+ width: (props) => (props === null || props === void 0 ? void 0 : props.menuWidth) ? props === null || props === void 0 ? void 0 : props.menuWidth : "170px"
716
+ },
717
+ popoverWrapper: { maxHeight: (props) => (props === null || props === void 0 ? void 0 : props.menuMaxHeight) ? props === null || props === void 0 ? void 0 : props.menuMaxHeight : "250px" }
718
+ }));
719
+ const UdpTabs = (props) => {
720
+ const { value, onChange, className, menuItemProps, tabList, variant, buttonWidth } = props;
721
+ const classes = useStyles$2(props);
722
+ const tabContainerRef = useRef(null);
723
+ const innerTabContainerRef = useRef(null);
724
+ const [anchorEl, setAnchorEl] = useState(null);
725
+ const [visibleTabList, setVisibleTabList] = useState(null);
726
+ const [menuTabList, setMenuTabList] = useState(null);
727
+ const [initialTotalTabWidth, setInitialTotalTabWidth] = useState(null);
728
+ const [initialTabWidth, setInitialTabWidth] = useState();
729
+ const gapWidth = 8;
730
+ const open = Boolean(anchorEl);
731
+ const currentTabList = useMemo(() => {
732
+ return tabList === null || tabList === void 0 ? void 0 : tabList.map((tab, index) => ({
733
+ id: index,
734
+ ...tab,
735
+ ref: createRef()
736
+ }));
737
+ }, [tabList]);
738
+ const handlePopoverClick = useCallback((event, index) => {
739
+ setAnchorEl(event.currentTarget);
740
+ }, []);
741
+ const handlePopoverClose = () => {
742
+ setAnchorEl(null);
743
+ };
744
+ const menuItemSelected = useMemo(() => {
745
+ return !!(menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.find((tab) => (tab === null || tab === void 0 ? void 0 : tab.id) === value));
746
+ }, [value, menuTabList]);
747
+ const getInitialTabWidth = useCallback((tabsElements, currentTabList$1) => {
748
+ let totalTabWidth = 0;
749
+ let tabWidth = [];
750
+ if ((tabsElements === null || tabsElements === void 0 ? void 0 : tabsElements.length) === (currentTabList$1 === null || currentTabList$1 === void 0 ? void 0 : currentTabList$1.length) && !initialTotalTabWidth) {
751
+ for (let i = 0; i < tabsElements.length; i++) {
752
+ totalTabWidth += tabsElements[i].clientWidth;
753
+ if (variant === "block") totalTabWidth += gapWidth;
754
+ tabWidth[i] = tabsElements[i].clientWidth;
755
+ }
756
+ setInitialTotalTabWidth(totalTabWidth);
757
+ setInitialTabWidth(tabWidth);
758
+ return {
759
+ totalTabWidth,
760
+ tabWidth
761
+ };
762
+ }
763
+ return {
764
+ totalTabWidth: initialTotalTabWidth,
765
+ tabWidth: initialTabWidth
766
+ };
767
+ }, [
768
+ initialTabWidth,
769
+ initialTotalTabWidth,
770
+ variant
771
+ ]);
772
+ const calculateHiddenTabs = useCallback(() => {
773
+ if (innerTabContainerRef.current) {
774
+ const containerWidth = innerTabContainerRef.current.clientWidth;
775
+ const tabsElements = Array.from(innerTabContainerRef.current.children);
776
+ const moreBtnWidth = 24;
777
+ let hiddenTabsArray = [];
778
+ let visibleTabsArray = Array.from(currentTabList);
779
+ const { totalTabWidth, tabWidth } = getInitialTabWidth(tabsElements, currentTabList);
780
+ if (totalTabWidth > containerWidth) {
781
+ let accumulatedWidth = 0;
782
+ for (let i = 0; i < (tabWidth === null || tabWidth === void 0 ? void 0 : tabWidth.length); i++) {
783
+ accumulatedWidth += tabWidth[i];
784
+ if (variant === "block") accumulatedWidth += gapWidth;
785
+ if (accumulatedWidth > containerWidth - moreBtnWidth) {
786
+ hiddenTabsArray = Array.from(currentTabList).slice(i);
787
+ visibleTabsArray = Array.from(currentTabList).slice(0, i);
788
+ break;
789
+ }
790
+ }
791
+ }
792
+ setVisibleTabList(visibleTabsArray);
793
+ setMenuTabList(hiddenTabsArray);
794
+ }
795
+ }, [
796
+ currentTabList,
797
+ getInitialTabWidth,
798
+ variant
799
+ ]);
800
+ useEffect(() => {
801
+ setVisibleTabList(currentTabList);
802
+ }, [currentTabList]);
803
+ useEffect(() => {
804
+ calculateHiddenTabs();
805
+ const observer = new ResizeObserver((entries) => {
806
+ handlePopoverClose();
807
+ calculateHiddenTabs();
808
+ });
809
+ if (tabContainerRef.current) observer.observe(tabContainerRef.current);
810
+ return () => {
811
+ observer.disconnect();
812
+ };
813
+ }, [calculateHiddenTabs]);
814
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", {
815
+ className: clsx(classes.root, className),
816
+ ref: tabContainerRef,
817
+ children: [/* @__PURE__ */ jsxs("div", {
818
+ className: classes.tabsWrapper,
819
+ ref: innerTabContainerRef,
820
+ style: variant === "spread" ? { justifyContent: "space-between" } : null,
821
+ children: [visibleTabList === null || visibleTabList === void 0 ? void 0 : visibleTabList.map((item, index) => {
822
+ var _item$label, _item$label2;
823
+ return /* @__PURE__ */ jsx(ButtonBase, {
824
+ style: {
825
+ flex: variant === "spread" && 1,
826
+ width: !!buttonWidth && buttonWidth
827
+ },
828
+ id: "udpRecord-UdpTabs-MenuItem-" + (item === null || item === void 0 || (_item$label = item.label) === null || _item$label === void 0 ? void 0 : _item$label.replace(/ /g, "-")),
829
+ udprecordid: "udpRecord-UdpTabs-MenuItem-" + (item === null || item === void 0 || (_item$label2 = item.label) === null || _item$label2 === void 0 ? void 0 : _item$label2.replace(/ /g, "-")),
830
+ children: /* @__PURE__ */ jsx("div", {
831
+ className: clsx(classes.tab, {
832
+ [classes.blockTab]: variant === "block",
833
+ [classes.activeTab]: value === (item === null || item === void 0 ? void 0 : item.id)
834
+ }),
835
+ onClick: (e) => {
836
+ onChange(e, item === null || item === void 0 ? void 0 : item.id);
837
+ if (item === null || item === void 0 ? void 0 : item.onClick) item.onClick();
838
+ setAnchorEl(null);
839
+ },
840
+ children: /* @__PURE__ */ jsx(Typography, {
841
+ noWrap: true,
842
+ style: { fontWeight: variant === "spread" ? "bold" : "normal" },
843
+ children: item === null || item === void 0 ? void 0 : item.label
844
+ })
845
+ })
846
+ }, index);
847
+ }), (menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.length) > 0 && /* @__PURE__ */ jsx(IconButton, {
848
+ onClick: handlePopoverClick,
849
+ className: classes.moreButton,
850
+ color: "primary",
851
+ id: "udpRecord-UdpTabs-MoreActions",
852
+ udprecordid: "udpRecord-UdpTabs-MoreActions",
853
+ children: /* @__PURE__ */ jsx(Badge, {
854
+ color: "secondary",
855
+ variant: "dot",
856
+ invisible: menuItemSelected === false,
857
+ children: /* @__PURE__ */ jsx(FluentIcon, {
858
+ component: MoreVerticalIcon,
859
+ size: "medium"
860
+ })
861
+ })
862
+ })]
863
+ }), !!(menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.length) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Popover, {
864
+ id: "menuTabList",
865
+ open,
866
+ anchorEl,
867
+ onClose: handlePopoverClose,
868
+ anchorOrigin: {
869
+ vertical: "bottom",
870
+ horizontal: "left"
871
+ },
872
+ transformOrigin: {
873
+ vertical: "top",
874
+ horizontal: "left"
875
+ },
876
+ className: classes.popoverWrapper,
877
+ children: menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.map((tab) => {
878
+ var _tab$label, _tab$label2;
879
+ return /* @__PURE__ */ jsx(MenuItem, {
880
+ id: "udpRecord-UdpTabs-MenuItem-" + (tab === null || tab === void 0 || (_tab$label = tab.label) === null || _tab$label === void 0 ? void 0 : _tab$label.replace(/ /g, "-")),
881
+ udprecordid: "udpRecord-UdpTabs-MenuItem-" + (tab === null || tab === void 0 || (_tab$label2 = tab.label) === null || _tab$label2 === void 0 ? void 0 : _tab$label2.replace(/ /g, "-")),
882
+ onClick: (e) => {
883
+ if (tab === null || tab === void 0 ? void 0 : tab.onClick) tab.onClick();
884
+ if (onChange) onChange(e, tab === null || tab === void 0 ? void 0 : tab.id);
885
+ setAnchorEl(null);
886
+ },
887
+ className: clsx(classes.menuItem, className),
888
+ selected: (tab === null || tab === void 0 ? void 0 : tab.id) === value,
889
+ ...menuItemProps,
890
+ children: /* @__PURE__ */ jsx(Typography, { children: tab === null || tab === void 0 ? void 0 : tab.label })
891
+ }, tab === null || tab === void 0 ? void 0 : tab.id);
892
+ })
893
+ }) })]
894
+ }) });
895
+ };
896
+
897
+ //#endregion
898
+ //#region src/UI/utilityDisplay/utilityHeader/ui/teleporter.ts
899
+ const useAllTeleporters = () => {
900
+ const teleporterMap = useTeleporterStore((state) => state.teleporterMap);
901
+ const allTeleporters = useMemo(() => {
902
+ const result = [];
903
+ for (const [targetId, locationMap] of teleporterMap.entries()) for (const [location, entry] of locationMap.entries()) result.push([
904
+ targetId,
905
+ location,
906
+ entry.teleporter
907
+ ]);
908
+ return result;
909
+ }, [teleporterMap]);
910
+ return allTeleporters;
911
+ };
912
+
913
+ //#endregion
914
+ //#region src/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.jsx
915
+ const useStyles$1 = makeStyles((theme) => ({
916
+ root: {
917
+ display: "flex",
918
+ [theme.breakpoints.between("xs", "sm")]: { height: 50 }
919
+ },
920
+ title: { margin: theme.spacing(2) },
921
+ titleWrapper: {
922
+ paddingLeft: theme.spacing(2),
923
+ paddingRight: (props) => props.single ? theme.spacing(2) : 0,
924
+ display: "flex",
925
+ alignItems: "center"
926
+ },
927
+ subHeaderWrapper: {
928
+ width: "100%",
929
+ marginTop: 0,
930
+ [theme.breakpoints.down("xs")]: { justifyContent: "flex-start" }
931
+ },
932
+ subHeader: {
933
+ minWidth: (props) => props.subheader && 320,
934
+ marginLeft: theme.spacing(2),
935
+ [theme.breakpoints.between("sm", "lg")]: { display: "none" },
936
+ [theme.breakpoints.down("xs")]: { display: "none" }
937
+ },
938
+ denseSubtitle: {
939
+ marginTop: theme.spacing(1.2),
940
+ marginLeft: theme.spacing(2)
941
+ },
942
+ actionRow: {
943
+ display: "flex",
944
+ flex: 1,
945
+ alignItems: "center"
946
+ },
947
+ secondaryButtons: {
948
+ display: "flex",
949
+ [theme.breakpoints.down("sm")]: { display: "none" },
950
+ alignItems: "center"
951
+ },
952
+ secondaryButtonsMobile: {
953
+ display: "flex",
954
+ padding: theme.spacing(1),
955
+ background: theme.palette.divider,
956
+ [theme.breakpoints.up("sm")]: { display: "none" }
957
+ },
958
+ search: {
959
+ marginRight: theme.spacing(2),
960
+ marginTop: theme.spacing(3),
961
+ flex: 1
962
+ },
963
+ close: { marginRight: theme.spacing(2) },
964
+ pab: {
965
+ display: "flex",
966
+ [theme.breakpoints.between("xs", "sm")]: {
967
+ position: "fixed",
968
+ bottom: theme.spacing(2),
969
+ right: theme.spacing(2),
970
+ zIndex: theme.zIndex.appBar
971
+ }
972
+ },
973
+ titleOnly: { paddingBottom: theme.spacing(1) },
974
+ advancedOptions: {
975
+ backgroundColor: "#EEEEEE",
976
+ width: "100%"
977
+ },
978
+ tabPageButtons: {
979
+ height: 50,
980
+ borderTop: `1px solid ${theme.palette.divider}`,
981
+ paddingLeft: theme.spacing(2),
982
+ backgroundColor: "#EEEEEE"
983
+ },
984
+ divider: {
985
+ height: 25,
986
+ marginLeft: theme.spacing(1),
987
+ marginRight: theme.spacing(2)
988
+ },
989
+ functionIcons: {
990
+ fontSize: 18,
991
+ color: theme.palette.secondary.main
992
+ },
993
+ tabRow: {
994
+ maxWidth: 500,
995
+ [theme.breakpoints.down("sm")]: { width: 300 },
996
+ minHeight: "48px"
997
+ },
998
+ fullTabs: {
999
+ [theme.breakpoints.down("xl")]: { maxWidth: 700 },
1000
+ [theme.breakpoints.down("lg")]: { maxWidth: 500 },
1001
+ [theme.breakpoints.down("sm")]: { maxWidth: "100vw" },
1002
+ minHeight: "48px"
1003
+ },
1004
+ iconButton: {
1005
+ marginTop: 9,
1006
+ marginLeft: 4
1007
+ },
1008
+ titleWrapperBack: {
1009
+ display: "flex",
1010
+ flex: (props) => props.title && 1
1011
+ },
1012
+ buttomButtonRow: {
1013
+ display: "flex",
1014
+ width: "100%"
1015
+ },
1016
+ bottomButtonsLeft: {
1017
+ display: "flex",
1018
+ flex: 1,
1019
+ justifyContent: "flex-start"
1020
+ },
1021
+ bottomButtonsRigth: {
1022
+ display: "flex",
1023
+ justifyContent: "flex-end"
1024
+ },
1025
+ single: { display: "flex" },
1026
+ containerStyle: {
1027
+ background: lighten(theme.palette.secondary.light, .9),
1028
+ padding: theme.spacing(1),
1029
+ paddingLeft: theme.spacing(2),
1030
+ borderTop: `1px solid ${theme.palette.divider} `
1031
+ },
1032
+ gridControlLineUp: {
1033
+ display: "flex",
1034
+ alignItems: "center",
1035
+ marginRight: theme.spacing(2)
1036
+ },
1037
+ additionalTitleComponent: { marginLeft: theme.spacing(2) }
1038
+ }));
1039
+ const PrimaryActionHeader = (props) => {
1040
+ const classes = useStyles$1(props);
1041
+ const { buttonLabel, title, subheader, handleClick, secondaryButtons, hidePAB = false, search, searchField, expandOptions, handleMouseLeave, expandedContent, handleChange, value, tabList, tabs, resizeGrid, collapse, expandAllItems, groups, showGroups, grid, clickBack, topRowSecondary, bottomRowSecondary, bottomRowSecondaryRight, loading, openGroups, openFilter, altInputs, loadingVal, exportGrid, openSearch = false, styleSearch, stepper, pabDisabled, switcher, single, lowerTray, lowerTraySearch, lowerTrayGrid, upperTrayGrid, exportCSV, exportExcel, exportPDF, expand, expandGrid, collapseGrid, resize, gridApi, saveGridConfig, deleteGridConfig, clearGridConfig, hideActionRow = false, allowAdditionalTitleComponent = false, allowAdditionalRightComponent = true, StatusChipProps = null, tabProps, tabVariant, additionalComponentId = "",...otherProps } = props;
1042
+ const [searchExpanded, setSearchExpanded] = useState(openSearch);
1043
+ const currentContainerId = useShellStore((state) => state.currentContainerId);
1044
+ const allTeleporters = useAllTeleporters();
1045
+ const expandSearch = () => {
1046
+ setSearchExpanded(!searchExpanded);
1047
+ };
1048
+ const gridControlsExpand = [{
1049
+ label: "",
1050
+ aria: "expand",
1051
+ component: ChevronUnfold10Icon,
1052
+ click: expandGrid,
1053
+ id: 1
1054
+ }];
1055
+ const gridControlsResize = [{
1056
+ label: "",
1057
+ aria: "resize",
1058
+ component: MaximumValueIcon,
1059
+ click: resizeGrid,
1060
+ id: 2
1061
+ }];
1062
+ const gridControlsCollapse = [{
1063
+ label: "",
1064
+ aria: "collapse",
1065
+ component: ChevronFold10Icon,
1066
+ click: collapseGrid,
1067
+ id: 3
1068
+ }];
1069
+ const gridControlsGroup = [{
1070
+ label: "Group",
1071
+ component: GroupListIcon,
1072
+ click: openGroups,
1073
+ id: 4
1074
+ }];
1075
+ const gridControlsFilter = [{
1076
+ label: "Filter",
1077
+ component: FilterIcon,
1078
+ click: openFilter,
1079
+ id: 5
1080
+ }];
1081
+ const gridControlsSave = [{
1082
+ label: "Save Grid Configuration",
1083
+ component: SaveIcon,
1084
+ click: saveGridConfig,
1085
+ id: 6
1086
+ }];
1087
+ const gridControlsDelete = [{
1088
+ label: "Delete Grid Configuration",
1089
+ component: DeleteIcon,
1090
+ click: deleteGridConfig,
1091
+ id: 7
1092
+ }];
1093
+ const gridControlsClear = [{
1094
+ label: "Clear Grid Configuration",
1095
+ component: ClearIcon,
1096
+ click: clearGridConfig,
1097
+ id: 8
1098
+ }];
1099
+ const gridControlsExport = /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(PAHExport, {
1100
+ exportCSV: exportCSV || (() => gridApi === null || gridApi === void 0 ? void 0 : gridApi.exportDataAsCsv()),
1101
+ exportExcel: exportExcel || (() => gridApi === null || gridApi === void 0 ? void 0 : gridApi.exportDataAsExcel()),
1102
+ exportPDF
1103
+ }) });
1104
+ const gridControlExpand = gridControlsExpand && /* @__PURE__ */ jsx("div", { children: gridControlsExpand.map((item) => {
1105
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1106
+ label: item.label,
1107
+ title: item.label,
1108
+ expanded: true,
1109
+ component: item.component,
1110
+ click: item.click,
1111
+ aria: item.aria
1112
+ }, item.id);
1113
+ }) });
1114
+ const gridControlResize = gridControlsResize && /* @__PURE__ */ jsx("div", { children: gridControlsResize.map((item) => {
1115
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1116
+ label: item.label,
1117
+ title: item.label,
1118
+ expanded: true,
1119
+ component: item.component,
1120
+ click: item.click,
1121
+ aria: item.aria
1122
+ }, item.id);
1123
+ }) });
1124
+ const gridControlCollapse = gridControlsCollapse && /* @__PURE__ */ jsx("div", { children: gridControlsCollapse.map((item) => {
1125
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1126
+ label: item.label,
1127
+ title: item.label,
1128
+ expanded: true,
1129
+ component: item.component,
1130
+ click: item.click,
1131
+ aria: item.aria
1132
+ }, item.id);
1133
+ }) });
1134
+ const gridControlSave = gridControlsSave && /* @__PURE__ */ jsx("div", { children: gridControlsSave.map((item) => {
1135
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1136
+ label: item.label,
1137
+ title: item.label,
1138
+ expanded: true,
1139
+ component: item.component,
1140
+ click: item.click,
1141
+ aria: item.aria
1142
+ }, item.id);
1143
+ }) });
1144
+ const gridControlDelete = gridControlsDelete && /* @__PURE__ */ jsx("div", { children: gridControlsDelete.map((item) => {
1145
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1146
+ label: item.label,
1147
+ title: item.label,
1148
+ expanded: true,
1149
+ component: item.component,
1150
+ click: item.click,
1151
+ aria: item.aria
1152
+ }, item.id);
1153
+ }) });
1154
+ const gridControlClear = gridControlsClear && /* @__PURE__ */ jsx("div", { children: gridControlsClear.map((item) => {
1155
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1156
+ label: item.label,
1157
+ title: item.label,
1158
+ expanded: true,
1159
+ component: item.component,
1160
+ click: item.click,
1161
+ aria: item.aria
1162
+ }, item.id);
1163
+ }) });
1164
+ const searchToggle = /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
1165
+ style: { display: "flex" },
1166
+ children: searchExpanded && /* @__PURE__ */ jsx(FluentIconButton, {
1167
+ click: expandSearch,
1168
+ "aria-label": "close search",
1169
+ className: classes.close,
1170
+ icon: ChevronRightIcon,
1171
+ onClick: expandSearch,
1172
+ size: "small"
1173
+ })
1174
+ }), /* @__PURE__ */ jsx("div", {
1175
+ className: classes.search,
1176
+ style: { flex: 1 },
1177
+ children: /* @__PURE__ */ jsx("div", { children: searchExpanded && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Slide, {
1178
+ direction: "left",
1179
+ in: expandSearch,
1180
+ mountOnEnter: true,
1181
+ unmountOnExit: true,
1182
+ children: /* @__PURE__ */ jsx("div", {
1183
+ className: classes.searchWrapper,
1184
+ children: searchField
1185
+ })
1186
+ }) }) })
1187
+ })] });
1188
+ const LowerTrayShell = ({ children }) => {
1189
+ return /* @__PURE__ */ jsx("div", {
1190
+ className: classes.containerStyle,
1191
+ children
1192
+ });
1193
+ };
1194
+ const GridControlLineUp = () => {
1195
+ return /* @__PURE__ */ jsxs("div", {
1196
+ className: classes.gridControlLineUp,
1197
+ children: [
1198
+ saveGridConfig && gridControlSave,
1199
+ deleteGridConfig && gridControlDelete,
1200
+ clearGridConfig && gridControlClear,
1201
+ expandGrid && gridControlExpand,
1202
+ resizeGrid && gridControlResize,
1203
+ collapseGrid && gridControlCollapse,
1204
+ exportGrid && gridControlsExport
1205
+ ]
1206
+ });
1207
+ };
1208
+ const additionalTitleTeleportedComponents = useMemo(() => {
1209
+ const components = [];
1210
+ allTeleporters.forEach(([targetId, location, teleporter]) => {
1211
+ const Target = teleporter.Target;
1212
+ if (targetId === additionalComponentId && location === "title") components.push(/* @__PURE__ */ jsx("div", {
1213
+ className: "teleport-target",
1214
+ children: /* @__PURE__ */ jsx(Target, {})
1215
+ }, targetId));
1216
+ });
1217
+ return components;
1218
+ }, [additionalComponentId, allTeleporters]);
1219
+ return /* @__PURE__ */ jsxs("div", { children: [
1220
+ /* @__PURE__ */ jsxs("div", {
1221
+ className: single && classes.single,
1222
+ children: [
1223
+ /* @__PURE__ */ jsxs("div", {
1224
+ className: classes.titleWrapperBack,
1225
+ children: [
1226
+ clickBack && /* @__PURE__ */ jsx("div", {
1227
+ className: classes.iconButton,
1228
+ children: /* @__PURE__ */ jsx(FluentIconButton, {
1229
+ icon: ArrowBackIcon,
1230
+ onClick: clickBack
1231
+ })
1232
+ }),
1233
+ title && /* @__PURE__ */ jsx("div", {
1234
+ className: classes.root,
1235
+ children: /* @__PURE__ */ jsxs("div", {
1236
+ className: classes.titleWrapper,
1237
+ children: [
1238
+ /* @__PURE__ */ jsx(StandardTitle, {
1239
+ removeMarginTop: single,
1240
+ children: title
1241
+ }),
1242
+ single && subheader && /* @__PURE__ */ jsx(Typography, {
1243
+ className: classes.denseSubtitle,
1244
+ variant: "subtitle1",
1245
+ component: "h2",
1246
+ children: subheader
1247
+ }),
1248
+ allowAdditionalTitleComponent && /* @__PURE__ */ jsx("div", {
1249
+ className: classes.additionalTitleComponent,
1250
+ children: additionalTitleTeleportedComponents.map((value$1) => {
1251
+ return value$1;
1252
+ })
1253
+ })
1254
+ ]
1255
+ })
1256
+ }),
1257
+ !title && allowAdditionalTitleComponent && /* @__PURE__ */ jsx("div", {
1258
+ className: classes.additionalTitleComponent,
1259
+ children: additionalTitleTeleportedComponents.map((value$1) => {
1260
+ return value$1;
1261
+ })
1262
+ }),
1263
+ StatusChipProps && /* @__PURE__ */ jsx("div", {
1264
+ className: classes.root,
1265
+ children: /* @__PURE__ */ jsx("div", {
1266
+ className: classes.titleWrapper,
1267
+ children: /* @__PURE__ */ jsx(StatusChip, {
1268
+ label: StatusChipProps === null || StatusChipProps === void 0 ? void 0 : StatusChipProps.label,
1269
+ status: StatusChipProps === null || StatusChipProps === void 0 ? void 0 : StatusChipProps.status
1270
+ })
1271
+ })
1272
+ })
1273
+ ]
1274
+ }),
1275
+ /* @__PURE__ */ jsxs("div", {
1276
+ className: classes.subHeaderWrapper,
1277
+ children: [stepper, !hideActionRow && /* @__PURE__ */ jsxs("div", {
1278
+ className: classes.actionRow,
1279
+ children: [
1280
+ !single && subheader && /* @__PURE__ */ jsx(Typography, {
1281
+ className: classes.denseSubtitle,
1282
+ variant: "subtitle1",
1283
+ component: "h2",
1284
+ children: subheader
1285
+ }),
1286
+ /* @__PURE__ */ jsx("div", {
1287
+ className: grid ? classes.tabRow : classes.fullTabs,
1288
+ children: (tabList === null || tabList === void 0 ? void 0 : tabList.length) > 0 && /* @__PURE__ */ jsx(UdpTabs, {
1289
+ value,
1290
+ onChange: handleChange,
1291
+ tabList,
1292
+ variant: tabVariant
1293
+ })
1294
+ }),
1295
+ search && searchToggle,
1296
+ /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
1297
+ /* @__PURE__ */ jsxs("div", {
1298
+ className: classes.secondaryButtons,
1299
+ children: [
1300
+ !searchExpanded && search && /* @__PURE__ */ jsx(ToolBarButton, {
1301
+ label: "Search",
1302
+ component: SearchIcon,
1303
+ click: expandSearch
1304
+ }),
1305
+ search && /* @__PURE__ */ jsx(Divider, {
1306
+ orientation: "vertical",
1307
+ className: classes.divider
1308
+ }),
1309
+ (expandGrid || resizeGrid || collapseGrid || exportGrid || saveGridConfig || deleteGridConfig || clearGridConfig) && upperTrayGrid && /* @__PURE__ */ jsx(GridControlLineUp, { expand }),
1310
+ grid && openFilter && gridControlsFilter.map((item) => {
1311
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1312
+ label: item.label,
1313
+ title: item.label,
1314
+ expanded: true,
1315
+ component: item.component,
1316
+ click: item.click,
1317
+ aria: item.aria
1318
+ }, item.id);
1319
+ }),
1320
+ grid && openGroups && gridControlsGroup.map((item) => {
1321
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1322
+ label: item.label,
1323
+ title: item.label,
1324
+ expanded: true,
1325
+ component: item.component,
1326
+ click: item.click,
1327
+ aria: item.aria
1328
+ }, item.id);
1329
+ }),
1330
+ grid && searchExpanded && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FluentIconButton, {
1331
+ id: "udpRecord-PrimaryActionHeader-ClosePanel",
1332
+ udprecordid: "udpRecord-PrimaryActionHeader-ClosePanel",
1333
+ icon: MoreVerticalIcon,
1334
+ "aria-label": "Close Panel"
1335
+ }) }),
1336
+ secondaryButtons && !tabs && secondaryButtons.map((item, index) => {
1337
+ var _item$id;
1338
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1339
+ label: item.label,
1340
+ expanded: searchExpanded,
1341
+ component: item.component,
1342
+ click: item.click,
1343
+ aria: item.label,
1344
+ disabled: item.disabled
1345
+ }, (_item$id = item.id) !== null && _item$id !== void 0 ? _item$id : index);
1346
+ })
1347
+ ]
1348
+ }),
1349
+ /* @__PURE__ */ jsx("div", { children: allowAdditionalRightComponent && allTeleporters.map(([targetId, location, teleporter]) => {
1350
+ const Target = teleporter.Target;
1351
+ if (targetId === additionalComponentId && location === "right") return /* @__PURE__ */ jsx("div", {
1352
+ className: "teleport-target",
1353
+ children: /* @__PURE__ */ jsx(Target, {})
1354
+ }, targetId);
1355
+ else return null;
1356
+ }) }),
1357
+ !hidePAB && /* @__PURE__ */ jsxs("div", {
1358
+ className: classes.pab,
1359
+ children: [topRowSecondary && topRowSecondary.map((item, index) => {
1360
+ var _item$id2;
1361
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1362
+ label: item.label,
1363
+ expanded: searchExpanded,
1364
+ component: item.component,
1365
+ click: item.click,
1366
+ aria: item.label
1367
+ }, (_item$id2 = item.id) !== null && _item$id2 !== void 0 ? _item$id2 : index);
1368
+ }), /* @__PURE__ */ jsx(PrimaryActionButton, {
1369
+ disabled: pabDisabled,
1370
+ onClick: handleClick,
1371
+ ...otherProps,
1372
+ children: buttonLabel
1373
+ })]
1374
+ })
1375
+ ]
1376
+ })]
1377
+ }),
1378
+ /* @__PURE__ */ jsxs("div", {
1379
+ className: clsx(classes.secondaryButtons, (altInputs || bottomRowSecondary) && classes.tabPageButtons),
1380
+ children: [/* @__PURE__ */ jsxs("div", {
1381
+ className: classes.buttomButtonRow,
1382
+ children: [
1383
+ /* @__PURE__ */ jsx("div", {
1384
+ className: classes.bottomButtonsLeft,
1385
+ children: bottomRowSecondary && bottomRowSecondary.map((item, index) => {
1386
+ var _item$id3;
1387
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1388
+ label: item.label,
1389
+ expanded: !tabs && searchExpanded,
1390
+ component: item.component,
1391
+ click: item.click
1392
+ }, (_item$id3 = item.id) !== null && _item$id3 !== void 0 ? _item$id3 : index);
1393
+ })
1394
+ }),
1395
+ /* @__PURE__ */ jsx("div", {
1396
+ className: classes.bottomButtonsRigth,
1397
+ children: bottomRowSecondaryRight && bottomRowSecondaryRight.map((item, index) => {
1398
+ var _item$id4;
1399
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1400
+ label: item.label,
1401
+ expanded: !tabs && searchExpanded,
1402
+ component: item.component,
1403
+ click: item.click
1404
+ }, (_item$id4 = item.id) !== null && _item$id4 !== void 0 ? _item$id4 : index);
1405
+ })
1406
+ }),
1407
+ altInputs
1408
+ ]
1409
+ }), /* @__PURE__ */ jsxs("div", { children: [showGroups && /* @__PURE__ */ jsx(Divider, {}), showGroups && groups] })]
1410
+ }),
1411
+ /* @__PURE__ */ jsx(Collapse, {
1412
+ in: expandOptions,
1413
+ timeout: "auto",
1414
+ children: /* @__PURE__ */ jsx("div", {
1415
+ onMouseLeave: handleMouseLeave,
1416
+ children: /* @__PURE__ */ jsx("div", {
1417
+ className: classes.advancedOptions,
1418
+ children: expandedContent
1419
+ })
1420
+ })
1421
+ }),
1422
+ loading && /* @__PURE__ */ jsx(LinearProgress, { value: loadingVal })
1423
+ ]
1424
+ }),
1425
+ lowerTray && /* @__PURE__ */ jsx(LowerTrayShell, { children: /* @__PURE__ */ jsxs("div", {
1426
+ style: {
1427
+ display: "flex",
1428
+ justifyContent: "flex-end"
1429
+ },
1430
+ children: [/* @__PURE__ */ jsxs("div", {
1431
+ style: { display: "flex" },
1432
+ children: [!searchExpanded && lowerTraySearch && /* @__PURE__ */ jsx(ToolBarButton, {
1433
+ label: "Search",
1434
+ component: SearchIcon,
1435
+ click: expandSearch
1436
+ }), searchToggle]
1437
+ }), lowerTrayGrid && /* @__PURE__ */ jsx(GridControlLineUp, {})]
1438
+ }) }),
1439
+ /* @__PURE__ */ jsx("div", {
1440
+ className: classes.secondaryButtonsMobile,
1441
+ children: secondaryButtons && !tabs && secondaryButtons.map((item, index) => {
1442
+ var _item$id5;
1443
+ return /* @__PURE__ */ jsx(ToolBarButton, {
1444
+ label: item.label,
1445
+ expanded: searchExpanded,
1446
+ component: item.component,
1447
+ click: item.click,
1448
+ aria: item.label,
1449
+ disabled: item.disabled
1450
+ }, (_item$id5 = item.id) !== null && _item$id5 !== void 0 ? _item$id5 : index);
1451
+ })
1452
+ })
1453
+ ] }, currentContainerId);
1454
+ };
1455
+ PrimaryActionHeader.propTypes = {
1456
+ buttonLabel: PropTypes.string,
1457
+ title: PropTypes.string.isRequired,
1458
+ subheader: PropTypes.string,
1459
+ handleClick: PropTypes.func,
1460
+ secondaryButtons: PropTypes.arrayOf(PropTypes.shape({
1461
+ label: PropTypes.string,
1462
+ component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
1463
+ click: PropTypes.func,
1464
+ key: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
1465
+ })),
1466
+ hidePAB: PropTypes.bool,
1467
+ search: PropTypes.bool,
1468
+ searchField: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
1469
+ expandOptions: PropTypes.func,
1470
+ handleMouseLeave: PropTypes.string,
1471
+ expandedContent: PropTypes.node,
1472
+ handleChange: PropTypes.string,
1473
+ value: PropTypes.oneOfType([PropTypes.node, false]),
1474
+ tabList: PropTypes.node,
1475
+ tabs: PropTypes.bool,
1476
+ resizeGrid: PropTypes.func,
1477
+ collapse: PropTypes.func,
1478
+ expandAllItems: PropTypes.func,
1479
+ saveGridConfig: PropTypes.func,
1480
+ deleteGridConfig: PropTypes.func,
1481
+ clearGridConfig: PropTypes.func,
1482
+ groups: PropTypes.node,
1483
+ grid: PropTypes.bool,
1484
+ otherProps: PropTypes.any,
1485
+ bottomRowSecondary: PropTypes.array,
1486
+ topRowSecondary: PropTypes.array,
1487
+ clickBack: PropTypes.func,
1488
+ loading: PropTypes.bool,
1489
+ loadingVal: PropTypes.number,
1490
+ openGroups: PropTypes.func,
1491
+ openFilter: PropTypes.func,
1492
+ altInputs: PropTypes.node,
1493
+ hideActionRow: PropTypes.bool,
1494
+ tabProps: PropTypes.object,
1495
+ single: PropTypes.bool
1496
+ };
1497
+ PrimaryActionHeader.defaultProps = { hidePAB: false };
1498
+
1499
+ //#endregion
1500
+ //#region src/contexts/PageContext.tsx
1501
+ const initialState = {};
1502
+ /**
1503
+ * The Page context, shared amongst the Page
1504
+ * and all children. Generally used to share state between
1505
+ * Widgets. Call dispatch() to update the state. Currently
1506
+ * only supports dispatch types of "set <state_property>".
1507
+ * Example: dispatch({ type: "set mySharedProperty", value: oldSharedProperty + 1 });
1508
+ */
1509
+ const pageContext = createContext({});
1510
+ const { Provider } = pageContext;
1511
+ /**
1512
+ * Sets shared state based on an action type and a value.
1513
+ * action.type is in the format: <operator> <prop>
1514
+ * Currently the only supported action type is "set <prop>",
1515
+ * which will set state.prop to action.value.
1516
+ * @param state The current state
1517
+ * @param action A type and value to alter the current state
1518
+ * @returns The new state
1519
+ */
1520
+ const reducer = (state, action) => {
1521
+ const operator = action.type.substr(0, action.type.indexOf(" "));
1522
+ const prop = action.type.substr(action.type.indexOf(" ") + 1);
1523
+ switch (operator) {
1524
+ case "set":
1525
+ const newState = {
1526
+ ...state,
1527
+ [prop]: action.value
1528
+ };
1529
+ return newState;
1530
+ default: throw new Error("Unknown operator");
1531
+ }
1532
+ };
1533
+ /**
1534
+ * A Context component to wrap around a Page. Allows
1535
+ * sharing of state amongst sibling Widgets.
1536
+ * @returns
1537
+ */
1538
+ const PageContextProvider = ({ children }) => {
1539
+ const [state, dispatch] = useReducer(reducer, initialState);
1540
+ return /* @__PURE__ */ jsx(Provider, {
1541
+ value: {
1542
+ state,
1543
+ dispatch
1544
+ },
1545
+ children
1546
+ });
1547
+ };
1548
+
1549
+ //#endregion
1550
+ //#region src/hooks/useSetLocationState.js
1551
+ const useSetLocationState = () => {
1552
+ const history = useHistory();
1553
+ const location = useLocation();
1554
+ const setLocationState = (newState) => {
1555
+ const currentState = location.state || {};
1556
+ const hasChanged = Object.entries(newState).some(([key, value]) => currentState[key] !== value);
1557
+ if (!hasChanged || !!(location === null || location === void 0 ? void 0 : location.state)) return;
1558
+ history.replace({
1559
+ pathname: location.pathname,
1560
+ search: location.search,
1561
+ hash: location.hash,
1562
+ state: {
1563
+ ...currentState,
1564
+ ...newState
1565
+ }
1566
+ });
1567
+ };
1568
+ return setLocationState;
1569
+ };
1570
+
1571
+ //#endregion
1572
+ //#region src/page/PageContainer.jsx
1573
+ const useStyles = makeStyles((theme) => ({
1574
+ root: {
1575
+ marginTop: (props) => props.disableMargins ? 0 : theme.spacing(3),
1576
+ marginRight: (props) => props.disableMargins ? 0 : theme.spacing(3),
1577
+ marginLeft: (props) => props.disableMargins ? 0 : theme.spacing(3),
1578
+ height: (props) => {
1579
+ var _props$height;
1580
+ return (_props$height = props.height) !== null && _props$height !== void 0 ? _props$height : "100%";
1581
+ },
1582
+ overflow: (props) => props.height && "auto"
1583
+ },
1584
+ staticRoot: {
1585
+ marginTop: 0,
1586
+ marginRight: 0,
1587
+ marginLeft: 0,
1588
+ height: (props) => {
1589
+ var _props$height2;
1590
+ return (_props$height2 = props.height) !== null && _props$height2 !== void 0 ? _props$height2 : "100%";
1591
+ },
1592
+ overflow: (props) => props.height && "auto"
1593
+ },
1594
+ title: {
1595
+ flex: 1,
1596
+ marginBottom: theme.spacing(1)
1597
+ },
1598
+ icon: { marginTop: theme.spacing(-2.5) },
1599
+ loadingContent: {
1600
+ flex: 1,
1601
+ display: "flex",
1602
+ flexDirection: "column",
1603
+ alignItems: "center",
1604
+ justifyContent: "center",
1605
+ height: (props) => props.loadingHeight ? props.loadingHeight : "calc(100vh - 160px)"
1606
+ }
1607
+ }));
1608
+ const PageContainer = (props) => {
1609
+ var _location$state, _location$pathname;
1610
+ const { user, widgetParams, redirectSlug, pageData, pageLoading = false, disableMargin = true, location, fromMenu = false, loadingHeight, isHomePage = false } = props;
1611
+ const classes = useStyles(props);
1612
+ const [page, setPage] = useState(null);
1613
+ const [alertWarnings, setAlertWarnings] = useState([]);
1614
+ const params = location === null || location === void 0 || (_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.params;
1615
+ const pathPageId = location === null || location === void 0 || (_location$pathname = location.pathname) === null || _location$pathname === void 0 ? void 0 : _location$pathname.replace("/page/", "");
1616
+ const pageId = (pathPageId === "/" ? null : pathPageId) || (params === null || params === void 0 ? void 0 : params.PageId);
1617
+ const { t } = useTranslation();
1618
+ const setLocationState = useSetLocationState();
1619
+ const [{ data: pageInfo, loading: pageInfoLoading }] = useAxiosGet(ConfigService.tenantV1ApiUrl, `page/${pageId}`, {}, !!!pageId, false);
1620
+ const [{ data: homePage, loading: homePageLoading, error: homePageError }, refetchHomePage] = useAxiosGet(ConfigService.tenantV1ApiUrl, `page/homePage?tenantId=${user === null || user === void 0 ? void 0 : user.currentTenantId}&productId=${ConfigService.config.UNITY_PRODUCT_ID}`, {}, !isHomePage, false);
1621
+ const removeWarning = useCallback((id) => {
1622
+ setAlertWarnings((prevWarnings) => prevWarnings.filter((warning) => warning.id !== id));
1623
+ }, []);
1624
+ const getRequiredFieldWarnings = useCallback((requiredFields = "", widgetParams$1) => {
1625
+ const fieldsStr = requiredFields || "";
1626
+ if (!fieldsStr.trim()) return;
1627
+ const warnings = [];
1628
+ const requiredFieldsMap = (widgetParams$1 === null || widgetParams$1 === void 0 ? void 0 : widgetParams$1.requiredFieldsMap) || {};
1629
+ const nodeObj = (widgetParams$1 === null || widgetParams$1 === void 0 ? void 0 : widgetParams$1.nodeObj) || {};
1630
+ const fields = fieldsStr.split(",").map((str) => str.trim());
1631
+ const missingRequiredFieldNames = [];
1632
+ fields.forEach((fieldName) => {
1633
+ const requiredField = requiredFieldsMap[fieldName];
1634
+ if (!(requiredField === null || requiredField === void 0 ? void 0 : requiredField.value)) missingRequiredFieldNames.push(fieldName);
1635
+ else if (requiredField.type === "entity" && (nodeObj[requiredField.value] === void 0 || nodeObj[requiredField.value] === null)) missingRequiredFieldNames.push(fieldName);
1636
+ });
1637
+ missingRequiredFieldNames.forEach((name) => {
1638
+ warnings.push({
1639
+ id: v4(),
1640
+ message: `${name} ${t("field is missing a value")}`
1641
+ });
1642
+ });
1643
+ return warnings;
1644
+ }, [t]);
1645
+ const pages = useMemo(() => (page === null || page === void 0 ? void 0 : page.widgets) && Object.keys(JSON.parse(page.widgets)).map((key) => {
1646
+ const widgetStr = JSON.parse(page.widgets)[key];
1647
+ const widget = widgetStr ? JSON.parse(widgetStr) : null;
1648
+ if (widget === null || widget === void 0 ? void 0 : widget.length) widget.forEach((w) => {
1649
+ if (pageId) w.params = {
1650
+ entityName: params === null || params === void 0 ? void 0 : params.entityName,
1651
+ pbiReportCode: params === null || params === void 0 ? void 0 : params.pbiReportCode,
1652
+ queryId: params === null || params === void 0 ? void 0 : params.queryId,
1653
+ inquiryTreeId: params === null || params === void 0 ? void 0 : params.InquiryTreeId,
1654
+ udpTagId: params === null || params === void 0 ? void 0 : params.udpTagId,
1655
+ requiredFieldsMap: params === null || params === void 0 ? void 0 : params.requiredFieldMapping,
1656
+ ...w.params
1657
+ };
1658
+ if (widgetParams) w.params = {
1659
+ ...w.params,
1660
+ ...widgetParams
1661
+ };
1662
+ });
1663
+ return /* @__PURE__ */ jsx(DndProvider, {
1664
+ backend: HTML5Backend,
1665
+ children: /* @__PURE__ */ jsx(Page, {
1666
+ user,
1667
+ gridConfig: JSON.parse(page.gridProperties)[key],
1668
+ widgetConfig: widget,
1669
+ disableMargin
1670
+ })
1671
+ }, pageId ? `${key}-${params === null || params === void 0 ? void 0 : params.entityName}` : key);
1672
+ }), [
1673
+ page,
1674
+ user,
1675
+ widgetParams,
1676
+ disableMargin,
1677
+ pageId,
1678
+ params
1679
+ ]);
1680
+ useEffect(() => {
1681
+ if (pageId) {
1682
+ if (pageInfo) setPage(pageInfo);
1683
+ } else if (homePage) setPage(homePage);
1684
+ else setPage(pageData);
1685
+ setAlertWarnings([]);
1686
+ }, [
1687
+ pageId,
1688
+ pageInfo,
1689
+ pageData,
1690
+ homePage
1691
+ ]);
1692
+ useEffect(() => {
1693
+ if (page === null || page === void 0 ? void 0 : page.widgets) {
1694
+ let warnings = [];
1695
+ Object.keys(JSON.parse(page.widgets)).forEach((key) => {
1696
+ const widgetStr = JSON.parse(page.widgets)[key];
1697
+ const widget = widgetStr ? JSON.parse(widgetStr) : null;
1698
+ if (widget === null || widget === void 0 ? void 0 : widget.length) widget.forEach((w) => {
1699
+ if (pageId) w.params = {
1700
+ entityName: params === null || params === void 0 ? void 0 : params.entityName,
1701
+ pbiReportCode: params === null || params === void 0 ? void 0 : params.pbiReportCode,
1702
+ queryId: params === null || params === void 0 ? void 0 : params.queryId,
1703
+ inquiryTreeId: params === null || params === void 0 ? void 0 : params.InquiryTreeId,
1704
+ udpTagId: params === null || params === void 0 ? void 0 : params.udpTagId,
1705
+ requiredFieldsMap: params === null || params === void 0 ? void 0 : params.requiredFieldMapping,
1706
+ ...w.params
1707
+ };
1708
+ if (widgetParams) w.params = {
1709
+ ...w.params,
1710
+ ...widgetParams
1711
+ };
1712
+ if (fromMenu || (page === null || page === void 0 ? void 0 : page.pageId) === (widgetParams === null || widgetParams === void 0 ? void 0 : widgetParams.pageId)) warnings = getRequiredFieldWarnings(w.requiredParameters, w.params);
1713
+ });
1714
+ });
1715
+ setAlertWarnings(warnings);
1716
+ }
1717
+ }, [
1718
+ page,
1719
+ widgetParams,
1720
+ pageId,
1721
+ params,
1722
+ fromMenu,
1723
+ getRequiredFieldWarnings
1724
+ ]);
1725
+ useEffect(() => {
1726
+ if (page) setLocationState({ label: t(page === null || page === void 0 ? void 0 : page.name) });
1727
+ }, [
1728
+ setLocationState,
1729
+ t,
1730
+ page
1731
+ ]);
1732
+ if (redirectSlug && !pageData) return /* @__PURE__ */ jsx(Redirect, { to: redirectSlug });
1733
+ if (pageInfoLoading || pageLoading) return /* @__PURE__ */ jsx("div", {
1734
+ className: classes.loadingContent,
1735
+ children: /* @__PURE__ */ jsx(CircularProgress, { size: loadingHeight || 64 })
1736
+ });
1737
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [(page === null || page === void 0 ? void 0 : page.showPageName) && /* @__PURE__ */ jsx(Card, {
1738
+ variant: "outlined",
1739
+ children: /* @__PURE__ */ jsx(PrimaryActionHeader, {
1740
+ title: page.name,
1741
+ hidePAB: true,
1742
+ single: true
1743
+ })
1744
+ }), /* @__PURE__ */ jsxs("div", {
1745
+ className: (page === null || page === void 0 ? void 0 : page.pageTypeId) === 1 ? classes.staticRoot : classes.root,
1746
+ children: [(alertWarnings === null || alertWarnings === void 0 ? void 0 : alertWarnings.length) > 0 && alertWarnings.map((warning) => /* @__PURE__ */ jsx(Alert, {
1747
+ onClose: () => removeWarning(warning.id),
1748
+ severity: "warning",
1749
+ children: warning.message || ""
1750
+ }, warning.id)), /* @__PURE__ */ jsx(PageContextProvider, { children: pages })]
1751
+ })] });
1752
+ };
1753
+
1754
+ //#endregion
1755
+ export { AmbientPopoverMenuItem, FUICardHeaderMenu, FUICard_default, FUIMenuItem_default, FluentCard, FluentCardActions, FluentCardContent, PAHExport, PageContainer, PrimaryActionHeader, ToolBarButton, UdpTabs, WidgetCard, pageContext, useAllTeleporters, useSetLocationState, useTeleporterStore };
1756
+ //# sourceMappingURL=PageContainer-SljTiaZr.js.map