@owp/core 1.8.0 → 1.9.0
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/{QuickPanel-BMaUmpvc.js → QuickPanel-5ikBUxxQ.js} +2 -2
- package/dist/{QuickPanel-BMaUmpvc.js.map → QuickPanel-5ikBUxxQ.js.map} +1 -1
- package/dist/{index-BuJHWoVX.js → index-CgoWDo9w.js} +10038 -9966
- package/dist/{index-BuJHWoVX.js.map → index-CgoWDo9w.js.map} +1 -1
- package/dist/index.js +146 -144
- package/dist/types/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts +4 -0
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +4 -0
- package/dist/types/components/OwpButtonDelete/index.d.ts +5 -0
- package/dist/types/components/OwpButtonSave/index.d.ts +5 -0
- package/dist/types/components/OwpCommonDialog/index.d.ts +9 -0
- package/dist/types/components/OwpExportExcelButton/OwpExportExcelButton.d.ts +8 -0
- package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +8 -0
- package/dist/types/components/OwpMessage/OwpMessage.d.ts +3 -0
- package/dist/types/components/OwpMoreActionsButton/OwpMoreActionsButton.d.ts +9 -0
- package/dist/types/components/OwpMrtTable/index.d.ts +4 -0
- package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +3 -0
- package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +3 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +3 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +3 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +3 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +3 -0
- package/dist/types/components/OwpNumberField/index.d.ts +5 -0
- package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +3 -0
- package/dist/types/components/OwpPageCarded/OwpPageCardedHeader.d.ts +4 -0
- package/dist/types/components/OwpPageContent/index.d.ts +8 -0
- package/dist/types/components/OwpPageLockLoading/index.d.ts +5 -0
- package/dist/types/components/OwpPageSimple/OwpPageSimple.d.ts +3 -0
- package/dist/types/components/OwpPageTitle/index.d.ts +7 -0
- package/dist/types/components/OwpPicker/CalendarContainer.d.ts +4 -0
- package/dist/types/components/OwpPicker/DatePickerInput.d.ts +9 -0
- package/dist/types/components/OwpPicker/OwpDatePicker.d.ts +9 -0
- package/dist/types/components/OwpPicker/OwpDateRangePicker.d.ts +9 -0
- package/dist/types/components/OwpPicker/OwpWeekDatePicker.d.ts +9 -0
- package/dist/types/components/OwpPicker/OwpYearRangePicker.d.ts +9 -0
- package/dist/types/components/OwpScrollbars/OwpScrollbars.d.ts +5 -0
- package/dist/types/components/OwpSearch/OwpSearch.d.ts +3 -0
- package/dist/types/components/OwpSearchFilter/index.d.ts +8 -0
- package/dist/types/components/OwpSection/index.d.ts +9 -0
- package/dist/types/components/OwpSettings/OwpLayoutConfig.d.ts +4 -0
- package/dist/types/components/OwpSettings/OwpLayoutConfigs.d.ts +4 -0
- package/dist/types/components/OwpSettings/OwpSettings.d.ts +3 -0
- package/dist/types/components/OwpSettings/owpSettingsSlice.d.ts +39 -0
- package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +3 -0
- package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +3 -0
- package/dist/types/components/OwpSplashScreen/OwpSplashScreen.d.ts +3 -0
- package/dist/types/components/OwpTable/OwpDataTable.d.ts +9 -0
- package/dist/types/components/OwpTable/OwpTable.d.ts +10 -0
- package/dist/types/components/OwpTable/OwpVerticalTable.d.ts +9 -0
- package/dist/types/components/OwpTextField/OwpTextMaskField.d.ts +9 -0
- package/dist/types/components/OwpTheme/OwpTheme.d.ts +3 -0
- package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +3 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +9 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGridToolbar.d.ts +6 -0
- package/dist/types/components/OwpTreeGrid/TreeGrid.d.ts +7 -0
- package/dist/types/components/OwpTreeGrid/utils.d.ts +15 -0
- package/dist/types/components/OwpTreeGridExcelButton/index.d.ts +12 -0
- package/dist/types/components/OwpTreeView/OwpSlotTreeView.d.ts +11 -0
- package/dist/types/components/OwpYesNoSelector/index.d.ts +14 -0
- package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +9 -0
- package/dist/types/components/layouts/shared-components/configurator/Configurator.d.ts +3 -0
- package/dist/types/components/layouts/shared-components/configurator/SettingsPanel.d.ts +4 -0
- package/dist/types/components/layouts/shared-components/configurator/ThemesPanel.d.ts +4 -0
- package/dist/types/components/layouts/shared-components/navbar/navbarSlice.d.ts +4 -0
- package/dist/types/components/layouts/shared-components/navigation/store/navigationSlice.d.ts +6 -0
- package/dist/types/components/shared-components/data-table/utils/parseFromValuesOrFunc.d.ts +4 -0
- package/dist/types/components/shared-components/tabs/OwpTab.d.ts +3 -0
- package/dist/types/components/shared-components/tabs/OwpTabs.d.ts +3 -0
- package/dist/types/hooks/useCommonCodeList.d.ts +6 -0
- package/dist/types/hooks/useConfirm.d.ts +3 -0
- package/dist/types/hooks/useCurrentLanguage.d.ts +9 -0
- package/dist/types/hooks/useCurrentLogoSrc.d.ts +6 -0
- package/dist/types/hooks/useCurrentUserId.d.ts +6 -0
- package/dist/types/hooks/useDeepCompareEffect.d.ts +5 -0
- package/dist/types/hooks/useNavigation.d.ts +6 -0
- package/dist/types/hooks/useOwpTranslation.d.ts +3 -0
- package/dist/types/hooks/useShortcuts.d.ts +6 -0
- package/dist/types/hooks/useStorage.d.ts +3 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/barcodeUtil.d.ts +5 -0
- package/dist/types/utils/qrCodeUtil.d.ts +5 -0
- package/dist/types/utils/zipUtil.d.ts +5 -0
- package/package.json +1 -1
|
@@ -15,5 +15,14 @@ interface OwnProps {
|
|
|
15
15
|
textFieldProps?: Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
|
|
16
16
|
}
|
|
17
17
|
type OwpDatePickerProps = OwnProps & DatePickerProps;
|
|
18
|
+
/**
|
|
19
|
+
* OwpDatePicker 컴포넌트
|
|
20
|
+
* @param className CSS 클래스명
|
|
21
|
+
* @param label 입력 라벨
|
|
22
|
+
* @param variant variant 값
|
|
23
|
+
* @param sx sx 값
|
|
24
|
+
* @param value 현재 값
|
|
25
|
+
* @param onChange onChange 핸들러
|
|
26
|
+
*/
|
|
18
27
|
declare const OwpDatePicker: ({ className, label, variant, sx, value, onChange, fullWidth, showYearPicker, showMonthPicker, showTimeInput, textFieldProps, disabledClearButton, disabledFutureDates, ...datePickerProps }: OwpDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
28
|
export { OwpDatePicker };
|
|
@@ -16,5 +16,14 @@ interface OwnProps {
|
|
|
16
16
|
textFieldProps?: Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
|
|
17
17
|
}
|
|
18
18
|
type OwpDatePickerProps = OwnProps & DatePickerProps;
|
|
19
|
+
/**
|
|
20
|
+
* OwpDateRangePicker 컴포넌트
|
|
21
|
+
* @param className CSS 클래스명
|
|
22
|
+
* @param label 입력 라벨
|
|
23
|
+
* @param variant variant 값
|
|
24
|
+
* @param sx sx 값
|
|
25
|
+
* @param value 현재 값
|
|
26
|
+
* @param fullWidth 전체 너비 사용 여부
|
|
27
|
+
*/
|
|
19
28
|
declare const OwpDateRangePicker: ({ className, label, variant, sx, value, fullWidth, disabledClearButton, disabledFutureDates, onChange, minDate, maxDate, minTime, maxTime, showYearPicker, showMonthPicker, textFieldProps, ...datePickerProps }: OwpDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
29
|
export { OwpDateRangePicker };
|
|
@@ -16,5 +16,14 @@ interface WeekPickerProps {
|
|
|
16
16
|
textFieldProps?: Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
|
|
17
17
|
}
|
|
18
18
|
type OwpDatePickerProps = WeekPickerProps & DatePickerProps;
|
|
19
|
+
/**
|
|
20
|
+
* OwpWeekDatePicker 컴포넌트
|
|
21
|
+
* @param label 입력 라벨
|
|
22
|
+
* @param variant variant 값
|
|
23
|
+
* @param sx sx 값
|
|
24
|
+
* @param value 현재 값
|
|
25
|
+
* @param onChange onChange 핸들러
|
|
26
|
+
* @param fullWidth 전체 너비 사용 여부
|
|
27
|
+
*/
|
|
19
28
|
export declare const OwpWeekDatePicker: ({ label, variant, sx, value, onChange, fullWidth, showWeekNumbers, textFieldProps, disabledClearButton, ...datePickerProps }: OwpDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
29
|
export {};
|
|
@@ -15,5 +15,14 @@ interface OwnProps {
|
|
|
15
15
|
textFieldProps?: Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
|
|
16
16
|
}
|
|
17
17
|
type OwpDatePickerProps = OwnProps & DatePickerProps;
|
|
18
|
+
/**
|
|
19
|
+
* OwpYearRangePicker 컴포넌트
|
|
20
|
+
* @param className CSS 클래스명
|
|
21
|
+
* @param label 입력 라벨
|
|
22
|
+
* @param variant variant 값
|
|
23
|
+
* @param sx sx 값
|
|
24
|
+
* @param value 현재 값
|
|
25
|
+
* @param fullWidth 전체 너비 사용 여부
|
|
26
|
+
*/
|
|
18
27
|
declare const OwpYearRangePicker: ({ className, label, variant, sx, value, fullWidth, disabledClearButton, disabledFutureDates, onChange, textFieldProps, ...datePickerProps }: OwpDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
28
|
export { OwpYearRangePicker };
|
|
@@ -12,5 +12,10 @@ type OwpScrollbarsProps = {
|
|
|
12
12
|
suppressScrollX?: boolean;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* OwpScrollbars 컴포넌트
|
|
17
|
+
* @param props 컴포넌트 props
|
|
18
|
+
* @param ref forwardRef 참조
|
|
19
|
+
*/
|
|
15
20
|
declare const OwpScrollbars: import("react").ForwardRefExoticComponent<OwpScrollbarsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
21
|
export { OwpScrollbars };
|
|
@@ -16,5 +16,8 @@ type OwpSearchProps = {
|
|
|
16
16
|
* OwpSearch component
|
|
17
17
|
*/
|
|
18
18
|
declare function OwpSearch(props: OwpSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* OwpSearchMemo 메모이징 컴포넌트
|
|
21
|
+
*/
|
|
19
22
|
declare const OwpSearchMemo: React.MemoExoticComponent<typeof OwpSearch>;
|
|
20
23
|
export { OwpSearchMemo as OwpSearch };
|
|
@@ -5,5 +5,13 @@ interface OwpSearchFilterProps {
|
|
|
5
5
|
onSubmit?: () => void;
|
|
6
6
|
onReset?: () => void;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* OwpSearchFilter 컴포넌트
|
|
10
|
+
* @param title 제목
|
|
11
|
+
* @param children 하위 콘텐츠
|
|
12
|
+
* @param actions 액션 영역
|
|
13
|
+
* @param onSubmit 제출 핸들러
|
|
14
|
+
* @param onReset 초기화 핸들러
|
|
15
|
+
*/
|
|
8
16
|
declare const OwpSearchFilter: ({ title, children, actions, onSubmit, onReset }: OwpSearchFilterProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
17
|
export { OwpSearchFilter };
|
|
@@ -11,5 +11,14 @@ interface OwpSectionProps {
|
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
iconSize?: IconProps['fontSize'];
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* OwpSection 컴포넌트
|
|
16
|
+
* @param className CSS 클래스명
|
|
17
|
+
* @param title 제목
|
|
18
|
+
* @param disableTitleIcon disableTitleIcon 값
|
|
19
|
+
* @param headerProps headerProps props
|
|
20
|
+
* @param usePageTitle usePageTitle 값
|
|
21
|
+
* @param actions 액션 영역
|
|
22
|
+
*/
|
|
14
23
|
declare const OwpSection: ({ className, title, disableTitleIcon, headerProps, usePageTitle, actions, leftSlot, centerSlot, children, iconSize, }: OwpSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
24
|
export { OwpSection };
|
|
@@ -8,5 +8,9 @@ type OwpSettingsControllerProps = {
|
|
|
8
8
|
title?: string;
|
|
9
9
|
item: AnyFormFieldType;
|
|
10
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* OwpLayoutConfig 컴포넌트
|
|
13
|
+
* @param props 컴포넌트 props
|
|
14
|
+
*/
|
|
11
15
|
declare function OwpLayoutConfig(props: OwpSettingsControllerProps): "" | import("react/jsx-runtime").JSX.Element;
|
|
12
16
|
export { OwpLayoutConfig };
|
|
@@ -6,5 +6,9 @@ type OwpSettingsControllersProps = {
|
|
|
6
6
|
prefix: string;
|
|
7
7
|
control: Control<OwpSettingsConfigType>;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* OwpLayoutConfigs 컴포넌트
|
|
11
|
+
* @param props 컴포넌트 props
|
|
12
|
+
*/
|
|
9
13
|
declare function OwpLayoutConfigs(props: OwpSettingsControllersProps): import("react/jsx-runtime").JSX.Element[];
|
|
10
14
|
export { OwpLayoutConfigs };
|
|
@@ -30,5 +30,8 @@ export type OwpSettingsConfigType = {
|
|
|
30
30
|
* The component is memoized to prevent unnecessary re-renders.
|
|
31
31
|
*/
|
|
32
32
|
declare function OwpSettings(): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* OwpSettingsMemo 메모이징 컴포넌트
|
|
35
|
+
*/
|
|
33
36
|
declare const OwpSettingsMemo: import("react").MemoExoticComponent<typeof OwpSettings>;
|
|
34
37
|
export { OwpSettingsMemo as OwpSettings };
|
|
@@ -17,6 +17,9 @@ export declare const darkPaletteText: {
|
|
|
17
17
|
secondary: string;
|
|
18
18
|
disabled: string;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* changeOwpTheme 비동기 액션
|
|
22
|
+
*/
|
|
20
23
|
export declare const changeOwpTheme: import("@reduxjs/toolkit").AsyncThunk<PayloadAction<any, string, {
|
|
21
24
|
arg: {
|
|
22
25
|
layout?: {
|
|
@@ -1848,17 +1851,53 @@ export declare const getFooterTheme: (state: any) => any;
|
|
|
1848
1851
|
* Selects the contrast theme based on the background color.
|
|
1849
1852
|
*/
|
|
1850
1853
|
export declare const selectContrastMainTheme: (bgColor: string) => any;
|
|
1854
|
+
/**
|
|
1855
|
+
* selectMainTheme selector
|
|
1856
|
+
*/
|
|
1851
1857
|
export declare const selectMainTheme: ReturnType<typeof createSelector>;
|
|
1858
|
+
/**
|
|
1859
|
+
* selectMainThemeDark selector
|
|
1860
|
+
*/
|
|
1852
1861
|
export declare const selectMainThemeDark: ReturnType<typeof createSelector>;
|
|
1862
|
+
/**
|
|
1863
|
+
* selectMainThemeLight selector
|
|
1864
|
+
*/
|
|
1853
1865
|
export declare const selectMainThemeLight: ReturnType<typeof createSelector>;
|
|
1866
|
+
/**
|
|
1867
|
+
* selectNavbarTheme selector
|
|
1868
|
+
*/
|
|
1854
1869
|
export declare const selectNavbarTheme: ReturnType<typeof createSelector>;
|
|
1870
|
+
/**
|
|
1871
|
+
* selectNavbarThemeDark selector
|
|
1872
|
+
*/
|
|
1855
1873
|
export declare const selectNavbarThemeDark: ReturnType<typeof createSelector>;
|
|
1874
|
+
/**
|
|
1875
|
+
* selectNavbarThemeLight selector
|
|
1876
|
+
*/
|
|
1856
1877
|
export declare const selectNavbarThemeLight: ReturnType<typeof createSelector>;
|
|
1878
|
+
/**
|
|
1879
|
+
* selectToolbarTheme selector
|
|
1880
|
+
*/
|
|
1857
1881
|
export declare const selectToolbarTheme: ReturnType<typeof createSelector>;
|
|
1882
|
+
/**
|
|
1883
|
+
* selectToolbarThemeDark selector
|
|
1884
|
+
*/
|
|
1858
1885
|
export declare const selectToolbarThemeDark: ReturnType<typeof createSelector>;
|
|
1886
|
+
/**
|
|
1887
|
+
* selectToolbarThemeLight selector
|
|
1888
|
+
*/
|
|
1859
1889
|
export declare const selectToolbarThemeLight: ReturnType<typeof createSelector>;
|
|
1890
|
+
/**
|
|
1891
|
+
* selectFooterTheme selector
|
|
1892
|
+
*/
|
|
1860
1893
|
export declare const selectFooterTheme: ReturnType<typeof createSelector>;
|
|
1894
|
+
/**
|
|
1895
|
+
* selectFooterThemeDark selector
|
|
1896
|
+
*/
|
|
1861
1897
|
export declare const selectFooterThemeDark: ReturnType<typeof createSelector>;
|
|
1898
|
+
/**
|
|
1899
|
+
* selectFooterThemeLight selector
|
|
1900
|
+
*/
|
|
1862
1901
|
export declare const selectFooterThemeLight: ReturnType<typeof createSelector>;
|
|
1863
1902
|
export declare const resetSettings: any, setInitialSettings: any, setSettings: any;
|
|
1864
1903
|
export type settingsSliceType = typeof owpSettingsSlice;
|
|
@@ -12,5 +12,8 @@ type OwpShortcutsProps = {
|
|
|
12
12
|
* The component is memoized to prevent unnecessary re-renders.
|
|
13
13
|
*/
|
|
14
14
|
declare function OwpShortcuts(props: OwpShortcutsProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* OwpShortcutsMemo 메모이징 컴포넌트
|
|
17
|
+
*/
|
|
15
18
|
declare const OwpShortcutsMemo: import("react").MemoExoticComponent<typeof OwpShortcuts>;
|
|
16
19
|
export { OwpShortcutsMemo as OwpShortcuts };
|
|
@@ -11,5 +11,8 @@ type OwpSidePanelProps = {
|
|
|
11
11
|
* The component is memoized to prevent unnecessary re-renders.
|
|
12
12
|
*/
|
|
13
13
|
declare function OwpSidePanel(props: OwpSidePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* OwpSidePanelMemo 메모이징 컴포넌트
|
|
16
|
+
*/
|
|
14
17
|
declare const OwpSidePanelMemo: import("react").MemoExoticComponent<typeof OwpSidePanel>;
|
|
15
18
|
export { OwpSidePanelMemo as OwpSidePanel };
|
|
@@ -4,5 +4,8 @@
|
|
|
4
4
|
* The component is memoized to prevent unnecessary re-renders.
|
|
5
5
|
*/
|
|
6
6
|
declare function OwpSplashScreen(): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* OwpSplashScreenMemo 메모이징 컴포넌트
|
|
9
|
+
*/
|
|
7
10
|
declare const OwpSplashScreenMemo: import("react").MemoExoticComponent<typeof OwpSplashScreen>;
|
|
8
11
|
export { OwpSplashScreenMemo as OwpSplashScreen };
|
|
@@ -39,5 +39,14 @@ type OwpDataTableBlurEvent = Record<string, unknown> & {
|
|
|
39
39
|
value: string | number | undefined;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* OwpDataTable 컴포넌트
|
|
44
|
+
* @param className CSS 클래스명
|
|
45
|
+
* @param sx sx 값
|
|
46
|
+
* @param headSx headSx 값
|
|
47
|
+
* @param headCells headCells 값
|
|
48
|
+
* @param rows 행 데이터 목록
|
|
49
|
+
* @param selected selected 값
|
|
50
|
+
*/
|
|
42
51
|
export declare function OwpDataTable({ className, sx, headSx, headCells, rows, selected, canCheckbox, canTotalCountRow, canSelectingSingle, canUseOrderBy, onSelect, onBlur, }: OwpDataTableProps): import("react/jsx-runtime").JSX.Element;
|
|
43
52
|
export {};
|
|
@@ -8,6 +8,11 @@ interface StyledTableProps extends TableProps {
|
|
|
8
8
|
title?: string;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* StyledTable 스타일 컴포넌트
|
|
13
|
+
* @param children 하위 콘텐츠
|
|
14
|
+
* @param containerProps containerProps props
|
|
15
|
+
*/
|
|
11
16
|
export declare const StyledTable: ({ children, containerProps, ...tableProps }: StyledTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
17
|
export declare const StyledTableRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
|
|
13
18
|
ref?: import("react").Ref<HTMLTableRowElement>;
|
|
@@ -16,5 +21,10 @@ interface OwpTableProps<T> extends TableProps {
|
|
|
16
21
|
headers: OwpTableHeaderRow | OwpTableHeaderRow[];
|
|
17
22
|
rows: T[];
|
|
18
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* OwpTable 컴포넌트
|
|
26
|
+
* @param headers headers 값
|
|
27
|
+
* @param rows 행 데이터 목록
|
|
28
|
+
*/
|
|
19
29
|
export declare function OwpTable<T>({ headers, rows, ...restTableProps }: OwpTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
20
30
|
export {};
|
|
@@ -24,5 +24,14 @@ interface OwpVerticalTableProps {
|
|
|
24
24
|
titleWidth?: number | string;
|
|
25
25
|
colGroupSlot?: ReactNode;
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* OwpVerticalTable 컴포넌트
|
|
29
|
+
* @param layout layout 값
|
|
30
|
+
* @param titleWidth titleWidth 값
|
|
31
|
+
* @param titleSx titleSx 값
|
|
32
|
+
* @param cellSx cellSx 값
|
|
33
|
+
* @param data 데이터
|
|
34
|
+
* @param colGroupSlot colGroupSlot 값
|
|
35
|
+
*/
|
|
27
36
|
export declare function OwpVerticalTable({ layout, titleWidth, titleSx, cellSx, data, colGroupSlot, }: OwpVerticalTableProps): import("react/jsx-runtime").JSX.Element;
|
|
28
37
|
export {};
|
|
@@ -11,5 +11,14 @@ interface CustomProps {
|
|
|
11
11
|
mask: string;
|
|
12
12
|
definitions: any;
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* OwpTextMaskField 컴포넌트
|
|
16
|
+
* @param className CSS 클래스명
|
|
17
|
+
* @param sx sx 값
|
|
18
|
+
* @param label 입력 라벨
|
|
19
|
+
* @param value 현재 값
|
|
20
|
+
* @param color color 값
|
|
21
|
+
* @param onChange onChange 핸들러
|
|
22
|
+
*/
|
|
14
23
|
export declare function OwpTextMaskField({ className, sx, label, value, color, onChange, error, helperText, mask, definitions, variant, fullWidth, disabled, }: Omit<TextFieldProps, 'onChange'> & CustomProps): import("react/jsx-runtime").JSX.Element;
|
|
15
24
|
export {};
|
|
@@ -11,5 +11,8 @@ type OwpThemeProps = {
|
|
|
11
11
|
* The component is memoized to prevent unnecessary re-renders.
|
|
12
12
|
*/
|
|
13
13
|
declare function OwpTheme(props: OwpThemeProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* OwpThemeMemo 메모이징 컴포넌트
|
|
16
|
+
*/
|
|
14
17
|
declare const OwpThemeMemo: import("react").MemoExoticComponent<typeof OwpTheme>;
|
|
15
18
|
export { OwpThemeMemo as OwpTheme };
|
|
@@ -9,5 +9,8 @@ type OwpThemeSchemesProps = {
|
|
|
9
9
|
* The component is memoized to prevent unnecessary re-renders.
|
|
10
10
|
*/
|
|
11
11
|
declare function OwpThemeSelector(props: OwpThemeSchemesProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* OwpThemeSelectorMemo 메모이징 컴포넌트
|
|
14
|
+
*/
|
|
12
15
|
declare const OwpThemeSelectorMemo: import("react").MemoExoticComponent<typeof OwpThemeSelector>;
|
|
13
16
|
export { OwpThemeSelectorMemo as OwpThemeSelector };
|
|
@@ -49,5 +49,14 @@ export interface OwpTreeGridProps<T> {
|
|
|
49
49
|
onSave?: OwpTreeGridSaveHandler<T>;
|
|
50
50
|
onAfterValueChanged?: OwpTreeGridAfterValueChangedHandler<T>;
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* OwpTreeGrid 컴포넌트
|
|
54
|
+
* @param id 식별자
|
|
55
|
+
* @param containerStyle containerStyle 값
|
|
56
|
+
* @param containerClassName containerClassName 값
|
|
57
|
+
* @param className CSS 클래스명
|
|
58
|
+
* @param style 스타일 객체
|
|
59
|
+
* @param height height 값
|
|
60
|
+
*/
|
|
52
61
|
declare const OwpTreeGrid: <T>({ id, containerStyle, containerClassName, className, style, height, width, LayoutUrl, layoutUrl, DataUrl: dataUrl, data, layout, useDataUrl, onSelect, onRowClick, onRowAdd, onRowDelete, onRowUndelete, onRowChange, onClickButton, onSave, onReady, onAfterValueChanged, }: OwpTreeGridProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
53
62
|
export { OwpTreeGrid };
|
|
@@ -10,5 +10,11 @@ interface OwpTreeGridToolbarProps {
|
|
|
10
10
|
}>;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* OwpTreeGridToolbar 컴포넌트
|
|
15
|
+
* @param gridId TreeGrid 인스턴스 ID
|
|
16
|
+
* @param canVisibleHeaderFilter canVisibleHeaderFilter 값
|
|
17
|
+
* @param options options 값
|
|
18
|
+
*/
|
|
13
19
|
declare const OwpTreeGridToolbar: ({ gridId, canVisibleHeaderFilter, options, ...formGroupProps }: OwpTreeGridToolbarProps & FormGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
20
|
export { OwpTreeGridToolbar };
|
|
@@ -14,5 +14,12 @@ interface TreeGridProps {
|
|
|
14
14
|
style?: CSSProperties;
|
|
15
15
|
layoutDef: LayoutDef;
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* TreeGrid 컴포넌트
|
|
19
|
+
* @param id 식별자
|
|
20
|
+
* @param className CSS 클래스명
|
|
21
|
+
* @param style 스타일 객체
|
|
22
|
+
* @param layoutDef 레이아웃 정의
|
|
23
|
+
*/
|
|
17
24
|
export declare const TreeGrid: ({ id, className, style, layoutDef }: TreeGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
25
|
export {};
|
|
@@ -10,11 +10,26 @@ export declare const HEADER = "Header";
|
|
|
10
10
|
export declare const TOOLBAR = "Toolbar";
|
|
11
11
|
export declare const FOOTER = "Foot";
|
|
12
12
|
export declare const NEXT_SIBLING = "nextSibling";
|
|
13
|
+
/**
|
|
14
|
+
* applyTreeGridSubHeaderLayoutText 적용 함수
|
|
15
|
+
* @param grid TreeGrid 인스턴스
|
|
16
|
+
* @param headerLayout headerLayout 값
|
|
17
|
+
*/
|
|
13
18
|
export declare const applyTreeGridSubHeaderLayoutText: (grid: TTGrid, headerLayout?: TreeGridHeaderLayoutConfig) => void;
|
|
14
19
|
export declare const applySubHeaderLayoutTextToGrid: (grid: TTGrid, headerLayout?: TreeGridHeaderLayoutConfig) => void;
|
|
15
20
|
export declare const changeSubHeaderLayoutTextByGrid: (grid: TTGrid, headerLayout?: TreeGridHeaderLayoutConfig) => void;
|
|
21
|
+
/**
|
|
22
|
+
* parseTreeGridXmlToJson 파싱 함수
|
|
23
|
+
* @param xmlString XML 문자열
|
|
24
|
+
*/
|
|
16
25
|
export declare const parseTreeGridXmlToJson: (xmlString?: string) => TreeGridSectionConfig[];
|
|
17
26
|
export declare const convertXmlToJson: (xmlString?: string) => TreeGridSectionConfig[];
|
|
27
|
+
/**
|
|
28
|
+
* applyTreeGridLayoutToGrid 적용 함수
|
|
29
|
+
* @param grid TreeGrid 인스턴스
|
|
30
|
+
* @param layoutConfig 레이아웃 설정
|
|
31
|
+
* @param disableBodyReload disableBodyReload 값
|
|
32
|
+
*/
|
|
18
33
|
export declare const applyTreeGridLayoutToGrid: (grid: TTGrid | TGrid, layoutConfig?: OwpTreeGridLayoutConfig, disableBodyReload?: boolean) => void;
|
|
19
34
|
export declare const updateLayoutByGrid: (grid: TTGrid | TGrid, layoutConfig?: OwpTreeGridLayoutConfig, disableBodyReload?: boolean) => void;
|
|
20
35
|
export declare const applyTreeGridLayoutByGrid: (grid: TTGrid | TGrid, layoutConfig?: OwpTreeGridLayoutConfig, disableBodyReload?: boolean) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ButtonProps } from '@mui/material';
|
|
2
|
+
export interface OwpTreeGridExcelButtonProps extends ButtonProps {
|
|
3
|
+
gridId: string;
|
|
4
|
+
exportName?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* TreeGrid 엑셀 내보내기 버튼
|
|
8
|
+
* @param gridId TreeGrid 인스턴스 ID
|
|
9
|
+
* @param exportName 다운로드 파일명
|
|
10
|
+
*/
|
|
11
|
+
declare const OwpTreeGridExcelButton: ({ gridId, exportName, children, ...buttonProps }: OwpTreeGridExcelButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { OwpTreeGridExcelButton };
|
|
@@ -11,6 +11,17 @@ type TreeViewTransformKeyProps<T extends TreeViewTransformItem> = {
|
|
|
11
11
|
parent: keyof T & string;
|
|
12
12
|
label: keyof T & string;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* OwpSlotTreeView 컴포넌트
|
|
16
|
+
* @param expanded expanded 값
|
|
17
|
+
* @param data 데이터
|
|
18
|
+
*/
|
|
14
19
|
export declare function OwpSlotTreeView<T extends TreeViewBaseItem>({ expanded, data, ...restProps }: OwpSlotTreeViewProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* transformTreeViewListData 변환 함수
|
|
22
|
+
* @param id 식별자
|
|
23
|
+
* @param data 데이터
|
|
24
|
+
* @param keyProps keyProps props
|
|
25
|
+
*/
|
|
15
26
|
export declare const transformTreeViewListData: <T extends TreeViewTransformItem>(id: T[keyof T], data: T[], keyProps: TreeViewTransformKeyProps<T>) => TreeViewBaseItem[];
|
|
16
27
|
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type SelectProps } from '@mui/material';
|
|
2
|
+
export interface OwpYesNoSelectorProps extends Omit<SelectProps<string>, 'label' | 'variant'> {
|
|
3
|
+
label?: string;
|
|
4
|
+
disableAllValueItem?: boolean;
|
|
5
|
+
helperText?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Y/N 선택 Select
|
|
9
|
+
* @param label 입력 라벨
|
|
10
|
+
* @param disableAllValueItem 전체 옵션 노출 여부
|
|
11
|
+
* @param helperText 하단 안내 문구
|
|
12
|
+
*/
|
|
13
|
+
declare const OwpYesNoSelector: ({ label, required, fullWidth, defaultValue, disableAllValueItem, error, helperText, ...selectProps }: OwpYesNoSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export { OwpYesNoSelector };
|
|
@@ -7,5 +7,14 @@ interface OwpZoomImageSliderProps {
|
|
|
7
7
|
isScannerPositionRight?: boolean;
|
|
8
8
|
imageList?: string[];
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* OwpZoomImageSlider 컴포넌트
|
|
12
|
+
* @param className CSS 클래스명
|
|
13
|
+
* @param imageHeight imageHeight 값
|
|
14
|
+
* @param title 제목
|
|
15
|
+
* @param rightActions rightActions 값
|
|
16
|
+
* @param isScannerPositionRight isScannerPositionRight 값
|
|
17
|
+
* @param imageList imageList 목록
|
|
18
|
+
*/
|
|
10
19
|
declare const OwpZoomImageSlider: ({ className, imageHeight, title, rightActions, isScannerPositionRight, imageList, }: OwpZoomImageSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
20
|
export { OwpZoomImageSlider };
|
|
@@ -2,5 +2,8 @@
|
|
|
2
2
|
* The settings panel.
|
|
3
3
|
*/
|
|
4
4
|
declare function Configurator(): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
/**
|
|
6
|
+
* ConfiguratorMemo 메모이징 컴포넌트
|
|
7
|
+
*/
|
|
5
8
|
declare const ConfiguratorMemo: import("react").MemoExoticComponent<typeof Configurator>;
|
|
6
9
|
export { ConfiguratorMemo as Configurator };
|
|
@@ -4,5 +4,9 @@ type SettingsPanelProps = {
|
|
|
4
4
|
onClose: () => void;
|
|
5
5
|
open: boolean;
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* SettingsPanel 컴포넌트
|
|
9
|
+
* @param props 컴포넌트 props
|
|
10
|
+
*/
|
|
7
11
|
declare function SettingsPanel(props: SettingsPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
8
12
|
export { SettingsPanel };
|
|
@@ -12,6 +12,10 @@ declare module '@/store/lazyLoadedSlices' {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export declare const navbarToggleFolded: any, navbarOpenFolded: any, navbarCloseFolded: any, navbarOpen: any, navbarClose: any, navbarToggle: any, navbarOpenMobile: any, navbarCloseMobile: any, navbarToggleMobile: any, resetNavbar: any;
|
|
15
|
+
/**
|
|
16
|
+
* selectOwpNavbar selector
|
|
17
|
+
* @param state state 값
|
|
18
|
+
*/
|
|
15
19
|
export declare const selectOwpNavbar: (state: RootState) => any;
|
|
16
20
|
export type navbarSliceType = typeof navbarSlice;
|
|
17
21
|
declare const _default: any;
|
package/dist/types/components/layouts/shared-components/navigation/store/navigationSlice.d.ts
CHANGED
|
@@ -59,7 +59,13 @@ declare module '@/store/lazyLoadedSlices' {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
export declare const setNavigation: any, resetNavigation: any;
|
|
62
|
+
/**
|
|
63
|
+
* selectNavigation selector
|
|
64
|
+
*/
|
|
62
65
|
export declare const selectNavigation: any;
|
|
66
|
+
/**
|
|
67
|
+
* selectFlatNavigation selector
|
|
68
|
+
*/
|
|
63
69
|
export declare const selectFlatNavigation: ((state: unknown) => OwpFlatNavItemType[]) & {
|
|
64
70
|
clearCache: () => void;
|
|
65
71
|
resultsCount: () => number;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { DropdownOption } from 'material-react-table';
|
|
2
2
|
declare const parseFromValuesOrFunc: <T, U>(fn: ((arg: U) => T) | T | undefined, arg: U) => T | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* getValueAndLabel 조회 함수
|
|
5
|
+
* @param option option 값
|
|
6
|
+
*/
|
|
3
7
|
export declare const getValueAndLabel: (option?: DropdownOption) => {
|
|
4
8
|
label: string;
|
|
5
9
|
value: string;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OwpTab 컴포넌트
|
|
3
|
+
*/
|
|
1
4
|
declare const OwpTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
5
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
6
|
}, "children" | "sx" | "icon" | "disabled" | "classes" | "style" | "action" | "className" | "label" | "tabIndex" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OwpTabs 컴포넌트
|
|
3
|
+
*/
|
|
1
4
|
declare const OwpTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
5
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
6
|
}, "children" | "sx" | "classes" | "style" | "action" | "className" | "variant" | "aria-label" | "aria-labelledby" | "onChange" | "slots" | "slotProps" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { CommonCode } from '@/utils/CommonCodeUtils';
|
|
2
|
+
/**
|
|
3
|
+
* 공통코드 목록 조회 훅
|
|
4
|
+
*/
|
|
2
5
|
export declare const useGetCommonCodeList: () => {
|
|
3
6
|
[codeId: string]: CommonCode[];
|
|
4
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* 공통코드 목록 설정 훅
|
|
10
|
+
*/
|
|
5
11
|
export declare const useSetCommonCodeList: () => (args_0: {
|
|
6
12
|
[codeId: string]: CommonCode[];
|
|
7
13
|
} | typeof import("jotai/utils").RESET | ((prev: {
|
|
@@ -13,6 +13,9 @@ interface ConfirmBaseProps extends ConfirmProps {
|
|
|
13
13
|
okButtonProps?: ButtonProps;
|
|
14
14
|
cancelButtonProps?: ButtonProps;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* 확인 대화상자 훅
|
|
18
|
+
*/
|
|
16
19
|
export declare const useConfirm: () => {
|
|
17
20
|
confirm: (props: ConfirmBaseProps) => Promise<boolean>;
|
|
18
21
|
confirmInfo: ({ title, okText, severity }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
@@ -4,10 +4,19 @@ export type CurrentLanguage = {
|
|
|
4
4
|
flag: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const FALLBACK_LANGUAGE_LIST: string[];
|
|
7
|
+
/**
|
|
8
|
+
* 언어 목록 조회 훅
|
|
9
|
+
*/
|
|
7
10
|
export declare const useGetLanguageList: () => {
|
|
8
11
|
id: string;
|
|
9
12
|
title: string;
|
|
10
13
|
flag: string;
|
|
11
14
|
}[];
|
|
15
|
+
/**
|
|
16
|
+
* 현재 언어 조회 훅
|
|
17
|
+
*/
|
|
12
18
|
export declare const useGetCurrentLanguage: () => CurrentLanguage;
|
|
19
|
+
/**
|
|
20
|
+
* 현재 언어 설정 훅
|
|
21
|
+
*/
|
|
13
22
|
export declare const useSetCurrentLanguage: () => (args_0: typeof import("jotai/utils").RESET | CurrentLanguage | ((prev: CurrentLanguage) => typeof import("jotai/utils").RESET | CurrentLanguage)) => void;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 현재 로고 경로 조회 훅
|
|
3
|
+
*/
|
|
1
4
|
export declare const useGetCurrentLogoSrc: () => string;
|
|
5
|
+
/**
|
|
6
|
+
* 현재 로고 경로 설정 훅
|
|
7
|
+
*/
|
|
2
8
|
export declare const useSetCurrentLogoSrc: () => (args_0: string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)) => void;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 현재 사용자 ID 조회 훅
|
|
3
|
+
*/
|
|
1
4
|
export declare const useGetCurrentUserId: () => string;
|
|
5
|
+
/**
|
|
6
|
+
* 현재 사용자 ID 설정 훅
|
|
7
|
+
*/
|
|
2
8
|
export declare const useSetCurrentUserId: () => (args_0: string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)) => void;
|
|
@@ -13,5 +13,10 @@ export declare function useDeepCompareMemoize<T>(value: T): T;
|
|
|
13
13
|
* It returns true if the value is null, undefined, a string, a boolean, or a number.
|
|
14
14
|
*/
|
|
15
15
|
export declare function useDeepCompareEffect(callback: EffectCallbackType, dependencies: DependencyListType): UseEffectReturn;
|
|
16
|
+
/**
|
|
17
|
+
* deep compare effect 훅
|
|
18
|
+
* @param callback effect 콜백
|
|
19
|
+
* @param dependencies 의존성 목록
|
|
20
|
+
*/
|
|
16
21
|
export declare function useDeepCompareEffectNoCheck(callback: EffectCallbackType, dependencies: DependencyListType): UseEffectReturn;
|
|
17
22
|
export {};
|