hlrender 0.0.157 → 0.0.159
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/{affix-widget-1ca2ac50.js → affix-widget-12727fa3.js} +2 -2
- package/{alert-widget-3dbcdba7.js → alert-widget-7251db9e.js} +2 -2
- package/{auto-complete-widget-a1a584c2.js → auto-complete-widget-e8f9caaf.js} +1 -1
- package/{avatar-widget-e249c7c1.js → avatar-widget-5fcc066f.js} +2 -2
- package/{backtop-widget-f821d5bc.js → backtop-widget-ede812d5.js} +2 -2
- package/{badge-widget-18c7cd17.js → badge-widget-ce39c60d.js} +2 -2
- package/{button-widget-3b1ff8ef.js → button-widget-c01316dc.js} +2 -2
- package/{card-widget-d7864d57.js → card-widget-8cea12d8.js} +1 -1
- package/{cont-cell-widget-b4430de1.js → cont-cell-widget-8ed78864.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8e20dc01.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5cfae958.js} +1 -1
- package/{cont-widget-262e95d0.js → cont-widget-a50f72d6.js} +1 -1
- package/{default-slot-widget-25ee9ae9.js → default-slot-widget-3de1e3ae.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-63bd5d0a.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-19b67fa7.js} +1 -1
- package/{descriptions-widget-1031bd9f.js → descriptions-widget-ea4c7f22.js} +1 -1
- package/{dialog-widget-f9272e80.js → dialog-widget-32bc380c.js} +2 -2
- package/{divider-widget-310e8a1e.js → divider-widget-a34f65d7.js} +2 -2
- package/{drag-wrapper-639a510c.js → drag-wrapper-479fa620.js} +1 -1
- package/{drawer-widget-d6ed6612.js → drawer-widget-11d360e3.js} +2 -2
- package/{dropdown-widget-c76e5c05.js → dropdown-widget-f866fa98.js} +1 -1
- package/{empty-widget-1c76a814.js → empty-widget-57fad896.js} +2 -2
- package/{feedback-widget-b4e09984.js → feedback-widget-6d1b2aa5.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-063bb2f3.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-cd0f1fa5.js} +1 -1
- package/{file-upload-widget-f91938f4.js → file-upload-widget-42400a10.js} +1 -1
- package/{form-widget-a59151ad.js → form-widget-02a9600d.js} +1 -1
- package/{grid-col-widget-396233e5.js → grid-col-widget-8a349208.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d40d69ee.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-470e8169.js} +1 -1
- package/{grid-widget-877ad0db.js → grid-widget-03ba0c47.js} +1 -1
- package/{input-widget-a3b70595.js → input-widget-ac6b4af5.js} +1 -1
- package/{link-widget-69fdc1a7.js → link-widget-342c4433.js} +2 -2
- package/{ltable-col-widget-7fae9e9e.js → ltable-col-widget-e48368b7.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ab414f87.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-918c9936.js} +1 -1
- package/{ltable-widget-1bef7580.js → ltable-widget-76fa406a.js} +1 -1
- package/{menu-widget-4df6f55c.js → menu-widget-c0c62fab.js} +38 -37
- package/{multirow-widget-5fe9afe5.js → multirow-widget-bbc1738b.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-81039862.js → progress-widget-bb1c72dc.js} +1 -1
- package/{range-widget-0a896494.js → range-widget-1ee3a746.js} +1 -1
- package/render.es.js +15 -15
- package/render.umd.js +280 -280
- package/{result-widget-de0b18c6.js → result-widget-ea1cdf11.js} +1 -1
- package/{subMenu-widget-a15877bc.js → subMenu-widget-69fb0280.js} +1 -1
- package/subMenu-widget.vue_vue_type_script_setup_true_lang-93294b6d.js +86 -0
- package/{tab-pane-widget-a5f9078c.js → tab-pane-widget-3786f788.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ba79bb7f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7da6f38c.js} +1 -1
- package/{table-col-widget-a65d3ebe.js → table-col-widget-83b5668a.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0d958ade.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4f9131d8.js} +1 -1
- package/{table-widget-1b88a877.js → table-widget-a7fec574.js} +2 -2
- package/{tabs-widget-b3a5b998.js → tabs-widget-85b2363f.js} +1 -1
- package/{tag-widget-c18ca5cf.js → tag-widget-e5b7c51c.js} +2 -2
- package/{text-widget-eb72de89.js → text-widget-df8dcedb.js} +2 -2
- package/{tmpl-widget-afa322eb.js → tmpl-widget-8e4bd102.js} +1 -1
- package/{wrapper-widget-cbbee714.js → wrapper-widget-fbdd126a.js} +1 -1
- package/subMenu-widget.vue_vue_type_script_setup_true_lang-22ac140c.js +0 -83
|
@@ -4,7 +4,7 @@ import { I as B } from "./field-base-5547436d.js";
|
|
|
4
4
|
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js";
|
|
5
5
|
import { b as I } from "./share-field-4e19e866.js";
|
|
6
6
|
import { w as O } from "./expression-922059fb.js";
|
|
7
|
-
import { D as P } from "./drag-wrapper-
|
|
7
|
+
import { D as P } from "./drag-wrapper-479fa620.js";
|
|
8
8
|
import { g as W } from "./slot-3b5d19a0.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
10
|
import "./index-caea10b1.js";
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineComponent as _, computed as f, unref as h, openBlock as a, createElementBlock as m, Fragment as A, renderList as B, createBlock as c, resolveDynamicComponent as F, normalizeClass as N, withCtx as b, createCommentVNode as k, createElementVNode as T, toDisplayString as V } from "vue";
|
|
2
|
+
import { S as p } from "./index-c4746812.js";
|
|
3
|
+
import { _ as s } from "./enum-type-49c67c46.js";
|
|
4
|
+
import { g as P, K as R, P as U, J as D } from "./baseImp-b427643e.js";
|
|
5
|
+
import { u as E } from "./icon-a0e0cdb0.js";
|
|
6
|
+
const G = /* @__PURE__ */ _({
|
|
7
|
+
__name: "subMenu-widget",
|
|
8
|
+
props: {
|
|
9
|
+
items: null,
|
|
10
|
+
useRouter: null,
|
|
11
|
+
defaultActive: null
|
|
12
|
+
},
|
|
13
|
+
setup(o) {
|
|
14
|
+
const u = o, y = (n) => {
|
|
15
|
+
var e;
|
|
16
|
+
if (n.menuItemType === s.None || !n.menuItemType)
|
|
17
|
+
return ((e = n == null ? void 0 : n.children) == null ? void 0 : e.length) > 0 ? "el-sub-menu" : "el-menu-item";
|
|
18
|
+
let l = "";
|
|
19
|
+
switch (n.menuItemType) {
|
|
20
|
+
case s.MenuItem:
|
|
21
|
+
l = "el-menu-item";
|
|
22
|
+
break;
|
|
23
|
+
case s.MenuItemGroup:
|
|
24
|
+
l = "el-menu-item-group";
|
|
25
|
+
break;
|
|
26
|
+
case s.SubMenu:
|
|
27
|
+
l = "el-sub-menu";
|
|
28
|
+
break;
|
|
29
|
+
default:
|
|
30
|
+
l = "el-menu-item";
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
return l;
|
|
34
|
+
}, v = f(() => {
|
|
35
|
+
var n;
|
|
36
|
+
return (n = u.items) == null ? void 0 : n.some((l) => !(l != null && l.hidden));
|
|
37
|
+
}), I = f(() => {
|
|
38
|
+
var n;
|
|
39
|
+
return (n = u.items) == null ? void 0 : n.filter((l) => !(l != null && l.hidden));
|
|
40
|
+
}), { instance: C } = E(), g = P({ instance: C }), M = (n) => {
|
|
41
|
+
R(U.getValue(n) || "", { ctx: g });
|
|
42
|
+
}, S = (n) => {
|
|
43
|
+
const l = t(n);
|
|
44
|
+
return n != null && n.attachUrlParams ? D.buildUrlByLocalQuery(l) : l;
|
|
45
|
+
}, t = (n) => (console.log(u.defaultActive), u != null && u.useRouter ? n == null ? void 0 : n.route : n == null ? void 0 : n.value);
|
|
46
|
+
return (n, l) => h(v) ? (a(!0), m(A, { key: 0 }, B(h(I), (e, L) => (a(), c(F(y(e)), {
|
|
47
|
+
key: e.value,
|
|
48
|
+
index: S(e),
|
|
49
|
+
disabled: e.disabled,
|
|
50
|
+
class: N([o.defaultActive == t(e) ? "is-active" : ""]),
|
|
51
|
+
onClick: (r) => {
|
|
52
|
+
var d;
|
|
53
|
+
return (d = e == null ? void 0 : e.children) != null && d.length ? "" : M(e == null ? void 0 : e.click);
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
title: b(() => {
|
|
57
|
+
var r;
|
|
58
|
+
return [
|
|
59
|
+
(r = e == null ? void 0 : e.children) != null && r.length ? (a(), c(p, {
|
|
60
|
+
key: 0,
|
|
61
|
+
name: e == null ? void 0 : e.icon
|
|
62
|
+
}, null, 8, ["name"])) : k("", !0),
|
|
63
|
+
T("span", null, V(e.label), 1)
|
|
64
|
+
];
|
|
65
|
+
}),
|
|
66
|
+
default: b(() => {
|
|
67
|
+
var r;
|
|
68
|
+
return [
|
|
69
|
+
(r = e == null ? void 0 : e.children) != null && r.length ? (a(), c(G, {
|
|
70
|
+
key: 1,
|
|
71
|
+
items: e == null ? void 0 : e.children,
|
|
72
|
+
"use-router": o.useRouter,
|
|
73
|
+
"default-active": o.defaultActive
|
|
74
|
+
}, null, 8, ["items", "use-router", "default-active"])) : (a(), c(p, {
|
|
75
|
+
key: 0,
|
|
76
|
+
name: e == null ? void 0 : e.icon
|
|
77
|
+
}, null, 8, ["name"]))
|
|
78
|
+
];
|
|
79
|
+
}),
|
|
80
|
+
_: 2
|
|
81
|
+
}, 1032, ["index", "disabled", "class", "onClick"]))), 128)) : k("", !0);
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
G as _
|
|
86
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
1
|
+
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7da6f38c.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as l, createBlock as f, mergeProps as r, unref as e, withCtx as g, createVNode as _ } from "vue";
|
|
2
2
|
import { w as u } from "./expression-922059fb.js";
|
|
3
3
|
import { I as w } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as C } from "./drag-wrapper-
|
|
4
|
+
import { D as C } from "./drag-wrapper-479fa620.js";
|
|
5
5
|
import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js";
|
|
6
6
|
import { c as W } from "./slot-3b5d19a0.js";
|
|
7
7
|
import { b as h } from "./share-field-4e19e866.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
1
|
+
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4f9131d8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./enum-type-240fce9e.js";
|
|
4
4
|
import "./baseImp-b427643e.js";
|
|
@@ -11,7 +11,7 @@ import "./esprima-e8d15055.js";
|
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
12
|
import "./dialog-54f44f24.js";
|
|
13
13
|
import "element-plus";
|
|
14
|
-
import "./drag-wrapper-
|
|
14
|
+
import "./drag-wrapper-479fa620.js";
|
|
15
15
|
import "./widget-base-4c2d6265.js";
|
|
16
16
|
import "./index-caea10b1.js";
|
|
17
17
|
import "./slot-3b5d19a0.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as G, openBlock as i, createBlock as a, normalizeProps as I, guardReactiveProps as N, unref as e, withCtx as v, resolveDynamicComponent as A, createCommentVNode as s, createElementBlock as F, Fragment as L, renderList as V } from "vue";
|
|
2
2
|
import { c as O, e as j } from "./enum-type-240fce9e.js";
|
|
3
3
|
import { b as q, g as H } from "./baseImp-b427643e.js";
|
|
4
|
-
import { D as W } from "./drag-wrapper-
|
|
4
|
+
import { D as W } from "./drag-wrapper-479fa620.js";
|
|
5
5
|
import { a as g } from "./slot-3b5d19a0.js";
|
|
6
6
|
import { b as J } from "./multirow-c7a86264.js";
|
|
7
7
|
import { g as K } from "./uuid-4999945f.js";
|
|
@@ -3,7 +3,7 @@ import { I as Se } from "./field-base-5547436d.js";
|
|
|
3
3
|
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js";
|
|
4
4
|
import { b as Oe } from "./share-field-4e19e866.js";
|
|
5
5
|
import { w as ze, g as Ne } from "./expression-922059fb.js";
|
|
6
|
-
import { _ as Re } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
6
|
+
import { _ as Re } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4f9131d8.js";
|
|
7
7
|
import { x as Ce, e as U, g as x, a as je, f as ke, t as Fe, o as Ie } from "./enum-type-240fce9e.js";
|
|
8
8
|
import { F as De } from "./slot-3b5d19a0.js";
|
|
9
9
|
import { c as Te, p as G } from "./multirow-c7a86264.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./fieldobj-497daebe.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-479fa620.js";
|
|
25
25
|
const Ee = { key: 1 }, Me = H({ componentName: ze.FieldWidget }), lt = /* @__PURE__ */ H({
|
|
26
26
|
...Me,
|
|
27
27
|
__name: "table-widget",
|
|
@@ -4,7 +4,7 @@ import { g as X, w as Y } from "./expression-922059fb.js";
|
|
|
4
4
|
import { I as Z } from "./widget-base-4c2d6265.js";
|
|
5
5
|
import { b as ee } from "./share-field-4e19e866.js";
|
|
6
6
|
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js";
|
|
7
|
-
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
7
|
+
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7da6f38c.js";
|
|
8
8
|
import { u as oe } from "./index-caea10b1.js";
|
|
9
9
|
import { B as T } from "./baseImp-b427643e.js";
|
|
10
10
|
const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-19b67fa7.js";
|
|
4
4
|
import { w as d } from "./expression-922059fb.js";
|
|
5
5
|
import { b as _ } from "./share-field-4e19e866.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-497daebe.js";
|
|
20
20
|
import "./slot-3b5d19a0.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-f46c87c0.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-479fa620.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-c7a86264.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-19b67fa7.js";
|
|
4
4
|
import { w as d } from "./expression-922059fb.js";
|
|
5
5
|
import { b as _ } from "./share-field-4e19e866.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-497daebe.js";
|
|
20
20
|
import "./slot-3b5d19a0.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-f46c87c0.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-479fa620.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-c7a86264.js";
|
|
@@ -3,7 +3,7 @@ import { e as E, t as J, f as q } from "./enum-type-240fce9e.js";
|
|
|
3
3
|
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
4
|
import { b as H } from "./share-field-4e19e866.js";
|
|
5
5
|
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js";
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
6
|
+
import { D as v } from "./drag-wrapper-479fa620.js";
|
|
7
7
|
import { i as Q, a as U } from "./slot-3b5d19a0.js";
|
|
8
8
|
import { c as X } from "./multirow-c7a86264.js";
|
|
9
9
|
import { g as Y } from "./expression-922059fb.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as b, createBlock as D, mergeProps as W, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
|
|
2
2
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
3
|
+
import { D as A } from "./drag-wrapper-479fa620.js";
|
|
4
4
|
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js";
|
|
5
5
|
import { w as F } from "./expression-922059fb.js";
|
|
6
6
|
import { W as v } from "./enum-type-49c67c46.js";
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, computed as d, unref as p, openBlock as l, createElementBlock as v, Fragment as S, renderList as B, createBlock as o, resolveDynamicComponent as F, withCtx as h, createCommentVNode as b, createElementVNode as N, toDisplayString as T } from "vue";
|
|
2
|
-
import { S as k } from "./index-c4746812.js";
|
|
3
|
-
import { _ as s } from "./enum-type-49c67c46.js";
|
|
4
|
-
import { g as V, K as P, P as R, J as U } from "./baseImp-b427643e.js";
|
|
5
|
-
import { u as D } from "./icon-a0e0cdb0.js";
|
|
6
|
-
const E = /* @__PURE__ */ M({
|
|
7
|
-
__name: "subMenu-widget",
|
|
8
|
-
props: {
|
|
9
|
-
items: null,
|
|
10
|
-
useRouter: null
|
|
11
|
-
},
|
|
12
|
-
setup(c) {
|
|
13
|
-
const a = c, f = (n) => {
|
|
14
|
-
var e;
|
|
15
|
-
if (n.menuItemType === s.None || !n.menuItemType)
|
|
16
|
-
return ((e = n == null ? void 0 : n.children) == null ? void 0 : e.length) > 0 ? "el-sub-menu" : "el-menu-item";
|
|
17
|
-
let r = "";
|
|
18
|
-
switch (n.menuItemType) {
|
|
19
|
-
case s.MenuItem:
|
|
20
|
-
r = "el-menu-item";
|
|
21
|
-
break;
|
|
22
|
-
case s.MenuItemGroup:
|
|
23
|
-
r = "el-menu-item-group";
|
|
24
|
-
break;
|
|
25
|
-
case s.SubMenu:
|
|
26
|
-
r = "el-sub-menu";
|
|
27
|
-
break;
|
|
28
|
-
default:
|
|
29
|
-
r = "el-menu-item";
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
return r;
|
|
33
|
-
}, g = d(() => {
|
|
34
|
-
var n;
|
|
35
|
-
return (n = a.items) == null ? void 0 : n.some((r) => !(r != null && r.hidden));
|
|
36
|
-
}), y = d(() => {
|
|
37
|
-
var n;
|
|
38
|
-
return (n = a.items) == null ? void 0 : n.filter((r) => !(r != null && r.hidden));
|
|
39
|
-
}), { instance: I } = D(), _ = V({ instance: I }), C = (n) => {
|
|
40
|
-
P(R.getValue(n) || "", { ctx: _ });
|
|
41
|
-
}, w = (n) => {
|
|
42
|
-
const r = a.useRouter ? n == null ? void 0 : n.route : (n == null ? void 0 : n.value) + "";
|
|
43
|
-
return n != null && n.attachUrlParams ? U.buildUrlByLocalQuery(r) : r;
|
|
44
|
-
};
|
|
45
|
-
return (n, r) => p(g) ? (l(!0), v(S, { key: 0 }, B(p(y), (e, G) => (l(), o(F(f(e)), {
|
|
46
|
-
key: e.value,
|
|
47
|
-
index: w(e),
|
|
48
|
-
disabled: e.disabled,
|
|
49
|
-
onClick: (u) => {
|
|
50
|
-
var t;
|
|
51
|
-
return (t = e == null ? void 0 : e.children) != null && t.length ? "" : C(e == null ? void 0 : e.click);
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
title: h(() => {
|
|
55
|
-
var u;
|
|
56
|
-
return [
|
|
57
|
-
(u = e == null ? void 0 : e.children) != null && u.length ? (l(), o(k, {
|
|
58
|
-
key: 0,
|
|
59
|
-
name: e == null ? void 0 : e.icon
|
|
60
|
-
}, null, 8, ["name"])) : b("", !0),
|
|
61
|
-
N("span", null, T(e.label), 1)
|
|
62
|
-
];
|
|
63
|
-
}),
|
|
64
|
-
default: h(() => {
|
|
65
|
-
var u;
|
|
66
|
-
return [
|
|
67
|
-
(u = e == null ? void 0 : e.children) != null && u.length ? (l(), o(E, {
|
|
68
|
-
key: 1,
|
|
69
|
-
items: e == null ? void 0 : e.children,
|
|
70
|
-
"use-router": c.useRouter
|
|
71
|
-
}, null, 8, ["items", "use-router"])) : (l(), o(k, {
|
|
72
|
-
key: 0,
|
|
73
|
-
name: e == null ? void 0 : e.icon
|
|
74
|
-
}, null, 8, ["name"]))
|
|
75
|
-
];
|
|
76
|
-
}),
|
|
77
|
-
_: 2
|
|
78
|
-
}, 1032, ["index", "disabled", "onClick"]))), 128)) : b("", !0);
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
export {
|
|
82
|
-
E as _
|
|
83
|
-
};
|