udp-react-enterprise-component-library 1.0.5-beta.2 → 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 (976) hide show
  1. package/{dist-tsdown/AmbientGridTemplate-C4cO-UBE.js → dist/AmbientGridTemplate-BLwgiqwK.js} +800 -1133
  2. package/dist/AmbientGridTemplate-BLwgiqwK.js.map +1 -0
  3. package/{dist-tsdown/EnvironmentRibbon-W5AjvnLN.js → dist/EnvironmentRibbon-BMvQEZPZ.js} +91 -108
  4. package/dist/EnvironmentRibbon-BMvQEZPZ.js.map +1 -0
  5. package/{dist-tsdown/MenuPage-DsZUwqyz.js → dist/MenuPage-DLsNc-P8.js} +104 -160
  6. package/{dist-tsdown/MenuPage-DsZUwqyz.js.map → dist/MenuPage-DLsNc-P8.js.map} +1 -1
  7. package/{dist-tsdown/MyExportsPage-DWbSEbU5.js → dist/MyExportsPage-BYH2Wl9k.js} +120 -151
  8. package/dist/{MyExportsPage-B-xwnIEc.js.map → MyExportsPage-BYH2Wl9k.js.map} +1 -1
  9. package/dist/MyExportsPage-CVUIXWTf.js +8 -0
  10. package/{dist-tsdown/PageContainer-CWhjU1zS.js → dist/PageContainer-B65gsUfF.js} +401 -599
  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-tsdown/PageNotFoundRoute-Z5qYmErL.js.map → dist/PageNotFoundRoute-CxYZNEhN.js.map} +1 -1
  15. package/{dist-tsdown/PasswordResetRedirect-D6RVOdwy.js → dist/PasswordResetRedirect-BHnkAW40.js} +24 -34
  16. package/{dist-tsdown/PasswordResetRedirect-D6RVOdwy.js.map → dist/PasswordResetRedirect-BHnkAW40.js.map} +1 -1
  17. package/dist/{PasswordResetRedirect-CX9MEbof.js → PasswordResetRedirect-tUV2yEkH.js} +1 -1
  18. package/{dist-tsdown/SearchUtilities-URbeAh75.js → dist/SearchUtilities-dbXvMYoa.js} +5 -5
  19. package/dist/SearchUtilities-dbXvMYoa.js.map +1 -0
  20. package/{dist-tsdown/SideSheet-DcEfnfH_.js → dist/SideSheet-CPHhyWLB.js} +99 -132
  21. package/dist/SideSheet-CPHhyWLB.js.map +1 -0
  22. package/dist/UdpPublicForm-BrVSSMCN.js +4 -0
  23. package/dist/{UdpPublicForm-BNe1yTjb.js → UdpPublicForm-DFCL1GzD.js} +16 -7
  24. package/{dist-tsdown/UdpPublicForm-EOSy6X_O.js.map → dist/UdpPublicForm-DFCL1GzD.js.map} +1 -1
  25. package/{dist-tsdown/UtilitySideBar-D4Gdx13d.js → dist/UtilitySideBar-B4r2IAv5.js} +185 -303
  26. package/{dist-tsdown/UtilitySideBar-D4Gdx13d.js.map → dist/UtilitySideBar-B4r2IAv5.js.map} +1 -1
  27. package/{dist-tsdown/VirtualBrowser-OXhftZwa.js → dist/VirtualBrowser-C_IJ0I6f.js} +64 -85
  28. package/dist/VirtualBrowser-C_IJ0I6f.js.map +1 -0
  29. package/dist/WorkflowContainer-8-mmebY0.js +9 -0
  30. package/{dist-tsdown/WorkflowContainer-C2W0pr5f.js → dist/WorkflowContainer-DKwRWi1i.js} +200 -319
  31. package/dist/WorkflowContainer-DKwRWi1i.js.map +1 -0
  32. package/{dist-tsdown/apiHelpers-DtpC3VqG.js → dist/apiHelpers-t3rfkjFZ.js} +9 -13
  33. package/{dist-tsdown/apiHelpers-DtpC3VqG.js.map → dist/apiHelpers-t3rfkjFZ.js.map} +1 -1
  34. package/dist/index.js +10584 -15705
  35. package/dist/index.js.map +1 -1
  36. package/{dist-tsdown/propertyTypeEnums-CaDtepcE.js → dist/propertyTypeEnums-DTGsK5-s.js} +22 -30
  37. package/dist/propertyTypeEnums-DTGsK5-s.js.map +1 -0
  38. package/dist/types/AGLicense.d.ts +1 -0
  39. package/dist/types/UI/AlertContainer.d.ts +1 -0
  40. package/dist/types/UI/Box.d.ts +2 -0
  41. package/dist/types/UI/Grid.d.ts +1 -0
  42. package/dist/types/UI/SuccessAction.d.ts +1 -0
  43. package/dist/types/UI/accordion/Accordion.d.ts +1 -0
  44. package/dist/types/UI/advancedSearchBuilder/UdpAdvancedSearchBuilder.d.ts +2 -0
  45. package/dist/types/UI/charts/InsightRenderer.d.ts +20 -0
  46. package/dist/types/UI/charts/UdpBarChart.d.ts +7 -0
  47. package/dist/types/UI/charts/UdpDistributionChart.d.ts +5 -0
  48. package/dist/types/UI/charts/UdpDonutChart.d.ts +8 -0
  49. package/dist/types/UI/charts/UdpLineChart.d.ts +7 -0
  50. package/dist/types/UI/charts/index.d.ts +6 -0
  51. package/dist/types/UI/charts/types.d.ts +62 -0
  52. package/dist/types/UI/components/dataDisplay/Ellipse.d.ts +8 -0
  53. package/dist/types/UI/components/dataDisplay/EmailDisplay.d.ts +1 -0
  54. package/dist/types/UI/components/dataDisplay/SmsDisplay.d.ts +1 -0
  55. package/dist/types/UI/components/dataDisplay/Sticky.d.ts +8 -0
  56. package/dist/types/UI/components/dataDisplay/Token.d.ts +13 -0
  57. package/dist/types/UI/components/feedback/Adornment.d.ts +6 -0
  58. package/dist/types/UI/containers/DynamicContainerWithMenu.d.ts +1 -0
  59. package/dist/types/UI/dataDisplay/AmbientList.d.ts +15 -0
  60. package/dist/types/UI/dataDisplay/AvatarAlphabet.d.ts +1 -0
  61. package/dist/types/UI/dataDisplay/ChipAlphabet.d.ts +6 -0
  62. package/dist/types/UI/dataDisplay/CompactDataList.d.ts +1 -0
  63. package/dist/types/UI/dataDisplay/CompactDataListItem.d.ts +1 -0
  64. package/dist/types/UI/dataDisplay/EmptyStateDisplay.d.ts +19 -0
  65. package/dist/types/UI/dataDisplay/FluentActivity/FluentActivity.d.ts +1 -0
  66. package/dist/types/UI/dataDisplay/FluentActivity/FluentActivityRow.d.ts +1 -0
  67. package/dist/types/UI/dataDisplay/FluentDataTable/FluentBody/index.d.ts +8 -0
  68. package/dist/types/UI/dataDisplay/FluentDataTable/FluentCell/index.d.ts +78 -0
  69. package/dist/types/UI/dataDisplay/FluentDataTable/FluentDataTable.d.ts +11 -0
  70. package/dist/types/UI/dataDisplay/FluentDataTable/FluentHead/index.d.ts +9 -0
  71. package/dist/types/UI/dataDisplay/FluentDataTable/FluentRow/index.d.ts +8 -0
  72. package/dist/types/UI/dataDisplay/FluentListElement.d.ts +8 -0
  73. package/dist/types/UI/dataDisplay/FluentListItem.d.ts +1 -0
  74. package/dist/types/UI/dataDisplay/GraphCard.d.ts +31 -0
  75. package/dist/types/UI/dataDisplay/HeaderExpander.d.ts +31 -0
  76. package/dist/types/UI/dataDisplay/HintPanel.d.ts +10 -0
  77. package/dist/types/UI/dataDisplay/StatusChip.d.ts +9 -0
  78. package/dist/types/UI/dataDisplay/StatusFlags.d.ts +31 -0
  79. package/dist/types/UI/dataDisplay/SummaryBlock.d.ts +30 -0
  80. package/dist/types/UI/dataDisplay/TimelineCalendar.d.ts +1 -0
  81. package/dist/types/UI/dataDisplay/address/AddressListItem.d.ts +3 -0
  82. package/dist/types/UI/dataDisplay/cardList/CardList.d.ts +40 -0
  83. package/dist/types/UI/dataDisplay/cardList/enum.d.ts +5 -0
  84. package/dist/types/UI/dataDisplay/directory/Directory.d.ts +9 -0
  85. package/dist/types/UI/dataDisplay/directory/DirectoryListItem.d.ts +4 -0
  86. package/dist/types/UI/dataDisplay/entityHeader/EntityHeader.d.ts +13 -0
  87. package/dist/types/UI/dataDisplay/entityHeader/functions/groupSectionData.d.ts +1 -0
  88. package/dist/types/UI/dataDisplay/entityHeader/functions/useDivideArrayIntoGroups.d.ts +2 -0
  89. package/dist/types/UI/dataDisplay/entityHeader/functions/useElementWidth.d.ts +15 -0
  90. package/dist/types/UI/dataDisplay/entityHeader/ui/AlertPill.d.ts +47 -0
  91. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderContainer.d.ts +16 -0
  92. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderFlags.d.ts +4 -0
  93. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderList.d.ts +1 -0
  94. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderListItem.d.ts +1 -0
  95. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderSection.d.ts +16 -0
  96. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStatList.d.ts +1 -0
  97. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStatListItem.d.ts +1 -0
  98. package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStats.d.ts +4 -0
  99. package/dist/types/UI/dataDisplay/map/ColorKey.d.ts +16 -0
  100. package/dist/types/UI/dataDisplay/map/FluentIconKey.d.ts +2 -0
  101. package/dist/types/UI/dataDisplay/map/IconKey.d.ts +16 -0
  102. package/dist/types/UI/dataDisplay/notes/Note.d.ts +7 -0
  103. package/dist/types/UI/dataDisplay/notes/Notes.d.ts +11 -0
  104. package/dist/types/UI/dataDisplay/ticketCard/NotificationElement.d.ts +11 -0
  105. package/dist/types/UI/dataDisplay/ticketCard/StatusLineItem.d.ts +31 -0
  106. package/dist/types/UI/dataDisplay/ticketCard/TicketCard.d.ts +39 -0
  107. package/dist/types/UI/dataDisplay/typography/FormHeaders.d.ts +2 -0
  108. package/dist/types/UI/dataDisplay/typography/SideSheetHeader.d.ts +4 -0
  109. package/dist/types/UI/dataDisplay/typography/SidebarHeader.d.ts +1 -0
  110. package/dist/types/UI/dataDisplay/typography/StandardTitle.d.ts +1 -0
  111. package/dist/types/UI/dataDisplay/typography/StylizedTitle.d.ts +24 -0
  112. package/dist/types/UI/dataDisplay/typography/Typography.d.ts +1 -0
  113. package/dist/types/UI/dataDisplay/visualization/AmbientVisualizer.d.ts +63 -0
  114. package/dist/types/UI/dataDisplay/visualization/GaugeGraph.d.ts +1 -0
  115. package/dist/types/UI/dataDisplay/visualization/RatioVisulization.d.ts +5 -0
  116. package/dist/types/UI/dataDisplay/visualization/amCharts/AmChart.d.ts +11 -0
  117. package/dist/types/UI/dataDisplay/visualization/amCharts/AmSankeyChart.d.ts +2 -0
  118. package/dist/types/UI/demos/InputsExample.d.ts +3 -0
  119. package/dist/types/UI/feedback/AmbientAlert.d.ts +12 -0
  120. package/dist/types/UI/feedback/AmbientToast.d.ts +1 -0
  121. package/dist/types/UI/feedback/FluentDialog.d.ts +1 -0
  122. package/dist/types/UI/feedback/NodeLoader.d.ts +4 -0
  123. package/dist/types/UI/feedback/PageLoading.d.ts +1 -0
  124. package/dist/types/UI/fileViewer/FileViewer.d.ts +1 -0
  125. package/dist/types/UI/fileViewer/imageSlider/Image.d.ts +1 -0
  126. package/dist/types/UI/fileViewer/imageSlider/ImageFooter.d.ts +1 -0
  127. package/dist/types/UI/fileViewer/imageSlider/ImageSlider.d.ts +1 -0
  128. package/dist/types/UI/fileViewer/imageSlider/ImageViewerSideSheet.d.ts +1 -0
  129. package/dist/types/UI/fileViewer/pdfViewer/ControlPanel.d.ts +2 -0
  130. package/dist/types/UI/fileViewer/pdfViewer/PDFViewer.d.ts +11 -0
  131. package/dist/types/UI/fileViewer/utils/fileTypes.d.ts +1 -0
  132. package/dist/types/UI/fileViewer/utils/fileUtils.d.ts +2 -0
  133. package/dist/types/UI/floorplans/CoreLayoutFloorplan.d.ts +189 -0
  134. package/dist/types/UI/forms/CrudForm.d.ts +29 -0
  135. package/dist/types/UI/forms/LoginForm.d.ts +1 -0
  136. package/dist/types/UI/forms/PaymentReversalForm.d.ts +5 -0
  137. package/dist/types/UI/forms/UdpCrudFormFields.d.ts +9 -0
  138. package/dist/types/UI/forms/VirtualForm.d.ts +17 -0
  139. package/dist/types/UI/iframe/Iframe.d.ts +1 -0
  140. package/dist/types/UI/inputs/buttons/AdvanceButton.d.ts +4 -0
  141. package/dist/types/UI/inputs/buttons/AmbientCardButton.d.ts +21 -0
  142. package/dist/types/UI/inputs/buttons/AmbientChipButton.d.ts +1 -0
  143. package/dist/types/UI/inputs/buttons/AmbientPopoverMenuItem.d.ts +5 -0
  144. package/dist/types/UI/inputs/buttons/AmbientToggleButton.d.ts +27 -0
  145. package/dist/types/UI/inputs/buttons/AmbientToggleButtonGroup.d.ts +2 -0
  146. package/dist/types/UI/inputs/buttons/AmbientToggleButtonGroupDefault.d.ts +63 -0
  147. package/dist/types/UI/inputs/buttons/AmbientTokenButton.d.ts +1 -0
  148. package/dist/types/UI/inputs/buttons/FUISquareIconButton.d.ts +5 -0
  149. package/dist/types/UI/inputs/buttons/FluentButton.d.ts +1 -0
  150. package/dist/types/UI/inputs/buttons/FluentCompoundButton.d.ts +1 -0
  151. package/dist/types/UI/inputs/buttons/FluentIconButton.d.ts +1 -0
  152. package/dist/types/UI/inputs/buttons/FluentMenuListButton.d.ts +9 -0
  153. package/dist/types/UI/inputs/buttons/FluentMenuListItem.d.ts +9 -0
  154. package/dist/types/UI/inputs/buttons/FluentUploadButton.d.ts +1 -0
  155. package/dist/types/UI/inputs/buttons/FluentUploadIconButton.d.ts +1 -0
  156. package/dist/types/UI/inputs/buttons/IconButtonWithToolTip.d.ts +12 -0
  157. package/dist/types/UI/inputs/buttons/PrimaryActionButton.d.ts +6 -0
  158. package/dist/types/UI/inputs/buttons/ToolBarButton.d.ts +11 -0
  159. package/dist/types/UI/inputs/calendar/AmbientDateRangeSelector.d.ts +3 -0
  160. package/dist/types/UI/inputs/calendar/AmbientSingleDateSelector.d.ts +3 -0
  161. package/dist/types/UI/inputs/checkbox/FluentCheckbox.d.ts +1 -0
  162. package/dist/types/UI/inputs/datetimes/DateField.d.ts +6 -0
  163. package/dist/types/UI/inputs/datetimes/DateTimeField.d.ts +4 -0
  164. package/dist/types/UI/inputs/datetimes/TimeField.d.ts +5 -0
  165. package/dist/types/UI/inputs/fieldArrayCard/AutocompleteFinalField.d.ts +3 -0
  166. package/dist/types/UI/inputs/fieldArrayCard/DateRangeField.d.ts +2 -0
  167. package/dist/types/UI/inputs/fieldArrayCard/FieldArrayCard.d.ts +1 -0
  168. package/dist/types/UI/inputs/fieldArrayCard/SearchSideSheet.d.ts +2 -0
  169. package/dist/types/UI/inputs/fieldArrayCard/fieldArrayCardEnum.d.ts +10 -0
  170. package/dist/types/UI/inputs/link/BreadCrumbMenu.d.ts +1 -0
  171. package/dist/types/UI/inputs/link/FluentLink.d.ts +1 -0
  172. package/dist/types/UI/inputs/menus/AmbientStepper/AmbientStepContent.d.ts +9 -0
  173. package/dist/types/UI/inputs/menus/AmbientStepper/AmbientStepper.d.ts +13 -0
  174. package/dist/types/UI/inputs/menus/AmbientStepper/StepLabel.d.ts +64 -0
  175. package/dist/types/UI/inputs/menus/FluentScrollLoadAutocompleteMenu.d.ts +109 -0
  176. package/dist/types/UI/inputs/menus/FluentSelectDirectoryMenu.d.ts +6 -0
  177. package/dist/types/UI/inputs/menus/FluentSelectGroupMenu.d.ts +7 -0
  178. package/dist/types/UI/inputs/menus/FluentSelectMenu-old.d.ts +1 -0
  179. package/dist/types/UI/inputs/menus/FluentSelectMenu.d.ts +9 -0
  180. package/dist/types/UI/inputs/menus/FluentSimpleSelect.d.ts +1 -0
  181. package/dist/types/UI/inputs/pickers/FluentColorPicker.d.ts +1 -0
  182. package/dist/types/UI/inputs/pickers/FluentDatePicker.d.ts +9 -0
  183. package/dist/types/UI/inputs/pickers/FluentDateTimePicker.d.ts +9 -0
  184. package/dist/types/UI/inputs/pickers/FluentTimePicker.d.ts +13 -0
  185. package/dist/types/UI/inputs/pickers/UdpDateSelector.d.ts +10 -0
  186. package/dist/types/UI/inputs/pickers/UdpTimeSelector.d.ts +14 -0
  187. package/dist/types/UI/inputs/radio/FluentRadio.d.ts +1 -0
  188. package/dist/types/UI/inputs/radio/FluentRadioGroup.d.ts +1 -0
  189. package/dist/types/UI/inputs/richEditors/CkRichEditor.d.ts +1 -0
  190. package/dist/types/UI/inputs/sliders/FluentInputSlider.d.ts +3 -0
  191. package/dist/types/UI/inputs/textField/AmbientAutoComplete.d.ts +1 -0
  192. package/dist/types/UI/inputs/textField/AmbientTextField.d.ts +21 -0
  193. package/dist/types/UI/inputs/textField/FluentSearchField.d.ts +1 -0
  194. package/dist/types/UI/inputs/textField/FluentTagField.d.ts +2 -0
  195. package/dist/types/UI/inputs/textField/FluentTextField.d.ts +2 -0
  196. package/dist/types/UI/inputs/textField/FluentTextFieldAutoComplete.d.ts +1 -0
  197. package/dist/types/UI/inputs/textField/KeyValueTextField.d.ts +1 -0
  198. package/dist/types/UI/inputs/toggle/FluentToggle.d.ts +1 -0
  199. package/dist/types/UI/loading/CircularProgress.d.ts +1 -0
  200. package/dist/types/UI/loading/LinearProgress.d.ts +1 -0
  201. package/dist/types/UI/loading/LoadingIndicator.d.ts +4 -0
  202. package/dist/types/UI/loading/LoadingOverlay.d.ts +4 -0
  203. package/dist/types/UI/mapLayout/MapLayout.d.ts +1 -0
  204. package/dist/types/UI/mapLayout/ui/ActionsRenderer.d.ts +2 -0
  205. package/dist/types/UI/mapLayout/ui/CheckboxGroup.d.ts +1 -0
  206. package/dist/types/UI/mapLayout/ui/CheckboxList.d.ts +1 -0
  207. package/dist/types/UI/mapLayout/ui/CompactCard.d.ts +1 -0
  208. package/dist/types/UI/mapLayout/ui/ListCard.d.ts +9 -0
  209. package/dist/types/UI/mapLayout/ui/ListView.d.ts +2 -0
  210. package/dist/types/UI/mapLayout/ui/MapLayoutToolbar.d.ts +2 -0
  211. package/dist/types/UI/mapLayout/ui/PopoverCard.d.ts +1 -0
  212. package/dist/types/UI/mapLayout/ui/PopoverOverlay.d.ts +2 -0
  213. package/dist/types/UI/mapLayout/ui/Statistic.d.ts +1 -0
  214. package/dist/types/UI/mapLayout/utilities/MapUtilities.d.ts +12 -0
  215. package/dist/types/UI/maps/UdpMap.d.ts +120 -0
  216. package/dist/types/UI/maps/UdpMapComponent.d.ts +128 -0
  217. package/dist/types/UI/maps/UdpMapToolbar.d.ts +87 -0
  218. package/dist/types/UI/navigation/FluentSideNav.d.ts +1 -0
  219. package/dist/types/UI/navigation/menus/AppMenu.d.ts +6 -0
  220. package/dist/types/UI/navigation/menus/AppMenuItem.d.ts +25 -0
  221. package/dist/types/UI/navigation/menus/AppMenuItemComponent.d.ts +1 -0
  222. package/dist/types/UI/navigation/menus/Expander.d.ts +1 -0
  223. package/dist/types/UI/navigation/menus/ExpanderItem.d.ts +4 -0
  224. package/dist/types/UI/navigation/menus/FluentMenuListItem.d.ts +5 -0
  225. package/dist/types/UI/navigation/tabs/UdpTabPanel.d.ts +1 -0
  226. package/dist/types/UI/navigation/tabs/UdpTabUtility.d.ts +1 -0
  227. package/dist/types/UI/navigation/tabs/UdpTabs.d.ts +1 -0
  228. package/dist/types/UI/navigation/tabs/defaultTabs/FluentSimpleTab.d.ts +1 -0
  229. package/dist/types/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.d.ts +1 -0
  230. package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabPanel.d.ts +8 -0
  231. package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabPanels.d.ts +17 -0
  232. package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabUtility.d.ts +1 -0
  233. package/dist/types/UI/property/PropertyFields.d.ts +16 -0
  234. package/dist/types/UI/property/widgets/AutoCompletePropertyWidget.d.ts +7 -0
  235. package/dist/types/UI/property/widgets/BooleanPropertyWidget.d.ts +7 -0
  236. package/dist/types/UI/property/widgets/DatePropertyWidget.d.ts +7 -0
  237. package/dist/types/UI/property/widgets/DateTimePropertyWidget.d.ts +7 -0
  238. package/dist/types/UI/property/widgets/FloatPropertyWidget.d.ts +7 -0
  239. package/dist/types/UI/property/widgets/IntegerPropertyWidget.d.ts +7 -0
  240. package/dist/types/UI/property/widgets/MultilineTextPropertyWidget.d.ts +7 -0
  241. package/dist/types/UI/property/widgets/NumericPropertyWidget.d.ts +7 -0
  242. package/dist/types/UI/property/widgets/SelectPropertyWidget.d.ts +7 -0
  243. package/dist/types/UI/property/widgets/TextPropertyWidget.d.ts +11 -0
  244. package/dist/types/UI/property/widgets/TimePropertyWidget.d.ts +7 -0
  245. package/dist/types/UI/property/widgets/index.d.ts +15 -0
  246. package/dist/types/UI/stepper/types.d.ts +38 -0
  247. package/dist/types/UI/stepper/udp-stepper.d.ts +3 -0
  248. package/dist/types/UI/support/SupportCaseForm.d.ts +6 -0
  249. package/dist/types/UI/support/SupportCaseSideSheet.d.ts +9 -0
  250. package/dist/types/UI/surfaces/NestedGrid/NestedGrid.d.ts +18 -0
  251. package/dist/types/UI/surfaces/NestedGrid/ui/ExpandRenderer.d.ts +5 -0
  252. package/dist/types/UI/surfaces/SideSheet.d.ts +60 -0
  253. package/dist/types/UI/surfaces/cards/AmbientCard.d.ts +1 -0
  254. package/dist/types/UI/surfaces/cards/AmbientCardTitle.d.ts +32 -0
  255. package/dist/types/UI/surfaces/cards/AmbientVisualizationCard.d.ts +10 -0
  256. package/dist/types/UI/surfaces/cards/BioCard.d.ts +10 -0
  257. package/dist/types/UI/surfaces/cards/ContentDisplayCard.d.ts +19 -0
  258. package/dist/types/UI/surfaces/cards/FUICard.d.ts +4 -0
  259. package/dist/types/UI/surfaces/cards/FUICardHeader.d.ts +2 -0
  260. package/dist/types/UI/surfaces/cards/FluentCard.d.ts +4 -0
  261. package/dist/types/UI/surfaces/cards/FluentCardActions.d.ts +4 -0
  262. package/dist/types/UI/surfaces/cards/FluentCardContent.d.ts +4 -0
  263. package/dist/types/UI/surfaces/cards/FluentCardHeader.d.ts +4 -0
  264. package/dist/types/UI/surfaces/cards/FluentCardText.d.ts +1 -0
  265. package/dist/types/UI/surfaces/cards/InfoCard.d.ts +54 -0
  266. package/dist/types/UI/surfaces/cards/QuickViewCard.d.ts +14 -0
  267. package/dist/types/UI/surfaces/cards/newsCard/NewsCard.d.ts +34 -0
  268. package/dist/types/UI/surfaces/cards/workOrderCard/WorkOrderCard.d.ts +12 -0
  269. package/dist/types/UI/surfaces/cards/workOrderCard/WorkOrderHeader.d.ts +4 -0
  270. package/dist/types/UI/templates/AmbientGridTemplate.d.ts +122 -0
  271. package/dist/types/UI/templates/DraggableSidebarTemplate.d.ts +1 -0
  272. package/dist/types/UI/templates/OpenPage.d.ts +4 -0
  273. package/dist/types/UI/templates/SapFlexibleTemplate.d.ts +5 -0
  274. package/dist/types/UI/templates/ToggleSection.d.ts +31 -0
  275. package/dist/types/UI/templates/UdpCalendar.d.ts +1 -0
  276. package/dist/types/UI/templates/UdpCalendarDayView.d.ts +1 -0
  277. package/dist/types/UI/templates/UdpCalendarMonthView.d.ts +1 -0
  278. package/dist/types/UI/templates/UdpCalendarWeekView.d.ts +1 -0
  279. package/dist/types/UI/templates/UdpCalendarYearView.d.ts +1 -0
  280. package/dist/types/UI/templates/UdpGridTemplate.d.ts +1 -0
  281. package/dist/types/UI/templates/newGrid/ApiMethodInstanceUdpGrid.d.ts +1 -0
  282. package/dist/types/UI/templates/newGrid/ApiMethodUdpGrid.d.ts +1 -0
  283. package/dist/types/UI/templates/newGrid/BackwardsCompatibleGrid.d.ts +5 -0
  284. package/dist/types/UI/templates/newGrid/ClientSideUdpGrid.d.ts +1 -0
  285. package/dist/types/UI/templates/newGrid/EntityMaintenanceUdpGrid.d.ts +2 -0
  286. package/dist/types/UI/templates/newGrid/ServerSideUdpGrid.d.ts +1 -0
  287. package/dist/types/UI/templates/ui/ExtenderToggle.d.ts +17 -0
  288. package/dist/types/UI/templates/ui/GridGroupingHeader.d.ts +16 -0
  289. package/dist/types/UI/templates/ui/GridGroupingSidebar.d.ts +37 -0
  290. package/dist/types/UI/templates/ui/GridSidebarContainer.d.ts +10 -0
  291. package/dist/types/UI/templates/ui/TokenGroupItem.d.ts +24 -0
  292. package/dist/types/UI/templates/ui/renderers/ActionsRenderer.d.ts +1 -0
  293. package/dist/types/UI/templates/ui/renderers/IconRenderer.d.ts +4 -0
  294. package/dist/types/UI/templates/ui/renderers/StatusCellRenderer.d.ts +1 -0
  295. package/dist/types/UI/timeline/ExtendActions.d.ts +2 -0
  296. package/dist/types/UI/timeline/ExtendedHeader.d.ts +2 -0
  297. package/dist/types/UI/timeline/TimeEntryStates.d.ts +1 -0
  298. package/dist/types/UI/timeline/TimeLine.d.ts +6 -0
  299. package/dist/types/UI/timeline/TimelineElement.d.ts +2 -0
  300. package/dist/types/UI/timeline/UdpTimeline.d.ts +1 -0
  301. package/dist/types/UI/timeline/UdpTimelineContent.d.ts +1 -0
  302. package/dist/types/UI/timeline/UdpTimelineDot.d.ts +1 -0
  303. package/dist/types/UI/timeline/UdpTimelineItem.d.ts +1 -0
  304. package/dist/types/UI/timeline/UdpTimelineItemConnector.d.ts +1 -0
  305. package/dist/types/UI/timeline/UdpTimelineItemSeparator.d.ts +1 -0
  306. package/dist/types/UI/timeline/fluentTimeline/FluentTimeline.d.ts +1 -0
  307. package/dist/types/UI/timeline/fluentTimeline/FluentTimelineContent.d.ts +1 -0
  308. package/dist/types/UI/timeline/fluentTimeline/FluentTimelineHeader.d.ts +1 -0
  309. package/dist/types/UI/utilityDisplay/AggregateChip.d.ts +13 -0
  310. package/dist/types/UI/utilityDisplay/BulkActionsGridButton.d.ts +1 -0
  311. package/dist/types/UI/utilityDisplay/ChipSection.d.ts +41 -0
  312. package/dist/types/UI/utilityDisplay/Divider.d.ts +1 -0
  313. package/dist/types/UI/utilityDisplay/FormControl.d.ts +1 -0
  314. package/dist/types/UI/utilityDisplay/FormControlLabel.d.ts +1 -0
  315. package/dist/types/UI/utilityDisplay/GridActionBar.d.ts +37 -0
  316. package/dist/types/UI/utilityDisplay/GridPrimaryBar.d.ts +83 -0
  317. package/dist/types/UI/utilityDisplay/GridViewsSideSheet.d.ts +17 -0
  318. package/dist/types/UI/utilityDisplay/IndicatorChip.d.ts +1 -0
  319. package/dist/types/UI/utilityDisplay/InputAdornment.d.ts +1 -0
  320. package/dist/types/UI/utilityDisplay/SaveViewFormDialog.d.ts +4 -0
  321. package/dist/types/UI/utilityDisplay/UtilityBar.d.ts +1 -0
  322. package/dist/types/UI/utilityDisplay/UtilitySideBar.d.ts +1 -0
  323. package/dist/types/UI/utilityDisplay/alerts/UdpAlert.d.ts +9 -0
  324. package/dist/types/UI/utilityDisplay/alerts/UdpAlertsContainer.d.ts +1 -0
  325. package/dist/types/UI/utilityDisplay/ui/UtilitySearch.d.ts +5 -0
  326. package/dist/types/UI/utilityDisplay/utilities/aggregateUtils.d.ts +1 -0
  327. package/dist/types/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.d.ts +148 -0
  328. package/dist/types/UI/utilityDisplay/utilityHeader/UtilityTabHeader.d.ts +6 -0
  329. package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.d.ts +4 -0
  330. package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.d.ts +4 -0
  331. package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHExport.d.ts +5 -0
  332. package/dist/types/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.d.ts +8 -0
  333. package/dist/types/UI/utilityDisplay/utilityHeader/ui/teleporter.d.ts +1 -0
  334. package/dist/types/UI/widgets/FluentComponents/ChartSummaryToggle.d.ts +2 -0
  335. package/dist/types/UI/widgets/FluentComponents/FUIMenuItem.d.ts +2 -0
  336. package/dist/types/UI/widgets/FluentComponents/SimpleTable.d.ts +2 -0
  337. package/dist/types/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.d.ts +2 -0
  338. package/dist/types/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.d.ts +2 -0
  339. package/dist/types/UI/widgets/FluentComponents/atoms/FluentTrendArrow.d.ts +2 -0
  340. package/dist/types/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.d.ts +2 -0
  341. package/dist/types/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.d.ts +2 -0
  342. package/dist/types/UI/widgets/FluentComponents/molecules/FluentStatNumber.d.ts +2 -0
  343. package/dist/types/UI/widgets/FluentComponents/molecules/FluentTimeline.d.ts +2 -0
  344. package/dist/types/UI/widgets/ItemsWidgetCard.d.ts +46 -0
  345. package/dist/types/UI/widgets/WidgetCard.d.ts +5 -0
  346. package/dist/types/UI/widgets/library/BarChartWidget.d.ts +19 -0
  347. package/dist/types/UI/widgets/library/BubbleWidget.d.ts +19 -0
  348. package/dist/types/UI/widgets/library/CircleGaugeWidget.d.ts +19 -0
  349. package/dist/types/UI/widgets/library/DateTrendWidget.d.ts +14 -0
  350. package/dist/types/UI/widgets/library/DensePlotWidget.d.ts +19 -0
  351. package/dist/types/UI/widgets/library/DonutChartWidget.d.ts +14 -0
  352. package/dist/types/UI/widgets/library/GaugeWidget.d.ts +23 -0
  353. package/dist/types/UI/widgets/library/LineAndSparklinesWidget.d.ts +14 -0
  354. package/dist/types/UI/widgets/library/LineGraphWidget.d.ts +19 -0
  355. package/dist/types/UI/widgets/library/ProgressBarWidget.d.ts +14 -0
  356. package/dist/types/UI/widgets/library/RecentlyLoadedNodesWidget.d.ts +7 -0
  357. package/dist/types/UI/widgets/library/RemindersWidget.d.ts +3 -0
  358. package/dist/types/UI/widgets/library/SparklineWidget.d.ts +14 -0
  359. package/dist/types/UI/widgets/library/SparsePlotWidget.d.ts +19 -0
  360. package/dist/types/UI/widgets/library/TableWidget.d.ts +14 -0
  361. package/dist/types/UI/widgets/utils/ConvertISODate.d.ts +1 -0
  362. package/dist/types/UI/widgets/utils/NumberVisualization.d.ts +2 -0
  363. package/dist/types/UI/widgets/utils/dateUtils.d.ts +3 -0
  364. package/dist/types/UI/widgets/utils/useId.d.ts +4 -0
  365. package/dist/types/actions/ActionForm.d.ts +29 -0
  366. package/dist/types/actions/ActionModal.d.ts +1 -0
  367. package/dist/types/actions/ActionPanelPlacement.d.ts +17 -0
  368. package/dist/types/actions/ActionSideSheet.d.ts +33 -0
  369. package/dist/types/actions/ActionSpeedDial.d.ts +13 -0
  370. package/dist/types/actions/ActionSplitScreen.d.ts +14 -0
  371. package/dist/types/actions/ActionWrapper.d.ts +12 -0
  372. package/dist/types/actions/PageActionWrapper.d.ts +1 -0
  373. package/dist/types/actions/actionSummary/ActionSummaryCard.d.ts +13 -0
  374. package/dist/types/actions/actionSummary/ActionSummaryHeader.d.ts +8 -0
  375. package/dist/types/actions/actionSummary/ActionSummaryListContainer.d.ts +8 -0
  376. package/dist/types/actions/actionSummary/ActionSummaryListItem.d.ts +10 -0
  377. package/dist/types/actions/actionSummary/ActionSummaryPopover.d.ts +17 -0
  378. package/dist/types/actions/actionSummary/index.d.ts +5 -0
  379. package/dist/types/actions/sidebar/EntitySideBarContent.d.ts +1 -0
  380. package/dist/types/actions/utils/actionUtils.d.ts +3 -0
  381. package/dist/types/assets/unityIcons/LibraryData.d.ts +9 -0
  382. package/dist/types/chatBot/ChatContainer.d.ts +1 -0
  383. package/dist/types/chatBot/ChatMessage.d.ts +1 -0
  384. package/dist/types/componentSystems/multiThreadTimeline/functions/mttFunctions.d.ts +8 -0
  385. package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.d.ts +4 -0
  386. package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.d.ts +1 -0
  387. package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/MttTimeline.d.ts +3 -0
  388. package/dist/types/componentSystems/multiThreadTimeline/mttSummary/MttSummary.d.ts +6 -0
  389. package/dist/types/componentSystems/multiThreadTimeline/timeline.d.ts +26 -0
  390. package/dist/types/componentSystems/multiThreadTimeline/ui/CircleButton.d.ts +6 -0
  391. package/dist/types/componentSystems/multiThreadTimeline/ui/DateWrapper.d.ts +14 -0
  392. package/dist/types/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.d.ts +1 -0
  393. package/dist/types/componentSystems/multiThreadTimeline/ui/MttYearTag.d.ts +8 -0
  394. package/dist/types/componentSystems/multiThreadTimeline/ui/MultiDot.d.ts +9 -0
  395. package/dist/types/componentSystems/multiThreadTimeline/ui/SummaryToken.d.ts +18 -0
  396. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineDateBar.d.ts +13 -0
  397. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineDot.d.ts +9 -0
  398. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.d.ts +9 -0
  399. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineNode.d.ts +2 -0
  400. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.d.ts +10 -0
  401. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineStatus.d.ts +6 -0
  402. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.d.ts +20 -0
  403. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.d.ts +22 -0
  404. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.d.ts +16 -0
  405. package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineWrapper.d.ts +11 -0
  406. package/dist/types/componentSystems/multiThreadTimeline/ui/VisualizationDot.d.ts +11 -0
  407. package/dist/types/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.d.ts +18 -0
  408. package/dist/types/componentSystems/pageRenderer/PageRenderer.d.ts +9 -0
  409. package/dist/types/componentSystems/pageRenderer/hocs/withEngineComponent.d.ts +1 -0
  410. package/dist/types/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +34 -0
  411. package/dist/types/componentSystems/pageRenderer/utils/TableColumnDefs.d.ts +9 -0
  412. package/dist/types/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.d.ts +13 -0
  413. package/dist/types/componentSystems/pageRenderer/wrappers/BarChartWrapper.d.ts +7 -0
  414. package/dist/types/componentSystems/pageRenderer/wrappers/BioCardWrapper.d.ts +1 -0
  415. package/dist/types/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.d.ts +1 -0
  416. package/dist/types/componentSystems/pageRenderer/wrappers/DonutWrapper.d.ts +7 -0
  417. package/dist/types/componentSystems/pageRenderer/wrappers/HistogramWrapper.d.ts +1 -0
  418. package/dist/types/componentSystems/pageRenderer/wrappers/LineGraphWrapper.d.ts +1 -0
  419. package/dist/types/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.d.ts +1 -0
  420. package/dist/types/constants/reminderConstants.d.ts +4 -0
  421. package/dist/types/containers/IframeContainer.d.ts +1 -0
  422. package/dist/types/contexts/ActionContext.d.ts +1 -0
  423. package/dist/types/contexts/ActionDispatchContext.d.ts +1 -0
  424. package/dist/types/contexts/ActionLoadingContext.d.ts +1 -0
  425. package/dist/types/contexts/ActionLoadingDispatchContext.d.ts +1 -0
  426. package/dist/types/contexts/PageContext.d.ts +15 -0
  427. package/dist/types/contexts/usePageContext.d.ts +1 -0
  428. package/dist/types/dashboard/DashboardCardGrid.d.ts +7 -0
  429. package/dist/types/dashboard/DashboardWidget.d.ts +2 -0
  430. package/dist/types/dashboard/WidgetCard.d.ts +4 -0
  431. package/dist/types/dashboard/getWidgetLayout.d.ts +5 -0
  432. package/dist/types/dashboard/types.d.ts +27 -0
  433. package/dist/types/dataBrowser/DataBrowserColumnDefs.d.ts +9 -0
  434. package/dist/types/dataBrowser/DataBrowserContainer.d.ts +1 -0
  435. package/dist/types/dataBrowser/forms/ParamsMappingFields.d.ts +1 -0
  436. package/dist/types/dataBrowser/forms/ParamsMappingForm.d.ts +1 -0
  437. package/dist/types/dataBrowser/forms/RequiredFieldsMappingField.d.ts +1 -0
  438. package/dist/types/dataBrowser/forms/RequiredFieldsMappingForm.d.ts +1 -0
  439. package/dist/types/diffChecker/DiffChecker.d.ts +6 -0
  440. package/dist/types/enums/InputFieldTypeEnums.d.ts +9 -0
  441. package/dist/types/enums/aggridEnums.d.ts +46 -0
  442. package/dist/types/enums/menuEnums.d.ts +6 -0
  443. package/dist/types/enums/pageEnums.d.ts +14 -0
  444. package/dist/types/enums/paymentMethodTypeEnum.d.ts +6 -0
  445. package/dist/types/enums/paymentTenderTypeEnum.d.ts +8 -0
  446. package/dist/types/enums/paymentVendorFactoryEnum.d.ts +10 -0
  447. package/dist/types/enums/propertyTypeEnums.d.ts +9 -0
  448. package/dist/types/enums/searchEnums.d.ts +5 -0
  449. package/dist/types/enums/tagEnums.d.ts +5 -0
  450. package/dist/types/enums/unitySystemEnums.d.ts +243 -0
  451. package/dist/types/enums/workflowEnums.d.ts +41 -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/index.test.d.ts +1 -0
  472. package/dist/types/inquiry/AlertFlag.d.ts +4 -0
  473. package/dist/types/inquiry/AmbientListItem.d.ts +4 -0
  474. package/dist/types/inquiry/AmbientSplitStatCard.d.ts +4 -0
  475. package/dist/types/inquiry/AmbientSummaryListHeader.d.ts +4 -0
  476. package/dist/types/inquiry/EmbeddedInquiry.d.ts +2 -0
  477. package/dist/types/inquiry/ExecuteApiDialog.d.ts +1 -0
  478. package/dist/types/inquiry/FilterSearch.d.ts +3 -0
  479. package/dist/types/inquiry/FlagBlock.d.ts +4 -0
  480. package/dist/types/inquiry/Inquiry.d.ts +29 -0
  481. package/dist/types/inquiry/InquiryContainer.d.ts +28 -0
  482. package/dist/types/inquiry/InquiryTreeMenu.d.ts +1 -0
  483. package/dist/types/inquiry/InquiryTreeMenuItem.d.ts +1 -0
  484. package/dist/types/inquiry/InquiryWrapper.d.ts +1 -0
  485. package/dist/types/inquiry/ItemDescription.d.ts +4 -0
  486. package/dist/types/inquiry/NodeColumnHeader.d.ts +5 -0
  487. package/dist/types/inquiry/NodeDetails.d.ts +1 -0
  488. package/dist/types/inquiry/NodeList.d.ts +1 -0
  489. package/dist/types/inquiry/ToggleButton.d.ts +4 -0
  490. package/dist/types/inquiry/dashboard/InquiryDashboard.d.ts +1 -0
  491. package/dist/types/inquiry/dashboard/RecentlyLoadedNodesTable.d.ts +1 -0
  492. package/dist/types/inquiry/inquiryBar/InquiryControlList.d.ts +11 -0
  493. package/dist/types/inquiry/inquiryBar/InquiryNodeControls.d.ts +1 -0
  494. package/dist/types/inquiry/search/InquiryAdvancedSearch.d.ts +1 -0
  495. package/dist/types/inquiry/search/InquiryAdvancedSearchForm.d.ts +1 -0
  496. package/dist/types/inquiry/search/InquirySearchContainer.d.ts +1 -0
  497. package/dist/types/inquiry/search/InquirySearchDatasource.d.ts +4 -0
  498. package/dist/types/inquiry/search/InquirySearchTable.d.ts +1 -0
  499. package/dist/types/layout/GridGroup.d.ts +10 -0
  500. package/dist/types/layout/GridRow.d.ts +5 -0
  501. package/dist/types/layout/GridUnit.d.ts +1 -0
  502. package/dist/types/layout/HeaderLayout.d.ts +3 -0
  503. package/dist/types/layout/LayoutUnit.d.ts +2 -0
  504. package/dist/types/layout/getRatio.d.ts +1 -0
  505. package/dist/types/layout/templates/SideBarTemplate.d.ts +4 -0
  506. package/dist/types/maintenanceEngine/crudBrowser/CrudBrowserContainer.d.ts +1 -0
  507. package/dist/types/maintenanceEngine/crudBrowser/CrudTableActionRender.d.ts +2 -0
  508. package/dist/types/maintenanceEngine/crudBrowser/CrudTableColumnDefs.d.ts +9 -0
  509. package/dist/types/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts +29 -0
  510. package/dist/types/maintenanceEngine/entityAttributeActions.d.ts +1 -0
  511. package/dist/types/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +46 -0
  512. package/dist/types/maintenanceEngine/tableBrowser/TableContainer.d.ts +1 -0
  513. package/dist/types/maintenanceEngine/virtualBrowser/VirtualBrowser.d.ts +1 -0
  514. package/dist/types/maintenanceEngine/virtualBrowser/VirtualTableColumnDefs.d.ts +9 -0
  515. package/dist/types/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.d.ts +25 -0
  516. package/dist/types/map-library/Controls/Controls.d.ts +3 -0
  517. package/dist/types/map-library/Controls/CustomControl.d.ts +9 -0
  518. package/dist/types/map-library/Controls/FullScreenControl.d.ts +1 -0
  519. package/dist/types/map-library/Controls/ZoomControl.d.ts +1 -0
  520. package/dist/types/map-library/Controls/index.d.ts +5 -0
  521. package/dist/types/map-library/Layers/ImageLayer.d.ts +4 -0
  522. package/dist/types/map-library/Layers/Layers.d.ts +3 -0
  523. package/dist/types/map-library/Layers/TileLayer.d.ts +4 -0
  524. package/dist/types/map-library/Layers/VectorLayer.d.ts +6 -0
  525. package/dist/types/map-library/Layers/index.d.ts +5 -0
  526. package/dist/types/map-library/Map/Map.d.ts +23 -0
  527. package/dist/types/map-library/Map/MapContext.d.ts +2 -0
  528. package/dist/types/map-library/Map/index.d.ts +1 -0
  529. package/dist/types/map-library/Source/index.d.ts +4 -0
  530. package/dist/types/map-library/Source/osm.d.ts +3 -0
  531. package/dist/types/map-library/Source/vector.d.ts +9 -0
  532. package/dist/types/map-library/Source/xyz.d.ts +7 -0
  533. package/dist/types/map-library/functions/mapFunctions.d.ts +2 -0
  534. package/dist/types/map-library/geoLocation/FreeFormField.d.ts +1 -0
  535. package/dist/types/map-library/geoLocation/GeoLocation.d.ts +3 -0
  536. package/dist/types/map-library/ui/ControlZoom.d.ts +2 -0
  537. package/dist/types/map-library/ui/Filter.d.ts +2 -0
  538. package/dist/types/map-library/ui/FilterOptions.d.ts +2 -0
  539. package/dist/types/map-library/ui/LocationPin.d.ts +2 -0
  540. package/dist/types/map-library/ui/MapControls.d.ts +2 -0
  541. package/dist/types/map-library/ui/MapControlsStandard.d.ts +2 -0
  542. package/dist/types/map-library/ui/MapFilterBar.d.ts +1 -0
  543. package/dist/types/map-library/ui/MapSheet.d.ts +1 -0
  544. package/dist/types/map-library/ui/Position.d.ts +2 -0
  545. package/dist/types/map-library/ui/TileDisplay.d.ts +1 -0
  546. package/dist/types/map-library/ui/ToggleViewType.d.ts +2 -0
  547. package/dist/types/maps/GeoMap.d.ts +3 -0
  548. package/dist/types/maps/leafletMaps/FluentImageMap.d.ts +13 -0
  549. package/dist/types/maps/leafletMaps/FluentMap.d.ts +26 -0
  550. package/dist/types/maps/leafletMaps/ui/MapContent.d.ts +13 -0
  551. package/dist/types/maps/leafletMaps/ui/MapMarker.d.ts +1 -0
  552. package/dist/types/maps/openLayerMaps/Controls/Controls.d.ts +4 -0
  553. package/dist/types/maps/openLayerMaps/Controls/FullScreenControl.d.ts +2 -0
  554. package/dist/types/maps/openLayerMaps/Controls/index.d.ts +3 -0
  555. package/dist/types/maps/openLayerMaps/Layers/ImageLayer.d.ts +4 -0
  556. package/dist/types/maps/openLayerMaps/Layers/Layers.d.ts +3 -0
  557. package/dist/types/maps/openLayerMaps/Layers/TileLayer.d.ts +4 -0
  558. package/dist/types/maps/openLayerMaps/Layers/VectorLayer.d.ts +5 -0
  559. package/dist/types/maps/openLayerMaps/Layers/index.d.ts +5 -0
  560. package/dist/types/maps/openLayerMaps/Map/Map.d.ts +7 -0
  561. package/dist/types/maps/openLayerMaps/Map/MapContext.d.ts +2 -0
  562. package/dist/types/maps/openLayerMaps/Map/index.d.ts +1 -0
  563. package/dist/types/maps/openLayerMaps/Source/index.d.ts +4 -0
  564. package/dist/types/maps/openLayerMaps/Source/osm.d.ts +3 -0
  565. package/dist/types/maps/openLayerMaps/Source/vector.d.ts +9 -0
  566. package/dist/types/maps/openLayerMaps/Source/xyz.d.ts +7 -0
  567. package/dist/types/maps/openLayerMaps/ui/ControlZoom.d.ts +2 -0
  568. package/dist/types/maps/openLayerMaps/ui/Filter.d.ts +2 -0
  569. package/dist/types/maps/openLayerMaps/ui/LocationPin.d.ts +2 -0
  570. package/dist/types/maps/openLayerMaps/ui/MapControls.d.ts +2 -0
  571. package/dist/types/maps/openLayerMaps/ui/MapControlsStandard.d.ts +2 -0
  572. package/dist/types/maps/openLayerMaps/ui/Position.d.ts +2 -0
  573. package/dist/types/maps/openLayerMaps/ui/ToggleViewType.d.ts +2 -0
  574. package/dist/types/menuPage/MenuPage.d.ts +1 -0
  575. package/dist/types/models/ApiMethodInstance.d.ts +10 -0
  576. package/dist/types/models/GroupNode.d.ts +13 -0
  577. package/dist/types/models/Lookup.d.ts +6 -0
  578. package/dist/types/models/NumberOperator.d.ts +14 -0
  579. package/dist/types/models/QueryResult.d.ts +9 -0
  580. package/dist/types/models/SearchOperator.d.ts +17 -0
  581. package/dist/types/notes/NotesScreen.d.ts +1 -0
  582. package/dist/types/page/Page.d.ts +2 -0
  583. package/dist/types/page/PageContainer.d.ts +1 -0
  584. package/dist/types/page/PageContent.d.ts +4 -0
  585. package/dist/types/page/PageHeader.d.ts +6 -0
  586. package/dist/types/page/PageSectionHeader.d.ts +1 -0
  587. package/dist/types/page/PageSectionSpacer.d.ts +4 -0
  588. package/dist/types/reminders/CompleteReminderSwitch.d.ts +1 -0
  589. package/dist/types/reminders/RemindersCard.d.ts +1 -0
  590. package/dist/types/reminders/RemindersScreen.d.ts +1 -0
  591. package/dist/types/reports/PowerBIReport.d.ts +1 -0
  592. package/dist/types/routes/PrivateRoute.d.ts +3 -0
  593. package/dist/types/routes/UdpRoutes.d.ts +1 -0
  594. package/dist/types/routes/components/PageForbiddenRoute.d.ts +1 -0
  595. package/dist/types/routes/components/PageNotFoundRoute.d.ts +1 -0
  596. package/dist/types/routes/components/PageStatus.d.ts +1 -0
  597. package/dist/types/routes/components/PasswordResetRedirect.d.ts +1 -0
  598. package/dist/types/shell/Shell.d.ts +73 -0
  599. package/dist/types/shell/ui/AmbientProjectSwitcher.d.ts +17 -0
  600. package/dist/types/shell/ui/EnvironmentRibbon.d.ts +3 -0
  601. package/dist/types/shell/ui/FluentProfileMenuCard.d.ts +1 -0
  602. package/dist/types/shell/ui/HelpCenter.d.ts +1 -0
  603. package/dist/types/shell/ui/LanguageSwitcher.d.ts +1 -0
  604. package/dist/types/shell/ui/MiniCollapsibleSidebar.d.ts +2 -0
  605. package/dist/types/shell/ui/NavigationSidebar.d.ts +2 -0
  606. package/dist/types/shell/ui/SidebarCollapseButton.d.ts +4 -0
  607. package/dist/types/shell/ui/SidebarListItem.d.ts +5 -0
  608. package/dist/types/shell/ui/SiteHeader.d.ts +17 -0
  609. package/dist/types/shell/ui/SiteHeaderRightComponent.d.ts +9 -0
  610. package/dist/types/shell/ui/UserAvatar.d.ts +9 -0
  611. package/dist/types/shell/ui/addUser/PasswordValidator.d.ts +10 -0
  612. package/dist/types/shell/ui/addUser/UserForm.d.ts +2 -0
  613. package/dist/types/shell/ui/addUser/UserFormFields.d.ts +2 -0
  614. package/dist/types/shell/ui/addUser/UserFormSideSheet.d.ts +5 -0
  615. package/dist/types/shell/ui/appSwitcher/FUIAppHeader.d.ts +2 -0
  616. package/dist/types/shell/ui/appSwitcher/FUIAppList.d.ts +2 -0
  617. package/dist/types/shell/ui/appSwitcher/FUIAppListItem.d.ts +2 -0
  618. package/dist/types/shell/ui/appSwitcher/FUIAppSwitcher.d.ts +2 -0
  619. package/dist/types/shell/ui/appSwitcher/ProductAppList.d.ts +2 -0
  620. package/dist/types/shell/ui/appSwitcher/ProductAppListItem.d.ts +2 -0
  621. package/dist/types/shell/ui/appSwitcher/UnityApps.d.ts +2 -0
  622. package/dist/types/stores/actionStore.d.ts +12 -0
  623. package/dist/types/stores/catalogStore.d.ts +10 -0
  624. package/dist/types/stores/inquiryStore.d.ts +21 -0
  625. package/dist/types/stores/lookupsStore.d.ts +8 -0
  626. package/dist/types/stores/shellStore.d.ts +21 -0
  627. package/dist/types/stores/teleporterStore.d.ts +13 -0
  628. package/dist/types/stores/tenantStore.d.ts +12 -0
  629. package/dist/types/stores/workflowStore.d.ts +15 -0
  630. package/dist/types/stories/Button.d.ts +41 -0
  631. package/dist/types/stories/Button.stories.d.ts +35 -0
  632. package/dist/types/stories/Header.d.ts +18 -0
  633. package/dist/types/stories/Header.stories.d.ts +23 -0
  634. package/dist/types/stories/Page.d.ts +18 -0
  635. package/dist/types/stories/Page.stories.d.ts +23 -0
  636. package/dist/types/treeMenu/BaseTreeMenu.d.ts +1 -0
  637. package/dist/types/treeMenu/BaseTreeMenuItem.d.ts +1 -0
  638. package/dist/types/tsconfig.tsbuildinfo +1 -0
  639. package/dist/types/udp/ShortcutContent/ListSearch.d.ts +1 -0
  640. package/dist/types/udp/ShortcutContent/ShortcutContentFinder.d.ts +1 -0
  641. package/dist/types/udp/export/ExportSidesheet.d.ts +1 -0
  642. package/dist/types/udp/export/MyExportsPage.d.ts +1 -0
  643. package/dist/types/udp/export/VisualSearchObject.d.ts +3 -0
  644. package/dist/types/udp/export/useUdpExport.d.ts +14 -0
  645. package/dist/types/udp/fileImportMapping/FileImportConfigCard.d.ts +1 -0
  646. package/dist/types/udp/fileImportMapping/FileImportMappingEnums.d.ts +6 -0
  647. package/dist/types/udp/fileImportMapping/FileImportMappingWizard.d.ts +2 -0
  648. package/dist/types/udp/fileImportMapping/ImportDataFromFileMapping.d.ts +1 -0
  649. package/dist/types/udp/fileImportMapping/SampleFileImportGrid.d.ts +1 -0
  650. package/dist/types/udp/fileImportMapping/fileUtils.d.ts +3 -0
  651. package/dist/types/udp/pages/ChatUDP.d.ts +2 -0
  652. package/dist/types/udp/pages/UdpDataBrowserPage.d.ts +21 -0
  653. package/dist/types/udp/pages/UdpFormsBuilderPage.d.ts +2 -0
  654. package/dist/types/udp/pages/UdpFormsListPage.d.ts +2 -0
  655. package/dist/types/udp/pages/UdpGridPanelManagementPage.d.ts +2 -0
  656. package/dist/types/udp/pages/UdpGridPanelManagementSidesheet.d.ts +31 -0
  657. package/dist/types/udp/pages/UdpImportFromFileMappingPage.d.ts +2 -0
  658. package/dist/types/udp/pages/UdpInquiryMaintenanceEnginePage.d.ts +2 -0
  659. package/dist/types/udp/pages/UdpMaintenanceConfigPage.d.ts +1 -0
  660. package/dist/types/udp/pages/UdpMaintenanceEnginePage.d.ts +2 -0
  661. package/dist/types/udp/pages/UdpNotesPage.d.ts +2 -0
  662. package/dist/types/udp/pages/UdpPrivateForm.d.ts +2 -0
  663. package/dist/types/udp/pages/UdpPublicForm.d.ts +2 -0
  664. package/dist/types/udp/pages/UdpRemindersPage.d.ts +2 -0
  665. package/dist/types/udp/pages/UdpReportsPage.d.ts +2 -0
  666. package/dist/types/udp/pages/UdpVerticalManagementPage.d.ts +2 -0
  667. package/dist/types/udp/pages/UdpVerticalManagementSidesheet.d.ts +2 -0
  668. package/dist/types/udp/pages/udpPages.d.ts +40 -0
  669. package/dist/types/udp/utilities/methodUtils.d.ts +5 -0
  670. package/dist/types/uploader/DragDropFileUpload.d.ts +35 -0
  671. package/dist/types/uploader/FileProfile.d.ts +2 -0
  672. package/dist/types/uploader/FileType.d.ts +1 -0
  673. package/dist/types/uploader/FileUpload.d.ts +2 -0
  674. package/dist/types/uploader/ImagePreview.d.ts +2 -0
  675. package/dist/types/utilities/CustomNavigationClient.d.ts +11 -0
  676. package/dist/types/utilities/DemoJuly/redirectToProduct.d.ts +14 -0
  677. package/dist/types/utilities/FluentIcon.d.ts +4 -0
  678. package/dist/types/utilities/TrimForAvatar.d.ts +1 -0
  679. package/dist/types/utilities/UnityFluentIcon.d.ts +1 -0
  680. package/dist/types/utilities/UnityIcon.d.ts +1 -0
  681. package/dist/types/utilities/aggrid/AgTable.d.ts +36 -0
  682. package/dist/types/utilities/aggrid/GridFunctions.d.ts +9 -0
  683. package/dist/types/utilities/aggrid/SplitButton.d.ts +4 -0
  684. package/dist/types/utilities/aggrid/aggridHelpers.d.ts +1 -0
  685. package/dist/types/utilities/aggrid/datasources/SearchServiceDatasource.d.ts +4 -0
  686. package/dist/types/utilities/apiHelpers.d.ts +12 -0
  687. package/dist/types/utilities/auth/AuthDialogs.d.ts +2 -0
  688. package/dist/types/utilities/auth/AuthProvider.d.ts +5 -0
  689. package/dist/types/utilities/auth/AuthProviderWrapper.d.ts +1 -0
  690. package/dist/types/utilities/auth/UserProvider.d.ts +2 -0
  691. package/dist/types/utilities/auth/authActions.d.ts +9 -0
  692. package/dist/types/utilities/auth/internal.d.ts +10 -0
  693. package/dist/types/utilities/auth/signInAuthProvider.d.ts +5 -0
  694. package/dist/types/utilities/auth/useAccessToken.d.ts +1 -0
  695. package/dist/types/utilities/auth/useAuthedUser.d.ts +16 -0
  696. package/dist/types/utilities/auth/useIsUnityAuthenticated.d.ts +1 -0
  697. package/dist/types/utilities/auth/useSingleLogout.d.ts +2 -0
  698. package/dist/types/utilities/auth/useUser.d.ts +8 -0
  699. package/dist/types/utilities/auth/user.d.ts +29 -0
  700. package/dist/types/utilities/auth/users.d.ts +8 -0
  701. package/dist/types/utilities/auth/whitelistedPaths.d.ts +1 -0
  702. package/dist/types/utilities/axiosInterceptors.d.ts +2 -0
  703. package/dist/types/utilities/brand.d.ts +23 -0
  704. package/dist/types/utilities/chatBot/ChatBotContext.d.ts +1 -0
  705. package/dist/types/utilities/chatBot/ChatBotProvider.d.ts +3 -0
  706. package/dist/types/utilities/chatBot/useChatBot.d.ts +6 -0
  707. package/dist/types/utilities/crud/useDefaultFormValues.d.ts +6 -0
  708. package/dist/types/utilities/customIcons/ApprovalIcon.d.ts +6 -0
  709. package/dist/types/utilities/customIcons/RejectIcon.d.ts +4 -0
  710. package/dist/types/utilities/entities/entityUtilities.d.ts +3 -0
  711. package/dist/types/utilities/floorplanFunctions/gridVisualizationFunctions.d.ts +2 -0
  712. package/dist/types/utilities/form/AltSubmitButton.d.ts +14 -0
  713. package/dist/types/utilities/form/Field.d.ts +23 -0
  714. package/dist/types/utilities/form/Form.d.ts +7 -0
  715. package/dist/types/utilities/form/FormButtons.d.ts +3 -0
  716. package/dist/types/utilities/form/FormError.d.ts +7 -0
  717. package/dist/types/utilities/form/FormSpy.d.ts +10 -0
  718. package/dist/types/utilities/form/SubmitButton.d.ts +14 -0
  719. package/dist/types/utilities/form/arrayMutators.d.ts +2 -0
  720. package/dist/types/utilities/form/final-form-scroll/createDecorator.d.ts +5 -0
  721. package/dist/types/utilities/form/final-form-scroll/findInput.d.ts +2 -0
  722. package/dist/types/utilities/form/final-form-scroll/getAllInputs.d.ts +2 -0
  723. package/dist/types/utilities/form/final-form-scroll/isFocusableInput.d.ts +2 -0
  724. package/dist/types/utilities/form/formHooks.d.ts +12 -0
  725. package/dist/types/utilities/form/index.d.ts +9 -0
  726. package/dist/types/utilities/form/paymentForm/AccountPayment.model.d.ts +143 -0
  727. package/dist/types/utilities/form/paymentForm/BankAccountForm.d.ts +48 -0
  728. package/dist/types/utilities/form/paymentForm/BankIcon.d.ts +7 -0
  729. package/dist/types/utilities/form/paymentForm/CashForm.d.ts +9 -0
  730. package/dist/types/utilities/form/paymentForm/CashIcon.d.ts +7 -0
  731. package/dist/types/utilities/form/paymentForm/CheckIcon.d.ts +7 -0
  732. package/dist/types/utilities/form/paymentForm/CreditCardAdornment.d.ts +12 -0
  733. package/dist/types/utilities/form/paymentForm/CreditCardForm.d.ts +41 -0
  734. package/dist/types/utilities/form/paymentForm/CreditCardIcon.d.ts +7 -0
  735. package/dist/types/utilities/form/paymentForm/CreditCardUtils.d.ts +42 -0
  736. package/dist/types/utilities/form/paymentForm/DisableOverlay.d.ts +7 -0
  737. package/dist/types/utilities/form/paymentForm/HostedPaymentError.d.ts +20 -0
  738. package/dist/types/utilities/form/paymentForm/NewCreditCardForm.d.ts +18 -0
  739. package/dist/types/utilities/form/paymentForm/NewECheckForm.d.ts +15 -0
  740. package/dist/types/utilities/form/paymentForm/PaymentAccount.model.d.ts +81 -0
  741. package/dist/types/utilities/form/paymentForm/PaymentBankDetails.d.ts +12 -0
  742. package/dist/types/utilities/form/paymentForm/PaymentBoxDetail.d.ts +32 -0
  743. package/dist/types/utilities/form/paymentForm/PaymentCard.d.ts +12 -0
  744. package/dist/types/utilities/form/paymentForm/PaymentCardDetail.d.ts +19 -0
  745. package/dist/types/utilities/form/paymentForm/PaymentDropdown.d.ts +32 -0
  746. package/dist/types/utilities/form/paymentForm/PaymentForm.d.ts +77 -0
  747. package/dist/types/utilities/form/paymentForm/TabPanel.d.ts +20 -0
  748. package/dist/types/utilities/form/paymentForm/usePaymentProviderForm.d.ts +12 -0
  749. package/dist/types/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts +40 -0
  750. package/dist/types/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts +46 -0
  751. package/dist/types/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +13 -0
  752. package/dist/types/utilities/form/useFieldChangeListener.d.ts +7 -0
  753. package/dist/types/utilities/iconLibrary/IconLibrary.d.ts +2 -0
  754. package/dist/types/utilities/iconLibrary/IconLibraryComponent.d.ts +7 -0
  755. package/dist/types/utilities/iconLibrary/SelectedLibraryItem.d.ts +2 -0
  756. package/dist/types/utilities/iconLibrary/UnityIconLibrary.d.ts +7 -0
  757. package/dist/types/utilities/input/DateUtilities.d.ts +3 -0
  758. package/dist/types/utilities/input/SelectUtilities.d.ts +3 -0
  759. package/dist/types/utilities/input/StringUtilities.d.ts +7 -0
  760. package/dist/types/utilities/isValueSelected.d.ts +3 -0
  761. package/dist/types/utilities/maintenanceEngine/CrudBrowserUtilities.d.ts +5 -0
  762. package/dist/types/utilities/menus/menuUtilities.d.ts +1 -0
  763. package/dist/types/utilities/menus/redirectToLink.d.ts +1 -0
  764. package/dist/types/utilities/page/PageSubHeaderAction.d.ts +9 -0
  765. package/dist/types/utilities/provider/ActionProvider.d.ts +1 -0
  766. package/dist/types/utilities/redirect/ExternalRedirectUrlStorage.d.ts +3 -0
  767. package/dist/types/utilities/redirect/LocalRedirectUrlStorage.d.ts +5 -0
  768. package/dist/types/utilities/redirect/pages/OutlookCallback.d.ts +1 -0
  769. package/dist/types/utilities/rules/RuleUtilities.d.ts +40 -0
  770. package/dist/types/utilities/search/Search.d.ts +37 -0
  771. package/dist/types/utilities/search/SearchUtilities.d.ts +15 -0
  772. package/dist/types/utilities/storage/UnitySessionStorage.d.ts +4 -0
  773. package/dist/types/utilities/stringUtils.d.ts +8 -0
  774. package/dist/types/utilities/style/ContentContainer.d.ts +29 -0
  775. package/dist/types/utilities/style/colorConverter.d.ts +3 -0
  776. package/dist/types/utilities/style/colors.d.ts +76 -0
  777. package/dist/types/utilities/style/utils/styleUtils.d.ts +2 -0
  778. package/dist/types/utilities/style/verticalStyles.d.ts +4 -0
  779. package/dist/types/utilities/systemColors.d.ts +1 -0
  780. package/dist/types/utilities/tenant/TenantProvider.d.ts +3 -0
  781. package/dist/types/utilities/tenant/tenantContext.d.ts +1 -0
  782. package/dist/types/utilities/tenant/useTenant.d.ts +6 -0
  783. package/dist/types/utilities/theme.d.ts +6 -0
  784. package/dist/types/utilities/theme.types.d.ts +11 -0
  785. package/dist/types/utilities/tree/TreeUtilities.d.ts +81 -0
  786. package/dist/types/utilities/types.d.ts +31 -0
  787. package/dist/types/utilities/uploader/FileProfile.d.ts +2 -0
  788. package/dist/types/utilities/uploader/FileType.d.ts +1 -0
  789. package/dist/types/utilities/uploader/FileUpload.d.ts +1 -0
  790. package/dist/types/utilities/uploader/ImagePreview.d.ts +2 -0
  791. package/dist/types/utilities/uploader/formatBytes.d.ts +1 -0
  792. package/dist/types/utilities/useAxiosGet.d.ts +21 -0
  793. package/dist/types/utilities/useAxiosMutate.d.ts +6 -0
  794. package/dist/types/utilities/useDevicePixelRatio.d.ts +6 -0
  795. package/dist/types/utilities/useGravatar.d.ts +10 -0
  796. package/dist/types/utilities/usePrevious.d.ts +2 -0
  797. package/dist/types/utilities/utilityBar/InquiryHeaderControl.d.ts +9 -0
  798. package/dist/types/utilities/utilityBar/InquiryHeaderSecondary.d.ts +8 -0
  799. package/dist/types/utilities/utilityBar/InquiryHeaderSecondaryAlert.d.ts +8 -0
  800. package/dist/types/utilities/utilityBar/InquiryHeaderTitle.d.ts +8 -0
  801. package/dist/types/utilities/utilityBar/SubHeaderAction.d.ts +8 -0
  802. package/dist/types/utilities/utilityBar/UtilityBarInport.d.ts +8 -0
  803. package/dist/types/utilities/workflow/workflowUtilities.d.ts +47 -0
  804. package/dist/types/workflow/WorkflowContainer.d.ts +1 -0
  805. package/dist/types/workflow/WorkflowContent.d.ts +1 -0
  806. package/dist/types/workflow/WorkflowUiInterruptContent.d.ts +1 -0
  807. package/dist/types/workflow/components/WorkflowTaskFlow.d.ts +1 -0
  808. package/dist/types/workflow/menus/WorkflowTreeMenu.d.ts +1 -0
  809. package/dist/types/workflow/menus/WorkflowTreeMenuItem.d.ts +1 -0
  810. package/package.json +17 -24
  811. package/dist/AmbientGridTemplate-CvXWVsCb.cjs +0 -4205
  812. package/dist/AmbientGridTemplate-CvXWVsCb.cjs.map +0 -1
  813. package/dist/AmbientGridTemplate-Dq2QYPF2.js +0 -3905
  814. package/dist/AmbientGridTemplate-Dq2QYPF2.js.map +0 -1
  815. package/dist/EnvironmentRibbon-CgKsTmQ7.cjs +0 -1558
  816. package/dist/EnvironmentRibbon-CgKsTmQ7.cjs.map +0 -1
  817. package/dist/EnvironmentRibbon-DBJftQWQ.js +0 -1108
  818. package/dist/EnvironmentRibbon-DBJftQWQ.js.map +0 -1
  819. package/dist/MenuPage-DNywMmn2.cjs +0 -562
  820. package/dist/MenuPage-DNywMmn2.cjs.map +0 -1
  821. package/dist/MenuPage-MyE8iJHD.js +0 -561
  822. package/dist/MenuPage-MyE8iJHD.js.map +0 -1
  823. package/dist/MyExportsPage-B-xwnIEc.js +0 -724
  824. package/dist/MyExportsPage-C-NEjmfQ.cjs +0 -8
  825. package/dist/MyExportsPage-CKwuN1wj.js +0 -8
  826. package/dist/MyExportsPage-CcO8Mf8y.cjs +0 -778
  827. package/dist/MyExportsPage-CcO8Mf8y.cjs.map +0 -1
  828. package/dist/PageContainer-DFKnbhBN.cjs +0 -1858
  829. package/dist/PageContainer-DFKnbhBN.cjs.map +0 -1
  830. package/dist/PageContainer-SljTiaZr.js +0 -1756
  831. package/dist/PageContainer-SljTiaZr.js.map +0 -1
  832. package/dist/PageNotFoundRoute-BR4QPROq.js +0 -112
  833. package/dist/PageNotFoundRoute-BR4QPROq.js.map +0 -1
  834. package/dist/PageNotFoundRoute-B_3_Yw5c.js +0 -3
  835. package/dist/PageNotFoundRoute-Cu88CEUm.cjs +0 -124
  836. package/dist/PageNotFoundRoute-Cu88CEUm.cjs.map +0 -1
  837. package/dist/PageNotFoundRoute-DNBUulJh.cjs +0 -3
  838. package/dist/PasswordResetRedirect-BXP3ftKb.js +0 -86
  839. package/dist/PasswordResetRedirect-BXP3ftKb.js.map +0 -1
  840. package/dist/PasswordResetRedirect-CYJBeZIA.cjs +0 -122
  841. package/dist/PasswordResetRedirect-CYJBeZIA.cjs.map +0 -1
  842. package/dist/PasswordResetRedirect-DbPv1Au9.cjs +0 -3
  843. package/dist/SearchUtilities-BYR03EFr.cjs +0 -232
  844. package/dist/SearchUtilities-BYR03EFr.cjs.map +0 -1
  845. package/dist/SearchUtilities-Bl4U_j-0.js +0 -202
  846. package/dist/SearchUtilities-Bl4U_j-0.js.map +0 -1
  847. package/dist/SideSheet-DKR15EH5.js +0 -485
  848. package/dist/SideSheet-DKR15EH5.js.map +0 -1
  849. package/dist/SideSheet-ERkgeXFG.cjs +0 -575
  850. package/dist/SideSheet-ERkgeXFG.cjs.map +0 -1
  851. package/dist/UdpPublicForm-1vK6Ug4-.cjs +0 -5
  852. package/dist/UdpPublicForm-BNe1yTjb.js.map +0 -1
  853. package/dist/UdpPublicForm-C8eVm1sb.js +0 -4
  854. package/dist/UdpPublicForm-fWsuCBoR.cjs +0 -52
  855. package/dist/UdpPublicForm-fWsuCBoR.cjs.map +0 -1
  856. package/dist/UtilitySideBar-CoLVUjcV.cjs +0 -2647
  857. package/dist/UtilitySideBar-CoLVUjcV.cjs.map +0 -1
  858. package/dist/UtilitySideBar-Dz_17lBo.js +0 -2277
  859. package/dist/UtilitySideBar-Dz_17lBo.js.map +0 -1
  860. package/dist/VirtualBrowser-79L67ptM.js +0 -572
  861. package/dist/VirtualBrowser-79L67ptM.js.map +0 -1
  862. package/dist/VirtualBrowser-CBJQrZar.cjs +0 -573
  863. package/dist/VirtualBrowser-CBJQrZar.cjs.map +0 -1
  864. package/dist/WorkflowContainer-0_Aj2YEQ.js +0 -9
  865. package/dist/WorkflowContainer-C06Cr059.cjs +0 -9
  866. package/dist/WorkflowContainer-D8L8yLtX.cjs +0 -1774
  867. package/dist/WorkflowContainer-D8L8yLtX.cjs.map +0 -1
  868. package/dist/WorkflowContainer-mXeP_hbS.js +0 -1708
  869. package/dist/WorkflowContainer-mXeP_hbS.js.map +0 -1
  870. package/dist/apiHelpers-Dyq5plHt.cjs +0 -377
  871. package/dist/apiHelpers-Dyq5plHt.cjs.map +0 -1
  872. package/dist/apiHelpers-ntQQ4i7A.js +0 -257
  873. package/dist/apiHelpers-ntQQ4i7A.js.map +0 -1
  874. package/dist/chunk-Cn1u12Og.js +0 -34
  875. package/dist/chunk-DoeelZqw.cjs +0 -51
  876. package/dist/index.cjs +0 -50843
  877. package/dist/index.cjs.map +0 -1
  878. package/dist/index.d.cts +0 -1727
  879. package/dist/index.d.ts +0 -1723
  880. package/dist/propertyTypeEnums-BcUuGbb0.js +0 -94
  881. package/dist/propertyTypeEnums-BcUuGbb0.js.map +0 -1
  882. package/dist/propertyTypeEnums-NvvbX8dM.cjs +0 -112
  883. package/dist/propertyTypeEnums-NvvbX8dM.cjs.map +0 -1
  884. package/dist-tsdown/AmbientGridTemplate-C4cO-UBE.js.map +0 -1
  885. package/dist-tsdown/AmbientGridTemplate-RvpH04W2.cjs +0 -4151
  886. package/dist-tsdown/AmbientGridTemplate-RvpH04W2.cjs.map +0 -1
  887. package/dist-tsdown/EnvironmentRibbon-C5I-zJ7u.cjs +0 -1546
  888. package/dist-tsdown/EnvironmentRibbon-C5I-zJ7u.cjs.map +0 -1
  889. package/dist-tsdown/EnvironmentRibbon-W5AjvnLN.js.map +0 -1
  890. package/dist-tsdown/MenuPage-Zn5ipVRK.cjs +0 -547
  891. package/dist-tsdown/MenuPage-Zn5ipVRK.cjs.map +0 -1
  892. package/dist-tsdown/MyExportsPage-B2wf-kFZ.cjs +0 -763
  893. package/dist-tsdown/MyExportsPage-B2wf-kFZ.cjs.map +0 -1
  894. package/dist-tsdown/MyExportsPage-BuzFo_X_.cjs +0 -8
  895. package/dist-tsdown/MyExportsPage-CuJoA0n6.js +0 -8
  896. package/dist-tsdown/MyExportsPage-DWbSEbU5.js.map +0 -1
  897. package/dist-tsdown/PageContainer-BG6v3pM7.cjs +0 -1841
  898. package/dist-tsdown/PageContainer-BG6v3pM7.cjs.map +0 -1
  899. package/dist-tsdown/PageContainer-CWhjU1zS.js.map +0 -1
  900. package/dist-tsdown/PageNotFoundRoute-CciC9cPY.cjs +0 -124
  901. package/dist-tsdown/PageNotFoundRoute-CciC9cPY.cjs.map +0 -1
  902. package/dist-tsdown/PageNotFoundRoute-DsRSLpI6.js +0 -3
  903. package/dist-tsdown/PageNotFoundRoute-Z5qYmErL.js +0 -112
  904. package/dist-tsdown/PageNotFoundRoute-aJr2o81C.cjs +0 -3
  905. package/dist-tsdown/PasswordResetRedirect-1cRmBJvr.cjs +0 -3
  906. package/dist-tsdown/PasswordResetRedirect-BMHXzpvb.js +0 -3
  907. package/dist-tsdown/PasswordResetRedirect-DRhK3lVL.cjs +0 -118
  908. package/dist-tsdown/PasswordResetRedirect-DRhK3lVL.cjs.map +0 -1
  909. package/dist-tsdown/SearchUtilities-URbeAh75.js.map +0 -1
  910. package/dist-tsdown/SearchUtilities-kF1roS4F.cjs +0 -216
  911. package/dist-tsdown/SearchUtilities-kF1roS4F.cjs.map +0 -1
  912. package/dist-tsdown/SideSheet-DcEfnfH_.js.map +0 -1
  913. package/dist-tsdown/SideSheet-XOQ0yjmY.cjs +0 -410
  914. package/dist-tsdown/SideSheet-XOQ0yjmY.cjs.map +0 -1
  915. package/dist-tsdown/UdpPublicForm-BZff9-Hy.js +0 -4
  916. package/dist-tsdown/UdpPublicForm-CaWFfHLQ.cjs +0 -5
  917. package/dist-tsdown/UdpPublicForm-DFEJakHu.cjs +0 -52
  918. package/dist-tsdown/UdpPublicForm-DFEJakHu.cjs.map +0 -1
  919. package/dist-tsdown/UdpPublicForm-EOSy6X_O.js +0 -41
  920. package/dist-tsdown/UtilitySideBar-C-5lGIvy.cjs +0 -2503
  921. package/dist-tsdown/UtilitySideBar-C-5lGIvy.cjs.map +0 -1
  922. package/dist-tsdown/VirtualBrowser-DmgmfhWg.cjs +0 -568
  923. package/dist-tsdown/VirtualBrowser-DmgmfhWg.cjs.map +0 -1
  924. package/dist-tsdown/VirtualBrowser-OXhftZwa.js.map +0 -1
  925. package/dist-tsdown/WorkflowContainer-BdakMxJP.js +0 -9
  926. package/dist-tsdown/WorkflowContainer-Bm1FHgJq.cjs +0 -1718
  927. package/dist-tsdown/WorkflowContainer-Bm1FHgJq.cjs.map +0 -1
  928. package/dist-tsdown/WorkflowContainer-C2W0pr5f.js.map +0 -1
  929. package/dist-tsdown/WorkflowContainer-C9hsSvOg.cjs +0 -9
  930. package/dist-tsdown/apiHelpers-TkqtXraB.cjs +0 -373
  931. package/dist-tsdown/apiHelpers-TkqtXraB.cjs.map +0 -1
  932. package/dist-tsdown/chunk-CHLpw0oG.js +0 -25
  933. package/dist-tsdown/chunk-CsX-DzYB.cjs +0 -42
  934. package/dist-tsdown/index.cjs +0 -49909
  935. package/dist-tsdown/index.cjs.map +0 -1
  936. package/dist-tsdown/index.d.cts +0 -1727
  937. package/dist-tsdown/index.d.ts +0 -1723
  938. package/dist-tsdown/index.js +0 -49180
  939. package/dist-tsdown/index.js.map +0 -1
  940. package/dist-tsdown/propertyTypeEnums-CaDtepcE.js.map +0 -1
  941. package/dist-tsdown/propertyTypeEnums-Cn4wJJc5.cjs +0 -174
  942. package/dist-tsdown/propertyTypeEnums-Cn4wJJc5.cjs.map +0 -1
  943. /package/{dist-tsdown → dist}/assets/images/phone.png +0 -0
  944. /package/{dist-tsdown → dist}/assets/paymentIcons/american-logo.svg +0 -0
  945. /package/{dist-tsdown → dist}/assets/paymentIcons/amex.svg +0 -0
  946. /package/{dist-tsdown → dist}/assets/paymentIcons/diners.svg +0 -0
  947. /package/{dist-tsdown → dist}/assets/paymentIcons/discover-logo.svg +0 -0
  948. /package/{dist-tsdown → dist}/assets/paymentIcons/discover.svg +0 -0
  949. /package/{dist-tsdown → dist}/assets/paymentIcons/echeck-logo.svg +0 -0
  950. /package/{dist-tsdown → dist}/assets/paymentIcons/jcb.svg +0 -0
  951. /package/{dist-tsdown → dist}/assets/paymentIcons/mastercard-logo.svg +0 -0
  952. /package/{dist-tsdown → dist}/assets/paymentIcons/mastercard.svg +0 -0
  953. /package/{dist-tsdown → dist}/assets/paymentIcons/unionpay.svg +0 -0
  954. /package/{dist-tsdown → dist}/assets/paymentIcons/visa-logo.svg +0 -0
  955. /package/{dist-tsdown → dist}/assets/paymentIcons/visa.svg +0 -0
  956. /package/{dist-tsdown → dist}/assets/unityIcons/NoEntityOpened.svg +0 -0
  957. /package/{dist-tsdown → dist}/assets/unityIcons/Sewer.svg +0 -0
  958. /package/{dist-tsdown → dist}/assets/unityIcons/TruckIcon.svg +0 -0
  959. /package/{dist-tsdown → dist}/assets/unityIcons/WaterDrop.svg +0 -0
  960. /package/{dist-tsdown → dist}/componentSystems/pageRenderer/style/style.css +0 -0
  961. /package/{dist-tsdown → dist}/map-library/Map/Map.css +0 -0
  962. /package/{dist-tsdown → dist}/maps/openLayerMaps/Map/Map.css +0 -0
  963. /package/{dist-tsdown → dist}/stories/assets/code-brackets.svg +0 -0
  964. /package/{dist-tsdown → dist}/stories/assets/colors.svg +0 -0
  965. /package/{dist-tsdown → dist}/stories/assets/comments.svg +0 -0
  966. /package/{dist-tsdown → dist}/stories/assets/direction.svg +0 -0
  967. /package/{dist-tsdown → dist}/stories/assets/flow.svg +0 -0
  968. /package/{dist-tsdown → dist}/stories/assets/plugin.svg +0 -0
  969. /package/{dist-tsdown → dist}/stories/assets/repo.svg +0 -0
  970. /package/{dist-tsdown → dist}/stories/assets/stackalt.svg +0 -0
  971. /package/{dist-tsdown → dist}/stories/button.css +0 -0
  972. /package/{dist-tsdown → dist}/stories/header.css +0 -0
  973. /package/{dist-tsdown → dist}/stories/page.css +0 -0
  974. /package/{dist-tsdown → dist}/style.css +0 -0
  975. /package/{dist-tsdown → dist}/styles.module.css +0 -0
  976. /package/{dist-tsdown → dist}/utilities/aggrid/ag-grid-styles.scss +0 -0
@@ -1,1756 +0,0 @@
1
- import { FluentIcon, FluentIconButton, LayoutUnit, PrimaryActionButton, StandardTitle, StatusChip, useAxiosGet, useId, useShellStore } from "./EnvironmentRibbon-DBJftQWQ.js";
2
- import React, { Fragment, createContext, createRef, forwardRef, memo, useCallback, useEffect, useMemo, useReducer, useRef, useState } from "react";
3
- import { Badge, Button, ButtonBase, Card, CardActions, CardContent, CircularProgress, Collapse, Divider, IconButton, LinearProgress, ListItemIcon, ListItemText, Menu, MenuItem, Popover, Slide, Tooltip, Typography, lighten, makeStyles, useTheme } from "@material-ui/core";
4
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
5
- import { ConfigService } from "udp-react-stencil-component-library";
6
- import { Redirect, useHistory, useLocation } from "react-router-dom";
7
- import clsx from "clsx";
8
- import { ArrowUpRightIcon, ChevronFold10Icon, ChevronRightIcon, ChevronUnfold10Icon, ClearIcon, DeleteIcon, ExcelDocumentIcon, FilterIcon, GroupListIcon, MaximumValueIcon, MoreIcon, MoreVerticalIcon, PDFIcon, SaveIcon, SearchIcon, TextDocumentIcon } from "@fluentui/react-icons";
9
- import PropTypes from "prop-types";
10
- import { useTranslation } from "react-i18next";
11
- import { create } from "zustand";
12
- import { v4 } from "uuid";
13
- import { createTeleporter } from "react-teleporter";
14
- import { Alert } from "@material-ui/lab";
15
- import { DndProvider, useDragLayer } from "react-dnd";
16
- import { HTML5Backend } from "react-dnd-html5-backend";
17
- import { Responsive } from "react-grid-layout";
18
- import { useMeasure } from "react-use";
19
- import "react-grid-layout/css/styles.css";
20
- import "react-resizable/css/styles.css";
21
- import ArrowBackIcon from "@material-ui/icons/ArrowBack";
22
-
23
- //#region src/stores/teleporterStore.ts
24
- const useTeleporterStore = create((set, get) => ({
25
- teleporterMap: /* @__PURE__ */ new Map(),
26
- getTeleporter: (targetId = "", location) => {
27
- const mapCopy = new Map(get().teleporterMap);
28
- let locationMap = mapCopy.get(targetId);
29
- if (!locationMap) {
30
- locationMap = /* @__PURE__ */ new Map();
31
- mapCopy.set(targetId, locationMap);
32
- }
33
- if (!locationMap.has(location)) locationMap.set(location, { teleporter: createTeleporter() });
34
- const teleporter = locationMap.get(location).teleporter;
35
- set({ teleporterMap: mapCopy });
36
- return teleporter;
37
- },
38
- getAllTeleporters: () => {
39
- const result = [];
40
- const map = get().teleporterMap;
41
- for (const [targetId, locationMap] of map.entries()) for (const [location, entry] of locationMap.entries()) result.push([
42
- targetId,
43
- location,
44
- entry.teleporter
45
- ]);
46
- return result;
47
- }
48
- }));
49
-
50
- //#endregion
51
- //#region src/UI/inputs/buttons/ToolBarButton.jsx
52
- const useStyles$12 = makeStyles((theme) => ({
53
- root: { borderBottom: (props) => props.selected && `2px solid ${theme.palette.secondary.main}` },
54
- wrapper: {
55
- display: "flex",
56
- flexDirection: "row",
57
- marginRight: theme.spacing(2)
58
- },
59
- icon: {
60
- fontSize: 16,
61
- width: 16,
62
- height: 16,
63
- color: theme.palette.secondary.main
64
- },
65
- iconWrapper: {
66
- background: theme.palette.common.white,
67
- borderRadius: 100,
68
- padding: theme.spacing(1)
69
- },
70
- label: {
71
- marginLeft: theme.spacing(1),
72
- fontSize: "0.875rem",
73
- "&:hover": { color: theme.palette.secondary.main }
74
- }
75
- }), { name: "ToolBarButton" });
76
- const ToolBarButton = (props) => {
77
- const classes = useStyles$12(props);
78
- const { component: ToolBarComponent, click, label, expanded, aria, icon = true, disabled = false } = props;
79
- return /* @__PURE__ */ jsx(Tooltip, {
80
- title: expanded && label || aria || "",
81
- "aria-label": label,
82
- placement: "top",
83
- enterDelay: !expanded && 5e3,
84
- children: /* @__PURE__ */ jsxs(ButtonBase, {
85
- classes: { root: classes.root },
86
- className: classes.wrapper,
87
- onClick: click,
88
- disableRipple: true,
89
- "aria-label": aria,
90
- disabled,
91
- children: [icon && /* @__PURE__ */ jsx("div", {
92
- className: classes.iconWrapper,
93
- children: /* @__PURE__ */ jsx(ToolBarComponent, { className: classes.icon })
94
- }), /* @__PURE__ */ jsx(Typography, {
95
- variant: "body2",
96
- className: classes.label,
97
- children: !expanded && label
98
- })]
99
- })
100
- });
101
- };
102
- ToolBarButton.propTypes = {
103
- component: PropTypes.func,
104
- click: PropTypes.func,
105
- label: PropTypes.string,
106
- expanded: PropTypes.bool,
107
- aria: PropTypes.string,
108
- icon: PropTypes.bool
109
- };
110
-
111
- //#endregion
112
- //#region src/dashboard/getWidgetLayout.ts
113
- const getW = (w) => {
114
- if (typeof w === "object") return {
115
- w: w.default,
116
- minW: w.min,
117
- maxW: w.max
118
- };
119
- if (typeof w === "number") return { w };
120
- return { w: 2 };
121
- };
122
- const getH = (h) => {
123
- if (typeof h === "object") return {
124
- h: h.default,
125
- minH: h.min,
126
- maxH: h.max
127
- };
128
- if (typeof h === "number") return { h };
129
- return { h: 2 };
130
- };
131
- /**
132
- * Get a default layout for widgets of a type
133
- */
134
- function getWidgetLayout(getWidget, widgetType) {
135
- var _ref, _getWidget;
136
- const { w, h } = (_ref = getWidget && ((_getWidget = getWidget(widgetType)) === null || _getWidget === void 0 ? void 0 : _getWidget.layout)) !== null && _ref !== void 0 ? _ref : {};
137
- const layout = {
138
- ...getW(w),
139
- ...getH(h)
140
- };
141
- const wResizable = "minW" in layout || "maxW" in layout;
142
- const hResizable = "minH" in layout || "maxH" in layout;
143
- layout.isResizable = wResizable || hResizable;
144
- return layout;
145
- }
146
-
147
- //#endregion
148
- //#region src/dashboard/DashboardCardGrid.jsx
149
- const useStyle = makeStyles((theme) => ({ root: {
150
- display: "flex",
151
- flexDirection: "column",
152
- width: "100%",
153
- height: "100%",
154
- marginBottom: (props) => (props === null || props === void 0 ? void 0 : props.disableMargin) ? "" : theme.spacing(3)
155
- } }), { name: "DashboardCardGrid" });
156
- const DASHBOARD_WIDGET = Symbol("DASHBOARD_WIDGET");
157
- const breakpoints = {
158
- xs: 0,
159
- xl: 1150
160
- };
161
- const breakpointCols = {
162
- xs: 4,
163
- xl: 4
164
- };
165
- /**
166
- * Grid layout for dashboard cards
167
- */
168
- const DashboardCardGrid = (props) => {
169
- const classes = useStyle(props);
170
- const { children, onCreateCard, gridProperties,...other } = props;
171
- const { getWidget } = useShellStore();
172
- const rglRef = useRef();
173
- const [ref, { width }] = useMeasure();
174
- const theme = useTheme();
175
- const { droppingWidgetType } = useDragLayer((monitor) => {
176
- if (monitor.getItemType() === DASHBOARD_WIDGET) {
177
- const { id: wigetType } = monitor.getItem();
178
- return { droppingWidgetType: wigetType };
179
- }
180
- return { droppingWidgetType: null };
181
- });
182
- const droppingItemLayout = useMemo(() => {
183
- if (droppingWidgetType) return {
184
- i: v4(),
185
- ...getWidgetLayout(getWidget, droppingWidgetType)
186
- };
187
- }, [getWidget, droppingWidgetType]);
188
- const drag = useCallback((layout, oldLayoutItem, layoutItem, placeholder) => {}, []);
189
- const resize = useCallback((layout, oldLayoutItem, layoutItem, placeholder) => {
190
- if (layoutItem.w >= 6 && layoutItem.w < 8) {
191
- layoutItem.w = 4;
192
- placeholder.w = 4;
193
- }
194
- }, []);
195
- const drop = useCallback((layout, item) => {
196
- if (droppingWidgetType) {
197
- const { x, y, w, h } = item;
198
- const { breakpoint } = rglRef.current.state;
199
- if (onCreateCard) onCreateCard({
200
- widgetType: droppingWidgetType,
201
- id: v4(),
202
- layout: { [breakpoint]: {
203
- x,
204
- y,
205
- w,
206
- h
207
- } },
208
- params: []
209
- });
210
- }
211
- }, [droppingWidgetType, onCreateCard]);
212
- return /* @__PURE__ */ jsx("div", {
213
- ref,
214
- className: classes.root,
215
- children: width ? /* @__PURE__ */ jsx(Responsive, {
216
- ref: rglRef,
217
- ...other,
218
- width,
219
- breakpoints,
220
- cols: breakpointCols,
221
- rowHeight: 128,
222
- margin: [theme.spacing(3), theme.spacing(3)],
223
- containerPadding: [0, 0],
224
- draggableHandle: "[data-handle]",
225
- onDrag: drag,
226
- onResize: resize,
227
- onDrop: drop,
228
- isDroppable: (gridProperties === null || gridProperties === void 0 ? void 0 : gridProperties.isDroppable) || false,
229
- isDraggable: (gridProperties === null || gridProperties === void 0 ? void 0 : gridProperties.isDraggable) || false,
230
- droppingItem: droppingItemLayout,
231
- style: { height: "100%" },
232
- children
233
- }) : null
234
- });
235
- };
236
-
237
- //#endregion
238
- //#region src/UI/surfaces/cards/FUICardHeader.jsx
239
- const useStyles$11 = makeStyles((theme) => ({
240
- root: {
241
- minHeight: 40,
242
- paddingLeft: theme.spacing(2),
243
- display: "flex",
244
- flexDirection: "row",
245
- alignItems: "center",
246
- borderBottom: `1px solid ${theme.palette.divider}`
247
- },
248
- title: { flexGrow: 1 }
249
- }));
250
- const FUICardHeader = (props, ref) => {
251
- const classes = useStyles$11(props);
252
- const { className, children, headerActions, titleId,...other } = props;
253
- return /* @__PURE__ */ jsxs("div", {
254
- ref,
255
- ...other,
256
- className: clsx(className, classes.root),
257
- children: [/* @__PURE__ */ jsx(Typography, {
258
- id: titleId,
259
- className: classes.title,
260
- children
261
- }), headerActions]
262
- });
263
- };
264
- var FUICardHeader_default = forwardRef(FUICardHeader);
265
-
266
- //#endregion
267
- //#region src/UI/inputs/buttons/FUISquareIconButton.jsx
268
- const useStyles$10 = makeStyles((theme) => ({ root: { borderRadius: 0 } }), { name: "FUISquareIconButton" });
269
- /**
270
- * <IconButton> but with a square highlight
271
- */
272
- const FUISquareIconButton = (props) => {
273
- const classes = useStyles$10(props);
274
- return /* @__PURE__ */ jsx(IconButton, {
275
- ...props,
276
- classes
277
- });
278
- };
279
-
280
- //#endregion
281
- //#region src/UI/surfaces/cards/FluentCard.jsx
282
- const useStyles$9 = makeStyles({ root: {} }, { name: "FluentCard" });
283
- /**
284
- * A variant of <Card> that uses a square Fluent UI card style
285
- */
286
- const FluentCard = forwardRef((props, ref) => {
287
- const classes = useStyles$9(props);
288
- const { children,...other } = props;
289
- return /* @__PURE__ */ jsx(Card, {
290
- ref,
291
- square: true,
292
- ...other,
293
- classes,
294
- children
295
- });
296
- });
297
- FluentCard.displayName = "FluentCard";
298
-
299
- //#endregion
300
- //#region src/UI/surfaces/cards/FluentCardContent.jsx
301
- const useStyles$8 = makeStyles({ root: {} }, { name: "FluentCardContent" });
302
- /**
303
- * A variant of <CardContent> that uses a Fluent UI card style
304
- */
305
- const FluentCardContent = forwardRef((props, ref) => {
306
- const classes = useStyles$8(props);
307
- const { children,...other } = props;
308
- return /* @__PURE__ */ jsx(CardContent, {
309
- ref,
310
- ...other,
311
- classes,
312
- children
313
- });
314
- });
315
- FluentCardContent.displayName = "FluentCardContent";
316
-
317
- //#endregion
318
- //#region src/UI/surfaces/cards/FluentCardActions.jsx
319
- const useStyles$7 = makeStyles({
320
- root: {},
321
- spacing: {}
322
- }, { name: "FluentCardActions" });
323
- /**
324
- * A variant of <CardActions> that uses a Fluent UI card style
325
- */
326
- const FluentCardActions = forwardRef((props, ref) => {
327
- const classes = useStyles$7(props);
328
- const { children,...other } = props;
329
- return /* @__PURE__ */ jsx(CardActions, {
330
- ref,
331
- ...other,
332
- classes,
333
- children
334
- });
335
- });
336
- FluentCardActions.displayName = "FluentCardActions";
337
-
338
- //#endregion
339
- //#region src/UI/surfaces/cards/FUICard.jsx
340
- const useStyles$6 = makeStyles((theme) => ({
341
- root: {
342
- display: "flex",
343
- flexDirection: "column"
344
- },
345
- raised: { zIndex: 1 },
346
- contentArea: {
347
- flex: "1 1 auto",
348
- minHeight: 0,
349
- display: "flex",
350
- flexDirection: "column"
351
- },
352
- cardActions: {
353
- display: "flex",
354
- flexDirection: "row",
355
- justifyContent: "flex-start",
356
- paddingTop: theme.spacing(1),
357
- padding: theme.spacing(2)
358
- }
359
- }), { name: "FUICard" });
360
- let FUICardAction = (props, ref) => {
361
- const { children,...other } = props;
362
- return /* @__PURE__ */ jsx(Button, {
363
- ref,
364
- size: "small",
365
- variant: "contained",
366
- disableElevation: true,
367
- ...other,
368
- children
369
- });
370
- };
371
- FUICardAction = forwardRef(FUICardAction);
372
- let FUICardHeaderMenu = (props, ref) => {
373
- const { children } = props;
374
- return /* @__PURE__ */ jsx("div", {
375
- button: /* @__PURE__ */ jsx(FUISquareIconButton, { children: /* @__PURE__ */ jsx(FluentIcon, {
376
- component: MoreIcon,
377
- size: "small"
378
- }) }),
379
- menu: /* @__PURE__ */ jsx(Menu, { children })
380
- });
381
- };
382
- FUICardHeaderMenu = forwardRef(FUICardHeaderMenu);
383
- const FUICard = (props, ref) => {
384
- const classes = useStyles$6();
385
- const { className, children, actions, title, headerActions, CardHeaderProps, CardProps, raised, name,...cardProps } = props;
386
- const id = useId(name, cardProps.id);
387
- const titleId = `${id}-title`;
388
- return /* @__PURE__ */ jsxs(FluentCard, {
389
- ref,
390
- component: "section",
391
- "aria-labelledby": titleId,
392
- ...cardProps,
393
- raised,
394
- className: clsx(className, raised && classes.raised),
395
- ...CardProps,
396
- classes: { root: classes.root },
397
- children: [
398
- /* @__PURE__ */ jsx(FUICardHeader_default, {
399
- titleId,
400
- headerActions,
401
- ...CardHeaderProps,
402
- children: title
403
- }),
404
- /* @__PURE__ */ jsx(FluentCardContent, {
405
- className: classes.contentArea,
406
- children
407
- }),
408
- actions && /* @__PURE__ */ jsx(FluentCardActions, {
409
- className: classes.cardActions,
410
- children: actions
411
- })
412
- ]
413
- });
414
- };
415
- var FUICard_default = forwardRef(FUICard);
416
-
417
- //#endregion
418
- //#region src/UI/widgets/FluentComponents/FUIMenuItem.jsx
419
- const useStyles$5 = makeStyles({ listItemIcon: { minWidth: 32 } }, { name: "FUIMenuItem" });
420
- /**
421
- * <MenuItem> with icon support
422
- */
423
- const FUIMenuItem = (props, ref) => {
424
- const classes = useStyles$5();
425
- const { icon, fluentIcon, primary, secondary,...menuItemProps } = props;
426
- return /* @__PURE__ */ jsxs(MenuItem, {
427
- ref,
428
- dense: true,
429
- ...menuItemProps,
430
- children: [/* @__PURE__ */ jsx(ListItemIcon, {
431
- className: classes.listItemIcon,
432
- children: icon || /* @__PURE__ */ jsx(FluentIcon, { component: fluentIcon })
433
- }), /* @__PURE__ */ jsx(ListItemText, {
434
- primary,
435
- secondary
436
- })]
437
- });
438
- };
439
- var FUIMenuItem_default = forwardRef(FUIMenuItem);
440
-
441
- //#endregion
442
- //#region src/dashboard/WidgetCard.jsx
443
- /**
444
- * Core component for dashboard widget cards
445
- */
446
- const WidgetCard = (props) => {
447
- const { children, headerActions, className, widgetType, id, layout, params, setParam, onDelete, loading, errors, theme, hideWidgetName, innerPadding, contentHeight, contentMaxHeight,...other } = props;
448
- const useStyles$13 = makeStyles((theme$1) => ({
449
- root: { "&.react-resizable-hide .react-resizable-handle": { display: "none" } },
450
- darkRoot: {
451
- "&.react-resizable-hide .react-resizable-handle": { display: "none" },
452
- background: "#424242",
453
- color: "white"
454
- },
455
- anyRoot: { "& .MuiCardContent-root": {
456
- justifyContent: "space-between",
457
- overflow: "auto",
458
- padding: 0
459
- } },
460
- handle: {
461
- cursor: "move",
462
- "&:hover": { backgroundColor: theme$1.palette.action.hover },
463
- display: hideWidgetName && "none"
464
- },
465
- loadingContent: {
466
- flex: 1,
467
- display: "flex",
468
- flexDirection: "column",
469
- alignItems: "center",
470
- justifyContent: "center"
471
- },
472
- innerWidgetContentContainer: {
473
- height: widgetType === "TransformerLoadWidget" ? "auto" : contentHeight ? contentHeight : "100%",
474
- maxHeight: contentMaxHeight ? contentMaxHeight : "",
475
- minWidth: widgetType === "ProgressBarWidget" ? 0 : 270,
476
- display: "flex",
477
- flexDirection: "column",
478
- justifyContent: "space-between",
479
- padding: innerPadding || (widgetType === "VEERegisterRead" ? 0 : theme$1.spacing(2))
480
- }
481
- }));
482
- const classes = useStyles$13();
483
- const raised = /(^|\s)react-draggable-dragging(\s|$)/.test(className !== null && className !== void 0 ? className : "");
484
- let body = children;
485
- if (loading && !body) body = /* @__PURE__ */ jsx("div", {
486
- className: classes.loadingContent,
487
- children: /* @__PURE__ */ jsx(CircularProgress, { size: 64 })
488
- });
489
- if (errors && !body) body = /* @__PURE__ */ jsx("div", { children: "Unexpected error" });
490
- return /* @__PURE__ */ jsx(FUICard_default, {
491
- ...other,
492
- className: clsx(className, theme === "dark" ? classes.darkRoot : classes.root, classes.anyRoot),
493
- raised,
494
- CardHeaderProps: {
495
- className: classes.handle,
496
- "data-handle": true
497
- },
498
- headerActions: /* @__PURE__ */ jsxs(Fragment$1, { children: [headerActions, /* @__PURE__ */ jsx(FUICardHeaderMenu, { children: /* @__PURE__ */ jsx(FUIMenuItem_default, {
499
- onClick: onDelete,
500
- fluentIcon: DeleteIcon,
501
- primary: "Delete"
502
- }) })] }),
503
- children: /* @__PURE__ */ jsx("div", {
504
- className: classes.innerWidgetContentContainer,
505
- children: body
506
- })
507
- });
508
- };
509
-
510
- //#endregion
511
- //#region src/dashboard/DashboardWidget.jsx
512
- /**
513
- * Widget implementation for dashboards
514
- */
515
- let DashboardWidget = (props) => {
516
- const { widgetType, id, deleteCard, children, params: paramValues, setParams,...other } = props;
517
- const { getWidget, isValidWidget } = useShellStore();
518
- const onDelete = useCallback(() => {
519
- deleteCard(id);
520
- }, [deleteCard, id]);
521
- const { Widget, params: paramDefs } = useMemo(() => {
522
- if (!isValidWidget || !getWidget) return {};
523
- if (isValidWidget(widgetType) && getWidget) return getWidget(widgetType);
524
- return {};
525
- }, [
526
- widgetType,
527
- getWidget,
528
- isValidWidget
529
- ]);
530
- const params = useMemo(() => {
531
- const params$1 = {};
532
- if (paramDefs) {
533
- for (const name in paramDefs) params$1[name] = paramDefs[name].defaultValue;
534
- for (const param in paramValues) params$1[param] = paramValues[param];
535
- }
536
- return params$1;
537
- }, [paramDefs, paramValues]);
538
- const setParam = useCallback((name, value) => setParams(id, { [name]: value }), [id, setParams]);
539
- if (!isValidWidget || !getWidget) return /* @__PURE__ */ jsx(WidgetCard, {
540
- ...other,
541
- title: "Error",
542
- children: "isValidWidget or getWidget functions are not defined"
543
- });
544
- if (!Widget) return /* @__PURE__ */ jsxs(WidgetCard, {
545
- ...other,
546
- title: "Error",
547
- children: [
548
- "Unknown widget type \"",
549
- widgetType,
550
- "\"."
551
- ]
552
- });
553
- else return /* @__PURE__ */ jsx(Widget, {
554
- ...other,
555
- id,
556
- params,
557
- setParam,
558
- onDelete,
559
- children
560
- });
561
- };
562
- var DashboardWidget_default = memo(DashboardWidget);
563
-
564
- //#endregion
565
- //#region src/page/Page.jsx
566
- const Page = (props) => {
567
- const { gridConfig, widgetConfig, disableMargin } = props;
568
- const { getWidget, isValidWidget } = useShellStore();
569
- const gridProperties = gridConfig ? JSON.parse(gridConfig) : null;
570
- let widgets = widgetConfig || null;
571
- if (typeof widgetConfig === "string") widgets = JSON.parse(widgetConfig);
572
- const calculateLayouts = () => {
573
- if (!widgets) return null;
574
- const layouts$1 = {};
575
- for (const widget of widgets) for (const breakpoint in widget.layout) {
576
- if (breakpoint === "__typename" || !widget.layout[breakpoint]) continue;
577
- layouts$1[breakpoint] = layouts$1[breakpoint] || [];
578
- const { __typename,...layout } = widget.layout[breakpoint];
579
- layouts$1[breakpoint].push({
580
- ...getWidgetLayout(getWidget, widget.widgetType),
581
- isResizable: widget.params.isResizable || false,
582
- ...layout,
583
- i: widget.id
584
- });
585
- }
586
- return layouts$1;
587
- };
588
- const layouts = useMemo(() => calculateLayouts(), [calculateLayouts, widgetConfig]);
589
- const cards = useMemo(() => widgets && widgets.map(({ __typename,...widget }) => /* @__PURE__ */ jsx(DashboardWidget_default, { ...widget }, widget.id)), [widgets]);
590
- if (!layouts) return null;
591
- return /* @__PURE__ */ jsx(DashboardCardGrid, {
592
- layouts,
593
- gridProperties,
594
- disableMargin,
595
- children: cards
596
- });
597
- };
598
-
599
- //#endregion
600
- //#region src/UI/inputs/buttons/AmbientPopoverMenuItem.jsx
601
- const useStyles$4 = makeStyles((theme) => ({ root: { paddingLeft: theme.spacing(1) } }));
602
- const AmbientPopoverMenuItem = ({ label, component, click }) => {
603
- const classes = useStyles$4();
604
- return /* @__PURE__ */ jsxs("div", {
605
- className: classes.root,
606
- children: [
607
- /* @__PURE__ */ jsx(LayoutUnit, { unit: "nudge" }),
608
- /* @__PURE__ */ jsx(ToolBarButton, {
609
- label,
610
- component,
611
- click,
612
- icon: false
613
- }),
614
- /* @__PURE__ */ jsx(LayoutUnit, { unit: "nudge" }),
615
- /* @__PURE__ */ jsx(Divider, {})
616
- ]
617
- });
618
- };
619
-
620
- //#endregion
621
- //#region src/UI/utilityDisplay/utilityHeader/ui/PAHExport.jsx
622
- const useStyles$3 = makeStyles((theme) => ({
623
- root: {},
624
- popoverRoot: {},
625
- icon: { color: theme.palette.secondary.main }
626
- }));
627
- const PAHExport = ({ exportCSV, exportExcel, exportPDF }) => {
628
- const classes = useStyles$3();
629
- const [anchorEl, setAnchorEl] = useState(null);
630
- const handleClick = (event) => {
631
- setAnchorEl(event.currentTarget);
632
- };
633
- const handleClose = () => {
634
- setAnchorEl(null);
635
- };
636
- const open = Boolean(anchorEl);
637
- const id = open ? "simple-popover" : void 0;
638
- const gridControlsExport = [{
639
- label: "Export CSV",
640
- component: TextDocumentIcon,
641
- click: exportCSV,
642
- key: 1
643
- }, {
644
- label: "Export Excel",
645
- component: ExcelDocumentIcon,
646
- click: exportExcel,
647
- key: 2
648
- }];
649
- return /* @__PURE__ */ jsxs("div", {
650
- className: classes.root,
651
- children: [/* @__PURE__ */ jsx(FluentIconButton, {
652
- className: classes.icon,
653
- icon: ArrowUpRightIcon,
654
- onClick: handleClick
655
- }), /* @__PURE__ */ jsx(Popover, {
656
- classes: { root: classes.popoverRoot },
657
- square: true,
658
- elevation: 1,
659
- id,
660
- open,
661
- anchorEl,
662
- onClose: handleClose,
663
- anchorOrigin: {
664
- vertical: "bottom",
665
- horizontal: "left"
666
- },
667
- transformOrigin: {
668
- vertical: "top",
669
- horizontal: "left"
670
- },
671
- children: /* @__PURE__ */ jsx("div", {
672
- style: { width: 140 },
673
- children: /* @__PURE__ */ jsx("div", { children: gridControlsExport.map((item) => {
674
- return /* @__PURE__ */ jsx(AmbientPopoverMenuItem, {
675
- label: item.label,
676
- component: item.component,
677
- click: item.click
678
- });
679
- }) })
680
- })
681
- })]
682
- });
683
- };
684
-
685
- //#endregion
686
- //#region src/UI/navigation/tabs/UdpTabs.jsx
687
- const useStyles$2 = makeStyles((theme) => ({
688
- root: {
689
- flexSkrink: 0,
690
- overflow: "hidden"
691
- },
692
- tabsWrapper: {
693
- display: "flex",
694
- gap: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? theme.spacing(1) : null,
695
- flexGrow: 1
696
- },
697
- tab: {
698
- padding: `8px 18px`,
699
- flex: 1
700
- },
701
- blockTab: { backgroundColor: theme.palette.background.paper },
702
- activeTab: {
703
- borderBottom: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? null : `2px solid ${theme.palette.secondary.main}`,
704
- backgroundColor: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? theme.palette.secondary.light : null,
705
- color: (props) => (props === null || props === void 0 ? void 0 : props.variant) === "block" ? theme.palette.getContrastText(theme.palette.secondary.light) : null
706
- },
707
- moreButton: {
708
- marginTop: theme.spacing(1),
709
- width: theme.spacing(1),
710
- height: theme.spacing(1),
711
- borderRadius: 2
712
- },
713
- menuItem: {
714
- whiteSpace: "normal",
715
- width: (props) => (props === null || props === void 0 ? void 0 : props.menuWidth) ? props === null || props === void 0 ? void 0 : props.menuWidth : "170px"
716
- },
717
- popoverWrapper: { maxHeight: (props) => (props === null || props === void 0 ? void 0 : props.menuMaxHeight) ? props === null || props === void 0 ? void 0 : props.menuMaxHeight : "250px" }
718
- }));
719
- const UdpTabs = (props) => {
720
- const { value, onChange, className, menuItemProps, tabList, variant, buttonWidth } = props;
721
- const classes = useStyles$2(props);
722
- const tabContainerRef = useRef(null);
723
- const innerTabContainerRef = useRef(null);
724
- const [anchorEl, setAnchorEl] = useState(null);
725
- const [visibleTabList, setVisibleTabList] = useState(null);
726
- const [menuTabList, setMenuTabList] = useState(null);
727
- const [initialTotalTabWidth, setInitialTotalTabWidth] = useState(null);
728
- const [initialTabWidth, setInitialTabWidth] = useState();
729
- const gapWidth = 8;
730
- const open = Boolean(anchorEl);
731
- const currentTabList = useMemo(() => {
732
- return tabList === null || tabList === void 0 ? void 0 : tabList.map((tab, index) => ({
733
- id: index,
734
- ...tab,
735
- ref: createRef()
736
- }));
737
- }, [tabList]);
738
- const handlePopoverClick = useCallback((event, index) => {
739
- setAnchorEl(event.currentTarget);
740
- }, []);
741
- const handlePopoverClose = () => {
742
- setAnchorEl(null);
743
- };
744
- const menuItemSelected = useMemo(() => {
745
- return !!(menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.find((tab) => (tab === null || tab === void 0 ? void 0 : tab.id) === value));
746
- }, [value, menuTabList]);
747
- const getInitialTabWidth = useCallback((tabsElements, currentTabList$1) => {
748
- let totalTabWidth = 0;
749
- let tabWidth = [];
750
- if ((tabsElements === null || tabsElements === void 0 ? void 0 : tabsElements.length) === (currentTabList$1 === null || currentTabList$1 === void 0 ? void 0 : currentTabList$1.length) && !initialTotalTabWidth) {
751
- for (let i = 0; i < tabsElements.length; i++) {
752
- totalTabWidth += tabsElements[i].clientWidth;
753
- if (variant === "block") totalTabWidth += gapWidth;
754
- tabWidth[i] = tabsElements[i].clientWidth;
755
- }
756
- setInitialTotalTabWidth(totalTabWidth);
757
- setInitialTabWidth(tabWidth);
758
- return {
759
- totalTabWidth,
760
- tabWidth
761
- };
762
- }
763
- return {
764
- totalTabWidth: initialTotalTabWidth,
765
- tabWidth: initialTabWidth
766
- };
767
- }, [
768
- initialTabWidth,
769
- initialTotalTabWidth,
770
- variant
771
- ]);
772
- const calculateHiddenTabs = useCallback(() => {
773
- if (innerTabContainerRef.current) {
774
- const containerWidth = innerTabContainerRef.current.clientWidth;
775
- const tabsElements = Array.from(innerTabContainerRef.current.children);
776
- const moreBtnWidth = 24;
777
- let hiddenTabsArray = [];
778
- let visibleTabsArray = Array.from(currentTabList);
779
- const { totalTabWidth, tabWidth } = getInitialTabWidth(tabsElements, currentTabList);
780
- if (totalTabWidth > containerWidth) {
781
- let accumulatedWidth = 0;
782
- for (let i = 0; i < (tabWidth === null || tabWidth === void 0 ? void 0 : tabWidth.length); i++) {
783
- accumulatedWidth += tabWidth[i];
784
- if (variant === "block") accumulatedWidth += gapWidth;
785
- if (accumulatedWidth > containerWidth - moreBtnWidth) {
786
- hiddenTabsArray = Array.from(currentTabList).slice(i);
787
- visibleTabsArray = Array.from(currentTabList).slice(0, i);
788
- break;
789
- }
790
- }
791
- }
792
- setVisibleTabList(visibleTabsArray);
793
- setMenuTabList(hiddenTabsArray);
794
- }
795
- }, [
796
- currentTabList,
797
- getInitialTabWidth,
798
- variant
799
- ]);
800
- useEffect(() => {
801
- setVisibleTabList(currentTabList);
802
- }, [currentTabList]);
803
- useEffect(() => {
804
- calculateHiddenTabs();
805
- const observer = new ResizeObserver((entries) => {
806
- handlePopoverClose();
807
- calculateHiddenTabs();
808
- });
809
- if (tabContainerRef.current) observer.observe(tabContainerRef.current);
810
- return () => {
811
- observer.disconnect();
812
- };
813
- }, [calculateHiddenTabs]);
814
- return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", {
815
- className: clsx(classes.root, className),
816
- ref: tabContainerRef,
817
- children: [/* @__PURE__ */ jsxs("div", {
818
- className: classes.tabsWrapper,
819
- ref: innerTabContainerRef,
820
- style: variant === "spread" ? { justifyContent: "space-between" } : null,
821
- children: [visibleTabList === null || visibleTabList === void 0 ? void 0 : visibleTabList.map((item, index) => {
822
- var _item$label, _item$label2;
823
- return /* @__PURE__ */ jsx(ButtonBase, {
824
- style: {
825
- flex: variant === "spread" && 1,
826
- width: !!buttonWidth && buttonWidth
827
- },
828
- id: "udpRecord-UdpTabs-MenuItem-" + (item === null || item === void 0 || (_item$label = item.label) === null || _item$label === void 0 ? void 0 : _item$label.replace(/ /g, "-")),
829
- udprecordid: "udpRecord-UdpTabs-MenuItem-" + (item === null || item === void 0 || (_item$label2 = item.label) === null || _item$label2 === void 0 ? void 0 : _item$label2.replace(/ /g, "-")),
830
- children: /* @__PURE__ */ jsx("div", {
831
- className: clsx(classes.tab, {
832
- [classes.blockTab]: variant === "block",
833
- [classes.activeTab]: value === (item === null || item === void 0 ? void 0 : item.id)
834
- }),
835
- onClick: (e) => {
836
- onChange(e, item === null || item === void 0 ? void 0 : item.id);
837
- if (item === null || item === void 0 ? void 0 : item.onClick) item.onClick();
838
- setAnchorEl(null);
839
- },
840
- children: /* @__PURE__ */ jsx(Typography, {
841
- noWrap: true,
842
- style: { fontWeight: variant === "spread" ? "bold" : "normal" },
843
- children: item === null || item === void 0 ? void 0 : item.label
844
- })
845
- })
846
- }, index);
847
- }), (menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.length) > 0 && /* @__PURE__ */ jsx(IconButton, {
848
- onClick: handlePopoverClick,
849
- className: classes.moreButton,
850
- color: "primary",
851
- id: "udpRecord-UdpTabs-MoreActions",
852
- udprecordid: "udpRecord-UdpTabs-MoreActions",
853
- children: /* @__PURE__ */ jsx(Badge, {
854
- color: "secondary",
855
- variant: "dot",
856
- invisible: menuItemSelected === false,
857
- children: /* @__PURE__ */ jsx(FluentIcon, {
858
- component: MoreVerticalIcon,
859
- size: "medium"
860
- })
861
- })
862
- })]
863
- }), !!(menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.length) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Popover, {
864
- id: "menuTabList",
865
- open,
866
- anchorEl,
867
- onClose: handlePopoverClose,
868
- anchorOrigin: {
869
- vertical: "bottom",
870
- horizontal: "left"
871
- },
872
- transformOrigin: {
873
- vertical: "top",
874
- horizontal: "left"
875
- },
876
- className: classes.popoverWrapper,
877
- children: menuTabList === null || menuTabList === void 0 ? void 0 : menuTabList.map((tab) => {
878
- var _tab$label, _tab$label2;
879
- return /* @__PURE__ */ jsx(MenuItem, {
880
- id: "udpRecord-UdpTabs-MenuItem-" + (tab === null || tab === void 0 || (_tab$label = tab.label) === null || _tab$label === void 0 ? void 0 : _tab$label.replace(/ /g, "-")),
881
- udprecordid: "udpRecord-UdpTabs-MenuItem-" + (tab === null || tab === void 0 || (_tab$label2 = tab.label) === null || _tab$label2 === void 0 ? void 0 : _tab$label2.replace(/ /g, "-")),
882
- onClick: (e) => {
883
- if (tab === null || tab === void 0 ? void 0 : tab.onClick) tab.onClick();
884
- if (onChange) onChange(e, tab === null || tab === void 0 ? void 0 : tab.id);
885
- setAnchorEl(null);
886
- },
887
- className: clsx(classes.menuItem, className),
888
- selected: (tab === null || tab === void 0 ? void 0 : tab.id) === value,
889
- ...menuItemProps,
890
- children: /* @__PURE__ */ jsx(Typography, { children: tab === null || tab === void 0 ? void 0 : tab.label })
891
- }, tab === null || tab === void 0 ? void 0 : tab.id);
892
- })
893
- }) })]
894
- }) });
895
- };
896
-
897
- //#endregion
898
- //#region src/UI/utilityDisplay/utilityHeader/ui/teleporter.ts
899
- const useAllTeleporters = () => {
900
- const teleporterMap = useTeleporterStore((state) => state.teleporterMap);
901
- const allTeleporters = useMemo(() => {
902
- const result = [];
903
- for (const [targetId, locationMap] of teleporterMap.entries()) for (const [location, entry] of locationMap.entries()) result.push([
904
- targetId,
905
- location,
906
- entry.teleporter
907
- ]);
908
- return result;
909
- }, [teleporterMap]);
910
- return allTeleporters;
911
- };
912
-
913
- //#endregion
914
- //#region src/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.jsx
915
- const useStyles$1 = makeStyles((theme) => ({
916
- root: {
917
- display: "flex",
918
- [theme.breakpoints.between("xs", "sm")]: { height: 50 }
919
- },
920
- title: { margin: theme.spacing(2) },
921
- titleWrapper: {
922
- paddingLeft: theme.spacing(2),
923
- paddingRight: (props) => props.single ? theme.spacing(2) : 0,
924
- display: "flex",
925
- alignItems: "center"
926
- },
927
- subHeaderWrapper: {
928
- width: "100%",
929
- marginTop: 0,
930
- [theme.breakpoints.down("xs")]: { justifyContent: "flex-start" }
931
- },
932
- subHeader: {
933
- minWidth: (props) => props.subheader && 320,
934
- marginLeft: theme.spacing(2),
935
- [theme.breakpoints.between("sm", "lg")]: { display: "none" },
936
- [theme.breakpoints.down("xs")]: { display: "none" }
937
- },
938
- denseSubtitle: {
939
- marginTop: theme.spacing(1.2),
940
- marginLeft: theme.spacing(2)
941
- },
942
- actionRow: {
943
- display: "flex",
944
- flex: 1,
945
- alignItems: "center"
946
- },
947
- secondaryButtons: {
948
- display: "flex",
949
- [theme.breakpoints.down("sm")]: { display: "none" },
950
- alignItems: "center"
951
- },
952
- secondaryButtonsMobile: {
953
- display: "flex",
954
- padding: theme.spacing(1),
955
- background: theme.palette.divider,
956
- [theme.breakpoints.up("sm")]: { display: "none" }
957
- },
958
- search: {
959
- marginRight: theme.spacing(2),
960
- marginTop: theme.spacing(3),
961
- flex: 1
962
- },
963
- close: { marginRight: theme.spacing(2) },
964
- pab: {
965
- display: "flex",
966
- [theme.breakpoints.between("xs", "sm")]: {
967
- position: "fixed",
968
- bottom: theme.spacing(2),
969
- right: theme.spacing(2),
970
- zIndex: theme.zIndex.appBar
971
- }
972
- },
973
- titleOnly: { paddingBottom: theme.spacing(1) },
974
- advancedOptions: {
975
- backgroundColor: "#EEEEEE",
976
- width: "100%"
977
- },
978
- tabPageButtons: {
979
- height: 50,
980
- borderTop: `1px solid ${theme.palette.divider}`,
981
- paddingLeft: theme.spacing(2),
982
- backgroundColor: "#EEEEEE"
983
- },
984
- divider: {
985
- height: 25,
986
- marginLeft: theme.spacing(1),
987
- marginRight: theme.spacing(2)
988
- },
989
- functionIcons: {
990
- fontSize: 18,
991
- color: theme.palette.secondary.main
992
- },
993
- tabRow: {
994
- maxWidth: 500,
995
- [theme.breakpoints.down("sm")]: { width: 300 },
996
- minHeight: "48px"
997
- },
998
- fullTabs: {
999
- [theme.breakpoints.down("xl")]: { maxWidth: 700 },
1000
- [theme.breakpoints.down("lg")]: { maxWidth: 500 },
1001
- [theme.breakpoints.down("sm")]: { maxWidth: "100vw" },
1002
- minHeight: "48px"
1003
- },
1004
- iconButton: {
1005
- marginTop: 9,
1006
- marginLeft: 4
1007
- },
1008
- titleWrapperBack: {
1009
- display: "flex",
1010
- flex: (props) => props.title && 1
1011
- },
1012
- buttomButtonRow: {
1013
- display: "flex",
1014
- width: "100%"
1015
- },
1016
- bottomButtonsLeft: {
1017
- display: "flex",
1018
- flex: 1,
1019
- justifyContent: "flex-start"
1020
- },
1021
- bottomButtonsRigth: {
1022
- display: "flex",
1023
- justifyContent: "flex-end"
1024
- },
1025
- single: { display: "flex" },
1026
- containerStyle: {
1027
- background: lighten(theme.palette.secondary.light, .9),
1028
- padding: theme.spacing(1),
1029
- paddingLeft: theme.spacing(2),
1030
- borderTop: `1px solid ${theme.palette.divider} `
1031
- },
1032
- gridControlLineUp: {
1033
- display: "flex",
1034
- alignItems: "center",
1035
- marginRight: theme.spacing(2)
1036
- },
1037
- additionalTitleComponent: { marginLeft: theme.spacing(2) }
1038
- }));
1039
- const PrimaryActionHeader = (props) => {
1040
- const classes = useStyles$1(props);
1041
- const { buttonLabel, title, subheader, handleClick, secondaryButtons, hidePAB = false, search, searchField, expandOptions, handleMouseLeave, expandedContent, handleChange, value, tabList, tabs, resizeGrid, collapse, expandAllItems, groups, showGroups, grid, clickBack, topRowSecondary, bottomRowSecondary, bottomRowSecondaryRight, loading, openGroups, openFilter, altInputs, loadingVal, exportGrid, openSearch = false, styleSearch, stepper, pabDisabled, switcher, single, lowerTray, lowerTraySearch, lowerTrayGrid, upperTrayGrid, exportCSV, exportExcel, exportPDF, expand, expandGrid, collapseGrid, resize, gridApi, saveGridConfig, deleteGridConfig, clearGridConfig, hideActionRow = false, allowAdditionalTitleComponent = false, allowAdditionalRightComponent = true, StatusChipProps = null, tabProps, tabVariant, additionalComponentId = "",...otherProps } = props;
1042
- const [searchExpanded, setSearchExpanded] = useState(openSearch);
1043
- const currentContainerId = useShellStore((state) => state.currentContainerId);
1044
- const allTeleporters = useAllTeleporters();
1045
- const expandSearch = () => {
1046
- setSearchExpanded(!searchExpanded);
1047
- };
1048
- const gridControlsExpand = [{
1049
- label: "",
1050
- aria: "expand",
1051
- component: ChevronUnfold10Icon,
1052
- click: expandGrid,
1053
- id: 1
1054
- }];
1055
- const gridControlsResize = [{
1056
- label: "",
1057
- aria: "resize",
1058
- component: MaximumValueIcon,
1059
- click: resizeGrid,
1060
- id: 2
1061
- }];
1062
- const gridControlsCollapse = [{
1063
- label: "",
1064
- aria: "collapse",
1065
- component: ChevronFold10Icon,
1066
- click: collapseGrid,
1067
- id: 3
1068
- }];
1069
- const gridControlsGroup = [{
1070
- label: "Group",
1071
- component: GroupListIcon,
1072
- click: openGroups,
1073
- id: 4
1074
- }];
1075
- const gridControlsFilter = [{
1076
- label: "Filter",
1077
- component: FilterIcon,
1078
- click: openFilter,
1079
- id: 5
1080
- }];
1081
- const gridControlsSave = [{
1082
- label: "Save Grid Configuration",
1083
- component: SaveIcon,
1084
- click: saveGridConfig,
1085
- id: 6
1086
- }];
1087
- const gridControlsDelete = [{
1088
- label: "Delete Grid Configuration",
1089
- component: DeleteIcon,
1090
- click: deleteGridConfig,
1091
- id: 7
1092
- }];
1093
- const gridControlsClear = [{
1094
- label: "Clear Grid Configuration",
1095
- component: ClearIcon,
1096
- click: clearGridConfig,
1097
- id: 8
1098
- }];
1099
- const gridControlsExport = /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(PAHExport, {
1100
- exportCSV: exportCSV || (() => gridApi === null || gridApi === void 0 ? void 0 : gridApi.exportDataAsCsv()),
1101
- exportExcel: exportExcel || (() => gridApi === null || gridApi === void 0 ? void 0 : gridApi.exportDataAsExcel()),
1102
- exportPDF
1103
- }) });
1104
- const gridControlExpand = gridControlsExpand && /* @__PURE__ */ jsx("div", { children: gridControlsExpand.map((item) => {
1105
- return /* @__PURE__ */ jsx(ToolBarButton, {
1106
- label: item.label,
1107
- title: item.label,
1108
- expanded: true,
1109
- component: item.component,
1110
- click: item.click,
1111
- aria: item.aria
1112
- }, item.id);
1113
- }) });
1114
- const gridControlResize = gridControlsResize && /* @__PURE__ */ jsx("div", { children: gridControlsResize.map((item) => {
1115
- return /* @__PURE__ */ jsx(ToolBarButton, {
1116
- label: item.label,
1117
- title: item.label,
1118
- expanded: true,
1119
- component: item.component,
1120
- click: item.click,
1121
- aria: item.aria
1122
- }, item.id);
1123
- }) });
1124
- const gridControlCollapse = gridControlsCollapse && /* @__PURE__ */ jsx("div", { children: gridControlsCollapse.map((item) => {
1125
- return /* @__PURE__ */ jsx(ToolBarButton, {
1126
- label: item.label,
1127
- title: item.label,
1128
- expanded: true,
1129
- component: item.component,
1130
- click: item.click,
1131
- aria: item.aria
1132
- }, item.id);
1133
- }) });
1134
- const gridControlSave = gridControlsSave && /* @__PURE__ */ jsx("div", { children: gridControlsSave.map((item) => {
1135
- return /* @__PURE__ */ jsx(ToolBarButton, {
1136
- label: item.label,
1137
- title: item.label,
1138
- expanded: true,
1139
- component: item.component,
1140
- click: item.click,
1141
- aria: item.aria
1142
- }, item.id);
1143
- }) });
1144
- const gridControlDelete = gridControlsDelete && /* @__PURE__ */ jsx("div", { children: gridControlsDelete.map((item) => {
1145
- return /* @__PURE__ */ jsx(ToolBarButton, {
1146
- label: item.label,
1147
- title: item.label,
1148
- expanded: true,
1149
- component: item.component,
1150
- click: item.click,
1151
- aria: item.aria
1152
- }, item.id);
1153
- }) });
1154
- const gridControlClear = gridControlsClear && /* @__PURE__ */ jsx("div", { children: gridControlsClear.map((item) => {
1155
- return /* @__PURE__ */ jsx(ToolBarButton, {
1156
- label: item.label,
1157
- title: item.label,
1158
- expanded: true,
1159
- component: item.component,
1160
- click: item.click,
1161
- aria: item.aria
1162
- }, item.id);
1163
- }) });
1164
- const searchToggle = /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
1165
- style: { display: "flex" },
1166
- children: searchExpanded && /* @__PURE__ */ jsx(FluentIconButton, {
1167
- click: expandSearch,
1168
- "aria-label": "close search",
1169
- className: classes.close,
1170
- icon: ChevronRightIcon,
1171
- onClick: expandSearch,
1172
- size: "small"
1173
- })
1174
- }), /* @__PURE__ */ jsx("div", {
1175
- className: classes.search,
1176
- style: { flex: 1 },
1177
- children: /* @__PURE__ */ jsx("div", { children: searchExpanded && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Slide, {
1178
- direction: "left",
1179
- in: expandSearch,
1180
- mountOnEnter: true,
1181
- unmountOnExit: true,
1182
- children: /* @__PURE__ */ jsx("div", {
1183
- className: classes.searchWrapper,
1184
- children: searchField
1185
- })
1186
- }) }) })
1187
- })] });
1188
- const LowerTrayShell = ({ children }) => {
1189
- return /* @__PURE__ */ jsx("div", {
1190
- className: classes.containerStyle,
1191
- children
1192
- });
1193
- };
1194
- const GridControlLineUp = () => {
1195
- return /* @__PURE__ */ jsxs("div", {
1196
- className: classes.gridControlLineUp,
1197
- children: [
1198
- saveGridConfig && gridControlSave,
1199
- deleteGridConfig && gridControlDelete,
1200
- clearGridConfig && gridControlClear,
1201
- expandGrid && gridControlExpand,
1202
- resizeGrid && gridControlResize,
1203
- collapseGrid && gridControlCollapse,
1204
- exportGrid && gridControlsExport
1205
- ]
1206
- });
1207
- };
1208
- const additionalTitleTeleportedComponents = useMemo(() => {
1209
- const components = [];
1210
- allTeleporters.forEach(([targetId, location, teleporter]) => {
1211
- const Target = teleporter.Target;
1212
- if (targetId === additionalComponentId && location === "title") components.push(/* @__PURE__ */ jsx("div", {
1213
- className: "teleport-target",
1214
- children: /* @__PURE__ */ jsx(Target, {})
1215
- }, targetId));
1216
- });
1217
- return components;
1218
- }, [additionalComponentId, allTeleporters]);
1219
- return /* @__PURE__ */ jsxs("div", { children: [
1220
- /* @__PURE__ */ jsxs("div", {
1221
- className: single && classes.single,
1222
- children: [
1223
- /* @__PURE__ */ jsxs("div", {
1224
- className: classes.titleWrapperBack,
1225
- children: [
1226
- clickBack && /* @__PURE__ */ jsx("div", {
1227
- className: classes.iconButton,
1228
- children: /* @__PURE__ */ jsx(FluentIconButton, {
1229
- icon: ArrowBackIcon,
1230
- onClick: clickBack
1231
- })
1232
- }),
1233
- title && /* @__PURE__ */ jsx("div", {
1234
- className: classes.root,
1235
- children: /* @__PURE__ */ jsxs("div", {
1236
- className: classes.titleWrapper,
1237
- children: [
1238
- /* @__PURE__ */ jsx(StandardTitle, {
1239
- removeMarginTop: single,
1240
- children: title
1241
- }),
1242
- single && subheader && /* @__PURE__ */ jsx(Typography, {
1243
- className: classes.denseSubtitle,
1244
- variant: "subtitle1",
1245
- component: "h2",
1246
- children: subheader
1247
- }),
1248
- allowAdditionalTitleComponent && /* @__PURE__ */ jsx("div", {
1249
- className: classes.additionalTitleComponent,
1250
- children: additionalTitleTeleportedComponents.map((value$1) => {
1251
- return value$1;
1252
- })
1253
- })
1254
- ]
1255
- })
1256
- }),
1257
- !title && allowAdditionalTitleComponent && /* @__PURE__ */ jsx("div", {
1258
- className: classes.additionalTitleComponent,
1259
- children: additionalTitleTeleportedComponents.map((value$1) => {
1260
- return value$1;
1261
- })
1262
- }),
1263
- StatusChipProps && /* @__PURE__ */ jsx("div", {
1264
- className: classes.root,
1265
- children: /* @__PURE__ */ jsx("div", {
1266
- className: classes.titleWrapper,
1267
- children: /* @__PURE__ */ jsx(StatusChip, {
1268
- label: StatusChipProps === null || StatusChipProps === void 0 ? void 0 : StatusChipProps.label,
1269
- status: StatusChipProps === null || StatusChipProps === void 0 ? void 0 : StatusChipProps.status
1270
- })
1271
- })
1272
- })
1273
- ]
1274
- }),
1275
- /* @__PURE__ */ jsxs("div", {
1276
- className: classes.subHeaderWrapper,
1277
- children: [stepper, !hideActionRow && /* @__PURE__ */ jsxs("div", {
1278
- className: classes.actionRow,
1279
- children: [
1280
- !single && subheader && /* @__PURE__ */ jsx(Typography, {
1281
- className: classes.denseSubtitle,
1282
- variant: "subtitle1",
1283
- component: "h2",
1284
- children: subheader
1285
- }),
1286
- /* @__PURE__ */ jsx("div", {
1287
- className: grid ? classes.tabRow : classes.fullTabs,
1288
- children: (tabList === null || tabList === void 0 ? void 0 : tabList.length) > 0 && /* @__PURE__ */ jsx(UdpTabs, {
1289
- value,
1290
- onChange: handleChange,
1291
- tabList,
1292
- variant: tabVariant
1293
- })
1294
- }),
1295
- search && searchToggle,
1296
- /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
1297
- /* @__PURE__ */ jsxs("div", {
1298
- className: classes.secondaryButtons,
1299
- children: [
1300
- !searchExpanded && search && /* @__PURE__ */ jsx(ToolBarButton, {
1301
- label: "Search",
1302
- component: SearchIcon,
1303
- click: expandSearch
1304
- }),
1305
- search && /* @__PURE__ */ jsx(Divider, {
1306
- orientation: "vertical",
1307
- className: classes.divider
1308
- }),
1309
- (expandGrid || resizeGrid || collapseGrid || exportGrid || saveGridConfig || deleteGridConfig || clearGridConfig) && upperTrayGrid && /* @__PURE__ */ jsx(GridControlLineUp, { expand }),
1310
- grid && openFilter && gridControlsFilter.map((item) => {
1311
- return /* @__PURE__ */ jsx(ToolBarButton, {
1312
- label: item.label,
1313
- title: item.label,
1314
- expanded: true,
1315
- component: item.component,
1316
- click: item.click,
1317
- aria: item.aria
1318
- }, item.id);
1319
- }),
1320
- grid && openGroups && gridControlsGroup.map((item) => {
1321
- return /* @__PURE__ */ jsx(ToolBarButton, {
1322
- label: item.label,
1323
- title: item.label,
1324
- expanded: true,
1325
- component: item.component,
1326
- click: item.click,
1327
- aria: item.aria
1328
- }, item.id);
1329
- }),
1330
- grid && searchExpanded && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FluentIconButton, {
1331
- id: "udpRecord-PrimaryActionHeader-ClosePanel",
1332
- udprecordid: "udpRecord-PrimaryActionHeader-ClosePanel",
1333
- icon: MoreVerticalIcon,
1334
- "aria-label": "Close Panel"
1335
- }) }),
1336
- secondaryButtons && !tabs && secondaryButtons.map((item, index) => {
1337
- var _item$id;
1338
- return /* @__PURE__ */ jsx(ToolBarButton, {
1339
- label: item.label,
1340
- expanded: searchExpanded,
1341
- component: item.component,
1342
- click: item.click,
1343
- aria: item.label,
1344
- disabled: item.disabled
1345
- }, (_item$id = item.id) !== null && _item$id !== void 0 ? _item$id : index);
1346
- })
1347
- ]
1348
- }),
1349
- /* @__PURE__ */ jsx("div", { children: allowAdditionalRightComponent && allTeleporters.map(([targetId, location, teleporter]) => {
1350
- const Target = teleporter.Target;
1351
- if (targetId === additionalComponentId && location === "right") return /* @__PURE__ */ jsx("div", {
1352
- className: "teleport-target",
1353
- children: /* @__PURE__ */ jsx(Target, {})
1354
- }, targetId);
1355
- else return null;
1356
- }) }),
1357
- !hidePAB && /* @__PURE__ */ jsxs("div", {
1358
- className: classes.pab,
1359
- children: [topRowSecondary && topRowSecondary.map((item, index) => {
1360
- var _item$id2;
1361
- return /* @__PURE__ */ jsx(ToolBarButton, {
1362
- label: item.label,
1363
- expanded: searchExpanded,
1364
- component: item.component,
1365
- click: item.click,
1366
- aria: item.label
1367
- }, (_item$id2 = item.id) !== null && _item$id2 !== void 0 ? _item$id2 : index);
1368
- }), /* @__PURE__ */ jsx(PrimaryActionButton, {
1369
- disabled: pabDisabled,
1370
- onClick: handleClick,
1371
- ...otherProps,
1372
- children: buttonLabel
1373
- })]
1374
- })
1375
- ]
1376
- })]
1377
- }),
1378
- /* @__PURE__ */ jsxs("div", {
1379
- className: clsx(classes.secondaryButtons, (altInputs || bottomRowSecondary) && classes.tabPageButtons),
1380
- children: [/* @__PURE__ */ jsxs("div", {
1381
- className: classes.buttomButtonRow,
1382
- children: [
1383
- /* @__PURE__ */ jsx("div", {
1384
- className: classes.bottomButtonsLeft,
1385
- children: bottomRowSecondary && bottomRowSecondary.map((item, index) => {
1386
- var _item$id3;
1387
- return /* @__PURE__ */ jsx(ToolBarButton, {
1388
- label: item.label,
1389
- expanded: !tabs && searchExpanded,
1390
- component: item.component,
1391
- click: item.click
1392
- }, (_item$id3 = item.id) !== null && _item$id3 !== void 0 ? _item$id3 : index);
1393
- })
1394
- }),
1395
- /* @__PURE__ */ jsx("div", {
1396
- className: classes.bottomButtonsRigth,
1397
- children: bottomRowSecondaryRight && bottomRowSecondaryRight.map((item, index) => {
1398
- var _item$id4;
1399
- return /* @__PURE__ */ jsx(ToolBarButton, {
1400
- label: item.label,
1401
- expanded: !tabs && searchExpanded,
1402
- component: item.component,
1403
- click: item.click
1404
- }, (_item$id4 = item.id) !== null && _item$id4 !== void 0 ? _item$id4 : index);
1405
- })
1406
- }),
1407
- altInputs
1408
- ]
1409
- }), /* @__PURE__ */ jsxs("div", { children: [showGroups && /* @__PURE__ */ jsx(Divider, {}), showGroups && groups] })]
1410
- }),
1411
- /* @__PURE__ */ jsx(Collapse, {
1412
- in: expandOptions,
1413
- timeout: "auto",
1414
- children: /* @__PURE__ */ jsx("div", {
1415
- onMouseLeave: handleMouseLeave,
1416
- children: /* @__PURE__ */ jsx("div", {
1417
- className: classes.advancedOptions,
1418
- children: expandedContent
1419
- })
1420
- })
1421
- }),
1422
- loading && /* @__PURE__ */ jsx(LinearProgress, { value: loadingVal })
1423
- ]
1424
- }),
1425
- lowerTray && /* @__PURE__ */ jsx(LowerTrayShell, { children: /* @__PURE__ */ jsxs("div", {
1426
- style: {
1427
- display: "flex",
1428
- justifyContent: "flex-end"
1429
- },
1430
- children: [/* @__PURE__ */ jsxs("div", {
1431
- style: { display: "flex" },
1432
- children: [!searchExpanded && lowerTraySearch && /* @__PURE__ */ jsx(ToolBarButton, {
1433
- label: "Search",
1434
- component: SearchIcon,
1435
- click: expandSearch
1436
- }), searchToggle]
1437
- }), lowerTrayGrid && /* @__PURE__ */ jsx(GridControlLineUp, {})]
1438
- }) }),
1439
- /* @__PURE__ */ jsx("div", {
1440
- className: classes.secondaryButtonsMobile,
1441
- children: secondaryButtons && !tabs && secondaryButtons.map((item, index) => {
1442
- var _item$id5;
1443
- return /* @__PURE__ */ jsx(ToolBarButton, {
1444
- label: item.label,
1445
- expanded: searchExpanded,
1446
- component: item.component,
1447
- click: item.click,
1448
- aria: item.label,
1449
- disabled: item.disabled
1450
- }, (_item$id5 = item.id) !== null && _item$id5 !== void 0 ? _item$id5 : index);
1451
- })
1452
- })
1453
- ] }, currentContainerId);
1454
- };
1455
- PrimaryActionHeader.propTypes = {
1456
- buttonLabel: PropTypes.string,
1457
- title: PropTypes.string.isRequired,
1458
- subheader: PropTypes.string,
1459
- handleClick: PropTypes.func,
1460
- secondaryButtons: PropTypes.arrayOf(PropTypes.shape({
1461
- label: PropTypes.string,
1462
- component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
1463
- click: PropTypes.func,
1464
- key: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
1465
- })),
1466
- hidePAB: PropTypes.bool,
1467
- search: PropTypes.bool,
1468
- searchField: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
1469
- expandOptions: PropTypes.func,
1470
- handleMouseLeave: PropTypes.string,
1471
- expandedContent: PropTypes.node,
1472
- handleChange: PropTypes.string,
1473
- value: PropTypes.oneOfType([PropTypes.node, false]),
1474
- tabList: PropTypes.node,
1475
- tabs: PropTypes.bool,
1476
- resizeGrid: PropTypes.func,
1477
- collapse: PropTypes.func,
1478
- expandAllItems: PropTypes.func,
1479
- saveGridConfig: PropTypes.func,
1480
- deleteGridConfig: PropTypes.func,
1481
- clearGridConfig: PropTypes.func,
1482
- groups: PropTypes.node,
1483
- grid: PropTypes.bool,
1484
- otherProps: PropTypes.any,
1485
- bottomRowSecondary: PropTypes.array,
1486
- topRowSecondary: PropTypes.array,
1487
- clickBack: PropTypes.func,
1488
- loading: PropTypes.bool,
1489
- loadingVal: PropTypes.number,
1490
- openGroups: PropTypes.func,
1491
- openFilter: PropTypes.func,
1492
- altInputs: PropTypes.node,
1493
- hideActionRow: PropTypes.bool,
1494
- tabProps: PropTypes.object,
1495
- single: PropTypes.bool
1496
- };
1497
- PrimaryActionHeader.defaultProps = { hidePAB: false };
1498
-
1499
- //#endregion
1500
- //#region src/contexts/PageContext.tsx
1501
- const initialState = {};
1502
- /**
1503
- * The Page context, shared amongst the Page
1504
- * and all children. Generally used to share state between
1505
- * Widgets. Call dispatch() to update the state. Currently
1506
- * only supports dispatch types of "set <state_property>".
1507
- * Example: dispatch({ type: "set mySharedProperty", value: oldSharedProperty + 1 });
1508
- */
1509
- const pageContext = createContext({});
1510
- const { Provider } = pageContext;
1511
- /**
1512
- * Sets shared state based on an action type and a value.
1513
- * action.type is in the format: <operator> <prop>
1514
- * Currently the only supported action type is "set <prop>",
1515
- * which will set state.prop to action.value.
1516
- * @param state The current state
1517
- * @param action A type and value to alter the current state
1518
- * @returns The new state
1519
- */
1520
- const reducer = (state, action) => {
1521
- const operator = action.type.substr(0, action.type.indexOf(" "));
1522
- const prop = action.type.substr(action.type.indexOf(" ") + 1);
1523
- switch (operator) {
1524
- case "set":
1525
- const newState = {
1526
- ...state,
1527
- [prop]: action.value
1528
- };
1529
- return newState;
1530
- default: throw new Error("Unknown operator");
1531
- }
1532
- };
1533
- /**
1534
- * A Context component to wrap around a Page. Allows
1535
- * sharing of state amongst sibling Widgets.
1536
- * @returns
1537
- */
1538
- const PageContextProvider = ({ children }) => {
1539
- const [state, dispatch] = useReducer(reducer, initialState);
1540
- return /* @__PURE__ */ jsx(Provider, {
1541
- value: {
1542
- state,
1543
- dispatch
1544
- },
1545
- children
1546
- });
1547
- };
1548
-
1549
- //#endregion
1550
- //#region src/hooks/useSetLocationState.js
1551
- const useSetLocationState = () => {
1552
- const history = useHistory();
1553
- const location = useLocation();
1554
- const setLocationState = (newState) => {
1555
- const currentState = location.state || {};
1556
- const hasChanged = Object.entries(newState).some(([key, value]) => currentState[key] !== value);
1557
- if (!hasChanged || !!(location === null || location === void 0 ? void 0 : location.state)) return;
1558
- history.replace({
1559
- pathname: location.pathname,
1560
- search: location.search,
1561
- hash: location.hash,
1562
- state: {
1563
- ...currentState,
1564
- ...newState
1565
- }
1566
- });
1567
- };
1568
- return setLocationState;
1569
- };
1570
-
1571
- //#endregion
1572
- //#region src/page/PageContainer.jsx
1573
- const useStyles = makeStyles((theme) => ({
1574
- root: {
1575
- marginTop: (props) => props.disableMargins ? 0 : theme.spacing(3),
1576
- marginRight: (props) => props.disableMargins ? 0 : theme.spacing(3),
1577
- marginLeft: (props) => props.disableMargins ? 0 : theme.spacing(3),
1578
- height: (props) => {
1579
- var _props$height;
1580
- return (_props$height = props.height) !== null && _props$height !== void 0 ? _props$height : "100%";
1581
- },
1582
- overflow: (props) => props.height && "auto"
1583
- },
1584
- staticRoot: {
1585
- marginTop: 0,
1586
- marginRight: 0,
1587
- marginLeft: 0,
1588
- height: (props) => {
1589
- var _props$height2;
1590
- return (_props$height2 = props.height) !== null && _props$height2 !== void 0 ? _props$height2 : "100%";
1591
- },
1592
- overflow: (props) => props.height && "auto"
1593
- },
1594
- title: {
1595
- flex: 1,
1596
- marginBottom: theme.spacing(1)
1597
- },
1598
- icon: { marginTop: theme.spacing(-2.5) },
1599
- loadingContent: {
1600
- flex: 1,
1601
- display: "flex",
1602
- flexDirection: "column",
1603
- alignItems: "center",
1604
- justifyContent: "center",
1605
- height: (props) => props.loadingHeight ? props.loadingHeight : "calc(100vh - 160px)"
1606
- }
1607
- }));
1608
- const PageContainer = (props) => {
1609
- var _location$state, _location$pathname;
1610
- const { user, widgetParams, redirectSlug, pageData, pageLoading = false, disableMargin = true, location, fromMenu = false, loadingHeight, isHomePage = false } = props;
1611
- const classes = useStyles(props);
1612
- const [page, setPage] = useState(null);
1613
- const [alertWarnings, setAlertWarnings] = useState([]);
1614
- const params = location === null || location === void 0 || (_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.params;
1615
- const pathPageId = location === null || location === void 0 || (_location$pathname = location.pathname) === null || _location$pathname === void 0 ? void 0 : _location$pathname.replace("/page/", "");
1616
- const pageId = (pathPageId === "/" ? null : pathPageId) || (params === null || params === void 0 ? void 0 : params.PageId);
1617
- const { t } = useTranslation();
1618
- const setLocationState = useSetLocationState();
1619
- const [{ data: pageInfo, loading: pageInfoLoading }] = useAxiosGet(ConfigService.tenantV1ApiUrl, `page/${pageId}`, {}, !!!pageId, false);
1620
- const [{ data: homePage, loading: homePageLoading, error: homePageError }, refetchHomePage] = useAxiosGet(ConfigService.tenantV1ApiUrl, `page/homePage?tenantId=${user === null || user === void 0 ? void 0 : user.currentTenantId}&productId=${ConfigService.config.UNITY_PRODUCT_ID}`, {}, !isHomePage, false);
1621
- const removeWarning = useCallback((id) => {
1622
- setAlertWarnings((prevWarnings) => prevWarnings.filter((warning) => warning.id !== id));
1623
- }, []);
1624
- const getRequiredFieldWarnings = useCallback((requiredFields = "", widgetParams$1) => {
1625
- const fieldsStr = requiredFields || "";
1626
- if (!fieldsStr.trim()) return;
1627
- const warnings = [];
1628
- const requiredFieldsMap = (widgetParams$1 === null || widgetParams$1 === void 0 ? void 0 : widgetParams$1.requiredFieldsMap) || {};
1629
- const nodeObj = (widgetParams$1 === null || widgetParams$1 === void 0 ? void 0 : widgetParams$1.nodeObj) || {};
1630
- const fields = fieldsStr.split(",").map((str) => str.trim());
1631
- const missingRequiredFieldNames = [];
1632
- fields.forEach((fieldName) => {
1633
- const requiredField = requiredFieldsMap[fieldName];
1634
- if (!(requiredField === null || requiredField === void 0 ? void 0 : requiredField.value)) missingRequiredFieldNames.push(fieldName);
1635
- else if (requiredField.type === "entity" && (nodeObj[requiredField.value] === void 0 || nodeObj[requiredField.value] === null)) missingRequiredFieldNames.push(fieldName);
1636
- });
1637
- missingRequiredFieldNames.forEach((name) => {
1638
- warnings.push({
1639
- id: v4(),
1640
- message: `${name} ${t("field is missing a value")}`
1641
- });
1642
- });
1643
- return warnings;
1644
- }, [t]);
1645
- const pages = useMemo(() => (page === null || page === void 0 ? void 0 : page.widgets) && Object.keys(JSON.parse(page.widgets)).map((key) => {
1646
- const widgetStr = JSON.parse(page.widgets)[key];
1647
- const widget = widgetStr ? JSON.parse(widgetStr) : null;
1648
- if (widget === null || widget === void 0 ? void 0 : widget.length) widget.forEach((w) => {
1649
- if (pageId) w.params = {
1650
- entityName: params === null || params === void 0 ? void 0 : params.entityName,
1651
- pbiReportCode: params === null || params === void 0 ? void 0 : params.pbiReportCode,
1652
- queryId: params === null || params === void 0 ? void 0 : params.queryId,
1653
- inquiryTreeId: params === null || params === void 0 ? void 0 : params.InquiryTreeId,
1654
- udpTagId: params === null || params === void 0 ? void 0 : params.udpTagId,
1655
- requiredFieldsMap: params === null || params === void 0 ? void 0 : params.requiredFieldMapping,
1656
- ...w.params
1657
- };
1658
- if (widgetParams) w.params = {
1659
- ...w.params,
1660
- ...widgetParams
1661
- };
1662
- });
1663
- return /* @__PURE__ */ jsx(DndProvider, {
1664
- backend: HTML5Backend,
1665
- children: /* @__PURE__ */ jsx(Page, {
1666
- user,
1667
- gridConfig: JSON.parse(page.gridProperties)[key],
1668
- widgetConfig: widget,
1669
- disableMargin
1670
- })
1671
- }, pageId ? `${key}-${params === null || params === void 0 ? void 0 : params.entityName}` : key);
1672
- }), [
1673
- page,
1674
- user,
1675
- widgetParams,
1676
- disableMargin,
1677
- pageId,
1678
- params
1679
- ]);
1680
- useEffect(() => {
1681
- if (pageId) {
1682
- if (pageInfo) setPage(pageInfo);
1683
- } else if (homePage) setPage(homePage);
1684
- else setPage(pageData);
1685
- setAlertWarnings([]);
1686
- }, [
1687
- pageId,
1688
- pageInfo,
1689
- pageData,
1690
- homePage
1691
- ]);
1692
- useEffect(() => {
1693
- if (page === null || page === void 0 ? void 0 : page.widgets) {
1694
- let warnings = [];
1695
- Object.keys(JSON.parse(page.widgets)).forEach((key) => {
1696
- const widgetStr = JSON.parse(page.widgets)[key];
1697
- const widget = widgetStr ? JSON.parse(widgetStr) : null;
1698
- if (widget === null || widget === void 0 ? void 0 : widget.length) widget.forEach((w) => {
1699
- if (pageId) w.params = {
1700
- entityName: params === null || params === void 0 ? void 0 : params.entityName,
1701
- pbiReportCode: params === null || params === void 0 ? void 0 : params.pbiReportCode,
1702
- queryId: params === null || params === void 0 ? void 0 : params.queryId,
1703
- inquiryTreeId: params === null || params === void 0 ? void 0 : params.InquiryTreeId,
1704
- udpTagId: params === null || params === void 0 ? void 0 : params.udpTagId,
1705
- requiredFieldsMap: params === null || params === void 0 ? void 0 : params.requiredFieldMapping,
1706
- ...w.params
1707
- };
1708
- if (widgetParams) w.params = {
1709
- ...w.params,
1710
- ...widgetParams
1711
- };
1712
- if (fromMenu || (page === null || page === void 0 ? void 0 : page.pageId) === (widgetParams === null || widgetParams === void 0 ? void 0 : widgetParams.pageId)) warnings = getRequiredFieldWarnings(w.requiredParameters, w.params);
1713
- });
1714
- });
1715
- setAlertWarnings(warnings);
1716
- }
1717
- }, [
1718
- page,
1719
- widgetParams,
1720
- pageId,
1721
- params,
1722
- fromMenu,
1723
- getRequiredFieldWarnings
1724
- ]);
1725
- useEffect(() => {
1726
- if (page) setLocationState({ label: t(page === null || page === void 0 ? void 0 : page.name) });
1727
- }, [
1728
- setLocationState,
1729
- t,
1730
- page
1731
- ]);
1732
- if (redirectSlug && !pageData) return /* @__PURE__ */ jsx(Redirect, { to: redirectSlug });
1733
- if (pageInfoLoading || pageLoading) return /* @__PURE__ */ jsx("div", {
1734
- className: classes.loadingContent,
1735
- children: /* @__PURE__ */ jsx(CircularProgress, { size: loadingHeight || 64 })
1736
- });
1737
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [(page === null || page === void 0 ? void 0 : page.showPageName) && /* @__PURE__ */ jsx(Card, {
1738
- variant: "outlined",
1739
- children: /* @__PURE__ */ jsx(PrimaryActionHeader, {
1740
- title: page.name,
1741
- hidePAB: true,
1742
- single: true
1743
- })
1744
- }), /* @__PURE__ */ jsxs("div", {
1745
- className: (page === null || page === void 0 ? void 0 : page.pageTypeId) === 1 ? classes.staticRoot : classes.root,
1746
- children: [(alertWarnings === null || alertWarnings === void 0 ? void 0 : alertWarnings.length) > 0 && alertWarnings.map((warning) => /* @__PURE__ */ jsx(Alert, {
1747
- onClose: () => removeWarning(warning.id),
1748
- severity: "warning",
1749
- children: warning.message || ""
1750
- }, warning.id)), /* @__PURE__ */ jsx(PageContextProvider, { children: pages })]
1751
- })] });
1752
- };
1753
-
1754
- //#endregion
1755
- export { AmbientPopoverMenuItem, FUICardHeaderMenu, FUICard_default, FUIMenuItem_default, FluentCard, FluentCardActions, FluentCardContent, PAHExport, PageContainer, PrimaryActionHeader, ToolBarButton, UdpTabs, WidgetCard, pageContext, useAllTeleporters, useSetLocationState, useTeleporterStore };
1756
- //# sourceMappingURL=PageContainer-SljTiaZr.js.map