@owp/core 1.21.0 → 1.22.1

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { b8 as r, b6 as o, a5 as i, aa as l, a7 as n, a9 as p, a8 as c, a6 as d, ag as u, ah as w, F as g, h as O, i as b, b0 as T, b1 as m, b2 as C, b3 as L, b7 as S, b5 as G, b4 as E, cw as I, bL as h, bM as y, b9 as B, ba as D, bb as N, a_ as v, bc as R, bU as A, bV as _, bd as P, be as x, bg as k, bf as F, bp as f, bj as H, bk as U, bl as V, bi as M, bm as z, bq as Y, bo as J, bu as K, bv as W, bw as Q, bs as Z, bt as q, bx as j, by as X, bh as $, br as ee, bz as ae, bA as se, bB as te, bC as re, bD as oe, bE as ie, bF as le, bG as ne, bH as pe, bI as ce, bJ as de, bK as ue, d as we, bQ as ge, bR as Oe, bS as be, bT as Te, a$ as me, cs as Ce, ct as Le, cJ as Se, cu as Ge, cv as Ee, O as Ie, cN as he, cA as ye, cx as Be, cO as De, cC as Ne, cD as ve, cE as Re, bN as Ae, cG as _e, cF as Pe, cI as xe, a2 as ke, cB as Fe, bO as fe, bP as He, cM as Ue, cL as Ve, cy as Me, cz as ze, au as Ye, av as Je, at as Ke, as as We, cH as Qe, aN as Ze, az as qe, e as je, a1 as Xe, bY as $e, aR as ea, Z as aa, a3 as sa, a4 as ta, bX as ra, ad as oa, ar as ia, aP as la, aq as na, aB as pa, ai as ca, ak as da, _ as ua, ao as wa, bZ as ga, aO as Oa, aL as ba, c7 as Ta, al as ma, cb as Ca, am as La, aK as Sa, ab as Ga, ac as Ea, c8 as Ia, c9 as ha, aQ as ya, aj as Ba, ca as Da, aw as Na, ax as va, aA as Ra, aC as Aa, aE as _a, an as Pa, bn as xa, bW as ka, X as Fa, o as fa, b$ as Ha, ap as Ua, aM as Va, ay as Ma, aV as za, aT as Ya, aW as Ja, aU as Ka, cp as Wa, aH as Qa, aI as Za, aF as qa, aG as ja, aY as Xa, cc as $a, c6 as es, cm as as, cn as ss, co as ts, cd as rs, ce as os, cf as is, cg as ls, ch as ns, ci as ps, c0 as cs, c1 as ds, c5 as us, c2 as ws, c4 as gs, c3 as Os, cj as bs, ck as Ts, cl as ms, ae as Cs, b_ as Ls, aX as Ss, aS as Gs, cq as Es, af as Is, cr as hs, aJ as ys, aD as Bs, g as Ds, Y as Ns, aZ as vs, a0 as Rs, $ as As, cK as _s, n as Ps, B as xs, K as ks, L as Fs, J as fs, l as Hs, q as Us, v as Vs, x as Ms, z as zs, p as Ys, C as Js, E as Ks, M as Ws, W as Qs, V as Zs, k as qs, I as js, G as Xs, H as $s, m as et, r as at, w as st, y as tt, A as rt, D as ot, N as it, P as lt, Q as nt, R as pt, S as ct, T as dt, U as ut } from "./index-CTIjyeWI.js";
2
- import { DialogsProvider as gt } from "@toolpad/core/useDialogs";
1
+ import { b6 as r, b4 as o, a3 as i, a8 as l, a5 as p, a7 as n, a6 as c, a4 as d, ae as w, af as u, F as O, h as g, i as b, a_ as T, a$ as m, b0 as C, b1 as L, b5 as S, b3 as G, b2 as E, cv as I, bK as h, bL as y, b7 as B, b8 as D, b9 as N, aY as v, ba as R, bT as A, bU as _, bb as P, bc as x, be as k, bd as F, bn as f, bh as H, bi as U, bj as V, bg as M, bk as z, bo as Y, bm as J, bs as K, bt as W, bu as Q, bq as Z, br as q, bv as j, bw as X, bf as $, bp as ee, bx as ae, by as se, bz as te, bA as re, bB as oe, bC as ie, bD as le, bE as pe, bF as ne, bG as ce, bH as de, bI as we, bJ as ue, d as Oe, bP as ge, bQ as be, bR as Te, bS as me, aZ as Ce, cr as Le, cs as Se, cI as Ge, ct as Ee, cu as Ie, O as he, cM as ye, cz as Be, cw as De, cN as Ne, cB as ve, cC as Re, cD as Ae, bM as _e, cF as Pe, cE as xe, cH as ke, a0 as Fe, cA as fe, bN as He, bO as Ue, cL as Ve, cK as Me, cx as ze, cy as Ye, as as Je, at as Ke, ar as We, aq as Qe, cG as Ze, aL as qe, ax as je, e as Xe, $ as $e, bX as ea, aP as aa, X as sa, a1 as ta, a2 as ra, bW as oa, ab as ia, ap as la, aN as pa, ao as na, az as ca, ag as da, ai as wa, Y as ua, am as Oa, bY as ga, aM as ba, aJ as Ta, c6 as ma, aj as Ca, ca as La, ak as Sa, aI as Ga, a9 as Ea, aa as Ia, c7 as ha, c8 as ya, aO as Ba, ah as Da, c9 as Na, au as va, av as Ra, ay as Aa, aA as _a, aC as Pa, al as xa, bl as ka, bV as Fa, V as fa, o as Ha, b_ as Ua, an as Va, aK as Ma, aw as za, aT as Ya, aR as Ja, aU as Ka, aS as Wa, co as Qa, aF as Za, aG as qa, aD as ja, aE as Xa, aW as $a, cb as es, c5 as as, cl as ss, cm as ts, cn as rs, cc as os, cd as is, ce as ls, cf as ps, cg as ns, ch as cs, b$ as ds, c0 as ws, c4 as us, c1 as Os, c3 as gs, c2 as bs, ci as Ts, cj as ms, ck as Cs, ac as Ls, bZ as Ss, aV as Gs, aQ as Es, cp as Is, ad as hs, cq as ys, aH as Bs, aB as Ds, g as Ns, W as vs, aX as Rs, _ as As, Z as _s, cJ as Ps, n as xs, B as ks, K as Fs, L as fs, J as Hs, l as Us, q as Vs, v as Ms, x as zs, z as Ys, p as Js, C as Ks, E as Ws, M as Qs, k as Zs, I as qs, G as js, H as Xs, m as $s, r as et, w as at, y as st, A as tt, D as rt, N as ot, P as it, Q as lt, R as pt, S as nt, T as ct, U as dt } from "./index-YHfSppBY.js";
2
+ import { DialogsProvider as ut } from "@toolpad/core/useDialogs";
3
3
  import "@mui/material/styles";
4
4
  import "@mui/material/Typography";
5
5
  export {
@@ -7,15 +7,15 @@ export {
7
7
  o as CommonCodeSelector,
8
8
  i as DEFAULT_CELL_ALIGNMENT,
9
9
  l as DEFAULT_HEADER_FILL,
10
- n as DEFAULT_HEADER_FONT,
11
- p as DEFAULT_THIN_BORDER,
10
+ p as DEFAULT_HEADER_FONT,
11
+ n as DEFAULT_THIN_BORDER,
12
12
  c as DEFAULT_VALUE_FONT,
13
13
  d as DEFAULT_WRAP_CELL_ALIGNMENT,
14
- gt as DialogsProvider,
15
- u as ErrorBoundary,
16
- w as EventEmitter,
17
- g as FALLBACK_LANGUAGE_LIST,
18
- O as OwpAppContext,
14
+ ut as DialogsProvider,
15
+ w as ErrorBoundary,
16
+ u as EventEmitter,
17
+ O as FALLBACK_LANGUAGE_LIST,
18
+ g as OwpAppContext,
19
19
  b as OwpAppProvider,
20
20
  T as OwpAutoLogoutDialog,
21
21
  m as OwpBarcodeInputField,
@@ -56,178 +56,177 @@ export {
56
56
  $ as OwpNavigation,
57
57
  ee as OwpNavigationHelper,
58
58
  ae as OwpNumberField,
59
- se as OwpPageCarded,
60
- te as OwpPageCardedHeader,
61
- re as OwpPageCardedSidebar,
62
- oe as OwpPageCardedSidebarContent,
63
- ie as OwpPageContent,
64
- le as OwpPageLockLoading,
59
+ se as OwpOptionSelector,
60
+ te as OwpPageCarded,
61
+ re as OwpPageCardedHeader,
62
+ oe as OwpPageCardedSidebar,
63
+ ie as OwpPageCardedSidebarContent,
64
+ le as OwpPageContent,
65
+ pe as OwpPageLockLoading,
65
66
  ne as OwpPageSimple,
66
- pe as OwpPageSimpleHeader,
67
- ce as OwpPageSimpleSidebar,
68
- de as OwpPageSimpleSidebarContent,
67
+ ce as OwpPageSimpleHeader,
68
+ de as OwpPageSimpleSidebar,
69
+ we as OwpPageSimpleSidebarContent,
69
70
  ue as OwpPageTitle,
70
- we as OwpScrollbars,
71
+ Oe as OwpScrollbars,
71
72
  ge as OwpSearch,
72
- Oe as OwpSearchFilter,
73
- be as OwpSection,
74
- Te as OwpSettings,
75
- me as OwpSettingsViewerDialog,
76
- Ce as OwpShortcuts,
77
- Le as OwpSidePanel,
78
- Se as OwpSlotTreeView,
79
- Ge as OwpSplashScreen,
80
- Ee as OwpSuspense,
81
- Ie as OwpSvgIcon,
82
- he as OwpTab,
83
- ye as OwpTable,
84
- Be as OwpTableTotalCount,
85
- De as OwpTabs,
86
- Ne as OwpTextMaskField,
87
- ve as OwpTheme,
88
- Re as OwpThemeSelector,
89
- Ae as OwpTimePicker,
90
- _e as OwpTreeGrid,
91
- Pe as OwpTreeGridExcelButton,
92
- xe as OwpTreeGridToolbar,
93
- ke as OwpUtils,
94
- Fe as OwpVerticalTable,
95
- fe as OwpWeekDatePicker,
96
- He as OwpYearRangePicker,
97
- Ue as OwpYesNoSelector,
98
- Ve as OwpZoomImageSlider,
99
- Me as StyledTable,
100
- ze as StyledTableRow,
101
- Ye as TREEGRID_CELL_HIGHLIGHT_CLASS,
102
- Je as TREEGRID_CELL_HIGHLIGHT_COLOR,
103
- Ke as TREEGRID_INPUT_CELL_COLOR,
104
- We as TREEGRID_WARNING_CELL_COLOR,
105
- Qe as TreeGrid,
106
- Ze as addRowById,
107
- qe as addTreeGridRowById,
108
- je as authRoles,
109
- Xe as buildTreeGridEnumAttributesByCommonCodeList,
110
- $e as changeOwpTheme,
111
- ea as changeVisibleCellByGridId,
112
- aa as createAppSelector,
113
- sa as createJsonBody,
114
- ta as createJsonString,
115
- ra as darkPaletteText,
116
- oa as exportExcelByBuffer,
117
- ia as exportExcelByGrid,
118
- la as exportExcelById,
73
+ be as OwpSearchFilter,
74
+ Te as OwpSection,
75
+ me as OwpSettings,
76
+ Ce as OwpSettingsViewerDialog,
77
+ Le as OwpShortcuts,
78
+ Se as OwpSidePanel,
79
+ Ge as OwpSlotTreeView,
80
+ Ee as OwpSplashScreen,
81
+ Ie as OwpSuspense,
82
+ he as OwpSvgIcon,
83
+ ye as OwpTab,
84
+ Be as OwpTable,
85
+ De as OwpTableTotalCount,
86
+ Ne as OwpTabs,
87
+ ve as OwpTextMaskField,
88
+ Re as OwpTheme,
89
+ Ae as OwpThemeSelector,
90
+ _e as OwpTimePicker,
91
+ Pe as OwpTreeGrid,
92
+ xe as OwpTreeGridExcelButton,
93
+ ke as OwpTreeGridToolbar,
94
+ Fe as OwpUtils,
95
+ fe as OwpVerticalTable,
96
+ He as OwpWeekDatePicker,
97
+ Ue as OwpYearRangePicker,
98
+ Ve as OwpYesNoSelector,
99
+ Me as OwpZoomImageSlider,
100
+ ze as StyledTable,
101
+ Ye as StyledTableRow,
102
+ Je as TREEGRID_CELL_HIGHLIGHT_CLASS,
103
+ Ke as TREEGRID_CELL_HIGHLIGHT_COLOR,
104
+ We as TREEGRID_INPUT_CELL_COLOR,
105
+ Qe as TREEGRID_WARNING_CELL_COLOR,
106
+ Ze as TreeGrid,
107
+ qe as addRowById,
108
+ je as addTreeGridRowById,
109
+ Xe as authRoles,
110
+ $e as buildTreeGridEnumAttributesByCommonCodeList,
111
+ ea as changeOwpTheme,
112
+ aa as changeVisibleCellByGridId,
113
+ sa as createAppSelector,
114
+ ta as createJsonBody,
115
+ ra as createJsonString,
116
+ oa as darkPaletteText,
117
+ ia as exportExcelByBuffer,
118
+ la as exportExcelByGrid,
119
+ pa as exportExcelById,
119
120
  na as exportTreeGridExcel,
120
- pa as exportTreeGridToExcelById,
121
- ca as formatDateToYmd,
122
- da as formatNumber,
121
+ ca as exportTreeGridToExcelById,
122
+ da as formatDateToYmd,
123
+ wa as formatNumber,
123
124
  ua as generateBarcodeUrl,
124
- wa as generateQrCodeUrl,
125
+ Oa as generateQrCodeUrl,
125
126
  ga as generateSettings,
126
- Oa as getChangedDataRowsById,
127
- ba as getDataRowsById,
128
- Ta as getDirection,
129
- ma as getDisplayValue,
130
- Ca as getFooterTheme,
131
- La as getFormDefaultValues,
132
- Sa as getGridById,
133
- Ga as getIndexByLetters,
134
- Ea as getLettersByIndex,
135
- Ia as getMainTheme,
136
- ha as getNavbarTheme,
137
- ya as getSelectedRowsById,
138
- Ba as getTodayYmd,
139
- Da as getToolbarTheme,
140
- Na as getTreeGridById,
141
- va as getTreeGridDataRowsById,
142
- Ra as getTreeGridRowChangesById,
143
- Aa as getTreeGridSelectedRowsById,
144
- _a as highlightTreeGridCellById,
145
- Pa as isEnterKeyEvent,
146
- xa as isUrlInChildren,
147
- ka as lightPaletteText,
148
- Fa as makeStore,
149
- fa as owpDark,
150
- Ha as owpSettingsSlice,
151
- Ua as rebuildValue,
152
- Va as reloadBodyById,
153
- Ma as reloadTreeGridBodyById,
154
- za as resetGridChanges,
155
- Ya as resetGridSelection,
156
- Ja as resetGridsChanges,
157
- Ka as resetGridsSelection,
158
- Wa as resetSettings,
159
- Qa as resetTreeGridChangesById,
160
- Za as resetTreeGridChangesByIds,
161
- qa as resetTreeGridSelectionById,
162
- ja as resetTreeGridSelectionsByIds,
163
- Xa as saveAsZipFile,
164
- $a as selectContrastMainTheme,
165
- es as selectCustomScrollbarsEnabled,
166
- as as selectFooterTheme,
167
- ss as selectFooterThemeDark,
168
- ts as selectFooterThemeLight,
169
- rs as selectMainTheme,
170
- os as selectMainThemeDark,
171
- is as selectMainThemeLight,
172
- ls as selectNavbarTheme,
127
+ ba as getChangedDataRowsById,
128
+ Ta as getDataRowsById,
129
+ ma as getDirection,
130
+ Ca as getDisplayValue,
131
+ La as getFooterTheme,
132
+ Sa as getFormDefaultValues,
133
+ Ga as getGridById,
134
+ Ea as getIndexByLetters,
135
+ Ia as getLettersByIndex,
136
+ ha as getMainTheme,
137
+ ya as getNavbarTheme,
138
+ Ba as getSelectedRowsById,
139
+ Da as getTodayYmd,
140
+ Na as getToolbarTheme,
141
+ va as getTreeGridById,
142
+ Ra as getTreeGridDataRowsById,
143
+ Aa as getTreeGridRowChangesById,
144
+ _a as getTreeGridSelectedRowsById,
145
+ Pa as highlightTreeGridCellById,
146
+ xa as isEnterKeyEvent,
147
+ ka as isUrlInChildren,
148
+ Fa as lightPaletteText,
149
+ fa as makeStore,
150
+ Ha as owpDark,
151
+ Ua as owpSettingsSlice,
152
+ Va as rebuildValue,
153
+ Ma as reloadBodyById,
154
+ za as reloadTreeGridBodyById,
155
+ Ya as resetGridChanges,
156
+ Ja as resetGridSelection,
157
+ Ka as resetGridsChanges,
158
+ Wa as resetGridsSelection,
159
+ Qa as resetSettings,
160
+ Za as resetTreeGridChangesById,
161
+ qa as resetTreeGridChangesByIds,
162
+ ja as resetTreeGridSelectionById,
163
+ Xa as resetTreeGridSelectionsByIds,
164
+ $a as saveAsZipFile,
165
+ es as selectContrastMainTheme,
166
+ as as selectCustomScrollbarsEnabled,
167
+ ss as selectFooterTheme,
168
+ ts as selectFooterThemeDark,
169
+ rs as selectFooterThemeLight,
170
+ os as selectMainTheme,
171
+ is as selectMainThemeDark,
172
+ ls as selectMainThemeLight,
173
+ ps as selectNavbarTheme,
173
174
  ns as selectNavbarThemeDark,
174
- ps as selectNavbarThemeLight,
175
- cs as selectOwpCurrentLayoutConfig,
176
- ds as selectOwpCurrentSettings,
175
+ cs as selectNavbarThemeLight,
176
+ ds as selectOwpCurrentLayoutConfig,
177
+ ws as selectOwpCurrentSettings,
177
178
  us as selectOwpDefaultSettings,
178
- ws as selectOwpSettings,
179
+ Os as selectOwpSettings,
179
180
  gs as selectOwpSettingsCurrent,
180
- Os as selectOwpSettingsDefaults,
181
- bs as selectToolbarTheme,
182
- Ts as selectToolbarThemeDark,
183
- ms as selectToolbarThemeLight,
184
- Cs as setCellValue,
185
- Ls as setDefaultSettings,
186
- Ss as setGridEnum,
187
- Gs as setHighlightTargetCellByGridId,
188
- Es as setInitialSettings,
189
- Is as setMergeCells,
190
- hs as setSettings,
191
- ys as setTreeGridColumnEnumOptionsById,
192
- Bs as setTreeGridColumnVisibilityById,
193
- Ds as skyBlue,
194
- Ns as store,
195
- vs as themeLayouts,
196
- Rs as transformCommonCodeBasedOnGroupId,
197
- As as transformGridEnumByCommonCodeList,
198
- _s as transformTreeViewListData,
199
- Ps as useConfirm,
200
- xs as useDebounce,
201
- ks as useDeepCompareEffect,
202
- Fs as useDeepCompareEffectNoCheck,
203
- fs as useDeepCompareMemoize,
204
- Hs as useGetCommonCodeList,
205
- Us as useGetCurrentLanguage,
206
- Vs as useGetCurrentLogoSrc,
207
- Ms as useGetCurrentUser,
208
- zs as useGetCurrentUserId,
209
- Ys as useGetLanguageList,
210
- Js as useGetNavigationList,
211
- Ks as useGetPageLockLoading,
212
- Ws as useGetShortcuts,
213
- Qs as useGetTreeGridEnumByCommonCode,
214
- Zs as useGetTreeGridInstance,
215
- qs as useOwpAppContext,
216
- js as useOwpTranslation,
217
- Xs as usePageLockLoading,
218
- $s as usePrevious,
219
- et as useSetCommonCodeList,
220
- at as useSetCurrentLanguage,
221
- st as useSetCurrentLogoSrc,
222
- tt as useSetCurrentUser,
223
- rt as useSetCurrentUserId,
224
- ot as useSetNavigationList,
225
- it as useSetShortcuts,
226
- lt as useStorage,
227
- nt as useThemeMediaQuery,
181
+ bs as selectOwpSettingsDefaults,
182
+ Ts as selectToolbarTheme,
183
+ ms as selectToolbarThemeDark,
184
+ Cs as selectToolbarThemeLight,
185
+ Ls as setCellValue,
186
+ Ss as setDefaultSettings,
187
+ Gs as setGridEnum,
188
+ Es as setHighlightTargetCellByGridId,
189
+ Is as setInitialSettings,
190
+ hs as setMergeCells,
191
+ ys as setSettings,
192
+ Bs as setTreeGridColumnEnumOptionsById,
193
+ Ds as setTreeGridColumnVisibilityById,
194
+ Ns as skyBlue,
195
+ vs as store,
196
+ Rs as themeLayouts,
197
+ As as transformCommonCodeBasedOnGroupId,
198
+ _s as transformGridEnumByCommonCodeList,
199
+ Ps as transformTreeViewListData,
200
+ xs as useConfirm,
201
+ ks as useDebounce,
202
+ Fs as useDeepCompareEffect,
203
+ fs as useDeepCompareEffectNoCheck,
204
+ Hs as useDeepCompareMemoize,
205
+ Us as useGetCommonCodeList,
206
+ Vs as useGetCurrentLanguage,
207
+ Ms as useGetCurrentLogoSrc,
208
+ zs as useGetCurrentUser,
209
+ Ys as useGetCurrentUserId,
210
+ Js as useGetLanguageList,
211
+ Ks as useGetNavigationList,
212
+ Ws as useGetPageLockLoading,
213
+ Qs as useGetShortcuts,
214
+ Zs as useOwpAppContext,
215
+ qs as useOwpTranslation,
216
+ js as usePageLockLoading,
217
+ Xs as usePrevious,
218
+ $s as useSetCommonCodeList,
219
+ et as useSetCurrentLanguage,
220
+ at as useSetCurrentLogoSrc,
221
+ st as useSetCurrentUser,
222
+ tt as useSetCurrentUserId,
223
+ rt as useSetNavigationList,
224
+ ot as useSetShortcuts,
225
+ it as useStorage,
226
+ lt as useThemeMediaQuery,
228
227
  pt as useTimeout,
229
- ct as useTreeGridCommonCodeEnum,
230
- dt as useTreeGridCommonCodeEnums,
231
- ut as useTreeGridExcelExport
228
+ nt as useTreeGridCommonCodeEnum,
229
+ ct as useTreeGridCommonCodeEnums,
230
+ dt as useTreeGridExcelExport
232
231
  };
233
232
  //# sourceMappingURL=index.js.map
@@ -3,4 +3,4 @@ import { TextFieldProps } from '@mui/material';
3
3
  * OwpBarcodeInputField 컴포넌트
4
4
  * @param props 컴포넌트 props
5
5
  */
6
- export declare function OwpBarcodeInputField(props: TextFieldProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function OwpBarcodeInputField({ defaultValue, onChange, value: valueProp, ...props }: TextFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@
2
2
  * OwpDialog component
3
3
  * This component renders a material UI ```Dialog``` component
4
4
  * with properties pulled from the redux store
5
+ * @deprecated `OwpCommonDialog` 사용
5
6
  */
6
7
  declare function OwpDialog(): import("react/jsx-runtime").JSX.Element;
7
8
  export { OwpDialog };
@@ -1 +1,4 @@
1
+ /**
2
+ * @deprecated `OwpCommonDialog` 사용
3
+ */
1
4
  export { OwpDialog } from './OwpDialog';
@@ -26,5 +26,5 @@ interface OwpExportDataToExcelButtonProps<T> extends ButtonProps {
26
26
  * @param exportName 다운로드 파일명
27
27
  * @param title 제목
28
28
  */
29
- export declare function OwpExportDataToExcelButton<T>({ header, mapper, data, exportName, title, ...restProps }: OwpExportDataToExcelButtonProps<T>): import("react/jsx-runtime").JSX.Element;
29
+ export declare function OwpExportDataToExcelButton<T>({ header, mapper, data, exportName, title, loading, loadingPosition, onClick, ...restProps }: OwpExportDataToExcelButtonProps<T>): import("react/jsx-runtime").JSX.Element;
30
30
  export {};
@@ -3,9 +3,9 @@ export type OwpMessageVariantType = 'success' | 'error' | 'warning' | 'info';
3
3
  * OwpMessage
4
4
  * The OwpMessage component holds a snackbar that is capable of displaying message with 4 different variant. It uses the @mui/material React packages to create the components.
5
5
  */
6
- declare function OwpMessage(): import("react/jsx-runtime").JSX.Element;
6
+ declare function OwpMessageBase(): import("react/jsx-runtime").JSX.Element;
7
7
  /**
8
- * OwpMessageMemo 메모이징 컴포넌트
8
+ * @deprecated `notistack` 사용
9
9
  */
10
- declare const OwpMessageMemo: import("react").MemoExoticComponent<typeof OwpMessage>;
11
- export { OwpMessageMemo as OwpMessage };
10
+ export declare const OwpMessage: import("react").MemoExoticComponent<typeof OwpMessageBase>;
11
+ export {};
@@ -1 +1,4 @@
1
+ /**
2
+ * @deprecated `notistack` 사용
3
+ */
1
4
  export { OwpMessage } from './OwpMessage';
@@ -0,0 +1,22 @@
1
+ import { type SelectProps } from '@mui/material';
2
+ import { type ReactNode } from 'react';
3
+ export interface OwpOptionSelectorOption {
4
+ value: string;
5
+ label: ReactNode;
6
+ disabled?: boolean;
7
+ }
8
+ export interface OwpOptionSelectorProps extends Omit<SelectProps<string>, 'label' | 'variant'> {
9
+ label?: string;
10
+ disableAllValueItem?: boolean;
11
+ helperText?: string;
12
+ options: OwpOptionSelectorOption[];
13
+ }
14
+ /**
15
+ * 단일 선택 옵션 Select
16
+ * @param label 입력 라벨
17
+ * @param disableAllValueItem 전체 옵션 노출 여부
18
+ * @param helperText 하단 안내 문구
19
+ * @param options 선택 옵션 목록
20
+ */
21
+ declare const OwpOptionSelector: ({ label, required, fullWidth, defaultValue, disableAllValueItem, error, helperText, options, className, ...selectProps }: OwpOptionSelectorProps) => import("react/jsx-runtime").JSX.Element;
22
+ export { OwpOptionSelector };
@@ -1,24 +1,22 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
+ type TextMaskFieldChangeEvent = {
3
+ target: {
4
+ name: string;
5
+ value: string;
6
+ };
7
+ unmaskedValue: string;
8
+ };
2
9
  interface CustomProps {
3
- onChange: (event: {
4
- target: {
5
- name: string;
6
- value: string;
7
- };
8
- unmaskedValue: string;
9
- }) => void;
10
- name: string;
10
+ onChange: (event: TextMaskFieldChangeEvent) => void;
11
+ name?: string;
11
12
  mask: string;
12
- definitions: any;
13
+ definitions?: Record<string, unknown>;
13
14
  }
14
15
  /**
15
- * OwpTextMaskField 컴포넌트
16
- * @param className CSS 클래스명
17
- * @param sx sx
18
- * @param label 입력 라벨
19
- * @param value 현재 값
20
- * @param color color 값
21
- * @param onChange onChange 핸들러
16
+ * 마스크 텍스트 입력 필드
17
+ * @param mask 입력 마스크 문자열
18
+ * @param definitions 사용자 정의 마스크 정의
19
+ * @param onChange 마스크 변경 이벤트 핸들러
22
20
  */
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;
21
+ export declare function OwpTextMaskField({ className, sx, id: idProp, name, label, value, defaultValue, color, onChange, error, helperText, mask, definitions, variant, fullWidth, disabled, required, placeholder, autoFocus, inputProps, inputRef, }: Omit<TextFieldProps, 'onChange'> & CustomProps): import("react/jsx-runtime").JSX.Element;
24
22
  export {};
@@ -29,10 +29,15 @@ export interface OwpTreeGridProps<T> {
29
29
  className?: string;
30
30
  containerStyle?: CSSProperties;
31
31
  containerClassName?: string;
32
+ layoutSourceUrl?: string;
33
+ dataSourceUrl?: string;
34
+ layoutOverrides?: OwpTreeGridLayoutConfig;
35
+ /** @deprecated use layoutSourceUrl */
32
36
  LayoutUrl?: string;
33
- layoutUrl?: string;
37
+ /** @deprecated use dataSourceUrl */
34
38
  DataUrl?: string;
35
39
  data?: OwpTreeGridBodyData<T>;
40
+ /** @deprecated use layoutOverrides */
36
41
  layout?: OwpTreeGridLayoutConfig;
37
42
  style?: CSSProperties;
38
43
  height?: string | number;
@@ -58,5 +63,5 @@ export interface OwpTreeGridProps<T> {
58
63
  * @param style 스타일 객체
59
64
  * @param height height 값
60
65
  */
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;
66
+ declare const OwpTreeGrid: <T>({ id, containerStyle, containerClassName, className, style, height, width, layoutSourceUrl, dataSourceUrl, layoutOverrides, LayoutUrl, DataUrl, data, layout, useDataUrl, onSelect, onRowClick, onRowAdd, onRowDelete, onRowUndelete, onRowChange, onClickButton, onSave, onReady, onAfterValueChanged, }: OwpTreeGridProps<T>) => import("react/jsx-runtime").JSX.Element;
62
67
  export { OwpTreeGrid };
@@ -15,11 +15,11 @@ interface TreeGridProps {
15
15
  layoutDef: LayoutDef;
16
16
  }
17
17
  /**
18
- * TreeGrid 컴포넌트
18
+ * 레거시 TreeGrid 래퍼
19
19
  * @param id 식별자
20
20
  * @param className CSS 클래스명
21
21
  * @param style 스타일 객체
22
- * @param layoutDef 레이아웃 정의
22
+ * @param layoutDef 레이아웃 정의
23
23
  */
24
24
  export declare const TreeGrid: ({ id, className, style, layoutDef }: TreeGridProps) => import("react/jsx-runtime").JSX.Element;
25
25
  export {};
@@ -1,10 +1,8 @@
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
- yesLabel?: React.ReactNode;
7
- noLabel?: React.ReactNode;
1
+ import { type OwpOptionSelectorProps } from '@/components/OwpOptionSelector';
2
+ import { type ReactNode } from 'react';
3
+ export interface OwpYesNoSelectorProps extends Omit<OwpOptionSelectorProps, 'options'> {
4
+ yesLabel?: ReactNode;
5
+ noLabel?: ReactNode;
8
6
  }
9
7
  /**
10
8
  * Y/N 선택 Select
@@ -14,5 +12,5 @@ export interface OwpYesNoSelectorProps extends Omit<SelectProps<string>, 'label'
14
12
  * @param yesLabel Y 항목 라벨
15
13
  * @param noLabel N 항목 라벨
16
14
  */
17
- declare const OwpYesNoSelector: ({ label, required, fullWidth, defaultValue, disableAllValueItem, error, helperText, yesLabel, noLabel, className, ...selectProps }: OwpYesNoSelectorProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const OwpYesNoSelector: ({ yesLabel, noLabel, ...optionSelectorProps }: OwpYesNoSelectorProps) => import("react/jsx-runtime").JSX.Element;
18
16
  export { OwpYesNoSelector };
@@ -1,21 +1,24 @@
1
+ type StorageEnv = {
2
+ [key: string]: any;
3
+ };
4
+ type StoredCurrentUser = {
5
+ role: string[];
6
+ data: {
7
+ displayName?: string;
8
+ email?: string;
9
+ MES_STARTPAGE?: string;
10
+ STARTPAGE?: string;
11
+ USERSEQ?: any;
12
+ photoURL: string;
13
+ };
14
+ };
1
15
  /**
2
16
  * 스토리지 유틸 훅
3
17
  */
4
18
  export declare const useStorage: () => {
5
19
  resetStorage: () => void;
6
- getCurrentUser: () => {
7
- role: string[];
8
- data: {
9
- displayName: any;
10
- email: any;
11
- MES_STARTPAGE: any;
12
- STARTPAGE: any;
13
- USERSEQ: any;
14
- photoURL: string;
15
- };
16
- };
17
- setEnv: (env: {
18
- [key: string]: string;
19
- }) => void;
20
- getEnv: () => any;
20
+ getCurrentUser: () => StoredCurrentUser | null;
21
+ setEnv: (env: StorageEnv) => void;
22
+ getEnv: () => StorageEnv;
21
23
  };
24
+ export {};
@@ -22,7 +22,6 @@ export * from './hooks/useTimeout';
22
22
  export * from './hooks/useTreeGridCommonCodeEnum';
23
23
  export * from './hooks/useTreeGridCommonCodeEnums';
24
24
  export * from './hooks/useTreeGridExcelExport';
25
- export * from './hooks/useTreeGridInstance';
26
25
  export * from './store/store';
27
26
  export * from './utils/barcodeUtil';
28
27
  export * from './utils/commonCodeUtils';
@@ -80,6 +79,7 @@ export * from './components/OwpNavigation/vertical/types/OwpNavVerticalItem';
80
79
  export * from './components/OwpNavigation/vertical/types/OwpNavVerticalLink';
81
80
  export * from './components/OwpNavigation/vertical/types/OwpNavVerticalTab';
82
81
  export * from './components/OwpNumberField';
82
+ export * from './components/OwpOptionSelector';
83
83
  export * from './components/OwpPageCarded';
84
84
  export * from './components/OwpPageCarded/OwpPageCardedHeader';
85
85
  export * from './components/OwpPageCarded/OwpPageCardedSidebar';
@@ -2,5 +2,6 @@
2
2
  * 바코드 이미지 URL 생성
3
3
  * @param text 텍스트
4
4
  * @param format 바코드 포맷
5
+ * @returns Object URL 문자열, 사용 후 revoke 필요
5
6
  */
6
7
  export declare const generateBarcodeUrl: (text: string, format?: string) => Promise<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owp/core",
3
3
  "private": false,
4
- "version": "1.21.0",
4
+ "version": "1.22.1",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",