yc-design-vue 1.9.9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Alert/index.vue.js +2 -2
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +34 -34
- package/es/AutoComplete/type.d.ts +2 -2
- package/es/Avatar/Avatar.vue.js +1 -1
- package/es/BackTop/index.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/es/Button/index.css +1 -1
- package/es/Calendar/Calendar.vue.js +2 -2
- package/es/Carousel/CarouselArrow.vue.js +1 -1
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +1 -1
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Drawer/Drawer.vue.js +2 -2
- package/es/Dropdown/DropdownButton.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Empty/index.vue.js +1 -1
- package/es/Image/Image.vue.js +1 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +1 -1
- package/es/Image/ImagePreviewToolbar.vue.js +7 -7
- package/es/Input/Input.vue.js +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/InputNumber/InputOperaBtn.vue.js +1 -1
- package/es/InputTag/index.vue.js +2 -2
- package/es/Layout/LayoutSider.vue.js +1 -1
- package/es/Layout/index.css +1 -1
- package/es/Link/index.vue.js +1 -1
- package/es/Mention/index.d.ts +27 -27
- package/es/Mention/index.vue.d.ts +70 -70
- package/es/Mention/type.d.ts +3 -3
- package/es/Menu/Menu.vue.js +1 -1
- package/es/Menu/MenuEllipsis.vue.js +1 -1
- package/es/Menu/SubMenu.vue.js +1 -1
- package/es/Message/Message.vue.js +2 -2
- package/es/Modal/Modal.vue.js +2 -2
- package/es/Notification/Notification.vue.js +2 -2
- package/es/PageHeader/index.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +1 -1
- package/es/Progress/ProgressCircle.vue.js +1 -1
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Rate/index.vue.js +1 -1
- package/es/ResizeBox/index.vue.js +45 -33
- package/es/Select/Option.vue.d.ts +1 -1
- package/es/Select/Option.vue.js +1 -1
- package/es/Select/Select.vue.d.ts +14 -14
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/hooks/useContext.d.ts +7 -7
- package/es/Select/hooks/useSelectOptions.d.ts +8 -8
- package/es/Select/index.d.ts +21 -21
- package/es/Select/type.d.ts +9 -8
- package/es/Spin/index.vue.js +1 -1
- package/es/Split/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +1 -1
- package/es/Tabs/TabButton.vue.js +2 -2
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tag/index.vue.js +2 -2
- package/es/Textarea/index.vue.js +2 -2
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/Transfer/Transfer.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Trigger/index.vue.js +1 -1
- package/es/Typography/TypographyBase.vue.d.ts +0 -4
- package/es/Typography/TypographyBase.vue.js +4 -4
- package/es/Typography/type.d.ts +0 -5
- package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.d.ts +2 -2
- package/es/_shared/constants/index.js +1 -1
- package/es/_shared/icons/IconArrowDown.vue.js +1 -1
- package/es/_shared/icons/IconArrowRight.vue.js +1 -1
- package/es/_shared/icons/IconCheck.vue.js +1 -1
- package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/es/_shared/icons/IconClose.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +1 -23
- package/es/_shared/icons/IconCopy.vue2.js +23 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +1 -23
- package/es/_shared/icons/IconEdit.vue2.js +23 -1
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -1
- package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/es/_shared/icons/IconFullScreen.vue.js +1 -23
- package/es/_shared/icons/IconFullScreen.vue2.js +23 -1
- package/es/_shared/icons/IconImageClose.vue.js +1 -1
- package/es/_shared/icons/IconInfo.vue.js +1 -1
- package/es/_shared/icons/IconInfoLine.vue.js +1 -1
- package/es/_shared/icons/IconLink.vue.js +1 -1
- package/es/_shared/icons/IconLoading.vue.js +1 -1
- package/es/_shared/icons/IconMenuFold.vue.js +1 -1
- package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/es/_shared/icons/IconMinus.vue2.js +1 -1
- package/es/_shared/icons/IconMore.vue.js +1 -1
- package/es/_shared/icons/IconOriginSize.vue.js +1 -29
- package/es/_shared/icons/IconOriginSize.vue2.js +29 -1
- package/es/_shared/icons/IconPlus.vue.js +1 -1
- package/es/_shared/icons/IconRight.vue.js +1 -1
- package/es/_shared/icons/IconRotateLeft.vue.js +1 -23
- package/es/_shared/icons/IconRotateLeft.vue2.js +23 -1
- package/es/_shared/icons/IconRotateRight.vue.js +1 -23
- package/es/_shared/icons/IconRotateRight.vue2.js +23 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -1
- package/es/_shared/icons/IconStar.vue.js +1 -1
- package/es/_shared/icons/IconSuccess.vue.js +1 -1
- package/es/_shared/icons/IconTime.vue.js +1 -1
- package/es/_shared/icons/IconToTop.vue.js +1 -1
- package/es/_shared/icons/IconWarning.vue.js +1 -1
- package/es/_shared/icons/IconZoomIn.vue.js +1 -23
- package/es/_shared/icons/IconZoomIn.vue2.js +23 -1
- package/es/_shared/icons/IconZoomOut.vue.js +1 -23
- package/es/_shared/icons/IconZoomOut.vue2.js +23 -1
- package/es/index.d.ts +3 -3
- package/es/style.css +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +34 -34
- package/lib/AutoComplete/type.d.ts +2 -2
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/index.css +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/index.css +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/Mention/index.d.ts +27 -27
- package/lib/Mention/index.vue.d.ts +70 -70
- package/lib/Mention/type.d.ts +3 -3
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Select/Option.vue.d.ts +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +14 -14
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +7 -7
- package/lib/Select/hooks/useSelectOptions.d.ts +8 -8
- package/lib/Select/index.d.ts +21 -21
- package/lib/Select/type.d.ts +9 -8
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +0 -4
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/type.d.ts +0 -5
- package/lib/_shared/components/IconButton/index.vue.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- package/lib/_shared/constants/index.d.ts +2 -2
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.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/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.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/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.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.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.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/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/_shared/components/IconButton/index.vue2.js +0 -1
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent, useSlots, toRefs, reactive, ref, createBlock, openBlock, resolveDynamicComponent, withCtx, renderSlot, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode
|
1
|
+
import { defineComponent, useSlots, toRefs, reactive, ref, watch, nextTick, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, unref, withCtx, renderSlot, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode } from "vue";
|
2
2
|
import { useEventListener, useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
@@ -27,11 +27,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
useSlots();
|
28
28
|
const props = __props;
|
29
29
|
const emits = __emit;
|
30
|
-
const { width, height } = toRefs(props);
|
31
|
-
const computedWidth = useControlValue(
|
30
|
+
const { width: _width, height: _height } = toRefs(props);
|
31
|
+
const computedWidth = useControlValue(_width, 0, (val) => {
|
32
32
|
emits("update:width", val);
|
33
33
|
});
|
34
|
-
const computedHeight = useControlValue(
|
34
|
+
const computedHeight = useControlValue(_height, 0, (val) => {
|
35
35
|
emits("update:height", val);
|
36
36
|
});
|
37
37
|
const triggeDoms = reactive([]);
|
@@ -43,18 +43,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
43
43
|
});
|
44
44
|
const boxRef = ref();
|
45
45
|
const dragDirection = ref(null);
|
46
|
-
|
47
|
-
|
46
|
+
let x = 0;
|
47
|
+
let y = 0;
|
48
48
|
let cursor;
|
49
|
-
const handleMovingStart = (dir, e) => {
|
49
|
+
const handleMovingStart = async (dir, e) => {
|
50
50
|
e.preventDefault();
|
51
51
|
dragDirection.value = dir;
|
52
|
-
const { width
|
52
|
+
const { width, height } = boxRef.value.getBoundingClientRect();
|
53
|
+
computedWidth.value = width;
|
54
|
+
computedHeight.value = height;
|
53
55
|
const { clientX, clientY } = e;
|
54
|
-
|
55
|
-
|
56
|
-
x.value = clientX;
|
57
|
-
y.value = clientY;
|
56
|
+
x = clientX;
|
57
|
+
y = clientY;
|
58
58
|
cursor = getComputedStyle(document.body).cursor;
|
59
59
|
document.body.style.cursor = ["left", "right"].includes(dir) ? "col-resize" : "row-resize";
|
60
60
|
emits("moving-start", e);
|
@@ -64,33 +64,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
64
|
return;
|
65
65
|
}
|
66
66
|
const { clientX, clientY } = e;
|
67
|
-
const movementX = dragDirection.value == "left" ? x
|
68
|
-
const movementY = dragDirection.value == "top" ? y
|
69
|
-
|
70
|
-
|
71
|
-
x.value = clientX;
|
72
|
-
y.value = clientY;
|
67
|
+
const movementX = dragDirection.value == "left" ? x - clientX : clientX - x;
|
68
|
+
const movementY = dragDirection.value == "top" ? y - clientY : clientY - y;
|
69
|
+
x = clientX;
|
70
|
+
y = clientY;
|
73
71
|
if (["left", "right"].includes(dragDirection.value)) {
|
74
72
|
computedWidth.value += movementX;
|
75
|
-
|
76
|
-
boxRef.value.style.width = valueToPx(computedWidth.value);
|
73
|
+
boxRef.value.style.width = `${valueToPx(computedWidth.value)}`;
|
77
74
|
} else {
|
78
75
|
computedHeight.value += movementY;
|
79
|
-
|
80
|
-
boxRef.value.style.height = valueToPx(computedHeight.value);
|
76
|
+
boxRef.value.style.height = `${valueToPx(computedHeight.value)}`;
|
81
77
|
}
|
82
|
-
const { width
|
83
|
-
if (computedWidth.value
|
84
|
-
computedWidth.value =
|
78
|
+
const { width, height } = boxRef.value.getBoundingClientRect();
|
79
|
+
if (width != computedWidth.value) {
|
80
|
+
computedWidth.value = width;
|
85
81
|
}
|
86
|
-
if (
|
87
|
-
computedHeight.value =
|
82
|
+
if (height != computedHeight.value) {
|
83
|
+
computedHeight.value = width;
|
88
84
|
}
|
89
85
|
emits(
|
90
86
|
"moving",
|
91
87
|
{
|
92
|
-
width
|
93
|
-
height
|
88
|
+
width,
|
89
|
+
height
|
94
90
|
},
|
95
91
|
e
|
96
92
|
);
|
@@ -111,17 +107,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
111
107
|
entries.forEach((item) => {
|
112
108
|
const direction = item.target.getAttribute("dir");
|
113
109
|
const {
|
114
|
-
contentRect: { width
|
110
|
+
contentRect: { width, height }
|
115
111
|
} = item;
|
116
|
-
triggerSize[direction] = ["right", "left"].includes(direction) ?
|
112
|
+
triggerSize[direction] = ["right", "left"].includes(direction) ? width : height;
|
117
113
|
});
|
118
114
|
},
|
119
115
|
{
|
120
116
|
box: "border-box"
|
121
117
|
}
|
122
118
|
);
|
119
|
+
watch(
|
120
|
+
[computedWidth, computedHeight],
|
121
|
+
async () => {
|
122
|
+
if (dragDirection.value) return;
|
123
|
+
await nextTick();
|
124
|
+
boxRef.value.style.width = `${valueToPx(computedWidth.value)}`;
|
125
|
+
boxRef.value.style.height = `${valueToPx(computedHeight.value)}`;
|
126
|
+
},
|
127
|
+
{
|
128
|
+
immediate: true
|
129
|
+
}
|
130
|
+
);
|
123
131
|
return (_ctx, _cache) => {
|
124
132
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.component), {
|
133
|
+
style: normalizeStyle({
|
134
|
+
minWidth: unref(valueToPx)(triggerSize.left + triggerSize.right),
|
135
|
+
minHeight: unref(valueToPx)(triggerSize.top + triggerSize.bottom)
|
136
|
+
}),
|
125
137
|
class: "yc-resizebox",
|
126
138
|
ref_key: "boxRef",
|
127
139
|
ref: boxRef
|
@@ -154,7 +166,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
154
166
|
}), 128))
|
155
167
|
]),
|
156
168
|
_: 3
|
157
|
-
},
|
169
|
+
}, 8, ["style"]);
|
158
170
|
};
|
159
171
|
}
|
160
172
|
});
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<OptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OptionProps> & Readonly<{}>, {
|
12
12
|
disabled: boolean;
|
13
|
-
value: import('./type').
|
13
|
+
value: import('./type').OptionValue;
|
14
14
|
label: string;
|
15
15
|
isFallbackOption: boolean;
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
package/es/Select/Option.vue.js
CHANGED
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
21
|
__name: "Option",
|
22
22
|
props: {
|
23
23
|
label: { default: "" },
|
24
|
-
value: { type: [String, Number, Boolean, Object
|
24
|
+
value: { type: [String, Number, Boolean, Object], default: "" },
|
25
25
|
disabled: { type: Boolean, default: false },
|
26
26
|
tagProps: {},
|
27
27
|
id: {},
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SelectProps, SelectSlots,
|
1
|
+
import { SelectProps, SelectSlots, OptionValue } from './type';
|
2
2
|
import { InputTagValue } from '../InputTag';
|
3
3
|
import { TriggerInstance } from '../Trigger';
|
4
4
|
declare function __VLS_template(): {
|
@@ -393,31 +393,31 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
393
393
|
blur(): void;
|
394
394
|
getPopupRef(): TriggerInstance;
|
395
395
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
396
|
-
change: (value: SelectValue) => any;
|
396
|
+
change: (value: import('./type').SelectValue) => any;
|
397
397
|
"update:popupVisible": (value: boolean) => any;
|
398
398
|
"popup-visible-change": (value: boolean) => any;
|
399
399
|
clear: () => any;
|
400
|
-
select: (value:
|
400
|
+
select: (value: OptionValue) => any;
|
401
401
|
search: (value: string) => any;
|
402
|
-
"update:modelValue": (value: SelectValue) => any;
|
403
|
-
"update:inputValue": (value:
|
402
|
+
"update:modelValue": (value: import('./type').SelectValue) => any;
|
403
|
+
"update:inputValue": (value: string) => any;
|
404
404
|
"input-value-change": (value: string) => any;
|
405
405
|
remove: (index: string | number, ev: Event) => any;
|
406
|
-
exceedLimit: (value:
|
406
|
+
exceedLimit: (value: OptionValue, ev?: MouseEvent | undefined) => any;
|
407
407
|
"dropdown-scroll": (ev: Event) => any;
|
408
408
|
"dropdown-reach-bottom": (ev: Event) => any;
|
409
409
|
}, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
|
410
|
-
onChange?: ((value: SelectValue) => any) | undefined;
|
410
|
+
onChange?: ((value: import('./type').SelectValue) => any) | undefined;
|
411
411
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
412
412
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
413
413
|
onClear?: (() => any) | undefined;
|
414
|
-
onSelect?: ((value:
|
414
|
+
onSelect?: ((value: OptionValue) => any) | undefined;
|
415
415
|
onSearch?: ((value: string) => any) | undefined;
|
416
|
-
"onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
417
|
-
"onUpdate:inputValue"?: ((value:
|
416
|
+
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
417
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
418
418
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
419
419
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
420
|
-
onExceedLimit?: ((value:
|
420
|
+
onExceedLimit?: ((value: OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
421
421
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
422
422
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
423
423
|
}>, {
|
@@ -432,11 +432,11 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
432
432
|
placeholder: string;
|
433
433
|
loading: boolean;
|
434
434
|
bordered: boolean;
|
435
|
-
modelValue: SelectValue;
|
436
|
-
defaultValue: SelectValue;
|
435
|
+
modelValue: import('./type').SelectValue;
|
436
|
+
defaultValue: import('./type').SelectValue;
|
437
437
|
allowClear: boolean;
|
438
438
|
showExtraOptions: boolean;
|
439
|
-
options: import('./type').
|
439
|
+
options: import('./type').SelectOption[];
|
440
440
|
limit: number;
|
441
441
|
inputValue: string;
|
442
442
|
defaultInputValue: string;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
5
|
+
/* empty css */
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import "../_shared/utils/time.js";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { Ref, Slots } from 'vue';
|
2
|
-
import { SelectValue, SelectOptionData, SelectEmits } from '../type';
|
2
|
+
import { SelectValue, SelectOptionData, SelectEmits, OptionValue } from '../type';
|
3
3
|
import { InputInstance } from '../../Input';
|
4
4
|
import { ObjectData, Props } from '../../_shared/type';
|
5
5
|
type SelectContext = {
|
6
|
-
computedValue: Ref<SelectValue |
|
6
|
+
computedValue: Ref<SelectValue | undefined>;
|
7
7
|
computedInputValue: Ref<string>;
|
8
8
|
multiple: Ref<boolean>;
|
9
9
|
limit: Ref<number>;
|
@@ -15,7 +15,7 @@ type SelectContext = {
|
|
15
15
|
slots: Slots;
|
16
16
|
blur: () => void;
|
17
17
|
filterOption: (option: SelectOptionData) => boolean;
|
18
|
-
getValue: (value:
|
18
|
+
getValue: (value: OptionValue | ObjectData) => OptionValue;
|
19
19
|
collectOption: (props: Props, optionLabel: Ref<string>) => void;
|
20
20
|
emits: SelectEmits;
|
21
21
|
};
|
@@ -26,9 +26,9 @@ declare const _default: () => {
|
|
26
26
|
computedInputValue: import('vue').WritableComputedRef<string, string>;
|
27
27
|
selectOptions: import('vue').ComputedRef<{
|
28
28
|
id: string;
|
29
|
-
label:
|
29
|
+
label: OptionValue | undefined;
|
30
30
|
render?: import('../../_shared/type').RenderContent;
|
31
|
-
value?:
|
31
|
+
value?: OptionValue;
|
32
32
|
disabled?: boolean;
|
33
33
|
tagProps?: import('../..').TagProps;
|
34
34
|
isFallbackOption?: boolean;
|
@@ -36,7 +36,7 @@ declare const _default: () => {
|
|
36
36
|
createOptions: Ref<{
|
37
37
|
render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
|
38
38
|
label?: string | undefined;
|
39
|
-
value?:
|
39
|
+
value?: OptionValue | undefined;
|
40
40
|
disabled?: boolean | undefined;
|
41
41
|
tagProps?: {
|
42
42
|
color?: string | undefined;
|
@@ -56,7 +56,7 @@ declare const _default: () => {
|
|
56
56
|
}[], SelectOptionData[] | {
|
57
57
|
render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
|
58
58
|
label?: string | undefined;
|
59
|
-
value?:
|
59
|
+
value?: OptionValue | undefined;
|
60
60
|
disabled?: boolean | undefined;
|
61
61
|
tagProps?: {
|
62
62
|
color?: string | undefined;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { ObjectData, Props } from '../../_shared/type';
|
3
|
-
import { SelectValue,
|
3
|
+
import { SelectValue, SelectOption, FallbackOption, FormatLabel, SelectOptionData, OptionValue } from '../index';
|
4
4
|
declare const _default: (params: {
|
5
5
|
multiple: Ref<boolean>;
|
6
6
|
computedValue: Ref<SelectValue>;
|
7
|
-
provideOptions: Ref<
|
7
|
+
provideOptions: Ref<SelectOption[]>;
|
8
8
|
showExtraOptions: Ref<boolean>;
|
9
|
-
getValue: (value:
|
9
|
+
getValue: (value: OptionValue) => OptionValue;
|
10
10
|
fallbackOption?: FallbackOption;
|
11
11
|
formatLabel?: FormatLabel;
|
12
12
|
}) => {
|
@@ -14,7 +14,7 @@ declare const _default: (params: {
|
|
14
14
|
createOptions: Ref<{
|
15
15
|
render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
|
16
16
|
label?: string | undefined;
|
17
|
-
value?:
|
17
|
+
value?: OptionValue | undefined;
|
18
18
|
disabled?: boolean | undefined;
|
19
19
|
tagProps?: {
|
20
20
|
color?: string | undefined;
|
@@ -34,7 +34,7 @@ declare const _default: (params: {
|
|
34
34
|
}[], SelectOptionData[] | {
|
35
35
|
render?: string | import('vue').RenderFunction | ObjectData[] | undefined;
|
36
36
|
label?: string | undefined;
|
37
|
-
value?:
|
37
|
+
value?: OptionValue | undefined;
|
38
38
|
disabled?: boolean | undefined;
|
39
39
|
tagProps?: {
|
40
40
|
color?: string | undefined;
|
@@ -52,12 +52,12 @@ declare const _default: (params: {
|
|
52
52
|
id?: string | undefined;
|
53
53
|
isFallbackOption?: boolean | undefined;
|
54
54
|
}[]>;
|
55
|
-
renderOptions: import('vue').ComputedRef<
|
55
|
+
renderOptions: import('vue').ComputedRef<SelectOption[]>;
|
56
56
|
selectOptions: import('vue').ComputedRef<{
|
57
57
|
id: string;
|
58
|
-
label:
|
58
|
+
label: OptionValue | undefined;
|
59
59
|
render?: import('../../_shared/type').RenderContent;
|
60
|
-
value?:
|
60
|
+
value?: OptionValue;
|
61
61
|
disabled?: boolean;
|
62
62
|
tagProps?: import('../..').TagProps;
|
63
63
|
isFallbackOption?: boolean;
|
package/es/Select/index.d.ts
CHANGED
@@ -12,13 +12,13 @@ declare const Select: {
|
|
12
12
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
13
13
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
14
14
|
onClear?: (() => any) | undefined;
|
15
|
-
onSelect?: ((value: import('./type').
|
15
|
+
onSelect?: ((value: import('./type').OptionValue) => any) | undefined;
|
16
16
|
onSearch?: ((value: string) => any) | undefined;
|
17
17
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
18
|
-
"onUpdate:inputValue"?: ((value:
|
18
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
19
19
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
20
20
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
21
|
-
onExceedLimit?: ((value: import('./type').
|
21
|
+
onExceedLimit?: ((value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
22
22
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
23
23
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
24
24
|
}>, {
|
@@ -30,13 +30,13 @@ declare const Select: {
|
|
30
30
|
"update:popupVisible": (value: boolean) => any;
|
31
31
|
"popup-visible-change": (value: boolean) => any;
|
32
32
|
clear: () => any;
|
33
|
-
select: (value: import('./type').
|
33
|
+
select: (value: import('./type').OptionValue) => any;
|
34
34
|
search: (value: string) => any;
|
35
35
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
36
|
-
"update:inputValue": (value:
|
36
|
+
"update:inputValue": (value: string) => any;
|
37
37
|
"input-value-change": (value: string) => any;
|
38
38
|
remove: (index: string | number, ev: Event) => any;
|
39
|
-
exceedLimit: (value: import('./type').
|
39
|
+
exceedLimit: (value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any;
|
40
40
|
"dropdown-scroll": (ev: Event) => any;
|
41
41
|
"dropdown-reach-bottom": (ev: Event) => any;
|
42
42
|
}, import('vue').PublicProps, {
|
@@ -55,7 +55,7 @@ declare const Select: {
|
|
55
55
|
defaultValue: import('./type').SelectValue;
|
56
56
|
allowClear: boolean;
|
57
57
|
showExtraOptions: boolean;
|
58
|
-
options: import('./type').
|
58
|
+
options: import('./type').SelectOption[];
|
59
59
|
limit: number;
|
60
60
|
inputValue: string;
|
61
61
|
defaultInputValue: string;
|
@@ -464,13 +464,13 @@ declare const Select: {
|
|
464
464
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
465
465
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
466
466
|
onClear?: (() => any) | undefined;
|
467
|
-
onSelect?: ((value: import('./type').
|
467
|
+
onSelect?: ((value: import('./type').OptionValue) => any) | undefined;
|
468
468
|
onSearch?: ((value: string) => any) | undefined;
|
469
469
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
470
|
-
"onUpdate:inputValue"?: ((value:
|
470
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
471
471
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
472
472
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
473
|
-
onExceedLimit?: ((value: import('./type').
|
473
|
+
onExceedLimit?: ((value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
474
474
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
475
475
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
476
476
|
}>, {
|
@@ -493,7 +493,7 @@ declare const Select: {
|
|
493
493
|
defaultValue: import('./type').SelectValue;
|
494
494
|
allowClear: boolean;
|
495
495
|
showExtraOptions: boolean;
|
496
|
-
options: import('./type').
|
496
|
+
options: import('./type').SelectOption[];
|
497
497
|
limit: number;
|
498
498
|
inputValue: string;
|
499
499
|
defaultInputValue: string;
|
@@ -519,13 +519,13 @@ declare const Select: {
|
|
519
519
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
520
520
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
521
521
|
onClear?: (() => any) | undefined;
|
522
|
-
onSelect?: ((value: import('./type').
|
522
|
+
onSelect?: ((value: import('./type').OptionValue) => any) | undefined;
|
523
523
|
onSearch?: ((value: string) => any) | undefined;
|
524
524
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
525
|
-
"onUpdate:inputValue"?: ((value:
|
525
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
526
526
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
527
527
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
528
|
-
onExceedLimit?: ((value: import('./type').
|
528
|
+
onExceedLimit?: ((value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
529
529
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
530
530
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
531
531
|
}>, {
|
@@ -537,13 +537,13 @@ declare const Select: {
|
|
537
537
|
"update:popupVisible": (value: boolean) => any;
|
538
538
|
"popup-visible-change": (value: boolean) => any;
|
539
539
|
clear: () => any;
|
540
|
-
select: (value: import('./type').
|
540
|
+
select: (value: import('./type').OptionValue) => any;
|
541
541
|
search: (value: string) => any;
|
542
542
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
543
|
-
"update:inputValue": (value:
|
543
|
+
"update:inputValue": (value: string) => any;
|
544
544
|
"input-value-change": (value: string) => any;
|
545
545
|
remove: (index: string | number, ev: Event) => any;
|
546
|
-
exceedLimit: (value: import('./type').
|
546
|
+
exceedLimit: (value: import('./type').OptionValue, ev?: MouseEvent | undefined) => any;
|
547
547
|
"dropdown-scroll": (ev: Event) => any;
|
548
548
|
"dropdown-reach-bottom": (ev: Event) => any;
|
549
549
|
}, string, {
|
@@ -562,7 +562,7 @@ declare const Select: {
|
|
562
562
|
defaultValue: import('./type').SelectValue;
|
563
563
|
allowClear: boolean;
|
564
564
|
showExtraOptions: boolean;
|
565
|
-
options: import('./type').
|
565
|
+
options: import('./type').SelectOption[];
|
566
566
|
limit: number;
|
567
567
|
inputValue: string;
|
568
568
|
defaultInputValue: string;
|
@@ -585,7 +585,7 @@ declare const Select: {
|
|
585
585
|
option: {
|
586
586
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
587
587
|
disabled: boolean;
|
588
|
-
value: import('./type').
|
588
|
+
value: import('./type').OptionValue;
|
589
589
|
label: string;
|
590
590
|
isFallbackOption: boolean;
|
591
591
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
@@ -599,7 +599,7 @@ declare const Select: {
|
|
599
599
|
Defaults: {};
|
600
600
|
}, Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, {
|
601
601
|
disabled: boolean;
|
602
|
-
value: import('./type').
|
602
|
+
value: import('./type').OptionValue;
|
603
603
|
label: string;
|
604
604
|
isFallbackOption: boolean;
|
605
605
|
}>;
|
@@ -608,7 +608,7 @@ declare const Select: {
|
|
608
608
|
__isSuspense?: never;
|
609
609
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
610
610
|
disabled: boolean;
|
611
|
-
value: import('./type').
|
611
|
+
value: import('./type').OptionValue;
|
612
612
|
label: string;
|
613
613
|
isFallbackOption: boolean;
|
614
614
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Select/type.d.ts
CHANGED
@@ -23,7 +23,7 @@ export interface SelectProps {
|
|
23
23
|
defaultPopupVisible?: boolean;
|
24
24
|
unmountonClose?: boolean;
|
25
25
|
filterOption?: FilterOption;
|
26
|
-
options?:
|
26
|
+
options?: SelectOption[];
|
27
27
|
virtualListProps?: VirtualListProps;
|
28
28
|
triggerProps?: TriggerProps;
|
29
29
|
formatLabel?: FormatLabel;
|
@@ -42,18 +42,18 @@ export interface SelectProps {
|
|
42
42
|
}
|
43
43
|
export interface SelectEmits {
|
44
44
|
(e: 'update:modelValue', value: SelectValue): void;
|
45
|
-
(e: 'update:inputValue', value:
|
45
|
+
(e: 'update:inputValue', value: string): void;
|
46
46
|
(e: 'update:popupVisible', value: boolean): void;
|
47
47
|
(e: 'change', value: SelectValue): void;
|
48
48
|
(e: 'input-value-change', value: string): void;
|
49
49
|
(e: 'clear'): void;
|
50
50
|
(e: 'remove', index: number | string, ev: Event): void;
|
51
51
|
(e: 'search', value: string): void;
|
52
|
-
(e: 'exceedLimit', value:
|
52
|
+
(e: 'exceedLimit', value: OptionValue, ev?: MouseEvent): void;
|
53
53
|
(e: 'popup-visible-change', value: boolean): void;
|
54
54
|
(e: 'dropdown-scroll', ev: Event): void;
|
55
55
|
(e: 'dropdown-reach-bottom', ev: Event): void;
|
56
|
-
(e: 'select', value:
|
56
|
+
(e: 'select', value: OptionValue): void;
|
57
57
|
}
|
58
58
|
export interface SelectSlots {
|
59
59
|
default?: () => VNode[];
|
@@ -79,7 +79,7 @@ export interface SelectExpose {
|
|
79
79
|
}
|
80
80
|
export interface OptionProps {
|
81
81
|
label?: string;
|
82
|
-
value?:
|
82
|
+
value?: OptionValue;
|
83
83
|
disabled?: boolean;
|
84
84
|
tagProps?: TagProps;
|
85
85
|
id?: string;
|
@@ -97,7 +97,8 @@ export interface OptgroupSlots {
|
|
97
97
|
default?: () => VNode[];
|
98
98
|
label?: () => VNode[];
|
99
99
|
}
|
100
|
-
export type
|
100
|
+
export type OptionValue = string | number | boolean | ObjectData;
|
101
|
+
export type SelectValue = OptionValue | OptionValue[];
|
101
102
|
export type SelectOptionData = {
|
102
103
|
render?: RenderContent;
|
103
104
|
} & OptionProps;
|
@@ -107,9 +108,9 @@ export type SelectOptionGroup = {
|
|
107
108
|
isGroup?: true;
|
108
109
|
options?: SelectOptionData[];
|
109
110
|
};
|
110
|
-
export type
|
111
|
+
export type SelectOption = OptionValue | SelectOptionData | SelectOptionGroup | ObjectData;
|
111
112
|
export type FilterOption = boolean | ((inputValue: string, option: SelectOptionData) => boolean);
|
112
|
-
export type FallbackOption = (value:
|
113
|
+
export type FallbackOption = (value: OptionValue) => SelectOptionData;
|
113
114
|
export type FormatLabel = (data: SelectOptionData) => string;
|
114
115
|
export type VirtualListProps = {
|
115
116
|
itemHeight?: number;
|
package/es/Spin/index.vue.js
CHANGED
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$1 from "../_shared/icons/IconLoading.vue.js";
|
package/es/Split/index.vue.js
CHANGED
@@ -5,7 +5,7 @@ import { isNumber } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
package/es/Steps/Step.vue.js
CHANGED
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
package/es/Tabs/TabButton.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
|
2
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -6,7 +6,7 @@ import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useContext from "./hooks/useContext.js";
|
8
8
|
import useTabsScroll from "./hooks/useTabsScroll.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
package/es/Tag/index.vue.js
CHANGED
@@ -7,8 +7,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useControlValue from "../_shared/utils/control.js";
|
9
9
|
import Spin from "../Spin/index.js";
|
10
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
11
|
-
/* empty css
|
10
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
package/es/Textarea/index.vue.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
|
2
2
|
import useTextareaHeight from "./hooks/useTextareaHeight.js";
|
3
3
|
import useLimitedInput from "../Input/hooks/useLimitedInput.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
5
|
+
/* empty css */
|
6
6
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
7
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
8
8
|
import "../_shared/utils/dom.js";
|
@@ -6,8 +6,8 @@ import { isValidTimeRange } from "../_shared/utils/time.js";
|
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
10
|
-
/* empty css
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
|
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|