@owp/core 2.5.3 → 2.5.5
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/_virtual/index10.js +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +4 -4
- package/dist/_virtual/index17.js +4 -4
- package/dist/_virtual/index18.js +4 -4
- package/dist/_virtual/index19.js +4 -4
- package/dist/_virtual/index5.js +2 -2
- package/dist/components/OwpMrtTable/OwpMrtTable.js +250 -258
- package/dist/components/OwpMrtTable/OwpMrtTable.js.map +1 -1
- package/dist/components/OwpPageSkeleton/OwpPageSkeleton.js +4 -4
- package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js +166 -0
- package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js.map +1 -0
- package/dist/components/OwpTable/OwpDataTable.js +321 -327
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTable/OwpFieldTable.js +102 -58
- package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
- package/dist/components/OwpTable/OwpTable.js +158 -174
- package/dist/components/OwpTable/OwpTable.js.map +1 -1
- package/dist/components/OwpTable/internal/defaultTableStyle.js +50 -0
- package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -0
- package/dist/components/OwpTable/internal/treeGridTableStyle.js +77 -0
- package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -0
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +200 -253
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +183 -124
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +462 -0
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -0
- package/dist/configs/defaultConfig.js +67 -44
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/gridTheme.js +60 -10
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/constants/tableTheme.js +16 -0
- package/dist/constants/tableTheme.js.map +1 -0
- package/dist/constants/treeGrid.js +44 -26
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +21 -20
- package/dist/contexts/OwpAppProvider.js.map +1 -1
- package/dist/contexts/OwpUiProvider.js +59 -38
- package/dist/contexts/OwpUiProvider.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +492 -0
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -0
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +678 -0
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -0
- package/dist/features/themePreview/components/ThemePreviewColorField.js +301 -0
- package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -0
- package/dist/features/themePreview/components/ThemePreviewControls.js +306 -0
- package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -0
- package/dist/features/themePreview/components/themePreviewCanvas.icons.js +17 -0
- package/dist/features/themePreview/components/themePreviewCanvas.icons.js.map +1 -0
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js +296 -0
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -0
- package/dist/features/themePreview/configs/grid.js +45 -0
- package/dist/features/themePreview/configs/grid.js.map +1 -0
- package/dist/features/themePreview/configs/presets.js +1106 -0
- package/dist/features/themePreview/configs/presets.js.map +1 -0
- package/dist/features/themePreview/configs/previewStorage.js +93 -0
- package/dist/features/themePreview/configs/previewStorage.js.map +1 -0
- package/dist/features/themePreview/configs/settings.js +148 -0
- package/dist/features/themePreview/configs/settings.js.map +1 -0
- package/dist/features/themePreview/configs/snackbar.js +39 -0
- package/dist/features/themePreview/configs/snackbar.js.map +1 -0
- package/dist/features/themePreview/configs/surface.js +10 -0
- package/dist/features/themePreview/configs/surface.js.map +1 -0
- package/dist/features/themePreview/configs/table.js +30 -0
- package/dist/features/themePreview/configs/table.js.map +1 -0
- package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js +43 -0
- package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js.map +1 -0
- package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js +43 -0
- package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js.map +1 -0
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +429 -0
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -0
- package/dist/features/themePreview/hooks/useThemePreview.js +235 -0
- package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -0
- package/dist/features/themePreview/utils/color.js +79 -0
- package/dist/features/themePreview/utils/color.js.map +1 -0
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +526 -0
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -0
- package/dist/features/themePreview/utils/themePreviewExport.js +111 -0
- package/dist/features/themePreview/utils/themePreviewExport.js.map +1 -0
- package/dist/features/themePreview/utils/themePreviewSettings.js +211 -0
- package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -0
- package/dist/features/themePreview.js +75 -0
- package/dist/features/themePreview.js.map +1 -0
- package/dist/index.js +111 -110
- package/dist/layout/components/logo/Logo.js +49 -45
- package/dist/layout/components/logo/Logo.js.map +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- package/dist/layout/components/toggles/ThemePreviewToggle.js +51 -0
- package/dist/layout/components/toggles/ThemePreviewToggle.js.map +1 -0
- package/dist/layout/components/toolbar/ToolbarLayout.js +13 -10
- package/dist/layout/components/toolbar/ToolbarLayout.js.map +1 -1
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/CheckCircleOutline.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/CheckCircleOutline.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DownloadOutlined.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DownloadOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ErrorOutline.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ErrorOutline.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/InfoOutlined.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/InfoOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/KeyboardArrowUpRounded.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/KeyboardArrowUpRounded.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/MenuRounded.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/MenuRounded.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/NotificationsNoneOutlined.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/NotificationsNoneOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/PaletteOutlined.js +25 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/PaletteOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/RestoreOutlined.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/RestoreOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SaveOutlined.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SaveOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SpaceDashboardOutlined.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SpaceDashboardOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/UploadFileOutlined.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/UploadFileOutlined.js.map +1 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/WarningAmberRounded.js +9 -0
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/WarningAmberRounded.js.map +1 -0
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/.pnpm/react-overlays@5.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-overlays/esm/Portal.js +1 -1
- package/dist/owp-app.css +1 -1
- package/dist/types/components/OwpSnackbarContent/OwpSnackbarContent.d.ts +2 -0
- package/dist/types/components/OwpTable/OwpTable.d.ts +3 -1
- package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +49 -0
- package/dist/types/components/OwpTable/internal/treeGridTableStyle.d.ts +105 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +2 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +11 -2
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +20 -0
- package/dist/types/configs/defaultConfig.d.ts +22 -0
- package/dist/types/constants/gridTheme.d.ts +58 -0
- package/dist/types/constants/tableTheme.d.ts +18 -0
- package/dist/types/constants/treeGrid.d.ts +5 -0
- package/dist/types/contexts/OwpAppProvider.d.ts +2 -0
- package/dist/types/features/themePreview/components/ThemePreviewCanvas.d.ts +8 -0
- package/dist/types/features/themePreview/components/ThemePreviewCanvasSections.d.ts +82 -0
- package/dist/types/features/themePreview/components/ThemePreviewColorField.d.ts +10 -0
- package/dist/types/features/themePreview/components/ThemePreviewControls.d.ts +18 -0
- package/dist/types/features/themePreview/components/index.d.ts +3 -0
- package/dist/types/features/themePreview/components/themePreviewCanvas.icons.d.ts +3 -0
- package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +121 -0
- package/dist/types/features/themePreview/configs/grid.d.ts +41 -0
- package/dist/types/features/themePreview/configs/index.d.ts +7 -0
- package/dist/types/features/themePreview/configs/presets.d.ts +1153 -0
- package/dist/types/features/themePreview/configs/previewStorage.d.ts +34 -0
- package/dist/types/features/themePreview/configs/settings.d.ts +271 -0
- package/dist/types/features/themePreview/configs/snackbar.d.ts +43 -0
- package/dist/types/features/themePreview/configs/surface.d.ts +6 -0
- package/dist/types/features/themePreview/configs/table.d.ts +47 -0
- package/dist/types/features/themePreview/dialogs/ThemePreviewDialog.d.ts +3 -0
- package/dist/types/features/themePreview/dialogs/index.d.ts +1 -0
- package/dist/types/features/themePreview/hooks/index.d.ts +1 -0
- package/dist/types/features/themePreview/hooks/useThemePreview.d.ts +60 -0
- package/dist/types/features/themePreview/index.d.ts +6 -0
- package/dist/types/features/themePreview/types/index.d.ts +1 -0
- package/dist/types/features/themePreview/types/themePreview.d.ts +44 -0
- package/dist/types/features/themePreview/utils/color.d.ts +14 -0
- package/dist/types/features/themePreview/utils/index.d.ts +4 -0
- package/dist/types/features/themePreview/utils/themePreviewDefinitions.d.ts +10 -0
- package/dist/types/features/themePreview/utils/themePreviewExport.d.ts +1091 -0
- package/dist/types/features/themePreview/utils/themePreviewSettings.d.ts +54 -0
- package/dist/types/layout/components/toggles/ThemePreviewToggle.d.ts +5 -0
- package/dist/types/types/OwpGridThemeTypes.d.ts +34 -0
- package/dist/types/types/OwpSettingsTypes.d.ts +9 -0
- package/dist/types/types/OwpTableThemeTypes.d.ts +16 -0
- package/dist/types/types/index.d.ts +3 -2
- package/dist/types/utils/treeGridUtil.d.ts +1 -0
- package/dist/utils/exceljsBrowser.js +45 -48
- package/dist/utils/exceljsBrowser.js.map +1 -1
- package/dist/utils/treeGridUtil.js +66 -66
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/features/themePreview.d.ts +3 -0
- package/features/themePreview.js +1 -0
- package/package.json +2 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { jsx as e, jsxs as
|
|
4
|
-
import { useOwpAppContext as
|
|
5
|
-
import { useGetLogoSrc as
|
|
6
|
-
import { Skeleton as
|
|
7
|
-
import { styled as
|
|
8
|
-
import { useRef as I, useState as
|
|
9
|
-
const
|
|
1
|
+
var A = Object.defineProperty;
|
|
2
|
+
var m = (t, r) => A(t, "name", { value: r, configurable: !0 });
|
|
3
|
+
import { jsx as e, jsxs as O } from "../../../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
|
|
4
|
+
import { useOwpAppContext as k } from "../../../contexts/OwpAppProvider.js";
|
|
5
|
+
import { useGetLogoSrc as z } from "../../../hooks/useLogoSrc.js";
|
|
6
|
+
import { Skeleton as q } from "@mui/material";
|
|
7
|
+
import { styled as B } from "@mui/material/styles";
|
|
8
|
+
import { useRef as I, useState as w, useLayoutEffect as F } from "react";
|
|
9
|
+
const M = B("div")(({ theme: t }) => ({
|
|
10
|
+
height: "100%",
|
|
10
11
|
minWidth: 0,
|
|
11
12
|
maxWidth: "100%",
|
|
12
13
|
"& > .logo-icon": {
|
|
@@ -20,10 +21,13 @@ const B = q("div")(({ theme: t }) => ({
|
|
|
20
21
|
display: "flex",
|
|
21
22
|
alignItems: "center",
|
|
22
23
|
justifyContent: "flex-start",
|
|
24
|
+
width: "100%",
|
|
25
|
+
height: "100%",
|
|
23
26
|
minWidth: 0,
|
|
24
27
|
minHeight: 0,
|
|
25
28
|
maxWidth: "100%",
|
|
26
29
|
maxHeight: "100%",
|
|
30
|
+
flexShrink: 1,
|
|
27
31
|
overflow: "visible"
|
|
28
32
|
},
|
|
29
33
|
"& > .logo-slot > .logo-slot-frame": {
|
|
@@ -76,63 +80,63 @@ const B = q("div")(({ theme: t }) => ({
|
|
|
76
80
|
})
|
|
77
81
|
}
|
|
78
82
|
}));
|
|
79
|
-
function
|
|
80
|
-
const t =
|
|
83
|
+
function Q() {
|
|
84
|
+
const t = z(), { slots: r, slotProps: h } = k(), i = r == null ? void 0 : r.logo, a = h == null ? void 0 : h.logo, b = ["owp-logo-slot-content", a == null ? void 0 : a.className].filter(Boolean).join(" "), N = I(null), R = I(null), [L, g] = w(1), [H, f] = w({}), [l, c] = w(!i);
|
|
81
85
|
return F(() => {
|
|
82
|
-
if (!
|
|
83
|
-
|
|
86
|
+
if (!i) {
|
|
87
|
+
g(1), f({}), c(!0);
|
|
84
88
|
return;
|
|
85
89
|
}
|
|
86
|
-
const
|
|
87
|
-
if (!
|
|
90
|
+
const d = N.current, o = R.current, u = d == null ? void 0 : d.parentElement;
|
|
91
|
+
if (!d || !o || !u)
|
|
88
92
|
return;
|
|
89
|
-
let
|
|
90
|
-
|
|
91
|
-
const j = /* @__PURE__ */
|
|
92
|
-
const { width:
|
|
93
|
-
if (!
|
|
94
|
-
|
|
93
|
+
let p = 0;
|
|
94
|
+
c(!1);
|
|
95
|
+
const j = /* @__PURE__ */ m(() => {
|
|
96
|
+
const { width: n, height: E } = u.getBoundingClientRect(), C = o.getBoundingClientRect(), x = C.width || o.scrollWidth || o.offsetWidth, y = C.height || o.scrollHeight || o.offsetHeight;
|
|
97
|
+
if (!n || !E || !x || !y) {
|
|
98
|
+
g(1), f({}), c(!1);
|
|
95
99
|
return;
|
|
96
100
|
}
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
width:
|
|
100
|
-
height:
|
|
101
|
-
}),
|
|
102
|
-
}, "updateScale"),
|
|
103
|
-
cancelAnimationFrame(
|
|
101
|
+
const S = Math.min(n / x, E / y, 1);
|
|
102
|
+
g(S), f({
|
|
103
|
+
width: x * S,
|
|
104
|
+
height: y * S
|
|
105
|
+
}), c(!0);
|
|
106
|
+
}, "updateScale"), s = /* @__PURE__ */ m(() => {
|
|
107
|
+
cancelAnimationFrame(p), p = requestAnimationFrame(j);
|
|
104
108
|
}, "requestUpdate");
|
|
105
|
-
|
|
106
|
-
const
|
|
107
|
-
|
|
108
|
-
const W = Array.from(
|
|
109
|
-
return W.forEach((
|
|
110
|
-
|
|
109
|
+
s();
|
|
110
|
+
const v = new ResizeObserver(s);
|
|
111
|
+
v.observe(u), v.observe(o);
|
|
112
|
+
const W = Array.from(o.querySelectorAll("img"));
|
|
113
|
+
return W.forEach((n) => {
|
|
114
|
+
n.addEventListener("load", s), n.addEventListener("error", s);
|
|
111
115
|
}), () => {
|
|
112
|
-
cancelAnimationFrame(
|
|
113
|
-
|
|
116
|
+
cancelAnimationFrame(p), v.disconnect(), W.forEach((n) => {
|
|
117
|
+
n.removeEventListener("load", s), n.removeEventListener("error", s);
|
|
114
118
|
});
|
|
115
119
|
};
|
|
116
|
-
}, [
|
|
117
|
-
!
|
|
120
|
+
}, [i]), /* @__PURE__ */ e(M, { ref: N, className: "flex items-center space-x-8", children: i ? /* @__PURE__ */ O("div", { className: "logo-icon logo-slot", children: [
|
|
121
|
+
!l && /* @__PURE__ */ e(q, { animation: "wave", variant: "rounded", className: "logo-slot-skeleton" }),
|
|
118
122
|
/* @__PURE__ */ e(
|
|
119
123
|
"div",
|
|
120
124
|
{
|
|
121
125
|
className: "logo-slot-frame",
|
|
122
126
|
style: {
|
|
123
127
|
transform: "translateX(-8px)",
|
|
124
|
-
width: H.width,
|
|
125
|
-
height: H.height,
|
|
126
|
-
visibility:
|
|
128
|
+
width: l ? H.width : 0,
|
|
129
|
+
height: l ? H.height : 0,
|
|
130
|
+
visibility: l ? "visible" : "hidden"
|
|
127
131
|
},
|
|
128
|
-
children: /* @__PURE__ */ e("div", { className: "logo-slot-transform", style: { transform: `scale(${L})` }, children: /* @__PURE__ */ e("div", { className: "logo-slot-content", children: /* @__PURE__ */ e(
|
|
132
|
+
children: /* @__PURE__ */ e("div", { className: "logo-slot-transform", style: { transform: `scale(${L})` }, children: /* @__PURE__ */ e("div", { className: "logo-slot-content", children: /* @__PURE__ */ e(i, { ...a, className: b }) }) })
|
|
129
133
|
}
|
|
130
134
|
),
|
|
131
|
-
/* @__PURE__ */ e("div", { ref:
|
|
135
|
+
/* @__PURE__ */ e("div", { ref: R, className: "logo-slot-measure", "aria-hidden": !0, children: /* @__PURE__ */ e(i, { ...a, className: b }) })
|
|
132
136
|
] }) : /* @__PURE__ */ e("img", { className: "logo-icon", src: t, alt: "logo" }) });
|
|
133
137
|
}
|
|
134
|
-
|
|
138
|
+
m(Q, "Logo");
|
|
135
139
|
export {
|
|
136
|
-
|
|
140
|
+
Q as default
|
|
137
141
|
};
|
|
138
142
|
//# sourceMappingURL=Logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sources":["../../../../src/layout/components/logo/Logo.tsx"],"sourcesContent":["import { useOwpAppContext as useAppContext } from '@/contexts/OwpAppProvider';\nimport { useGetLogoSrc } from '@/hooks/useLogoSrc';\nimport { Skeleton } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport { useLayoutEffect, useRef, useState } from 'react';\n\nconst Root = styled('div')(({ theme }) => ({\n minWidth: 0,\n maxWidth: '100%',\n '& > .logo-icon': {\n transition: theme.transitions.create(['width', 'height'], {\n duration: theme.transitions.duration.shortest,\n easing: theme.transitions.easing.easeInOut,\n }),\n },\n '& > .logo-slot': {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n minWidth: 0,\n minHeight: 0,\n maxWidth: '100%',\n maxHeight: '100%',\n overflow: 'visible',\n },\n '& > .logo-slot > .logo-slot-frame': {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n minWidth: 0,\n minHeight: 0,\n maxWidth: '100%',\n maxHeight: '100%',\n flexShrink: 1,\n overflow: 'hidden',\n },\n '& .logo-slot-transform': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n transformOrigin: 'left center',\n },\n '& .logo-slot-content, & .logo-slot-measure': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n width: 'fit-content',\n height: 'fit-content',\n },\n '& .logo-slot-measure': {\n position: 'absolute',\n top: 0,\n left: -99999,\n visibility: 'hidden',\n pointerEvents: 'none',\n whiteSpace: 'nowrap',\n },\n '& .logo-slot-skeleton': {\n position: 'absolute',\n top: '50%',\n left: '50%',\n width: 'min(100%, 160px)',\n minHeight: 70,\n height: 70,\n maxHeight: '100%',\n transform: 'translate(-50%, -50%)',\n borderRadius: theme.shape.borderRadius,\n },\n '& > .badge': {\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shortest,\n easing: theme.transitions.easing.easeInOut,\n }),\n },\n}));\n\n/**\n * The logo component.\n */\nfunction Logo() {\n const logoSrc = useGetLogoSrc();\n const { slots, slotProps } = useAppContext();\n const LogoSlot = slots?.logo;\n const logoSlotProps = slotProps?.logo;\n const logoSlotClassName = ['owp-logo-slot-content', logoSlotProps?.className]\n .filter(Boolean)\n .join(' ');\n const rootRef = useRef<HTMLDivElement | null>(null);\n const slotMeasureRef = useRef<HTMLDivElement | null>(null);\n const [slotScale, setSlotScale] = useState(1);\n const [slotSize, setSlotSize] = useState<{ width?: number; height?: number }>({});\n const [isSlotReady, setIsSlotReady] = useState(!LogoSlot);\n\n useLayoutEffect(() => {\n if (!LogoSlot) {\n setSlotScale(1);\n setSlotSize({});\n setIsSlotReady(true);\n return;\n }\n\n const rootElement = rootRef.current;\n const measureElement = slotMeasureRef.current;\n const boundaryElement = rootElement?.parentElement;\n\n if (!rootElement || !measureElement || !boundaryElement) {\n return;\n }\n\n let frameId = 0;\n setIsSlotReady(false);\n\n const updateScale = () => {\n const { width: boundaryWidth, height: boundaryHeight } =\n boundaryElement.getBoundingClientRect();\n const contentWidth = measureElement.scrollWidth || measureElement.offsetWidth;\n const contentHeight = measureElement.scrollHeight || measureElement.offsetHeight;\n\n if (!boundaryWidth || !boundaryHeight || !contentWidth || !contentHeight) {\n setSlotScale(1);\n setSlotSize({});\n setIsSlotReady(false);\n return;\n }\n\n const nextScale = Math.min(boundaryWidth / contentWidth, boundaryHeight / contentHeight, 1);\n\n setSlotScale(nextScale);\n setSlotSize({\n width: contentWidth * nextScale,\n height: contentHeight * nextScale,\n });\n setIsSlotReady(true);\n };\n\n const requestUpdate = () => {\n cancelAnimationFrame(frameId);\n frameId = requestAnimationFrame(updateScale);\n };\n\n requestUpdate();\n\n const resizeObserver = new ResizeObserver(requestUpdate);\n resizeObserver.observe(boundaryElement);\n resizeObserver.observe(measureElement);\n\n const imageElements = Array.from(measureElement.querySelectorAll('img'));\n imageElements.forEach((imageElement) => {\n imageElement.addEventListener('load', requestUpdate);\n imageElement.addEventListener('error', requestUpdate);\n });\n\n return () => {\n cancelAnimationFrame(frameId);\n resizeObserver.disconnect();\n imageElements.forEach((imageElement) => {\n imageElement.removeEventListener('load', requestUpdate);\n imageElement.removeEventListener('error', requestUpdate);\n });\n };\n }, [LogoSlot]);\n\n return (\n <Root ref={rootRef} className=\"flex items-center space-x-8\">\n {LogoSlot ? (\n <div className=\"logo-icon logo-slot\">\n {!isSlotReady && (\n <Skeleton animation=\"wave\" variant=\"rounded\" className=\"logo-slot-skeleton\" />\n )}\n <div\n className=\"logo-slot-frame\"\n style={{\n transform: 'translateX(-8px)',\n width: slotSize.width,\n height: slotSize.height,\n visibility: isSlotReady ? 'visible' : 'hidden',\n }}\n >\n <div className=\"logo-slot-transform\" style={{ transform: `scale(${slotScale})` }}>\n <div className=\"logo-slot-content\">\n <LogoSlot {...logoSlotProps} className={logoSlotClassName} />\n </div>\n </div>\n </div>\n <div ref={slotMeasureRef} className=\"logo-slot-measure\" aria-hidden>\n <LogoSlot {...logoSlotProps} className={logoSlotClassName} />\n </div>\n </div>\n ) : (\n <img className=\"logo-icon\" src={logoSrc} alt=\"logo\" />\n )}\n </Root>\n );\n}\n\nexport default Logo;\n"],"names":["Root","styled","theme","Logo","logoSrc","useGetLogoSrc","slots","slotProps","useAppContext","LogoSlot","logoSlotProps","logoSlotClassName","rootRef","useRef","slotMeasureRef","slotScale","setSlotScale","useState","slotSize","setSlotSize","isSlotReady","setIsSlotReady","useLayoutEffect","rootElement","measureElement","boundaryElement","frameId","updateScale","__name","boundaryWidth","boundaryHeight","contentWidth","contentHeight","nextScale","requestUpdate","resizeObserver","imageElements","imageElement","jsx","jsxs","Skeleton"],"mappings":";;;;;;;;AAMA,MAAMA,IAAOC,EAAO,KAAK,EAAE,CAAC,EAAE,OAAAC,SAAa;AAAA,EACzC,UAAU;AAAA,EACV,UAAU;AAAA,EACV,kBAAkB;AAAA,IAChB,YAAYA,EAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,MACxD,UAAUA,EAAM,YAAY,SAAS;AAAA,MACrC,QAAQA,EAAM,YAAY,OAAO;AAAA,IAAA,CAClC;AAAA,EAAA;AAAA,EAEH,kBAAkB;AAAA,IAChB,UAAU;AAAA,IACV,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,UAAU;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AU,qBAAoB,eAAW,IACjE,UAAA,gBAAAwB,EAAC7B,GAAA,EAAU,GAAGC,GAAe,WAAWC,GAAmB,EAAA,CAC7D;AAAA,EAAA,EAAA,CACF,sBAEC,OAAA,EAAI,WAAU,aAAY,KAAKP,GAAS,KAAI,OAAA,CAAO,EAAA,CAExD;AAEJ;AAlHSwB,EAAAzB,GAAA;"}
|
|
1
|
+
{"version":3,"file":"Logo.js","sources":["../../../../src/layout/components/logo/Logo.tsx"],"sourcesContent":["import { useOwpAppContext as useAppContext } from '@/contexts/OwpAppProvider';\nimport { useGetLogoSrc } from '@/hooks/useLogoSrc';\nimport { Skeleton } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport { useLayoutEffect, useRef, useState } from 'react';\n\nconst Root = styled('div')(({ theme }) => ({\n height: '100%',\n minWidth: 0,\n maxWidth: '100%',\n '& > .logo-icon': {\n transition: theme.transitions.create(['width', 'height'], {\n duration: theme.transitions.duration.shortest,\n easing: theme.transitions.easing.easeInOut,\n }),\n },\n '& > .logo-slot': {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n width: '100%',\n height: '100%',\n minWidth: 0,\n minHeight: 0,\n maxWidth: '100%',\n maxHeight: '100%',\n flexShrink: 1,\n overflow: 'visible',\n },\n '& > .logo-slot > .logo-slot-frame': {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n minWidth: 0,\n minHeight: 0,\n maxWidth: '100%',\n maxHeight: '100%',\n flexShrink: 1,\n overflow: 'hidden',\n },\n '& .logo-slot-transform': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n transformOrigin: 'left center',\n },\n '& .logo-slot-content, & .logo-slot-measure': {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n width: 'fit-content',\n height: 'fit-content',\n },\n '& .logo-slot-measure': {\n position: 'absolute',\n top: 0,\n left: -99999,\n visibility: 'hidden',\n pointerEvents: 'none',\n whiteSpace: 'nowrap',\n },\n '& .logo-slot-skeleton': {\n position: 'absolute',\n top: '50%',\n left: '50%',\n width: 'min(100%, 160px)',\n minHeight: 70,\n height: 70,\n maxHeight: '100%',\n transform: 'translate(-50%, -50%)',\n borderRadius: theme.shape.borderRadius,\n },\n '& > .badge': {\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shortest,\n easing: theme.transitions.easing.easeInOut,\n }),\n },\n}));\n\n/**\n * The logo component.\n */\nfunction Logo() {\n const logoSrc = useGetLogoSrc();\n const { slots, slotProps } = useAppContext();\n const LogoSlot = slots?.logo;\n const logoSlotProps = slotProps?.logo;\n const logoSlotClassName = ['owp-logo-slot-content', logoSlotProps?.className]\n .filter(Boolean)\n .join(' ');\n const rootRef = useRef<HTMLDivElement | null>(null);\n const slotMeasureRef = useRef<HTMLDivElement | null>(null);\n const [slotScale, setSlotScale] = useState(1);\n const [slotSize, setSlotSize] = useState<{ width?: number; height?: number }>({});\n const [isSlotReady, setIsSlotReady] = useState(!LogoSlot);\n\n useLayoutEffect(() => {\n if (!LogoSlot) {\n setSlotScale(1);\n setSlotSize({});\n setIsSlotReady(true);\n return;\n }\n\n const rootElement = rootRef.current;\n const measureElement = slotMeasureRef.current;\n const boundaryElement = rootElement?.parentElement;\n\n if (!rootElement || !measureElement || !boundaryElement) {\n return;\n }\n\n let frameId = 0;\n setIsSlotReady(false);\n\n const updateScale = () => {\n const { width: boundaryWidth, height: boundaryHeight } =\n boundaryElement.getBoundingClientRect();\n const measureRect = measureElement.getBoundingClientRect();\n const contentWidth =\n measureRect.width || measureElement.scrollWidth || measureElement.offsetWidth;\n const contentHeight =\n measureRect.height || measureElement.scrollHeight || measureElement.offsetHeight;\n\n if (!boundaryWidth || !boundaryHeight || !contentWidth || !contentHeight) {\n setSlotScale(1);\n setSlotSize({});\n setIsSlotReady(false);\n return;\n }\n\n const nextScale = Math.min(boundaryWidth / contentWidth, boundaryHeight / contentHeight, 1);\n\n setSlotScale(nextScale);\n setSlotSize({\n width: contentWidth * nextScale,\n height: contentHeight * nextScale,\n });\n setIsSlotReady(true);\n };\n\n const requestUpdate = () => {\n cancelAnimationFrame(frameId);\n frameId = requestAnimationFrame(updateScale);\n };\n\n requestUpdate();\n\n const resizeObserver = new ResizeObserver(requestUpdate);\n resizeObserver.observe(boundaryElement);\n resizeObserver.observe(measureElement);\n\n const imageElements = Array.from(measureElement.querySelectorAll('img'));\n imageElements.forEach((imageElement) => {\n imageElement.addEventListener('load', requestUpdate);\n imageElement.addEventListener('error', requestUpdate);\n });\n\n return () => {\n cancelAnimationFrame(frameId);\n resizeObserver.disconnect();\n imageElements.forEach((imageElement) => {\n imageElement.removeEventListener('load', requestUpdate);\n imageElement.removeEventListener('error', requestUpdate);\n });\n };\n }, [LogoSlot]);\n\n return (\n <Root ref={rootRef} className=\"flex items-center space-x-8\">\n {LogoSlot ? (\n <div className=\"logo-icon logo-slot\">\n {!isSlotReady && (\n <Skeleton animation=\"wave\" variant=\"rounded\" className=\"logo-slot-skeleton\" />\n )}\n <div\n className=\"logo-slot-frame\"\n style={{\n transform: 'translateX(-8px)',\n width: isSlotReady ? slotSize.width : 0,\n height: isSlotReady ? slotSize.height : 0,\n visibility: isSlotReady ? 'visible' : 'hidden',\n }}\n >\n <div className=\"logo-slot-transform\" style={{ transform: `scale(${slotScale})` }}>\n <div className=\"logo-slot-content\">\n <LogoSlot {...logoSlotProps} className={logoSlotClassName} />\n </div>\n </div>\n </div>\n <div ref={slotMeasureRef} className=\"logo-slot-measure\" aria-hidden>\n <LogoSlot {...logoSlotProps} className={logoSlotClassName} />\n </div>\n </div>\n ) : (\n <img className=\"logo-icon\" src={logoSrc} alt=\"logo\" />\n )}\n </Root>\n );\n}\n\nexport default Logo;\n"],"names":["Root","styled","theme","Logo","logoSrc","useGetLogoSrc","slots","slotProps","useAppContext","LogoSlot","logoSlotProps","logoSlotClassName","rootRef","useRef","slotMeasureRef","slotScale","setSlotScale","useState","slotSize","setSlotSize","isSlotReady","setIsSlotReady","useLayoutEffect","rootElement","measureElement","boundaryElement","frameId","updateScale","__name","boundaryWidth","boundaryHeight","measureRect","contentWidth","contentHeight","nextScale","requestUpdate","resizeObserver","imageElements","imageElement","jsx","jsxs","Skeleton"],"mappings":";;;;;;;;AAMA,MAAMA,IAAOC,EAAO,KAAK,EAAE,CAAC,EAAE,OAAAC,SAAa;AAAA,EACzC,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,UAAU;AAAA,EACV,kBAAkB;AAAA,IAChB,YAAYA,EAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,MACxD,UAAUA,EAAM,YAAY,SAAS;AAAA,MACrC,QAAQA,EAAM,YAAY,OAAO;AAAA,IAAA,CAClC;AAAA,EAAA;AAAA,EAEH,kBAAkB;AAAA,IAChB,UAAU;AAAA,IACV,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,UAAU;AAAA,EAAA;AAAA,EAEZ,qCAAqC;AAAA,IACnC,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,UAAU;AAAA,IACV,WAAW;AAAA,IACX,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,UAAU;AAAA,EAAA;AAAA,EAEZ,0BAA0B;AAAA,IACxB,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,EAAA;AAAA,EAEnB,8CAA8C;AAAA,IAC5C,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,OAAO;AAAA,IACP,QAAQ;AAAA,EAAA;AAAA,EAEV,wBAAwB;AAAA,IACtB,UAAU;AAAA,IACV,KAAK;AAAA,IACL,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,e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,GAAA,EAAK,KAAKY,GAAS,WAAU,+BAC3B,UAAAH,IACC,gBAAA+B,EAAC,OAAA,EAAI,WAAU,uBACZ,UAAA;AAAA,IAAA,CAACpB,uBACCqB,GAAA,EAAS,WAAU,QAAO,SAAQ,WAAU,WAAU,sBAAqB;AAAA,IAE9E,gBAAAF;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,OAAO;AAAA,UACL,WAAW;AAAA,UACX,OAAOnB,IAAcF,EAAS,QAAQ;AAAA,UACtC,QAAQE,IAAcF,EAAS,SAAS;AAAA,UACxC,YAAYE,IAAc,YAAY;AAAA,QAAA;AAAA,QAGxC,UAAA,gBAAAmB,EAAC,SAAI,WAAU,uBAAsB,OAAO,EAAE,WAAW,SAASxB,CAAS,IAAA,GACzE,4BAAC,OAAA,EAAI,WAAU,qBACb,UAAA,gBAAAwB,EAAC9B,GAAA,EAAU,GAAGC,GAAe,WAAWC,EAAA,CAAmB,EAAA,CAC7D,EAAA,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,IAEF,gBAAA4B,EAAC,OAAA,EAAI,KAAKzB,GAAgB,WAAU,qBAAoB,eAAW,IACjE,UAAA,gBAAAyB,EAAC9B,GAAA,EAAU,GAAGC,GAAe,WAAWC,GAAmB,EAAA,CAC7D;AAAA,EAAA,EAAA,CACF,sBAEC,OAAA,EAAI,WAAU,aAAY,KAAKP,GAAS,KAAI,OAAA,CAAO,EAAA,CAExD;AAEJ;AArHSwB,EAAAzB,GAAA;"}
|
|
@@ -18,11 +18,11 @@ import { styled as te } from "@mui/material/styles";
|
|
|
18
18
|
import z from "@mui/material/TextField";
|
|
19
19
|
import ne from "@mui/material/Tooltip";
|
|
20
20
|
import E from "@mui/material/Typography";
|
|
21
|
-
import D from "../../../_virtual/
|
|
22
|
-
import re from "../../../_virtual/
|
|
21
|
+
import D from "../../../_virtual/index16.js";
|
|
22
|
+
import re from "../../../_virtual/index17.js";
|
|
23
23
|
import { clsx as B } from "../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
24
24
|
import { useMemo as oe, useReducer as ie, useRef as T, useEffect as se } from "react";
|
|
25
|
-
import W from "../../../_virtual/
|
|
25
|
+
import W from "../../../_virtual/index18.js";
|
|
26
26
|
import { useNavigate as ae } from "react-router-dom";
|
|
27
27
|
import { toolbarToggleSx as le } from "./toggleStyles.js";
|
|
28
28
|
import { OwpSvgIcon as w } from "../../../components/OwpSvgIcon/OwpSvgIcon.js";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var l = (n, a) => d(n, "name", { value: a, configurable: !0 });
|
|
3
|
+
import { jsx as s } from "../../../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
|
|
4
|
+
import { useOwpAppContext as p } from "../../../contexts/OwpAppProvider.js";
|
|
5
|
+
import { preloadOnIdle as h } from "../../../utils/preloadOnIdle.js";
|
|
6
|
+
import w from "../../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/PaletteOutlined.js";
|
|
7
|
+
import P from "@mui/material/IconButton";
|
|
8
|
+
import g from "@mui/material/Tooltip";
|
|
9
|
+
import { clsx as T } from "../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
10
|
+
import { useDialogs as v } from "@toolpad/core/useDialogs";
|
|
11
|
+
import { useRef as D, useCallback as b, useEffect as x } from "react";
|
|
12
|
+
import { toolbarToggleSx as E } from "./toggleStyles.js";
|
|
13
|
+
function z(n) {
|
|
14
|
+
const { className: a = "" } = n, u = v(), { env: e } = p(), t = D(null), m = (e == null ? void 0 : e.isThemePreviewEnabled) === !0, o = e == null ? void 0 : e.themePreviewDialogLoader, i = b(() => o ? (t.current || (t.current = o().catch((r) => {
|
|
15
|
+
throw t.current = null, r;
|
|
16
|
+
})), t.current) : Promise.resolve(null), [o]);
|
|
17
|
+
if (x(() => {
|
|
18
|
+
if (!(!m || !o))
|
|
19
|
+
return h(() => i());
|
|
20
|
+
}, [m, i, o]), !m || !o)
|
|
21
|
+
return null;
|
|
22
|
+
const f = /* @__PURE__ */ l(async () => {
|
|
23
|
+
try {
|
|
24
|
+
const r = await i();
|
|
25
|
+
if (!r)
|
|
26
|
+
return;
|
|
27
|
+
await u.open(r.ThemePreviewDialog, {});
|
|
28
|
+
} catch (r) {
|
|
29
|
+
console.error(r);
|
|
30
|
+
}
|
|
31
|
+
}, "handleOpenThemePreviewDialog"), c = /* @__PURE__ */ l(() => {
|
|
32
|
+
i();
|
|
33
|
+
}, "handlePreloadThemePreviewDialog");
|
|
34
|
+
return /* @__PURE__ */ s(g, { title: "Theme Preview", placement: "bottom", children: /* @__PURE__ */ s(
|
|
35
|
+
P,
|
|
36
|
+
{
|
|
37
|
+
sx: E,
|
|
38
|
+
onClick: f,
|
|
39
|
+
onMouseEnter: c,
|
|
40
|
+
onFocus: c,
|
|
41
|
+
className: T(a),
|
|
42
|
+
"aria-label": "Theme Preview",
|
|
43
|
+
children: /* @__PURE__ */ s(w, { fontSize: "small" })
|
|
44
|
+
}
|
|
45
|
+
) });
|
|
46
|
+
}
|
|
47
|
+
l(z, "ThemePreviewToggle");
|
|
48
|
+
export {
|
|
49
|
+
z as default
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=ThemePreviewToggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemePreviewToggle.js","sources":["../../../../src/layout/components/toggles/ThemePreviewToggle.tsx"],"sourcesContent":["import { useOwpAppContext } from '@/contexts/OwpAppProvider';\nimport { preloadOnIdle } from '@/utils/preloadOnIdle';\nimport PaletteOutlinedIcon from '@mui/icons-material/PaletteOutlined';\nimport IconButton from '@mui/material/IconButton';\nimport Tooltip from '@mui/material/Tooltip';\nimport clsx from 'clsx';\nimport { type DialogComponent, useDialogs } from '@toolpad/core/useDialogs';\nimport { useCallback, useEffect, useRef } from 'react';\nimport { toolbarToggleSx } from './toggleStyles';\n\ntype ThemePreviewDialogModule = {\n ThemePreviewDialog: DialogComponent<unknown, unknown>;\n};\n\ntype ThemePreviewDialogLoader = () => Promise<ThemePreviewDialogModule>;\n\ntype ThemePreviewToggleProps = {\n className?: string;\n};\n\nfunction ThemePreviewToggle(props: ThemePreviewToggleProps) {\n const { className = '' } = props;\n const dialogs = useDialogs();\n const { env } = useOwpAppContext();\n const dialogModulePromiseRef = useRef<Promise<ThemePreviewDialogModule> | null>(null);\n const isThemePreviewEnabled = env?.isThemePreviewEnabled === true;\n const themePreviewDialogLoader = env?.themePreviewDialogLoader as\n | ThemePreviewDialogLoader\n | undefined;\n\n const loadThemePreviewDialog = useCallback(() => {\n if (!themePreviewDialogLoader) {\n return Promise.resolve(null);\n }\n\n if (!dialogModulePromiseRef.current) {\n dialogModulePromiseRef.current = themePreviewDialogLoader().catch((error) => {\n dialogModulePromiseRef.current = null;\n throw error;\n });\n }\n\n return dialogModulePromiseRef.current;\n }, [themePreviewDialogLoader]);\n\n useEffect(() => {\n if (!isThemePreviewEnabled || !themePreviewDialogLoader) {\n return;\n }\n\n return preloadOnIdle(() => loadThemePreviewDialog());\n }, [isThemePreviewEnabled, loadThemePreviewDialog, themePreviewDialogLoader]);\n\n if (!isThemePreviewEnabled || !themePreviewDialogLoader) {\n return null;\n }\n\n const handleOpenThemePreviewDialog = async () => {\n try {\n const dialogModule = await loadThemePreviewDialog();\n\n if (!dialogModule) {\n return;\n }\n\n await dialogs.open(dialogModule.ThemePreviewDialog, {});\n } catch (error) {\n console.error(error);\n }\n };\n\n const handlePreloadThemePreviewDialog = () => {\n void loadThemePreviewDialog();\n };\n\n return (\n <Tooltip title=\"Theme Preview\" placement=\"bottom\">\n <IconButton\n sx={toolbarToggleSx}\n onClick={handleOpenThemePreviewDialog}\n onMouseEnter={handlePreloadThemePreviewDialog}\n onFocus={handlePreloadThemePreviewDialog}\n className={clsx(className)}\n aria-label=\"Theme Preview\"\n >\n <PaletteOutlinedIcon fontSize=\"small\" />\n </IconButton>\n </Tooltip>\n );\n}\n\nexport default ThemePreviewToggle;\n"],"names":["ThemePreviewToggle","props","className","dialogs","useDialogs","env","useOwpAppContext","dialogModulePromiseRef","useRef","isThemePreviewEnabled","themePreviewDialogLoader","loadThemePreviewDialog","useCallback","error","useEffect","preloadOnIdle","handleOpenThemePreviewDialog","__name","dialogModule","handlePreloadThemePreviewDialog","jsx","Tooltip","IconButton","toolbarToggleSx","clsx","PaletteOutlinedIcon"],"mappings":";;;;;;;;;;;;AAoBA,SAASA,EAAmBC,GAAgC;AAC1D,QAAM,EAAE,WAAAC,IAAY,GAAA,IAAOD,GACrBE,IAAUC,EAAA,GACV,EAAE,KAAAC,EAAA,IAAQC,EAAA,GACVC,IAAyBC,EAAiD,IAAI,GAC9EC,KAAwBJ,KAAA,gBAAAA,EAAK,2BAA0B,IACvDK,IAA2BL,KAAA,gBAAAA,EAAK,0BAIhCM,IAAyBC,EAAY,MACpCF,KAIAH,EAAuB,YAC1BA,EAAuB,UAAUG,EAAA,EAA2B,MAAM,CAACG,MAAU;AAC3E,UAAAN,EAAuB,UAAU,MAC3BM;AAAA,EACR,CAAC,IAGIN,EAAuB,WAVrB,QAAQ,QAAQ,IAAI,GAW5B,CAACG,CAAwB,CAAC;AAU7B,MARAI,EAAU,MAAM;AACd,QAAI,GAACL,KAAyB,CAACC;AAI/B,aAAOK,EAAc,MAAMJ,GAAwB;AAAA,EACrD,GAAG,CAACF,GAAuBE,GAAwBD,CAAwB,CAAC,GAExE,CAACD,KAAyB,CAACC;AAC7B,WAAO;AAGT,QAAMM,IAA+B,gBAAAC,EAAA,YAAY;AAC/C,QAAI;AACF,YAAMC,IAAe,MAAMP,EAAA;AAE3B,UAAI,CAACO;AACH;AAGF,YAAMf,EAAQ,KAAKe,EAAa,oBAAoB,CAAA,CAAE;AAAA,IACxD,SAASL,GAAO;AACd,cAAQ,MAAMA,CAAK;AAAA,IACrB;AAAA,EACF,GAZqC,iCAc/BM,IAAkC,gBAAAF,EAAA,MAAM;AAC5C,IAAKN,EAAA;AAAA,EACP,GAFwC;AAIxC,SACE,gBAAAS,EAACC,GAAA,EAAQ,OAAM,iBAAgB,WAAU,UACvC,UAAA,gBAAAD;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,IAAIC;AAAA,MACJ,SAASP;AAAA,MACT,cAAcG;AAAA,MACd,SAASA;AAAA,MACT,WAAWK,EAAKtB,CAAS;AAAA,MACzB,cAAW;AAAA,MAEX,UAAA,gBAAAkB,EAACK,GAAA,EAAoB,UAAS,QAAA,CAAQ;AAAA,IAAA;AAAA,EAAA,GAE1C;AAEJ;AArESR,EAAAjB,GAAA;"}
|
|
@@ -6,8 +6,8 @@ import { OwpHidden as c } from "../../../components/OwpHidden/OwpHidden.js";
|
|
|
6
6
|
import { useGetCurrentLayoutConfig as g, useGetToolbarTheme as x } from "../../../hooks/useOwpSettings.js";
|
|
7
7
|
import u from "../navbar/NavbarToggleButton.js";
|
|
8
8
|
import v from "@mui/material/AppBar";
|
|
9
|
-
import
|
|
10
|
-
import { alpha as a, ThemeProvider as
|
|
9
|
+
import w from "@mui/material/Toolbar";
|
|
10
|
+
import { alpha as a, ThemeProvider as h } from "@mui/material/styles";
|
|
11
11
|
import { clsx as k } from "../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
12
12
|
import { memo as T } from "react";
|
|
13
13
|
import y from "../toggles/FullScreenToggle.js";
|
|
@@ -15,10 +15,11 @@ import N from "../toggles/LanguageSwitcherToggle.js";
|
|
|
15
15
|
import C from "../toggles/LogoutToggle.js";
|
|
16
16
|
import S from "../toggles/NavigationSearchToggle.js";
|
|
17
17
|
import B from "../toggles/NavigationShortcutsToggle.js";
|
|
18
|
-
import L from "
|
|
19
|
-
|
|
18
|
+
import L from "../toggles/ThemePreviewToggle.js";
|
|
19
|
+
import $ from "../../../components/OwpPageBreadcrumb/OwpPageBreadcrumb.js";
|
|
20
|
+
function I(i) {
|
|
20
21
|
const { className: n } = i, e = g(), d = x(), { env: t } = f(), l = d.palette, s = l.primary.light ?? l.primary.main;
|
|
21
|
-
return /* @__PURE__ */ r(
|
|
22
|
+
return /* @__PURE__ */ r(h, { theme: d, children: /* @__PURE__ */ r(
|
|
22
23
|
v,
|
|
23
24
|
{
|
|
24
25
|
id: "owp-toolbar",
|
|
@@ -47,6 +48,7 @@ function $(i) {
|
|
|
47
48
|
backgroundColor: "var(--toolbar-surface-button)",
|
|
48
49
|
border: `1px solid ${a(o.palette.common.white, o.palette.mode === "dark" ? 0.1 : 0.62)}`,
|
|
49
50
|
boxShadow: `inset 0 1px 0 ${a(o.palette.common.white, o.palette.mode === "dark" ? 0.05 : 0.54)}`,
|
|
51
|
+
color: o.palette.text.primary,
|
|
50
52
|
transition: o.transitions.create(
|
|
51
53
|
["background-color", "border-color", "box-shadow"],
|
|
52
54
|
{
|
|
@@ -68,12 +70,13 @@ function $(i) {
|
|
|
68
70
|
}), "sx"),
|
|
69
71
|
position: "static",
|
|
70
72
|
elevation: 0,
|
|
71
|
-
children: /* @__PURE__ */ m(
|
|
73
|
+
children: /* @__PURE__ */ m(w, { className: "min-h-48 px-6 py-0 md:min-h-64 md:px-[14px]", children: [
|
|
72
74
|
/* @__PURE__ */ m("div", { className: "flex min-w-0 flex-1 items-center gap-8", children: [
|
|
73
75
|
e.navbar.display && e.navbar.position === "left" && /* @__PURE__ */ r(c, { lgUp: !0, children: /* @__PURE__ */ r(u, { className: "mx-0 h-40 w-40 p-0 sm:mx-8" }) }),
|
|
74
|
-
/* @__PURE__ */ r(
|
|
76
|
+
/* @__PURE__ */ r($, {})
|
|
75
77
|
] }),
|
|
76
78
|
/* @__PURE__ */ m("div", { className: "flex items-center overflow-x-auto gap-6", children: [
|
|
79
|
+
/* @__PURE__ */ r(L, {}),
|
|
77
80
|
(t == null ? void 0 : t.isI18nEnabled) && (t == null ? void 0 : t.isI18nLanguageSwitcherEnabled) && /* @__PURE__ */ r(N, { canRefresh: !0 }),
|
|
78
81
|
/* @__PURE__ */ r(y, {}),
|
|
79
82
|
/* @__PURE__ */ r(S, {}),
|
|
@@ -85,9 +88,9 @@ function $(i) {
|
|
|
85
88
|
}
|
|
86
89
|
) });
|
|
87
90
|
}
|
|
88
|
-
p(
|
|
89
|
-
const
|
|
91
|
+
p(I, "ToolbarLayout");
|
|
92
|
+
const W = T(I);
|
|
90
93
|
export {
|
|
91
|
-
|
|
94
|
+
W as default
|
|
92
95
|
};
|
|
93
96
|
//# sourceMappingURL=ToolbarLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarLayout.js","sources":["../../../../src/layout/components/toolbar/ToolbarLayout.tsx"],"sourcesContent":["import { useOwpAppContext } from '@/contexts/OwpAppProvider';\nimport { OwpHidden } from '@/components/OwpHidden';\nimport { OwpPageBreadcrumb as PageBreadcrumb } from '@/components/OwpPageBreadcrumb';\nimport { LayoutConfigDefaultsType } from '@/configs/layoutConfig';\nimport {\n useGetCurrentLayoutConfig,\n useGetToolbarTheme,\n} from '@/hooks/useOwpSettings';\nimport NavbarToggleButton from '@/layout/components/navbar/NavbarToggleButton';\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\nimport { alpha, ThemeProvider, type Theme } from '@mui/material/styles';\nimport clsx from 'clsx';\nimport { memo } from 'react';\nimport FullScreenToggle from '../toggles/FullScreenToggle';\nimport LanguageSwitcherToggle from '../toggles/LanguageSwitcherToggle';\nimport LogoutToggle from '../toggles/LogoutToggle';\nimport NavigationSearchToggle from '../toggles/NavigationSearchToggle';\nimport NavigationShortcutsToggle from '../toggles/NavigationShortcutsToggle';\n\ntype ToolbarLayoutProps = {\n className?: string;\n};\n\n/**\n * The toolbar layout.\n */\nfunction ToolbarLayout(props: ToolbarLayoutProps) {\n const { className } = props;\n const config = useGetCurrentLayoutConfig() as LayoutConfigDefaultsType;\n const toolbarTheme = useGetToolbarTheme() as Theme;\n const { env } = useOwpAppContext();\n const toolbarPalette = toolbarTheme.palette;\n const toolbarPrimary = toolbarPalette.primary.light ?? toolbarPalette.primary.main;\n\n return (\n <ThemeProvider theme={toolbarTheme}>\n <AppBar\n id=\"owp-toolbar\"\n className={clsx('relative z-20 flex border-b', className)}\n color=\"default\"\n sx={(theme) => ({\n '--toolbar-surface-default': toolbarPalette.background.default,\n '--toolbar-surface-paper': toolbarPalette.background.paper,\n '--toolbar-surface-line': theme.palette.divider,\n '--toolbar-surface-button': alpha(\n theme.palette.common.white,\n theme.palette.mode === 'dark' ? 0.06 : 0.78,\n ),\n '--toolbar-surface-button-hover': alpha(\n toolbarPrimary,\n theme.palette.mode === 'dark' ? 0.14 : 0.08,\n ),\n backgroundColor: 'var(--toolbar-surface-default)',\n backgroundImage:\n 'linear-gradient(180deg, var(--toolbar-surface-default) 0%, var(--toolbar-surface-paper) 100%)',\n borderBottomColor: 'var(--toolbar-surface-line)',\n boxShadow: `\n inset 0 1px 0 ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.06 : 0.82)},\n 0 4px 16px ${alpha(theme.palette.common.black, theme.palette.mode === 'dark' ? 0.18 : 0.05)}\n `,\n '& .MuiIconButton-root': {\n backgroundColor: 'var(--toolbar-surface-button)',\n border: `1px solid ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.1 : 0.62)}`,\n boxShadow: `inset 0 1px 0 ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.05 : 0.54)}`,\n transition: theme.transitions.create(\n ['background-color', 'border-color', 'box-shadow'],\n {\n duration: theme.transitions.duration.shorter,\n },\n ),\n },\n '& .MuiIconButton-root:hover': {\n backgroundColor: 'var(--toolbar-surface-button-hover)',\n borderColor: alpha(\n toolbarPrimary,\n theme.palette.mode === 'dark' ? 0.22 : 0.14,\n ),\n boxShadow: `inset 0 1px 0 ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.06 : 0.6)}`,\n },\n '& .MuiBreadcrumbs-separator': {\n color: alpha(theme.palette.text.primary, theme.palette.mode === 'dark' ? 0.4 : 0.5),\n },\n })}\n position=\"static\"\n elevation={0}\n >\n <Toolbar className=\"min-h-48 px-6 py-0 md:min-h-64 md:px-[14px]\">\n <div className=\"flex min-w-0 flex-1 items-center gap-8\">\n {config.navbar.display && config.navbar.position === 'left' && (\n <OwpHidden lgUp>\n <NavbarToggleButton className=\"mx-0 h-40 w-40 p-0 sm:mx-8\" />\n </OwpHidden>\n )}\n\n <PageBreadcrumb />\n </div>\n\n <div className=\"flex items-center overflow-x-auto gap-6\">\n {env?.isI18nEnabled && env?.isI18nLanguageSwitcherEnabled && (\n <LanguageSwitcherToggle canRefresh />\n )}\n <FullScreenToggle />\n <NavigationSearchToggle />\n <NavigationShortcutsToggle />\n {!config.navbar.display && <LogoutToggle />}\n </div>\n\n {config.navbar.display && config.navbar.position === 'right' && (\n <OwpHidden lgUp>\n <NavbarToggleButton className=\"mx-0 h-40 w-40 p-0 sm:mx-8\" />\n </OwpHidden>\n )}\n </Toolbar>\n </AppBar>\n </ThemeProvider>\n );\n}\n\nexport default memo(ToolbarLayout);\n"],"names":["ToolbarLayout","props","className","config","useGetCurrentLayoutConfig","toolbarTheme","useGetToolbarTheme","env","useOwpAppContext","toolbarPalette","toolbarPrimary","jsx","ThemeProvider","AppBar","clsx","__name","theme","alpha","jsxs","Toolbar","OwpHidden","NavbarToggleButton","PageBreadcrumb","LanguageSwitcherToggle","FullScreenToggle","NavigationSearchToggle","NavigationShortcutsToggle","LogoutToggle","ToolbarLayout$1","memo"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolbarLayout.js","sources":["../../../../src/layout/components/toolbar/ToolbarLayout.tsx"],"sourcesContent":["import { useOwpAppContext } from '@/contexts/OwpAppProvider';\nimport { OwpHidden } from '@/components/OwpHidden';\nimport { OwpPageBreadcrumb as PageBreadcrumb } from '@/components/OwpPageBreadcrumb';\nimport { LayoutConfigDefaultsType } from '@/configs/layoutConfig';\nimport {\n useGetCurrentLayoutConfig,\n useGetToolbarTheme,\n} from '@/hooks/useOwpSettings';\nimport NavbarToggleButton from '@/layout/components/navbar/NavbarToggleButton';\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\nimport { alpha, ThemeProvider, type Theme } from '@mui/material/styles';\nimport clsx from 'clsx';\nimport { memo } from 'react';\nimport FullScreenToggle from '../toggles/FullScreenToggle';\nimport LanguageSwitcherToggle from '../toggles/LanguageSwitcherToggle';\nimport LogoutToggle from '../toggles/LogoutToggle';\nimport NavigationSearchToggle from '../toggles/NavigationSearchToggle';\nimport NavigationShortcutsToggle from '../toggles/NavigationShortcutsToggle';\nimport ThemePreviewToggle from '../toggles/ThemePreviewToggle';\n\ntype ToolbarLayoutProps = {\n className?: string;\n};\n\n/**\n * The toolbar layout.\n */\nfunction ToolbarLayout(props: ToolbarLayoutProps) {\n const { className } = props;\n const config = useGetCurrentLayoutConfig() as LayoutConfigDefaultsType;\n const toolbarTheme = useGetToolbarTheme() as Theme;\n const { env } = useOwpAppContext();\n const toolbarPalette = toolbarTheme.palette;\n const toolbarPrimary = toolbarPalette.primary.light ?? toolbarPalette.primary.main;\n\n return (\n <ThemeProvider theme={toolbarTheme}>\n <AppBar\n id=\"owp-toolbar\"\n className={clsx('relative z-20 flex border-b', className)}\n color=\"default\"\n sx={(theme) => ({\n '--toolbar-surface-default': toolbarPalette.background.default,\n '--toolbar-surface-paper': toolbarPalette.background.paper,\n '--toolbar-surface-line': theme.palette.divider,\n '--toolbar-surface-button': alpha(\n theme.palette.common.white,\n theme.palette.mode === 'dark' ? 0.06 : 0.78,\n ),\n '--toolbar-surface-button-hover': alpha(\n toolbarPrimary,\n theme.palette.mode === 'dark' ? 0.14 : 0.08,\n ),\n backgroundColor: 'var(--toolbar-surface-default)',\n backgroundImage:\n 'linear-gradient(180deg, var(--toolbar-surface-default) 0%, var(--toolbar-surface-paper) 100%)',\n borderBottomColor: 'var(--toolbar-surface-line)',\n boxShadow: `\n inset 0 1px 0 ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.06 : 0.82)},\n 0 4px 16px ${alpha(theme.palette.common.black, theme.palette.mode === 'dark' ? 0.18 : 0.05)}\n `,\n '& .MuiIconButton-root': {\n backgroundColor: 'var(--toolbar-surface-button)',\n border: `1px solid ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.1 : 0.62)}`,\n boxShadow: `inset 0 1px 0 ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.05 : 0.54)}`,\n color: theme.palette.text.primary,\n transition: theme.transitions.create(\n ['background-color', 'border-color', 'box-shadow'],\n {\n duration: theme.transitions.duration.shorter,\n },\n ),\n },\n '& .MuiIconButton-root:hover': {\n backgroundColor: 'var(--toolbar-surface-button-hover)',\n borderColor: alpha(\n toolbarPrimary,\n theme.palette.mode === 'dark' ? 0.22 : 0.14,\n ),\n boxShadow: `inset 0 1px 0 ${alpha(theme.palette.common.white, theme.palette.mode === 'dark' ? 0.06 : 0.6)}`,\n },\n '& .MuiBreadcrumbs-separator': {\n color: alpha(theme.palette.text.primary, theme.palette.mode === 'dark' ? 0.4 : 0.5),\n },\n })}\n position=\"static\"\n elevation={0}\n >\n <Toolbar className=\"min-h-48 px-6 py-0 md:min-h-64 md:px-[14px]\">\n <div className=\"flex min-w-0 flex-1 items-center gap-8\">\n {config.navbar.display && config.navbar.position === 'left' && (\n <OwpHidden lgUp>\n <NavbarToggleButton className=\"mx-0 h-40 w-40 p-0 sm:mx-8\" />\n </OwpHidden>\n )}\n\n <PageBreadcrumb />\n </div>\n\n <div className=\"flex items-center overflow-x-auto gap-6\">\n <ThemePreviewToggle />\n {env?.isI18nEnabled && env?.isI18nLanguageSwitcherEnabled && (\n <LanguageSwitcherToggle canRefresh />\n )}\n <FullScreenToggle />\n <NavigationSearchToggle />\n <NavigationShortcutsToggle />\n {!config.navbar.display && <LogoutToggle />}\n </div>\n\n {config.navbar.display && config.navbar.position === 'right' && (\n <OwpHidden lgUp>\n <NavbarToggleButton className=\"mx-0 h-40 w-40 p-0 sm:mx-8\" />\n </OwpHidden>\n )}\n </Toolbar>\n </AppBar>\n </ThemeProvider>\n );\n}\n\nexport default memo(ToolbarLayout);\n"],"names":["ToolbarLayout","props","className","config","useGetCurrentLayoutConfig","toolbarTheme","useGetToolbarTheme","env","useOwpAppContext","toolbarPalette","toolbarPrimary","jsx","ThemeProvider","AppBar","clsx","__name","theme","alpha","jsxs","Toolbar","OwpHidden","NavbarToggleButton","PageBreadcrumb","ThemePreviewToggle","LanguageSwitcherToggle","FullScreenToggle","NavigationSearchToggle","NavigationShortcutsToggle","LogoutToggle","ToolbarLayout$1","memo"],"mappings":";;;;;;;;;;;;;;;;;;;AA4BA,SAASA,EAAcC,GAA2B;AAChD,QAAM,EAAE,WAAAC,MAAcD,GAChBE,IAASC,EAAA,GACTC,IAAeC,EAAA,GACf,EAAE,KAAAC,EAAA,IAAQC,EAAA,GACVC,IAAiBJ,EAAa,SAC9BK,IAAiBD,EAAe,QAAQ,SAASA,EAAe,QAAQ;AAE9E,SACE,gBAAAE,EAACC,GAAA,EAAc,OAAOP,GACpB,UAAA,gBAAAM;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,WAAWC,EAAK,+BAA+BZ,CAAS;AAAA,MACxD,OAAM;AAAA,MACN,IAAI,gBAAAa,EAAA,CAACC,OAAW;AAAA,QACd,6BAA6BP,EAAe,WAAW;AAAA,QACvD,2BAA2BA,EAAe,WAAW;AAAA,QACrD,0BAA0BO,EAAM,QAAQ;AAAA,QACxC,4BAA4BC;AAAA,UAC1BD,EAAM,QAAQ,OAAO;AAAA,UACrBA,EAAM,QAAQ,SAAS,SAAS,OAAO;AAAA,QAAA;AAAA,QAEzC,kCAAkCC;AAAA,UAChCP;AAAA,UACAM,EAAM,QAAQ,SAAS,SAA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AAA,gBAAAD,EAAC,OAAA,EAAI,WAAU,0CACZ,UAAA;AAAA,UAAAf,EAAO,OAAO,WAAWA,EAAO,OAAO,aAAa,UACnD,gBAAAQ,EAACS,GAAA,EAAU,MAAI,IACb,UAAA,gBAAAT,EAACU,GAAA,EAAmB,WAAU,8BAA6B,GAC7D;AAAA,4BAGDC,GAAA,CAAA,CAAe;AAAA,QAAA,GAClB;AAAA,QAEA,gBAAAJ,EAAC,OAAA,EAAI,WAAU,2CACb,UAAA;AAAA,UAAA,gBAAAP,EAACY,GAAA,EAAmB;AAAA,WACnBhB,KAAA,gBAAAA,EAAK,mBAAiBA,KAAA,gBAAAA,EAAK,kCAC1B,gBAAAI,EAACa,GAAA,EAAuB,YAAU,IAAC;AAAA,4BAEpCC,GAAA,EAAiB;AAAA,4BACjBC,GAAA,EAAuB;AAAA,4BACvBC,GAAA,EAA0B;AAAA,UAC1B,CAACxB,EAAO,OAAO,6BAAYyB,GAAA,CAAA,CAAa;AAAA,QAAA,GAC3C;AAAA,QAECzB,EAAO,OAAO,WAAWA,EAAO,OAAO,aAAa,WACnD,gBAAAQ,EAACS,GAAA,EAAU,MAAI,IACb,UAAA,gBAAAT,EAACU,GAAA,EAAmB,WAAU,8BAA6B,EAAA,CAC7D;AAAA,MAAA,EAAA,CAEJ;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;AA5FSN,EAAAf,GAAA;AA8FT,MAAA6B,IAAeC,EAAK9B,CAAa;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as e } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as t } from "@mui/material/utils";
|
|
3
|
+
const r = t(/* @__PURE__ */ e.jsx("path", {
|
|
4
|
+
d: "M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
5
|
+
}), "CheckCircleOutline");
|
|
6
|
+
export {
|
|
7
|
+
r as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=CheckCircleOutline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckCircleOutline.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/CheckCircleOutline.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8\"\n}), 'CheckCircleOutline');"],"names":["CheckCircleOutlineIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,oBAAoB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as o } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as t } from "@mui/material/utils";
|
|
3
|
+
const e = t(/* @__PURE__ */ o.jsx("path", {
|
|
4
|
+
d: "M19 9h-4V3H9v6H5l7 7zm-8 2V5h2v6h1.17L12 13.17 9.83 11zm-6 7h14v2H5z"
|
|
5
|
+
}), "DownloadOutlined");
|
|
6
|
+
export {
|
|
7
|
+
e as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=DownloadOutlined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DownloadOutlined.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DownloadOutlined.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 9h-4V3H9v6H5l7 7zm-8 2V5h2v6h1.17L12 13.17 9.83 11zm-6 7h14v2H5z\"\n}), 'DownloadOutlined');"],"names":["DownloadOutlinedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,kBAAkB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as r } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as o } from "@mui/material/utils";
|
|
3
|
+
const e = o(/* @__PURE__ */ r.jsx("path", {
|
|
4
|
+
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
5
|
+
}), "ErrorOutline");
|
|
6
|
+
export {
|
|
7
|
+
e as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=ErrorOutline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorOutline.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ErrorOutline.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8\"\n}), 'ErrorOutline');"],"names":["ErrorOutlineIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as o } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as t } from "@mui/material/utils";
|
|
3
|
+
const s = t(/* @__PURE__ */ o.jsx("path", {
|
|
4
|
+
d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
|
|
5
|
+
}), "InfoOutlined");
|
|
6
|
+
export {
|
|
7
|
+
s as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=InfoOutlined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoOutlined.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/InfoOutlined.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8\"\n}), 'InfoOutlined');"],"names":["InfoOutlinedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as o } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as r } from "@mui/material/utils";
|
|
3
|
+
const a = r(/* @__PURE__ */ o.jsx("path", {
|
|
4
|
+
d: "M8.12 14.71 12 10.83l3.88 3.88c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L12.7 8.71a.996.996 0 0 0-1.41 0L6.7 13.3c-.39.39-.39 1.02 0 1.41.39.38 1.03.39 1.42 0"
|
|
5
|
+
}), "KeyboardArrowUpRounded");
|
|
6
|
+
export {
|
|
7
|
+
a as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=KeyboardArrowUpRounded.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardArrowUpRounded.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/KeyboardArrowUpRounded.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M8.12 14.71 12 10.83l3.88 3.88c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L12.7 8.71a.996.996 0 0 0-1.41 0L6.7 13.3c-.39.39-.39 1.02 0 1.41.39.38 1.03.39 1.42 0\"\n}), 'KeyboardArrowUpRounded');"],"names":["KeyboardArrowUpRoundedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,wBAAwB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as c } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as o } from "@mui/material/utils";
|
|
3
|
+
const t = o(/* @__PURE__ */ c.jsx("path", {
|
|
4
|
+
d: "M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1"
|
|
5
|
+
}), "MenuRounded");
|
|
6
|
+
export {
|
|
7
|
+
t as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=MenuRounded.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuRounded.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/MenuRounded.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1\"\n}), 'MenuRounded');"],"names":["MenuRoundedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,aAAa;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as o } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as t } from "@mui/material/utils";
|
|
3
|
+
const n = t(/* @__PURE__ */ o.jsx("path", {
|
|
4
|
+
d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"
|
|
5
|
+
}), "NotificationsNoneOutlined");
|
|
6
|
+
export {
|
|
7
|
+
n as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=NotificationsNoneOutlined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsNoneOutlined.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/NotificationsNoneOutlined.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z\"\n}), 'NotificationsNoneOutlined');"],"names":["NotificationsNoneOutlinedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,2BAA2B;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { j as c } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as e } from "@mui/material/utils";
|
|
3
|
+
const s = e([/* @__PURE__ */ c.jsx("path", {
|
|
4
|
+
d: "M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5m0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7"
|
|
5
|
+
}, "0"), /* @__PURE__ */ c.jsx("circle", {
|
|
6
|
+
cx: "6.5",
|
|
7
|
+
cy: "11.5",
|
|
8
|
+
r: "1.5"
|
|
9
|
+
}, "1"), /* @__PURE__ */ c.jsx("circle", {
|
|
10
|
+
cx: "9.5",
|
|
11
|
+
cy: "7.5",
|
|
12
|
+
r: "1.5"
|
|
13
|
+
}, "2"), /* @__PURE__ */ c.jsx("circle", {
|
|
14
|
+
cx: "14.5",
|
|
15
|
+
cy: "7.5",
|
|
16
|
+
r: "1.5"
|
|
17
|
+
}, "3"), /* @__PURE__ */ c.jsx("circle", {
|
|
18
|
+
cx: "17.5",
|
|
19
|
+
cy: "11.5",
|
|
20
|
+
r: "1.5"
|
|
21
|
+
}, "4")], "PaletteOutlined");
|
|
22
|
+
export {
|
|
23
|
+
s as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=PaletteOutlined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaletteOutlined.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/PaletteOutlined.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon([/*#__PURE__*/_jsx(\"path\", {\n d: \"M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5m0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7\"\n}, \"0\"), /*#__PURE__*/_jsx(\"circle\", {\n cx: \"6.5\",\n cy: \"11.5\",\n r: \"1.5\"\n}, \"1\"), /*#__PURE__*/_jsx(\"circle\", {\n cx: \"9.5\",\n cy: \"7.5\",\n r: \"1.5\"\n}, \"2\"), /*#__PURE__*/_jsx(\"circle\", {\n cx: \"14.5\",\n cy: \"7.5\",\n r: \"1.5\"\n}, \"3\"), /*#__PURE__*/_jsx(\"circle\", {\n cx: \"17.5\",\n cy: \"11.5\",\n r: \"1.5\"\n}, \"4\")], 'PaletteOutlined');"],"names":["PaletteOutlinedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAAc,CAAcC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACtD,GAAG;AACL,GAAG,GAAG,GAAgBA,gBAAAA,EAAAA,IAAK,UAAU;AAAA,EACnC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AACL,GAAG,GAAG,GAAgBA,gBAAAA,EAAAA,IAAK,UAAU;AAAA,EACnC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AACL,GAAG,GAAG,GAAgBA,gBAAAA,EAAAA,IAAK,UAAU;AAAA,EACnC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AACL,GAAG,GAAG,GAAgBA,gBAAAA,EAAAA,IAAK,UAAU;AAAA,EACnC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,GAAG;AACL,GAAG,GAAG,CAAC,GAAG,iBAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as t } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as e } from "@mui/material/utils";
|
|
3
|
+
const r = e(/* @__PURE__ */ t.jsx("path", {
|
|
4
|
+
d: "M13 3c-4.97 0-9 4.03-9 9H1l4 3.99L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"
|
|
5
|
+
}), "RestoreOutlined");
|
|
6
|
+
export {
|
|
7
|
+
r as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=RestoreOutlined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreOutlined.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/RestoreOutlined.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M13 3c-4.97 0-9 4.03-9 9H1l4 3.99L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z\"\n}), 'RestoreOutlined');"],"names":["RestoreOutlinedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,iBAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as t } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as e } from "@mui/material/utils";
|
|
3
|
+
const a = e(/* @__PURE__ */ t.jsx("path", {
|
|
4
|
+
d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm2 16H5V5h11.17L19 7.83zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3M6 6h9v4H6z"
|
|
5
|
+
}), "SaveOutlined");
|
|
6
|
+
export {
|
|
7
|
+
a as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=SaveOutlined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaveOutlined.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SaveOutlined.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm2 16H5V5h11.17L19 7.83zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3M6 6h9v4H6z\"\n}), 'SaveOutlined');"],"names":["SaveOutlinedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as a } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as o } from "@mui/material/utils";
|
|
3
|
+
const e = o(/* @__PURE__ */ a.jsx("path", {
|
|
4
|
+
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5 19V5h6v14zm14 0h-6v-7h6zm0-9h-6V5h6z"
|
|
5
|
+
}), "SpaceDashboardOutlined");
|
|
6
|
+
export {
|
|
7
|
+
e as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=SpaceDashboardOutlined.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpaceDashboardOutlined.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+icons-material@7.3.9_@mui+material@7.3.9_@emotion+react@11.14.0_@types+react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SpaceDashboardOutlined.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5 19V5h6v14zm14 0h-6v-7h6zm0-9h-6V5h6z\"\n}), 'SpaceDashboardOutlined');"],"names":["SpaceDashboardOutlinedIcon","createSvgIcon","_jsx"],"mappings":";;AAIA,MAAAA,IAAeC,EAA2BC,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,EACrD,GAAG;AACL,CAAC,GAAG,wBAAwB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as o } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { createSvgIcon as t } from "@mui/material/utils";
|
|
3
|
+
const a = t(/* @__PURE__ */ o.jsx("path", {
|
|
4
|
+
d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"
|
|
5
|
+
}), "UploadFileOutlined");
|
|
6
|
+
export {
|
|
7
|
+
a as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=UploadFileOutlined.js.map
|