@krds.ui/vue 0.0.20 → 0.0.21
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/LICENSE +1 -1
- package/README.md +6 -3
- package/dist/krds-vue.es.js +1541 -1383
- package/dist/krds-vue.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +337 -28
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ declare namespace components {
|
|
|
85
85
|
KrdsButtonGroupProps,
|
|
86
86
|
KrdsIcon,
|
|
87
87
|
KrdsIconProps,
|
|
88
|
+
KrdsFloatingButton,
|
|
89
|
+
KrdsFloatingButtonProps,
|
|
90
|
+
KrdsFloatingButtonEmits,
|
|
91
|
+
KrdsFloatingButtonItem,
|
|
88
92
|
KrdsLink,
|
|
89
93
|
KrdsLinkProps,
|
|
90
94
|
KrdsLinkEmits,
|
|
@@ -173,6 +177,8 @@ declare namespace components {
|
|
|
173
177
|
DropdownPosition,
|
|
174
178
|
KrdsResize,
|
|
175
179
|
KrdsResizeEmits,
|
|
180
|
+
KrdsResizeProps,
|
|
181
|
+
KrdsResizeScale,
|
|
176
182
|
KrdsModal,
|
|
177
183
|
KrdsModalProps,
|
|
178
184
|
KrdsModalSize,
|
|
@@ -401,6 +407,7 @@ export declare const KrdsAccordionItem: DefineComponent<ExtractPropTypes<{
|
|
|
401
407
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
402
408
|
[key: string]: any;
|
|
403
409
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
410
|
+
/** 펼침·접힘 버튼을 눌렀을 때 (항목 id) */
|
|
404
411
|
toggle: (id: string) => true;
|
|
405
412
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
406
413
|
/** 아이템 고유 식별자 */
|
|
@@ -481,6 +488,7 @@ export declare const KrdsBadge: DefineComponent<ExtractPropTypes<{
|
|
|
481
488
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
482
489
|
[key: string]: any;
|
|
483
490
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
491
|
+
/** 배지를 클릭했을 때 */
|
|
484
492
|
click: (event: MouseEvent) => true;
|
|
485
493
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
486
494
|
/** 배지 타입 */
|
|
@@ -560,6 +568,7 @@ export declare const KrdsBreadcrumb: DefineComponent<ExtractPropTypes<{
|
|
|
560
568
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
561
569
|
[key: string]: any;
|
|
562
570
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
571
|
+
/** 경로 항목을 클릭했을 때 */
|
|
563
572
|
'item-click': (item: BreadcrumbItem, event: MouseEvent) => true;
|
|
564
573
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
565
574
|
/** 브레드크럼 아이템 배열 */
|
|
@@ -660,6 +669,7 @@ export declare const KrdsButton: DefineComponent<ExtractPropTypes<{
|
|
|
660
669
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
661
670
|
[key: string]: any;
|
|
662
671
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
672
|
+
/** 버튼을 클릭했을 때 */
|
|
663
673
|
click: (event: MouseEvent) => true;
|
|
664
674
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
665
675
|
/** 버튼 타입 */
|
|
@@ -728,6 +738,22 @@ export declare interface KrdsButtonEmits {
|
|
|
728
738
|
(e: 'click', event: MouseEvent): void;
|
|
729
739
|
}
|
|
730
740
|
|
|
741
|
+
/**
|
|
742
|
+
* KRDS ButtonGroup 컴포넌트
|
|
743
|
+
*
|
|
744
|
+
* 입력 필드 안에 버튼을 여러 개 넣을 때 묶는 래퍼입니다 (KRDS `.btn-group`, 예: 내용 삭제 + 비밀번호 보기).
|
|
745
|
+
* KRDS에는 일반 버튼 묶음 스타일이 없으므로 입력 필드 밖에서는 사용하지 않습니다.
|
|
746
|
+
*
|
|
747
|
+
* @example
|
|
748
|
+
* ```vue
|
|
749
|
+
* <KrdsInput id="pw" type="password" icon>
|
|
750
|
+
* <KrdsButtonGroup>
|
|
751
|
+
* <KrdsButton icon pure class="btn-delete-input"><span class="sr-only">내용 삭제</span><KrdsIcon name="ico-delete-fill" /></KrdsButton>
|
|
752
|
+
* <KrdsButton icon><span class="sr-only">입력한 비밀번호 보기</span><KrdsIcon name="ico-pw-visible" /></KrdsButton>
|
|
753
|
+
* </KrdsButtonGroup>
|
|
754
|
+
* </KrdsInput>
|
|
755
|
+
* ```
|
|
756
|
+
*/
|
|
731
757
|
export declare const KrdsButtonGroup: DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
|
|
732
758
|
[key: string]: any;
|
|
733
759
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -853,10 +879,15 @@ export declare const KrdsCarousel: DefineComponent<ExtractPropTypes<{
|
|
|
853
879
|
}>, () => VNode< RendererNode, RendererElement, {
|
|
854
880
|
[key: string]: any;
|
|
855
881
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
882
|
+
/** 현재 슬라이드 순서가 바뀔 때 (v-model:active-index) */
|
|
856
883
|
'update:activeIndex': (value: number) => true;
|
|
884
|
+
/** 슬라이드가 바뀌었을 때 (새 순서) */
|
|
857
885
|
change: (value: number) => true;
|
|
886
|
+
/** 자동 재생을 시작했을 때 */
|
|
858
887
|
play: () => true;
|
|
888
|
+
/** 자동 재생을 멈췄을 때 */
|
|
859
889
|
stop: () => true;
|
|
890
|
+
/** 더 보기 버튼을 클릭했을 때 */
|
|
860
891
|
'more-click': (event: MouseEvent) => true;
|
|
861
892
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
862
893
|
/** 캐러셀 형태 (기본값: visual) */
|
|
@@ -1122,6 +1153,7 @@ export declare const KrdsCheckbox: DefineComponent<ExtractPropTypes<{
|
|
|
1122
1153
|
}>, () => VNode< RendererNode, RendererElement, {
|
|
1123
1154
|
[key: string]: any;
|
|
1124
1155
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1156
|
+
/** 체크 상태가 바뀔 때 (v-model) */
|
|
1125
1157
|
'update:modelValue': (value: boolean) => true;
|
|
1126
1158
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1127
1159
|
/** 모델 값 */
|
|
@@ -1161,8 +1193,8 @@ export declare const KrdsCheckbox: DefineComponent<ExtractPropTypes<{
|
|
|
1161
1193
|
disabled: boolean;
|
|
1162
1194
|
size: "medium" | "large";
|
|
1163
1195
|
class: string;
|
|
1164
|
-
modelValue: boolean;
|
|
1165
1196
|
id: string;
|
|
1197
|
+
modelValue: boolean;
|
|
1166
1198
|
chip: boolean;
|
|
1167
1199
|
}, SlotsType<{
|
|
1168
1200
|
default?: () => VNode[];
|
|
@@ -1219,7 +1251,9 @@ export declare const KrdsCoachMark: DefineComponent<ExtractPropTypes<{
|
|
|
1219
1251
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
1220
1252
|
[key: string]: any;
|
|
1221
1253
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1254
|
+
/** 이전·다음 버튼으로 단계가 바뀔 때 (v-model) */
|
|
1222
1255
|
'update:modelValue': (value: number | null) => true;
|
|
1256
|
+
/** 닫기 버튼으로 닫을 때 */
|
|
1223
1257
|
close: () => true;
|
|
1224
1258
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1225
1259
|
/** 코치마크 래퍼에 추가할 클래스 */
|
|
@@ -1368,6 +1402,7 @@ export declare const KrdsCriticalAlerts: DefineComponent<ExtractPropTypes<{
|
|
|
1368
1402
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
1369
1403
|
[key: string]: any;
|
|
1370
1404
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1405
|
+
/** 공지 링크를 클릭했을 때 */
|
|
1371
1406
|
'link-click': (event: MouseEvent) => true;
|
|
1372
1407
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1373
1408
|
/** 알림 타입 */
|
|
@@ -1498,10 +1533,15 @@ export declare const KrdsDateInput: DefineComponent<ExtractPropTypes<{
|
|
|
1498
1533
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
1499
1534
|
[key: string]: any;
|
|
1500
1535
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1536
|
+
/** 날짜를 입력하거나 달력에서 고를 때 (v-model) */
|
|
1501
1537
|
'update:modelValue': (value: string) => true;
|
|
1538
|
+
/** 입력할 때 (네이티브 input) */
|
|
1502
1539
|
input: (event: Event) => true;
|
|
1540
|
+
/** 값이 확정됐을 때 (네이티브 change) */
|
|
1503
1541
|
change: (event: Event) => true;
|
|
1542
|
+
/** 초점을 받았을 때 */
|
|
1504
1543
|
focus: (event: FocusEvent) => true;
|
|
1544
|
+
/** 초점을 잃었을 때 */
|
|
1505
1545
|
blur: (event: FocusEvent) => true;
|
|
1506
1546
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1507
1547
|
/** 선택된 날짜 값 */
|
|
@@ -1592,10 +1632,10 @@ export declare const KrdsDateInput: DefineComponent<ExtractPropTypes<{
|
|
|
1592
1632
|
disabled: boolean;
|
|
1593
1633
|
size: Size;
|
|
1594
1634
|
class: string;
|
|
1635
|
+
id: string;
|
|
1595
1636
|
modelValue: string;
|
|
1596
1637
|
placeholder: string;
|
|
1597
1638
|
autofocus: boolean;
|
|
1598
|
-
id: string;
|
|
1599
1639
|
eventDates: string[];
|
|
1600
1640
|
holidays: string[];
|
|
1601
1641
|
initialYear: number;
|
|
@@ -1656,6 +1696,7 @@ export declare const KrdsDisclosure: DefineComponent<ExtractPropTypes<{
|
|
|
1656
1696
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
1657
1697
|
[key: string]: any;
|
|
1658
1698
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1699
|
+
/** 펼침 상태가 바뀔 때 (v-model) */
|
|
1659
1700
|
'update:modelValue': (value: boolean) => true;
|
|
1660
1701
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1661
1702
|
/** 디스클로저 제목 */
|
|
@@ -1800,16 +1841,27 @@ export declare const KrdsFileUpload: DefineComponent<ExtractPropTypes<{
|
|
|
1800
1841
|
}>, () => VNode< RendererNode, RendererElement, {
|
|
1801
1842
|
[key: string]: any;
|
|
1802
1843
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1844
|
+
/** 파일을 추가·삭제해 목록이 바뀔 때 (v-model) */
|
|
1803
1845
|
'update:modelValue': (files: FileInfo[]) => true;
|
|
1846
|
+
/** 파일을 추가했을 때 */
|
|
1804
1847
|
'file-added': (file: FileInfo) => true;
|
|
1848
|
+
/** 파일을 삭제했을 때 (파일 id) */
|
|
1805
1849
|
'file-removed': (fileId: string) => true;
|
|
1850
|
+
/** 추가한 파일이 검사(크기·형식 등)에 실패했을 때 (오류 메시지) */
|
|
1806
1851
|
'file-error': (file: FileInfo, error: string) => true;
|
|
1852
|
+
/** 보내지 않음 (기존 코드 호환용 선언), 업로드는 사용하는 쪽에서 처리 */
|
|
1807
1853
|
'upload-start': (file: FileInfo) => true;
|
|
1854
|
+
/** 보내지 않음 (기존 코드 호환용 선언), 업로드는 사용하는 쪽에서 처리 */
|
|
1808
1855
|
'upload-progress': (file: FileInfo, progress: number) => true;
|
|
1856
|
+
/** 보내지 않음 (기존 코드 호환용 선언), 업로드는 사용하는 쪽에서 처리 */
|
|
1809
1857
|
'upload-complete': (file: FileInfo) => true;
|
|
1858
|
+
/** 보내지 않음 (기존 코드 호환용 선언), 업로드는 사용하는 쪽에서 처리 */
|
|
1810
1859
|
'upload-error': (file: FileInfo, error: string) => true;
|
|
1860
|
+
/** 전체 삭제 버튼을 눌렀을 때 */
|
|
1811
1861
|
'clear-all': () => true;
|
|
1862
|
+
/** 파일의 다운로드 버튼을 눌렀을 때 */
|
|
1812
1863
|
download: (file: FileInfo) => true;
|
|
1864
|
+
/** 파일의 미리보기 버튼을 눌렀을 때 */
|
|
1813
1865
|
preview: (file: FileInfo) => true;
|
|
1814
1866
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1815
1867
|
/** 파일 목록 */
|
|
@@ -1938,13 +1990,13 @@ export declare const KrdsFileUpload: DefineComponent<ExtractPropTypes<{
|
|
|
1938
1990
|
class: string;
|
|
1939
1991
|
style: string | Record<string, any>;
|
|
1940
1992
|
title: string;
|
|
1993
|
+
id: string;
|
|
1941
1994
|
modelValue: FileInfo[];
|
|
1942
1995
|
placeholder: string;
|
|
1943
|
-
id: string;
|
|
1944
1996
|
accept: string;
|
|
1945
|
-
multiple: boolean;
|
|
1946
1997
|
maxFiles: number;
|
|
1947
1998
|
maxFileSize: number;
|
|
1999
|
+
multiple: boolean;
|
|
1948
2000
|
dragAndDrop: boolean;
|
|
1949
2001
|
description: string;
|
|
1950
2002
|
showPreview: boolean;
|
|
@@ -2006,6 +2058,152 @@ export declare interface KrdsFileUploadProps extends BaseFormProps {
|
|
|
2006
2058
|
showClearAll?: boolean;
|
|
2007
2059
|
}
|
|
2008
2060
|
|
|
2061
|
+
/**
|
|
2062
|
+
* KRDS FloatingButton 컴포넌트
|
|
2063
|
+
*
|
|
2064
|
+
* 화면에서 가장 자주 쓰는 중요한 작업을 화면 오른쪽 아래에 고정해 보여 주는 버튼입니다.
|
|
2065
|
+
* `items`가 없으면 단일형(아이콘 + 레이블), 있으면 확장형(+ 버튼으로 항목을 펼치고 X로 닫음)입니다.
|
|
2066
|
+
*
|
|
2067
|
+
* @example
|
|
2068
|
+
* ```vue
|
|
2069
|
+
* <!-- 단일형 -->
|
|
2070
|
+
* <KrdsFloatingButton label="채팅 상담" icon="ico-faq" @click="openChat" />
|
|
2071
|
+
*
|
|
2072
|
+
* <!-- 아이콘만 -->
|
|
2073
|
+
* <KrdsFloatingButton label="맨 위로" icon="ico-go-top" hide-label @click="scrollToTop" />
|
|
2074
|
+
*
|
|
2075
|
+
* <!-- 확장형 -->
|
|
2076
|
+
* <KrdsFloatingButton
|
|
2077
|
+
* label="상담 메뉴"
|
|
2078
|
+
* :items="[
|
|
2079
|
+
* { label: '전화 상담', icon: 'ico-call', href: 'tel:1555-6365' },
|
|
2080
|
+
* { label: '이메일 문의', icon: 'ico-email', href: 'mailto:krds@nia.or.kr' }
|
|
2081
|
+
* ]"
|
|
2082
|
+
* />
|
|
2083
|
+
* ```
|
|
2084
|
+
*/
|
|
2085
|
+
export declare const KrdsFloatingButton: DefineComponent<ExtractPropTypes<{
|
|
2086
|
+
/** 단일형 버튼의 레이블, 확장형은 확장 버튼의 이름 (화면에는 숨김) */
|
|
2087
|
+
label: {
|
|
2088
|
+
type: StringConstructor;
|
|
2089
|
+
required: true;
|
|
2090
|
+
};
|
|
2091
|
+
/** 단일형 버튼의 아이콘 클래스 */
|
|
2092
|
+
icon: {
|
|
2093
|
+
type: StringConstructor;
|
|
2094
|
+
default: string;
|
|
2095
|
+
};
|
|
2096
|
+
/** 단일형 버튼의 링크 주소 */
|
|
2097
|
+
href: {
|
|
2098
|
+
type: StringConstructor;
|
|
2099
|
+
default: undefined;
|
|
2100
|
+
};
|
|
2101
|
+
/** 단일형 링크를 새 창으로 열기 ('새 창 열림' 안내 포함) */
|
|
2102
|
+
external: {
|
|
2103
|
+
type: BooleanConstructor;
|
|
2104
|
+
default: boolean;
|
|
2105
|
+
};
|
|
2106
|
+
/** 단일형 레이블을 화면에서 숨김 (아이콘만 표시, 화면낭독기는 읽음) */
|
|
2107
|
+
hideLabel: {
|
|
2108
|
+
type: BooleanConstructor;
|
|
2109
|
+
default: boolean;
|
|
2110
|
+
};
|
|
2111
|
+
/** 확장형 항목 (지정하면 확장형, 3개 이하 권장) */
|
|
2112
|
+
items: {
|
|
2113
|
+
type: PropType<KrdsFloatingButtonItem[]>;
|
|
2114
|
+
default: undefined;
|
|
2115
|
+
};
|
|
2116
|
+
}>, () => VNode< RendererNode, RendererElement, {
|
|
2117
|
+
[key: string]: any;
|
|
2118
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2119
|
+
/** 단일형 버튼 클릭 */
|
|
2120
|
+
click: (event: MouseEvent) => true;
|
|
2121
|
+
/** 확장형 항목 선택 (링크 항목은 event.preventDefault()로 라우터 이동 가능) */
|
|
2122
|
+
select: (item: KrdsFloatingButtonItem, index: number, event: MouseEvent) => true;
|
|
2123
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2124
|
+
/** 단일형 버튼의 레이블, 확장형은 확장 버튼의 이름 (화면에는 숨김) */
|
|
2125
|
+
label: {
|
|
2126
|
+
type: StringConstructor;
|
|
2127
|
+
required: true;
|
|
2128
|
+
};
|
|
2129
|
+
/** 단일형 버튼의 아이콘 클래스 */
|
|
2130
|
+
icon: {
|
|
2131
|
+
type: StringConstructor;
|
|
2132
|
+
default: string;
|
|
2133
|
+
};
|
|
2134
|
+
/** 단일형 버튼의 링크 주소 */
|
|
2135
|
+
href: {
|
|
2136
|
+
type: StringConstructor;
|
|
2137
|
+
default: undefined;
|
|
2138
|
+
};
|
|
2139
|
+
/** 단일형 링크를 새 창으로 열기 ('새 창 열림' 안내 포함) */
|
|
2140
|
+
external: {
|
|
2141
|
+
type: BooleanConstructor;
|
|
2142
|
+
default: boolean;
|
|
2143
|
+
};
|
|
2144
|
+
/** 단일형 레이블을 화면에서 숨김 (아이콘만 표시, 화면낭독기는 읽음) */
|
|
2145
|
+
hideLabel: {
|
|
2146
|
+
type: BooleanConstructor;
|
|
2147
|
+
default: boolean;
|
|
2148
|
+
};
|
|
2149
|
+
/** 확장형 항목 (지정하면 확장형, 3개 이하 권장) */
|
|
2150
|
+
items: {
|
|
2151
|
+
type: PropType<KrdsFloatingButtonItem[]>;
|
|
2152
|
+
default: undefined;
|
|
2153
|
+
};
|
|
2154
|
+
}>> & Readonly<{
|
|
2155
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2156
|
+
onSelect?: ((item: KrdsFloatingButtonItem, index: number, event: MouseEvent) => any) | undefined;
|
|
2157
|
+
}>, {
|
|
2158
|
+
icon: string;
|
|
2159
|
+
href: string;
|
|
2160
|
+
external: boolean;
|
|
2161
|
+
hideLabel: boolean;
|
|
2162
|
+
items: KrdsFloatingButtonItem[];
|
|
2163
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* KRDS FloatingButton 컴포넌트 이벤트
|
|
2167
|
+
*/
|
|
2168
|
+
export declare interface KrdsFloatingButtonEmits {
|
|
2169
|
+
/** 단일형 버튼 클릭 */
|
|
2170
|
+
(e: 'click', event: MouseEvent): void;
|
|
2171
|
+
/** 확장형 항목 선택 (링크 항목은 event.preventDefault()로 라우터 이동 가능) */
|
|
2172
|
+
(e: 'select', item: KrdsFloatingButtonItem, index: number, event: MouseEvent): void;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* 플로팅 버튼 항목 (단일형 버튼·확장형 항목 공통)
|
|
2177
|
+
*/
|
|
2178
|
+
export declare interface KrdsFloatingButtonItem {
|
|
2179
|
+
/** 버튼 이름 (레이블) */
|
|
2180
|
+
label: string;
|
|
2181
|
+
/** 아이콘 클래스 (예: 'ico-faq') */
|
|
2182
|
+
icon: string;
|
|
2183
|
+
/** 링크 주소 (없으면 버튼으로 렌더링) */
|
|
2184
|
+
href?: string;
|
|
2185
|
+
/** 링크를 새 창으로 열기 ('새 창 열림' 안내 포함) */
|
|
2186
|
+
external?: boolean;
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* KRDS FloatingButton 컴포넌트 속성
|
|
2191
|
+
*/
|
|
2192
|
+
export declare interface KrdsFloatingButtonProps extends BaseComponentProps {
|
|
2193
|
+
/** 단일형 버튼의 레이블, 확장형은 확장 버튼의 이름 (화면에는 숨김) */
|
|
2194
|
+
label: string;
|
|
2195
|
+
/** 단일형 버튼의 아이콘 클래스 */
|
|
2196
|
+
icon?: string;
|
|
2197
|
+
/** 단일형 버튼의 링크 주소 */
|
|
2198
|
+
href?: string;
|
|
2199
|
+
/** 단일형 링크를 새 창으로 열기 ('새 창 열림' 안내 포함) */
|
|
2200
|
+
external?: boolean;
|
|
2201
|
+
/** 단일형 레이블을 화면에서 숨김 (아이콘만 표시, 화면낭독기는 읽음) */
|
|
2202
|
+
hideLabel?: boolean;
|
|
2203
|
+
/** 확장형 항목 (지정하면 확장형, 3개 이하 권장) */
|
|
2204
|
+
items?: KrdsFloatingButtonItem[];
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2009
2207
|
export declare const KrdsFooter: DefineComponent<ExtractPropTypes<{
|
|
2010
2208
|
/** Footer ID */
|
|
2011
2209
|
id: {
|
|
@@ -2112,6 +2310,7 @@ export declare const KrdsFormHint: DefineComponent<ExtractPropTypes<{
|
|
|
2112
2310
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
2113
2311
|
[key: string]: any;
|
|
2114
2312
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2313
|
+
/** 도움말 문구를 클릭했을 때 */
|
|
2115
2314
|
click: (event: MouseEvent) => true;
|
|
2116
2315
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2117
2316
|
/** 힌트 타입 */
|
|
@@ -2182,6 +2381,7 @@ export declare const KrdsFormLabel: DefineComponent<ExtractPropTypes<{
|
|
|
2182
2381
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
2183
2382
|
[key: string]: any;
|
|
2184
2383
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2384
|
+
/** 레이블을 클릭했을 때 */
|
|
2185
2385
|
click: (event: MouseEvent) => true;
|
|
2186
2386
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2187
2387
|
/** label의 for 속성 */
|
|
@@ -2326,6 +2526,7 @@ export declare const KrdsIdentifier: DefineComponent<ExtractPropTypes<{
|
|
|
2326
2526
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
2327
2527
|
[key: string]: any;
|
|
2328
2528
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2529
|
+
/** 운영기관 식별자를 클릭했을 때 */
|
|
2329
2530
|
click: (event: MouseEvent) => true;
|
|
2330
2531
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2331
2532
|
/** CSS 클래스 */
|
|
@@ -2398,6 +2599,7 @@ export declare const KrdsInPageNavigation: DefineComponent<ExtractPropTypes<{
|
|
|
2398
2599
|
}>, () => VNode< RendererNode, RendererElement, {
|
|
2399
2600
|
[key: string]: any;
|
|
2400
2601
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2602
|
+
/** 탐색 항목을 클릭하거나 키보드로 선택했을 때 */
|
|
2401
2603
|
itemClick: (item: NavigationItem, event: MouseEvent | KeyboardEvent) => true;
|
|
2402
2604
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2403
2605
|
/** 네비게이션 제목 */
|
|
@@ -2578,12 +2780,19 @@ export declare const KrdsInput: DefineComponent<ExtractPropTypes<{
|
|
|
2578
2780
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
2579
2781
|
[key: string]: any;
|
|
2580
2782
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2783
|
+
/** 입력값이 바뀔 때 (v-model) */
|
|
2581
2784
|
'update:modelValue': (value: string | number) => true;
|
|
2785
|
+
/** 입력할 때 (네이티브 input) */
|
|
2582
2786
|
input: (event: Event) => true;
|
|
2787
|
+
/** 값이 확정됐을 때 (네이티브 change) */
|
|
2583
2788
|
change: (event: Event) => true;
|
|
2789
|
+
/** 초점을 받았을 때 */
|
|
2584
2790
|
focus: (event: FocusEvent) => true;
|
|
2791
|
+
/** 초점을 잃었을 때 */
|
|
2585
2792
|
blur: (event: FocusEvent) => true;
|
|
2793
|
+
/** 키를 눌렀을 때 */
|
|
2586
2794
|
keydown: (event: KeyboardEvent) => true;
|
|
2795
|
+
/** 키를 뗐을 때 */
|
|
2587
2796
|
keyup: (event: KeyboardEvent) => true;
|
|
2588
2797
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2589
2798
|
/** 입력값 */
|
|
@@ -2703,6 +2912,7 @@ export declare const KrdsInput: DefineComponent<ExtractPropTypes<{
|
|
|
2703
2912
|
size: Size;
|
|
2704
2913
|
icon: boolean;
|
|
2705
2914
|
class: string;
|
|
2915
|
+
id: string;
|
|
2706
2916
|
modelValue: string | number;
|
|
2707
2917
|
placeholder: string;
|
|
2708
2918
|
maxlength: number;
|
|
@@ -2714,7 +2924,6 @@ export declare const KrdsInput: DefineComponent<ExtractPropTypes<{
|
|
|
2714
2924
|
autofocus: boolean;
|
|
2715
2925
|
state: "success" | "error" | "default" | "information";
|
|
2716
2926
|
loading: boolean;
|
|
2717
|
-
id: string;
|
|
2718
2927
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2719
2928
|
|
|
2720
2929
|
/**
|
|
@@ -2790,7 +2999,9 @@ export declare const KrdsLanguageSwitcher: DefineComponent<ExtractPropTypes<{
|
|
|
2790
2999
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
2791
3000
|
[key: string]: any;
|
|
2792
3001
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3002
|
+
/** 언어를 골랐을 때 (언어 코드, v-model) */
|
|
2793
3003
|
'update:modelValue': (value: string) => true;
|
|
3004
|
+
/** 언어 목록이 닫힐 때 */
|
|
2794
3005
|
close: () => true;
|
|
2795
3006
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2796
3007
|
/** 언어 목록 */
|
|
@@ -2863,9 +3074,12 @@ export declare const KrdsLayout: DefineComponent<ExtractPropTypes<{
|
|
|
2863
3074
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
2864
3075
|
[key: string]: any;
|
|
2865
3076
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
3077
|
+
/** 창 크기가 바뀔 때 (레이아웃 크기) */
|
|
3078
|
+
resize: (size: LayoutSize) => true;
|
|
3079
|
+
/** 스크롤할 때 (위치·방향) */
|
|
3080
|
+
scroll: (details: ScrollDetails) => true;
|
|
3081
|
+
/** 문서 스크롤 높이가 바뀔 때 */
|
|
3082
|
+
'scroll-height': (height: number) => true;
|
|
2869
3083
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2870
3084
|
/** 레이아웃 ID */
|
|
2871
3085
|
id: {
|
|
@@ -2883,9 +3097,9 @@ export declare const KrdsLayout: DefineComponent<ExtractPropTypes<{
|
|
|
2883
3097
|
default: boolean;
|
|
2884
3098
|
};
|
|
2885
3099
|
}>> & Readonly<{
|
|
2886
|
-
onResize?: ((
|
|
2887
|
-
onScroll?: ((
|
|
2888
|
-
"onScroll-height"?: ((
|
|
3100
|
+
onResize?: ((size: LayoutSize) => any) | undefined;
|
|
3101
|
+
onScroll?: ((details: ScrollDetails) => any) | undefined;
|
|
3102
|
+
"onScroll-height"?: ((height: number) => any) | undefined;
|
|
2889
3103
|
}>, {
|
|
2890
3104
|
class: string;
|
|
2891
3105
|
id: string;
|
|
@@ -2955,6 +3169,7 @@ export declare const KrdsLink: DefineComponent<ExtractPropTypes<{
|
|
|
2955
3169
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
2956
3170
|
[key: string]: any;
|
|
2957
3171
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3172
|
+
/** 링크를 클릭했을 때 */
|
|
2958
3173
|
click: (event: MouseEvent) => true;
|
|
2959
3174
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
2960
3175
|
/** 링크 URL */
|
|
@@ -3081,8 +3296,11 @@ export declare const KrdsMainMenu: DefineComponent<ExtractPropTypes<{
|
|
|
3081
3296
|
}>, () => VNode< RendererNode, RendererElement, {
|
|
3082
3297
|
[key: string]: any;
|
|
3083
3298
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3299
|
+
/** 모바일 메뉴가 열리거나 닫힐 때 (v-model:open) */
|
|
3084
3300
|
'update:open': (value: boolean) => true;
|
|
3301
|
+
/** 1차 메뉴를 펼치거나 접을 때 (순서, 펼침 여부) */
|
|
3085
3302
|
'menu-toggle': (index: number, expanded: boolean) => true;
|
|
3303
|
+
/** 메뉴 항목을 클릭했을 때 */
|
|
3086
3304
|
'item-click': (item: MainMenuAnyItem, mouseEvent: MouseEvent) => true;
|
|
3087
3305
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3088
3306
|
/** 메뉴 아이템 배열 */
|
|
@@ -3187,6 +3405,7 @@ export declare const KrdsMasthead: DefineComponent<ExtractPropTypes<{
|
|
|
3187
3405
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
3188
3406
|
[key: string]: any;
|
|
3189
3407
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3408
|
+
/** 공식 배너를 클릭했을 때 */
|
|
3190
3409
|
click: (event: MouseEvent) => true;
|
|
3191
3410
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3192
3411
|
/** CSS 클래스 */
|
|
@@ -3251,6 +3470,7 @@ export declare const KrdsModal: DefineComponent<ExtractPropTypes<{
|
|
|
3251
3470
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
3252
3471
|
[key: string]: any;
|
|
3253
3472
|
}> | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3473
|
+
/** 모달이 열리거나 닫힐 때 (v-model) */
|
|
3254
3474
|
'update:modelValue': (value: boolean) => true;
|
|
3255
3475
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3256
3476
|
/** 모달 표시 여부 (v-model) */
|
|
@@ -3350,6 +3570,7 @@ export declare const KrdsPagination: DefineComponent<ExtractPropTypes<{
|
|
|
3350
3570
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
3351
3571
|
[key: string]: any;
|
|
3352
3572
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3573
|
+
/** 페이지를 바꿀 때 (페이지 번호, v-model) */
|
|
3353
3574
|
'update:modelValue': (value: number) => true;
|
|
3354
3575
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3355
3576
|
/** 현재 페이지 번호 (v-model) */
|
|
@@ -3385,9 +3606,9 @@ export declare const KrdsPagination: DefineComponent<ExtractPropTypes<{
|
|
|
3385
3606
|
}>> & Readonly<{
|
|
3386
3607
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
3387
3608
|
}>, {
|
|
3609
|
+
id: string;
|
|
3388
3610
|
modelValue: number;
|
|
3389
3611
|
min: number;
|
|
3390
|
-
id: string;
|
|
3391
3612
|
ariaLabel: string;
|
|
3392
3613
|
pageRange: number;
|
|
3393
3614
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -3424,9 +3645,20 @@ export declare const KrdsPanel: DefineComponent<ExtractPropTypes<{
|
|
|
3424
3645
|
type: BooleanConstructor;
|
|
3425
3646
|
default: boolean;
|
|
3426
3647
|
};
|
|
3648
|
+
/** 헤더 상단 영역 선택자 (기본값: '#krds-masthead', KrdsInPageNavigation과 같음) */
|
|
3649
|
+
headerTopSelector: {
|
|
3650
|
+
type: StringConstructor;
|
|
3651
|
+
default: string;
|
|
3652
|
+
};
|
|
3653
|
+
/** 헤더 내부 영역 선택자 (기본값: '#krds-header .header-in', KrdsInPageNavigation과 같음) */
|
|
3654
|
+
headerInnerSelector: {
|
|
3655
|
+
type: StringConstructor;
|
|
3656
|
+
default: string;
|
|
3657
|
+
};
|
|
3427
3658
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
3428
3659
|
[key: string]: any;
|
|
3429
3660
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3661
|
+
/** 도움 패널을 펼치거나 접을 때 (v-model) */
|
|
3430
3662
|
'update:modelValue': (value: boolean) => true;
|
|
3431
3663
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3432
3664
|
/** 도움말 패널 펼침 상태 (v-model) */
|
|
@@ -3434,10 +3666,22 @@ export declare const KrdsPanel: DefineComponent<ExtractPropTypes<{
|
|
|
3434
3666
|
type: BooleanConstructor;
|
|
3435
3667
|
default: boolean;
|
|
3436
3668
|
};
|
|
3669
|
+
/** 헤더 상단 영역 선택자 (기본값: '#krds-masthead', KrdsInPageNavigation과 같음) */
|
|
3670
|
+
headerTopSelector: {
|
|
3671
|
+
type: StringConstructor;
|
|
3672
|
+
default: string;
|
|
3673
|
+
};
|
|
3674
|
+
/** 헤더 내부 영역 선택자 (기본값: '#krds-header .header-in', KrdsInPageNavigation과 같음) */
|
|
3675
|
+
headerInnerSelector: {
|
|
3676
|
+
type: StringConstructor;
|
|
3677
|
+
default: string;
|
|
3678
|
+
};
|
|
3437
3679
|
}>> & Readonly<{
|
|
3438
3680
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
3439
3681
|
}>, {
|
|
3440
3682
|
modelValue: boolean;
|
|
3683
|
+
headerTopSelector: string;
|
|
3684
|
+
headerInnerSelector: string;
|
|
3441
3685
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3442
3686
|
|
|
3443
3687
|
/**
|
|
@@ -3453,6 +3697,10 @@ export declare interface KrdsPanelEmits {
|
|
|
3453
3697
|
export declare interface KrdsPanelProps {
|
|
3454
3698
|
/** 도움말 패널 펼침 상태 (v-model) */
|
|
3455
3699
|
modelValue?: boolean;
|
|
3700
|
+
/** 헤더 상단 영역 선택자 (기본값: '#krds-masthead') */
|
|
3701
|
+
headerTopSelector?: string;
|
|
3702
|
+
/** 헤더 내부 영역 선택자 (기본값: '#krds-header .header-in') */
|
|
3703
|
+
headerInnerSelector?: string;
|
|
3456
3704
|
}
|
|
3457
3705
|
|
|
3458
3706
|
export declare const KrdsRadio: DefineComponent<ExtractPropTypes<{
|
|
@@ -3500,6 +3748,7 @@ export declare const KrdsRadio: DefineComponent<ExtractPropTypes<{
|
|
|
3500
3748
|
}>, () => VNode< RendererNode, RendererElement, {
|
|
3501
3749
|
[key: string]: any;
|
|
3502
3750
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3751
|
+
/** 이 항목을 선택할 때 (항목 value, v-model) */
|
|
3503
3752
|
'update:modelValue': (value: string | number | boolean) => true;
|
|
3504
3753
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3505
3754
|
/** 모델 값 */
|
|
@@ -3550,8 +3799,8 @@ export declare const KrdsRadio: DefineComponent<ExtractPropTypes<{
|
|
|
3550
3799
|
disabled: boolean;
|
|
3551
3800
|
size: "medium" | "large";
|
|
3552
3801
|
class: string;
|
|
3553
|
-
modelValue: string | number | boolean;
|
|
3554
3802
|
id: string;
|
|
3803
|
+
modelValue: string | number | boolean;
|
|
3555
3804
|
chip: boolean;
|
|
3556
3805
|
}, SlotsType<{
|
|
3557
3806
|
default?: () => VNode[];
|
|
@@ -3581,24 +3830,51 @@ export declare interface KrdsRadioProps extends BaseFormProps {
|
|
|
3581
3830
|
chip?: boolean;
|
|
3582
3831
|
}
|
|
3583
3832
|
|
|
3584
|
-
export declare const KrdsResize: DefineComponent<
|
|
3833
|
+
export declare const KrdsResize: DefineComponent<ExtractPropTypes<{
|
|
3834
|
+
/** 선택한 화면 크기 (v-model). 지정하면 그 크기로 화면을 확대·축소한다 */
|
|
3835
|
+
modelValue: {
|
|
3836
|
+
type: PropType<KrdsResizeScale>;
|
|
3837
|
+
default: undefined;
|
|
3838
|
+
};
|
|
3839
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
3585
3840
|
[key: string]: any;
|
|
3586
3841
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3587
|
-
|
|
3842
|
+
/** 화면 크기를 골랐을 때 (v-model) */
|
|
3843
|
+
'update:modelValue': (value: KrdsResizeScale) => true;
|
|
3844
|
+
/** 크기 목록이 닫힐 때 */
|
|
3588
3845
|
close: () => true;
|
|
3589
|
-
}, string, PublicProps, Readonly<
|
|
3846
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3847
|
+
/** 선택한 화면 크기 (v-model). 지정하면 그 크기로 화면을 확대·축소한다 */
|
|
3848
|
+
modelValue: {
|
|
3849
|
+
type: PropType<KrdsResizeScale>;
|
|
3850
|
+
default: undefined;
|
|
3851
|
+
};
|
|
3852
|
+
}>> & Readonly<{
|
|
3590
3853
|
onClose?: (() => any) | undefined;
|
|
3591
|
-
"onUpdate:modelValue"?: ((value:
|
|
3592
|
-
}>, {
|
|
3854
|
+
"onUpdate:modelValue"?: ((value: KrdsResizeScale) => any) | undefined;
|
|
3855
|
+
}>, {
|
|
3856
|
+
modelValue: KrdsResizeScale;
|
|
3857
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3593
3858
|
|
|
3594
3859
|
/**
|
|
3595
3860
|
* KRDS Resize 컴포넌트 이벤트
|
|
3596
3861
|
*/
|
|
3597
3862
|
export declare interface KrdsResizeEmits {
|
|
3598
|
-
(e: 'update:modelValue', value:
|
|
3863
|
+
(e: 'update:modelValue', value: KrdsResizeScale): void;
|
|
3599
3864
|
(e: 'close'): void;
|
|
3600
3865
|
}
|
|
3601
3866
|
|
|
3867
|
+
/**
|
|
3868
|
+
* KRDS Resize 컴포넌트 속성
|
|
3869
|
+
*/
|
|
3870
|
+
export declare interface KrdsResizeProps {
|
|
3871
|
+
/** 선택한 화면 크기 (v-model). 지정하면 그 크기로 화면을 확대·축소한다 */
|
|
3872
|
+
modelValue?: KrdsResizeScale;
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
/** 화면 크기 (작게 sm · 보통 md · 조금 크게 lg · 크게 xlg · 가장 크게 xxlg) */
|
|
3876
|
+
export declare type KrdsResizeScale = 'sm' | 'md' | 'lg' | 'xlg' | 'xxlg';
|
|
3877
|
+
|
|
3602
3878
|
export declare const KrdsSelect: DefineComponent<ExtractPropTypes<{
|
|
3603
3879
|
/** 선택된 값 */
|
|
3604
3880
|
modelValue: {
|
|
@@ -3663,8 +3939,11 @@ export declare const KrdsSelect: DefineComponent<ExtractPropTypes<{
|
|
|
3663
3939
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
3664
3940
|
[key: string]: any;
|
|
3665
3941
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3942
|
+
/** 선택한 값이 바뀔 때 (v-model) */
|
|
3666
3943
|
'update:modelValue': (value: string | number | null) => true;
|
|
3944
|
+
/** 초점을 받았을 때 */
|
|
3667
3945
|
focus: (event: FocusEvent) => true;
|
|
3946
|
+
/** 초점을 잃었을 때 */
|
|
3668
3947
|
blur: (event: FocusEvent) => true;
|
|
3669
3948
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3670
3949
|
/** 선택된 값 */
|
|
@@ -3739,10 +4018,10 @@ export declare const KrdsSelect: DefineComponent<ExtractPropTypes<{
|
|
|
3739
4018
|
class: string;
|
|
3740
4019
|
sort: boolean;
|
|
3741
4020
|
title: string;
|
|
4021
|
+
id: string;
|
|
3742
4022
|
modelValue: string | number | null;
|
|
3743
4023
|
placeholder: string;
|
|
3744
4024
|
state: "success" | "error" | "default" | "information";
|
|
3745
|
-
id: string;
|
|
3746
4025
|
options: SelectOption[];
|
|
3747
4026
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3748
4027
|
|
|
@@ -3783,6 +4062,7 @@ export declare const KrdsSideNavigation: DefineComponent<{
|
|
|
3783
4062
|
}, () => VNode< RendererNode, RendererElement, {
|
|
3784
4063
|
[key: string]: any;
|
|
3785
4064
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4065
|
+
/** 메뉴를 펼치거나 접어 항목 상태가 바뀔 때 (v-model) */
|
|
3786
4066
|
'update:modelValue': (value: SideNavItem[]) => true;
|
|
3787
4067
|
}, string, PublicProps, Readonly<{
|
|
3788
4068
|
title: string;
|
|
@@ -3955,7 +4235,7 @@ export declare const KrdsStep: DefineComponent<ExtractPropTypes<{
|
|
|
3955
4235
|
type: StringConstructor;
|
|
3956
4236
|
required: true;
|
|
3957
4237
|
};
|
|
3958
|
-
/** 단계 상태
|
|
4238
|
+
/** 단계 상태 (지정하지 않으면 KrdsStepIndicator가 순서에 따라 정함) */
|
|
3959
4239
|
status: {
|
|
3960
4240
|
type: () => "done" | "active" | "pending";
|
|
3961
4241
|
default: undefined;
|
|
@@ -3968,6 +4248,7 @@ export declare const KrdsStep: DefineComponent<ExtractPropTypes<{
|
|
|
3968
4248
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
3969
4249
|
[key: string]: any;
|
|
3970
4250
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4251
|
+
/** 단계를 클릭했을 때 (단계 번호) */
|
|
3971
4252
|
click: (event: MouseEvent, step: string | number) => true;
|
|
3972
4253
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
3973
4254
|
/** 단계 번호 */
|
|
@@ -3980,7 +4261,7 @@ export declare const KrdsStep: DefineComponent<ExtractPropTypes<{
|
|
|
3980
4261
|
type: StringConstructor;
|
|
3981
4262
|
required: true;
|
|
3982
4263
|
};
|
|
3983
|
-
/** 단계 상태
|
|
4264
|
+
/** 단계 상태 (지정하지 않으면 KrdsStepIndicator가 순서에 따라 정함) */
|
|
3984
4265
|
status: {
|
|
3985
4266
|
type: () => "done" | "active" | "pending";
|
|
3986
4267
|
default: undefined;
|
|
@@ -4004,8 +4285,14 @@ export declare interface KrdsStepEmits {
|
|
|
4004
4285
|
(e: 'click', event: MouseEvent, step: string | number): void;
|
|
4005
4286
|
}
|
|
4006
4287
|
|
|
4288
|
+
/**
|
|
4289
|
+
* KRDS StepIndicator 컴포넌트
|
|
4290
|
+
*
|
|
4291
|
+
* 진행 상태를 보여 주기만 하는 컴포넌트입니다 (KRDS 원본과 같이 단계를 눌러 이동하지 않음).
|
|
4292
|
+
* 단계 이동은 이전/다음 버튼 등에서 `model-value`를 바꿔 반영합니다.
|
|
4293
|
+
*/
|
|
4007
4294
|
export declare const KrdsStepIndicator: DefineComponent<ExtractPropTypes<{
|
|
4008
|
-
/** 현재
|
|
4295
|
+
/** 현재 단계 인덱스 (0부터 시작). 앞 단계는 완료, 뒤 단계는 대기로 표시 */
|
|
4009
4296
|
modelValue: {
|
|
4010
4297
|
type: NumberConstructor;
|
|
4011
4298
|
default: number;
|
|
@@ -4018,9 +4305,13 @@ export declare const KrdsStepIndicator: DefineComponent<ExtractPropTypes<{
|
|
|
4018
4305
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
4019
4306
|
[key: string]: any;
|
|
4020
4307
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4308
|
+
/**
|
|
4309
|
+
* 보내지 않음: 단계 표시기는 진행 상태만 보여 주므로 v-model 값이 바뀌지 않습니다 (기존 코드 호환용, 다음 주요 버전에서 제거)
|
|
4310
|
+
* @deprecated
|
|
4311
|
+
*/
|
|
4021
4312
|
'update:modelValue': (value: number) => true;
|
|
4022
4313
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
4023
|
-
/** 현재
|
|
4314
|
+
/** 현재 단계 인덱스 (0부터 시작). 앞 단계는 완료, 뒤 단계는 대기로 표시 */
|
|
4024
4315
|
modelValue: {
|
|
4025
4316
|
type: NumberConstructor;
|
|
4026
4317
|
default: number;
|
|
@@ -4039,6 +4330,7 @@ export declare const KrdsStepIndicator: DefineComponent<ExtractPropTypes<{
|
|
|
4039
4330
|
|
|
4040
4331
|
/**
|
|
4041
4332
|
* KRDS StepIndicator 컴포넌트 이벤트
|
|
4333
|
+
* @deprecated 단계 표시기는 진행 상태만 보여 주므로 update:modelValue를 보내지 않습니다. 다음 주요 버전에서 제거합니다.
|
|
4042
4334
|
*/
|
|
4043
4335
|
export declare interface KrdsStepIndicatorEmits {
|
|
4044
4336
|
(e: 'update:modelValue', value: number): void;
|
|
@@ -4048,7 +4340,7 @@ export declare interface KrdsStepIndicatorEmits {
|
|
|
4048
4340
|
* KRDS StepIndicator 컴포넌트 속성
|
|
4049
4341
|
*/
|
|
4050
4342
|
export declare interface KrdsStepIndicatorProps extends BaseComponentProps {
|
|
4051
|
-
/** 현재
|
|
4343
|
+
/** 현재 단계 인덱스 (0부터 시작). 앞 단계는 완료, 뒤 단계는 대기로 표시 */
|
|
4052
4344
|
modelValue?: number;
|
|
4053
4345
|
}
|
|
4054
4346
|
|
|
@@ -4060,7 +4352,7 @@ export declare interface KrdsStepProps extends BaseComponentProps {
|
|
|
4060
4352
|
step: string | number;
|
|
4061
4353
|
/** 단계 제목 */
|
|
4062
4354
|
title: string;
|
|
4063
|
-
/** 단계 상태
|
|
4355
|
+
/** 단계 상태 (지정하지 않으면 KrdsStepIndicator가 순서에 따라 정함) */
|
|
4064
4356
|
status?: 'done' | 'active' | 'pending';
|
|
4065
4357
|
}
|
|
4066
4358
|
|
|
@@ -4131,6 +4423,7 @@ export declare const KrdsTable: DefineComponent<ExtractPropTypes<{
|
|
|
4131
4423
|
}>, () => VNode< RendererNode, RendererElement, {
|
|
4132
4424
|
[key: string]: any;
|
|
4133
4425
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4426
|
+
/** 행을 클릭했을 때 (행, 순서) */
|
|
4134
4427
|
'row-click': (row: TableRow, index: number) => true;
|
|
4135
4428
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
4136
4429
|
/** 테이블 캡션 */
|
|
@@ -4215,7 +4508,9 @@ export declare const KrdsTabs: DefineComponent<ExtractPropTypes<{
|
|
|
4215
4508
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
4216
4509
|
[key: string]: any;
|
|
4217
4510
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4511
|
+
/** 선택한 탭 id가 바뀔 때 (v-model) */
|
|
4218
4512
|
'update:modelValue': (id: string) => true;
|
|
4513
|
+
/** 탭을 바꿨을 때 (탭 id) */
|
|
4219
4514
|
change: (id: string) => true;
|
|
4220
4515
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
4221
4516
|
/** 탭 아이템 목록 */
|
|
@@ -4317,6 +4612,7 @@ export declare const KrdsTag: DefineComponent<ExtractPropTypes<{
|
|
|
4317
4612
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
4318
4613
|
[key: string]: any;
|
|
4319
4614
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4615
|
+
/** 삭제 버튼을 클릭했을 때 */
|
|
4320
4616
|
remove: (event: MouseEvent) => true;
|
|
4321
4617
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
4322
4618
|
/** 링크 태그 여부 */
|
|
@@ -4501,12 +4797,19 @@ export declare const KrdsTextarea: DefineComponent<ExtractPropTypes<{
|
|
|
4501
4797
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
4502
4798
|
[key: string]: any;
|
|
4503
4799
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4800
|
+
/** 입력값이 바뀔 때 (v-model) */
|
|
4504
4801
|
'update:modelValue': (value: string) => true;
|
|
4802
|
+
/** 입력할 때 (네이티브 input) */
|
|
4505
4803
|
input: (event: Event) => true;
|
|
4804
|
+
/** 값이 확정됐을 때 (네이티브 change) */
|
|
4506
4805
|
change: (event: Event) => true;
|
|
4806
|
+
/** 초점을 받았을 때 */
|
|
4507
4807
|
focus: (event: FocusEvent) => true;
|
|
4808
|
+
/** 초점을 잃었을 때 */
|
|
4508
4809
|
blur: (event: FocusEvent) => true;
|
|
4810
|
+
/** 키를 눌렀을 때 */
|
|
4509
4811
|
keydown: (event: KeyboardEvent) => true;
|
|
4812
|
+
/** 키를 뗐을 때 */
|
|
4510
4813
|
keyup: (event: KeyboardEvent) => true;
|
|
4511
4814
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
4512
4815
|
/** 입력값 */
|
|
@@ -4605,12 +4908,12 @@ export declare const KrdsTextarea: DefineComponent<ExtractPropTypes<{
|
|
|
4605
4908
|
size: Size;
|
|
4606
4909
|
class: string;
|
|
4607
4910
|
resize: "horizontal" | "vertical" | "none" | "both";
|
|
4911
|
+
id: string;
|
|
4608
4912
|
modelValue: string;
|
|
4609
4913
|
placeholder: string;
|
|
4610
4914
|
maxlength: number;
|
|
4611
4915
|
minlength: number;
|
|
4612
4916
|
autofocus: boolean;
|
|
4613
|
-
id: string;
|
|
4614
4917
|
rows: number;
|
|
4615
4918
|
cols: number;
|
|
4616
4919
|
showCount: boolean;
|
|
@@ -4746,7 +5049,9 @@ export declare const KrdsToggleSwitch: DefineComponent<ExtractPropTypes<{
|
|
|
4746
5049
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
4747
5050
|
[key: string]: any;
|
|
4748
5051
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5052
|
+
/** 켜짐 상태가 바뀔 때 (v-model) */
|
|
4749
5053
|
'update:modelValue': (value: boolean) => true;
|
|
5054
|
+
/** 켜거나 껐을 때 */
|
|
4750
5055
|
change: (value: boolean) => true;
|
|
4751
5056
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
4752
5057
|
/** 모델 값 */
|
|
@@ -4806,8 +5111,8 @@ export declare const KrdsToggleSwitch: DefineComponent<ExtractPropTypes<{
|
|
|
4806
5111
|
size: "medium" | "large";
|
|
4807
5112
|
class: string;
|
|
4808
5113
|
label: string;
|
|
4809
|
-
modelValue: boolean;
|
|
4810
5114
|
id: string;
|
|
5115
|
+
modelValue: boolean;
|
|
4811
5116
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4812
5117
|
|
|
4813
5118
|
/**
|
|
@@ -4943,9 +5248,13 @@ export declare const KrdsTts: DefineComponent<ExtractPropTypes<{
|
|
|
4943
5248
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
4944
5249
|
[key: string]: any;
|
|
4945
5250
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5251
|
+
/** 읽기를 시작했을 때 (읽는 문장) */
|
|
4946
5252
|
play: (text: string) => true;
|
|
5253
|
+
/** 일시 정지했을 때 */
|
|
4947
5254
|
pause: () => true;
|
|
5255
|
+
/** 읽기가 끝났을 때 */
|
|
4948
5256
|
end: () => true;
|
|
5257
|
+
/** 음성 합성을 지원하지 않거나 읽기에 실패했을 때 */
|
|
4949
5258
|
error: (error: Error) => true;
|
|
4950
5259
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
4951
5260
|
/** 읽어줄 텍스트 */
|