@owp/core 2.2.0 → 2.2.2
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.
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index11.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +5 -2
- package/dist/_virtual/index16.js.map +1 -1
- package/dist/_virtual/index17.js +2 -2
- package/dist/_virtual/index5.js +2 -5
- package/dist/_virtual/index5.js.map +1 -1
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +137 -134
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGridNoDataOverlay.js +3 -4
- package/dist/components/OwpTreeGrid/OwpTreeGridNoDataOverlay.js.map +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/.pnpm/react-imask@7.6.1_react@19.2.4/node_modules/react-imask/esm/mixin.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- 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
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +2 -1
- package/dist/utils/exceljsBrowser.js +6 -6
- package/dist/utils/exceljsBrowser.js.map +1 -1
- package/dist/utils/jszipBrowser.js +6 -6
- package/dist/utils/jszipBrowser.js.map +1 -1
- package/dist/utils/treeGridExportExcelUtil.js +306 -268
- package/dist/utils/treeGridExportExcelUtil.js.map +1 -1
- package/package.json +1 -3
- package/dist/_virtual/_commonjs-dynamic-modules.js +0 -10
- package/dist/_virtual/_commonjs-dynamic-modules.js.map +0 -1
- package/dist/_virtual/exceljs.min.js +0 -31
- package/dist/_virtual/exceljs.min.js.map +0 -1
- package/dist/_virtual/exceljs.min2.js +0 -5
- package/dist/_virtual/exceljs.min2.js.map +0 -1
- package/dist/_virtual/jszip.min.js +0 -31
- package/dist/_virtual/jszip.min.js.map +0 -1
- package/dist/_virtual/jszip.min2.js +0 -5
- package/dist/_virtual/jszip.min2.js.map +0 -1
- package/dist/node_modules/.pnpm/exceljs@4.4.0/node_modules/exceljs/dist/exceljs.min.js +0 -23540
- package/dist/node_modules/.pnpm/exceljs@4.4.0/node_modules/exceljs/dist/exceljs.min.js.map +0 -1
- package/dist/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js +0 -2385
- package/dist/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js.map +0 -1
package/dist/_virtual/index10.js
CHANGED
package/dist/_virtual/index11.js
CHANGED
package/dist/_virtual/index13.js
CHANGED
package/dist/_virtual/index14.js
CHANGED
package/dist/_virtual/index15.js
CHANGED
package/dist/_virtual/index16.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as o } from "../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js";
|
|
3
|
+
var p = /* @__PURE__ */ o();
|
|
4
|
+
const s = /* @__PURE__ */ r(p);
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
s as default
|
|
4
7
|
};
|
|
5
8
|
//# sourceMappingURL=index16.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index16.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index16.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/_virtual/index17.js
CHANGED
package/dist/_virtual/index5.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as o } from "../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js";
|
|
3
|
-
var p = /* @__PURE__ */ o();
|
|
4
|
-
const s = /* @__PURE__ */ r(p);
|
|
1
|
+
var r = {};
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
r as __exports
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=index5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index5.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/_virtual/index6.js
CHANGED
package/dist/_virtual/index7.js
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { useOwpTranslation as
|
|
5
|
-
import { useGetCurrentLanguage as
|
|
6
|
-
import { useRef as
|
|
7
|
-
import { useOwpTreeGridOverlayFrame as
|
|
8
|
-
import { OwpTreeGridLoadingOverlay as
|
|
9
|
-
import { OwpTreeGridNoDataOverlay as
|
|
10
|
-
import { applyTreeGridLayoutToGrid as
|
|
1
|
+
var ye = Object.defineProperty;
|
|
2
|
+
var i = (e, n) => ye(e, "name", { value: n, configurable: !0 });
|
|
3
|
+
import { jsxs as Ge, jsx as Y } 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 { useOwpTranslation as De } from "../../hooks/useOwpTranslation.js";
|
|
5
|
+
import { useGetCurrentLanguage as Re } from "../../hooks/useCurrentLanguage.js";
|
|
6
|
+
import { useRef as o, useState as ce, useEffect as Z, useLayoutEffect as we } from "react";
|
|
7
|
+
import { useOwpTreeGridOverlayFrame as Ee } from "./hooks/useOwpTreeGridOverlayFrame.js";
|
|
8
|
+
import { OwpTreeGridLoadingOverlay as Oe } from "./OwpTreeGridLoadingOverlay.js";
|
|
9
|
+
import { OwpTreeGridNoDataOverlay as ge } from "./OwpTreeGridNoDataOverlay.js";
|
|
10
|
+
import { applyTreeGridLayoutToGrid as fe } from "./utils/index.js";
|
|
11
11
|
import { isEmpty as B } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
|
|
12
|
-
import { delay as
|
|
13
|
-
import { isEqual as
|
|
14
|
-
import { omit as
|
|
12
|
+
import { delay as be } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js";
|
|
13
|
+
import { isEqual as Be } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqual.js";
|
|
14
|
+
import { omit as Ie } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/omit.js";
|
|
15
15
|
import { debounce as $ } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/debounce.js";
|
|
16
|
-
import { get as
|
|
17
|
-
const
|
|
16
|
+
import { get as Se } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/get.js";
|
|
17
|
+
const Le = 300, ae = {
|
|
18
18
|
en: "/assets/vendors/Grid/TextEN.xml",
|
|
19
19
|
kr: "/assets/vendors/Grid/TextKR.xml"
|
|
20
|
-
},
|
|
20
|
+
}, de = /* @__PURE__ */ i((e) => `${e}?noCache=${Date.now()}`, "appendNoCacheQuery"), xe = /* @__PURE__ */ i((e) => e === "kr" ? ae.kr : ae.en, "getTreeGridTextResourceUrl"), Ce = /* @__PURE__ */ i((e) => e != null && e.includes("assets") ? de(e) : (
|
|
21
21
|
// @ts-expect-error - API base URL env is provided by host app
|
|
22
22
|
`undefined/${e}?noCache=${Date.now()}`
|
|
23
|
-
), "resolveTreeGridDataUrl"),
|
|
23
|
+
), "resolveTreeGridDataUrl"), _e = /* @__PURE__ */ i((e, n, s) => e ? { Url: Ce(n) } : { Data: { Body: [B(s) ? [] : s] } }, "buildTreeGridDataSource"), Ne = /* @__PURE__ */ i(({
|
|
24
24
|
id: e,
|
|
25
25
|
layoutUrl: n,
|
|
26
26
|
dataUrl: s,
|
|
27
27
|
bodyData: f,
|
|
28
|
-
useDataUrl:
|
|
28
|
+
useDataUrl: d,
|
|
29
29
|
width: p,
|
|
30
|
-
height:
|
|
31
|
-
languageId:
|
|
30
|
+
height: y,
|
|
31
|
+
languageId: G
|
|
32
32
|
}) => ({
|
|
33
33
|
id: e,
|
|
34
|
-
Layout: { Url:
|
|
35
|
-
Data:
|
|
34
|
+
Layout: { Url: de(n ?? "") },
|
|
35
|
+
Data: _e(d, s, f),
|
|
36
36
|
Text: {
|
|
37
|
-
Url:
|
|
37
|
+
Url: xe(G)
|
|
38
38
|
},
|
|
39
39
|
width: p,
|
|
40
|
-
height:
|
|
40
|
+
height: y,
|
|
41
41
|
Debug: "Error"
|
|
42
|
-
}), "buildTreeGridInitializationOptions"),
|
|
43
|
-
var
|
|
44
|
-
const f = (
|
|
42
|
+
}), "buildTreeGridInitializationOptions"), Ve = /* @__PURE__ */ i((e) => Se(e, "Data.Data.Data.Body.0"), "getTreeGridBodyData"), Pe = /* @__PURE__ */ i((e, n, s) => {
|
|
43
|
+
var d;
|
|
44
|
+
const f = (d = e.Data) == null ? void 0 : d.Data;
|
|
45
45
|
e.Data.Data = {
|
|
46
46
|
...f,
|
|
47
47
|
Data: { Body: [n || []] },
|
|
48
48
|
Url: ""
|
|
49
49
|
}, e.ReloadBody(s);
|
|
50
|
-
}, "replaceTreeGridBodyData"),
|
|
50
|
+
}, "replaceTreeGridBodyData"), $e = /* @__PURE__ */ i(({
|
|
51
51
|
id: e,
|
|
52
52
|
onSelect: n,
|
|
53
53
|
onRowClick: s,
|
|
54
54
|
onRowAdd: f,
|
|
55
|
-
onRowDelete:
|
|
55
|
+
onRowDelete: d,
|
|
56
56
|
onRowUndelete: p,
|
|
57
|
-
onRowChange:
|
|
58
|
-
onClickButton:
|
|
59
|
-
onSave:
|
|
57
|
+
onRowChange: y,
|
|
58
|
+
onClickButton: G,
|
|
59
|
+
onSave: I,
|
|
60
60
|
onReady: m,
|
|
61
|
-
onAfterValueChanged:
|
|
62
|
-
treeGridInstanceRef:
|
|
63
|
-
latestLayoutOverridesRef:
|
|
64
|
-
appliedLayoutOverridesRef:
|
|
65
|
-
appliedBodyDataPropRef:
|
|
61
|
+
onAfterValueChanged: a,
|
|
62
|
+
treeGridInstanceRef: A,
|
|
63
|
+
latestLayoutOverridesRef: M,
|
|
64
|
+
appliedLayoutOverridesRef: k,
|
|
65
|
+
appliedBodyDataPropRef: q,
|
|
66
66
|
hasAppliedInitialLayoutRef: S,
|
|
67
67
|
setIsTreeGridReady: H
|
|
68
68
|
}) => {
|
|
69
|
-
const
|
|
69
|
+
const L = a ?? y;
|
|
70
70
|
window.TGSetEvent("OnRowAdd", e, (t, r) => {
|
|
71
71
|
r.CanEdit = 1, r.CanDelete = 1, f == null || f(t, r);
|
|
72
72
|
}), typeof s == "function" && window.TGSetEvent(
|
|
73
73
|
"OnClick",
|
|
74
74
|
e,
|
|
75
|
-
$((t, r, u,
|
|
76
|
-
s(t, r, u,
|
|
75
|
+
$((t, r, u, v, h, c) => {
|
|
76
|
+
s(t, r, u, v, h, c);
|
|
77
77
|
}, 300)
|
|
78
|
-
), typeof
|
|
78
|
+
), typeof G == "function" && window.TGSetEvent(
|
|
79
79
|
"OnClickButton",
|
|
80
80
|
e,
|
|
81
|
-
$((t, r, u,
|
|
82
|
-
|
|
81
|
+
$((t, r, u, v) => {
|
|
82
|
+
G(t, r, u, v);
|
|
83
83
|
}, 300)
|
|
84
|
-
), typeof
|
|
85
|
-
|
|
84
|
+
), typeof d == "function" && window.TGSetEvent("OnRowDelete", e, (t, r, u) => {
|
|
85
|
+
d(t, r, u);
|
|
86
86
|
}), typeof p == "function" && window.TGSetEvent("OnRowUndelete", e, (t, r) => {
|
|
87
87
|
p(t, r);
|
|
88
|
-
}), typeof
|
|
89
|
-
|
|
88
|
+
}), typeof L == "function" && window.TGSetEvent("OnAfterValueChanged", e, (t, r, u, v) => {
|
|
89
|
+
L(t, r, u, v);
|
|
90
90
|
}), typeof n == "function" && window.TGSetEvent(
|
|
91
91
|
"OnSelect",
|
|
92
92
|
e,
|
|
@@ -94,150 +94,153 @@ const Be = 300, se = {
|
|
|
94
94
|
const r = t.GetSelRows() ?? [];
|
|
95
95
|
n(r);
|
|
96
96
|
}, 100)
|
|
97
|
-
), typeof
|
|
98
|
-
|
|
97
|
+
), typeof I == "function" && window.TGSetEvent("OnSave", e, (t, r, u) => {
|
|
98
|
+
I(t, r, u);
|
|
99
99
|
}), window.TGSetEvent(
|
|
100
100
|
"OnReady",
|
|
101
101
|
e,
|
|
102
102
|
$((t) => {
|
|
103
103
|
if (!S.current) {
|
|
104
|
-
const r =
|
|
105
|
-
S.current = !0,
|
|
104
|
+
const r = M.current;
|
|
105
|
+
S.current = !0, fe(t, r), A.current = t, k.current = r, q.current = Ve(t), H(!0), m == null || m(t);
|
|
106
106
|
}
|
|
107
107
|
}, 100)
|
|
108
108
|
);
|
|
109
|
-
}, "bindTreeGridEvents"),
|
|
109
|
+
}, "bindTreeGridEvents"), Ze = /* @__PURE__ */ i(({
|
|
110
110
|
id: e = "treeGridWrapper",
|
|
111
111
|
containerStyle: n,
|
|
112
112
|
containerClassName: s,
|
|
113
113
|
className: f,
|
|
114
|
-
style:
|
|
114
|
+
style: d,
|
|
115
115
|
height: p = "100%",
|
|
116
|
-
width:
|
|
117
|
-
layoutUrl:
|
|
118
|
-
dataUrl:
|
|
116
|
+
width: y = "100%",
|
|
117
|
+
layoutUrl: G,
|
|
118
|
+
dataUrl: I,
|
|
119
119
|
layoutOverrides: m,
|
|
120
|
-
data:
|
|
121
|
-
useDataUrl:
|
|
122
|
-
onSelect:
|
|
123
|
-
onRowClick:
|
|
124
|
-
onRowAdd:
|
|
120
|
+
data: a,
|
|
121
|
+
useDataUrl: A,
|
|
122
|
+
onSelect: M,
|
|
123
|
+
onRowClick: k,
|
|
124
|
+
onRowAdd: q,
|
|
125
125
|
onRowDelete: S,
|
|
126
126
|
onRowUndelete: H,
|
|
127
|
-
onRowChange:
|
|
127
|
+
onRowChange: L,
|
|
128
128
|
onClickButton: t,
|
|
129
129
|
onSave: r,
|
|
130
130
|
onReady: u,
|
|
131
|
-
onAfterValueChanged:
|
|
132
|
-
|
|
131
|
+
onAfterValueChanged: v,
|
|
132
|
+
loading: h,
|
|
133
|
+
showLoading: c = !0
|
|
133
134
|
}) => {
|
|
134
|
-
const { t:
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
visible:
|
|
138
|
-
containerRef:
|
|
139
|
-
treeGridInstanceRef:
|
|
140
|
-
}),
|
|
141
|
-
R.current !== void 0 && (window.clearTimeout(R.current), R.current = void 0);
|
|
142
|
-
}, "clearBindingLoadingHideTimeout"), z = /* @__PURE__ */ o(() => {
|
|
135
|
+
const { t: le } = De(), l = o(null), ee = o(null), j = o(m), te = o(a), w = o(void 0), F = o(!1), x = o(void 0), C = o(void 0), pe = o(!1), E = o(0), D = o(null), O = o(void 0), g = o(void 0), [U, me] = ce(!1), [ve, b] = ce(!1), _ = Re(), re = o(_.id), Te = c && a !== void 0 && U && C.current !== a, z = c && h === !0 || c && (ve || Te), K = !z && a !== void 0 && B(a);
|
|
136
|
+
j.current = m, te.current = a;
|
|
137
|
+
const ne = Ee({
|
|
138
|
+
visible: z || K,
|
|
139
|
+
containerRef: ee,
|
|
140
|
+
treeGridInstanceRef: l
|
|
141
|
+
}), N = /* @__PURE__ */ i(() => {
|
|
143
142
|
O.current !== void 0 && (window.clearTimeout(O.current), O.current = void 0);
|
|
143
|
+
}, "clearBindingLoadingHideTimeout"), Q = /* @__PURE__ */ i(() => {
|
|
144
|
+
g.current !== void 0 && (window.clearTimeout(g.current), g.current = void 0);
|
|
144
145
|
}, "clearBodyReloadStartTimeout");
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}, [
|
|
148
|
-
var
|
|
149
|
-
if (
|
|
150
|
-
return
|
|
146
|
+
Z(() => {
|
|
147
|
+
c || (Q(), N(), D.current = null, b(!1));
|
|
148
|
+
}, [c]), Z(() => {
|
|
149
|
+
var R;
|
|
150
|
+
if (_.id !== re.current && !B(l.current) && ((R = l.current) == null || R.Dispose(), l.current = null, re.current = _.id), !!B(l.current))
|
|
151
|
+
return $e({
|
|
151
152
|
id: e,
|
|
152
|
-
onSelect:
|
|
153
|
-
onRowClick:
|
|
154
|
-
onRowAdd:
|
|
153
|
+
onSelect: M,
|
|
154
|
+
onRowClick: k,
|
|
155
|
+
onRowAdd: q,
|
|
155
156
|
onRowDelete: S,
|
|
156
157
|
onRowUndelete: H,
|
|
157
|
-
onRowChange:
|
|
158
|
+
onRowChange: L,
|
|
158
159
|
onClickButton: t,
|
|
159
160
|
onSave: r,
|
|
160
161
|
onReady: u,
|
|
161
|
-
onAfterValueChanged:
|
|
162
|
-
treeGridInstanceRef:
|
|
163
|
-
latestLayoutOverridesRef:
|
|
164
|
-
appliedLayoutOverridesRef:
|
|
165
|
-
appliedBodyDataPropRef:
|
|
166
|
-
hasAppliedInitialLayoutRef:
|
|
167
|
-
setIsTreeGridReady:
|
|
162
|
+
onAfterValueChanged: v,
|
|
163
|
+
treeGridInstanceRef: l,
|
|
164
|
+
latestLayoutOverridesRef: j,
|
|
165
|
+
appliedLayoutOverridesRef: x,
|
|
166
|
+
appliedBodyDataPropRef: C,
|
|
167
|
+
hasAppliedInitialLayoutRef: pe,
|
|
168
|
+
setIsTreeGridReady: me
|
|
168
169
|
}), window.TreeGrid(
|
|
169
|
-
|
|
170
|
+
Ne({
|
|
170
171
|
id: e,
|
|
171
|
-
layoutUrl:
|
|
172
|
-
dataUrl:
|
|
173
|
-
bodyData:
|
|
174
|
-
useDataUrl:
|
|
175
|
-
width:
|
|
172
|
+
layoutUrl: G,
|
|
173
|
+
dataUrl: I,
|
|
174
|
+
bodyData: a,
|
|
175
|
+
useDataUrl: A,
|
|
176
|
+
width: y,
|
|
176
177
|
height: p,
|
|
177
|
-
languageId:
|
|
178
|
+
languageId: _.id
|
|
178
179
|
}),
|
|
179
180
|
e,
|
|
180
181
|
e
|
|
181
182
|
), () => {
|
|
182
|
-
|
|
183
|
-
var
|
|
184
|
-
(
|
|
183
|
+
be(() => {
|
|
184
|
+
var T;
|
|
185
|
+
(T = l.current) == null || T.Dispose();
|
|
185
186
|
}, 200);
|
|
186
187
|
};
|
|
187
|
-
}, []),
|
|
188
|
-
const
|
|
189
|
-
if (B(
|
|
188
|
+
}, []), we(() => {
|
|
189
|
+
const R = l.current, T = j.current, V = te.current;
|
|
190
|
+
if (B(R) || !U)
|
|
190
191
|
return;
|
|
191
|
-
const
|
|
192
|
-
if (!(!
|
|
193
|
-
const
|
|
194
|
-
|
|
195
|
-
|
|
192
|
+
const oe = x.current !== T && !Be(x.current, T), X = C.current !== V && (!F.current || w.current !== V);
|
|
193
|
+
if (!(!oe && !X) && (oe && (fe(R, T, X), x.current = T), X)) {
|
|
194
|
+
const P = E.current + 1, ie = /* @__PURE__ */ i(() => {
|
|
195
|
+
const J = w.current;
|
|
196
|
+
g.current = void 0, Pe(R, J, () => {
|
|
197
|
+
if (E.current !== P)
|
|
196
198
|
return;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
199
|
+
C.current = J, w.current === J && (w.current = void 0, F.current = !1);
|
|
200
|
+
const se = D.current;
|
|
201
|
+
if (!c || se === null) {
|
|
202
|
+
D.current = null, b(!1);
|
|
200
203
|
return;
|
|
201
204
|
}
|
|
202
|
-
const
|
|
205
|
+
const ue = Math.max(
|
|
203
206
|
0,
|
|
204
|
-
|
|
207
|
+
Le - (Date.now() - se)
|
|
205
208
|
);
|
|
206
|
-
if (
|
|
207
|
-
D.current = null,
|
|
209
|
+
if (N(), ue === 0) {
|
|
210
|
+
D.current = null, b(!1);
|
|
208
211
|
return;
|
|
209
212
|
}
|
|
210
|
-
|
|
211
|
-
E.current ===
|
|
212
|
-
},
|
|
213
|
+
O.current = window.setTimeout(() => {
|
|
214
|
+
E.current === P && (O.current = void 0, D.current = null, b(!1));
|
|
215
|
+
}, ue);
|
|
213
216
|
});
|
|
214
217
|
}, "runBodyReload");
|
|
215
|
-
E.current = V,
|
|
216
|
-
E.current ===
|
|
217
|
-
}, 0)) :
|
|
218
|
+
E.current = P, w.current = V, F.current = !0, c && V !== void 0 ? (Q(), N(), D.current = Date.now(), b(!0), g.current = window.setTimeout(() => {
|
|
219
|
+
E.current === P && ie();
|
|
220
|
+
}, 0)) : ie();
|
|
218
221
|
}
|
|
219
|
-
}, [
|
|
220
|
-
|
|
222
|
+
}, [U, m, a, c]), Z(() => () => {
|
|
223
|
+
Q(), N();
|
|
221
224
|
}, []);
|
|
222
|
-
const
|
|
225
|
+
const W = {
|
|
223
226
|
height: p,
|
|
224
|
-
width:
|
|
227
|
+
width: y,
|
|
225
228
|
...n
|
|
226
229
|
};
|
|
227
|
-
return (
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
|
|
230
|
+
return (c || K) && (W.position = n != null && n.position && n.position !== "static" ? n.position : "relative", W.isolation = "isolate"), /* @__PURE__ */ Ge("div", { ref: ee, className: s, style: W, children: [
|
|
231
|
+
/* @__PURE__ */ Y("div", { id: e, className: f, style: Ie(d, ["height", "width"]) }),
|
|
232
|
+
/* @__PURE__ */ Y(
|
|
233
|
+
ge,
|
|
231
234
|
{
|
|
232
|
-
visible:
|
|
233
|
-
message:
|
|
234
|
-
overlayFrame:
|
|
235
|
+
visible: K,
|
|
236
|
+
message: le("Message.조회된 결과가 없습니다."),
|
|
237
|
+
overlayFrame: ne
|
|
235
238
|
}
|
|
236
239
|
),
|
|
237
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ Y(Oe, { visible: z, overlayFrame: ne })
|
|
238
241
|
] });
|
|
239
242
|
}, "OwpTreeGrid");
|
|
240
243
|
export {
|
|
241
|
-
|
|
244
|
+
Ze as OwpTreeGrid
|
|
242
245
|
};
|
|
243
246
|
//# sourceMappingURL=OwpTreeGrid.js.map
|