@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,55 +1,55 @@
|
|
|
1
|
-
var
|
|
2
|
-
var n = (r, i) =>
|
|
3
|
-
import { jsx as t, jsxs as
|
|
4
|
-
import { defaultSnackbarTheme as
|
|
5
|
-
import { themesConfig as
|
|
6
|
-
import { defaultSettingsConfig as
|
|
7
|
-
import { useConfirm as
|
|
8
|
-
import { useOwpDialogs as
|
|
9
|
-
import { readZipEntryJson as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Button as
|
|
15
|
-
import { enqueueSnackbar as
|
|
16
|
-
import { useState as
|
|
17
|
-
import { useThemePreview as
|
|
18
|
-
import { ThemePreviewControls as
|
|
19
|
-
import { ThemePreviewCanvas as
|
|
20
|
-
import { createThemePreviewExportData as
|
|
21
|
-
import { resetThemePreviewSessionState as
|
|
22
|
-
import { OwpDialog as
|
|
23
|
-
const
|
|
24
|
-
function
|
|
25
|
-
const i =
|
|
1
|
+
var ye = Object.defineProperty;
|
|
2
|
+
var n = (r, i) => ye(r, "name", { value: i, configurable: !0 });
|
|
3
|
+
import { jsx as t, jsxs 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 { defaultSnackbarTheme as Re } from "../configs/snackbar.js";
|
|
5
|
+
import { themesConfig as ke } from "../configs/presets.js";
|
|
6
|
+
import { defaultSettingsConfig as Ae } from "../configs/settings.js";
|
|
7
|
+
import { useConfirm as De } from "../../../hooks/useConfirm.js";
|
|
8
|
+
import { useOwpDialogs as Le } from "../../../hooks/useOwpDialogs.js";
|
|
9
|
+
import { readZipEntryJson as Me, saveAsZipFile as Ne } from "../../../utils/zipUtil.js";
|
|
10
|
+
import Fe 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/DownloadOutlined.js";
|
|
11
|
+
import _e 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/RestoreOutlined.js";
|
|
12
|
+
import Ie 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/SaveOutlined.js";
|
|
13
|
+
import Ve 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/UploadFileOutlined.js";
|
|
14
|
+
import { Button as p, Typography as B, TextField as Oe } from "@mui/material";
|
|
15
|
+
import { enqueueSnackbar as f } from "notistack";
|
|
16
|
+
import { useState as U, useRef as u, useCallback as x, useEffect as g } from "react";
|
|
17
|
+
import { useThemePreview as je } from "../hooks/useThemePreview.js";
|
|
18
|
+
import { ThemePreviewControls as ze } from "../components/ThemePreviewControls.js";
|
|
19
|
+
import { ThemePreviewCanvas as We } from "../components/ThemePreviewCanvas.js";
|
|
20
|
+
import { createThemePreviewExportData as He, createThemePreviewAppConfigFiles as Be } from "../utils/themePreviewExport.js";
|
|
21
|
+
import { resetThemePreviewSessionState as Ue } from "../utils/themePreviewSettings.js";
|
|
22
|
+
import { OwpDialog as K } from "../../../components/OwpDialog/OwpDialog.js";
|
|
23
|
+
const Ke = ke, Ze = ".owp,.zip,application/zip", H = 300 * 1e3, $e = 2 * 1e3, Je = 15 * 1e3;
|
|
24
|
+
function qe(r) {
|
|
25
|
+
const i = He(r);
|
|
26
26
|
return [
|
|
27
|
-
...
|
|
28
|
-
fileName:
|
|
29
|
-
blob: new Blob([
|
|
27
|
+
...Be(r).map(({ fileName: c, content: h }) => ({
|
|
28
|
+
fileName: c,
|
|
29
|
+
blob: new Blob([h], {
|
|
30
30
|
type: "text/plain;charset=utf-8"
|
|
31
31
|
})
|
|
32
32
|
})),
|
|
33
|
-
...Object.entries(i).map(([
|
|
34
|
-
fileName: `preview/${
|
|
35
|
-
blob: new Blob([JSON.stringify(
|
|
33
|
+
...Object.entries(i).map(([c, h]) => ({
|
|
34
|
+
fileName: `preview/${c}.json`,
|
|
35
|
+
blob: new Blob([JSON.stringify(h, null, 2)], {
|
|
36
36
|
type: "application/json"
|
|
37
37
|
})
|
|
38
38
|
}))
|
|
39
39
|
];
|
|
40
40
|
}
|
|
41
|
-
n(
|
|
42
|
-
function
|
|
41
|
+
n(qe, "createThemePreviewArchiveFiles");
|
|
42
|
+
function Ye(r) {
|
|
43
43
|
var i;
|
|
44
44
|
return (r == null ? void 0 : r.defaultSnackbarProviderProps) ?? ((i = r == null ? void 0 : r.defaultSettingsConfig) == null ? void 0 : i.snackbarProviderProps);
|
|
45
45
|
}
|
|
46
|
-
n(
|
|
47
|
-
function
|
|
46
|
+
n(Ye, "getThemePreviewArchiveProviderProps");
|
|
47
|
+
function Ge(r) {
|
|
48
48
|
const i = r.trim().replace(/[^0-9A-Za-z가-힣 _-]+/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^[-_]+|[-_]+$/g, "");
|
|
49
49
|
return i ? `theme-preview-config-${i}` : "theme-preview-config";
|
|
50
50
|
}
|
|
51
|
-
n(
|
|
52
|
-
const
|
|
51
|
+
n(Ge, "getThemePreviewConfigFileTitle");
|
|
52
|
+
const v = {
|
|
53
53
|
"&.MuiButton-root": {
|
|
54
54
|
fontSize: "1.3rem",
|
|
55
55
|
letterSpacing: "0.04rem"
|
|
@@ -68,7 +68,7 @@ const p = {
|
|
|
68
68
|
minHeight: 42,
|
|
69
69
|
px: 2.25,
|
|
70
70
|
whiteSpace: "nowrap"
|
|
71
|
-
},
|
|
71
|
+
}, M = {
|
|
72
72
|
"&.Mui-disabled": {
|
|
73
73
|
backgroundColor: "#e5e7eb",
|
|
74
74
|
borderColor: "#e5e7eb",
|
|
@@ -81,7 +81,7 @@ const p = {
|
|
|
81
81
|
backgroundColor: "#1ea3e6",
|
|
82
82
|
border: "1px solid #1ea3e6",
|
|
83
83
|
color: "#ffffff"
|
|
84
|
-
},
|
|
84
|
+
}, E = {
|
|
85
85
|
"&.Mui-disabled": {
|
|
86
86
|
backgroundColor: "#ffffff",
|
|
87
87
|
borderColor: "#d1d5db",
|
|
@@ -94,228 +94,275 @@ const p = {
|
|
|
94
94
|
backgroundColor: "#ffffff",
|
|
95
95
|
border: "1px solid #111827",
|
|
96
96
|
color: "#111827"
|
|
97
|
-
},
|
|
97
|
+
}, Qe = "#111827", Xe = /* @__PURE__ */ n(({
|
|
98
98
|
open: r,
|
|
99
99
|
payload: i,
|
|
100
|
-
onClose:
|
|
100
|
+
onClose: w
|
|
101
101
|
}) => {
|
|
102
|
-
const [
|
|
102
|
+
const [c, h] = U((i == null ? void 0 : i.initialFileName) ?? "");
|
|
103
103
|
return /* @__PURE__ */ t(
|
|
104
|
-
|
|
104
|
+
K,
|
|
105
105
|
{
|
|
106
106
|
title: "설정파일 저장",
|
|
107
107
|
open: r,
|
|
108
108
|
maxWidth: "xs",
|
|
109
|
-
onClose: /* @__PURE__ */ n(() =>
|
|
110
|
-
onConfirm: /* @__PURE__ */ n(() =>
|
|
109
|
+
onClose: /* @__PURE__ */ n(() => w(void 0), "onClose"),
|
|
110
|
+
onConfirm: /* @__PURE__ */ n(() => w(c), "onConfirm"),
|
|
111
111
|
contentProps: {
|
|
112
112
|
sx: {
|
|
113
113
|
minWidth: 360,
|
|
114
114
|
p: 3
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
children: /* @__PURE__ */
|
|
117
|
+
children: /* @__PURE__ */ s("div", { className: "flex flex-col gap-12", children: [
|
|
118
118
|
/* @__PURE__ */ t(
|
|
119
|
-
|
|
119
|
+
Oe,
|
|
120
120
|
{
|
|
121
121
|
label: "저장 이름",
|
|
122
|
-
value:
|
|
122
|
+
value: c,
|
|
123
123
|
placeholder: "저장 이름 입력",
|
|
124
|
-
onChange: /* @__PURE__ */ n((
|
|
125
|
-
|
|
124
|
+
onChange: /* @__PURE__ */ n((C) => {
|
|
125
|
+
h(C.target.value);
|
|
126
126
|
}, "onChange")
|
|
127
127
|
}
|
|
128
128
|
),
|
|
129
|
-
/* @__PURE__ */ t(
|
|
129
|
+
/* @__PURE__ */ t(B, { variant: "body2", color: "text.secondary", children: "저장 확장자는 `.owp`로 고정됩니다." })
|
|
130
130
|
] })
|
|
131
131
|
}
|
|
132
132
|
);
|
|
133
|
-
}, "ThemePreviewSaveDialog"),
|
|
133
|
+
}, "ThemePreviewSaveDialog"), Tn = /* @__PURE__ */ n(({
|
|
134
134
|
open: r,
|
|
135
135
|
payload: i,
|
|
136
|
-
onClose:
|
|
136
|
+
onClose: w
|
|
137
137
|
}) => {
|
|
138
|
-
const [
|
|
139
|
-
}),
|
|
140
|
-
activeSection:
|
|
141
|
-
canApplyToMain:
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
138
|
+
const [c, h] = U(""), C = u(null), N = u(null), P = u(null), y = u(!1), F = u(Date.now()), R = u(!1), k = u(() => {
|
|
139
|
+
}), Z = Le(), { confirm: A, confirmSave: $ } = De(), _ = u(A), {
|
|
140
|
+
activeSection: d,
|
|
141
|
+
canApplyToMain: J,
|
|
142
|
+
canResetMainToDefault: q,
|
|
143
|
+
draftSettings: D,
|
|
144
|
+
hasTemporaryChanges: L,
|
|
145
|
+
hasTemporarySnapshot: Y,
|
|
146
|
+
presetOptions: G,
|
|
147
|
+
resetVersion: Q,
|
|
148
|
+
selectedModes: X,
|
|
149
|
+
selectedPresetKeys: ee,
|
|
150
|
+
setActiveSection: ne,
|
|
151
|
+
handlePaletteValueChange: te,
|
|
152
|
+
handlePaletteValuesChange: re,
|
|
153
|
+
handlePaletteValueReset: I,
|
|
154
|
+
handlePaletteValuesReset: V,
|
|
155
|
+
handleApplyToMain: ie,
|
|
156
|
+
handleLoadSettings: oe,
|
|
157
|
+
handlePresetKeyChange: ae,
|
|
158
|
+
handlePresetModeChange: le,
|
|
159
|
+
handleReset: O,
|
|
160
|
+
handleResetMainToDefault: j,
|
|
161
|
+
handleTemporaryLoad: se,
|
|
162
|
+
handleTemporarySave: T
|
|
163
|
+
} = je({
|
|
162
164
|
initialSection: i == null ? void 0 : i.initialSection,
|
|
163
165
|
initialPresetKeys: {
|
|
164
166
|
main: "light1",
|
|
165
167
|
navbar: "light2",
|
|
166
168
|
toolbar: "surfaceDark"
|
|
167
169
|
},
|
|
168
|
-
presetThemes:
|
|
169
|
-
resetTheme:
|
|
170
|
-
}),
|
|
170
|
+
presetThemes: Ke,
|
|
171
|
+
resetTheme: Ae.theme
|
|
172
|
+
}), z = d === "main" || d === "navbar" || d === "toolbar", ce = z ? X[d] : "light", de = z ? ee[d] : "", a = /* @__PURE__ */ n(() => {
|
|
171
173
|
F.current = Date.now();
|
|
172
|
-
}, "handleThemePreviewInteraction"),
|
|
173
|
-
await
|
|
174
|
-
fileTitle:
|
|
174
|
+
}, "handleThemePreviewInteraction"), me = /* @__PURE__ */ n(async (e) => {
|
|
175
|
+
await Ne(qe(D), {
|
|
176
|
+
fileTitle: Ge(e),
|
|
175
177
|
archiveExtension: "owp",
|
|
176
178
|
preserveFileNames: !0
|
|
177
179
|
});
|
|
178
|
-
}, "handleSaveConfigFiles"),
|
|
179
|
-
const e = await
|
|
180
|
-
initialFileName:
|
|
180
|
+
}, "handleSaveConfigFiles"), fe = /* @__PURE__ */ n(async () => {
|
|
181
|
+
const e = await Z.open(Xe, {
|
|
182
|
+
initialFileName: c
|
|
181
183
|
});
|
|
182
|
-
e !== void 0 && (
|
|
183
|
-
}, "handleOpenSaveDialog"),
|
|
184
|
+
e !== void 0 && (h(e), await me(e));
|
|
185
|
+
}, "handleOpenSaveDialog"), ue = /* @__PURE__ */ n(() => {
|
|
184
186
|
var e;
|
|
185
|
-
(e =
|
|
186
|
-
}, "handleOpenZipFile"),
|
|
187
|
-
|
|
187
|
+
(e = N.current) == null || e.click();
|
|
188
|
+
}, "handleOpenZipFile"), he = /* @__PURE__ */ n(() => {
|
|
189
|
+
T("manual"), f("임시 저장을 완료했습니다.", {
|
|
188
190
|
variant: "success"
|
|
189
191
|
});
|
|
190
|
-
}, "handleManualTemporarySave"),
|
|
191
|
-
if (!
|
|
192
|
-
|
|
192
|
+
}, "handleManualTemporarySave"), pe = /* @__PURE__ */ n(() => {
|
|
193
|
+
if (!se()) {
|
|
194
|
+
f("불러올 임시 저장 데이터가 없습니다.", {
|
|
193
195
|
variant: "warning"
|
|
194
196
|
});
|
|
195
197
|
return;
|
|
196
198
|
}
|
|
197
|
-
|
|
199
|
+
f("임시 저장 데이터를 불러왔습니다.", {
|
|
198
200
|
variant: "success"
|
|
199
201
|
});
|
|
200
|
-
}, "handleManualTemporaryLoad"),
|
|
201
|
-
|
|
202
|
+
}, "handleManualTemporaryLoad"), m = x(async (e, o) => {
|
|
203
|
+
await _.current({
|
|
204
|
+
title: e,
|
|
205
|
+
okText: "되돌리기",
|
|
206
|
+
severity: "warning"
|
|
207
|
+
}) && o();
|
|
208
|
+
}, []), ve = x(() => {
|
|
209
|
+
m("Theme Preview 값을 기본 설정으로 되돌리겠습니까?", O);
|
|
210
|
+
}, [m, O]), ge = x(() => {
|
|
211
|
+
m(
|
|
212
|
+
"메인화면 설정을 기본 설정으로 되돌리겠습니까?",
|
|
213
|
+
j
|
|
214
|
+
);
|
|
215
|
+
}, [m, j]), we = x(
|
|
216
|
+
(e) => {
|
|
217
|
+
m("선택한 값을 되돌리겠습니까?", () => {
|
|
218
|
+
I(e);
|
|
219
|
+
});
|
|
220
|
+
},
|
|
221
|
+
[m, I]
|
|
222
|
+
), xe = x(
|
|
223
|
+
(e) => {
|
|
224
|
+
m("선택한 그룹 값을 되돌리겠습니까?", () => {
|
|
225
|
+
V(e);
|
|
226
|
+
});
|
|
227
|
+
},
|
|
228
|
+
[m, V]
|
|
229
|
+
), Ce = /* @__PURE__ */ n(async () => {
|
|
230
|
+
L && (await $({
|
|
202
231
|
title: "변경된 값을 저장하겠습니까?"
|
|
203
|
-
}) ? (
|
|
232
|
+
}) ? (T("manual"), f("임시 저장되었습니다. 다시 실행하면 저장된 데이터를 불러옵니다.", {
|
|
204
233
|
variant: "info"
|
|
205
|
-
})) :
|
|
206
|
-
}, "handleDialogClose"),
|
|
207
|
-
var l,
|
|
208
|
-
const
|
|
209
|
-
if (
|
|
234
|
+
})) : Ue()), w(void 0);
|
|
235
|
+
}, "handleDialogClose"), Pe = /* @__PURE__ */ n(async (e) => {
|
|
236
|
+
var l, b;
|
|
237
|
+
const o = (l = e.target.files) == null ? void 0 : l[0];
|
|
238
|
+
if (o)
|
|
210
239
|
try {
|
|
211
|
-
const
|
|
212
|
-
|
|
213
|
-
(
|
|
240
|
+
const S = await Me(
|
|
241
|
+
o,
|
|
242
|
+
(Ee) => Ee.endsWith("settings.json")
|
|
214
243
|
);
|
|
215
|
-
if (!
|
|
216
|
-
|
|
244
|
+
if (!S) {
|
|
245
|
+
f("settings.json 파일이 없습니다.", {
|
|
217
246
|
variant: "warning"
|
|
218
247
|
});
|
|
219
248
|
return;
|
|
220
249
|
}
|
|
221
|
-
const
|
|
222
|
-
if (!
|
|
223
|
-
|
|
250
|
+
const W = (b = S.defaultSettingsConfig) == null ? void 0 : b.theme, be = S.defaultSnackbarTheme ?? Re, Se = Ye(S);
|
|
251
|
+
if (!W) {
|
|
252
|
+
f("theme 설정을 읽지 못했습니다.", {
|
|
224
253
|
variant: "warning"
|
|
225
254
|
});
|
|
226
255
|
return;
|
|
227
256
|
}
|
|
228
|
-
|
|
257
|
+
oe(W, be, Se), f("설정 파일을 로드하고 메인 화면에 적용했습니다.", {
|
|
229
258
|
variant: "success"
|
|
230
259
|
});
|
|
231
260
|
} catch {
|
|
232
|
-
|
|
261
|
+
f("설정 파일을 불러오는 중 오류가 발생했습니다.", {
|
|
233
262
|
variant: "error"
|
|
234
263
|
});
|
|
235
264
|
} finally {
|
|
236
265
|
e.target.value = "";
|
|
237
266
|
}
|
|
238
|
-
}, "handleZipFileChange"),
|
|
239
|
-
e !==
|
|
267
|
+
}, "handleZipFileChange"), Te = /* @__PURE__ */ n((e) => {
|
|
268
|
+
e !== d && ne(e);
|
|
240
269
|
}, "handleSectionChange");
|
|
241
270
|
return g(() => {
|
|
242
|
-
|
|
243
|
-
}, [
|
|
244
|
-
|
|
245
|
-
}, [
|
|
246
|
-
|
|
271
|
+
k.current = T;
|
|
272
|
+
}, [T]), g(() => {
|
|
273
|
+
_.current = A;
|
|
274
|
+
}, [A]), g(() => {
|
|
275
|
+
R.current = L;
|
|
276
|
+
}, [L]), g(() => {
|
|
277
|
+
const e = C.current;
|
|
247
278
|
if (!e)
|
|
248
279
|
return;
|
|
249
|
-
const
|
|
250
|
-
|
|
280
|
+
const o = /* @__PURE__ */ n(() => {
|
|
281
|
+
y.current = !0, a();
|
|
251
282
|
}, "handlePointerDown"), l = /* @__PURE__ */ n(() => {
|
|
252
|
-
|
|
283
|
+
y.current = !1, a();
|
|
253
284
|
}, "handlePointerUp");
|
|
254
|
-
return e.addEventListener("pointerdown",
|
|
255
|
-
e.removeEventListener("pointerdown",
|
|
285
|
+
return e.addEventListener("pointerdown", o), e.addEventListener("pointerup", l), e.addEventListener("pointercancel", l), e.addEventListener("keydown", a), e.addEventListener("input", a), e.addEventListener("change", a), e.addEventListener("focusin", a), () => {
|
|
286
|
+
e.removeEventListener("pointerdown", o), e.removeEventListener("pointerup", l), e.removeEventListener("pointercancel", l), e.removeEventListener("keydown", a), e.removeEventListener("input", a), e.removeEventListener("change", a), e.removeEventListener("focusin", a);
|
|
256
287
|
};
|
|
257
288
|
}, []), g(() => {
|
|
258
289
|
const e = /* @__PURE__ */ n(() => {
|
|
259
|
-
|
|
260
|
-
}, "clearAutoSaveTimeout"),
|
|
261
|
-
e(),
|
|
262
|
-
const
|
|
263
|
-
if (document.hidden ||
|
|
264
|
-
|
|
290
|
+
P.current && (window.clearTimeout(P.current), P.current = null);
|
|
291
|
+
}, "clearAutoSaveTimeout"), o = /* @__PURE__ */ n((l) => {
|
|
292
|
+
e(), P.current = window.setTimeout(() => {
|
|
293
|
+
const b = y.current || Date.now() - F.current < $e;
|
|
294
|
+
if (document.hidden || b) {
|
|
295
|
+
o(Je);
|
|
265
296
|
return;
|
|
266
297
|
}
|
|
267
|
-
|
|
298
|
+
R.current && k.current("auto"), o(H);
|
|
268
299
|
}, l);
|
|
269
300
|
}, "scheduleAutoSave");
|
|
270
|
-
return
|
|
301
|
+
return o(H), () => {
|
|
271
302
|
e();
|
|
272
303
|
};
|
|
273
304
|
}, []), g(() => {
|
|
274
305
|
const e = /* @__PURE__ */ n(() => {
|
|
275
|
-
|
|
306
|
+
R.current && k.current("manual");
|
|
276
307
|
}, "handlePageExit");
|
|
277
308
|
return window.addEventListener("pagehide", e), window.addEventListener("beforeunload", e), () => {
|
|
278
309
|
window.removeEventListener("pagehide", e), window.removeEventListener("beforeunload", e);
|
|
279
310
|
};
|
|
280
311
|
}, []), /* @__PURE__ */ t(
|
|
281
|
-
|
|
312
|
+
K,
|
|
282
313
|
{
|
|
283
|
-
title: /* @__PURE__ */
|
|
284
|
-
/* @__PURE__ */ t(
|
|
285
|
-
/* @__PURE__ */
|
|
314
|
+
title: /* @__PURE__ */ s("div", { className: "flex w-full flex-wrap items-center justify-between gap-12", children: [
|
|
315
|
+
/* @__PURE__ */ t(B, { variant: "h6", fontWeight: 700, sx: { color: Qe }, children: "OWP Theme Preview" }),
|
|
316
|
+
/* @__PURE__ */ s("div", { className: "flex flex-wrap items-center justify-end gap-x-32 gap-y-8", children: [
|
|
317
|
+
/* @__PURE__ */ s("div", { className: "flex flex-wrap items-center gap-8", children: [
|
|
318
|
+
/* @__PURE__ */ t(
|
|
319
|
+
p,
|
|
320
|
+
{
|
|
321
|
+
size: "small",
|
|
322
|
+
variant: "outlined",
|
|
323
|
+
disabled: !q,
|
|
324
|
+
sx: {
|
|
325
|
+
...v,
|
|
326
|
+
...E
|
|
327
|
+
},
|
|
328
|
+
onClick: ge,
|
|
329
|
+
children: "메인화면 기본 설정으로 되돌리기"
|
|
330
|
+
}
|
|
331
|
+
),
|
|
332
|
+
/* @__PURE__ */ t(
|
|
333
|
+
p,
|
|
334
|
+
{
|
|
335
|
+
size: "small",
|
|
336
|
+
variant: "contained",
|
|
337
|
+
disabled: !J,
|
|
338
|
+
sx: {
|
|
339
|
+
...v,
|
|
340
|
+
...M
|
|
341
|
+
},
|
|
342
|
+
onClick: ie,
|
|
343
|
+
children: "메인에 적용해보기"
|
|
344
|
+
}
|
|
345
|
+
)
|
|
346
|
+
] }),
|
|
286
347
|
/* @__PURE__ */ t(
|
|
287
|
-
|
|
348
|
+
p,
|
|
288
349
|
{
|
|
289
350
|
size: "small",
|
|
290
351
|
variant: "outlined",
|
|
291
352
|
sx: {
|
|
292
|
-
...
|
|
293
|
-
...
|
|
353
|
+
...v,
|
|
354
|
+
...E
|
|
294
355
|
},
|
|
295
|
-
onClick:
|
|
356
|
+
onClick: ve,
|
|
296
357
|
children: "기본 설정으로 되돌리기"
|
|
297
358
|
}
|
|
298
|
-
),
|
|
299
|
-
/* @__PURE__ */ t(
|
|
300
|
-
h,
|
|
301
|
-
{
|
|
302
|
-
size: "small",
|
|
303
|
-
variant: "contained",
|
|
304
|
-
disabled: !z,
|
|
305
|
-
sx: {
|
|
306
|
-
...p,
|
|
307
|
-
...A
|
|
308
|
-
},
|
|
309
|
-
onClick: G,
|
|
310
|
-
children: "메인에 적용해보기"
|
|
311
|
-
}
|
|
312
359
|
)
|
|
313
360
|
] })
|
|
314
361
|
] }),
|
|
315
362
|
open: r,
|
|
316
363
|
fullScreen: !0,
|
|
317
364
|
canConfirm: !1,
|
|
318
|
-
onClose:
|
|
365
|
+
onClose: Ce,
|
|
319
366
|
slotProps: {
|
|
320
367
|
paper: {
|
|
321
368
|
sx: {
|
|
@@ -328,60 +375,60 @@ const p = {
|
|
|
328
375
|
}
|
|
329
376
|
}
|
|
330
377
|
},
|
|
331
|
-
actions: /* @__PURE__ */
|
|
332
|
-
/* @__PURE__ */
|
|
378
|
+
actions: /* @__PURE__ */ s("div", { className: "grid min-w-0 flex-1 grid-cols-[1fr_auto_1fr] items-center gap-y-8", children: [
|
|
379
|
+
/* @__PURE__ */ s("div", { className: "flex flex-wrap items-center justify-start gap-8", children: [
|
|
333
380
|
/* @__PURE__ */ t(
|
|
334
|
-
|
|
381
|
+
p,
|
|
335
382
|
{
|
|
336
383
|
variant: "contained",
|
|
337
|
-
startIcon: /* @__PURE__ */ t(
|
|
384
|
+
startIcon: /* @__PURE__ */ t(Ie, {}),
|
|
338
385
|
sx: {
|
|
339
|
-
...
|
|
340
|
-
...
|
|
386
|
+
...v,
|
|
387
|
+
...M
|
|
341
388
|
},
|
|
342
|
-
onClick:
|
|
389
|
+
onClick: he,
|
|
343
390
|
children: "임시 저장하기"
|
|
344
391
|
}
|
|
345
392
|
),
|
|
346
393
|
/* @__PURE__ */ t(
|
|
347
|
-
|
|
394
|
+
p,
|
|
348
395
|
{
|
|
349
396
|
variant: "outlined",
|
|
350
|
-
startIcon: /* @__PURE__ */ t(
|
|
351
|
-
disabled: !
|
|
397
|
+
startIcon: /* @__PURE__ */ t(_e, {}),
|
|
398
|
+
disabled: !Y,
|
|
352
399
|
sx: {
|
|
353
|
-
...
|
|
354
|
-
...
|
|
400
|
+
...v,
|
|
401
|
+
...E
|
|
355
402
|
},
|
|
356
|
-
onClick:
|
|
403
|
+
onClick: pe,
|
|
357
404
|
children: "임시 저장 불러오기"
|
|
358
405
|
}
|
|
359
406
|
)
|
|
360
407
|
] }),
|
|
361
|
-
/* @__PURE__ */
|
|
408
|
+
/* @__PURE__ */ s("div", { className: "flex flex-wrap items-center justify-center gap-8", children: [
|
|
362
409
|
/* @__PURE__ */ t(
|
|
363
|
-
|
|
410
|
+
p,
|
|
364
411
|
{
|
|
365
412
|
variant: "contained",
|
|
366
|
-
startIcon: /* @__PURE__ */ t(
|
|
413
|
+
startIcon: /* @__PURE__ */ t(Fe, {}),
|
|
367
414
|
sx: {
|
|
368
|
-
...
|
|
369
|
-
...
|
|
415
|
+
...v,
|
|
416
|
+
...M
|
|
370
417
|
},
|
|
371
|
-
onClick:
|
|
418
|
+
onClick: fe,
|
|
372
419
|
children: "설정파일 저장하기"
|
|
373
420
|
}
|
|
374
421
|
),
|
|
375
422
|
/* @__PURE__ */ t(
|
|
376
|
-
|
|
423
|
+
p,
|
|
377
424
|
{
|
|
378
425
|
variant: "outlined",
|
|
379
|
-
startIcon: /* @__PURE__ */ t(
|
|
426
|
+
startIcon: /* @__PURE__ */ t(Ve, {}),
|
|
380
427
|
sx: {
|
|
381
|
-
...
|
|
382
|
-
...
|
|
428
|
+
...v,
|
|
429
|
+
...E
|
|
383
430
|
},
|
|
384
|
-
onClick:
|
|
431
|
+
onClick: ue,
|
|
385
432
|
children: "설정파일 불러오기"
|
|
386
433
|
}
|
|
387
434
|
)
|
|
@@ -399,48 +446,42 @@ const p = {
|
|
|
399
446
|
p: 3
|
|
400
447
|
}
|
|
401
448
|
},
|
|
402
|
-
children: /* @__PURE__ */
|
|
449
|
+
children: /* @__PURE__ */ s(
|
|
403
450
|
"div",
|
|
404
451
|
{
|
|
405
|
-
ref:
|
|
452
|
+
ref: C,
|
|
406
453
|
className: "flex h-full min-h-0 flex-col gap-12 overflow-hidden",
|
|
407
454
|
children: [
|
|
408
455
|
/* @__PURE__ */ t(
|
|
409
456
|
"input",
|
|
410
457
|
{
|
|
411
|
-
ref:
|
|
458
|
+
ref: N,
|
|
412
459
|
type: "file",
|
|
413
|
-
accept:
|
|
460
|
+
accept: Ze,
|
|
414
461
|
className: "hidden",
|
|
415
|
-
onChange:
|
|
462
|
+
onChange: Pe
|
|
416
463
|
}
|
|
417
464
|
),
|
|
418
|
-
/* @__PURE__ */
|
|
465
|
+
/* @__PURE__ */ s("div", { className: "grid min-h-0 flex-1 gap-20 overflow-hidden xl:grid-cols-[420px_minmax(0,1fr)]", children: [
|
|
419
466
|
/* @__PURE__ */ t("div", { className: "min-h-0", children: /* @__PURE__ */ t(
|
|
420
|
-
|
|
467
|
+
ze,
|
|
421
468
|
{
|
|
422
|
-
activeSection:
|
|
423
|
-
presetOptions:
|
|
424
|
-
selectedMode:
|
|
425
|
-
selectedPresetKey:
|
|
426
|
-
settings:
|
|
427
|
-
resetVersion:
|
|
428
|
-
onSectionChange:
|
|
429
|
-
onPaletteValueChange:
|
|
430
|
-
onPaletteValuesChange:
|
|
431
|
-
onPaletteValueReset:
|
|
432
|
-
onPaletteValuesReset:
|
|
433
|
-
onPresetKeyChange:
|
|
434
|
-
onPresetModeChange:
|
|
469
|
+
activeSection: d,
|
|
470
|
+
presetOptions: G,
|
|
471
|
+
selectedMode: ce,
|
|
472
|
+
selectedPresetKey: de,
|
|
473
|
+
settings: D,
|
|
474
|
+
resetVersion: Q,
|
|
475
|
+
onSectionChange: Te,
|
|
476
|
+
onPaletteValueChange: te,
|
|
477
|
+
onPaletteValuesChange: re,
|
|
478
|
+
onPaletteValueReset: we,
|
|
479
|
+
onPaletteValuesReset: xe,
|
|
480
|
+
onPresetKeyChange: ae,
|
|
481
|
+
onPresetModeChange: le
|
|
435
482
|
}
|
|
436
483
|
) }),
|
|
437
|
-
/* @__PURE__ */ t("div", { className: "flex min-h-0 min-w-0 overflow-hidden", children: /* @__PURE__ */ t(
|
|
438
|
-
Ne,
|
|
439
|
-
{
|
|
440
|
-
activeSection: c,
|
|
441
|
-
settings: E
|
|
442
|
-
}
|
|
443
|
-
) })
|
|
484
|
+
/* @__PURE__ */ t("div", { className: "flex min-h-0 min-w-0 overflow-hidden", children: /* @__PURE__ */ t(We, { activeSection: d, settings: D }) })
|
|
444
485
|
] })
|
|
445
486
|
]
|
|
446
487
|
}
|
|
@@ -449,6 +490,6 @@ const p = {
|
|
|
449
490
|
);
|
|
450
491
|
}, "ThemePreviewDialog");
|
|
451
492
|
export {
|
|
452
|
-
|
|
493
|
+
Tn as ThemePreviewDialog
|
|
453
494
|
};
|
|
454
495
|
//# sourceMappingURL=ThemePreviewDialog.js.map
|