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,1718 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CsX-DzYB.cjs');
|
|
2
|
-
const require_SideSheet = require('./SideSheet-XOQ0yjmY.cjs');
|
|
3
|
-
const require_EnvironmentRibbon = require('./EnvironmentRibbon-C5I-zJ7u.cjs');
|
|
4
|
-
const require_UtilitySideBar = require('./UtilitySideBar-C-5lGIvy.cjs');
|
|
5
|
-
const require_PageContainer = require('./PageContainer-BG6v3pM7.cjs');
|
|
6
|
-
const react = require_chunk.__toESM(require("react"));
|
|
7
|
-
const __material_ui_core = require_chunk.__toESM(require("@material-ui/core"));
|
|
8
|
-
const react_jsx_runtime = require_chunk.__toESM(require("react/jsx-runtime"));
|
|
9
|
-
const udp_react_stencil_component_library = require_chunk.__toESM(require("udp-react-stencil-component-library"));
|
|
10
|
-
const react_router_dom = require_chunk.__toESM(require("react-router-dom"));
|
|
11
|
-
const luxon = require_chunk.__toESM(require("luxon"));
|
|
12
|
-
const __material_ui_lab_Autocomplete = require_chunk.__toESM(require("@material-ui/lab/Autocomplete"));
|
|
13
|
-
const clsx = require_chunk.__toESM(require("clsx"));
|
|
14
|
-
const __fluentui_react_icons = require_chunk.__toESM(require("@fluentui/react-icons"));
|
|
15
|
-
const lodash = require_chunk.__toESM(require("lodash"));
|
|
16
|
-
const react_i18next = require_chunk.__toESM(require("react-i18next"));
|
|
17
|
-
const zustand = require_chunk.__toESM(require("zustand"));
|
|
18
|
-
const zustand_middleware = require_chunk.__toESM(require("zustand/middleware"));
|
|
19
|
-
const __material_ui_core_styles = require_chunk.__toESM(require("@material-ui/core/styles"));
|
|
20
|
-
const react_dnd = require_chunk.__toESM(require("react-dnd"));
|
|
21
|
-
const react_dnd_html5_backend = require_chunk.__toESM(require("react-dnd-html5-backend"));
|
|
22
|
-
const __material_ui_lab_TreeView = require_chunk.__toESM(require("@material-ui/lab/TreeView"));
|
|
23
|
-
const __material_ui_lab_TreeItem = require_chunk.__toESM(require("@material-ui/lab/TreeItem"));
|
|
24
|
-
const __material_ui_icons_CheckCircle = require_chunk.__toESM(require("@material-ui/icons/CheckCircle"));
|
|
25
|
-
const __material_ui_icons_RadioButtonUnchecked = require_chunk.__toESM(require("@material-ui/icons/RadioButtonUnchecked"));
|
|
26
|
-
const __material_ui_icons_RadioButtonChecked = require_chunk.__toESM(require("@material-ui/icons/RadioButtonChecked"));
|
|
27
|
-
const src_assets_images_phone_png = require_chunk.__toESM(require("./assets/images/phone.png"));
|
|
28
|
-
const react_html_parser = require_chunk.__toESM(require("react-html-parser"));
|
|
29
|
-
|
|
30
|
-
//#region src/UI/inputs/textField/FluentTextFieldAutoComplete.jsx
|
|
31
|
-
const useStyles$10 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
32
|
-
formTextInput: { fontSize: 14 },
|
|
33
|
-
labelRoot: { fontSize: 14 }
|
|
34
|
-
}));
|
|
35
|
-
const AutoCompletePopper = (props) => {
|
|
36
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Popper, {
|
|
37
|
-
...props,
|
|
38
|
-
placement: "bottom-start"
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
const FluentTextFieldAutoComplete = (props) => {
|
|
42
|
-
const { label, placeholder, options, textFieldProps, disabled, onChange: onChangeProp, value, optionKey, additionalOnChangeAction, classes: classProps, variant = "outlined", inputProps, inputPropClasses, customPopper, disableClearable = false, defaultValue, additionalOptionKey, isMultiple = false, limitTags, renderTags, optionLabelDisplayFunction = (option) => option, groupBy = null, size = "medium", id, udprecordid,...other } = props;
|
|
43
|
-
const classes = useStyles$10();
|
|
44
|
-
const { autocompleteRoot } = classProps || {};
|
|
45
|
-
const onChange = (0, react.useCallback)((e, value$1) => {
|
|
46
|
-
if (additionalOnChangeAction) additionalOnChangeAction(value$1);
|
|
47
|
-
return onChangeProp?.(value$1);
|
|
48
|
-
}, [onChangeProp, additionalOnChangeAction]);
|
|
49
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_Autocomplete.default, {
|
|
50
|
-
id: "autocomplete",
|
|
51
|
-
multiple: isMultiple,
|
|
52
|
-
limitTags,
|
|
53
|
-
disabled,
|
|
54
|
-
options: options || [],
|
|
55
|
-
getOptionLabel: (option) => option && (optionKey ? `${optionLabelDisplayFunction(option[optionKey])}${additionalOptionKey ? ` - (${option[additionalOptionKey]})` : ""}` : optionLabelDisplayFunction(option) || ""),
|
|
56
|
-
getOptionSelected: (option, val) => optionKey ? option[optionKey] === val[optionKey] : option === val,
|
|
57
|
-
groupBy,
|
|
58
|
-
onChange,
|
|
59
|
-
value: value || (isMultiple ? [] : null),
|
|
60
|
-
className: autocompleteRoot,
|
|
61
|
-
classes: { root: classProps?.formControl },
|
|
62
|
-
PopperComponent: customPopper || AutoCompletePopper,
|
|
63
|
-
disableClearable,
|
|
64
|
-
defaultValue,
|
|
65
|
-
size,
|
|
66
|
-
renderInput: (params) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.TextField, {
|
|
67
|
-
...textFieldProps,
|
|
68
|
-
...params,
|
|
69
|
-
...other,
|
|
70
|
-
inputProps: {
|
|
71
|
-
...params.inputProps,
|
|
72
|
-
id,
|
|
73
|
-
udprecordid
|
|
74
|
-
},
|
|
75
|
-
label,
|
|
76
|
-
margin: "dense",
|
|
77
|
-
variant,
|
|
78
|
-
placeholder,
|
|
79
|
-
size: "small",
|
|
80
|
-
InputProps: {
|
|
81
|
-
...params.InputProps,
|
|
82
|
-
...inputProps,
|
|
83
|
-
classes: {
|
|
84
|
-
root: classProps?.inputPropRoot,
|
|
85
|
-
input: (0, clsx.default)(classes.formTextInput, classProps?.inputPropInput)
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
InputLabelProps: { classes: { root: (0, clsx.default)(classes.labelRoot, classProps?.formLabelRoot) } }
|
|
89
|
-
}),
|
|
90
|
-
renderTags
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/utilities/input/DateUtilities.js
|
|
96
|
-
const formatDateToLocaleString = (isoDate, luxonFormat = "") => {
|
|
97
|
-
return luxon.DateTime.fromISO(isoDate, { zone: "utc" }).toLocal().toLocaleString(luxonFormat);
|
|
98
|
-
};
|
|
99
|
-
const toUtcDate = (date) => {
|
|
100
|
-
if (!date) return null;
|
|
101
|
-
if (date.endsWith("Z")) return new Date(date);
|
|
102
|
-
else return /* @__PURE__ */ new Date(date + "Z");
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region src/workflow/menus/WorkflowTreeMenuItem.jsx
|
|
107
|
-
const useStyles$9 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
108
|
-
root: {
|
|
109
|
-
"&.Mui-selected > .MuiTreeItem-content": {
|
|
110
|
-
backgroundColor: theme?.getThemeData()?.mode === "dark" ? theme.palette.grey[700] : theme.palette.grey[300],
|
|
111
|
-
borderRight: `4px solid ${theme.palette.primary.main}`
|
|
112
|
-
},
|
|
113
|
-
"&.Mui-selected > .MuiTreeItem-content .MuiTreeItem-label": {
|
|
114
|
-
backgroundColor: "transparent",
|
|
115
|
-
paddingLeft: 0
|
|
116
|
-
},
|
|
117
|
-
"&.Mui-selected > .MuiTreeItem-content > .MuiCollapse-wrapperInner": { backgroundColor: theme?.getThemeData()?.mode !== "dark" && theme.palette.grey[50] },
|
|
118
|
-
"& .MuiTreeItem-content .MuiTreeItem-iconContainer": { display: (props) => props.sidebarExpanded ? "flex" : "none" }
|
|
119
|
-
},
|
|
120
|
-
content: { backgroundColor: (props) => theme?.getThemeData()?.mode !== "dark" && !props.sidebarExpanded && props.conditionalIconName && props.conditionalIconColor ? (0, __material_ui_core.lighten)(props.conditionalIconColor, .92) : "" },
|
|
121
|
-
labelRoot: {
|
|
122
|
-
display: "flex",
|
|
123
|
-
alignItems: "center",
|
|
124
|
-
marginLeft: (props) => props.sidebarExpanded ? 0 : theme.spacing(1.5),
|
|
125
|
-
width: "100%"
|
|
126
|
-
},
|
|
127
|
-
labelContainer: {
|
|
128
|
-
display: (props) => !props.sidebarExpanded ? "none" : "",
|
|
129
|
-
width: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `calc(100% - ${theme.spacing(6.25)}px)` : `calc(100% - ${theme.spacing(7.75)}px)`
|
|
130
|
-
},
|
|
131
|
-
conditionalIconContainer: { display: "inline-flex" },
|
|
132
|
-
labelText: {
|
|
133
|
-
fontSize: "0.75rem",
|
|
134
|
-
fontWeight: 600,
|
|
135
|
-
lineHeight: "1rem",
|
|
136
|
-
letterSpacing: .1
|
|
137
|
-
},
|
|
138
|
-
captionText: {
|
|
139
|
-
marginLeft: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(1) : "",
|
|
140
|
-
fontSize: "0.65rem",
|
|
141
|
-
fontWeight: 400,
|
|
142
|
-
lineHeight: 1,
|
|
143
|
-
letterSpacing: .4
|
|
144
|
-
},
|
|
145
|
-
labelOverflow: {
|
|
146
|
-
whiteSpace: "nowrap",
|
|
147
|
-
overflow: "hidden",
|
|
148
|
-
textOverflow: "ellipsis",
|
|
149
|
-
marginTop: `-${theme.spacing(.25)}px`
|
|
150
|
-
},
|
|
151
|
-
group: {
|
|
152
|
-
width: "100%",
|
|
153
|
-
"& .MuiTreeItem-group": { marginLeft: 0 },
|
|
154
|
-
"& .MuiTreeItem-content": {
|
|
155
|
-
paddingLeft: (props) => props.sidebarExpanded ? (props.depth || 1) * theme.spacing(1) : 0,
|
|
156
|
-
borderRight: (props) => props.showRightBorderColor ? `4px solid ${theme.palette.primary.main}` : "",
|
|
157
|
-
borderBottom: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
|
|
158
|
-
},
|
|
159
|
-
"& .MuiTreeItem-content .MuiTreeItem-label": {
|
|
160
|
-
paddingLeft: 0,
|
|
161
|
-
width: (props) => props.sidebarExpanded && `calc(100% - ${theme.spacing(2.5)}px)`
|
|
162
|
-
},
|
|
163
|
-
"& .MuiTreeItem-content .MuiTreeItem-iconContainer span": { display: (props) => props.hideExpansion ? "none" : "" },
|
|
164
|
-
"& .MuiCollapse-wrapperInner": { backgroundColor: (props) => theme?.getThemeData()?.mode !== "dark" && props.isSelectedNode ? theme.palette.grey[50] : "" }
|
|
165
|
-
},
|
|
166
|
-
iconContainer: {
|
|
167
|
-
display: "flex",
|
|
168
|
-
justifyContent: "center",
|
|
169
|
-
marginTop: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
|
|
170
|
-
marginBottom: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
|
|
171
|
-
marginRight: theme.spacing(1),
|
|
172
|
-
width: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4),
|
|
173
|
-
height: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4)
|
|
174
|
-
}
|
|
175
|
-
}));
|
|
176
|
-
const WorkflowTreeMenuItem = (props) => {
|
|
177
|
-
const { parentId, nodeId, iconName, iconType, conditionalIconName, conditionalIconType, conditionalIconColor, label, iconColor, onNodeSelect, isSelectedNode, subLabel, sidebarExpanded, isLastNode, loading, node, onDropNode, treeViewMode, menuIndex, aggregateThresholdId,...other } = props;
|
|
178
|
-
const classes = useStyles$9(props);
|
|
179
|
-
const theme = (0, __material_ui_core.useTheme)();
|
|
180
|
-
const [{ isDragging }, dragRef] = (0, react_dnd.useDrag)({
|
|
181
|
-
type: "BaseTreeMenuItem",
|
|
182
|
-
item: {
|
|
183
|
-
...node,
|
|
184
|
-
sourceNodeMenuIndex: menuIndex
|
|
185
|
-
},
|
|
186
|
-
collect: (monitor) => ({ isDragging: monitor.isDragging() })
|
|
187
|
-
});
|
|
188
|
-
const handleOnDrop = (0, react.useCallback)((sourceNode, monitor) => {
|
|
189
|
-
if (!monitor.didDrop()) {
|
|
190
|
-
if (onDropNode) {
|
|
191
|
-
const { sourceNodeMenuIndex,...other$1 } = sourceNode;
|
|
192
|
-
onDropNode({ ...other$1 }, node, sourceNodeMenuIndex, menuIndex);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}, [
|
|
196
|
-
onDropNode,
|
|
197
|
-
node,
|
|
198
|
-
menuIndex
|
|
199
|
-
]);
|
|
200
|
-
const [{ canDrop, isOver }, dropRef] = (0, react_dnd.useDrop)(() => ({
|
|
201
|
-
accept: ["BaseTreeMenuItem"],
|
|
202
|
-
drop: (sourceNode, monitor) => {
|
|
203
|
-
handleOnDrop(sourceNode, monitor);
|
|
204
|
-
},
|
|
205
|
-
canDrop: (sourceNode) => checkCanDrop(sourceNode),
|
|
206
|
-
collect: (monitor) => ({
|
|
207
|
-
isOver: monitor.isOver(),
|
|
208
|
-
canDrop: !!monitor.canDrop()
|
|
209
|
-
})
|
|
210
|
-
}), [handleOnDrop]);
|
|
211
|
-
const checkCanDrop = (0, react.useCallback)((sourceNode) => {
|
|
212
|
-
if (sourceNode) {
|
|
213
|
-
const onDropActions = node?.properties?.nodeActions?.filter((na) => na?.triggerType === require_EnvironmentRibbon.NodeActionTriggerEnums.On_Node_Drop);
|
|
214
|
-
if (!onDropActions) return false;
|
|
215
|
-
const nodeDragEntities = onDropActions?.map((action) => action?.dragEntityName);
|
|
216
|
-
return nodeDragEntities.includes(sourceNode?.properties?.catalogReturnObject);
|
|
217
|
-
}
|
|
218
|
-
}, [node]);
|
|
219
|
-
const handleOnLabelClick = (0, react.useCallback)((e) => {
|
|
220
|
-
e.preventDefault();
|
|
221
|
-
onNodeSelect(e, nodeId);
|
|
222
|
-
}, [onNodeSelect, nodeId]);
|
|
223
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_TreeItem.default, {
|
|
224
|
-
className: classes.group,
|
|
225
|
-
nodeId,
|
|
226
|
-
label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
227
|
-
ref: dropRef,
|
|
228
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tooltip, {
|
|
229
|
-
title: sidebarExpanded ? "" : label,
|
|
230
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
231
|
-
ref: node?.properties?.isDraggable && dragRef || null,
|
|
232
|
-
style: { opacity: isDragging ? .5 : 1 },
|
|
233
|
-
children: loading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.CircularProgress, { size: 12 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
234
|
-
id: "udpRecord-BaseTreeMenuItem-" + label?.replace(/\s+/g, ""),
|
|
235
|
-
udprecordid: "udpRecord-BaseTreeMenuItem-" + label?.replace(/\s+/g, ""),
|
|
236
|
-
className: classes.labelRoot,
|
|
237
|
-
style: { fontWeight: isSelectedNode ? "bold" : "" },
|
|
238
|
-
children: [
|
|
239
|
-
iconName && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
240
|
-
className: classes.iconContainer,
|
|
241
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.UnityFluentIcon, {
|
|
242
|
-
size: treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? "small" : "large",
|
|
243
|
-
color: iconColor,
|
|
244
|
-
type: iconType,
|
|
245
|
-
icon: iconType === "unity" ? require_UtilitySideBar.getUnityIconFromName(iconName) : require_UtilitySideBar.getIconFromName(iconName),
|
|
246
|
-
style: { color: iconColor ? (0, __material_ui_core.darken)(iconColor, .1) : theme.palette.secondary.main }
|
|
247
|
-
})
|
|
248
|
-
}),
|
|
249
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
250
|
-
className: classes.labelContainer,
|
|
251
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Typography, {
|
|
252
|
-
variant: "subtitle2",
|
|
253
|
-
className: (0, clsx.default)(classes.labelText, classes.labelOverflow),
|
|
254
|
-
children: [label, subLabel && treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
255
|
-
variant: "caption",
|
|
256
|
-
className: (0, clsx.default)(classes.captionText, classes.labelOverflow),
|
|
257
|
-
children: subLabel
|
|
258
|
-
})]
|
|
259
|
-
}), subLabel && treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Classic && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
260
|
-
className: classes.labelOverflow,
|
|
261
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
262
|
-
variant: "caption",
|
|
263
|
-
className: (0, clsx.default)(classes.captionText),
|
|
264
|
-
children: subLabel
|
|
265
|
-
})
|
|
266
|
-
})]
|
|
267
|
-
}),
|
|
268
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UtilitySideBar.AggregateChip, { aggregateThresholdId }),
|
|
269
|
-
conditionalIconName && sidebarExpanded && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
270
|
-
className: classes.conditionalIconContainer,
|
|
271
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.UnityFluentIcon, {
|
|
272
|
-
size: treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? "small" : "default",
|
|
273
|
-
color: conditionalIconColor,
|
|
274
|
-
type: conditionalIconType,
|
|
275
|
-
icon: conditionalIconType === "unity" ? require_UtilitySideBar.getUnityIconFromName(conditionalIconName) : require_UtilitySideBar.getIconFromName(conditionalIconName),
|
|
276
|
-
style: { color: conditionalIconColor }
|
|
277
|
-
})
|
|
278
|
-
})
|
|
279
|
-
]
|
|
280
|
-
})
|
|
281
|
-
})
|
|
282
|
-
})
|
|
283
|
-
}),
|
|
284
|
-
onLabelClick: handleOnLabelClick,
|
|
285
|
-
classes: {
|
|
286
|
-
root: classes.root,
|
|
287
|
-
content: classes.content
|
|
288
|
-
},
|
|
289
|
-
...other
|
|
290
|
-
}, nodeId);
|
|
291
|
-
};
|
|
292
|
-
|
|
293
|
-
//#endregion
|
|
294
|
-
//#region src/workflow/menus/WorkflowTreeMenu.jsx
|
|
295
|
-
const useStyles$8 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
296
|
-
root: {
|
|
297
|
-
marginBottom: theme.spacing(1.75),
|
|
298
|
-
borderTop: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
|
|
299
|
-
},
|
|
300
|
-
noChildrenContainer: { borderBottom: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : "" }
|
|
301
|
-
}));
|
|
302
|
-
const WorkflowTreeMenu = (props) => {
|
|
303
|
-
const { menuItems, onSelectNode, onDropNode, menuIndex, selectedNodeId, selectedNodeParentId, sidebarExpanded, treeViewMode, childrenKey = "children" } = props;
|
|
304
|
-
const [expanded, setExpanded] = (0, react.useState)(null);
|
|
305
|
-
const [isCurrentActiveTree, setIsCurrentActiveTree] = (0, react.useState)(false);
|
|
306
|
-
const [selectedNodeIsHidden, setSelectedNodeIsHidden] = (0, react.useState)(false);
|
|
307
|
-
const [tree, setTree] = (0, react.useState)(menuItems);
|
|
308
|
-
const theme = (0, __material_ui_core.useTheme)();
|
|
309
|
-
const classes = useStyles$8(props);
|
|
310
|
-
const handleSelectedNode = (0, react.useCallback)((e, value) => {
|
|
311
|
-
const selectedNode = require_UtilitySideBar.searchTree(tree, value);
|
|
312
|
-
if (onSelectNode) {
|
|
313
|
-
onSelectNode(selectedNode, menuIndex);
|
|
314
|
-
setSelectedNodeIsHidden(false);
|
|
315
|
-
}
|
|
316
|
-
}, [
|
|
317
|
-
tree,
|
|
318
|
-
menuIndex,
|
|
319
|
-
onSelectNode
|
|
320
|
-
]);
|
|
321
|
-
const renderTree = (0, react.useCallback)((node, depth = 1) => {
|
|
322
|
-
let label = node.properties?.nodeLabel || node.properties?.name;
|
|
323
|
-
let subLabel = node.properties?.nodeSubLabel;
|
|
324
|
-
let iconName = node.properties?.defaultIcon?.name;
|
|
325
|
-
let iconType = node.properties?.defaultIcon?.type;
|
|
326
|
-
let conditionalIconName = node.properties?.conditionalIcon?.name || "";
|
|
327
|
-
let conditionalIconType = node.properties?.conditionalIcon?.name ? node.properties.conditionalIcon?.type : "";
|
|
328
|
-
let conditionalIconColor = node.properties?.conditionalIcon?.name ? node.properties?.conditionalIcon?.color : "";
|
|
329
|
-
let nodeId = node.id;
|
|
330
|
-
let iconColor = node.properties?.conditionalIconName ? node.properties?.conditionalIconColor : node.properties?.defaultIcon?.color?.hex;
|
|
331
|
-
let aggregateThresholdId = node.properties?.aggregateThresholdId || "";
|
|
332
|
-
if (node.isGroupNode) {
|
|
333
|
-
label = node.properties?.label;
|
|
334
|
-
subLabel = node.properties?.subLabel;
|
|
335
|
-
iconName = node.properties?.icon?.name;
|
|
336
|
-
iconType = node.properties?.icon?.type;
|
|
337
|
-
iconColor = node.properties?.icon?.color?.hex;
|
|
338
|
-
}
|
|
339
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(WorkflowTreeMenuItem, {
|
|
340
|
-
nodeId,
|
|
341
|
-
label,
|
|
342
|
-
subLabel,
|
|
343
|
-
iconName,
|
|
344
|
-
iconType,
|
|
345
|
-
conditionalIconName,
|
|
346
|
-
conditionalIconType,
|
|
347
|
-
conditionalIconColor,
|
|
348
|
-
parentId: node.parentId,
|
|
349
|
-
iconColor,
|
|
350
|
-
onNodeSelect: handleSelectedNode,
|
|
351
|
-
selectedNodeId,
|
|
352
|
-
isSelectedNode: selectedNodeId === node.id,
|
|
353
|
-
showRightBorderColor: selectedNodeIsHidden && isCurrentActiveTree && require_UtilitySideBar.getNodeIdForRightBorder(expanded, tree, selectedNodeParentId) === node.id,
|
|
354
|
-
isCurrentActiveTree,
|
|
355
|
-
sidebarExpanded,
|
|
356
|
-
depth,
|
|
357
|
-
hideExpansion: !!!node[childrenKey]?.length,
|
|
358
|
-
node,
|
|
359
|
-
onDropNode,
|
|
360
|
-
treeViewMode,
|
|
361
|
-
menuIndex,
|
|
362
|
-
aggregateThresholdId,
|
|
363
|
-
children: [
|
|
364
|
-
node.properties?.lazyLoad && !!!node[childrenKey]?.length && !node.completedLoadingChildren && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.CircularProgress, {
|
|
365
|
-
size: 12,
|
|
366
|
-
style: { marginLeft: (depth || 1) * theme.spacing(1) }
|
|
367
|
-
}),
|
|
368
|
-
node.properties?.lazyLoad && !!!node[childrenKey]?.length && node.completedLoadingChildren && sidebarExpanded && !node.errorRetrievingChildren && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
369
|
-
className: classes.noChildrenContainer,
|
|
370
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
371
|
-
variant: "caption",
|
|
372
|
-
style: {
|
|
373
|
-
marginLeft: (depth || 1) * theme.spacing(3),
|
|
374
|
-
fontWeight: 400
|
|
375
|
-
},
|
|
376
|
-
children: "No Children"
|
|
377
|
-
})
|
|
378
|
-
}),
|
|
379
|
-
node.properties?.lazyLoad && node.completedLoadingChildren && sidebarExpanded && node.errorRetrievingChildren && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
380
|
-
className: classes.noChildrenContainer,
|
|
381
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
382
|
-
variant: "caption",
|
|
383
|
-
style: {
|
|
384
|
-
marginLeft: (depth || 1) * theme.spacing(3),
|
|
385
|
-
fontWeight: 400
|
|
386
|
-
},
|
|
387
|
-
children: `Error Retrieving ${!!node[childrenKey]?.length ? `Additional ` : ""}Children`
|
|
388
|
-
})
|
|
389
|
-
}),
|
|
390
|
-
Array.isArray(node[childrenKey]) ? node[childrenKey].map((n, i) => renderTree(n, depth + 1)) : null
|
|
391
|
-
]
|
|
392
|
-
}, nodeId);
|
|
393
|
-
}, [
|
|
394
|
-
handleSelectedNode,
|
|
395
|
-
selectedNodeId,
|
|
396
|
-
selectedNodeIsHidden,
|
|
397
|
-
isCurrentActiveTree,
|
|
398
|
-
sidebarExpanded,
|
|
399
|
-
expanded,
|
|
400
|
-
tree,
|
|
401
|
-
selectedNodeParentId,
|
|
402
|
-
theme,
|
|
403
|
-
classes,
|
|
404
|
-
onDropNode,
|
|
405
|
-
treeViewMode,
|
|
406
|
-
menuIndex,
|
|
407
|
-
childrenKey
|
|
408
|
-
]);
|
|
409
|
-
const handleNodeExpansion = (0, react.useCallback)(async (evt, nodeIds) => {
|
|
410
|
-
const treeCopy = (0, lodash.cloneDeep)(tree);
|
|
411
|
-
setExpanded(nodeIds);
|
|
412
|
-
const parentNode = require_UtilitySideBar.searchTree(treeCopy, selectedNodeParentId);
|
|
413
|
-
const initialAllParentNodeIds = selectedNodeParentId ? [selectedNodeParentId] : [];
|
|
414
|
-
const allParentNodeIds = require_UtilitySideBar.findAllParentIds(treeCopy, parentNode, initialAllParentNodeIds);
|
|
415
|
-
const selectedNodeShown = allParentNodeIds.every((id) => nodeIds.includes(id));
|
|
416
|
-
if (isCurrentActiveTree && allParentNodeIds.length && !selectedNodeShown) setSelectedNodeIsHidden(true);
|
|
417
|
-
else setSelectedNodeIsHidden(false);
|
|
418
|
-
}, [
|
|
419
|
-
isCurrentActiveTree,
|
|
420
|
-
tree,
|
|
421
|
-
selectedNodeParentId
|
|
422
|
-
]);
|
|
423
|
-
const getExpandedRecursively = (0, react.useCallback)((tree$1) => {
|
|
424
|
-
if (!tree$1) return [];
|
|
425
|
-
return tree$1.reduce((expandedIds, item) => {
|
|
426
|
-
if (item?.isExpanded) expandedIds.push(item.id);
|
|
427
|
-
if (item && item[childrenKey]?.length) expandedIds = expandedIds.concat(getExpandedRecursively(item[childrenKey]));
|
|
428
|
-
return expandedIds;
|
|
429
|
-
}, []);
|
|
430
|
-
}, [childrenKey]);
|
|
431
|
-
(0, react.useEffect)(() => {
|
|
432
|
-
setTree(menuItems);
|
|
433
|
-
}, [menuItems]);
|
|
434
|
-
(0, react.useEffect)(() => {
|
|
435
|
-
if (!tree) return;
|
|
436
|
-
let expanded$1 = [];
|
|
437
|
-
if (tree?.isExpanded) expanded$1.push(tree.id);
|
|
438
|
-
expanded$1 = expanded$1.concat(getExpandedRecursively(tree[childrenKey]));
|
|
439
|
-
setExpanded(expanded$1);
|
|
440
|
-
}, [
|
|
441
|
-
getExpandedRecursively,
|
|
442
|
-
tree,
|
|
443
|
-
childrenKey
|
|
444
|
-
]);
|
|
445
|
-
(0, react.useEffect)(() => {
|
|
446
|
-
if (!!require_UtilitySideBar.searchTree(tree, selectedNodeId)) setIsCurrentActiveTree(true);
|
|
447
|
-
else setIsCurrentActiveTree(false);
|
|
448
|
-
}, [tree, selectedNodeId]);
|
|
449
|
-
if (!expanded) return null;
|
|
450
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_TreeView.default, {
|
|
451
|
-
className: classes.root,
|
|
452
|
-
defaultCollapseIcon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
|
|
453
|
-
size: "small",
|
|
454
|
-
component: __fluentui_react_icons.CaretUpSolid8Icon,
|
|
455
|
-
style: {
|
|
456
|
-
color: (0, __material_ui_core.lighten)(theme.palette.primary.main, .5),
|
|
457
|
-
width: theme.spacing(1.5),
|
|
458
|
-
height: theme.spacing(1.5)
|
|
459
|
-
}
|
|
460
|
-
}),
|
|
461
|
-
expanded: expanded || [],
|
|
462
|
-
onNodeToggle: handleNodeExpansion,
|
|
463
|
-
defaultExpandIcon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
|
|
464
|
-
size: "small",
|
|
465
|
-
component: __fluentui_react_icons.CaretDownSolid8Icon,
|
|
466
|
-
style: {
|
|
467
|
-
color: (0, __material_ui_core.lighten)(theme.palette.primary.main, .5),
|
|
468
|
-
width: theme.spacing(1.5),
|
|
469
|
-
height: theme.spacing(1.5)
|
|
470
|
-
}
|
|
471
|
-
}),
|
|
472
|
-
selected: selectedNodeId,
|
|
473
|
-
children: tree && renderTree(tree)
|
|
474
|
-
}, tree);
|
|
475
|
-
};
|
|
476
|
-
|
|
477
|
-
//#endregion
|
|
478
|
-
//#region src/enums/workflowEnums.ts
|
|
479
|
-
let UnitTypeEnums = /* @__PURE__ */ function(UnitTypeEnums$1) {
|
|
480
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Scope"] = 0] = "Scope";
|
|
481
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Sequence"] = 1] = "Sequence";
|
|
482
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Group"] = 2] = "Group";
|
|
483
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Fork"] = 3] = "Fork";
|
|
484
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Branch"] = 4] = "Branch";
|
|
485
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Retry"] = 5] = "Retry";
|
|
486
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Attempt"] = 6] = "Attempt";
|
|
487
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Iterator"] = 7] = "Iterator";
|
|
488
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Loop"] = 8] = "Loop";
|
|
489
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Break"] = 9] = "Break";
|
|
490
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Block"] = 10] = "Block";
|
|
491
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Adaptor"] = 11] = "Adaptor";
|
|
492
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Code"] = 12] = "Code";
|
|
493
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Pause"] = 13] = "Pause";
|
|
494
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Fault"] = 14] = "Fault";
|
|
495
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Trace"] = 15] = "Trace";
|
|
496
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Catcher"] = 16] = "Catcher";
|
|
497
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Thrower"] = 17] = "Thrower";
|
|
498
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Plan"] = 18] = "Plan";
|
|
499
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Task"] = 19] = "Task";
|
|
500
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Sprint"] = 20] = "Sprint";
|
|
501
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Auth"] = 21] = "Auth";
|
|
502
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Rest"] = 22] = "Rest";
|
|
503
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Fuse"] = 23] = "Fuse";
|
|
504
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Mail"] = 24] = "Mail";
|
|
505
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Sms"] = 25] = "Sms";
|
|
506
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Publisher"] = 26] = "Publisher";
|
|
507
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Fiber"] = 27] = "Fiber";
|
|
508
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Mapper"] = 28] = "Mapper";
|
|
509
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Section"] = 29] = "Section";
|
|
510
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Scene"] = 30] = "Scene";
|
|
511
|
-
UnitTypeEnums$1[UnitTypeEnums$1["Placeholder"] = 100] = "Placeholder";
|
|
512
|
-
return UnitTypeEnums$1;
|
|
513
|
-
}({});
|
|
514
|
-
let UnitStateType = /* @__PURE__ */ function(UnitStateType$1) {
|
|
515
|
-
UnitStateType$1[UnitStateType$1["Initial"] = 0] = "Initial";
|
|
516
|
-
UnitStateType$1[UnitStateType$1["Started"] = 1] = "Started";
|
|
517
|
-
UnitStateType$1[UnitStateType$1["Completed"] = 2] = "Completed";
|
|
518
|
-
UnitStateType$1[UnitStateType$1["Cancelled"] = 3] = "Cancelled";
|
|
519
|
-
UnitStateType$1[UnitStateType$1["Failed"] = 4] = "Failed";
|
|
520
|
-
return UnitStateType$1;
|
|
521
|
-
}({});
|
|
522
|
-
|
|
523
|
-
//#endregion
|
|
524
|
-
//#region src/utilities/workflow/workflowUtilities.js
|
|
525
|
-
const getWorkflowTaskIconByActionType = (type) => {
|
|
526
|
-
let iconName = "ClipboardListIcon";
|
|
527
|
-
switch (type) {
|
|
528
|
-
case UnitTypeEnums.Rest:
|
|
529
|
-
iconName = "CloudImportExportIcon";
|
|
530
|
-
break;
|
|
531
|
-
case UnitTypeEnums.Sms:
|
|
532
|
-
iconName = "MessageFillIcon";
|
|
533
|
-
break;
|
|
534
|
-
case UnitTypeEnums.Mail:
|
|
535
|
-
iconName = "MailSolidIcon";
|
|
536
|
-
break;
|
|
537
|
-
case UnitTypeEnums.Scene:
|
|
538
|
-
iconName = "ReleaseGateIcon";
|
|
539
|
-
break;
|
|
540
|
-
default: break;
|
|
541
|
-
}
|
|
542
|
-
return iconName;
|
|
543
|
-
};
|
|
544
|
-
const getWorkflowTaskStateIconByStateType = (type) => {
|
|
545
|
-
let iconName = "";
|
|
546
|
-
switch (type) {
|
|
547
|
-
case UnitStateType.Initial:
|
|
548
|
-
iconName = "StopwatchIcon";
|
|
549
|
-
break;
|
|
550
|
-
case UnitStateType.Started:
|
|
551
|
-
iconName = "ProgressLoopOuterIcon";
|
|
552
|
-
break;
|
|
553
|
-
case UnitStateType.Completed:
|
|
554
|
-
iconName = "CheckMarkIcon";
|
|
555
|
-
break;
|
|
556
|
-
case UnitStateType.Cancelled:
|
|
557
|
-
iconName = "CancelIcon";
|
|
558
|
-
break;
|
|
559
|
-
case UnitStateType.Failed:
|
|
560
|
-
default:
|
|
561
|
-
iconName = "ErrorBadgeIcon";
|
|
562
|
-
break;
|
|
563
|
-
}
|
|
564
|
-
return iconName;
|
|
565
|
-
};
|
|
566
|
-
const getWorkflowTaskStateIconColorByStateType = (type) => {
|
|
567
|
-
let color = "";
|
|
568
|
-
switch (type) {
|
|
569
|
-
case UnitStateType.Initial:
|
|
570
|
-
color = "#ffa726";
|
|
571
|
-
break;
|
|
572
|
-
case UnitStateType.Started:
|
|
573
|
-
color = "#29b6f6";
|
|
574
|
-
break;
|
|
575
|
-
case UnitStateType.Completed:
|
|
576
|
-
color = "#66bb6a";
|
|
577
|
-
break;
|
|
578
|
-
case UnitStateType.Cancelled:
|
|
579
|
-
color = "#f44336";
|
|
580
|
-
break;
|
|
581
|
-
case UnitStateType.Failed:
|
|
582
|
-
default:
|
|
583
|
-
color = "#f44336";
|
|
584
|
-
break;
|
|
585
|
-
}
|
|
586
|
-
return color;
|
|
587
|
-
};
|
|
588
|
-
const SELECTABLE_NODE_TYPES = [
|
|
589
|
-
UnitTypeEnums.Sms,
|
|
590
|
-
UnitTypeEnums.Mail,
|
|
591
|
-
UnitTypeEnums.Scene
|
|
592
|
-
];
|
|
593
|
-
const transformWorkflowPlayTree = (node) => {
|
|
594
|
-
if (!node) return null;
|
|
595
|
-
const label = node.name || "";
|
|
596
|
-
const expanded = "expanded";
|
|
597
|
-
const startedAt = node.startedAt ? formatDateToLocaleString(node.startedAt, luxon.DateTime.DATETIME_SHORT) : null;
|
|
598
|
-
const updatedNode = {
|
|
599
|
-
id: node.id,
|
|
600
|
-
parentId: node.parentId,
|
|
601
|
-
isExpanded: expanded,
|
|
602
|
-
isSelectable: !!node.type && SELECTABLE_NODE_TYPES.includes(node.type),
|
|
603
|
-
properties: {
|
|
604
|
-
defaultIcon: {
|
|
605
|
-
type: "",
|
|
606
|
-
name: getWorkflowTaskIconByActionType(node.type),
|
|
607
|
-
color: ""
|
|
608
|
-
},
|
|
609
|
-
conditionalIcon: {
|
|
610
|
-
type: "",
|
|
611
|
-
name: !!node.type && getWorkflowTaskStateIconByStateType(node.state),
|
|
612
|
-
color: !!node.type && getWorkflowTaskStateIconColorByStateType(node.state)
|
|
613
|
-
},
|
|
614
|
-
nodeLabel: label,
|
|
615
|
-
nodeSubLabel: node.parentId ? node.description : startedAt || "",
|
|
616
|
-
state: node.state,
|
|
617
|
-
type: node.type,
|
|
618
|
-
interruptPages: node.interruptPages,
|
|
619
|
-
playSceneId: node.playSceneId,
|
|
620
|
-
startedAt: node.startedAt,
|
|
621
|
-
endedAt: node.endedAt,
|
|
622
|
-
dueDate: node.dueDate,
|
|
623
|
-
variables: node.variables,
|
|
624
|
-
sms: node.type === UnitTypeEnums.Sms ? {
|
|
625
|
-
templateData: node.templateData,
|
|
626
|
-
to: node.to,
|
|
627
|
-
from: node.from,
|
|
628
|
-
body: node.body
|
|
629
|
-
} : null,
|
|
630
|
-
email: node.type === UnitTypeEnums.Mail ? {
|
|
631
|
-
templateData: node.templateData,
|
|
632
|
-
to: node.to,
|
|
633
|
-
from: node.from,
|
|
634
|
-
subject: node.subject,
|
|
635
|
-
text: node.text,
|
|
636
|
-
html: node.html
|
|
637
|
-
} : null
|
|
638
|
-
},
|
|
639
|
-
children: []
|
|
640
|
-
};
|
|
641
|
-
for (const child of node.children) {
|
|
642
|
-
const updatedChild = transformWorkflowPlayTree(child);
|
|
643
|
-
if (updatedChild) updatedNode.children.push(updatedChild);
|
|
644
|
-
}
|
|
645
|
-
return updatedNode;
|
|
646
|
-
};
|
|
647
|
-
|
|
648
|
-
//#endregion
|
|
649
|
-
//#region src/stores/workflowStore.ts
|
|
650
|
-
const useWorkflowStore = (0, zustand.create)()((0, zustand_middleware.devtools)((set) => ({
|
|
651
|
-
title: "",
|
|
652
|
-
setWorkflowToolbarTitle: (title) => set((state) => ({ title })),
|
|
653
|
-
taskDataMap: {},
|
|
654
|
-
updateTaskDataMap: (taskId, pageId, data) => set((state) => {
|
|
655
|
-
const updatedTaskDataMap = { ...state.taskDataMap };
|
|
656
|
-
if (updatedTaskDataMap[taskId]) if (updatedTaskDataMap[taskId][pageId]) updatedTaskDataMap[taskId][pageId] = data;
|
|
657
|
-
else updatedTaskDataMap[taskId] = { [pageId]: data };
|
|
658
|
-
else updatedTaskDataMap[taskId] = { [pageId]: data };
|
|
659
|
-
return { taskDataMap: updatedTaskDataMap };
|
|
660
|
-
}),
|
|
661
|
-
setTaskDataMap: (taskId, data) => set((state) => {
|
|
662
|
-
const updatedTaskDataMap = { ...state.taskDataMap };
|
|
663
|
-
updatedTaskDataMap[taskId] = data;
|
|
664
|
-
return { taskDataMap: updatedTaskDataMap };
|
|
665
|
-
})
|
|
666
|
-
})));
|
|
667
|
-
|
|
668
|
-
//#endregion
|
|
669
|
-
//#region src/workflow/components/WorkflowTaskFlow.jsx
|
|
670
|
-
const useStyles$7 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
671
|
-
root: { display: "flex" },
|
|
672
|
-
taskInfoBlock: {
|
|
673
|
-
backgroundColor: (0, __material_ui_core.lighten)(theme.palette.primary.main, .3),
|
|
674
|
-
width: theme.spacing(25),
|
|
675
|
-
color: theme.palette.common.white,
|
|
676
|
-
padding: `${theme.spacing(.5)}px ${theme.spacing(2.25)}px`
|
|
677
|
-
},
|
|
678
|
-
description: {
|
|
679
|
-
textOverflow: "ellipsis",
|
|
680
|
-
overflow: "hidden",
|
|
681
|
-
whiteSpace: "nowrap"
|
|
682
|
-
},
|
|
683
|
-
button: {
|
|
684
|
-
backgroundColor: theme.palette.primary.main,
|
|
685
|
-
color: theme.palette.common.white,
|
|
686
|
-
borderRadius: 0,
|
|
687
|
-
"&:hover": { backgroundColor: theme.palette.primary.dark },
|
|
688
|
-
minWidth: theme.spacing(3)
|
|
689
|
-
},
|
|
690
|
-
stepperContainer: {
|
|
691
|
-
width: "100%",
|
|
692
|
-
padding: 0,
|
|
693
|
-
marginTop: `-${theme.spacing(1.5)}px`,
|
|
694
|
-
background: "none"
|
|
695
|
-
},
|
|
696
|
-
stepIconRoot: {
|
|
697
|
-
zIndex: 1,
|
|
698
|
-
color: theme.palette.primary.main,
|
|
699
|
-
width: theme.spacing(3),
|
|
700
|
-
height: theme.spacing(3),
|
|
701
|
-
display: "flex",
|
|
702
|
-
borderRadius: "50%",
|
|
703
|
-
justifyContent: "center",
|
|
704
|
-
alignItems: "center",
|
|
705
|
-
"&.active": {
|
|
706
|
-
backgroundColor: theme.palette.primary.main,
|
|
707
|
-
color: theme.palette.common.white
|
|
708
|
-
},
|
|
709
|
-
"&.completed": {
|
|
710
|
-
backgroundColor: theme.palette.common.white,
|
|
711
|
-
color: theme.palette.success.main
|
|
712
|
-
}
|
|
713
|
-
},
|
|
714
|
-
stepLabel: { "& > .MuiStepLabel-label": { marginTop: theme.spacing(.5) } }
|
|
715
|
-
}));
|
|
716
|
-
const ColorLibConnector = (0, __material_ui_core.withStyles)((theme) => ({
|
|
717
|
-
connectorRoot: {
|
|
718
|
-
top: 10,
|
|
719
|
-
left: "calc(-50% + 12px)",
|
|
720
|
-
right: "calc(50% + 12px)"
|
|
721
|
-
},
|
|
722
|
-
alternativeLabel: {
|
|
723
|
-
left: "calc(-50% + 12px)",
|
|
724
|
-
right: "calc(50% + 12px)"
|
|
725
|
-
},
|
|
726
|
-
active: { "& $line": { borderColor: theme.palette.primary.main } },
|
|
727
|
-
completed: { "& $line": { borderColor: theme.palette.primary.main } },
|
|
728
|
-
line: {
|
|
729
|
-
borderTopWidth: 3,
|
|
730
|
-
borderRadius: 1
|
|
731
|
-
}
|
|
732
|
-
}))(__material_ui_core.StepConnector);
|
|
733
|
-
const ColorlibStepIcon = (props) => {
|
|
734
|
-
const { active, completed } = props;
|
|
735
|
-
const classes = useStyles$7();
|
|
736
|
-
const rootClass = `${classes.stepIconRoot} ${active ? "active" : ""} ${completed ? "completed" : ""}`;
|
|
737
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
738
|
-
className: rootClass,
|
|
739
|
-
children: completed ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_icons_CheckCircle.default, {}) : active ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_icons_RadioButtonChecked.default, {}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_icons_RadioButtonUnchecked.default, {})
|
|
740
|
-
});
|
|
741
|
-
};
|
|
742
|
-
const WorkflowTaskFlow = (props) => {
|
|
743
|
-
const { steps = [], handleClick = () => {}, task } = props;
|
|
744
|
-
const classes = useStyles$7();
|
|
745
|
-
const [activeStep, setActiveStep] = (0, react.useState)(0);
|
|
746
|
-
const handleStepClick = (stepIndex) => {
|
|
747
|
-
handleClick(stepIndex);
|
|
748
|
-
setActiveStep(stepIndex);
|
|
749
|
-
};
|
|
750
|
-
const handleOnLeftButtonClick = (0, react.useCallback)(() => {
|
|
751
|
-
if (activeStep > 0) {
|
|
752
|
-
const newIndex = activeStep - 1;
|
|
753
|
-
handleClick(newIndex);
|
|
754
|
-
setActiveStep(newIndex);
|
|
755
|
-
}
|
|
756
|
-
}, [activeStep, handleClick]);
|
|
757
|
-
const handleOnRightButtonClick = (0, react.useCallback)(() => {
|
|
758
|
-
if (activeStep !== steps?.length - 1) {
|
|
759
|
-
const newIndex = activeStep + 1;
|
|
760
|
-
handleClick(newIndex);
|
|
761
|
-
setActiveStep(newIndex);
|
|
762
|
-
}
|
|
763
|
-
}, [
|
|
764
|
-
steps,
|
|
765
|
-
activeStep,
|
|
766
|
-
handleClick
|
|
767
|
-
]);
|
|
768
|
-
const getFormattedDueDate = (0, react.useCallback)((date) => {
|
|
769
|
-
if (!date) return "";
|
|
770
|
-
const shortDate = formatDateToLocaleString(date, luxon.DateTime.DATE_SHORT);
|
|
771
|
-
return `Due ${shortDate}`;
|
|
772
|
-
}, []);
|
|
773
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
774
|
-
className: classes.root,
|
|
775
|
-
children: [
|
|
776
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
777
|
-
className: classes.taskInfoBlock,
|
|
778
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
779
|
-
className: classes.description,
|
|
780
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
781
|
-
variant: "caption",
|
|
782
|
-
children: task?.properties?.nodeLabel || ""
|
|
783
|
-
})
|
|
784
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
785
|
-
className: classes.description,
|
|
786
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
787
|
-
variant: "caption",
|
|
788
|
-
style: { fontWeight: 500 },
|
|
789
|
-
children: getFormattedDueDate(task?.properties?.dueDate)
|
|
790
|
-
})
|
|
791
|
-
})]
|
|
792
|
-
}),
|
|
793
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
|
|
794
|
-
className: classes.button,
|
|
795
|
-
onClick: handleOnLeftButtonClick,
|
|
796
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, { component: __fluentui_react_icons.ChevronLeftIcon })
|
|
797
|
-
}),
|
|
798
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Stepper, {
|
|
799
|
-
alternativeLabel: true,
|
|
800
|
-
activeStep,
|
|
801
|
-
connector: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ColorLibConnector, {}),
|
|
802
|
-
className: classes.stepperContainer,
|
|
803
|
-
children: steps.map((step, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Step, {
|
|
804
|
-
onClick: () => handleStepClick(index),
|
|
805
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.StepLabel, {
|
|
806
|
-
classes: { labelContainer: classes.stepLabel },
|
|
807
|
-
StepIconComponent: ColorlibStepIcon,
|
|
808
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
809
|
-
variant: "caption",
|
|
810
|
-
children: step.label
|
|
811
|
-
})
|
|
812
|
-
})
|
|
813
|
-
}, step.label))
|
|
814
|
-
}),
|
|
815
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Button, {
|
|
816
|
-
className: classes.button,
|
|
817
|
-
onClick: handleOnRightButtonClick,
|
|
818
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, { component: __fluentui_react_icons.ChevronRightIcon })
|
|
819
|
-
})
|
|
820
|
-
]
|
|
821
|
-
});
|
|
822
|
-
};
|
|
823
|
-
|
|
824
|
-
//#endregion
|
|
825
|
-
//#region src/UI/loading/LinearProgress.jsx
|
|
826
|
-
const useStyles$6 = (0, __material_ui_core_styles.makeStyles)((theme) => ({
|
|
827
|
-
root: { backgroundColor: theme.palette.grey[300] },
|
|
828
|
-
barColorPrimary: { backgroundColor: theme.palette.primary.main },
|
|
829
|
-
barColorSecondary: { backgroundColor: theme.palette.secondary.main },
|
|
830
|
-
barColorSuccess: { backgroundColor: theme.palette.success.main },
|
|
831
|
-
barColorError: { backgroundColor: theme.palette.error.main },
|
|
832
|
-
barColorWarning: { backgroundColor: theme.palette.warning.main },
|
|
833
|
-
barColorInfo: { backgroundColor: theme.palette.info.main },
|
|
834
|
-
customColorBar: (props) => ({ backgroundColor: props.color })
|
|
835
|
-
}));
|
|
836
|
-
const LinearProgress = (props) => {
|
|
837
|
-
const { variant = "indeterminate", value, color = "primary",...otherProps } = props;
|
|
838
|
-
const isPredefinedColor = [
|
|
839
|
-
"primary",
|
|
840
|
-
"secondary",
|
|
841
|
-
"success",
|
|
842
|
-
"error",
|
|
843
|
-
"warning",
|
|
844
|
-
"info"
|
|
845
|
-
].includes(color);
|
|
846
|
-
const classes = useStyles$6({ color });
|
|
847
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.LinearProgress, {
|
|
848
|
-
...otherProps,
|
|
849
|
-
variant,
|
|
850
|
-
value,
|
|
851
|
-
classes: {
|
|
852
|
-
root: classes.root,
|
|
853
|
-
bar: (0, clsx.default)({
|
|
854
|
-
[classes.barColorPrimary]: color === "primary",
|
|
855
|
-
[classes.barColorSecondary]: color === "secondary",
|
|
856
|
-
[classes.barColorSuccess]: color === "success",
|
|
857
|
-
[classes.barColorError]: color === "error",
|
|
858
|
-
[classes.barColorWarning]: color === "warning",
|
|
859
|
-
[classes.barColorInfo]: color === "info",
|
|
860
|
-
[classes.customColorBar]: !isPredefinedColor
|
|
861
|
-
})
|
|
862
|
-
}
|
|
863
|
-
});
|
|
864
|
-
};
|
|
865
|
-
|
|
866
|
-
//#endregion
|
|
867
|
-
//#region src/UI/loading/CircularProgress.jsx
|
|
868
|
-
const useStyles$5 = (0, __material_ui_core_styles.makeStyles)((theme) => ({
|
|
869
|
-
circleColorPrimary: { color: theme.palette.primary.main },
|
|
870
|
-
circleColorSecondary: { color: theme.palette.secondary.main },
|
|
871
|
-
circleColorSuccess: { color: theme.palette.success.main },
|
|
872
|
-
circleColorError: { color: theme.palette.error.main },
|
|
873
|
-
circleColorWarning: { color: theme.palette.warning.main },
|
|
874
|
-
circleColorInfo: { color: theme.palette.info.main },
|
|
875
|
-
customColorCircle: (props) => ({ backgroundColor: props.color })
|
|
876
|
-
}));
|
|
877
|
-
const CircularProgress = (props) => {
|
|
878
|
-
const { variant = "indeterminate", value, color = "primary",...otherProps } = props;
|
|
879
|
-
const isPredefinedColor = [
|
|
880
|
-
"primary",
|
|
881
|
-
"secondary",
|
|
882
|
-
"success",
|
|
883
|
-
"error",
|
|
884
|
-
"warning",
|
|
885
|
-
"info"
|
|
886
|
-
].includes(color);
|
|
887
|
-
const classes = useStyles$5({ color });
|
|
888
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.CircularProgress, {
|
|
889
|
-
...otherProps,
|
|
890
|
-
variant,
|
|
891
|
-
value,
|
|
892
|
-
classes: {
|
|
893
|
-
root: classes.root,
|
|
894
|
-
circle: (0, clsx.default)({
|
|
895
|
-
[classes.circleColorPrimary]: color === "primary",
|
|
896
|
-
[classes.circleColorSecondary]: color === "secondary",
|
|
897
|
-
[classes.circleColorSuccess]: color === "success",
|
|
898
|
-
[classes.circleColorError]: color === "error",
|
|
899
|
-
[classes.circleColorWarning]: color === "warning",
|
|
900
|
-
[classes.circleColorInfo]: color === "info",
|
|
901
|
-
[classes.customColorCircle]: !isPredefinedColor
|
|
902
|
-
})
|
|
903
|
-
}
|
|
904
|
-
});
|
|
905
|
-
};
|
|
906
|
-
|
|
907
|
-
//#endregion
|
|
908
|
-
//#region src/workflow/WorkflowUiInterruptContent.jsx
|
|
909
|
-
const useStyles$4 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
910
|
-
root: {},
|
|
911
|
-
loadingContent: {
|
|
912
|
-
flex: 1,
|
|
913
|
-
display: "flex",
|
|
914
|
-
flexDirection: "column",
|
|
915
|
-
alignItems: "center",
|
|
916
|
-
justifyContent: "center",
|
|
917
|
-
height: "calc(100vh - 160px)"
|
|
918
|
-
}
|
|
919
|
-
}));
|
|
920
|
-
const WorkflowUiInterruptContent = (props) => {
|
|
921
|
-
const { selectedNode, workflow, reloadWorkflow, users, groups, handleClose, inquiryPageParams = {} } = props;
|
|
922
|
-
const classes = useStyles$4();
|
|
923
|
-
const [selectedPageId, setSelectedPageId] = (0, react.useState)("");
|
|
924
|
-
const [currentWorkflowStep, setCurrentWorkflowStep] = (0, react.useState)(0);
|
|
925
|
-
const [loading, setLoading] = (0, react.useState)(false);
|
|
926
|
-
const [loadingTaskData, setLoadingTaskData] = (0, react.useState)(true);
|
|
927
|
-
const [reassignSidesheetOpen, setReassignSidesheetOpen] = (0, react.useState)(false);
|
|
928
|
-
const [reassigningAssignee, setReassigningAssignee] = (0, react.useState)(false);
|
|
929
|
-
const [workflowPageData, setWorkflowPageData] = (0, react.useState)(null);
|
|
930
|
-
const [orderedPageData, setOrderedPageData] = (0, react.useState)([]);
|
|
931
|
-
const user = require_EnvironmentRibbon.useUser();
|
|
932
|
-
const taskDataMap = useWorkflowStore((state) => state.taskDataMap);
|
|
933
|
-
const setTaskDataMap = useWorkflowStore((state) => state.setTaskDataMap);
|
|
934
|
-
const { t } = (0, react_i18next.useTranslation)();
|
|
935
|
-
const formRef = (0, react.useRef)(null);
|
|
936
|
-
const [{ data: pageData, loading: pageLoading, error: pageError }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.tenantV1ApiUrl, `page/${selectedPageId}`, {}, !!!selectedPageId, false);
|
|
937
|
-
const [{ data: playScene, loading: playSceneLoading, error: playSceneError }, fetchPlayScene] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}?includeData=true`, {}, !!!selectedNode?.properties?.playSceneId, false);
|
|
938
|
-
const updatePlaySceneData = (0, react.useCallback)(async (data = "") => require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}/data`, { method: "put" }, { data }), [selectedNode]);
|
|
939
|
-
const updatePlaySceneState = (0, react.useCallback)(async (data = {}, sceneState) => require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}/${sceneState}`, { method: "put" }, { data }), [selectedNode]);
|
|
940
|
-
const updatePlaySceneAssignee = (0, react.useCallback)(async (data = "") => require_SideSheet.apiMutate(udp_react_stencil_component_library.ConfigService.maestroV1ApiUrl, `maestro/play/scene/${selectedNode?.properties?.playSceneId || null}/assignee`, { method: "put" }, { data }), [selectedNode]);
|
|
941
|
-
const closeReassignmentSheet = (0, react.useCallback)(() => {
|
|
942
|
-
setReassignSidesheetOpen(false);
|
|
943
|
-
}, []);
|
|
944
|
-
const workflowTaskSteps = (0, react.useMemo)(() => {
|
|
945
|
-
if (!selectedNode?.properties?.interruptPages) return [];
|
|
946
|
-
const orderedInterruptPages = (0, lodash.orderBy)(selectedNode.properties.interruptPages, ["sequenceNo"], ["asc"]);
|
|
947
|
-
const steps = orderedInterruptPages.reduce((list, ip) => {
|
|
948
|
-
const step = {
|
|
949
|
-
label: ip.displayName || ip.page?.name,
|
|
950
|
-
pageId: ip.page?.pageId,
|
|
951
|
-
requiredFieldMapping: ip.requiredFieldMapping
|
|
952
|
-
};
|
|
953
|
-
list.push(step);
|
|
954
|
-
return list;
|
|
955
|
-
}, []);
|
|
956
|
-
return steps;
|
|
957
|
-
}, [selectedNode]);
|
|
958
|
-
const assigneeOptions = (0, react.useMemo)(() => {
|
|
959
|
-
const formattedUsers = users?.reduce((list, user$1) => {
|
|
960
|
-
list.push({
|
|
961
|
-
id: user$1?.unityId || "",
|
|
962
|
-
name: `${user$1?.displayName} - (User)` || ""
|
|
963
|
-
});
|
|
964
|
-
return list;
|
|
965
|
-
}, []) || [];
|
|
966
|
-
const formattedGroups = groups.reduce((list, group) => {
|
|
967
|
-
list.push({
|
|
968
|
-
id: group?.groupId || "",
|
|
969
|
-
name: `${group?.name} - (Group)` || ""
|
|
970
|
-
});
|
|
971
|
-
return list;
|
|
972
|
-
}, []) || [];
|
|
973
|
-
const options = formattedUsers.concat(formattedGroups);
|
|
974
|
-
return options;
|
|
975
|
-
}, [users, groups]);
|
|
976
|
-
const saveCurrentWorkflowData = (0, react.useCallback)(async () => {
|
|
977
|
-
let playSceneData = null;
|
|
978
|
-
if (selectedNode?.properties?.playSceneId) playSceneData = taskDataMap[selectedNode.properties.playSceneId];
|
|
979
|
-
if (playSceneData) {
|
|
980
|
-
await updatePlaySceneData({ data: JSON.stringify(playSceneData) });
|
|
981
|
-
await fetchPlayScene();
|
|
982
|
-
}
|
|
983
|
-
}, [
|
|
984
|
-
taskDataMap,
|
|
985
|
-
fetchPlayScene,
|
|
986
|
-
updatePlaySceneData,
|
|
987
|
-
selectedNode
|
|
988
|
-
]);
|
|
989
|
-
const updateWorkflowPageData = (0, react.useCallback)(async (data, pageId) => {
|
|
990
|
-
if (!selectedNode?.properties?.playSceneId || !pageId) {
|
|
991
|
-
console.warn("No TaskId or PageId availble to save Workflow Page Data");
|
|
992
|
-
return;
|
|
993
|
-
}
|
|
994
|
-
if (selectedNode?.properties?.state === UnitStateType.Initial || selectedNode?.properties?.state === UnitStateType.Completed || selectedNode?.properties?.state === UnitStateType.Cancelled || selectedNode?.properties?.state === UnitStateType.Failed) return;
|
|
995
|
-
let playSceneData = null;
|
|
996
|
-
if (selectedNode?.properties?.playSceneId) {
|
|
997
|
-
playSceneData = taskDataMap[selectedNode.properties.playSceneId];
|
|
998
|
-
if (playSceneData) playSceneData[pageId] = data;
|
|
999
|
-
}
|
|
1000
|
-
if (playSceneData) {
|
|
1001
|
-
await updatePlaySceneData({ data: JSON.stringify(playSceneData) });
|
|
1002
|
-
await fetchPlayScene();
|
|
1003
|
-
}
|
|
1004
|
-
}, [
|
|
1005
|
-
selectedNode,
|
|
1006
|
-
fetchPlayScene,
|
|
1007
|
-
taskDataMap,
|
|
1008
|
-
updatePlaySceneData
|
|
1009
|
-
]);
|
|
1010
|
-
const handleTaskChange = (0, react.useCallback)(async (step) => {
|
|
1011
|
-
setCurrentWorkflowStep(step);
|
|
1012
|
-
}, []);
|
|
1013
|
-
const handleTaskSubmit = (0, react.useCallback)(async () => {
|
|
1014
|
-
setLoading(true);
|
|
1015
|
-
await saveCurrentWorkflowData();
|
|
1016
|
-
await updatePlaySceneState("", 2);
|
|
1017
|
-
await reloadWorkflow();
|
|
1018
|
-
setLoading(false);
|
|
1019
|
-
}, [
|
|
1020
|
-
updatePlaySceneState,
|
|
1021
|
-
reloadWorkflow,
|
|
1022
|
-
saveCurrentWorkflowData
|
|
1023
|
-
]);
|
|
1024
|
-
const secondaryButtons = (0, react.useMemo)(() => {
|
|
1025
|
-
const buttons = [];
|
|
1026
|
-
if (handleClose) buttons.push({
|
|
1027
|
-
label: t("Close"),
|
|
1028
|
-
component: __fluentui_react_icons.CancelIcon,
|
|
1029
|
-
click: () => handleClose()
|
|
1030
|
-
});
|
|
1031
|
-
if (selectedNode?.properties?.state !== UnitStateType.Started) return buttons;
|
|
1032
|
-
buttons.push({
|
|
1033
|
-
label: t("Reassign"),
|
|
1034
|
-
component: __fluentui_react_icons.ForwardIcon,
|
|
1035
|
-
click: () => setReassignSidesheetOpen(true)
|
|
1036
|
-
});
|
|
1037
|
-
return buttons;
|
|
1038
|
-
}, [
|
|
1039
|
-
t,
|
|
1040
|
-
selectedNode,
|
|
1041
|
-
handleClose
|
|
1042
|
-
]);
|
|
1043
|
-
const handleReassignment = (0, react.useCallback)(() => {
|
|
1044
|
-
formRef?.current.form.submit();
|
|
1045
|
-
}, []);
|
|
1046
|
-
const reassignTask = (0, react.useCallback)(async (values) => {
|
|
1047
|
-
setReassigningAssignee(true);
|
|
1048
|
-
await updatePlaySceneAssignee({ data: values?.assignee?.id || "" });
|
|
1049
|
-
await fetchPlayScene();
|
|
1050
|
-
setReassigningAssignee(false);
|
|
1051
|
-
closeReassignmentSheet();
|
|
1052
|
-
}, [
|
|
1053
|
-
updatePlaySceneAssignee,
|
|
1054
|
-
fetchPlayScene,
|
|
1055
|
-
closeReassignmentSheet
|
|
1056
|
-
]);
|
|
1057
|
-
const requiredFieldMapping = (0, react.useMemo)(() => {
|
|
1058
|
-
const step = workflowTaskSteps?.find((wts) => wts.pageId === pageData?.pageId);
|
|
1059
|
-
let fieldMapping = step?.requiredFieldMapping ? (0, lodash.cloneDeep)(step.requiredFieldMapping) : {};
|
|
1060
|
-
const workflowVariables = selectedNode?.properties?.variables || null;
|
|
1061
|
-
if (!!fieldMapping && !!workflowVariables) Object.keys(fieldMapping)?.forEach((rfmKey) => {
|
|
1062
|
-
const requiredField = fieldMapping[rfmKey];
|
|
1063
|
-
if (!!requiredField?.value) {
|
|
1064
|
-
if (requiredField?.type === "workflowVariable") {
|
|
1065
|
-
let matchedVariable = false;
|
|
1066
|
-
Object.keys(workflowVariables).forEach((key) => {
|
|
1067
|
-
if (requiredField.value === key) {
|
|
1068
|
-
requiredField.value = workflowVariables[key] || "";
|
|
1069
|
-
matchedVariable = true;
|
|
1070
|
-
return;
|
|
1071
|
-
}
|
|
1072
|
-
});
|
|
1073
|
-
if (!matchedVariable) requiredField.value = null;
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
1076
|
-
});
|
|
1077
|
-
return fieldMapping || {};
|
|
1078
|
-
}, [
|
|
1079
|
-
pageData?.pageId,
|
|
1080
|
-
selectedNode,
|
|
1081
|
-
workflowTaskSteps
|
|
1082
|
-
]);
|
|
1083
|
-
const pageWidgetParams = (0, react.useMemo)(() => {
|
|
1084
|
-
const requiredFieldsMap = Object.keys(requiredFieldMapping).reduce((fieldMap, key) => {
|
|
1085
|
-
fieldMap[key] = requiredFieldMapping[key]?.value || "";
|
|
1086
|
-
return fieldMap;
|
|
1087
|
-
}, {});
|
|
1088
|
-
return {
|
|
1089
|
-
setSideSheetWidth: () => {
|
|
1090
|
-
console.warn("setSideSheetWidth Not implemented");
|
|
1091
|
-
},
|
|
1092
|
-
setSideSheetButtonLabel: () => {
|
|
1093
|
-
console.warn("setSideSheetButtonLabel Not implemented");
|
|
1094
|
-
},
|
|
1095
|
-
setSideSheetOnSubmit: () => {
|
|
1096
|
-
console.warn("setSideSheetOnSubmit Not implemented");
|
|
1097
|
-
},
|
|
1098
|
-
setSideSheetAdditionalOnClose: () => {
|
|
1099
|
-
console.warn("setSideSheetAdditionalOnClose Not implemented");
|
|
1100
|
-
},
|
|
1101
|
-
setSideSheetProps: () => {
|
|
1102
|
-
console.warn("setSideSheetProps Not implemented");
|
|
1103
|
-
},
|
|
1104
|
-
closeSideSheet: () => {
|
|
1105
|
-
console.warn("closeSideSheet Not implemented");
|
|
1106
|
-
},
|
|
1107
|
-
onCreate: () => {
|
|
1108
|
-
console.warn("onCreate Not implemented");
|
|
1109
|
-
},
|
|
1110
|
-
onUpdate: () => {
|
|
1111
|
-
console.warn("onUpdate Not implemented");
|
|
1112
|
-
},
|
|
1113
|
-
...inquiryPageParams,
|
|
1114
|
-
pageId: pageData?.pageId,
|
|
1115
|
-
updateWorkflowPageData: (data) => updateWorkflowPageData(data, pageData?.pageId),
|
|
1116
|
-
workflowTask: selectedNode,
|
|
1117
|
-
workflowPageData: {
|
|
1118
|
-
...requiredFieldsMap,
|
|
1119
|
-
...workflowPageData
|
|
1120
|
-
},
|
|
1121
|
-
requiredFieldsMap: requiredFieldMapping || null,
|
|
1122
|
-
currentWorkflowStep,
|
|
1123
|
-
orderedWorkflowPageData: orderedPageData
|
|
1124
|
-
};
|
|
1125
|
-
}, [
|
|
1126
|
-
pageData?.pageId,
|
|
1127
|
-
selectedNode,
|
|
1128
|
-
workflowPageData,
|
|
1129
|
-
updateWorkflowPageData,
|
|
1130
|
-
requiredFieldMapping,
|
|
1131
|
-
inquiryPageParams,
|
|
1132
|
-
currentWorkflowStep,
|
|
1133
|
-
orderedPageData
|
|
1134
|
-
]);
|
|
1135
|
-
const currentAssignee = (0, react.useMemo)(() => {
|
|
1136
|
-
if (!playScene?.assignee || !assigneeOptions?.length) return "";
|
|
1137
|
-
const matchingAssignee = assigneeOptions.find((assignee) => assignee.id === playScene.assignee);
|
|
1138
|
-
return matchingAssignee || "";
|
|
1139
|
-
}, [playScene, assigneeOptions]);
|
|
1140
|
-
const pageHeight = (0, react.useMemo)(() => "calc(100vh - 162px)", []);
|
|
1141
|
-
(0, react.useEffect)(() => {
|
|
1142
|
-
if (!selectedNode?.properties?.playSceneId || !selectedPageId || loadingTaskData) {
|
|
1143
|
-
setWorkflowPageData(null);
|
|
1144
|
-
return;
|
|
1145
|
-
}
|
|
1146
|
-
if (taskDataMap?.[selectedNode.properties.playSceneId] && taskDataMap[selectedNode.properties.playSceneId][selectedPageId]) {
|
|
1147
|
-
setWorkflowPageData(taskDataMap[selectedNode.properties.playSceneId][selectedPageId]);
|
|
1148
|
-
return;
|
|
1149
|
-
}
|
|
1150
|
-
if (Object.keys(taskDataMap).length && selectedNode?.properties?.playSceneId && selectedPageId && !playSceneLoading && !loadingTaskData) {
|
|
1151
|
-
setWorkflowPageData((prevData) => {
|
|
1152
|
-
if (!prevData) return {};
|
|
1153
|
-
else if (!Object.keys(prevData).length) return prevData;
|
|
1154
|
-
});
|
|
1155
|
-
return;
|
|
1156
|
-
}
|
|
1157
|
-
setWorkflowPageData(null);
|
|
1158
|
-
}, [
|
|
1159
|
-
selectedNode,
|
|
1160
|
-
selectedPageId,
|
|
1161
|
-
taskDataMap,
|
|
1162
|
-
loadingTaskData,
|
|
1163
|
-
playSceneLoading,
|
|
1164
|
-
workflowTaskSteps
|
|
1165
|
-
]);
|
|
1166
|
-
(0, react.useEffect)(() => {
|
|
1167
|
-
if (workflowTaskSteps?.length) setSelectedPageId(workflowTaskSteps[currentWorkflowStep]?.pageId);
|
|
1168
|
-
}, [workflowTaskSteps, currentWorkflowStep]);
|
|
1169
|
-
(0, react.useEffect)(() => {
|
|
1170
|
-
setLoadingTaskData(true);
|
|
1171
|
-
if (!playSceneLoading && selectedNode?.properties?.playSceneId) {
|
|
1172
|
-
const json = playScene?.data ? JSON.parse(playScene.data) : {};
|
|
1173
|
-
setTaskDataMap(selectedNode.properties.playSceneId, json);
|
|
1174
|
-
}
|
|
1175
|
-
setLoadingTaskData(false);
|
|
1176
|
-
}, [
|
|
1177
|
-
playScene,
|
|
1178
|
-
playSceneLoading,
|
|
1179
|
-
setTaskDataMap,
|
|
1180
|
-
selectedNode
|
|
1181
|
-
]);
|
|
1182
|
-
(0, react.useEffect)(() => {
|
|
1183
|
-
const orderedData = [];
|
|
1184
|
-
if (taskDataMap?.[selectedNode.properties.playSceneId]) workflowTaskSteps.forEach((step) => {
|
|
1185
|
-
orderedData.push(taskDataMap[selectedNode.properties.playSceneId][step.pageId] || {});
|
|
1186
|
-
});
|
|
1187
|
-
setOrderedPageData(orderedData);
|
|
1188
|
-
}, [
|
|
1189
|
-
taskDataMap,
|
|
1190
|
-
workflowTaskSteps,
|
|
1191
|
-
selectedNode
|
|
1192
|
-
]);
|
|
1193
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [
|
|
1194
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Card, {
|
|
1195
|
-
variant: "outlined",
|
|
1196
|
-
style: {
|
|
1197
|
-
border: "none",
|
|
1198
|
-
paddingBottom: workflowTaskSteps?.length > 1 ? 10 : 0
|
|
1199
|
-
},
|
|
1200
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PageContainer.PrimaryActionHeader, {
|
|
1201
|
-
single: true,
|
|
1202
|
-
title: workflow?.name,
|
|
1203
|
-
buttonLabel: "Submit",
|
|
1204
|
-
handleClick: handleTaskSubmit,
|
|
1205
|
-
pabDisabled: selectedNode?.properties?.state !== UnitStateType.Started,
|
|
1206
|
-
secondaryButtons
|
|
1207
|
-
}), loading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LinearProgress, {})]
|
|
1208
|
-
}),
|
|
1209
|
-
workflowTaskSteps?.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WorkflowTaskFlow, {
|
|
1210
|
-
steps: workflowTaskSteps,
|
|
1211
|
-
handleClick: handleTaskChange,
|
|
1212
|
-
task: selectedNode
|
|
1213
|
-
}),
|
|
1214
|
-
selectedPageId && workflowPageData ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PageContainer.PageContainer, {
|
|
1215
|
-
user,
|
|
1216
|
-
pageData,
|
|
1217
|
-
pageLoading,
|
|
1218
|
-
widgetParams: pageWidgetParams,
|
|
1219
|
-
disableMargins: true,
|
|
1220
|
-
fromMenu: true,
|
|
1221
|
-
height: pageHeight
|
|
1222
|
-
}, selectedPageId) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1223
|
-
className: classes.loadingContent,
|
|
1224
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CircularProgress, { size: 64 })
|
|
1225
|
-
}),
|
|
1226
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SideSheet.SideSheet, {
|
|
1227
|
-
open: reassignSidesheetOpen,
|
|
1228
|
-
buttonLabel: t("Reassign"),
|
|
1229
|
-
onClose: closeReassignmentSheet,
|
|
1230
|
-
onSubmit: handleReassignment,
|
|
1231
|
-
title: t("Reassign Task"),
|
|
1232
|
-
width: "25%",
|
|
1233
|
-
progress: reassigningAssignee,
|
|
1234
|
-
variant: "indeterminate",
|
|
1235
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SideSheet.Form, {
|
|
1236
|
-
onSubmit: reassignTask,
|
|
1237
|
-
ref: formRef,
|
|
1238
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SideSheet.Field, {
|
|
1239
|
-
component: FluentTextFieldAutoComplete,
|
|
1240
|
-
name: "assignee",
|
|
1241
|
-
id: "assignee",
|
|
1242
|
-
label: t("Assignee"),
|
|
1243
|
-
initialValue: currentAssignee || "",
|
|
1244
|
-
options: assigneeOptions || [],
|
|
1245
|
-
optionKey: "name",
|
|
1246
|
-
variant: "outlined",
|
|
1247
|
-
margin: "dense"
|
|
1248
|
-
})
|
|
1249
|
-
})
|
|
1250
|
-
})
|
|
1251
|
-
] });
|
|
1252
|
-
};
|
|
1253
|
-
|
|
1254
|
-
//#endregion
|
|
1255
|
-
//#region src/UI/components/dataDisplay/SmsDisplay.jsx
|
|
1256
|
-
const useStyles$3 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
1257
|
-
messages: {
|
|
1258
|
-
flex: "1",
|
|
1259
|
-
margin: "0 20px",
|
|
1260
|
-
overflow: "hidden"
|
|
1261
|
-
},
|
|
1262
|
-
messagesBox: {
|
|
1263
|
-
paddingRight: "3%",
|
|
1264
|
-
paddingLeft: "3%",
|
|
1265
|
-
width: "23vw",
|
|
1266
|
-
height: "88%",
|
|
1267
|
-
overflowY: "auto",
|
|
1268
|
-
boxSizing: "border-box",
|
|
1269
|
-
display: "flex",
|
|
1270
|
-
justifyContent: "center"
|
|
1271
|
-
},
|
|
1272
|
-
message: {
|
|
1273
|
-
backgroundColor: "#E9E9EB",
|
|
1274
|
-
borderRadius: "10px",
|
|
1275
|
-
padding: "10px",
|
|
1276
|
-
marginBottom: "10px",
|
|
1277
|
-
alignSelf: "flex-start",
|
|
1278
|
-
overflowWrap: "break-word",
|
|
1279
|
-
margin: theme.spacing(1)
|
|
1280
|
-
},
|
|
1281
|
-
messageSection: {
|
|
1282
|
-
flex: "1",
|
|
1283
|
-
overflowY: "auto",
|
|
1284
|
-
padding: "20px",
|
|
1285
|
-
backgroundImage: `url(${src_assets_images_phone_png.default})`,
|
|
1286
|
-
backgroundSize: "contain",
|
|
1287
|
-
backgroundRepeat: "no-repeat",
|
|
1288
|
-
backgroundPosition: "center",
|
|
1289
|
-
position: "relative",
|
|
1290
|
-
display: "flex",
|
|
1291
|
-
alignItems: "center",
|
|
1292
|
-
justifyContent: "center",
|
|
1293
|
-
height: "calc(100vh - 140px)"
|
|
1294
|
-
}
|
|
1295
|
-
}));
|
|
1296
|
-
const SmsDisplay = (props) => {
|
|
1297
|
-
const { messages = [], to, from, title, handleClose } = props;
|
|
1298
|
-
const classes = useStyles$3();
|
|
1299
|
-
const [messagesList, setMessagesList] = (0, react.useState)(messages);
|
|
1300
|
-
const { t } = (0, react_i18next.useTranslation)();
|
|
1301
|
-
const messagesBoxRef = (0, react.useRef)(null);
|
|
1302
|
-
const secondaryButtons = (0, react.useMemo)(() => {
|
|
1303
|
-
const buttons = [];
|
|
1304
|
-
if (handleClose) buttons.push({
|
|
1305
|
-
label: t("Close"),
|
|
1306
|
-
component: __fluentui_react_icons.CancelIcon,
|
|
1307
|
-
click: () => handleClose()
|
|
1308
|
-
});
|
|
1309
|
-
return buttons;
|
|
1310
|
-
}, [t, handleClose]);
|
|
1311
|
-
(0, react.useEffect)(() => {
|
|
1312
|
-
if (messagesBoxRef.current) messagesBoxRef.current.scrollTop = messagesBoxRef.current.scrollHeight;
|
|
1313
|
-
}, [messagesList]);
|
|
1314
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Card, {
|
|
1315
|
-
square: true,
|
|
1316
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PageContainer.PrimaryActionHeader, {
|
|
1317
|
-
hidePAB: true,
|
|
1318
|
-
title,
|
|
1319
|
-
subheader: `To: ${to} . From: ${from}`,
|
|
1320
|
-
secondaryButtons
|
|
1321
|
-
})
|
|
1322
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Box, {
|
|
1323
|
-
className: classes.messages,
|
|
1324
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Box, {
|
|
1325
|
-
className: classes.messageSection,
|
|
1326
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Box, {
|
|
1327
|
-
className: classes.messagesBox,
|
|
1328
|
-
ref: messagesBoxRef,
|
|
1329
|
-
children: messagesList.map((message, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Grow, {
|
|
1330
|
-
in: true,
|
|
1331
|
-
timeout: 800,
|
|
1332
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Box, {
|
|
1333
|
-
className: classes.message,
|
|
1334
|
-
dangerouslySetInnerHTML: { __html: message }
|
|
1335
|
-
})
|
|
1336
|
-
}, index))
|
|
1337
|
-
})
|
|
1338
|
-
})
|
|
1339
|
-
})] });
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
|
-
//#endregion
|
|
1343
|
-
//#region src/UI/components/dataDisplay/EmailDisplay.jsx
|
|
1344
|
-
const useStyles$2 = (0, __material_ui_core.makeStyles)((theme) => ({ htmlContainer: {
|
|
1345
|
-
display: "flex",
|
|
1346
|
-
justifyContent: "center"
|
|
1347
|
-
} }));
|
|
1348
|
-
const EmailDisplay = (props) => {
|
|
1349
|
-
const { html = "", to, from, title, handleClose } = props;
|
|
1350
|
-
const classes = useStyles$2();
|
|
1351
|
-
const { t } = (0, react_i18next.useTranslation)();
|
|
1352
|
-
const secondaryButtons = (0, react.useMemo)(() => {
|
|
1353
|
-
const buttons = [];
|
|
1354
|
-
if (handleClose) buttons.push({
|
|
1355
|
-
label: t("Close"),
|
|
1356
|
-
component: __fluentui_react_icons.CancelIcon,
|
|
1357
|
-
click: () => handleClose()
|
|
1358
|
-
});
|
|
1359
|
-
return buttons;
|
|
1360
|
-
}, [t, handleClose]);
|
|
1361
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
1362
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Card, {
|
|
1363
|
-
square: true,
|
|
1364
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PageContainer.PrimaryActionHeader, {
|
|
1365
|
-
hidePAB: true,
|
|
1366
|
-
title,
|
|
1367
|
-
subheader: `To: ${to} . From: ${from}`,
|
|
1368
|
-
secondaryButtons
|
|
1369
|
-
})
|
|
1370
|
-
}),
|
|
1371
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.LayoutUnit, { unit: "sm" }),
|
|
1372
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1373
|
-
className: classes.htmlContainer,
|
|
1374
|
-
children: (0, react_html_parser.default)(html)
|
|
1375
|
-
})
|
|
1376
|
-
] });
|
|
1377
|
-
};
|
|
1378
|
-
|
|
1379
|
-
//#endregion
|
|
1380
|
-
//#region src/workflow/WorkflowContent.jsx
|
|
1381
|
-
const useStyles$1 = (0, __material_ui_core.makeStyles)((theme) => ({ root: { height: "100%" } }));
|
|
1382
|
-
const WorkflowContent = (props) => {
|
|
1383
|
-
const { selectedNode, workflow, reloadWorkflow, users, groups, handleClose, inquiryPageParams = {} } = props;
|
|
1384
|
-
const buildEnv = require_EnvironmentRibbon.useBuildEnvironment();
|
|
1385
|
-
const classes = useStyles$1({
|
|
1386
|
-
...props,
|
|
1387
|
-
appRibbonSpace: buildEnv ? require_EnvironmentRibbon.APP_RIBBON_SPACE : 0
|
|
1388
|
-
});
|
|
1389
|
-
const user = require_EnvironmentRibbon.useUser();
|
|
1390
|
-
const [{ data: pageData, loading: pageLoading, error: pageError }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.tenantV1ApiUrl, `page/${selectedNode?.properties?.page?.id}`, {}, !!!selectedNode?.properties?.page?.id, false);
|
|
1391
|
-
const content = (0, react.useMemo)(() => {
|
|
1392
|
-
let res = null;
|
|
1393
|
-
if (selectedNode?.properties?.type === UnitTypeEnums.Scene) res = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WorkflowUiInterruptContent, {
|
|
1394
|
-
selectedNode,
|
|
1395
|
-
workflow,
|
|
1396
|
-
reloadWorkflow,
|
|
1397
|
-
users,
|
|
1398
|
-
groups,
|
|
1399
|
-
handleClose,
|
|
1400
|
-
inquiryPageParams
|
|
1401
|
-
}, selectedNode.id);
|
|
1402
|
-
else if (selectedNode?.properties?.type === UnitTypeEnums.Sms) res = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SmsDisplay, {
|
|
1403
|
-
messages: [selectedNode?.properties?.sms?.body || ""],
|
|
1404
|
-
to: selectedNode?.properties?.sms?.to || "",
|
|
1405
|
-
from: selectedNode?.properties?.sms?.from || "",
|
|
1406
|
-
title: selectedNode?.properties?.nodeLabel || "",
|
|
1407
|
-
handleClose
|
|
1408
|
-
});
|
|
1409
|
-
else if (selectedNode?.properties?.type === UnitTypeEnums.Mail) res = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EmailDisplay, {
|
|
1410
|
-
html: selectedNode?.properties?.email?.html || selectedNode?.properties?.email?.text || "",
|
|
1411
|
-
to: selectedNode?.properties?.email?.to || "",
|
|
1412
|
-
from: selectedNode?.properties?.email?.from || "",
|
|
1413
|
-
title: selectedNode?.properties?.nodeLabel || "",
|
|
1414
|
-
handleClose
|
|
1415
|
-
});
|
|
1416
|
-
else if (selectedNode?.properties?.page?.id) res = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PageContainer.PageContainer, {
|
|
1417
|
-
user,
|
|
1418
|
-
pageData,
|
|
1419
|
-
pageLoading,
|
|
1420
|
-
widgetParams: {
|
|
1421
|
-
pageId: pageData?.pageId,
|
|
1422
|
-
entityName: selectedNode?.properties?.page?.entity?.entityName,
|
|
1423
|
-
pbiReportCode: selectedNode?.properties?.page?.pbiReportCode,
|
|
1424
|
-
requiredFieldsMap: selectedNode?.properties?.page?.requiredFieldMapping,
|
|
1425
|
-
udpTagId: selectedNode?.properties?.page?.udpTagId,
|
|
1426
|
-
queryId: selectedNode?.properties?.page?.queryId,
|
|
1427
|
-
inquiryTreeId: selectedNode?.properties?.page?.inquiryTreeId
|
|
1428
|
-
},
|
|
1429
|
-
disableMargins: true,
|
|
1430
|
-
fromMenu: true
|
|
1431
|
-
}, selectedNode?.id);
|
|
1432
|
-
return res;
|
|
1433
|
-
}, [
|
|
1434
|
-
groups,
|
|
1435
|
-
pageData,
|
|
1436
|
-
pageLoading,
|
|
1437
|
-
reloadWorkflow,
|
|
1438
|
-
selectedNode,
|
|
1439
|
-
user,
|
|
1440
|
-
users,
|
|
1441
|
-
workflow,
|
|
1442
|
-
handleClose
|
|
1443
|
-
]);
|
|
1444
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1445
|
-
className: classes.root,
|
|
1446
|
-
children: content
|
|
1447
|
-
});
|
|
1448
|
-
};
|
|
1449
|
-
|
|
1450
|
-
//#endregion
|
|
1451
|
-
//#region src/hooks/useUpdateSearchParams.js
|
|
1452
|
-
const useUpdateSearchParams = () => {
|
|
1453
|
-
const history = (0, react_router_dom.useHistory)();
|
|
1454
|
-
const location = (0, react_router_dom.useLocation)();
|
|
1455
|
-
const updateSearchParams = (params) => {
|
|
1456
|
-
const searchParams = new URLSearchParams(location.search);
|
|
1457
|
-
Object.keys(params).forEach((key) => {
|
|
1458
|
-
if (params[key] !== null) searchParams.set(key, params[key]);
|
|
1459
|
-
else searchParams.delete(key);
|
|
1460
|
-
});
|
|
1461
|
-
history.push({
|
|
1462
|
-
pathname: location.pathname,
|
|
1463
|
-
search: searchParams.toString()
|
|
1464
|
-
});
|
|
1465
|
-
};
|
|
1466
|
-
return updateSearchParams;
|
|
1467
|
-
};
|
|
1468
|
-
|
|
1469
|
-
//#endregion
|
|
1470
|
-
//#region src/workflow/WorkflowContainer.jsx
|
|
1471
|
-
const useStyles = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
1472
|
-
root: {
|
|
1473
|
-
flex: 1,
|
|
1474
|
-
minHeight: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
|
|
1475
|
-
display: "grid",
|
|
1476
|
-
gridTemplateAreas: ["sidebar content"].map((line) => `"${line}"`).join(" "),
|
|
1477
|
-
gridTemplateColumns: "auto 1fr",
|
|
1478
|
-
gridTemplateRows: "auto 1fr"
|
|
1479
|
-
},
|
|
1480
|
-
sidebar: {
|
|
1481
|
-
gridArea: "sidebar",
|
|
1482
|
-
marginRight: theme.spacing(1)
|
|
1483
|
-
},
|
|
1484
|
-
content: {
|
|
1485
|
-
gridArea: "content",
|
|
1486
|
-
display: "flex",
|
|
1487
|
-
flexDirection: "column",
|
|
1488
|
-
position: "relative",
|
|
1489
|
-
zIndex: 1,
|
|
1490
|
-
height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
|
|
1491
|
-
overflowY: "auto"
|
|
1492
|
-
},
|
|
1493
|
-
menuContent: {
|
|
1494
|
-
marginTop: theme.spacing(1),
|
|
1495
|
-
height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 116}px)`,
|
|
1496
|
-
overflowX: "hidden"
|
|
1497
|
-
},
|
|
1498
|
-
loader: {
|
|
1499
|
-
marginRight: theme.spacing(1),
|
|
1500
|
-
marginLeft: theme.spacing(1)
|
|
1501
|
-
},
|
|
1502
|
-
loadingContent: {
|
|
1503
|
-
flex: 1,
|
|
1504
|
-
display: "flex",
|
|
1505
|
-
flexDirection: "column",
|
|
1506
|
-
alignItems: "center",
|
|
1507
|
-
justifyContent: "center"
|
|
1508
|
-
}
|
|
1509
|
-
}));
|
|
1510
|
-
const WorkflowContainer = (props) => {
|
|
1511
|
-
const { playId, taskId, autoCollapseNav = true } = props;
|
|
1512
|
-
const buildEnv = require_EnvironmentRibbon.useBuildEnvironment();
|
|
1513
|
-
const classes = useStyles({
|
|
1514
|
-
...props,
|
|
1515
|
-
appRibbonSpace: buildEnv ? require_EnvironmentRibbon.APP_RIBBON_SPACE : 0
|
|
1516
|
-
});
|
|
1517
|
-
const location = (0, react_router_dom.useLocation)();
|
|
1518
|
-
const updateSearchParams = useUpdateSearchParams();
|
|
1519
|
-
const user = require_EnvironmentRibbon.useUser();
|
|
1520
|
-
const setLocationState = require_PageContainer.useSetLocationState();
|
|
1521
|
-
const { t } = (0, react_i18next.useTranslation)();
|
|
1522
|
-
const [menuItemsList, setMenuItemsList] = (0, react.useState)([]);
|
|
1523
|
-
const [selectedNode, setSelectedNode] = (0, react.useState)(null);
|
|
1524
|
-
const [sidebarExpanded, setSidebarExpanded] = (0, react.useState)(true);
|
|
1525
|
-
const [reloadFromPage, setReloadFromPage] = (0, react.useState)(false);
|
|
1526
|
-
const [workflow, setWorkflow] = (0, react.useState)(false);
|
|
1527
|
-
const state = location.state;
|
|
1528
|
-
let searchParamStr = location.search;
|
|
1529
|
-
let searchParams = new URLSearchParams(searchParamStr);
|
|
1530
|
-
const urlPlayId = location.pathname.replace("/workflowtask/", "");
|
|
1531
|
-
const udpPlayId = playId || urlPlayId || (state ? state.playId : searchParams.has("playId") === true ? searchParams.get("playId") : "");
|
|
1532
|
-
const udpTaskId = taskId || (state ? state.taskId : searchParams.has("taskId") === true ? searchParams.get("taskId") : "");
|
|
1533
|
-
const [{ data: workflowPlay, loading: workflowPlayLoading }, reloadWorkflow] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.builderV1ApiUrl, `workflow/play/${udpPlayId}`, {}, !!!udpPlayId, false);
|
|
1534
|
-
const [{ data: users }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.securityV1ApiUrl, `users?tenantId=${user?.currentTenantId || ""}`, {}, !!!user?.currentTenantId);
|
|
1535
|
-
const [{ data: groups }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.tenantV1ApiUrl, `groups?tenantId=${user?.currentTenantId || ""}&productId=${udp_react_stencil_component_library.ConfigService.config.UNITY_PRODUCT_ID}`, {}, !!!user?.currentTenantId);
|
|
1536
|
-
const { setSubHeaderActionHasChildren, setNavigationExpanded } = require_EnvironmentRibbon.useShellStore();
|
|
1537
|
-
const handleReloadWorkflow = (0, react.useCallback)(async () => {
|
|
1538
|
-
setReloadFromPage(true);
|
|
1539
|
-
await reloadWorkflow();
|
|
1540
|
-
setReloadFromPage(false);
|
|
1541
|
-
}, [reloadWorkflow]);
|
|
1542
|
-
const handleSelectedNode = (0, react.useCallback)(async (node, menuIndex) => {
|
|
1543
|
-
if (node.isSelectable) {
|
|
1544
|
-
setSelectedNode(node);
|
|
1545
|
-
await handleReloadWorkflow();
|
|
1546
|
-
if (node?.properties?.playSceneId) updateSearchParams({ taskId: node.properties.playSceneId });
|
|
1547
|
-
}
|
|
1548
|
-
}, [updateSearchParams, handleReloadWorkflow]);
|
|
1549
|
-
const handleDropNode = (0, react.useCallback)((sourceNode, targetNode, sourceNodeMenuIndex, targetNodeMenuIndex) => {}, []);
|
|
1550
|
-
const handleSidebarExpandClick = (0, react.useCallback)(() => {
|
|
1551
|
-
setSidebarExpanded((expanded) => !expanded);
|
|
1552
|
-
}, []);
|
|
1553
|
-
(0, react.useEffect)(() => {
|
|
1554
|
-
if (workflowPlay) setWorkflow(workflowPlay);
|
|
1555
|
-
}, [workflowPlay]);
|
|
1556
|
-
(0, react.useEffect)(() => {
|
|
1557
|
-
setLocationState({ label: t("Workflow") });
|
|
1558
|
-
}, [setLocationState, t]);
|
|
1559
|
-
(0, react.useEffect)(() => {
|
|
1560
|
-
if (workflow) setSelectedNode((prevNode) => {
|
|
1561
|
-
if (!!prevNode) {
|
|
1562
|
-
const foundNode = workflow.workflowPlayNode?.children?.find((child) => child.id === prevNode.id);
|
|
1563
|
-
if (!!foundNode) {
|
|
1564
|
-
const updatedNode = { ...prevNode };
|
|
1565
|
-
updatedNode.properties.state = foundNode.state;
|
|
1566
|
-
return updatedNode;
|
|
1567
|
-
} else return prevNode;
|
|
1568
|
-
}
|
|
1569
|
-
});
|
|
1570
|
-
}, [workflow]);
|
|
1571
|
-
(0, react.useEffect)(() => {
|
|
1572
|
-
if (workflow) {
|
|
1573
|
-
const list = [];
|
|
1574
|
-
const updatedMenu = transformWorkflowPlayTree(workflow.workflowPlayNode);
|
|
1575
|
-
if (updatedMenu) list.push(updatedMenu);
|
|
1576
|
-
setMenuItemsList(list);
|
|
1577
|
-
}
|
|
1578
|
-
}, [workflow]);
|
|
1579
|
-
(0, react.useEffect)(() => {
|
|
1580
|
-
if (!selectedNode) {
|
|
1581
|
-
const menu = menuItemsList[0];
|
|
1582
|
-
if (menu) {
|
|
1583
|
-
if (!!udpTaskId) {
|
|
1584
|
-
const matchingTaskNode = menu.children.find((child) => child?.properties?.playSceneId === udpTaskId);
|
|
1585
|
-
setSelectedNode(matchingTaskNode || menu.children[0] || null);
|
|
1586
|
-
} else {
|
|
1587
|
-
const firstSelectableMenuItem = menu?.children?.find((item) => item.isSelectable);
|
|
1588
|
-
setSelectedNode(firstSelectableMenuItem || null);
|
|
1589
|
-
}
|
|
1590
|
-
if (autoCollapseNav) setNavigationExpanded(false);
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
}, [
|
|
1594
|
-
udpTaskId,
|
|
1595
|
-
menuItemsList,
|
|
1596
|
-
selectedNode,
|
|
1597
|
-
setNavigationExpanded,
|
|
1598
|
-
autoCollapseNav
|
|
1599
|
-
]);
|
|
1600
|
-
(0, react.useEffect)(() => {
|
|
1601
|
-
setSubHeaderActionHasChildren(false);
|
|
1602
|
-
}, [setSubHeaderActionHasChildren]);
|
|
1603
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_dnd.DndProvider, {
|
|
1604
|
-
backend: react_dnd_html5_backend.HTML5Backend,
|
|
1605
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1606
|
-
className: classes.root,
|
|
1607
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1608
|
-
className: classes.sidebar,
|
|
1609
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UtilitySideBar.UtilitySideBar, {
|
|
1610
|
-
title: "Workflow",
|
|
1611
|
-
isUsingChildren: true,
|
|
1612
|
-
resizable: true,
|
|
1613
|
-
removePadding: true,
|
|
1614
|
-
removeTopLayoutUnit: true,
|
|
1615
|
-
onUtilitySidebarToggleExpandClick: handleSidebarExpandClick,
|
|
1616
|
-
collapsedWidth: 64,
|
|
1617
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1618
|
-
className: classes.menuContent,
|
|
1619
|
-
children: [menuItemsList?.length > 0 && (!workflowPlayLoading || reloadFromPage) && menuItemsList.map((menuItems, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1620
|
-
className: classes.nodeContainer,
|
|
1621
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WorkflowTreeMenu, {
|
|
1622
|
-
menuItems,
|
|
1623
|
-
onSelectNode: handleSelectedNode,
|
|
1624
|
-
onDropNode: handleDropNode,
|
|
1625
|
-
menuIndex: index,
|
|
1626
|
-
selectedNodeId: selectedNode?.id,
|
|
1627
|
-
selectedNodeParentId: selectedNode?.parentId,
|
|
1628
|
-
sidebarExpanded,
|
|
1629
|
-
treeViewMode: require_EnvironmentRibbon.TreeViewModeEnums.Classic
|
|
1630
|
-
})
|
|
1631
|
-
}, menuItems.id)), workflowPlayLoading && !reloadFromPage && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1632
|
-
className: classes.loader,
|
|
1633
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UtilitySideBar.NodeLoader, { loading: workflowPlayLoading })
|
|
1634
|
-
})]
|
|
1635
|
-
}, playId)
|
|
1636
|
-
})
|
|
1637
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1638
|
-
className: classes.content,
|
|
1639
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WorkflowContent, {
|
|
1640
|
-
selectedNode,
|
|
1641
|
-
workflow,
|
|
1642
|
-
reloadWorkflow: handleReloadWorkflow,
|
|
1643
|
-
users,
|
|
1644
|
-
groups
|
|
1645
|
-
})
|
|
1646
|
-
})]
|
|
1647
|
-
})
|
|
1648
|
-
});
|
|
1649
|
-
};
|
|
1650
|
-
|
|
1651
|
-
//#endregion
|
|
1652
|
-
Object.defineProperty(exports, 'CircularProgress', {
|
|
1653
|
-
enumerable: true,
|
|
1654
|
-
get: function () {
|
|
1655
|
-
return CircularProgress;
|
|
1656
|
-
}
|
|
1657
|
-
});
|
|
1658
|
-
Object.defineProperty(exports, 'FluentTextFieldAutoComplete', {
|
|
1659
|
-
enumerable: true,
|
|
1660
|
-
get: function () {
|
|
1661
|
-
return FluentTextFieldAutoComplete;
|
|
1662
|
-
}
|
|
1663
|
-
});
|
|
1664
|
-
Object.defineProperty(exports, 'LinearProgress', {
|
|
1665
|
-
enumerable: true,
|
|
1666
|
-
get: function () {
|
|
1667
|
-
return LinearProgress;
|
|
1668
|
-
}
|
|
1669
|
-
});
|
|
1670
|
-
Object.defineProperty(exports, 'UnitStateType', {
|
|
1671
|
-
enumerable: true,
|
|
1672
|
-
get: function () {
|
|
1673
|
-
return UnitStateType;
|
|
1674
|
-
}
|
|
1675
|
-
});
|
|
1676
|
-
Object.defineProperty(exports, 'WorkflowContainer', {
|
|
1677
|
-
enumerable: true,
|
|
1678
|
-
get: function () {
|
|
1679
|
-
return WorkflowContainer;
|
|
1680
|
-
}
|
|
1681
|
-
});
|
|
1682
|
-
Object.defineProperty(exports, 'WorkflowContent', {
|
|
1683
|
-
enumerable: true,
|
|
1684
|
-
get: function () {
|
|
1685
|
-
return WorkflowContent;
|
|
1686
|
-
}
|
|
1687
|
-
});
|
|
1688
|
-
Object.defineProperty(exports, 'WorkflowTreeMenu', {
|
|
1689
|
-
enumerable: true,
|
|
1690
|
-
get: function () {
|
|
1691
|
-
return WorkflowTreeMenu;
|
|
1692
|
-
}
|
|
1693
|
-
});
|
|
1694
|
-
Object.defineProperty(exports, 'formatDateToLocaleString', {
|
|
1695
|
-
enumerable: true,
|
|
1696
|
-
get: function () {
|
|
1697
|
-
return formatDateToLocaleString;
|
|
1698
|
-
}
|
|
1699
|
-
});
|
|
1700
|
-
Object.defineProperty(exports, 'toUtcDate', {
|
|
1701
|
-
enumerable: true,
|
|
1702
|
-
get: function () {
|
|
1703
|
-
return toUtcDate;
|
|
1704
|
-
}
|
|
1705
|
-
});
|
|
1706
|
-
Object.defineProperty(exports, 'transformWorkflowPlayTree', {
|
|
1707
|
-
enumerable: true,
|
|
1708
|
-
get: function () {
|
|
1709
|
-
return transformWorkflowPlayTree;
|
|
1710
|
-
}
|
|
1711
|
-
});
|
|
1712
|
-
Object.defineProperty(exports, 'useWorkflowStore', {
|
|
1713
|
-
enumerable: true,
|
|
1714
|
-
get: function () {
|
|
1715
|
-
return useWorkflowStore;
|
|
1716
|
-
}
|
|
1717
|
-
});
|
|
1718
|
-
//# sourceMappingURL=WorkflowContainer-Bm1FHgJq.cjs.map
|