@krds.ui/vue 0.0.13 → 0.0.15
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/README.md +116 -88
- package/dist/components/KrdsAccordionGroup/KrdsAccordionGroup.d.ts +7 -0
- package/dist/components/KrdsAccordionGroup/KrdsAccordionGroup.d.ts.map +1 -0
- package/dist/components/KrdsAccordionGroup/index.d.ts +5 -0
- package/dist/components/KrdsAccordionGroup/index.d.ts.map +1 -0
- package/dist/components/KrdsAccordionItem/KrdsAccordionItem.d.ts +22 -0
- package/dist/components/KrdsAccordionItem/KrdsAccordionItem.d.ts.map +1 -0
- package/dist/components/KrdsAccordionItem/index.d.ts +5 -0
- package/dist/components/KrdsAccordionItem/index.d.ts.map +1 -0
- package/dist/components/KrdsBadge/KrdsBadge.d.ts +24 -0
- package/dist/components/KrdsBadge/KrdsBadge.d.ts.map +1 -0
- package/dist/components/KrdsBadge/index.d.ts +5 -0
- package/dist/components/KrdsBadge/index.d.ts.map +1 -0
- package/dist/components/KrdsBreadcrumb/KrdsBreadcrumb.d.ts +33 -0
- package/dist/components/KrdsBreadcrumb/KrdsBreadcrumb.d.ts.map +1 -0
- package/dist/components/KrdsBreadcrumb/index.d.ts +5 -0
- package/dist/components/KrdsBreadcrumb/index.d.ts.map +1 -0
- package/dist/components/KrdsButton/KrdsButton.d.ts +31 -0
- package/dist/components/KrdsButton/KrdsButton.d.ts.map +1 -0
- package/dist/components/KrdsButton/index.d.ts +5 -0
- package/dist/components/KrdsButton/index.d.ts.map +1 -0
- package/dist/components/KrdsButtonGroup/KrdsButtonGroup.d.ts +8 -0
- package/dist/components/KrdsButtonGroup/KrdsButtonGroup.d.ts.map +1 -0
- package/dist/components/KrdsButtonGroup/index.d.ts +3 -0
- package/dist/components/KrdsButtonGroup/index.d.ts.map +1 -0
- package/dist/components/KrdsCheckArea/KrdsCheckArea.d.ts +12 -0
- package/dist/components/KrdsCheckArea/KrdsCheckArea.d.ts.map +1 -0
- package/dist/components/KrdsCheckArea/index.d.ts +5 -0
- package/dist/components/KrdsCheckArea/index.d.ts.map +1 -0
- package/dist/components/KrdsCheckbox/KrdsCheckbox.d.ts +23 -0
- package/dist/components/KrdsCheckbox/KrdsCheckbox.d.ts.map +1 -0
- package/dist/components/KrdsCheckbox/index.d.ts +5 -0
- package/dist/components/KrdsCheckbox/index.d.ts.map +1 -0
- package/dist/components/KrdsCoachMark/KrdsCoachMark.d.ts +29 -0
- package/dist/components/KrdsCoachMark/KrdsCoachMark.d.ts.map +1 -0
- package/dist/components/KrdsCoachMark/index.d.ts +5 -0
- package/dist/components/KrdsCoachMark/index.d.ts.map +1 -0
- package/dist/components/KrdsContextualHelp/KrdsContextualHelp.d.ts +15 -0
- package/dist/components/KrdsContextualHelp/KrdsContextualHelp.d.ts.map +1 -0
- package/dist/components/KrdsContextualHelp/index.d.ts +5 -0
- package/dist/components/KrdsContextualHelp/index.d.ts.map +1 -0
- package/dist/components/KrdsCriticalAlerts/KrdsCriticalAlerts.d.ts +27 -0
- package/dist/components/KrdsCriticalAlerts/KrdsCriticalAlerts.d.ts.map +1 -0
- package/dist/components/KrdsCriticalAlerts/index.d.ts +5 -0
- package/dist/components/KrdsCriticalAlerts/index.d.ts.map +1 -0
- package/dist/components/KrdsDateInput/KrdsDateInput.d.ts +39 -0
- package/dist/components/KrdsDateInput/KrdsDateInput.d.ts.map +1 -0
- package/dist/components/KrdsDateInput/index.d.ts +5 -0
- package/dist/components/KrdsDateInput/index.d.ts.map +1 -0
- package/dist/components/KrdsDisclosure/KrdsDisclosure.d.ts +19 -0
- package/dist/components/KrdsDisclosure/KrdsDisclosure.d.ts.map +1 -0
- package/dist/components/KrdsDisclosure/index.d.ts +5 -0
- package/dist/components/KrdsDisclosure/index.d.ts.map +1 -0
- package/dist/components/KrdsFileUpload/KrdsFileUpload.d.ts +285 -0
- package/dist/components/KrdsFileUpload/KrdsFileUpload.d.ts.map +1 -0
- package/dist/components/KrdsFileUpload/index.d.ts +5 -0
- package/dist/components/KrdsFileUpload/index.d.ts.map +1 -0
- package/dist/components/KrdsFooter/KrdsFooter.d.ts +11 -0
- package/dist/components/KrdsFooter/KrdsFooter.d.ts.map +1 -0
- package/dist/components/KrdsFooter/index.d.ts +5 -0
- package/dist/components/KrdsFooter/index.d.ts.map +1 -0
- package/dist/components/KrdsFormGroup/KrdsFormGroup.d.ts +8 -0
- package/dist/components/KrdsFormGroup/KrdsFormGroup.d.ts.map +1 -0
- package/dist/components/KrdsFormGroup/index.d.ts +5 -0
- package/dist/components/KrdsFormGroup/index.d.ts.map +1 -0
- package/dist/components/KrdsFormHint/KrdsFormHint.d.ts +17 -0
- package/dist/components/KrdsFormHint/KrdsFormHint.d.ts.map +1 -0
- package/dist/components/KrdsFormHint/index.d.ts +5 -0
- package/dist/components/KrdsFormHint/index.d.ts.map +1 -0
- package/dist/components/KrdsFormLabel/KrdsFormLabel.d.ts +17 -0
- package/dist/components/KrdsFormLabel/KrdsFormLabel.d.ts.map +1 -0
- package/dist/components/KrdsFormLabel/index.d.ts +5 -0
- package/dist/components/KrdsFormLabel/index.d.ts.map +1 -0
- package/dist/components/KrdsHeader/KrdsHeader.d.ts +56 -0
- package/dist/components/KrdsHeader/KrdsHeader.d.ts.map +1 -0
- package/dist/components/KrdsHeader/index.d.ts +5 -0
- package/dist/components/KrdsHeader/index.d.ts.map +1 -0
- package/dist/components/KrdsIcon/KrdsIcon.d.ts +11 -0
- package/dist/components/KrdsIcon/KrdsIcon.d.ts.map +1 -0
- package/dist/components/KrdsIcon/index.d.ts +3 -0
- package/dist/components/KrdsIcon/index.d.ts.map +1 -0
- package/dist/components/KrdsIdentifier/KrdsIdentifier.d.ts +16 -0
- package/dist/components/KrdsIdentifier/KrdsIdentifier.d.ts.map +1 -0
- package/dist/components/KrdsIdentifier/index.d.ts +5 -0
- package/dist/components/KrdsIdentifier/index.d.ts.map +1 -0
- package/dist/components/KrdsInPageNavigation/KrdsInPageNavigation.d.ts +38 -0
- package/dist/components/KrdsInPageNavigation/KrdsInPageNavigation.d.ts.map +1 -0
- package/dist/components/KrdsInPageNavigation/index.d.ts +5 -0
- package/dist/components/KrdsInPageNavigation/index.d.ts.map +1 -0
- package/dist/components/KrdsInput/KrdsInput.d.ts +51 -0
- package/dist/components/KrdsInput/KrdsInput.d.ts.map +1 -0
- package/dist/components/KrdsInput/index.d.ts +5 -0
- package/dist/components/KrdsInput/index.d.ts.map +1 -0
- package/dist/components/KrdsLanguageSwitcher/KrdsLanguageSwitcher.d.ts +30 -0
- package/dist/components/KrdsLanguageSwitcher/KrdsLanguageSwitcher.d.ts.map +1 -0
- package/dist/components/KrdsLanguageSwitcher/index.d.ts +5 -0
- package/dist/components/KrdsLanguageSwitcher/index.d.ts.map +1 -0
- package/dist/components/KrdsLayout/KrdsLayout.d.ts +37 -0
- package/dist/components/KrdsLayout/KrdsLayout.d.ts.map +1 -0
- package/dist/components/KrdsLayout/index.d.ts +5 -0
- package/dist/components/KrdsLayout/index.d.ts.map +1 -0
- package/dist/components/KrdsLink/KrdsLink.d.ts +33 -0
- package/dist/components/KrdsLink/KrdsLink.d.ts.map +1 -0
- package/dist/components/KrdsLink/index.d.ts +3 -0
- package/dist/components/KrdsLink/index.d.ts.map +1 -0
- package/dist/components/KrdsMasthead/KrdsMasthead.d.ts +14 -0
- package/dist/components/KrdsMasthead/KrdsMasthead.d.ts.map +1 -0
- package/dist/components/KrdsMasthead/index.d.ts +5 -0
- package/dist/components/KrdsMasthead/index.d.ts.map +1 -0
- package/dist/components/KrdsModal/KrdsModal.d.ts +88 -0
- package/dist/components/KrdsModal/KrdsModal.d.ts.map +1 -0
- package/dist/components/KrdsModal/index.d.ts +5 -0
- package/dist/components/KrdsModal/index.d.ts.map +1 -0
- package/dist/components/KrdsPagination/KrdsPagination.d.ts +27 -0
- package/dist/components/KrdsPagination/KrdsPagination.d.ts.map +1 -0
- package/dist/components/KrdsPagination/index.d.ts +5 -0
- package/dist/components/KrdsPagination/index.d.ts.map +1 -0
- package/dist/components/KrdsPanel/KrdsPanel.d.ts +16 -0
- package/dist/components/KrdsPanel/KrdsPanel.d.ts.map +1 -0
- package/dist/components/KrdsPanel/index.d.ts +5 -0
- package/dist/components/KrdsPanel/index.d.ts.map +1 -0
- package/dist/components/KrdsRadio/KrdsRadio.d.ts +25 -0
- package/dist/components/KrdsRadio/KrdsRadio.d.ts.map +1 -0
- package/dist/components/KrdsRadio/index.d.ts +5 -0
- package/dist/components/KrdsRadio/index.d.ts.map +1 -0
- package/dist/components/KrdsResize/KrdsResize.d.ts +15 -0
- package/dist/components/KrdsResize/KrdsResize.d.ts.map +1 -0
- package/dist/components/KrdsResize/index.d.ts +5 -0
- package/dist/components/KrdsResize/index.d.ts.map +1 -0
- package/dist/components/KrdsSelect/KrdsSelect.d.ts +44 -0
- package/dist/components/KrdsSelect/KrdsSelect.d.ts.map +1 -0
- package/dist/components/KrdsSelect/index.d.ts +5 -0
- package/dist/components/KrdsSelect/index.d.ts.map +1 -0
- package/dist/components/KrdsSideNavigation/KrdsSideNavigation.d.ts +74 -0
- package/dist/components/KrdsSideNavigation/KrdsSideNavigation.d.ts.map +1 -0
- package/dist/components/KrdsSideNavigation/index.d.ts +5 -0
- package/dist/components/KrdsSideNavigation/index.d.ts.map +1 -0
- package/dist/components/KrdsSkipLink/KrdsSkipLink.d.ts +77 -0
- package/dist/components/KrdsSkipLink/KrdsSkipLink.d.ts.map +1 -0
- package/dist/components/KrdsSkipLink/index.d.ts +5 -0
- package/dist/components/KrdsSkipLink/index.d.ts.map +1 -0
- package/dist/components/KrdsSpinner/KrdsSpinner.d.ts +15 -0
- package/dist/components/KrdsSpinner/KrdsSpinner.d.ts.map +1 -0
- package/dist/components/KrdsSpinner/index.d.ts +4 -0
- package/dist/components/KrdsSpinner/index.d.ts.map +1 -0
- package/dist/components/KrdsStep/KrdsStep.d.ts +21 -0
- package/dist/components/KrdsStep/KrdsStep.d.ts.map +1 -0
- package/dist/components/KrdsStep/index.d.ts +5 -0
- package/dist/components/KrdsStep/index.d.ts.map +1 -0
- package/dist/components/KrdsStepIndicator/KrdsStepIndicator.d.ts +17 -0
- package/dist/components/KrdsStepIndicator/KrdsStepIndicator.d.ts.map +1 -0
- package/dist/components/KrdsStepIndicator/index.d.ts +5 -0
- package/dist/components/KrdsStepIndicator/index.d.ts.map +1 -0
- package/dist/components/KrdsStructuredList/KrdsStructuredList.d.ts +11 -0
- package/dist/components/KrdsStructuredList/KrdsStructuredList.d.ts.map +1 -0
- package/dist/components/KrdsStructuredList/index.d.ts +5 -0
- package/dist/components/KrdsStructuredList/index.d.ts.map +1 -0
- package/dist/components/KrdsTable/KrdsTable.d.ts +48 -0
- package/dist/components/KrdsTable/KrdsTable.d.ts.map +1 -0
- package/dist/components/KrdsTable/index.d.ts +5 -0
- package/dist/components/KrdsTable/index.d.ts.map +1 -0
- package/dist/components/KrdsTag/KrdsTag.d.ts +23 -0
- package/dist/components/KrdsTag/KrdsTag.d.ts.map +1 -0
- package/dist/components/KrdsTag/index.d.ts +5 -0
- package/dist/components/KrdsTag/index.d.ts.map +1 -0
- package/dist/components/KrdsTagGroup/KrdsTagGroup.d.ts +15 -0
- package/dist/components/KrdsTagGroup/KrdsTagGroup.d.ts.map +1 -0
- package/dist/components/KrdsTagGroup/index.d.ts +5 -0
- package/dist/components/KrdsTagGroup/index.d.ts.map +1 -0
- package/dist/components/KrdsTextList/KrdsTextList.d.ts +13 -0
- package/dist/components/KrdsTextList/KrdsTextList.d.ts.map +1 -0
- package/dist/components/KrdsTextList/index.d.ts +5 -0
- package/dist/components/KrdsTextList/index.d.ts.map +1 -0
- package/dist/components/KrdsTextarea/KrdsTextarea.d.ts +209 -0
- package/dist/components/KrdsTextarea/KrdsTextarea.d.ts.map +1 -0
- package/dist/components/KrdsTextarea/index.d.ts +5 -0
- package/dist/components/KrdsTextarea/index.d.ts.map +1 -0
- package/dist/components/KrdsToggleSwitch/KrdsToggleSwitch.d.ts +24 -0
- package/dist/components/KrdsToggleSwitch/KrdsToggleSwitch.d.ts.map +1 -0
- package/dist/components/KrdsToggleSwitch/index.d.ts +5 -0
- package/dist/components/KrdsToggleSwitch/index.d.ts.map +1 -0
- package/dist/components/KrdsTooltip/KrdsTooltip.d.ts +20 -0
- package/dist/components/KrdsTooltip/KrdsTooltip.d.ts.map +1 -0
- package/dist/components/KrdsTooltip/index.d.ts +5 -0
- package/dist/components/KrdsTooltip/index.d.ts.map +1 -0
- package/dist/components/KrdsTts/KrdsTts.d.ts +36 -0
- package/dist/components/KrdsTts/KrdsTts.d.ts.map +1 -0
- package/dist/components/KrdsTts/index.d.ts +5 -0
- package/dist/components/KrdsTts/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +97 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/composables/index.d.ts +5 -0
- package/dist/composables/index.d.ts.map +1 -0
- package/dist/composables/useClickOutside.d.ts +22 -0
- package/dist/composables/useClickOutside.d.ts.map +1 -0
- package/dist/composables/useDatePicker.d.ts +26 -0
- package/dist/composables/useDatePicker.d.ts.map +1 -0
- package/dist/directives/index.d.ts +15 -0
- package/dist/directives/index.d.ts.map +1 -0
- package/dist/directives/vSrOnly.d.ts +8 -0
- package/dist/directives/vSrOnly.d.ts.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/krds-vue.es.js +2202 -1986
- package/dist/krds-vue.es.js.map +1 -1
- package/dist/style.css +2 -1
- package/dist/tokens/index.d.ts +6 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +115 -1763
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/index.d.ts +26 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +39 -38
- package/dist/krds-vue.umd.js +0 -4
- package/dist/krds-vue.umd.js.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,1763 +1,115 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
attrs: Partial<{}>;
|
|
117
|
-
slots: {
|
|
118
|
-
default?(_: {}): any;
|
|
119
|
-
'prev-item'?(_: {}): any;
|
|
120
|
-
};
|
|
121
|
-
refs: {
|
|
122
|
-
dropdownRef: HTMLDivElement;
|
|
123
|
-
buttonRef: HTMLButtonElement;
|
|
124
|
-
};
|
|
125
|
-
rootEl: any;
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
declare function __VLS_template_6(): {
|
|
129
|
-
attrs: Partial<{}>;
|
|
130
|
-
slots: {
|
|
131
|
-
title?(_: {}): any;
|
|
132
|
-
content?(_: {}): any;
|
|
133
|
-
};
|
|
134
|
-
refs: {};
|
|
135
|
-
rootEl: HTMLDivElement;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
139
|
-
|
|
140
|
-
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
141
|
-
|
|
142
|
-
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
143
|
-
|
|
144
|
-
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
145
|
-
|
|
146
|
-
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
147
|
-
|
|
148
|
-
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
149
|
-
|
|
150
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
151
|
-
new (): {
|
|
152
|
-
$slots: S;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
157
|
-
new (): {
|
|
158
|
-
$slots: S;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
163
|
-
new (): {
|
|
164
|
-
$slots: S;
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
169
|
-
new (): {
|
|
170
|
-
$slots: S;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
175
|
-
new (): {
|
|
176
|
-
$slots: S;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
181
|
-
new (): {
|
|
182
|
-
$slots: S;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* 정렬 타입
|
|
188
|
-
*/
|
|
189
|
-
export declare type Alignment = 'left' | 'center' | 'right' | 'justify';
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* 컴포넌트 기본 속성
|
|
193
|
-
*/
|
|
194
|
-
export declare interface BaseComponentProps {
|
|
195
|
-
/** CSS 클래스 */
|
|
196
|
-
class?: string;
|
|
197
|
-
/** 인라인 스타일 */
|
|
198
|
-
style?: string | Record<string, string | number>;
|
|
199
|
-
/** HTML ID */
|
|
200
|
-
id?: string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* 폼 컴포넌트 기본 속성
|
|
205
|
-
*/
|
|
206
|
-
export declare interface BaseFormProps extends BaseComponentProps {
|
|
207
|
-
/** 폼 필드 이름 */
|
|
208
|
-
name?: string;
|
|
209
|
-
/** 필수 입력 여부 */
|
|
210
|
-
required?: boolean;
|
|
211
|
-
/** 읽기 전용 여부 */
|
|
212
|
-
readonly?: boolean;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* 브레드크럼 아이템 인터페이스
|
|
217
|
-
*/
|
|
218
|
-
export declare interface BreadcrumbItem {
|
|
219
|
-
/** 텍스트 */
|
|
220
|
-
text: string;
|
|
221
|
-
/** 링크 URL */
|
|
222
|
-
href?: string;
|
|
223
|
-
/** 클릭 핸들러 */
|
|
224
|
-
onClick?: (event: MouseEvent) => void;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* 클래스명을 조합합니다.
|
|
229
|
-
*
|
|
230
|
-
* @param classes - 클래스명 배열 또는 객체
|
|
231
|
-
* @returns 결합된 클래스명 문자열
|
|
232
|
-
*/
|
|
233
|
-
export declare function classNames(...classes: (string | undefined | null | false)[]): string;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* 색상 변형 타입
|
|
237
|
-
*/
|
|
238
|
-
export declare type ColorVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* KRDS Badge 컴포넌트 속성
|
|
242
|
-
*/
|
|
243
|
-
declare type ColorVariant_2 = 'primary' | 'secondary' | 'gray' | 'point' | 'danger' | 'warning' | 'success' | 'information' | 'disabled';
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* 컴포넌트 슬롯 타입
|
|
247
|
-
*/
|
|
248
|
-
export declare interface ComponentSlots {
|
|
249
|
-
default?: () => unknown;
|
|
250
|
-
[key: string]: ((...args: unknown[]) => unknown) | undefined;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* 컴포넌트 상태 타입
|
|
255
|
-
*/
|
|
256
|
-
export declare type ComponentState = 'default' | 'hover' | 'active' | 'focus' | 'disabled';
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* CSS 변수 타입
|
|
260
|
-
*/
|
|
261
|
-
export declare type CSSCustomProperties = Record<`--${string}`, string | number>;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* 방향 타입
|
|
265
|
-
*/
|
|
266
|
-
export declare type Direction = 'horizontal' | 'vertical';
|
|
267
|
-
|
|
268
|
-
declare type DropdownPosition = 'left' | 'center' | 'right';
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* 파일 정보 인터페이스
|
|
272
|
-
*/
|
|
273
|
-
export declare interface FileInfo {
|
|
274
|
-
/** 파일 ID */
|
|
275
|
-
id: string;
|
|
276
|
-
/** 파일 객체 */
|
|
277
|
-
file: File;
|
|
278
|
-
/** 파일명 */
|
|
279
|
-
name: string;
|
|
280
|
-
/** 파일 크기 (bytes) */
|
|
281
|
-
size: number;
|
|
282
|
-
/** 파일 타입 */
|
|
283
|
-
type: string;
|
|
284
|
-
/** 업로드 상태 */
|
|
285
|
-
status: 'pending' | 'uploading' | 'completed' | 'error';
|
|
286
|
-
/** 업로드 진행률 (0-100) */
|
|
287
|
-
progress?: number;
|
|
288
|
-
/** 에러 메시지 */
|
|
289
|
-
errorMessage?: string;
|
|
290
|
-
/** 다운로드 URL */
|
|
291
|
-
downloadUrl?: string;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* KRDS Vue 유틸리티
|
|
296
|
-
*/
|
|
297
|
-
/**
|
|
298
|
-
* 고유한 ID를 생성합니다.
|
|
299
|
-
* Math.random()보다 성능이 좋고 예측 가능합니다.
|
|
300
|
-
*
|
|
301
|
-
* @param prefix - ID 접두사
|
|
302
|
-
* @returns 고유한 ID 문자열
|
|
303
|
-
*/
|
|
304
|
-
export declare function generateId(prefix?: string): string;
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* 간단한 고유 ID를 생성합니다.
|
|
308
|
-
* 브라우저와 Node.js 환경에서 모두 작동합니다.
|
|
309
|
-
*
|
|
310
|
-
* @returns 7자리 랜덤 문자열
|
|
311
|
-
*/
|
|
312
|
-
export declare function generateUid(): string;
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* 아이콘 속성
|
|
316
|
-
*/
|
|
317
|
-
export declare interface IconProps {
|
|
318
|
-
/** 아이콘 이름 */
|
|
319
|
-
name: string;
|
|
320
|
-
/** 아이콘 크기 */
|
|
321
|
-
size?: Size | number;
|
|
322
|
-
/** 아이콘 색상 */
|
|
323
|
-
color?: string;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* 입력 상태 타입
|
|
328
|
-
*/
|
|
329
|
-
export declare type InputState = ComponentState | 'error' | 'success';
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* 입력 타입
|
|
333
|
-
*/
|
|
334
|
-
export declare type InputType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search';
|
|
335
|
-
|
|
336
|
-
export declare const KrdsAccordionGroup: DefineComponent<KrdsAccordionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsAccordionGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
337
|
-
|
|
338
|
-
export declare interface KrdsAccordionGroupProps extends BaseComponentProps {
|
|
339
|
-
typeLine?: boolean;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
export declare const KrdsAccordionItem: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
343
|
-
|
|
344
|
-
export declare interface KrdsAccordionItemEmits {
|
|
345
|
-
(e: 'toggle', id: string): void;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
export declare interface KrdsAccordionItemProps {
|
|
349
|
-
id: string;
|
|
350
|
-
openItem?: string;
|
|
351
|
-
title?: string;
|
|
352
|
-
content?: string;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
export declare const KrdsBadge: DefineComponent<KrdsBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* KRDS Badge 컴포넌트 이벤트
|
|
359
|
-
*/
|
|
360
|
-
export declare interface KrdsBadgeEmits {
|
|
361
|
-
(e: 'click', event: MouseEvent): void;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
export declare interface KrdsBadgeProps extends BaseComponentProps {
|
|
365
|
-
/** 배지 타입 */
|
|
366
|
-
type?: 'outline' | 'bg' | 'bg-light';
|
|
367
|
-
/** 배지 컬러 */
|
|
368
|
-
color?: ColorVariant_2;
|
|
369
|
-
/** 넘버 여부 */
|
|
370
|
-
number?: boolean;
|
|
371
|
-
/** 배지 크기 */
|
|
372
|
-
size?: 'large' | 'medium' | 'small';
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
export declare const KrdsBreadcrumb: DefineComponent<KrdsBreadcrumbProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
376
|
-
"item-click": (item: BreadcrumbItem, event: MouseEvent) => any;
|
|
377
|
-
}, string, PublicProps, Readonly<KrdsBreadcrumbProps> & Readonly<{
|
|
378
|
-
"onItem-click"?: ((item: BreadcrumbItem, event: MouseEvent) => any) | undefined;
|
|
379
|
-
}>, {
|
|
380
|
-
id: string;
|
|
381
|
-
ariaLabel: string;
|
|
382
|
-
showHomeIcon: boolean;
|
|
383
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* KRDS Breadcrumb 컴포넌트 이벤트
|
|
387
|
-
*/
|
|
388
|
-
export declare interface KrdsBreadcrumbEmits {
|
|
389
|
-
'item-click': [item: BreadcrumbItem, event: MouseEvent];
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* KRDS Breadcrumb 컴포넌트 속성
|
|
394
|
-
*/
|
|
395
|
-
export declare interface KrdsBreadcrumbProps {
|
|
396
|
-
/** 브레드크럼 아이템 배열 */
|
|
397
|
-
items: BreadcrumbItem[];
|
|
398
|
-
/** 엘리먼트 ID */
|
|
399
|
-
id?: string;
|
|
400
|
-
/** 접근성 라벨 */
|
|
401
|
-
ariaLabel?: string;
|
|
402
|
-
/** 홈 아이콘 표시 여부 */
|
|
403
|
-
showHomeIcon?: boolean;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
export declare const KrdsButton: DefineComponent<KrdsButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* KRDS Button 컴포넌트 이벤트
|
|
410
|
-
*/
|
|
411
|
-
export declare interface KrdsButtonEmits {
|
|
412
|
-
(e: 'click', event: MouseEvent): void;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
export declare const KrdsButtonGroup: DefineComponent<BaseComponentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* KRDS ButtonGroup 컴포넌트 속성
|
|
419
|
-
*/
|
|
420
|
-
export declare type KrdsButtonGroupProps = BaseComponentProps;
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* KRDS Button 컴포넌트 속성
|
|
424
|
-
*/
|
|
425
|
-
export declare interface KrdsButtonProps extends BaseComponentProps {
|
|
426
|
-
/** 버튼 타입 */
|
|
427
|
-
type?: 'button' | 'submit' | 'reset';
|
|
428
|
-
/** 버튼 크기 */
|
|
429
|
-
size?: Size;
|
|
430
|
-
/** 버튼 변형 */
|
|
431
|
-
variant?: Variant;
|
|
432
|
-
/** 아이콘 전용 버튼 */
|
|
433
|
-
icon?: boolean;
|
|
434
|
-
/** 테두리 스타일 (아이콘 버튼용) */
|
|
435
|
-
border?: boolean;
|
|
436
|
-
/** Pure 버튼 여부 (가상클래스 상태 시 컬러 유지) */
|
|
437
|
-
pure?: boolean;
|
|
438
|
-
/** 텍스트 버튼 스타일 */
|
|
439
|
-
text?: boolean;
|
|
440
|
-
/** 비활성화 여부 */
|
|
441
|
-
disabled?: boolean;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
export declare const KrdsCheckArea: DefineComponent<KrdsCheckAreaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsCheckAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* KRDS CheckArea 컴포넌트 속성
|
|
448
|
-
*/
|
|
449
|
-
export declare interface KrdsCheckAreaProps extends BaseComponentProps {
|
|
450
|
-
/** 추가 클래스 */
|
|
451
|
-
class?: string;
|
|
452
|
-
column?: boolean;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export declare const KrdsCheckbox: DefineComponent<KrdsCheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* KRDS Checkbox 컴포넌트 이벤트
|
|
459
|
-
*/
|
|
460
|
-
export declare interface KrdsCheckboxEmits {
|
|
461
|
-
(e: 'update:modelValue', value: boolean): void;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* KRDS Checkbox 컴포넌트 속성
|
|
466
|
-
*/
|
|
467
|
-
export declare interface KrdsCheckboxProps extends BaseFormProps {
|
|
468
|
-
/** 모델 값 */
|
|
469
|
-
modelValue?: boolean;
|
|
470
|
-
/** 비활성화 여부 */
|
|
471
|
-
disabled?: boolean;
|
|
472
|
-
/** 크기 */
|
|
473
|
-
size?: 'medium' | 'large';
|
|
474
|
-
/** Chip 스타일 여부 */
|
|
475
|
-
chip?: boolean;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
export declare const KrdsCoachMark: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
479
|
-
|
|
480
|
-
export declare interface KrdsCoachMarkProps extends BaseComponentProps {
|
|
481
|
-
coachMarkClass?: string | string[];
|
|
482
|
-
stepsData: StepsData[];
|
|
483
|
-
activeStep: number;
|
|
484
|
-
modelValue?: number | null;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* KRDS 컴포넌트 타입
|
|
489
|
-
*/
|
|
490
|
-
export declare type KrdsComponent<Props = object, Slots = object, Emits = object> = Component & {
|
|
491
|
-
__krdsComponent: true;
|
|
492
|
-
__krdsProps: Props;
|
|
493
|
-
__krdsSlots: Slots;
|
|
494
|
-
__krdsEmits: Emits;
|
|
495
|
-
};
|
|
496
|
-
|
|
497
|
-
export declare const KrdsContextualHelp: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
498
|
-
|
|
499
|
-
export declare interface KrdsContextualHelpProps {
|
|
500
|
-
tooltipTitle?: string;
|
|
501
|
-
helpIcon?: boolean;
|
|
502
|
-
position?: 'top left' | 'top center' | 'top right' | 'bottom left' | 'bottom center' | 'bottom right';
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export declare const KrdsDateInput: DefineComponent<KrdsDateInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
506
|
-
focus: (event: FocusEvent) => any;
|
|
507
|
-
input: (event: Event) => any;
|
|
508
|
-
blur: (event: FocusEvent) => any;
|
|
509
|
-
change: (event: Event) => any;
|
|
510
|
-
"update:modelValue": (value: string) => any;
|
|
511
|
-
}, string, PublicProps, Readonly<KrdsDateInputProps> & Readonly<{
|
|
512
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
513
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
514
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
515
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
516
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
517
|
-
}>, {
|
|
518
|
-
name: string;
|
|
519
|
-
required: boolean;
|
|
520
|
-
readonly: boolean;
|
|
521
|
-
disabled: boolean;
|
|
522
|
-
size: Size;
|
|
523
|
-
class: string;
|
|
524
|
-
id: string;
|
|
525
|
-
modelValue: string;
|
|
526
|
-
placeholder: string;
|
|
527
|
-
autofocus: boolean;
|
|
528
|
-
eventDates: string[];
|
|
529
|
-
holidays: string[];
|
|
530
|
-
initialYear: number;
|
|
531
|
-
initialMonth: number;
|
|
532
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
533
|
-
datePickerButtonRef: HTMLButtonElement;
|
|
534
|
-
datePickerAreaRef: HTMLDivElement;
|
|
535
|
-
}, HTMLDivElement>;
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* KRDS DateInput 컴포넌트 이벤트
|
|
539
|
-
*/
|
|
540
|
-
export declare interface KrdsDateInputEmits {
|
|
541
|
-
'update:modelValue': [value: string];
|
|
542
|
-
input: [event: Event];
|
|
543
|
-
change: [event: Event];
|
|
544
|
-
focus: [event: FocusEvent];
|
|
545
|
-
blur: [event: FocusEvent];
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* KRDS DateInput 컴포넌트 속성
|
|
550
|
-
*/
|
|
551
|
-
export declare interface KrdsDateInputProps extends BaseFormProps {
|
|
552
|
-
/** 선택된 날짜 값 */
|
|
553
|
-
modelValue?: string;
|
|
554
|
-
/** 입력 크기 */
|
|
555
|
-
size?: Size;
|
|
556
|
-
/** 플레이스홀더 */
|
|
557
|
-
placeholder?: string;
|
|
558
|
-
/** 비활성화 여부 */
|
|
559
|
-
disabled?: boolean;
|
|
560
|
-
/** 읽기 전용 여부 */
|
|
561
|
-
readonly?: boolean;
|
|
562
|
-
/** 자동 포커스 */
|
|
563
|
-
autofocus?: boolean;
|
|
564
|
-
/** 일정이 있는 날짜 배열 (YYYY.MM.DD 형식) */
|
|
565
|
-
eventDates?: string[];
|
|
566
|
-
/** 휴일 날짜 배열 (YYYY.MM.DD 형식) */
|
|
567
|
-
holidays?: string[];
|
|
568
|
-
/** 초기 표시 년도 (기본: 현재 년도) */
|
|
569
|
-
initialYear?: number;
|
|
570
|
-
/** 초기 표시 월 (기본: 현재 월) */
|
|
571
|
-
initialMonth?: number;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
export declare const KrdsFileUpload: DefineComponent<ExtractPropTypes< {
|
|
575
|
-
modelValue: {
|
|
576
|
-
type: () => FileInfo[];
|
|
577
|
-
default: () => never[];
|
|
578
|
-
};
|
|
579
|
-
size: {
|
|
580
|
-
type: () => Size;
|
|
581
|
-
default: string;
|
|
582
|
-
};
|
|
583
|
-
accept: {
|
|
584
|
-
type: StringConstructor;
|
|
585
|
-
default: undefined;
|
|
586
|
-
};
|
|
587
|
-
maxFiles: {
|
|
588
|
-
type: NumberConstructor;
|
|
589
|
-
default: number;
|
|
590
|
-
};
|
|
591
|
-
maxFileSize: {
|
|
592
|
-
type: NumberConstructor;
|
|
593
|
-
default: number;
|
|
594
|
-
};
|
|
595
|
-
multiple: {
|
|
596
|
-
type: BooleanConstructor;
|
|
597
|
-
default: boolean;
|
|
598
|
-
};
|
|
599
|
-
disabled: {
|
|
600
|
-
type: BooleanConstructor;
|
|
601
|
-
default: boolean;
|
|
602
|
-
};
|
|
603
|
-
dragAndDrop: {
|
|
604
|
-
type: BooleanConstructor;
|
|
605
|
-
default: boolean;
|
|
606
|
-
};
|
|
607
|
-
title: {
|
|
608
|
-
type: StringConstructor;
|
|
609
|
-
default: string;
|
|
610
|
-
};
|
|
611
|
-
description: {
|
|
612
|
-
type: StringConstructor;
|
|
613
|
-
default: string;
|
|
614
|
-
};
|
|
615
|
-
placeholder: {
|
|
616
|
-
type: StringConstructor;
|
|
617
|
-
default: string;
|
|
618
|
-
};
|
|
619
|
-
showPreview: {
|
|
620
|
-
type: BooleanConstructor;
|
|
621
|
-
default: boolean;
|
|
622
|
-
};
|
|
623
|
-
showDownload: {
|
|
624
|
-
type: BooleanConstructor;
|
|
625
|
-
default: boolean;
|
|
626
|
-
};
|
|
627
|
-
showPreviewButton: {
|
|
628
|
-
type: BooleanConstructor;
|
|
629
|
-
default: boolean;
|
|
630
|
-
};
|
|
631
|
-
showClearAll: {
|
|
632
|
-
type: BooleanConstructor;
|
|
633
|
-
default: boolean;
|
|
634
|
-
};
|
|
635
|
-
name: {
|
|
636
|
-
type: StringConstructor;
|
|
637
|
-
default: undefined;
|
|
638
|
-
};
|
|
639
|
-
required: {
|
|
640
|
-
type: BooleanConstructor;
|
|
641
|
-
default: boolean;
|
|
642
|
-
};
|
|
643
|
-
readonly: {
|
|
644
|
-
type: BooleanConstructor;
|
|
645
|
-
default: boolean;
|
|
646
|
-
};
|
|
647
|
-
class: {
|
|
648
|
-
type: StringConstructor;
|
|
649
|
-
default: undefined;
|
|
650
|
-
};
|
|
651
|
-
style: {
|
|
652
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
653
|
-
default: undefined;
|
|
654
|
-
};
|
|
655
|
-
id: {
|
|
656
|
-
type: StringConstructor;
|
|
657
|
-
default: undefined;
|
|
658
|
-
};
|
|
659
|
-
}>, () => VNode<RendererNode, RendererElement, {
|
|
660
|
-
[key: string]: any;
|
|
661
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "file-added" | "file-removed" | "file-error" | "upload-start" | "upload-progress" | "upload-complete" | "upload-error" | "clear-all" | "download" | "preview")[], "update:modelValue" | "file-added" | "file-removed" | "file-error" | "upload-start" | "upload-progress" | "upload-complete" | "upload-error" | "clear-all" | "download" | "preview", PublicProps, Readonly<ExtractPropTypes< {
|
|
662
|
-
modelValue: {
|
|
663
|
-
type: () => FileInfo[];
|
|
664
|
-
default: () => never[];
|
|
665
|
-
};
|
|
666
|
-
size: {
|
|
667
|
-
type: () => Size;
|
|
668
|
-
default: string;
|
|
669
|
-
};
|
|
670
|
-
accept: {
|
|
671
|
-
type: StringConstructor;
|
|
672
|
-
default: undefined;
|
|
673
|
-
};
|
|
674
|
-
maxFiles: {
|
|
675
|
-
type: NumberConstructor;
|
|
676
|
-
default: number;
|
|
677
|
-
};
|
|
678
|
-
maxFileSize: {
|
|
679
|
-
type: NumberConstructor;
|
|
680
|
-
default: number;
|
|
681
|
-
};
|
|
682
|
-
multiple: {
|
|
683
|
-
type: BooleanConstructor;
|
|
684
|
-
default: boolean;
|
|
685
|
-
};
|
|
686
|
-
disabled: {
|
|
687
|
-
type: BooleanConstructor;
|
|
688
|
-
default: boolean;
|
|
689
|
-
};
|
|
690
|
-
dragAndDrop: {
|
|
691
|
-
type: BooleanConstructor;
|
|
692
|
-
default: boolean;
|
|
693
|
-
};
|
|
694
|
-
title: {
|
|
695
|
-
type: StringConstructor;
|
|
696
|
-
default: string;
|
|
697
|
-
};
|
|
698
|
-
description: {
|
|
699
|
-
type: StringConstructor;
|
|
700
|
-
default: string;
|
|
701
|
-
};
|
|
702
|
-
placeholder: {
|
|
703
|
-
type: StringConstructor;
|
|
704
|
-
default: string;
|
|
705
|
-
};
|
|
706
|
-
showPreview: {
|
|
707
|
-
type: BooleanConstructor;
|
|
708
|
-
default: boolean;
|
|
709
|
-
};
|
|
710
|
-
showDownload: {
|
|
711
|
-
type: BooleanConstructor;
|
|
712
|
-
default: boolean;
|
|
713
|
-
};
|
|
714
|
-
showPreviewButton: {
|
|
715
|
-
type: BooleanConstructor;
|
|
716
|
-
default: boolean;
|
|
717
|
-
};
|
|
718
|
-
showClearAll: {
|
|
719
|
-
type: BooleanConstructor;
|
|
720
|
-
default: boolean;
|
|
721
|
-
};
|
|
722
|
-
name: {
|
|
723
|
-
type: StringConstructor;
|
|
724
|
-
default: undefined;
|
|
725
|
-
};
|
|
726
|
-
required: {
|
|
727
|
-
type: BooleanConstructor;
|
|
728
|
-
default: boolean;
|
|
729
|
-
};
|
|
730
|
-
readonly: {
|
|
731
|
-
type: BooleanConstructor;
|
|
732
|
-
default: boolean;
|
|
733
|
-
};
|
|
734
|
-
class: {
|
|
735
|
-
type: StringConstructor;
|
|
736
|
-
default: undefined;
|
|
737
|
-
};
|
|
738
|
-
style: {
|
|
739
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
740
|
-
default: undefined;
|
|
741
|
-
};
|
|
742
|
-
id: {
|
|
743
|
-
type: StringConstructor;
|
|
744
|
-
default: undefined;
|
|
745
|
-
};
|
|
746
|
-
}>> & Readonly<{
|
|
747
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
748
|
-
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
|
749
|
-
"onFile-removed"?: ((...args: any[]) => any) | undefined;
|
|
750
|
-
"onFile-error"?: ((...args: any[]) => any) | undefined;
|
|
751
|
-
"onUpload-start"?: ((...args: any[]) => any) | undefined;
|
|
752
|
-
"onUpload-progress"?: ((...args: any[]) => any) | undefined;
|
|
753
|
-
"onUpload-complete"?: ((...args: any[]) => any) | undefined;
|
|
754
|
-
"onUpload-error"?: ((...args: any[]) => any) | undefined;
|
|
755
|
-
"onClear-all"?: ((...args: any[]) => any) | undefined;
|
|
756
|
-
onDownload?: ((...args: any[]) => any) | undefined;
|
|
757
|
-
onPreview?: ((...args: any[]) => any) | undefined;
|
|
758
|
-
}>, {
|
|
759
|
-
name: string;
|
|
760
|
-
required: boolean;
|
|
761
|
-
readonly: boolean;
|
|
762
|
-
disabled: boolean;
|
|
763
|
-
size: Size;
|
|
764
|
-
class: string;
|
|
765
|
-
style: string | Record<string, any>;
|
|
766
|
-
id: string;
|
|
767
|
-
title: string;
|
|
768
|
-
modelValue: FileInfo[];
|
|
769
|
-
placeholder: string;
|
|
770
|
-
accept: string;
|
|
771
|
-
maxFiles: number;
|
|
772
|
-
maxFileSize: number;
|
|
773
|
-
multiple: boolean;
|
|
774
|
-
dragAndDrop: boolean;
|
|
775
|
-
description: string;
|
|
776
|
-
showPreview: boolean;
|
|
777
|
-
showDownload: boolean;
|
|
778
|
-
showPreviewButton: boolean;
|
|
779
|
-
showClearAll: boolean;
|
|
780
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* KRDS FileUpload 컴포넌트 이벤트
|
|
784
|
-
*/
|
|
785
|
-
export declare interface KrdsFileUploadEmits {
|
|
786
|
-
'update:modelValue': [files: FileInfo[]];
|
|
787
|
-
'file-added': [file: FileInfo];
|
|
788
|
-
'file-removed': [fileId: string];
|
|
789
|
-
'file-error': [file: FileInfo, error: string];
|
|
790
|
-
'upload-start': [file: FileInfo];
|
|
791
|
-
'upload-progress': [file: FileInfo, progress: number];
|
|
792
|
-
'upload-complete': [file: FileInfo];
|
|
793
|
-
'upload-error': [file: FileInfo, error: string];
|
|
794
|
-
'clear-all': [];
|
|
795
|
-
download: [file: FileInfo];
|
|
796
|
-
preview: [file: FileInfo];
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* KRDS FileUpload 컴포넌트 속성
|
|
801
|
-
*/
|
|
802
|
-
export declare interface KrdsFileUploadProps extends BaseFormProps {
|
|
803
|
-
/** 파일 목록 */
|
|
804
|
-
modelValue?: FileInfo[];
|
|
805
|
-
/** 입력 크기 */
|
|
806
|
-
size?: Size;
|
|
807
|
-
/** 허용되는 파일 타입 (예: '.jpg,.png,.pdf') */
|
|
808
|
-
accept?: string;
|
|
809
|
-
/** 최대 파일 개수 */
|
|
810
|
-
maxFiles?: number;
|
|
811
|
-
/** 최대 파일 크기 (bytes) */
|
|
812
|
-
maxFileSize?: number;
|
|
813
|
-
/** 다중 파일 선택 여부 */
|
|
814
|
-
multiple?: boolean;
|
|
815
|
-
/** 비활성화 여부 */
|
|
816
|
-
disabled?: boolean;
|
|
817
|
-
/** 드래그 앤 드롭 활성화 여부 */
|
|
818
|
-
dragAndDrop?: boolean;
|
|
819
|
-
/** 제목 */
|
|
820
|
-
title?: string;
|
|
821
|
-
/** 설명 텍스트 */
|
|
822
|
-
description?: string;
|
|
823
|
-
/** 플레이스홀더 텍스트 */
|
|
824
|
-
placeholder?: string;
|
|
825
|
-
/** 미리보기 표시 여부 */
|
|
826
|
-
showPreview?: boolean;
|
|
827
|
-
/** 다운로드 버튼 표시 여부 */
|
|
828
|
-
showDownload?: boolean;
|
|
829
|
-
/** 바로보기 버튼 표시 여부 */
|
|
830
|
-
showPreviewButton?: boolean;
|
|
831
|
-
/** 전체 삭제 버튼 표시 여부 */
|
|
832
|
-
showClearAll?: boolean;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
export declare const KrdsFormGroup: DefineComponent<BaseComponentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* KRDS FormGroup 컴포넌트 속성
|
|
839
|
-
*/
|
|
840
|
-
export declare type KrdsFormGroupProps = BaseComponentProps;
|
|
841
|
-
|
|
842
|
-
export declare const KrdsFormHint: DefineComponent<KrdsFormHintProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsFormHintProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* KRDS FormHint 컴포넌트 이벤트
|
|
846
|
-
*/
|
|
847
|
-
export declare interface KrdsFormHintEmits {
|
|
848
|
-
(e: 'click', event: MouseEvent): void;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* KRDS FormHint 컴포넌트 속성
|
|
853
|
-
*/
|
|
854
|
-
export declare interface KrdsFormHintProps extends BaseComponentProps {
|
|
855
|
-
/** 힌트 타입 */
|
|
856
|
-
type?: 'hint' | 'error' | 'success' | 'information';
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
export declare const KrdsFormLabel: DefineComponent<KrdsFormLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsFormLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
* KRDS FormLabel 컴포넌트 이벤트
|
|
863
|
-
*/
|
|
864
|
-
export declare interface KrdsFormLabelEmits {
|
|
865
|
-
(e: 'click', event: MouseEvent): void;
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* KRDS FormLabel 컴포넌트 속성
|
|
870
|
-
*/
|
|
871
|
-
export declare interface KrdsFormLabelProps extends BaseComponentProps {
|
|
872
|
-
/** label의 for 속성 */
|
|
873
|
-
for?: string;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
export declare const KrdsIcon: DefineComponent<KrdsIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* KRDS Icon 컴포넌트 속성
|
|
880
|
-
*/
|
|
881
|
-
export declare interface KrdsIconProps extends BaseComponentProps {
|
|
882
|
-
/** 아이콘 이름 */
|
|
883
|
-
name: string;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
export declare const KrdsInPageNavigation: DefineComponent<KrdsInPageNavigationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsInPageNavigationProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
887
|
-
|
|
888
|
-
/**
|
|
889
|
-
* KRDS InPageNavigation 컴포넌트 이벤트
|
|
890
|
-
*/
|
|
891
|
-
export declare interface KrdsInPageNavigationEmits {
|
|
892
|
-
(e: 'itemClick', item: NavigationItem, event: MouseEvent | KeyboardEvent): void;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* KRDS InPageNavigation 컴포넌트 속성
|
|
897
|
-
*/
|
|
898
|
-
export declare interface KrdsInPageNavigationProps extends BaseComponentProps {
|
|
899
|
-
/** 네비게이션 제목 */
|
|
900
|
-
title?: string;
|
|
901
|
-
/** 네비게이션 캡션 */
|
|
902
|
-
caption?: string;
|
|
903
|
-
/** 네비게이션 아이템 목록 */
|
|
904
|
-
items?: NavigationItem[];
|
|
905
|
-
/** 스크롤에 따른 자동 활성화 여부 */
|
|
906
|
-
autoActive?: boolean;
|
|
907
|
-
/** 헤더 상단 영역 선택자 (기본값: '#krds-masthead') */
|
|
908
|
-
headerTopSelector?: string;
|
|
909
|
-
/** 헤더 내부 영역 선택자 (기본값: '#krds-header .header-in') */
|
|
910
|
-
headerInnerSelector?: string;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
export declare const KrdsInput: DefineComponent<KrdsInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsInputProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* KRDS Input 컴포넌트 이벤트
|
|
917
|
-
*/
|
|
918
|
-
export declare interface KrdsInputEmits {
|
|
919
|
-
(e: 'update:modelValue', value: string | number): void;
|
|
920
|
-
(e: 'input', event: Event): void;
|
|
921
|
-
(e: 'change', event: Event): void;
|
|
922
|
-
(e: 'focus', event: FocusEvent): void;
|
|
923
|
-
(e: 'blur', event: FocusEvent): void;
|
|
924
|
-
(e: 'keydown', event: KeyboardEvent): void;
|
|
925
|
-
(e: 'keyup', event: KeyboardEvent): void;
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
/**
|
|
929
|
-
* KRDS Input 컴포넌트 속성
|
|
930
|
-
*/
|
|
931
|
-
export declare interface KrdsInputProps extends BaseFormProps {
|
|
932
|
-
/** 입력값 */
|
|
933
|
-
modelValue?: string | number;
|
|
934
|
-
/** 입력 타입 */
|
|
935
|
-
type?: InputType;
|
|
936
|
-
/** 입력 크기 */
|
|
937
|
-
size?: Size;
|
|
938
|
-
/** 플레이스홀더 */
|
|
939
|
-
placeholder?: string;
|
|
940
|
-
/** 최대 글자 수 */
|
|
941
|
-
maxlength?: number;
|
|
942
|
-
/** 최소 글자 수 */
|
|
943
|
-
minlength?: number;
|
|
944
|
-
/** 최대값 (number 타입용) */
|
|
945
|
-
max?: number;
|
|
946
|
-
/** 최소값 (number 타입용) */
|
|
947
|
-
min?: number;
|
|
948
|
-
/** 단계값 (number 타입용) */
|
|
949
|
-
step?: number;
|
|
950
|
-
/** 자동완성 */
|
|
951
|
-
autocomplete?: string;
|
|
952
|
-
/** 자동 포커스 */
|
|
953
|
-
autofocus?: boolean;
|
|
954
|
-
/** 비활성화 여부 */
|
|
955
|
-
disabled?: boolean;
|
|
956
|
-
/** 입력 상태 */
|
|
957
|
-
state?: 'default' | 'error' | 'success' | 'information';
|
|
958
|
-
/** 아이콘 (있을 때 btn-ico-wrap 클래스 적용) */
|
|
959
|
-
icon?: boolean;
|
|
960
|
-
/** 로딩 상태 */
|
|
961
|
-
loading?: boolean;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
export declare const KrdsLanguageSwitcher: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
965
|
-
|
|
966
|
-
export declare interface KrdsLanguageSwitcherProps extends BaseComponentProps {
|
|
967
|
-
languageList: LanguageData[];
|
|
968
|
-
modelValue?: string;
|
|
969
|
-
type?: 'default' | 'external';
|
|
970
|
-
dropPosition?: DropdownPosition;
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
export declare const KrdsLink: DefineComponent<KrdsLinkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* KRDS Link 컴포넌트 이벤트
|
|
977
|
-
*/
|
|
978
|
-
export declare interface KrdsLinkEmits {
|
|
979
|
-
(e: 'click', event: MouseEvent): void;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* KRDS Link 컴포넌트 속성
|
|
984
|
-
*/
|
|
985
|
-
export declare interface KrdsLinkProps extends BaseComponentProps {
|
|
986
|
-
/** 링크 URL */
|
|
987
|
-
href?: string;
|
|
988
|
-
/** 링크 대상 (_blank, _self 등) */
|
|
989
|
-
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
990
|
-
/** 링크 제목 (접근성) */
|
|
991
|
-
title?: string;
|
|
992
|
-
/** 링크 크기 */
|
|
993
|
-
size?: KrdsLinkSize;
|
|
994
|
-
/** Link 클래스 적용 여부 */
|
|
995
|
-
link?: boolean;
|
|
996
|
-
/** Basic 링크 여부 (본문 텍스트 컬러) */
|
|
997
|
-
basic?: boolean;
|
|
998
|
-
/** Pure 링크 여부 (가상클래스 상태 시 컬러 유지) */
|
|
999
|
-
pure?: boolean;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* KRDS Link 크기 타입 (링크는 small, medium, large만 지원)
|
|
1004
|
-
*/
|
|
1005
|
-
export declare type KrdsLinkSize = 'small' | 'medium' | 'large';
|
|
1006
|
-
|
|
1007
|
-
export declare const KrdsMasthead: DefineComponent<BaseComponentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
* KRDS Masthead 컴포넌트 속성
|
|
1011
|
-
*/
|
|
1012
|
-
export declare type KrdsMastheadProps = BaseComponentProps;
|
|
1013
|
-
|
|
1014
|
-
export declare const KrdsModal: DefineComponent<ExtractPropTypes< {
|
|
1015
|
-
modelValue: {
|
|
1016
|
-
type: BooleanConstructor;
|
|
1017
|
-
default: boolean;
|
|
1018
|
-
};
|
|
1019
|
-
modalId: {
|
|
1020
|
-
type: StringConstructor;
|
|
1021
|
-
default: undefined;
|
|
1022
|
-
};
|
|
1023
|
-
backdrop: {
|
|
1024
|
-
type: BooleanConstructor;
|
|
1025
|
-
default: boolean;
|
|
1026
|
-
};
|
|
1027
|
-
size: {
|
|
1028
|
-
type: () => KrdsModalSize;
|
|
1029
|
-
default: string;
|
|
1030
|
-
};
|
|
1031
|
-
full: {
|
|
1032
|
-
type: BooleanConstructor;
|
|
1033
|
-
default: boolean;
|
|
1034
|
-
};
|
|
1035
|
-
bottomSheet: {
|
|
1036
|
-
type: BooleanConstructor;
|
|
1037
|
-
default: boolean;
|
|
1038
|
-
};
|
|
1039
|
-
persistent: {
|
|
1040
|
-
type: BooleanConstructor;
|
|
1041
|
-
default: boolean;
|
|
1042
|
-
};
|
|
1043
|
-
}>, () => VNode<RendererNode, RendererElement, {
|
|
1044
|
-
[key: string]: any;
|
|
1045
|
-
}> | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
1046
|
-
modelValue: {
|
|
1047
|
-
type: BooleanConstructor;
|
|
1048
|
-
default: boolean;
|
|
1049
|
-
};
|
|
1050
|
-
modalId: {
|
|
1051
|
-
type: StringConstructor;
|
|
1052
|
-
default: undefined;
|
|
1053
|
-
};
|
|
1054
|
-
backdrop: {
|
|
1055
|
-
type: BooleanConstructor;
|
|
1056
|
-
default: boolean;
|
|
1057
|
-
};
|
|
1058
|
-
size: {
|
|
1059
|
-
type: () => KrdsModalSize;
|
|
1060
|
-
default: string;
|
|
1061
|
-
};
|
|
1062
|
-
full: {
|
|
1063
|
-
type: BooleanConstructor;
|
|
1064
|
-
default: boolean;
|
|
1065
|
-
};
|
|
1066
|
-
bottomSheet: {
|
|
1067
|
-
type: BooleanConstructor;
|
|
1068
|
-
default: boolean;
|
|
1069
|
-
};
|
|
1070
|
-
persistent: {
|
|
1071
|
-
type: BooleanConstructor;
|
|
1072
|
-
default: boolean;
|
|
1073
|
-
};
|
|
1074
|
-
}>> & Readonly<{
|
|
1075
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1076
|
-
}>, {
|
|
1077
|
-
size: KrdsModalSize;
|
|
1078
|
-
modelValue: boolean;
|
|
1079
|
-
modalId: string;
|
|
1080
|
-
backdrop: boolean;
|
|
1081
|
-
full: boolean;
|
|
1082
|
-
bottomSheet: boolean;
|
|
1083
|
-
persistent: boolean;
|
|
1084
|
-
}, SlotsType<{
|
|
1085
|
-
title?: () => any;
|
|
1086
|
-
default?: () => any;
|
|
1087
|
-
footer?: () => any;
|
|
1088
|
-
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1089
|
-
|
|
1090
|
-
export declare interface KrdsModalProps {
|
|
1091
|
-
modelValue?: boolean;
|
|
1092
|
-
modalId?: string;
|
|
1093
|
-
backdrop?: boolean;
|
|
1094
|
-
size?: KrdsModalSize;
|
|
1095
|
-
full?: boolean;
|
|
1096
|
-
bottomSheet?: boolean;
|
|
1097
|
-
persistent?: boolean;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
export declare type KrdsModalSize = 'small' | 'medium' | 'large';
|
|
1101
|
-
|
|
1102
|
-
export declare const KrdsPagination: DefineComponent<KrdsPaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1103
|
-
"update:modelValue": (value: number) => any;
|
|
1104
|
-
}, string, PublicProps, Readonly<KrdsPaginationProps> & Readonly<{
|
|
1105
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1106
|
-
}>, {
|
|
1107
|
-
id: string;
|
|
1108
|
-
modelValue: number;
|
|
1109
|
-
min: number;
|
|
1110
|
-
ariaLabel: string;
|
|
1111
|
-
pageRange: number;
|
|
1112
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* KRDS Pagination 컴포넌트 이벤트
|
|
1116
|
-
*/
|
|
1117
|
-
export declare interface KrdsPaginationEmits {
|
|
1118
|
-
/** v-model 업데이트 이벤트 */
|
|
1119
|
-
'update:modelValue': [value: number];
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* KRDS Pagination 컴포넌트 속성
|
|
1124
|
-
*/
|
|
1125
|
-
export declare interface KrdsPaginationProps {
|
|
1126
|
-
/** 현재 페이지 번호 (v-model) */
|
|
1127
|
-
modelValue?: number;
|
|
1128
|
-
/** 최소 페이지 번호 (기본값: 1, 최소값: 1) */
|
|
1129
|
-
min?: number;
|
|
1130
|
-
/** 최대 페이지 번호 (전체 페이지 수) */
|
|
1131
|
-
max: number;
|
|
1132
|
-
/** 엘리먼트 ID */
|
|
1133
|
-
id?: string;
|
|
1134
|
-
/** 접근성 라벨 */
|
|
1135
|
-
ariaLabel?: string;
|
|
1136
|
-
/** 표시할 페이지 범위 */
|
|
1137
|
-
pageRange?: number;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
export declare const KrdsPanel: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1141
|
-
|
|
1142
|
-
export declare interface KrdsPanelProps {
|
|
1143
|
-
modelValue?: boolean;
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
export declare const KrdsRadio: DefineComponent<KrdsRadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsRadioProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1147
|
-
|
|
1148
|
-
/**
|
|
1149
|
-
* KRDS Radio 컴포넌트 이벤트
|
|
1150
|
-
*/
|
|
1151
|
-
export declare interface KrdsRadioEmits {
|
|
1152
|
-
(e: 'update:modelValue', value: string | number | boolean): void;
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* KRDS Radio 컴포넌트 속성
|
|
1157
|
-
*/
|
|
1158
|
-
export declare interface KrdsRadioProps extends BaseFormProps {
|
|
1159
|
-
/** 모델 값 */
|
|
1160
|
-
modelValue?: string | number | boolean;
|
|
1161
|
-
/** 라디오 값 */
|
|
1162
|
-
value: string | number | boolean;
|
|
1163
|
-
/** 비활성화 여부 */
|
|
1164
|
-
disabled?: boolean;
|
|
1165
|
-
/** 크기 */
|
|
1166
|
-
size?: 'medium' | 'large';
|
|
1167
|
-
/** Chip 스타일 여부 */
|
|
1168
|
-
chip?: boolean;
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
export declare const KrdsResize: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1172
|
-
close: () => any;
|
|
1173
|
-
"update:modelValue": (value: string) => any;
|
|
1174
|
-
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
1175
|
-
onClose?: (() => any) | undefined;
|
|
1176
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1177
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1178
|
-
dropdownRef: HTMLDivElement;
|
|
1179
|
-
buttonRef: HTMLButtonElement;
|
|
1180
|
-
}, any>;
|
|
1181
|
-
|
|
1182
|
-
export declare interface KrdsResizeEmits {
|
|
1183
|
-
'update:modelValue': [value: string];
|
|
1184
|
-
close: [];
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
export declare const KrdsSelect: DefineComponent<KrdsSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* KRDS Select 컴포넌트 이벤트
|
|
1191
|
-
*/
|
|
1192
|
-
export declare interface KrdsSelectEmits {
|
|
1193
|
-
(e: 'update:modelValue', value: string | number | null): void;
|
|
1194
|
-
(e: 'focus', event: FocusEvent): void;
|
|
1195
|
-
(e: 'blur', event: FocusEvent): void;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* KRDS Select 컴포넌트 속성
|
|
1200
|
-
*/
|
|
1201
|
-
export declare interface KrdsSelectProps extends BaseFormProps {
|
|
1202
|
-
/** 선택된 값 */
|
|
1203
|
-
modelValue?: string | number | null;
|
|
1204
|
-
/** 선택 크기 */
|
|
1205
|
-
size?: Size;
|
|
1206
|
-
/** 타이틀 */
|
|
1207
|
-
title?: string;
|
|
1208
|
-
/** 옵션 목록 */
|
|
1209
|
-
options?: SelectOption[];
|
|
1210
|
-
/** 플레이스홀더 */
|
|
1211
|
-
placeholder?: string;
|
|
1212
|
-
/** 비활성화 여부 */
|
|
1213
|
-
disabled?: boolean;
|
|
1214
|
-
/** 입력 상태 */
|
|
1215
|
-
state?: 'default' | 'error' | 'success' | 'information';
|
|
1216
|
-
/** 정렬 스타일 여부 */
|
|
1217
|
-
sort?: boolean;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
/**
|
|
1221
|
-
* KRDS SkipLink 컴포넌트
|
|
1222
|
-
*
|
|
1223
|
-
* 건너뛰기 링크는 웹사이트에서 웹 페이지의 주요 콘텐츠 섹션의 탐색을 도와주는 페이지 내부 링크입니다.
|
|
1224
|
-
* 키보드나 가상 초점을 이용하여 콘텐츠를 탐색하는 사용자는 건너뛰기 링크를 이용하여
|
|
1225
|
-
* 대부분의 페이지에서 반복되는 콘텐츠 영역을 건너뛰고 주요 콘텐츠로 빠르게 이동할 수 있습니다.
|
|
1226
|
-
*
|
|
1227
|
-
* @example
|
|
1228
|
-
* ```vue
|
|
1229
|
-
* <KrdsSkipLink href="#main-content">본문 바로가기</KrdsSkipLink>
|
|
1230
|
-
* <KrdsSkipLink href="#breadcrumb">본문 바로가기</KrdsSkipLink>
|
|
1231
|
-
* <KrdsSkipLink href="#gnb">메인메뉴 바로가기</KrdsSkipLink>
|
|
1232
|
-
* ```
|
|
1233
|
-
*/
|
|
1234
|
-
export declare const KrdsSkipLink: DefineComponent<ExtractPropTypes< {
|
|
1235
|
-
/**
|
|
1236
|
-
* 건너뛸 대상 요소의 ID
|
|
1237
|
-
* @example '#main-content', '#breadcrumb'
|
|
1238
|
-
*/
|
|
1239
|
-
href: {
|
|
1240
|
-
type: StringConstructor;
|
|
1241
|
-
required: true;
|
|
1242
|
-
validator: (value: string) => boolean;
|
|
1243
|
-
};
|
|
1244
|
-
/**
|
|
1245
|
-
* 추가 CSS 클래스
|
|
1246
|
-
*/
|
|
1247
|
-
class: {
|
|
1248
|
-
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1249
|
-
default: undefined;
|
|
1250
|
-
};
|
|
1251
|
-
/**
|
|
1252
|
-
* 요소 ID
|
|
1253
|
-
*/
|
|
1254
|
-
id: {
|
|
1255
|
-
type: StringConstructor;
|
|
1256
|
-
default: string;
|
|
1257
|
-
};
|
|
1258
|
-
}>, () => VNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1259
|
-
/**
|
|
1260
|
-
* 건너뛸 대상 요소의 ID
|
|
1261
|
-
* @example '#main-content', '#breadcrumb'
|
|
1262
|
-
*/
|
|
1263
|
-
href: {
|
|
1264
|
-
type: StringConstructor;
|
|
1265
|
-
required: true;
|
|
1266
|
-
validator: (value: string) => boolean;
|
|
1267
|
-
};
|
|
1268
|
-
/**
|
|
1269
|
-
* 추가 CSS 클래스
|
|
1270
|
-
*/
|
|
1271
|
-
class: {
|
|
1272
|
-
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1273
|
-
default: undefined;
|
|
1274
|
-
};
|
|
1275
|
-
/**
|
|
1276
|
-
* 요소 ID
|
|
1277
|
-
*/
|
|
1278
|
-
id: {
|
|
1279
|
-
type: StringConstructor;
|
|
1280
|
-
default: string;
|
|
1281
|
-
};
|
|
1282
|
-
}>> & Readonly<{}>, {
|
|
1283
|
-
class: string | unknown[] | Record<string, any>;
|
|
1284
|
-
id: string;
|
|
1285
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1286
|
-
|
|
1287
|
-
/**
|
|
1288
|
-
* KRDS SkipLink 컴포넌트 속성
|
|
1289
|
-
*/
|
|
1290
|
-
export declare interface KrdsSkipLinkProps extends BaseComponentProps {
|
|
1291
|
-
/** 건너뛸 대상 요소의 ID */
|
|
1292
|
-
href: string;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
export declare const KrdsSpinner: DefineComponent<ExtractPropTypes< {
|
|
1296
|
-
label: {
|
|
1297
|
-
type: StringConstructor;
|
|
1298
|
-
default: undefined;
|
|
1299
|
-
};
|
|
1300
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1301
|
-
label: {
|
|
1302
|
-
type: StringConstructor;
|
|
1303
|
-
default: undefined;
|
|
1304
|
-
};
|
|
1305
|
-
}>> & Readonly<{}>, {
|
|
1306
|
-
label: string;
|
|
1307
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1308
|
-
|
|
1309
|
-
export declare const KrdsStep: DefineComponent<KrdsStepProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsStepProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
* KRDS Step 컴포넌트 이벤트
|
|
1313
|
-
*/
|
|
1314
|
-
export declare interface KrdsStepEmits {
|
|
1315
|
-
(e: 'click', event: MouseEvent, step: string | number): void;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
export declare const KrdsStepIndicator: DefineComponent<KrdsStepIndicatorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsStepIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1319
|
-
|
|
1320
|
-
/**
|
|
1321
|
-
* KRDS StepIndicator 컴포넌트 이벤트
|
|
1322
|
-
*/
|
|
1323
|
-
export declare interface KrdsStepIndicatorEmits {
|
|
1324
|
-
(e: 'update:modelValue', value: number): void;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
* KRDS StepIndicator 컴포넌트 속성
|
|
1329
|
-
*/
|
|
1330
|
-
export declare interface KrdsStepIndicatorProps extends BaseComponentProps {
|
|
1331
|
-
/** 현재 활성 단계 인덱스 (0부터 시작) - v-model */
|
|
1332
|
-
modelValue?: number;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
* KRDS Step 컴포넌트 속성
|
|
1337
|
-
*/
|
|
1338
|
-
export declare interface KrdsStepProps extends BaseComponentProps {
|
|
1339
|
-
/** 단계 번호 */
|
|
1340
|
-
step: string | number;
|
|
1341
|
-
/** 단계 제목 */
|
|
1342
|
-
title: string;
|
|
1343
|
-
/** 단계 상태 강제 설정 (선택적) */
|
|
1344
|
-
status?: 'done' | 'active' | 'pending';
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
export declare const KrdsTag: DefineComponent<KrdsTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTagProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
* KRDS Tag 컴포넌트 이벤트
|
|
1351
|
-
*/
|
|
1352
|
-
export declare interface KrdsTagEmits {
|
|
1353
|
-
(e: 'remove', event: MouseEvent): void;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
export declare const KrdsTagGroup: DefineComponent<KrdsTagGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTagGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1357
|
-
|
|
1358
|
-
/**
|
|
1359
|
-
* KRDS TagGroup 컴포넌트 속성
|
|
1360
|
-
*/
|
|
1361
|
-
export declare interface KrdsTagGroupProps extends BaseComponentProps {
|
|
1362
|
-
/** 태그 그룹 크기 */
|
|
1363
|
-
size?: KrdsTagGroupSize;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* KRDS TagGroup 크기 타입
|
|
1368
|
-
*/
|
|
1369
|
-
export declare type KrdsTagGroupSize = 'small' | 'medium' | 'large';
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* KRDS Tag 컴포넌트 속성
|
|
1373
|
-
*/
|
|
1374
|
-
export declare interface KrdsTagProps extends BaseComponentProps {
|
|
1375
|
-
/** 링크 태그 여부 */
|
|
1376
|
-
link?: boolean;
|
|
1377
|
-
/** 링크 URL (link가 true일 때 사용) */
|
|
1378
|
-
href?: string;
|
|
1379
|
-
/** 링크 타겟 (link가 true일 때 사용) */
|
|
1380
|
-
target?: string;
|
|
1381
|
-
/** 링크 관계 (link가 true일 때 사용) */
|
|
1382
|
-
rel?: string;
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
export declare const KrdsTextarea: DefineComponent<ExtractPropTypes< {
|
|
1386
|
-
modelValue: {
|
|
1387
|
-
type: StringConstructor;
|
|
1388
|
-
default: string;
|
|
1389
|
-
};
|
|
1390
|
-
size: {
|
|
1391
|
-
type: () => Size;
|
|
1392
|
-
default: undefined;
|
|
1393
|
-
};
|
|
1394
|
-
placeholder: {
|
|
1395
|
-
type: StringConstructor;
|
|
1396
|
-
default: undefined;
|
|
1397
|
-
};
|
|
1398
|
-
maxlength: {
|
|
1399
|
-
type: NumberConstructor;
|
|
1400
|
-
default: undefined;
|
|
1401
|
-
};
|
|
1402
|
-
minlength: {
|
|
1403
|
-
type: NumberConstructor;
|
|
1404
|
-
default: undefined;
|
|
1405
|
-
};
|
|
1406
|
-
rows: {
|
|
1407
|
-
type: NumberConstructor;
|
|
1408
|
-
default: number;
|
|
1409
|
-
};
|
|
1410
|
-
cols: {
|
|
1411
|
-
type: NumberConstructor;
|
|
1412
|
-
default: undefined;
|
|
1413
|
-
};
|
|
1414
|
-
autofocus: {
|
|
1415
|
-
type: BooleanConstructor;
|
|
1416
|
-
default: boolean;
|
|
1417
|
-
};
|
|
1418
|
-
name: {
|
|
1419
|
-
type: StringConstructor;
|
|
1420
|
-
default: undefined;
|
|
1421
|
-
};
|
|
1422
|
-
required: {
|
|
1423
|
-
type: BooleanConstructor;
|
|
1424
|
-
default: boolean;
|
|
1425
|
-
};
|
|
1426
|
-
readonly: {
|
|
1427
|
-
type: BooleanConstructor;
|
|
1428
|
-
default: boolean;
|
|
1429
|
-
};
|
|
1430
|
-
disabled: {
|
|
1431
|
-
type: BooleanConstructor;
|
|
1432
|
-
default: boolean;
|
|
1433
|
-
};
|
|
1434
|
-
showCount: {
|
|
1435
|
-
type: BooleanConstructor;
|
|
1436
|
-
default: boolean;
|
|
1437
|
-
};
|
|
1438
|
-
resize: {
|
|
1439
|
-
type: () => "none" | "both" | "horizontal" | "vertical";
|
|
1440
|
-
default: string;
|
|
1441
|
-
};
|
|
1442
|
-
class: {
|
|
1443
|
-
type: StringConstructor;
|
|
1444
|
-
default: undefined;
|
|
1445
|
-
};
|
|
1446
|
-
style: {
|
|
1447
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
1448
|
-
default: undefined;
|
|
1449
|
-
};
|
|
1450
|
-
id: {
|
|
1451
|
-
type: StringConstructor;
|
|
1452
|
-
default: undefined;
|
|
1453
|
-
};
|
|
1454
|
-
}>, () => VNode<RendererNode, RendererElement, {
|
|
1455
|
-
[key: string]: any;
|
|
1456
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("focus" | "input" | "blur" | "change" | "keydown" | "keyup" | "update:modelValue")[], "focus" | "input" | "blur" | "change" | "keydown" | "keyup" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
1457
|
-
modelValue: {
|
|
1458
|
-
type: StringConstructor;
|
|
1459
|
-
default: string;
|
|
1460
|
-
};
|
|
1461
|
-
size: {
|
|
1462
|
-
type: () => Size;
|
|
1463
|
-
default: undefined;
|
|
1464
|
-
};
|
|
1465
|
-
placeholder: {
|
|
1466
|
-
type: StringConstructor;
|
|
1467
|
-
default: undefined;
|
|
1468
|
-
};
|
|
1469
|
-
maxlength: {
|
|
1470
|
-
type: NumberConstructor;
|
|
1471
|
-
default: undefined;
|
|
1472
|
-
};
|
|
1473
|
-
minlength: {
|
|
1474
|
-
type: NumberConstructor;
|
|
1475
|
-
default: undefined;
|
|
1476
|
-
};
|
|
1477
|
-
rows: {
|
|
1478
|
-
type: NumberConstructor;
|
|
1479
|
-
default: number;
|
|
1480
|
-
};
|
|
1481
|
-
cols: {
|
|
1482
|
-
type: NumberConstructor;
|
|
1483
|
-
default: undefined;
|
|
1484
|
-
};
|
|
1485
|
-
autofocus: {
|
|
1486
|
-
type: BooleanConstructor;
|
|
1487
|
-
default: boolean;
|
|
1488
|
-
};
|
|
1489
|
-
name: {
|
|
1490
|
-
type: StringConstructor;
|
|
1491
|
-
default: undefined;
|
|
1492
|
-
};
|
|
1493
|
-
required: {
|
|
1494
|
-
type: BooleanConstructor;
|
|
1495
|
-
default: boolean;
|
|
1496
|
-
};
|
|
1497
|
-
readonly: {
|
|
1498
|
-
type: BooleanConstructor;
|
|
1499
|
-
default: boolean;
|
|
1500
|
-
};
|
|
1501
|
-
disabled: {
|
|
1502
|
-
type: BooleanConstructor;
|
|
1503
|
-
default: boolean;
|
|
1504
|
-
};
|
|
1505
|
-
showCount: {
|
|
1506
|
-
type: BooleanConstructor;
|
|
1507
|
-
default: boolean;
|
|
1508
|
-
};
|
|
1509
|
-
resize: {
|
|
1510
|
-
type: () => "none" | "both" | "horizontal" | "vertical";
|
|
1511
|
-
default: string;
|
|
1512
|
-
};
|
|
1513
|
-
class: {
|
|
1514
|
-
type: StringConstructor;
|
|
1515
|
-
default: undefined;
|
|
1516
|
-
};
|
|
1517
|
-
style: {
|
|
1518
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
1519
|
-
default: undefined;
|
|
1520
|
-
};
|
|
1521
|
-
id: {
|
|
1522
|
-
type: StringConstructor;
|
|
1523
|
-
default: undefined;
|
|
1524
|
-
};
|
|
1525
|
-
}>> & Readonly<{
|
|
1526
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
1527
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
1528
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1529
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1530
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
1531
|
-
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
1532
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1533
|
-
}>, {
|
|
1534
|
-
name: string;
|
|
1535
|
-
required: boolean;
|
|
1536
|
-
readonly: boolean;
|
|
1537
|
-
disabled: boolean;
|
|
1538
|
-
size: Size;
|
|
1539
|
-
class: string;
|
|
1540
|
-
style: string | Record<string, any>;
|
|
1541
|
-
id: string;
|
|
1542
|
-
resize: "horizontal" | "vertical" | "none" | "both";
|
|
1543
|
-
modelValue: string;
|
|
1544
|
-
placeholder: string;
|
|
1545
|
-
maxlength: number;
|
|
1546
|
-
minlength: number;
|
|
1547
|
-
autofocus: boolean;
|
|
1548
|
-
rows: number;
|
|
1549
|
-
cols: number;
|
|
1550
|
-
showCount: boolean;
|
|
1551
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* KRDS Textarea 컴포넌트 이벤트
|
|
1555
|
-
*/
|
|
1556
|
-
export declare interface KrdsTextareaEmits {
|
|
1557
|
-
(e: 'update:modelValue', value: string): void;
|
|
1558
|
-
(e: 'input', event: Event): void;
|
|
1559
|
-
(e: 'change', event: Event): void;
|
|
1560
|
-
(e: 'focus', event: FocusEvent): void;
|
|
1561
|
-
(e: 'blur', event: FocusEvent): void;
|
|
1562
|
-
(e: 'keydown', event: KeyboardEvent): void;
|
|
1563
|
-
(e: 'keyup', event: KeyboardEvent): void;
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
/**
|
|
1567
|
-
* KRDS Textarea 컴포넌트 속성
|
|
1568
|
-
*/
|
|
1569
|
-
export declare interface KrdsTextareaProps extends BaseFormProps {
|
|
1570
|
-
/** 입력값 */
|
|
1571
|
-
modelValue?: string;
|
|
1572
|
-
/** 입력 크기 */
|
|
1573
|
-
size?: Size;
|
|
1574
|
-
/** 플레이스홀더 */
|
|
1575
|
-
placeholder?: string;
|
|
1576
|
-
/** 최대 글자 수 */
|
|
1577
|
-
maxlength?: number;
|
|
1578
|
-
/** 최소 글자 수 */
|
|
1579
|
-
minlength?: number;
|
|
1580
|
-
/** 행 수 */
|
|
1581
|
-
rows?: number;
|
|
1582
|
-
/** 열 수 */
|
|
1583
|
-
cols?: number;
|
|
1584
|
-
/** 자동 포커스 */
|
|
1585
|
-
autofocus?: boolean;
|
|
1586
|
-
/** 비활성화 여부 */
|
|
1587
|
-
disabled?: boolean;
|
|
1588
|
-
/** 글자 수 표시 여부 */
|
|
1589
|
-
showCount?: boolean;
|
|
1590
|
-
/** 리사이즈 가능 여부 */
|
|
1591
|
-
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
export declare const KrdsToggleSwitch: DefineComponent<KrdsToggleSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsToggleSwitchProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1595
|
-
|
|
1596
|
-
/**
|
|
1597
|
-
* KRDS ToggleSwitch 컴포넌트 이벤트
|
|
1598
|
-
*/
|
|
1599
|
-
export declare interface KrdsToggleSwitchEmits {
|
|
1600
|
-
(e: 'update:modelValue', value: boolean): void;
|
|
1601
|
-
(e: 'change', value: boolean): void;
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
|
-
/**
|
|
1605
|
-
* KRDS ToggleSwitch 컴포넌트 속성
|
|
1606
|
-
*/
|
|
1607
|
-
export declare interface KrdsToggleSwitchProps extends BaseFormProps {
|
|
1608
|
-
/** 모델 값 */
|
|
1609
|
-
modelValue?: boolean;
|
|
1610
|
-
/** 비활성화 여부 */
|
|
1611
|
-
disabled?: boolean;
|
|
1612
|
-
/** 스위치 라벨 */
|
|
1613
|
-
label?: string;
|
|
1614
|
-
/** 크기 */
|
|
1615
|
-
size?: 'medium' | 'large';
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
export declare const KrdsTooltip: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1619
|
-
|
|
1620
|
-
export declare interface KrdsTooltipProps extends BaseComponentProps {
|
|
1621
|
-
type?: TooltipType;
|
|
1622
|
-
tooltipContent: string;
|
|
1623
|
-
vertical?: boolean;
|
|
1624
|
-
box?: boolean;
|
|
1625
|
-
disabled?: boolean;
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
export declare const KrdsTts: DefineComponent<KrdsTtsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTtsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1629
|
-
|
|
1630
|
-
/**
|
|
1631
|
-
* KRDS TTS 컴포넌트 이벤트
|
|
1632
|
-
*/
|
|
1633
|
-
export declare interface KrdsTtsEmits {
|
|
1634
|
-
(e: 'play', text: string): void;
|
|
1635
|
-
(e: 'pause'): void;
|
|
1636
|
-
(e: 'end'): void;
|
|
1637
|
-
(e: 'error', error: Error): void;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* KRDS TTS 컴포넌트 속성
|
|
1642
|
-
*/
|
|
1643
|
-
export declare interface KrdsTtsProps extends BaseComponentProps {
|
|
1644
|
-
/** 읽어줄 텍스트 */
|
|
1645
|
-
text: string;
|
|
1646
|
-
/** 레이블 텍스트 (미지정 시 아이콘만 표시) */
|
|
1647
|
-
label?: string;
|
|
1648
|
-
/** 버튼 크기 */
|
|
1649
|
-
size?: TtsSize;
|
|
1650
|
-
/** 아이콘 타입 */
|
|
1651
|
-
icon?: TtsIcon;
|
|
1652
|
-
/** 비활성화 여부 */
|
|
1653
|
-
disabled?: boolean;
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* KRDS Vue 플러그인
|
|
1658
|
-
*/
|
|
1659
|
-
declare const KrdsVue: Plugin_2;
|
|
1660
|
-
export default KrdsVue;
|
|
1661
|
-
|
|
1662
|
-
/**
|
|
1663
|
-
* KRDS Vue 플러그인 설정 옵션
|
|
1664
|
-
*/
|
|
1665
|
-
export declare interface KrdsVueOptions {
|
|
1666
|
-
/** 설치할 컴포넌트 목록 (비어있으면 전체 설치) */
|
|
1667
|
-
components?: string[];
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
declare type LanguageData = {
|
|
1671
|
-
code: string;
|
|
1672
|
-
name: string;
|
|
1673
|
-
url?: string;
|
|
1674
|
-
};
|
|
1675
|
-
|
|
1676
|
-
/**
|
|
1677
|
-
* 로딩 상태 속성
|
|
1678
|
-
*/
|
|
1679
|
-
export declare interface LoadingProps {
|
|
1680
|
-
/** 로딩 중 여부 */
|
|
1681
|
-
loading?: boolean;
|
|
1682
|
-
/** 로딩 텍스트 */
|
|
1683
|
-
loadingText?: string;
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
/**
|
|
1687
|
-
* 네비게이션 아이템 인터페이스
|
|
1688
|
-
*/
|
|
1689
|
-
export declare interface NavigationItem {
|
|
1690
|
-
/** 링크 URL (앵커 링크) */
|
|
1691
|
-
href: string;
|
|
1692
|
-
/** 표시될 텍스트 */
|
|
1693
|
-
text: string;
|
|
1694
|
-
/** 활성 상태 여부 */
|
|
1695
|
-
active?: boolean;
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
/**
|
|
1699
|
-
* 유틸리티 타입들
|
|
1700
|
-
*/
|
|
1701
|
-
export declare type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
1702
|
-
|
|
1703
|
-
/**
|
|
1704
|
-
* 위치 타입
|
|
1705
|
-
*/
|
|
1706
|
-
export declare type Position = 'top' | 'bottom' | 'left' | 'right';
|
|
1707
|
-
|
|
1708
|
-
export declare type RequiredKeys<T> = {
|
|
1709
|
-
[K in keyof T]-?: object extends Pick<T, K> ? never : K;
|
|
1710
|
-
}[keyof T];
|
|
1711
|
-
|
|
1712
|
-
/**
|
|
1713
|
-
* 반응형 값 타입
|
|
1714
|
-
*/
|
|
1715
|
-
export declare type ResponsiveValue<T> = T | {
|
|
1716
|
-
mobile?: T;
|
|
1717
|
-
tablet?: T;
|
|
1718
|
-
desktop?: T;
|
|
1719
|
-
};
|
|
1720
|
-
|
|
1721
|
-
/**
|
|
1722
|
-
* KRDS Select 옵션 타입
|
|
1723
|
-
*/
|
|
1724
|
-
export declare interface SelectOption {
|
|
1725
|
-
/** 옵션 값 */
|
|
1726
|
-
value: string | number;
|
|
1727
|
-
/** 옵션 레이블 */
|
|
1728
|
-
label: string;
|
|
1729
|
-
/** 비활성화 여부 */
|
|
1730
|
-
disabled?: boolean;
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* 기본 크기 타입 (KRDS 실제 규격)
|
|
1735
|
-
*/
|
|
1736
|
-
export declare type Size = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
1737
|
-
|
|
1738
|
-
declare type StepsData = {
|
|
1739
|
-
id: number;
|
|
1740
|
-
title: string;
|
|
1741
|
-
description: string;
|
|
1742
|
-
};
|
|
1743
|
-
|
|
1744
|
-
declare type TooltipType = 'default' | 'icon' | 'button';
|
|
1745
|
-
|
|
1746
|
-
/**
|
|
1747
|
-
* TTS 아이콘 타입
|
|
1748
|
-
*/
|
|
1749
|
-
export declare type TtsIcon = 'volume' | 'play';
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* TTS 사이즈 타입
|
|
1753
|
-
*/
|
|
1754
|
-
export declare type TtsSize = 'xsmall' | 'small' | 'medium';
|
|
1755
|
-
|
|
1756
|
-
/**
|
|
1757
|
-
* 버튼 변형 타입
|
|
1758
|
-
*/
|
|
1759
|
-
export declare type Variant = 'primary' | 'secondary' | 'tertiary';
|
|
1760
|
-
|
|
1761
|
-
export declare const version = "__VERSION__";
|
|
1762
|
-
|
|
1763
|
-
export { }
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* 기본 크기 타입 (KRDS 실제 규격)
|
|
4
|
+
*/
|
|
5
|
+
export type Size = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
6
|
+
/**
|
|
7
|
+
* 입력 타입
|
|
8
|
+
*/
|
|
9
|
+
export type InputType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search';
|
|
10
|
+
/**
|
|
11
|
+
* 색상 변형 타입
|
|
12
|
+
*/
|
|
13
|
+
export type ColorVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
14
|
+
/**
|
|
15
|
+
* 버튼 변형 타입
|
|
16
|
+
*/
|
|
17
|
+
export type Variant = 'primary' | 'secondary' | 'tertiary';
|
|
18
|
+
/**
|
|
19
|
+
* 정렬 타입
|
|
20
|
+
*/
|
|
21
|
+
export type Alignment = 'left' | 'center' | 'right' | 'justify';
|
|
22
|
+
/**
|
|
23
|
+
* 방향 타입
|
|
24
|
+
*/
|
|
25
|
+
export type Direction = 'horizontal' | 'vertical';
|
|
26
|
+
/**
|
|
27
|
+
* 위치 타입
|
|
28
|
+
*/
|
|
29
|
+
export type Position = 'top' | 'bottom' | 'left' | 'right';
|
|
30
|
+
/**
|
|
31
|
+
* 컴포넌트 기본 속성
|
|
32
|
+
*/
|
|
33
|
+
export interface BaseComponentProps {
|
|
34
|
+
/** CSS 클래스 */
|
|
35
|
+
class?: string;
|
|
36
|
+
/** 인라인 스타일 */
|
|
37
|
+
style?: string | Record<string, string | number>;
|
|
38
|
+
/** HTML ID */
|
|
39
|
+
id?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 폼 컴포넌트 기본 속성
|
|
43
|
+
*/
|
|
44
|
+
export interface BaseFormProps extends BaseComponentProps {
|
|
45
|
+
/** 폼 필드 이름 */
|
|
46
|
+
name?: string;
|
|
47
|
+
/** 필수 입력 여부 */
|
|
48
|
+
required?: boolean;
|
|
49
|
+
/** 읽기 전용 여부 */
|
|
50
|
+
readonly?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* 아이콘 속성
|
|
54
|
+
*/
|
|
55
|
+
export interface IconProps {
|
|
56
|
+
/** 아이콘 이름 */
|
|
57
|
+
name: string;
|
|
58
|
+
/** 아이콘 크기 */
|
|
59
|
+
size?: Size | number;
|
|
60
|
+
/** 아이콘 색상 */
|
|
61
|
+
color?: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 로딩 상태 속성
|
|
65
|
+
*/
|
|
66
|
+
export interface LoadingProps {
|
|
67
|
+
/** 로딩 중 여부 */
|
|
68
|
+
loading?: boolean;
|
|
69
|
+
/** 로딩 텍스트 */
|
|
70
|
+
loadingText?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 컴포넌트 슬롯 타입
|
|
74
|
+
*/
|
|
75
|
+
export interface ComponentSlots {
|
|
76
|
+
default?: () => unknown;
|
|
77
|
+
[key: string]: ((...args: unknown[]) => unknown) | undefined;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* KRDS 컴포넌트 타입
|
|
81
|
+
*/
|
|
82
|
+
export type KrdsComponent<Props = object, Slots = object, Emits = object> = Component & {
|
|
83
|
+
__krdsComponent: true;
|
|
84
|
+
__krdsProps: Props;
|
|
85
|
+
__krdsSlots: Slots;
|
|
86
|
+
__krdsEmits: Emits;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* 유틸리티 타입들
|
|
90
|
+
*/
|
|
91
|
+
export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
92
|
+
export type RequiredKeys<T> = {
|
|
93
|
+
[K in keyof T]-?: object extends Pick<T, K> ? never : K;
|
|
94
|
+
}[keyof T];
|
|
95
|
+
/**
|
|
96
|
+
* CSS 변수 타입
|
|
97
|
+
*/
|
|
98
|
+
export type CSSCustomProperties = Record<`--${string}`, string | number>;
|
|
99
|
+
/**
|
|
100
|
+
* 반응형 값 타입
|
|
101
|
+
*/
|
|
102
|
+
export type ResponsiveValue<T> = T | {
|
|
103
|
+
mobile?: T;
|
|
104
|
+
tablet?: T;
|
|
105
|
+
desktop?: T;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* 컴포넌트 상태 타입
|
|
109
|
+
*/
|
|
110
|
+
export type ComponentState = 'default' | 'hover' | 'active' | 'focus' | 'disabled';
|
|
111
|
+
/**
|
|
112
|
+
* 입력 상태 타입
|
|
113
|
+
*/
|
|
114
|
+
export type InputState = ComponentState | 'error' | 'success';
|
|
115
|
+
//# sourceMappingURL=index.d.ts.map
|