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.
- package/{dist-tsdown/AmbientGridTemplate-C4cO-UBE.js → dist/AmbientGridTemplate-BLwgiqwK.js} +800 -1133
- package/dist/AmbientGridTemplate-BLwgiqwK.js.map +1 -0
- package/{dist-tsdown/EnvironmentRibbon-W5AjvnLN.js → dist/EnvironmentRibbon-BMvQEZPZ.js} +91 -108
- package/dist/EnvironmentRibbon-BMvQEZPZ.js.map +1 -0
- package/{dist-tsdown/MenuPage-DsZUwqyz.js → dist/MenuPage-DLsNc-P8.js} +104 -160
- package/{dist-tsdown/MenuPage-DsZUwqyz.js.map → dist/MenuPage-DLsNc-P8.js.map} +1 -1
- package/{dist-tsdown/MyExportsPage-DWbSEbU5.js → dist/MyExportsPage-BYH2Wl9k.js} +120 -151
- package/dist/{MyExportsPage-B-xwnIEc.js.map → MyExportsPage-BYH2Wl9k.js.map} +1 -1
- package/dist/MyExportsPage-CVUIXWTf.js +8 -0
- package/{dist-tsdown/PageContainer-CWhjU1zS.js → dist/PageContainer-B65gsUfF.js} +401 -599
- package/dist/PageContainer-B65gsUfF.js.map +1 -0
- package/dist/PageNotFoundRoute-BbBtA9Cz.js +3 -0
- package/dist/PageNotFoundRoute-CxYZNEhN.js +69 -0
- package/{dist-tsdown/PageNotFoundRoute-Z5qYmErL.js.map → dist/PageNotFoundRoute-CxYZNEhN.js.map} +1 -1
- package/{dist-tsdown/PasswordResetRedirect-D6RVOdwy.js → dist/PasswordResetRedirect-BHnkAW40.js} +24 -34
- package/{dist-tsdown/PasswordResetRedirect-D6RVOdwy.js.map → dist/PasswordResetRedirect-BHnkAW40.js.map} +1 -1
- package/dist/{PasswordResetRedirect-CX9MEbof.js → PasswordResetRedirect-tUV2yEkH.js} +1 -1
- package/{dist-tsdown/SearchUtilities-URbeAh75.js → dist/SearchUtilities-dbXvMYoa.js} +5 -5
- package/dist/SearchUtilities-dbXvMYoa.js.map +1 -0
- package/{dist-tsdown/SideSheet-DcEfnfH_.js → dist/SideSheet-CPHhyWLB.js} +99 -132
- package/dist/SideSheet-CPHhyWLB.js.map +1 -0
- package/dist/UdpPublicForm-BrVSSMCN.js +4 -0
- package/dist/{UdpPublicForm-BNe1yTjb.js → UdpPublicForm-DFCL1GzD.js} +16 -7
- package/{dist-tsdown/UdpPublicForm-EOSy6X_O.js.map → dist/UdpPublicForm-DFCL1GzD.js.map} +1 -1
- package/{dist-tsdown/UtilitySideBar-D4Gdx13d.js → dist/UtilitySideBar-B4r2IAv5.js} +185 -303
- package/{dist-tsdown/UtilitySideBar-D4Gdx13d.js.map → dist/UtilitySideBar-B4r2IAv5.js.map} +1 -1
- package/{dist-tsdown/VirtualBrowser-OXhftZwa.js → dist/VirtualBrowser-C_IJ0I6f.js} +64 -85
- package/dist/VirtualBrowser-C_IJ0I6f.js.map +1 -0
- package/dist/WorkflowContainer-8-mmebY0.js +9 -0
- package/{dist-tsdown/WorkflowContainer-C2W0pr5f.js → dist/WorkflowContainer-DKwRWi1i.js} +200 -319
- package/dist/WorkflowContainer-DKwRWi1i.js.map +1 -0
- package/{dist-tsdown/apiHelpers-DtpC3VqG.js → dist/apiHelpers-t3rfkjFZ.js} +9 -13
- package/{dist-tsdown/apiHelpers-DtpC3VqG.js.map → dist/apiHelpers-t3rfkjFZ.js.map} +1 -1
- package/dist/index.js +10584 -15705
- package/dist/index.js.map +1 -1
- package/{dist-tsdown/propertyTypeEnums-CaDtepcE.js → dist/propertyTypeEnums-DTGsK5-s.js} +22 -30
- package/dist/propertyTypeEnums-DTGsK5-s.js.map +1 -0
- package/dist/types/AGLicense.d.ts +1 -0
- package/dist/types/UI/AlertContainer.d.ts +1 -0
- package/dist/types/UI/Box.d.ts +2 -0
- package/dist/types/UI/Grid.d.ts +1 -0
- package/dist/types/UI/SuccessAction.d.ts +1 -0
- package/dist/types/UI/accordion/Accordion.d.ts +1 -0
- package/dist/types/UI/advancedSearchBuilder/UdpAdvancedSearchBuilder.d.ts +2 -0
- package/dist/types/UI/charts/InsightRenderer.d.ts +20 -0
- package/dist/types/UI/charts/UdpBarChart.d.ts +7 -0
- package/dist/types/UI/charts/UdpDistributionChart.d.ts +5 -0
- package/dist/types/UI/charts/UdpDonutChart.d.ts +8 -0
- package/dist/types/UI/charts/UdpLineChart.d.ts +7 -0
- package/dist/types/UI/charts/index.d.ts +6 -0
- package/dist/types/UI/charts/types.d.ts +62 -0
- package/dist/types/UI/components/dataDisplay/Ellipse.d.ts +8 -0
- package/dist/types/UI/components/dataDisplay/EmailDisplay.d.ts +1 -0
- package/dist/types/UI/components/dataDisplay/SmsDisplay.d.ts +1 -0
- package/dist/types/UI/components/dataDisplay/Sticky.d.ts +8 -0
- package/dist/types/UI/components/dataDisplay/Token.d.ts +13 -0
- package/dist/types/UI/components/feedback/Adornment.d.ts +6 -0
- package/dist/types/UI/containers/DynamicContainerWithMenu.d.ts +1 -0
- package/dist/types/UI/dataDisplay/AmbientList.d.ts +15 -0
- package/dist/types/UI/dataDisplay/AvatarAlphabet.d.ts +1 -0
- package/dist/types/UI/dataDisplay/ChipAlphabet.d.ts +6 -0
- package/dist/types/UI/dataDisplay/CompactDataList.d.ts +1 -0
- package/dist/types/UI/dataDisplay/CompactDataListItem.d.ts +1 -0
- package/dist/types/UI/dataDisplay/EmptyStateDisplay.d.ts +19 -0
- package/dist/types/UI/dataDisplay/FluentActivity/FluentActivity.d.ts +1 -0
- package/dist/types/UI/dataDisplay/FluentActivity/FluentActivityRow.d.ts +1 -0
- package/dist/types/UI/dataDisplay/FluentDataTable/FluentBody/index.d.ts +8 -0
- package/dist/types/UI/dataDisplay/FluentDataTable/FluentCell/index.d.ts +78 -0
- package/dist/types/UI/dataDisplay/FluentDataTable/FluentDataTable.d.ts +11 -0
- package/dist/types/UI/dataDisplay/FluentDataTable/FluentHead/index.d.ts +9 -0
- package/dist/types/UI/dataDisplay/FluentDataTable/FluentRow/index.d.ts +8 -0
- package/dist/types/UI/dataDisplay/FluentListElement.d.ts +8 -0
- package/dist/types/UI/dataDisplay/FluentListItem.d.ts +1 -0
- package/dist/types/UI/dataDisplay/GraphCard.d.ts +31 -0
- package/dist/types/UI/dataDisplay/HeaderExpander.d.ts +31 -0
- package/dist/types/UI/dataDisplay/HintPanel.d.ts +10 -0
- package/dist/types/UI/dataDisplay/StatusChip.d.ts +9 -0
- package/dist/types/UI/dataDisplay/StatusFlags.d.ts +31 -0
- package/dist/types/UI/dataDisplay/SummaryBlock.d.ts +30 -0
- package/dist/types/UI/dataDisplay/TimelineCalendar.d.ts +1 -0
- package/dist/types/UI/dataDisplay/address/AddressListItem.d.ts +3 -0
- package/dist/types/UI/dataDisplay/cardList/CardList.d.ts +40 -0
- package/dist/types/UI/dataDisplay/cardList/enum.d.ts +5 -0
- package/dist/types/UI/dataDisplay/directory/Directory.d.ts +9 -0
- package/dist/types/UI/dataDisplay/directory/DirectoryListItem.d.ts +4 -0
- package/dist/types/UI/dataDisplay/entityHeader/EntityHeader.d.ts +13 -0
- package/dist/types/UI/dataDisplay/entityHeader/functions/groupSectionData.d.ts +1 -0
- package/dist/types/UI/dataDisplay/entityHeader/functions/useDivideArrayIntoGroups.d.ts +2 -0
- package/dist/types/UI/dataDisplay/entityHeader/functions/useElementWidth.d.ts +15 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/AlertPill.d.ts +47 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderContainer.d.ts +16 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderFlags.d.ts +4 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderList.d.ts +1 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderListItem.d.ts +1 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderSection.d.ts +16 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStatList.d.ts +1 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStatListItem.d.ts +1 -0
- package/dist/types/UI/dataDisplay/entityHeader/ui/EntityHeaderStats.d.ts +4 -0
- package/dist/types/UI/dataDisplay/map/ColorKey.d.ts +16 -0
- package/dist/types/UI/dataDisplay/map/FluentIconKey.d.ts +2 -0
- package/dist/types/UI/dataDisplay/map/IconKey.d.ts +16 -0
- package/dist/types/UI/dataDisplay/notes/Note.d.ts +7 -0
- package/dist/types/UI/dataDisplay/notes/Notes.d.ts +11 -0
- package/dist/types/UI/dataDisplay/ticketCard/NotificationElement.d.ts +11 -0
- package/dist/types/UI/dataDisplay/ticketCard/StatusLineItem.d.ts +31 -0
- package/dist/types/UI/dataDisplay/ticketCard/TicketCard.d.ts +39 -0
- package/dist/types/UI/dataDisplay/typography/FormHeaders.d.ts +2 -0
- package/dist/types/UI/dataDisplay/typography/SideSheetHeader.d.ts +4 -0
- package/dist/types/UI/dataDisplay/typography/SidebarHeader.d.ts +1 -0
- package/dist/types/UI/dataDisplay/typography/StandardTitle.d.ts +1 -0
- package/dist/types/UI/dataDisplay/typography/StylizedTitle.d.ts +24 -0
- package/dist/types/UI/dataDisplay/typography/Typography.d.ts +1 -0
- package/dist/types/UI/dataDisplay/visualization/AmbientVisualizer.d.ts +63 -0
- package/dist/types/UI/dataDisplay/visualization/GaugeGraph.d.ts +1 -0
- package/dist/types/UI/dataDisplay/visualization/RatioVisulization.d.ts +5 -0
- package/dist/types/UI/dataDisplay/visualization/amCharts/AmChart.d.ts +11 -0
- package/dist/types/UI/dataDisplay/visualization/amCharts/AmSankeyChart.d.ts +2 -0
- package/dist/types/UI/demos/InputsExample.d.ts +3 -0
- package/dist/types/UI/feedback/AmbientAlert.d.ts +12 -0
- package/dist/types/UI/feedback/AmbientToast.d.ts +1 -0
- package/dist/types/UI/feedback/FluentDialog.d.ts +1 -0
- package/dist/types/UI/feedback/NodeLoader.d.ts +4 -0
- package/dist/types/UI/feedback/PageLoading.d.ts +1 -0
- package/dist/types/UI/fileViewer/FileViewer.d.ts +1 -0
- package/dist/types/UI/fileViewer/imageSlider/Image.d.ts +1 -0
- package/dist/types/UI/fileViewer/imageSlider/ImageFooter.d.ts +1 -0
- package/dist/types/UI/fileViewer/imageSlider/ImageSlider.d.ts +1 -0
- package/dist/types/UI/fileViewer/imageSlider/ImageViewerSideSheet.d.ts +1 -0
- package/dist/types/UI/fileViewer/pdfViewer/ControlPanel.d.ts +2 -0
- package/dist/types/UI/fileViewer/pdfViewer/PDFViewer.d.ts +11 -0
- package/dist/types/UI/fileViewer/utils/fileTypes.d.ts +1 -0
- package/dist/types/UI/fileViewer/utils/fileUtils.d.ts +2 -0
- package/dist/types/UI/floorplans/CoreLayoutFloorplan.d.ts +189 -0
- package/dist/types/UI/forms/CrudForm.d.ts +29 -0
- package/dist/types/UI/forms/LoginForm.d.ts +1 -0
- package/dist/types/UI/forms/PaymentReversalForm.d.ts +5 -0
- package/dist/types/UI/forms/UdpCrudFormFields.d.ts +9 -0
- package/dist/types/UI/forms/VirtualForm.d.ts +17 -0
- package/dist/types/UI/iframe/Iframe.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/AdvanceButton.d.ts +4 -0
- package/dist/types/UI/inputs/buttons/AmbientCardButton.d.ts +21 -0
- package/dist/types/UI/inputs/buttons/AmbientChipButton.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/AmbientPopoverMenuItem.d.ts +5 -0
- package/dist/types/UI/inputs/buttons/AmbientToggleButton.d.ts +27 -0
- package/dist/types/UI/inputs/buttons/AmbientToggleButtonGroup.d.ts +2 -0
- package/dist/types/UI/inputs/buttons/AmbientToggleButtonGroupDefault.d.ts +63 -0
- package/dist/types/UI/inputs/buttons/AmbientTokenButton.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/FUISquareIconButton.d.ts +5 -0
- package/dist/types/UI/inputs/buttons/FluentButton.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/FluentCompoundButton.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/FluentIconButton.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/FluentMenuListButton.d.ts +9 -0
- package/dist/types/UI/inputs/buttons/FluentMenuListItem.d.ts +9 -0
- package/dist/types/UI/inputs/buttons/FluentUploadButton.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/FluentUploadIconButton.d.ts +1 -0
- package/dist/types/UI/inputs/buttons/IconButtonWithToolTip.d.ts +12 -0
- package/dist/types/UI/inputs/buttons/PrimaryActionButton.d.ts +6 -0
- package/dist/types/UI/inputs/buttons/ToolBarButton.d.ts +11 -0
- package/dist/types/UI/inputs/calendar/AmbientDateRangeSelector.d.ts +3 -0
- package/dist/types/UI/inputs/calendar/AmbientSingleDateSelector.d.ts +3 -0
- package/dist/types/UI/inputs/checkbox/FluentCheckbox.d.ts +1 -0
- package/dist/types/UI/inputs/datetimes/DateField.d.ts +6 -0
- package/dist/types/UI/inputs/datetimes/DateTimeField.d.ts +4 -0
- package/dist/types/UI/inputs/datetimes/TimeField.d.ts +5 -0
- package/dist/types/UI/inputs/fieldArrayCard/AutocompleteFinalField.d.ts +3 -0
- package/dist/types/UI/inputs/fieldArrayCard/DateRangeField.d.ts +2 -0
- package/dist/types/UI/inputs/fieldArrayCard/FieldArrayCard.d.ts +1 -0
- package/dist/types/UI/inputs/fieldArrayCard/SearchSideSheet.d.ts +2 -0
- package/dist/types/UI/inputs/fieldArrayCard/fieldArrayCardEnum.d.ts +10 -0
- package/dist/types/UI/inputs/link/BreadCrumbMenu.d.ts +1 -0
- package/dist/types/UI/inputs/link/FluentLink.d.ts +1 -0
- package/dist/types/UI/inputs/menus/AmbientStepper/AmbientStepContent.d.ts +9 -0
- package/dist/types/UI/inputs/menus/AmbientStepper/AmbientStepper.d.ts +13 -0
- package/dist/types/UI/inputs/menus/AmbientStepper/StepLabel.d.ts +64 -0
- package/dist/types/UI/inputs/menus/FluentScrollLoadAutocompleteMenu.d.ts +109 -0
- package/dist/types/UI/inputs/menus/FluentSelectDirectoryMenu.d.ts +6 -0
- package/dist/types/UI/inputs/menus/FluentSelectGroupMenu.d.ts +7 -0
- package/dist/types/UI/inputs/menus/FluentSelectMenu-old.d.ts +1 -0
- package/dist/types/UI/inputs/menus/FluentSelectMenu.d.ts +9 -0
- package/dist/types/UI/inputs/menus/FluentSimpleSelect.d.ts +1 -0
- package/dist/types/UI/inputs/pickers/FluentColorPicker.d.ts +1 -0
- package/dist/types/UI/inputs/pickers/FluentDatePicker.d.ts +9 -0
- package/dist/types/UI/inputs/pickers/FluentDateTimePicker.d.ts +9 -0
- package/dist/types/UI/inputs/pickers/FluentTimePicker.d.ts +13 -0
- package/dist/types/UI/inputs/pickers/UdpDateSelector.d.ts +10 -0
- package/dist/types/UI/inputs/pickers/UdpTimeSelector.d.ts +14 -0
- package/dist/types/UI/inputs/radio/FluentRadio.d.ts +1 -0
- package/dist/types/UI/inputs/radio/FluentRadioGroup.d.ts +1 -0
- package/dist/types/UI/inputs/richEditors/CkRichEditor.d.ts +1 -0
- package/dist/types/UI/inputs/sliders/FluentInputSlider.d.ts +3 -0
- package/dist/types/UI/inputs/textField/AmbientAutoComplete.d.ts +1 -0
- package/dist/types/UI/inputs/textField/AmbientTextField.d.ts +21 -0
- package/dist/types/UI/inputs/textField/FluentSearchField.d.ts +1 -0
- package/dist/types/UI/inputs/textField/FluentTagField.d.ts +2 -0
- package/dist/types/UI/inputs/textField/FluentTextField.d.ts +2 -0
- package/dist/types/UI/inputs/textField/FluentTextFieldAutoComplete.d.ts +1 -0
- package/dist/types/UI/inputs/textField/KeyValueTextField.d.ts +1 -0
- package/dist/types/UI/inputs/toggle/FluentToggle.d.ts +1 -0
- package/dist/types/UI/loading/CircularProgress.d.ts +1 -0
- package/dist/types/UI/loading/LinearProgress.d.ts +1 -0
- package/dist/types/UI/loading/LoadingIndicator.d.ts +4 -0
- package/dist/types/UI/loading/LoadingOverlay.d.ts +4 -0
- package/dist/types/UI/mapLayout/MapLayout.d.ts +1 -0
- package/dist/types/UI/mapLayout/ui/ActionsRenderer.d.ts +2 -0
- package/dist/types/UI/mapLayout/ui/CheckboxGroup.d.ts +1 -0
- package/dist/types/UI/mapLayout/ui/CheckboxList.d.ts +1 -0
- package/dist/types/UI/mapLayout/ui/CompactCard.d.ts +1 -0
- package/dist/types/UI/mapLayout/ui/ListCard.d.ts +9 -0
- package/dist/types/UI/mapLayout/ui/ListView.d.ts +2 -0
- package/dist/types/UI/mapLayout/ui/MapLayoutToolbar.d.ts +2 -0
- package/dist/types/UI/mapLayout/ui/PopoverCard.d.ts +1 -0
- package/dist/types/UI/mapLayout/ui/PopoverOverlay.d.ts +2 -0
- package/dist/types/UI/mapLayout/ui/Statistic.d.ts +1 -0
- package/dist/types/UI/mapLayout/utilities/MapUtilities.d.ts +12 -0
- package/dist/types/UI/maps/UdpMap.d.ts +120 -0
- package/dist/types/UI/maps/UdpMapComponent.d.ts +128 -0
- package/dist/types/UI/maps/UdpMapToolbar.d.ts +87 -0
- package/dist/types/UI/navigation/FluentSideNav.d.ts +1 -0
- package/dist/types/UI/navigation/menus/AppMenu.d.ts +6 -0
- package/dist/types/UI/navigation/menus/AppMenuItem.d.ts +25 -0
- package/dist/types/UI/navigation/menus/AppMenuItemComponent.d.ts +1 -0
- package/dist/types/UI/navigation/menus/Expander.d.ts +1 -0
- package/dist/types/UI/navigation/menus/ExpanderItem.d.ts +4 -0
- package/dist/types/UI/navigation/menus/FluentMenuListItem.d.ts +5 -0
- package/dist/types/UI/navigation/tabs/UdpTabPanel.d.ts +1 -0
- package/dist/types/UI/navigation/tabs/UdpTabUtility.d.ts +1 -0
- package/dist/types/UI/navigation/tabs/UdpTabs.d.ts +1 -0
- package/dist/types/UI/navigation/tabs/defaultTabs/FluentSimpleTab.d.ts +1 -0
- package/dist/types/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.d.ts +1 -0
- package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabPanel.d.ts +8 -0
- package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabPanels.d.ts +17 -0
- package/dist/types/UI/navigation/tabs/defaultTabs/FluentTabUtility.d.ts +1 -0
- package/dist/types/UI/property/PropertyFields.d.ts +16 -0
- package/dist/types/UI/property/widgets/AutoCompletePropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/BooleanPropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/DatePropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/DateTimePropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/FloatPropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/IntegerPropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/MultilineTextPropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/NumericPropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/SelectPropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/TextPropertyWidget.d.ts +11 -0
- package/dist/types/UI/property/widgets/TimePropertyWidget.d.ts +7 -0
- package/dist/types/UI/property/widgets/index.d.ts +15 -0
- package/dist/types/UI/stepper/types.d.ts +38 -0
- package/dist/types/UI/stepper/udp-stepper.d.ts +3 -0
- package/dist/types/UI/support/SupportCaseForm.d.ts +6 -0
- package/dist/types/UI/support/SupportCaseSideSheet.d.ts +9 -0
- package/dist/types/UI/surfaces/NestedGrid/NestedGrid.d.ts +18 -0
- package/dist/types/UI/surfaces/NestedGrid/ui/ExpandRenderer.d.ts +5 -0
- package/dist/types/UI/surfaces/SideSheet.d.ts +60 -0
- package/dist/types/UI/surfaces/cards/AmbientCard.d.ts +1 -0
- package/dist/types/UI/surfaces/cards/AmbientCardTitle.d.ts +32 -0
- package/dist/types/UI/surfaces/cards/AmbientVisualizationCard.d.ts +10 -0
- package/dist/types/UI/surfaces/cards/BioCard.d.ts +10 -0
- package/dist/types/UI/surfaces/cards/ContentDisplayCard.d.ts +19 -0
- package/dist/types/UI/surfaces/cards/FUICard.d.ts +4 -0
- package/dist/types/UI/surfaces/cards/FUICardHeader.d.ts +2 -0
- package/dist/types/UI/surfaces/cards/FluentCard.d.ts +4 -0
- package/dist/types/UI/surfaces/cards/FluentCardActions.d.ts +4 -0
- package/dist/types/UI/surfaces/cards/FluentCardContent.d.ts +4 -0
- package/dist/types/UI/surfaces/cards/FluentCardHeader.d.ts +4 -0
- package/dist/types/UI/surfaces/cards/FluentCardText.d.ts +1 -0
- package/dist/types/UI/surfaces/cards/InfoCard.d.ts +54 -0
- package/dist/types/UI/surfaces/cards/QuickViewCard.d.ts +14 -0
- package/dist/types/UI/surfaces/cards/newsCard/NewsCard.d.ts +34 -0
- package/dist/types/UI/surfaces/cards/workOrderCard/WorkOrderCard.d.ts +12 -0
- package/dist/types/UI/surfaces/cards/workOrderCard/WorkOrderHeader.d.ts +4 -0
- package/dist/types/UI/templates/AmbientGridTemplate.d.ts +122 -0
- package/dist/types/UI/templates/DraggableSidebarTemplate.d.ts +1 -0
- package/dist/types/UI/templates/OpenPage.d.ts +4 -0
- package/dist/types/UI/templates/SapFlexibleTemplate.d.ts +5 -0
- package/dist/types/UI/templates/ToggleSection.d.ts +31 -0
- package/dist/types/UI/templates/UdpCalendar.d.ts +1 -0
- package/dist/types/UI/templates/UdpCalendarDayView.d.ts +1 -0
- package/dist/types/UI/templates/UdpCalendarMonthView.d.ts +1 -0
- package/dist/types/UI/templates/UdpCalendarWeekView.d.ts +1 -0
- package/dist/types/UI/templates/UdpCalendarYearView.d.ts +1 -0
- package/dist/types/UI/templates/UdpGridTemplate.d.ts +1 -0
- package/dist/types/UI/templates/newGrid/ApiMethodInstanceUdpGrid.d.ts +1 -0
- package/dist/types/UI/templates/newGrid/ApiMethodUdpGrid.d.ts +1 -0
- package/dist/types/UI/templates/newGrid/BackwardsCompatibleGrid.d.ts +5 -0
- package/dist/types/UI/templates/newGrid/ClientSideUdpGrid.d.ts +1 -0
- package/dist/types/UI/templates/newGrid/EntityMaintenanceUdpGrid.d.ts +2 -0
- package/dist/types/UI/templates/newGrid/ServerSideUdpGrid.d.ts +1 -0
- package/dist/types/UI/templates/ui/ExtenderToggle.d.ts +17 -0
- package/dist/types/UI/templates/ui/GridGroupingHeader.d.ts +16 -0
- package/dist/types/UI/templates/ui/GridGroupingSidebar.d.ts +37 -0
- package/dist/types/UI/templates/ui/GridSidebarContainer.d.ts +10 -0
- package/dist/types/UI/templates/ui/TokenGroupItem.d.ts +24 -0
- package/dist/types/UI/templates/ui/renderers/ActionsRenderer.d.ts +1 -0
- package/dist/types/UI/templates/ui/renderers/IconRenderer.d.ts +4 -0
- package/dist/types/UI/templates/ui/renderers/StatusCellRenderer.d.ts +1 -0
- package/dist/types/UI/timeline/ExtendActions.d.ts +2 -0
- package/dist/types/UI/timeline/ExtendedHeader.d.ts +2 -0
- package/dist/types/UI/timeline/TimeEntryStates.d.ts +1 -0
- package/dist/types/UI/timeline/TimeLine.d.ts +6 -0
- package/dist/types/UI/timeline/TimelineElement.d.ts +2 -0
- package/dist/types/UI/timeline/UdpTimeline.d.ts +1 -0
- package/dist/types/UI/timeline/UdpTimelineContent.d.ts +1 -0
- package/dist/types/UI/timeline/UdpTimelineDot.d.ts +1 -0
- package/dist/types/UI/timeline/UdpTimelineItem.d.ts +1 -0
- package/dist/types/UI/timeline/UdpTimelineItemConnector.d.ts +1 -0
- package/dist/types/UI/timeline/UdpTimelineItemSeparator.d.ts +1 -0
- package/dist/types/UI/timeline/fluentTimeline/FluentTimeline.d.ts +1 -0
- package/dist/types/UI/timeline/fluentTimeline/FluentTimelineContent.d.ts +1 -0
- package/dist/types/UI/timeline/fluentTimeline/FluentTimelineHeader.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/AggregateChip.d.ts +13 -0
- package/dist/types/UI/utilityDisplay/BulkActionsGridButton.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/ChipSection.d.ts +41 -0
- package/dist/types/UI/utilityDisplay/Divider.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/FormControl.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/FormControlLabel.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/GridActionBar.d.ts +37 -0
- package/dist/types/UI/utilityDisplay/GridPrimaryBar.d.ts +83 -0
- package/dist/types/UI/utilityDisplay/GridViewsSideSheet.d.ts +17 -0
- package/dist/types/UI/utilityDisplay/IndicatorChip.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/InputAdornment.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/SaveViewFormDialog.d.ts +4 -0
- package/dist/types/UI/utilityDisplay/UtilityBar.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/UtilitySideBar.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/alerts/UdpAlert.d.ts +9 -0
- package/dist/types/UI/utilityDisplay/alerts/UdpAlertsContainer.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/ui/UtilitySearch.d.ts +5 -0
- package/dist/types/UI/utilityDisplay/utilities/aggregateUtils.d.ts +1 -0
- package/dist/types/UI/utilityDisplay/utilityHeader/PrimaryActionHeader.d.ts +148 -0
- package/dist/types/UI/utilityDisplay/utilityHeader/UtilityTabHeader.d.ts +6 -0
- package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalRightComponent.d.ts +4 -0
- package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHAdditionalTitleComponent.d.ts +4 -0
- package/dist/types/UI/utilityDisplay/utilityHeader/ui/PAHExport.d.ts +5 -0
- package/dist/types/UI/utilityDisplay/utilityHeader/ui/TeleporterSource.d.ts +8 -0
- package/dist/types/UI/utilityDisplay/utilityHeader/ui/teleporter.d.ts +1 -0
- package/dist/types/UI/widgets/FluentComponents/ChartSummaryToggle.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/FUIMenuItem.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/SimpleTable.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/atoms/FluentDisplayNumbers.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/atoms/FluentStatsSnippet.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/atoms/FluentTrendArrow.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/molecules/FluentPrimaryStatNumber.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/molecules/FluentStatNumber.d.ts +2 -0
- package/dist/types/UI/widgets/FluentComponents/molecules/FluentTimeline.d.ts +2 -0
- package/dist/types/UI/widgets/ItemsWidgetCard.d.ts +46 -0
- package/dist/types/UI/widgets/WidgetCard.d.ts +5 -0
- package/dist/types/UI/widgets/library/BarChartWidget.d.ts +19 -0
- package/dist/types/UI/widgets/library/BubbleWidget.d.ts +19 -0
- package/dist/types/UI/widgets/library/CircleGaugeWidget.d.ts +19 -0
- package/dist/types/UI/widgets/library/DateTrendWidget.d.ts +14 -0
- package/dist/types/UI/widgets/library/DensePlotWidget.d.ts +19 -0
- package/dist/types/UI/widgets/library/DonutChartWidget.d.ts +14 -0
- package/dist/types/UI/widgets/library/GaugeWidget.d.ts +23 -0
- package/dist/types/UI/widgets/library/LineAndSparklinesWidget.d.ts +14 -0
- package/dist/types/UI/widgets/library/LineGraphWidget.d.ts +19 -0
- package/dist/types/UI/widgets/library/ProgressBarWidget.d.ts +14 -0
- package/dist/types/UI/widgets/library/RecentlyLoadedNodesWidget.d.ts +7 -0
- package/dist/types/UI/widgets/library/RemindersWidget.d.ts +3 -0
- package/dist/types/UI/widgets/library/SparklineWidget.d.ts +14 -0
- package/dist/types/UI/widgets/library/SparsePlotWidget.d.ts +19 -0
- package/dist/types/UI/widgets/library/TableWidget.d.ts +14 -0
- package/dist/types/UI/widgets/utils/ConvertISODate.d.ts +1 -0
- package/dist/types/UI/widgets/utils/NumberVisualization.d.ts +2 -0
- package/dist/types/UI/widgets/utils/dateUtils.d.ts +3 -0
- package/dist/types/UI/widgets/utils/useId.d.ts +4 -0
- package/dist/types/actions/ActionForm.d.ts +29 -0
- package/dist/types/actions/ActionModal.d.ts +1 -0
- package/dist/types/actions/ActionPanelPlacement.d.ts +17 -0
- package/dist/types/actions/ActionSideSheet.d.ts +33 -0
- package/dist/types/actions/ActionSpeedDial.d.ts +13 -0
- package/dist/types/actions/ActionSplitScreen.d.ts +14 -0
- package/dist/types/actions/ActionWrapper.d.ts +12 -0
- package/dist/types/actions/PageActionWrapper.d.ts +1 -0
- package/dist/types/actions/actionSummary/ActionSummaryCard.d.ts +13 -0
- package/dist/types/actions/actionSummary/ActionSummaryHeader.d.ts +8 -0
- package/dist/types/actions/actionSummary/ActionSummaryListContainer.d.ts +8 -0
- package/dist/types/actions/actionSummary/ActionSummaryListItem.d.ts +10 -0
- package/dist/types/actions/actionSummary/ActionSummaryPopover.d.ts +17 -0
- package/dist/types/actions/actionSummary/index.d.ts +5 -0
- package/dist/types/actions/sidebar/EntitySideBarContent.d.ts +1 -0
- package/dist/types/actions/utils/actionUtils.d.ts +3 -0
- package/dist/types/assets/unityIcons/LibraryData.d.ts +9 -0
- package/dist/types/chatBot/ChatContainer.d.ts +1 -0
- package/dist/types/chatBot/ChatMessage.d.ts +1 -0
- package/dist/types/componentSystems/multiThreadTimeline/functions/mttFunctions.d.ts +8 -0
- package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/HeightAdjust.d.ts +4 -0
- package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/MttMainTimeline.d.ts +1 -0
- package/dist/types/componentSystems/multiThreadTimeline/mttMainTimeline/MttTimeline.d.ts +3 -0
- package/dist/types/componentSystems/multiThreadTimeline/mttSummary/MttSummary.d.ts +6 -0
- package/dist/types/componentSystems/multiThreadTimeline/timeline.d.ts +26 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/CircleButton.d.ts +6 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/DateWrapper.d.ts +14 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/DynamicRangeSlider.d.ts +1 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/MttYearTag.d.ts +8 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/MultiDot.d.ts +9 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/SummaryToken.d.ts +18 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineDateBar.d.ts +13 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineDot.d.ts +9 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineHoverCard.d.ts +9 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineNode.d.ts +2 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelinePreloaderNode.d.ts +10 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineStatus.d.ts +6 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineToggleButton.d.ts +20 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineTokenSummary.d.ts +22 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineTopRowFilter.d.ts +16 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/TimelineWrapper.d.ts +11 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/VisualizationDot.d.ts +11 -0
- package/dist/types/componentSystems/multiThreadTimeline/ui/modified/TimelineToken.d.ts +18 -0
- package/dist/types/componentSystems/pageRenderer/PageRenderer.d.ts +9 -0
- package/dist/types/componentSystems/pageRenderer/hocs/withEngineComponent.d.ts +1 -0
- package/dist/types/componentSystems/pageRenderer/hooks/useReadMetaData.d.ts +34 -0
- package/dist/types/componentSystems/pageRenderer/utils/TableColumnDefs.d.ts +9 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/AgGridSimpleWrapper.d.ts +13 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/BarChartWrapper.d.ts +7 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/BioCardWrapper.d.ts +1 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.d.ts +1 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/DonutWrapper.d.ts +7 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/HistogramWrapper.d.ts +1 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/LineGraphWrapper.d.ts +1 -0
- package/dist/types/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.d.ts +1 -0
- package/dist/types/constants/reminderConstants.d.ts +4 -0
- package/dist/types/containers/IframeContainer.d.ts +1 -0
- package/dist/types/contexts/ActionContext.d.ts +1 -0
- package/dist/types/contexts/ActionDispatchContext.d.ts +1 -0
- package/dist/types/contexts/ActionLoadingContext.d.ts +1 -0
- package/dist/types/contexts/ActionLoadingDispatchContext.d.ts +1 -0
- package/dist/types/contexts/PageContext.d.ts +15 -0
- package/dist/types/contexts/usePageContext.d.ts +1 -0
- package/dist/types/dashboard/DashboardCardGrid.d.ts +7 -0
- package/dist/types/dashboard/DashboardWidget.d.ts +2 -0
- package/dist/types/dashboard/WidgetCard.d.ts +4 -0
- package/dist/types/dashboard/getWidgetLayout.d.ts +5 -0
- package/dist/types/dashboard/types.d.ts +27 -0
- package/dist/types/dataBrowser/DataBrowserColumnDefs.d.ts +9 -0
- package/dist/types/dataBrowser/DataBrowserContainer.d.ts +1 -0
- package/dist/types/dataBrowser/forms/ParamsMappingFields.d.ts +1 -0
- package/dist/types/dataBrowser/forms/ParamsMappingForm.d.ts +1 -0
- package/dist/types/dataBrowser/forms/RequiredFieldsMappingField.d.ts +1 -0
- package/dist/types/dataBrowser/forms/RequiredFieldsMappingForm.d.ts +1 -0
- package/dist/types/diffChecker/DiffChecker.d.ts +6 -0
- package/dist/types/enums/InputFieldTypeEnums.d.ts +9 -0
- package/dist/types/enums/aggridEnums.d.ts +46 -0
- package/dist/types/enums/menuEnums.d.ts +6 -0
- package/dist/types/enums/pageEnums.d.ts +14 -0
- package/dist/types/enums/paymentMethodTypeEnum.d.ts +6 -0
- package/dist/types/enums/paymentTenderTypeEnum.d.ts +8 -0
- package/dist/types/enums/paymentVendorFactoryEnum.d.ts +10 -0
- package/dist/types/enums/propertyTypeEnums.d.ts +9 -0
- package/dist/types/enums/searchEnums.d.ts +5 -0
- package/dist/types/enums/tagEnums.d.ts +5 -0
- package/dist/types/enums/unitySystemEnums.d.ts +243 -0
- package/dist/types/enums/workflowEnums.d.ts +41 -0
- package/dist/types/hooks/crudActions.d.ts +5 -0
- package/dist/types/hooks/useActions.d.ts +17 -0
- package/dist/types/hooks/useApiCatalog.d.ts +6 -0
- package/dist/types/hooks/useDateLocale.d.ts +7 -0
- package/dist/types/hooks/useDynamicListCalculation.d.ts +20 -0
- package/dist/types/hooks/useFluentIcon.d.ts +3 -0
- package/dist/types/hooks/useItemSubCard.d.ts +10 -0
- package/dist/types/hooks/useOutlook.d.ts +6 -0
- package/dist/types/hooks/useProductVersion.d.ts +1 -0
- package/dist/types/hooks/usePromotedLookupMethods.d.ts +5 -0
- package/dist/types/hooks/usePromotedMethodEntity.d.ts +5 -0
- package/dist/types/hooks/useQueryExecutors.d.ts +23 -0
- package/dist/types/hooks/useSearchFilterParamsMap.d.ts +6 -0
- package/dist/types/hooks/useSetLocationState.d.ts +1 -0
- package/dist/types/hooks/useSplitDecimal.d.ts +8 -0
- package/dist/types/hooks/useUpdateSearchParams.d.ts +1 -0
- package/dist/types/hooks/useWorkflow.d.ts +3 -0
- package/dist/types/hooks/virtualActions.d.ts +3 -0
- package/dist/types/index.d.ts +444 -0
- package/dist/types/index.test.d.ts +1 -0
- package/dist/types/inquiry/AlertFlag.d.ts +4 -0
- package/dist/types/inquiry/AmbientListItem.d.ts +4 -0
- package/dist/types/inquiry/AmbientSplitStatCard.d.ts +4 -0
- package/dist/types/inquiry/AmbientSummaryListHeader.d.ts +4 -0
- package/dist/types/inquiry/EmbeddedInquiry.d.ts +2 -0
- package/dist/types/inquiry/ExecuteApiDialog.d.ts +1 -0
- package/dist/types/inquiry/FilterSearch.d.ts +3 -0
- package/dist/types/inquiry/FlagBlock.d.ts +4 -0
- package/dist/types/inquiry/Inquiry.d.ts +29 -0
- package/dist/types/inquiry/InquiryContainer.d.ts +28 -0
- package/dist/types/inquiry/InquiryTreeMenu.d.ts +1 -0
- package/dist/types/inquiry/InquiryTreeMenuItem.d.ts +1 -0
- package/dist/types/inquiry/InquiryWrapper.d.ts +1 -0
- package/dist/types/inquiry/ItemDescription.d.ts +4 -0
- package/dist/types/inquiry/NodeColumnHeader.d.ts +5 -0
- package/dist/types/inquiry/NodeDetails.d.ts +1 -0
- package/dist/types/inquiry/NodeList.d.ts +1 -0
- package/dist/types/inquiry/ToggleButton.d.ts +4 -0
- package/dist/types/inquiry/dashboard/InquiryDashboard.d.ts +1 -0
- package/dist/types/inquiry/dashboard/RecentlyLoadedNodesTable.d.ts +1 -0
- package/dist/types/inquiry/inquiryBar/InquiryControlList.d.ts +11 -0
- package/dist/types/inquiry/inquiryBar/InquiryNodeControls.d.ts +1 -0
- package/dist/types/inquiry/search/InquiryAdvancedSearch.d.ts +1 -0
- package/dist/types/inquiry/search/InquiryAdvancedSearchForm.d.ts +1 -0
- package/dist/types/inquiry/search/InquirySearchContainer.d.ts +1 -0
- package/dist/types/inquiry/search/InquirySearchDatasource.d.ts +4 -0
- package/dist/types/inquiry/search/InquirySearchTable.d.ts +1 -0
- package/dist/types/layout/GridGroup.d.ts +10 -0
- package/dist/types/layout/GridRow.d.ts +5 -0
- package/dist/types/layout/GridUnit.d.ts +1 -0
- package/dist/types/layout/HeaderLayout.d.ts +3 -0
- package/dist/types/layout/LayoutUnit.d.ts +2 -0
- package/dist/types/layout/getRatio.d.ts +1 -0
- package/dist/types/layout/templates/SideBarTemplate.d.ts +4 -0
- package/dist/types/maintenanceEngine/crudBrowser/CrudBrowserContainer.d.ts +1 -0
- package/dist/types/maintenanceEngine/crudBrowser/CrudTableActionRender.d.ts +2 -0
- package/dist/types/maintenanceEngine/crudBrowser/CrudTableColumnDefs.d.ts +9 -0
- package/dist/types/maintenanceEngine/crudBrowser/CrudTableSidePanel.d.ts +29 -0
- package/dist/types/maintenanceEngine/entityAttributeActions.d.ts +1 -0
- package/dist/types/maintenanceEngine/tableBrowser/TableColumnDefs.d.ts +46 -0
- package/dist/types/maintenanceEngine/tableBrowser/TableContainer.d.ts +1 -0
- package/dist/types/maintenanceEngine/virtualBrowser/VirtualBrowser.d.ts +1 -0
- package/dist/types/maintenanceEngine/virtualBrowser/VirtualTableColumnDefs.d.ts +9 -0
- package/dist/types/maintenanceEngine/virtualBrowser/VirtualTableSidePanel.d.ts +25 -0
- package/dist/types/map-library/Controls/Controls.d.ts +3 -0
- package/dist/types/map-library/Controls/CustomControl.d.ts +9 -0
- package/dist/types/map-library/Controls/FullScreenControl.d.ts +1 -0
- package/dist/types/map-library/Controls/ZoomControl.d.ts +1 -0
- package/dist/types/map-library/Controls/index.d.ts +5 -0
- package/dist/types/map-library/Layers/ImageLayer.d.ts +4 -0
- package/dist/types/map-library/Layers/Layers.d.ts +3 -0
- package/dist/types/map-library/Layers/TileLayer.d.ts +4 -0
- package/dist/types/map-library/Layers/VectorLayer.d.ts +6 -0
- package/dist/types/map-library/Layers/index.d.ts +5 -0
- package/dist/types/map-library/Map/Map.d.ts +23 -0
- package/dist/types/map-library/Map/MapContext.d.ts +2 -0
- package/dist/types/map-library/Map/index.d.ts +1 -0
- package/dist/types/map-library/Source/index.d.ts +4 -0
- package/dist/types/map-library/Source/osm.d.ts +3 -0
- package/dist/types/map-library/Source/vector.d.ts +9 -0
- package/dist/types/map-library/Source/xyz.d.ts +7 -0
- package/dist/types/map-library/functions/mapFunctions.d.ts +2 -0
- package/dist/types/map-library/geoLocation/FreeFormField.d.ts +1 -0
- package/dist/types/map-library/geoLocation/GeoLocation.d.ts +3 -0
- package/dist/types/map-library/ui/ControlZoom.d.ts +2 -0
- package/dist/types/map-library/ui/Filter.d.ts +2 -0
- package/dist/types/map-library/ui/FilterOptions.d.ts +2 -0
- package/dist/types/map-library/ui/LocationPin.d.ts +2 -0
- package/dist/types/map-library/ui/MapControls.d.ts +2 -0
- package/dist/types/map-library/ui/MapControlsStandard.d.ts +2 -0
- package/dist/types/map-library/ui/MapFilterBar.d.ts +1 -0
- package/dist/types/map-library/ui/MapSheet.d.ts +1 -0
- package/dist/types/map-library/ui/Position.d.ts +2 -0
- package/dist/types/map-library/ui/TileDisplay.d.ts +1 -0
- package/dist/types/map-library/ui/ToggleViewType.d.ts +2 -0
- package/dist/types/maps/GeoMap.d.ts +3 -0
- package/dist/types/maps/leafletMaps/FluentImageMap.d.ts +13 -0
- package/dist/types/maps/leafletMaps/FluentMap.d.ts +26 -0
- package/dist/types/maps/leafletMaps/ui/MapContent.d.ts +13 -0
- package/dist/types/maps/leafletMaps/ui/MapMarker.d.ts +1 -0
- package/dist/types/maps/openLayerMaps/Controls/Controls.d.ts +4 -0
- package/dist/types/maps/openLayerMaps/Controls/FullScreenControl.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/Controls/index.d.ts +3 -0
- package/dist/types/maps/openLayerMaps/Layers/ImageLayer.d.ts +4 -0
- package/dist/types/maps/openLayerMaps/Layers/Layers.d.ts +3 -0
- package/dist/types/maps/openLayerMaps/Layers/TileLayer.d.ts +4 -0
- package/dist/types/maps/openLayerMaps/Layers/VectorLayer.d.ts +5 -0
- package/dist/types/maps/openLayerMaps/Layers/index.d.ts +5 -0
- package/dist/types/maps/openLayerMaps/Map/Map.d.ts +7 -0
- package/dist/types/maps/openLayerMaps/Map/MapContext.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/Map/index.d.ts +1 -0
- package/dist/types/maps/openLayerMaps/Source/index.d.ts +4 -0
- package/dist/types/maps/openLayerMaps/Source/osm.d.ts +3 -0
- package/dist/types/maps/openLayerMaps/Source/vector.d.ts +9 -0
- package/dist/types/maps/openLayerMaps/Source/xyz.d.ts +7 -0
- package/dist/types/maps/openLayerMaps/ui/ControlZoom.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/ui/Filter.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/ui/LocationPin.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/ui/MapControls.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/ui/MapControlsStandard.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/ui/Position.d.ts +2 -0
- package/dist/types/maps/openLayerMaps/ui/ToggleViewType.d.ts +2 -0
- package/dist/types/menuPage/MenuPage.d.ts +1 -0
- package/dist/types/models/ApiMethodInstance.d.ts +10 -0
- package/dist/types/models/GroupNode.d.ts +13 -0
- package/dist/types/models/Lookup.d.ts +6 -0
- package/dist/types/models/NumberOperator.d.ts +14 -0
- package/dist/types/models/QueryResult.d.ts +9 -0
- package/dist/types/models/SearchOperator.d.ts +17 -0
- package/dist/types/notes/NotesScreen.d.ts +1 -0
- package/dist/types/page/Page.d.ts +2 -0
- package/dist/types/page/PageContainer.d.ts +1 -0
- package/dist/types/page/PageContent.d.ts +4 -0
- package/dist/types/page/PageHeader.d.ts +6 -0
- package/dist/types/page/PageSectionHeader.d.ts +1 -0
- package/dist/types/page/PageSectionSpacer.d.ts +4 -0
- package/dist/types/reminders/CompleteReminderSwitch.d.ts +1 -0
- package/dist/types/reminders/RemindersCard.d.ts +1 -0
- package/dist/types/reminders/RemindersScreen.d.ts +1 -0
- package/dist/types/reports/PowerBIReport.d.ts +1 -0
- package/dist/types/routes/PrivateRoute.d.ts +3 -0
- package/dist/types/routes/UdpRoutes.d.ts +1 -0
- package/dist/types/routes/components/PageForbiddenRoute.d.ts +1 -0
- package/dist/types/routes/components/PageNotFoundRoute.d.ts +1 -0
- package/dist/types/routes/components/PageStatus.d.ts +1 -0
- package/dist/types/routes/components/PasswordResetRedirect.d.ts +1 -0
- package/dist/types/shell/Shell.d.ts +73 -0
- package/dist/types/shell/ui/AmbientProjectSwitcher.d.ts +17 -0
- package/dist/types/shell/ui/EnvironmentRibbon.d.ts +3 -0
- package/dist/types/shell/ui/FluentProfileMenuCard.d.ts +1 -0
- package/dist/types/shell/ui/HelpCenter.d.ts +1 -0
- package/dist/types/shell/ui/LanguageSwitcher.d.ts +1 -0
- package/dist/types/shell/ui/MiniCollapsibleSidebar.d.ts +2 -0
- package/dist/types/shell/ui/NavigationSidebar.d.ts +2 -0
- package/dist/types/shell/ui/SidebarCollapseButton.d.ts +4 -0
- package/dist/types/shell/ui/SidebarListItem.d.ts +5 -0
- package/dist/types/shell/ui/SiteHeader.d.ts +17 -0
- package/dist/types/shell/ui/SiteHeaderRightComponent.d.ts +9 -0
- package/dist/types/shell/ui/UserAvatar.d.ts +9 -0
- package/dist/types/shell/ui/addUser/PasswordValidator.d.ts +10 -0
- package/dist/types/shell/ui/addUser/UserForm.d.ts +2 -0
- package/dist/types/shell/ui/addUser/UserFormFields.d.ts +2 -0
- package/dist/types/shell/ui/addUser/UserFormSideSheet.d.ts +5 -0
- package/dist/types/shell/ui/appSwitcher/FUIAppHeader.d.ts +2 -0
- package/dist/types/shell/ui/appSwitcher/FUIAppList.d.ts +2 -0
- package/dist/types/shell/ui/appSwitcher/FUIAppListItem.d.ts +2 -0
- package/dist/types/shell/ui/appSwitcher/FUIAppSwitcher.d.ts +2 -0
- package/dist/types/shell/ui/appSwitcher/ProductAppList.d.ts +2 -0
- package/dist/types/shell/ui/appSwitcher/ProductAppListItem.d.ts +2 -0
- package/dist/types/shell/ui/appSwitcher/UnityApps.d.ts +2 -0
- package/dist/types/stores/actionStore.d.ts +12 -0
- package/dist/types/stores/catalogStore.d.ts +10 -0
- package/dist/types/stores/inquiryStore.d.ts +21 -0
- package/dist/types/stores/lookupsStore.d.ts +8 -0
- package/dist/types/stores/shellStore.d.ts +21 -0
- package/dist/types/stores/teleporterStore.d.ts +13 -0
- package/dist/types/stores/tenantStore.d.ts +12 -0
- package/dist/types/stores/workflowStore.d.ts +15 -0
- package/dist/types/stories/Button.d.ts +41 -0
- package/dist/types/stories/Button.stories.d.ts +35 -0
- package/dist/types/stories/Header.d.ts +18 -0
- package/dist/types/stories/Header.stories.d.ts +23 -0
- package/dist/types/stories/Page.d.ts +18 -0
- package/dist/types/stories/Page.stories.d.ts +23 -0
- package/dist/types/treeMenu/BaseTreeMenu.d.ts +1 -0
- package/dist/types/treeMenu/BaseTreeMenuItem.d.ts +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/dist/types/udp/ShortcutContent/ListSearch.d.ts +1 -0
- package/dist/types/udp/ShortcutContent/ShortcutContentFinder.d.ts +1 -0
- package/dist/types/udp/export/ExportSidesheet.d.ts +1 -0
- package/dist/types/udp/export/MyExportsPage.d.ts +1 -0
- package/dist/types/udp/export/VisualSearchObject.d.ts +3 -0
- package/dist/types/udp/export/useUdpExport.d.ts +14 -0
- package/dist/types/udp/fileImportMapping/FileImportConfigCard.d.ts +1 -0
- package/dist/types/udp/fileImportMapping/FileImportMappingEnums.d.ts +6 -0
- package/dist/types/udp/fileImportMapping/FileImportMappingWizard.d.ts +2 -0
- package/dist/types/udp/fileImportMapping/ImportDataFromFileMapping.d.ts +1 -0
- package/dist/types/udp/fileImportMapping/SampleFileImportGrid.d.ts +1 -0
- package/dist/types/udp/fileImportMapping/fileUtils.d.ts +3 -0
- package/dist/types/udp/pages/ChatUDP.d.ts +2 -0
- package/dist/types/udp/pages/UdpDataBrowserPage.d.ts +21 -0
- package/dist/types/udp/pages/UdpFormsBuilderPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpFormsListPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpGridPanelManagementPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpGridPanelManagementSidesheet.d.ts +31 -0
- package/dist/types/udp/pages/UdpImportFromFileMappingPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpInquiryMaintenanceEnginePage.d.ts +2 -0
- package/dist/types/udp/pages/UdpMaintenanceConfigPage.d.ts +1 -0
- package/dist/types/udp/pages/UdpMaintenanceEnginePage.d.ts +2 -0
- package/dist/types/udp/pages/UdpNotesPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpPrivateForm.d.ts +2 -0
- package/dist/types/udp/pages/UdpPublicForm.d.ts +2 -0
- package/dist/types/udp/pages/UdpRemindersPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpReportsPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpVerticalManagementPage.d.ts +2 -0
- package/dist/types/udp/pages/UdpVerticalManagementSidesheet.d.ts +2 -0
- package/dist/types/udp/pages/udpPages.d.ts +40 -0
- package/dist/types/udp/utilities/methodUtils.d.ts +5 -0
- package/dist/types/uploader/DragDropFileUpload.d.ts +35 -0
- package/dist/types/uploader/FileProfile.d.ts +2 -0
- package/dist/types/uploader/FileType.d.ts +1 -0
- package/dist/types/uploader/FileUpload.d.ts +2 -0
- package/dist/types/uploader/ImagePreview.d.ts +2 -0
- package/dist/types/utilities/CustomNavigationClient.d.ts +11 -0
- package/dist/types/utilities/DemoJuly/redirectToProduct.d.ts +14 -0
- package/dist/types/utilities/FluentIcon.d.ts +4 -0
- package/dist/types/utilities/TrimForAvatar.d.ts +1 -0
- package/dist/types/utilities/UnityFluentIcon.d.ts +1 -0
- package/dist/types/utilities/UnityIcon.d.ts +1 -0
- package/dist/types/utilities/aggrid/AgTable.d.ts +36 -0
- package/dist/types/utilities/aggrid/GridFunctions.d.ts +9 -0
- package/dist/types/utilities/aggrid/SplitButton.d.ts +4 -0
- package/dist/types/utilities/aggrid/aggridHelpers.d.ts +1 -0
- package/dist/types/utilities/aggrid/datasources/SearchServiceDatasource.d.ts +4 -0
- package/dist/types/utilities/apiHelpers.d.ts +12 -0
- package/dist/types/utilities/auth/AuthDialogs.d.ts +2 -0
- package/dist/types/utilities/auth/AuthProvider.d.ts +5 -0
- package/dist/types/utilities/auth/AuthProviderWrapper.d.ts +1 -0
- package/dist/types/utilities/auth/UserProvider.d.ts +2 -0
- package/dist/types/utilities/auth/authActions.d.ts +9 -0
- package/dist/types/utilities/auth/internal.d.ts +10 -0
- package/dist/types/utilities/auth/signInAuthProvider.d.ts +5 -0
- package/dist/types/utilities/auth/useAccessToken.d.ts +1 -0
- package/dist/types/utilities/auth/useAuthedUser.d.ts +16 -0
- package/dist/types/utilities/auth/useIsUnityAuthenticated.d.ts +1 -0
- package/dist/types/utilities/auth/useSingleLogout.d.ts +2 -0
- package/dist/types/utilities/auth/useUser.d.ts +8 -0
- package/dist/types/utilities/auth/user.d.ts +29 -0
- package/dist/types/utilities/auth/users.d.ts +8 -0
- package/dist/types/utilities/auth/whitelistedPaths.d.ts +1 -0
- package/dist/types/utilities/axiosInterceptors.d.ts +2 -0
- package/dist/types/utilities/brand.d.ts +23 -0
- package/dist/types/utilities/chatBot/ChatBotContext.d.ts +1 -0
- package/dist/types/utilities/chatBot/ChatBotProvider.d.ts +3 -0
- package/dist/types/utilities/chatBot/useChatBot.d.ts +6 -0
- package/dist/types/utilities/crud/useDefaultFormValues.d.ts +6 -0
- package/dist/types/utilities/customIcons/ApprovalIcon.d.ts +6 -0
- package/dist/types/utilities/customIcons/RejectIcon.d.ts +4 -0
- package/dist/types/utilities/entities/entityUtilities.d.ts +3 -0
- package/dist/types/utilities/floorplanFunctions/gridVisualizationFunctions.d.ts +2 -0
- package/dist/types/utilities/form/AltSubmitButton.d.ts +14 -0
- package/dist/types/utilities/form/Field.d.ts +23 -0
- package/dist/types/utilities/form/Form.d.ts +7 -0
- package/dist/types/utilities/form/FormButtons.d.ts +3 -0
- package/dist/types/utilities/form/FormError.d.ts +7 -0
- package/dist/types/utilities/form/FormSpy.d.ts +10 -0
- package/dist/types/utilities/form/SubmitButton.d.ts +14 -0
- package/dist/types/utilities/form/arrayMutators.d.ts +2 -0
- package/dist/types/utilities/form/final-form-scroll/createDecorator.d.ts +5 -0
- package/dist/types/utilities/form/final-form-scroll/findInput.d.ts +2 -0
- package/dist/types/utilities/form/final-form-scroll/getAllInputs.d.ts +2 -0
- package/dist/types/utilities/form/final-form-scroll/isFocusableInput.d.ts +2 -0
- package/dist/types/utilities/form/formHooks.d.ts +12 -0
- package/dist/types/utilities/form/index.d.ts +9 -0
- package/dist/types/utilities/form/paymentForm/AccountPayment.model.d.ts +143 -0
- package/dist/types/utilities/form/paymentForm/BankAccountForm.d.ts +48 -0
- package/dist/types/utilities/form/paymentForm/BankIcon.d.ts +7 -0
- package/dist/types/utilities/form/paymentForm/CashForm.d.ts +9 -0
- package/dist/types/utilities/form/paymentForm/CashIcon.d.ts +7 -0
- package/dist/types/utilities/form/paymentForm/CheckIcon.d.ts +7 -0
- package/dist/types/utilities/form/paymentForm/CreditCardAdornment.d.ts +12 -0
- package/dist/types/utilities/form/paymentForm/CreditCardForm.d.ts +41 -0
- package/dist/types/utilities/form/paymentForm/CreditCardIcon.d.ts +7 -0
- package/dist/types/utilities/form/paymentForm/CreditCardUtils.d.ts +42 -0
- package/dist/types/utilities/form/paymentForm/DisableOverlay.d.ts +7 -0
- package/dist/types/utilities/form/paymentForm/HostedPaymentError.d.ts +20 -0
- package/dist/types/utilities/form/paymentForm/NewCreditCardForm.d.ts +18 -0
- package/dist/types/utilities/form/paymentForm/NewECheckForm.d.ts +15 -0
- package/dist/types/utilities/form/paymentForm/PaymentAccount.model.d.ts +81 -0
- package/dist/types/utilities/form/paymentForm/PaymentBankDetails.d.ts +12 -0
- package/dist/types/utilities/form/paymentForm/PaymentBoxDetail.d.ts +32 -0
- package/dist/types/utilities/form/paymentForm/PaymentCard.d.ts +12 -0
- package/dist/types/utilities/form/paymentForm/PaymentCardDetail.d.ts +19 -0
- package/dist/types/utilities/form/paymentForm/PaymentDropdown.d.ts +32 -0
- package/dist/types/utilities/form/paymentForm/PaymentForm.d.ts +77 -0
- package/dist/types/utilities/form/paymentForm/TabPanel.d.ts +20 -0
- package/dist/types/utilities/form/paymentForm/usePaymentProviderForm.d.ts +12 -0
- package/dist/types/utilities/form/paymentForm/vendorsForms/FiservForm.d.ts +40 -0
- package/dist/types/utilities/form/paymentForm/vendorsForms/ICheckForm.d.ts +46 -0
- package/dist/types/utilities/form/paymentForm/vendorsForms/PaymentusForm.d.ts +13 -0
- package/dist/types/utilities/form/useFieldChangeListener.d.ts +7 -0
- package/dist/types/utilities/iconLibrary/IconLibrary.d.ts +2 -0
- package/dist/types/utilities/iconLibrary/IconLibraryComponent.d.ts +7 -0
- package/dist/types/utilities/iconLibrary/SelectedLibraryItem.d.ts +2 -0
- package/dist/types/utilities/iconLibrary/UnityIconLibrary.d.ts +7 -0
- package/dist/types/utilities/input/DateUtilities.d.ts +3 -0
- package/dist/types/utilities/input/SelectUtilities.d.ts +3 -0
- package/dist/types/utilities/input/StringUtilities.d.ts +7 -0
- package/dist/types/utilities/isValueSelected.d.ts +3 -0
- package/dist/types/utilities/maintenanceEngine/CrudBrowserUtilities.d.ts +5 -0
- package/dist/types/utilities/menus/menuUtilities.d.ts +1 -0
- package/dist/types/utilities/menus/redirectToLink.d.ts +1 -0
- package/dist/types/utilities/page/PageSubHeaderAction.d.ts +9 -0
- package/dist/types/utilities/provider/ActionProvider.d.ts +1 -0
- package/dist/types/utilities/redirect/ExternalRedirectUrlStorage.d.ts +3 -0
- package/dist/types/utilities/redirect/LocalRedirectUrlStorage.d.ts +5 -0
- package/dist/types/utilities/redirect/pages/OutlookCallback.d.ts +1 -0
- package/dist/types/utilities/rules/RuleUtilities.d.ts +40 -0
- package/dist/types/utilities/search/Search.d.ts +37 -0
- package/dist/types/utilities/search/SearchUtilities.d.ts +15 -0
- package/dist/types/utilities/storage/UnitySessionStorage.d.ts +4 -0
- package/dist/types/utilities/stringUtils.d.ts +8 -0
- package/dist/types/utilities/style/ContentContainer.d.ts +29 -0
- package/dist/types/utilities/style/colorConverter.d.ts +3 -0
- package/dist/types/utilities/style/colors.d.ts +76 -0
- package/dist/types/utilities/style/utils/styleUtils.d.ts +2 -0
- package/dist/types/utilities/style/verticalStyles.d.ts +4 -0
- package/dist/types/utilities/systemColors.d.ts +1 -0
- package/dist/types/utilities/tenant/TenantProvider.d.ts +3 -0
- package/dist/types/utilities/tenant/tenantContext.d.ts +1 -0
- package/dist/types/utilities/tenant/useTenant.d.ts +6 -0
- package/dist/types/utilities/theme.d.ts +6 -0
- package/dist/types/utilities/theme.types.d.ts +11 -0
- package/dist/types/utilities/tree/TreeUtilities.d.ts +81 -0
- package/dist/types/utilities/types.d.ts +31 -0
- package/dist/types/utilities/uploader/FileProfile.d.ts +2 -0
- package/dist/types/utilities/uploader/FileType.d.ts +1 -0
- package/dist/types/utilities/uploader/FileUpload.d.ts +1 -0
- package/dist/types/utilities/uploader/ImagePreview.d.ts +2 -0
- package/dist/types/utilities/uploader/formatBytes.d.ts +1 -0
- package/dist/types/utilities/useAxiosGet.d.ts +21 -0
- package/dist/types/utilities/useAxiosMutate.d.ts +6 -0
- package/dist/types/utilities/useDevicePixelRatio.d.ts +6 -0
- package/dist/types/utilities/useGravatar.d.ts +10 -0
- package/dist/types/utilities/usePrevious.d.ts +2 -0
- package/dist/types/utilities/utilityBar/InquiryHeaderControl.d.ts +9 -0
- package/dist/types/utilities/utilityBar/InquiryHeaderSecondary.d.ts +8 -0
- package/dist/types/utilities/utilityBar/InquiryHeaderSecondaryAlert.d.ts +8 -0
- package/dist/types/utilities/utilityBar/InquiryHeaderTitle.d.ts +8 -0
- package/dist/types/utilities/utilityBar/SubHeaderAction.d.ts +8 -0
- package/dist/types/utilities/utilityBar/UtilityBarInport.d.ts +8 -0
- package/dist/types/utilities/workflow/workflowUtilities.d.ts +47 -0
- package/dist/types/workflow/WorkflowContainer.d.ts +1 -0
- package/dist/types/workflow/WorkflowContent.d.ts +1 -0
- package/dist/types/workflow/WorkflowUiInterruptContent.d.ts +1 -0
- package/dist/types/workflow/components/WorkflowTaskFlow.d.ts +1 -0
- package/dist/types/workflow/menus/WorkflowTreeMenu.d.ts +1 -0
- package/dist/types/workflow/menus/WorkflowTreeMenuItem.d.ts +1 -0
- package/package.json +17 -24
- package/dist/AmbientGridTemplate-CvXWVsCb.cjs +0 -4205
- package/dist/AmbientGridTemplate-CvXWVsCb.cjs.map +0 -1
- package/dist/AmbientGridTemplate-Dq2QYPF2.js +0 -3905
- package/dist/AmbientGridTemplate-Dq2QYPF2.js.map +0 -1
- package/dist/EnvironmentRibbon-CgKsTmQ7.cjs +0 -1558
- package/dist/EnvironmentRibbon-CgKsTmQ7.cjs.map +0 -1
- package/dist/EnvironmentRibbon-DBJftQWQ.js +0 -1108
- package/dist/EnvironmentRibbon-DBJftQWQ.js.map +0 -1
- package/dist/MenuPage-DNywMmn2.cjs +0 -562
- package/dist/MenuPage-DNywMmn2.cjs.map +0 -1
- package/dist/MenuPage-MyE8iJHD.js +0 -561
- package/dist/MenuPage-MyE8iJHD.js.map +0 -1
- package/dist/MyExportsPage-B-xwnIEc.js +0 -724
- package/dist/MyExportsPage-C-NEjmfQ.cjs +0 -8
- package/dist/MyExportsPage-CKwuN1wj.js +0 -8
- package/dist/MyExportsPage-CcO8Mf8y.cjs +0 -778
- package/dist/MyExportsPage-CcO8Mf8y.cjs.map +0 -1
- package/dist/PageContainer-DFKnbhBN.cjs +0 -1858
- package/dist/PageContainer-DFKnbhBN.cjs.map +0 -1
- package/dist/PageContainer-SljTiaZr.js +0 -1756
- package/dist/PageContainer-SljTiaZr.js.map +0 -1
- package/dist/PageNotFoundRoute-BR4QPROq.js +0 -112
- package/dist/PageNotFoundRoute-BR4QPROq.js.map +0 -1
- package/dist/PageNotFoundRoute-B_3_Yw5c.js +0 -3
- package/dist/PageNotFoundRoute-Cu88CEUm.cjs +0 -124
- package/dist/PageNotFoundRoute-Cu88CEUm.cjs.map +0 -1
- package/dist/PageNotFoundRoute-DNBUulJh.cjs +0 -3
- package/dist/PasswordResetRedirect-BXP3ftKb.js +0 -86
- package/dist/PasswordResetRedirect-BXP3ftKb.js.map +0 -1
- package/dist/PasswordResetRedirect-CYJBeZIA.cjs +0 -122
- package/dist/PasswordResetRedirect-CYJBeZIA.cjs.map +0 -1
- package/dist/PasswordResetRedirect-DbPv1Au9.cjs +0 -3
- package/dist/SearchUtilities-BYR03EFr.cjs +0 -232
- package/dist/SearchUtilities-BYR03EFr.cjs.map +0 -1
- package/dist/SearchUtilities-Bl4U_j-0.js +0 -202
- package/dist/SearchUtilities-Bl4U_j-0.js.map +0 -1
- package/dist/SideSheet-DKR15EH5.js +0 -485
- package/dist/SideSheet-DKR15EH5.js.map +0 -1
- package/dist/SideSheet-ERkgeXFG.cjs +0 -575
- package/dist/SideSheet-ERkgeXFG.cjs.map +0 -1
- package/dist/UdpPublicForm-1vK6Ug4-.cjs +0 -5
- package/dist/UdpPublicForm-BNe1yTjb.js.map +0 -1
- package/dist/UdpPublicForm-C8eVm1sb.js +0 -4
- package/dist/UdpPublicForm-fWsuCBoR.cjs +0 -52
- package/dist/UdpPublicForm-fWsuCBoR.cjs.map +0 -1
- package/dist/UtilitySideBar-CoLVUjcV.cjs +0 -2647
- package/dist/UtilitySideBar-CoLVUjcV.cjs.map +0 -1
- package/dist/UtilitySideBar-Dz_17lBo.js +0 -2277
- package/dist/UtilitySideBar-Dz_17lBo.js.map +0 -1
- package/dist/VirtualBrowser-79L67ptM.js +0 -572
- package/dist/VirtualBrowser-79L67ptM.js.map +0 -1
- package/dist/VirtualBrowser-CBJQrZar.cjs +0 -573
- package/dist/VirtualBrowser-CBJQrZar.cjs.map +0 -1
- package/dist/WorkflowContainer-0_Aj2YEQ.js +0 -9
- package/dist/WorkflowContainer-C06Cr059.cjs +0 -9
- package/dist/WorkflowContainer-D8L8yLtX.cjs +0 -1774
- package/dist/WorkflowContainer-D8L8yLtX.cjs.map +0 -1
- package/dist/WorkflowContainer-mXeP_hbS.js +0 -1708
- package/dist/WorkflowContainer-mXeP_hbS.js.map +0 -1
- package/dist/apiHelpers-Dyq5plHt.cjs +0 -377
- package/dist/apiHelpers-Dyq5plHt.cjs.map +0 -1
- package/dist/apiHelpers-ntQQ4i7A.js +0 -257
- package/dist/apiHelpers-ntQQ4i7A.js.map +0 -1
- package/dist/chunk-Cn1u12Og.js +0 -34
- package/dist/chunk-DoeelZqw.cjs +0 -51
- package/dist/index.cjs +0 -50843
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -1727
- package/dist/index.d.ts +0 -1723
- package/dist/propertyTypeEnums-BcUuGbb0.js +0 -94
- package/dist/propertyTypeEnums-BcUuGbb0.js.map +0 -1
- package/dist/propertyTypeEnums-NvvbX8dM.cjs +0 -112
- package/dist/propertyTypeEnums-NvvbX8dM.cjs.map +0 -1
- package/dist-tsdown/AmbientGridTemplate-C4cO-UBE.js.map +0 -1
- package/dist-tsdown/AmbientGridTemplate-RvpH04W2.cjs +0 -4151
- package/dist-tsdown/AmbientGridTemplate-RvpH04W2.cjs.map +0 -1
- package/dist-tsdown/EnvironmentRibbon-C5I-zJ7u.cjs +0 -1546
- package/dist-tsdown/EnvironmentRibbon-C5I-zJ7u.cjs.map +0 -1
- package/dist-tsdown/EnvironmentRibbon-W5AjvnLN.js.map +0 -1
- package/dist-tsdown/MenuPage-Zn5ipVRK.cjs +0 -547
- package/dist-tsdown/MenuPage-Zn5ipVRK.cjs.map +0 -1
- package/dist-tsdown/MyExportsPage-B2wf-kFZ.cjs +0 -763
- package/dist-tsdown/MyExportsPage-B2wf-kFZ.cjs.map +0 -1
- package/dist-tsdown/MyExportsPage-BuzFo_X_.cjs +0 -8
- package/dist-tsdown/MyExportsPage-CuJoA0n6.js +0 -8
- package/dist-tsdown/MyExportsPage-DWbSEbU5.js.map +0 -1
- package/dist-tsdown/PageContainer-BG6v3pM7.cjs +0 -1841
- package/dist-tsdown/PageContainer-BG6v3pM7.cjs.map +0 -1
- package/dist-tsdown/PageContainer-CWhjU1zS.js.map +0 -1
- package/dist-tsdown/PageNotFoundRoute-CciC9cPY.cjs +0 -124
- package/dist-tsdown/PageNotFoundRoute-CciC9cPY.cjs.map +0 -1
- package/dist-tsdown/PageNotFoundRoute-DsRSLpI6.js +0 -3
- package/dist-tsdown/PageNotFoundRoute-Z5qYmErL.js +0 -112
- package/dist-tsdown/PageNotFoundRoute-aJr2o81C.cjs +0 -3
- package/dist-tsdown/PasswordResetRedirect-1cRmBJvr.cjs +0 -3
- package/dist-tsdown/PasswordResetRedirect-BMHXzpvb.js +0 -3
- package/dist-tsdown/PasswordResetRedirect-DRhK3lVL.cjs +0 -118
- package/dist-tsdown/PasswordResetRedirect-DRhK3lVL.cjs.map +0 -1
- package/dist-tsdown/SearchUtilities-URbeAh75.js.map +0 -1
- package/dist-tsdown/SearchUtilities-kF1roS4F.cjs +0 -216
- package/dist-tsdown/SearchUtilities-kF1roS4F.cjs.map +0 -1
- package/dist-tsdown/SideSheet-DcEfnfH_.js.map +0 -1
- package/dist-tsdown/SideSheet-XOQ0yjmY.cjs +0 -410
- package/dist-tsdown/SideSheet-XOQ0yjmY.cjs.map +0 -1
- package/dist-tsdown/UdpPublicForm-BZff9-Hy.js +0 -4
- package/dist-tsdown/UdpPublicForm-CaWFfHLQ.cjs +0 -5
- package/dist-tsdown/UdpPublicForm-DFEJakHu.cjs +0 -52
- package/dist-tsdown/UdpPublicForm-DFEJakHu.cjs.map +0 -1
- package/dist-tsdown/UdpPublicForm-EOSy6X_O.js +0 -41
- package/dist-tsdown/UtilitySideBar-C-5lGIvy.cjs +0 -2503
- package/dist-tsdown/UtilitySideBar-C-5lGIvy.cjs.map +0 -1
- package/dist-tsdown/VirtualBrowser-DmgmfhWg.cjs +0 -568
- package/dist-tsdown/VirtualBrowser-DmgmfhWg.cjs.map +0 -1
- package/dist-tsdown/VirtualBrowser-OXhftZwa.js.map +0 -1
- package/dist-tsdown/WorkflowContainer-BdakMxJP.js +0 -9
- package/dist-tsdown/WorkflowContainer-Bm1FHgJq.cjs +0 -1718
- package/dist-tsdown/WorkflowContainer-Bm1FHgJq.cjs.map +0 -1
- package/dist-tsdown/WorkflowContainer-C2W0pr5f.js.map +0 -1
- package/dist-tsdown/WorkflowContainer-C9hsSvOg.cjs +0 -9
- package/dist-tsdown/apiHelpers-TkqtXraB.cjs +0 -373
- package/dist-tsdown/apiHelpers-TkqtXraB.cjs.map +0 -1
- package/dist-tsdown/chunk-CHLpw0oG.js +0 -25
- package/dist-tsdown/chunk-CsX-DzYB.cjs +0 -42
- package/dist-tsdown/index.cjs +0 -49909
- package/dist-tsdown/index.cjs.map +0 -1
- package/dist-tsdown/index.d.cts +0 -1727
- package/dist-tsdown/index.d.ts +0 -1723
- package/dist-tsdown/index.js +0 -49180
- package/dist-tsdown/index.js.map +0 -1
- package/dist-tsdown/propertyTypeEnums-CaDtepcE.js.map +0 -1
- package/dist-tsdown/propertyTypeEnums-Cn4wJJc5.cjs +0 -174
- package/dist-tsdown/propertyTypeEnums-Cn4wJJc5.cjs.map +0 -1
- /package/{dist-tsdown → dist}/assets/images/phone.png +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/american-logo.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/amex.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/diners.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/discover-logo.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/discover.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/echeck-logo.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/jcb.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/mastercard-logo.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/mastercard.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/unionpay.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/visa-logo.svg +0 -0
- /package/{dist-tsdown → dist}/assets/paymentIcons/visa.svg +0 -0
- /package/{dist-tsdown → dist}/assets/unityIcons/NoEntityOpened.svg +0 -0
- /package/{dist-tsdown → dist}/assets/unityIcons/Sewer.svg +0 -0
- /package/{dist-tsdown → dist}/assets/unityIcons/TruckIcon.svg +0 -0
- /package/{dist-tsdown → dist}/assets/unityIcons/WaterDrop.svg +0 -0
- /package/{dist-tsdown → dist}/componentSystems/pageRenderer/style/style.css +0 -0
- /package/{dist-tsdown → dist}/map-library/Map/Map.css +0 -0
- /package/{dist-tsdown → dist}/maps/openLayerMaps/Map/Map.css +0 -0
- /package/{dist-tsdown → dist}/stories/assets/code-brackets.svg +0 -0
- /package/{dist-tsdown → dist}/stories/assets/colors.svg +0 -0
- /package/{dist-tsdown → dist}/stories/assets/comments.svg +0 -0
- /package/{dist-tsdown → dist}/stories/assets/direction.svg +0 -0
- /package/{dist-tsdown → dist}/stories/assets/flow.svg +0 -0
- /package/{dist-tsdown → dist}/stories/assets/plugin.svg +0 -0
- /package/{dist-tsdown → dist}/stories/assets/repo.svg +0 -0
- /package/{dist-tsdown → dist}/stories/assets/stackalt.svg +0 -0
- /package/{dist-tsdown → dist}/stories/button.css +0 -0
- /package/{dist-tsdown → dist}/stories/header.css +0 -0
- /package/{dist-tsdown → dist}/stories/page.css +0 -0
- /package/{dist-tsdown → dist}/style.css +0 -0
- /package/{dist-tsdown → dist}/styles.module.css +0 -0
- /package/{dist-tsdown → dist}/utilities/aggrid/ag-grid-styles.scss +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MenuPage-DNywMmn2.cjs","names":["useStyles","TreeViewModeEnums","other","NodeActionTriggerEnums","TreeItem","Tooltip","CircularProgress","UnityFluentIcon","getUnityIconFromName","getIconFromName","Typography","AggregateChip","useStyles","TreeViewModeEnums","searchTree","getNodeIdForRightBorder","CircularProgress","Typography","findAllParentIds","tree","expanded","TreeView","FluentIcon","CaretUpSolid8Icon","CaretDownSolid8Icon","useBuildEnvironment","APP_RIBBON_SPACE","useUser","useSetLocationState","useAxiosGet","ConfigService","useShellStore","transformMenuPageTree","DndProvider","HTML5Backend","UtilitySideBar","TreeViewModeEnums","NodeLoader","PageContainer"],"sources":["../src/treeMenu/BaseTreeMenuItem.jsx","../src/treeMenu/BaseTreeMenu.jsx","../src/menuPage/MenuPage.jsx"],"sourcesContent":["import React, { useCallback } from 'react';\nimport {\n makeStyles,\n lighten,\n Typography,\n CircularProgress,\n darken,\n useTheme,\n Tooltip\n} from '@material-ui/core';\nimport TreeItem from '@material-ui/lab/TreeItem';\nimport { getIconFromName } from '../utilities/tree/TreeUtilities';\nimport clsx from 'clsx';\nimport { UnityFluentIcon } from '../utilities/UnityFluentIcon';\nimport { getUnityIconFromName } from '../utilities/iconLibrary/UnityIconLibrary';\nimport { useDrag, useDrop } from 'react-dnd';\nimport {\n NodeActionTriggerEnums,\n TreeViewModeEnums\n} from '../enums/unitySystemEnums.ts';\nimport { AggregateChip } from '../UI/utilityDisplay/AggregateChip';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n '&.Mui-selected > .MuiTreeItem-content': {\n backgroundColor:\n theme?.getThemeData()?.mode === 'dark'\n ? theme.palette.grey[700]\n : theme.palette.grey[300],\n borderRight: `4px solid ${theme.palette.primary.main}`\n },\n '&.Mui-selected > .MuiTreeItem-content .MuiTreeItem-label': {\n backgroundColor: 'transparent',\n paddingLeft: 0\n },\n '&.Mui-selected > .MuiTreeItem-content > .MuiCollapse-wrapperInner': {\n backgroundColor:\n theme?.getThemeData()?.mode !== 'dark' && theme.palette.grey[50]\n },\n '& .MuiTreeItem-content .MuiTreeItem-iconContainer': {\n display: (props) => (props.sidebarExpanded ? 'flex' : 'none')\n }\n },\n content: {\n backgroundColor: (props) =>\n theme?.getThemeData()?.mode !== 'dark' &&\n props.conditionalIconName &&\n props.conditionalIconColor\n ? lighten(props.conditionalIconColor, 0.92)\n : ''\n },\n labelRoot: {\n display: 'flex',\n alignItems: 'center',\n marginLeft: (props) => (props.sidebarExpanded ? 0 : theme.spacing(1.5)),\n width: '100%'\n },\n labelContainer: {\n display: (props) => (!props.sidebarExpanded ? 'none' : ''),\n width: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `calc(100% - ${theme.spacing(6.25)}px)`\n : `calc(100% - ${theme.spacing(7.75)}px)`\n },\n conditionalIconContainer: {\n display: 'inline-flex'\n },\n labelText: {\n fontSize: '0.75rem',\n fontWeight: 600,\n lineHeight: '1rem',\n letterSpacing: 0.1\n },\n captionText: {\n marginLeft: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(1) : '',\n fontSize: '0.65rem',\n fontWeight: 400,\n lineHeight: 1,\n letterSpacing: 0.4\n },\n labelOverflow: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n },\n group: {\n width: '100%',\n '& .MuiTreeItem-group': {\n marginLeft: 0\n },\n '& .MuiTreeItem-content': {\n paddingLeft: (props) =>\n props.sidebarExpanded ? (props.depth || 1) * theme.spacing(1) : 0,\n borderRight: (props) =>\n props.showRightBorderColor\n ? `4px solid ${theme.palette.primary.main}`\n : '',\n borderBottom: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `1px solid ${theme.palette.grey[200]}`\n : ''\n },\n '& .MuiTreeItem-content .MuiTreeItem-label': {\n paddingLeft: 0,\n width: (props) =>\n props.sidebarExpanded && `calc(100% - ${theme.spacing(2.5)}px)`\n },\n '& .MuiTreeItem-content .MuiTreeItem-iconContainer span': {\n display: (props) => (props.hideExpansion ? 'none' : '')\n },\n '& .MuiCollapse-wrapperInner': {\n backgroundColor: (props) =>\n theme?.getThemeData()?.mode !== 'dark' && props.isSelectedNode\n ? theme.palette.grey[50]\n : ''\n }\n },\n iconContainer: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 50,\n marginTop: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(0.25)\n : theme.spacing(0.5),\n marginBottom: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(0.25)\n : theme.spacing(0.5),\n marginRight: theme.spacing(1),\n width: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(3)\n : theme.spacing(4),\n height: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(3)\n : theme.spacing(4),\n border: (props) =>\n props.iconColor\n ? `1px solid ${darken(props.iconColor, 0.1)}`\n : `1px solid ${theme.palette.secondary.main}`,\n backgroundColor: '#ffffff'\n }\n}));\n\nexport const BaseTreeMenuItem = (props) => {\n const {\n parentId,\n nodeId,\n iconName,\n iconType,\n conditionalIconName,\n conditionalIconType,\n conditionalIconColor,\n label,\n iconColor,\n onNodeSelect,\n isSelectedNode,\n subLabel,\n sidebarExpanded,\n isLastNode,\n loading,\n node,\n onDropNode,\n treeViewMode,\n menuIndex,\n aggregateThresholdId,\n ...other\n } = props;\n const classes = useStyles(props);\n const theme = useTheme();\n\n const [{ isDragging }, dragRef] = useDrag({\n type: 'BaseTreeMenuItem',\n item: { ...node, sourceNodeMenuIndex: menuIndex },\n collect: (monitor) => ({\n isDragging: monitor.isDragging()\n })\n });\n\n const handleOnDrop = useCallback(\n (sourceNode, monitor) => {\n if (!monitor.didDrop()) {\n if (onDropNode) {\n const { sourceNodeMenuIndex, ...other } = sourceNode;\n onDropNode({ ...other }, node, sourceNodeMenuIndex, menuIndex);\n }\n }\n },\n [onDropNode, node, menuIndex]\n );\n\n const [{ canDrop, isOver }, dropRef] = useDrop(\n () => ({\n accept: ['BaseTreeMenuItem'],\n drop: (sourceNode, monitor) => {\n // condition to only handle first drop\n handleOnDrop(sourceNode, monitor);\n },\n canDrop: (sourceNode) => checkCanDrop(sourceNode),\n collect: (monitor) => ({\n isOver: monitor.isOver(),\n canDrop: !!monitor.canDrop()\n })\n }),\n [handleOnDrop]\n );\n\n const checkCanDrop = useCallback(\n (sourceNode) => {\n if (sourceNode) {\n const onDropActions = node?.properties?.nodeActions?.filter(\n (na) => na?.triggerType === NodeActionTriggerEnums.On_Node_Drop\n );\n if (!onDropActions) {\n return false;\n }\n const nodeDragEntities = onDropActions?.map(\n (action) => action?.dragEntityName\n );\n return nodeDragEntities.includes(\n sourceNode?.properties?.catalogReturnObject\n );\n }\n },\n [node]\n );\n\n const handleOnLabelClick = useCallback(\n (e) => {\n e.preventDefault();\n onNodeSelect(e, nodeId);\n },\n [onNodeSelect, nodeId]\n );\n\n return (\n <TreeItem\n className={classes.group}\n key={nodeId}\n nodeId={nodeId}\n label={\n <div ref={dropRef}>\n <Tooltip title={sidebarExpanded ? '' : label}>\n <div\n ref={(node?.properties?.isDraggable && dragRef) || null}\n style={{ opacity: isDragging ? 0.5 : 1 }}\n >\n {loading ? (\n <CircularProgress size={12} />\n ) : (\n <div\n id={'udpRecord-BaseTreeMenuItem-'+label.replace(/\\s+/g, '')}\n udprecordid={'udpRecord-BaseTreeMenuItem-'+label.replace(/\\s+/g, '')}\n className={classes.labelRoot}\n style={{\n fontWeight: isSelectedNode ? 'bold' : ''\n }}\n >\n {iconName && (\n <div className={classes.iconContainer}>\n <UnityFluentIcon\n size={\n treeViewMode === TreeViewModeEnums.Compact\n ? 'small'\n : 'medium'\n }\n color={iconColor}\n type={iconType}\n icon={\n iconType === 'unity'\n ? getUnityIconFromName(iconName)\n : getIconFromName(iconName)\n }\n style={{\n color: iconColor\n ? darken(iconColor, 0.1)\n : theme.palette.secondary.main\n }}\n />\n </div>\n )}\n <div className={classes.labelContainer}>\n <Typography\n variant='subtitle2'\n className={clsx(classes.labelText, classes.labelOverflow)}\n >\n {label}\n {subLabel &&\n treeViewMode === TreeViewModeEnums.Compact && (\n <Typography\n variant='caption'\n className={clsx(\n classes.captionText,\n classes.labelOverflow\n )}\n >\n {subLabel}\n </Typography>\n )}\n </Typography>\n {subLabel && treeViewMode === TreeViewModeEnums.Classic && (\n <div className={classes.labelOverflow}>\n <Typography\n variant='caption'\n className={clsx(classes.captionText)}\n >\n {subLabel}\n </Typography>\n </div>\n )}\n </div>\n <AggregateChip aggregateThresholdId={aggregateThresholdId} />\n {conditionalIconName && sidebarExpanded && (\n <div className={classes.conditionalIconContainer}>\n <UnityFluentIcon\n size={\n treeViewMode === TreeViewModeEnums.Compact\n ? 'small'\n : 'medium'\n }\n color={conditionalIconColor}\n type={conditionalIconType}\n icon={\n conditionalIconType === 'unity'\n ? getUnityIconFromName(conditionalIconName)\n : getIconFromName(conditionalIconName)\n }\n style={{\n color: conditionalIconColor\n }}\n />\n </div>\n )}\n </div>\n )}\n </div>\n </Tooltip>\n </div>\n }\n onLabelClick={handleOnLabelClick}\n classes={{ root: classes.root, content: classes.content }}\n {...other}\n />\n );\n};\n","import React, { useCallback, useState, useEffect } from 'react';\nimport {\n makeStyles,\n useTheme,\n lighten,\n CircularProgress,\n Typography\n} from '@material-ui/core';\nimport TreeView from '@material-ui/lab/TreeView';\nimport { BaseTreeMenuItem } from './BaseTreeMenuItem';\nimport {\n searchTree,\n findAllParentIds,\n getNodeIdForRightBorder\n} from '../utilities/tree/TreeUtilities';\nimport { FluentIcon } from '../utilities/FluentIcon';\nimport { CaretUpSolid8Icon, CaretDownSolid8Icon } from '@fluentui/react-icons';\nimport { cloneDeep } from 'lodash';\nimport { TreeViewModeEnums } from '../enums/unitySystemEnums.ts';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n marginBottom: theme.spacing(1.75),\n borderTop: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `1px solid ${theme.palette.grey[200]}`\n : ''\n },\n noChildrenContainer: {\n borderBottom: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `1px solid ${theme.palette.grey[200]}`\n : ''\n }\n}));\n\nexport const BaseTreeMenu = (props) => {\n const {\n menuItems,\n onSelectNode,\n onDropNode,\n menuIndex,\n selectedNodeId,\n selectedNodeParentId,\n sidebarExpanded,\n treeViewMode,\n childrenKey = 'children'\n } = props;\n const [expanded, setExpanded] = useState(null);\n const [isCurrentActiveTree, setIsCurrentActiveTree] = useState(false);\n const [selectedNodeIsHidden, setSelectedNodeIsHidden] = useState(false);\n const [tree, setTree] = useState(menuItems);\n const theme = useTheme();\n const classes = useStyles(props);\n\n const handleSelectedNode = useCallback(\n (e, value) => {\n const selectedNode = searchTree(tree, value);\n if (onSelectNode) {\n onSelectNode(selectedNode, menuIndex);\n setSelectedNodeIsHidden(false);\n }\n },\n [tree, menuIndex, onSelectNode]\n );\n\n const renderTree = useCallback(\n (node, depth = 1) => {\n let label = node.properties?.nodeLabel || node.properties?.name;\n let subLabel = node.properties?.nodeSubLabel;\n let iconName = node.properties?.defaultIcon?.name;\n let iconType = node.properties?.defaultIcon?.type;\n let conditionalIconName = node.properties?.conditionalIconName || '';\n let conditionalIconType = node.properties?.conditionalIconName\n ? node.properties.conditionalIconType\n : '';\n let conditionalIconColor = node.properties?.conditionalIconName\n ? node.properties?.conditionalIconColor\n : '';\n let nodeId = node.id;\n let iconColor = node.properties?.conditionalIconName\n ? node.properties?.conditionalIconColor\n : node.properties?.defaultIcon?.color?.hex;\n let aggregateThresholdId = node.properties?.aggregateThresholdId || '';\n\n if (node.isGroupNode) {\n label = node.properties?.label;\n subLabel = node.properties?.subLabel;\n iconName = node.properties?.icon?.name;\n iconType = node.properties?.icon?.type;\n iconColor = node.properties?.icon?.color?.hex;\n }\n\n return (\n <BaseTreeMenuItem\n key={nodeId}\n nodeId={nodeId}\n label={label}\n subLabel={subLabel}\n iconName={iconName}\n iconType={iconType}\n conditionalIconName={conditionalIconName}\n conditionalIconType={conditionalIconType}\n conditionalIconColor={conditionalIconColor}\n parentId={node.parentId}\n iconColor={iconColor}\n onNodeSelect={handleSelectedNode}\n selectedNodeId={selectedNodeId}\n isSelectedNode={selectedNodeId === node.id}\n showRightBorderColor={\n selectedNodeIsHidden &&\n isCurrentActiveTree &&\n getNodeIdForRightBorder(expanded, tree, selectedNodeParentId) ===\n node.id\n }\n isCurrentActiveTree={isCurrentActiveTree}\n sidebarExpanded={sidebarExpanded}\n depth={depth}\n hideExpansion={!!!node[childrenKey]?.length}\n node={node}\n onDropNode={onDropNode}\n treeViewMode={treeViewMode}\n menuIndex={menuIndex}\n aggregateThresholdId={aggregateThresholdId}\n >\n {node.properties?.lazyLoad &&\n !!!node[childrenKey]?.length &&\n !node.completedLoadingChildren && (\n <CircularProgress\n size={12}\n style={{ marginLeft: (depth || 1) * theme.spacing(1) }}\n />\n )}\n {node.properties?.lazyLoad &&\n !!!node[childrenKey]?.length &&\n node.completedLoadingChildren &&\n sidebarExpanded &&\n !node.errorRetrievingChildren && (\n <div className={classes.noChildrenContainer}>\n <Typography\n variant='caption'\n style={{\n marginLeft: (depth || 1) * theme.spacing(3),\n fontWeight: 400\n }}\n >\n No Children\n </Typography>\n </div>\n )}\n {node.properties?.lazyLoad &&\n node.completedLoadingChildren &&\n sidebarExpanded &&\n node.errorRetrievingChildren && (\n <div className={classes.noChildrenContainer}>\n <Typography\n variant='caption'\n style={{\n marginLeft: (depth || 1) * theme.spacing(3),\n fontWeight: 400\n }}\n >\n {`Error Retrieving ${!!node[childrenKey]?.length ? `Additional ` : ''\n }Children`}\n </Typography>\n </div>\n )}\n {Array.isArray(node[childrenKey])\n ? node[childrenKey].map((n, i) => renderTree(n, depth + 1))\n : null}\n </BaseTreeMenuItem>\n );\n },\n [\n handleSelectedNode,\n selectedNodeId,\n selectedNodeIsHidden,\n isCurrentActiveTree,\n sidebarExpanded,\n expanded,\n tree,\n selectedNodeParentId,\n theme,\n classes,\n onDropNode,\n treeViewMode,\n menuIndex,\n childrenKey\n ]\n );\n\n const handleNodeExpansion = useCallback(\n async (evt, nodeIds) => {\n const treeCopy = cloneDeep(tree);\n setExpanded(nodeIds);\n\n const parentNode = searchTree(treeCopy, selectedNodeParentId);\n const initialAllParentNodeIds = selectedNodeParentId\n ? [selectedNodeParentId]\n : [];\n const allParentNodeIds = findAllParentIds(\n treeCopy,\n parentNode,\n initialAllParentNodeIds\n );\n const selectedNodeShown = allParentNodeIds.every((id) =>\n nodeIds.includes(id)\n );\n if (\n isCurrentActiveTree &&\n allParentNodeIds.length &&\n !selectedNodeShown\n ) {\n setSelectedNodeIsHidden(true);\n } else {\n setSelectedNodeIsHidden(false);\n }\n },\n [isCurrentActiveTree, tree, selectedNodeParentId]\n );\n\n const getExpandedRecursively = useCallback(\n (tree) => {\n if (!tree) return [];\n return tree.reduce((expandedIds, item) => {\n if (item?.isExpanded) {\n expandedIds.push(item.id);\n }\n if (item && item[childrenKey]?.length) {\n expandedIds = expandedIds.concat(\n getExpandedRecursively(item[childrenKey])\n );\n }\n return expandedIds;\n }, []);\n },\n [childrenKey]\n );\n\n useEffect(() => {\n setTree(menuItems);\n }, [menuItems]);\n\n useEffect(() => {\n if (!tree) {\n return;\n }\n let expanded = [];\n if (tree?.isExpanded) {\n expanded.push(tree.id);\n }\n expanded = expanded.concat(getExpandedRecursively(tree[childrenKey]));\n setExpanded(expanded);\n }, [getExpandedRecursively, tree, childrenKey]);\n\n useEffect(() => {\n if (!!searchTree(tree, selectedNodeId)) {\n setIsCurrentActiveTree(true);\n } else {\n setIsCurrentActiveTree(false);\n }\n }, [tree, selectedNodeId]);\n\n if (!expanded) {\n return null;\n }\n\n return (\n <TreeView\n key={tree}\n className={classes.root}\n defaultCollapseIcon={\n <FluentIcon\n size='small'\n component={CaretUpSolid8Icon}\n style={{\n color: lighten(theme.palette.primary.main, 0.5),\n width: theme.spacing(1.5),\n height: theme.spacing(1.5)\n }}\n />\n }\n expanded={expanded || []}\n onNodeToggle={handleNodeExpansion}\n defaultExpandIcon={\n <FluentIcon\n size='small'\n component={CaretDownSolid8Icon}\n style={{\n color: lighten(theme.palette.primary.main, 0.5),\n width: theme.spacing(1.5),\n height: theme.spacing(1.5)\n }}\n />\n }\n selected={selectedNodeId}\n >\n {tree && renderTree(tree)}\n </TreeView>\n );\n};\n","import React, { useCallback, useEffect, useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport { useAxiosGet } from '../utilities/useAxiosGet';\nimport { UtilitySideBar } from '../UI/utilityDisplay/UtilitySideBar';\nimport { makeStyles } from '@material-ui/core';\nimport { PageContainer } from '../page/PageContainer';\nimport { transformMenuPageTree } from '../utilities/tree/TreeUtilities';\nimport { BaseTreeMenu } from '../treeMenu/BaseTreeMenu';\nimport { TreeViewModeEnums } from '../enums/unitySystemEnums';\nimport { DndProvider } from 'react-dnd';\nimport { HTML5Backend } from 'react-dnd-html5-backend';\nimport { useUser } from '../utilities/auth/useUser';\nimport { useShellStore } from '../stores/shellStore';\nimport { NodeLoader } from '../UI/feedback/NodeLoader';\nimport {\n APP_RIBBON_SPACE,\n useBuildEnvironment\n} from '../shell/ui/EnvironmentRibbon';\nimport { useSetLocationState } from '../hooks/useSetLocationState';\nimport { useTranslation } from 'react-i18next';\nimport { ConfigService } from 'udp-react-stencil-component-library';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n flex: 1,\n minHeight: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,\n display: 'grid',\n gridTemplateAreas: ['sidebar content'].map((line) => `\"${line}\"`).join(' '),\n gridTemplateColumns: 'auto 1fr',\n gridTemplateRows: 'auto 1fr'\n },\n sidebar: {\n gridArea: 'sidebar',\n marginRight: theme.spacing(1)\n },\n content: {\n gridArea: 'content',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n zIndex: 1,\n height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,\n overflowY: 'auto'\n },\n menuContent: {\n marginTop: theme.spacing(1),\n height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 116}px)`,\n overflowX: 'hidden'\n },\n loader: {\n marginRight: theme.spacing(1),\n marginLeft: theme.spacing(1)\n },\n loadingContent: {\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center'\n }\n}));\n\nexport const MenuPage = (props) => {\n const buildEnv = useBuildEnvironment();\n const classes = useStyles({\n ...props,\n appRibbonSpace: buildEnv ? APP_RIBBON_SPACE : 0\n });\n const location = useLocation();\n const user = useUser();\n const { t } = useTranslation();\n const setLocationState = useSetLocationState();\n\n const [menuItemsList, setMenuItemsList] = useState([]); // holds a list of trees\n const [selectedNode, setSelectedNode] = useState(null);\n const [sidebarExpanded, setSidebarExpanded] = useState(true);\n // Just the menuInstanceId for an inner menu\n const innerMenuId = location.pathname.replace('/menupage/', '');\n const [{ data: innerMenu, loading: menuLoading }] = useAxiosGet(\n ConfigService.tenantV1ApiUrl,\n `menus/${innerMenuId}`,\n {},\n !!!innerMenuId,\n false\n );\n\n const { setSubHeaderActionHasChildren, setNavigationExpanded } =\n useShellStore();\n\n const [{ data: pageData, loading: pageLoading, error: pageError }] =\n useAxiosGet(\n ConfigService.tenantV1ApiUrl,\n `page/${selectedNode?.properties?.page?.id}`,\n {},\n !!!selectedNode?.properties?.page?.id,\n false\n );\n\n const handleSelectedNode = useCallback((node, menuIndex) => {\n setSelectedNode(node);\n }, []);\n\n const handleDropNode = useCallback(\n (sourceNode, targetNode, sourceNodeMenuIndex, targetNodeMenuIndex) => {\n // TODO: Implement if we need to for next Phase\n },\n []\n );\n\n const handleSidebarExpandClick = useCallback(() => {\n setSidebarExpanded((expanded) => !expanded);\n }, []);\n\n useEffect(() => {\n if (innerMenu) {\n const list = [];\n let nodeSelected = false;\n innerMenu.menuItemInstanceStructureViews.forEach((menuInstance) => {\n const updatedMenu = transformMenuPageTree(menuInstance);\n if (updatedMenu) {\n list.push(updatedMenu);\n if (!nodeSelected) {\n setSelectedNode(updatedMenu);\n nodeSelected = true;\n setNavigationExpanded(false);\n }\n }\n });\n setMenuItemsList(list);\n }\n }, [innerMenu, setNavigationExpanded]);\n\n useEffect(() => {\n setSubHeaderActionHasChildren(false);\n }, [setSubHeaderActionHasChildren]);\n\n // Setting location state label so that if this page was saved to favorites\n // we can determine the bread crumb\n useEffect(() => {\n if (innerMenu) {\n setLocationState({ label: t(innerMenu?.name) });\n }\n }, [setLocationState, t, innerMenu]);\n\n return (\n <DndProvider backend={HTML5Backend}>\n <div className={classes.root}>\n <div className={classes.sidebar}>\n <UtilitySideBar\n title={innerMenu?.name}\n isUsingChildren={true}\n resizable={true}\n removePadding={true}\n removeTopLayoutUnit={true}\n onUtilitySidebarToggleExpandClick={handleSidebarExpandClick}\n collapsedWidth={64}\n >\n <div className={classes.menuContent} key={innerMenuId}>\n {menuItemsList?.length > 0 &&\n !menuLoading &&\n menuItemsList.map((menuItems, index) => (\n <div key={menuItems.id} className={classes.nodeContainer}>\n <BaseTreeMenu\n menuItems={menuItems}\n onSelectNode={handleSelectedNode}\n onDropNode={handleDropNode}\n menuIndex={index}\n selectedNodeId={selectedNode?.id}\n selectedNodeParentId={selectedNode?.parentId}\n sidebarExpanded={sidebarExpanded}\n treeViewMode={TreeViewModeEnums.Classic}\n />\n </div>\n ))}\n {menuLoading && (\n <div className={classes.loader}>\n <NodeLoader loading={menuLoading} />\n </div>\n )}\n </div>\n </UtilitySideBar>\n </div>\n <div className={classes.content}>\n {selectedNode?.properties?.page?.id && (\n <PageContainer\n user={user}\n key={selectedNode?.id}\n pageData={pageData}\n pageLoading={pageLoading}\n widgetParams={{\n pageId: pageData?.pageId,\n entityName: selectedNode?.properties?.page?.entity?.entityName,\n pbiReportCode: selectedNode?.properties?.page?.pbiReportCode,\n requiredFieldsMap:\n selectedNode?.properties?.page?.requiredFieldMapping,\n udpTagId: selectedNode?.properties?.page?.udpTagId,\n queryId: selectedNode?.properties?.page?.queryId,\n inquiryTreeId: selectedNode?.properties?.page?.inquiryTreeId\n }}\n disableMargins={true}\n fromMenu={true}\n />\n )}\n </div>\n </div>\n </DndProvider>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsBA,MAAMA,kDAAwB,UAAU;;QAAC;EACvC,MAAM;GACJ,yCAAyC;IACvC,+EACE,MAAO,0FAAgB,UAAS,SAC5B,MAAM,QAAQ,KAAK,OACnB,MAAM,QAAQ,KAAK;IACzB,aAAa,aAAa,MAAM,QAAQ,QAAQ;IACjD;GACD,4DAA4D;IAC1D,iBAAiB;IACjB,aAAa;IACd;GACD,qEAAqE,EACnE,gFACE,MAAO,4FAAgB,UAAS,UAAU,MAAM,QAAQ,KAAK,KAChE;GACD,qDAAqD,EACnD,UAAU,UAAW,MAAM,kBAAkB,SAAS,QACvD;GACF;EACD,SAAS,EACP,kBAAkB,UAChB;;+EAAO,4FAAgB,UAAS,UAChC,MAAM,uBACN,MAAM,uDACM,MAAM,sBAAsB,OACpC;EAAE,GACT;EACD,WAAW;GACT,SAAS;GACT,YAAY;G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4BAAgB;AACd,gCAA8B;CAC/B,GAAE,CAAC,8BAA8B;AAIlC,4BAAgB;AACd,MAAI,UACF,kBAAiB,EAAE,OAAO,wDAAE,UAAW,OAAO;CAEjD,GAAE;EAAC;EAAkB;EAAG;EAAU;AAEnC,QACE,2CAACC;EAAY,SAASC;YACpB,4CAAC;GAAI,WAAW,QAAQ;cACtB,2CAAC;IAAI,WAAW,QAAQ;cACtB,2CAACC;KACC,6DAAO,UAAW;KAClB,iBAAiB;KACjB,WAAW;KACX,eAAe;KACf,qBAAqB;KACrB,mCAAmC;KACnC,gBAAgB;eAEhB,4CAAC;MAAI,WAAW,QAAQ;gFACrB,cAAe,UAAS,KACvB,CAAC,eACD,cAAc,KAAK,WAAW,UAC5B,2CAAC;OAAuB,WAAW,QAAQ;iBACzC,2CAAC;QACY;QACX,cAAc;QACd,YAAY;QACZ,WAAW;QACX,4EAAgB,aAAc;QAC9B,kFAAsB,aAAc;QACnB;QACjB,cAAcC,4CAAkB;;SAT1B,UAAU,MAavB,eACC,2CAAC;OAAI,WAAW,QAAQ;iBACtB,2CAACC,qCAAW,SAAS;;QAnBe;;OAyB9C,2CAAC;IAAI,WAAW,QAAQ;6FACrB,aAAc,8GAAY,sFAAM,OAC/B,2CAACC;KACO;KAEI;KACG;KACb,cAAc;MACZ,4DAAQ,SAAU;MAClB,0FAAY,aAAc,8GAAY,wGAAM,wFAAQ;MACpD,6FAAe,aAAc,8GAAY,sFAAM;MAC/C,iGACE,aAAc,8GAAY,sFAAM;MAClC,wFAAU,aAAc,8GAAY,sFAAM;MAC1C,uFAAS,aAAc,8GAAY,sFAAM;MACzC,6FAAe,aAAc,8GAAY,sFAAM;MAChD;KACD,gBAAgB;KAChB,UAAU;mEAdL,aAAc;;;;AAqBhC"}
|
|
@@ -1,561 +0,0 @@
|
|
|
1
|
-
import { APP_RIBBON_SPACE, FluentIcon, NodeActionTriggerEnums, TreeViewModeEnums, UnityFluentIcon, useAxiosGet, useBuildEnvironment, useShellStore, useUser } from "./EnvironmentRibbon-DBJftQWQ.js";
|
|
2
|
-
import "./apiHelpers-ntQQ4i7A.js";
|
|
3
|
-
import { AggregateChip, NodeLoader, UtilitySideBar, findAllParentIds, getIconFromName, getNodeIdForRightBorder, getUnityIconFromName, searchTree, transformMenuPageTree } from "./UtilitySideBar-Dz_17lBo.js";
|
|
4
|
-
import "./SearchUtilities-Bl4U_j-0.js";
|
|
5
|
-
import { PageContainer, useSetLocationState } from "./PageContainer-SljTiaZr.js";
|
|
6
|
-
import React, { useCallback, useEffect, useState } from "react";
|
|
7
|
-
import { CircularProgress, Tooltip, Typography, darken, lighten, makeStyles, useTheme } from "@material-ui/core";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { ConfigService } from "udp-react-stencil-component-library";
|
|
10
|
-
import { useLocation } from "react-router-dom";
|
|
11
|
-
import clsx from "clsx";
|
|
12
|
-
import { CaretDownSolid8Icon, CaretUpSolid8Icon } from "@fluentui/react-icons";
|
|
13
|
-
import { cloneDeep } from "lodash";
|
|
14
|
-
import { useTranslation } from "react-i18next";
|
|
15
|
-
import { DndProvider, useDrag, useDrop } from "react-dnd";
|
|
16
|
-
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
17
|
-
import TreeView from "@material-ui/lab/TreeView";
|
|
18
|
-
import TreeItem from "@material-ui/lab/TreeItem";
|
|
19
|
-
|
|
20
|
-
//#region src/treeMenu/BaseTreeMenuItem.jsx
|
|
21
|
-
const useStyles$2 = makeStyles((theme) => {
|
|
22
|
-
var _theme$getThemeData, _theme$getThemeData2;
|
|
23
|
-
return {
|
|
24
|
-
root: {
|
|
25
|
-
"&.Mui-selected > .MuiTreeItem-content": {
|
|
26
|
-
backgroundColor: (theme === null || theme === void 0 || (_theme$getThemeData = theme.getThemeData()) === null || _theme$getThemeData === void 0 ? void 0 : _theme$getThemeData.mode) === "dark" ? theme.palette.grey[700] : theme.palette.grey[300],
|
|
27
|
-
borderRight: `4px solid ${theme.palette.primary.main}`
|
|
28
|
-
},
|
|
29
|
-
"&.Mui-selected > .MuiTreeItem-content .MuiTreeItem-label": {
|
|
30
|
-
backgroundColor: "transparent",
|
|
31
|
-
paddingLeft: 0
|
|
32
|
-
},
|
|
33
|
-
"&.Mui-selected > .MuiTreeItem-content > .MuiCollapse-wrapperInner": { backgroundColor: (theme === null || theme === void 0 || (_theme$getThemeData2 = theme.getThemeData()) === null || _theme$getThemeData2 === void 0 ? void 0 : _theme$getThemeData2.mode) !== "dark" && theme.palette.grey[50] },
|
|
34
|
-
"& .MuiTreeItem-content .MuiTreeItem-iconContainer": { display: (props) => props.sidebarExpanded ? "flex" : "none" }
|
|
35
|
-
},
|
|
36
|
-
content: { backgroundColor: (props) => {
|
|
37
|
-
var _theme$getThemeData3;
|
|
38
|
-
return (theme === null || theme === void 0 || (_theme$getThemeData3 = theme.getThemeData()) === null || _theme$getThemeData3 === void 0 ? void 0 : _theme$getThemeData3.mode) !== "dark" && props.conditionalIconName && props.conditionalIconColor ? lighten(props.conditionalIconColor, .92) : "";
|
|
39
|
-
} },
|
|
40
|
-
labelRoot: {
|
|
41
|
-
display: "flex",
|
|
42
|
-
alignItems: "center",
|
|
43
|
-
marginLeft: (props) => props.sidebarExpanded ? 0 : theme.spacing(1.5),
|
|
44
|
-
width: "100%"
|
|
45
|
-
},
|
|
46
|
-
labelContainer: {
|
|
47
|
-
display: (props) => !props.sidebarExpanded ? "none" : "",
|
|
48
|
-
width: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `calc(100% - ${theme.spacing(6.25)}px)` : `calc(100% - ${theme.spacing(7.75)}px)`
|
|
49
|
-
},
|
|
50
|
-
conditionalIconContainer: { display: "inline-flex" },
|
|
51
|
-
labelText: {
|
|
52
|
-
fontSize: "0.75rem",
|
|
53
|
-
fontWeight: 600,
|
|
54
|
-
lineHeight: "1rem",
|
|
55
|
-
letterSpacing: .1
|
|
56
|
-
},
|
|
57
|
-
captionText: {
|
|
58
|
-
marginLeft: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(1) : "",
|
|
59
|
-
fontSize: "0.65rem",
|
|
60
|
-
fontWeight: 400,
|
|
61
|
-
lineHeight: 1,
|
|
62
|
-
letterSpacing: .4
|
|
63
|
-
},
|
|
64
|
-
labelOverflow: {
|
|
65
|
-
whiteSpace: "nowrap",
|
|
66
|
-
overflow: "hidden",
|
|
67
|
-
textOverflow: "ellipsis"
|
|
68
|
-
},
|
|
69
|
-
group: {
|
|
70
|
-
width: "100%",
|
|
71
|
-
"& .MuiTreeItem-group": { marginLeft: 0 },
|
|
72
|
-
"& .MuiTreeItem-content": {
|
|
73
|
-
paddingLeft: (props) => props.sidebarExpanded ? (props.depth || 1) * theme.spacing(1) : 0,
|
|
74
|
-
borderRight: (props) => props.showRightBorderColor ? `4px solid ${theme.palette.primary.main}` : "",
|
|
75
|
-
borderBottom: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
|
|
76
|
-
},
|
|
77
|
-
"& .MuiTreeItem-content .MuiTreeItem-label": {
|
|
78
|
-
paddingLeft: 0,
|
|
79
|
-
width: (props) => props.sidebarExpanded && `calc(100% - ${theme.spacing(2.5)}px)`
|
|
80
|
-
},
|
|
81
|
-
"& .MuiTreeItem-content .MuiTreeItem-iconContainer span": { display: (props) => props.hideExpansion ? "none" : "" },
|
|
82
|
-
"& .MuiCollapse-wrapperInner": { backgroundColor: (props) => {
|
|
83
|
-
var _theme$getThemeData4;
|
|
84
|
-
return (theme === null || theme === void 0 || (_theme$getThemeData4 = theme.getThemeData()) === null || _theme$getThemeData4 === void 0 ? void 0 : _theme$getThemeData4.mode) !== "dark" && props.isSelectedNode ? theme.palette.grey[50] : "";
|
|
85
|
-
} }
|
|
86
|
-
},
|
|
87
|
-
iconContainer: {
|
|
88
|
-
display: "flex",
|
|
89
|
-
alignItems: "center",
|
|
90
|
-
justifyContent: "center",
|
|
91
|
-
borderRadius: 50,
|
|
92
|
-
marginTop: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
|
|
93
|
-
marginBottom: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
|
|
94
|
-
marginRight: theme.spacing(1),
|
|
95
|
-
width: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4),
|
|
96
|
-
height: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4),
|
|
97
|
-
border: (props) => props.iconColor ? `1px solid ${darken(props.iconColor, .1)}` : `1px solid ${theme.palette.secondary.main}`,
|
|
98
|
-
backgroundColor: "#ffffff"
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
});
|
|
102
|
-
const BaseTreeMenuItem = (props) => {
|
|
103
|
-
var _node$properties2;
|
|
104
|
-
const { parentId, nodeId, iconName, iconType, conditionalIconName, conditionalIconType, conditionalIconColor, label, iconColor, onNodeSelect, isSelectedNode, subLabel, sidebarExpanded, isLastNode, loading, node, onDropNode, treeViewMode, menuIndex, aggregateThresholdId,...other } = props;
|
|
105
|
-
const classes = useStyles$2(props);
|
|
106
|
-
const theme = useTheme();
|
|
107
|
-
const [{ isDragging }, dragRef] = useDrag({
|
|
108
|
-
type: "BaseTreeMenuItem",
|
|
109
|
-
item: {
|
|
110
|
-
...node,
|
|
111
|
-
sourceNodeMenuIndex: menuIndex
|
|
112
|
-
},
|
|
113
|
-
collect: (monitor) => ({ isDragging: monitor.isDragging() })
|
|
114
|
-
});
|
|
115
|
-
const handleOnDrop = useCallback((sourceNode, monitor) => {
|
|
116
|
-
if (!monitor.didDrop()) {
|
|
117
|
-
if (onDropNode) {
|
|
118
|
-
const { sourceNodeMenuIndex,...other$1 } = sourceNode;
|
|
119
|
-
onDropNode({ ...other$1 }, node, sourceNodeMenuIndex, menuIndex);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}, [
|
|
123
|
-
onDropNode,
|
|
124
|
-
node,
|
|
125
|
-
menuIndex
|
|
126
|
-
]);
|
|
127
|
-
const [{ canDrop, isOver }, dropRef] = useDrop(() => ({
|
|
128
|
-
accept: ["BaseTreeMenuItem"],
|
|
129
|
-
drop: (sourceNode, monitor) => {
|
|
130
|
-
handleOnDrop(sourceNode, monitor);
|
|
131
|
-
},
|
|
132
|
-
canDrop: (sourceNode) => checkCanDrop(sourceNode),
|
|
133
|
-
collect: (monitor) => ({
|
|
134
|
-
isOver: monitor.isOver(),
|
|
135
|
-
canDrop: !!monitor.canDrop()
|
|
136
|
-
})
|
|
137
|
-
}), [handleOnDrop]);
|
|
138
|
-
const checkCanDrop = useCallback((sourceNode) => {
|
|
139
|
-
if (sourceNode) {
|
|
140
|
-
var _node$properties, _sourceNode$propertie;
|
|
141
|
-
const onDropActions = node === null || node === void 0 || (_node$properties = node.properties) === null || _node$properties === void 0 || (_node$properties = _node$properties.nodeActions) === null || _node$properties === void 0 ? void 0 : _node$properties.filter((na) => (na === null || na === void 0 ? void 0 : na.triggerType) === NodeActionTriggerEnums.On_Node_Drop);
|
|
142
|
-
if (!onDropActions) return false;
|
|
143
|
-
const nodeDragEntities = onDropActions === null || onDropActions === void 0 ? void 0 : onDropActions.map((action) => action === null || action === void 0 ? void 0 : action.dragEntityName);
|
|
144
|
-
return nodeDragEntities.includes(sourceNode === null || sourceNode === void 0 || (_sourceNode$propertie = sourceNode.properties) === null || _sourceNode$propertie === void 0 ? void 0 : _sourceNode$propertie.catalogReturnObject);
|
|
145
|
-
}
|
|
146
|
-
}, [node]);
|
|
147
|
-
const handleOnLabelClick = useCallback((e) => {
|
|
148
|
-
e.preventDefault();
|
|
149
|
-
onNodeSelect(e, nodeId);
|
|
150
|
-
}, [onNodeSelect, nodeId]);
|
|
151
|
-
return /* @__PURE__ */ jsx(TreeItem, {
|
|
152
|
-
className: classes.group,
|
|
153
|
-
nodeId,
|
|
154
|
-
label: /* @__PURE__ */ jsx("div", {
|
|
155
|
-
ref: dropRef,
|
|
156
|
-
children: /* @__PURE__ */ jsx(Tooltip, {
|
|
157
|
-
title: sidebarExpanded ? "" : label,
|
|
158
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
159
|
-
ref: (node === null || node === void 0 || (_node$properties2 = node.properties) === null || _node$properties2 === void 0 ? void 0 : _node$properties2.isDraggable) && dragRef || null,
|
|
160
|
-
style: { opacity: isDragging ? .5 : 1 },
|
|
161
|
-
children: loading ? /* @__PURE__ */ jsx(CircularProgress, { size: 12 }) : /* @__PURE__ */ jsxs("div", {
|
|
162
|
-
id: "udpRecord-BaseTreeMenuItem-" + label.replace(/\s+/g, ""),
|
|
163
|
-
udprecordid: "udpRecord-BaseTreeMenuItem-" + label.replace(/\s+/g, ""),
|
|
164
|
-
className: classes.labelRoot,
|
|
165
|
-
style: { fontWeight: isSelectedNode ? "bold" : "" },
|
|
166
|
-
children: [
|
|
167
|
-
iconName && /* @__PURE__ */ jsx("div", {
|
|
168
|
-
className: classes.iconContainer,
|
|
169
|
-
children: /* @__PURE__ */ jsx(UnityFluentIcon, {
|
|
170
|
-
size: treeViewMode === TreeViewModeEnums.Compact ? "small" : "medium",
|
|
171
|
-
color: iconColor,
|
|
172
|
-
type: iconType,
|
|
173
|
-
icon: iconType === "unity" ? getUnityIconFromName(iconName) : getIconFromName(iconName),
|
|
174
|
-
style: { color: iconColor ? darken(iconColor, .1) : theme.palette.secondary.main }
|
|
175
|
-
})
|
|
176
|
-
}),
|
|
177
|
-
/* @__PURE__ */ jsxs("div", {
|
|
178
|
-
className: classes.labelContainer,
|
|
179
|
-
children: [/* @__PURE__ */ jsxs(Typography, {
|
|
180
|
-
variant: "subtitle2",
|
|
181
|
-
className: clsx(classes.labelText, classes.labelOverflow),
|
|
182
|
-
children: [label, subLabel && treeViewMode === TreeViewModeEnums.Compact && /* @__PURE__ */ jsx(Typography, {
|
|
183
|
-
variant: "caption",
|
|
184
|
-
className: clsx(classes.captionText, classes.labelOverflow),
|
|
185
|
-
children: subLabel
|
|
186
|
-
})]
|
|
187
|
-
}), subLabel && treeViewMode === TreeViewModeEnums.Classic && /* @__PURE__ */ jsx("div", {
|
|
188
|
-
className: classes.labelOverflow,
|
|
189
|
-
children: /* @__PURE__ */ jsx(Typography, {
|
|
190
|
-
variant: "caption",
|
|
191
|
-
className: clsx(classes.captionText),
|
|
192
|
-
children: subLabel
|
|
193
|
-
})
|
|
194
|
-
})]
|
|
195
|
-
}),
|
|
196
|
-
/* @__PURE__ */ jsx(AggregateChip, { aggregateThresholdId }),
|
|
197
|
-
conditionalIconName && sidebarExpanded && /* @__PURE__ */ jsx("div", {
|
|
198
|
-
className: classes.conditionalIconContainer,
|
|
199
|
-
children: /* @__PURE__ */ jsx(UnityFluentIcon, {
|
|
200
|
-
size: treeViewMode === TreeViewModeEnums.Compact ? "small" : "medium",
|
|
201
|
-
color: conditionalIconColor,
|
|
202
|
-
type: conditionalIconType,
|
|
203
|
-
icon: conditionalIconType === "unity" ? getUnityIconFromName(conditionalIconName) : getIconFromName(conditionalIconName),
|
|
204
|
-
style: { color: conditionalIconColor }
|
|
205
|
-
})
|
|
206
|
-
})
|
|
207
|
-
]
|
|
208
|
-
})
|
|
209
|
-
})
|
|
210
|
-
})
|
|
211
|
-
}),
|
|
212
|
-
onLabelClick: handleOnLabelClick,
|
|
213
|
-
classes: {
|
|
214
|
-
root: classes.root,
|
|
215
|
-
content: classes.content
|
|
216
|
-
},
|
|
217
|
-
...other
|
|
218
|
-
}, nodeId);
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
//#endregion
|
|
222
|
-
//#region src/treeMenu/BaseTreeMenu.jsx
|
|
223
|
-
const useStyles$1 = makeStyles((theme) => ({
|
|
224
|
-
root: {
|
|
225
|
-
marginBottom: theme.spacing(1.75),
|
|
226
|
-
borderTop: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
|
|
227
|
-
},
|
|
228
|
-
noChildrenContainer: { borderBottom: (props) => props.treeViewMode === TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : "" }
|
|
229
|
-
}));
|
|
230
|
-
const BaseTreeMenu = (props) => {
|
|
231
|
-
const { menuItems, onSelectNode, onDropNode, menuIndex, selectedNodeId, selectedNodeParentId, sidebarExpanded, treeViewMode, childrenKey = "children" } = props;
|
|
232
|
-
const [expanded, setExpanded] = useState(null);
|
|
233
|
-
const [isCurrentActiveTree, setIsCurrentActiveTree] = useState(false);
|
|
234
|
-
const [selectedNodeIsHidden, setSelectedNodeIsHidden] = useState(false);
|
|
235
|
-
const [tree, setTree] = useState(menuItems);
|
|
236
|
-
const theme = useTheme();
|
|
237
|
-
const classes = useStyles$1(props);
|
|
238
|
-
const handleSelectedNode = useCallback((e, value) => {
|
|
239
|
-
const selectedNode = searchTree(tree, value);
|
|
240
|
-
if (onSelectNode) {
|
|
241
|
-
onSelectNode(selectedNode, menuIndex);
|
|
242
|
-
setSelectedNodeIsHidden(false);
|
|
243
|
-
}
|
|
244
|
-
}, [
|
|
245
|
-
tree,
|
|
246
|
-
menuIndex,
|
|
247
|
-
onSelectNode
|
|
248
|
-
]);
|
|
249
|
-
const renderTree = useCallback((node, depth = 1) => {
|
|
250
|
-
var _node$properties, _node$properties2, _node$properties3, _node$properties4, _node$properties5, _node$properties6, _node$properties7, _node$properties8, _node$properties9, _node$properties10, _node$properties11, _node$properties12, _node$properties13, _node$childrenKey, _node$properties19, _node$childrenKey2, _node$properties20, _node$childrenKey3, _node$properties21, _node$childrenKey4;
|
|
251
|
-
let label = ((_node$properties = node.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.nodeLabel) || ((_node$properties2 = node.properties) === null || _node$properties2 === void 0 ? void 0 : _node$properties2.name);
|
|
252
|
-
let subLabel = (_node$properties3 = node.properties) === null || _node$properties3 === void 0 ? void 0 : _node$properties3.nodeSubLabel;
|
|
253
|
-
let iconName = (_node$properties4 = node.properties) === null || _node$properties4 === void 0 || (_node$properties4 = _node$properties4.defaultIcon) === null || _node$properties4 === void 0 ? void 0 : _node$properties4.name;
|
|
254
|
-
let iconType = (_node$properties5 = node.properties) === null || _node$properties5 === void 0 || (_node$properties5 = _node$properties5.defaultIcon) === null || _node$properties5 === void 0 ? void 0 : _node$properties5.type;
|
|
255
|
-
let conditionalIconName = ((_node$properties6 = node.properties) === null || _node$properties6 === void 0 ? void 0 : _node$properties6.conditionalIconName) || "";
|
|
256
|
-
let conditionalIconType = ((_node$properties7 = node.properties) === null || _node$properties7 === void 0 ? void 0 : _node$properties7.conditionalIconName) ? node.properties.conditionalIconType : "";
|
|
257
|
-
let conditionalIconColor = ((_node$properties8 = node.properties) === null || _node$properties8 === void 0 ? void 0 : _node$properties8.conditionalIconName) ? (_node$properties9 = node.properties) === null || _node$properties9 === void 0 ? void 0 : _node$properties9.conditionalIconColor : "";
|
|
258
|
-
let nodeId = node.id;
|
|
259
|
-
let iconColor = ((_node$properties10 = node.properties) === null || _node$properties10 === void 0 ? void 0 : _node$properties10.conditionalIconName) ? (_node$properties11 = node.properties) === null || _node$properties11 === void 0 ? void 0 : _node$properties11.conditionalIconColor : (_node$properties12 = node.properties) === null || _node$properties12 === void 0 || (_node$properties12 = _node$properties12.defaultIcon) === null || _node$properties12 === void 0 || (_node$properties12 = _node$properties12.color) === null || _node$properties12 === void 0 ? void 0 : _node$properties12.hex;
|
|
260
|
-
let aggregateThresholdId = ((_node$properties13 = node.properties) === null || _node$properties13 === void 0 ? void 0 : _node$properties13.aggregateThresholdId) || "";
|
|
261
|
-
if (node.isGroupNode) {
|
|
262
|
-
var _node$properties14, _node$properties15, _node$properties16, _node$properties17, _node$properties18;
|
|
263
|
-
label = (_node$properties14 = node.properties) === null || _node$properties14 === void 0 ? void 0 : _node$properties14.label;
|
|
264
|
-
subLabel = (_node$properties15 = node.properties) === null || _node$properties15 === void 0 ? void 0 : _node$properties15.subLabel;
|
|
265
|
-
iconName = (_node$properties16 = node.properties) === null || _node$properties16 === void 0 || (_node$properties16 = _node$properties16.icon) === null || _node$properties16 === void 0 ? void 0 : _node$properties16.name;
|
|
266
|
-
iconType = (_node$properties17 = node.properties) === null || _node$properties17 === void 0 || (_node$properties17 = _node$properties17.icon) === null || _node$properties17 === void 0 ? void 0 : _node$properties17.type;
|
|
267
|
-
iconColor = (_node$properties18 = node.properties) === null || _node$properties18 === void 0 || (_node$properties18 = _node$properties18.icon) === null || _node$properties18 === void 0 || (_node$properties18 = _node$properties18.color) === null || _node$properties18 === void 0 ? void 0 : _node$properties18.hex;
|
|
268
|
-
}
|
|
269
|
-
return /* @__PURE__ */ jsxs(BaseTreeMenuItem, {
|
|
270
|
-
nodeId,
|
|
271
|
-
label,
|
|
272
|
-
subLabel,
|
|
273
|
-
iconName,
|
|
274
|
-
iconType,
|
|
275
|
-
conditionalIconName,
|
|
276
|
-
conditionalIconType,
|
|
277
|
-
conditionalIconColor,
|
|
278
|
-
parentId: node.parentId,
|
|
279
|
-
iconColor,
|
|
280
|
-
onNodeSelect: handleSelectedNode,
|
|
281
|
-
selectedNodeId,
|
|
282
|
-
isSelectedNode: selectedNodeId === node.id,
|
|
283
|
-
showRightBorderColor: selectedNodeIsHidden && isCurrentActiveTree && getNodeIdForRightBorder(expanded, tree, selectedNodeParentId) === node.id,
|
|
284
|
-
isCurrentActiveTree,
|
|
285
|
-
sidebarExpanded,
|
|
286
|
-
depth,
|
|
287
|
-
hideExpansion: !!!((_node$childrenKey = node[childrenKey]) === null || _node$childrenKey === void 0 ? void 0 : _node$childrenKey.length),
|
|
288
|
-
node,
|
|
289
|
-
onDropNode,
|
|
290
|
-
treeViewMode,
|
|
291
|
-
menuIndex,
|
|
292
|
-
aggregateThresholdId,
|
|
293
|
-
children: [
|
|
294
|
-
((_node$properties19 = node.properties) === null || _node$properties19 === void 0 ? void 0 : _node$properties19.lazyLoad) && !!!((_node$childrenKey2 = node[childrenKey]) === null || _node$childrenKey2 === void 0 ? void 0 : _node$childrenKey2.length) && !node.completedLoadingChildren && /* @__PURE__ */ jsx(CircularProgress, {
|
|
295
|
-
size: 12,
|
|
296
|
-
style: { marginLeft: (depth || 1) * theme.spacing(1) }
|
|
297
|
-
}),
|
|
298
|
-
((_node$properties20 = node.properties) === null || _node$properties20 === void 0 ? void 0 : _node$properties20.lazyLoad) && !!!((_node$childrenKey3 = node[childrenKey]) === null || _node$childrenKey3 === void 0 ? void 0 : _node$childrenKey3.length) && node.completedLoadingChildren && sidebarExpanded && !node.errorRetrievingChildren && /* @__PURE__ */ jsx("div", {
|
|
299
|
-
className: classes.noChildrenContainer,
|
|
300
|
-
children: /* @__PURE__ */ jsx(Typography, {
|
|
301
|
-
variant: "caption",
|
|
302
|
-
style: {
|
|
303
|
-
marginLeft: (depth || 1) * theme.spacing(3),
|
|
304
|
-
fontWeight: 400
|
|
305
|
-
},
|
|
306
|
-
children: "No Children"
|
|
307
|
-
})
|
|
308
|
-
}),
|
|
309
|
-
((_node$properties21 = node.properties) === null || _node$properties21 === void 0 ? void 0 : _node$properties21.lazyLoad) && node.completedLoadingChildren && sidebarExpanded && node.errorRetrievingChildren && /* @__PURE__ */ jsx("div", {
|
|
310
|
-
className: classes.noChildrenContainer,
|
|
311
|
-
children: /* @__PURE__ */ jsx(Typography, {
|
|
312
|
-
variant: "caption",
|
|
313
|
-
style: {
|
|
314
|
-
marginLeft: (depth || 1) * theme.spacing(3),
|
|
315
|
-
fontWeight: 400
|
|
316
|
-
},
|
|
317
|
-
children: `Error Retrieving ${!!((_node$childrenKey4 = node[childrenKey]) === null || _node$childrenKey4 === void 0 ? void 0 : _node$childrenKey4.length) ? `Additional ` : ""}Children`
|
|
318
|
-
})
|
|
319
|
-
}),
|
|
320
|
-
Array.isArray(node[childrenKey]) ? node[childrenKey].map((n, i) => renderTree(n, depth + 1)) : null
|
|
321
|
-
]
|
|
322
|
-
}, nodeId);
|
|
323
|
-
}, [
|
|
324
|
-
handleSelectedNode,
|
|
325
|
-
selectedNodeId,
|
|
326
|
-
selectedNodeIsHidden,
|
|
327
|
-
isCurrentActiveTree,
|
|
328
|
-
sidebarExpanded,
|
|
329
|
-
expanded,
|
|
330
|
-
tree,
|
|
331
|
-
selectedNodeParentId,
|
|
332
|
-
theme,
|
|
333
|
-
classes,
|
|
334
|
-
onDropNode,
|
|
335
|
-
treeViewMode,
|
|
336
|
-
menuIndex,
|
|
337
|
-
childrenKey
|
|
338
|
-
]);
|
|
339
|
-
const handleNodeExpansion = useCallback(async (evt, nodeIds) => {
|
|
340
|
-
const treeCopy = cloneDeep(tree);
|
|
341
|
-
setExpanded(nodeIds);
|
|
342
|
-
const parentNode = searchTree(treeCopy, selectedNodeParentId);
|
|
343
|
-
const initialAllParentNodeIds = selectedNodeParentId ? [selectedNodeParentId] : [];
|
|
344
|
-
const allParentNodeIds = findAllParentIds(treeCopy, parentNode, initialAllParentNodeIds);
|
|
345
|
-
const selectedNodeShown = allParentNodeIds.every((id) => nodeIds.includes(id));
|
|
346
|
-
if (isCurrentActiveTree && allParentNodeIds.length && !selectedNodeShown) setSelectedNodeIsHidden(true);
|
|
347
|
-
else setSelectedNodeIsHidden(false);
|
|
348
|
-
}, [
|
|
349
|
-
isCurrentActiveTree,
|
|
350
|
-
tree,
|
|
351
|
-
selectedNodeParentId
|
|
352
|
-
]);
|
|
353
|
-
const getExpandedRecursively = useCallback((tree$1) => {
|
|
354
|
-
if (!tree$1) return [];
|
|
355
|
-
return tree$1.reduce((expandedIds, item) => {
|
|
356
|
-
var _item$childrenKey;
|
|
357
|
-
if (item === null || item === void 0 ? void 0 : item.isExpanded) expandedIds.push(item.id);
|
|
358
|
-
if (item && ((_item$childrenKey = item[childrenKey]) === null || _item$childrenKey === void 0 ? void 0 : _item$childrenKey.length)) expandedIds = expandedIds.concat(getExpandedRecursively(item[childrenKey]));
|
|
359
|
-
return expandedIds;
|
|
360
|
-
}, []);
|
|
361
|
-
}, [childrenKey]);
|
|
362
|
-
useEffect(() => {
|
|
363
|
-
setTree(menuItems);
|
|
364
|
-
}, [menuItems]);
|
|
365
|
-
useEffect(() => {
|
|
366
|
-
if (!tree) return;
|
|
367
|
-
let expanded$1 = [];
|
|
368
|
-
if (tree === null || tree === void 0 ? void 0 : tree.isExpanded) expanded$1.push(tree.id);
|
|
369
|
-
expanded$1 = expanded$1.concat(getExpandedRecursively(tree[childrenKey]));
|
|
370
|
-
setExpanded(expanded$1);
|
|
371
|
-
}, [
|
|
372
|
-
getExpandedRecursively,
|
|
373
|
-
tree,
|
|
374
|
-
childrenKey
|
|
375
|
-
]);
|
|
376
|
-
useEffect(() => {
|
|
377
|
-
if (!!searchTree(tree, selectedNodeId)) setIsCurrentActiveTree(true);
|
|
378
|
-
else setIsCurrentActiveTree(false);
|
|
379
|
-
}, [tree, selectedNodeId]);
|
|
380
|
-
if (!expanded) return null;
|
|
381
|
-
return /* @__PURE__ */ jsx(TreeView, {
|
|
382
|
-
className: classes.root,
|
|
383
|
-
defaultCollapseIcon: /* @__PURE__ */ jsx(FluentIcon, {
|
|
384
|
-
size: "small",
|
|
385
|
-
component: CaretUpSolid8Icon,
|
|
386
|
-
style: {
|
|
387
|
-
color: lighten(theme.palette.primary.main, .5),
|
|
388
|
-
width: theme.spacing(1.5),
|
|
389
|
-
height: theme.spacing(1.5)
|
|
390
|
-
}
|
|
391
|
-
}),
|
|
392
|
-
expanded: expanded || [],
|
|
393
|
-
onNodeToggle: handleNodeExpansion,
|
|
394
|
-
defaultExpandIcon: /* @__PURE__ */ jsx(FluentIcon, {
|
|
395
|
-
size: "small",
|
|
396
|
-
component: CaretDownSolid8Icon,
|
|
397
|
-
style: {
|
|
398
|
-
color: lighten(theme.palette.primary.main, .5),
|
|
399
|
-
width: theme.spacing(1.5),
|
|
400
|
-
height: theme.spacing(1.5)
|
|
401
|
-
}
|
|
402
|
-
}),
|
|
403
|
-
selected: selectedNodeId,
|
|
404
|
-
children: tree && renderTree(tree)
|
|
405
|
-
}, tree);
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
//#endregion
|
|
409
|
-
//#region src/menuPage/MenuPage.jsx
|
|
410
|
-
const useStyles = makeStyles((theme) => ({
|
|
411
|
-
root: {
|
|
412
|
-
flex: 1,
|
|
413
|
-
minHeight: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
|
|
414
|
-
display: "grid",
|
|
415
|
-
gridTemplateAreas: ["sidebar content"].map((line) => `"${line}"`).join(" "),
|
|
416
|
-
gridTemplateColumns: "auto 1fr",
|
|
417
|
-
gridTemplateRows: "auto 1fr"
|
|
418
|
-
},
|
|
419
|
-
sidebar: {
|
|
420
|
-
gridArea: "sidebar",
|
|
421
|
-
marginRight: theme.spacing(1)
|
|
422
|
-
},
|
|
423
|
-
content: {
|
|
424
|
-
gridArea: "content",
|
|
425
|
-
display: "flex",
|
|
426
|
-
flexDirection: "column",
|
|
427
|
-
position: "relative",
|
|
428
|
-
zIndex: 1,
|
|
429
|
-
height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
|
|
430
|
-
overflowY: "auto"
|
|
431
|
-
},
|
|
432
|
-
menuContent: {
|
|
433
|
-
marginTop: theme.spacing(1),
|
|
434
|
-
height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 116}px)`,
|
|
435
|
-
overflowX: "hidden"
|
|
436
|
-
},
|
|
437
|
-
loader: {
|
|
438
|
-
marginRight: theme.spacing(1),
|
|
439
|
-
marginLeft: theme.spacing(1)
|
|
440
|
-
},
|
|
441
|
-
loadingContent: {
|
|
442
|
-
flex: 1,
|
|
443
|
-
display: "flex",
|
|
444
|
-
flexDirection: "column",
|
|
445
|
-
alignItems: "center",
|
|
446
|
-
justifyContent: "center"
|
|
447
|
-
}
|
|
448
|
-
}));
|
|
449
|
-
const MenuPage = (props) => {
|
|
450
|
-
var _selectedNode$propert, _selectedNode$propert2, _selectedNode$propert3, _selectedNode$propert4, _selectedNode$propert5, _selectedNode$propert6, _selectedNode$propert7, _selectedNode$propert8, _selectedNode$propert9;
|
|
451
|
-
const buildEnv = useBuildEnvironment();
|
|
452
|
-
const classes = useStyles({
|
|
453
|
-
...props,
|
|
454
|
-
appRibbonSpace: buildEnv ? APP_RIBBON_SPACE : 0
|
|
455
|
-
});
|
|
456
|
-
const location = useLocation();
|
|
457
|
-
const user = useUser();
|
|
458
|
-
const { t } = useTranslation();
|
|
459
|
-
const setLocationState = useSetLocationState();
|
|
460
|
-
const [menuItemsList, setMenuItemsList] = useState([]);
|
|
461
|
-
const [selectedNode, setSelectedNode] = useState(null);
|
|
462
|
-
const [sidebarExpanded, setSidebarExpanded] = useState(true);
|
|
463
|
-
const innerMenuId = location.pathname.replace("/menupage/", "");
|
|
464
|
-
const [{ data: innerMenu, loading: menuLoading }] = useAxiosGet(ConfigService.tenantV1ApiUrl, `menus/${innerMenuId}`, {}, !!!innerMenuId, false);
|
|
465
|
-
const { setSubHeaderActionHasChildren, setNavigationExpanded } = useShellStore();
|
|
466
|
-
const [{ data: pageData, loading: pageLoading, error: pageError }] = useAxiosGet(ConfigService.tenantV1ApiUrl, `page/${selectedNode === null || selectedNode === void 0 || (_selectedNode$propert = selectedNode.properties) === null || _selectedNode$propert === void 0 || (_selectedNode$propert = _selectedNode$propert.page) === null || _selectedNode$propert === void 0 ? void 0 : _selectedNode$propert.id}`, {}, !!!(selectedNode === null || selectedNode === void 0 || (_selectedNode$propert2 = selectedNode.properties) === null || _selectedNode$propert2 === void 0 || (_selectedNode$propert2 = _selectedNode$propert2.page) === null || _selectedNode$propert2 === void 0 ? void 0 : _selectedNode$propert2.id), false);
|
|
467
|
-
const handleSelectedNode = useCallback((node, menuIndex) => {
|
|
468
|
-
setSelectedNode(node);
|
|
469
|
-
}, []);
|
|
470
|
-
const handleDropNode = useCallback((sourceNode, targetNode, sourceNodeMenuIndex, targetNodeMenuIndex) => {}, []);
|
|
471
|
-
const handleSidebarExpandClick = useCallback(() => {
|
|
472
|
-
setSidebarExpanded((expanded) => !expanded);
|
|
473
|
-
}, []);
|
|
474
|
-
useEffect(() => {
|
|
475
|
-
if (innerMenu) {
|
|
476
|
-
const list = [];
|
|
477
|
-
let nodeSelected = false;
|
|
478
|
-
innerMenu.menuItemInstanceStructureViews.forEach((menuInstance) => {
|
|
479
|
-
const updatedMenu = transformMenuPageTree(menuInstance);
|
|
480
|
-
if (updatedMenu) {
|
|
481
|
-
list.push(updatedMenu);
|
|
482
|
-
if (!nodeSelected) {
|
|
483
|
-
setSelectedNode(updatedMenu);
|
|
484
|
-
nodeSelected = true;
|
|
485
|
-
setNavigationExpanded(false);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
});
|
|
489
|
-
setMenuItemsList(list);
|
|
490
|
-
}
|
|
491
|
-
}, [innerMenu, setNavigationExpanded]);
|
|
492
|
-
useEffect(() => {
|
|
493
|
-
setSubHeaderActionHasChildren(false);
|
|
494
|
-
}, [setSubHeaderActionHasChildren]);
|
|
495
|
-
useEffect(() => {
|
|
496
|
-
if (innerMenu) setLocationState({ label: t(innerMenu === null || innerMenu === void 0 ? void 0 : innerMenu.name) });
|
|
497
|
-
}, [
|
|
498
|
-
setLocationState,
|
|
499
|
-
t,
|
|
500
|
-
innerMenu
|
|
501
|
-
]);
|
|
502
|
-
return /* @__PURE__ */ jsx(DndProvider, {
|
|
503
|
-
backend: HTML5Backend,
|
|
504
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
505
|
-
className: classes.root,
|
|
506
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
507
|
-
className: classes.sidebar,
|
|
508
|
-
children: /* @__PURE__ */ jsx(UtilitySideBar, {
|
|
509
|
-
title: innerMenu === null || innerMenu === void 0 ? void 0 : innerMenu.name,
|
|
510
|
-
isUsingChildren: true,
|
|
511
|
-
resizable: true,
|
|
512
|
-
removePadding: true,
|
|
513
|
-
removeTopLayoutUnit: true,
|
|
514
|
-
onUtilitySidebarToggleExpandClick: handleSidebarExpandClick,
|
|
515
|
-
collapsedWidth: 64,
|
|
516
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
517
|
-
className: classes.menuContent,
|
|
518
|
-
children: [(menuItemsList === null || menuItemsList === void 0 ? void 0 : menuItemsList.length) > 0 && !menuLoading && menuItemsList.map((menuItems, index) => /* @__PURE__ */ jsx("div", {
|
|
519
|
-
className: classes.nodeContainer,
|
|
520
|
-
children: /* @__PURE__ */ jsx(BaseTreeMenu, {
|
|
521
|
-
menuItems,
|
|
522
|
-
onSelectNode: handleSelectedNode,
|
|
523
|
-
onDropNode: handleDropNode,
|
|
524
|
-
menuIndex: index,
|
|
525
|
-
selectedNodeId: selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.id,
|
|
526
|
-
selectedNodeParentId: selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.parentId,
|
|
527
|
-
sidebarExpanded,
|
|
528
|
-
treeViewMode: TreeViewModeEnums.Classic
|
|
529
|
-
})
|
|
530
|
-
}, menuItems.id)), menuLoading && /* @__PURE__ */ jsx("div", {
|
|
531
|
-
className: classes.loader,
|
|
532
|
-
children: /* @__PURE__ */ jsx(NodeLoader, { loading: menuLoading })
|
|
533
|
-
})]
|
|
534
|
-
}, innerMenuId)
|
|
535
|
-
})
|
|
536
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
537
|
-
className: classes.content,
|
|
538
|
-
children: (selectedNode === null || selectedNode === void 0 || (_selectedNode$propert3 = selectedNode.properties) === null || _selectedNode$propert3 === void 0 || (_selectedNode$propert3 = _selectedNode$propert3.page) === null || _selectedNode$propert3 === void 0 ? void 0 : _selectedNode$propert3.id) && /* @__PURE__ */ jsx(PageContainer, {
|
|
539
|
-
user,
|
|
540
|
-
pageData,
|
|
541
|
-
pageLoading,
|
|
542
|
-
widgetParams: {
|
|
543
|
-
pageId: pageData === null || pageData === void 0 ? void 0 : pageData.pageId,
|
|
544
|
-
entityName: selectedNode === null || selectedNode === void 0 || (_selectedNode$propert4 = selectedNode.properties) === null || _selectedNode$propert4 === void 0 || (_selectedNode$propert4 = _selectedNode$propert4.page) === null || _selectedNode$propert4 === void 0 || (_selectedNode$propert4 = _selectedNode$propert4.entity) === null || _selectedNode$propert4 === void 0 ? void 0 : _selectedNode$propert4.entityName,
|
|
545
|
-
pbiReportCode: selectedNode === null || selectedNode === void 0 || (_selectedNode$propert5 = selectedNode.properties) === null || _selectedNode$propert5 === void 0 || (_selectedNode$propert5 = _selectedNode$propert5.page) === null || _selectedNode$propert5 === void 0 ? void 0 : _selectedNode$propert5.pbiReportCode,
|
|
546
|
-
requiredFieldsMap: selectedNode === null || selectedNode === void 0 || (_selectedNode$propert6 = selectedNode.properties) === null || _selectedNode$propert6 === void 0 || (_selectedNode$propert6 = _selectedNode$propert6.page) === null || _selectedNode$propert6 === void 0 ? void 0 : _selectedNode$propert6.requiredFieldMapping,
|
|
547
|
-
udpTagId: selectedNode === null || selectedNode === void 0 || (_selectedNode$propert7 = selectedNode.properties) === null || _selectedNode$propert7 === void 0 || (_selectedNode$propert7 = _selectedNode$propert7.page) === null || _selectedNode$propert7 === void 0 ? void 0 : _selectedNode$propert7.udpTagId,
|
|
548
|
-
queryId: selectedNode === null || selectedNode === void 0 || (_selectedNode$propert8 = selectedNode.properties) === null || _selectedNode$propert8 === void 0 || (_selectedNode$propert8 = _selectedNode$propert8.page) === null || _selectedNode$propert8 === void 0 ? void 0 : _selectedNode$propert8.queryId,
|
|
549
|
-
inquiryTreeId: selectedNode === null || selectedNode === void 0 || (_selectedNode$propert9 = selectedNode.properties) === null || _selectedNode$propert9 === void 0 || (_selectedNode$propert9 = _selectedNode$propert9.page) === null || _selectedNode$propert9 === void 0 ? void 0 : _selectedNode$propert9.inquiryTreeId
|
|
550
|
-
},
|
|
551
|
-
disableMargins: true,
|
|
552
|
-
fromMenu: true
|
|
553
|
-
}, selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.id)
|
|
554
|
-
})]
|
|
555
|
-
})
|
|
556
|
-
});
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
//#endregion
|
|
560
|
-
export { MenuPage };
|
|
561
|
-
//# sourceMappingURL=MenuPage-MyE8iJHD.js.map
|