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":"apiHelpers-Dyq5plHt.cjs","names":["ConfigService","PublicClientApplication","EventType","useLoginAction: LoginFunction","loginRedirect: () => void","Button"],"sources":["../src/utilities/auth/signInAuthProvider.js","../src/enums/pageEnums.ts","../src/utilities/auth/whitelistedPaths.js","../src/utilities/auth/authActions.ts","../src/utilities/storage/UnitySessionStorage.js","../src/utilities/apiHelpers.jsx"],"sourcesContent":["import { PublicClientApplication, EventType } from '@azure/msal-browser';\nimport { ConfigService } from 'udp-react-stencil-component-library';\n\nlet signInAuthProviderInstance = null;\nlet loginRequestInstance = null;\nlet tokenRequestInstance = null;\nlet apiAccessScopeValue = null;\n\nexport async function initSignInAuthProvider() {\n if (signInAuthProviderInstance) {\n return; // Already initialized\n }\n\n const PUBLIC_URL = new URL(\n import.meta.env.BASE_URL || '/',\n window.location.origin\n ).href.replace(/\\/$/, '');\n\n const REDIRECT_URL_BASE = ConfigService.config.USE_AAD_REDIRECT\n ? ConfigService.config.UNITY_URL\n : PUBLIC_URL;\n\n if (!ConfigService.config.MSAL_TENANT)\n throw new Error('MSAL_TENANT not configured');\n if (!ConfigService.config.MSAL_CLIENT_ID)\n throw new Error('MSAL_CLIENT_ID not configured');\n\n const tenant = ConfigService.config.MSAL_TENANT;\n const signInPolicy = ConfigService.config.SIGN_IN_POLICY;\n const applicationID = ConfigService.config.MSAL_CLIENT_ID;\n const reactRedirectUri = `${REDIRECT_URL_BASE}/${\n ConfigService.config.USE_AAD_REDIRECT ? 'aad_redirect' : 'aad_callback'\n }`;\n const tenantSubdomain = tenant.split('.')[0];\n const instance = `https://${tenantSubdomain}.b2clogin.com/`;\n const signInAuthority = `${instance}${tenant}/${signInPolicy}`;\n apiAccessScopeValue = `https://${tenant}/${ConfigService.config.MSAL_API_ACCESS_SCOPE}`;\n\n const ua = window.navigator.userAgent;\n const msie = ua.indexOf('MSIE ');\n const msie11 = ua.indexOf('Trident/');\n const msedge = ua.indexOf('Edge/');\n const firefox = ua.indexOf('Firefox');\n const isIE = msie > 0 || msie11 > 0;\n const isEdge = msedge > 0;\n const isFirefox = firefox > 0; // Only needed if you need to support the redirect flow in Firefox incognito\n\n // Msal Configurations\n const signInConfig = {\n auth: {\n authority: signInAuthority,\n knownAuthorities: [`${tenantSubdomain}.b2clogin.com`],\n clientId: applicationID,\n redirectUri: reactRedirectUri,\n postLogoutRedirectUri: PUBLIC_URL + '/',\n navigateToLoginRequestUrl: false,\n },\n cache: {\n cacheLocation: 'sessionStorage',\n storeAuthStateInCookie: isIE || isEdge || isFirefox,\n },\n system: {\n allowRedirectInIframe: true,\n },\n };\n\n signInAuthProviderInstance = new PublicClientApplication(signInConfig);\n\n await signInAuthProviderInstance.initialize();\n\n if (\n !signInAuthProviderInstance.getActiveAccount() &&\n signInAuthProviderInstance.getAllAccounts().length > 0\n ) {\n signInAuthProviderInstance.setActiveAccount(\n signInAuthProviderInstance.getAllAccounts()[0]\n );\n }\n\n signInAuthProviderInstance.addEventCallback((event) => {\n if (event.eventType === EventType.LOGIN_SUCCESS && event.payload.account) {\n const account = event.payload.account;\n signInAuthProviderInstance.setActiveAccount(account);\n }\n });\n\n tokenRequestInstance = { scopes: [apiAccessScopeValue] };\n\n loginRequestInstance = {\n scopes: [apiAccessScopeValue, 'openid', 'offline_access'],\n state: `${PUBLIC_URL}/aad_callback`,\n };\n}\n\nexport const getSignInAuthProvider = () => {\n if (!signInAuthProviderInstance) {\n throw new Error(\n 'signInAuthProvider is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return signInAuthProviderInstance;\n};\n\nexport const getLoginRequest = () => {\n if (!loginRequestInstance) {\n throw new Error(\n 'loginRequest is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return loginRequestInstance;\n};\n\nexport const getTokenRequest = () => {\n if (!tokenRequestInstance) {\n throw new Error(\n 'tokenRequest is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return tokenRequestInstance;\n};\n\nexport const getApiAccessScope = () => {\n if (!apiAccessScopeValue) {\n throw new Error(\n 'apiAccessScope is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return apiAccessScopeValue;\n};\n","export enum ClickOpenEnums {\n SideSheet = 'sideSheet',\n Dialog = 'dialog',\n SplitScreen = 'splitScreen'\n}\n\nexport enum UdpPageEnums {\n Udp_Maintenance_Engine_Page = '32f32abb-e633-494e-b4c7-8e187c731e95',\n Udp_Data_Browser_Page = 'efaa7518-c943-4cd3-ad44-d78941de3211',\n Udp_Notes_Page = 'ef18c935-4d7b-4923-a87e-975d71f019a2',\n Udp_Reminders_Page = '308d9644-60db-4a0f-88c6-3a1309600ebc',\n Udp_Reports_Page = '35eb68db-cadc-497a-b915-de4e4b709459',\n Udp_Inquiry_Explore_Page = '8118a06e-5e26-437f-8661-8171f9e2ab16',\n Udp_Public_Forms_Page = '0a2f83f1-6f74-4088-b954-7d5762d93cfa'\n}\n","import { UdpPageEnums } from \"../../enums/pageEnums\";\n\nexport const whitelistedPaths = [\n '/verify', \n `/page/${UdpPageEnums.Udp_Public_Forms_Page}`, // Public forms page\n '/aad_redirect',\n '/passwordresetsuccess'\n];\n","import {\n getSignInAuthProvider,\n getTokenRequest,\n getLoginRequest,\n} from './signInAuthProvider';\nimport { BrowserUtils } from '@azure/msal-browser';\nimport { storeCurrentPath } from '../redirect/LocalRedirectUrlStorage';\nimport { whitelistedPaths } from './whitelistedPaths';\nexport type LoginFunction = () => void;\nexport type LogoutFunction = () => void;\n/**\n * Hook providing auth \"actions\" such as login/logout\n */\n\nexport const useLoginAction: LoginFunction = () => loginRedirect;\nexport const loginRedirect: () => void = () => {\n const signInAuthProvider = getSignInAuthProvider();\n signInAuthProvider.loginRedirect(getLoginRequest());\n};\n\nexport function useLogoutAction(): LogoutFunction {\n return async () => {\n const signInAuthProvider = getSignInAuthProvider();\n await signInAuthProvider.logoutRedirect({\n account: signInAuthProvider.getActiveAccount(),\n });\n };\n}\n\nexport async function acquireAccessToken(): Promise<string | void> {\n const signInAuthProvider = getSignInAuthProvider();\n const account = signInAuthProvider.getActiveAccount() ?? undefined;\n\n if (account) {\n return signInAuthProvider\n .acquireTokenSilent({ ...getTokenRequest(), account })\n .then((response) => {\n return response.accessToken;\n })\n .catch(async (error) => {\n const currentPathIsWhitelisted = whitelistedPaths.includes(\n window.location.pathname\n );\n if (!currentPathIsWhitelisted) {\n signInAuthProvider.loginRedirect(getLoginRequest());\n }\n });\n }\n}\n","const TenantStorageKey = 'active-tenant';\n\nexport const storeInitialTenant = () => {\n const urlParams = new URLSearchParams(window.location.search);\n const urlTenantId = urlParams.get('tenantId');\n\n if (urlTenantId) {\n storeTenant(urlTenantId);\n }\n};\n\nexport const storeTenant = (tenantId) => {\n window.sessionStorage.setItem(TenantStorageKey, tenantId);\n};\n\nexport const getStoredTenant = () => {\n return window.sessionStorage.getItem(TenantStorageKey);\n};\n\nexport const clearStoredTenant = () => {\n window.sessionStorage.removeItem(TenantStorageKey);\n};\n","import { acquireAccessToken } from './auth/authActions';\nimport { InteractionRequiredAuthError } from '@azure/msal-browser';\nimport { getStoredTenant } from './storage/UnitySessionStorage';\nimport { useSnackbar } from 'notistack';\nimport { Button } from '@material-ui/core';\nimport { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nexport const getMergedConfig = (accessToken, config) => {\n const headers = config?.headers ?? {};\n\n headers.currentTenantId ||= getStoredTenant();\n if (accessToken) headers.Authorization ||= `Bearer ${accessToken}`;\n\n config.headers = headers;\n return config;\n};\n\nexport const handleResponseErrors = async (error) => {\n if (error?.response?.status === 401) {\n await acquireAccessToken();\n }\n};\n\nexport const getAccessToken = async () => {\n return await acquireAccessToken();\n};\n\n/**\n * Checks to make sure the error isn't cancelled, if so just return w/o doing anything\n *Otherwise call a pre-method, create a snackbar, then call a post-method\n *preCallBack returns a bool, true = show snackbar\n */\nexport const useHandleAxiosSnackbar = () => {\n const { enqueueSnackbar, closeSnackbar } = useSnackbar();\n const history = useHistory();\n\n const dismissSnackbar = useCallback(\n (key, callback) => {\n closeSnackbar(key);\n callback?.();\n },\n [closeSnackbar]\n );\n\n const handleErrorSnackbar = useCallback(\n (error, customMessage, preCallBack, callback) => {\n const fallbackErrorMessage = 'Error executing request';\n if (\n error?.toString()?.toLowerCase() === 'cancel' ||\n error?.code === 'ERR_CANCELED'\n )\n return;\n\n // Don't call the preCallback unless we actually failed.\n const showSnackBar = preCallBack?.();\n if (preCallBack && !showSnackBar) return;\n\n let errorMessage =\n customMessage ??\n (error?.response?.data || error?.message || fallbackErrorMessage);\n if (\n typeof errorMessage !== 'string' ||\n !errorMessage ||\n errorMessage.length === 0\n ) {\n errorMessage = fallbackErrorMessage;\n }\n\n enqueueSnackbar(errorMessage, {\n variant: 'error',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='secondary'\n size='small'\n onClick={() => {\n dismissSnackbar(key);\n }}\n >\n Ok\n </Button>\n )\n });\n\n callback?.();\n },\n [dismissSnackbar, enqueueSnackbar]\n );\n\n const handleSuccessSnackbar = useCallback(\n (message, preCallBack, callback, navigationPath, buttonText) => {\n const fallbackSuccessMessage = 'Executed request successfully';\n const showMessage = preCallBack?.();\n if (preCallBack && !showMessage) return;\n\n let successMessage = message ?? fallbackSuccessMessage;\n if (\n typeof successMessage !== 'string' ||\n !successMessage ||\n successMessage.length === 0\n ) {\n successMessage = fallbackSuccessMessage;\n }\n\n const options = {\n variant: 'default',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <>\n {navigationPath && (\n <Button\n color='secondary'\n size='small'\n onClick={() => {\n history.push(navigationPath);\n dismissSnackbar(key);\n }}\n >\n {buttonText? buttonText : 'Go to page'}\n </Button>\n )}\n <Button\n color='secondary'\n size='small'\n onClick={() => {\n dismissSnackbar(key);\n }}\n >\n Ok\n </Button>\n </>\n )\n };\n\n enqueueSnackbar(successMessage, options);\n },\n [dismissSnackbar, enqueueSnackbar]\n );\n\n return { handleErrorSnackbar, handleSuccessSnackbar };\n};\n"],"mappings":";;;;;;;;;;AAGA,IAAI,6BAA6B;AACjC,IAAI,uBAAuB;AAC3B,IAAI,uBAAuB;AAC3B,IAAI,sBAAsB;AAE1B,eAAsB,yBAAyB;AAC7C,KAAI,2BACF;CAGF,MAAM,aAAa,IAAI,OACT,IAAI,YAAY,KAC5B,OAAO,SAAS,QAChB,KAAK,QAAQ,OAAO;CAEtB,MAAM,oBAAoBA,kDAAc,OAAO,mBAC3CA,kDAAc,OAAO,YACrB;AAEJ,KAAI,CAACA,kDAAc,OAAO,YACxB,OAAM,IAAI,MAAM;AAClB,KAAI,CAACA,kDAAc,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ACpB,MAAI,eAAe,CAAC,YAAa;EAEjC,IAAI,iBAAiB,mDAAW;AAChC,MACE,OAAO,mBAAmB,YAC1B,CAAC,kBACD,eAAe,WAAW,EAE1B,kBAAiB;EAGnB,MAAM,UAAU;GACd,SAAS;GACT,cAAc;IACZ,UAAU;IACV,YAAY;IACb;GACD,SAAS,QACP,qFACG,kBACC,2CAACA;IACC,OAAM;IACN,MAAK;IACL,eAAe;AACb,aAAQ,KAAK;AACb,qBAAgB;IACjB;cAEA,aAAY,aAAa;OAG9B,2CAACA;IACC,OAAM;IACN,MAAK;IACL,eAAe;AACb,qBAAgB;IACjB;cACF;;GAKN;AAED,kBAAgB,gBAAgB;CACjC,GACD,CAAC,iBAAiB,gBAAgB;AAGpC,QAAO;EAAE;EAAqB;EAAuB;AACtD"}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { Button } from "@material-ui/core";
|
|
3
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { EventType, PublicClientApplication } from "@azure/msal-browser";
|
|
5
|
+
import { ConfigService } from "udp-react-stencil-component-library";
|
|
6
|
+
import { useSnackbar } from "notistack";
|
|
7
|
+
import { useHistory } from "react-router-dom";
|
|
8
|
+
|
|
9
|
+
//#region src/utilities/auth/signInAuthProvider.js
|
|
10
|
+
let signInAuthProviderInstance = null;
|
|
11
|
+
let loginRequestInstance = null;
|
|
12
|
+
let tokenRequestInstance = null;
|
|
13
|
+
let apiAccessScopeValue = null;
|
|
14
|
+
async function initSignInAuthProvider() {
|
|
15
|
+
if (signInAuthProviderInstance) return;
|
|
16
|
+
const PUBLIC_URL = new URL(import.meta.env.BASE_URL || "/", window.location.origin).href.replace(/\/$/, "");
|
|
17
|
+
const REDIRECT_URL_BASE = ConfigService.config.USE_AAD_REDIRECT ? ConfigService.config.UNITY_URL : PUBLIC_URL;
|
|
18
|
+
if (!ConfigService.config.MSAL_TENANT) throw new Error("MSAL_TENANT not configured");
|
|
19
|
+
if (!ConfigService.config.MSAL_CLIENT_ID) throw new Error("MSAL_CLIENT_ID not configured");
|
|
20
|
+
const tenant = ConfigService.config.MSAL_TENANT;
|
|
21
|
+
const signInPolicy = ConfigService.config.SIGN_IN_POLICY;
|
|
22
|
+
const applicationID = ConfigService.config.MSAL_CLIENT_ID;
|
|
23
|
+
const reactRedirectUri = `${REDIRECT_URL_BASE}/${ConfigService.config.USE_AAD_REDIRECT ? "aad_redirect" : "aad_callback"}`;
|
|
24
|
+
const tenantSubdomain = tenant.split(".")[0];
|
|
25
|
+
const instance = `https://${tenantSubdomain}.b2clogin.com/`;
|
|
26
|
+
const signInAuthority = `${instance}${tenant}/${signInPolicy}`;
|
|
27
|
+
apiAccessScopeValue = `https://${tenant}/${ConfigService.config.MSAL_API_ACCESS_SCOPE}`;
|
|
28
|
+
const ua = window.navigator.userAgent;
|
|
29
|
+
const msie = ua.indexOf("MSIE ");
|
|
30
|
+
const msie11 = ua.indexOf("Trident/");
|
|
31
|
+
const msedge = ua.indexOf("Edge/");
|
|
32
|
+
const firefox = ua.indexOf("Firefox");
|
|
33
|
+
const isIE = msie > 0 || msie11 > 0;
|
|
34
|
+
const isEdge = msedge > 0;
|
|
35
|
+
const isFirefox = firefox > 0;
|
|
36
|
+
const signInConfig = {
|
|
37
|
+
auth: {
|
|
38
|
+
authority: signInAuthority,
|
|
39
|
+
knownAuthorities: [`${tenantSubdomain}.b2clogin.com`],
|
|
40
|
+
clientId: applicationID,
|
|
41
|
+
redirectUri: reactRedirectUri,
|
|
42
|
+
postLogoutRedirectUri: PUBLIC_URL + "/",
|
|
43
|
+
navigateToLoginRequestUrl: false
|
|
44
|
+
},
|
|
45
|
+
cache: {
|
|
46
|
+
cacheLocation: "sessionStorage",
|
|
47
|
+
storeAuthStateInCookie: isIE || isEdge || isFirefox
|
|
48
|
+
},
|
|
49
|
+
system: { allowRedirectInIframe: true }
|
|
50
|
+
};
|
|
51
|
+
signInAuthProviderInstance = new PublicClientApplication(signInConfig);
|
|
52
|
+
await signInAuthProviderInstance.initialize();
|
|
53
|
+
if (!signInAuthProviderInstance.getActiveAccount() && signInAuthProviderInstance.getAllAccounts().length > 0) signInAuthProviderInstance.setActiveAccount(signInAuthProviderInstance.getAllAccounts()[0]);
|
|
54
|
+
signInAuthProviderInstance.addEventCallback((event) => {
|
|
55
|
+
if (event.eventType === EventType.LOGIN_SUCCESS && event.payload.account) {
|
|
56
|
+
const account = event.payload.account;
|
|
57
|
+
signInAuthProviderInstance.setActiveAccount(account);
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
tokenRequestInstance = { scopes: [apiAccessScopeValue] };
|
|
61
|
+
loginRequestInstance = {
|
|
62
|
+
scopes: [
|
|
63
|
+
apiAccessScopeValue,
|
|
64
|
+
"openid",
|
|
65
|
+
"offline_access"
|
|
66
|
+
],
|
|
67
|
+
state: `${PUBLIC_URL}/aad_callback`
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
const getSignInAuthProvider = () => {
|
|
71
|
+
if (!signInAuthProviderInstance) throw new Error("signInAuthProvider is not initialized. Call initSignInAuthProvider first.");
|
|
72
|
+
return signInAuthProviderInstance;
|
|
73
|
+
};
|
|
74
|
+
const getLoginRequest = () => {
|
|
75
|
+
if (!loginRequestInstance) throw new Error("loginRequest is not initialized. Call initSignInAuthProvider first.");
|
|
76
|
+
return loginRequestInstance;
|
|
77
|
+
};
|
|
78
|
+
const getTokenRequest = () => {
|
|
79
|
+
if (!tokenRequestInstance) throw new Error("tokenRequest is not initialized. Call initSignInAuthProvider first.");
|
|
80
|
+
return tokenRequestInstance;
|
|
81
|
+
};
|
|
82
|
+
const getApiAccessScope = () => {
|
|
83
|
+
if (!apiAccessScopeValue) throw new Error("apiAccessScope is not initialized. Call initSignInAuthProvider first.");
|
|
84
|
+
return apiAccessScopeValue;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/enums/pageEnums.ts
|
|
89
|
+
let ClickOpenEnums = /* @__PURE__ */ function(ClickOpenEnums$1) {
|
|
90
|
+
ClickOpenEnums$1["SideSheet"] = "sideSheet";
|
|
91
|
+
ClickOpenEnums$1["Dialog"] = "dialog";
|
|
92
|
+
ClickOpenEnums$1["SplitScreen"] = "splitScreen";
|
|
93
|
+
return ClickOpenEnums$1;
|
|
94
|
+
}({});
|
|
95
|
+
let UdpPageEnums = /* @__PURE__ */ function(UdpPageEnums$1) {
|
|
96
|
+
UdpPageEnums$1["Udp_Maintenance_Engine_Page"] = "32f32abb-e633-494e-b4c7-8e187c731e95";
|
|
97
|
+
UdpPageEnums$1["Udp_Data_Browser_Page"] = "efaa7518-c943-4cd3-ad44-d78941de3211";
|
|
98
|
+
UdpPageEnums$1["Udp_Notes_Page"] = "ef18c935-4d7b-4923-a87e-975d71f019a2";
|
|
99
|
+
UdpPageEnums$1["Udp_Reminders_Page"] = "308d9644-60db-4a0f-88c6-3a1309600ebc";
|
|
100
|
+
UdpPageEnums$1["Udp_Reports_Page"] = "35eb68db-cadc-497a-b915-de4e4b709459";
|
|
101
|
+
UdpPageEnums$1["Udp_Inquiry_Explore_Page"] = "8118a06e-5e26-437f-8661-8171f9e2ab16";
|
|
102
|
+
UdpPageEnums$1["Udp_Public_Forms_Page"] = "0a2f83f1-6f74-4088-b954-7d5762d93cfa";
|
|
103
|
+
return UdpPageEnums$1;
|
|
104
|
+
}({});
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region src/utilities/auth/whitelistedPaths.js
|
|
108
|
+
const whitelistedPaths = [
|
|
109
|
+
"/verify",
|
|
110
|
+
`/page/${UdpPageEnums.Udp_Public_Forms_Page}`,
|
|
111
|
+
"/aad_redirect",
|
|
112
|
+
"/passwordresetsuccess"
|
|
113
|
+
];
|
|
114
|
+
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/utilities/auth/authActions.ts
|
|
117
|
+
/**
|
|
118
|
+
* Hook providing auth "actions" such as login/logout
|
|
119
|
+
*/
|
|
120
|
+
const useLoginAction = () => loginRedirect;
|
|
121
|
+
const loginRedirect = () => {
|
|
122
|
+
const signInAuthProvider = getSignInAuthProvider();
|
|
123
|
+
signInAuthProvider.loginRedirect(getLoginRequest());
|
|
124
|
+
};
|
|
125
|
+
function useLogoutAction() {
|
|
126
|
+
return async () => {
|
|
127
|
+
const signInAuthProvider = getSignInAuthProvider();
|
|
128
|
+
await signInAuthProvider.logoutRedirect({ account: signInAuthProvider.getActiveAccount() });
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
async function acquireAccessToken() {
|
|
132
|
+
var _signInAuthProvider$g;
|
|
133
|
+
const signInAuthProvider = getSignInAuthProvider();
|
|
134
|
+
const account = (_signInAuthProvider$g = signInAuthProvider.getActiveAccount()) !== null && _signInAuthProvider$g !== void 0 ? _signInAuthProvider$g : void 0;
|
|
135
|
+
if (account) return signInAuthProvider.acquireTokenSilent({
|
|
136
|
+
...getTokenRequest(),
|
|
137
|
+
account
|
|
138
|
+
}).then((response) => {
|
|
139
|
+
return response.accessToken;
|
|
140
|
+
}).catch(async (error) => {
|
|
141
|
+
const currentPathIsWhitelisted = whitelistedPaths.includes(window.location.pathname);
|
|
142
|
+
if (!currentPathIsWhitelisted) signInAuthProvider.loginRedirect(getLoginRequest());
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/utilities/storage/UnitySessionStorage.js
|
|
148
|
+
const TenantStorageKey = "active-tenant";
|
|
149
|
+
const storeInitialTenant = () => {
|
|
150
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
151
|
+
const urlTenantId = urlParams.get("tenantId");
|
|
152
|
+
if (urlTenantId) storeTenant(urlTenantId);
|
|
153
|
+
};
|
|
154
|
+
const storeTenant = (tenantId) => {
|
|
155
|
+
window.sessionStorage.setItem(TenantStorageKey, tenantId);
|
|
156
|
+
};
|
|
157
|
+
const getStoredTenant = () => {
|
|
158
|
+
return window.sessionStorage.getItem(TenantStorageKey);
|
|
159
|
+
};
|
|
160
|
+
const clearStoredTenant = () => {
|
|
161
|
+
window.sessionStorage.removeItem(TenantStorageKey);
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region src/utilities/apiHelpers.jsx
|
|
166
|
+
const getMergedConfig = (accessToken, config) => {
|
|
167
|
+
var _config$headers;
|
|
168
|
+
const headers = (_config$headers = config === null || config === void 0 ? void 0 : config.headers) !== null && _config$headers !== void 0 ? _config$headers : {};
|
|
169
|
+
headers.currentTenantId || (headers.currentTenantId = getStoredTenant());
|
|
170
|
+
if (accessToken) headers.Authorization || (headers.Authorization = `Bearer ${accessToken}`);
|
|
171
|
+
config.headers = headers;
|
|
172
|
+
return config;
|
|
173
|
+
};
|
|
174
|
+
const handleResponseErrors = async (error) => {
|
|
175
|
+
var _error$response;
|
|
176
|
+
if ((error === null || error === void 0 || (_error$response = error.response) === null || _error$response === void 0 ? void 0 : _error$response.status) === 401) await acquireAccessToken();
|
|
177
|
+
};
|
|
178
|
+
const getAccessToken = async () => {
|
|
179
|
+
return await acquireAccessToken();
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Checks to make sure the error isn't cancelled, if so just return w/o doing anything
|
|
183
|
+
*Otherwise call a pre-method, create a snackbar, then call a post-method
|
|
184
|
+
*preCallBack returns a bool, true = show snackbar
|
|
185
|
+
*/
|
|
186
|
+
const useHandleAxiosSnackbar = () => {
|
|
187
|
+
const { enqueueSnackbar, closeSnackbar } = useSnackbar();
|
|
188
|
+
const history = useHistory();
|
|
189
|
+
const dismissSnackbar = useCallback((key, callback) => {
|
|
190
|
+
closeSnackbar(key);
|
|
191
|
+
callback === null || callback === void 0 || callback();
|
|
192
|
+
}, [closeSnackbar]);
|
|
193
|
+
const handleErrorSnackbar = useCallback((error, customMessage, preCallBack, callback) => {
|
|
194
|
+
var _error$toString, _error$response2;
|
|
195
|
+
const fallbackErrorMessage = "Error executing request";
|
|
196
|
+
if ((error === null || error === void 0 || (_error$toString = error.toString()) === null || _error$toString === void 0 ? void 0 : _error$toString.toLowerCase()) === "cancel" || (error === null || error === void 0 ? void 0 : error.code) === "ERR_CANCELED") return;
|
|
197
|
+
const showSnackBar = preCallBack === null || preCallBack === void 0 ? void 0 : preCallBack();
|
|
198
|
+
if (preCallBack && !showSnackBar) return;
|
|
199
|
+
let errorMessage = customMessage !== null && customMessage !== void 0 ? customMessage : (error === null || error === void 0 || (_error$response2 = error.response) === null || _error$response2 === void 0 ? void 0 : _error$response2.data) || (error === null || error === void 0 ? void 0 : error.message) || fallbackErrorMessage;
|
|
200
|
+
if (typeof errorMessage !== "string" || !errorMessage || errorMessage.length === 0) errorMessage = fallbackErrorMessage;
|
|
201
|
+
enqueueSnackbar(errorMessage, {
|
|
202
|
+
variant: "error",
|
|
203
|
+
anchorOrigin: {
|
|
204
|
+
vertical: "top",
|
|
205
|
+
horizontal: "center"
|
|
206
|
+
},
|
|
207
|
+
action: (key) => /* @__PURE__ */ jsx(Button, {
|
|
208
|
+
color: "secondary",
|
|
209
|
+
size: "small",
|
|
210
|
+
onClick: () => {
|
|
211
|
+
dismissSnackbar(key);
|
|
212
|
+
},
|
|
213
|
+
children: "Ok"
|
|
214
|
+
})
|
|
215
|
+
});
|
|
216
|
+
callback === null || callback === void 0 || callback();
|
|
217
|
+
}, [dismissSnackbar, enqueueSnackbar]);
|
|
218
|
+
const handleSuccessSnackbar = useCallback((message, preCallBack, callback, navigationPath, buttonText) => {
|
|
219
|
+
const fallbackSuccessMessage = "Executed request successfully";
|
|
220
|
+
const showMessage = preCallBack === null || preCallBack === void 0 ? void 0 : preCallBack();
|
|
221
|
+
if (preCallBack && !showMessage) return;
|
|
222
|
+
let successMessage = message !== null && message !== void 0 ? message : fallbackSuccessMessage;
|
|
223
|
+
if (typeof successMessage !== "string" || !successMessage || successMessage.length === 0) successMessage = fallbackSuccessMessage;
|
|
224
|
+
const options = {
|
|
225
|
+
variant: "default",
|
|
226
|
+
anchorOrigin: {
|
|
227
|
+
vertical: "top",
|
|
228
|
+
horizontal: "center"
|
|
229
|
+
},
|
|
230
|
+
action: (key) => /* @__PURE__ */ jsxs(Fragment$1, { children: [navigationPath && /* @__PURE__ */ jsx(Button, {
|
|
231
|
+
color: "secondary",
|
|
232
|
+
size: "small",
|
|
233
|
+
onClick: () => {
|
|
234
|
+
history.push(navigationPath);
|
|
235
|
+
dismissSnackbar(key);
|
|
236
|
+
},
|
|
237
|
+
children: buttonText ? buttonText : "Go to page"
|
|
238
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
239
|
+
color: "secondary",
|
|
240
|
+
size: "small",
|
|
241
|
+
onClick: () => {
|
|
242
|
+
dismissSnackbar(key);
|
|
243
|
+
},
|
|
244
|
+
children: "Ok"
|
|
245
|
+
})] })
|
|
246
|
+
};
|
|
247
|
+
enqueueSnackbar(successMessage, options);
|
|
248
|
+
}, [dismissSnackbar, enqueueSnackbar]);
|
|
249
|
+
return {
|
|
250
|
+
handleErrorSnackbar,
|
|
251
|
+
handleSuccessSnackbar
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
//#endregion
|
|
256
|
+
export { ClickOpenEnums, UdpPageEnums, acquireAccessToken, clearStoredTenant, getAccessToken, getApiAccessScope, getLoginRequest, getMergedConfig, getSignInAuthProvider, getStoredTenant, getTokenRequest, handleResponseErrors, initSignInAuthProvider, loginRedirect, storeInitialTenant, storeTenant, useHandleAxiosSnackbar, useLoginAction, useLogoutAction, whitelistedPaths };
|
|
257
|
+
//# sourceMappingURL=apiHelpers-ntQQ4i7A.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiHelpers-ntQQ4i7A.js","names":["useLoginAction: LoginFunction","loginRedirect: () => void"],"sources":["../src/utilities/auth/signInAuthProvider.js","../src/enums/pageEnums.ts","../src/utilities/auth/whitelistedPaths.js","../src/utilities/auth/authActions.ts","../src/utilities/storage/UnitySessionStorage.js","../src/utilities/apiHelpers.jsx"],"sourcesContent":["import { PublicClientApplication, EventType } from '@azure/msal-browser';\nimport { ConfigService } from 'udp-react-stencil-component-library';\n\nlet signInAuthProviderInstance = null;\nlet loginRequestInstance = null;\nlet tokenRequestInstance = null;\nlet apiAccessScopeValue = null;\n\nexport async function initSignInAuthProvider() {\n if (signInAuthProviderInstance) {\n return; // Already initialized\n }\n\n const PUBLIC_URL = new URL(\n import.meta.env.BASE_URL || '/',\n window.location.origin\n ).href.replace(/\\/$/, '');\n\n const REDIRECT_URL_BASE = ConfigService.config.USE_AAD_REDIRECT\n ? ConfigService.config.UNITY_URL\n : PUBLIC_URL;\n\n if (!ConfigService.config.MSAL_TENANT)\n throw new Error('MSAL_TENANT not configured');\n if (!ConfigService.config.MSAL_CLIENT_ID)\n throw new Error('MSAL_CLIENT_ID not configured');\n\n const tenant = ConfigService.config.MSAL_TENANT;\n const signInPolicy = ConfigService.config.SIGN_IN_POLICY;\n const applicationID = ConfigService.config.MSAL_CLIENT_ID;\n const reactRedirectUri = `${REDIRECT_URL_BASE}/${\n ConfigService.config.USE_AAD_REDIRECT ? 'aad_redirect' : 'aad_callback'\n }`;\n const tenantSubdomain = tenant.split('.')[0];\n const instance = `https://${tenantSubdomain}.b2clogin.com/`;\n const signInAuthority = `${instance}${tenant}/${signInPolicy}`;\n apiAccessScopeValue = `https://${tenant}/${ConfigService.config.MSAL_API_ACCESS_SCOPE}`;\n\n const ua = window.navigator.userAgent;\n const msie = ua.indexOf('MSIE ');\n const msie11 = ua.indexOf('Trident/');\n const msedge = ua.indexOf('Edge/');\n const firefox = ua.indexOf('Firefox');\n const isIE = msie > 0 || msie11 > 0;\n const isEdge = msedge > 0;\n const isFirefox = firefox > 0; // Only needed if you need to support the redirect flow in Firefox incognito\n\n // Msal Configurations\n const signInConfig = {\n auth: {\n authority: signInAuthority,\n knownAuthorities: [`${tenantSubdomain}.b2clogin.com`],\n clientId: applicationID,\n redirectUri: reactRedirectUri,\n postLogoutRedirectUri: PUBLIC_URL + '/',\n navigateToLoginRequestUrl: false,\n },\n cache: {\n cacheLocation: 'sessionStorage',\n storeAuthStateInCookie: isIE || isEdge || isFirefox,\n },\n system: {\n allowRedirectInIframe: true,\n },\n };\n\n signInAuthProviderInstance = new PublicClientApplication(signInConfig);\n\n await signInAuthProviderInstance.initialize();\n\n if (\n !signInAuthProviderInstance.getActiveAccount() &&\n signInAuthProviderInstance.getAllAccounts().length > 0\n ) {\n signInAuthProviderInstance.setActiveAccount(\n signInAuthProviderInstance.getAllAccounts()[0]\n );\n }\n\n signInAuthProviderInstance.addEventCallback((event) => {\n if (event.eventType === EventType.LOGIN_SUCCESS && event.payload.account) {\n const account = event.payload.account;\n signInAuthProviderInstance.setActiveAccount(account);\n }\n });\n\n tokenRequestInstance = { scopes: [apiAccessScopeValue] };\n\n loginRequestInstance = {\n scopes: [apiAccessScopeValue, 'openid', 'offline_access'],\n state: `${PUBLIC_URL}/aad_callback`,\n };\n}\n\nexport const getSignInAuthProvider = () => {\n if (!signInAuthProviderInstance) {\n throw new Error(\n 'signInAuthProvider is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return signInAuthProviderInstance;\n};\n\nexport const getLoginRequest = () => {\n if (!loginRequestInstance) {\n throw new Error(\n 'loginRequest is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return loginRequestInstance;\n};\n\nexport const getTokenRequest = () => {\n if (!tokenRequestInstance) {\n throw new Error(\n 'tokenRequest is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return tokenRequestInstance;\n};\n\nexport const getApiAccessScope = () => {\n if (!apiAccessScopeValue) {\n throw new Error(\n 'apiAccessScope is not initialized. Call initSignInAuthProvider first.'\n );\n }\n return apiAccessScopeValue;\n};\n","export enum ClickOpenEnums {\n SideSheet = 'sideSheet',\n Dialog = 'dialog',\n SplitScreen = 'splitScreen'\n}\n\nexport enum UdpPageEnums {\n Udp_Maintenance_Engine_Page = '32f32abb-e633-494e-b4c7-8e187c731e95',\n Udp_Data_Browser_Page = 'efaa7518-c943-4cd3-ad44-d78941de3211',\n Udp_Notes_Page = 'ef18c935-4d7b-4923-a87e-975d71f019a2',\n Udp_Reminders_Page = '308d9644-60db-4a0f-88c6-3a1309600ebc',\n Udp_Reports_Page = '35eb68db-cadc-497a-b915-de4e4b709459',\n Udp_Inquiry_Explore_Page = '8118a06e-5e26-437f-8661-8171f9e2ab16',\n Udp_Public_Forms_Page = '0a2f83f1-6f74-4088-b954-7d5762d93cfa'\n}\n","import { UdpPageEnums } from \"../../enums/pageEnums\";\n\nexport const whitelistedPaths = [\n '/verify', \n `/page/${UdpPageEnums.Udp_Public_Forms_Page}`, // Public forms page\n '/aad_redirect',\n '/passwordresetsuccess'\n];\n","import {\n getSignInAuthProvider,\n getTokenRequest,\n getLoginRequest,\n} from './signInAuthProvider';\nimport { BrowserUtils } from '@azure/msal-browser';\nimport { storeCurrentPath } from '../redirect/LocalRedirectUrlStorage';\nimport { whitelistedPaths } from './whitelistedPaths';\nexport type LoginFunction = () => void;\nexport type LogoutFunction = () => void;\n/**\n * Hook providing auth \"actions\" such as login/logout\n */\n\nexport const useLoginAction: LoginFunction = () => loginRedirect;\nexport const loginRedirect: () => void = () => {\n const signInAuthProvider = getSignInAuthProvider();\n signInAuthProvider.loginRedirect(getLoginRequest());\n};\n\nexport function useLogoutAction(): LogoutFunction {\n return async () => {\n const signInAuthProvider = getSignInAuthProvider();\n await signInAuthProvider.logoutRedirect({\n account: signInAuthProvider.getActiveAccount(),\n });\n };\n}\n\nexport async function acquireAccessToken(): Promise<string | void> {\n const signInAuthProvider = getSignInAuthProvider();\n const account = signInAuthProvider.getActiveAccount() ?? undefined;\n\n if (account) {\n return signInAuthProvider\n .acquireTokenSilent({ ...getTokenRequest(), account })\n .then((response) => {\n return response.accessToken;\n })\n .catch(async (error) => {\n const currentPathIsWhitelisted = whitelistedPaths.includes(\n window.location.pathname\n );\n if (!currentPathIsWhitelisted) {\n signInAuthProvider.loginRedirect(getLoginRequest());\n }\n });\n }\n}\n","const TenantStorageKey = 'active-tenant';\n\nexport const storeInitialTenant = () => {\n const urlParams = new URLSearchParams(window.location.search);\n const urlTenantId = urlParams.get('tenantId');\n\n if (urlTenantId) {\n storeTenant(urlTenantId);\n }\n};\n\nexport const storeTenant = (tenantId) => {\n window.sessionStorage.setItem(TenantStorageKey, tenantId);\n};\n\nexport const getStoredTenant = () => {\n return window.sessionStorage.getItem(TenantStorageKey);\n};\n\nexport const clearStoredTenant = () => {\n window.sessionStorage.removeItem(TenantStorageKey);\n};\n","import { acquireAccessToken } from './auth/authActions';\nimport { InteractionRequiredAuthError } from '@azure/msal-browser';\nimport { getStoredTenant } from './storage/UnitySessionStorage';\nimport { useSnackbar } from 'notistack';\nimport { Button } from '@material-ui/core';\nimport { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nexport const getMergedConfig = (accessToken, config) => {\n const headers = config?.headers ?? {};\n\n headers.currentTenantId ||= getStoredTenant();\n if (accessToken) headers.Authorization ||= `Bearer ${accessToken}`;\n\n config.headers = headers;\n return config;\n};\n\nexport const handleResponseErrors = async (error) => {\n if (error?.response?.status === 401) {\n await acquireAccessToken();\n }\n};\n\nexport const getAccessToken = async () => {\n return await acquireAccessToken();\n};\n\n/**\n * Checks to make sure the error isn't cancelled, if so just return w/o doing anything\n *Otherwise call a pre-method, create a snackbar, then call a post-method\n *preCallBack returns a bool, true = show snackbar\n */\nexport const useHandleAxiosSnackbar = () => {\n const { enqueueSnackbar, closeSnackbar } = useSnackbar();\n const history = useHistory();\n\n const dismissSnackbar = useCallback(\n (key, callback) => {\n closeSnackbar(key);\n callback?.();\n },\n [closeSnackbar]\n );\n\n const handleErrorSnackbar = useCallback(\n (error, customMessage, preCallBack, callback) => {\n const fallbackErrorMessage = 'Error executing request';\n if (\n error?.toString()?.toLowerCase() === 'cancel' ||\n error?.code === 'ERR_CANCELED'\n )\n return;\n\n // Don't call the preCallback unless we actually failed.\n const showSnackBar = preCallBack?.();\n if (preCallBack && !showSnackBar) return;\n\n let errorMessage =\n customMessage ??\n (error?.response?.data || error?.message || fallbackErrorMessage);\n if (\n typeof errorMessage !== 'string' ||\n !errorMessage ||\n errorMessage.length === 0\n ) {\n errorMessage = fallbackErrorMessage;\n }\n\n enqueueSnackbar(errorMessage, {\n variant: 'error',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='secondary'\n size='small'\n onClick={() => {\n dismissSnackbar(key);\n }}\n >\n Ok\n </Button>\n )\n });\n\n callback?.();\n },\n [dismissSnackbar, enqueueSnackbar]\n );\n\n const handleSuccessSnackbar = useCallback(\n (message, preCallBack, callback, navigationPath, buttonText) => {\n const fallbackSuccessMessage = 'Executed request successfully';\n const showMessage = preCallBack?.();\n if (preCallBack && !showMessage) return;\n\n let successMessage = message ?? fallbackSuccessMessage;\n if (\n typeof successMessage !== 'string' ||\n !successMessage ||\n successMessage.length === 0\n ) {\n successMessage = fallbackSuccessMessage;\n }\n\n const options = {\n variant: 'default',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <>\n {navigationPath && (\n <Button\n color='secondary'\n size='small'\n onClick={() => {\n history.push(navigationPath);\n dismissSnackbar(key);\n }}\n >\n {buttonText? buttonText : 'Go to page'}\n </Button>\n )}\n <Button\n color='secondary'\n size='small'\n onClick={() => {\n dismissSnackbar(key);\n }}\n >\n Ok\n </Button>\n </>\n )\n };\n\n enqueueSnackbar(successMessage, options);\n },\n [dismissSnackbar, enqueueSnackbar]\n );\n\n return { handleErrorSnackbar, handleSuccessSnackbar };\n};\n"],"mappings":";;;;;;;;;AAGA,IAAI,6BAA6B;AACjC,IAAI,uBAAuB;AAC3B,IAAI,uBAAuB;AAC3B,IAAI,sBAAsB;AAE1B,eAAsB,yBAAyB;AAC7C,KAAI,2BACF;CAGF,MAAM,aAAa,IAAI,IACrB,OAAO,KAAK,IAAI,YAAY,KAC5B,OAAO,SAAS,QAChB,KAAK,QAAQ,OAAO;CA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B;IACjB;cACF;;GAIJ;AAED;CACD,GACD,CAAC,iBAAiB,gBAAgB;CAGpC,MAAM,wBAAwB,aAC3B,SAAS,aAAa,UAAU,gBAAgB,eAAe;EAC9D,MAAM,yBAAyB;EAC/B,MAAM,wEAAc;AACpB,MAAI,eAAe,CAAC,YAAa;EAEjC,IAAI,iBAAiB,mDAAW;AAChC,MACE,OAAO,mBAAmB,YAC1B,CAAC,kBACD,eAAe,WAAW,EAE1B,kBAAiB;EAGnB,MAAM,UAAU;GACd,SAAS;GACT,cAAc;IACZ,UAAU;IACV,YAAY;IACb;GACD,SAAS,QACP,8CACG,kBACC,oBAAC;IACC,OAAM;IACN,MAAK;IACL,eAAe;AACb,aAAQ,KAAK;AACb,qBAAgB;IACjB;cAEA,aAAY,aAAa;OAG9B,oBAAC;IACC,OAAM;IACN,MAAK;IACL,eAAe;AACb,qBAAgB;IACjB;cACF;;GAKN;AAED,kBAAgB,gBAAgB;CACjC,GACD,CAAC,iBAAiB,gBAAgB;AAGpC,QAAO;EAAE;EAAqB;EAAuB;AACtD"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJS = (cb, mod) => function() {
|
|
9
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
+
};
|
|
11
|
+
var __export = (target, all) => {
|
|
12
|
+
for (var name in all) __defProp(target, name, {
|
|
13
|
+
get: all[name],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
+
key = keys[i];
|
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
+
get: ((k) => from[k]).bind(null, key),
|
|
22
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
29
|
+
value: mod,
|
|
30
|
+
enumerable: true
|
|
31
|
+
}) : target, mod));
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { __commonJS, __export, __reExport, __toESM };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJS = (cb, mod) => function() {
|
|
9
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
+
};
|
|
11
|
+
var __export = (target, all) => {
|
|
12
|
+
for (var name in all) __defProp(target, name, {
|
|
13
|
+
get: all[name],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
+
key = keys[i];
|
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
+
get: ((k) => from[k]).bind(null, key),
|
|
22
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return to;
|
|
26
|
+
};
|
|
27
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: true
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
|
|
34
|
+
Object.defineProperty(exports, '__commonJS', {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () {
|
|
37
|
+
return __commonJS;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, '__export', {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () {
|
|
43
|
+
return __export;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, '__toESM', {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () {
|
|
49
|
+
return __toESM;
|
|
50
|
+
}
|
|
51
|
+
});
|