@owp/core 2.5.9 → 2.5.11

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