@owp/core 2.5.35 → 2.5.37
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/components/OwpTable/OwpDataTable.js +360 -391
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTable/OwpTable.js +19 -20
- package/dist/components/OwpTable/OwpTable.js.map +1 -1
- package/dist/components/OwpTable/internal/OwpTableBase.js +78 -81
- package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
- package/dist/components/OwpTable/internal/treeGridTableStyle.js +31 -88
- package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +287 -361
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +563 -481
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +410 -331
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +47 -59
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +28 -27
- package/dist/constants.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/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/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/owp-app.css +1 -1
- package/dist/types/components/OwpTable/internal/OwpTableBase.d.ts +1 -3
- package/dist/types/components/OwpTable/internal/treeGridTableStyle.d.ts +2 -61
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +4 -2
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/treeGrid.d.ts +1 -9
- package/package.json +1 -1
|
@@ -1,66 +1,7 @@
|
|
|
1
|
-
import { TREEGRID_TABLE_BODY_BORDER_COLOR, TREEGRID_TABLE_HEADER_BORDER_COLOR } from '@/constants/treeGrid';
|
|
2
1
|
import type { OwpResolvedGridThemeConfigType } from '@/constants/gridTheme';
|
|
3
|
-
export
|
|
2
|
+
export declare const TREEGRID_TABLE_HEADER_BORDER_COLOR = "#6F7F94";
|
|
3
|
+
export declare const TREEGRID_TABLE_BODY_BORDER_COLOR = "#CDD8E4";
|
|
4
4
|
export declare const TREEGRID_TABLE_FONT_FAMILY_STACK: string;
|
|
5
|
-
/**
|
|
6
|
-
* TreeGrid header 외곽선 border 조회
|
|
7
|
-
* @param treeGridTheme Grid theme 값
|
|
8
|
-
*/
|
|
9
|
-
export declare const getTreeGridHeaderEdgeBorder: (treeGridTheme: OwpResolvedGridThemeConfigType) => string;
|
|
10
|
-
/**
|
|
11
|
-
* TreeGrid header 외곽선 head 매핑
|
|
12
|
-
* @param treeGridTheme Grid theme 값
|
|
13
|
-
*/
|
|
14
|
-
export declare const getTreeGridHeaderEdgeHeadSx: (treeGridTheme: OwpResolvedGridThemeConfigType) => {
|
|
15
|
-
borderLeft: string;
|
|
16
|
-
borderRight: string;
|
|
17
|
-
borderTop: string;
|
|
18
|
-
boxShadow: string;
|
|
19
|
-
position: string;
|
|
20
|
-
zIndex: number;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* TreeGrid header 외곽선 table selector 매핑
|
|
24
|
-
* @param treeGridTheme Grid theme 값
|
|
25
|
-
*/
|
|
26
|
-
export declare const getTreeGridHeaderEdgeTableSx: (treeGridTheme: OwpResolvedGridThemeConfigType) => {
|
|
27
|
-
'&&& .MuiTableHead-root': {
|
|
28
|
-
borderLeft: string;
|
|
29
|
-
borderRight: string;
|
|
30
|
-
borderTop: string;
|
|
31
|
-
boxShadow: string;
|
|
32
|
-
position: string;
|
|
33
|
-
zIndex: number;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* TreeGrid header cell 외곽선 매핑
|
|
38
|
-
* @param treeGridTheme Grid theme 값
|
|
39
|
-
* @param options 적용 edge
|
|
40
|
-
*/
|
|
41
|
-
export declare const getTreeGridHeaderEdgeCellSx: (treeGridTheme: OwpResolvedGridThemeConfigType, options: {
|
|
42
|
-
top?: boolean;
|
|
43
|
-
left?: boolean;
|
|
44
|
-
right?: boolean;
|
|
45
|
-
}) => {
|
|
46
|
-
borderRight: string;
|
|
47
|
-
borderLeft: string;
|
|
48
|
-
borderTop: string;
|
|
49
|
-
};
|
|
50
|
-
/** TreeGrid header 하단선 body border 매핑 */
|
|
51
|
-
export declare const getTreeGridHeaderBottomBodyBorderSx: () => {
|
|
52
|
-
borderBottom: string;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* TreeGrid radius container 외곽선 매핑
|
|
56
|
-
* @param treeGridTheme Grid theme 값
|
|
57
|
-
* @param headerRowCount header row 수
|
|
58
|
-
*/
|
|
59
|
-
export declare const getTreeGridRadiusContainerFrameSx: (treeGridTheme: OwpResolvedGridThemeConfigType, headerRowCount?: number) => {
|
|
60
|
-
background: string;
|
|
61
|
-
backgroundClip: string;
|
|
62
|
-
border: string;
|
|
63
|
-
};
|
|
64
5
|
/**
|
|
65
6
|
* TreeGrid 컨테이너 색상 매핑
|
|
66
7
|
* @param treeGridTheme Grid theme 값
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { OwpResolvedGridThemeConfigType } from '@/constants/gridTheme';
|
|
2
2
|
import type { OwpGridThemeConfigType } from '@/types/OwpGridThemeTypes';
|
|
3
3
|
import type { CSSProperties } from 'react';
|
|
4
|
-
type TreeGridThemeCssVariableName = '--owp-tree-grid-body-background-color' | '--owp-tree-grid-body-color' | '--owp-tree-grid-body-fill-background-color' | '--owp-tree-grid-row-background-color' | '--owp-tree-grid-row-solid-background-color' | '--owp-tree-grid-toolbar-row-background-color' | '--owp-tree-grid-header-background-color' | '--owp-tree-grid-header-
|
|
4
|
+
type TreeGridThemeCssVariableName = '--owp-tree-grid-body-background-color' | '--owp-tree-grid-body-color' | '--owp-tree-grid-body-fill-background-color' | '--owp-tree-grid-row-background-color' | '--owp-tree-grid-row-solid-background-color' | '--owp-tree-grid-toolbar-row-background-color' | '--owp-tree-grid-header-background-color' | '--owp-tree-grid-header-color' | '--owp-tree-grid-header-font-size' | '--owp-tree-grid-header-font-weight' | '--owp-tree-grid-header-height' | '--owp-tree-grid-cell-font-size' | '--owp-tree-grid-hover-row-background-color' | '--owp-tree-grid-hover-row-border-color' | '--owp-tree-grid-selected-cell-background-color' | '--owp-tree-grid-selected-row-background-color' | '--owp-tree-grid-focused-row-background-color' | '--owp-tree-grid-focused-row-border-color' | '--owp-tree-grid-hover-cell-background-color' | '--owp-tree-grid-hover-cell-border-color' | '--owp-tree-grid-focused-cell-background-color' | '--owp-tree-grid-focused-cell-border-color' | '--owp-tree-grid-editing-cell-border-color' | '--owp-tree-grid-error-cell-border-color' | '--owp-tree-grid-focused-cell-rect-background-color' | '--owp-tree-grid-changed-background-color' | '--owp-tree-grid-changed-text-color' | '--owp-tree-grid-changed-font-weight' | '--owp-tree-grid-added-row-box-color' | '--owp-tree-grid-table-border-radius';
|
|
5
5
|
type TreeGridLayoutDimensionValue = string | number;
|
|
6
6
|
export type TreeGridThemeContainerStyle = CSSProperties & Partial<Record<TreeGridThemeCssVariableName, string>>;
|
|
7
7
|
export declare const TREE_GRID_THEME_WRAPPER_CLASS = "owp-tree-grid-theme";
|
|
8
|
-
export declare const TREE_GRID_THEME_READY_CLASS = "owp-tree-grid-ready";
|
|
9
8
|
export declare const TREE_GRID_THEME_TABLE_RADIUS_CLASS = "owp-tree-grid-table-radius";
|
|
10
9
|
export declare const TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS = "owp-tree-grid-panel-checkbox-select";
|
|
11
10
|
export declare const TREE_GRID_SELECT_ALL_CHECKED_CLASS = "owp-tree-grid-select-all-checked";
|
|
@@ -13,6 +12,9 @@ export declare const TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS = "owp-tree-grid-s
|
|
|
13
12
|
export declare const TREE_GRID_SELECT_ALL_UNCHECKED_CLASS = "owp-tree-grid-select-all-unchecked";
|
|
14
13
|
export declare const TREE_GRID_SELECTED_CHANGED_CELL_CLASS = "owp-tree-grid-selected-changed-cell";
|
|
15
14
|
export declare const TREE_GRID_ERROR_CELL_CLASS = "owp-tree-grid-error-cell";
|
|
15
|
+
export declare const TREE_GRID_ADDED_ROW_BOX_CELL_CLASS = "owp-tree-grid-added-row-box-cell";
|
|
16
|
+
export declare const TREE_GRID_ADDED_ROW_BOX_START_CLASS = "owp-tree-grid-added-row-box-start";
|
|
17
|
+
export declare const TREE_GRID_ADDED_ROW_BOX_END_CLASS = "owp-tree-grid-added-row-box-end";
|
|
16
18
|
export declare const treeGridThemeStyles: Record<string, CSSProperties>;
|
|
17
19
|
/**
|
|
18
20
|
* TreeGrid theme CSS 변수 컨테이너 스타일 생성
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
export declare const TREEGRID_WARNING_CELL_COLOR = "#f44336";
|
|
2
2
|
export declare const TREEGRID_INPUT_CELL_COLOR = "#ffe0b2";
|
|
3
|
+
export declare const TREEGRID_ADDED_ROW_BACKGROUND_COLOR = "#D7FFD7";
|
|
3
4
|
export declare const TREEGRID_ERROR_CELL_BORDER_COLOR = "#c00000";
|
|
4
5
|
export declare const TREEGRID_CELL_CHANGED_CLASS = "OwpTreeGridChangedCell";
|
|
5
6
|
export declare const TREEGRID_CELL_HIGHLIGHT_COLOR = "#ffa726";
|
|
6
7
|
export declare const TREEGRID_CELL_HIGHLIGHT_TEXT_COLOR = "#ffffff";
|
|
7
8
|
export declare const TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT = 600;
|
|
8
9
|
export declare const TREEGRID_FONT_FAMILY = "RobotoLight";
|
|
9
|
-
export declare const TREEGRID_TABLE_HEADER_BORDER_COLOR = "#6F7F94";
|
|
10
|
-
export declare const TREEGRID_TABLE_BODY_BORDER_COLOR = "#CDD8E4";
|
|
11
10
|
export declare const TREEGRID_FONT_FAMILY_STACK: string;
|
|
12
11
|
/** TreeGrid 자산 base path 조회 */
|
|
13
12
|
export declare const getTreeGridAssetBasePath: () => string;
|
|
@@ -20,13 +19,6 @@ export declare const getTreeGridTextResourceUrl: (languageId: string) => string;
|
|
|
20
19
|
* @param color CSS 색상 문자열
|
|
21
20
|
*/
|
|
22
21
|
export declare const resolveTreeGridColorNumber: (color?: string | null) => number;
|
|
23
|
-
/**
|
|
24
|
-
* TreeGrid header 외곽선 색상 조회
|
|
25
|
-
* @param headerBackgroundColor header 배경색
|
|
26
|
-
* @param headerBorderColor header 기본 border 색상
|
|
27
|
-
* @param fallbackBorderColor 유사 색상이 아닐 때 사용할 border 색상
|
|
28
|
-
*/
|
|
29
|
-
export declare const getTreeGridHeaderEdgeBorderColor: (headerBackgroundColor: string, headerBorderColor?: string, fallbackBorderColor?: string) => string;
|
|
30
22
|
/** TreeGrid 폰트 face 스타일 조회 */
|
|
31
23
|
export declare const getTreeGridFontFaceStyles: () => {
|
|
32
24
|
'@font-face': Record<string, string>;
|