@owp/core 2.5.52 → 2.5.54
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/components/OwpErrorBoundary/OwpErrorBoundary.js +49 -32
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
- package/dist/components/OwpPageSkeleton/OwpPageSkeleton.js +4 -4
- package/dist/components/OwpPicker/OwpTimePicker.js +223 -212
- package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
- package/dist/components/OwpPicker/internal/DatePickerInput.js +56 -55
- package/dist/components/OwpPicker/internal/DatePickerInput.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +228 -227
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +189 -187
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +1152 -1027
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +549 -427
- 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 +53 -41
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +69 -49
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +53 -33
- 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 +26 -26
- 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 +8 -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/index.js +67 -66
- package/dist/layout/components/toggles/ThemePreviewToggle.js +26 -27
- package/dist/layout/components/toggles/ThemePreviewToggle.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/CODE93/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.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 +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 +3 -1
- package/dist/types/configs/theme/index.d.ts +2 -0
- package/dist/types/constants/gridTheme.d.ts +6 -0
- package/dist/types/constants/treeGrid.d.ts +40 -0
- package/dist/types/contexts/OwpAppContext.d.ts +1 -1
- package/dist/types/features/themePreview/configs/grid.d.ts +3 -4
- package/dist/types/features/themePreview/configs/settings.d.ts +15 -4
- package/dist/types/features/themePreview/utils/themePreviewExport.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/OwpGridThemeTypes.d.ts +6 -0
- package/dist/types/types/OwpSettingsTypes.d.ts +7 -0
- package/dist/types/types/index.d.ts +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/features/themePreview.d.ts +0 -3
- package/features/themePreview.js +0 -1
|
@@ -49,14 +49,12 @@ export declare const defaultSettingsConfig: {
|
|
|
49
49
|
fontSize: string;
|
|
50
50
|
};
|
|
51
51
|
state: {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
hoverBackgroundColor: string;
|
|
53
|
+
hoverBorderColor: string;
|
|
54
54
|
selectedCellBackgroundColor: string;
|
|
55
55
|
selectedRowBackgroundColor: string;
|
|
56
56
|
focusedRowBackgroundColor: string;
|
|
57
57
|
focusedRowBorderColor: string;
|
|
58
|
-
hoverCellBackgroundColor: string;
|
|
59
|
-
hoverCellBorderColor: string;
|
|
60
58
|
focusedCellBackgroundColor: string;
|
|
61
59
|
focusedCellBorderColor: string;
|
|
62
60
|
editingCellBorderColor: string;
|
|
@@ -67,6 +65,7 @@ export declare const defaultSettingsConfig: {
|
|
|
67
65
|
backgroundColor: string;
|
|
68
66
|
};
|
|
69
67
|
changed: {
|
|
68
|
+
rowBackgroundColor: string;
|
|
70
69
|
backgroundColor: string;
|
|
71
70
|
color: string;
|
|
72
71
|
fontWeight: number;
|
|
@@ -288,4 +287,16 @@ export declare const defaultSettingsConfig: {
|
|
|
288
287
|
};
|
|
289
288
|
};
|
|
290
289
|
};
|
|
290
|
+
snackbarProviderProps: {
|
|
291
|
+
maxSnack: number;
|
|
292
|
+
autoHideDuration: number;
|
|
293
|
+
anchorOrigin: {
|
|
294
|
+
vertical: "top";
|
|
295
|
+
horizontal: "center";
|
|
296
|
+
};
|
|
297
|
+
style: {
|
|
298
|
+
fontSize: string;
|
|
299
|
+
lineHeight: string;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
291
302
|
};
|
|
@@ -25,7 +25,7 @@ export interface ThemePreviewExportData {
|
|
|
25
25
|
};
|
|
26
26
|
/** settings/snackbar 관련 config payload */
|
|
27
27
|
settings: {
|
|
28
|
-
defaultSettingsConfig: Omit<typeof defaultSettingsConfig, 'snackbar' | 'theme'> & {
|
|
28
|
+
defaultSettingsConfig: Omit<typeof defaultSettingsConfig, 'snackbar' | 'snackbarProviderProps' | 'theme'> & {
|
|
29
29
|
snackbar: SnackbarTheme;
|
|
30
30
|
snackbarProviderProps: SnackbarProviderTheme;
|
|
31
31
|
theme: OwpSettingsConfigType['theme'];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export * from './components/OwpDialog';
|
|
|
8
8
|
export { OwpDialogsProvider } from './components/OwpDialogsProvider';
|
|
9
9
|
export * from './components/OwpCommonCode';
|
|
10
10
|
export * from './components/OwpExportExcelButton/OwpExportExcelButton';
|
|
11
|
-
export { OwpErrorBoundary } from './components/OwpErrorBoundary';
|
|
11
|
+
export { OwpErrorBoundary, OwpRouteErrorElement } from './components/OwpErrorBoundary';
|
|
12
12
|
export * from './components/OwpErrorStatusPage';
|
|
13
13
|
export * from './components/OwpFieldHelperText';
|
|
14
14
|
export * from './components/OwpFilePickerButton/OwpFilePickerButton';
|
|
@@ -44,6 +44,10 @@ export type OwpGridCellThemeConfigType = {
|
|
|
44
44
|
* OWP grid interaction state theme 설정
|
|
45
45
|
*/
|
|
46
46
|
export type OwpGridStateThemeConfigType = {
|
|
47
|
+
/** hover 배경색 */
|
|
48
|
+
hoverBackgroundColor?: string;
|
|
49
|
+
/** hover border 색상 */
|
|
50
|
+
hoverBorderColor?: string;
|
|
47
51
|
/** hover row 배경색 */
|
|
48
52
|
hoverRowBackgroundColor?: string;
|
|
49
53
|
/** hover row border 색상 */
|
|
@@ -82,6 +86,8 @@ export type OwpGridEditableThemeConfigType = {
|
|
|
82
86
|
* OWP grid changed cell theme 설정
|
|
83
87
|
*/
|
|
84
88
|
export type OwpGridChangedThemeConfigType = {
|
|
89
|
+
/** changed row 배경색 */
|
|
90
|
+
rowBackgroundColor?: string;
|
|
85
91
|
/** changed cell 배경색 */
|
|
86
92
|
backgroundColor?: string;
|
|
87
93
|
/** changed cell 텍스트 색상 */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { themeLayoutDefaultsProps } from '@/layout/themeLayoutConfigs';
|
|
2
2
|
import type { Palette } from '@mui/material/styles';
|
|
3
|
+
import type { SnackbarProviderProps } from 'notistack';
|
|
3
4
|
import { PartialDeep } from 'type-fest';
|
|
4
5
|
import type { OwpGridThemeConfigType } from './OwpGridThemeTypes';
|
|
5
6
|
import type { OwpTableThemeConfigType } from './OwpTableThemeTypes';
|
|
@@ -20,6 +21,10 @@ export type OwpSnackbarVariantThemeConfigType = {
|
|
|
20
21
|
* OWP snackbar theme 설정
|
|
21
22
|
*/
|
|
22
23
|
export type OwpSnackbarThemeConfigType = Record<OwpSnackbarVariantType, OwpSnackbarVariantThemeConfigType>;
|
|
24
|
+
/**
|
|
25
|
+
* OWP snackbar provider 표시 설정
|
|
26
|
+
*/
|
|
27
|
+
export type OwpSnackbarProviderConfigType = Pick<SnackbarProviderProps, 'anchorOrigin' | 'autoHideDuration' | 'maxSnack' | 'style'>;
|
|
23
28
|
/**
|
|
24
29
|
* OWP theme 한 벌의 palette/grid/table 설정
|
|
25
30
|
*/
|
|
@@ -59,6 +64,8 @@ export type OwpSettingsConfigType = {
|
|
|
59
64
|
};
|
|
60
65
|
/** snackbar variant theme 설정 */
|
|
61
66
|
snackbar: OwpSnackbarThemeConfigType;
|
|
67
|
+
/** SnackbarProvider 표시 설정 */
|
|
68
|
+
snackbarProviderProps?: OwpSnackbarProviderConfigType;
|
|
62
69
|
/** route auth 미지정 시 사용할 기본 권한 */
|
|
63
70
|
defaultAuth?: string[];
|
|
64
71
|
/** 로그인 화면 redirect URL */
|
|
@@ -4,7 +4,7 @@ export type { AlertDialogPayload, AlertDialogProps, AlertOptions, CloseDialog, C
|
|
|
4
4
|
export type { OwpExcelJSBrowserModule } from './OwpExcelTypes';
|
|
5
5
|
export type { OwpGridBodyThemeConfigType, OwpGridCellThemeConfigType, OwpGridChangedThemeConfigType, OwpGridEditableThemeConfigType, OwpGridHeaderThemeConfigType, OwpGridRowThemeConfigType, OwpGridStateThemeConfigType, OwpGridThemeConfigType, } from './OwpGridThemeTypes';
|
|
6
6
|
export type { OwpTableCellThemeConfigType, OwpTableHeaderThemeConfigType, OwpTableThemeConfigType, OwpTableVariantThemeConfigType, } from './OwpTableThemeTypes';
|
|
7
|
-
export type { OwpSnackbarThemeConfigType, OwpSnackbarVariantThemeConfigType, OwpSnackbarVariantType, OwpThemeType, OwpThemesType, OwpSettingsConfigType, } from './OwpSettingsTypes';
|
|
7
|
+
export type { OwpSnackbarProviderConfigType, OwpSnackbarThemeConfigType, OwpSnackbarVariantThemeConfigType, OwpSnackbarVariantType, OwpThemeType, OwpThemesType, OwpSettingsConfigType, } from './OwpSettingsTypes';
|
|
8
8
|
export type { OwpFlatNavItemType, OwpNavBadgeType, OwpNavPermission, OwpNavItemType, OwpPermissionFlag, } from './OwpNavigationTypes';
|
|
9
9
|
export type { OwpRouteConfigModule, OwpRouteConfigModuleMap, OwpRouteConfigType, OwpRouteItemType, OwpRoutesType, } from './OwpRouteTypes';
|
|
10
10
|
export type { AnyFormFieldType, ThemeFormConfigTypes } from './ThemeFormConfigTypes';
|