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