yc-design-vue 1.4.3 → 1.4.5
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/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/es/Calendar/Calendar.vue.d.ts +1 -1
- package/es/Calendar/index.d.ts +3 -3
- package/es/Collapse/Collapse.vue.d.ts +1 -1
- package/es/Collapse/index.d.ts +3 -3
- package/es/ColorPicker/ColorPicker.vue.d.ts +1 -1
- package/es/ColorPicker/index.d.ts +3 -3
- package/es/Dropdown/Dgroup.vue.js +1 -1
- package/es/Dropdown/Dgroup.vue2.js +2 -2
- package/es/Dropdown/Doption.vue.js +1 -1
- package/es/Dropdown/Doption.vue2.js +3 -1
- package/es/Dropdown/Dropdown.vue.d.ts +0 -1
- package/es/Dropdown/Dropdown.vue.js +4 -3
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue2.js +3 -4
- package/es/Dropdown/hooks/useContext.d.ts +1 -3
- package/es/Dropdown/hooks/useContext.js +1 -4
- package/es/Dropdown/index.d.ts +0 -3
- package/es/Dropdown/type.d.ts +1 -2
- package/es/Layout/LayoutSider.vue.d.ts +2 -2
- package/es/Layout/LayoutSider.vue.js +1 -1
- package/es/Layout/LayoutSider.vue2.js +4 -5
- package/es/Layout/hooks/useSiderContext.d.ts +1 -0
- package/es/Layout/hooks/useSiderContext.js +21 -2
- package/es/Layout/index.d.ts +6 -6
- package/es/Menu/Menu.vue.d.ts +7 -7
- package/es/Menu/Menu.vue2.js +2 -2
- package/es/Menu/MenuEllipsis.vue.js +1 -1
- package/es/Menu/MenuEllipsis.vue2.js +3 -4
- package/es/Menu/MenuItem.vue.js +1 -1
- package/es/Menu/MenuItem.vue2.js +3 -4
- package/es/Menu/MenuItemGroup.vue2.js +2 -2
- package/es/Menu/SubMenu.vue2.js +2 -2
- package/es/Menu/hooks/useContext.js +2 -2
- package/es/Menu/index.d.ts +20 -20
- package/es/Transfer/TransferPanel.vue2.js +2 -2
- package/es/Typography/TypographyBase.vue2.js +2 -2
- package/es/_shared/icons/IconCopy.vue.js +1 -16
- package/es/_shared/icons/IconCopy.vue2.js +16 -1
- package/es/_shared/icons/IconDelete.vue.js +16 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -16
- package/es/_shared/icons/IconEdit.vue.js +1 -16
- package/es/_shared/icons/IconEdit.vue2.js +16 -1
- package/es/_shared/icons/IconSearch.vue.js +16 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -16
- package/es/_shared/icons/IconSeparator.vue.js +1 -16
- package/es/_shared/icons/IconSeparator.vue2.js +16 -1
- package/es/index.d.ts +6 -6
- package/es/node_modules/@vueuse/core/index.js +319 -4
- package/es/node_modules/@vueuse/shared/index.js +65 -2
- package/es/style.css +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/lib/Calendar/Calendar.vue.d.ts +1 -1
- package/lib/Calendar/index.d.ts +3 -3
- package/lib/Collapse/Collapse.vue.d.ts +1 -1
- package/lib/Collapse/index.d.ts +3 -3
- package/lib/ColorPicker/ColorPicker.vue.d.ts +1 -1
- package/lib/ColorPicker/index.d.ts +3 -3
- package/lib/Dropdown/Dgroup.vue.js +1 -1
- package/lib/Dropdown/Dgroup.vue2.js +1 -1
- package/lib/Dropdown/Doption.vue.js +1 -1
- package/lib/Dropdown/Doption.vue2.js +1 -1
- package/lib/Dropdown/Dropdown.vue.d.ts +0 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +1 -3
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +0 -3
- package/lib/Dropdown/type.d.ts +1 -2
- package/lib/Layout/LayoutSider.vue.d.ts +2 -2
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue2.js +1 -1
- package/lib/Layout/hooks/useSiderContext.d.ts +1 -0
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Layout/index.d.ts +6 -6
- package/lib/Menu/Menu.vue.d.ts +7 -7
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue2.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItem.vue2.js +1 -1
- package/lib/Menu/index.d.ts +20 -20
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Typography/TypographyBase.vue2.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/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/index.d.ts +6 -6
- 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/es/Menu/MenuItem.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./MenuItem.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a60c4bae"]]);
|
5
5
|
export {
|
6
6
|
MenuItem as default
|
7
7
|
};
|
package/es/Menu/MenuItem.vue2.js
CHANGED
@@ -6,7 +6,7 @@ import { isUndefined } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
/* empty css */
|
9
|
-
import
|
9
|
+
import useMenuContext, { isMenuItemActive, getPopupMaxHeight } from "./hooks/useContext.js";
|
10
10
|
import _sfc_main$1 from "./MenuPopOption.vue.js";
|
11
11
|
import Dropdown from "../Dropdown/index.js";
|
12
12
|
import Tooltip from "../Tooltip/index.js";
|
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
52
|
max,
|
53
53
|
menuItemWidths,
|
54
54
|
emits
|
55
|
-
} =
|
55
|
+
} = useMenuContext().inject();
|
56
56
|
const curNode = computed(() => {
|
57
57
|
const node = menuTreeNodes.value.find(
|
58
58
|
(item) => item.path == path.value
|
@@ -179,7 +179,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
179
179
|
isSubmenu.value && isRoot.value && (unref(mode) != "vertical" || unref(computedCollapsed)) ? (openBlock(), createBlock(unref(Dropdown), {
|
180
180
|
key: 0,
|
181
181
|
"popup-max-height": popupMaxHeight.value,
|
182
|
-
theme: unref(theme),
|
183
182
|
"trigger-props": {
|
184
183
|
autoFitPosition: false,
|
185
184
|
position: unref(mode) == "horizontal" ? "bl" : "rt",
|
@@ -205,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
205
204
|
createVNode(unref(ReuseTemplate))
|
206
205
|
]),
|
207
206
|
_: 1
|
208
|
-
}, 8, ["popup-max-height", "
|
207
|
+
}, 8, ["popup-max-height", "trigger-props"])) : !isSubmenu.value && isRoot.value && unref(computedCollapsed) ? (openBlock(), createBlock(unref(Tooltip), {
|
209
208
|
key: 1,
|
210
209
|
position: "rt",
|
211
210
|
"trigger-props": {
|
@@ -4,7 +4,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
6
|
/* empty css */
|
7
|
-
import
|
7
|
+
import useMenuContext from "./hooks/useContext.js";
|
8
8
|
const _hoisted_1 = { class: "yc-menu-group-title text-ellipsis" };
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
10
|
...{
|
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
title: { default: "" }
|
16
16
|
},
|
17
17
|
setup(__props) {
|
18
|
-
const { levelIndent, theme } =
|
18
|
+
const { levelIndent, theme } = useMenuContext().inject();
|
19
19
|
return (_ctx, _cache) => {
|
20
20
|
return openBlock(), createElementBlock("div", {
|
21
21
|
class: normalizeClass(["yc-menu-group", `yc-menu-group-theme-${unref(theme)}`])
|
package/es/Menu/SubMenu.vue2.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createVNode, unref, createSlots, withCtx, renderSlot, createTextVNode, toDisplayString, withDirectives, createElementVNode, vShow } from "vue";
|
2
|
-
import
|
2
|
+
import useMenuContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
25
|
popupMaxHeight: { type: [Boolean, Number], default: void 0 }
|
26
26
|
},
|
27
27
|
setup(__props) {
|
28
|
-
const { mode, computedOpenKeys, computedCollapsed } =
|
28
|
+
const { mode, computedOpenKeys, computedCollapsed } = useMenuContext().inject();
|
29
29
|
return (_ctx, _cache) => {
|
30
30
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
31
31
|
createVNode(unref(MenuItem), {
|
@@ -114,7 +114,7 @@ const getPopupMaxHeight = (popupMaxHeight) => {
|
|
114
114
|
return popupMaxHeight;
|
115
115
|
}
|
116
116
|
};
|
117
|
-
const
|
117
|
+
const useMenuContext = () => {
|
118
118
|
const provide$1 = (props, emits, menuRef) => {
|
119
119
|
const {
|
120
120
|
selectedKeys,
|
@@ -261,7 +261,7 @@ const useContext = () => {
|
|
261
261
|
export {
|
262
262
|
FlattenMenuTree,
|
263
263
|
buildMenuTree,
|
264
|
-
|
264
|
+
useMenuContext as default,
|
265
265
|
getPopupMaxHeight,
|
266
266
|
isMenuItemActive
|
267
267
|
};
|
package/es/Menu/index.d.ts
CHANGED
@@ -11,16 +11,16 @@ export * from './type';
|
|
11
11
|
declare const Menu: {
|
12
12
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').MenuProps> & Readonly<{
|
13
13
|
onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
|
14
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
15
14
|
"onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
|
16
15
|
"onUpdate:openKeys"?: ((value: string) => any) | undefined;
|
16
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
17
17
|
"onMenu-item-click"?: ((key: string) => any) | undefined;
|
18
18
|
"onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
|
19
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
20
20
|
collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
|
21
|
-
"update:collapsed": (value: boolean) => any;
|
22
21
|
"update:selectedKeys": (value: string) => any;
|
23
22
|
"update:openKeys": (value: string) => any;
|
23
|
+
"update:collapsed": (value: boolean) => any;
|
24
24
|
"menu-item-click": (key: string) => any;
|
25
25
|
"sub-menu-click": (key: string, openKeys: string[]) => any;
|
26
26
|
}, import('vue').PublicProps, {
|
@@ -28,21 +28,21 @@ declare const Menu: {
|
|
28
28
|
triggerProps: import('..').TriggerProps;
|
29
29
|
collapsed: boolean;
|
30
30
|
breakpoint: import('..').BreakpointName;
|
31
|
-
theme: import('..').Theme;
|
32
31
|
popupMaxHeight: import('./type').PopupMaxHeight;
|
33
|
-
|
32
|
+
theme: import('..').Theme;
|
33
|
+
levelIndent: number;
|
34
|
+
autoOpen: boolean;
|
34
35
|
defaultCollapsed: boolean;
|
35
36
|
collapsedWidth: number | string;
|
37
|
+
accordion: boolean;
|
38
|
+
showCollapseButton: boolean;
|
36
39
|
selectedKeys: string;
|
37
40
|
defaultSelectedKeys: string;
|
38
41
|
openKeys: string[];
|
39
42
|
defaultOpenKeys: string[];
|
40
|
-
levelIndent: number;
|
41
|
-
autoOpen: boolean;
|
42
43
|
tooltipProps: import('..').TooltipProps;
|
43
44
|
autoOpenSelected: boolean;
|
44
45
|
autoScrollIntoView: boolean;
|
45
|
-
showCollapseButton: boolean;
|
46
46
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
47
47
|
menuRef: HTMLDivElement;
|
48
48
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -54,9 +54,9 @@ declare const Menu: {
|
|
54
54
|
Defaults: {};
|
55
55
|
}, Readonly<import('./type').MenuProps> & Readonly<{
|
56
56
|
onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
|
57
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
58
57
|
"onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
|
59
58
|
"onUpdate:openKeys"?: ((value: string) => any) | undefined;
|
59
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
60
60
|
"onMenu-item-click"?: ((key: string) => any) | undefined;
|
61
61
|
"onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
|
62
62
|
}>, {}, {}, {}, {}, {
|
@@ -64,37 +64,37 @@ declare const Menu: {
|
|
64
64
|
triggerProps: import('..').TriggerProps;
|
65
65
|
collapsed: boolean;
|
66
66
|
breakpoint: import('..').BreakpointName;
|
67
|
-
theme: import('..').Theme;
|
68
67
|
popupMaxHeight: import('./type').PopupMaxHeight;
|
69
|
-
|
68
|
+
theme: import('..').Theme;
|
69
|
+
levelIndent: number;
|
70
|
+
autoOpen: boolean;
|
70
71
|
defaultCollapsed: boolean;
|
71
72
|
collapsedWidth: number | string;
|
73
|
+
accordion: boolean;
|
74
|
+
showCollapseButton: boolean;
|
72
75
|
selectedKeys: string;
|
73
76
|
defaultSelectedKeys: string;
|
74
77
|
openKeys: string[];
|
75
78
|
defaultOpenKeys: string[];
|
76
|
-
levelIndent: number;
|
77
|
-
autoOpen: boolean;
|
78
79
|
tooltipProps: import('..').TooltipProps;
|
79
80
|
autoOpenSelected: boolean;
|
80
81
|
autoScrollIntoView: boolean;
|
81
|
-
showCollapseButton: boolean;
|
82
82
|
}>;
|
83
83
|
__isFragment?: never;
|
84
84
|
__isTeleport?: never;
|
85
85
|
__isSuspense?: never;
|
86
86
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').MenuProps> & Readonly<{
|
87
87
|
onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
|
88
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
89
88
|
"onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
|
90
89
|
"onUpdate:openKeys"?: ((value: string) => any) | undefined;
|
90
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
91
91
|
"onMenu-item-click"?: ((key: string) => any) | undefined;
|
92
92
|
"onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
|
93
93
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
94
94
|
collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
|
95
|
-
"update:collapsed": (value: boolean) => any;
|
96
95
|
"update:selectedKeys": (value: string) => any;
|
97
96
|
"update:openKeys": (value: string) => any;
|
97
|
+
"update:collapsed": (value: boolean) => any;
|
98
98
|
"menu-item-click": (key: string) => any;
|
99
99
|
"sub-menu-click": (key: string, openKeys: string[]) => any;
|
100
100
|
}, string, {
|
@@ -102,21 +102,21 @@ declare const Menu: {
|
|
102
102
|
triggerProps: import('..').TriggerProps;
|
103
103
|
collapsed: boolean;
|
104
104
|
breakpoint: import('..').BreakpointName;
|
105
|
-
theme: import('..').Theme;
|
106
105
|
popupMaxHeight: import('./type').PopupMaxHeight;
|
107
|
-
|
106
|
+
theme: import('..').Theme;
|
107
|
+
levelIndent: number;
|
108
|
+
autoOpen: boolean;
|
108
109
|
defaultCollapsed: boolean;
|
109
110
|
collapsedWidth: number | string;
|
111
|
+
accordion: boolean;
|
112
|
+
showCollapseButton: boolean;
|
110
113
|
selectedKeys: string;
|
111
114
|
defaultSelectedKeys: string;
|
112
115
|
openKeys: string[];
|
113
116
|
defaultOpenKeys: string[];
|
114
|
-
levelIndent: number;
|
115
|
-
autoOpen: boolean;
|
116
117
|
tooltipProps: import('..').TooltipProps;
|
117
118
|
autoOpenSelected: boolean;
|
118
119
|
autoScrollIntoView: boolean;
|
119
|
-
showCollapseButton: boolean;
|
120
120
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
121
121
|
$slots: Readonly<import('./type').MenuSlots> & import('./type').MenuSlots;
|
122
122
|
}) & {
|
@@ -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.vue.js";
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconSearch.vue.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.vue2.js";
|
9
|
+
import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.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,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.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: "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,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,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.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: "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.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: "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,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: "IconSearch",
|
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: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, 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: "IconSearch",
|
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: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconSearch.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: "IconSeparator",
|
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: "M29.506 6.502 18.493 41.498" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconSeparator.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: "IconSeparator",
|
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: "M29.506 6.502 18.493 41.498" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
package/es/index.d.ts
CHANGED
@@ -1316,11 +1316,11 @@ declare const _default: {
|
|
1316
1316
|
collapsed: boolean;
|
1317
1317
|
breakpoint: import('./Grid').BreakpointName;
|
1318
1318
|
theme: import('./_shared/type').Theme;
|
1319
|
-
hideTrigger: boolean;
|
1320
1319
|
defaultCollapsed: boolean;
|
1321
|
-
collapsible: boolean;
|
1322
1320
|
collapsedWidth: number;
|
1321
|
+
collapsible: boolean;
|
1323
1322
|
reverseArrow: boolean;
|
1323
|
+
hideTrigger: boolean;
|
1324
1324
|
resizeDirections: import('./Layout').ResizeDirections;
|
1325
1325
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
1326
1326
|
P: {};
|
@@ -1338,11 +1338,11 @@ declare const _default: {
|
|
1338
1338
|
collapsed: boolean;
|
1339
1339
|
breakpoint: import('./Grid').BreakpointName;
|
1340
1340
|
theme: import('./_shared/type').Theme;
|
1341
|
-
hideTrigger: boolean;
|
1342
1341
|
defaultCollapsed: boolean;
|
1343
|
-
collapsible: boolean;
|
1344
1342
|
collapsedWidth: number;
|
1343
|
+
collapsible: boolean;
|
1345
1344
|
reverseArrow: boolean;
|
1345
|
+
hideTrigger: boolean;
|
1346
1346
|
resizeDirections: import('./Layout').ResizeDirections;
|
1347
1347
|
}>;
|
1348
1348
|
__isFragment?: never;
|
@@ -1361,11 +1361,11 @@ declare const _default: {
|
|
1361
1361
|
collapsed: boolean;
|
1362
1362
|
breakpoint: import('./Grid').BreakpointName;
|
1363
1363
|
theme: import('./_shared/type').Theme;
|
1364
|
-
hideTrigger: boolean;
|
1365
1364
|
defaultCollapsed: boolean;
|
1366
|
-
collapsible: boolean;
|
1367
1365
|
collapsedWidth: number;
|
1366
|
+
collapsible: boolean;
|
1368
1367
|
reverseArrow: boolean;
|
1368
|
+
hideTrigger: boolean;
|
1369
1369
|
resizeDirections: import('./Layout').ResizeDirections;
|
1370
1370
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
1371
1371
|
$slots: Readonly<import('./Layout').LayoutSiderSlots> & import('./Layout').LayoutSiderSlots;
|