yc-design-vue 1.1.3 → 1.1.4
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.vue2.js +2 -2
- package/es/Calendar/Calendar.vue2.js +2 -2
- package/es/Carousel/Carousel.vue.js +1 -1
- package/es/Carousel/Carousel.vue2.js +15 -14
- package/es/Carousel/hooks/useContext.js +4 -3
- package/es/Cascader/CascaderIcon.vue2.js +2 -2
- package/es/Checkbox/Checkbox.vue2.js +2 -2
- package/es/Collapse/CollapseItem.vue2.js +2 -2
- package/es/Drawer/Drawer.vue2.js +2 -2
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreview.vue2.js +10 -8
- package/es/Input/Input.vue2.js +2 -2
- package/es/Input/InputSuffix.vue2.js +2 -2
- package/es/InputNumber/InputOperaBtn.vue2.js +1 -1
- package/es/InputTag/index.vue2.js +2 -2
- package/es/Menu/SubMenu.vue2.js +2 -2
- package/es/Message/Message.vue2.js +2 -2
- package/es/Modal/Modal.vue2.js +2 -2
- package/es/Notification/Notification.vue2.js +2 -2
- package/es/PageHeader/index.vue2.js +2 -2
- package/es/Radio/Radio.vue2.js +2 -2
- package/es/Select/SelectIcon.vue2.js +2 -2
- package/es/Tabs/TabButton.vue2.js +2 -2
- package/es/Tag/index.vue2.js +2 -2
- package/es/Textarea/index.vue2.js +2 -2
- package/es/TimePicker/TimePicker.vue2.js +2 -2
- package/es/Transfer/TransferPanel.vue2.js +4 -4
- package/es/Trigger/index.vue2.js +2 -2
- package/es/Typography/TypographyBase.vue2.js +2 -2
- package/es/_shared/components/{ExpandTransition.vue.js → ExpandTransition.vue2.js} +1 -1
- package/es/_shared/components/{IconButton.vue2.js → IconButton.vue.js} +1 -1
- package/es/_shared/icons/IconCopy.vue.js +16 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -16
- package/es/_shared/icons/IconDelete.vue.js +1 -16
- package/es/_shared/icons/IconDelete.vue2.js +16 -1
- package/es/_shared/icons/IconEdit.vue.js +16 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -16
- package/es/_shared/icons/IconMinus.vue.js +16 -1
- package/es/_shared/icons/IconMinus.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/utils/dom.js +6 -6
- package/es/node_modules/@vueuse/core/index.js +3 -1
- package/es/node_modules/@vueuse/shared/index.js +76 -1
- package/es/style.css +1 -1
- package/lib/Alert/index.vue2.js +1 -1
- package/lib/Calendar/Calendar.vue2.js +1 -1
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/Carousel.vue2.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/CascaderIcon.vue2.js +1 -1
- package/lib/Checkbox/Checkbox.vue2.js +1 -1
- package/lib/Collapse/CollapseItem.vue2.js +1 -1
- package/lib/Drawer/Drawer.vue2.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreview.vue2.js +1 -1
- package/lib/Input/Input.vue2.js +1 -1
- package/lib/Input/InputSuffix.vue2.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue2.js +1 -1
- package/lib/InputTag/index.vue2.js +1 -1
- package/lib/Menu/SubMenu.vue2.js +1 -1
- package/lib/Message/Message.vue2.js +1 -1
- package/lib/Modal/Modal.vue2.js +1 -1
- package/lib/Notification/Notification.vue2.js +1 -1
- package/lib/PageHeader/index.vue2.js +1 -1
- package/lib/Radio/Radio.vue2.js +1 -1
- package/lib/Select/SelectIcon.vue2.js +1 -1
- package/lib/Tabs/TabButton.vue2.js +1 -1
- package/lib/Tag/index.vue2.js +1 -1
- package/lib/Textarea/index.vue2.js +1 -1
- package/lib/TimePicker/TimePicker.vue2.js +1 -1
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Trigger/index.vue2.js +1 -1
- package/lib/Typography/TypographyBase.vue2.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue2.js +1 -0
- package/lib/_shared/components/IconButton.vue.js +1 -0
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.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/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconMinus.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.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/utils/dom.js +1 -1
- package/lib/node_modules/@vueuse/core/index.js +1 -1
- package/lib/node_modules/@vueuse/shared/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/_shared/components/ExpandTransition.vue.js +0 -1
- package/lib/_shared/components/IconButton.vue2.js +0 -1
package/es/Alert/index.vue2.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent, ref, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent, unref, createTextVNode, toDisplayString, createVNode } from "vue";
|
2
2
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
3
|
-
import IconButton from "../_shared/components/IconButton.
|
3
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
const _hoisted_1 = {
|
11
11
|
key: 0,
|
12
12
|
class: "yc-alert-icon"
|
@@ -7,8 +7,8 @@ import "../Empty/index.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
9
9
|
import useControlValue from "../_shared/utils/control.js";
|
10
|
-
import IconButton from "../_shared/components/IconButton.
|
11
|
-
/* empty css
|
10
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
11
|
+
/* empty css */
|
12
12
|
import Button from "../Button/index.js";
|
13
13
|
import "../Radio/index.js";
|
14
14
|
import MonthCalendar from "./CalendarMonth.vue.js";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Carousel.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Carousel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Carousel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5285806c"]]);
|
5
5
|
export {
|
6
6
|
_Carousel as default
|
7
7
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, watch, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, unref, Fragment, renderList, createBlock, resolveDynamicComponent, createVNode } from "vue";
|
1
|
+
import { defineComponent, ref, watch, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, unref, Fragment, renderList, createBlock, resolveDynamicComponent, createVNode } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isObject } from "../_shared/utils/is.js";
|
@@ -8,6 +8,7 @@ import "../Empty/index.js";
|
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
9
|
import CarouselArrow from "./CarouselArrow.vue.js";
|
10
10
|
import CarouselIndicator from "./CarouselIndicator.vue.js";
|
11
|
+
import { useInterval } from "../node_modules/@vueuse/shared/index.js";
|
11
12
|
const _hoisted_1 = {
|
12
13
|
key: 0,
|
13
14
|
class: "yc-carousel-indicator-wrapper"
|
@@ -41,21 +42,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
42
|
const props = __props;
|
42
43
|
const emits = __emit;
|
43
44
|
const { slideTo, computedCurrent, autoPlay, carouselItems } = useContext().provide(props, emits);
|
44
|
-
let autoPlayTimer =
|
45
|
+
let autoPlayTimer = ref(0);
|
46
|
+
const stopAutoPlay = () => {
|
47
|
+
clearInterval(autoPlayTimer.value);
|
48
|
+
};
|
45
49
|
const setAutoPlay = () => {
|
46
50
|
var _a;
|
47
51
|
if (!autoPlay.value) return;
|
48
|
-
autoPlayTimer =
|
49
|
-
()
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
autoPlayTimer = useInterval(
|
53
|
+
((_a = autoPlay.value) == null ? void 0 : _a.interval) ?? 3e3,
|
54
|
+
{
|
55
|
+
callback: () => {
|
56
|
+
console.log("定时器触发了");
|
57
|
+
slideTo(computedCurrent.value + 1);
|
58
|
+
}
|
59
|
+
}
|
53
60
|
);
|
54
61
|
};
|
55
|
-
const stopAutoPlay = () => {
|
56
|
-
clearInterval(autoPlayTimer);
|
57
|
-
autoPlayTimer = null;
|
58
|
-
};
|
59
62
|
const handleChange = async (index) => {
|
60
63
|
stopAutoPlay();
|
61
64
|
await slideTo(index);
|
@@ -64,9 +67,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
67
|
watch(
|
65
68
|
() => autoPlay.value,
|
66
69
|
() => {
|
67
|
-
|
68
|
-
return stopAutoPlay();
|
69
|
-
}
|
70
|
+
stopAutoPlay();
|
70
71
|
setAutoPlay();
|
71
72
|
},
|
72
73
|
{
|
@@ -41,7 +41,7 @@ const useContext = () => {
|
|
41
41
|
);
|
42
42
|
const moveType = ref("positive");
|
43
43
|
const preIndex = ref(computedCurrent.value);
|
44
|
-
let
|
44
|
+
let flag = false;
|
45
45
|
const getValidIndex = (val) => {
|
46
46
|
if (val < 0) {
|
47
47
|
return length.value - 1;
|
@@ -49,15 +49,16 @@ const useContext = () => {
|
|
49
49
|
return val > length.value ? val % length.value : val;
|
50
50
|
};
|
51
51
|
const slideTo = async (targetIndex) => {
|
52
|
-
if (
|
52
|
+
if (flag || targetIndex == computedCurrent.value) {
|
53
53
|
return;
|
54
54
|
}
|
55
55
|
moveType.value = targetIndex > computedCurrent.value ? "positive" : "negative";
|
56
56
|
preIndex.value = computedCurrent.value;
|
57
57
|
computedCurrent.value = getValidIndex(targetIndex);
|
58
58
|
emits("change", computedCurrent.value, preIndex.value, true);
|
59
|
+
flag = true;
|
59
60
|
await sleep(moveSpeed.value);
|
60
|
-
|
61
|
+
flag = false;
|
61
62
|
};
|
62
63
|
provide(CAROUSEL_CONTEXT_KEY, {
|
63
64
|
length,
|
@@ -6,8 +6,8 @@ import "../_shared/utils/dom.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
import Spin from "../Spin/index.js";
|
12
12
|
const _hoisted_1 = { class: "yc-cascader-suffix-icon" };
|
13
13
|
const _hoisted_2 = {
|
@@ -8,8 +8,8 @@ import "../Empty/index.js";
|
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
9
9
|
import useControlValue from "../_shared/utils/control.js";
|
10
10
|
import useContext from "./hooks/useContext.js";
|
11
|
-
import IconButton from "../_shared/components/IconButton.
|
12
|
-
/* empty css
|
11
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
12
|
+
/* empty css */
|
13
13
|
const _hoisted_1 = ["value", "disabled", "checked"];
|
14
14
|
const _hoisted_2 = { class: "yc-checkbox-icon" };
|
15
15
|
const _hoisted_3 = {
|
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconRight.vue.js";
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
import ExpandTransition from "../_shared/components/ExpandTransition.
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
import ExpandTransition from "../_shared/components/ExpandTransition.vue2.js";
|
11
11
|
const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
|
12
12
|
const _hoisted_2 = {
|
13
13
|
key: 1,
|
package/es/Drawer/Drawer.vue2.js
CHANGED
@@ -5,8 +5,8 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
6
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
7
7
|
import Button from "../Button/index.js";
|
8
|
-
import IconButton from "../_shared/components/IconButton.
|
9
|
-
/* empty css
|
8
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
const _hoisted_1 = {
|
12
12
|
key: 0,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./ImagePreview.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-252a7f6e"]]);
|
5
5
|
export {
|
6
6
|
ImagePreview as default
|
7
7
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, toRefs, ref, createBlock, openBlock, Teleport, unref, createElementBlock, createCommentVNode, normalizeStyle, normalizeClass, createVNode, Transition, withCtx, withDirectives, createElementVNode, vShow,
|
1
|
+
import { defineComponent, toRefs, ref, createBlock, openBlock, Teleport, unref, createElementBlock, createCommentVNode, normalizeStyle, normalizeClass, createVNode, Transition, withCtx, withDirectives, createElementVNode, vShow, withModifiers, renderSlot, createSlots } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
@@ -11,8 +11,7 @@ import { useEventListener, onKeyStroke } from "../node_modules/@vueuse/core/inde
|
|
11
11
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
12
12
|
import ImagePreviewToolbar from "./ImagePreviewToolbar.vue.js";
|
13
13
|
const _hoisted_1 = { class: "yc-image-preview-mask" };
|
14
|
-
const _hoisted_2 =
|
15
|
-
const _hoisted_3 = ["src"];
|
14
|
+
const _hoisted_2 = ["src"];
|
16
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
17
16
|
...{
|
18
17
|
name: "ImagePreview",
|
@@ -112,6 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
112
111
|
if (wheelZoom.value) {
|
113
112
|
useEventListener("wheel", (e) => {
|
114
113
|
e.preventDefault();
|
114
|
+
e.stopPropagation();
|
115
115
|
const delta = e.deltaY < 0 ? 1 : -1;
|
116
116
|
scale.value *= Math.pow(zoomRate.value, delta);
|
117
117
|
});
|
@@ -157,13 +157,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
157
157
|
onAfterLeave: unref(handleAfterLeave)
|
158
158
|
}, {
|
159
159
|
default: withCtx(() => [
|
160
|
-
withDirectives(createElementVNode("div",
|
160
|
+
withDirectives(createElementVNode("div", {
|
161
|
+
class: "yc-image-preview-wrapper",
|
162
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(handleClose)("mask", $event, false), ["self"]))
|
163
|
+
}, [
|
161
164
|
createElementVNode("div", {
|
162
165
|
style: normalizeStyle({
|
163
166
|
transform: `scale(${unref(scale)}, ${unref(scale)})`
|
164
167
|
}),
|
165
|
-
class: "yc-image-preview-img-container"
|
166
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(handleClose)("mask", $event, false), ["self"]))
|
168
|
+
class: "yc-image-preview-img-container"
|
167
169
|
}, [
|
168
170
|
createElementVNode("img", {
|
169
171
|
src: _ctx.src,
|
@@ -173,7 +175,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
173
175
|
class: "yc-image-preview-img",
|
174
176
|
ref_key: "imageRef",
|
175
177
|
ref: imageRef
|
176
|
-
}, null, 12,
|
178
|
+
}, null, 12, _hoisted_2)
|
177
179
|
], 4),
|
178
180
|
createVNode(ImagePreviewToolbar, {
|
179
181
|
actionsLayout: _ctx.actionsLayout,
|
@@ -191,7 +193,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
191
193
|
_ctx.closable ? (openBlock(), createElementBlock("div", {
|
192
194
|
key: 0,
|
193
195
|
class: "yc-image-preview-close-btn",
|
194
|
-
onClick: _cache[
|
196
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(handleClose)("closeBtn", $event))
|
195
197
|
}, [
|
196
198
|
createVNode(unref(_sfc_main$1))
|
197
199
|
])) : createCommentVNode("", true)
|
package/es/Input/Input.vue2.js
CHANGED
@@ -5,9 +5,9 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
6
|
import useControlValue from "../_shared/utils/control.js";
|
7
7
|
import useLimitedInput from "./hooks/useLimitedInput.js";
|
8
|
-
import IconButton from "../_shared/components/IconButton.
|
8
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
9
9
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import InputSuffix from "./InputSuffix.vue.js";
|
13
13
|
const _hoisted_1 = ["value", "type", "disabled", "readonly", "placeholder"];
|
@@ -6,9 +6,9 @@ import "../Empty/index.js";
|
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$3 from "../_shared/icons/IconEyeClose.vue2.js";
|
8
8
|
import _sfc_main$2 from "../_shared/icons/IconEyeOpen.vue2.js";
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
10
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
const _hoisted_1 = {
|
13
13
|
key: 0,
|
14
14
|
class: "yc-input-word-limit"
|
@@ -5,7 +5,7 @@ import "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
-
import _sfc_main$2 from "../_shared/icons/IconMinus.
|
8
|
+
import _sfc_main$2 from "../_shared/icons/IconMinus.vue.js";
|
9
9
|
import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
|
10
10
|
import Button from "../Button/index.js";
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -8,9 +8,9 @@ import "../_shared/utils/time.js";
|
|
8
8
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
9
9
|
import useControlValue from "../_shared/utils/control.js";
|
10
10
|
import Tag from "../Tag/index.js";
|
11
|
-
import IconButton from "../_shared/components/IconButton.
|
11
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
12
12
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
/* empty css */
|
15
15
|
const _hoisted_1 = ["disabled", "readonly", "placeholder"];
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Menu/SubMenu.vue2.js
CHANGED
@@ -6,8 +6,8 @@ import "../_shared/utils/dom.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
-
/* empty css
|
10
|
-
import ExpandTransition from "../_shared/components/ExpandTransition.
|
9
|
+
/* empty css */
|
10
|
+
import ExpandTransition from "../_shared/components/ExpandTransition.vue2.js";
|
11
11
|
import "./index.js";
|
12
12
|
import MenuItem from "./MenuItem.vue.js";
|
13
13
|
const _hoisted_1 = { class: "yc-menu-inline" };
|
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
8
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
12
12
|
const _hoisted_1 = {
|
13
13
|
key: 0,
|
package/es/Modal/Modal.vue2.js
CHANGED
@@ -6,8 +6,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
6
6
|
import useModalClose from "./hooks/useModalClose.js";
|
7
7
|
import useModalDraggable from "./hooks/useModalDraggable.js";
|
8
8
|
import Button from "../Button/index.js";
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
const _hoisted_1 = {
|
13
13
|
key: 0,
|
@@ -7,8 +7,8 @@ import "../_shared/utils/time.js";
|
|
7
7
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
8
8
|
import "../Empty/index.js";
|
9
9
|
/* empty css */
|
10
|
-
import IconButton from "../_shared/components/IconButton.
|
11
|
-
/* empty css
|
10
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
11
|
+
/* empty css */
|
12
12
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
13
13
|
const _hoisted_1 = { class: "yc-notification-left" };
|
14
14
|
const _hoisted_2 = {
|
@@ -6,8 +6,8 @@ import "../Empty/index.js";
|
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
8
8
|
import Divider from "../Divider/index.js";
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
const _hoisted_1 = { class: "yc-page-header" };
|
12
12
|
const _hoisted_2 = { class: "yc-page-header-wrapper" };
|
13
13
|
const _hoisted_3 = {
|
package/es/Radio/Radio.vue2.js
CHANGED
@@ -6,8 +6,8 @@ import "../Empty/index.js";
|
|
6
6
|
/* empty css */
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
const _hoisted_1 = ["value", "checked", "disabled"];
|
12
12
|
const _hoisted_2 = {
|
13
13
|
key: 0,
|
@@ -6,8 +6,8 @@ import "../_shared/utils/dom.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
import Spin from "../Spin/index.js";
|
12
12
|
const _hoisted_1 = { class: "yc-select-suffix-icon" };
|
13
13
|
const _hoisted_2 = {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
|
2
|
-
import IconButton from "../_shared/components/IconButton.
|
2
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
3
3
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
10
|
__name: "TabButton",
|
11
11
|
props: {
|
package/es/Tag/index.vue2.js
CHANGED
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
8
|
import Spin from "../Spin/index.js";
|
9
|
-
import IconButton from "../_shared/components/IconButton.
|
10
|
-
/* empty css
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
const _hoisted_1 = {
|
13
13
|
key: 0,
|
@@ -1,14 +1,14 @@
|
|
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 IconButton from "../_shared/components/IconButton.
|
4
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
5
5
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
9
|
import "../Empty/index.js";
|
10
10
|
/* empty css */
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
const _hoisted_1 = ["value", "disabled", "readonly", "placeholder"];
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
14
|
...{
|
@@ -5,8 +5,8 @@ import { isArray } from "../_shared/utils/is.js";
|
|
5
5
|
import { isValidTimeRange } from "../_shared/utils/time.js";
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
7
|
import useContext from "./hooks/useContext.js";
|
8
|
-
import IconButton from "../_shared/components/IconButton.
|
9
|
-
/* empty css
|
8
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconTime.vue.js";
|
12
12
|
import Trigger from "../Trigger/index.js";
|
@@ -5,14 +5,14 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
6
|
/* empty css */
|
7
7
|
import _sfc_main$3 from "../_shared/icons/IconClose.vue.js";
|
8
|
-
import _sfc_main$1 from "../_shared/icons/IconDelete.
|
9
|
-
import _sfc_main$2 from "../_shared/icons/IconSearch.
|
8
|
+
import _sfc_main$1 from "../_shared/icons/IconDelete.vue2.js";
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconSearch.vue2.js";
|
10
10
|
import useContext from "./hooks/useContext.js";
|
11
11
|
import Checkbox from "../Checkbox/index.js";
|
12
12
|
import Scrollbar from "../Scrollbar/index.js";
|
13
13
|
import Input from "../Input/index.js";
|
14
|
-
import IconButton from "../_shared/components/IconButton.
|
15
|
-
/* empty css
|
14
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
15
|
+
/* empty css */
|
16
16
|
const _hoisted_1 = { class: "yc-transfer-view" };
|
17
17
|
const _hoisted_2 = { class: "yc-transfer-view-header" };
|
18
18
|
const _hoisted_3 = { class: "yc-transfer-view-header-title" };
|
package/es/Trigger/index.vue2.js
CHANGED
@@ -8,9 +8,9 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
8
8
|
import useTriggerVisible from "./hooks/useTriggerVisible.js";
|
9
9
|
import useTriggerPosition from "./hooks/useTriggerPosition.js";
|
10
10
|
/* empty css */
|
11
|
-
/* empty css
|
11
|
+
/* empty css */
|
12
12
|
import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
15
|
...{
|
16
16
|
name: "Trigger",
|
@@ -5,8 +5,8 @@ import { getDomText, sleep } from "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
|
-
import _sfc_main$3 from "../_shared/icons/IconCopy.
|
9
|
-
import _sfc_main$1 from "../_shared/icons/IconEdit.
|
8
|
+
import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
|
9
|
+
import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
|
10
10
|
import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
|
11
11
|
import useControlValue from "../_shared/utils/control.js";
|
12
12
|
import Input from "../Input/index.js";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import _sfc_main from "./ExpandTransition.vue3.js";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
4
4
|
const ExpandTransition = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6e588238"]]);
|
5
5
|
export {
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconCopy",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "../components/Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconCopy",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconCopy.vue.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "../components/Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconDelete",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconDelete.vue2.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconDelete",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconEdit",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|