@owp/core 1.10.4 → 1.11.0

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.
@@ -1,6 +1,6 @@
1
1
  var b = Object.defineProperty;
2
2
  var o = (d, n) => b(d, "name", { value: n, configurable: !0 });
3
- import { u as D, a as k, s as T, b as v, j as e, c as r, f as p, O as f, d as C, t as I } from "./index-Dr3JjKWY.js";
3
+ import { u as D, a as k, s as T, b as v, j as e, c as r, f as p, O as f, d as C, t as I } from "./index-C1mAlrYO.js";
4
4
  import u from "@mui/material/Divider";
5
5
  import y from "@mui/material/List";
6
6
  import c from "@mui/material/ListItem";
@@ -100,4 +100,4 @@ o(V, "QuickPanel");
100
100
  export {
101
101
  V as default
102
102
  };
103
- //# sourceMappingURL=QuickPanel-Bc2wpz1z.js.map
103
+ //# sourceMappingURL=QuickPanel-B6ZKTPJz.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuickPanel-Bc2wpz1z.js","sources":["../src/components/layouts/shared-components/quickPanel/QuickPanel.tsx"],"sourcesContent":["import { OwpScrollbars } from '@/components/OwpScrollbars';\nimport { OwpSvgIcon } from '@/components/OwpSvgIcon';\nimport { useAppDispatch, useAppSelector } from '@/store/hooks';\nimport Divider from '@mui/material/Divider';\nimport List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport ListItemIcon from '@mui/material/ListItemIcon';\nimport ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction';\nimport ListItemText from '@mui/material/ListItemText';\nimport ListSubheader from '@mui/material/ListSubheader';\nimport { styled } from '@mui/material/styles';\nimport SwipeableDrawer from '@mui/material/SwipeableDrawer';\nimport Switch from '@mui/material/Switch';\nimport Typography from '@mui/material/Typography';\nimport { format } from 'date-fns/format';\nimport { useState } from 'react';\nimport { selectQuickPanelData, selectQuickPanelOpen, toggleQuickPanel } from './quickPanelSlice';\n\nconst StyledSwipeableDrawer = styled(SwipeableDrawer)(() => ({\n '& .MuiDrawer-paper': {\n width: 280,\n },\n}));\n\n/**\n * The quick panel.\n */\nfunction QuickPanel() {\n const dispatch = useAppDispatch();\n const data = useAppSelector(selectQuickPanelData);\n const open = useAppSelector(selectQuickPanelOpen);\n\n const [checked, setChecked] = useState<string[]>(['notifications']);\n\n const handleToggle = (value: string) => () => {\n const currentIndex = checked.indexOf(value);\n const newChecked = [...checked];\n\n if (currentIndex === -1) {\n newChecked.push(value);\n } else {\n newChecked.splice(currentIndex, 1);\n }\n\n setChecked(newChecked);\n };\n\n return (\n <StyledSwipeableDrawer\n open={open as boolean}\n anchor=\"right\"\n onOpen={() => {}}\n onClose={() => dispatch(toggleQuickPanel())}\n disableSwipeToOpen\n >\n <OwpScrollbars>\n <ListSubheader component=\"div\">Today</ListSubheader>\n\n <div className=\"mb-0 px-24 py-16\">\n <Typography className=\"mb-12 text-5xl\" color=\"text.secondary\">\n {format(new Date(), 'eeee')}\n </Typography>\n <div className=\"flex\">\n <Typography className=\"text-5xl leading-none\" color=\"text.secondary\">\n {format(new Date(), 'dd')}\n </Typography>\n <Typography className=\"text-15 leading-none\" color=\"text.secondary\">\n th\n </Typography>\n <Typography className=\"text-5xl leading-none\" color=\"text.secondary\">\n {format(new Date(), 'MMMM')}\n </Typography>\n </div>\n </div>\n <Divider />\n <List>\n <ListSubheader component=\"div\">Events</ListSubheader>\n {data &&\n (data as any).events.map((event: any) => (\n <ListItem key={event.id}>\n <ListItemText primary={event.title} secondary={event.detail} />\n </ListItem>\n ))}\n </List>\n <Divider />\n <List>\n <ListSubheader component=\"div\">Notes</ListSubheader>\n {data &&\n (data as any).notes.map((note: any) => (\n <ListItem key={note.id}>\n <ListItemText primary={note.title} secondary={note.detail} />\n </ListItem>\n ))}\n </List>\n <Divider />\n <List>\n <ListSubheader component=\"div\">Quick Settings</ListSubheader>\n <ListItem>\n <ListItemIcon className=\"min-w-36\">\n <OwpSvgIcon>material-outline:notifications</OwpSvgIcon>\n </ListItemIcon>\n <ListItemText primary=\"Notifications\" />\n <ListItemSecondaryAction>\n <Switch\n color=\"primary\"\n onChange={handleToggle('notifications')}\n checked={checked.indexOf('notifications') !== -1}\n />\n </ListItemSecondaryAction>\n </ListItem>\n <ListItem>\n <ListItemIcon className=\"min-w-36\">\n <OwpSvgIcon>material-outline:cloud</OwpSvgIcon>\n </ListItemIcon>\n <ListItemText primary=\"Cloud Sync\" />\n <ListItemSecondaryAction>\n <Switch\n color=\"secondary\"\n onChange={handleToggle('cloudSync')}\n checked={checked.indexOf('cloudSync') !== -1}\n />\n </ListItemSecondaryAction>\n </ListItem>\n <ListItem>\n <ListItemIcon className=\"min-w-36\">\n <OwpSvgIcon>material-outline:brightness_high</OwpSvgIcon>\n </ListItemIcon>\n <ListItemText primary=\"Retro Thrusters\" />\n <ListItemSecondaryAction>\n <Switch\n color=\"primary\"\n onChange={handleToggle('retroThrusters')}\n checked={checked.indexOf('retroThrusters') !== -1}\n />\n </ListItemSecondaryAction>\n </ListItem>\n </List>\n </OwpScrollbars>\n </StyledSwipeableDrawer>\n );\n}\n\nexport default QuickPanel;\n"],"names":["StyledSwipeableDrawer","styled","SwipeableDrawer","QuickPanel","dispatch","useAppDispatch","data","useAppSelector","selectQuickPanelData","open","selectQuickPanelOpen","checked","setChecked","useState","handleToggle","__name","value","currentIndex","newChecked","jsx","toggleQuickPanel","OwpScrollbars","ListSubheader","jsxs","Typography","format","Divider","List","event","ListItem","ListItemText","note","ListItemIcon","OwpSvgIcon","ListItemSecondaryAction","Switch"],"mappings":";;;;;;;;;;;;;;;AAkBA,MAAMA,IAAwBC,EAAOC,CAAe,EAAE,OAAO;AAAA,EAC3D,sBAAsB;AAAA,IACpB,OAAO;AAAA,EAAA;AAEX,EAAE;AAKF,SAASC,IAAa;AACpB,QAAMC,IAAWC,EAAA,GACXC,IAAOC,EAAeC,CAAoB,GAC1CC,IAAOF,EAAeG,CAAoB,GAE1C,CAACC,GAASC,CAAU,IAAIC,EAAmB,CAAC,eAAe,CAAC,GAE5DC,IAAe,gBAAAC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C,OAAM;AAAA,gBACN,UAAUrB,EAAa,WAAW;AAAA,gBAClC,SAASH,EAAQ,QAAQ,WAAW,MAAM;AAAA,cAAA;AAAA,YAAA,EAC5C,CACF;AAAA,UAAA,GACF;AAAA,4BACCkB,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAV,EAACa,KAAa,WAAU,YACtB,UAAA,gBAAAb,EAACc,GAAA,EAAW,8CAAgC,EAAA,CAC9C;AAAA,YACA,gBAAAd,EAACW,GAAA,EAAa,SAAQ,kBAAA,CAAkB;AAAA,8BACvCI,GAAA,EACC,UAAA,gBAAAf;AAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,OAAM;AAAA,gBACN,UAAUrB,EAAa,gBAAgB;AAAA,gBACvC,SAASH,EAAQ,QAAQ,gBAAgB,MAAM;AAAA,cAAA;AAAA,YAAA,EACjD,CACF;AAAA,UAAA,EAAA,CACF;AAAA,QAAA,EAAA,CACF;AAAA,MAAA,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;AAjHSI,EAAAZ,GAAA;"}
1
+ {"version":3,"file":"QuickPanel-B6ZKTPJz.js","sources":["../src/components/layouts/shared-components/quickPanel/QuickPanel.tsx"],"sourcesContent":["import { OwpScrollbars } from '@/components/OwpScrollbars';\nimport { OwpSvgIcon } from '@/components/OwpSvgIcon';\nimport { useAppDispatch, useAppSelector } from '@/store/hooks';\nimport Divider from '@mui/material/Divider';\nimport List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport ListItemIcon from '@mui/material/ListItemIcon';\nimport ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction';\nimport ListItemText from '@mui/material/ListItemText';\nimport ListSubheader from '@mui/material/ListSubheader';\nimport { styled } from '@mui/material/styles';\nimport SwipeableDrawer from '@mui/material/SwipeableDrawer';\nimport Switch from '@mui/material/Switch';\nimport Typography from '@mui/material/Typography';\nimport { format } from 'date-fns/format';\nimport { useState } from 'react';\nimport { selectQuickPanelData, selectQuickPanelOpen, toggleQuickPanel } from './quickPanelSlice';\n\nconst StyledSwipeableDrawer = styled(SwipeableDrawer)(() => ({\n '& .MuiDrawer-paper': {\n width: 280,\n },\n}));\n\n/**\n * The quick panel.\n */\nfunction QuickPanel() {\n const dispatch = useAppDispatch();\n const data = useAppSelector(selectQuickPanelData);\n const open = useAppSelector(selectQuickPanelOpen);\n\n const [checked, setChecked] = useState<string[]>(['notifications']);\n\n const handleToggle = (value: string) => () => {\n const currentIndex = checked.indexOf(value);\n const newChecked = [...checked];\n\n if (currentIndex === -1) {\n newChecked.push(value);\n } else {\n newChecked.splice(currentIndex, 1);\n }\n\n setChecked(newChecked);\n };\n\n return (\n <StyledSwipeableDrawer\n open={open as boolean}\n anchor=\"right\"\n onOpen={() => {}}\n onClose={() => dispatch(toggleQuickPanel())}\n disableSwipeToOpen\n >\n <OwpScrollbars>\n <ListSubheader component=\"div\">Today</ListSubheader>\n\n <div className=\"mb-0 px-24 py-16\">\n <Typography className=\"mb-12 text-5xl\" color=\"text.secondary\">\n {format(new Date(), 'eeee')}\n </Typography>\n <div className=\"flex\">\n <Typography className=\"text-5xl leading-none\" color=\"text.secondary\">\n {format(new Date(), 'dd')}\n </Typography>\n <Typography className=\"text-15 leading-none\" color=\"text.secondary\">\n th\n </Typography>\n <Typography className=\"text-5xl leading-none\" color=\"text.secondary\">\n {format(new Date(), 'MMMM')}\n </Typography>\n </div>\n </div>\n <Divider />\n <List>\n <ListSubheader component=\"div\">Events</ListSubheader>\n {data &&\n (data as any).events.map((event: any) => (\n <ListItem key={event.id}>\n <ListItemText primary={event.title} secondary={event.detail} />\n </ListItem>\n ))}\n </List>\n <Divider />\n <List>\n <ListSubheader component=\"div\">Notes</ListSubheader>\n {data &&\n (data as any).notes.map((note: any) => (\n <ListItem key={note.id}>\n <ListItemText primary={note.title} secondary={note.detail} />\n </ListItem>\n ))}\n </List>\n <Divider />\n <List>\n <ListSubheader component=\"div\">Quick Settings</ListSubheader>\n <ListItem>\n <ListItemIcon className=\"min-w-36\">\n <OwpSvgIcon>material-outline:notifications</OwpSvgIcon>\n </ListItemIcon>\n <ListItemText primary=\"Notifications\" />\n <ListItemSecondaryAction>\n <Switch\n color=\"primary\"\n onChange={handleToggle('notifications')}\n checked={checked.indexOf('notifications') !== -1}\n />\n </ListItemSecondaryAction>\n </ListItem>\n <ListItem>\n <ListItemIcon className=\"min-w-36\">\n <OwpSvgIcon>material-outline:cloud</OwpSvgIcon>\n </ListItemIcon>\n <ListItemText primary=\"Cloud Sync\" />\n <ListItemSecondaryAction>\n <Switch\n color=\"secondary\"\n onChange={handleToggle('cloudSync')}\n checked={checked.indexOf('cloudSync') !== -1}\n />\n </ListItemSecondaryAction>\n </ListItem>\n <ListItem>\n <ListItemIcon className=\"min-w-36\">\n <OwpSvgIcon>material-outline:brightness_high</OwpSvgIcon>\n </ListItemIcon>\n <ListItemText primary=\"Retro Thrusters\" />\n <ListItemSecondaryAction>\n <Switch\n color=\"primary\"\n onChange={handleToggle('retroThrusters')}\n checked={checked.indexOf('retroThrusters') !== -1}\n />\n </ListItemSecondaryAction>\n </ListItem>\n </List>\n </OwpScrollbars>\n </StyledSwipeableDrawer>\n );\n}\n\nexport default QuickPanel;\n"],"names":["StyledSwipeableDrawer","styled","SwipeableDrawer","QuickPanel","dispatch","useAppDispatch","data","useAppSelector","selectQuickPanelData","open","selectQuickPanelOpen","checked","setChecked","useState","handleToggle","__name","value","currentIndex","newChecked","jsx","toggleQuickPanel","OwpScrollbars","ListSubheader","jsxs","Typography","format","Divider","List","event","ListItem","ListItemText","note","ListItemIcon","OwpSvgIcon","ListItemSecondaryAction","Switch"],"mappings":";;;;;;;;;;;;;;;AAkBA,MAAMA,IAAwBC,EAAOC,CAAe,EAAE,OAAO;AAAA,EAC3D,sBAAsB;AAAA,IACpB,OAAO;AAAA,EAAA;AAEX,EAAE;AAKF,SAASC,IAAa;AACpB,QAAMC,IAAWC,EAAA,GACXC,IAAOC,EAAeC,CAAoB,GAC1CC,IAAOF,EAAeG,CAAoB,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AAa;AAAA,8BAClCI,GAAA,EACC,UAAA,gBAAAf;AAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,OAAM;AAAA,gBACN,UAAUrB,EAAa,WAAW;AAAA,gBAClC,SAASH,EAAQ,QAAQ,WAAW,MAAM;AAAA,cAAA;AAAA,YAAA,EAC5C,CACF;AAAA,UAAA,GACF;AAAA,4BACCkB,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAV,EAACa,KAAa,WAAU,YACtB,UAAA,gBAAAb,EAACc,GAAA,EAAW,8CAAgC,EAAA,CAC9C;AAAA,YACA,gBAAAd,EAACW,GAAA,EAAa,SAAQ,kBAAA,CAAkB;AAAA,8BACvCI,GAAA,EACC,UAAA,gBAAAf;AAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,OAAM;AAAA,gBACN,UAAUrB,EAAa,gBAAgB;AAAA,gBACvC,SAASH,EAAQ,QAAQ,gBAAgB,MAAM;AAAA,cAAA;AAAA,YAAA,EACjD,CACF;AAAA,UAAA,EAAA,CACF;AAAA,QAAA,EAAA,CACF;AAAA,MAAA,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;AAjHSI,EAAAZ,GAAA;"}
@@ -39232,7 +39232,7 @@ a(tne, "NavbarWrapperLayout2");
39232
39232
  const nne = uf([Xd])(
39233
39233
  Tt(tne)
39234
39234
  ), rne = ky(
39235
- () => import("./QuickPanel-Bc2wpz1z.js")
39235
+ () => import("./QuickPanel-B6ZKTPJz.js")
39236
39236
  );
39237
39237
  function ine() {
39238
39238
  return /* @__PURE__ */ O(Hc, { children: /* @__PURE__ */ O(rne, {}) });
@@ -39817,7 +39817,7 @@ a(Pne, "NavbarWrapperLayout3");
39817
39817
  const Ane = uf([Xd])(
39818
39818
  Tt(Pne)
39819
39819
  ), Mne = ky(
39820
- () => import("./QuickPanel-Bc2wpz1z.js")
39820
+ () => import("./QuickPanel-B6ZKTPJz.js")
39821
39821
  );
39822
39822
  function Rne() {
39823
39823
  return /* @__PURE__ */ O(Hc, { children: /* @__PURE__ */ O(Mne, {}) });
@@ -64651,134 +64651,162 @@ const y2 = ai((e, t) => {
64651
64651
  }
64652
64652
  ) })
64653
64653
  ] });
64654
- }), b2 = 120, x2 = 64, $he = De("div")(({ theme: e, ...t }) => ({
64655
- display: "flex",
64656
- flexDirection: "column",
64657
- minWidth: 0,
64658
- minHeight: "100%",
64659
- position: "relative",
64660
- flex: "1 1 auto",
64661
- width: "100%",
64662
- height: "auto",
64663
- padding: "0 16px",
64664
- backgroundColor: e.palette.background.default,
64665
- "& .OwpPageCarded-scroll-content": {
64666
- height: "100%"
64667
- },
64668
- "& .OwpPageCarded-wrapper": {
64669
- display: "flex",
64670
- flexDirection: "row",
64671
- flex: "1 1 auto",
64672
- zIndex: 2,
64673
- maxWidth: "100%",
64674
- minWidth: 0,
64675
- height: "100%",
64676
- backgroundColor: e.palette.background.paper,
64677
- ...t.scroll === "content" && {
64678
- position: "absolute",
64679
- top: 0,
64680
- bottom: 0,
64681
- right: 0,
64682
- left: 0,
64683
- overflow: "hidden"
64684
- }
64685
- },
64686
- "& .OwpPageCarded-header": {
64687
- display: "flex",
64688
- flex: "0 0 auto"
64689
- },
64690
- "& .OwpPageCarded-contentWrapper": {
64654
+ }), b2 = 120, x2 = 64, $he = De("div")(({ theme: e, ...t }) => {
64655
+ const n = t.scroll === "content" && t.fillContentHeight;
64656
+ return {
64691
64657
  display: "flex",
64692
64658
  flexDirection: "column",
64659
+ minWidth: 0,
64660
+ minHeight: "100%",
64661
+ position: "relative",
64693
64662
  flex: "1 1 auto",
64694
- overflow: "auto",
64695
- WebkitOverflowScrolling: "touch",
64696
- zIndex: 9999
64697
- },
64698
- "& .OwpPageCarded-toolbar": {
64699
- height: x2,
64700
- minHeight: x2,
64701
- display: "flex",
64702
- alignItems: "center"
64703
- },
64704
- "& .OwpPageCarded-content": {
64705
- flex: "1 0 auto"
64706
- },
64707
- "& .OwpPageCarded-sidebarWrapper": {
64708
- overflow: "hidden",
64709
- backgroundColor: "transparent",
64710
- position: "absolute",
64711
- "&.permanent": {
64712
- [e.breakpoints.up("lg")]: {
64713
- position: "relative",
64714
- marginLeft: 0,
64715
- marginRight: 0,
64716
- transition: e.transitions.create("margin", {
64717
- easing: e.transitions.easing.sharp,
64718
- duration: e.transitions.duration.leavingScreen
64719
- }),
64720
- "&.closed": {
64663
+ width: "100%",
64664
+ height: n ? "100%" : "auto",
64665
+ padding: "0 16px",
64666
+ backgroundColor: e.palette.background.default,
64667
+ "& .OwpPageCarded-card": {
64668
+ ...n && {
64669
+ flex: "1 1 auto",
64670
+ height: "auto",
64671
+ minHeight: 0
64672
+ }
64673
+ },
64674
+ "& .OwpPageCarded-wrapper": {
64675
+ display: "flex",
64676
+ flexDirection: "row",
64677
+ flex: "1 1 auto",
64678
+ zIndex: 2,
64679
+ maxWidth: "100%",
64680
+ minWidth: 0,
64681
+ height: "100%",
64682
+ backgroundColor: e.palette.background.paper,
64683
+ ...t.scroll === "content" && {
64684
+ position: "absolute",
64685
+ top: 0,
64686
+ bottom: 0,
64687
+ right: 0,
64688
+ left: 0,
64689
+ overflow: "hidden"
64690
+ },
64691
+ ...n && {
64692
+ minHeight: 0
64693
+ }
64694
+ },
64695
+ "& .OwpPageCarded-header": {
64696
+ display: "flex",
64697
+ flex: "0 0 auto"
64698
+ },
64699
+ "& .OwpPageCarded-contentWrapper": {
64700
+ display: "flex",
64701
+ flexDirection: "column",
64702
+ flex: "1 1 auto",
64703
+ overflow: "auto",
64704
+ WebkitOverflowScrolling: "touch",
64705
+ zIndex: 9999,
64706
+ ...n && {
64707
+ minHeight: 0
64708
+ }
64709
+ },
64710
+ "& .OwpPageCarded-toolbar": {
64711
+ height: x2,
64712
+ minHeight: x2,
64713
+ display: "flex",
64714
+ alignItems: "center"
64715
+ },
64716
+ "& .OwpPageCarded-content": {
64717
+ flex: "1 0 auto",
64718
+ ...n && {
64719
+ display: "flex",
64720
+ flex: "1 1 auto",
64721
+ flexDirection: "column",
64722
+ minHeight: 0,
64723
+ "& > .OwpPageContent-root": {
64724
+ minHeight: 0
64725
+ },
64726
+ "& > .OwpPageContent-root > .OwpPageContent-body": {
64727
+ display: "flex",
64728
+ flex: "1 1 auto",
64729
+ flexDirection: "column",
64730
+ minHeight: 0
64731
+ }
64732
+ }
64733
+ },
64734
+ "& .OwpPageCarded-sidebarWrapper": {
64735
+ overflow: "hidden",
64736
+ backgroundColor: "transparent",
64737
+ position: "absolute",
64738
+ "&.permanent": {
64739
+ [e.breakpoints.up("lg")]: {
64740
+ position: "relative",
64741
+ marginLeft: 0,
64742
+ marginRight: 0,
64721
64743
  transition: e.transitions.create("margin", {
64722
- easing: e.transitions.easing.easeOut,
64723
- duration: e.transitions.duration.enteringScreen
64744
+ easing: e.transitions.easing.sharp,
64745
+ duration: e.transitions.duration.leavingScreen
64724
64746
  }),
64725
- "&.OwpPageCarded-leftSidebar": {
64726
- marginLeft: -t.leftSidebarWidth
64727
- },
64728
- "&.OwpPageCarded-rightSidebar": {
64729
- marginRight: -t.rightSidebarWidth
64747
+ "&.closed": {
64748
+ transition: e.transitions.create("margin", {
64749
+ easing: e.transitions.easing.easeOut,
64750
+ duration: e.transitions.duration.enteringScreen
64751
+ }),
64752
+ "&.OwpPageCarded-leftSidebar": {
64753
+ marginLeft: -t.leftSidebarWidth
64754
+ },
64755
+ "&.OwpPageCarded-rightSidebar": {
64756
+ marginRight: -t.rightSidebarWidth
64757
+ }
64730
64758
  }
64731
64759
  }
64732
64760
  }
64733
- }
64734
- },
64735
- "& .OwpPageCarded-sidebar": {
64736
- position: "absolute",
64737
- backgroundColor: e.palette.background.paper,
64738
- color: e.palette.text.primary,
64739
- "&.permanent": {
64761
+ },
64762
+ "& .OwpPageCarded-sidebar": {
64763
+ position: "absolute",
64764
+ backgroundColor: e.palette.background.paper,
64765
+ color: e.palette.text.primary,
64766
+ "&.permanent": {
64767
+ [e.breakpoints.up("lg")]: {
64768
+ position: "relative"
64769
+ }
64770
+ },
64771
+ maxWidth: "100%",
64772
+ height: "100%"
64773
+ },
64774
+ "& .OwpPageCarded-leftSidebar": {
64775
+ width: t.leftSidebarWidth,
64740
64776
  [e.breakpoints.up("lg")]: {
64741
- position: "relative"
64777
+ // borderRight: `1px solid ${theme.palette.divider}`,
64778
+ // borderLeft: 0,
64742
64779
  }
64743
64780
  },
64744
- maxWidth: "100%",
64745
- height: "100%"
64746
- },
64747
- "& .OwpPageCarded-leftSidebar": {
64748
- width: t.leftSidebarWidth,
64749
- [e.breakpoints.up("lg")]: {
64750
- // borderRight: `1px solid ${theme.palette.divider}`,
64751
- // borderLeft: 0,
64752
- }
64753
- },
64754
- "& .OwpPageCarded-rightSidebar": {
64755
- width: t.rightSidebarWidth,
64756
- [e.breakpoints.up("lg")]: {
64757
- // borderLeft: `1px solid ${theme.palette.divider}`,
64758
- // borderRight: 0,
64781
+ "& .OwpPageCarded-rightSidebar": {
64782
+ width: t.rightSidebarWidth,
64783
+ [e.breakpoints.up("lg")]: {
64784
+ // borderLeft: `1px solid ${theme.palette.divider}`,
64785
+ // borderRight: 0,
64786
+ }
64787
+ },
64788
+ "& .OwpPageCarded-sidebarHeader": {
64789
+ height: b2,
64790
+ minHeight: b2,
64791
+ backgroundColor: e.palette.primary.dark,
64792
+ color: e.palette.primary.contrastText
64793
+ },
64794
+ "& .OwpPageCarded-sidebarHeaderInnerSidebar": {
64795
+ backgroundColor: "transparent",
64796
+ color: "inherit",
64797
+ height: "auto",
64798
+ minHeight: "auto"
64799
+ },
64800
+ "& .OwpPageCarded-sidebarContent": {
64801
+ display: "flex",
64802
+ flexDirection: "column",
64803
+ minHeight: "100%"
64804
+ },
64805
+ "& .OwpPageCarded-backdrop": {
64806
+ position: "absolute"
64759
64807
  }
64760
- },
64761
- "& .OwpPageCarded-sidebarHeader": {
64762
- height: b2,
64763
- minHeight: b2,
64764
- backgroundColor: e.palette.primary.dark,
64765
- color: e.palette.primary.contrastText
64766
- },
64767
- "& .OwpPageCarded-sidebarHeaderInnerSidebar": {
64768
- backgroundColor: "transparent",
64769
- color: "inherit",
64770
- height: "auto",
64771
- minHeight: "auto"
64772
- },
64773
- "& .OwpPageCarded-sidebarContent": {
64774
- display: "flex",
64775
- flexDirection: "column",
64776
- minHeight: "100%"
64777
- },
64778
- "& .OwpPageCarded-backdrop": {
64779
- position: "absolute"
64780
- }
64781
- })), Ghe = ai((e, t) => {
64808
+ };
64809
+ }), Ghe = ai((e, t) => {
64782
64810
  const {
64783
64811
  scroll: n = "page",
64784
64812
  className: r,
@@ -64793,15 +64821,16 @@ const y2 = ai((e, t) => {
64793
64821
  leftSidebarVariant: p = "permanent",
64794
64822
  rightSidebarVariant: h = "permanent",
64795
64823
  rightSidebarOnClose: g,
64796
- leftSidebarOnClose: v
64797
- } = e, y = Ve(null), b = Ve(null), x = Ve(null);
64824
+ leftSidebarOnClose: v,
64825
+ fillContentHeight: y = !1
64826
+ } = e, b = Ve(null), x = Ve(null), w = Ve(null);
64798
64827
  return i0(t, () => ({
64799
- rootRef: x,
64800
- toggleLeftSidebar: /* @__PURE__ */ a((w) => {
64801
- y.current.toggleSidebar(w);
64828
+ rootRef: w,
64829
+ toggleLeftSidebar: /* @__PURE__ */ a((S) => {
64830
+ b.current.toggleSidebar(S);
64802
64831
  }, "toggleLeftSidebar"),
64803
- toggleRightSidebar: /* @__PURE__ */ a((w) => {
64804
- b.current.toggleSidebar(w);
64832
+ toggleRightSidebar: /* @__PURE__ */ a((S) => {
64833
+ x.current.toggleSidebar(S);
64805
64834
  }, "toggleRightSidebar")
64806
64835
  })), /* @__PURE__ */ ye(yn, { children: [
64807
64836
  /* @__PURE__ */ O(
@@ -64833,19 +64862,20 @@ const y2 = ai((e, t) => {
64833
64862
  $he,
64834
64863
  {
64835
64864
  className: Ce("OwpPageCarded-root", `OwpPageCarded-scroll-${n}`, r),
64836
- ref: x,
64865
+ ref: w,
64837
64866
  scroll: n,
64838
64867
  leftSidebarWidth: f,
64839
64868
  rightSidebarWidth: d,
64869
+ fillContentHeight: y,
64840
64870
  children: [
64841
64871
  i && /* @__PURE__ */ O(Hhe, { header: i }),
64842
- /* @__PURE__ */ O("div", { className: "relative z-10 flex h-full flex-auto flex-col overflow-hidden rounded-t-lg shadow-1 mt-16", children: /* @__PURE__ */ ye("div", { className: "OwpPageCarded-wrapper", children: [
64872
+ /* @__PURE__ */ O("div", { className: "OwpPageCarded-card relative z-10 flex h-full flex-auto flex-col overflow-hidden rounded-t-lg shadow-1 mt-16", children: /* @__PURE__ */ ye("div", { className: "OwpPageCarded-wrapper", children: [
64843
64873
  s && /* @__PURE__ */ O(
64844
64874
  y2,
64845
64875
  {
64846
64876
  position: "left",
64847
64877
  variant: p,
64848
- ref: y,
64878
+ ref: b,
64849
64879
  open: c,
64850
64880
  onClose: v,
64851
64881
  children: s
@@ -64857,7 +64887,7 @@ const y2 = ai((e, t) => {
64857
64887
  {
64858
64888
  position: "right",
64859
64889
  variant: h || "permanent",
64860
- ref: b,
64890
+ ref: x,
64861
64891
  open: u,
64862
64892
  onClose: g,
64863
64893
  children: l
@@ -64891,8 +64921,8 @@ const y2 = ai((e, t) => {
64891
64921
  children: i
64892
64922
  }) => {
64893
64923
  const s = !!(e != null && e !== "" || t || n || r);
64894
- return /* @__PURE__ */ ye("div", { className: "flex flex-col w-full h-full", children: [
64895
- s && /* @__PURE__ */ ye("div", { className: "sticky", children: [
64924
+ return /* @__PURE__ */ ye("div", { className: "OwpPageContent-root flex h-full w-full flex-col", children: [
64925
+ s && /* @__PURE__ */ ye("div", { className: "OwpPageContent-header sticky", children: [
64896
64926
  /* @__PURE__ */ O(
64897
64927
  kF,
64898
64928
  {
@@ -64904,7 +64934,7 @@ const y2 = ai((e, t) => {
64904
64934
  ),
64905
64935
  /* @__PURE__ */ O(Wa, { className: "my-12" })
64906
64936
  ] }),
64907
- /* @__PURE__ */ O("div", { className: "flex-1", children: i })
64937
+ /* @__PURE__ */ O("div", { className: "OwpPageContent-body flex-1", children: i })
64908
64938
  ] });
64909
64939
  }, "OwpPageContent"), pwe = /* @__PURE__ */ a(({ loading: e, title: t }) => /* @__PURE__ */ ye(
64910
64940
  xN,
@@ -78156,4 +78186,4 @@ export {
78156
78186
  Wbe as y,
78157
78187
  Ube as z
78158
78188
  };
78159
- //# sourceMappingURL=index-Dr3JjKWY.js.map
78189
+ //# sourceMappingURL=index-C1mAlrYO.js.map