udp-react-enterprise-component-library 1.0.5 → 1.0.6

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 (1549) hide show
  1. package/dist/AmbientGridTemplate-BLwgiqwK.js +3518 -0
  2. package/dist/AmbientGridTemplate-BLwgiqwK.js.map +1 -0
  3. package/dist/EnvironmentRibbon-BMvQEZPZ.js +1079 -0
  4. package/dist/EnvironmentRibbon-BMvQEZPZ.js.map +1 -0
  5. package/dist/MenuPage-DLsNc-P8.js +490 -0
  6. package/dist/MenuPage-DLsNc-P8.js.map +1 -0
  7. package/dist/MyExportsPage-BYH2Wl9k.js +678 -0
  8. package/dist/MyExportsPage-BYH2Wl9k.js.map +1 -0
  9. package/dist/MyExportsPage-CVUIXWTf.js +8 -0
  10. package/dist/PageContainer-B65gsUfF.js +1541 -0
  11. package/dist/PageContainer-B65gsUfF.js.map +1 -0
  12. package/dist/PageNotFoundRoute-BbBtA9Cz.js +3 -0
  13. package/dist/PageNotFoundRoute-CxYZNEhN.js +69 -0
  14. package/dist/PageNotFoundRoute-CxYZNEhN.js.map +1 -0
  15. package/dist/PasswordResetRedirect-BHnkAW40.js +72 -0
  16. package/dist/PasswordResetRedirect-BHnkAW40.js.map +1 -0
  17. package/dist/PasswordResetRedirect-tUV2yEkH.js +3 -0
  18. package/dist/SearchUtilities-dbXvMYoa.js +186 -0
  19. package/dist/SearchUtilities-dbXvMYoa.js.map +1 -0
  20. package/dist/SideSheet-CPHhyWLB.js +329 -0
  21. package/dist/SideSheet-CPHhyWLB.js.map +1 -0
  22. package/dist/UdpPublicForm-BrVSSMCN.js +4 -0
  23. package/dist/UdpPublicForm-DFCL1GzD.js +50 -0
  24. package/dist/UdpPublicForm-DFCL1GzD.js.map +1 -0
  25. package/dist/UtilitySideBar-B4r2IAv5.js +2020 -0
  26. package/dist/UtilitySideBar-B4r2IAv5.js.map +1 -0
  27. package/dist/VirtualBrowser-C_IJ0I6f.js +546 -0
  28. package/dist/VirtualBrowser-C_IJ0I6f.js.map +1 -0
  29. package/dist/WorkflowContainer-8-mmebY0.js +9 -0
  30. package/dist/WorkflowContainer-DKwRWi1i.js +1533 -0
  31. package/dist/WorkflowContainer-DKwRWi1i.js.map +1 -0
  32. package/dist/apiHelpers-t3rfkjFZ.js +249 -0
  33. package/dist/apiHelpers-t3rfkjFZ.js.map +1 -0
  34. package/dist/assets/images/phone.png +0 -0
  35. package/dist/assets/paymentIcons/american-logo.svg +71 -0
  36. package/dist/assets/paymentIcons/amex.svg +101 -0
  37. package/dist/assets/paymentIcons/diners.svg +1 -0
  38. package/dist/assets/paymentIcons/discover-logo.svg +1 -0
  39. package/dist/assets/paymentIcons/discover.svg +1 -0
  40. package/dist/assets/paymentIcons/echeck-logo.svg +6 -0
  41. package/dist/assets/paymentIcons/jcb.svg +64 -0
  42. package/dist/assets/paymentIcons/mastercard-logo.svg +11 -0
  43. package/dist/assets/paymentIcons/mastercard.svg +1 -0
  44. package/dist/assets/paymentIcons/unionpay.svg +9 -0
  45. package/dist/assets/paymentIcons/visa-logo.svg +76 -0
  46. package/dist/assets/paymentIcons/visa.svg +60 -0
  47. package/dist/assets/unityIcons/NoEntityOpened.svg +7 -0
  48. package/dist/assets/unityIcons/Sewer.svg +1 -0
  49. package/dist/assets/unityIcons/TruckIcon.svg +8 -0
  50. package/dist/assets/unityIcons/WaterDrop.svg +43 -0
  51. package/dist/componentSystems/pageRenderer/style/style.css +5 -0
  52. package/dist/index.js +44992 -0
  53. package/dist/index.js.map +1 -0
  54. package/dist/map-library/Map/Map.css +11 -0
  55. package/dist/maps/openLayerMaps/Map/Map.css +11 -0
  56. package/dist/propertyTypeEnums-DTGsK5-s.js +136 -0
  57. package/dist/propertyTypeEnums-DTGsK5-s.js.map +1 -0
  58. package/dist/stories/assets/code-brackets.svg +1 -0
  59. package/dist/stories/assets/colors.svg +1 -0
  60. package/dist/stories/assets/comments.svg +1 -0
  61. package/dist/stories/assets/direction.svg +1 -0
  62. package/dist/stories/assets/flow.svg +1 -0
  63. package/dist/stories/assets/plugin.svg +1 -0
  64. package/dist/stories/assets/repo.svg +1 -0
  65. package/dist/stories/assets/stackalt.svg +1 -0
  66. package/dist/stories/button.css +30 -0
  67. package/dist/stories/header.css +26 -0
  68. package/dist/stories/page.css +69 -0
  69. package/dist/style.css +49 -0
  70. package/dist/styles.module.css +9 -0
  71. package/dist/types/AGLicense.d.ts +1 -0
  72. package/dist/types/UI/AlertContainer.d.ts +1 -0
  73. package/dist/types/UI/Box.d.ts +2 -0
  74. package/dist/types/UI/Grid.d.ts +1 -0
  75. package/dist/types/UI/SuccessAction.d.ts +1 -0
  76. package/dist/types/UI/accordion/Accordion.d.ts +1 -0
  77. package/dist/types/UI/advancedSearchBuilder/UdpAdvancedSearchBuilder.d.ts +2 -0
  78. package/dist/types/UI/charts/InsightRenderer.d.ts +20 -0
  79. package/dist/types/UI/charts/UdpBarChart.d.ts +7 -0
  80. package/dist/types/UI/charts/UdpDonutChart.d.ts +8 -0
  81. package/dist/types/UI/charts/UdpLineChart.d.ts +7 -0
  82. package/dist/types/UI/charts/index.d.ts +6 -0
  83. package/dist/types/UI/components/dataDisplay/Ellipse.d.ts +8 -0
  84. package/dist/types/UI/components/dataDisplay/EmailDisplay.d.ts +1 -0
  85. package/dist/types/UI/components/dataDisplay/SmsDisplay.d.ts +1 -0
  86. package/dist/types/UI/components/dataDisplay/Sticky.d.ts +8 -0
  87. package/dist/types/UI/components/dataDisplay/Token.d.ts +13 -0
  88. package/dist/types/UI/components/feedback/Adornment.d.ts +6 -0
  89. package/dist/types/UI/containers/DynamicContainerWithMenu.d.ts +1 -0
  90. package/dist/types/UI/dataDisplay/AmbientList.d.ts +15 -0
  91. package/dist/types/UI/dataDisplay/AvatarAlphabet.d.ts +1 -0
  92. package/dist/types/UI/dataDisplay/ChipAlphabet.d.ts +6 -0
  93. package/dist/types/UI/dataDisplay/CompactDataList.d.ts +1 -0
  94. package/dist/types/UI/dataDisplay/CompactDataListItem.d.ts +1 -0
  95. package/dist/types/UI/dataDisplay/EmptyStateDisplay.d.ts +19 -0
  96. package/dist/types/UI/dataDisplay/FluentActivity/FluentActivity.d.ts +1 -0
  97. package/dist/types/UI/dataDisplay/FluentActivity/FluentActivityRow.d.ts +1 -0
  98. package/dist/types/UI/dataDisplay/FluentDataTable/FluentCell/index.d.ts +78 -0
  99. package/dist/types/UI/dataDisplay/FluentDataTable/FluentDataTable.d.ts +11 -0
  100. package/dist/types/UI/dataDisplay/FluentListElement.d.ts +8 -0
  101. package/dist/types/UI/dataDisplay/FluentListItem.d.ts +1 -0
  102. package/dist/types/UI/dataDisplay/GraphCard.d.ts +31 -0
  103. package/dist/types/UI/dataDisplay/HeaderExpander.d.ts +31 -0
  104. package/dist/types/UI/dataDisplay/HintPanel.d.ts +10 -0
  105. package/dist/types/UI/dataDisplay/StatusChip.d.ts +9 -0
  106. package/dist/types/UI/dataDisplay/StatusFlags.d.ts +31 -0
  107. package/dist/types/UI/dataDisplay/SummaryBlock.d.ts +30 -0
  108. package/dist/types/UI/dataDisplay/TimelineCalendar.d.ts +1 -0
  109. package/dist/types/UI/dataDisplay/address/AddressListItem.d.ts +3 -0
  110. package/dist/types/UI/dataDisplay/cardList/CardList.d.ts +40 -0
  111. package/dist/types/UI/dataDisplay/directory/Directory.d.ts +9 -0
  112. package/dist/types/UI/dataDisplay/directory/DirectoryListItem.d.ts +4 -0
  113. package/dist/types/UI/dataDisplay/entityHeader/EntityHeader.d.ts +13 -0
  114. package/dist/types/UI/dataDisplay/entityHeader/functions/groupSectionData.d.ts +1 -0
  115. package/dist/types/UI/dataDisplay/entityHeader/functions/useDivideArrayIntoGroups.d.ts +2 -0
  116. package/dist/types/UI/dataDisplay/entityHeader/functions/useElementWidth.d.ts +15 -0
  117. package/dist/types/UI/dataDisplay/entityHeader/ui/AlertPill.d.ts +47 -0
  118. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderContainer.d.ts +16 -0
  119. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderFlags.d.ts +4 -0
  120. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderList.d.ts +1 -0
  121. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderListItem.d.ts +1 -0
  122. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderSection.d.ts +16 -0
  123. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStatList.d.ts +1 -0
  124. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStatListItem.d.ts +1 -0
  125. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStats.d.ts +4 -0
  126. package/dist/types/UI/dataDisplay/map/ColorKey.d.ts +16 -0
  127. package/dist/types/UI/dataDisplay/map/IconKey.d.ts +16 -0
  128. package/dist/types/UI/dataDisplay/notes/Note.d.ts +7 -0
  129. package/dist/types/UI/dataDisplay/notes/Notes.d.ts +11 -0
  130. package/dist/types/UI/dataDisplay/ticketCard/NotificationElement.d.ts +11 -0
  131. package/dist/types/UI/dataDisplay/ticketCard/StatusLineItem.d.ts +31 -0
  132. package/dist/types/UI/dataDisplay/ticketCard/TicketCard.d.ts +39 -0
  133. package/dist/types/UI/dataDisplay/typography/FormHeaders.d.ts +2 -0
  134. package/dist/types/UI/dataDisplay/typography/SideSheetHeader.d.ts +4 -0
  135. package/dist/types/UI/dataDisplay/typography/SidebarHeader.d.ts +1 -0
  136. package/dist/types/UI/dataDisplay/typography/StandardTitle.d.ts +1 -0
  137. package/dist/types/UI/dataDisplay/typography/StylizedTitle.d.ts +24 -0
  138. package/dist/types/UI/dataDisplay/typography/Typography.d.ts +1 -0
  139. package/dist/types/UI/dataDisplay/visualization/AmbientVisualizer.d.ts +63 -0
  140. package/dist/types/UI/dataDisplay/visualization/GaugeGraph.d.ts +1 -0
  141. package/dist/types/UI/dataDisplay/visualization/RatioVisulization.d.ts +5 -0
  142. package/dist/types/UI/dataDisplay/visualization/amCharts/AmChart.d.ts +11 -0
  143. package/dist/types/UI/demos/InputsExample.d.ts +3 -0
  144. package/dist/types/UI/feedback/AmbientAlert.d.ts +12 -0
  145. package/dist/types/UI/feedback/AmbientToast.d.ts +1 -0
  146. package/dist/types/UI/feedback/FluentDialog.d.ts +1 -0
  147. package/dist/types/UI/feedback/NodeLoader.d.ts +4 -0
  148. package/dist/types/UI/feedback/PageLoading.d.ts +1 -0
  149. package/dist/types/UI/fileViewer/FileViewer.d.ts +1 -0
  150. package/dist/types/UI/fileViewer/imageSlider/Image.d.ts +1 -0
  151. package/dist/types/UI/fileViewer/imageSlider/ImageFooter.d.ts +1 -0
  152. package/dist/types/UI/fileViewer/imageSlider/ImageSlider.d.ts +1 -0
  153. package/dist/types/UI/fileViewer/imageSlider/ImageViewerSideSheet.d.ts +1 -0
  154. package/dist/types/UI/fileViewer/utils/fileTypes.d.ts +1 -0
  155. package/dist/types/UI/fileViewer/utils/fileUtils.d.ts +2 -0
  156. package/dist/types/UI/floorplans/CoreLayoutFloorplan.d.ts +189 -0
  157. package/dist/types/UI/forms/CrudForm.d.ts +29 -0
  158. package/dist/types/UI/forms/LoginForm.d.ts +1 -0
  159. package/dist/types/UI/forms/PaymentReversalForm.d.ts +5 -0
  160. package/dist/types/UI/forms/UdpCrudFormFields.d.ts +9 -0
  161. package/dist/types/UI/forms/VirtualForm.d.ts +17 -0
  162. package/dist/types/UI/iframe/Iframe.d.ts +1 -0
  163. package/dist/types/UI/inputs/buttons/AdvanceButton.d.ts +4 -0
  164. package/dist/types/UI/inputs/buttons/AmbientCardButton.d.ts +21 -0
  165. package/dist/types/UI/inputs/buttons/AmbientChipButton.d.ts +1 -0
  166. package/dist/types/UI/inputs/buttons/AmbientPopoverMenuItem.d.ts +5 -0
  167. package/dist/types/UI/inputs/buttons/AmbientToggleButton.d.ts +27 -0
  168. package/dist/types/UI/inputs/buttons/AmbientToggleButtonGroup.d.ts +2 -0
  169. package/dist/types/UI/inputs/buttons/AmbientToggleButtonGroupDefault.d.ts +63 -0
  170. package/dist/types/UI/inputs/buttons/AmbientTokenButton.d.ts +1 -0
  171. package/dist/types/UI/inputs/buttons/FUISquareIconButton.d.ts +5 -0
  172. package/dist/types/UI/inputs/buttons/FluentButton.d.ts +1 -0
  173. package/dist/types/UI/inputs/buttons/FluentCompoundButton.d.ts +1 -0
  174. package/dist/types/UI/inputs/buttons/FluentIconButton.d.ts +1 -0
  175. package/dist/types/UI/inputs/buttons/FluentMenuListButton.d.ts +9 -0
  176. package/dist/types/UI/inputs/buttons/FluentMenuListItem.d.ts +9 -0
  177. package/dist/types/UI/inputs/buttons/FluentUploadButton.d.ts +1 -0
  178. package/dist/types/UI/inputs/buttons/FluentUploadIconButton.d.ts +1 -0
  179. package/dist/types/UI/inputs/buttons/IconButtonWithToolTip.d.ts +12 -0
  180. package/dist/types/UI/inputs/buttons/PrimaryActionButton.d.ts +6 -0
  181. package/dist/types/UI/inputs/buttons/ToolBarButton.d.ts +11 -0
  182. package/dist/types/UI/inputs/calendar/AmbientDateRangeSelector.d.ts +3 -0
  183. package/dist/types/UI/inputs/calendar/AmbientSingleDateSelector.d.ts +3 -0
  184. package/dist/types/UI/inputs/checkbox/FluentCheckbox.d.ts +1 -0
  185. package/dist/types/UI/inputs/datetimes/DateField.d.ts +6 -0
  186. package/dist/types/UI/inputs/datetimes/DateTimeField.d.ts +4 -0
  187. package/dist/types/UI/inputs/datetimes/TimeField.d.ts +5 -0
  188. package/dist/types/UI/inputs/fieldArrayCard/AutocompleteFinalField.d.ts +3 -0
  189. package/dist/types/UI/inputs/fieldArrayCard/DateRangeField.d.ts +2 -0
  190. package/dist/types/UI/inputs/fieldArrayCard/FieldArrayCard.d.ts +1 -0
  191. package/dist/types/UI/inputs/fieldArrayCard/SearchSideSheet.d.ts +2 -0
  192. package/dist/types/UI/inputs/link/BreadCrumbMenu.d.ts +1 -0
  193. package/dist/types/UI/inputs/link/FluentLink.d.ts +1 -0
  194. package/dist/types/UI/inputs/menus/AmbientStepper/AmbientStepContent.d.ts +9 -0
  195. package/dist/types/UI/inputs/menus/AmbientStepper/AmbientStepper.d.ts +13 -0
  196. package/dist/types/UI/inputs/menus/AmbientStepper/StepLabel.d.ts +64 -0
  197. package/dist/types/UI/inputs/menus/FluentScrollLoadAutocompleteMenu.d.ts +109 -0
  198. package/dist/types/UI/inputs/menus/FluentSelectDirectoryMenu.d.ts +6 -0
  199. package/dist/types/UI/inputs/menus/FluentSelectGroupMenu.d.ts +7 -0
  200. package/dist/types/UI/inputs/menus/FluentSelectMenu-old.d.ts +1 -0
  201. package/dist/types/UI/inputs/menus/FluentSelectMenu.d.ts +9 -0
  202. package/dist/types/UI/inputs/menus/FluentSimpleSelect.d.ts +1 -0
  203. package/dist/types/UI/inputs/pickers/FluentColorPicker.d.ts +1 -0
  204. package/dist/types/UI/inputs/pickers/FluentDatePicker.d.ts +9 -0
  205. package/dist/types/UI/inputs/pickers/FluentDateTimePicker.d.ts +9 -0
  206. package/dist/types/UI/inputs/pickers/FluentTimePicker.d.ts +13 -0
  207. package/dist/types/UI/inputs/pickers/UdpDateSelector.d.ts +10 -0
  208. package/dist/types/UI/inputs/pickers/UdpTimeSelector.d.ts +14 -0
  209. package/dist/types/UI/inputs/radio/FluentRadio.d.ts +1 -0
  210. package/dist/types/UI/inputs/radio/FluentRadioGroup.d.ts +1 -0
  211. package/dist/types/UI/inputs/richEditors/CkRichEditor.d.ts +1 -0
  212. package/dist/types/UI/inputs/sliders/FluentInputSlider.d.ts +3 -0
  213. package/dist/types/UI/inputs/textField/AmbientAutoComplete.d.ts +1 -0
  214. package/dist/types/UI/inputs/textField/AmbientTextField.d.ts +21 -0
  215. package/dist/types/UI/inputs/textField/FluentSearchField.d.ts +1 -0
  216. package/dist/types/UI/inputs/textField/FluentTagField.d.ts +2 -0
  217. package/dist/types/UI/inputs/textField/FluentTextField.d.ts +2 -0
  218. package/dist/types/UI/inputs/textField/FluentTextFieldAutoComplete.d.ts +1 -0
  219. package/dist/types/UI/inputs/textField/KeyValueTextField.d.ts +1 -0
  220. package/dist/types/UI/inputs/toggle/FluentToggle.d.ts +1 -0
  221. package/dist/types/UI/loading/CircularProgress.d.ts +1 -0
  222. package/dist/types/UI/loading/LinearProgress.d.ts +1 -0
  223. package/dist/types/UI/loading/LoadingIndicator.d.ts +4 -0
  224. package/dist/types/UI/loading/LoadingOverlay.d.ts +4 -0
  225. package/dist/types/UI/mapLayout/MapLayout.d.ts +1 -0
  226. package/dist/types/UI/mapLayout/ui/ActionsRenderer.d.ts +2 -0
  227. package/dist/types/UI/mapLayout/ui/CheckboxGroup.d.ts +1 -0
  228. package/dist/types/UI/mapLayout/ui/CheckboxList.d.ts +1 -0
  229. package/dist/types/UI/mapLayout/ui/CompactCard.d.ts +1 -0
  230. package/dist/types/UI/mapLayout/ui/ListCard.d.ts +9 -0
  231. package/dist/types/UI/mapLayout/ui/ListView.d.ts +2 -0
  232. package/dist/types/UI/mapLayout/ui/MapLayoutToolbar.d.ts +2 -0
  233. package/dist/types/UI/mapLayout/ui/PopoverCard.d.ts +1 -0
  234. package/dist/types/UI/mapLayout/ui/PopoverOverlay.d.ts +2 -0
  235. package/dist/types/UI/mapLayout/ui/Statistic.d.ts +1 -0
  236. package/dist/types/UI/mapLayout/utilities/MapUtilities.d.ts +12 -0
  237. package/dist/types/UI/maps/UdpMap.d.ts +120 -0
  238. package/dist/types/UI/maps/UdpMapComponent.d.ts +128 -0
  239. package/dist/types/UI/maps/UdpMapToolbar.d.ts +87 -0
  240. package/dist/types/UI/navigation/FluentSideNav.d.ts +1 -0
  241. package/dist/types/UI/navigation/menus/AppMenu.d.ts +6 -0
  242. package/dist/types/UI/navigation/menus/AppMenuItem.d.ts +25 -0
  243. package/dist/types/UI/navigation/menus/AppMenuItemComponent.d.ts +1 -0
  244. package/dist/types/UI/navigation/menus/Expander.d.ts +1 -0
  245. package/dist/types/UI/navigation/menus/ExpanderItem.d.ts +4 -0
  246. package/dist/types/UI/navigation/menus/FluentMenuListItem.d.ts +5 -0
  247. package/dist/types/UI/navigation/tabs/UdpTabPanel.d.ts +1 -0
  248. package/dist/types/UI/navigation/tabs/UdpTabUtility.d.ts +1 -0
  249. package/dist/types/UI/navigation/tabs/UdpTabs.d.ts +1 -0
  250. package/dist/types/UI/navigation/tabs/defaultTabs/FluentSimpleTab.d.ts +1 -0
  251. package/dist/types/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.d.ts +1 -0
  252. package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabPanel.d.ts +8 -0
  253. package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabPanels.d.ts +17 -0
  254. package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabUtility.d.ts +1 -0
  255. package/dist/types/UI/property/PropertyFields.d.ts +16 -0
  256. package/dist/types/UI/property/widgets/AutoCompletePropertyWidget.d.ts +7 -0
  257. package/dist/types/UI/property/widgets/BooleanPropertyWidget.d.ts +7 -0
  258. package/dist/types/UI/property/widgets/DatePropertyWidget.d.ts +7 -0
  259. package/dist/types/UI/property/widgets/DateTimePropertyWidget.d.ts +7 -0
  260. package/dist/types/UI/property/widgets/FloatPropertyWidget.d.ts +7 -0
  261. package/dist/types/UI/property/widgets/IntegerPropertyWidget.d.ts +7 -0
  262. package/dist/types/UI/property/widgets/MultilineTextPropertyWidget.d.ts +7 -0
  263. package/dist/types/UI/property/widgets/NumericPropertyWidget.d.ts +7 -0
  264. package/dist/types/UI/property/widgets/SelectPropertyWidget.d.ts +7 -0
  265. package/dist/types/UI/property/widgets/TextPropertyWidget.d.ts +11 -0
  266. package/dist/types/UI/property/widgets/TimePropertyWidget.d.ts +7 -0
  267. package/dist/types/UI/property/widgets/index.d.ts +15 -0
  268. package/dist/types/UI/stepper/udp-stepper.d.ts +3 -0
  269. package/dist/types/UI/support/SupportCaseForm.d.ts +6 -0
  270. package/dist/types/UI/support/SupportCaseSideSheet.d.ts +9 -0
  271. package/dist/types/UI/surfaces/NestedGrid/NestedGrid.d.ts +18 -0
  272. package/dist/types/UI/surfaces/NestedGrid/ui/ExpandRenderer.d.ts +5 -0
  273. package/dist/types/UI/surfaces/SideSheet.d.ts +60 -0
  274. package/dist/types/UI/surfaces/cards/AmbientCard.d.ts +1 -0
  275. package/dist/types/UI/surfaces/cards/AmbientCardTitle.d.ts +32 -0
  276. package/dist/types/UI/surfaces/cards/AmbientVisualizationCard.d.ts +10 -0
  277. package/dist/types/UI/surfaces/cards/BioCard.d.ts +10 -0
  278. package/dist/types/UI/surfaces/cards/ContentDisplayCard.d.ts +19 -0
  279. package/dist/types/UI/surfaces/cards/FUICard.d.ts +4 -0
  280. package/dist/types/UI/surfaces/cards/FluentCard.d.ts +4 -0
  281. package/dist/types/UI/surfaces/cards/FluentCardActions.d.ts +4 -0
  282. package/dist/types/UI/surfaces/cards/FluentCardContent.d.ts +4 -0
  283. package/dist/types/UI/surfaces/cards/FluentCardHeader.d.ts +4 -0
  284. package/dist/types/UI/surfaces/cards/FluentCardText.d.ts +1 -0
  285. package/dist/types/UI/surfaces/cards/InfoCard.d.ts +54 -0
  286. package/dist/types/UI/surfaces/cards/QuickViewCard.d.ts +14 -0
  287. package/dist/types/UI/surfaces/cards/newsCard/NewsCard.d.ts +34 -0
  288. package/dist/types/UI/surfaces/cards/workOrderCard/WorkOrderCard.d.ts +12 -0
  289. package/dist/types/UI/surfaces/cards/workOrderCard/WorkOrderHeader.d.ts +4 -0
  290. package/dist/types/UI/templates/AmbientGridTemplate.d.ts +122 -0
  291. package/dist/types/UI/templates/DraggableSidebarTemplate.d.ts +1 -0
  292. package/dist/types/UI/templates/OpenPage.d.ts +4 -0
  293. package/dist/types/UI/templates/SapFlexibleTemplate.d.ts +5 -0
  294. package/dist/types/UI/templates/ToggleSection.d.ts +31 -0
  295. package/dist/types/UI/templates/UdpCalendar.d.ts +1 -0
  296. package/dist/types/UI/templates/UdpCalendarDayView.d.ts +1 -0
  297. package/dist/types/UI/templates/UdpCalendarMonthView.d.ts +1 -0
  298. package/dist/types/UI/templates/UdpCalendarWeekView.d.ts +1 -0
  299. package/dist/types/UI/templates/UdpCalendarYearView.d.ts +1 -0
  300. package/dist/types/UI/templates/UdpGridTemplate.d.ts +1 -0
  301. package/dist/types/UI/templates/newGrid/ApiMethodInstanceUdpGrid.d.ts +1 -0
  302. package/dist/types/UI/templates/newGrid/ApiMethodUdpGrid.d.ts +1 -0
  303. package/dist/types/UI/templates/newGrid/BackwardsCompatibleGrid.d.ts +5 -0
  304. package/dist/types/UI/templates/newGrid/ClientSideUdpGrid.d.ts +1 -0
  305. package/dist/types/UI/templates/newGrid/EntityMaintenanceUdpGrid.d.ts +2 -0
  306. package/dist/types/UI/templates/newGrid/ServerSideUdpGrid.d.ts +1 -0
  307. package/dist/types/UI/templates/ui/ExtenderToggle.d.ts +17 -0
  308. package/dist/types/UI/templates/ui/GridGroupingHeader.d.ts +16 -0
  309. package/dist/types/UI/templates/ui/GridGroupingSidebar.d.ts +37 -0
  310. package/dist/types/UI/templates/ui/GridSidebarContainer.d.ts +10 -0
  311. package/dist/types/UI/templates/ui/TokenGroupItem.d.ts +24 -0
  312. package/dist/types/UI/templates/ui/renderers/ActionsRenderer.d.ts +1 -0
  313. package/dist/types/UI/templates/ui/renderers/IconRenderer.d.ts +4 -0
  314. package/dist/types/UI/templates/ui/renderers/StatusCellRenderer.d.ts +1 -0
  315. package/dist/types/UI/timeline/ExtendActions.d.ts +2 -0
  316. package/dist/types/UI/timeline/ExtendedHeader.d.ts +2 -0
  317. package/dist/types/UI/timeline/TimeEntryStates.d.ts +1 -0
  318. package/dist/types/UI/timeline/TimeLine.d.ts +6 -0
  319. package/dist/types/UI/timeline/TimelineElement.d.ts +2 -0
  320. package/dist/types/UI/timeline/UdpTimeline.d.ts +1 -0
  321. package/dist/types/UI/timeline/UdpTimelineContent.d.ts +1 -0
  322. package/dist/types/UI/timeline/UdpTimelineDot.d.ts +1 -0
  323. package/dist/types/UI/timeline/UdpTimelineItem.d.ts +1 -0
  324. package/dist/types/UI/timeline/UdpTimelineItemConnector.d.ts +1 -0
  325. package/dist/types/UI/timeline/UdpTimelineItemSeparator.d.ts +1 -0
  326. package/dist/types/UI/timeline/fluentTimeline/FluentTimeline.d.ts +1 -0
  327. package/dist/types/UI/timeline/fluentTimeline/FluentTimelineContent.d.ts +1 -0
  328. package/dist/types/UI/timeline/fluentTimeline/FluentTimelineHeader.d.ts +1 -0
  329. package/dist/types/UI/utilityDisplay/AggregateChip.d.ts +13 -0
  330. package/dist/types/UI/utilityDisplay/BulkActionsGridButton.d.ts +1 -0
  331. package/dist/types/UI/utilityDisplay/ChipSection.d.ts +41 -0
  332. package/dist/types/UI/utilityDisplay/Divider.d.ts +1 -0
  333. package/dist/types/UI/utilityDisplay/FormControl.d.ts +1 -0
  334. package/dist/types/UI/utilityDisplay/FormControlLabel.d.ts +1 -0
  335. package/dist/types/UI/utilityDisplay/GridActionBar.d.ts +37 -0
  336. package/dist/types/UI/utilityDisplay/GridPrimaryBar.d.ts +83 -0
  337. package/dist/types/UI/utilityDisplay/GridViewsSideSheet.d.ts +17 -0
  338. package/dist/types/UI/utilityDisplay/IndicatorChip.d.ts +1 -0
  339. package/dist/types/UI/utilityDisplay/InputAdornment.d.ts +1 -0
  340. package/dist/types/UI/utilityDisplay/SaveViewFormDialog.d.ts +4 -0
  341. package/dist/types/UI/utilityDisplay/UtilityBar.d.ts +1 -0
  342. package/dist/types/UI/utilityDisplay/UtilitySideBar.d.ts +1 -0
  343. package/dist/types/UI/utilityDisplay/alerts/UdpAlert.d.ts +9 -0
  344. package/dist/types/UI/utilityDisplay/alerts/UdpAlertsContainer.d.ts +1 -0
  345. package/dist/types/UI/utilityDisplay/ui/UtilitySearch.d.ts +5 -0
  346. package/dist/types/UI/utilityDisplay/utilities/aggregateUtils.d.ts +1 -0
  347. package/dist/types/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.d.ts +148 -0
  348. package/dist/types/UI/utilityDisplay/utilityHeader/UtilityTabHeader.d.ts +6 -0
  349. package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.d.ts +4 -0
  350. package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.d.ts +4 -0
  351. package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHExport.d.ts +5 -0
  352. package/dist/types/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.d.ts +8 -0
  353. package/dist/types/UI/utilityDisplay/utilityHeader/ui/teleporter.d.ts +1 -0
  354. package/dist/types/UI/widgets/FluentComponents/ChartSummaryToggle.d.ts +2 -0
  355. package/dist/types/UI/widgets/FluentComponents/SimpleTable.d.ts +2 -0
  356. package/dist/types/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.d.ts +2 -0
  357. package/dist/types/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.d.ts +2 -0
  358. package/dist/types/UI/widgets/FluentComponents/atoms/FluentTrendArrow.d.ts +2 -0
  359. package/dist/types/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.d.ts +2 -0
  360. package/dist/types/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.d.ts +2 -0
  361. package/dist/types/UI/widgets/FluentComponents/molecules/FluentStatNumber.d.ts +2 -0
  362. package/dist/types/UI/widgets/FluentComponents/molecules/FluentTimeline.d.ts +2 -0
  363. package/dist/types/UI/widgets/ItemsWidgetCard.d.ts +46 -0
  364. package/dist/types/UI/widgets/WidgetCard.d.ts +5 -0
  365. package/dist/types/UI/widgets/library/BarChartWidget.d.ts +19 -0
  366. package/dist/types/UI/widgets/library/BubbleWidget.d.ts +19 -0
  367. package/dist/types/UI/widgets/library/CircleGaugeWidget.d.ts +19 -0
  368. package/dist/types/UI/widgets/library/DateTrendWidget.d.ts +14 -0
  369. package/dist/types/UI/widgets/library/DensePlotWidget.d.ts +19 -0
  370. package/dist/types/UI/widgets/library/DonutChartWidget.d.ts +14 -0
  371. package/dist/types/UI/widgets/library/GaugeWidget.d.ts +23 -0
  372. package/dist/types/UI/widgets/library/LineAndSparklinesWidget.d.ts +14 -0
  373. package/dist/types/UI/widgets/library/LineGraphWidget.d.ts +19 -0
  374. package/dist/types/UI/widgets/library/ProgressBarWidget.d.ts +14 -0
  375. package/dist/types/UI/widgets/library/RecentlyLoadedNodesWidget.d.ts +7 -0
  376. package/dist/types/UI/widgets/library/RemindersWidget.d.ts +3 -0
  377. package/dist/types/UI/widgets/library/SparklineWidget.d.ts +14 -0
  378. package/dist/types/UI/widgets/library/SparsePlotWidget.d.ts +19 -0
  379. package/dist/types/UI/widgets/library/TableWidget.d.ts +14 -0
  380. package/dist/types/UI/widgets/utils/ConvertISODate.d.ts +1 -0
  381. package/dist/types/UI/widgets/utils/NumberVisualization.d.ts +2 -0
  382. package/dist/types/UI/widgets/utils/dateUtils.d.ts +3 -0
  383. package/dist/types/actions/ActionForm.d.ts +29 -0
  384. package/dist/types/actions/ActionModal.d.ts +1 -0
  385. package/dist/types/actions/ActionPanelPlacement.d.ts +17 -0
  386. package/dist/types/actions/ActionSideSheet.d.ts +33 -0
  387. package/dist/types/actions/ActionSpeedDial.d.ts +13 -0
  388. package/dist/types/actions/ActionSplitScreen.d.ts +14 -0
  389. package/dist/types/actions/ActionWrapper.d.ts +12 -0
  390. package/dist/types/actions/PageActionWrapper.d.ts +1 -0
  391. package/dist/types/actions/actionSummary/ActionSummaryHeader.d.ts +8 -0
  392. package/dist/types/actions/actionSummary/ActionSummaryListItem.d.ts +10 -0
  393. package/dist/types/actions/actionSummary/ActionSummaryPopover.d.ts +17 -0
  394. package/dist/types/actions/sidebar/EntitySideBarContent.d.ts +1 -0
  395. package/dist/types/actions/utils/actionUtils.d.ts +3 -0
  396. package/dist/types/assets/unityIcons/LibraryData.d.ts +9 -0
  397. package/dist/types/chatBot/ChatContainer.d.ts +1 -0
  398. package/dist/types/chatBot/ChatMessage.d.ts +1 -0
  399. package/dist/types/componentSystems/multiThreadTimeline/functions/mttFunctions.d.ts +8 -0
  400. package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.d.ts +4 -0
  401. package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.d.ts +1 -0
  402. package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/MttTimeline.d.ts +3 -0
  403. package/dist/types/componentSystems/multiThreadTimeline/mttSummary/MttSummary.d.ts +6 -0
  404. package/dist/types/componentSystems/multiThreadTimeline/timeline.d.ts +26 -0
  405. package/dist/types/componentSystems/multiThreadTimeline/ui/CircleButton.d.ts +6 -0
  406. package/dist/types/componentSystems/multiThreadTimeline/ui/DateWrapper.d.ts +14 -0
  407. package/dist/types/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.d.ts +1 -0
  408. package/dist/types/componentSystems/multiThreadTimeline/ui/MttYearTag.d.ts +8 -0
  409. package/dist/types/componentSystems/multiThreadTimeline/ui/MultiDot.d.ts +9 -0
  410. package/dist/types/componentSystems/multiThreadTimeline/ui/SummaryToken.d.ts +18 -0
  411. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineDateBar.d.ts +13 -0
  412. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineDot.d.ts +9 -0
  413. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.d.ts +9 -0
  414. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineNode.d.ts +2 -0
  415. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.d.ts +10 -0
  416. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineStatus.d.ts +6 -0
  417. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.d.ts +20 -0
  418. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.d.ts +22 -0
  419. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.d.ts +16 -0
  420. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineWrapper.d.ts +11 -0
  421. package/dist/types/componentSystems/multiThreadTimeline/ui/VisualizationDot.d.ts +11 -0
  422. package/dist/types/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.d.ts +18 -0
  423. package/dist/types/componentSystems/pageRenderer/PageRenderer.d.ts +9 -0
  424. package/dist/types/componentSystems/pageRenderer/hocs/withEngineComponent.d.ts +1 -0
  425. package/dist/types/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +34 -0
  426. package/dist/types/componentSystems/pageRenderer/utils/TableColumnDefs.d.ts +9 -0
  427. package/dist/types/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.d.ts +13 -0
  428. package/dist/types/componentSystems/pageRenderer/wrappers/BarChartWrapper.d.ts +7 -0
  429. package/dist/types/componentSystems/pageRenderer/wrappers/BioCardWrapper.d.ts +1 -0
  430. package/dist/types/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.d.ts +1 -0
  431. package/dist/types/componentSystems/pageRenderer/wrappers/DonutWrapper.d.ts +7 -0
  432. package/dist/types/componentSystems/pageRenderer/wrappers/HistogramWrapper.d.ts +1 -0
  433. package/dist/types/componentSystems/pageRenderer/wrappers/LineGraphWrapper.d.ts +1 -0
  434. package/dist/types/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.d.ts +1 -0
  435. package/dist/types/constants/reminderConstants.d.ts +4 -0
  436. package/dist/types/containers/IframeContainer.d.ts +1 -0
  437. package/dist/types/contexts/ActionContext.d.ts +1 -0
  438. package/dist/types/contexts/ActionDispatchContext.d.ts +1 -0
  439. package/dist/types/contexts/ActionLoadingContext.d.ts +1 -0
  440. package/dist/types/contexts/ActionLoadingDispatchContext.d.ts +1 -0
  441. package/dist/types/contexts/usePageContext.d.ts +1 -0
  442. package/dist/types/dashboard/DashboardCardGrid.d.ts +7 -0
  443. package/dist/types/dashboard/WidgetCard.d.ts +4 -0
  444. package/dist/types/dataBrowser/DataBrowserColumnDefs.d.ts +9 -0
  445. package/dist/types/dataBrowser/DataBrowserContainer.d.ts +1 -0
  446. package/dist/types/dataBrowser/forms/ParamsMappingFields.d.ts +1 -0
  447. package/dist/types/dataBrowser/forms/ParamsMappingForm.d.ts +1 -0
  448. package/dist/types/dataBrowser/forms/RequiredFieldsMappingField.d.ts +1 -0
  449. package/dist/types/dataBrowser/forms/RequiredFieldsMappingForm.d.ts +1 -0
  450. package/dist/types/diffChecker/DiffChecker.d.ts +6 -0
  451. package/dist/types/enums/InputFieldTypeEnums.d.ts +9 -0
  452. package/dist/types/hooks/crudActions.d.ts +5 -0
  453. package/dist/types/hooks/useActions.d.ts +17 -0
  454. package/dist/types/hooks/useApiCatalog.d.ts +6 -0
  455. package/dist/types/hooks/useDateLocale.d.ts +7 -0
  456. package/dist/types/hooks/useDynamicListCalculation.d.ts +20 -0
  457. package/dist/types/hooks/useFluentIcon.d.ts +3 -0
  458. package/dist/types/hooks/useItemSubCard.d.ts +10 -0
  459. package/dist/types/hooks/useOutlook.d.ts +6 -0
  460. package/dist/types/hooks/useProductVersion.d.ts +1 -0
  461. package/dist/types/hooks/usePromotedLookupMethods.d.ts +5 -0
  462. package/dist/types/hooks/usePromotedMethodEntity.d.ts +5 -0
  463. package/dist/types/hooks/useQueryExecutors.d.ts +23 -0
  464. package/dist/types/hooks/useSearchFilterParamsMap.d.ts +6 -0
  465. package/dist/types/hooks/useSetLocationState.d.ts +1 -0
  466. package/dist/types/hooks/useSplitDecimal.d.ts +8 -0
  467. package/dist/types/hooks/useUpdateSearchParams.d.ts +1 -0
  468. package/dist/types/hooks/useWorkflow.d.ts +3 -0
  469. package/dist/types/hooks/virtualActions.d.ts +3 -0
  470. package/dist/types/index.d.ts +444 -0
  471. package/dist/types/inquiry/AlertFlag.d.ts +4 -0
  472. package/dist/types/inquiry/AmbientListItem.d.ts +4 -0
  473. package/dist/types/inquiry/AmbientSplitStatCard.d.ts +4 -0
  474. package/dist/types/inquiry/AmbientSummaryListHeader.d.ts +4 -0
  475. package/dist/types/inquiry/EmbeddedInquiry.d.ts +2 -0
  476. package/dist/types/inquiry/ExecuteApiDialog.d.ts +1 -0
  477. package/dist/types/inquiry/FilterSearch.d.ts +3 -0
  478. package/dist/types/inquiry/FlagBlock.d.ts +4 -0
  479. package/dist/types/inquiry/Inquiry.d.ts +29 -0
  480. package/dist/types/inquiry/InquiryContainer.d.ts +28 -0
  481. package/dist/types/inquiry/InquiryTreeMenu.d.ts +1 -0
  482. package/dist/types/inquiry/InquiryTreeMenuItem.d.ts +1 -0
  483. package/dist/types/inquiry/InquiryWrapper.d.ts +1 -0
  484. package/dist/types/inquiry/ItemDescription.d.ts +4 -0
  485. package/dist/types/inquiry/NodeColumnHeader.d.ts +5 -0
  486. package/dist/types/inquiry/NodeDetails.d.ts +1 -0
  487. package/dist/types/inquiry/NodeList.d.ts +1 -0
  488. package/dist/types/inquiry/ToggleButton.d.ts +4 -0
  489. package/dist/types/inquiry/dashboard/InquiryDashboard.d.ts +1 -0
  490. package/dist/types/inquiry/dashboard/RecentlyLoadedNodesTable.d.ts +1 -0
  491. package/dist/types/inquiry/inquiryBar/InquiryControlList.d.ts +11 -0
  492. package/dist/types/inquiry/inquiryBar/InquiryNodeControls.d.ts +1 -0
  493. package/dist/types/inquiry/search/InquiryAdvancedSearch.d.ts +1 -0
  494. package/dist/types/inquiry/search/InquiryAdvancedSearchForm.d.ts +1 -0
  495. package/dist/types/inquiry/search/InquirySearchContainer.d.ts +1 -0
  496. package/dist/types/inquiry/search/InquirySearchDatasource.d.ts +4 -0
  497. package/dist/types/inquiry/search/InquirySearchTable.d.ts +1 -0
  498. package/dist/types/layout/GridGroup.d.ts +10 -0
  499. package/dist/types/layout/GridRow.d.ts +5 -0
  500. package/dist/types/layout/GridUnit.d.ts +1 -0
  501. package/dist/types/layout/HeaderLayout.d.ts +3 -0
  502. package/dist/types/layout/LayoutUnit.d.ts +2 -0
  503. package/dist/types/layout/getRatio.d.ts +1 -0
  504. package/dist/types/layout/templates/SideBarTemplate.d.ts +4 -0
  505. package/dist/types/maintenanceEngine/crudBrowser/CrudBrowserContainer.d.ts +1 -0
  506. package/dist/types/maintenanceEngine/crudBrowser/CrudTableActionRender.d.ts +2 -0
  507. package/dist/types/maintenanceEngine/crudBrowser/CrudTableColumnDefs.d.ts +9 -0
  508. package/dist/types/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts +29 -0
  509. package/dist/types/maintenanceEngine/entityAttributeActions.d.ts +1 -0
  510. package/dist/types/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +46 -0
  511. package/dist/types/maintenanceEngine/tableBrowser/TableContainer.d.ts +1 -0
  512. package/dist/types/maintenanceEngine/virtualBrowser/VirtualBrowser.d.ts +1 -0
  513. package/dist/types/maintenanceEngine/virtualBrowser/VirtualTableColumnDefs.d.ts +9 -0
  514. package/dist/types/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.d.ts +25 -0
  515. package/dist/types/map-library/Controls/Controls.d.ts +3 -0
  516. package/dist/types/map-library/Controls/CustomControl.d.ts +9 -0
  517. package/dist/types/map-library/Controls/FullScreenControl.d.ts +1 -0
  518. package/dist/types/map-library/Controls/ZoomControl.d.ts +1 -0
  519. package/dist/types/map-library/Controls/index.d.ts +5 -0
  520. package/dist/types/map-library/Layers/ImageLayer.d.ts +4 -0
  521. package/dist/types/map-library/Layers/Layers.d.ts +3 -0
  522. package/dist/types/map-library/Layers/TileLayer.d.ts +4 -0
  523. package/dist/types/map-library/Layers/VectorLayer.d.ts +6 -0
  524. package/dist/types/map-library/Layers/index.d.ts +5 -0
  525. package/dist/types/map-library/Map/Map.d.ts +23 -0
  526. package/dist/types/map-library/Map/MapContext.d.ts +2 -0
  527. package/dist/types/map-library/Source/index.d.ts +4 -0
  528. package/dist/types/map-library/Source/osm.d.ts +3 -0
  529. package/dist/types/map-library/Source/vector.d.ts +9 -0
  530. package/dist/types/map-library/Source/xyz.d.ts +7 -0
  531. package/dist/types/map-library/functions/mapFunctions.d.ts +2 -0
  532. package/dist/types/map-library/geoLocation/FreeFormField.d.ts +1 -0
  533. package/dist/types/map-library/geoLocation/GeoLocation.d.ts +3 -0
  534. package/dist/types/map-library/ui/ControlZoom.d.ts +2 -0
  535. package/dist/types/map-library/ui/Filter.d.ts +2 -0
  536. package/dist/types/map-library/ui/FilterOptions.d.ts +2 -0
  537. package/dist/types/map-library/ui/LocationPin.d.ts +2 -0
  538. package/dist/types/map-library/ui/MapControls.d.ts +2 -0
  539. package/dist/types/map-library/ui/MapControlsStandard.d.ts +2 -0
  540. package/dist/types/map-library/ui/MapFilterBar.d.ts +1 -0
  541. package/dist/types/map-library/ui/MapSheet.d.ts +1 -0
  542. package/dist/types/map-library/ui/Position.d.ts +2 -0
  543. package/dist/types/map-library/ui/TileDisplay.d.ts +1 -0
  544. package/dist/types/map-library/ui/ToggleViewType.d.ts +2 -0
  545. package/dist/types/maps/GeoMap.d.ts +3 -0
  546. package/dist/types/maps/leafletMaps/FluentImageMap.d.ts +13 -0
  547. package/dist/types/maps/leafletMaps/FluentMap.d.ts +26 -0
  548. package/dist/types/maps/leafletMaps/ui/MapContent.d.ts +13 -0
  549. package/dist/types/maps/leafletMaps/ui/MapMarker.d.ts +1 -0
  550. package/dist/types/maps/openLayerMaps/Controls/Controls.d.ts +4 -0
  551. package/dist/types/maps/openLayerMaps/Controls/FullScreenControl.d.ts +2 -0
  552. package/dist/types/maps/openLayerMaps/Controls/index.d.ts +3 -0
  553. package/dist/types/maps/openLayerMaps/Layers/ImageLayer.d.ts +4 -0
  554. package/dist/types/maps/openLayerMaps/Layers/Layers.d.ts +3 -0
  555. package/dist/types/maps/openLayerMaps/Layers/TileLayer.d.ts +4 -0
  556. package/dist/types/maps/openLayerMaps/Layers/VectorLayer.d.ts +5 -0
  557. package/dist/types/maps/openLayerMaps/Map/Map.d.ts +7 -0
  558. package/dist/types/maps/openLayerMaps/Map/MapContext.d.ts +2 -0
  559. package/dist/types/maps/openLayerMaps/Map/index.d.ts +1 -0
  560. package/dist/types/maps/openLayerMaps/Source/index.d.ts +4 -0
  561. package/dist/types/maps/openLayerMaps/Source/osm.d.ts +3 -0
  562. package/dist/types/maps/openLayerMaps/Source/vector.d.ts +9 -0
  563. package/dist/types/maps/openLayerMaps/Source/xyz.d.ts +7 -0
  564. package/dist/types/maps/openLayerMaps/ui/ControlZoom.d.ts +2 -0
  565. package/dist/types/maps/openLayerMaps/ui/Filter.d.ts +2 -0
  566. package/dist/types/maps/openLayerMaps/ui/LocationPin.d.ts +2 -0
  567. package/dist/types/maps/openLayerMaps/ui/MapControls.d.ts +2 -0
  568. package/dist/types/maps/openLayerMaps/ui/MapControlsStandard.d.ts +2 -0
  569. package/dist/types/maps/openLayerMaps/ui/Position.d.ts +2 -0
  570. package/dist/types/maps/openLayerMaps/ui/ToggleViewType.d.ts +2 -0
  571. package/dist/types/menuPage/MenuPage.d.ts +1 -0
  572. package/dist/types/notes/NotesScreen.d.ts +1 -0
  573. package/dist/types/page/Page.d.ts +2 -0
  574. package/dist/types/page/PageContainer.d.ts +1 -0
  575. package/dist/types/page/PageContent.d.ts +4 -0
  576. package/dist/types/page/PageHeader.d.ts +6 -0
  577. package/dist/types/page/PageSectionHeader.d.ts +1 -0
  578. package/dist/types/page/PageSectionSpacer.d.ts +4 -0
  579. package/dist/types/reminders/CompleteReminderSwitch.d.ts +1 -0
  580. package/dist/types/reminders/RemindersCard.d.ts +1 -0
  581. package/dist/types/reminders/RemindersScreen.d.ts +1 -0
  582. package/dist/types/reports/PowerBIReport.d.ts +1 -0
  583. package/dist/types/routes/PrivateRoute.d.ts +3 -0
  584. package/dist/types/routes/UdpRoutes.d.ts +1 -0
  585. package/dist/types/routes/components/PageForbiddenRoute.d.ts +1 -0
  586. package/dist/types/routes/components/PageNotFoundRoute.d.ts +1 -0
  587. package/dist/types/routes/components/PageStatus.d.ts +1 -0
  588. package/dist/types/routes/components/PasswordResetRedirect.d.ts +1 -0
  589. package/dist/types/shell/Shell.d.ts +73 -0
  590. package/dist/types/shell/ui/AmbientProjectSwitcher.d.ts +17 -0
  591. package/dist/types/shell/ui/EnvironmentRibbon.d.ts +3 -0
  592. package/dist/types/shell/ui/FluentProfileMenuCard.d.ts +1 -0
  593. package/dist/types/shell/ui/HelpCenter.d.ts +1 -0
  594. package/dist/types/shell/ui/LanguageSwitcher.d.ts +1 -0
  595. package/dist/types/shell/ui/MiniCollapsibleSidebar.d.ts +2 -0
  596. package/dist/types/shell/ui/NavigationSidebar.d.ts +2 -0
  597. package/dist/types/shell/ui/SidebarCollapseButton.d.ts +4 -0
  598. package/dist/types/shell/ui/SidebarListItem.d.ts +5 -0
  599. package/dist/types/shell/ui/SiteHeader.d.ts +17 -0
  600. package/dist/types/shell/ui/SiteHeaderRightComponent.d.ts +9 -0
  601. package/dist/types/shell/ui/UserAvatar.d.ts +9 -0
  602. package/dist/types/shell/ui/addUser/PasswordValidator.d.ts +10 -0
  603. package/dist/types/shell/ui/addUser/UserForm.d.ts +2 -0
  604. package/dist/types/shell/ui/addUser/UserFormFields.d.ts +2 -0
  605. package/dist/types/shell/ui/addUser/UserFormSideSheet.d.ts +5 -0
  606. package/dist/types/shell/ui/appSwitcher/FUIAppHeader.d.ts +2 -0
  607. package/dist/types/shell/ui/appSwitcher/FUIAppList.d.ts +2 -0
  608. package/dist/types/shell/ui/appSwitcher/FUIAppListItem.d.ts +2 -0
  609. package/dist/types/shell/ui/appSwitcher/FUIAppSwitcher.d.ts +2 -0
  610. package/dist/types/shell/ui/appSwitcher/ProductAppList.d.ts +2 -0
  611. package/dist/types/shell/ui/appSwitcher/ProductAppListItem.d.ts +2 -0
  612. package/dist/types/shell/ui/appSwitcher/UnityApps.d.ts +2 -0
  613. package/dist/types/stores/actionStore.d.ts +12 -0
  614. package/dist/types/stores/catalogStore.d.ts +10 -0
  615. package/dist/types/stores/inquiryStore.d.ts +21 -0
  616. package/dist/types/stores/lookupsStore.d.ts +8 -0
  617. package/dist/types/stores/shellStore.d.ts +21 -0
  618. package/dist/types/stores/teleporterStore.d.ts +13 -0
  619. package/dist/types/stores/tenantStore.d.ts +12 -0
  620. package/dist/types/stores/workflowStore.d.ts +15 -0
  621. package/dist/types/stories/Button.d.ts +41 -0
  622. package/dist/types/stories/Button.stories.d.ts +35 -0
  623. package/dist/types/stories/Header.d.ts +18 -0
  624. package/dist/types/stories/Header.stories.d.ts +23 -0
  625. package/dist/types/stories/Page.d.ts +18 -0
  626. package/dist/types/stories/Page.stories.d.ts +23 -0
  627. package/dist/types/treeMenu/BaseTreeMenu.d.ts +1 -0
  628. package/dist/types/treeMenu/BaseTreeMenuItem.d.ts +1 -0
  629. package/dist/types/tsconfig.tsbuildinfo +1 -0
  630. package/dist/types/udp/ShortcutContent/ListSearch.d.ts +1 -0
  631. package/dist/types/udp/ShortcutContent/ShortcutContentFinder.d.ts +1 -0
  632. package/dist/types/udp/export/ExportSidesheet.d.ts +1 -0
  633. package/dist/types/udp/export/MyExportsPage.d.ts +1 -0
  634. package/dist/types/udp/export/VisualSearchObject.d.ts +3 -0
  635. package/dist/types/udp/export/useUdpExport.d.ts +14 -0
  636. package/dist/types/udp/fileImportMapping/FileImportConfigCard.d.ts +1 -0
  637. package/dist/types/udp/fileImportMapping/FileImportMappingWizard.d.ts +2 -0
  638. package/dist/types/udp/fileImportMapping/ImportDataFromFileMapping.d.ts +1 -0
  639. package/dist/types/udp/fileImportMapping/SampleFileImportGrid.d.ts +1 -0
  640. package/dist/types/udp/fileImportMapping/fileUtils.d.ts +3 -0
  641. package/dist/types/udp/pages/ChatUDP.d.ts +2 -0
  642. package/dist/types/udp/pages/UdpDataBrowserPage.d.ts +21 -0
  643. package/dist/types/udp/pages/UdpFormsBuilderPage.d.ts +2 -0
  644. package/dist/types/udp/pages/UdpFormsListPage.d.ts +2 -0
  645. package/dist/types/udp/pages/UdpGridPanelManagementPage.d.ts +2 -0
  646. package/dist/types/udp/pages/UdpGridPanelManagementSidesheet.d.ts +31 -0
  647. package/dist/types/udp/pages/UdpImportFromFileMappingPage.d.ts +2 -0
  648. package/dist/types/udp/pages/UdpInquiryMaintenanceEnginePage.d.ts +2 -0
  649. package/dist/types/udp/pages/UdpMaintenanceConfigPage.d.ts +1 -0
  650. package/dist/types/udp/pages/UdpMaintenanceEnginePage.d.ts +2 -0
  651. package/dist/types/udp/pages/UdpNotesPage.d.ts +2 -0
  652. package/dist/types/udp/pages/UdpPrivateForm.d.ts +2 -0
  653. package/dist/types/udp/pages/UdpPublicForm.d.ts +2 -0
  654. package/dist/types/udp/pages/UdpRemindersPage.d.ts +2 -0
  655. package/dist/types/udp/pages/UdpReportsPage.d.ts +2 -0
  656. package/dist/types/udp/pages/UdpVerticalManagementPage.d.ts +2 -0
  657. package/dist/types/udp/pages/UdpVerticalManagementSidesheet.d.ts +2 -0
  658. package/dist/types/udp/pages/udpPages.d.ts +40 -0
  659. package/dist/types/udp/utilities/methodUtils.d.ts +5 -0
  660. package/dist/types/uploader/DragDropFileUpload.d.ts +35 -0
  661. package/dist/types/uploader/FileProfile.d.ts +2 -0
  662. package/dist/types/uploader/FileType.d.ts +1 -0
  663. package/dist/types/uploader/FileUpload.d.ts +2 -0
  664. package/dist/types/uploader/ImagePreview.d.ts +2 -0
  665. package/dist/types/utilities/CustomNavigationClient.d.ts +11 -0
  666. package/dist/types/utilities/DemoJuly/redirectToProduct.d.ts +14 -0
  667. package/dist/types/utilities/FluentIcon.d.ts +4 -0
  668. package/dist/types/utilities/TrimForAvatar.d.ts +1 -0
  669. package/dist/types/utilities/UnityFluentIcon.d.ts +1 -0
  670. package/dist/types/utilities/UnityIcon.d.ts +1 -0
  671. package/dist/types/utilities/aggrid/AgTable.d.ts +36 -0
  672. package/dist/types/utilities/aggrid/GridFunctions.d.ts +9 -0
  673. package/dist/types/utilities/aggrid/SplitButton.d.ts +4 -0
  674. package/dist/types/utilities/aggrid/datasources/SearchServiceDatasource.d.ts +4 -0
  675. package/dist/types/utilities/apiHelpers.d.ts +12 -0
  676. package/dist/types/utilities/auth/AuthDialogs.d.ts +2 -0
  677. package/dist/types/utilities/auth/AuthProvider.d.ts +5 -0
  678. package/dist/types/utilities/auth/AuthProviderWrapper.d.ts +1 -0
  679. package/dist/types/utilities/auth/UserProvider.d.ts +2 -0
  680. package/dist/types/utilities/auth/internal.d.ts +10 -0
  681. package/dist/types/utilities/auth/signInAuthProvider.d.ts +5 -0
  682. package/dist/types/utilities/auth/useAccessToken.d.ts +1 -0
  683. package/dist/types/utilities/auth/useAuthedUser.d.ts +16 -0
  684. package/dist/types/utilities/auth/useIsUnityAuthenticated.d.ts +1 -0
  685. package/dist/types/utilities/auth/useSingleLogout.d.ts +2 -0
  686. package/dist/types/utilities/auth/users.d.ts +8 -0
  687. package/dist/types/utilities/auth/whitelistedPaths.d.ts +1 -0
  688. package/dist/types/utilities/axiosInterceptors.d.ts +2 -0
  689. package/dist/types/utilities/brand.d.ts +23 -0
  690. package/dist/types/utilities/chatBot/useChatBot.d.ts +6 -0
  691. package/dist/types/utilities/crud/useDefaultFormValues.d.ts +6 -0
  692. package/dist/types/utilities/customIcons/ApprovalIcon.d.ts +6 -0
  693. package/dist/types/utilities/customIcons/RejectIcon.d.ts +4 -0
  694. package/dist/types/utilities/entities/entityUtilities.d.ts +3 -0
  695. package/dist/types/utilities/floorplanFunctions/gridVisualizationFunctions.d.ts +2 -0
  696. package/dist/types/utilities/form/AltSubmitButton.d.ts +14 -0
  697. package/dist/types/utilities/form/Field.d.ts +23 -0
  698. package/dist/types/utilities/form/Form.d.ts +7 -0
  699. package/dist/types/utilities/form/FormButtons.d.ts +3 -0
  700. package/dist/types/utilities/form/FormSpy.d.ts +10 -0
  701. package/dist/types/utilities/form/SubmitButton.d.ts +14 -0
  702. package/dist/types/utilities/form/arrayMutators.d.ts +2 -0
  703. package/dist/types/utilities/form/final-form-scroll/createDecorator.d.ts +5 -0
  704. package/dist/types/utilities/form/final-form-scroll/findInput.d.ts +2 -0
  705. package/dist/types/utilities/form/final-form-scroll/getAllInputs.d.ts +2 -0
  706. package/dist/types/utilities/form/final-form-scroll/isFocusableInput.d.ts +2 -0
  707. package/dist/types/utilities/form/formHooks.d.ts +12 -0
  708. package/dist/types/utilities/form/paymentForm/AccountPayment.model.d.ts +143 -0
  709. package/dist/types/utilities/form/paymentForm/BankIcon.d.ts +7 -0
  710. package/dist/types/utilities/form/paymentForm/CashIcon.d.ts +7 -0
  711. package/dist/types/utilities/form/paymentForm/CheckIcon.d.ts +7 -0
  712. package/dist/types/utilities/form/paymentForm/CreditCardIcon.d.ts +7 -0
  713. package/dist/types/utilities/form/paymentForm/NewCreditCardForm.d.ts +18 -0
  714. package/dist/types/utilities/form/paymentForm/NewECheckForm.d.ts +15 -0
  715. package/dist/types/utilities/form/paymentForm/PaymentBankDetails.d.ts +12 -0
  716. package/dist/types/utilities/form/paymentForm/PaymentCard.d.ts +12 -0
  717. package/dist/types/utilities/form/paymentForm/PaymentCardDetail.d.ts +19 -0
  718. package/dist/types/utilities/form/paymentForm/PaymentDropdown.d.ts +32 -0
  719. package/dist/types/utilities/form/paymentForm/PaymentForm.d.ts +77 -0
  720. package/dist/types/utilities/form/paymentForm/TabPanel.d.ts +20 -0
  721. package/dist/types/utilities/form/paymentForm/usePaymentProviderForm.d.ts +12 -0
  722. package/dist/types/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts +40 -0
  723. package/dist/types/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts +46 -0
  724. package/dist/types/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +13 -0
  725. package/dist/types/utilities/iconLibrary/IconLibraryComponent.d.ts +7 -0
  726. package/dist/types/utilities/iconLibrary/SelectedLibraryItem.d.ts +2 -0
  727. package/dist/types/utilities/iconLibrary/UnityIconLibrary.d.ts +7 -0
  728. package/dist/types/utilities/input/DateUtilities.d.ts +3 -0
  729. package/dist/types/utilities/input/SelectUtilities.d.ts +3 -0
  730. package/dist/types/utilities/input/StringUtilities.d.ts +7 -0
  731. package/dist/types/utilities/isValueSelected.d.ts +3 -0
  732. package/dist/types/utilities/maintenanceEngine/CrudBrowserUtilities.d.ts +5 -0
  733. package/dist/types/utilities/menus/menuUtilities.d.ts +1 -0
  734. package/dist/types/utilities/menus/redirectToLink.d.ts +1 -0
  735. package/dist/types/utilities/page/PageSubHeaderAction.d.ts +9 -0
  736. package/dist/types/utilities/provider/ActionProvider.d.ts +1 -0
  737. package/dist/types/utilities/redirect/ExternalRedirectUrlStorage.d.ts +3 -0
  738. package/dist/types/utilities/redirect/LocalRedirectUrlStorage.d.ts +5 -0
  739. package/dist/types/utilities/redirect/pages/OutlookCallback.d.ts +1 -0
  740. package/dist/types/utilities/rules/RuleUtilities.d.ts +40 -0
  741. package/dist/types/utilities/search/Search.d.ts +37 -0
  742. package/dist/types/utilities/search/SearchUtilities.d.ts +15 -0
  743. package/dist/types/utilities/storage/UnitySessionStorage.d.ts +4 -0
  744. package/dist/types/utilities/stringUtils.d.ts +8 -0
  745. package/dist/types/utilities/style/ContentContainer.d.ts +29 -0
  746. package/dist/types/utilities/style/colorConverter.d.ts +3 -0
  747. package/dist/types/utilities/style/colors.d.ts +76 -0
  748. package/dist/types/utilities/style/utils/styleUtils.d.ts +2 -0
  749. package/dist/types/utilities/style/verticalStyles.d.ts +4 -0
  750. package/dist/types/utilities/systemColors.d.ts +1 -0
  751. package/dist/types/utilities/tenant/TenantProvider.d.ts +3 -0
  752. package/dist/types/utilities/tenant/useTenant.d.ts +6 -0
  753. package/dist/types/utilities/theme.d.ts +6 -0
  754. package/dist/types/utilities/tree/TreeUtilities.d.ts +81 -0
  755. package/dist/types/utilities/uploader/FileProfile.d.ts +2 -0
  756. package/dist/types/utilities/uploader/FileType.d.ts +1 -0
  757. package/dist/types/utilities/uploader/FileUpload.d.ts +1 -0
  758. package/dist/types/utilities/uploader/ImagePreview.d.ts +2 -0
  759. package/dist/types/utilities/uploader/formatBytes.d.ts +1 -0
  760. package/dist/types/utilities/useAxiosGet.d.ts +21 -0
  761. package/dist/types/utilities/useAxiosMutate.d.ts +6 -0
  762. package/dist/types/utilities/usePrevious.d.ts +2 -0
  763. package/dist/types/utilities/utilityBar/InquiryHeaderControl.d.ts +9 -0
  764. package/dist/types/utilities/utilityBar/InquiryHeaderSecondary.d.ts +8 -0
  765. package/dist/types/utilities/utilityBar/InquiryHeaderSecondaryAlert.d.ts +8 -0
  766. package/dist/types/utilities/utilityBar/InquiryHeaderTitle.d.ts +8 -0
  767. package/dist/types/utilities/utilityBar/SubHeaderAction.d.ts +8 -0
  768. package/dist/types/utilities/utilityBar/UtilityBarInport.d.ts +8 -0
  769. package/dist/types/utilities/workflow/workflowUtilities.d.ts +47 -0
  770. package/dist/types/workflow/WorkflowContainer.d.ts +1 -0
  771. package/dist/types/workflow/WorkflowContent.d.ts +1 -0
  772. package/dist/types/workflow/WorkflowUiInterruptContent.d.ts +1 -0
  773. package/dist/types/workflow/components/WorkflowTaskFlow.d.ts +1 -0
  774. package/dist/types/workflow/menus/WorkflowTreeMenu.d.ts +1 -0
  775. package/dist/types/workflow/menus/WorkflowTreeMenuItem.d.ts +1 -0
  776. package/dist/utilities/aggrid/ag-grid-styles.scss +46 -0
  777. package/package.json +23 -20
  778. package/dist/AGLicense.d.ts +0 -1
  779. package/dist/MenuPage-Bkxf-uer.js +0 -556
  780. package/dist/UI/AlertContainer.d.ts +0 -1
  781. package/dist/UI/Box.d.ts +0 -1
  782. package/dist/UI/Grid.d.ts +0 -1
  783. package/dist/UI/SuccessAction.d.ts +0 -1
  784. package/dist/UI/accordion/Accordion.d.ts +0 -1
  785. package/dist/UI/charts/InsightRenderer.d.ts +0 -19
  786. package/dist/UI/charts/UdpBarChart.d.ts +0 -6
  787. package/dist/UI/charts/UdpDonutChart.d.ts +0 -7
  788. package/dist/UI/charts/UdpLineChart.d.ts +0 -6
  789. package/dist/UI/charts/index.d.ts +0 -6
  790. package/dist/UI/components/dataDisplay/Ellipse.d.ts +0 -8
  791. package/dist/UI/components/dataDisplay/EmailDisplay.d.ts +0 -1
  792. package/dist/UI/components/dataDisplay/SmsDisplay.d.ts +0 -1
  793. package/dist/UI/components/dataDisplay/Sticky.d.ts +0 -8
  794. package/dist/UI/components/dataDisplay/Token.d.ts +0 -13
  795. package/dist/UI/components/feedback/Adornment.d.ts +0 -6
  796. package/dist/UI/containers/DynamicContainerWithMenu.d.ts +0 -1
  797. package/dist/UI/dataDisplay/AmbientList.d.ts +0 -15
  798. package/dist/UI/dataDisplay/AvatarAlphabet.d.ts +0 -1
  799. package/dist/UI/dataDisplay/ChipAlphabet.d.ts +0 -6
  800. package/dist/UI/dataDisplay/CompactDataList.d.ts +0 -1
  801. package/dist/UI/dataDisplay/CompactDataListItem.d.ts +0 -1
  802. package/dist/UI/dataDisplay/EmptyStateDisplay.d.ts +0 -22
  803. package/dist/UI/dataDisplay/FluentActivity/FluentActivity.d.ts +0 -1
  804. package/dist/UI/dataDisplay/FluentActivity/FluentActivityRow.d.ts +0 -1
  805. package/dist/UI/dataDisplay/FluentDataTable/FluentCell/index.d.ts +0 -62
  806. package/dist/UI/dataDisplay/FluentDataTable/FluentDataTable.d.ts +0 -11
  807. package/dist/UI/dataDisplay/FluentListElement.d.ts +0 -8
  808. package/dist/UI/dataDisplay/FluentListItem.d.ts +0 -1
  809. package/dist/UI/dataDisplay/GraphCard.d.ts +0 -10
  810. package/dist/UI/dataDisplay/HeaderExpander.d.ts +0 -11
  811. package/dist/UI/dataDisplay/HintPanel.d.ts +0 -10
  812. package/dist/UI/dataDisplay/StatusChip.d.ts +0 -9
  813. package/dist/UI/dataDisplay/StatusFlags.d.ts +0 -8
  814. package/dist/UI/dataDisplay/SummaryBlock.d.ts +0 -16
  815. package/dist/UI/dataDisplay/TimelineCalendar.d.ts +0 -1
  816. package/dist/UI/dataDisplay/address/AddressListItem.d.ts +0 -3
  817. package/dist/UI/dataDisplay/cardList/CardList.d.ts +0 -49
  818. package/dist/UI/dataDisplay/directory/Directory.d.ts +0 -9
  819. package/dist/UI/dataDisplay/directory/DirectoryListItem.d.ts +0 -4
  820. package/dist/UI/dataDisplay/entityHeader/EntityHeader.d.ts +0 -12
  821. package/dist/UI/dataDisplay/entityHeader/functions/groupSectionData.d.ts +0 -2
  822. package/dist/UI/dataDisplay/entityHeader/functions/useDivideArrayIntoGroups.d.ts +0 -2
  823. package/dist/UI/dataDisplay/entityHeader/functions/useElementWidth.d.ts +0 -14
  824. package/dist/UI/dataDisplay/entityHeader/ui/AlertPill.d.ts +0 -22
  825. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderContainer.d.ts +0 -20
  826. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderFlags.d.ts +0 -4
  827. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderList.d.ts +0 -1
  828. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderListItem.d.ts +0 -1
  829. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderSection.d.ts +0 -19
  830. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatList.d.ts +0 -1
  831. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStatListItem.d.ts +0 -1
  832. package/dist/UI/dataDisplay/entityHeader/ui/EntityHeaderStats.d.ts +0 -3
  833. package/dist/UI/dataDisplay/map/ColorKey.d.ts +0 -10
  834. package/dist/UI/dataDisplay/map/IconKey.d.ts +0 -10
  835. package/dist/UI/dataDisplay/notes/Note.d.ts +0 -7
  836. package/dist/UI/dataDisplay/notes/Notes.d.ts +0 -6
  837. package/dist/UI/dataDisplay/ticketCard/NotificationElement.d.ts +0 -8
  838. package/dist/UI/dataDisplay/ticketCard/StatusLineItem.d.ts +0 -16
  839. package/dist/UI/dataDisplay/ticketCard/TicketCard.d.ts +0 -22
  840. package/dist/UI/dataDisplay/typography/FormHeaders.d.ts +0 -2
  841. package/dist/UI/dataDisplay/typography/SideSheetHeader.d.ts +0 -4
  842. package/dist/UI/dataDisplay/typography/SidebarHeader.d.ts +0 -1
  843. package/dist/UI/dataDisplay/typography/StandardTitle.d.ts +0 -1
  844. package/dist/UI/dataDisplay/typography/StylizedTitle.d.ts +0 -16
  845. package/dist/UI/dataDisplay/typography/Typography.d.ts +0 -1
  846. package/dist/UI/dataDisplay/visualization/AmbientVisualizer.d.ts +0 -63
  847. package/dist/UI/dataDisplay/visualization/GaugeGraph.d.ts +0 -1
  848. package/dist/UI/dataDisplay/visualization/RatioVisulization.d.ts +0 -5
  849. package/dist/UI/dataDisplay/visualization/amCharts/AmChart.d.ts +0 -1
  850. package/dist/UI/demos/InputsExample.d.ts +0 -2
  851. package/dist/UI/feedback/AmbientAlert.d.ts +0 -12
  852. package/dist/UI/feedback/AmbientToast.d.ts +0 -1
  853. package/dist/UI/feedback/FluentDialog.d.ts +0 -1
  854. package/dist/UI/feedback/NodeLoader.d.ts +0 -4
  855. package/dist/UI/feedback/PageLoading.d.ts +0 -1
  856. package/dist/UI/fileViewer/FileViewer.d.ts +0 -1
  857. package/dist/UI/fileViewer/imageSlider/Image.d.ts +0 -1
  858. package/dist/UI/fileViewer/imageSlider/ImageFooter.d.ts +0 -1
  859. package/dist/UI/fileViewer/imageSlider/ImageSlider.d.ts +0 -1
  860. package/dist/UI/fileViewer/imageSlider/ImageViewerSideSheet.d.ts +0 -1
  861. package/dist/UI/fileViewer/utils/fileTypes.d.ts +0 -1
  862. package/dist/UI/fileViewer/utils/fileUtils.d.ts +0 -2
  863. package/dist/UI/floorplans/CoreLayoutFloorplan.d.ts +0 -51
  864. package/dist/UI/forms/CrudForm.d.ts +0 -11
  865. package/dist/UI/forms/LoginForm.d.ts +0 -1
  866. package/dist/UI/forms/PaymentReversalForm.d.ts +0 -5
  867. package/dist/UI/forms/UdpCrudFormFields.d.ts +0 -6
  868. package/dist/UI/forms/VirtualForm.d.ts +0 -8
  869. package/dist/UI/iframe/Iframe.d.ts +0 -1
  870. package/dist/UI/inputs/buttons/AdvanceButton.d.ts +0 -4
  871. package/dist/UI/inputs/buttons/AmbientCardButton.d.ts +0 -9
  872. package/dist/UI/inputs/buttons/AmbientChipButton.d.ts +0 -1
  873. package/dist/UI/inputs/buttons/AmbientPopoverMenuItem.d.ts +0 -5
  874. package/dist/UI/inputs/buttons/AmbientToggleButton.d.ts +0 -15
  875. package/dist/UI/inputs/buttons/AmbientToggleButtonGroup.d.ts +0 -1
  876. package/dist/UI/inputs/buttons/AmbientToggleButtonGroupDefault.d.ts +0 -44
  877. package/dist/UI/inputs/buttons/AmbientTokenButton.d.ts +0 -1
  878. package/dist/UI/inputs/buttons/FUISquareIconButton.d.ts +0 -5
  879. package/dist/UI/inputs/buttons/FluentButton.d.ts +0 -1
  880. package/dist/UI/inputs/buttons/FluentCompoundButton.d.ts +0 -1
  881. package/dist/UI/inputs/buttons/FluentIconButton.d.ts +0 -1
  882. package/dist/UI/inputs/buttons/FluentMenuListButton.d.ts +0 -6
  883. package/dist/UI/inputs/buttons/FluentMenuListItem.d.ts +0 -6
  884. package/dist/UI/inputs/buttons/FluentUploadButton.d.ts +0 -1
  885. package/dist/UI/inputs/buttons/FluentUploadIconButton.d.ts +0 -1
  886. package/dist/UI/inputs/buttons/IconButtonWithToolTip.d.ts +0 -11
  887. package/dist/UI/inputs/buttons/PrimaryActionButton.d.ts +0 -6
  888. package/dist/UI/inputs/buttons/ToolBarButton.d.ts +0 -11
  889. package/dist/UI/inputs/calendar/AmbientDateRangeSelector.d.ts +0 -1
  890. package/dist/UI/inputs/calendar/AmbientSingleDateSelector.d.ts +0 -1
  891. package/dist/UI/inputs/checkbox/FluentCheckbox.d.ts +0 -1
  892. package/dist/UI/inputs/datetimes/DateField.d.ts +0 -1
  893. package/dist/UI/inputs/datetimes/DateTimeField.d.ts +0 -1
  894. package/dist/UI/inputs/datetimes/TimeField.d.ts +0 -1
  895. package/dist/UI/inputs/fieldArrayCard/AutocompleteFinalField.d.ts +0 -2
  896. package/dist/UI/inputs/fieldArrayCard/DateRangeField.d.ts +0 -2
  897. package/dist/UI/inputs/fieldArrayCard/FieldArrayCard.d.ts +0 -1
  898. package/dist/UI/inputs/fieldArrayCard/SearchSideSheet.d.ts +0 -2
  899. package/dist/UI/inputs/link/BreadCrumbMenu.d.ts +0 -1
  900. package/dist/UI/inputs/link/FluentLink.d.ts +0 -1
  901. package/dist/UI/inputs/menus/AmbientStepper/AmbientStepContent.d.ts +0 -9
  902. package/dist/UI/inputs/menus/AmbientStepper/AmbientStepper.d.ts +0 -5
  903. package/dist/UI/inputs/menus/AmbientStepper/StepLabel.d.ts +0 -49
  904. package/dist/UI/inputs/menus/FluentScrollLoadAutocompleteMenu.d.ts +0 -44
  905. package/dist/UI/inputs/menus/FluentSelectDirectoryMenu.d.ts +0 -6
  906. package/dist/UI/inputs/menus/FluentSelectGroupMenu.d.ts +0 -7
  907. package/dist/UI/inputs/menus/FluentSelectMenu-old.d.ts +0 -1
  908. package/dist/UI/inputs/menus/FluentSelectMenu.d.ts +0 -9
  909. package/dist/UI/inputs/menus/FluentSimpleSelect.d.ts +0 -1
  910. package/dist/UI/inputs/pickers/FluentColorPicker.d.ts +0 -1
  911. package/dist/UI/inputs/pickers/FluentDatePicker.d.ts +0 -6
  912. package/dist/UI/inputs/pickers/FluentDateTimePicker.d.ts +0 -6
  913. package/dist/UI/inputs/pickers/FluentTimePicker.d.ts +0 -7
  914. package/dist/UI/inputs/pickers/UdpDateSelector.d.ts +0 -10
  915. package/dist/UI/inputs/pickers/UdpTimeSelector.d.ts +0 -8
  916. package/dist/UI/inputs/radio/FluentRadio.d.ts +0 -1
  917. package/dist/UI/inputs/radio/FluentRadioGroup.d.ts +0 -1
  918. package/dist/UI/inputs/richEditors/CkRichEditor.d.ts +0 -1
  919. package/dist/UI/inputs/sliders/FluentInputSlider.d.ts +0 -2
  920. package/dist/UI/inputs/textField/AmbientAutoComplete.d.ts +0 -1
  921. package/dist/UI/inputs/textField/AmbientTextField.d.ts +0 -9
  922. package/dist/UI/inputs/textField/FluentSearchField.d.ts +0 -1
  923. package/dist/UI/inputs/textField/FluentTagField.d.ts +0 -2
  924. package/dist/UI/inputs/textField/FluentTextField.d.ts +0 -2
  925. package/dist/UI/inputs/textField/FluentTextFieldAutoComplete.d.ts +0 -1
  926. package/dist/UI/inputs/textField/KeyValueTextField.d.ts +0 -1
  927. package/dist/UI/inputs/toggle/FluentToggle.d.ts +0 -1
  928. package/dist/UI/loading/CircularProgress.d.ts +0 -1
  929. package/dist/UI/loading/LinearProgress.d.ts +0 -1
  930. package/dist/UI/loading/LoadingIndicator.d.ts +0 -4
  931. package/dist/UI/loading/LoadingOverlay.d.ts +0 -4
  932. package/dist/UI/mapLayout/MapLayout.d.ts +0 -1
  933. package/dist/UI/mapLayout/ui/ActionsRenderer.d.ts +0 -2
  934. package/dist/UI/mapLayout/ui/CheckboxGroup.d.ts +0 -1
  935. package/dist/UI/mapLayout/ui/CheckboxList.d.ts +0 -1
  936. package/dist/UI/mapLayout/ui/CompactCard.d.ts +0 -1
  937. package/dist/UI/mapLayout/ui/ListCard.d.ts +0 -9
  938. package/dist/UI/mapLayout/ui/ListView.d.ts +0 -2
  939. package/dist/UI/mapLayout/ui/MapLayoutToolbar.d.ts +0 -2
  940. package/dist/UI/mapLayout/ui/PopoverCard.d.ts +0 -1
  941. package/dist/UI/mapLayout/ui/PopoverOverlay.d.ts +0 -2
  942. package/dist/UI/mapLayout/ui/Statistic.d.ts +0 -1
  943. package/dist/UI/mapLayout/utilities/MapUtilities.d.ts +0 -12
  944. package/dist/UI/maps/UdpMap.d.ts +0 -66
  945. package/dist/UI/maps/UdpMapComponent.d.ts +0 -64
  946. package/dist/UI/maps/UdpMapToolbar.d.ts +0 -49
  947. package/dist/UI/navigation/FluentSideNav.d.ts +0 -1
  948. package/dist/UI/navigation/menus/AppMenu.d.ts +0 -6
  949. package/dist/UI/navigation/menus/AppMenuItem.d.ts +0 -24
  950. package/dist/UI/navigation/menus/AppMenuItemComponent.d.ts +0 -1
  951. package/dist/UI/navigation/menus/Expander.d.ts +0 -1
  952. package/dist/UI/navigation/menus/ExpanderItem.d.ts +0 -4
  953. package/dist/UI/navigation/menus/FluentMenuListItem.d.ts +0 -5
  954. package/dist/UI/navigation/tabs/UdpTabPanel.d.ts +0 -1
  955. package/dist/UI/navigation/tabs/UdpTabUtility.d.ts +0 -1
  956. package/dist/UI/navigation/tabs/UdpTabs.d.ts +0 -1
  957. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTab.d.ts +0 -1
  958. package/dist/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.d.ts +0 -1
  959. package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanel.d.ts +0 -8
  960. package/dist/UI/navigation/tabs/defaultTabs/FluentTabPanels.d.ts +0 -45
  961. package/dist/UI/navigation/tabs/defaultTabs/FluentTabUtility.d.ts +0 -1
  962. package/dist/UI/property/PropertyFields.d.ts +0 -10
  963. package/dist/UI/property/widgets/AutoCompletePropertyWidget.d.ts +0 -7
  964. package/dist/UI/property/widgets/BooleanPropertyWidget.d.ts +0 -7
  965. package/dist/UI/property/widgets/DatePropertyWidget.d.ts +0 -7
  966. package/dist/UI/property/widgets/DateTimePropertyWidget.d.ts +0 -7
  967. package/dist/UI/property/widgets/FloatPropertyWidget.d.ts +0 -7
  968. package/dist/UI/property/widgets/IntegerPropertyWidget.d.ts +0 -7
  969. package/dist/UI/property/widgets/MultilineTextPropertyWidget.d.ts +0 -7
  970. package/dist/UI/property/widgets/NumericPropertyWidget.d.ts +0 -7
  971. package/dist/UI/property/widgets/SelectPropertyWidget.d.ts +0 -7
  972. package/dist/UI/property/widgets/TextPropertyWidget.d.ts +0 -8
  973. package/dist/UI/property/widgets/TimePropertyWidget.d.ts +0 -7
  974. package/dist/UI/property/widgets/index.d.ts +0 -25
  975. package/dist/UI/stepper/udp-stepper.d.ts +0 -2
  976. package/dist/UI/support/SupportCaseForm.d.ts +0 -6
  977. package/dist/UI/support/SupportCaseSideSheet.d.ts +0 -9
  978. package/dist/UI/surfaces/NestedGrid/NestedGrid.d.ts +0 -18
  979. package/dist/UI/surfaces/NestedGrid/ui/ExpandRenderer.d.ts +0 -5
  980. package/dist/UI/surfaces/SideSheet.d.ts +0 -23
  981. package/dist/UI/surfaces/cards/AmbientCard.d.ts +0 -1
  982. package/dist/UI/surfaces/cards/AmbientCardTitle.d.ts +0 -12
  983. package/dist/UI/surfaces/cards/AmbientVisualizationCard.d.ts +0 -10
  984. package/dist/UI/surfaces/cards/BioCard.d.ts +0 -10
  985. package/dist/UI/surfaces/cards/ContentDisplayCard.d.ts +0 -13
  986. package/dist/UI/surfaces/cards/FUICard.d.ts +0 -4
  987. package/dist/UI/surfaces/cards/FluentCard.d.ts +0 -8
  988. package/dist/UI/surfaces/cards/FluentCardActions.d.ts +0 -4
  989. package/dist/UI/surfaces/cards/FluentCardContent.d.ts +0 -4
  990. package/dist/UI/surfaces/cards/FluentCardHeader.d.ts +0 -4
  991. package/dist/UI/surfaces/cards/FluentCardText.d.ts +0 -1
  992. package/dist/UI/surfaces/cards/InfoCard.d.ts +0 -33
  993. package/dist/UI/surfaces/cards/QuickViewCard.d.ts +0 -8
  994. package/dist/UI/surfaces/cards/newsCard/NewsCard.d.ts +0 -20
  995. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderCard.d.ts +0 -12
  996. package/dist/UI/surfaces/cards/workOrderCard/WorkOrderHeader.d.ts +0 -4
  997. package/dist/UI/templates/AmbientGridTemplate.d.ts +0 -34
  998. package/dist/UI/templates/DraggableSidebarTemplate.d.ts +0 -1
  999. package/dist/UI/templates/OpenPage.d.ts +0 -1
  1000. package/dist/UI/templates/SapFlexibleTemplate.d.ts +0 -5
  1001. package/dist/UI/templates/ToggleSection.d.ts +0 -11
  1002. package/dist/UI/templates/UdpCalendar.d.ts +0 -1
  1003. package/dist/UI/templates/UdpCalendarDayView.d.ts +0 -1
  1004. package/dist/UI/templates/UdpCalendarMonthView.d.ts +0 -1
  1005. package/dist/UI/templates/UdpCalendarWeekView.d.ts +0 -1
  1006. package/dist/UI/templates/UdpCalendarYearView.d.ts +0 -1
  1007. package/dist/UI/templates/UdpGridTemplate.d.ts +0 -1
  1008. package/dist/UI/templates/newGrid/ApiMethodUdpGrid.d.ts +0 -1
  1009. package/dist/UI/templates/newGrid/ClientSideUdpGrid.d.ts +0 -1
  1010. package/dist/UI/templates/newGrid/ServerSideUdpGrid.d.ts +0 -1
  1011. package/dist/UI/templates/ui/ExtenderToggle.d.ts +0 -8
  1012. package/dist/UI/templates/ui/GridGroupingHeader.d.ts +0 -10
  1013. package/dist/UI/templates/ui/GridGroupingSidebar.d.ts +0 -19
  1014. package/dist/UI/templates/ui/GridSidebarContainer.d.ts +0 -7
  1015. package/dist/UI/templates/ui/TokenGroupItem.d.ts +0 -12
  1016. package/dist/UI/templates/ui/renderers/ActionsRenderer.d.ts +0 -1
  1017. package/dist/UI/templates/ui/renderers/IconRenderer.d.ts +0 -1
  1018. package/dist/UI/templates/ui/renderers/StatusCellRenderer.d.ts +0 -1
  1019. package/dist/UI/timeline/ExtendActions.d.ts +0 -2
  1020. package/dist/UI/timeline/ExtendedHeader.d.ts +0 -2
  1021. package/dist/UI/timeline/TimeEntryStates.d.ts +0 -1
  1022. package/dist/UI/timeline/TimeLine.d.ts +0 -6
  1023. package/dist/UI/timeline/TimelineElement.d.ts +0 -2
  1024. package/dist/UI/timeline/UdpTimeline.d.ts +0 -1
  1025. package/dist/UI/timeline/UdpTimelineContent.d.ts +0 -1
  1026. package/dist/UI/timeline/UdpTimelineDot.d.ts +0 -1
  1027. package/dist/UI/timeline/UdpTimelineItem.d.ts +0 -1
  1028. package/dist/UI/timeline/UdpTimelineItemConnector.d.ts +0 -1
  1029. package/dist/UI/timeline/UdpTimelineItemSeparator.d.ts +0 -1
  1030. package/dist/UI/timeline/fluentTimeline/FluentTimeline.d.ts +0 -1
  1031. package/dist/UI/timeline/fluentTimeline/FluentTimelineContent.d.ts +0 -1
  1032. package/dist/UI/timeline/fluentTimeline/FluentTimelineHeader.d.ts +0 -1
  1033. package/dist/UI/utilityDisplay/AggregateChip.d.ts +0 -2
  1034. package/dist/UI/utilityDisplay/BulkActionsGridButton.d.ts +0 -1
  1035. package/dist/UI/utilityDisplay/ChipSection.d.ts +0 -14
  1036. package/dist/UI/utilityDisplay/Divider.d.ts +0 -1
  1037. package/dist/UI/utilityDisplay/FormControl.d.ts +0 -1
  1038. package/dist/UI/utilityDisplay/FormControlLabel.d.ts +0 -1
  1039. package/dist/UI/utilityDisplay/GridActionBar.d.ts +0 -13
  1040. package/dist/UI/utilityDisplay/GridPrimaryBar.d.ts +0 -23
  1041. package/dist/UI/utilityDisplay/GridViewsSideSheet.d.ts +0 -17
  1042. package/dist/UI/utilityDisplay/IndicatorChip.d.ts +0 -1
  1043. package/dist/UI/utilityDisplay/InputAdornment.d.ts +0 -1
  1044. package/dist/UI/utilityDisplay/SaveViewFormDialog.d.ts +0 -16
  1045. package/dist/UI/utilityDisplay/UtilityBar.d.ts +0 -1
  1046. package/dist/UI/utilityDisplay/UtilitySideBar.d.ts +0 -1
  1047. package/dist/UI/utilityDisplay/alerts/UdpAlert.d.ts +0 -2
  1048. package/dist/UI/utilityDisplay/alerts/UdpAlertsContainer.d.ts +0 -1
  1049. package/dist/UI/utilityDisplay/ui/UtilitySearch.d.ts +0 -5
  1050. package/dist/UI/utilityDisplay/utilities/aggregateUtils.d.ts +0 -1
  1051. package/dist/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.d.ts +0 -44
  1052. package/dist/UI/utilityDisplay/utilityHeader/UtilityTabHeader.d.ts +0 -6
  1053. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.d.ts +0 -4
  1054. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.d.ts +0 -4
  1055. package/dist/UI/utilityDisplay/utilityHeader/ui/PAHExport.d.ts +0 -5
  1056. package/dist/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.d.ts +0 -8
  1057. package/dist/UI/utilityDisplay/utilityHeader/ui/teleporter.d.ts +0 -2
  1058. package/dist/UI/widgets/FluentComponents/ChartSummaryToggle.d.ts +0 -2
  1059. package/dist/UI/widgets/FluentComponents/SimpleTable.d.ts +0 -2
  1060. package/dist/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.d.ts +0 -2
  1061. package/dist/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.d.ts +0 -2
  1062. package/dist/UI/widgets/FluentComponents/atoms/FluentTrendArrow.d.ts +0 -2
  1063. package/dist/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.d.ts +0 -2
  1064. package/dist/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.d.ts +0 -2
  1065. package/dist/UI/widgets/FluentComponents/molecules/FluentStatNumber.d.ts +0 -2
  1066. package/dist/UI/widgets/FluentComponents/molecules/FluentTimeline.d.ts +0 -2
  1067. package/dist/UI/widgets/ItemsWidgetCard.d.ts +0 -8
  1068. package/dist/UI/widgets/WidgetCard.d.ts +0 -5
  1069. package/dist/UI/widgets/library/BarChartWidget.d.ts +0 -23
  1070. package/dist/UI/widgets/library/BubbleWidget.d.ts +0 -23
  1071. package/dist/UI/widgets/library/CircleGaugeWidget.d.ts +0 -12
  1072. package/dist/UI/widgets/library/DateTrendWidget.d.ts +0 -18
  1073. package/dist/UI/widgets/library/DensePlotWidget.d.ts +0 -23
  1074. package/dist/UI/widgets/library/DonutChartWidget.d.ts +0 -18
  1075. package/dist/UI/widgets/library/GaugeWidget.d.ts +0 -14
  1076. package/dist/UI/widgets/library/LineAndSparklinesWidget.d.ts +0 -18
  1077. package/dist/UI/widgets/library/LineGraphWidget.d.ts +0 -23
  1078. package/dist/UI/widgets/library/ProgressBarWidget.d.ts +0 -18
  1079. package/dist/UI/widgets/library/RecentlyLoadedNodesWidget.d.ts +0 -3
  1080. package/dist/UI/widgets/library/RemindersWidget.d.ts +0 -3
  1081. package/dist/UI/widgets/library/SparklineWidget.d.ts +0 -18
  1082. package/dist/UI/widgets/library/SparsePlotWidget.d.ts +0 -23
  1083. package/dist/UI/widgets/library/TableWidget.d.ts +0 -18
  1084. package/dist/UI/widgets/utils/ConvertISODate.d.ts +0 -1
  1085. package/dist/UI/widgets/utils/NumberVisualization.d.ts +0 -2
  1086. package/dist/UI/widgets/utils/dateUtils.d.ts +0 -3
  1087. package/dist/VirtualBrowser-BvntTEs-.js +0 -593
  1088. package/dist/actions/ActionForm.d.ts +0 -11
  1089. package/dist/actions/ActionModal.d.ts +0 -1
  1090. package/dist/actions/ActionPanelPlacement.d.ts +0 -8
  1091. package/dist/actions/ActionSideSheet.d.ts +0 -12
  1092. package/dist/actions/ActionSpeedDial.d.ts +0 -13
  1093. package/dist/actions/ActionSplitScreen.d.ts +0 -14
  1094. package/dist/actions/ActionWrapper.d.ts +0 -12
  1095. package/dist/actions/PageActionWrapper.d.ts +0 -1
  1096. package/dist/actions/actionSummary/ActionSummaryHeader.d.ts +0 -8
  1097. package/dist/actions/actionSummary/ActionSummaryListItem.d.ts +0 -10
  1098. package/dist/actions/actionSummary/ActionSummaryPopover.d.ts +0 -8
  1099. package/dist/actions/sidebar/EntitySideBarContent.d.ts +0 -1
  1100. package/dist/actions/utils/actionUtils.d.ts +0 -3
  1101. package/dist/assets/unityIcons/LibraryData.d.ts +0 -5
  1102. package/dist/chatBot/ChatContainer.d.ts +0 -1
  1103. package/dist/chatBot/ChatMessage.d.ts +0 -1
  1104. package/dist/componentSystems/multiThreadTimeline/functions/mttFunctions.d.ts +0 -5
  1105. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.d.ts +0 -4
  1106. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.d.ts +0 -1
  1107. package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/MttTimeline.d.ts +0 -1
  1108. package/dist/componentSystems/multiThreadTimeline/mttSummary/MttSummary.d.ts +0 -6
  1109. package/dist/componentSystems/multiThreadTimeline/timeline.d.ts +0 -26
  1110. package/dist/componentSystems/multiThreadTimeline/ui/CircleButton.d.ts +0 -6
  1111. package/dist/componentSystems/multiThreadTimeline/ui/DateWrapper.d.ts +0 -14
  1112. package/dist/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.d.ts +0 -1
  1113. package/dist/componentSystems/multiThreadTimeline/ui/MttYearTag.d.ts +0 -8
  1114. package/dist/componentSystems/multiThreadTimeline/ui/MultiDot.d.ts +0 -8
  1115. package/dist/componentSystems/multiThreadTimeline/ui/SummaryToken.d.ts +0 -18
  1116. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDateBar.d.ts +0 -12
  1117. package/dist/componentSystems/multiThreadTimeline/ui/TimelineDot.d.ts +0 -9
  1118. package/dist/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.d.ts +0 -9
  1119. package/dist/componentSystems/multiThreadTimeline/ui/TimelineNode.d.ts +0 -1
  1120. package/dist/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.d.ts +0 -9
  1121. package/dist/componentSystems/multiThreadTimeline/ui/TimelineStatus.d.ts +0 -6
  1122. package/dist/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.d.ts +0 -17
  1123. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.d.ts +0 -22
  1124. package/dist/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.d.ts +0 -16
  1125. package/dist/componentSystems/multiThreadTimeline/ui/TimelineWrapper.d.ts +0 -10
  1126. package/dist/componentSystems/multiThreadTimeline/ui/VisualizationDot.d.ts +0 -10
  1127. package/dist/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.d.ts +0 -18
  1128. package/dist/componentSystems/pageRenderer/PageRenderer.d.ts +0 -6
  1129. package/dist/componentSystems/pageRenderer/hocs/withEngineComponent.d.ts +0 -1
  1130. package/dist/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +0 -33
  1131. package/dist/componentSystems/pageRenderer/utils/TableColumnDefs.d.ts +0 -9
  1132. package/dist/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.d.ts +0 -12
  1133. package/dist/componentSystems/pageRenderer/wrappers/BarChartWrapper.d.ts +0 -7
  1134. package/dist/componentSystems/pageRenderer/wrappers/BioCardWrapper.d.ts +0 -1
  1135. package/dist/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.d.ts +0 -1
  1136. package/dist/componentSystems/pageRenderer/wrappers/DonutWrapper.d.ts +0 -7
  1137. package/dist/componentSystems/pageRenderer/wrappers/HistogramWrapper.d.ts +0 -1
  1138. package/dist/componentSystems/pageRenderer/wrappers/LineGraphWrapper.d.ts +0 -1
  1139. package/dist/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.d.ts +0 -1
  1140. package/dist/constants/reminderConstants.d.ts +0 -4
  1141. package/dist/containers/IframeContainer.d.ts +0 -1
  1142. package/dist/contexts/ActionContext.d.ts +0 -1
  1143. package/dist/contexts/ActionDispatchContext.d.ts +0 -1
  1144. package/dist/contexts/ActionLoadingContext.d.ts +0 -1
  1145. package/dist/contexts/ActionLoadingDispatchContext.d.ts +0 -1
  1146. package/dist/contexts/usePageContext.d.ts +0 -1
  1147. package/dist/dashboard/DashboardCardGrid.d.ts +0 -5
  1148. package/dist/dashboard/WidgetCard.d.ts +0 -1
  1149. package/dist/dataBrowser/DataBrowserColumnDefs.d.ts +0 -9
  1150. package/dist/dataBrowser/DataBrowserContainer.d.ts +0 -1
  1151. package/dist/dataBrowser/forms/ParamsMappingFields.d.ts +0 -1
  1152. package/dist/dataBrowser/forms/ParamsMappingForm.d.ts +0 -1
  1153. package/dist/dataBrowser/forms/RequiredFieldsMappingField.d.ts +0 -1
  1154. package/dist/dataBrowser/forms/RequiredFieldsMappingForm.d.ts +0 -1
  1155. package/dist/diffChecker/DiffChecker.d.ts +0 -6
  1156. package/dist/enums/InputFieldTypeEnums.d.ts +0 -8
  1157. package/dist/hooks/crudActions.d.ts +0 -5
  1158. package/dist/hooks/useActions.d.ts +0 -17
  1159. package/dist/hooks/useApiCatalog.d.ts +0 -6
  1160. package/dist/hooks/useDateLocale.d.ts +0 -5
  1161. package/dist/hooks/useDynamicListCalculation.d.ts +0 -1
  1162. package/dist/hooks/useFluentIcon.d.ts +0 -3
  1163. package/dist/hooks/useItemSubCard.d.ts +0 -7
  1164. package/dist/hooks/useOutlook.d.ts +0 -6
  1165. package/dist/hooks/useProductVersion.d.ts +0 -1
  1166. package/dist/hooks/usePromotedLookupMethods.d.ts +0 -5
  1167. package/dist/hooks/usePromotedMethodEntity.d.ts +0 -5
  1168. package/dist/hooks/useQueryExecutors.d.ts +0 -7
  1169. package/dist/hooks/useSearchFilterParamsMap.d.ts +0 -6
  1170. package/dist/hooks/useSetLocationState.d.ts +0 -1
  1171. package/dist/hooks/useSplitDecimal.d.ts +0 -3
  1172. package/dist/hooks/useUpdateSearchParams.d.ts +0 -1
  1173. package/dist/hooks/useWorkflow.d.ts +0 -3
  1174. package/dist/hooks/virtualActions.d.ts +0 -3
  1175. package/dist/index-DWuWdOI1.js +0 -56507
  1176. package/dist/index.d.ts +0 -439
  1177. package/dist/index.modern.js +0 -611
  1178. package/dist/inquiry/AlertFlag.d.ts +0 -1
  1179. package/dist/inquiry/AmbientListItem.d.ts +0 -1
  1180. package/dist/inquiry/AmbientSplitStatCard.d.ts +0 -1
  1181. package/dist/inquiry/AmbientSummaryListHeader.d.ts +0 -1
  1182. package/dist/inquiry/EmbeddedInquiry.d.ts +0 -2
  1183. package/dist/inquiry/ExecuteApiDialog.d.ts +0 -1
  1184. package/dist/inquiry/FilterSearch.d.ts +0 -3
  1185. package/dist/inquiry/FlagBlock.d.ts +0 -1
  1186. package/dist/inquiry/Inquiry.d.ts +0 -1
  1187. package/dist/inquiry/InquiryContainer.d.ts +0 -28
  1188. package/dist/inquiry/InquiryTreeMenu.d.ts +0 -1
  1189. package/dist/inquiry/InquiryTreeMenuItem.d.ts +0 -1
  1190. package/dist/inquiry/InquiryWrapper.d.ts +0 -1
  1191. package/dist/inquiry/ItemDescription.d.ts +0 -1
  1192. package/dist/inquiry/NodeColumnHeader.d.ts +0 -5
  1193. package/dist/inquiry/NodeDetails.d.ts +0 -1
  1194. package/dist/inquiry/NodeList.d.ts +0 -1
  1195. package/dist/inquiry/ToggleButton.d.ts +0 -1
  1196. package/dist/inquiry/dashboard/InquiryDashboard.d.ts +0 -1
  1197. package/dist/inquiry/dashboard/RecentlyLoadedNodesTable.d.ts +0 -1
  1198. package/dist/inquiry/inquiryBar/InquiryControlList.d.ts +0 -11
  1199. package/dist/inquiry/inquiryBar/InquiryNodeControls.d.ts +0 -1
  1200. package/dist/inquiry/search/InquiryAdvancedSearch.d.ts +0 -1
  1201. package/dist/inquiry/search/InquiryAdvancedSearchForm.d.ts +0 -1
  1202. package/dist/inquiry/search/InquirySearchContainer.d.ts +0 -1
  1203. package/dist/inquiry/search/InquirySearchDatasource.d.ts +0 -3
  1204. package/dist/inquiry/search/InquirySearchTable.d.ts +0 -1
  1205. package/dist/layout/GridGroup.d.ts +0 -10
  1206. package/dist/layout/GridRow.d.ts +0 -5
  1207. package/dist/layout/GridUnit.d.ts +0 -1
  1208. package/dist/layout/HeaderLayout.d.ts +0 -3
  1209. package/dist/layout/LayoutUnit.d.ts +0 -2
  1210. package/dist/layout/getRatio.d.ts +0 -1
  1211. package/dist/layout/templates/SideBarTemplate.d.ts +0 -4
  1212. package/dist/maintenanceEngine/crudBrowser/CrudBrowserContainer.d.ts +0 -1
  1213. package/dist/maintenanceEngine/crudBrowser/CrudTableActionRender.d.ts +0 -2
  1214. package/dist/maintenanceEngine/crudBrowser/CrudTableColumnDefs.d.ts +0 -9
  1215. package/dist/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts +0 -11
  1216. package/dist/maintenanceEngine/entityAttributeActions.d.ts +0 -1
  1217. package/dist/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +0 -44
  1218. package/dist/maintenanceEngine/tableBrowser/TableContainer.d.ts +0 -1
  1219. package/dist/maintenanceEngine/virtualBrowser/VirtualBrowser.d.ts +0 -1
  1220. package/dist/maintenanceEngine/virtualBrowser/VirtualTableColumnDefs.d.ts +0 -9
  1221. package/dist/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.d.ts +0 -10
  1222. package/dist/map-library/Controls/Controls.d.ts +0 -3
  1223. package/dist/map-library/Controls/CustomControl.d.ts +0 -1
  1224. package/dist/map-library/Controls/FullScreenControl.d.ts +0 -1
  1225. package/dist/map-library/Controls/ZoomControl.d.ts +0 -1
  1226. package/dist/map-library/Controls/index.d.ts +0 -1
  1227. package/dist/map-library/Layers/ImageLayer.d.ts +0 -4
  1228. package/dist/map-library/Layers/Layers.d.ts +0 -3
  1229. package/dist/map-library/Layers/TileLayer.d.ts +0 -4
  1230. package/dist/map-library/Layers/VectorLayer.d.ts +0 -6
  1231. package/dist/map-library/Layers/index.d.ts +0 -1
  1232. package/dist/map-library/Map/Map.d.ts +0 -22
  1233. package/dist/map-library/Map/MapContext.d.ts +0 -2
  1234. package/dist/map-library/Map/index.d.ts +0 -1
  1235. package/dist/map-library/Source/index.d.ts +0 -4
  1236. package/dist/map-library/Source/osm.d.ts +0 -3
  1237. package/dist/map-library/Source/vector.d.ts +0 -5
  1238. package/dist/map-library/Source/xyz.d.ts +0 -7
  1239. package/dist/map-library/functions/mapFunctions.d.ts +0 -2
  1240. package/dist/map-library/geoLocation/FreeFormField.d.ts +0 -1
  1241. package/dist/map-library/geoLocation/GeoLocation.d.ts +0 -2
  1242. package/dist/map-library/ui/ControlZoom.d.ts +0 -2
  1243. package/dist/map-library/ui/Filter.d.ts +0 -2
  1244. package/dist/map-library/ui/FilterOptions.d.ts +0 -2
  1245. package/dist/map-library/ui/LocationPin.d.ts +0 -2
  1246. package/dist/map-library/ui/MapControls.d.ts +0 -2
  1247. package/dist/map-library/ui/MapControlsStandard.d.ts +0 -2
  1248. package/dist/map-library/ui/MapFilterBar.d.ts +0 -1
  1249. package/dist/map-library/ui/MapSheet.d.ts +0 -1
  1250. package/dist/map-library/ui/Position.d.ts +0 -2
  1251. package/dist/map-library/ui/TileDisplay.d.ts +0 -1
  1252. package/dist/map-library/ui/ToggleViewType.d.ts +0 -2
  1253. package/dist/maps/GeoMap.d.ts +0 -1
  1254. package/dist/maps/leafletMaps/FluentImageMap.d.ts +0 -13
  1255. package/dist/maps/leafletMaps/FluentMap.d.ts +0 -24
  1256. package/dist/maps/leafletMaps/ui/MapContent.d.ts +0 -12
  1257. package/dist/maps/leafletMaps/ui/MapMarker.d.ts +0 -1
  1258. package/dist/maps/openLayerMaps/Controls/Controls.d.ts +0 -4
  1259. package/dist/maps/openLayerMaps/Controls/FullScreenControl.d.ts +0 -2
  1260. package/dist/maps/openLayerMaps/Controls/index.d.ts +0 -3
  1261. package/dist/maps/openLayerMaps/Layers/ImageLayer.d.ts +0 -4
  1262. package/dist/maps/openLayerMaps/Layers/Layers.d.ts +0 -3
  1263. package/dist/maps/openLayerMaps/Layers/TileLayer.d.ts +0 -4
  1264. package/dist/maps/openLayerMaps/Layers/VectorLayer.d.ts +0 -5
  1265. package/dist/maps/openLayerMaps/Map/Map.d.ts +0 -6
  1266. package/dist/maps/openLayerMaps/Map/MapContext.d.ts +0 -2
  1267. package/dist/maps/openLayerMaps/Source/index.d.ts +0 -4
  1268. package/dist/maps/openLayerMaps/Source/osm.d.ts +0 -3
  1269. package/dist/maps/openLayerMaps/Source/vector.d.ts +0 -5
  1270. package/dist/maps/openLayerMaps/Source/xyz.d.ts +0 -7
  1271. package/dist/maps/openLayerMaps/ui/ControlZoom.d.ts +0 -2
  1272. package/dist/maps/openLayerMaps/ui/Filter.d.ts +0 -2
  1273. package/dist/maps/openLayerMaps/ui/LocationPin.d.ts +0 -2
  1274. package/dist/maps/openLayerMaps/ui/MapControls.d.ts +0 -2
  1275. package/dist/maps/openLayerMaps/ui/MapControlsStandard.d.ts +0 -2
  1276. package/dist/maps/openLayerMaps/ui/Position.d.ts +0 -2
  1277. package/dist/maps/openLayerMaps/ui/ToggleViewType.d.ts +0 -2
  1278. package/dist/menuPage/MenuPage.d.ts +0 -1
  1279. package/dist/notes/NotesScreen.d.ts +0 -1
  1280. package/dist/page/Page.d.ts +0 -2
  1281. package/dist/page/PageContainer.d.ts +0 -1
  1282. package/dist/page/PageContent.d.ts +0 -1
  1283. package/dist/page/PageHeader.d.ts +0 -1
  1284. package/dist/page/PageSectionHeader.d.ts +0 -1
  1285. package/dist/page/PageSectionSpacer.d.ts +0 -1
  1286. package/dist/reminders/CompleteReminderSwitch.d.ts +0 -1
  1287. package/dist/reminders/RemindersCard.d.ts +0 -1
  1288. package/dist/reminders/RemindersScreen.d.ts +0 -1
  1289. package/dist/reports/PowerBIReport.d.ts +0 -1
  1290. package/dist/routes/PrivateRoute.d.ts +0 -3
  1291. package/dist/routes/UdpRoutes.d.ts +0 -1
  1292. package/dist/routes/components/PageForbiddenRoute.d.ts +0 -1
  1293. package/dist/routes/components/PageNotFoundRoute.d.ts +0 -1
  1294. package/dist/routes/components/PageStatus.d.ts +0 -1
  1295. package/dist/routes/components/PasswordResetRedirect.d.ts +0 -1
  1296. package/dist/shell/Shell.d.ts +0 -43
  1297. package/dist/shell/ui/AmbientProjectSwitcher.d.ts +0 -8
  1298. package/dist/shell/ui/EnvironmentRibbon.d.ts +0 -3
  1299. package/dist/shell/ui/FluentProfileMenuCard.d.ts +0 -1
  1300. package/dist/shell/ui/HelpCenter.d.ts +0 -1
  1301. package/dist/shell/ui/LanguageSwitcher.d.ts +0 -1
  1302. package/dist/shell/ui/MiniCollapsibleSidebar.d.ts +0 -2
  1303. package/dist/shell/ui/NavigationSidebar.d.ts +0 -2
  1304. package/dist/shell/ui/SidebarCollapseButton.d.ts +0 -1
  1305. package/dist/shell/ui/SidebarListItem.d.ts +0 -5
  1306. package/dist/shell/ui/SiteHeader.d.ts +0 -11
  1307. package/dist/shell/ui/SiteHeaderRightComponent.d.ts +0 -11
  1308. package/dist/shell/ui/UserAvatar.d.ts +0 -9
  1309. package/dist/shell/ui/addUser/PasswordValidator.d.ts +0 -10
  1310. package/dist/shell/ui/addUser/UserForm.d.ts +0 -2
  1311. package/dist/shell/ui/addUser/UserFormFields.d.ts +0 -2
  1312. package/dist/shell/ui/addUser/UserFormSideSheet.d.ts +0 -5
  1313. package/dist/shell/ui/appSwitcher/FUIAppHeader.d.ts +0 -2
  1314. package/dist/shell/ui/appSwitcher/FUIAppList.d.ts +0 -2
  1315. package/dist/shell/ui/appSwitcher/FUIAppListItem.d.ts +0 -2
  1316. package/dist/shell/ui/appSwitcher/FUIAppSwitcher.d.ts +0 -2
  1317. package/dist/shell/ui/appSwitcher/ProductAppList.d.ts +0 -2
  1318. package/dist/shell/ui/appSwitcher/ProductAppListItem.d.ts +0 -2
  1319. package/dist/shell/ui/appSwitcher/UnityApps.d.ts +0 -2
  1320. package/dist/stores/actionStore.d.ts +0 -12
  1321. package/dist/stores/catalogStore.d.ts +0 -14
  1322. package/dist/stores/inquiryStore.d.ts +0 -21
  1323. package/dist/stores/lookupsStore.d.ts +0 -12
  1324. package/dist/stores/shellStore.d.ts +0 -21
  1325. package/dist/stores/teleporterStore.d.ts +0 -13
  1326. package/dist/stores/tenantStore.d.ts +0 -16
  1327. package/dist/stores/workflowStore.d.ts +0 -19
  1328. package/dist/stories/Button.d.ts +0 -26
  1329. package/dist/stories/Button.stories.d.ts +0 -45
  1330. package/dist/stories/Header.d.ts +0 -18
  1331. package/dist/stories/Header.stories.d.ts +0 -17
  1332. package/dist/stories/Page.d.ts +0 -18
  1333. package/dist/stories/Page.stories.d.ts +0 -15
  1334. package/dist/treeMenu/BaseTreeMenu.d.ts +0 -1
  1335. package/dist/treeMenu/BaseTreeMenuItem.d.ts +0 -1
  1336. package/dist/udp/ShortcutContent/ListSearch.d.ts +0 -1
  1337. package/dist/udp/ShortcutContent/ShortcutContentFinder.d.ts +0 -1
  1338. package/dist/udp/export/ExportSidesheet.d.ts +0 -1
  1339. package/dist/udp/export/MyExportsPage.d.ts +0 -1
  1340. package/dist/udp/export/VisualSearchObject.d.ts +0 -3
  1341. package/dist/udp/export/useUdpExport.d.ts +0 -14
  1342. package/dist/udp/fileImportMapping/FileImportConfigCard.d.ts +0 -1
  1343. package/dist/udp/fileImportMapping/FileImportMappingWizard.d.ts +0 -2
  1344. package/dist/udp/fileImportMapping/ImportDataFromFileMapping.d.ts +0 -1
  1345. package/dist/udp/fileImportMapping/SampleFileImportGrid.d.ts +0 -1
  1346. package/dist/udp/fileImportMapping/fileUtils.d.ts +0 -3
  1347. package/dist/udp/pages/ChatUDP.d.ts +0 -2
  1348. package/dist/udp/pages/UdpDataBrowserPage.d.ts +0 -3
  1349. package/dist/udp/pages/UdpFormsBuilderPage.d.ts +0 -2
  1350. package/dist/udp/pages/UdpFormsListPage.d.ts +0 -2
  1351. package/dist/udp/pages/UdpGridPanelManagementPage.d.ts +0 -2
  1352. package/dist/udp/pages/UdpGridPanelManagementSidesheet.d.ts +0 -2
  1353. package/dist/udp/pages/UdpImportFromFileMappingPage.d.ts +0 -2
  1354. package/dist/udp/pages/UdpInquiryMaintenanceEnginePage.d.ts +0 -2
  1355. package/dist/udp/pages/UdpMaintenanceConfigPage.d.ts +0 -1
  1356. package/dist/udp/pages/UdpMaintenanceEnginePage.d.ts +0 -2
  1357. package/dist/udp/pages/UdpNotesPage.d.ts +0 -2
  1358. package/dist/udp/pages/UdpPrivateForm.d.ts +0 -2
  1359. package/dist/udp/pages/UdpPublicForm.d.ts +0 -2
  1360. package/dist/udp/pages/UdpRemindersPage.d.ts +0 -2
  1361. package/dist/udp/pages/UdpReportsPage.d.ts +0 -2
  1362. package/dist/udp/pages/UdpVerticalManagementPage.d.ts +0 -2
  1363. package/dist/udp/pages/UdpVerticalManagementSidesheet.d.ts +0 -2
  1364. package/dist/udp/pages/udpPages.d.ts +0 -40
  1365. package/dist/udp/utilities/methodUtils.d.ts +0 -5
  1366. package/dist/udp-react-enterprise-component-library.css +0 -1
  1367. package/dist/uploader/DragDropFileUpload.d.ts +0 -12
  1368. package/dist/uploader/FileProfile.d.ts +0 -2
  1369. package/dist/uploader/FileType.d.ts +0 -1
  1370. package/dist/uploader/FileUpload.d.ts +0 -2
  1371. package/dist/uploader/ImagePreview.d.ts +0 -2
  1372. package/dist/utilities/CustomNavigationClient.d.ts +0 -11
  1373. package/dist/utilities/DemoJuly/redirectToProduct.d.ts +0 -1
  1374. package/dist/utilities/FluentIcon.d.ts +0 -1
  1375. package/dist/utilities/TrimForAvatar.d.ts +0 -1
  1376. package/dist/utilities/UnityFluentIcon.d.ts +0 -1
  1377. package/dist/utilities/UnityIcon.d.ts +0 -1
  1378. package/dist/utilities/aggrid/AgTable.d.ts +0 -33
  1379. package/dist/utilities/aggrid/GridFunctions.d.ts +0 -13
  1380. package/dist/utilities/aggrid/SplitButton.d.ts +0 -1
  1381. package/dist/utilities/aggrid/datasources/SearchServiceDatasource.d.ts +0 -4
  1382. package/dist/utilities/apiHelpers.d.ts +0 -7
  1383. package/dist/utilities/auth/AuthDialogs.d.ts +0 -2
  1384. package/dist/utilities/auth/AuthProvider.d.ts +0 -5
  1385. package/dist/utilities/auth/AuthProviderWrapper.d.ts +0 -1
  1386. package/dist/utilities/auth/UserProvider.d.ts +0 -2
  1387. package/dist/utilities/auth/internal.d.ts +0 -9
  1388. package/dist/utilities/auth/signInAuthProvider.d.ts +0 -5
  1389. package/dist/utilities/auth/useAccessToken.d.ts +0 -1
  1390. package/dist/utilities/auth/useAuthedUser.d.ts +0 -15
  1391. package/dist/utilities/auth/useIsUnityAuthenticated.d.ts +0 -1
  1392. package/dist/utilities/auth/useSingleLogout.d.ts +0 -1
  1393. package/dist/utilities/auth/users.d.ts +0 -8
  1394. package/dist/utilities/auth/whitelistedPaths.d.ts +0 -1
  1395. package/dist/utilities/axiosInterceptors.d.ts +0 -2
  1396. package/dist/utilities/brand.d.ts +0 -19
  1397. package/dist/utilities/chatBot/useChatBot.d.ts +0 -6
  1398. package/dist/utilities/crud/useDefaultFormValues.d.ts +0 -6
  1399. package/dist/utilities/customIcons/ApprovalIcon.d.ts +0 -1
  1400. package/dist/utilities/customIcons/RejectIcon.d.ts +0 -1
  1401. package/dist/utilities/entities/entityUtilities.d.ts +0 -3
  1402. package/dist/utilities/floorplanFunctions/gridVisualizationFunctions.d.ts +0 -2
  1403. package/dist/utilities/form/AltSubmitButton.d.ts +0 -13
  1404. package/dist/utilities/form/Field.d.ts +0 -22
  1405. package/dist/utilities/form/Form.d.ts +0 -7
  1406. package/dist/utilities/form/FormButtons.d.ts +0 -2
  1407. package/dist/utilities/form/FormSpy.d.ts +0 -10
  1408. package/dist/utilities/form/SubmitButton.d.ts +0 -13
  1409. package/dist/utilities/form/arrayMutators.d.ts +0 -2
  1410. package/dist/utilities/form/final-form-scroll/createDecorator.d.ts +0 -5
  1411. package/dist/utilities/form/final-form-scroll/findInput.d.ts +0 -2
  1412. package/dist/utilities/form/final-form-scroll/getAllInputs.d.ts +0 -2
  1413. package/dist/utilities/form/final-form-scroll/isFocusableInput.d.ts +0 -2
  1414. package/dist/utilities/form/formHooks.d.ts +0 -3
  1415. package/dist/utilities/form/paymentForm/AccountPayment.model.d.ts +0 -143
  1416. package/dist/utilities/form/paymentForm/BankIcon.d.ts +0 -8
  1417. package/dist/utilities/form/paymentForm/CashIcon.d.ts +0 -8
  1418. package/dist/utilities/form/paymentForm/CheckIcon.d.ts +0 -8
  1419. package/dist/utilities/form/paymentForm/CreditCardIcon.d.ts +0 -8
  1420. package/dist/utilities/form/paymentForm/NewCreditCardForm.d.ts +0 -19
  1421. package/dist/utilities/form/paymentForm/NewECheckForm.d.ts +0 -15
  1422. package/dist/utilities/form/paymentForm/PaymentBankDetails.d.ts +0 -12
  1423. package/dist/utilities/form/paymentForm/PaymentCard.d.ts +0 -12
  1424. package/dist/utilities/form/paymentForm/PaymentCardDetail.d.ts +0 -19
  1425. package/dist/utilities/form/paymentForm/PaymentDropdown.d.ts +0 -32
  1426. package/dist/utilities/form/paymentForm/PaymentForm.d.ts +0 -77
  1427. package/dist/utilities/form/paymentForm/TabPanel.d.ts +0 -20
  1428. package/dist/utilities/form/paymentForm/usePaymentProviderForm.d.ts +0 -12
  1429. package/dist/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts +0 -40
  1430. package/dist/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts +0 -46
  1431. package/dist/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +0 -13
  1432. package/dist/utilities/iconLibrary/IconLibraryComponent.d.ts +0 -7
  1433. package/dist/utilities/iconLibrary/SelectedLibraryItem.d.ts +0 -2
  1434. package/dist/utilities/iconLibrary/UnityIconLibrary.d.ts +0 -7
  1435. package/dist/utilities/input/DateUtilities.d.ts +0 -2
  1436. package/dist/utilities/input/SelectUtilities.d.ts +0 -3
  1437. package/dist/utilities/input/StringUtilities.d.ts +0 -7
  1438. package/dist/utilities/isValueSelected.d.ts +0 -1
  1439. package/dist/utilities/maintenanceEngine/CrudBrowserUtilities.d.ts +0 -5
  1440. package/dist/utilities/menus/menuUtilities.d.ts +0 -1
  1441. package/dist/utilities/menus/redirectToLink.d.ts +0 -1
  1442. package/dist/utilities/page/PageSubHeaderAction.d.ts +0 -11
  1443. package/dist/utilities/provider/ActionProvider.d.ts +0 -1
  1444. package/dist/utilities/redirect/ExternalRedirectUrlStorage.d.ts +0 -3
  1445. package/dist/utilities/redirect/LocalRedirectUrlStorage.d.ts +0 -5
  1446. package/dist/utilities/redirect/pages/OutlookCallback.d.ts +0 -1
  1447. package/dist/utilities/rules/RuleUtilities.d.ts +0 -5
  1448. package/dist/utilities/search/Search.d.ts +0 -37
  1449. package/dist/utilities/search/SearchUtilities.d.ts +0 -12
  1450. package/dist/utilities/storage/UnitySessionStorage.d.ts +0 -4
  1451. package/dist/utilities/stringUtils.d.ts +0 -8
  1452. package/dist/utilities/style/ContentContainer.d.ts +0 -11
  1453. package/dist/utilities/style/colorConverter.d.ts +0 -3
  1454. package/dist/utilities/style/colors.d.ts +0 -107
  1455. package/dist/utilities/style/utils/styleUtils.d.ts +0 -2
  1456. package/dist/utilities/style/verticalStyles.d.ts +0 -4
  1457. package/dist/utilities/systemColors.d.ts +0 -1
  1458. package/dist/utilities/tenant/TenantProvider.d.ts +0 -3
  1459. package/dist/utilities/tenant/useTenant.d.ts +0 -6
  1460. package/dist/utilities/theme.d.ts +0 -3
  1461. package/dist/utilities/tree/TreeUtilities.d.ts +0 -74
  1462. package/dist/utilities/uploader/FileProfile.d.ts +0 -2
  1463. package/dist/utilities/uploader/FileType.d.ts +0 -1
  1464. package/dist/utilities/uploader/FileUpload.d.ts +0 -1
  1465. package/dist/utilities/uploader/ImagePreview.d.ts +0 -2
  1466. package/dist/utilities/uploader/formatBytes.d.ts +0 -1
  1467. package/dist/utilities/useAxiosGet.d.ts +0 -10
  1468. package/dist/utilities/useAxiosMutate.d.ts +0 -6
  1469. package/dist/utilities/usePrevious.d.ts +0 -1
  1470. package/dist/utilities/utilityBar/InquiryHeaderControl.d.ts +0 -11
  1471. package/dist/utilities/utilityBar/InquiryHeaderSecondary.d.ts +0 -11
  1472. package/dist/utilities/utilityBar/InquiryHeaderSecondaryAlert.d.ts +0 -11
  1473. package/dist/utilities/utilityBar/InquiryHeaderTitle.d.ts +0 -11
  1474. package/dist/utilities/utilityBar/SubHeaderAction.d.ts +0 -11
  1475. package/dist/utilities/utilityBar/UtilityBarInport.d.ts +0 -11
  1476. package/dist/utilities/workflow/workflowUtilities.d.ts +0 -47
  1477. package/dist/workflow/WorkflowContainer.d.ts +0 -1
  1478. package/dist/workflow/WorkflowContent.d.ts +0 -1
  1479. package/dist/workflow/WorkflowUiInterruptContent.d.ts +0 -1
  1480. package/dist/workflow/components/WorkflowTaskFlow.d.ts +0 -1
  1481. package/dist/workflow/menus/WorkflowTreeMenu.d.ts +0 -1
  1482. package/dist/workflow/menus/WorkflowTreeMenuItem.d.ts +0 -1
  1483. /package/dist/{UI → types/UI}/charts/UdpDistributionChart.d.ts +0 -0
  1484. /package/dist/{UI → types/UI}/charts/types.d.ts +0 -0
  1485. /package/dist/{UI → types/UI}/dataDisplay/FluentDataTable/FluentBody/index.d.ts +0 -0
  1486. /package/dist/{UI → types/UI}/dataDisplay/FluentDataTable/FluentHead/index.d.ts +0 -0
  1487. /package/dist/{UI → types/UI}/dataDisplay/FluentDataTable/FluentRow/index.d.ts +0 -0
  1488. /package/dist/{UI → types/UI}/dataDisplay/cardList/enum.d.ts +0 -0
  1489. /package/dist/{UI → types/UI}/dataDisplay/map/FluentIconKey.d.ts +0 -0
  1490. /package/dist/{UI → types/UI}/dataDisplay/visualization/amCharts/AmSankeyChart.d.ts +0 -0
  1491. /package/dist/{UI → types/UI}/fileViewer/pdfViewer/ControlPanel.d.ts +0 -0
  1492. /package/dist/{UI → types/UI}/fileViewer/pdfViewer/PDFViewer.d.ts +0 -0
  1493. /package/dist/{UI → types/UI}/inputs/fieldArrayCard/fieldArrayCardEnum.d.ts +0 -0
  1494. /package/dist/{UI → types/UI}/stepper/types.d.ts +0 -0
  1495. /package/dist/{UI → types/UI}/surfaces/cards/FUICardHeader.d.ts +0 -0
  1496. /package/dist/{UI → types/UI}/widgets/FluentComponents/FUIMenuItem.d.ts +0 -0
  1497. /package/dist/{UI → types/UI}/widgets/utils/useId.d.ts +0 -0
  1498. /package/dist/{actions → types/actions}/actionSummary/ActionSummaryCard.d.ts +0 -0
  1499. /package/dist/{actions → types/actions}/actionSummary/ActionSummaryListContainer.d.ts +0 -0
  1500. /package/dist/{actions → types/actions}/actionSummary/index.d.ts +0 -0
  1501. /package/dist/{contexts → types/contexts}/PageContext.d.ts +0 -0
  1502. /package/dist/{dashboard → types/dashboard}/DashboardWidget.d.ts +0 -0
  1503. /package/dist/{dashboard → types/dashboard}/getWidgetLayout.d.ts +0 -0
  1504. /package/dist/{dashboard → types/dashboard}/types.d.ts +0 -0
  1505. /package/dist/{enums → types/enums}/aggridEnums.d.ts +0 -0
  1506. /package/dist/{enums → types/enums}/menuEnums.d.ts +0 -0
  1507. /package/dist/{enums → types/enums}/pageEnums.d.ts +0 -0
  1508. /package/dist/{enums → types/enums}/paymentMethodTypeEnum.d.ts +0 -0
  1509. /package/dist/{enums → types/enums}/paymentTenderTypeEnum.d.ts +0 -0
  1510. /package/dist/{enums → types/enums}/paymentVendorFactoryEnum.d.ts +0 -0
  1511. /package/dist/{enums → types/enums}/propertyTypeEnums.d.ts +0 -0
  1512. /package/dist/{enums → types/enums}/searchEnums.d.ts +0 -0
  1513. /package/dist/{enums → types/enums}/tagEnums.d.ts +0 -0
  1514. /package/dist/{enums → types/enums}/unitySystemEnums.d.ts +0 -0
  1515. /package/dist/{enums → types/enums}/workflowEnums.d.ts +0 -0
  1516. /package/dist/{index.test.d.ts → types/index.test.d.ts} +0 -0
  1517. /package/dist/{maps/openLayerMaps → types/map-library}/Map/index.d.ts +0 -0
  1518. /package/dist/{maps → types/maps}/openLayerMaps/Layers/index.d.ts +0 -0
  1519. /package/dist/{models → types/models}/ApiMethodInstance.d.ts +0 -0
  1520. /package/dist/{models → types/models}/GroupNode.d.ts +0 -0
  1521. /package/dist/{models → types/models}/Lookup.d.ts +0 -0
  1522. /package/dist/{models → types/models}/NumberOperator.d.ts +0 -0
  1523. /package/dist/{models → types/models}/QueryResult.d.ts +0 -0
  1524. /package/dist/{models → types/models}/SearchOperator.d.ts +0 -0
  1525. /package/dist/{udp → types/udp}/fileImportMapping/FileImportMappingEnums.d.ts +0 -0
  1526. /package/dist/{utilities → types/utilities}/aggrid/aggridHelpers.d.ts +0 -0
  1527. /package/dist/{utilities → types/utilities}/auth/authActions.d.ts +0 -0
  1528. /package/dist/{utilities → types/utilities}/auth/useUser.d.ts +0 -0
  1529. /package/dist/{utilities → types/utilities}/auth/user.d.ts +0 -0
  1530. /package/dist/{utilities → types/utilities}/chatBot/ChatBotContext.d.ts +0 -0
  1531. /package/dist/{utilities → types/utilities}/chatBot/ChatBotProvider.d.ts +0 -0
  1532. /package/dist/{utilities → types/utilities}/form/FormError.d.ts +0 -0
  1533. /package/dist/{utilities → types/utilities}/form/index.d.ts +0 -0
  1534. /package/dist/{utilities → types/utilities}/form/paymentForm/BankAccountForm.d.ts +0 -0
  1535. /package/dist/{utilities → types/utilities}/form/paymentForm/CashForm.d.ts +0 -0
  1536. /package/dist/{utilities → types/utilities}/form/paymentForm/CreditCardAdornment.d.ts +0 -0
  1537. /package/dist/{utilities → types/utilities}/form/paymentForm/CreditCardForm.d.ts +0 -0
  1538. /package/dist/{utilities → types/utilities}/form/paymentForm/CreditCardUtils.d.ts +0 -0
  1539. /package/dist/{utilities → types/utilities}/form/paymentForm/DisableOverlay.d.ts +0 -0
  1540. /package/dist/{utilities → types/utilities}/form/paymentForm/HostedPaymentError.d.ts +0 -0
  1541. /package/dist/{utilities → types/utilities}/form/paymentForm/PaymentAccount.model.d.ts +0 -0
  1542. /package/dist/{utilities → types/utilities}/form/paymentForm/PaymentBoxDetail.d.ts +0 -0
  1543. /package/dist/{utilities → types/utilities}/form/useFieldChangeListener.d.ts +0 -0
  1544. /package/dist/{utilities → types/utilities}/iconLibrary/IconLibrary.d.ts +0 -0
  1545. /package/dist/{utilities → types/utilities}/tenant/tenantContext.d.ts +0 -0
  1546. /package/dist/{utilities → types/utilities}/theme.types.d.ts +0 -0
  1547. /package/dist/{utilities → types/utilities}/types.d.ts +0 -0
  1548. /package/dist/{utilities → types/utilities}/useDevicePixelRatio.d.ts +0 -0
  1549. /package/dist/{utilities → types/utilities}/useGravatar.d.ts +0 -0
@@ -0,0 +1,3518 @@
1
+ import { Field, Form, SideSheet, apiMutate as apiMutate$1 } from "./SideSheet-CPHhyWLB.js";
2
+ import { FluentButton, FluentIcon, GridStateTypeEnums, LayoutUnit, NodeActionEnums, PrimaryActionButton, PrimaryActionButton_default, SplitScreenTypeEnums, UnityFluentIcon, VisibilityTypeEnums, toTitleCase, useAxiosGet, useId, useShellStore } from "./EnvironmentRibbon-BMvQEZPZ.js";
3
+ import { ClickOpenEnums, useHandleAxiosSnackbar } from "./apiHelpers-t3rfkjFZ.js";
4
+ import React$1, { Children, React as React$2, cloneElement, createContext, forwardRef, isValidElement, memo, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
5
+ import { Badge, Box, Button, ButtonGroup, Chip, ClickAwayListener, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, FormControlLabel, Grid, Grow, IconButton, InputAdornment, LinearProgress, MenuItem, MenuList, Paper, Popover, Popper, Switch, Tab, Tabs, TextField, Tooltip, Typography, lighten, makeStyles, useTheme } from "@material-ui/core";
6
+ import { ConfigService } from "udp-react-stencil-component-library";
7
+ import { useSnackbar } from "notistack";
8
+ import { useHistory } from "react-router-dom";
9
+ import clsx from "clsx";
10
+ import { AppIconDefaultIcon, AssessmentGroupIcon, BlockedIcon, BulletedTreeListIcon, ChevronDownIcon, ChevronFold10Icon, ChevronUnfold10Icon, ChromeCloseIcon, ClearIcon, CombineIcon, DeleteIcon, DownloadIcon, ErrorIcon, ExportIcon, FavoriteStarIcon, FilterIcon, LightbulbIcon, MoreVerticalIcon, OpenInNewTabIcon, SaveIcon, SearchIcon, TableHeaderRowIcon, TripleColumnIcon, UploadIcon } from "@fluentui/react-icons";
11
+ import PropTypes from "prop-types";
12
+ import { useTranslation } from "react-i18next";
13
+ import { create } from "zustand";
14
+ import { devtools } from "zustand/middleware";
15
+ import { makeStyles as makeStyles$1, useTheme as useTheme$1, withStyles as withStyles$1 } from "@material-ui/core/styles";
16
+ import { Skeleton } from "@material-ui/lab";
17
+ import "./style.css";
18
+ import ToggleButton from "@material-ui/lab/ToggleButton";
19
+ import { isFragment } from "react-is";
20
+ import { capitalize } from "@material-ui/core/utils";
21
+ import { ServerSideRowModelModule } from "@ag-grid-enterprise/server-side-row-model";
22
+ import invariant from "invariant";
23
+ import { AllModules } from "@ag-grid-enterprise/all-modules";
24
+ import "@ag-grid-enterprise/all-modules/dist/styles/ag-grid.css";
25
+ import "@ag-grid-enterprise/all-modules/dist/styles/ag-theme-material.css";
26
+ import "./utilities/aggrid/ag-grid-styles.scss";
27
+ import { AgGridReact } from "@ag-grid-community/react";
28
+ import { ExcelExportModule } from "@ag-grid-enterprise/excel-export";
29
+ import { bindPopper, bindTrigger, usePopupState } from "material-ui-popup-state/hooks";
30
+ import { ArrowDropDown } from "@material-ui/icons";
31
+ import { LicenseManager } from "@ag-grid-enterprise/core";
32
+ import Chip$1 from "@material-ui/core/Chip";
33
+ import Divider$1 from "@material-ui/core/Divider";
34
+ import Tooltip$1 from "@material-ui/core/Tooltip";
35
+ import Typography$1 from "@material-ui/core/Typography";
36
+ import StarIcon from "@material-ui/icons/Star";
37
+
38
+ //#region src/AGLicense.js
39
+ const LicenseKey = "Using_this_{AG_Grid}_Enterprise_key_{AG-060880}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Univerus_Software_Inc}_is_granted_a_{Single_Application}_Developer_License_for_the_application_{MAIS_eRec}_only_for_{1}_Front-End_JavaScript_developer___All_Front-End_JavaScript_developers_working_on_{MAIS_eRec}_need_to_be_licensed___{MAIS_eRec}_has_not_been_granted_a_Deployment_License_Add-on___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{28_June_2025}____[v3]_[01]_MTc1MTA2NTIwMDAwMA==17ac166e7bb5dcca7f3eaa21c79da63b";
40
+
41
+ //#endregion
42
+ //#region src/utilities/maintenanceEngine/CrudBrowserUtilities.js
43
+ const RESERVED_PATH_PARAMETERS = ["version", "udp-api-version"];
44
+ const getPrimaryKeyValues = (properties, entityValue) => {
45
+ const primaryKeyProperties = properties.filter((property) => property?.extendedProperties?.identifier);
46
+ const primaryKeyValues = primaryKeyProperties.reduce((keyValues, property) => {
47
+ if (entityValue && entityValue[property["name"]] !== null) keyValues.push(entityValue[property["name"]]);
48
+ return keyValues;
49
+ }, []);
50
+ return primaryKeyValues;
51
+ };
52
+ const getPathObject = (pathParameters, primaryKeyValues) => {
53
+ const primaryKeyParameters = pathParameters.filter((parameter) => parameter.name !== RESERVED_PATH_PARAMETERS);
54
+ const pathObject = {};
55
+ if (primaryKeyParameters.length && primaryKeyValues.length) primaryKeyParameters.forEach((pkp, index) => {
56
+ pathObject[`{${pkp.name}}`] = primaryKeyValues[index];
57
+ });
58
+ return pathObject;
59
+ };
60
+ const findTermByType = (fieldType, term) => {
61
+ if (fieldType.toLowerCase() === term) return fieldType.toLowerCase();
62
+ else return "";
63
+ };
64
+ const getModelProperties = (model, componentsObj) => {
65
+ let modelPropertiesObj = null;
66
+ if (model) {
67
+ modelPropertiesObj = model.properties;
68
+ if (!modelPropertiesObj) {
69
+ const refKeys = [];
70
+ if (model["allOf"]?.length) model["allOf"].forEach((reference) => {
71
+ if (reference["$ref"]) {
72
+ const refString = reference["$ref"];
73
+ if (refString) {
74
+ const lastIndex = refString.lastIndexOf("/");
75
+ const referenceModel = refString.substring(lastIndex + 1);
76
+ refKeys.push(referenceModel);
77
+ }
78
+ }
79
+ });
80
+ refKeys.forEach((key) => {
81
+ const abstractModel = componentsObj[key];
82
+ if (modelPropertiesObj && abstractModel?.properties) modelPropertiesObj = {
83
+ ...modelPropertiesObj,
84
+ ...abstractModel.properties
85
+ };
86
+ else modelPropertiesObj = abstractModel?.properties;
87
+ });
88
+ }
89
+ }
90
+ return modelPropertiesObj;
91
+ };
92
+ const getEntityAttributes = (catalog, entityName) => {
93
+ if (!catalog) return [];
94
+ const catalogObjectList = catalog?.ctlg?.catalogObjectList;
95
+ const componentsObj = catalog?.ctlg?.components;
96
+ const entity = catalogObjectList?.find((catalogObject) => catalogObject.catalogObjectName === entityName);
97
+ if (!!componentsObj && Object.keys(componentsObj).length) {
98
+ const model = componentsObj[entityName];
99
+ let modelPropertiesObj = getModelProperties(model, componentsObj);
100
+ if (entity?.properties?.length) entity.properties.forEach((property) => {
101
+ let nullable = true;
102
+ if (modelPropertiesObj) {
103
+ const modelProperty = modelPropertiesObj[property["name"]];
104
+ if (modelProperty) nullable = modelProperty.nullable || false;
105
+ }
106
+ property["nullable"] = nullable;
107
+ });
108
+ }
109
+ return entity ? entity.properties : [];
110
+ };
111
+ const getPathParametersObj = (pathParametersDefinition, entityData) => {
112
+ if (!pathParametersDefinition || !entityData) return {};
113
+ const pathParametersObj = {};
114
+ for (let param of pathParametersDefinition) pathParametersObj[param.name] = entityData[param.name];
115
+ return pathParametersObj;
116
+ };
117
+
118
+ //#endregion
119
+ //#region src/utilities/entities/entityUtilities.js
120
+ const getCommonEntityName = (entityName) => {
121
+ if (!entityName) return entityName;
122
+ return toTitleCase(getSanitizedName(entityName));
123
+ };
124
+ const getSanitizedName = (entityName) => {
125
+ if (!entityName) return "";
126
+ const entityNameParts = entityName.split(".");
127
+ return entityNameParts[entityNameParts.length - 1];
128
+ };
129
+ const getFullyQualifiedName = (udpObjectInfo) => {
130
+ if (!udpObjectInfo) return "";
131
+ const modelNameSpace = udpObjectInfo.namespaceStructure?.model;
132
+ if (modelNameSpace) return `${modelNameSpace}.Models.${udpObjectInfo.sanitizedName}`;
133
+ else return "";
134
+ };
135
+
136
+ //#endregion
137
+ //#region src/contexts/ActionDispatchContext.js
138
+ const ActionDispatchContext = createContext(null);
139
+
140
+ //#endregion
141
+ //#region src/contexts/ActionContext.js
142
+ const ActionContext = createContext(null);
143
+
144
+ //#endregion
145
+ //#region src/UI/SuccessAction.jsx
146
+ const getSuccessAction = (closeSnackbar) => {
147
+ const successAction = (key) => /* @__PURE__ */ React$1.createElement(Button, {
148
+ color: "secondary",
149
+ size: "small",
150
+ onClick: () => {
151
+ closeSnackbar(key);
152
+ }
153
+ }, "OK");
154
+ return successAction;
155
+ };
156
+
157
+ //#endregion
158
+ //#region src/stores/actionStore.ts
159
+ const useActionStore = create()(devtools((set) => ({
160
+ selectedNode: null,
161
+ setSelectedNode: (selectedNode) => set((state) => ({ selectedNode })),
162
+ hideActions: false,
163
+ setHideActions: (hideActions) => set((state) => ({ hideActions }))
164
+ })));
165
+
166
+ //#endregion
167
+ //#region src/stores/inquiryStore.ts
168
+ const useInquiryStore = create()(devtools((set) => ({
169
+ title: "",
170
+ setInquiryToolbarTitle: (title) => set((state) => ({ title })),
171
+ workflowMap: {},
172
+ setWorkflowMap: (workflowMap) => set((state) => ({ workflowMap: {
173
+ ...state.workflowMap,
174
+ ...workflowMap
175
+ } })),
176
+ workflowStarting: false,
177
+ setWorkflowStarting: (workflowStarting) => set((state) => ({ workflowStarting }))
178
+ })));
179
+
180
+ //#endregion
181
+ //#region src/actions/utils/actionUtils.js
182
+ function isValidURL(url) {
183
+ const urlPattern = /^(ftp|http|https):\/\/[^ "]+$/;
184
+ return urlPattern.test(url);
185
+ }
186
+ const useHandleAction = () => {
187
+ const history = useHistory();
188
+ const { t } = useTranslation();
189
+ const { enqueueSnackbar, closeSnackbar } = useSnackbar();
190
+ const successAction = getSuccessAction(closeSnackbar);
191
+ const selectedNode = useActionStore((state) => state.selectedNode);
192
+ const setWorkflowMap = useInquiryStore((state) => state.setWorkflowMap);
193
+ const setWorkflowStarting = useInquiryStore((state) => state.setWorkflowStarting);
194
+ const executeStartWorkflow = async (workflowId, payload) => apiMutate$1(ConfigService.config.BUILDER_API_BASE, `workflow/${workflowId}/start`, { method: "post" }, { data: payload });
195
+ const getApiMethod = async (apiMethodId) => apiMutate$1(ConfigService.config.INTEGRATION_API_BASE, `apimethod/${apiMethodId}`, { method: "get" });
196
+ const handleAction = async (dispatch, action, state, executeAction, apiCatalogId, entityAttributes, actionData, currentContainerId) => {
197
+ if (!action) return;
198
+ const actionName = action.name;
199
+ let actionValue = action.value;
200
+ if (action?.parameters?.entityName) actionValue += "?entityName=" + action.parameters.entityName + "&apiCatalogId=" + apiCatalogId;
201
+ switch (action.actionTypeId) {
202
+ case NodeActionEnums.Open_External_Link:
203
+ window.open(actionValue, "_blank");
204
+ break;
205
+ case NodeActionEnums.Redirect:
206
+ if (isValidURL(actionValue)) window.location.href = actionValue;
207
+ else history.push(actionValue);
208
+ break;
209
+ case NodeActionEnums.Create:
210
+ if (dispatch) dispatch({
211
+ type: "OPEN_SIDESHEET",
212
+ sideSheet: {
213
+ action,
214
+ open: true
215
+ }
216
+ });
217
+ break;
218
+ case NodeActionEnums.Update:
219
+ if (dispatch) dispatch({
220
+ type: "OPEN_SIDESHEET",
221
+ sideSheet: {
222
+ action,
223
+ open: true
224
+ }
225
+ });
226
+ break;
227
+ case NodeActionEnums.Delete:
228
+ if (dispatch) dispatch({
229
+ type: "OPEN_MODAL",
230
+ modal: {
231
+ action,
232
+ open: true,
233
+ title: "Delete "
234
+ }
235
+ });
236
+ break;
237
+ case NodeActionEnums.Retrieve:
238
+ if (dispatch) if (currentContainerId) break;
239
+ else dispatch({
240
+ type: "OPEN_SPLIT_SCREEN",
241
+ splitScreen: {
242
+ action,
243
+ open: true,
244
+ type: SplitScreenTypeEnums.Entity
245
+ }
246
+ });
247
+ break;
248
+ case NodeActionEnums.Open_Page_Split_Screen:
249
+ if (dispatch) if (!!selectedNode) dispatch({
250
+ type: "OPEN_PAGE_CONTAINER_SPLIT_SCREEN",
251
+ pageContainerSplitScreen: {
252
+ action,
253
+ open: true,
254
+ type: SplitScreenTypeEnums.Page
255
+ }
256
+ });
257
+ else dispatch({
258
+ type: "OPEN_PAGE_SPLIT_SCREEN",
259
+ pageSplitScreen: {
260
+ action,
261
+ open: true,
262
+ type: SplitScreenTypeEnums.Page
263
+ }
264
+ });
265
+ break;
266
+ case NodeActionEnums.Open_Shell_Split_Screen:
267
+ if (dispatch) if (currentContainerId) break;
268
+ else dispatch({
269
+ type: "OPEN_SPLIT_SCREEN",
270
+ splitScreen: {
271
+ action,
272
+ open: true,
273
+ type: SplitScreenTypeEnums.Page
274
+ }
275
+ });
276
+ break;
277
+ case NodeActionEnums.Open_Notes:
278
+ if (dispatch) if (currentContainerId) break;
279
+ else dispatch({
280
+ type: "OPEN_SPLIT_SCREEN",
281
+ splitScreen: {
282
+ action,
283
+ open: true,
284
+ type: SplitScreenTypeEnums.Notes
285
+ }
286
+ });
287
+ break;
288
+ case NodeActionEnums.Open_Reminders:
289
+ if (dispatch) if (currentContainerId) break;
290
+ else dispatch({
291
+ type: "OPEN_SPLIT_SCREEN",
292
+ splitScreen: {
293
+ action,
294
+ open: true,
295
+ type: SplitScreenTypeEnums.Reminders
296
+ }
297
+ });
298
+ break;
299
+ case NodeActionEnums.Execute_Api:
300
+ if (executeAction && action?.value) {
301
+ let data = {};
302
+ if (entityAttributes.length > 0 && (selectedNode?.nodeObj || actionData)) {
303
+ if (actionData) data = { ...actionData };
304
+ else data = { ...selectedNode?.nodeObj };
305
+ const removeAttributes = entityAttributes.filter((p) => p?.extendedProperties?.childEntity);
306
+ removeAttributes.forEach((att) => {
307
+ if (att["name"] in data || "serializeFields" in data) delete data[att["name"]];
308
+ });
309
+ }
310
+ const apiMethod = await getApiMethod(action?.value);
311
+ const pathParamValues = getPathParametersObj(apiMethod?.data?.pathParametersDefinition, data);
312
+ executeAction({ data: {
313
+ requestBody: data,
314
+ ...pathParamValues
315
+ } }, action.value).then((res) => {
316
+ enqueueSnackbar(t(`${action?.name} api has been executed successfully.`), {
317
+ anchorOrigin: {
318
+ vertical: "top",
319
+ horizontal: "center"
320
+ },
321
+ action: successAction
322
+ });
323
+ }).catch((res) => {
324
+ enqueueSnackbar(res.message, {
325
+ variant: "error",
326
+ anchorOrigin: {
327
+ vertical: "top",
328
+ horizontal: "center"
329
+ }
330
+ });
331
+ });
332
+ } else enqueueSnackbar(t(`Unable to execute ${actionName} action.`), {
333
+ variant: "error",
334
+ anchorOrigin: {
335
+ vertical: "top",
336
+ horizontal: "center"
337
+ }
338
+ });
339
+ break;
340
+ case NodeActionEnums.Start_Workflow:
341
+ setWorkflowStarting(true);
342
+ const response = await executeStartWorkflow(actionValue, actionData || {}).catch((e) => {
343
+ enqueueSnackbar(t(`Unable to Start Workflow`), {
344
+ variant: "error",
345
+ anchorOrigin: {
346
+ vertical: "top",
347
+ horizontal: "center"
348
+ }
349
+ });
350
+ });
351
+ setWorkflowStarting(false);
352
+ if (response.status === 200) {
353
+ const playId = response.data;
354
+ if (selectedNode) {
355
+ const workflow = {
356
+ inWorkflowMode: true,
357
+ currentWorkflowPlayId: playId
358
+ };
359
+ const containerId = currentContainerId || 0;
360
+ setWorkflowMap({ [containerId]: workflow });
361
+ } else history.push({
362
+ pathname: `/workflowtask/${playId}?taskId=`,
363
+ state: { label: t("Workflow") }
364
+ });
365
+ }
366
+ break;
367
+ case NodeActionEnums.Execute_Function:
368
+ actionData?.execute && actionData.execute();
369
+ break;
370
+ default: break;
371
+ }
372
+ };
373
+ return { handleAction };
374
+ };
375
+
376
+ //#endregion
377
+ //#region src/contexts/ActionLoadingDispatchContext.js
378
+ const ActionLoadingDispatchContext = createContext(null);
379
+
380
+ //#endregion
381
+ //#region src/stores/catalogStore.ts
382
+ const useCatalogStore = create()(devtools((set) => ({
383
+ currentApiCatalogId: "",
384
+ setCurrentApiCatalogId: (apiCatalogId) => {
385
+ sessionStorage.setItem("current-api-catalog-id", apiCatalogId);
386
+ set((state) => ({ currentApiCatalogId: apiCatalogId }));
387
+ },
388
+ catalogsMap: {},
389
+ setCatalogsMap: (catalogsMap) => set((state) => ({ catalogsMap: {
390
+ ...state.catalogsMap,
391
+ ...catalogsMap
392
+ } })),
393
+ promotedEntityMap: {},
394
+ setPromotedEntityMap: (promotedEntityMap) => set((state) => ({ promotedEntityMap: {
395
+ ...state.promotedEntityMap,
396
+ ...promotedEntityMap
397
+ } }))
398
+ })));
399
+
400
+ //#endregion
401
+ //#region src/hooks/useActions.js
402
+ const useActions = () => {
403
+ const dispatch = useContext(ActionDispatchContext);
404
+ const dispatchActionLoading = useContext(ActionLoadingDispatchContext);
405
+ const actionState = useActionState();
406
+ const { catalogsMap, currentApiCatalogId } = useCatalogStore();
407
+ const currentContainerId = useShellStore((state) => state.currentContainerId);
408
+ const { enqueueSnackbar } = useSnackbar();
409
+ const { t } = useTranslation();
410
+ const { handleAction } = useHandleAction();
411
+ const setActionLoading = useCallback((loading) => {
412
+ dispatchActionLoading({
413
+ type: "SET_ACTION_LOADING",
414
+ loading
415
+ });
416
+ }, [dispatchActionLoading]);
417
+ const setActionWaitingToExecute = useCallback((actionId) => {
418
+ dispatchActionLoading({
419
+ type: "SET_ACTION_WAITING_TO_EXECUTE",
420
+ actionId
421
+ });
422
+ }, [dispatchActionLoading]);
423
+ const executeGetAction = useCallback(async (actionId) => apiMutate$1(ConfigService.integrationV1ApiUrl, `action/${actionId}`, { method: "get" }, {}), []);
424
+ const executeAction = useCallback(async (data, id) => apiMutate$1(ConfigService.integrationV1ApiUrl, `apimethod/executeQueryWithParameters/${id}`, { method: "post" }, data), []);
425
+ const setActionPanels = useCallback((actionPanels, containerId) => {
426
+ dispatch({
427
+ type: "SET_ACTION_PANELS",
428
+ actionPanels,
429
+ containerId
430
+ });
431
+ }, [dispatch]);
432
+ const getActionPanelByAction = useCallback((act) => {
433
+ if (act && actionState) {
434
+ const actionPanels = actionState.actionPanels;
435
+ const containerId = currentContainerId || 0;
436
+ if (actionPanels && Array.isArray(actionPanels) && actionPanels[containerId]) {
437
+ const actionPanel = actionPanels[containerId];
438
+ if (Array.isArray(actionPanel.panelActions)) {
439
+ const foundPanel = actionPanel.find((ap) => {
440
+ return ap.panelActions.find((pa) => {
441
+ return pa.actionId === act.actionId;
442
+ });
443
+ });
444
+ return foundPanel;
445
+ } else console.error("panelActions is not an array:", actionPanel.panelActions);
446
+ } else console.error("actionPanels is not valid:", actionPanels);
447
+ } else console.error("act or actionState is not defined:", act, actionState);
448
+ return null;
449
+ }, [actionState, currentContainerId]);
450
+ const setupAndExecuteAction = useCallback(async (catalog, actionId, actionData) => {
451
+ await executeGetAction(actionId).then((resp) => {
452
+ const panel = getActionPanelByAction(resp.data);
453
+ let entityName = panel?.entityName;
454
+ if (!panel) entityName = resp?.data?.parameters?.entityName;
455
+ if (entityName) {
456
+ actionState?.setCurrentEntityName && actionState.setCurrentEntityName(entityName);
457
+ const eAttributes = getEntityAttributes(catalog, entityName);
458
+ if (!eAttributes?.length && resp.data.actionTypeId !== NodeActionEnums.Start_Workflow) enqueueSnackbar(t(`Unable to retrieve entity attributes.`), {
459
+ variant: "error",
460
+ anchorOrigin: {
461
+ vertical: "top",
462
+ horizontal: "center"
463
+ }
464
+ });
465
+ else handleAction(dispatch, resp.data, actionState, executeAction, catalog?.apiCatalogId, eAttributes, actionData, currentContainerId);
466
+ } else {
467
+ console.warn("Entity name does not exist");
468
+ handleAction(dispatch, resp.data, actionState, executeAction, catalog?.apiCatalogId, {}, actionData, currentContainerId);
469
+ }
470
+ });
471
+ }, [
472
+ actionState,
473
+ enqueueSnackbar,
474
+ executeAction,
475
+ executeGetAction,
476
+ getActionPanelByAction,
477
+ handleAction,
478
+ t,
479
+ dispatch,
480
+ currentContainerId
481
+ ]);
482
+ const executeTriggerAction = useCallback(async (actionId, actionData) => {
483
+ if (actionState?.catalogPromise) {
484
+ if (!actionState?.catalog) setActionWaitingToExecute(actionId);
485
+ try {
486
+ const result = await actionState.catalogPromise;
487
+ setupAndExecuteAction(result?.data || catalogsMap[currentApiCatalogId], actionId, actionData);
488
+ } catch (error) {
489
+ enqueueSnackbar(t(`Unable to retrieve catalog data.`), {
490
+ variant: "error",
491
+ anchorOrigin: {
492
+ vertical: "top",
493
+ horizontal: "center"
494
+ }
495
+ });
496
+ }
497
+ }
498
+ setActionWaitingToExecute("");
499
+ }, [
500
+ setupAndExecuteAction,
501
+ enqueueSnackbar,
502
+ t,
503
+ actionState,
504
+ setActionWaitingToExecute,
505
+ catalogsMap,
506
+ currentApiCatalogId
507
+ ]);
508
+ const triggerAction = useCallback((actionId, actionData) => {
509
+ executeTriggerAction(actionId, actionData);
510
+ }, [executeTriggerAction]);
511
+ const triggerMultipleActions = useCallback((actionIds) => {
512
+ actionIds.forEach((id) => {
513
+ executeTriggerAction(id);
514
+ });
515
+ }, [executeTriggerAction]);
516
+ const setCatalogEntities = useCallback((catalogEntities) => {
517
+ dispatch({
518
+ type: "SET_CATALOG_ENTITIES",
519
+ catalogEntities
520
+ });
521
+ }, [dispatch]);
522
+ const setCatalogPromotedEntities = useCallback((catalogPromotedEntities) => {
523
+ dispatch({
524
+ type: "SET_CATALOG_PROMOTED_ENTITIES",
525
+ catalogPromotedEntities
526
+ });
527
+ }, [dispatch]);
528
+ const setInquiryParams = useCallback((inquiryParams, containerId) => {
529
+ dispatch({
530
+ type: "SET_INQUIRY_PARAMS",
531
+ inquiryParams,
532
+ containerId
533
+ });
534
+ }, [dispatch]);
535
+ const setShowInquiryHeaderActions = useCallback((showInquiryHeaderActions) => {
536
+ dispatch({
537
+ type: "SET_SHOW_INQUIRY_HEADER_ACTIONS",
538
+ showInquiryHeaderActions
539
+ });
540
+ }, [dispatch]);
541
+ const setMenuListState = useCallback((menuListState) => {
542
+ dispatch({
543
+ type: "SET_MENU_LIST_STATE",
544
+ menuListState
545
+ });
546
+ }, [dispatch]);
547
+ const closeAllSplitScreens = useCallback(() => {
548
+ dispatch({ type: "CLOSE_ALL_SPLIT_SCREENS" });
549
+ }, [dispatch]);
550
+ const openSplitScreen = useCallback((splitScreen) => {
551
+ dispatch({
552
+ type: "OPEN_SPLIT_SCREEN",
553
+ splitScreen
554
+ });
555
+ }, [dispatch]);
556
+ const openPageSplitScreen = useCallback((pageSplitScreen) => {
557
+ dispatch({
558
+ type: "OPEN_PAGE_SPLIT_SCREEN",
559
+ pageSplitScreen
560
+ });
561
+ }, [dispatch]);
562
+ const openPageContainerSplitScreen = useCallback((pageContainerSplitScreen) => {
563
+ dispatch({
564
+ type: "OPEN_PAGE_CONTAINER_SPLIT_SCREEN",
565
+ pageContainerSplitScreen
566
+ });
567
+ }, [dispatch]);
568
+ const setApiCatalog = useCallback((catalog) => {
569
+ dispatch({
570
+ type: "SET_API_CATALOG",
571
+ catalog
572
+ });
573
+ }, [dispatch]);
574
+ return {
575
+ setActionPanels,
576
+ triggerAction,
577
+ triggerMultipleActions,
578
+ setCatalogEntities,
579
+ setCatalogPromotedEntities,
580
+ setInquiryParams,
581
+ setShowInquiryHeaderActions,
582
+ setMenuListState,
583
+ closeAllSplitScreens,
584
+ openSplitScreen,
585
+ openPageSplitScreen,
586
+ openPageContainerSplitScreen,
587
+ setApiCatalog,
588
+ setActionLoading
589
+ };
590
+ };
591
+ const useActionState = () => useContext(ActionContext);
592
+
593
+ //#endregion
594
+ //#region src/UI/inputs/textField/AmbientTextField.jsx
595
+ const useStyles$21 = makeStyles((theme) => ({
596
+ input: {
597
+ borderRadius: 2,
598
+ height: (props) => !props.multiline && !Array.isArray(props.value) && 32,
599
+ padding: (props) => !props.multiline && 0,
600
+ paddingBottom: 10,
601
+ marginTop: 3,
602
+ "& .MuiFilledInput-inputMarginDense": { paddingTop: 8 },
603
+ "& .MuiInputAdornment-filled.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel)": {
604
+ marginTop: theme.spacing(.5),
605
+ marginLeft: theme.spacing(1)
606
+ }
607
+ },
608
+ formTextInput: { fontSize: 14 },
609
+ labelRoot: { fontSize: 14 },
610
+ FormControl: {
611
+ display: "none",
612
+ marginTop: 0
613
+ },
614
+ root: {
615
+ width: "100%",
616
+ marginTop: 25,
617
+ "& .MuiFormLabel-root": {
618
+ marginTop: -30,
619
+ marginLeft: -11
620
+ },
621
+ "& .MuiInputAdornment-root": { paddingLeft: theme.spacing(1) }
622
+ },
623
+ noLabel: { marginTop: theme.spacing(1) }
624
+ }));
625
+ const AmbientTextField = (props) => {
626
+ const classes = useStyles$21(props);
627
+ const { id, label, startAdornment, endAdornment, title = "noTitle",...InputProps } = props;
628
+ return /* @__PURE__ */ React$1.createElement("div", { className: label ? classes.root : classes.noLabel }, /* @__PURE__ */ React$1.createElement(TextField, {
629
+ ...InputProps,
630
+ id,
631
+ udprecordid: `udpRecord-FluentAmbientTextField-${title.replace(/\s/g, "")}-${props?.InputProps?.type}`,
632
+ variant: "filled",
633
+ size: "small",
634
+ margin: "dense",
635
+ label,
636
+ classes: { label: classes.label },
637
+ InputProps: {
638
+ classes: {
639
+ root: classes.input,
640
+ input: classes.formTextInput,
641
+ ...props.InputProps?.classes
642
+ },
643
+ ...props.InputProps,
644
+ ...startAdornment,
645
+ ...endAdornment
646
+ },
647
+ InputLabelProps: {
648
+ shrink: false,
649
+ classes: {
650
+ root: classes.labelRoot,
651
+ focused: classes.labelFocused
652
+ }
653
+ }
654
+ }));
655
+ };
656
+ AmbientTextField.propTypes = {
657
+ id: PropTypes.string,
658
+ label: PropTypes.string,
659
+ startAdornment: PropTypes.node,
660
+ endAdornment: PropTypes.node
661
+ };
662
+
663
+ //#endregion
664
+ //#region src/utilities/style/utils/styleUtils.js
665
+ const getEllipseColor = (theme, color) => {
666
+ if (!theme) return "";
667
+ let ellipseColor = theme.palette.primary.main;
668
+ switch (color) {
669
+ case "action":
670
+ ellipseColor = theme.palette.systemIcon?.action?.main;
671
+ break;
672
+ case "sequence":
673
+ ellipseColor = theme.palette.systemIcon?.sequence?.main;
674
+ break;
675
+ case "trigger":
676
+ ellipseColor = theme.palette.systemIcon?.trigger?.main;
677
+ break;
678
+ case "condition":
679
+ ellipseColor = theme.palette.systemIcon?.condition?.main;
680
+ break;
681
+ case "primary":
682
+ ellipseColor = theme.palette.primary.main;
683
+ break;
684
+ case "secondary":
685
+ ellipseColor = theme.palette.secondary.main;
686
+ break;
687
+ case "info":
688
+ ellipseColor = theme.palette.info.main;
689
+ break;
690
+ case "warning":
691
+ ellipseColor = theme.palette.warning.main;
692
+ break;
693
+ case "error":
694
+ ellipseColor = theme.palette.error.main;
695
+ break;
696
+ case "success":
697
+ ellipseColor = theme.palette.success.main;
698
+ break;
699
+ default:
700
+ ellipseColor = theme.palette.secondary.main;
701
+ break;
702
+ }
703
+ return ellipseColor;
704
+ };
705
+ const getEllipseHintColor = (theme, color) => {
706
+ if (!theme) return "";
707
+ let ellipseHintColor = theme.palette.primary.main;
708
+ switch (color) {
709
+ case "action":
710
+ ellipseHintColor = theme.palette.systemIcon?.action?.hint;
711
+ break;
712
+ case "sequence":
713
+ ellipseHintColor = theme.palette.systemIcon?.sequence?.hint;
714
+ break;
715
+ case "trigger":
716
+ ellipseHintColor = theme.palette.systemIcon?.trigger?.hint;
717
+ break;
718
+ case "condition":
719
+ ellipseHintColor = theme.palette.systemIcon?.condition?.hint;
720
+ break;
721
+ case "primary":
722
+ ellipseHintColor = theme.palette.primary.hint;
723
+ break;
724
+ case "secondary":
725
+ ellipseHintColor = theme.palette.secondary.hint;
726
+ break;
727
+ case "info":
728
+ ellipseHintColor = theme.palette.unity?.info?.hint;
729
+ break;
730
+ case "warning":
731
+ ellipseHintColor = theme.palette.unity?.warning?.hint;
732
+ break;
733
+ case "error":
734
+ ellipseHintColor = theme.palette.unity?.error?.hint;
735
+ break;
736
+ case "success":
737
+ ellipseHintColor = theme.palette.unity?.success?.hint;
738
+ break;
739
+ default:
740
+ ellipseHintColor = theme.palette.common.white;
741
+ break;
742
+ }
743
+ return ellipseHintColor;
744
+ };
745
+
746
+ //#endregion
747
+ //#region src/UI/components/dataDisplay/Ellipse.jsx
748
+ const useStyles$20 = makeStyles((theme) => ({ root: {
749
+ display: "flex",
750
+ alignItems: "center",
751
+ justifyContent: "center",
752
+ width: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
753
+ height: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
754
+ borderRadius: 50,
755
+ border: (props) => props.variant === "filled" ? "none" : `2px solid`,
756
+ backgroundColor: (props) => props.variant === "filled" && getEllipseHintColor(theme, props.color),
757
+ borderColor: (props) => getEllipseColor(theme, props.color)
758
+ } }));
759
+ const Ellipse = (props) => {
760
+ const { children } = props;
761
+ const classes = useStyles$20(props);
762
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, children);
763
+ };
764
+ Ellipse.propTypes = {
765
+ color: PropTypes.string,
766
+ size: PropTypes.string,
767
+ variant: PropTypes.string
768
+ };
769
+
770
+ //#endregion
771
+ //#region src/UI/templates/ui/GridSidebarContainer.jsx
772
+ const useStyles$19 = makeStyles((theme) => ({
773
+ root: {},
774
+ groupWrapper: {
775
+ padding: theme.spacing(2),
776
+ height: (props) => props?.height ? `${props.height} !important` : "calc(100vh - 280px) !important",
777
+ overflow: "auto"
778
+ }
779
+ }));
780
+ const GridSidebarContainer = (props) => {
781
+ const { children, color } = props;
782
+ const classes = useStyles$19(props);
783
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement(Paper, {
784
+ elevation: "0",
785
+ square: true,
786
+ style: { background: color }
787
+ }, /* @__PURE__ */ React$1.createElement("div", { className: classes.groupWrapper }, children)));
788
+ };
789
+ GridSidebarContainer.propTypes = {
790
+ children: PropTypes.node,
791
+ color: PropTypes.string
792
+ };
793
+
794
+ //#endregion
795
+ //#region src/UI/inputs/buttons/AmbientTokenButton.jsx
796
+ const useStyles$18 = makeStyles((theme) => ({
797
+ root: {},
798
+ actionHeader: {
799
+ display: "flex",
800
+ flexDirection: "row"
801
+ },
802
+ icon: {
803
+ background: theme.palette.common.white,
804
+ padding: theme.spacing(1),
805
+ color: theme.palette.secondary.main
806
+ }
807
+ }));
808
+ const AmbientTokenButton = forwardRef(function AmbientTokenButton$1(props, ref) {
809
+ const { tooltip, ariaLabel, onClick, size, icon = ChevronDownIcon, iconClassName, otherProps, id = "token-button", udprecordid } = props;
810
+ const classes = useStyles$18(props);
811
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement(Tooltip, { title: tooltip }, /* @__PURE__ */ React$1.createElement(IconButton, {
812
+ id,
813
+ udprecordid,
814
+ ref,
815
+ "aria-label": ariaLabel,
816
+ className: iconClassName ?? classes.icon,
817
+ size: size ?? "small",
818
+ onClick,
819
+ ...otherProps
820
+ }, /* @__PURE__ */ React$1.createElement(FluentIcon, {
821
+ className: classes.iconButtonStyle,
822
+ component: icon
823
+ }))));
824
+ });
825
+ AmbientTokenButton.propTypes = {
826
+ tooltip: PropTypes.string.isRequired,
827
+ ariaLabel: PropTypes.string.isRequired,
828
+ onClick: PropTypes.func,
829
+ icon: PropTypes.func.isRequired
830
+ };
831
+
832
+ //#endregion
833
+ //#region src/UI/templates/ui/GridGroupingHeader.jsx
834
+ const useStyles$17 = makeStyles((theme) => ({
835
+ root: {},
836
+ actionHeader: {
837
+ display: "flex",
838
+ flexDirection: "row",
839
+ gap: 10
840
+ },
841
+ icon: {
842
+ background: theme.palette.common.white,
843
+ padding: theme.spacing(1),
844
+ color: theme.palette.secondary.main
845
+ }
846
+ }));
847
+ const GridGroupingHeader = ({ expandClick, collapseClick }) => {
848
+ const classes = useStyles$17();
849
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement("div", { className: classes.actionHeader }, /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
850
+ icon: ChevronFold10Icon,
851
+ tooltip: "Collapse All",
852
+ ariaLabel: "Collapse All",
853
+ onClick: collapseClick
854
+ }), /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
855
+ icon: ChevronUnfold10Icon,
856
+ tooltip: "Expand All",
857
+ ariaLabel: "Expand All",
858
+ onClick: expandClick
859
+ })), /* @__PURE__ */ React$1.createElement(LayoutUnit, { unit: "nudge" }), /* @__PURE__ */ React$1.createElement("div", { className: classes.label }, /* @__PURE__ */ React$1.createElement(Typography, { variant: "caption" }, "Group By:")), /* @__PURE__ */ React$1.createElement(LayoutUnit, { unit: "nudge" }));
860
+ };
861
+ GridGroupingHeader.propTypes = {
862
+ expandClick: PropTypes.func.isRequired,
863
+ collapseClick: PropTypes.func.isRequired
864
+ };
865
+
866
+ //#endregion
867
+ //#region src/UI/components/dataDisplay/Token.jsx
868
+ const useStyles$16 = makeStyles((theme) => ({
869
+ root: { margin: (props) => props.compact ? theme.spacing(.5) : theme.spacing(1) },
870
+ letter: {
871
+ fontSize: (props) => props.size === "small" ? theme.spacing(2.25) : theme.spacing(2.5),
872
+ color: (props) => getEllipseColor(theme, props.color)
873
+ },
874
+ buttonRoot: {
875
+ margin: theme.spacing(1),
876
+ width: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
877
+ height: (props) => props.size === "small" ? theme.spacing(4) : theme.spacing(5),
878
+ background: (props) => props.variant === "filled" ? getEllipseHintColor(theme, props.color) : "",
879
+ border: (props) => props.variant === "outlined" ? `1px solid` : "none",
880
+ borderColor: (props) => props.variant === "outlined" ? getEllipseColor(theme, props.color) : ""
881
+ }
882
+ }));
883
+ const Token = (props) => {
884
+ const { type = "default", variant = "outlined", color = "default", size = "large", iconType, icon, letter = "A", IconEllipseProps, onClick } = props;
885
+ const classes = useStyles$16(props);
886
+ const theme = useTheme();
887
+ const iconColor = useMemo(() => {
888
+ return getEllipseColor(theme, color);
889
+ }, [color, theme]);
890
+ const tokenComponent = /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement(Ellipse, {
891
+ variant,
892
+ size,
893
+ color,
894
+ ...IconEllipseProps
895
+ }, type === "letter" ? /* @__PURE__ */ React$1.createElement(Typography, {
896
+ variant: "body1",
897
+ className: classes.letter
898
+ }, letter.toUpperCase()) : /* @__PURE__ */ React$1.createElement(UnityFluentIcon, {
899
+ size: size === "small" ? size : "medium",
900
+ color: iconColor,
901
+ type: iconType,
902
+ icon,
903
+ style: { color: iconColor }
904
+ })));
905
+ if (type === "action") return /* @__PURE__ */ React$1.createElement(IconButton, {
906
+ classes: { root: classes.buttonRoot },
907
+ onClick
908
+ }, /* @__PURE__ */ React$1.createElement(UnityFluentIcon, {
909
+ size: size === "small" ? size : "medium",
910
+ color: iconColor,
911
+ type: iconType,
912
+ icon,
913
+ style: { color: iconColor }
914
+ }));
915
+ return tokenComponent;
916
+ };
917
+ Token.propTypes = {
918
+ type: PropTypes.string,
919
+ variant: PropTypes.string,
920
+ color: PropTypes.string,
921
+ size: PropTypes.string,
922
+ iconType: PropTypes.string,
923
+ icon: PropTypes.elementType,
924
+ letter: PropTypes.string,
925
+ onClick: PropTypes.func
926
+ };
927
+
928
+ //#endregion
929
+ //#region src/UI/inputs/buttons/AmbientToggleButton.jsx
930
+ const useStyles$15 = makeStyles((theme) => ({
931
+ root: {},
932
+ groupActionContainer: {
933
+ display: "flex",
934
+ flexDirection: "column",
935
+ flexWrap: "wrap",
936
+ alignContent: "space-around"
937
+ },
938
+ toggleRoot: {
939
+ "&:not(:first-child)": {
940
+ marginTop: 16,
941
+ border: "1px solid lightgrey",
942
+ borderTopLeftRadius: 25,
943
+ borderTopRightRadius: 25,
944
+ borderRadius: 25,
945
+ padding: 0,
946
+ paddingRight: theme.spacing(2)
947
+ },
948
+ "&:not(:last-child)": {
949
+ borderBottomLeftRadius: 25,
950
+ borderBottomRightRadius: 25,
951
+ borderRadius: 25,
952
+ padding: 0,
953
+ border: "1px solid lightgrey",
954
+ paddingRight: theme.spacing(2)
955
+ },
956
+ "& .MuiToggleButton-root.Mui-selected": {
957
+ color: "rgba(0, 0, 0, 0.54)",
958
+ backgroundColor: "white"
959
+ }
960
+ },
961
+ buttonRoot: {
962
+ textTransform: "none",
963
+ fontWeight: 700,
964
+ justifyContent: "flex-start"
965
+ },
966
+ ".MuiToggleButton-root.Mui-selected": {
967
+ color: "rgba(0, 0, 0, 0.54)",
968
+ backgroundColor: "white"
969
+ }
970
+ }));
971
+ const AmbientToggleButton = ({ children, value, ariaLabel, onClick,...otherProps }) => {
972
+ const classes = useStyles$15();
973
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement(ToggleButton, {
974
+ classes: { root: classes.buttonRoot },
975
+ value,
976
+ "aria-label": ariaLabel,
977
+ onClick,
978
+ ...otherProps
979
+ }, children));
980
+ };
981
+ AmbientToggleButton.propTypes = {
982
+ children: PropTypes.node,
983
+ value: PropTypes.string,
984
+ ariaLabel: PropTypes.string,
985
+ onClick: PropTypes.func
986
+ };
987
+
988
+ //#endregion
989
+ //#region src/utilities/isValueSelected.js
990
+ function isValueSelected(value, candidate) {
991
+ if (candidate === void 0 || value === void 0) return false;
992
+ if (Array.isArray(candidate)) return candidate.indexOf(value) >= 0;
993
+ return value === candidate;
994
+ }
995
+
996
+ //#endregion
997
+ //#region src/UI/inputs/buttons/AmbientToggleButtonGroupDefault.jsx
998
+ const styles = (theme) => ({
999
+ root: {
1000
+ display: "inline-flex",
1001
+ padding: 0
1002
+ },
1003
+ vertical: { flexDirection: "column" },
1004
+ grouped: {},
1005
+ groupedHorizontal: {
1006
+ borderRadius: 25,
1007
+ padding: 0,
1008
+ paddingRight: 16,
1009
+ "&:not(:first-child)": {
1010
+ marginTop: 16,
1011
+ borderRadius: 25,
1012
+ paddingRight: 16,
1013
+ padding: 0
1014
+ },
1015
+ "&:not(:last-child)": {
1016
+ padding: 0,
1017
+ borderRadius: 25,
1018
+ paddingRight: 16
1019
+ }
1020
+ },
1021
+ groupedVertical: {
1022
+ borderRadius: 25,
1023
+ padding: 0,
1024
+ paddingRight: 16,
1025
+ "&:not(:first-child)": {
1026
+ marginTop: 16,
1027
+ borderRadius: 25,
1028
+ paddingRight: 16,
1029
+ padding: 0
1030
+ },
1031
+ "&:not(:last-child)": {
1032
+ padding: 0,
1033
+ borderRadius: 25,
1034
+ paddingRight: 16
1035
+ }
1036
+ }
1037
+ });
1038
+ const AmbientToggleButtonGroupDefault = forwardRef(function AmbientToggleButton$1(props, ref) {
1039
+ const { children, classes, className, exclusive = false, onChange, orientation = "horizontal", size = "medium", value,...other } = props;
1040
+ const handleChange = (event, buttonValue) => {
1041
+ if (!onChange) return;
1042
+ const index = value && value.indexOf(buttonValue);
1043
+ let newValue;
1044
+ if (value && index >= 0) {
1045
+ newValue = value.slice();
1046
+ newValue.splice(index, 1);
1047
+ } else newValue = value ? value.concat(buttonValue) : [buttonValue];
1048
+ onChange(event, newValue);
1049
+ };
1050
+ const handleExclusiveChange = (event, buttonValue) => {
1051
+ if (!onChange) return;
1052
+ onChange(event, value === buttonValue ? null : buttonValue);
1053
+ };
1054
+ return /* @__PURE__ */ React$1.createElement("div", {
1055
+ role: "group",
1056
+ className: clsx(classes.root, { [classes.vertical]: orientation === "vertical" }, className),
1057
+ ref,
1058
+ ...other
1059
+ }, Children.map(children, (child) => {
1060
+ if (!isValidElement(child)) return null;
1061
+ if (process.env.NODE_ENV !== "production") {
1062
+ if (isFragment(child)) console.error(["Material-UI: The ToggleButtonGroup component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join("\n"));
1063
+ }
1064
+ return cloneElement(child, {
1065
+ className: clsx(classes.grouped, classes[`grouped${capitalize(orientation)}`], child.props.className),
1066
+ onChange: exclusive ? handleExclusiveChange : handleChange,
1067
+ selected: child.props.selected === void 0 ? isValueSelected(child.props.value, value) : child.props.selected,
1068
+ size: child.props.size || size
1069
+ });
1070
+ }));
1071
+ });
1072
+ AmbientToggleButtonGroupDefault.propTypes = {
1073
+ children: PropTypes.node,
1074
+ classes: PropTypes.object,
1075
+ className: PropTypes.string,
1076
+ exclusive: PropTypes.bool,
1077
+ onChange: PropTypes.func,
1078
+ orientation: PropTypes.oneOf(["horizontal", "vertical"]),
1079
+ size: PropTypes.oneOf([
1080
+ "large",
1081
+ "medium",
1082
+ "small"
1083
+ ]),
1084
+ value: PropTypes.any
1085
+ };
1086
+ /**
1087
+ * Explicitly cast the HOC to any to avoid non-portable inferred React types in declaration output.
1088
+ * @type {any}
1089
+ */
1090
+ const AmbientToggleButtonGroupDefaultExport = withStyles$1(styles, { name: "MuiToggleButtonGroup" })(AmbientToggleButtonGroupDefault);
1091
+ var AmbientToggleButtonGroupDefault_default = AmbientToggleButtonGroupDefaultExport;
1092
+
1093
+ //#endregion
1094
+ //#region src/UI/templates/ui/GridGroupingSidebar.jsx
1095
+ const useStyles$14 = makeStyles((theme) => ({
1096
+ root: {},
1097
+ groupActionContainer: {
1098
+ display: "flex",
1099
+ flexDirection: "column",
1100
+ flexWrap: "wrap",
1101
+ alignContent: "space-around"
1102
+ },
1103
+ buttonRoot: {
1104
+ textTransform: "none",
1105
+ fontWeight: 700,
1106
+ justifyContent: "flex-start"
1107
+ },
1108
+ buttonGroupWrapper: { gap: theme.spacing(2) }
1109
+ }));
1110
+ const GridGroupingSidebar = ({ groupItem, expandClick, collapseClick, closeClick, groupingData, height, color = "#F5F2F8" }) => {
1111
+ const classes = useStyles$14();
1112
+ const [view, setView] = useState("");
1113
+ const handleChange = (event, nextView) => {
1114
+ setView(nextView);
1115
+ };
1116
+ const GroupItem = ({ label, clear }) => {
1117
+ return /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, /* @__PURE__ */ React$1.createElement(Token, {
1118
+ icon: clear ? ChromeCloseIcon : AssessmentGroupIcon,
1119
+ color: "trigger",
1120
+ size: "small",
1121
+ variant: "filled",
1122
+ type: "icon"
1123
+ }), /* @__PURE__ */ React$1.createElement(Typography, {
1124
+ variant: "caption",
1125
+ style: { color: "black" }
1126
+ }, " ", label, " "));
1127
+ };
1128
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement(GridSidebarContainer, {
1129
+ color,
1130
+ height
1131
+ }, /* @__PURE__ */ React$1.createElement(GridGroupingHeader, {
1132
+ expandClick,
1133
+ collapseClick,
1134
+ closeClick
1135
+ }), /* @__PURE__ */ React$1.createElement("div", { className: classes.groupActionContainer }, /* @__PURE__ */ React$1.createElement(AmbientToggleButtonGroupDefault_default, {
1136
+ orientation: "vertical",
1137
+ value: view,
1138
+ exclusive: true,
1139
+ onChange: handleChange,
1140
+ className: classes.buttonGroupWrapper
1141
+ }, groupingData.map((item) => {
1142
+ return /* @__PURE__ */ React$1.createElement(AmbientToggleButton, {
1143
+ value: item.value,
1144
+ "aria-label": item.label,
1145
+ onClick: () => groupItem(item.groupItem)
1146
+ }, /* @__PURE__ */ React$1.createElement(GroupItem, { label: item.label }));
1147
+ }), /* @__PURE__ */ React$1.createElement(AmbientToggleButton, {
1148
+ value: "noGroups",
1149
+ "aria-label": "noGroups",
1150
+ onClick: closeClick
1151
+ }, /* @__PURE__ */ React$1.createElement(GroupItem, {
1152
+ label: "No Groups",
1153
+ clear: true
1154
+ }))))));
1155
+ };
1156
+ GridGroupingSidebar.propTypes = {
1157
+ groupItem: PropTypes.func,
1158
+ expandClick: PropTypes.func,
1159
+ collapseClick: PropTypes.func,
1160
+ closeClick: PropTypes.func,
1161
+ groupingData: PropTypes.array,
1162
+ color: PropTypes.string
1163
+ };
1164
+
1165
+ //#endregion
1166
+ //#region src/utilities/aggrid/SplitButton.jsx
1167
+ const useStyles$13 = makeStyles((theme) => ({
1168
+ arrowButtonRoot: { padding: 0 },
1169
+ menu: { zIndex: theme.zIndex.tooltip },
1170
+ paper: {}
1171
+ }), { name: "SplitButton" });
1172
+ /**
1173
+ * https://material-ui.com/components/button-group/#split-button
1174
+ */
1175
+ const SplitButton = (props) => {
1176
+ const classes = useStyles$13(props);
1177
+ const { popupName, color, size, variant, label, "aria-label": ariaLabel, children } = props;
1178
+ const popupId = useId(popupName);
1179
+ const popupState = usePopupState({
1180
+ variant: "popper",
1181
+ popupId
1182
+ });
1183
+ const firstItem = Children.toArray(children)[0];
1184
+ const setAnchorEl = useCallback((ref) => {
1185
+ if (ref) popupState.setAnchorEl(ref);
1186
+ }, []);
1187
+ return /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, /* @__PURE__ */ React$1.createElement(ButtonGroup, {
1188
+ variant,
1189
+ color,
1190
+ size,
1191
+ ref: setAnchorEl,
1192
+ "aria-label": ariaLabel
1193
+ }, /* @__PURE__ */ React$1.createElement(Button, { onClick: firstItem?.props?.onClick }, label || firstItem?.props?.children), /* @__PURE__ */ React$1.createElement(Button, {
1194
+ ...bindTrigger(popupState),
1195
+ className: classes.arrowButtonRoot,
1196
+ color,
1197
+ size: "small",
1198
+ "aria-expanded": popupState.isOpen ? true : void 0
1199
+ }, /* @__PURE__ */ React$1.createElement(ArrowDropDown, null))), /* @__PURE__ */ React$1.createElement(Popper, {
1200
+ ...bindPopper(popupState),
1201
+ role: void 0,
1202
+ transition: true,
1203
+ disablePortal: true,
1204
+ className: classes.menu
1205
+ }, ({ TransitionProps, placement }) => /* @__PURE__ */ React$1.createElement(Grow, {
1206
+ ...TransitionProps,
1207
+ style: { transformOrigin: placement === "bottom" ? "center top" : "center bottom" }
1208
+ }, /* @__PURE__ */ React$1.createElement(Paper, { className: classes.paper }, /* @__PURE__ */ React$1.createElement(ClickAwayListener, { onClickAway: popupState.close }, /* @__PURE__ */ React$1.createElement(MenuList, null, children))))));
1209
+ };
1210
+
1211
+ //#endregion
1212
+ //#region src/utilities/aggrid/AgTable.tsx
1213
+ LicenseManager.setLicenseKey(LicenseKey);
1214
+ const useStyles$12 = makeStyles((theme) => ({
1215
+ root: {
1216
+ flex: 1,
1217
+ height: (props) => props?.height ? props.height : "calc(100vh - 280px)"
1218
+ },
1219
+ AgGrid: (props) => ({
1220
+ "--ag-control-panel-background-color": theme.palette.primary.light,
1221
+ "--ag-checkbox-checked-color": theme.palette.primary.main,
1222
+ ...props.hideHeader ? {} : {
1223
+ "--ag-header-background-color": theme.palette.primary.main,
1224
+ "--ag-header-foreground-color": theme.palette.primary.light
1225
+ }
1226
+ })
1227
+ }), { name: "AgTable" });
1228
+ const globalModules = [...AllModules, ExcelExportModule];
1229
+ /**
1230
+ * Utility hook for getting the ag-grid APIs into state
1231
+ */
1232
+ function useAgGridApi() {
1233
+ const [{ gridApi, gridColumnApi }, onGridReady] = useReducer((state, params) => {
1234
+ return {
1235
+ gridApi: params.api,
1236
+ gridColumnApi: params.columnApi
1237
+ };
1238
+ }, {});
1239
+ return {
1240
+ gridApi,
1241
+ gridColumnApi,
1242
+ onGridReady
1243
+ };
1244
+ }
1245
+ /**
1246
+ * Size/Export buttons for AgGrid tables
1247
+ */
1248
+ const AgTableButtons = (props) => {
1249
+ const { gridApi, gridColumnApi } = props;
1250
+ const exportToCSV = useCallback(() => {
1251
+ invariant(gridApi, `gridApi not ready`);
1252
+ gridApi?.exportDataAsCsv({
1253
+ allColumns: true,
1254
+ fileName: "export"
1255
+ });
1256
+ }, [gridApi]);
1257
+ const exportToExcel = useCallback(() => {
1258
+ invariant(gridApi, `gridApi not ready`);
1259
+ gridApi?.exportDataAsExcel({
1260
+ allColumns: true,
1261
+ fileName: "export"
1262
+ });
1263
+ }, [gridApi]);
1264
+ const sizeToFit = useCallback((params) => {
1265
+ invariant(gridApi, `gridApi not ready`);
1266
+ gridApi?.sizeColumnsToFit();
1267
+ }, [gridApi]);
1268
+ const autoSizeAll = useCallback((skipHeader) => {
1269
+ invariant(gridColumnApi, `gridColumnApi not ready`);
1270
+ const allColumnIds = [];
1271
+ gridColumnApi?.getAllColumns()?.forEach((column) => {
1272
+ allColumnIds.push(column.getColId());
1273
+ });
1274
+ gridColumnApi?.autoSizeColumns(allColumnIds, skipHeader);
1275
+ }, [gridColumnApi]);
1276
+ const autoSizeAllWithHeader = useCallback(() => autoSizeAll(false), [autoSizeAll]);
1277
+ const autoSizeAllWithoutHeader = useCallback(() => autoSizeAll(false), [autoSizeAll]);
1278
+ return /* @__PURE__ */ React$1.createElement(Box, { mb: 1 }, /* @__PURE__ */ React$1.createElement(Grid, {
1279
+ container: true,
1280
+ direction: "row",
1281
+ spacing: 1,
1282
+ justify: "flex-end"
1283
+ }, /* @__PURE__ */ React$1.createElement(Grid, { item: true }, /* @__PURE__ */ React$1.createElement(Button, {
1284
+ variant: "outlined",
1285
+ size: "small",
1286
+ onClick: sizeToFit
1287
+ }, "Size to Fit")), /* @__PURE__ */ React$1.createElement(Grid, { item: true }, /* @__PURE__ */ React$1.createElement(SplitButton, {
1288
+ popupName: "auto-size",
1289
+ variant: "outlined",
1290
+ size: "small",
1291
+ label: "Auto-Size"
1292
+ }, /* @__PURE__ */ React$1.createElement(MenuItem, { onClick: autoSizeAllWithHeader }, "All"), /* @__PURE__ */ React$1.createElement(MenuItem, { onClick: autoSizeAllWithoutHeader }, "Skip Header"))), /* @__PURE__ */ React$1.createElement(Grid, { item: true }, /* @__PURE__ */ React$1.createElement(SplitButton, {
1293
+ popupName: "export",
1294
+ variant: "outlined",
1295
+ size: "small",
1296
+ label: "Export"
1297
+ }, /* @__PURE__ */ React$1.createElement(MenuItem, { onClick: exportToExcel }, "Excel"), /* @__PURE__ */ React$1.createElement(MenuItem, { onClick: exportToCSV }, "CSV")))));
1298
+ };
1299
+ /**
1300
+ * AgGrid with tweaks
1301
+ */
1302
+ const AgTable = (props) => {
1303
+ const classes = useStyles$12(props);
1304
+ const { modules: modulesProp, className, getRowHeight, rowModelType, isUsingAgRowHeight = false, hideHeader = false } = props;
1305
+ const modules = useMemo(() => modulesProp ? globalModules.concat(modulesProp) : globalModules, [modulesProp]);
1306
+ const calculateRowHeight = (params) => {
1307
+ if (params.node.level === 0) return 48;
1308
+ if (params.node.level === 1) return 32;
1309
+ return 16;
1310
+ };
1311
+ const rowHeightFunction = useCallback((params) => {
1312
+ if (rowModelType === "serverSide") if (isUsingAgRowHeight) return void 0;
1313
+ else if (getRowHeight) return getRowHeight(params);
1314
+ else return calculateRowHeight(params);
1315
+ else if (getRowHeight) return getRowHeight(params);
1316
+ return void 0;
1317
+ }, [getRowHeight, isUsingAgRowHeight]);
1318
+ const onGridSizeChanged = () => {
1319
+ if (props.dynamicSizing) props.api?.sizeColumnsToFit();
1320
+ };
1321
+ return /* @__PURE__ */ React$1.createElement("div", { className: clsx("ag-theme-material", classes.root, className) }, /* @__PURE__ */ React$1.createElement(AgGridReact, {
1322
+ ...props,
1323
+ modules,
1324
+ onGridSizeChanged,
1325
+ getRowHeight: rowHeightFunction,
1326
+ className: classes.AgGrid
1327
+ }));
1328
+ };
1329
+
1330
+ //#endregion
1331
+ //#region src/UI/utilityDisplay/GridActionBar.jsx
1332
+ const useStyles$11 = makeStyles((theme) => ({
1333
+ root: {
1334
+ display: "flex",
1335
+ flexDirection: "row",
1336
+ padding: theme.spacing(.5),
1337
+ background: (props) => props.background ? props.background : lighten(theme.palette.secondary.light, .9)
1338
+ },
1339
+ label: {
1340
+ display: "flex",
1341
+ alignItems: "center",
1342
+ justifyContent: "flex-end"
1343
+ },
1344
+ title: {
1345
+ flex: 1,
1346
+ display: "flex",
1347
+ alignItems: "center",
1348
+ marginLeft: (props) => props.title ? theme.spacing(2) : 0
1349
+ },
1350
+ tabRoot: {
1351
+ minWidth: 0,
1352
+ textTransform: "none"
1353
+ },
1354
+ controls: {
1355
+ display: "flex",
1356
+ alignItems: "center",
1357
+ gridGap: theme.spacing(2),
1358
+ gap: theme.spacing(2),
1359
+ marginRight: theme.spacing(2)
1360
+ },
1361
+ icon: {
1362
+ background: theme.palette.common.white,
1363
+ padding: theme.spacing(1),
1364
+ color: theme.palette.secondary.main
1365
+ }
1366
+ }));
1367
+ const GridActionBar = (props) => {
1368
+ const classes = useStyles$11(props);
1369
+ const { children, onChange, handleChange, value, exportCSV, exportExcel, exportPDF, fitClick, expandClick, clearClick, exportClick, saveGridConfig, deleteGridConfig, clearGridConfig, title, hideFitGrid = false, hideExpandGrid = false, hideExportGrid = false, hideRemoveFilters = false, hideFilterTab = false, hideGroupTab = false, hideColumnTab = false, hideSearchBar = false } = props;
1370
+ const gridControlsExport = /* @__PURE__ */ React$1.createElement("div", null);
1371
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement("div", { className: classes.title }, title && /* @__PURE__ */ React$1.createElement(Typography, {
1372
+ variant: "h6",
1373
+ style: {
1374
+ overflow: "hidden",
1375
+ whiteSpace: "nowrap",
1376
+ textOverflow: "ellipsis"
1377
+ }
1378
+ }, " ", title, " "), !hideSearchBar && /* @__PURE__ */ React$1.createElement("div", { style: {
1379
+ flex: 1,
1380
+ marginLeft: 16,
1381
+ marginRight: 16,
1382
+ marginTop: -16
1383
+ } }, /* @__PURE__ */ React$1.createElement(AmbientTextField, {
1384
+ title,
1385
+ onChange,
1386
+ InputProps: {
1387
+ type: "search",
1388
+ startAdornment: /* @__PURE__ */ React$1.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React$1.createElement(SearchIcon, null))
1389
+ }
1390
+ }))), /* @__PURE__ */ React$1.createElement("div", null, " ", gridControlsExport), /* @__PURE__ */ React$1.createElement("div", { className: classes.controls }, saveGridConfig && /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
1391
+ iconClassName: classes.icon,
1392
+ icon: SaveIcon,
1393
+ tooltip: "Save Grid Configuration",
1394
+ ariaLabel: "Save Grid Configuration",
1395
+ onClick: saveGridConfig
1396
+ }), deleteGridConfig && /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
1397
+ iconClassName: classes.icon,
1398
+ icon: DeleteIcon,
1399
+ tooltip: "Delete Grid Configuration",
1400
+ ariaLabel: "Delete Grid Configuration",
1401
+ onClick: deleteGridConfig
1402
+ }), clearGridConfig && /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
1403
+ iconClassName: classes.icon,
1404
+ icon: ClearIcon,
1405
+ tooltip: "Clear Grid Configuration",
1406
+ ariaLabel: "Clear Grid Configuration",
1407
+ onClick: clearGridConfig
1408
+ }), !hideFitGrid && /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
1409
+ iconClassName: classes.icon,
1410
+ icon: CombineIcon,
1411
+ tooltip: "Fit Grid",
1412
+ ariaLabel: "Fit Grid",
1413
+ onClick: fitClick
1414
+ }), !hideExpandGrid && /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
1415
+ iconClassName: classes.icon,
1416
+ icon: ExportIcon,
1417
+ tooltip: "Expand Grid",
1418
+ ariaLabel: "Expand Grid",
1419
+ onClick: expandClick
1420
+ }), !hideExportGrid && /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
1421
+ iconClassName: classes.icon,
1422
+ icon: DownloadIcon,
1423
+ tooltip: "Export Grid",
1424
+ ariaLabel: "Export Grid",
1425
+ onClick: exportClick
1426
+ }), !hideRemoveFilters && /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
1427
+ iconClassName: classes.icon,
1428
+ icon: BlockedIcon,
1429
+ tooltip: "Remove Filters",
1430
+ ariaLabel: "Remove Filters",
1431
+ onClick: clearClick
1432
+ })), /* @__PURE__ */ React$1.createElement(Tabs, {
1433
+ value,
1434
+ onChange: handleChange,
1435
+ "aria-label": "basic tabs example"
1436
+ }, !hideFilterTab && /* @__PURE__ */ React$1.createElement(Tab, {
1437
+ label: "Filter",
1438
+ classes: { root: classes.tabRoot }
1439
+ }), !hideGroupTab && /* @__PURE__ */ React$1.createElement(Tab, {
1440
+ label: "Group",
1441
+ classes: { root: classes.tabRoot }
1442
+ }), !hideColumnTab && /* @__PURE__ */ React$1.createElement(Tab, {
1443
+ label: "Column",
1444
+ classes: { root: classes.tabRoot }
1445
+ })), children);
1446
+ };
1447
+ GridActionBar.propTypes = {
1448
+ title: PropTypes.string,
1449
+ children: PropTypes.node,
1450
+ handleChange: PropTypes.func,
1451
+ value: PropTypes.number,
1452
+ fitClick: PropTypes.func,
1453
+ expandClick: PropTypes.func,
1454
+ clearClick: PropTypes.func,
1455
+ exportClick: PropTypes.func
1456
+ };
1457
+
1458
+ //#endregion
1459
+ //#region src/UI/inputs/buttons/AmbientChipButton.jsx
1460
+ const useStyles$10 = makeStyles((theme) => ({
1461
+ root: {},
1462
+ actionHeader: {
1463
+ display: "flex",
1464
+ flexDirection: "row"
1465
+ },
1466
+ icon: {
1467
+ marginLeft: theme.spacing(1),
1468
+ color: (props) => props.background === "transparent" ? theme.palette.secondary.main : theme.palette.primary.main
1469
+ },
1470
+ chipRoot: { background: (props) => props.background ? props.background : theme.palette.common.white },
1471
+ label: {
1472
+ overflow: "hidden",
1473
+ whiteSpace: "nowrap",
1474
+ textOverflow: "ellipsis"
1475
+ }
1476
+ }));
1477
+ const AmbientChipButton = forwardRef(function AmbientChipButton$1(props, ref) {
1478
+ const { tooltip, label, onClick, icon, iconClassName, className, labelClassName, otherProps, id = "chip-button", udprecordid } = props;
1479
+ const classes = useStyles$10(props);
1480
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.root }, /* @__PURE__ */ React$1.createElement(Tooltip, { title: tooltip }, /* @__PURE__ */ React$1.createElement(Chip, {
1481
+ id,
1482
+ udprecordid,
1483
+ ref,
1484
+ className: className ?? classes.chipRoot,
1485
+ label: /* @__PURE__ */ React$1.createElement(Typography, { className: labelClassName ?? classes.label }, label),
1486
+ onClick,
1487
+ icon: icon && /* @__PURE__ */ React$1.createElement(FluentIcon, {
1488
+ className: iconClassName ?? classes.icon,
1489
+ component: icon
1490
+ }),
1491
+ ...otherProps
1492
+ })));
1493
+ });
1494
+ AmbientChipButton.propTypes = {
1495
+ tooltip: PropTypes.string.isRequired,
1496
+ label: PropTypes.string.isRequired,
1497
+ onClick: PropTypes.func,
1498
+ icon: PropTypes.func.isRequired
1499
+ };
1500
+
1501
+ //#endregion
1502
+ //#region src/UI/utilityDisplay/GridPrimaryBar.jsx
1503
+ const useStyles$9 = makeStyles((theme) => ({
1504
+ root: {
1505
+ display: "flex",
1506
+ flexDirection: "row",
1507
+ padding: theme.spacing(.5)
1508
+ },
1509
+ label: {
1510
+ display: "flex",
1511
+ alignItems: "center",
1512
+ justifyContent: "flex-end"
1513
+ },
1514
+ title: {
1515
+ flex: 1,
1516
+ display: "flex",
1517
+ alignItems: "center",
1518
+ marginLeft: (props) => props.title ? theme.spacing(2) : 0
1519
+ },
1520
+ tabRoot: {
1521
+ minWidth: 0,
1522
+ textTransform: "none"
1523
+ },
1524
+ controls: {
1525
+ display: "flex",
1526
+ alignItems: "center",
1527
+ gridGap: theme.spacing(2),
1528
+ gap: theme.spacing(2),
1529
+ marginRight: theme.spacing(2)
1530
+ },
1531
+ icon: {
1532
+ background: theme.palette.common.white,
1533
+ padding: theme.spacing(1),
1534
+ color: theme.palette.primary.main
1535
+ }
1536
+ }));
1537
+ const GridPrimaryBar = (props) => {
1538
+ const classes = useStyles$9(props);
1539
+ const { children, onChange, fitClick, expandClick, clearClick, exportClick, filterClick, columnsClick, groupClick, title, hiddenActionButtons, hiddenLabels, hideSearchBar = false, secondaryActionButtons, saveViewClick, viewsClick, insightsClick, onPrimaryActionClick, primaryActionDisabled, primaryActionLabel, primaryActionIcon, onSearchKeyDown } = props;
1540
+ const [actionButtonMedianPx, setActionButtonMedianPx] = useState(0);
1541
+ const [actionButtons, setActionButtons] = useState([]);
1542
+ const [menuActionButtons, setMenuActionButtons] = useState([]);
1543
+ const [anchorEl, setAnchorEl] = useState(null);
1544
+ const [windowWidthBreakpoint, setWindowWidthBreakpoint] = useState(1400);
1545
+ const chipButtonSizePx = 100;
1546
+ const tokenButtonSizePx = 40;
1547
+ const open = Boolean(anchorEl);
1548
+ const id = open ? "simple-popover" : void 0;
1549
+ const defaultActionButtons = useMemo(() => [
1550
+ {
1551
+ icon: SaveIcon,
1552
+ tooltip: "Save Grid Configuration",
1553
+ label: "Save View",
1554
+ visible: !hiddenActionButtons.includes("saveView"),
1555
+ hideLabel: hiddenLabels.includes("saveView"),
1556
+ onClick: saveViewClick,
1557
+ background: "transparent"
1558
+ },
1559
+ {
1560
+ icon: FavoriteStarIcon,
1561
+ tooltip: "Browse Views",
1562
+ label: "Views",
1563
+ visible: !hiddenActionButtons.includes("views"),
1564
+ onClick: viewsClick,
1565
+ hideLabel: hiddenLabels.includes("views"),
1566
+ iconClassName: classes.icon
1567
+ },
1568
+ {
1569
+ icon: LightbulbIcon,
1570
+ tooltip: "Insights",
1571
+ label: "Insights",
1572
+ visible: !hiddenActionButtons.includes("insights"),
1573
+ hideLabel: hiddenLabels.includes("insights"),
1574
+ onClick: insightsClick,
1575
+ iconClassName: classes.icon
1576
+ },
1577
+ {
1578
+ icon: UploadIcon,
1579
+ tooltip: "Import/Export",
1580
+ label: "Import/Export",
1581
+ visible: !!exportClick && !hiddenActionButtons.includes("importExport"),
1582
+ hideLabel: hiddenLabels.includes("importExport"),
1583
+ onClick: exportClick,
1584
+ iconClassName: classes.icon
1585
+ },
1586
+ {
1587
+ icon: BulletedTreeListIcon,
1588
+ tooltip: "Group",
1589
+ label: "Group",
1590
+ visible: !!groupClick && !hiddenActionButtons.includes("group"),
1591
+ hideLabel: hiddenLabels.includes("group"),
1592
+ onClick: groupClick,
1593
+ iconClassName: classes.icon
1594
+ },
1595
+ {
1596
+ icon: FilterIcon,
1597
+ tooltip: "Filter",
1598
+ label: "Filter",
1599
+ visible: !!filterClick && !hiddenActionButtons.includes("filter"),
1600
+ hideLabel: hiddenLabels.includes("filter"),
1601
+ onClick: filterClick,
1602
+ iconClassName: classes.icon
1603
+ },
1604
+ {
1605
+ icon: TripleColumnIcon,
1606
+ tooltip: "Columns",
1607
+ label: "Columns",
1608
+ visible: !!columnsClick && !hiddenActionButtons.includes("columns"),
1609
+ hideLabel: hiddenLabels.includes("columns"),
1610
+ onClick: columnsClick,
1611
+ iconClassName: classes.icon
1612
+ },
1613
+ {
1614
+ icon: CombineIcon,
1615
+ tooltip: "Fit Grid",
1616
+ label: "Fit Grid",
1617
+ visible: !!fitClick && !hiddenActionButtons.includes("fitGrid"),
1618
+ hideLabel: hiddenLabels.includes("fitGrid"),
1619
+ onClick: fitClick,
1620
+ iconClassName: classes.icon
1621
+ },
1622
+ {
1623
+ icon: ExportIcon,
1624
+ tooltip: "Expand Grid",
1625
+ label: "Expand Grid",
1626
+ visible: !!expandClick && !hiddenActionButtons.includes("expandGrid"),
1627
+ hideLabel: hiddenLabels.includes("expandGrid"),
1628
+ onClick: expandClick,
1629
+ iconClassName: classes.icon
1630
+ },
1631
+ {
1632
+ icon: BlockedIcon,
1633
+ tooltip: "Clear Filters",
1634
+ label: "Clear Filters",
1635
+ visible: !!clearClick && !hiddenActionButtons.includes("clearFilters"),
1636
+ hideLabel: hiddenLabels.includes("clearFilters"),
1637
+ onClick: clearClick,
1638
+ iconClassName: classes.icon
1639
+ }
1640
+ ], [
1641
+ classes.icon,
1642
+ clearClick,
1643
+ columnsClick,
1644
+ expandClick,
1645
+ exportClick,
1646
+ filterClick,
1647
+ fitClick,
1648
+ groupClick,
1649
+ hiddenActionButtons,
1650
+ hiddenLabels,
1651
+ insightsClick,
1652
+ saveViewClick,
1653
+ viewsClick
1654
+ ]);
1655
+ const handlePopoverClick = (event) => {
1656
+ setAnchorEl(event.currentTarget);
1657
+ };
1658
+ const handlePopoverClose = () => {
1659
+ setAnchorEl(null);
1660
+ };
1661
+ const formatActionButtons = useCallback((buttons) => {
1662
+ return buttons.map((button) => {
1663
+ if (button.visible === void 0) button.visible = true;
1664
+ if (button.hideLabel === void 0) button.hideLabel = false;
1665
+ if (button.label === void 0) {
1666
+ button.label = button.tooltip ?? "Button";
1667
+ button.hideLabel = true;
1668
+ }
1669
+ if (button.iconClassName === void 0 && button.background === void 0) button.iconClassName = classes.icon;
1670
+ return button;
1671
+ });
1672
+ }, [classes?.icon]);
1673
+ useEffect(() => {
1674
+ const allActionButtons = formatActionButtons([...defaultActionButtons, ...secondaryActionButtons]);
1675
+ const menuButtons = [];
1676
+ const numActionButtons = allActionButtons.length - hiddenActionButtons.length;
1677
+ const buttonTotalWidth = numActionButtons * chipButtonSizePx - (chipButtonSizePx - tokenButtonSizePx) * hiddenLabels.length;
1678
+ const calculatedMedian = Math.floor(buttonTotalWidth / numActionButtons);
1679
+ const breakPointOffset = calculatedMedian > 70 ? 950 : 900;
1680
+ let breakPoint = breakPointOffset + buttonTotalWidth;
1681
+ const currentWindowWidth = window.innerWidth;
1682
+ while (currentWindowWidth < breakPoint && allActionButtons.length > 0) {
1683
+ const movedAction = allActionButtons.pop();
1684
+ menuButtons.push(movedAction);
1685
+ breakPoint -= calculatedMedian;
1686
+ }
1687
+ setActionButtonMedianPx(calculatedMedian);
1688
+ setActionButtons(allActionButtons);
1689
+ setMenuActionButtons(menuButtons);
1690
+ setWindowWidthBreakpoint(breakPoint);
1691
+ }, [
1692
+ formatActionButtons,
1693
+ defaultActionButtons,
1694
+ secondaryActionButtons,
1695
+ hiddenActionButtons?.length,
1696
+ hiddenLabels?.length
1697
+ ]);
1698
+ useEffect(() => {
1699
+ const handleResize = () => {
1700
+ let breakPoint = windowWidthBreakpoint;
1701
+ let visibleButtons = [...actionButtons];
1702
+ let menuButtons = [...menuActionButtons];
1703
+ while (window.innerWidth < breakPoint && visibleButtons.length > 0) {
1704
+ const movedAction = visibleButtons.pop();
1705
+ menuButtons.push(movedAction);
1706
+ breakPoint -= actionButtonMedianPx;
1707
+ }
1708
+ while (window.innerWidth > breakPoint + actionButtonMedianPx && menuButtons.length > 0) {
1709
+ const movedAction = menuButtons.pop(0);
1710
+ visibleButtons.push(movedAction);
1711
+ breakPoint += actionButtonMedianPx;
1712
+ }
1713
+ setActionButtons(visibleButtons);
1714
+ setMenuActionButtons(menuButtons);
1715
+ setWindowWidthBreakpoint(breakPoint);
1716
+ };
1717
+ window.addEventListener("resize", handleResize);
1718
+ return () => {
1719
+ window.removeEventListener("resize", handleResize);
1720
+ };
1721
+ }, [
1722
+ windowWidthBreakpoint,
1723
+ actionButtons,
1724
+ menuActionButtons,
1725
+ actionButtonMedianPx
1726
+ ]);
1727
+ const handleCustomKeyDown = (event) => {
1728
+ if (onSearchKeyDown) {
1729
+ if (event.key === "Enter") onSearchKeyDown();
1730
+ }
1731
+ };
1732
+ return /* @__PURE__ */ React$2.createElement("div", { className: classes.root }, /* @__PURE__ */ React$2.createElement("div", { className: classes.title }, title && /* @__PURE__ */ React$2.createElement(Typography, {
1733
+ variant: "h6",
1734
+ style: {
1735
+ overflow: "hidden",
1736
+ whiteSpace: "nowrap",
1737
+ textOverflow: "ellipsis"
1738
+ }
1739
+ }, " ", title, " "), !hideSearchBar && /* @__PURE__ */ React$2.createElement("div", { style: {
1740
+ flex: 1,
1741
+ marginLeft: 16,
1742
+ marginRight: 16,
1743
+ marginTop: -16,
1744
+ maxWidth: 300
1745
+ } }, /* @__PURE__ */ React$2.createElement(AmbientTextField, {
1746
+ title,
1747
+ onChange,
1748
+ onKeyDown: handleCustomKeyDown,
1749
+ InputProps: {
1750
+ type: "search",
1751
+ startAdornment: /* @__PURE__ */ React$2.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React$2.createElement(SearchIcon, null))
1752
+ }
1753
+ }))), /* @__PURE__ */ React$2.createElement("div", { className: classes.controls }, actionButtons.map((button) => button.visible && (button.hideLabel ? /* @__PURE__ */ React$2.createElement(AmbientTokenButton, {
1754
+ id: "udpRecord-GridPrimaryBar-Token-" + button.label.replace(/ /g, "-"),
1755
+ udprecordid: "udpRecord-GridPrimaryBar-Token-" + button.label.replace(/ /g, "-"),
1756
+ icon: button.icon ?? AppIconDefaultIcon,
1757
+ tooltip: button.tooltip,
1758
+ onClick: button.onClick,
1759
+ ariaLabel: button.label,
1760
+ iconClassName: button.iconClassName
1761
+ }) : /* @__PURE__ */ React$2.createElement(AmbientChipButton, {
1762
+ id: "udpRecord-GridPrimaryBar-Chip-" + button.label.replace(/ /g, "-"),
1763
+ udprecordid: "udpRecord-GridPrimaryBar-Chip-" + button.label.replace(/ /g, "-"),
1764
+ icon: button.icon ?? AppIconDefaultIcon,
1765
+ tooltip: button.tooltip,
1766
+ label: button.label,
1767
+ onClick: button.onClick,
1768
+ background: button.background
1769
+ }))), !!menuActionButtons.length && /* @__PURE__ */ React$2.createElement("div", null, /* @__PURE__ */ React$2.createElement(AmbientTokenButton, {
1770
+ id,
1771
+ icon: MoreVerticalIcon,
1772
+ tooltip: "More Actions",
1773
+ ariaLabel: "More Actions",
1774
+ onClick: handlePopoverClick,
1775
+ iconClassName: classes.icon
1776
+ }), /* @__PURE__ */ React$2.createElement(Popover, {
1777
+ id,
1778
+ open,
1779
+ anchorEl,
1780
+ onClose: handlePopoverClose,
1781
+ anchorOrigin: {
1782
+ vertical: "bottom",
1783
+ horizontal: "right"
1784
+ },
1785
+ transformOrigin: {
1786
+ vertical: "top",
1787
+ horizontal: "right"
1788
+ }
1789
+ }, menuActionButtons.slice(0).reverse().map((button) => {
1790
+ if (!button.visible) return null;
1791
+ return /* @__PURE__ */ React$2.createElement(MenuItem, {
1792
+ id: "udpRecord-GridPrimaryBar-MenuItem-" + button.label.replace(/ /g, "-"),
1793
+ udprecordid: "udpRecord-GridPrimaryBar-MenuItem-" + button.label.replace(/ /g, "-"),
1794
+ onClick: button.onClick,
1795
+ style: {
1796
+ display: "flex",
1797
+ justifyContent: "space-between"
1798
+ }
1799
+ }, /* @__PURE__ */ React$2.createElement(Typography, null, button.label), /* @__PURE__ */ React$2.createElement(FluentIcon, {
1800
+ component: button.icon ?? AppIconDefaultIcon,
1801
+ style: { marginLeft: 7 }
1802
+ }));
1803
+ })))), onPrimaryActionClick && /* @__PURE__ */ React$2.createElement(PrimaryActionButton_default, {
1804
+ onClick: onPrimaryActionClick,
1805
+ id: "udpRecord-GridPrimaryBar-Add",
1806
+ udprecordid: "udpRecord-GridPrimaryBar-Add",
1807
+ disabled: primaryActionDisabled
1808
+ }, /* @__PURE__ */ React$2.createElement(Typography, { style: { marginLeft: 4 } }, primaryActionLabel ?? "Button"), /* @__PURE__ */ React$2.createElement(FluentIcon, {
1809
+ style: { marginLeft: 7 },
1810
+ component: primaryActionIcon ?? AppIconDefaultIcon
1811
+ })));
1812
+ };
1813
+ GridPrimaryBar.propTypes = {
1814
+ title: PropTypes.string,
1815
+ children: PropTypes.node,
1816
+ onChange: PropTypes.func,
1817
+ fitClick: PropTypes.func,
1818
+ expandClick: PropTypes.func,
1819
+ clearClick: PropTypes.func,
1820
+ exportClick: PropTypes.func,
1821
+ insightsClick: PropTypes.func,
1822
+ filterClick: PropTypes.func,
1823
+ columnsClick: PropTypes.func,
1824
+ groupClick: PropTypes.func,
1825
+ hideSearchBar: PropTypes.bool,
1826
+ secondaryActionButtons: PropTypes.arrayOf(PropTypes.object),
1827
+ hiddenActionButtons: PropTypes.arrayOf(PropTypes.oneOf([
1828
+ "saveView",
1829
+ "views",
1830
+ "insights",
1831
+ "importExport",
1832
+ "group",
1833
+ "filter",
1834
+ "columns",
1835
+ "fitGrid",
1836
+ "expandGrid",
1837
+ "clearFilters"
1838
+ ])),
1839
+ hiddenLabels: PropTypes.arrayOf(PropTypes.oneOf([
1840
+ "saveView",
1841
+ "views",
1842
+ "insights",
1843
+ "importExport",
1844
+ "group",
1845
+ "filter",
1846
+ "columns",
1847
+ "fitGrid",
1848
+ "expandGrid",
1849
+ "clearFilters"
1850
+ ])),
1851
+ onPrimaryActionClick: PropTypes.func,
1852
+ primaryActionLabel: PropTypes.string,
1853
+ primaryActionIcon: PropTypes.elementType
1854
+ };
1855
+
1856
+ //#endregion
1857
+ //#region src/UI/feedback/FluentDialog.jsx
1858
+ const useStyles$8 = makeStyles((theme) => ({
1859
+ root: {},
1860
+ paper: {
1861
+ borderRadius: 2,
1862
+ borderTop: (props) => props.header && `4px solid ${theme.palette.secondary.main}`
1863
+ },
1864
+ title: { color: (props) => props.header && theme.palette.secondary.main },
1865
+ actions: {
1866
+ marginBottom: 0,
1867
+ marginRight: 0,
1868
+ padding: 0
1869
+ },
1870
+ button: {
1871
+ borderRadius: 0,
1872
+ padding: "calc(.875rem - 3px) 23px calc(.875rem - 3px) 15px",
1873
+ textTransform: "none"
1874
+ },
1875
+ dialogContent: {
1876
+ height: (props) => props.dialogContentHeight || "auto",
1877
+ width: (props) => props.dialogContentWidth || "auto"
1878
+ },
1879
+ dialogLeftBorder: {
1880
+ position: "absolute",
1881
+ left: 0,
1882
+ top: 0,
1883
+ bottom: 0,
1884
+ width: theme.spacing(1),
1885
+ backgroundColor: (props) => props.dialogLeftBorderColor ?? theme.palette.primary.main
1886
+ }
1887
+ }));
1888
+ const FluentDialog = (props) => {
1889
+ const classes = useStyles$8(props);
1890
+ const { title, message, actionOne, actionTwo, actionThree, labelOne, labelTwo, labelThree, open, handleClose, ariaLabelledby, ariaDescribedby, titleId, descriptionId, children, buttonOneHidden = false, buttonTwoHidden = false, buttonThreeHidden = true, disableOne, disableTwo, disableThree, progress, enableLeftBorderStyling = false,...otherProps } = props;
1891
+ return /* @__PURE__ */ React$1.createElement(Dialog, {
1892
+ open,
1893
+ onClose: handleClose,
1894
+ "aria-labelledby": ariaLabelledby,
1895
+ "aria-describedby": ariaDescribedby,
1896
+ ...otherProps,
1897
+ classes: { paper: classes.paper }
1898
+ }, /* @__PURE__ */ React$1.createElement("div", { className: enableLeftBorderStyling ? classes.dialogLeftBorder : "" }), /* @__PURE__ */ React$1.createElement(DialogTitle, {
1899
+ className: classes.title,
1900
+ id: titleId
1901
+ }, title), /* @__PURE__ */ React$1.createElement(DialogContent, { className: classes.dialogContent }, /* @__PURE__ */ React$1.createElement(DialogContentText, { id: descriptionId }, message), children), /* @__PURE__ */ React$1.createElement(DialogActions, {
1902
+ className: classes.actions,
1903
+ disableSpacing: true
1904
+ }, !buttonThreeHidden && /* @__PURE__ */ React$1.createElement(Button, {
1905
+ id: "udpRecord-FluentDialog-Confirm",
1906
+ udprecordid: "udpRecord-FluentDialog-Confirm",
1907
+ onClick: actionThree,
1908
+ color: "secondary",
1909
+ disabled: disableThree,
1910
+ className: classes.button
1911
+ }, labelThree), !buttonTwoHidden && /* @__PURE__ */ React$1.createElement(Button, {
1912
+ id: "udpRecord-FluentDialog-Confirm",
1913
+ udprecordid: "udpRecord-FluentDialog-Confirm",
1914
+ onClick: actionTwo,
1915
+ color: "secondary",
1916
+ disabled: disableTwo,
1917
+ className: classes.button
1918
+ }, labelTwo), !buttonOneHidden && /* @__PURE__ */ React$1.createElement(PrimaryActionButton, {
1919
+ id: "udpRecord-FluentDialog-Cancel",
1920
+ udprecordid: "udpRecord-FluentDialog-Cancel",
1921
+ disabled: disableOne,
1922
+ onClick: actionOne
1923
+ }, labelOne)), progress && /* @__PURE__ */ React$1.createElement(LinearProgress, {
1924
+ color: "secondary",
1925
+ value: progress,
1926
+ ...otherProps
1927
+ }));
1928
+ };
1929
+
1930
+ //#endregion
1931
+ //#region src/utilities/aggrid/GridFunctions.js
1932
+ const useGridFormat = () => {
1933
+ const gridFormat = (gridApi, type) => {
1934
+ type === "expand" && gridApi.expandAll();
1935
+ type === "collapse" && gridApi.collapseAll();
1936
+ type === "resize" && gridApi.sizeColumnsToFit();
1937
+ };
1938
+ return [gridFormat];
1939
+ };
1940
+ const useGridClear = () => {
1941
+ const gridClear = (gridApi, gridColumnApi) => {
1942
+ gridColumnApi.setRowGroupColumns([]);
1943
+ gridApi.setFilterModel(null);
1944
+ gridApi.setQuickFilter("");
1945
+ gridApi.sizeColumnsToFit();
1946
+ gridColumnApi.resetColumnState();
1947
+ };
1948
+ return [gridClear];
1949
+ };
1950
+ const useQuickFilter = () => {
1951
+ const quickFilter = (gridApi, event) => {
1952
+ gridApi.setQuickFilter(event?.target.value);
1953
+ };
1954
+ return [quickFilter];
1955
+ };
1956
+ const useExport = () => {
1957
+ const gridExport = (gridApi, type) => {
1958
+ type === "excel" && gridApi.exportDataAsExcel();
1959
+ type === "csv" && gridApi.exportDataAsCsv();
1960
+ };
1961
+ return [gridExport];
1962
+ };
1963
+ const saveGridState = async (gridId, gridApi, gridColumnApi, execute) => {
1964
+ const columnState = gridColumnApi?.getColumnState();
1965
+ const columnGroupState = gridColumnApi?.getColumnGroupState();
1966
+ const sortModel = gridApi.getSortModel();
1967
+ const filterModel = gridApi.getFilterModel();
1968
+ const isPivotMode = gridColumnApi.isPivotMode();
1969
+ const gridState = [];
1970
+ const columnGridConfiguration = {
1971
+ gridStateTypeId: GridStateTypeEnums.Column,
1972
+ gridId,
1973
+ values: JSON.stringify(columnState)
1974
+ };
1975
+ const columnGroupGridConfiguration = {
1976
+ gridStateTypeId: GridStateTypeEnums.Column_Group,
1977
+ gridId,
1978
+ values: JSON.stringify(columnGroupState)
1979
+ };
1980
+ const columnSortGridConfiguration = {
1981
+ gridStateTypeId: GridStateTypeEnums.Column_Sort,
1982
+ gridId,
1983
+ values: JSON.stringify(sortModel)
1984
+ };
1985
+ const columnFilterGridConfiguration = {
1986
+ gridStateTypeId: GridStateTypeEnums.Column_Filter,
1987
+ gridId,
1988
+ values: JSON.stringify(filterModel)
1989
+ };
1990
+ const pivotGridConfiguration = {
1991
+ gridStateTypeId: GridStateTypeEnums.Pivot_Mode,
1992
+ gridId,
1993
+ values: JSON.stringify(isPivotMode)
1994
+ };
1995
+ gridState.push(columnGridConfiguration);
1996
+ gridState.push(columnGroupGridConfiguration);
1997
+ gridState.push(columnSortGridConfiguration);
1998
+ gridState.push(columnFilterGridConfiguration);
1999
+ gridState.push(pivotGridConfiguration);
2000
+ return await execute({ data: gridState });
2001
+ };
2002
+ const getGridState = (gridApi, gridColumnApi, gridId) => {
2003
+ const columnState = gridColumnApi?.getColumnState();
2004
+ const columnGroupState = gridColumnApi?.getColumnGroupState();
2005
+ const sortModel = gridApi.getSortModel();
2006
+ const filterModel = gridApi.getFilterModel();
2007
+ const isPivotMode = gridColumnApi.isPivotMode();
2008
+ const gridState = [];
2009
+ const columnGridConfiguration = {
2010
+ gridStateTypeId: GridStateTypeEnums.Column,
2011
+ gridId,
2012
+ values: JSON.stringify(columnState)
2013
+ };
2014
+ const columnGroupGridConfiguration = {
2015
+ gridStateTypeId: GridStateTypeEnums.Column_Group,
2016
+ gridId,
2017
+ values: JSON.stringify(columnGroupState)
2018
+ };
2019
+ const columnSortGridConfiguration = {
2020
+ gridStateTypeId: GridStateTypeEnums.Column_Sort,
2021
+ gridId,
2022
+ values: JSON.stringify(sortModel)
2023
+ };
2024
+ const columnFilterGridConfiguration = {
2025
+ gridStateTypeId: GridStateTypeEnums.Column_Filter,
2026
+ gridId,
2027
+ values: JSON.stringify(filterModel)
2028
+ };
2029
+ const pivotGridConfiguration = {
2030
+ gridStateTypeId: GridStateTypeEnums.Pivot_Mode,
2031
+ gridId,
2032
+ values: JSON.stringify(isPivotMode)
2033
+ };
2034
+ gridState.push(columnGridConfiguration);
2035
+ gridState.push(columnGroupGridConfiguration);
2036
+ gridState.push(columnSortGridConfiguration);
2037
+ gridState.push(columnFilterGridConfiguration);
2038
+ gridState.push(pivotGridConfiguration);
2039
+ return gridState;
2040
+ };
2041
+ const deleteGridState = async (gridApi, gridColumnApi, deleteGridState$1) => {
2042
+ clearGridState(gridApi, gridColumnApi);
2043
+ return await deleteGridState$1();
2044
+ };
2045
+ const clearGridState = (gridApi, gridColumnApi) => {
2046
+ gridColumnApi.resetColumnState();
2047
+ gridColumnApi.resetColumnGroupState();
2048
+ gridApi.setFilterModel({});
2049
+ gridApi.setSortModel([]);
2050
+ gridColumnApi.setPivotMode(false);
2051
+ gridApi.sizeColumnsToFit();
2052
+ };
2053
+ const onFirstDataRendered = (gridApi, gridColumnApi, gridStates) => {
2054
+ if (gridStates && gridStates.length) gridStates.forEach((state) => {
2055
+ switch (state.gridStateTypeId) {
2056
+ case GridStateTypeEnums.Column:
2057
+ gridColumnApi.setColumnState(JSON.parse(state.values));
2058
+ break;
2059
+ case GridStateTypeEnums.Column_Group:
2060
+ gridColumnApi.setColumnGroupState(JSON.parse(state.values));
2061
+ break;
2062
+ case GridStateTypeEnums.Pivot_Mode:
2063
+ gridColumnApi.setPivotMode(JSON.parse(state.values));
2064
+ break;
2065
+ case GridStateTypeEnums.Column_Sort:
2066
+ gridApi.setSortModel(JSON.parse(state.values));
2067
+ break;
2068
+ case GridStateTypeEnums.Column_Filter:
2069
+ gridApi.setFilterModel(JSON.parse(state.values));
2070
+ break;
2071
+ default: break;
2072
+ }
2073
+ });
2074
+ };
2075
+
2076
+ //#endregion
2077
+ //#region src/UI/utilityDisplay/SaveViewFormDialog.jsx
2078
+ const useStyles$7 = makeStyles((theme) => ({
2079
+ root: {},
2080
+ saveForm: {
2081
+ minWidth: 450,
2082
+ paddingLeft: theme.spacing(2),
2083
+ paddingRight: theme.spacing(2)
2084
+ },
2085
+ column: {
2086
+ flex: 1,
2087
+ paddingLeft: theme.spacing(2),
2088
+ paddingRight: theme.spacing(2)
2089
+ },
2090
+ divider: {
2091
+ backgroundColor: "grey",
2092
+ color: "grey",
2093
+ width: 2,
2094
+ height: "100%"
2095
+ },
2096
+ infoHeader: { color: "grey" }
2097
+ }));
2098
+ /**
2099
+ * @param {PropTypes.InferProps<typeof SaveViewFormDialog.propTypes>} props
2100
+ */
2101
+ const SaveViewFormDialog = (props) => {
2102
+ const { handleErrorSnackbar, handleSuccessSnackbar } = useHandleAxiosSnackbar();
2103
+ const { open, handleClose, tenant, application, user, refetchViews, gApi, gcApi, gridId, domain, apiCatalogId } = props;
2104
+ const { t } = useTranslation();
2105
+ const classes = useStyles$7(props);
2106
+ const saveViewFormRef = useRef(null);
2107
+ const triggerSaveView = useCallback(() => {
2108
+ saveViewFormRef.current.handleSubmit();
2109
+ }, [saveViewFormRef]);
2110
+ const saveView = async (values) => {
2111
+ const data = {
2112
+ data: {
2113
+ gridView: {
2114
+ Name: values.name,
2115
+ GridViewVisibilityTypeId: values.private ? VisibilityTypeEnums.Private : VisibilityTypeEnums.Public,
2116
+ isDefault: 0,
2117
+ tenantId: user?.currentTenantId,
2118
+ userId: user?.id,
2119
+ gridId,
2120
+ domain,
2121
+ apiCatalogId
2122
+ },
2123
+ gridConfigurations: getGridState(gApi, gcApi, gridId)
2124
+ },
2125
+ method: "POST"
2126
+ };
2127
+ handleClose();
2128
+ await apiMutate$1(ConfigService.tenantV2ApiUrl, `GridView/createGridView`, data).then((response) => {
2129
+ handleSuccessSnackbar(t("View Saved"));
2130
+ refetchViews();
2131
+ }).catch((error) => {
2132
+ console.log(error);
2133
+ handleErrorSnackbar(error, t("Failed to Save View"));
2134
+ });
2135
+ };
2136
+ return /* @__PURE__ */ React.createElement(FluentDialog, {
2137
+ title: t("Save New View"),
2138
+ open,
2139
+ handleClose,
2140
+ labelOne: t("Save View"),
2141
+ labelTwo: t("Cancel"),
2142
+ actionOne: triggerSaveView,
2143
+ actionTwo: handleClose
2144
+ }, /* @__PURE__ */ React.createElement(Box, { display: "flex" }, /* @__PURE__ */ React.createElement("div", { className: classes.column }, /* @__PURE__ */ React.createElement(Typography, {
2145
+ className: classes.infoHeader,
2146
+ align: "left"
2147
+ }, t("Tenant")), /* @__PURE__ */ React.createElement(Typography, {
2148
+ variant: "subtitle2",
2149
+ align: "left"
2150
+ }, tenant ?? "--")), /* @__PURE__ */ React.createElement(Divider, {
2151
+ flexItem: true,
2152
+ orientation: "vertical"
2153
+ }), /* @__PURE__ */ React.createElement("div", { className: classes.column }, /* @__PURE__ */ React.createElement(Typography, {
2154
+ className: classes.infoHeader,
2155
+ align: "left"
2156
+ }, t("Application")), /* @__PURE__ */ React.createElement(Typography, {
2157
+ variant: "subtitle2",
2158
+ align: "left"
2159
+ }, application ?? "--")), /* @__PURE__ */ React.createElement(Divider, {
2160
+ flexItem: true,
2161
+ orientation: "vertical"
2162
+ }), /* @__PURE__ */ React.createElement("div", { className: classes.column }, /* @__PURE__ */ React.createElement(Typography, {
2163
+ className: classes.infoHeader,
2164
+ align: "left"
2165
+ }, t("Entity")), /* @__PURE__ */ React.createElement(Typography, {
2166
+ variant: "subtitle2",
2167
+ align: "left"
2168
+ }, domain ?? "--"))), /* @__PURE__ */ React.createElement("div", { className: classes.saveForm }, /* @__PURE__ */ React.createElement(Form, {
2169
+ onSubmit: saveView,
2170
+ ref: saveViewFormRef
2171
+ }, /* @__PURE__ */ React.createElement(Field, {
2172
+ type: "text",
2173
+ component: AmbientTextField,
2174
+ name: "name",
2175
+ id: "name",
2176
+ label: t("Name"),
2177
+ fullWidth: true,
2178
+ required: true,
2179
+ style: {
2180
+ marginBottom: 20,
2181
+ marginTop: 10
2182
+ }
2183
+ }), /* @__PURE__ */ React.createElement(FormControlLabel, {
2184
+ control: /* @__PURE__ */ React.createElement(Field, {
2185
+ component: Switch,
2186
+ name: "private",
2187
+ id: "private",
2188
+ defaultValue: false,
2189
+ type: "checkbox"
2190
+ }),
2191
+ label: t("Private"),
2192
+ labelPlacement: "end"
2193
+ }))));
2194
+ };
2195
+ SaveViewFormDialog.propTypes = {
2196
+ open: PropTypes.bool.isRequired,
2197
+ handleClose: PropTypes.func.isRequired,
2198
+ tenant: PropTypes.string,
2199
+ application: PropTypes.string,
2200
+ entity: PropTypes.string,
2201
+ user: PropTypes.object,
2202
+ columnDefsValues: PropTypes.array,
2203
+ refetchViews: PropTypes.func,
2204
+ gApi: PropTypes.object,
2205
+ gcApi: PropTypes.object,
2206
+ setSelectedView: PropTypes.func
2207
+ };
2208
+
2209
+ //#endregion
2210
+ //#region src/hooks/useDynamicListCalculation.jsx
2211
+ /**
2212
+ * A custom React hook for calculating the number of visible children in a dynamic list based on container width and child widths.
2213
+ *
2214
+ * @returns {object} An object containing the `calculateNumberOfVisibleChildren` function.
2215
+ *
2216
+ * @example
2217
+ * // Basic usage:
2218
+ * const parentRef = useRef();
2219
+ * const childRefs = useRef([]);
2220
+ * const { calculateNumberOfVisibleChildren } = useDynamicListCalculation();
2221
+ * const maxVisibleChildren = calculateNumberOfVisibleChildren(parentRef, childRefs);
2222
+
2223
+ * @example
2224
+ * // Excluding a buffer for less white space:
2225
+ * const parentRef = useRef();
2226
+ * const childRefs = useRef([]);
2227
+ * const { calculateNumberOfVisibleChildren } = useDynamicListCalculation();
2228
+ * const maxVisibleChildren = calculateNumberOfVisibleChildren(parentRef, childRefs, false);
2229
+ */
2230
+ const useDynamicListCalculation = () => {
2231
+ const [averageChildWidth, setAverageChildWidth] = useState(0);
2232
+ const [previousChildRefs, setPreviousChildRefs] = useState([]);
2233
+ /**
2234
+ * Calculate the number of visible children based on container width and child widths.
2235
+ *
2236
+ * @param {object} parentRef - Ref object for the parent container.
2237
+ * @param {object} childRefs - Ref object for an array of child elements.
2238
+ * @param {boolean} includeBuffer - Whether to include a buffer for better performance (default: true).
2239
+ * @returns {number} The maximum number of visible children.
2240
+ */
2241
+ const calculateNumberOfVisibleChildren = useCallback((parentRef, childRefs, includeBuffer = true) => {
2242
+ if (!parentRef.current || !childRefs.current) return;
2243
+ const containerWidth = parentRef.current.getBoundingClientRect().width ?? 0;
2244
+ if (!averageChildWidth || previousChildRefs !== childRefs.current) {
2245
+ const childrenTotalWidth = childRefs.current.map((ref) => ref && typeof ref?.getBoundingClientRect === "function" ? ref.getBoundingClientRect().width : 0).reduce((acc, curr) => acc + curr, 0);
2246
+ const calculatedAverageWidth = childrenTotalWidth / childRefs.current.length;
2247
+ setAverageChildWidth(calculatedAverageWidth);
2248
+ setPreviousChildRefs(childRefs.current);
2249
+ }
2250
+ const maxVisibleChildren = Math.floor(containerWidth / averageChildWidth);
2251
+ if (includeBuffer) return maxVisibleChildren - 1;
2252
+ return maxVisibleChildren;
2253
+ }, [averageChildWidth, previousChildRefs]);
2254
+ return { calculateNumberOfVisibleChildren };
2255
+ };
2256
+
2257
+ //#endregion
2258
+ //#region src/UI/containers/DynamicContainerWithMenu.jsx
2259
+ const useStyles$6 = makeStyles$1((theme) => ({ filterChipMenuIcon: {
2260
+ background: theme.palette.common.grey,
2261
+ padding: theme.spacing(1),
2262
+ color: theme.palette.primary.main
2263
+ } }));
2264
+ const DynamicContainerWithMenu = forwardRef((props, ref) => {
2265
+ const { children, className, menuButton, menuIconClassName, includeBuffer = true } = props;
2266
+ const classes = useStyles$6();
2267
+ const { calculateNumberOfVisibleChildren } = useDynamicListCalculation();
2268
+ const modifiedMenuButton = useMemo(() => {
2269
+ if (!menuButton) return null;
2270
+ return cloneElement(menuButton, {
2271
+ onClick: (event) => {
2272
+ menuButton.props.onClick(event);
2273
+ handlePopoverClick(event);
2274
+ },
2275
+ ...menuButton.props
2276
+ }, menuButton.props.children);
2277
+ }, [menuButton]);
2278
+ const [allChildren, setAllChildren] = useState([]);
2279
+ const [visibleChildren, setVisibleChildren] = useState([]);
2280
+ const [menuChildren, setMenuChildren] = useState([]);
2281
+ const [anchorEl, setAnchorEl] = useState(null);
2282
+ const open = Boolean(anchorEl);
2283
+ const id = open ? "simple-popover" : void 0;
2284
+ const containerRef = useRef(ref);
2285
+ const outerContainerRef = useRef(null);
2286
+ const childrenRefs = useRef([]);
2287
+ const handlePopoverClick = (event) => {
2288
+ setAnchorEl(event.currentTarget);
2289
+ };
2290
+ const handlePopoverClose = () => {
2291
+ setAnchorEl(null);
2292
+ };
2293
+ const handleSizeChange = useCallback(() => {
2294
+ const maxVisibleChildren = calculateNumberOfVisibleChildren(containerRef, childrenRefs, includeBuffer);
2295
+ const visibleChildren$1 = allChildren.slice(0, maxVisibleChildren);
2296
+ const menuChildren$1 = allChildren.slice(maxVisibleChildren);
2297
+ setVisibleChildren(visibleChildren$1);
2298
+ setMenuChildren(menuChildren$1);
2299
+ }, [
2300
+ containerRef,
2301
+ allChildren,
2302
+ childrenRefs,
2303
+ calculateNumberOfVisibleChildren,
2304
+ includeBuffer
2305
+ ]);
2306
+ const handleMenuItemClick = useCallback((child) => {
2307
+ if (child.props.onClick && typeof child.props.onClick === "function") child.props.onClick();
2308
+ let children$1 = child.props.children;
2309
+ while (children$1) {
2310
+ if (Array.isArray(children$1) && children$1.length > 0) children$1.forEach((child$1) => {
2311
+ if (child$1.props.onClick && typeof child$1.props.onClick === "function") child$1.props.onClick();
2312
+ });
2313
+ else if (typeof children$1 === "object") {
2314
+ if (children$1.props.onClick && typeof children$1.props.onClick === "function") children$1.props.onClick();
2315
+ }
2316
+ children$1 = children$1.props.children;
2317
+ }
2318
+ handlePopoverClose();
2319
+ }, []);
2320
+ useEffect(() => {
2321
+ const arrayChildren = Children.toArray(children);
2322
+ setAllChildren(arrayChildren);
2323
+ setVisibleChildren(arrayChildren);
2324
+ }, [children]);
2325
+ useLayoutEffect(handleSizeChange, [handleSizeChange]);
2326
+ useLayoutEffect(() => {
2327
+ window.addEventListener("resize", handleSizeChange);
2328
+ const resizeObserver = new ResizeObserver(handleSizeChange);
2329
+ if (outerContainerRef.current) resizeObserver.observe(outerContainerRef.current);
2330
+ return () => {
2331
+ window.removeEventListener("resize", handleSizeChange);
2332
+ resizeObserver.disconnect();
2333
+ };
2334
+ }, [handleSizeChange, outerContainerRef]);
2335
+ return /* @__PURE__ */ React$1.createElement("div", {
2336
+ ref: outerContainerRef,
2337
+ style: {
2338
+ width: "100%",
2339
+ overflow: "hidden"
2340
+ }
2341
+ }, /* @__PURE__ */ React$1.createElement("div", {
2342
+ className,
2343
+ ref: containerRef,
2344
+ style: {
2345
+ display: "flex",
2346
+ flexWrap: "noWrap",
2347
+ overflow: "hidden",
2348
+ flexGrow: 1
2349
+ }
2350
+ }, visibleChildren && Children.map(visibleChildren, (child, index) => {
2351
+ return cloneElement(child, {
2352
+ ref: (ref$1) => childrenRefs.current[index] = ref$1,
2353
+ ...child.props
2354
+ }, child.props.children);
2355
+ }), menuChildren && menuChildren.length > 0 && /* @__PURE__ */ React$1.createElement("div", null, modifiedMenuButton ?? /* @__PURE__ */ React$1.createElement(AmbientTokenButton, {
2356
+ id,
2357
+ icon: MoreVerticalIcon,
2358
+ tooltip: "Additional Filter Values",
2359
+ ariaLabel: "Additional Filter Values",
2360
+ onClick: handlePopoverClick,
2361
+ iconClassName: menuIconClassName ?? classes.filterChipMenuIcon
2362
+ }), /* @__PURE__ */ React$1.createElement(Popover, {
2363
+ id,
2364
+ open,
2365
+ anchorEl,
2366
+ onClose: handlePopoverClose,
2367
+ anchorOrigin: {
2368
+ vertical: "bottom",
2369
+ horizontal: "right"
2370
+ },
2371
+ transformOrigin: {
2372
+ vertical: "top",
2373
+ horizontal: "right"
2374
+ }
2375
+ }, Children.map(menuChildren, (child, index) => {
2376
+ return /* @__PURE__ */ React$1.createElement(MenuItem, { onClick: () => handleMenuItemClick(child) }, cloneElement(child, { ...child.props }, child.props.children));
2377
+ })))));
2378
+ });
2379
+ DynamicContainerWithMenu.displayName = "DynamicContainerWithMenu";
2380
+ DynamicContainerWithMenu.propTypes = {
2381
+ children: PropTypes.node.isRequired,
2382
+ className: PropTypes.string,
2383
+ menuButton: PropTypes.node,
2384
+ menuIconClassName: PropTypes.string,
2385
+ includeBuffer: PropTypes.bool
2386
+ };
2387
+
2388
+ //#endregion
2389
+ //#region src/UI/utilityDisplay/ChipSection.jsx
2390
+ const useStyles$5 = makeStyles$1((theme) => ({
2391
+ wrapper: {
2392
+ display: "flex",
2393
+ gap: theme.spacing(1),
2394
+ flexWrap: "noWrap",
2395
+ backgroundColor: `${theme.palette.secondary.light}80`,
2396
+ alignItems: "center",
2397
+ flexGrow: 1,
2398
+ width: "100%"
2399
+ },
2400
+ chipHolder: {
2401
+ display: "flex",
2402
+ gap: theme.spacing(1),
2403
+ flexWrap: "noWrap",
2404
+ backgroundColor: `${theme.palette.secondary.light}80`,
2405
+ alignItems: "center",
2406
+ overflow: "scroll",
2407
+ "&::-webkit-scrollbar": { display: "none" },
2408
+ flexGrow: 1
2409
+ },
2410
+ viewChip: {
2411
+ backgroundColor: theme.palette.secondary.main,
2412
+ color: "white",
2413
+ maxWidth: "150px",
2414
+ transition: "opacity 0.3s ease",
2415
+ marginLeft: theme.spacing(1)
2416
+ },
2417
+ menuItem: { backgroundColor: "white" },
2418
+ filterChipMenuIcon: {
2419
+ background: theme.palette.common.grey,
2420
+ padding: theme.spacing(1),
2421
+ color: theme.palette.primary.main
2422
+ },
2423
+ additionalFilterChip: {},
2424
+ KPI: {
2425
+ marginLeft: "auto",
2426
+ display: "flex",
2427
+ gap: theme.spacing(1),
2428
+ color: "grey",
2429
+ width: "auto"
2430
+ },
2431
+ kpiValue: {
2432
+ color: "black",
2433
+ fontSize: "1.1em"
2434
+ },
2435
+ kpiItem: {
2436
+ display: "flex",
2437
+ justifyContent: "center",
2438
+ width: "max-content"
2439
+ },
2440
+ kpiLabel: {
2441
+ width: "max-content",
2442
+ marginRight: theme.spacing(1)
2443
+ },
2444
+ clickedChip: {
2445
+ backgroundColor: theme.palette.primary.main,
2446
+ color: "white",
2447
+ maxWidth: "150px"
2448
+ },
2449
+ filterChipLabel: {
2450
+ color: theme.palette.text.primary,
2451
+ whiteSpace: "nowrap",
2452
+ marginRight: theme.spacing(1)
2453
+ },
2454
+ filterChipValue: {
2455
+ color: theme.palette.text.secondary,
2456
+ whiteSpace: "nowrap"
2457
+ }
2458
+ }));
2459
+ const ChipSection = (props) => {
2460
+ const { filterChips = [], viewChips = [], additionalFilterChips = [], hideKpiSection = false, kpiValues = [], maxKPIsDisplayed = 4, handleDelete } = props;
2461
+ const classes = useStyles$5();
2462
+ const chipRefs = useRef([]);
2463
+ const chipSectionContainerRef = useRef(null);
2464
+ const viewChipsContainerRef = useRef(null);
2465
+ const filterChipsContainerRef = useRef(null);
2466
+ const additionalFilterChipsContainerRef = useRef(null);
2467
+ const kpiContainerRef = useRef(null);
2468
+ const [selectedFilterChip, setSelectedFilterChip] = useState(null);
2469
+ const abbrNum = (number, decPlaces) => {
2470
+ if (typeof number === "string" && !isNaN(Number(number))) number = Number(number);
2471
+ else if (typeof number !== "number") throw new Error("The input must be a number or a string that can be converted to a number.");
2472
+ if (typeof decPlaces !== "number") return null;
2473
+ decPlaces = Math.pow(10, decPlaces);
2474
+ let abbrev = [
2475
+ "k",
2476
+ "m",
2477
+ "b",
2478
+ "t"
2479
+ ];
2480
+ for (let i = abbrev.length - 1; i >= 0; i--) {
2481
+ let size = Math.pow(10, (i + 1) * 3);
2482
+ if (size <= number) {
2483
+ number = Math.round(number * decPlaces / size) / decPlaces;
2484
+ if (number === 1e3 && i < abbrev.length - 1) {
2485
+ number = 1;
2486
+ i++;
2487
+ }
2488
+ number += abbrev[i];
2489
+ break;
2490
+ }
2491
+ }
2492
+ return number;
2493
+ };
2494
+ const isEmpty = (array) => Array.isArray(array) && array.length === 0;
2495
+ const abbreviateLabel = (label) => {
2496
+ const maxLength = 10;
2497
+ if (label.length > maxLength) {
2498
+ const newLabel = label.slice(0, maxLength - 3) + "...";
2499
+ return newLabel;
2500
+ } else return null;
2501
+ };
2502
+ const handleFilterChipToggle = (chip) => {
2503
+ setSelectedFilterChip(chip);
2504
+ if (typeof chip.onToggle === "function") chip.onToggle();
2505
+ };
2506
+ const handleFilterChipUntoggle = () => {
2507
+ if (selectedFilterChip) {
2508
+ if (typeof selectedFilterChip.onUntoggle === "function") selectedFilterChip.onUntoggle();
2509
+ setSelectedFilterChip(null);
2510
+ }
2511
+ };
2512
+ return /* @__PURE__ */ React$2.createElement("div", {
2513
+ ref: chipSectionContainerRef,
2514
+ className: classes.wrapper,
2515
+ style: { display: [
2516
+ kpiValues,
2517
+ additionalFilterChips,
2518
+ viewChips,
2519
+ filterChips
2520
+ ].every((arr) => arr.length === 0) ? "none" : "flex" }
2521
+ }, /* @__PURE__ */ React$2.createElement("div", { className: classes.chipHolder }, /* @__PURE__ */ React$2.createElement("div", { ref: viewChipsContainerRef }, viewChips.map((chip, index) => /* @__PURE__ */ React$2.createElement(Chip$1, {
2522
+ onDelete: () => handleDelete("view", index),
2523
+ key: index,
2524
+ label: chip.label,
2525
+ className: classes.viewChip,
2526
+ icon: /* @__PURE__ */ React$2.createElement(StarIcon, null),
2527
+ size: "small"
2528
+ }))), !isEmpty(viewChips) && !isEmpty(filterChips) && /* @__PURE__ */ React$2.createElement(Divider$1, {
2529
+ orientation: "vertical",
2530
+ flexItem: true
2531
+ }), !isEmpty(filterChips) && /* @__PURE__ */ React$2.createElement(DynamicContainerWithMenu, {
2532
+ className: classes.chipHolder,
2533
+ ref: filterChipsContainerRef
2534
+ }, selectedFilterChip && /* @__PURE__ */ React$2.createElement(Chip$1, {
2535
+ onDelete: handleFilterChipUntoggle,
2536
+ label: selectedFilterChip.label,
2537
+ className: classes.viewChip,
2538
+ size: "small"
2539
+ }), filterChips.map((chip, index) => {
2540
+ if (selectedFilterChip && chip.id === selectedFilterChip.id) return null;
2541
+ return /* @__PURE__ */ React$2.createElement(Tooltip$1, { title: chip.label }, /* @__PURE__ */ React$2.createElement(Chip$1, {
2542
+ key: index,
2543
+ label: /* @__PURE__ */ React$2.createElement("div", { style: {
2544
+ display: "flex",
2545
+ flexWrap: "noWrap"
2546
+ } }, /* @__PURE__ */ React$2.createElement(Typography$1, {
2547
+ noWrap: true,
2548
+ className: chip.value ? classes.filterChipLabel : ""
2549
+ }, chip.label), /* @__PURE__ */ React$2.createElement(Typography$1, {
2550
+ noWrap: true,
2551
+ className: classes.filterChipValue
2552
+ }, chip.value)),
2553
+ className: classes.filterChip,
2554
+ size: "small",
2555
+ onClick: () => handleFilterChipToggle(chip),
2556
+ ref: (el) => chipRefs.current[index] = el
2557
+ }));
2558
+ })), !isEmpty(additionalFilterChips) && !isEmpty(filterChips) && /* @__PURE__ */ React$2.createElement(Divider$1, {
2559
+ orientation: "vertical",
2560
+ flexItem: true
2561
+ }), /* @__PURE__ */ React$2.createElement("div", {
2562
+ ref: additionalFilterChipsContainerRef,
2563
+ style: { display: "flex" }
2564
+ }, additionalFilterChips.map((chip, index) => /* @__PURE__ */ React$2.createElement(Chip$1, {
2565
+ variant: "outlined",
2566
+ onDelete: () => handleDelete("additionalFilter", index),
2567
+ key: index,
2568
+ label: chip.label,
2569
+ className: classes.additionalFilterChip,
2570
+ size: "small"
2571
+ })))), !hideKpiSection && /* @__PURE__ */ React$2.createElement("div", {
2572
+ className: classes.KPI,
2573
+ ref: kpiContainerRef
2574
+ }, kpiValues.slice(0, 4).map((kpi, index) => /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, /* @__PURE__ */ React$2.createElement("div", {
2575
+ className: classes.kpiItem,
2576
+ id: index
2577
+ }, /* @__PURE__ */ React$2.createElement("span", { className: classes.kpiLabel }, abbreviateLabel(kpi.label) && /* @__PURE__ */ React$2.createElement(Tooltip$1, {
2578
+ title: kpi.label,
2579
+ arrow: true
2580
+ }, /* @__PURE__ */ React$2.createElement(Typography$1, { noWrap: true }, /* @__PURE__ */ React$2.createElement("span", null, kpi.label, ":"))) || /* @__PURE__ */ React$2.createElement(React$2.Fragment, null, kpi.label)), /* @__PURE__ */ React$2.createElement("span", { className: classes.kpiValue }, /* @__PURE__ */ React$2.createElement(Tooltip$1, {
2581
+ title: kpi.value,
2582
+ arrow: true
2583
+ }, /* @__PURE__ */ React$2.createElement("span", null, abbrNum(kpi.value, 1))))), index !== maxKPIsDisplayed - 1 && /* @__PURE__ */ React$2.createElement(Divider$1, {
2584
+ orientation: "vertical",
2585
+ flexItem: true
2586
+ })))));
2587
+ };
2588
+ ChipSection.propTypes = {
2589
+ filterChips: PropTypes.arrayOf(PropTypes.shape({
2590
+ label: PropTypes.string.isRequired,
2591
+ value: PropTypes.string.isRequired
2592
+ })),
2593
+ viewChips: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string.isRequired })),
2594
+ additionalFilterChips: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string.isRequired })),
2595
+ hideKpiSection: PropTypes.bool,
2596
+ kpiValues: PropTypes.arrayOf(PropTypes.shape({
2597
+ label: PropTypes.string.isRequired,
2598
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired
2599
+ })),
2600
+ maxKPIsDisplayed: PropTypes.number,
2601
+ handleDelete: PropTypes.func,
2602
+ selectedFilterChipsIndex: PropTypes.number,
2603
+ setSelectedFilterChipsIndex: PropTypes.func
2604
+ };
2605
+
2606
+ //#endregion
2607
+ //#region src/UI/inputs/buttons/IconButtonWithToolTip.jsx
2608
+ const useStyles$4 = makeStyles(() => ({ root: { "&.Mui-disabled": { pointerEvents: "auto" } } }));
2609
+ const IconButtonWithTooltip = ({ icon, title, disabled, onClick, className, fluentIconClassName, id, udprecordid,...other }) => {
2610
+ const adjustedButtonProps = {
2611
+ disabled,
2612
+ component: disabled ? "div" : void 0,
2613
+ onClick: disabled ? void 0 : onClick
2614
+ };
2615
+ const classes = useStyles$4();
2616
+ return /* @__PURE__ */ React$1.createElement(Tooltip, { title }, /* @__PURE__ */ React$1.createElement(IconButton, {
2617
+ id,
2618
+ udprecordid,
2619
+ className: `${className} ${classes.root}`,
2620
+ ...other,
2621
+ ...adjustedButtonProps
2622
+ }, /* @__PURE__ */ React$1.createElement(FluentIcon, {
2623
+ className: fluentIconClassName,
2624
+ component: icon
2625
+ })));
2626
+ };
2627
+
2628
+ //#endregion
2629
+ //#region src/UI/templates/ui/renderers/ActionsRenderer.jsx
2630
+ const useStyles$3 = makeStyles((theme) => ({
2631
+ icon: { margin: theme.spacing(.5) },
2632
+ iconButtonStyle: {
2633
+ width: `${theme.spacing(3)}px !important`,
2634
+ height: `${theme.spacing(3)}px !important`,
2635
+ background: "#fff",
2636
+ borderRadius: 25,
2637
+ padding: 6
2638
+ },
2639
+ circularSkeleton: { borderRadius: "50%" }
2640
+ }));
2641
+ const ActionItem = memo((props) => {
2642
+ const { icon, title, onClick, disabled, businessObjectKey = "" } = props;
2643
+ const classes = useStyles$3();
2644
+ return /* @__PURE__ */ React$1.createElement(IconButtonWithTooltip, {
2645
+ title,
2646
+ className: classes.icon,
2647
+ size: "small",
2648
+ onClick,
2649
+ disabled,
2650
+ icon,
2651
+ fluentIconClassName: classes.iconButtonStyle,
2652
+ id: "udpRecord-ActionsRenderer-" + title,
2653
+ udprecordid: "udpRecord-ActionsRenderer-" + title
2654
+ });
2655
+ });
2656
+ const ActionsRenderer = memo((props) => {
2657
+ const { data: value, actionList, onClick } = props;
2658
+ const classes = useStyles$3();
2659
+ const [sheetOpen, setSheetOpen] = useState(false);
2660
+ const [sheetItem, setSheetItem] = useState(null);
2661
+ const [dialogItem, setDialogItem] = useState(null);
2662
+ const [dialogOpen, setDialogOpen] = useState(false);
2663
+ const [isLoading, setIsLoading] = useState(false);
2664
+ const [sideSheetWidth, setSideSheetWidth] = useState(600);
2665
+ const [sideSheetButtonLabel, setSideSheetButtonLabel] = useState("");
2666
+ const [sideSheetOnSubmit, setSideSheetOnSubmit] = useState(() => () => console.warn("onSubmit not set"));
2667
+ const openSheet = useCallback((sheetView) => {
2668
+ setSheetItem(sheetView);
2669
+ setSheetOpen(true);
2670
+ }, []);
2671
+ const openDialog = useCallback((dialogView) => {
2672
+ setDialogItem(dialogView);
2673
+ setDialogOpen(true);
2674
+ }, []);
2675
+ const closeSheet = useCallback(() => {
2676
+ setSheetOpen(false);
2677
+ }, []);
2678
+ const closeDialog = useCallback(() => {
2679
+ setDialogOpen(false);
2680
+ }, []);
2681
+ const getSheetView = (actionItem) => {
2682
+ if (actionItem.opens === ClickOpenEnums.SideSheet) {
2683
+ const valuePropName = actionItem?.view?.properties?.valuePropName;
2684
+ if (valuePropName) actionItem.view.properties[valuePropName] = value;
2685
+ const closeSideSheetPropName = actionItem?.view?.properties?.closeSideSheetPropName;
2686
+ if (closeSideSheetPropName) actionItem.view.properties[closeSideSheetPropName] = closeSheet;
2687
+ }
2688
+ const properties = actionItem?.view?.properties || {};
2689
+ return {
2690
+ id: actionItem.id,
2691
+ title: actionItem.title || "",
2692
+ width: actionItem?.view?.width,
2693
+ children: actionItem?.view?.component({
2694
+ ...properties,
2695
+ setSideSheetWidth,
2696
+ setSideSheetButtonLabel,
2697
+ setSideSheetOnSubmit
2698
+ })
2699
+ };
2700
+ };
2701
+ const getDialogView = (actionItem) => {
2702
+ if (actionItem.opens === ClickOpenEnums.Dialog) {
2703
+ const handleActionTwo = async () => {
2704
+ if (actionItem?.view?.properties?.actionTwo) {
2705
+ setIsLoading(true);
2706
+ await actionItem?.view?.properties?.actionTwo(value);
2707
+ setIsLoading(false);
2708
+ }
2709
+ closeDialog();
2710
+ };
2711
+ return {
2712
+ id: actionItem.id,
2713
+ title: actionItem?.title || "",
2714
+ closeDialog,
2715
+ message: actionItem?.view?.properties?.message,
2716
+ labelOne: actionItem?.view?.properties?.labelOne,
2717
+ actionTwo: handleActionTwo,
2718
+ labelTwo: actionItem?.view?.properties?.labelTwo
2719
+ };
2720
+ }
2721
+ };
2722
+ const displayActions = actionList.map((item, index) => {
2723
+ let onClick$1 = () => item.onClick(value);
2724
+ let title = item.title;
2725
+ let disabled = item.disabled;
2726
+ if (item.opens === ClickOpenEnums.SideSheet) {
2727
+ const sheetView = getSheetView(item);
2728
+ onClick$1 = () => openSheet(sheetView);
2729
+ }
2730
+ if (item.opens === ClickOpenEnums.Dialog) {
2731
+ const dialogView = getDialogView(item);
2732
+ onClick$1 = () => openDialog(dialogView);
2733
+ }
2734
+ if (item.getTitle) title = item.getTitle(value);
2735
+ if (item.checkDisabled) disabled = item.checkDisabled(value);
2736
+ return /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, item.loading && /* @__PURE__ */ React$1.createElement("div", { style: {
2737
+ display: "inline-flex",
2738
+ marginRight: 10
2739
+ } }, /* @__PURE__ */ React$1.createElement(Skeleton, {
2740
+ className: classes.circularSkeleton,
2741
+ width: 24,
2742
+ height: 40
2743
+ })), !item.loading && /* @__PURE__ */ React$1.createElement(ActionItem, {
2744
+ key: `${item.id}-${index}`,
2745
+ title,
2746
+ icon: item.icon,
2747
+ onClick: onClick$1,
2748
+ disabled,
2749
+ businessObjectKey: value?.businessObjectKey
2750
+ }));
2751
+ });
2752
+ return /* @__PURE__ */ React$1.createElement("div", null, displayActions, /* @__PURE__ */ React$1.createElement(SideSheet, {
2753
+ open: sheetOpen,
2754
+ onClose: closeSheet,
2755
+ title: sheetItem?.title,
2756
+ width: sheetItem?.width || 600,
2757
+ buttonLabel: sideSheetButtonLabel,
2758
+ onSubmit: sideSheetOnSubmit
2759
+ }, /* @__PURE__ */ React$1.createElement("div", null, sheetItem?.children)), /* @__PURE__ */ React$1.createElement(FluentDialog, {
2760
+ open: dialogOpen,
2761
+ handleClose: closeDialog,
2762
+ title: dialogItem?.title,
2763
+ message: dialogItem?.message,
2764
+ actionOne: dialogItem?.closeDialog,
2765
+ labelOne: dialogItem?.labelOne,
2766
+ actionTwo: dialogItem?.actionTwo,
2767
+ labelTwo: dialogItem?.labelTwo,
2768
+ progress: dialogItem?.isLoading
2769
+ }));
2770
+ });
2771
+ ActionItem.displayName = "ActionItem";
2772
+ ActionsRenderer.displayName = "ActionsRenderer";
2773
+
2774
+ //#endregion
2775
+ //#region src/UI/dataDisplay/HintPanel.jsx
2776
+ const useStyles$2 = makeStyles$1((theme) => ({
2777
+ hintContainer: { borderLeft: `3px solid ${theme.palette.primary.main}` },
2778
+ hintContent: {
2779
+ backgroundColor: "#F3F9FE",
2780
+ padding: `1rem`
2781
+ },
2782
+ hideHintButton: {
2783
+ border: "none",
2784
+ background: "none",
2785
+ cursor: "pointer",
2786
+ color: "#0B79D0",
2787
+ textDecoration: "none"
2788
+ },
2789
+ hidehelp: {
2790
+ display: "flex",
2791
+ flexDirection: "column",
2792
+ alignItems: "flex-end",
2793
+ width: "100%"
2794
+ }
2795
+ }));
2796
+ const HintPanel = ({ hint, hideHintText }) => {
2797
+ const theme = useTheme$1();
2798
+ const classes = useStyles$2(theme);
2799
+ const [showHint, setShowHint] = useState(true);
2800
+ const handleHideHint = () => {
2801
+ setShowHint(false);
2802
+ };
2803
+ return /* @__PURE__ */ React$1.createElement("div", { className: classes.hintContainer }, showHint && /* @__PURE__ */ React$1.createElement("div", { className: classes.hintContent }, /* @__PURE__ */ React$1.createElement("div", null, hint), /* @__PURE__ */ React$1.createElement("div", { className: classes.hidehelp }, /* @__PURE__ */ React$1.createElement("button", {
2804
+ className: classes.hideHintButton,
2805
+ onClick: handleHideHint
2806
+ }, hideHintText))));
2807
+ };
2808
+ HintPanel.propTypes = {
2809
+ hint: PropTypes.string.isRequired,
2810
+ hideHintText: PropTypes.string.isRequired
2811
+ };
2812
+
2813
+ //#endregion
2814
+ //#region src/UI/utilityDisplay/GridViewsSideSheet.jsx
2815
+ const useStyles$1 = makeStyles((theme) => ({
2816
+ publicChip: {
2817
+ backgroundColor: "#96d2ff",
2818
+ color: "black",
2819
+ width: "60%"
2820
+ },
2821
+ privateChip: {
2822
+ backgroundColor: "#fce597",
2823
+ color: "black",
2824
+ width: "60%"
2825
+ }
2826
+ }));
2827
+ const GridViewsSideSheet = (props) => {
2828
+ const { onClose, open, openSaveView, rowData, setSelectedView } = props;
2829
+ const classes = useStyles$1();
2830
+ const { t } = useTranslation();
2831
+ const { gridApi, onGridReady } = useAgGridApi();
2832
+ const gApi = gridApi;
2833
+ const ChipRenderer = ({ onChange, value, id }) => {
2834
+ const handleChipClick = () => {
2835
+ onChange(id);
2836
+ };
2837
+ return /* @__PURE__ */ React$1.createElement(Chip$1, {
2838
+ label: value === VisibilityTypeEnums.Public ? t("Public") : t("Private"),
2839
+ onClick: handleChipClick,
2840
+ className: value === VisibilityTypeEnums.Public ? classes.publicChip : classes.privateChip,
2841
+ size: "small"
2842
+ });
2843
+ };
2844
+ const setView = useCallback((value) => {
2845
+ setSelectedView(value);
2846
+ onClose();
2847
+ }, [setSelectedView, onClose]);
2848
+ const actionList = useMemo(() => [{
2849
+ id: 1,
2850
+ title: t("Load View"),
2851
+ icon: OpenInNewTabIcon,
2852
+ onClick: setView,
2853
+ disabled: false
2854
+ }, {
2855
+ id: 2,
2856
+ title: t("Workflows"),
2857
+ icon: TableHeaderRowIcon,
2858
+ disabled: false
2859
+ }], [setView, t]);
2860
+ const gridOptions = {
2861
+ headerHeight: 0,
2862
+ frameworkComponents: {
2863
+ actionsRenderer: ActionsRenderer,
2864
+ chipRenderer: ChipRenderer
2865
+ },
2866
+ columnDefs: [
2867
+ {
2868
+ headerName: t("Name"),
2869
+ field: "name"
2870
+ },
2871
+ {
2872
+ field: "visibility",
2873
+ cellRenderer: "chipRenderer",
2874
+ cellRendererParams: (params) => ({
2875
+ onChange: (id) => {},
2876
+ value: params.data.gridViewVisibilityTypeId
2877
+ })
2878
+ },
2879
+ {
2880
+ headerName: t("Actions"),
2881
+ cellRenderer: "actionsRenderer",
2882
+ cellRendererParams: { actionList },
2883
+ width: "100px",
2884
+ pinned: "right",
2885
+ suppressMenu: true,
2886
+ sortable: false
2887
+ }
2888
+ ]
2889
+ };
2890
+ return /* @__PURE__ */ React$1.createElement(SideSheet, {
2891
+ id: "udpRecord-GridViewsSideSheet",
2892
+ udprecordid: "udpRecord-GridViewsSideSheet",
2893
+ open,
2894
+ onClose,
2895
+ width: "40%",
2896
+ title: "Select a View",
2897
+ buttonLabel: "Create View",
2898
+ onSubmit: openSaveView
2899
+ }, /* @__PURE__ */ React$1.createElement("div", { style: { marginBottom: 10 } }, /* @__PURE__ */ React$1.createElement(HintPanel, {
2900
+ hint: "Quickly access and manage your pre-configured table/grid views. These views are designed to help you focus on specific sets of data and streamline your workflow.",
2901
+ hideHintText: "Hide Help"
2902
+ })), /* @__PURE__ */ React$1.createElement(AmbientGridTemplate, {
2903
+ gridOptions,
2904
+ title: "Saved Views",
2905
+ rowData: rowData || [],
2906
+ onGridReady,
2907
+ suppressCellSelection: true,
2908
+ suppressRowClickSelection: true,
2909
+ sideBar: false,
2910
+ pivotMode: false,
2911
+ pivotPanelShow: "never",
2912
+ animateRows: true,
2913
+ pagination: false,
2914
+ api: gApi,
2915
+ useNewHeader: true,
2916
+ hiddenActionButtons: [
2917
+ "saveView",
2918
+ "views",
2919
+ "insights",
2920
+ "importExport",
2921
+ "group",
2922
+ "filter",
2923
+ "columns",
2924
+ "fitGrid",
2925
+ "expandGrid",
2926
+ "clearFilters"
2927
+ ]
2928
+ }));
2929
+ };
2930
+ var GridViewsSideSheet_default = GridViewsSideSheet;
2931
+ GridViewsSideSheet.propTypes = {
2932
+ onClose: PropTypes.func.isRequired,
2933
+ open: PropTypes.bool.isRequired,
2934
+ selectedMethod: PropTypes.string,
2935
+ catalog: PropTypes.array,
2936
+ openSaveView: PropTypes.func,
2937
+ setViewChips: PropTypes.func,
2938
+ setFilter: PropTypes.func,
2939
+ rowData: PropTypes.array,
2940
+ setSelectedView: PropTypes.func,
2941
+ frameworkComponents: PropTypes.object,
2942
+ scrollToTopOnStateChange: PropTypes.bool
2943
+ };
2944
+
2945
+ //#endregion
2946
+ //#region src/UI/utilityDisplay/BulkActionsGridButton.jsx
2947
+ const BulkActionsGridButton = (props) => {
2948
+ const { numSelectedRows, bulkActions, triggerAction, domain } = props;
2949
+ const [actionsAnchorEl, setActionsAnchorEl] = useState(null);
2950
+ const handleBulkActionsClick = (event) => {
2951
+ setActionsAnchorEl(event.currentTarget);
2952
+ };
2953
+ const triggerBulkAction = (actionId) => {
2954
+ triggerAction(actionId);
2955
+ };
2956
+ const filterAction = (action) => {
2957
+ return !!domain ? JSON.parse(action?.parameters)?.entityName === domain : true;
2958
+ };
2959
+ return /* @__PURE__ */ React$1.createElement("div", { style: {
2960
+ marginTop: 5,
2961
+ marginLeft: 20
2962
+ } }, /* @__PURE__ */ React$1.createElement(Badge, {
2963
+ badgeContent: numSelectedRows,
2964
+ color: "secondary"
2965
+ }, /* @__PURE__ */ React$1.createElement(FluentButton, {
2966
+ type: "button",
2967
+ onClick: handleBulkActionsClick,
2968
+ variant: "outlined",
2969
+ color: "primary",
2970
+ endIcon: /* @__PURE__ */ React$1.createElement(FluentIcon, {
2971
+ component: ChevronDownIcon,
2972
+ size: "small"
2973
+ })
2974
+ }, "With Selected")), /* @__PURE__ */ React$1.createElement(Popover, {
2975
+ id: "actions",
2976
+ open: Boolean(actionsAnchorEl),
2977
+ anchorEl: actionsAnchorEl,
2978
+ onClose: () => setActionsAnchorEl(null),
2979
+ anchorOrigin: {
2980
+ vertical: "bottom",
2981
+ horizontal: "right"
2982
+ },
2983
+ transformOrigin: {
2984
+ vertical: "top",
2985
+ horizontal: "right"
2986
+ }
2987
+ }, bulkActions && bulkActions.map((action) => {
2988
+ const valid = filterAction(action);
2989
+ return /* @__PURE__ */ React$1.createElement(Tooltip, {
2990
+ placement: "right",
2991
+ title: !valid ? "Action entity does not match data grid entity" : ""
2992
+ }, /* @__PURE__ */ React$1.createElement("span", null, /* @__PURE__ */ React$1.createElement(MenuItem, {
2993
+ onClick: () => triggerBulkAction(action.actionId),
2994
+ style: {
2995
+ display: "flex",
2996
+ justifyContent: "space-between"
2997
+ },
2998
+ disabled: !valid
2999
+ }, /* @__PURE__ */ React$1.createElement(Typography, null, action.name), /* @__PURE__ */ React$1.createElement(FluentIcon, {
3000
+ component: valid ? action.icon ?? AppIconDefaultIcon : ErrorIcon,
3001
+ style: { marginLeft: 7 },
3002
+ color: !valid && "red"
3003
+ }))));
3004
+ })));
3005
+ };
3006
+
3007
+ //#endregion
3008
+ //#region src/models/SearchOperator.ts
3009
+ const SearchOperators = [
3010
+ {
3011
+ value: "=",
3012
+ label: "Equals"
3013
+ },
3014
+ {
3015
+ value: "IN",
3016
+ label: "Contains"
3017
+ },
3018
+ {
3019
+ value: "<>",
3020
+ label: "Does not Equal"
3021
+ },
3022
+ {
3023
+ value: ">",
3024
+ label: "Greater Than"
3025
+ },
3026
+ {
3027
+ value: "<",
3028
+ label: "Less Than"
3029
+ },
3030
+ {
3031
+ value: ">=",
3032
+ label: "Greater Than or Equal To"
3033
+ },
3034
+ {
3035
+ value: "<=",
3036
+ label: "Less Than or Equal To"
3037
+ },
3038
+ {
3039
+ value: "LIKE",
3040
+ label: "Like"
3041
+ },
3042
+ {
3043
+ value: "STARTSWITH",
3044
+ label: "Starts With"
3045
+ },
3046
+ {
3047
+ value: "BETWEEN",
3048
+ label: "Between"
3049
+ }
3050
+ ];
3051
+ const FilterOperators = {
3052
+ equals: "=",
3053
+ contains: "LIKE",
3054
+ notEqual: "<>",
3055
+ greaterThan: ">",
3056
+ lessThan: "<",
3057
+ greaterThanOrEqual: ">=",
3058
+ lessThanOrEqual: "<=",
3059
+ between: "BETWEEN",
3060
+ In: "IN",
3061
+ startsWith: "STARTSWITH"
3062
+ };
3063
+
3064
+ //#endregion
3065
+ //#region src/UI/templates/AmbientGridTemplate.jsx
3066
+ const useStyles = makeStyles((theme) => ({
3067
+ root: {},
3068
+ pab: {
3069
+ display: "flex",
3070
+ [theme.breakpoints.between("xs", "sm")]: {
3071
+ position: "fixed",
3072
+ bottom: theme.spacing(2),
3073
+ right: theme.spacing(2),
3074
+ zIndex: theme.zIndex.appBar
3075
+ }
3076
+ },
3077
+ groupSideBar: { width: 225 },
3078
+ gridApi: { display: "flex" }
3079
+ }));
3080
+ const AmbientGridTemplate = (props) => {
3081
+ const { additionalFilters, api, apiMethod, applicationName, bulkActionFunctions, clearGridConfig, columnApi, columnDefs, data, defaultAutoSize, deleteGridConfig, disablePagination, disableDynamicSizing, disableRowSelection, entityName, filterChips = [], filters, frameworkComponents, gridReady, gridId, groupingData, height, hideFitGrid, hideExpandGrid, hideExportGrid, hideRemoveFilters, hideFilterTab, hideGroupTab, hideColumnTab, hideSearchBar, hiddenLabels, hiddenActionButtons = [], kpiValues = [], loading = false, onRowSelected, onSearch, onPrimaryActionClick, paginationPageSize = 20, primaryActionButton, primaryActionDisabled, primaryActionLabel, primaryActionIcon, rowModelType = "clientSide", rowNodeIdName, saveGridConfig, scrollToTopOnStateChange, secondaryActionButtons, title, tenantName, hideHeader, useNewHeader, insightsClick, user, id, udprecordid, additionalGridOptions = {}, headerBackgroundColor, onSearchKeyDown,...otherGridProps } = props;
3082
+ const classes = useStyles();
3083
+ const { gridApi, gridColumnApi, onGridReady } = useAgGridApi();
3084
+ const [isVisible, setIsVisible] = useState();
3085
+ const [sidebarIsVisible, setSidebarIsVisible] = useState(false);
3086
+ const [showGroupOptions, setShowGroupOptions] = useState(false);
3087
+ const [selectedRow, setSelectedRow] = useState(null);
3088
+ const [value, setValue] = useState(0);
3089
+ const [saveViewOpen, setSaveViewOpen] = useState(false);
3090
+ const [defaultViews, setDefaultViews] = useState([]);
3091
+ const [viewsOpen, setViewsOpen] = useState(false);
3092
+ const [agGridOptions, setAgGridOptions] = useState({
3093
+ frameworkComponents,
3094
+ suppressScrollOnNewData: !scrollToTopOnStateChange,
3095
+ ...additionalGridOptions
3096
+ });
3097
+ const gApi = api || gridApi;
3098
+ const gcApi = columnApi || gridColumnApi;
3099
+ const [viewChips, setViewChips] = useState([]);
3100
+ const [additionalFilterChips, setAdditionalFilterChips] = useState(additionalFilters);
3101
+ const [columnDefsValues, setColumnDefsValues] = useState(null);
3102
+ const [selectedView, setSelectedView] = useState(null);
3103
+ const [viewsRowData, setViewsRowData] = useState(null);
3104
+ const [nonDefaultViewsRowData, setNonDefaultViewsRowData] = useState();
3105
+ const [numSelectedRows, setNumSelectedRows] = useState(0);
3106
+ const [domain, setDomain] = useState(null);
3107
+ const [apiCatalogId, setApiCatalogId] = useState(null);
3108
+ const { triggerAction } = useActions();
3109
+ useEffect(() => {
3110
+ if (apiMethod) {
3111
+ setDomain(apiMethod.entityName);
3112
+ setApiCatalogId(apiMethod.apiCatalogId);
3113
+ }
3114
+ }, [
3115
+ apiMethod,
3116
+ setDomain,
3117
+ setApiCatalogId
3118
+ ]);
3119
+ const defaultColActionsDef = {
3120
+ resizable: true,
3121
+ editable: false,
3122
+ sortable: true,
3123
+ filter: true,
3124
+ floatingFilter: false,
3125
+ enableRowGroup: true,
3126
+ filterParams: { filterOptions: rowModelType === "serverSide" ? Object.keys(FilterOperators) : void 0 }
3127
+ };
3128
+ const handleChange = (event, newValue) => {
3129
+ event.preventDefault();
3130
+ setValue((preValue) => {
3131
+ if (newValue === preValue && newValue !== 1) gApi.setSideBarVisible(!gApi.isSideBarVisible());
3132
+ else if (newValue === 0) {
3133
+ gApi.setSideBarVisible(true);
3134
+ gApi.openToolPanel("filters");
3135
+ setShowGroupOptions(false);
3136
+ } else if (newValue === 1) {
3137
+ showGrouping();
3138
+ gApi.setSideBarVisible(false);
3139
+ } else {
3140
+ gApi.setSideBarVisible(true);
3141
+ gApi.openToolPanel("columns");
3142
+ setShowGroupOptions(false);
3143
+ }
3144
+ return newValue;
3145
+ });
3146
+ };
3147
+ const onFilterClick = (event) => {
3148
+ event.preventDefault();
3149
+ gApi.setSideBarVisible(!gApi.isSideBarVisible());
3150
+ gApi.openToolPanel("filters");
3151
+ setShowGroupOptions(false);
3152
+ setValue(0);
3153
+ setSidebarIsVisible(!sidebarIsVisible);
3154
+ };
3155
+ const onColumnsClick = (event) => {
3156
+ event.preventDefault();
3157
+ gApi.setSideBarVisible(!gApi.isSideBarVisible());
3158
+ gApi.openToolPanel("columns");
3159
+ setShowGroupOptions(false);
3160
+ setValue(2);
3161
+ setSidebarIsVisible(!sidebarIsVisible);
3162
+ };
3163
+ const emptyArr = [];
3164
+ const handleRowSelected = useCallback((event) => {
3165
+ if (!gApi) return;
3166
+ const selectedRows = gApi.getSelectedRows();
3167
+ setNumSelectedRows(selectedRows.length);
3168
+ const row = selectedRows.length && selectedRows[0];
3169
+ setSelectedRow(row);
3170
+ if (onRowSelected) onRowSelected(event, row);
3171
+ }, [gApi, onRowSelected]);
3172
+ const setSideBarInvisible = () => {
3173
+ if (gApi.isSideBarVisible()) {
3174
+ gApi.setSideBarVisible(false);
3175
+ setIsVisible(false);
3176
+ } else {
3177
+ gApi.setSideBarVisible(true);
3178
+ gApi.openToolPanel("filters");
3179
+ setShowGroupOptions(false);
3180
+ setIsVisible(true);
3181
+ }
3182
+ };
3183
+ const handleFilterChange = (event) => {
3184
+ gApi.setQuickFilter(event.target.value);
3185
+ };
3186
+ const groupGridItems = (groupItem) => {
3187
+ gcApi.setRowGroupColumns([groupItem]);
3188
+ gApi.expandAll();
3189
+ };
3190
+ const restoreGridDefault = () => {
3191
+ gApi.setQuickFilter("");
3192
+ gcApi.setRowGroupColumns([]);
3193
+ gApi.setFilterModel(null);
3194
+ gApi.setQuickFilter("");
3195
+ gcApi.resetColumnState();
3196
+ };
3197
+ const showGrouping = () => {
3198
+ setShowGroupOptions(!showGroupOptions);
3199
+ gApi.setSideBarVisible(false);
3200
+ };
3201
+ const expandGroupedGrid = () => {
3202
+ gApi.expandAll();
3203
+ };
3204
+ const collapseGroupedGrid = () => {
3205
+ gApi.collapseAll();
3206
+ };
3207
+ const fitToSpace = () => {
3208
+ gApi.sizeColumnsToFit();
3209
+ };
3210
+ const exportGrid = () => {
3211
+ gApi.exportDataAsCsv({
3212
+ allColumns: true,
3213
+ fileName: "export"
3214
+ });
3215
+ };
3216
+ const openSaveView = () => {
3217
+ setColumnDefsValues(JSON.stringify(gcApi.getColumnState()));
3218
+ setSaveViewOpen(true);
3219
+ };
3220
+ const closeSaveView = () => {
3221
+ setSaveViewOpen(false);
3222
+ };
3223
+ const openViews = useCallback(() => {
3224
+ setViewsOpen(true);
3225
+ }, []);
3226
+ const closeViews = () => {
3227
+ setViewsOpen(false);
3228
+ };
3229
+ const handleTriggerAction = useCallback((actionId) => {
3230
+ if (triggerAction && gApi) triggerAction(actionId, gApi.getSelectedRows());
3231
+ }, [triggerAction, gApi]);
3232
+ const autoSizeAll = useCallback((skipHeader) => {
3233
+ invariant(gcApi, `gridColumnApi not ready`);
3234
+ const allColumnIds = [];
3235
+ gcApi.getAllColumns().forEach((column) => {
3236
+ allColumnIds.push(column.getColId());
3237
+ });
3238
+ gcApi.autoSizeColumns(allColumnIds, skipHeader);
3239
+ }, [gcApi]);
3240
+ const autoSizeAllWithoutHeader = useCallback(() => autoSizeAll(false), [autoSizeAll]);
3241
+ const firstDataRendered = useCallback((params) => {
3242
+ !defaultAutoSize && params?.api.sizeColumnsToFit();
3243
+ defaultAutoSize && autoSizeAllWithoutHeader();
3244
+ }, [defaultAutoSize, autoSizeAllWithoutHeader]);
3245
+ useEffect(() => {
3246
+ if (!gApi) return;
3247
+ setSelectedRow(gApi.getSelectedRows()?.length && gApi.getSelectedRows()[0]);
3248
+ selectedRow && gApi.ensureNodeVisible(selectedRow);
3249
+ }, [gApi, selectedRow]);
3250
+ const handleChipDelete = (chipType, chipIndex) => {
3251
+ switch (chipType) {
3252
+ case "view":
3253
+ setViewChips((prevChips) => prevChips.filter((_, index) => index !== chipIndex));
3254
+ setSelectedView(null);
3255
+ gcApi.resetColumnState();
3256
+ gApi.sizeColumnsToFit();
3257
+ break;
3258
+ case "additionalFilter":
3259
+ setAdditionalFilterChips((prevChips) => {
3260
+ if (prevChips[chipIndex]?.onUntoggle) prevChips[chipIndex]?.onUntoggle();
3261
+ return prevChips.filter((_, index) => index !== chipIndex);
3262
+ });
3263
+ break;
3264
+ default: break;
3265
+ }
3266
+ };
3267
+ useEffect(() => {
3268
+ if (viewsRowData?.length > 0) {
3269
+ const DefaultViews = viewsRowData.reduce((acc, row) => {
3270
+ if (row.isDefault) return [...acc, row];
3271
+ return acc;
3272
+ }, []);
3273
+ const nonDefaultViews = viewsRowData.reduce((acc, row) => {
3274
+ if (!row.isDefault) return [...acc, row];
3275
+ return acc;
3276
+ }, []);
3277
+ setDefaultViews(DefaultViews);
3278
+ setNonDefaultViewsRowData(nonDefaultViews);
3279
+ }
3280
+ }, [viewsRowData]);
3281
+ const setView = useCallback((value$1) => {
3282
+ const columnState = value$1?.gridViewGridViewGridConfiguration.map((ele) => ele.gridViewGridConfigurationGridConfiguration);
3283
+ setViewChips((prevChips) => [{ label: value$1?.name }]);
3284
+ onFirstDataRendered(gApi, gcApi, columnState);
3285
+ }, [
3286
+ setViewChips,
3287
+ gApi,
3288
+ gcApi
3289
+ ]);
3290
+ const setFilter = (value$1) => {};
3291
+ const [{ data: views }, refetch] = useAxiosGet(ConfigService.tenantV2ApiUrl, `GridView/getFromUser/${user?.id}/${gridId}`, { params: {
3292
+ domainName: domain,
3293
+ apiCatalogId
3294
+ } }, !!!ConfigService.tenantV2ApiUrl || !!!gridId || !!!user);
3295
+ const [{ data: bulkActions }] = useAxiosGet(ConfigService.integrationV2ApiUrl, `action/grid/${gridId}`, {}, !!!ConfigService.integrationV2ApiUrl || !!!gridId);
3296
+ useEffect(() => {
3297
+ setViewsRowData(views);
3298
+ }, [openViews, views]);
3299
+ const getView = useCallback(async () => {
3300
+ await apiMutate$1(ConfigService.tenantV2ApiUrl, `GridView/${selectedView.gridViewId}/PartiallyFull`, { method: "get" }).then((response) => {
3301
+ setView(response.data);
3302
+ }).catch((error) => {
3303
+ console.log(error);
3304
+ });
3305
+ }, [selectedView, setView]);
3306
+ useEffect(() => {
3307
+ if (!selectedView?.gridViewId) {
3308
+ gcApi?.resetColumnState();
3309
+ gApi?.sizeColumnsToFit();
3310
+ return void 0;
3311
+ }
3312
+ getView();
3313
+ return void 0;
3314
+ }, [
3315
+ setSelectedView,
3316
+ selectedView,
3317
+ gcApi,
3318
+ gApi,
3319
+ getView
3320
+ ]);
3321
+ useEffect(() => {
3322
+ if (additionalFilters) setAdditionalFilterChips(additionalFilters);
3323
+ }, [additionalFilters]);
3324
+ return /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, !hideHeader && useNewHeader && gApi && /* @__PURE__ */ React$1.createElement(GridPrimaryBar, {
3325
+ title,
3326
+ showFilter: setSideBarInvisible,
3327
+ selected: isVisible,
3328
+ onChange: onSearch || handleFilterChange,
3329
+ showGroup: showGrouping,
3330
+ value,
3331
+ saveViewClick: openSaveView,
3332
+ viewsClick: openViews,
3333
+ handleChange,
3334
+ fitClick: fitToSpace,
3335
+ expandClick: autoSizeAllWithoutHeader,
3336
+ exportClick: exportGrid,
3337
+ insightsClick,
3338
+ clearClick: restoreGridDefault,
3339
+ filterClick: onFilterClick,
3340
+ columnsClick: onColumnsClick,
3341
+ hideSearchBar,
3342
+ secondaryActionButtons: secondaryActionButtons || [],
3343
+ onPrimaryActionClick,
3344
+ primaryActionDisabled,
3345
+ primaryActionLabel,
3346
+ primaryActionIcon,
3347
+ hiddenActionButtons: hiddenActionButtons || [],
3348
+ hiddenLabels: hiddenLabels || [],
3349
+ background: headerBackgroundColor,
3350
+ onSearchKeyDown
3351
+ }), useNewHeader && (kpiValues?.length > 0 || filterChips?.length > 0 || filters?.length > 0 || viewChips?.length > 0 || additionalFilterChips?.length > 0) && /* @__PURE__ */ React$1.createElement("div", { style: {
3352
+ display: "flex",
3353
+ flexDirection: "row",
3354
+ height: 40
3355
+ } }, /* @__PURE__ */ React$1.createElement(Grow, {
3356
+ in: bulkActions && numSelectedRows > 0,
3357
+ unmountOnExit: true
3358
+ }, /* @__PURE__ */ React$1.createElement(BulkActionsGridButton, {
3359
+ bulkActions,
3360
+ numSelectedRows,
3361
+ triggerAction: handleTriggerAction,
3362
+ domain
3363
+ })), /* @__PURE__ */ React$1.createElement(ChipSection, {
3364
+ filterChips,
3365
+ viewChips,
3366
+ additionalFilterChips,
3367
+ kpiValues,
3368
+ handleDelete: handleChipDelete,
3369
+ setAdditionalFilterChips,
3370
+ setViewChips,
3371
+ setFilter
3372
+ })), useNewHeader && gApi && gcApi && /* @__PURE__ */ React$1.createElement(GridViewsSideSheet_default, {
3373
+ open: viewsOpen,
3374
+ onClose: closeViews,
3375
+ openSaveView,
3376
+ setViewChips,
3377
+ setFilter: setView,
3378
+ rowData: views,
3379
+ setSelectedView
3380
+ }), !hideHeader && !useNewHeader && /* @__PURE__ */ React$1.createElement(GridActionBar, {
3381
+ title,
3382
+ showFilter: setSideBarInvisible,
3383
+ selected: isVisible,
3384
+ onChange: onSearch || handleFilterChange,
3385
+ showGroup: showGrouping,
3386
+ value,
3387
+ handleChange,
3388
+ fitClick: fitToSpace,
3389
+ expandClick: autoSizeAllWithoutHeader,
3390
+ exportClick: exportGrid,
3391
+ clearClick: restoreGridDefault,
3392
+ saveGridConfig,
3393
+ deleteGridConfig,
3394
+ clearGridConfig,
3395
+ hideFitGrid,
3396
+ hideExpandGrid,
3397
+ hideExportGrid,
3398
+ hideRemoveFilters,
3399
+ hideFilterTab,
3400
+ hideGroupTab,
3401
+ hideColumnTab,
3402
+ hideSearchBar
3403
+ }, primaryActionButton && /* @__PURE__ */ React$1.createElement("div", { className: classes.pab }, primaryActionButton)), loading && /* @__PURE__ */ React$1.createElement(LinearProgress, null), /* @__PURE__ */ React$1.createElement("div", { style: { display: "flex" } }, /* @__PURE__ */ React$1.createElement("div", { style: { width: "100%" } }, /* @__PURE__ */ React$1.createElement(AgTable, {
3404
+ ...agGridOptions,
3405
+ columnDefs,
3406
+ dynamicSizing: !disableDynamicSizing,
3407
+ rowData: data || emptyArr,
3408
+ onGridReady: gridReady || onGridReady,
3409
+ onRowSelected: handleRowSelected,
3410
+ suppressCellSelection: true,
3411
+ suppressRowClickSelection: false,
3412
+ defaultColDef: defaultColActionsDef,
3413
+ enableRangeSelection: true,
3414
+ enableColResize: true,
3415
+ sideBar: sidebarIsVisible,
3416
+ pivotMode: false,
3417
+ pivotPanelShow: "never",
3418
+ groupSelectsChildren: true,
3419
+ animateRows: false,
3420
+ pagination: !disablePagination,
3421
+ showOpenedGroup: true,
3422
+ paginateChildRows: true,
3423
+ paginationPageSize,
3424
+ modules: rowModelType === "serverSide" ? [ServerSideRowModelModule] : [],
3425
+ onFirstDataRendered: firstDataRendered,
3426
+ rowModelType,
3427
+ rowClassRules: { "first-row-in-group": (params) => params.node.rowIndex !== 0 && params.node.firstChild },
3428
+ height,
3429
+ api: gApi,
3430
+ rowSelection: !disableRowSelection && (bulkActions ? "multiple" : "single"),
3431
+ hideHeader,
3432
+ ...otherGridProps
3433
+ })), showGroupOptions && /* @__PURE__ */ React$1.createElement("div", { className: classes.groupSideBar }, /* @__PURE__ */ React$1.createElement(GridGroupingSidebar, {
3434
+ groupItem: (item) => groupGridItems(item),
3435
+ closeClick: () => groupGridItems(""),
3436
+ expandClick: expandGroupedGrid,
3437
+ collapseClick: collapseGroupedGrid,
3438
+ groupingData,
3439
+ height
3440
+ })), !hiddenActionButtons?.includes("saveView") && /* @__PURE__ */ React$1.createElement(SaveViewFormDialog, {
3441
+ open: saveViewOpen,
3442
+ handleClose: closeSaveView,
3443
+ application: applicationName,
3444
+ tenant: tenantName,
3445
+ user,
3446
+ columnDefsValues,
3447
+ refetchViews: refetch,
3448
+ gApi,
3449
+ gcApi,
3450
+ setSelectedView: setView,
3451
+ gridId,
3452
+ domain,
3453
+ apiCatalogId
3454
+ })));
3455
+ };
3456
+ AmbientGridTemplate.propTypes = {
3457
+ columnDefs: PropTypes.array,
3458
+ handleRowSelected: PropTypes.func,
3459
+ data: PropTypes.array,
3460
+ title: PropTypes.string,
3461
+ groupingData: PropTypes.array,
3462
+ frameworkComponents: PropTypes.object,
3463
+ loading: PropTypes.bool,
3464
+ primaryActionButton: PropTypes.object,
3465
+ rowNodeIdName: PropTypes.string,
3466
+ defaultAutoSize: PropTypes.bool,
3467
+ scrollToTopOnStateChange: PropTypes.bool,
3468
+ disableDynamicSizing: PropTypes.bool,
3469
+ filters: PropTypes.arrayOf(PropTypes.shape({
3470
+ label: PropTypes.string.isRequired,
3471
+ value: PropTypes.string.isRequired
3472
+ })),
3473
+ views: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string.isRequired })),
3474
+ additionalFilters: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string.isRequired })),
3475
+ kpis: PropTypes.arrayOf(PropTypes.shape({
3476
+ label: PropTypes.string.isRequired,
3477
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired
3478
+ })),
3479
+ useNewHeader: PropTypes.bool,
3480
+ insightsClick: PropTypes.func,
3481
+ hiddenActionButtons: PropTypes.arrayOf(PropTypes.oneOf([
3482
+ "saveView",
3483
+ "views",
3484
+ "insights",
3485
+ "importExport",
3486
+ "group",
3487
+ "filter",
3488
+ "columns",
3489
+ "fitGrid",
3490
+ "expandGrid",
3491
+ "clearFilters"
3492
+ ])),
3493
+ hiddenLabels: PropTypes.arrayOf(PropTypes.oneOf([
3494
+ "saveView",
3495
+ "views",
3496
+ "insights",
3497
+ "importExport",
3498
+ "group",
3499
+ "filter",
3500
+ "columns",
3501
+ "fitGrid",
3502
+ "expandGrid",
3503
+ "clearFilters"
3504
+ ])),
3505
+ onPrimaryActionClick: PropTypes.func,
3506
+ primaryActionLabel: PropTypes.string,
3507
+ primaryActionIcon: PropTypes.elementType,
3508
+ secondaryActionButtons: PropTypes.array,
3509
+ applicationName: PropTypes.string,
3510
+ entityName: PropTypes.string,
3511
+ tenantName: PropTypes.string,
3512
+ user: PropTypes.object,
3513
+ kpiValues: PropTypes.array
3514
+ };
3515
+
3516
+ //#endregion
3517
+ export { ActionContext, ActionDispatchContext, ActionLoadingDispatchContext, ActionsRenderer, AgTable, AgTableButtons, AmbientGridTemplate, AmbientTextField, AmbientToggleButton, AmbientTokenButton, DynamicContainerWithMenu, Ellipse, FilterOperators, FluentDialog, GridActionBar, GridGroupingHeader, GridGroupingSidebar, GridSidebarContainer, IconButtonWithTooltip, LicenseKey, SearchOperators, Token, clearGridState, deleteGridState, findTermByType, getCommonEntityName, getEllipseColor, getEntityAttributes, getFullyQualifiedName, getGridState, getPathObject, getPathParametersObj, getPrimaryKeyValues, getSanitizedName, getSuccessAction, isValueSelected, onFirstDataRendered, saveGridState, useActionState, useActionStore, useActions, useAgGridApi, useCatalogStore, useDynamicListCalculation, useExport, useGridClear, useGridFormat, useHandleAction, useInquiryStore, useQuickFilter };
3518
+ //# sourceMappingURL=AmbientGridTemplate-BLwgiqwK.js.map