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 @@
|
|
|
1
|
+
{"version":3,"file":"MenuPage-DsZUwqyz.js","names":["useStyles","other","useStyles","tree","expanded"],"sources":["../src/treeMenu/BaseTreeMenuItem.jsx","../src/treeMenu/BaseTreeMenu.jsx","../src/menuPage/MenuPage.jsx"],"sourcesContent":["import React, { useCallback } from 'react';\nimport {\n makeStyles,\n lighten,\n Typography,\n CircularProgress,\n darken,\n useTheme,\n Tooltip\n} from '@material-ui/core';\nimport TreeItem from '@material-ui/lab/TreeItem';\nimport { getIconFromName } from '../utilities/tree/TreeUtilities';\nimport clsx from 'clsx';\nimport { UnityFluentIcon } from '../utilities/UnityFluentIcon';\nimport { getUnityIconFromName } from '../utilities/iconLibrary/UnityIconLibrary';\nimport { useDrag, useDrop } from 'react-dnd';\nimport {\n NodeActionTriggerEnums,\n TreeViewModeEnums\n} from '../enums/unitySystemEnums.ts';\nimport { AggregateChip } from '../UI/utilityDisplay/AggregateChip';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n '&.Mui-selected > .MuiTreeItem-content': {\n backgroundColor:\n theme?.getThemeData()?.mode === 'dark'\n ? theme.palette.grey[700]\n : theme.palette.grey[300],\n borderRight: `4px solid ${theme.palette.primary.main}`\n },\n '&.Mui-selected > .MuiTreeItem-content .MuiTreeItem-label': {\n backgroundColor: 'transparent',\n paddingLeft: 0\n },\n '&.Mui-selected > .MuiTreeItem-content > .MuiCollapse-wrapperInner': {\n backgroundColor:\n theme?.getThemeData()?.mode !== 'dark' && theme.palette.grey[50]\n },\n '& .MuiTreeItem-content .MuiTreeItem-iconContainer': {\n display: (props) => (props.sidebarExpanded ? 'flex' : 'none')\n }\n },\n content: {\n backgroundColor: (props) =>\n theme?.getThemeData()?.mode !== 'dark' &&\n props.conditionalIconName &&\n props.conditionalIconColor\n ? lighten(props.conditionalIconColor, 0.92)\n : ''\n },\n labelRoot: {\n display: 'flex',\n alignItems: 'center',\n marginLeft: (props) => (props.sidebarExpanded ? 0 : theme.spacing(1.5)),\n width: '100%'\n },\n labelContainer: {\n display: (props) => (!props.sidebarExpanded ? 'none' : ''),\n width: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `calc(100% - ${theme.spacing(6.25)}px)`\n : `calc(100% - ${theme.spacing(7.75)}px)`\n },\n conditionalIconContainer: {\n display: 'inline-flex'\n },\n labelText: {\n fontSize: '0.75rem',\n fontWeight: 600,\n lineHeight: '1rem',\n letterSpacing: 0.1\n },\n captionText: {\n marginLeft: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact ? theme.spacing(1) : '',\n fontSize: '0.65rem',\n fontWeight: 400,\n lineHeight: 1,\n letterSpacing: 0.4\n },\n labelOverflow: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n },\n group: {\n width: '100%',\n '& .MuiTreeItem-group': {\n marginLeft: 0\n },\n '& .MuiTreeItem-content': {\n paddingLeft: (props) =>\n props.sidebarExpanded ? (props.depth || 1) * theme.spacing(1) : 0,\n borderRight: (props) =>\n props.showRightBorderColor\n ? `4px solid ${theme.palette.primary.main}`\n : '',\n borderBottom: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `1px solid ${theme.palette.grey[200]}`\n : ''\n },\n '& .MuiTreeItem-content .MuiTreeItem-label': {\n paddingLeft: 0,\n width: (props) =>\n props.sidebarExpanded && `calc(100% - ${theme.spacing(2.5)}px)`\n },\n '& .MuiTreeItem-content .MuiTreeItem-iconContainer span': {\n display: (props) => (props.hideExpansion ? 'none' : '')\n },\n '& .MuiCollapse-wrapperInner': {\n backgroundColor: (props) =>\n theme?.getThemeData()?.mode !== 'dark' && props.isSelectedNode\n ? theme.palette.grey[50]\n : ''\n }\n },\n iconContainer: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 50,\n marginTop: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(0.25)\n : theme.spacing(0.5),\n marginBottom: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(0.25)\n : theme.spacing(0.5),\n marginRight: theme.spacing(1),\n width: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(3)\n : theme.spacing(4),\n height: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? theme.spacing(3)\n : theme.spacing(4),\n border: (props) =>\n props.iconColor\n ? `1px solid ${darken(props.iconColor, 0.1)}`\n : `1px solid ${theme.palette.secondary.main}`,\n backgroundColor: '#ffffff'\n }\n}));\n\nexport const BaseTreeMenuItem = (props) => {\n const {\n parentId,\n nodeId,\n iconName,\n iconType,\n conditionalIconName,\n conditionalIconType,\n conditionalIconColor,\n label,\n iconColor,\n onNodeSelect,\n isSelectedNode,\n subLabel,\n sidebarExpanded,\n isLastNode,\n loading,\n node,\n onDropNode,\n treeViewMode,\n menuIndex,\n aggregateThresholdId,\n ...other\n } = props;\n const classes = useStyles(props);\n const theme = useTheme();\n\n const [{ isDragging }, dragRef] = useDrag({\n type: 'BaseTreeMenuItem',\n item: { ...node, sourceNodeMenuIndex: menuIndex },\n collect: (monitor) => ({\n isDragging: monitor.isDragging()\n })\n });\n\n const handleOnDrop = useCallback(\n (sourceNode, monitor) => {\n if (!monitor.didDrop()) {\n if (onDropNode) {\n const { sourceNodeMenuIndex, ...other } = sourceNode;\n onDropNode({ ...other }, node, sourceNodeMenuIndex, menuIndex);\n }\n }\n },\n [onDropNode, node, menuIndex]\n );\n\n const [{ canDrop, isOver }, dropRef] = useDrop(\n () => ({\n accept: ['BaseTreeMenuItem'],\n drop: (sourceNode, monitor) => {\n // condition to only handle first drop\n handleOnDrop(sourceNode, monitor);\n },\n canDrop: (sourceNode) => checkCanDrop(sourceNode),\n collect: (monitor) => ({\n isOver: monitor.isOver(),\n canDrop: !!monitor.canDrop()\n })\n }),\n [handleOnDrop]\n );\n\n const checkCanDrop = useCallback(\n (sourceNode) => {\n if (sourceNode) {\n const onDropActions = node?.properties?.nodeActions?.filter(\n (na) => na?.triggerType === NodeActionTriggerEnums.On_Node_Drop\n );\n if (!onDropActions) {\n return false;\n }\n const nodeDragEntities = onDropActions?.map(\n (action) => action?.dragEntityName\n );\n return nodeDragEntities.includes(\n sourceNode?.properties?.catalogReturnObject\n );\n }\n },\n [node]\n );\n\n const handleOnLabelClick = useCallback(\n (e) => {\n e.preventDefault();\n onNodeSelect(e, nodeId);\n },\n [onNodeSelect, nodeId]\n );\n\n return (\n <TreeItem\n className={classes.group}\n key={nodeId}\n nodeId={nodeId}\n label={\n <div ref={dropRef}>\n <Tooltip title={sidebarExpanded ? '' : label}>\n <div\n ref={(node?.properties?.isDraggable && dragRef) || null}\n style={{ opacity: isDragging ? 0.5 : 1 }}\n >\n {loading ? (\n <CircularProgress size={12} />\n ) : (\n <div\n id={'udpRecord-BaseTreeMenuItem-'+label.replace(/\\s+/g, '')}\n udprecordid={'udpRecord-BaseTreeMenuItem-'+label.replace(/\\s+/g, '')}\n className={classes.labelRoot}\n style={{\n fontWeight: isSelectedNode ? 'bold' : ''\n }}\n >\n {iconName && (\n <div className={classes.iconContainer}>\n <UnityFluentIcon\n size={\n treeViewMode === TreeViewModeEnums.Compact\n ? 'small'\n : 'medium'\n }\n color={iconColor}\n type={iconType}\n icon={\n iconType === 'unity'\n ? getUnityIconFromName(iconName)\n : getIconFromName(iconName)\n }\n style={{\n color: iconColor\n ? darken(iconColor, 0.1)\n : theme.palette.secondary.main\n }}\n />\n </div>\n )}\n <div className={classes.labelContainer}>\n <Typography\n variant='subtitle2'\n className={clsx(classes.labelText, classes.labelOverflow)}\n >\n {label}\n {subLabel &&\n treeViewMode === TreeViewModeEnums.Compact && (\n <Typography\n variant='caption'\n className={clsx(\n classes.captionText,\n classes.labelOverflow\n )}\n >\n {subLabel}\n </Typography>\n )}\n </Typography>\n {subLabel && treeViewMode === TreeViewModeEnums.Classic && (\n <div className={classes.labelOverflow}>\n <Typography\n variant='caption'\n className={clsx(classes.captionText)}\n >\n {subLabel}\n </Typography>\n </div>\n )}\n </div>\n <AggregateChip aggregateThresholdId={aggregateThresholdId} />\n {conditionalIconName && sidebarExpanded && (\n <div className={classes.conditionalIconContainer}>\n <UnityFluentIcon\n size={\n treeViewMode === TreeViewModeEnums.Compact\n ? 'small'\n : 'medium'\n }\n color={conditionalIconColor}\n type={conditionalIconType}\n icon={\n conditionalIconType === 'unity'\n ? getUnityIconFromName(conditionalIconName)\n : getIconFromName(conditionalIconName)\n }\n style={{\n color: conditionalIconColor\n }}\n />\n </div>\n )}\n </div>\n )}\n </div>\n </Tooltip>\n </div>\n }\n onLabelClick={handleOnLabelClick}\n classes={{ root: classes.root, content: classes.content }}\n {...other}\n />\n );\n};\n","import React, { useCallback, useState, useEffect } from 'react';\nimport {\n makeStyles,\n useTheme,\n lighten,\n CircularProgress,\n Typography\n} from '@material-ui/core';\nimport TreeView from '@material-ui/lab/TreeView';\nimport { BaseTreeMenuItem } from './BaseTreeMenuItem';\nimport {\n searchTree,\n findAllParentIds,\n getNodeIdForRightBorder\n} from '../utilities/tree/TreeUtilities';\nimport { FluentIcon } from '../utilities/FluentIcon';\nimport { CaretUpSolid8Icon, CaretDownSolid8Icon } from '@fluentui/react-icons';\nimport { cloneDeep } from 'lodash';\nimport { TreeViewModeEnums } from '../enums/unitySystemEnums.ts';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n marginBottom: theme.spacing(1.75),\n borderTop: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `1px solid ${theme.palette.grey[200]}`\n : ''\n },\n noChildrenContainer: {\n borderBottom: (props) =>\n props.treeViewMode === TreeViewModeEnums.Compact\n ? `1px solid ${theme.palette.grey[200]}`\n : ''\n }\n}));\n\nexport const BaseTreeMenu = (props) => {\n const {\n menuItems,\n onSelectNode,\n onDropNode,\n menuIndex,\n selectedNodeId,\n selectedNodeParentId,\n sidebarExpanded,\n treeViewMode,\n childrenKey = 'children'\n } = props;\n const [expanded, setExpanded] = useState(null);\n const [isCurrentActiveTree, setIsCurrentActiveTree] = useState(false);\n const [selectedNodeIsHidden, setSelectedNodeIsHidden] = useState(false);\n const [tree, setTree] = useState(menuItems);\n const theme = useTheme();\n const classes = useStyles(props);\n\n const handleSelectedNode = useCallback(\n (e, value) => {\n const selectedNode = searchTree(tree, value);\n if (onSelectNode) {\n onSelectNode(selectedNode, menuIndex);\n setSelectedNodeIsHidden(false);\n }\n },\n [tree, menuIndex, onSelectNode]\n );\n\n const renderTree = useCallback(\n (node, depth = 1) => {\n let label = node.properties?.nodeLabel || node.properties?.name;\n let subLabel = node.properties?.nodeSubLabel;\n let iconName = node.properties?.defaultIcon?.name;\n let iconType = node.properties?.defaultIcon?.type;\n let conditionalIconName = node.properties?.conditionalIconName || '';\n let conditionalIconType = node.properties?.conditionalIconName\n ? node.properties.conditionalIconType\n : '';\n let conditionalIconColor = node.properties?.conditionalIconName\n ? node.properties?.conditionalIconColor\n : '';\n let nodeId = node.id;\n let iconColor = node.properties?.conditionalIconName\n ? node.properties?.conditionalIconColor\n : node.properties?.defaultIcon?.color?.hex;\n let aggregateThresholdId = node.properties?.aggregateThresholdId || '';\n\n if (node.isGroupNode) {\n label = node.properties?.label;\n subLabel = node.properties?.subLabel;\n iconName = node.properties?.icon?.name;\n iconType = node.properties?.icon?.type;\n iconColor = node.properties?.icon?.color?.hex;\n }\n\n return (\n <BaseTreeMenuItem\n key={nodeId}\n nodeId={nodeId}\n label={label}\n subLabel={subLabel}\n iconName={iconName}\n iconType={iconType}\n conditionalIconName={conditionalIconName}\n conditionalIconType={conditionalIconType}\n conditionalIconColor={conditionalIconColor}\n parentId={node.parentId}\n iconColor={iconColor}\n onNodeSelect={handleSelectedNode}\n selectedNodeId={selectedNodeId}\n isSelectedNode={selectedNodeId === node.id}\n showRightBorderColor={\n selectedNodeIsHidden &&\n isCurrentActiveTree &&\n getNodeIdForRightBorder(expanded, tree, selectedNodeParentId) ===\n node.id\n }\n isCurrentActiveTree={isCurrentActiveTree}\n sidebarExpanded={sidebarExpanded}\n depth={depth}\n hideExpansion={!!!node[childrenKey]?.length}\n node={node}\n onDropNode={onDropNode}\n treeViewMode={treeViewMode}\n menuIndex={menuIndex}\n aggregateThresholdId={aggregateThresholdId}\n >\n {node.properties?.lazyLoad &&\n !!!node[childrenKey]?.length &&\n !node.completedLoadingChildren && (\n <CircularProgress\n size={12}\n style={{ marginLeft: (depth || 1) * theme.spacing(1) }}\n />\n )}\n {node.properties?.lazyLoad &&\n !!!node[childrenKey]?.length &&\n node.completedLoadingChildren &&\n sidebarExpanded &&\n !node.errorRetrievingChildren && (\n <div className={classes.noChildrenContainer}>\n <Typography\n variant='caption'\n style={{\n marginLeft: (depth || 1) * theme.spacing(3),\n fontWeight: 400\n }}\n >\n No Children\n </Typography>\n </div>\n )}\n {node.properties?.lazyLoad &&\n node.completedLoadingChildren &&\n sidebarExpanded &&\n node.errorRetrievingChildren && (\n <div className={classes.noChildrenContainer}>\n <Typography\n variant='caption'\n style={{\n marginLeft: (depth || 1) * theme.spacing(3),\n fontWeight: 400\n }}\n >\n {`Error Retrieving ${!!node[childrenKey]?.length ? `Additional ` : ''\n }Children`}\n </Typography>\n </div>\n )}\n {Array.isArray(node[childrenKey])\n ? node[childrenKey].map((n, i) => renderTree(n, depth + 1))\n : null}\n </BaseTreeMenuItem>\n );\n },\n [\n handleSelectedNode,\n selectedNodeId,\n selectedNodeIsHidden,\n isCurrentActiveTree,\n sidebarExpanded,\n expanded,\n tree,\n selectedNodeParentId,\n theme,\n classes,\n onDropNode,\n treeViewMode,\n menuIndex,\n childrenKey\n ]\n );\n\n const handleNodeExpansion = useCallback(\n async (evt, nodeIds) => {\n const treeCopy = cloneDeep(tree);\n setExpanded(nodeIds);\n\n const parentNode = searchTree(treeCopy, selectedNodeParentId);\n const initialAllParentNodeIds = selectedNodeParentId\n ? [selectedNodeParentId]\n : [];\n const allParentNodeIds = findAllParentIds(\n treeCopy,\n parentNode,\n initialAllParentNodeIds\n );\n const selectedNodeShown = allParentNodeIds.every((id) =>\n nodeIds.includes(id)\n );\n if (\n isCurrentActiveTree &&\n allParentNodeIds.length &&\n !selectedNodeShown\n ) {\n setSelectedNodeIsHidden(true);\n } else {\n setSelectedNodeIsHidden(false);\n }\n },\n [isCurrentActiveTree, tree, selectedNodeParentId]\n );\n\n const getExpandedRecursively = useCallback(\n (tree) => {\n if (!tree) return [];\n return tree.reduce((expandedIds, item) => {\n if (item?.isExpanded) {\n expandedIds.push(item.id);\n }\n if (item && item[childrenKey]?.length) {\n expandedIds = expandedIds.concat(\n getExpandedRecursively(item[childrenKey])\n );\n }\n return expandedIds;\n }, []);\n },\n [childrenKey]\n );\n\n useEffect(() => {\n setTree(menuItems);\n }, [menuItems]);\n\n useEffect(() => {\n if (!tree) {\n return;\n }\n let expanded = [];\n if (tree?.isExpanded) {\n expanded.push(tree.id);\n }\n expanded = expanded.concat(getExpandedRecursively(tree[childrenKey]));\n setExpanded(expanded);\n }, [getExpandedRecursively, tree, childrenKey]);\n\n useEffect(() => {\n if (!!searchTree(tree, selectedNodeId)) {\n setIsCurrentActiveTree(true);\n } else {\n setIsCurrentActiveTree(false);\n }\n }, [tree, selectedNodeId]);\n\n if (!expanded) {\n return null;\n }\n\n return (\n <TreeView\n key={tree}\n className={classes.root}\n defaultCollapseIcon={\n <FluentIcon\n size='small'\n component={CaretUpSolid8Icon}\n style={{\n color: lighten(theme.palette.primary.main, 0.5),\n width: theme.spacing(1.5),\n height: theme.spacing(1.5)\n }}\n />\n }\n expanded={expanded || []}\n onNodeToggle={handleNodeExpansion}\n defaultExpandIcon={\n <FluentIcon\n size='small'\n component={CaretDownSolid8Icon}\n style={{\n color: lighten(theme.palette.primary.main, 0.5),\n width: theme.spacing(1.5),\n height: theme.spacing(1.5)\n }}\n />\n }\n selected={selectedNodeId}\n >\n {tree && renderTree(tree)}\n </TreeView>\n );\n};\n","import React, { useCallback, useEffect, useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport { useAxiosGet } from '../utilities/useAxiosGet';\nimport { UtilitySideBar } from '../UI/utilityDisplay/UtilitySideBar';\nimport { makeStyles } from '@material-ui/core';\nimport { PageContainer } from '../page/PageContainer';\nimport { transformMenuPageTree } from '../utilities/tree/TreeUtilities';\nimport { BaseTreeMenu } from '../treeMenu/BaseTreeMenu';\nimport { TreeViewModeEnums } from '../enums/unitySystemEnums';\nimport { DndProvider } from 'react-dnd';\nimport { HTML5Backend } from 'react-dnd-html5-backend';\nimport { useUser } from '../utilities/auth/useUser';\nimport { useShellStore } from '../stores/shellStore';\nimport { NodeLoader } from '../UI/feedback/NodeLoader';\nimport {\n APP_RIBBON_SPACE,\n useBuildEnvironment\n} from '../shell/ui/EnvironmentRibbon';\nimport { useSetLocationState } from '../hooks/useSetLocationState';\nimport { useTranslation } from 'react-i18next';\nimport { ConfigService } from 'udp-react-stencil-component-library';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n flex: 1,\n minHeight: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,\n display: 'grid',\n gridTemplateAreas: ['sidebar content'].map((line) => `\"${line}\"`).join(' '),\n gridTemplateColumns: 'auto 1fr',\n gridTemplateRows: 'auto 1fr'\n },\n sidebar: {\n gridArea: 'sidebar',\n marginRight: theme.spacing(1)\n },\n content: {\n gridArea: 'content',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n zIndex: 1,\n height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,\n overflowY: 'auto'\n },\n menuContent: {\n marginTop: theme.spacing(1),\n height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 116}px)`,\n overflowX: 'hidden'\n },\n loader: {\n marginRight: theme.spacing(1),\n marginLeft: theme.spacing(1)\n },\n loadingContent: {\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center'\n }\n}));\n\nexport const MenuPage = (props) => {\n const buildEnv = useBuildEnvironment();\n const classes = useStyles({\n ...props,\n appRibbonSpace: buildEnv ? APP_RIBBON_SPACE : 0\n });\n const location = useLocation();\n const user = useUser();\n const { t } = useTranslation();\n const setLocationState = useSetLocationState();\n\n const [menuItemsList, setMenuItemsList] = useState([]); // holds a list of trees\n const [selectedNode, setSelectedNode] = useState(null);\n const [sidebarExpanded, setSidebarExpanded] = useState(true);\n // Just the menuInstanceId for an inner menu\n const innerMenuId = location.pathname.replace('/menupage/', '');\n const [{ data: innerMenu, loading: menuLoading }] = useAxiosGet(\n ConfigService.tenantV1ApiUrl,\n `menus/${innerMenuId}`,\n {},\n !!!innerMenuId,\n false\n );\n\n const { setSubHeaderActionHasChildren, setNavigationExpanded } =\n useShellStore();\n\n const [{ data: pageData, loading: pageLoading, error: pageError }] =\n useAxiosGet(\n ConfigService.tenantV1ApiUrl,\n `page/${selectedNode?.properties?.page?.id}`,\n {},\n !!!selectedNode?.properties?.page?.id,\n false\n );\n\n const handleSelectedNode = useCallback((node, menuIndex) => {\n setSelectedNode(node);\n }, []);\n\n const handleDropNode = useCallback(\n (sourceNode, targetNode, sourceNodeMenuIndex, targetNodeMenuIndex) => {\n // TODO: Implement if we need to for next Phase\n },\n []\n );\n\n const handleSidebarExpandClick = useCallback(() => {\n setSidebarExpanded((expanded) => !expanded);\n }, []);\n\n useEffect(() => {\n if (innerMenu) {\n const list = [];\n let nodeSelected = false;\n innerMenu.menuItemInstanceStructureViews.forEach((menuInstance) => {\n const updatedMenu = transformMenuPageTree(menuInstance);\n if (updatedMenu) {\n list.push(updatedMenu);\n if (!nodeSelected) {\n setSelectedNode(updatedMenu);\n nodeSelected = true;\n setNavigationExpanded(false);\n }\n }\n });\n setMenuItemsList(list);\n }\n }, [innerMenu, setNavigationExpanded]);\n\n useEffect(() => {\n setSubHeaderActionHasChildren(false);\n }, [setSubHeaderActionHasChildren]);\n\n // Setting location state label so that if this page was saved to favorites\n // we can determine the bread crumb\n useEffect(() => {\n if (innerMenu) {\n setLocationState({ label: t(innerMenu?.name) });\n }\n }, [setLocationState, t, innerMenu]);\n\n return (\n <DndProvider backend={HTML5Backend}>\n <div className={classes.root}>\n <div className={classes.sidebar}>\n <UtilitySideBar\n title={innerMenu?.name}\n isUsingChildren={true}\n resizable={true}\n removePadding={true}\n removeTopLayoutUnit={true}\n onUtilitySidebarToggleExpandClick={handleSidebarExpandClick}\n collapsedWidth={64}\n >\n <div className={classes.menuContent} key={innerMenuId}>\n {menuItemsList?.length > 0 &&\n !menuLoading &&\n menuItemsList.map((menuItems, index) => (\n <div key={menuItems.id} className={classes.nodeContainer}>\n <BaseTreeMenu\n menuItems={menuItems}\n onSelectNode={handleSelectedNode}\n onDropNode={handleDropNode}\n menuIndex={index}\n selectedNodeId={selectedNode?.id}\n selectedNodeParentId={selectedNode?.parentId}\n sidebarExpanded={sidebarExpanded}\n treeViewMode={TreeViewModeEnums.Classic}\n />\n </div>\n ))}\n {menuLoading && (\n <div className={classes.loader}>\n <NodeLoader loading={menuLoading} />\n </div>\n )}\n </div>\n </UtilitySideBar>\n </div>\n <div className={classes.content}>\n {selectedNode?.properties?.page?.id && (\n <PageContainer\n user={user}\n key={selectedNode?.id}\n pageData={pageData}\n pageLoading={pageLoading}\n widgetParams={{\n pageId: pageData?.pageId,\n entityName: selectedNode?.properties?.page?.entity?.entityName,\n pbiReportCode: selectedNode?.properties?.page?.pbiReportCode,\n requiredFieldsMap:\n selectedNode?.properties?.page?.requiredFieldMapping,\n udpTagId: selectedNode?.properties?.page?.udpTagId,\n queryId: selectedNode?.properties?.page?.queryId,\n inquiryTreeId: selectedNode?.properties?.page?.inquiryTreeId\n }}\n disableMargins={true}\n fromMenu={true}\n />\n )}\n </div>\n </div>\n </DndProvider>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA,MAAMA,cAAY,YAAY,WAAW;CACvC,MAAM;EACJ,yCAAyC;GACvC,iBACE,OAAO,gBAAgB,SAAS,SAC5B,MAAM,QAAQ,KAAK,OACnB,MAAM,QAAQ,KAAK;GACzB,aAAa,aAAa,MAAM,QAAQ,QAAQ;GACjD;EACD,4DAA4D;GAC1D,iBAAiB;GACjB,aAAa;GACd;EACD,qEAAqE,EACnE,iBACE,OAAO,gBAAgB,SAAS,UAAU,MAAM,QAAQ,KAAK,KAChE;EACD,qDAAqD,EACnD,UAAU,UAAW,MAAM,kBAAkB,SAAS,QACvD;EACF;CACD,SAAS,EACP,kBAAkB,UAChB,OAAO,gBAAgB,SAAS,UAChC,MAAM,uBACN,MAAM,uBACF,QAAQ,MAAM,sBAAsB,OACpC,IACP;CACD,WAAW;EACT,SAAS;EACT,YAAY;EACZ,aAAa,UAAW,MAAM,kBAAkB,IAAI,MAAM,QAAQ;EAClE,OAAO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,GAAE,CAAC,8BAA8B;AAIlC,iBAAgB;AACd,MAAI,UACF,kBAAiB,EAAE,OAAO,EAAE,WAAW,OAAO;CAEjD,GAAE;EAAC;EAAkB;EAAG;EAAU;AAEnC,QACE,oBAAC;EAAY,SAAS;YACpB,qBAAC;GAAI,WAAW,QAAQ;cACtB,oBAAC;IAAI,WAAW,QAAQ;cACtB,oBAAC;KACC,OAAO,WAAW;KAClB,iBAAiB;KACjB,WAAW;KACX,eAAe;KACf,qBAAqB;KACrB,mCAAmC;KACnC,gBAAgB;eAEhB,qBAAC;MAAI,WAAW,QAAQ;iBACrB,eAAe,SAAS,KACvB,CAAC,eACD,cAAc,KAAK,WAAW,UAC5B,oBAAC;OAAuB,WAAW,QAAQ;iBACzC,oBAAC;QACY;QACX,cAAc;QACd,YAAY;QACZ,WAAW;QACX,gBAAgB,cAAc;QAC9B,sBAAsB,cAAc;QACnB;QACjB,cAAc,kBAAkB;;SAT1B,UAAU,MAavB,eACC,oBAAC;OAAI,WAAW,QAAQ;iBACtB,oBAAC,cAAW,SAAS;;QAnBe;;OAyB9C,oBAAC;IAAI,WAAW,QAAQ;cACrB,cAAc,YAAY,MAAM,MAC/B,oBAAC;KACO;KAEI;KACG;KACb,cAAc;MACZ,QAAQ,UAAU;MAClB,YAAY,cAAc,YAAY,MAAM,QAAQ;MACpD,eAAe,cAAc,YAAY,MAAM;MAC/C,mBACE,cAAc,YAAY,MAAM;MAClC,UAAU,cAAc,YAAY,MAAM;MAC1C,SAAS,cAAc,YAAY,MAAM;MACzC,eAAe,cAAc,YAAY,MAAM;MAChD;KACD,gBAAgB;KAChB,UAAU;OAdL,cAAc;;;;AAqBhC"}
|
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CsX-DzYB.cjs');
|
|
2
|
+
const require_EnvironmentRibbon = require('./EnvironmentRibbon-C5I-zJ7u.cjs');
|
|
3
|
+
require('./apiHelpers-TkqtXraB.cjs');
|
|
4
|
+
const require_UtilitySideBar = require('./UtilitySideBar-C-5lGIvy.cjs');
|
|
5
|
+
require('./SearchUtilities-kF1roS4F.cjs');
|
|
6
|
+
const require_PageContainer = require('./PageContainer-BG6v3pM7.cjs');
|
|
7
|
+
const react = require_chunk.__toESM(require("react"));
|
|
8
|
+
const __material_ui_core = require_chunk.__toESM(require("@material-ui/core"));
|
|
9
|
+
const react_jsx_runtime = require_chunk.__toESM(require("react/jsx-runtime"));
|
|
10
|
+
const udp_react_stencil_component_library = require_chunk.__toESM(require("udp-react-stencil-component-library"));
|
|
11
|
+
const react_router_dom = require_chunk.__toESM(require("react-router-dom"));
|
|
12
|
+
const clsx = require_chunk.__toESM(require("clsx"));
|
|
13
|
+
const __fluentui_react_icons = require_chunk.__toESM(require("@fluentui/react-icons"));
|
|
14
|
+
const lodash = require_chunk.__toESM(require("lodash"));
|
|
15
|
+
const react_i18next = require_chunk.__toESM(require("react-i18next"));
|
|
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 __material_ui_lab_TreeView = require_chunk.__toESM(require("@material-ui/lab/TreeView"));
|
|
19
|
+
const __material_ui_lab_TreeItem = require_chunk.__toESM(require("@material-ui/lab/TreeItem"));
|
|
20
|
+
|
|
21
|
+
//#region src/treeMenu/BaseTreeMenuItem.jsx
|
|
22
|
+
const useStyles$2 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
23
|
+
root: {
|
|
24
|
+
"&.Mui-selected > .MuiTreeItem-content": {
|
|
25
|
+
backgroundColor: theme?.getThemeData()?.mode === "dark" ? theme.palette.grey[700] : theme.palette.grey[300],
|
|
26
|
+
borderRight: `4px solid ${theme.palette.primary.main}`
|
|
27
|
+
},
|
|
28
|
+
"&.Mui-selected > .MuiTreeItem-content .MuiTreeItem-label": {
|
|
29
|
+
backgroundColor: "transparent",
|
|
30
|
+
paddingLeft: 0
|
|
31
|
+
},
|
|
32
|
+
"&.Mui-selected > .MuiTreeItem-content > .MuiCollapse-wrapperInner": { backgroundColor: theme?.getThemeData()?.mode !== "dark" && theme.palette.grey[50] },
|
|
33
|
+
"& .MuiTreeItem-content .MuiTreeItem-iconContainer": { display: (props) => props.sidebarExpanded ? "flex" : "none" }
|
|
34
|
+
},
|
|
35
|
+
content: { backgroundColor: (props) => theme?.getThemeData()?.mode !== "dark" && props.conditionalIconName && props.conditionalIconColor ? (0, __material_ui_core.lighten)(props.conditionalIconColor, .92) : "" },
|
|
36
|
+
labelRoot: {
|
|
37
|
+
display: "flex",
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
marginLeft: (props) => props.sidebarExpanded ? 0 : theme.spacing(1.5),
|
|
40
|
+
width: "100%"
|
|
41
|
+
},
|
|
42
|
+
labelContainer: {
|
|
43
|
+
display: (props) => !props.sidebarExpanded ? "none" : "",
|
|
44
|
+
width: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `calc(100% - ${theme.spacing(6.25)}px)` : `calc(100% - ${theme.spacing(7.75)}px)`
|
|
45
|
+
},
|
|
46
|
+
conditionalIconContainer: { display: "inline-flex" },
|
|
47
|
+
labelText: {
|
|
48
|
+
fontSize: "0.75rem",
|
|
49
|
+
fontWeight: 600,
|
|
50
|
+
lineHeight: "1rem",
|
|
51
|
+
letterSpacing: .1
|
|
52
|
+
},
|
|
53
|
+
captionText: {
|
|
54
|
+
marginLeft: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(1) : "",
|
|
55
|
+
fontSize: "0.65rem",
|
|
56
|
+
fontWeight: 400,
|
|
57
|
+
lineHeight: 1,
|
|
58
|
+
letterSpacing: .4
|
|
59
|
+
},
|
|
60
|
+
labelOverflow: {
|
|
61
|
+
whiteSpace: "nowrap",
|
|
62
|
+
overflow: "hidden",
|
|
63
|
+
textOverflow: "ellipsis"
|
|
64
|
+
},
|
|
65
|
+
group: {
|
|
66
|
+
width: "100%",
|
|
67
|
+
"& .MuiTreeItem-group": { marginLeft: 0 },
|
|
68
|
+
"& .MuiTreeItem-content": {
|
|
69
|
+
paddingLeft: (props) => props.sidebarExpanded ? (props.depth || 1) * theme.spacing(1) : 0,
|
|
70
|
+
borderRight: (props) => props.showRightBorderColor ? `4px solid ${theme.palette.primary.main}` : "",
|
|
71
|
+
borderBottom: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
|
|
72
|
+
},
|
|
73
|
+
"& .MuiTreeItem-content .MuiTreeItem-label": {
|
|
74
|
+
paddingLeft: 0,
|
|
75
|
+
width: (props) => props.sidebarExpanded && `calc(100% - ${theme.spacing(2.5)}px)`
|
|
76
|
+
},
|
|
77
|
+
"& .MuiTreeItem-content .MuiTreeItem-iconContainer span": { display: (props) => props.hideExpansion ? "none" : "" },
|
|
78
|
+
"& .MuiCollapse-wrapperInner": { backgroundColor: (props) => theme?.getThemeData()?.mode !== "dark" && props.isSelectedNode ? theme.palette.grey[50] : "" }
|
|
79
|
+
},
|
|
80
|
+
iconContainer: {
|
|
81
|
+
display: "flex",
|
|
82
|
+
alignItems: "center",
|
|
83
|
+
justifyContent: "center",
|
|
84
|
+
borderRadius: 50,
|
|
85
|
+
marginTop: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
|
|
86
|
+
marginBottom: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(.25) : theme.spacing(.5),
|
|
87
|
+
marginRight: theme.spacing(1),
|
|
88
|
+
width: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4),
|
|
89
|
+
height: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? theme.spacing(3) : theme.spacing(4),
|
|
90
|
+
border: (props) => props.iconColor ? `1px solid ${(0, __material_ui_core.darken)(props.iconColor, .1)}` : `1px solid ${theme.palette.secondary.main}`,
|
|
91
|
+
backgroundColor: "#ffffff"
|
|
92
|
+
}
|
|
93
|
+
}));
|
|
94
|
+
const BaseTreeMenuItem = (props) => {
|
|
95
|
+
const { parentId, nodeId, iconName, iconType, conditionalIconName, conditionalIconType, conditionalIconColor, label, iconColor, onNodeSelect, isSelectedNode, subLabel, sidebarExpanded, isLastNode, loading, node, onDropNode, treeViewMode, menuIndex, aggregateThresholdId,...other } = props;
|
|
96
|
+
const classes = useStyles$2(props);
|
|
97
|
+
const theme = (0, __material_ui_core.useTheme)();
|
|
98
|
+
const [{ isDragging }, dragRef] = (0, react_dnd.useDrag)({
|
|
99
|
+
type: "BaseTreeMenuItem",
|
|
100
|
+
item: {
|
|
101
|
+
...node,
|
|
102
|
+
sourceNodeMenuIndex: menuIndex
|
|
103
|
+
},
|
|
104
|
+
collect: (monitor) => ({ isDragging: monitor.isDragging() })
|
|
105
|
+
});
|
|
106
|
+
const handleOnDrop = (0, react.useCallback)((sourceNode, monitor) => {
|
|
107
|
+
if (!monitor.didDrop()) {
|
|
108
|
+
if (onDropNode) {
|
|
109
|
+
const { sourceNodeMenuIndex,...other$1 } = sourceNode;
|
|
110
|
+
onDropNode({ ...other$1 }, node, sourceNodeMenuIndex, menuIndex);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}, [
|
|
114
|
+
onDropNode,
|
|
115
|
+
node,
|
|
116
|
+
menuIndex
|
|
117
|
+
]);
|
|
118
|
+
const [{ canDrop, isOver }, dropRef] = (0, react_dnd.useDrop)(() => ({
|
|
119
|
+
accept: ["BaseTreeMenuItem"],
|
|
120
|
+
drop: (sourceNode, monitor) => {
|
|
121
|
+
handleOnDrop(sourceNode, monitor);
|
|
122
|
+
},
|
|
123
|
+
canDrop: (sourceNode) => checkCanDrop(sourceNode),
|
|
124
|
+
collect: (monitor) => ({
|
|
125
|
+
isOver: monitor.isOver(),
|
|
126
|
+
canDrop: !!monitor.canDrop()
|
|
127
|
+
})
|
|
128
|
+
}), [handleOnDrop]);
|
|
129
|
+
const checkCanDrop = (0, react.useCallback)((sourceNode) => {
|
|
130
|
+
if (sourceNode) {
|
|
131
|
+
const onDropActions = node?.properties?.nodeActions?.filter((na) => na?.triggerType === require_EnvironmentRibbon.NodeActionTriggerEnums.On_Node_Drop);
|
|
132
|
+
if (!onDropActions) return false;
|
|
133
|
+
const nodeDragEntities = onDropActions?.map((action) => action?.dragEntityName);
|
|
134
|
+
return nodeDragEntities.includes(sourceNode?.properties?.catalogReturnObject);
|
|
135
|
+
}
|
|
136
|
+
}, [node]);
|
|
137
|
+
const handleOnLabelClick = (0, react.useCallback)((e) => {
|
|
138
|
+
e.preventDefault();
|
|
139
|
+
onNodeSelect(e, nodeId);
|
|
140
|
+
}, [onNodeSelect, nodeId]);
|
|
141
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_TreeItem.default, {
|
|
142
|
+
className: classes.group,
|
|
143
|
+
nodeId,
|
|
144
|
+
label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
145
|
+
ref: dropRef,
|
|
146
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Tooltip, {
|
|
147
|
+
title: sidebarExpanded ? "" : label,
|
|
148
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
149
|
+
ref: node?.properties?.isDraggable && dragRef || null,
|
|
150
|
+
style: { opacity: isDragging ? .5 : 1 },
|
|
151
|
+
children: loading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.CircularProgress, { size: 12 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
152
|
+
id: "udpRecord-BaseTreeMenuItem-" + label.replace(/\s+/g, ""),
|
|
153
|
+
udprecordid: "udpRecord-BaseTreeMenuItem-" + label.replace(/\s+/g, ""),
|
|
154
|
+
className: classes.labelRoot,
|
|
155
|
+
style: { fontWeight: isSelectedNode ? "bold" : "" },
|
|
156
|
+
children: [
|
|
157
|
+
iconName && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
158
|
+
className: classes.iconContainer,
|
|
159
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.UnityFluentIcon, {
|
|
160
|
+
size: treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? "small" : "medium",
|
|
161
|
+
color: iconColor,
|
|
162
|
+
type: iconType,
|
|
163
|
+
icon: iconType === "unity" ? require_UtilitySideBar.getUnityIconFromName(iconName) : require_UtilitySideBar.getIconFromName(iconName),
|
|
164
|
+
style: { color: iconColor ? (0, __material_ui_core.darken)(iconColor, .1) : theme.palette.secondary.main }
|
|
165
|
+
})
|
|
166
|
+
}),
|
|
167
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
168
|
+
className: classes.labelContainer,
|
|
169
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__material_ui_core.Typography, {
|
|
170
|
+
variant: "subtitle2",
|
|
171
|
+
className: (0, clsx.default)(classes.labelText, classes.labelOverflow),
|
|
172
|
+
children: [label, subLabel && treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
173
|
+
variant: "caption",
|
|
174
|
+
className: (0, clsx.default)(classes.captionText, classes.labelOverflow),
|
|
175
|
+
children: subLabel
|
|
176
|
+
})]
|
|
177
|
+
}), subLabel && treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Classic && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
178
|
+
className: classes.labelOverflow,
|
|
179
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
180
|
+
variant: "caption",
|
|
181
|
+
className: (0, clsx.default)(classes.captionText),
|
|
182
|
+
children: subLabel
|
|
183
|
+
})
|
|
184
|
+
})]
|
|
185
|
+
}),
|
|
186
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UtilitySideBar.AggregateChip, { aggregateThresholdId }),
|
|
187
|
+
conditionalIconName && sidebarExpanded && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
188
|
+
className: classes.conditionalIconContainer,
|
|
189
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.UnityFluentIcon, {
|
|
190
|
+
size: treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? "small" : "medium",
|
|
191
|
+
color: conditionalIconColor,
|
|
192
|
+
type: conditionalIconType,
|
|
193
|
+
icon: conditionalIconType === "unity" ? require_UtilitySideBar.getUnityIconFromName(conditionalIconName) : require_UtilitySideBar.getIconFromName(conditionalIconName),
|
|
194
|
+
style: { color: conditionalIconColor }
|
|
195
|
+
})
|
|
196
|
+
})
|
|
197
|
+
]
|
|
198
|
+
})
|
|
199
|
+
})
|
|
200
|
+
})
|
|
201
|
+
}),
|
|
202
|
+
onLabelClick: handleOnLabelClick,
|
|
203
|
+
classes: {
|
|
204
|
+
root: classes.root,
|
|
205
|
+
content: classes.content
|
|
206
|
+
},
|
|
207
|
+
...other
|
|
208
|
+
}, nodeId);
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/treeMenu/BaseTreeMenu.jsx
|
|
213
|
+
const useStyles$1 = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
214
|
+
root: {
|
|
215
|
+
marginBottom: theme.spacing(1.75),
|
|
216
|
+
borderTop: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : ""
|
|
217
|
+
},
|
|
218
|
+
noChildrenContainer: { borderBottom: (props) => props.treeViewMode === require_EnvironmentRibbon.TreeViewModeEnums.Compact ? `1px solid ${theme.palette.grey[200]}` : "" }
|
|
219
|
+
}));
|
|
220
|
+
const BaseTreeMenu = (props) => {
|
|
221
|
+
const { menuItems, onSelectNode, onDropNode, menuIndex, selectedNodeId, selectedNodeParentId, sidebarExpanded, treeViewMode, childrenKey = "children" } = props;
|
|
222
|
+
const [expanded, setExpanded] = (0, react.useState)(null);
|
|
223
|
+
const [isCurrentActiveTree, setIsCurrentActiveTree] = (0, react.useState)(false);
|
|
224
|
+
const [selectedNodeIsHidden, setSelectedNodeIsHidden] = (0, react.useState)(false);
|
|
225
|
+
const [tree, setTree] = (0, react.useState)(menuItems);
|
|
226
|
+
const theme = (0, __material_ui_core.useTheme)();
|
|
227
|
+
const classes = useStyles$1(props);
|
|
228
|
+
const handleSelectedNode = (0, react.useCallback)((e, value) => {
|
|
229
|
+
const selectedNode = require_UtilitySideBar.searchTree(tree, value);
|
|
230
|
+
if (onSelectNode) {
|
|
231
|
+
onSelectNode(selectedNode, menuIndex);
|
|
232
|
+
setSelectedNodeIsHidden(false);
|
|
233
|
+
}
|
|
234
|
+
}, [
|
|
235
|
+
tree,
|
|
236
|
+
menuIndex,
|
|
237
|
+
onSelectNode
|
|
238
|
+
]);
|
|
239
|
+
const renderTree = (0, react.useCallback)((node, depth = 1) => {
|
|
240
|
+
let label = node.properties?.nodeLabel || node.properties?.name;
|
|
241
|
+
let subLabel = node.properties?.nodeSubLabel;
|
|
242
|
+
let iconName = node.properties?.defaultIcon?.name;
|
|
243
|
+
let iconType = node.properties?.defaultIcon?.type;
|
|
244
|
+
let conditionalIconName = node.properties?.conditionalIconName || "";
|
|
245
|
+
let conditionalIconType = node.properties?.conditionalIconName ? node.properties.conditionalIconType : "";
|
|
246
|
+
let conditionalIconColor = node.properties?.conditionalIconName ? node.properties?.conditionalIconColor : "";
|
|
247
|
+
let nodeId = node.id;
|
|
248
|
+
let iconColor = node.properties?.conditionalIconName ? node.properties?.conditionalIconColor : node.properties?.defaultIcon?.color?.hex;
|
|
249
|
+
let aggregateThresholdId = node.properties?.aggregateThresholdId || "";
|
|
250
|
+
if (node.isGroupNode) {
|
|
251
|
+
label = node.properties?.label;
|
|
252
|
+
subLabel = node.properties?.subLabel;
|
|
253
|
+
iconName = node.properties?.icon?.name;
|
|
254
|
+
iconType = node.properties?.icon?.type;
|
|
255
|
+
iconColor = node.properties?.icon?.color?.hex;
|
|
256
|
+
}
|
|
257
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(BaseTreeMenuItem, {
|
|
258
|
+
nodeId,
|
|
259
|
+
label,
|
|
260
|
+
subLabel,
|
|
261
|
+
iconName,
|
|
262
|
+
iconType,
|
|
263
|
+
conditionalIconName,
|
|
264
|
+
conditionalIconType,
|
|
265
|
+
conditionalIconColor,
|
|
266
|
+
parentId: node.parentId,
|
|
267
|
+
iconColor,
|
|
268
|
+
onNodeSelect: handleSelectedNode,
|
|
269
|
+
selectedNodeId,
|
|
270
|
+
isSelectedNode: selectedNodeId === node.id,
|
|
271
|
+
showRightBorderColor: selectedNodeIsHidden && isCurrentActiveTree && require_UtilitySideBar.getNodeIdForRightBorder(expanded, tree, selectedNodeParentId) === node.id,
|
|
272
|
+
isCurrentActiveTree,
|
|
273
|
+
sidebarExpanded,
|
|
274
|
+
depth,
|
|
275
|
+
hideExpansion: !!!node[childrenKey]?.length,
|
|
276
|
+
node,
|
|
277
|
+
onDropNode,
|
|
278
|
+
treeViewMode,
|
|
279
|
+
menuIndex,
|
|
280
|
+
aggregateThresholdId,
|
|
281
|
+
children: [
|
|
282
|
+
node.properties?.lazyLoad && !!!node[childrenKey]?.length && !node.completedLoadingChildren && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.CircularProgress, {
|
|
283
|
+
size: 12,
|
|
284
|
+
style: { marginLeft: (depth || 1) * theme.spacing(1) }
|
|
285
|
+
}),
|
|
286
|
+
node.properties?.lazyLoad && !!!node[childrenKey]?.length && node.completedLoadingChildren && sidebarExpanded && !node.errorRetrievingChildren && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
287
|
+
className: classes.noChildrenContainer,
|
|
288
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
289
|
+
variant: "caption",
|
|
290
|
+
style: {
|
|
291
|
+
marginLeft: (depth || 1) * theme.spacing(3),
|
|
292
|
+
fontWeight: 400
|
|
293
|
+
},
|
|
294
|
+
children: "No Children"
|
|
295
|
+
})
|
|
296
|
+
}),
|
|
297
|
+
node.properties?.lazyLoad && node.completedLoadingChildren && sidebarExpanded && node.errorRetrievingChildren && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
298
|
+
className: classes.noChildrenContainer,
|
|
299
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_core.Typography, {
|
|
300
|
+
variant: "caption",
|
|
301
|
+
style: {
|
|
302
|
+
marginLeft: (depth || 1) * theme.spacing(3),
|
|
303
|
+
fontWeight: 400
|
|
304
|
+
},
|
|
305
|
+
children: `Error Retrieving ${!!node[childrenKey]?.length ? `Additional ` : ""}Children`
|
|
306
|
+
})
|
|
307
|
+
}),
|
|
308
|
+
Array.isArray(node[childrenKey]) ? node[childrenKey].map((n, i) => renderTree(n, depth + 1)) : null
|
|
309
|
+
]
|
|
310
|
+
}, nodeId);
|
|
311
|
+
}, [
|
|
312
|
+
handleSelectedNode,
|
|
313
|
+
selectedNodeId,
|
|
314
|
+
selectedNodeIsHidden,
|
|
315
|
+
isCurrentActiveTree,
|
|
316
|
+
sidebarExpanded,
|
|
317
|
+
expanded,
|
|
318
|
+
tree,
|
|
319
|
+
selectedNodeParentId,
|
|
320
|
+
theme,
|
|
321
|
+
classes,
|
|
322
|
+
onDropNode,
|
|
323
|
+
treeViewMode,
|
|
324
|
+
menuIndex,
|
|
325
|
+
childrenKey
|
|
326
|
+
]);
|
|
327
|
+
const handleNodeExpansion = (0, react.useCallback)(async (evt, nodeIds) => {
|
|
328
|
+
const treeCopy = (0, lodash.cloneDeep)(tree);
|
|
329
|
+
setExpanded(nodeIds);
|
|
330
|
+
const parentNode = require_UtilitySideBar.searchTree(treeCopy, selectedNodeParentId);
|
|
331
|
+
const initialAllParentNodeIds = selectedNodeParentId ? [selectedNodeParentId] : [];
|
|
332
|
+
const allParentNodeIds = require_UtilitySideBar.findAllParentIds(treeCopy, parentNode, initialAllParentNodeIds);
|
|
333
|
+
const selectedNodeShown = allParentNodeIds.every((id) => nodeIds.includes(id));
|
|
334
|
+
if (isCurrentActiveTree && allParentNodeIds.length && !selectedNodeShown) setSelectedNodeIsHidden(true);
|
|
335
|
+
else setSelectedNodeIsHidden(false);
|
|
336
|
+
}, [
|
|
337
|
+
isCurrentActiveTree,
|
|
338
|
+
tree,
|
|
339
|
+
selectedNodeParentId
|
|
340
|
+
]);
|
|
341
|
+
const getExpandedRecursively = (0, react.useCallback)((tree$1) => {
|
|
342
|
+
if (!tree$1) return [];
|
|
343
|
+
return tree$1.reduce((expandedIds, item) => {
|
|
344
|
+
if (item?.isExpanded) expandedIds.push(item.id);
|
|
345
|
+
if (item && item[childrenKey]?.length) expandedIds = expandedIds.concat(getExpandedRecursively(item[childrenKey]));
|
|
346
|
+
return expandedIds;
|
|
347
|
+
}, []);
|
|
348
|
+
}, [childrenKey]);
|
|
349
|
+
(0, react.useEffect)(() => {
|
|
350
|
+
setTree(menuItems);
|
|
351
|
+
}, [menuItems]);
|
|
352
|
+
(0, react.useEffect)(() => {
|
|
353
|
+
if (!tree) return;
|
|
354
|
+
let expanded$1 = [];
|
|
355
|
+
if (tree?.isExpanded) expanded$1.push(tree.id);
|
|
356
|
+
expanded$1 = expanded$1.concat(getExpandedRecursively(tree[childrenKey]));
|
|
357
|
+
setExpanded(expanded$1);
|
|
358
|
+
}, [
|
|
359
|
+
getExpandedRecursively,
|
|
360
|
+
tree,
|
|
361
|
+
childrenKey
|
|
362
|
+
]);
|
|
363
|
+
(0, react.useEffect)(() => {
|
|
364
|
+
if (!!require_UtilitySideBar.searchTree(tree, selectedNodeId)) setIsCurrentActiveTree(true);
|
|
365
|
+
else setIsCurrentActiveTree(false);
|
|
366
|
+
}, [tree, selectedNodeId]);
|
|
367
|
+
if (!expanded) return null;
|
|
368
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__material_ui_lab_TreeView.default, {
|
|
369
|
+
className: classes.root,
|
|
370
|
+
defaultCollapseIcon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
|
|
371
|
+
size: "small",
|
|
372
|
+
component: __fluentui_react_icons.CaretUpSolid8Icon,
|
|
373
|
+
style: {
|
|
374
|
+
color: (0, __material_ui_core.lighten)(theme.palette.primary.main, .5),
|
|
375
|
+
width: theme.spacing(1.5),
|
|
376
|
+
height: theme.spacing(1.5)
|
|
377
|
+
}
|
|
378
|
+
}),
|
|
379
|
+
expanded: expanded || [],
|
|
380
|
+
onNodeToggle: handleNodeExpansion,
|
|
381
|
+
defaultExpandIcon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_EnvironmentRibbon.FluentIcon, {
|
|
382
|
+
size: "small",
|
|
383
|
+
component: __fluentui_react_icons.CaretDownSolid8Icon,
|
|
384
|
+
style: {
|
|
385
|
+
color: (0, __material_ui_core.lighten)(theme.palette.primary.main, .5),
|
|
386
|
+
width: theme.spacing(1.5),
|
|
387
|
+
height: theme.spacing(1.5)
|
|
388
|
+
}
|
|
389
|
+
}),
|
|
390
|
+
selected: selectedNodeId,
|
|
391
|
+
children: tree && renderTree(tree)
|
|
392
|
+
}, tree);
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
//#endregion
|
|
396
|
+
//#region src/menuPage/MenuPage.jsx
|
|
397
|
+
const useStyles = (0, __material_ui_core.makeStyles)((theme) => ({
|
|
398
|
+
root: {
|
|
399
|
+
flex: 1,
|
|
400
|
+
minHeight: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
|
|
401
|
+
display: "grid",
|
|
402
|
+
gridTemplateAreas: ["sidebar content"].map((line) => `"${line}"`).join(" "),
|
|
403
|
+
gridTemplateColumns: "auto 1fr",
|
|
404
|
+
gridTemplateRows: "auto 1fr"
|
|
405
|
+
},
|
|
406
|
+
sidebar: {
|
|
407
|
+
gridArea: "sidebar",
|
|
408
|
+
marginRight: theme.spacing(1)
|
|
409
|
+
},
|
|
410
|
+
content: {
|
|
411
|
+
gridArea: "content",
|
|
412
|
+
display: "flex",
|
|
413
|
+
flexDirection: "column",
|
|
414
|
+
position: "relative",
|
|
415
|
+
zIndex: 1,
|
|
416
|
+
height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 56}px)`,
|
|
417
|
+
overflowY: "auto"
|
|
418
|
+
},
|
|
419
|
+
menuContent: {
|
|
420
|
+
marginTop: theme.spacing(1),
|
|
421
|
+
height: ({ appRibbonSpace }) => `calc(100vh - ${appRibbonSpace + 116}px)`,
|
|
422
|
+
overflowX: "hidden"
|
|
423
|
+
},
|
|
424
|
+
loader: {
|
|
425
|
+
marginRight: theme.spacing(1),
|
|
426
|
+
marginLeft: theme.spacing(1)
|
|
427
|
+
},
|
|
428
|
+
loadingContent: {
|
|
429
|
+
flex: 1,
|
|
430
|
+
display: "flex",
|
|
431
|
+
flexDirection: "column",
|
|
432
|
+
alignItems: "center",
|
|
433
|
+
justifyContent: "center"
|
|
434
|
+
}
|
|
435
|
+
}));
|
|
436
|
+
const MenuPage = (props) => {
|
|
437
|
+
const buildEnv = require_EnvironmentRibbon.useBuildEnvironment();
|
|
438
|
+
const classes = useStyles({
|
|
439
|
+
...props,
|
|
440
|
+
appRibbonSpace: buildEnv ? require_EnvironmentRibbon.APP_RIBBON_SPACE : 0
|
|
441
|
+
});
|
|
442
|
+
const location = (0, react_router_dom.useLocation)();
|
|
443
|
+
const user = require_EnvironmentRibbon.useUser();
|
|
444
|
+
const { t } = (0, react_i18next.useTranslation)();
|
|
445
|
+
const setLocationState = require_PageContainer.useSetLocationState();
|
|
446
|
+
const [menuItemsList, setMenuItemsList] = (0, react.useState)([]);
|
|
447
|
+
const [selectedNode, setSelectedNode] = (0, react.useState)(null);
|
|
448
|
+
const [sidebarExpanded, setSidebarExpanded] = (0, react.useState)(true);
|
|
449
|
+
const innerMenuId = location.pathname.replace("/menupage/", "");
|
|
450
|
+
const [{ data: innerMenu, loading: menuLoading }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.tenantV1ApiUrl, `menus/${innerMenuId}`, {}, !!!innerMenuId, false);
|
|
451
|
+
const { setSubHeaderActionHasChildren, setNavigationExpanded } = require_EnvironmentRibbon.useShellStore();
|
|
452
|
+
const [{ data: pageData, loading: pageLoading, error: pageError }] = require_EnvironmentRibbon.useAxiosGet(udp_react_stencil_component_library.ConfigService.tenantV1ApiUrl, `page/${selectedNode?.properties?.page?.id}`, {}, !!!selectedNode?.properties?.page?.id, false);
|
|
453
|
+
const handleSelectedNode = (0, react.useCallback)((node, menuIndex) => {
|
|
454
|
+
setSelectedNode(node);
|
|
455
|
+
}, []);
|
|
456
|
+
const handleDropNode = (0, react.useCallback)((sourceNode, targetNode, sourceNodeMenuIndex, targetNodeMenuIndex) => {}, []);
|
|
457
|
+
const handleSidebarExpandClick = (0, react.useCallback)(() => {
|
|
458
|
+
setSidebarExpanded((expanded) => !expanded);
|
|
459
|
+
}, []);
|
|
460
|
+
(0, react.useEffect)(() => {
|
|
461
|
+
if (innerMenu) {
|
|
462
|
+
const list = [];
|
|
463
|
+
let nodeSelected = false;
|
|
464
|
+
innerMenu.menuItemInstanceStructureViews.forEach((menuInstance) => {
|
|
465
|
+
const updatedMenu = require_UtilitySideBar.transformMenuPageTree(menuInstance);
|
|
466
|
+
if (updatedMenu) {
|
|
467
|
+
list.push(updatedMenu);
|
|
468
|
+
if (!nodeSelected) {
|
|
469
|
+
setSelectedNode(updatedMenu);
|
|
470
|
+
nodeSelected = true;
|
|
471
|
+
setNavigationExpanded(false);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
setMenuItemsList(list);
|
|
476
|
+
}
|
|
477
|
+
}, [innerMenu, setNavigationExpanded]);
|
|
478
|
+
(0, react.useEffect)(() => {
|
|
479
|
+
setSubHeaderActionHasChildren(false);
|
|
480
|
+
}, [setSubHeaderActionHasChildren]);
|
|
481
|
+
(0, react.useEffect)(() => {
|
|
482
|
+
if (innerMenu) setLocationState({ label: t(innerMenu?.name) });
|
|
483
|
+
}, [
|
|
484
|
+
setLocationState,
|
|
485
|
+
t,
|
|
486
|
+
innerMenu
|
|
487
|
+
]);
|
|
488
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_dnd.DndProvider, {
|
|
489
|
+
backend: react_dnd_html5_backend.HTML5Backend,
|
|
490
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
491
|
+
className: classes.root,
|
|
492
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
493
|
+
className: classes.sidebar,
|
|
494
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UtilitySideBar.UtilitySideBar, {
|
|
495
|
+
title: innerMenu?.name,
|
|
496
|
+
isUsingChildren: true,
|
|
497
|
+
resizable: true,
|
|
498
|
+
removePadding: true,
|
|
499
|
+
removeTopLayoutUnit: true,
|
|
500
|
+
onUtilitySidebarToggleExpandClick: handleSidebarExpandClick,
|
|
501
|
+
collapsedWidth: 64,
|
|
502
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
503
|
+
className: classes.menuContent,
|
|
504
|
+
children: [menuItemsList?.length > 0 && !menuLoading && menuItemsList.map((menuItems, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
505
|
+
className: classes.nodeContainer,
|
|
506
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BaseTreeMenu, {
|
|
507
|
+
menuItems,
|
|
508
|
+
onSelectNode: handleSelectedNode,
|
|
509
|
+
onDropNode: handleDropNode,
|
|
510
|
+
menuIndex: index,
|
|
511
|
+
selectedNodeId: selectedNode?.id,
|
|
512
|
+
selectedNodeParentId: selectedNode?.parentId,
|
|
513
|
+
sidebarExpanded,
|
|
514
|
+
treeViewMode: require_EnvironmentRibbon.TreeViewModeEnums.Classic
|
|
515
|
+
})
|
|
516
|
+
}, menuItems.id)), menuLoading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
517
|
+
className: classes.loader,
|
|
518
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_UtilitySideBar.NodeLoader, { loading: menuLoading })
|
|
519
|
+
})]
|
|
520
|
+
}, innerMenuId)
|
|
521
|
+
})
|
|
522
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
523
|
+
className: classes.content,
|
|
524
|
+
children: selectedNode?.properties?.page?.id && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PageContainer.PageContainer, {
|
|
525
|
+
user,
|
|
526
|
+
pageData,
|
|
527
|
+
pageLoading,
|
|
528
|
+
widgetParams: {
|
|
529
|
+
pageId: pageData?.pageId,
|
|
530
|
+
entityName: selectedNode?.properties?.page?.entity?.entityName,
|
|
531
|
+
pbiReportCode: selectedNode?.properties?.page?.pbiReportCode,
|
|
532
|
+
requiredFieldsMap: selectedNode?.properties?.page?.requiredFieldMapping,
|
|
533
|
+
udpTagId: selectedNode?.properties?.page?.udpTagId,
|
|
534
|
+
queryId: selectedNode?.properties?.page?.queryId,
|
|
535
|
+
inquiryTreeId: selectedNode?.properties?.page?.inquiryTreeId
|
|
536
|
+
},
|
|
537
|
+
disableMargins: true,
|
|
538
|
+
fromMenu: true
|
|
539
|
+
}, selectedNode?.id)
|
|
540
|
+
})]
|
|
541
|
+
})
|
|
542
|
+
});
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
//#endregion
|
|
546
|
+
exports.MenuPage = MenuPage;
|
|
547
|
+
//# sourceMappingURL=MenuPage-Zn5ipVRK.cjs.map
|