udp-react-enterprise-component-library 1.0.5-beta.1 → 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 -439
- 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-Bkxf-uer.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/demos/InputsExample.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-BvntTEs-.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-DWuWdOI1.js +0 -56507
- package/dist/index.modern.js +0 -611
- 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":"PasswordResetRedirect-D6RVOdwy.js","names":["errorDescription"],"sources":["../src/utilities/redirect/LocalRedirectUrlStorage.js","../src/routes/components/PasswordResetRedirect.jsx"],"sourcesContent":["const SessionStorageKey = 'local-url';\n\nexport const storeInitialPath = () => {\n if (\n !window.sessionStorage.getItem(SessionStorageKey) ||\n window.sessionStorage.getItem(SessionStorageKey) === '/' ||\n window.sessionStorage.getItem(SessionStorageKey) === '/null'\n ) {\n window.sessionStorage.setItem(\n SessionStorageKey,\n window.location.pathname === '/null' ? '/' : window.location.pathname\n );\n }\n};\n\nexport const storeCurrentPath = () => {\n window.sessionStorage.setItem(SessionStorageKey, window.location.pathname);\n};\n\nexport const storePath = pathname => {\n window.sessionStorage.setItem(SessionStorageKey, pathname);\n};\n\nexport const getStoredPath = () => {\n return window.sessionStorage.getItem(SessionStorageKey);\n};\n\nexport const clearStoredPath = () => {\n window.sessionStorage.removeItem(SessionStorageKey);\n};\n","import React, { useEffect, useState } from 'react';\nimport { clearStoredPath } from '../../utilities/redirect/LocalRedirectUrlStorage';\n\nexport const PasswordResetRedirect = (props) => {\n const [errorDescription, setErrorDescription] = useState(null);\n\n useEffect(() => {\n // Get the hash portion of the URL\n const hash = window.location.hash || ''; // Fallback to empty string if no hash\n\n if (props?.error?.errorMessage) {\n formatError(props?.error?.errorMessage);\n } else if (hash) {\n // Parse the hash to get query parameters\n const params = new URLSearchParams(hash.substring(1)); // Remove \"#\" and parse\n\n // Get and decode the error_description\n const errorDescription = params.get('error_description');\n\n if (errorDescription) {\n formatError(errorDescription);\n // Decode the URL-encoded string\n }\n }\n }, [props?.error?.errorMessage]);\n\n const formatError = (errorDescription) => {\n const decodedDescription = decodeURIComponent(errorDescription).replace(\n /%0d%0a/g,\n '\\n'\n ); // Replace %0d%0a with newlines for clarity\n\n if (decodedDescription.includes('AADB2C90208')) {\n // Hardcoded message for AADB2C90208 (a specific error code, often related to user not found or invalid credentials)\n setErrorDescription('The password reset link has expired.');\n // Check for \"AADB2C\" or \"AADB2C90208\" in the decoded description\n } else if (decodedDescription.includes('AADB2C')) {\n // Hardcoded message for generic AADB2C errors\n setErrorDescription('Unable to find an account associated to that email.');\n } else {\n // Fallback message if neither error is found (optional)\n setErrorDescription('An unexpected error occurred.');\n }\n };\n\n const handleGoHome = () => {\n clearStoredPath();\n window.location.href = '/';\n };\n\n return (\n <div>\n <div style={{ textAlign: 'center', marginTop: '50px' }}>\n <img\n src='https://customb2cpolicydevtest.blob.core.windows.net/root/unitylogo.svg'\n alt='Unity Logo'\n width='300'\n style={{ height: 'auto', marginBottom: 50 }}\n />\n {errorDescription ? (\n <h2>{errorDescription}</h2>\n ) : (\n <h2>\n Your password has been successfully reset\n </h2>\n )}\n {errorDescription !== 'The password reset link has expired.' && (\n <p>Please click below to return to the sign in page</p>)}\n\n {errorDescription !== 'The password reset link has expired.' && (\n <button\n onClick={handleGoHome}\n style={{\n marginTop: '10px',\n backgroundColor: '#0C2F50',\n color: 'white',\n border: 'none',\n padding: '10px 20px',\n cursor: 'pointer',\n borderRadius: '5px',\n fontSize: '16px'\n }}\n >\n Sign In\n </button>\n )}\n </div>\n </div>\n );\n};\n"],"mappings":";;;;AAAA,MAAM,oBAAoB;AAE1B,MAAa,yBAAyB;AACpC,KACE,CAAC,OAAO,eAAe,QAAQ,sBAC/B,OAAO,eAAe,QAAQ,uBAAuB,OACrD,OAAO,eAAe,QAAQ,uBAAuB,QAErD,QAAO,eAAe,QACpB,mBACA,OAAO,SAAS,aAAa,UAAU,MAAM,OAAO,SAAS;AAGlE;AAED,MAAa,yBAAyB;AACpC,QAAO,eAAe,QAAQ,mBAAmB,OAAO,SAAS;AAClE;AAED,MAAa,aAAY,aAAY;AACnC,QAAO,eAAe,QAAQ,mBAAmB;AAClD;AAED,MAAa,sBAAsB;AACjC,QAAO,OAAO,eAAe,QAAQ;AACtC;AAED,MAAa,wBAAwB;AACnC,QAAO,eAAe,WAAW;AAClC;;;;AC1BD,MAAa,yBAAyB,UAAU;CAC9C,MAAM,CAAC,kBAAkB,oBAAoB,GAAG,SAAS;AAEzD,iBAAgB;EAEd,MAAM,OAAO,OAAO,SAAS,QAAQ;AAErC,MAAI,OAAO,OAAO,aAChB,aAAY,OAAO,OAAO;WACjB,MAAM;GAEf,MAAM,SAAS,IAAI,gBAAgB,KAAK,UAAU;GAGlD,MAAMA,qBAAmB,OAAO,IAAI;AAEpC,OAAIA,mBACF,aAAYA;EAGf;CACF,GAAE,CAAC,OAAO,OAAO,aAAa;CAE/B,MAAM,eAAe,uBAAqB;EACxC,MAAM,qBAAqB,mBAAmBA,oBAAkB,QAC9D,WACA;AAGF,MAAI,mBAAmB,SAAS,eAE9B,qBAAoB;WAEX,mBAAmB,SAAS,UAErC,qBAAoB;MAGpB,qBAAoB;CAEvB;CAED,MAAM,qBAAqB;AACzB;AACA,SAAO,SAAS,OAAO;CACxB;AAED,QACE,oBAAC,mBACC,qBAAC;EAAI,OAAO;GAAE,WAAW;GAAU,WAAW;GAAQ;;GACpD,oBAAC;IACC,KAAI;IACJ,KAAI;IACJ,OAAM;IACN,OAAO;KAAE,QAAQ;KAAQ,cAAc;KAAI;;GAE5C,mBACC,oBAAC,kBAAI,sBAEL,oBAAC,kBAAG;GAIL,qBAAqB,0CACtB,oBAAC,iBAAE;GAEF,qBAAqB,0CACpB,oBAAC;IACC,SAAS;IACT,OAAO;KACL,WAAW;KACX,iBAAiB;KACjB,OAAO;KACP,QAAQ;KACR,SAAS;KACT,QAAQ;KACR,cAAc;KACd,UAAU;KACX;cACF;;;;AAOV"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CsX-DzYB.cjs');
|
|
2
|
+
const react = require_chunk.__toESM(require("react"));
|
|
3
|
+
const react_jsx_runtime = require_chunk.__toESM(require("react/jsx-runtime"));
|
|
4
|
+
|
|
5
|
+
//#region src/utilities/redirect/LocalRedirectUrlStorage.js
|
|
6
|
+
const SessionStorageKey = "local-url";
|
|
7
|
+
const storeInitialPath = () => {
|
|
8
|
+
if (!window.sessionStorage.getItem(SessionStorageKey) || window.sessionStorage.getItem(SessionStorageKey) === "/" || window.sessionStorage.getItem(SessionStorageKey) === "/null") window.sessionStorage.setItem(SessionStorageKey, window.location.pathname === "/null" ? "/" : window.location.pathname);
|
|
9
|
+
};
|
|
10
|
+
const storeCurrentPath = () => {
|
|
11
|
+
window.sessionStorage.setItem(SessionStorageKey, window.location.pathname);
|
|
12
|
+
};
|
|
13
|
+
const storePath = (pathname) => {
|
|
14
|
+
window.sessionStorage.setItem(SessionStorageKey, pathname);
|
|
15
|
+
};
|
|
16
|
+
const getStoredPath = () => {
|
|
17
|
+
return window.sessionStorage.getItem(SessionStorageKey);
|
|
18
|
+
};
|
|
19
|
+
const clearStoredPath = () => {
|
|
20
|
+
window.sessionStorage.removeItem(SessionStorageKey);
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/routes/components/PasswordResetRedirect.jsx
|
|
25
|
+
const PasswordResetRedirect = (props) => {
|
|
26
|
+
const [errorDescription, setErrorDescription] = (0, react.useState)(null);
|
|
27
|
+
(0, react.useEffect)(() => {
|
|
28
|
+
const hash = window.location.hash || "";
|
|
29
|
+
if (props?.error?.errorMessage) formatError(props?.error?.errorMessage);
|
|
30
|
+
else if (hash) {
|
|
31
|
+
const params = new URLSearchParams(hash.substring(1));
|
|
32
|
+
const errorDescription$1 = params.get("error_description");
|
|
33
|
+
if (errorDescription$1) formatError(errorDescription$1);
|
|
34
|
+
}
|
|
35
|
+
}, [props?.error?.errorMessage]);
|
|
36
|
+
const formatError = (errorDescription$1) => {
|
|
37
|
+
const decodedDescription = decodeURIComponent(errorDescription$1).replace(/%0d%0a/g, "\n");
|
|
38
|
+
if (decodedDescription.includes("AADB2C90208")) setErrorDescription("The password reset link has expired.");
|
|
39
|
+
else if (decodedDescription.includes("AADB2C")) setErrorDescription("Unable to find an account associated to that email.");
|
|
40
|
+
else setErrorDescription("An unexpected error occurred.");
|
|
41
|
+
};
|
|
42
|
+
const handleGoHome = () => {
|
|
43
|
+
clearStoredPath();
|
|
44
|
+
window.location.href = "/";
|
|
45
|
+
};
|
|
46
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
47
|
+
style: {
|
|
48
|
+
textAlign: "center",
|
|
49
|
+
marginTop: "50px"
|
|
50
|
+
},
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
53
|
+
src: "https://customb2cpolicydevtest.blob.core.windows.net/root/unitylogo.svg",
|
|
54
|
+
alt: "Unity Logo",
|
|
55
|
+
width: "300",
|
|
56
|
+
style: {
|
|
57
|
+
height: "auto",
|
|
58
|
+
marginBottom: 50
|
|
59
|
+
}
|
|
60
|
+
}),
|
|
61
|
+
errorDescription ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", { children: errorDescription }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", { children: "Your password has been successfully reset" }),
|
|
62
|
+
errorDescription !== "The password reset link has expired." && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: "Please click below to return to the sign in page" }),
|
|
63
|
+
errorDescription !== "The password reset link has expired." && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
64
|
+
onClick: handleGoHome,
|
|
65
|
+
style: {
|
|
66
|
+
marginTop: "10px",
|
|
67
|
+
backgroundColor: "#0C2F50",
|
|
68
|
+
color: "white",
|
|
69
|
+
border: "none",
|
|
70
|
+
padding: "10px 20px",
|
|
71
|
+
cursor: "pointer",
|
|
72
|
+
borderRadius: "5px",
|
|
73
|
+
fontSize: "16px"
|
|
74
|
+
},
|
|
75
|
+
children: "Sign In"
|
|
76
|
+
})
|
|
77
|
+
]
|
|
78
|
+
}) });
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
//#endregion
|
|
82
|
+
Object.defineProperty(exports, 'PasswordResetRedirect', {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () {
|
|
85
|
+
return PasswordResetRedirect;
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, 'clearStoredPath', {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () {
|
|
91
|
+
return clearStoredPath;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, 'getStoredPath', {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () {
|
|
97
|
+
return getStoredPath;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, 'storeCurrentPath', {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () {
|
|
103
|
+
return storeCurrentPath;
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, 'storeInitialPath', {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () {
|
|
109
|
+
return storeInitialPath;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, 'storePath', {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () {
|
|
115
|
+
return storePath;
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
//# sourceMappingURL=PasswordResetRedirect-DRhK3lVL.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordResetRedirect-DRhK3lVL.cjs","names":["errorDescription"],"sources":["../src/utilities/redirect/LocalRedirectUrlStorage.js","../src/routes/components/PasswordResetRedirect.jsx"],"sourcesContent":["const SessionStorageKey = 'local-url';\n\nexport const storeInitialPath = () => {\n if (\n !window.sessionStorage.getItem(SessionStorageKey) ||\n window.sessionStorage.getItem(SessionStorageKey) === '/' ||\n window.sessionStorage.getItem(SessionStorageKey) === '/null'\n ) {\n window.sessionStorage.setItem(\n SessionStorageKey,\n window.location.pathname === '/null' ? '/' : window.location.pathname\n );\n }\n};\n\nexport const storeCurrentPath = () => {\n window.sessionStorage.setItem(SessionStorageKey, window.location.pathname);\n};\n\nexport const storePath = pathname => {\n window.sessionStorage.setItem(SessionStorageKey, pathname);\n};\n\nexport const getStoredPath = () => {\n return window.sessionStorage.getItem(SessionStorageKey);\n};\n\nexport const clearStoredPath = () => {\n window.sessionStorage.removeItem(SessionStorageKey);\n};\n","import React, { useEffect, useState } from 'react';\nimport { clearStoredPath } from '../../utilities/redirect/LocalRedirectUrlStorage';\n\nexport const PasswordResetRedirect = (props) => {\n const [errorDescription, setErrorDescription] = useState(null);\n\n useEffect(() => {\n // Get the hash portion of the URL\n const hash = window.location.hash || ''; // Fallback to empty string if no hash\n\n if (props?.error?.errorMessage) {\n formatError(props?.error?.errorMessage);\n } else if (hash) {\n // Parse the hash to get query parameters\n const params = new URLSearchParams(hash.substring(1)); // Remove \"#\" and parse\n\n // Get and decode the error_description\n const errorDescription = params.get('error_description');\n\n if (errorDescription) {\n formatError(errorDescription);\n // Decode the URL-encoded string\n }\n }\n }, [props?.error?.errorMessage]);\n\n const formatError = (errorDescription) => {\n const decodedDescription = decodeURIComponent(errorDescription).replace(\n /%0d%0a/g,\n '\\n'\n ); // Replace %0d%0a with newlines for clarity\n\n if (decodedDescription.includes('AADB2C90208')) {\n // Hardcoded message for AADB2C90208 (a specific error code, often related to user not found or invalid credentials)\n setErrorDescription('The password reset link has expired.');\n // Check for \"AADB2C\" or \"AADB2C90208\" in the decoded description\n } else if (decodedDescription.includes('AADB2C')) {\n // Hardcoded message for generic AADB2C errors\n setErrorDescription('Unable to find an account associated to that email.');\n } else {\n // Fallback message if neither error is found (optional)\n setErrorDescription('An unexpected error occurred.');\n }\n };\n\n const handleGoHome = () => {\n clearStoredPath();\n window.location.href = '/';\n };\n\n return (\n <div>\n <div style={{ textAlign: 'center', marginTop: '50px' }}>\n <img\n src='https://customb2cpolicydevtest.blob.core.windows.net/root/unitylogo.svg'\n alt='Unity Logo'\n width='300'\n style={{ height: 'auto', marginBottom: 50 }}\n />\n {errorDescription ? (\n <h2>{errorDescription}</h2>\n ) : (\n <h2>\n Your password has been successfully reset\n </h2>\n )}\n {errorDescription !== 'The password reset link has expired.' && (\n <p>Please click below to return to the sign in page</p>)}\n\n {errorDescription !== 'The password reset link has expired.' && (\n <button\n onClick={handleGoHome}\n style={{\n marginTop: '10px',\n backgroundColor: '#0C2F50',\n color: 'white',\n border: 'none',\n padding: '10px 20px',\n cursor: 'pointer',\n borderRadius: '5px',\n fontSize: '16px'\n }}\n >\n Sign In\n </button>\n )}\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;AAAA,MAAM,oBAAoB;AAE1B,MAAa,yBAAyB;AACpC,KACE,CAAC,OAAO,eAAe,QAAQ,sBAC/B,OAAO,eAAe,QAAQ,uBAAuB,OACrD,OAAO,eAAe,QAAQ,uBAAuB,QAErD,QAAO,eAAe,QACpB,mBACA,OAAO,SAAS,aAAa,UAAU,MAAM,OAAO,SAAS;AAGlE;AAED,MAAa,yBAAyB;AACpC,QAAO,eAAe,QAAQ,mBAAmB,OAAO,SAAS;AAClE;AAED,MAAa,aAAY,aAAY;AACnC,QAAO,eAAe,QAAQ,mBAAmB;AAClD;AAED,MAAa,sBAAsB;AACjC,QAAO,OAAO,eAAe,QAAQ;AACtC;AAED,MAAa,wBAAwB;AACnC,QAAO,eAAe,WAAW;AAClC;;;;AC1BD,MAAa,yBAAyB,UAAU;CAC9C,MAAM,CAAC,kBAAkB,oBAAoB,uBAAY;AAEzD,4BAAgB;EAEd,MAAM,OAAO,OAAO,SAAS,QAAQ;AAErC,MAAI,OAAO,OAAO,aAChB,aAAY,OAAO,OAAO;WACjB,MAAM;GAEf,MAAM,SAAS,IAAI,gBAAgB,KAAK,UAAU;GAGlD,MAAMA,qBAAmB,OAAO,IAAI;AAEpC,OAAIA,mBACF,aAAYA;EAGf;CACF,GAAE,CAAC,OAAO,OAAO,aAAa;CAE/B,MAAM,eAAe,uBAAqB;EACxC,MAAM,qBAAqB,mBAAmBA,oBAAkB,QAC9D,WACA;AAGF,MAAI,mBAAmB,SAAS,eAE9B,qBAAoB;WAEX,mBAAmB,SAAS,UAErC,qBAAoB;MAGpB,qBAAoB;CAEvB;CAED,MAAM,qBAAqB;AACzB;AACA,SAAO,SAAS,OAAO;CACxB;AAED,QACE,2CAAC,mBACC,4CAAC;EAAI,OAAO;GAAE,WAAW;GAAU,WAAW;GAAQ;;GACpD,2CAAC;IACC,KAAI;IACJ,KAAI;IACJ,OAAM;IACN,OAAO;KAAE,QAAQ;KAAQ,cAAc;KAAI;;GAE5C,mBACC,2CAAC,kBAAI,sBAEL,2CAAC,kBAAG;GAIL,qBAAqB,0CACtB,2CAAC,iBAAE;GAEF,qBAAqB,0CACpB,2CAAC;IACC,SAAS;IACT,OAAO;KACL,WAAW;KACX,iBAAiB;KACjB,OAAO;KACP,QAAQ;KACR,SAAS;KACT,QAAQ;KACR,cAAc;KACd,UAAU;KACX;cACF;;;;AAOV"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { LogicalSearchOperatorEnums, SearchGroupingType, useUser } from "./EnvironmentRibbon-W5AjvnLN.js";
|
|
2
|
+
import { useCallback, useMemo } from "react";
|
|
3
|
+
import { DateTime, IANAZone } from "luxon";
|
|
4
|
+
|
|
5
|
+
//#region src/enums/aggridEnums.ts
|
|
6
|
+
let AgGridFilterOperators = /* @__PURE__ */ function(AgGridFilterOperators$1) {
|
|
7
|
+
AgGridFilterOperators$1["CONTAINS"] = "contains";
|
|
8
|
+
AgGridFilterOperators$1["NOT_CONTAINS"] = "notcontains";
|
|
9
|
+
AgGridFilterOperators$1["EQUALS"] = "equals";
|
|
10
|
+
AgGridFilterOperators$1["NOT_EQUALS"] = "notequals";
|
|
11
|
+
AgGridFilterOperators$1["STARTSWITH"] = "startswith";
|
|
12
|
+
AgGridFilterOperators$1["ENDSWITH"] = "endswith";
|
|
13
|
+
AgGridFilterOperators$1["LESS_THAN"] = "lessthan";
|
|
14
|
+
AgGridFilterOperators$1["LESS_THAN_OR_EQUAL"] = "lessthanorequal";
|
|
15
|
+
AgGridFilterOperators$1["GREATER_THAN"] = "greaterthan";
|
|
16
|
+
AgGridFilterOperators$1["GREATER_THAN_OR_EQUAL"] = "greaterthanorequal";
|
|
17
|
+
AgGridFilterOperators$1["IN_RANGE"] = "inrange";
|
|
18
|
+
AgGridFilterOperators$1["SET"] = "set";
|
|
19
|
+
return AgGridFilterOperators$1;
|
|
20
|
+
}({});
|
|
21
|
+
let SqlFilterOperators = /* @__PURE__ */ function(SqlFilterOperators$1) {
|
|
22
|
+
SqlFilterOperators$1["LIKE"] = "LIKE";
|
|
23
|
+
SqlFilterOperators$1["EQUALS"] = "=";
|
|
24
|
+
SqlFilterOperators$1["NOT_EQUALS"] = "<>";
|
|
25
|
+
SqlFilterOperators$1["LESS_THAN"] = "<";
|
|
26
|
+
SqlFilterOperators$1["LESS_THAN_OR_EQUAL"] = "<=";
|
|
27
|
+
SqlFilterOperators$1["GREATER_THAN"] = ">";
|
|
28
|
+
SqlFilterOperators$1["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
29
|
+
SqlFilterOperators$1["BETWEEN"] = "BETWEEN";
|
|
30
|
+
SqlFilterOperators$1["IN"] = "IN";
|
|
31
|
+
SqlFilterOperators$1["STARTSWITH"] = "STARTSWITH";
|
|
32
|
+
SqlFilterOperators$1["ENDSWITH"] = "ENDSWITH";
|
|
33
|
+
return SqlFilterOperators$1;
|
|
34
|
+
}({});
|
|
35
|
+
let AgGridFilterTypes = /* @__PURE__ */ function(AgGridFilterTypes$1) {
|
|
36
|
+
AgGridFilterTypes$1["TEXT"] = "text";
|
|
37
|
+
AgGridFilterTypes$1["NUMBER"] = "number";
|
|
38
|
+
AgGridFilterTypes$1["DATE"] = "date";
|
|
39
|
+
AgGridFilterTypes$1["SET"] = "set";
|
|
40
|
+
return AgGridFilterTypes$1;
|
|
41
|
+
}({});
|
|
42
|
+
let SearchValueType = /* @__PURE__ */ function(SearchValueType$1) {
|
|
43
|
+
SearchValueType$1[SearchValueType$1["Type_String"] = 1] = "Type_String";
|
|
44
|
+
SearchValueType$1[SearchValueType$1["Type_Int"] = 2] = "Type_Int";
|
|
45
|
+
SearchValueType$1[SearchValueType$1["Type_Long"] = 3] = "Type_Long";
|
|
46
|
+
SearchValueType$1[SearchValueType$1["Type_Double"] = 4] = "Type_Double";
|
|
47
|
+
SearchValueType$1[SearchValueType$1["Type_Boolean"] = 5] = "Type_Boolean";
|
|
48
|
+
SearchValueType$1[SearchValueType$1["Type_DateTime"] = 6] = "Type_DateTime";
|
|
49
|
+
SearchValueType$1[SearchValueType$1["Type_Guid"] = 7] = "Type_Guid";
|
|
50
|
+
return SearchValueType$1;
|
|
51
|
+
}({});
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/utilities/search/SearchUtilities.ts
|
|
55
|
+
const getSearchObject = (searchFilterElements, page, pageSize, eagerLoad = false, logicalSearchOperator = LogicalSearchOperatorEnums.And, searchFilterGroups = []) => {
|
|
56
|
+
const searchObject = {
|
|
57
|
+
pageNumber: page || 1,
|
|
58
|
+
pageSize: pageSize || 20,
|
|
59
|
+
filterElements: [],
|
|
60
|
+
filterGroups: [],
|
|
61
|
+
orderElements: [],
|
|
62
|
+
groupingType: "",
|
|
63
|
+
groupProperty: [],
|
|
64
|
+
groupOperationList: [],
|
|
65
|
+
eagerLoad,
|
|
66
|
+
logicalSearchOperator
|
|
67
|
+
};
|
|
68
|
+
if (searchFilterElements) searchFilterElements.forEach((property) => {
|
|
69
|
+
const formattedPropertyName = property.searchField;
|
|
70
|
+
searchObject.filterElements = searchFilterElements;
|
|
71
|
+
if (property.sortDirection) {
|
|
72
|
+
const orderElement = {
|
|
73
|
+
sortColumn: formattedPropertyName,
|
|
74
|
+
sortDirection: property.sortDirection
|
|
75
|
+
};
|
|
76
|
+
searchObject.orderElements.push(orderElement);
|
|
77
|
+
}
|
|
78
|
+
if (property.distinct) {
|
|
79
|
+
searchObject.groupingType = SearchGroupingType.Distinct;
|
|
80
|
+
searchObject.groupProperty?.push(formattedPropertyName);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
searchObject.filterGroups = searchFilterGroups;
|
|
84
|
+
return searchObject;
|
|
85
|
+
};
|
|
86
|
+
const getApiMethodIdByPath = (apiMethodList, path) => {
|
|
87
|
+
const foundApiMethod = apiMethodList.find((method) => path.includes(method.path));
|
|
88
|
+
return foundApiMethod?.apiMethodId || null;
|
|
89
|
+
};
|
|
90
|
+
const getSearchIdentifiers = (catalogObjects, catalogReturnObject) => {
|
|
91
|
+
if (!catalogObjects) return [];
|
|
92
|
+
const matchingCatalogObject = catalogObjects.find((co) => co.catalogObjectName === catalogReturnObject);
|
|
93
|
+
const properties = matchingCatalogObject?.properties?.filter((property) => property?.extendedProperties?.identifier);
|
|
94
|
+
return properties?.map((property) => property.name) ?? [];
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Returns a reference to a function that takes an Ag-grid FilterModel object and
|
|
98
|
+
* processes it to create an array of SearchFilters.
|
|
99
|
+
* @param timeZone string or null;
|
|
100
|
+
* @returns Function for processing Ag-grid FilterModel
|
|
101
|
+
*/
|
|
102
|
+
const useConvertFilterModelToSearchFilters = (timeZone = null) => {
|
|
103
|
+
const user = useUser();
|
|
104
|
+
const zone = useMemo(() => {
|
|
105
|
+
let tz = timeZone ?? user?.additionalProperties?.activeUtilityTimeZone ?? "local";
|
|
106
|
+
const validTimeZone = tz !== "local" && (tz === user?.additionalProperties?.activeUtilityTimeZone || IANAZone.isValidZone(tz)) ? tz : "local";
|
|
107
|
+
return validTimeZone;
|
|
108
|
+
}, [timeZone, user]);
|
|
109
|
+
const convertFilterModelToSearchFilters = useCallback((filterModel = null) => {
|
|
110
|
+
if (!filterModel) return [];
|
|
111
|
+
let searchFilters = [];
|
|
112
|
+
searchFilters = Object.entries(filterModel).map((item) => {
|
|
113
|
+
let field = item[0];
|
|
114
|
+
let operator;
|
|
115
|
+
let type;
|
|
116
|
+
let value;
|
|
117
|
+
if (item[1]?.filterType === AgGridFilterTypes.DATE) {
|
|
118
|
+
let dateFilterValueWithoutTime = item[1]?.dateFrom?.substring(0, 10);
|
|
119
|
+
let dateSplit = dateFilterValueWithoutTime.split("-");
|
|
120
|
+
let date = new Date(dateSplit[0], dateSplit[1] - 1, dateSplit[2]);
|
|
121
|
+
const filterDateTimeMidnight = DateTime.fromJSDate(date).setZone(zone, { keepLocalTime: true });
|
|
122
|
+
let dateString = filterDateTimeMidnight.toJSDate().toISOString();
|
|
123
|
+
value = dateString;
|
|
124
|
+
} else if (item[1]?.filterType === AgGridFilterTypes.SET) {
|
|
125
|
+
value = item[1].values.join(",");
|
|
126
|
+
operator = SqlFilterOperators.IN;
|
|
127
|
+
} else value = item[1]?.filter;
|
|
128
|
+
switch (item[1]?.type?.toLowerCase()) {
|
|
129
|
+
case AgGridFilterOperators.CONTAINS:
|
|
130
|
+
operator = SqlFilterOperators.LIKE;
|
|
131
|
+
break;
|
|
132
|
+
case AgGridFilterOperators.EQUALS:
|
|
133
|
+
operator = SqlFilterOperators.EQUALS;
|
|
134
|
+
if (item[1]?.filterType === AgGridFilterTypes.DATE) type = SearchValueType.Type_DateTime;
|
|
135
|
+
break;
|
|
136
|
+
case AgGridFilterOperators.NOT_EQUALS:
|
|
137
|
+
operator = SqlFilterOperators.NOT_EQUALS;
|
|
138
|
+
break;
|
|
139
|
+
case AgGridFilterOperators.GREATER_THAN:
|
|
140
|
+
operator = SqlFilterOperators.GREATER_THAN;
|
|
141
|
+
break;
|
|
142
|
+
case AgGridFilterOperators.GREATER_THAN_OR_EQUAL:
|
|
143
|
+
operator = SqlFilterOperators.GREATER_THAN_OR_EQUAL;
|
|
144
|
+
break;
|
|
145
|
+
case AgGridFilterOperators.LESS_THAN:
|
|
146
|
+
operator = SqlFilterOperators.LESS_THAN;
|
|
147
|
+
break;
|
|
148
|
+
case AgGridFilterOperators.LESS_THAN_OR_EQUAL:
|
|
149
|
+
operator = SqlFilterOperators.LESS_THAN_OR_EQUAL;
|
|
150
|
+
break;
|
|
151
|
+
case AgGridFilterOperators.STARTSWITH:
|
|
152
|
+
operator = SqlFilterOperators.STARTSWITH;
|
|
153
|
+
break;
|
|
154
|
+
case AgGridFilterOperators.IN_RANGE:
|
|
155
|
+
operator = SqlFilterOperators.BETWEEN;
|
|
156
|
+
if (item[1]?.filterType === AgGridFilterTypes.NUMBER) value += "," + item[1]?.filterTo;
|
|
157
|
+
else if (item[1]?.filterType === AgGridFilterTypes.DATE) {
|
|
158
|
+
let dateFilterValueWithoutTime = item[1]?.dateTo?.substring(0, 10);
|
|
159
|
+
let dateSplit = dateFilterValueWithoutTime.split("-");
|
|
160
|
+
let date = new Date(dateSplit[0], dateSplit[1] - 1, dateSplit[2]);
|
|
161
|
+
const filterDateTimeMidnight = DateTime.fromJSDate(date).setZone(zone, { keepLocalTime: true });
|
|
162
|
+
let dateString = filterDateTimeMidnight.toJSDate().toISOString();
|
|
163
|
+
value += "," + dateString;
|
|
164
|
+
}
|
|
165
|
+
break;
|
|
166
|
+
case AgGridFilterOperators.ENDSWITH:
|
|
167
|
+
operator = SqlFilterOperators.ENDSWITH;
|
|
168
|
+
break;
|
|
169
|
+
default: break;
|
|
170
|
+
}
|
|
171
|
+
return {
|
|
172
|
+
searchField: field,
|
|
173
|
+
searchValue: value,
|
|
174
|
+
searchOperator: operator,
|
|
175
|
+
searchValueType: type,
|
|
176
|
+
groupId: null
|
|
177
|
+
};
|
|
178
|
+
});
|
|
179
|
+
return searchFilters;
|
|
180
|
+
}, [zone]);
|
|
181
|
+
return convertFilterModelToSearchFilters;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
//#endregion
|
|
185
|
+
export { SqlFilterOperators, getApiMethodIdByPath, getSearchIdentifiers, getSearchObject, useConvertFilterModelToSearchFilters };
|
|
186
|
+
//# sourceMappingURL=SearchUtilities-URbeAh75.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchUtilities-URbeAh75.js","names":["searchObject: Search","searchFilters: SearchFilters[]"],"sources":["../src/enums/aggridEnums.ts","../src/utilities/search/SearchUtilities.ts"],"sourcesContent":["export enum AgGridFilterOperators {\n CONTAINS = 'contains',\n NOT_CONTAINS = 'notcontains',\n EQUALS = 'equals',\n NOT_EQUALS = 'notequals',\n STARTSWITH = 'startswith',\n ENDSWITH = 'endswith',\n LESS_THAN = 'lessthan',\n LESS_THAN_OR_EQUAL = 'lessthanorequal',\n GREATER_THAN = 'greaterthan',\n GREATER_THAN_OR_EQUAL = 'greaterthanorequal',\n IN_RANGE = 'inrange',\n SET = 'set'\n }\n \n export enum SqlFilterOperators {\n LIKE = 'LIKE',\n EQUALS = '=',\n NOT_EQUALS = '<>',\n LESS_THAN = '<',\n LESS_THAN_OR_EQUAL = '<=',\n GREATER_THAN = '>',\n GREATER_THAN_OR_EQUAL = '>=',\n BETWEEN = 'BETWEEN',\n IN = 'IN',\n STARTSWITH = 'STARTSWITH',\n ENDSWITH = 'ENDSWITH'\n }\n \n export enum AgGridFilterTypes {\n TEXT = 'text',\n NUMBER = 'number',\n DATE = 'date',\n SET = 'set'\n }\n \n export enum SearchValueType {\n Type_String = 1,\n Type_Int = 2,\n Type_Long = 3,\n Type_Double = 4,\n Type_Boolean = 5,\n Type_DateTime = 6,\n Type_Guid = 7\n }\n \n export enum GroupingType {\n DISTINCT = 'DISTINCT',\n AGGREGATE = 'AGGREGATE'\n }","import { useCallback, useMemo } from 'react';\nimport {\n SearchGroupingType,\n LogicalSearchOperatorEnums\n} from '../../enums/unitySystemEnums';\nimport { DateTime, IANAZone } from 'luxon';\nimport { FilterObject, Search, SearchFilters } from './Search';\nimport {\n AgGridFilterOperators,\n AgGridFilterTypes,\n SearchValueType,\n SqlFilterOperators\n} from '../../enums/aggridEnums';\nimport { useUser } from '../auth/useUser';\nimport { FilterElementParamType } from '../../enums/searchEnums';\n\nexport const getSearchObject = (\n searchFilterElements,\n page,\n pageSize,\n eagerLoad = false,\n logicalSearchOperator = LogicalSearchOperatorEnums.And,\n searchFilterGroups = []\n) => {\n const searchObject: Search = {\n pageNumber: page || 1,\n pageSize: pageSize || 20,\n filterElements: [],\n filterGroups: [],\n orderElements: [],\n groupingType: '',\n groupProperty: [],\n groupOperationList: [],\n eagerLoad: eagerLoad,\n logicalSearchOperator: logicalSearchOperator\n };\n\n if (searchFilterElements) {\n searchFilterElements.forEach((property) => {\n const formattedPropertyName = property.searchField;\n searchObject.filterElements = searchFilterElements;\n // adds order elements\n if (property.sortDirection) {\n const orderElement = {\n sortColumn: formattedPropertyName,\n sortDirection: property.sortDirection\n };\n searchObject.orderElements.push(orderElement);\n }\n if (property.distinct) {\n searchObject.groupingType = SearchGroupingType.Distinct;\n searchObject.groupProperty?.push(formattedPropertyName);\n }\n });\n }\n\n searchObject.filterGroups = searchFilterGroups;\n\n return searchObject;\n};\n\nexport const getApiMethodIdByPath = (apiMethodList, path) => {\n const foundApiMethod = apiMethodList.find((method) =>\n path.includes(method.path)\n );\n return foundApiMethod?.apiMethodId || null;\n};\n\nexport const getSearchIdentifiers = (catalogObjects, catalogReturnObject) => {\n if (!catalogObjects) return [];\n const matchingCatalogObject = catalogObjects.find(\n (co) => co.catalogObjectName === catalogReturnObject\n );\n const properties = matchingCatalogObject?.properties?.filter(\n (property) => property?.extendedProperties?.identifier\n );\n return properties?.map((property) => property.name) ?? [];\n};\n\n/**\n * Returns a reference to a function that takes an Ag-grid FilterModel object and\n * processes it to create an array of SearchFilters.\n * @param timeZone string or null;\n * @returns Function for processing Ag-grid FilterModel\n */\nexport const useConvertFilterModelToSearchFilters = (\n timeZone: string | null = null\n) => {\n const user = useUser();\n\n const zone = useMemo(() => {\n let tz =\n timeZone ?? user?.additionalProperties?.activeUtilityTimeZone ?? 'local';\n const validTimeZone =\n tz !== 'local' &&\n (tz === user?.additionalProperties?.activeUtilityTimeZone ||\n IANAZone.isValidZone(tz))\n ? tz\n : 'local'; // IANAZone.isValidZone is very slow, skip it if known valid timeZone passed\n return validTimeZone;\n }, [timeZone, user]);\n\n const convertFilterModelToSearchFilters = useCallback(\n (filterModel: any = null) => {\n if (!filterModel) {\n return [];\n }\n let searchFilters: SearchFilters[] = [];\n searchFilters = Object.entries(filterModel).map(\n (item: FilterObject | any) => {\n let field = item[0];\n let operator;\n let type;\n let value;\n // Set the filter value; dependent on filter type (e.g. Date, Set, etc.)\n if (item[1]?.filterType === AgGridFilterTypes.DATE) {\n // Applies the applicable timezone to the date filter value for usage when\n // constructing the database query.\n let dateFilterValueWithoutTime = item[1]?.dateFrom?.substring(\n 0,\n 10\n ); // e.g. 2022-02-05\n let dateSplit = dateFilterValueWithoutTime.split('-');\n let date = new Date(dateSplit[0], dateSplit[1] - 1, dateSplit[2]);\n const filterDateTimeMidnight = DateTime.fromJSDate(date).setZone(\n zone,\n { keepLocalTime: true }\n );\n let dateString = filterDateTimeMidnight.toJSDate().toISOString();\n value = dateString;\n } else if (item[1]?.filterType === AgGridFilterTypes.SET) {\n value = item[1].values.join(',');\n operator = SqlFilterOperators.IN;\n } else {\n value = item[1]?.filter;\n }\n\n switch (item[1]?.type?.toLowerCase()) {\n case AgGridFilterOperators.CONTAINS:\n operator = SqlFilterOperators.LIKE;\n break;\n case AgGridFilterOperators.EQUALS:\n operator = SqlFilterOperators.EQUALS;\n if (item[1]?.filterType === AgGridFilterTypes.DATE) {\n type = SearchValueType.Type_DateTime;\n }\n break;\n case AgGridFilterOperators.NOT_EQUALS:\n operator = SqlFilterOperators.NOT_EQUALS;\n break;\n case AgGridFilterOperators.GREATER_THAN:\n operator = SqlFilterOperators.GREATER_THAN;\n break;\n case AgGridFilterOperators.GREATER_THAN_OR_EQUAL:\n operator = SqlFilterOperators.GREATER_THAN_OR_EQUAL;\n break;\n case AgGridFilterOperators.LESS_THAN:\n operator = SqlFilterOperators.LESS_THAN;\n break;\n case AgGridFilterOperators.LESS_THAN_OR_EQUAL:\n operator = SqlFilterOperators.LESS_THAN_OR_EQUAL;\n break;\n case AgGridFilterOperators.STARTSWITH:\n operator = SqlFilterOperators.STARTSWITH;\n break;\n case AgGridFilterOperators.IN_RANGE:\n operator = SqlFilterOperators.BETWEEN;\n if (item[1]?.filterType === AgGridFilterTypes.NUMBER) {\n value += ',' + item[1]?.filterTo;\n } else if (item[1]?.filterType === AgGridFilterTypes.DATE) {\n let dateFilterValueWithoutTime = item[1]?.dateTo?.substring(\n 0,\n 10\n ); // e.g. 2022-02-05\n let dateSplit = dateFilterValueWithoutTime.split('-');\n let date = new Date(\n dateSplit[0],\n dateSplit[1] - 1,\n dateSplit[2]\n );\n const filterDateTimeMidnight = DateTime.fromJSDate(\n date\n ).setZone(zone, { keepLocalTime: true });\n let dateString = filterDateTimeMidnight\n .toJSDate()\n .toISOString();\n value += ',' + dateString;\n }\n break;\n case AgGridFilterOperators.ENDSWITH:\n operator = SqlFilterOperators.ENDSWITH;\n break;\n default:\n break;\n }\n return {\n searchField: field,\n searchValue: value,\n searchOperator: operator,\n searchValueType: type,\n groupId: null\n };\n }\n );\n return searchFilters;\n },\n [zone]\n );\n\n return convertFilterModelToSearchFilters;\n};\n"],"mappings":"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"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CsX-DzYB.cjs');
|
|
2
|
+
const require_EnvironmentRibbon = require('./EnvironmentRibbon-C5I-zJ7u.cjs');
|
|
3
|
+
const react = require_chunk.__toESM(require("react"));
|
|
4
|
+
const luxon = require_chunk.__toESM(require("luxon"));
|
|
5
|
+
|
|
6
|
+
//#region src/enums/aggridEnums.ts
|
|
7
|
+
let AgGridFilterOperators = /* @__PURE__ */ function(AgGridFilterOperators$1) {
|
|
8
|
+
AgGridFilterOperators$1["CONTAINS"] = "contains";
|
|
9
|
+
AgGridFilterOperators$1["NOT_CONTAINS"] = "notcontains";
|
|
10
|
+
AgGridFilterOperators$1["EQUALS"] = "equals";
|
|
11
|
+
AgGridFilterOperators$1["NOT_EQUALS"] = "notequals";
|
|
12
|
+
AgGridFilterOperators$1["STARTSWITH"] = "startswith";
|
|
13
|
+
AgGridFilterOperators$1["ENDSWITH"] = "endswith";
|
|
14
|
+
AgGridFilterOperators$1["LESS_THAN"] = "lessthan";
|
|
15
|
+
AgGridFilterOperators$1["LESS_THAN_OR_EQUAL"] = "lessthanorequal";
|
|
16
|
+
AgGridFilterOperators$1["GREATER_THAN"] = "greaterthan";
|
|
17
|
+
AgGridFilterOperators$1["GREATER_THAN_OR_EQUAL"] = "greaterthanorequal";
|
|
18
|
+
AgGridFilterOperators$1["IN_RANGE"] = "inrange";
|
|
19
|
+
AgGridFilterOperators$1["SET"] = "set";
|
|
20
|
+
return AgGridFilterOperators$1;
|
|
21
|
+
}({});
|
|
22
|
+
let SqlFilterOperators = /* @__PURE__ */ function(SqlFilterOperators$1) {
|
|
23
|
+
SqlFilterOperators$1["LIKE"] = "LIKE";
|
|
24
|
+
SqlFilterOperators$1["EQUALS"] = "=";
|
|
25
|
+
SqlFilterOperators$1["NOT_EQUALS"] = "<>";
|
|
26
|
+
SqlFilterOperators$1["LESS_THAN"] = "<";
|
|
27
|
+
SqlFilterOperators$1["LESS_THAN_OR_EQUAL"] = "<=";
|
|
28
|
+
SqlFilterOperators$1["GREATER_THAN"] = ">";
|
|
29
|
+
SqlFilterOperators$1["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
30
|
+
SqlFilterOperators$1["BETWEEN"] = "BETWEEN";
|
|
31
|
+
SqlFilterOperators$1["IN"] = "IN";
|
|
32
|
+
SqlFilterOperators$1["STARTSWITH"] = "STARTSWITH";
|
|
33
|
+
SqlFilterOperators$1["ENDSWITH"] = "ENDSWITH";
|
|
34
|
+
return SqlFilterOperators$1;
|
|
35
|
+
}({});
|
|
36
|
+
let AgGridFilterTypes = /* @__PURE__ */ function(AgGridFilterTypes$1) {
|
|
37
|
+
AgGridFilterTypes$1["TEXT"] = "text";
|
|
38
|
+
AgGridFilterTypes$1["NUMBER"] = "number";
|
|
39
|
+
AgGridFilterTypes$1["DATE"] = "date";
|
|
40
|
+
AgGridFilterTypes$1["SET"] = "set";
|
|
41
|
+
return AgGridFilterTypes$1;
|
|
42
|
+
}({});
|
|
43
|
+
let SearchValueType = /* @__PURE__ */ function(SearchValueType$1) {
|
|
44
|
+
SearchValueType$1[SearchValueType$1["Type_String"] = 1] = "Type_String";
|
|
45
|
+
SearchValueType$1[SearchValueType$1["Type_Int"] = 2] = "Type_Int";
|
|
46
|
+
SearchValueType$1[SearchValueType$1["Type_Long"] = 3] = "Type_Long";
|
|
47
|
+
SearchValueType$1[SearchValueType$1["Type_Double"] = 4] = "Type_Double";
|
|
48
|
+
SearchValueType$1[SearchValueType$1["Type_Boolean"] = 5] = "Type_Boolean";
|
|
49
|
+
SearchValueType$1[SearchValueType$1["Type_DateTime"] = 6] = "Type_DateTime";
|
|
50
|
+
SearchValueType$1[SearchValueType$1["Type_Guid"] = 7] = "Type_Guid";
|
|
51
|
+
return SearchValueType$1;
|
|
52
|
+
}({});
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/utilities/search/SearchUtilities.ts
|
|
56
|
+
const getSearchObject = (searchFilterElements, page, pageSize, eagerLoad = false, logicalSearchOperator = require_EnvironmentRibbon.LogicalSearchOperatorEnums.And, searchFilterGroups = []) => {
|
|
57
|
+
const searchObject = {
|
|
58
|
+
pageNumber: page || 1,
|
|
59
|
+
pageSize: pageSize || 20,
|
|
60
|
+
filterElements: [],
|
|
61
|
+
filterGroups: [],
|
|
62
|
+
orderElements: [],
|
|
63
|
+
groupingType: "",
|
|
64
|
+
groupProperty: [],
|
|
65
|
+
groupOperationList: [],
|
|
66
|
+
eagerLoad,
|
|
67
|
+
logicalSearchOperator
|
|
68
|
+
};
|
|
69
|
+
if (searchFilterElements) searchFilterElements.forEach((property) => {
|
|
70
|
+
const formattedPropertyName = property.searchField;
|
|
71
|
+
searchObject.filterElements = searchFilterElements;
|
|
72
|
+
if (property.sortDirection) {
|
|
73
|
+
const orderElement = {
|
|
74
|
+
sortColumn: formattedPropertyName,
|
|
75
|
+
sortDirection: property.sortDirection
|
|
76
|
+
};
|
|
77
|
+
searchObject.orderElements.push(orderElement);
|
|
78
|
+
}
|
|
79
|
+
if (property.distinct) {
|
|
80
|
+
searchObject.groupingType = require_EnvironmentRibbon.SearchGroupingType.Distinct;
|
|
81
|
+
searchObject.groupProperty?.push(formattedPropertyName);
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
searchObject.filterGroups = searchFilterGroups;
|
|
85
|
+
return searchObject;
|
|
86
|
+
};
|
|
87
|
+
const getApiMethodIdByPath = (apiMethodList, path) => {
|
|
88
|
+
const foundApiMethod = apiMethodList.find((method) => path.includes(method.path));
|
|
89
|
+
return foundApiMethod?.apiMethodId || null;
|
|
90
|
+
};
|
|
91
|
+
const getSearchIdentifiers = (catalogObjects, catalogReturnObject) => {
|
|
92
|
+
if (!catalogObjects) return [];
|
|
93
|
+
const matchingCatalogObject = catalogObjects.find((co) => co.catalogObjectName === catalogReturnObject);
|
|
94
|
+
const properties = matchingCatalogObject?.properties?.filter((property) => property?.extendedProperties?.identifier);
|
|
95
|
+
return properties?.map((property) => property.name) ?? [];
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Returns a reference to a function that takes an Ag-grid FilterModel object and
|
|
99
|
+
* processes it to create an array of SearchFilters.
|
|
100
|
+
* @param timeZone string or null;
|
|
101
|
+
* @returns Function for processing Ag-grid FilterModel
|
|
102
|
+
*/
|
|
103
|
+
const useConvertFilterModelToSearchFilters = (timeZone = null) => {
|
|
104
|
+
const user = require_EnvironmentRibbon.useUser();
|
|
105
|
+
const zone = (0, react.useMemo)(() => {
|
|
106
|
+
let tz = timeZone ?? user?.additionalProperties?.activeUtilityTimeZone ?? "local";
|
|
107
|
+
const validTimeZone = tz !== "local" && (tz === user?.additionalProperties?.activeUtilityTimeZone || luxon.IANAZone.isValidZone(tz)) ? tz : "local";
|
|
108
|
+
return validTimeZone;
|
|
109
|
+
}, [timeZone, user]);
|
|
110
|
+
const convertFilterModelToSearchFilters = (0, react.useCallback)((filterModel = null) => {
|
|
111
|
+
if (!filterModel) return [];
|
|
112
|
+
let searchFilters = [];
|
|
113
|
+
searchFilters = Object.entries(filterModel).map((item) => {
|
|
114
|
+
let field = item[0];
|
|
115
|
+
let operator;
|
|
116
|
+
let type;
|
|
117
|
+
let value;
|
|
118
|
+
if (item[1]?.filterType === AgGridFilterTypes.DATE) {
|
|
119
|
+
let dateFilterValueWithoutTime = item[1]?.dateFrom?.substring(0, 10);
|
|
120
|
+
let dateSplit = dateFilterValueWithoutTime.split("-");
|
|
121
|
+
let date = new Date(dateSplit[0], dateSplit[1] - 1, dateSplit[2]);
|
|
122
|
+
const filterDateTimeMidnight = luxon.DateTime.fromJSDate(date).setZone(zone, { keepLocalTime: true });
|
|
123
|
+
let dateString = filterDateTimeMidnight.toJSDate().toISOString();
|
|
124
|
+
value = dateString;
|
|
125
|
+
} else if (item[1]?.filterType === AgGridFilterTypes.SET) {
|
|
126
|
+
value = item[1].values.join(",");
|
|
127
|
+
operator = SqlFilterOperators.IN;
|
|
128
|
+
} else value = item[1]?.filter;
|
|
129
|
+
switch (item[1]?.type?.toLowerCase()) {
|
|
130
|
+
case AgGridFilterOperators.CONTAINS:
|
|
131
|
+
operator = SqlFilterOperators.LIKE;
|
|
132
|
+
break;
|
|
133
|
+
case AgGridFilterOperators.EQUALS:
|
|
134
|
+
operator = SqlFilterOperators.EQUALS;
|
|
135
|
+
if (item[1]?.filterType === AgGridFilterTypes.DATE) type = SearchValueType.Type_DateTime;
|
|
136
|
+
break;
|
|
137
|
+
case AgGridFilterOperators.NOT_EQUALS:
|
|
138
|
+
operator = SqlFilterOperators.NOT_EQUALS;
|
|
139
|
+
break;
|
|
140
|
+
case AgGridFilterOperators.GREATER_THAN:
|
|
141
|
+
operator = SqlFilterOperators.GREATER_THAN;
|
|
142
|
+
break;
|
|
143
|
+
case AgGridFilterOperators.GREATER_THAN_OR_EQUAL:
|
|
144
|
+
operator = SqlFilterOperators.GREATER_THAN_OR_EQUAL;
|
|
145
|
+
break;
|
|
146
|
+
case AgGridFilterOperators.LESS_THAN:
|
|
147
|
+
operator = SqlFilterOperators.LESS_THAN;
|
|
148
|
+
break;
|
|
149
|
+
case AgGridFilterOperators.LESS_THAN_OR_EQUAL:
|
|
150
|
+
operator = SqlFilterOperators.LESS_THAN_OR_EQUAL;
|
|
151
|
+
break;
|
|
152
|
+
case AgGridFilterOperators.STARTSWITH:
|
|
153
|
+
operator = SqlFilterOperators.STARTSWITH;
|
|
154
|
+
break;
|
|
155
|
+
case AgGridFilterOperators.IN_RANGE:
|
|
156
|
+
operator = SqlFilterOperators.BETWEEN;
|
|
157
|
+
if (item[1]?.filterType === AgGridFilterTypes.NUMBER) value += "," + item[1]?.filterTo;
|
|
158
|
+
else if (item[1]?.filterType === AgGridFilterTypes.DATE) {
|
|
159
|
+
let dateFilterValueWithoutTime = item[1]?.dateTo?.substring(0, 10);
|
|
160
|
+
let dateSplit = dateFilterValueWithoutTime.split("-");
|
|
161
|
+
let date = new Date(dateSplit[0], dateSplit[1] - 1, dateSplit[2]);
|
|
162
|
+
const filterDateTimeMidnight = luxon.DateTime.fromJSDate(date).setZone(zone, { keepLocalTime: true });
|
|
163
|
+
let dateString = filterDateTimeMidnight.toJSDate().toISOString();
|
|
164
|
+
value += "," + dateString;
|
|
165
|
+
}
|
|
166
|
+
break;
|
|
167
|
+
case AgGridFilterOperators.ENDSWITH:
|
|
168
|
+
operator = SqlFilterOperators.ENDSWITH;
|
|
169
|
+
break;
|
|
170
|
+
default: break;
|
|
171
|
+
}
|
|
172
|
+
return {
|
|
173
|
+
searchField: field,
|
|
174
|
+
searchValue: value,
|
|
175
|
+
searchOperator: operator,
|
|
176
|
+
searchValueType: type,
|
|
177
|
+
groupId: null
|
|
178
|
+
};
|
|
179
|
+
});
|
|
180
|
+
return searchFilters;
|
|
181
|
+
}, [zone]);
|
|
182
|
+
return convertFilterModelToSearchFilters;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
//#endregion
|
|
186
|
+
Object.defineProperty(exports, 'SqlFilterOperators', {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () {
|
|
189
|
+
return SqlFilterOperators;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, 'getApiMethodIdByPath', {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () {
|
|
195
|
+
return getApiMethodIdByPath;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(exports, 'getSearchIdentifiers', {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () {
|
|
201
|
+
return getSearchIdentifiers;
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, 'getSearchObject', {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () {
|
|
207
|
+
return getSearchObject;
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(exports, 'useConvertFilterModelToSearchFilters', {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () {
|
|
213
|
+
return useConvertFilterModelToSearchFilters;
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
//# sourceMappingURL=SearchUtilities-kF1roS4F.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchUtilities-kF1roS4F.cjs","names":["LogicalSearchOperatorEnums","searchObject: Search","SearchGroupingType","useUser","IANAZone","searchFilters: SearchFilters[]","DateTime"],"sources":["../src/enums/aggridEnums.ts","../src/utilities/search/SearchUtilities.ts"],"sourcesContent":["export enum AgGridFilterOperators {\n CONTAINS = 'contains',\n NOT_CONTAINS = 'notcontains',\n EQUALS = 'equals',\n NOT_EQUALS = 'notequals',\n STARTSWITH = 'startswith',\n ENDSWITH = 'endswith',\n LESS_THAN = 'lessthan',\n LESS_THAN_OR_EQUAL = 'lessthanorequal',\n GREATER_THAN = 'greaterthan',\n GREATER_THAN_OR_EQUAL = 'greaterthanorequal',\n IN_RANGE = 'inrange',\n SET = 'set'\n }\n \n export enum SqlFilterOperators {\n LIKE = 'LIKE',\n EQUALS = '=',\n NOT_EQUALS = '<>',\n LESS_THAN = '<',\n LESS_THAN_OR_EQUAL = '<=',\n GREATER_THAN = '>',\n GREATER_THAN_OR_EQUAL = '>=',\n BETWEEN = 'BETWEEN',\n IN = 'IN',\n STARTSWITH = 'STARTSWITH',\n ENDSWITH = 'ENDSWITH'\n }\n \n export enum AgGridFilterTypes {\n TEXT = 'text',\n NUMBER = 'number',\n DATE = 'date',\n SET = 'set'\n }\n \n export enum SearchValueType {\n Type_String = 1,\n Type_Int = 2,\n Type_Long = 3,\n Type_Double = 4,\n Type_Boolean = 5,\n Type_DateTime = 6,\n Type_Guid = 7\n }\n \n export enum GroupingType {\n DISTINCT = 'DISTINCT',\n AGGREGATE = 'AGGREGATE'\n }","import { useCallback, useMemo } from 'react';\nimport {\n SearchGroupingType,\n LogicalSearchOperatorEnums\n} from '../../enums/unitySystemEnums';\nimport { DateTime, IANAZone } from 'luxon';\nimport { FilterObject, Search, SearchFilters } from './Search';\nimport {\n AgGridFilterOperators,\n AgGridFilterTypes,\n SearchValueType,\n SqlFilterOperators\n} from '../../enums/aggridEnums';\nimport { useUser } from '../auth/useUser';\nimport { FilterElementParamType } from '../../enums/searchEnums';\n\nexport const getSearchObject = (\n searchFilterElements,\n page,\n pageSize,\n eagerLoad = false,\n logicalSearchOperator = LogicalSearchOperatorEnums.And,\n searchFilterGroups = []\n) => {\n const searchObject: Search = {\n pageNumber: page || 1,\n pageSize: pageSize || 20,\n filterElements: [],\n filterGroups: [],\n orderElements: [],\n groupingType: '',\n groupProperty: [],\n groupOperationList: [],\n eagerLoad: eagerLoad,\n logicalSearchOperator: logicalSearchOperator\n };\n\n if (searchFilterElements) {\n searchFilterElements.forEach((property) => {\n const formattedPropertyName = property.searchField;\n searchObject.filterElements = searchFilterElements;\n // adds order elements\n if (property.sortDirection) {\n const orderElement = {\n sortColumn: formattedPropertyName,\n sortDirection: property.sortDirection\n };\n searchObject.orderElements.push(orderElement);\n }\n if (property.distinct) {\n searchObject.groupingType = SearchGroupingType.Distinct;\n searchObject.groupProperty?.push(formattedPropertyName);\n }\n });\n }\n\n searchObject.filterGroups = searchFilterGroups;\n\n return searchObject;\n};\n\nexport const getApiMethodIdByPath = (apiMethodList, path) => {\n const foundApiMethod = apiMethodList.find((method) =>\n path.includes(method.path)\n );\n return foundApiMethod?.apiMethodId || null;\n};\n\nexport const getSearchIdentifiers = (catalogObjects, catalogReturnObject) => {\n if (!catalogObjects) return [];\n const matchingCatalogObject = catalogObjects.find(\n (co) => co.catalogObjectName === catalogReturnObject\n );\n const properties = matchingCatalogObject?.properties?.filter(\n (property) => property?.extendedProperties?.identifier\n );\n return properties?.map((property) => property.name) ?? [];\n};\n\n/**\n * Returns a reference to a function that takes an Ag-grid FilterModel object and\n * processes it to create an array of SearchFilters.\n * @param timeZone string or null;\n * @returns Function for processing Ag-grid FilterModel\n */\nexport const useConvertFilterModelToSearchFilters = (\n timeZone: string | null = null\n) => {\n const user = useUser();\n\n const zone = useMemo(() => {\n let tz =\n timeZone ?? user?.additionalProperties?.activeUtilityTimeZone ?? 'local';\n const validTimeZone =\n tz !== 'local' &&\n (tz === user?.additionalProperties?.activeUtilityTimeZone ||\n IANAZone.isValidZone(tz))\n ? tz\n : 'local'; // IANAZone.isValidZone is very slow, skip it if known valid timeZone passed\n return validTimeZone;\n }, [timeZone, user]);\n\n const convertFilterModelToSearchFilters = useCallback(\n (filterModel: any = null) => {\n if (!filterModel) {\n return [];\n }\n let searchFilters: SearchFilters[] = [];\n searchFilters = Object.entries(filterModel).map(\n (item: FilterObject | any) => {\n let field = item[0];\n let operator;\n let type;\n let value;\n // Set the filter value; dependent on filter type (e.g. Date, Set, etc.)\n if (item[1]?.filterType === AgGridFilterTypes.DATE) {\n // Applies the applicable timezone to the date filter value for usage when\n // constructing the database query.\n let dateFilterValueWithoutTime = item[1]?.dateFrom?.substring(\n 0,\n 10\n ); // e.g. 2022-02-05\n let dateSplit = dateFilterValueWithoutTime.split('-');\n let date = new Date(dateSplit[0], dateSplit[1] - 1, dateSplit[2]);\n const filterDateTimeMidnight = DateTime.fromJSDate(date).setZone(\n zone,\n { keepLocalTime: true }\n );\n let dateString = filterDateTimeMidnight.toJSDate().toISOString();\n value = dateString;\n } else if (item[1]?.filterType === AgGridFilterTypes.SET) {\n value = item[1].values.join(',');\n operator = SqlFilterOperators.IN;\n } else {\n value = item[1]?.filter;\n }\n\n switch (item[1]?.type?.toLowerCase()) {\n case AgGridFilterOperators.CONTAINS:\n operator = SqlFilterOperators.LIKE;\n break;\n case AgGridFilterOperators.EQUALS:\n operator = SqlFilterOperators.EQUALS;\n if (item[1]?.filterType === AgGridFilterTypes.DATE) {\n type = SearchValueType.Type_DateTime;\n }\n break;\n case AgGridFilterOperators.NOT_EQUALS:\n operator = SqlFilterOperators.NOT_EQUALS;\n break;\n case AgGridFilterOperators.GREATER_THAN:\n operator = SqlFilterOperators.GREATER_THAN;\n break;\n case AgGridFilterOperators.GREATER_THAN_OR_EQUAL:\n operator = SqlFilterOperators.GREATER_THAN_OR_EQUAL;\n break;\n case AgGridFilterOperators.LESS_THAN:\n operator = SqlFilterOperators.LESS_THAN;\n break;\n case AgGridFilterOperators.LESS_THAN_OR_EQUAL:\n operator = SqlFilterOperators.LESS_THAN_OR_EQUAL;\n break;\n case AgGridFilterOperators.STARTSWITH:\n operator = SqlFilterOperators.STARTSWITH;\n break;\n case AgGridFilterOperators.IN_RANGE:\n operator = SqlFilterOperators.BETWEEN;\n if (item[1]?.filterType === AgGridFilterTypes.NUMBER) {\n value += ',' + item[1]?.filterTo;\n } else if (item[1]?.filterType === AgGridFilterTypes.DATE) {\n let dateFilterValueWithoutTime = item[1]?.dateTo?.substring(\n 0,\n 10\n ); // e.g. 2022-02-05\n let dateSplit = dateFilterValueWithoutTime.split('-');\n let date = new Date(\n dateSplit[0],\n dateSplit[1] - 1,\n dateSplit[2]\n );\n const filterDateTimeMidnight = DateTime.fromJSDate(\n date\n ).setZone(zone, { keepLocalTime: true });\n let dateString = filterDateTimeMidnight\n .toJSDate()\n .toISOString();\n value += ',' + dateString;\n }\n break;\n case AgGridFilterOperators.ENDSWITH:\n operator = SqlFilterOperators.ENDSWITH;\n break;\n default:\n break;\n }\n return {\n searchField: field,\n searchValue: value,\n searchOperator: operator,\n searchValueType: type,\n groupId: null\n };\n }\n );\n return searchFilters;\n },\n [zone]\n );\n\n return convertFilterModelToSearchFilters;\n};\n"],"mappings":";;;;;;AAAA,IAAY,0EAAL;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD;AAED,IAAY,oEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACD;AAED,IAAY,kEAAL;AACL;AACA;AACA;AACA;;AACD;AAED,IAAY,8DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AACD;;;;AC5BH,MAAa,mBACX,sBACA,MACA,UACA,YAAY,OACZ,wBAAwBA,qDAA2B,KACnD,qBAAqB,EAAE,KACpB;CACH,MAAMC,eAAuB;EAC3B,YAAY,QAAQ;EACpB,UAAU,YAAY;EACtB,gBAAgB,EAAE;EAClB,cAAc,EAAE;EAChB,eAAe,EAAE;EACjB,cAAc;EACd,eAAe,EAAE;EACjB,oBAAoB,EAAE;EACX;EACY;EACxB;AAED,KAAI,qBACF,sBAAqB,SAAS,aAAa;EACzC,MAAM,wBAAwB,SAAS;AACvC,eAAa,iBAAiB;AAE9B,MAAI,SAAS,eAAe;GAC1B,MAAM,eAAe;IACnB,YAAY;IACZ,eAAe,SAAS;IACzB;AACD,gBAAa,cAAc,KAAK;EACjC;AACD,MAAI,SAAS,UAAU;AACrB,gBAAa,eAAeC,6CAAmB;AAC/C,gBAAa,eAAe,KAAK;EAClC;CACF;AAGH,cAAa,eAAe;AAE5B,QAAO;AACR;AAED,MAAa,wBAAwB,eAAe,SAAS;CAC3D,MAAM,iBAAiB,cAAc,MAAM,WACzC,KAAK,SAAS,OAAO;AAEvB,QAAO,gBAAgB,eAAe;AACvC;AAED,MAAa,wBAAwB,gBAAgB,wBAAwB;AAC3E,KAAI,CAAC,eAAgB,QAAO,EAAE;CAC9B,MAAM,wBAAwB,eAAe,MAC1C,OAAO,GAAG,sBAAsB;CAEnC,MAAM,aAAa,uBAAuB,YAAY,QACnD,aAAa,UAAU,oBAAoB;AAE9C,QAAO,YAAY,KAAK,aAAa,SAAS,SAAS,EAAE;AAC1D;;;;;;;AAQD,MAAa,wCACX,WAA0B,SACvB;CACH,MAAM,OAAOC;CAEb,MAAM,gCAAqB;EACzB,IAAI,KACF,YAAY,MAAM,sBAAsB,yBAAyB;EACnE,MAAM,gBACJ,OAAO,YACN,OAAO,MAAM,sBAAsB,yBAClCC,eAAS,YAAY,OACnB,KACA;AACN,SAAO;CACR,GAAE,CAAC,UAAU,KAAK;CAEnB,MAAM,4DACH,cAAmB,SAAS;AAC3B,MAAI,CAAC,YACH,QAAO,EAAE;EAEX,IAAIC,gBAAiC,EAAE;AACvC,kBAAgB,OAAO,QAAQ,aAAa,KACzC,SAA6B;GAC5B,IAAI,QAAQ,KAAK;GACjB,IAAI;GACJ,IAAI;GACJ,IAAI;AAEJ,OAAI,KAAK,IAAI,eAAe,kBAAkB,MAAM;IAGlD,IAAI,6BAA6B,KAAK,IAAI,UAAU,UAClD,GACA;IAEF,IAAI,YAAY,2BAA2B,MAAM;IACjD,IAAI,OAAO,IAAI,KAAK,UAAU,IAAI,UAAU,KAAK,GAAG,UAAU;IAC9D,MAAM,yBAAyBC,eAAS,WAAW,MAAM,QACvD,MACA,EAAE,eAAe,MAAM;IAEzB,IAAI,aAAa,uBAAuB,WAAW;AACnD,YAAQ;GACT,WAAU,KAAK,IAAI,eAAe,kBAAkB,KAAK;AACxD,YAAQ,KAAK,GAAG,OAAO,KAAK;AAC5B,eAAW,mBAAmB;GAC/B,MACC,SAAQ,KAAK,IAAI;AAGnB,WAAQ,KAAK,IAAI,MAAM,eAAvB;IACE,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B,SAAI,KAAK,IAAI,eAAe,kBAAkB,KAC5C,QAAO,gBAAgB;AAEzB;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B,SAAI,KAAK,IAAI,eAAe,kBAAkB,OAC5C,UAAS,MAAM,KAAK,IAAI;cACf,KAAK,IAAI,eAAe,kBAAkB,MAAM;MACzD,IAAI,6BAA6B,KAAK,IAAI,QAAQ,UAChD,GACA;MAEF,IAAI,YAAY,2BAA2B,MAAM;MACjD,IAAI,OAAO,IAAI,KACb,UAAU,IACV,UAAU,KAAK,GACf,UAAU;MAEZ,MAAM,yBAAyBA,eAAS,WACtC,MACA,QAAQ,MAAM,EAAE,eAAe,MAAM;MACvC,IAAI,aAAa,uBACd,WACA;AACH,eAAS,MAAM;KAChB;AACD;IACF,KAAK,sBAAsB;AACzB,gBAAW,mBAAmB;AAC9B;IACF,QACE;GACH;AACD,UAAO;IACL,aAAa;IACb,aAAa;IACb,gBAAgB;IAChB,iBAAiB;IACjB,SAAS;IACV;EACF;AAEH,SAAO;CACR,GACD,CAAC,KAAK;AAGR,QAAO;AACR"}
|