@krds.ui/vue 0.0.14 → 0.0.16
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 +1 -1
- package/dist/fonts/PretendardGOV-Bold.subset.woff2 +0 -0
- package/dist/fonts/PretendardGOV-Medium.subset.woff2 +0 -0
- package/dist/fonts/PretendardGOV-Regular.subset.woff2 +0 -0
- package/dist/krds-vue.es.js +2259 -1459
- package/dist/krds-vue.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1141 -799
- package/package.json +45 -36
package/dist/types/index.d.ts
CHANGED
|
@@ -4,185 +4,13 @@ import { ComponentProvideOptions } from 'vue';
|
|
|
4
4
|
import { DefineComponent } from 'vue';
|
|
5
5
|
import { ExtractPropTypes } from 'vue';
|
|
6
6
|
import { Plugin as Plugin_2 } from 'vue';
|
|
7
|
+
import { PropType } from 'vue';
|
|
7
8
|
import { PublicProps } from 'vue';
|
|
8
9
|
import { RendererElement } from 'vue';
|
|
9
10
|
import { RendererNode } from 'vue';
|
|
10
11
|
import { SlotsType } from 'vue';
|
|
11
12
|
import { VNode } from 'vue';
|
|
12
13
|
|
|
13
|
-
declare const __VLS_component: DefineComponent<KrdsPanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
14
|
-
"update:modelValue": (value: boolean) => any;
|
|
15
|
-
}, string, PublicProps, Readonly<KrdsPanelProps> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
modelValue: boolean;
|
|
19
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
-
|
|
21
|
-
declare const __VLS_component_2: DefineComponent<KrdsContextualHelpProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsContextualHelpProps> & Readonly<{}>, {
|
|
22
|
-
tooltipTitle: string;
|
|
23
|
-
position: "top left" | "top center" | "top right" | "bottom left" | "bottom center" | "bottom right";
|
|
24
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
25
|
-
containerRef: HTMLDivElement;
|
|
26
|
-
tooltipBtnRef: HTMLButtonElement;
|
|
27
|
-
tooltipPopoverRef: HTMLDivElement;
|
|
28
|
-
closeBtnRef: HTMLButtonElement;
|
|
29
|
-
}, HTMLDivElement>;
|
|
30
|
-
|
|
31
|
-
declare const __VLS_component_3: DefineComponent<KrdsCoachMarkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
32
|
-
close: () => any;
|
|
33
|
-
"update:modelValue": (value: number | null) => any;
|
|
34
|
-
}, string, PublicProps, Readonly<KrdsCoachMarkProps> & Readonly<{
|
|
35
|
-
onClose?: (() => any) | undefined;
|
|
36
|
-
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
37
|
-
}>, {
|
|
38
|
-
modelValue: number | null;
|
|
39
|
-
coachMarkClass: string | string[];
|
|
40
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
41
|
-
|
|
42
|
-
declare const __VLS_component_4: DefineComponent<KrdsTooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTooltipProps> & Readonly<{}>, {
|
|
43
|
-
disabled: boolean;
|
|
44
|
-
type: TooltipType;
|
|
45
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
46
|
-
containerRef: HTMLDivElement;
|
|
47
|
-
popoverRef: HTMLDivElement;
|
|
48
|
-
}, HTMLDivElement>;
|
|
49
|
-
|
|
50
|
-
declare const __VLS_component_5: DefineComponent<KrdsLanguageSwitcherProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
51
|
-
close: () => any;
|
|
52
|
-
"update:modelValue": (value: string) => any;
|
|
53
|
-
}, string, PublicProps, Readonly<KrdsLanguageSwitcherProps> & Readonly<{
|
|
54
|
-
onClose?: (() => any) | undefined;
|
|
55
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
56
|
-
}>, {
|
|
57
|
-
type: "default" | "external";
|
|
58
|
-
modelValue: string;
|
|
59
|
-
dropPosition: DropdownPosition;
|
|
60
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
61
|
-
dropdownRef: HTMLDivElement;
|
|
62
|
-
buttonRef: HTMLButtonElement;
|
|
63
|
-
}, any>;
|
|
64
|
-
|
|
65
|
-
declare const __VLS_component_6: DefineComponent<KrdsAccordionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
66
|
-
toggle: (id: string) => any;
|
|
67
|
-
}, string, PublicProps, Readonly<KrdsAccordionItemProps> & Readonly<{
|
|
68
|
-
onToggle?: ((id: string) => any) | undefined;
|
|
69
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
70
|
-
|
|
71
|
-
declare function __VLS_template(): {
|
|
72
|
-
attrs: Partial<{}>;
|
|
73
|
-
slots: {
|
|
74
|
-
default?(_: {}): any;
|
|
75
|
-
};
|
|
76
|
-
refs: {};
|
|
77
|
-
rootEl: HTMLDivElement;
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
declare function __VLS_template_2(): {
|
|
81
|
-
attrs: Partial<{}>;
|
|
82
|
-
slots: {
|
|
83
|
-
default?(_: {}): any;
|
|
84
|
-
};
|
|
85
|
-
refs: {
|
|
86
|
-
containerRef: HTMLDivElement;
|
|
87
|
-
tooltipBtnRef: HTMLButtonElement;
|
|
88
|
-
tooltipPopoverRef: HTMLDivElement;
|
|
89
|
-
closeBtnRef: HTMLButtonElement;
|
|
90
|
-
};
|
|
91
|
-
rootEl: HTMLDivElement;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
declare function __VLS_template_3(): {
|
|
95
|
-
attrs: Partial<{}>;
|
|
96
|
-
slots: {
|
|
97
|
-
'coach-mark-content'?(_: {}): any;
|
|
98
|
-
};
|
|
99
|
-
refs: {};
|
|
100
|
-
rootEl: any;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
declare function __VLS_template_4(): {
|
|
104
|
-
attrs: Partial<{}>;
|
|
105
|
-
slots: {
|
|
106
|
-
default?(_: {}): any;
|
|
107
|
-
};
|
|
108
|
-
refs: {
|
|
109
|
-
containerRef: HTMLDivElement;
|
|
110
|
-
popoverRef: HTMLDivElement;
|
|
111
|
-
};
|
|
112
|
-
rootEl: HTMLDivElement;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
declare function __VLS_template_5(): {
|
|
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
14
|
/**
|
|
187
15
|
* 알림 타입
|
|
188
16
|
*/
|
|
@@ -260,6 +88,8 @@ export declare interface ComponentSlots {
|
|
|
260
88
|
*/
|
|
261
89
|
export declare type ComponentState = 'default' | 'hover' | 'active' | 'focus' | 'disabled';
|
|
262
90
|
|
|
91
|
+
declare type ContextualHelpPosition = 'top left' | 'top center' | 'top right' | 'bottom left' | 'bottom center' | 'bottom right';
|
|
92
|
+
|
|
263
93
|
/**
|
|
264
94
|
* CSS 변수 타입
|
|
265
95
|
*/
|
|
@@ -270,7 +100,7 @@ export declare type CSSCustomProperties = Record<`--${string}`, string | number>
|
|
|
270
100
|
*/
|
|
271
101
|
export declare type Direction = 'horizontal' | 'vertical';
|
|
272
102
|
|
|
273
|
-
declare type DropdownPosition = 'left' | 'center' | 'right';
|
|
103
|
+
export declare type DropdownPosition = 'left' | 'center' | 'right';
|
|
274
104
|
|
|
275
105
|
/**
|
|
276
106
|
* 파일 정보 인터페이스
|
|
@@ -344,16 +174,26 @@ export declare interface KrdsAccordionGroupProps extends BaseComponentProps {
|
|
|
344
174
|
typeLine?: boolean;
|
|
345
175
|
}
|
|
346
176
|
|
|
347
|
-
export declare const KrdsAccordionItem:
|
|
177
|
+
export declare const KrdsAccordionItem: DefineComponent<KrdsAccordionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsAccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
348
178
|
|
|
179
|
+
/**
|
|
180
|
+
* KRDS AccordionItem 컴포넌트 이벤트
|
|
181
|
+
*/
|
|
349
182
|
export declare interface KrdsAccordionItemEmits {
|
|
350
183
|
(e: 'toggle', id: string): void;
|
|
351
184
|
}
|
|
352
185
|
|
|
186
|
+
/**
|
|
187
|
+
* KRDS AccordionItem 컴포넌트 속성
|
|
188
|
+
*/
|
|
353
189
|
export declare interface KrdsAccordionItemProps {
|
|
190
|
+
/** 아이템 고유 식별자 */
|
|
354
191
|
id: string;
|
|
192
|
+
/** 현재 열려 있는 아이템의 id */
|
|
355
193
|
openItem?: string;
|
|
194
|
+
/** 헤더 텍스트 (title 슬롯으로 대체 가능) */
|
|
356
195
|
title?: string;
|
|
196
|
+
/** 본문 텍스트 (content 슬롯으로 대체 가능) */
|
|
357
197
|
content?: string;
|
|
358
198
|
}
|
|
359
199
|
|
|
@@ -377,21 +217,13 @@ export declare interface KrdsBadgeProps extends BaseComponentProps {
|
|
|
377
217
|
size?: 'large' | 'medium' | 'small';
|
|
378
218
|
}
|
|
379
219
|
|
|
380
|
-
export declare const KrdsBreadcrumb: DefineComponent<KrdsBreadcrumbProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
381
|
-
"item-click": (item: BreadcrumbItem, event: MouseEvent) => any;
|
|
382
|
-
}, string, PublicProps, Readonly<KrdsBreadcrumbProps> & Readonly<{
|
|
383
|
-
"onItem-click"?: ((item: BreadcrumbItem, event: MouseEvent) => any) | undefined;
|
|
384
|
-
}>, {
|
|
385
|
-
id: string;
|
|
386
|
-
ariaLabel: string;
|
|
387
|
-
showHomeIcon: boolean;
|
|
388
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
220
|
+
export declare const KrdsBreadcrumb: DefineComponent<KrdsBreadcrumbProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsBreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
389
221
|
|
|
390
222
|
/**
|
|
391
223
|
* KRDS Breadcrumb 컴포넌트 이벤트
|
|
392
224
|
*/
|
|
393
225
|
export declare interface KrdsBreadcrumbEmits {
|
|
394
|
-
'item-click'
|
|
226
|
+
(e: 'item-click', item: BreadcrumbItem, event: MouseEvent): void;
|
|
395
227
|
}
|
|
396
228
|
|
|
397
229
|
/**
|
|
@@ -446,6 +278,254 @@ export declare interface KrdsButtonProps extends BaseComponentProps {
|
|
|
446
278
|
disabled?: boolean;
|
|
447
279
|
}
|
|
448
280
|
|
|
281
|
+
export declare const KrdsCarousel: DefineComponent<ExtractPropTypes<{
|
|
282
|
+
variant: {
|
|
283
|
+
type: () => KrdsCarouselVariant;
|
|
284
|
+
default: string;
|
|
285
|
+
};
|
|
286
|
+
activeIndex: {
|
|
287
|
+
type: NumberConstructor;
|
|
288
|
+
default: undefined;
|
|
289
|
+
};
|
|
290
|
+
loop: {
|
|
291
|
+
type: BooleanConstructor;
|
|
292
|
+
default: boolean;
|
|
293
|
+
};
|
|
294
|
+
autoplay: {
|
|
295
|
+
type: BooleanConstructor;
|
|
296
|
+
default: boolean;
|
|
297
|
+
};
|
|
298
|
+
autoplayDelay: {
|
|
299
|
+
type: NumberConstructor;
|
|
300
|
+
default: number;
|
|
301
|
+
};
|
|
302
|
+
pauseOnHover: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
306
|
+
speed: {
|
|
307
|
+
type: NumberConstructor;
|
|
308
|
+
default: number;
|
|
309
|
+
};
|
|
310
|
+
spaceBetween: {
|
|
311
|
+
type: NumberConstructor;
|
|
312
|
+
default: undefined;
|
|
313
|
+
};
|
|
314
|
+
pagination: {
|
|
315
|
+
type: () => KrdsCarouselPaginationType;
|
|
316
|
+
default: undefined;
|
|
317
|
+
};
|
|
318
|
+
navigation: {
|
|
319
|
+
type: BooleanConstructor;
|
|
320
|
+
default: boolean;
|
|
321
|
+
};
|
|
322
|
+
moreHref: {
|
|
323
|
+
type: StringConstructor;
|
|
324
|
+
default: undefined;
|
|
325
|
+
};
|
|
326
|
+
ariaLabel: {
|
|
327
|
+
type: StringConstructor;
|
|
328
|
+
default: string;
|
|
329
|
+
};
|
|
330
|
+
prevLabel: {
|
|
331
|
+
type: StringConstructor;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
nextLabel: {
|
|
335
|
+
type: StringConstructor;
|
|
336
|
+
default: string;
|
|
337
|
+
};
|
|
338
|
+
playLabel: {
|
|
339
|
+
type: StringConstructor;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
342
|
+
stopLabel: {
|
|
343
|
+
type: StringConstructor;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
346
|
+
moreLabel: {
|
|
347
|
+
type: StringConstructor;
|
|
348
|
+
default: string;
|
|
349
|
+
};
|
|
350
|
+
id: {
|
|
351
|
+
type: StringConstructor;
|
|
352
|
+
default: undefined;
|
|
353
|
+
};
|
|
354
|
+
}>, () => VNode< RendererNode, RendererElement, {
|
|
355
|
+
[key: string]: any;
|
|
356
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "play" | "stop" | "update:activeIndex" | "more-click")[], "change" | "play" | "stop" | "update:activeIndex" | "more-click", PublicProps, Readonly< ExtractPropTypes<{
|
|
357
|
+
variant: {
|
|
358
|
+
type: () => KrdsCarouselVariant;
|
|
359
|
+
default: string;
|
|
360
|
+
};
|
|
361
|
+
activeIndex: {
|
|
362
|
+
type: NumberConstructor;
|
|
363
|
+
default: undefined;
|
|
364
|
+
};
|
|
365
|
+
loop: {
|
|
366
|
+
type: BooleanConstructor;
|
|
367
|
+
default: boolean;
|
|
368
|
+
};
|
|
369
|
+
autoplay: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
autoplayDelay: {
|
|
374
|
+
type: NumberConstructor;
|
|
375
|
+
default: number;
|
|
376
|
+
};
|
|
377
|
+
pauseOnHover: {
|
|
378
|
+
type: BooleanConstructor;
|
|
379
|
+
default: boolean;
|
|
380
|
+
};
|
|
381
|
+
speed: {
|
|
382
|
+
type: NumberConstructor;
|
|
383
|
+
default: number;
|
|
384
|
+
};
|
|
385
|
+
spaceBetween: {
|
|
386
|
+
type: NumberConstructor;
|
|
387
|
+
default: undefined;
|
|
388
|
+
};
|
|
389
|
+
pagination: {
|
|
390
|
+
type: () => KrdsCarouselPaginationType;
|
|
391
|
+
default: undefined;
|
|
392
|
+
};
|
|
393
|
+
navigation: {
|
|
394
|
+
type: BooleanConstructor;
|
|
395
|
+
default: boolean;
|
|
396
|
+
};
|
|
397
|
+
moreHref: {
|
|
398
|
+
type: StringConstructor;
|
|
399
|
+
default: undefined;
|
|
400
|
+
};
|
|
401
|
+
ariaLabel: {
|
|
402
|
+
type: StringConstructor;
|
|
403
|
+
default: string;
|
|
404
|
+
};
|
|
405
|
+
prevLabel: {
|
|
406
|
+
type: StringConstructor;
|
|
407
|
+
default: string;
|
|
408
|
+
};
|
|
409
|
+
nextLabel: {
|
|
410
|
+
type: StringConstructor;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
playLabel: {
|
|
414
|
+
type: StringConstructor;
|
|
415
|
+
default: string;
|
|
416
|
+
};
|
|
417
|
+
stopLabel: {
|
|
418
|
+
type: StringConstructor;
|
|
419
|
+
default: string;
|
|
420
|
+
};
|
|
421
|
+
moreLabel: {
|
|
422
|
+
type: StringConstructor;
|
|
423
|
+
default: string;
|
|
424
|
+
};
|
|
425
|
+
id: {
|
|
426
|
+
type: StringConstructor;
|
|
427
|
+
default: undefined;
|
|
428
|
+
};
|
|
429
|
+
}>> & Readonly<{
|
|
430
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
431
|
+
onPlay?: ((...args: any[]) => any) | undefined;
|
|
432
|
+
onStop?: ((...args: any[]) => any) | undefined;
|
|
433
|
+
"onUpdate:activeIndex"?: ((...args: any[]) => any) | undefined;
|
|
434
|
+
"onMore-click"?: ((...args: any[]) => any) | undefined;
|
|
435
|
+
}>, {
|
|
436
|
+
variant: KrdsCarouselVariant;
|
|
437
|
+
id: string;
|
|
438
|
+
ariaLabel: string;
|
|
439
|
+
navigation: boolean;
|
|
440
|
+
activeIndex: number;
|
|
441
|
+
loop: boolean;
|
|
442
|
+
autoplay: boolean;
|
|
443
|
+
autoplayDelay: number;
|
|
444
|
+
pauseOnHover: boolean;
|
|
445
|
+
speed: number;
|
|
446
|
+
spaceBetween: number;
|
|
447
|
+
pagination: KrdsCarouselPaginationType;
|
|
448
|
+
moreHref: string;
|
|
449
|
+
prevLabel: string;
|
|
450
|
+
nextLabel: string;
|
|
451
|
+
playLabel: string;
|
|
452
|
+
stopLabel: string;
|
|
453
|
+
moreLabel: string;
|
|
454
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* KRDS Carousel 컴포넌트 이벤트
|
|
458
|
+
*/
|
|
459
|
+
export declare interface KrdsCarouselEmits {
|
|
460
|
+
/** 현재 슬라이드 인덱스 업데이트 (v-model:activeIndex) */
|
|
461
|
+
(e: 'update:activeIndex', value: number): void;
|
|
462
|
+
/** 슬라이드 변경 완료 */
|
|
463
|
+
(e: 'change', value: number): void;
|
|
464
|
+
/** 자동 재생 시작 */
|
|
465
|
+
(e: 'play'): void;
|
|
466
|
+
/** 자동 재생 정지 */
|
|
467
|
+
(e: 'stop'): void;
|
|
468
|
+
/** 더 보기 클릭 */
|
|
469
|
+
(e: 'more-click', event: MouseEvent): void;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* 페이지네이션 표시 방식
|
|
474
|
+
* - `bullets`: 불릿(점) 목록, 클릭으로 이동 가능
|
|
475
|
+
* - `fraction`: `현재 / 전체` 분수 표기
|
|
476
|
+
* - `none`: 표시하지 않음
|
|
477
|
+
*/
|
|
478
|
+
export declare type KrdsCarouselPaginationType = 'bullets' | 'fraction' | 'none';
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* KRDS Carousel 컴포넌트 속성
|
|
482
|
+
*/
|
|
483
|
+
export declare interface KrdsCarouselProps {
|
|
484
|
+
/** 캐러셀 형태 (기본값: visual) */
|
|
485
|
+
variant?: KrdsCarouselVariant;
|
|
486
|
+
/** 현재 슬라이드 인덱스 (v-model:activeIndex) */
|
|
487
|
+
activeIndex?: number;
|
|
488
|
+
/** 처음/마지막 슬라이드에서 순환 이동 여부 (기본값: true) */
|
|
489
|
+
loop?: boolean;
|
|
490
|
+
/** 자동 재생 여부. true면 재생/정지 버튼을 노출하고 즉시 재생을 시작한다 (기본값: false) */
|
|
491
|
+
autoplay?: boolean;
|
|
492
|
+
/** 자동 재생 간격 (ms, 기본값: 2500) */
|
|
493
|
+
autoplayDelay?: number;
|
|
494
|
+
/** 마우스 오버 시 자동 재생 일시 정지 여부 (기본값: true). 포커스 진입 시에는 값과 무관하게 항상 정지한다 */
|
|
495
|
+
pauseOnHover?: boolean;
|
|
496
|
+
/** 슬라이드 전환 속도 (ms, 기본값: 400) */
|
|
497
|
+
speed?: number;
|
|
498
|
+
/** 슬라이드 사이 간격 (px, 기본값: visual 0 / banner 16) */
|
|
499
|
+
spaceBetween?: number;
|
|
500
|
+
/** 페이지네이션 표시 방식 (기본값: visual bullets / banner fraction) */
|
|
501
|
+
pagination?: KrdsCarouselPaginationType;
|
|
502
|
+
/** 이전/다음 버튼 표시 여부 (기본값: true) */
|
|
503
|
+
navigation?: boolean;
|
|
504
|
+
/** 더 보기 링크 URL. 지정하면 더 보기 버튼을 표시한다 */
|
|
505
|
+
moreHref?: string;
|
|
506
|
+
/** 캐러셀 영역 접근성 라벨 */
|
|
507
|
+
ariaLabel?: string;
|
|
508
|
+
/** 이전 버튼 라벨 */
|
|
509
|
+
prevLabel?: string;
|
|
510
|
+
/** 다음 버튼 라벨 */
|
|
511
|
+
nextLabel?: string;
|
|
512
|
+
/** 재생 버튼 라벨 */
|
|
513
|
+
playLabel?: string;
|
|
514
|
+
/** 정지 버튼 라벨 */
|
|
515
|
+
stopLabel?: string;
|
|
516
|
+
/** 더 보기 버튼 라벨 */
|
|
517
|
+
moreLabel?: string;
|
|
518
|
+
/** 엘리먼트 ID */
|
|
519
|
+
id?: string;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* 캐러셀 형태
|
|
524
|
+
* - `visual`: 비주얼 배너형 (원본 carousel.html, 이전/다음 버튼이 슬라이드 좌우에 겹쳐 배치)
|
|
525
|
+
* - `banner`: 배너형 (원본 carousel_banner.html, 인디케이터 안에 페이지네이션·재생 제어·내비게이션 배치)
|
|
526
|
+
*/
|
|
527
|
+
export declare type KrdsCarouselVariant = 'visual' | 'banner';
|
|
528
|
+
|
|
449
529
|
export declare const KrdsCheckArea: DefineComponent<KrdsCheckAreaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsCheckAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
450
530
|
|
|
451
531
|
/**
|
|
@@ -480,12 +560,27 @@ export declare interface KrdsCheckboxProps extends BaseFormProps {
|
|
|
480
560
|
chip?: boolean;
|
|
481
561
|
}
|
|
482
562
|
|
|
483
|
-
export declare const KrdsCoachMark:
|
|
563
|
+
export declare const KrdsCoachMark: DefineComponent<KrdsCoachMarkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsCoachMarkProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* KRDS CoachMark 컴포넌트 이벤트
|
|
567
|
+
*/
|
|
568
|
+
export declare interface KrdsCoachMarkEmits {
|
|
569
|
+
(e: 'update:modelValue', value: number | null): void;
|
|
570
|
+
(e: 'close'): void;
|
|
571
|
+
}
|
|
484
572
|
|
|
573
|
+
/**
|
|
574
|
+
* KRDS CoachMark 컴포넌트 속성
|
|
575
|
+
*/
|
|
485
576
|
export declare interface KrdsCoachMarkProps extends BaseComponentProps {
|
|
577
|
+
/** 코치마크 래퍼에 추가할 클래스 */
|
|
486
578
|
coachMarkClass?: string | string[];
|
|
579
|
+
/** 전체 단계 데이터 */
|
|
487
580
|
stepsData: StepsData[];
|
|
581
|
+
/** 이 코치마크가 담당하는 단계 번호 */
|
|
488
582
|
activeStep: number;
|
|
583
|
+
/** 현재 노출 중인 단계 (v-model) */
|
|
489
584
|
modelValue?: number | null;
|
|
490
585
|
}
|
|
491
586
|
|
|
@@ -499,12 +594,18 @@ export declare type KrdsComponent<Props = object, Slots = object, Emits = object
|
|
|
499
594
|
__krdsEmits: Emits;
|
|
500
595
|
};
|
|
501
596
|
|
|
502
|
-
export declare const KrdsContextualHelp:
|
|
597
|
+
export declare const KrdsContextualHelp: DefineComponent<KrdsContextualHelpProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsContextualHelpProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
503
598
|
|
|
599
|
+
/**
|
|
600
|
+
* KRDS ContextualHelp 컴포넌트 속성
|
|
601
|
+
*/
|
|
504
602
|
export declare interface KrdsContextualHelpProps {
|
|
603
|
+
/** 툴팁 제목 */
|
|
505
604
|
tooltipTitle?: string;
|
|
605
|
+
/** 도움말 아이콘 사용 여부 (false 면 툴팁 아이콘) */
|
|
506
606
|
helpIcon?: boolean;
|
|
507
|
-
|
|
607
|
+
/** 툴팁 노출 위치 */
|
|
608
|
+
position?: ContextualHelpPosition;
|
|
508
609
|
}
|
|
509
610
|
|
|
510
611
|
export declare const KrdsCriticalAlerts: DefineComponent<KrdsCriticalAlertsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsCriticalAlertsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -530,47 +631,17 @@ export declare interface KrdsCriticalAlertsProps extends BaseComponentProps {
|
|
|
530
631
|
linkText?: string;
|
|
531
632
|
}
|
|
532
633
|
|
|
533
|
-
export declare const KrdsDateInput: DefineComponent<KrdsDateInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
534
|
-
focus: (event: FocusEvent) => any;
|
|
535
|
-
input: (event: Event) => any;
|
|
536
|
-
blur: (event: FocusEvent) => any;
|
|
537
|
-
change: (event: Event) => any;
|
|
538
|
-
"update:modelValue": (value: string) => any;
|
|
539
|
-
}, string, PublicProps, Readonly<KrdsDateInputProps> & Readonly<{
|
|
540
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
541
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
542
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
543
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
544
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
545
|
-
}>, {
|
|
546
|
-
name: string;
|
|
547
|
-
required: boolean;
|
|
548
|
-
readonly: boolean;
|
|
549
|
-
disabled: boolean;
|
|
550
|
-
size: Size;
|
|
551
|
-
class: string;
|
|
552
|
-
id: string;
|
|
553
|
-
modelValue: string;
|
|
554
|
-
placeholder: string;
|
|
555
|
-
autofocus: boolean;
|
|
556
|
-
eventDates: string[];
|
|
557
|
-
holidays: string[];
|
|
558
|
-
initialYear: number;
|
|
559
|
-
initialMonth: number;
|
|
560
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
561
|
-
datePickerButtonRef: HTMLButtonElement;
|
|
562
|
-
datePickerAreaRef: HTMLDivElement;
|
|
563
|
-
}, HTMLDivElement>;
|
|
634
|
+
export declare const KrdsDateInput: DefineComponent<KrdsDateInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsDateInputProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
564
635
|
|
|
565
636
|
/**
|
|
566
637
|
* KRDS DateInput 컴포넌트 이벤트
|
|
567
638
|
*/
|
|
568
639
|
export declare interface KrdsDateInputEmits {
|
|
569
|
-
'update:modelValue'
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
640
|
+
(e: 'update:modelValue', value: string): void;
|
|
641
|
+
(e: 'input', event: Event): void;
|
|
642
|
+
(e: 'change', event: Event): void;
|
|
643
|
+
(e: 'focus', event: FocusEvent): void;
|
|
644
|
+
(e: 'blur', event: FocusEvent): void;
|
|
574
645
|
}
|
|
575
646
|
|
|
576
647
|
/**
|
|
@@ -618,212 +689,212 @@ export declare interface KrdsDisclosureProps extends BaseComponentProps {
|
|
|
618
689
|
modelValue?: boolean;
|
|
619
690
|
}
|
|
620
691
|
|
|
621
|
-
export declare const KrdsFileUpload: DefineComponent<ExtractPropTypes<
|
|
622
|
-
modelValue: {
|
|
623
|
-
type: () => FileInfo[];
|
|
624
|
-
default: () => never[];
|
|
625
|
-
};
|
|
626
|
-
size: {
|
|
627
|
-
type: () => Size;
|
|
628
|
-
default: string;
|
|
629
|
-
};
|
|
630
|
-
accept: {
|
|
631
|
-
type: StringConstructor;
|
|
632
|
-
default: undefined;
|
|
633
|
-
};
|
|
634
|
-
maxFiles: {
|
|
635
|
-
type: NumberConstructor;
|
|
636
|
-
default: number;
|
|
637
|
-
};
|
|
638
|
-
maxFileSize: {
|
|
639
|
-
type: NumberConstructor;
|
|
640
|
-
default: number;
|
|
641
|
-
};
|
|
642
|
-
multiple: {
|
|
643
|
-
type: BooleanConstructor;
|
|
644
|
-
default: boolean;
|
|
645
|
-
};
|
|
646
|
-
disabled: {
|
|
647
|
-
type: BooleanConstructor;
|
|
648
|
-
default: boolean;
|
|
649
|
-
};
|
|
650
|
-
dragAndDrop: {
|
|
651
|
-
type: BooleanConstructor;
|
|
652
|
-
default: boolean;
|
|
653
|
-
};
|
|
654
|
-
title: {
|
|
655
|
-
type: StringConstructor;
|
|
656
|
-
default: string;
|
|
657
|
-
};
|
|
658
|
-
description: {
|
|
659
|
-
type: StringConstructor;
|
|
660
|
-
default: string;
|
|
661
|
-
};
|
|
662
|
-
placeholder: {
|
|
663
|
-
type: StringConstructor;
|
|
664
|
-
default: string;
|
|
665
|
-
};
|
|
666
|
-
showPreview: {
|
|
667
|
-
type: BooleanConstructor;
|
|
668
|
-
default: boolean;
|
|
669
|
-
};
|
|
670
|
-
showDownload: {
|
|
671
|
-
type: BooleanConstructor;
|
|
672
|
-
default: boolean;
|
|
673
|
-
};
|
|
674
|
-
showPreviewButton: {
|
|
675
|
-
type: BooleanConstructor;
|
|
676
|
-
default: boolean;
|
|
677
|
-
};
|
|
678
|
-
showClearAll: {
|
|
679
|
-
type: BooleanConstructor;
|
|
680
|
-
default: boolean;
|
|
681
|
-
};
|
|
682
|
-
name: {
|
|
683
|
-
type: StringConstructor;
|
|
684
|
-
default: undefined;
|
|
685
|
-
};
|
|
686
|
-
required: {
|
|
687
|
-
type: BooleanConstructor;
|
|
688
|
-
default: boolean;
|
|
689
|
-
};
|
|
690
|
-
readonly: {
|
|
691
|
-
type: BooleanConstructor;
|
|
692
|
-
default: boolean;
|
|
693
|
-
};
|
|
694
|
-
class: {
|
|
695
|
-
type: StringConstructor;
|
|
696
|
-
default: undefined;
|
|
697
|
-
};
|
|
698
|
-
style: {
|
|
699
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
700
|
-
default: undefined;
|
|
701
|
-
};
|
|
702
|
-
id: {
|
|
703
|
-
type: StringConstructor;
|
|
704
|
-
default: undefined;
|
|
705
|
-
};
|
|
706
|
-
}>, () => VNode<RendererNode, RendererElement, {
|
|
707
|
-
[key: string]: any;
|
|
708
|
-
}>, {}, {}, {}, 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<
|
|
709
|
-
modelValue: {
|
|
710
|
-
type: () => FileInfo[];
|
|
711
|
-
default: () => never[];
|
|
712
|
-
};
|
|
713
|
-
size: {
|
|
714
|
-
type: () => Size;
|
|
715
|
-
default: string;
|
|
716
|
-
};
|
|
717
|
-
accept: {
|
|
718
|
-
type: StringConstructor;
|
|
719
|
-
default: undefined;
|
|
720
|
-
};
|
|
721
|
-
maxFiles: {
|
|
722
|
-
type: NumberConstructor;
|
|
723
|
-
default: number;
|
|
724
|
-
};
|
|
725
|
-
maxFileSize: {
|
|
726
|
-
type: NumberConstructor;
|
|
727
|
-
default: number;
|
|
728
|
-
};
|
|
729
|
-
multiple: {
|
|
730
|
-
type: BooleanConstructor;
|
|
731
|
-
default: boolean;
|
|
732
|
-
};
|
|
733
|
-
disabled: {
|
|
734
|
-
type: BooleanConstructor;
|
|
735
|
-
default: boolean;
|
|
736
|
-
};
|
|
737
|
-
dragAndDrop: {
|
|
738
|
-
type: BooleanConstructor;
|
|
739
|
-
default: boolean;
|
|
740
|
-
};
|
|
741
|
-
title: {
|
|
742
|
-
type: StringConstructor;
|
|
743
|
-
default: string;
|
|
744
|
-
};
|
|
745
|
-
description: {
|
|
746
|
-
type: StringConstructor;
|
|
747
|
-
default: string;
|
|
748
|
-
};
|
|
749
|
-
placeholder: {
|
|
750
|
-
type: StringConstructor;
|
|
751
|
-
default: string;
|
|
752
|
-
};
|
|
753
|
-
showPreview: {
|
|
754
|
-
type: BooleanConstructor;
|
|
755
|
-
default: boolean;
|
|
756
|
-
};
|
|
757
|
-
showDownload: {
|
|
758
|
-
type: BooleanConstructor;
|
|
759
|
-
default: boolean;
|
|
760
|
-
};
|
|
761
|
-
showPreviewButton: {
|
|
762
|
-
type: BooleanConstructor;
|
|
763
|
-
default: boolean;
|
|
764
|
-
};
|
|
765
|
-
showClearAll: {
|
|
766
|
-
type: BooleanConstructor;
|
|
767
|
-
default: boolean;
|
|
768
|
-
};
|
|
769
|
-
name: {
|
|
770
|
-
type: StringConstructor;
|
|
771
|
-
default: undefined;
|
|
772
|
-
};
|
|
773
|
-
required: {
|
|
774
|
-
type: BooleanConstructor;
|
|
775
|
-
default: boolean;
|
|
776
|
-
};
|
|
777
|
-
readonly: {
|
|
778
|
-
type: BooleanConstructor;
|
|
779
|
-
default: boolean;
|
|
780
|
-
};
|
|
781
|
-
class: {
|
|
782
|
-
type: StringConstructor;
|
|
783
|
-
default: undefined;
|
|
784
|
-
};
|
|
785
|
-
style: {
|
|
786
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
787
|
-
default: undefined;
|
|
788
|
-
};
|
|
789
|
-
id: {
|
|
790
|
-
type: StringConstructor;
|
|
791
|
-
default: undefined;
|
|
792
|
-
};
|
|
692
|
+
export declare const KrdsFileUpload: DefineComponent<ExtractPropTypes<{
|
|
693
|
+
modelValue: {
|
|
694
|
+
type: () => FileInfo[];
|
|
695
|
+
default: () => never[];
|
|
696
|
+
};
|
|
697
|
+
size: {
|
|
698
|
+
type: () => Size;
|
|
699
|
+
default: string;
|
|
700
|
+
};
|
|
701
|
+
accept: {
|
|
702
|
+
type: StringConstructor;
|
|
703
|
+
default: undefined;
|
|
704
|
+
};
|
|
705
|
+
maxFiles: {
|
|
706
|
+
type: NumberConstructor;
|
|
707
|
+
default: number;
|
|
708
|
+
};
|
|
709
|
+
maxFileSize: {
|
|
710
|
+
type: NumberConstructor;
|
|
711
|
+
default: number;
|
|
712
|
+
};
|
|
713
|
+
multiple: {
|
|
714
|
+
type: BooleanConstructor;
|
|
715
|
+
default: boolean;
|
|
716
|
+
};
|
|
717
|
+
disabled: {
|
|
718
|
+
type: BooleanConstructor;
|
|
719
|
+
default: boolean;
|
|
720
|
+
};
|
|
721
|
+
dragAndDrop: {
|
|
722
|
+
type: BooleanConstructor;
|
|
723
|
+
default: boolean;
|
|
724
|
+
};
|
|
725
|
+
title: {
|
|
726
|
+
type: StringConstructor;
|
|
727
|
+
default: string;
|
|
728
|
+
};
|
|
729
|
+
description: {
|
|
730
|
+
type: StringConstructor;
|
|
731
|
+
default: string;
|
|
732
|
+
};
|
|
733
|
+
placeholder: {
|
|
734
|
+
type: StringConstructor;
|
|
735
|
+
default: string;
|
|
736
|
+
};
|
|
737
|
+
showPreview: {
|
|
738
|
+
type: BooleanConstructor;
|
|
739
|
+
default: boolean;
|
|
740
|
+
};
|
|
741
|
+
showDownload: {
|
|
742
|
+
type: BooleanConstructor;
|
|
743
|
+
default: boolean;
|
|
744
|
+
};
|
|
745
|
+
showPreviewButton: {
|
|
746
|
+
type: BooleanConstructor;
|
|
747
|
+
default: boolean;
|
|
748
|
+
};
|
|
749
|
+
showClearAll: {
|
|
750
|
+
type: BooleanConstructor;
|
|
751
|
+
default: boolean;
|
|
752
|
+
};
|
|
753
|
+
name: {
|
|
754
|
+
type: StringConstructor;
|
|
755
|
+
default: undefined;
|
|
756
|
+
};
|
|
757
|
+
required: {
|
|
758
|
+
type: BooleanConstructor;
|
|
759
|
+
default: boolean;
|
|
760
|
+
};
|
|
761
|
+
readonly: {
|
|
762
|
+
type: BooleanConstructor;
|
|
763
|
+
default: boolean;
|
|
764
|
+
};
|
|
765
|
+
class: {
|
|
766
|
+
type: StringConstructor;
|
|
767
|
+
default: undefined;
|
|
768
|
+
};
|
|
769
|
+
style: {
|
|
770
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
771
|
+
default: undefined;
|
|
772
|
+
};
|
|
773
|
+
id: {
|
|
774
|
+
type: StringConstructor;
|
|
775
|
+
default: undefined;
|
|
776
|
+
};
|
|
777
|
+
}>, () => VNode< RendererNode, RendererElement, {
|
|
778
|
+
[key: string]: any;
|
|
779
|
+
}>, {}, {}, {}, 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<{
|
|
780
|
+
modelValue: {
|
|
781
|
+
type: () => FileInfo[];
|
|
782
|
+
default: () => never[];
|
|
783
|
+
};
|
|
784
|
+
size: {
|
|
785
|
+
type: () => Size;
|
|
786
|
+
default: string;
|
|
787
|
+
};
|
|
788
|
+
accept: {
|
|
789
|
+
type: StringConstructor;
|
|
790
|
+
default: undefined;
|
|
791
|
+
};
|
|
792
|
+
maxFiles: {
|
|
793
|
+
type: NumberConstructor;
|
|
794
|
+
default: number;
|
|
795
|
+
};
|
|
796
|
+
maxFileSize: {
|
|
797
|
+
type: NumberConstructor;
|
|
798
|
+
default: number;
|
|
799
|
+
};
|
|
800
|
+
multiple: {
|
|
801
|
+
type: BooleanConstructor;
|
|
802
|
+
default: boolean;
|
|
803
|
+
};
|
|
804
|
+
disabled: {
|
|
805
|
+
type: BooleanConstructor;
|
|
806
|
+
default: boolean;
|
|
807
|
+
};
|
|
808
|
+
dragAndDrop: {
|
|
809
|
+
type: BooleanConstructor;
|
|
810
|
+
default: boolean;
|
|
811
|
+
};
|
|
812
|
+
title: {
|
|
813
|
+
type: StringConstructor;
|
|
814
|
+
default: string;
|
|
815
|
+
};
|
|
816
|
+
description: {
|
|
817
|
+
type: StringConstructor;
|
|
818
|
+
default: string;
|
|
819
|
+
};
|
|
820
|
+
placeholder: {
|
|
821
|
+
type: StringConstructor;
|
|
822
|
+
default: string;
|
|
823
|
+
};
|
|
824
|
+
showPreview: {
|
|
825
|
+
type: BooleanConstructor;
|
|
826
|
+
default: boolean;
|
|
827
|
+
};
|
|
828
|
+
showDownload: {
|
|
829
|
+
type: BooleanConstructor;
|
|
830
|
+
default: boolean;
|
|
831
|
+
};
|
|
832
|
+
showPreviewButton: {
|
|
833
|
+
type: BooleanConstructor;
|
|
834
|
+
default: boolean;
|
|
835
|
+
};
|
|
836
|
+
showClearAll: {
|
|
837
|
+
type: BooleanConstructor;
|
|
838
|
+
default: boolean;
|
|
839
|
+
};
|
|
840
|
+
name: {
|
|
841
|
+
type: StringConstructor;
|
|
842
|
+
default: undefined;
|
|
843
|
+
};
|
|
844
|
+
required: {
|
|
845
|
+
type: BooleanConstructor;
|
|
846
|
+
default: boolean;
|
|
847
|
+
};
|
|
848
|
+
readonly: {
|
|
849
|
+
type: BooleanConstructor;
|
|
850
|
+
default: boolean;
|
|
851
|
+
};
|
|
852
|
+
class: {
|
|
853
|
+
type: StringConstructor;
|
|
854
|
+
default: undefined;
|
|
855
|
+
};
|
|
856
|
+
style: {
|
|
857
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
858
|
+
default: undefined;
|
|
859
|
+
};
|
|
860
|
+
id: {
|
|
861
|
+
type: StringConstructor;
|
|
862
|
+
default: undefined;
|
|
863
|
+
};
|
|
793
864
|
}>> & Readonly<{
|
|
794
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
795
|
-
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
|
796
|
-
"onFile-removed"?: ((...args: any[]) => any) | undefined;
|
|
797
|
-
"onFile-error"?: ((...args: any[]) => any) | undefined;
|
|
798
|
-
"onUpload-start"?: ((...args: any[]) => any) | undefined;
|
|
799
|
-
"onUpload-progress"?: ((...args: any[]) => any) | undefined;
|
|
800
|
-
"onUpload-complete"?: ((...args: any[]) => any) | undefined;
|
|
801
|
-
"onUpload-error"?: ((...args: any[]) => any) | undefined;
|
|
802
|
-
"onClear-all"?: ((...args: any[]) => any) | undefined;
|
|
803
|
-
onDownload?: ((...args: any[]) => any) | undefined;
|
|
804
|
-
onPreview?: ((...args: any[]) => any) | undefined;
|
|
865
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
866
|
+
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
|
867
|
+
"onFile-removed"?: ((...args: any[]) => any) | undefined;
|
|
868
|
+
"onFile-error"?: ((...args: any[]) => any) | undefined;
|
|
869
|
+
"onUpload-start"?: ((...args: any[]) => any) | undefined;
|
|
870
|
+
"onUpload-progress"?: ((...args: any[]) => any) | undefined;
|
|
871
|
+
"onUpload-complete"?: ((...args: any[]) => any) | undefined;
|
|
872
|
+
"onUpload-error"?: ((...args: any[]) => any) | undefined;
|
|
873
|
+
"onClear-all"?: ((...args: any[]) => any) | undefined;
|
|
874
|
+
onDownload?: ((...args: any[]) => any) | undefined;
|
|
875
|
+
onPreview?: ((...args: any[]) => any) | undefined;
|
|
805
876
|
}>, {
|
|
806
|
-
name: string;
|
|
807
|
-
required: boolean;
|
|
808
|
-
readonly: boolean;
|
|
809
|
-
disabled: boolean;
|
|
810
|
-
size: Size;
|
|
811
|
-
class: string;
|
|
812
|
-
style: string | Record<string, any>;
|
|
813
|
-
id: string;
|
|
814
|
-
title: string;
|
|
815
|
-
modelValue: FileInfo[];
|
|
816
|
-
placeholder: string;
|
|
817
|
-
accept: string;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
dragAndDrop: boolean;
|
|
822
|
-
description: string;
|
|
823
|
-
showPreview: boolean;
|
|
824
|
-
showDownload: boolean;
|
|
825
|
-
showPreviewButton: boolean;
|
|
826
|
-
showClearAll: boolean;
|
|
877
|
+
name: string;
|
|
878
|
+
required: boolean;
|
|
879
|
+
readonly: boolean;
|
|
880
|
+
disabled: boolean;
|
|
881
|
+
size: Size;
|
|
882
|
+
class: string;
|
|
883
|
+
style: string | Record<string, any>;
|
|
884
|
+
id: string;
|
|
885
|
+
title: string;
|
|
886
|
+
modelValue: FileInfo[];
|
|
887
|
+
placeholder: string;
|
|
888
|
+
accept: string;
|
|
889
|
+
multiple: boolean;
|
|
890
|
+
maxFiles: number;
|
|
891
|
+
maxFileSize: number;
|
|
892
|
+
dragAndDrop: boolean;
|
|
893
|
+
description: string;
|
|
894
|
+
showPreview: boolean;
|
|
895
|
+
showDownload: boolean;
|
|
896
|
+
showPreviewButton: boolean;
|
|
897
|
+
showClearAll: boolean;
|
|
827
898
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
828
899
|
|
|
829
900
|
/**
|
|
@@ -930,47 +1001,38 @@ export declare interface KrdsFormLabelProps extends BaseComponentProps {
|
|
|
930
1001
|
for?: string;
|
|
931
1002
|
}
|
|
932
1003
|
|
|
933
|
-
export declare const KrdsHeader: DefineComponent<ExtractPropTypes<
|
|
934
|
-
id: {
|
|
935
|
-
type: StringConstructor;
|
|
936
|
-
default: string;
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
type: StringConstructor;
|
|
940
|
-
default:
|
|
941
|
-
};
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
type: StringConstructor;
|
|
951
|
-
default:
|
|
952
|
-
};
|
|
953
|
-
mobileNavId: {
|
|
954
|
-
type: StringConstructor;
|
|
955
|
-
default: string;
|
|
956
|
-
};
|
|
957
|
-
class: {
|
|
958
|
-
type: StringConstructor;
|
|
959
|
-
default: undefined;
|
|
960
|
-
};
|
|
1004
|
+
export declare const KrdsHeader: DefineComponent<ExtractPropTypes<{
|
|
1005
|
+
id: {
|
|
1006
|
+
type: StringConstructor;
|
|
1007
|
+
default: string;
|
|
1008
|
+
};
|
|
1009
|
+
class: {
|
|
1010
|
+
type: StringConstructor;
|
|
1011
|
+
default: undefined;
|
|
1012
|
+
};
|
|
1013
|
+
}>, () => VNode< RendererNode, RendererElement, {
|
|
1014
|
+
[key: string]: any;
|
|
1015
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1016
|
+
id: {
|
|
1017
|
+
type: StringConstructor;
|
|
1018
|
+
default: string;
|
|
1019
|
+
};
|
|
1020
|
+
class: {
|
|
1021
|
+
type: StringConstructor;
|
|
1022
|
+
default: undefined;
|
|
1023
|
+
};
|
|
961
1024
|
}>> & Readonly<{}>, {
|
|
962
|
-
class: string;
|
|
963
|
-
id: string;
|
|
964
|
-
mobileNavId: string;
|
|
1025
|
+
class: string;
|
|
1026
|
+
id: string;
|
|
965
1027
|
}, SlotsType<{
|
|
966
|
-
/** 유틸리티 메뉴 슬롯 */
|
|
967
|
-
utility?(): VNode[];
|
|
968
|
-
/** 브랜딩 영역 슬롯 (로고, 액션 버튼) */
|
|
969
|
-
branding?(): VNode[];
|
|
970
|
-
/** 데스크탑 네비게이션 메뉴
|
|
971
|
-
navigation?(): VNode[];
|
|
972
|
-
/** 모바일 네비게이션
|
|
973
|
-
mobileNavigation?(): VNode[];
|
|
1028
|
+
/** 유틸리티 메뉴 슬롯 */
|
|
1029
|
+
utility?(): VNode[];
|
|
1030
|
+
/** 브랜딩 영역 슬롯 (로고, 액션 버튼) */
|
|
1031
|
+
branding?(): VNode[];
|
|
1032
|
+
/** 데스크탑 네비게이션 슬롯 — KrdsMainMenu 등 완성된 메뉴 요소를 그대로 전달 */
|
|
1033
|
+
navigation?(): VNode[];
|
|
1034
|
+
/** 모바일 네비게이션 슬롯 — KrdsMainMenu(variant="mobile") 등 완성된 드로어 요소를 그대로 전달 */
|
|
1035
|
+
mobileNavigation?(): VNode[];
|
|
974
1036
|
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
975
1037
|
|
|
976
1038
|
/**
|
|
@@ -979,8 +1041,6 @@ mobileNavigation?(): VNode[];
|
|
|
979
1041
|
export declare interface KrdsHeaderProps {
|
|
980
1042
|
/** 헤더 ID */
|
|
981
1043
|
id?: string;
|
|
982
|
-
/** 모바일 메뉴 ID */
|
|
983
|
-
mobileNavId?: string;
|
|
984
1044
|
/** 추가 CSS 클래스 */
|
|
985
1045
|
class?: string;
|
|
986
1046
|
}
|
|
@@ -1089,12 +1149,27 @@ export declare interface KrdsInputProps extends BaseFormProps {
|
|
|
1089
1149
|
loading?: boolean;
|
|
1090
1150
|
}
|
|
1091
1151
|
|
|
1092
|
-
export declare const KrdsLanguageSwitcher:
|
|
1152
|
+
export declare const KrdsLanguageSwitcher: DefineComponent<KrdsLanguageSwitcherProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsLanguageSwitcherProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1093
1153
|
|
|
1154
|
+
/**
|
|
1155
|
+
* KRDS LanguageSwitcher 컴포넌트 이벤트
|
|
1156
|
+
*/
|
|
1157
|
+
export declare interface KrdsLanguageSwitcherEmits {
|
|
1158
|
+
(e: 'update:modelValue', value: string): void;
|
|
1159
|
+
(e: 'close'): void;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* KRDS LanguageSwitcher 컴포넌트 속성
|
|
1164
|
+
*/
|
|
1094
1165
|
export declare interface KrdsLanguageSwitcherProps extends BaseComponentProps {
|
|
1166
|
+
/** 언어 목록 */
|
|
1095
1167
|
languageList: LanguageData[];
|
|
1168
|
+
/** 선택된 언어 코드 (v-model) */
|
|
1096
1169
|
modelValue?: string;
|
|
1170
|
+
/** 동작 타입 (default: 언어 선택, external: 외부 페이지 이동) */
|
|
1097
1171
|
type?: 'default' | 'external';
|
|
1172
|
+
/** 드롭다운 정렬 위치 */
|
|
1098
1173
|
dropPosition?: DropdownPosition;
|
|
1099
1174
|
}
|
|
1100
1175
|
|
|
@@ -1153,87 +1228,212 @@ export declare interface KrdsLinkProps extends BaseComponentProps {
|
|
|
1153
1228
|
*/
|
|
1154
1229
|
export declare type KrdsLinkSize = 'small' | 'medium' | 'large';
|
|
1155
1230
|
|
|
1231
|
+
export declare const KrdsMainMenu: DefineComponent<ExtractPropTypes<{
|
|
1232
|
+
items: {
|
|
1233
|
+
type: PropType<MainMenuItem[]>;
|
|
1234
|
+
default: () => never[];
|
|
1235
|
+
};
|
|
1236
|
+
variant: {
|
|
1237
|
+
type: PropType<MainMenuVariant>;
|
|
1238
|
+
default: string;
|
|
1239
|
+
};
|
|
1240
|
+
ariaLabel: {
|
|
1241
|
+
type: StringConstructor;
|
|
1242
|
+
default: string;
|
|
1243
|
+
};
|
|
1244
|
+
open: {
|
|
1245
|
+
type: BooleanConstructor;
|
|
1246
|
+
default: boolean;
|
|
1247
|
+
};
|
|
1248
|
+
mobileId: {
|
|
1249
|
+
type: StringConstructor;
|
|
1250
|
+
default: string;
|
|
1251
|
+
};
|
|
1252
|
+
backdrop: {
|
|
1253
|
+
type: BooleanConstructor;
|
|
1254
|
+
default: boolean;
|
|
1255
|
+
};
|
|
1256
|
+
closeLabel: {
|
|
1257
|
+
type: StringConstructor;
|
|
1258
|
+
default: string;
|
|
1259
|
+
};
|
|
1260
|
+
}>, () => VNode< RendererNode, RendererElement, {
|
|
1261
|
+
[key: string]: any;
|
|
1262
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("item-click" | "update:open" | "menu-toggle")[], "item-click" | "update:open" | "menu-toggle", PublicProps, Readonly< ExtractPropTypes<{
|
|
1263
|
+
items: {
|
|
1264
|
+
type: PropType<MainMenuItem[]>;
|
|
1265
|
+
default: () => never[];
|
|
1266
|
+
};
|
|
1267
|
+
variant: {
|
|
1268
|
+
type: PropType<MainMenuVariant>;
|
|
1269
|
+
default: string;
|
|
1270
|
+
};
|
|
1271
|
+
ariaLabel: {
|
|
1272
|
+
type: StringConstructor;
|
|
1273
|
+
default: string;
|
|
1274
|
+
};
|
|
1275
|
+
open: {
|
|
1276
|
+
type: BooleanConstructor;
|
|
1277
|
+
default: boolean;
|
|
1278
|
+
};
|
|
1279
|
+
mobileId: {
|
|
1280
|
+
type: StringConstructor;
|
|
1281
|
+
default: string;
|
|
1282
|
+
};
|
|
1283
|
+
backdrop: {
|
|
1284
|
+
type: BooleanConstructor;
|
|
1285
|
+
default: boolean;
|
|
1286
|
+
};
|
|
1287
|
+
closeLabel: {
|
|
1288
|
+
type: StringConstructor;
|
|
1289
|
+
default: string;
|
|
1290
|
+
};
|
|
1291
|
+
}>> & Readonly<{
|
|
1292
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
1293
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
1294
|
+
"onMenu-toggle"?: ((...args: any[]) => any) | undefined;
|
|
1295
|
+
}>, {
|
|
1296
|
+
variant: MainMenuVariant;
|
|
1297
|
+
items: MainMenuItem[];
|
|
1298
|
+
ariaLabel: string;
|
|
1299
|
+
backdrop: boolean;
|
|
1300
|
+
open: boolean;
|
|
1301
|
+
mobileId: string;
|
|
1302
|
+
closeLabel: string;
|
|
1303
|
+
}, SlotsType<{
|
|
1304
|
+
/** PC 서브 패널 배너 영역 */
|
|
1305
|
+
banner?(props: {
|
|
1306
|
+
item: MainMenuItem;
|
|
1307
|
+
subItem?: MainMenuSubItem;
|
|
1308
|
+
index: number;
|
|
1309
|
+
subIndex: number;
|
|
1310
|
+
}): VNode[];
|
|
1311
|
+
/** 모바일 드로어 헤더 영역 (유틸리티, 로그인, 검색 등) */
|
|
1312
|
+
header?(): VNode[];
|
|
1313
|
+
/** 모바일 드로어 하단 영역 */
|
|
1314
|
+
bottom?(): VNode[];
|
|
1315
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* KRDS MainMenu 컴포넌트 이벤트
|
|
1319
|
+
*/
|
|
1320
|
+
export declare interface KrdsMainMenuEmits {
|
|
1321
|
+
/** 모바일 드로어 열림 상태 변경 */
|
|
1322
|
+
(event: 'update:open', value: boolean): void;
|
|
1323
|
+
/** PC 메가 패널 열림/닫힘 */
|
|
1324
|
+
(event: 'menu-toggle', index: number, expanded: boolean): void;
|
|
1325
|
+
/** 메뉴 아이템 클릭 */
|
|
1326
|
+
(event: 'item-click', item: MainMenuAnyItem, mouseEvent: MouseEvent): void;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* KRDS MainMenu 컴포넌트 속성
|
|
1331
|
+
*/
|
|
1332
|
+
export declare interface KrdsMainMenuProps {
|
|
1333
|
+
/** 메뉴 아이템 배열 */
|
|
1334
|
+
items?: MainMenuItem[];
|
|
1335
|
+
/** 렌더링 방식 */
|
|
1336
|
+
variant?: MainMenuVariant;
|
|
1337
|
+
/** 메뉴 영역 레이블 */
|
|
1338
|
+
ariaLabel?: string;
|
|
1339
|
+
/** 모바일 드로어 열림 상태 (v-model:open) */
|
|
1340
|
+
open?: boolean;
|
|
1341
|
+
/** 모바일 드로어 요소 id (외부 트리거의 `aria-controls` 대상) */
|
|
1342
|
+
mobileId?: string;
|
|
1343
|
+
/** PC 메가 패널 배경 딤(backdrop) 사용 여부 */
|
|
1344
|
+
backdrop?: boolean;
|
|
1345
|
+
/** 모바일 드로어 닫기 버튼 레이블 */
|
|
1346
|
+
closeLabel?: string;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1156
1349
|
export declare const KrdsMasthead: DefineComponent<BaseComponentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1157
1350
|
|
|
1351
|
+
/**
|
|
1352
|
+
* KRDS Masthead 컴포넌트 이벤트
|
|
1353
|
+
*/
|
|
1354
|
+
export declare interface KrdsMastheadEmits {
|
|
1355
|
+
(e: 'click', event: MouseEvent): void;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1158
1358
|
/**
|
|
1159
1359
|
* KRDS Masthead 컴포넌트 속성
|
|
1160
1360
|
*/
|
|
1161
1361
|
export declare type KrdsMastheadProps = BaseComponentProps;
|
|
1162
1362
|
|
|
1163
|
-
export declare const KrdsModal: DefineComponent<ExtractPropTypes<
|
|
1164
|
-
modelValue: {
|
|
1165
|
-
type: BooleanConstructor;
|
|
1166
|
-
default: boolean;
|
|
1167
|
-
};
|
|
1168
|
-
modalId: {
|
|
1169
|
-
type: StringConstructor;
|
|
1170
|
-
default: undefined;
|
|
1171
|
-
};
|
|
1172
|
-
backdrop: {
|
|
1173
|
-
type: BooleanConstructor;
|
|
1174
|
-
default: boolean;
|
|
1175
|
-
};
|
|
1176
|
-
size: {
|
|
1177
|
-
type: () => KrdsModalSize;
|
|
1178
|
-
default: string;
|
|
1179
|
-
};
|
|
1180
|
-
full: {
|
|
1181
|
-
type: BooleanConstructor;
|
|
1182
|
-
default: boolean;
|
|
1183
|
-
};
|
|
1184
|
-
bottomSheet: {
|
|
1185
|
-
type: BooleanConstructor;
|
|
1186
|
-
default: boolean;
|
|
1187
|
-
};
|
|
1188
|
-
persistent: {
|
|
1189
|
-
type: BooleanConstructor;
|
|
1190
|
-
default: boolean;
|
|
1191
|
-
};
|
|
1363
|
+
export declare const KrdsModal: DefineComponent<ExtractPropTypes<{
|
|
1364
|
+
modelValue: {
|
|
1365
|
+
type: BooleanConstructor;
|
|
1366
|
+
default: boolean;
|
|
1367
|
+
};
|
|
1368
|
+
modalId: {
|
|
1369
|
+
type: StringConstructor;
|
|
1370
|
+
default: undefined;
|
|
1371
|
+
};
|
|
1372
|
+
backdrop: {
|
|
1373
|
+
type: BooleanConstructor;
|
|
1374
|
+
default: boolean;
|
|
1375
|
+
};
|
|
1376
|
+
size: {
|
|
1377
|
+
type: () => KrdsModalSize;
|
|
1378
|
+
default: string;
|
|
1379
|
+
};
|
|
1380
|
+
full: {
|
|
1381
|
+
type: BooleanConstructor;
|
|
1382
|
+
default: boolean;
|
|
1383
|
+
};
|
|
1384
|
+
bottomSheet: {
|
|
1385
|
+
type: BooleanConstructor;
|
|
1386
|
+
default: boolean;
|
|
1387
|
+
};
|
|
1388
|
+
persistent: {
|
|
1389
|
+
type: BooleanConstructor;
|
|
1390
|
+
default: boolean;
|
|
1391
|
+
};
|
|
1192
1392
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
1193
|
-
[key: string]: any;
|
|
1194
|
-
}> | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes<
|
|
1195
|
-
modelValue: {
|
|
1196
|
-
type: BooleanConstructor;
|
|
1197
|
-
default: boolean;
|
|
1198
|
-
};
|
|
1199
|
-
modalId: {
|
|
1200
|
-
type: StringConstructor;
|
|
1201
|
-
default: undefined;
|
|
1202
|
-
};
|
|
1203
|
-
backdrop: {
|
|
1204
|
-
type: BooleanConstructor;
|
|
1205
|
-
default: boolean;
|
|
1206
|
-
};
|
|
1207
|
-
size: {
|
|
1208
|
-
type: () => KrdsModalSize;
|
|
1209
|
-
default: string;
|
|
1210
|
-
};
|
|
1211
|
-
full: {
|
|
1212
|
-
type: BooleanConstructor;
|
|
1213
|
-
default: boolean;
|
|
1214
|
-
};
|
|
1215
|
-
bottomSheet: {
|
|
1216
|
-
type: BooleanConstructor;
|
|
1217
|
-
default: boolean;
|
|
1218
|
-
};
|
|
1219
|
-
persistent: {
|
|
1220
|
-
type: BooleanConstructor;
|
|
1221
|
-
default: boolean;
|
|
1222
|
-
};
|
|
1393
|
+
[key: string]: any;
|
|
1394
|
+
}> | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
1395
|
+
modelValue: {
|
|
1396
|
+
type: BooleanConstructor;
|
|
1397
|
+
default: boolean;
|
|
1398
|
+
};
|
|
1399
|
+
modalId: {
|
|
1400
|
+
type: StringConstructor;
|
|
1401
|
+
default: undefined;
|
|
1402
|
+
};
|
|
1403
|
+
backdrop: {
|
|
1404
|
+
type: BooleanConstructor;
|
|
1405
|
+
default: boolean;
|
|
1406
|
+
};
|
|
1407
|
+
size: {
|
|
1408
|
+
type: () => KrdsModalSize;
|
|
1409
|
+
default: string;
|
|
1410
|
+
};
|
|
1411
|
+
full: {
|
|
1412
|
+
type: BooleanConstructor;
|
|
1413
|
+
default: boolean;
|
|
1414
|
+
};
|
|
1415
|
+
bottomSheet: {
|
|
1416
|
+
type: BooleanConstructor;
|
|
1417
|
+
default: boolean;
|
|
1418
|
+
};
|
|
1419
|
+
persistent: {
|
|
1420
|
+
type: BooleanConstructor;
|
|
1421
|
+
default: boolean;
|
|
1422
|
+
};
|
|
1223
1423
|
}>> & Readonly<{
|
|
1224
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1424
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1225
1425
|
}>, {
|
|
1226
|
-
size: KrdsModalSize;
|
|
1227
|
-
modelValue: boolean;
|
|
1228
|
-
modalId: string;
|
|
1229
|
-
backdrop: boolean;
|
|
1230
|
-
full: boolean;
|
|
1231
|
-
bottomSheet: boolean;
|
|
1232
|
-
persistent: boolean;
|
|
1426
|
+
size: KrdsModalSize;
|
|
1427
|
+
modelValue: boolean;
|
|
1428
|
+
modalId: string;
|
|
1429
|
+
backdrop: boolean;
|
|
1430
|
+
full: boolean;
|
|
1431
|
+
bottomSheet: boolean;
|
|
1432
|
+
persistent: boolean;
|
|
1233
1433
|
}, SlotsType<{
|
|
1234
|
-
title?: () => any;
|
|
1235
|
-
default?: () => any;
|
|
1236
|
-
footer?: () => any;
|
|
1434
|
+
title?: () => any;
|
|
1435
|
+
default?: () => any;
|
|
1436
|
+
footer?: () => any;
|
|
1237
1437
|
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1238
1438
|
|
|
1239
1439
|
export declare interface KrdsModalProps {
|
|
@@ -1248,24 +1448,14 @@ export declare interface KrdsModalProps {
|
|
|
1248
1448
|
|
|
1249
1449
|
export declare type KrdsModalSize = 'small' | 'medium' | 'large';
|
|
1250
1450
|
|
|
1251
|
-
export declare const KrdsPagination: DefineComponent<KrdsPaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1252
|
-
"update:modelValue": (value: number) => any;
|
|
1253
|
-
}, string, PublicProps, Readonly<KrdsPaginationProps> & Readonly<{
|
|
1254
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1255
|
-
}>, {
|
|
1256
|
-
id: string;
|
|
1257
|
-
modelValue: number;
|
|
1258
|
-
min: number;
|
|
1259
|
-
ariaLabel: string;
|
|
1260
|
-
pageRange: number;
|
|
1261
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1451
|
+
export declare const KrdsPagination: DefineComponent<KrdsPaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsPaginationProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1262
1452
|
|
|
1263
1453
|
/**
|
|
1264
1454
|
* KRDS Pagination 컴포넌트 이벤트
|
|
1265
1455
|
*/
|
|
1266
1456
|
export declare interface KrdsPaginationEmits {
|
|
1267
1457
|
/** v-model 업데이트 이벤트 */
|
|
1268
|
-
'update:modelValue'
|
|
1458
|
+
(e: 'update:modelValue', value: number): void;
|
|
1269
1459
|
}
|
|
1270
1460
|
|
|
1271
1461
|
/**
|
|
@@ -1286,9 +1476,20 @@ export declare interface KrdsPaginationProps {
|
|
|
1286
1476
|
pageRange?: number;
|
|
1287
1477
|
}
|
|
1288
1478
|
|
|
1289
|
-
export declare const KrdsPanel:
|
|
1479
|
+
export declare const KrdsPanel: DefineComponent<KrdsPanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1290
1480
|
|
|
1481
|
+
/**
|
|
1482
|
+
* KRDS Panel 컴포넌트 이벤트
|
|
1483
|
+
*/
|
|
1484
|
+
export declare interface KrdsPanelEmits {
|
|
1485
|
+
(e: 'update:modelValue', value: boolean): void;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* KRDS Panel 컴포넌트 속성
|
|
1490
|
+
*/
|
|
1291
1491
|
export declare interface KrdsPanelProps {
|
|
1492
|
+
/** 도움말 패널 펼침 상태 (v-model) */
|
|
1292
1493
|
modelValue?: boolean;
|
|
1293
1494
|
}
|
|
1294
1495
|
|
|
@@ -1317,20 +1518,19 @@ export declare interface KrdsRadioProps extends BaseFormProps {
|
|
|
1317
1518
|
chip?: boolean;
|
|
1318
1519
|
}
|
|
1319
1520
|
|
|
1320
|
-
export declare const KrdsResize: DefineComponent<
|
|
1321
|
-
|
|
1322
|
-
"update:modelValue"
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1327
|
-
dropdownRef: HTMLDivElement;
|
|
1328
|
-
buttonRef: HTMLButtonElement;
|
|
1329
|
-
}, any>;
|
|
1521
|
+
export declare const KrdsResize: DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
|
|
1522
|
+
[key: string]: any;
|
|
1523
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", PublicProps, Readonly<{}> & Readonly<{
|
|
1524
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1525
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1526
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1330
1527
|
|
|
1528
|
+
/**
|
|
1529
|
+
* KRDS Resize 컴포넌트 이벤트
|
|
1530
|
+
*/
|
|
1331
1531
|
export declare interface KrdsResizeEmits {
|
|
1332
|
-
'update:modelValue'
|
|
1333
|
-
close:
|
|
1532
|
+
(e: 'update:modelValue', value: string): void;
|
|
1533
|
+
(e: 'close'): void;
|
|
1334
1534
|
}
|
|
1335
1535
|
|
|
1336
1536
|
export declare const KrdsSelect: DefineComponent<KrdsSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1366,18 +1566,18 @@ export declare interface KrdsSelectProps extends BaseFormProps {
|
|
|
1366
1566
|
sort?: boolean;
|
|
1367
1567
|
}
|
|
1368
1568
|
|
|
1369
|
-
export declare const KrdsSideNavigation: DefineComponent<
|
|
1370
|
-
title: string;
|
|
1371
|
-
modelValue?: SideNavItem[] | undefined;
|
|
1372
|
-
}, () => VNode<RendererNode, RendererElement, {
|
|
1373
|
-
[key: string]: any;
|
|
1569
|
+
export declare const KrdsSideNavigation: DefineComponent<{
|
|
1570
|
+
title: string;
|
|
1571
|
+
modelValue?: SideNavItem[] | undefined;
|
|
1572
|
+
}, () => VNode< RendererNode, RendererElement, {
|
|
1573
|
+
[key: string]: any;
|
|
1374
1574
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<{
|
|
1375
|
-
title: string;
|
|
1376
|
-
modelValue?: SideNavItem[] | undefined;
|
|
1575
|
+
title: string;
|
|
1576
|
+
modelValue?: SideNavItem[] | undefined;
|
|
1377
1577
|
}> & Readonly<{
|
|
1378
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1578
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1379
1579
|
}>, {
|
|
1380
|
-
modelValue: SideNavItem[];
|
|
1580
|
+
modelValue: SideNavItem[];
|
|
1381
1581
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1382
1582
|
|
|
1383
1583
|
/**
|
|
@@ -1411,57 +1611,57 @@ export declare interface KrdsSideNavigationProps {
|
|
|
1411
1611
|
* <KrdsSkipLink href="#gnb">메인메뉴 바로가기</KrdsSkipLink>
|
|
1412
1612
|
* ```
|
|
1413
1613
|
*/
|
|
1414
|
-
export declare const KrdsSkipLink: DefineComponent<ExtractPropTypes<
|
|
1415
|
-
/**
|
|
1416
|
-
* 건너뛸 대상 요소의 ID
|
|
1417
|
-
* @example '#main-content', '#breadcrumb'
|
|
1418
|
-
*/
|
|
1419
|
-
href: {
|
|
1420
|
-
type: StringConstructor;
|
|
1421
|
-
required: true;
|
|
1422
|
-
validator: (value: string) => boolean;
|
|
1423
|
-
};
|
|
1424
|
-
/**
|
|
1425
|
-
* 추가 CSS 클래스
|
|
1426
|
-
*/
|
|
1427
|
-
class: {
|
|
1428
|
-
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1429
|
-
default: undefined;
|
|
1430
|
-
};
|
|
1431
|
-
/**
|
|
1432
|
-
* 요소 ID
|
|
1433
|
-
*/
|
|
1434
|
-
id: {
|
|
1435
|
-
type: StringConstructor;
|
|
1436
|
-
default: string;
|
|
1437
|
-
};
|
|
1438
|
-
}>, () => VNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1439
|
-
/**
|
|
1440
|
-
* 건너뛸 대상 요소의 ID
|
|
1441
|
-
* @example '#main-content', '#breadcrumb'
|
|
1442
|
-
*/
|
|
1443
|
-
href: {
|
|
1444
|
-
type: StringConstructor;
|
|
1445
|
-
required: true;
|
|
1446
|
-
validator: (value: string) => boolean;
|
|
1447
|
-
};
|
|
1448
|
-
/**
|
|
1449
|
-
* 추가 CSS 클래스
|
|
1450
|
-
*/
|
|
1451
|
-
class: {
|
|
1452
|
-
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1453
|
-
default: undefined;
|
|
1454
|
-
};
|
|
1455
|
-
/**
|
|
1456
|
-
* 요소 ID
|
|
1457
|
-
*/
|
|
1458
|
-
id: {
|
|
1459
|
-
type: StringConstructor;
|
|
1460
|
-
default: string;
|
|
1461
|
-
};
|
|
1614
|
+
export declare const KrdsSkipLink: DefineComponent<ExtractPropTypes<{
|
|
1615
|
+
/**
|
|
1616
|
+
* 건너뛸 대상 요소의 ID
|
|
1617
|
+
* @example '#main-content', '#breadcrumb'
|
|
1618
|
+
*/
|
|
1619
|
+
href: {
|
|
1620
|
+
type: StringConstructor;
|
|
1621
|
+
required: true;
|
|
1622
|
+
validator: (value: string) => boolean;
|
|
1623
|
+
};
|
|
1624
|
+
/**
|
|
1625
|
+
* 추가 CSS 클래스
|
|
1626
|
+
*/
|
|
1627
|
+
class: {
|
|
1628
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1629
|
+
default: undefined;
|
|
1630
|
+
};
|
|
1631
|
+
/**
|
|
1632
|
+
* 요소 ID
|
|
1633
|
+
*/
|
|
1634
|
+
id: {
|
|
1635
|
+
type: StringConstructor;
|
|
1636
|
+
default: string;
|
|
1637
|
+
};
|
|
1638
|
+
}>, () => VNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1639
|
+
/**
|
|
1640
|
+
* 건너뛸 대상 요소의 ID
|
|
1641
|
+
* @example '#main-content', '#breadcrumb'
|
|
1642
|
+
*/
|
|
1643
|
+
href: {
|
|
1644
|
+
type: StringConstructor;
|
|
1645
|
+
required: true;
|
|
1646
|
+
validator: (value: string) => boolean;
|
|
1647
|
+
};
|
|
1648
|
+
/**
|
|
1649
|
+
* 추가 CSS 클래스
|
|
1650
|
+
*/
|
|
1651
|
+
class: {
|
|
1652
|
+
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1653
|
+
default: undefined;
|
|
1654
|
+
};
|
|
1655
|
+
/**
|
|
1656
|
+
* 요소 ID
|
|
1657
|
+
*/
|
|
1658
|
+
id: {
|
|
1659
|
+
type: StringConstructor;
|
|
1660
|
+
default: string;
|
|
1661
|
+
};
|
|
1462
1662
|
}>> & Readonly<{}>, {
|
|
1463
|
-
class: string | unknown[] | Record<string, any>;
|
|
1464
|
-
id: string;
|
|
1663
|
+
class: string | unknown[] | Record<string, any>;
|
|
1664
|
+
id: string;
|
|
1465
1665
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1466
1666
|
|
|
1467
1667
|
/**
|
|
@@ -1472,18 +1672,18 @@ export declare interface KrdsSkipLinkProps extends BaseComponentProps {
|
|
|
1472
1672
|
href: string;
|
|
1473
1673
|
}
|
|
1474
1674
|
|
|
1475
|
-
export declare const KrdsSpinner: DefineComponent<ExtractPropTypes<
|
|
1476
|
-
label: {
|
|
1477
|
-
type: StringConstructor;
|
|
1478
|
-
default: undefined;
|
|
1479
|
-
};
|
|
1480
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1481
|
-
label: {
|
|
1482
|
-
type: StringConstructor;
|
|
1483
|
-
default: undefined;
|
|
1484
|
-
};
|
|
1675
|
+
export declare const KrdsSpinner: DefineComponent<ExtractPropTypes<{
|
|
1676
|
+
label: {
|
|
1677
|
+
type: StringConstructor;
|
|
1678
|
+
default: undefined;
|
|
1679
|
+
};
|
|
1680
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1681
|
+
label: {
|
|
1682
|
+
type: StringConstructor;
|
|
1683
|
+
default: undefined;
|
|
1684
|
+
};
|
|
1485
1685
|
}>> & Readonly<{}>, {
|
|
1486
|
-
label: string;
|
|
1686
|
+
label: string;
|
|
1487
1687
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1488
1688
|
|
|
1489
1689
|
export declare const KrdsStep: DefineComponent<KrdsStepProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsStepProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1593,172 +1793,172 @@ export declare interface KrdsTagProps extends BaseComponentProps {
|
|
|
1593
1793
|
rel?: string;
|
|
1594
1794
|
}
|
|
1595
1795
|
|
|
1596
|
-
export declare const KrdsTextarea: DefineComponent<ExtractPropTypes<
|
|
1597
|
-
modelValue: {
|
|
1598
|
-
type: StringConstructor;
|
|
1599
|
-
default: string;
|
|
1600
|
-
};
|
|
1601
|
-
size: {
|
|
1602
|
-
type: () => Size;
|
|
1603
|
-
default: undefined;
|
|
1604
|
-
};
|
|
1605
|
-
placeholder: {
|
|
1606
|
-
type: StringConstructor;
|
|
1607
|
-
default: undefined;
|
|
1608
|
-
};
|
|
1609
|
-
maxlength: {
|
|
1610
|
-
type: NumberConstructor;
|
|
1611
|
-
default: undefined;
|
|
1612
|
-
};
|
|
1613
|
-
minlength: {
|
|
1614
|
-
type: NumberConstructor;
|
|
1615
|
-
default: undefined;
|
|
1616
|
-
};
|
|
1617
|
-
rows: {
|
|
1618
|
-
type: NumberConstructor;
|
|
1619
|
-
default: number;
|
|
1620
|
-
};
|
|
1621
|
-
cols: {
|
|
1622
|
-
type: NumberConstructor;
|
|
1623
|
-
default: undefined;
|
|
1624
|
-
};
|
|
1625
|
-
autofocus: {
|
|
1626
|
-
type: BooleanConstructor;
|
|
1627
|
-
default: boolean;
|
|
1628
|
-
};
|
|
1629
|
-
name: {
|
|
1630
|
-
type: StringConstructor;
|
|
1631
|
-
default: undefined;
|
|
1632
|
-
};
|
|
1633
|
-
required: {
|
|
1634
|
-
type: BooleanConstructor;
|
|
1635
|
-
default: boolean;
|
|
1636
|
-
};
|
|
1637
|
-
readonly: {
|
|
1638
|
-
type: BooleanConstructor;
|
|
1639
|
-
default: boolean;
|
|
1640
|
-
};
|
|
1641
|
-
disabled: {
|
|
1642
|
-
type: BooleanConstructor;
|
|
1643
|
-
default: boolean;
|
|
1644
|
-
};
|
|
1645
|
-
showCount: {
|
|
1646
|
-
type: BooleanConstructor;
|
|
1647
|
-
default: boolean;
|
|
1648
|
-
};
|
|
1649
|
-
resize: {
|
|
1650
|
-
type: () => "none" | "both" | "horizontal" | "vertical";
|
|
1651
|
-
default: string;
|
|
1652
|
-
};
|
|
1653
|
-
class: {
|
|
1654
|
-
type: StringConstructor;
|
|
1655
|
-
default: undefined;
|
|
1656
|
-
};
|
|
1657
|
-
style: {
|
|
1658
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
1659
|
-
default: undefined;
|
|
1660
|
-
};
|
|
1661
|
-
id: {
|
|
1662
|
-
type: StringConstructor;
|
|
1663
|
-
default: undefined;
|
|
1664
|
-
};
|
|
1796
|
+
export declare const KrdsTextarea: DefineComponent<ExtractPropTypes<{
|
|
1797
|
+
modelValue: {
|
|
1798
|
+
type: StringConstructor;
|
|
1799
|
+
default: string;
|
|
1800
|
+
};
|
|
1801
|
+
size: {
|
|
1802
|
+
type: () => Size;
|
|
1803
|
+
default: undefined;
|
|
1804
|
+
};
|
|
1805
|
+
placeholder: {
|
|
1806
|
+
type: StringConstructor;
|
|
1807
|
+
default: undefined;
|
|
1808
|
+
};
|
|
1809
|
+
maxlength: {
|
|
1810
|
+
type: NumberConstructor;
|
|
1811
|
+
default: undefined;
|
|
1812
|
+
};
|
|
1813
|
+
minlength: {
|
|
1814
|
+
type: NumberConstructor;
|
|
1815
|
+
default: undefined;
|
|
1816
|
+
};
|
|
1817
|
+
rows: {
|
|
1818
|
+
type: NumberConstructor;
|
|
1819
|
+
default: number;
|
|
1820
|
+
};
|
|
1821
|
+
cols: {
|
|
1822
|
+
type: NumberConstructor;
|
|
1823
|
+
default: undefined;
|
|
1824
|
+
};
|
|
1825
|
+
autofocus: {
|
|
1826
|
+
type: BooleanConstructor;
|
|
1827
|
+
default: boolean;
|
|
1828
|
+
};
|
|
1829
|
+
name: {
|
|
1830
|
+
type: StringConstructor;
|
|
1831
|
+
default: undefined;
|
|
1832
|
+
};
|
|
1833
|
+
required: {
|
|
1834
|
+
type: BooleanConstructor;
|
|
1835
|
+
default: boolean;
|
|
1836
|
+
};
|
|
1837
|
+
readonly: {
|
|
1838
|
+
type: BooleanConstructor;
|
|
1839
|
+
default: boolean;
|
|
1840
|
+
};
|
|
1841
|
+
disabled: {
|
|
1842
|
+
type: BooleanConstructor;
|
|
1843
|
+
default: boolean;
|
|
1844
|
+
};
|
|
1845
|
+
showCount: {
|
|
1846
|
+
type: BooleanConstructor;
|
|
1847
|
+
default: boolean;
|
|
1848
|
+
};
|
|
1849
|
+
resize: {
|
|
1850
|
+
type: () => "none" | "both" | "horizontal" | "vertical";
|
|
1851
|
+
default: string;
|
|
1852
|
+
};
|
|
1853
|
+
class: {
|
|
1854
|
+
type: StringConstructor;
|
|
1855
|
+
default: undefined;
|
|
1856
|
+
};
|
|
1857
|
+
style: {
|
|
1858
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
1859
|
+
default: undefined;
|
|
1860
|
+
};
|
|
1861
|
+
id: {
|
|
1862
|
+
type: StringConstructor;
|
|
1863
|
+
default: undefined;
|
|
1864
|
+
};
|
|
1665
1865
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
1666
|
-
[key: string]: any;
|
|
1667
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("focus" | "input" | "blur" | "change" | "keydown" | "keyup" | "update:modelValue")[], "focus" | "input" | "blur" | "change" | "keydown" | "keyup" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes<
|
|
1668
|
-
modelValue: {
|
|
1669
|
-
type: StringConstructor;
|
|
1670
|
-
default: string;
|
|
1671
|
-
};
|
|
1672
|
-
size: {
|
|
1673
|
-
type: () => Size;
|
|
1674
|
-
default: undefined;
|
|
1675
|
-
};
|
|
1676
|
-
placeholder: {
|
|
1677
|
-
type: StringConstructor;
|
|
1678
|
-
default: undefined;
|
|
1679
|
-
};
|
|
1680
|
-
maxlength: {
|
|
1681
|
-
type: NumberConstructor;
|
|
1682
|
-
default: undefined;
|
|
1683
|
-
};
|
|
1684
|
-
minlength: {
|
|
1685
|
-
type: NumberConstructor;
|
|
1686
|
-
default: undefined;
|
|
1687
|
-
};
|
|
1688
|
-
rows: {
|
|
1689
|
-
type: NumberConstructor;
|
|
1690
|
-
default: number;
|
|
1691
|
-
};
|
|
1692
|
-
cols: {
|
|
1693
|
-
type: NumberConstructor;
|
|
1694
|
-
default: undefined;
|
|
1695
|
-
};
|
|
1696
|
-
autofocus: {
|
|
1697
|
-
type: BooleanConstructor;
|
|
1698
|
-
default: boolean;
|
|
1699
|
-
};
|
|
1700
|
-
name: {
|
|
1701
|
-
type: StringConstructor;
|
|
1702
|
-
default: undefined;
|
|
1703
|
-
};
|
|
1704
|
-
required: {
|
|
1705
|
-
type: BooleanConstructor;
|
|
1706
|
-
default: boolean;
|
|
1707
|
-
};
|
|
1708
|
-
readonly: {
|
|
1709
|
-
type: BooleanConstructor;
|
|
1710
|
-
default: boolean;
|
|
1711
|
-
};
|
|
1712
|
-
disabled: {
|
|
1713
|
-
type: BooleanConstructor;
|
|
1714
|
-
default: boolean;
|
|
1715
|
-
};
|
|
1716
|
-
showCount: {
|
|
1717
|
-
type: BooleanConstructor;
|
|
1718
|
-
default: boolean;
|
|
1719
|
-
};
|
|
1720
|
-
resize: {
|
|
1721
|
-
type: () => "none" | "both" | "horizontal" | "vertical";
|
|
1722
|
-
default: string;
|
|
1723
|
-
};
|
|
1724
|
-
class: {
|
|
1725
|
-
type: StringConstructor;
|
|
1726
|
-
default: undefined;
|
|
1727
|
-
};
|
|
1728
|
-
style: {
|
|
1729
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
1730
|
-
default: undefined;
|
|
1731
|
-
};
|
|
1732
|
-
id: {
|
|
1733
|
-
type: StringConstructor;
|
|
1734
|
-
default: undefined;
|
|
1735
|
-
};
|
|
1866
|
+
[key: string]: any;
|
|
1867
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("focus" | "input" | "blur" | "change" | "keydown" | "keyup" | "update:modelValue")[], "focus" | "input" | "blur" | "change" | "keydown" | "keyup" | "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
1868
|
+
modelValue: {
|
|
1869
|
+
type: StringConstructor;
|
|
1870
|
+
default: string;
|
|
1871
|
+
};
|
|
1872
|
+
size: {
|
|
1873
|
+
type: () => Size;
|
|
1874
|
+
default: undefined;
|
|
1875
|
+
};
|
|
1876
|
+
placeholder: {
|
|
1877
|
+
type: StringConstructor;
|
|
1878
|
+
default: undefined;
|
|
1879
|
+
};
|
|
1880
|
+
maxlength: {
|
|
1881
|
+
type: NumberConstructor;
|
|
1882
|
+
default: undefined;
|
|
1883
|
+
};
|
|
1884
|
+
minlength: {
|
|
1885
|
+
type: NumberConstructor;
|
|
1886
|
+
default: undefined;
|
|
1887
|
+
};
|
|
1888
|
+
rows: {
|
|
1889
|
+
type: NumberConstructor;
|
|
1890
|
+
default: number;
|
|
1891
|
+
};
|
|
1892
|
+
cols: {
|
|
1893
|
+
type: NumberConstructor;
|
|
1894
|
+
default: undefined;
|
|
1895
|
+
};
|
|
1896
|
+
autofocus: {
|
|
1897
|
+
type: BooleanConstructor;
|
|
1898
|
+
default: boolean;
|
|
1899
|
+
};
|
|
1900
|
+
name: {
|
|
1901
|
+
type: StringConstructor;
|
|
1902
|
+
default: undefined;
|
|
1903
|
+
};
|
|
1904
|
+
required: {
|
|
1905
|
+
type: BooleanConstructor;
|
|
1906
|
+
default: boolean;
|
|
1907
|
+
};
|
|
1908
|
+
readonly: {
|
|
1909
|
+
type: BooleanConstructor;
|
|
1910
|
+
default: boolean;
|
|
1911
|
+
};
|
|
1912
|
+
disabled: {
|
|
1913
|
+
type: BooleanConstructor;
|
|
1914
|
+
default: boolean;
|
|
1915
|
+
};
|
|
1916
|
+
showCount: {
|
|
1917
|
+
type: BooleanConstructor;
|
|
1918
|
+
default: boolean;
|
|
1919
|
+
};
|
|
1920
|
+
resize: {
|
|
1921
|
+
type: () => "none" | "both" | "horizontal" | "vertical";
|
|
1922
|
+
default: string;
|
|
1923
|
+
};
|
|
1924
|
+
class: {
|
|
1925
|
+
type: StringConstructor;
|
|
1926
|
+
default: undefined;
|
|
1927
|
+
};
|
|
1928
|
+
style: {
|
|
1929
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
1930
|
+
default: undefined;
|
|
1931
|
+
};
|
|
1932
|
+
id: {
|
|
1933
|
+
type: StringConstructor;
|
|
1934
|
+
default: undefined;
|
|
1935
|
+
};
|
|
1736
1936
|
}>> & Readonly<{
|
|
1737
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
1738
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
1739
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1740
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1741
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
1742
|
-
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
1743
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1937
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
1938
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
1939
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1940
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1941
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
1942
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
1943
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1744
1944
|
}>, {
|
|
1745
|
-
name: string;
|
|
1746
|
-
required: boolean;
|
|
1747
|
-
readonly: boolean;
|
|
1748
|
-
disabled: boolean;
|
|
1749
|
-
size: Size;
|
|
1750
|
-
class: string;
|
|
1751
|
-
style: string | Record<string, any>;
|
|
1752
|
-
id: string;
|
|
1753
|
-
resize: "horizontal" | "vertical" | "none" | "both";
|
|
1754
|
-
modelValue: string;
|
|
1755
|
-
placeholder: string;
|
|
1756
|
-
maxlength: number;
|
|
1757
|
-
minlength: number;
|
|
1758
|
-
autofocus: boolean;
|
|
1759
|
-
rows: number;
|
|
1760
|
-
cols: number;
|
|
1761
|
-
showCount: boolean;
|
|
1945
|
+
name: string;
|
|
1946
|
+
required: boolean;
|
|
1947
|
+
readonly: boolean;
|
|
1948
|
+
disabled: boolean;
|
|
1949
|
+
size: Size;
|
|
1950
|
+
class: string;
|
|
1951
|
+
style: string | Record<string, any>;
|
|
1952
|
+
id: string;
|
|
1953
|
+
resize: "horizontal" | "vertical" | "none" | "both";
|
|
1954
|
+
modelValue: string;
|
|
1955
|
+
placeholder: string;
|
|
1956
|
+
maxlength: number;
|
|
1957
|
+
minlength: number;
|
|
1958
|
+
autofocus: boolean;
|
|
1959
|
+
rows: number;
|
|
1960
|
+
cols: number;
|
|
1961
|
+
showCount: boolean;
|
|
1762
1962
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1763
1963
|
|
|
1764
1964
|
/**
|
|
@@ -1838,13 +2038,21 @@ export declare interface KrdsToggleSwitchProps extends BaseFormProps {
|
|
|
1838
2038
|
size?: 'medium' | 'large';
|
|
1839
2039
|
}
|
|
1840
2040
|
|
|
1841
|
-
export declare const KrdsTooltip:
|
|
2041
|
+
export declare const KrdsTooltip: DefineComponent<KrdsTooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<KrdsTooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1842
2042
|
|
|
2043
|
+
/**
|
|
2044
|
+
* KRDS Tooltip 컴포넌트 속성
|
|
2045
|
+
*/
|
|
1843
2046
|
export declare interface KrdsTooltipProps extends BaseComponentProps {
|
|
2047
|
+
/** 트리거 버튼 타입 */
|
|
1844
2048
|
type?: TooltipType;
|
|
2049
|
+
/** 툴팁 본문 */
|
|
1845
2050
|
tooltipContent: string;
|
|
2051
|
+
/** 세로 방향 배치 여부 */
|
|
1846
2052
|
vertical?: boolean;
|
|
2053
|
+
/** 박스형 여부 */
|
|
1847
2054
|
box?: boolean;
|
|
2055
|
+
/** 비활성화 여부 */
|
|
1848
2056
|
disabled?: boolean;
|
|
1849
2057
|
}
|
|
1850
2058
|
|
|
@@ -1914,6 +2122,126 @@ export declare interface LoadingProps {
|
|
|
1914
2122
|
loadingText?: string;
|
|
1915
2123
|
}
|
|
1916
2124
|
|
|
2125
|
+
/** 클릭 이벤트로 전달되는 아이템 타입 */
|
|
2126
|
+
export declare type MainMenuAnyItem = MainMenuItem | MainMenuSubItem | MainMenuLinkItem | MainMenuDepth4Item;
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* 모바일 4depth 아이템 인터페이스
|
|
2130
|
+
*/
|
|
2131
|
+
export declare interface MainMenuDepth4Item {
|
|
2132
|
+
/** 텍스트 */
|
|
2133
|
+
text: string;
|
|
2134
|
+
/** 링크 URL */
|
|
2135
|
+
href?: string;
|
|
2136
|
+
/** 새 창 열림 여부 */
|
|
2137
|
+
external?: boolean;
|
|
2138
|
+
/** 현재 페이지 여부 (강조 표시) */
|
|
2139
|
+
selected?: boolean;
|
|
2140
|
+
/** 클릭 핸들러 */
|
|
2141
|
+
onClick?: (event: MouseEvent) => void;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* 1depth 메인 메뉴 아이템 인터페이스
|
|
2146
|
+
*
|
|
2147
|
+
* `subItems`가 있으면 2depth 목록을 가진 메가 패널을, `items`만 있으면
|
|
2148
|
+
* 2depth 목록 없이 링크만 나열하는 `single-list` 패널을 렌더링한다.
|
|
2149
|
+
* 둘 다 없으면 단순 링크(`is-link`)로 렌더링된다.
|
|
2150
|
+
*/
|
|
2151
|
+
export declare interface MainMenuItem {
|
|
2152
|
+
/** 텍스트 */
|
|
2153
|
+
text: string;
|
|
2154
|
+
/** 링크 URL (하위 메뉴가 없을 때 단순 링크로 사용) */
|
|
2155
|
+
href?: string;
|
|
2156
|
+
/** 새 창 열림 여부 */
|
|
2157
|
+
external?: boolean;
|
|
2158
|
+
/** 2depth 아이템 목록 */
|
|
2159
|
+
subItems?: MainMenuSubItem[];
|
|
2160
|
+
/** 2depth 없이 바로 나열되는 링크 목록 (`single-list`) */
|
|
2161
|
+
items?: MainMenuLinkItem[];
|
|
2162
|
+
/** `single-list` 패널 제목 */
|
|
2163
|
+
title?: string;
|
|
2164
|
+
/** `single-list` 배너 영역 표시 여부 (`banner` 슬롯 필요) */
|
|
2165
|
+
banner?: boolean;
|
|
2166
|
+
/** `single-list` 패널 레이아웃 */
|
|
2167
|
+
layout?: MainMenuLayout;
|
|
2168
|
+
/** 현재 페이지 여부 (강조 표시) */
|
|
2169
|
+
selected?: boolean;
|
|
2170
|
+
/** 클릭 핸들러 */
|
|
2171
|
+
onClick?: (event: MouseEvent) => void;
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* 서브 패널 레이아웃
|
|
2176
|
+
* - `default`: 배너 영역이 하단에 위치
|
|
2177
|
+
* - `between`: 배너 영역이 우측에 위치
|
|
2178
|
+
*/
|
|
2179
|
+
export declare type MainMenuLayout = 'default' | 'between';
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* 링크 아이템 인터페이스
|
|
2183
|
+
*
|
|
2184
|
+
* PC에서는 서브 패널의 마지막 뎁스, 모바일에서는 3depth로 렌더링된다.
|
|
2185
|
+
*/
|
|
2186
|
+
export declare interface MainMenuLinkItem {
|
|
2187
|
+
/** 텍스트 */
|
|
2188
|
+
text: string;
|
|
2189
|
+
/** 링크 URL (없으면 button으로 렌더링) */
|
|
2190
|
+
href?: string;
|
|
2191
|
+
/** 새 창 열림 여부 */
|
|
2192
|
+
external?: boolean;
|
|
2193
|
+
/** 메뉴 설명 (PC에서 `type-description` 스타일로 렌더링) */
|
|
2194
|
+
description?: string;
|
|
2195
|
+
/** 현재 페이지 여부 (강조 표시) */
|
|
2196
|
+
selected?: boolean;
|
|
2197
|
+
/** 4depth 패널 제목 (모바일 전용, 기본값은 `text`) */
|
|
2198
|
+
panelTitle?: string;
|
|
2199
|
+
/** 하위 아이템 (모바일 4depth 전용) */
|
|
2200
|
+
items?: MainMenuDepth4Item[];
|
|
2201
|
+
/** 클릭 핸들러 */
|
|
2202
|
+
onClick?: (event: MouseEvent) => void;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* 2depth 아이템 인터페이스
|
|
2207
|
+
*
|
|
2208
|
+
* `items`가 있으면 서브 패널을 여는 트리거로, 없으면 바로가기 링크로 렌더링된다.
|
|
2209
|
+
*/
|
|
2210
|
+
export declare interface MainMenuSubItem {
|
|
2211
|
+
/** 텍스트 */
|
|
2212
|
+
text: string;
|
|
2213
|
+
/** 링크 URL (`items`가 없을 때 바로가기 링크로 사용) */
|
|
2214
|
+
href?: string;
|
|
2215
|
+
/** 새 창 열림 여부 */
|
|
2216
|
+
external?: boolean;
|
|
2217
|
+
/** 서브 패널 제목 (기본값은 `text`) */
|
|
2218
|
+
title?: string;
|
|
2219
|
+
/** 서브 패널 제목 옆 바로가기 링크 (PC 전용) */
|
|
2220
|
+
titleLink?: {
|
|
2221
|
+
text?: string;
|
|
2222
|
+
href: string;
|
|
2223
|
+
};
|
|
2224
|
+
/** 하위 아이템 (PC 마지막 뎁스 / 모바일 3depth) */
|
|
2225
|
+
items?: MainMenuLinkItem[];
|
|
2226
|
+
/** 배너 영역 표시 여부 (`banner` 슬롯 필요, PC 전용) */
|
|
2227
|
+
banner?: boolean;
|
|
2228
|
+
/** 서브 패널 레이아웃 (PC 전용) */
|
|
2229
|
+
layout?: MainMenuLayout;
|
|
2230
|
+
/** 모바일 3depth 초기 확장 상태 */
|
|
2231
|
+
expanded?: boolean;
|
|
2232
|
+
/** 현재 페이지 여부 (강조 표시) */
|
|
2233
|
+
selected?: boolean;
|
|
2234
|
+
/** 클릭 핸들러 */
|
|
2235
|
+
onClick?: (event: MouseEvent) => void;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* 메인 메뉴 렌더링 방식
|
|
2240
|
+
* - `pc`: 데스크탑 메가 메뉴 (`.krds-main-menu`)
|
|
2241
|
+
* - `mobile`: 모바일 드로어 메뉴 (`.krds-main-menu-mobile`)
|
|
2242
|
+
*/
|
|
2243
|
+
export declare type MainMenuVariant = 'pc' | 'mobile';
|
|
2244
|
+
|
|
1917
2245
|
/**
|
|
1918
2246
|
* 네비게이션 아이템 인터페이스
|
|
1919
2247
|
*/
|
|
@@ -2077,3 +2405,17 @@ export declare type Variant = 'primary' | 'secondary' | 'tertiary';
|
|
|
2077
2405
|
export declare const version: string;
|
|
2078
2406
|
|
|
2079
2407
|
export { }
|
|
2408
|
+
|
|
2409
|
+
/**
|
|
2410
|
+
* KRDS Vue 디렉티브 타입 정의
|
|
2411
|
+
*/
|
|
2412
|
+
|
|
2413
|
+
declare module '@vue/runtime-core' {
|
|
2414
|
+
interface ComponentCustomProperties {
|
|
2415
|
+
/**
|
|
2416
|
+
* 스크린 리더 전용 텍스트 디렉티브
|
|
2417
|
+
* 요소에 .sr-only 클래스를 추가하여 시각적으로는 숨기지만 스크린 리더에서는 읽을 수 있도록 합니다.
|
|
2418
|
+
*/
|
|
2419
|
+
vSrOnly: never
|
|
2420
|
+
}
|
|
2421
|
+
}
|