@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/{QuickPanel-yxCETwos.js → QuickPanel-gMWUy68H.js} +2 -2
- package/dist/{QuickPanel-yxCETwos.js.map → QuickPanel-gMWUy68H.js.map} +1 -1
- package/dist/{index-CTIjyeWI.js → index-YHfSppBY.js} +15317 -15255
- package/dist/index-YHfSppBY.js.map +1 -0
- package/dist/index.js +171 -172
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +1 -1
- package/dist/types/components/OwpDialog/OwpDialog.d.ts +1 -0
- package/dist/types/components/OwpDialog/index.d.ts +3 -0
- package/dist/types/components/OwpExportExcelButton/OwpExportExcelButton.d.ts +1 -1
- package/dist/types/components/OwpMessage/OwpMessage.d.ts +4 -4
- package/dist/types/components/OwpMessage/index.d.ts +3 -0
- package/dist/types/components/OwpOptionSelector/index.d.ts +22 -0
- package/dist/types/components/OwpTextField/OwpTextMaskField.d.ts +15 -17
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +7 -2
- package/dist/types/components/OwpTreeGrid/TreeGrid.d.ts +2 -2
- package/dist/types/components/OwpYesNoSelector/index.d.ts +6 -8
- package/dist/types/hooks/useStorage.d.ts +18 -15
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/barcodeUtil.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index-CTIjyeWI.js.map +0 -1
- package/dist/types/hooks/useTreeGridInstance.d.ts +0 -13
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DialogsProvider as
|
|
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
60
|
-
te as
|
|
61
|
-
re as
|
|
62
|
-
oe as
|
|
63
|
-
ie as
|
|
64
|
-
le as
|
|
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
|
-
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
ce as OwpPageSimpleHeader,
|
|
68
|
+
de as OwpPageSimpleSidebar,
|
|
69
|
+
we as OwpPageSimpleSidebarContent,
|
|
69
70
|
ue as OwpPageTitle,
|
|
70
|
-
|
|
71
|
+
Oe as OwpScrollbars,
|
|
71
72
|
ge as OwpSearch,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
ca as exportTreeGridToExcelById,
|
|
122
|
+
da as formatDateToYmd,
|
|
123
|
+
wa as formatNumber,
|
|
123
124
|
ua as generateBarcodeUrl,
|
|
124
|
-
|
|
125
|
+
Oa as generateQrCodeUrl,
|
|
125
126
|
ga as generateSettings,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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
|
-
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
cs as selectNavbarThemeLight,
|
|
176
|
+
ds as selectOwpCurrentLayoutConfig,
|
|
177
|
+
ws as selectOwpCurrentSettings,
|
|
177
178
|
us as selectOwpDefaultSettings,
|
|
178
|
-
|
|
179
|
+
Os as selectOwpSettings,
|
|
179
180
|
gs as selectOwpSettingsCurrent,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
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
|
-
|
|
230
|
-
|
|
231
|
-
|
|
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 };
|
|
@@ -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
|
|
6
|
+
declare function OwpMessageBase(): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* @deprecated `notistack` 사용
|
|
9
9
|
*/
|
|
10
|
-
declare const
|
|
11
|
-
export {
|
|
10
|
+
export declare const OwpMessage: import("react").MemoExoticComponent<typeof OwpMessageBase>;
|
|
11
|
+
export {};
|
|
@@ -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
|
-
|
|
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
|
|
13
|
+
definitions?: Record<string, unknown>;
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @param
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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: ({
|
|
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
|
-
|
|
8
|
-
|
|
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 {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|