@owp/core 2.5.14 → 2.5.16

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 (36) hide show
  1. package/dist/components/OwpDialog/OwpAlertDialog.js +46 -0
  2. package/dist/components/OwpDialog/OwpAlertDialog.js.map +1 -0
  3. package/dist/components/OwpDialog/OwpDialog.js +41 -38
  4. package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
  5. package/dist/components/OwpQuerySelector/OwpQuerySelector.js +184 -177
  6. package/dist/components/OwpQuerySelector/OwpQuerySelector.js.map +1 -1
  7. package/dist/components/OwpTable/internal/treeGridTableStyle.js +16 -21
  8. package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -1
  9. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +145 -137
  10. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  11. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +265 -178
  12. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  13. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +141 -127
  14. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  15. package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js +7 -6
  16. package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js.map +1 -1
  17. package/dist/constants/treeGrid.js +32 -26
  18. package/dist/constants/treeGrid.js.map +1 -1
  19. package/dist/features/themePreview/components/ThemePreviewColorField.js +79 -75
  20. package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
  21. package/dist/hooks/useConfirm.js +55 -65
  22. package/dist/hooks/useConfirm.js.map +1 -1
  23. package/dist/index.js +69 -67
  24. package/dist/index.js.map +1 -1
  25. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  26. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  27. package/dist/owp-app.css +1 -1
  28. package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +25 -0
  29. package/dist/types/components/OwpDialog/OwpDialog.d.ts +2 -0
  30. package/dist/types/components/OwpDialog/index.d.ts +1 -0
  31. package/dist/types/components/OwpQuerySelector/OwpQuerySelector.d.ts +1 -1
  32. package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +2 -1
  33. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +6 -2
  34. package/dist/types/constants/treeGrid.d.ts +3 -3
  35. package/dist/types/hooks/useConfirm.d.ts +7 -14
  36. package/package.json +1 -1
@@ -1,27 +1,22 @@
1
- var n = Object.defineProperty;
2
- var l = (o, r) => n(o, "name", { value: r, configurable: !0 });
3
- const d = "#6F7F94", c = "#CDD8E4", g = [
4
- "Pretendard",
5
- "Roboto",
6
- '"Helvetica"',
7
- "Arial",
8
- "sans-serif"
9
- ].join(", "), b = /* @__PURE__ */ l((o) => ({
1
+ var g = Object.defineProperty;
2
+ var l = (o, r) => g(o, "name", { value: r, configurable: !0 });
3
+ import { TREEGRID_FONT_FAMILY_STACK as n } from "../../../constants/treeGrid.js";
4
+ const d = "#6F7F94", c = "#CDD8E4", C = n, R = /* @__PURE__ */ l((o) => ({
10
5
  backgroundColor: o.body.backgroundColor,
11
6
  color: o.body.color
12
7
  }), "getTreeGridContainerSx"), a = /* @__PURE__ */ l((o, r = "normal") => ({
13
- fontFamily: g,
8
+ fontFamily: C,
14
9
  fontSize: o,
15
10
  fontWeight: r,
16
11
  lineHeight: "16px"
17
- }), "getTreeGridTypographySx"), C = /* @__PURE__ */ l((o) => ({
12
+ }), "getTreeGridTypographySx"), u = /* @__PURE__ */ l((o) => ({
18
13
  ...a(o.cell.fontSize),
19
14
  boxSizing: "border-box",
20
15
  overflow: "hidden",
21
16
  textOverflow: "ellipsis",
22
17
  verticalAlign: "middle",
23
18
  whiteSpace: "nowrap"
24
- }), "getTreeGridCellBaseSx"), s = /* @__PURE__ */ l((o) => ({
19
+ }), "getTreeGridCellBaseSx"), x = /* @__PURE__ */ l((o) => ({
25
20
  ...a(
26
21
  o.header.fontSize,
27
22
  o.header.fontWeight
@@ -35,8 +30,8 @@ const d = "#6F7F94", c = "#CDD8E4", g = [
35
30
  height: o.header.height,
36
31
  minHeight: o.header.height,
37
32
  padding: "7px 2px 6px 10px"
38
- }), "getTreeGridHeaderCellSx"), x = /* @__PURE__ */ l((o) => ({
39
- ...C(o),
33
+ }), "getTreeGridHeaderCellSx"), k = /* @__PURE__ */ l((o) => ({
34
+ ...u(o),
40
35
  backgroundColor: o.row.backgroundColor,
41
36
  borderBottom: `1px solid ${c}`,
42
37
  borderLeft: 0,
@@ -44,7 +39,7 @@ const d = "#6F7F94", c = "#CDD8E4", g = [
44
39
  color: o.body.color,
45
40
  fontSize: o.cell.fontSize,
46
41
  padding: "7px 10px 6px"
47
- }), "getTreeGridBodyCellSx"), R = /* @__PURE__ */ l((o, r) => {
42
+ }), "getTreeGridBodyCellSx"), B = /* @__PURE__ */ l((o, r) => {
48
43
  const e = r != null && r.selected ? o.state.selectedRowBackgroundColor : o.row.backgroundColor, t = r != null && r.selected ? o.state.selectedRowBackgroundColor : o.state.hoverRowBackgroundColor;
49
44
  return {
50
45
  "& > td": {
@@ -71,13 +66,13 @@ const d = "#6F7F94", c = "#CDD8E4", g = [
71
66
  }, "getTreeGridBodyRowSx");
72
67
  export {
73
68
  c as TREEGRID_TABLE_BODY_BORDER_COLOR,
74
- g as TREEGRID_TABLE_FONT_FAMILY_STACK,
69
+ C as TREEGRID_TABLE_FONT_FAMILY_STACK,
75
70
  d as TREEGRID_TABLE_HEADER_BORDER_COLOR,
76
- x as getTreeGridBodyCellSx,
77
- R as getTreeGridBodyRowSx,
78
- C as getTreeGridCellBaseSx,
79
- b as getTreeGridContainerSx,
80
- s as getTreeGridHeaderCellSx,
71
+ k as getTreeGridBodyCellSx,
72
+ B as getTreeGridBodyRowSx,
73
+ u as getTreeGridCellBaseSx,
74
+ R as getTreeGridContainerSx,
75
+ x as getTreeGridHeaderCellSx,
81
76
  a as getTreeGridTypographySx
82
77
  };
83
78
  //# sourceMappingURL=treeGridTableStyle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"treeGridTableStyle.js","sources":["../../../../src/components/OwpTable/internal/treeGridTableStyle.ts"],"sourcesContent":["import type { OwpResolvedGridThemeConfigType } from '@/constants/gridTheme';\n\nexport const TREEGRID_TABLE_HEADER_BORDER_COLOR = '#6F7F94';\nexport const TREEGRID_TABLE_BODY_BORDER_COLOR = '#CDD8E4';\nexport const TREEGRID_TABLE_FONT_FAMILY_STACK = [\n 'Pretendard',\n 'Roboto',\n '\"Helvetica\"',\n 'Arial',\n 'sans-serif',\n].join(', ');\n\n/**\n * TreeGrid 컨테이너 색상 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridContainerSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n) => ({\n backgroundColor: treeGridTheme.body.backgroundColor,\n color: treeGridTheme.body.color,\n});\n\n/**\n * TreeGrid 타이포그래피 매핑\n * @param fontSize 폰트 크기\n * @param fontWeight 폰트 두께\n */\nexport const getTreeGridTypographySx = (\n fontSize: number | string,\n fontWeight: number | string = 'normal',\n) => ({\n fontFamily: TREEGRID_TABLE_FONT_FAMILY_STACK,\n fontSize,\n fontWeight,\n lineHeight: '16px',\n});\n\n/**\n * TreeGrid 공통 셀 스타일 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridCellBaseSx = (treeGridTheme: OwpResolvedGridThemeConfigType) => ({\n ...getTreeGridTypographySx(treeGridTheme.cell.fontSize),\n boxSizing: 'border-box',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n verticalAlign: 'middle',\n whiteSpace: 'nowrap',\n});\n\n/**\n * TreeGrid header 셀 스타일 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridHeaderCellSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n) => ({\n ...getTreeGridTypographySx(\n treeGridTheme.header.fontSize,\n treeGridTheme.header.fontWeight,\n ),\n backgroundColor: treeGridTheme.header.backgroundColor,\n borderTop: `1px solid ${TREEGRID_TABLE_HEADER_BORDER_COLOR}`,\n borderBottom: `1px solid ${TREEGRID_TABLE_HEADER_BORDER_COLOR}`,\n borderLeft: 0,\n borderRight: `1px solid ${TREEGRID_TABLE_HEADER_BORDER_COLOR}`,\n color: treeGridTheme.header.color,\n height: treeGridTheme.header.height,\n minHeight: treeGridTheme.header.height,\n padding: '7px 2px 6px 10px',\n});\n\n/**\n * TreeGrid body 셀 스타일 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridBodyCellSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n) => ({\n ...getTreeGridCellBaseSx(treeGridTheme),\n backgroundColor: treeGridTheme.row.backgroundColor,\n borderBottom: `1px solid ${TREEGRID_TABLE_BODY_BORDER_COLOR}`,\n borderLeft: 0,\n borderRight: `1px solid ${TREEGRID_TABLE_BODY_BORDER_COLOR}`,\n color: treeGridTheme.body.color,\n fontSize: treeGridTheme.cell.fontSize,\n padding: '7px 10px 6px',\n});\n\n/**\n * TreeGrid body row 상태 스타일 매핑\n * @param treeGridTheme Grid theme 값\n * @param options hover, selected 여부\n */\nexport const getTreeGridBodyRowSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n options?: {\n canHover?: boolean;\n selected?: boolean;\n },\n) => {\n const defaultBackgroundColor = options?.selected\n ? treeGridTheme.state.selectedRowBackgroundColor\n : treeGridTheme.row.backgroundColor;\n const hoverBackgroundColor = options?.selected\n ? treeGridTheme.state.selectedRowBackgroundColor\n : treeGridTheme.state.hoverRowBackgroundColor;\n\n return {\n '& > td': {\n backgroundColor: defaultBackgroundColor,\n },\n ...(options?.canHover && {\n '&:hover > td': {\n backgroundColor: hoverBackgroundColor,\n },\n }),\n '&.Mui-selected > td': {\n backgroundColor: treeGridTheme.state.selectedRowBackgroundColor,\n },\n '&.Mui-selected:hover > td': {\n backgroundColor: treeGridTheme.state.selectedRowBackgroundColor,\n },\n '&:focus-within > td': {\n backgroundColor: treeGridTheme.state.focusedRowBackgroundColor,\n },\n '& > td:focus-within': {\n backgroundColor: treeGridTheme.state.focusedCellBackgroundColor,\n },\n };\n};\n"],"names":["TREEGRID_TABLE_HEADER_BORDER_COLOR","TREEGRID_TABLE_BODY_BORDER_COLOR","TREEGRID_TABLE_FONT_FAMILY_STACK","getTreeGridContainerSx","__name","treeGridTheme","getTreeGridTypographySx","fontSize","fontWeight","getTreeGridCellBaseSx","getTreeGridHeaderCellSx","getTreeGridBodyCellSx","getTreeGridBodyRowSx","options","defaultBackgroundColor","hoverBackgroundColor"],"mappings":";;AAEO,MAAMA,IAAqC,WACrCC,IAAmC,WACnCC,IAAmC;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,EAAE,KAAK,IAAI,GAMEC,IAAyB,gBAAAC,EAAA,CACpCC,OACI;AAAA,EACJ,iBAAiBA,EAAc,KAAK;AAAA,EACpC,OAAOA,EAAc,KAAK;AAC5B,IALsC,2BAYzBC,IAA0B,gBAAAF,EAAA,CACrCG,GACAC,IAA8B,cAC1B;AAAA,EACJ,YAAYN;AAAA,EACZ,UAAAK;AAAA,EACA,YAAAC;AAAA,EACA,YAAY;AACd,IARuC,4BAc1BC,IAAwB,gBAAAL,EAAA,CAACC,OAAmD;AAAA,EACvF,GAAGC,EAAwBD,EAAc,KAAK,QAAQ;AAAA,EACtD,WAAW;AAAA,EACX,UAAU;AAAA,EACV,cAAc;AAAA,EACd,eAAe;AAAA,EACf,YAAY;AACd,IAPqC,0BAaxBK,IAA0B,gBAAAN,EAAA,CACrCC,OACI;AAAA,EACJ,GAAGC;AAAA,IACDD,EAAc,OAAO;AAAA,IACrBA,EAAc,OAAO;AAAA,EAAA;AAAA,EAEvB,iBAAiBA,EAAc,OAAO;AAAA,EACtC,WAAW,aAAaL,CAAkC;AAAA,EAC1D,cAAc,aAAaA,CAAkC;AAAA,EAC7D,YAAY;AAAA,EACZ,aAAa,aAAaA,CAAkC;AAAA,EAC5D,OAAOK,EAAc,OAAO;AAAA,EAC5B,QAAQA,EAAc,OAAO;AAAA,EAC7B,WAAWA,EAAc,OAAO;AAAA,EAChC,SAAS;AACX,IAhBuC,4BAsB1BM,IAAwB,gBAAAP,EAAA,CACnCC,OACI;AAAA,EACJ,GAAGI,EAAsBJ,CAAa;AAAA,EACtC,iBAAiBA,EAAc,IAAI;AAAA,EACnC,cAAc,aAAaJ,CAAgC;AAAA,EAC3D,YAAY;AAAA,EACZ,aAAa,aAAaA,CAAgC;AAAA,EAC1D,OAAOI,EAAc,KAAK;AAAA,EAC1B,UAAUA,EAAc,KAAK;AAAA,EAC7B,SAAS;AACX,IAXqC,0BAkBxBO,IAAuB,gBAAAR,EAAA,CAClCC,GACAQ,MAIG;AACH,QAAMC,IAAyBD,KAAA,QAAAA,EAAS,WACpCR,EAAc,MAAM,6BACpBA,EAAc,IAAI,iBAChBU,IAAuBF,KAAA,QAAAA,EAAS,WAClCR,EAAc,MAAM,6BACpBA,EAAc,MAAM;AAExB,SAAO;AAAA,IACL,UAAU;AAAA,MACR,iBAAiBS;AAAA,IAAA;AAAA,IAEnB,IAAID,KAAA,gBAAAA,EAAS,aAAY;AAAA,MACvB,gBAAgB;AAAA,QACd,iBAAiBE;AAAA,MAAA;AAAA,IACnB;AAAA,IAEF,uBAAuB;AAAA,MACrB,iBAAiBV,EAAc,MAAM;AAAA,IAAA;AAAA,IAEvC,6BAA6B;AAAA,MAC3B,iBAAiBA,EAAc,MAAM;AAAA,IAAA;AAAA,IAEvC,uBAAuB;AAAA,MACrB,iBAAiBA,EAAc,MAAM;AAAA,IAAA;AAAA,IAEvC,uBAAuB;AAAA,MACrB,iBAAiBA,EAAc,MAAM;AAAA,IAAA;AAAA,EACvC;AAEJ,GApCoC;"}
1
+ {"version":3,"file":"treeGridTableStyle.js","sources":["../../../../src/components/OwpTable/internal/treeGridTableStyle.ts"],"sourcesContent":["import { TREEGRID_FONT_FAMILY_STACK } from '@/constants/treeGrid';\nimport type { OwpResolvedGridThemeConfigType } from '@/constants/gridTheme';\n\nexport const TREEGRID_TABLE_HEADER_BORDER_COLOR = '#6F7F94';\nexport const TREEGRID_TABLE_BODY_BORDER_COLOR = '#CDD8E4';\nexport const TREEGRID_TABLE_FONT_FAMILY_STACK = TREEGRID_FONT_FAMILY_STACK;\n\n/**\n * TreeGrid 컨테이너 색상 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridContainerSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n) => ({\n backgroundColor: treeGridTheme.body.backgroundColor,\n color: treeGridTheme.body.color,\n});\n\n/**\n * TreeGrid 타이포그래피 매핑\n * @param fontSize 폰트 크기\n * @param fontWeight 폰트 두께\n */\nexport const getTreeGridTypographySx = (\n fontSize: number | string,\n fontWeight: number | string = 'normal',\n) => ({\n fontFamily: TREEGRID_TABLE_FONT_FAMILY_STACK,\n fontSize,\n fontWeight,\n lineHeight: '16px',\n});\n\n/**\n * TreeGrid 공통 셀 스타일 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridCellBaseSx = (treeGridTheme: OwpResolvedGridThemeConfigType) => ({\n ...getTreeGridTypographySx(treeGridTheme.cell.fontSize),\n boxSizing: 'border-box',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n verticalAlign: 'middle',\n whiteSpace: 'nowrap',\n});\n\n/**\n * TreeGrid header 셀 스타일 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridHeaderCellSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n) => ({\n ...getTreeGridTypographySx(\n treeGridTheme.header.fontSize,\n treeGridTheme.header.fontWeight,\n ),\n backgroundColor: treeGridTheme.header.backgroundColor,\n borderTop: `1px solid ${TREEGRID_TABLE_HEADER_BORDER_COLOR}`,\n borderBottom: `1px solid ${TREEGRID_TABLE_HEADER_BORDER_COLOR}`,\n borderLeft: 0,\n borderRight: `1px solid ${TREEGRID_TABLE_HEADER_BORDER_COLOR}`,\n color: treeGridTheme.header.color,\n height: treeGridTheme.header.height,\n minHeight: treeGridTheme.header.height,\n padding: '7px 2px 6px 10px',\n});\n\n/**\n * TreeGrid body 셀 스타일 매핑\n * @param treeGridTheme Grid theme 값\n */\nexport const getTreeGridBodyCellSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n) => ({\n ...getTreeGridCellBaseSx(treeGridTheme),\n backgroundColor: treeGridTheme.row.backgroundColor,\n borderBottom: `1px solid ${TREEGRID_TABLE_BODY_BORDER_COLOR}`,\n borderLeft: 0,\n borderRight: `1px solid ${TREEGRID_TABLE_BODY_BORDER_COLOR}`,\n color: treeGridTheme.body.color,\n fontSize: treeGridTheme.cell.fontSize,\n padding: '7px 10px 6px',\n});\n\n/**\n * TreeGrid body row 상태 스타일 매핑\n * @param treeGridTheme Grid theme 값\n * @param options hover, selected 여부\n */\nexport const getTreeGridBodyRowSx = (\n treeGridTheme: OwpResolvedGridThemeConfigType,\n options?: {\n canHover?: boolean;\n selected?: boolean;\n },\n) => {\n const defaultBackgroundColor = options?.selected\n ? treeGridTheme.state.selectedRowBackgroundColor\n : treeGridTheme.row.backgroundColor;\n const hoverBackgroundColor = options?.selected\n ? treeGridTheme.state.selectedRowBackgroundColor\n : treeGridTheme.state.hoverRowBackgroundColor;\n\n return {\n '& > td': {\n backgroundColor: defaultBackgroundColor,\n },\n ...(options?.canHover && {\n '&:hover > td': {\n backgroundColor: hoverBackgroundColor,\n },\n }),\n '&.Mui-selected > td': {\n backgroundColor: treeGridTheme.state.selectedRowBackgroundColor,\n },\n '&.Mui-selected:hover > td': {\n backgroundColor: treeGridTheme.state.selectedRowBackgroundColor,\n },\n '&:focus-within > td': {\n backgroundColor: treeGridTheme.state.focusedRowBackgroundColor,\n },\n '& > td:focus-within': {\n backgroundColor: treeGridTheme.state.focusedCellBackgroundColor,\n },\n };\n};\n"],"names":["TREEGRID_TABLE_HEADER_BORDER_COLOR","TREEGRID_TABLE_BODY_BORDER_COLOR","TREEGRID_TABLE_FONT_FAMILY_STACK","TREEGRID_FONT_FAMILY_STACK","getTreeGridContainerSx","__name","treeGridTheme","getTreeGridTypographySx","fontSize","fontWeight","getTreeGridCellBaseSx","getTreeGridHeaderCellSx","getTreeGridBodyCellSx","getTreeGridBodyRowSx","options","defaultBackgroundColor","hoverBackgroundColor"],"mappings":";;;AAGO,MAAMA,IAAqC,WACrCC,IAAmC,WACnCC,IAAmCC,GAMnCC,IAAyB,gBAAAC,EAAA,CACpCC,OACI;AAAA,EACJ,iBAAiBA,EAAc,KAAK;AAAA,EACpC,OAAOA,EAAc,KAAK;AAC5B,IALsC,2BAYzBC,IAA0B,gBAAAF,EAAA,CACrCG,GACAC,IAA8B,cAC1B;AAAA,EACJ,YAAYP;AAAA,EACZ,UAAAM;AAAA,EACA,YAAAC;AAAA,EACA,YAAY;AACd,IARuC,4BAc1BC,IAAwB,gBAAAL,EAAA,CAACC,OAAmD;AAAA,EACvF,GAAGC,EAAwBD,EAAc,KAAK,QAAQ;AAAA,EACtD,WAAW;AAAA,EACX,UAAU;AAAA,EACV,cAAc;AAAA,EACd,eAAe;AAAA,EACf,YAAY;AACd,IAPqC,0BAaxBK,IAA0B,gBAAAN,EAAA,CACrCC,OACI;AAAA,EACJ,GAAGC;AAAA,IACDD,EAAc,OAAO;AAAA,IACrBA,EAAc,OAAO;AAAA,EAAA;AAAA,EAEvB,iBAAiBA,EAAc,OAAO;AAAA,EACtC,WAAW,aAAaN,CAAkC;AAAA,EAC1D,cAAc,aAAaA,CAAkC;AAAA,EAC7D,YAAY;AAAA,EACZ,aAAa,aAAaA,CAAkC;AAAA,EAC5D,OAAOM,EAAc,OAAO;AAAA,EAC5B,QAAQA,EAAc,OAAO;AAAA,EAC7B,WAAWA,EAAc,OAAO;AAAA,EAChC,SAAS;AACX,IAhBuC,4BAsB1BM,IAAwB,gBAAAP,EAAA,CACnCC,OACI;AAAA,EACJ,GAAGI,EAAsBJ,CAAa;AAAA,EACtC,iBAAiBA,EAAc,IAAI;AAAA,EACnC,cAAc,aAAaL,CAAgC;AAAA,EAC3D,YAAY;AAAA,EACZ,aAAa,aAAaA,CAAgC;AAAA,EAC1D,OAAOK,EAAc,KAAK;AAAA,EAC1B,UAAUA,EAAc,KAAK;AAAA,EAC7B,SAAS;AACX,IAXqC,0BAkBxBO,IAAuB,gBAAAR,EAAA,CAClCC,GACAQ,MAIG;AACH,QAAMC,IAAyBD,KAAA,QAAAA,EAAS,WACpCR,EAAc,MAAM,6BACpBA,EAAc,IAAI,iBAChBU,IAAuBF,KAAA,QAAAA,EAAS,WAClCR,EAAc,MAAM,6BACpBA,EAAc,MAAM;AAExB,SAAO;AAAA,IACL,UAAU;AAAA,MACR,iBAAiBS;AAAA,IAAA;AAAA,IAEnB,IAAID,KAAA,gBAAAA,EAAS,aAAY;AAAA,MACvB,gBAAgB;AAAA,QACd,iBAAiBE;AAAA,MAAA;AAAA,IACnB;AAAA,IAEF,uBAAuB;AAAA,MACrB,iBAAiBV,EAAc,MAAM;AAAA,IAAA;AAAA,IAEvC,6BAA6B;AAAA,MAC3B,iBAAiBA,EAAc,MAAM;AAAA,IAAA;AAAA,IAEvC,uBAAuB;AAAA,MACrB,iBAAiBA,EAAc,MAAM;AAAA,IAAA;AAAA,IAEvC,uBAAuB;AAAA,MACrB,iBAAiBA,EAAc,MAAM;AAAA,IAAA;AAAA,EACvC;AAEJ,GApCoC;"}
@@ -1,41 +1,42 @@
1
- var or = Object.defineProperty;
2
- var a = (r, l) => or(r, "name", { value: l, configurable: !0 });
3
- import { jsxs as nr, jsx as _ } 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 { resolveOwpGridTheme as ir } from "../../constants/gridTheme.js";
5
- import { resolveTreeGridColorNumber as O, TREEGRID_INPUT_CELL_COLOR as ke, TREEGRID_CELL_HIGHLIGHT_COLOR as Pe } from "../../constants/treeGrid.js";
6
- import { useGetCurrentSettings as sr } from "../../hooks/useOwpSettings.js";
7
- import { useOwpTranslation as ur } from "../../hooks/useOwpTranslation.js";
8
- import { useGetCurrentLanguage as lr } from "../../hooks/useCurrentLanguage.js";
9
- import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as Me } from "../../utils/treeGridBodyRowsEvent.js";
10
- import { getTreeGridPerfTimestamp as z, countTreeGridPerf as Ne, logTreeGridPerf as xe, measureTreeGridPerf as Ve } from "./internal/utils/perf.js";
11
- import { useRef as e, useState as Y, useMemo as ar, useEffect as w, useLayoutEffect as cr } from "react";
12
- import dr from "@mui/material/GlobalStyles";
13
- import { useOwpTreeGridOverlayFrame as fr } from "./internal/hooks/useOwpTreeGridOverlayFrame.js";
14
- import { bindTreeGridEvents as mr, getTreeGridBodyDataCount as J, buildTreeGridInitializationOptions as pr, hasTreeGridDisplayDataRows as je, replaceTreeGridBodyData as Rr, TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS as Tr } from "./internal/treeGridRuntime.js";
15
- import { applyTreeGridLayoutToGrid as yr } from "./internal/treeGridLayout.js";
16
- import { OwpTreeGridLoadingOverlay as gr } from "./internal/OwpTreeGridLoadingOverlay.js";
17
- import { OwpTreeGridNoDataOverlay as Gr } from "./internal/OwpTreeGridNoDataOverlay.js";
18
- import { resolveTreeGridColumnEditRuleLookup as qe, createTreeGridColumnEditRulesState as vr, syncTreeGridColumnEditRules as Cr } from "./internal/treeGridColumnEditRules.js";
19
- import { createTreeGridThemeContainerStyle as Er, TREE_GRID_THEME_WRAPPER_CLASS as br, TREE_GRID_THEME_TABLE_RADIUS_CLASS as Dr, treeGridThemeStyles as Br } from "./internal/treeGridTheme.js";
20
- import { isEmpty as h } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
21
- import { delay as Ir } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js";
1
+ var sr = Object.defineProperty;
2
+ var a = (r, l) => sr(r, "name", { value: l, configurable: !0 });
3
+ import { jsxs as ur, jsx as w } 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 { resolveOwpGridTheme as lr } from "../../constants/gridTheme.js";
5
+ import { resolveTreeGridColorNumber as O, TREEGRID_INPUT_CELL_COLOR as Me, TREEGRID_CELL_HIGHLIGHT_COLOR as Pe } from "../../constants/treeGrid.js";
6
+ import { useGetCurrentSettings as ar } from "../../hooks/useOwpSettings.js";
7
+ import { useOwpTranslation as cr } from "../../hooks/useOwpTranslation.js";
8
+ import { useGetCurrentLanguage as dr } from "../../hooks/useCurrentLanguage.js";
9
+ import { useConfirm as fr } from "../../hooks/useConfirm.js";
10
+ import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as Ne } from "../../utils/treeGridBodyRowsEvent.js";
11
+ import { getTreeGridPerfTimestamp as F, countTreeGridPerf as xe, logTreeGridPerf as Ve, measureTreeGridPerf as je } from "./internal/utils/perf.js";
12
+ import { useRef as e, useState as z, useMemo as mr, useEffect as h, useLayoutEffect as pr } from "react";
13
+ import Rr from "@mui/material/GlobalStyles";
14
+ import { useOwpTreeGridOverlayFrame as Tr } from "./internal/hooks/useOwpTreeGridOverlayFrame.js";
15
+ import { bindTreeGridEvents as yr, getTreeGridBodyDataCount as Y, buildTreeGridInitializationOptions as gr, hasTreeGridDisplayDataRows as qe, replaceTreeGridBodyData as vr, TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS as Gr } from "./internal/treeGridRuntime.js";
16
+ import { applyTreeGridLayoutToGrid as Cr } from "./internal/treeGridLayout.js";
17
+ import { OwpTreeGridLoadingOverlay as Er } from "./internal/OwpTreeGridLoadingOverlay.js";
18
+ import { OwpTreeGridNoDataOverlay as Br } from "./internal/OwpTreeGridNoDataOverlay.js";
19
+ import { resolveTreeGridColumnEditRuleLookup as Ue, createTreeGridColumnEditRulesState as Dr, syncTreeGridColumnEditRules as br } from "./internal/treeGridColumnEditRules.js";
20
+ import { createTreeGridThemeContainerStyle as Ir, TREE_GRID_THEME_WRAPPER_CLASS as Lr, TREE_GRID_THEME_TABLE_RADIUS_CLASS as _r, treeGridThemeStyles as wr } from "./internal/treeGridTheme.js";
21
+ import { isEmpty as A } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
22
+ import { delay as Or } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js";
22
23
  import { isEqual as We } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqual.js";
23
- import { omit as Lr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/omit.js";
24
- const Xr = /* @__PURE__ */ a(({
24
+ import { omit as hr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/omit.js";
25
+ const tt = /* @__PURE__ */ a(({
25
26
  id: r = "treeGridWrapper",
26
27
  containerStyle: l,
27
28
  containerClassName: Fe,
28
- toolbarRowBackgroundColor: K,
29
+ toolbarRowBackgroundColor: J,
29
30
  className: ze,
30
31
  style: Ye,
31
- height: Q = "100%",
32
- width: U = "100%",
32
+ height: K = "100%",
33
+ width: Q = "100%",
33
34
  canUseTableRadius: X = !1,
34
35
  tableBorderRadius: Je = ".8rem",
35
36
  layoutUrl: Ke,
36
37
  layoutData: Qe,
37
- dataUrl: Ue,
38
- layoutOverrides: A,
38
+ dataUrl: Xe,
39
+ layoutOverrides: S,
39
40
  data: o,
40
41
  useDataUrl: Z,
41
42
  onSelect: $,
@@ -48,50 +49,57 @@ const Xr = /* @__PURE__ */ a(({
48
49
  onSave: se,
49
50
  onReady: ue,
50
51
  onAfterValueChanged: le,
51
- columnEditRules: m,
52
+ columnEditRules: p,
52
53
  highlightEditableCells: ae = !0,
53
54
  highlightChangedCells: ce = !0,
54
55
  syncDeletedRowCanEdit: de = !0,
55
- loading: Xe,
56
+ confirmDeletedRowRemoval: Ze = !0,
57
+ loading: $e,
56
58
  showLoading: n = !0
57
59
  }) => {
58
- var _e, Oe;
59
- const { t: S } = ur(), H = sr(), k = (Oe = (_e = H == null ? void 0 : H.theme) == null ? void 0 : _e.main) == null ? void 0 : Oe.grid, i = e(null), fe = e(null), me = e(null), P = e(null), M = e(A), pe = e(o), N = e(
60
- m
60
+ var we, Oe;
61
+ const { t: c } = cr(), { confirmDelete: er } = fr(), H = ar(), k = (Oe = (we = H == null ? void 0 : H.theme) == null ? void 0 : we.main) == null ? void 0 : Oe.grid, i = e(null), fe = e(null), me = e(null), M = e(null), P = e(S), pe = e(o), N = e(
62
+ p
61
63
  ), x = e(
62
- qe(m, {
63
- hourMinuteInvalidText: S("Message.시간은 HH:mm 형식으로 입력해주세요.")
64
+ Ue(p, {
65
+ hourMinuteInvalidText: c("Message.시간은 HH:mm 형식으로 입력해주세요.")
64
66
  })
65
- ), Re = e({
67
+ ), Re = Ze ? async () => await er({
68
+ title: c("Message.삭제된 항목을 완전히 삭제하시겠습니까?"),
69
+ description: c("Message.취소하면 삭제 상태가 해제됩니다."),
70
+ okText: c("Button.완전 삭제")
71
+ }) ? "remove" : "undelete" : void 0, Te = e({
66
72
  onSelect: $,
67
73
  onRowClick: ee,
68
74
  onRowAdd: re,
69
75
  onRowDelete: te,
76
+ onBeforeRowUndelete: Re,
70
77
  onRowUndelete: oe,
71
78
  onRowChange: ne,
72
79
  onClickButton: ie,
73
80
  onSave: se,
74
81
  onReady: ue,
75
82
  onAfterValueChanged: le
76
- }), p = e(void 0), V = e(!1), C = e(void 0), E = e(void 0), b = e(
83
+ }), R = e(void 0), V = e(!1), E = e(void 0), B = e(void 0), D = e(
77
84
  void 0
78
- ), Te = e(vr()), Ze = e(!1), R = e(0), c = e(null), T = e(void 0), y = e(void 0), ye = e(ae), ge = e(ce), Ge = e(de), [j, $e] = Y(!1), [er, g] = Y(!1), [rr, ve] = Y(!1), D = lr(), s = ar(
79
- () => ir(k),
85
+ ), ye = e(Dr()), rr = e(!1), T = e(0), d = e(null), y = e(void 0), g = e(void 0), ge = e(ae), ve = e(ce), Ge = e(de), [j, tr] = z(!1), [or, v] = z(!1), [nr, Ce] = z(!1), b = dr(), s = mr(
86
+ () => lr(k),
80
87
  [k]
81
- ), Ce = e(
82
- O(s.editable.backgroundColor) ?? O(ke)
83
88
  ), Ee = e(
89
+ O(s.editable.backgroundColor) ?? O(Me)
90
+ ), Be = e(
84
91
  s.changed.backgroundColor ?? Pe
85
- ), be = e(s.state.selectedCellBackgroundColor), De = e(s.state.hoverCellBackgroundColor), Be = e(D.id), tr = n && o !== void 0 && j && E.current !== o, q = n && Xe === !0 || n && (er || tr), W = !q && o !== void 0 && h(o) && !rr, Ie = /* @__PURE__ */ a((t) => {
86
- ve(je(t));
92
+ ), De = e(s.state.selectedCellBackgroundColor), be = e(s.state.hoverCellBackgroundColor), Ie = e(b.id), ir = n && o !== void 0 && j && B.current !== o, q = n && $e === !0 || n && (or || ir), U = !q && o !== void 0 && A(o) && !nr, Le = /* @__PURE__ */ a((t) => {
93
+ Ce(qe(t));
87
94
  }, "syncHasDisplayDataRows");
88
- M.current = A, pe.current = o, N.current = m, x.current = qe(m, {
89
- hourMinuteInvalidText: S("Message.시간은 HH:mm 형식으로 입력해주세요.")
90
- }), ye.current = ae, ge.current = ce, Ge.current = de, Ce.current = O(s.editable.backgroundColor) ?? O(ke), Ee.current = s.changed.backgroundColor ?? Pe, be.current = s.state.selectedCellBackgroundColor, De.current = s.state.hoverCellBackgroundColor, Re.current = {
95
+ P.current = S, pe.current = o, N.current = p, x.current = Ue(p, {
96
+ hourMinuteInvalidText: c("Message.시간은 HH:mm 형식으로 입력해주세요.")
97
+ }), ge.current = ae, ve.current = ce, Ge.current = de, Ee.current = O(s.editable.backgroundColor) ?? O(Me), Be.current = s.changed.backgroundColor ?? Pe, De.current = s.state.selectedCellBackgroundColor, be.current = s.state.hoverCellBackgroundColor, Te.current = {
91
98
  onSelect: $,
92
99
  onRowClick: ee,
93
100
  onRowAdd: re,
94
101
  onRowDelete: te,
102
+ onBeforeRowUndelete: Re,
95
103
  onRowUndelete: oe,
96
104
  onRowChange: ne,
97
105
  onClickButton: ie,
@@ -99,163 +107,163 @@ const Xr = /* @__PURE__ */ a(({
99
107
  onReady: ue,
100
108
  onAfterValueChanged: le
101
109
  };
102
- const Le = fr({
103
- visible: q || W,
110
+ const _e = Tr({
111
+ visible: q || U,
104
112
  containerRef: fe,
105
113
  treeGridInstanceRef: i,
106
114
  debugId: r
107
- }), B = /* @__PURE__ */ a(() => {
108
- T.current !== void 0 && (window.clearTimeout(T.current), T.current = void 0);
109
- }, "clearBindingLoadingHideTimeout"), F = /* @__PURE__ */ a(() => {
115
+ }), I = /* @__PURE__ */ a(() => {
110
116
  y.current !== void 0 && (window.clearTimeout(y.current), y.current = void 0);
117
+ }, "clearBindingLoadingHideTimeout"), W = /* @__PURE__ */ a(() => {
118
+ g.current !== void 0 && (window.clearTimeout(g.current), g.current = void 0);
111
119
  }, "clearBodyReloadStartTimeout");
112
- w(() => {
120
+ h(() => {
113
121
  const t = /* @__PURE__ */ a((u) => {
114
- var d;
115
- ((d = u.detail) == null ? void 0 : d.gridId) === r && ve(je(i.current));
122
+ var f;
123
+ ((f = u.detail) == null ? void 0 : f.gridId) === r && Ce(qe(i.current));
116
124
  }, "handleBodyRowsChanged");
117
- return window.addEventListener(Me, t), () => {
118
- window.removeEventListener(Me, t);
125
+ return window.addEventListener(Ne, t), () => {
126
+ window.removeEventListener(Ne, t);
119
127
  };
120
- }, [r]), w(() => {
121
- n || (F(), B(), c.current = null, g(!1));
122
- }, [n]), w(() => {
128
+ }, [r]), h(() => {
129
+ n || (W(), I(), d.current = null, v(!1));
130
+ }, [n]), h(() => {
123
131
  var t;
124
- if (D.id !== Be.current && !h(i.current) && ((t = i.current) == null || t.Dispose(), i.current = null, Be.current = D.id), !!h(i.current))
125
- return mr({
132
+ if (b.id !== Ie.current && !A(i.current) && ((t = i.current) == null || t.Dispose(), i.current = null, Ie.current = b.id), !!A(i.current))
133
+ return yr({
126
134
  id: r,
127
- latestEventHandlersRef: Re,
128
- highlightEditableCellsRef: ye,
129
- highlightChangedCellsRef: ge,
135
+ latestEventHandlersRef: Te,
136
+ highlightEditableCellsRef: ge,
137
+ highlightChangedCellsRef: ve,
130
138
  syncDeletedRowCanEditRef: Ge,
131
- editableCellBackgroundColorValueRef: Ce,
132
- changedCellBackgroundColorRef: Ee,
133
- selectedCellBackgroundColorRef: be,
134
- hoverCellBackgroundColorRef: De,
139
+ editableCellBackgroundColorValueRef: Ee,
140
+ changedCellBackgroundColorRef: Be,
141
+ selectedCellBackgroundColorRef: De,
142
+ hoverCellBackgroundColorRef: be,
135
143
  treeGridInstanceRef: i,
136
144
  treeGridInitStartedAtRef: me,
137
- latestLayoutOverridesRef: M,
138
- appliedLayoutOverridesRef: C,
139
- appliedBodyDataPropRef: E,
145
+ latestLayoutOverridesRef: P,
146
+ appliedLayoutOverridesRef: E,
147
+ appliedBodyDataPropRef: B,
140
148
  latestColumnEditRulesRef: N,
141
149
  latestColumnEditRuleLookupRef: x,
142
- appliedColumnEditRulesRef: b,
143
- columnEditRulesStateRef: Te,
144
- hasAppliedInitialLayoutRef: Ze,
145
- syncHasDisplayDataRows: Ie,
146
- setIsTreeGridReady: $e
147
- }), me.current = z(), Ne(r, "init"), xe(r, "TreeGrid init start", {
150
+ appliedColumnEditRulesRef: D,
151
+ columnEditRulesStateRef: ye,
152
+ hasAppliedInitialLayoutRef: rr,
153
+ syncHasDisplayDataRows: Le,
154
+ setIsTreeGridReady: tr
155
+ }), me.current = F(), xe(r, "init"), Ve(r, "TreeGrid init start", {
148
156
  useDataUrl: !!Z,
149
- bodyRowCount: J(o)
157
+ bodyRowCount: Y(o)
150
158
  }), window.TreeGrid(
151
- pr({
159
+ gr({
152
160
  id: r,
153
161
  layoutUrl: Ke,
154
162
  layoutData: Qe,
155
- dataUrl: Ue,
163
+ dataUrl: Xe,
156
164
  bodyData: o,
157
165
  useDataUrl: Z,
158
- width: U,
159
- height: Q,
160
- languageId: D.id
166
+ width: Q,
167
+ height: K,
168
+ languageId: b.id
161
169
  }),
162
170
  r,
163
171
  r
164
172
  ), () => {
165
- Ir(() => {
173
+ Or(() => {
166
174
  var u;
167
175
  (u = i.current) == null || u.Dispose();
168
176
  }, 200);
169
177
  };
170
- }, []), cr(() => {
171
- const t = i.current, u = M.current, G = pe.current, d = N.current;
172
- if (h(t) || !j)
178
+ }, []), pr(() => {
179
+ const t = i.current, u = P.current, G = pe.current, f = N.current;
180
+ if (A(t) || !j)
173
181
  return;
174
- const we = C.current !== u && !We(C.current, u), L = E.current !== G && (!V.current || p.current !== G), he = b.current !== d && !We(b.current, d);
175
- if (!(!we && !L && !he)) {
176
- if (we) {
177
- const f = z();
178
- yr(t, u, L), C.current = u, Ve(r, "apply layout", f, {
179
- disableBodyReload: !!L
182
+ const he = E.current !== u && !We(E.current, u), _ = B.current !== G && (!V.current || R.current !== G), Ae = D.current !== f && !We(D.current, f);
183
+ if (!(!he && !_ && !Ae)) {
184
+ if (he) {
185
+ const m = F();
186
+ Cr(t, u, _), E.current = u, je(r, "apply layout", m, {
187
+ disableBodyReload: !!_
180
188
  });
181
189
  }
182
- if (L) {
183
- const f = R.current + 1, Ae = /* @__PURE__ */ a(() => {
184
- const v = p.current;
185
- y.current = void 0, P.current = z(), Ne(r, "reload"), xe(r, "ReloadBody start", {
186
- bodyRowCount: J(v)
187
- }), Rr(t, v, () => {
188
- if (R.current !== f)
190
+ if (_) {
191
+ const m = T.current + 1, Se = /* @__PURE__ */ a(() => {
192
+ const C = R.current;
193
+ g.current = void 0, M.current = F(), xe(r, "reload"), Ve(r, "ReloadBody start", {
194
+ bodyRowCount: Y(C)
195
+ }), vr(t, C, () => {
196
+ if (T.current !== m)
189
197
  return;
190
- E.current = v, Ie(t), Ve(r, "ReloadBody end", P.current, {
191
- bodyRowCount: J(v)
192
- }), P.current = null, p.current === v && (p.current = void 0, V.current = !1);
193
- const Se = c.current;
194
- if (!n || Se === null) {
195
- c.current = null, g(!1);
198
+ B.current = C, Le(t), je(r, "ReloadBody end", M.current, {
199
+ bodyRowCount: Y(C)
200
+ }), M.current = null, R.current === C && (R.current = void 0, V.current = !1);
201
+ const He = d.current;
202
+ if (!n || He === null) {
203
+ d.current = null, v(!1);
196
204
  return;
197
205
  }
198
- const He = Math.max(
206
+ const ke = Math.max(
199
207
  0,
200
- Tr - (Date.now() - Se)
208
+ Gr - (Date.now() - He)
201
209
  );
202
- if (B(), He === 0) {
203
- c.current = null, g(!1);
210
+ if (I(), ke === 0) {
211
+ d.current = null, v(!1);
204
212
  return;
205
213
  }
206
- T.current = window.setTimeout(() => {
207
- R.current === f && (T.current = void 0, c.current = null, g(!1));
208
- }, He);
214
+ y.current = window.setTimeout(() => {
215
+ T.current === m && (y.current = void 0, d.current = null, v(!1));
216
+ }, ke);
209
217
  });
210
218
  }, "runBodyReload");
211
- R.current = f, p.current = G, V.current = !0, n && G !== void 0 ? (F(), B(), c.current = Date.now(), g(!0), y.current = window.setTimeout(() => {
212
- R.current === f && Ae();
213
- }, 0)) : Ae();
219
+ T.current = m, R.current = G, V.current = !0, n && G !== void 0 ? (W(), I(), d.current = Date.now(), v(!0), g.current = window.setTimeout(() => {
220
+ T.current === m && Se();
221
+ }, 0)) : Se();
214
222
  }
215
- he && (Cr(
223
+ Ae && (br(
216
224
  t,
217
225
  x.current,
218
- Te.current
219
- ), b.current = d);
226
+ ye.current
227
+ ), D.current = f);
220
228
  }
221
- }, [j, A, o, m, n, r]), w(() => () => {
222
- F(), B();
229
+ }, [j, S, o, p, n, r]), h(() => () => {
230
+ W(), I();
223
231
  }, []);
224
- const I = Er({
225
- width: U,
226
- height: Q,
232
+ const L = Ir({
233
+ width: Q,
234
+ height: K,
227
235
  treeGridTheme: s,
228
236
  gridThemeConfig: k,
229
237
  containerStyle: l,
230
238
  tableBorderRadius: X ? Je : void 0
231
239
  });
232
- return K !== void 0 && (I["--owp-tree-grid-toolbar-row-background-color"] = String(K)), (n || W) && (I.position = l != null && l.position && l.position !== "static" ? l.position : "relative", I.isolation = "isolate"), /* @__PURE__ */ nr(
240
+ return J !== void 0 && (L["--owp-tree-grid-toolbar-row-background-color"] = String(J)), (n || U) && (L.position = l != null && l.position && l.position !== "static" ? l.position : "relative", L.isolation = "isolate"), /* @__PURE__ */ ur(
233
241
  "div",
234
242
  {
235
243
  ref: fe,
236
244
  className: [
237
- br,
238
- X && Dr,
245
+ Lr,
246
+ X && _r,
239
247
  Fe
240
248
  ].filter(Boolean).join(" "),
241
- style: I,
249
+ style: L,
242
250
  children: [
243
- /* @__PURE__ */ _(dr, { styles: Br }),
244
- /* @__PURE__ */ _("div", { id: r, className: ze, style: Lr(Ye, ["height", "width"]) }),
245
- /* @__PURE__ */ _(
246
- Gr,
251
+ /* @__PURE__ */ w(Rr, { styles: wr }),
252
+ /* @__PURE__ */ w("div", { id: r, className: ze, style: hr(Ye, ["height", "width"]) }),
253
+ /* @__PURE__ */ w(
254
+ Br,
247
255
  {
248
- visible: W,
249
- message: S("Message.조회된 결과가 없습니다."),
250
- overlayFrame: Le
256
+ visible: U,
257
+ message: c("Message.조회된 결과가 없습니다."),
258
+ overlayFrame: _e
251
259
  }
252
260
  ),
253
- /* @__PURE__ */ _(gr, { visible: q, overlayFrame: Le })
261
+ /* @__PURE__ */ w(Er, { visible: q, overlayFrame: _e })
254
262
  ]
255
263
  }
256
264
  );
257
265
  }, "OwpTreeGrid");
258
266
  export {
259
- Xr as OwpTreeGrid
267
+ tt as OwpTreeGrid
260
268
  };
261
269
  //# sourceMappingURL=OwpTreeGrid.js.map