udp-react-enterprise-component-library 1.0.5-beta.1 → 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 (962) 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 -439
  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-Bkxf-uer.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/demos/InputsExample.d.ts +0 -2
  273. package/dist/UI/feedback/AmbientAlert.d.ts +0 -12
  274. package/dist/UI/feedback/AmbientToast.d.ts +0 -1
  275. package/dist/UI/feedback/FluentDialog.d.ts +0 -1
  276. package/dist/UI/feedback/NodeLoader.d.ts +0 -4
  277. package/dist/UI/feedback/PageLoading.d.ts +0 -1
  278. package/dist/UI/fileViewer/FileViewer.d.ts +0 -1
  279. package/dist/UI/fileViewer/imageSlider/Image.d.ts +0 -1
  280. package/dist/UI/fileViewer/imageSlider/ImageFooter.d.ts +0 -1
  281. package/dist/UI/fileViewer/imageSlider/ImageSlider.d.ts +0 -1
  282. package/dist/UI/fileViewer/imageSlider/ImageViewerSideSheet.d.ts +0 -1
  283. package/dist/UI/fileViewer/pdfViewer/ControlPanel.d.ts +0 -2
  284. package/dist/UI/fileViewer/pdfViewer/PDFViewer.d.ts +0 -11
  285. package/dist/UI/fileViewer/utils/fileTypes.d.ts +0 -1
  286. package/dist/UI/fileViewer/utils/fileUtils.d.ts +0 -2
  287. package/dist/UI/floorplans/CoreLayoutFloorplan.d.ts +0 -51
  288. package/dist/UI/forms/CrudForm.d.ts +0 -11
  289. package/dist/UI/forms/LoginForm.d.ts +0 -1
  290. package/dist/UI/forms/PaymentReversalForm.d.ts +0 -5
  291. package/dist/UI/forms/UdpCrudFormFields.d.ts +0 -6
  292. package/dist/UI/forms/VirtualForm.d.ts +0 -8
  293. package/dist/UI/iframe/Iframe.d.ts +0 -1
  294. package/dist/UI/inputs/buttons/AdvanceButton.d.ts +0 -4
  295. package/dist/UI/inputs/buttons/AmbientCardButton.d.ts +0 -9
  296. package/dist/UI/inputs/buttons/AmbientChipButton.d.ts +0 -1
  297. package/dist/UI/inputs/buttons/AmbientPopoverMenuItem.d.ts +0 -5
  298. package/dist/UI/inputs/buttons/AmbientToggleButton.d.ts +0 -15
  299. package/dist/UI/inputs/buttons/AmbientToggleButtonGroup.d.ts +0 -1
  300. package/dist/UI/inputs/buttons/AmbientToggleButtonGroupDefault.d.ts +0 -44
  301. package/dist/UI/inputs/buttons/AmbientTokenButton.d.ts +0 -1
  302. package/dist/UI/inputs/buttons/FUISquareIconButton.d.ts +0 -5
  303. package/dist/UI/inputs/buttons/FluentButton.d.ts +0 -1
  304. package/dist/UI/inputs/buttons/FluentCompoundButton.d.ts +0 -1
  305. package/dist/UI/inputs/buttons/FluentIconButton.d.ts +0 -1
  306. package/dist/UI/inputs/buttons/FluentMenuListButton.d.ts +0 -6
  307. package/dist/UI/inputs/buttons/FluentMenuListItem.d.ts +0 -6
  308. package/dist/UI/inputs/buttons/FluentUploadButton.d.ts +0 -1
  309. package/dist/UI/inputs/buttons/FluentUploadIconButton.d.ts +0 -1
  310. package/dist/UI/inputs/buttons/IconButtonWithToolTip.d.ts +0 -11
  311. package/dist/UI/inputs/buttons/PrimaryActionButton.d.ts +0 -6
  312. package/dist/UI/inputs/buttons/ToolBarButton.d.ts +0 -11
  313. package/dist/UI/inputs/calendar/AmbientDateRangeSelector.d.ts +0 -1
  314. package/dist/UI/inputs/calendar/AmbientSingleDateSelector.d.ts +0 -1
  315. package/dist/UI/inputs/checkbox/FluentCheckbox.d.ts +0 -1
  316. package/dist/UI/inputs/datetimes/DateField.d.ts +0 -1
  317. package/dist/UI/inputs/datetimes/DateTimeField.d.ts +0 -1
  318. package/dist/UI/inputs/datetimes/TimeField.d.ts +0 -1
  319. package/dist/UI/inputs/fieldArrayCard/AutocompleteFinalField.d.ts +0 -2
  320. package/dist/UI/inputs/fieldArrayCard/DateRangeField.d.ts +0 -2
  321. package/dist/UI/inputs/fieldArrayCard/FieldArrayCard.d.ts +0 -1
  322. package/dist/UI/inputs/fieldArrayCard/SearchSideSheet.d.ts +0 -2
  323. package/dist/UI/inputs/fieldArrayCard/fieldArrayCardEnum.d.ts +0 -10
  324. package/dist/UI/inputs/link/BreadCrumbMenu.d.ts +0 -1
  325. package/dist/UI/inputs/link/FluentLink.d.ts +0 -1
  326. package/dist/UI/inputs/menus/AmbientStepper/AmbientStepContent.d.ts +0 -9
  327. package/dist/UI/inputs/menus/AmbientStepper/AmbientStepper.d.ts +0 -5
  328. package/dist/UI/inputs/menus/AmbientStepper/StepLabel.d.ts +0 -49
  329. package/dist/UI/inputs/menus/FluentScrollLoadAutocompleteMenu.d.ts +0 -44
  330. package/dist/UI/inputs/menus/FluentSelectDirectoryMenu.d.ts +0 -6
  331. package/dist/UI/inputs/menus/FluentSelectGroupMenu.d.ts +0 -7
  332. package/dist/UI/inputs/menus/FluentSelectMenu-old.d.ts +0 -1
  333. package/dist/UI/inputs/menus/FluentSelectMenu.d.ts +0 -9
  334. package/dist/UI/inputs/menus/FluentSimpleSelect.d.ts +0 -1
  335. package/dist/UI/inputs/pickers/FluentColorPicker.d.ts +0 -1
  336. package/dist/UI/inputs/pickers/FluentDatePicker.d.ts +0 -6
  337. package/dist/UI/inputs/pickers/FluentDateTimePicker.d.ts +0 -6
  338. package/dist/UI/inputs/pickers/FluentTimePicker.d.ts +0 -7
  339. package/dist/UI/inputs/pickers/UdpDateSelector.d.ts +0 -10
  340. package/dist/UI/inputs/pickers/UdpTimeSelector.d.ts +0 -8
  341. package/dist/UI/inputs/radio/FluentRadio.d.ts +0 -1
  342. package/dist/UI/inputs/radio/FluentRadioGroup.d.ts +0 -1
  343. package/dist/UI/inputs/richEditors/CkRichEditor.d.ts +0 -1
  344. package/dist/UI/inputs/sliders/FluentInputSlider.d.ts +0 -2
  345. package/dist/UI/inputs/textField/AmbientAutoComplete.d.ts +0 -1
  346. package/dist/UI/inputs/textField/AmbientTextField.d.ts +0 -9
  347. package/dist/UI/inputs/textField/FluentSearchField.d.ts +0 -1
  348. package/dist/UI/inputs/textField/FluentTagField.d.ts +0 -2
  349. package/dist/UI/inputs/textField/FluentTextField.d.ts +0 -2
  350. package/dist/UI/inputs/textField/FluentTextFieldAutoComplete.d.ts +0 -1
  351. package/dist/UI/inputs/textField/KeyValueTextField.d.ts +0 -1
  352. package/dist/UI/inputs/toggle/FluentToggle.d.ts +0 -1
  353. package/dist/UI/loading/CircularProgress.d.ts +0 -1
  354. package/dist/UI/loading/LinearProgress.d.ts +0 -1
  355. package/dist/UI/loading/LoadingIndicator.d.ts +0 -4
  356. package/dist/UI/loading/LoadingOverlay.d.ts +0 -4
  357. package/dist/UI/mapLayout/MapLayout.d.ts +0 -1
  358. package/dist/UI/mapLayout/ui/ActionsRenderer.d.ts +0 -2
  359. package/dist/UI/mapLayout/ui/CheckboxGroup.d.ts +0 -1
  360. package/dist/UI/mapLayout/ui/CheckboxList.d.ts +0 -1
  361. package/dist/UI/mapLayout/ui/CompactCard.d.ts +0 -1
  362. package/dist/UI/mapLayout/ui/ListCard.d.ts +0 -9
  363. package/dist/UI/mapLayout/ui/ListView.d.ts +0 -2
  364. package/dist/UI/mapLayout/ui/MapLayoutToolbar.d.ts +0 -2
  365. package/dist/UI/mapLayout/ui/PopoverCard.d.ts +0 -1
  366. package/dist/UI/mapLayout/ui/PopoverOverlay.d.ts +0 -2
  367. package/dist/UI/mapLayout/ui/Statistic.d.ts +0 -1
  368. package/dist/UI/mapLayout/utilities/MapUtilities.d.ts +0 -12
  369. package/dist/UI/maps/UdpMap.d.ts +0 -66
  370. package/dist/UI/maps/UdpMapComponent.d.ts +0 -64
  371. package/dist/UI/maps/UdpMapToolbar.d.ts +0 -49
  372. package/dist/UI/navigation/FluentSideNav.d.ts +0 -1
  373. package/dist/UI/navigation/menus/AppMenu.d.ts +0 -6
  374. package/dist/UI/navigation/menus/AppMenuItem.d.ts +0 -24
  375. package/dist/UI/navigation/menus/AppMenuItemComponent.d.ts +0 -1
  376. package/dist/UI/navigation/menus/Expander.d.ts +0 -1
  377. package/dist/UI/navigation/menus/ExpanderItem.d.ts +0 -4
  378. package/dist/UI/navigation/menus/FluentMenuListItem.d.ts +0 -5
  379. package/dist/UI/navigation/tabs/UdpTabPanel.d.ts +0 -1
  380. package/dist/UI/navigation/tabs/UdpTabUtility.d.ts +0 -1
  381. package/dist/UI/navigation/tabs/UdpTabs.d.ts +0 -1
  382. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTab.d.ts +0 -1
  383. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.d.ts +0 -1
  384. package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanel.d.ts +0 -8
  385. package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanels.d.ts +0 -45
  386. package/dist/UI/navigation/tabs/defaultTabs/FluentTabUtility.d.ts +0 -1
  387. package/dist/UI/property/PropertyFields.d.ts +0 -10
  388. package/dist/UI/property/widgets/AutoCompletePropertyWidget.d.ts +0 -7
  389. package/dist/UI/property/widgets/BooleanPropertyWidget.d.ts +0 -7
  390. package/dist/UI/property/widgets/DatePropertyWidget.d.ts +0 -7
  391. package/dist/UI/property/widgets/DateTimePropertyWidget.d.ts +0 -7
  392. package/dist/UI/property/widgets/FloatPropertyWidget.d.ts +0 -7
  393. package/dist/UI/property/widgets/IntegerPropertyWidget.d.ts +0 -7
  394. package/dist/UI/property/widgets/MultilineTextPropertyWidget.d.ts +0 -7
  395. package/dist/UI/property/widgets/NumericPropertyWidget.d.ts +0 -7
  396. package/dist/UI/property/widgets/SelectPropertyWidget.d.ts +0 -7
  397. package/dist/UI/property/widgets/TextPropertyWidget.d.ts +0 -8
  398. package/dist/UI/property/widgets/TimePropertyWidget.d.ts +0 -7
  399. package/dist/UI/property/widgets/index.d.ts +0 -25
  400. package/dist/UI/stepper/types.d.ts +0 -38
  401. package/dist/UI/stepper/udp-stepper.d.ts +0 -2
  402. package/dist/UI/support/SupportCaseForm.d.ts +0 -6
  403. package/dist/UI/support/SupportCaseSideSheet.d.ts +0 -9
  404. package/dist/UI/surfaces/NestedGrid/NestedGrid.d.ts +0 -18
  405. package/dist/UI/surfaces/NestedGrid/ui/ExpandRenderer.d.ts +0 -5
  406. package/dist/UI/surfaces/SideSheet.d.ts +0 -23
  407. package/dist/UI/surfaces/cards/AmbientCard.d.ts +0 -1
  408. package/dist/UI/surfaces/cards/AmbientCardTitle.d.ts +0 -12
  409. package/dist/UI/surfaces/cards/AmbientVisualizationCard.d.ts +0 -10
  410. package/dist/UI/surfaces/cards/BioCard.d.ts +0 -10
  411. package/dist/UI/surfaces/cards/ContentDisplayCard.d.ts +0 -13
  412. package/dist/UI/surfaces/cards/FUICard.d.ts +0 -4
  413. package/dist/UI/surfaces/cards/FUICardHeader.d.ts +0 -2
  414. package/dist/UI/surfaces/cards/FluentCard.d.ts +0 -8
  415. package/dist/UI/surfaces/cards/FluentCardActions.d.ts +0 -4
  416. package/dist/UI/surfaces/cards/FluentCardContent.d.ts +0 -4
  417. package/dist/UI/surfaces/cards/FluentCardHeader.d.ts +0 -4
  418. package/dist/UI/surfaces/cards/FluentCardText.d.ts +0 -1
  419. package/dist/UI/surfaces/cards/InfoCard.d.ts +0 -33
  420. package/dist/UI/surfaces/cards/QuickViewCard.d.ts +0 -8
  421. package/dist/UI/surfaces/cards/newsCard/NewsCard.d.ts +0 -20
  422. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderCard.d.ts +0 -12
  423. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderHeader.d.ts +0 -4
  424. package/dist/UI/templates/AmbientGridTemplate.d.ts +0 -34
  425. package/dist/UI/templates/DraggableSidebarTemplate.d.ts +0 -1
  426. package/dist/UI/templates/OpenPage.d.ts +0 -1
  427. package/dist/UI/templates/SapFlexibleTemplate.d.ts +0 -5
  428. package/dist/UI/templates/ToggleSection.d.ts +0 -11
  429. package/dist/UI/templates/UdpCalendar.d.ts +0 -1
  430. package/dist/UI/templates/UdpCalendarDayView.d.ts +0 -1
  431. package/dist/UI/templates/UdpCalendarMonthView.d.ts +0 -1
  432. package/dist/UI/templates/UdpCalendarWeekView.d.ts +0 -1
  433. package/dist/UI/templates/UdpCalendarYearView.d.ts +0 -1
  434. package/dist/UI/templates/UdpGridTemplate.d.ts +0 -1
  435. package/dist/UI/templates/newGrid/ApiMethodUdpGrid.d.ts +0 -1
  436. package/dist/UI/templates/newGrid/ClientSideUdpGrid.d.ts +0 -1
  437. package/dist/UI/templates/newGrid/ServerSideUdpGrid.d.ts +0 -1
  438. package/dist/UI/templates/ui/ExtenderToggle.d.ts +0 -8
  439. package/dist/UI/templates/ui/GridGroupingHeader.d.ts +0 -10
  440. package/dist/UI/templates/ui/GridGroupingSidebar.d.ts +0 -19
  441. package/dist/UI/templates/ui/GridSidebarContainer.d.ts +0 -7
  442. package/dist/UI/templates/ui/TokenGroupItem.d.ts +0 -12
  443. package/dist/UI/templates/ui/renderers/ActionsRenderer.d.ts +0 -1
  444. package/dist/UI/templates/ui/renderers/IconRenderer.d.ts +0 -1
  445. package/dist/UI/templates/ui/renderers/StatusCellRenderer.d.ts +0 -1
  446. package/dist/UI/timeline/ExtendActions.d.ts +0 -2
  447. package/dist/UI/timeline/ExtendedHeader.d.ts +0 -2
  448. package/dist/UI/timeline/TimeEntryStates.d.ts +0 -1
  449. package/dist/UI/timeline/TimeLine.d.ts +0 -6
  450. package/dist/UI/timeline/TimelineElement.d.ts +0 -2
  451. package/dist/UI/timeline/UdpTimeline.d.ts +0 -1
  452. package/dist/UI/timeline/UdpTimelineContent.d.ts +0 -1
  453. package/dist/UI/timeline/UdpTimelineDot.d.ts +0 -1
  454. package/dist/UI/timeline/UdpTimelineItem.d.ts +0 -1
  455. package/dist/UI/timeline/UdpTimelineItemConnector.d.ts +0 -1
  456. package/dist/UI/timeline/UdpTimelineItemSeparator.d.ts +0 -1
  457. package/dist/UI/timeline/fluentTimeline/FluentTimeline.d.ts +0 -1
  458. package/dist/UI/timeline/fluentTimeline/FluentTimelineContent.d.ts +0 -1
  459. package/dist/UI/timeline/fluentTimeline/FluentTimelineHeader.d.ts +0 -1
  460. package/dist/UI/utilityDisplay/AggregateChip.d.ts +0 -2
  461. package/dist/UI/utilityDisplay/BulkActionsGridButton.d.ts +0 -1
  462. package/dist/UI/utilityDisplay/ChipSection.d.ts +0 -14
  463. package/dist/UI/utilityDisplay/Divider.d.ts +0 -1
  464. package/dist/UI/utilityDisplay/FormControl.d.ts +0 -1
  465. package/dist/UI/utilityDisplay/FormControlLabel.d.ts +0 -1
  466. package/dist/UI/utilityDisplay/GridActionBar.d.ts +0 -13
  467. package/dist/UI/utilityDisplay/GridPrimaryBar.d.ts +0 -23
  468. package/dist/UI/utilityDisplay/GridViewsSideSheet.d.ts +0 -17
  469. package/dist/UI/utilityDisplay/IndicatorChip.d.ts +0 -1
  470. package/dist/UI/utilityDisplay/InputAdornment.d.ts +0 -1
  471. package/dist/UI/utilityDisplay/SaveViewFormDialog.d.ts +0 -16
  472. package/dist/UI/utilityDisplay/UtilityBar.d.ts +0 -1
  473. package/dist/UI/utilityDisplay/UtilitySideBar.d.ts +0 -1
  474. package/dist/UI/utilityDisplay/alerts/UdpAlert.d.ts +0 -2
  475. package/dist/UI/utilityDisplay/alerts/UdpAlertsContainer.d.ts +0 -1
  476. package/dist/UI/utilityDisplay/ui/UtilitySearch.d.ts +0 -5
  477. package/dist/UI/utilityDisplay/utilities/aggregateUtils.d.ts +0 -1
  478. package/dist/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.d.ts +0 -44
  479. package/dist/UI/utilityDisplay/utilityHeader/UtilityTabHeader.d.ts +0 -6
  480. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.d.ts +0 -4
  481. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.d.ts +0 -4
  482. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHExport.d.ts +0 -5
  483. package/dist/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.d.ts +0 -8
  484. package/dist/UI/utilityDisplay/utilityHeader/ui/teleporter.d.ts +0 -2
  485. package/dist/UI/widgets/FluentComponents/ChartSummaryToggle.d.ts +0 -2
  486. package/dist/UI/widgets/FluentComponents/FUIMenuItem.d.ts +0 -2
  487. package/dist/UI/widgets/FluentComponents/SimpleTable.d.ts +0 -2
  488. package/dist/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.d.ts +0 -2
  489. package/dist/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.d.ts +0 -2
  490. package/dist/UI/widgets/FluentComponents/atoms/FluentTrendArrow.d.ts +0 -2
  491. package/dist/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.d.ts +0 -2
  492. package/dist/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.d.ts +0 -2
  493. package/dist/UI/widgets/FluentComponents/molecules/FluentStatNumber.d.ts +0 -2
  494. package/dist/UI/widgets/FluentComponents/molecules/FluentTimeline.d.ts +0 -2
  495. package/dist/UI/widgets/ItemsWidgetCard.d.ts +0 -8
  496. package/dist/UI/widgets/WidgetCard.d.ts +0 -5
  497. package/dist/UI/widgets/library/BarChartWidget.d.ts +0 -23
  498. package/dist/UI/widgets/library/BubbleWidget.d.ts +0 -23
  499. package/dist/UI/widgets/library/CircleGaugeWidget.d.ts +0 -12
  500. package/dist/UI/widgets/library/DateTrendWidget.d.ts +0 -18
  501. package/dist/UI/widgets/library/DensePlotWidget.d.ts +0 -23
  502. package/dist/UI/widgets/library/DonutChartWidget.d.ts +0 -18
  503. package/dist/UI/widgets/library/GaugeWidget.d.ts +0 -14
  504. package/dist/UI/widgets/library/LineAndSparklinesWidget.d.ts +0 -18
  505. package/dist/UI/widgets/library/LineGraphWidget.d.ts +0 -23
  506. package/dist/UI/widgets/library/ProgressBarWidget.d.ts +0 -18
  507. package/dist/UI/widgets/library/RecentlyLoadedNodesWidget.d.ts +0 -3
  508. package/dist/UI/widgets/library/RemindersWidget.d.ts +0 -3
  509. package/dist/UI/widgets/library/SparklineWidget.d.ts +0 -18
  510. package/dist/UI/widgets/library/SparsePlotWidget.d.ts +0 -23
  511. package/dist/UI/widgets/library/TableWidget.d.ts +0 -18
  512. package/dist/UI/widgets/utils/ConvertISODate.d.ts +0 -1
  513. package/dist/UI/widgets/utils/NumberVisualization.d.ts +0 -2
  514. package/dist/UI/widgets/utils/dateUtils.d.ts +0 -3
  515. package/dist/UI/widgets/utils/useId.d.ts +0 -4
  516. package/dist/VirtualBrowser-BvntTEs-.js +0 -593
  517. package/dist/actions/ActionForm.d.ts +0 -11
  518. package/dist/actions/ActionModal.d.ts +0 -1
  519. package/dist/actions/ActionPanelPlacement.d.ts +0 -8
  520. package/dist/actions/ActionSideSheet.d.ts +0 -12
  521. package/dist/actions/ActionSpeedDial.d.ts +0 -13
  522. package/dist/actions/ActionSplitScreen.d.ts +0 -14
  523. package/dist/actions/ActionWrapper.d.ts +0 -12
  524. package/dist/actions/PageActionWrapper.d.ts +0 -1
  525. package/dist/actions/actionSummary/ActionSummaryCard.d.ts +0 -13
  526. package/dist/actions/actionSummary/ActionSummaryHeader.d.ts +0 -8
  527. package/dist/actions/actionSummary/ActionSummaryListContainer.d.ts +0 -8
  528. package/dist/actions/actionSummary/ActionSummaryListItem.d.ts +0 -10
  529. package/dist/actions/actionSummary/ActionSummaryPopover.d.ts +0 -8
  530. package/dist/actions/actionSummary/index.d.ts +0 -5
  531. package/dist/actions/sidebar/EntitySideBarContent.d.ts +0 -1
  532. package/dist/actions/utils/actionUtils.d.ts +0 -3
  533. package/dist/assets/unityIcons/LibraryData.d.ts +0 -5
  534. package/dist/chatBot/ChatContainer.d.ts +0 -1
  535. package/dist/chatBot/ChatMessage.d.ts +0 -1
  536. package/dist/componentSystems/multiThreadTimeline/functions/mttFunctions.d.ts +0 -5
  537. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.d.ts +0 -4
  538. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.d.ts +0 -1
  539. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttTimeline.d.ts +0 -1
  540. package/dist/componentSystems/multiThreadTimeline/mttSummary/MttSummary.d.ts +0 -6
  541. package/dist/componentSystems/multiThreadTimeline/timeline.d.ts +0 -26
  542. package/dist/componentSystems/multiThreadTimeline/ui/CircleButton.d.ts +0 -6
  543. package/dist/componentSystems/multiThreadTimeline/ui/DateWrapper.d.ts +0 -14
  544. package/dist/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.d.ts +0 -1
  545. package/dist/componentSystems/multiThreadTimeline/ui/MttYearTag.d.ts +0 -8
  546. package/dist/componentSystems/multiThreadTimeline/ui/MultiDot.d.ts +0 -8
  547. package/dist/componentSystems/multiThreadTimeline/ui/SummaryToken.d.ts +0 -18
  548. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDateBar.d.ts +0 -12
  549. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDot.d.ts +0 -9
  550. package/dist/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.d.ts +0 -9
  551. package/dist/componentSystems/multiThreadTimeline/ui/TimelineNode.d.ts +0 -1
  552. package/dist/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.d.ts +0 -9
  553. package/dist/componentSystems/multiThreadTimeline/ui/TimelineStatus.d.ts +0 -6
  554. package/dist/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.d.ts +0 -17
  555. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.d.ts +0 -22
  556. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.d.ts +0 -16
  557. package/dist/componentSystems/multiThreadTimeline/ui/TimelineWrapper.d.ts +0 -10
  558. package/dist/componentSystems/multiThreadTimeline/ui/VisualizationDot.d.ts +0 -10
  559. package/dist/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.d.ts +0 -18
  560. package/dist/componentSystems/pageRenderer/PageRenderer.d.ts +0 -6
  561. package/dist/componentSystems/pageRenderer/hocs/withEngineComponent.d.ts +0 -1
  562. package/dist/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +0 -33
  563. package/dist/componentSystems/pageRenderer/utils/TableColumnDefs.d.ts +0 -9
  564. package/dist/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.d.ts +0 -12
  565. package/dist/componentSystems/pageRenderer/wrappers/BarChartWrapper.d.ts +0 -7
  566. package/dist/componentSystems/pageRenderer/wrappers/BioCardWrapper.d.ts +0 -1
  567. package/dist/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.d.ts +0 -1
  568. package/dist/componentSystems/pageRenderer/wrappers/DonutWrapper.d.ts +0 -7
  569. package/dist/componentSystems/pageRenderer/wrappers/HistogramWrapper.d.ts +0 -1
  570. package/dist/componentSystems/pageRenderer/wrappers/LineGraphWrapper.d.ts +0 -1
  571. package/dist/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.d.ts +0 -1
  572. package/dist/constants/reminderConstants.d.ts +0 -4
  573. package/dist/containers/IframeContainer.d.ts +0 -1
  574. package/dist/contexts/ActionContext.d.ts +0 -1
  575. package/dist/contexts/ActionDispatchContext.d.ts +0 -1
  576. package/dist/contexts/ActionLoadingContext.d.ts +0 -1
  577. package/dist/contexts/ActionLoadingDispatchContext.d.ts +0 -1
  578. package/dist/contexts/PageContext.d.ts +0 -15
  579. package/dist/contexts/usePageContext.d.ts +0 -1
  580. package/dist/dashboard/DashboardCardGrid.d.ts +0 -5
  581. package/dist/dashboard/DashboardWidget.d.ts +0 -2
  582. package/dist/dashboard/WidgetCard.d.ts +0 -1
  583. package/dist/dashboard/getWidgetLayout.d.ts +0 -5
  584. package/dist/dashboard/types.d.ts +0 -27
  585. package/dist/dataBrowser/DataBrowserColumnDefs.d.ts +0 -9
  586. package/dist/dataBrowser/DataBrowserContainer.d.ts +0 -1
  587. package/dist/dataBrowser/forms/ParamsMappingFields.d.ts +0 -1
  588. package/dist/dataBrowser/forms/ParamsMappingForm.d.ts +0 -1
  589. package/dist/dataBrowser/forms/RequiredFieldsMappingField.d.ts +0 -1
  590. package/dist/dataBrowser/forms/RequiredFieldsMappingForm.d.ts +0 -1
  591. package/dist/diffChecker/DiffChecker.d.ts +0 -6
  592. package/dist/enums/InputFieldTypeEnums.d.ts +0 -8
  593. package/dist/enums/aggridEnums.d.ts +0 -46
  594. package/dist/enums/menuEnums.d.ts +0 -6
  595. package/dist/enums/pageEnums.d.ts +0 -14
  596. package/dist/enums/paymentMethodTypeEnum.d.ts +0 -6
  597. package/dist/enums/paymentTenderTypeEnum.d.ts +0 -8
  598. package/dist/enums/paymentVendorFactoryEnum.d.ts +0 -10
  599. package/dist/enums/propertyTypeEnums.d.ts +0 -9
  600. package/dist/enums/searchEnums.d.ts +0 -5
  601. package/dist/enums/tagEnums.d.ts +0 -5
  602. package/dist/enums/unitySystemEnums.d.ts +0 -243
  603. package/dist/enums/workflowEnums.d.ts +0 -41
  604. package/dist/hooks/crudActions.d.ts +0 -5
  605. package/dist/hooks/useActions.d.ts +0 -17
  606. package/dist/hooks/useApiCatalog.d.ts +0 -6
  607. package/dist/hooks/useDateLocale.d.ts +0 -5
  608. package/dist/hooks/useDynamicListCalculation.d.ts +0 -1
  609. package/dist/hooks/useFluentIcon.d.ts +0 -3
  610. package/dist/hooks/useItemSubCard.d.ts +0 -7
  611. package/dist/hooks/useOutlook.d.ts +0 -6
  612. package/dist/hooks/useProductVersion.d.ts +0 -1
  613. package/dist/hooks/usePromotedLookupMethods.d.ts +0 -5
  614. package/dist/hooks/usePromotedMethodEntity.d.ts +0 -5
  615. package/dist/hooks/useQueryExecutors.d.ts +0 -7
  616. package/dist/hooks/useSearchFilterParamsMap.d.ts +0 -6
  617. package/dist/hooks/useSetLocationState.d.ts +0 -1
  618. package/dist/hooks/useSplitDecimal.d.ts +0 -3
  619. package/dist/hooks/useUpdateSearchParams.d.ts +0 -1
  620. package/dist/hooks/useWorkflow.d.ts +0 -3
  621. package/dist/hooks/virtualActions.d.ts +0 -3
  622. package/dist/index-DWuWdOI1.js +0 -56507
  623. package/dist/index.modern.js +0 -611
  624. package/dist/index.test.d.ts +0 -1
  625. package/dist/inquiry/AlertFlag.d.ts +0 -1
  626. package/dist/inquiry/AmbientListItem.d.ts +0 -1
  627. package/dist/inquiry/AmbientSplitStatCard.d.ts +0 -1
  628. package/dist/inquiry/AmbientSummaryListHeader.d.ts +0 -1
  629. package/dist/inquiry/EmbeddedInquiry.d.ts +0 -2
  630. package/dist/inquiry/ExecuteApiDialog.d.ts +0 -1
  631. package/dist/inquiry/FilterSearch.d.ts +0 -3
  632. package/dist/inquiry/FlagBlock.d.ts +0 -1
  633. package/dist/inquiry/Inquiry.d.ts +0 -1
  634. package/dist/inquiry/InquiryContainer.d.ts +0 -28
  635. package/dist/inquiry/InquiryTreeMenu.d.ts +0 -1
  636. package/dist/inquiry/InquiryTreeMenuItem.d.ts +0 -1
  637. package/dist/inquiry/InquiryWrapper.d.ts +0 -1
  638. package/dist/inquiry/ItemDescription.d.ts +0 -1
  639. package/dist/inquiry/NodeColumnHeader.d.ts +0 -5
  640. package/dist/inquiry/NodeDetails.d.ts +0 -1
  641. package/dist/inquiry/NodeList.d.ts +0 -1
  642. package/dist/inquiry/ToggleButton.d.ts +0 -1
  643. package/dist/inquiry/dashboard/InquiryDashboard.d.ts +0 -1
  644. package/dist/inquiry/dashboard/RecentlyLoadedNodesTable.d.ts +0 -1
  645. package/dist/inquiry/inquiryBar/InquiryControlList.d.ts +0 -11
  646. package/dist/inquiry/inquiryBar/InquiryNodeControls.d.ts +0 -1
  647. package/dist/inquiry/search/InquiryAdvancedSearch.d.ts +0 -1
  648. package/dist/inquiry/search/InquiryAdvancedSearchForm.d.ts +0 -1
  649. package/dist/inquiry/search/InquirySearchContainer.d.ts +0 -1
  650. package/dist/inquiry/search/InquirySearchDatasource.d.ts +0 -3
  651. package/dist/inquiry/search/InquirySearchTable.d.ts +0 -1
  652. package/dist/layout/GridGroup.d.ts +0 -10
  653. package/dist/layout/GridRow.d.ts +0 -5
  654. package/dist/layout/GridUnit.d.ts +0 -1
  655. package/dist/layout/HeaderLayout.d.ts +0 -3
  656. package/dist/layout/LayoutUnit.d.ts +0 -2
  657. package/dist/layout/getRatio.d.ts +0 -1
  658. package/dist/layout/templates/SideBarTemplate.d.ts +0 -4
  659. package/dist/maintenanceEngine/crudBrowser/CrudBrowserContainer.d.ts +0 -1
  660. package/dist/maintenanceEngine/crudBrowser/CrudTableActionRender.d.ts +0 -2
  661. package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.d.ts +0 -9
  662. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts +0 -11
  663. package/dist/maintenanceEngine/entityAttributeActions.d.ts +0 -1
  664. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +0 -44
  665. package/dist/maintenanceEngine/tableBrowser/TableContainer.d.ts +0 -1
  666. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.d.ts +0 -1
  667. package/dist/maintenanceEngine/virtualBrowser/VirtualTableColumnDefs.d.ts +0 -9
  668. package/dist/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.d.ts +0 -10
  669. package/dist/map-library/Controls/Controls.d.ts +0 -3
  670. package/dist/map-library/Controls/CustomControl.d.ts +0 -1
  671. package/dist/map-library/Controls/FullScreenControl.d.ts +0 -1
  672. package/dist/map-library/Controls/ZoomControl.d.ts +0 -1
  673. package/dist/map-library/Controls/index.d.ts +0 -1
  674. package/dist/map-library/Layers/ImageLayer.d.ts +0 -4
  675. package/dist/map-library/Layers/Layers.d.ts +0 -3
  676. package/dist/map-library/Layers/TileLayer.d.ts +0 -4
  677. package/dist/map-library/Layers/VectorLayer.d.ts +0 -6
  678. package/dist/map-library/Layers/index.d.ts +0 -1
  679. package/dist/map-library/Map/Map.d.ts +0 -22
  680. package/dist/map-library/Map/MapContext.d.ts +0 -2
  681. package/dist/map-library/Map/index.d.ts +0 -1
  682. package/dist/map-library/Source/index.d.ts +0 -4
  683. package/dist/map-library/Source/osm.d.ts +0 -3
  684. package/dist/map-library/Source/vector.d.ts +0 -5
  685. package/dist/map-library/Source/xyz.d.ts +0 -7
  686. package/dist/map-library/functions/mapFunctions.d.ts +0 -2
  687. package/dist/map-library/geoLocation/FreeFormField.d.ts +0 -1
  688. package/dist/map-library/geoLocation/GeoLocation.d.ts +0 -2
  689. package/dist/map-library/ui/ControlZoom.d.ts +0 -2
  690. package/dist/map-library/ui/Filter.d.ts +0 -2
  691. package/dist/map-library/ui/FilterOptions.d.ts +0 -2
  692. package/dist/map-library/ui/LocationPin.d.ts +0 -2
  693. package/dist/map-library/ui/MapControls.d.ts +0 -2
  694. package/dist/map-library/ui/MapControlsStandard.d.ts +0 -2
  695. package/dist/map-library/ui/MapFilterBar.d.ts +0 -1
  696. package/dist/map-library/ui/MapSheet.d.ts +0 -1
  697. package/dist/map-library/ui/Position.d.ts +0 -2
  698. package/dist/map-library/ui/TileDisplay.d.ts +0 -1
  699. package/dist/map-library/ui/ToggleViewType.d.ts +0 -2
  700. package/dist/maps/GeoMap.d.ts +0 -1
  701. package/dist/maps/leafletMaps/FluentImageMap.d.ts +0 -13
  702. package/dist/maps/leafletMaps/FluentMap.d.ts +0 -24
  703. package/dist/maps/leafletMaps/ui/MapContent.d.ts +0 -12
  704. package/dist/maps/leafletMaps/ui/MapMarker.d.ts +0 -1
  705. package/dist/maps/openLayerMaps/Controls/Controls.d.ts +0 -4
  706. package/dist/maps/openLayerMaps/Controls/FullScreenControl.d.ts +0 -2
  707. package/dist/maps/openLayerMaps/Controls/index.d.ts +0 -3
  708. package/dist/maps/openLayerMaps/Layers/ImageLayer.d.ts +0 -4
  709. package/dist/maps/openLayerMaps/Layers/Layers.d.ts +0 -3
  710. package/dist/maps/openLayerMaps/Layers/TileLayer.d.ts +0 -4
  711. package/dist/maps/openLayerMaps/Layers/VectorLayer.d.ts +0 -5
  712. package/dist/maps/openLayerMaps/Layers/index.d.ts +0 -5
  713. package/dist/maps/openLayerMaps/Map/Map.d.ts +0 -6
  714. package/dist/maps/openLayerMaps/Map/MapContext.d.ts +0 -2
  715. package/dist/maps/openLayerMaps/Map/index.d.ts +0 -1
  716. package/dist/maps/openLayerMaps/Source/index.d.ts +0 -4
  717. package/dist/maps/openLayerMaps/Source/osm.d.ts +0 -3
  718. package/dist/maps/openLayerMaps/Source/vector.d.ts +0 -5
  719. package/dist/maps/openLayerMaps/Source/xyz.d.ts +0 -7
  720. package/dist/maps/openLayerMaps/ui/ControlZoom.d.ts +0 -2
  721. package/dist/maps/openLayerMaps/ui/Filter.d.ts +0 -2
  722. package/dist/maps/openLayerMaps/ui/LocationPin.d.ts +0 -2
  723. package/dist/maps/openLayerMaps/ui/MapControls.d.ts +0 -2
  724. package/dist/maps/openLayerMaps/ui/MapControlsStandard.d.ts +0 -2
  725. package/dist/maps/openLayerMaps/ui/Position.d.ts +0 -2
  726. package/dist/maps/openLayerMaps/ui/ToggleViewType.d.ts +0 -2
  727. package/dist/menuPage/MenuPage.d.ts +0 -1
  728. package/dist/models/ApiMethodInstance.d.ts +0 -10
  729. package/dist/models/GroupNode.d.ts +0 -13
  730. package/dist/models/Lookup.d.ts +0 -6
  731. package/dist/models/NumberOperator.d.ts +0 -14
  732. package/dist/models/QueryResult.d.ts +0 -9
  733. package/dist/models/SearchOperator.d.ts +0 -17
  734. package/dist/notes/NotesScreen.d.ts +0 -1
  735. package/dist/page/Page.d.ts +0 -2
  736. package/dist/page/PageContainer.d.ts +0 -1
  737. package/dist/page/PageContent.d.ts +0 -1
  738. package/dist/page/PageHeader.d.ts +0 -1
  739. package/dist/page/PageSectionHeader.d.ts +0 -1
  740. package/dist/page/PageSectionSpacer.d.ts +0 -1
  741. package/dist/reminders/CompleteReminderSwitch.d.ts +0 -1
  742. package/dist/reminders/RemindersCard.d.ts +0 -1
  743. package/dist/reminders/RemindersScreen.d.ts +0 -1
  744. package/dist/reports/PowerBIReport.d.ts +0 -1
  745. package/dist/routes/PrivateRoute.d.ts +0 -3
  746. package/dist/routes/UdpRoutes.d.ts +0 -1
  747. package/dist/routes/components/PageForbiddenRoute.d.ts +0 -1
  748. package/dist/routes/components/PageNotFoundRoute.d.ts +0 -1
  749. package/dist/routes/components/PageStatus.d.ts +0 -1
  750. package/dist/routes/components/PasswordResetRedirect.d.ts +0 -1
  751. package/dist/shell/Shell.d.ts +0 -43
  752. package/dist/shell/ui/AmbientProjectSwitcher.d.ts +0 -8
  753. package/dist/shell/ui/EnvironmentRibbon.d.ts +0 -4
  754. package/dist/shell/ui/FluentProfileMenuCard.d.ts +0 -1
  755. package/dist/shell/ui/HelpCenter.d.ts +0 -1
  756. package/dist/shell/ui/LanguageSwitcher.d.ts +0 -1
  757. package/dist/shell/ui/MiniCollapsibleSidebar.d.ts +0 -2
  758. package/dist/shell/ui/NavigationSidebar.d.ts +0 -2
  759. package/dist/shell/ui/SidebarCollapseButton.d.ts +0 -1
  760. package/dist/shell/ui/SidebarListItem.d.ts +0 -5
  761. package/dist/shell/ui/SiteHeader.d.ts +0 -11
  762. package/dist/shell/ui/SiteHeaderRightComponent.d.ts +0 -11
  763. package/dist/shell/ui/UserAvatar.d.ts +0 -9
  764. package/dist/shell/ui/addUser/PasswordValidator.d.ts +0 -10
  765. package/dist/shell/ui/addUser/UserForm.d.ts +0 -2
  766. package/dist/shell/ui/addUser/UserFormFields.d.ts +0 -2
  767. package/dist/shell/ui/addUser/UserFormSideSheet.d.ts +0 -5
  768. package/dist/shell/ui/appSwitcher/FUIAppHeader.d.ts +0 -2
  769. package/dist/shell/ui/appSwitcher/FUIAppList.d.ts +0 -2
  770. package/dist/shell/ui/appSwitcher/FUIAppListItem.d.ts +0 -2
  771. package/dist/shell/ui/appSwitcher/FUIAppSwitcher.d.ts +0 -2
  772. package/dist/shell/ui/appSwitcher/ProductAppList.d.ts +0 -2
  773. package/dist/shell/ui/appSwitcher/ProductAppListItem.d.ts +0 -2
  774. package/dist/shell/ui/appSwitcher/UnityApps.d.ts +0 -2
  775. package/dist/stores/actionStore.d.ts +0 -12
  776. package/dist/stores/catalogStore.d.ts +0 -14
  777. package/dist/stores/inquiryStore.d.ts +0 -21
  778. package/dist/stores/lookupsStore.d.ts +0 -12
  779. package/dist/stores/shellStore.d.ts +0 -21
  780. package/dist/stores/teleporterStore.d.ts +0 -13
  781. package/dist/stores/tenantStore.d.ts +0 -16
  782. package/dist/stores/workflowStore.d.ts +0 -19
  783. package/dist/stories/Button.d.ts +0 -26
  784. package/dist/stories/Button.stories.d.ts +0 -45
  785. package/dist/stories/Header.d.ts +0 -18
  786. package/dist/stories/Header.stories.d.ts +0 -17
  787. package/dist/stories/Page.d.ts +0 -18
  788. package/dist/stories/Page.stories.d.ts +0 -15
  789. package/dist/treeMenu/BaseTreeMenu.d.ts +0 -1
  790. package/dist/treeMenu/BaseTreeMenuItem.d.ts +0 -1
  791. package/dist/udp/ShortcutContent/ListSearch.d.ts +0 -1
  792. package/dist/udp/ShortcutContent/ShortcutContentFinder.d.ts +0 -1
  793. package/dist/udp/export/ExportSidesheet.d.ts +0 -1
  794. package/dist/udp/export/MyExportsPage.d.ts +0 -1
  795. package/dist/udp/export/VisualSearchObject.d.ts +0 -3
  796. package/dist/udp/export/useUdpExport.d.ts +0 -14
  797. package/dist/udp/fileImportMapping/FileImportConfigCard.d.ts +0 -1
  798. package/dist/udp/fileImportMapping/FileImportMappingEnums.d.ts +0 -6
  799. package/dist/udp/fileImportMapping/FileImportMappingWizard.d.ts +0 -2
  800. package/dist/udp/fileImportMapping/ImportDataFromFileMapping.d.ts +0 -1
  801. package/dist/udp/fileImportMapping/SampleFileImportGrid.d.ts +0 -1
  802. package/dist/udp/fileImportMapping/fileUtils.d.ts +0 -3
  803. package/dist/udp/pages/ChatUDP.d.ts +0 -2
  804. package/dist/udp/pages/UdpDataBrowserPage.d.ts +0 -3
  805. package/dist/udp/pages/UdpFormsBuilderPage.d.ts +0 -2
  806. package/dist/udp/pages/UdpFormsListPage.d.ts +0 -2
  807. package/dist/udp/pages/UdpGridPanelManagementPage.d.ts +0 -2
  808. package/dist/udp/pages/UdpGridPanelManagementSidesheet.d.ts +0 -2
  809. package/dist/udp/pages/UdpImportFromFileMappingPage.d.ts +0 -2
  810. package/dist/udp/pages/UdpInquiryMaintenanceEnginePage.d.ts +0 -2
  811. package/dist/udp/pages/UdpMaintenanceConfigPage.d.ts +0 -1
  812. package/dist/udp/pages/UdpMaintenanceEnginePage.d.ts +0 -2
  813. package/dist/udp/pages/UdpNotesPage.d.ts +0 -2
  814. package/dist/udp/pages/UdpPrivateForm.d.ts +0 -2
  815. package/dist/udp/pages/UdpPublicForm.d.ts +0 -2
  816. package/dist/udp/pages/UdpRemindersPage.d.ts +0 -2
  817. package/dist/udp/pages/UdpReportsPage.d.ts +0 -2
  818. package/dist/udp/pages/UdpVerticalManagementPage.d.ts +0 -2
  819. package/dist/udp/pages/UdpVerticalManagementSidesheet.d.ts +0 -2
  820. package/dist/udp/pages/udpPages.d.ts +0 -40
  821. package/dist/udp/utilities/methodUtils.d.ts +0 -5
  822. package/dist/udp-react-enterprise-component-library.css +0 -1
  823. package/dist/uploader/DragDropFileUpload.d.ts +0 -12
  824. package/dist/uploader/FileProfile.d.ts +0 -2
  825. package/dist/uploader/FileType.d.ts +0 -1
  826. package/dist/uploader/FileUpload.d.ts +0 -2
  827. package/dist/uploader/ImagePreview.d.ts +0 -2
  828. package/dist/utilities/CustomNavigationClient.d.ts +0 -11
  829. package/dist/utilities/DemoJuly/redirectToProduct.d.ts +0 -1
  830. package/dist/utilities/FluentIcon.d.ts +0 -1
  831. package/dist/utilities/TrimForAvatar.d.ts +0 -1
  832. package/dist/utilities/UnityFluentIcon.d.ts +0 -1
  833. package/dist/utilities/UnityIcon.d.ts +0 -1
  834. package/dist/utilities/aggrid/AgTable.d.ts +0 -33
  835. package/dist/utilities/aggrid/GridFunctions.d.ts +0 -13
  836. package/dist/utilities/aggrid/SplitButton.d.ts +0 -1
  837. package/dist/utilities/aggrid/aggridHelpers.d.ts +0 -1
  838. package/dist/utilities/aggrid/datasources/SearchServiceDatasource.d.ts +0 -4
  839. package/dist/utilities/apiHelpers.d.ts +0 -7
  840. package/dist/utilities/auth/AuthDialogs.d.ts +0 -2
  841. package/dist/utilities/auth/AuthProvider.d.ts +0 -5
  842. package/dist/utilities/auth/AuthProviderWrapper.d.ts +0 -1
  843. package/dist/utilities/auth/UserProvider.d.ts +0 -2
  844. package/dist/utilities/auth/authActions.d.ts +0 -9
  845. package/dist/utilities/auth/internal.d.ts +0 -9
  846. package/dist/utilities/auth/signInAuthProvider.d.ts +0 -5
  847. package/dist/utilities/auth/useAccessToken.d.ts +0 -1
  848. package/dist/utilities/auth/useAuthedUser.d.ts +0 -15
  849. package/dist/utilities/auth/useIsUnityAuthenticated.d.ts +0 -1
  850. package/dist/utilities/auth/useSingleLogout.d.ts +0 -1
  851. package/dist/utilities/auth/useUser.d.ts +0 -8
  852. package/dist/utilities/auth/user.d.ts +0 -29
  853. package/dist/utilities/auth/users.d.ts +0 -8
  854. package/dist/utilities/auth/whitelistedPaths.d.ts +0 -1
  855. package/dist/utilities/axiosInterceptors.d.ts +0 -2
  856. package/dist/utilities/brand.d.ts +0 -19
  857. package/dist/utilities/chatBot/ChatBotContext.d.ts +0 -1
  858. package/dist/utilities/chatBot/ChatBotProvider.d.ts +0 -3
  859. package/dist/utilities/chatBot/useChatBot.d.ts +0 -6
  860. package/dist/utilities/crud/useDefaultFormValues.d.ts +0 -6
  861. package/dist/utilities/customIcons/ApprovalIcon.d.ts +0 -1
  862. package/dist/utilities/customIcons/RejectIcon.d.ts +0 -1
  863. package/dist/utilities/entities/entityUtilities.d.ts +0 -3
  864. package/dist/utilities/floorplanFunctions/gridVisualizationFunctions.d.ts +0 -2
  865. package/dist/utilities/form/AltSubmitButton.d.ts +0 -13
  866. package/dist/utilities/form/Field.d.ts +0 -22
  867. package/dist/utilities/form/Form.d.ts +0 -7
  868. package/dist/utilities/form/FormButtons.d.ts +0 -2
  869. package/dist/utilities/form/FormError.d.ts +0 -7
  870. package/dist/utilities/form/FormSpy.d.ts +0 -10
  871. package/dist/utilities/form/SubmitButton.d.ts +0 -13
  872. package/dist/utilities/form/arrayMutators.d.ts +0 -2
  873. package/dist/utilities/form/final-form-scroll/createDecorator.d.ts +0 -5
  874. package/dist/utilities/form/final-form-scroll/findInput.d.ts +0 -2
  875. package/dist/utilities/form/final-form-scroll/getAllInputs.d.ts +0 -2
  876. package/dist/utilities/form/final-form-scroll/isFocusableInput.d.ts +0 -2
  877. package/dist/utilities/form/formHooks.d.ts +0 -3
  878. package/dist/utilities/form/index.d.ts +0 -9
  879. package/dist/utilities/form/paymentForm/AccountPayment.model.d.ts +0 -143
  880. package/dist/utilities/form/paymentForm/BankAccountForm.d.ts +0 -48
  881. package/dist/utilities/form/paymentForm/BankIcon.d.ts +0 -8
  882. package/dist/utilities/form/paymentForm/CashForm.d.ts +0 -9
  883. package/dist/utilities/form/paymentForm/CashIcon.d.ts +0 -8
  884. package/dist/utilities/form/paymentForm/CheckIcon.d.ts +0 -8
  885. package/dist/utilities/form/paymentForm/CreditCardAdornment.d.ts +0 -12
  886. package/dist/utilities/form/paymentForm/CreditCardForm.d.ts +0 -41
  887. package/dist/utilities/form/paymentForm/CreditCardIcon.d.ts +0 -8
  888. package/dist/utilities/form/paymentForm/CreditCardUtils.d.ts +0 -42
  889. package/dist/utilities/form/paymentForm/DisableOverlay.d.ts +0 -7
  890. package/dist/utilities/form/paymentForm/HostedPaymentError.d.ts +0 -20
  891. package/dist/utilities/form/paymentForm/NewCreditCardForm.d.ts +0 -19
  892. package/dist/utilities/form/paymentForm/NewECheckForm.d.ts +0 -15
  893. package/dist/utilities/form/paymentForm/PaymentAccount.model.d.ts +0 -81
  894. package/dist/utilities/form/paymentForm/PaymentBankDetails.d.ts +0 -12
  895. package/dist/utilities/form/paymentForm/PaymentBoxDetail.d.ts +0 -32
  896. package/dist/utilities/form/paymentForm/PaymentCard.d.ts +0 -12
  897. package/dist/utilities/form/paymentForm/PaymentCardDetail.d.ts +0 -19
  898. package/dist/utilities/form/paymentForm/PaymentDropdown.d.ts +0 -32
  899. package/dist/utilities/form/paymentForm/PaymentForm.d.ts +0 -77
  900. package/dist/utilities/form/paymentForm/TabPanel.d.ts +0 -20
  901. package/dist/utilities/form/paymentForm/usePaymentProviderForm.d.ts +0 -12
  902. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts +0 -40
  903. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts +0 -46
  904. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +0 -13
  905. package/dist/utilities/form/useFieldChangeListener.d.ts +0 -7
  906. package/dist/utilities/iconLibrary/IconLibrary.d.ts +0 -2
  907. package/dist/utilities/iconLibrary/IconLibraryComponent.d.ts +0 -7
  908. package/dist/utilities/iconLibrary/SelectedLibraryItem.d.ts +0 -2
  909. package/dist/utilities/iconLibrary/UnityIconLibrary.d.ts +0 -7
  910. package/dist/utilities/input/DateUtilities.d.ts +0 -2
  911. package/dist/utilities/input/SelectUtilities.d.ts +0 -3
  912. package/dist/utilities/input/StringUtilities.d.ts +0 -7
  913. package/dist/utilities/isValueSelected.d.ts +0 -1
  914. package/dist/utilities/maintenanceEngine/CrudBrowserUtilities.d.ts +0 -5
  915. package/dist/utilities/menus/menuUtilities.d.ts +0 -1
  916. package/dist/utilities/menus/redirectToLink.d.ts +0 -1
  917. package/dist/utilities/page/PageSubHeaderAction.d.ts +0 -11
  918. package/dist/utilities/provider/ActionProvider.d.ts +0 -1
  919. package/dist/utilities/redirect/ExternalRedirectUrlStorage.d.ts +0 -3
  920. package/dist/utilities/redirect/LocalRedirectUrlStorage.d.ts +0 -5
  921. package/dist/utilities/redirect/pages/OutlookCallback.d.ts +0 -1
  922. package/dist/utilities/rules/RuleUtilities.d.ts +0 -5
  923. package/dist/utilities/search/Search.d.ts +0 -37
  924. package/dist/utilities/search/SearchUtilities.d.ts +0 -12
  925. package/dist/utilities/storage/UnitySessionStorage.d.ts +0 -4
  926. package/dist/utilities/stringUtils.d.ts +0 -8
  927. package/dist/utilities/style/ContentContainer.d.ts +0 -11
  928. package/dist/utilities/style/colorConverter.d.ts +0 -3
  929. package/dist/utilities/style/colors.d.ts +0 -107
  930. package/dist/utilities/style/utils/styleUtils.d.ts +0 -2
  931. package/dist/utilities/style/verticalStyles.d.ts +0 -4
  932. package/dist/utilities/systemColors.d.ts +0 -1
  933. package/dist/utilities/tenant/TenantProvider.d.ts +0 -3
  934. package/dist/utilities/tenant/tenantContext.d.ts +0 -1
  935. package/dist/utilities/tenant/useTenant.d.ts +0 -6
  936. package/dist/utilities/theme.d.ts +0 -3
  937. package/dist/utilities/theme.types.d.ts +0 -11
  938. package/dist/utilities/tree/TreeUtilities.d.ts +0 -74
  939. package/dist/utilities/types.d.ts +0 -31
  940. package/dist/utilities/uploader/FileProfile.d.ts +0 -2
  941. package/dist/utilities/uploader/FileType.d.ts +0 -1
  942. package/dist/utilities/uploader/FileUpload.d.ts +0 -1
  943. package/dist/utilities/uploader/ImagePreview.d.ts +0 -2
  944. package/dist/utilities/uploader/formatBytes.d.ts +0 -1
  945. package/dist/utilities/useAxiosGet.d.ts +0 -10
  946. package/dist/utilities/useAxiosMutate.d.ts +0 -6
  947. package/dist/utilities/useDevicePixelRatio.d.ts +0 -6
  948. package/dist/utilities/useGravatar.d.ts +0 -10
  949. package/dist/utilities/usePrevious.d.ts +0 -1
  950. package/dist/utilities/utilityBar/InquiryHeaderControl.d.ts +0 -11
  951. package/dist/utilities/utilityBar/InquiryHeaderSecondary.d.ts +0 -11
  952. package/dist/utilities/utilityBar/InquiryHeaderSecondaryAlert.d.ts +0 -11
  953. package/dist/utilities/utilityBar/InquiryHeaderTitle.d.ts +0 -11
  954. package/dist/utilities/utilityBar/SubHeaderAction.d.ts +0 -11
  955. package/dist/utilities/utilityBar/UtilityBarInport.d.ts +0 -11
  956. package/dist/utilities/workflow/workflowUtilities.d.ts +0 -47
  957. package/dist/workflow/WorkflowContainer.d.ts +0 -1
  958. package/dist/workflow/WorkflowContent.d.ts +0 -1
  959. package/dist/workflow/WorkflowUiInterruptContent.d.ts +0 -1
  960. package/dist/workflow/components/WorkflowTaskFlow.d.ts +0 -1
  961. package/dist/workflow/menus/WorkflowTreeMenu.d.ts +0 -1
  962. package/dist/workflow/menus/WorkflowTreeMenuItem.d.ts +0 -1
@@ -0,0 +1,1652 @@
1
+ import { Field, Form, SideSheet, apiMutate as apiMutate$1 } from "./SideSheet-DcEfnfH_.js";
2
+ import { APP_RIBBON_SPACE, FluentIcon, LayoutUnit, NodeActionTriggerEnums, TreeViewModeEnums, UnityFluentIcon, useAxiosGet, useBuildEnvironment, useShellStore, useUser } from "./EnvironmentRibbon-W5AjvnLN.js";
3
+ import { AggregateChip, NodeLoader, UtilitySideBar, findAllParentIds, getIconFromName, getNodeIdForRightBorder, getUnityIconFromName, searchTree } from "./UtilitySideBar-D4Gdx13d.js";
4
+ import { PageContainer, PrimaryActionHeader, useSetLocationState } from "./PageContainer-CWhjU1zS.js";
5
+ import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
6
+ import { Box, Button, Card, CircularProgress, Grow, LinearProgress, Popper, Step, StepConnector, StepLabel, Stepper, TextField, Tooltip, Typography, darken, lighten, makeStyles, useTheme, withStyles } from "@material-ui/core";
7
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
+ import { ConfigService } from "udp-react-stencil-component-library";
9
+ import { useHistory, useLocation } from "react-router-dom";
10
+ import { DateTime } from "luxon";
11
+ import Autocomplete from "@material-ui/lab/Autocomplete";
12
+ import clsx from "clsx";
13
+ import { CancelIcon, CaretDownSolid8Icon, CaretUpSolid8Icon, ChevronLeftIcon, ChevronRightIcon, ForwardIcon } from "@fluentui/react-icons";
14
+ import { cloneDeep, orderBy } from "lodash";
15
+ import { useTranslation } from "react-i18next";
16
+ import { create } from "zustand";
17
+ import { devtools } from "zustand/middleware";
18
+ import { makeStyles as makeStyles$1 } from "@material-ui/core/styles";
19
+ import { DndProvider, useDrag, useDrop } from "react-dnd";
20
+ import { HTML5Backend } from "react-dnd-html5-backend";
21
+ import TreeView from "@material-ui/lab/TreeView";
22
+ import TreeItem from "@material-ui/lab/TreeItem";
23
+ import CheckCircleIcon from "@material-ui/icons/CheckCircle";
24
+ import RadioButtonUncheckedIcon from "@material-ui/icons/RadioButtonUnchecked";
25
+ import RadioButtonCheckedIcon from "@material-ui/icons/RadioButtonChecked";
26
+ import PhoneImage from "./assets/images/phone.png";
27
+ import ReactHtmlParser from "react-html-parser";
28
+
29
+ //#region src/UI/inputs/textField/FluentTextFieldAutoComplete.jsx
30
+ const useStyles$10 = makeStyles((theme) => ({
31
+ formTextInput: { fontSize: 14 },
32
+ labelRoot: { fontSize: 14 }
33
+ }));
34
+ const AutoCompletePopper = (props) => {
35
+ return /* @__PURE__ */ jsx(Popper, {
36
+ ...props,
37
+ placement: "bottom-start"
38
+ });
39
+ };
40
+ const FluentTextFieldAutoComplete = (props) => {
41
+ const { label, placeholder, options, textFieldProps, disabled, onChange: onChangeProp, value, optionKey, additionalOnChangeAction, classes: classProps, variant = "outlined", inputProps, inputPropClasses, customPopper, disableClearable = false, defaultValue, additionalOptionKey, isMultiple = false, limitTags, renderTags, optionLabelDisplayFunction = (option) => option, groupBy = null, size = "medium", id, udprecordid,...other } = props;
42
+ const classes = useStyles$10();
43
+ const { autocompleteRoot } = classProps || {};
44
+ const onChange = useCallback((e, value$1) => {
45
+ if (additionalOnChangeAction) additionalOnChangeAction(value$1);
46
+ return onChangeProp?.(value$1);
47
+ }, [onChangeProp, additionalOnChangeAction]);
48
+ return /* @__PURE__ */ jsx(Autocomplete, {
49
+ id: "autocomplete",
50
+ multiple: isMultiple,
51
+ limitTags,
52
+ disabled,
53
+ options: options || [],
54
+ getOptionLabel: (option) => option && (optionKey ? `${optionLabelDisplayFunction(option[optionKey])}${additionalOptionKey ? ` - (${option[additionalOptionKey]})` : ""}` : optionLabelDisplayFunction(option) || ""),
55
+ getOptionSelected: (option, val) => optionKey ? option[optionKey] === val[optionKey] : option === val,
56
+ groupBy,
57
+ onChange,
58
+ value: value || (isMultiple ? [] : null),
59
+ className: autocompleteRoot,
60
+ classes: { root: classProps?.formControl },
61
+ PopperComponent: customPopper || AutoCompletePopper,
62
+ disableClearable,
63
+ defaultValue,
64
+ size,
65
+ renderInput: (params) => /* @__PURE__ */ jsx(TextField, {
66
+ ...textFieldProps,
67
+ ...params,
68
+ ...other,
69
+ inputProps: {
70
+ ...params.inputProps,
71
+ id,
72
+ udprecordid
73
+ },
74
+ label,
75
+ margin: "dense",
76
+ variant,
77
+ placeholder,
78
+ size: "small",
79
+ InputProps: {
80
+ ...params.InputProps,
81
+ ...inputProps,
82
+ classes: {
83
+ root: classProps?.inputPropRoot,
84
+ input: clsx(classes.formTextInput, classProps?.inputPropInput)
85
+ }
86
+ },
87
+ InputLabelProps: { classes: { root: clsx(classes.labelRoot, classProps?.formLabelRoot) } }
88
+ }),
89
+ renderTags
90
+ });
91
+ };
92
+
93
+ //#endregion
94
+ //#region src/utilities/input/DateUtilities.js
95
+ const formatDateToLocaleString = (isoDate, luxonFormat = "") => {
96
+ return DateTime.fromISO(isoDate, { zone: "utc" }).toLocal().toLocaleString(luxonFormat);
97
+ };
98
+ const toUtcDate = (date) => {
99
+ if (!date) return null;
100
+ if (date.endsWith("Z")) return new Date(date);
101
+ else return /* @__PURE__ */ new Date(date + "Z");
102
+ };
103
+
104
+ //#endregion
105
+ //#region src/workflow/menus/WorkflowTreeMenuItem.jsx
106
+ const useStyles$9 = makeStyles((theme) => ({
107
+ root: {
108
+ "&.Mui-selected > .MuiTreeItem-content": {
109
+ backgroundColor: theme?.getThemeData()?.mode === "dark" ? theme.palette.grey[700] : theme.palette.grey[300],
110
+ borderRight: `4px solid ${theme.palette.primary.main}`
111
+ },
112
+ "&.Mui-selected > .MuiTreeItem-content .MuiTreeItem-label": {
113
+ backgroundColor: "transparent",
114
+ paddingLeft: 0
115
+ },
116
+ "&.Mui-selected > .MuiTreeItem-content > .MuiCollapse-wrapperInner": { backgroundColor: theme?.getThemeData()?.mode !== "dark" && theme.palette.grey[50] },
117
+ "& .MuiTreeItem-content .MuiTreeItem-iconContainer": { display: (props) => props.sidebarExpanded ? "flex" : "none" }
118
+ },
119
+ content: { backgroundColor: (props) => theme?.getThemeData()?.mode !== "dark" && !props.sidebarExpanded && props.conditionalIconName && props.conditionalIconColor ? lighten(props.conditionalIconColor, .92) : "" },
120
+ labelRoot: {
121
+ display: "flex",
122
+ alignItems: "center",
123
+ marginLeft: (props) => props.sidebarExpanded ? 0 : theme.spacing(1.5),
124
+ width: "100%"
125
+ },
126
+ labelContainer: {
127
+ display: (props) => !props.sidebarExpanded ? "none" : "",
128
+ width: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `calc(100% - ${theme.spacing(6.25)}px)` : `calc(100% - ${theme.spacing(7.75)}px)`
129
+ },
130
+ conditionalIconContainer: { display: "inline-flex" },
131
+ labelText: {
132
+ fontSize: "0.75rem",
133
+ fontWeight: 600,
134
+ lineHeight: "1rem",
135
+ letterSpacing: .1
136
+ },
137
+ captionText: {
138
+ marginLeft: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(1) : "",
139
+ fontSize: "0.65rem",
140
+ fontWeight: 400,
141
+ lineHeight: 1,
142
+ letterSpacing: .4
143
+ },
144
+ labelOverflow: {
145
+ whiteSpace: "nowrap",
146
+ overflow: "hidden",
147
+ textOverflow: "ellipsis",
148
+ marginTop: `-${theme.spacing(.25)}px`
149
+ },
150
+ group: {
151
+ width: "100%",
152
+ "& .MuiTreeItem-group": { marginLeft: 0 },
153
+ "& .MuiTreeItem-content": {
154
+ paddingLeft: (props) => props.sidebarExpanded ? (props.depth || 1) * theme.spacing(1) : 0,
155
+ borderRight: (props) => props.showRightBorderColor ? `4px solid ${theme.palette.primary.main}` : "",
156
+ borderBottom: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
157
+ },
158
+ "& .MuiTreeItem-content .MuiTreeItem-label": {
159
+ paddingLeft: 0,
160
+ width: (props) => props.sidebarExpanded && `calc(100% - ${theme.spacing(2.5)}px)`
161
+ },
162
+ "& .MuiTreeItem-content .MuiTreeItem-iconContainer span": { display: (props) => props.hideExpansion ? "none" : "" },
163
+ "& .MuiCollapse-wrapperInner": { backgroundColor: (props) => theme?.getThemeData()?.mode !== "dark" && props.isSelectedNode ? theme.palette.grey[50] : "" }
164
+ },
165
+ iconContainer: {
166
+ display: "flex",
167
+ justifyContent: "center",
168
+ marginTop: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
169
+ marginBottom: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
170
+ marginRight: theme.spacing(1),
171
+ width: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4),
172
+ height: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4)
173
+ }
174
+ }));
175
+ const WorkflowTreeMenuItem = (props) => {
176
+ const { parentId, nodeId, iconName, iconType, conditionalIconName, conditionalIconType, conditionalIconColor, label, iconColor, onNodeSelect, isSelectedNode, subLabel, sidebarExpanded, isLastNode, loading, node, onDropNode, treeViewMode, menuIndex, aggregateThresholdId,...other } = props;
177
+ const classes = useStyles$9(props);
178
+ const theme = useTheme();
179
+ const [{ isDragging }, dragRef] = useDrag({
180
+ type: "BaseTreeMenuItem",
181
+ item: {
182
+ ...node,
183
+ sourceNodeMenuIndex: menuIndex
184
+ },
185
+ collect: (monitor) => ({ isDragging: monitor.isDragging() })
186
+ });
187
+ const handleOnDrop = useCallback((sourceNode, monitor) => {
188
+ if (!monitor.didDrop()) {
189
+ if (onDropNode) {
190
+ const { sourceNodeMenuIndex,...other$1 } = sourceNode;
191
+ onDropNode({ ...other$1 }, node, sourceNodeMenuIndex, menuIndex);
192
+ }
193
+ }
194
+ }, [
195
+ onDropNode,
196
+ node,
197
+ menuIndex
198
+ ]);
199
+ const [{ canDrop, isOver }, dropRef] = useDrop(() => ({
200
+ accept: ["BaseTreeMenuItem"],
201
+ drop: (sourceNode, monitor) => {
202
+ handleOnDrop(sourceNode, monitor);
203
+ },
204
+ canDrop: (sourceNode) => checkCanDrop(sourceNode),
205
+ collect: (monitor) => ({
206
+ isOver: monitor.isOver(),
207
+ canDrop: !!monitor.canDrop()
208
+ })
209
+ }), [handleOnDrop]);
210
+ const checkCanDrop = useCallback((sourceNode) => {
211
+ if (sourceNode) {
212
+ const onDropActions = node?.properties?.nodeActions?.filter((na) => na?.triggerType === NodeActionTriggerEnums.On_Node_Drop);
213
+ if (!onDropActions) return false;
214
+ const nodeDragEntities = onDropActions?.map((action) => action?.dragEntityName);
215
+ return nodeDragEntities.includes(sourceNode?.properties?.catalogReturnObject);
216
+ }
217
+ }, [node]);
218
+ const handleOnLabelClick = useCallback((e) => {
219
+ e.preventDefault();
220
+ onNodeSelect(e, nodeId);
221
+ }, [onNodeSelect, nodeId]);
222
+ return /* @__PURE__ */ jsx(TreeItem, {
223
+ className: classes.group,
224
+ nodeId,
225
+ label: /* @__PURE__ */ jsx("div", {
226
+ ref: dropRef,
227
+ children: /* @__PURE__ */ jsx(Tooltip, {
228
+ title: sidebarExpanded ? "" : label,
229
+ children: /* @__PURE__ */ jsx("div", {
230
+ ref: node?.properties?.isDraggable && dragRef || null,
231
+ style: { opacity: isDragging ? .5 : 1 },
232
+ children: loading ? /* @__PURE__ */ jsx(CircularProgress, { size: 12 }) : /* @__PURE__ */ jsxs("div", {
233
+ id: "udpRecord-BaseTreeMenuItem-" + label?.replace(/\s+/g, ""),
234
+ udprecordid: "udpRecord-BaseTreeMenuItem-" + label?.replace(/\s+/g, ""),
235
+ className: classes.labelRoot,
236
+ style: { fontWeight: isSelectedNode ? "bold" : "" },
237
+ children: [
238
+ iconName && /* @__PURE__ */ jsx("div", {
239
+ className: classes.iconContainer,
240
+ children: /* @__PURE__ */ jsx(UnityFluentIcon, {
241
+ size: treeViewMode === TreeViewModeEnums.Compact ? "small" : "large",
242
+ color: iconColor,
243
+ type: iconType,
244
+ icon: iconType === "unity" ? getUnityIconFromName(iconName) : getIconFromName(iconName),
245
+ style: { color: iconColor ? darken(iconColor, .1) : theme.palette.secondary.main }
246
+ })
247
+ }),
248
+ /* @__PURE__ */ jsxs("div", {
249
+ className: classes.labelContainer,
250
+ children: [/* @__PURE__ */ jsxs(Typography, {
251
+ variant: "subtitle2",
252
+ className: clsx(classes.labelText, classes.labelOverflow),
253
+ children: [label, subLabel && treeViewMode === TreeViewModeEnums.Compact && /* @__PURE__ */ jsx(Typography, {
254
+ variant: "caption",
255
+ className: clsx(classes.captionText, classes.labelOverflow),
256
+ children: subLabel
257
+ })]
258
+ }), subLabel && treeViewMode === TreeViewModeEnums.Classic && /* @__PURE__ */ jsx("div", {
259
+ className: classes.labelOverflow,
260
+ children: /* @__PURE__ */ jsx(Typography, {
261
+ variant: "caption",
262
+ className: clsx(classes.captionText),
263
+ children: subLabel
264
+ })
265
+ })]
266
+ }),
267
+ /* @__PURE__ */ jsx(AggregateChip, { aggregateThresholdId }),
268
+ conditionalIconName && sidebarExpanded && /* @__PURE__ */ jsx("div", {
269
+ className: classes.conditionalIconContainer,
270
+ children: /* @__PURE__ */ jsx(UnityFluentIcon, {
271
+ size: treeViewMode === TreeViewModeEnums.Compact ? "small" : "default",
272
+ color: conditionalIconColor,
273
+ type: conditionalIconType,
274
+ icon: conditionalIconType === "unity" ? getUnityIconFromName(conditionalIconName) : getIconFromName(conditionalIconName),
275
+ style: { color: conditionalIconColor }
276
+ })
277
+ })
278
+ ]
279
+ })
280
+ })
281
+ })
282
+ }),
283
+ onLabelClick: handleOnLabelClick,
284
+ classes: {
285
+ root: classes.root,
286
+ content: classes.content
287
+ },
288
+ ...other
289
+ }, nodeId);
290
+ };
291
+
292
+ //#endregion
293
+ //#region src/workflow/menus/WorkflowTreeMenu.jsx
294
+ const useStyles$8 = makeStyles((theme) => ({
295
+ root: {
296
+ marginBottom: theme.spacing(1.75),
297
+ borderTop: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
298
+ },
299
+ noChildrenContainer: { borderBottom: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : "" }
300
+ }));
301
+ const WorkflowTreeMenu = (props) => {
302
+ const { menuItems, onSelectNode, onDropNode, menuIndex, selectedNodeId, selectedNodeParentId, sidebarExpanded, treeViewMode, childrenKey = "children" } = props;
303
+ const [expanded, setExpanded] = useState(null);
304
+ const [isCurrentActiveTree, setIsCurrentActiveTree] = useState(false);
305
+ const [selectedNodeIsHidden, setSelectedNodeIsHidden] = useState(false);
306
+ const [tree, setTree] = useState(menuItems);
307
+ const theme = useTheme();
308
+ const classes = useStyles$8(props);
309
+ const handleSelectedNode = useCallback((e, value) => {
310
+ const selectedNode = searchTree(tree, value);
311
+ if (onSelectNode) {
312
+ onSelectNode(selectedNode, menuIndex);
313
+ setSelectedNodeIsHidden(false);
314
+ }
315
+ }, [
316
+ tree,
317
+ menuIndex,
318
+ onSelectNode
319
+ ]);
320
+ const renderTree = useCallback((node, depth = 1) => {
321
+ let label = node.properties?.nodeLabel || node.properties?.name;
322
+ let subLabel = node.properties?.nodeSubLabel;
323
+ let iconName = node.properties?.defaultIcon?.name;
324
+ let iconType = node.properties?.defaultIcon?.type;
325
+ let conditionalIconName = node.properties?.conditionalIcon?.name || "";
326
+ let conditionalIconType = node.properties?.conditionalIcon?.name ? node.properties.conditionalIcon?.type : "";
327
+ let conditionalIconColor = node.properties?.conditionalIcon?.name ? node.properties?.conditionalIcon?.color : "";
328
+ let nodeId = node.id;
329
+ let iconColor = node.properties?.conditionalIconName ? node.properties?.conditionalIconColor : node.properties?.defaultIcon?.color?.hex;
330
+ let aggregateThresholdId = node.properties?.aggregateThresholdId || "";
331
+ if (node.isGroupNode) {
332
+ label = node.properties?.label;
333
+ subLabel = node.properties?.subLabel;
334
+ iconName = node.properties?.icon?.name;
335
+ iconType = node.properties?.icon?.type;
336
+ iconColor = node.properties?.icon?.color?.hex;
337
+ }
338
+ return /* @__PURE__ */ jsxs(WorkflowTreeMenuItem, {
339
+ nodeId,
340
+ label,
341
+ subLabel,
342
+ iconName,
343
+ iconType,
344
+ conditionalIconName,
345
+ conditionalIconType,
346
+ conditionalIconColor,
347
+ parentId: node.parentId,
348
+ iconColor,
349
+ onNodeSelect: handleSelectedNode,
350
+ selectedNodeId,
351
+ isSelectedNode: selectedNodeId === node.id,
352
+ showRightBorderColor: selectedNodeIsHidden && isCurrentActiveTree && getNodeIdForRightBorder(expanded, tree, selectedNodeParentId) === node.id,
353
+ isCurrentActiveTree,
354
+ sidebarExpanded,
355
+ depth,
356
+ hideExpansion: !!!node[childrenKey]?.length,
357
+ node,
358
+ onDropNode,
359
+ treeViewMode,
360
+ menuIndex,
361
+ aggregateThresholdId,
362
+ children: [
363
+ node.properties?.lazyLoad && !!!node[childrenKey]?.length && !node.completedLoadingChildren && /* @__PURE__ */ jsx(CircularProgress, {
364
+ size: 12,
365
+ style: { marginLeft: (depth || 1) * theme.spacing(1) }
366
+ }),
367
+ node.properties?.lazyLoad && !!!node[childrenKey]?.length && node.completedLoadingChildren && sidebarExpanded && !node.errorRetrievingChildren && /* @__PURE__ */ jsx("div", {
368
+ className: classes.noChildrenContainer,
369
+ children: /* @__PURE__ */ jsx(Typography, {
370
+ variant: "caption",
371
+ style: {
372
+ marginLeft: (depth || 1) * theme.spacing(3),
373
+ fontWeight: 400
374
+ },
375
+ children: "No Children"
376
+ })
377
+ }),
378
+ node.properties?.lazyLoad && node.completedLoadingChildren && sidebarExpanded && node.errorRetrievingChildren && /* @__PURE__ */ jsx("div", {
379
+ className: classes.noChildrenContainer,
380
+ children: /* @__PURE__ */ jsx(Typography, {
381
+ variant: "caption",
382
+ style: {
383
+ marginLeft: (depth || 1) * theme.spacing(3),
384
+ fontWeight: 400
385
+ },
386
+ children: `Error Retrieving ${!!node[childrenKey]?.length ? `Additional ` : ""}Children`
387
+ })
388
+ }),
389
+ Array.isArray(node[childrenKey]) ? node[childrenKey].map((n, i) => renderTree(n, depth + 1)) : null
390
+ ]
391
+ }, nodeId);
392
+ }, [
393
+ handleSelectedNode,
394
+ selectedNodeId,
395
+ selectedNodeIsHidden,
396
+ isCurrentActiveTree,
397
+ sidebarExpanded,
398
+ expanded,
399
+ tree,
400
+ selectedNodeParentId,
401
+ theme,
402
+ classes,
403
+ onDropNode,
404
+ treeViewMode,
405
+ menuIndex,
406
+ childrenKey
407
+ ]);
408
+ const handleNodeExpansion = useCallback(async (evt, nodeIds) => {
409
+ const treeCopy = cloneDeep(tree);
410
+ setExpanded(nodeIds);
411
+ const parentNode = searchTree(treeCopy, selectedNodeParentId);
412
+ const initialAllParentNodeIds = selectedNodeParentId ? [selectedNodeParentId] : [];
413
+ const allParentNodeIds = findAllParentIds(treeCopy, parentNode, initialAllParentNodeIds);
414
+ const selectedNodeShown = allParentNodeIds.every((id) => nodeIds.includes(id));
415
+ if (isCurrentActiveTree && allParentNodeIds.length && !selectedNodeShown) setSelectedNodeIsHidden(true);
416
+ else setSelectedNodeIsHidden(false);
417
+ }, [
418
+ isCurrentActiveTree,
419
+ tree,
420
+ selectedNodeParentId
421
+ ]);
422
+ const getExpandedRecursively = useCallback((tree$1) => {
423
+ if (!tree$1) return [];
424
+ return tree$1.reduce((expandedIds, item) => {
425
+ if (item?.isExpanded) expandedIds.push(item.id);
426
+ if (item && item[childrenKey]?.length) expandedIds = expandedIds.concat(getExpandedRecursively(item[childrenKey]));
427
+ return expandedIds;
428
+ }, []);
429
+ }, [childrenKey]);
430
+ useEffect(() => {
431
+ setTree(menuItems);
432
+ }, [menuItems]);
433
+ useEffect(() => {
434
+ if (!tree) return;
435
+ let expanded$1 = [];
436
+ if (tree?.isExpanded) expanded$1.push(tree.id);
437
+ expanded$1 = expanded$1.concat(getExpandedRecursively(tree[childrenKey]));
438
+ setExpanded(expanded$1);
439
+ }, [
440
+ getExpandedRecursively,
441
+ tree,
442
+ childrenKey
443
+ ]);
444
+ useEffect(() => {
445
+ if (!!searchTree(tree, selectedNodeId)) setIsCurrentActiveTree(true);
446
+ else setIsCurrentActiveTree(false);
447
+ }, [tree, selectedNodeId]);
448
+ if (!expanded) return null;
449
+ return /* @__PURE__ */ jsx(TreeView, {
450
+ className: classes.root,
451
+ defaultCollapseIcon: /* @__PURE__ */ jsx(FluentIcon, {
452
+ size: "small",
453
+ component: CaretUpSolid8Icon,
454
+ style: {
455
+ color: lighten(theme.palette.primary.main, .5),
456
+ width: theme.spacing(1.5),
457
+ height: theme.spacing(1.5)
458
+ }
459
+ }),
460
+ expanded: expanded || [],
461
+ onNodeToggle: handleNodeExpansion,
462
+ defaultExpandIcon: /* @__PURE__ */ jsx(FluentIcon, {
463
+ size: "small",
464
+ component: CaretDownSolid8Icon,
465
+ style: {
466
+ color: lighten(theme.palette.primary.main, .5),
467
+ width: theme.spacing(1.5),
468
+ height: theme.spacing(1.5)
469
+ }
470
+ }),
471
+ selected: selectedNodeId,
472
+ children: tree && renderTree(tree)
473
+ }, tree);
474
+ };
475
+
476
+ //#endregion
477
+ //#region src/enums/workflowEnums.ts
478
+ let UnitTypeEnums = /* @__PURE__ */ function(UnitTypeEnums$1) {
479
+ UnitTypeEnums$1[UnitTypeEnums$1["Scope"] = 0] = "Scope";
480
+ UnitTypeEnums$1[UnitTypeEnums$1["Sequence"] = 1] = "Sequence";
481
+ UnitTypeEnums$1[UnitTypeEnums$1["Group"] = 2] = "Group";
482
+ UnitTypeEnums$1[UnitTypeEnums$1["Fork"] = 3] = "Fork";
483
+ UnitTypeEnums$1[UnitTypeEnums$1["Branch"] = 4] = "Branch";
484
+ UnitTypeEnums$1[UnitTypeEnums$1["Retry"] = 5] = "Retry";
485
+ UnitTypeEnums$1[UnitTypeEnums$1["Attempt"] = 6] = "Attempt";
486
+ UnitTypeEnums$1[UnitTypeEnums$1["Iterator"] = 7] = "Iterator";
487
+ UnitTypeEnums$1[UnitTypeEnums$1["Loop"] = 8] = "Loop";
488
+ UnitTypeEnums$1[UnitTypeEnums$1["Break"] = 9] = "Break";
489
+ UnitTypeEnums$1[UnitTypeEnums$1["Block"] = 10] = "Block";
490
+ UnitTypeEnums$1[UnitTypeEnums$1["Adaptor"] = 11] = "Adaptor";
491
+ UnitTypeEnums$1[UnitTypeEnums$1["Code"] = 12] = "Code";
492
+ UnitTypeEnums$1[UnitTypeEnums$1["Pause"] = 13] = "Pause";
493
+ UnitTypeEnums$1[UnitTypeEnums$1["Fault"] = 14] = "Fault";
494
+ UnitTypeEnums$1[UnitTypeEnums$1["Trace"] = 15] = "Trace";
495
+ UnitTypeEnums$1[UnitTypeEnums$1["Catcher"] = 16] = "Catcher";
496
+ UnitTypeEnums$1[UnitTypeEnums$1["Thrower"] = 17] = "Thrower";
497
+ UnitTypeEnums$1[UnitTypeEnums$1["Plan"] = 18] = "Plan";
498
+ UnitTypeEnums$1[UnitTypeEnums$1["Task"] = 19] = "Task";
499
+ UnitTypeEnums$1[UnitTypeEnums$1["Sprint"] = 20] = "Sprint";
500
+ UnitTypeEnums$1[UnitTypeEnums$1["Auth"] = 21] = "Auth";
501
+ UnitTypeEnums$1[UnitTypeEnums$1["Rest"] = 22] = "Rest";
502
+ UnitTypeEnums$1[UnitTypeEnums$1["Fuse"] = 23] = "Fuse";
503
+ UnitTypeEnums$1[UnitTypeEnums$1["Mail"] = 24] = "Mail";
504
+ UnitTypeEnums$1[UnitTypeEnums$1["Sms"] = 25] = "Sms";
505
+ UnitTypeEnums$1[UnitTypeEnums$1["Publisher"] = 26] = "Publisher";
506
+ UnitTypeEnums$1[UnitTypeEnums$1["Fiber"] = 27] = "Fiber";
507
+ UnitTypeEnums$1[UnitTypeEnums$1["Mapper"] = 28] = "Mapper";
508
+ UnitTypeEnums$1[UnitTypeEnums$1["Section"] = 29] = "Section";
509
+ UnitTypeEnums$1[UnitTypeEnums$1["Scene"] = 30] = "Scene";
510
+ UnitTypeEnums$1[UnitTypeEnums$1["Placeholder"] = 100] = "Placeholder";
511
+ return UnitTypeEnums$1;
512
+ }({});
513
+ let UnitStateType = /* @__PURE__ */ function(UnitStateType$1) {
514
+ UnitStateType$1[UnitStateType$1["Initial"] = 0] = "Initial";
515
+ UnitStateType$1[UnitStateType$1["Started"] = 1] = "Started";
516
+ UnitStateType$1[UnitStateType$1["Completed"] = 2] = "Completed";
517
+ UnitStateType$1[UnitStateType$1["Cancelled"] = 3] = "Cancelled";
518
+ UnitStateType$1[UnitStateType$1["Failed"] = 4] = "Failed";
519
+ return UnitStateType$1;
520
+ }({});
521
+
522
+ //#endregion
523
+ //#region src/utilities/workflow/workflowUtilities.js
524
+ const getWorkflowTaskIconByActionType = (type) => {
525
+ let iconName = "ClipboardListIcon";
526
+ switch (type) {
527
+ case UnitTypeEnums.Rest:
528
+ iconName = "CloudImportExportIcon";
529
+ break;
530
+ case UnitTypeEnums.Sms:
531
+ iconName = "MessageFillIcon";
532
+ break;
533
+ case UnitTypeEnums.Mail:
534
+ iconName = "MailSolidIcon";
535
+ break;
536
+ case UnitTypeEnums.Scene:
537
+ iconName = "ReleaseGateIcon";
538
+ break;
539
+ default: break;
540
+ }
541
+ return iconName;
542
+ };
543
+ const getWorkflowTaskStateIconByStateType = (type) => {
544
+ let iconName = "";
545
+ switch (type) {
546
+ case UnitStateType.Initial:
547
+ iconName = "StopwatchIcon";
548
+ break;
549
+ case UnitStateType.Started:
550
+ iconName = "ProgressLoopOuterIcon";
551
+ break;
552
+ case UnitStateType.Completed:
553
+ iconName = "CheckMarkIcon";
554
+ break;
555
+ case UnitStateType.Cancelled:
556
+ iconName = "CancelIcon";
557
+ break;
558
+ case UnitStateType.Failed:
559
+ default:
560
+ iconName = "ErrorBadgeIcon";
561
+ break;
562
+ }
563
+ return iconName;
564
+ };
565
+ const getWorkflowTaskStateIconColorByStateType = (type) => {
566
+ let color = "";
567
+ switch (type) {
568
+ case UnitStateType.Initial:
569
+ color = "#ffa726";
570
+ break;
571
+ case UnitStateType.Started:
572
+ color = "#29b6f6";
573
+ break;
574
+ case UnitStateType.Completed:
575
+ color = "#66bb6a";
576
+ break;
577
+ case UnitStateType.Cancelled:
578
+ color = "#f44336";
579
+ break;
580
+ case UnitStateType.Failed:
581
+ default:
582
+ color = "#f44336";
583
+ break;
584
+ }
585
+ return color;
586
+ };
587
+ const SELECTABLE_NODE_TYPES = [
588
+ UnitTypeEnums.Sms,
589
+ UnitTypeEnums.Mail,
590
+ UnitTypeEnums.Scene
591
+ ];
592
+ const transformWorkflowPlayTree = (node) => {
593
+ if (!node) return null;
594
+ const label = node.name || "";
595
+ const expanded = "expanded";
596
+ const startedAt = node.startedAt ? formatDateToLocaleString(node.startedAt, DateTime.DATETIME_SHORT) : null;
597
+ const updatedNode = {
598
+ id: node.id,
599
+ parentId: node.parentId,
600
+ isExpanded: expanded,
601
+ isSelectable: !!node.type && SELECTABLE_NODE_TYPES.includes(node.type),
602
+ properties: {
603
+ defaultIcon: {
604
+ type: "",
605
+ name: getWorkflowTaskIconByActionType(node.type),
606
+ color: ""
607
+ },
608
+ conditionalIcon: {
609
+ type: "",
610
+ name: !!node.type && getWorkflowTaskStateIconByStateType(node.state),
611
+ color: !!node.type && getWorkflowTaskStateIconColorByStateType(node.state)
612
+ },
613
+ nodeLabel: label,
614
+ nodeSubLabel: node.parentId ? node.description : startedAt || "",
615
+ state: node.state,
616
+ type: node.type,
617
+ interruptPages: node.interruptPages,
618
+ playSceneId: node.playSceneId,
619
+ startedAt: node.startedAt,
620
+ endedAt: node.endedAt,
621
+ dueDate: node.dueDate,
622
+ variables: node.variables,
623
+ sms: node.type === UnitTypeEnums.Sms ? {
624
+ templateData: node.templateData,
625
+ to: node.to,
626
+ from: node.from,
627
+ body: node.body
628
+ } : null,
629
+ email: node.type === UnitTypeEnums.Mail ? {
630
+ templateData: node.templateData,
631
+ to: node.to,
632
+ from: node.from,
633
+ subject: node.subject,
634
+ text: node.text,
635
+ html: node.html
636
+ } : null
637
+ },
638
+ children: []
639
+ };
640
+ for (const child of node.children) {
641
+ const updatedChild = transformWorkflowPlayTree(child);
642
+ if (updatedChild) updatedNode.children.push(updatedChild);
643
+ }
644
+ return updatedNode;
645
+ };
646
+
647
+ //#endregion
648
+ //#region src/stores/workflowStore.ts
649
+ const useWorkflowStore = create()(devtools((set) => ({
650
+ title: "",
651
+ setWorkflowToolbarTitle: (title) => set((state) => ({ title })),
652
+ taskDataMap: {},
653
+ updateTaskDataMap: (taskId, pageId, data) => set((state) => {
654
+ const updatedTaskDataMap = { ...state.taskDataMap };
655
+ if (updatedTaskDataMap[taskId]) if (updatedTaskDataMap[taskId][pageId]) updatedTaskDataMap[taskId][pageId] = data;
656
+ else updatedTaskDataMap[taskId] = { [pageId]: data };
657
+ else updatedTaskDataMap[taskId] = { [pageId]: data };
658
+ return { taskDataMap: updatedTaskDataMap };
659
+ }),
660
+ setTaskDataMap: (taskId, data) => set((state) => {
661
+ const updatedTaskDataMap = { ...state.taskDataMap };
662
+ updatedTaskDataMap[taskId] = data;
663
+ return { taskDataMap: updatedTaskDataMap };
664
+ })
665
+ })));
666
+
667
+ //#endregion
668
+ //#region src/workflow/components/WorkflowTaskFlow.jsx
669
+ const useStyles$7 = makeStyles((theme) => ({
670
+ root: { display: "flex" },
671
+ taskInfoBlock: {
672
+ backgroundColor: lighten(theme.palette.primary.main, .3),
673
+ width: theme.spacing(25),
674
+ color: theme.palette.common.white,
675
+ padding: `${theme.spacing(.5)}px ${theme.spacing(2.25)}px`
676
+ },
677
+ description: {
678
+ textOverflow: "ellipsis",
679
+ overflow: "hidden",
680
+ whiteSpace: "nowrap"
681
+ },
682
+ button: {
683
+ backgroundColor: theme.palette.primary.main,
684
+ color: theme.palette.common.white,
685
+ borderRadius: 0,
686
+ "&:hover": { backgroundColor: theme.palette.primary.dark },
687
+ minWidth: theme.spacing(3)
688
+ },
689
+ stepperContainer: {
690
+ width: "100%",
691
+ padding: 0,
692
+ marginTop: `-${theme.spacing(1.5)}px`,
693
+ background: "none"
694
+ },
695
+ stepIconRoot: {
696
+ zIndex: 1,
697
+ color: theme.palette.primary.main,
698
+ width: theme.spacing(3),
699
+ height: theme.spacing(3),
700
+ display: "flex",
701
+ borderRadius: "50%",
702
+ justifyContent: "center",
703
+ alignItems: "center",
704
+ "&.active": {
705
+ backgroundColor: theme.palette.primary.main,
706
+ color: theme.palette.common.white
707
+ },
708
+ "&.completed": {
709
+ backgroundColor: theme.palette.common.white,
710
+ color: theme.palette.success.main
711
+ }
712
+ },
713
+ stepLabel: { "& > .MuiStepLabel-label": { marginTop: theme.spacing(.5) } }
714
+ }));
715
+ const ColorLibConnector = withStyles((theme) => ({
716
+ connectorRoot: {
717
+ top: 10,
718
+ left: "calc(-50% + 12px)",
719
+ right: "calc(50% + 12px)"
720
+ },
721
+ alternativeLabel: {
722
+ left: "calc(-50% + 12px)",
723
+ right: "calc(50% + 12px)"
724
+ },
725
+ active: { "& $line": { borderColor: theme.palette.primary.main } },
726
+ completed: { "& $line": { borderColor: theme.palette.primary.main } },
727
+ line: {
728
+ borderTopWidth: 3,
729
+ borderRadius: 1
730
+ }
731
+ }))(StepConnector);
732
+ const ColorlibStepIcon = (props) => {
733
+ const { active, completed } = props;
734
+ const classes = useStyles$7();
735
+ const rootClass = `${classes.stepIconRoot} ${active ? "active" : ""} ${completed ? "completed" : ""}`;
736
+ return /* @__PURE__ */ jsx("div", {
737
+ className: rootClass,
738
+ children: completed ? /* @__PURE__ */ jsx(CheckCircleIcon, {}) : active ? /* @__PURE__ */ jsx(RadioButtonCheckedIcon, {}) : /* @__PURE__ */ jsx(RadioButtonUncheckedIcon, {})
739
+ });
740
+ };
741
+ const WorkflowTaskFlow = (props) => {
742
+ const { steps = [], handleClick = () => {}, task } = props;
743
+ const classes = useStyles$7();
744
+ const [activeStep, setActiveStep] = useState(0);
745
+ const handleStepClick = (stepIndex) => {
746
+ handleClick(stepIndex);
747
+ setActiveStep(stepIndex);
748
+ };
749
+ const handleOnLeftButtonClick = useCallback(() => {
750
+ if (activeStep > 0) {
751
+ const newIndex = activeStep - 1;
752
+ handleClick(newIndex);
753
+ setActiveStep(newIndex);
754
+ }
755
+ }, [activeStep, handleClick]);
756
+ const handleOnRightButtonClick = useCallback(() => {
757
+ if (activeStep !== steps?.length - 1) {
758
+ const newIndex = activeStep + 1;
759
+ handleClick(newIndex);
760
+ setActiveStep(newIndex);
761
+ }
762
+ }, [
763
+ steps,
764
+ activeStep,
765
+ handleClick
766
+ ]);
767
+ const getFormattedDueDate = useCallback((date) => {
768
+ if (!date) return "";
769
+ const shortDate = formatDateToLocaleString(date, DateTime.DATE_SHORT);
770
+ return `Due ${shortDate}`;
771
+ }, []);
772
+ return /* @__PURE__ */ jsxs("div", {
773
+ className: classes.root,
774
+ children: [
775
+ /* @__PURE__ */ jsxs("div", {
776
+ className: classes.taskInfoBlock,
777
+ children: [/* @__PURE__ */ jsx("div", {
778
+ className: classes.description,
779
+ children: /* @__PURE__ */ jsx(Typography, {
780
+ variant: "caption",
781
+ children: task?.properties?.nodeLabel || ""
782
+ })
783
+ }), /* @__PURE__ */ jsx("div", {
784
+ className: classes.description,
785
+ children: /* @__PURE__ */ jsx(Typography, {
786
+ variant: "caption",
787
+ style: { fontWeight: 500 },
788
+ children: getFormattedDueDate(task?.properties?.dueDate)
789
+ })
790
+ })]
791
+ }),
792
+ /* @__PURE__ */ jsx(Button, {
793
+ className: classes.button,
794
+ onClick: handleOnLeftButtonClick,
795
+ children: /* @__PURE__ */ jsx(FluentIcon, { component: ChevronLeftIcon })
796
+ }),
797
+ /* @__PURE__ */ jsx(Stepper, {
798
+ alternativeLabel: true,
799
+ activeStep,
800
+ connector: /* @__PURE__ */ jsx(ColorLibConnector, {}),
801
+ className: classes.stepperContainer,
802
+ children: steps.map((step, index) => /* @__PURE__ */ jsx(Step, {
803
+ onClick: () => handleStepClick(index),
804
+ children: /* @__PURE__ */ jsx(StepLabel, {
805
+ classes: { labelContainer: classes.stepLabel },
806
+ StepIconComponent: ColorlibStepIcon,
807
+ children: /* @__PURE__ */ jsx(Typography, {
808
+ variant: "caption",
809
+ children: step.label
810
+ })
811
+ })
812
+ }, step.label))
813
+ }),
814
+ /* @__PURE__ */ jsx(Button, {
815
+ className: classes.button,
816
+ onClick: handleOnRightButtonClick,
817
+ children: /* @__PURE__ */ jsx(FluentIcon, { component: ChevronRightIcon })
818
+ })
819
+ ]
820
+ });
821
+ };
822
+
823
+ //#endregion
824
+ //#region src/UI/loading/LinearProgress.jsx
825
+ const useStyles$6 = makeStyles$1((theme) => ({
826
+ root: { backgroundColor: theme.palette.grey[300] },
827
+ barColorPrimary: { backgroundColor: theme.palette.primary.main },
828
+ barColorSecondary: { backgroundColor: theme.palette.secondary.main },
829
+ barColorSuccess: { backgroundColor: theme.palette.success.main },
830
+ barColorError: { backgroundColor: theme.palette.error.main },
831
+ barColorWarning: { backgroundColor: theme.palette.warning.main },
832
+ barColorInfo: { backgroundColor: theme.palette.info.main },
833
+ customColorBar: (props) => ({ backgroundColor: props.color })
834
+ }));
835
+ const LinearProgress$1 = (props) => {
836
+ const { variant = "indeterminate", value, color = "primary",...otherProps } = props;
837
+ const isPredefinedColor = [
838
+ "primary",
839
+ "secondary",
840
+ "success",
841
+ "error",
842
+ "warning",
843
+ "info"
844
+ ].includes(color);
845
+ const classes = useStyles$6({ color });
846
+ return /* @__PURE__ */ jsx(LinearProgress, {
847
+ ...otherProps,
848
+ variant,
849
+ value,
850
+ classes: {
851
+ root: classes.root,
852
+ bar: clsx({
853
+ [classes.barColorPrimary]: color === "primary",
854
+ [classes.barColorSecondary]: color === "secondary",
855
+ [classes.barColorSuccess]: color === "success",
856
+ [classes.barColorError]: color === "error",
857
+ [classes.barColorWarning]: color === "warning",
858
+ [classes.barColorInfo]: color === "info",
859
+ [classes.customColorBar]: !isPredefinedColor
860
+ })
861
+ }
862
+ });
863
+ };
864
+
865
+ //#endregion
866
+ //#region src/UI/loading/CircularProgress.jsx
867
+ const useStyles$5 = makeStyles$1((theme) => ({
868
+ circleColorPrimary: { color: theme.palette.primary.main },
869
+ circleColorSecondary: { color: theme.palette.secondary.main },
870
+ circleColorSuccess: { color: theme.palette.success.main },
871
+ circleColorError: { color: theme.palette.error.main },
872
+ circleColorWarning: { color: theme.palette.warning.main },
873
+ circleColorInfo: { color: theme.palette.info.main },
874
+ customColorCircle: (props) => ({ backgroundColor: props.color })
875
+ }));
876
+ const CircularProgress$1 = (props) => {
877
+ const { variant = "indeterminate", value, color = "primary",...otherProps } = props;
878
+ const isPredefinedColor = [
879
+ "primary",
880
+ "secondary",
881
+ "success",
882
+ "error",
883
+ "warning",
884
+ "info"
885
+ ].includes(color);
886
+ const classes = useStyles$5({ color });
887
+ return /* @__PURE__ */ jsx(CircularProgress, {
888
+ ...otherProps,
889
+ variant,
890
+ value,
891
+ classes: {
892
+ root: classes.root,
893
+ circle: clsx({
894
+ [classes.circleColorPrimary]: color === "primary",
895
+ [classes.circleColorSecondary]: color === "secondary",
896
+ [classes.circleColorSuccess]: color === "success",
897
+ [classes.circleColorError]: color === "error",
898
+ [classes.circleColorWarning]: color === "warning",
899
+ [classes.circleColorInfo]: color === "info",
900
+ [classes.customColorCircle]: !isPredefinedColor
901
+ })
902
+ }
903
+ });
904
+ };
905
+
906
+ //#endregion
907
+ //#region src/workflow/WorkflowUiInterruptContent.jsx
908
+ const useStyles$4 = makeStyles((theme) => ({
909
+ root: {},
910
+ loadingContent: {
911
+ flex: 1,
912
+ display: "flex",
913
+ flexDirection: "column",
914
+ alignItems: "center",
915
+ justifyContent: "center",
916
+ height: "calc(100vh - 160px)"
917
+ }
918
+ }));
919
+ const WorkflowUiInterruptContent = (props) => {
920
+ const { selectedNode, workflow, reloadWorkflow, users, groups, handleClose, inquiryPageParams = {} } = props;
921
+ const classes = useStyles$4();
922
+ const [selectedPageId, setSelectedPageId] = useState("");
923
+ const [currentWorkflowStep, setCurrentWorkflowStep] = useState(0);
924
+ const [loading, setLoading] = useState(false);
925
+ const [loadingTaskData, setLoadingTaskData] = useState(true);
926
+ const [reassignSidesheetOpen, setReassignSidesheetOpen] = useState(false);
927
+ const [reassigningAssignee, setReassigningAssignee] = useState(false);
928
+ const [workflowPageData, setWorkflowPageData] = useState(null);
929
+ const [orderedPageData, setOrderedPageData] = useState([]);
930
+ const user = useUser();
931
+ const taskDataMap = useWorkflowStore((state) => state.taskDataMap);
932
+ const setTaskDataMap = useWorkflowStore((state) => state.setTaskDataMap);
933
+ const { t } = useTranslation();
934
+ const formRef = useRef(null);
935
+ const [{ data: pageData, loading: pageLoading, error: pageError }] = useAxiosGet(ConfigService.tenantV1ApiUrl, `page/${selectedPageId}`, {}, !!!selectedPageId, false);
936
+ const [{ data: playScene, loading: playSceneLoading, error: playSceneError }, fetchPlayScene] = useAxiosGet(ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}?includeData=true`, {}, !!!selectedNode?.properties?.playSceneId, false);
937
+ const updatePlaySceneData = useCallback(async (data = "") => apiMutate$1(ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}/data`, { method: "put" }, { data }), [selectedNode]);
938
+ const updatePlaySceneState = useCallback(async (data = {}, sceneState) => apiMutate$1(ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}/${sceneState}`, { method: "put" }, { data }), [selectedNode]);
939
+ const updatePlaySceneAssignee = useCallback(async (data = "") => apiMutate$1(ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}/assignee`, { method: "put" }, { data }), [selectedNode]);
940
+ const closeReassignmentSheet = useCallback(() => {
941
+ setReassignSidesheetOpen(false);
942
+ }, []);
943
+ const workflowTaskSteps = useMemo(() => {
944
+ if (!selectedNode?.properties?.interruptPages) return [];
945
+ const orderedInterruptPages = orderBy(selectedNode.properties.interruptPages, ["sequenceNo"], ["asc"]);
946
+ const steps = orderedInterruptPages.reduce((list, ip) => {
947
+ const step = {
948
+ label: ip.displayName || ip.page?.name,
949
+ pageId: ip.page?.pageId,
950
+ requiredFieldMapping: ip.requiredFieldMapping
951
+ };
952
+ list.push(step);
953
+ return list;
954
+ }, []);
955
+ return steps;
956
+ }, [selectedNode]);
957
+ const assigneeOptions = useMemo(() => {
958
+ const formattedUsers = users?.reduce((list, user$1) => {
959
+ list.push({
960
+ id: user$1?.unityId || "",
961
+ name: `${user$1?.displayName} - (User)` || ""
962
+ });
963
+ return list;
964
+ }, []) || [];
965
+ const formattedGroups = groups.reduce((list, group) => {
966
+ list.push({
967
+ id: group?.groupId || "",
968
+ name: `${group?.name} - (Group)` || ""
969
+ });
970
+ return list;
971
+ }, []) || [];
972
+ const options = formattedUsers.concat(formattedGroups);
973
+ return options;
974
+ }, [users, groups]);
975
+ const saveCurrentWorkflowData = useCallback(async () => {
976
+ let playSceneData = null;
977
+ if (selectedNode?.properties?.playSceneId) playSceneData = taskDataMap[selectedNode.properties.playSceneId];
978
+ if (playSceneData) {
979
+ await updatePlaySceneData({ data: JSON.stringify(playSceneData) });
980
+ await fetchPlayScene();
981
+ }
982
+ }, [
983
+ taskDataMap,
984
+ fetchPlayScene,
985
+ updatePlaySceneData,
986
+ selectedNode
987
+ ]);
988
+ const updateWorkflowPageData = useCallback(async (data, pageId) => {
989
+ if (!selectedNode?.properties?.playSceneId || !pageId) {
990
+ console.warn("No TaskId or PageId availble to save Workflow Page Data");
991
+ return;
992
+ }
993
+ if (selectedNode?.properties?.state === UnitStateType.Initial || selectedNode?.properties?.state === UnitStateType.Completed || selectedNode?.properties?.state === UnitStateType.Cancelled || selectedNode?.properties?.state === UnitStateType.Failed) return;
994
+ let playSceneData = null;
995
+ if (selectedNode?.properties?.playSceneId) {
996
+ playSceneData = taskDataMap[selectedNode.properties.playSceneId];
997
+ if (playSceneData) playSceneData[pageId] = data;
998
+ }
999
+ if (playSceneData) {
1000
+ await updatePlaySceneData({ data: JSON.stringify(playSceneData) });
1001
+ await fetchPlayScene();
1002
+ }
1003
+ }, [
1004
+ selectedNode,
1005
+ fetchPlayScene,
1006
+ taskDataMap,
1007
+ updatePlaySceneData
1008
+ ]);
1009
+ const handleTaskChange = useCallback(async (step) => {
1010
+ setCurrentWorkflowStep(step);
1011
+ }, []);
1012
+ const handleTaskSubmit = useCallback(async () => {
1013
+ setLoading(true);
1014
+ await saveCurrentWorkflowData();
1015
+ await updatePlaySceneState("", 2);
1016
+ await reloadWorkflow();
1017
+ setLoading(false);
1018
+ }, [
1019
+ updatePlaySceneState,
1020
+ reloadWorkflow,
1021
+ saveCurrentWorkflowData
1022
+ ]);
1023
+ const secondaryButtons = useMemo(() => {
1024
+ const buttons = [];
1025
+ if (handleClose) buttons.push({
1026
+ label: t("Close"),
1027
+ component: CancelIcon,
1028
+ click: () => handleClose()
1029
+ });
1030
+ if (selectedNode?.properties?.state !== UnitStateType.Started) return buttons;
1031
+ buttons.push({
1032
+ label: t("Reassign"),
1033
+ component: ForwardIcon,
1034
+ click: () => setReassignSidesheetOpen(true)
1035
+ });
1036
+ return buttons;
1037
+ }, [
1038
+ t,
1039
+ selectedNode,
1040
+ handleClose
1041
+ ]);
1042
+ const handleReassignment = useCallback(() => {
1043
+ formRef?.current.form.submit();
1044
+ }, []);
1045
+ const reassignTask = useCallback(async (values) => {
1046
+ setReassigningAssignee(true);
1047
+ await updatePlaySceneAssignee({ data: values?.assignee?.id || "" });
1048
+ await fetchPlayScene();
1049
+ setReassigningAssignee(false);
1050
+ closeReassignmentSheet();
1051
+ }, [
1052
+ updatePlaySceneAssignee,
1053
+ fetchPlayScene,
1054
+ closeReassignmentSheet
1055
+ ]);
1056
+ const requiredFieldMapping = useMemo(() => {
1057
+ const step = workflowTaskSteps?.find((wts) => wts.pageId === pageData?.pageId);
1058
+ let fieldMapping = step?.requiredFieldMapping ? cloneDeep(step.requiredFieldMapping) : {};
1059
+ const workflowVariables = selectedNode?.properties?.variables || null;
1060
+ if (!!fieldMapping && !!workflowVariables) Object.keys(fieldMapping)?.forEach((rfmKey) => {
1061
+ const requiredField = fieldMapping[rfmKey];
1062
+ if (!!requiredField?.value) {
1063
+ if (requiredField?.type === "workflowVariable") {
1064
+ let matchedVariable = false;
1065
+ Object.keys(workflowVariables).forEach((key) => {
1066
+ if (requiredField.value === key) {
1067
+ requiredField.value = workflowVariables[key] || "";
1068
+ matchedVariable = true;
1069
+ return;
1070
+ }
1071
+ });
1072
+ if (!matchedVariable) requiredField.value = null;
1073
+ }
1074
+ }
1075
+ });
1076
+ return fieldMapping || {};
1077
+ }, [
1078
+ pageData?.pageId,
1079
+ selectedNode,
1080
+ workflowTaskSteps
1081
+ ]);
1082
+ const pageWidgetParams = useMemo(() => {
1083
+ const requiredFieldsMap = Object.keys(requiredFieldMapping).reduce((fieldMap, key) => {
1084
+ fieldMap[key] = requiredFieldMapping[key]?.value || "";
1085
+ return fieldMap;
1086
+ }, {});
1087
+ return {
1088
+ setSideSheetWidth: () => {
1089
+ console.warn("setSideSheetWidth Not implemented");
1090
+ },
1091
+ setSideSheetButtonLabel: () => {
1092
+ console.warn("setSideSheetButtonLabel Not implemented");
1093
+ },
1094
+ setSideSheetOnSubmit: () => {
1095
+ console.warn("setSideSheetOnSubmit Not implemented");
1096
+ },
1097
+ setSideSheetAdditionalOnClose: () => {
1098
+ console.warn("setSideSheetAdditionalOnClose Not implemented");
1099
+ },
1100
+ setSideSheetProps: () => {
1101
+ console.warn("setSideSheetProps Not implemented");
1102
+ },
1103
+ closeSideSheet: () => {
1104
+ console.warn("closeSideSheet Not implemented");
1105
+ },
1106
+ onCreate: () => {
1107
+ console.warn("onCreate Not implemented");
1108
+ },
1109
+ onUpdate: () => {
1110
+ console.warn("onUpdate Not implemented");
1111
+ },
1112
+ ...inquiryPageParams,
1113
+ pageId: pageData?.pageId,
1114
+ updateWorkflowPageData: (data) => updateWorkflowPageData(data, pageData?.pageId),
1115
+ workflowTask: selectedNode,
1116
+ workflowPageData: {
1117
+ ...requiredFieldsMap,
1118
+ ...workflowPageData
1119
+ },
1120
+ requiredFieldsMap: requiredFieldMapping || null,
1121
+ currentWorkflowStep,
1122
+ orderedWorkflowPageData: orderedPageData
1123
+ };
1124
+ }, [
1125
+ pageData?.pageId,
1126
+ selectedNode,
1127
+ workflowPageData,
1128
+ updateWorkflowPageData,
1129
+ requiredFieldMapping,
1130
+ inquiryPageParams,
1131
+ currentWorkflowStep,
1132
+ orderedPageData
1133
+ ]);
1134
+ const currentAssignee = useMemo(() => {
1135
+ if (!playScene?.assignee || !assigneeOptions?.length) return "";
1136
+ const matchingAssignee = assigneeOptions.find((assignee) => assignee.id === playScene.assignee);
1137
+ return matchingAssignee || "";
1138
+ }, [playScene, assigneeOptions]);
1139
+ const pageHeight = useMemo(() => "calc(100vh - 162px)", []);
1140
+ useEffect(() => {
1141
+ if (!selectedNode?.properties?.playSceneId || !selectedPageId || loadingTaskData) {
1142
+ setWorkflowPageData(null);
1143
+ return;
1144
+ }
1145
+ if (taskDataMap?.[selectedNode.properties.playSceneId] && taskDataMap[selectedNode.properties.playSceneId][selectedPageId]) {
1146
+ setWorkflowPageData(taskDataMap[selectedNode.properties.playSceneId][selectedPageId]);
1147
+ return;
1148
+ }
1149
+ if (Object.keys(taskDataMap).length && selectedNode?.properties?.playSceneId && selectedPageId && !playSceneLoading && !loadingTaskData) {
1150
+ setWorkflowPageData((prevData) => {
1151
+ if (!prevData) return {};
1152
+ else if (!Object.keys(prevData).length) return prevData;
1153
+ });
1154
+ return;
1155
+ }
1156
+ setWorkflowPageData(null);
1157
+ }, [
1158
+ selectedNode,
1159
+ selectedPageId,
1160
+ taskDataMap,
1161
+ loadingTaskData,
1162
+ playSceneLoading,
1163
+ workflowTaskSteps
1164
+ ]);
1165
+ useEffect(() => {
1166
+ if (workflowTaskSteps?.length) setSelectedPageId(workflowTaskSteps[currentWorkflowStep]?.pageId);
1167
+ }, [workflowTaskSteps, currentWorkflowStep]);
1168
+ useEffect(() => {
1169
+ setLoadingTaskData(true);
1170
+ if (!playSceneLoading && selectedNode?.properties?.playSceneId) {
1171
+ const json = playScene?.data ? JSON.parse(playScene.data) : {};
1172
+ setTaskDataMap(selectedNode.properties.playSceneId, json);
1173
+ }
1174
+ setLoadingTaskData(false);
1175
+ }, [
1176
+ playScene,
1177
+ playSceneLoading,
1178
+ setTaskDataMap,
1179
+ selectedNode
1180
+ ]);
1181
+ useEffect(() => {
1182
+ const orderedData = [];
1183
+ if (taskDataMap?.[selectedNode.properties.playSceneId]) workflowTaskSteps.forEach((step) => {
1184
+ orderedData.push(taskDataMap[selectedNode.properties.playSceneId][step.pageId] || {});
1185
+ });
1186
+ setOrderedPageData(orderedData);
1187
+ }, [
1188
+ taskDataMap,
1189
+ workflowTaskSteps,
1190
+ selectedNode
1191
+ ]);
1192
+ return /* @__PURE__ */ jsxs("div", { children: [
1193
+ /* @__PURE__ */ jsxs(Card, {
1194
+ variant: "outlined",
1195
+ style: {
1196
+ border: "none",
1197
+ paddingBottom: workflowTaskSteps?.length > 1 ? 10 : 0
1198
+ },
1199
+ children: [/* @__PURE__ */ jsx(PrimaryActionHeader, {
1200
+ single: true,
1201
+ title: workflow?.name,
1202
+ buttonLabel: "Submit",
1203
+ handleClick: handleTaskSubmit,
1204
+ pabDisabled: selectedNode?.properties?.state !== UnitStateType.Started,
1205
+ secondaryButtons
1206
+ }), loading && /* @__PURE__ */ jsx(LinearProgress$1, {})]
1207
+ }),
1208
+ workflowTaskSteps?.length > 1 && /* @__PURE__ */ jsx(WorkflowTaskFlow, {
1209
+ steps: workflowTaskSteps,
1210
+ handleClick: handleTaskChange,
1211
+ task: selectedNode
1212
+ }),
1213
+ selectedPageId && workflowPageData ? /* @__PURE__ */ jsx(PageContainer, {
1214
+ user,
1215
+ pageData,
1216
+ pageLoading,
1217
+ widgetParams: pageWidgetParams,
1218
+ disableMargins: true,
1219
+ fromMenu: true,
1220
+ height: pageHeight
1221
+ }, selectedPageId) : /* @__PURE__ */ jsx("div", {
1222
+ className: classes.loadingContent,
1223
+ children: /* @__PURE__ */ jsx(CircularProgress$1, { size: 64 })
1224
+ }),
1225
+ /* @__PURE__ */ jsx(SideSheet, {
1226
+ open: reassignSidesheetOpen,
1227
+ buttonLabel: t("Reassign"),
1228
+ onClose: closeReassignmentSheet,
1229
+ onSubmit: handleReassignment,
1230
+ title: t("Reassign Task"),
1231
+ width: "25%",
1232
+ progress: reassigningAssignee,
1233
+ variant: "indeterminate",
1234
+ children: /* @__PURE__ */ jsx(Form, {
1235
+ onSubmit: reassignTask,
1236
+ ref: formRef,
1237
+ children: /* @__PURE__ */ jsx(Field, {
1238
+ component: FluentTextFieldAutoComplete,
1239
+ name: "assignee",
1240
+ id: "assignee",
1241
+ label: t("Assignee"),
1242
+ initialValue: currentAssignee || "",
1243
+ options: assigneeOptions || [],
1244
+ optionKey: "name",
1245
+ variant: "outlined",
1246
+ margin: "dense"
1247
+ })
1248
+ })
1249
+ })
1250
+ ] });
1251
+ };
1252
+
1253
+ //#endregion
1254
+ //#region src/UI/components/dataDisplay/SmsDisplay.jsx
1255
+ const useStyles$3 = makeStyles((theme) => ({
1256
+ messages: {
1257
+ flex: "1",
1258
+ margin: "0 20px",
1259
+ overflow: "hidden"
1260
+ },
1261
+ messagesBox: {
1262
+ paddingRight: "3%",
1263
+ paddingLeft: "3%",
1264
+ width: "23vw",
1265
+ height: "88%",
1266
+ overflowY: "auto",
1267
+ boxSizing: "border-box",
1268
+ display: "flex",
1269
+ justifyContent: "center"
1270
+ },
1271
+ message: {
1272
+ backgroundColor: "#E9E9EB",
1273
+ borderRadius: "10px",
1274
+ padding: "10px",
1275
+ marginBottom: "10px",
1276
+ alignSelf: "flex-start",
1277
+ overflowWrap: "break-word",
1278
+ margin: theme.spacing(1)
1279
+ },
1280
+ messageSection: {
1281
+ flex: "1",
1282
+ overflowY: "auto",
1283
+ padding: "20px",
1284
+ backgroundImage: `url(${PhoneImage})`,
1285
+ backgroundSize: "contain",
1286
+ backgroundRepeat: "no-repeat",
1287
+ backgroundPosition: "center",
1288
+ position: "relative",
1289
+ display: "flex",
1290
+ alignItems: "center",
1291
+ justifyContent: "center",
1292
+ height: "calc(100vh - 140px)"
1293
+ }
1294
+ }));
1295
+ const SmsDisplay = (props) => {
1296
+ const { messages = [], to, from, title, handleClose } = props;
1297
+ const classes = useStyles$3();
1298
+ const [messagesList, setMessagesList] = useState(messages);
1299
+ const { t } = useTranslation();
1300
+ const messagesBoxRef = useRef(null);
1301
+ const secondaryButtons = useMemo(() => {
1302
+ const buttons = [];
1303
+ if (handleClose) buttons.push({
1304
+ label: t("Close"),
1305
+ component: CancelIcon,
1306
+ click: () => handleClose()
1307
+ });
1308
+ return buttons;
1309
+ }, [t, handleClose]);
1310
+ useEffect(() => {
1311
+ if (messagesBoxRef.current) messagesBoxRef.current.scrollTop = messagesBoxRef.current.scrollHeight;
1312
+ }, [messagesList]);
1313
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Card, {
1314
+ square: true,
1315
+ children: /* @__PURE__ */ jsx(PrimaryActionHeader, {
1316
+ hidePAB: true,
1317
+ title,
1318
+ subheader: `To: ${to} . From: ${from}`,
1319
+ secondaryButtons
1320
+ })
1321
+ }), /* @__PURE__ */ jsx(Box, {
1322
+ className: classes.messages,
1323
+ children: /* @__PURE__ */ jsx(Box, {
1324
+ className: classes.messageSection,
1325
+ children: /* @__PURE__ */ jsx(Box, {
1326
+ className: classes.messagesBox,
1327
+ ref: messagesBoxRef,
1328
+ children: messagesList.map((message, index) => /* @__PURE__ */ jsx(Grow, {
1329
+ in: true,
1330
+ timeout: 800,
1331
+ children: /* @__PURE__ */ jsx(Box, {
1332
+ className: classes.message,
1333
+ dangerouslySetInnerHTML: { __html: message }
1334
+ })
1335
+ }, index))
1336
+ })
1337
+ })
1338
+ })] });
1339
+ };
1340
+
1341
+ //#endregion
1342
+ //#region src/UI/components/dataDisplay/EmailDisplay.jsx
1343
+ const useStyles$2 = makeStyles((theme) => ({ htmlContainer: {
1344
+ display: "flex",
1345
+ justifyContent: "center"
1346
+ } }));
1347
+ const EmailDisplay = (props) => {
1348
+ const { html = "", to, from, title, handleClose } = props;
1349
+ const classes = useStyles$2();
1350
+ const { t } = useTranslation();
1351
+ const secondaryButtons = useMemo(() => {
1352
+ const buttons = [];
1353
+ if (handleClose) buttons.push({
1354
+ label: t("Close"),
1355
+ component: CancelIcon,
1356
+ click: () => handleClose()
1357
+ });
1358
+ return buttons;
1359
+ }, [t, handleClose]);
1360
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
1361
+ /* @__PURE__ */ jsx(Card, {
1362
+ square: true,
1363
+ children: /* @__PURE__ */ jsx(PrimaryActionHeader, {
1364
+ hidePAB: true,
1365
+ title,
1366
+ subheader: `To: ${to} . From: ${from}`,
1367
+ secondaryButtons
1368
+ })
1369
+ }),
1370
+ /* @__PURE__ */ jsx(LayoutUnit, { unit: "sm" }),
1371
+ /* @__PURE__ */ jsx("div", {
1372
+ className: classes.htmlContainer,
1373
+ children: ReactHtmlParser(html)
1374
+ })
1375
+ ] });
1376
+ };
1377
+
1378
+ //#endregion
1379
+ //#region src/workflow/WorkflowContent.jsx
1380
+ const useStyles$1 = makeStyles((theme) => ({ root: { height: "100%" } }));
1381
+ const WorkflowContent = (props) => {
1382
+ const { selectedNode, workflow, reloadWorkflow, users, groups, handleClose, inquiryPageParams = {} } = props;
1383
+ const buildEnv = useBuildEnvironment();
1384
+ const classes = useStyles$1({
1385
+ ...props,
1386
+ appRibbonSpace: buildEnv ? APP_RIBBON_SPACE : 0
1387
+ });
1388
+ const user = useUser();
1389
+ const [{ data: pageData, loading: pageLoading, error: pageError }] = useAxiosGet(ConfigService.tenantV1ApiUrl, `page/${selectedNode?.properties?.page?.id}`, {}, !!!selectedNode?.properties?.page?.id, false);
1390
+ const content = useMemo(() => {
1391
+ let res = null;
1392
+ if (selectedNode?.properties?.type === UnitTypeEnums.Scene) res = /* @__PURE__ */ jsx(WorkflowUiInterruptContent, {
1393
+ selectedNode,
1394
+ workflow,
1395
+ reloadWorkflow,
1396
+ users,
1397
+ groups,
1398
+ handleClose,
1399
+ inquiryPageParams
1400
+ }, selectedNode.id);
1401
+ else if (selectedNode?.properties?.type === UnitTypeEnums.Sms) res = /* @__PURE__ */ jsx(SmsDisplay, {
1402
+ messages: [selectedNode?.properties?.sms?.body || ""],
1403
+ to: selectedNode?.properties?.sms?.to || "",
1404
+ from: selectedNode?.properties?.sms?.from || "",
1405
+ title: selectedNode?.properties?.nodeLabel || "",
1406
+ handleClose
1407
+ });
1408
+ else if (selectedNode?.properties?.type === UnitTypeEnums.Mail) res = /* @__PURE__ */ jsx(EmailDisplay, {
1409
+ html: selectedNode?.properties?.email?.html || selectedNode?.properties?.email?.text || "",
1410
+ to: selectedNode?.properties?.email?.to || "",
1411
+ from: selectedNode?.properties?.email?.from || "",
1412
+ title: selectedNode?.properties?.nodeLabel || "",
1413
+ handleClose
1414
+ });
1415
+ else if (selectedNode?.properties?.page?.id) res = /* @__PURE__ */ jsx(PageContainer, {
1416
+ user,
1417
+ pageData,
1418
+ pageLoading,
1419
+ widgetParams: {
1420
+ pageId: pageData?.pageId,
1421
+ entityName: selectedNode?.properties?.page?.entity?.entityName,
1422
+ pbiReportCode: selectedNode?.properties?.page?.pbiReportCode,
1423
+ requiredFieldsMap: selectedNode?.properties?.page?.requiredFieldMapping,
1424
+ udpTagId: selectedNode?.properties?.page?.udpTagId,
1425
+ queryId: selectedNode?.properties?.page?.queryId,
1426
+ inquiryTreeId: selectedNode?.properties?.page?.inquiryTreeId
1427
+ },
1428
+ disableMargins: true,
1429
+ fromMenu: true
1430
+ }, selectedNode?.id);
1431
+ return res;
1432
+ }, [
1433
+ groups,
1434
+ pageData,
1435
+ pageLoading,
1436
+ reloadWorkflow,
1437
+ selectedNode,
1438
+ user,
1439
+ users,
1440
+ workflow,
1441
+ handleClose
1442
+ ]);
1443
+ return /* @__PURE__ */ jsx("div", {
1444
+ className: classes.root,
1445
+ children: content
1446
+ });
1447
+ };
1448
+
1449
+ //#endregion
1450
+ //#region src/hooks/useUpdateSearchParams.js
1451
+ const useUpdateSearchParams = () => {
1452
+ const history = useHistory();
1453
+ const location = useLocation();
1454
+ const updateSearchParams = (params) => {
1455
+ const searchParams = new URLSearchParams(location.search);
1456
+ Object.keys(params).forEach((key) => {
1457
+ if (params[key] !== null) searchParams.set(key, params[key]);
1458
+ else searchParams.delete(key);
1459
+ });
1460
+ history.push({
1461
+ pathname: location.pathname,
1462
+ search: searchParams.toString()
1463
+ });
1464
+ };
1465
+ return updateSearchParams;
1466
+ };
1467
+
1468
+ //#endregion
1469
+ //#region src/workflow/WorkflowContainer.jsx
1470
+ const useStyles = makeStyles((theme) => ({
1471
+ root: {
1472
+ flex: 1,
1473
+ minHeight: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
1474
+ display: "grid",
1475
+ gridTemplateAreas: ["sidebar content"].map((line) => `"${line}"`).join(" "),
1476
+ gridTemplateColumns: "auto 1fr",
1477
+ gridTemplateRows: "auto 1fr"
1478
+ },
1479
+ sidebar: {
1480
+ gridArea: "sidebar",
1481
+ marginRight: theme.spacing(1)
1482
+ },
1483
+ content: {
1484
+ gridArea: "content",
1485
+ display: "flex",
1486
+ flexDirection: "column",
1487
+ position: "relative",
1488
+ zIndex: 1,
1489
+ height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
1490
+ overflowY: "auto"
1491
+ },
1492
+ menuContent: {
1493
+ marginTop: theme.spacing(1),
1494
+ height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 116}px)`,
1495
+ overflowX: "hidden"
1496
+ },
1497
+ loader: {
1498
+ marginRight: theme.spacing(1),
1499
+ marginLeft: theme.spacing(1)
1500
+ },
1501
+ loadingContent: {
1502
+ flex: 1,
1503
+ display: "flex",
1504
+ flexDirection: "column",
1505
+ alignItems: "center",
1506
+ justifyContent: "center"
1507
+ }
1508
+ }));
1509
+ const WorkflowContainer = (props) => {
1510
+ const { playId, taskId, autoCollapseNav = true } = props;
1511
+ const buildEnv = useBuildEnvironment();
1512
+ const classes = useStyles({
1513
+ ...props,
1514
+ appRibbonSpace: buildEnv ? APP_RIBBON_SPACE : 0
1515
+ });
1516
+ const location = useLocation();
1517
+ const updateSearchParams = useUpdateSearchParams();
1518
+ const user = useUser();
1519
+ const setLocationState = useSetLocationState();
1520
+ const { t } = useTranslation();
1521
+ const [menuItemsList, setMenuItemsList] = useState([]);
1522
+ const [selectedNode, setSelectedNode] = useState(null);
1523
+ const [sidebarExpanded, setSidebarExpanded] = useState(true);
1524
+ const [reloadFromPage, setReloadFromPage] = useState(false);
1525
+ const [workflow, setWorkflow] = useState(false);
1526
+ const state = location.state;
1527
+ let searchParamStr = location.search;
1528
+ let searchParams = new URLSearchParams(searchParamStr);
1529
+ const urlPlayId = location.pathname.replace("/workflowtask/", "");
1530
+ const udpPlayId = playId || urlPlayId || (state ? state.playId : searchParams.has("playId") === true ? searchParams.get("playId") : "");
1531
+ const udpTaskId = taskId || (state ? state.taskId : searchParams.has("taskId") === true ? searchParams.get("taskId") : "");
1532
+ const [{ data: workflowPlay, loading: workflowPlayLoading }, reloadWorkflow] = useAxiosGet(ConfigService.builderV1ApiUrl, `workflow/play/${udpPlayId}`, {}, !!!udpPlayId, false);
1533
+ const [{ data: users }] = useAxiosGet(ConfigService.securityV1ApiUrl, `users?tenantId=${user?.currentTenantId || ""}`, {}, !!!user?.currentTenantId);
1534
+ const [{ data: groups }] = useAxiosGet(ConfigService.tenantV1ApiUrl, `groups?tenantId=${user?.currentTenantId || ""}&productId=${ConfigService.config.UNITY_PRODUCT_ID}`, {}, !!!user?.currentTenantId);
1535
+ const { setSubHeaderActionHasChildren, setNavigationExpanded } = useShellStore();
1536
+ const handleReloadWorkflow = useCallback(async () => {
1537
+ setReloadFromPage(true);
1538
+ await reloadWorkflow();
1539
+ setReloadFromPage(false);
1540
+ }, [reloadWorkflow]);
1541
+ const handleSelectedNode = useCallback(async (node, menuIndex) => {
1542
+ if (node.isSelectable) {
1543
+ setSelectedNode(node);
1544
+ await handleReloadWorkflow();
1545
+ if (node?.properties?.playSceneId) updateSearchParams({ taskId: node.properties.playSceneId });
1546
+ }
1547
+ }, [updateSearchParams, handleReloadWorkflow]);
1548
+ const handleDropNode = useCallback((sourceNode, targetNode, sourceNodeMenuIndex, targetNodeMenuIndex) => {}, []);
1549
+ const handleSidebarExpandClick = useCallback(() => {
1550
+ setSidebarExpanded((expanded) => !expanded);
1551
+ }, []);
1552
+ useEffect(() => {
1553
+ if (workflowPlay) setWorkflow(workflowPlay);
1554
+ }, [workflowPlay]);
1555
+ useEffect(() => {
1556
+ setLocationState({ label: t("Workflow") });
1557
+ }, [setLocationState, t]);
1558
+ useEffect(() => {
1559
+ if (workflow) setSelectedNode((prevNode) => {
1560
+ if (!!prevNode) {
1561
+ const foundNode = workflow.workflowPlayNode?.children?.find((child) => child.id === prevNode.id);
1562
+ if (!!foundNode) {
1563
+ const updatedNode = { ...prevNode };
1564
+ updatedNode.properties.state = foundNode.state;
1565
+ return updatedNode;
1566
+ } else return prevNode;
1567
+ }
1568
+ });
1569
+ }, [workflow]);
1570
+ useEffect(() => {
1571
+ if (workflow) {
1572
+ const list = [];
1573
+ const updatedMenu = transformWorkflowPlayTree(workflow.workflowPlayNode);
1574
+ if (updatedMenu) list.push(updatedMenu);
1575
+ setMenuItemsList(list);
1576
+ }
1577
+ }, [workflow]);
1578
+ useEffect(() => {
1579
+ if (!selectedNode) {
1580
+ const menu = menuItemsList[0];
1581
+ if (menu) {
1582
+ if (!!udpTaskId) {
1583
+ const matchingTaskNode = menu.children.find((child) => child?.properties?.playSceneId === udpTaskId);
1584
+ setSelectedNode(matchingTaskNode || menu.children[0] || null);
1585
+ } else {
1586
+ const firstSelectableMenuItem = menu?.children?.find((item) => item.isSelectable);
1587
+ setSelectedNode(firstSelectableMenuItem || null);
1588
+ }
1589
+ if (autoCollapseNav) setNavigationExpanded(false);
1590
+ }
1591
+ }
1592
+ }, [
1593
+ udpTaskId,
1594
+ menuItemsList,
1595
+ selectedNode,
1596
+ setNavigationExpanded,
1597
+ autoCollapseNav
1598
+ ]);
1599
+ useEffect(() => {
1600
+ setSubHeaderActionHasChildren(false);
1601
+ }, [setSubHeaderActionHasChildren]);
1602
+ return /* @__PURE__ */ jsx(DndProvider, {
1603
+ backend: HTML5Backend,
1604
+ children: /* @__PURE__ */ jsxs("div", {
1605
+ className: classes.root,
1606
+ children: [/* @__PURE__ */ jsx("div", {
1607
+ className: classes.sidebar,
1608
+ children: /* @__PURE__ */ jsx(UtilitySideBar, {
1609
+ title: "Workflow",
1610
+ isUsingChildren: true,
1611
+ resizable: true,
1612
+ removePadding: true,
1613
+ removeTopLayoutUnit: true,
1614
+ onUtilitySidebarToggleExpandClick: handleSidebarExpandClick,
1615
+ collapsedWidth: 64,
1616
+ children: /* @__PURE__ */ jsxs("div", {
1617
+ className: classes.menuContent,
1618
+ children: [menuItemsList?.length > 0 && (!workflowPlayLoading || reloadFromPage) && menuItemsList.map((menuItems, index) => /* @__PURE__ */ jsx("div", {
1619
+ className: classes.nodeContainer,
1620
+ children: /* @__PURE__ */ jsx(WorkflowTreeMenu, {
1621
+ menuItems,
1622
+ onSelectNode: handleSelectedNode,
1623
+ onDropNode: handleDropNode,
1624
+ menuIndex: index,
1625
+ selectedNodeId: selectedNode?.id,
1626
+ selectedNodeParentId: selectedNode?.parentId,
1627
+ sidebarExpanded,
1628
+ treeViewMode: TreeViewModeEnums.Classic
1629
+ })
1630
+ }, menuItems.id)), workflowPlayLoading && !reloadFromPage && /* @__PURE__ */ jsx("div", {
1631
+ className: classes.loader,
1632
+ children: /* @__PURE__ */ jsx(NodeLoader, { loading: workflowPlayLoading })
1633
+ })]
1634
+ }, playId)
1635
+ })
1636
+ }), /* @__PURE__ */ jsx("div", {
1637
+ className: classes.content,
1638
+ children: /* @__PURE__ */ jsx(WorkflowContent, {
1639
+ selectedNode,
1640
+ workflow,
1641
+ reloadWorkflow: handleReloadWorkflow,
1642
+ users,
1643
+ groups
1644
+ })
1645
+ })]
1646
+ })
1647
+ });
1648
+ };
1649
+
1650
+ //#endregion
1651
+ export { CircularProgress$1 as CircularProgress, FluentTextFieldAutoComplete, LinearProgress$1 as LinearProgress, UnitStateType, WorkflowContainer, WorkflowContent, WorkflowTreeMenu, formatDateToLocaleString, toUtcDate, transformWorkflowPlayTree, useWorkflowStore };
1652
+ //# sourceMappingURL=WorkflowContainer-C2W0pr5f.js.map