@vmscloud/moz-ui-components-core 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/avatar/avatar.core.d.ts +39 -0
- package/dist/components/avatar/index.d.ts +14 -0
- package/dist/components/bread-crumb/breadcrumb.core.d.ts +70 -0
- package/dist/components/bread-crumb/icons.d.ts +9 -0
- package/dist/components/bread-crumb/index.d.ts +10 -0
- package/dist/components/button/button.core.d.ts +59 -0
- package/dist/components/button/circleLoader.d.ts +8 -0
- package/dist/components/button/index.d.ts +12 -0
- package/dist/components/calendar/calendar.core.d.ts +25 -0
- package/dist/components/calendar/icons.d.ts +7 -0
- package/dist/components/calendar/index.d.ts +7 -0
- package/dist/components/checkbox/checkbox.core.d.ts +46 -0
- package/dist/components/checkbox/icons.d.ts +9 -0
- package/dist/components/checkbox/index.d.ts +10 -0
- package/dist/components/collapsible/collapsible.core.d.ts +34 -0
- package/dist/components/collapsible/index.d.ts +15 -0
- package/dist/components/context-menu/contextmenu.core.d.ts +58 -0
- package/dist/components/context-menu/index.d.ts +10 -0
- package/dist/components/controller/controller.core.d.ts +44 -0
- package/dist/components/controller/icons.d.ts +12 -0
- package/dist/components/controller/index.d.ts +12 -0
- package/dist/components/date-input/dateinput.core.d.ts +32 -0
- package/dist/components/date-input/icons.d.ts +6 -0
- package/dist/components/date-input/index.d.ts +7 -0
- package/dist/components/empty-state/emptystate.core.d.ts +25 -0
- package/dist/components/empty-state/emptystate.types.d.ts +17 -0
- package/dist/components/empty-state/index.d.ts +8 -0
- package/dist/components/input/icons.d.ts +4 -0
- package/dist/components/input/index.d.ts +10 -0
- package/dist/components/input/input.core.d.ts +38 -0
- package/dist/components/label/index.d.ts +6 -0
- package/dist/components/label/label.core.d.ts +22 -0
- package/dist/components/multi-select/icons.d.ts +14 -0
- package/dist/components/multi-select/index.d.ts +10 -0
- package/dist/components/multi-select/multiselect.core.d.ts +60 -0
- package/dist/components/number-input/icons.d.ts +7 -0
- package/dist/components/number-input/index.d.ts +7 -0
- package/dist/components/number-input/numberinput.core.d.ts +30 -0
- package/dist/components/password-input/icons.d.ts +7 -0
- package/dist/components/password-input/index.d.ts +7 -0
- package/dist/components/password-input/passwordinput.core.d.ts +29 -0
- package/dist/components/popover/index.d.ts +14 -0
- package/dist/components/popover/popover.core.d.ts +65 -0
- package/dist/components/popup/icons.d.ts +18 -0
- package/dist/components/popup/index.d.ts +14 -0
- package/dist/components/popup/popup.core.d.ts +132 -0
- package/dist/components/radio/index.d.ts +9 -0
- package/dist/components/radio/radio.core.d.ts +35 -0
- package/dist/components/scroll-area/index.d.ts +16 -0
- package/dist/components/scroll-area/scrollarea.core.d.ts +47 -0
- package/dist/components/select/icons.d.ts +16 -0
- package/dist/components/select/index.d.ts +10 -0
- package/dist/components/select/select.core.d.ts +48 -0
- package/dist/components/slider/index.d.ts +6 -0
- package/dist/components/slider/slider.core.d.ts +23 -0
- package/dist/components/split-pane/index.d.ts +15 -0
- package/dist/components/split-pane/splitpane.core.d.ts +24 -0
- package/dist/components/tab/icons.d.ts +4 -0
- package/dist/components/tab/index.d.ts +10 -0
- package/dist/components/tab/tab.core.d.ts +28 -0
- package/dist/components/table-select/index.d.ts +10 -0
- package/dist/components/table-select/tableselect.core.d.ts +45 -0
- package/dist/components/tag-input/icons.d.ts +9 -0
- package/dist/components/tag-input/index.d.ts +12 -0
- package/dist/components/tag-input/taginput.core.d.ts +32 -0
- package/dist/components/textarea/index.d.ts +6 -0
- package/dist/components/textarea/textarea.core.d.ts +35 -0
- package/dist/components/time-picker/icons.d.ts +9 -0
- package/dist/components/time-picker/index.d.ts +10 -0
- package/dist/components/time-picker/timepicker.core.d.ts +26 -0
- package/dist/components/toast/icons.d.ts +12 -0
- package/dist/components/toast/index.d.ts +13 -0
- package/dist/components/toast/timer.d.ts +17 -0
- package/dist/components/toast/toast.core.d.ts +48 -0
- package/dist/components/toast/useToast.d.ts +13 -0
- package/dist/components/toggle/index.d.ts +9 -0
- package/dist/components/toggle/toggle.core.d.ts +54 -0
- package/dist/components/tooltip/index.d.ts +18 -0
- package/dist/components/tooltip/placement.d.ts +9 -0
- package/dist/components/tooltip/tooltip.core.d.ts +50 -0
- package/dist/components/tree-select/icons.d.ts +14 -0
- package/dist/components/tree-select/index.d.ts +12 -0
- package/dist/components/tree-select/tree-utils.d.ts +63 -0
- package/dist/components/tree-select/treeselect.core.d.ts +45 -0
- package/dist/index.cjs +1887 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +9233 -0
- package/dist/index.js.map +1 -0
- package/dist/locale/en.d.ts +3 -0
- package/dist/locale/index.d.ts +10 -0
- package/dist/locale/ja.d.ts +3 -0
- package/dist/locale/ko.d.ts +3 -0
- package/dist/locale/types.d.ts +482 -0
- package/dist/locale/zh.d.ts +3 -0
- package/dist/overlay/DismissStack.d.ts +49 -0
- package/dist/overlay/Overlay.d.ts +39 -0
- package/dist/overlay/PortalHost.d.ts +11 -0
- package/dist/overlay/index.d.ts +5 -0
- package/dist/overlay/placement.d.ts +74 -0
- package/dist/runtime/ChromeComponent.d.ts +38 -0
- package/dist/runtime/Observable.d.ts +18 -0
- package/dist/runtime/SlotHost.d.ts +48 -0
- package/dist/runtime/defineHeadless.d.ts +28 -0
- package/dist/runtime/spread.d.ts +26 -0
- package/dist/runtime/types.d.ts +149 -0
- package/dist/shared/cn.d.ts +8 -0
- package/dist/shared/dayjs.d.ts +10 -0
- package/dist/shared/index.d.ts +5 -0
- package/dist/shared/utils.d.ts +58 -0
- package/dist/styles/default/avatar.css +94 -0
- package/dist/styles/default/breadcrumb.css +120 -0
- package/dist/styles/default/button.css +220 -0
- package/dist/styles/default/calendar.css +158 -0
- package/dist/styles/default/checkbox.css +128 -0
- package/dist/styles/default/collapsible.css +27 -0
- package/dist/styles/default/contextmenu.css +212 -0
- package/dist/styles/default/controller.css +157 -0
- package/dist/styles/default/dateinput.css +193 -0
- package/dist/styles/default/emptystate.css +91 -0
- package/dist/styles/default/index.css +3877 -0
- package/dist/styles/default/input.css +179 -0
- package/dist/styles/default/label.css +65 -0
- package/dist/styles/default/multiselect.css +394 -0
- package/dist/styles/default/numberinput.css +174 -0
- package/dist/styles/default/passwordinput.css +189 -0
- package/dist/styles/default/popover.css +92 -0
- package/dist/styles/default/popup.css +222 -0
- package/dist/styles/default/radio.css +264 -0
- package/dist/styles/default/scrollarea.css +133 -0
- package/dist/styles/default/select.css +287 -0
- package/dist/styles/default/slider.css +123 -0
- package/dist/styles/default/splitpane.css +62 -0
- package/dist/styles/default/tab.css +172 -0
- package/dist/styles/default/tableselect.css +313 -0
- package/dist/styles/default/taginput.css +296 -0
- package/dist/styles/default/textarea.css +145 -0
- package/dist/styles/default/timepicker.css +221 -0
- package/dist/styles/default/toast.css +165 -0
- package/dist/styles/default/toggle.css +129 -0
- package/dist/styles/default/tooltip.css +131 -0
- package/dist/styles/default/treeselect.css +382 -0
- package/dist/validator/createValidator.d.ts +7 -0
- package/dist/validator/index.d.ts +2 -0
- package/dist/validator/types.d.ts +26 -0
- package/package.json +57 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 로케일 메시지 데이터 — moz-ui-components/src/shared/locale 에서 verbatim 복사 (프레임워크 무관).
|
|
3
|
+
* provide/inject(Vue)·context(React) 로 현재 로케일을 고르는 로직은 각 래퍼에 있고,
|
|
4
|
+
* 코어는 CoreInstance.setLocale 채널로 메시지를 받는다. 기본값은 koKR.
|
|
5
|
+
*/
|
|
6
|
+
export type { MozLocaleMessages } from './types';
|
|
7
|
+
export { koKR } from './ko';
|
|
8
|
+
export { enUS } from './en';
|
|
9
|
+
export { zhCN } from './zh';
|
|
10
|
+
export { jaJP } from './ja';
|
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
export interface MozLocaleMessages {
|
|
2
|
+
Toast: {
|
|
3
|
+
/** 조립 모드 닫기 버튼의 접근 가능한 이름 (ITSM-2026-002321) */
|
|
4
|
+
close: string;
|
|
5
|
+
};
|
|
6
|
+
Popup: {
|
|
7
|
+
title: string;
|
|
8
|
+
save: string;
|
|
9
|
+
cancel: string;
|
|
10
|
+
ok: string;
|
|
11
|
+
close: string;
|
|
12
|
+
};
|
|
13
|
+
Select: {
|
|
14
|
+
searchPlaceholder: string;
|
|
15
|
+
emptyText: string;
|
|
16
|
+
requiredMessage: string;
|
|
17
|
+
};
|
|
18
|
+
MultiSelect: {
|
|
19
|
+
search: string;
|
|
20
|
+
selectAll: string;
|
|
21
|
+
selectFiltered: string;
|
|
22
|
+
specificResults: string;
|
|
23
|
+
specificSelect: string;
|
|
24
|
+
noData: string;
|
|
25
|
+
required: string;
|
|
26
|
+
headerFormat: string;
|
|
27
|
+
};
|
|
28
|
+
TreeSelect: {
|
|
29
|
+
search: string;
|
|
30
|
+
selectAll: string;
|
|
31
|
+
selectFiltered: string;
|
|
32
|
+
specificResults: string;
|
|
33
|
+
noData: string;
|
|
34
|
+
showSelectedOnly: string;
|
|
35
|
+
expandAll: string;
|
|
36
|
+
collapseAll: string;
|
|
37
|
+
required: string;
|
|
38
|
+
headerFormat: string;
|
|
39
|
+
expand: string;
|
|
40
|
+
collapse: string;
|
|
41
|
+
};
|
|
42
|
+
TagInput: {
|
|
43
|
+
add: string;
|
|
44
|
+
editTag: string;
|
|
45
|
+
removeTag: string;
|
|
46
|
+
};
|
|
47
|
+
TimePicker: {
|
|
48
|
+
hour: string;
|
|
49
|
+
minute: string;
|
|
50
|
+
currentTime: string;
|
|
51
|
+
};
|
|
52
|
+
EmptyState: {
|
|
53
|
+
customEmptyHeader: string;
|
|
54
|
+
customEmptyContent: string;
|
|
55
|
+
dataEmptyHeader: string;
|
|
56
|
+
dataEmptyContent: string;
|
|
57
|
+
resultEmptyHeader: string;
|
|
58
|
+
resultEmptyContent: string;
|
|
59
|
+
searchEmptyHeader: string;
|
|
60
|
+
searchEmptyContent: string;
|
|
61
|
+
};
|
|
62
|
+
TableSelect: {
|
|
63
|
+
searchPlaceholder: string;
|
|
64
|
+
emptyText: string;
|
|
65
|
+
requiredMessage: string;
|
|
66
|
+
footerSelect: string;
|
|
67
|
+
footerNavigate: string;
|
|
68
|
+
footerClose: string;
|
|
69
|
+
};
|
|
70
|
+
Common: {
|
|
71
|
+
requiredMessage: string;
|
|
72
|
+
};
|
|
73
|
+
Grid: {
|
|
74
|
+
layoutSetting: string;
|
|
75
|
+
filter: string;
|
|
76
|
+
sort: string;
|
|
77
|
+
customCellStyle: string;
|
|
78
|
+
reset: string;
|
|
79
|
+
searchFilter: string;
|
|
80
|
+
newView: string;
|
|
81
|
+
selectAll: string;
|
|
82
|
+
columnPicker: string;
|
|
83
|
+
viewToolbar: string;
|
|
84
|
+
viewFooter: string;
|
|
85
|
+
viewGroupPanel: string;
|
|
86
|
+
resetFilterAndSort: string;
|
|
87
|
+
defaultView: string;
|
|
88
|
+
filterPopup: string;
|
|
89
|
+
resetFilter: string;
|
|
90
|
+
addFilter: string;
|
|
91
|
+
sortingPopup: string;
|
|
92
|
+
ascending: string;
|
|
93
|
+
descending: string;
|
|
94
|
+
resetSort: string;
|
|
95
|
+
addSort: string;
|
|
96
|
+
symbolEqual: string;
|
|
97
|
+
symbolNotEqual: string;
|
|
98
|
+
symbolContains: string;
|
|
99
|
+
symbolNotContains: string;
|
|
100
|
+
symbolLessThan: string;
|
|
101
|
+
symbolGreaterThan: string;
|
|
102
|
+
symbolLessOrEqual: string;
|
|
103
|
+
symbolGreaterOrEqual: string;
|
|
104
|
+
symbolEmpty: string;
|
|
105
|
+
symbolNotEmpty: string;
|
|
106
|
+
customCellRuleNamePlaceholder: string;
|
|
107
|
+
addFormulaCondition: string;
|
|
108
|
+
applicationColumn: string;
|
|
109
|
+
backgroundColor: string;
|
|
110
|
+
fontColor: string;
|
|
111
|
+
resetCustomCell: string;
|
|
112
|
+
addFormulaConditionSet: string;
|
|
113
|
+
customColor: string;
|
|
114
|
+
formulaConditionSet: string;
|
|
115
|
+
contextFilterAndSort: string;
|
|
116
|
+
contextAddFilter: string;
|
|
117
|
+
contextSelectFilter: string;
|
|
118
|
+
contextResetColumnFilter: string;
|
|
119
|
+
contextResetColumnSort: string;
|
|
120
|
+
contextResetColumnAll: string;
|
|
121
|
+
contextDataCopy: string;
|
|
122
|
+
contextDataExcelCopy: string;
|
|
123
|
+
contextDataWithHeaderCopy: string;
|
|
124
|
+
contextPin: string;
|
|
125
|
+
contextColumnPicker: string;
|
|
126
|
+
contextMoveColumnFirst: string;
|
|
127
|
+
contextAutoSizeColumns: string;
|
|
128
|
+
contextGroupPanel: string;
|
|
129
|
+
contextGroupToggle: string;
|
|
130
|
+
contextGroupCollapseAll: string;
|
|
131
|
+
contextGroupExpandAll: string;
|
|
132
|
+
groupPanelPlaceholder: string;
|
|
133
|
+
contextBulkEdit: string;
|
|
134
|
+
contextImport: string;
|
|
135
|
+
contextImportExcel: string;
|
|
136
|
+
contextImportExcelAppend: string;
|
|
137
|
+
contextExport: string;
|
|
138
|
+
contextExportXlsx: string;
|
|
139
|
+
contextExportCsv: string;
|
|
140
|
+
contextSum: string;
|
|
141
|
+
check: string;
|
|
142
|
+
cancel: string;
|
|
143
|
+
save: string;
|
|
144
|
+
remove: string;
|
|
145
|
+
close: string;
|
|
146
|
+
pause: string;
|
|
147
|
+
add: string;
|
|
148
|
+
immediateApply: string;
|
|
149
|
+
warning: string;
|
|
150
|
+
mozWarning: string;
|
|
151
|
+
confirmCancel: string;
|
|
152
|
+
alreadyExcelProgress: string;
|
|
153
|
+
downloadFail: string;
|
|
154
|
+
addDataWithFilterSort: string;
|
|
155
|
+
resetAndAdd: string;
|
|
156
|
+
confirmDeleteGeneral: string;
|
|
157
|
+
toastCopySuccess: string;
|
|
158
|
+
toastSaveSuccess: string;
|
|
159
|
+
toastSaveError: string;
|
|
160
|
+
toastResetSuccess: string;
|
|
161
|
+
toastRequiredVal: string;
|
|
162
|
+
excelInvalidExcel: string;
|
|
163
|
+
excelInvalidUpload: string;
|
|
164
|
+
downloadFormat: string;
|
|
165
|
+
click: string;
|
|
166
|
+
drag: string;
|
|
167
|
+
overwriteSelected: string;
|
|
168
|
+
fileOverwrite: string;
|
|
169
|
+
dropHere: string;
|
|
170
|
+
dropHerePrefix: string;
|
|
171
|
+
dropHereMiddle: string;
|
|
172
|
+
dropHereSuffix: string;
|
|
173
|
+
withFormatting: string;
|
|
174
|
+
requestTimedOut: string;
|
|
175
|
+
serverError: string;
|
|
176
|
+
total: string;
|
|
177
|
+
correct: string;
|
|
178
|
+
error: string;
|
|
179
|
+
success: string;
|
|
180
|
+
fail: string;
|
|
181
|
+
excelExportConfirmLargeData: string;
|
|
182
|
+
footerTotalRowCount: string;
|
|
183
|
+
footerFilteredRowCount: string;
|
|
184
|
+
aggregateAverage: string;
|
|
185
|
+
aggregateCount: string;
|
|
186
|
+
aggregateMin: string;
|
|
187
|
+
aggregateMax: string;
|
|
188
|
+
aggregateSum: string;
|
|
189
|
+
settings: string;
|
|
190
|
+
collapseToolbar: string;
|
|
191
|
+
expandToolbar: string;
|
|
192
|
+
searchPrev: string;
|
|
193
|
+
searchNext: string;
|
|
194
|
+
searchGoTo: string;
|
|
195
|
+
searching: string;
|
|
196
|
+
deleteCondition: string;
|
|
197
|
+
deleteSort: string;
|
|
198
|
+
selectPlaceholder: string;
|
|
199
|
+
byValueLabel: string;
|
|
200
|
+
decrease: string;
|
|
201
|
+
increase: string;
|
|
202
|
+
selectColor: string;
|
|
203
|
+
noColor: string;
|
|
204
|
+
customColorInput: string;
|
|
205
|
+
alignLeft: string;
|
|
206
|
+
alignCenter: string;
|
|
207
|
+
alignRight: string;
|
|
208
|
+
alignLabel: string;
|
|
209
|
+
fontStyleLabel: string;
|
|
210
|
+
bold: string;
|
|
211
|
+
italic: string;
|
|
212
|
+
underline: string;
|
|
213
|
+
columnOptions: string;
|
|
214
|
+
showAllColumns: string;
|
|
215
|
+
commonSection: string;
|
|
216
|
+
headerLabelField: string;
|
|
217
|
+
pinColumn: string;
|
|
218
|
+
pinLeft: string;
|
|
219
|
+
pinNone: string;
|
|
220
|
+
pinRight: string;
|
|
221
|
+
columnWidthPx: string;
|
|
222
|
+
headerSection: string;
|
|
223
|
+
cellSection: string;
|
|
224
|
+
fontLabel: string;
|
|
225
|
+
sizeLabel: string;
|
|
226
|
+
displayMask: string;
|
|
227
|
+
resetThisColumn: string;
|
|
228
|
+
selectColumnHint: string;
|
|
229
|
+
showColumnNamed: string;
|
|
230
|
+
columnTextColor: string;
|
|
231
|
+
cellStyleTitle: string;
|
|
232
|
+
formulaHelp: string;
|
|
233
|
+
validFormula: string;
|
|
234
|
+
formulaHint: string;
|
|
235
|
+
ruleName: string;
|
|
236
|
+
targetColumns: string;
|
|
237
|
+
allColumns: string;
|
|
238
|
+
colorLabel: string;
|
|
239
|
+
cellBgColor: string;
|
|
240
|
+
cellTextColor: string;
|
|
241
|
+
moveUp: string;
|
|
242
|
+
moveDown: string;
|
|
243
|
+
formulaPlaceholder: string;
|
|
244
|
+
helpColumnRef: string;
|
|
245
|
+
helpCompare: string;
|
|
246
|
+
helpArithmetic: string;
|
|
247
|
+
helpLogic: string;
|
|
248
|
+
helpString: string;
|
|
249
|
+
helpNull: string;
|
|
250
|
+
helpValue: string;
|
|
251
|
+
groupColon: string;
|
|
252
|
+
groupEmptyHint: string;
|
|
253
|
+
addGroupBtn: string;
|
|
254
|
+
ungroup: string;
|
|
255
|
+
removeGroup: string;
|
|
256
|
+
excelImportTitle: string;
|
|
257
|
+
processing: string;
|
|
258
|
+
excelPreview: string;
|
|
259
|
+
clientImportFile: string;
|
|
260
|
+
clientExportXlsx: string;
|
|
261
|
+
groupExpand: string;
|
|
262
|
+
groupCollapse: string;
|
|
263
|
+
fontSizeDefault: string;
|
|
264
|
+
maskGroupNone: string;
|
|
265
|
+
maskGroupNumber: string;
|
|
266
|
+
maskGroupDate: string;
|
|
267
|
+
maskGroupString: string;
|
|
268
|
+
maskNoneText: string;
|
|
269
|
+
maskNoneDesc: string;
|
|
270
|
+
maskThousandsText: string;
|
|
271
|
+
maskThousandsDesc: string;
|
|
272
|
+
maskDecimal2Text: string;
|
|
273
|
+
maskDecimal2Desc: string;
|
|
274
|
+
maskKrwText: string;
|
|
275
|
+
maskKrwDesc: string;
|
|
276
|
+
maskUsdText: string;
|
|
277
|
+
maskUsdDesc: string;
|
|
278
|
+
maskPercentText: string;
|
|
279
|
+
maskPercentDesc: string;
|
|
280
|
+
maskDateIsoDesc: string;
|
|
281
|
+
maskDateKoDesc: string;
|
|
282
|
+
maskDatetimeDesc: string;
|
|
283
|
+
maskDateUsDesc: string;
|
|
284
|
+
maskPhoneText: string;
|
|
285
|
+
maskPhoneDesc: string;
|
|
286
|
+
maskRrnText: string;
|
|
287
|
+
maskRrnDesc: string;
|
|
288
|
+
maskBizText: string;
|
|
289
|
+
maskBizDesc: string;
|
|
290
|
+
};
|
|
291
|
+
GridPivot: {
|
|
292
|
+
setting: string;
|
|
293
|
+
gridSetting: string;
|
|
294
|
+
fieldSetting: string;
|
|
295
|
+
showRowTotals: string;
|
|
296
|
+
showColumnTotals: string;
|
|
297
|
+
subtotalCriteria: string;
|
|
298
|
+
subtotalAggregateField: string;
|
|
299
|
+
totalsBeforeData: string;
|
|
300
|
+
showZeros: string;
|
|
301
|
+
showOutlineMode: string;
|
|
302
|
+
collapsibleSubtotal: string;
|
|
303
|
+
fieldName: string;
|
|
304
|
+
fieldAggregate: string;
|
|
305
|
+
fieldShowAs: string;
|
|
306
|
+
fieldFormat: string;
|
|
307
|
+
openChart: string;
|
|
308
|
+
selectValueField: string;
|
|
309
|
+
none: string;
|
|
310
|
+
sum: string;
|
|
311
|
+
count: string;
|
|
312
|
+
average: string;
|
|
313
|
+
max: string;
|
|
314
|
+
min: string;
|
|
315
|
+
range: string;
|
|
316
|
+
std: string;
|
|
317
|
+
var: string;
|
|
318
|
+
stdPop: string;
|
|
319
|
+
varPop: string;
|
|
320
|
+
cntAll: string;
|
|
321
|
+
cntNumbers: string;
|
|
322
|
+
showFirstValue: string;
|
|
323
|
+
showLastValue: string;
|
|
324
|
+
noCalculation: string;
|
|
325
|
+
diffRow: string;
|
|
326
|
+
diffRowPct: string;
|
|
327
|
+
diffCol: string;
|
|
328
|
+
diffColPct: string;
|
|
329
|
+
grandtotalPct: string;
|
|
330
|
+
rowTotalPct: string;
|
|
331
|
+
colTotalPct: string;
|
|
332
|
+
prevRowPct: string;
|
|
333
|
+
prevColPct: string;
|
|
334
|
+
runTot: string;
|
|
335
|
+
runTotPct: string;
|
|
336
|
+
generalFormat: string;
|
|
337
|
+
int: string;
|
|
338
|
+
float: string;
|
|
339
|
+
currency: string;
|
|
340
|
+
percentage: string;
|
|
341
|
+
percentageDot2: string;
|
|
342
|
+
thousands: string;
|
|
343
|
+
millions: string;
|
|
344
|
+
billions: string;
|
|
345
|
+
subtotal: string;
|
|
346
|
+
grandtotal: string;
|
|
347
|
+
grandtotalValue: string;
|
|
348
|
+
category: string;
|
|
349
|
+
chartType: string;
|
|
350
|
+
chartXAxis: string;
|
|
351
|
+
chartYAxis: string;
|
|
352
|
+
categoryName: string;
|
|
353
|
+
barChart: string;
|
|
354
|
+
lineChart: string;
|
|
355
|
+
lineSymbolChart: string;
|
|
356
|
+
areaChart: string;
|
|
357
|
+
chartRenderingErrorHeader: string;
|
|
358
|
+
chartRenderingErrorContent: string;
|
|
359
|
+
contextPivotExportXlsx: string;
|
|
360
|
+
contextPivotExportOriginXlsx: string;
|
|
361
|
+
contextPivotExportOriginCsv: string;
|
|
362
|
+
row: string;
|
|
363
|
+
column: string;
|
|
364
|
+
value: string;
|
|
365
|
+
filter: string;
|
|
366
|
+
searchFieldPlaceholder: string;
|
|
367
|
+
dropZoneRowPlaceholder: string;
|
|
368
|
+
dropZoneColumnPlaceholder: string;
|
|
369
|
+
dropZoneValuePlaceholder: string;
|
|
370
|
+
dropZoneFilterPlaceholder: string;
|
|
371
|
+
update: string;
|
|
372
|
+
selectFieldForReport: string;
|
|
373
|
+
dragFieldsBetweenAreas: string;
|
|
374
|
+
valueSummaryCriteria: string;
|
|
375
|
+
roundRound: string;
|
|
376
|
+
roundFloor: string;
|
|
377
|
+
roundCeil: string;
|
|
378
|
+
roundTrunc: string;
|
|
379
|
+
roundingMode: string;
|
|
380
|
+
decimalPlaces: string;
|
|
381
|
+
decimalUnlimited: string;
|
|
382
|
+
showOriginalValue: string;
|
|
383
|
+
back: string;
|
|
384
|
+
parentRowPct: string;
|
|
385
|
+
parentColPct: string;
|
|
386
|
+
rankAsc: string;
|
|
387
|
+
rankDesc: string;
|
|
388
|
+
index: string;
|
|
389
|
+
showTotalsGrand: string;
|
|
390
|
+
showTotalsSub: string;
|
|
391
|
+
fieldPanelSetting: string;
|
|
392
|
+
colSubtotalCriteria: string;
|
|
393
|
+
allowRowToggle: string;
|
|
394
|
+
allowColToggle: string;
|
|
395
|
+
outlineMode: string;
|
|
396
|
+
};
|
|
397
|
+
Gantt: {
|
|
398
|
+
searchPlaceholder: string;
|
|
399
|
+
columnSize: string;
|
|
400
|
+
rowSize: string;
|
|
401
|
+
};
|
|
402
|
+
Chart: {
|
|
403
|
+
filterPopup: string;
|
|
404
|
+
resetFilter: string;
|
|
405
|
+
addFilter: string;
|
|
406
|
+
symbolEqual: string;
|
|
407
|
+
symbolNotEqual: string;
|
|
408
|
+
symbolContains: string;
|
|
409
|
+
symbolNotContains: string;
|
|
410
|
+
symbolLessThan: string;
|
|
411
|
+
symbolGreaterThan: string;
|
|
412
|
+
symbolLessOrEqual: string;
|
|
413
|
+
symbolGreaterOrEqual: string;
|
|
414
|
+
symbolEmpty: string;
|
|
415
|
+
symbolNotEmpty: string;
|
|
416
|
+
chartSetting: string;
|
|
417
|
+
chartCategory: string;
|
|
418
|
+
chartType: string;
|
|
419
|
+
chartUseZoom: string;
|
|
420
|
+
multiYAxisSetting: string;
|
|
421
|
+
notUsed: string;
|
|
422
|
+
chartPopup: string;
|
|
423
|
+
errorMessage: string;
|
|
424
|
+
valueFieldSetting: string;
|
|
425
|
+
valueSummaryCriteria: string;
|
|
426
|
+
selectFieldForReport: string;
|
|
427
|
+
column: string;
|
|
428
|
+
row: string;
|
|
429
|
+
value: string;
|
|
430
|
+
sumValue: string;
|
|
431
|
+
count: string;
|
|
432
|
+
sum: string;
|
|
433
|
+
average: string;
|
|
434
|
+
min: string;
|
|
435
|
+
max: string;
|
|
436
|
+
seriesCategory: string;
|
|
437
|
+
pieCategory: string;
|
|
438
|
+
scatterCategory: string;
|
|
439
|
+
treemapCategory: string;
|
|
440
|
+
boxplotCategory: string;
|
|
441
|
+
candlestickCategory: string;
|
|
442
|
+
barChart: string;
|
|
443
|
+
stackBarChart: string;
|
|
444
|
+
horizontalStackBarChart: string;
|
|
445
|
+
lineChart: string;
|
|
446
|
+
lineSymbolChart: string;
|
|
447
|
+
areaChart: string;
|
|
448
|
+
general: string;
|
|
449
|
+
custom: string;
|
|
450
|
+
axisCategoryLabel: string;
|
|
451
|
+
legendSeriesLabel: string;
|
|
452
|
+
legendSingleLabel: string;
|
|
453
|
+
legendMultiLabel: string;
|
|
454
|
+
valueSingleLabel: string;
|
|
455
|
+
xAxisSingleLabel: string;
|
|
456
|
+
yAxisMultiLabel: string;
|
|
457
|
+
notSet: string;
|
|
458
|
+
legendLimitExceededTitle: string;
|
|
459
|
+
legendLimitExceededContent: string;
|
|
460
|
+
};
|
|
461
|
+
NumberInput: {
|
|
462
|
+
increase: string;
|
|
463
|
+
decrease: string;
|
|
464
|
+
};
|
|
465
|
+
DateInput: {
|
|
466
|
+
prevDate: string;
|
|
467
|
+
nextDate: string;
|
|
468
|
+
};
|
|
469
|
+
PasswordInput: {
|
|
470
|
+
showPassword: string;
|
|
471
|
+
hidePassword: string;
|
|
472
|
+
};
|
|
473
|
+
Tab: {
|
|
474
|
+
closeTab: string;
|
|
475
|
+
};
|
|
476
|
+
SplitPane: {
|
|
477
|
+
resizeHandle: string;
|
|
478
|
+
};
|
|
479
|
+
BreadCrumb: {
|
|
480
|
+
navigation: string;
|
|
481
|
+
};
|
|
482
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DismissStack — 떠 있는 레이어의 **닫힘 우선순위** 를 한 곳에서 관리한다.
|
|
3
|
+
*
|
|
4
|
+
* 왜 필요한가: ESC 는 "가장 위에 있는 레이어 하나" 만 닫아야 한다. 레이어가 한 라이브러리
|
|
5
|
+
* 안에만 있으면 각자 판단해도 되지만, 소비 앱은 moz 오버레이와 **다른 라이브러리의 오버레이**
|
|
6
|
+
* (예: Radix Dialog)를 섞어 쓴다. 그쪽은 자기 스택에서만 최상위를 따지므로, 서로의 존재를
|
|
7
|
+
* 모르는 채 둘 다 닫히거나 엉뚱한 쪽이 닫힌다.
|
|
8
|
+
*
|
|
9
|
+
* 해법은 두 가지다.
|
|
10
|
+
* 1. **`window` capture 로 선점** — 캡처 경로는 window → document → … 이므로, `document` 에
|
|
11
|
+
* capture 로 거는 구현(Radix 가 그렇다)보다 이 리스너가 먼저 실행된다. 우리가 최상위면
|
|
12
|
+
* 처리하고 `stopPropagation()` 해서 바깥 구현이 보지 못하게 한다.
|
|
13
|
+
* 2. **외부 레이어 등록 창구**(`registerForeignLayer`) — 우리 위에 다른 라이브러리 레이어가
|
|
14
|
+
* 열렸다는 사실을 소비 앱이 알려준다. 그러면 우리는 ESC 를 처리하지도, 막지도 않고
|
|
15
|
+
* 그대로 흘려보낸다. 이 한 쌍이 양방향 중첩을 닫는다.
|
|
16
|
+
* 3. **자기 element 에서 ESC 를 처리하는 moz 오버레이**(`registerSelfHandledLayer`) — 드롭다운
|
|
17
|
+
* 리스트박스(Select·MultiSelect·TreeSelect·TableSelect)가 그렇다. 이들은 트리거/리스트
|
|
18
|
+
* element 의 keydown 으로 닫히므로 스택이 대신 닫아 줄 필요가 없고, 오히려 여기서
|
|
19
|
+
* `stopPropagation()` 하면 그 element 핸들러까지 막혀 닫히지 않는다. 그래서 "내가 최상위다,
|
|
20
|
+
* 하지만 처리는 내가 한다" 만 알리고 스택은 손대지 않는다 — 위에 있는 Popup 이 대신
|
|
21
|
+
* 닫혀 버리는 것을 막는 것이 이 레이어의 유일한 목적이다.
|
|
22
|
+
*
|
|
23
|
+
* 스택 순서는 **등록 순서** 다(나중에 열린 것이 위). 닫힐 때 `release()` 로 빠진다.
|
|
24
|
+
*/
|
|
25
|
+
export type DismissLayerKind = 'moz' | 'foreign' | 'self';
|
|
26
|
+
export interface DismissLayerHandle {
|
|
27
|
+
/** 스택에서 제거 (닫힐 때 반드시 호출) */
|
|
28
|
+
release(): void;
|
|
29
|
+
/** 현재 이 레이어가 스택 최상위인지 (바깥 클릭 처리 등에 쓴다) */
|
|
30
|
+
isTopmost(): boolean;
|
|
31
|
+
}
|
|
32
|
+
/** moz 오버레이가 열릴 때 등록한다. `onEscape` 는 이 레이어가 최상위일 때만 호출된다. */
|
|
33
|
+
export declare function registerDismissLayer(onEscape: (event: KeyboardEvent) => void): DismissLayerHandle;
|
|
34
|
+
/**
|
|
35
|
+
* moz 가 아닌 오버레이(다른 라이브러리의 모달·다이얼로그)가 열릴 때 소비 앱이 등록한다.
|
|
36
|
+
* 이 레이어가 최상위인 동안 moz 오버레이는 ESC 를 처리하지도 막지도 않으므로, 그쪽 구현이
|
|
37
|
+
* 평소대로 자기 레이어를 닫는다.
|
|
38
|
+
*/
|
|
39
|
+
export declare function registerForeignLayer(): DismissLayerHandle;
|
|
40
|
+
/**
|
|
41
|
+
* ESC 를 **자기 element 핸들러로 직접 처리하는** moz 오버레이가 열릴 때 등록한다.
|
|
42
|
+
*
|
|
43
|
+
* 스택은 이 레이어를 최상위로 인식해 아래 레이어(예: 이 드롭다운을 품은 Popup)가 대신 닫히는
|
|
44
|
+
* 것을 막지만, ESC 자체에는 손대지 않는다. `registerDismissLayer` 를 쓰면 capture 단계의
|
|
45
|
+
* `stopPropagation()` 이 정작 그 element 핸들러를 막아 버리므로 이쪽을 써야 한다.
|
|
46
|
+
*/
|
|
47
|
+
export declare function registerSelfHandledLayer(): DismissLayerHandle;
|
|
48
|
+
/** 현재 스택 깊이 (테스트·진단용) */
|
|
49
|
+
export declare function dismissLayerCount(): number;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Overlay — 드롭다운 위치 계산 + 스크롤/외부클릭 처리 (프레임워크 무관).
|
|
3
|
+
* moz-ui-components/src/shared/composables/useDropdownPosition.ts 를 클래스로 1:1 포팅.
|
|
4
|
+
*
|
|
5
|
+
* anchor(기준 요소)와 panel(드롭다운 요소)을 getter 로 받아, open() 시 position:fixed 로 panel 을
|
|
6
|
+
* 배치하고 scroll(capture)/click-outside 리스너를 건다. 화면 이탈·외부 클릭 시 requestClose() 호출.
|
|
7
|
+
* Select/DateInput/Popup 등 오버레이 티어 공용 기반.
|
|
8
|
+
*/
|
|
9
|
+
export interface OverlayOptions {
|
|
10
|
+
anchor: () => HTMLElement | null | undefined;
|
|
11
|
+
panel: () => HTMLElement | null | undefined;
|
|
12
|
+
/** 드롭다운 최대 높이 (위/아래 열림 판단, 기본 250) */
|
|
13
|
+
maxHeight?: () => number;
|
|
14
|
+
/** 특정 스크롤 타겟 무시 (예: Calendar 내부 스크롤) */
|
|
15
|
+
ignoreScrollTargets?: (target: HTMLElement) => boolean;
|
|
16
|
+
/** 외부 클릭 시 닫기 (기본 true) */
|
|
17
|
+
closeOnOutsideClick?: boolean;
|
|
18
|
+
/** 외부 클릭 감지용 컨테이너 (내부 클릭 무시) */
|
|
19
|
+
container?: () => HTMLElement | null | undefined;
|
|
20
|
+
/** 닫아야 할 때 호출 (외부 클릭 / 화면 이탈) */
|
|
21
|
+
requestClose: () => void;
|
|
22
|
+
/** width 대신 minWidth 사용 (기본 false) */
|
|
23
|
+
useMinWidth?: boolean;
|
|
24
|
+
/** 드롭다운 너비 (선택) */
|
|
25
|
+
listWidth?: () => string | number | undefined;
|
|
26
|
+
}
|
|
27
|
+
export declare class Overlay {
|
|
28
|
+
private opts;
|
|
29
|
+
private opened;
|
|
30
|
+
private scrollHandler;
|
|
31
|
+
private clickHandler;
|
|
32
|
+
constructor(opts: OverlayOptions);
|
|
33
|
+
open(): void;
|
|
34
|
+
close(): void;
|
|
35
|
+
destroy(): void;
|
|
36
|
+
calcPosition(): void;
|
|
37
|
+
private onScroll;
|
|
38
|
+
private onOutsideClick;
|
|
39
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PortalHost — Vue teleport / body-append 대체 (프레임워크 무관).
|
|
3
|
+
* open() 시 body 에 컨테이너를 만들어 반환, close() 시 제거. Popup/Select/DateInput 등 공용.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PortalHost {
|
|
6
|
+
private el;
|
|
7
|
+
open(className?: string, parent?: Element): HTMLElement;
|
|
8
|
+
close(): void;
|
|
9
|
+
get element(): HTMLElement | null;
|
|
10
|
+
get isOpen(): boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Overlay } from './Overlay';
|
|
2
|
+
export type { OverlayOptions } from './Overlay';
|
|
3
|
+
export { PortalHost } from './PortalHost';
|
|
4
|
+
export { registerDismissLayer, registerForeignLayer, registerSelfHandledLayer, dismissLayerCount, } from './DismissStack';
|
|
5
|
+
export type { DismissLayerHandle, DismissLayerKind } from './DismissStack';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 앵커 오버레이 배치 계산 — DOM 을 읽지 않는 순수 함수.
|
|
3
|
+
*
|
|
4
|
+
* 렌더 코드에서 분리한 이유는 두 가지다. ① jsdom 에는 레이아웃이 없어 실제 렌더로는
|
|
5
|
+
* 배치를 검증할 수 없다 — rect 를 인자로 받으면 flip/shift 를 그대로 단언할 수 있다.
|
|
6
|
+
* ② Vue·React 어느 래퍼가 붙어도, Tooltip 이든 Popover 든 기하학은 하나여야 한다.
|
|
7
|
+
*
|
|
8
|
+
* 좌표계는 뷰포트 기준(`position: fixed`)이다. 조상의 `transform` 이 만드는
|
|
9
|
+
* fixed-containing-block 을 벗어나기 위해 패널은 body 포털에 그려지므로,
|
|
10
|
+
* `getBoundingClientRect()` 값을 그대로 쓸 수 있다.
|
|
11
|
+
*
|
|
12
|
+
* (ITSM-2026-002303 에서 `components/tooltip/placement.ts` 로 만들었고, 002308 에서 Popover 가
|
|
13
|
+
* 같은 기하학을 쓰게 되면서 여기로 옮겼다. 툴팁 쪽 이름은 호환을 위해 그대로 재수출한다.)
|
|
14
|
+
*/
|
|
15
|
+
export type OverlaySide = 'top' | 'right' | 'bottom' | 'left';
|
|
16
|
+
export type OverlayAlign = 'start' | 'center' | 'end';
|
|
17
|
+
/** @deprecated 이름만 유지 — `OverlaySide` 와 같다 */
|
|
18
|
+
export type TooltipSide = OverlaySide;
|
|
19
|
+
/** @deprecated 이름만 유지 — `OverlayAlign` 과 같다 */
|
|
20
|
+
export type TooltipAlign = OverlayAlign;
|
|
21
|
+
export interface OverlayRect {
|
|
22
|
+
top: number;
|
|
23
|
+
left: number;
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
}
|
|
27
|
+
export interface OverlaySize {
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
}
|
|
31
|
+
export type TooltipRect = OverlayRect;
|
|
32
|
+
export type TooltipSize = OverlaySize;
|
|
33
|
+
export interface OverlayPlacementOptions {
|
|
34
|
+
side: OverlaySide;
|
|
35
|
+
align: OverlayAlign;
|
|
36
|
+
/** 앵커와 패널 사이 간격(px) */
|
|
37
|
+
sideOffset: number;
|
|
38
|
+
/** 뷰포트 가장자리에서 유지할 최소 여백(px) */
|
|
39
|
+
collisionPadding: number;
|
|
40
|
+
/**
|
|
41
|
+
* 화살표 한 변의 절반(px) — 화살표가 패널 모서리를 넘지 않도록 클램프에 쓴다.
|
|
42
|
+
* 화살표가 없는 오버레이(Popover)는 생략한다(0).
|
|
43
|
+
*/
|
|
44
|
+
arrowSize?: number;
|
|
45
|
+
}
|
|
46
|
+
export type TooltipPlacementOptions = OverlayPlacementOptions;
|
|
47
|
+
export interface OverlayPlacement {
|
|
48
|
+
/** flip 이 적용된 **실제** 방향. `data-side` 로 방출된다 */
|
|
49
|
+
side: OverlaySide;
|
|
50
|
+
/** 뷰포트 기준 left */
|
|
51
|
+
x: number;
|
|
52
|
+
/** 뷰포트 기준 top */
|
|
53
|
+
y: number;
|
|
54
|
+
/**
|
|
55
|
+
* 패널의 시작 모서리(수평 방향이면 left, 수직 방향이면 top)에서 잰 화살표 중심 오프셋(px).
|
|
56
|
+
* shift 로 패널이 밀려도 화살표는 앵커 중심을 계속 가리킨다.
|
|
57
|
+
*/
|
|
58
|
+
arrowOffset: number;
|
|
59
|
+
/**
|
|
60
|
+
* 배치 방향 기준으로 패널이 쓸 수 있는 세로 공간(px). 목록형 패널이 `max-height` 를
|
|
61
|
+
* 여기에 맞춰 스스로 스크롤되게 하려고 노출한다(Radix 의 `--radix-*-content-available-height`
|
|
62
|
+
* 와 같은 의미). 위/아래 배치면 앵커와 뷰포트 경계 사이, 좌/우 배치면 뷰포트 높이에서
|
|
63
|
+
* 여백을 뺀 값이다.
|
|
64
|
+
*/
|
|
65
|
+
availableHeight: number;
|
|
66
|
+
}
|
|
67
|
+
export type TooltipPlacement = OverlayPlacement;
|
|
68
|
+
/**
|
|
69
|
+
* 선호 방향에 자리가 없으면 반대편으로 뒤집고(flip), 교차축은 뷰포트 안으로 밀어 넣는다(shift).
|
|
70
|
+
* 양쪽 모두 자리가 없으면 선호 방향을 유지한다 — 뒤집어도 나아지지 않기 때문이다.
|
|
71
|
+
*/
|
|
72
|
+
export declare function computeOverlayPlacement(anchor: OverlayRect, panel: OverlaySize, viewport: OverlaySize, opts: OverlayPlacementOptions): OverlayPlacement;
|
|
73
|
+
/** 툴팁이 쓰던 이름 — 같은 함수다(호환 유지) */
|
|
74
|
+
export declare const computeTooltipPlacement: typeof computeOverlayPlacement;
|