vant 4.9.15 → 4.9.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-sheet/ActionSheet.d.ts +6 -6
- package/es/action-sheet/index.d.ts +4 -4
- package/es/address-edit/AddressEdit.d.ts +3 -3
- package/es/address-edit/index.d.ts +2 -2
- package/es/address-list/AddressList.d.ts +9 -9
- package/es/address-list/AddressListItem.d.ts +2 -2
- package/es/address-list/index.d.ts +6 -6
- package/es/area/Area.d.ts +3 -3
- package/es/area/index.d.ts +2 -2
- package/es/badge/Badge.d.ts +6 -6
- package/es/badge/index.d.ts +4 -4
- package/es/barrage/Barrage.d.ts +3 -3
- package/es/barrage/index.d.ts +2 -2
- package/es/button/Button.d.ts +15 -15
- package/es/button/index.d.ts +10 -10
- package/es/calendar/Calendar.d.ts +11 -10
- package/es/calendar/Calendar.mjs +3 -1
- package/es/calendar/CalendarDay.mjs +2 -3
- package/es/calendar/CalendarHeader.d.ts +2 -2
- package/es/calendar/index.d.ts +8 -7
- package/es/calendar/utils.d.ts +7 -0
- package/es/calendar/utils.mjs +7 -0
- package/es/card/Card.d.ts +3 -3
- package/es/card/index.d.ts +2 -2
- package/es/cascader/Cascader.d.ts +6 -6
- package/es/cascader/index.d.ts +4 -4
- package/es/cell/Cell.d.ts +4 -4
- package/es/cell/index.d.ts +2 -2
- package/es/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/es/checkbox-group/index.d.ts +4 -4
- package/es/circle/Circle.d.ts +6 -6
- package/es/circle/index.d.ts +4 -4
- package/es/col/Col.d.ts +3 -3
- package/es/col/index.d.ts +2 -2
- package/es/collapse-item/CollapseItem.d.ts +3 -3
- package/es/collapse-item/index.d.ts +2 -2
- package/es/config-provider/ConfigProvider.d.ts +9 -9
- package/es/config-provider/index.d.ts +6 -6
- package/es/contact-card/ContactCard.d.ts +3 -3
- package/es/contact-card/index.d.ts +2 -2
- package/es/count-down/CountDown.d.ts +3 -3
- package/es/count-down/index.d.ts +2 -2
- package/es/coupon/Coupon.d.ts +2 -2
- package/es/coupon/index.d.ts +2 -2
- package/es/coupon-cell/CouponCell.d.ts +6 -6
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/CouponList.d.ts +12 -12
- package/es/coupon-list/index.d.ts +8 -8
- package/es/date-picker/DatePicker.d.ts +3 -3
- package/es/date-picker/index.d.ts +2 -2
- package/es/date-picker/utils.d.ts +1 -1
- package/es/dialog/Dialog.d.ts +3 -3
- package/es/dialog/index.d.ts +2 -2
- package/es/divider/Divider.d.ts +3 -3
- package/es/divider/index.d.ts +2 -2
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/index.d.ts +2 -2
- package/es/dropdown-menu/DropdownMenu.d.ts +3 -3
- package/es/dropdown-menu/index.d.ts +2 -2
- package/es/empty/Empty.d.ts +3 -3
- package/es/empty/index.d.ts +2 -2
- package/es/field/Field.d.ts +18 -18
- package/es/field/index.d.ts +10 -10
- package/es/floating-bubble/FloatingBubble.d.ts +3 -3
- package/es/floating-bubble/index.d.ts +2 -2
- package/es/floating-panel/FloatingPanel.d.ts +3 -3
- package/es/floating-panel/index.d.ts +2 -2
- package/es/highlight/Highlight.d.ts +12 -12
- package/es/highlight/index.d.ts +8 -8
- package/es/icon/Icon.d.ts +3 -3
- package/es/icon/index.d.ts +2 -2
- package/es/image/Image.d.ts +6 -6
- package/es/image/index.d.ts +4 -4
- package/es/image-preview/ImagePreview.d.ts +9 -9
- package/es/image-preview/index.d.ts +6 -6
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/List.d.ts +3 -3
- package/es/list/index.d.ts +2 -2
- package/es/loading/Loading.d.ts +3 -3
- package/es/loading/index.d.ts +2 -2
- package/es/notify/Notify.d.ts +6 -6
- package/es/notify/index.d.ts +4 -4
- package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/es/number-keyboard/index.d.ts +4 -4
- package/es/pagination/Pagination.d.ts +3 -3
- package/es/pagination/index.d.ts +2 -2
- package/es/password-input/PasswordInput.d.ts +3 -3
- package/es/password-input/index.d.ts +2 -2
- package/es/picker/Picker.d.ts +9 -9
- package/es/picker/PickerColumn.d.ts +2 -2
- package/es/picker/index.d.ts +6 -6
- package/es/picker-group/PickerGroup.d.ts +3 -3
- package/es/picker-group/index.d.ts +2 -2
- package/es/popover/Popover.d.ts +15 -15
- package/es/popover/index.d.ts +10 -10
- package/es/popup/Popup.d.ts +9 -9
- package/es/popup/index.d.ts +6 -6
- package/es/rate/Rate.d.ts +6 -6
- package/es/rate/index.d.ts +4 -4
- package/es/rolling-text/RollingText.d.ts +9 -9
- package/es/rolling-text/RollingTextItem.d.ts +6 -6
- package/es/rolling-text/index.d.ts +6 -6
- package/es/row/Row.d.ts +3 -3
- package/es/row/index.d.ts +2 -2
- package/es/search/Search.d.ts +15 -15
- package/es/search/index.d.ts +10 -10
- package/es/share-sheet/ShareSheet.d.ts +3 -3
- package/es/share-sheet/index.d.ts +2 -2
- package/es/signature/Signature.d.ts +9 -9
- package/es/signature/index.d.ts +6 -6
- package/es/skeleton/Skeleton.d.ts +3 -3
- package/es/skeleton/index.d.ts +2 -2
- package/es/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
- package/es/skeleton-avatar/index.d.ts +2 -2
- package/es/skeleton-image/SkeletonImage.d.ts +3 -3
- package/es/skeleton-image/index.d.ts +2 -2
- package/es/steps/Steps.d.ts +6 -6
- package/es/steps/index.d.ts +4 -4
- package/es/sticky/Sticky.d.ts +3 -3
- package/es/sticky/index.d.ts +2 -2
- package/es/submit-bar/SubmitBar.d.ts +6 -6
- package/es/submit-bar/index.d.ts +4 -4
- package/es/tabs/Tabs.d.ts +3 -3
- package/es/tabs/index.d.ts +2 -2
- package/es/tag/Tag.d.ts +3 -3
- package/es/tag/index.d.ts +2 -2
- package/es/text-ellipsis/TextEllipsis.d.ts +15 -15
- package/es/text-ellipsis/index.d.ts +10 -10
- package/es/time-picker/TimePicker.d.ts +3 -3
- package/es/time-picker/index.d.ts +2 -2
- package/es/toast/Toast.d.ts +9 -9
- package/es/toast/index.d.ts +6 -6
- package/es/tree-select/TreeSelect.d.ts +6 -6
- package/es/tree-select/index.d.ts +4 -4
- package/es/uploader/Uploader.d.ts +15 -15
- package/es/uploader/index.d.ts +10 -10
- package/es/watermark/Watermark.d.ts +3 -3
- package/es/watermark/index.d.ts +2 -2
- package/lib/action-sheet/ActionSheet.d.ts +6 -6
- package/lib/action-sheet/index.d.ts +4 -4
- package/lib/address-edit/AddressEdit.d.ts +3 -3
- package/lib/address-edit/index.d.ts +2 -2
- package/lib/address-list/AddressList.d.ts +9 -9
- package/lib/address-list/AddressListItem.d.ts +2 -2
- package/lib/address-list/index.d.ts +6 -6
- package/lib/area/Area.d.ts +3 -3
- package/lib/area/index.d.ts +2 -2
- package/lib/badge/Badge.d.ts +6 -6
- package/lib/badge/index.d.ts +4 -4
- package/lib/barrage/Barrage.d.ts +3 -3
- package/lib/barrage/index.d.ts +2 -2
- package/lib/button/Button.d.ts +15 -15
- package/lib/button/index.d.ts +10 -10
- package/lib/calendar/Calendar.d.ts +11 -10
- package/lib/calendar/Calendar.js +3 -1
- package/lib/calendar/CalendarDay.js +1 -2
- package/lib/calendar/CalendarHeader.d.ts +2 -2
- package/lib/calendar/index.d.ts +8 -7
- package/lib/calendar/utils.d.ts +7 -0
- package/lib/calendar/utils.js +7 -0
- package/lib/card/Card.d.ts +3 -3
- package/lib/card/index.d.ts +2 -2
- package/lib/cascader/Cascader.d.ts +6 -6
- package/lib/cascader/index.d.ts +4 -4
- package/lib/cell/Cell.d.ts +4 -4
- package/lib/cell/index.d.ts +2 -2
- package/lib/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/lib/checkbox-group/index.d.ts +4 -4
- package/lib/circle/Circle.d.ts +6 -6
- package/lib/circle/index.d.ts +4 -4
- package/lib/col/Col.d.ts +3 -3
- package/lib/col/index.d.ts +2 -2
- package/lib/collapse-item/CollapseItem.d.ts +3 -3
- package/lib/collapse-item/index.d.ts +2 -2
- package/lib/config-provider/ConfigProvider.d.ts +9 -9
- package/lib/config-provider/index.d.ts +6 -6
- package/lib/contact-card/ContactCard.d.ts +3 -3
- package/lib/contact-card/index.d.ts +2 -2
- package/lib/count-down/CountDown.d.ts +3 -3
- package/lib/count-down/index.d.ts +2 -2
- package/lib/coupon/Coupon.d.ts +2 -2
- package/lib/coupon/index.d.ts +2 -2
- package/lib/coupon-cell/CouponCell.d.ts +6 -6
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/CouponList.d.ts +12 -12
- package/lib/coupon-list/index.d.ts +8 -8
- package/lib/date-picker/DatePicker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +2 -2
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/Dialog.d.ts +3 -3
- package/lib/dialog/index.d.ts +2 -2
- package/lib/divider/Divider.d.ts +3 -3
- package/lib/divider/index.d.ts +2 -2
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/index.d.ts +2 -2
- package/lib/dropdown-menu/DropdownMenu.d.ts +3 -3
- package/lib/dropdown-menu/index.d.ts +2 -2
- package/lib/empty/Empty.d.ts +3 -3
- package/lib/empty/index.d.ts +2 -2
- package/lib/field/Field.d.ts +18 -18
- package/lib/field/index.d.ts +10 -10
- package/lib/floating-bubble/FloatingBubble.d.ts +3 -3
- package/lib/floating-bubble/index.d.ts +2 -2
- package/lib/floating-panel/FloatingPanel.d.ts +3 -3
- package/lib/floating-panel/index.d.ts +2 -2
- package/lib/highlight/Highlight.d.ts +12 -12
- package/lib/highlight/index.d.ts +8 -8
- package/lib/icon/Icon.d.ts +3 -3
- package/lib/icon/index.d.ts +2 -2
- package/lib/image/Image.d.ts +6 -6
- package/lib/image/index.d.ts +4 -4
- package/lib/image-preview/ImagePreview.d.ts +9 -9
- package/lib/image-preview/index.d.ts +6 -6
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +3 -3
- package/lib/list/index.d.ts +2 -2
- package/lib/loading/Loading.d.ts +3 -3
- package/lib/loading/index.d.ts +2 -2
- package/lib/notify/Notify.d.ts +6 -6
- package/lib/notify/index.d.ts +4 -4
- package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/lib/number-keyboard/index.d.ts +4 -4
- package/lib/pagination/Pagination.d.ts +3 -3
- package/lib/pagination/index.d.ts +2 -2
- package/lib/password-input/PasswordInput.d.ts +3 -3
- package/lib/password-input/index.d.ts +2 -2
- package/lib/picker/Picker.d.ts +9 -9
- package/lib/picker/PickerColumn.d.ts +2 -2
- package/lib/picker/index.d.ts +6 -6
- package/lib/picker-group/PickerGroup.d.ts +3 -3
- package/lib/picker-group/index.d.ts +2 -2
- package/lib/popover/Popover.d.ts +15 -15
- package/lib/popover/index.d.ts +10 -10
- package/lib/popup/Popup.d.ts +9 -9
- package/lib/popup/index.d.ts +6 -6
- package/lib/rate/Rate.d.ts +6 -6
- package/lib/rate/index.d.ts +4 -4
- package/lib/rolling-text/RollingText.d.ts +9 -9
- package/lib/rolling-text/RollingTextItem.d.ts +6 -6
- package/lib/rolling-text/index.d.ts +6 -6
- package/lib/row/Row.d.ts +3 -3
- package/lib/row/index.d.ts +2 -2
- package/lib/search/Search.d.ts +15 -15
- package/lib/search/index.d.ts +10 -10
- package/lib/share-sheet/ShareSheet.d.ts +3 -3
- package/lib/share-sheet/index.d.ts +2 -2
- package/lib/signature/Signature.d.ts +9 -9
- package/lib/signature/index.d.ts +6 -6
- package/lib/skeleton/Skeleton.d.ts +3 -3
- package/lib/skeleton/index.d.ts +2 -2
- package/lib/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
- package/lib/skeleton-avatar/index.d.ts +2 -2
- package/lib/skeleton-image/SkeletonImage.d.ts +3 -3
- package/lib/skeleton-image/index.d.ts +2 -2
- package/lib/steps/Steps.d.ts +6 -6
- package/lib/steps/index.d.ts +4 -4
- package/lib/sticky/Sticky.d.ts +3 -3
- package/lib/sticky/index.d.ts +2 -2
- package/lib/submit-bar/SubmitBar.d.ts +6 -6
- package/lib/submit-bar/index.d.ts +4 -4
- package/lib/tabs/Tabs.d.ts +3 -3
- package/lib/tabs/index.d.ts +2 -2
- package/lib/tag/Tag.d.ts +3 -3
- package/lib/tag/index.d.ts +2 -2
- package/lib/text-ellipsis/TextEllipsis.d.ts +15 -15
- package/lib/text-ellipsis/index.d.ts +10 -10
- package/lib/time-picker/TimePicker.d.ts +3 -3
- package/lib/time-picker/index.d.ts +2 -2
- package/lib/toast/Toast.d.ts +9 -9
- package/lib/toast/index.d.ts +6 -6
- package/lib/tree-select/TreeSelect.d.ts +6 -6
- package/lib/tree-select/index.d.ts +4 -4
- package/lib/uploader/Uploader.d.ts +15 -15
- package/lib/uploader/index.d.ts +10 -10
- package/lib/vant.cjs.js +11 -4
- package/lib/vant.es.js +11 -4
- package/lib/vant.js +24 -35
- package/lib/vant.min.js +2 -2
- package/lib/watermark/Watermark.d.ts +3 -3
- package/lib/watermark/index.d.ts +2 -2
- package/lib/web-types.json +1 -1
- package/package.json +6 -6
@@ -4,11 +4,11 @@ import type { CalendarType, CalendarSwitchMode, CalendarDayItem } from './types'
|
|
4
4
|
export declare const calendarProps: {
|
5
5
|
show: BooleanConstructor;
|
6
6
|
type: {
|
7
|
-
type: PropType<
|
7
|
+
type: PropType<CalendarType>;
|
8
8
|
default: CalendarType;
|
9
9
|
};
|
10
10
|
switchMode: {
|
11
|
-
type: PropType<
|
11
|
+
type: PropType<CalendarSwitchMode>;
|
12
12
|
default: CalendarSwitchMode;
|
13
13
|
};
|
14
14
|
title: StringConstructor;
|
@@ -27,7 +27,7 @@ export declare const calendarProps: {
|
|
27
27
|
default: null;
|
28
28
|
};
|
29
29
|
position: {
|
30
|
-
type: PropType<
|
30
|
+
type: PropType<PopupPosition>;
|
31
31
|
default: PopupPosition;
|
32
32
|
};
|
33
33
|
teleport: PropType<TeleportProps["to"]>;
|
@@ -93,11 +93,11 @@ export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
|
|
93
93
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
94
94
|
show: BooleanConstructor;
|
95
95
|
type: {
|
96
|
-
type: PropType<
|
96
|
+
type: PropType<CalendarType>;
|
97
97
|
default: CalendarType;
|
98
98
|
};
|
99
99
|
switchMode: {
|
100
|
-
type: PropType<
|
100
|
+
type: PropType<CalendarSwitchMode>;
|
101
101
|
default: CalendarSwitchMode;
|
102
102
|
};
|
103
103
|
title: StringConstructor;
|
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
116
116
|
default: null;
|
117
117
|
};
|
118
118
|
position: {
|
119
|
-
type: PropType<
|
119
|
+
type: PropType<PopupPosition>;
|
120
120
|
default: PopupPosition;
|
121
121
|
};
|
122
122
|
teleport: PropType<TeleportProps["to"]>;
|
@@ -177,14 +177,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
177
177
|
default: number;
|
178
178
|
validator: (val: number) => boolean;
|
179
179
|
};
|
180
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
180
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
181
181
|
show: BooleanConstructor;
|
182
182
|
type: {
|
183
|
-
type: PropType<
|
183
|
+
type: PropType<CalendarType>;
|
184
184
|
default: CalendarType;
|
185
185
|
};
|
186
186
|
switchMode: {
|
187
|
-
type: PropType<
|
187
|
+
type: PropType<CalendarSwitchMode>;
|
188
188
|
default: CalendarSwitchMode;
|
189
189
|
};
|
190
190
|
title: StringConstructor;
|
@@ -203,7 +203,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
203
203
|
default: null;
|
204
204
|
};
|
205
205
|
position: {
|
206
|
-
type: PropType<
|
206
|
+
type: PropType<PopupPosition>;
|
207
207
|
default: PopupPosition;
|
208
208
|
};
|
209
209
|
teleport: PropType<TeleportProps["to"]>;
|
@@ -267,6 +267,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
267
267
|
}>> & Readonly<{
|
268
268
|
onSelect?: ((...args: any[]) => any) | undefined;
|
269
269
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
270
|
+
onClickOverlay?: ((...args: any[]) => any) | undefined;
|
270
271
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
271
272
|
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
|
272
273
|
onClickSubtitle?: ((...args: any[]) => any) | undefined;
|
package/es/calendar/Calendar.mjs
CHANGED
@@ -55,7 +55,7 @@ const calendarProps = {
|
|
55
55
|
var stdin_default = defineComponent({
|
56
56
|
name,
|
57
57
|
props: calendarProps,
|
58
|
-
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle", "clickDisabledDate", "panelChange"],
|
58
|
+
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle", "clickDisabledDate", "clickOverlay", "panelChange"],
|
59
59
|
setup(props, {
|
60
60
|
emit,
|
61
61
|
slots
|
@@ -343,6 +343,7 @@ var stdin_default = defineComponent({
|
|
343
343
|
select(date, true);
|
344
344
|
}
|
345
345
|
};
|
346
|
+
const onClickOverlay = (event) => emit("clickOverlay", event);
|
346
347
|
const updateShow = (value) => emit("update:show", value);
|
347
348
|
const renderMonth = (date, index) => {
|
348
349
|
const showMonthTitle = index !== 0 || !props.showSubtitle;
|
@@ -434,6 +435,7 @@ var stdin_default = defineComponent({
|
|
434
435
|
"closeOnPopstate": props.closeOnPopstate,
|
435
436
|
"safeAreaInsetTop": props.safeAreaInsetTop,
|
436
437
|
"closeOnClickOverlay": props.closeOnClickOverlay,
|
438
|
+
"onClickOverlay": onClickOverlay,
|
437
439
|
"onUpdate:show": updateShow
|
438
440
|
}, {
|
439
441
|
default: renderCalendar
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { computed, defineComponent, createVNode as _createVNode } from "vue";
|
2
2
|
import { makeNumberProp, createNamespace, makeRequiredProp } from "../utils/index.mjs";
|
3
|
-
import { bem } from "./utils.mjs";
|
3
|
+
import { bem, isLastRowInMonth } from "./utils.mjs";
|
4
4
|
const [name] = createNamespace("calendar-day");
|
5
5
|
var stdin_default = defineComponent({
|
6
6
|
name,
|
@@ -17,7 +17,6 @@ var stdin_default = defineComponent({
|
|
17
17
|
slots
|
18
18
|
}) {
|
19
19
|
const style = computed(() => {
|
20
|
-
var _a;
|
21
20
|
const {
|
22
21
|
item,
|
23
22
|
index,
|
@@ -49,7 +48,7 @@ var stdin_default = defineComponent({
|
|
49
48
|
break;
|
50
49
|
}
|
51
50
|
}
|
52
|
-
if (
|
51
|
+
if (item.date && isLastRowInMonth(item.date, offset)) {
|
53
52
|
style2.marginBottom = 0;
|
54
53
|
}
|
55
54
|
return style2;
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
9
9
|
showSubtitle: BooleanConstructor;
|
10
10
|
firstDayOfWeek: NumberConstructor;
|
11
11
|
switchMode: {
|
12
|
-
type: import("vue").PropType<
|
12
|
+
type: import("vue").PropType<CalendarSwitchMode>;
|
13
13
|
default: CalendarSwitchMode;
|
14
14
|
};
|
15
15
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickSubtitle" | "panelChange")[], "clickSubtitle" | "panelChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
22
22
|
showSubtitle: BooleanConstructor;
|
23
23
|
firstDayOfWeek: NumberConstructor;
|
24
24
|
switchMode: {
|
25
|
-
type: import("vue").PropType<
|
25
|
+
type: import("vue").PropType<CalendarSwitchMode>;
|
26
26
|
default: CalendarSwitchMode;
|
27
27
|
};
|
28
28
|
}>> & Readonly<{
|
package/es/calendar/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
type: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<import("./types").CalendarType>;
|
5
5
|
default: import("./types").CalendarType;
|
6
6
|
};
|
7
7
|
switchMode: {
|
8
|
-
type: import("vue").PropType<
|
8
|
+
type: import("vue").PropType<import("./types").CalendarSwitchMode>;
|
9
9
|
default: import("./types").CalendarSwitchMode;
|
10
10
|
};
|
11
11
|
title: StringConstructor;
|
@@ -24,7 +24,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
24
24
|
default: null;
|
25
25
|
};
|
26
26
|
position: {
|
27
|
-
type: import("vue").PropType<
|
27
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
28
28
|
default: import("..").PopupPosition;
|
29
29
|
};
|
30
30
|
teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
@@ -85,14 +85,14 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
85
85
|
default: number;
|
86
86
|
validator: (val: number) => boolean;
|
87
87
|
};
|
88
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
88
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
89
89
|
show: BooleanConstructor;
|
90
90
|
type: {
|
91
|
-
type: import("vue").PropType<
|
91
|
+
type: import("vue").PropType<import("./types").CalendarType>;
|
92
92
|
default: import("./types").CalendarType;
|
93
93
|
};
|
94
94
|
switchMode: {
|
95
|
-
type: import("vue").PropType<
|
95
|
+
type: import("vue").PropType<import("./types").CalendarSwitchMode>;
|
96
96
|
default: import("./types").CalendarSwitchMode;
|
97
97
|
};
|
98
98
|
title: StringConstructor;
|
@@ -111,7 +111,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
111
111
|
default: null;
|
112
112
|
};
|
113
113
|
position: {
|
114
|
-
type: import("vue").PropType<
|
114
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
115
115
|
default: import("..").PopupPosition;
|
116
116
|
};
|
117
117
|
teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
@@ -175,6 +175,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
175
175
|
}>> & Readonly<{
|
176
176
|
onSelect?: ((...args: any[]) => any) | undefined;
|
177
177
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
178
|
+
onClickOverlay?: ((...args: any[]) => any) | undefined;
|
178
179
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
179
180
|
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
|
180
181
|
onClickSubtitle?: ((...args: any[]) => any) | undefined;
|
package/es/calendar/utils.d.ts
CHANGED
@@ -16,3 +16,10 @@ export declare const getPrevYear: (date: Date) => Date;
|
|
16
16
|
export declare const getNextYear: (date: Date) => Date;
|
17
17
|
export declare const getToday: () => Date;
|
18
18
|
export declare function calcDateNum(date: [Date, Date]): number;
|
19
|
+
/**
|
20
|
+
* Checks if the given date is in the last row of its month in a calendar view
|
21
|
+
* @param date The date to check
|
22
|
+
* @param offset The offset of the first day of the month
|
23
|
+
* @returns boolean indicating whether the date is in the last row
|
24
|
+
*/
|
25
|
+
export declare function isLastRowInMonth(date: Date, offset?: number): boolean;
|
package/es/calendar/utils.mjs
CHANGED
@@ -59,6 +59,12 @@ function calcDateNum(date) {
|
|
59
59
|
const day2 = date[1].getTime();
|
60
60
|
return (day2 - day1) / (1e3 * 60 * 60 * 24) + 1;
|
61
61
|
}
|
62
|
+
function isLastRowInMonth(date, offset = 0) {
|
63
|
+
const lastDay = new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
64
|
+
const currentPos = offset + date.getDate() - 1;
|
65
|
+
const lastDayPos = offset + lastDay.getDate() - 1;
|
66
|
+
return Math.floor(currentPos / 7) === Math.floor(lastDayPos / 7);
|
67
|
+
}
|
62
68
|
export {
|
63
69
|
bem,
|
64
70
|
calcDateNum,
|
@@ -77,6 +83,7 @@ export {
|
|
77
83
|
getPrevYear,
|
78
84
|
getToday,
|
79
85
|
getYearByOffset,
|
86
|
+
isLastRowInMonth,
|
80
87
|
name,
|
81
88
|
t
|
82
89
|
};
|
package/es/card/Card.d.ts
CHANGED
@@ -9,7 +9,7 @@ export declare const cardProps: {
|
|
9
9
|
centered: BooleanConstructor;
|
10
10
|
lazyLoad: BooleanConstructor;
|
11
11
|
currency: {
|
12
|
-
type: import("vue").PropType<
|
12
|
+
type: import("vue").PropType<string>;
|
13
13
|
default: string;
|
14
14
|
};
|
15
15
|
thumbLink: StringConstructor;
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
26
26
|
centered: BooleanConstructor;
|
27
27
|
lazyLoad: BooleanConstructor;
|
28
28
|
currency: {
|
29
|
-
type: import("vue").PropType<
|
29
|
+
type: import("vue").PropType<string>;
|
30
30
|
default: string;
|
31
31
|
};
|
32
32
|
thumbLink: StringConstructor;
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
41
41
|
centered: BooleanConstructor;
|
42
42
|
lazyLoad: BooleanConstructor;
|
43
43
|
currency: {
|
44
|
-
type: import("vue").PropType<
|
44
|
+
type: import("vue").PropType<string>;
|
45
45
|
default: string;
|
46
46
|
};
|
47
47
|
thumbLink: StringConstructor;
|
package/es/card/index.d.ts
CHANGED
@@ -8,7 +8,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
|
|
8
8
|
centered: BooleanConstructor;
|
9
9
|
lazyLoad: BooleanConstructor;
|
10
10
|
currency: {
|
11
|
-
type: import("vue").PropType<
|
11
|
+
type: import("vue").PropType<string>;
|
12
12
|
default: string;
|
13
13
|
};
|
14
14
|
thumbLink: StringConstructor;
|
@@ -23,7 +23,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
|
|
23
23
|
centered: BooleanConstructor;
|
24
24
|
lazyLoad: BooleanConstructor;
|
25
25
|
currency: {
|
26
|
-
type: import("vue").PropType<
|
26
|
+
type: import("vue").PropType<string>;
|
27
27
|
default: string;
|
28
28
|
};
|
29
29
|
thumbLink: StringConstructor;
|
@@ -3,7 +3,7 @@ import type { CascaderOption, CascaderFieldNames } from './types';
|
|
3
3
|
export declare const cascaderProps: {
|
4
4
|
title: StringConstructor;
|
5
5
|
options: {
|
6
|
-
type: PropType<
|
6
|
+
type: PropType<CascaderOption[]>;
|
7
7
|
default: () => never[];
|
8
8
|
};
|
9
9
|
closeable: {
|
@@ -15,7 +15,7 @@ export declare const cascaderProps: {
|
|
15
15
|
default: true;
|
16
16
|
};
|
17
17
|
closeIcon: {
|
18
|
-
type: PropType<
|
18
|
+
type: PropType<string>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
showHeader: {
|
@@ -31,7 +31,7 @@ export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
|
|
31
31
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
32
32
|
title: StringConstructor;
|
33
33
|
options: {
|
34
|
-
type: PropType<
|
34
|
+
type: PropType<CascaderOption[]>;
|
35
35
|
default: () => never[];
|
36
36
|
};
|
37
37
|
closeable: {
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
43
43
|
default: true;
|
44
44
|
};
|
45
45
|
closeIcon: {
|
46
|
-
type: PropType<
|
46
|
+
type: PropType<string>;
|
47
47
|
default: string;
|
48
48
|
};
|
49
49
|
showHeader: {
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
57
57
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
58
58
|
title: StringConstructor;
|
59
59
|
options: {
|
60
|
-
type: PropType<
|
60
|
+
type: PropType<CascaderOption[]>;
|
61
61
|
default: () => never[];
|
62
62
|
};
|
63
63
|
closeable: {
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
69
69
|
default: true;
|
70
70
|
};
|
71
71
|
closeIcon: {
|
72
|
-
type: PropType<
|
72
|
+
type: PropType<string>;
|
73
73
|
default: string;
|
74
74
|
};
|
75
75
|
showHeader: {
|
package/es/cascader/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
title: StringConstructor;
|
3
3
|
options: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<import("./types").CascaderOption[]>;
|
5
5
|
default: () => never[];
|
6
6
|
};
|
7
7
|
closeable: {
|
@@ -13,7 +13,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
|
|
13
13
|
default: true;
|
14
14
|
};
|
15
15
|
closeIcon: {
|
16
|
-
type: import("vue").PropType<
|
16
|
+
type: import("vue").PropType<string>;
|
17
17
|
default: string;
|
18
18
|
};
|
19
19
|
showHeader: {
|
@@ -27,7 +27,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
|
|
27
27
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
28
28
|
title: StringConstructor;
|
29
29
|
options: {
|
30
|
-
type: import("vue").PropType<
|
30
|
+
type: import("vue").PropType<import("./types").CascaderOption[]>;
|
31
31
|
default: () => never[];
|
32
32
|
};
|
33
33
|
closeable: {
|
@@ -39,7 +39,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
|
|
39
39
|
default: true;
|
40
40
|
};
|
41
41
|
closeIcon: {
|
42
|
-
type: import("vue").PropType<
|
42
|
+
type: import("vue").PropType<string>;
|
43
43
|
default: string;
|
44
44
|
};
|
45
45
|
showHeader: {
|
package/es/cell/Cell.d.ts
CHANGED
@@ -3,7 +3,7 @@ export type CellSize = 'normal' | 'large';
|
|
3
3
|
export type CellArrowDirection = 'up' | 'down' | 'left' | 'right';
|
4
4
|
export declare const cellSharedProps: {
|
5
5
|
tag: {
|
6
|
-
type: PropType<
|
6
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
7
7
|
default: keyof HTMLElementTagNameMap;
|
8
8
|
};
|
9
9
|
icon: StringConstructor;
|
@@ -34,7 +34,7 @@ export declare const cellSharedProps: {
|
|
34
34
|
};
|
35
35
|
export declare const cellProps: {
|
36
36
|
tag: {
|
37
|
-
type: PropType<
|
37
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
38
38
|
default: keyof HTMLElementTagNameMap;
|
39
39
|
};
|
40
40
|
icon: StringConstructor;
|
@@ -70,7 +70,7 @@ export declare const cellProps: {
|
|
70
70
|
export type CellProps = ExtractPropTypes<typeof cellProps>;
|
71
71
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
72
72
|
tag: {
|
73
|
-
type: PropType<
|
73
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
74
74
|
default: keyof HTMLElementTagNameMap;
|
75
75
|
};
|
76
76
|
icon: StringConstructor;
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
104
104
|
replace: BooleanConstructor;
|
105
105
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
106
106
|
tag: {
|
107
|
-
type: PropType<
|
107
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
108
108
|
default: keyof HTMLElementTagNameMap;
|
109
109
|
};
|
110
110
|
icon: StringConstructor;
|
package/es/cell/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
tag: {
|
3
|
-
type: import("vue").PropType<
|
3
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
5
5
|
};
|
6
6
|
icon: StringConstructor;
|
@@ -34,7 +34,7 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
34
34
|
replace: BooleanConstructor;
|
35
35
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
36
36
|
tag: {
|
37
|
-
type: import("vue").PropType<
|
37
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
38
38
|
default: keyof HTMLElementTagNameMap;
|
39
39
|
};
|
40
40
|
icon: StringConstructor;
|
@@ -4,14 +4,14 @@ import type { CheckboxGroupProvide } from './types';
|
|
4
4
|
export declare const checkboxGroupProps: {
|
5
5
|
max: (NumberConstructor | StringConstructor)[];
|
6
6
|
shape: {
|
7
|
-
type: PropType<
|
7
|
+
type: PropType<CheckerShape>;
|
8
8
|
default: CheckerShape;
|
9
9
|
};
|
10
10
|
disabled: BooleanConstructor;
|
11
11
|
iconSize: (NumberConstructor | StringConstructor)[];
|
12
12
|
direction: PropType<CheckerDirection>;
|
13
13
|
modelValue: {
|
14
|
-
type: PropType<
|
14
|
+
type: PropType<unknown[]>;
|
15
15
|
default: () => never[];
|
16
16
|
};
|
17
17
|
checkedColor: StringConstructor;
|
@@ -21,28 +21,28 @@ export declare const CHECKBOX_GROUP_KEY: InjectionKey<CheckboxGroupProvide>;
|
|
21
21
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
22
22
|
max: (NumberConstructor | StringConstructor)[];
|
23
23
|
shape: {
|
24
|
-
type: PropType<
|
24
|
+
type: PropType<CheckerShape>;
|
25
25
|
default: CheckerShape;
|
26
26
|
};
|
27
27
|
disabled: BooleanConstructor;
|
28
28
|
iconSize: (NumberConstructor | StringConstructor)[];
|
29
29
|
direction: PropType<CheckerDirection>;
|
30
30
|
modelValue: {
|
31
|
-
type: PropType<
|
31
|
+
type: PropType<unknown[]>;
|
32
32
|
default: () => never[];
|
33
33
|
};
|
34
34
|
checkedColor: StringConstructor;
|
35
35
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
36
36
|
max: (NumberConstructor | StringConstructor)[];
|
37
37
|
shape: {
|
38
|
-
type: PropType<
|
38
|
+
type: PropType<CheckerShape>;
|
39
39
|
default: CheckerShape;
|
40
40
|
};
|
41
41
|
disabled: BooleanConstructor;
|
42
42
|
iconSize: (NumberConstructor | StringConstructor)[];
|
43
43
|
direction: PropType<CheckerDirection>;
|
44
44
|
modelValue: {
|
45
|
-
type: PropType<
|
45
|
+
type: PropType<unknown[]>;
|
46
46
|
default: () => never[];
|
47
47
|
};
|
48
48
|
checkedColor: StringConstructor;
|
@@ -1,28 +1,28 @@
|
|
1
1
|
export declare const CheckboxGroup: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
max: (NumberConstructor | StringConstructor)[];
|
3
3
|
shape: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
|
5
5
|
default: import("../checkbox/Checker").CheckerShape;
|
6
6
|
};
|
7
7
|
disabled: BooleanConstructor;
|
8
8
|
iconSize: (NumberConstructor | StringConstructor)[];
|
9
9
|
direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
|
10
10
|
modelValue: {
|
11
|
-
type: import("vue").PropType<
|
11
|
+
type: import("vue").PropType<unknown[]>;
|
12
12
|
default: () => never[];
|
13
13
|
};
|
14
14
|
checkedColor: StringConstructor;
|
15
15
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
16
16
|
max: (NumberConstructor | StringConstructor)[];
|
17
17
|
shape: {
|
18
|
-
type: import("vue").PropType<
|
18
|
+
type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
|
19
19
|
default: import("../checkbox/Checker").CheckerShape;
|
20
20
|
};
|
21
21
|
disabled: BooleanConstructor;
|
22
22
|
iconSize: (NumberConstructor | StringConstructor)[];
|
23
23
|
direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
|
24
24
|
modelValue: {
|
25
|
-
type: import("vue").PropType<
|
25
|
+
type: import("vue").PropType<unknown[]>;
|
26
26
|
default: () => never[];
|
27
27
|
};
|
28
28
|
checkedColor: StringConstructor;
|
package/es/circle/Circle.d.ts
CHANGED
@@ -4,7 +4,7 @@ export declare const circleProps: {
|
|
4
4
|
text: StringConstructor;
|
5
5
|
size: (NumberConstructor | StringConstructor)[];
|
6
6
|
fill: {
|
7
|
-
type: PropType<
|
7
|
+
type: PropType<string>;
|
8
8
|
default: string;
|
9
9
|
};
|
10
10
|
rate: {
|
@@ -31,7 +31,7 @@ export declare const circleProps: {
|
|
31
31
|
};
|
32
32
|
strokeLinecap: PropType<CanvasLineCap>;
|
33
33
|
startPosition: {
|
34
|
-
type: PropType<
|
34
|
+
type: PropType<CircleStartPosition>;
|
35
35
|
default: CircleStartPosition;
|
36
36
|
};
|
37
37
|
};
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
40
40
|
text: StringConstructor;
|
41
41
|
size: (NumberConstructor | StringConstructor)[];
|
42
42
|
fill: {
|
43
|
-
type: PropType<
|
43
|
+
type: PropType<string>;
|
44
44
|
default: string;
|
45
45
|
};
|
46
46
|
rate: {
|
@@ -67,14 +67,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
67
67
|
};
|
68
68
|
strokeLinecap: PropType<CanvasLineCap>;
|
69
69
|
startPosition: {
|
70
|
-
type: PropType<
|
70
|
+
type: PropType<CircleStartPosition>;
|
71
71
|
default: CircleStartPosition;
|
72
72
|
};
|
73
73
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentRate"[], "update:currentRate", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
74
74
|
text: StringConstructor;
|
75
75
|
size: (NumberConstructor | StringConstructor)[];
|
76
76
|
fill: {
|
77
|
-
type: PropType<
|
77
|
+
type: PropType<string>;
|
78
78
|
default: string;
|
79
79
|
};
|
80
80
|
rate: {
|
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
101
101
|
};
|
102
102
|
strokeLinecap: PropType<CanvasLineCap>;
|
103
103
|
startPosition: {
|
104
|
-
type: PropType<
|
104
|
+
type: PropType<CircleStartPosition>;
|
105
105
|
default: CircleStartPosition;
|
106
106
|
};
|
107
107
|
}>> & Readonly<{
|
package/es/circle/index.d.ts
CHANGED
@@ -2,7 +2,7 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
|
|
2
2
|
text: StringConstructor;
|
3
3
|
size: (NumberConstructor | StringConstructor)[];
|
4
4
|
fill: {
|
5
|
-
type: import("vue").PropType<
|
5
|
+
type: import("vue").PropType<string>;
|
6
6
|
default: string;
|
7
7
|
};
|
8
8
|
rate: {
|
@@ -29,14 +29,14 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
|
|
29
29
|
};
|
30
30
|
strokeLinecap: import("vue").PropType<CanvasLineCap>;
|
31
31
|
startPosition: {
|
32
|
-
type: import("vue").PropType<
|
32
|
+
type: import("vue").PropType<import("./Circle").CircleStartPosition>;
|
33
33
|
default: import("./Circle").CircleStartPosition;
|
34
34
|
};
|
35
35
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentRate"[], "update:currentRate", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
36
36
|
text: StringConstructor;
|
37
37
|
size: (NumberConstructor | StringConstructor)[];
|
38
38
|
fill: {
|
39
|
-
type: import("vue").PropType<
|
39
|
+
type: import("vue").PropType<string>;
|
40
40
|
default: string;
|
41
41
|
};
|
42
42
|
rate: {
|
@@ -63,7 +63,7 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
|
|
63
63
|
};
|
64
64
|
strokeLinecap: import("vue").PropType<CanvasLineCap>;
|
65
65
|
startPosition: {
|
66
|
-
type: import("vue").PropType<
|
66
|
+
type: import("vue").PropType<import("./Circle").CircleStartPosition>;
|
67
67
|
default: import("./Circle").CircleStartPosition;
|
68
68
|
};
|
69
69
|
}>> & Readonly<{
|
package/es/col/Col.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type ExtractPropTypes } from 'vue';
|
2
2
|
export declare const colProps: {
|
3
3
|
tag: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
5
5
|
default: keyof HTMLElementTagNameMap;
|
6
6
|
};
|
7
7
|
span: {
|
@@ -13,7 +13,7 @@ export declare const colProps: {
|
|
13
13
|
export type ColProps = ExtractPropTypes<typeof colProps>;
|
14
14
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
15
15
|
tag: {
|
16
|
-
type: import("vue").PropType<
|
16
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
17
17
|
default: keyof HTMLElementTagNameMap;
|
18
18
|
};
|
19
19
|
span: {
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
23
23
|
offset: (NumberConstructor | StringConstructor)[];
|
24
24
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
25
25
|
tag: {
|
26
|
-
type: import("vue").PropType<
|
26
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
27
27
|
default: keyof HTMLElementTagNameMap;
|
28
28
|
};
|
29
29
|
span: {
|
package/es/col/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const Col: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
tag: {
|
3
|
-
type: import("vue").PropType<
|
3
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
5
5
|
};
|
6
6
|
span: {
|
@@ -10,7 +10,7 @@ export declare const Col: import("../utils").WithInstall<import("vue").DefineCom
|
|
10
10
|
offset: (NumberConstructor | StringConstructor)[];
|
11
11
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
12
12
|
tag: {
|
13
|
-
type: import("vue").PropType<
|
13
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
14
14
|
default: keyof HTMLElementTagNameMap;
|
15
15
|
};
|
16
16
|
span: {
|