@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,74 +1,79 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { jsx as o, jsxs as
|
|
4
|
-
import { Divider as
|
|
5
|
-
import
|
|
6
|
-
import { createTheme as
|
|
7
|
-
import { useState as
|
|
8
|
-
import { toolbarCuratedPresetKeys as
|
|
9
|
-
import { ThemePreviewColorField as
|
|
10
|
-
import { getThemePreviewPresetOptionsByMode as
|
|
11
|
-
import { themePreviewFieldGroupsBySection as
|
|
12
|
-
import { deriveThemePreviewPaletteGroupValues as
|
|
13
|
-
function Te(r) {
|
|
14
|
-
return r.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/^./, (d) => d.toUpperCase());
|
|
15
|
-
}
|
|
16
|
-
s(Te, "getThemePreviewFieldClusterLabel");
|
|
1
|
+
var se = Object.defineProperty;
|
|
2
|
+
var d = (r, a) => se(r, "name", { value: a, configurable: !0 });
|
|
3
|
+
import { jsx as o, jsxs as m } 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 { Divider as q, MenuItem as z, ButtonBase as de, Typography as x, Paper as G, TextField as J, Box as ce, IconButton as ue, FormControlLabel as he, Checkbox as me } from "@mui/material";
|
|
5
|
+
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/RestartAltOutlined.js";
|
|
6
|
+
import { createTheme as pe, ThemeProvider as be } from "@mui/material/styles";
|
|
7
|
+
import { useState as Ce, useRef as ge, useMemo as B, useEffect as ve } from "react";
|
|
8
|
+
import { toolbarCuratedPresetKeys as xe, designSystemPresetKeys as Pe } from "../configs/presets.js";
|
|
9
|
+
import { ThemePreviewColorField as O } from "./ThemePreviewColorField.js";
|
|
10
|
+
import { getThemePreviewPresetOptionsByMode as ke, THEME_PREVIEW_CUSTOM_PRESET_KEY as Q, isThemePreviewCustomSection as ye, getThemePreviewPaletteValue as M } from "../utils/themePreviewSettings.js";
|
|
11
|
+
import { themePreviewFieldGroupsBySection as we, themePreviewSectionOptions as re } from "../utils/themePreviewDefinitions.js";
|
|
12
|
+
import { deriveThemePreviewPaletteGroupValues as Te } from "../utils/color.js";
|
|
17
13
|
function Be(r) {
|
|
18
|
-
|
|
19
|
-
return !d || !p && !m && !c ? null : {
|
|
20
|
-
mainPath: d.path,
|
|
21
|
-
lightPath: p == null ? void 0 : p.path,
|
|
22
|
-
darkPath: m == null ? void 0 : m.path,
|
|
23
|
-
contrastTextPath: c == null ? void 0 : c.path
|
|
24
|
-
};
|
|
14
|
+
return r.replace(/\./g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/\b[a-z]/g, (a) => a.toUpperCase());
|
|
25
15
|
}
|
|
26
|
-
|
|
16
|
+
d(Be, "getThemePreviewFieldClusterLabel");
|
|
17
|
+
function K(r) {
|
|
18
|
+
const [a, c] = r.split(".");
|
|
19
|
+
return a === "button" && c ? `${a}.${c}` : a ?? "";
|
|
20
|
+
}
|
|
21
|
+
d(K, "getThemePreviewFieldClusterPrefix");
|
|
27
22
|
function Me(r) {
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
const a = r.find((p) => p.path.endsWith(".main")), c = r.find((p) => p.path.endsWith(".light")), f = r.find((p) => p.path.endsWith(".dark")), u = r.find((p) => p.path.endsWith(".contrastText"));
|
|
24
|
+
return !a || !c && !f && !u ? null : {
|
|
25
|
+
mainPath: a.path,
|
|
26
|
+
lightPath: c == null ? void 0 : c.path,
|
|
27
|
+
darkPath: f == null ? void 0 : f.path,
|
|
28
|
+
contrastTextPath: u == null ? void 0 : u.path
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
d(Me, "getThemePreviewAutoDerivedFieldPaths");
|
|
32
|
+
function Fe(r) {
|
|
33
|
+
const a = r.reduce(
|
|
34
|
+
(t, h) => {
|
|
35
|
+
const i = K(h.path);
|
|
36
|
+
return i && (t[i] || (t[i] = []), t[i].push(h)), t;
|
|
32
37
|
},
|
|
33
38
|
{}
|
|
34
|
-
),
|
|
35
|
-
Object.entries(
|
|
39
|
+
), c = Object.fromEntries(
|
|
40
|
+
Object.entries(a).map(([t, h]) => [
|
|
36
41
|
t,
|
|
37
|
-
|
|
42
|
+
h.length
|
|
38
43
|
])
|
|
39
|
-
),
|
|
40
|
-
Object.entries(
|
|
41
|
-
),
|
|
42
|
-
(t) => !
|
|
44
|
+
), f = new Set(
|
|
45
|
+
Object.entries(c).filter(([, t]) => t > 1).map(([t]) => t)
|
|
46
|
+
), u = r.some(
|
|
47
|
+
(t) => !f.has(K(t.path))
|
|
43
48
|
);
|
|
44
|
-
if (!(
|
|
49
|
+
if (!(f.size > 1 || u))
|
|
45
50
|
return r.map((t) => ({
|
|
46
51
|
key: t.path,
|
|
47
52
|
fields: [t]
|
|
48
53
|
}));
|
|
49
|
-
const
|
|
50
|
-
return r.reduce((t,
|
|
51
|
-
const i =
|
|
52
|
-
if (!
|
|
54
|
+
const S = /* @__PURE__ */ new Set();
|
|
55
|
+
return r.reduce((t, h) => {
|
|
56
|
+
const i = K(h.path);
|
|
57
|
+
if (!f.has(i))
|
|
53
58
|
return t.push({
|
|
54
|
-
key:
|
|
55
|
-
fields: [
|
|
59
|
+
key: h.path,
|
|
60
|
+
fields: [h]
|
|
56
61
|
}), t;
|
|
57
|
-
if (
|
|
62
|
+
if (S.has(i))
|
|
58
63
|
return t;
|
|
59
|
-
|
|
60
|
-
const
|
|
64
|
+
S.add(i);
|
|
65
|
+
const E = a[i] ?? [h];
|
|
61
66
|
return t.push({
|
|
62
67
|
key: i,
|
|
63
|
-
label:
|
|
64
|
-
fields:
|
|
65
|
-
autoDerivedFieldPaths:
|
|
68
|
+
label: Be(i),
|
|
69
|
+
fields: E,
|
|
70
|
+
autoDerivedFieldPaths: Me(E) ?? void 0
|
|
66
71
|
}), t;
|
|
67
72
|
}, []);
|
|
68
73
|
}
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
-
|
|
74
|
+
d(Fe, "getThemePreviewFieldClusters");
|
|
75
|
+
const Se = Object.fromEntries(
|
|
76
|
+
re.map((r) => [r.key, r])
|
|
72
77
|
), g = {
|
|
73
78
|
active: {
|
|
74
79
|
backgroundColor: "#1ea3e6",
|
|
@@ -82,25 +87,25 @@ const Fe = Object.fromEntries(
|
|
|
82
87
|
descriptionColor: "#6b7280",
|
|
83
88
|
textColor: "#111827"
|
|
84
89
|
}
|
|
85
|
-
},
|
|
90
|
+
}, F = "#d8dee8", Ee = "#d1d7e0", Ne = "#f8fafc", D = "#ffffff", P = "#111827", v = "#6b7280", V = "#ffffff", oe = "#cbd5e1", Ie = "#94a3b8", $ = "#1ea3e6", X = "#111827", We = "#f8fafc", ze = "#f8fafc", $e = `특별한 경우가 아니면 연동 색상 편집은 권장하지 않습니다.
|
|
86
91
|
|
|
87
92
|
Primary Main 값을 선택하면 Light, Dark, Contrast 값이 자동으로 채워집니다.
|
|
88
|
-
특수한 디자인 조정이 필요한 경우에만 직접 편집하세요.`, je =
|
|
93
|
+
특수한 디자인 조정이 필요한 경우에만 직접 편집하세요.`, je = pe({
|
|
89
94
|
palette: {
|
|
90
95
|
mode: "light",
|
|
91
96
|
background: {
|
|
92
97
|
default: D,
|
|
93
98
|
paper: D
|
|
94
99
|
},
|
|
95
|
-
divider:
|
|
100
|
+
divider: F,
|
|
96
101
|
primary: {
|
|
97
|
-
main:
|
|
102
|
+
main: $
|
|
98
103
|
},
|
|
99
104
|
secondary: {
|
|
100
|
-
main:
|
|
105
|
+
main: $
|
|
101
106
|
},
|
|
102
107
|
text: {
|
|
103
|
-
primary:
|
|
108
|
+
primary: P,
|
|
104
109
|
secondary: v
|
|
105
110
|
}
|
|
106
111
|
},
|
|
@@ -114,8 +119,8 @@ Primary Main 값을 선택하면 Light, Dark, Contrast 값이 자동으로 채
|
|
|
114
119
|
fontSize: "1.3rem"
|
|
115
120
|
}
|
|
116
121
|
}
|
|
117
|
-
}),
|
|
118
|
-
color:
|
|
122
|
+
}), Le = {
|
|
123
|
+
color: P,
|
|
119
124
|
"& .MuiFormHelperText-root": {
|
|
120
125
|
color: v
|
|
121
126
|
},
|
|
@@ -126,22 +131,22 @@ Primary Main 값을 선택하면 Light, Dark, Contrast 값이 자동으로 채
|
|
|
126
131
|
color: v
|
|
127
132
|
},
|
|
128
133
|
"& .MuiInputLabel-root.Mui-focused": {
|
|
129
|
-
color:
|
|
134
|
+
color: P
|
|
130
135
|
},
|
|
131
136
|
"& .MuiInputBase-input": {
|
|
132
|
-
color:
|
|
137
|
+
color: P
|
|
133
138
|
},
|
|
134
139
|
"& .MuiOutlinedInput-root": {
|
|
135
|
-
backgroundColor:
|
|
136
|
-
color:
|
|
140
|
+
backgroundColor: V,
|
|
141
|
+
color: P,
|
|
137
142
|
"& fieldset": {
|
|
138
|
-
borderColor:
|
|
143
|
+
borderColor: oe
|
|
139
144
|
},
|
|
140
145
|
"&:hover fieldset": {
|
|
141
|
-
borderColor:
|
|
146
|
+
borderColor: Ie
|
|
142
147
|
},
|
|
143
148
|
"&.Mui-focused fieldset": {
|
|
144
|
-
borderColor:
|
|
149
|
+
borderColor: $,
|
|
145
150
|
borderWidth: 1
|
|
146
151
|
}
|
|
147
152
|
},
|
|
@@ -149,71 +154,71 @@ Primary Main 값을 선택하면 Light, Dark, Contrast 값이 자동으로 채
|
|
|
149
154
|
color: v
|
|
150
155
|
},
|
|
151
156
|
"& .MuiButton-outlined": {
|
|
152
|
-
backgroundColor:
|
|
153
|
-
borderColor:
|
|
154
|
-
color:
|
|
157
|
+
backgroundColor: V,
|
|
158
|
+
borderColor: X,
|
|
159
|
+
color: P,
|
|
155
160
|
"&:hover": {
|
|
156
|
-
backgroundColor:
|
|
157
|
-
borderColor:
|
|
161
|
+
backgroundColor: We,
|
|
162
|
+
borderColor: X
|
|
158
163
|
}
|
|
159
164
|
},
|
|
160
165
|
"& .MuiCheckbox-root": {
|
|
161
166
|
color: v
|
|
162
167
|
},
|
|
163
168
|
"& .MuiCheckbox-root.Mui-checked": {
|
|
164
|
-
color:
|
|
169
|
+
color: $
|
|
165
170
|
},
|
|
166
171
|
"& .MuiDivider-root": {
|
|
167
|
-
borderColor:
|
|
172
|
+
borderColor: F
|
|
168
173
|
}
|
|
169
|
-
},
|
|
170
|
-
...
|
|
171
|
-
...
|
|
172
|
-
]),
|
|
173
|
-
function
|
|
174
|
+
}, Ae = /* @__PURE__ */ new Set([
|
|
175
|
+
...xe,
|
|
176
|
+
...Pe
|
|
177
|
+
]), ee = /* @__PURE__ */ new Set(["tableFieldHeader", "tableFieldCell"]);
|
|
178
|
+
function Oe({
|
|
174
179
|
activeSection: r,
|
|
175
|
-
presetOptions:
|
|
176
|
-
selectedMode:
|
|
177
|
-
selectedPresetKey:
|
|
178
|
-
settings:
|
|
179
|
-
resetVersion:
|
|
180
|
-
onSectionChange:
|
|
180
|
+
presetOptions: a,
|
|
181
|
+
selectedMode: c,
|
|
182
|
+
selectedPresetKey: f,
|
|
183
|
+
settings: u,
|
|
184
|
+
resetVersion: p,
|
|
185
|
+
onSectionChange: S,
|
|
181
186
|
onPaletteValueChange: t,
|
|
182
|
-
onPaletteValuesChange:
|
|
187
|
+
onPaletteValuesChange: h,
|
|
183
188
|
onPaletteValueReset: i,
|
|
184
|
-
onPaletteValuesReset:
|
|
185
|
-
onPresetKeyChange:
|
|
186
|
-
onPresetModeChange:
|
|
189
|
+
onPaletteValuesReset: E,
|
|
190
|
+
onPresetKeyChange: te,
|
|
191
|
+
onPresetModeChange: le
|
|
187
192
|
}) {
|
|
188
|
-
const [
|
|
189
|
-
() =>
|
|
190
|
-
[
|
|
191
|
-
),
|
|
193
|
+
const [ne, ae] = Ce({}), j = ge(null), N = !ye(r), C = N ? r : null, I = B(
|
|
194
|
+
() => N && C ? ke(a, C, c) : [],
|
|
195
|
+
[N, a, C, c]
|
|
196
|
+
), H = B(
|
|
192
197
|
() => {
|
|
193
198
|
var e;
|
|
194
|
-
return (e =
|
|
195
|
-
(l) => !
|
|
199
|
+
return (e = I.find(
|
|
200
|
+
(l) => !Ae.has(l.key)
|
|
196
201
|
)) == null ? void 0 : e.key;
|
|
197
202
|
},
|
|
198
|
-
[
|
|
199
|
-
),
|
|
200
|
-
() =>
|
|
203
|
+
[I]
|
|
204
|
+
), U = we[r], W = B(
|
|
205
|
+
() => U.map((e) => ({
|
|
201
206
|
...e,
|
|
202
|
-
fieldClusters:
|
|
207
|
+
fieldClusters: Fe(e.fields)
|
|
203
208
|
})),
|
|
204
|
-
[
|
|
205
|
-
),
|
|
209
|
+
[U]
|
|
210
|
+
), _ = B(() => {
|
|
206
211
|
if (r !== "table")
|
|
207
212
|
return [
|
|
208
213
|
{
|
|
209
214
|
key: r,
|
|
210
|
-
fieldGroups:
|
|
215
|
+
fieldGroups: W
|
|
211
216
|
}
|
|
212
217
|
];
|
|
213
|
-
const e =
|
|
214
|
-
(n) =>
|
|
215
|
-
), l =
|
|
216
|
-
(n) => !
|
|
218
|
+
const e = W.filter(
|
|
219
|
+
(n) => ee.has(n.key)
|
|
220
|
+
), l = W.filter(
|
|
221
|
+
(n) => !ee.has(n.key)
|
|
217
222
|
);
|
|
218
223
|
return [
|
|
219
224
|
{
|
|
@@ -227,12 +232,12 @@ function Je({
|
|
|
227
232
|
fieldGroups: l
|
|
228
233
|
}
|
|
229
234
|
].filter((n) => n.fieldGroups.length > 0);
|
|
230
|
-
}, [r,
|
|
231
|
-
() =>
|
|
235
|
+
}, [r, W]), L = Se[r], ie = B(
|
|
236
|
+
() => I.flatMap((e) => {
|
|
232
237
|
const l = [];
|
|
233
|
-
return e.key ===
|
|
238
|
+
return e.key === H && l.push(
|
|
234
239
|
/* @__PURE__ */ o(
|
|
235
|
-
|
|
240
|
+
q,
|
|
236
241
|
{
|
|
237
242
|
component: "li",
|
|
238
243
|
role: "presentation",
|
|
@@ -247,103 +252,102 @@ function Je({
|
|
|
247
252
|
"preset-legacy-divider"
|
|
248
253
|
)
|
|
249
254
|
), l.push(
|
|
250
|
-
/* @__PURE__ */ o(
|
|
255
|
+
/* @__PURE__ */ o(z, { value: e.key, children: e.label }, e.key)
|
|
251
256
|
), l;
|
|
252
257
|
}),
|
|
253
|
-
[
|
|
258
|
+
[H, I]
|
|
254
259
|
);
|
|
255
|
-
|
|
260
|
+
ve(() => {
|
|
256
261
|
j.current && (j.current.scrollTop = 0);
|
|
257
262
|
}, [r]);
|
|
258
|
-
const
|
|
259
|
-
const k =
|
|
263
|
+
const Y = /* @__PURE__ */ d((e, l, n) => {
|
|
264
|
+
const k = M(u, e, "common.white") || "#FFFFFF", w = M(u, e, "common.black") || "#111827", s = Te(n, {
|
|
260
265
|
whiteTextColor: k,
|
|
261
266
|
blackTextColor: w
|
|
262
267
|
});
|
|
263
|
-
return
|
|
264
|
-
l.lightPath ? { path: l.lightPath, value:
|
|
265
|
-
l.darkPath ? { path: l.darkPath, value:
|
|
266
|
-
l.contrastTextPath ? { path: l.contrastTextPath, value:
|
|
267
|
-
].filter((
|
|
268
|
-
}, "getAutoDerivedUpdates"),
|
|
268
|
+
return s ? [
|
|
269
|
+
l.lightPath ? { path: l.lightPath, value: s.light } : null,
|
|
270
|
+
l.darkPath ? { path: l.darkPath, value: s.dark } : null,
|
|
271
|
+
l.contrastTextPath ? { path: l.contrastTextPath, value: s.contrastText } : null
|
|
272
|
+
].filter((A) => !!A) : [];
|
|
273
|
+
}, "getAutoDerivedUpdates"), Z = /* @__PURE__ */ d((e) => {
|
|
269
274
|
const l = e.fieldClusters.flatMap(
|
|
270
275
|
(n) => n.fields.map((k) => k.path)
|
|
271
276
|
);
|
|
272
|
-
return /* @__PURE__ */
|
|
273
|
-
e.label ? /* @__PURE__ */
|
|
277
|
+
return /* @__PURE__ */ m("div", { className: "flex flex-col gap-12", children: [
|
|
278
|
+
e.label ? /* @__PURE__ */ m("div", { className: "flex items-center justify-between gap-8", children: [
|
|
274
279
|
/* @__PURE__ */ o(x, { variant: "subtitle1", fontWeight: 700, children: e.label }),
|
|
275
280
|
/* @__PURE__ */ o(
|
|
276
|
-
|
|
281
|
+
ue,
|
|
277
282
|
{
|
|
278
283
|
size: "small",
|
|
279
284
|
"aria-label": `${e.label} reset`,
|
|
280
|
-
onClick: /* @__PURE__ */
|
|
281
|
-
|
|
285
|
+
onClick: /* @__PURE__ */ d(() => {
|
|
286
|
+
E(l);
|
|
282
287
|
}, "onClick"),
|
|
283
288
|
sx: {
|
|
284
|
-
border: `1px solid ${
|
|
289
|
+
border: `1px solid ${oe}`,
|
|
285
290
|
borderRadius: 1,
|
|
286
291
|
color: v,
|
|
287
292
|
p: 0.5
|
|
288
293
|
},
|
|
289
|
-
children: /* @__PURE__ */ o(
|
|
294
|
+
children: /* @__PURE__ */ o(fe, { sx: { fontSize: 18 } })
|
|
290
295
|
}
|
|
291
296
|
)
|
|
292
297
|
] }) : null,
|
|
293
298
|
/* @__PURE__ */ o("div", { className: "grid gap-12", children: e.fieldClusters.map((n) => {
|
|
294
299
|
if (!n.label)
|
|
295
|
-
return n.fields.map((
|
|
296
|
-
|
|
300
|
+
return n.fields.map((b) => /* @__PURE__ */ o(
|
|
301
|
+
O,
|
|
297
302
|
{
|
|
298
|
-
definition:
|
|
299
|
-
resetVersion:
|
|
300
|
-
|
|
301
|
-
settings: c,
|
|
303
|
+
definition: b,
|
|
304
|
+
resetVersion: p,
|
|
305
|
+
value: M(u, r, b.path),
|
|
302
306
|
onChange: t,
|
|
303
307
|
onReset: i
|
|
304
308
|
},
|
|
305
|
-
|
|
309
|
+
b.path
|
|
306
310
|
));
|
|
307
|
-
const k = `${r}:${e.key}:${n.key}`, w = !!
|
|
308
|
-
return /* @__PURE__ */
|
|
309
|
-
|
|
311
|
+
const k = `${r}:${e.key}:${n.key}`, w = !!ne[k], s = n.autoDerivedFieldPaths, A = !!(s && C);
|
|
312
|
+
return /* @__PURE__ */ m(
|
|
313
|
+
G,
|
|
310
314
|
{
|
|
311
315
|
variant: "outlined",
|
|
312
316
|
sx: {
|
|
313
|
-
backgroundColor:
|
|
314
|
-
borderColor:
|
|
317
|
+
backgroundColor: Ne,
|
|
318
|
+
borderColor: Ee,
|
|
315
319
|
display: "flex",
|
|
316
320
|
flexDirection: "column",
|
|
317
321
|
gap: 1.5,
|
|
318
322
|
p: 1.5
|
|
319
323
|
},
|
|
320
324
|
children: [
|
|
321
|
-
/* @__PURE__ */
|
|
325
|
+
/* @__PURE__ */ m("div", { className: "flex items-start justify-between gap-12", children: [
|
|
322
326
|
/* @__PURE__ */ o(x, { variant: "body2", fontWeight: 700, children: n.label }),
|
|
323
|
-
|
|
324
|
-
|
|
327
|
+
A ? /* @__PURE__ */ o(
|
|
328
|
+
he,
|
|
325
329
|
{
|
|
326
330
|
className: "m-0",
|
|
327
331
|
control: /* @__PURE__ */ o(
|
|
328
|
-
|
|
332
|
+
me,
|
|
329
333
|
{
|
|
330
334
|
size: "small",
|
|
331
335
|
checked: w,
|
|
332
|
-
onChange: /* @__PURE__ */
|
|
333
|
-
const T =
|
|
336
|
+
onChange: /* @__PURE__ */ d((b) => {
|
|
337
|
+
const T = b.target.checked;
|
|
334
338
|
T && !window.confirm(
|
|
335
|
-
|
|
336
|
-
) || (
|
|
337
|
-
...
|
|
339
|
+
$e
|
|
340
|
+
) || (ae((y) => ({
|
|
341
|
+
...y,
|
|
338
342
|
[k]: T
|
|
339
|
-
})), !T && (!
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
})), !T && (!C || !s || h(
|
|
344
|
+
Y(
|
|
345
|
+
C,
|
|
346
|
+
s,
|
|
347
|
+
M(
|
|
348
|
+
u,
|
|
345
349
|
r,
|
|
346
|
-
|
|
350
|
+
s.mainPath
|
|
347
351
|
)
|
|
348
352
|
)
|
|
349
353
|
)));
|
|
@@ -354,33 +358,36 @@ function Je({
|
|
|
354
358
|
}
|
|
355
359
|
) : null
|
|
356
360
|
] }),
|
|
357
|
-
/* @__PURE__ */ o("div", { className: "grid gap-12", children: n.fields.map((
|
|
358
|
-
const T =
|
|
361
|
+
/* @__PURE__ */ o("div", { className: "grid gap-12", children: n.fields.map((b) => {
|
|
362
|
+
const T = s && C ? !w && b.path !== s.mainPath : !1;
|
|
359
363
|
return /* @__PURE__ */ o(
|
|
360
|
-
|
|
364
|
+
O,
|
|
361
365
|
{
|
|
362
366
|
disabled: T,
|
|
363
|
-
definition:
|
|
364
|
-
resetVersion:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
definition: b,
|
|
368
|
+
resetVersion: p,
|
|
369
|
+
value: M(
|
|
370
|
+
u,
|
|
371
|
+
r,
|
|
372
|
+
b.path
|
|
373
|
+
),
|
|
374
|
+
onChange: /* @__PURE__ */ d((y, R) => {
|
|
375
|
+
if (!s || !C || w || y !== s.mainPath) {
|
|
376
|
+
t(y, R);
|
|
370
377
|
return;
|
|
371
378
|
}
|
|
372
|
-
|
|
373
|
-
{ path:
|
|
374
|
-
...
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
379
|
+
h([
|
|
380
|
+
{ path: y, value: R },
|
|
381
|
+
...Y(
|
|
382
|
+
C,
|
|
383
|
+
s,
|
|
384
|
+
R
|
|
378
385
|
)
|
|
379
386
|
]);
|
|
380
387
|
}, "onChange"),
|
|
381
388
|
onReset: i
|
|
382
389
|
},
|
|
383
|
-
|
|
390
|
+
b.path
|
|
384
391
|
);
|
|
385
392
|
}) })
|
|
386
393
|
]
|
|
@@ -390,13 +397,13 @@ function Je({
|
|
|
390
397
|
}) })
|
|
391
398
|
] }, e.key);
|
|
392
399
|
}, "renderFieldGroup");
|
|
393
|
-
return /* @__PURE__ */ o(
|
|
394
|
-
/* @__PURE__ */ o("div", { className: "grid grid-cols-2 gap-12", children:
|
|
400
|
+
return /* @__PURE__ */ o(be, { theme: je, children: /* @__PURE__ */ m(ce, { sx: Le, className: "flex h-full min-h-0 flex-col gap-16", children: [
|
|
401
|
+
/* @__PURE__ */ o("div", { className: "grid grid-cols-2 gap-12", children: re.map((e) => {
|
|
395
402
|
const l = e.key === r;
|
|
396
403
|
return /* @__PURE__ */ o(
|
|
397
|
-
|
|
404
|
+
de,
|
|
398
405
|
{
|
|
399
|
-
onClick: /* @__PURE__ */
|
|
406
|
+
onClick: /* @__PURE__ */ d(() => S(e.key), "onClick"),
|
|
400
407
|
className: "w-full rounded-lg text-left",
|
|
401
408
|
sx: {
|
|
402
409
|
alignItems: "flex-start",
|
|
@@ -405,7 +412,7 @@ function Je({
|
|
|
405
412
|
color: l ? g.active.textColor : g.inactive.textColor,
|
|
406
413
|
p: 2
|
|
407
414
|
},
|
|
408
|
-
children: /* @__PURE__ */
|
|
415
|
+
children: /* @__PURE__ */ m("div", { className: "flex w-full flex-col gap-4", children: [
|
|
409
416
|
/* @__PURE__ */ o(x, { variant: "subtitle1", fontWeight: 600, children: e.label }),
|
|
410
417
|
e.description ? /* @__PURE__ */ o(
|
|
411
418
|
x,
|
|
@@ -422,45 +429,45 @@ function Je({
|
|
|
422
429
|
e.key
|
|
423
430
|
);
|
|
424
431
|
}) }),
|
|
425
|
-
/* @__PURE__ */
|
|
426
|
-
|
|
432
|
+
/* @__PURE__ */ m(
|
|
433
|
+
G,
|
|
427
434
|
{
|
|
428
435
|
className: "flex min-h-0 flex-1 flex-col overflow-hidden rounded-lg",
|
|
429
436
|
sx: {
|
|
430
437
|
backgroundColor: D,
|
|
431
|
-
border: `1px solid ${
|
|
438
|
+
border: `1px solid ${F}`,
|
|
432
439
|
boxShadow: "none"
|
|
433
440
|
},
|
|
434
441
|
children: [
|
|
435
|
-
/* @__PURE__ */ o("div", { className: "flex items-center justify-between px-20 py-16", children: /* @__PURE__ */
|
|
436
|
-
/* @__PURE__ */ o(x, { variant: "h6", sx: { color:
|
|
437
|
-
|
|
438
|
-
/* @__PURE__ */
|
|
439
|
-
|
|
442
|
+
/* @__PURE__ */ o("div", { className: "flex items-center justify-between px-20 py-16", children: /* @__PURE__ */ m("div", { className: "flex min-w-0 flex-1 flex-col gap-14", children: [
|
|
443
|
+
/* @__PURE__ */ o(x, { variant: "h6", sx: { color: P }, children: L == null ? void 0 : L.label }),
|
|
444
|
+
N ? /* @__PURE__ */ m("div", { className: "grid gap-12 md:grid-cols-2", children: [
|
|
445
|
+
/* @__PURE__ */ m(
|
|
446
|
+
J,
|
|
440
447
|
{
|
|
441
448
|
select: !0,
|
|
442
449
|
label: "Mode",
|
|
443
|
-
value:
|
|
444
|
-
onChange: /* @__PURE__ */
|
|
445
|
-
|
|
450
|
+
value: c,
|
|
451
|
+
onChange: /* @__PURE__ */ d((e) => {
|
|
452
|
+
le(e.target.value);
|
|
446
453
|
}, "onChange"),
|
|
447
454
|
children: [
|
|
448
|
-
/* @__PURE__ */ o(
|
|
449
|
-
/* @__PURE__ */ o(
|
|
455
|
+
/* @__PURE__ */ o(z, { value: "light", children: "light" }),
|
|
456
|
+
/* @__PURE__ */ o(z, { value: "dark", children: "dark" })
|
|
450
457
|
]
|
|
451
458
|
}
|
|
452
459
|
),
|
|
453
|
-
/* @__PURE__ */
|
|
454
|
-
|
|
460
|
+
/* @__PURE__ */ m(
|
|
461
|
+
J,
|
|
455
462
|
{
|
|
456
463
|
select: !0,
|
|
457
464
|
label: "Preset",
|
|
458
|
-
value:
|
|
459
|
-
onChange: /* @__PURE__ */
|
|
460
|
-
|
|
465
|
+
value: f,
|
|
466
|
+
onChange: /* @__PURE__ */ d((e) => {
|
|
467
|
+
te(e.target.value);
|
|
461
468
|
}, "onChange"),
|
|
462
469
|
children: [
|
|
463
|
-
|
|
470
|
+
f === Q ? /* @__PURE__ */ o(z, { value: Q, children: "custom" }) : null,
|
|
464
471
|
ie
|
|
465
472
|
]
|
|
466
473
|
}
|
|
@@ -468,10 +475,10 @@ function Je({
|
|
|
468
475
|
] }) : null
|
|
469
476
|
] }) }),
|
|
470
477
|
/* @__PURE__ */ o(
|
|
471
|
-
|
|
478
|
+
q,
|
|
472
479
|
{
|
|
473
480
|
sx: {
|
|
474
|
-
borderColor:
|
|
481
|
+
borderColor: F
|
|
475
482
|
}
|
|
476
483
|
}
|
|
477
484
|
),
|
|
@@ -480,13 +487,13 @@ function Je({
|
|
|
480
487
|
{
|
|
481
488
|
ref: j,
|
|
482
489
|
className: "flex min-h-0 flex-1 flex-col gap-20 overflow-y-auto px-20 py-20",
|
|
483
|
-
children:
|
|
484
|
-
|
|
490
|
+
children: _.map((e) => r === "table" && _.length > 1 ? /* @__PURE__ */ m(
|
|
491
|
+
G,
|
|
485
492
|
{
|
|
486
493
|
variant: "outlined",
|
|
487
494
|
sx: {
|
|
488
|
-
backgroundColor:
|
|
489
|
-
borderColor:
|
|
495
|
+
backgroundColor: ze,
|
|
496
|
+
borderColor: F,
|
|
490
497
|
boxShadow: "none",
|
|
491
498
|
display: "flex",
|
|
492
499
|
flexDirection: "column",
|
|
@@ -495,11 +502,11 @@ function Je({
|
|
|
495
502
|
},
|
|
496
503
|
children: [
|
|
497
504
|
e.label ? /* @__PURE__ */ o(x, { variant: "subtitle1", fontWeight: 700, children: e.label }) : null,
|
|
498
|
-
/* @__PURE__ */ o("div", { className: "grid gap-20", children: e.fieldGroups.map(
|
|
505
|
+
/* @__PURE__ */ o("div", { className: "grid gap-20", children: e.fieldGroups.map(Z) })
|
|
499
506
|
]
|
|
500
507
|
},
|
|
501
508
|
e.key
|
|
502
|
-
) : e.fieldGroups.map(
|
|
509
|
+
) : e.fieldGroups.map(Z))
|
|
503
510
|
}
|
|
504
511
|
)
|
|
505
512
|
]
|
|
@@ -507,8 +514,8 @@ function Je({
|
|
|
507
514
|
)
|
|
508
515
|
] }) });
|
|
509
516
|
}
|
|
510
|
-
|
|
517
|
+
d(Oe, "ThemePreviewControls");
|
|
511
518
|
export {
|
|
512
|
-
|
|
519
|
+
Oe as ThemePreviewControls
|
|
513
520
|
};
|
|
514
521
|
//# sourceMappingURL=ThemePreviewControls.js.map
|