yc-design-vue 1.0.8 → 1.1.0
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/Affix/index.vue.js +1 -2
- package/es/Anchor/Anchor.vue2.js +1 -2
- package/es/AutoComplete/index.d.ts +16 -19
- package/es/AutoComplete/index.vue.d.ts +27 -33
- package/es/Avatar/Avatar.vue2.js +1 -2
- package/es/Avatar/AvatarGroup.vue2.js +1 -2
- package/es/Badge/index.vue2.js +1 -2
- package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/es/Button/hooks/useContext.d.ts +1 -1
- package/es/Carousel/CarouselIndicator.vue2.js +1 -2
- package/es/Carousel/hooks/useContext.js +1 -2
- package/es/Cascader/Cascader.vue.d.ts +7 -7
- package/es/Cascader/Cascader.vue2.js +1 -2
- package/es/Cascader/CascaderOption.vue2.js +1 -2
- package/es/Cascader/index.d.ts +6 -6
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/index.d.ts +3 -3
- package/es/ColorPicker/ColorControl.vue2.js +1 -2
- package/es/ColorPicker/ColorPalette.vue2.js +1 -2
- package/es/ColorPicker/ColorPicker.vue.d.ts +2 -2
- package/es/ColorPicker/index.d.ts +6 -6
- package/es/Descriptions/Descriptions.vue.d.ts +1 -1
- package/es/Descriptions/index.d.ts +3 -3
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Divider/index.vue2.js +1 -2
- package/es/Drawer/Drawer.vue2.js +1 -2
- package/es/Dropdown/Dropdown.vue.js +1 -2
- package/es/Dropdown/Dsubmenu.vue2.js +1 -2
- package/es/Grid/Grid.vue2.js +1 -2
- package/es/Grid/GridCol.vue.js +1 -2
- package/es/Grid/GridItem.vue.js +1 -2
- package/es/Grid/GridRow.vue2.js +1 -2
- package/es/Icon/index.vue2.js +1 -2
- package/es/Image/Image.vue2.js +1 -2
- package/es/Image/ImagePreview.vue.d.ts +1 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreview.vue2.js +0 -1
- package/es/Image/ImagePreviewToolbar.vue2.js +6 -6
- package/es/Image/index.d.ts +3 -3
- package/es/Input/Input.vue.d.ts +1 -1
- package/es/Input/index.d.ts +3 -3
- package/es/InputNumber/InputNumber.vue.d.ts +7 -7
- package/es/InputNumber/InputNumber.vue2.js +1 -2
- package/es/InputNumber/index.d.ts +6 -6
- package/es/InputTag/index.d.ts +5 -5
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue2.js +1 -2
- package/es/Layout/LayoutSider.vue2.js +1 -2
- package/es/List/List.vue.d.ts +1 -2
- package/es/List/List.vue.js +1 -1
- package/es/List/List.vue2.js +6 -24
- package/es/List/hooks/useScrollReach.js +1 -2
- package/es/List/index.d.ts +3 -6
- package/es/List/type.d.ts +0 -2
- package/es/Mention/index.d.ts +16 -19
- package/es/Mention/index.vue.d.ts +32 -38
- package/es/Menu/MenuItem.vue2.js +1 -2
- package/es/Menu/MenuItemGroup.vue2.js +1 -2
- package/es/Menu/hooks/useContext.js +1 -2
- package/es/Message/Message.vue.d.ts +2 -2
- package/es/Message/index.d.ts +6 -6
- package/es/Modal/Modal.vue2.js +1 -2
- package/es/Modal/hooks/useModalDraggable.js +1 -2
- package/es/Notification/Notification.vue.d.ts +2 -2
- package/es/Notification/index.d.ts +6 -6
- package/es/OverflowList/index.vue2.js +1 -2
- package/es/Pagination/Pagination.vue2.js +1 -2
- package/es/Progress/ProgressCircle.vue2.js +2 -3
- package/es/Progress/ProgressLine.vue2.js +1 -2
- package/es/Progress/ProgressSteps.vue.js +1 -2
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/index.d.ts +3 -3
- package/es/Rate/index.vue2.js +1 -2
- package/es/ResizeBox/index.vue2.js +1 -2
- package/es/Scrollbar/ScrollbarTrack.vue2.js +1 -2
- package/es/Select/Select.vue.d.ts +13 -14
- package/es/Select/Select.vue.js +1 -1
- package/es/Select/Select.vue2.js +1 -3
- package/es/Select/index.d.ts +13 -16
- package/es/Select/type.d.ts +0 -1
- package/es/Skeleton/SkeletonLine.vue.d.ts +1 -1
- package/es/Skeleton/SkeletonLine.vue2.js +1 -2
- package/es/Skeleton/index.d.ts +1 -1
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/hooks/useSliderDraggable.js +1 -2
- 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/Space/index.vue2.js +1 -2
- package/es/Spin/index.vue2.js +1 -2
- package/es/Split/index.d.ts +3 -3
- package/es/Split/index.vue.d.ts +1 -1
- package/es/Split/index.vue2.js +1 -2
- package/es/Statistic/Countdown.vue.d.ts +1 -1
- package/es/Statistic/Countdown.vue.js +1 -2
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/Statistic.vue.js +1 -1
- package/es/Statistic/Statistic.vue2.js +9 -2
- package/es/Statistic/index.d.ts +6 -6
- package/es/Tabs/Tabs.vue2.js +1 -2
- package/es/Tabs/TabsNavInk.vue2.js +1 -2
- package/es/Tabs/hooks/useTabsScroll.js +1 -2
- package/es/Textarea/hooks/useTextareaHeight.js +1 -2
- package/es/TimePicker/TimePicker.vue.d.ts +5 -5
- package/es/TimePicker/TimePickerPanel.vue2.js +1 -2
- package/es/TimePicker/index.d.ts +15 -15
- package/es/Tooltip/index.d.ts +3 -3
- package/es/Tooltip/index.vue.d.ts +1 -1
- package/es/Tooltip/index.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue2.js +2 -2
- package/es/Trigger/hooks/useContext.js +1 -2
- package/es/Trigger/hooks/useTriggerPosition.js +1 -2
- package/es/Typography/TypographyBase.vue.d.ts +6 -6
- package/es/Typography/TypographyBase.vue.js +1 -1
- package/es/Typography/TypographyBase.vue2.js +2 -6
- package/es/VerificationCode/index.vue2.js +1 -2
- package/es/_shared/components/ExpandTransition.vue3.js +1 -2
- package/es/_shared/components/Icon.vue3.js +1 -2
- package/es/_shared/components/IconButton.vue3.js +1 -2
- package/es/_shared/constants/index.d.ts +8 -0
- package/es/_shared/constants/index.js +9 -0
- package/es/_shared/icons/IconDelete.vue.js +1 -16
- package/es/_shared/icons/IconDelete.vue2.js +16 -1
- package/es/_shared/icons/IconExclamation.vue.js +27 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -27
- package/es/_shared/icons/IconFullScreen.vue.js +16 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -16
- package/es/_shared/icons/IconOriginSize.vue.js +22 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -22
- package/es/_shared/icons/IconRotateLeft.vue.js +16 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -16
- package/es/_shared/icons/IconRotateRight.vue.js +16 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -16
- package/es/_shared/icons/IconSearch.vue.js +1 -16
- package/es/_shared/icons/IconSearch.vue2.js +16 -1
- package/es/_shared/icons/IconSeparator.vue.js +1 -16
- package/es/_shared/icons/IconSeparator.vue2.js +16 -1
- package/es/_shared/icons/IconZoomIn.vue.js +16 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -16
- package/es/_shared/icons/IconZoomOut.vue.js +16 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -16
- package/es/_shared/utils/dom.d.ts +7 -18
- package/es/_shared/utils/dom.js +80 -13
- package/es/_shared/utils/index.d.ts +0 -1
- package/es/_shared/utils/time.d.ts +1 -37
- package/es/_shared/utils/time.js +2 -2
- package/es/_shared/utils/vue-utils.d.ts +4 -4
- package/es/_shared/utils/vue-utils.js +6 -6
- package/es/index.d.ts +13 -13
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue2.js +1 -1
- package/lib/AutoComplete/index.d.ts +16 -19
- package/lib/AutoComplete/index.vue.d.ts +27 -33
- package/lib/Avatar/Avatar.vue2.js +1 -1
- package/lib/Avatar/AvatarGroup.vue2.js +1 -1
- package/lib/Badge/index.vue2.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +1 -1
- package/lib/Carousel/CarouselIndicator.vue2.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +7 -7
- package/lib/Cascader/Cascader.vue2.js +1 -1
- package/lib/Cascader/CascaderOption.vue2.js +1 -1
- package/lib/Cascader/index.d.ts +6 -6
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/ColorPicker/ColorControl.vue2.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue2.js +1 -1
- package/lib/ColorPicker/ColorPicker.vue.d.ts +2 -2
- package/lib/ColorPicker/index.d.ts +6 -6
- package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
- package/lib/Descriptions/index.d.ts +3 -3
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Divider/index.vue2.js +1 -1
- package/lib/Drawer/Drawer.vue2.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
- package/lib/Grid/Grid.vue2.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue2.js +1 -1
- package/lib/Icon/index.vue2.js +1 -1
- package/lib/Image/Image.vue2.js +1 -1
- package/lib/Image/ImagePreview.vue.d.ts +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue2.js +1 -1
- package/lib/Image/index.d.ts +3 -3
- package/lib/Input/Input.vue.d.ts +1 -1
- package/lib/Input/index.d.ts +3 -3
- package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
- package/lib/InputNumber/InputNumber.vue2.js +1 -1
- package/lib/InputNumber/index.d.ts +6 -6
- package/lib/InputTag/index.d.ts +5 -5
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/InputTag/index.vue2.js +1 -1
- package/lib/Layout/LayoutSider.vue2.js +1 -1
- package/lib/List/List.vue.d.ts +1 -2
- package/lib/List/List.vue.js +1 -1
- package/lib/List/List.vue2.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +3 -6
- package/lib/List/type.d.ts +0 -2
- package/lib/Mention/index.d.ts +16 -19
- package/lib/Mention/index.vue.d.ts +32 -38
- package/lib/Menu/MenuItem.vue2.js +1 -1
- package/lib/Menu/MenuItemGroup.vue2.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.d.ts +2 -2
- package/lib/Message/index.d.ts +6 -6
- package/lib/Modal/Modal.vue2.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Notification/Notification.vue.d.ts +2 -2
- package/lib/Notification/index.d.ts +6 -6
- package/lib/OverflowList/index.vue2.js +1 -1
- package/lib/Pagination/Pagination.vue2.js +1 -1
- package/lib/Progress/ProgressCircle.vue2.js +1 -1
- package/lib/Progress/ProgressLine.vue2.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/index.d.ts +3 -3
- package/lib/Rate/index.vue2.js +1 -1
- package/lib/ResizeBox/index.vue2.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue2.js +1 -1
- package/lib/Select/Select.vue.d.ts +13 -14
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/Select.vue2.js +1 -1
- package/lib/Select/index.d.ts +13 -16
- package/lib/Select/type.d.ts +0 -1
- package/lib/Skeleton/SkeletonLine.vue.d.ts +1 -1
- package/lib/Skeleton/SkeletonLine.vue2.js +1 -1
- package/lib/Skeleton/index.d.ts +1 -1
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- 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/Space/index.vue2.js +1 -1
- package/lib/Spin/index.vue2.js +1 -1
- package/lib/Split/index.d.ts +3 -3
- package/lib/Split/index.vue.d.ts +1 -1
- package/lib/Split/index.vue2.js +1 -1
- package/lib/Statistic/Countdown.vue.d.ts +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Statistic/Statistic.vue2.js +1 -1
- package/lib/Statistic/index.d.ts +6 -6
- package/lib/Tabs/Tabs.vue2.js +1 -1
- package/lib/Tabs/TabsNavInk.vue2.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/TimePicker/TimePicker.vue.d.ts +5 -5
- package/lib/TimePicker/TimePickerPanel.vue2.js +1 -1
- package/lib/TimePicker/index.d.ts +15 -15
- package/lib/Tooltip/index.d.ts +3 -3
- package/lib/Tooltip/index.vue.d.ts +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +6 -6
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue2.js +1 -1
- package/lib/VerificationCode/index.vue2.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue3.js +1 -1
- package/lib/_shared/constants/index.d.ts +8 -0
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- 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/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.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/utils/dom.d.ts +7 -18
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/index.d.ts +0 -1
- package/lib/_shared/utils/time.d.ts +1 -37
- package/lib/_shared/utils/time.js +1 -1
- package/lib/_shared/utils/vue-utils.d.ts +4 -4
- package/lib/_shared/utils/vue-utils.js +1 -1
- package/lib/index.d.ts +13 -13
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/_shared/utils/fn.d.ts +0 -8
- package/es/_shared/utils/fn.js +0 -79
- package/lib/_shared/utils/fn.d.ts +0 -8
- package/lib/_shared/utils/fn.js +0 -1
package/es/Select/index.d.ts
CHANGED
@@ -14,10 +14,10 @@ declare const Select: {
|
|
14
14
|
onClear?: (() => any) | undefined;
|
15
15
|
onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
|
16
16
|
onSearch?: ((value: string) => any) | undefined;
|
17
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
18
17
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
19
18
|
"onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
20
19
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
20
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
21
21
|
onExceedLimit?: ((value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
22
22
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
23
23
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -32,10 +32,10 @@ declare const Select: {
|
|
32
32
|
clear: () => any;
|
33
33
|
select: (value: import('./type').SelectValue) => any;
|
34
34
|
search: (value: string) => any;
|
35
|
-
remove: (index: string | number, ev: Event) => any;
|
36
35
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
37
36
|
"update:inputValue": (value: import('./type').SelectValue) => any;
|
38
37
|
"input-value-change": (value: string) => any;
|
38
|
+
remove: (index: string | number, ev: Event) => any;
|
39
39
|
exceedLimit: (value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any;
|
40
40
|
"dropdown-scroll": (ev: Event) => any;
|
41
41
|
"dropdown-reach-bottom": (ev: Event) => any;
|
@@ -50,7 +50,6 @@ declare const Select: {
|
|
50
50
|
scrollbar: boolean;
|
51
51
|
multiple: boolean;
|
52
52
|
placeholder: string;
|
53
|
-
triggerProps: import('..').TriggerProps;
|
54
53
|
bordered: boolean;
|
55
54
|
modelValue: import('./type').SelectValue;
|
56
55
|
defaultValue: import('./type').SelectValue;
|
@@ -66,9 +65,9 @@ declare const Select: {
|
|
66
65
|
showEmpty: boolean;
|
67
66
|
allowCreate: boolean;
|
68
67
|
maxTagCount: number;
|
69
|
-
defaultActivefirstOption: boolean;
|
70
68
|
filterOption: import('./type').FilterOption;
|
71
69
|
virtualListProps: import('./type').VirtualListProps;
|
70
|
+
triggerProps: import('..').TriggerProps;
|
72
71
|
searchDelay: number;
|
73
72
|
showHeaderOnEmpty: boolean;
|
74
73
|
showFooterOnEmpty: boolean;
|
@@ -337,10 +336,10 @@ declare const Select: {
|
|
337
336
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
338
337
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
339
338
|
readonly onInput?: ((value: string) => any) | undefined;
|
340
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
341
339
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
342
340
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
343
341
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
342
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
344
343
|
readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
345
344
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
346
345
|
$attrs: {
|
@@ -358,17 +357,17 @@ declare const Select: {
|
|
358
357
|
$root: import('vue').ComponentPublicInstance | null;
|
359
358
|
$parent: import('vue').ComponentPublicInstance | null;
|
360
359
|
$host: Element | null;
|
361
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "
|
360
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
362
361
|
$el: HTMLDivElement;
|
363
362
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
364
363
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
365
364
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
366
365
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
367
366
|
onInput?: ((value: string) => any) | undefined;
|
368
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
369
367
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
370
368
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
371
369
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
370
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
372
371
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
373
372
|
}>, {
|
374
373
|
focus(): void;
|
@@ -378,10 +377,10 @@ declare const Select: {
|
|
378
377
|
clear: (ev: MouseEvent) => any;
|
379
378
|
blur: (ev: FocusEvent) => any;
|
380
379
|
input: (value: string) => any;
|
381
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
382
380
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
383
381
|
"update:inputValue": (value: string) => any;
|
384
382
|
"input-value-change": (value: string, ev: Event) => any;
|
383
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
385
384
|
"press-enter": (ev: KeyboardEvent) => any;
|
386
385
|
}, string, {
|
387
386
|
size: import('..').Size;
|
@@ -442,10 +441,10 @@ declare const Select: {
|
|
442
441
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
443
442
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
444
443
|
onInput?: ((value: string) => any) | undefined;
|
445
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
446
444
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
447
445
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
448
446
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
447
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
449
448
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
450
449
|
}>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
451
450
|
focus(): void;
|
@@ -467,10 +466,10 @@ declare const Select: {
|
|
467
466
|
onClear?: (() => any) | undefined;
|
468
467
|
onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
|
469
468
|
onSearch?: ((value: string) => any) | undefined;
|
470
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
471
469
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
472
470
|
"onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
473
471
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
472
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
474
473
|
onExceedLimit?: ((value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
475
474
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
476
475
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -489,7 +488,6 @@ declare const Select: {
|
|
489
488
|
scrollbar: boolean;
|
490
489
|
multiple: boolean;
|
491
490
|
placeholder: string;
|
492
|
-
triggerProps: import('..').TriggerProps;
|
493
491
|
bordered: boolean;
|
494
492
|
modelValue: import('./type').SelectValue;
|
495
493
|
defaultValue: import('./type').SelectValue;
|
@@ -505,9 +503,9 @@ declare const Select: {
|
|
505
503
|
showEmpty: boolean;
|
506
504
|
allowCreate: boolean;
|
507
505
|
maxTagCount: number;
|
508
|
-
defaultActivefirstOption: boolean;
|
509
506
|
filterOption: import('./type').FilterOption;
|
510
507
|
virtualListProps: import('./type').VirtualListProps;
|
508
|
+
triggerProps: import('..').TriggerProps;
|
511
509
|
searchDelay: number;
|
512
510
|
showHeaderOnEmpty: boolean;
|
513
511
|
showFooterOnEmpty: boolean;
|
@@ -523,10 +521,10 @@ declare const Select: {
|
|
523
521
|
onClear?: (() => any) | undefined;
|
524
522
|
onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
|
525
523
|
onSearch?: ((value: string) => any) | undefined;
|
526
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
527
524
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
528
525
|
"onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
529
526
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
527
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
530
528
|
onExceedLimit?: ((value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
531
529
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
532
530
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -541,10 +539,10 @@ declare const Select: {
|
|
541
539
|
clear: () => any;
|
542
540
|
select: (value: import('./type').SelectValue) => any;
|
543
541
|
search: (value: string) => any;
|
544
|
-
remove: (index: string | number, ev: Event) => any;
|
545
542
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
546
543
|
"update:inputValue": (value: import('./type').SelectValue) => any;
|
547
544
|
"input-value-change": (value: string) => any;
|
545
|
+
remove: (index: string | number, ev: Event) => any;
|
548
546
|
exceedLimit: (value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any;
|
549
547
|
"dropdown-scroll": (ev: Event) => any;
|
550
548
|
"dropdown-reach-bottom": (ev: Event) => any;
|
@@ -559,7 +557,6 @@ declare const Select: {
|
|
559
557
|
scrollbar: boolean;
|
560
558
|
multiple: boolean;
|
561
559
|
placeholder: string;
|
562
|
-
triggerProps: import('..').TriggerProps;
|
563
560
|
bordered: boolean;
|
564
561
|
modelValue: import('./type').SelectValue;
|
565
562
|
defaultValue: import('./type').SelectValue;
|
@@ -575,9 +572,9 @@ declare const Select: {
|
|
575
572
|
showEmpty: boolean;
|
576
573
|
allowCreate: boolean;
|
577
574
|
maxTagCount: number;
|
578
|
-
defaultActivefirstOption: boolean;
|
579
575
|
filterOption: import('./type').FilterOption;
|
580
576
|
virtualListProps: import('./type').VirtualListProps;
|
577
|
+
triggerProps: import('..').TriggerProps;
|
581
578
|
searchDelay: number;
|
582
579
|
showHeaderOnEmpty: boolean;
|
583
580
|
showFooterOnEmpty: boolean;
|
package/es/Select/type.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { SkeletonLineProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<SkeletonLineProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonLineProps> & Readonly<{}>, {
|
3
|
-
rows: number;
|
4
3
|
lineHeight: number;
|
4
|
+
rows: number;
|
5
5
|
widths: number[];
|
6
6
|
lineSpacing: number;
|
7
7
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, Fragment, renderList, unref } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { valueToPx } from "../_shared/utils/fn.js";
|
3
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
5
4
|
import "../_shared/utils/time.js";
|
6
5
|
import "../Empty/index.js";
|
7
6
|
/* empty css */
|
package/es/Skeleton/index.d.ts
CHANGED
@@ -35,8 +35,8 @@ declare const Skeleton: {
|
|
35
35
|
shape: import('./type').SkeletonShapeShape;
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
37
37
|
line: import('vue').DefineComponent<import('./type').SkeletonLineProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./type').SkeletonLineProps> & Readonly<{}>, {
|
38
|
-
rows: number;
|
39
38
|
lineHeight: number;
|
39
|
+
rows: number;
|
40
40
|
widths: number[];
|
41
41
|
lineSpacing: number;
|
42
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
@@ -8,14 +8,14 @@ declare const _default: import('vue').DefineComponent<SliderProps, {}, {}, {}, {
|
|
8
8
|
}>, {
|
9
9
|
disabled: boolean;
|
10
10
|
range: boolean;
|
11
|
-
showTooltip: boolean;
|
12
|
-
step: number;
|
13
|
-
direction: import('..').Direction;
|
14
11
|
modelValue: import('./type').SliderValue;
|
15
12
|
defaultValue: import('./type').SliderValue;
|
16
13
|
showInput: boolean;
|
17
14
|
max: number;
|
15
|
+
direction: import('..').Direction;
|
18
16
|
min: number;
|
17
|
+
step: number;
|
18
|
+
showTooltip: boolean;
|
19
19
|
marks: Record<number, string>;
|
20
20
|
showTicks: boolean;
|
21
21
|
formatTooltip: import('./type').FormatTooltip;
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { reactive, computed, watch, nextTick } from "vue";
|
2
2
|
import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
|
-
import "../../_shared/utils/dom.js";
|
5
|
-
import { valueToPx } from "../../_shared/utils/fn.js";
|
4
|
+
import { valueToPx } from "../../_shared/utils/dom.js";
|
6
5
|
import "../../_shared/utils/time.js";
|
7
6
|
import "../../Empty/index.js";
|
8
7
|
/* empty css */
|
package/es/Slider/index.d.ts
CHANGED
@@ -12,14 +12,14 @@ declare const Slider: {
|
|
12
12
|
}, import('vue').PublicProps, {
|
13
13
|
disabled: boolean;
|
14
14
|
range: boolean;
|
15
|
-
showTooltip: boolean;
|
16
|
-
step: number;
|
17
|
-
direction: import('..').Direction;
|
18
15
|
modelValue: import('./type').SliderValue;
|
19
16
|
defaultValue: import('./type').SliderValue;
|
20
17
|
showInput: boolean;
|
21
18
|
max: number;
|
19
|
+
direction: import('..').Direction;
|
22
20
|
min: number;
|
21
|
+
step: number;
|
22
|
+
showTooltip: boolean;
|
23
23
|
marks: Record<number, string>;
|
24
24
|
showTicks: boolean;
|
25
25
|
formatTooltip: import('./type').FormatTooltip;
|
@@ -38,14 +38,14 @@ declare const Slider: {
|
|
38
38
|
}>, {}, {}, {}, {}, {
|
39
39
|
disabled: boolean;
|
40
40
|
range: boolean;
|
41
|
-
showTooltip: boolean;
|
42
|
-
step: number;
|
43
|
-
direction: import('..').Direction;
|
44
41
|
modelValue: import('./type').SliderValue;
|
45
42
|
defaultValue: import('./type').SliderValue;
|
46
43
|
showInput: boolean;
|
47
44
|
max: number;
|
45
|
+
direction: import('..').Direction;
|
48
46
|
min: number;
|
47
|
+
step: number;
|
48
|
+
showTooltip: boolean;
|
49
49
|
marks: Record<number, string>;
|
50
50
|
showTicks: boolean;
|
51
51
|
formatTooltip: import('./type').FormatTooltip;
|
@@ -62,14 +62,14 @@ declare const Slider: {
|
|
62
62
|
}, string, {
|
63
63
|
disabled: boolean;
|
64
64
|
range: boolean;
|
65
|
-
showTooltip: boolean;
|
66
|
-
step: number;
|
67
|
-
direction: import('..').Direction;
|
68
65
|
modelValue: import('./type').SliderValue;
|
69
66
|
defaultValue: import('./type').SliderValue;
|
70
67
|
showInput: boolean;
|
71
68
|
max: number;
|
69
|
+
direction: import('..').Direction;
|
72
70
|
min: number;
|
71
|
+
step: number;
|
72
|
+
showTooltip: boolean;
|
73
73
|
marks: Record<number, string>;
|
74
74
|
showTicks: boolean;
|
75
75
|
formatTooltip: import('./type').FormatTooltip;
|
package/es/Space/index.d.ts
CHANGED
@@ -7,8 +7,8 @@ declare const Space: {
|
|
7
7
|
size: import('..').Size | number;
|
8
8
|
fill: boolean;
|
9
9
|
wrap: boolean;
|
10
|
-
align: import('./type').SpaceAlign;
|
11
10
|
direction: import('..').Direction;
|
11
|
+
align: import('./type').SpaceAlign;
|
12
12
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
13
13
|
P: {};
|
14
14
|
B: {};
|
@@ -20,8 +20,8 @@ declare const Space: {
|
|
20
20
|
size: import('..').Size | number;
|
21
21
|
fill: boolean;
|
22
22
|
wrap: boolean;
|
23
|
-
align: import('./type').SpaceAlign;
|
24
23
|
direction: import('..').Direction;
|
24
|
+
align: import('./type').SpaceAlign;
|
25
25
|
}>;
|
26
26
|
__isFragment?: never;
|
27
27
|
__isTeleport?: never;
|
@@ -30,8 +30,8 @@ declare const Space: {
|
|
30
30
|
size: import('..').Size | number;
|
31
31
|
fill: boolean;
|
32
32
|
wrap: boolean;
|
33
|
-
align: import('./type').SpaceAlign;
|
34
33
|
direction: import('..').Direction;
|
34
|
+
align: import('./type').SpaceAlign;
|
35
35
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
36
36
|
$slots: Readonly<import('./type').SpaceSlots> & import('./type').SpaceSlots;
|
37
37
|
}) & {
|
package/es/Space/index.vue.d.ts
CHANGED
@@ -10,8 +10,8 @@ declare const __VLS_component: import('vue').DefineComponent<SpaceProps, {}, {},
|
|
10
10
|
size: import('..').Size | number;
|
11
11
|
fill: boolean;
|
12
12
|
wrap: boolean;
|
13
|
-
align: import('./type').SpaceAlign;
|
14
13
|
direction: import('..').Direction;
|
14
|
+
align: import('./type').SpaceAlign;
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
17
17
|
export default _default;
|
package/es/Space/index.vue2.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, Fragment, Comment, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createCommentVNode, renderList, createElementVNode, createBlock, resolveDynamicComponent } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { valueToPx } from "../_shared/utils/fn.js";
|
3
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
5
4
|
import { isNumber, isUndefined } from "../_shared/utils/is.js";
|
6
5
|
import "../_shared/utils/time.js";
|
7
6
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
package/es/Spin/index.vue2.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createVNode, createBlock, renderSlot, unref, withCtx, createCommentVNode, normalizeStyle, normalizeClass, Fragment, renderList, createElementVNode, resolveDynamicComponent, createTextVNode, toDisplayString, Transition } from "vue";
|
2
2
|
import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
|
-
import "../_shared/utils/dom.js";
|
5
|
-
import { valueToPx } from "../_shared/utils/fn.js";
|
4
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
6
5
|
import "../_shared/utils/time.js";
|
7
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
8
7
|
const _hoisted_1 = { class: "yc-spin" };
|
package/es/Split/index.d.ts
CHANGED
@@ -17,8 +17,8 @@ declare const Split: {
|
|
17
17
|
size: number | string;
|
18
18
|
disabled: boolean;
|
19
19
|
component: string;
|
20
|
-
direction: import('..').Direction;
|
21
20
|
max: number;
|
21
|
+
direction: import('..').Direction;
|
22
22
|
min: number;
|
23
23
|
defaultSize: number | string;
|
24
24
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
@@ -40,8 +40,8 @@ declare const Split: {
|
|
40
40
|
size: number | string;
|
41
41
|
disabled: boolean;
|
42
42
|
component: string;
|
43
|
-
direction: import('..').Direction;
|
44
43
|
max: number;
|
44
|
+
direction: import('..').Direction;
|
45
45
|
min: number;
|
46
46
|
defaultSize: number | string;
|
47
47
|
}>;
|
@@ -62,8 +62,8 @@ declare const Split: {
|
|
62
62
|
size: number | string;
|
63
63
|
disabled: boolean;
|
64
64
|
component: string;
|
65
|
-
direction: import('..').Direction;
|
66
65
|
max: number;
|
66
|
+
direction: import('..').Direction;
|
67
67
|
min: number;
|
68
68
|
defaultSize: number | string;
|
69
69
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Split/index.vue.d.ts
CHANGED
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<SplitProps, {}, {},
|
|
23
23
|
size: number | string;
|
24
24
|
disabled: boolean;
|
25
25
|
component: string;
|
26
|
-
direction: import('..').Direction;
|
27
26
|
max: number;
|
27
|
+
direction: import('..').Direction;
|
28
28
|
min: number;
|
29
29
|
defaultSize: number | string;
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
package/es/Split/index.vue2.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, ref, watch, createBlock, openBlock, resolveDynamicComponent, normalizeClass, unref, withCtx, createElementVNode, normalizeStyle, renderSlot, createVNode } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { sleep, valueToPx } from "../_shared/utils/fn.js";
|
3
|
+
import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
5
4
|
import { isNumber } from "../_shared/utils/is.js";
|
6
5
|
import "../_shared/utils/time.js";
|
7
6
|
import "../Empty/index.js";
|
@@ -14,8 +14,8 @@ declare const __VLS_component: import('vue').DefineComponent<CountdownProps, {},
|
|
14
14
|
value: number;
|
15
15
|
start: boolean;
|
16
16
|
title: string;
|
17
|
-
format: string;
|
18
17
|
easeing: string;
|
18
|
+
format: string;
|
19
19
|
valueStyle: import('vue').CSSProperties;
|
20
20
|
now: number;
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, watch, createBlock, openBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { sleep } from "../_shared/utils/fn.js";
|
3
|
+
import { sleep } from "../_shared/utils/dom.js";
|
5
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
5
|
import { formatSeconds } from "../_shared/utils/time.js";
|
7
6
|
import "../Empty/index.js";
|
@@ -19,10 +19,10 @@ declare const __VLS_component: import('vue').DefineComponent<StatisticProps, {},
|
|
19
19
|
title: string;
|
20
20
|
placeholder: string;
|
21
21
|
animation: boolean;
|
22
|
-
format: string;
|
23
22
|
animationDuration: number;
|
24
23
|
easeing: string;
|
25
24
|
extra: string;
|
25
|
+
format: string;
|
26
26
|
precision: number;
|
27
27
|
valueStyle: import('vue').CSSProperties;
|
28
28
|
showGroupSeparator: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Statistic.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Statistic = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Statistic = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1d5de805"]]);
|
5
5
|
export {
|
6
6
|
_Statistic as default
|
7
7
|
};
|
@@ -62,7 +62,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
animation,
|
63
63
|
animationDuration,
|
64
64
|
easeing,
|
65
|
-
isCountdown
|
65
|
+
isCountdown,
|
66
|
+
showGroupSeparator
|
66
67
|
} = toRefs(props);
|
67
68
|
const valueRef = ref();
|
68
69
|
const showValue = computed(() => {
|
@@ -96,9 +97,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
96
97
|
immediate: true
|
97
98
|
}
|
98
99
|
);
|
100
|
+
const formatNumber = (num) => {
|
101
|
+
let parts = num.toString().split(".");
|
102
|
+
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
103
|
+
return parts.join(".");
|
104
|
+
};
|
99
105
|
function getFormatValue(value2) {
|
100
106
|
if (isNumber(value2) && !isCountdown.value) {
|
101
|
-
|
107
|
+
const fixedValue = value2.toFixed(precision.value);
|
108
|
+
return showGroupSeparator.value ? formatNumber(fixedValue) : fixedValue;
|
102
109
|
}
|
103
110
|
if (isCountdown.value) {
|
104
111
|
return formatSeconds(value2, format.value);
|
package/es/Statistic/index.d.ts
CHANGED
@@ -16,10 +16,10 @@ declare const Statistic: {
|
|
16
16
|
title: string;
|
17
17
|
placeholder: string;
|
18
18
|
animation: boolean;
|
19
|
-
format: string;
|
20
19
|
animationDuration: number;
|
21
20
|
easeing: string;
|
22
21
|
extra: string;
|
22
|
+
format: string;
|
23
23
|
precision: number;
|
24
24
|
valueStyle: import('vue').CSSProperties;
|
25
25
|
showGroupSeparator: boolean;
|
@@ -43,10 +43,10 @@ declare const Statistic: {
|
|
43
43
|
title: string;
|
44
44
|
placeholder: string;
|
45
45
|
animation: boolean;
|
46
|
-
format: string;
|
47
46
|
animationDuration: number;
|
48
47
|
easeing: string;
|
49
48
|
extra: string;
|
49
|
+
format: string;
|
50
50
|
precision: number;
|
51
51
|
valueStyle: import('vue').CSSProperties;
|
52
52
|
showGroupSeparator: boolean;
|
@@ -67,10 +67,10 @@ declare const Statistic: {
|
|
67
67
|
title: string;
|
68
68
|
placeholder: string;
|
69
69
|
animation: boolean;
|
70
|
-
format: string;
|
71
70
|
animationDuration: number;
|
72
71
|
easeing: string;
|
73
72
|
extra: string;
|
73
|
+
format: string;
|
74
74
|
precision: number;
|
75
75
|
valueStyle: import('vue').CSSProperties;
|
76
76
|
showGroupSeparator: boolean;
|
@@ -88,8 +88,8 @@ declare const Statistic: {
|
|
88
88
|
value: number;
|
89
89
|
start: boolean;
|
90
90
|
title: string;
|
91
|
-
format: string;
|
92
91
|
easeing: string;
|
92
|
+
format: string;
|
93
93
|
valueStyle: import('vue').CSSProperties;
|
94
94
|
now: number;
|
95
95
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -105,8 +105,8 @@ declare const Statistic: {
|
|
105
105
|
value: number;
|
106
106
|
start: boolean;
|
107
107
|
title: string;
|
108
|
-
format: string;
|
109
108
|
easeing: string;
|
109
|
+
format: string;
|
110
110
|
valueStyle: import('vue').CSSProperties;
|
111
111
|
now: number;
|
112
112
|
}>;
|
@@ -121,8 +121,8 @@ declare const Statistic: {
|
|
121
121
|
value: number;
|
122
122
|
start: boolean;
|
123
123
|
title: string;
|
124
|
-
format: string;
|
125
124
|
easeing: string;
|
125
|
+
format: string;
|
126
126
|
valueStyle: import('vue').CSSProperties;
|
127
127
|
now: number;
|
128
128
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Tabs/Tabs.vue2.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, withCtx, createVNode, normalizeStyle, Fragment, renderList, renderSlot, resolveDynamicComponent, nextTick } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { valueToPx } from "../_shared/utils/fn.js";
|
3
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
5
4
|
import "../_shared/utils/time.js";
|
6
5
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
7
6
|
import "../Empty/index.js";
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { valueToPx } from "../_shared/utils/fn.js";
|
3
|
+
import { valueToPx } from "../_shared/utils/dom.js";
|
5
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
5
|
import "../_shared/utils/time.js";
|
7
6
|
import "../Empty/index.js";
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { ref, computed, watch } from "vue";
|
2
2
|
import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
|
-
import "../../_shared/utils/dom.js";
|
5
|
-
import { sleep } from "../../_shared/utils/fn.js";
|
4
|
+
import { sleep } from "../../_shared/utils/dom.js";
|
6
5
|
import "../../_shared/utils/time.js";
|
7
6
|
import "../../Empty/index.js";
|
8
7
|
/* empty css */
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { computed } from "vue";
|
2
2
|
import { useElementSize } from "../../node_modules/@vueuse/core/index.js";
|
3
3
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
4
|
-
import "../../_shared/utils/dom.js";
|
5
|
-
import { valueToPx } from "../../_shared/utils/fn.js";
|
4
|
+
import { valueToPx } from "../../_shared/utils/dom.js";
|
6
5
|
import "../../_shared/utils/time.js";
|
7
6
|
import "../../Empty/index.js";
|
8
7
|
/* empty css */
|
@@ -79,16 +79,16 @@ declare const __VLS_component: import('vue').DefineComponent<TimePickerProps, {}
|
|
79
79
|
error: boolean;
|
80
80
|
type: import('./type').TimePickerType;
|
81
81
|
placeholder: string | string[];
|
82
|
+
modelValue: import('./type').TimePickerValue;
|
83
|
+
defaultValue: import('./type').TimePickerValue;
|
84
|
+
allowClear: boolean;
|
85
|
+
readonly: boolean;
|
82
86
|
triggerProps: import('../Trigger').TriggerProps;
|
83
87
|
format: string;
|
88
|
+
hideDisabledOptions: boolean;
|
84
89
|
disabledHours: import('./type').DisabledHours;
|
85
90
|
disabledMinutes: import('./type').DisabledMinutes;
|
86
91
|
disabledSeconds: import('./type').DisabledSeconds;
|
87
|
-
hideDisabledOptions: boolean;
|
88
|
-
modelValue: import('./type').TimePickerValue;
|
89
|
-
defaultValue: import('./type').TimePickerValue;
|
90
|
-
allowClear: boolean;
|
91
|
-
readonly: boolean;
|
92
92
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
93
93
|
panelRef: ({
|
94
94
|
$: import('vue').ComponentInternalInstance;
|
@@ -2,8 +2,7 @@ import { defineComponent, ref, computed, createElementBlock, openBlock, createEl
|
|
2
2
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import dayjs from "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../_shared/utils/dom.js";
|
6
|
-
import { sleep } from "../_shared/utils/fn.js";
|
5
|
+
import { sleep } from "../_shared/utils/dom.js";
|
7
6
|
import { isUndefined, isArray } from "../_shared/utils/is.js";
|
8
7
|
import "../_shared/utils/time.js";
|
9
8
|
import "../Empty/index.js";
|