@owp/core 2.5.60 → 2.5.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/components/OwpDialog/OwpAlertDialog.js +29 -23
- package/dist/components/OwpDialog/OwpAlertDialog.js.map +1 -1
- package/dist/components/OwpDialog/OwpDialog.js +91 -65
- package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
- package/dist/components/OwpDialog/internal/OwpDialogLifecycleContext.js +9 -0
- package/dist/components/OwpDialog/internal/OwpDialogLifecycleContext.js.map +1 -0
- package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js +136 -71
- package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +299 -282
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridGlobalStyles.js +28 -0
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridGlobalStyles.js.map +1 -0
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +811 -745
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +813 -473
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/configs/defaultConfig.js +252 -112
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/gridTheme.js +98 -48
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +57 -54
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +50 -47
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +124 -123
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +148 -146
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js +231 -153
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
- package/dist/features/themePreview/configs/grid.js +2 -45
- package/dist/features/themePreview/configs/grid.js.map +1 -1
- package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js +26 -11
- package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js.map +1 -1
- package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js +25 -11
- package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +90 -14
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/hooks/useOwpDialogs.js.map +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/types/components/OwpDialog/OwpDialog.d.ts +1 -1
- package/dist/types/components/OwpDialog/internal/OwpDialogLifecycleContext.d.ts +15 -0
- package/dist/types/components/OwpPicker/internal/DatePickerInput.d.ts +1 -1
- package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridGlobalStyles.d.ts +2 -0
- package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +9 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +9 -2
- package/dist/types/configs/defaultConfig.d.ts +66 -0
- package/dist/types/constants/gridTheme.d.ts +59 -0
- package/dist/types/constants/treeGrid.d.ts +8 -2
- package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +38 -2
- package/dist/types/features/themePreview/configs/grid.d.ts +26 -0
- package/dist/types/features/themePreview/configs/settings.d.ts +26 -0
- package/dist/types/types/OwpDialogTypes.d.ts +14 -0
- package/dist/types/types/OwpGridThemeTypes.d.ts +57 -1
- package/dist/types/types/index.d.ts +1 -1
- package/dist/utils/treeGridUtil.js +44 -38
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
var
|
|
2
|
-
var d = (
|
|
1
|
+
var de = Object.defineProperty;
|
|
2
|
+
var d = (s, i) => de(s, "name", { value: i, configurable: !0 });
|
|
3
3
|
import { jsx as e, jsxs as r } 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
|
|
4
|
+
import se from "../defs/ThemePreviewGridDef.xml.js";
|
|
5
5
|
import ce from "../defs/ThemePreviewReadonlyGridDef.xml.js";
|
|
6
|
-
import { OwpDatePicker as
|
|
7
|
-
import { OwpDataTable as
|
|
6
|
+
import { OwpDatePicker as he } from "../../../components/OwpPicker/OwpDatePicker.js";
|
|
7
|
+
import { OwpDataTable as K } from "../../../components/OwpTable/OwpDataTable.js";
|
|
8
8
|
import { OwpFieldTable as $ } from "../../../components/OwpTable/OwpFieldTable.js";
|
|
9
9
|
import { OwpTable as Q } from "../../../components/OwpTable/OwpTable.js";
|
|
10
|
-
import { TREEGRID_CELL_CHANGED_CLASS as
|
|
10
|
+
import { TREEGRID_CELL_CHANGED_CLASS as me } from "../../../constants/treeGrid.js";
|
|
11
11
|
import { OwpStoreProvider as O } from "../../../contexts/OwpStoreProvider.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { TableHead as
|
|
16
|
-
import { useTheme as
|
|
17
|
-
import { useSetAtom as
|
|
18
|
-
import { enqueueSnackbar as
|
|
19
|
-
import { memo as S, useState as
|
|
20
|
-
import { previewChromeBorder as P, gridPreviewColumnLabels as
|
|
21
|
-
import { OwpStyleProvider as
|
|
22
|
-
import { OwpTreeGrid as
|
|
23
|
-
import { OwpYesNoSelector as
|
|
12
|
+
import I 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/Close.js";
|
|
13
|
+
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/Search.js";
|
|
14
|
+
import xe 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";
|
|
15
|
+
import { TableHead as pe, TableRow as F, TableCell as U, TableBody as ue, Table as ve, Typography as h, Box as w, Skeleton as E, Paper as A, TextField as M, Button as R, ButtonBase as we, CircularProgress as H, LinearProgress as L, IconButton as ge } from "@mui/material";
|
|
16
|
+
import { useTheme as Z, createTheme as be, ThemeProvider as ye, alpha as j } from "@mui/material/styles";
|
|
17
|
+
import { useSetAtom as Te } from "jotai";
|
|
18
|
+
import { enqueueSnackbar as Se, closeSnackbar as V, SnackbarContent as Ce } from "notistack";
|
|
19
|
+
import { memo as S, useState as Ne, useRef as Re, useEffect as Pe, useMemo as Ee, useLayoutEffect as We } from "react";
|
|
20
|
+
import { previewChromeBorder as P, gridPreviewColumnLabels as Ge, gridPreviewRows as Me, gridPreviewBodyText as ke, getThemePreviewFieldTableSx as D, getThemePreviewFieldTableTitleSx as ee, tableFieldPreviewLayout as le, tableFieldPreviewData as re, getThemePreviewFieldTableCellSx as z, getThemePreviewBasicTableSx as Oe, tablePreviewRows as _e, tablePreviewHeaders as ie, getThemePreviewDataTableSx as Be, dataTablePreviewRows as q, dataTablePreviewHeadCells as ae, gridCanvasPreviewRows as X, gridStyledTablePreviewRows as $e, gridStyledDataTablePreviewRows as Ae, previewNoop as T, previewInnerCardSx as te, searchHeaderPreviewData as De, previewSectionCardClassName as ze } from "./themePreviewCanvas.shared.js";
|
|
21
|
+
import { OwpStyleProvider as _ } from "../../../components/OwpStyleProvider/OwpStyleProvider.js";
|
|
22
|
+
import { OwpTreeGrid as Y } from "../../../components/OwpTreeGrid/OwpTreeGrid.js";
|
|
23
|
+
import { OwpYesNoSelector as Ie } from "../../../components/OwpYesNoSelector/OwpYesNoSelector.js";
|
|
24
24
|
import { OwpPageContent as Fe } from "../../../components/OwpPageContent/OwpPageContent.js";
|
|
25
|
-
import { OwpSection as
|
|
26
|
-
import { owpSettingsStateAtom as
|
|
25
|
+
import { OwpSection as J } from "../../../components/OwpSection/OwpSection.js";
|
|
26
|
+
import { owpSettingsStateAtom as Ue } from "../../../store/atoms/owpSettingsAtoms.js";
|
|
27
27
|
import { OwpSearchFilter as He } from "../../../components/OwpSearchFilter/OwpSearchFilter.js";
|
|
28
|
-
function
|
|
29
|
-
const i =
|
|
28
|
+
function Le({ state: s }) {
|
|
29
|
+
const i = Te(Ue), l = s.owpSettings;
|
|
30
30
|
return We(() => {
|
|
31
31
|
!(l != null && l.current) || !(l != null && l.defaults) || !(l != null && l.initial) || i(l);
|
|
32
32
|
}, [l, i]), null;
|
|
33
33
|
}
|
|
34
|
-
d(
|
|
34
|
+
d(Le, "ThemePreviewStoreStateSync");
|
|
35
35
|
function y({
|
|
36
|
-
children:
|
|
36
|
+
children: s,
|
|
37
37
|
fillContentHeight: i = !1,
|
|
38
38
|
gapClassName: l = "gap-16",
|
|
39
|
-
paperClassName: a =
|
|
39
|
+
paperClassName: a = ze,
|
|
40
40
|
sx: t,
|
|
41
41
|
title: n
|
|
42
42
|
}) {
|
|
43
43
|
const u = n != null && n !== "";
|
|
44
44
|
return /* @__PURE__ */ e(
|
|
45
|
-
|
|
45
|
+
A,
|
|
46
46
|
{
|
|
47
47
|
className: a,
|
|
48
48
|
sx: {
|
|
49
|
-
...
|
|
49
|
+
...te,
|
|
50
50
|
...t
|
|
51
51
|
},
|
|
52
52
|
children: /* @__PURE__ */ r(
|
|
@@ -55,7 +55,7 @@ function y({
|
|
|
55
55
|
className: `flex flex-col ${u ? l : ""} ${i ? "min-h-0 flex-1" : ""}`,
|
|
56
56
|
children: [
|
|
57
57
|
u ? /* @__PURE__ */ e(h, { variant: "subtitle1", fontWeight: 700, children: n }) : null,
|
|
58
|
-
|
|
58
|
+
s
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
61
|
)
|
|
@@ -63,26 +63,26 @@ function y({
|
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
65
|
d(y, "PreviewSectionCard");
|
|
66
|
-
function
|
|
67
|
-
const i =
|
|
68
|
-
() =>
|
|
66
|
+
function k({ children: s }) {
|
|
67
|
+
const i = Z(), l = Ee(
|
|
68
|
+
() => be(i, {
|
|
69
69
|
palette: {
|
|
70
70
|
divider: P
|
|
71
71
|
}
|
|
72
72
|
}),
|
|
73
73
|
[i]
|
|
74
74
|
);
|
|
75
|
-
return /* @__PURE__ */ e(
|
|
75
|
+
return /* @__PURE__ */ e(ye, { theme: l, children: s });
|
|
76
76
|
}
|
|
77
|
-
d(
|
|
78
|
-
function
|
|
79
|
-
buttonPreviewItems:
|
|
77
|
+
d(k, "ThemePreviewStaticDividerBoundary");
|
|
78
|
+
function ne({
|
|
79
|
+
buttonPreviewItems: s,
|
|
80
80
|
mainTextSecondary: i
|
|
81
81
|
}) {
|
|
82
82
|
return /* @__PURE__ */ r("div", { className: "flex flex-col gap-12", children: [
|
|
83
83
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
84
84
|
/* @__PURE__ */ e(h, { variant: "caption", sx: { color: i }, children: "contained" }),
|
|
85
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children:
|
|
85
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: s.map(({ label: l, color: a, previewContrastColor: t }) => /* @__PURE__ */ e(
|
|
86
86
|
R,
|
|
87
87
|
{
|
|
88
88
|
size: "small",
|
|
@@ -101,19 +101,19 @@ function te({
|
|
|
101
101
|
] }),
|
|
102
102
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
103
103
|
/* @__PURE__ */ e(h, { variant: "caption", sx: { color: i }, children: "outlined" }),
|
|
104
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children:
|
|
104
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: s.map(({ label: l, color: a }) => /* @__PURE__ */ e(
|
|
105
105
|
R,
|
|
106
106
|
{
|
|
107
107
|
size: "small",
|
|
108
108
|
variant: "outlined",
|
|
109
109
|
sx: {
|
|
110
|
-
borderColor:
|
|
110
|
+
borderColor: j(a, 0.52),
|
|
111
111
|
color: a,
|
|
112
112
|
minWidth: 72,
|
|
113
113
|
px: 1.5,
|
|
114
114
|
py: 0.625,
|
|
115
115
|
"&:hover": {
|
|
116
|
-
backgroundColor:
|
|
116
|
+
backgroundColor: j(a, 0.08),
|
|
117
117
|
borderColor: a
|
|
118
118
|
}
|
|
119
119
|
},
|
|
@@ -124,14 +124,14 @@ function te({
|
|
|
124
124
|
] })
|
|
125
125
|
] });
|
|
126
126
|
}
|
|
127
|
-
d(
|
|
128
|
-
const
|
|
127
|
+
d(ne, "ThemePreviewButtonsPreviewContent");
|
|
128
|
+
const gl = S(/* @__PURE__ */ d(function({
|
|
129
129
|
buttonPreviewItems: i,
|
|
130
130
|
mainTextSecondary: l,
|
|
131
131
|
mainThemePreviewStoreState: a,
|
|
132
132
|
previewSectionCardSx: t
|
|
133
133
|
}) {
|
|
134
|
-
return /* @__PURE__ */ e(O, { preloadedState: a, children: /* @__PURE__ */ e(
|
|
134
|
+
return /* @__PURE__ */ e(O, { preloadedState: a, children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r("div", { className: "grid gap-16 xl:grid-cols-[188px_212px_minmax(0,9fr)_minmax(280px,13fr)]", children: [
|
|
135
135
|
/* @__PURE__ */ e(
|
|
136
136
|
y,
|
|
137
137
|
{
|
|
@@ -144,13 +144,13 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
144
144
|
children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-12", children: [
|
|
145
145
|
/* @__PURE__ */ r("div", { className: "flex items-center justify-between gap-12", children: [
|
|
146
146
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-8", children: [
|
|
147
|
-
/* @__PURE__ */ e(
|
|
147
|
+
/* @__PURE__ */ e(xe, { color: "primary" }),
|
|
148
148
|
/* @__PURE__ */ e(h, { variant: "body2", color: "primary.main", fontWeight: 600, children: "primary" })
|
|
149
149
|
] }),
|
|
150
150
|
/* @__PURE__ */ e(H, { color: "primary", size: 18, thickness: 5 })
|
|
151
151
|
] }),
|
|
152
152
|
/* @__PURE__ */ e(
|
|
153
|
-
|
|
153
|
+
L,
|
|
154
154
|
{
|
|
155
155
|
color: "primary",
|
|
156
156
|
sx: { borderRadius: 999, height: 6, width: "100%" },
|
|
@@ -160,13 +160,13 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
160
160
|
),
|
|
161
161
|
/* @__PURE__ */ r("div", { className: "flex items-center justify-between gap-12", children: [
|
|
162
162
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-8", children: [
|
|
163
|
-
/* @__PURE__ */ e(
|
|
163
|
+
/* @__PURE__ */ e(fe, { color: "secondary" }),
|
|
164
164
|
/* @__PURE__ */ e(h, { variant: "body2", color: "secondary.main", fontWeight: 600, children: "secondary" })
|
|
165
165
|
] }),
|
|
166
166
|
/* @__PURE__ */ e(H, { color: "secondary", size: 18, thickness: 5 })
|
|
167
167
|
] }),
|
|
168
168
|
/* @__PURE__ */ e(
|
|
169
|
-
|
|
169
|
+
L,
|
|
170
170
|
{
|
|
171
171
|
color: "secondary",
|
|
172
172
|
sx: { borderRadius: 999, height: 6, width: "100%" },
|
|
@@ -188,7 +188,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
188
188
|
title: "Inputs",
|
|
189
189
|
children: /* @__PURE__ */ r("div", { className: "grid gap-12", children: [
|
|
190
190
|
/* @__PURE__ */ e(
|
|
191
|
-
|
|
191
|
+
M,
|
|
192
192
|
{
|
|
193
193
|
fullWidth: !0,
|
|
194
194
|
label: "기본 입력",
|
|
@@ -198,7 +198,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
198
198
|
}
|
|
199
199
|
),
|
|
200
200
|
/* @__PURE__ */ e(
|
|
201
|
-
|
|
201
|
+
M,
|
|
202
202
|
{
|
|
203
203
|
focused: !0,
|
|
204
204
|
fullWidth: !0,
|
|
@@ -209,7 +209,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
209
209
|
}
|
|
210
210
|
),
|
|
211
211
|
/* @__PURE__ */ e(
|
|
212
|
-
|
|
212
|
+
M,
|
|
213
213
|
{
|
|
214
214
|
disabled: !0,
|
|
215
215
|
fullWidth: !0,
|
|
@@ -249,7 +249,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
249
249
|
},
|
|
250
250
|
title: "Buttons",
|
|
251
251
|
children: /* @__PURE__ */ e(
|
|
252
|
-
|
|
252
|
+
ne,
|
|
253
253
|
{
|
|
254
254
|
buttonPreviewItems: i,
|
|
255
255
|
mainTextSecondary: l
|
|
@@ -258,19 +258,19 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
258
258
|
}
|
|
259
259
|
)
|
|
260
260
|
] }) }) });
|
|
261
|
-
}, "ThemePreviewCommonSection2")),
|
|
261
|
+
}, "ThemePreviewCommonSection2")), bl = S(/* @__PURE__ */ d(function({
|
|
262
262
|
buttonPreviewItems: i,
|
|
263
263
|
mainTextSecondary: l,
|
|
264
264
|
previewSectionCardSx: a
|
|
265
265
|
}) {
|
|
266
266
|
return /* @__PURE__ */ e(y, { title: "Buttons", sx: a, children: /* @__PURE__ */ e(
|
|
267
|
-
|
|
267
|
+
ne,
|
|
268
268
|
{
|
|
269
269
|
buttonPreviewItems: i,
|
|
270
270
|
mainTextSecondary: l
|
|
271
271
|
}
|
|
272
272
|
) });
|
|
273
|
-
}, "ThemePreviewButtonsSection2")),
|
|
273
|
+
}, "ThemePreviewButtonsSection2")), yl = S(/* @__PURE__ */ d(function({
|
|
274
274
|
previewSectionCardSx: i,
|
|
275
275
|
previewSnackbarKeysRef: l,
|
|
276
276
|
snackbarAnchorOrigin: a,
|
|
@@ -282,13 +282,13 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
282
282
|
snackbarPreviewLineHeight: v,
|
|
283
283
|
snackbarPreviewMaxSnack: C
|
|
284
284
|
}) {
|
|
285
|
-
const o =
|
|
286
|
-
const oe =
|
|
285
|
+
const o = Z(), c = /* @__PURE__ */ d((p, f, g, b, N, W) => {
|
|
286
|
+
const oe = Se(f, {
|
|
287
287
|
anchorOrigin: a,
|
|
288
288
|
autoHideDuration: t,
|
|
289
289
|
variant: p,
|
|
290
290
|
content: /* @__PURE__ */ d((G) => /* @__PURE__ */ e(
|
|
291
|
-
|
|
291
|
+
Ce,
|
|
292
292
|
{
|
|
293
293
|
role: "alert",
|
|
294
294
|
style: {
|
|
@@ -338,7 +338,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
338
338
|
fontSize: 20
|
|
339
339
|
}
|
|
340
340
|
},
|
|
341
|
-
children:
|
|
341
|
+
children: W
|
|
342
342
|
}
|
|
343
343
|
),
|
|
344
344
|
/* @__PURE__ */ e(
|
|
@@ -358,10 +358,10 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
358
358
|
}
|
|
359
359
|
),
|
|
360
360
|
/* @__PURE__ */ e(
|
|
361
|
-
|
|
361
|
+
ge,
|
|
362
362
|
{
|
|
363
363
|
"aria-label": "close",
|
|
364
|
-
onClick: /* @__PURE__ */ d(() =>
|
|
364
|
+
onClick: /* @__PURE__ */ d(() => V(G), "onClick"),
|
|
365
365
|
size: "small",
|
|
366
366
|
sx: {
|
|
367
367
|
color: "inherit",
|
|
@@ -371,7 +371,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
371
371
|
backgroundColor: N
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
|
-
children: /* @__PURE__ */ e(
|
|
374
|
+
children: /* @__PURE__ */ e(I, { fontSize: "small" })
|
|
375
375
|
}
|
|
376
376
|
)
|
|
377
377
|
]
|
|
@@ -382,7 +382,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
382
382
|
});
|
|
383
383
|
for (l.current.push(oe); l.current.length > C; ) {
|
|
384
384
|
const G = l.current.shift();
|
|
385
|
-
G &&
|
|
385
|
+
G && V(G);
|
|
386
386
|
}
|
|
387
387
|
}, "openPreviewSnackbar");
|
|
388
388
|
return /* @__PURE__ */ e(
|
|
@@ -403,14 +403,14 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
403
403
|
justifyContent: u === "bottom" ? "flex-end" : "flex-start"
|
|
404
404
|
},
|
|
405
405
|
children: x.map(
|
|
406
|
-
({ key: p, actionHoverColor: f, backgroundColor: g, color: b, icon: N, message:
|
|
407
|
-
|
|
406
|
+
({ key: p, actionHoverColor: f, backgroundColor: g, color: b, icon: N, message: W }) => /* @__PURE__ */ r(
|
|
407
|
+
we,
|
|
408
408
|
{
|
|
409
409
|
className: "flex items-center justify-between gap-10 px-16 py-10 text-left",
|
|
410
410
|
onClick: /* @__PURE__ */ d(() => {
|
|
411
|
-
|
|
411
|
+
c(
|
|
412
412
|
p,
|
|
413
|
-
|
|
413
|
+
W,
|
|
414
414
|
g,
|
|
415
415
|
b,
|
|
416
416
|
f,
|
|
@@ -441,7 +441,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
441
441
|
lineHeight: v
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
|
-
children:
|
|
444
|
+
children: W
|
|
445
445
|
}
|
|
446
446
|
)
|
|
447
447
|
] }),
|
|
@@ -453,7 +453,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
453
453
|
backgroundColor: f,
|
|
454
454
|
color: b
|
|
455
455
|
},
|
|
456
|
-
children: /* @__PURE__ */ e(
|
|
456
|
+
children: /* @__PURE__ */ e(I, { sx: { fontSize: 16 } })
|
|
457
457
|
}
|
|
458
458
|
)
|
|
459
459
|
]
|
|
@@ -466,7 +466,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
466
466
|
] })
|
|
467
467
|
}
|
|
468
468
|
);
|
|
469
|
-
}, "ThemePreviewSnackbarsSection2")),
|
|
469
|
+
}, "ThemePreviewSnackbarsSection2")), Tl = S(/* @__PURE__ */ d(function({
|
|
470
470
|
activeSection: i,
|
|
471
471
|
gridPreviewTable: l,
|
|
472
472
|
mainBackground: a,
|
|
@@ -478,15 +478,15 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
478
478
|
searchHeaderPreviewNumber: v,
|
|
479
479
|
searchHeaderPreviewVersionKey: C,
|
|
480
480
|
tablePreviewCanTableRadiusZero: o,
|
|
481
|
-
tableTheme:
|
|
481
|
+
tableTheme: c,
|
|
482
482
|
tableThemePreviewVersionKey: p
|
|
483
483
|
}) {
|
|
484
|
-
const f =
|
|
484
|
+
const f = z(c), g = ee(c), b = i === "navbar" || i === "toolbar";
|
|
485
485
|
return /* @__PURE__ */ e(y, { paperClassName: "overflow-hidden rounded-lg p-0", sx: m, children: /* @__PURE__ */ e(
|
|
486
486
|
O,
|
|
487
487
|
{
|
|
488
488
|
preloadedState: u,
|
|
489
|
-
children: /* @__PURE__ */ e(
|
|
489
|
+
children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r(
|
|
490
490
|
w,
|
|
491
491
|
{
|
|
492
492
|
className: "flex flex-col gap-16 p-16",
|
|
@@ -502,7 +502,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
502
502
|
},
|
|
503
503
|
children: [
|
|
504
504
|
/* @__PURE__ */ e(
|
|
505
|
-
|
|
505
|
+
A,
|
|
506
506
|
{
|
|
507
507
|
className: "w-full",
|
|
508
508
|
sx: {
|
|
@@ -511,7 +511,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
511
511
|
},
|
|
512
512
|
children: /* @__PURE__ */ r(He, { onSubmit: T, onReset: T, children: [
|
|
513
513
|
/* @__PURE__ */ e(
|
|
514
|
-
|
|
514
|
+
he,
|
|
515
515
|
{
|
|
516
516
|
label: "작업일자",
|
|
517
517
|
value: x,
|
|
@@ -520,7 +520,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
520
520
|
}
|
|
521
521
|
),
|
|
522
522
|
/* @__PURE__ */ e(
|
|
523
|
-
|
|
523
|
+
Ie,
|
|
524
524
|
{
|
|
525
525
|
label: "사용여부",
|
|
526
526
|
yesLabel: "사용",
|
|
@@ -530,7 +530,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
530
530
|
}
|
|
531
531
|
),
|
|
532
532
|
/* @__PURE__ */ e(
|
|
533
|
-
|
|
533
|
+
M,
|
|
534
534
|
{
|
|
535
535
|
label: "번호",
|
|
536
536
|
variant: "standard",
|
|
@@ -542,11 +542,11 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
542
542
|
}
|
|
543
543
|
),
|
|
544
544
|
/* @__PURE__ */ e(
|
|
545
|
-
|
|
545
|
+
A,
|
|
546
546
|
{
|
|
547
547
|
className: "w-full rounded-lg p-16",
|
|
548
548
|
sx: {
|
|
549
|
-
...
|
|
549
|
+
...te,
|
|
550
550
|
backgroundColor: t,
|
|
551
551
|
border: `1px solid ${P}`
|
|
552
552
|
},
|
|
@@ -554,11 +554,11 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
554
554
|
Fe,
|
|
555
555
|
{
|
|
556
556
|
title: "제목",
|
|
557
|
-
centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e(
|
|
557
|
+
centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(
|
|
558
558
|
w,
|
|
559
559
|
{
|
|
560
|
-
sx:
|
|
561
|
-
|
|
560
|
+
sx: D(
|
|
561
|
+
c,
|
|
562
562
|
o
|
|
563
563
|
),
|
|
564
564
|
children: /* @__PURE__ */ e(
|
|
@@ -569,7 +569,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
569
569
|
...Array.isArray(f) ? f : f ? [f] : [],
|
|
570
570
|
{ py: 0.5, textAlign: "center" }
|
|
571
571
|
],
|
|
572
|
-
data:
|
|
572
|
+
data: De,
|
|
573
573
|
layout: [[{ title: "상태", key: "previewValue" }]],
|
|
574
574
|
titleSx: [
|
|
575
575
|
...Array.isArray(g) ? g : g ? [g] : [],
|
|
@@ -590,7 +590,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
590
590
|
children: /* @__PURE__ */ r("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [
|
|
591
591
|
l,
|
|
592
592
|
/* @__PURE__ */ e(
|
|
593
|
-
|
|
593
|
+
J,
|
|
594
594
|
{
|
|
595
595
|
className: b ? "shrink-0" : "min-h-0 flex-1",
|
|
596
596
|
title: "섹션 제목",
|
|
@@ -599,20 +599,20 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
599
599
|
{
|
|
600
600
|
className: "flex min-h-0 flex-1 flex-col pt-12",
|
|
601
601
|
style: { borderTop: `1px solid ${P}` },
|
|
602
|
-
children: /* @__PURE__ */ e(
|
|
602
|
+
children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(
|
|
603
603
|
w,
|
|
604
604
|
{
|
|
605
|
-
sx:
|
|
606
|
-
|
|
605
|
+
sx: D(
|
|
606
|
+
c,
|
|
607
607
|
o
|
|
608
608
|
),
|
|
609
609
|
children: /* @__PURE__ */ e(
|
|
610
610
|
$,
|
|
611
611
|
{
|
|
612
612
|
canUseTreeGridStyle: !0,
|
|
613
|
-
cellSx:
|
|
614
|
-
data:
|
|
615
|
-
layout:
|
|
613
|
+
cellSx: z(c),
|
|
614
|
+
data: re,
|
|
615
|
+
layout: le,
|
|
616
616
|
titleWidth: 108
|
|
617
617
|
},
|
|
618
618
|
`search-header-content-field-table-${p}`
|
|
@@ -624,7 +624,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
624
624
|
}
|
|
625
625
|
),
|
|
626
626
|
b ? /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [0, 1].map((N) => /* @__PURE__ */ e(
|
|
627
|
-
|
|
627
|
+
J,
|
|
628
628
|
{
|
|
629
629
|
className: "min-h-0 flex-1",
|
|
630
630
|
title: "섹션 제목",
|
|
@@ -635,7 +635,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
635
635
|
style: { borderTop: `1px solid ${P}` },
|
|
636
636
|
children: [
|
|
637
637
|
/* @__PURE__ */ e(
|
|
638
|
-
|
|
638
|
+
E,
|
|
639
639
|
{
|
|
640
640
|
animation: !1,
|
|
641
641
|
height: 16,
|
|
@@ -644,7 +644,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
644
644
|
}
|
|
645
645
|
),
|
|
646
646
|
/* @__PURE__ */ e(
|
|
647
|
-
|
|
647
|
+
E,
|
|
648
648
|
{
|
|
649
649
|
animation: !1,
|
|
650
650
|
height: 16,
|
|
@@ -653,7 +653,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
653
653
|
}
|
|
654
654
|
),
|
|
655
655
|
/* @__PURE__ */ e(
|
|
656
|
-
|
|
656
|
+
E,
|
|
657
657
|
{
|
|
658
658
|
animation: !1,
|
|
659
659
|
className: "flex-1",
|
|
@@ -678,58 +678,59 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
678
678
|
},
|
|
679
679
|
`search-header-${C}`
|
|
680
680
|
) });
|
|
681
|
-
}, "ThemePreviewSearchHeaderSection2")),
|
|
681
|
+
}, "ThemePreviewSearchHeaderSection2")), je = "OWP_THEME_PREVIEW.STATUS", B = "OWP_THEME_PREVIEW.WORK_DATE", Ve = "OWP_THEME_PREVIEW.REMARKClass", Sl = S(/* @__PURE__ */ d(function({
|
|
682
682
|
editableThemePreviewGridId: i,
|
|
683
683
|
mainThemePreviewStoreState: l,
|
|
684
684
|
previewSectionCardSx: a,
|
|
685
685
|
readonlyThemePreviewGridId: t
|
|
686
686
|
}) {
|
|
687
|
-
const [n, u] =
|
|
687
|
+
const [n, u] = Ne(!1), m = Re(null), x = /* @__PURE__ */ d(() => {
|
|
688
688
|
m.current === null && (m.current = window.requestAnimationFrame(() => {
|
|
689
689
|
m.current = null, u(!0);
|
|
690
690
|
}));
|
|
691
691
|
}, "scheduleReadonlyGridMount");
|
|
692
|
-
return
|
|
692
|
+
return Pe(
|
|
693
693
|
() => () => {
|
|
694
694
|
m.current !== null && (window.cancelAnimationFrame(m.current), m.current = null);
|
|
695
695
|
},
|
|
696
696
|
[]
|
|
697
697
|
), /* @__PURE__ */ e(y, { title: "Grid", sx: a, children: /* @__PURE__ */ r(O, { preloadedState: l, children: [
|
|
698
|
-
/* @__PURE__ */ e(
|
|
699
|
-
/* @__PURE__ */ e(
|
|
698
|
+
/* @__PURE__ */ e(Le, { state: l }),
|
|
699
|
+
/* @__PURE__ */ e(_, { children: /* @__PURE__ */ r(
|
|
700
700
|
"div",
|
|
701
701
|
{
|
|
702
|
-
className: "flex min-h-0 flex-col gap-12",
|
|
702
|
+
className: "flex min-h-0 min-w-0 flex-col gap-12",
|
|
703
703
|
style: {
|
|
704
704
|
height: "min(640px, calc(100vh - 360px))"
|
|
705
705
|
},
|
|
706
706
|
children: [
|
|
707
|
-
/* @__PURE__ */ r("div", { className: "grid min-h-0 flex-1 grid-rows-[minmax(0,1fr)_minmax(0,1fr)] gap-12", children: [
|
|
707
|
+
/* @__PURE__ */ r("div", { className: "grid min-h-0 min-w-0 flex-1 grid-rows-[minmax(0,1fr)_minmax(0,1fr)] gap-12", children: [
|
|
708
708
|
/* @__PURE__ */ e(
|
|
709
|
-
|
|
709
|
+
Y,
|
|
710
710
|
{
|
|
711
|
-
|
|
711
|
+
containerClassName: "min-w-0",
|
|
712
|
+
data: X,
|
|
712
713
|
height: "100%",
|
|
713
714
|
id: i,
|
|
714
|
-
layoutData:
|
|
715
|
+
layoutData: se,
|
|
715
716
|
onReady: /* @__PURE__ */ d((o) => {
|
|
716
717
|
if (!o)
|
|
717
718
|
return;
|
|
718
|
-
const
|
|
719
|
-
if (!
|
|
719
|
+
const c = o.GetFirst(), p = c ? o.GetNext(c) : null, f = p ? o.GetNext(p) : c;
|
|
720
|
+
if (!c) {
|
|
720
721
|
x();
|
|
721
722
|
return;
|
|
722
723
|
}
|
|
723
|
-
|
|
724
|
+
p ? o.Focus(p, B) : o.Focus(c, B), f && (o.SetAttribute(
|
|
724
725
|
f,
|
|
725
|
-
|
|
726
|
+
je,
|
|
726
727
|
"Error",
|
|
727
728
|
"상태 필수 입력",
|
|
728
729
|
1
|
|
729
730
|
), o.SetValue(
|
|
730
731
|
f,
|
|
731
|
-
|
|
732
|
-
|
|
732
|
+
Ve,
|
|
733
|
+
me
|
|
733
734
|
), o.RefreshRow(f)), x();
|
|
734
735
|
}, "handleEditableThemePreviewGridReady"),
|
|
735
736
|
showLoading: !1,
|
|
@@ -737,17 +738,18 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
737
738
|
}
|
|
738
739
|
),
|
|
739
740
|
n ? /* @__PURE__ */ e(
|
|
740
|
-
|
|
741
|
+
Y,
|
|
741
742
|
{
|
|
742
|
-
|
|
743
|
+
containerClassName: "min-w-0",
|
|
744
|
+
data: X,
|
|
743
745
|
height: "100%",
|
|
744
746
|
id: t,
|
|
745
747
|
layoutData: ce,
|
|
746
748
|
onReady: /* @__PURE__ */ d((o) => {
|
|
747
749
|
if (!o)
|
|
748
750
|
return;
|
|
749
|
-
const
|
|
750
|
-
|
|
751
|
+
const c = o.GetFirst();
|
|
752
|
+
c && o.Focus(c, B);
|
|
751
753
|
}, "handleReadonlyThemePreviewGridReady"),
|
|
752
754
|
showLoading: !1,
|
|
753
755
|
showToolbarTotalCount: !1
|
|
@@ -755,11 +757,11 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
755
757
|
) : /* @__PURE__ */ r(
|
|
756
758
|
"div",
|
|
757
759
|
{
|
|
758
|
-
className: "flex min-h-0 flex-col gap-10 overflow-hidden rounded-lg border border-solid p-12",
|
|
760
|
+
className: "flex min-h-0 min-w-0 flex-col gap-10 overflow-hidden rounded-lg border border-solid p-12",
|
|
759
761
|
style: { borderColor: P },
|
|
760
762
|
children: [
|
|
761
|
-
/* @__PURE__ */ e(
|
|
762
|
-
/* @__PURE__ */ e(
|
|
763
|
+
/* @__PURE__ */ e(E, { animation: !1, height: 24, variant: "rounded", width: "100%" }),
|
|
764
|
+
/* @__PURE__ */ e(E, { animation: !1, className: "flex-1", variant: "rounded", width: "100%" })
|
|
763
765
|
]
|
|
764
766
|
}
|
|
765
767
|
)
|
|
@@ -771,7 +773,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
771
773
|
Q,
|
|
772
774
|
{
|
|
773
775
|
canUseTreeGridStyle: !0,
|
|
774
|
-
headers:
|
|
776
|
+
headers: ie,
|
|
775
777
|
rows: $e
|
|
776
778
|
}
|
|
777
779
|
)
|
|
@@ -779,15 +781,15 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
779
781
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
780
782
|
/* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table (Grid Style)" }),
|
|
781
783
|
/* @__PURE__ */ e(
|
|
782
|
-
|
|
784
|
+
K,
|
|
783
785
|
{
|
|
784
786
|
canCheckbox: !1,
|
|
785
787
|
canTotalCountRow: !1,
|
|
786
788
|
canUseOrderBy: !1,
|
|
787
789
|
canUseTreeGridStyle: !0,
|
|
788
790
|
fixedRowCount: 1,
|
|
789
|
-
headCells:
|
|
790
|
-
rows:
|
|
791
|
+
headCells: ae,
|
|
792
|
+
rows: Ae,
|
|
791
793
|
sx: {
|
|
792
794
|
"& .MuiTableBody-root > .MuiTableRow-root, & .MuiTableBody-root > .MuiTableRow-root:hover, & .MuiTableBody-root > .MuiTableRow-root.Mui-selected, & .MuiTableBody-root > .MuiTableRow-root.Mui-selected:hover": {
|
|
793
795
|
backgroundColor: "transparent"
|
|
@@ -804,7 +806,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
804
806
|
}
|
|
805
807
|
) })
|
|
806
808
|
] }) });
|
|
807
|
-
}, "ThemePreviewGridSection2")),
|
|
809
|
+
}, "ThemePreviewGridSection2")), Cl = S(/* @__PURE__ */ d(function({
|
|
808
810
|
mainThemePreviewStoreState: i,
|
|
809
811
|
previewSectionCardSx: l,
|
|
810
812
|
tablePreviewCanTableRadiusZero: a,
|
|
@@ -815,17 +817,17 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
815
817
|
O,
|
|
816
818
|
{
|
|
817
819
|
preloadedState: i,
|
|
818
|
-
children: /* @__PURE__ */ e(
|
|
820
|
+
children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-14", children: [
|
|
819
821
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
820
822
|
/* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Field Table" }),
|
|
821
|
-
/* @__PURE__ */ e(
|
|
823
|
+
/* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: D(t, a), children: /* @__PURE__ */ e(
|
|
822
824
|
$,
|
|
823
825
|
{
|
|
824
826
|
canUseTreeGridStyle: !1,
|
|
825
|
-
cellSx:
|
|
826
|
-
data:
|
|
827
|
-
layout:
|
|
828
|
-
titleSx:
|
|
827
|
+
cellSx: z(t),
|
|
828
|
+
data: re,
|
|
829
|
+
layout: le,
|
|
830
|
+
titleSx: ee(t),
|
|
829
831
|
titleWidth: 108
|
|
830
832
|
},
|
|
831
833
|
`field-table-${n}`
|
|
@@ -833,12 +835,12 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
833
835
|
] }),
|
|
834
836
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
835
837
|
/* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Table" }),
|
|
836
|
-
/* @__PURE__ */ e(
|
|
838
|
+
/* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(w, { sx: Oe(t, a), children: /* @__PURE__ */ e(
|
|
837
839
|
Q,
|
|
838
840
|
{
|
|
839
841
|
canUseTreeGridStyle: !1,
|
|
840
|
-
headers:
|
|
841
|
-
rows:
|
|
842
|
+
headers: ie,
|
|
843
|
+
rows: _e
|
|
842
844
|
},
|
|
843
845
|
`basic-table-${n}`
|
|
844
846
|
) }) })
|
|
@@ -846,7 +848,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
846
848
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-8", children: [
|
|
847
849
|
/* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table" }),
|
|
848
850
|
/* @__PURE__ */ e(w, { sx: Be(t, a), children: /* @__PURE__ */ e(
|
|
849
|
-
|
|
851
|
+
K,
|
|
850
852
|
{
|
|
851
853
|
canCheckbox: !1,
|
|
852
854
|
canTableRadiusZero: a,
|
|
@@ -854,9 +856,9 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
854
856
|
canUseOrderBy: !1,
|
|
855
857
|
canUseTreeGridStyle: !1,
|
|
856
858
|
fixedRowCount: 2,
|
|
857
|
-
headCells:
|
|
858
|
-
rows:
|
|
859
|
-
selected:
|
|
859
|
+
headCells: ae,
|
|
860
|
+
rows: q,
|
|
861
|
+
selected: q.slice(0, 1)
|
|
860
862
|
},
|
|
861
863
|
`data-table-${n}`
|
|
862
864
|
) })
|
|
@@ -865,7 +867,7 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
865
867
|
},
|
|
866
868
|
`table-preview-${n}`
|
|
867
869
|
) });
|
|
868
|
-
}, "ThemePreviewTablesSection2")),
|
|
870
|
+
}, "ThemePreviewTablesSection2")), Nl = S(/* @__PURE__ */ d(function({
|
|
869
871
|
gridBodyBorder: i,
|
|
870
872
|
layoutPreviewGridCellBackground: l,
|
|
871
873
|
layoutPreviewGridCellFontSize: a,
|
|
@@ -882,15 +884,15 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
882
884
|
borderColor: P
|
|
883
885
|
},
|
|
884
886
|
children: /* @__PURE__ */ r(
|
|
885
|
-
|
|
887
|
+
ve,
|
|
886
888
|
{
|
|
887
889
|
size: "small",
|
|
888
890
|
sx: {
|
|
889
891
|
tableLayout: "fixed"
|
|
890
892
|
},
|
|
891
893
|
children: [
|
|
892
|
-
/* @__PURE__ */ e(
|
|
893
|
-
|
|
894
|
+
/* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e(F, { children: Ge.map((x) => /* @__PURE__ */ e(
|
|
895
|
+
U,
|
|
894
896
|
{
|
|
895
897
|
sx: {
|
|
896
898
|
backgroundColor: t,
|
|
@@ -910,14 +912,14 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
910
912
|
},
|
|
911
913
|
x
|
|
912
914
|
)) }) }),
|
|
913
|
-
/* @__PURE__ */ e(
|
|
915
|
+
/* @__PURE__ */ e(ue, { children: Me.map((x) => /* @__PURE__ */ e(
|
|
914
916
|
F,
|
|
915
917
|
{
|
|
916
918
|
sx: {
|
|
917
919
|
backgroundColor: l
|
|
918
920
|
},
|
|
919
921
|
children: x.map((v, C) => /* @__PURE__ */ e(
|
|
920
|
-
|
|
922
|
+
U,
|
|
921
923
|
{
|
|
922
924
|
sx: {
|
|
923
925
|
borderBottom: `1px solid ${i}`,
|
|
@@ -945,12 +947,12 @@ const ul = S(/* @__PURE__ */ d(function({
|
|
|
945
947
|
);
|
|
946
948
|
}, "ThemePreviewGridPreviewTable2"));
|
|
947
949
|
export {
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
950
|
+
bl as ThemePreviewButtonsSection,
|
|
951
|
+
gl as ThemePreviewCommonSection,
|
|
952
|
+
Nl as ThemePreviewGridPreviewTable,
|
|
953
|
+
Sl as ThemePreviewGridSection,
|
|
954
|
+
Tl as ThemePreviewSearchHeaderSection,
|
|
955
|
+
yl as ThemePreviewSnackbarsSection,
|
|
956
|
+
Cl as ThemePreviewTablesSection
|
|
955
957
|
};
|
|
956
958
|
//# sourceMappingURL=ThemePreviewCanvasSections.js.map
|