@owp/core 2.5.62 → 2.5.65
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/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/components/OwpErrorBoundary/OwpErrorBoundary.js +73 -33
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
- package/dist/components/OwpPageCarded/OwpPageCarded.js +10 -10
- package/dist/components/OwpPageCarded/OwpPageCarded.js.map +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js +5 -5
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js.map +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js.map +1 -1
- package/dist/components/OwpPageContent/OwpPageContent.js +3 -3
- package/dist/components/OwpPageContent/OwpPageContent.js.map +1 -1
- package/dist/components/{OwpPageTitle/OwpPageTitle.js → OwpPageContent/internal/PageTitle.js} +7 -7
- package/dist/components/OwpPageContent/internal/PageTitle.js.map +1 -0
- package/dist/components/OwpTable/OwpDataTable.js +98 -98
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTable/OwpFieldTable.js +70 -68
- package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
- package/dist/components/OwpTable/internal/OwpTableBase.js +47 -38
- package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
- package/dist/components/OwpTable/internal/defaultTableStyle.js +11 -8
- package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -1
- package/dist/components/OwpTextField/OwpBarcodeInputField.js +50 -0
- package/dist/components/OwpTextField/OwpBarcodeInputField.js.map +1 -0
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +229 -229
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/{OwpHidden/OwpHidden.js → internal/Hidden.js} +9 -9
- package/dist/components/internal/Hidden.js.map +1 -0
- package/dist/components/{OwpScrollbars/OwpScrollbars.js → internal/Scrollbars.js} +6 -6
- package/dist/components/internal/Scrollbars.js.map +1 -0
- package/dist/configs/defaultConfig.js +248 -159
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/tableTheme.js.map +1 -1
- package/dist/contexts/OwpDialogsContext.js.map +1 -0
- package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.js +3 -3
- package/dist/contexts/OwpDialogsProvider.js.map +1 -0
- package/dist/{components/OwpStyleProvider → contexts}/OwpStyleProvider.js +2 -2
- package/dist/contexts/OwpStyleProvider.js.map +1 -0
- package/dist/contexts/OwpUiProvider.js +22 -22
- package/dist/contexts/OwpUiProvider.js.map +1 -1
- package/dist/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js → contexts/internal/AutoLogoutDialog.js} +4 -4
- package/dist/contexts/internal/AutoLogoutDialog.js.map +1 -0
- package/dist/{components/OwpPageLockLoading/OwpPageLockLoading.js → contexts/internal/PageLockLoading.js} +11 -11
- package/dist/contexts/internal/PageLockLoading.js.map +1 -0
- package/dist/{components/OwpSnackbarContent/OwpSnackbarContent.js → contexts/internal/SnackbarContent.js} +26 -26
- package/dist/contexts/internal/SnackbarContent.js.map +1 -0
- package/dist/contexts.js +10 -6
- package/dist/contexts.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +268 -255
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +109 -107
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewColorField.js +185 -188
- package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewControls.js +213 -206
- package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js +140 -128
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
- package/dist/features/themePreview/configs/presets.js +90 -52
- package/dist/features/themePreview/configs/presets.js.map +1 -1
- package/dist/features/themePreview/configs/settings.js +51 -27
- package/dist/features/themePreview/configs/settings.js.map +1 -1
- package/dist/features/themePreview/configs/table.js +8 -5
- package/dist/features/themePreview/configs/table.js.map +1 -1
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +250 -209
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
- package/dist/features/themePreview/hooks/useThemePreview.js +373 -274
- package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +57 -59
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewExport.js +1 -1
- package/dist/features/themePreview/utils/themePreviewSettings.js +258 -170
- package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -1
- package/dist/hooks/useOwpDialogs.js +1 -1
- package/dist/index.js +89 -107
- package/dist/index.js.map +1 -1
- package/dist/layout/Layout.js +18 -18
- package/dist/layout/Layout.js.map +1 -1
- package/dist/layout/components/navbar/style/NavbarStyle.js +1 -1
- package/dist/layout/components/navbar/style/NavbarStyle.js.map +1 -1
- package/dist/layout/components/navbar/style/NavbarStyleContent.js +11 -11
- package/dist/layout/components/navbar/style/NavbarStyleContent.js.map +1 -1
- package/dist/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.js → layout/components/navigation/internal/NavLinkAdapter.js} +25 -25
- package/dist/layout/components/navigation/internal/NavLinkAdapter.js.map +1 -0
- package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js +15 -15
- package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js +6 -6
- package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js +4 -4
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- package/dist/layout/components/toolbar/ToolbarLayout.js +29 -29
- package/dist/layout/components/toolbar/ToolbarLayout.js.map +1 -1
- package/dist/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.js → layout/components/toolbar/internal/PageBreadcrumb.js} +9 -9
- package/dist/layout/components/toolbar/internal/PageBreadcrumb.js.map +1 -0
- package/dist/{components/OwpPageSkeleton/OwpPageSkeleton.js → layout/internal/PageSkeleton.js} +9 -9
- package/dist/layout/internal/PageSkeleton.js.map +1 -0
- package/dist/{components/OwpSuspense/OwpSuspense.js → layout/internal/Suspense.js} +37 -37
- package/dist/layout/internal/Suspense.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/EAN_UPC/constants.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/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/{OwpPageTitle/OwpPageTitle.d.ts → OwpPageContent/internal/PageTitle.d.ts} +3 -3
- package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +5 -2
- package/dist/types/components/OwpTextField/OwpBarcodeInputField.d.ts +15 -0
- package/dist/types/components/OwpTextField/index.d.ts +1 -0
- package/dist/types/components/{OwpHidden/OwpHidden.d.ts → internal/Hidden.d.ts} +4 -4
- package/dist/types/components/{OwpScrollbars/OwpScrollbars.d.ts → internal/Scrollbars.d.ts} +7 -7
- package/dist/types/configs/defaultConfig.d.ts +4 -4
- package/dist/types/constants/tableTheme.d.ts +1 -0
- package/dist/types/contexts/index.d.ts +2 -0
- package/dist/types/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts → contexts/internal/AutoLogoutDialog.d.ts} +2 -2
- package/dist/types/contexts/internal/PageLockLoading.d.ts +7 -0
- package/dist/types/contexts/internal/SnackbarContent.d.ts +3 -0
- package/dist/types/features/themePreview/components/ThemePreviewColorField.d.ts +4 -5
- package/dist/types/features/themePreview/configs/presets.d.ts +4 -2
- package/dist/types/features/themePreview/configs/settings.d.ts +26 -0
- package/dist/types/features/themePreview/configs/table.d.ts +2 -0
- package/dist/types/features/themePreview/hooks/useThemePreview.d.ts +2 -0
- package/dist/types/hooks/usePageLockLoading.d.ts +3 -3
- package/dist/types/index.d.ts +1 -10
- package/dist/types/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.d.ts → layout/components/navigation/internal/NavLinkAdapter.d.ts} +3 -3
- package/dist/types/layout/internal/PageSkeleton.d.ts +6 -0
- package/dist/types/layout/internal/Suspense.d.ts +13 -0
- package/dist/types/types/OwpMuiThemeTypes.d.ts +16 -0
- package/dist/types/types/OwpTableThemeTypes.d.ts +2 -0
- package/dist/types/types/PageLockLoadingTypes.d.ts +9 -0
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js.map +0 -1
- package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js +0 -38
- package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js.map +0 -1
- package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +0 -1
- package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js.map +0 -1
- package/dist/components/OwpHidden/OwpHidden.js.map +0 -1
- package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js.map +0 -1
- package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +0 -1
- package/dist/components/OwpPageLockLoading/OwpPageLockLoading.js.map +0 -1
- package/dist/components/OwpPageSkeleton/OwpPageSkeleton.js.map +0 -1
- package/dist/components/OwpPageTitle/OwpPageTitle.js.map +0 -1
- package/dist/components/OwpScrollbars/OwpScrollbars.js.map +0 -1
- package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js.map +0 -1
- package/dist/components/OwpStyleProvider/OwpStyleProvider.js.map +0 -1
- package/dist/components/OwpSuspense/OwpSuspense.js.map +0 -1
- package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js +0 -66
- package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js.map +0 -1
- package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js +0 -49
- package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js.map +0 -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/ArrowBackIosNew.js +0 -9
- 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/ArrowBackIosNew.js.map +0 -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/ArrowForwardIos.js +0 -9
- 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/ArrowForwardIos.js.map +0 -1
- package/dist/types/components/OwpAutoLogoutDialog/index.d.ts +0 -1
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInput.d.ts +0 -1
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +0 -7
- package/dist/types/components/OwpBarcodeInput/index.d.ts +0 -1
- package/dist/types/components/OwpDialogsProvider/index.d.ts +0 -1
- package/dist/types/components/OwpHidden/index.d.ts +0 -2
- package/dist/types/components/OwpNavLinkAdapter/index.d.ts +0 -2
- package/dist/types/components/OwpPageBreadcrumb/index.d.ts +0 -2
- package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +0 -15
- package/dist/types/components/OwpPageLockLoading/index.d.ts +0 -1
- package/dist/types/components/OwpPageSkeleton/OwpPageSkeleton.d.ts +0 -6
- package/dist/types/components/OwpPageSkeleton/index.d.ts +0 -1
- package/dist/types/components/OwpPageTitle/index.d.ts +0 -1
- package/dist/types/components/OwpScrollbars/index.d.ts +0 -1
- package/dist/types/components/OwpSnackbarContent/OwpSnackbarContent.d.ts +0 -3
- package/dist/types/components/OwpStyleProvider/index.d.ts +0 -2
- package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +0 -16
- package/dist/types/components/OwpSuspense/index.d.ts +0 -1
- package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +0 -20
- package/dist/types/components/OwpZoomImageSlider/index.d.ts +0 -1
- package/dist/types/components/OwpZoomImageSlider/internal/ZoomImage.d.ts +0 -7
- /package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.js +0 -0
- /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.d.ts +0 -0
- /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.d.ts +0 -0
- /package/dist/types/{components/OwpStyleProvider → contexts}/OwpStyleProvider.d.ts +0 -0
- /package/dist/types/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.d.ts → layout/components/toolbar/internal/PageBreadcrumb.d.ts} +0 -0
|
@@ -1,52 +1,55 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { jsx as
|
|
4
|
-
import { defaultSnackbarTheme as
|
|
5
|
-
import { defaultTableTheme as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { Typography as i, ButtonBase as
|
|
12
|
-
import { alpha as n, darken as
|
|
13
|
-
import { owpDayjs as
|
|
14
|
-
import { closeSnackbar as
|
|
15
|
-
import { useRef as
|
|
16
|
-
import { getPaletteValue as
|
|
17
|
-
import { ThemePreviewGridPreviewTable as
|
|
18
|
-
import { snackbarPreviewIconByVariant as
|
|
19
|
-
import { merge as
|
|
20
|
-
const
|
|
21
|
-
function
|
|
1
|
+
var er = Object.defineProperty;
|
|
2
|
+
var C = (k, z) => er(k, "name", { value: z, configurable: !0 });
|
|
3
|
+
import { jsx as o, jsxs as c } 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 { defaultSnackbarTheme as rr, defaultSnackbarProviderProps as N, snackbarVariantKeys as or } from "../configs/snackbar.js";
|
|
5
|
+
import { defaultTableTheme as ar } from "../configs/table.js";
|
|
6
|
+
import nr 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/KeyboardArrowUpRounded.js";
|
|
7
|
+
import tr 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/MenuRounded.js";
|
|
8
|
+
import Ne 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/NavigateNext.js";
|
|
9
|
+
import cr 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/Search.js";
|
|
10
|
+
import ir 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/SpaceDashboardOutlined.js";
|
|
11
|
+
import { Typography as i, ButtonBase as lr, CircularProgress as dr } from "@mui/material";
|
|
12
|
+
import { alpha as n, darken as mr } from "@mui/material/styles";
|
|
13
|
+
import { owpDayjs as sr } from "../../../dayjs.js";
|
|
14
|
+
import { closeSnackbar as br } from "notistack";
|
|
15
|
+
import { useRef as ur, useDeferredValue as vr, useMemo as t, useEffect as hr, Fragment as fr } from "react";
|
|
16
|
+
import { getPaletteValue as r, previewChromeBorder as H, getPreviewContrastColor as He, createThemePreviewVersionKey as p, gridPreviewBodyBackground as pr, gridPreviewBodyText as xr, getThemePreviewStyleValue as ze, snackbarPreviewMessageByVariant as kr, getPreviewSectionOrder as yr, navbarPreviewItems as wr, themePreviewReadonlyTreeGridId as Pr, themePreviewEditableTreeGridId as Sr } from "./themePreviewCanvas.shared.js";
|
|
17
|
+
import { ThemePreviewGridPreviewTable as gr, ThemePreviewTablesSection as Tr, ThemePreviewGridSection as Br, ThemePreviewSearchHeaderSection as Cr, ThemePreviewSnackbarsSection as Nr, ThemePreviewButtonsSection as Hr, ThemePreviewCommonSection as zr } from "./ThemePreviewCanvasSections.js";
|
|
18
|
+
import { snackbarPreviewIconByVariant as Ir } from "./themePreviewCanvas.icons.js";
|
|
19
|
+
import { merge as Ie } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/merge.js";
|
|
20
|
+
const $r = "#ff4d2d", Wr = "rgba(255, 77, 45, 0.14)";
|
|
21
|
+
function Qr({
|
|
22
22
|
activeSection: k,
|
|
23
|
-
isLoading:
|
|
23
|
+
isLoading: z = !1,
|
|
24
24
|
settings: e
|
|
25
25
|
}) {
|
|
26
|
-
var
|
|
27
|
-
const
|
|
28
|
-
() =>
|
|
26
|
+
var Se, ge, Te, Be, Ce;
|
|
27
|
+
const I = ur([]), m = vr(k), M = !1, R = t(
|
|
28
|
+
() => Ie(
|
|
29
29
|
{},
|
|
30
|
-
|
|
30
|
+
ar,
|
|
31
31
|
e.theme.main.table
|
|
32
32
|
),
|
|
33
33
|
[e.theme.main.table]
|
|
34
|
-
),
|
|
35
|
-
|
|
36
|
-
b || "#111827"
|
|
37
|
-
), Ie = n(q, l === "dark" ? 0.72 : 0.64), J = n(
|
|
38
|
-
h,
|
|
39
|
-
l === "dark" ? 0.2 : 0.12
|
|
40
|
-
), Q = n(h, l === "dark" ? 0.42 : 0.28), X = n(
|
|
41
|
-
y,
|
|
34
|
+
), s = e.theme.toolbar.palette.mode, E = r(e, "toolbar", "background.default"), $e = r(e, "toolbar", "background.paper"), y = r(e, "toolbar", "text.primary"), We = r(e, "toolbar", "divider"), w = r(e, "toolbar", "common.white"), Ae = r(e, "toolbar", "common.black"), F = n(w, s === "dark" ? 0.06 : 0.78), K = n(w, s === "dark" ? 0.1 : 0.62), Y = n(w, s === "dark" ? 0.05 : 0.54), l = e.theme.navbar.palette.mode, $ = r(e, "navbar", "background.default"), W = r(e, "navbar", "divider") || H, b = r(e, "navbar", "text.primary"), U = r(e, "navbar", "text.secondary"), v = r(e, "navbar", "secondary.main"), P = r(e, "navbar", "secondary.dark") || v, _ = He($, b || "#111827"), De = n(_, l === "dark" ? 0.72 : 0.64), L = n(v, l === "dark" ? 0.2 : 0.12), Z = n(v, l === "dark" ? 0.42 : 0.28), q = n(
|
|
35
|
+
P,
|
|
42
36
|
l === "dark" ? 0.22 : 0.14
|
|
43
|
-
),
|
|
44
|
-
|
|
37
|
+
), J = n(
|
|
38
|
+
P,
|
|
45
39
|
l === "dark" ? 0.56 : 0.36
|
|
46
|
-
),
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
40
|
+
), Q = v, X = U || n(b, l === "dark" ? 0.78 : 0.72), Oe = n(v, l === "dark" ? 0.22 : 0.12), Ve = mr($, l === "dark" ? 0.08 : 0.05), je = U || n(b, l === "dark" ? 0.78 : 0.62), A = r(e, "main", "background.default"), S = r(e, "main", "background.paper"), ee = r(e, "main", "text.primary"), re = r(e, "main", "text.secondary"), oe = r(e, "main", "button.primary.main") || r(e, "main", "primary.main"), ae = r(e, "main", "button.primary.contrastText") || r(e, "main", "primary.contrastText"), ne = r(e, "main", "button.secondary.main") || r(e, "main", "secondary.main"), te = r(e, "main", "button.secondary.contrastText") || r(e, "main", "secondary.contrastText"), ce = r(e, "main", "button.success.main") || r(e, "main", "success.main"), ie = r(e, "main", "button.success.contrastText") || r(e, "main", "success.contrastText"), le = r(e, "main", "button.info.main") || r(e, "main", "info.main"), de = r(e, "main", "button.info.contrastText") || r(e, "main", "info.contrastText"), me = r(e, "main", "button.warning.main") || r(e, "main", "warning.main"), se = r(e, "main", "button.warning.contrastText") || r(e, "main", "warning.contrastText"), be = r(e, "main", "button.error.main") || r(e, "main", "error.main"), ue = r(e, "main", "button.error.contrastText") || r(e, "main", "error.contrastText"), D = e.theme.main.grid, g = t(
|
|
41
|
+
() => p(e.theme.main.table),
|
|
42
|
+
[e.theme.main.table]
|
|
43
|
+
), ve = t(
|
|
44
|
+
() => p(e.theme.main.grid),
|
|
45
|
+
[e.theme.main.grid]
|
|
46
|
+
), O = t(
|
|
47
|
+
() => p({
|
|
48
|
+
palette: e.theme.main.palette ?? {},
|
|
49
|
+
table: e.theme.main.table ?? {}
|
|
50
|
+
}),
|
|
51
|
+
[e.theme.main.palette, e.theme.main.table]
|
|
52
|
+
), he = "#586980", V = "#ffffff", fe = "14px", pe = "13px", xe = ((Se = D == null ? void 0 : D.body) == null ? void 0 : Se.backgroundColor) ?? pr, ke = n(V, 0.22), ye = n(xr, 0.14), h = t(
|
|
50
53
|
() => ({
|
|
51
54
|
...e,
|
|
52
55
|
theme: {
|
|
@@ -56,254 +59,257 @@ function Lr({
|
|
|
56
59
|
}
|
|
57
60
|
}),
|
|
58
61
|
[e]
|
|
59
|
-
),
|
|
60
|
-
p.theme.main
|
|
61
|
-
|
|
62
|
+
), we = t(
|
|
63
|
+
() => p(h.theme.main),
|
|
64
|
+
[h.theme.main]
|
|
65
|
+
), T = t(
|
|
62
66
|
() => ({
|
|
63
67
|
owpSettings: {
|
|
64
|
-
current:
|
|
65
|
-
defaults:
|
|
66
|
-
initial:
|
|
68
|
+
current: h,
|
|
69
|
+
defaults: h,
|
|
70
|
+
initial: h
|
|
67
71
|
}
|
|
68
72
|
}),
|
|
69
|
-
[
|
|
70
|
-
),
|
|
71
|
-
() => `OWP-${
|
|
72
|
-
[
|
|
73
|
-
),
|
|
73
|
+
[h]
|
|
74
|
+
), j = sr().format("YYYY-MM-DD"), Ge = t(
|
|
75
|
+
() => `OWP-${j.replace(/-/g, "")}-001`,
|
|
76
|
+
[j]
|
|
77
|
+
), f = t(
|
|
74
78
|
() => ({
|
|
75
|
-
backgroundColor:
|
|
76
|
-
border: `1px solid ${
|
|
79
|
+
backgroundColor: S,
|
|
80
|
+
border: `1px solid ${H}`
|
|
77
81
|
}),
|
|
78
|
-
[
|
|
79
|
-
),
|
|
82
|
+
[S]
|
|
83
|
+
), Me = m === "navbar" ? "navbar" : m === "toolbar" ? "toolbar" : "main", Re = z || m !== k, Ee = t(
|
|
80
84
|
() => ({
|
|
81
|
-
backgroundColor:
|
|
82
|
-
borderColor:
|
|
83
|
-
boxShadow: `inset 0 1px 0 ${
|
|
85
|
+
backgroundColor: F,
|
|
86
|
+
borderColor: K,
|
|
87
|
+
boxShadow: `inset 0 1px 0 ${Y}`
|
|
84
88
|
}),
|
|
85
|
-
[
|
|
86
|
-
),
|
|
89
|
+
[F, K, Y]
|
|
90
|
+
), Fe = t(
|
|
87
91
|
() => ({
|
|
88
|
-
backgroundColor:
|
|
89
|
-
borderColor:
|
|
90
|
-
color:
|
|
92
|
+
backgroundColor: L,
|
|
93
|
+
borderColor: Z,
|
|
94
|
+
color: Q,
|
|
91
95
|
transition: "background-color 160ms ease, border-color 160ms ease, color 160ms ease",
|
|
92
96
|
"&:hover, &:focus-visible, &:active": {
|
|
93
|
-
backgroundColor:
|
|
94
|
-
borderColor:
|
|
95
|
-
color:
|
|
97
|
+
backgroundColor: q,
|
|
98
|
+
borderColor: J,
|
|
99
|
+
color: P
|
|
96
100
|
}
|
|
97
101
|
}),
|
|
98
102
|
[
|
|
99
|
-
re,
|
|
100
|
-
y,
|
|
101
|
-
J,
|
|
102
103
|
Q,
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
P,
|
|
105
|
+
L,
|
|
106
|
+
Z,
|
|
107
|
+
q,
|
|
108
|
+
J
|
|
105
109
|
]
|
|
106
|
-
),
|
|
110
|
+
), B = t(
|
|
107
111
|
() => [
|
|
108
|
-
{ label: "
|
|
109
|
-
{
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
{ label: "primary", color: oe, contrastColor: ae },
|
|
113
|
+
{
|
|
114
|
+
label: "secondary",
|
|
115
|
+
color: ne,
|
|
116
|
+
contrastColor: te
|
|
117
|
+
},
|
|
118
|
+
{ label: "info", color: le, contrastColor: de },
|
|
119
|
+
{ label: "warning", color: me, contrastColor: se },
|
|
120
|
+
{ label: "error", color: be, contrastColor: ue },
|
|
121
|
+
{ label: "success", color: ce, contrastColor: ie }
|
|
122
|
+
].map((a) => ({
|
|
123
|
+
...a,
|
|
124
|
+
previewContrastColor: a.contrastColor || He(a.color, "#ffffff")
|
|
115
125
|
})),
|
|
116
126
|
[
|
|
117
|
-
|
|
127
|
+
oe,
|
|
128
|
+
ae,
|
|
129
|
+
ne,
|
|
130
|
+
te,
|
|
131
|
+
be,
|
|
132
|
+
ue,
|
|
118
133
|
le,
|
|
119
|
-
|
|
134
|
+
de,
|
|
120
135
|
ce,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
ie
|
|
136
|
+
ie,
|
|
137
|
+
me,
|
|
138
|
+
se
|
|
125
139
|
]
|
|
126
|
-
),
|
|
127
|
-
() =>
|
|
140
|
+
), Pe = e.snackbar ?? rr, u = t(
|
|
141
|
+
() => Ie({}, N, e.snackbarProviderProps),
|
|
128
142
|
[e.snackbarProviderProps]
|
|
129
|
-
),
|
|
130
|
-
(
|
|
131
|
-
),
|
|
132
|
-
() =>
|
|
133
|
-
const d =
|
|
143
|
+
), Ke = ((ge = u.anchorOrigin) == null ? void 0 : ge.horizontal) ?? N.anchorOrigin.horizontal, Ye = ((Te = u.anchorOrigin) == null ? void 0 : Te.vertical) ?? N.anchorOrigin.vertical, Ue = u.maxSnack ?? N.maxSnack, _e = ze((Be = u.style) == null ? void 0 : Be.fontSize), Le = ze(
|
|
144
|
+
(Ce = u.style) == null ? void 0 : Ce.lineHeight
|
|
145
|
+
), Ze = t(
|
|
146
|
+
() => or.map((a) => {
|
|
147
|
+
const d = Pe[a];
|
|
134
148
|
return {
|
|
135
149
|
actionHoverColor: n(
|
|
136
150
|
d.color,
|
|
137
|
-
|
|
151
|
+
a === "default" ? 0.18 : 0.16
|
|
138
152
|
),
|
|
139
153
|
backgroundColor: d.backgroundColor,
|
|
140
154
|
color: d.color,
|
|
141
|
-
icon:
|
|
142
|
-
key:
|
|
143
|
-
message:
|
|
155
|
+
icon: Ir[a],
|
|
156
|
+
key: a,
|
|
157
|
+
message: kr[a]
|
|
144
158
|
};
|
|
145
159
|
}),
|
|
146
|
-
[
|
|
147
|
-
),
|
|
148
|
-
() =>
|
|
149
|
-
[
|
|
150
|
-
),
|
|
160
|
+
[Pe]
|
|
161
|
+
), qe = t(
|
|
162
|
+
() => yr(m),
|
|
163
|
+
[m]
|
|
164
|
+
), Je = t(
|
|
151
165
|
() => ({
|
|
152
|
-
common:
|
|
153
|
-
buttons:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
warning: C
|
|
158
|
-
}),
|
|
159
|
-
grid: de,
|
|
160
|
-
searchHeader: G,
|
|
161
|
-
snackbars: f({
|
|
166
|
+
common: we,
|
|
167
|
+
buttons: p(B),
|
|
168
|
+
grid: ve,
|
|
169
|
+
searchHeader: O,
|
|
170
|
+
snackbars: p({
|
|
162
171
|
provider: e.snackbarProviderProps,
|
|
163
172
|
snackbar: e.snackbar
|
|
164
173
|
}),
|
|
165
|
-
tables:
|
|
174
|
+
tables: g
|
|
166
175
|
}),
|
|
167
176
|
[
|
|
168
177
|
B,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
C,
|
|
173
|
-
de,
|
|
174
|
-
G,
|
|
178
|
+
we,
|
|
179
|
+
ve,
|
|
180
|
+
O,
|
|
175
181
|
e.snackbar,
|
|
176
182
|
e.snackbarProviderProps,
|
|
177
|
-
|
|
183
|
+
g
|
|
178
184
|
]
|
|
179
|
-
),
|
|
180
|
-
() => /* @__PURE__ */
|
|
181
|
-
|
|
185
|
+
), Qe = t(
|
|
186
|
+
() => /* @__PURE__ */ o(
|
|
187
|
+
gr,
|
|
182
188
|
{
|
|
183
|
-
gridBodyBorder:
|
|
184
|
-
layoutPreviewGridCellBackground:
|
|
185
|
-
layoutPreviewGridCellFontSize:
|
|
186
|
-
layoutPreviewGridHeaderBackground:
|
|
187
|
-
layoutPreviewGridHeaderBorder:
|
|
188
|
-
layoutPreviewGridHeaderColor:
|
|
189
|
-
layoutPreviewGridHeaderFontSize:
|
|
189
|
+
gridBodyBorder: ye,
|
|
190
|
+
layoutPreviewGridCellBackground: xe,
|
|
191
|
+
layoutPreviewGridCellFontSize: pe,
|
|
192
|
+
layoutPreviewGridHeaderBackground: he,
|
|
193
|
+
layoutPreviewGridHeaderBorder: ke,
|
|
194
|
+
layoutPreviewGridHeaderColor: V,
|
|
195
|
+
layoutPreviewGridHeaderFontSize: fe
|
|
190
196
|
}
|
|
191
197
|
),
|
|
192
198
|
[
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
se,
|
|
199
|
+
ye,
|
|
200
|
+
xe,
|
|
201
|
+
pe,
|
|
197
202
|
he,
|
|
198
|
-
|
|
199
|
-
|
|
203
|
+
ke,
|
|
204
|
+
V,
|
|
205
|
+
fe
|
|
200
206
|
]
|
|
201
207
|
);
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}),
|
|
208
|
+
hr(() => () => {
|
|
209
|
+
I.current.forEach((a) => {
|
|
210
|
+
br(a);
|
|
211
|
+
}), I.current = [];
|
|
206
212
|
}, []);
|
|
207
|
-
const
|
|
208
|
-
switch (
|
|
213
|
+
const Xe = /* @__PURE__ */ C((a) => {
|
|
214
|
+
switch (a) {
|
|
209
215
|
case "common":
|
|
210
|
-
return /* @__PURE__ */
|
|
211
|
-
|
|
216
|
+
return /* @__PURE__ */ o(
|
|
217
|
+
zr,
|
|
212
218
|
{
|
|
213
|
-
buttonPreviewItems:
|
|
214
|
-
mainTextSecondary:
|
|
215
|
-
mainThemePreviewStoreState:
|
|
216
|
-
previewSectionCardSx:
|
|
219
|
+
buttonPreviewItems: B,
|
|
220
|
+
mainTextSecondary: re,
|
|
221
|
+
mainThemePreviewStoreState: T,
|
|
222
|
+
previewSectionCardSx: f
|
|
217
223
|
}
|
|
218
224
|
);
|
|
219
225
|
case "buttons":
|
|
220
|
-
return /* @__PURE__ */
|
|
221
|
-
|
|
226
|
+
return /* @__PURE__ */ o(
|
|
227
|
+
Hr,
|
|
222
228
|
{
|
|
223
|
-
buttonPreviewItems:
|
|
224
|
-
mainTextSecondary:
|
|
225
|
-
previewSectionCardSx:
|
|
229
|
+
buttonPreviewItems: B,
|
|
230
|
+
mainTextSecondary: re,
|
|
231
|
+
previewSectionCardSx: f
|
|
226
232
|
}
|
|
227
233
|
);
|
|
228
234
|
case "snackbars":
|
|
229
|
-
return /* @__PURE__ */
|
|
230
|
-
|
|
235
|
+
return /* @__PURE__ */ o(
|
|
236
|
+
Nr,
|
|
231
237
|
{
|
|
232
|
-
previewSectionCardSx:
|
|
233
|
-
previewSnackbarKeysRef:
|
|
234
|
-
snackbarAnchorOrigin:
|
|
235
|
-
snackbarAutoHideDuration:
|
|
236
|
-
snackbarPreviewAnchorHorizontal:
|
|
237
|
-
snackbarPreviewAnchorVertical:
|
|
238
|
-
snackbarPreviewFontSize:
|
|
239
|
-
snackbarPreviewItems:
|
|
240
|
-
snackbarPreviewLineHeight:
|
|
241
|
-
snackbarPreviewMaxSnack:
|
|
238
|
+
previewSectionCardSx: f,
|
|
239
|
+
previewSnackbarKeysRef: I,
|
|
240
|
+
snackbarAnchorOrigin: u.anchorOrigin,
|
|
241
|
+
snackbarAutoHideDuration: u.autoHideDuration,
|
|
242
|
+
snackbarPreviewAnchorHorizontal: Ke,
|
|
243
|
+
snackbarPreviewAnchorVertical: Ye,
|
|
244
|
+
snackbarPreviewFontSize: _e,
|
|
245
|
+
snackbarPreviewItems: Ze,
|
|
246
|
+
snackbarPreviewLineHeight: Le,
|
|
247
|
+
snackbarPreviewMaxSnack: Ue
|
|
242
248
|
}
|
|
243
249
|
);
|
|
244
250
|
case "searchHeader":
|
|
245
|
-
return /* @__PURE__ */
|
|
246
|
-
|
|
251
|
+
return /* @__PURE__ */ o(
|
|
252
|
+
Cr,
|
|
247
253
|
{
|
|
248
|
-
activeSection:
|
|
249
|
-
gridPreviewTable:
|
|
250
|
-
mainBackground:
|
|
251
|
-
mainPaper:
|
|
252
|
-
mainText:
|
|
253
|
-
mainThemePreviewStoreState:
|
|
254
|
-
previewSectionCardSx:
|
|
255
|
-
searchHeaderPreviewDate:
|
|
256
|
-
searchHeaderPreviewNumber:
|
|
257
|
-
searchHeaderPreviewVersionKey:
|
|
258
|
-
tablePreviewCanTableRadiusZero:
|
|
259
|
-
tableTheme:
|
|
260
|
-
tableThemePreviewVersionKey:
|
|
254
|
+
activeSection: m === "navbar" || m === "toolbar" ? m : "main",
|
|
255
|
+
gridPreviewTable: Qe,
|
|
256
|
+
mainBackground: A,
|
|
257
|
+
mainPaper: S,
|
|
258
|
+
mainText: ee,
|
|
259
|
+
mainThemePreviewStoreState: T,
|
|
260
|
+
previewSectionCardSx: f,
|
|
261
|
+
searchHeaderPreviewDate: j,
|
|
262
|
+
searchHeaderPreviewNumber: Ge,
|
|
263
|
+
searchHeaderPreviewVersionKey: O,
|
|
264
|
+
tablePreviewCanTableRadiusZero: M,
|
|
265
|
+
tableTheme: R,
|
|
266
|
+
tableThemePreviewVersionKey: g
|
|
261
267
|
}
|
|
262
268
|
);
|
|
263
269
|
case "grid":
|
|
264
|
-
return /* @__PURE__ */
|
|
265
|
-
|
|
270
|
+
return /* @__PURE__ */ o(
|
|
271
|
+
Br,
|
|
266
272
|
{
|
|
267
|
-
editableThemePreviewGridId:
|
|
268
|
-
mainThemePreviewStoreState:
|
|
269
|
-
previewSectionCardSx:
|
|
270
|
-
readonlyThemePreviewGridId:
|
|
273
|
+
editableThemePreviewGridId: Sr,
|
|
274
|
+
mainThemePreviewStoreState: T,
|
|
275
|
+
previewSectionCardSx: f,
|
|
276
|
+
readonlyThemePreviewGridId: Pr
|
|
271
277
|
}
|
|
272
278
|
);
|
|
273
279
|
case "tables":
|
|
274
|
-
return /* @__PURE__ */
|
|
275
|
-
|
|
280
|
+
return /* @__PURE__ */ o(
|
|
281
|
+
Tr,
|
|
276
282
|
{
|
|
277
|
-
mainThemePreviewStoreState:
|
|
278
|
-
previewSectionCardSx:
|
|
279
|
-
tablePreviewCanTableRadiusZero:
|
|
280
|
-
tableTheme:
|
|
281
|
-
tableThemePreviewVersionKey:
|
|
283
|
+
mainThemePreviewStoreState: T,
|
|
284
|
+
previewSectionCardSx: f,
|
|
285
|
+
tablePreviewCanTableRadiusZero: M,
|
|
286
|
+
tableTheme: R,
|
|
287
|
+
tableThemePreviewVersionKey: g
|
|
282
288
|
}
|
|
283
289
|
);
|
|
284
290
|
default:
|
|
285
291
|
return null;
|
|
286
292
|
}
|
|
287
|
-
}, "renderPreviewSection"),
|
|
293
|
+
}, "renderPreviewSection"), G = /* @__PURE__ */ C((a, d, x = 0) => Me === a ? /* @__PURE__ */ o(
|
|
288
294
|
"div",
|
|
289
295
|
{
|
|
290
296
|
"aria-hidden": !0,
|
|
291
297
|
className: "pointer-events-none absolute z-[2]",
|
|
292
298
|
style: {
|
|
293
299
|
inset: d,
|
|
294
|
-
border: `4px solid ${
|
|
300
|
+
border: `4px solid ${$r}`,
|
|
295
301
|
borderRadius: x,
|
|
296
|
-
boxShadow: `0 0 0 1px ${
|
|
302
|
+
boxShadow: `0 0 0 1px ${Wr}`
|
|
297
303
|
}
|
|
298
304
|
}
|
|
299
305
|
) : null, "renderHighlightOverlay");
|
|
300
|
-
return /* @__PURE__ */
|
|
306
|
+
return /* @__PURE__ */ o("div", { className: "flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden", children: /* @__PURE__ */ c(
|
|
301
307
|
"div",
|
|
302
308
|
{
|
|
303
309
|
className: "grid min-h-0 flex-1 grid-cols-[224px_minmax(0,1fr)] grid-rows-[76px_minmax(0,1fr)] overflow-hidden rounded-lg border border-solid",
|
|
304
310
|
style: {
|
|
305
|
-
backgroundColor:
|
|
306
|
-
borderColor:
|
|
311
|
+
backgroundColor: A,
|
|
312
|
+
borderColor: H
|
|
307
313
|
},
|
|
308
314
|
children: [
|
|
309
315
|
/* @__PURE__ */ c(
|
|
@@ -311,55 +317,55 @@ function Lr({
|
|
|
311
317
|
{
|
|
312
318
|
className: "col-span-2 relative flex items-center justify-between px-20",
|
|
313
319
|
style: {
|
|
314
|
-
backgroundColor:
|
|
315
|
-
backgroundImage: `linear-gradient(180deg, ${
|
|
316
|
-
borderBottom: `1px solid ${
|
|
317
|
-
boxShadow: `inset 0 1px 0 ${n(
|
|
318
|
-
color:
|
|
320
|
+
backgroundColor: E,
|
|
321
|
+
backgroundImage: `linear-gradient(180deg, ${E} 0%, ${$e} 100%)`,
|
|
322
|
+
borderBottom: `1px solid ${We}`,
|
|
323
|
+
boxShadow: `inset 0 1px 0 ${n(w, s === "dark" ? 0.06 : 0.82)}, 0 4px 16px ${n(Ae, s === "dark" ? 0.18 : 0.05)}`,
|
|
324
|
+
color: y
|
|
319
325
|
},
|
|
320
326
|
children: [
|
|
321
|
-
|
|
322
|
-
/* @__PURE__ */
|
|
327
|
+
G("toolbar", 0, 0),
|
|
328
|
+
/* @__PURE__ */ o("div", { className: "flex items-center gap-12", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
|
|
323
329
|
/* @__PURE__ */ c(
|
|
324
330
|
"div",
|
|
325
331
|
{
|
|
326
332
|
className: "flex items-center gap-2",
|
|
327
333
|
style: {
|
|
328
|
-
color: n(
|
|
334
|
+
color: n(y, s === "dark" ? 0.72 : 0.64)
|
|
329
335
|
},
|
|
330
336
|
children: [
|
|
331
|
-
/* @__PURE__ */
|
|
332
|
-
/* @__PURE__ */
|
|
333
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ o(i, { variant: "caption", children: "OWP" }),
|
|
338
|
+
/* @__PURE__ */ o(Ne, { sx: { fontSize: 18 } }),
|
|
339
|
+
/* @__PURE__ */ o(i, { variant: "caption", children: "Theme Preview" })
|
|
334
340
|
]
|
|
335
341
|
}
|
|
336
342
|
),
|
|
337
|
-
/* @__PURE__ */
|
|
343
|
+
/* @__PURE__ */ o(i, { variant: "subtitle1", fontWeight: 700, children: "Toolbar" })
|
|
338
344
|
] }) }),
|
|
339
|
-
/* @__PURE__ */
|
|
345
|
+
/* @__PURE__ */ o("div", { className: "pointer-events-none absolute left-1/2 top-1/2 flex w-full max-w-[520px] -translate-x-1/2 -translate-y-1/2 justify-center px-12 text-center", children: /* @__PURE__ */ c(
|
|
340
346
|
i,
|
|
341
347
|
{
|
|
342
348
|
variant: "body2",
|
|
343
349
|
sx: {
|
|
344
|
-
color: n(
|
|
350
|
+
color: n(y, s === "dark" ? 0.92 : 0.84),
|
|
345
351
|
fontSize: 13,
|
|
346
352
|
fontWeight: 700
|
|
347
353
|
},
|
|
348
354
|
children: [
|
|
349
355
|
"로그인 화면 배경색은 Toolbar",
|
|
350
356
|
" ",
|
|
351
|
-
/* @__PURE__ */
|
|
357
|
+
/* @__PURE__ */ o(Ne, { sx: { mx: 0.25, fontSize: 18, verticalAlign: "middle" } }),
|
|
352
358
|
" ",
|
|
353
359
|
"Background Default 색상을 따라갑니다."
|
|
354
360
|
]
|
|
355
361
|
}
|
|
356
362
|
) }),
|
|
357
|
-
/* @__PURE__ */
|
|
363
|
+
/* @__PURE__ */ o("div", { className: "flex items-center gap-8", children: [cr, ir].map((a, d) => /* @__PURE__ */ o(
|
|
358
364
|
"div",
|
|
359
365
|
{
|
|
360
366
|
className: "flex h-32 w-32 items-center justify-center rounded-[10px] border border-solid",
|
|
361
|
-
style:
|
|
362
|
-
children: /* @__PURE__ */
|
|
367
|
+
style: Ee,
|
|
368
|
+
children: /* @__PURE__ */ o(a, { sx: { color: y, fontSize: 18 } })
|
|
363
369
|
},
|
|
364
370
|
`${d}`
|
|
365
371
|
)) })
|
|
@@ -371,67 +377,67 @@ function Lr({
|
|
|
371
377
|
{
|
|
372
378
|
className: "relative flex min-h-0 flex-col",
|
|
373
379
|
style: {
|
|
374
|
-
backgroundColor:
|
|
375
|
-
borderRight: `1px solid ${
|
|
380
|
+
backgroundColor: $,
|
|
381
|
+
borderRight: `1px solid ${W}`,
|
|
376
382
|
color: b
|
|
377
383
|
},
|
|
378
384
|
children: [
|
|
379
|
-
|
|
385
|
+
G("navbar", 0, 0),
|
|
380
386
|
/* @__PURE__ */ c(
|
|
381
387
|
"div",
|
|
382
388
|
{
|
|
383
389
|
className: "flex items-center justify-between gap-8 px-16 py-14",
|
|
384
390
|
style: {
|
|
385
|
-
borderBottom: `1px solid ${
|
|
391
|
+
borderBottom: `1px solid ${W}`
|
|
386
392
|
},
|
|
387
393
|
children: [
|
|
388
|
-
/* @__PURE__ */
|
|
389
|
-
/* @__PURE__ */
|
|
394
|
+
/* @__PURE__ */ o("div", { className: "flex items-center gap-10", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
|
|
395
|
+
/* @__PURE__ */ o(
|
|
390
396
|
i,
|
|
391
397
|
{
|
|
392
398
|
variant: "subtitle2",
|
|
393
399
|
fontWeight: 700,
|
|
394
400
|
sx: {
|
|
395
|
-
color:
|
|
401
|
+
color: _
|
|
396
402
|
},
|
|
397
403
|
children: "Navbar"
|
|
398
404
|
}
|
|
399
405
|
),
|
|
400
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ o(i, { variant: "caption", sx: { color: De }, children: "Navigation" })
|
|
401
407
|
] }) }),
|
|
402
|
-
/* @__PURE__ */
|
|
403
|
-
|
|
408
|
+
/* @__PURE__ */ o(
|
|
409
|
+
lr,
|
|
404
410
|
{
|
|
405
411
|
"aria-label": "navbar menu",
|
|
406
412
|
className: "flex h-28 w-28 items-center justify-center rounded-[10px] border border-solid",
|
|
407
|
-
sx:
|
|
408
|
-
children: /* @__PURE__ */
|
|
413
|
+
sx: Fe,
|
|
414
|
+
children: /* @__PURE__ */ o(tr, { sx: { color: "inherit", fontSize: 16 } })
|
|
409
415
|
}
|
|
410
416
|
)
|
|
411
417
|
]
|
|
412
418
|
}
|
|
413
419
|
),
|
|
414
|
-
/* @__PURE__ */
|
|
420
|
+
/* @__PURE__ */ o("div", { className: "flex flex-1 flex-col gap-4 px-10 py-10", children: wr.map((a, d) => {
|
|
415
421
|
const x = d === 1;
|
|
416
|
-
return /* @__PURE__ */
|
|
422
|
+
return /* @__PURE__ */ o(
|
|
417
423
|
"div",
|
|
418
424
|
{
|
|
419
425
|
className: "rounded-lg px-12 py-10",
|
|
420
426
|
style: {
|
|
421
|
-
backgroundColor: x ?
|
|
422
|
-
color: x ?
|
|
427
|
+
backgroundColor: x ? Oe : "transparent",
|
|
428
|
+
color: x ? v : X
|
|
423
429
|
},
|
|
424
|
-
children: /* @__PURE__ */
|
|
430
|
+
children: /* @__PURE__ */ o(i, { variant: "body2", fontWeight: x ? 700 : 500, children: a })
|
|
425
431
|
},
|
|
426
|
-
|
|
432
|
+
a
|
|
427
433
|
);
|
|
428
434
|
}) }),
|
|
429
|
-
/* @__PURE__ */
|
|
435
|
+
/* @__PURE__ */ o(
|
|
430
436
|
"div",
|
|
431
437
|
{
|
|
432
438
|
className: "px-12 py-12",
|
|
433
439
|
style: {
|
|
434
|
-
borderTop: `1px solid ${
|
|
440
|
+
borderTop: `1px solid ${W}`
|
|
435
441
|
},
|
|
436
442
|
children: /* @__PURE__ */ c(
|
|
437
443
|
"div",
|
|
@@ -439,19 +445,19 @@ function Lr({
|
|
|
439
445
|
className: "flex min-h-[56px] items-center gap-12 rounded-lg px-8 py-8",
|
|
440
446
|
style: { color: b },
|
|
441
447
|
children: [
|
|
442
|
-
/* @__PURE__ */
|
|
448
|
+
/* @__PURE__ */ o(
|
|
443
449
|
"div",
|
|
444
450
|
{
|
|
445
451
|
className: "flex h-36 w-36 shrink-0 items-center justify-center rounded-full",
|
|
446
452
|
style: {
|
|
447
|
-
backgroundColor:
|
|
448
|
-
color:
|
|
453
|
+
backgroundColor: Ve,
|
|
454
|
+
color: je
|
|
449
455
|
},
|
|
450
|
-
children: /* @__PURE__ */
|
|
456
|
+
children: /* @__PURE__ */ o(i, { sx: { fontSize: 18, fontWeight: 700, lineHeight: 1 }, children: "관" })
|
|
451
457
|
}
|
|
452
458
|
),
|
|
453
459
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
454
|
-
/* @__PURE__ */
|
|
460
|
+
/* @__PURE__ */ o(
|
|
455
461
|
i,
|
|
456
462
|
{
|
|
457
463
|
className: "truncate",
|
|
@@ -465,12 +471,12 @@ function Lr({
|
|
|
465
471
|
children: "Impix"
|
|
466
472
|
}
|
|
467
473
|
),
|
|
468
|
-
/* @__PURE__ */
|
|
474
|
+
/* @__PURE__ */ o(
|
|
469
475
|
i,
|
|
470
476
|
{
|
|
471
477
|
className: "truncate",
|
|
472
478
|
sx: {
|
|
473
|
-
color:
|
|
479
|
+
color: X,
|
|
474
480
|
fontSize: 14,
|
|
475
481
|
fontWeight: 500,
|
|
476
482
|
letterSpacing: "-0.02em",
|
|
@@ -480,7 +486,14 @@ function Lr({
|
|
|
480
486
|
}
|
|
481
487
|
)
|
|
482
488
|
] }),
|
|
483
|
-
/* @__PURE__ */
|
|
489
|
+
/* @__PURE__ */ o(
|
|
490
|
+
"div",
|
|
491
|
+
{
|
|
492
|
+
className: "flex shrink-0 items-center justify-center",
|
|
493
|
+
style: { color: b },
|
|
494
|
+
children: /* @__PURE__ */ o(nr, { sx: { fontSize: 16 } })
|
|
495
|
+
}
|
|
496
|
+
)
|
|
484
497
|
]
|
|
485
498
|
}
|
|
486
499
|
)
|
|
@@ -494,26 +507,26 @@ function Lr({
|
|
|
494
507
|
{
|
|
495
508
|
className: "relative flex min-h-0 flex-col gap-14 overflow-y-auto overflow-x-hidden p-14",
|
|
496
509
|
style: {
|
|
497
|
-
backgroundColor:
|
|
498
|
-
color:
|
|
510
|
+
backgroundColor: A,
|
|
511
|
+
color: ee
|
|
499
512
|
},
|
|
500
513
|
children: [
|
|
501
|
-
|
|
502
|
-
|
|
514
|
+
G("main", 8),
|
|
515
|
+
Re ? /* @__PURE__ */ o(
|
|
503
516
|
"div",
|
|
504
517
|
{
|
|
505
518
|
className: "absolute inset-14 z-10 flex items-center justify-center rounded-lg",
|
|
506
519
|
style: {
|
|
507
|
-
backgroundColor: n(
|
|
508
|
-
border: `1px solid ${
|
|
520
|
+
backgroundColor: n(S, 0.88),
|
|
521
|
+
border: `1px solid ${H}`
|
|
509
522
|
},
|
|
510
523
|
children: /* @__PURE__ */ c("div", { className: "flex flex-col items-center gap-10", children: [
|
|
511
|
-
/* @__PURE__ */
|
|
512
|
-
/* @__PURE__ */
|
|
524
|
+
/* @__PURE__ */ o(dr, { color: "secondary", size: 34, thickness: 4.5 }),
|
|
525
|
+
/* @__PURE__ */ o(i, { variant: "body2", color: "text.secondary", fontWeight: 700, children: "로딩 중..." })
|
|
513
526
|
] })
|
|
514
527
|
}
|
|
515
528
|
) : null,
|
|
516
|
-
|
|
529
|
+
qe.map((a) => /* @__PURE__ */ o(fr, { children: Xe(a) }, `${a}-${Je[a]}`))
|
|
517
530
|
]
|
|
518
531
|
}
|
|
519
532
|
)
|
|
@@ -521,8 +534,8 @@ function Lr({
|
|
|
521
534
|
}
|
|
522
535
|
) });
|
|
523
536
|
}
|
|
524
|
-
|
|
537
|
+
C(Qr, "ThemePreviewCanvas");
|
|
525
538
|
export {
|
|
526
|
-
|
|
539
|
+
Qr as ThemePreviewCanvas
|
|
527
540
|
};
|
|
528
541
|
//# sourceMappingURL=ThemePreviewCanvas.js.map
|