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/Menu/MenuItem.vue2.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import { defineComponent, toRefs, useAttrs, computed, ref, onMounted, createElementBlock, createCommentVNode, unref, openBlock, normalizeClass, createVNode, createBlock, withCtx, createElementVNode, withDirectives, normalizeStyle, renderSlot, vShow, Fragment, renderList, resolveDynamicComponent } 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 { isUndefined } from "../_shared/utils/is.js";
|
7
6
|
import "../_shared/utils/time.js";
|
8
7
|
import "../Empty/index.js";
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle, 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 */
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { toRefs, computed, useSlots, ref, provide, inject, isVNode } from "vue";
|
2
2
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../../_shared/utils/dom.js";
|
4
|
-
import { throttle, valueToPx } from "../../_shared/utils/fn.js";
|
3
|
+
import { throttle, valueToPx } from "../../_shared/utils/dom.js";
|
5
4
|
import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
|
6
5
|
import "../../_shared/utils/time.js";
|
7
6
|
import "../../Empty/index.js";
|
@@ -4,9 +4,9 @@ declare const _default: import('vue').DefineComponent<MessageProps, {}, {}, {},
|
|
4
4
|
content: import('../_shared/type').RenderContent;
|
5
5
|
icon: import('vue').RenderFunction;
|
6
6
|
type: import('./type').MessageType;
|
7
|
-
id: string;
|
8
|
-
onClose: (id: string | number) => void;
|
9
7
|
closable: boolean;
|
8
|
+
onClose: (id: string | number) => void;
|
9
|
+
id: string;
|
10
10
|
showIcon: boolean;
|
11
11
|
isReset: boolean;
|
12
12
|
onDestory: (id: string | number) => void;
|
package/es/Message/index.d.ts
CHANGED
@@ -9,9 +9,9 @@ declare const Message: {
|
|
9
9
|
content: import('../_shared/type').RenderContent;
|
10
10
|
icon: import('vue').RenderFunction;
|
11
11
|
type: MessageType;
|
12
|
-
id: string;
|
13
|
-
onClose: (id: string | number) => void;
|
14
12
|
closable: boolean;
|
13
|
+
onClose: (id: string | number) => void;
|
14
|
+
id: string;
|
15
15
|
showIcon: boolean;
|
16
16
|
isReset: boolean;
|
17
17
|
onDestory: (id: string | number) => void;
|
@@ -28,9 +28,9 @@ declare const Message: {
|
|
28
28
|
content: import('../_shared/type').RenderContent;
|
29
29
|
icon: import('vue').RenderFunction;
|
30
30
|
type: MessageType;
|
31
|
-
id: string;
|
32
|
-
onClose: (id: string | number) => void;
|
33
31
|
closable: boolean;
|
32
|
+
onClose: (id: string | number) => void;
|
33
|
+
id: string;
|
34
34
|
showIcon: boolean;
|
35
35
|
isReset: boolean;
|
36
36
|
onDestory: (id: string | number) => void;
|
@@ -44,9 +44,9 @@ declare const Message: {
|
|
44
44
|
content: import('../_shared/type').RenderContent;
|
45
45
|
icon: import('vue').RenderFunction;
|
46
46
|
type: MessageType;
|
47
|
-
id: string;
|
48
|
-
onClose: (id: string | number) => void;
|
49
47
|
closable: boolean;
|
48
|
+
onClose: (id: string | number) => void;
|
49
|
+
id: string;
|
50
50
|
showIcon: boolean;
|
51
51
|
isReset: boolean;
|
52
52
|
onDestory: (id: string | number) => void;
|
package/es/Modal/Modal.vue2.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Teleport, unref, withDirectives, createCommentVNode, createElementBlock, normalizeStyle, normalizeClass, createVNode, createElementVNode, Transition, withCtx, vShow, withModifiers, renderSlot, createTextVNode, toDisplayString, mergeProps } 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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
6
|
import useModalClose from "./hooks/useModalClose.js";
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { ref, computed, watch } 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, sleep } from "../../_shared/utils/fn.js";
|
4
|
+
import { valueToPx, sleep } from "../../_shared/utils/dom.js";
|
6
5
|
import "../../_shared/utils/time.js";
|
7
6
|
import "../../Empty/index.js";
|
8
7
|
/* empty css */
|
@@ -8,9 +8,9 @@ declare const _default: import('vue').DefineComponent<NotificationProps, {}, {},
|
|
8
8
|
footer: import('vue').RenderFunction;
|
9
9
|
title: import('../_shared/type').RenderContent;
|
10
10
|
class: import('../_shared/type').ClassName;
|
11
|
-
id: string;
|
12
|
-
onClose: (id: string | number) => void;
|
13
11
|
closable: boolean;
|
12
|
+
onClose: (id: string | number) => void;
|
13
|
+
id: string;
|
14
14
|
showIcon: boolean;
|
15
15
|
isReset: boolean;
|
16
16
|
closeIcon: import('vue').RenderFunction;
|
@@ -13,9 +13,9 @@ declare const Notification: {
|
|
13
13
|
footer: import('vue').RenderFunction;
|
14
14
|
title: import('../_shared/type').RenderContent;
|
15
15
|
class: import('../_shared/type').ClassName;
|
16
|
-
id: string;
|
17
|
-
onClose: (id: string | number) => void;
|
18
16
|
closable: boolean;
|
17
|
+
onClose: (id: string | number) => void;
|
18
|
+
id: string;
|
19
19
|
showIcon: boolean;
|
20
20
|
isReset: boolean;
|
21
21
|
closeIcon: import('vue').RenderFunction;
|
@@ -36,9 +36,9 @@ declare const Notification: {
|
|
36
36
|
footer: import('vue').RenderFunction;
|
37
37
|
title: import('../_shared/type').RenderContent;
|
38
38
|
class: import('../_shared/type').ClassName;
|
39
|
-
id: string;
|
40
|
-
onClose: (id: string | number) => void;
|
41
39
|
closable: boolean;
|
40
|
+
onClose: (id: string | number) => void;
|
41
|
+
id: string;
|
42
42
|
showIcon: boolean;
|
43
43
|
isReset: boolean;
|
44
44
|
closeIcon: import('vue').RenderFunction;
|
@@ -56,9 +56,9 @@ declare const Notification: {
|
|
56
56
|
footer: import('vue').RenderFunction;
|
57
57
|
title: import('../_shared/type').RenderContent;
|
58
58
|
class: import('../_shared/type').ClassName;
|
59
|
-
id: string;
|
60
|
-
onClose: (id: string | number) => void;
|
61
59
|
closable: boolean;
|
60
|
+
onClose: (id: string | number) => void;
|
61
|
+
id: string;
|
62
62
|
showIcon: boolean;
|
63
63
|
isReset: boolean;
|
64
64
|
closeIcon: import('vue').RenderFunction;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { throttle, sleep, valueToPx } from "../_shared/utils/fn.js";
|
3
|
+
import { throttle, sleep, 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, ref, watch, createElementBlock, createCommentVNode, unref, openBlock, normalizeClass, createElementVNode, renderSlot, createTextVNode, toDisplayString, createVNode, createBlock, withCtx, Fragment, renderList, isRef, mergeProps } 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 { isNumber } from "../_shared/utils/is.js";
|
6
5
|
import "../_shared/utils/time.js";
|
7
6
|
import "../Empty/index.js";
|
@@ -1,13 +1,12 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, Fragment, renderList, renderSlot, createTextVNode, toDisplayString } 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 { isObject } from "../_shared/utils/is.js";
|
6
5
|
import "../_shared/utils/time.js";
|
7
6
|
import "../Empty/index.js";
|
8
7
|
/* empty css */
|
9
8
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
10
|
-
import _sfc_main$2 from "../_shared/icons/IconExclamation.
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconExclamation.vue.js";
|
11
10
|
import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
|
12
11
|
const _hoisted_1 = ["aria-valuenow"];
|
13
12
|
const _hoisted_2 = ["viewBox"];
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, unref, createElementVNode, createCommentVNode, normalizeStyle, renderSlot, createBlock, toDisplayString, resolveDynamicComponent } from "vue";
|
2
2
|
import { TYPE_ICON_MAP, TYPE_ICON_COLOR_MAP } from "../_shared/constants/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 { isObject } from "../_shared/utils/is.js";
|
7
6
|
import "../_shared/utils/time.js";
|
8
7
|
import "../Empty/index.js";
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, createElementBlock, openBlock, unref, createElementVNode, createCommentVNode, normalizeStyle, Fragment, renderList, normalizeClass, renderSlot, createTextVNode, createBlock, toDisplayString, resolveDynamicComponent } from "vue";
|
2
2
|
import { TYPE_ICON_MAP, TYPE_ICON_COLOR_MAP } from "../_shared/constants/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 */
|
@@ -16,10 +16,10 @@ declare const __VLS_component: import('vue').DefineComponent<RadioGroupProps, {}
|
|
16
16
|
size: import('..').Size;
|
17
17
|
disabled: boolean;
|
18
18
|
type: import('./type').RadioType;
|
19
|
-
direction: import('..').Direction;
|
20
19
|
modelValue: import('./type').RadioValue;
|
21
20
|
defaultValue: import('./type').RadioValue;
|
22
21
|
options: import('./type').RadioOption[];
|
22
|
+
direction: import('..').Direction;
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
25
25
|
export default _default;
|
package/es/Radio/index.d.ts
CHANGED
@@ -63,10 +63,10 @@ declare const Radio: {
|
|
63
63
|
size: import('..').Size;
|
64
64
|
disabled: boolean;
|
65
65
|
type: import('./type').RadioType;
|
66
|
-
direction: import('..').Direction;
|
67
66
|
modelValue: import('./type').RadioValue;
|
68
67
|
defaultValue: import('./type').RadioValue;
|
69
68
|
options: import('./type').RadioOption[];
|
69
|
+
direction: import('..').Direction;
|
70
70
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
71
71
|
P: {};
|
72
72
|
B: {};
|
@@ -81,10 +81,10 @@ declare const Radio: {
|
|
81
81
|
size: import('..').Size;
|
82
82
|
disabled: boolean;
|
83
83
|
type: import('./type').RadioType;
|
84
|
-
direction: import('..').Direction;
|
85
84
|
modelValue: import('./type').RadioValue;
|
86
85
|
defaultValue: import('./type').RadioValue;
|
87
86
|
options: import('./type').RadioOption[];
|
87
|
+
direction: import('..').Direction;
|
88
88
|
}>;
|
89
89
|
__isFragment?: never;
|
90
90
|
__isTeleport?: never;
|
@@ -99,10 +99,10 @@ declare const Radio: {
|
|
99
99
|
size: import('..').Size;
|
100
100
|
disabled: boolean;
|
101
101
|
type: import('./type').RadioType;
|
102
|
-
direction: import('..').Direction;
|
103
102
|
modelValue: import('./type').RadioValue;
|
104
103
|
defaultValue: import('./type').RadioValue;
|
105
104
|
options: import('./type').RadioOption[];
|
105
|
+
direction: import('..').Direction;
|
106
106
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
107
107
|
$slots: Readonly<import('./type').RadioGroupSlots> & import('./type').RadioGroupSlots;
|
108
108
|
});
|
package/es/Rate/index.vue2.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createCommentVNode, createElementVNode, withModifiers, normalizeStyle, renderSlot, createBlock } 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 { isObject } 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 { defineComponent, useSlots, toRefs, reactive, ref, createBlock, openBlock, resolveDynamicComponent, withCtx, renderSlot, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, unref } from "vue";
|
2
2
|
import { useEventListener, 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 { 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
|
import useControlValue from "../_shared/utils/control.js";
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { defineComponent, toRefs, computed, ref, watchEffect, createElementBlock, openBlock, withModifiers, normalizeClass, unref, createElementVNode, normalizeStyle } from "vue";
|
2
2
|
import { useResizeObserver, 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 */
|
@@ -268,10 +268,10 @@ declare function __VLS_template(): {
|
|
268
268
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
269
269
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
270
270
|
readonly onInput?: ((value: string) => any) | undefined;
|
271
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
272
271
|
readonly "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
273
272
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
274
273
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
274
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
275
275
|
readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
276
276
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
277
277
|
$attrs: {
|
@@ -289,17 +289,17 @@ declare function __VLS_template(): {
|
|
289
289
|
$root: import('vue').ComponentPublicInstance | null;
|
290
290
|
$parent: import('vue').ComponentPublicInstance | null;
|
291
291
|
$host: Element | null;
|
292
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "
|
292
|
+
$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: 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);
|
293
293
|
$el: HTMLDivElement;
|
294
294
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
295
295
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
296
296
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
297
297
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
298
298
|
onInput?: ((value: string) => any) | undefined;
|
299
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
300
299
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
301
300
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
302
301
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
302
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
303
303
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
304
304
|
}>, {
|
305
305
|
focus(): void;
|
@@ -309,10 +309,10 @@ declare function __VLS_template(): {
|
|
309
309
|
clear: (ev: MouseEvent) => any;
|
310
310
|
blur: (ev: FocusEvent) => any;
|
311
311
|
input: (value: string) => any;
|
312
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
313
312
|
"update:modelValue": (value: InputTagValue) => any;
|
314
313
|
"update:inputValue": (value: string) => any;
|
315
314
|
"input-value-change": (value: string, ev: Event) => any;
|
315
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
316
316
|
"press-enter": (ev: KeyboardEvent) => any;
|
317
317
|
}, string, {
|
318
318
|
size: import('..').Size;
|
@@ -373,10 +373,10 @@ declare function __VLS_template(): {
|
|
373
373
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
374
374
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
375
375
|
onInput?: ((value: string) => any) | undefined;
|
376
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
377
376
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
378
377
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
379
378
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
379
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
380
380
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
381
381
|
}>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
382
382
|
focus(): void;
|
@@ -399,10 +399,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
399
399
|
clear: () => any;
|
400
400
|
select: (value: import('./type').SelectValue) => any;
|
401
401
|
search: (value: string) => any;
|
402
|
-
remove: (index: string | number, ev: Event) => any;
|
403
402
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
404
403
|
"update:inputValue": (value: import('./type').SelectValue) => any;
|
405
404
|
"input-value-change": (value: string) => any;
|
405
|
+
remove: (index: string | number, ev: Event) => any;
|
406
406
|
exceedLimit: (value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any;
|
407
407
|
"dropdown-scroll": (ev: Event) => any;
|
408
408
|
"dropdown-reach-bottom": (ev: Event) => any;
|
@@ -413,10 +413,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
413
413
|
onClear?: (() => any) | undefined;
|
414
414
|
onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
|
415
415
|
onSearch?: ((value: string) => any) | undefined;
|
416
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
417
416
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
418
417
|
"onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
419
418
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
419
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
420
420
|
onExceedLimit?: ((value: import('./type').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
421
421
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
422
422
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -431,7 +431,6 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
431
431
|
scrollbar: boolean;
|
432
432
|
multiple: boolean;
|
433
433
|
placeholder: string;
|
434
|
-
triggerProps: import('../Trigger').TriggerProps;
|
435
434
|
bordered: boolean;
|
436
435
|
modelValue: import('./type').SelectValue;
|
437
436
|
defaultValue: import('./type').SelectValue;
|
@@ -447,9 +446,9 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
447
446
|
showEmpty: boolean;
|
448
447
|
allowCreate: boolean;
|
449
448
|
maxTagCount: number;
|
450
|
-
defaultActivefirstOption: boolean;
|
451
449
|
filterOption: import('./type').FilterOption;
|
452
450
|
virtualListProps: import('./type').VirtualListProps;
|
451
|
+
triggerProps: import('../Trigger').TriggerProps;
|
453
452
|
searchDelay: number;
|
454
453
|
showHeaderOnEmpty: boolean;
|
455
454
|
showFooterOnEmpty: boolean;
|
@@ -718,10 +717,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
718
717
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
719
718
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
720
719
|
readonly onInput?: ((value: string) => any) | undefined;
|
721
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
722
720
|
readonly "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
723
721
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
724
722
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
723
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
725
724
|
readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
726
725
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
727
726
|
$attrs: {
|
@@ -739,17 +738,17 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
739
738
|
$root: import('vue').ComponentPublicInstance | null;
|
740
739
|
$parent: import('vue').ComponentPublicInstance | null;
|
741
740
|
$host: Element | null;
|
742
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "
|
741
|
+
$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: 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);
|
743
742
|
$el: HTMLDivElement;
|
744
743
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
745
744
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
746
745
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
747
746
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
748
747
|
onInput?: ((value: string) => any) | undefined;
|
749
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
750
748
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
751
749
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
752
750
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
751
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
753
752
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
754
753
|
}>, {
|
755
754
|
focus(): void;
|
@@ -759,10 +758,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
759
758
|
clear: (ev: MouseEvent) => any;
|
760
759
|
blur: (ev: FocusEvent) => any;
|
761
760
|
input: (value: string) => any;
|
762
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
763
761
|
"update:modelValue": (value: InputTagValue) => any;
|
764
762
|
"update:inputValue": (value: string) => any;
|
765
763
|
"input-value-change": (value: string, ev: Event) => any;
|
764
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
766
765
|
"press-enter": (ev: KeyboardEvent) => any;
|
767
766
|
}, string, {
|
768
767
|
size: import('..').Size;
|
@@ -823,10 +822,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
823
822
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
824
823
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
825
824
|
onInput?: ((value: string) => any) | undefined;
|
826
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
827
825
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
828
826
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
829
827
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
828
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
830
829
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
831
830
|
}>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
832
831
|
focus(): void;
|
package/es/Select/Select.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Select.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Select = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Select = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b2e88e73"]]);
|
5
5
|
export {
|
6
6
|
_Select as default
|
7
7
|
};
|
package/es/Select/Select.vue2.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, createElementVNode, normalizeStyle, normalizeClass, renderSlot, createVNode, toDisplayString, createCommentVNode } 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 "../_shared/utils/time.js";
|
7
6
|
import "../Empty/index.js";
|
@@ -38,7 +37,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
38
37
|
maxTagCount: { default: 0 },
|
39
38
|
popupContainer: { default: void 0 },
|
40
39
|
bordered: { type: Boolean, default: true },
|
41
|
-
defaultActivefirstOption: { type: Boolean, default: false },
|
42
40
|
popupVisible: { type: Boolean, default: void 0 },
|
43
41
|
defaultPopupVisible: { type: Boolean, default: false },
|
44
42
|
unmountonClose: { type: Boolean },
|