@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.
Files changed (47) hide show
  1. package/dist/_virtual/index16.js +4 -4
  2. package/dist/_virtual/index17.js +4 -4
  3. package/dist/_virtual/index18.js +4 -4
  4. package/dist/_virtual/index19.js +4 -4
  5. package/dist/components/OwpPicker/OwpTimePicker.js +152 -148
  6. package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
  7. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +274 -266
  8. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  9. package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js +68 -38
  10. package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js.map +1 -1
  11. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +743 -688
  12. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  13. package/dist/configs/defaultConfig.js +82 -81
  14. package/dist/configs/defaultConfig.js.map +1 -1
  15. package/dist/constants/input.js +6 -0
  16. package/dist/constants/input.js.map +1 -0
  17. package/dist/constants.js +55 -52
  18. package/dist/constants.js.map +1 -1
  19. package/dist/dayjs.js +17 -15
  20. package/dist/dayjs.js.map +1 -1
  21. package/dist/features/themePreview/components/ThemePreviewCanvas.js +247 -251
  22. package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
  23. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +385 -356
  24. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
  25. package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
  26. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
  27. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  28. 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
  29. package/dist/owp-app.css +1 -1
  30. package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.d.ts +2 -1
  31. package/dist/types/constants/index.d.ts +1 -0
  32. package/dist/types/constants/input.d.ts +4 -0
  33. package/dist/types/dayjs.d.ts +0 -2
  34. package/dist/types/features/themePreview/components/ThemePreviewCanvasSections.d.ts +0 -2
  35. package/package.json +1 -1
  36. package/dist/_virtual/en.js +0 -3
  37. package/dist/_virtual/en.js.map +0 -1
  38. package/dist/_virtual/en2.js +0 -5
  39. package/dist/_virtual/en2.js.map +0 -1
  40. package/dist/_virtual/ko.js +0 -3
  41. package/dist/_virtual/ko.js.map +0 -1
  42. package/dist/_virtual/ko2.js +0 -5
  43. package/dist/_virtual/ko2.js.map +0 -1
  44. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/en.js +0 -21
  45. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/en.js.map +0 -1
  46. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/ko.js +0 -28
  47. 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 = (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";
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 O } from "../../../components/OwpTable/OwpFieldTable.js";
8
+ import { OwpFieldTable as $ } from "../../../components/OwpTable/OwpFieldTable.js";
9
9
  import { OwpTable as Q } from "../../../components/OwpTable/OwpTable.js";
10
- import { OwpStoreProvider as $ } from "../../../contexts/OwpStoreProvider.js";
11
- import { highlightTreeGridCellById as he } from "../../../utils/treeGridUtil.js";
12
- import A 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";
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 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 fe, TableRow as F, TableCell as I, TableBody as pe, Table as ue, Typography as c, Box as v, Paper as D, TextField as E, Skeleton as M, Button as R, ButtonBase as ve, CircularProgress as U, LinearProgress as H, 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 { previewChromeBorder as P, gridPreviewColumnLabels as Ne, gridPreviewRows as Ce, gridPreviewBodyText as Re, getThemePreviewFieldTableSx as z, getThemePreviewFieldTableTitleSx as Z, tableFieldPreviewLayout as ee, tableFieldPreviewData as le, getThemePreviewFieldTableCellSx as _, getThemePreviewBasicTableSx as Pe, tablePreviewRows as We, tablePreviewHeaders as re, getThemePreviewDataTableSx as ke, dataTablePreviewRows as V, dataTablePreviewHeadCells as ie, gridCanvasPreviewRows as X, gridStyledTablePreviewRows as Ee, gridStyledDataTablePreviewRows as Be, previewNoop as T, previewInnerCardSx as ae, searchHeaderPreviewData as $e, previewSectionCardClassName as Ge } from "./themePreviewCanvas.shared.js";
20
- import { OwpStyleProvider as G } from "../../../components/OwpStyleProvider/OwpStyleProvider.js";
21
- import { OwpTreeGrid as Y } from "../../../components/OwpTreeGrid/OwpTreeGrid.js";
22
- import { OwpYesNoSelector as Me } from "../../../components/OwpYesNoSelector/OwpYesNoSelector.js";
23
- import { OwpPageContent as Oe } from "../../../components/OwpPageContent/OwpPageContent.js";
24
- import { OwpSection as q } from "../../../components/OwpSection/OwpSection.js";
25
- import { OwpSearchFilter as De } from "../../../components/OwpSearchFilter/OwpSearchFilter.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";
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: s,
28
- fillContentHeight: r = !1,
29
- gapClassName: i = "gap-16",
30
- paperClassName: a = Ge,
31
- sx: o,
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 x = n != null && n !== "";
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
- ...o
50
+ ...t
42
51
  },
43
- children: /* @__PURE__ */ l(
52
+ children: /* @__PURE__ */ r(
44
53
  "div",
45
54
  {
46
- className: `flex flex-col ${x ? i : ""} ${r ? "min-h-0 flex-1" : ""}`,
55
+ className: `flex flex-col ${u ? l : ""} ${i ? "min-h-0 flex-1" : ""}`,
47
56
  children: [
48
- x ? /* @__PURE__ */ e(c, { variant: "subtitle1", fontWeight: 700, children: n }) : null,
49
- s
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 B({ children: s }) {
58
- const r = K(), i = Se(
59
- () => be(r, {
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
- [r]
73
+ [i]
65
74
  );
66
- return /* @__PURE__ */ e(we, { theme: i, children: s });
75
+ return /* @__PURE__ */ e(be, { theme: l, children: c });
67
76
  }
68
- d(B, "ThemePreviewStaticDividerBoundary");
77
+ d(M, "ThemePreviewStaticDividerBoundary");
69
78
  function te({
70
- buttonPreviewItems: s,
71
- mainTextSecondary: r
79
+ buttonPreviewItems: c,
80
+ mainTextSecondary: i
72
81
  }) {
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: o }) => /* @__PURE__ */ e(
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: o,
92
+ color: t,
84
93
  minWidth: 72,
85
94
  px: 1.5,
86
95
  py: 0.625
87
96
  },
88
- children: i
97
+ children: l
89
98
  },
90
- `contained-${i}`
99
+ `contained-${l}`
91
100
  )) })
92
101
  ] }),
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(
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: j(a, 0.52),
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: j(a, 0.08),
116
+ backgroundColor: L(a, 0.08),
108
117
  borderColor: a
109
118
  }
110
119
  },
111
- children: i
120
+ children: l
112
121
  },
113
- `outlined-${i}`
122
+ `outlined-${l}`
114
123
  )) })
115
124
  ] })
116
125
  ] });
117
126
  }
118
127
  d(te, "ThemePreviewButtonsPreviewContent");
119
- const nl = N(/* @__PURE__ */ d(function({
120
- buttonPreviewItems: r,
121
- mainTextSecondary: i,
128
+ const ul = S(/* @__PURE__ */ d(function({
129
+ buttonPreviewItems: i,
130
+ mainTextSecondary: l,
122
131
  mainThemePreviewStoreState: a,
123
- previewSectionCardSx: o
132
+ previewSectionCardSx: t
124
133
  }) {
125
- return /* @__PURE__ */ e($, { preloadedState: a, children: /* @__PURE__ */ e(G, { children: /* @__PURE__ */ l("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(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
- ...o,
140
+ ...t,
132
141
  minWidth: 0
133
142
  },
134
143
  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" })
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(U, { color: "primary", size: 18, thickness: 5 })
150
+ /* @__PURE__ */ e(H, { color: "primary", size: 18, thickness: 5 })
142
151
  ] }),
143
152
  /* @__PURE__ */ e(
144
- H,
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__ */ l("div", { className: "flex items-center justify-between gap-12", children: [
153
- /* @__PURE__ */ l("div", { className: "flex items-center gap-8", children: [
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(c, { variant: "body2", color: "secondary.main", fontWeight: 600, children: "secondary" })
164
+ /* @__PURE__ */ e(h, { variant: "body2", color: "secondary.main", fontWeight: 600, children: "secondary" })
156
165
  ] }),
157
- /* @__PURE__ */ e(U, { color: "secondary", size: 18, thickness: 5 })
166
+ /* @__PURE__ */ e(H, { color: "secondary", size: 18, thickness: 5 })
158
167
  ] }),
159
168
  /* @__PURE__ */ e(
160
- H,
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
- ...o,
185
+ ...t,
177
186
  minWidth: 0
178
187
  },
179
188
  title: "Inputs",
180
- children: /* @__PURE__ */ l("div", { className: "grid gap-12", children: [
189
+ children: /* @__PURE__ */ r("div", { className: "grid gap-12", children: [
181
190
  /* @__PURE__ */ e(
182
- E,
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
- E,
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
- E,
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
- ...o,
230
+ ...t,
222
231
  minWidth: 0
223
232
  },
224
233
  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 비활성 텍스트" })
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
- ...o,
247
+ ...t,
239
248
  minWidth: 0
240
249
  },
241
250
  title: "Buttons",
242
251
  children: /* @__PURE__ */ e(
243
252
  te,
244
253
  {
245
- buttonPreviewItems: r,
246
- mainTextSecondary: i
254
+ buttonPreviewItems: i,
255
+ mainTextSecondary: l
247
256
  }
248
257
  )
249
258
  }
250
259
  )
251
260
  ] }) }) });
252
- }, "ThemePreviewCommonSection2")), dl = N(/* @__PURE__ */ d(function({
253
- buttonPreviewItems: r,
254
- mainTextSecondary: i,
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: r,
261
- mainTextSecondary: i
269
+ buttonPreviewItems: i,
270
+ mainTextSecondary: l
262
271
  }
263
272
  ) });
264
- }, "ThemePreviewButtonsSection2")), cl = N(/* @__PURE__ */ d(function({
265
- previewSectionCardSx: r,
266
- previewSnackbarKeysRef: i,
273
+ }, "ThemePreviewButtonsSection2")), wl = S(/* @__PURE__ */ d(function({
274
+ previewSectionCardSx: i,
275
+ previewSnackbarKeysRef: l,
267
276
  snackbarAnchorOrigin: a,
268
- snackbarAutoHideDuration: o,
277
+ snackbarAutoHideDuration: t,
269
278
  snackbarPreviewAnchorHorizontal: n,
270
- snackbarPreviewAnchorVertical: x,
271
- snackbarPreviewFontSize: g,
272
- snackbarPreviewItems: f,
273
- snackbarPreviewLineHeight: t,
274
- snackbarPreviewMaxSnack: h
279
+ snackbarPreviewAnchorVertical: u,
280
+ snackbarPreviewFontSize: m,
281
+ snackbarPreviewItems: x,
282
+ snackbarPreviewLineHeight: v,
283
+ snackbarPreviewMaxSnack: C
275
284
  }) {
276
- const p = K(), m = /* @__PURE__ */ d((S, u, b, w, C, W) => {
277
- const oe = ye(u, {
285
+ const o = K(), s = /* @__PURE__ */ d((p, f, g, b, N, E) => {
286
+ const oe = Te(f, {
278
287
  anchorOrigin: a,
279
- autoHideDuration: o,
280
- variant: S,
281
- content: /* @__PURE__ */ d((k) => /* @__PURE__ */ e(
282
- Te,
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: b,
287
- borderRadius: `${p.shape.borderRadius}px`,
288
- boxShadow: p.shadows[2],
289
- color: w,
290
- fontSize: g,
291
- lineHeight: t,
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__ */ l(
296
- v,
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__ */ l(
309
- v,
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
- v,
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: W
341
+ children: E
333
342
  }
334
343
  ),
335
344
  /* @__PURE__ */ e(
336
- v,
345
+ w,
337
346
  {
338
347
  sx: {
339
348
  color: "inherit",
340
349
  flex: 1,
341
- fontSize: g,
342
- lineHeight: t,
350
+ fontSize: m,
351
+ lineHeight: v,
343
352
  minWidth: 0
344
353
  },
345
- children: u
354
+ children: f
346
355
  }
347
356
  )
348
357
  ]
349
358
  }
350
359
  ),
351
360
  /* @__PURE__ */ e(
352
- ge,
361
+ we,
353
362
  {
354
363
  "aria-label": "close",
355
- onClick: /* @__PURE__ */ d(() => L(k), "onClick"),
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: C
371
+ backgroundColor: N
363
372
  }
364
373
  },
365
- children: /* @__PURE__ */ e(A, { fontSize: "small" })
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 (i.current.push(oe); i.current.length > h; ) {
375
- const k = i.current.shift();
376
- k && L(k);
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: 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: "스넥바를 클릭하면 실제 동작을 바로 확인할 수 있습니다." }),
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: x === "bottom" ? "flex-end" : "flex-start"
403
+ justifyContent: u === "bottom" ? "flex-end" : "flex-start"
395
404
  },
396
- children: f.map(
397
- ({ key: S, actionHoverColor: u, backgroundColor: b, color: w, icon: C, message: W }) => /* @__PURE__ */ l(
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
- m(
403
- S,
404
- W,
411
+ s(
412
+ p,
413
+ E,
414
+ g,
405
415
  b,
406
- w,
407
- u,
408
- C
416
+ f,
417
+ N
409
418
  );
410
419
  }, "onClick"),
411
420
  style: {
412
- backgroundColor: b,
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: w,
424
+ color: b,
416
425
  width: "min(100%, 360px)"
417
426
  },
418
427
  children: [
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 }),
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
- c,
431
+ h,
423
432
  {
424
433
  variant: "body2",
425
434
  className: "truncate",
426
435
  sx: {
427
436
  color: "inherit",
428
- ...g && {
429
- fontSize: g
437
+ ...m && {
438
+ fontSize: m
430
439
  },
431
- ...t && {
432
- lineHeight: t
440
+ ...v && {
441
+ lineHeight: v
433
442
  }
434
443
  },
435
- children: W
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: u,
445
- color: w
453
+ backgroundColor: f,
454
+ color: b
446
455
  },
447
- children: /* @__PURE__ */ e(A, { sx: { fontSize: 16 } })
456
+ children: /* @__PURE__ */ e(z, { sx: { fontSize: 16 } })
448
457
  }
449
458
  )
450
459
  ]
451
460
  },
452
- S
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")), sl = N(/* @__PURE__ */ d(function({
461
- activeSection: r,
462
- gridPreviewTable: i,
469
+ }, "ThemePreviewSnackbarsSection2")), gl = S(/* @__PURE__ */ d(function({
470
+ activeSection: i,
471
+ gridPreviewTable: l,
463
472
  mainBackground: a,
464
- mainPaper: o,
473
+ mainPaper: t,
465
474
  mainText: n,
466
- mainThemePreviewStoreState: x,
467
- previewSectionCardSx: g,
468
- searchHeaderPreviewDate: f,
469
- searchHeaderPreviewNumber: t,
470
- searchHeaderPreviewVersionKey: h,
471
- tablePreviewCanTableRadiusZero: p,
472
- tableTheme: m,
473
- tableThemePreviewVersionKey: S
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 u = _(m), b = Z(m), w = r === "navbar" || r === "toolbar";
476
- return /* @__PURE__ */ e(y, { paperClassName: "overflow-hidden rounded-lg p-0", sx: g, children: /* @__PURE__ */ e(
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: x,
480
- children: /* @__PURE__ */ e(G, { children: /* @__PURE__ */ l(
481
- v,
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__ */ l(De, { onSubmit: T, onReset: T, children: [
512
+ children: /* @__PURE__ */ r(He, { onSubmit: T, onReset: T, children: [
504
513
  /* @__PURE__ */ e(
505
514
  se,
506
515
  {
507
516
  label: "작업일자",
508
- value: f,
517
+ value: x,
509
518
  variant: "standard",
510
519
  onChange: T
511
520
  }
512
521
  ),
513
522
  /* @__PURE__ */ e(
514
- Me,
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
- E,
533
+ k,
525
534
  {
526
535
  label: "번호",
527
536
  variant: "standard",
528
- value: t,
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: o,
550
+ backgroundColor: t,
542
551
  border: `1px solid ${P}`
543
552
  },
544
553
  children: /* @__PURE__ */ e(
545
- Oe,
554
+ Fe,
546
555
  {
547
556
  title: "제목",
548
- centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
549
- v,
557
+ centerSlot: /* @__PURE__ */ e("div", { className: "w-[240px]", children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
558
+ w,
550
559
  {
551
- sx: z(
552
- m,
553
- p
560
+ sx: A(
561
+ s,
562
+ o
554
563
  ),
555
564
  children: /* @__PURE__ */ e(
556
- O,
565
+ $,
557
566
  {
558
567
  canUseTreeGridStyle: !1,
559
568
  cellSx: [
560
- ...Array.isArray(u) ? u : u ? [u] : [],
569
+ ...Array.isArray(f) ? f : f ? [f] : [],
561
570
  { py: 0.5, textAlign: "center" }
562
571
  ],
563
- data: $e,
572
+ data: Ae,
564
573
  layout: [[{ title: "상태", key: "previewValue" }]],
565
574
  titleSx: [
566
- ...Array.isArray(b) ? b : b ? [b] : [],
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-${S}`
580
+ `search-header-field-table-${p}`
572
581
  )
573
582
  }
574
583
  ) }) }),
575
- actions: /* @__PURE__ */ l("div", { className: "flex flex-wrap gap-8", children: [
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__ */ l("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [
582
- i,
590
+ children: /* @__PURE__ */ r("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [
591
+ l,
583
592
  /* @__PURE__ */ e(
584
- q,
593
+ Y,
585
594
  {
586
- className: w ? "shrink-0" : "min-h-0 flex-1",
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(B, { children: /* @__PURE__ */ e(
594
- v,
602
+ children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
603
+ w,
595
604
  {
596
- sx: z(
597
- m,
598
- p
605
+ sx: A(
606
+ s,
607
+ o
599
608
  ),
600
609
  children: /* @__PURE__ */ e(
601
- O,
610
+ $,
602
611
  {
603
612
  canUseTreeGridStyle: !0,
604
- cellSx: _(m),
613
+ cellSx: _(s),
605
614
  data: le,
606
615
  layout: ee,
607
616
  titleWidth: 108
608
617
  },
609
- `search-header-content-field-table-${S}`
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
- w ? /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col gap-12", children: [0, 1].map((C) => /* @__PURE__ */ e(
618
- q,
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__ */ l(
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
- M,
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
- M,
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
- M,
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-${C}`
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-${h}`
679
+ `search-header-${C}`
671
680
  ) });
672
- }, "ThemePreviewSearchHeaderSection2")), hl = N(/* @__PURE__ */ d(function({
673
- editableThemePreviewGridId: r,
674
- mainGridChangedBackgroundColor: i,
675
- mainThemePreviewStoreKey: a,
676
- mainThemePreviewStoreState: o,
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
- return /* @__PURE__ */ e(y, { title: "Grid", sx: n, children: /* @__PURE__ */ e(
681
- $,
682
- {
683
- preloadedState: o,
684
- children: /* @__PURE__ */ e(G, { children: /* @__PURE__ */ l(
685
- "div",
686
- {
687
- className: "flex min-h-0 flex-col gap-12",
688
- style: {
689
- height: "min(640px, calc(100vh - 360px))"
690
- },
691
- children: [
692
- /* @__PURE__ */ l("div", { className: "grid min-h-0 flex-1 grid-rows-[minmax(0,1fr)_minmax(0,1fr)] gap-12", children: [
693
- /* @__PURE__ */ e(
694
- Y,
695
- {
696
- data: X,
697
- height: "100%",
698
- id: r,
699
- layoutData: de,
700
- onReady: /* @__PURE__ */ d((t) => {
701
- if (!t)
702
- return;
703
- const h = t.GetFirst(), p = h ? t.GetNext(h) : null, m = p ? t.GetNext(p) : h;
704
- h && (t.SelectRow(h, 1), p ? t.Focus(p, "OWP_THEME_PREVIEW.STATUS") : t.Focus(h, "OWP_THEME_PREVIEW.STATUS"), m && (t.SetAttribute(
705
- m,
706
- "OWP_THEME_PREVIEW.STATUS",
707
- "Error",
708
- "상태 필수 입력",
709
- 1
710
- ), he(r, {
711
- row: m,
712
- col: "OWP_THEME_PREVIEW.REMARK",
713
- backgroundColor: i
714
- }), t.RefreshRow(m)));
715
- }, "handleEditableThemePreviewGridReady")
716
- },
717
- r
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
- Y,
771
+ Q,
721
772
  {
722
- data: X,
723
- height: "100%",
724
- id: x,
725
- layoutData: ce,
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__ */ l("div", { className: "grid shrink-0 grid-cols-2 gap-12", children: [
737
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
738
- /* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Basic Table (Grid Style)" }),
739
- /* @__PURE__ */ e(
740
- Q,
741
- {
742
- canUseTreeGridStyle: !0,
743
- headers: re,
744
- rows: Ee
745
- }
746
- )
747
- ] }),
748
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
749
- /* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table (Grid Style)" }),
750
- /* @__PURE__ */ e(
751
- J,
752
- {
753
- canCheckbox: !1,
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
- `grid-preview-${a}`
777
- ) });
778
- }, "ThemePreviewGridSection2")), ml = N(/* @__PURE__ */ d(function({
779
- mainThemePreviewStoreState: r,
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: o,
811
+ tableTheme: t,
783
812
  tableThemePreviewVersionKey: n
784
813
  }) {
785
- return /* @__PURE__ */ e(y, { title: "Tables", sx: i, children: /* @__PURE__ */ e(
786
- $,
814
+ return /* @__PURE__ */ e(y, { title: "Tables", sx: l, children: /* @__PURE__ */ e(
815
+ O,
787
816
  {
788
- preloadedState: r,
789
- children: /* @__PURE__ */ e(G, { children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-14", children: [
790
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
791
- /* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Field Table" }),
792
- /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(v, { sx: z(o, a), children: /* @__PURE__ */ e(
793
- O,
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: _(o),
825
+ cellSx: _(t),
797
826
  data: le,
798
827
  layout: ee,
799
- titleSx: Z(o),
828
+ titleSx: Z(t),
800
829
  titleWidth: 108
801
830
  },
802
831
  `field-table-${n}`
803
832
  ) }) })
804
833
  ] }),
805
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
806
- /* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Table" }),
807
- /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(v, { sx: Pe(o, a), children: /* @__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: We
841
+ rows: Oe
813
842
  },
814
843
  `basic-table-${n}`
815
844
  ) }) })
816
845
  ] }),
817
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-8", children: [
818
- /* @__PURE__ */ e(c, { variant: "body2", color: "text.secondary", fontWeight: 600, children: "Data Table" }),
819
- /* @__PURE__ */ e(v, { sx: ke(o, a), children: /* @__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")), xl = N(/* @__PURE__ */ d(function({
840
- gridBodyBorder: r,
841
- layoutPreviewGridCellBackground: i,
868
+ }, "ThemePreviewTablesSection2")), Tl = S(/* @__PURE__ */ d(function({
869
+ gridBodyBorder: i,
870
+ layoutPreviewGridCellBackground: l,
842
871
  layoutPreviewGridCellFontSize: a,
843
- layoutPreviewGridHeaderBackground: o,
872
+ layoutPreviewGridHeaderBackground: t,
844
873
  layoutPreviewGridHeaderBorder: n,
845
- layoutPreviewGridHeaderColor: x,
846
- layoutPreviewGridHeaderFontSize: g
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__ */ l(
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(fe, { children: /* @__PURE__ */ e(F, { children: Ne.map((f) => /* @__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: o,
896
+ backgroundColor: t,
868
897
  borderBottom: `1px solid ${n}`,
869
898
  borderRight: `1px solid ${n}`,
870
- color: x,
871
- fontSize: g,
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: f
909
+ children: x
881
910
  },
882
- f
911
+ x
883
912
  )) }) }),
884
- /* @__PURE__ */ e(pe, { children: Ce.map((f) => /* @__PURE__ */ e(
913
+ /* @__PURE__ */ e(pe, { children: Ge.map((x) => /* @__PURE__ */ e(
885
914
  F,
886
915
  {
887
916
  sx: {
888
- backgroundColor: i
917
+ backgroundColor: l
889
918
  },
890
- children: f.map((t, h) => /* @__PURE__ */ e(
919
+ children: x.map((v, C) => /* @__PURE__ */ e(
891
920
  I,
892
921
  {
893
922
  sx: {
894
- borderBottom: `1px solid ${r}`,
895
- borderRight: `1px solid ${r}`,
896
- color: Re,
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: t
934
+ children: v
906
935
  },
907
- `${t}-${h}`
936
+ `${v}-${C}`
908
937
  ))
909
938
  },
910
- f.join("-")
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
- dl as ThemePreviewButtonsSection,
920
- nl as ThemePreviewCommonSection,
921
- xl as ThemePreviewGridPreviewTable,
922
- hl as ThemePreviewGridSection,
923
- sl as ThemePreviewSearchHeaderSection,
924
- cl as ThemePreviewSnackbarsSection,
925
- ml as ThemePreviewTablesSection
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