hlrender 0.0.143 → 0.0.145
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/{_pdf-632c7cc5.js → _pdf-890fc6b2.js} +4 -4
- package/{_txt-ca6362c2.js → _txt-b0bcbf36.js} +4 -4
- package/{affix-widget-7a3592e0.js → affix-widget-077fcaa2.js} +7 -7
- package/{alert-widget-30f79ab8.js → alert-widget-0cb19b4b.js} +7 -7
- package/{anchor-widget-57ccc5fd.js → anchor-widget-56f30298.js} +5 -5
- package/{auto-complete-widget-c9745b66.js → auto-complete-widget-d9141a58.js} +8 -8
- package/{avatar-widget-77d6bf81.js → avatar-widget-72201a61.js} +7 -7
- package/{backtop-widget-bfd47c9b.js → backtop-widget-442352a4.js} +7 -7
- package/{badge-widget-85053877.js → badge-widget-c0c2cc91.js} +7 -7
- package/{barcode-widget-2cc85027.js → barcode-widget-49f288cc.js} +5 -5
- package/{breadcrumb-widget-d6c8a88c.js → breadcrumb-widget-cbb13664.js} +5 -5
- package/{button-widget-350df246.js → button-widget-e269106b.js} +7 -7
- package/{cache-widget-bde48db9.js → cache-widget-5558ff3e.js} +7 -7
- package/{card-widget-a1e0be2a.js → card-widget-46fab097.js} +6 -6
- package/{carousel-widget-ac414826.js → carousel-widget-94791891.js} +5 -5
- package/{cascader-widget-20ad6217.js → cascader-widget-b2994a09.js} +7 -7
- package/{chart-widget-47566726.js → chart-widget-b05f267d.js} +5 -5
- package/{checkbox-widget-2f9df60f.js → checkbox-widget-d0eaa48d.js} +7 -7
- package/{collapse-widget-07eebfaf.js → collapse-widget-e6863ed2.js} +5 -5
- package/{color-picker-widget-cd0b39bc.js → color-picker-widget-ce20afef.js} +7 -7
- package/{cont-cell-widget-b79726e4.js → cont-cell-widget-94a97e9a.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-cb527f67.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-38828320.js} +2 -2
- package/{cont-widget-e43eb51e.js → cont-widget-6e64dbee.js} +3 -3
- package/{date-picker-range-widget-b920b125.js → date-picker-range-widget-1e96528e.js} +7 -7
- package/{date-picker-widget-0d96874f.js → date-picker-widget-25a69bab.js} +7 -7
- package/{default-slot-widget-2ab850e5.js → default-slot-widget-74ea2fba.js} +5 -5
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1333d551.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-33c4395d.js} +2 -2
- package/{descriptions-widget-6ca1644e.js → descriptions-widget-874a9c72.js} +6 -6
- package/{dialog-widget-b52fb47f.js → dialog-widget-f7a41bd0.js} +7 -7
- package/{divider-widget-cecc7cf3.js → divider-widget-528e27ac.js} +7 -7
- package/{drag-wrapper-e6fc52d7.js → drag-wrapper-b761890a.js} +2 -2
- package/{drawer-widget-336a7602.js → drawer-widget-37dadd9f.js} +7 -7
- package/{dropdown-widget-d522b316.js → dropdown-widget-12a88d2b.js} +6 -6
- package/{empty-widget-e13387e7.js → empty-widget-61ee6c82.js} +7 -7
- package/{feedback-widget-28bdae48.js → feedback-widget-d48b9e2f.js} +7 -7
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a66216a9.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-36a2cc6d.js} +3 -3
- package/{file-upload-widget-00649cda.js → file-upload-widget-3ff40cab.js} +11 -11
- package/{form-item-wrapper-ea272581.js → form-item-wrapper-b9823959.js} +4 -4
- package/{form-widget-b31edf95.js → form-widget-cd3822fa.js} +5 -5
- package/{grid-col-widget-3728efbc.js → grid-col-widget-3a21aab7.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-1527702c.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-6466642e.js} +3 -3
- package/{grid-widget-96f37e8b.js → grid-widget-3874604d.js} +3 -3
- package/html-text-widget-e749b819.js +50 -0
- package/{icon-widget-c61ede9d.js → icon-widget-0a111a1f.js} +5 -5
- package/{iframe-widget-180de2c2.js → iframe-widget-e546a399.js} +5 -5
- package/{image-widget-bd64c7b5.js → image-widget-d5bf47a0.js} +5 -5
- package/{index-e9b4d9d2.js → index-29f6d629.js} +2 -2
- package/{index-4a277f99.js → index-9949d415.js} +4 -0
- package/{input-number-widget-26cfbce1.js → input-number-widget-ce7fdd33.js} +7 -7
- package/{input-widget-44d7c4bf.js → input-widget-f80d9845.js} +8 -8
- package/{label-wrapper-75db1768.js → label-wrapper-9c5bac53.js} +2 -2
- package/{label-wrapper.vue_vue_type_style_index_0_lang-6a29d13c.js → label-wrapper.vue_vue_type_style_index_0_lang-7c68e29d.js} +1 -1
- package/link-widget-8a52f1df.js +57 -0
- package/{ltable-col-widget-c09edcc9.js → ltable-col-widget-382a845e.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-23307a6e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ed1ed702.js} +5 -5
- package/{ltable-widget-f0ea3ae8.js → ltable-widget-0d868002.js} +3 -3
- package/{menu-widget-4ac51eb9.js → menu-widget-b9ebaa7b.js} +6 -6
- package/{model-widget-4330f4eb.js → model-widget-bdf82157.js} +5 -5
- package/{multirow-bcc05494.js → multirow-79368a8b.js} +1 -1
- package/{multirow-widget-c52dbe5d.js → multirow-widget-83800ba3.js} +7 -7
- package/package.json +1 -1
- package/{pagination-widget-5b6931d7.js → pagination-widget-15ef3812.js} +5 -5
- package/{picture-upload-widget-9d1fd88b.js → picture-upload-widget-d37f3a2e.js} +8 -8
- package/{progress-widget-14c8309c.js → progress-widget-298289ec.js} +6 -6
- package/{qrcode-widget-08f6d36f.js → qrcode-widget-f3225532.js} +5 -5
- package/{radio-widget-51fdc48c.js → radio-widget-278268cb.js} +7 -7
- package/{range-widget-09264c7f.js → range-widget-ed0844d7.js} +8 -8
- package/{rate-widget-8f8633e3.js → rate-widget-3201432c.js} +7 -7
- package/render.es.js +22 -22
- package/render.style.css +1 -1
- package/render.umd.js +237 -237
- package/{result-widget-b171a3ad.js → result-widget-e35e072a.js} +6 -6
- package/{rich-editor-widget-1eda583a.js → rich-editor-widget-7c8b037f.js} +7 -7
- package/{router-widget-0ac92911.js → router-widget-930aa567.js} +5 -5
- package/{select-widget-29fa3f00.js → select-widget-53782b86.js} +7 -7
- package/{sfc-0d63d078.js → sfc-1c6cfb3e.js} +1 -1
- package/{sfcview-e5437f48.js → sfcview-e8ae806c.js} +1 -1
- package/{share-field-102c0951.js → share-field-c8641540.js} +157 -156
- package/{share-file-d85c66e8.js → share-file-74e5328e.js} +1 -1
- package/{slider-widget-9903b487.js → slider-widget-3779fd80.js} +7 -7
- package/static-text-widget-eee6af39.js +51 -0
- package/{steps-widget-d88067a7.js → steps-widget-e3bb0c5b.js} +5 -5
- package/{subMenu-widget-bda117c2.js → subMenu-widget-17ffd0e0.js} +2 -2
- package/subMenu-widget.vue_vue_type_script_setup_true_lang-e9ff3547.js +80 -0
- package/{switch-widget-b3236fee.js → switch-widget-4a0e54cc.js} +7 -7
- package/{tab-pane-widget-88711210.js → tab-pane-widget-53d3842b.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-531f6e67.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a7b4f050.js} +3 -3
- package/{table-col-widget-ecdfd8ae.js → table-col-widget-d74eadc1.js} +4 -4
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-43c2c991.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b730a809.js} +2 -2
- package/{table-widget-758c64bb.js → table-widget-6aa3f306.js} +7 -7
- package/{tabs-widget-8919cbea.js → tabs-widget-bfac610c.js} +4 -4
- package/{tag-widget-8f82fc22.js → tag-widget-b5f60993.js} +7 -7
- package/{text-widget-3494dca3.js → text-widget-58c73b5b.js} +7 -7
- package/{textarea-widget-d277540e.js → textarea-widget-9c1459bd.js} +7 -7
- package/{time-picker-range-widget-d84ecf97.js → time-picker-range-widget-53cdc0eb.js} +7 -7
- package/{time-picker-widget-8923a9c7.js → time-picker-widget-9bb89cda.js} +7 -7
- package/{time-select-widget-75deaf26.js → time-select-widget-d736f0e5.js} +7 -7
- package/{tmpl-widget-26b79630.js → tmpl-widget-a73d1487.js} +6 -6
- package/{tree-select-widget-44244632.js → tree-select-widget-b255c913.js} +7 -7
- package/{tree-widget-df6cc24a.js → tree-widget-9df7b104.js} +5 -5
- package/{verifycode-widget-551d5c1a.js → verifycode-widget-a146a952.js} +5 -5
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8b183563.js +277 -0
- package/{wrapper-widget-5ad36e6b.js → wrapper-widget-9c27592d.js} +3 -3
- package/html-text-widget-c6cbd7d3.js +0 -50
- package/link-widget-b246623e.js +0 -57
- package/static-text-widget-8e18c82a.js +0 -51
- package/subMenu-widget.vue_vue_type_script_setup_true_lang-c1c3e40e.js +0 -73
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-45ed1937.js +0 -279
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { b as U } from "./share-field-c8641540.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8b183563.js";
|
|
5
5
|
import { g as n, w as G } from "./expression-e4a50cfb.js";
|
|
6
6
|
import { s as a } from "./enum-type-5a9b17ba.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
8
|
+
import "./multirow-79368a8b.js";
|
|
9
9
|
import "./baseImp-2703fc95.js";
|
|
10
10
|
import "./enum-type-673fa7d4.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
@@ -13,9 +13,9 @@ import "./dialog-1af96257.js";
|
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-9949d415.js";
|
|
17
17
|
import "./slot-aa6fccb9.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-29f6d629.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
20
|
import "./fieldobj-6e5012ec.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as w, createElementBlock as S, createElementVNode as x, computed as C, nextTick as H, createBlock as P, mergeProps as b, unref as u, withCtx as W, createVNode as I } from "vue";
|
|
2
2
|
import { w as V } from "./expression-e4a50cfb.js";
|
|
3
3
|
import { I as z } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as T } from "./share-field-
|
|
5
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { b as T } from "./share-field-c8641540.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8b183563.js";
|
|
6
6
|
import { R as E } from "./enum-type-5a9b17ba.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
@@ -10,15 +10,15 @@ import "./uuid-4999945f.js";
|
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-4c2d6265.js";
|
|
13
|
-
import "./multirow-
|
|
13
|
+
import "./multirow-79368a8b.js";
|
|
14
14
|
import "./baseImp-2703fc95.js";
|
|
15
15
|
import "./enum-type-673fa7d4.js";
|
|
16
16
|
import "./icon-a0e0cdb0.js";
|
|
17
17
|
import "./dialog-1af96257.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
19
|
+
import "./index-9949d415.js";
|
|
20
20
|
import "./slot-aa6fccb9.js";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-29f6d629.js";
|
|
22
22
|
import "./fieldobj-6e5012ec.js";
|
|
23
23
|
const F = { class: "s-canvas" }, L = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
24
24
|
__name: "_index",
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { defineComponent as de, resolveComponent as U, openBlock as l, createElementBlock as v, Fragment as j, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ee, withCtx as a, createElementVNode as V, renderList as te, createTextVNode as C, toDisplayString as k, withModifiers as w, unref as n, renderSlot as T, computed as L, ref as ne, resolveDynamicComponent as ie, mergeProps as z, toHandlers as ae } from "vue";
|
|
2
|
+
import { e as g, c as re, R as se } from "./enum-type-5a9b17ba.js";
|
|
3
|
+
import { I as pe, a as ue } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { a as oe, i as me, j as ge, k as fe } from "./index-9949d415.js";
|
|
5
|
+
import { S as m } from "./index-29f6d629.js";
|
|
6
|
+
import { f as we } from "./baseImp-2703fc95.js";
|
|
7
|
+
import { c as Q, S as ve } from "./enum-type-673fa7d4.js";
|
|
8
|
+
import { u as ye } from "./fieldobj-6e5012ec.js";
|
|
9
|
+
const We = { key: 0 }, he = { class: "clWhite" }, ce = { class: "clWhite" }, Ce = ["title"], ke = ["title"], Le = ["title"], be = ["title"], $e = /* @__PURE__ */ de({
|
|
10
|
+
__name: "drag-handler",
|
|
11
|
+
props: { ...pe, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
12
|
+
setup(f) {
|
|
13
|
+
const r = f, { setSelected: E, findWidgetById: J, removeWidget: I, moveDownWidget: B, moveUpWidget: D, cloneWidget: F } = oe(r.designer), H = (t) => {
|
|
14
|
+
const d = t == null ? void 0 : t.id;
|
|
15
|
+
if (t.selectable === !1)
|
|
16
|
+
we.info(g.i18nt("designer.hint.currentNodeCannotBeSelected"));
|
|
17
|
+
else {
|
|
18
|
+
const u = J(d);
|
|
19
|
+
E(u);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
return (t, d) => {
|
|
23
|
+
var b, $;
|
|
24
|
+
const u = U("el-dropdown-item"), M = U("el-dropdown-menu"), s = U("el-dropdown"), O = U("el-divider");
|
|
25
|
+
return l(), v(j, null, [
|
|
26
|
+
f.hidden === !0 ? (l(), v("i", We, [
|
|
27
|
+
o(m, { name: "@el-hide" })
|
|
28
|
+
])) : y("", !0),
|
|
29
|
+
f.simple ? (l(), W(s, {
|
|
30
|
+
key: 1,
|
|
31
|
+
onCommand: H
|
|
32
|
+
}, ee({
|
|
33
|
+
default: a(() => [
|
|
34
|
+
V("span", he, [
|
|
35
|
+
o(m, { name: "@el-arrow-down" })
|
|
36
|
+
])
|
|
37
|
+
]),
|
|
38
|
+
_: 2
|
|
39
|
+
}, [
|
|
40
|
+
((b = f.parentTree) == null ? void 0 : b.length) > 0 ? {
|
|
41
|
+
name: "dropdown",
|
|
42
|
+
fn: a(() => [
|
|
43
|
+
o(M, null, {
|
|
44
|
+
default: a(() => [
|
|
45
|
+
(l(!0), v(j, null, te(f.parentTree, (i, h) => (l(), W(u, { command: i }, {
|
|
46
|
+
default: a(() => [
|
|
47
|
+
C(k(i == null ? void 0 : i.label), 1)
|
|
48
|
+
]),
|
|
49
|
+
_: 2
|
|
50
|
+
}, 1032, ["command"]))), 256)),
|
|
51
|
+
o(u, {
|
|
52
|
+
divided: "",
|
|
53
|
+
onClick: d[0] || (d[0] = w((i) => n(F)(t.widget, t.parentList), ["stop"]))
|
|
54
|
+
}, {
|
|
55
|
+
default: a(() => [
|
|
56
|
+
o(m, { name: "@el-clone" }),
|
|
57
|
+
C(k(n(g).i18nt("designer.hint.cloneWidget")), 1)
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
}),
|
|
61
|
+
o(u, {
|
|
62
|
+
onClick: d[1] || (d[1] = w((i) => n(I)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
63
|
+
}, {
|
|
64
|
+
default: a(() => [
|
|
65
|
+
o(m, { name: "@el-delete" }),
|
|
66
|
+
C(k(n(g).i18nt("designer.hint.remove")), 1)
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}),
|
|
70
|
+
t.parentList && t.parentList.length > 1 ? (l(), W(u, {
|
|
71
|
+
key: 0,
|
|
72
|
+
onClick: d[2] || (d[2] = w((i) => n(D)(t.parentList, t.widget), ["stop"]))
|
|
73
|
+
}, {
|
|
74
|
+
default: a(() => [
|
|
75
|
+
o(m, { name: "@el-move-up" }),
|
|
76
|
+
C(k(n(g).i18nt("designer.hint.moveUpWidget")), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
})) : y("", !0),
|
|
80
|
+
t.parentList && t.parentList.length > 1 ? (l(), W(u, {
|
|
81
|
+
key: 1,
|
|
82
|
+
onClick: d[3] || (d[3] = w((i) => n(B)(t.parentList, t.widget), ["stop"]))
|
|
83
|
+
}, {
|
|
84
|
+
default: a(() => [
|
|
85
|
+
o(m, { name: "@el-move-down" }),
|
|
86
|
+
C(k(n(g).i18nt("designer.hint.moveDownWidget")), 1)
|
|
87
|
+
]),
|
|
88
|
+
_: 1
|
|
89
|
+
})) : y("", !0),
|
|
90
|
+
t.$slots.default ? (l(), W(u, {
|
|
91
|
+
key: 2,
|
|
92
|
+
divied: ""
|
|
93
|
+
}, {
|
|
94
|
+
default: a(() => [
|
|
95
|
+
T(t.$slots, "default")
|
|
96
|
+
]),
|
|
97
|
+
_: 3
|
|
98
|
+
})) : y("", !0)
|
|
99
|
+
]),
|
|
100
|
+
_: 3
|
|
101
|
+
})
|
|
102
|
+
]),
|
|
103
|
+
key: "0"
|
|
104
|
+
} : void 0
|
|
105
|
+
]), 1024)) : (l(), v(j, { key: 2 }, [
|
|
106
|
+
o(s, { onCommand: H }, ee({
|
|
107
|
+
default: a(() => {
|
|
108
|
+
var i, h;
|
|
109
|
+
return [
|
|
110
|
+
V("span", ce, [
|
|
111
|
+
C(k(n(g).i18n2t(
|
|
112
|
+
`designer.widgetLabel.${(i = t.widget) == null ? void 0 : i.type}`,
|
|
113
|
+
`extension.widgetLabel.${(h = t.widget) == null ? void 0 : h.type}`
|
|
114
|
+
)) + " ", 1),
|
|
115
|
+
o(m, {
|
|
116
|
+
name: "@el-arrow-down",
|
|
117
|
+
class: "el-icon--right"
|
|
118
|
+
})
|
|
119
|
+
])
|
|
120
|
+
];
|
|
121
|
+
}),
|
|
122
|
+
_: 2
|
|
123
|
+
}, [
|
|
124
|
+
(($ = f.parentTree) == null ? void 0 : $.length) > 0 ? {
|
|
125
|
+
name: "dropdown",
|
|
126
|
+
fn: a(() => [
|
|
127
|
+
o(M, null, {
|
|
128
|
+
default: a(() => [
|
|
129
|
+
(l(!0), v(j, null, te(f.parentTree, (i, h) => (l(), W(u, { command: i }, {
|
|
130
|
+
default: a(() => [
|
|
131
|
+
C(k(i == null ? void 0 : i.label), 1)
|
|
132
|
+
]),
|
|
133
|
+
_: 2
|
|
134
|
+
}, 1032, ["command"]))), 256))
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
})
|
|
138
|
+
]),
|
|
139
|
+
key: "0"
|
|
140
|
+
} : void 0
|
|
141
|
+
]), 1024),
|
|
142
|
+
o(O, {
|
|
143
|
+
direction: "vertical",
|
|
144
|
+
"border-style": "dashed",
|
|
145
|
+
color: "white"
|
|
146
|
+
}),
|
|
147
|
+
T(t.$slots, "default"),
|
|
148
|
+
t.parentList && t.parentList.length > 1 ? (l(), v("i", {
|
|
149
|
+
key: 0,
|
|
150
|
+
title: n(g).i18nt("designer.hint.moveUpWidget"),
|
|
151
|
+
onClick: d[4] || (d[4] = w((i) => n(D)(t.parentList, t.widget), ["stop"]))
|
|
152
|
+
}, [
|
|
153
|
+
o(m, { name: "@el-move-up" })
|
|
154
|
+
], 8, Ce)) : y("", !0),
|
|
155
|
+
t.parentList && t.parentList.length > 1 ? (l(), v("i", {
|
|
156
|
+
key: 1,
|
|
157
|
+
title: n(g).i18nt("designer.hint.moveDownWidget"),
|
|
158
|
+
onClick: d[5] || (d[5] = w((i) => n(B)(t.parentList, t.widget), ["stop"]))
|
|
159
|
+
}, [
|
|
160
|
+
o(m, { name: "@el-move-down" })
|
|
161
|
+
], 8, ke)) : y("", !0),
|
|
162
|
+
V("i", {
|
|
163
|
+
title: n(g).i18nt("designer.hint.cloneWidget"),
|
|
164
|
+
onClick: d[6] || (d[6] = w((i) => n(F)(t.widget, t.parentList), ["stop"]))
|
|
165
|
+
}, [
|
|
166
|
+
o(m, { name: "@el-clone" })
|
|
167
|
+
], 8, Le),
|
|
168
|
+
V("i", {
|
|
169
|
+
title: n(g).i18nt("designer.hint.remove"),
|
|
170
|
+
onClick: d[7] || (d[7] = w((i) => n(I)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
171
|
+
}, [
|
|
172
|
+
o(m, { name: "@el-delete" })
|
|
173
|
+
], 8, be)
|
|
174
|
+
], 64))
|
|
175
|
+
], 64);
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
const Fe = /* @__PURE__ */ de({
|
|
180
|
+
__name: "widget-wrapper",
|
|
181
|
+
props: { ...ue },
|
|
182
|
+
setup(f) {
|
|
183
|
+
var Y;
|
|
184
|
+
const r = f, { selectWidget: E } = oe(r.designer), { widgetTree: J } = me((Y = r.designer) == null ? void 0 : Y.widgetList, !0), { pathNodes: I, parentTree: B } = ge(J.value, r.widget), { size: D, displayLayout: F, labelAlign: H, labelWidth: t, formItemFlag: d, labelSuffix: u, labelHidden: M } = fe(r, re(I.value)), { getAttrProp: s } = ye(r), O = L(() => s == null ? void 0 : s("hidden")), b = L(() => s == null ? void 0 : s("labelWidth")), $ = (e) => e && !["div", "span"].includes(e), i = L(() => {
|
|
185
|
+
var e;
|
|
186
|
+
return (e = r.widget) == null ? void 0 : e.id;
|
|
187
|
+
}), h = L(() => {
|
|
188
|
+
var e, p;
|
|
189
|
+
return (e = r.widget) != null && e.type ? [Q.grid, Q.gridCol, Q.wrapper].includes((p = r.widget) == null ? void 0 : p.type) : !1;
|
|
190
|
+
}), S = L(() => {
|
|
191
|
+
const e = s == null ? void 0 : s("width"), p = s == null ? void 0 : s("ctrlWidth"), c = s == null ? void 0 : s("customClass"), R = s == null ? void 0 : s("componentWrapperClass");
|
|
192
|
+
let N = {};
|
|
193
|
+
return b.value != ve.auto && b.value && (N.labelWidth = b.value), {
|
|
194
|
+
size: D.value,
|
|
195
|
+
labelAlign: H.value,
|
|
196
|
+
labelWidth: t.value,
|
|
197
|
+
// 隐藏的标签宽度仍旧保留,为占位
|
|
198
|
+
formItemFlag: d.value,
|
|
199
|
+
formItemAttr: N,
|
|
200
|
+
ctrlWidth: p,
|
|
201
|
+
displayStyle: F.value,
|
|
202
|
+
labelSuffix: u.value || "",
|
|
203
|
+
injectStyle: {},
|
|
204
|
+
//verticalAlign: verticalAlign.value, width: withLabel.value ? '100%' : ctrlWidth.value
|
|
205
|
+
//注:宽度全屏
|
|
206
|
+
injectClass: [se(c), e ? "" : "full-width", i.value],
|
|
207
|
+
// filterDisplay.value ? displayStyle.value : ''
|
|
208
|
+
componentWrapperClass: se(R)
|
|
209
|
+
};
|
|
210
|
+
}), X = L(() => {
|
|
211
|
+
var e, p, c;
|
|
212
|
+
return !!r.designer && ((e = r.widget) == null ? void 0 : e.id) === ((c = (p = r.designer) == null ? void 0 : p.selectedWidget) == null ? void 0 : c.id);
|
|
213
|
+
}), q = ne(), G = ne(), le = L(() => {
|
|
214
|
+
var e, p;
|
|
215
|
+
if (q.value && G.value && X.value)
|
|
216
|
+
return ((e = q.value) == null ? void 0 : e.offsetWidth) > ((p = G.value) == null ? void 0 : p.offsetWidth);
|
|
217
|
+
});
|
|
218
|
+
return (e, p) => {
|
|
219
|
+
var c, R, N, Z, A, P;
|
|
220
|
+
return e.designState ? (l(), W(ie(e.componentName), z({
|
|
221
|
+
key: 0,
|
|
222
|
+
class: ["field-wrapper", [n(X) ? "selected" : "", " drag-handler", e.propOptions.class, n(i), e.showWrapperComponent ? n(S).injectClass : null]],
|
|
223
|
+
style: e.propOptions.style,
|
|
224
|
+
onClick: p[0] || (p[0] = w((K) => n(E)(e.widget, e.parentWidget, e.parentList), ["stop"])),
|
|
225
|
+
ref_key: "wrapperRef",
|
|
226
|
+
ref: G,
|
|
227
|
+
tabindex: 0
|
|
228
|
+
}, $(e.componentName) ? (R = (c = e.propOptions) == null ? void 0 : c.fieldObj) == null ? void 0 : R.attrs : {}), {
|
|
229
|
+
default: a(() => {
|
|
230
|
+
var K, _, x;
|
|
231
|
+
return [
|
|
232
|
+
T(e.$slots, "default", { data: n(S) }),
|
|
233
|
+
((_ = (K = e.designer) == null ? void 0 : K.selectedWidget) == null ? void 0 : _.id) === ((x = e.widget) == null ? void 0 : x.id) ? (l(), v("div", {
|
|
234
|
+
key: 0,
|
|
235
|
+
class: "action",
|
|
236
|
+
ref_key: "dragHandlerRef",
|
|
237
|
+
ref: q
|
|
238
|
+
}, [
|
|
239
|
+
o($e, {
|
|
240
|
+
simple: n(le),
|
|
241
|
+
"design-state": e.designState,
|
|
242
|
+
designer: e.designer,
|
|
243
|
+
widget: e.widget,
|
|
244
|
+
"parent-widget": e.parentWidget,
|
|
245
|
+
"parent-list": e.parentList,
|
|
246
|
+
parentTree: n(B),
|
|
247
|
+
hidden: n(O)
|
|
248
|
+
}, {
|
|
249
|
+
default: a(() => [
|
|
250
|
+
T(e.$slots, "drag")
|
|
251
|
+
]),
|
|
252
|
+
_: 3
|
|
253
|
+
}, 8, ["simple", "design-state", "designer", "widget", "parent-widget", "parent-list", "parentTree", "hidden"])
|
|
254
|
+
], 512)) : y("", !0)
|
|
255
|
+
];
|
|
256
|
+
}),
|
|
257
|
+
_: 3
|
|
258
|
+
}, 16, ["class", "style"])) : !n(O) || n(h) ? (l(), v(j, { key: 1 }, [
|
|
259
|
+
e.showWrapperComponent ? (l(), W(ie(e.componentName), z({ key: 0 }, $(e.componentName) ? (Z = (N = e.propOptions) == null ? void 0 : N.fieldObj) == null ? void 0 : Z.attrs : {}, ae($(e.componentName) ? (P = (A = e.propOptions) == null ? void 0 : A.fieldObj) == null ? void 0 : P.events : {}), {
|
|
260
|
+
class: ["_id_BycomponentName", [...n(S).injectClass, n(i), e.propOptions.class, n(O) && n(h) ? "hlhidden" : ""]],
|
|
261
|
+
style: { ...n(S).injectStyle, ...e.propOptions.style }
|
|
262
|
+
}), {
|
|
263
|
+
default: a(() => [
|
|
264
|
+
T(e.$slots, "default", z({ data: n(S) }, e.$props))
|
|
265
|
+
]),
|
|
266
|
+
_: 3
|
|
267
|
+
}, 16, ["class", "style"])) : T(e.$slots, "default", z({
|
|
268
|
+
key: 1,
|
|
269
|
+
data: n(S)
|
|
270
|
+
}, e.$props))
|
|
271
|
+
], 64)) : y("", !0);
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
export {
|
|
276
|
+
Fe as _
|
|
277
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
4
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as A } from "./drag-wrapper-b761890a.js";
|
|
4
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8b183563.js";
|
|
5
5
|
import { w as F } from "./expression-e4a50cfb.js";
|
|
6
6
|
import { W as v } from "./enum-type-673fa7d4.js";
|
|
7
|
-
import { b as N, a as $ } from "./share-field-
|
|
7
|
+
import { b as N, a as $ } from "./share-field-c8641540.js";
|
|
8
8
|
import { c as E } from "./slot-aa6fccb9.js";
|
|
9
9
|
function H(i) {
|
|
10
10
|
const n = y({}), { componentWrapperClass: c, customClass: a } = E({ widget: i.widget }), { exposed: t, attrs: d, extendAttrs: m, fieldKey: f, fieldObj: g } = N(i), { setAllRefList: l } = $(n.value), p = (o = !1) => {
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
|
|
2
|
-
import { I as C } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as P } from "./share-field-102c0951.js";
|
|
4
|
-
import { w as b } from "./expression-e4a50cfb.js";
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-45ed1937.js";
|
|
6
|
-
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-8fdd2d4a.js";
|
|
7
|
-
import { R as F } from "./enum-type-5a9b17ba.js";
|
|
8
|
-
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-bcc05494.js";
|
|
10
|
-
import "./baseImp-2703fc95.js";
|
|
11
|
-
import "./enum-type-673fa7d4.js";
|
|
12
|
-
import "./icon-a0e0cdb0.js";
|
|
13
|
-
import "./dialog-1af96257.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-4999945f.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-4a277f99.js";
|
|
18
|
-
import "./slot-aa6fccb9.js";
|
|
19
|
-
import "./source-map-b04aec4a.js";
|
|
20
|
-
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./index-e9b4d9d2.js";
|
|
22
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-6e5012ec.js";
|
|
24
|
-
const $ = i({ componentName: b.FieldWidget }), U = /* @__PURE__ */ i({
|
|
25
|
-
...$,
|
|
26
|
-
__name: "html-text-widget",
|
|
27
|
-
props: { ...C },
|
|
28
|
-
setup(m, { expose: s }) {
|
|
29
|
-
const n = m, { exposed: a, fieldEditor: f, extendAttrs: t, attrs: l, fieldObj: c } = P(n);
|
|
30
|
-
return s({ ...a }), (d, j) => (_(), u(h, x(d.$props, {
|
|
31
|
-
"prop-options": { fieldObj: o(c) }
|
|
32
|
-
}), {
|
|
33
|
-
default: g(() => {
|
|
34
|
-
var r, e, p;
|
|
35
|
-
return [
|
|
36
|
-
w(k, {
|
|
37
|
-
ref_key: "fieldEditor",
|
|
38
|
-
ref: f,
|
|
39
|
-
"component-name": "div",
|
|
40
|
-
allProps: { customClass: o(F)((r = o(t)) == null ? void 0 : r.customClass), content: ((e = o(l)) == null ? void 0 : e.content) || ((p = o(t)) == null ? void 0 : p.content) }
|
|
41
|
-
}, null, 8, ["allProps"])
|
|
42
|
-
];
|
|
43
|
-
}),
|
|
44
|
-
_: 1
|
|
45
|
-
}, 16, ["prop-options"]));
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
export {
|
|
49
|
-
U as default
|
|
50
|
-
};
|
package/link-widget-b246623e.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, openBlock as e, createBlock as r, mergeProps as g, unref as o, withCtx as w, createCommentVNode as a, createVNode as N } from "vue";
|
|
2
|
-
import { I as O } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1333d551.js";
|
|
4
|
-
import { w as b } from "./expression-e4a50cfb.js";
|
|
5
|
-
import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-8fdd2d4a.js";
|
|
6
|
-
import { S as c } from "./index-e9b4d9d2.js";
|
|
7
|
-
import { b as F } from "./share-field-102c0951.js";
|
|
8
|
-
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-5a9b17ba.js";
|
|
10
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-45ed1937.js";
|
|
11
|
-
import "./index-4a277f99.js";
|
|
12
|
-
import "./uuid-4999945f.js";
|
|
13
|
-
import "./enum-type-673fa7d4.js";
|
|
14
|
-
import "./baseImp-2703fc95.js";
|
|
15
|
-
import "./icon-a0e0cdb0.js";
|
|
16
|
-
import "./dialog-1af96257.js";
|
|
17
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "element-plus";
|
|
19
|
-
import "./fieldobj-6e5012ec.js";
|
|
20
|
-
import "./slot-aa6fccb9.js";
|
|
21
|
-
import "./drag-wrapper-e6fc52d7.js";
|
|
22
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./source-map-b04aec4a.js";
|
|
24
|
-
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-bcc05494.js";
|
|
26
|
-
const S = l({ componentName: b.FieldWidget }), to = /* @__PURE__ */ l({
|
|
27
|
-
...S,
|
|
28
|
-
__name: "link-widget",
|
|
29
|
-
props: { ...O },
|
|
30
|
-
setup(f, { expose: d }) {
|
|
31
|
-
const _ = f, { attrs: u, extendAttrs: t, exposed: x, fieldObj: I } = F(_);
|
|
32
|
-
return d({ ...x }), (k, V) => (e(), r(P, g(k.$props, {
|
|
33
|
-
propOptions: { elementName: "el-link", fieldObj: o(I) }
|
|
34
|
-
}), {
|
|
35
|
-
contentSlot: w(({ data: $ }) => {
|
|
36
|
-
var p, m, i, n, s;
|
|
37
|
-
return [
|
|
38
|
-
(p = o(t)) != null && p.prefixIcon ? (e(), r(c, {
|
|
39
|
-
key: (m = o(t)) == null ? void 0 : m.prefixIcon,
|
|
40
|
-
name: (i = o(t)) == null ? void 0 : i.prefixIcon
|
|
41
|
-
}, null, 8, ["name"])) : a("", !0),
|
|
42
|
-
N(C, {
|
|
43
|
-
allProps: { content: o(u).content || o(t).content }
|
|
44
|
-
}, null, 8, ["allProps"]),
|
|
45
|
-
(n = o(t)) != null && n.suffixIcon ? (e(), r(c, {
|
|
46
|
-
key: 1,
|
|
47
|
-
name: (s = o(t)) == null ? void 0 : s.suffixIcon
|
|
48
|
-
}, null, 8, ["name"])) : a("", !0)
|
|
49
|
-
];
|
|
50
|
-
}),
|
|
51
|
-
_: 1
|
|
52
|
-
}, 16, ["propOptions"]));
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
to as default
|
|
57
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, openBlock as c, createBlock as d, mergeProps as _, unref as o, withCtx as u, createVNode as x } from "vue";
|
|
2
|
-
import { I as g } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as w } from "./share-field-102c0951.js";
|
|
4
|
-
import { w as C } from "./expression-e4a50cfb.js";
|
|
5
|
-
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-45ed1937.js";
|
|
6
|
-
import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-8fdd2d4a.js";
|
|
7
|
-
import { R as h } from "./enum-type-5a9b17ba.js";
|
|
8
|
-
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-bcc05494.js";
|
|
10
|
-
import "./baseImp-2703fc95.js";
|
|
11
|
-
import "./enum-type-673fa7d4.js";
|
|
12
|
-
import "./icon-a0e0cdb0.js";
|
|
13
|
-
import "./dialog-1af96257.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-4999945f.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-4a277f99.js";
|
|
18
|
-
import "./slot-aa6fccb9.js";
|
|
19
|
-
import "./source-map-b04aec4a.js";
|
|
20
|
-
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./index-e9b4d9d2.js";
|
|
22
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-6e5012ec.js";
|
|
24
|
-
const k = e({ componentName: C.FieldWidget }), S = /* @__PURE__ */ e({
|
|
25
|
-
...k,
|
|
26
|
-
__name: "static-text-widget",
|
|
27
|
-
props: { ...g },
|
|
28
|
-
setup(p, { expose: i }) {
|
|
29
|
-
const m = p, { exposed: s, fieldEditor: n, attrs: a, extendAttrs: t, fieldObj: f } = w(m);
|
|
30
|
-
return i({ ...s }), (l, F) => (c(), d(P, _(l.$props, {
|
|
31
|
-
"prop-options": { fieldObj: o(f) }
|
|
32
|
-
}), {
|
|
33
|
-
default: u(() => {
|
|
34
|
-
var r;
|
|
35
|
-
return [
|
|
36
|
-
x(b, {
|
|
37
|
-
ref_key: "fieldEditor",
|
|
38
|
-
ref: n,
|
|
39
|
-
"component-name": "div",
|
|
40
|
-
allProps: { customClass: o(h)((r = o(t)) == null ? void 0 : r.customClass), content: o(a).content || o(t).content },
|
|
41
|
-
tohtml: !1
|
|
42
|
-
}, null, 8, ["allProps"])
|
|
43
|
-
];
|
|
44
|
-
}),
|
|
45
|
-
_: 1
|
|
46
|
-
}, 16, ["prop-options"]));
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
S as default
|
|
51
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, openBlock as r, createElementBlock as y, Fragment as I, renderList as C, createBlock as o, resolveDynamicComponent as _, withCtx as d, createCommentVNode as x, createElementVNode as M, toDisplayString as v } from "vue";
|
|
2
|
-
import { S as p } from "./index-e9b4d9d2.js";
|
|
3
|
-
import { _ as a } from "./enum-type-673fa7d4.js";
|
|
4
|
-
import { g as F, K as N, P as S } from "./baseImp-2703fc95.js";
|
|
5
|
-
import { u as T } from "./icon-a0e0cdb0.js";
|
|
6
|
-
const V = /* @__PURE__ */ f({
|
|
7
|
-
__name: "subMenu-widget",
|
|
8
|
-
props: {
|
|
9
|
-
items: null,
|
|
10
|
-
useRouter: null
|
|
11
|
-
},
|
|
12
|
-
setup(c) {
|
|
13
|
-
const t = (e) => {
|
|
14
|
-
var n;
|
|
15
|
-
if (e.menuItemType === a.None || !e.menuItemType)
|
|
16
|
-
return ((n = e == null ? void 0 : e.children) == null ? void 0 : n.length) > 0 ? "el-sub-menu" : "el-menu-item";
|
|
17
|
-
let l = "";
|
|
18
|
-
switch (e.menuItemType) {
|
|
19
|
-
case a.MenuItem:
|
|
20
|
-
l = "el-menu-item";
|
|
21
|
-
break;
|
|
22
|
-
case a.MenuItemGroup:
|
|
23
|
-
l = "el-menu-item-group";
|
|
24
|
-
break;
|
|
25
|
-
case a.SubMenu:
|
|
26
|
-
l = "el-sub-menu";
|
|
27
|
-
break;
|
|
28
|
-
default:
|
|
29
|
-
l = "el-menu-item";
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
return l;
|
|
33
|
-
}, { instance: k } = T(), b = F({ instance: k }), g = (e) => {
|
|
34
|
-
N(S.getValue(e) || "", { ctx: b });
|
|
35
|
-
};
|
|
36
|
-
return (e, l) => (r(!0), y(I, null, C(c.items, (n, h) => (r(), o(_(t(n)), {
|
|
37
|
-
key: h,
|
|
38
|
-
index: c.useRouter ? n == null ? void 0 : n.route : (n == null ? void 0 : n.value) + "",
|
|
39
|
-
disabled: n.disabled,
|
|
40
|
-
onClick: (u) => {
|
|
41
|
-
var s;
|
|
42
|
-
return ((s = n == null ? void 0 : n.children) == null ? void 0 : s.length) <= 0 ? g(n == null ? void 0 : n.click) : "";
|
|
43
|
-
}
|
|
44
|
-
}, {
|
|
45
|
-
title: d(() => {
|
|
46
|
-
var u;
|
|
47
|
-
return [
|
|
48
|
-
((u = n == null ? void 0 : n.children) == null ? void 0 : u.length) > 0 ? (r(), o(p, {
|
|
49
|
-
key: 0,
|
|
50
|
-
name: n == null ? void 0 : n.icon
|
|
51
|
-
}, null, 8, ["name"])) : x("", !0),
|
|
52
|
-
M("span", null, v(n.label), 1)
|
|
53
|
-
];
|
|
54
|
-
}),
|
|
55
|
-
default: d(() => {
|
|
56
|
-
var u;
|
|
57
|
-
return [
|
|
58
|
-
((u = n == null ? void 0 : n.children) == null ? void 0 : u.length) <= 0 ? (r(), o(p, {
|
|
59
|
-
key: 0,
|
|
60
|
-
name: n == null ? void 0 : n.icon
|
|
61
|
-
}, null, 8, ["name"])) : (r(), o(V, {
|
|
62
|
-
key: 1,
|
|
63
|
-
items: n == null ? void 0 : n.children
|
|
64
|
-
}, null, 8, ["items"]))
|
|
65
|
-
];
|
|
66
|
-
}),
|
|
67
|
-
_: 2
|
|
68
|
-
}, 1032, ["index", "disabled", "onClick"]))), 128));
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
export {
|
|
72
|
-
V as _
|
|
73
|
-
};
|