yc-design-vue 1.3.9 → 1.4.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/Card/Card.vue.d.ts +1 -1
- package/es/Card/index.d.ts +3 -3
- package/es/Checkbox/Checkbox.vue.js +1 -1
- package/es/Checkbox/Checkbox.vue2.js +2 -2
- package/es/Image/ImagePreviewToolbar.vue2.js +6 -6
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/List/List.vue.d.ts +1 -1
- package/es/List/index.d.ts +3 -3
- package/es/Pagination/PaginationItem.vue.js +1 -1
- package/es/Pagination/PaginationItem.vue2.js +2 -2
- package/es/Progress/ProgressCircle.vue2.js +1 -1
- package/es/Radio/Radio.vue.js +1 -1
- package/es/Radio/Radio.vue2.js +2 -2
- package/es/Transfer/TransferPanel.vue2.js +2 -2
- package/es/Typography/TypographyBase.vue2.js +2 -2
- package/es/_shared/components/IconButton.vue.d.ts +2 -2
- package/es/_shared/components/IconButton.vue.js +1 -1
- package/es/_shared/components/IconButton.vue3.js +4 -4
- 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/IconExclamation.vue.js +27 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -27
- package/es/_shared/icons/IconFullScreen.vue.js +1 -16
- package/es/_shared/icons/IconFullScreen.vue2.js +16 -1
- package/es/_shared/icons/IconOriginSize.vue.js +1 -22
- package/es/_shared/icons/IconOriginSize.vue2.js +22 -1
- package/es/_shared/icons/IconRotateLeft.vue.js +1 -16
- package/es/_shared/icons/IconRotateLeft.vue2.js +16 -1
- package/es/_shared/icons/IconRotateRight.vue.js +1 -16
- package/es/_shared/icons/IconRotateRight.vue2.js +16 -1
- package/es/_shared/icons/IconSearch.vue.js +1 -16
- package/es/_shared/icons/IconSearch.vue2.js +16 -1
- package/es/_shared/icons/IconZoomIn.vue.js +1 -16
- package/es/_shared/icons/IconZoomIn.vue2.js +16 -1
- package/es/_shared/icons/IconZoomOut.vue.js +1 -16
- package/es/_shared/icons/IconZoomOut.vue2.js +16 -1
- package/es/style.css +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/index.d.ts +3 -3
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue2.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue2.js +1 -1
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/List/List.vue.d.ts +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue2.js +1 -1
- package/lib/Progress/ProgressCircle.vue2.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/Radio.vue2.js +1 -1
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Typography/TypographyBase.vue2.js +1 -1
- package/lib/_shared/components/IconButton.vue.d.ts +2 -2
- package/lib/_shared/components/IconButton.vue.js +1 -1
- package/lib/_shared/components/IconButton.vue3.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.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/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/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/style.css +1 -1
- package/package.json +1 -1
package/es/Card/Card.vue.d.ts
CHANGED
@@ -10,8 +10,8 @@ declare const __VLS_component: import('vue').DefineComponent<CardProps, {}, {},
|
|
10
10
|
size: import('./type').CardSize;
|
11
11
|
loading: boolean;
|
12
12
|
title: string;
|
13
|
-
bordered: boolean;
|
14
13
|
hoverable: boolean;
|
14
|
+
bordered: boolean;
|
15
15
|
headerStyle: import('vue').CSSProperties;
|
16
16
|
bodyStyle: import('vue').CSSProperties;
|
17
17
|
extra: string;
|
package/es/Card/index.d.ts
CHANGED
@@ -11,8 +11,8 @@ declare const Card: {
|
|
11
11
|
size: import('./type').CardSize;
|
12
12
|
loading: boolean;
|
13
13
|
title: string;
|
14
|
-
bordered: boolean;
|
15
14
|
hoverable: boolean;
|
15
|
+
bordered: boolean;
|
16
16
|
headerStyle: import('vue').CSSProperties;
|
17
17
|
bodyStyle: import('vue').CSSProperties;
|
18
18
|
extra: string;
|
@@ -27,8 +27,8 @@ declare const Card: {
|
|
27
27
|
size: import('./type').CardSize;
|
28
28
|
loading: boolean;
|
29
29
|
title: string;
|
30
|
-
bordered: boolean;
|
31
30
|
hoverable: boolean;
|
31
|
+
bordered: boolean;
|
32
32
|
headerStyle: import('vue').CSSProperties;
|
33
33
|
bodyStyle: import('vue').CSSProperties;
|
34
34
|
extra: string;
|
@@ -40,8 +40,8 @@ declare const Card: {
|
|
40
40
|
size: import('./type').CardSize;
|
41
41
|
loading: boolean;
|
42
42
|
title: string;
|
43
|
-
bordered: boolean;
|
44
43
|
hoverable: boolean;
|
44
|
+
bordered: boolean;
|
45
45
|
headerStyle: import('vue').CSSProperties;
|
46
46
|
bodyStyle: import('vue').CSSProperties;
|
47
47
|
extra: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Checkbox.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-70bd8c41"]]);
|
5
5
|
export {
|
6
6
|
_Checkbox as default
|
7
7
|
};
|
@@ -93,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
93
93
|
}, () => [
|
94
94
|
createVNode(unref(IconButton), {
|
95
95
|
"hover-size": 24,
|
96
|
-
|
96
|
+
hoverable: !computedChecked.value && !computedDisabled.value
|
97
97
|
}, {
|
98
98
|
default: withCtx(() => [
|
99
99
|
createElementVNode("span", _hoisted_2, [
|
@@ -101,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
101
101
|
])
|
102
102
|
]),
|
103
103
|
_: 1
|
104
|
-
}, 8, ["
|
104
|
+
}, 8, ["hoverable"]),
|
105
105
|
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3, [
|
106
106
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
107
107
|
])) : createCommentVNode("", true)
|
@@ -4,12 +4,12 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
6
|
/* empty css */
|
7
|
-
import _sfc_main$6 from "../_shared/icons/IconFullScreen.
|
8
|
-
import _sfc_main$1 from "../_shared/icons/IconOriginSize.
|
9
|
-
import _sfc_main$4 from "../_shared/icons/IconRotateLeft.
|
10
|
-
import _sfc_main$5 from "../_shared/icons/IconRotateRight.
|
11
|
-
import _sfc_main$3 from "../_shared/icons/IconZoomIn.
|
12
|
-
import _sfc_main$2 from "../_shared/icons/IconZoomOut.
|
7
|
+
import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
|
8
|
+
import _sfc_main$1 from "../_shared/icons/IconOriginSize.vue2.js";
|
9
|
+
import _sfc_main$4 from "../_shared/icons/IconRotateLeft.vue2.js";
|
10
|
+
import _sfc_main$5 from "../_shared/icons/IconRotateRight.vue2.js";
|
11
|
+
import _sfc_main$3 from "../_shared/icons/IconZoomIn.vue2.js";
|
12
|
+
import _sfc_main$2 from "../_shared/icons/IconZoomOut.vue2.js";
|
13
13
|
import ImagePreviewAction from "./ImagePreviewAction.vue.js";
|
14
14
|
const _hoisted_1 = {
|
15
15
|
key: 0,
|
package/es/Link/index.d.ts
CHANGED
@@ -15,9 +15,9 @@ declare const Link: {
|
|
15
15
|
disabled: boolean;
|
16
16
|
loading: boolean;
|
17
17
|
icon: boolean;
|
18
|
+
hoverable: boolean;
|
18
19
|
href: string;
|
19
20
|
status: import('./type').LinkStatus;
|
20
|
-
hoverable: boolean;
|
21
21
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
|
22
22
|
P: {};
|
23
23
|
B: {};
|
@@ -33,9 +33,9 @@ declare const Link: {
|
|
33
33
|
disabled: boolean;
|
34
34
|
loading: boolean;
|
35
35
|
icon: boolean;
|
36
|
+
hoverable: boolean;
|
36
37
|
href: string;
|
37
38
|
status: import('./type').LinkStatus;
|
38
|
-
hoverable: boolean;
|
39
39
|
}>;
|
40
40
|
__isFragment?: never;
|
41
41
|
__isTeleport?: never;
|
@@ -52,9 +52,9 @@ declare const Link: {
|
|
52
52
|
disabled: boolean;
|
53
53
|
loading: boolean;
|
54
54
|
icon: boolean;
|
55
|
+
hoverable: boolean;
|
55
56
|
href: string;
|
56
57
|
status: import('./type').LinkStatus;
|
57
|
-
hoverable: boolean;
|
58
58
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
59
59
|
$slots: Readonly<import('./type').LinkSlots> & import('./type').LinkSlots;
|
60
60
|
}) & {
|
package/es/Link/index.vue.d.ts
CHANGED
@@ -18,9 +18,9 @@ declare const __VLS_component: import('vue').DefineComponent<LinkProps, {}, {},
|
|
18
18
|
disabled: boolean;
|
19
19
|
loading: boolean;
|
20
20
|
icon: boolean;
|
21
|
+
hoverable: boolean;
|
21
22
|
href: string;
|
22
23
|
status: import('./type').LinkStatus;
|
23
|
-
hoverable: boolean;
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
26
26
|
export default _default;
|
package/es/List/List.vue.d.ts
CHANGED
@@ -154,10 +154,10 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
154
154
|
scrollbar: boolean;
|
155
155
|
split: boolean;
|
156
156
|
data: import('../_shared/type').ObjectData[];
|
157
|
+
hoverable: boolean;
|
157
158
|
bordered: boolean;
|
158
159
|
virtualListProps: import('..').VirtualListProps;
|
159
160
|
maxHeight: number | string;
|
160
|
-
hoverable: boolean;
|
161
161
|
paginationProps: import('../Pagination').PaginationProps;
|
162
162
|
bottomOffset: number;
|
163
163
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
package/es/List/index.d.ts
CHANGED
@@ -23,10 +23,10 @@ declare const List: {
|
|
23
23
|
scrollbar: boolean;
|
24
24
|
split: boolean;
|
25
25
|
data: import('../_shared/type').ObjectData[];
|
26
|
+
hoverable: boolean;
|
26
27
|
bordered: boolean;
|
27
28
|
virtualListProps: import('..').VirtualListProps;
|
28
29
|
maxHeight: number | string;
|
29
|
-
hoverable: boolean;
|
30
30
|
paginationProps: import('..').PaginationProps;
|
31
31
|
bottomOffset: number;
|
32
32
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
@@ -179,10 +179,10 @@ declare const List: {
|
|
179
179
|
scrollbar: boolean;
|
180
180
|
split: boolean;
|
181
181
|
data: import('../_shared/type').ObjectData[];
|
182
|
+
hoverable: boolean;
|
182
183
|
bordered: boolean;
|
183
184
|
virtualListProps: import('..').VirtualListProps;
|
184
185
|
maxHeight: number | string;
|
185
|
-
hoverable: boolean;
|
186
186
|
paginationProps: import('..').PaginationProps;
|
187
187
|
bottomOffset: number;
|
188
188
|
}>;
|
@@ -205,10 +205,10 @@ declare const List: {
|
|
205
205
|
scrollbar: boolean;
|
206
206
|
split: boolean;
|
207
207
|
data: import('../_shared/type').ObjectData[];
|
208
|
+
hoverable: boolean;
|
208
209
|
bordered: boolean;
|
209
210
|
virtualListProps: import('..').VirtualListProps;
|
210
211
|
maxHeight: number | string;
|
211
|
-
hoverable: boolean;
|
212
212
|
paginationProps: import('..').PaginationProps;
|
213
213
|
bottomOffset: number;
|
214
214
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./PaginationItem.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const PaginationItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const PaginationItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-db2c3eef"]]);
|
5
5
|
export {
|
6
6
|
PaginationItem as default
|
7
7
|
};
|
@@ -31,9 +31,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
31
|
if (["item", "more-right", "more-left"].includes(type.value)) {
|
32
32
|
return _disabled.value;
|
33
33
|
} else if (type.value == "pre") {
|
34
|
-
return computedCurrent.value <= 1;
|
34
|
+
return computedCurrent.value <= 1 || _disabled.value;
|
35
35
|
} else {
|
36
|
-
return computedCurrent.value >= pages.value;
|
36
|
+
return computedCurrent.value >= pages.value || _disabled.value;
|
37
37
|
}
|
38
38
|
});
|
39
39
|
const handleClick = () => {
|
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
9
|
-
import _sfc_main$2 from "../_shared/icons/IconExclamation.
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconExclamation.vue.js";
|
10
10
|
import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
|
11
11
|
const _hoisted_1 = ["aria-valuenow"];
|
12
12
|
const _hoisted_2 = ["viewBox"];
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Radio.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Radio = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Radio = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-63331c6a"]]);
|
5
5
|
export {
|
6
6
|
_Radio as default
|
7
7
|
};
|
package/es/Radio/Radio.vue2.js
CHANGED
@@ -99,14 +99,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
99
99
|
computedType.value == "radio" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
100
100
|
createVNode(unref(IconButton), {
|
101
101
|
"hover-size": 24,
|
102
|
-
|
102
|
+
hoverable: !checked.value && !computedDisabled.value
|
103
103
|
}, {
|
104
104
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
105
105
|
createElementVNode("span", { class: "yc-radio-icon" }, null, -1)
|
106
106
|
])),
|
107
107
|
_: 1,
|
108
108
|
__: [0]
|
109
|
-
}, 8, ["
|
109
|
+
}, 8, ["hoverable"]),
|
110
110
|
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
111
111
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
112
112
|
])) : createCommentVNode("", true)
|
@@ -5,8 +5,8 @@ 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";
|
@@ -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,8 +1,8 @@
|
|
1
1
|
type __VLS_Props = {
|
2
2
|
size?: number;
|
3
|
-
hoverColor?: string;
|
4
3
|
hoverSize?: number;
|
5
4
|
disabled?: boolean;
|
5
|
+
hoverable?: boolean;
|
6
6
|
preventFocus?: boolean;
|
7
7
|
};
|
8
8
|
declare function __VLS_template(): {
|
@@ -18,8 +18,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
18
18
|
size: number;
|
19
19
|
disabled: boolean;
|
20
20
|
preventFocus: boolean;
|
21
|
-
hoverColor: string;
|
22
21
|
hoverSize: number;
|
22
|
+
hoverable: boolean;
|
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;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./IconButton.vue3.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const IconButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const IconButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0cd1d9af"]]);
|
5
5
|
export {
|
6
6
|
IconButton as default
|
7
7
|
};
|
@@ -9,15 +9,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "IconButton",
|
10
10
|
props: {
|
11
11
|
size: { default: 12 },
|
12
|
-
hoverColor: { default: "rgb(242, 243, 245)" },
|
13
12
|
hoverSize: { default: 20 },
|
14
13
|
disabled: { type: Boolean, default: false },
|
14
|
+
hoverable: { type: Boolean, default: true },
|
15
15
|
preventFocus: { type: Boolean, default: true }
|
16
16
|
},
|
17
17
|
setup(__props) {
|
18
18
|
useCssVars((_ctx) => ({
|
19
|
-
"
|
20
|
-
"ccfb48c6": hoverSize.value
|
19
|
+
"0c78ee6d": hoverSize.value
|
21
20
|
}));
|
22
21
|
const props = __props;
|
23
22
|
const { hoverSize: _hoverSize } = toRefs(props);
|
@@ -27,7 +26,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
26
|
class: normalizeClass([
|
28
27
|
"yc-icon-button",
|
29
28
|
{
|
30
|
-
"yc-icon-button-disabled": _ctx.disabled
|
29
|
+
"yc-icon-button-disabled": _ctx.disabled,
|
30
|
+
"yc-icon-button-hoverable": _ctx.hoverable
|
31
31
|
}
|
32
32
|
]),
|
33
33
|
onMousedown: _cache[0] || (_cache[0] = (e) => _ctx.preventFocus && e.preventDefault())
|
@@ -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
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
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
|
-
});
|
1
|
+
import _sfc_main from "./IconEdit.vue.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,4 +1,30 @@
|
|
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: "IconExclamation",
|
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: "M23 9h2v21h-2z" }, null, -1),
|
10
|
+
createElementVNode("path", {
|
11
|
+
fill: "currentColor",
|
12
|
+
stroke: "none",
|
13
|
+
d: "M23 9h2v21h-2z"
|
14
|
+
}, null, -1),
|
15
|
+
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
16
|
+
createElementVNode("path", {
|
17
|
+
fill: "currentColor",
|
18
|
+
stroke: "none",
|
19
|
+
d: "M23 37h2v2h-2z"
|
20
|
+
}, null, -1)
|
21
|
+
])),
|
22
|
+
_: 1,
|
23
|
+
__: [0]
|
24
|
+
}, 16);
|
25
|
+
};
|
26
|
+
}
|
27
|
+
});
|
2
28
|
export {
|
3
29
|
_sfc_main as default
|
4
30
|
};
|
@@ -1,30 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "../components/Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconExclamation",
|
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: "M23 9h2v21h-2z" }, null, -1),
|
10
|
-
createElementVNode("path", {
|
11
|
-
fill: "currentColor",
|
12
|
-
stroke: "none",
|
13
|
-
d: "M23 9h2v21h-2z"
|
14
|
-
}, null, -1),
|
15
|
-
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
16
|
-
createElementVNode("path", {
|
17
|
-
fill: "currentColor",
|
18
|
-
stroke: "none",
|
19
|
-
d: "M23 37h2v2h-2z"
|
20
|
-
}, null, -1)
|
21
|
-
])),
|
22
|
-
_: 1,
|
23
|
-
__: [0]
|
24
|
-
}, 16);
|
25
|
-
};
|
26
|
-
}
|
27
|
-
});
|
1
|
+
import _sfc_main from "./IconExclamation.vue.js";
|
28
2
|
export {
|
29
3
|
_sfc_main as default
|
30
4
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "../components/Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconFullScreen",
|
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: "M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconFullScreen.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: "IconFullScreen",
|
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: "M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,25 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "../components/Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconOriginSize",
|
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.5 11.5 5-2.5h1v32M34 11.5 39 9h1v32" }, null, -1),
|
10
|
-
createElementVNode("path", {
|
11
|
-
d: "M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z",
|
12
|
-
fill: "currentColor",
|
13
|
-
stroke: "none"
|
14
|
-
}, null, -1),
|
15
|
-
createElementVNode("path", { d: "M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z" }, null, -1)
|
16
|
-
])),
|
17
|
-
_: 1,
|
18
|
-
__: [0]
|
19
|
-
}, 16);
|
20
|
-
};
|
21
|
-
}
|
22
|
-
});
|
1
|
+
import _sfc_main from "./IconOriginSize.vue2.js";
|
23
2
|
export {
|
24
3
|
_sfc_main as default
|
25
4
|
};
|
@@ -1,4 +1,25 @@
|
|
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: "IconOriginSize",
|
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.5 11.5 5-2.5h1v32M34 11.5 39 9h1v32" }, null, -1),
|
10
|
+
createElementVNode("path", {
|
11
|
+
d: "M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z",
|
12
|
+
fill: "currentColor",
|
13
|
+
stroke: "none"
|
14
|
+
}, null, -1),
|
15
|
+
createElementVNode("path", { d: "M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z" }, null, -1)
|
16
|
+
])),
|
17
|
+
_: 1,
|
18
|
+
__: [0]
|
19
|
+
}, 16);
|
20
|
+
};
|
21
|
+
}
|
22
|
+
});
|
2
23
|
export {
|
3
24
|
_sfc_main as default
|
4
25
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "../components/Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconRotateLeft",
|
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: "M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconRotateLeft.vue2.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|