@leechanyong/ispark-ui 0.5.13 → 0.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +93 -0
- package/dist/ispark-ui.cjs +264 -264
- package/dist/ispark-ui.css +1 -1
- package/dist/ispark-ui.js +3277 -3042
- package/package.json +98 -98
package/dist/index.d.ts
CHANGED
|
@@ -444,6 +444,12 @@ declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
|
444
444
|
};
|
|
445
445
|
};
|
|
446
446
|
|
|
447
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
448
|
+
new (): {
|
|
449
|
+
$slots: S;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
|
|
447
453
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
448
454
|
new (): {
|
|
449
455
|
$slots: S;
|
|
@@ -509,6 +515,27 @@ export declare type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
|
509
515
|
|
|
510
516
|
export declare type BadgeVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
511
517
|
|
|
518
|
+
/** 막대 위치 — 단일/여러 날 일정의 시작·중간·끝 */
|
|
519
|
+
export declare type CalendarEventSpan = 'single' | 'start' | 'middle' | 'end';
|
|
520
|
+
|
|
521
|
+
/** 캘린더 일정(정규화 모델). end 없으면 단일일, 있으면 여러 날 막대로 표시 */
|
|
522
|
+
export declare interface CalendarMonthEvent {
|
|
523
|
+
/** 고유 id — 여러 소스를 합칠 땐 'todo-5'처럼 충돌 없는 값 권장 */
|
|
524
|
+
id: string | number;
|
|
525
|
+
/** 시작일 'YYYY-MM-DD' */
|
|
526
|
+
start: string;
|
|
527
|
+
/** 종료일 'YYYY-MM-DD' (없거나 start보다 빠르면 단일일 취급) */
|
|
528
|
+
end?: string | null;
|
|
529
|
+
/** 막대 라벨 */
|
|
530
|
+
title: string;
|
|
531
|
+
/** 막대 색 (기본 var(--color-primary)) */
|
|
532
|
+
color?: string;
|
|
533
|
+
/** 하루종일 여부 (표시는 consumer 자유, meta로 전달) */
|
|
534
|
+
allDay?: boolean;
|
|
535
|
+
/** 도메인 데이터 passthrough — #event 슬롯에서 활용 */
|
|
536
|
+
meta?: unknown;
|
|
537
|
+
}
|
|
538
|
+
|
|
512
539
|
/** 토스트 수동 닫기 */
|
|
513
540
|
export declare function closeToast(id: number): void;
|
|
514
541
|
|
|
@@ -1178,6 +1205,72 @@ export declare const UiBadgeGroup: __VLS_WithTemplateSlots_7<typeof __VLS_compon
|
|
|
1178
1205
|
|
|
1179
1206
|
export declare const UiButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1180
1207
|
|
|
1208
|
+
export declare const UiCalendarMonth: __VLS_WithTemplateSlots_14<DefineComponent< {
|
|
1209
|
+
/** 표시할 연도 */
|
|
1210
|
+
year: number;
|
|
1211
|
+
/** 표시할 월 (1-12) */
|
|
1212
|
+
month: number;
|
|
1213
|
+
/** 일정 목록 */
|
|
1214
|
+
events?: CalendarMonthEvent[];
|
|
1215
|
+
/** 선택된 날짜 'YYYY-MM-DD' */
|
|
1216
|
+
selectedDate?: string;
|
|
1217
|
+
/** 오늘 날짜 'YYYY-MM-DD' — 미지정 시 실제 오늘 (테스트/스토리에서 주입) */
|
|
1218
|
+
today?: string;
|
|
1219
|
+
/** 한 칸에 표시할 최대 레인 수 (초과분은 +N) */
|
|
1220
|
+
maxLanes?: number;
|
|
1221
|
+
/** 좌우 스와이프로 월 전환 */
|
|
1222
|
+
swipeable?: boolean;
|
|
1223
|
+
/** 요일 헤더 표시 */
|
|
1224
|
+
showWeekdays?: boolean;
|
|
1225
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1226
|
+
"update:year": (year: number) => any;
|
|
1227
|
+
"update:month": (month: number) => any;
|
|
1228
|
+
"change-month": (value: {
|
|
1229
|
+
year: number;
|
|
1230
|
+
month: number;
|
|
1231
|
+
}) => any;
|
|
1232
|
+
"select-date": (date: string) => any;
|
|
1233
|
+
"select-event": (event: CalendarMonthEvent) => any;
|
|
1234
|
+
}, string, PublicProps, Readonly<{
|
|
1235
|
+
/** 표시할 연도 */
|
|
1236
|
+
year: number;
|
|
1237
|
+
/** 표시할 월 (1-12) */
|
|
1238
|
+
month: number;
|
|
1239
|
+
/** 일정 목록 */
|
|
1240
|
+
events?: CalendarMonthEvent[];
|
|
1241
|
+
/** 선택된 날짜 'YYYY-MM-DD' */
|
|
1242
|
+
selectedDate?: string;
|
|
1243
|
+
/** 오늘 날짜 'YYYY-MM-DD' — 미지정 시 실제 오늘 (테스트/스토리에서 주입) */
|
|
1244
|
+
today?: string;
|
|
1245
|
+
/** 한 칸에 표시할 최대 레인 수 (초과분은 +N) */
|
|
1246
|
+
maxLanes?: number;
|
|
1247
|
+
/** 좌우 스와이프로 월 전환 */
|
|
1248
|
+
swipeable?: boolean;
|
|
1249
|
+
/** 요일 헤더 표시 */
|
|
1250
|
+
showWeekdays?: boolean;
|
|
1251
|
+
}> & Readonly<{
|
|
1252
|
+
"onUpdate:year"?: ((year: number) => any) | undefined;
|
|
1253
|
+
"onUpdate:month"?: ((month: number) => any) | undefined;
|
|
1254
|
+
"onChange-month"?: ((value: {
|
|
1255
|
+
year: number;
|
|
1256
|
+
month: number;
|
|
1257
|
+
}) => any) | undefined;
|
|
1258
|
+
"onSelect-date"?: ((date: string) => any) | undefined;
|
|
1259
|
+
"onSelect-event"?: ((event: CalendarMonthEvent) => any) | undefined;
|
|
1260
|
+
}>, {
|
|
1261
|
+
events: CalendarMonthEvent[];
|
|
1262
|
+
selectedDate: string;
|
|
1263
|
+
today: string;
|
|
1264
|
+
maxLanes: number;
|
|
1265
|
+
swipeable: boolean;
|
|
1266
|
+
showWeekdays: boolean;
|
|
1267
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
1268
|
+
event?(_: {
|
|
1269
|
+
event: CalendarMonthEvent;
|
|
1270
|
+
span: CalendarEventSpan;
|
|
1271
|
+
}): any;
|
|
1272
|
+
}>;
|
|
1273
|
+
|
|
1181
1274
|
export declare const UiCheckbox: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1182
1275
|
|
|
1183
1276
|
export declare const UiConfirm: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|