@owp/core 2.5.10 → 2.5.11
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/OwpTable/OwpFieldTable.js +108 -92
- package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
- package/dist/components/OwpTable/OwpTable.js +161 -141
- package/dist/components/OwpTable/OwpTable.js.map +1 -1
- package/dist/components/OwpTable/internal/FieldTableValue.js +43 -0
- package/dist/components/OwpTable/internal/FieldTableValue.js.map +1 -0
- package/dist/components/OwpTable/internal/defaultTableStyle.js +13 -10
- package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +170 -169
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +79 -76
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/configs/defaultConfig.js +110 -70
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/tableTheme.js +7 -6
- package/dist/constants/tableTheme.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +275 -273
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +552 -316
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewColorField.js +227 -201
- package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewControls.js +176 -160
- package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js +38 -38
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
- package/dist/features/themePreview/configs/settings.js +33 -20
- package/dist/features/themePreview/configs/settings.js.map +1 -1
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +227 -220
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
- package/dist/features/themePreview/hooks/useThemePreview.js +213 -204
- package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +63 -30
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/layout/components/navbar/NavbarToggleButton.js +46 -42
- package/dist/layout/components/navbar/NavbarToggleButton.js.map +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- 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/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/OwpTable/OwpFieldTable.d.ts +7 -3
- package/dist/types/components/OwpTable/OwpTable.d.ts +3 -1
- package/dist/types/components/OwpTable/internal/FieldTableValue.d.ts +17 -0
- package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +3 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +3 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -1
- package/dist/types/configs/defaultConfig.d.ts +42 -3
- package/dist/types/constants/tableTheme.d.ts +1 -0
- package/dist/types/features/themePreview/components/ThemePreviewCanvasSections.d.ts +8 -0
- package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +3 -3
- package/dist/types/features/themePreview/configs/settings.d.ts +12 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/OwpMuiThemeTypes.d.ts +9 -0
- package/dist/types/types/OwpTableThemeTypes.d.ts +1 -0
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,130 +1,298 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { jsx as e, jsxs as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { OwpDatePicker as
|
|
7
|
-
import { OwpDataTable as
|
|
8
|
-
import { OwpFieldTable as
|
|
9
|
-
import { OwpTable as
|
|
10
|
-
import { OwpStoreProvider as
|
|
11
|
-
import { highlightTreeGridCellById as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
1
|
+
var ne = Object.defineProperty;
|
|
2
|
+
var d = (s, r) => ne(s, "name", { value: r, configurable: !0 });
|
|
3
|
+
import { jsx as e, jsxs as l } 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 de from "../defs/ThemePreviewGridDef.xml.js";
|
|
5
|
+
import ce from "../defs/ThemePreviewReadonlyGridDef.xml.js";
|
|
6
|
+
import { OwpDatePicker as se } from "../../../components/OwpPicker/OwpDatePicker.js";
|
|
7
|
+
import { OwpDataTable as J } from "../../../components/OwpTable/OwpDataTable.js";
|
|
8
|
+
import { OwpFieldTable as E } from "../../../components/OwpTable/OwpFieldTable.js";
|
|
9
|
+
import { OwpTable as Q } from "../../../components/OwpTable/OwpTable.js";
|
|
10
|
+
import { OwpStoreProvider as G } from "../../../contexts/OwpStoreProvider.js";
|
|
11
|
+
import { highlightTreeGridCellById as he } from "../../../utils/treeGridUtil.js";
|
|
12
|
+
import _ 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 me 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 { Typography as c, Box as v, Paper as D, TextField as B, Skeleton as O, Button as R, ButtonBase as fe, CircularProgress as I, LinearProgress as U, TableHead as pe, TableRow as A, TableCell as H, TableBody as ue, Table as ve, IconButton as ge } from "@mui/material";
|
|
16
|
+
import { useTheme as K, createTheme as be, ThemeProvider as we, alpha as j } from "@mui/material/styles";
|
|
17
|
+
import { enqueueSnackbar as ye, closeSnackbar as L, SnackbarContent as Te } from "notistack";
|
|
18
|
+
import { memo as N, useMemo as Se } from "react";
|
|
19
|
+
import { getThemePreviewFieldTableSx as z, getThemePreviewFieldTableTitleSx as Z, tableFieldPreviewLayout as ee, tableFieldPreviewData as le, getThemePreviewFieldTableCellSx as F, getThemePreviewBasicTableSx as Ne, tablePreviewRows as Ce, tablePreviewHeaders as re, getThemePreviewDataTableSx as Re, dataTablePreviewRows as X, dataTablePreviewHeadCells as ie, gridCanvasPreviewRows as Y, gridStyledTablePreviewRows as Pe, gridStyledDataTablePreviewRows as We, previewNoop as T, previewChromeBorder as P, previewInnerCardSx as ae, searchHeaderPreviewData as ke, previewSectionCardClassName as Be, gridPreviewColumnLabels as $e, gridPreviewRows as Ge, gridPreviewBodyText as Me } from "./themePreviewCanvas.shared.js";
|
|
18
20
|
import { OwpStyleProvider as M } from "../../../components/OwpStyleProvider/OwpStyleProvider.js";
|
|
19
|
-
import { OwpTreeGrid as
|
|
20
|
-
import { OwpSearchFilter as
|
|
21
|
-
import { OwpYesNoSelector as
|
|
22
|
-
import { OwpPageContent as
|
|
23
|
-
import { OwpSection as
|
|
24
|
-
function
|
|
25
|
-
children:
|
|
26
|
-
fillContentHeight:
|
|
27
|
-
gapClassName:
|
|
28
|
-
paperClassName:
|
|
29
|
-
sx:
|
|
30
|
-
title:
|
|
21
|
+
import { OwpTreeGrid as q } from "../../../components/OwpTreeGrid/OwpTreeGrid.js";
|
|
22
|
+
import { OwpSearchFilter as Oe } from "../../../components/OwpSearchFilter/OwpSearchFilter.js";
|
|
23
|
+
import { OwpYesNoSelector as Ee } from "../../../components/OwpYesNoSelector/OwpYesNoSelector.js";
|
|
24
|
+
import { OwpPageContent as De } from "../../../components/OwpPageContent/OwpPageContent.js";
|
|
25
|
+
import { OwpSection as V } from "../../../components/OwpSection/OwpSection.js";
|
|
26
|
+
function y({
|
|
27
|
+
children: s,
|
|
28
|
+
fillContentHeight: r = !1,
|
|
29
|
+
gapClassName: i = "gap-16",
|
|
30
|
+
paperClassName: a = Be,
|
|
31
|
+
sx: t,
|
|
32
|
+
title: n
|
|
31
33
|
}) {
|
|
32
|
-
const
|
|
34
|
+
const m = n != null && n !== "";
|
|
33
35
|
return /* @__PURE__ */ e(
|
|
34
|
-
|
|
36
|
+
D,
|
|
35
37
|
{
|
|
36
|
-
className:
|
|
38
|
+
className: a,
|
|
37
39
|
sx: {
|
|
38
|
-
...
|
|
39
|
-
...
|
|
40
|
+
...ae,
|
|
41
|
+
...t
|
|
40
42
|
},
|
|
41
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ l(
|
|
42
44
|
"div",
|
|
43
45
|
{
|
|
44
|
-
className: `flex flex-col ${
|
|
46
|
+
className: `flex flex-col ${m ? i : ""} ${r ? "min-h-0 flex-1" : ""}`,
|
|
45
47
|
children: [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
m ? /* @__PURE__ */ e(c, { variant: "subtitle1", fontWeight: 700, children: n }) : null,
|
|
49
|
+
s
|
|
48
50
|
]
|
|
49
51
|
}
|
|
50
52
|
)
|
|
51
53
|
}
|
|
52
54
|
);
|
|
53
55
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
d(y, "PreviewSectionCard");
|
|
57
|
+
function $({ children: s }) {
|
|
58
|
+
const r = K(), i = Se(
|
|
59
|
+
() => be(r, {
|
|
60
|
+
palette: {
|
|
61
|
+
divider: P
|
|
62
|
+
}
|
|
63
|
+
}),
|
|
64
|
+
[r]
|
|
65
|
+
);
|
|
66
|
+
return /* @__PURE__ */ e(we, { theme: i, children: s });
|
|
67
|
+
}
|
|
68
|
+
d($, "ThemePreviewStaticDividerBoundary");
|
|
69
|
+
function te({
|
|
70
|
+
buttonPreviewItems: s,
|
|
71
|
+
mainTextSecondary: r
|
|
59
72
|
}) {
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
/* @__PURE__ */ e(
|
|
63
|
-
|
|
64
|
-
|
|
73
|
+
return /* @__PURE__ */ l("div", { className: "flex flex-col gap-12", children: [
|
|
74
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
|
|
75
|
+
/* @__PURE__ */ e(c, { variant: "caption", sx: { color: r }, children: "contained" }),
|
|
76
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: s.map(({ label: i, color: a, previewContrastColor: t }) => /* @__PURE__ */ e(
|
|
77
|
+
R,
|
|
65
78
|
{
|
|
79
|
+
size: "small",
|
|
66
80
|
variant: "contained",
|
|
67
81
|
sx: {
|
|
68
|
-
backgroundColor:
|
|
69
|
-
color:
|
|
82
|
+
backgroundColor: a,
|
|
83
|
+
color: t,
|
|
84
|
+
minWidth: 72,
|
|
85
|
+
px: 1.5,
|
|
86
|
+
py: 0.625
|
|
70
87
|
},
|
|
71
|
-
children:
|
|
88
|
+
children: i
|
|
72
89
|
},
|
|
73
|
-
`contained-${
|
|
74
|
-
))
|
|
90
|
+
`contained-${i}`
|
|
91
|
+
)) })
|
|
75
92
|
] }),
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
/* @__PURE__ */ e(
|
|
78
|
-
|
|
79
|
-
|
|
93
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
|
|
94
|
+
/* @__PURE__ */ e(c, { variant: "caption", sx: { color: r }, children: "outlined" }),
|
|
95
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-8", children: s.map(({ label: i, color: a }) => /* @__PURE__ */ e(
|
|
96
|
+
R,
|
|
80
97
|
{
|
|
98
|
+
size: "small",
|
|
81
99
|
variant: "outlined",
|
|
82
100
|
sx: {
|
|
83
|
-
borderColor:
|
|
84
|
-
color:
|
|
101
|
+
borderColor: j(a, 0.52),
|
|
102
|
+
color: a,
|
|
103
|
+
minWidth: 72,
|
|
104
|
+
px: 1.5,
|
|
105
|
+
py: 0.625,
|
|
85
106
|
"&:hover": {
|
|
86
|
-
|
|
87
|
-
|
|
107
|
+
backgroundColor: j(a, 0.08),
|
|
108
|
+
borderColor: a
|
|
88
109
|
}
|
|
89
110
|
},
|
|
90
|
-
children:
|
|
111
|
+
children: i
|
|
91
112
|
},
|
|
92
|
-
`outlined-${
|
|
93
|
-
))
|
|
113
|
+
`outlined-${i}`
|
|
114
|
+
)) })
|
|
94
115
|
] })
|
|
95
|
-
] })
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
snackbarPreviewFontSize: u,
|
|
104
|
-
snackbarPreviewItems: x,
|
|
105
|
-
snackbarPreviewLineHeight: i,
|
|
106
|
-
snackbarPreviewMaxSnack: d
|
|
116
|
+
] });
|
|
117
|
+
}
|
|
118
|
+
d(te, "ThemePreviewButtonsPreviewContent");
|
|
119
|
+
const nl = N(/* @__PURE__ */ d(function({
|
|
120
|
+
buttonPreviewItems: r,
|
|
121
|
+
mainTextSecondary: i,
|
|
122
|
+
mainThemePreviewStoreState: a,
|
|
123
|
+
previewSectionCardSx: t
|
|
107
124
|
}) {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
125
|
+
return /* @__PURE__ */ e(G, { preloadedState: a, children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ l("div", { className: "grid gap-16 xl:grid-cols-[188px_212px_minmax(0,9fr)_minmax(280px,13fr)]", children: [
|
|
126
|
+
/* @__PURE__ */ e(
|
|
127
|
+
y,
|
|
128
|
+
{
|
|
129
|
+
gapClassName: "gap-12",
|
|
130
|
+
sx: {
|
|
131
|
+
...t,
|
|
132
|
+
minWidth: 0
|
|
133
|
+
},
|
|
134
|
+
title: "Common",
|
|
135
|
+
children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-12", children: [
|
|
136
|
+
/* @__PURE__ */ l("div", { className: "flex items-center justify-between gap-12", children: [
|
|
137
|
+
/* @__PURE__ */ l("div", { className: "flex items-center gap-8", children: [
|
|
138
|
+
/* @__PURE__ */ e(xe, { color: "primary" }),
|
|
139
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "primary.main", fontWeight: 600, children: "primary" })
|
|
140
|
+
] }),
|
|
141
|
+
/* @__PURE__ */ e(I, { color: "primary", size: 18, thickness: 5 })
|
|
142
|
+
] }),
|
|
143
|
+
/* @__PURE__ */ e(
|
|
144
|
+
U,
|
|
145
|
+
{
|
|
146
|
+
color: "primary",
|
|
147
|
+
sx: { borderRadius: 999, height: 6, width: "100%" },
|
|
148
|
+
value: 68,
|
|
149
|
+
variant: "determinate"
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ l("div", { className: "flex items-center justify-between gap-12", children: [
|
|
153
|
+
/* @__PURE__ */ l("div", { className: "flex items-center gap-8", children: [
|
|
154
|
+
/* @__PURE__ */ e(me, { color: "secondary" }),
|
|
155
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "secondary.main", fontWeight: 600, children: "secondary" })
|
|
156
|
+
] }),
|
|
157
|
+
/* @__PURE__ */ e(I, { color: "secondary", size: 18, thickness: 5 })
|
|
158
|
+
] }),
|
|
159
|
+
/* @__PURE__ */ e(
|
|
160
|
+
U,
|
|
161
|
+
{
|
|
162
|
+
color: "secondary",
|
|
163
|
+
sx: { borderRadius: 999, height: 6, width: "100%" },
|
|
164
|
+
value: 52,
|
|
165
|
+
variant: "determinate"
|
|
166
|
+
}
|
|
167
|
+
)
|
|
168
|
+
] })
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
/* @__PURE__ */ e(
|
|
172
|
+
y,
|
|
173
|
+
{
|
|
174
|
+
gapClassName: "gap-12",
|
|
175
|
+
sx: {
|
|
176
|
+
...t,
|
|
177
|
+
minWidth: 0
|
|
178
|
+
},
|
|
179
|
+
title: "Inputs",
|
|
180
|
+
children: /* @__PURE__ */ l("div", { className: "grid gap-12", children: [
|
|
181
|
+
/* @__PURE__ */ e(
|
|
182
|
+
B,
|
|
183
|
+
{
|
|
184
|
+
fullWidth: !0,
|
|
185
|
+
label: "기본 입력",
|
|
186
|
+
onChange: T,
|
|
187
|
+
size: "small",
|
|
188
|
+
value: "기본 상태"
|
|
189
|
+
}
|
|
190
|
+
),
|
|
191
|
+
/* @__PURE__ */ e(
|
|
192
|
+
B,
|
|
193
|
+
{
|
|
194
|
+
focused: !0,
|
|
195
|
+
fullWidth: !0,
|
|
196
|
+
label: "포커스 입력",
|
|
197
|
+
onChange: T,
|
|
198
|
+
size: "small",
|
|
199
|
+
value: "focus 상태"
|
|
200
|
+
}
|
|
201
|
+
),
|
|
202
|
+
/* @__PURE__ */ e(
|
|
203
|
+
B,
|
|
204
|
+
{
|
|
205
|
+
disabled: !0,
|
|
206
|
+
fullWidth: !0,
|
|
207
|
+
label: "비활성 입력",
|
|
208
|
+
onChange: T,
|
|
209
|
+
size: "small",
|
|
210
|
+
value: "disabled 상태"
|
|
211
|
+
}
|
|
212
|
+
)
|
|
213
|
+
] })
|
|
214
|
+
}
|
|
215
|
+
),
|
|
216
|
+
/* @__PURE__ */ e(
|
|
217
|
+
y,
|
|
218
|
+
{
|
|
219
|
+
gapClassName: "gap-12",
|
|
220
|
+
sx: {
|
|
221
|
+
...t,
|
|
222
|
+
minWidth: 0
|
|
223
|
+
},
|
|
224
|
+
title: "Text",
|
|
225
|
+
children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-14", children: [
|
|
226
|
+
/* @__PURE__ */ e(c, { variant: "h6", children: "메인 제목 텍스트" }),
|
|
227
|
+
/* @__PURE__ */ e(c, { variant: "body1", children: "text.primary 본문" }),
|
|
228
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", children: "text.secondary 보조 설명" }),
|
|
229
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.disabled", children: "text.disabled 비활성 텍스트" })
|
|
230
|
+
] })
|
|
231
|
+
}
|
|
232
|
+
),
|
|
233
|
+
/* @__PURE__ */ e(
|
|
234
|
+
y,
|
|
235
|
+
{
|
|
236
|
+
gapClassName: "gap-12",
|
|
237
|
+
sx: {
|
|
238
|
+
...t,
|
|
239
|
+
minWidth: 0
|
|
240
|
+
},
|
|
241
|
+
title: "Buttons",
|
|
242
|
+
children: /* @__PURE__ */ e(
|
|
243
|
+
te,
|
|
244
|
+
{
|
|
245
|
+
buttonPreviewItems: r,
|
|
246
|
+
mainTextSecondary: i
|
|
247
|
+
}
|
|
248
|
+
)
|
|
249
|
+
}
|
|
250
|
+
)
|
|
251
|
+
] }) }) });
|
|
252
|
+
}, "ThemePreviewCommonSection2")), dl = N(/* @__PURE__ */ d(function({
|
|
253
|
+
buttonPreviewItems: r,
|
|
254
|
+
mainTextSecondary: i,
|
|
255
|
+
previewSectionCardSx: a
|
|
256
|
+
}) {
|
|
257
|
+
return /* @__PURE__ */ e(y, { title: "Buttons", sx: a, children: /* @__PURE__ */ e(
|
|
258
|
+
te,
|
|
259
|
+
{
|
|
260
|
+
buttonPreviewItems: r,
|
|
261
|
+
mainTextSecondary: i
|
|
262
|
+
}
|
|
263
|
+
) });
|
|
264
|
+
}, "ThemePreviewButtonsSection2")), cl = N(/* @__PURE__ */ d(function({
|
|
265
|
+
previewSectionCardSx: r,
|
|
266
|
+
previewSnackbarKeysRef: i,
|
|
267
|
+
snackbarAnchorOrigin: a,
|
|
268
|
+
snackbarAutoHideDuration: t,
|
|
269
|
+
snackbarPreviewAnchorHorizontal: n,
|
|
270
|
+
snackbarPreviewAnchorVertical: m,
|
|
271
|
+
snackbarPreviewFontSize: g,
|
|
272
|
+
snackbarPreviewItems: f,
|
|
273
|
+
snackbarPreviewLineHeight: o,
|
|
274
|
+
snackbarPreviewMaxSnack: h
|
|
275
|
+
}) {
|
|
276
|
+
const p = K(), x = /* @__PURE__ */ d((S, u, b, w, C, W) => {
|
|
277
|
+
const oe = ye(u, {
|
|
278
|
+
anchorOrigin: a,
|
|
279
|
+
autoHideDuration: t,
|
|
280
|
+
variant: S,
|
|
281
|
+
content: /* @__PURE__ */ d((k) => /* @__PURE__ */ e(
|
|
282
|
+
Te,
|
|
115
283
|
{
|
|
116
284
|
role: "alert",
|
|
117
285
|
style: {
|
|
118
|
-
backgroundColor:
|
|
119
|
-
borderRadius: `${
|
|
120
|
-
boxShadow:
|
|
121
|
-
color:
|
|
122
|
-
fontSize:
|
|
123
|
-
lineHeight:
|
|
286
|
+
backgroundColor: b,
|
|
287
|
+
borderRadius: `${p.shape.borderRadius}px`,
|
|
288
|
+
boxShadow: p.shadows[2],
|
|
289
|
+
color: w,
|
|
290
|
+
fontSize: g,
|
|
291
|
+
lineHeight: o,
|
|
124
292
|
overflow: "hidden",
|
|
125
293
|
padding: 0
|
|
126
294
|
},
|
|
127
|
-
children: /* @__PURE__ */
|
|
295
|
+
children: /* @__PURE__ */ l(
|
|
128
296
|
v,
|
|
129
297
|
{
|
|
130
298
|
sx: {
|
|
@@ -137,7 +305,7 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
137
305
|
width: "100%"
|
|
138
306
|
},
|
|
139
307
|
children: [
|
|
140
|
-
/* @__PURE__ */
|
|
308
|
+
/* @__PURE__ */ l(
|
|
141
309
|
v,
|
|
142
310
|
{
|
|
143
311
|
sx: {
|
|
@@ -161,7 +329,7 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
161
329
|
fontSize: 20
|
|
162
330
|
}
|
|
163
331
|
},
|
|
164
|
-
children:
|
|
332
|
+
children: W
|
|
165
333
|
}
|
|
166
334
|
),
|
|
167
335
|
/* @__PURE__ */ e(
|
|
@@ -170,31 +338,31 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
170
338
|
sx: {
|
|
171
339
|
color: "inherit",
|
|
172
340
|
flex: 1,
|
|
173
|
-
fontSize:
|
|
174
|
-
lineHeight:
|
|
341
|
+
fontSize: g,
|
|
342
|
+
lineHeight: o,
|
|
175
343
|
minWidth: 0
|
|
176
344
|
},
|
|
177
|
-
children:
|
|
345
|
+
children: u
|
|
178
346
|
}
|
|
179
347
|
)
|
|
180
348
|
]
|
|
181
349
|
}
|
|
182
350
|
),
|
|
183
351
|
/* @__PURE__ */ e(
|
|
184
|
-
|
|
352
|
+
ge,
|
|
185
353
|
{
|
|
186
354
|
"aria-label": "close",
|
|
187
|
-
onClick: /* @__PURE__ */
|
|
355
|
+
onClick: /* @__PURE__ */ d(() => L(k), "onClick"),
|
|
188
356
|
size: "small",
|
|
189
357
|
sx: {
|
|
190
358
|
color: "inherit",
|
|
191
359
|
flexShrink: 0,
|
|
192
360
|
ml: 1,
|
|
193
361
|
"&:hover": {
|
|
194
|
-
backgroundColor:
|
|
362
|
+
backgroundColor: C
|
|
195
363
|
}
|
|
196
364
|
},
|
|
197
|
-
children: /* @__PURE__ */ e(
|
|
365
|
+
children: /* @__PURE__ */ e(_, { fontSize: "small" })
|
|
198
366
|
}
|
|
199
367
|
)
|
|
200
368
|
]
|
|
@@ -203,68 +371,68 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
203
371
|
}
|
|
204
372
|
), "content")
|
|
205
373
|
});
|
|
206
|
-
for (
|
|
207
|
-
const
|
|
208
|
-
|
|
374
|
+
for (i.current.push(oe); i.current.length > h; ) {
|
|
375
|
+
const k = i.current.shift();
|
|
376
|
+
k && L(k);
|
|
209
377
|
}
|
|
210
378
|
}, "openPreviewSnackbar");
|
|
211
379
|
return /* @__PURE__ */ e(
|
|
212
|
-
|
|
380
|
+
y,
|
|
213
381
|
{
|
|
214
382
|
fillContentHeight: !0,
|
|
215
383
|
paperClassName: "flex min-h-0 flex-1 flex-col rounded-lg p-14",
|
|
216
384
|
title: "Snackbars",
|
|
217
|
-
sx:
|
|
218
|
-
children: /* @__PURE__ */
|
|
219
|
-
/* @__PURE__ */ e(
|
|
385
|
+
sx: r,
|
|
386
|
+
children: /* @__PURE__ */ l("div", { className: "flex min-h-0 flex-1 flex-col gap-10", children: [
|
|
387
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", children: "스넥바를 클릭하면 실제 동작을 바로 확인할 수 있습니다." }),
|
|
220
388
|
/* @__PURE__ */ e(
|
|
221
389
|
"div",
|
|
222
390
|
{
|
|
223
391
|
className: "flex min-h-0 flex-1 flex-col gap-10",
|
|
224
392
|
style: {
|
|
225
|
-
alignItems:
|
|
226
|
-
justifyContent:
|
|
393
|
+
alignItems: n === "left" ? "flex-start" : n === "right" ? "flex-end" : "center",
|
|
394
|
+
justifyContent: m === "bottom" ? "flex-end" : "flex-start"
|
|
227
395
|
},
|
|
228
|
-
children:
|
|
229
|
-
({ key:
|
|
230
|
-
|
|
396
|
+
children: f.map(
|
|
397
|
+
({ key: S, actionHoverColor: u, backgroundColor: b, color: w, icon: C, message: W }) => /* @__PURE__ */ l(
|
|
398
|
+
fe,
|
|
231
399
|
{
|
|
232
400
|
className: "flex items-center justify-between gap-10 px-16 py-10 text-left",
|
|
233
|
-
onClick: /* @__PURE__ */
|
|
234
|
-
|
|
401
|
+
onClick: /* @__PURE__ */ d(() => {
|
|
402
|
+
x(
|
|
403
|
+
S,
|
|
404
|
+
W,
|
|
405
|
+
b,
|
|
235
406
|
w,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
g,
|
|
239
|
-
f,
|
|
240
|
-
N
|
|
407
|
+
u,
|
|
408
|
+
C
|
|
241
409
|
);
|
|
242
410
|
}, "onClick"),
|
|
243
411
|
style: {
|
|
244
|
-
backgroundColor:
|
|
412
|
+
backgroundColor: b,
|
|
245
413
|
borderRadius: 8,
|
|
246
414
|
boxShadow: "0px 3px 5px -1px rgba(0,0,0,0.2), 0px 6px 10px 0px rgba(0,0,0,0.14), 0px 1px 18px 0px rgba(0,0,0,0.12)",
|
|
247
|
-
color:
|
|
415
|
+
color: w,
|
|
248
416
|
width: "min(100%, 360px)"
|
|
249
417
|
},
|
|
250
418
|
children: [
|
|
251
|
-
/* @__PURE__ */
|
|
252
|
-
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center", style: { color:
|
|
419
|
+
/* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1 items-center gap-10", children: [
|
|
420
|
+
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center", style: { color: w }, children: C }),
|
|
253
421
|
/* @__PURE__ */ e(
|
|
254
|
-
|
|
422
|
+
c,
|
|
255
423
|
{
|
|
256
424
|
variant: "body2",
|
|
257
425
|
className: "truncate",
|
|
258
426
|
sx: {
|
|
259
427
|
color: "inherit",
|
|
260
|
-
...
|
|
261
|
-
fontSize:
|
|
428
|
+
...g && {
|
|
429
|
+
fontSize: g
|
|
262
430
|
},
|
|
263
|
-
...
|
|
264
|
-
lineHeight:
|
|
431
|
+
...o && {
|
|
432
|
+
lineHeight: o
|
|
265
433
|
}
|
|
266
434
|
},
|
|
267
|
-
children:
|
|
435
|
+
children: W
|
|
268
436
|
}
|
|
269
437
|
)
|
|
270
438
|
] }),
|
|
@@ -273,15 +441,15 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
273
441
|
{
|
|
274
442
|
className: "flex h-28 w-28 shrink-0 items-center justify-center rounded-full",
|
|
275
443
|
style: {
|
|
276
|
-
backgroundColor:
|
|
277
|
-
color:
|
|
444
|
+
backgroundColor: u,
|
|
445
|
+
color: w
|
|
278
446
|
},
|
|
279
|
-
children: /* @__PURE__ */ e(
|
|
447
|
+
children: /* @__PURE__ */ e(_, { sx: { fontSize: 16 } })
|
|
280
448
|
}
|
|
281
449
|
)
|
|
282
450
|
]
|
|
283
451
|
},
|
|
284
|
-
|
|
452
|
+
S
|
|
285
453
|
)
|
|
286
454
|
)
|
|
287
455
|
}
|
|
@@ -289,32 +457,33 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
289
457
|
] })
|
|
290
458
|
}
|
|
291
459
|
);
|
|
292
|
-
}, "ThemePreviewSnackbarsSection2")),
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
460
|
+
}, "ThemePreviewSnackbarsSection2")), sl = N(/* @__PURE__ */ d(function({
|
|
461
|
+
activeSection: r,
|
|
462
|
+
gridPreviewTable: i,
|
|
463
|
+
mainBackground: a,
|
|
464
|
+
mainPaper: t,
|
|
465
|
+
mainText: n,
|
|
466
|
+
mainThemePreviewStoreState: m,
|
|
467
|
+
previewSectionCardSx: g,
|
|
468
|
+
searchHeaderPreviewDate: f,
|
|
469
|
+
searchHeaderPreviewNumber: o,
|
|
470
|
+
searchHeaderPreviewVersionKey: h,
|
|
471
|
+
tablePreviewCanTableRadiusZero: p,
|
|
472
|
+
tableTheme: x,
|
|
473
|
+
tableThemePreviewVersionKey: S
|
|
305
474
|
}) {
|
|
306
|
-
const
|
|
307
|
-
return /* @__PURE__ */ e(
|
|
308
|
-
|
|
475
|
+
const u = F(x), b = Z(x), w = r === "navbar" || r === "toolbar";
|
|
476
|
+
return /* @__PURE__ */ e(y, { paperClassName: "overflow-hidden rounded-lg p-0", sx: g, children: /* @__PURE__ */ e(
|
|
477
|
+
G,
|
|
309
478
|
{
|
|
310
|
-
preloadedState:
|
|
311
|
-
children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */
|
|
479
|
+
preloadedState: m,
|
|
480
|
+
children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ l(
|
|
312
481
|
v,
|
|
313
482
|
{
|
|
314
483
|
className: "flex flex-col gap-16 p-16",
|
|
315
484
|
sx: {
|
|
316
|
-
backgroundColor:
|
|
317
|
-
color:
|
|
485
|
+
backgroundColor: a,
|
|
486
|
+
color: n,
|
|
318
487
|
"& .OwpPageContent-header .MuiDivider-root": {
|
|
319
488
|
my: 1.5
|
|
320
489
|
},
|
|
@@ -324,105 +493,171 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
324
493
|
},
|
|
325
494
|
children: [
|
|
326
495
|
/* @__PURE__ */ e(
|
|
327
|
-
|
|
496
|
+
D,
|
|
328
497
|
{
|
|
329
498
|
className: "w-full",
|
|
330
499
|
sx: {
|
|
331
500
|
backgroundColor: "transparent",
|
|
332
501
|
boxShadow: "none"
|
|
333
502
|
},
|
|
334
|
-
children: /* @__PURE__ */
|
|
503
|
+
children: /* @__PURE__ */ l(Oe, { onSubmit: T, onReset: T, children: [
|
|
335
504
|
/* @__PURE__ */ e(
|
|
336
|
-
|
|
505
|
+
se,
|
|
337
506
|
{
|
|
338
507
|
label: "작업일자",
|
|
339
|
-
value:
|
|
508
|
+
value: f,
|
|
340
509
|
variant: "standard",
|
|
341
|
-
onChange:
|
|
510
|
+
onChange: T
|
|
342
511
|
}
|
|
343
512
|
),
|
|
344
513
|
/* @__PURE__ */ e(
|
|
345
|
-
|
|
514
|
+
Ee,
|
|
346
515
|
{
|
|
347
516
|
label: "사용여부",
|
|
348
517
|
yesLabel: "사용",
|
|
349
518
|
noLabel: "미사용",
|
|
350
519
|
value: "Y",
|
|
351
|
-
onChange:
|
|
520
|
+
onChange: T
|
|
352
521
|
}
|
|
353
522
|
),
|
|
354
523
|
/* @__PURE__ */ e(
|
|
355
|
-
|
|
524
|
+
B,
|
|
356
525
|
{
|
|
357
526
|
label: "번호",
|
|
358
527
|
variant: "standard",
|
|
359
|
-
value:
|
|
360
|
-
onChange:
|
|
528
|
+
value: o,
|
|
529
|
+
onChange: T
|
|
361
530
|
}
|
|
362
531
|
)
|
|
363
532
|
] })
|
|
364
533
|
}
|
|
365
534
|
),
|
|
366
535
|
/* @__PURE__ */ e(
|
|
367
|
-
|
|
536
|
+
D,
|
|
368
537
|
{
|
|
369
538
|
className: "w-full rounded-lg p-16",
|
|
370
539
|
sx: {
|
|
371
|
-
...
|
|
372
|
-
backgroundColor:
|
|
373
|
-
border: `1px solid ${
|
|
540
|
+
...ae,
|
|
541
|
+
backgroundColor: t,
|
|
542
|
+
border: `1px solid ${P}`
|
|
374
543
|
},
|
|
375
544
|
children: /* @__PURE__ */ e(
|
|
376
|
-
|
|
545
|
+
De,
|
|
377
546
|
{
|
|
378
547
|
title: "제목",
|
|
379
|
-
centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e(
|
|
548
|
+
centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(
|
|
380
549
|
v,
|
|
381
550
|
{
|
|
382
|
-
sx:
|
|
383
|
-
|
|
384
|
-
|
|
551
|
+
sx: z(
|
|
552
|
+
x,
|
|
553
|
+
p
|
|
385
554
|
),
|
|
386
555
|
children: /* @__PURE__ */ e(
|
|
387
|
-
|
|
556
|
+
E,
|
|
388
557
|
{
|
|
389
558
|
canUseTreeGridStyle: !1,
|
|
390
559
|
cellSx: [
|
|
391
|
-
...Array.isArray(
|
|
560
|
+
...Array.isArray(u) ? u : u ? [u] : [],
|
|
392
561
|
{ py: 0.5, textAlign: "center" }
|
|
393
562
|
],
|
|
394
|
-
data:
|
|
563
|
+
data: ke,
|
|
395
564
|
layout: [[{ title: "상태", key: "previewValue" }]],
|
|
396
565
|
titleSx: [
|
|
397
|
-
...Array.isArray(
|
|
566
|
+
...Array.isArray(b) ? b : b ? [b] : [],
|
|
398
567
|
{ py: 0.5, textAlign: "center" }
|
|
399
568
|
],
|
|
400
569
|
titleWidth: 92
|
|
401
570
|
},
|
|
402
|
-
`search-header-field-table-${
|
|
571
|
+
`search-header-field-table-${S}`
|
|
403
572
|
)
|
|
404
573
|
}
|
|
405
|
-
) }),
|
|
406
|
-
actions: /* @__PURE__ */
|
|
407
|
-
/* @__PURE__ */ e(
|
|
408
|
-
/* @__PURE__ */ e(
|
|
409
|
-
/* @__PURE__ */ e(
|
|
410
|
-
/* @__PURE__ */ e(
|
|
574
|
+
) }) }),
|
|
575
|
+
actions: /* @__PURE__ */ l("div", { className: "flex flex-wrap gap-8", children: [
|
|
576
|
+
/* @__PURE__ */ e(R, { color: "info", size: "small", variant: "contained", children: "추가" }),
|
|
577
|
+
/* @__PURE__ */ e(R, { color: "warning", size: "small", variant: "contained", children: "수정" }),
|
|
578
|
+
/* @__PURE__ */ e(R, { color: "error", size: "small", variant: "contained", children: "삭제" }),
|
|
579
|
+
/* @__PURE__ */ e(R, { color: "success", size: "small", variant: "contained", children: "다운로드" })
|
|
411
580
|
] }),
|
|
412
|
-
children: /* @__PURE__ */
|
|
413
|
-
|
|
414
|
-
/* @__PURE__ */ e(
|
|
415
|
-
|
|
581
|
+
children: /* @__PURE__ */ l("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [
|
|
582
|
+
i,
|
|
583
|
+
/* @__PURE__ */ e(
|
|
584
|
+
V,
|
|
416
585
|
{
|
|
417
|
-
className: "
|
|
418
|
-
|
|
419
|
-
children:
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
586
|
+
className: w ? "shrink-0" : "min-h-0 flex-1",
|
|
587
|
+
title: "섹션 제목",
|
|
588
|
+
children: /* @__PURE__ */ e(
|
|
589
|
+
"div",
|
|
590
|
+
{
|
|
591
|
+
className: "flex min-h-0 flex-1 flex-col pt-12",
|
|
592
|
+
style: { borderTop: `1px solid ${P}` },
|
|
593
|
+
children: /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(
|
|
594
|
+
v,
|
|
595
|
+
{
|
|
596
|
+
sx: z(
|
|
597
|
+
x,
|
|
598
|
+
p
|
|
599
|
+
),
|
|
600
|
+
children: /* @__PURE__ */ e(
|
|
601
|
+
E,
|
|
602
|
+
{
|
|
603
|
+
canUseTreeGridStyle: !0,
|
|
604
|
+
cellSx: F(x),
|
|
605
|
+
data: le,
|
|
606
|
+
layout: ee,
|
|
607
|
+
titleWidth: 108
|
|
608
|
+
},
|
|
609
|
+
`search-header-content-field-table-${S}`
|
|
610
|
+
)
|
|
611
|
+
}
|
|
612
|
+
) })
|
|
613
|
+
}
|
|
614
|
+
)
|
|
424
615
|
}
|
|
425
|
-
)
|
|
616
|
+
),
|
|
617
|
+
w ? /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [0, 1].map((C) => /* @__PURE__ */ e(
|
|
618
|
+
V,
|
|
619
|
+
{
|
|
620
|
+
className: "min-h-0 flex-1",
|
|
621
|
+
title: "섹션 제목",
|
|
622
|
+
children: /* @__PURE__ */ l(
|
|
623
|
+
"div",
|
|
624
|
+
{
|
|
625
|
+
className: "flex min-h-0 flex-1 flex-col gap-10 pt-12",
|
|
626
|
+
style: { borderTop: `1px solid ${P}` },
|
|
627
|
+
children: [
|
|
628
|
+
/* @__PURE__ */ e(
|
|
629
|
+
O,
|
|
630
|
+
{
|
|
631
|
+
animation: !1,
|
|
632
|
+
height: 16,
|
|
633
|
+
variant: "rounded",
|
|
634
|
+
width: "100%"
|
|
635
|
+
}
|
|
636
|
+
),
|
|
637
|
+
/* @__PURE__ */ e(
|
|
638
|
+
O,
|
|
639
|
+
{
|
|
640
|
+
animation: !1,
|
|
641
|
+
height: 16,
|
|
642
|
+
variant: "rounded",
|
|
643
|
+
width: "78%"
|
|
644
|
+
}
|
|
645
|
+
),
|
|
646
|
+
/* @__PURE__ */ e(
|
|
647
|
+
O,
|
|
648
|
+
{
|
|
649
|
+
animation: !1,
|
|
650
|
+
className: "flex-1",
|
|
651
|
+
variant: "rounded",
|
|
652
|
+
width: "100%"
|
|
653
|
+
}
|
|
654
|
+
)
|
|
655
|
+
]
|
|
656
|
+
}
|
|
657
|
+
)
|
|
658
|
+
},
|
|
659
|
+
`search-header-skeleton-section-${C}`
|
|
660
|
+
)) }) : null
|
|
426
661
|
] })
|
|
427
662
|
}
|
|
428
663
|
)
|
|
@@ -432,21 +667,21 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
432
667
|
}
|
|
433
668
|
) })
|
|
434
669
|
},
|
|
435
|
-
`search-header-${
|
|
670
|
+
`search-header-${h}`
|
|
436
671
|
) });
|
|
437
|
-
}, "ThemePreviewSearchHeaderSection2")),
|
|
438
|
-
editableThemePreviewGridId:
|
|
439
|
-
mainGridChangedBackgroundColor:
|
|
440
|
-
mainThemePreviewStoreKey:
|
|
441
|
-
mainThemePreviewStoreState:
|
|
442
|
-
previewSectionCardSx:
|
|
443
|
-
readonlyThemePreviewGridId:
|
|
672
|
+
}, "ThemePreviewSearchHeaderSection2")), hl = N(/* @__PURE__ */ d(function({
|
|
673
|
+
editableThemePreviewGridId: r,
|
|
674
|
+
mainGridChangedBackgroundColor: i,
|
|
675
|
+
mainThemePreviewStoreKey: a,
|
|
676
|
+
mainThemePreviewStoreState: t,
|
|
677
|
+
previewSectionCardSx: n,
|
|
678
|
+
readonlyThemePreviewGridId: m
|
|
444
679
|
}) {
|
|
445
|
-
return /* @__PURE__ */ e(
|
|
446
|
-
|
|
680
|
+
return /* @__PURE__ */ e(y, { title: "Grid", sx: n, children: /* @__PURE__ */ e(
|
|
681
|
+
G,
|
|
447
682
|
{
|
|
448
|
-
preloadedState:
|
|
449
|
-
children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */
|
|
683
|
+
preloadedState: t,
|
|
684
|
+
children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ l(
|
|
450
685
|
"div",
|
|
451
686
|
{
|
|
452
687
|
className: "flex min-h-0 flex-col gap-12",
|
|
@@ -454,68 +689,68 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
454
689
|
height: "min(640px, calc(100vh - 360px))"
|
|
455
690
|
},
|
|
456
691
|
children: [
|
|
457
|
-
/* @__PURE__ */
|
|
692
|
+
/* @__PURE__ */ l("div", { className: "grid min-h-0 flex-1 grid-rows-[minmax(0,1fr)_minmax(0,1fr)] gap-12", children: [
|
|
458
693
|
/* @__PURE__ */ e(
|
|
459
|
-
|
|
694
|
+
q,
|
|
460
695
|
{
|
|
461
|
-
data:
|
|
696
|
+
data: Y,
|
|
462
697
|
height: "100%",
|
|
463
|
-
id:
|
|
464
|
-
layoutData:
|
|
465
|
-
onReady: /* @__PURE__ */
|
|
466
|
-
if (!
|
|
698
|
+
id: r,
|
|
699
|
+
layoutData: de,
|
|
700
|
+
onReady: /* @__PURE__ */ d((o) => {
|
|
701
|
+
if (!o)
|
|
467
702
|
return;
|
|
468
|
-
const
|
|
469
|
-
|
|
470
|
-
row:
|
|
703
|
+
const h = o.GetFirst(), p = h ? o.GetNext(h) : null, x = p ? o.GetNext(p) : h;
|
|
704
|
+
h && (o.SelectRow(h, 1), p ? o.Focus(p, "OWP_THEME_PREVIEW.STATUS") : o.Focus(h, "OWP_THEME_PREVIEW.STATUS"), x && (he(r, {
|
|
705
|
+
row: x,
|
|
471
706
|
col: "OWP_THEME_PREVIEW.REMARK",
|
|
472
|
-
backgroundColor:
|
|
473
|
-
}),
|
|
707
|
+
backgroundColor: i
|
|
708
|
+
}), o.RefreshRow(x)));
|
|
474
709
|
}, "handleEditableThemePreviewGridReady")
|
|
475
710
|
},
|
|
476
|
-
|
|
711
|
+
r
|
|
477
712
|
),
|
|
478
713
|
/* @__PURE__ */ e(
|
|
479
|
-
|
|
714
|
+
q,
|
|
480
715
|
{
|
|
481
|
-
data:
|
|
716
|
+
data: Y,
|
|
482
717
|
height: "100%",
|
|
483
|
-
id:
|
|
484
|
-
layoutData:
|
|
485
|
-
onReady: /* @__PURE__ */
|
|
486
|
-
if (!
|
|
718
|
+
id: m,
|
|
719
|
+
layoutData: ce,
|
|
720
|
+
onReady: /* @__PURE__ */ d((o) => {
|
|
721
|
+
if (!o)
|
|
487
722
|
return;
|
|
488
|
-
const
|
|
489
|
-
|
|
723
|
+
const h = o.GetFirst();
|
|
724
|
+
h && o.Focus(h, "OWP_THEME_PREVIEW.WORK_DATE");
|
|
490
725
|
}, "handleReadonlyThemePreviewGridReady")
|
|
491
726
|
},
|
|
492
|
-
|
|
727
|
+
m
|
|
493
728
|
)
|
|
494
729
|
] }),
|
|
495
|
-
/* @__PURE__ */
|
|
496
|
-
/* @__PURE__ */
|
|
497
|
-
/* @__PURE__ */ e(
|
|
730
|
+
/* @__PURE__ */ l("div", { className: "grid shrink-0 grid-cols-2 gap-12", children: [
|
|
731
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
|
|
732
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Basic Table (Grid Style)" }),
|
|
498
733
|
/* @__PURE__ */ e(
|
|
499
|
-
|
|
734
|
+
Q,
|
|
500
735
|
{
|
|
501
736
|
canUseTreeGridStyle: !0,
|
|
502
|
-
headers:
|
|
503
|
-
rows:
|
|
737
|
+
headers: re,
|
|
738
|
+
rows: Pe
|
|
504
739
|
}
|
|
505
740
|
)
|
|
506
741
|
] }),
|
|
507
|
-
/* @__PURE__ */
|
|
508
|
-
/* @__PURE__ */ e(
|
|
742
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
|
|
743
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table (Grid Style)" }),
|
|
509
744
|
/* @__PURE__ */ e(
|
|
510
|
-
|
|
745
|
+
J,
|
|
511
746
|
{
|
|
512
747
|
canCheckbox: !1,
|
|
513
748
|
canTotalCountRow: !1,
|
|
514
749
|
canUseOrderBy: !1,
|
|
515
750
|
canUseTreeGridStyle: !0,
|
|
516
751
|
fixedRowCount: 1,
|
|
517
|
-
headCells:
|
|
518
|
-
rows:
|
|
752
|
+
headCells: ie,
|
|
753
|
+
rows: We,
|
|
519
754
|
sx: {
|
|
520
755
|
"& .MuiTableBody-root > .MuiTableRow-root, & .MuiTableBody-root > .MuiTableRow-root:hover, & .MuiTableBody-root > .MuiTableRow-root.Mui-selected, & .MuiTableBody-root > .MuiTableRow-root.Mui-selected:hover": {
|
|
521
756
|
backgroundColor: "transparent"
|
|
@@ -532,102 +767,102 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
532
767
|
}
|
|
533
768
|
) })
|
|
534
769
|
},
|
|
535
|
-
`grid-preview-${
|
|
770
|
+
`grid-preview-${a}`
|
|
536
771
|
) });
|
|
537
|
-
}, "ThemePreviewGridSection2")),
|
|
538
|
-
mainThemePreviewStoreState:
|
|
539
|
-
previewSectionCardSx:
|
|
540
|
-
tablePreviewCanTableRadiusZero:
|
|
541
|
-
tableTheme:
|
|
542
|
-
tableThemePreviewVersionKey:
|
|
772
|
+
}, "ThemePreviewGridSection2")), ml = N(/* @__PURE__ */ d(function({
|
|
773
|
+
mainThemePreviewStoreState: r,
|
|
774
|
+
previewSectionCardSx: i,
|
|
775
|
+
tablePreviewCanTableRadiusZero: a,
|
|
776
|
+
tableTheme: t,
|
|
777
|
+
tableThemePreviewVersionKey: n
|
|
543
778
|
}) {
|
|
544
|
-
return /* @__PURE__ */ e(
|
|
545
|
-
|
|
779
|
+
return /* @__PURE__ */ e(y, { title: "Tables", sx: i, children: /* @__PURE__ */ e(
|
|
780
|
+
G,
|
|
546
781
|
{
|
|
547
|
-
preloadedState:
|
|
548
|
-
children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */
|
|
549
|
-
/* @__PURE__ */
|
|
550
|
-
/* @__PURE__ */ e(
|
|
551
|
-
/* @__PURE__ */ e(v, { sx:
|
|
552
|
-
|
|
782
|
+
preloadedState: r,
|
|
783
|
+
children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-14", children: [
|
|
784
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
|
|
785
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Field Table" }),
|
|
786
|
+
/* @__PURE__ */ e($, { children: /* @__PURE__ */ e(v, { sx: z(t, a), children: /* @__PURE__ */ e(
|
|
787
|
+
E,
|
|
553
788
|
{
|
|
554
789
|
canUseTreeGridStyle: !1,
|
|
555
|
-
cellSx:
|
|
556
|
-
data:
|
|
557
|
-
layout:
|
|
558
|
-
titleSx:
|
|
790
|
+
cellSx: F(t),
|
|
791
|
+
data: le,
|
|
792
|
+
layout: ee,
|
|
793
|
+
titleSx: Z(t),
|
|
559
794
|
titleWidth: 108
|
|
560
795
|
},
|
|
561
|
-
`field-table-${
|
|
562
|
-
) })
|
|
796
|
+
`field-table-${n}`
|
|
797
|
+
) }) })
|
|
563
798
|
] }),
|
|
564
|
-
/* @__PURE__ */
|
|
565
|
-
/* @__PURE__ */ e(
|
|
566
|
-
/* @__PURE__ */ e(v, { sx:
|
|
567
|
-
|
|
799
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
|
|
800
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Table" }),
|
|
801
|
+
/* @__PURE__ */ e($, { children: /* @__PURE__ */ e(v, { sx: Ne(t, a), children: /* @__PURE__ */ e(
|
|
802
|
+
Q,
|
|
568
803
|
{
|
|
569
804
|
canUseTreeGridStyle: !1,
|
|
570
|
-
headers:
|
|
571
|
-
rows:
|
|
805
|
+
headers: re,
|
|
806
|
+
rows: Ce
|
|
572
807
|
},
|
|
573
|
-
`basic-table-${
|
|
574
|
-
) })
|
|
808
|
+
`basic-table-${n}`
|
|
809
|
+
) }) })
|
|
575
810
|
] }),
|
|
576
|
-
/* @__PURE__ */
|
|
577
|
-
/* @__PURE__ */ e(
|
|
578
|
-
/* @__PURE__ */ e(v, { sx:
|
|
579
|
-
|
|
811
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
|
|
812
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table" }),
|
|
813
|
+
/* @__PURE__ */ e(v, { sx: Re(t, a), children: /* @__PURE__ */ e(
|
|
814
|
+
J,
|
|
580
815
|
{
|
|
581
816
|
canCheckbox: !1,
|
|
582
|
-
canTableRadiusZero:
|
|
817
|
+
canTableRadiusZero: a,
|
|
583
818
|
canTotalCountRow: !1,
|
|
584
819
|
canUseOrderBy: !1,
|
|
585
820
|
canUseTreeGridStyle: !1,
|
|
586
821
|
fixedRowCount: 2,
|
|
587
|
-
headCells:
|
|
588
|
-
rows:
|
|
589
|
-
selected:
|
|
822
|
+
headCells: ie,
|
|
823
|
+
rows: X,
|
|
824
|
+
selected: X.slice(0, 1)
|
|
590
825
|
},
|
|
591
|
-
`data-table-${
|
|
826
|
+
`data-table-${n}`
|
|
592
827
|
) })
|
|
593
828
|
] })
|
|
594
829
|
] }) })
|
|
595
830
|
},
|
|
596
|
-
`table-preview-${
|
|
831
|
+
`table-preview-${n}`
|
|
597
832
|
) });
|
|
598
|
-
}, "ThemePreviewTablesSection2")),
|
|
599
|
-
gridBodyBorder:
|
|
600
|
-
layoutPreviewGridCellBackground:
|
|
601
|
-
layoutPreviewGridCellFontSize:
|
|
602
|
-
layoutPreviewGridHeaderBackground:
|
|
603
|
-
layoutPreviewGridHeaderBorder:
|
|
604
|
-
layoutPreviewGridHeaderColor:
|
|
605
|
-
layoutPreviewGridHeaderFontSize:
|
|
833
|
+
}, "ThemePreviewTablesSection2")), xl = N(/* @__PURE__ */ d(function({
|
|
834
|
+
gridBodyBorder: r,
|
|
835
|
+
layoutPreviewGridCellBackground: i,
|
|
836
|
+
layoutPreviewGridCellFontSize: a,
|
|
837
|
+
layoutPreviewGridHeaderBackground: t,
|
|
838
|
+
layoutPreviewGridHeaderBorder: n,
|
|
839
|
+
layoutPreviewGridHeaderColor: m,
|
|
840
|
+
layoutPreviewGridHeaderFontSize: g
|
|
606
841
|
}) {
|
|
607
842
|
return /* @__PURE__ */ e(
|
|
608
843
|
"div",
|
|
609
844
|
{
|
|
610
845
|
className: "overflow-hidden border border-solid",
|
|
611
846
|
style: {
|
|
612
|
-
borderColor:
|
|
847
|
+
borderColor: P
|
|
613
848
|
},
|
|
614
|
-
children: /* @__PURE__ */
|
|
615
|
-
|
|
849
|
+
children: /* @__PURE__ */ l(
|
|
850
|
+
ve,
|
|
616
851
|
{
|
|
617
852
|
size: "small",
|
|
618
853
|
sx: {
|
|
619
854
|
tableLayout: "fixed"
|
|
620
855
|
},
|
|
621
856
|
children: [
|
|
622
|
-
/* @__PURE__ */ e(
|
|
623
|
-
|
|
857
|
+
/* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e(A, { children: $e.map((f) => /* @__PURE__ */ e(
|
|
858
|
+
H,
|
|
624
859
|
{
|
|
625
860
|
sx: {
|
|
626
|
-
backgroundColor:
|
|
627
|
-
borderBottom: `1px solid ${
|
|
628
|
-
borderRight: `1px solid ${
|
|
629
|
-
color:
|
|
630
|
-
fontSize:
|
|
861
|
+
backgroundColor: t,
|
|
862
|
+
borderBottom: `1px solid ${n}`,
|
|
863
|
+
borderRight: `1px solid ${n}`,
|
|
864
|
+
color: m,
|
|
865
|
+
fontSize: g,
|
|
631
866
|
fontWeight: 500,
|
|
632
867
|
px: 1.25,
|
|
633
868
|
py: 1,
|
|
@@ -636,24 +871,24 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
636
871
|
borderRight: "none"
|
|
637
872
|
}
|
|
638
873
|
},
|
|
639
|
-
children:
|
|
874
|
+
children: f
|
|
640
875
|
},
|
|
641
|
-
|
|
876
|
+
f
|
|
642
877
|
)) }) }),
|
|
643
|
-
/* @__PURE__ */ e(
|
|
644
|
-
|
|
878
|
+
/* @__PURE__ */ e(ue, { children: Ge.map((f) => /* @__PURE__ */ e(
|
|
879
|
+
A,
|
|
645
880
|
{
|
|
646
881
|
sx: {
|
|
647
|
-
backgroundColor:
|
|
882
|
+
backgroundColor: i
|
|
648
883
|
},
|
|
649
|
-
children:
|
|
650
|
-
|
|
884
|
+
children: f.map((o, h) => /* @__PURE__ */ e(
|
|
885
|
+
H,
|
|
651
886
|
{
|
|
652
887
|
sx: {
|
|
653
|
-
borderBottom: `1px solid ${
|
|
654
|
-
borderRight: `1px solid ${
|
|
655
|
-
color:
|
|
656
|
-
fontSize:
|
|
888
|
+
borderBottom: `1px solid ${r}`,
|
|
889
|
+
borderRight: `1px solid ${r}`,
|
|
890
|
+
color: Me,
|
|
891
|
+
fontSize: a,
|
|
657
892
|
px: 1.25,
|
|
658
893
|
py: 1,
|
|
659
894
|
textAlign: "center",
|
|
@@ -661,12 +896,12 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
661
896
|
borderRight: "none"
|
|
662
897
|
}
|
|
663
898
|
},
|
|
664
|
-
children:
|
|
899
|
+
children: o
|
|
665
900
|
},
|
|
666
|
-
`${
|
|
901
|
+
`${o}-${h}`
|
|
667
902
|
))
|
|
668
903
|
},
|
|
669
|
-
|
|
904
|
+
f.join("-")
|
|
670
905
|
)) })
|
|
671
906
|
]
|
|
672
907
|
}
|
|
@@ -675,11 +910,12 @@ const Je = y(/* @__PURE__ */ c(function({
|
|
|
675
910
|
);
|
|
676
911
|
}, "ThemePreviewGridPreviewTable2"));
|
|
677
912
|
export {
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
913
|
+
dl as ThemePreviewButtonsSection,
|
|
914
|
+
nl as ThemePreviewCommonSection,
|
|
915
|
+
xl as ThemePreviewGridPreviewTable,
|
|
916
|
+
hl as ThemePreviewGridSection,
|
|
917
|
+
sl as ThemePreviewSearchHeaderSection,
|
|
918
|
+
cl as ThemePreviewSnackbarsSection,
|
|
919
|
+
ml as ThemePreviewTablesSection
|
|
684
920
|
};
|
|
685
921
|
//# sourceMappingURL=ThemePreviewCanvasSections.js.map
|