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,2277 +0,0 @@
1
- import { __commonJS, __toESM } from "./chunk-Cn1u12Og.js";
2
- import { APP_RIBBON_SPACE, CardinalityTypeEnums, FluentButton, FluentIconButton, LayoutUnit, NodeGroupOutlierEnums, NodeGroupTypeEnums, SeverityTypeEnums, StatusChip, executeQueryInstance, getEllipseColor, toLowerFirstChar, toUpperFirstChar, useAxiosGet, useBuildEnvironment } from "./EnvironmentRibbon-DBJftQWQ.js";
3
- import { getSearchIdentifiers, getSearchObject } from "./SearchUtilities-Bl4U_j-0.js";
4
- import React, { memo, useCallback, useEffect, useMemo, useState } from "react";
5
- import { Button, ButtonBase, CardContent, CardMedia, CircularProgress, Collapse, Paper, Typography, lighten, makeStyles, useTheme } from "@material-ui/core";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
- import { ConfigService } from "udp-react-stencil-component-library";
8
- import clsx from "clsx";
9
- import * as Icons from "@fluentui/react-icons";
10
- import { ArrowUpRightIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, DeleteIcon, EditIcon } from "@fluentui/react-icons";
11
- import PropTypes from "prop-types";
12
- import { cloneDeep, orderBy } from "lodash";
13
- import { useTranslation } from "react-i18next";
14
- import jsonLogic from "json-logic-js";
15
- import { v4 } from "uuid";
16
- import Sewer from "./assets/unityIcons/Sewer.svg";
17
- import WaterDrop from "./assets/unityIcons/WaterDrop.svg";
18
- import { createTeleporter } from "react-teleporter";
19
- import { Alert } from "@material-ui/lab";
20
- import Skeleton$1 from "@material-ui/lab/Skeleton";
21
- import { ResizableBox } from "react-resizable";
22
-
23
- //#region src/utilities/rules/RuleUtilities.js
24
- /**
25
- * Constructs an array of object from the object map.
26
- *
27
- * @param {Object} obj ex: {"a": "customerID", "b": "firstName"}
28
- * @returns an array of object ex. [{"variable": "a", "value": "serviceLocationID"}, {"variable": "b", "value" "firstName"}]
29
- */
30
- const getPropertyMappingList = (obj) => {
31
- const mappings = [];
32
- if (obj) {
33
- const keys = Object.keys(obj);
34
- keys.forEach((key) => {
35
- const mappingObj = {
36
- variable: key,
37
- value: obj[key]
38
- };
39
- mappings.push(mappingObj);
40
- });
41
- }
42
- return mappings;
43
- };
44
- /**
45
- * Constructs a map object where variables are keys and values are the values.
46
- *
47
- * @param {Array<Object>} properties ex. [{"variable": "a", "value": "serviceLocationID"}, {"variable": "b", "value" "firstName"}]
48
- * @returns mapped object ex: {"a": "customerID", "b": "firstName"}
49
- */
50
- const getPropertyMappingObj = (properties) => {
51
- const mapping = {};
52
- if (properties === null || properties === void 0 ? void 0 : properties.length) properties.forEach((property) => {
53
- mapping[property.variable] = property.value;
54
- });
55
- return mapping;
56
- };
57
- /**
58
- * Maps the keys of mapping to the values of data.
59
- *
60
- * @param {Object} mapping ex: {"a": "customerID", "b": "firstName"}
61
- * @param {Object} data ex: {"customerID": 1001, "firstName": "John"}
62
- * @returns flat object ex: {"a": 1001, "b": "John"}
63
- */
64
- const mapRuleData = (mapping, data) => {
65
- const mappedData = {};
66
- if (mapping && mapping.length) {
67
- const keys = Object.keys(mapping);
68
- keys.forEach((key) => {
69
- const dataKey = mapping[key];
70
- if (dataKey) {
71
- const dataValue = data[dataKey];
72
- mappedData[key] = dataValue;
73
- }
74
- });
75
- }
76
- return mappedData;
77
- };
78
- /**
79
- * Maps the mapping values in the mapping object to the variables in the rule.
80
- *
81
- * @param {Object} mapping ex: {"a": "customerID", "b": "firstName"}
82
- * @param {Object} rule ex: {"or": [{"==": [{"var": "a"}, 400]}, {"==": [{"var": "b"}, John]}]}
83
- * @returns jsonLogic object with the correct variable names ex: [{"==": [{"var": "customerID"}, 400]}, {"==": [{"var": "firstName"}, John]}]
84
- */
85
- const mapRule = (mapping = {}, rule = "") => {
86
- const keys = Object.keys(mapping);
87
- let updatedJsonLogic = JSON.stringify(rule);
88
- keys.forEach((key) => {
89
- const substr = JSON.stringify({ var: key });
90
- const newSubstr = JSON.stringify({ var: mapping[key] });
91
- updatedJsonLogic = updatedJsonLogic.replaceAll(substr, newSubstr);
92
- });
93
- try {
94
- return JSON.parse(updatedJsonLogic);
95
- } catch (err) {
96
- console.err("Error with parsing JSON Logic String");
97
- return {};
98
- }
99
- };
100
- /**
101
- * Evaluates the rule with provided data.
102
- *
103
- * @param {Object} rule ex: {"or": [{"==": [{"var": "customerID"}, 400]}, {"==": [{"var": "firstName"}, John]}]}
104
- * @param {Object} data ex: {"customerID": 1001, "firstName": "John"}
105
- * @param {string} objectKey ex: "users"
106
- * @param {boolean} dataLazyLoaded ex: "true"
107
- * @returns the evaluated rule ex: true
108
- */
109
- const evaluateRule = (rule, data, objectKey, dataLazyLoaded) => {
110
- let formattedData = {};
111
- if (objectKey && dataLazyLoaded) formattedData[objectKey] = data[objectKey] ? data[objectKey] : data;
112
- else formattedData = data;
113
- return jsonLogic.apply(rule, formattedData);
114
- };
115
-
116
- //#endregion
117
- //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js
118
- var require_typeof = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js": ((exports, module) => {
119
- function _typeof$2(o) {
120
- "@babel/helpers - typeof";
121
- return module.exports = _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
122
- return typeof o$1;
123
- } : function(o$1) {
124
- return o$1 && "function" == typeof Symbol && o$1.constructor === Symbol && o$1 !== Symbol.prototype ? "symbol" : typeof o$1;
125
- }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof$2(o);
126
- }
127
- module.exports = _typeof$2, module.exports.__esModule = true, module.exports["default"] = module.exports;
128
- }) });
129
-
130
- //#endregion
131
- //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js
132
- var require_toPrimitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js": ((exports, module) => {
133
- var _typeof$1 = require_typeof()["default"];
134
- function toPrimitive$1(t, r) {
135
- if ("object" != _typeof$1(t) || !t) return t;
136
- var e = t[Symbol.toPrimitive];
137
- if (void 0 !== e) {
138
- var i = e.call(t, r || "default");
139
- if ("object" != _typeof$1(i)) return i;
140
- throw new TypeError("@@toPrimitive must return a primitive value.");
141
- }
142
- return ("string" === r ? String : Number)(t);
143
- }
144
- module.exports = toPrimitive$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
145
- }) });
146
-
147
- //#endregion
148
- //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js
149
- var require_toPropertyKey = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js": ((exports, module) => {
150
- var _typeof = require_typeof()["default"];
151
- var toPrimitive = require_toPrimitive();
152
- function toPropertyKey$1(t) {
153
- var i = toPrimitive(t, "string");
154
- return "symbol" == _typeof(i) ? i : i + "";
155
- }
156
- module.exports = toPropertyKey$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
157
- }) });
158
-
159
- //#endregion
160
- //#region ../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js
161
- var require_defineProperty = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.82.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js": ((exports, module) => {
162
- var toPropertyKey = require_toPropertyKey();
163
- function _defineProperty$1(e, r, t) {
164
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
165
- value: t,
166
- enumerable: !0,
167
- configurable: !0,
168
- writable: !0
169
- }) : e[r] = t, e;
170
- }
171
- module.exports = _defineProperty$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
172
- }) });
173
-
174
- //#endregion
175
- //#region src/models/GroupNode.ts
176
- var import_defineProperty = /* @__PURE__ */ __toESM(require_defineProperty(), 1);
177
- var GroupNode = class {
178
- constructor(node) {
179
- (0, import_defineProperty.default)(this, "id", void 0);
180
- (0, import_defineProperty.default)(this, "isGroupNode", void 0);
181
- (0, import_defineProperty.default)(this, "groupType", void 0);
182
- (0, import_defineProperty.default)(this, "children", void 0);
183
- (0, import_defineProperty.default)(this, "isExpanded", void 0);
184
- (0, import_defineProperty.default)(this, "parentId", void 0);
185
- (0, import_defineProperty.default)(this, "parentGroupId", void 0);
186
- (0, import_defineProperty.default)(this, "properties", void 0);
187
- (0, import_defineProperty.default)(this, "isOutlierGroup", void 0);
188
- (0, import_defineProperty.default)(this, "hideEmptyGroups", void 0);
189
- this.id = node.id || v4();
190
- this.isGroupNode = true;
191
- this.hideEmptyGroups = node.hideEmptyGroups || false;
192
- this.groupType = node.groupType || NodeGroupTypeEnums.Static;
193
- this.children = node.children || [];
194
- this.isExpanded = node.isExpanded || false;
195
- this.parentId = node.parentId || null;
196
- this.parentGroupId = node.parentGroupId || null;
197
- this.properties = node.properties ? {
198
- propertyMapping: null,
199
- jsonLogic: null,
200
- icon: {
201
- name: "GroupedListIcon",
202
- type: "",
203
- color: ""
204
- },
205
- ...node.properties
206
- } : {
207
- propertyMapping: null,
208
- jsonLogic: null,
209
- icon: {
210
- name: "GroupedListIcon",
211
- type: "",
212
- color: ""
213
- }
214
- };
215
- this.isOutlierGroup = node.isOutlierGroup || false;
216
- }
217
- };
218
-
219
- //#endregion
220
- //#region src/utilities/tree/TreeUtilities.js
221
- const makeTreeStructure = (treeData, key, parentKey, parentGroupKey = "parentGroupId") => {
222
- if (!treeData) return [];
223
- const keys = [];
224
- treeData.forEach((node) => {
225
- node.children = [];
226
- if (node["isExpanded"] === void 0 && !node.isGroupNode) if (node.properties.defaultDisplay === "collapsed" || node.properties.lazyLoad) node.isExpanded = false;
227
- else node.isExpanded = true;
228
- keys.push(node[key]);
229
- });
230
- const roots = treeData.filter((node) => {
231
- return !((node === null || node === void 0 ? void 0 : node.isGroupNode) ? node[parentGroupKey] : node[parentKey]);
232
- });
233
- const nodes = [];
234
- const existingGroups = [];
235
- roots.forEach((root) => {
236
- nodes.push(root);
237
- });
238
- while (nodes.length > 0) {
239
- const node = nodes.pop();
240
- let children = treeData.filter((data) => data[parentKey] === node[key] || data[parentGroupKey] === node[key]);
241
- children.forEach((child) => {
242
- if (child === null || child === void 0 ? void 0 : child.isGroupNode) {
243
- const existingGroup = existingGroups.find((eg) => eg.id === child.id && eg.parentGroupId === child.parentGroupId);
244
- if (!existingGroup) {
245
- existingGroups.push(child);
246
- node.children.push(child);
247
- nodes.push(child);
248
- }
249
- } else if (node.isGroupNode && child.parentGroupId || !node.isGroupNode && !child.parentGroupId) {
250
- node.children.push(child);
251
- nodes.push(child);
252
- }
253
- });
254
- }
255
- const removeEmptyGroupNodes = (node) => {
256
- var _node$children;
257
- if ((node === null || node === void 0 ? void 0 : node.isGroupNode) && (node === null || node === void 0 ? void 0 : node.hideEmptyGroups) && !(node === null || node === void 0 || (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children.length)) return null;
258
- node.children = node.children.map(removeEmptyGroupNodes).filter((child) => child !== null);
259
- return node;
260
- };
261
- const filteredRoots = roots.map(removeEmptyGroupNodes).filter((root) => root !== null);
262
- if (filteredRoots.length === 1) return filteredRoots[0];
263
- return filteredRoots;
264
- };
265
- const makeTreeStaticGroupStructure = (treeData, key, parentKey, groupType = NodeGroupTypeEnums.Static, hideEmptyGroups) => {
266
- if (!treeData) return [];
267
- const keys = [];
268
- treeData.forEach((node, index) => {
269
- const { id, hideEmptyGroups: hideEmptyGroups$1, children, apiMethodInstanceId, parentGroupId, order, isExpanded,...groupProperties } = node;
270
- treeData[index] = new GroupNode({
271
- id,
272
- groupType,
273
- children,
274
- parentId: parentGroupId,
275
- parentGroupId,
276
- isExpanded,
277
- properties: { ...groupProperties }
278
- });
279
- keys.push(node[key]);
280
- });
281
- const roots = treeData.filter((node) => keys.indexOf(node[parentKey]) === -1);
282
- const nodes = [];
283
- roots.forEach((root) => {
284
- nodes.push(root);
285
- });
286
- while (nodes.length > 0) {
287
- const node = nodes.pop();
288
- let children = treeData.filter((data) => data[parentKey] === node[key]);
289
- children.forEach((child) => {
290
- node.children.push(child);
291
- nodes.push(child);
292
- });
293
- }
294
- if (roots.length === 1) return roots[0];
295
- return roots;
296
- };
297
- const makeDynamicGroupStructures = (treeStructure, results) => {
298
- if (!treeStructure) return [];
299
- const groupStructures = [];
300
- results.forEach((item) => {
301
- processDynamicGroupForCurrentNodeLevel(item, treeStructure, groupStructures, groupStructures);
302
- });
303
- return groupStructures;
304
- };
305
- const processDynamicGroupForCurrentNodeLevel = (item, node, groupStructures, previousFilteredGroups = []) => {
306
- const { property, id } = node;
307
- const label = property ? getLabelFromProperty(item, property) : null;
308
- let filteredGroups = [];
309
- previousFilteredGroups.forEach((group) => {
310
- if (group) {
311
- const foundGroups = findNodesByIdAndLabel(group, id, label);
312
- if (foundGroups.length) filteredGroups = filteredGroups.concat(foundGroups);
313
- }
314
- });
315
- if (filteredGroups.length) {
316
- var _node$children2;
317
- if (node === null || node === void 0 || (_node$children2 = node.children) === null || _node$children2 === void 0 ? void 0 : _node$children2.length) node.children.forEach((child) => processDynamicGroupForCurrentNodeLevel(item, child, groupStructures, filteredGroups));
318
- } else if (label) {
319
- const dynamicGroupTree = makeDynamicGroupTree(node, item);
320
- if (node.parentGroupId) previousFilteredGroups.forEach((filteredGroup) => {
321
- const matchingGroupNode = findNodeById(filteredGroup, node.parentGroupId);
322
- if (matchingGroupNode) {
323
- dynamicGroupTree.parentGroupId = matchingGroupNode.id;
324
- matchingGroupNode.children.push(dynamicGroupTree);
325
- }
326
- });
327
- else groupStructures.push(dynamicGroupTree);
328
- }
329
- };
330
- const makeDynamicGroupTree = (node, item, parentGroupNode) => {
331
- const { id, children, apiMethodInstanceId, parentGroupId, order, property, label, isExpanded,...groupProperties } = node;
332
- const updatedLabel = property ? getLabelFromProperty(item, property) : null;
333
- if (updatedLabel) {
334
- const groupNode = new GroupNode({
335
- id: `${id}`,
336
- groupType: NodeGroupTypeEnums.Dynamic,
337
- children: [],
338
- parentGroupId: (parentGroupNode === null || parentGroupNode === void 0 ? void 0 : parentGroupNode.id) || null,
339
- isExpanded,
340
- properties: {
341
- label: updatedLabel,
342
- ...groupProperties,
343
- propertyKey: property
344
- }
345
- });
346
- if (parentGroupNode) parentGroupNode.children.push(groupNode);
347
- if (children === null || children === void 0 ? void 0 : children.length) children.forEach((child) => makeDynamicGroupTree(child, item, groupNode));
348
- return groupNode;
349
- }
350
- };
351
- const makeDynamicTreeStructure = (treeData, key, parentKey) => {
352
- if (!treeData) return [];
353
- const keys = [];
354
- treeData.forEach((node, index) => {
355
- keys.push(node[key]);
356
- });
357
- const roots = treeData.filter((node) => keys.indexOf(node[parentKey]) === -1);
358
- const nodes = [];
359
- roots.forEach((root) => {
360
- nodes.push(root);
361
- });
362
- while (nodes.length > 0) {
363
- const node = nodes.pop();
364
- let children = treeData.filter((data) => data[parentKey] === node[key]);
365
- children.forEach((child) => {
366
- node.children.push(child);
367
- nodes.push(child);
368
- });
369
- }
370
- if (roots.length === 1) return roots[0];
371
- return roots;
372
- };
373
- const getIconFromName = (name) => {
374
- if (!name) return null;
375
- const substr = name.slice(-4);
376
- if (substr.toLowerCase() !== "icon") {
377
- const updatedName = `${name}Icon`;
378
- return Icons[updatedName] || null;
379
- } else return Icons[name] || null;
380
- };
381
- const findLastNode = (tree) => {
382
- var _tree$children;
383
- let result = null;
384
- if (!(tree === null || tree === void 0 || (_tree$children = tree.children) === null || _tree$children === void 0 ? void 0 : _tree$children.length)) return tree;
385
- else {
386
- if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => result = findLastNode(node));
387
- return result;
388
- }
389
- };
390
- const searchTree = (tree, id) => {
391
- let result = null;
392
- if (tree.id === id) return tree;
393
- else {
394
- if (tree.children) tree.children.some((node) => result = searchTree(node, id));
395
- return result;
396
- }
397
- };
398
- const deleteNode = (treeData, nodeId) => {
399
- const updatedTreeData = [...treeData];
400
- const foundNode = updatedTreeData.find((node) => node.id === nodeId);
401
- const nodeIndex = updatedTreeData.findIndex((node) => node.id === nodeId);
402
- if (!foundNode.parentId || !updatedTreeData.some((node) => node.parentId === nodeId)) {
403
- if (nodeIndex > -1) updatedTreeData.splice(nodeIndex, 1);
404
- const immediateChild = updatedTreeData.find((node) => node.parentId === nodeId);
405
- if (immediateChild) immediateChild.parentId = null;
406
- } else {
407
- foundNode.isDeleted = true;
408
- foundNode.properties = {};
409
- }
410
- return updatedTreeData;
411
- };
412
- const deleteNodeAndChildren = (treeData, nodeId) => {
413
- const updatedTreeData = [...treeData];
414
- const nodeIdsToDelete = [];
415
- nodeIdsToDelete.push(nodeId);
416
- getAllChildrenNodesToDelete(updatedTreeData, nodeId, nodeIdsToDelete);
417
- return updatedTreeData.filter((node) => !nodeIdsToDelete.includes(node.id));
418
- };
419
- const getAllChildrenNodesToDelete = (treeData, nodeId, nodeIdsToDelete) => {
420
- const nodesToDelete = treeData.filter((node) => node.parentId === nodeId);
421
- nodesToDelete.forEach((node) => {
422
- nodeIdsToDelete.push(node.id);
423
- getAllChildrenNodesToDelete(treeData, node.id, nodeIdsToDelete);
424
- });
425
- };
426
- const processCatalogObjectKeysInOrder = (tree, keys) => {
427
- var _tree$children2;
428
- if (!(tree === null || tree === void 0 || (_tree$children2 = tree.children) === null || _tree$children2 === void 0 ? void 0 : _tree$children2.length)) {
429
- var _tree$properties;
430
- keys.push(tree === null || tree === void 0 || (_tree$properties = tree.properties) === null || _tree$properties === void 0 ? void 0 : _tree$properties.catalogObjectKey);
431
- } else if (tree === null || tree === void 0 ? void 0 : tree.children) {
432
- var _tree$properties2;
433
- if (tree === null || tree === void 0 || (_tree$properties2 = tree.properties) === null || _tree$properties2 === void 0 ? void 0 : _tree$properties2.catalogObjectKey) {
434
- var _tree$properties3;
435
- keys.push(tree === null || tree === void 0 || (_tree$properties3 = tree.properties) === null || _tree$properties3 === void 0 ? void 0 : _tree$properties3.catalogObjectKey);
436
- }
437
- tree.children.forEach((node) => processCatalogObjectKeysInOrder(node, keys));
438
- }
439
- };
440
- const processOrderedTreeData = (tree, treeData) => {
441
- var _tree$children3;
442
- if (!(tree === null || tree === void 0 || (_tree$children3 = tree.children) === null || _tree$children3 === void 0 ? void 0 : _tree$children3.length)) treeData.push(tree);
443
- else if (tree === null || tree === void 0 ? void 0 : tree.children) {
444
- treeData.push(tree);
445
- tree.children.forEach((node) => processOrderedTreeData(node, treeData));
446
- }
447
- };
448
- const processObjectToTree = (result, treeData, objectReferenceKeys, treeList, catalogObjects, promotedEntities, wasLazyLoaded) => {
449
- const treeArr = { ...treeData };
450
- processReferences(result, objectReferenceKeys, treeArr, 0, treeList, null, catalogObjects, promotedEntities, wasLazyLoaded);
451
- };
452
- const processReferences = (reference, objectReferenceKeys, treeData, index, treeList, parentId, catalogObjects, promotedEntities, wasLazyLoaded) => {
453
- const newIndex = index + 1;
454
- if (reference) {
455
- let node = parentId ? treeData[newIndex] : treeData[0];
456
- let nodeGroups = [];
457
- if (parentId) {
458
- var _node$properties, _node$properties2;
459
- if ((node === null || node === void 0 || (_node$properties = node.properties) === null || _node$properties === void 0 || (_node$properties = _node$properties.groupConfiguration) === null || _node$properties === void 0 ? void 0 : _node$properties.groupType) === NodeGroupTypeEnums.Static) nodeGroups = constructStaticNodeGroups(node, true);
460
- else if ((node === null || node === void 0 || (_node$properties2 = node.properties) === null || _node$properties2 === void 0 || (_node$properties2 = _node$properties2.groupConfiguration) === null || _node$properties2 === void 0 ? void 0 : _node$properties2.groupType) === NodeGroupTypeEnums.Dynamic) nodeGroups = constructDynamicNodeGroups(reference, node, true);
461
- }
462
- if (Array.isArray(reference) && reference.length) reference.forEach((ref, i) => {
463
- if (node) {
464
- var _nodeCopy$children;
465
- const nodeCopy = cloneDeep(node);
466
- processObjIndex(nodeCopy, ref, i, parentId, catalogObjects, promotedEntities, wasLazyLoaded);
467
- if (nodeGroups.length) {
468
- var _node$properties3, _node$properties5;
469
- if ((node === null || node === void 0 || (_node$properties3 = node.properties) === null || _node$properties3 === void 0 || (_node$properties3 = _node$properties3.groupConfiguration) === null || _node$properties3 === void 0 ? void 0 : _node$properties3.groupType) === NodeGroupTypeEnums.Static) {
470
- var _node$properties4;
471
- const groupedItemIndexes = /* @__PURE__ */ new Set();
472
- let processedItem = {
473
- itemAdded: false,
474
- nodeChildren: []
475
- };
476
- nodeGroups.forEach((nodeGroup) => {
477
- let nodeGroupChildren = [];
478
- processedItem = processItemForStaticNodeGroup(nodeGroup, ref, groupedItemIndexes, nodeCopy, i, /* @__PURE__ */ new Set(), treeList);
479
- nodeGroupChildren = nodeGroupChildren.concat(processedItem.nodeChildren);
480
- mapNodeGroupChildren(nodeGroup, nodeGroupChildren);
481
- nodeGroup.parentGroupId = nodeCopy.parentId;
482
- });
483
- if (!processedItem.itemAdded && (node === null || node === void 0 || (_node$properties4 = node.properties) === null || _node$properties4 === void 0 || (_node$properties4 = _node$properties4.groupConfiguration) === null || _node$properties4 === void 0 ? void 0 : _node$properties4.outlier) === NodeGroupOutlierEnums.Individual) {
484
- const nodeIsHidden = checkNodeIsHidden(nodeCopy, ref, wasLazyLoaded);
485
- !nodeIsHidden && treeList.push(nodeCopy);
486
- }
487
- } else if ((node === null || node === void 0 || (_node$properties5 = node.properties) === null || _node$properties5 === void 0 || (_node$properties5 = _node$properties5.groupConfiguration) === null || _node$properties5 === void 0 ? void 0 : _node$properties5.groupType) === NodeGroupTypeEnums.Dynamic) nodeGroups.forEach((nodeGroup) => {
488
- nodeGroup.parentGroupId = nodeCopy.parentId;
489
- nodeGroup.parentId = nodeCopy.parentId;
490
- processGroupNodesAndAddToTreeList(nodeGroup, treeList, nodeCopy.parentId, ref, wasLazyLoaded);
491
- });
492
- } else {
493
- const nodeIsHidden = checkNodeIsHidden(nodeCopy, ref, wasLazyLoaded);
494
- !nodeIsHidden && treeList.push(nodeCopy);
495
- }
496
- if (nodeCopy === null || nodeCopy === void 0 || (_nodeCopy$children = nodeCopy.children) === null || _nodeCopy$children === void 0 ? void 0 : _nodeCopy$children.length) {
497
- const objectReferenceKeysCopy = [...objectReferenceKeys];
498
- nodeCopy.children.forEach((childNode, i$1) => {
499
- var _childNode$properties;
500
- const catalogObjectKey = childNode === null || childNode === void 0 || (_childNode$properties = childNode.properties) === null || _childNode$properties === void 0 ? void 0 : _childNode$properties.catalogObjectKey;
501
- const nextIndex = objectReferenceKeysCopy.indexOf(catalogObjectKey);
502
- if (!parentId) objectReferenceKeysCopy[nextIndex] = null;
503
- processReferences(ref[catalogObjectKey], objectReferenceKeys, treeData, nextIndex, treeList, nodeCopy.id, catalogObjects, promotedEntities, nodeCopy.properties.lazyLoad);
504
- });
505
- }
506
- }
507
- });
508
- else if (typeof reference === "object" && !Array.isArray(reference)) {
509
- processObjIndex(node, reference, 0, parentId, catalogObjects, promotedEntities, wasLazyLoaded);
510
- if (node) {
511
- var _nodeCopy$children2;
512
- const nodeCopy = cloneDeep(node);
513
- const nodeIsHidden = checkNodeIsHidden(nodeCopy, reference, wasLazyLoaded);
514
- !nodeIsHidden && treeList.push(nodeCopy);
515
- if (nodeCopy === null || nodeCopy === void 0 || (_nodeCopy$children2 = nodeCopy.children) === null || _nodeCopy$children2 === void 0 ? void 0 : _nodeCopy$children2.length) {
516
- const objectReferenceKeysCopy = [...objectReferenceKeys];
517
- nodeCopy.children.forEach((childNode, i) => {
518
- var _childNode$properties2;
519
- const catalogObjectKey = childNode === null || childNode === void 0 || (_childNode$properties2 = childNode.properties) === null || _childNode$properties2 === void 0 ? void 0 : _childNode$properties2.catalogObjectKey;
520
- const nextIndex = parentId ? newIndex : objectReferenceKeysCopy.indexOf(catalogObjectKey);
521
- if (!parentId) objectReferenceKeysCopy[nextIndex] = null;
522
- processReferences(reference[catalogObjectKey], objectReferenceKeys, treeData, nextIndex, treeList, nodeCopy.id, catalogObjects, promotedEntities, nodeCopy.properties.lazyLoad);
523
- });
524
- }
525
- }
526
- }
527
- }
528
- };
529
- const processObjIndex = (node, obj, index, parentId, catalogObjects, promotedEntities, wasLazyLoaded) => {
530
- var _node$properties10;
531
- if (node.properties.conditionalNodeIconExpression) {
532
- var _node$properties6;
533
- const conditionalNodeIcon = evaluateRule(node.properties.conditionalNodeIconExpression, obj, (_node$properties6 = node.properties) === null || _node$properties6 === void 0 ? void 0 : _node$properties6.joiningEntityCatalogObjectKey, wasLazyLoaded);
534
- if (conditionalNodeIcon) {
535
- var _conditionalNodeIcon$;
536
- node.properties["conditionalNodeIconName"] = (conditionalNodeIcon === null || conditionalNodeIcon === void 0 ? void 0 : conditionalNodeIcon.name) || "";
537
- node.properties["conditionalNodeIconColor"] = conditionalNodeIcon === null || conditionalNodeIcon === void 0 || (_conditionalNodeIcon$ = conditionalNodeIcon.iconColor) === null || _conditionalNodeIcon$ === void 0 ? void 0 : _conditionalNodeIcon$.hex;
538
- node.properties["conditionalNodeIconType"] = (conditionalNodeIcon === null || conditionalNodeIcon === void 0 ? void 0 : conditionalNodeIcon.type) || "";
539
- } else {
540
- node.properties["conditionalNodeIconName"] = "";
541
- node.properties["conditionalNodeIconColor"] = "";
542
- node.properties["conditionalNodeIconType"] = "";
543
- }
544
- }
545
- if (node.properties.conditionalNodeAdornmentExpression || node.properties.conditionalIconExpression) {
546
- var _node$properties7, _node$properties8;
547
- const conditionalNodeAdornment = node.properties.conditionalNodeAdornmentExpression ? evaluateRule(node.properties.conditionalNodeAdornmentExpression, obj, (_node$properties7 = node.properties) === null || _node$properties7 === void 0 ? void 0 : _node$properties7.joiningEntityCatalogObjectKey, wasLazyLoaded) : evaluateRule(node.properties.conditionalIconExpression, obj, (_node$properties8 = node.properties) === null || _node$properties8 === void 0 ? void 0 : _node$properties8.joiningEntityCatalogObjectKey, wasLazyLoaded);
548
- if (conditionalNodeAdornment) {
549
- var _conditionalNodeAdorn;
550
- node.properties["conditionalNodeAdornmentName"] = (conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 ? void 0 : conditionalNodeAdornment.name) || "";
551
- node.properties["conditionalNodeAdornmentColor"] = conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 || (_conditionalNodeAdorn = conditionalNodeAdornment.iconColor) === null || _conditionalNodeAdorn === void 0 ? void 0 : _conditionalNodeAdorn.hex;
552
- node.properties["conditionalNodeAdornmentType"] = (conditionalNodeAdornment === null || conditionalNodeAdornment === void 0 ? void 0 : conditionalNodeAdornment.type) || "";
553
- } else {
554
- node.properties["conditionalNodeAdornmentName"] = "";
555
- node.properties["conditionalNodeAdornmentColor"] = "";
556
- node.properties["conditionalNodeAdornmentType"] = "";
557
- }
558
- }
559
- if (node.properties.catalogReturnObject) {
560
- var _node$properties9;
561
- let searchIdentifiers = getSearchIdentifiers(catalogObjects, node.properties.catalogReturnObject);
562
- node.properties["searchIdentifier"] = searchIdentifiers === null || searchIdentifiers === void 0 ? void 0 : searchIdentifiers.join(",");
563
- const associatedTreePrimaryKeyMap = node.properties.associatedTreePrimaryKeyMap;
564
- if (!!associatedTreePrimaryKeyMap) {
565
- searchIdentifiers = Object.keys(associatedTreePrimaryKeyMap);
566
- node.properties["searchIdentifier"] = searchIdentifiers;
567
- }
568
- node.properties["filterElements"] = [];
569
- const searchValues = [];
570
- const joiningEntityCatalogObjectKey = node === null || node === void 0 || (_node$properties9 = node.properties) === null || _node$properties9 === void 0 ? void 0 : _node$properties9.joiningEntityCatalogObjectKey;
571
- searchIdentifiers.forEach((searchIdentifier) => {
572
- var _searchValue;
573
- const searchField = searchIdentifier ? searchIdentifier.charAt(0).toUpperCase() + searchIdentifier.slice(1) : "";
574
- let searchValue = "";
575
- let si = (associatedTreePrimaryKeyMap === null || associatedTreePrimaryKeyMap === void 0 ? void 0 : associatedTreePrimaryKeyMap[searchIdentifier]) ? associatedTreePrimaryKeyMap === null || associatedTreePrimaryKeyMap === void 0 ? void 0 : associatedTreePrimaryKeyMap[searchIdentifier] : searchIdentifier;
576
- if (obj[si]) searchValue = obj[si];
577
- else if (joiningEntityCatalogObjectKey) searchValue = obj[joiningEntityCatalogObjectKey] ? obj[joiningEntityCatalogObjectKey][si] : "";
578
- node.properties["filterElements"].push({
579
- searchField,
580
- searchOperator: "=",
581
- searchValue: (_searchValue = searchValue) !== null && _searchValue !== void 0 ? _searchValue : ""
582
- });
583
- searchValues.push(searchValue);
584
- });
585
- node.properties["searchValue"] = searchValues.toString();
586
- }
587
- node.properties["nodeLabel"] = getDisplayName(node, obj);
588
- node.properties["nodeSubLabel"] = getDisplayDetails(node, obj);
589
- node.properties["headerTitle"] = getHeaderTitle(node, obj);
590
- node.parentId = parentId;
591
- node["entityNodeParentId"] = parentId;
592
- node.id = v4();
593
- node.nodeObj = obj;
594
- if (node === null || node === void 0 || (_node$properties10 = node.properties) === null || _node$properties10 === void 0 ? void 0 : _node$properties10.lazyLoad) node.lazyLoadChildrenArr = getLazyLoadChildrenArr(node, catalogObjects, promotedEntities);
595
- };
596
- const getEntityAssoc = (nodeEntity, node) => {
597
- let entityAssoc = null;
598
- if (nodeEntity) {
599
- var _referenceProperty$ex;
600
- const referenceProperty = nodeEntity.properties.find((property) => {
601
- var _node$properties11;
602
- if ((_node$properties11 = node.properties) === null || _node$properties11 === void 0 ? void 0 : _node$properties11.joiningEntityName) {
603
- var _node$properties12;
604
- return property.reference === ((_node$properties12 = node.properties) === null || _node$properties12 === void 0 ? void 0 : _node$properties12.joiningEntityName);
605
- } else {
606
- var _node$properties13;
607
- return property.reference === ((_node$properties13 = node.properties) === null || _node$properties13 === void 0 ? void 0 : _node$properties13.catalogReturnObject);
608
- }
609
- });
610
- entityAssoc = referenceProperty ? (_referenceProperty$ex = referenceProperty.extendedProperties) === null || _referenceProperty$ex === void 0 ? void 0 : _referenceProperty$ex.childEntityAssoc : null;
611
- }
612
- return entityAssoc;
613
- };
614
- const getLazyLoadChildrenArr = (node, catalogObjects, promotedEntities) => {
615
- var _node$properties14;
616
- const lazyLoadChildrenArr = [];
617
- let defaultSearchIdentifiers = [];
618
- if (node === null || node === void 0 || (_node$properties14 = node.properties) === null || _node$properties14 === void 0 ? void 0 : _node$properties14.catalogReturnObject) defaultSearchIdentifiers = getSearchIdentifiers(catalogObjects, node.properties.catalogReturnObject);
619
- node && node.children && node.children.forEach((childNode) => {
620
- var _childNode$properties3, _childNode$properties4, _childNode$properties5;
621
- const lazyNodeSearchObj = {
622
- apiMethodId: null,
623
- data: null,
624
- parentNodeRefKey: (_childNode$properties3 = childNode.properties) === null || _childNode$properties3 === void 0 ? void 0 : _childNode$properties3.catalogObjectKey,
625
- catalogReturnObject: (_childNode$properties4 = childNode.properties) === null || _childNode$properties4 === void 0 ? void 0 : _childNode$properties4.catalogReturnObject
626
- };
627
- const entityName = (_childNode$properties5 = childNode.properties) === null || _childNode$properties5 === void 0 ? void 0 : _childNode$properties5.catalogReturnObject;
628
- const promotedEntity = promotedEntities === null || promotedEntities === void 0 ? void 0 : promotedEntities.find((pe) => pe.entityName === entityName);
629
- let searchIdentifiers = [];
630
- const filterElements = [];
631
- if (promotedEntity) {
632
- let baseSearch = promotedEntity.unityBaseSearchMethod;
633
- let childBaseSearch = promotedEntity.unityBaseSearchMethod;
634
- const nodeEntity = catalogObjects === null || catalogObjects === void 0 ? void 0 : catalogObjects.find((co) => {
635
- var _node$properties15;
636
- return co.catalogObjectName === ((_node$properties15 = node.properties) === null || _node$properties15 === void 0 ? void 0 : _node$properties15.catalogReturnObject);
637
- });
638
- let isManyToManySearch = false;
639
- let usingJoiningTableForSearch = false;
640
- if (nodeEntity) {
641
- const childEntityAssoc = getEntityAssoc(nodeEntity, childNode);
642
- let joiningEntityName = null;
643
- let promotedEntityForJoiningTable = null;
644
- if (childEntityAssoc.Cardinality === CardinalityTypeEnums.Many_To_Many) {
645
- var _childNode$properties6;
646
- isManyToManySearch = true;
647
- lazyNodeSearchObj["manyToManyKeys"] = [];
648
- joiningEntityName = (_childNode$properties6 = childNode.properties) === null || _childNode$properties6 === void 0 ? void 0 : _childNode$properties6.joiningEntityName;
649
- promotedEntityForJoiningTable = promotedEntities === null || promotedEntities === void 0 ? void 0 : promotedEntities.find((pe) => pe.entityName === joiningEntityName);
650
- if (promotedEntityForJoiningTable === null || promotedEntityForJoiningTable === void 0 ? void 0 : promotedEntityForJoiningTable.unityBaseSearchMethod) {
651
- baseSearch = promotedEntityForJoiningTable.unityBaseSearchMethod;
652
- lazyNodeSearchObj.manyToManyJointEntityApiMethodId = childBaseSearch === null || childBaseSearch === void 0 ? void 0 : childBaseSearch.apiMethodId;
653
- usingJoiningTableForSearch = true;
654
- }
655
- const childNodeEntity = catalogObjects.find((co) => {
656
- var _childNode$properties7;
657
- return co.catalogObjectName === ((_childNode$properties7 = childNode.properties) === null || _childNode$properties7 === void 0 ? void 0 : _childNode$properties7.catalogReturnObject);
658
- });
659
- const entityAssoc = getEntityAssoc(childNodeEntity, childNode);
660
- if (entityAssoc && Object.keys(entityAssoc).length) entityAssoc.Keys.forEach((keyVal) => {
661
- const keyValArr = keyVal.split(",");
662
- const foreignKeyName = keyValArr[0] ? keyValArr[0].trim() : "";
663
- const parentIdentifierName = keyValArr[1] ? keyValArr[1].trim() : "";
664
- const searchValueKey = /^[A-Z]*$/.test(parentIdentifierName) ? parentIdentifierName.toLowerCase() : toLowerFirstChar(parentIdentifierName);
665
- lazyNodeSearchObj["manyToManyKeys"].push({
666
- searchItemIdentifier: usingJoiningTableForSearch ? /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : toLowerFirstChar(foreignKeyName) : searchValueKey,
667
- searchNameKey: foreignKeyName,
668
- searchValueKey
669
- });
670
- });
671
- }
672
- if (childEntityAssoc && Object.keys(childEntityAssoc).length) childEntityAssoc.Keys.forEach((keyVal) => {
673
- const keyValArr = keyVal.split(",");
674
- let searchJoiningEntity = "";
675
- if (!isManyToManySearch && node.nodeObj.hasOwnProperty(node.properties.joiningEntityCatalogObjectKey)) searchJoiningEntity = node.properties.joiningEntityCatalogObjectKey;
676
- const foreignKeyName = keyValArr[0] ? keyValArr[0].trim() : "";
677
- const parentIdentifierName = keyValArr[1] ? keyValArr[1].trim() : "";
678
- let siObj = {
679
- searchNameKey: parentIdentifierName,
680
- searchValueKey: /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : toLowerFirstChar(foreignKeyName),
681
- searchJoiningEntity
682
- };
683
- if (isManyToManySearch && !usingJoiningTableForSearch) siObj = {
684
- searchNameKey: foreignKeyName,
685
- searchValueKey: /^[A-Z]*$/.test(foreignKeyName) ? foreignKeyName.toLowerCase() : toLowerFirstChar(foreignKeyName)
686
- };
687
- if (isManyToManySearch) {
688
- var _childNode$properties8, _childNode$properties9;
689
- if (((_childNode$properties8 = childNode.properties) === null || _childNode$properties8 === void 0 ? void 0 : _childNode$properties8.catalogObjectKey) && ((_childNode$properties9 = childNode.properties) === null || _childNode$properties9 === void 0 ? void 0 : _childNode$properties9.joiningEntityCatalogObjectLeftKey)) {
690
- var _childNode$properties10, _childNode$properties11, _childNode$properties12;
691
- siObj["joiningEntityKeyName"] = toUpperFirstChar(!usingJoiningTableForSearch ? (_childNode$properties10 = childNode.properties) === null || _childNode$properties10 === void 0 ? void 0 : _childNode$properties10.joiningEntityChildKey : (_childNode$properties11 = childNode.properties) === null || _childNode$properties11 === void 0 ? void 0 : _childNode$properties11.catalogObjectKey);
692
- siObj["joiningEntityCatalogObjectLeftKeyName"] = toUpperFirstChar((_childNode$properties12 = childNode.properties) === null || _childNode$properties12 === void 0 ? void 0 : _childNode$properties12.joiningEntityCatalogObjectLeftKey);
693
- }
694
- if (promotedEntityForJoiningTable === null || promotedEntityForJoiningTable === void 0 ? void 0 : promotedEntityForJoiningTable.unityBaseSearchMethod) {
695
- siObj["joiningEntityKeyName"] = null;
696
- siObj["joiningEntityCatalogObjectLeftKeyName"] = null;
697
- }
698
- }
699
- searchIdentifiers.push(siObj);
700
- });
701
- }
702
- if (!searchIdentifiers.length) defaultSearchIdentifiers.forEach((searchIdentifier) => {
703
- var _childNode$properties13, _childNode$properties14;
704
- const siObj = {
705
- searchNameKey: searchIdentifier,
706
- searchValueKey: searchIdentifier
707
- };
708
- if (((_childNode$properties13 = childNode.properties) === null || _childNode$properties13 === void 0 ? void 0 : _childNode$properties13.catalogObjectKey) && ((_childNode$properties14 = childNode.properties) === null || _childNode$properties14 === void 0 ? void 0 : _childNode$properties14.joiningEntityCatalogObjectLeftKey)) {
709
- var _childNode$properties15, _childNode$properties16;
710
- siObj["joiningEntityKeyName"] = toUpperFirstChar((_childNode$properties15 = childNode.properties) === null || _childNode$properties15 === void 0 ? void 0 : _childNode$properties15.catalogObjectKey);
711
- siObj["joiningEntityCatalogObjectLeftKeyName"] = toUpperFirstChar((_childNode$properties16 = childNode.properties) === null || _childNode$properties16 === void 0 ? void 0 : _childNode$properties16.joiningEntityCatalogObjectLeftKey);
712
- }
713
- searchIdentifiers.push(siObj);
714
- });
715
- searchIdentifiers.forEach((si) => {
716
- let searchValue = "";
717
- if (si === null || si === void 0 ? void 0 : si.searchJoiningEntity) searchValue = node.nodeObj[si.searchJoiningEntity][si.searchValueKey];
718
- else if (usingJoiningTableForSearch) {
719
- var _node$properties16, _node$nodeObj;
720
- const joiningEntityCatalogObjectKey = node === null || node === void 0 || (_node$properties16 = node.properties) === null || _node$properties16 === void 0 ? void 0 : _node$properties16.joiningEntityCatalogObjectKey;
721
- const value = node === null || node === void 0 || (_node$nodeObj = node.nodeObj) === null || _node$nodeObj === void 0 ? void 0 : _node$nodeObj[joiningEntityCatalogObjectKey];
722
- searchValue = value ? value[si.searchValueKey] : node.nodeObj[si.searchValueKey];
723
- } else searchValue = node.nodeObj[si.searchValueKey];
724
- let formattedPropertyName = toUpperFirstChar(si.searchNameKey);
725
- if (si["joiningEntityKeyName"] && si["joiningEntityCatalogObjectLeftKeyName"]) formattedPropertyName = `${si["joiningEntityKeyName"]}.${si["joiningEntityCatalogObjectLeftKeyName"]}.${formattedPropertyName}`;
726
- filterElements.push({
727
- searchField: formattedPropertyName,
728
- searchValue,
729
- searchOperator: "="
730
- });
731
- });
732
- lazyNodeSearchObj.data = getSearchObject(filterElements, 1, 50);
733
- lazyNodeSearchObj.apiMethodId = (baseSearch === null || baseSearch === void 0 ? void 0 : baseSearch.apiMethodId) || null;
734
- lazyLoadChildrenArr.push(lazyNodeSearchObj);
735
- } else {
736
- console.log("Error: Promote " + entityName + " entity");
737
- node.errorRetrievingChildren = "Error: Promote " + entityName + " child entity";
738
- }
739
- });
740
- return lazyLoadChildrenArr;
741
- };
742
- const formatTreeMenuItem = (responseObject, treeStructure, catalogObjects, promotedEntities, associatedInquiryTree, wasLazyLoaded) => {
743
- if (!responseObject) return null;
744
- const tree = cloneDeep(treeStructure);
745
- const orderedKeys = [];
746
- const orderedTreeData = [];
747
- const treeArr = [];
748
- processCatalogObjectKeysInOrder(tree, orderedKeys);
749
- processOrderedTreeData(tree, orderedTreeData);
750
- processObjectToTree(responseObject, orderedTreeData, orderedKeys, treeArr, catalogObjects, promotedEntities, wasLazyLoaded);
751
- const displayTree = makeTreeStructure(treeArr, "id", "parentId");
752
- displayTree["associatedInquiryTree"] = associatedInquiryTree;
753
- displayTree["wasLazyLoaded"] = wasLazyLoaded;
754
- return displayTree;
755
- };
756
- const expandAllNodes = (tree) => {
757
- tree.isExpanded = true;
758
- if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => expandAllNodes(node));
759
- };
760
- const collapseAllNodes = (tree) => {
761
- tree.isExpanded = false;
762
- if (tree === null || tree === void 0 ? void 0 : tree.children) tree.children.forEach((node) => collapseAllNodes(node));
763
- };
764
- const findAllParentIds = (menuItems, currentParentNode, allParentIds = []) => {
765
- if (currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId) {
766
- allParentIds.push(currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId);
767
- const newParentNode = searchTree(menuItems, currentParentNode === null || currentParentNode === void 0 ? void 0 : currentParentNode.parentId);
768
- findAllParentIds(menuItems, newParentNode, allParentIds);
769
- }
770
- return allParentIds;
771
- };
772
- const formatTreeLabel = (label, obj) => {
773
- const fields = label === null || label === void 0 ? void 0 : label.split("+");
774
- const keys = fields === null || fields === void 0 ? void 0 : fields.map((field) => field.trim());
775
- if (keys) {
776
- const skippableKeys = [];
777
- const updatedKeys = keys.map((key, index) => {
778
- const matchedKey = key.charAt(0) === "\"";
779
- if (matchedKey) {
780
- skippableKeys.push(index);
781
- key = key.replace(/"/g, "");
782
- }
783
- return key;
784
- });
785
- const values = [];
786
- for (let j = 0; j < keys.length; j++) {
787
- let property = keys[j];
788
- if (property) {
789
- const splitProperties = property.split(".");
790
- if (splitProperties.length > 1) {
791
- let constructedValue = null;
792
- splitProperties.forEach((property$1) => {
793
- const matches = property$1.match(/\[(.*?)\]/);
794
- let objIndex = null;
795
- let arrIndex = null;
796
- if (matches) {
797
- arrIndex = parseInt(matches[1]);
798
- objIndex = matches.index;
799
- }
800
- if (typeof arrIndex === "number" && objIndex) {
801
- const formattedProperty = property$1.substring(0, objIndex);
802
- if (!constructedValue) {
803
- if (obj[formattedProperty]) constructedValue = obj[formattedProperty][arrIndex];
804
- } else if (constructedValue[formattedProperty]) constructedValue = constructedValue[formattedProperty][arrIndex];
805
- } else if (!constructedValue) constructedValue = obj[property$1];
806
- else constructedValue = constructedValue[property$1];
807
- });
808
- if (typeof constructedValue === "boolean" || typeof constructedValue === "number") constructedValue = constructedValue.toString();
809
- values.push(constructedValue);
810
- continue;
811
- }
812
- }
813
- let value = obj[property];
814
- if (typeof value === "boolean" || typeof value === "number") value = value.toString();
815
- values.push(value);
816
- }
817
- let displayName = updatedKeys.join("+");
818
- for (let k = 0; k < updatedKeys.length; k++) if (!skippableKeys.includes(k)) if (values[k]) displayName = displayName.replace(`${updatedKeys[k]}`, values[k]);
819
- else displayName = displayName.replace(`${updatedKeys[k]}`, "");
820
- return displayName.replaceAll("+", " ");
821
- } else return label;
822
- };
823
- const getDisplayName = (node, obj) => {
824
- return formatTreeLabel(node.properties["displayName"], obj);
825
- };
826
- const getDisplayDetails = (node, obj) => {
827
- return formatTreeLabel(node.properties["displayDetails"], obj);
828
- };
829
- const getHeaderTitle = (node, obj) => {
830
- return formatTreeLabel(node.properties["headerName"], obj);
831
- };
832
- const searchForMatchingNode = (tree, nodeObj = {}, searchIdentifiers = []) => {
833
- let result = null;
834
- let match = true;
835
- searchIdentifiers.forEach((searchIdentifier) => {
836
- if ((tree === null || tree === void 0 ? void 0 : tree.nodeObj[searchIdentifier]) !== nodeObj[searchIdentifier]) match = false;
837
- });
838
- if (match && searchIdentifiers.length) return tree;
839
- else {
840
- if (tree.children) tree.children.some((node) => result = searchForMatchingNode(node, nodeObj, searchIdentifiers));
841
- return result;
842
- }
843
- };
844
- const getNodeIdForRightBorder = (expandedNodeIds, node, parentId) => {
845
- if (!expandedNodeIds.includes(node === null || node === void 0 ? void 0 : node.id)) return node.id;
846
- if (!expandedNodeIds.includes(parentId)) {
847
- const foundParentNode = node.children.find((item) => item.id === parentId);
848
- if (foundParentNode) if (expandedNodeIds.includes(foundParentNode === null || foundParentNode === void 0 ? void 0 : foundParentNode.parentId)) return parentId;
849
- else return getNodeIdForRightBorder(expandedNodeIds, foundParentNode, foundParentNode === null || foundParentNode === void 0 ? void 0 : foundParentNode.parentId);
850
- } else return parentId;
851
- };
852
- const findNodeById = (tree, id) => {
853
- let result = null;
854
- if ((tree === null || tree === void 0 ? void 0 : tree.id) === id) return tree;
855
- else {
856
- if (tree.children) tree.children.some((node) => result = findNodeById(node, id));
857
- return result;
858
- }
859
- };
860
- const findNodeByIdAndLabel = (tree, id, label) => {
861
- var _tree$properties4;
862
- let result = null;
863
- if ((tree === null || tree === void 0 ? void 0 : tree.id) === id && (tree === null || tree === void 0 || (_tree$properties4 = tree.properties) === null || _tree$properties4 === void 0 ? void 0 : _tree$properties4.label) === label) return tree;
864
- else {
865
- if (tree.children) tree.children.some((node) => result = findNodeById(node, id, label));
866
- return result;
867
- }
868
- };
869
- const findNodesByIdAndLabel = (tree, id, label) => {
870
- var _tree$properties5;
871
- let results = [];
872
- if ((tree === null || tree === void 0 ? void 0 : tree.id) === id && (tree === null || tree === void 0 || (_tree$properties5 = tree.properties) === null || _tree$properties5 === void 0 ? void 0 : _tree$properties5.label) === label) results.push(tree);
873
- if (tree.children) tree.children.forEach((node) => {
874
- results = results.concat(findNodesByIdAndLabel(node, id, label));
875
- });
876
- return results;
877
- };
878
- const updateNodeForStaticGrouping = (displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item) => {
879
- const updatedDisplayTree = { ...displayTree };
880
- const nodeIsHidden = checkNodeIsHidden(updatedDisplayTree, item, false);
881
- if (!nodeIsHidden) {
882
- updatedDisplayTree.children = displayTree.children ? cloneDeep(displayTree.children) : displayTree.children;
883
- updatedDisplayTree["parentId"] = nodeGroup.id;
884
- updatedDisplayTree["parentGroupId"] = nodeGroup.id;
885
- if (updatedDisplayTree.isGroupNode) nodeGroup.children.push(updatedDisplayTree);
886
- else nodeChildren.push(updatedDisplayTree);
887
- if (treeList) treeList.push(updatedDisplayTree);
888
- scopedGroupItemIndexes.add(index);
889
- groupedItemIndexes.add(index);
890
- }
891
- };
892
- const processItemForStaticNodeGroup = (nodeGroup, item, groupedItemIndexes, displayTree, index, scopedGroupItemIndexes = /* @__PURE__ */ new Set(), treeList, nodeChildren = []) => {
893
- var _nodeGroup$properties, _nodeGroup$properties2;
894
- if ((nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties = nodeGroup.properties) === null || _nodeGroup$properties === void 0 ? void 0 : _nodeGroup$properties.propertyMapping) && (nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties2 = nodeGroup.properties) === null || _nodeGroup$properties2 === void 0 ? void 0 : _nodeGroup$properties2.jsonLogic)) {
895
- var _nodeGroup$properties3, _nodeGroup$properties4, _item$properties;
896
- const rule = mapRule(nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties3 = nodeGroup.properties) === null || _nodeGroup$properties3 === void 0 ? void 0 : _nodeGroup$properties3.propertyMapping, nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$properties4 = nodeGroup.properties) === null || _nodeGroup$properties4 === void 0 ? void 0 : _nodeGroup$properties4.jsonLogic);
897
- if (rule && evaluateRule(rule, item, (_item$properties = item.properties) === null || _item$properties === void 0 ? void 0 : _item$properties.joiningEntityCatalogObjectKey, false)) {
898
- let itemAdded = false;
899
- nodeGroup.children.forEach((childGroup) => {
900
- if (childGroup.isGroupNode) {
901
- const processedItem = processItemForStaticNodeGroup(childGroup, item, groupedItemIndexes, displayTree, index, childGroup.children.length ? /* @__PURE__ */ new Set() : scopedGroupItemIndexes, treeList, nodeChildren) || { itemAdded };
902
- itemAdded = processedItem === null || processedItem === void 0 ? void 0 : processedItem.itemAdded;
903
- }
904
- });
905
- if (!itemAdded) {
906
- updateNodeForStaticGrouping(displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item);
907
- itemAdded = true;
908
- }
909
- }
910
- } else if (nodeGroup.isOutlierGroup && !groupedItemIndexes.has(index)) updateNodeForStaticGrouping(displayTree, nodeGroup, nodeChildren, treeList, scopedGroupItemIndexes, groupedItemIndexes, index, item);
911
- if (treeList && nodeGroup.isGroupNode) {
912
- const existingGroup = treeList.filter((node) => node.isGroupNode).find((eg) => eg.id === nodeGroup.id);
913
- if (!existingGroup) {
914
- const nodeIsHidden = checkNodeIsHidden(nodeGroup, item, false);
915
- !nodeIsHidden && treeList.push(nodeGroup);
916
- }
917
- }
918
- return {
919
- itemAdded: groupedItemIndexes.has(index),
920
- nodeChildren
921
- };
922
- };
923
- const constructStaticNodeGroups = (tree, shouldUseNewId = false) => {
924
- var _tree$properties6, _groupConfiguration$g;
925
- const nodeGroups = [];
926
- const groupConfiguration = tree === null || tree === void 0 || (_tree$properties6 = tree.properties) === null || _tree$properties6 === void 0 ? void 0 : _tree$properties6.groupConfiguration;
927
- const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Static;
928
- const hideEmptyGroups = groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.hideEmptyGroups;
929
- if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g === void 0 ? void 0 : _groupConfiguration$g.length)) {
930
- groupConfiguration.groupings[groupType].forEach((grouping) => {
931
- const orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
932
- const newIdMap = {};
933
- orderedGroups.forEach((group) => {
934
- if (shouldUseNewId) newIdMap[group.id] = v4();
935
- group["children"] = [];
936
- });
937
- if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
938
- if (newIdMap[group.id]) group.id = newIdMap[group.id];
939
- if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
940
- });
941
- if (orderedGroups === null || orderedGroups === void 0 ? void 0 : orderedGroups.length) {
942
- const firstGroup = orderedGroups.find((group) => !group.parentGroupId) || orderedGroups[0];
943
- orderedGroups.shift();
944
- const displayTree = makeTreeStaticGroupStructure(orderedGroups, "id", "parentGroupId", groupType, hideEmptyGroups);
945
- const { id, isExpanded,...firstGroupProperties } = firstGroup;
946
- const groupNode = new GroupNode({
947
- id,
948
- hideEmptyGroups,
949
- groupType,
950
- children: Array.isArray(displayTree) ? displayTree : [displayTree],
951
- isExpanded,
952
- properties: { ...firstGroupProperties }
953
- });
954
- nodeGroups.push(groupNode);
955
- }
956
- });
957
- if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlier) === "group") {
958
- const outlierGroup = new GroupNode({
959
- groupType,
960
- isOutlierGroup: true,
961
- properties: {
962
- label: (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlierGroupLabel) || "Unlabeled Outlier Group",
963
- icon: groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.outlierIcon
964
- }
965
- });
966
- nodeGroups.push(outlierGroup);
967
- }
968
- }
969
- return nodeGroups;
970
- };
971
- const getOrderedDynamicGroups = (tree, shouldUseNewId = false) => {
972
- var _tree$properties7, _groupConfiguration$g2;
973
- const groupConfiguration = tree === null || tree === void 0 || (_tree$properties7 = tree.properties) === null || _tree$properties7 === void 0 ? void 0 : _tree$properties7.groupConfiguration;
974
- const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Dynamic;
975
- let orderedGroups = [];
976
- if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g2 = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g2 === void 0 ? void 0 : _groupConfiguration$g2.length)) groupConfiguration.groupings[groupType].forEach((grouping) => {
977
- orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
978
- const newIdMap = {};
979
- orderedGroups.forEach((group) => {
980
- if (shouldUseNewId) newIdMap[group.id] = v4();
981
- group["children"] = [];
982
- });
983
- if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
984
- if (newIdMap[group.id]) group.id = newIdMap[group.id];
985
- if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
986
- });
987
- });
988
- return orderedGroups;
989
- };
990
- const constructDynamicNodeGroups = (results, tree, shouldUseNewId = false) => {
991
- var _tree$properties8, _groupConfiguration$g3;
992
- let nodeGroups = [];
993
- const groupConfiguration = tree === null || tree === void 0 || (_tree$properties8 = tree.properties) === null || _tree$properties8 === void 0 ? void 0 : _tree$properties8.groupConfiguration;
994
- const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Dynamic;
995
- if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g3 = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g3 === void 0 ? void 0 : _groupConfiguration$g3.length)) groupConfiguration.groupings[groupType].forEach((grouping) => {
996
- const orderedGroups = orderByGroupOrder(grouping === null || grouping === void 0 ? void 0 : grouping.groups);
997
- const newIdMap = {};
998
- orderedGroups.forEach((group) => {
999
- if (shouldUseNewId) newIdMap[group.id] = v4();
1000
- group["children"] = [];
1001
- });
1002
- if (Object.keys(newIdMap).length) orderedGroups.forEach((group) => {
1003
- if (newIdMap[group.id]) group.id = newIdMap[group.id];
1004
- if (newIdMap[group.parentGroupId]) group.parentGroupId = newIdMap[group.parentGroupId];
1005
- });
1006
- if (orderedGroups === null || orderedGroups === void 0 ? void 0 : orderedGroups.length) {
1007
- const isSingleGroup = orderedGroups.length === 1;
1008
- const dynamicTreeStructure = makeDynamicTreeStructure(orderedGroups, "id", "parentGroupId");
1009
- const groupSet = makeDynamicGroupStructures(dynamicTreeStructure, results);
1010
- results.forEach((item, index) => {
1011
- const orderedKeys = [];
1012
- const orderedTreeData = [];
1013
- const treeArr = [];
1014
- const innerGroupList = [];
1015
- processCatalogObjectKeysInOrder(tree, orderedKeys);
1016
- processOrderedTreeData(tree, orderedTreeData);
1017
- processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false, innerGroupList);
1018
- const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1019
- const updatedDisplayTree = cloneDeep(displayTree);
1020
- const nodeIsHidden = checkNodeIsHidden(updatedDisplayTree, item, false);
1021
- !nodeIsHidden && processItemForDynamicNodeGroups(updatedDisplayTree, dynamicTreeStructure, groupSet, groupSet, isSingleGroup);
1022
- });
1023
- groupSet.forEach((group) => updateTreeIds(group, null, v4(), v4()));
1024
- nodeGroups = nodeGroups.concat(groupSet);
1025
- }
1026
- });
1027
- return nodeGroups;
1028
- };
1029
- const getLabelFromProperty = (item, property) => {
1030
- const splitProperties = property.split(".");
1031
- if (splitProperties.length) {
1032
- let constructedValue = null;
1033
- splitProperties.forEach((property$1) => {
1034
- const matches = property$1.match(/\[(.*?)\]/);
1035
- let objIndex = null;
1036
- let arrIndex = null;
1037
- if (matches) {
1038
- arrIndex = parseInt(matches[1]);
1039
- objIndex = matches.index;
1040
- }
1041
- if (typeof arrIndex === "number" && objIndex) {
1042
- const formattedProperty = property$1.substring(0, objIndex);
1043
- if (!constructedValue) {
1044
- if (item[formattedProperty]) constructedValue = item[formattedProperty][arrIndex];
1045
- } else if (constructedValue[formattedProperty]) constructedValue = constructedValue[formattedProperty][arrIndex];
1046
- } else if (!constructedValue) constructedValue = item ? item[property$1] : "";
1047
- else constructedValue = constructedValue[property$1];
1048
- });
1049
- return constructedValue;
1050
- }
1051
- return null;
1052
- };
1053
- const constructBusinessObjectArrFromTree = (node, businessObjects = []) => {
1054
- var _node$children3;
1055
- if (node === null || node === void 0 ? void 0 : node.nodeObj) {
1056
- var _node$properties17, _node$properties18;
1057
- const businessObject = {
1058
- label: "",
1059
- value: "",
1060
- domainObject: ""
1061
- };
1062
- const joiningEntityCatalogObjectKey = (_node$properties17 = node.properties) === null || _node$properties17 === void 0 ? void 0 : _node$properties17.joiningEntityCatalogObjectKey;
1063
- const displayName = (_node$properties18 = node.properties) === null || _node$properties18 === void 0 ? void 0 : _node$properties18.displayName;
1064
- if (joiningEntityCatalogObjectKey) {
1065
- var _node$properties19;
1066
- const jointEntity = node.nodeObj[joiningEntityCatalogObjectKey];
1067
- businessObject.label = formatTreeLabel(displayName, node.nodeObj) || (jointEntity === null || jointEntity === void 0 ? void 0 : jointEntity.businessObjectKey);
1068
- businessObject.value = jointEntity === null || jointEntity === void 0 ? void 0 : jointEntity.businessObjectKey;
1069
- businessObject.domainObject = (_node$properties19 = node.properties) === null || _node$properties19 === void 0 ? void 0 : _node$properties19.catalogReturnObject;
1070
- } else {
1071
- var _node$properties20;
1072
- const entity = node.nodeObj;
1073
- businessObject.label = formatTreeLabel(displayName, node.nodeObj) || (entity === null || entity === void 0 ? void 0 : entity.businessObjectKey);
1074
- businessObject.value = entity === null || entity === void 0 ? void 0 : entity.businessObjectKey;
1075
- businessObject.domainObject = (_node$properties20 = node.properties) === null || _node$properties20 === void 0 ? void 0 : _node$properties20.catalogReturnObject;
1076
- }
1077
- businessObjects.push(businessObject);
1078
- }
1079
- if (node === null || node === void 0 || (_node$children3 = node.children) === null || _node$children3 === void 0 ? void 0 : _node$children3.length) node.children.forEach((childNode) => constructBusinessObjectArrFromTree(childNode, businessObjects));
1080
- return businessObjects;
1081
- };
1082
- const processItemForDynamicNodeGroups = (displayTree, node, groupNodes, previousFilteredGroups = [], isSingleGroup = false) => {
1083
- const { property, id } = node;
1084
- const item = displayTree === null || displayTree === void 0 ? void 0 : displayTree.nodeObj;
1085
- const label = property ? getLabelFromProperty(item, property) : null;
1086
- let filteredGroups = [];
1087
- previousFilteredGroups.forEach((group) => {
1088
- if (group) {
1089
- const foundGroups = findNodesByIdAndLabel(group, id, label);
1090
- if (foundGroups.length) filteredGroups = filteredGroups.concat(foundGroups);
1091
- }
1092
- });
1093
- if (filteredGroups.length) {
1094
- var _node$children4;
1095
- if (node === null || node === void 0 || (_node$children4 = node.children) === null || _node$children4 === void 0 ? void 0 : _node$children4.length) node.children.forEach((child) => processItemForDynamicNodeGroups(displayTree, child, groupNodes, filteredGroups, isSingleGroup));
1096
- else filteredGroups.forEach((filteredGroup) => {
1097
- const matchingGroupNode = findNodeByIdAndLabel(filteredGroup, node.id, label);
1098
- if (matchingGroupNode) {
1099
- displayTree["parentGroupId"] = matchingGroupNode.id;
1100
- matchingGroupNode.children.push(displayTree);
1101
- }
1102
- });
1103
- } else if (isSingleGroup) groupNodes.push(displayTree);
1104
- else previousFilteredGroups.forEach((filteredGroup) => {
1105
- if (filteredGroup) {
1106
- displayTree["parentGroupId"] = filteredGroup.id;
1107
- filteredGroup.children.push(displayTree);
1108
- }
1109
- });
1110
- };
1111
- const orderByGroupOrder = (groups = []) => {
1112
- return orderBy(groups, ["order"], ["asc"]);
1113
- };
1114
- const updateTreeIds = (node, lastEntityNodeId, newId = v4(), newParentId = v4()) => {
1115
- var _node$children5;
1116
- let entityNodeParentId = lastEntityNodeId;
1117
- if (node) {
1118
- node.id = newId;
1119
- if (node.parentId || node.parentGroupId) {
1120
- node.parentId = newParentId;
1121
- node.parentGroupId = newParentId;
1122
- }
1123
- if (!node.isGroupNode && entityNodeParentId) node["entityNodeParentId"] = entityNodeParentId;
1124
- if (!node.isGroupNode) entityNodeParentId = node.id;
1125
- }
1126
- if (node === null || node === void 0 || (_node$children5 = node.children) === null || _node$children5 === void 0 ? void 0 : _node$children5.length) node.children.forEach((child) => updateTreeIds(child, entityNodeParentId, v4(), newId));
1127
- };
1128
- const processGroupNodesAndAddToTreeList = (node, treeList, lastEntityNodeId, item, wasLazyLoaded) => {
1129
- var _node$children6;
1130
- let entityNodeParentId = lastEntityNodeId;
1131
- if (treeList) {
1132
- if (!treeList.find((tree) => tree.id === node.id)) {
1133
- if (!node.isGroupNode && entityNodeParentId) node["entityNodeParentId"] = entityNodeParentId;
1134
- if (!node.isGroupNode) entityNodeParentId = node.id;
1135
- const nodeIsHidden = checkNodeIsHidden(node, item, wasLazyLoaded);
1136
- !nodeIsHidden && treeList.push(node);
1137
- }
1138
- }
1139
- if (node === null || node === void 0 || (_node$children6 = node.children) === null || _node$children6 === void 0 ? void 0 : _node$children6.length) node.children.forEach((child) => processGroupNodesAndAddToTreeList(child, treeList, entityNodeParentId, item, wasLazyLoaded));
1140
- };
1141
- const mapNodeGroupChildren = (nodeGroup, nodeGroupChildren = []) => {
1142
- var _nodeGroup$children;
1143
- nodeGroupChildren.forEach((node) => {
1144
- if (nodeGroup.id === node.parentGroupId) nodeGroup.children.push(node);
1145
- });
1146
- if (nodeGroup === null || nodeGroup === void 0 || (_nodeGroup$children = nodeGroup.children) === null || _nodeGroup$children === void 0 ? void 0 : _nodeGroup$children.length) nodeGroup.children.forEach((childGroup) => {
1147
- if (childGroup.isGroupNode) mapNodeGroupChildren(childGroup, nodeGroupChildren);
1148
- });
1149
- return nodeGroup;
1150
- };
1151
- const checkNodeIsHidden = (node, item, wasLazyLoaded = false) => {
1152
- if (!node || node && !Object.keys(node).length) return true;
1153
- let rule = null;
1154
- if (node.isGroupNode) {
1155
- var _node$properties21;
1156
- if ((_node$properties21 = node.properties) === null || _node$properties21 === void 0 || (_node$properties21 = _node$properties21.hiddenNode) === null || _node$properties21 === void 0 ? void 0 : _node$properties21.enabled) {}
1157
- } else {
1158
- var _node$properties22;
1159
- if ((_node$properties22 = node.properties) === null || _node$properties22 === void 0 || (_node$properties22 = _node$properties22.hiddenNode) === null || _node$properties22 === void 0 ? void 0 : _node$properties22.enabled) {
1160
- var _node$properties23;
1161
- rule = mapRule(node.properties.hiddenNode.propertyMapping, node.properties.hiddenNode.jsonLogic);
1162
- if (rule && evaluateRule(rule, item, (_node$properties23 = node.properties) === null || _node$properties23 === void 0 ? void 0 : _node$properties23.joiningEntityCatalogObjectKey, wasLazyLoaded)) return true;
1163
- }
1164
- }
1165
- return false;
1166
- };
1167
- const constructPreloadedTree = (treeStructure, pageList) => {
1168
- var _tree$properties9, _tree$properties10, _tree$properties11, _tree$properties13, _tree$properties14, _tree$properties15;
1169
- if (!pageList) return null;
1170
- let preloadedList = [];
1171
- const tree = cloneDeep(treeStructure);
1172
- if (((_tree$properties9 = tree.properties) === null || _tree$properties9 === void 0 || (_tree$properties9 = _tree$properties9.groupConfiguration) === null || _tree$properties9 === void 0 ? void 0 : _tree$properties9.enabled) && ((_tree$properties10 = tree.properties) === null || _tree$properties10 === void 0 ? void 0 : _tree$properties10.groupConfiguration.groupType) === NodeGroupTypeEnums.Static && ((_tree$properties11 = tree.properties) === null || _tree$properties11 === void 0 || (_tree$properties11 = _tree$properties11.groupConfiguration) === null || _tree$properties11 === void 0 || (_tree$properties11 = _tree$properties11.groupings) === null || _tree$properties11 === void 0 || (_tree$properties11 = _tree$properties11.static) === null || _tree$properties11 === void 0 ? void 0 : _tree$properties11.length)) {
1173
- var _tree$properties12;
1174
- const topNodeGroups = constructStaticNodeGroups(tree);
1175
- const groupedItemIndexes = /* @__PURE__ */ new Set();
1176
- topNodeGroups.forEach((nodeGroup) => {
1177
- let nodeGroupChildren = [];
1178
- pageList.forEach((item, index) => {
1179
- const orderedKeys = [];
1180
- const orderedTreeData = [];
1181
- const treeArr = [];
1182
- const innerGroupList = [];
1183
- processCatalogObjectKeysInOrder(tree, orderedKeys);
1184
- processOrderedTreeData(tree, orderedTreeData);
1185
- processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false, innerGroupList);
1186
- const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1187
- const processedItem = processItemForStaticNodeGroup(nodeGroup, item, groupedItemIndexes, displayTree, index, /* @__PURE__ */ new Set());
1188
- nodeGroupChildren = nodeGroupChildren.concat((processedItem === null || processedItem === void 0 ? void 0 : processedItem.nodeChildren) || []);
1189
- });
1190
- const updatedNodeGroup = mapNodeGroupChildren(nodeGroup, nodeGroupChildren);
1191
- updatedNodeGroup.children.forEach((child) => {
1192
- updateTreeIds(child, null, v4(), v4());
1193
- });
1194
- preloadedList.push(updatedNodeGroup);
1195
- });
1196
- if (((_tree$properties12 = tree.properties) === null || _tree$properties12 === void 0 || (_tree$properties12 = _tree$properties12.groupConfiguration) === null || _tree$properties12 === void 0 ? void 0 : _tree$properties12.outlier) === NodeGroupOutlierEnums.Individual) pageList.forEach((item, index) => {
1197
- if (!groupedItemIndexes.has(index)) {
1198
- const orderedKeys = [];
1199
- const orderedTreeData = [];
1200
- const treeArr = [];
1201
- processCatalogObjectKeysInOrder(tree, orderedKeys);
1202
- processOrderedTreeData(tree, orderedTreeData);
1203
- processObjectToTree(item, orderedTreeData, orderedKeys, treeArr, null, null, false);
1204
- const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1205
- const nodeIsHidden = checkNodeIsHidden(displayTree, item, false);
1206
- if (!nodeIsHidden) {
1207
- updateTreeIds(displayTree, null, v4(), v4());
1208
- preloadedList.push(displayTree);
1209
- }
1210
- }
1211
- });
1212
- } else if (((_tree$properties13 = tree.properties) === null || _tree$properties13 === void 0 || (_tree$properties13 = _tree$properties13.groupConfiguration) === null || _tree$properties13 === void 0 ? void 0 : _tree$properties13.enabled) && ((_tree$properties14 = tree.properties) === null || _tree$properties14 === void 0 ? void 0 : _tree$properties14.groupConfiguration.groupType) === NodeGroupTypeEnums.Dynamic && ((_tree$properties15 = tree.properties) === null || _tree$properties15 === void 0 || (_tree$properties15 = _tree$properties15.groupConfiguration) === null || _tree$properties15 === void 0 || (_tree$properties15 = _tree$properties15.groupings) === null || _tree$properties15 === void 0 || (_tree$properties15 = _tree$properties15.dynamic) === null || _tree$properties15 === void 0 ? void 0 : _tree$properties15.length)) {
1213
- const nodeGroups = constructDynamicNodeGroups2(pageList, tree);
1214
- preloadedList = preloadedList.concat(nodeGroups);
1215
- } else pageList.forEach((item) => {
1216
- const orderedKeys = [];
1217
- const orderedTreeData = [];
1218
- const treeArr = [];
1219
- processCatalogObjectKeysInOrder(tree, orderedKeys);
1220
- processOrderedTreeData(tree, orderedTreeData);
1221
- processObjectToTree(item, orderedTreeData, orderedKeys, treeArr);
1222
- const displayTree = makeTreeStructure(treeArr, "id", "parentId");
1223
- const nodeIsHidden = checkNodeIsHidden(displayTree, item, false);
1224
- !nodeIsHidden && preloadedList.push(displayTree);
1225
- });
1226
- return preloadedList;
1227
- };
1228
- const CompareGroupByOrder = (a, b) => {
1229
- if (a.order > b.order) return 1;
1230
- if (a.order < b.order) return -1;
1231
- return 0;
1232
- };
1233
- const CompareSiblingNodes = (a, b) => {
1234
- if (a.hasOwnProperty("isGroupNode") && !b.hasOwnProperty("isGroupNode")) return -1;
1235
- if (!a.hasOwnProperty("isGroupNode") && b.hasOwnProperty("isGroupNode")) return 1;
1236
- if (a.hasOwnProperty("isGroupNode") && b.hasOwnProperty("isGroupNode")) {
1237
- var _a$properties, _b$properties, _a$properties2, _b$properties2;
1238
- if (((_a$properties = a.properties) === null || _a$properties === void 0 ? void 0 : _a$properties.order) > ((_b$properties = b.properties) === null || _b$properties === void 0 ? void 0 : _b$properties.order)) return 1;
1239
- if (((_a$properties2 = a.properties) === null || _a$properties2 === void 0 ? void 0 : _a$properties2.order) < ((_b$properties2 = b.properties) === null || _b$properties2 === void 0 ? void 0 : _b$properties2.order)) return -1;
1240
- }
1241
- return 0;
1242
- };
1243
- const GetGroupChildMap = (_map, groupKey) => {
1244
- if (_map[groupKey] === void 0) _map[groupKey] = [];
1245
- return _map[groupKey];
1246
- };
1247
- const AddGroupToChildMap = (_map, groupKey, groupNode) => {
1248
- let childMap = GetGroupChildMap(_map, groupKey);
1249
- childMap.push(groupNode);
1250
- childMap.sort(CompareGroupByOrder);
1251
- };
1252
- const createDynamicGroups2 = (_treeConfig, _groupConfig, _item, _curItem, _pList, _siblings, _parentId) => {
1253
- let _groupCreated = false;
1254
- if (_pList.length > 0) {
1255
- let tmpProp = _pList[0];
1256
- if (_curItem.hasOwnProperty(tmpProp)) {
1257
- let newItem = _curItem[tmpProp];
1258
- if (_pList.length > 1) {
1259
- if (Array.isArray(newItem)) for (let i = 0, numOfItems = newItem.length; i < numOfItems; i++) {
1260
- let aGroupWasCreated = createDynamicGroups2(_treeConfig, _groupConfig, _item, newItem[i], _pList.slice(1), _siblings, _parentId);
1261
- _groupCreated = aGroupWasCreated ? aGroupWasCreated : _groupCreated;
1262
- }
1263
- else if (typeof newItem === "object" && newItem !== null) {
1264
- let aGroupWasCreated = createDynamicGroups2(_treeConfig, _groupConfig, _item, newItem, _pList.slice(1), _siblings, _parentId);
1265
- _groupCreated = aGroupWasCreated ? aGroupWasCreated : _groupCreated;
1266
- }
1267
- } else if (typeof newItem !== "object" && newItem !== null && newItem !== "") {
1268
- let groupName = newItem.toString();
1269
- let groupNode = null;
1270
- for (let siblingIdx = 0, numOfSiblings = _siblings.length; siblingIdx < numOfSiblings; siblingIdx++) {
1271
- let sibling = _siblings[siblingIdx];
1272
- if (sibling.hasOwnProperty("isGroupNode") && sibling.isGroupNode === true) {
1273
- if (sibling.properties.label === groupName) {
1274
- groupNode = sibling;
1275
- break;
1276
- }
1277
- }
1278
- }
1279
- if (groupNode == null) {
1280
- let newGroupNodeId = v4();
1281
- groupNode = new GroupNode({
1282
- id: `${newGroupNodeId}`,
1283
- groupType: NodeGroupTypeEnums.Dynamic,
1284
- children: [],
1285
- parentGroupId: _parentId,
1286
- parentId: _parentId,
1287
- isExpanded: _groupConfig.isExpanded,
1288
- properties: {
1289
- label: groupName,
1290
- propertyIsCustom: _groupConfig.propertyIsCustom,
1291
- propertyKey: _groupConfig.property,
1292
- order: _groupConfig.order
1293
- }
1294
- });
1295
- _siblings.push(groupNode);
1296
- }
1297
- _groupCreated = true;
1298
- let subGroupWasCreated = false;
1299
- for (let subGroupIdx = 0, numOfSubGroups = _groupConfig.children.length; subGroupIdx < numOfSubGroups; subGroupIdx++) {
1300
- let subGroupConfig = _groupConfig.children[subGroupIdx];
1301
- let subGroupPropList = subGroupConfig.property ? subGroupConfig.property.split(".") : [];
1302
- let subGroupCreated = createDynamicGroups2(_treeConfig, subGroupConfig, _item, _item, subGroupPropList, groupNode.children, groupNode.id);
1303
- subGroupWasCreated = subGroupCreated ? subGroupCreated : subGroupWasCreated;
1304
- }
1305
- if (!subGroupWasCreated) {
1306
- let tmpNode = cloneDeep(_treeConfig);
1307
- processObjIndex(tmpNode, _item, null, groupNode.id, null, null, false);
1308
- groupNode.children.push(tmpNode);
1309
- let newChildNodes = [];
1310
- for (let childNodeIdx = 0, numOfChildNodes = tmpNode.children.length; childNodeIdx < numOfChildNodes; childNodeIdx++) {
1311
- let childConfigNode = tmpNode.children[childNodeIdx];
1312
- let propToGetRecords = childConfigNode.properties.catalogObjectKey;
1313
- if (propToGetRecords && propToGetRecords != null && _item.hasOwnProperty(propToGetRecords)) {
1314
- let newResultSet = _item[propToGetRecords];
1315
- if (newResultSet && newResultSet != null) if (Array.isArray(newResultSet)) newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1316
- else {
1317
- let tmpNewResultSet = [];
1318
- tmpNewResultSet.push(newResultSet);
1319
- newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1320
- }
1321
- }
1322
- }
1323
- tmpNode.children = newChildNodes;
1324
- }
1325
- groupNode.children.sort(CompareSiblingNodes);
1326
- }
1327
- }
1328
- }
1329
- return _groupCreated;
1330
- };
1331
- const constructDynamicGroupConfigTrees2 = (configNode) => {
1332
- var _configNode$propertie, _groupConfiguration$g4;
1333
- let topLevelConfigGroupNodes = [];
1334
- const groupConfiguration = configNode === null || configNode === void 0 || (_configNode$propertie = configNode.properties) === null || _configNode$propertie === void 0 ? void 0 : _configNode$propertie.groupConfiguration;
1335
- const groupType = (groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.groupType) || NodeGroupTypeEnums.Dynamic;
1336
- if ((groupConfiguration === null || groupConfiguration === void 0 ? void 0 : groupConfiguration.enabled) && (groupConfiguration === null || groupConfiguration === void 0 || (_groupConfiguration$g4 = groupConfiguration.groupings[groupType]) === null || _groupConfiguration$g4 === void 0 ? void 0 : _groupConfiguration$g4.length)) {
1337
- let dynamicGroupings = groupConfiguration.groupings[groupType];
1338
- for (let groupingIdx = 0, numOfGroupings = dynamicGroupings.length; groupingIdx < numOfGroupings; groupingIdx++) {
1339
- let grouping = dynamicGroupings[groupingIdx];
1340
- if (grouping.groups === void 0 || grouping.groups === null) continue;
1341
- let groupChildMap = {};
1342
- for (let groupIdx = 0, numOfGroups = grouping.groups.length; groupIdx < numOfGroups; groupIdx++) {
1343
- let group = grouping.groups[groupIdx];
1344
- group["children"] = GetGroupChildMap(groupChildMap, group.id);
1345
- if (group.parentGroupId === void 0 || group.parentGroupId === null) topLevelConfigGroupNodes.push(group);
1346
- else AddGroupToChildMap(groupChildMap, group.parentGroupId, group);
1347
- }
1348
- }
1349
- }
1350
- for (let configIdx = 0, numOfChildConfigNodes = configNode.children.length; configIdx < numOfChildConfigNodes; configIdx++) {
1351
- let childConfigNode = configNode.children[configIdx];
1352
- constructDynamicGroupConfigTrees2(childConfigNode);
1353
- }
1354
- configNode.groupConfigTrees = topLevelConfigGroupNodes;
1355
- };
1356
- const constructDynamicNodeGroups2 = (results, configNode, parentId = null) => {
1357
- let levelNodes = [];
1358
- if (!configNode.groupConfigTrees) constructDynamicGroupConfigTrees2(configNode);
1359
- for (let rIdx = 0, numOfResults = results.length; rIdx < numOfResults; rIdx++) {
1360
- let item = results[rIdx];
1361
- let groupCreated = false;
1362
- for (let ctlIdx = 0, numOfGroupConfigTrees = configNode.groupConfigTrees.length; ctlIdx < numOfGroupConfigTrees; ctlIdx++) {
1363
- let groupConfigNode = configNode.groupConfigTrees[ctlIdx];
1364
- let gPropList = groupConfigNode.property ? groupConfigNode.property.split(".") : [];
1365
- let aGroupWasCreated = createDynamicGroups2(configNode, groupConfigNode, item, item, gPropList, levelNodes, parentId);
1366
- groupCreated = aGroupWasCreated ? aGroupWasCreated : groupCreated;
1367
- }
1368
- if (!groupCreated) {
1369
- let tmpNode = cloneDeep(configNode);
1370
- processObjIndex(tmpNode, item, null, parentId, null, null, false);
1371
- levelNodes.push(tmpNode);
1372
- let newChildNodes = [];
1373
- for (let childNodeIdx = 0, numOfChildNodes = tmpNode.children.length; childNodeIdx < numOfChildNodes; childNodeIdx++) {
1374
- let childConfigNode = tmpNode.children[childNodeIdx];
1375
- let propToGetRecords = childConfigNode.properties.catalogObjectKey;
1376
- if (propToGetRecords && propToGetRecords != null && item.hasOwnProperty(propToGetRecords)) {
1377
- let newResultSet = item[propToGetRecords];
1378
- if (newResultSet && newResultSet != null) if (Array.isArray(newResultSet)) newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1379
- else {
1380
- let tmpNewResultSet = [];
1381
- tmpNewResultSet.push(newResultSet);
1382
- newChildNodes.push(...constructDynamicNodeGroups2(newResultSet, childConfigNode, tmpNode.id));
1383
- }
1384
- }
1385
- }
1386
- tmpNode.children = newChildNodes;
1387
- }
1388
- }
1389
- levelNodes.sort(CompareSiblingNodes);
1390
- return levelNodes;
1391
- };
1392
- const transformMenuPageTree = (node) => {
1393
- var _node$menuItemInstanc, _node$menuItemInstanc2;
1394
- if (!(node === null || node === void 0 || (_node$menuItemInstanc = node.menuItemInstance) === null || _node$menuItemInstanc === void 0 ? void 0 : _node$menuItemInstanc.isActive)) return null;
1395
- const parameters = ((_node$menuItemInstanc2 = node.menuItemInstance) === null || _node$menuItemInstanc2 === void 0 ? void 0 : _node$menuItemInstanc2.parameters) && JSON.parse(node.menuItemInstance.parameters);
1396
- const label = node.title || "";
1397
- const expanded = (parameters === null || parameters === void 0 ? void 0 : parameters.defaultDisplay) === "expanded";
1398
- const updatedNode = {
1399
- id: node.menuStructureId,
1400
- parentId: node.parentId,
1401
- isExpanded: expanded,
1402
- properties: {
1403
- defaultIcon: {
1404
- type: "",
1405
- name: parameters.FluentIcon,
1406
- color: ""
1407
- },
1408
- nodeLabel: label,
1409
- nodeSubLabel: "",
1410
- page: {
1411
- id: parameters.PageId,
1412
- entity: { entityName: parameters.entityName },
1413
- pbiReportCode: parameters.pbiReportCode,
1414
- udpTagId: parameters.udpTagId,
1415
- queryId: parameters.queryId,
1416
- inquiryTreeId: parameters === null || parameters === void 0 ? void 0 : parameters.InquiryTreeId,
1417
- requiredFieldMapping: parameters === null || parameters === void 0 ? void 0 : parameters.requiredFieldMapping
1418
- },
1419
- aggregateThresholdId: parameters.aggregateThresholdId || ""
1420
- },
1421
- children: []
1422
- };
1423
- for (const child of node.menuItemInstanceStructures) {
1424
- const updatedChild = transformMenuPageTree(child);
1425
- if (updatedChild) updatedNode.children.push(updatedChild);
1426
- }
1427
- return updatedNode;
1428
- };
1429
- const mapNodeObjValuesToSearchParameters = (nodeObj, aggregateThresholdParamMappings) => {
1430
- if (!aggregateThresholdParamMappings || !nodeObj) return {};
1431
- const mappings = { ...aggregateThresholdParamMappings };
1432
- Object.keys(mappings).forEach((key) => {
1433
- const nodeObjKey = mappings[key];
1434
- if (nodeObjKey) {
1435
- const nodeObjValue = nodeObj[nodeObjKey];
1436
- mappings[key] = nodeObjValue || "";
1437
- }
1438
- });
1439
- return mappings;
1440
- };
1441
- const getSearchValueString = (nodeObj, searchIdentifier) => {
1442
- const searchIdentifiers = searchIdentifier.split(",");
1443
- const searchValues = [];
1444
- searchIdentifiers.forEach((searchIdentifier$1) => {
1445
- searchValues.push(nodeObj[searchIdentifier$1]);
1446
- });
1447
- return searchValues.toString();
1448
- };
1449
-
1450
- //#endregion
1451
- //#region src/utilities/iconLibrary/UnityIconLibrary.jsx
1452
- const unityIcons = [{
1453
- id: "WaterDropIcon",
1454
- label: "Water Drop",
1455
- icon: /* @__PURE__ */ jsx(WaterDrop, {}),
1456
- type: "unity"
1457
- }, {
1458
- id: "SewerIcon",
1459
- label: "Sewer",
1460
- icon: /* @__PURE__ */ jsx(Sewer, {}),
1461
- type: "unity"
1462
- }];
1463
- const getUnityIconFromName = (name) => {
1464
- const foundIcon = unityIcons.find((icon) => icon.id === name);
1465
- return (foundIcon === null || foundIcon === void 0 ? void 0 : foundIcon.icon) || null;
1466
- };
1467
-
1468
- //#endregion
1469
- //#region src/shell/ui/SidebarCollapseButton.jsx
1470
- const useStyles$6 = makeStyles((theme) => {
1471
- var _theme$transitions, _theme$transitions2, _theme$transitions3, _theme$transitions4, _theme$transitions5, _theme$transitions6;
1472
- return {
1473
- root: {
1474
- display: "flex",
1475
- justifyContent: "flex-start",
1476
- height: 48,
1477
- width: "100%",
1478
- paddingLeft: 0
1479
- },
1480
- iconButton: {
1481
- width: 48,
1482
- height: 48,
1483
- marginLeft: 16 - 24 / 2
1484
- },
1485
- expanded: {},
1486
- icon: {
1487
- width: 14,
1488
- height: 14,
1489
- margin: 8 / 2,
1490
- transition: theme === null || theme === void 0 || (_theme$transitions = theme.transitions) === null || _theme$transitions === void 0 ? void 0 : _theme$transitions.create("transform", {
1491
- easing: theme === null || theme === void 0 || (_theme$transitions2 = theme.transitions) === null || _theme$transitions2 === void 0 || (_theme$transitions2 = _theme$transitions2.easing) === null || _theme$transitions2 === void 0 ? void 0 : _theme$transitions2.sharp,
1492
- duration: theme === null || theme === void 0 || (_theme$transitions3 = theme.transitions) === null || _theme$transitions3 === void 0 || (_theme$transitions3 = _theme$transitions3.duration) === null || _theme$transitions3 === void 0 ? void 0 : _theme$transitions3.shortest
1493
- }),
1494
- "$expanded &": { transform: "scaleX(-1)" }
1495
- },
1496
- switch: {
1497
- margin: 8 / 2,
1498
- transition: theme === null || theme === void 0 || (_theme$transitions4 = theme.transitions) === null || _theme$transitions4 === void 0 ? void 0 : _theme$transitions4.create("transform", {
1499
- easing: theme === null || theme === void 0 || (_theme$transitions5 = theme.transitions) === null || _theme$transitions5 === void 0 || (_theme$transitions5 = _theme$transitions5.easing) === null || _theme$transitions5 === void 0 ? void 0 : _theme$transitions5.sharp,
1500
- duration: theme === null || theme === void 0 || (_theme$transitions6 = theme.transitions) === null || _theme$transitions6 === void 0 || (_theme$transitions6 = _theme$transitions6.duration) === null || _theme$transitions6 === void 0 ? void 0 : _theme$transitions6.shortest
1501
- }),
1502
- "$expanded &": { transform: "scaleX(-1)" }
1503
- }
1504
- };
1505
- }, { name: "SidebarCollapseButton" });
1506
- /**
1507
- * Custom styled button used for expanding/collapsing sidebars
1508
- */
1509
- const SidebarCollapseButton = (props) => {
1510
- const classes = useStyles$6(props);
1511
- const { expanded, className, id, udprecordid,...other } = props;
1512
- const { t } = useTranslation();
1513
- return /* @__PURE__ */ jsx("div", {
1514
- ...other,
1515
- className: clsx(className, classes.root, { [classes.expanded]: expanded }),
1516
- children: /* @__PURE__ */ jsx(FluentIconButton, {
1517
- id,
1518
- udprecordid,
1519
- color: "inherit",
1520
- className: clsx(classes.iconButton, classes.switch),
1521
- "aria-label": expanded ? t("mainMenuAria.collapseNavigation") : t("mainMenuAria.expandNavigation"),
1522
- icon: ChevronRightIcon
1523
- })
1524
- });
1525
- };
1526
-
1527
- //#endregion
1528
- //#region src/UI/inputs/buttons/AmbientCardButton.jsx
1529
- const useStyles$5 = makeStyles((theme) => ({ root: {
1530
- borderRadius: 0,
1531
- padding: 8
1532
- } }));
1533
- const AmbientCardButton = (props) => {
1534
- const classes = useStyles$5(props);
1535
- const { editOption, launchOption, deleteOption, children,...otherProps } = props;
1536
- return /* @__PURE__ */ jsxs(Button, {
1537
- classes: { root: classes.root },
1538
- variant: "outlined",
1539
- disableElevation: true,
1540
- color: "primary",
1541
- ...otherProps,
1542
- children: [
1543
- editOption && /* @__PURE__ */ jsx(EditIcon, {}),
1544
- launchOption && /* @__PURE__ */ jsx(ArrowUpRightIcon, {}),
1545
- deleteOption && /* @__PURE__ */ jsx(DeleteIcon, {}),
1546
- children
1547
- ]
1548
- });
1549
- };
1550
- AmbientCardButton.propTypes = {
1551
- editOption: PropTypes.bool,
1552
- launchOption: PropTypes.bool,
1553
- deleteOption: PropTypes.bool,
1554
- children: PropTypes.string
1555
- };
1556
-
1557
- //#endregion
1558
- //#region src/UI/components/feedback/Adornment.jsx
1559
- const useStyles$4 = makeStyles((theme) => ({ root: (props) => ({
1560
- width: theme.spacing(.5),
1561
- height: "100%",
1562
- background: theme.palette[props.color].main
1563
- }) }));
1564
- const Adornment = (props) => {
1565
- const classes = useStyles$4(props);
1566
- return /* @__PURE__ */ jsx("div", { className: classes.root });
1567
- };
1568
- Adornment.propTypes = { color: PropTypes.string };
1569
-
1570
- //#endregion
1571
- //#region src/UI/surfaces/cards/AmbientCard.jsx
1572
- const useStyles$3 = makeStyles((theme) => ({
1573
- root: {},
1574
- paper: {
1575
- width: "100%",
1576
- position: "relative",
1577
- display: "flex",
1578
- flexDirection: "column",
1579
- height: (props) => {
1580
- var _props$cardHeight;
1581
- return (_props$cardHeight = props === null || props === void 0 ? void 0 : props.cardHeight) !== null && _props$cardHeight !== void 0 ? _props$cardHeight : "";
1582
- }
1583
- },
1584
- adornment: {
1585
- top: 0,
1586
- left: 0,
1587
- height: "100%",
1588
- position: "absolute"
1589
- },
1590
- launchButtons: {
1591
- padding: theme.spacing(0, 2, 2, 2),
1592
- display: "flex",
1593
- justifyContent: "flex-end",
1594
- bottom: (props) => props.adjustBaseline ? props.adjustBaseline : 16,
1595
- right: theme.spacing(2),
1596
- gridGap: theme.spacing(1)
1597
- },
1598
- moreButton: {
1599
- marginTop: theme.spacing(1),
1600
- display: "flex",
1601
- justifyContent: "center",
1602
- backgroundColor: lighten(theme.palette.secondary.main, .9),
1603
- padding: theme.spacing(1)
1604
- },
1605
- styleWidth: {
1606
- width: (props) => !(props === null || props === void 0 ? void 0 : props.fullWidth) ? "75%" : "100%",
1607
- height: "100%"
1608
- },
1609
- media: { height: (props) => props.mediaHeight || 120 },
1610
- cardContent: {
1611
- flexGrow: 1,
1612
- padding: (props) => props.removePadding && 0,
1613
- "&:last-child": { paddingBottom: (props) => props.lastChildBottomPadding ? props.lastChildBottomPadding : theme.spacing(2) },
1614
- paddingTop: 0,
1615
- height: (props) => props.cardContentHeight ? props.cardContentHeight : ""
1616
- },
1617
- titleWrapper: {
1618
- display: "flex",
1619
- backgroundColor: (props) => props.headerColor && getEllipseColor(theme, props.headerColor, "light")
1620
- },
1621
- title: { color: (props) => props.headerColor && theme.palette.getContrastText(getEllipseColor(theme, props.headerColor, "light")) },
1622
- loading: {
1623
- position: "absolute",
1624
- top: 0,
1625
- left: 0
1626
- },
1627
- expandMessage: { display: "flex" },
1628
- cardRoot: { "&:last-child": { paddingBottom: theme.spacing(2) } },
1629
- visualization: {
1630
- display: "flex",
1631
- alignItems: "flex-end",
1632
- width: "100%",
1633
- height: 300
1634
- },
1635
- titlesWrapper: {
1636
- display: "flex",
1637
- flexDirection: "column",
1638
- flex: 1,
1639
- lineHeight: (props) => props.globalExpanded && "125%"
1640
- },
1641
- collapseChildren: {
1642
- flexGrow: 1,
1643
- "& .MuiCollapse-wrapper": { height: "100%" },
1644
- "& .MuiCollapse-wrapperInner": { height: "100%" },
1645
- height: (props) => props.cardContentHeight ? props.cardContentHeight : ""
1646
- }
1647
- }));
1648
- const AmbientCard = (props) => {
1649
- const classes = useStyles$3(props);
1650
- const [expanded, setExpanded] = useState(false);
1651
- const { adornment = "secondary", ariaLabel, baseLoading, cardHeight, children, collapseChildrenWhenExpanded, customAdornment = " ", deleteEvent, deleteOption, editEvent, editOption, extendedContent, extendedList, fullWidth, globalToggle, header, image, imageTitle, label, large, launchEvent, launchOption, loading, mediaHeight, more, moreMessage, moreButton, moreButtonExpanded, noAdornment = false, overrideStatusSuccess, overrideStatusError, overrideStatusWarning, overrideStatusInfo, removeTopLayoutUnit, status, subCard, title, toggleGlobalExpanded = true, visualization, subtitle,...otherProps } = props;
1652
- const [globalExpanded, setGlobalExpanded] = useState(toggleGlobalExpanded);
1653
- return !baseLoading && /* @__PURE__ */ jsxs(Paper, {
1654
- elevation: 0,
1655
- className: classes.paper,
1656
- children: [
1657
- !noAdornment && /* @__PURE__ */ jsx("div", {
1658
- className: classes.adornment,
1659
- children: customAdornment ? customAdornment : /* @__PURE__ */ jsx(Adornment, { color: adornment })
1660
- }),
1661
- title && /* @__PURE__ */ jsxs(CardContent, {
1662
- className: classes.titleWrapper,
1663
- classes: { root: classes.cardRoot },
1664
- children: [
1665
- /* @__PURE__ */ jsxs("div", {
1666
- className: classes.titlesWrapper,
1667
- children: [/* @__PURE__ */ jsx(Typography, {
1668
- className: classes.title,
1669
- component: "h2",
1670
- variant: subCard ? "subtitle2" : "h6",
1671
- children: title
1672
- }), subtitle && /* @__PURE__ */ jsx(Typography, {
1673
- variant: "body1",
1674
- className: classes.title,
1675
- children: subtitle
1676
- })]
1677
- }),
1678
- status && /* @__PURE__ */ jsx(StatusChip, {
1679
- status,
1680
- label,
1681
- success: overrideStatusSuccess,
1682
- error: overrideStatusError,
1683
- warning: overrideStatusWarning,
1684
- info: overrideStatusInfo
1685
- }),
1686
- globalToggle && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FluentIconButton, {
1687
- onClick: () => setGlobalExpanded(!globalExpanded),
1688
- icon: globalExpanded ? ChevronUpIcon : ChevronDownIcon,
1689
- className: classes.icon,
1690
- id: "udpRecord-AmbientCard-Toggle-" + (globalExpanded ? "Up" : "Down"),
1691
- udprecordid: "udpRecord-AmbientCard-Toggle-" + (globalExpanded ? "Up" : "Down")
1692
- }) })
1693
- ]
1694
- }),
1695
- image && /* @__PURE__ */ jsx(CardMedia, {
1696
- className: classes.media,
1697
- image,
1698
- title: imageTitle
1699
- }),
1700
- globalExpanded && /* @__PURE__ */ jsxs(CardContent, {
1701
- classes: { root: classes.cardContent },
1702
- children: [
1703
- !image && !header && !removeTopLayoutUnit && /* @__PURE__ */ jsx(LayoutUnit, { unit: large ? "md" : "xxs" }),
1704
- image && /* @__PURE__ */ jsx(LayoutUnit, { unit: "xs" }),
1705
- /* @__PURE__ */ jsx(Collapse, {
1706
- in: !collapseChildrenWhenExpanded || !expanded,
1707
- timeout: "auto",
1708
- className: classes.collapseChildren,
1709
- children: /* @__PURE__ */ jsx("div", {
1710
- className: classes.styleWidth,
1711
- children
1712
- })
1713
- }),
1714
- extendedList && /* @__PURE__ */ jsx(Collapse, {
1715
- in: expanded,
1716
- timeout: "auto",
1717
- children: /* @__PURE__ */ jsx("div", { children: extendedList })
1718
- }),
1719
- more && /* @__PURE__ */ jsx("div", {
1720
- className: classes.moreButton,
1721
- children: /* @__PURE__ */ jsxs("div", {
1722
- className: classes.expandMessage,
1723
- children: [/* @__PURE__ */ jsx(Typography, {
1724
- style: {
1725
- marginTop: 4,
1726
- marginRight: 16
1727
- },
1728
- variant: "subtitle2",
1729
- children: !expanded && moreMessage
1730
- }), /* @__PURE__ */ jsx(FluentButton, {
1731
- onClick: () => setExpanded(!expanded),
1732
- color: "secondary",
1733
- variant: "outlined",
1734
- children: expanded ? moreButtonExpanded : moreButton
1735
- })]
1736
- })
1737
- })
1738
- ]
1739
- }),
1740
- visualization && /* @__PURE__ */ jsx("div", {
1741
- className: classes.visualization,
1742
- children: visualization
1743
- }),
1744
- !globalToggle && (editOption || launchOption || deleteOption) && /* @__PURE__ */ jsxs("div", {
1745
- className: classes.launchButtons,
1746
- children: [
1747
- editOption && /* @__PURE__ */ jsx(AmbientCardButton, {
1748
- "aria-label": ariaLabel,
1749
- editOption: true,
1750
- ...otherProps,
1751
- onClick: editEvent,
1752
- id: "udpRecord-AmbientCard-edit",
1753
- udprecordid: "udpRecord-AmbientCard-edit"
1754
- }),
1755
- launchOption && /* @__PURE__ */ jsx(AmbientCardButton, {
1756
- "aria-label": ariaLabel,
1757
- launchOption: true,
1758
- ...otherProps,
1759
- onClick: launchEvent,
1760
- id: "udpRecord-AmbientCard-launch",
1761
- udprecordid: "udpRecord-AmbientCard-launch"
1762
- }),
1763
- deleteOption && /* @__PURE__ */ jsx(AmbientCardButton, {
1764
- "aria-label": ariaLabel,
1765
- deleteOption: true,
1766
- ...otherProps,
1767
- onClick: deleteEvent,
1768
- id: "udpRecord-AmbientCard-delete",
1769
- udprecordid: "udpRecord-AmbientCard-delete"
1770
- })
1771
- ]
1772
- })
1773
- ]
1774
- });
1775
- };
1776
-
1777
- //#endregion
1778
- //#region src/UI/feedback/NodeLoader.jsx
1779
- const useStyles$2 = makeStyles((theme) => ({
1780
- root: {},
1781
- nodeWrapper: { display: "flex" }
1782
- }));
1783
- const NodeLoader = ({ loading, nodesRequested = [1] }) => {
1784
- const classes = useStyles$2();
1785
- const singleNode = [
1786
- 1,
1787
- 2,
1788
- 3,
1789
- 4
1790
- ];
1791
- const NodeElement = () => {
1792
- return /* @__PURE__ */ jsxs("div", {
1793
- className: classes.nodeWrapper,
1794
- children: [/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Skeleton$1, {
1795
- variant: "circle",
1796
- width: 20,
1797
- height: 20
1798
- }) }), /* @__PURE__ */ jsx("div", {
1799
- style: {
1800
- marginLeft: 8,
1801
- width: "100%"
1802
- },
1803
- children: /* @__PURE__ */ jsx(Skeleton$1, {
1804
- height: 20,
1805
- variant: "rect",
1806
- width: "100%"
1807
- })
1808
- })]
1809
- });
1810
- };
1811
- const NodeGroup = ({ indent }) => {
1812
- return /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
1813
- style: { marginLeft: indent },
1814
- children: /* @__PURE__ */ jsx(NodeElement, {})
1815
- }), /* @__PURE__ */ jsx(LayoutUnit, { unit: "xxs" })] });
1816
- };
1817
- const singleNodeGroup = loading && /* @__PURE__ */ jsx("div", { children: singleNode.map((item, index) => {
1818
- return /* @__PURE__ */ jsx(NodeGroup, { indent: index * 8 });
1819
- }) });
1820
- return /* @__PURE__ */ jsx("div", { children: nodesRequested && nodesRequested.map((item) => {
1821
- return /* @__PURE__ */ jsxs("div", {
1822
- className: classes.root,
1823
- children: [
1824
- singleNodeGroup,
1825
- " ",
1826
- /* @__PURE__ */ jsx(LayoutUnit, { unit: "xxs" })
1827
- ]
1828
- });
1829
- }) });
1830
- };
1831
-
1832
- //#endregion
1833
- //#region src/models/NumberOperator.ts
1834
- let NumberOperatorEnums = /* @__PURE__ */ function(NumberOperatorEnums$1) {
1835
- NumberOperatorEnums$1["Equals"] = "=";
1836
- NumberOperatorEnums$1["Does_Not_Equal"] = "!=";
1837
- NumberOperatorEnums$1["Greater_Than"] = ">";
1838
- NumberOperatorEnums$1["Less_Than"] = "<";
1839
- NumberOperatorEnums$1["Greater_Than_Or_Equal_To"] = ">=";
1840
- NumberOperatorEnums$1["Less_Than_Or_Equal_To"] = "<=";
1841
- NumberOperatorEnums$1["Between"] = "BETWEEN";
1842
- return NumberOperatorEnums$1;
1843
- }({});
1844
-
1845
- //#endregion
1846
- //#region src/UI/utilityDisplay/utilities/aggregateUtils.js
1847
- const getThresholdStatus = (aggThreshold, aggregateValue) => {
1848
- if (!aggThreshold || !aggregateValue) return null;
1849
- const thresholdTypes = [
1850
- {
1851
- type: SeverityTypeEnums.Success,
1852
- threshold: aggThreshold.successThreshold
1853
- },
1854
- {
1855
- type: SeverityTypeEnums.Error,
1856
- threshold: aggThreshold.errorThreshold
1857
- },
1858
- {
1859
- type: SeverityTypeEnums.Warning,
1860
- threshold: aggThreshold.warningThreshold
1861
- },
1862
- {
1863
- type: SeverityTypeEnums.Info,
1864
- threshold: aggThreshold.infoThreshold
1865
- }
1866
- ];
1867
- let thresholdStatus = "";
1868
- for (const { type, threshold } of thresholdTypes) if (threshold && evaluateThreshold(threshold, aggregateValue)) {
1869
- thresholdStatus = type;
1870
- break;
1871
- }
1872
- return thresholdStatus;
1873
- };
1874
- const evaluateThreshold = (threshold = {}, aggregateValue) => {
1875
- if (typeof threshold === "string") try {
1876
- threshold = JSON.parse(threshold);
1877
- } catch {
1878
- console.error(`Could not parse: ${threshold}`);
1879
- return false;
1880
- }
1881
- const { operator, value1, value2 } = threshold;
1882
- let thresholdMet = false;
1883
- switch (operator) {
1884
- case NumberOperatorEnums.Equals:
1885
- thresholdMet = aggregateValue === parseFloat(value1);
1886
- break;
1887
- case NumberOperatorEnums.Does_Not_Equal:
1888
- thresholdMet = aggregateValue !== parseFloat(value1);
1889
- break;
1890
- case NumberOperatorEnums.Greater_Than:
1891
- thresholdMet = aggregateValue > parseFloat(value1);
1892
- break;
1893
- case NumberOperatorEnums.Less_Than:
1894
- thresholdMet = aggregateValue < parseFloat(value1);
1895
- break;
1896
- case NumberOperatorEnums.Greater_Than_Or_Equal_To:
1897
- thresholdMet = aggregateValue >= parseFloat(value1);
1898
- break;
1899
- case NumberOperatorEnums.Less_Than_Or_Equal_To:
1900
- thresholdMet = aggregateValue <= parseFloat(value1);
1901
- break;
1902
- case NumberOperatorEnums.Between:
1903
- thresholdMet = aggregateValue >= parseFloat(value1) && aggregateValue <= parseFloat(value2);
1904
- break;
1905
- default: break;
1906
- }
1907
- return thresholdMet;
1908
- };
1909
-
1910
- //#endregion
1911
- //#region src/UI/dataDisplay/entityHeader/ui/AlertPill.jsx
1912
- /**
1913
- * Styles for the AlertPill component
1914
- */
1915
- const useStyles$1 = makeStyles((theme) => {
1916
- const endRadius = theme.spacing(3);
1917
- return {
1918
- root: {
1919
- display: "flex",
1920
- flexDirection: "row",
1921
- overflow: "hidden",
1922
- flexGrow: 0,
1923
- alignSelf: "start"
1924
- },
1925
- alertRoot: {
1926
- padding: theme.spacing(0, 1.5, 0, 1),
1927
- borderRadius: 0,
1928
- "&:first-of-type": {
1929
- borderTopLeftRadius: endRadius,
1930
- borderBottomLeftRadius: endRadius
1931
- },
1932
- "&:last-of-type": {
1933
- borderTopRightRadius: endRadius,
1934
- borderBottomRightRadius: endRadius
1935
- }
1936
- },
1937
- alertIcon: { marginRight: theme.spacing(.5) },
1938
- buttonBase: {
1939
- borderRadius: endRadius,
1940
- overflow: "hidden"
1941
- },
1942
- defaultSeverityAlert: { backgroundColor: theme.palette.grey[400] }
1943
- };
1944
- });
1945
- /**
1946
- * Memoized version of the Alert component
1947
- *
1948
- * @param {object} props - Component props
1949
- * @param {number} props.count - The count to display in the Alert
1950
- * @param {boolean} props.hide - Whether the Alert should be hidden
1951
- * @param {string} props.severity - The severity of the Alert
1952
- * @param {object} props.alertProps - Additional props to pass to the Alert component
1953
- * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
1954
- * @returns {JSX.Element | null} - The Alert component, or null if the count is falsy or hide is true
1955
- */
1956
- const MemoizedAlert = memo((props) => {
1957
- const { count, hide, severity, alertProps, maxCount, label } = props;
1958
- const classes = useStyles$1(props);
1959
- if (count && !hide) {
1960
- let displayCount = count;
1961
- if (maxCount && count > maxCount) displayCount = `${maxCount}+`;
1962
- if (severity === SeverityTypeEnums.Default) return /* @__PURE__ */ jsx(Alert, {
1963
- severity: SeverityTypeEnums.Info,
1964
- ...alertProps,
1965
- className: classes.defaultSeverityAlert,
1966
- children: displayCount
1967
- });
1968
- return /* @__PURE__ */ jsx(Alert, {
1969
- severity,
1970
- ...alertProps,
1971
- children: label ? label : displayCount
1972
- });
1973
- }
1974
- return null;
1975
- });
1976
- MemoizedAlert.displayName = "MemoizedAlert";
1977
- /**
1978
- * The AlertPill component displays a row of Alerts, each with a count and a severity level.
1979
- * Alerts can be hidden by setting the corresponding hide prop to true.
1980
- *
1981
- * @param {object} props - Component props
1982
- * @param {function} [props.handleClick] - The click event handler.
1983
- * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
1984
- * @param {number} props.errorCount - The count for the error Alert
1985
- * @param {number} props.warningCount - The count for the warning Alert
1986
- * @param {number} props.successCount - The count for the success Alert
1987
- * @param {number} props.infoCount - The count for the info Alert
1988
- * @param {number} props.defaultCount - The count for the default Alert
1989
- * @param {string} props.errorLabel - The label for the error Alert
1990
- * @param {string} props.warningLabel - The label for the warning Alert
1991
- * @param {string} props.successLabel - The label for the success Alert
1992
- * @param {string} props.infoLabel - The label for the info Alert
1993
- * @param {string} props.defaultLabel - The label for the default Alert
1994
- * @param {boolean} props.hideError - Whether the error Alert should be hidden
1995
- * @param {boolean} props.hideWarning - Whether the warning Alert should be hidden
1996
- * @param {boolean} props.hideSuccess - Whether the success Alert should be hidden
1997
- * @param {boolean} props.hideInfo - Whether the info Alert should be hidden
1998
- * @param {boolean} props.hideDefault - Whether the default Alert should be hidden
1999
- * @param {string} props.variant - The variant of the Alert
2000
- * @param {function} [props.handleClick] - The click event handler.
2001
- * @param {number} props.maxCount - Max count to show before displaying as "{maxCount}+"
2002
- * @returns {JSX.Element} - The AlertPill component
2003
- */
2004
- const AlertPill = (props) => {
2005
- const { variant = "filled", handleClick, maxCount, errorCount, warningCount, successCount, infoCount, defaultCount, errorLabel, warningLabel, successLabel, infoLabel, defaultLabel, hideError = false, hideWarning = false, hideSuccess = false, hideInfo = false, hideDefault = false } = props;
2006
- const classes = useStyles$1(props);
2007
- const variantMapping = {
2008
- filled: "filled",
2009
- standard: "hint",
2010
- outlined: "outlined",
2011
- text: ""
2012
- };
2013
- const alertProps = {
2014
- variant: variantMapping[variant],
2015
- classes: {
2016
- root: classes.alertRoot,
2017
- icon: classes.alertIcon
2018
- }
2019
- };
2020
- return /* @__PURE__ */ jsx("div", {
2021
- className: classes.root,
2022
- children: /* @__PURE__ */ jsxs(ButtonBase, {
2023
- onClick: handleClick,
2024
- className: classes.buttonBase,
2025
- children: [
2026
- /* @__PURE__ */ jsx(MemoizedAlert, {
2027
- count: errorCount,
2028
- hide: hideError,
2029
- severity: SeverityTypeEnums.Error,
2030
- alertProps,
2031
- maxCount,
2032
- label: errorLabel
2033
- }),
2034
- /* @__PURE__ */ jsx(MemoizedAlert, {
2035
- count: warningCount,
2036
- hide: hideWarning,
2037
- severity: SeverityTypeEnums.Warning,
2038
- alertProps,
2039
- maxCount,
2040
- label: warningLabel
2041
- }),
2042
- /* @__PURE__ */ jsx(MemoizedAlert, {
2043
- count: successCount,
2044
- hide: hideSuccess,
2045
- severity: SeverityTypeEnums.Success,
2046
- alertProps,
2047
- maxCount,
2048
- label: successLabel
2049
- }),
2050
- /* @__PURE__ */ jsx(MemoizedAlert, {
2051
- count: infoCount,
2052
- hide: hideInfo,
2053
- severity: SeverityTypeEnums.Info,
2054
- alertProps,
2055
- maxCount,
2056
- label: infoLabel
2057
- }),
2058
- /* @__PURE__ */ jsx(MemoizedAlert, {
2059
- count: defaultCount,
2060
- hide: hideDefault,
2061
- severity: SeverityTypeEnums.Default,
2062
- alertProps,
2063
- maxCount,
2064
- label: defaultLabel
2065
- })
2066
- ]
2067
- })
2068
- });
2069
- };
2070
-
2071
- //#endregion
2072
- //#region src/UI/utilityDisplay/AggregateChip.jsx
2073
- const AggregateChip = (props) => {
2074
- const { aggregateThresholdId, aggregateThresholdParamMappings, label, chipColor, setStatus, isActionable = false, isAlert = false, hideAlert = false, onAlertClick } = props;
2075
- const [color, setColor] = useState(chipColor);
2076
- const [aggregateValue, setAggregateValue] = useState(null);
2077
- const [loading, setLoading] = useState(false);
2078
- const [{ data: aggregateThreshold, loading: loadingAggregateThreshold }] = useAxiosGet(ConfigService.integrationV2ApiUrl, `aggregateThreshold/${aggregateThresholdId}`, {}, !!!aggregateThresholdId);
2079
- const alertDisplayLabel = useMemo(() => {
2080
- if (!label) return aggregateValue;
2081
- return `${label.replace("{value}", aggregateValue)}`;
2082
- }, [aggregateValue, label]);
2083
- useEffect(() => {
2084
- const setAggregateData = async (apiMethodInstanceId, valueKey) => {
2085
- setLoading(true);
2086
- const data = aggregateThresholdParamMappings ? { data: aggregateThresholdParamMappings } : { data: {} };
2087
- const response = await executeQueryInstance(data, apiMethodInstanceId).catch((res) => setLoading(false));
2088
- if ((response === null || response === void 0 ? void 0 : response.status) === 200 && valueKey) {
2089
- var _response$data, _response$data2;
2090
- const aggregateResult = ((_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.aggregateResults) && ((_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.aggregateResults[0]);
2091
- if (aggregateResult) setAggregateValue(aggregateResult[valueKey] ? Math.round(aggregateResult[valueKey]) : "");
2092
- }
2093
- setLoading(false);
2094
- };
2095
- if (aggregateThreshold) setAggregateData(aggregateThreshold.apiMethodInstanceId, aggregateThreshold.aggregateKey);
2096
- }, [aggregateThreshold]);
2097
- useEffect(() => {
2098
- if (aggregateThreshold && aggregateValue) {
2099
- const status = getThresholdStatus(aggregateThreshold, aggregateValue);
2100
- setColor(status);
2101
- if (setStatus) setStatus(status || "default");
2102
- }
2103
- }, [
2104
- aggregateThreshold,
2105
- aggregateValue,
2106
- setStatus
2107
- ]);
2108
- if (loading || loadingAggregateThreshold) return /* @__PURE__ */ jsx(CircularProgress, { size: 18 });
2109
- if (!color && !isAlert) return /* @__PURE__ */ jsx(Typography, {
2110
- variant: "caption2",
2111
- style: { fontSize: "0.7rem" },
2112
- children: label || aggregateValue
2113
- });
2114
- if (isAlert) return /* @__PURE__ */ jsx(AlertPill, {
2115
- handleClick: onAlertClick,
2116
- successCount: color === SeverityTypeEnums.Success ? aggregateValue : "",
2117
- errorCount: color === SeverityTypeEnums.Error ? aggregateValue : "",
2118
- warningCount: color === SeverityTypeEnums.Warning ? aggregateValue : "",
2119
- infoCount: color === SeverityTypeEnums.Info ? aggregateValue : "",
2120
- defaultCount: !color && (aggregateValue || ""),
2121
- successLabel: color === SeverityTypeEnums.Success ? alertDisplayLabel : "",
2122
- errorLabel: color === SeverityTypeEnums.Error ? alertDisplayLabel : "",
2123
- warningLabel: color === SeverityTypeEnums.Warning ? alertDisplayLabel : "",
2124
- infoLabel: color === SeverityTypeEnums.Info ? alertDisplayLabel : "",
2125
- defaultLabel: !color && (alertDisplayLabel || ""),
2126
- hideSuccess: color === SeverityTypeEnums.Success ? hideAlert : false,
2127
- hideError: color === SeverityTypeEnums.Error ? hideAlert : false,
2128
- hideWarning: color === SeverityTypeEnums.Warning ? hideAlert : false,
2129
- hideInfo: color === SeverityTypeEnums.Info ? hideAlert : false,
2130
- hideDefault: !color ? hideAlert : false
2131
- });
2132
- return label || aggregateValue ? /* @__PURE__ */ jsx(StatusChip, {
2133
- label: label || aggregateValue,
2134
- status: color,
2135
- useSmallChip: true,
2136
- isActionable
2137
- }) : null;
2138
- };
2139
- AggregateChip.prototype = {
2140
- chipColor: PropTypes.oneOf([
2141
- "success",
2142
- "error",
2143
- "warning",
2144
- "info",
2145
- void 0,
2146
- null
2147
- ]),
2148
- aggregateThresholdId: PropTypes.oneOf([
2149
- PropTypes.string,
2150
- void 0,
2151
- null
2152
- ])
2153
- };
2154
-
2155
- //#endregion
2156
- //#region src/utilities/utilityBar/UtilityBarInport.jsx
2157
- const UtilityBarInports = createTeleporter({ multiSources: true });
2158
- const UtilityBarInportTarget = UtilityBarInports.Target;
2159
- /**
2160
- * Places a Control in the App SubHeader
2161
- */
2162
- const UtilityBarInport = (props) => {
2163
- const { children, className,...buttonProps } = props;
2164
- return /* @__PURE__ */ jsx(UtilityBarInports.Source, { children });
2165
- };
2166
-
2167
- //#endregion
2168
- //#region src/UI/utilityDisplay/UtilitySideBar.jsx
2169
- const EXPANDED_WIDTH = 288;
2170
- const COLLAPSED_WIDTH = 78;
2171
- const MAX_WIDTH = 700;
2172
- const useStyles = makeStyles((theme) => ({
2173
- root: {
2174
- paddingTop: (props) => props.removePadding || props.sidebarHidden ? 0 : 40,
2175
- overflow: "hidden",
2176
- height: "100%"
2177
- },
2178
- titleWrapper: {
2179
- display: (props) => props.hideTitleBar ? "none" : "flex",
2180
- width: "100%",
2181
- paddingLeft: theme.spacing(1)
2182
- },
2183
- button: { marginTop: -8 },
2184
- title: {
2185
- flex: 1,
2186
- width: "100%",
2187
- marginTop: 8
2188
- },
2189
- expandedWidth: { width: 288 },
2190
- handle: {
2191
- top: 0,
2192
- right: theme.spacing(-.75),
2193
- width: theme.spacing(.75),
2194
- zIndex: 1e4,
2195
- height: "calc(100vh - 56px)",
2196
- display: "inline-block",
2197
- position: "absolute",
2198
- "&:hover": { cursor: "col-resize" }
2199
- }
2200
- }));
2201
- const UtilitySideBar = (props) => {
2202
- const { onUtilitySidebarToggleExpandClick, resizable, title, utilitySidebarToggleOverride, isUsingChildren = false, removeTopLayoutUnit = false, collapsedWidth, children, sidebarHidden, handleResize = null, hideTitleBar } = props;
2203
- const buildEnv = useBuildEnvironment();
2204
- const classes = useStyles({
2205
- ...props,
2206
- appRibbbonSpace: buildEnv ? APP_RIBBON_SPACE : 0
2207
- });
2208
- const [expanded, setExpanded] = useState(true);
2209
- const [width, setWidth] = useState(EXPANDED_WIDTH);
2210
- const _collapsedWidth = collapsedWidth !== null && collapsedWidth !== void 0 ? collapsedWidth : COLLAPSED_WIDTH;
2211
- const theme = useTheme();
2212
- const onResize = (event, { element, size, handle }) => {
2213
- setWidth(size.width);
2214
- if (handleResize) handleResize(size.width);
2215
- };
2216
- const handleToggleClick = useCallback(() => {
2217
- if (onUtilitySidebarToggleExpandClick) onUtilitySidebarToggleExpandClick();
2218
- setExpanded((expanded$1) => !expanded$1);
2219
- }, [onUtilitySidebarToggleExpandClick]);
2220
- useEffect(() => {
2221
- if (typeof utilitySidebarToggleOverride === "boolean") setExpanded(utilitySidebarToggleOverride);
2222
- }, [utilitySidebarToggleOverride]);
2223
- return /* @__PURE__ */ jsx(ResizableBox, {
2224
- width: expanded ? width : _collapsedWidth,
2225
- resizeHandles: resizable && expanded ? ["e"] : [],
2226
- axis: "x",
2227
- minConstraints: expanded ? [EXPANDED_WIDTH] : [_collapsedWidth],
2228
- maxConstraints: [MAX_WIDTH],
2229
- onResize,
2230
- handle: expanded && /* @__PURE__ */ jsx("div", { className: classes.handle }),
2231
- style: { position: "relative" },
2232
- children: /* @__PURE__ */ jsx("div", {
2233
- className: classes.root,
2234
- style: { width: expanded ? width : _collapsedWidth },
2235
- children: /* @__PURE__ */ jsxs(AmbientCard, {
2236
- fullWidth: true,
2237
- removePadding: true,
2238
- lastChildBottomPadding: 12,
2239
- removeTopLayoutUnit: removeTopLayoutUnit || sidebarHidden,
2240
- children: [
2241
- /* @__PURE__ */ jsxs("div", {
2242
- style: {
2243
- display: hideTitleBar ? "none" : "flex",
2244
- width: "100%",
2245
- paddingLeft: theme.spacing(1)
2246
- },
2247
- children: [/* @__PURE__ */ jsx("div", {
2248
- className: classes.title,
2249
- children: expanded && /* @__PURE__ */ jsxs(Typography, {
2250
- variant: "h6",
2251
- children: [
2252
- " ",
2253
- title,
2254
- " "
2255
- ]
2256
- })
2257
- }), /* @__PURE__ */ jsx("div", {
2258
- className: classes.button,
2259
- children: /* @__PURE__ */ jsx(SidebarCollapseButton, {
2260
- id: "udpRecord-UtilitySideBar",
2261
- udprecordid: "udpRecord-UtilitySideBar",
2262
- expanded,
2263
- onClick: handleToggleClick
2264
- })
2265
- })]
2266
- }),
2267
- !isUsingChildren && /* @__PURE__ */ jsx(UtilityBarInportTarget, {}),
2268
- isUsingChildren && children
2269
- ]
2270
- })
2271
- })
2272
- });
2273
- };
2274
-
2275
- //#endregion
2276
- export { Adornment, AggregateChip, AlertPill, AmbientCard, AmbientCardButton, GroupNode, NodeLoader, SidebarCollapseButton, UtilityBarInport, UtilityBarInportTarget, UtilitySideBar, checkNodeIsHidden, collapseAllNodes, constructBusinessObjectArrFromTree, constructDynamicNodeGroups, constructDynamicNodeGroups2, constructPreloadedTree, constructStaticNodeGroups, deleteNode, deleteNodeAndChildren, evaluateRule, expandAllNodes, findAllParentIds, findLastNode, findNodeById, findNodeByIdAndLabel, findNodesByIdAndLabel, formatTreeLabel, formatTreeMenuItem, getAllChildrenNodesToDelete, getDisplayDetails, getDisplayName, getHeaderTitle, getIconFromName, getLazyLoadChildrenArr, getNodeIdForRightBorder, getOrderedDynamicGroups, getPropertyMappingList, getPropertyMappingObj, getSearchValueString, getUnityIconFromName, makeDynamicGroupStructures, makeDynamicTreeStructure, makeTreeStaticGroupStructure, makeTreeStructure, mapNodeGroupChildren, mapNodeObjValuesToSearchParameters, mapRule, mapRuleData, processCatalogObjectKeysInOrder, processItemForDynamicNodeGroups, processItemForStaticNodeGroup, processObjIndex, processObjectToTree, processOrderedTreeData, processReferences, require_defineProperty, searchForMatchingNode, searchTree, transformMenuPageTree, unityIcons, updateTreeIds };
2277
- //# sourceMappingURL=UtilitySideBar-Dz_17lBo.js.map