yc-design-vue 1.8.6 → 1.8.7
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/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +33 -33
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/index.d.ts +5 -5
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/index.d.ts +12 -12
- package/es/Calendar/Calendar.vue.js +2 -3
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.d.ts +1 -1
- package/es/Card/index.d.ts +6 -6
- package/es/Cascader/Cascader.vue.d.ts +17 -17
- package/es/Cascader/index.d.ts +16 -16
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/index.d.ts +3 -3
- package/es/ColorPicker/ColorList.vue.js +3 -2
- package/es/ColorPicker/ColorPanel.vue.js +3 -2
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +3 -2
- package/es/Drawer/DrawerService.vue.d.ts +2 -2
- package/es/Drawer/index.d.ts +11 -11
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -1
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -1
- package/es/Image/ImagePreviewToolbar.vue.js +9 -8
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/index.d.ts +9 -9
- package/es/InputNumber/InputNumber.vue.d.ts +18 -18
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputTag/index.d.ts +6 -6
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/ListItemMeta.vue.d.ts +1 -1
- package/es/List/index.d.ts +9 -9
- package/es/Mention/index.d.ts +22 -22
- package/es/Mention/index.vue.d.ts +39 -39
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/index.d.ts +3 -3
- package/es/Modal/Modal.vue.d.ts +4 -4
- package/es/Modal/Modal.vue.js +3 -2
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/index.d.ts +11 -11
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/index.d.ts +3 -3
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/Pagination/Pagination.vue.js +3 -2
- package/es/Pagination/hooks/useContext.d.ts +254 -3
- package/es/Pagination/hooks/useContext.js +1 -2
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +7 -7
- package/es/Popconfirm/index.vue.js +3 -2
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/index.d.ts +3 -3
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/index.d.ts +6 -6
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Select.vue.d.ts +13 -13
- package/es/Select/index.d.ts +14 -14
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Split/index.d.ts +6 -6
- package/es/Split/index.vue.d.ts +2 -2
- package/es/Statistic/Countdown.vue.d.ts +2 -2
- package/es/Statistic/Statistic.vue.d.ts +2 -2
- package/es/Statistic/index.d.ts +12 -12
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/index.d.ts +6 -6
- package/es/Switch/index.d.ts +6 -6
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/index.d.ts +8 -8
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Textarea/index.d.ts +6 -6
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +3 -3
- package/es/TimePicker/index.d.ts +9 -9
- package/es/Typography/TypographyBase.vue.d.ts +19 -19
- package/es/Typography/TypographyBase.vue.js +3 -2
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/_shared/icons/IconFullScreen.vue.js +17 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -17
- package/es/_shared/icons/IconOriginSize.vue.js +23 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -23
- package/es/_shared/icons/IconRotateLeft.vue.js +17 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -17
- package/es/_shared/icons/IconRotateRight.vue.js +17 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -17
- package/es/_shared/icons/IconZoomIn.vue.js +17 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -17
- package/es/_shared/icons/IconZoomOut.vue.js +17 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -17
- package/es/_shared/locale/i18n.d.ts +256 -0
- package/es/_shared/locale/i18n.js +3 -1
- package/es/index.d.ts +27 -27
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +33 -33
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/index.d.ts +5 -5
- package/lib/Button/Button.vue.d.ts +3 -3
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +12 -12
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.d.ts +1 -1
- package/lib/Card/index.d.ts +6 -6
- package/lib/Cascader/Cascader.vue.d.ts +17 -17
- package/lib/Cascader/index.d.ts +16 -16
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +2 -2
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Input/Input.vue.d.ts +3 -3
- package/lib/Input/index.d.ts +9 -9
- package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputTag/index.d.ts +6 -6
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/ListItemMeta.vue.d.ts +1 -1
- package/lib/List/index.d.ts +9 -9
- package/lib/Mention/index.d.ts +22 -22
- package/lib/Mention/index.vue.d.ts +39 -39
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Modal/Modal.vue.d.ts +4 -4
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/index.d.ts +11 -11
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/index.d.ts +3 -3
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +254 -3
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.vue.d.ts +7 -7
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/index.d.ts +3 -3
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Select.vue.d.ts +13 -13
- package/lib/Select/index.d.ts +14 -14
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Split/index.d.ts +6 -6
- package/lib/Split/index.vue.d.ts +2 -2
- package/lib/Statistic/Countdown.vue.d.ts +2 -2
- package/lib/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/Statistic/index.d.ts +12 -12
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/index.d.ts +6 -6
- package/lib/Switch/index.d.ts +6 -6
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- package/lib/Tabs/index.d.ts +8 -8
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Textarea/index.d.ts +6 -6
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
- package/lib/TimePicker/index.d.ts +9 -9
- package/lib/Typography/TypographyBase.vue.d.ts +19 -19
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/locale/i18n.d.ts +256 -0
- package/lib/_shared/locale/i18n.js +1 -1
- package/lib/index.d.ts +27 -27
- package/package.json +1 -1
@@ -34,10 +34,10 @@ declare const AutoComplete: {
|
|
34
34
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
35
35
|
"dropdown-reach-bottom": (ev?: Event | undefined) => any;
|
36
36
|
}, import('vue').PublicProps, {
|
37
|
+
type: "textarea" | "input";
|
37
38
|
disabled: boolean;
|
38
39
|
popupContainer: import('..').PopupContainer;
|
39
40
|
strict: boolean;
|
40
|
-
type: "textarea" | "input";
|
41
41
|
data: import('..').SelectOptions;
|
42
42
|
modelValue: string;
|
43
43
|
defaultValue: string;
|
@@ -417,10 +417,10 @@ declare const AutoComplete: {
|
|
417
417
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
418
418
|
"press-enter": (ev: KeyboardEvent) => any;
|
419
419
|
}, string, {
|
420
|
-
size: import('..').Size;
|
421
|
-
disabled: boolean;
|
422
420
|
error: boolean;
|
423
421
|
placeholder: string;
|
422
|
+
size: import('..').Size;
|
423
|
+
disabled: boolean;
|
424
424
|
modelValue: import('..').InputTagValue;
|
425
425
|
defaultValue: import('..').InputTagValue;
|
426
426
|
allowClear: boolean;
|
@@ -454,10 +454,10 @@ declare const AutoComplete: {
|
|
454
454
|
$nextTick: typeof import('vue').nextTick;
|
455
455
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
456
456
|
} & Readonly<{
|
457
|
-
size: import('..').Size;
|
458
|
-
disabled: boolean;
|
459
457
|
error: boolean;
|
460
458
|
placeholder: string;
|
459
|
+
size: import('..').Size;
|
460
|
+
disabled: boolean;
|
461
461
|
modelValue: import('..').InputTagValue;
|
462
462
|
defaultValue: import('..').InputTagValue;
|
463
463
|
allowClear: boolean;
|
@@ -480,7 +480,7 @@ declare const AutoComplete: {
|
|
480
480
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
481
481
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
482
482
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
483
|
-
}>, "focus" | "blur" | ("
|
483
|
+
}>, "focus" | "blur" | ("error" | "placeholder" | "size" | "disabled" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
484
484
|
focus(): void;
|
485
485
|
blur(): void;
|
486
486
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
@@ -528,16 +528,16 @@ declare const AutoComplete: {
|
|
528
528
|
"dropdown-scroll": (ev: Event) => any;
|
529
529
|
"dropdown-reach-bottom": (ev: Event) => any;
|
530
530
|
}, string, {
|
531
|
+
loading: boolean;
|
532
|
+
error: boolean;
|
533
|
+
placeholder: string;
|
531
534
|
size: import('..').Size;
|
532
535
|
popupVisible: boolean;
|
533
536
|
defaultPopupVisible: boolean;
|
534
537
|
disabled: boolean;
|
535
538
|
popupContainer: import('..').PopupContainer;
|
536
|
-
loading: boolean;
|
537
|
-
error: boolean;
|
538
539
|
scrollbar: boolean;
|
539
540
|
multiple: boolean;
|
540
|
-
placeholder: string;
|
541
541
|
bordered: boolean;
|
542
542
|
modelValue: import('..').SelectValue;
|
543
543
|
defaultValue: import('..').SelectValue;
|
@@ -581,16 +581,16 @@ declare const AutoComplete: {
|
|
581
581
|
$nextTick: typeof import('vue').nextTick;
|
582
582
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
583
583
|
} & Readonly<{
|
584
|
+
loading: boolean;
|
585
|
+
error: boolean;
|
586
|
+
placeholder: string;
|
584
587
|
size: import('..').Size;
|
585
588
|
popupVisible: boolean;
|
586
589
|
defaultPopupVisible: boolean;
|
587
590
|
disabled: boolean;
|
588
591
|
popupContainer: import('..').PopupContainer;
|
589
|
-
loading: boolean;
|
590
|
-
error: boolean;
|
591
592
|
scrollbar: boolean;
|
592
593
|
multiple: boolean;
|
593
|
-
placeholder: string;
|
594
594
|
bordered: boolean;
|
595
595
|
modelValue: import('..').SelectValue;
|
596
596
|
defaultValue: import('..').SelectValue;
|
@@ -627,7 +627,7 @@ declare const AutoComplete: {
|
|
627
627
|
onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
628
628
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
629
629
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
630
|
-
}>, "focus" | "blur" | ("
|
630
|
+
}>, "focus" | "blur" | ("loading" | "error" | "placeholder" | "size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "scrollbar" | "multiple" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
631
631
|
focus(): void;
|
632
632
|
blur(): void;
|
633
633
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -656,12 +656,12 @@ declare const AutoComplete: {
|
|
656
656
|
keydown: (ev: KeyboardEvent) => any;
|
657
657
|
"update:modelValue": (value: string) => any;
|
658
658
|
}, import('vue').PublicProps, {
|
659
|
-
disabled: boolean;
|
660
659
|
error: import('..').AutoSize;
|
661
660
|
placeholder: string;
|
661
|
+
maxLength: import('..').MaxLength;
|
662
|
+
disabled: boolean;
|
662
663
|
modelValue: string;
|
663
664
|
defaultValue: string;
|
664
|
-
maxLength: import('..').MaxLength;
|
665
665
|
showWordLimit: boolean;
|
666
666
|
allowClear: boolean;
|
667
667
|
readonly: boolean;
|
@@ -694,12 +694,12 @@ declare const AutoComplete: {
|
|
694
694
|
getInputRef(): HTMLTextAreaElement;
|
695
695
|
getMirrorRef(): HTMLDivElement;
|
696
696
|
}, {}, {}, {}, {
|
697
|
-
disabled: boolean;
|
698
697
|
error: import('..').AutoSize;
|
699
698
|
placeholder: string;
|
699
|
+
maxLength: import('..').MaxLength;
|
700
|
+
disabled: boolean;
|
700
701
|
modelValue: string;
|
701
702
|
defaultValue: string;
|
702
|
-
maxLength: import('..').MaxLength;
|
703
703
|
showWordLimit: boolean;
|
704
704
|
allowClear: boolean;
|
705
705
|
readonly: boolean;
|
@@ -735,10 +735,10 @@ declare const AutoComplete: {
|
|
735
735
|
getMirrorRef(): HTMLDivElement | undefined;
|
736
736
|
updatePosition(x: number, y: number): void;
|
737
737
|
}, {}, {}, {}, {
|
738
|
+
type: "textarea" | "input";
|
738
739
|
disabled: boolean;
|
739
740
|
popupContainer: import('..').PopupContainer;
|
740
741
|
strict: boolean;
|
741
|
-
type: "textarea" | "input";
|
742
742
|
data: import('..').SelectOptions;
|
743
743
|
modelValue: string;
|
744
744
|
defaultValue: string;
|
@@ -782,10 +782,10 @@ declare const AutoComplete: {
|
|
782
782
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
783
783
|
"dropdown-reach-bottom": (ev?: Event | undefined) => any;
|
784
784
|
}, string, {
|
785
|
+
type: "textarea" | "input";
|
785
786
|
disabled: boolean;
|
786
787
|
popupContainer: import('..').PopupContainer;
|
787
788
|
strict: boolean;
|
788
|
-
type: "textarea" | "input";
|
789
789
|
data: import('..').SelectOptions;
|
790
790
|
modelValue: string;
|
791
791
|
defaultValue: string;
|
@@ -375,10 +375,10 @@ declare function __VLS_template(): {
|
|
375
375
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
376
376
|
"press-enter": (ev: KeyboardEvent) => any;
|
377
377
|
}, string, {
|
378
|
-
size: import('..').Size;
|
379
|
-
disabled: boolean;
|
380
378
|
error: boolean;
|
381
379
|
placeholder: string;
|
380
|
+
size: import('..').Size;
|
381
|
+
disabled: boolean;
|
382
382
|
modelValue: import('..').InputTagValue;
|
383
383
|
defaultValue: import('..').InputTagValue;
|
384
384
|
allowClear: boolean;
|
@@ -412,10 +412,10 @@ declare function __VLS_template(): {
|
|
412
412
|
$nextTick: typeof nextTick;
|
413
413
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
414
414
|
} & Readonly<{
|
415
|
-
size: import('..').Size;
|
416
|
-
disabled: boolean;
|
417
415
|
error: boolean;
|
418
416
|
placeholder: string;
|
417
|
+
size: import('..').Size;
|
418
|
+
disabled: boolean;
|
419
419
|
modelValue: import('..').InputTagValue;
|
420
420
|
defaultValue: import('..').InputTagValue;
|
421
421
|
allowClear: boolean;
|
@@ -438,7 +438,7 @@ declare function __VLS_template(): {
|
|
438
438
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
439
439
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
440
440
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
441
|
-
}>, "focus" | "blur" | ("
|
441
|
+
}>, "focus" | "blur" | ("error" | "placeholder" | "size" | "disabled" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
442
442
|
focus(): void;
|
443
443
|
blur(): void;
|
444
444
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
@@ -486,16 +486,16 @@ declare function __VLS_template(): {
|
|
486
486
|
"dropdown-scroll": (ev: Event) => any;
|
487
487
|
"dropdown-reach-bottom": (ev: Event) => any;
|
488
488
|
}, string, {
|
489
|
+
loading: boolean;
|
490
|
+
error: boolean;
|
491
|
+
placeholder: string;
|
489
492
|
size: import('..').Size;
|
490
493
|
popupVisible: boolean;
|
491
494
|
defaultPopupVisible: boolean;
|
492
495
|
disabled: boolean;
|
493
496
|
popupContainer: import('..').PopupContainer;
|
494
|
-
loading: boolean;
|
495
|
-
error: boolean;
|
496
497
|
scrollbar: boolean;
|
497
498
|
multiple: boolean;
|
498
|
-
placeholder: string;
|
499
499
|
bordered: boolean;
|
500
500
|
modelValue: import('../Select').SelectValue;
|
501
501
|
defaultValue: import('../Select').SelectValue;
|
@@ -539,16 +539,16 @@ declare function __VLS_template(): {
|
|
539
539
|
$nextTick: typeof nextTick;
|
540
540
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
541
541
|
} & Readonly<{
|
542
|
+
loading: boolean;
|
543
|
+
error: boolean;
|
544
|
+
placeholder: string;
|
542
545
|
size: import('..').Size;
|
543
546
|
popupVisible: boolean;
|
544
547
|
defaultPopupVisible: boolean;
|
545
548
|
disabled: boolean;
|
546
549
|
popupContainer: import('..').PopupContainer;
|
547
|
-
loading: boolean;
|
548
|
-
error: boolean;
|
549
550
|
scrollbar: boolean;
|
550
551
|
multiple: boolean;
|
551
|
-
placeholder: string;
|
552
552
|
bordered: boolean;
|
553
553
|
modelValue: import('../Select').SelectValue;
|
554
554
|
defaultValue: import('../Select').SelectValue;
|
@@ -585,7 +585,7 @@ declare function __VLS_template(): {
|
|
585
585
|
onExceedLimit?: ((value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
586
586
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
587
587
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
588
|
-
}>, "focus" | "blur" | ("
|
588
|
+
}>, "focus" | "blur" | ("loading" | "error" | "placeholder" | "size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "scrollbar" | "multiple" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
589
589
|
focus(): void;
|
590
590
|
blur(): void;
|
591
591
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -614,12 +614,12 @@ declare function __VLS_template(): {
|
|
614
614
|
keydown: (ev: KeyboardEvent) => any;
|
615
615
|
"update:modelValue": (value: string) => any;
|
616
616
|
}, import('vue').PublicProps, {
|
617
|
-
disabled: boolean;
|
618
617
|
error: import('../Textarea').AutoSize;
|
619
618
|
placeholder: string;
|
619
|
+
maxLength: import('../Input').MaxLength;
|
620
|
+
disabled: boolean;
|
620
621
|
modelValue: string;
|
621
622
|
defaultValue: string;
|
622
|
-
maxLength: import('../Input').MaxLength;
|
623
623
|
showWordLimit: boolean;
|
624
624
|
allowClear: boolean;
|
625
625
|
readonly: boolean;
|
@@ -652,12 +652,12 @@ declare function __VLS_template(): {
|
|
652
652
|
getInputRef(): HTMLTextAreaElement;
|
653
653
|
getMirrorRef(): HTMLDivElement;
|
654
654
|
}, {}, {}, {}, {
|
655
|
-
disabled: boolean;
|
656
655
|
error: import('../Textarea').AutoSize;
|
657
656
|
placeholder: string;
|
657
|
+
maxLength: import('../Input').MaxLength;
|
658
|
+
disabled: boolean;
|
658
659
|
modelValue: string;
|
659
660
|
defaultValue: string;
|
660
|
-
maxLength: import('../Input').MaxLength;
|
661
661
|
showWordLimit: boolean;
|
662
662
|
allowClear: boolean;
|
663
663
|
readonly: boolean;
|
@@ -702,10 +702,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
702
702
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
703
703
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
704
704
|
}>, {
|
705
|
+
type: "textarea" | "input";
|
705
706
|
disabled: boolean;
|
706
707
|
popupContainer: import('..').PopupContainer;
|
707
708
|
strict: boolean;
|
708
|
-
type: "textarea" | "input";
|
709
709
|
data: SelectOptions;
|
710
710
|
modelValue: string;
|
711
711
|
defaultValue: string;
|
@@ -1085,10 +1085,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1085
1085
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1086
1086
|
"press-enter": (ev: KeyboardEvent) => any;
|
1087
1087
|
}, string, {
|
1088
|
-
size: import('..').Size;
|
1089
|
-
disabled: boolean;
|
1090
1088
|
error: boolean;
|
1091
1089
|
placeholder: string;
|
1090
|
+
size: import('..').Size;
|
1091
|
+
disabled: boolean;
|
1092
1092
|
modelValue: import('..').InputTagValue;
|
1093
1093
|
defaultValue: import('..').InputTagValue;
|
1094
1094
|
allowClear: boolean;
|
@@ -1122,10 +1122,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1122
1122
|
$nextTick: typeof nextTick;
|
1123
1123
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
1124
1124
|
} & Readonly<{
|
1125
|
-
size: import('..').Size;
|
1126
|
-
disabled: boolean;
|
1127
1125
|
error: boolean;
|
1128
1126
|
placeholder: string;
|
1127
|
+
size: import('..').Size;
|
1128
|
+
disabled: boolean;
|
1129
1129
|
modelValue: import('..').InputTagValue;
|
1130
1130
|
defaultValue: import('..').InputTagValue;
|
1131
1131
|
allowClear: boolean;
|
@@ -1148,7 +1148,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1148
1148
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
1149
1149
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1150
1150
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
1151
|
-
}>, "focus" | "blur" | ("
|
1151
|
+
}>, "focus" | "blur" | ("error" | "placeholder" | "size" | "disabled" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
1152
1152
|
focus(): void;
|
1153
1153
|
blur(): void;
|
1154
1154
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
@@ -1196,16 +1196,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1196
1196
|
"dropdown-scroll": (ev: Event) => any;
|
1197
1197
|
"dropdown-reach-bottom": (ev: Event) => any;
|
1198
1198
|
}, string, {
|
1199
|
+
loading: boolean;
|
1200
|
+
error: boolean;
|
1201
|
+
placeholder: string;
|
1199
1202
|
size: import('..').Size;
|
1200
1203
|
popupVisible: boolean;
|
1201
1204
|
defaultPopupVisible: boolean;
|
1202
1205
|
disabled: boolean;
|
1203
1206
|
popupContainer: import('..').PopupContainer;
|
1204
|
-
loading: boolean;
|
1205
|
-
error: boolean;
|
1206
1207
|
scrollbar: boolean;
|
1207
1208
|
multiple: boolean;
|
1208
|
-
placeholder: string;
|
1209
1209
|
bordered: boolean;
|
1210
1210
|
modelValue: import('../Select').SelectValue;
|
1211
1211
|
defaultValue: import('../Select').SelectValue;
|
@@ -1249,16 +1249,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1249
1249
|
$nextTick: typeof nextTick;
|
1250
1250
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
1251
1251
|
} & Readonly<{
|
1252
|
+
loading: boolean;
|
1253
|
+
error: boolean;
|
1254
|
+
placeholder: string;
|
1252
1255
|
size: import('..').Size;
|
1253
1256
|
popupVisible: boolean;
|
1254
1257
|
defaultPopupVisible: boolean;
|
1255
1258
|
disabled: boolean;
|
1256
1259
|
popupContainer: import('..').PopupContainer;
|
1257
|
-
loading: boolean;
|
1258
|
-
error: boolean;
|
1259
1260
|
scrollbar: boolean;
|
1260
1261
|
multiple: boolean;
|
1261
|
-
placeholder: string;
|
1262
1262
|
bordered: boolean;
|
1263
1263
|
modelValue: import('../Select').SelectValue;
|
1264
1264
|
defaultValue: import('../Select').SelectValue;
|
@@ -1295,7 +1295,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1295
1295
|
onExceedLimit?: ((value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1296
1296
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1297
1297
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1298
|
-
}>, "focus" | "blur" | ("
|
1298
|
+
}>, "focus" | "blur" | ("loading" | "error" | "placeholder" | "size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "scrollbar" | "multiple" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
1299
1299
|
focus(): void;
|
1300
1300
|
blur(): void;
|
1301
1301
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -1324,12 +1324,12 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1324
1324
|
keydown: (ev: KeyboardEvent) => any;
|
1325
1325
|
"update:modelValue": (value: string) => any;
|
1326
1326
|
}, import('vue').PublicProps, {
|
1327
|
-
disabled: boolean;
|
1328
1327
|
error: import('../Textarea').AutoSize;
|
1329
1328
|
placeholder: string;
|
1329
|
+
maxLength: import('../Input').MaxLength;
|
1330
|
+
disabled: boolean;
|
1330
1331
|
modelValue: string;
|
1331
1332
|
defaultValue: string;
|
1332
|
-
maxLength: import('../Input').MaxLength;
|
1333
1333
|
showWordLimit: boolean;
|
1334
1334
|
allowClear: boolean;
|
1335
1335
|
readonly: boolean;
|
@@ -1362,12 +1362,12 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1362
1362
|
getInputRef(): HTMLTextAreaElement;
|
1363
1363
|
getMirrorRef(): HTMLDivElement;
|
1364
1364
|
}, {}, {}, {}, {
|
1365
|
-
disabled: boolean;
|
1366
1365
|
error: import('../Textarea').AutoSize;
|
1367
1366
|
placeholder: string;
|
1367
|
+
maxLength: import('../Input').MaxLength;
|
1368
|
+
disabled: boolean;
|
1368
1369
|
modelValue: string;
|
1369
1370
|
defaultValue: string;
|
1370
|
-
maxLength: import('../Input').MaxLength;
|
1371
1371
|
showWordLimit: boolean;
|
1372
1372
|
allowClear: boolean;
|
1373
1373
|
readonly: boolean;
|
@@ -10,12 +10,12 @@ declare function __VLS_template(): {
|
|
10
10
|
};
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
13
|
-
click: (ev: MouseEvent) => any;
|
14
13
|
error: (ev: Event) => any;
|
14
|
+
click: (ev: MouseEvent) => any;
|
15
15
|
load: (ev: Event) => any;
|
16
16
|
}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
|
17
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
18
17
|
onError?: ((ev: Event) => any) | undefined;
|
18
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
19
19
|
onLoad?: ((ev: Event) => any) | undefined;
|
20
20
|
}>, {
|
21
21
|
size: number;
|
package/lib/Avatar/index.d.ts
CHANGED
@@ -6,12 +6,12 @@ export type AvatarGroupInstance = InstanceType<typeof _AvatarGroup>;
|
|
6
6
|
export * from './type';
|
7
7
|
declare const Avatar: {
|
8
8
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AvatarProps> & Readonly<{
|
9
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
10
9
|
onError?: ((ev: Event) => any) | undefined;
|
10
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
11
11
|
onLoad?: ((ev: Event) => any) | undefined;
|
12
12
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
13
|
-
click: (ev: MouseEvent) => any;
|
14
13
|
error: (ev: Event) => any;
|
14
|
+
click: (ev: MouseEvent) => any;
|
15
15
|
load: (ev: Event) => any;
|
16
16
|
}, import('vue').PublicProps, {
|
17
17
|
size: number;
|
@@ -32,8 +32,8 @@ declare const Avatar: {
|
|
32
32
|
M: {};
|
33
33
|
Defaults: {};
|
34
34
|
}, Readonly<import('./type').AvatarProps> & Readonly<{
|
35
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
36
35
|
onError?: ((ev: Event) => any) | undefined;
|
36
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
37
37
|
onLoad?: ((ev: Event) => any) | undefined;
|
38
38
|
}>, {}, {}, {}, {}, {
|
39
39
|
size: number;
|
@@ -48,12 +48,12 @@ declare const Avatar: {
|
|
48
48
|
__isTeleport?: never;
|
49
49
|
__isSuspense?: never;
|
50
50
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').AvatarProps> & Readonly<{
|
51
|
-
onClick?: ((ev: MouseEvent) => any) | undefined;
|
52
51
|
onError?: ((ev: Event) => any) | undefined;
|
52
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
53
53
|
onLoad?: ((ev: Event) => any) | undefined;
|
54
54
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
55
|
-
click: (ev: MouseEvent) => any;
|
56
55
|
error: (ev: Event) => any;
|
56
|
+
click: (ev: MouseEvent) => any;
|
57
57
|
load: (ev: Event) => any;
|
58
58
|
}, string, {
|
59
59
|
size: number;
|
@@ -19,14 +19,14 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
|
|
19
19
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
20
20
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
21
21
|
}>, {
|
22
|
-
|
23
|
-
disabled: boolean;
|
22
|
+
long: boolean;
|
24
23
|
loading: boolean;
|
25
24
|
type: import('./type').ButtonType;
|
25
|
+
size: import('..').Size;
|
26
|
+
disabled: boolean;
|
26
27
|
href: string;
|
27
28
|
shape: import('./type').ButtonShape;
|
28
29
|
status: import('./type').ButtonStatus;
|
29
|
-
long: boolean;
|
30
30
|
htmlType: import('./type').ButtonHtmlType;
|
31
31
|
autofocus: boolean;
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
@@ -7,9 +7,9 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
10
|
+
type: import('./type').ButtonType;
|
10
11
|
size: import('..').Size;
|
11
12
|
disabled: boolean;
|
12
|
-
type: import('./type').ButtonType;
|
13
13
|
shape: import('./type').ButtonShape;
|
14
14
|
status: import('./type').ButtonStatus;
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
package/lib/Button/index.d.ts
CHANGED
@@ -18,14 +18,14 @@ declare const Button: {
|
|
18
18
|
mousedown: (event: MouseEvent) => any;
|
19
19
|
mouseup: (event: MouseEvent) => any;
|
20
20
|
}, import('vue').PublicProps, {
|
21
|
-
|
22
|
-
disabled: boolean;
|
21
|
+
long: boolean;
|
23
22
|
loading: boolean;
|
24
23
|
type: import('./type').ButtonType;
|
24
|
+
size: import('..').Size;
|
25
|
+
disabled: boolean;
|
25
26
|
href: string;
|
26
27
|
shape: import('./type').ButtonShape;
|
27
28
|
status: import('./type').ButtonStatus;
|
28
|
-
long: boolean;
|
29
29
|
htmlType: import('./type').ButtonHtmlType;
|
30
30
|
autofocus: boolean;
|
31
31
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
@@ -42,14 +42,14 @@ declare const Button: {
|
|
42
42
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
43
43
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
44
44
|
}>, {}, {}, {}, {}, {
|
45
|
-
|
46
|
-
disabled: boolean;
|
45
|
+
long: boolean;
|
47
46
|
loading: boolean;
|
48
47
|
type: import('./type').ButtonType;
|
48
|
+
size: import('..').Size;
|
49
|
+
disabled: boolean;
|
49
50
|
href: string;
|
50
51
|
shape: import('./type').ButtonShape;
|
51
52
|
status: import('./type').ButtonStatus;
|
52
|
-
long: boolean;
|
53
53
|
htmlType: import('./type').ButtonHtmlType;
|
54
54
|
autofocus: boolean;
|
55
55
|
}>;
|
@@ -69,14 +69,14 @@ declare const Button: {
|
|
69
69
|
mousedown: (event: MouseEvent) => any;
|
70
70
|
mouseup: (event: MouseEvent) => any;
|
71
71
|
}, string, {
|
72
|
-
|
73
|
-
disabled: boolean;
|
72
|
+
long: boolean;
|
74
73
|
loading: boolean;
|
75
74
|
type: import('./type').ButtonType;
|
75
|
+
size: import('..').Size;
|
76
|
+
disabled: boolean;
|
76
77
|
href: string;
|
77
78
|
shape: import('./type').ButtonShape;
|
78
79
|
status: import('./type').ButtonStatus;
|
79
|
-
long: boolean;
|
80
80
|
htmlType: import('./type').ButtonHtmlType;
|
81
81
|
autofocus: boolean;
|
82
82
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
@@ -84,9 +84,9 @@ declare const Button: {
|
|
84
84
|
}) & {
|
85
85
|
group: {
|
86
86
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
87
|
+
type: import('./type').ButtonType;
|
87
88
|
size: import('..').Size;
|
88
89
|
disabled: boolean;
|
89
|
-
type: import('./type').ButtonType;
|
90
90
|
shape: import('./type').ButtonShape;
|
91
91
|
status: import('./type').ButtonStatus;
|
92
92
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -97,9 +97,9 @@ declare const Button: {
|
|
97
97
|
M: {};
|
98
98
|
Defaults: {};
|
99
99
|
}, Readonly<import('./type').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
|
100
|
+
type: import('./type').ButtonType;
|
100
101
|
size: import('..').Size;
|
101
102
|
disabled: boolean;
|
102
|
-
type: import('./type').ButtonType;
|
103
103
|
shape: import('./type').ButtonShape;
|
104
104
|
status: import('./type').ButtonStatus;
|
105
105
|
}>;
|
@@ -107,9 +107,9 @@ declare const Button: {
|
|
107
107
|
__isTeleport?: never;
|
108
108
|
__isSuspense?: never;
|
109
109
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
110
|
+
type: import('./type').ButtonType;
|
110
111
|
size: import('..').Size;
|
111
112
|
disabled: boolean;
|
112
|
-
type: import('./type').ButtonType;
|
113
113
|
shape: import('./type').ButtonShape;
|
114
114
|
status: import('./type').ButtonStatus;
|
115
115
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),a=require("../node_modules/dayjs/dayjs.min.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const
|
1
|
+
"use strict";const e=require("vue"),a=require("../node_modules/dayjs/dayjs.min.js"),t=require("../_shared/locale/i18n.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("../_shared/icons/IconArrowRight.vue.js"),o=require("../_shared/utils/control.js"),l=require("../_shared/components/IconButton.vue.js");,/* empty css */;/* empty css */const n=require("../Button/index.js");require("../Radio/index.js");const d=require("./CalendarMonth.vue.js");;/* empty css */const u=require("./CalendarYear.vue.js");;/* empty css */const s=require("../Radio/RadioGroup.vue.js");;/* empty css */const c={class:"yc-calendar-header"},i={class:"yc-calendar-header-left"},m={class:"yc-calendar-header-value"},v={class:"yc-calendar-header-right"},f={class:"yc-calendar-body"},h=e.defineComponent({name:"Calendar",__name:"Calendar",props:{modelValue:{default:void 0},defaultValue:{default:()=>new Date},mode:{default:void 0},defaultMode:{default:"month"},modes:{default:()=>["month","year"]}},emits:["update:modelValue","update:mode","change","panel-change"],setup(h,{emit:p}){const y=h,j=p,{modelValue:V,defaultValue:q,mode:C,defaultMode:_,modes:x}=e.toRefs(y),k=o(V,q.value,e=>{j("update:modelValue",e),j("change",e)}),N=e.ref({}),w=e.computed(()=>{const{year:e,month:r}=N.value;return a().set("year",e).set("month",r).format(t.t("calendar.formatMonth"))});e.watch(()=>k.value,e=>{const t=e?a(e):a();N.value={year:t.year(),month:t.month()+1,day:t.date()}},{immediate:!0});const g=o(C,_.value,e=>{j("update:mode",e),j("panel-change",k.value)}),R=e.computed(()=>x.value.map(e=>({label:t.t(`calendar.view.${e}`),value:e}))),z=e=>{k.value=new Date(e.fullDate)},B=e=>{if("today"==e)return void(k.value=new Date);const{year:a,month:t}=N.value;if("next"==e){const e=t+1>12?1:t+1,r=t+1>12||"year"==g.value?1:0;if(N.value.year=a+r,"year"==g.value)return;N.value.month=e}else{const e=t-1<1?12:t-1,r=t-1<1||"year"==g.value?-1:0;if(N.value.year=a+r,"year"==g.value)return;N.value.month=e}};return(a,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-calendar",`yc-calendar-mode-${e.unref(g)}`])},[e.createElementVNode("div",c,[e.createElementVNode("div",i,[e.createVNode(e.unref(l),{class:"yc-calendar-header-icon",role:"button",tabindex:"0",size:28,"hover-size":28,onClick:o[0]||(o[0]=e=>B("pre"))},{default:e.withCtx(()=>[e.createVNode(e.unref(r),{rotate:180})]),_:1}),e.createElementVNode("div",m,[e.renderSlot(a.$slots,"header",{year:N.value.year,month:N.value.month},()=>[e.createTextVNode(e.toDisplayString(w.value),1)])]),e.createVNode(e.unref(l),{role:"button",tabindex:"0",class:"yc-calendar-header-icon",size:28,"hover-size":28,onClick:o[1]||(o[1]=e=>B("next"))},{default:e.withCtx(()=>[e.createVNode(e.unref(r))]),_:1}),e.createVNode(e.unref(n.default),{onClick:o[2]||(o[2]=e=>B("today")),size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t.t)("calendar.today")),1)]),_:1})]),e.createElementVNode("div",v,[e.createVNode(e.unref(s),{modelValue:e.unref(g),"onUpdate:modelValue":o[3]||(o[3]=a=>e.isRef(g)?g.value=a:null),options:R.value,type:"button",size:"small"},null,8,["modelValue","options"])])]),e.createElementVNode("div",f,["month"==e.unref(g)?(e.openBlock(),e.createBlock(d,{key:0,"computed-value":e.unref(k),recordDate:N.value,onCellClick:z},e.createSlots({_:2},[a.$slots.default?{name:"default",fn:e.withCtx(t=>[e.renderSlot(a.$slots,"default",e.normalizeProps(e.guardReactiveProps(t)))]),key:"0"}:void 0]),1032,["computed-value","recordDate"])):(e.openBlock(),e.createBlock(u,{key:1,"computed-value":e.unref(k),"record-date":N.value,onCellClick:z},e.createSlots({_:2},[a.$slots.default?{name:"default",fn:e.withCtx(t=>[e.renderSlot(a.$slots,"default",e.normalizeProps(e.guardReactiveProps(t)))]),key:"0"}:void 0]),1032,["computed-value","record-date"]))])],2))}});module.exports=h;
|
package/lib/Card/Card.vue.d.ts
CHANGED
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<CardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
10
|
-
size: import('./type').CardSize;
|
11
10
|
loading: boolean;
|
11
|
+
size: import('./type').CardSize;
|
12
12
|
title: string;
|
13
13
|
hoverable: boolean;
|
14
14
|
bordered: boolean;
|
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<CardMetaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardMetaProps> & Readonly<{}>, {
|
10
|
-
title: string;
|
11
10
|
description: string;
|
11
|
+
title: string;
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
14
14
|
export default _default;
|