hlrender 0.0.155 → 0.0.157
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-1a35d985.js → affix-widget-1ca2ac50.js} +2 -2
- package/{alert-widget-d7e9354b.js → alert-widget-3dbcdba7.js} +2 -2
- package/{auto-complete-widget-a29eea89.js → auto-complete-widget-a1a584c2.js} +1 -1
- package/{avatar-widget-a37c0d3e.js → avatar-widget-e249c7c1.js} +2 -2
- package/{backtop-widget-a7c12f31.js → backtop-widget-f821d5bc.js} +2 -2
- package/{badge-widget-2b4ec0c6.js → badge-widget-18c7cd17.js} +2 -2
- package/{button-widget-aece6675.js → button-widget-3b1ff8ef.js} +2 -2
- package/{card-widget-79ec3e99.js → card-widget-d7864d57.js} +1 -1
- package/{cont-cell-widget-f6ee185a.js → cont-cell-widget-b4430de1.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-243453a5.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8e20dc01.js} +1 -1
- package/{cont-widget-2cb2cfd5.js → cont-widget-262e95d0.js} +1 -1
- package/{default-slot-widget-d43d217c.js → default-slot-widget-25ee9ae9.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-dec544a2.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-63bd5d0a.js} +1 -1
- package/{descriptions-widget-e4295223.js → descriptions-widget-1031bd9f.js} +1 -1
- package/{dialog-widget-2c4e83c0.js → dialog-widget-f9272e80.js} +2 -2
- package/{divider-widget-13711f04.js → divider-widget-310e8a1e.js} +2 -2
- package/{drag-wrapper-bf8e35c0.js → drag-wrapper-639a510c.js} +1 -1
- package/{drawer-widget-aa857adc.js → drawer-widget-d6ed6612.js} +2 -2
- package/{dropdown-widget-133a574f.js → dropdown-widget-c76e5c05.js} +1 -1
- package/{empty-widget-ff8d66c2.js → empty-widget-1c76a814.js} +2 -2
- package/{feedback-widget-5415328d.js → feedback-widget-b4e09984.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-edfdc556.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-063bb2f3.js} +1 -1
- package/{file-upload-widget-1f41a5a5.js → file-upload-widget-f91938f4.js} +1 -1
- package/{form-widget-3225ecab.js → form-widget-a59151ad.js} +1 -1
- package/{grid-col-widget-0b69e572.js → grid-col-widget-396233e5.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-cbf06f28.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d40d69ee.js} +1 -1
- package/{grid-widget-30b3ea40.js → grid-widget-877ad0db.js} +1 -1
- package/{input-widget-7b1218bd.js → input-widget-a3b70595.js} +1 -1
- package/{link-widget-e57fa94c.js → link-widget-69fdc1a7.js} +2 -2
- package/{ltable-col-widget-f7bc6c06.js → ltable-col-widget-7fae9e9e.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-27d171de.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ab414f87.js} +1 -1
- package/{ltable-widget-bdf871cc.js → ltable-widget-1bef7580.js} +1 -1
- package/menu-widget-4df6f55c.js +116 -0
- package/{multirow-widget-92cf79fa.js → multirow-widget-5fe9afe5.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-53d73d3c.js → progress-widget-81039862.js} +1 -1
- package/{range-widget-651dca08.js → range-widget-0a896494.js} +1 -1
- package/render.es.js +15 -15
- package/render.umd.js +1 -1
- package/{result-widget-174fadc9.js → result-widget-de0b18c6.js} +1 -1
- package/{subMenu-widget-23e7d656.js → subMenu-widget-a15877bc.js} +1 -1
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-b58a7fef.js → subMenu-widget.vue_vue_type_script_setup_true_lang-22ac140c.js} +18 -18
- package/{tab-pane-widget-43e7b197.js → tab-pane-widget-a5f9078c.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-73429281.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ba79bb7f.js} +1 -1
- package/{table-col-widget-9089a5e9.js → table-col-widget-a65d3ebe.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-3c5183ac.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0d958ade.js} +1 -1
- package/{table-widget-05c74185.js → table-widget-1b88a877.js} +2 -2
- package/{tabs-widget-b69ca14f.js → tabs-widget-b3a5b998.js} +1 -1
- package/{tag-widget-5043769f.js → tag-widget-c18ca5cf.js} +2 -2
- package/{text-widget-6222eb74.js → text-widget-eb72de89.js} +2 -2
- package/{tmpl-widget-5bb46ee8.js → tmpl-widget-afa322eb.js} +1 -1
- package/{wrapper-widget-df85614c.js → wrapper-widget-cbbee714.js} +1 -1
- package/menu-widget-3cef1e20.js +0 -117
|
@@ -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-639a510c.js";
|
|
8
8
|
import { g as W } from "./slot-3b5d19a0.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
10
|
import "./index-caea10b1.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
2
|
import { S as k } from "./index-c4746812.js";
|
|
3
3
|
import { _ as s } from "./enum-type-49c67c46.js";
|
|
4
|
-
import { g as
|
|
5
|
-
import { u as
|
|
6
|
-
const
|
|
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
7
|
__name: "subMenu-widget",
|
|
8
8
|
props: {
|
|
9
9
|
items: null,
|
|
@@ -36,42 +36,42 @@ const G = /* @__PURE__ */ v({
|
|
|
36
36
|
}), y = d(() => {
|
|
37
37
|
var n;
|
|
38
38
|
return (n = a.items) == null ? void 0 : n.filter((r) => !(r != null && r.hidden));
|
|
39
|
-
}), { instance: I } =
|
|
40
|
-
R
|
|
39
|
+
}), { instance: I } = D(), _ = V({ instance: I }), C = (n) => {
|
|
40
|
+
P(R.getValue(n) || "", { ctx: _ });
|
|
41
41
|
}, w = (n) => {
|
|
42
42
|
const r = a.useRouter ? n == null ? void 0 : n.route : (n == null ? void 0 : n.value) + "";
|
|
43
|
-
return n != null && n.attachUrlParams ?
|
|
43
|
+
return n != null && n.attachUrlParams ? U.buildUrlByLocalQuery(r) : r;
|
|
44
44
|
};
|
|
45
|
-
return (n, r) => p(g) ? (l(!0), S
|
|
46
|
-
key: e.value
|
|
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
47
|
index: w(e),
|
|
48
48
|
disabled: e.disabled,
|
|
49
49
|
onClick: (u) => {
|
|
50
50
|
var t;
|
|
51
|
-
return (
|
|
51
|
+
return (t = e == null ? void 0 : e.children) != null && t.length ? "" : C(e == null ? void 0 : e.click);
|
|
52
52
|
}
|
|
53
53
|
}, {
|
|
54
54
|
title: h(() => {
|
|
55
55
|
var u;
|
|
56
56
|
return [
|
|
57
|
-
(
|
|
57
|
+
(u = e == null ? void 0 : e.children) != null && u.length ? (l(), o(k, {
|
|
58
58
|
key: 0,
|
|
59
59
|
name: e == null ? void 0 : e.icon
|
|
60
60
|
}, null, 8, ["name"])) : b("", !0),
|
|
61
|
-
|
|
61
|
+
N("span", null, T(e.label), 1)
|
|
62
62
|
];
|
|
63
63
|
}),
|
|
64
64
|
default: h(() => {
|
|
65
65
|
var u;
|
|
66
66
|
return [
|
|
67
|
-
(
|
|
68
|
-
key: 0,
|
|
69
|
-
name: e == null ? void 0 : e.icon
|
|
70
|
-
}, null, 8, ["name"])) : (l(), o(G, {
|
|
67
|
+
(u = e == null ? void 0 : e.children) != null && u.length ? (l(), o(E, {
|
|
71
68
|
key: 1,
|
|
72
69
|
items: e == null ? void 0 : e.children,
|
|
73
70
|
"use-router": c.useRouter
|
|
74
|
-
}, null, 8, ["items", "use-router"]))
|
|
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
75
|
];
|
|
76
76
|
}),
|
|
77
77
|
_: 2
|
|
@@ -79,5 +79,5 @@ const G = /* @__PURE__ */ v({
|
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
81
|
export {
|
|
82
|
-
|
|
82
|
+
E as _
|
|
83
83
|
};
|
|
@@ -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-ba79bb7f.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-639a510c.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-0d958ade.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-639a510c.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-639a510c.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-0d958ade.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-639a510c.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-ba79bb7f.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-63bd5d0a.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-639a510c.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-63bd5d0a.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-639a510c.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-639a510c.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-639a510c.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";
|
package/menu-widget-3cef1e20.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { defineComponent as j, computed as _, onMounted as G, watch as P, nextTick as R, resolveComponent as H, openBlock as E, createBlock as M, mergeProps as T, unref as l, withCtx as V, createTextVNode as K, toDisplayString as L, toHandlers as W, createVNode as q } from "vue";
|
|
2
|
-
import { I as z } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as J } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js";
|
|
4
|
-
import { b as Q } from "./share-field-4e19e866.js";
|
|
5
|
-
import { f as U, w as X } from "./expression-922059fb.js";
|
|
6
|
-
import { _ as Y } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-b58a7fef.js";
|
|
7
|
-
import { _ as b } from "./enum-type-49c67c46.js";
|
|
8
|
-
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-240fce9e.js";
|
|
10
|
-
import "./index-caea10b1.js";
|
|
11
|
-
import "./uuid-4999945f.js";
|
|
12
|
-
import "./baseImp-b427643e.js";
|
|
13
|
-
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-54f44f24.js";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-c4746812.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-497daebe.js";
|
|
20
|
-
import "./multirow-c7a86264.js";
|
|
21
|
-
import "./slot-3b5d19a0.js";
|
|
22
|
-
import "./source-map-b04aec4a.js";
|
|
23
|
-
import "./esprima-e8d15055.js";
|
|
24
|
-
const Z = j({ componentName: X.FieldWidget }), xe = /* @__PURE__ */ j({
|
|
25
|
-
...Z,
|
|
26
|
-
__name: "menu-widget",
|
|
27
|
-
props: { ...z },
|
|
28
|
-
setup(C, { expose: S }) {
|
|
29
|
-
const d = C, { fieldEditor: c, fieldKey: B, attrs: u, events: F, extendAttrs: i, optionItems: m, activeOptionItems: a, exposed: N, fieldObj: O, filterOptionItems: s, existEvent: $, handleEvent: A } = Q(d), p = (r) => {
|
|
30
|
-
var o;
|
|
31
|
-
return (o = u == null ? void 0 : u.value) != null && o.router ? r == null ? void 0 : r.route : r == null ? void 0 : r.value;
|
|
32
|
-
}, y = (r, o) => r == null ? void 0 : r.some((e) => {
|
|
33
|
-
var n, t;
|
|
34
|
-
return (e == null ? void 0 : e.menuItemType) === b.MenuItemGroup ? !1 : p(e) === o ? ((n = e == null ? void 0 : e.children) == null ? void 0 : n.length) > 0 : ((t = e == null ? void 0 : e.children) == null ? void 0 : t.length) > 0 ? y(e.children, o) : !1;
|
|
35
|
-
}), v = (r, o) => r == null ? void 0 : r.some((e) => {
|
|
36
|
-
var n, t;
|
|
37
|
-
return (e == null ? void 0 : e.menuItemType) === b.MenuItemGroup ? !1 : p(e) === o ? !((n = e == null ? void 0 : e.children) != null && n.length) : ((t = e == null ? void 0 : e.children) == null ? void 0 : t.length) > 0 ? v(e.children, o) : !1;
|
|
38
|
-
}), h = _(() => {
|
|
39
|
-
var o, e;
|
|
40
|
-
if ((o = u == null ? void 0 : u.value) != null && o.router && !d.designState) {
|
|
41
|
-
const n = window.location.href;
|
|
42
|
-
var r = s((t) => {
|
|
43
|
-
var f = U.isActiveItem;
|
|
44
|
-
return $(f) ? A(f, { item: t }) : n == null ? void 0 : n.includes(t == null ? void 0 : t.route);
|
|
45
|
-
});
|
|
46
|
-
return r == null ? void 0 : r.map((t) => p(t));
|
|
47
|
-
}
|
|
48
|
-
return (e = a == null ? void 0 : a.value) == null ? void 0 : e.map((n) => p(n));
|
|
49
|
-
}), I = _(() => {
|
|
50
|
-
var r;
|
|
51
|
-
return ((r = h.value) == null ? void 0 : r.find((o) => v(m == null ? void 0 : m.value, o))) || "";
|
|
52
|
-
}), k = _(() => {
|
|
53
|
-
var r = s((e) => {
|
|
54
|
-
var n, t;
|
|
55
|
-
return ((n = h.value) == null ? void 0 : n.some((f) => y([e], f))) || ((t = h.value) == null ? void 0 : t.some((f) => v(e == null ? void 0 : e.children, f)));
|
|
56
|
-
}), o = r == null ? void 0 : r.map((e) => p(e));
|
|
57
|
-
return ((o == null ? void 0 : o.length) || 0) <= 0 ? [] : o;
|
|
58
|
-
}), D = (r) => {
|
|
59
|
-
r == null || r.forEach((o) => {
|
|
60
|
-
var e;
|
|
61
|
-
(e = c.value) == null || e.open(o);
|
|
62
|
-
});
|
|
63
|
-
}, x = (r = !0) => {
|
|
64
|
-
s((o) => {
|
|
65
|
-
var e, n;
|
|
66
|
-
try {
|
|
67
|
-
r ? (e = c.value) == null || e.close(p(o)) : (n = c.value) == null || n.open(p(o));
|
|
68
|
-
} catch {
|
|
69
|
-
}
|
|
70
|
-
return !0;
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
return G(() => {
|
|
74
|
-
var r;
|
|
75
|
-
(r = i == null ? void 0 : i.value) != null && r.openAll && x(!1), P(() => k.value, (o) => {
|
|
76
|
-
R(() => {
|
|
77
|
-
var e;
|
|
78
|
-
(e = i == null ? void 0 : i.value) != null && e.openAll || x(!0), D(o);
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
}), S({ ...N }), (r, o) => {
|
|
82
|
-
const e = H("el-menu");
|
|
83
|
-
return E(), M(J, T(r.$props, {
|
|
84
|
-
"prop-options": { fieldObj: l(O) }
|
|
85
|
-
}), {
|
|
86
|
-
default: V(({ data: n }) => [
|
|
87
|
-
K(L(l(I)) + " ", 1),
|
|
88
|
-
(E(), M(e, T({
|
|
89
|
-
ref_key: "fieldEditor",
|
|
90
|
-
ref: c,
|
|
91
|
-
key: l(B)
|
|
92
|
-
}, l(u), W(l(F)), {
|
|
93
|
-
class: n.injectClass,
|
|
94
|
-
"default-active": l(I),
|
|
95
|
-
"default-openeds": l(k),
|
|
96
|
-
style: n.injectStyle
|
|
97
|
-
}), {
|
|
98
|
-
default: V(() => {
|
|
99
|
-
var t;
|
|
100
|
-
return [
|
|
101
|
-
q(Y, {
|
|
102
|
-
items: l(m),
|
|
103
|
-
useRouter: (t = l(u)) == null ? void 0 : t.router
|
|
104
|
-
}, null, 8, ["items", "useRouter"])
|
|
105
|
-
];
|
|
106
|
-
}),
|
|
107
|
-
_: 2
|
|
108
|
-
}, 1040, ["class", "default-active", "default-openeds", "style"]))
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
}, 16, ["prop-options"]);
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
export {
|
|
116
|
-
xe as default
|
|
117
|
-
};
|