@owp/core 2.5.53 → 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 (63) hide show
  1. package/dist/components/OwpPicker/OwpTimePicker.js +223 -208
  2. package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
  3. package/dist/components/OwpPicker/internal/DatePickerInput.js +56 -55
  4. package/dist/components/OwpPicker/internal/DatePickerInput.js.map +1 -1
  5. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +283 -273
  6. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  7. package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js +68 -38
  8. package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js.map +1 -1
  9. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +189 -187
  10. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
  11. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +1195 -1061
  12. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  13. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +207 -182
  14. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  15. package/dist/configs/defaultConfig.js +82 -81
  16. package/dist/configs/defaultConfig.js.map +1 -1
  17. package/dist/constants/gridTheme.js +37 -36
  18. package/dist/constants/gridTheme.js.map +1 -1
  19. package/dist/constants/input.js +6 -0
  20. package/dist/constants/input.js.map +1 -0
  21. package/dist/constants/treeGrid.js +69 -49
  22. package/dist/constants/treeGrid.js.map +1 -1
  23. package/dist/constants.js +57 -34
  24. package/dist/constants.js.map +1 -1
  25. package/dist/dayjs.js +17 -15
  26. package/dist/dayjs.js.map +1 -1
  27. package/dist/features/themePreview/components/ThemePreviewCanvas.js +247 -251
  28. package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
  29. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +385 -356
  30. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
  31. package/dist/features/themePreview/configs/grid.js +26 -24
  32. package/dist/features/themePreview/configs/grid.js.map +1 -1
  33. package/dist/features/themePreview/utils/themePreviewDefinitions.js +4 -0
  34. package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
  35. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.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/ITF/constants.js +1 -1
  38. package/dist/owp-app.css +1 -1
  39. package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.d.ts +2 -1
  40. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +5 -1
  41. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -1
  42. package/dist/types/constants/gridTheme.d.ts +2 -0
  43. package/dist/types/constants/index.d.ts +1 -0
  44. package/dist/types/constants/input.d.ts +4 -0
  45. package/dist/types/constants/treeGrid.d.ts +40 -0
  46. package/dist/types/dayjs.d.ts +0 -2
  47. package/dist/types/features/themePreview/components/ThemePreviewCanvasSections.d.ts +0 -2
  48. package/dist/types/features/themePreview/configs/grid.d.ts +1 -0
  49. package/dist/types/features/themePreview/configs/settings.d.ts +1 -0
  50. package/dist/types/types/OwpGridThemeTypes.d.ts +2 -0
  51. package/package.json +1 -1
  52. package/dist/_virtual/en.js +0 -3
  53. package/dist/_virtual/en.js.map +0 -1
  54. package/dist/_virtual/en2.js +0 -5
  55. package/dist/_virtual/en2.js.map +0 -1
  56. package/dist/_virtual/ko.js +0 -3
  57. package/dist/_virtual/ko.js.map +0 -1
  58. package/dist/_virtual/ko2.js +0 -5
  59. package/dist/_virtual/ko2.js.map +0 -1
  60. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/en.js +0 -21
  61. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/en.js.map +0 -1
  62. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/ko.js +0 -28
  63. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/ko.js.map +0 -1
@@ -1,52 +1,52 @@
1
- var Qe = Object.defineProperty;
2
- var W = (w, O) => Qe(w, "name", { value: O, configurable: !0 });
3
- import { jsx as r, jsxs as i } 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 { defaultSnackbarTheme as Xe, defaultSnackbarProviderProps as A, snackbarVariantKeys as er } from "../configs/snackbar.js";
5
- import { defaultTableTheme as rr } from "../configs/table.js";
6
- import or 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/KeyboardArrowUpRounded.js";
7
- import ar 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/MenuRounded.js";
8
- import Se 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/NavigateNext.js";
9
- import nr 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";
10
- import tr 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";
11
- import { Typography as l, ButtonBase as cr, CircularProgress as ir } from "@mui/material";
12
- import { alpha as n, darken as lr } from "@mui/material/styles";
13
- import { owpDayjs as dr } from "../../../dayjs.js";
14
- import { closeSnackbar as sr } from "notistack";
15
- import { useRef as mr, useDeferredValue as br, useMemo as t, useEffect as vr, Fragment as hr } from "react";
16
- import { getPaletteValue as a, previewChromeBorder as D, getPreviewContrastColor as Ce, createThemePreviewVersionKey as p, gridPreviewBodyBackground as ur, gridPreviewBodyText as fr, getThemePreviewStyleValue as Te, snackbarPreviewMessageByVariant as pr, getPreviewSectionOrder as xr, navbarPreviewItems as kr, themePreviewReadonlyTreeGridId as wr, themePreviewEditableTreeGridId as gr } from "./themePreviewCanvas.shared.js";
17
- import { ThemePreviewGridPreviewTable as yr, ThemePreviewTablesSection as Pr, ThemePreviewGridSection as Sr, ThemePreviewSearchHeaderSection as Cr, ThemePreviewSnackbarsSection as Tr, ThemePreviewButtonsSection as Br, ThemePreviewCommonSection as Nr } from "./ThemePreviewCanvasSections.js";
18
- import { snackbarPreviewIconByVariant as Hr } from "./themePreviewCanvas.icons.js";
19
- import { merge as Be } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/merge.js";
20
- const $r = "#ff4d2d", zr = "rgba(255, 77, 45, 0.14)";
21
- function qr({
22
- activeSection: w,
23
- isLoading: O = !1,
1
+ var Ze = Object.defineProperty;
2
+ var z = (k, W) => Ze(k, "name", { value: W, configurable: !0 });
3
+ import { jsx as r, jsxs as c } 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 { defaultSnackbarTheme as qe, defaultSnackbarProviderProps as I, snackbarVariantKeys as Je } from "../configs/snackbar.js";
5
+ import { defaultTableTheme as Qe } from "../configs/table.js";
6
+ 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/KeyboardArrowUpRounded.js";
7
+ import er 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/MenuRounded.js";
8
+ import Pe 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/NavigateNext.js";
9
+ import rr 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";
10
+ import or 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";
11
+ import { Typography as i, ButtonBase as ar, CircularProgress as nr } from "@mui/material";
12
+ import { alpha as n, darken as tr } from "@mui/material/styles";
13
+ import { owpDayjs as cr } from "../../../dayjs.js";
14
+ import { closeSnackbar as ir } from "notistack";
15
+ import { useRef as lr, useDeferredValue as dr, useMemo as t, useEffect as sr, Fragment as mr } from "react";
16
+ import { getPaletteValue as a, previewChromeBorder as $, getPreviewContrastColor as Se, createThemePreviewVersionKey as x, gridPreviewBodyBackground as br, gridPreviewBodyText as vr, getThemePreviewStyleValue as Te, snackbarPreviewMessageByVariant as hr, getPreviewSectionOrder as ur, navbarPreviewItems as fr, themePreviewReadonlyTreeGridId as pr, themePreviewEditableTreeGridId as xr } from "./themePreviewCanvas.shared.js";
17
+ import { ThemePreviewGridPreviewTable as kr, ThemePreviewTablesSection as wr, ThemePreviewGridSection as gr, ThemePreviewSearchHeaderSection as yr, ThemePreviewSnackbarsSection as Pr, ThemePreviewButtonsSection as Sr, ThemePreviewCommonSection as Tr } from "./ThemePreviewCanvasSections.js";
18
+ import { snackbarPreviewIconByVariant as Cr } from "./themePreviewCanvas.icons.js";
19
+ import { merge as Ce } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/merge.js";
20
+ const Br = "#ff4d2d", Nr = "rgba(255, 77, 45, 0.14)";
21
+ function _r({
22
+ activeSection: k,
23
+ isLoading: W = !1,
24
24
  settings: e
25
25
  }) {
26
- var ke, we, ge, ye, Pe;
27
- const V = mr([]), s = br(w), Y = !1, U = t(
28
- () => Be(
26
+ var xe, ke, we, ge, ye;
27
+ const A = lr([]), s = dr(k), F = !1, Y = t(
28
+ () => Ce(
29
29
  {},
30
- rr,
30
+ Qe,
31
31
  e.theme.main.table
32
32
  ),
33
33
  [e.theme.main.table]
34
- ), m = e.theme.toolbar.palette.mode, _ = a(e, "toolbar", "background.default"), Ne = a(e, "toolbar", "background.paper"), g = a(e, "toolbar", "text.primary"), He = a(e, "toolbar", "divider"), y = a(e, "toolbar", "common.white"), $e = a(e, "toolbar", "common.black"), L = n(y, m === "dark" ? 0.06 : 0.78), Z = n(y, m === "dark" ? 0.1 : 0.62), q = n(y, m === "dark" ? 0.05 : 0.54), d = e.theme.navbar.palette.mode, j = a(e, "navbar", "background.default"), G = a(e, "navbar", "divider") || D, b = a(e, "navbar", "text.primary"), J = a(e, "navbar", "text.secondary"), u = a(e, "navbar", "secondary.main"), P = a(e, "navbar", "secondary.dark") || u, Q = Ce(
35
- j,
34
+ ), m = e.theme.toolbar.palette.mode, K = a(e, "toolbar", "background.default"), Be = a(e, "toolbar", "background.paper"), w = a(e, "toolbar", "text.primary"), Ne = a(e, "toolbar", "divider"), g = a(e, "toolbar", "common.white"), He = a(e, "toolbar", "common.black"), U = n(g, m === "dark" ? 0.06 : 0.78), _ = n(g, m === "dark" ? 0.1 : 0.62), L = n(g, m === "dark" ? 0.05 : 0.54), l = e.theme.navbar.palette.mode, D = a(e, "navbar", "background.default"), O = a(e, "navbar", "divider") || $, b = a(e, "navbar", "text.primary"), Z = a(e, "navbar", "text.secondary"), h = a(e, "navbar", "secondary.main"), y = a(e, "navbar", "secondary.dark") || h, q = Se(
35
+ D,
36
36
  b || "#111827"
37
- ), ze = n(Q, d === "dark" ? 0.72 : 0.64), X = n(
38
- u,
39
- d === "dark" ? 0.2 : 0.12
40
- ), ee = n(u, d === "dark" ? 0.42 : 0.28), re = n(
41
- P,
42
- d === "dark" ? 0.22 : 0.14
43
- ), oe = n(
44
- P,
45
- d === "dark" ? 0.56 : 0.36
46
- ), ae = u, ne = J || n(b, d === "dark" ? 0.78 : 0.72), Ie = n(u, d === "dark" ? 0.22 : 0.12), We = lr(j, d === "dark" ? 0.08 : 0.05), Ae = J || n(b, d === "dark" ? 0.78 : 0.62), M = a(e, "main", "background.default"), S = a(e, "main", "background.paper"), te = a(e, "main", "text.primary"), ce = a(e, "main", "text.secondary"), C = a(e, "main", "success.main"), ie = a(e, "main", "success.contrastText"), T = a(e, "main", "info.main"), le = a(e, "main", "info.contrastText"), B = a(e, "main", "warning.main"), de = a(e, "main", "warning.contrastText"), N = a(e, "main", "error.main"), se = a(e, "main", "error.contrastText"), v = e.theme.main.grid, H = p(v), $ = p(e.theme.main.table), R = p({
37
+ ), ze = n(q, l === "dark" ? 0.72 : 0.64), J = n(
38
+ h,
39
+ l === "dark" ? 0.2 : 0.12
40
+ ), Q = n(h, l === "dark" ? 0.42 : 0.28), X = n(
41
+ y,
42
+ l === "dark" ? 0.22 : 0.14
43
+ ), ee = n(
44
+ y,
45
+ l === "dark" ? 0.56 : 0.36
46
+ ), re = h, oe = Z || n(b, l === "dark" ? 0.78 : 0.72), Ie = n(h, l === "dark" ? 0.22 : 0.12), $e = tr(D, l === "dark" ? 0.08 : 0.05), We = Z || n(b, l === "dark" ? 0.78 : 0.62), j = a(e, "main", "background.default"), P = a(e, "main", "background.paper"), ae = a(e, "main", "text.primary"), ne = a(e, "main", "text.secondary"), S = a(e, "main", "success.main"), te = a(e, "main", "success.contrastText"), T = a(e, "main", "info.main"), ce = a(e, "main", "info.contrastText"), C = a(e, "main", "warning.main"), ie = a(e, "main", "warning.contrastText"), B = a(e, "main", "error.main"), le = a(e, "main", "error.contrastText"), G = e.theme.main.grid, N = x(e.theme.main.table), V = x({
47
47
  palette: e.theme.main.palette ?? {},
48
48
  table: e.theme.main.table ?? {}
49
- }), De = `${gr}-${H}`, Oe = `${wr}-${H}`, me = "#586980", E = "#ffffff", be = "14px", ve = "13px", he = ((ke = v == null ? void 0 : v.body) == null ? void 0 : ke.backgroundColor) ?? ur, ue = n(E, 0.22), fe = n(fr, 0.14), x = t(
49
+ }), de = "#586980", M = "#ffffff", se = "14px", me = "13px", be = ((xe = G == null ? void 0 : G.body) == null ? void 0 : xe.backgroundColor) ?? br, ve = n(M, 0.22), he = n(vr, 0.14), f = t(
50
50
  () => ({
51
51
  ...e,
52
52
  theme: {
@@ -56,375 +56,371 @@ function qr({
56
56
  }
57
57
  }),
58
58
  [e]
59
- ), z = p(
60
- x.theme.main
61
- ), I = t(
59
+ ), ue = x(
60
+ f.theme.main
61
+ ), H = t(
62
62
  () => ({
63
63
  owpSettings: {
64
- current: x,
65
- defaults: x,
66
- initial: x
64
+ current: f,
65
+ defaults: f,
66
+ initial: f
67
67
  }
68
68
  }),
69
- [x]
70
- ), F = dr().format("YYYY-MM-DD"), Ve = t(
71
- () => `OWP-${F.replace(/-/g, "")}-001`,
72
- [F]
73
- ), f = t(
69
+ [f]
70
+ ), R = cr().format("YYYY-MM-DD"), Ae = t(
71
+ () => `OWP-${R.replace(/-/g, "")}-001`,
72
+ [R]
73
+ ), u = t(
74
74
  () => ({
75
- backgroundColor: S,
76
- border: `1px solid ${D}`
75
+ backgroundColor: P,
76
+ border: `1px solid ${$}`
77
77
  }),
78
- [S]
79
- ), je = s === "navbar" ? "navbar" : s === "toolbar" ? "toolbar" : "main", Ge = O || s !== w, Me = t(
78
+ [P]
79
+ ), De = s === "navbar" ? "navbar" : s === "toolbar" ? "toolbar" : "main", Oe = W || s !== k, je = t(
80
80
  () => ({
81
- backgroundColor: L,
82
- borderColor: Z,
83
- boxShadow: `inset 0 1px 0 ${q}`
81
+ backgroundColor: U,
82
+ borderColor: _,
83
+ boxShadow: `inset 0 1px 0 ${L}`
84
84
  }),
85
- [L, Z, q]
86
- ), Re = t(
85
+ [U, _, L]
86
+ ), Ge = t(
87
87
  () => ({
88
- backgroundColor: X,
89
- borderColor: ee,
90
- color: ae,
88
+ backgroundColor: J,
89
+ borderColor: Q,
90
+ color: re,
91
91
  transition: "background-color 160ms ease, border-color 160ms ease, color 160ms ease",
92
92
  "&:hover, &:focus-visible, &:active": {
93
- backgroundColor: re,
94
- borderColor: oe,
95
- color: P
93
+ backgroundColor: X,
94
+ borderColor: ee,
95
+ color: y
96
96
  }
97
97
  }),
98
98
  [
99
- ae,
100
- P,
101
- X,
102
- ee,
103
99
  re,
104
- oe
100
+ y,
101
+ J,
102
+ Q,
103
+ X,
104
+ ee
105
105
  ]
106
- ), pe = t(
106
+ ), fe = t(
107
107
  () => [
108
- { label: "info", color: T, contrastColor: le },
109
- { label: "warning", color: B, contrastColor: de },
110
- { label: "error", color: N, contrastColor: se },
111
- { label: "success", color: C, contrastColor: ie }
108
+ { label: "info", color: T, contrastColor: ce },
109
+ { label: "warning", color: C, contrastColor: ie },
110
+ { label: "error", color: B, contrastColor: le },
111
+ { label: "success", color: S, contrastColor: te }
112
112
  ].map((o) => ({
113
113
  ...o,
114
- previewContrastColor: o.label === "error" || o.label === "success" ? Ce(o.color, o.contrastColor) : o.contrastColor
114
+ previewContrastColor: o.label === "error" || o.label === "success" ? Se(o.color, o.contrastColor) : o.contrastColor
115
115
  })),
116
116
  [
117
- N,
118
- se,
119
- T,
117
+ B,
120
118
  le,
119
+ T,
120
+ ce,
121
+ S,
122
+ te,
121
123
  C,
122
- ie,
123
- B,
124
- de
124
+ ie
125
125
  ]
126
- ), xe = e.snackbar ?? Xe, h = t(
127
- () => Be({}, A, e.snackbarProviderProps),
126
+ ), pe = e.snackbar ?? qe, v = t(
127
+ () => Ce({}, I, e.snackbarProviderProps),
128
128
  [e.snackbarProviderProps]
129
- ), Ee = ((we = h.anchorOrigin) == null ? void 0 : we.horizontal) ?? A.anchorOrigin.horizontal, Fe = ((ge = h.anchorOrigin) == null ? void 0 : ge.vertical) ?? A.anchorOrigin.vertical, Ke = h.maxSnack ?? A.maxSnack, Ye = Te((ye = h.style) == null ? void 0 : ye.fontSize), Ue = Te(
130
- (Pe = h.style) == null ? void 0 : Pe.lineHeight
131
- ), _e = t(
132
- () => er.map((o) => {
133
- const c = xe[o];
129
+ ), Ve = ((ke = v.anchorOrigin) == null ? void 0 : ke.horizontal) ?? I.anchorOrigin.horizontal, Me = ((we = v.anchorOrigin) == null ? void 0 : we.vertical) ?? I.anchorOrigin.vertical, Re = v.maxSnack ?? I.maxSnack, Ee = Te((ge = v.style) == null ? void 0 : ge.fontSize), Fe = Te(
130
+ (ye = v.style) == null ? void 0 : ye.lineHeight
131
+ ), Ye = t(
132
+ () => Je.map((o) => {
133
+ const d = pe[o];
134
134
  return {
135
135
  actionHoverColor: n(
136
- c.color,
136
+ d.color,
137
137
  o === "default" ? 0.18 : 0.16
138
138
  ),
139
- backgroundColor: c.backgroundColor,
140
- color: c.color,
141
- icon: Hr[o],
139
+ backgroundColor: d.backgroundColor,
140
+ color: d.color,
141
+ icon: Cr[o],
142
142
  key: o,
143
- message: pr[o]
143
+ message: hr[o]
144
144
  };
145
145
  }),
146
- [xe]
147
- ), Le = t(
148
- () => xr(s),
146
+ [pe]
147
+ ), Ke = t(
148
+ () => ur(s),
149
149
  [s]
150
- ), Ze = t(
150
+ ), Ue = t(
151
151
  () => ({
152
- common: z,
153
- buttons: p({
154
- error: N,
152
+ common: ue,
153
+ buttons: x({
154
+ error: B,
155
155
  info: T,
156
- success: C,
157
- warning: B
156
+ success: S,
157
+ warning: C
158
158
  }),
159
- grid: `${z}-${H}`,
160
- searchHeader: R,
161
- snackbars: p({
159
+ grid: "grid",
160
+ searchHeader: V,
161
+ snackbars: x({
162
162
  provider: e.snackbarProviderProps,
163
163
  snackbar: e.snackbar
164
164
  }),
165
- tables: $
165
+ tables: N
166
166
  }),
167
167
  [
168
- H,
169
- N,
168
+ B,
170
169
  T,
170
+ S,
171
+ ue,
171
172
  C,
172
- z,
173
- B,
174
- R,
173
+ V,
175
174
  e.snackbar,
176
175
  e.snackbarProviderProps,
177
- $
176
+ N
178
177
  ]
179
- ), qe = t(
178
+ ), _e = t(
180
179
  () => /* @__PURE__ */ r(
181
- yr,
180
+ kr,
182
181
  {
183
- gridBodyBorder: fe,
184
- layoutPreviewGridCellBackground: he,
185
- layoutPreviewGridCellFontSize: ve,
186
- layoutPreviewGridHeaderBackground: me,
187
- layoutPreviewGridHeaderBorder: ue,
188
- layoutPreviewGridHeaderColor: E,
189
- layoutPreviewGridHeaderFontSize: be
182
+ gridBodyBorder: he,
183
+ layoutPreviewGridCellBackground: be,
184
+ layoutPreviewGridCellFontSize: me,
185
+ layoutPreviewGridHeaderBackground: de,
186
+ layoutPreviewGridHeaderBorder: ve,
187
+ layoutPreviewGridHeaderColor: M,
188
+ layoutPreviewGridHeaderFontSize: se
190
189
  }
191
190
  ),
192
191
  [
193
- fe,
194
192
  he,
195
- ve,
193
+ be,
196
194
  me,
197
- ue,
198
- E,
199
- be
195
+ de,
196
+ ve,
197
+ M,
198
+ se
200
199
  ]
201
200
  );
202
- vr(() => () => {
203
- V.current.forEach((o) => {
204
- sr(o);
205
- }), V.current = [];
201
+ sr(() => () => {
202
+ A.current.forEach((o) => {
203
+ ir(o);
204
+ }), A.current = [];
206
205
  }, []);
207
- const Je = /* @__PURE__ */ W((o) => {
208
- var c;
206
+ const Le = /* @__PURE__ */ z((o) => {
209
207
  switch (o) {
210
208
  case "common":
211
209
  return /* @__PURE__ */ r(
212
- Nr,
210
+ Tr,
213
211
  {
214
- buttonPreviewItems: pe,
215
- mainTextSecondary: ce,
216
- mainThemePreviewStoreState: I,
217
- previewSectionCardSx: f
212
+ buttonPreviewItems: fe,
213
+ mainTextSecondary: ne,
214
+ mainThemePreviewStoreState: H,
215
+ previewSectionCardSx: u
218
216
  }
219
217
  );
220
218
  case "buttons":
221
219
  return /* @__PURE__ */ r(
222
- Br,
220
+ Sr,
223
221
  {
224
- buttonPreviewItems: pe,
225
- mainTextSecondary: ce,
226
- previewSectionCardSx: f
222
+ buttonPreviewItems: fe,
223
+ mainTextSecondary: ne,
224
+ previewSectionCardSx: u
227
225
  }
228
226
  );
229
227
  case "snackbars":
230
228
  return /* @__PURE__ */ r(
231
- Tr,
229
+ Pr,
232
230
  {
233
- previewSectionCardSx: f,
234
- previewSnackbarKeysRef: V,
235
- snackbarAnchorOrigin: h.anchorOrigin,
236
- snackbarAutoHideDuration: h.autoHideDuration,
237
- snackbarPreviewAnchorHorizontal: Ee,
238
- snackbarPreviewAnchorVertical: Fe,
239
- snackbarPreviewFontSize: Ye,
240
- snackbarPreviewItems: _e,
241
- snackbarPreviewLineHeight: Ue,
242
- snackbarPreviewMaxSnack: Ke
231
+ previewSectionCardSx: u,
232
+ previewSnackbarKeysRef: A,
233
+ snackbarAnchorOrigin: v.anchorOrigin,
234
+ snackbarAutoHideDuration: v.autoHideDuration,
235
+ snackbarPreviewAnchorHorizontal: Ve,
236
+ snackbarPreviewAnchorVertical: Me,
237
+ snackbarPreviewFontSize: Ee,
238
+ snackbarPreviewItems: Ye,
239
+ snackbarPreviewLineHeight: Fe,
240
+ snackbarPreviewMaxSnack: Re
243
241
  }
244
242
  );
245
243
  case "searchHeader":
246
244
  return /* @__PURE__ */ r(
247
- Cr,
245
+ yr,
248
246
  {
249
247
  activeSection: s === "navbar" || s === "toolbar" ? s : "main",
250
- gridPreviewTable: qe,
251
- mainBackground: M,
252
- mainPaper: S,
253
- mainText: te,
254
- mainThemePreviewStoreState: I,
255
- previewSectionCardSx: f,
256
- searchHeaderPreviewDate: F,
257
- searchHeaderPreviewNumber: Ve,
258
- searchHeaderPreviewVersionKey: R,
259
- tablePreviewCanTableRadiusZero: Y,
260
- tableTheme: U,
261
- tableThemePreviewVersionKey: $
248
+ gridPreviewTable: _e,
249
+ mainBackground: j,
250
+ mainPaper: P,
251
+ mainText: ae,
252
+ mainThemePreviewStoreState: H,
253
+ previewSectionCardSx: u,
254
+ searchHeaderPreviewDate: R,
255
+ searchHeaderPreviewNumber: Ae,
256
+ searchHeaderPreviewVersionKey: V,
257
+ tablePreviewCanTableRadiusZero: F,
258
+ tableTheme: Y,
259
+ tableThemePreviewVersionKey: N
262
260
  }
263
261
  );
264
262
  case "grid":
265
263
  return /* @__PURE__ */ r(
266
- Sr,
264
+ gr,
267
265
  {
268
- editableThemePreviewGridId: De,
269
- mainGridChangedBackgroundColor: (c = v == null ? void 0 : v.changed) == null ? void 0 : c.backgroundColor,
270
- mainThemePreviewStoreKey: z,
271
- mainThemePreviewStoreState: I,
272
- previewSectionCardSx: f,
273
- readonlyThemePreviewGridId: Oe
266
+ editableThemePreviewGridId: xr,
267
+ mainThemePreviewStoreState: H,
268
+ previewSectionCardSx: u,
269
+ readonlyThemePreviewGridId: pr
274
270
  }
275
271
  );
276
272
  case "tables":
277
273
  return /* @__PURE__ */ r(
278
- Pr,
274
+ wr,
279
275
  {
280
- mainThemePreviewStoreState: I,
281
- previewSectionCardSx: f,
282
- tablePreviewCanTableRadiusZero: Y,
283
- tableTheme: U,
284
- tableThemePreviewVersionKey: $
276
+ mainThemePreviewStoreState: H,
277
+ previewSectionCardSx: u,
278
+ tablePreviewCanTableRadiusZero: F,
279
+ tableTheme: Y,
280
+ tableThemePreviewVersionKey: N
285
281
  }
286
282
  );
287
283
  default:
288
284
  return null;
289
285
  }
290
- }, "renderPreviewSection"), K = /* @__PURE__ */ W((o, c, k = 0) => je === o ? /* @__PURE__ */ r(
286
+ }, "renderPreviewSection"), E = /* @__PURE__ */ z((o, d, p = 0) => De === o ? /* @__PURE__ */ r(
291
287
  "div",
292
288
  {
293
289
  "aria-hidden": !0,
294
290
  className: "pointer-events-none absolute z-[2]",
295
291
  style: {
296
- inset: c,
297
- border: `4px solid ${$r}`,
298
- borderRadius: k,
299
- boxShadow: `0 0 0 1px ${zr}`
292
+ inset: d,
293
+ border: `4px solid ${Br}`,
294
+ borderRadius: p,
295
+ boxShadow: `0 0 0 1px ${Nr}`
300
296
  }
301
297
  }
302
298
  ) : null, "renderHighlightOverlay");
303
- return /* @__PURE__ */ r("div", { className: "flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden", children: /* @__PURE__ */ i(
299
+ return /* @__PURE__ */ r("div", { className: "flex h-full min-h-0 min-w-0 flex-1 flex-col overflow-hidden", children: /* @__PURE__ */ c(
304
300
  "div",
305
301
  {
306
302
  className: "grid min-h-0 flex-1 grid-cols-[224px_minmax(0,1fr)] grid-rows-[76px_minmax(0,1fr)] overflow-hidden rounded-lg border border-solid",
307
303
  style: {
308
- backgroundColor: M,
309
- borderColor: D
304
+ backgroundColor: j,
305
+ borderColor: $
310
306
  },
311
307
  children: [
312
- /* @__PURE__ */ i(
308
+ /* @__PURE__ */ c(
313
309
  "div",
314
310
  {
315
311
  className: "col-span-2 relative flex items-center justify-between px-20",
316
312
  style: {
317
- backgroundColor: _,
318
- backgroundImage: `linear-gradient(180deg, ${_} 0%, ${Ne} 100%)`,
319
- borderBottom: `1px solid ${He}`,
320
- boxShadow: `inset 0 1px 0 ${n(y, m === "dark" ? 0.06 : 0.82)}, 0 4px 16px ${n($e, m === "dark" ? 0.18 : 0.05)}`,
321
- color: g
313
+ backgroundColor: K,
314
+ backgroundImage: `linear-gradient(180deg, ${K} 0%, ${Be} 100%)`,
315
+ borderBottom: `1px solid ${Ne}`,
316
+ boxShadow: `inset 0 1px 0 ${n(g, m === "dark" ? 0.06 : 0.82)}, 0 4px 16px ${n(He, m === "dark" ? 0.18 : 0.05)}`,
317
+ color: w
322
318
  },
323
319
  children: [
324
- K("toolbar", 0, 0),
325
- /* @__PURE__ */ r("div", { className: "flex items-center gap-12", children: /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
326
- /* @__PURE__ */ i(
320
+ E("toolbar", 0, 0),
321
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-12", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
322
+ /* @__PURE__ */ c(
327
323
  "div",
328
324
  {
329
325
  className: "flex items-center gap-2",
330
326
  style: {
331
- color: n(g, m === "dark" ? 0.72 : 0.64)
327
+ color: n(w, m === "dark" ? 0.72 : 0.64)
332
328
  },
333
329
  children: [
334
- /* @__PURE__ */ r(l, { variant: "caption", children: "OWP" }),
335
- /* @__PURE__ */ r(Se, { sx: { fontSize: 18 } }),
336
- /* @__PURE__ */ r(l, { variant: "caption", children: "Theme Preview" })
330
+ /* @__PURE__ */ r(i, { variant: "caption", children: "OWP" }),
331
+ /* @__PURE__ */ r(Pe, { sx: { fontSize: 18 } }),
332
+ /* @__PURE__ */ r(i, { variant: "caption", children: "Theme Preview" })
337
333
  ]
338
334
  }
339
335
  ),
340
- /* @__PURE__ */ r(l, { variant: "subtitle1", fontWeight: 700, children: "Toolbar" })
336
+ /* @__PURE__ */ r(i, { variant: "subtitle1", fontWeight: 700, children: "Toolbar" })
341
337
  ] }) }),
342
- /* @__PURE__ */ r("div", { className: "pointer-events-none absolute left-1/2 top-1/2 flex w-full max-w-[520px] -translate-x-1/2 -translate-y-1/2 justify-center px-12 text-center", children: /* @__PURE__ */ i(
343
- l,
338
+ /* @__PURE__ */ r("div", { className: "pointer-events-none absolute left-1/2 top-1/2 flex w-full max-w-[520px] -translate-x-1/2 -translate-y-1/2 justify-center px-12 text-center", children: /* @__PURE__ */ c(
339
+ i,
344
340
  {
345
341
  variant: "body2",
346
342
  sx: {
347
- color: n(g, m === "dark" ? 0.92 : 0.84),
343
+ color: n(w, m === "dark" ? 0.92 : 0.84),
348
344
  fontSize: 13,
349
345
  fontWeight: 700
350
346
  },
351
347
  children: [
352
348
  "로그인 화면 배경색은 Toolbar",
353
349
  " ",
354
- /* @__PURE__ */ r(Se, { sx: { mx: 0.25, fontSize: 18, verticalAlign: "middle" } }),
350
+ /* @__PURE__ */ r(Pe, { sx: { mx: 0.25, fontSize: 18, verticalAlign: "middle" } }),
355
351
  " ",
356
352
  "Background Default 색상을 따라갑니다."
357
353
  ]
358
354
  }
359
355
  ) }),
360
- /* @__PURE__ */ r("div", { className: "flex items-center gap-8", children: [nr, tr].map((o, c) => /* @__PURE__ */ r(
356
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-8", children: [rr, or].map((o, d) => /* @__PURE__ */ r(
361
357
  "div",
362
358
  {
363
359
  className: "flex h-32 w-32 items-center justify-center rounded-[10px] border border-solid",
364
- style: Me,
365
- children: /* @__PURE__ */ r(o, { sx: { color: g, fontSize: 18 } })
360
+ style: je,
361
+ children: /* @__PURE__ */ r(o, { sx: { color: w, fontSize: 18 } })
366
362
  },
367
- `${c}`
363
+ `${d}`
368
364
  )) })
369
365
  ]
370
366
  }
371
367
  ),
372
- /* @__PURE__ */ i(
368
+ /* @__PURE__ */ c(
373
369
  "div",
374
370
  {
375
371
  className: "relative flex min-h-0 flex-col",
376
372
  style: {
377
- backgroundColor: j,
378
- borderRight: `1px solid ${G}`,
373
+ backgroundColor: D,
374
+ borderRight: `1px solid ${O}`,
379
375
  color: b
380
376
  },
381
377
  children: [
382
- K("navbar", 0, 0),
383
- /* @__PURE__ */ i(
378
+ E("navbar", 0, 0),
379
+ /* @__PURE__ */ c(
384
380
  "div",
385
381
  {
386
382
  className: "flex items-center justify-between gap-8 px-16 py-14",
387
383
  style: {
388
- borderBottom: `1px solid ${G}`
384
+ borderBottom: `1px solid ${O}`
389
385
  },
390
386
  children: [
391
- /* @__PURE__ */ r("div", { className: "flex items-center gap-10", children: /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
387
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-10", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
392
388
  /* @__PURE__ */ r(
393
- l,
389
+ i,
394
390
  {
395
391
  variant: "subtitle2",
396
392
  fontWeight: 700,
397
393
  sx: {
398
- color: Q
394
+ color: q
399
395
  },
400
396
  children: "Navbar"
401
397
  }
402
398
  ),
403
- /* @__PURE__ */ r(l, { variant: "caption", sx: { color: ze }, children: "Navigation" })
399
+ /* @__PURE__ */ r(i, { variant: "caption", sx: { color: ze }, children: "Navigation" })
404
400
  ] }) }),
405
401
  /* @__PURE__ */ r(
406
- cr,
402
+ ar,
407
403
  {
408
404
  "aria-label": "navbar menu",
409
405
  className: "flex h-28 w-28 items-center justify-center rounded-[10px] border border-solid",
410
- sx: Re,
411
- children: /* @__PURE__ */ r(ar, { sx: { color: "inherit", fontSize: 16 } })
406
+ sx: Ge,
407
+ children: /* @__PURE__ */ r(er, { sx: { color: "inherit", fontSize: 16 } })
412
408
  }
413
409
  )
414
410
  ]
415
411
  }
416
412
  ),
417
- /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col gap-4 px-10 py-10", children: kr.map((o, c) => {
418
- const k = c === 1;
413
+ /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col gap-4 px-10 py-10", children: fr.map((o, d) => {
414
+ const p = d === 1;
419
415
  return /* @__PURE__ */ r(
420
416
  "div",
421
417
  {
422
418
  className: "rounded-lg px-12 py-10",
423
419
  style: {
424
- backgroundColor: k ? Ie : "transparent",
425
- color: k ? u : ne
420
+ backgroundColor: p ? Ie : "transparent",
421
+ color: p ? h : oe
426
422
  },
427
- children: /* @__PURE__ */ r(l, { variant: "body2", fontWeight: k ? 700 : 500, children: o })
423
+ children: /* @__PURE__ */ r(i, { variant: "body2", fontWeight: p ? 700 : 500, children: o })
428
424
  },
429
425
  o
430
426
  );
@@ -434,9 +430,9 @@ function qr({
434
430
  {
435
431
  className: "px-12 py-12",
436
432
  style: {
437
- borderTop: `1px solid ${G}`
433
+ borderTop: `1px solid ${O}`
438
434
  },
439
- children: /* @__PURE__ */ i(
435
+ children: /* @__PURE__ */ c(
440
436
  "div",
441
437
  {
442
438
  className: "flex min-h-[56px] items-center gap-12 rounded-lg px-8 py-8",
@@ -447,15 +443,15 @@ function qr({
447
443
  {
448
444
  className: "flex h-36 w-36 shrink-0 items-center justify-center rounded-full",
449
445
  style: {
450
- backgroundColor: We,
451
- color: Ae
446
+ backgroundColor: $e,
447
+ color: We
452
448
  },
453
- children: /* @__PURE__ */ r(l, { sx: { fontSize: 18, fontWeight: 700, lineHeight: 1 }, children: "관" })
449
+ children: /* @__PURE__ */ r(i, { sx: { fontSize: 18, fontWeight: 700, lineHeight: 1 }, children: "관" })
454
450
  }
455
451
  ),
456
- /* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
452
+ /* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
457
453
  /* @__PURE__ */ r(
458
- l,
454
+ i,
459
455
  {
460
456
  className: "truncate",
461
457
  sx: {
@@ -469,11 +465,11 @@ function qr({
469
465
  }
470
466
  ),
471
467
  /* @__PURE__ */ r(
472
- l,
468
+ i,
473
469
  {
474
470
  className: "truncate",
475
471
  sx: {
476
- color: ne,
472
+ color: oe,
477
473
  fontSize: 14,
478
474
  fontWeight: 500,
479
475
  letterSpacing: "-0.02em",
@@ -483,7 +479,7 @@ function qr({
483
479
  }
484
480
  )
485
481
  ] }),
486
- /* @__PURE__ */ r("div", { className: "flex shrink-0 items-center justify-center", style: { color: b }, children: /* @__PURE__ */ r(or, { sx: { fontSize: 16 } }) })
482
+ /* @__PURE__ */ r("div", { className: "flex shrink-0 items-center justify-center", style: { color: b }, children: /* @__PURE__ */ r(Xe, { sx: { fontSize: 16 } }) })
487
483
  ]
488
484
  }
489
485
  )
@@ -492,31 +488,31 @@ function qr({
492
488
  ]
493
489
  }
494
490
  ),
495
- /* @__PURE__ */ i(
491
+ /* @__PURE__ */ c(
496
492
  "div",
497
493
  {
498
494
  className: "relative flex min-h-0 flex-col gap-14 overflow-y-auto overflow-x-hidden p-14",
499
495
  style: {
500
- backgroundColor: M,
501
- color: te
496
+ backgroundColor: j,
497
+ color: ae
502
498
  },
503
499
  children: [
504
- K("main", 8),
505
- Ge ? /* @__PURE__ */ r(
500
+ E("main", 8),
501
+ Oe ? /* @__PURE__ */ r(
506
502
  "div",
507
503
  {
508
504
  className: "absolute inset-14 z-10 flex items-center justify-center rounded-lg",
509
505
  style: {
510
- backgroundColor: n(S, 0.88),
511
- border: `1px solid ${D}`
506
+ backgroundColor: n(P, 0.88),
507
+ border: `1px solid ${$}`
512
508
  },
513
- children: /* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-10", children: [
514
- /* @__PURE__ */ r(ir, { color: "secondary", size: 34, thickness: 4.5 }),
515
- /* @__PURE__ */ r(l, { variant: "body2", color: "text.secondary", fontWeight: 700, children: "로딩 중..." })
509
+ children: /* @__PURE__ */ c("div", { className: "flex flex-col items-center gap-10", children: [
510
+ /* @__PURE__ */ r(nr, { color: "secondary", size: 34, thickness: 4.5 }),
511
+ /* @__PURE__ */ r(i, { variant: "body2", color: "text.secondary", fontWeight: 700, children: "로딩 중..." })
516
512
  ] })
517
513
  }
518
514
  ) : null,
519
- Le.map((o) => /* @__PURE__ */ r(hr, { children: Je(o) }, `${o}-${Ze[o]}`))
515
+ Ke.map((o) => /* @__PURE__ */ r(mr, { children: Le(o) }, `${o}-${Ue[o]}`))
520
516
  ]
521
517
  }
522
518
  )
@@ -524,8 +520,8 @@ function qr({
524
520
  }
525
521
  ) });
526
522
  }
527
- W(qr, "ThemePreviewCanvas");
523
+ z(_r, "ThemePreviewCanvas");
528
524
  export {
529
- qr as ThemePreviewCanvas
525
+ _r as ThemePreviewCanvas
530
526
  };
531
527
  //# sourceMappingURL=ThemePreviewCanvas.js.map