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