@owp/core 2.5.51 → 2.5.53
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/index16.js +4 -4
- package/dist/_virtual/index17.js +4 -4
- package/dist/_virtual/index18.js +4 -4
- package/dist/_virtual/index19.js +4 -4
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js +49 -32
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
- package/dist/components/OwpLoading/OwpLoading.js +7 -6
- package/dist/components/OwpLoading/OwpLoading.js.map +1 -1
- package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js +100 -28
- package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js.map +1 -1
- package/dist/components/OwpPageSkeleton/OwpPageSkeleton.js +4 -4
- package/dist/components/OwpSuspense/OwpSuspense.js +66 -60
- package/dist/components/OwpSuspense/OwpSuspense.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +352 -297
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +654 -604
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +516 -425
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/configs/theme.js +26 -22
- package/dist/configs/theme.js.map +1 -1
- package/dist/constants/gridTheme.js +40 -29
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/contexts/OwpUiProvider.js +37 -34
- package/dist/contexts/OwpUiProvider.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +8 -8
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +27 -27
- package/dist/features/themePreview/components/ThemePreviewColorField.js +4 -4
- package/dist/features/themePreview/components/ThemePreviewControls.js +8 -8
- package/dist/features/themePreview/configs/grid.js +5 -7
- package/dist/features/themePreview/configs/grid.js.map +1 -1
- package/dist/features/themePreview/configs/previewStorage.js +26 -32
- package/dist/features/themePreview/configs/previewStorage.js.map +1 -1
- package/dist/features/themePreview/configs/settings.js +13 -12
- package/dist/features/themePreview/configs/settings.js.map +1 -1
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +5 -5
- package/dist/features/themePreview/dialogs/index.js +5 -0
- package/dist/features/themePreview/dialogs/index.js.map +1 -0
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +4 -12
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewExport.js +48 -37
- package/dist/features/themePreview/utils/themePreviewExport.js.map +1 -1
- package/dist/hooks/internal/useNavigationActiveRouteRemount.js +19 -16
- package/dist/hooks/internal/useNavigationActiveRouteRemount.js.map +1 -1
- package/dist/hooks/internal/useRouteTransitionLoading.js +49 -0
- package/dist/hooks/internal/useRouteTransitionLoading.js.map +1 -0
- package/dist/index.js +67 -66
- package/dist/layout/Layout.js +107 -34
- package/dist/layout/Layout.js.map +1 -1
- package/dist/layout/components/navigation/NavBadge.js +8 -8
- package/dist/layout/components/navigation/NavBadge.js.map +1 -1
- package/dist/layout/components/navigation/NavItem.js +19 -15
- package/dist/layout/components/navigation/NavItem.js.map +1 -1
- package/dist/layout/components/navigation/Navigation.js +25 -22
- package/dist/layout/components/navigation/Navigation.js.map +1 -1
- package/dist/layout/components/navigation/NavigationMenu.js +25 -18
- package/dist/layout/components/navigation/NavigationMenu.js.map +1 -1
- package/dist/layout/components/navigation/vertical/NavVerticalLayout.js +69 -44
- package/dist/layout/components/navigation/vertical/NavVerticalLayout.js.map +1 -1
- package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js +71 -64
- package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js.map +1 -1
- package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js +15 -14
- package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js.map +1 -1
- package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js +16 -14
- package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js.map +1 -1
- package/dist/layout/components/navigation/vertical/types/NavVerticalLink.js +17 -12
- package/dist/layout/components/navigation/vertical/types/NavVerticalLink.js.map +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js +164 -165
- package/dist/layout/components/toggles/NavigationSearchToggle.js.map +1 -1
- package/dist/layout/components/toggles/NavigationShortcutsToggle.js +88 -95
- package/dist/layout/components/toggles/NavigationShortcutsToggle.js.map +1 -1
- package/dist/layout/components/toggles/ThemePreviewToggle.js +26 -27
- package/dist/layout/components/toggles/ThemePreviewToggle.js.map +1 -1
- package/dist/node_modules/.pnpm/inko@1.1.1/node_modules/inko/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/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/owp-app.css +1 -1
- package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +4 -0
- package/dist/types/components/OwpErrorBoundary/index.d.ts +1 -1
- package/dist/types/components/OwpNumberField/OwpNumberField.d.ts +2 -2
- package/dist/types/components/OwpPicker/internal/DatePickerInput.d.ts +1 -1
- package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +1 -0
- package/dist/types/components/OwpTable/internal/OwpTableBase.d.ts +1 -1
- package/dist/types/components/OwpTabs/OwpTab.d.ts +1 -1
- package/dist/types/components/OwpTabs/OwpTabs.d.ts +1 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +7 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +2 -0
- package/dist/types/configs/theme/index.d.ts +2 -0
- package/dist/types/constants/gridTheme.d.ts +4 -0
- package/dist/types/contexts/OwpAppContext.d.ts +1 -1
- package/dist/types/features/themePreview/configs/grid.d.ts +2 -4
- package/dist/types/features/themePreview/configs/settings.d.ts +14 -4
- package/dist/types/features/themePreview/utils/themePreviewExport.d.ts +1 -1
- package/dist/types/features/themePreview/utils/themePreviewSettings.d.ts +1 -1
- package/dist/types/hooks/internal/useRouteTransitionLoading.d.ts +27 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/layout/components/navigation/NavItem.d.ts +2 -3
- package/dist/types/layout/components/navigation/NavigationMenu.d.ts +5 -5
- package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +1 -1
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +1 -1
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +1 -1
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +1 -1
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +1 -1
- package/dist/types/store/atoms/owpSettingsAtoms.d.ts +1 -1
- package/dist/types/types/OwpGridThemeTypes.d.ts +4 -0
- package/dist/types/types/OwpSettingsTypes.d.ts +7 -0
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/utils/internal/navigationSearchUtils.d.ts +22 -0
- package/dist/types/utils/internal/navigationUtils.d.ts +22 -27
- package/dist/utils/internal/navigationSearchUtils.js +44 -0
- package/dist/utils/internal/navigationSearchUtils.js.map +1 -0
- package/dist/utils/internal/navigationUtils.js +38 -123
- package/dist/utils/internal/navigationUtils.js.map +1 -1
- package/dist/utils/treeGridUtil.js +123 -118
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/package.json +1 -2
- package/dist/features/themePreview.js +0 -76
- package/dist/features/themePreview.js.map +0 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +0 -14
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js.map +0 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/defaults.js +0 -24
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/defaults.js.map +0 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/string/trim.js +0 -10
- package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/string/trim.js.map +0 -1
- package/features/themePreview.d.ts +0 -3
- package/features/themePreview.js +0 -1
|
@@ -1,377 +1,432 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { resolveOwpGridTheme as
|
|
5
|
-
import { DEFAULT_TABLE_RADIUS as
|
|
6
|
-
import { resolveTreeGridColorNumber as
|
|
7
|
-
import { useGetCurrentSettings as
|
|
8
|
-
import { useOwpTranslation as
|
|
9
|
-
import { useGetCurrentLanguage as
|
|
10
|
-
import { useConfirm as
|
|
11
|
-
import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as
|
|
12
|
-
import { getTreeGridCellComparableValue as
|
|
13
|
-
import { getTreeGridPerfTimestamp as
|
|
14
|
-
import { useMemo as
|
|
15
|
-
import
|
|
16
|
-
import { useOwpTreeGridDatePickerEditor as
|
|
17
|
-
import { useOwpTreeGridErrorTooltip as
|
|
18
|
-
import { useOwpTreeGridAddedRowBoxOverlay as
|
|
19
|
-
import { useOwpTreeGridOverlayFrame as
|
|
20
|
-
import { useOwpTreeGridScrollRenderLoading as
|
|
21
|
-
import { hasTreeGridExplicitEnterMode as
|
|
22
|
-
import { applyTreeGridLayoutToGrid as
|
|
23
|
-
import { OwpTreeGridAddedRowBoxOverlay as
|
|
24
|
-
import { OwpTreeGridLoadingOverlay as
|
|
25
|
-
import { OwpTreeGridNoDataOverlay as
|
|
26
|
-
import { OwpTreeGridScrollLoadingOverlay as
|
|
27
|
-
import { createTreeGridThemeContainerStyle as
|
|
28
|
-
import { isEmpty as
|
|
29
|
-
import { isEqual as
|
|
30
|
-
import { omit as
|
|
31
|
-
import { isPlainObject as
|
|
32
|
-
const
|
|
1
|
+
var $r = Object.defineProperty;
|
|
2
|
+
var s = (e, t) => $r(e, "name", { value: t, configurable: !0 });
|
|
3
|
+
import { jsxs as qr, jsx as I } from "../../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
|
|
4
|
+
import { resolveOwpGridTheme as Kr } from "../../constants/gridTheme.js";
|
|
5
|
+
import { DEFAULT_TABLE_RADIUS as Jr } from "../../constants/table.js";
|
|
6
|
+
import { resolveTreeGridColorNumber as X, TREEGRID_INPUT_CELL_COLOR as Rr, TREEGRID_CELL_HIGHLIGHT_COLOR as pr } from "../../constants/treeGrid.js";
|
|
7
|
+
import { useGetCurrentSettings as Yr } from "../../hooks/useOwpSettings.js";
|
|
8
|
+
import { useOwpTranslation as Qr } from "../../hooks/useOwpTranslation.js";
|
|
9
|
+
import { useGetCurrentLanguage as Xr } from "../../hooks/internal/useCurrentLanguage.js";
|
|
10
|
+
import { useConfirm as Zr } from "../../hooks/useConfirm.js";
|
|
11
|
+
import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as Tr } from "../../utils/internal/treeGridBodyRowsEvent.js";
|
|
12
|
+
import { getTreeGridCellComparableValue as et } from "../../utils/treeGridUtil.js";
|
|
13
|
+
import { getTreeGridPerfTimestamp as pe, countTreeGridPerf as gr, logTreeGridPerf as Er, measureTreeGridPerf as vr } from "./internal/utils/perf.js";
|
|
14
|
+
import { useMemo as Gr, useRef as r, useState as _, useEffect as A, useLayoutEffect as rt } from "react";
|
|
15
|
+
import tt from "@mui/material/GlobalStyles";
|
|
16
|
+
import { useOwpTreeGridDatePickerEditor as nt } from "./internal/hooks/useOwpTreeGridDatePickerEditor.js";
|
|
17
|
+
import { useOwpTreeGridErrorTooltip as ot } from "./internal/hooks/useOwpTreeGridErrorTooltip.js";
|
|
18
|
+
import { useOwpTreeGridAddedRowBoxOverlay as it } from "./internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js";
|
|
19
|
+
import { useOwpTreeGridOverlayFrame as st } from "./internal/hooks/useOwpTreeGridOverlayFrame.js";
|
|
20
|
+
import { useOwpTreeGridScrollRenderLoading as at } from "./internal/hooks/useOwpTreeGridScrollRenderLoading.js";
|
|
21
|
+
import { hasTreeGridExplicitEnterMode as Cr, TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS as yr, bindTreeGridEvents as lt, getTreeGridBodyDataCount as Te, buildTreeGridInitializationOptions as ct, hasTreeGridDisplayDataRows as ge, replaceTreeGridBodyData as dt, syncTreeGridChangedCellHighlight as ut } from "./internal/treeGridRuntime.js";
|
|
22
|
+
import { applyTreeGridLayoutToGrid as ft } from "./internal/treeGridLayout.js";
|
|
23
|
+
import { OwpTreeGridAddedRowBoxOverlay as mt } from "./internal/OwpTreeGridAddedRowBoxOverlay.js";
|
|
24
|
+
import { OwpTreeGridLoadingOverlay as Rt } from "./internal/OwpTreeGridLoadingOverlay.js";
|
|
25
|
+
import { OwpTreeGridNoDataOverlay as pt } from "./internal/OwpTreeGridNoDataOverlay.js";
|
|
26
|
+
import { OwpTreeGridScrollLoadingOverlay as Tt } from "./internal/OwpTreeGridScrollLoadingOverlay.js";
|
|
27
|
+
import { createTreeGridThemeContainerStyle as gt, TREE_GRID_THEME_WRAPPER_CLASS as Et, TREE_GRID_THEME_TABLE_RADIUS_CLASS as vt, treeGridThemeStyles as Gt } from "./internal/treeGridTheme.js";
|
|
28
|
+
import { isEmpty as S } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
|
|
29
|
+
import { isEqual as Ct } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqual.js";
|
|
30
|
+
import { omit as yt } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/omit.js";
|
|
31
|
+
import { isPlainObject as ht } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js";
|
|
32
|
+
const bt = "NumberToString(count(5),',0')", Dt = ["Formula", "FormulaFormula"], Bt = Object.prototype.hasOwnProperty, hr = /* @__PURE__ */ s((e) => JSON.stringify(e) ?? '""', "toTreeGridFormulaStringLiteral"), wt = /* @__PURE__ */ s((e, t) => `${hr(
|
|
33
33
|
`${e} : `
|
|
34
|
-
)}+${
|
|
34
|
+
)}+${bt}+${hr(
|
|
35
35
|
` ${t}`
|
|
36
|
-
)}`, "buildTreeGridTotalCountToolbarFormula"),
|
|
37
|
-
(t) =>
|
|
38
|
-
) : !1, "hasTreeGridToolbarFormulaField"),
|
|
36
|
+
)}`, "buildTreeGridTotalCountToolbarFormula"), Lt = /* @__PURE__ */ s((e) => ht(e) ? Dt.some(
|
|
37
|
+
(t) => Bt.call(e, t)
|
|
38
|
+
) : !1, "hasTreeGridToolbarFormulaField"), Ot = /* @__PURE__ */ s((e) => {
|
|
39
39
|
const t = e == null ? void 0 : e.Visible;
|
|
40
40
|
return !!e && t !== 0 && t !== !1 && t !== "0";
|
|
41
|
-
}, "isVisibleTreeGridRow"),
|
|
41
|
+
}, "isVisibleTreeGridRow"), It = /* @__PURE__ */ s((e) => {
|
|
42
42
|
const t = e == null ? void 0 : e.Added;
|
|
43
43
|
return !!e && t !== 0 && t !== !1 && t !== "0" && t !== void 0;
|
|
44
|
-
}, "isAddedTreeGridRow"),
|
|
44
|
+
}, "isAddedTreeGridRow"), _t = /* @__PURE__ */ s((e) => !e || e.Fixed === "Foot" || !Ot(e) ? !1 : e.Kind === "Data" || It(e), "isDisplayTreeGridRow"), At = /* @__PURE__ */ s((e) => {
|
|
45
45
|
if (typeof e.GetFirst == "function" && typeof e.GetNext == "function") {
|
|
46
46
|
const t = [];
|
|
47
|
-
let
|
|
48
|
-
for (;
|
|
49
|
-
t.push(
|
|
47
|
+
let T = e.GetFirst();
|
|
48
|
+
for (; T; )
|
|
49
|
+
t.push(T), T = e.GetNext(T);
|
|
50
50
|
return t;
|
|
51
51
|
}
|
|
52
52
|
return Object.values(e.Rows ?? {});
|
|
53
|
-
}, "getTreeGridRows"),
|
|
53
|
+
}, "getTreeGridRows"), St = /* @__PURE__ */ s((e, t) => {
|
|
54
54
|
if (!e)
|
|
55
55
|
return;
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
new Map(
|
|
56
|
+
const T = Object.keys(e.Cols ?? {}).filter(Boolean);
|
|
57
|
+
At(e).forEach((y) => {
|
|
58
|
+
_t(y) && t.set(
|
|
59
|
+
y,
|
|
60
|
+
new Map(T.map((N) => [N, et(e, y, N)]))
|
|
61
61
|
);
|
|
62
62
|
});
|
|
63
|
-
}, "captureTreeGridChangeBaselines"),
|
|
64
|
-
"addRow",
|
|
65
|
-
"deleteRow",
|
|
63
|
+
}, "captureTreeGridChangeBaselines"), kt = [
|
|
66
64
|
"selectRow"
|
|
67
|
-
],
|
|
65
|
+
], mn = /* @__PURE__ */ s(({
|
|
68
66
|
id: e = "treeGridWrapper",
|
|
69
67
|
containerStyle: t,
|
|
70
|
-
containerClassName:
|
|
71
|
-
toolbarRowBackgroundColor:
|
|
72
|
-
className:
|
|
73
|
-
style:
|
|
74
|
-
height:
|
|
75
|
-
width:
|
|
76
|
-
canUseTableRadius:
|
|
77
|
-
tableBorderRadius:
|
|
78
|
-
suppressCfg:
|
|
79
|
-
showToolbarTotalCount:
|
|
80
|
-
hideChildHeaderSortButtons:
|
|
81
|
-
selectionScope:
|
|
82
|
-
layoutUrl:
|
|
83
|
-
layoutData:
|
|
84
|
-
disabledAnimations:
|
|
85
|
-
dataUrl:
|
|
86
|
-
layoutOverrides:
|
|
87
|
-
data:
|
|
88
|
-
useDataUrl:
|
|
89
|
-
onSelect:
|
|
90
|
-
onRowClick:
|
|
91
|
-
onRowAdd:
|
|
92
|
-
onRowDelete:
|
|
93
|
-
onRowUndelete:
|
|
94
|
-
onRowChange:
|
|
95
|
-
onClickButton:
|
|
96
|
-
onSave:
|
|
97
|
-
onReady:
|
|
98
|
-
onAfterValueChanged:
|
|
99
|
-
datePickerEditor:
|
|
100
|
-
highlightEditableCells:
|
|
101
|
-
highlightChangedCells:
|
|
102
|
-
syncDeletedRowCanEdit:
|
|
103
|
-
confirmDeletedRowRemoval:
|
|
104
|
-
loading:
|
|
105
|
-
showLoading:
|
|
68
|
+
containerClassName: T,
|
|
69
|
+
toolbarRowBackgroundColor: y,
|
|
70
|
+
className: N,
|
|
71
|
+
style: br,
|
|
72
|
+
height: Ee = "100%",
|
|
73
|
+
width: ve = "100%",
|
|
74
|
+
canUseTableRadius: Ge = !1,
|
|
75
|
+
tableBorderRadius: Dr = Jr,
|
|
76
|
+
suppressCfg: Z = 3,
|
|
77
|
+
showToolbarTotalCount: Ce = !0,
|
|
78
|
+
hideChildHeaderSortButtons: ye = !0,
|
|
79
|
+
selectionScope: he = "native",
|
|
80
|
+
layoutUrl: Br,
|
|
81
|
+
layoutData: ee,
|
|
82
|
+
disabledAnimations: re = kt,
|
|
83
|
+
dataUrl: wr,
|
|
84
|
+
layoutOverrides: v,
|
|
85
|
+
data: f,
|
|
86
|
+
useDataUrl: be,
|
|
87
|
+
onSelect: De,
|
|
88
|
+
onRowClick: Be,
|
|
89
|
+
onRowAdd: we,
|
|
90
|
+
onRowDelete: Le,
|
|
91
|
+
onRowUndelete: Oe,
|
|
92
|
+
onRowChange: Ie,
|
|
93
|
+
onClickButton: _e,
|
|
94
|
+
onSave: Ae,
|
|
95
|
+
onReady: Se,
|
|
96
|
+
onAfterValueChanged: ke,
|
|
97
|
+
datePickerEditor: Lr,
|
|
98
|
+
highlightEditableCells: Fe = !0,
|
|
99
|
+
highlightChangedCells: xe = !0,
|
|
100
|
+
syncDeletedRowCanEdit: Pe = !0,
|
|
101
|
+
confirmDeletedRowRemoval: Or = !0,
|
|
102
|
+
loading: V,
|
|
103
|
+
showLoading: d = !0
|
|
106
104
|
}) => {
|
|
107
|
-
var
|
|
108
|
-
const { t:
|
|
109
|
-
() =>
|
|
105
|
+
var ur, fr;
|
|
106
|
+
const { t: h } = Qr(), { confirmDelete: Ir } = Zr(), te = Yr(), ne = (fr = (ur = te == null ? void 0 : te.theme) == null ? void 0 : ur.main) == null ? void 0 : fr.grid, Me = h("Common.전체"), He = h("Common.건"), oe = Gr(
|
|
107
|
+
() => Ce && !Lt(v == null ? void 0 : v.Toolbar) ? wt(Me, He) : void 0,
|
|
110
108
|
[
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
v,
|
|
110
|
+
He,
|
|
111
|
+
Me,
|
|
112
|
+
Ce
|
|
115
113
|
]
|
|
116
|
-
),
|
|
117
|
-
|
|
118
|
-
),
|
|
119
|
-
title:
|
|
120
|
-
description:
|
|
121
|
-
okText:
|
|
122
|
-
}) ? "remove" : "undelete" : void 0,
|
|
123
|
-
onSelect:
|
|
124
|
-
onRowClick:
|
|
125
|
-
onRowAdd:
|
|
126
|
-
onRowDelete:
|
|
127
|
-
onBeforeRowUndelete:
|
|
128
|
-
onRowUndelete:
|
|
129
|
-
onRowChange:
|
|
130
|
-
onClickButton:
|
|
131
|
-
onSave:
|
|
132
|
-
onReady:
|
|
133
|
-
onAfterValueChanged:
|
|
134
|
-
}),
|
|
135
|
-
()
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
),
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
114
|
+
), a = r(null), k = r(null), Ne = r(null), ie = r(null), se = r(v), Ve = r(oe), Ue = r(Z), ze = r(ye), We = r(
|
|
115
|
+
he
|
|
116
|
+
), je = r(re), ae = r(f), $e = r(Cr(ee)), qe = Or ? async () => await Ir({
|
|
117
|
+
title: h("Message.삭제된 항목을 완전히 삭제하시겠습니까?"),
|
|
118
|
+
description: h("Message.취소하면 삭제 상태가 해제됩니다."),
|
|
119
|
+
okText: h("Button.완전 삭제")
|
|
120
|
+
}) ? "remove" : "undelete" : void 0, U = r({
|
|
121
|
+
onSelect: De,
|
|
122
|
+
onRowClick: Be,
|
|
123
|
+
onRowAdd: we,
|
|
124
|
+
onRowDelete: Le,
|
|
125
|
+
onBeforeRowUndelete: qe,
|
|
126
|
+
onRowUndelete: Oe,
|
|
127
|
+
onRowChange: Ie,
|
|
128
|
+
onClickButton: _e,
|
|
129
|
+
onSave: Ae,
|
|
130
|
+
onReady: Se,
|
|
131
|
+
onAfterValueChanged: ke
|
|
132
|
+
}), b = r(void 0), z = r(!1), W = r(void 0), G = r(void 0), Ke = r(!1), D = r(0), Je = d && (V === !0 || V !== void 0 && f !== void 0 && S(f)), j = r(
|
|
133
|
+
Je ? Date.now() : null
|
|
134
|
+
), F = r(void 0), C = r(null), x = r(void 0), P = r(void 0), Ye = r(Fe), le = r(xe), Qe = r(Pe), [B, _r] = _(!1), [Ar, $] = _(
|
|
135
|
+
Je
|
|
136
|
+
), [Sr, w] = _(!1), [Xe, Ze] = _(!1), [ce, kr] = _(!1), [de, Fr] = _(!1), q = Xr(), u = Gr(
|
|
137
|
+
() => Kr(ne),
|
|
138
|
+
[ne]
|
|
139
|
+
), er = r(
|
|
140
|
+
X(u.editable.backgroundColor) ?? X(Rr)
|
|
141
|
+
), ue = r(
|
|
142
|
+
u.changed.backgroundColor ?? pr
|
|
143
|
+
), K = r(/* @__PURE__ */ new WeakMap()), rr = r(u.state.focusedCellBackgroundColor), tr = r(u.state.selectedCellBackgroundColor), nr = r(u.state.hoverCellBackgroundColor), or = r(u.state.hoverCellBorderColor), ir = r(q.id), xr = d && f !== void 0 && B && G.current !== f, fe = d && Ar || d && (Sr || xr), me = !fe && f !== void 0 && S(f) && !Xe, M = ce && !de, sr = M && fe, ar = M && me, lr = /* @__PURE__ */ s((n) => {
|
|
144
|
+
Ze(ge(n));
|
|
145
|
+
}, "syncHasDisplayDataRows"), Pr = /* @__PURE__ */ s((n, o, l, c, g) => {
|
|
146
|
+
var m, i;
|
|
147
|
+
le.current && o.Fixed !== "Foot" && ut({
|
|
146
148
|
gridId: e,
|
|
147
|
-
grid:
|
|
148
|
-
row:
|
|
149
|
-
col:
|
|
150
|
-
backgroundColor:
|
|
151
|
-
baselineMap:
|
|
152
|
-
highlightRefresh:
|
|
149
|
+
grid: n,
|
|
150
|
+
row: o,
|
|
151
|
+
col: l,
|
|
152
|
+
backgroundColor: ue.current,
|
|
153
|
+
baselineMap: K.current,
|
|
154
|
+
highlightRefresh: g == null ? void 0 : g.highlightRefresh
|
|
153
155
|
});
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
+
const R = ((m = U.current) == null ? void 0 : m.onAfterValueChanged) ?? ((i = U.current) == null ? void 0 : i.onRowChange);
|
|
157
|
+
R == null || R(n, o, l, c);
|
|
156
158
|
}, "handleDatePickerEditorValueChange");
|
|
157
|
-
|
|
159
|
+
se.current = v, Ve.current = oe, Ue.current = Z, ze.current = ye, We.current = he, je.current = re, ae.current = f, $e.current = Cr(ee), Ye.current = Fe, le.current = xe, Qe.current = Pe, er.current = X(u.editable.backgroundColor) ?? X(Rr), ue.current = u.changed.backgroundColor ?? pr, rr.current = u.state.focusedCellBackgroundColor, tr.current = u.state.selectedCellBackgroundColor, nr.current = u.state.hoverCellBackgroundColor, or.current = u.state.hoverCellBorderColor;
|
|
158
160
|
const {
|
|
159
|
-
datePickerEditorElement:
|
|
160
|
-
handleDatePickerEditorButtonClick:
|
|
161
|
-
handleDatePickerEditorCellClick:
|
|
162
|
-
handleDatePickerEditorKeyDown:
|
|
163
|
-
handleDatePickerEditorStartEdit:
|
|
164
|
-
} =
|
|
165
|
-
config:
|
|
166
|
-
treeGridInstanceRef:
|
|
167
|
-
isTreeGridReady:
|
|
168
|
-
onValueChange:
|
|
169
|
-
}), { errorTooltipElement:
|
|
170
|
-
|
|
171
|
-
onSelect:
|
|
172
|
-
onRowClick:
|
|
173
|
-
onRowAdd:
|
|
174
|
-
onRowDelete:
|
|
175
|
-
onBeforeRowUndelete:
|
|
176
|
-
onRowUndelete:
|
|
177
|
-
onRowChange:
|
|
178
|
-
onClickButton:
|
|
179
|
-
onSave:
|
|
180
|
-
onReady:
|
|
181
|
-
onAfterValueChanged:
|
|
182
|
-
onInternalButtonClick:
|
|
183
|
-
onInternalCellClick:
|
|
184
|
-
onInternalKeyDown:
|
|
185
|
-
onInternalStartEdit:
|
|
161
|
+
datePickerEditorElement: Mr,
|
|
162
|
+
handleDatePickerEditorButtonClick: Hr,
|
|
163
|
+
handleDatePickerEditorCellClick: Nr,
|
|
164
|
+
handleDatePickerEditorKeyDown: Vr,
|
|
165
|
+
handleDatePickerEditorStartEdit: Ur
|
|
166
|
+
} = nt({
|
|
167
|
+
config: Lr,
|
|
168
|
+
treeGridInstanceRef: a,
|
|
169
|
+
isTreeGridReady: B,
|
|
170
|
+
onValueChange: Pr
|
|
171
|
+
}), { errorTooltipElement: zr, showErrorTooltip: Wr, hideErrorTooltip: L } = ot();
|
|
172
|
+
U.current = {
|
|
173
|
+
onSelect: De,
|
|
174
|
+
onRowClick: Be,
|
|
175
|
+
onRowAdd: we,
|
|
176
|
+
onRowDelete: Le,
|
|
177
|
+
onBeforeRowUndelete: qe,
|
|
178
|
+
onRowUndelete: Oe,
|
|
179
|
+
onRowChange: Ie,
|
|
180
|
+
onClickButton: _e,
|
|
181
|
+
onSave: Ae,
|
|
182
|
+
onReady: Se,
|
|
183
|
+
onAfterValueChanged: ke,
|
|
184
|
+
onInternalButtonClick: Hr,
|
|
185
|
+
onInternalCellClick: Nr,
|
|
186
|
+
onInternalKeyDown: Vr,
|
|
187
|
+
onInternalStartEdit: Ur
|
|
186
188
|
};
|
|
187
|
-
const
|
|
188
|
-
containerRef:
|
|
189
|
-
treeGridInstanceRef:
|
|
190
|
-
enabled:
|
|
191
|
-
resetKey:
|
|
192
|
-
}),
|
|
193
|
-
visible:
|
|
194
|
-
containerRef:
|
|
195
|
-
treeGridInstanceRef:
|
|
189
|
+
const cr = at({
|
|
190
|
+
containerRef: k,
|
|
191
|
+
treeGridInstanceRef: a,
|
|
192
|
+
enabled: M && d && B && Xe && !fe && !me,
|
|
193
|
+
resetKey: f
|
|
194
|
+
}), jr = M && cr !== null, Re = st({
|
|
195
|
+
visible: sr || ar,
|
|
196
|
+
containerRef: k,
|
|
197
|
+
treeGridInstanceRef: a,
|
|
196
198
|
debugId: e
|
|
197
|
-
}),
|
|
198
|
-
containerRef:
|
|
199
|
-
treeGridInstanceRef:
|
|
200
|
-
enabled:
|
|
201
|
-
}),
|
|
202
|
-
|
|
203
|
-
}, "clearBindingLoadingHideTimeout"),
|
|
204
|
-
|
|
199
|
+
}), dr = it({
|
|
200
|
+
containerRef: k,
|
|
201
|
+
treeGridInstanceRef: a,
|
|
202
|
+
enabled: M && B
|
|
203
|
+
}), H = /* @__PURE__ */ s(() => {
|
|
204
|
+
x.current !== void 0 && (window.clearTimeout(x.current), x.current = void 0);
|
|
205
|
+
}, "clearBindingLoadingHideTimeout"), J = /* @__PURE__ */ s(() => {
|
|
206
|
+
F.current !== void 0 && (window.clearTimeout(F.current), F.current = void 0);
|
|
207
|
+
}, "clearExternalLoadingHideTimeout"), Y = /* @__PURE__ */ s(() => {
|
|
208
|
+
P.current !== void 0 && (window.clearTimeout(P.current), P.current = void 0);
|
|
205
209
|
}, "clearBodyReloadStartTimeout");
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
-
var
|
|
209
|
-
((
|
|
210
|
+
A(() => {
|
|
211
|
+
const n = /* @__PURE__ */ s((o) => {
|
|
212
|
+
var c;
|
|
213
|
+
((c = o.detail) == null ? void 0 : c.gridId) === e && Ze(ge(a.current));
|
|
210
214
|
}, "handleBodyRowsChanged");
|
|
211
|
-
return window.addEventListener(
|
|
212
|
-
window.removeEventListener(
|
|
215
|
+
return window.addEventListener(Tr, n), () => {
|
|
216
|
+
window.removeEventListener(Tr, n);
|
|
213
217
|
};
|
|
214
|
-
}, [e]),
|
|
215
|
-
|
|
216
|
-
}, [
|
|
218
|
+
}, [e]), A(() => {
|
|
219
|
+
d || (J(), j.current = null, $(!1), Y(), H(), C.current = null, w(!1));
|
|
220
|
+
}, [d]), A(() => {
|
|
221
|
+
if (!d)
|
|
222
|
+
return;
|
|
223
|
+
if (V === !0) {
|
|
224
|
+
J(), j.current = Date.now(), $(!0);
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
if (j.current === null) {
|
|
228
|
+
$(!1);
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
J(), ce && (F.current = window.setTimeout(() => {
|
|
232
|
+
F.current = void 0, j.current = null, $(!1);
|
|
233
|
+
}, yr));
|
|
234
|
+
}, [ce, V, d]), A(() => {
|
|
235
|
+
if (!de || typeof window > "u")
|
|
236
|
+
return;
|
|
237
|
+
const n = k.current;
|
|
238
|
+
if (!n)
|
|
239
|
+
return;
|
|
240
|
+
let o, l = Math.round(n.clientWidth), c = Math.round(n.clientHeight);
|
|
241
|
+
const g = /* @__PURE__ */ s(() => {
|
|
242
|
+
o === void 0 && (o = window.requestAnimationFrame(() => {
|
|
243
|
+
o = void 0;
|
|
244
|
+
const i = a.current;
|
|
245
|
+
!i || i.Loading || i.Rendering || i.Update();
|
|
246
|
+
}));
|
|
247
|
+
}, "retryTreeGridSizeErrorRender"), R = /* @__PURE__ */ s((i, E) => {
|
|
248
|
+
const p = Math.round(i), O = Math.round(E);
|
|
249
|
+
p === l && O === c || (l = p, c = O, !(p <= 0 || O <= 0) && g());
|
|
250
|
+
}, "handleContainerSizeChange");
|
|
251
|
+
if (typeof ResizeObserver > "u") {
|
|
252
|
+
const i = /* @__PURE__ */ s(() => {
|
|
253
|
+
R(n.clientWidth, n.clientHeight);
|
|
254
|
+
}, "handleWindowResize");
|
|
255
|
+
return window.addEventListener("resize", i), () => {
|
|
256
|
+
o !== void 0 && window.cancelAnimationFrame(o), window.removeEventListener("resize", i);
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
const m = new ResizeObserver((i) => {
|
|
260
|
+
const E = i[i.length - 1];
|
|
261
|
+
E && R(E.contentRect.width, E.contentRect.height);
|
|
262
|
+
});
|
|
263
|
+
return m.observe(n), () => {
|
|
264
|
+
o !== void 0 && window.cancelAnimationFrame(o), m.disconnect();
|
|
265
|
+
};
|
|
266
|
+
}, [de]), A(() => {
|
|
217
267
|
var l;
|
|
218
|
-
if (
|
|
268
|
+
if (q.id !== ir.current && !S(a.current) && ((l = a.current) == null || l.Dispose(), a.current = null, ir.current = q.id), !S(a.current))
|
|
219
269
|
return;
|
|
220
|
-
|
|
270
|
+
lt({
|
|
221
271
|
id: e,
|
|
222
|
-
latestEventHandlersRef:
|
|
223
|
-
layoutHasExplicitEnterModeRef:
|
|
224
|
-
highlightEditableCellsRef:
|
|
225
|
-
highlightChangedCellsRef:
|
|
226
|
-
syncDeletedRowCanEditRef:
|
|
227
|
-
editableCellBackgroundColorValueRef:
|
|
228
|
-
changedCellBackgroundColorRef:
|
|
229
|
-
focusedCellBackgroundColorRef:
|
|
230
|
-
selectedCellBackgroundColorRef:
|
|
231
|
-
hoverCellBackgroundColorRef:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
272
|
+
latestEventHandlersRef: U,
|
|
273
|
+
layoutHasExplicitEnterModeRef: $e,
|
|
274
|
+
highlightEditableCellsRef: Ye,
|
|
275
|
+
highlightChangedCellsRef: le,
|
|
276
|
+
syncDeletedRowCanEditRef: Qe,
|
|
277
|
+
editableCellBackgroundColorValueRef: er,
|
|
278
|
+
changedCellBackgroundColorRef: ue,
|
|
279
|
+
focusedCellBackgroundColorRef: rr,
|
|
280
|
+
selectedCellBackgroundColorRef: tr,
|
|
281
|
+
hoverCellBackgroundColorRef: nr,
|
|
282
|
+
hoverCellBorderColorRef: or,
|
|
283
|
+
changedCellBaselineRef: K,
|
|
284
|
+
treeGridInstanceRef: a,
|
|
285
|
+
treeGridInitStartedAtRef: Ne,
|
|
286
|
+
latestLayoutOverridesRef: se,
|
|
287
|
+
latestToolbarTotalCountFormulaRef: Ve,
|
|
288
|
+
latestSuppressCfgRef: Ue,
|
|
289
|
+
latestHideChildHeaderSortButtonsRef: ze,
|
|
290
|
+
latestSelectionScopeRef: We,
|
|
291
|
+
latestDisabledAnimationsRef: je,
|
|
292
|
+
appliedLayoutOverridesRef: W,
|
|
293
|
+
appliedBodyDataPropRef: G,
|
|
294
|
+
hasAppliedInitialLayoutRef: Ke,
|
|
295
|
+
syncHasDisplayDataRows: lr,
|
|
296
|
+
setIsTreeGridReady: _r,
|
|
297
|
+
setCanRenderTreeGridOverlays: kr,
|
|
298
|
+
setHasTreeGridSizeError: Fr,
|
|
299
|
+
showErrorTooltip: Wr,
|
|
300
|
+
hideErrorTooltip: L
|
|
301
|
+
});
|
|
302
|
+
const n = ae.current;
|
|
303
|
+
Ne.current = pe(), gr(e, "init"), Er(e, "TreeGrid init start", {
|
|
304
|
+
useDataUrl: !!be,
|
|
305
|
+
bodyRowCount: Te(n)
|
|
251
306
|
});
|
|
252
307
|
const o = window.TreeGrid(
|
|
253
|
-
|
|
308
|
+
ct({
|
|
254
309
|
id: e,
|
|
255
|
-
layoutUrl:
|
|
256
|
-
layoutData:
|
|
257
|
-
toolbarTotalCountFormula:
|
|
258
|
-
suppressCfg:
|
|
259
|
-
disabledAnimations:
|
|
260
|
-
dataUrl:
|
|
261
|
-
bodyData:
|
|
262
|
-
useDataUrl:
|
|
263
|
-
width:
|
|
264
|
-
height:
|
|
265
|
-
languageId:
|
|
310
|
+
layoutUrl: Br,
|
|
311
|
+
layoutData: ee,
|
|
312
|
+
toolbarTotalCountFormula: oe,
|
|
313
|
+
suppressCfg: Z,
|
|
314
|
+
disabledAnimations: re,
|
|
315
|
+
dataUrl: wr,
|
|
316
|
+
bodyData: n,
|
|
317
|
+
useDataUrl: be,
|
|
318
|
+
width: ve,
|
|
319
|
+
height: Ee,
|
|
320
|
+
languageId: q.id
|
|
266
321
|
}),
|
|
267
322
|
e,
|
|
268
323
|
e
|
|
269
324
|
);
|
|
270
|
-
return
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
|
|
325
|
+
return S(o) || (a.current = o), () => {
|
|
326
|
+
L(), Ke.current = !0;
|
|
327
|
+
const c = o || a.current;
|
|
328
|
+
a.current === c && (a.current = null), c == null || c.Dispose();
|
|
274
329
|
};
|
|
275
|
-
}, []),
|
|
276
|
-
const
|
|
277
|
-
if (
|
|
330
|
+
}, []), rt(() => {
|
|
331
|
+
const n = a.current, o = se.current, l = ae.current;
|
|
332
|
+
if (S(n) || !B)
|
|
278
333
|
return;
|
|
279
|
-
const
|
|
280
|
-
if (!(!
|
|
281
|
-
if (
|
|
282
|
-
const
|
|
283
|
-
|
|
334
|
+
const c = G.current !== l && (!z.current || b.current !== l), g = c && l === void 0 && Array.isArray(G.current) && G.current.length === 0 && !ge(n), R = W.current !== o && !Ct(W.current, o), m = c && !g;
|
|
335
|
+
if (g && (D.current += 1, Y(), H(), b.current = void 0, z.current = !1, C.current = null, G.current = l, w(!1)), !(!R && !m)) {
|
|
336
|
+
if (L(), R) {
|
|
337
|
+
const i = pe();
|
|
338
|
+
ft(n, o, m), W.current = o, vr(e, "apply layout", i, {
|
|
284
339
|
disableBodyReload: !!m
|
|
285
340
|
});
|
|
286
341
|
}
|
|
287
342
|
if (m) {
|
|
288
|
-
const
|
|
289
|
-
const p =
|
|
290
|
-
|
|
291
|
-
bodyRowCount:
|
|
292
|
-
}),
|
|
293
|
-
if (
|
|
343
|
+
const i = D.current + 1, E = /* @__PURE__ */ s(() => {
|
|
344
|
+
const p = b.current;
|
|
345
|
+
P.current = void 0, ie.current = pe(), gr(e, "reload"), Er(e, "ReloadBody start", {
|
|
346
|
+
bodyRowCount: Te(p)
|
|
347
|
+
}), dt(n, p, () => {
|
|
348
|
+
if (D.current !== i)
|
|
294
349
|
return;
|
|
295
|
-
|
|
296
|
-
bodyRowCount:
|
|
297
|
-
}),
|
|
298
|
-
const
|
|
299
|
-
if (!
|
|
300
|
-
|
|
350
|
+
G.current = p, K.current = /* @__PURE__ */ new WeakMap(), St(n, K.current), lr(n), vr(e, "ReloadBody end", ie.current, {
|
|
351
|
+
bodyRowCount: Te(p)
|
|
352
|
+
}), ie.current = null, b.current === p && (b.current = void 0, z.current = !1);
|
|
353
|
+
const O = C.current;
|
|
354
|
+
if (!d || O === null) {
|
|
355
|
+
C.current = null, w(!1);
|
|
301
356
|
return;
|
|
302
357
|
}
|
|
303
|
-
const
|
|
358
|
+
const mr = Math.max(
|
|
304
359
|
0,
|
|
305
|
-
|
|
360
|
+
yr - (Date.now() - O)
|
|
306
361
|
);
|
|
307
|
-
if (
|
|
308
|
-
|
|
362
|
+
if (H(), mr === 0) {
|
|
363
|
+
C.current = null, w(!1);
|
|
309
364
|
return;
|
|
310
365
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
},
|
|
366
|
+
x.current = window.setTimeout(() => {
|
|
367
|
+
D.current === i && (x.current = void 0, C.current = null, w(!1));
|
|
368
|
+
}, mr);
|
|
314
369
|
});
|
|
315
370
|
}, "runBodyReload");
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}, 0)) :
|
|
371
|
+
D.current = i, b.current = l, z.current = !0, d && l !== void 0 ? (Y(), H(), C.current = Date.now(), w(!0), P.current = window.setTimeout(() => {
|
|
372
|
+
D.current === i && E();
|
|
373
|
+
}, 0)) : E();
|
|
319
374
|
}
|
|
320
375
|
}
|
|
321
|
-
}, [
|
|
322
|
-
|
|
323
|
-
}, [
|
|
324
|
-
const
|
|
325
|
-
width:
|
|
326
|
-
height:
|
|
327
|
-
treeGridTheme:
|
|
328
|
-
gridThemeConfig:
|
|
376
|
+
}, [B, v, f, d, e, L]), A(() => () => {
|
|
377
|
+
L(), J(), Y(), H();
|
|
378
|
+
}, [L]);
|
|
379
|
+
const Q = gt({
|
|
380
|
+
width: ve,
|
|
381
|
+
height: Ee,
|
|
382
|
+
treeGridTheme: u,
|
|
383
|
+
gridThemeConfig: ne,
|
|
329
384
|
containerStyle: t,
|
|
330
|
-
tableBorderRadius:
|
|
385
|
+
tableBorderRadius: Ge ? Dr : void 0
|
|
331
386
|
});
|
|
332
|
-
return
|
|
387
|
+
return y !== void 0 && (Q["--owp-tree-grid-toolbar-row-background-color"] = String(y)), (d || me || dr.length > 0) && (Q.position = t != null && t.position && t.position !== "static" ? t.position : "relative", Q.isolation = "isolate"), /* @__PURE__ */ qr(
|
|
333
388
|
"div",
|
|
334
389
|
{
|
|
335
|
-
ref:
|
|
390
|
+
ref: k,
|
|
336
391
|
className: [
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
392
|
+
Et,
|
|
393
|
+
Ge && vt,
|
|
394
|
+
T
|
|
340
395
|
].filter(Boolean).join(" "),
|
|
341
|
-
style:
|
|
396
|
+
style: Q,
|
|
342
397
|
children: [
|
|
343
|
-
/* @__PURE__ */
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
/* @__PURE__ */
|
|
346
|
-
/* @__PURE__ */
|
|
347
|
-
|
|
398
|
+
/* @__PURE__ */ I(tt, { styles: Gt }),
|
|
399
|
+
/* @__PURE__ */ I("div", { id: e, className: N, style: yt(br, ["height", "width"]) }),
|
|
400
|
+
/* @__PURE__ */ I(mt, { frames: dr }),
|
|
401
|
+
/* @__PURE__ */ I(
|
|
402
|
+
pt,
|
|
348
403
|
{
|
|
349
|
-
visible:
|
|
350
|
-
message:
|
|
351
|
-
overlayFrame:
|
|
404
|
+
visible: ar,
|
|
405
|
+
message: h("Message.조회된 결과가 없습니다."),
|
|
406
|
+
overlayFrame: Re
|
|
352
407
|
}
|
|
353
408
|
),
|
|
354
|
-
/* @__PURE__ */
|
|
355
|
-
|
|
409
|
+
/* @__PURE__ */ I(
|
|
410
|
+
Tt,
|
|
356
411
|
{
|
|
357
|
-
visible:
|
|
358
|
-
overlayFrame:
|
|
412
|
+
visible: jr,
|
|
413
|
+
overlayFrame: cr ?? Re
|
|
359
414
|
}
|
|
360
415
|
),
|
|
361
|
-
/* @__PURE__ */
|
|
362
|
-
|
|
416
|
+
/* @__PURE__ */ I(
|
|
417
|
+
Rt,
|
|
363
418
|
{
|
|
364
|
-
visible:
|
|
365
|
-
overlayFrame:
|
|
419
|
+
visible: sr,
|
|
420
|
+
overlayFrame: Re
|
|
366
421
|
}
|
|
367
422
|
),
|
|
368
|
-
|
|
369
|
-
|
|
423
|
+
Mr,
|
|
424
|
+
zr
|
|
370
425
|
]
|
|
371
426
|
}
|
|
372
427
|
);
|
|
373
428
|
}, "OwpTreeGrid");
|
|
374
429
|
export {
|
|
375
|
-
|
|
430
|
+
mn as OwpTreeGrid
|
|
376
431
|
};
|
|
377
432
|
//# sourceMappingURL=OwpTreeGrid.js.map
|