udp-react-enterprise-component-library 25.18.1-beta.15 → 25.18.1-beta.16
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/{FluentProfileMenuCard-CnUOy-ne.js → FluentProfileMenuCard-DNEXKlnU.js} +3 -3
- package/dist/{FluentProfileMenuCard-CnUOy-ne.js.map → FluentProfileMenuCard-DNEXKlnU.js.map} +1 -1
- package/dist/{Shell-BnKSMfKq.js → Shell-CtVpJXxY.js} +2 -2
- package/dist/{Shell-BnKSMfKq.js.map → Shell-CtVpJXxY.js.map} +1 -1
- package/dist/{SimpleTable-BMjywRbx.js → SimpleTable-qZ0yJQ7F.js} +1 -1
- package/dist/{SimpleTable-BMjywRbx.js.map → SimpleTable-qZ0yJQ7F.js.map} +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 +40 -42
- package/dist/UI/loading/index.js +1 -1
- package/dist/UI/mapLayout/index.js +1 -1
- package/dist/UI/maps/index.js +1 -1
- 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 +1 -1
- 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/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/{UdpRoutes-MhKxW3An.js → UdpRoutes-CI1py_NT.js} +2 -2
- package/dist/{UdpRoutes-MhKxW3An.js.map → UdpRoutes-CI1py_NT.js.map} +1 -1
- package/dist/{UserFormSideSheet-DGU02bqo.js → UserFormSideSheet-D7hlvi7a.js} +1 -1
- package/dist/{UserFormSideSheet-2QRJUUnm.js → UserFormSideSheet-DI9PhY_8.js} +1 -1
- package/dist/{UserFormSideSheet-2QRJUUnm.js.map → UserFormSideSheet-DI9PhY_8.js.map} +1 -1
- package/dist/{VirtualBrowser-CKvzgu8L.js → VirtualBrowser-5hAz3UE3.js} +2 -2
- package/dist/{VirtualBrowser-CKvzgu8L.js.map → VirtualBrowser-5hAz3UE3.js.map} +1 -1
- package/dist/{VirtualBrowser-CxAjZWKa.js → VirtualBrowser-rYIbYWoG.js} +2 -2
- package/dist/{VirtualForm-Dj5FMp9u.js → VirtualForm-IeyAdA0M.js} +1 -1
- package/dist/{VirtualForm-Dj5FMp9u.js.map → VirtualForm-IeyAdA0M.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-Bpy1zoxV.js → cards-DPBDLDXw.js} +1 -1
- package/dist/{cards-Bpy1zoxV.js.map → cards-DPBDLDXw.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-CBFgak2F.js → dataDisplay-BSQWZtf2.js} +1 -1
- package/dist/{dataDisplay-CBFgak2F.js.map → dataDisplay-BSQWZtf2.js.map} +1 -1
- package/dist/{defaultTabs-CVeUq9lw.js → defaultTabs-DWvaZLda.js} +1 -1
- package/dist/{defaultTabs-CVeUq9lw.js.map → defaultTabs-DWvaZLda.js.map} +1 -1
- package/dist/index.js +4 -5
- 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/UI/index.d.ts +0 -1
- package/dist/types/src/UI/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-gRqaK08H.js → ui-D8rpUgCH.js} +1 -1
- package/dist/{ui-gRqaK08H.js.map → ui-D8rpUgCH.js.map} +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/export-map.json +2 -3
- package/package.json +1 -1
- package/dist/InputsExample-ClC-vFVK.js +0 -11
- package/dist/InputsExample-ClC-vFVK.js.map +0 -1
- package/dist/UI/demos/index.js +0 -4
- package/dist/types/src/UI/demos/InputsExample.d.ts +0 -5
- package/dist/types/src/UI/demos/InputsExample.d.ts.map +0 -1
- package/dist/types/src/UI/demos/index.d.ts +0 -4
- package/dist/types/src/UI/demos/index.d.ts.map +0 -1
- package/dist/wrappers-CGE2HK5z.js +0 -1
- /package/dist/{FluentActivity-DNv5ppko.js → FluentActivity-ZmR91KuL.js} +0 -0
- /package/dist/{FluentDataTable-BXPIqR8m.js → FluentDataTable-D6CwFLEV.js} +0 -0
- /package/dist/{NestedGrid-CQ_tEe-B.js → NestedGrid-Bpe6Gn2t.js} +0 -0
- /package/dist/{accordion-BLXGkcTH.js → accordion-Cna7x6KZ.js} +0 -0
- /package/dist/{addUser-D2pqu0AW.js → addUser-Rm753Rdx.js} +0 -0
- /package/dist/{advancedSearchBuilder-DAGBcP1-.js → advancedSearchBuilder-B90LZRh_.js} +0 -0
- /package/dist/{alerts-Gbvcpl4E.js → alerts-BEzneJqz.js} +0 -0
- /package/dist/{appSwitcher-Cj_OxE8O.js → appSwitcher-CyJs9WuC.js} +0 -0
- /package/dist/{charts-R51kXdbo.js → charts-Du-Q0llq.js} +0 -0
- /package/dist/{components-BbPynQ4E.js → components-C5coF-wQ.js} +0 -0
- /package/dist/{components-HFPHj0Z0.js → components-CoC-8_zm.js} +0 -0
- /package/dist/{containers-Do3V9CjC.js → containers-_3rkuZoE.js} +0 -0
- /package/dist/{crudBrowser-CNJMNMPk.js → crudBrowser-CdhcPPcg.js} +0 -0
- /package/dist/{dataDisplay-CHdSKRO0.js → dataDisplay-DIgTM1UM.js} +0 -0
- /package/dist/{demos-D1hYYoOq.js → feedback-B05CkZXj.js} +0 -0
- /package/dist/{feedback-DL6EKTOa.js → feedback-BDi9oRUo.js} +0 -0
- /package/dist/{feedback-Dw-Qh7A6.js → fileViewer-DRwdxYw_.js} +0 -0
- /package/dist/{fileViewer-CMBhBXGp.js → floorplans-Dl2AyLhb.js} +0 -0
- /package/dist/{floorplans-CtbDAfnq.js → fluentTimeline--3Q718UR.js} +0 -0
- /package/dist/{fluentTimeline-BbvrZFSz.js → forms-BHhy_qYQ.js} +0 -0
- /package/dist/{forms-Bqbd2PSS.js → forms-CVEaCedp.js} +0 -0
- /package/dist/{forms-uSV7-14b.js → functions-CwSJZI3C.js} +0 -0
- /package/dist/{functions-BKH-pLPX.js → hocs-DuC-vCkb.js} +0 -0
- /package/dist/{hocs-DwAy8u5A.js → hooks-D_mILYbQ.js} +0 -0
- /package/dist/{hooks-B7ab4j1m.js → iframe-AW8kvPvm.js} +0 -0
- /package/dist/{iframe-CM2OOxOu.js → loading-B3JBL1wZ.js} +0 -0
- /package/dist/{loading-BwkuGJoi.js → mapLayout-C6RRQSQH.js} +0 -0
- /package/dist/{mapLayout-Cg6spO9k.js → maps-BtJVT799.js} +0 -0
- /package/dist/{maps-D2whP8Zh.js → menus-C7WHOHJR.js} +0 -0
- /package/dist/{menus-DugtDOhA.js → menus-DShZlpFc.js} +0 -0
- /package/dist/{menus-VWidUTp_.js → modified-BPc6aUrP.js} +0 -0
- /package/dist/{modified--RrdyRlS.js → mttMainTimeline-DUbkEEOm.js} +0 -0
- /package/dist/{mttMainTimeline-DFHSLEBw.js → mttSummary-CQ7CNsq1.js} +0 -0
- /package/dist/{mttSummary-BrQ0Tb62.js → navigation-CJVbXvHa.js} +0 -0
- /package/dist/{navigation-2kyWDJg1.js → property-CbQRfYWe.js} +0 -0
- /package/dist/{property-CB8U10nw.js → sidebar-CNPzO9Fp.js} +0 -0
- /package/dist/{sidebar-C8yBp4eL.js → stepper-B7huBKfi.js} +0 -0
- /package/dist/{stepper-sZXSP0dk.js → support-NC4OMh9O.js} +0 -0
- /package/dist/{support-BhMVhBcD.js → surfaces-BCTDrjpT.js} +0 -0
- /package/dist/{surfaces-B445R0FQ.js → tableBrowser-Bn8IK1Xe.js} +0 -0
- /package/dist/{tableBrowser-BRVY65f3.js → tabs-BNJtY5Hp.js} +0 -0
- /package/dist/{tabs-BMrd1KM-.js → templates-B2aOg0L7.js} +0 -0
- /package/dist/{templates-Cz1v1M4q.js → timeline-DJIkHTcL.js} +0 -0
- /package/dist/{timeline-x3kpYbLD.js → ui-BcDKhtx3.js} +0 -0
- /package/dist/{ui-BjpkPJO5.js → ui-C--uraG2.js} +0 -0
- /package/dist/{ui-Bqag992Z.js → ui-DKHa8sM6.js} +0 -0
- /package/dist/{ui-DBhxlgrk.js → utilities-CxBf7Ev-.js} +0 -0
- /package/dist/{utilities-CMoiGbGt.js → utilityDisplay-BaXrFO-O.js} +0 -0
- /package/dist/{utilityDisplay-BHYWs3gf.js → utilityHeader-Dt6H4wad.js} +0 -0
- /package/dist/{utilityHeader-BsUlwtE7.js → utils-B-VgChNQ.js} +0 -0
- /package/dist/{utils-CRdMZZPC.js → utils-CfkvLUFW.js} +0 -0
- /package/dist/{utils-Cpcp_Rx8.js → virtualBrowser-n3zfV2w2.js} +0 -0
- /package/dist/{virtualBrowser-pfw07Czd.js → widgets-CATYcCRH.js} +0 -0
- /package/dist/{widgets-BcHFxfRK.js → wrappers-BaMCCFNw.js} +0 -0
package/dist/UI/index.js
CHANGED
|
@@ -179,46 +179,44 @@ import "../amcharts-C-oU6vTx.js";
|
|
|
179
179
|
import { t as InsightRenderer } from "../InsightRenderer-BwE5OX4C.js";
|
|
180
180
|
import { t as UdpMap } from "../UdpMap-DB0qsBfI.js";
|
|
181
181
|
import { t as SupportCaseSideSheet } from "../SupportCaseSideSheet-DPfapAFC.js";
|
|
182
|
-
import { t as
|
|
183
|
-
import
|
|
184
|
-
import "../
|
|
185
|
-
import "../
|
|
186
|
-
import "../
|
|
187
|
-
import
|
|
188
|
-
import "../
|
|
189
|
-
import
|
|
190
|
-
import "../
|
|
191
|
-
import "../
|
|
192
|
-
import "../
|
|
193
|
-
import "../
|
|
194
|
-
import "../
|
|
195
|
-
import "../
|
|
196
|
-
import "../
|
|
197
|
-
import "../
|
|
198
|
-
import "../
|
|
199
|
-
import "../
|
|
200
|
-
import "../
|
|
201
|
-
import "../
|
|
202
|
-
import "../
|
|
203
|
-
import
|
|
204
|
-
import "../
|
|
205
|
-
import "../
|
|
206
|
-
import "../
|
|
207
|
-
import "../
|
|
208
|
-
import "../
|
|
209
|
-
import "../
|
|
210
|
-
import "../
|
|
211
|
-
import "../
|
|
212
|
-
import
|
|
213
|
-
import "../
|
|
214
|
-
import "../
|
|
215
|
-
import "../
|
|
216
|
-
import "../
|
|
217
|
-
import "../
|
|
218
|
-
import "../
|
|
219
|
-
import "../
|
|
220
|
-
import "../
|
|
221
|
-
import "../templates-Cz1v1M4q.js";
|
|
222
|
-
import "../iframe-CM2OOxOu.js";
|
|
182
|
+
import { t as VirtualForm } from "../VirtualForm-IeyAdA0M.js";
|
|
183
|
+
import "../stepper-B7huBKfi.js";
|
|
184
|
+
import "../utilityHeader-Dt6H4wad.js";
|
|
185
|
+
import "../alerts-BEzneJqz.js";
|
|
186
|
+
import { t as UtilitySearch } from "../ui-D8rpUgCH.js";
|
|
187
|
+
import "../utilities-CxBf7Ev-.js";
|
|
188
|
+
import { t as HintPanel } from "../dataDisplay-BSQWZtf2.js";
|
|
189
|
+
import "../utilityDisplay-BaXrFO-O.js";
|
|
190
|
+
import "../loading-B3JBL1wZ.js";
|
|
191
|
+
import "../containers-_3rkuZoE.js";
|
|
192
|
+
import "../forms-BHhy_qYQ.js";
|
|
193
|
+
import "../floorplans-Dl2AyLhb.js";
|
|
194
|
+
import "../dataDisplay-DIgTM1UM.js";
|
|
195
|
+
import "../feedback-BDi9oRUo.js";
|
|
196
|
+
import "../components-C5coF-wQ.js";
|
|
197
|
+
import "../accordion-Cna7x6KZ.js";
|
|
198
|
+
import "../feedback-B05CkZXj.js";
|
|
199
|
+
import "../widgets-CATYcCRH.js";
|
|
200
|
+
import "../ui-DKHa8sM6.js";
|
|
201
|
+
import "../NestedGrid-Bpe6Gn2t.js";
|
|
202
|
+
import { t as ContentDisplayCard } from "../cards-DPBDLDXw.js";
|
|
203
|
+
import "../surfaces-BCTDrjpT.js";
|
|
204
|
+
import "../support-NC4OMh9O.js";
|
|
205
|
+
import "../mapLayout-C6RRQSQH.js";
|
|
206
|
+
import "../fileViewer-DRwdxYw_.js";
|
|
207
|
+
import "../property-CbQRfYWe.js";
|
|
208
|
+
import "../FluentDataTable-D6CwFLEV.js";
|
|
209
|
+
import "../FluentActivity-ZmR91KuL.js";
|
|
210
|
+
import "../charts-Du-Q0llq.js";
|
|
211
|
+
import { n as StyledTab, r as a11yProps, t as FluentTabPanels } from "../defaultTabs-DWvaZLda.js";
|
|
212
|
+
import "../tabs-BNJtY5Hp.js";
|
|
213
|
+
import "../menus-C7WHOHJR.js";
|
|
214
|
+
import "../navigation-CJVbXvHa.js";
|
|
215
|
+
import "../fluentTimeline--3Q718UR.js";
|
|
216
|
+
import "../timeline-DJIkHTcL.js";
|
|
217
|
+
import "../maps-BtJVT799.js";
|
|
218
|
+
import "../advancedSearchBuilder-B90LZRh_.js";
|
|
219
|
+
import "../templates-B2aOg0L7.js";
|
|
220
|
+
import "../iframe-AW8kvPvm.js";
|
|
223
221
|
|
|
224
|
-
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,
|
|
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 };
|
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-B3JBL1wZ.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-C6RRQSQH.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
2
|
import { t as UdpMap } from "../../UdpMap-DB0qsBfI.js";
|
|
3
|
-
import "../../maps-
|
|
3
|
+
import "../../maps-BtJVT799.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-DWvaZLda.js";
|
|
28
|
+
import "../../tabs-BNJtY5Hp.js";
|
|
29
|
+
import "../../menus-C7WHOHJR.js";
|
|
30
|
+
import "../../navigation-CJVbXvHa.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-C7WHOHJR.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-DWvaZLda.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-DWvaZLda.js";
|
|
8
|
+
import "../../../tabs-BNJtY5Hp.js";
|
|
9
9
|
|
|
10
10
|
export { FluentSimpleTab, FluentSimpleTabs, FluentTabPanel, FluentTabPanels, FluentTabUtility, StyledTab, UdpTabPanel, UdpTabUtility, UdpTabs, a11yProps };
|
|
@@ -4,6 +4,6 @@ import "../../FluentTextFieldAutoComplete-5Hp3qpk6.js";
|
|
|
4
4
|
import "../../widgets-TW8ap2gq.js";
|
|
5
5
|
import "../../TimeField-CeEYEvD_.js";
|
|
6
6
|
import { i as getPropertiesForFieldValues, n as PropertyFields, r as getFieldValuesForProperties, t as PropertyField } from "../../PropertyFields-E53XCnE7.js";
|
|
7
|
-
import "../../property-
|
|
7
|
+
import "../../property-CbQRfYWe.js";
|
|
8
8
|
|
|
9
9
|
export { PropertyField, PropertyFields, getFieldValuesForProperties, getPropertiesForFieldValues };
|
package/dist/UI/stepper/index.js
CHANGED
package/dist/UI/support/index.js
CHANGED
|
@@ -29,6 +29,6 @@ import "../../FluentTextField-CXvZawOG.js";
|
|
|
29
29
|
import "../../formatBytes-Cq2rh3hB.js";
|
|
30
30
|
import "../../DragDropFileUpload-TFHchivz.js";
|
|
31
31
|
import { t as SupportCaseSideSheet } from "../../SupportCaseSideSheet-DPfapAFC.js";
|
|
32
|
-
import "../../support-
|
|
32
|
+
import "../../support-NC4OMh9O.js";
|
|
33
33
|
|
|
34
34
|
export { SupportCaseSideSheet };
|
|
@@ -2,7 +2,7 @@ import "../../../FluentIcon-DQ6nSDJg.js";
|
|
|
2
2
|
import "../../../FluentIconButton-Dc95mE3v.js";
|
|
3
3
|
import { i as toggleHeader, n as NestWrapper, r as NestedGrid, t as NestParent } from "../../../NestedGrid-DoJN7e4x.js";
|
|
4
4
|
import { t as ExpandRenderer } from "../../../ExpandRenderer-B8RDzjXQ.js";
|
|
5
|
-
import "../../../ui-
|
|
6
|
-
import "../../../NestedGrid-
|
|
5
|
+
import "../../../ui-DKHa8sM6.js";
|
|
6
|
+
import "../../../NestedGrid-Bpe6Gn2t.js";
|
|
7
7
|
|
|
8
8
|
export { ExpandRenderer, NestParent, NestWrapper, NestedGrid, toggleHeader };
|
|
@@ -3,6 +3,6 @@ import "../../../FluentCard-C3qSYfiz.js";
|
|
|
3
3
|
import { t as BioCard } from "../../../BioCard-M1ZP7x1X.js";
|
|
4
4
|
import { t as QuickViewCard } from "../../../QuickViewCard-odqSWVkJ.js";
|
|
5
5
|
import { t as InfoCard } from "../../../InfoCard-CvkmC7Sv.js";
|
|
6
|
-
import { t as ContentDisplayCard } from "../../../cards-
|
|
6
|
+
import { t as ContentDisplayCard } from "../../../cards-DPBDLDXw.js";
|
|
7
7
|
|
|
8
8
|
export { BioCard, ContentDisplayCard, InfoCard, QuickViewCard };
|
|
@@ -11,9 +11,9 @@ import { t as QuickViewCard } from "../../QuickViewCard-odqSWVkJ.js";
|
|
|
11
11
|
import { i as toggleHeader, n as NestWrapper, r as NestedGrid, t as NestParent } from "../../NestedGrid-DoJN7e4x.js";
|
|
12
12
|
import { t as ExpandRenderer } from "../../ExpandRenderer-B8RDzjXQ.js";
|
|
13
13
|
import { t as InfoCard } from "../../InfoCard-CvkmC7Sv.js";
|
|
14
|
-
import "../../ui-
|
|
15
|
-
import "../../NestedGrid-
|
|
16
|
-
import { t as ContentDisplayCard } from "../../cards-
|
|
17
|
-
import "../../surfaces-
|
|
14
|
+
import "../../ui-DKHa8sM6.js";
|
|
15
|
+
import "../../NestedGrid-Bpe6Gn2t.js";
|
|
16
|
+
import { t as ContentDisplayCard } from "../../cards-DPBDLDXw.js";
|
|
17
|
+
import "../../surfaces-BCTDrjpT.js";
|
|
18
18
|
|
|
19
19
|
export { BaseSideSheet, BioCard, ContentDisplayCard, ExpandRenderer, InfoCard, NestParent, NestWrapper, NestedGrid, QuickViewCard, SideSheet, toggleHeader };
|
|
@@ -6,6 +6,6 @@ import "../../Ellipse-DGTaApGj.js";
|
|
|
6
6
|
import "../../Token-rFpVjQT_.js";
|
|
7
7
|
import "../../ExtenderToggle-CKt1tY6l.js";
|
|
8
8
|
import { n as SapFlexibleTemplate, t as ToggleSection } from "../../ToggleSection-D08xH-j8.js";
|
|
9
|
-
import "../../templates-
|
|
9
|
+
import "../../templates-B2aOg0L7.js";
|
|
10
10
|
|
|
11
11
|
export { DraggableSidebarTemplate, OpenPage, SapFlexibleTemplate, ToggleSection };
|
|
@@ -9,6 +9,6 @@ import "../../../SearchUtilities-Df1gkDw9.js";
|
|
|
9
9
|
import "../../../GroupNode-BxnXH0gG.js";
|
|
10
10
|
import "../../../TreeUtilities-C6e2dd4g.js";
|
|
11
11
|
import { n as FluentTimelineContent, r as FluentTimelineHeader, t as FluentTimeline } from "../../../FluentTimeline-vLyX4O7h.js";
|
|
12
|
-
import "../../../fluentTimeline
|
|
12
|
+
import "../../../fluentTimeline--3Q718UR.js";
|
|
13
13
|
|
|
14
14
|
export { FluentTimeline, FluentTimelineContent, FluentTimelineHeader };
|
|
@@ -10,7 +10,7 @@ import "../../GroupNode-BxnXH0gG.js";
|
|
|
10
10
|
import "../../TreeUtilities-C6e2dd4g.js";
|
|
11
11
|
import { a as UdpTimelineContent, c as TimeEntryStates, i as UdpTimelineDot, n as UdpTimelineConnector, o as UdpTimeline, r as UdpTimelineItem, s as TimeLine, t as UdpTimelineSeparator } from "../../UdpTimelineItemSeparator-jXg9Fier.js";
|
|
12
12
|
import { n as FluentTimelineContent, r as FluentTimelineHeader, t as FluentTimeline } from "../../FluentTimeline-vLyX4O7h.js";
|
|
13
|
-
import "../../fluentTimeline
|
|
14
|
-
import "../../timeline-
|
|
13
|
+
import "../../fluentTimeline--3Q718UR.js";
|
|
14
|
+
import "../../timeline-DJIkHTcL.js";
|
|
15
15
|
|
|
16
16
|
export { FluentTimeline, FluentTimelineContent, FluentTimelineHeader, TimeEntryStates, TimeLine, UdpTimeline, UdpTimelineConnector, UdpTimelineContent, UdpTimelineDot, UdpTimelineItem, UdpTimelineSeparator };
|
|
@@ -20,6 +20,6 @@ import "../../../NumberOperator-k6iXs38S.js";
|
|
|
20
20
|
import "../../../aggregateUtils-BTBSWD8I.js";
|
|
21
21
|
import "../../../AggregateChip-BDugg_kG.js";
|
|
22
22
|
import { n as UdpAlert, t as UdpAlertsContainer } from "../../../UdpAlertsContainer-DehnlBcE.js";
|
|
23
|
-
import "../../../alerts-
|
|
23
|
+
import "../../../alerts-BEzneJqz.js";
|
|
24
24
|
|
|
25
25
|
export { UdpAlert, UdpAlertsContainer };
|
|
@@ -65,10 +65,10 @@ import "../../FluentSimpleTabs-DczLNWuA.js";
|
|
|
65
65
|
import { n as UtilityTabHeader, t as PAHAdditionalTitleComponent } from "../../PAHAdditionalTitleComponent-BxXnCmRL.js";
|
|
66
66
|
import { t as FormControlLabel } from "../../FormControlLabel-CtB6GV-I.js";
|
|
67
67
|
import { t as InputAdornment } from "../../InputAdornment-D7eaaFHG.js";
|
|
68
|
-
import "../../utilityHeader-
|
|
69
|
-
import "../../alerts-
|
|
70
|
-
import { t as UtilitySearch } from "../../ui-
|
|
71
|
-
import "../../utilities-
|
|
72
|
-
import "../../utilityDisplay-
|
|
68
|
+
import "../../utilityHeader-Dt6H4wad.js";
|
|
69
|
+
import "../../alerts-BEzneJqz.js";
|
|
70
|
+
import { t as UtilitySearch } from "../../ui-D8rpUgCH.js";
|
|
71
|
+
import "../../utilities-CxBf7Ev-.js";
|
|
72
|
+
import "../../utilityDisplay-BaXrFO-O.js";
|
|
73
73
|
|
|
74
74
|
export { AggregateChip, BulkActionsGridButton, ChipSection, Divider, FormControl, FormControlLabel, GridActionBar, GridPrimaryBar, IndicatorChip, InputAdornment, PAHAdditionalRightComponent, PAHAdditionalTitleComponent, PAHExport, PrimaryActionHeader, SaveViewFormDialog, TeleportSource, UdpAlert, UdpAlertsContainer, UtilityBar, UtilitySearch, UtilitySideBar, UtilityTabHeader, getThresholdStatus, useAllTeleporters };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../unitySystemEnums-DQSkCr3D.js";
|
|
2
2
|
import "../../../NumberOperator-k6iXs38S.js";
|
|
3
3
|
import { t as getThresholdStatus } from "../../../aggregateUtils-BTBSWD8I.js";
|
|
4
|
-
import "../../../utilities-
|
|
4
|
+
import "../../../utilities-CxBf7Ev-.js";
|
|
5
5
|
|
|
6
6
|
export { getThresholdStatus };
|
|
@@ -12,6 +12,6 @@ import "../../../StatusChip-DZAN88VU.js";
|
|
|
12
12
|
import "../../../UdpTabs-DVZGEwOC.js";
|
|
13
13
|
import "../../../FluentSimpleTabs-DczLNWuA.js";
|
|
14
14
|
import { n as UtilityTabHeader, t as PAHAdditionalTitleComponent } from "../../../PAHAdditionalTitleComponent-BxXnCmRL.js";
|
|
15
|
-
import "../../../utilityHeader-
|
|
15
|
+
import "../../../utilityHeader-Dt6H4wad.js";
|
|
16
16
|
|
|
17
17
|
export { PAHAdditionalRightComponent, PAHAdditionalTitleComponent, PAHExport, PrimaryActionHeader, TeleportSource, UtilityTabHeader, useAllTeleporters };
|
package/dist/UI/widgets/index.js
CHANGED
|
@@ -14,6 +14,6 @@ import "../../useItemSubCard-CJ3DL7fz.js";
|
|
|
14
14
|
import "../../WidgetCard-CDqYxK5O.js";
|
|
15
15
|
import "../../EmptyStateDisplay-CVeCBelv.js";
|
|
16
16
|
import { t as ItemsWidgetCard } from "../../ItemsWidgetCard-D1rGMaXQ.js";
|
|
17
|
-
import "../../widgets-
|
|
17
|
+
import "../../widgets-CATYcCRH.js";
|
|
18
18
|
|
|
19
19
|
export { ItemsWidgetCard };
|
|
@@ -5,7 +5,7 @@ import "../../../../FluentCard-C3qSYfiz.js";
|
|
|
5
5
|
import "../../../../useId-I-OmRBmB.js";
|
|
6
6
|
import "../../../../FUIMenuItem-BZJKJa91.js";
|
|
7
7
|
import { t as WidgetCard_default } from "../../../../WidgetCard-CDqYxK5O.js";
|
|
8
|
-
import { t as SimpleTable_default } from "../../../../SimpleTable-
|
|
8
|
+
import { t as SimpleTable_default } from "../../../../SimpleTable-qZ0yJQ7F.js";
|
|
9
9
|
import React, { forwardRef } from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/UI/widgets/library/TableWidget/TableWidget.jsx
|
|
@@ -61,7 +61,7 @@ const PrivateRoute = ({ ...otherProps }) => {
|
|
|
61
61
|
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/routes/UdpRoutes.jsx
|
|
64
|
-
const VirtualBrowser = lazy(() => import("./VirtualBrowser-
|
|
64
|
+
const VirtualBrowser = lazy(() => import("./VirtualBrowser-rYIbYWoG.js"));
|
|
65
65
|
const MenuPage = lazy(() => import("./MenuPage-HFTfG0b-.js"));
|
|
66
66
|
const UdpPublicForm = lazy(() => import("./udp/pages/UdpPublicForm/index.js"));
|
|
67
67
|
const WorkflowContainer = lazy(() => import("./WorkflowContainer-CW9NJXbF.js"));
|
|
@@ -120,4 +120,4 @@ const UdpRoutes = (props) => {
|
|
|
120
120
|
|
|
121
121
|
//#endregion
|
|
122
122
|
export { PrivateRoute as n, UdpRoutes as t };
|
|
123
|
-
//# sourceMappingURL=UdpRoutes-
|
|
123
|
+
//# sourceMappingURL=UdpRoutes-CI1py_NT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UdpRoutes-
|
|
1
|
+
{"version":3,"file":"UdpRoutes-CI1py_NT.js","names":["props"],"sources":["../src/routes/PrivateRoute.jsx","../src/routes/UdpRoutes.jsx"],"sourcesContent":["import React, { useMemo } from 'react';\r\nimport { Route, Redirect } from 'react-router-dom';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { useIsUnityAuthenticated } from '../utilities/auth/useIsUnityAuthenticated';\r\nimport { useUser } from '../utilities/auth/useUser';\r\nimport { PageForbiddenRoute } from './components/PageForbiddenRoute';\r\n\r\nexport const PrivateRoute = ({ ...otherProps }) => {\r\n const isAuthenticated = useIsUnityAuthenticated();\r\n const user = useUser();\r\n const { t } = useTranslation();\r\n const { rolesMap, menuActiveMap } = otherProps;\r\n const userRoles = user.roleIds;\r\n //path is passed from frontend so making sure it meets expected fromat of all lowercase, no spaces, and has format /pathname or /pathname/:param\r\n let pathAsKey = otherProps.path\r\n .toLowerCase()\r\n .replaceAll(' ', '')\r\n .replace('/', '');\r\n pathAsKey = pathAsKey.split('/:')[0];\r\n\r\n const userHasAccessToTenant = useMemo(() => {\r\n if (user?.tenantIds?.includes(user.currentTenantId)) {\r\n return true;\r\n }\r\n return false;\r\n }, [user]);\r\n\r\n const userHasRoles = useMemo(() => {\r\n if (rolesMap?.size > 0) {\r\n if (!rolesMap.has(pathAsKey)) {\r\n return false;\r\n }\r\n const routeRoles = rolesMap.get(pathAsKey);\r\n return routeRoles.every((element) => userRoles.includes(element));\r\n }\r\n }, [userRoles, rolesMap, pathAsKey]);\r\n\r\n const menuIsActive = useMemo(() => {\r\n if (menuActiveMap?.size > 0 && menuActiveMap.has(pathAsKey)) {\r\n return menuActiveMap.get(pathAsKey);\r\n }\r\n }, [menuActiveMap, pathAsKey]);\r\n\r\n if (!userHasAccessToTenant && isAuthenticated && user?.statusCode === 200) {\r\n return (\r\n <Route\r\n path='*'\r\n render={(props) => (\r\n <PageForbiddenRoute\r\n message={t(\r\n 'You do not have access to this tenant. Please select a different Tenant.'\r\n )}\r\n showButton={false}\r\n />\r\n )}\r\n />\r\n );\r\n }\r\n\r\n if (rolesMap?.has(pathAsKey) && !menuIsActive) {\r\n return (\r\n <Route\r\n path='*'\r\n render={(props) => (\r\n <PageForbiddenRoute\r\n message={t(\r\n 'Trying to access inactive menu. Please check your menu configurations'\r\n )}\r\n showButton={false}\r\n />\r\n )}\r\n />\r\n );\r\n }\r\n\r\n if (!user.isUnitySystemAdmin && rolesMap?.size > 0 && !userHasRoles) {\r\n return (\r\n <Route\r\n path='*'\r\n render={(props) => (\r\n <PageForbiddenRoute\r\n message={t(\r\n 'You do not have the required roles to access this page.Please contact an administrator to get access'\r\n )}\r\n showButton={false}\r\n />\r\n )}\r\n />\r\n );\r\n }\r\n\r\n if (isAuthenticated && user?.statusCode === 200) {\r\n return <Route {...otherProps} />;\r\n }\r\n\r\n return null;\r\n};\r\n","import React, { Suspense, lazy } from 'react';\nimport { Route, Switch } from 'react-router-dom';\nimport { PrivateRoute } from './PrivateRoute';\nimport { UdpPageEnums } from '../enums/pageEnums';\nimport { ConfigService } from '../configService';\nimport { PageLoading } from '../UI/feedback/PageLoading';\n\n// Lazy load route components\nconst VirtualBrowser = lazy(() =>\n import('../maintenanceEngine/virtualBrowser/VirtualBrowser')\n);\nconst MenuPage = lazy(() => import('../menuPage/MenuPage'));\nconst UdpPublicForm = lazy(() => import('../udp/pages/UdpPublicForm'));\nconst WorkflowContainer = lazy(() => import('../workflow/WorkflowContainer'));\nconst PasswordResetRedirect = lazy(() =>\n import('./components/PasswordResetRedirect')\n);\nconst MyExportsPage = lazy(() => import('../udp/export/MyExportsPage'));\nconst PageNotFoundRoute = lazy(() => import('./components/PageNotFoundRoute'));\nconst UdpMaintenanceConfigPage = lazy(() =>\n import('../udp/pages/UdpMaintenanceConfigPage')\n);\nconst UdpMaintenanceEnginePage = lazy(() =>\n import('../udp/pages/UdpMaintenanceEnginePage')\n);\n\nexport const UdpRoutes = (props) => {\n const { ...other } = props;\n return (\n <Suspense fallback={<PageLoading />}>\n <Switch>\n <PrivateRoute\n path='/virtual/:id'\n render={(props) => <VirtualBrowser {...props} {...other} />}\n />\n <PrivateRoute\n path='/menupage/:id'\n render={(props) => <MenuPage {...props} {...other} />}\n />\n\n <Route\n path={`/page/${UdpPageEnums.Udp_Public_Forms_Page}`}\n render={(props) => <UdpPublicForm {...props} {...other} />}\n />\n <Route\n path={`/passwordresetsuccess`}\n render={(props) => <PasswordResetRedirect props={props} />}\n />\n <PrivateRoute\n path='/workflowtask/:id'\n render={(props) => <WorkflowContainer {...props} {...other} />}\n />\n <PrivateRoute\n path='/myexports'\n render={(props) => (\n <MyExportsPage\n productId={ConfigService.config.UNITY_PRODUCT_ID}\n {...props}\n {...other}\n />\n )}\n />\n <PrivateRoute\n path='/crudbrowser'\n render={(props) => <UdpMaintenanceEnginePage {...props} />}\n />\n <PrivateRoute\n path='/tablebrowser'\n render={(props) => <UdpMaintenanceConfigPage {...props} />}\n />\n <PrivateRoute path='*' component={PageNotFoundRoute} />\n </Switch>\n </Suspense>\n );\n};\n"],"mappings":"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"}
|
|
@@ -20,6 +20,6 @@ import "./useAxiosGet-vvPjwB4W.js";
|
|
|
20
20
|
import "./tenantContext-Bu-2lTI5.js";
|
|
21
21
|
import "./useTenant-MqKOZve_.js";
|
|
22
22
|
import "./UserForm-Crii1kld.js";
|
|
23
|
-
import { t as UserFormSideSheet_default } from "./UserFormSideSheet-
|
|
23
|
+
import { t as UserFormSideSheet_default } from "./UserFormSideSheet-DI9PhY_8.js";
|
|
24
24
|
|
|
25
25
|
export { UserFormSideSheet_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserFormSideSheet-
|
|
1
|
+
{"version":3,"file":"UserFormSideSheet-DI9PhY_8.js","names":["UserForm"],"sources":["../src/shell/ui/addUser/UserFormSideSheet.jsx"],"sourcesContent":["import React, { useCallback, useState } from 'react';\nimport { SideSheet } from '../../../UI/surfaces/SideSheet';\nimport UserForm from './UserForm';\nimport { useSnackbar } from 'notistack';\nimport { apiMutate } from '../../../utilities/useAxiosMutate';\nimport { useTenant } from '../../../utilities/tenant/useTenant';\nimport { useHandleAxiosSnackbar } from '../../../utilities/apiHelpers';\nimport { cloneDeep } from 'lodash';\nimport { useTranslation } from 'react-i18next';\nimport { ConfigService } from '../../../configService';\n\n\nconst UserFormSideSheet = ({\n open,\n onClose,\n}) => {\n const [loading, setLoading] = useState(false);\n const tenant = useTenant();\n const { t } = useTranslation();\n const { handleErrorSnackbar, handleSuccessSnackbar } = useHandleAxiosSnackbar();\n\n // Helper functions\n const getUserByEmail = useCallback(\n async email => {\n return await apiMutate(\n ConfigService.securityV1ApiUrl,\n `users/email/${email}`,\n { method: 'get' }\n );\n },\n []\n );\n\n const createUser = useCallback(\n async data => {\n return await apiMutate(\n ConfigService.securityV1ApiUrl,\n `users/${tenant?.activeTenant?.tenantId ?? ''}`,\n { method: 'post' },\n data\n );\n },\n [tenant]\n );\n\n const addUserToTenant = useCallback(\n async email => {\n return await apiMutate(\n ConfigService.tenantV1ApiUrl,\n `tenants/${tenant?.activeTenant?.tenantId ?? ''}/${email}`,\n { method: 'post' }\n );\n },\n [tenant]\n );\n\n const updateExistingUser = useCallback(\n async data => {\n return await apiMutate(\n ConfigService.securityV1ApiUrl,\n `users/aad/${data.id}`,\n { method: 'patch' },\n data\n );\n },\n []\n );\n\n const fillInValues = (oldValues, newValues) => {\n const invalidFields = [\n 'id', 'displayName', 'mail', 'userType', 'email',\n 'accountEnabled', 'mailNickname', 'identities',\n 'password', 'passwordProfile', 'unityId',\n 'unityDefaultTenantId'\n ];\n for (let field in oldValues) {\n if (!invalidFields.includes(field)) {\n if (!oldValues[field]) {\n oldValues[field] = newValues[field];\n }\n }\n }\n return oldValues;\n };\n\n const handleSubmit = useCallback(\n async values => {\n setLoading(true);\n try {\n if (values.email) {\n values.email = values.email.toLowerCase().trim();\n }\n\n const userExistsResponse = await getUserByEmail(values.email);\n const userExists = userExistsResponse.data;\n\n if (userExists) {\n const existingUser = cloneDeep(userExists);\n const updatedValues = fillInValues(existingUser, values);\n\n // Update existing user and add to tenant\n await updateExistingUser({ data: updatedValues });\n await addUserToTenant(values.email);\n handleSuccessSnackbar(t('User has been updated and added to the tenant'))\n } else {\n // Create a new user\n await createUser({ data: values });\n handleSuccessSnackbar(t('User has been created successfully'))\n }\n\n onClose(); // Close the SideSheet after successful submission\n } catch (error) {\n handleErrorSnackbar(error.message || t('An error occurred, please ensure you are creating a new user'))\n } finally {\n setLoading(false);\n }\n },\n [\n getUserByEmail,\n createUser,\n addUserToTenant,\n updateExistingUser,\n handleErrorSnackbar,\n handleSuccessSnackbar,\n onClose,\n ]\n );\n\n return (\n <SideSheet\n open={open}\n onClose={onClose}\n title={t(\"Add User\")}\n width={600} // Adjust the width as needed\n >\n <UserForm\n submitUser={handleSubmit}\n creatingUser={loading}\n tenant={tenant?.activeTenant}\n />\n </SideSheet>\n );\n};\n\nexport default UserFormSideSheet;\n"],"mappings":";;;;;;;;;;;;AAYA,MAAM,qBAAqB,EACzB,MACA,cACI;CACJ,MAAM,CAAC,SAAS,cAAc,SAAS,MAAM;CAC7C,MAAM,SAAS,WAAW;CAC1B,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,EAAE,qBAAqB,0BAA0B,wBAAwB;CAG/E,MAAM,iBAAiB,YACrB,OAAM,UAAS;AACb,SAAO,MAAM,UACX,cAAc,kBACd,eAAe,SACf,EAAE,QAAQ,OAAO,CAClB;IAEH,EAAE,CACH;CAED,MAAM,aAAa,YACjB,OAAM,SAAQ;AACZ,SAAO,MAAM,UACX,cAAc,kBACd,SAAS,QAAQ,cAAc,YAAY,MAC3C,EAAE,QAAQ,QAAQ,EAClB,KACD;IAEH,CAAC,OAAO,CACT;CAED,MAAM,kBAAkB,YACtB,OAAM,UAAS;AACb,SAAO,MAAM,UACX,cAAc,gBACd,WAAW,QAAQ,cAAc,YAAY,GAAG,GAAG,SACnD,EAAE,QAAQ,QAAQ,CACnB;IAEH,CAAC,OAAO,CACT;CAED,MAAM,qBAAqB,YACzB,OAAM,SAAQ;AACZ,SAAO,MAAM,UACX,cAAc,kBACd,aAAa,KAAK,MAClB,EAAE,QAAQ,SAAS,EACnB,KACD;IAEH,EAAE,CACH;CAED,MAAM,gBAAgB,WAAW,cAAc;EAC7C,MAAM,gBAAgB;GACpB;GAAM;GAAe;GAAQ;GAAY;GACzC;GAAkB;GAAgB;GAClC;GAAY;GAAmB;GAC/B;GACD;AACD,OAAK,IAAI,SAAS,UAChB,KAAI,CAAC,cAAc,SAAS,MAAM,EAChC;OAAI,CAAC,UAAU,OACb,WAAU,SAAS,UAAU;;AAInC,SAAO;;CAGT,MAAM,eAAe,YACnB,OAAM,WAAU;AACd,aAAW,KAAK;AAChB,MAAI;AACF,OAAI,OAAO,MACT,QAAO,QAAQ,OAAO,MAAM,aAAa,CAAC,MAAM;GAIlD,MAAM,cADqB,MAAM,eAAe,OAAO,MAAM,EACvB;AAEtC,OAAI,YAAY;AAKd,UAAM,mBAAmB,EAAE,MAHL,aADD,UAAU,WAAW,EACO,OAAO,EAGR,CAAC;AACjD,UAAM,gBAAgB,OAAO,MAAM;AACnC,0BAAsB,EAAE,gDAAgD,CAAC;UACpE;AAEL,UAAM,WAAW,EAAE,MAAM,QAAQ,CAAC;AAClC,0BAAsB,EAAE,qCAAqC,CAAC;;AAGhE,YAAS;WACF,OAAO;AACd,uBAAoB,MAAM,WAAW,EAAE,+DAA+D,CAAC;YAC/F;AACR,cAAW,MAAM;;IAGrB;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACD,CACF;AAED,QACE,oCAAC;EACO;EACG;EACT,OAAO,EAAE,WAAW;EACpB,OAAO;IAEP,oCAACA;EACC,YAAY;EACZ,cAAc;EACd,QAAQ,QAAQ;GAChB,CACQ;;AAIhB,gCAAe"}
|
|
@@ -16,7 +16,7 @@ import { i as executeQueryWithParameters } from "./methodUtils-Cwo_kmVX.js";
|
|
|
16
16
|
import { n as useBuildEnvironment } from "./useBuildEnvironment-2gdqpmBX.js";
|
|
17
17
|
import { t as AmbientGridTemplate } from "./AmbientGridTemplate-BecuOnHe.js";
|
|
18
18
|
import { t as ActionsRenderer } from "./ActionsRenderer-B1ImXko3.js";
|
|
19
|
-
import { t as VirtualForm } from "./VirtualForm-
|
|
19
|
+
import { t as VirtualForm } from "./VirtualForm-IeyAdA0M.js";
|
|
20
20
|
import React, { useCallback, useEffect, useMemo, useState } from "react";
|
|
21
21
|
import { Divider, Typography, makeStyles } from "@material-ui/core";
|
|
22
22
|
import { useLocation } from "react-router-dom";
|
|
@@ -424,4 +424,4 @@ var VirtualBrowser_default = VirtualBrowser;
|
|
|
424
424
|
|
|
425
425
|
//#endregion
|
|
426
426
|
export { defaultColActionsDef as a, VirtualTableColumnDefs as i, VirtualBrowser_default as n, VirtualTableSidePanel as r, VirtualBrowser as t };
|
|
427
|
-
//# sourceMappingURL=VirtualBrowser-
|
|
427
|
+
//# sourceMappingURL=VirtualBrowser-5hAz3UE3.js.map
|