hlrender 0.0.179 → 0.0.181
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-86b339d2.js → _pdf-970ecf48.js} +5 -5
- package/{_txt-0c3484d7.js → _txt-a7b54cca.js} +5 -5
- package/{_unsupport-4a214aba.js → _unsupport-11301314.js} +1 -1
- package/{affix-widget-4d356ec0.js → affix-widget-3a134f27.js} +15 -15
- package/{alert-widget-58e64964.js → alert-widget-95905323.js} +15 -15
- package/{anchor-widget-2e80233c.js → anchor-widget-e2669600.js} +12 -12
- package/{auto-complete-widget-926d8808.js → auto-complete-widget-8d31a22e.js} +15 -15
- package/{avatar-widget-d85bf6b1.js → avatar-widget-5d732be8.js} +15 -15
- package/{backtop-widget-acac4847.js → backtop-widget-e8e3f3db.js} +15 -15
- package/{badge-widget-0cdebc3c.js → badge-widget-4807221b.js} +15 -15
- package/{barcode-widget-fd4b6574.js → barcode-widget-331908c3.js} +12 -12
- package/{baseImp-2a99f96b.js → baseImp-ef3cb3bd.js} +5 -5
- package/{breadcrumb-widget-e4c9b4f3.js → breadcrumb-widget-5b424ea5.js} +12 -12
- package/{button-widget-a8ca402b.js → button-widget-a76f1e4b.js} +15 -15
- package/{cache-widget-49fa3954.js → cache-widget-04559d51.js} +14 -14
- package/{card-widget-2c86a944.js → card-widget-af956c22.js} +13 -13
- package/{carousel-widget-00daff39.js → carousel-widget-49a22770.js} +13 -13
- package/{cascader-widget-951ff329.js → cascader-widget-3c5bb31f.js} +14 -14
- package/{chart-widget-e1bd4a5b.js → chart-widget-ee16a734.js} +12 -12
- package/{checkbox-widget-c59b7c70.js → checkbox-widget-7afe17f3.js} +17 -17
- package/{collapse-widget-30899a5c.js → collapse-widget-b89898a5.js} +13 -13
- package/{color-picker-widget-0c42a4d1.js → color-picker-widget-bd72d8b8.js} +14 -14
- package/{cont-cell-widget-9837e445.js → cont-cell-widget-4f7c9f65.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b4239fb6.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a213baf3.js} +5 -5
- package/{cont-widget-9b9be9da.js → cont-widget-55624a76.js} +5 -5
- package/{content-wrapper-d4cd27e3.js → content-wrapper-46490eb8.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-b024182b.js → content-wrapper.vue_vue_type_script_setup_true_lang-14a952ca.js} +3 -3
- package/{date-picker-range-widget-4bf5014e.js → date-picker-range-widget-af7017f0.js} +14 -14
- package/{date-picker-widget-3926774d.js → date-picker-widget-7c5eea47.js} +14 -14
- package/default-slot-widget-bdae5dfc.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5a89d225.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-103c3963.js} +7 -7
- package/{descriptions-widget-bbc98713.js → descriptions-widget-8b111af9.js} +13 -13
- package/{dialog-fe01221d.js → dialog-d522d309.js} +2 -2
- package/{dialog-widget-01ecbc04.js → dialog-widget-414881f2.js} +14 -14
- package/{divider-widget-84ac6d7e.js → divider-widget-0645dbf9.js} +15 -15
- package/{drag-wrapper-4cb5cc54.js → drag-wrapper-585fa095.js} +6 -6
- package/{drawer-widget-58508c73.js → drawer-widget-bdcd48c7.js} +14 -14
- package/{dropdown-widget-153bed70.js → dropdown-widget-d468c532.js} +13 -13
- package/{empty-widget-c1a50044.js → empty-widget-79dfe7c7.js} +15 -15
- package/{enum-type-f137dd08.js → enum-type-3bd819a0.js} +1 -1
- package/{enum-type-a8519266.js → enum-type-6e7ccb0e.js} +1 -1
- package/{expression-63558be5.js → expression-6b854d90.js} +1414 -1395
- package/feedback-widget-198db96a.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7e15a60f.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-1377c185.js} +5 -5
- package/{fieldobj-e046d93f.js → fieldobj-ec130f21.js} +1 -1
- package/{file-upload-widget-bfc335f0.js → file-upload-widget-5e8cb63b.js} +19 -19
- package/{form-item-wrapper-8f8ae4b6.js → form-item-wrapper-e851606c.js} +10 -10
- package/{form-widget-ab4b7d70.js → form-widget-820c417a.js} +37 -37
- package/{grid-col-widget-8f3ce8d1.js → grid-col-widget-c5c4d6af.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-94692979.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-1133334e.js} +5 -5
- package/{grid-widget-642036c3.js → grid-widget-6e1e5d23.js} +8 -8
- package/{html-text-widget-7f058c95.js → html-text-widget-4e88fee0.js} +13 -13
- package/{icon-widget-aa21783a.js → icon-widget-5c3da966.js} +12 -12
- package/{iframe-widget-bea5379d.js → iframe-widget-b202504b.js} +12 -12
- package/{image-widget-ddcc9f73.js → image-widget-79ca7db7.js} +12 -12
- package/{index-19923435.js → index-70a7d3e6.js} +1 -1
- package/{index-c6960059.js → index-8698042c.js} +3 -3
- package/{index-796f510c.js → index-c870ca03.js} +4 -4
- package/{input-number-widget-5ac177e1.js → input-number-widget-3c66440d.js} +14 -14
- package/{input-widget-64489c0e.js → input-widget-32a9bcd5.js} +15 -15
- package/{label-wrapper-29608d84.js → label-wrapper-6be1aa7d.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-ac9a4c05.js → label-wrapper.vue_vue_type_style_index_0_lang-a7f0ebd1.js} +3 -3
- package/{link-widget-b27eb8b5.js → link-widget-69826802.js} +15 -15
- package/{ltable-col-widget-fcdbd144.js → ltable-col-widget-7079c3d5.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4847b03e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-600a72a3.js} +9 -9
- package/{ltable-widget-a89ed3f0.js → ltable-widget-2c89bf07.js} +5 -5
- package/menu-widget-c14a2e70.js +127 -0
- package/{model-widget-68a169ab.js → model-widget-5359a51f.js} +12 -12
- package/{multirow-cc17167a.js → multirow-403376a7.js} +5 -5
- package/{multirow-widget-2bd2c04c.js → multirow-widget-2ced048e.js} +14 -14
- package/package.json +1 -1
- package/{pagination-widget-9719bd8e.js → pagination-widget-0b695a29.js} +12 -12
- package/{picture-upload-widget-77e9d467.js → picture-upload-widget-e07e6d40.js} +15 -15
- package/{progress-widget-08cc816a.js → progress-widget-673292a6.js} +13 -13
- package/{propresult-d434045a.js → propresult-786cc8a8.js} +1 -1
- package/{qrcode-widget-f82ddc2e.js → qrcode-widget-aac365e4.js} +12 -12
- package/{radio-widget-b9a72bbe.js → radio-widget-3504a7fc.js} +14 -14
- package/{range-widget-06f0be5b.js → range-widget-f2d890b7.js} +15 -15
- package/{rate-widget-0822f4f4.js → rate-widget-d0e4ed6c.js} +14 -14
- package/render.es.js +812 -809
- package/render.umd.js +234 -234
- package/{result-widget-a6dbfdb5.js → result-widget-e66be700.js} +13 -13
- package/{rich-editor-widget copy-3bad0f55.js → rich-editor-widget copy-d5a97bdb.js } +14 -14
- package/{rich-editor-widget-a651ee99.js → rich-editor-widget-80cd34cc.js} +14 -14
- package/{router-widget-582c95d8.js → router-widget-b44df0c8.js} +12 -12
- package/{select-widget-910a15c2.js → select-widget-1ada6ee5.js} +14 -14
- package/{sfc-e4e6d925.js → sfc-06351807.js} +7 -7
- package/{sfcview-b56b45bb.js → sfcview-6c1458c1.js} +6 -6
- package/{share-field-b5360287.js → share-field-57b331d5.js} +30 -30
- package/{share-file-809e6d34.js → share-file-3a835d3c.js} +5 -5
- package/{slider-widget-a2f33bac.js → slider-widget-830fc7aa.js} +14 -14
- package/{slot-bfb3564a.js → slot-a57be6e4.js} +18 -18
- package/{static-text-widget-a499d491.js → static-text-widget-d4e2f747.js} +13 -13
- package/{steps-widget-e6e57038.js → steps-widget-28e8deba.js} +12 -12
- package/{subMenu-widget-caa98aa2.js → subMenu-widget-c6c9d8d2.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-0a0dab4f.js → subMenu-widget.vue_vue_type_script_setup_true_lang-f9546085.js} +3 -3
- package/{switch-widget-5374eb5f.js → switch-widget-95bbf734.js} +14 -14
- package/{tab-pane-widget-87bd4d1f.js → tab-pane-widget-32a4aa5a.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-72cb406d.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7ed8a279.js} +5 -5
- package/{table-col-widget-41f0f567.js → table-col-widget-d2b1ff72.js} +10 -10
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a8735f8c.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-201c7824.js} +5 -5
- package/{table-widget-272726d7.js → table-widget-f083ede7.js} +25 -25
- package/{tabs-widget-6b1ff838.js → tabs-widget-53f20f7f.js} +12 -12
- package/{tag-widget-46d8c461.js → tag-widget-a3ad41a3.js} +15 -15
- package/{text-widget-9bd7dc43.js → text-widget-f7b0e8dd.js} +15 -15
- package/{textarea-widget-82a1fbaa.js → textarea-widget-528c634f.js} +14 -14
- package/{time-picker-range-widget-80d1374c.js → time-picker-range-widget-7942da3b.js} +14 -14
- package/{time-picker-widget-d261a79d.js → time-picker-widget-ee46389f.js} +14 -14
- package/{time-select-widget-327350af.js → time-select-widget-14869630.js} +14 -14
- package/{tmpl-widget-f3695223.js → tmpl-widget-eb57a60f.js} +18 -18
- package/{tree-select-widget-9a0e4a56.js → tree-select-widget-fd8bc4ae.js} +14 -14
- package/{tree-widget-2f591538.js → tree-widget-829c0286.js} +17 -17
- package/{verifycode-widget-bd2d939b.js → verifycode-widget-411dd014.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e480eb5c.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-73d1fd5c.js} +22 -22
- package/{wrapper-widget-0ff2ca6f.js → wrapper-widget-b0344846.js} +6 -6
- package/default-slot-widget-ae81666d.js +0 -26
- package/feedback-widget-e6814f97.js +0 -26
- package/menu-widget-00da6d17.js +0 -124
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as u, unref as t, withCtx as M, createElementBlock as n, Fragment as c, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
|
|
2
|
-
import { e as E, t as J, f as q } from "./enum-type-
|
|
2
|
+
import { e as E, t as J, f as q } from "./enum-type-6e7ccb0e.js";
|
|
3
3
|
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { b as H } from "./share-field-
|
|
5
|
-
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
7
|
-
import { i as Q, d as U } from "./slot-
|
|
8
|
-
import { c as X } from "./multirow-
|
|
9
|
-
import {
|
|
4
|
+
import { b as H } from "./share-field-57b331d5.js";
|
|
5
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-73d1fd5c.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-585fa095.js";
|
|
7
|
+
import { i as Q, d as U } from "./slot-a57be6e4.js";
|
|
8
|
+
import { c as X } from "./multirow-403376a7.js";
|
|
9
|
+
import { b as Y } from "./expression-6b854d90.js";
|
|
10
10
|
import { _ as Z } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./baseImp-
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./dialog-
|
|
12
|
+
import "./baseImp-ef3cb3bd.js";
|
|
13
|
+
import "./enum-type-3bd819a0.js";
|
|
14
|
+
import "./dialog-d522d309.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-4999945f.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./fieldobj-
|
|
18
|
+
import "./index-c870ca03.js";
|
|
19
|
+
import "./index-70a7d3e6.js";
|
|
20
|
+
import "./fieldobj-ec130f21.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
@@ -26,10 +26,10 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
|
26
26
|
...G
|
|
27
27
|
},
|
|
28
28
|
setup(h, { expose: y }) {
|
|
29
|
-
const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: S, fieldName: x, watchOption: $ } = H(f), O = I(() => Q(g.value)), { getSlotFromData: V, emit$:
|
|
29
|
+
const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: S, fieldName: x, watchOption: $ } = H(f), O = I(() => Q(g.value)), { getSlotFromData: V, emit$: b, rowsData: p, getValue: C, setValue: N } = X({
|
|
30
30
|
...f,
|
|
31
31
|
fieldName: x.value
|
|
32
|
-
}), _ = (e) =>
|
|
32
|
+
}), _ = (e) => N(J(q(e), !0), (r) => W(r)), l = T(!1), w = (e = !1) => {
|
|
33
33
|
$(e, Y.data, () => {
|
|
34
34
|
l.value = !0;
|
|
35
35
|
}, (r) => {
|
|
@@ -38,7 +38,7 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
|
38
38
|
l.value = !1;
|
|
39
39
|
}, 1e3), (s = (o = k.value) == null ? void 0 : o.completed) == null || s.call(o, r);
|
|
40
40
|
});
|
|
41
|
-
},
|
|
41
|
+
}, W = (e) => {
|
|
42
42
|
var o;
|
|
43
43
|
const r = (o = i == null ? void 0 : i.value) != null && o.alwaysShow ? [{}] : null;
|
|
44
44
|
return V(g.value, e || r);
|
|
@@ -48,9 +48,9 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
|
48
48
|
}), y({
|
|
49
49
|
...D,
|
|
50
50
|
refresh: w,
|
|
51
|
-
emit$:
|
|
51
|
+
emit$: b,
|
|
52
52
|
setValue: _,
|
|
53
|
-
getValue:
|
|
53
|
+
getValue: C
|
|
54
54
|
}), (e, r) => {
|
|
55
55
|
const o = L("loading");
|
|
56
56
|
return a(), d(K, u(e.$props, {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as T, computed as s, resolveComponent as ee, openBlock as d, createBlock as p, mergeProps as j, unref as e, withCtx as a, isRef as W, toHandlers as A, createSlots as B, resolveDynamicComponent as i, createCommentVNode as g } from "vue";
|
|
2
|
-
import { s as f, t as D } from "./enum-type-
|
|
2
|
+
import { s as f, t as D } from "./enum-type-6e7ccb0e.js";
|
|
3
3
|
import { I as te } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as oe } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
6
|
-
import {
|
|
4
|
+
import { b as oe } from "./share-field-57b331d5.js";
|
|
5
|
+
import re from "./form-item-wrapper-e851606c.js";
|
|
6
|
+
import { b as y, w as le } from "./expression-6b854d90.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-403376a7.js";
|
|
9
|
+
import "./baseImp-ef3cb3bd.js";
|
|
10
|
+
import "./enum-type-3bd819a0.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-d522d309.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
16
|
+
import "./index-c870ca03.js";
|
|
17
|
+
import "./slot-a57be6e4.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-73d1fd5c.js";
|
|
19
|
+
import "./index-70a7d3e6.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-ec130f21.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-a7f0ebd1.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const se = T({ componentName: le.FieldWidget }), Pe = /* @__PURE__ */ T({
|
|
@@ -1,23 +1,23 @@
|
|
|
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-
|
|
5
|
-
import {
|
|
6
|
-
import { s as a } from "./enum-type-
|
|
3
|
+
import { b as U } from "./share-field-57b331d5.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-73d1fd5c.js";
|
|
5
|
+
import { b as n, w as G } from "./expression-6b854d90.js";
|
|
6
|
+
import { s as a } from "./enum-type-6e7ccb0e.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-403376a7.js";
|
|
9
|
+
import "./baseImp-ef3cb3bd.js";
|
|
10
|
+
import "./enum-type-3bd819a0.js";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-d522d309.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-4999945f.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./index-
|
|
16
|
+
import "./index-c870ca03.js";
|
|
17
|
+
import "./slot-a57be6e4.js";
|
|
18
|
+
import "./index-70a7d3e6.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-ec130f21.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
const J = h({ componentName: G.FieldWidget }), ve = /* @__PURE__ */ h({
|
|
@@ -25,12 +25,12 @@ const J = h({ componentName: G.FieldWidget }), ve = /* @__PURE__ */ h({
|
|
|
25
25
|
__name: "tree-widget",
|
|
26
26
|
props: { ...R },
|
|
27
27
|
setup(V, { expose: E }) {
|
|
28
|
-
var
|
|
28
|
+
var g;
|
|
29
29
|
const j = V, { fieldEditor: w, fieldKey: N, fieldModel: c, attrs: d, extendAttrs: l, events: z, activeOptionItem: y, optionItems: F, fieldObj: S, getWidgetOption: k, filterOptionItems: B, exposed: D, activeOptionItems: _ } = U(j), I = s(() => {
|
|
30
30
|
var o, i, r, p, m;
|
|
31
31
|
let e = {};
|
|
32
32
|
return a(e, n.label, (o = l.value) == null ? void 0 : o.labelProp, !0), a(e, n.children, (i = l.value) == null ? void 0 : i.childrenProp, !0), a(e, n.disabled, (r = l.value) == null ? void 0 : r.disabledProp, !0), a(e, n.isLeaf, (p = l.value) == null ? void 0 : p.isLeafProp, !0), a(e, n.class, (m = l.value) == null ? void 0 : m.classProp, !0), e;
|
|
33
|
-
}), v = (
|
|
33
|
+
}), v = (g = d == null ? void 0 : d.value) == null ? void 0 : g.nodeKey, L = s(() => {
|
|
34
34
|
var e;
|
|
35
35
|
return (e = _ == null ? void 0 : _.value) == null ? void 0 : e.map((o) => String(o == null ? void 0 : o[v]));
|
|
36
36
|
}), O = s(() => {
|
|
@@ -39,7 +39,7 @@ const J = h({ componentName: G.FieldWidget }), ve = /* @__PURE__ */ h({
|
|
|
39
39
|
}), W = s(() => {
|
|
40
40
|
var e;
|
|
41
41
|
return (e = B((o) => !!(o != null && o.isopen))) == null ? void 0 : e.map((o) => o == null ? void 0 : o[v]);
|
|
42
|
-
}),
|
|
42
|
+
}), b = s(() => k("optionDefault")), C = s(() => k("empty"));
|
|
43
43
|
return E({ ...D }), (e, o) => {
|
|
44
44
|
const i = $("el-tree");
|
|
45
45
|
return u(), f(q, x(e.$props, {
|
|
@@ -69,10 +69,10 @@ const J = h({ componentName: G.FieldWidget }), ve = /* @__PURE__ */ h({
|
|
|
69
69
|
]),
|
|
70
70
|
key: "0"
|
|
71
71
|
} : void 0,
|
|
72
|
-
t(
|
|
72
|
+
t(b) ? {
|
|
73
73
|
name: "default",
|
|
74
74
|
fn: K(({ node: p, data: m }) => [
|
|
75
|
-
(u(), f(P(t(
|
|
75
|
+
(u(), f(P(t(b)), {
|
|
76
76
|
item: { node: p, data: m }
|
|
77
77
|
}, null, 8, ["item"]))
|
|
78
78
|
]),
|
|
@@ -1,25 +1,25 @@
|
|
|
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
|
-
import { w as V } from "./expression-
|
|
2
|
+
import { w as V } from "./expression-6b854d90.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-
|
|
6
|
-
import { R as E } from "./enum-type-
|
|
4
|
+
import { b as T } from "./share-field-57b331d5.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-73d1fd5c.js";
|
|
6
|
+
import { R as E } from "./enum-type-6e7ccb0e.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
9
|
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-
|
|
14
|
-
import "./baseImp-
|
|
15
|
-
import "./enum-type-
|
|
13
|
+
import "./multirow-403376a7.js";
|
|
14
|
+
import "./baseImp-ef3cb3bd.js";
|
|
15
|
+
import "./enum-type-3bd819a0.js";
|
|
16
16
|
import "./icon-a0e0cdb0.js";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-d522d309.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./fieldobj-
|
|
19
|
+
import "./index-c870ca03.js";
|
|
20
|
+
import "./slot-a57be6e4.js";
|
|
21
|
+
import "./index-70a7d3e6.js";
|
|
22
|
+
import "./fieldobj-ec130f21.js";
|
|
23
23
|
const F = { class: "s-canvas" }, L = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
24
24
|
__name: "_index",
|
|
25
25
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as le, resolveComponent as U, openBlock as l, createElementBlock as v, Fragment as j, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as r, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as
|
|
2
|
-
import { e as g, c as ue, R as oe } from "./enum-type-
|
|
1
|
+
import { defineComponent as le, resolveComponent as U, openBlock as l, createElementBlock as v, Fragment as j, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as r, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as b, withModifiers as w, unref as n, renderSlot as S, computed as h, ref as se, resolveDynamicComponent as de, mergeProps as E, toHandlers as pe } from "vue";
|
|
2
|
+
import { e as g, c as ue, R as oe } from "./enum-type-6e7ccb0e.js";
|
|
3
3
|
import { I as me, a as ge } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { a as re, i as fe, j as we, k as ve } from "./index-
|
|
5
|
-
import { S as m } from "./index-
|
|
6
|
-
import { f as he } from "./baseImp-
|
|
7
|
-
import { c as X, S as ye } from "./enum-type-
|
|
8
|
-
import { u as We } from "./fieldobj-
|
|
9
|
-
import {
|
|
10
|
-
const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" },
|
|
4
|
+
import { a as re, i as fe, j as we, k as ve } from "./index-c870ca03.js";
|
|
5
|
+
import { S as m } from "./index-70a7d3e6.js";
|
|
6
|
+
import { f as he } from "./baseImp-ef3cb3bd.js";
|
|
7
|
+
import { c as X, S as ye } from "./enum-type-3bd819a0.js";
|
|
8
|
+
import { u as We } from "./fieldobj-ec130f21.js";
|
|
9
|
+
import { b as N } from "./expression-6b854d90.js";
|
|
10
|
+
const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, be = ["title"], Le = ["title"], $e = ["title"], Se = ["title"], Te = /* @__PURE__ */ le({
|
|
11
11
|
__name: "drag-handler",
|
|
12
12
|
props: { ...me, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
13
13
|
setup(f) {
|
|
@@ -21,7 +21,7 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
return (t, d) => {
|
|
24
|
-
var
|
|
24
|
+
var L, $;
|
|
25
25
|
const u = U("el-dropdown-item"), q = U("el-dropdown-menu"), i = U("el-dropdown"), T = U("el-divider");
|
|
26
26
|
return l(), v(j, null, [
|
|
27
27
|
f.hidden === !0 ? (l(), v("i", ce, [
|
|
@@ -38,14 +38,14 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
38
38
|
]),
|
|
39
39
|
_: 2
|
|
40
40
|
}, [
|
|
41
|
-
((
|
|
41
|
+
((L = f.parentTree) == null ? void 0 : L.length) > 0 ? {
|
|
42
42
|
name: "dropdown",
|
|
43
43
|
fn: r(() => [
|
|
44
44
|
o(q, null, {
|
|
45
45
|
default: r(() => [
|
|
46
46
|
(l(!0), v(j, null, ie(f.parentTree, (s, c) => (l(), W(u, { command: s }, {
|
|
47
47
|
default: r(() => [
|
|
48
|
-
C(
|
|
48
|
+
C(b(s == null ? void 0 : s.label), 1)
|
|
49
49
|
]),
|
|
50
50
|
_: 2
|
|
51
51
|
}, 1032, ["command"]))), 256)),
|
|
@@ -55,7 +55,7 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
55
55
|
}, {
|
|
56
56
|
default: r(() => [
|
|
57
57
|
o(m, { name: "@el-clone" }),
|
|
58
|
-
C(
|
|
58
|
+
C(b(n(g).i18nt("designer.hint.cloneWidget")), 1)
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
}),
|
|
@@ -64,7 +64,7 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
64
64
|
}, {
|
|
65
65
|
default: r(() => [
|
|
66
66
|
o(m, { name: "@el-delete" }),
|
|
67
|
-
C(
|
|
67
|
+
C(b(n(g).i18nt("designer.hint.remove")), 1)
|
|
68
68
|
]),
|
|
69
69
|
_: 1
|
|
70
70
|
}),
|
|
@@ -74,7 +74,7 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
74
74
|
}, {
|
|
75
75
|
default: r(() => [
|
|
76
76
|
o(m, { name: "@el-move-up" }),
|
|
77
|
-
C(
|
|
77
|
+
C(b(n(g).i18nt("designer.hint.moveUpWidget")), 1)
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
80
80
|
})) : y("", !0),
|
|
@@ -84,7 +84,7 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
84
84
|
}, {
|
|
85
85
|
default: r(() => [
|
|
86
86
|
o(m, { name: "@el-move-down" }),
|
|
87
|
-
C(
|
|
87
|
+
C(b(n(g).i18nt("designer.hint.moveDownWidget")), 1)
|
|
88
88
|
]),
|
|
89
89
|
_: 1
|
|
90
90
|
})) : y("", !0),
|
|
@@ -109,7 +109,7 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
109
109
|
var s, c;
|
|
110
110
|
return [
|
|
111
111
|
z("span", Ce, [
|
|
112
|
-
C(
|
|
112
|
+
C(b(n(g).i18n2t(
|
|
113
113
|
`designer.widgetLabel.${(s = t.widget) == null ? void 0 : s.type}`,
|
|
114
114
|
`extension.widgetLabel.${(c = t.widget) == null ? void 0 : c.type}`
|
|
115
115
|
)) + " ", 1),
|
|
@@ -129,7 +129,7 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
129
129
|
default: r(() => [
|
|
130
130
|
(l(!0), v(j, null, ie(f.parentTree, (s, c) => (l(), W(u, { command: s }, {
|
|
131
131
|
default: r(() => [
|
|
132
|
-
C(
|
|
132
|
+
C(b(s == null ? void 0 : s.label), 1)
|
|
133
133
|
]),
|
|
134
134
|
_: 2
|
|
135
135
|
}, 1032, ["command"]))), 256))
|
|
@@ -152,14 +152,14 @@ const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, Le
|
|
|
152
152
|
onClick: d[4] || (d[4] = w((s) => n(D)(t.parentList, t.widget), ["stop"]))
|
|
153
153
|
}, [
|
|
154
154
|
o(m, { name: "@el-move-up" })
|
|
155
|
-
], 8,
|
|
155
|
+
], 8, be)) : y("", !0),
|
|
156
156
|
t.parentList && t.parentList.length > 1 ? (l(), v("i", {
|
|
157
157
|
key: 1,
|
|
158
158
|
title: n(g).i18nt("designer.hint.moveDownWidget"),
|
|
159
159
|
onClick: d[5] || (d[5] = w((s) => n(B)(t.parentList, t.widget), ["stop"]))
|
|
160
160
|
}, [
|
|
161
161
|
o(m, { name: "@el-move-down" })
|
|
162
|
-
], 8,
|
|
162
|
+
], 8, Le)) : y("", !0),
|
|
163
163
|
z("i", {
|
|
164
164
|
title: n(g).i18nt("designer.hint.cloneWidget"),
|
|
165
165
|
onClick: d[6] || (d[6] = w((s) => n(F)(t.widget, t.parentList), ["stop"]))
|
|
@@ -182,7 +182,7 @@ const Ve = /* @__PURE__ */ le({
|
|
|
182
182
|
props: { ...ge },
|
|
183
183
|
setup(f) {
|
|
184
184
|
var A;
|
|
185
|
-
const a = f, { selectWidget: J } = re(a.designer), { widgetTree: M } = fe((A = a.designer) == null ? void 0 : A.widgetList, !0), { pathNodes: I, parentTree: B } = we(M.value, a.widget), { size: D, displayLayout: F, labelAlign: H, labelWidth: t, formItemFlag: d, labelSuffix: u, labelHidden: q } = ve(a, ue(I.value)), { getAttrProp: i } = We(a), T = h(() => i == null ? void 0 : i("hidden")),
|
|
185
|
+
const a = f, { selectWidget: J } = re(a.designer), { widgetTree: M } = fe((A = a.designer) == null ? void 0 : A.widgetList, !0), { pathNodes: I, parentTree: B } = we(M.value, a.widget), { size: D, displayLayout: F, labelAlign: H, labelWidth: t, formItemFlag: d, labelSuffix: u, labelHidden: q } = ve(a, ue(I.value)), { getAttrProp: i } = We(a), T = h(() => i == null ? void 0 : i("hidden")), L = h(() => i == null ? void 0 : i("labelWidth")), $ = (e) => e && !["div", "span"].includes(e), s = h(() => {
|
|
186
186
|
var e;
|
|
187
187
|
return (e = a.widget) == null ? void 0 : e.id;
|
|
188
188
|
}), c = h(() => {
|
|
@@ -191,7 +191,7 @@ const Ve = /* @__PURE__ */ le({
|
|
|
191
191
|
}), R = h(() => {
|
|
192
192
|
const e = i == null ? void 0 : i(N.width), p = i == null ? void 0 : i(N.ctrlWidth), k = i == null ? void 0 : i(N.customClass), V = i == null ? void 0 : i(N.componentWrapperClass);
|
|
193
193
|
let O = {};
|
|
194
|
-
return
|
|
194
|
+
return L.value != ye.auto && L.value && (O.labelWidth = L.value), {
|
|
195
195
|
size: D.value,
|
|
196
196
|
labelAlign: H.value,
|
|
197
197
|
labelWidth: t.value,
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
5
|
-
import { w as F } from "./expression-
|
|
6
|
-
import { W as v } from "./enum-type-
|
|
7
|
-
import { b as N, a as $ } from "./share-field-
|
|
8
|
-
import { c as E } from "./slot-
|
|
3
|
+
import { D as A } from "./drag-wrapper-585fa095.js";
|
|
4
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-73d1fd5c.js";
|
|
5
|
+
import { w as F } from "./expression-6b854d90.js";
|
|
6
|
+
import { W as v } from "./enum-type-3bd819a0.js";
|
|
7
|
+
import { b as N, a as $ } from "./share-field-57b331d5.js";
|
|
8
|
+
import { c as E } from "./slot-a57be6e4.js";
|
|
9
9
|
function H(i) {
|
|
10
10
|
const n = y({}), { componentWrapperClass: c, customClass: a } = E({ widget: i.widget }), { exposed: t, attrs: d, extendAttrs: f, fieldKey: g, fieldObj: m } = N(i), { setAllRefList: l } = $(n.value), p = (o = !1) => {
|
|
11
11
|
l(v.setDisabled, { flag: o });
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5a89d225.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-a8519266.js";
|
|
4
|
-
import "./field-base-5547436d.js";
|
|
5
|
-
import "./widget-base-4c2d6265.js";
|
|
6
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e480eb5c.js";
|
|
7
|
-
import "./index-796f510c.js";
|
|
8
|
-
import "./uuid-4999945f.js";
|
|
9
|
-
import "./enum-type-f137dd08.js";
|
|
10
|
-
import "./baseImp-2a99f96b.js";
|
|
11
|
-
import "./expression-63558be5.js";
|
|
12
|
-
import "./source-map-b04aec4a.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./esprima-e8d15055.js";
|
|
15
|
-
import "./icon-a0e0cdb0.js";
|
|
16
|
-
import "./dialog-fe01221d.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-19923435.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-e046d93f.js";
|
|
21
|
-
import "./slot-bfb3564a.js";
|
|
22
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-b024182b.js";
|
|
23
|
-
import "./drag-wrapper-4cb5cc54.js";
|
|
24
|
-
export {
|
|
25
|
-
o as default
|
|
26
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7e15a60f.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-4cb5cc54.js";
|
|
5
|
-
import "./enum-type-a8519266.js";
|
|
6
|
-
import "./baseImp-2a99f96b.js";
|
|
7
|
-
import "./enum-type-f137dd08.js";
|
|
8
|
-
import "./expression-63558be5.js";
|
|
9
|
-
import "./source-map-b04aec4a.js";
|
|
10
|
-
import "./uuid-4999945f.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-fe01221d.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./index-796f510c.js";
|
|
17
|
-
import "./slot-bfb3564a.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e480eb5c.js";
|
|
20
|
-
import "./index-19923435.js";
|
|
21
|
-
import "./fieldobj-e046d93f.js";
|
|
22
|
-
import "./share-field-b5360287.js";
|
|
23
|
-
import "./multirow-cc17167a.js";
|
|
24
|
-
export {
|
|
25
|
-
o as default
|
|
26
|
-
};
|
package/menu-widget-00da6d17.js
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, computed as y, watch as M, onMounted as R, nextTick as H, resolveComponent as K, openBlock as E, createBlock as I, mergeProps as V, unref as p, withCtx as b, toHandlers as L, createVNode as W } from "vue";
|
|
2
|
-
import { d as A, X } from "./enum-type-a8519266.js";
|
|
3
|
-
import { I as g } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e480eb5c.js";
|
|
5
|
-
import { b as z } from "./share-field-b5360287.js";
|
|
6
|
-
import { f as J, w as Q } from "./expression-63558be5.js";
|
|
7
|
-
import { _ as U } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-0a0dab4f.js";
|
|
8
|
-
import { _ as j } from "./enum-type-f137dd08.js";
|
|
9
|
-
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./index-796f510c.js";
|
|
11
|
-
import "./uuid-4999945f.js";
|
|
12
|
-
import "./baseImp-2a99f96b.js";
|
|
13
|
-
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-fe01221d.js";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-19923435.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-e046d93f.js";
|
|
20
|
-
import "./multirow-cc17167a.js";
|
|
21
|
-
import "./slot-bfb3564a.js";
|
|
22
|
-
import "./source-map-b04aec4a.js";
|
|
23
|
-
import "./esprima-e8d15055.js";
|
|
24
|
-
const Y = C({ componentName: Q.FieldWidget }), xe = /* @__PURE__ */ C({
|
|
25
|
-
...Y,
|
|
26
|
-
__name: "menu-widget",
|
|
27
|
-
props: { ...g },
|
|
28
|
-
setup(O, { expose: B }) {
|
|
29
|
-
const T = O, { fieldEditor: a, fieldKey: F, attrs: l, events: P, extendAttrs: c, optionItems: i, activeOptionItems: s, exposed: S, fieldObj: $, filterOptionItems: h, existEvent: D, handleEvent: G } = z(T), u = (r) => {
|
|
30
|
-
var o;
|
|
31
|
-
return (o = l == null ? void 0 : l.value) != null && o.router ? r == null ? void 0 : r.route : r == null ? void 0 : r.value;
|
|
32
|
-
}, k = (r, o) => r == null ? void 0 : r.some((e) => {
|
|
33
|
-
var n, t;
|
|
34
|
-
return (e == null ? void 0 : e.menuItemType) === j.MenuItemGroup ? !1 : u(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 ? k(e.children, o) : !1;
|
|
35
|
-
}), _ = (r, o) => r == null ? void 0 : r.some((e) => {
|
|
36
|
-
var n, t;
|
|
37
|
-
return (e == null ? void 0 : e.menuItemType) === j.MenuItemGroup ? !1 : u(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 ? _(e.children, o) : !1;
|
|
38
|
-
}), m = y(() => {
|
|
39
|
-
var o, e;
|
|
40
|
-
if ((o = l == null ? void 0 : l.value) != null && o.router && !T.designState) {
|
|
41
|
-
const n = window.location.href;
|
|
42
|
-
var r = h((t) => {
|
|
43
|
-
var f = J.isActiveItem;
|
|
44
|
-
return D(f) ? G(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) => u(t));
|
|
47
|
-
}
|
|
48
|
-
return (e = s == null ? void 0 : s.value) == null ? void 0 : e.map((n) => u(n));
|
|
49
|
-
}), v = y(() => {
|
|
50
|
-
var r;
|
|
51
|
-
return ((r = m.value) == null ? void 0 : r.find((o) => _(i == null ? void 0 : i.value, o))) || "";
|
|
52
|
-
}), d = y(() => {
|
|
53
|
-
var r = h((e) => {
|
|
54
|
-
var n, t;
|
|
55
|
-
return ((n = m.value) == null ? void 0 : n.some((f) => k([e], f))) || ((t = m.value) == null ? void 0 : t.some((f) => _(e == null ? void 0 : e.children, f)));
|
|
56
|
-
}), o = r == null ? void 0 : r.map((e) => u(e));
|
|
57
|
-
return ((o == null ? void 0 : o.length) || 0) <= 0 ? [] : o;
|
|
58
|
-
}), N = (r) => {
|
|
59
|
-
r == null || r.forEach((o) => {
|
|
60
|
-
var e;
|
|
61
|
-
(e = a.value) == null || e.open(o);
|
|
62
|
-
});
|
|
63
|
-
}, x = (r = !0) => {
|
|
64
|
-
h((o) => {
|
|
65
|
-
var e, n;
|
|
66
|
-
try {
|
|
67
|
-
r ? (e = a.value) == null || e.close(u(o)) : (n = a.value) == null || n.open(u(o));
|
|
68
|
-
} catch {
|
|
69
|
-
}
|
|
70
|
-
return !0;
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
return M(() => m.value, (r) => {
|
|
74
|
-
const o = {};
|
|
75
|
-
v.value && A(o, { defaultActive: v.value }), d.value && A(o, { defaultOpeneds: d.value }), A(l.value, o);
|
|
76
|
-
}, { immediate: !0 }), R(() => {
|
|
77
|
-
var r;
|
|
78
|
-
(r = c == null ? void 0 : c.value) != null && r.openAll && x(!1), M(() => d.value, (o) => {
|
|
79
|
-
H(() => {
|
|
80
|
-
var e;
|
|
81
|
-
(e = c == null ? void 0 : c.value) != null && e.openAll || x(!0), N(o);
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
}), B({
|
|
85
|
-
...S,
|
|
86
|
-
getActiveTree: () => {
|
|
87
|
-
var r = [];
|
|
88
|
-
return X(i == null ? void 0 : i.value, r, "children", (o) => v.value === u(o)), r.reverse();
|
|
89
|
-
}
|
|
90
|
-
}), (r, o) => {
|
|
91
|
-
const e = K("el-menu");
|
|
92
|
-
return E(), I(q, V(r.$props, {
|
|
93
|
-
"prop-options": { fieldObj: p($) }
|
|
94
|
-
}), {
|
|
95
|
-
default: b(({ data: n }) => [
|
|
96
|
-
(E(), I(e, V({
|
|
97
|
-
ref_key: "fieldEditor",
|
|
98
|
-
ref: a,
|
|
99
|
-
key: p(F)
|
|
100
|
-
}, p(l), L(p(P)), {
|
|
101
|
-
class: n.injectClass,
|
|
102
|
-
style: n.injectStyle
|
|
103
|
-
}), {
|
|
104
|
-
default: b(() => {
|
|
105
|
-
var t;
|
|
106
|
-
return [
|
|
107
|
-
W(U, {
|
|
108
|
-
items: p(i),
|
|
109
|
-
useRouter: (t = p(l)) == null ? void 0 : t.router,
|
|
110
|
-
defaultActive: p(v)
|
|
111
|
-
}, null, 8, ["items", "useRouter", "defaultActive"])
|
|
112
|
-
];
|
|
113
|
-
}),
|
|
114
|
-
_: 2
|
|
115
|
-
}, 1040, ["class", "style"]))
|
|
116
|
-
]),
|
|
117
|
-
_: 1
|
|
118
|
-
}, 16, ["prop-options"]);
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
export {
|
|
123
|
-
xe as default
|
|
124
|
-
};
|