@owp/core 2.5.13 → 2.5.15
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/index12.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/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/components/OwpDialog/OwpAlertDialog.js +46 -0
- package/dist/components/OwpDialog/OwpAlertDialog.js.map +1 -0
- package/dist/components/OwpDialog/OwpDialog.js +41 -38
- package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +163 -153
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +234 -173
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js +7 -6
- package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewColorField.js +79 -75
- package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
- package/dist/hooks/useConfirm.js +55 -65
- package/dist/hooks/useConfirm.js.map +1 -1
- package/dist/index.js +69 -67
- package/dist/index.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/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/constants.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/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/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/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +25 -0
- package/dist/types/components/OwpDialog/OwpDialog.d.ts +2 -0
- package/dist/types/components/OwpDialog/index.d.ts +1 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +3 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +8 -3
- package/dist/types/hooks/useConfirm.d.ts +7 -14
- package/dist/types/utils/treeGridUtil.d.ts +23 -0
- package/dist/utils/treeGridExportExcelUtil.js +118 -118
- package/dist/utils/treeGridExportExcelUtil.js.map +1 -1
- package/dist/utils/treeGridUtil.js +123 -103
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/dist/utils.js +81 -75
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var C = Object.defineProperty;
|
|
2
2
|
var i = (u, a) => C(u, "name", { value: a, configurable: !0 });
|
|
3
|
-
import { __exports as r } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as r } from "../../../../../../../../_virtual/index7.js";
|
|
4
4
|
import { __require as U } from "./EAN13.js";
|
|
5
5
|
import { __require as s } from "./EAN8.js";
|
|
6
6
|
import { __require as l } from "./EAN5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var b = Object.defineProperty;
|
|
2
2
|
var r = (a, f) => b(a, "name", { value: f, configurable: !0 });
|
|
3
|
-
import { __exports as u } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as u } from "../../../../../../../../_virtual/index13.js";
|
|
4
4
|
import { __require as p } from "../Barcode.js";
|
|
5
5
|
var c;
|
|
6
6
|
function w() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var o = Object.defineProperty;
|
|
2
2
|
var r = (n, s) => o(n, "name", { value: s, configurable: !0 });
|
|
3
|
-
import { __exports as e } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as e } from "../../../../../../../../_virtual/constants2.js";
|
|
4
4
|
var t;
|
|
5
5
|
function _() {
|
|
6
6
|
return t ? e : (t = 1, Object.defineProperty(e, "__esModule", {
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var T = Object.defineProperty;
|
|
2
2
|
var i = (u, t) => T(u, "name", { value: t, configurable: !0 });
|
|
3
|
-
import { __exports as e } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as e } from "../../../../../../../../_virtual/index8.js";
|
|
4
4
|
import { __require as f } from "./ITF.js";
|
|
5
5
|
import { __require as n } from "./ITF14.js";
|
|
6
6
|
var a;
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
2
|
var I = (M, _) => v(M, "name", { value: _, configurable: !0 });
|
|
3
|
-
import { __exports as r } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as r } from "../../../../../../../../_virtual/index9.js";
|
|
4
4
|
import { __require as n } from "./MSI.js";
|
|
5
5
|
import { __require as s } from "./MSI10.js";
|
|
6
6
|
import { __require as l } from "./MSI11.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var a = (f, c) => p(f, "name", { value: c, configurable: !0 });
|
|
3
|
-
import { __exports as i } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as i } from "../../../../../../../../_virtual/index11.js";
|
|
4
4
|
import { __require as g } from "../Barcode.js";
|
|
5
5
|
var h;
|
|
6
6
|
function w() {
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var O = Object.defineProperty;
|
|
2
2
|
var C = (i, r) => O(i, "name", { value: r, configurable: !0 });
|
|
3
|
-
import { __exports as o } from "../../../../../../../_virtual/
|
|
3
|
+
import { __exports as o } from "../../../../../../../_virtual/index4.js";
|
|
4
4
|
import { __require as c } from "./CODE39/index.js";
|
|
5
5
|
import { __require as D } from "./CODE128/index.js";
|
|
6
6
|
import { __require as d } from "./EAN_UPC/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
2
|
var i = (u, f) => v(u, "name", { value: f, configurable: !0 });
|
|
3
|
-
import { __exports as a } from "../../../../../../../../_virtual/
|
|
3
|
+
import { __exports as a } from "../../../../../../../../_virtual/index10.js";
|
|
4
4
|
import { __require as y } from "../Barcode.js";
|
|
5
5
|
var c;
|
|
6
6
|
function q() {
|
package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
2
|
var _ = (a, t) => v(a, "name", { value: t, configurable: !0 });
|
|
3
|
-
import { __exports as r } from "../../../../../../../_virtual/
|
|
3
|
+
import { __exports as r } from "../../../../../../../_virtual/index14.js";
|
|
4
4
|
import { __require as f } from "./canvas.js";
|
|
5
5
|
import { __require as q } from "./svg.js";
|
|
6
6
|
import { __require as c } from "./object.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var S = Object.defineProperty;
|
|
2
2
|
var e = (r, i) => S(r, "name", { value: i, configurable: !0 });
|
|
3
|
-
import { __exports as n } from "../../../../../../../_virtual/
|
|
3
|
+
import { __exports as n } from "../../../../../../../_virtual/utils2.js";
|
|
4
4
|
var u;
|
|
5
5
|
function c() {
|
|
6
6
|
if (u) return n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
2
|
var a = (l, h) => M(l, "name", { value: h, configurable: !0 });
|
|
3
|
-
import { __exports as s } from "../../../../../../../_virtual/
|
|
3
|
+
import { __exports as s } from "../../../../../../../_virtual/utils.js";
|
|
4
4
|
var w;
|
|
5
5
|
function _() {
|
|
6
6
|
return w ? s : (w = 1, (function(l) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var i = Object.defineProperty;
|
|
2
2
|
var r = (t, s) => i(t, "name", { value: s, configurable: !0 });
|
|
3
|
-
import { __module as e } from "../../../../../_virtual/
|
|
3
|
+
import { __module as e } from "../../../../../_virtual/index15.js";
|
|
4
4
|
import { __require as u } from "./cjs/react-is.production.min.js";
|
|
5
5
|
import { __require as p } from "./cjs/react-is.development.js";
|
|
6
6
|
var o;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ButtonProps } from '@mui/material';
|
|
2
|
+
import type { DialogProps } from '@toolpad/core/useDialogs';
|
|
3
|
+
import type { ReactNode } from 'react';
|
|
4
|
+
export type OwpAlertDialogSeverity = 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
5
|
+
export interface OwpAlertDialogPayload {
|
|
6
|
+
title?: ReactNode | string;
|
|
7
|
+
description?: ReactNode | string;
|
|
8
|
+
okText?: string;
|
|
9
|
+
cancelText?: string;
|
|
10
|
+
severity?: OwpAlertDialogSeverity;
|
|
11
|
+
useInfo?: boolean;
|
|
12
|
+
okButtonProps?: ButtonProps;
|
|
13
|
+
cancelButtonProps?: ButtonProps;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 경고성 확인 대화상자 컴포넌트
|
|
17
|
+
* @param payload 대화상자 표시 속성
|
|
18
|
+
* @param open 열림 여부
|
|
19
|
+
* @param onClose 닫힘 핸들러
|
|
20
|
+
*/
|
|
21
|
+
declare const OwpAlertDialog: {
|
|
22
|
+
({ payload, open, onClose, }: DialogProps<OwpAlertDialogPayload, boolean>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
25
|
+
export { OwpAlertDialog };
|
|
@@ -4,6 +4,7 @@ export interface OwpDialogProps extends Omit<DialogProps, 'title'> {
|
|
|
4
4
|
title?: ReactNode;
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
loading?: boolean;
|
|
7
|
+
alertDialog?: boolean;
|
|
7
8
|
canConfirm?: boolean;
|
|
8
9
|
canCancel?: boolean;
|
|
9
10
|
confirmText?: string;
|
|
@@ -19,6 +20,7 @@ export interface OwpDialogProps extends Omit<DialogProps, 'title'> {
|
|
|
19
20
|
* @param title 제목
|
|
20
21
|
* @param children 하위 콘텐츠
|
|
21
22
|
* @param loading 본문 로딩 여부
|
|
23
|
+
* @param alertDialog alertdialog role 적용 여부
|
|
22
24
|
* @param canCancel canCancel 값
|
|
23
25
|
* @param canConfirm canConfirm 값
|
|
24
26
|
* @param onConfirm onConfirm 핸들러
|
|
@@ -59,6 +59,8 @@ export interface OwpTreeGridProps<T> {
|
|
|
59
59
|
columnEditRules?: readonly OwpTreeGridColumnEditRule[];
|
|
60
60
|
highlightEditableCells?: boolean;
|
|
61
61
|
highlightChangedCells?: boolean;
|
|
62
|
+
syncDeletedRowCanEdit?: boolean;
|
|
63
|
+
confirmDeletedRowRemoval?: boolean;
|
|
62
64
|
loading?: boolean;
|
|
63
65
|
showLoading?: boolean;
|
|
64
66
|
}
|
|
@@ -74,5 +76,5 @@ export interface OwpTreeGridProps<T> {
|
|
|
74
76
|
* @param canUseTableRadius TreeGrid 내부 테이블 radius 사용 여부
|
|
75
77
|
* @param tableBorderRadius TreeGrid 내부 테이블 radius 값
|
|
76
78
|
*/
|
|
77
|
-
declare const OwpTreeGrid: <T>({ id, containerStyle, containerClassName, toolbarRowBackgroundColor, className, style, height, width, canUseTableRadius, tableBorderRadius, layoutUrl, layoutData, dataUrl, layoutOverrides, data, useDataUrl, onSelect, onRowClick, onRowAdd, onRowDelete, onRowUndelete, onRowChange, onClickButton, onSave, onReady, onAfterValueChanged, columnEditRules, highlightEditableCells, highlightChangedCells, loading, showLoading, }: OwpTreeGridProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
declare const OwpTreeGrid: <T>({ id, containerStyle, containerClassName, toolbarRowBackgroundColor, className, style, height, width, canUseTableRadius, tableBorderRadius, layoutUrl, layoutData, dataUrl, layoutOverrides, data, useDataUrl, onSelect, onRowClick, onRowAdd, onRowDelete, onRowUndelete, onRowChange, onClickButton, onSave, onReady, onAfterValueChanged, columnEditRules, highlightEditableCells, highlightChangedCells, syncDeletedRowCanEdit, confirmDeletedRowRemoval, loading, showLoading, }: OwpTreeGridProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
78
80
|
export { OwpTreeGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Dispatch, type RefObject, type SetStateAction } from 'react';
|
|
2
|
-
import type { OwpTreeGridBodyData, OwpTreeGridColumnEditRule, OwpTreeGridLayoutConfig, OwpTreeGridProps } from '../OwpTreeGrid';
|
|
2
|
+
import type { OwpTreeGridBodyData, OwpTreeGridColumnEditRule, OwpTreeGridLayoutConfig, OwpTreeGridProps, OwpTreeGridRowModel } from '../OwpTreeGrid';
|
|
3
3
|
import { type TreeGridColumnEditRuleLookup, type TreeGridColumnEditRulesState } from './treeGridColumnEditRules';
|
|
4
4
|
export declare const TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS = 300;
|
|
5
5
|
type TreeGridInitializationInput<T> = {
|
|
@@ -13,11 +13,16 @@ type TreeGridInitializationInput<T> = {
|
|
|
13
13
|
height?: string | number;
|
|
14
14
|
languageId: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
type TreeGridBeforeRowUndeleteAction = 'cancel' | 'remove' | 'undelete';
|
|
17
|
+
type TreeGridBeforeRowUndeleteHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>) => TreeGridBeforeRowUndeleteAction | undefined | Promise<TreeGridBeforeRowUndeleteAction | undefined>;
|
|
18
|
+
export type TreeGridEventHandlers<T> = Pick<OwpTreeGridProps<T>, 'onSelect' | 'onRowClick' | 'onRowAdd' | 'onRowDelete' | 'onRowUndelete' | 'onRowChange' | 'onClickButton' | 'onSave' | 'onReady' | 'onAfterValueChanged'> & {
|
|
19
|
+
onBeforeRowUndelete?: TreeGridBeforeRowUndeleteHandler<T>;
|
|
20
|
+
};
|
|
17
21
|
export type TreeGridEventBindingOptions<T> = Pick<OwpTreeGridProps<T>, 'id'> & {
|
|
18
22
|
latestEventHandlersRef: RefObject<TreeGridEventHandlers<T>>;
|
|
19
23
|
highlightEditableCellsRef: RefObject<boolean>;
|
|
20
24
|
highlightChangedCellsRef: RefObject<boolean>;
|
|
25
|
+
syncDeletedRowCanEditRef: RefObject<boolean>;
|
|
21
26
|
editableCellBackgroundColorValueRef: RefObject<number | undefined>;
|
|
22
27
|
changedCellBackgroundColorRef: RefObject<string>;
|
|
23
28
|
selectedCellBackgroundColorRef: RefObject<string>;
|
|
@@ -85,5 +90,5 @@ export declare const replaceTreeGridBodyData: <T>(grid: TGrid, bodyData: OwpTree
|
|
|
85
90
|
* TreeGrid 이벤트 바인딩
|
|
86
91
|
* @param options 이벤트 바인딩 옵션
|
|
87
92
|
*/
|
|
88
|
-
export declare const bindTreeGridEvents: <T>({ id, latestEventHandlersRef, highlightEditableCellsRef, highlightChangedCellsRef, editableCellBackgroundColorValueRef, changedCellBackgroundColorRef, selectedCellBackgroundColorRef, hoverCellBackgroundColorRef, treeGridInstanceRef, treeGridInitStartedAtRef, latestLayoutOverridesRef, appliedLayoutOverridesRef, appliedBodyDataPropRef, latestColumnEditRulesRef, latestColumnEditRuleLookupRef, appliedColumnEditRulesRef, columnEditRulesStateRef, hasAppliedInitialLayoutRef, syncHasDisplayDataRows, setIsTreeGridReady, }: TreeGridEventBindingOptions<T>) => void;
|
|
93
|
+
export declare const bindTreeGridEvents: <T>({ id, latestEventHandlersRef, highlightEditableCellsRef, highlightChangedCellsRef, syncDeletedRowCanEditRef, editableCellBackgroundColorValueRef, changedCellBackgroundColorRef, selectedCellBackgroundColorRef, hoverCellBackgroundColorRef, treeGridInstanceRef, treeGridInitStartedAtRef, latestLayoutOverridesRef, appliedLayoutOverridesRef, appliedBodyDataPropRef, latestColumnEditRulesRef, latestColumnEditRuleLookupRef, appliedColumnEditRulesRef, columnEditRulesStateRef, hasAppliedInitialLayoutRef, syncHasDisplayDataRows, setIsTreeGridReady, }: TreeGridEventBindingOptions<T>) => void;
|
|
89
94
|
export {};
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export interface ConfirmProps {
|
|
4
|
-
title?: ReactNode | string;
|
|
5
|
-
okText?: string;
|
|
6
|
-
cancelText?: string;
|
|
7
|
-
severity?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
8
|
-
useInfo?: boolean;
|
|
9
|
-
okButtonProps?: ButtonProps;
|
|
1
|
+
import type { OwpAlertDialogPayload } from '@/components/OwpDialog';
|
|
2
|
+
import type { ButtonProps } from '@mui/material';
|
|
3
|
+
export interface ConfirmProps extends Omit<OwpAlertDialogPayload, 'cancelButtonProps'> {
|
|
10
4
|
onClose?: (result: boolean) => Promise<void>;
|
|
11
5
|
}
|
|
12
6
|
interface ConfirmBaseProps extends ConfirmProps {
|
|
13
|
-
okButtonProps?: ButtonProps;
|
|
14
7
|
cancelButtonProps?: ButtonProps;
|
|
15
8
|
}
|
|
16
9
|
/**
|
|
@@ -18,9 +11,9 @@ interface ConfirmBaseProps extends ConfirmProps {
|
|
|
18
11
|
*/
|
|
19
12
|
export declare const useConfirm: () => {
|
|
20
13
|
confirm: (props: ConfirmBaseProps) => Promise<boolean>;
|
|
21
|
-
confirmInfo: ({ title, okText, severity }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
22
|
-
confirmSave: ({ title, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
23
|
-
confirmUpdate: ({ title, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
24
|
-
confirmDelete: ({ title, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
14
|
+
confirmInfo: ({ title, description, okText, severity, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
15
|
+
confirmSave: ({ title, description, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
16
|
+
confirmUpdate: ({ title, description, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
17
|
+
confirmDelete: ({ title, description, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
25
18
|
};
|
|
26
19
|
export {};
|
|
@@ -17,6 +17,29 @@ type TreeGridHighlightTargetOption = {
|
|
|
17
17
|
col: string;
|
|
18
18
|
backgroundColor?: string;
|
|
19
19
|
};
|
|
20
|
+
export declare const TREEGRID_ADDED_ROW_BY_ID_FLAG = "__owpAddedByAddTreeGridRowById";
|
|
21
|
+
export declare const TREEGRID_ADDED_ROW_HIGHLIGHT_COLUMNS_KEY = "__owpAddedRowHighlightColumns";
|
|
22
|
+
/**
|
|
23
|
+
* addTreeGridRowById 생성 행 마킹
|
|
24
|
+
* @param row 대상 행
|
|
25
|
+
*/
|
|
26
|
+
export declare const markTreeGridRowAddedById: (row: TRow | null | undefined) => void;
|
|
27
|
+
/**
|
|
28
|
+
* addTreeGridRowById 생성 행 여부
|
|
29
|
+
* @param row 대상 행
|
|
30
|
+
*/
|
|
31
|
+
export declare const isTreeGridRowAddedById: (row: TRow | null | undefined) => boolean;
|
|
32
|
+
/**
|
|
33
|
+
* addTreeGridRowById 생성 행 하이라이트 컬럼 누적
|
|
34
|
+
* @param row 대상 행
|
|
35
|
+
* @param col 대상 컬럼
|
|
36
|
+
*/
|
|
37
|
+
export declare const appendTreeGridAddedRowHighlightColumn: (row: TRow | null | undefined, col: string) => void;
|
|
38
|
+
/**
|
|
39
|
+
* addTreeGridRowById 생성 행 하이라이트 컬럼 조회
|
|
40
|
+
* @param row 대상 행
|
|
41
|
+
*/
|
|
42
|
+
export declare const getTreeGridAddedRowHighlightColumns: (row: TRow | null | undefined) => string[];
|
|
20
43
|
/**
|
|
21
44
|
* TreeGrid 인스턴스 ID 조회
|
|
22
45
|
* @param gridId TreeGrid 인스턴스 ID
|