jky-component-lib 0.0.37 → 0.0.38
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/dist/es/package.json.js +1 -1
- package/dist/es/page-header/PageHeader.vue.js +1 -1
- package/dist/es/page-header/PopoverMenu.vue.d.ts +3 -2
- package/dist/es/page-header/PopoverMenu.vue.js +4 -3
- package/dist/lib/package.json.js +1 -1
- package/dist/lib/page-header/PageHeader.vue.js +1 -1
- package/dist/lib/page-header/PopoverMenu.vue.d.ts +3 -2
- package/dist/lib/page-header/PopoverMenu.vue.js +4 -3
- package/dist/umd/index.js +6 -5
- package/package.json +1 -1
package/dist/es/package.json.js
CHANGED
|
@@ -200,7 +200,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
200
200
|
key: 1,
|
|
201
201
|
"ref-name": "更多",
|
|
202
202
|
"ref-icon-class": "icon-[mdi--format-list-bulleted]"
|
|
203
|
-
}, __props.popover), null, 16)) : createCommentVNode("", true),
|
|
203
|
+
}, __props.popover, { placement: "bottom" }), null, 16)) : createCommentVNode("", true),
|
|
204
204
|
createVNode(unref(ElDropdown), {
|
|
205
205
|
trigger: "hover",
|
|
206
206
|
onCommand: handleCommand
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { TooltipTriggerType } from 'element-plus';
|
|
2
2
|
import { Arrayable } from 'element-plus/es/utils';
|
|
3
|
-
import { PageHeaderPopoverMenuProps } from './types';
|
|
3
|
+
import { PageHeaderPopoverMenuItem, PageHeaderPopoverMenuProps } from './types';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<PageHeaderPopoverMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PageHeaderPopoverMenuProps> & Readonly<{}>, {
|
|
5
5
|
trigger: Arrayable<TooltipTriggerType>;
|
|
6
|
-
|
|
6
|
+
placement: import('element-plus').Placement;
|
|
7
|
+
menus: PageHeaderPopoverMenuItem[];
|
|
7
8
|
buttonClass: string;
|
|
8
9
|
width: number;
|
|
9
10
|
highlightCurrent: boolean;
|
|
@@ -22,7 +22,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
22
|
elButtonType: {},
|
|
23
23
|
width: { default: 400 },
|
|
24
24
|
trigger: { default: "click" },
|
|
25
|
-
highlightCurrent: { type: Boolean, default: true }
|
|
25
|
+
highlightCurrent: { type: Boolean, default: true },
|
|
26
|
+
placement: { default: "bottom-start" }
|
|
26
27
|
},
|
|
27
28
|
setup(__props) {
|
|
28
29
|
const props = __props;
|
|
@@ -39,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
40
|
return ((_a = __props.menus) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
40
41
|
createVNode(unref(ElPopover), {
|
|
41
42
|
title: "菜单",
|
|
42
|
-
placement:
|
|
43
|
+
placement: __props.placement,
|
|
43
44
|
class: "h-full",
|
|
44
45
|
trigger: __props.trigger,
|
|
45
46
|
width: __props.width
|
|
@@ -79,7 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
80
|
])
|
|
80
81
|
]),
|
|
81
82
|
_: 1
|
|
82
|
-
}, 8, ["trigger", "width"])
|
|
83
|
+
}, 8, ["placement", "trigger", "width"])
|
|
83
84
|
])) : createCommentVNode("", true);
|
|
84
85
|
};
|
|
85
86
|
}
|
package/dist/lib/package.json.js
CHANGED
|
@@ -202,7 +202,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
202
202
|
key: 1,
|
|
203
203
|
"ref-name": "更多",
|
|
204
204
|
"ref-icon-class": "icon-[mdi--format-list-bulleted]"
|
|
205
|
-
}, __props.popover), null, 16)) : vue.createCommentVNode("", true),
|
|
205
|
+
}, __props.popover, { placement: "bottom" }), null, 16)) : vue.createCommentVNode("", true),
|
|
206
206
|
vue.createVNode(vue.unref(ElementPlus.ElDropdown), {
|
|
207
207
|
trigger: "hover",
|
|
208
208
|
onCommand: handleCommand
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { TooltipTriggerType } from 'element-plus';
|
|
2
2
|
import { Arrayable } from 'element-plus/es/utils';
|
|
3
|
-
import { PageHeaderPopoverMenuProps } from './types';
|
|
3
|
+
import { PageHeaderPopoverMenuItem, PageHeaderPopoverMenuProps } from './types';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<PageHeaderPopoverMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PageHeaderPopoverMenuProps> & Readonly<{}>, {
|
|
5
5
|
trigger: Arrayable<TooltipTriggerType>;
|
|
6
|
-
|
|
6
|
+
placement: import('element-plus').Placement;
|
|
7
|
+
menus: PageHeaderPopoverMenuItem[];
|
|
7
8
|
buttonClass: string;
|
|
8
9
|
width: number;
|
|
9
10
|
highlightCurrent: boolean;
|
|
@@ -24,7 +24,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
24
24
|
elButtonType: {},
|
|
25
25
|
width: { default: 400 },
|
|
26
26
|
trigger: { default: "click" },
|
|
27
|
-
highlightCurrent: { type: Boolean, default: true }
|
|
27
|
+
highlightCurrent: { type: Boolean, default: true },
|
|
28
|
+
placement: { default: "bottom-start" }
|
|
28
29
|
},
|
|
29
30
|
setup(__props) {
|
|
30
31
|
const props = __props;
|
|
@@ -41,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
41
42
|
return ((_a = __props.menus) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
42
43
|
vue.createVNode(vue.unref(ElementPlus.ElPopover), {
|
|
43
44
|
title: "菜单",
|
|
44
|
-
placement:
|
|
45
|
+
placement: __props.placement,
|
|
45
46
|
class: "h-full",
|
|
46
47
|
trigger: __props.trigger,
|
|
47
48
|
width: __props.width
|
|
@@ -81,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
81
82
|
])
|
|
82
83
|
]),
|
|
83
84
|
_: 1
|
|
84
|
-
}, 8, ["trigger", "width"])
|
|
85
|
+
}, 8, ["placement", "trigger", "width"])
|
|
85
86
|
])) : vue.createCommentVNode("", true);
|
|
86
87
|
};
|
|
87
88
|
}
|
package/dist/umd/index.js
CHANGED
|
@@ -1610,7 +1610,7 @@ img {
|
|
|
1610
1610
|
}
|
|
1611
1611
|
/*$vite$:1*/`;
|
|
1612
1612
|
document.head.appendChild(__vite_style__);
|
|
1613
|
-
const version$1 = "0.0.
|
|
1613
|
+
const version$1 = "0.0.38";
|
|
1614
1614
|
const INSTALLED_KEY = Symbol("INSTALLED_KEY");
|
|
1615
1615
|
function createInstaller(components2 = []) {
|
|
1616
1616
|
const install2 = (app, options) => {
|
|
@@ -1965,7 +1965,8 @@ img {
|
|
|
1965
1965
|
elButtonType: {},
|
|
1966
1966
|
width: { default: 400 },
|
|
1967
1967
|
trigger: { default: "click" },
|
|
1968
|
-
highlightCurrent: { type: Boolean, default: true }
|
|
1968
|
+
highlightCurrent: { type: Boolean, default: true },
|
|
1969
|
+
placement: { default: "bottom-start" }
|
|
1969
1970
|
},
|
|
1970
1971
|
setup(__props) {
|
|
1971
1972
|
const props = __props;
|
|
@@ -1982,7 +1983,7 @@ img {
|
|
|
1982
1983
|
return ((_a = __props.menus) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
|
|
1983
1984
|
vue.createVNode(vue.unref(ElementPlus.ElPopover), {
|
|
1984
1985
|
title: "菜单",
|
|
1985
|
-
placement:
|
|
1986
|
+
placement: __props.placement,
|
|
1986
1987
|
class: "h-full",
|
|
1987
1988
|
trigger: __props.trigger,
|
|
1988
1989
|
width: __props.width
|
|
@@ -2022,7 +2023,7 @@ img {
|
|
|
2022
2023
|
])
|
|
2023
2024
|
]),
|
|
2024
2025
|
_: 1
|
|
2025
|
-
}, 8, ["trigger", "width"])
|
|
2026
|
+
}, 8, ["placement", "trigger", "width"])
|
|
2026
2027
|
])) : vue.createCommentVNode("", true);
|
|
2027
2028
|
};
|
|
2028
2029
|
}
|
|
@@ -2207,7 +2208,7 @@ img {
|
|
|
2207
2208
|
key: 1,
|
|
2208
2209
|
"ref-name": "更多",
|
|
2209
2210
|
"ref-icon-class": "icon-[mdi--format-list-bulleted]"
|
|
2210
|
-
}, __props.popover), null, 16)) : vue.createCommentVNode("", true),
|
|
2211
|
+
}, __props.popover, { placement: "bottom" }), null, 16)) : vue.createCommentVNode("", true),
|
|
2211
2212
|
vue.createVNode(vue.unref(ElementPlus.ElDropdown), {
|
|
2212
2213
|
trigger: "hover",
|
|
2213
2214
|
onCommand: handleCommand
|