@owp/core 2.5.61 → 2.5.63
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/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index17.js +2 -5
- package/dist/_virtual/index17.js.map +1 -1
- package/dist/_virtual/index18.js +4 -4
- package/dist/_virtual/index19.js +4 -4
- package/dist/_virtual/index20.js +5 -2
- package/dist/_virtual/index20.js.map +1 -1
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js +73 -33
- package/dist/components/OwpErrorBoundary/OwpErrorBoundary.js.map +1 -1
- package/dist/components/OwpPageCarded/OwpPageCarded.js +10 -10
- package/dist/components/OwpPageCarded/OwpPageCarded.js.map +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js +5 -5
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebar.js.map +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js +1 -1
- package/dist/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.js.map +1 -1
- package/dist/components/OwpPageContent/OwpPageContent.js +3 -3
- package/dist/components/OwpPageContent/OwpPageContent.js.map +1 -1
- package/dist/components/{OwpPageTitle/OwpPageTitle.js → OwpPageContent/internal/PageTitle.js} +7 -7
- package/dist/components/OwpPageContent/internal/PageTitle.js.map +1 -0
- package/dist/components/OwpTable/OwpDataTable.js +98 -98
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTable/OwpFieldTable.js +70 -68
- package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
- package/dist/components/OwpTable/internal/OwpTableBase.js +47 -38
- package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
- package/dist/components/OwpTable/internal/defaultTableStyle.js +11 -8
- package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -1
- package/dist/components/OwpTextField/OwpBarcodeInputField.js +50 -0
- package/dist/components/OwpTextField/OwpBarcodeInputField.js.map +1 -0
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +301 -284
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +811 -745
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +631 -580
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/components/{OwpHidden/OwpHidden.js → internal/Hidden.js} +9 -9
- package/dist/components/internal/Hidden.js.map +1 -0
- package/dist/components/{OwpScrollbars/OwpScrollbars.js → internal/Scrollbars.js} +6 -6
- package/dist/components/internal/Scrollbars.js.map +1 -0
- package/dist/configs/defaultConfig.js +248 -159
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/gridTheme.js +85 -61
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/constants/tableTheme.js.map +1 -1
- package/dist/constants/treeGrid.js +57 -54
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/constants.js +50 -47
- package/dist/contexts/OwpDialogsContext.js.map +1 -0
- package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.js +3 -3
- package/dist/contexts/OwpDialogsProvider.js.map +1 -0
- package/dist/{components/OwpStyleProvider → contexts}/OwpStyleProvider.js +2 -2
- package/dist/contexts/OwpStyleProvider.js.map +1 -0
- package/dist/contexts/OwpUiProvider.js +22 -22
- package/dist/contexts/OwpUiProvider.js.map +1 -1
- package/dist/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js → contexts/internal/AutoLogoutDialog.js} +4 -4
- package/dist/contexts/internal/AutoLogoutDialog.js.map +1 -0
- package/dist/{components/OwpPageLockLoading/OwpPageLockLoading.js → contexts/internal/PageLockLoading.js} +11 -11
- package/dist/contexts/internal/PageLockLoading.js.map +1 -0
- package/dist/{components/OwpSnackbarContent/OwpSnackbarContent.js → contexts/internal/SnackbarContent.js} +26 -26
- package/dist/contexts/internal/SnackbarContent.js.map +1 -0
- package/dist/contexts.js +10 -6
- package/dist/contexts.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js +270 -256
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +195 -191
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewColorField.js +185 -188
- package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewControls.js +213 -206
- package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js +238 -148
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
- package/dist/features/themePreview/configs/grid.js +3 -59
- package/dist/features/themePreview/configs/grid.js.map +1 -1
- package/dist/features/themePreview/configs/presets.js +90 -52
- package/dist/features/themePreview/configs/presets.js.map +1 -1
- package/dist/features/themePreview/configs/settings.js +51 -27
- package/dist/features/themePreview/configs/settings.js.map +1 -1
- package/dist/features/themePreview/configs/table.js +8 -5
- package/dist/features/themePreview/configs/table.js.map +1 -1
- package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js +26 -11
- package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js.map +1 -1
- package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js +25 -11
- package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js.map +1 -1
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js +250 -209
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
- package/dist/features/themePreview/hooks/useThemePreview.js +373 -274
- package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js +79 -63
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewExport.js +1 -1
- package/dist/features/themePreview/utils/themePreviewSettings.js +258 -170
- package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -1
- package/dist/hooks/useOwpDialogs.js +1 -1
- package/dist/index.js +89 -107
- package/dist/index.js.map +1 -1
- package/dist/layout/Layout.js +18 -18
- package/dist/layout/Layout.js.map +1 -1
- package/dist/layout/components/navbar/style/NavbarStyle.js +1 -1
- package/dist/layout/components/navbar/style/NavbarStyle.js.map +1 -1
- package/dist/layout/components/navbar/style/NavbarStyleContent.js +11 -11
- package/dist/layout/components/navbar/style/NavbarStyleContent.js.map +1 -1
- package/dist/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.js → layout/components/navigation/internal/NavLinkAdapter.js} +25 -25
- package/dist/layout/components/navigation/internal/NavLinkAdapter.js.map +1 -0
- package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js +15 -15
- package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js +6 -6
- package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js +4 -4
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- package/dist/layout/components/toolbar/ToolbarLayout.js +29 -29
- package/dist/layout/components/toolbar/ToolbarLayout.js.map +1 -1
- package/dist/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.js → layout/components/toolbar/internal/PageBreadcrumb.js} +9 -9
- package/dist/layout/components/toolbar/internal/PageBreadcrumb.js.map +1 -0
- package/dist/{components/OwpPageSkeleton/OwpPageSkeleton.js → layout/internal/PageSkeleton.js} +9 -9
- package/dist/layout/internal/PageSkeleton.js.map +1 -0
- package/dist/{components/OwpSuspense/OwpSuspense.js → layout/internal/Suspense.js} +37 -37
- package/dist/layout/internal/Suspense.js.map +1 -0
- 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/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/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-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/owp-app.css +1 -1
- package/dist/types/components/{OwpPageTitle/OwpPageTitle.d.ts → OwpPageContent/internal/PageTitle.d.ts} +3 -3
- package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +5 -2
- package/dist/types/components/OwpTextField/OwpBarcodeInputField.d.ts +15 -0
- package/dist/types/components/OwpTextField/index.d.ts +1 -0
- package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +9 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +8 -1
- package/dist/types/components/{OwpHidden/OwpHidden.d.ts → internal/Hidden.d.ts} +4 -4
- package/dist/types/components/{OwpScrollbars/OwpScrollbars.d.ts → internal/Scrollbars.d.ts} +7 -7
- package/dist/types/configs/defaultConfig.d.ts +4 -4
- package/dist/types/constants/gridTheme.d.ts +24 -0
- package/dist/types/constants/tableTheme.d.ts +1 -0
- package/dist/types/constants/treeGrid.d.ts +8 -2
- package/dist/types/contexts/index.d.ts +2 -0
- package/dist/types/{components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts → contexts/internal/AutoLogoutDialog.d.ts} +2 -2
- package/dist/types/contexts/internal/PageLockLoading.d.ts +7 -0
- package/dist/types/contexts/internal/SnackbarContent.d.ts +3 -0
- package/dist/types/features/themePreview/components/ThemePreviewColorField.d.ts +4 -5
- package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +38 -2
- package/dist/types/features/themePreview/configs/grid.d.ts +14 -0
- package/dist/types/features/themePreview/configs/presets.d.ts +4 -2
- package/dist/types/features/themePreview/configs/settings.d.ts +40 -0
- package/dist/types/features/themePreview/configs/table.d.ts +2 -0
- package/dist/types/features/themePreview/hooks/useThemePreview.d.ts +2 -0
- package/dist/types/hooks/usePageLockLoading.d.ts +3 -3
- package/dist/types/index.d.ts +1 -10
- package/dist/types/{components/OwpNavLinkAdapter/OwpNavLinkAdapter.d.ts → layout/components/navigation/internal/NavLinkAdapter.d.ts} +3 -3
- package/dist/types/layout/internal/PageSkeleton.d.ts +6 -0
- package/dist/types/layout/internal/Suspense.d.ts +13 -0
- package/dist/types/types/OwpGridThemeTypes.d.ts +30 -1
- package/dist/types/types/OwpMuiThemeTypes.d.ts +16 -0
- package/dist/types/types/OwpTableThemeTypes.d.ts +2 -0
- package/dist/types/types/PageLockLoadingTypes.d.ts +9 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/utils/treeGridUtil.js +44 -38
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.js.map +0 -1
- package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js +0 -38
- package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js.map +0 -1
- package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +0 -1
- package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js.map +0 -1
- package/dist/components/OwpHidden/OwpHidden.js.map +0 -1
- package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js.map +0 -1
- package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +0 -1
- package/dist/components/OwpPageLockLoading/OwpPageLockLoading.js.map +0 -1
- package/dist/components/OwpPageSkeleton/OwpPageSkeleton.js.map +0 -1
- package/dist/components/OwpPageTitle/OwpPageTitle.js.map +0 -1
- package/dist/components/OwpScrollbars/OwpScrollbars.js.map +0 -1
- package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js.map +0 -1
- package/dist/components/OwpStyleProvider/OwpStyleProvider.js.map +0 -1
- package/dist/components/OwpSuspense/OwpSuspense.js.map +0 -1
- package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js +0 -66
- package/dist/components/OwpZoomImageSlider/OwpZoomImageSlider.js.map +0 -1
- package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js +0 -49
- package/dist/components/OwpZoomImageSlider/internal/ZoomImage.js.map +0 -1
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowBackIosNew.js +0 -9
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowBackIosNew.js.map +0 -1
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowForwardIos.js +0 -9
- package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowForwardIos.js.map +0 -1
- package/dist/types/components/OwpAutoLogoutDialog/index.d.ts +0 -1
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInput.d.ts +0 -1
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +0 -7
- package/dist/types/components/OwpBarcodeInput/index.d.ts +0 -1
- package/dist/types/components/OwpDialogsProvider/index.d.ts +0 -1
- package/dist/types/components/OwpHidden/index.d.ts +0 -2
- package/dist/types/components/OwpNavLinkAdapter/index.d.ts +0 -2
- package/dist/types/components/OwpPageBreadcrumb/index.d.ts +0 -2
- package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +0 -15
- package/dist/types/components/OwpPageLockLoading/index.d.ts +0 -1
- package/dist/types/components/OwpPageSkeleton/OwpPageSkeleton.d.ts +0 -6
- package/dist/types/components/OwpPageSkeleton/index.d.ts +0 -1
- package/dist/types/components/OwpPageTitle/index.d.ts +0 -1
- package/dist/types/components/OwpScrollbars/index.d.ts +0 -1
- package/dist/types/components/OwpSnackbarContent/OwpSnackbarContent.d.ts +0 -3
- package/dist/types/components/OwpStyleProvider/index.d.ts +0 -2
- package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +0 -16
- package/dist/types/components/OwpSuspense/index.d.ts +0 -1
- package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +0 -20
- package/dist/types/components/OwpZoomImageSlider/index.d.ts +0 -1
- package/dist/types/components/OwpZoomImageSlider/internal/ZoomImage.d.ts +0 -7
- /package/dist/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.js +0 -0
- /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsContext.d.ts +0 -0
- /package/dist/types/{components/OwpDialogsProvider → contexts}/OwpDialogsProvider.d.ts +0 -0
- /package/dist/types/{components/OwpStyleProvider → contexts}/OwpStyleProvider.d.ts +0 -0
- /package/dist/types/{components/OwpPageBreadcrumb/OwpPageBreadcrumb.d.ts → layout/components/toolbar/internal/PageBreadcrumb.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type
|
|
2
|
+
type ScrollbarOption = {
|
|
3
3
|
wheelPropagation?: boolean;
|
|
4
4
|
suppressScrollX?: boolean;
|
|
5
5
|
};
|
|
@@ -15,21 +15,21 @@ declare const handlerNameByEvent: {
|
|
|
15
15
|
readonly 'ps-x-reach-start': "onXReachStart";
|
|
16
16
|
readonly 'ps-x-reach-end': "onXReachEnd";
|
|
17
17
|
};
|
|
18
|
-
type
|
|
19
|
-
type
|
|
20
|
-
type
|
|
18
|
+
type ScrollbarEventName = keyof typeof handlerNameByEvent;
|
|
19
|
+
type ScrollbarHandlerName = (typeof handlerNameByEvent)[ScrollbarEventName];
|
|
20
|
+
type ScrollbarEventCallback = (container: HTMLDivElement) => void;
|
|
21
21
|
/**
|
|
22
22
|
* PerfectScrollbar 기반 custom scrollbar wrapper
|
|
23
23
|
* @param props scroll event handler, route/children 변경 시 scroll reset 옵션, PerfectScrollbar 옵션
|
|
24
24
|
* @param ref forwardRef 참조
|
|
25
25
|
*/
|
|
26
|
-
declare const
|
|
26
|
+
declare const Scrollbars: import("react").ForwardRefExoticComponent<Partial<Record<ScrollbarHandlerName, ScrollbarEventCallback>> & {
|
|
27
27
|
id?: string;
|
|
28
28
|
className?: string;
|
|
29
29
|
children: ReactNode;
|
|
30
30
|
enable?: boolean;
|
|
31
31
|
scrollToTopOnChildChange?: boolean;
|
|
32
32
|
scrollToTopOnRouteChange?: boolean;
|
|
33
|
-
option?:
|
|
33
|
+
option?: ScrollbarOption;
|
|
34
34
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
35
|
-
export {
|
|
35
|
+
export { Scrollbars };
|
|
@@ -166,15 +166,15 @@ export declare const defaultThemeOptions: {
|
|
|
166
166
|
textTransform: string;
|
|
167
167
|
variants: ({
|
|
168
168
|
props: {
|
|
169
|
-
loading: boolean;
|
|
170
169
|
variant: string;
|
|
171
|
-
color: "error" | "primary" | "secondary" | "info" | "
|
|
170
|
+
color: "error" | "primary" | "secondary" | "info" | "warning" | "success";
|
|
172
171
|
};
|
|
173
172
|
style: ({ theme }: {
|
|
174
173
|
theme: any;
|
|
175
174
|
}) => {
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
color: string;
|
|
176
|
+
'&:hover, &:focus': {
|
|
177
|
+
backgroundColor: string;
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
} | {
|
|
@@ -43,6 +43,7 @@ export type OwpResolvedGridThemeConfigType = {
|
|
|
43
43
|
selectedCellBackgroundColor: string;
|
|
44
44
|
selectedRowBackgroundColor: string;
|
|
45
45
|
focusedRowBackgroundColor: string;
|
|
46
|
+
/** @deprecated focused row border는 focused row background와 동일하게 적용된다. */
|
|
46
47
|
focusedRowBorderColor: string;
|
|
47
48
|
hoverCellBackgroundColor: string;
|
|
48
49
|
hoverCellBorderColor: string;
|
|
@@ -57,6 +58,14 @@ export type OwpResolvedGridThemeConfigType = {
|
|
|
57
58
|
editable: {
|
|
58
59
|
backgroundColor: string;
|
|
59
60
|
};
|
|
61
|
+
/** 신규 row 표시 token */
|
|
62
|
+
added: {
|
|
63
|
+
rowBackgroundColor: string;
|
|
64
|
+
};
|
|
65
|
+
/** 삭제 row 표시 token */
|
|
66
|
+
deleted: {
|
|
67
|
+
rowBackgroundColor: string;
|
|
68
|
+
};
|
|
60
69
|
/** changed cell highlight token */
|
|
61
70
|
changed: {
|
|
62
71
|
rowBackgroundColor: string;
|
|
@@ -64,6 +73,11 @@ export type OwpResolvedGridThemeConfigType = {
|
|
|
64
73
|
color: string;
|
|
65
74
|
fontWeight: number | string;
|
|
66
75
|
};
|
|
76
|
+
/** Enum dropdown menu 표시 token */
|
|
77
|
+
enumMenu: {
|
|
78
|
+
hoverBackgroundColor: string;
|
|
79
|
+
selectedBackgroundColor: string;
|
|
80
|
+
};
|
|
67
81
|
/** TreeGrid scrollbar 표시 token */
|
|
68
82
|
scrollbar: {
|
|
69
83
|
backgroundColor: string;
|
|
@@ -120,12 +134,22 @@ export declare const defaultOwpGridTheme: {
|
|
|
120
134
|
editable: {
|
|
121
135
|
backgroundColor: string;
|
|
122
136
|
};
|
|
137
|
+
added: {
|
|
138
|
+
rowBackgroundColor: string;
|
|
139
|
+
};
|
|
140
|
+
deleted: {
|
|
141
|
+
rowBackgroundColor: string;
|
|
142
|
+
};
|
|
123
143
|
changed: {
|
|
124
144
|
rowBackgroundColor: string;
|
|
125
145
|
backgroundColor: string;
|
|
126
146
|
color: string;
|
|
127
147
|
fontWeight: number;
|
|
128
148
|
};
|
|
149
|
+
enumMenu: {
|
|
150
|
+
hoverBackgroundColor: string;
|
|
151
|
+
selectedBackgroundColor: string;
|
|
152
|
+
};
|
|
129
153
|
scrollbar: {
|
|
130
154
|
backgroundColor: string;
|
|
131
155
|
hoverBackgroundColor: string;
|
|
@@ -22,10 +22,14 @@ export declare const TREEGRID_DEFAULT_HOVER_BORDER_COLOR = "#e0e0e0";
|
|
|
22
22
|
export declare const TREEGRID_DEFAULT_SELECTED_CELL_BACKGROUND_COLOR = "#FFFFA6";
|
|
23
23
|
/** TreeGrid 기본 selected row 배경색 */
|
|
24
24
|
export declare const TREEGRID_DEFAULT_SELECTED_ROW_BACKGROUND_COLOR = "#EEE";
|
|
25
|
+
/** TreeGrid Enum menu hover 항목 배경색 */
|
|
26
|
+
export declare const TREEGRID_DEFAULT_ENUM_MENU_HOVER_BACKGROUND_COLOR = "#f5f5f5";
|
|
27
|
+
/** TreeGrid Enum menu 선택 항목 배경색 */
|
|
28
|
+
export declare const TREEGRID_DEFAULT_ENUM_MENU_SELECTED_BACKGROUND_COLOR = "#e0e0e0";
|
|
25
29
|
/** TreeGrid 기본 focused row 배경색 */
|
|
26
30
|
export declare const TREEGRID_DEFAULT_FOCUSED_ROW_BACKGROUND_COLOR = "#EEE";
|
|
27
31
|
/** TreeGrid 기본 focused row border 색상 */
|
|
28
|
-
export declare const TREEGRID_DEFAULT_FOCUSED_ROW_BORDER_COLOR = "#
|
|
32
|
+
export declare const TREEGRID_DEFAULT_FOCUSED_ROW_BORDER_COLOR = "#EEE";
|
|
29
33
|
/** TreeGrid 기본 focused cell 배경색 */
|
|
30
34
|
export declare const TREEGRID_DEFAULT_FOCUSED_CELL_BACKGROUND_COLOR = "#FFFFFE";
|
|
31
35
|
/** TreeGrid 기본 focused cell border 색상 */
|
|
@@ -39,7 +43,9 @@ export declare const TREEGRID_DEFAULT_FOCUSED_CELL_RECT_BACKGROUND_COLOR = "#D7F
|
|
|
39
43
|
/** TreeGrid 입력 가능 cell 표시 색상 */
|
|
40
44
|
export declare const TREEGRID_INPUT_CELL_COLOR = "#ffe0b2";
|
|
41
45
|
/** TreeGrid 신규 행 배경색 */
|
|
42
|
-
export declare const TREEGRID_ADDED_ROW_BACKGROUND_COLOR = "#
|
|
46
|
+
export declare const TREEGRID_ADDED_ROW_BACKGROUND_COLOR = "#c8e6c9";
|
|
47
|
+
/** TreeGrid 삭제 행 배경색 */
|
|
48
|
+
export declare const TREEGRID_DELETED_ROW_BACKGROUND_COLOR = "#ffcdd2";
|
|
43
49
|
/** TreeGrid error cell border 색상 */
|
|
44
50
|
export declare const TREEGRID_ERROR_CELL_BORDER_COLOR = "#c00000";
|
|
45
51
|
/** TreeGrid changed row 배경색 */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './OwpAppContext';
|
|
2
2
|
export * from './OwpAppProvider';
|
|
3
3
|
export * from './OwpCoreProvider';
|
|
4
|
+
export { OwpDialogsProvider } from './OwpDialogsProvider';
|
|
4
5
|
export * from './OwpStoreProvider';
|
|
6
|
+
export * from './OwpStyleProvider';
|
|
5
7
|
export * from './OwpUiProvider';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
type
|
|
1
|
+
type AutoLogoutDialogProps = {
|
|
2
2
|
timeout?: number;
|
|
3
3
|
};
|
|
4
4
|
/**
|
|
5
5
|
* 사용자 idle 상태를 감지해 만료 안내 후 login route로 이동
|
|
6
6
|
* @param timeout 자동 로그아웃 시간(ms), 미지정 시 1시간
|
|
7
7
|
*/
|
|
8
|
-
export declare function
|
|
8
|
+
export declare function AutoLogoutDialog({ timeout }: AutoLogoutDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PageLockLoadingProps } from '@/types/PageLockLoadingTypes';
|
|
2
|
+
/**
|
|
3
|
+
* 화면 전체 Backdrop으로 페이지 조작을 잠그는 loading overlay
|
|
4
|
+
* @param props Backdrop 표시 여부와 안내 문구
|
|
5
|
+
*/
|
|
6
|
+
declare const PageLockLoading: ({ loading, title }: PageLockLoadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { PageLockLoading };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import type { ThemePreviewFieldDefinition
|
|
1
|
+
import type { ThemePreviewFieldDefinition } from '../types';
|
|
2
2
|
interface ThemePreviewColorFieldProps {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
definition: ThemePreviewFieldDefinition;
|
|
5
5
|
resetVersion?: number;
|
|
6
|
-
|
|
7
|
-
settings: ThemePreviewSettings;
|
|
6
|
+
value: string;
|
|
8
7
|
onChange: (path: string, value: string) => void;
|
|
9
8
|
onReset?: (path: string) => void;
|
|
10
9
|
}
|
|
11
10
|
/**
|
|
12
11
|
* Theme Preview field definition을 text/color/select 입력으로 render하는 edit field
|
|
13
|
-
* @param props field definition,
|
|
12
|
+
* @param props field definition, 현재 값, change/reset handler
|
|
14
13
|
*/
|
|
15
|
-
export declare
|
|
14
|
+
export declare const ThemePreviewColorField: import("react").NamedExoticComponent<ThemePreviewColorFieldProps>;
|
|
16
15
|
export {};
|
|
@@ -111,8 +111,17 @@ export declare const gridCanvasPreviewRows: ({
|
|
|
111
111
|
'OWP_THEME_PREVIEW.USER_ID': string;
|
|
112
112
|
'OWP_THEME_PREVIEW.WEIGHT': number;
|
|
113
113
|
'OWP_THEME_PREVIEW.WORK_DATE': string;
|
|
114
|
+
'OWP_THEME_PREVIEW.C': string;
|
|
115
|
+
'OWP_THEME_PREVIEW.LOCATION': string;
|
|
116
|
+
'OWP_THEME_PREVIEW.LOT_NO': string;
|
|
117
|
+
'OWP_THEME_PREVIEW.PROCESS': string;
|
|
118
|
+
'OWP_THEME_PREVIEW.INSPECTOR': string;
|
|
119
|
+
'OWP_THEME_PREVIEW.QC_RESULT': string;
|
|
120
|
+
'OWP_THEME_PREVIEW.DUE_DATE': string;
|
|
121
|
+
'OWP_THEME_PREVIEW.ORDER_NO': string;
|
|
122
|
+
Added: number;
|
|
114
123
|
CanSelect: number;
|
|
115
|
-
|
|
124
|
+
Deleted?: undefined;
|
|
116
125
|
} | {
|
|
117
126
|
'OWP_THEME_PREVIEW.ITEM_NAME': string;
|
|
118
127
|
'OWP_THEME_PREVIEW.REMARK': string;
|
|
@@ -120,8 +129,35 @@ export declare const gridCanvasPreviewRows: ({
|
|
|
120
129
|
'OWP_THEME_PREVIEW.USER_ID': string;
|
|
121
130
|
'OWP_THEME_PREVIEW.WEIGHT': number;
|
|
122
131
|
'OWP_THEME_PREVIEW.WORK_DATE': string;
|
|
132
|
+
'OWP_THEME_PREVIEW.C': string;
|
|
133
|
+
'OWP_THEME_PREVIEW.LOCATION': string;
|
|
134
|
+
'OWP_THEME_PREVIEW.LOT_NO': string;
|
|
135
|
+
'OWP_THEME_PREVIEW.PROCESS': string;
|
|
136
|
+
'OWP_THEME_PREVIEW.INSPECTOR': string;
|
|
137
|
+
'OWP_THEME_PREVIEW.QC_RESULT': string;
|
|
138
|
+
'OWP_THEME_PREVIEW.DUE_DATE': string;
|
|
139
|
+
'OWP_THEME_PREVIEW.ORDER_NO': string;
|
|
140
|
+
Added: number;
|
|
141
|
+
Deleted: number;
|
|
123
142
|
CanSelect: number;
|
|
124
|
-
|
|
143
|
+
} | {
|
|
144
|
+
'OWP_THEME_PREVIEW.ITEM_NAME': string;
|
|
145
|
+
'OWP_THEME_PREVIEW.REMARK': string;
|
|
146
|
+
'OWP_THEME_PREVIEW.STATUS': string;
|
|
147
|
+
'OWP_THEME_PREVIEW.USER_ID': string;
|
|
148
|
+
'OWP_THEME_PREVIEW.WEIGHT': number;
|
|
149
|
+
'OWP_THEME_PREVIEW.WORK_DATE': string;
|
|
150
|
+
'OWP_THEME_PREVIEW.C': string;
|
|
151
|
+
'OWP_THEME_PREVIEW.LOCATION': string;
|
|
152
|
+
'OWP_THEME_PREVIEW.LOT_NO': string;
|
|
153
|
+
'OWP_THEME_PREVIEW.PROCESS': string;
|
|
154
|
+
'OWP_THEME_PREVIEW.INSPECTOR': string;
|
|
155
|
+
'OWP_THEME_PREVIEW.QC_RESULT': string;
|
|
156
|
+
'OWP_THEME_PREVIEW.DUE_DATE': string;
|
|
157
|
+
'OWP_THEME_PREVIEW.ORDER_NO': string;
|
|
158
|
+
CanSelect: number;
|
|
159
|
+
Added?: undefined;
|
|
160
|
+
Deleted?: undefined;
|
|
125
161
|
})[];
|
|
126
162
|
/** Preview control에서 사용하는 no-op callback */
|
|
127
163
|
export declare const previewNoop: () => void;
|
|
@@ -24,10 +24,14 @@ export declare const defaultGridTheme: {
|
|
|
24
24
|
state: {
|
|
25
25
|
hoverBackgroundColor: string;
|
|
26
26
|
hoverBorderColor: string;
|
|
27
|
+
hoverRowBackgroundColor: string;
|
|
28
|
+
hoverRowBorderColor: string;
|
|
27
29
|
selectedCellBackgroundColor: string;
|
|
28
30
|
selectedRowBackgroundColor: string;
|
|
29
31
|
focusedRowBackgroundColor: string;
|
|
30
32
|
focusedRowBorderColor: string;
|
|
33
|
+
hoverCellBackgroundColor: string;
|
|
34
|
+
hoverCellBorderColor: string;
|
|
31
35
|
focusedCellBackgroundColor: string;
|
|
32
36
|
focusedCellBorderColor: string;
|
|
33
37
|
editingCellBorderColor: string;
|
|
@@ -38,12 +42,22 @@ export declare const defaultGridTheme: {
|
|
|
38
42
|
editable: {
|
|
39
43
|
backgroundColor: string;
|
|
40
44
|
};
|
|
45
|
+
added: {
|
|
46
|
+
rowBackgroundColor: string;
|
|
47
|
+
};
|
|
48
|
+
deleted: {
|
|
49
|
+
rowBackgroundColor: string;
|
|
50
|
+
};
|
|
41
51
|
changed: {
|
|
42
52
|
rowBackgroundColor: string;
|
|
43
53
|
backgroundColor: string;
|
|
44
54
|
color: string;
|
|
45
55
|
fontWeight: number;
|
|
46
56
|
};
|
|
57
|
+
enumMenu: {
|
|
58
|
+
hoverBackgroundColor: string;
|
|
59
|
+
selectedBackgroundColor: string;
|
|
60
|
+
};
|
|
47
61
|
scrollbar: {
|
|
48
62
|
backgroundColor: string;
|
|
49
63
|
hoverBackgroundColor: string;
|
|
@@ -46,8 +46,8 @@ export declare const themePreviewPresetContractKeys: readonly ["light1", "light2
|
|
|
46
46
|
export declare const toolbarCuratedPresetKeys: readonly ["toolbarSkyLight", "toolbarMistLight", "toolbarNavyDark", "toolbarTealDark"];
|
|
47
47
|
/** design system 기반 preset key 목록 */
|
|
48
48
|
export declare const designSystemPresetKeys: readonly ["atlassianBrand", "atlassianBrandDark", "carbonBlue", "carbonBlueDark", "primerSlate", "primerSlateDark", "cloudscapeBlue", "cloudscapeBlueDark"];
|
|
49
|
-
/** Theme Preview preset theme map */
|
|
50
|
-
|
|
49
|
+
/** Theme Preview preset theme map source */
|
|
50
|
+
declare const rawThemesConfig: {
|
|
51
51
|
toolbarSkyLight: {
|
|
52
52
|
palette: {
|
|
53
53
|
mode: string;
|
|
@@ -1161,4 +1161,6 @@ export declare const themesConfig: {
|
|
|
1161
1161
|
};
|
|
1162
1162
|
};
|
|
1163
1163
|
};
|
|
1164
|
+
/** Theme Preview preset별 button palette 기본값 보강 */
|
|
1165
|
+
export declare const themesConfig: typeof rawThemesConfig;
|
|
1164
1166
|
export default themesConfig;
|
|
@@ -51,10 +51,14 @@ export declare const defaultSettingsConfig: {
|
|
|
51
51
|
state: {
|
|
52
52
|
hoverBackgroundColor: string;
|
|
53
53
|
hoverBorderColor: string;
|
|
54
|
+
hoverRowBackgroundColor: string;
|
|
55
|
+
hoverRowBorderColor: string;
|
|
54
56
|
selectedCellBackgroundColor: string;
|
|
55
57
|
selectedRowBackgroundColor: string;
|
|
56
58
|
focusedRowBackgroundColor: string;
|
|
57
59
|
focusedRowBorderColor: string;
|
|
60
|
+
hoverCellBackgroundColor: string;
|
|
61
|
+
hoverCellBorderColor: string;
|
|
58
62
|
focusedCellBackgroundColor: string;
|
|
59
63
|
focusedCellBorderColor: string;
|
|
60
64
|
editingCellBorderColor: string;
|
|
@@ -65,12 +69,22 @@ export declare const defaultSettingsConfig: {
|
|
|
65
69
|
editable: {
|
|
66
70
|
backgroundColor: string;
|
|
67
71
|
};
|
|
72
|
+
added: {
|
|
73
|
+
rowBackgroundColor: string;
|
|
74
|
+
};
|
|
75
|
+
deleted: {
|
|
76
|
+
rowBackgroundColor: string;
|
|
77
|
+
};
|
|
68
78
|
changed: {
|
|
69
79
|
rowBackgroundColor: string;
|
|
70
80
|
backgroundColor: string;
|
|
71
81
|
color: string;
|
|
72
82
|
fontWeight: number;
|
|
73
83
|
};
|
|
84
|
+
enumMenu: {
|
|
85
|
+
hoverBackgroundColor: string;
|
|
86
|
+
selectedBackgroundColor: string;
|
|
87
|
+
};
|
|
74
88
|
scrollbar: {
|
|
75
89
|
backgroundColor: string;
|
|
76
90
|
hoverBackgroundColor: string;
|
|
@@ -88,6 +102,7 @@ export declare const defaultSettingsConfig: {
|
|
|
88
102
|
borderRadius: string;
|
|
89
103
|
header: {
|
|
90
104
|
backgroundColor: string;
|
|
105
|
+
borderColor: string;
|
|
91
106
|
color: string;
|
|
92
107
|
fontSize: string;
|
|
93
108
|
};
|
|
@@ -102,6 +117,7 @@ export declare const defaultSettingsConfig: {
|
|
|
102
117
|
field: {
|
|
103
118
|
header: {
|
|
104
119
|
backgroundColor: string;
|
|
120
|
+
borderColor: string;
|
|
105
121
|
color: string;
|
|
106
122
|
fontSize: string;
|
|
107
123
|
fontWeight: number;
|
|
@@ -139,6 +155,30 @@ export declare const defaultSettingsConfig: {
|
|
|
139
155
|
dark: string;
|
|
140
156
|
contrastText: string;
|
|
141
157
|
};
|
|
158
|
+
button: {
|
|
159
|
+
primary: {
|
|
160
|
+
main: string;
|
|
161
|
+
contrastText: string;
|
|
162
|
+
};
|
|
163
|
+
secondary: {
|
|
164
|
+
main: string;
|
|
165
|
+
contrastText: string;
|
|
166
|
+
};
|
|
167
|
+
success: {
|
|
168
|
+
main: string;
|
|
169
|
+
};
|
|
170
|
+
info: {
|
|
171
|
+
main: string;
|
|
172
|
+
contrastText: string;
|
|
173
|
+
};
|
|
174
|
+
warning: {
|
|
175
|
+
main: string;
|
|
176
|
+
contrastText: string;
|
|
177
|
+
};
|
|
178
|
+
error: {
|
|
179
|
+
main: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
142
182
|
inputFocus: {
|
|
143
183
|
main: "#212121";
|
|
144
184
|
};
|
|
@@ -46,6 +46,7 @@ export declare const defaultTableTheme: {
|
|
|
46
46
|
borderRadius: string;
|
|
47
47
|
header: {
|
|
48
48
|
backgroundColor: string;
|
|
49
|
+
borderColor: string;
|
|
49
50
|
color: string;
|
|
50
51
|
fontSize: string;
|
|
51
52
|
};
|
|
@@ -60,6 +61,7 @@ export declare const defaultTableTheme: {
|
|
|
60
61
|
field: {
|
|
61
62
|
header: {
|
|
62
63
|
backgroundColor: string;
|
|
64
|
+
borderColor: string;
|
|
63
65
|
color: string;
|
|
64
66
|
fontSize: string;
|
|
65
67
|
fontWeight: number;
|
|
@@ -16,6 +16,7 @@ interface UseThemePreviewOptions {
|
|
|
16
16
|
export declare function useThemePreview({ initialSection, initialPresetKeys: _initialPresetKeys, presetThemes, resetTheme, }: UseThemePreviewOptions): {
|
|
17
17
|
activeSection: ThemePreviewSectionKey;
|
|
18
18
|
canApplyToMain: boolean;
|
|
19
|
+
canResetMainToDefault: boolean;
|
|
19
20
|
draftSettings: ThemePreviewSettings;
|
|
20
21
|
hasTemporaryChanges: boolean;
|
|
21
22
|
hasTemporarySnapshot: boolean;
|
|
@@ -62,6 +63,7 @@ export declare function useThemePreview({ initialSection, initialPresetKeys: _in
|
|
|
62
63
|
handlePresetKeyChange: (presetKey: string) => void;
|
|
63
64
|
handlePresetModeChange: (mode: ThemePreviewMode) => void;
|
|
64
65
|
handleReset: () => void;
|
|
66
|
+
handleResetMainToDefault: () => void;
|
|
65
67
|
handleTemporaryLoad: () => boolean;
|
|
66
68
|
handleTemporarySave: (saveType?: ThemePreviewTemporaryState["saveType"]) => void;
|
|
67
69
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PageLockLoadingProps } from '@/types/PageLockLoadingTypes';
|
|
2
2
|
/**
|
|
3
3
|
* storage-backed page lock loading 상태 조회 Hook
|
|
4
4
|
*/
|
|
5
|
-
export declare const useGetPageLockLoading: () =>
|
|
5
|
+
export declare const useGetPageLockLoading: () => PageLockLoadingProps;
|
|
6
6
|
/**
|
|
7
7
|
* page lock loading 상태 setter를 반환하는 Hook
|
|
8
8
|
*/
|
|
9
9
|
export declare const usePageLockLoading: () => {
|
|
10
|
-
setLoading: (args_0: typeof import("jotai/utils").RESET |
|
|
10
|
+
setLoading: (args_0: typeof import("jotai/utils").RESET | PageLockLoadingProps | ((prev: PageLockLoadingProps) => typeof import("jotai/utils").RESET | PageLockLoadingProps)) => void;
|
|
11
11
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,10 +2,7 @@ import './types/OwpMuiThemeTypes';
|
|
|
2
2
|
export * from './layout/themeLayouts';
|
|
3
3
|
export * from './configs/defaultConfig';
|
|
4
4
|
export * from './components/OwpLanguageSwitcherSelect';
|
|
5
|
-
export * from './components/OwpAutoLogoutDialog/OwpAutoLogoutDialog';
|
|
6
|
-
export * from './components/OwpBarcodeInput/OwpBarcodeInputField';
|
|
7
5
|
export * from './components/OwpDialog';
|
|
8
|
-
export { OwpDialogsProvider } from './components/OwpDialogsProvider';
|
|
9
6
|
export * from './components/OwpCommonCode';
|
|
10
7
|
export * from './components/OwpExportExcelButton/OwpExportExcelButton';
|
|
11
8
|
export { OwpErrorBoundary, OwpRouteErrorElement } from './components/OwpErrorBoundary';
|
|
@@ -18,32 +15,26 @@ export * from './components/OwpMoreActionsButton/OwpMoreActionsButton';
|
|
|
18
15
|
export * from './components/OwpNumberField';
|
|
19
16
|
export * from './components/OwpOptionSelector';
|
|
20
17
|
export * from './components/OwpPageCarded';
|
|
21
|
-
export * from './components/OwpPageBreadcrumb';
|
|
22
18
|
export * from './components/OwpPageContent';
|
|
23
|
-
export * from './components/OwpPageLockLoading';
|
|
24
|
-
export * from './components/OwpPageTitle';
|
|
25
19
|
export * from './components/OwpQuerySelector';
|
|
26
20
|
export * from './components/OwpPicker/OwpDatePicker';
|
|
27
21
|
export * from './components/OwpPicker/OwpDateRangePicker';
|
|
28
22
|
export * from './components/OwpPicker/OwpTimePicker';
|
|
29
23
|
export * from './components/OwpPicker/OwpWeekDatePicker';
|
|
30
|
-
export * from './components/OwpScrollbars';
|
|
31
24
|
export * from './components/OwpSearchFilter';
|
|
32
25
|
export * from './components/OwpSection';
|
|
33
|
-
export * from './components/OwpStyleProvider';
|
|
34
|
-
export * from './components/OwpSuspense';
|
|
35
26
|
export * from './components/OwpSvgIcon';
|
|
36
27
|
export * from './components/OwpRequiredHelperText';
|
|
37
28
|
export * from './components/OwpTable/OwpDataTable';
|
|
38
29
|
export * from './components/OwpTable/OwpTable';
|
|
39
30
|
export * from './components/OwpTable/OwpFieldTable';
|
|
31
|
+
export * from './components/OwpTextField/OwpBarcodeInputField';
|
|
40
32
|
export * from './components/OwpTextField/OwpTextMaskField';
|
|
41
33
|
export * from './components/OwpTabs';
|
|
42
34
|
export * from './components/OwpTreeGridExportExcelButton';
|
|
43
35
|
export * from './components/OwpTreeGridResetChangesButton';
|
|
44
36
|
export * from './components/OwpTreeGrid';
|
|
45
37
|
export * from './components/OwpTreeGrid/OwpTreeGridToolbar';
|
|
46
|
-
export * from './components/OwpZoomImageSlider/OwpZoomImageSlider';
|
|
47
38
|
export * from './components/OwpYesNoSelector';
|
|
48
39
|
export type { OwpSelectorBaseChangeEvent, OwpSelectorBaseOption, } from './components/OwpSelectorBase/types';
|
|
49
40
|
export type { OwpFlatNavItemType, OwpNavBadgeType, OwpNavPermission, OwpNavItemType, OwpPermissionFlag, } from './types/OwpNavigationTypes';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
2
|
import { type NavLinkProps } from 'react-router-dom';
|
|
3
3
|
/** React Router NavLink에 active class/style 계약을 추가한 adapter 속성 */
|
|
4
|
-
export type
|
|
4
|
+
export type NavLinkAdapterProps = NavLinkProps & {
|
|
5
5
|
/** route match 상태일 때 추가할 className */
|
|
6
6
|
activeClassName?: string;
|
|
7
7
|
/** route match 상태일 때 병합할 inline style */
|
|
@@ -10,7 +10,7 @@ export type OwpNavLinkAdapterProps = NavLinkProps & {
|
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
};
|
|
12
12
|
/** React Router NavLink 활성 상태를 className/style로 병합하는 adapter */
|
|
13
|
-
declare const
|
|
13
|
+
declare const NavLinkAdapter: import("react").ForwardRefExoticComponent<NavLinkProps & {
|
|
14
14
|
/** route match 상태일 때 추가할 className */
|
|
15
15
|
activeClassName?: string;
|
|
16
16
|
/** route match 상태일 때 병합할 inline style */
|
|
@@ -18,4 +18,4 @@ declare const OwpNavLinkAdapter: import("react").ForwardRefExoticComponent<NavLi
|
|
|
18
18
|
/** link 내부에 표시할 콘텐츠 */
|
|
19
19
|
children?: ReactNode;
|
|
20
20
|
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
21
|
-
export default
|
|
21
|
+
export default NavLinkAdapter;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { OwpLoadingProps } from '@/components/OwpLoading/OwpLoading';
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
3
|
+
type SuspenseProps = {
|
|
4
|
+
loadingProps?: OwpLoadingProps;
|
|
5
|
+
showLoadingFallback?: boolean;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* route loading slot, skeleton, fallback spinner를 조합하는 Suspense boundary
|
|
10
|
+
* @param props fallback 표시 옵션과 children
|
|
11
|
+
*/
|
|
12
|
+
declare function Suspense(props: SuspenseProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { Suspense };
|
|
@@ -58,7 +58,7 @@ export type OwpGridStateThemeConfigType = {
|
|
|
58
58
|
selectedRowBackgroundColor?: string;
|
|
59
59
|
/** focused row 배경색 */
|
|
60
60
|
focusedRowBackgroundColor?: string;
|
|
61
|
-
/** focused row border
|
|
61
|
+
/** @deprecated focused row border는 focused row background와 동일하게 적용된다. */
|
|
62
62
|
focusedRowBorderColor?: string;
|
|
63
63
|
/** hover cell 배경색 */
|
|
64
64
|
hoverCellBackgroundColor?: string;
|
|
@@ -84,6 +84,20 @@ export type OwpGridEditableThemeConfigType = {
|
|
|
84
84
|
/** editable cell 배경색 */
|
|
85
85
|
backgroundColor?: string;
|
|
86
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* OWP grid added row theme 설정
|
|
89
|
+
*/
|
|
90
|
+
export type OwpGridAddedThemeConfigType = {
|
|
91
|
+
/** added row 배경색 */
|
|
92
|
+
rowBackgroundColor?: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* OWP grid deleted row theme 설정
|
|
96
|
+
*/
|
|
97
|
+
export type OwpGridDeletedThemeConfigType = {
|
|
98
|
+
/** deleted row 배경색 */
|
|
99
|
+
rowBackgroundColor?: string;
|
|
100
|
+
};
|
|
87
101
|
/**
|
|
88
102
|
* OWP grid changed cell theme 설정
|
|
89
103
|
*/
|
|
@@ -97,6 +111,15 @@ export type OwpGridChangedThemeConfigType = {
|
|
|
97
111
|
/** changed cell font weight */
|
|
98
112
|
fontWeight?: number | string;
|
|
99
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* OWP grid Enum menu theme 설정
|
|
116
|
+
*/
|
|
117
|
+
export type OwpGridEnumMenuThemeConfigType = {
|
|
118
|
+
/** Enum menu hover 항목 배경색 */
|
|
119
|
+
hoverBackgroundColor?: string;
|
|
120
|
+
/** Enum menu 선택 항목 배경색 */
|
|
121
|
+
selectedBackgroundColor?: string;
|
|
122
|
+
};
|
|
100
123
|
/**
|
|
101
124
|
* OWP grid scrollbar theme 설정
|
|
102
125
|
*/
|
|
@@ -138,8 +161,14 @@ export type OwpGridThemeConfigType = {
|
|
|
138
161
|
state?: OwpGridStateThemeConfigType;
|
|
139
162
|
/** editable cell theme 설정 */
|
|
140
163
|
editable?: OwpGridEditableThemeConfigType;
|
|
164
|
+
/** added row theme 설정 */
|
|
165
|
+
added?: OwpGridAddedThemeConfigType;
|
|
166
|
+
/** deleted row theme 설정 */
|
|
167
|
+
deleted?: OwpGridDeletedThemeConfigType;
|
|
141
168
|
/** changed cell theme 설정 */
|
|
142
169
|
changed?: OwpGridChangedThemeConfigType;
|
|
170
|
+
/** Enum menu theme 설정 */
|
|
171
|
+
enumMenu?: OwpGridEnumMenuThemeConfigType;
|
|
143
172
|
/** scrollbar theme 설정 */
|
|
144
173
|
scrollbar?: OwpGridScrollbarThemeConfigType;
|
|
145
174
|
};
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
declare module '@mui/material/styles' {
|
|
2
2
|
interface Palette {
|
|
3
|
+
button?: {
|
|
4
|
+
primary?: Palette['primary'];
|
|
5
|
+
secondary?: Palette['secondary'];
|
|
6
|
+
info?: Palette['info'];
|
|
7
|
+
warning?: Palette['warning'];
|
|
8
|
+
error?: Palette['error'];
|
|
9
|
+
success?: Palette['success'];
|
|
10
|
+
};
|
|
3
11
|
inputFocus: Palette['primary'];
|
|
4
12
|
}
|
|
5
13
|
interface PaletteOptions {
|
|
14
|
+
button?: {
|
|
15
|
+
primary?: PaletteOptions['primary'];
|
|
16
|
+
secondary?: PaletteOptions['secondary'];
|
|
17
|
+
info?: PaletteOptions['info'];
|
|
18
|
+
warning?: PaletteOptions['warning'];
|
|
19
|
+
error?: PaletteOptions['error'];
|
|
20
|
+
success?: PaletteOptions['success'];
|
|
21
|
+
};
|
|
6
22
|
inputFocus?: PaletteOptions['primary'];
|
|
7
23
|
}
|
|
8
24
|
}
|