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