udp-react-enterprise-component-library 25.18.1-beta.16 → 25.18.1-beta.17
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/{FieldArrayCard-56TLTaZc.js → FieldArrayCard-KGSDXwrq.js} +1 -1
- package/dist/{FieldArrayCard-56TLTaZc.js.map → FieldArrayCard-KGSDXwrq.js.map} +1 -1
- package/dist/{FluentProfileMenuCard-DNEXKlnU.js → FluentProfileMenuCard-DPPx-nDJ.js} +5 -5
- package/dist/{FluentProfileMenuCard-DNEXKlnU.js.map → FluentProfileMenuCard-DPPx-nDJ.js.map} +1 -1
- package/dist/{MyExportsPage-lqTyApig.js → MyExportsPage-3e8kRwNT.js} +2 -2
- package/dist/{MyExportsPage-lqTyApig.js.map → MyExportsPage-3e8kRwNT.js.map} +1 -1
- package/dist/{MyExportsPage-Bw0ueYE_.js → MyExportsPage-D3yr41VC.js} +2 -2
- package/dist/{RejectIcon-9a6AQhFS.js → RejectIcon-DNo11W_H.js} +1 -1
- package/dist/{RejectIcon-9a6AQhFS.js.map → RejectIcon-DNo11W_H.js.map} +1 -1
- package/dist/{Shell-CtVpJXxY.js → Shell-FkTfRpO5.js} +2 -2
- package/dist/{Shell-CtVpJXxY.js.map → Shell-FkTfRpO5.js.map} +1 -1
- package/dist/{SimpleTable-qZ0yJQ7F.js → SimpleTable-DX9xdKYK.js} +1 -1
- package/dist/{SimpleTable-qZ0yJQ7F.js.map → SimpleTable-DX9xdKYK.js.map} +1 -1
- package/dist/{StatusCellRenderer-DOYDkiZu.js → StatusCellRenderer-DK3MexwY.js} +1 -1
- package/dist/{StatusCellRenderer-DOYDkiZu.js.map → StatusCellRenderer-DK3MexwY.js.map} +1 -1
- package/dist/{SupportCaseSideSheet-DPfapAFC.js → SupportCaseSideSheet-BTCZjI26.js} +1 -1
- package/dist/{SupportCaseSideSheet-DPfapAFC.js.map → SupportCaseSideSheet-BTCZjI26.js.map} +1 -1
- package/dist/{SupportCaseSideSheet-D5VyeXgu.js → SupportCaseSideSheet-Bv9FsrIk.js} +1 -1
- package/dist/UI/accordion/index.js +1 -1
- package/dist/UI/advancedSearchBuilder/index.js +1 -1
- package/dist/UI/charts/index.js +1 -1
- package/dist/UI/components/dataDisplay/index.js +1 -1
- package/dist/UI/components/feedback/index.js +1 -1
- package/dist/UI/components/index.js +3 -3
- package/dist/UI/containers/index.js +1 -1
- package/dist/UI/dataDisplay/FluentActivity/index.js +1 -1
- package/dist/UI/dataDisplay/FluentDataTable/index.js +1 -1
- package/dist/UI/dataDisplay/index.js +3 -3
- package/dist/UI/feedback/index.js +1 -1
- package/dist/UI/fileViewer/index.js +1 -1
- package/dist/UI/floorplans/index.js +1 -1
- package/dist/UI/forms/index.js +2 -2
- package/dist/UI/iframe/index.js +1 -1
- package/dist/UI/index.js +41 -41
- package/dist/UI/inputs/fieldArrayCard/index.js +1 -1
- package/dist/UI/loading/index.js +1 -1
- package/dist/UI/mapLayout/index.js +1 -1
- package/dist/UI/maps/index.js +2 -2
- package/dist/UI/navigation/index.js +4 -4
- package/dist/UI/navigation/menus/index.js +1 -1
- package/dist/UI/navigation/tabs/defaultTabs/index.js +1 -1
- package/dist/UI/navigation/tabs/index.js +2 -2
- package/dist/UI/property/index.js +1 -1
- package/dist/UI/stepper/index.js +1 -1
- package/dist/UI/support/index.js +2 -2
- package/dist/UI/surfaces/NestedGrid/index.js +2 -2
- package/dist/UI/surfaces/NestedGrid/ui/index.js +1 -1
- package/dist/UI/surfaces/cards/index.js +1 -1
- package/dist/UI/surfaces/index.js +4 -4
- package/dist/UI/templates/index.js +1 -1
- package/dist/UI/templates/ui/renderers/index.js +2 -1
- package/dist/UI/timeline/fluentTimeline/index.js +1 -1
- package/dist/UI/timeline/index.js +2 -2
- package/dist/UI/utilityDisplay/alerts/index.js +1 -1
- package/dist/UI/utilityDisplay/index.js +5 -5
- package/dist/UI/utilityDisplay/ui/index.js +1 -1
- package/dist/UI/utilityDisplay/utilities/index.js +1 -1
- package/dist/UI/utilityDisplay/utilityHeader/index.js +1 -1
- package/dist/UI/widgets/FluentComponents/index.js +1 -1
- package/dist/UI/widgets/index.js +1 -1
- package/dist/UI/widgets/library/TableWidget/index.js +1 -1
- package/dist/{UdpFormsSubmissionGrid-Bzo5wcCS.js → UdpFormsSubmissionGrid-DesZibh4.js} +139 -20
- package/dist/UdpFormsSubmissionGrid-DesZibh4.js.map +1 -0
- package/dist/{UdpMap-DB0qsBfI.js → UdpMap-BgkNp2X2.js} +1 -1
- package/dist/{UdpMap-DB0qsBfI.js.map → UdpMap-BgkNp2X2.js.map} +1 -1
- package/dist/{UdpRoutes-CI1py_NT.js → UdpRoutes-Bbd0O-Yg.js} +3 -3
- package/dist/{UdpRoutes-CI1py_NT.js.map → UdpRoutes-Bbd0O-Yg.js.map} +1 -1
- package/dist/{UserFormSideSheet-DI9PhY_8.js → UserFormSideSheet-2QRJUUnm.js} +1 -1
- package/dist/{UserFormSideSheet-DI9PhY_8.js.map → UserFormSideSheet-2QRJUUnm.js.map} +1 -1
- package/dist/{UserFormSideSheet-D7hlvi7a.js → UserFormSideSheet-DGU02bqo.js} +1 -1
- package/dist/{VirtualBrowser-5hAz3UE3.js → VirtualBrowser-CKvzgu8L.js} +2 -2
- package/dist/{VirtualBrowser-5hAz3UE3.js.map → VirtualBrowser-CKvzgu8L.js.map} +1 -1
- package/dist/{VirtualBrowser-rYIbYWoG.js → VirtualBrowser-CxAjZWKa.js} +2 -2
- package/dist/{VirtualForm-IeyAdA0M.js → VirtualForm-Dj5FMp9u.js} +1 -1
- package/dist/{VirtualForm-IeyAdA0M.js.map → VirtualForm-Dj5FMp9u.js.map} +1 -1
- package/dist/actions/index.js +2 -2
- package/dist/actions/sidebar/index.js +1 -1
- package/dist/actions/utils/index.js +1 -1
- package/dist/{cards-DPBDLDXw.js → cards-Bpy1zoxV.js} +1 -1
- package/dist/{cards-DPBDLDXw.js.map → cards-Bpy1zoxV.js.map} +1 -1
- package/dist/componentSystems/multiThreadTimeline/functions/index.js +1 -1
- package/dist/componentSystems/multiThreadTimeline/index.js +5 -5
- package/dist/componentSystems/multiThreadTimeline/mttMainTimeline/index.js +1 -1
- package/dist/componentSystems/multiThreadTimeline/mttSummary/index.js +1 -1
- package/dist/componentSystems/multiThreadTimeline/ui/index.js +2 -2
- package/dist/componentSystems/multiThreadTimeline/ui/modified/index.js +1 -1
- package/dist/componentSystems/pageRenderer/hocs/index.js +1 -1
- package/dist/componentSystems/pageRenderer/hooks/index.js +1 -1
- package/dist/componentSystems/pageRenderer/index.js +4 -4
- package/dist/componentSystems/pageRenderer/utils/index.js +1 -1
- package/dist/componentSystems/pageRenderer/wrappers/index.js +1 -1
- package/dist/dataBrowser/forms/index.js +1 -1
- package/dist/dataBrowser/index.js +1 -1
- package/dist/{dataDisplay-BSQWZtf2.js → dataDisplay-CBFgak2F.js} +1 -1
- package/dist/{dataDisplay-BSQWZtf2.js.map → dataDisplay-CBFgak2F.js.map} +1 -1
- package/dist/{defaultTabs-DWvaZLda.js → defaultTabs-CVeUq9lw.js} +1 -1
- package/dist/{defaultTabs-DWvaZLda.js.map → defaultTabs-CVeUq9lw.js.map} +1 -1
- package/dist/index.js +11 -10
- package/dist/maintenanceEngine/crudBrowser/index.js +1 -1
- package/dist/maintenanceEngine/index.js +5 -5
- package/dist/maintenanceEngine/tableBrowser/index.js +1 -1
- package/dist/maintenanceEngine/virtualBrowser/index.js +3 -3
- package/dist/routes/index.js +1 -1
- package/dist/shell/index.js +6 -6
- package/dist/shell/ui/addUser/index.js +2 -2
- package/dist/shell/ui/appSwitcher/index.js +1 -1
- package/dist/shell/ui/index.js +5 -5
- package/dist/types/src/udp/pages/UdpFormsSubmissionGrid/UdpFormsSubmissionGrid.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/udp/export/index.js +2 -2
- package/dist/udp/pages/UdpFormsSubmissionGrid/index.js +7 -1
- package/dist/{ui-D8rpUgCH.js → ui-gRqaK08H.js} +1 -1
- package/dist/{ui-D8rpUgCH.js.map → ui-gRqaK08H.js.map} +1 -1
- package/dist/utilities/customIcons/index.js +1 -1
- package/dist/workflow/components/index.js +1 -1
- package/dist/workflow/index.js +2 -2
- package/dist/workflow/menus/index.js +1 -1
- package/dist/wrappers-CGE2HK5z.js +1 -0
- package/export-map.json +1 -1
- package/package.json +1 -1
- package/dist/UdpFormsSubmissionGrid-Bzo5wcCS.js.map +0 -1
- /package/dist/{FluentActivity-ZmR91KuL.js → FluentActivity-DNv5ppko.js} +0 -0
- /package/dist/{FluentDataTable-D6CwFLEV.js → FluentDataTable-BXPIqR8m.js} +0 -0
- /package/dist/{NestedGrid-Bpe6Gn2t.js → NestedGrid-CQ_tEe-B.js} +0 -0
- /package/dist/{accordion-Cna7x6KZ.js → accordion-BLXGkcTH.js} +0 -0
- /package/dist/{addUser-Rm753Rdx.js → addUser-D2pqu0AW.js} +0 -0
- /package/dist/{advancedSearchBuilder-B90LZRh_.js → advancedSearchBuilder-DAGBcP1-.js} +0 -0
- /package/dist/{alerts-BEzneJqz.js → alerts-Gbvcpl4E.js} +0 -0
- /package/dist/{appSwitcher-CyJs9WuC.js → appSwitcher-Cj_OxE8O.js} +0 -0
- /package/dist/{charts-Du-Q0llq.js → charts-R51kXdbo.js} +0 -0
- /package/dist/{components-C5coF-wQ.js → components-BbPynQ4E.js} +0 -0
- /package/dist/{components-CoC-8_zm.js → components-HFPHj0Z0.js} +0 -0
- /package/dist/{containers-_3rkuZoE.js → containers-Do3V9CjC.js} +0 -0
- /package/dist/{crudBrowser-CdhcPPcg.js → crudBrowser-CNJMNMPk.js} +0 -0
- /package/dist/{dataDisplay-DIgTM1UM.js → dataDisplay-CHdSKRO0.js} +0 -0
- /package/dist/{feedback-B05CkZXj.js → feedback-DL6EKTOa.js} +0 -0
- /package/dist/{feedback-BDi9oRUo.js → feedback-Dw-Qh7A6.js} +0 -0
- /package/dist/{fileViewer-DRwdxYw_.js → fileViewer-CMBhBXGp.js} +0 -0
- /package/dist/{floorplans-Dl2AyLhb.js → floorplans-CtbDAfnq.js} +0 -0
- /package/dist/{fluentTimeline--3Q718UR.js → fluentTimeline-BbvrZFSz.js} +0 -0
- /package/dist/{forms-BHhy_qYQ.js → forms-Bqbd2PSS.js} +0 -0
- /package/dist/{forms-CVEaCedp.js → forms-uSV7-14b.js} +0 -0
- /package/dist/{functions-CwSJZI3C.js → functions-BKH-pLPX.js} +0 -0
- /package/dist/{hocs-DuC-vCkb.js → hocs-DwAy8u5A.js} +0 -0
- /package/dist/{hooks-D_mILYbQ.js → hooks-B7ab4j1m.js} +0 -0
- /package/dist/{iframe-AW8kvPvm.js → iframe-TEQyCzjj.js} +0 -0
- /package/dist/{loading-B3JBL1wZ.js → loading-BwkuGJoi.js} +0 -0
- /package/dist/{mapLayout-C6RRQSQH.js → mapLayout-Cg6spO9k.js} +0 -0
- /package/dist/{maps-BtJVT799.js → maps-D2whP8Zh.js} +0 -0
- /package/dist/{menus-C7WHOHJR.js → menus-DugtDOhA.js} +0 -0
- /package/dist/{menus-DShZlpFc.js → menus-VWidUTp_.js} +0 -0
- /package/dist/{modified-BPc6aUrP.js → modified--RrdyRlS.js} +0 -0
- /package/dist/{mttMainTimeline-DUbkEEOm.js → mttMainTimeline-DFHSLEBw.js} +0 -0
- /package/dist/{mttSummary-CQ7CNsq1.js → mttSummary-BrQ0Tb62.js} +0 -0
- /package/dist/{navigation-CJVbXvHa.js → navigation-2kyWDJg1.js} +0 -0
- /package/dist/{property-CbQRfYWe.js → property-CB8U10nw.js} +0 -0
- /package/dist/{sidebar-CNPzO9Fp.js → renderers-BI4w5Al3.js} +0 -0
- /package/dist/{stepper-B7huBKfi.js → sidebar-C8yBp4eL.js} +0 -0
- /package/dist/{support-NC4OMh9O.js → stepper-sZXSP0dk.js} +0 -0
- /package/dist/{surfaces-BCTDrjpT.js → support-BhMVhBcD.js} +0 -0
- /package/dist/{tableBrowser-Bn8IK1Xe.js → surfaces-B445R0FQ.js} +0 -0
- /package/dist/{tabs-BNJtY5Hp.js → tableBrowser-BRVY65f3.js} +0 -0
- /package/dist/{templates-B2aOg0L7.js → tabs-BMrd1KM-.js} +0 -0
- /package/dist/{timeline-DJIkHTcL.js → templates-CQ8zAjnU.js} +0 -0
- /package/dist/{ui-BcDKhtx3.js → timeline-x3kpYbLD.js} +0 -0
- /package/dist/{ui-C--uraG2.js → ui-BjpkPJO5.js} +0 -0
- /package/dist/{ui-DKHa8sM6.js → ui-Bqag992Z.js} +0 -0
- /package/dist/{utilities-CxBf7Ev-.js → ui-DBhxlgrk.js} +0 -0
- /package/dist/{utilityDisplay-BaXrFO-O.js → utilities-CMoiGbGt.js} +0 -0
- /package/dist/{utilityHeader-Dt6H4wad.js → utilityDisplay-BHYWs3gf.js} +0 -0
- /package/dist/{utils-B-VgChNQ.js → utilityHeader-BsUlwtE7.js} +0 -0
- /package/dist/{utils-CfkvLUFW.js → utils-CRdMZZPC.js} +0 -0
- /package/dist/{virtualBrowser-n3zfV2w2.js → utils-Cpcp_Rx8.js} +0 -0
- /package/dist/{widgets-CATYcCRH.js → virtualBrowser-pfw07Czd.js} +0 -0
- /package/dist/{wrappers-BaMCCFNw.js → widgets-BcHFxfRK.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shell-CtVpJXxY.js","names":["menus","SiteHeader","NavigationSidebar","FUIAppSwitcher"],"sources":["../src/shell/Shell.jsx"],"sourcesContent":["import React, { useState, useEffect, useMemo, useCallback } from 'react';\nimport { makeStyles, Drawer, useMediaQuery, useTheme } from '@material-ui/core';\nimport NavigationSidebar from './ui/NavigationSidebar';\nimport SiteHeader from './ui/SiteHeader';\nimport { UtilityBar } from '../UI/utilityDisplay/UtilityBar';\nimport { useTranslation } from 'react-i18next';\nimport FUIAppSwitcher from './ui/appSwitcher/FUIAppSwitcher';\nimport { getMenuItemsRecursively } from '../utilities/menus/menuUtilities';\nimport clsx from 'clsx';\nimport { UtilitySideBar } from '../UI/utilityDisplay/UtilitySideBar';\nimport PropTypes from 'prop-types';\nimport { useUser } from '../utilities/auth/useUser';\nimport { ActionProvider } from '../utilities/provider/ActionProvider';\nimport { PageActionWrapper } from '../actions/PageActionWrapper';\nimport { useInquiryStore } from '../stores/inquiryStore';\nimport {\n useSetInitialShellVisibility,\n useShellStore\n} from '../stores/shellStore';\n\nimport { useBuildEnvironment, APP_RIBBON_SPACE } from './ui/useBuildEnvironment';\nimport { ChatBotProvider } from '../utilities/chatBot/ChatBotProvider';\n//import { usePreloadPages } from '../hooks/usePreloadPages';\n\n// load the page container module so its loaded when we need it\nvoid import('../page/PageContainer');\nconst MenuTypeEnums = {\n Left_Menu: 1,\n Application_Menu: 2,\n Builders_Menu: 3,\n Favorites_Menu: 4\n};\n\nconst useStyles = makeStyles(\n (theme) => ({\n '@global': {\n html: {\n minHeight: '100%'\n },\n 'html, body, #root': {\n display: 'flex',\n flexDirection: 'column'\n },\n 'body, #root': {\n flex: 1\n }\n },\n root: {\n flex: 1,\n minHeight: '100vh',\n display: 'grid',\n gridTemplateAreas: ['sidebar header', 'sidebar content']\n .map((line) => `\"${line}\"`)\n .join(' '),\n gridTemplateColumns: 'auto 1fr',\n gridTemplateRows: 'auto 1fr'\n },\n header: {\n gridArea: 'header'\n },\n sidebar: {\n gridArea: 'sidebar'\n },\n content: {\n gridArea: 'content',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n zIndex: 1,\n height: ({ appRibbonSpace }) => `calc(100vh - ${56 + appRibbonSpace}px)`,\n overflowY: 'auto'\n },\n paper: {\n width: '100%',\n [theme.breakpoints.up('sm')]: {\n width: (props) => props.drawerWidth || 520\n }\n }\n }),\n { name: 'Layout' }\n);\n\n/**\n * Core site layout common to all pages\n */\nexport const Shell = (props) => {\n\n const buildEnv = useBuildEnvironment();\n const classes = useStyles({\n ...props,\n ribbonSpace: buildEnv ? APP_RIBBON_SPACE : 0\n });\n const {\n children,\n userAvatar,\n appContent,\n leftMenu,\n appSelectorMenus,\n siteName,\n className,\n navRoot,\n hideToggle,\n useMockData,\n mockMenus,\n user: passedInUser,\n unityUrl,\n expander,\n sidebarTitle,\n navMenuHoverOn = true,\n secondExtended,\n toggleOne,\n toggleTwo,\n closePrimary,\n closeSecondary,\n panelExpanded,\n panelExpandedSecondary,\n setPanelExpanded = false,\n setPanelExpandedSecondary = false,\n breadCrumbAltLabelList = [],\n currentLocation,\n utilitySidebarResizable,\n utilitySidebarToggleOverride,\n onUtilitySidebarToggleExpandClick,\n hideLayout = false,\n getAccessToken,\n switcherData,\n selectedItem,\n switcherWidth,\n languages,\n utilityBarHasTabsOpen,\n projectSwitcherColor,\n getWidget,\n isValidWidget,\n appSwitcherHeader,\n hamburgerMenuAccessRole\n } = props;\n const contextUser = useUser();\n const user = passedInUser ?? contextUser;\n const { setGetWidget, setIsValidWidget, shellHidden } = useShellStore();\n const [appSwitcherMobile, setAppSwitcherMobile] = useState(false);\n const [appSwitcherDesktop, setAppSwitcherDesktop] = useState(false);\n const { i18n } = useTranslation();\n const inquiryTitle = useInquiryStore((state) => state.title);\n useSetInitialShellVisibility();\n\n //usePreloadPages();\n\n useEffect(() => {\n setGetWidget(getWidget);\n return () => setGetWidget(null);\n }, [getWidget, setGetWidget]);\n\n useEffect(() => {\n setIsValidWidget(isValidWidget);\n return () => setIsValidWidget(null);\n }, [isValidWidget, setIsValidWidget]);\n\n const getMenuItems = useCallback(\n (menuTypeId, menus) => {\n if (!menus && !useMockData) {\n return [];\n }\n const menusToFilter = useMockData ? mockMenus : menus;\n\n const foundMenus = menusToFilter.filter(\n (menu) => menu.menuTypeId === menuTypeId && menu.active\n );\n\n if (foundMenus) {\n return foundMenus.reduce((menuItemInstanceStructureViews, menu) => {\n return [\n ...menuItemInstanceStructureViews,\n ...menu.menuItemInstanceStructureViews\n ];\n }, []);\n } else {\n return [];\n }\n },\n [useMockData, mockMenus]\n );\n\n const menus = useMemo(() => {\n const menuItems = getMenuItems(1, leftMenu);\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, leftMenu, getAccessToken]);\n\n const theme = useTheme();\n const mobile = useMediaQuery(theme.breakpoints.up('sm'));\n\n const handleAppSwitcher = (type, bool) => {\n if (type === 'mobile') {\n setAppSwitcherMobile(bool);\n } else {\n setAppSwitcherDesktop(bool);\n }\n };\n\n const builderMenu = useMemo(() => {\n const menuItems = getMenuItems(\n MenuTypeEnums.Builders_Menu,\n appSelectorMenus\n );\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, appSelectorMenus, getAccessToken]);\n\n const favoriteMenu = useMemo(() => {\n const menuItems = getMenuItems(\n MenuTypeEnums.Favorites_Menu,\n appSelectorMenus\n );\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, appSelectorMenus, getAccessToken]);\n\n const appMenu = useMemo(() => {\n const menuItems = getMenuItems(\n MenuTypeEnums.Application_Menu,\n appSelectorMenus\n );\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, appSelectorMenus, getAccessToken]);\n\n const hideAppMenu = useMemo(\n () =>\n !appSelectorMenus ||\n (hamburgerMenuAccessRole &&\n !user?.roleNames.includes(hamburgerMenuAccessRole)),\n [user, appSelectorMenus, hamburgerMenuAccessRole]\n );\n\n useEffect(() => {\n i18n.changeLanguage('en-US');\n }, [i18n]);\n\n if (hideLayout) {\n return <div>{children}</div>;\n }\n\n return (\n <ChatBotProvider>\n <ActionProvider>\n <div className={classes.root}>\n {!shellHidden && (\n <SiteHeader\n className={classes.header}\n siteName={siteName}\n appContent={appContent}\n userAvatar={userAvatar}\n breadCrumbRoot={navRoot}\n setAppSwitcherOpen={(type, bool) => handleAppSwitcher(type, bool)}\n breadCrumbAltLabelList={breadCrumbAltLabelList}\n currentLocation={currentLocation}\n switcherData={switcherData}\n selectedItem={selectedItem}\n switcherWidth={switcherWidth}\n hideAppLaunch={hideAppMenu}\n languages={languages}\n backgroundColor={projectSwitcherColor}\n />\n )}\n\n <div style={{ display: 'flex' }} className={classes.sidebar}>\n {!shellHidden && mobile && (\n <NavigationSidebar\n className={classes.sidebar}\n data={menus}\n navMenuHoverOn={navMenuHoverOn}\n user={user}\n useGlobalState={true}\n />\n )}\n {expander && (\n <div>\n <UtilitySideBar\n title={inquiryTitle || sidebarTitle}\n resizable={utilitySidebarResizable}\n utilitySidebarToggleOverride={utilitySidebarToggleOverride}\n onUtilitySidebarToggleExpandClick={\n onUtilitySidebarToggleExpandClick\n }\n sidebarHidden={shellHidden}\n {...props}\n />\n </div>\n )}\n </div>\n\n <div className={classes.content}>\n <UtilityBar\n className={clsx(className)}\n gutters={false}\n hideToggle={hideToggle}\n expander={expander}\n secondExtended={secondExtended}\n toggleOne={toggleOne}\n toggleTwo={toggleTwo}\n closePrimary={closePrimary}\n closeSecondary={closeSecondary}\n expanded={panelExpanded}\n expandedSecondary={panelExpandedSecondary}\n setExpanded={setPanelExpanded}\n setExpandedSecondary={setPanelExpandedSecondary}\n />\n <PageActionWrapper>{children}</PageActionWrapper>\n </div>\n <Drawer\n variant='temporary'\n anchor='left'\n open={appSwitcherDesktop}\n classes={\n !mobile ? {} : !appSelectorMenus ? {} : { paper: classes.paper }\n }\n onClose={() => handleAppSwitcher('desktop', false)}\n >\n {mobile && appSelectorMenus && (\n <FUIAppSwitcher\n onClose={() => handleAppSwitcher('desktop', false)}\n favoriteMenu={favoriteMenu}\n builderMenu={builderMenu}\n appMenu={appMenu}\n unityUrl={unityUrl}\n user={user}\n header={appSwitcherHeader}\n />\n )}\n {(!mobile || (mobile && !appSelectorMenus)) && (\n <NavigationSidebar\n toggle={false}\n className={classes.sidebar}\n data={menus}\n navMenuHoverOn={navMenuHoverOn}\n user={user}\n useGlobalState={true}\n />\n )}\n </Drawer>\n\n <Drawer\n variant='temporary'\n anchor='right'\n open={appSwitcherMobile}\n classes={{ paper: classes.paper }}\n onClose={() => handleAppSwitcher('mobile', false)}\n >\n <FUIAppSwitcher\n onClose={() => handleAppSwitcher('mobile', false)}\n favoriteMenu={favoriteMenu}\n builderMenu={builderMenu}\n appMenu={appMenu}\n unityUrl={unityUrl}\n user={user}\n header={appSwitcherHeader}\n />\n </Drawer>\n </div>\n </ActionProvider>\n </ChatBotProvider>\n );\n};\n\nShell.propTypes = {\n /**\n * The newest propTypes have been added but older ones are missing @todo: add missing propTypes for Shell.\n */\n\n /**\n * The array used to map for label and functions to list items.\n */\n switcherData: PropTypes.array,\n /**\n * The active label displayed.\n */\n selectedItem: PropTypes.string,\n /**\n * Provides a method set the selector width. Default is 100.\n */\n switcherWidth: PropTypes.number,\n /**\n * Children nodes\n */\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node\n ]).isRequired,\n\n /**\n * Name of site\n */\n siteName: PropTypes.string,\n\n /**\n * Component to render for the user Avatar\n */\n userAvatar: PropTypes.element,\n\n appContent: PropTypes.element,\n\n leftMenu: PropTypes.array,\n\n appSelectorMenus: PropTypes.array,\n\n className: PropTypes.object,\n\n navRoot: PropTypes.oneOfType([PropTypes.string, PropTypes.element, PropTypes.node]),\n\n /**\n * Should the shell use mock data\n */\n useMockData: PropTypes.bool,\n\n mockMenus: PropTypes.array,\n\n unityUrl: PropTypes.string,\n\n expander: PropTypes.bool,\n\n sidebarTitle: PropTypes.string,\n\n navMenuHoverOn: PropTypes.bool,\n\n toggleOne: PropTypes.bool,\n\n toggleTwo: PropTypes.bool,\n\n closePrimary: PropTypes.bool,\n\n closeSecondary: PropTypes.bool,\n\n panelExpanded: PropTypes.bool,\n\n panelExpandedSecondary: PropTypes.bool,\n\n setPanelExpanded: PropTypes.func,\n\n setPanelExpandedSecondary: PropTypes.func,\n\n breadCrumbAltLabelList: PropTypes.array,\n\n currentLocation: PropTypes.object,\n\n utilitySidebarResizable: PropTypes.bool,\n\n utilitySidebarToggleOverride: PropTypes.bool,\n\n onUtilitySidebarToggleExpandClick: PropTypes.func,\n\n hideLayout: PropTypes.bool,\n\n languages: PropTypes.arrayOf(PropTypes.object),\n\n utilityBarHasTabsOpen: PropTypes.bool,\n /**\n * Passes the background color on the project switcher (default: theme secondary)\n */\n projectSwitcherColor: PropTypes.string,\n getWidget: PropTypes.func,\n isValidWidget: PropTypes.func,\n currentTenant: PropTypes.object,\n hamburgerMenuAccessRole: PropTypes.string\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAyBK,OAAO;AACZ,MAAM,gBAAgB;CACpB,WAAW;CACX,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CACjB;AAED,MAAM,YAAY,YACf,WAAW;CACV,WAAW;EACT,MAAM,EACJ,WAAW,QACZ;EACD,qBAAqB;GACnB,SAAS;GACT,eAAe;GAChB;EACD,eAAe,EACb,MAAM,GACP;EACF;CACD,MAAM;EACJ,MAAM;EACN,WAAW;EACX,SAAS;EACT,mBAAmB,CAAC,kBAAkB,kBAAkB,CACrD,KAAK,SAAS,IAAI,KAAK,GAAG,CAC1B,KAAK,IAAI;EACZ,qBAAqB;EACrB,kBAAkB;EACnB;CACD,QAAQ,EACN,UAAU,UACX;CACD,SAAS,EACP,UAAU,WACX;CACD,SAAS;EACP,UAAU;EACV,SAAS;EACT,eAAe;EACf,UAAU;EACV,QAAQ;EACR,SAAS,EAAE,qBAAqB,gBAAgB,KAAK,eAAe;EACpE,WAAW;EACZ;CACD,OAAO;EACL,OAAO;GACN,MAAM,YAAY,GAAG,KAAK,GAAG,EAC5B,QAAQ,UAAU,MAAM,eAAe,KACxC;EACF;CACF,GACD,EAAE,MAAM,UAAU,CACnB;;;;AAKD,MAAa,SAAS,UAAU;CAE9B,MAAM,WAAW,qBAAqB;CACtC,MAAM,UAAU,UAAU;EACxB,GAAG;EACH,aAAa,WAAW,mBAAmB;EAC5C,CAAC;CACF,MAAM,EACJ,UACA,YACA,YACA,UACA,kBACA,UACA,WACA,SACA,YACA,aACA,WACA,MAAM,cACN,UACA,UACA,cACA,iBAAiB,MACjB,gBACA,WACA,WACA,cACA,gBACA,eACA,wBACA,mBAAmB,OACnB,4BAA4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gB,UAAU;CAE1B,eAAe,UAAU;CAEzB,wBAAwB,UAAU;CAElC,kBAAkB,UAAU;CAE5B,2BAA2B,UAAU;CAErC,wBAAwB,UAAU;CAElC,iBAAiB,UAAU;CAE3B,yBAAyB,UAAU;CAEnC,8BAA8B,UAAU;CAExC,mCAAmC,UAAU;CAE7C,YAAY,UAAU;CAEtB,WAAW,UAAU,QAAQ,UAAU,OAAO;CAE9C,uBAAuB,UAAU;CAIjC,sBAAsB,UAAU;CAChC,WAAW,UAAU;CACrB,eAAe,UAAU;CACzB,eAAe,UAAU;CACzB,yBAAyB,UAAU;CACpC"}
|
|
1
|
+
{"version":3,"file":"Shell-FkTfRpO5.js","names":["menus","SiteHeader","NavigationSidebar","FUIAppSwitcher"],"sources":["../src/shell/Shell.jsx"],"sourcesContent":["import React, { useState, useEffect, useMemo, useCallback } from 'react';\nimport { makeStyles, Drawer, useMediaQuery, useTheme } from '@material-ui/core';\nimport NavigationSidebar from './ui/NavigationSidebar';\nimport SiteHeader from './ui/SiteHeader';\nimport { UtilityBar } from '../UI/utilityDisplay/UtilityBar';\nimport { useTranslation } from 'react-i18next';\nimport FUIAppSwitcher from './ui/appSwitcher/FUIAppSwitcher';\nimport { getMenuItemsRecursively } from '../utilities/menus/menuUtilities';\nimport clsx from 'clsx';\nimport { UtilitySideBar } from '../UI/utilityDisplay/UtilitySideBar';\nimport PropTypes from 'prop-types';\nimport { useUser } from '../utilities/auth/useUser';\nimport { ActionProvider } from '../utilities/provider/ActionProvider';\nimport { PageActionWrapper } from '../actions/PageActionWrapper';\nimport { useInquiryStore } from '../stores/inquiryStore';\nimport {\n useSetInitialShellVisibility,\n useShellStore\n} from '../stores/shellStore';\n\nimport { useBuildEnvironment, APP_RIBBON_SPACE } from './ui/useBuildEnvironment';\nimport { ChatBotProvider } from '../utilities/chatBot/ChatBotProvider';\n//import { usePreloadPages } from '../hooks/usePreloadPages';\n\n// load the page container module so its loaded when we need it\nvoid import('../page/PageContainer');\nconst MenuTypeEnums = {\n Left_Menu: 1,\n Application_Menu: 2,\n Builders_Menu: 3,\n Favorites_Menu: 4\n};\n\nconst useStyles = makeStyles(\n (theme) => ({\n '@global': {\n html: {\n minHeight: '100%'\n },\n 'html, body, #root': {\n display: 'flex',\n flexDirection: 'column'\n },\n 'body, #root': {\n flex: 1\n }\n },\n root: {\n flex: 1,\n minHeight: '100vh',\n display: 'grid',\n gridTemplateAreas: ['sidebar header', 'sidebar content']\n .map((line) => `\"${line}\"`)\n .join(' '),\n gridTemplateColumns: 'auto 1fr',\n gridTemplateRows: 'auto 1fr'\n },\n header: {\n gridArea: 'header'\n },\n sidebar: {\n gridArea: 'sidebar'\n },\n content: {\n gridArea: 'content',\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n zIndex: 1,\n height: ({ appRibbonSpace }) => `calc(100vh - ${56 + appRibbonSpace}px)`,\n overflowY: 'auto'\n },\n paper: {\n width: '100%',\n [theme.breakpoints.up('sm')]: {\n width: (props) => props.drawerWidth || 520\n }\n }\n }),\n { name: 'Layout' }\n);\n\n/**\n * Core site layout common to all pages\n */\nexport const Shell = (props) => {\n\n const buildEnv = useBuildEnvironment();\n const classes = useStyles({\n ...props,\n ribbonSpace: buildEnv ? APP_RIBBON_SPACE : 0\n });\n const {\n children,\n userAvatar,\n appContent,\n leftMenu,\n appSelectorMenus,\n siteName,\n className,\n navRoot,\n hideToggle,\n useMockData,\n mockMenus,\n user: passedInUser,\n unityUrl,\n expander,\n sidebarTitle,\n navMenuHoverOn = true,\n secondExtended,\n toggleOne,\n toggleTwo,\n closePrimary,\n closeSecondary,\n panelExpanded,\n panelExpandedSecondary,\n setPanelExpanded = false,\n setPanelExpandedSecondary = false,\n breadCrumbAltLabelList = [],\n currentLocation,\n utilitySidebarResizable,\n utilitySidebarToggleOverride,\n onUtilitySidebarToggleExpandClick,\n hideLayout = false,\n getAccessToken,\n switcherData,\n selectedItem,\n switcherWidth,\n languages,\n utilityBarHasTabsOpen,\n projectSwitcherColor,\n getWidget,\n isValidWidget,\n appSwitcherHeader,\n hamburgerMenuAccessRole\n } = props;\n const contextUser = useUser();\n const user = passedInUser ?? contextUser;\n const { setGetWidget, setIsValidWidget, shellHidden } = useShellStore();\n const [appSwitcherMobile, setAppSwitcherMobile] = useState(false);\n const [appSwitcherDesktop, setAppSwitcherDesktop] = useState(false);\n const { i18n } = useTranslation();\n const inquiryTitle = useInquiryStore((state) => state.title);\n useSetInitialShellVisibility();\n\n //usePreloadPages();\n\n useEffect(() => {\n setGetWidget(getWidget);\n return () => setGetWidget(null);\n }, [getWidget, setGetWidget]);\n\n useEffect(() => {\n setIsValidWidget(isValidWidget);\n return () => setIsValidWidget(null);\n }, [isValidWidget, setIsValidWidget]);\n\n const getMenuItems = useCallback(\n (menuTypeId, menus) => {\n if (!menus && !useMockData) {\n return [];\n }\n const menusToFilter = useMockData ? mockMenus : menus;\n\n const foundMenus = menusToFilter.filter(\n (menu) => menu.menuTypeId === menuTypeId && menu.active\n );\n\n if (foundMenus) {\n return foundMenus.reduce((menuItemInstanceStructureViews, menu) => {\n return [\n ...menuItemInstanceStructureViews,\n ...menu.menuItemInstanceStructureViews\n ];\n }, []);\n } else {\n return [];\n }\n },\n [useMockData, mockMenus]\n );\n\n const menus = useMemo(() => {\n const menuItems = getMenuItems(1, leftMenu);\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, leftMenu, getAccessToken]);\n\n const theme = useTheme();\n const mobile = useMediaQuery(theme.breakpoints.up('sm'));\n\n const handleAppSwitcher = (type, bool) => {\n if (type === 'mobile') {\n setAppSwitcherMobile(bool);\n } else {\n setAppSwitcherDesktop(bool);\n }\n };\n\n const builderMenu = useMemo(() => {\n const menuItems = getMenuItems(\n MenuTypeEnums.Builders_Menu,\n appSelectorMenus\n );\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, appSelectorMenus, getAccessToken]);\n\n const favoriteMenu = useMemo(() => {\n const menuItems = getMenuItems(\n MenuTypeEnums.Favorites_Menu,\n appSelectorMenus\n );\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, appSelectorMenus, getAccessToken]);\n\n const appMenu = useMemo(() => {\n const menuItems = getMenuItems(\n MenuTypeEnums.Application_Menu,\n appSelectorMenus\n );\n return getMenuItemsRecursively(menuItems, true, user, getAccessToken);\n }, [getMenuItems, user, appSelectorMenus, getAccessToken]);\n\n const hideAppMenu = useMemo(\n () =>\n !appSelectorMenus ||\n (hamburgerMenuAccessRole &&\n !user?.roleNames.includes(hamburgerMenuAccessRole)),\n [user, appSelectorMenus, hamburgerMenuAccessRole]\n );\n\n useEffect(() => {\n i18n.changeLanguage('en-US');\n }, [i18n]);\n\n if (hideLayout) {\n return <div>{children}</div>;\n }\n\n return (\n <ChatBotProvider>\n <ActionProvider>\n <div className={classes.root}>\n {!shellHidden && (\n <SiteHeader\n className={classes.header}\n siteName={siteName}\n appContent={appContent}\n userAvatar={userAvatar}\n breadCrumbRoot={navRoot}\n setAppSwitcherOpen={(type, bool) => handleAppSwitcher(type, bool)}\n breadCrumbAltLabelList={breadCrumbAltLabelList}\n currentLocation={currentLocation}\n switcherData={switcherData}\n selectedItem={selectedItem}\n switcherWidth={switcherWidth}\n hideAppLaunch={hideAppMenu}\n languages={languages}\n backgroundColor={projectSwitcherColor}\n />\n )}\n\n <div style={{ display: 'flex' }} className={classes.sidebar}>\n {!shellHidden && mobile && (\n <NavigationSidebar\n className={classes.sidebar}\n data={menus}\n navMenuHoverOn={navMenuHoverOn}\n user={user}\n useGlobalState={true}\n />\n )}\n {expander && (\n <div>\n <UtilitySideBar\n title={inquiryTitle || sidebarTitle}\n resizable={utilitySidebarResizable}\n utilitySidebarToggleOverride={utilitySidebarToggleOverride}\n onUtilitySidebarToggleExpandClick={\n onUtilitySidebarToggleExpandClick\n }\n sidebarHidden={shellHidden}\n {...props}\n />\n </div>\n )}\n </div>\n\n <div className={classes.content}>\n <UtilityBar\n className={clsx(className)}\n gutters={false}\n hideToggle={hideToggle}\n expander={expander}\n secondExtended={secondExtended}\n toggleOne={toggleOne}\n toggleTwo={toggleTwo}\n closePrimary={closePrimary}\n closeSecondary={closeSecondary}\n expanded={panelExpanded}\n expandedSecondary={panelExpandedSecondary}\n setExpanded={setPanelExpanded}\n setExpandedSecondary={setPanelExpandedSecondary}\n />\n <PageActionWrapper>{children}</PageActionWrapper>\n </div>\n <Drawer\n variant='temporary'\n anchor='left'\n open={appSwitcherDesktop}\n classes={\n !mobile ? {} : !appSelectorMenus ? {} : { paper: classes.paper }\n }\n onClose={() => handleAppSwitcher('desktop', false)}\n >\n {mobile && appSelectorMenus && (\n <FUIAppSwitcher\n onClose={() => handleAppSwitcher('desktop', false)}\n favoriteMenu={favoriteMenu}\n builderMenu={builderMenu}\n appMenu={appMenu}\n unityUrl={unityUrl}\n user={user}\n header={appSwitcherHeader}\n />\n )}\n {(!mobile || (mobile && !appSelectorMenus)) && (\n <NavigationSidebar\n toggle={false}\n className={classes.sidebar}\n data={menus}\n navMenuHoverOn={navMenuHoverOn}\n user={user}\n useGlobalState={true}\n />\n )}\n </Drawer>\n\n <Drawer\n variant='temporary'\n anchor='right'\n open={appSwitcherMobile}\n classes={{ paper: classes.paper }}\n onClose={() => handleAppSwitcher('mobile', false)}\n >\n <FUIAppSwitcher\n onClose={() => handleAppSwitcher('mobile', false)}\n favoriteMenu={favoriteMenu}\n builderMenu={builderMenu}\n appMenu={appMenu}\n unityUrl={unityUrl}\n user={user}\n header={appSwitcherHeader}\n />\n </Drawer>\n </div>\n </ActionProvider>\n </ChatBotProvider>\n );\n};\n\nShell.propTypes = {\n /**\n * The newest propTypes have been added but older ones are missing @todo: add missing propTypes for Shell.\n */\n\n /**\n * The array used to map for label and functions to list items.\n */\n switcherData: PropTypes.array,\n /**\n * The active label displayed.\n */\n selectedItem: PropTypes.string,\n /**\n * Provides a method set the selector width. Default is 100.\n */\n switcherWidth: PropTypes.number,\n /**\n * Children nodes\n */\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node\n ]).isRequired,\n\n /**\n * Name of site\n */\n siteName: PropTypes.string,\n\n /**\n * Component to render for the user Avatar\n */\n userAvatar: PropTypes.element,\n\n appContent: PropTypes.element,\n\n leftMenu: PropTypes.array,\n\n appSelectorMenus: PropTypes.array,\n\n className: PropTypes.object,\n\n navRoot: PropTypes.oneOfType([PropTypes.string, PropTypes.element, PropTypes.node]),\n\n /**\n * Should the shell use mock data\n */\n useMockData: PropTypes.bool,\n\n mockMenus: PropTypes.array,\n\n unityUrl: PropTypes.string,\n\n expander: PropTypes.bool,\n\n sidebarTitle: PropTypes.string,\n\n navMenuHoverOn: PropTypes.bool,\n\n toggleOne: PropTypes.bool,\n\n toggleTwo: PropTypes.bool,\n\n closePrimary: PropTypes.bool,\n\n closeSecondary: PropTypes.bool,\n\n panelExpanded: PropTypes.bool,\n\n panelExpandedSecondary: PropTypes.bool,\n\n setPanelExpanded: PropTypes.func,\n\n setPanelExpandedSecondary: PropTypes.func,\n\n breadCrumbAltLabelList: PropTypes.array,\n\n currentLocation: PropTypes.object,\n\n utilitySidebarResizable: PropTypes.bool,\n\n utilitySidebarToggleOverride: PropTypes.bool,\n\n onUtilitySidebarToggleExpandClick: PropTypes.func,\n\n hideLayout: PropTypes.bool,\n\n languages: PropTypes.arrayOf(PropTypes.object),\n\n utilityBarHasTabsOpen: PropTypes.bool,\n /**\n * Passes the background color on the project switcher (default: theme secondary)\n */\n projectSwitcherColor: PropTypes.string,\n getWidget: PropTypes.func,\n isValidWidget: PropTypes.func,\n currentTenant: PropTypes.object,\n hamburgerMenuAccessRole: PropTypes.string\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAyBK,OAAO;AACZ,MAAM,gBAAgB;CACpB,WAAW;CACX,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CACjB;AAED,MAAM,YAAY,YACf,WAAW;CACV,WAAW;EACT,MAAM,EACJ,WAAW,QACZ;EACD,qBAAqB;GACnB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-1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTable-
|
|
1
|
+
{"version":3,"file":"SimpleTable-DX9xdKYK.js","names":[],"sources":["../src/UI/widgets/FluentComponents/SimpleTable.jsx"],"sourcesContent":["import React from 'react'\nimport { makeStyles } from '@material-ui/core/styles'\nimport Table from '@material-ui/core/Table'\nimport TableBody from '@material-ui/core/TableBody'\nimport TableCell from '@material-ui/core/TableCell'\nimport TableContainer from '@material-ui/core/TableContainer'\nimport TableHead from '@material-ui/core/TableHead'\nimport TableRow from '@material-ui/core/TableRow'\n\nconst useStyles = makeStyles({\n table: {\n minWidth: 350\n }\n})\n\nlet SimpleTable = (props) => {\n const { columns, rows } = props\n const classes = useStyles()\n\n return (\n <TableContainer>\n <Table className={classes.table} aria-label='simple table' size='small'>\n <TableHead>\n <TableRow>\n {columns.map((column) => (\n <TableCell>{column}</TableCell>\n ))}\n </TableRow>\n </TableHead>\n <TableBody>\n {rows.map((row) => (\n <TableRow key={row.name}>\n {row.rowValues.map((rowValue) => (\n <TableCell>{rowValue}</TableCell>\n ))}\n </TableRow>\n ))}\n </TableBody>\n </Table>\n </TableContainer>\n )\n}\nexport default SimpleTable\n"],"mappings":";;;;;;;;;;AASA,MAAM,YAAY,WAAW,EAC3B,OAAO,EACL,UAAU,KACX,EACF,CAAC;AAEF,IAAI,eAAe,UAAU;CAC3B,MAAM,EAAE,SAAS,SAAS;CAC1B,MAAM,UAAU,WAAW;AAE3B,QACE,oCAAC,sBACC,oCAAC;EAAM,WAAW,QAAQ;EAAO,cAAW;EAAe,MAAK;IAC9D,oCAAC,iBACC,oCAAC,gBACE,QAAQ,KAAK,WACZ,oCAAC,iBAAW,OAAmB,CAC/B,CACO,CACD,EACZ,oCAAC,iBACE,KAAK,KAAK,QACT,oCAAC,YAAS,KAAK,IAAI,QAChB,IAAI,UAAU,KAAK,aAClB,oCAAC,iBAAW,SAAqB,CACjC,CACO,CACX,CACQ,CACN,CACO;;AAGrB,0BAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusCellRenderer-
|
|
1
|
+
{"version":3,"file":"StatusCellRenderer-DK3MexwY.js","names":["value"],"sources":["../src/UI/templates/ui/renderers/StatusCellRenderer.jsx"],"sourcesContent":["import React from 'react';\nimport { StatusChip } from '../../../dataDisplay/status/StatusChip';\n\nexport const StatusCellRenderer = props => {\n const { value, getStatus, getLabel } = props;\n const formattedLabel = value => {\n return value\n ?.replace(/([a-z])([A-Z])/g, '$1 $2')\n ?.replace(/\\b\\w/g, char => char.toUpperCase());\n };\n return (\n <StatusChip\n status={getStatus(value)}\n label={getLabel ? formattedLabel(getLabel(value)) : formattedLabel(value)}\n />\n );\n};\n"],"mappings":";;;;AAGA,MAAa,sBAAqB,UAAS;CACzC,MAAM,EAAE,OAAO,WAAW,aAAa;CACvC,MAAM,kBAAiB,YAAS;AAC9B,SAAOA,SACH,QAAQ,mBAAmB,QAAQ,EACnC,QAAQ,UAAS,SAAQ,KAAK,aAAa,CAAC;;AAElD,QACE,oCAAC;EACC,QAAQ,UAAU,MAAM;EACxB,OAAO,WAAW,eAAe,SAAS,MAAM,CAAC,GAAG,eAAe,MAAM;GACzE"}
|
|
@@ -373,4 +373,4 @@ var SupportCaseSideSheet_default = SupportCaseSideSheet;
|
|
|
373
373
|
|
|
374
374
|
//#endregion
|
|
375
375
|
export { SupportCaseSideSheet_default as n, SupportCaseSideSheet as t };
|
|
376
|
-
//# sourceMappingURL=SupportCaseSideSheet-
|
|
376
|
+
//# sourceMappingURL=SupportCaseSideSheet-BTCZjI26.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportCaseSideSheet-DPfapAFC.js","names":["LinearProgress","SupportCaseForm"],"sources":["../src/UI/support/SupportCaseForm.jsx","../src/UI/support/SupportCaseSideSheet.jsx"],"sourcesContent":["import React, { useState, useEffect, useCallback } from 'react';\nimport { FluentTextField } from '../inputs/textField/FluentTextField';\nimport { FluentTextFieldAutoComplete } from '../inputs/textField/FluentTextFieldAutoComplete';\nimport { LayoutUnit } from '../../layout/LayoutUnit';\nimport { DragDropFileUpload } from '../../uploader/DragDropFileUpload';\nimport { Form, FormButtons, SubmitButton, Field } from '../../utilities/form';\nimport { useUser } from '../../utilities/auth/useUser';\nimport { useTranslation } from 'react-i18next';\nimport { useSnackbar } from 'notistack';\nimport { Button } from '@material-ui/core';\nimport { apiMutate } from '../../utilities/useAxiosMutate';\nimport { AmbientCard } from '../surfaces/cards/AmbientCard';\nimport { LinearProgress } from '../../UI/loading/LinearProgress';\nimport { useHistory } from 'react-router-dom';\nimport { ConfigService } from '../../configService';\n\nconst SupportCaseForm = ({\n onSubmit,\n initialValues = {},\n handleCloseSupportCaseSideSheet\n}) => {\n const { t } = useTranslation();\n const user = useUser();\n const { enqueueSnackbar, closeSnackbar } = useSnackbar();\n const [severityOptions, setSeverityOptions] = useState([]);\n const [environmentOptions, setEnvironmentOptions] = useState([]);\n const [brandOptions, setBrandOptions] = useState([]);\n const [uploadedFiles, setUploadedFiles] = useState([]);\n const [unityState, setUnityState] = useState();\n const [loadingState, setLoadingState] = useState(false);\n const baseUrl = ConfigService.productV1ApiUrl; // backend base url\n const unityUrl = ConfigService.supportV1ApiUrl; // unity support bypass\n const unityEnv = ConfigService.config.UNITY_ENVIRONMENT; // unity environment\n const [uploadKey, setUploadKey] = useState(0);\n const [restrictedFiles, setRestrictedFiles] = useState({});\n const history = useHistory();\n\n const getFileRestrictions = useCallback(\n async () =>\n apiMutate(baseUrl, `udpunitysupport/supportFileUploadRestrictions`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [baseUrl, user?.currentTenantId]\n );\n\n const getFileRestrictionsUnity = useCallback(\n async () =>\n apiMutate(unityUrl, `evergrncaseattachment/get-attachment-restrictions`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [unityUrl, user?.currentTenantId]\n );\n\n const getSeverityUnity = useCallback(\n async () =>\n apiMutate(unityUrl, `caseseverity/get-case-severity`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [unityUrl, user?.currentTenantId]\n );\n\n const getEnvironmentUnity = useCallback(\n async () =>\n apiMutate(unityUrl, `evergrncaseenvironment/get-case-environments`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [unityUrl, user?.currentTenantId]\n );\n\n const getSeverity = useCallback(\n async () =>\n apiMutate(baseUrl, `udpunitysupport/severities`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [baseUrl, user?.currentTenantId]\n );\n\n const getEnvironment = useCallback(\n async () =>\n apiMutate(baseUrl, `udpunitysupport/environments`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [baseUrl, user?.currentTenantId]\n );\n\n // externalUuid will be needed part of the post request to submit ticket\n const getTenantCaseAccount = useCallback(\n async () =>\n apiMutate(\n baseUrl,\n `udpunitysupport/tenantCaseAccount/` + user?.currentTenantId,\n {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }\n ),\n [baseUrl, user?.currentTenantId]\n );\n\n // list of products to choose from when in Support Portal, if cooresponsding externalUuid is null, default to devops support GUID\n const getTenantCaseBrand = useCallback(\n async () =>\n apiMutate(ConfigService.tenantV2ApiUrl, `tenant/products`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [user?.currentTenantId]\n );\n\n const getTenantSubscribedProducts = useCallback(\n async () =>\n apiMutate(\n ConfigService.tenantV1ApiUrl,\n `tenantProducts?tenantId=${user?.currentTenantId}`,\n {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }\n ),\n [user?.currentTenantId]\n );\n\n // TODO: this data should come from Unity table -> Unity UEM -> Unity Support\n const getCasesEnv = {\n Development: '100000003',\n Build: '100000003',\n Staging: '100000001',\n Production: '100000000'\n };\n\n function getCaseEnvironment() {\n return getCasesEnv[unityEnv] || '100000003'; // default to dev\n }\n\n let brandId = '416b0ca8-e679-ef11-ac20-6045bdcd3d86'; // Default to devops support ID, should come from API\n\n const postCaseAttachment = useCallback(\n (values) => {\n const data = new FormData();\n uploadedFiles.forEach((file) => {\n data.append('files', file);\n });\n data.append('EvergrnCaseName', values.title);\n data.append('EvergrnDescription', values.description);\n data.append('EvergrnCaseEnvironment', getCaseEnvironment());\n data.append('EvergrnSeverity', values.severity.value);\n // Find the corresponding brand ID using environment variable's product ID\n const matchingProduct = brandOptions.find(\n (product) => product.productId == ConfigService.config.UNITY_PRODUCT_ID\n );\n if (matchingProduct && matchingProduct.value) {\n brandId = matchingProduct.value;\n }\n data.append('EvergrnBrandId', brandId);\n data.append(\n 'UDPDriveUnityProductId',\n ConfigService.config.UNITY_PRODUCT_ID\n );\n\n return apiMutate(\n baseUrl,\n `udpunitysupport/case`,\n {\n method: 'post',\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n },\n { data: data }\n );\n },\n [baseUrl, uploadedFiles, getCaseEnvironment, brandOptions, brandId]\n );\n\n const postCaseAttachmentUnity = useCallback(\n (values) => {\n const data = new FormData();\n uploadedFiles.forEach((file) => {\n data.append('files', file);\n });\n data.append('EvergrnCaseName', values.title);\n data.append('EvergrnDescription', values.description);\n data.append('EvergrnCaseEnvironment', getCaseEnvironment());\n data.append('EvergrnSeverity', values.severity.value);\n data.append('EvergrnBrandId', values.product?.value || brandId);\n data.append(\n 'UDPDriveUnityProductId',\n ConfigService.config.UNITY_PRODUCT_ID\n );\n\n return apiMutate(\n unityUrl,\n `evergrncase/post-case`,\n {\n method: 'post',\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n },\n { data: data }\n );\n },\n [unityUrl, uploadedFiles, getCaseEnvironment, brandId]\n );\n\n useEffect(() => {\n const fetchData = async () => {\n try {\n if (ConfigService.config.UNITY_PRODUCT_ID === '1') {\n setUnityState(true);\n } else {\n setUnityState(false);\n }\n\n let getFileRestrictionsResponse = unityState\n ? await getFileRestrictionsUnity()\n : await getFileRestrictions();\n\n let severityResponse = unityState\n ? await getSeverityUnity()\n : await getSeverity();\n\n let environmentResponse = unityState\n ? await getEnvironmentUnity()\n : await getEnvironment();\n\n if (getFileRestrictionsResponse) {\n const fileRestrictionsData = getFileRestrictionsResponse.data;\n setRestrictedFiles(fileRestrictionsData);\n }\n\n if (severityResponse) {\n const severityOptions = severityResponse.data.map((item) => ({\n value: item.externalUUID.toString(),\n label: item.name\n }));\n setSeverityOptions(severityOptions);\n }\n\n if (environmentResponse) {\n const environmentOptions = environmentResponse.data.map((item) => ({\n value: item.evergrnCaseEnvironmentValue.toString(),\n label: item.evergrnCaseEnvironmentLabel\n }));\n setEnvironmentOptions(environmentOptions);\n }\n\n // fetch brand data\n const brandResponse = await getTenantCaseBrand();\n const tenantSubscribedProductsResponse =\n await getTenantSubscribedProducts();\n\n if (brandResponse && tenantSubscribedProductsResponse) {\n const brandArray = brandResponse.data.filter(\n (brandItem) => brandItem.externalUuid != null\n );\n const subscribedArray = tenantSubscribedProductsResponse.data;\n\n const brandOptions = subscribedArray\n .map((subscribedProduct) => {\n const foundProduct = brandArray.find(\n (brandItem) =>\n brandItem.productId === subscribedProduct.productId\n );\n\n if (!foundProduct) {\n return null;\n }\n\n return {\n ...subscribedProduct,\n value: foundProduct.externalUuid?.toString(), // Cases Brand ID\n label: foundProduct.name.toString()\n };\n })\n .filter(Boolean);\n\n setBrandOptions(brandOptions);\n }\n } catch (error) {\n console.error('Error fetching data:', error);\n }\n };\n\n fetchData();\n }, [\n unityState,\n getSeverityUnity,\n getEnvironmentUnity,\n getFileRestrictionsUnity,\n getFileRestrictions,\n getSeverity,\n getEnvironment,\n getTenantCaseBrand,\n getTenantSubscribedProducts\n ]);\n\n const handleUploadFile = (files) => {\n const identifiedRestrictedExtensions = [];\n const identifiedRestrictedFileSizes = [];\n\n files.forEach((file) => {\n const fileExtension = file.name.includes('.')\n ? '.' + file.name.split('.').pop().toLowerCase()\n : '';\n\n if (restrictedFiles.restrictedExtensions.includes(fileExtension)) {\n identifiedRestrictedExtensions.push(fileExtension);\n }\n\n if (file.size > restrictedFiles.maxFileSize) {\n identifiedRestrictedFileSizes.push(file.name);\n }\n });\n\n const isAcceptableExtensions = identifiedRestrictedExtensions.length === 0;\n const isAcceptableSizes = identifiedRestrictedFileSizes.length === 0;\n\n if (!(isAcceptableExtensions && isAcceptableSizes)) {\n if (!isAcceptableExtensions) {\n const uniqueExtensions = [...new Set(identifiedRestrictedExtensions)];\n const errorText = `Restricted file type(s). ${uniqueExtensions.join(\n ', '\n )}`;\n enqueueSnackbar(t(errorText), {\n variant: 'error',\n anchorOrigin: { vertical: 'top', horizontal: 'center' }\n });\n }\n\n if (!isAcceptableSizes) {\n const errorText = `File(s) are too large (5MB limit). ${identifiedRestrictedFileSizes.join(\n ', '\n )}`;\n enqueueSnackbar(t(errorText), {\n variant: 'error',\n anchorOrigin: { vertical: 'top', horizontal: 'center' }\n });\n }\n\n setUploadKey((prevKey) => prevKey + 1);\n return;\n }\n\n setUploadedFiles(files);\n };\n\n const handleSubmit = async (values) => {\n setLoadingState(true);\n\n let response;\n try {\n response = unityState\n ? await postCaseAttachmentUnity(values)\n : await postCaseAttachment(values);\n } catch (apiError) {\n console.error('post Case API call failed:', apiError);\n enqueueSnackbar(t('Submission failed'), {\n variant: 'error',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='primary'\n size='small'\n id='udpRecord-SupportCaseForm-close'\n onClick={() => {\n closeSnackbar(key);\n }}\n >\n close\n </Button>\n )\n });\n setLoadingState(false);\n return { submitError: apiError.message };\n }\n\n // Check for valid response\n if (!response?.data?.evergrnCaseId) {\n console.error('API call succeeded but no case ID returned');\n enqueueSnackbar(t('Submission failed - No case ID returned'), {\n variant: 'error',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='primary'\n size='small'\n id='udpRecord-SupportCaseForm-close'\n onClick={() => {\n closeSnackbar(key);\n }}\n >\n close\n </Button>\n )\n });\n setLoadingState(false);\n return { submitError: 'No case ID was returned from the server' };\n }\n\n window.dispatchEvent(new CustomEvent('support-case-created'));\n\n try {\n handleCloseSupportCaseSideSheet();\n } catch (closeError) {\n console.error('Error closing sheet:', closeError);\n }\n\n enqueueSnackbar(t(`Support Case Created. View your cases`), {\n variant: 'success',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='primary'\n size='small'\n id='udpRecord-SupportCaseForm-here'\n onClick={() => {\n try {\n const caseId = response.data.evergrnCaseId;\n let url;\n if (unityState) {\n url = `/support/cases/${caseId}`;\n history.push(url);\n } else {\n url = `${ConfigService.config.UNITY_URL}/support/cases/${caseId}`;\n window.location.href = url;\n }\n closeSnackbar(key);\n } catch (navError) {\n console.error('Navigation error:', navError);\n closeSnackbar(key);\n }\n }}\n >\n here\n </Button>\n )\n });\n\n try {\n await onSubmit(values);\n } catch (onSubmitError) {\n console.error('Error in onSubmit:', onSubmitError);\n }\n setLoadingState(false);\n };\n\n return (\n <>\n {loadingState && <LinearProgress />}\n <Form onSubmit={handleSubmit}>\n <AmbientCard fullWidth>\n <Field\n component={FluentTextField}\n name='title'\n label={t('Title')}\n placeholder={t('Enter a brief title for your issue')}\n variant='outlined'\n fullWidth\n autoFocus\n required={true}\n />\n {unityState && (\n <Field\n component={FluentTextFieldAutoComplete}\n name='product'\n label={t('Product')}\n variant='outlined'\n margin='normal'\n size='small'\n options={brandOptions}\n optionKey='label'\n style={{ width: '100%' }}\n disableClearable\n id='udpRecord-CreateSupportCaseForm-product'\n udprecordid='udpRecord-CreateSupportCaseForm-product'\n />\n )}\n <Field\n component={FluentTextFieldAutoComplete}\n name='severity'\n label={t('Severity')}\n variant='outlined'\n margin='normal'\n size='small'\n options={severityOptions}\n optionKey='label'\n style={{ width: '100%' }}\n disableClearable\n id='udpRecord-CreateSupportCaseForm-severity'\n udprecordid='udpRecord-CreateSupportCaseForm-severity'\n required={true}\n />\n </AmbientCard>\n\n <LayoutUnit unit='xxs' />\n\n <AmbientCard fullWidth>\n <Field\n name='description'\n component={FluentTextField}\n multiline={true}\n rows={10}\n minRows={3}\n maxRows={20}\n required={true}\n label='Description'\n placeholder='Please describe your issue in detail'\n />\n </AmbientCard>\n\n <LayoutUnit unit='xxs' />\n\n <AmbientCard fullWidth>\n <DragDropFileUpload\n key={uploadKey}\n title='Attachments'\n multiple={true}\n minHeight='100px'\n maxHeight='400px'\n acceptedFiles='.pdf,.doc,.docx,.png,.jpg,.jpeg'\n handleUploadFile={handleUploadFile}\n />\n </AmbientCard>\n\n <LayoutUnit unit='xxs' />\n\n <FormButtons>\n <SubmitButton\n color='primary'\n variant='contained'\n disablePristine={false}\n >\n Submit Ticket\n </SubmitButton>\n </FormButtons>\n </Form>\n </>\n );\n};\n\nexport default SupportCaseForm;\n","import React from 'react';\nimport { SideSheet } from '../surfaces/SideSheet';\nimport SupportCaseForm from './SupportCaseForm';\n\nexport const SupportCaseSideSheet = ({\n open,\n onClose,\n onSubmit,\n initialValues,\n handleCloseSupportCaseSideSheet,\n loading\n}) => {\n return (\n <SideSheet\n open={open}\n onClose={onClose}\n title=\"Submit Support Ticket\"\n width={600} // You can adjust the width as needed\n >\n <SupportCaseForm\n onSubmit={onSubmit}\n initialValues={initialValues}\n handleCloseSupportCaseSideSheet={handleCloseSupportCaseSideSheet}\n loading={loading}\n />\n </SideSheet>\n );\n};\n\nexport default SupportCaseSideSheet;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,mBAAmB,EACvB,UACA,gBAAgB,EAAE,EAClB,sCACI;CACJ,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,OAAO,SAAS;CACtB,MAAM,EAAE,iBAAiB,kBAAkB,aAAa;CACxD,MAAM,CAAC,iBAAiB,sBAAsB,SAAS,EAAE,CAAC;CAC1D,MAAM,CAAC,oBAAoB,yBAAyB,SAAS,EAAE,CAAC;CAChE,MAAM,CAAC,cAAc,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,CACU,EAEd,oCAAC,cAAW,MAAK,QAAQ,EAEzB,oCAAC,mBACC,oCAAC;EACC,OAAM;EACN,SAAQ;EACR,iBAAiB;IAClB,gBAEc,CACH,CACT,CACN;;AAIP,8BAAe;;;;AC1jBf,MAAa,wBAAwB,EACnC,MACA,SACA,UACA,eACA,iCACA,cACI;AACJ,QACE,oCAAC;EACO;EACG;EACT,OAAM;EACN,OAAO;IAEP,oCAACC;EACW;EACK;EACkB;EACxB;GACT,CACQ;;AAIhB,mCAAe"}
|
|
1
|
+
{"version":3,"file":"SupportCaseSideSheet-BTCZjI26.js","names":["LinearProgress","SupportCaseForm"],"sources":["../src/UI/support/SupportCaseForm.jsx","../src/UI/support/SupportCaseSideSheet.jsx"],"sourcesContent":["import React, { useState, useEffect, useCallback } from 'react';\nimport { FluentTextField } from '../inputs/textField/FluentTextField';\nimport { FluentTextFieldAutoComplete } from '../inputs/textField/FluentTextFieldAutoComplete';\nimport { LayoutUnit } from '../../layout/LayoutUnit';\nimport { DragDropFileUpload } from '../../uploader/DragDropFileUpload';\nimport { Form, FormButtons, SubmitButton, Field } from '../../utilities/form';\nimport { useUser } from '../../utilities/auth/useUser';\nimport { useTranslation } from 'react-i18next';\nimport { useSnackbar } from 'notistack';\nimport { Button } from '@material-ui/core';\nimport { apiMutate } from '../../utilities/useAxiosMutate';\nimport { AmbientCard } from '../surfaces/cards/AmbientCard';\nimport { LinearProgress } from '../../UI/loading/LinearProgress';\nimport { useHistory } from 'react-router-dom';\nimport { ConfigService } from '../../configService';\n\nconst SupportCaseForm = ({\n onSubmit,\n initialValues = {},\n handleCloseSupportCaseSideSheet\n}) => {\n const { t } = useTranslation();\n const user = useUser();\n const { enqueueSnackbar, closeSnackbar } = useSnackbar();\n const [severityOptions, setSeverityOptions] = useState([]);\n const [environmentOptions, setEnvironmentOptions] = useState([]);\n const [brandOptions, setBrandOptions] = useState([]);\n const [uploadedFiles, setUploadedFiles] = useState([]);\n const [unityState, setUnityState] = useState();\n const [loadingState, setLoadingState] = useState(false);\n const baseUrl = ConfigService.productV1ApiUrl; // backend base url\n const unityUrl = ConfigService.supportV1ApiUrl; // unity support bypass\n const unityEnv = ConfigService.config.UNITY_ENVIRONMENT; // unity environment\n const [uploadKey, setUploadKey] = useState(0);\n const [restrictedFiles, setRestrictedFiles] = useState({});\n const history = useHistory();\n\n const getFileRestrictions = useCallback(\n async () =>\n apiMutate(baseUrl, `udpunitysupport/supportFileUploadRestrictions`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [baseUrl, user?.currentTenantId]\n );\n\n const getFileRestrictionsUnity = useCallback(\n async () =>\n apiMutate(unityUrl, `evergrncaseattachment/get-attachment-restrictions`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [unityUrl, user?.currentTenantId]\n );\n\n const getSeverityUnity = useCallback(\n async () =>\n apiMutate(unityUrl, `caseseverity/get-case-severity`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [unityUrl, user?.currentTenantId]\n );\n\n const getEnvironmentUnity = useCallback(\n async () =>\n apiMutate(unityUrl, `evergrncaseenvironment/get-case-environments`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [unityUrl, user?.currentTenantId]\n );\n\n const getSeverity = useCallback(\n async () =>\n apiMutate(baseUrl, `udpunitysupport/severities`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [baseUrl, user?.currentTenantId]\n );\n\n const getEnvironment = useCallback(\n async () =>\n apiMutate(baseUrl, `udpunitysupport/environments`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [baseUrl, user?.currentTenantId]\n );\n\n // externalUuid will be needed part of the post request to submit ticket\n const getTenantCaseAccount = useCallback(\n async () =>\n apiMutate(\n baseUrl,\n `udpunitysupport/tenantCaseAccount/` + user?.currentTenantId,\n {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }\n ),\n [baseUrl, user?.currentTenantId]\n );\n\n // list of products to choose from when in Support Portal, if cooresponsding externalUuid is null, default to devops support GUID\n const getTenantCaseBrand = useCallback(\n async () =>\n apiMutate(ConfigService.tenantV2ApiUrl, `tenant/products`, {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }),\n [user?.currentTenantId]\n );\n\n const getTenantSubscribedProducts = useCallback(\n async () =>\n apiMutate(\n ConfigService.tenantV1ApiUrl,\n `tenantProducts?tenantId=${user?.currentTenantId}`,\n {\n method: 'get',\n headers: {\n currentTenantId: user?.currentTenantId\n }\n }\n ),\n [user?.currentTenantId]\n );\n\n // TODO: this data should come from Unity table -> Unity UEM -> Unity Support\n const getCasesEnv = {\n Development: '100000003',\n Build: '100000003',\n Staging: '100000001',\n Production: '100000000'\n };\n\n function getCaseEnvironment() {\n return getCasesEnv[unityEnv] || '100000003'; // default to dev\n }\n\n let brandId = '416b0ca8-e679-ef11-ac20-6045bdcd3d86'; // Default to devops support ID, should come from API\n\n const postCaseAttachment = useCallback(\n (values) => {\n const data = new FormData();\n uploadedFiles.forEach((file) => {\n data.append('files', file);\n });\n data.append('EvergrnCaseName', values.title);\n data.append('EvergrnDescription', values.description);\n data.append('EvergrnCaseEnvironment', getCaseEnvironment());\n data.append('EvergrnSeverity', values.severity.value);\n // Find the corresponding brand ID using environment variable's product ID\n const matchingProduct = brandOptions.find(\n (product) => product.productId == ConfigService.config.UNITY_PRODUCT_ID\n );\n if (matchingProduct && matchingProduct.value) {\n brandId = matchingProduct.value;\n }\n data.append('EvergrnBrandId', brandId);\n data.append(\n 'UDPDriveUnityProductId',\n ConfigService.config.UNITY_PRODUCT_ID\n );\n\n return apiMutate(\n baseUrl,\n `udpunitysupport/case`,\n {\n method: 'post',\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n },\n { data: data }\n );\n },\n [baseUrl, uploadedFiles, getCaseEnvironment, brandOptions, brandId]\n );\n\n const postCaseAttachmentUnity = useCallback(\n (values) => {\n const data = new FormData();\n uploadedFiles.forEach((file) => {\n data.append('files', file);\n });\n data.append('EvergrnCaseName', values.title);\n data.append('EvergrnDescription', values.description);\n data.append('EvergrnCaseEnvironment', getCaseEnvironment());\n data.append('EvergrnSeverity', values.severity.value);\n data.append('EvergrnBrandId', values.product?.value || brandId);\n data.append(\n 'UDPDriveUnityProductId',\n ConfigService.config.UNITY_PRODUCT_ID\n );\n\n return apiMutate(\n unityUrl,\n `evergrncase/post-case`,\n {\n method: 'post',\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n },\n { data: data }\n );\n },\n [unityUrl, uploadedFiles, getCaseEnvironment, brandId]\n );\n\n useEffect(() => {\n const fetchData = async () => {\n try {\n if (ConfigService.config.UNITY_PRODUCT_ID === '1') {\n setUnityState(true);\n } else {\n setUnityState(false);\n }\n\n let getFileRestrictionsResponse = unityState\n ? await getFileRestrictionsUnity()\n : await getFileRestrictions();\n\n let severityResponse = unityState\n ? await getSeverityUnity()\n : await getSeverity();\n\n let environmentResponse = unityState\n ? await getEnvironmentUnity()\n : await getEnvironment();\n\n if (getFileRestrictionsResponse) {\n const fileRestrictionsData = getFileRestrictionsResponse.data;\n setRestrictedFiles(fileRestrictionsData);\n }\n\n if (severityResponse) {\n const severityOptions = severityResponse.data.map((item) => ({\n value: item.externalUUID.toString(),\n label: item.name\n }));\n setSeverityOptions(severityOptions);\n }\n\n if (environmentResponse) {\n const environmentOptions = environmentResponse.data.map((item) => ({\n value: item.evergrnCaseEnvironmentValue.toString(),\n label: item.evergrnCaseEnvironmentLabel\n }));\n setEnvironmentOptions(environmentOptions);\n }\n\n // fetch brand data\n const brandResponse = await getTenantCaseBrand();\n const tenantSubscribedProductsResponse =\n await getTenantSubscribedProducts();\n\n if (brandResponse && tenantSubscribedProductsResponse) {\n const brandArray = brandResponse.data.filter(\n (brandItem) => brandItem.externalUuid != null\n );\n const subscribedArray = tenantSubscribedProductsResponse.data;\n\n const brandOptions = subscribedArray\n .map((subscribedProduct) => {\n const foundProduct = brandArray.find(\n (brandItem) =>\n brandItem.productId === subscribedProduct.productId\n );\n\n if (!foundProduct) {\n return null;\n }\n\n return {\n ...subscribedProduct,\n value: foundProduct.externalUuid?.toString(), // Cases Brand ID\n label: foundProduct.name.toString()\n };\n })\n .filter(Boolean);\n\n setBrandOptions(brandOptions);\n }\n } catch (error) {\n console.error('Error fetching data:', error);\n }\n };\n\n fetchData();\n }, [\n unityState,\n getSeverityUnity,\n getEnvironmentUnity,\n getFileRestrictionsUnity,\n getFileRestrictions,\n getSeverity,\n getEnvironment,\n getTenantCaseBrand,\n getTenantSubscribedProducts\n ]);\n\n const handleUploadFile = (files) => {\n const identifiedRestrictedExtensions = [];\n const identifiedRestrictedFileSizes = [];\n\n files.forEach((file) => {\n const fileExtension = file.name.includes('.')\n ? '.' + file.name.split('.').pop().toLowerCase()\n : '';\n\n if (restrictedFiles.restrictedExtensions.includes(fileExtension)) {\n identifiedRestrictedExtensions.push(fileExtension);\n }\n\n if (file.size > restrictedFiles.maxFileSize) {\n identifiedRestrictedFileSizes.push(file.name);\n }\n });\n\n const isAcceptableExtensions = identifiedRestrictedExtensions.length === 0;\n const isAcceptableSizes = identifiedRestrictedFileSizes.length === 0;\n\n if (!(isAcceptableExtensions && isAcceptableSizes)) {\n if (!isAcceptableExtensions) {\n const uniqueExtensions = [...new Set(identifiedRestrictedExtensions)];\n const errorText = `Restricted file type(s). ${uniqueExtensions.join(\n ', '\n )}`;\n enqueueSnackbar(t(errorText), {\n variant: 'error',\n anchorOrigin: { vertical: 'top', horizontal: 'center' }\n });\n }\n\n if (!isAcceptableSizes) {\n const errorText = `File(s) are too large (5MB limit). ${identifiedRestrictedFileSizes.join(\n ', '\n )}`;\n enqueueSnackbar(t(errorText), {\n variant: 'error',\n anchorOrigin: { vertical: 'top', horizontal: 'center' }\n });\n }\n\n setUploadKey((prevKey) => prevKey + 1);\n return;\n }\n\n setUploadedFiles(files);\n };\n\n const handleSubmit = async (values) => {\n setLoadingState(true);\n\n let response;\n try {\n response = unityState\n ? await postCaseAttachmentUnity(values)\n : await postCaseAttachment(values);\n } catch (apiError) {\n console.error('post Case API call failed:', apiError);\n enqueueSnackbar(t('Submission failed'), {\n variant: 'error',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='primary'\n size='small'\n id='udpRecord-SupportCaseForm-close'\n onClick={() => {\n closeSnackbar(key);\n }}\n >\n close\n </Button>\n )\n });\n setLoadingState(false);\n return { submitError: apiError.message };\n }\n\n // Check for valid response\n if (!response?.data?.evergrnCaseId) {\n console.error('API call succeeded but no case ID returned');\n enqueueSnackbar(t('Submission failed - No case ID returned'), {\n variant: 'error',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='primary'\n size='small'\n id='udpRecord-SupportCaseForm-close'\n onClick={() => {\n closeSnackbar(key);\n }}\n >\n close\n </Button>\n )\n });\n setLoadingState(false);\n return { submitError: 'No case ID was returned from the server' };\n }\n\n window.dispatchEvent(new CustomEvent('support-case-created'));\n\n try {\n handleCloseSupportCaseSideSheet();\n } catch (closeError) {\n console.error('Error closing sheet:', closeError);\n }\n\n enqueueSnackbar(t(`Support Case Created. View your cases`), {\n variant: 'success',\n anchorOrigin: {\n vertical: 'top',\n horizontal: 'center'\n },\n action: (key) => (\n <Button\n color='primary'\n size='small'\n id='udpRecord-SupportCaseForm-here'\n onClick={() => {\n try {\n const caseId = response.data.evergrnCaseId;\n let url;\n if (unityState) {\n url = `/support/cases/${caseId}`;\n history.push(url);\n } else {\n url = `${ConfigService.config.UNITY_URL}/support/cases/${caseId}`;\n window.location.href = url;\n }\n closeSnackbar(key);\n } catch (navError) {\n console.error('Navigation error:', navError);\n closeSnackbar(key);\n }\n }}\n >\n here\n </Button>\n )\n });\n\n try {\n await onSubmit(values);\n } catch (onSubmitError) {\n console.error('Error in onSubmit:', onSubmitError);\n }\n setLoadingState(false);\n };\n\n return (\n <>\n {loadingState && <LinearProgress />}\n <Form onSubmit={handleSubmit}>\n <AmbientCard fullWidth>\n <Field\n component={FluentTextField}\n name='title'\n label={t('Title')}\n placeholder={t('Enter a brief title for your issue')}\n variant='outlined'\n fullWidth\n autoFocus\n required={true}\n />\n {unityState && (\n <Field\n component={FluentTextFieldAutoComplete}\n name='product'\n label={t('Product')}\n variant='outlined'\n margin='normal'\n size='small'\n options={brandOptions}\n optionKey='label'\n style={{ width: '100%' }}\n disableClearable\n id='udpRecord-CreateSupportCaseForm-product'\n udprecordid='udpRecord-CreateSupportCaseForm-product'\n />\n )}\n <Field\n component={FluentTextFieldAutoComplete}\n name='severity'\n label={t('Severity')}\n variant='outlined'\n margin='normal'\n size='small'\n options={severityOptions}\n optionKey='label'\n style={{ width: '100%' }}\n disableClearable\n id='udpRecord-CreateSupportCaseForm-severity'\n udprecordid='udpRecord-CreateSupportCaseForm-severity'\n required={true}\n />\n </AmbientCard>\n\n <LayoutUnit unit='xxs' />\n\n <AmbientCard fullWidth>\n <Field\n name='description'\n component={FluentTextField}\n multiline={true}\n rows={10}\n minRows={3}\n maxRows={20}\n required={true}\n label='Description'\n placeholder='Please describe your issue in detail'\n />\n </AmbientCard>\n\n <LayoutUnit unit='xxs' />\n\n <AmbientCard fullWidth>\n <DragDropFileUpload\n key={uploadKey}\n title='Attachments'\n multiple={true}\n minHeight='100px'\n maxHeight='400px'\n acceptedFiles='.pdf,.doc,.docx,.png,.jpg,.jpeg'\n handleUploadFile={handleUploadFile}\n />\n </AmbientCard>\n\n <LayoutUnit unit='xxs' />\n\n <FormButtons>\n <SubmitButton\n color='primary'\n variant='contained'\n disablePristine={false}\n >\n Submit Ticket\n </SubmitButton>\n </FormButtons>\n </Form>\n </>\n );\n};\n\nexport default SupportCaseForm;\n","import React from 'react';\nimport { SideSheet } from '../surfaces/SideSheet';\nimport SupportCaseForm from './SupportCaseForm';\n\nexport const SupportCaseSideSheet = ({\n open,\n onClose,\n onSubmit,\n initialValues,\n handleCloseSupportCaseSideSheet,\n loading\n}) => {\n return (\n <SideSheet\n open={open}\n onClose={onClose}\n title=\"Submit Support Ticket\"\n width={600} // You can adjust the width as needed\n >\n <SupportCaseForm\n onSubmit={onSubmit}\n initialValues={initialValues}\n handleCloseSupportCaseSideSheet={handleCloseSupportCaseSideSheet}\n loading={loading}\n />\n </SideSheet>\n );\n};\n\nexport default SupportCaseSideSheet;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,mBAAmB,EACvB,UACA,gBAAgB,EAAE,EAClB,sCACI;CACJ,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,OAAO,SAAS;CACtB,MAAM,EAAE,iBAAiB,kBAAkB,aAAa;CACxD,MAAM,CAAC,iBAAiB,sBAAsB,SAAS,EAAE,CAAC;CAC1D,MAAM,CAAC,oBAAoB,yBAAyB,SAAS,EAAE,CAAC;CAChE,MAAM,CAAC,cAAc,mBAAmB,SAAS,EAAE,CAAC;CACpD,MAAM,CAAC,eAAe,oBAAoB,SAAS,EAAE,CAAC;CACtD,MAAM,CAAC,YAAY,iBAAiB,UAAU;CAC9C,MAAM,CAAC,cAAc,mBAAmB,SAAS,MAAM;CACvD,MAAM,UAAU,cAAc;CAC9B,MAAM,WAAW,cAAc;CAC/B,MAAM,WAAW,cAAc,OAAO;CACtC,MAAM,CAAC,WAAW,gBAAgB,SAAS,EAAE;CAC7C,MAAM,CAAC,iBAAiB,sBAAsB,SAAS,EAAE,CAAC;CAC1D,MAAM,UAAU,YAAY;CAE5B,MAAM,sBAAsB,YAC1B,YACE,UAAU,SAAS,iDAAiD;EAClE,QAAQ;EACR,SAAS,EACP,iBAAiB,MAAM,iBACxB;EACF,CAAC,EACJ,CAAC,SAAS,MAAM,gBAAgB,CACjC;CAED,MAAM,2BAA2B,YAC/B,YACE,UAAU,UAAU,qDAAqD;EACvE,QAAQ;EACR,SAAS,EACP,iBAAiB,MAAM,iBACxB;EACF,CAAC,EACJ,CAAC,UAAU,MAAM,gBAAgB,CAClC;CAED,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AAO,QAAQ;EACxB;EACA,IAAG;EACH,aAAY;GACZ,EAEJ,oCAAC;EACC,WAAW;EACX,MAAK;EACL,OAAO,EAAE,WAAW;EACpB,SAAQ;EACR,QAAO;EACP,MAAK;EACL,SAAS;EACT,WAAU;EACV,OAAO,EAAE,OAAO,QAAQ;EACxB;EACA,IAAG;EACH,aAAY;EACZ,UAAU;GACV,CACU,EAEd,oCAAC,cAAW,MAAK,QAAQ,EAEzB,oCAAC,eAAY,mBACX,oCAAC;EACC,MAAK;EACL,WAAW;EACX,WAAW;EACX,MAAM;EACN,SAAS;EACT,SAAS;EACT,UAAU;EACV,OAAM;EACN,aAAY;GACZ,CACU,EAEd,oCAAC,cAAW,MAAK,QAAQ,EAEzB,oCAAC,eAAY,mBACX,oCAAC;EACC,KAAK;EACL,OAAM;EACN,UAAU;EACV,WAAU;EACV,WAAU;EACV,eAAc;EACI;GAClB,CACU,EAEd,oCAAC,cAAW,MAAK,QAAQ,EAEzB,oCAAC,mBACC,oCAAC;EACC,OAAM;EACN,SAAQ;EACR,iBAAiB;IAClB,gBAEc,CACH,CACT,CACN;;AAIP,8BAAe;;;;AC1jBf,MAAa,wBAAwB,EACnC,MACA,SACA,UACA,eACA,iCACA,cACI;AACJ,QACE,oCAAC;EACO;EACG;EACT,OAAM;EACN,OAAO;IAEP,oCAACC;EACW;EACK;EACkB;EACxB;GACT,CACQ;;AAIhB,mCAAe"}
|
|
@@ -28,6 +28,6 @@ import "./LinearProgress-DM2DNWCe.js";
|
|
|
28
28
|
import "./FluentTextField-CXvZawOG.js";
|
|
29
29
|
import "./formatBytes-Cq2rh3hB.js";
|
|
30
30
|
import "./DragDropFileUpload-TFHchivz.js";
|
|
31
|
-
import { n as SupportCaseSideSheet_default, t as SupportCaseSideSheet } from "./SupportCaseSideSheet-
|
|
31
|
+
import { n as SupportCaseSideSheet_default, t as SupportCaseSideSheet } from "./SupportCaseSideSheet-BTCZjI26.js";
|
|
32
32
|
|
|
33
33
|
export { SupportCaseSideSheet, SupportCaseSideSheet_default as default };
|
|
@@ -10,6 +10,6 @@ import "../../TreeUtilities-C6e2dd4g.js";
|
|
|
10
10
|
import "../../StatusChip-DZAN88VU.js";
|
|
11
11
|
import "../../IconButtonWithToolTip-DswviiJB.js";
|
|
12
12
|
import { t as Accordion } from "../../Accordion-BVLUCIjd.js";
|
|
13
|
-
import "../../accordion-
|
|
13
|
+
import "../../accordion-BLXGkcTH.js";
|
|
14
14
|
|
|
15
15
|
export { Accordion };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../catalogStore-DP2GxpTJ.js";
|
|
2
2
|
import { t as UdpAdvancedSearchBuilder } from "../../UdpAdvancedSearchBuilder-6P8dWXaP.js";
|
|
3
|
-
import "../../advancedSearchBuilder-
|
|
3
|
+
import "../../advancedSearchBuilder-DAGBcP1-.js";
|
|
4
4
|
|
|
5
5
|
export { UdpAdvancedSearchBuilder };
|
package/dist/UI/charts/index.js
CHANGED
|
@@ -8,6 +8,6 @@ import "../../useAxiosGet-vvPjwB4W.js";
|
|
|
8
8
|
import "../../UdpXYMultiSeriesChart-BLyAiDEL.js";
|
|
9
9
|
import "../../amcharts-C-oU6vTx.js";
|
|
10
10
|
import { t as InsightRenderer } from "../../InsightRenderer-BwE5OX4C.js";
|
|
11
|
-
import "../../charts-
|
|
11
|
+
import "../../charts-R51kXdbo.js";
|
|
12
12
|
|
|
13
13
|
export { InsightRenderer };
|
|
@@ -15,6 +15,6 @@ import { t as Ellipse } from "../../../Ellipse-DGTaApGj.js";
|
|
|
15
15
|
import { t as Token } from "../../../Token-rFpVjQT_.js";
|
|
16
16
|
import { n as SmsDisplay, t as EmailDisplay } from "../../../EmailDisplay-CvNTnoXz.js";
|
|
17
17
|
import { t as Sticky } from "../../../Sticky-CIJot-6K.js";
|
|
18
|
-
import "../../../dataDisplay-
|
|
18
|
+
import "../../../dataDisplay-CHdSKRO0.js";
|
|
19
19
|
|
|
20
20
|
export { Ellipse, EmailDisplay, SmsDisplay, Sticky, Token };
|
|
@@ -16,8 +16,8 @@ import { t as Ellipse } from "../../Ellipse-DGTaApGj.js";
|
|
|
16
16
|
import { t as Token } from "../../Token-rFpVjQT_.js";
|
|
17
17
|
import { n as SmsDisplay, t as EmailDisplay } from "../../EmailDisplay-CvNTnoXz.js";
|
|
18
18
|
import { t as Sticky } from "../../Sticky-CIJot-6K.js";
|
|
19
|
-
import "../../dataDisplay-
|
|
20
|
-
import "../../feedback-
|
|
21
|
-
import "../../components-
|
|
19
|
+
import "../../dataDisplay-CHdSKRO0.js";
|
|
20
|
+
import "../../feedback-DL6EKTOa.js";
|
|
21
|
+
import "../../components-HFPHj0Z0.js";
|
|
22
22
|
|
|
23
23
|
export { Adornment, Ellipse, EmailDisplay, SmsDisplay, Sticky, Token };
|
|
@@ -2,6 +2,6 @@ import "../../FluentIcon-DQ6nSDJg.js";
|
|
|
2
2
|
import "../../AmbientTokenButton-B53E25r2.js";
|
|
3
3
|
import "../../useDynamicListCalculation-BzXkwt1u.js";
|
|
4
4
|
import { t as DynamicContainerWithMenu } from "../../DynamicContainerWithMenu-lYZyNyb_.js";
|
|
5
|
-
import "../../containers-
|
|
5
|
+
import "../../containers-Do3V9CjC.js";
|
|
6
6
|
|
|
7
7
|
export { DynamicContainerWithMenu };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../FluentIcon-DQ6nSDJg.js";
|
|
2
2
|
import "../../../AvatarAlphabet-CX-usWH_.js";
|
|
3
3
|
import { n as FluentActivity, t as FluentActivityRow } from "../../../FluentActivityRow-ClmtMW8u.js";
|
|
4
|
-
import "../../../FluentActivity-
|
|
4
|
+
import "../../../FluentActivity-DNv5ppko.js";
|
|
5
5
|
|
|
6
6
|
export { FluentActivity, FluentActivityRow };
|
|
@@ -13,6 +13,6 @@ import "../../../FluentCell-7rw6RNJU.js";
|
|
|
13
13
|
import "../../../FluentHead-B9Abo5q9.js";
|
|
14
14
|
import "../../../FluentRow-C-TnzO9m.js";
|
|
15
15
|
import { t as FluentDataTable } from "../../../FluentDataTable-UPj_BezW.js";
|
|
16
|
-
import "../../../FluentDataTable-
|
|
16
|
+
import "../../../FluentDataTable-BXPIqR8m.js";
|
|
17
17
|
|
|
18
18
|
export { FluentDataTable };
|
|
@@ -33,8 +33,8 @@ import "../../FluentCell-7rw6RNJU.js";
|
|
|
33
33
|
import "../../FluentHead-B9Abo5q9.js";
|
|
34
34
|
import "../../FluentRow-C-TnzO9m.js";
|
|
35
35
|
import { t as FluentDataTable } from "../../FluentDataTable-UPj_BezW.js";
|
|
36
|
-
import { t as HintPanel } from "../../dataDisplay-
|
|
37
|
-
import "../../FluentDataTable-
|
|
38
|
-
import "../../FluentActivity-
|
|
36
|
+
import { t as HintPanel } from "../../dataDisplay-CBFgak2F.js";
|
|
37
|
+
import "../../FluentDataTable-BXPIqR8m.js";
|
|
38
|
+
import "../../FluentActivity-DNv5ppko.js";
|
|
39
39
|
|
|
40
40
|
export { AmbientList, AvatarAlphabet, ChipAlphabet, CompactDataList, CompactDataListItem, EmptyStateDisplay, FluentActivity, FluentActivityRow, FluentDataTable, FluentListElement, FluentListItem, HeaderExpander, HintPanel, SummaryBlock };
|
|
@@ -7,6 +7,6 @@ import { t as FluentDialog } from "../../FluentDialog-B5ZxvX1E.js";
|
|
|
7
7
|
import { t as NodeLoader } from "../../NodeLoader-BtOQQiwA.js";
|
|
8
8
|
import { t as AmbientAlert } from "../../AmbientAlert-LVJtZhxz.js";
|
|
9
9
|
import { t as AmbientToast } from "../../AmbientToast-CM8hpLDi.js";
|
|
10
|
-
import "../../feedback-
|
|
10
|
+
import "../../feedback-Dw-Qh7A6.js";
|
|
11
11
|
|
|
12
12
|
export { AmbientAlert, AmbientToast, FluentDialog, NodeLoader, PageLoading };
|
|
@@ -25,6 +25,6 @@ import "../../LinearProgress-DM2DNWCe.js";
|
|
|
25
25
|
import "../../AmbientAlert-LVJtZhxz.js";
|
|
26
26
|
import "../../PDFViewer-DSCCSPA6.js";
|
|
27
27
|
import { t as FileViewer } from "../../FileViewer-D4N4iN6a.js";
|
|
28
|
-
import "../../fileViewer-
|
|
28
|
+
import "../../fileViewer-CMBhBXGp.js";
|
|
29
29
|
|
|
30
30
|
export { FileViewer };
|
|
@@ -52,6 +52,6 @@ import "../../ExtenderToggle-CKt1tY6l.js";
|
|
|
52
52
|
import "../../HeaderExpander-XX12jgXn.js";
|
|
53
53
|
import "../../AmbientToast-CM8hpLDi.js";
|
|
54
54
|
import { t as CoreLayoutFloorplan } from "../../CoreLayoutFloorplan-xIdceY2Q.js";
|
|
55
|
-
import "../../floorplans-
|
|
55
|
+
import "../../floorplans-CtbDAfnq.js";
|
|
56
56
|
|
|
57
57
|
export { CoreLayoutFloorplan };
|
package/dist/UI/forms/index.js
CHANGED
|
@@ -50,7 +50,7 @@ import "../../Box-Ba-rt7ri.js";
|
|
|
50
50
|
import "../../Grid-CQe49OTv.js";
|
|
51
51
|
import "../../ListCard-BbtJhbNg.js";
|
|
52
52
|
import "../../FormControl-CX_uERHp.js";
|
|
53
|
-
import { t as VirtualForm } from "../../VirtualForm-
|
|
54
|
-
import "../../forms-
|
|
53
|
+
import { t as VirtualForm } from "../../VirtualForm-Dj5FMp9u.js";
|
|
54
|
+
import "../../forms-Bqbd2PSS.js";
|
|
55
55
|
|
|
56
56
|
export { CrudForm, LoginForm, PaymentReversalForm, UdpCrudFormFields, VirtualForm };
|
package/dist/UI/iframe/index.js
CHANGED
package/dist/UI/index.js
CHANGED
|
@@ -177,46 +177,46 @@ import "../UdpXYMultiSeriesChart-BLyAiDEL.js";
|
|
|
177
177
|
import { t as FileViewer } from "../FileViewer-D4N4iN6a.js";
|
|
178
178
|
import "../amcharts-C-oU6vTx.js";
|
|
179
179
|
import { t as InsightRenderer } from "../InsightRenderer-BwE5OX4C.js";
|
|
180
|
-
import { t as UdpMap } from "../UdpMap-
|
|
181
|
-
import { t as SupportCaseSideSheet } from "../SupportCaseSideSheet-
|
|
182
|
-
import { t as VirtualForm } from "../VirtualForm-
|
|
183
|
-
import "../stepper-
|
|
184
|
-
import "../utilityHeader-
|
|
185
|
-
import "../alerts-
|
|
186
|
-
import { t as UtilitySearch } from "../ui-
|
|
187
|
-
import "../utilities-
|
|
188
|
-
import { t as HintPanel } from "../dataDisplay-
|
|
189
|
-
import "../utilityDisplay-
|
|
190
|
-
import "../loading-
|
|
191
|
-
import "../containers-
|
|
192
|
-
import "../forms-
|
|
193
|
-
import "../floorplans-
|
|
194
|
-
import "../dataDisplay-
|
|
195
|
-
import "../feedback-
|
|
196
|
-
import "../components-
|
|
197
|
-
import "../accordion-
|
|
198
|
-
import "../feedback-
|
|
199
|
-
import "../widgets-
|
|
200
|
-
import "../ui-
|
|
201
|
-
import "../NestedGrid-
|
|
202
|
-
import { t as ContentDisplayCard } from "../cards-
|
|
203
|
-
import "../surfaces-
|
|
204
|
-
import "../support-
|
|
205
|
-
import "../mapLayout-
|
|
206
|
-
import "../fileViewer-
|
|
207
|
-
import "../property-
|
|
208
|
-
import "../FluentDataTable-
|
|
209
|
-
import "../FluentActivity-
|
|
210
|
-
import "../charts-
|
|
211
|
-
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../defaultTabs-
|
|
212
|
-
import "../tabs-
|
|
213
|
-
import "../menus-
|
|
214
|
-
import "../navigation-
|
|
215
|
-
import "../fluentTimeline
|
|
216
|
-
import "../timeline-
|
|
217
|
-
import "../maps-
|
|
218
|
-
import "../advancedSearchBuilder-
|
|
219
|
-
import "../templates-
|
|
220
|
-
import "../iframe-
|
|
180
|
+
import { t as UdpMap } from "../UdpMap-BgkNp2X2.js";
|
|
181
|
+
import { t as SupportCaseSideSheet } from "../SupportCaseSideSheet-BTCZjI26.js";
|
|
182
|
+
import { t as VirtualForm } from "../VirtualForm-Dj5FMp9u.js";
|
|
183
|
+
import "../stepper-sZXSP0dk.js";
|
|
184
|
+
import "../utilityHeader-BsUlwtE7.js";
|
|
185
|
+
import "../alerts-Gbvcpl4E.js";
|
|
186
|
+
import { t as UtilitySearch } from "../ui-gRqaK08H.js";
|
|
187
|
+
import "../utilities-CMoiGbGt.js";
|
|
188
|
+
import { t as HintPanel } from "../dataDisplay-CBFgak2F.js";
|
|
189
|
+
import "../utilityDisplay-BHYWs3gf.js";
|
|
190
|
+
import "../loading-BwkuGJoi.js";
|
|
191
|
+
import "../containers-Do3V9CjC.js";
|
|
192
|
+
import "../forms-Bqbd2PSS.js";
|
|
193
|
+
import "../floorplans-CtbDAfnq.js";
|
|
194
|
+
import "../dataDisplay-CHdSKRO0.js";
|
|
195
|
+
import "../feedback-DL6EKTOa.js";
|
|
196
|
+
import "../components-HFPHj0Z0.js";
|
|
197
|
+
import "../accordion-BLXGkcTH.js";
|
|
198
|
+
import "../feedback-Dw-Qh7A6.js";
|
|
199
|
+
import "../widgets-BcHFxfRK.js";
|
|
200
|
+
import "../ui-BjpkPJO5.js";
|
|
201
|
+
import "../NestedGrid-CQ_tEe-B.js";
|
|
202
|
+
import { t as ContentDisplayCard } from "../cards-Bpy1zoxV.js";
|
|
203
|
+
import "../surfaces-B445R0FQ.js";
|
|
204
|
+
import "../support-BhMVhBcD.js";
|
|
205
|
+
import "../mapLayout-Cg6spO9k.js";
|
|
206
|
+
import "../fileViewer-CMBhBXGp.js";
|
|
207
|
+
import "../property-CB8U10nw.js";
|
|
208
|
+
import "../FluentDataTable-BXPIqR8m.js";
|
|
209
|
+
import "../FluentActivity-DNv5ppko.js";
|
|
210
|
+
import "../charts-R51kXdbo.js";
|
|
211
|
+
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../defaultTabs-CVeUq9lw.js";
|
|
212
|
+
import "../tabs-BMrd1KM-.js";
|
|
213
|
+
import "../menus-VWidUTp_.js";
|
|
214
|
+
import "../navigation-2kyWDJg1.js";
|
|
215
|
+
import "../fluentTimeline-BbvrZFSz.js";
|
|
216
|
+
import "../timeline-x3kpYbLD.js";
|
|
217
|
+
import "../maps-D2whP8Zh.js";
|
|
218
|
+
import "../advancedSearchBuilder-DAGBcP1-.js";
|
|
219
|
+
import "../templates-CQ8zAjnU.js";
|
|
220
|
+
import "../iframe-TEQyCzjj.js";
|
|
221
221
|
|
|
222
222
|
export { Accordion, Adornment, AggregateChip, AlertContainer, AmbientAlert, AmbientList, AmbientToast, AppMenu, AppMenuItem, AppMenuItemComponent, AvatarAlphabet, BaseSideSheet, BioCard, Block, Box, BulkActionsGridButton, ChipAlphabet, ChipSection, CircularProgress, CompactDataList, CompactDataListItem, ContentDisplayCard, CoreLayoutFloorplan, CrudForm, Divider, DraggableSidebarTemplate, DynamicContainerWithMenu, Ellipse, EmailDisplay, EmptyStateDisplay, ExpandRenderer, ExpanderItem, FileViewer, FluentActivity, FluentActivityRow, FluentDataTable, FluentDialog, FluentListElement, FluentListItem, FluentMenuListItem, FluentSideNav, FluentSimpleTab, FluentSimpleTabs, FluentTabPanel, FluentTabPanels, FluentTabUtility, FluentTimeline, FluentTimelineContent, FluentTimelineHeader, FormControl, FormControlLabel, Grid, GridActionBar, GridPrimaryBar, HeaderExpander, HintPanel, Iframe, IndicatorChip, InfoCard, InputAdornment, InsightRenderer, ItemsWidgetCard, LinearProgress, LoginForm, MapLayout, NestParent, NestWrapper, NestedGrid, NodeLoader, OpenPage, PAHAdditionalRightComponent, PAHAdditionalTitleComponent, PAHExport, PageLoading, PaymentReversalForm, PrimaryActionHeader, PropertyField, PropertyFields, QuickViewCard, SapFlexibleTemplate, SaveViewFormDialog, SideSheet, SmsDisplay, Sticky, StyledTab, SummaryBlock, SupportCaseSideSheet, TeleportSource, TimeEntryStates, TimeLine, ToggleSection, Token, UdpAdvancedSearchBuilder, UdpAlert, UdpAlertsContainer, UdpCrudFormFields, UdpMap, UdpMapComponent, UdpMapToolbar, UdpStepper, UdpTabPanel, UdpTabUtility, UdpTabs, UdpTimeline, UdpTimelineConnector, UdpTimelineContent, UdpTimelineDot, UdpTimelineItem, UdpTimelineSeparator, UtilityBar, UtilitySearch, UtilitySideBar, UtilityTabHeader, VirtualForm, a11yProps, getFieldValuesForProperties, getPropertiesForFieldValues, getSuccessAction, getThresholdStatus, toggleHeader, useAllTeleporters };
|
|
@@ -64,6 +64,6 @@ import "../../../EmptyStateDisplay-CVeCBelv.js";
|
|
|
64
64
|
import "../../../Grid-CQe49OTv.js";
|
|
65
65
|
import "../../../FluentTimePicker-BfGJcPck.js";
|
|
66
66
|
import "../../../FormControlLabel-CtB6GV-I.js";
|
|
67
|
-
import { n as FieldType, t as FieldArrayCard } from "../../../FieldArrayCard-
|
|
67
|
+
import { n as FieldType, t as FieldArrayCard } from "../../../FieldArrayCard-KGSDXwrq.js";
|
|
68
68
|
|
|
69
69
|
export { FieldArrayCard, FieldType };
|
package/dist/UI/loading/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as LinearProgress } from "../../LinearProgress-DM2DNWCe.js";
|
|
2
2
|
import { t as CircularProgress } from "../../CircularProgress-CACqWr56.js";
|
|
3
3
|
import "../../LoadingOverlay-Xgt8NzCN.js";
|
|
4
|
-
import "../../loading-
|
|
4
|
+
import "../../loading-BwkuGJoi.js";
|
|
5
5
|
|
|
6
6
|
export { CircularProgress, LinearProgress };
|
|
@@ -60,6 +60,6 @@ import "../../ActionsRenderer-B7z5hXrD.js";
|
|
|
60
60
|
import "../../MapUtilities-BdP6EnoS.js";
|
|
61
61
|
import "../../UdpMapToolbar-DBzTPyjO.js";
|
|
62
62
|
import { t as MapLayout } from "../../MapLayout-D6hNVarS.js";
|
|
63
|
-
import "../../mapLayout-
|
|
63
|
+
import "../../mapLayout-Cg6spO9k.js";
|
|
64
64
|
|
|
65
65
|
export { MapLayout };
|
package/dist/UI/maps/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as UdpMapComponent, t as UdpMapToolbar } from "../../UdpMapToolbar-DBzTPyjO.js";
|
|
2
|
-
import { t as UdpMap } from "../../UdpMap-
|
|
3
|
-
import "../../maps-
|
|
2
|
+
import { t as UdpMap } from "../../UdpMap-BgkNp2X2.js";
|
|
3
|
+
import "../../maps-D2whP8Zh.js";
|
|
4
4
|
|
|
5
5
|
export { UdpMap, UdpMapComponent, UdpMapToolbar };
|
|
@@ -24,9 +24,9 @@ import { n as FluentSimpleTab, t as FluentSimpleTabs } from "../../FluentSimpleT
|
|
|
24
24
|
import { t as FluentTabPanel } from "../../FluentTabPanel-B1ag1UNP.js";
|
|
25
25
|
import { t as FluentTabUtility } from "../../FluentTabUtility-BjySMPdy.js";
|
|
26
26
|
import { n as UdpTabPanel, t as UdpTabUtility } from "../../UdpTabUtility-Bsw7cSha.js";
|
|
27
|
-
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../../defaultTabs-
|
|
28
|
-
import "../../tabs-
|
|
29
|
-
import "../../menus-
|
|
30
|
-
import "../../navigation-
|
|
27
|
+
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../../defaultTabs-CVeUq9lw.js";
|
|
28
|
+
import "../../tabs-BMrd1KM-.js";
|
|
29
|
+
import "../../menus-VWidUTp_.js";
|
|
30
|
+
import "../../navigation-2kyWDJg1.js";
|
|
31
31
|
|
|
32
32
|
export { AppMenu, AppMenuItem, AppMenuItemComponent, Block, ExpanderItem, FluentMenuListItem, FluentSideNav, FluentSimpleTab, FluentSimpleTabs, FluentTabPanel, FluentTabPanels, FluentTabUtility, StyledTab, UdpTabPanel, UdpTabUtility, UdpTabs, a11yProps };
|
|
@@ -18,6 +18,6 @@ import { t as FluentMenuListItem } from "../../../FluentMenuListItem-CvEx0IXI.js
|
|
|
18
18
|
import "../../../redirectToLink-CvjUyGaR.js";
|
|
19
19
|
import { n as AppMenuItem, r as AppMenuItemComponent, t as AppMenu } from "../../../AppMenu-B9CCWiY8.js";
|
|
20
20
|
import { n as ExpanderItem, t as Block } from "../../../Expander-BxaMSun-.js";
|
|
21
|
-
import "../../../menus-
|
|
21
|
+
import "../../../menus-VWidUTp_.js";
|
|
22
22
|
|
|
23
23
|
export { AppMenu, AppMenuItem, AppMenuItemComponent, Block, ExpanderItem, FluentMenuListItem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as FluentSimpleTab, t as FluentSimpleTabs } from "../../../../FluentSimpleTabs-DczLNWuA.js";
|
|
2
2
|
import { t as FluentTabPanel } from "../../../../FluentTabPanel-B1ag1UNP.js";
|
|
3
3
|
import { t as FluentTabUtility } from "../../../../FluentTabUtility-BjySMPdy.js";
|
|
4
|
-
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../../../../defaultTabs-
|
|
4
|
+
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../../../../defaultTabs-CVeUq9lw.js";
|
|
5
5
|
|
|
6
6
|
export { FluentSimpleTab, FluentSimpleTabs, FluentTabPanel, FluentTabPanels, FluentTabUtility, StyledTab, a11yProps };
|
|
@@ -4,7 +4,7 @@ import { n as FluentSimpleTab, t as FluentSimpleTabs } from "../../../FluentSimp
|
|
|
4
4
|
import { t as FluentTabPanel } from "../../../FluentTabPanel-B1ag1UNP.js";
|
|
5
5
|
import { t as FluentTabUtility } from "../../../FluentTabUtility-BjySMPdy.js";
|
|
6
6
|
import { n as UdpTabPanel, t as UdpTabUtility } from "../../../UdpTabUtility-Bsw7cSha.js";
|
|
7
|
-
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../../../defaultTabs-
|
|
8
|
-
import "../../../tabs-
|
|
7
|
+
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../../../defaultTabs-CVeUq9lw.js";
|
|
8
|
+
import "../../../tabs-BMrd1KM-.js";
|
|
9
9
|
|
|
10
10
|
export { FluentSimpleTab, FluentSimpleTabs, FluentTabPanel, FluentTabPanels, FluentTabUtility, StyledTab, UdpTabPanel, UdpTabUtility, UdpTabs, a11yProps };
|