@owp/core 2.5.61 → 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.
Files changed (56) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index11.js +2 -2
  3. package/dist/_virtual/index12.js +2 -2
  4. package/dist/_virtual/index13.js +2 -2
  5. package/dist/_virtual/index15.js +2 -2
  6. package/dist/_virtual/index5.js +2 -2
  7. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +301 -284
  8. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  9. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +811 -745
  10. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  11. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +631 -580
  12. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  13. package/dist/constants/gridTheme.js +85 -61
  14. package/dist/constants/gridTheme.js.map +1 -1
  15. package/dist/constants/treeGrid.js +57 -54
  16. package/dist/constants/treeGrid.js.map +1 -1
  17. package/dist/constants.js +50 -47
  18. package/dist/features/themePreview/components/ThemePreviewCanvas.js +124 -123
  19. package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
  20. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +148 -146
  21. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
  22. package/dist/features/themePreview/components/themePreviewCanvas.shared.js +231 -153
  23. package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
  24. package/dist/features/themePreview/configs/grid.js +3 -59
  25. package/dist/features/themePreview/configs/grid.js.map +1 -1
  26. package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js +26 -11
  27. package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js.map +1 -1
  28. package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js +25 -11
  29. package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js.map +1 -1
  30. package/dist/features/themePreview/utils/themePreviewDefinitions.js +26 -8
  31. package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
  32. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  33. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  34. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  35. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  36. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  37. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  38. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  39. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  40. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  41. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  42. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  43. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  44. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  45. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  46. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +9 -1
  47. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +8 -1
  48. package/dist/types/constants/gridTheme.d.ts +24 -0
  49. package/dist/types/constants/treeGrid.d.ts +8 -2
  50. package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +38 -2
  51. package/dist/types/features/themePreview/configs/grid.d.ts +14 -0
  52. package/dist/types/features/themePreview/configs/settings.d.ts +14 -0
  53. package/dist/types/types/OwpGridThemeTypes.d.ts +30 -1
  54. package/dist/utils/treeGridUtil.js +44 -38
  55. package/dist/utils/treeGridUtil.js.map +1 -1
  56. package/package.json +1 -1
@@ -1,52 +1,52 @@
1
- var ne = Object.defineProperty;
2
- var d = (c, i) => ne(c, "name", { value: i, configurable: !0 });
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 de from "../defs/ThemePreviewGridDef.xml.js";
4
+ import se from "../defs/ThemePreviewGridDef.xml.js";
5
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";
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 he } from "../../../constants/treeGrid.js";
10
+ import { TREEGRID_CELL_CHANGED_CLASS as me } from "../../../constants/treeGrid.js";
11
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
- 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 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";
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 Y } from "../../../components/OwpSection/OwpSection.js";
26
- import { owpSettingsStateAtom as Ie } from "../../../store/atoms/owpSettingsAtoms.js";
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 Ue({ state: c }) {
29
- const i = ye(Ie), l = c.owpSettings;
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(Ue, "ThemePreviewStoreStateSync");
34
+ d(Le, "ThemePreviewStoreStateSync");
35
35
  function y({
36
- children: c,
36
+ children: s,
37
37
  fillContentHeight: i = !1,
38
38
  gapClassName: l = "gap-16",
39
- paperClassName: a = _e,
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
- D,
45
+ A,
46
46
  {
47
47
  className: a,
48
48
  sx: {
49
- ...ae,
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
- c
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 M({ children: c }) {
67
- const i = K(), l = Pe(
68
- () => ge(i, {
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(be, { theme: l, children: c });
75
+ return /* @__PURE__ */ e(ye, { theme: l, children: s });
76
76
  }
77
- d(M, "ThemePreviewStaticDividerBoundary");
78
- function te({
79
- buttonPreviewItems: c,
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: c.map(({ label: l, color: a, previewContrastColor: t }) => /* @__PURE__ */ e(
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: c.map(({ label: l, color: a }) => /* @__PURE__ */ e(
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: L(a, 0.52),
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: L(a, 0.08),
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(te, "ThemePreviewButtonsPreviewContent");
128
- const ul = S(/* @__PURE__ */ d(function({
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(B, { children: /* @__PURE__ */ r("div", { className: "grid gap-16 xl:grid-cols-[188px_212px_minmax(0,9fr)_minmax(280px,13fr)]", children: [
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(fe, { color: "primary" }),
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
- U,
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(me, { color: "secondary" }),
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
- U,
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
- k,
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
- k,
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
- k,
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
- te,
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")), vl = S(/* @__PURE__ */ d(function({
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
- te,
267
+ ne,
268
268
  {
269
269
  buttonPreviewItems: i,
270
270
  mainTextSecondary: l
271
271
  }
272
272
  ) });
273
- }, "ThemePreviewButtonsSection2")), wl = S(/* @__PURE__ */ d(function({
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 = K(), s = /* @__PURE__ */ d((p, f, g, b, N, E) => {
286
- const oe = Te(f, {
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
- Se,
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: E
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
- we,
361
+ ge,
362
362
  {
363
363
  "aria-label": "close",
364
- onClick: /* @__PURE__ */ d(() => j(G), "onClick"),
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(z, { fontSize: "small" })
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 && j(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: E }) => /* @__PURE__ */ r(
407
- ve,
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
- s(
411
+ c(
412
412
  p,
413
- E,
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: E
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(z, { sx: { fontSize: 16 } })
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")), gl = S(/* @__PURE__ */ d(function({
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: s,
481
+ tableTheme: c,
482
482
  tableThemePreviewVersionKey: p
483
483
  }) {
484
- const f = _(s), g = Z(s), b = i === "navbar" || i === "toolbar";
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(B, { children: /* @__PURE__ */ r(
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
- D,
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
- se,
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
- ze,
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
- k,
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
- D,
545
+ A,
546
546
  {
547
547
  className: "w-full rounded-lg p-16",
548
548
  sx: {
549
- ...ae,
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(M, { 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: A(
561
- s,
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: Ae,
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
- Y,
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(M, { children: /* @__PURE__ */ e(
602
+ children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(
603
603
  w,
604
604
  {
605
- sx: A(
606
- s,
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: _(s),
614
- data: le,
615
- layout: ee,
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
- Y,
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
- W,
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
- W,
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
- W,
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")), bl = S(/* @__PURE__ */ d(function({
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] = Ce(!1), m = Ne(null), x = /* @__PURE__ */ d(() => {
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 Re(
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(Ue, { state: l }),
699
- /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(
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
- X,
709
+ Y,
710
710
  {
711
- data: q,
711
+ containerClassName: "min-w-0",
712
+ data: X,
712
713
  height: "100%",
713
714
  id: i,
714
- layoutData: de,
715
+ layoutData: se,
715
716
  onReady: /* @__PURE__ */ d((o) => {
716
717
  if (!o)
717
718
  return;
718
- const s = o.GetFirst(), p = s ? o.GetNext(s) : null, f = p ? o.GetNext(p) : s;
719
- if (!s) {
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
- o.SelectRow(s, 1), p ? o.Focus(p, "OWP_THEME_PREVIEW.STATUS") : o.Focus(s, "OWP_THEME_PREVIEW.STATUS"), f && (o.SetAttribute(
724
+ p ? o.Focus(p, B) : o.Focus(c, B), f && (o.SetAttribute(
724
725
  f,
725
- "OWP_THEME_PREVIEW.STATUS",
726
+ je,
726
727
  "Error",
727
728
  "상태 필수 입력",
728
729
  1
729
730
  ), o.SetValue(
730
731
  f,
731
- "OWP_THEME_PREVIEW.REMARKClass",
732
- he
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
- X,
741
+ Y,
741
742
  {
742
- data: q,
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 s = o.GetFirst();
750
- s && o.Focus(s, "OWP_THEME_PREVIEW.WORK_DATE");
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(W, { animation: !1, height: 24, variant: "rounded", width: "100%" }),
762
- /* @__PURE__ */ e(W, { animation: !1, className: "flex-1", variant: "rounded", width: "100%" })
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: re,
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
- J,
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: ie,
790
- rows: De,
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")), yl = S(/* @__PURE__ */ d(function({
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(B, { children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-14", children: [
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(M, { children: /* @__PURE__ */ e(w, { sx: A(t, a), children: /* @__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: _(t),
826
- data: le,
827
- layout: ee,
828
- titleSx: Z(t),
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(M, { children: /* @__PURE__ */ e(w, { sx: Me(t, a), children: /* @__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: re,
841
- rows: Oe
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
- J,
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: ie,
858
- rows: V,
859
- selected: V.slice(0, 1)
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")), Tl = S(/* @__PURE__ */ d(function({
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
- ue,
887
+ ve,
886
888
  {
887
889
  size: "small",
888
890
  sx: {
889
891
  tableLayout: "fixed"
890
892
  },
891
893
  children: [
892
- /* @__PURE__ */ e(xe, { children: /* @__PURE__ */ e(F, { children: Ee.map((x) => /* @__PURE__ */ e(
893
- I,
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(pe, { children: Ge.map((x) => /* @__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
- I,
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
- 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
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