hlrender 0.0.274 → 0.0.276
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-8d5e34b5.js → _pdf-ce2f6ef9.js} +6 -6
- package/{_txt-da8c0242.js → _txt-78a70c52.js} +6 -6
- package/{_unsupport-4bd686fc.js → _unsupport-1b097ae2.js} +1 -1
- package/{affix-widget-de503399.js → affix-widget-6d97dd92.js} +16 -16
- package/{alert-widget-a94e8d13.js → alert-widget-7db88a94.js} +16 -16
- package/{anchor-widget-aa3e5a25.js → anchor-widget-32a65b3b.js} +20 -20
- package/auto-complete-widget-4c8764a7.js +75 -0
- package/{avatar-widget-46e2f319.js → avatar-widget-d79a7dc6.js} +18 -18
- package/{backtop-widget-dc25c3e7.js → backtop-widget-bb681a19.js} +19 -19
- package/{badge-widget-1fa57cc7.js → badge-widget-8dcacfb1.js} +16 -16
- package/{barcode-widget-14de599a.js → barcode-widget-2ce7d156.js} +13 -13
- package/{baseImp-5623aa34.js → baseImp-ae7c0a37.js} +3106 -3102
- package/{breadcrumb-widget-fa089dad.js → breadcrumb-widget-790119f8.js} +19 -19
- package/{button-widget-17187ff3.js → button-widget-f1f66352.js} +16 -16
- package/{cache-widget-04eae6d3.js → cache-widget-b6e80df0.js} +23 -23
- package/{card-widget-f99ca705.js → card-widget-3ccdc3f6.js} +43 -43
- package/{carousel-widget-cfec54e0.js → carousel-widget-78e1e4d7.js} +19 -19
- package/{cascader-widget-84933fdb.js → cascader-widget-f5886f08.js} +21 -21
- package/chart-widget-69442c00.js +89 -0
- package/{checkbox-widget-738f4a97.js → checkbox-widget-43edb7bc.js} +15 -15
- package/{collapse-widget-35e01ed1.js → collapse-widget-93cc0926.js} +27 -27
- package/{color-picker-widget-7d941f46.js → color-picker-widget-c6155941.js} +21 -21
- package/{cont-cell-widget-a1f0b533.js → cont-cell-widget-572b461a.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7c3a2cbc.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1e02a5ff.js} +9 -9
- package/{cont-widget-a71849e6.js → cont-widget-a30dd8f1.js} +5 -5
- package/{content-wrapper-9f23d943.js → content-wrapper-caa362a9.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-8e168bee.js → content-wrapper.vue_vue_type_script_setup_true_lang-4235a623.js} +3 -3
- package/{countdown-widget-c0759a3b.js → countdown-widget-ad735df4.js} +21 -21
- package/{date-picker-range-widget-2820d7f7.js → date-picker-range-widget-6afb1377.js} +20 -20
- package/date-picker-widget-3c364663.js +114 -0
- package/default-slot-widget-d29c3a61.js +27 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a9a2f58b.js +84 -0
- package/{descriptions-widget-20efe494.js → descriptions-widget-72f88df2.js} +25 -25
- package/{dialog-ba291209.js → dialog-003d60d4.js} +2 -2
- package/{dialog-widget-d96acf62.js → dialog-widget-1e1a243a.js} +15 -15
- package/{divider-widget-1f077300.js → divider-widget-7b054e2c.js} +19 -19
- package/{drag-wrapper-679371ab.js → drag-wrapper-e4f7289b.js} +6 -6
- package/{drawer-widget-13a8f6b1.js → drawer-widget-a3359eb8.js} +15 -15
- package/{dropdown-widget-8d4917ca.js → dropdown-widget-aba058d2.js} +35 -35
- package/{empty-widget-9673a73f.js → empty-widget-51cff636.js} +16 -16
- package/{enum-type-b4b3fb1d.js → enum-type-6ac4c4d4.js} +18 -18
- package/{enum-type-5026a107.js → enum-type-e5e6ba33.js} +1 -1
- package/{expression-b400fa10.js → expression-22698064.js} +64 -64
- package/feedback-widget-f6ca4ec0.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9bad4d57.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-418da5f6.js} +32 -32
- package/{fieldobj-6b2e9257.js → fieldobj-7311a036.js} +1 -1
- package/{file-upload-widget-f20c09a8.js → file-upload-widget-735d76a9.js} +47 -47
- package/{form-item-wrapper-3a57150a.js → form-item-wrapper-b9cf5581.js} +11 -11
- package/form-widget-992e749d.js +264 -0
- package/{grid-col-widget-4622e9f5.js → grid-col-widget-a9a8f19f.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d1d7c6bd.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3c662d58.js} +9 -9
- package/{grid-widget-1b3e097d.js → grid-widget-d4d20c2f.js} +5 -5
- package/{hcard-widget-5d5251d3.js → hcard-widget-7f74642b.js} +14 -14
- package/{html-text-widget-d4f3ae82.js → html-text-widget-b76dbf3f.js} +18 -18
- package/{icon-widget-a96cbb5e.js → icon-widget-54dc192a.js} +23 -23
- package/{iframe-widget-d7684bbc.js → iframe-widget-cc91cd69.js} +20 -20
- package/image-widget-daa9be6f.js +65 -0
- package/{index-52c672dc.js → index-170931d8.js} +1 -1
- package/{index-3d32030d.js → index-6b1b38bd.js} +4 -4
- package/{index-37371bcf.js → index-b76684d8.js} +5 -5
- package/{input-number-widget-57e0f68b.js → input-number-widget-1f20c40f.js} +18 -18
- package/{input-widget-59816b45.js → input-tag-widget-15ff165e.js} +28 -28
- package/input-widget-3e95551a.js +72 -0
- package/{label-wrapper-946d4f6e.js → label-wrapper-005f6858.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-466417fc.js → label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js} +3 -3
- package/{link-widget-941ece03.js → link-widget-1910e84e.js} +24 -24
- package/{ltable-col-widget-7f17d280.js → ltable-col-widget-00500243.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-119939e4.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-da522d0b.js} +9 -9
- package/{ltable-widget-3cdd8a61.js → ltable-widget-4a007142.js} +10 -10
- package/mention-widget-4202086f.js +83 -0
- package/{menu-widget-55d05c5f.js → menu-widget-6293e53e.js} +40 -40
- package/{model-widget-be9873f7.js → model-widget-672e6556.js} +13 -13
- package/multirow-643b6b12.js +230 -0
- package/{multirow-widget-a61e1ffd.js → multirow-widget-b83f704f.js} +142 -142
- package/package.json +1 -1
- package/{pagination-widget-4be188b9.js → pagination-widget-f825c948.js} +30 -30
- package/{picture-upload-widget-3eb230e0.js → picture-upload-widget-ed5dd370.js} +16 -16
- package/{progress-widget-e27a8e91.js → progress-widget-38523974.js} +14 -14
- package/{qrcode-widget-37523a4c.js → qrcode-widget-a2825a8e.js} +13 -13
- package/{radio-widget-986e2923.js → radio-widget-dfaf22ea.js} +15 -15
- package/{range-widget-10d5d497.js → range-widget-535e5f1d.js} +24 -24
- package/{rate-widget-bd208223.js → rate-widget-2f102397.js} +18 -18
- package/render.es.js +88 -88
- package/render.style.css +1 -1
- package/render.umd.js +377 -377
- package/{result-widget-60806d6f.js → result-widget-3190eca5.js} +25 -25
- package/{rich-editor-widget-c1c52421.js → rich-editor-widget-e341c00c.js} +25 -25
- package/{router-widget-854967fe.js → router-widget-9b334e33.js} +16 -16
- package/{segmented-widget-33e17632.js → segmented-widget-160bbe9a.js} +13 -13
- package/{select-widget-9ecbf69d.js → select-widget-adf2ed8c.js} +17 -17
- package/{sfc-4d02d18b.js → sfc-9469e308.js} +8 -8
- package/{sfcview-621b67b1.js → sfcview-ea5250a8.js} +7 -7
- package/share-field-7ecde1ad.js +856 -0
- package/{share-file-0caf64d9.js → share-file-b68db0c7.js} +13 -13
- package/{skeleton-widget-397d4aa8.js → skeleton-widget-08b527bd.js} +30 -30
- package/{skeletonItem-widget-4415418e.js → skeletonItem-widget-99727467.js} +16 -16
- package/{slider-widget-798901d6.js → slider-widget-7f2629bc.js} +20 -20
- package/{slot-a71ceeef.js → slot-e2606e8a.js} +3 -3
- package/{space-widget-a897626a.js → space-widget-c1eaa0c1.js} +23 -23
- package/{splitter-widget-e4d1b106.js → splitter-widget-e16c7fc2.js} +19 -19
- package/{static-text-widget-a612b773.js → static-text-widget-7b55737c.js} +18 -18
- package/{statistic-widget-fcdf41f0.js → statistic-widget-492a9b3b.js} +16 -16
- package/{steps-widget-7038a62e.js → steps-widget-21a1023e.js} +22 -22
- package/{subMenu-widget-511c493e.js → subMenu-widget-59b24873.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-b6ece2d4.js → subMenu-widget.vue_vue_type_script_setup_true_lang-dff824ab.js} +3 -3
- package/{switch-widget-7323a13a.js → switch-widget-267b37c5.js} +17 -17
- package/{tab-pane-widget-37dc9032.js → tab-pane-widget-2a0d33f9.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3c44a364.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bf4b9f03.js} +7 -7
- package/table-col-widget-ff3a5ac9.js +23 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6f9cedb9.js +115 -0
- package/table-widget-47c6c691.js +353 -0
- package/{tabs-widget-1a2ab1c1.js → tabs-widget-51a11be6.js} +7 -7
- package/{tag-widget-ebcbc798.js → tag-widget-30a27c08.js} +16 -16
- package/{text-widget-22e821bd.js → text-widget-80fa95f1.js} +16 -16
- package/{textarea-widget-d8eec61e.js → textarea-widget-c20f14df.js} +19 -19
- package/{time-picker-range-widget-af737a6a.js → time-picker-range-widget-0da8dcb3.js} +19 -19
- package/{time-picker-widget-41ebf6e5.js → time-picker-widget-d60cc261.js} +21 -21
- package/{time-select-widget-ba53e6e3.js → time-select-widget-9b5e40cb.js} +20 -20
- package/{timeline-widget-7f90cdf6.js → timeline-widget-47a11513.js} +67 -66
- package/tmpl-widget-24ad016d.js +98 -0
- package/{tooltip-widget-8f13dd75.js → tooltip-widget-db6c33d5.js} +34 -34
- package/{tour-widget-8ca44412.js → tour-widget-2e0f1d18.js} +19 -19
- package/transfer-widget-ab3d014c.js +82 -0
- package/{tree-select-widget-8e9323b2.js → tree-select-widget-976772dd.js} +23 -23
- package/{tree-widget-63524b1b.js → tree-widget-8d387a2a.js} +20 -20
- package/{uuid-b91bcccf.js → uuid-432548c7.js} +1 -1
- package/{verifycode-widget-c5f5c8c5.js → verifycode-widget-841bc8a4.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-190ebd92.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js} +7 -7
- package/{wrapper-widget-12efeb35.js → wrapper-widget-ff691f4e.js} +6 -6
- package/auto-complete-widget-294a2011.js +0 -75
- package/chart-widget-714596d3.js +0 -88
- package/date-picker-widget-dee26f46.js +0 -114
- package/default-slot-widget-8e0486f0.js +0 -27
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b164b82a.js +0 -84
- package/feedback-widget-33473d38.js +0 -27
- package/form-widget-fb293aee.js +0 -246
- package/image-widget-d0508443.js +0 -65
- package/input-tag-widget-9d042cc0.js +0 -72
- package/mention-widget-f3bc7382.js +0 -83
- package/multirow-9fb6b652.js +0 -230
- package/share-field-ecce5234.js +0 -839
- package/table-col-widget-35a1c0e8.js +0 -23
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-eb3e958c.js +0 -114
- package/table-widget-f38be8ae.js +0 -352
- package/tmpl-widget-183c4813.js +0 -98
- package/transfer-widget-272bc2e9.js +0 -82
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { defineComponent as B, computed as w, resolveComponent as I, openBlock as l, createBlock as c, mergeProps as V, unref as n, withCtx as p, createElementBlock as y, Fragment as O, createVNode as S, renderList as x, createTextVNode as Y, toDisplayString as _, createElementVNode as C, isRef as Z, toHandlers as tt, resolveDynamicComponent as T } from "vue";
|
|
2
2
|
import { I as ot } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import {
|
|
5
|
-
import { w as rt } from "./expression-
|
|
6
|
-
import { g as st, K as lt,
|
|
3
|
+
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
4
|
+
import { a as nt } from "./share-field-7ecde1ad.js";
|
|
5
|
+
import { w as rt } from "./expression-22698064.js";
|
|
6
|
+
import { g as st, K as lt, d as at } from "./baseImp-ae7c0a37.js";
|
|
7
7
|
import { u as ct } from "./icon-1fc5d00d.js";
|
|
8
|
-
import { a8 as v, as as h } from "./enum-type-
|
|
9
|
-
import { d as pt } from "./slot-
|
|
10
|
-
import { e as m } from "./enum-type-
|
|
8
|
+
import { a8 as v, as as h } from "./enum-type-e5e6ba33.js";
|
|
9
|
+
import { d as pt } from "./slot-e2606e8a.js";
|
|
10
|
+
import { e as m } from "./enum-type-6ac4c4d4.js";
|
|
11
11
|
import { t as ut } from "./index-31e1760d.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./uuid-
|
|
13
|
+
import "./index-b76684d8.js";
|
|
14
|
+
import "./uuid-432548c7.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-170931d8.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-
|
|
19
|
-
import "./multirow-
|
|
18
|
+
import "./fieldobj-7311a036.js";
|
|
19
|
+
import "./multirow-643b6b12.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
22
|
import "axios";
|
|
23
|
-
import "./dialog-
|
|
23
|
+
import "./dialog-003d60d4.js";
|
|
24
24
|
import "element-plus";
|
|
25
25
|
const dt = B({ componentName: rt.FieldWidget }), Rt = /* @__PURE__ */ B({
|
|
26
26
|
...dt,
|
|
27
27
|
__name: "tour-widget",
|
|
28
28
|
props: { ...ot },
|
|
29
29
|
setup(A, { expose: M }) {
|
|
30
|
-
const N = A, { fieldEditor: R, slots: P, fieldKey: D, fieldModel: u, attrs: H, extendAttrs: f, events: K, optionItems:
|
|
30
|
+
const N = A, { fieldEditor: R, slots: P, fieldKey: D, fieldModel: u, attrs: H, extendAttrs: f, events: K, optionItems: F, getWidgetOptionByPropValue: r, exposed: g, fieldObj: L } = nt(N), W = w(() => {
|
|
31
31
|
var t, e;
|
|
32
32
|
return {
|
|
33
33
|
offset: (t = f.value) == null ? void 0 : t.gap_offset,
|
|
34
34
|
radius: (e = f.value) == null ? void 0 : e.gap_radius
|
|
35
35
|
};
|
|
36
|
-
}),
|
|
36
|
+
}), b = (t) => {
|
|
37
37
|
const e = r(t == null ? void 0 : t.maskType), s = r(t == null ? void 0 : t.mask1), a = r(t == null ? void 0 : t.mask2);
|
|
38
38
|
switch (e) {
|
|
39
39
|
case v.bool:
|
|
@@ -76,10 +76,10 @@ const dt = B({ componentName: rt.FieldWidget }), Rt = /* @__PURE__ */ B({
|
|
|
76
76
|
e[s] = r(t == null ? void 0 : t[s]);
|
|
77
77
|
}), Object.assign(e, {
|
|
78
78
|
target: $(t),
|
|
79
|
-
mask:
|
|
79
|
+
mask: b(t),
|
|
80
80
|
scrollIntoViewOptions: j(t)
|
|
81
81
|
}), e;
|
|
82
|
-
}, U = w(() =>
|
|
82
|
+
}, U = w(() => b(f.value)), q = w(() => j(f.value)), z = w(() => ({
|
|
83
83
|
...H.value,
|
|
84
84
|
gap: W.value,
|
|
85
85
|
scrollIntoViewOptions: q.value,
|
|
@@ -99,7 +99,7 @@ const dt = B({ componentName: rt.FieldWidget }), Rt = /* @__PURE__ */ B({
|
|
|
99
99
|
S(ut, {
|
|
100
100
|
content: n(m).i18nt("designer.hint.designTip")
|
|
101
101
|
}, null, 8, ["content"]),
|
|
102
|
-
(l(!0), y(O, null, x(n(
|
|
102
|
+
(l(!0), y(O, null, x(n(F), (o, i) => (l(), y("div", null, [
|
|
103
103
|
S(s, null, {
|
|
104
104
|
default: p(() => [
|
|
105
105
|
Y(_(i), 1)
|
|
@@ -126,7 +126,7 @@ const dt = B({ componentName: rt.FieldWidget }), Rt = /* @__PURE__ */ B({
|
|
|
126
126
|
}, null, 8, ["scope", "ctx"]))
|
|
127
127
|
]),
|
|
128
128
|
default: p(() => [
|
|
129
|
-
(l(!0), y(O, null, x(n(
|
|
129
|
+
(l(!0), y(O, null, x(n(F), (o, i) => (l(), c(a, V({ key: i }, { ref_for: !0 }, G(o)), {
|
|
130
130
|
header: p(() => [
|
|
131
131
|
(l(), c(T(n(r)(o.header))))
|
|
132
132
|
]),
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { defineComponent as c, computed as O, resolveComponent as S, openBlock as m, createBlock as a, mergeProps as l, unref as r, withCtx as f, isRef as x, toHandlers as z, createSlots as A, renderList as I, resolveDynamicComponent as W, createCommentVNode as u } from "vue";
|
|
2
|
+
import { e as h } from "./enum-type-6ac4c4d4.js";
|
|
3
|
+
import { I as B } from "./field-base-1acf3ada.js";
|
|
4
|
+
import { a as E } from "./share-field-7ecde1ad.js";
|
|
5
|
+
import { g as L } from "./slot-e2606e8a.js";
|
|
6
|
+
import P from "./form-item-wrapper-b9cf5581.js";
|
|
7
|
+
import { w as T } from "./expression-22698064.js";
|
|
8
|
+
import { D as $ } from "./drag-wrapper-e4f7289b.js";
|
|
9
|
+
import "./widget-base-8eece820.js";
|
|
10
|
+
import "./multirow-643b6b12.js";
|
|
11
|
+
import "./baseImp-ae7c0a37.js";
|
|
12
|
+
import "./enum-type-e5e6ba33.js";
|
|
13
|
+
import "./icon-1fc5d00d.js";
|
|
14
|
+
import "axios";
|
|
15
|
+
import "./dialog-003d60d4.js";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./uuid-432548c7.js";
|
|
18
|
+
import "element-plus";
|
|
19
|
+
import "./index-b76684d8.js";
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
21
|
+
import "./index-170931d8.js";
|
|
22
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
+
import "./fieldobj-7311a036.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js";
|
|
25
|
+
import "./source-map-b04aec4a.js";
|
|
26
|
+
import "./esprima-e8d15055.js";
|
|
27
|
+
const H = c({ componentName: T.FieldWidget }), ge = /* @__PURE__ */ c({
|
|
28
|
+
...H,
|
|
29
|
+
__name: "transfer-widget",
|
|
30
|
+
props: { ...B },
|
|
31
|
+
setup(g, { expose: v }) {
|
|
32
|
+
const y = g, { fieldName: K, fieldEditor: b, fieldKey: w, fieldModel: n, rules: k, slots: C, attrs: V, extendAttrs: p, events: j, exposed: D, fieldObj: F } = E(y), N = O(() => {
|
|
33
|
+
var t, o, i;
|
|
34
|
+
return {
|
|
35
|
+
...V.value,
|
|
36
|
+
props: {
|
|
37
|
+
label: (t = p.value) == null ? void 0 : t.props_label,
|
|
38
|
+
value: (o = p.value) == null ? void 0 : o.props_value,
|
|
39
|
+
disabled: (i = p.value) == null ? void 0 : i.props_disabled
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
return v({ ...D }), (t, o) => {
|
|
44
|
+
const i = S("el-transfer");
|
|
45
|
+
return m(), a(P, l(t.$props, {
|
|
46
|
+
propOptions: { fieldObj: r(F), rules: r(k) }
|
|
47
|
+
}), {
|
|
48
|
+
default: f(({ data: s }) => {
|
|
49
|
+
var d;
|
|
50
|
+
return [
|
|
51
|
+
(m(), a(i, l({
|
|
52
|
+
ref_key: "fieldEditor",
|
|
53
|
+
ref: b,
|
|
54
|
+
modelValue: r(n),
|
|
55
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => x(n) ? n.value = e : null)
|
|
56
|
+
}, N.value, z(r(j)), {
|
|
57
|
+
class: s.injectClass,
|
|
58
|
+
key: r(w),
|
|
59
|
+
style: s.injectStyle,
|
|
60
|
+
size: s.size
|
|
61
|
+
}), A({ _: 2 }, [
|
|
62
|
+
I(r(L)(r(C), t.designState, (d = r(p)) == null ? void 0 : d.slotable), (e) => ({
|
|
63
|
+
name: e == null ? void 0 : e.slotName,
|
|
64
|
+
fn: f(() => [
|
|
65
|
+
e != null && e.hasDefault ? (m(), a(W(e == null ? void 0 : e.default()), { key: 0 })) : u("", !0),
|
|
66
|
+
e != null && e.widgetList ? (m(), a($, l({ key: 1 }, t.$props, {
|
|
67
|
+
widget: e,
|
|
68
|
+
dragTip: r(h).i18nt("designer.hint.draggableArea1")
|
|
69
|
+
}), null, 16, ["widget", "dragTip"])) : u("", !0)
|
|
70
|
+
])
|
|
71
|
+
}))
|
|
72
|
+
]), 1040, ["modelValue", "class", "style", "size"]))
|
|
73
|
+
];
|
|
74
|
+
}),
|
|
75
|
+
_: 1
|
|
76
|
+
}, 16, ["propOptions"]);
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
export {
|
|
81
|
+
ge as default
|
|
82
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as D, computed as a, resolveComponent as te, openBlock as s, createBlock as p, mergeProps as
|
|
2
|
-
import { s as f, t as B } from "./enum-type-
|
|
1
|
+
import { defineComponent as D, computed as a, resolveComponent as te, openBlock as s, createBlock as p, mergeProps as b, unref as l, withCtx as d, toHandlers as W, createSlots as A, resolveDynamicComponent as n, createCommentVNode as C } from "vue";
|
|
2
|
+
import { s as f, t as B } from "./enum-type-6ac4c4d4.js";
|
|
3
3
|
import { I as oe } from "./field-base-1acf3ada.js";
|
|
4
|
-
import {
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
6
|
-
import { b as v, w as ae } from "./expression-
|
|
4
|
+
import { a as le } from "./share-field-7ecde1ad.js";
|
|
5
|
+
import re from "./form-item-wrapper-b9cf5581.js";
|
|
6
|
+
import { b as v, w as ae } from "./expression-22698064.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-643b6b12.js";
|
|
9
|
+
import "./baseImp-ae7c0a37.js";
|
|
10
|
+
import "./enum-type-e5e6ba33.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "axios";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-003d60d4.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-432548c7.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
20
|
-
import "./index-
|
|
17
|
+
import "./index-b76684d8.js";
|
|
18
|
+
import "./slot-e2606e8a.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
20
|
+
import "./index-170931d8.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
22
|
+
import "./fieldobj-7311a036.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
const se = D({ componentName: ae.FieldWidget }), ze = /* @__PURE__ */ D({
|
|
@@ -63,13 +63,13 @@ const se = D({ componentName: ae.FieldWidget }), ze = /* @__PURE__ */ D({
|
|
|
63
63
|
getCheckedText: Z
|
|
64
64
|
}), (e, t) => {
|
|
65
65
|
const m = te("el-tree-select");
|
|
66
|
-
return s(), p(re,
|
|
66
|
+
return s(), p(re, b(e.$props, {
|
|
67
67
|
"prop-options": { fieldObj: l(G) }
|
|
68
68
|
}), {
|
|
69
69
|
default: d(({ data: r }) => {
|
|
70
70
|
var c;
|
|
71
71
|
return [
|
|
72
|
-
(c = l(u)) != null && c.multiple ? (s(), p(m,
|
|
72
|
+
(c = l(u)) != null && c.multiple ? (s(), p(m, b({
|
|
73
73
|
ref_key: "fieldEditor",
|
|
74
74
|
ref: E,
|
|
75
75
|
modelValue: M.value,
|
|
@@ -85,10 +85,10 @@ const se = D({ componentName: ae.FieldWidget }), ze = /* @__PURE__ */ D({
|
|
|
85
85
|
defaultExpandedKeys: w.value,
|
|
86
86
|
currentNodeKey: F.value
|
|
87
87
|
}), A({
|
|
88
|
-
default: d(({ node: o, data:
|
|
88
|
+
default: d(({ node: o, data: O }) => [
|
|
89
89
|
y.value ? (s(), p(n(y.value), {
|
|
90
90
|
key: 0,
|
|
91
|
-
item: { node: o, data:
|
|
91
|
+
item: { node: o, data: O }
|
|
92
92
|
}, null, 8, ["item"])) : C("", !0)
|
|
93
93
|
]),
|
|
94
94
|
prefix: d(() => [
|
|
@@ -103,7 +103,7 @@ const se = D({ componentName: ae.FieldWidget }), ze = /* @__PURE__ */ D({
|
|
|
103
103
|
]),
|
|
104
104
|
key: "0"
|
|
105
105
|
} : void 0
|
|
106
|
-
]), 1040, ["modelValue", "class", "style", "data", "props", "size", "defaultCheckedKeys", "defaultExpandedKeys", "currentNodeKey"])) : (s(), p(m,
|
|
106
|
+
]), 1040, ["modelValue", "class", "style", "data", "props", "size", "defaultCheckedKeys", "defaultExpandedKeys", "currentNodeKey"])) : (s(), p(m, b({
|
|
107
107
|
ref_key: "fieldEditor",
|
|
108
108
|
ref: E,
|
|
109
109
|
modelValue: L.value,
|
|
@@ -119,10 +119,10 @@ const se = D({ componentName: ae.FieldWidget }), ze = /* @__PURE__ */ D({
|
|
|
119
119
|
defaultExpandedKeys: w.value,
|
|
120
120
|
currentNodeKey: F.value
|
|
121
121
|
}), A({
|
|
122
|
-
default: d(({ node: o, data:
|
|
122
|
+
default: d(({ node: o, data: O }) => [
|
|
123
123
|
y.value ? (s(), p(n(y.value), {
|
|
124
124
|
key: 0,
|
|
125
|
-
item: { node: o, data:
|
|
125
|
+
item: { node: o, data: O }
|
|
126
126
|
}, null, 8, ["item"])) : C("", !0)
|
|
127
127
|
]),
|
|
128
128
|
prefix: d(() => [
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as h, computed as l, resolveComponent as $, openBlock as m, createBlock as f, mergeProps as g, unref as p, 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-1acf3ada.js";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as a, w as G } from "./expression-
|
|
6
|
-
import { s as n } from "./enum-type-
|
|
3
|
+
import { a as U } from "./share-field-7ecde1ad.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
5
|
+
import { b as a, w as G } from "./expression-22698064.js";
|
|
6
|
+
import { s as n } from "./enum-type-6ac4c4d4.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-643b6b12.js";
|
|
9
|
+
import "./baseImp-ae7c0a37.js";
|
|
10
|
+
import "./enum-type-e5e6ba33.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "axios";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-003d60d4.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-432548c7.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./index-
|
|
17
|
+
import "./index-b76684d8.js";
|
|
18
|
+
import "./slot-e2606e8a.js";
|
|
19
|
+
import "./index-170931d8.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
21
|
+
import "./fieldobj-7311a036.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
24
|
const J = h({ componentName: G.FieldWidget }), Ke = /* @__PURE__ */ h({
|
|
@@ -26,12 +26,12 @@ const J = h({ componentName: G.FieldWidget }), Ke = /* @__PURE__ */ h({
|
|
|
26
26
|
__name: "tree-widget",
|
|
27
27
|
props: { ...R },
|
|
28
28
|
setup(V, { expose: E }) {
|
|
29
|
-
var
|
|
29
|
+
var b;
|
|
30
30
|
const j = V, { fieldEditor: w, fieldKey: N, fieldModel: c, attrs: i, extendAttrs: s, events: z, activeOptionItem: y, optionItems: F, fieldObj: S, getWidgetOption: k, filterOptionItems: B, exposed: D, activeOptionItems: v } = U(j), I = l(() => {
|
|
31
31
|
var o, d, t, r, u;
|
|
32
32
|
let e = {};
|
|
33
33
|
return n(e, a.label, (o = s.value) == null ? void 0 : o.labelProp, !0), n(e, a.children, (d = s.value) == null ? void 0 : d.childrenProp, !0), n(e, a.disabled, (t = s.value) == null ? void 0 : t.disabledProp, !0), n(e, a.isLeaf, (r = s.value) == null ? void 0 : r.isLeafProp, !0), n(e, a.class, (u = s.value) == null ? void 0 : u.classProp, !0), e;
|
|
34
|
-
}), _ = (
|
|
34
|
+
}), _ = (b = i == null ? void 0 : i.value) == null ? void 0 : b.nodeKey, L = l(() => {
|
|
35
35
|
var e;
|
|
36
36
|
return (e = v == null ? void 0 : v.value) == null ? void 0 : e.map((o) => String(o == null ? void 0 : o[_]));
|
|
37
37
|
}), O = l(() => {
|
|
@@ -40,7 +40,7 @@ const J = h({ componentName: G.FieldWidget }), Ke = /* @__PURE__ */ h({
|
|
|
40
40
|
}), W = l(() => {
|
|
41
41
|
var e;
|
|
42
42
|
return (e = B((o) => !!(o != null && o.isopen))) == null ? void 0 : e.map((o) => o == null ? void 0 : o[_]);
|
|
43
|
-
}),
|
|
43
|
+
}), x = l(() => k("optionDefault")), C = l(() => k("empty"));
|
|
44
44
|
return E({ ...D }), (e, o) => {
|
|
45
45
|
const d = $("el-tree");
|
|
46
46
|
return m(), f(q, g(e.$props, {
|
|
@@ -63,17 +63,17 @@ const J = h({ componentName: G.FieldWidget }), Ke = /* @__PURE__ */ h({
|
|
|
63
63
|
defaultExpandedKeys: W.value,
|
|
64
64
|
currentNodeKey: O.value
|
|
65
65
|
}), M({ _: 2 }, [
|
|
66
|
-
|
|
66
|
+
C.value ? {
|
|
67
67
|
name: "empty",
|
|
68
68
|
fn: K(() => [
|
|
69
|
-
(m(), f(P(
|
|
69
|
+
(m(), f(P(C.value)))
|
|
70
70
|
]),
|
|
71
71
|
key: "0"
|
|
72
72
|
} : void 0,
|
|
73
|
-
|
|
73
|
+
x.value ? {
|
|
74
74
|
name: "default",
|
|
75
75
|
fn: K(({ node: r, data: u }) => [
|
|
76
|
-
(m(), f(P(
|
|
76
|
+
(m(), f(P(x.value), {
|
|
77
77
|
item: { node: r, data: u }
|
|
78
78
|
}, null, 8, ["item"]))
|
|
79
79
|
]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as S } from "./enum-type-
|
|
1
|
+
import { a as S } from "./enum-type-6ac4c4d4.js";
|
|
2
2
|
var w = /* @__PURE__ */ ((t) => (t.year = "year", t.month = "month", t.day = "day", t.hour = "hour", t.minute = "minute", t.second = "second", t.week = "week", t))(w || {});
|
|
3
3
|
function Y(t) {
|
|
4
4
|
return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as S, createElementBlock as w, 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-22698064.js";
|
|
3
3
|
import { I as z } from "./field-base-1acf3ada.js";
|
|
4
|
-
import {
|
|
5
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { S as E } from "./enum-type-
|
|
4
|
+
import { a as T } from "./share-field-7ecde1ad.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
6
|
+
import { S as E } from "./enum-type-6ac4c4d4.js";
|
|
7
7
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./uuid-
|
|
9
|
+
import "./uuid-432548c7.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
15
|
-
import "./enum-type-
|
|
13
|
+
import "./multirow-643b6b12.js";
|
|
14
|
+
import "./baseImp-ae7c0a37.js";
|
|
15
|
+
import "./enum-type-e5e6ba33.js";
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "axios";
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-003d60d4.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./slot-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./fieldobj-
|
|
20
|
+
import "./index-b76684d8.js";
|
|
21
|
+
import "./slot-e2606e8a.js";
|
|
22
|
+
import "./index-170931d8.js";
|
|
23
|
+
import "./fieldobj-7311a036.js";
|
|
24
24
|
const L = { class: "s-canvas" }, R = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
25
25
|
__name: "_index",
|
|
26
26
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as oe, resolveComponent as U, openBlock as o, createElementBlock as w, Fragment as j, createVNode as d, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as a, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as b, withModifiers as v, unref as l, renderSlot as S, computed as h, ref as se, resolveDynamicComponent as le, mergeProps as E, toHandlers as pe } from "vue";
|
|
2
|
-
import { e as g, c as ue, S as de } from "./enum-type-
|
|
2
|
+
import { e as g, c as ue, S as de } from "./enum-type-6ac4c4d4.js";
|
|
3
3
|
import { I as me, a as ge } from "./widget-base-8eece820.js";
|
|
4
|
-
import { a as ae, i as fe, j as ve, k as we } 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 { b as N } from "./expression-
|
|
4
|
+
import { a as ae, i as fe, j as ve, k as we } from "./index-b76684d8.js";
|
|
5
|
+
import { S as m } from "./index-170931d8.js";
|
|
6
|
+
import { f as he } from "./baseImp-ae7c0a37.js";
|
|
7
|
+
import { c as X, S as ye } from "./enum-type-e5e6ba33.js";
|
|
8
|
+
import { u as We } from "./fieldobj-7311a036.js";
|
|
9
|
+
import { b as N } from "./expression-22698064.js";
|
|
10
10
|
const ce = { key: 0 }, ke = { class: "clWhite" }, Ce = { class: "clWhite" }, be = ["title"], Le = ["title"], $e = ["title"], Se = ["title"], Te = /* @__PURE__ */ oe({
|
|
11
11
|
__name: "drag-handler",
|
|
12
12
|
props: { ...me, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as P, watch as j, defineComponent as y, computed as D, resolveDirective as L, openBlock as h, createBlock as O, mergeProps as C, unref as r, withCtx as F, withDirectives as S, createElementBlock as z, normalizeClass as R, createVNode as k, createCommentVNode as A } from "vue";
|
|
2
2
|
import { I as B } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as I } from "./drag-wrapper-
|
|
4
|
-
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as $ } from "./expression-
|
|
6
|
-
import { W } from "./enum-type-
|
|
7
|
-
import {
|
|
8
|
-
import { c as K, F as T } from "./slot-
|
|
3
|
+
import { D as I } from "./drag-wrapper-e4f7289b.js";
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9fca5ac3.js";
|
|
5
|
+
import { w as $ } from "./expression-22698064.js";
|
|
6
|
+
import { W } from "./enum-type-e5e6ba33.js";
|
|
7
|
+
import { a as E, u as H } from "./share-field-7ecde1ad.js";
|
|
8
|
+
import { c as K, F as T } from "./slot-e2606e8a.js";
|
|
9
9
|
function V(a) {
|
|
10
10
|
const d = P({}), { componentWrapperClass: c, customClass: i } = K({ widget: a.widget }), { exposed: e, attrs: l, extendAttrs: m, fieldKey: f, fieldObj: u } = E(a), { setAllRefList: p } = H(d.value), s = (o = !1) => {
|
|
11
11
|
var t;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, resolveComponent as D, openBlock as t, createBlock as o, mergeProps as p, unref as r, withCtx as s, isRef as E, toHandlers as I, createSlots as P, renderList as W, createElementBlock as f, Fragment as u, resolveDynamicComponent as c, normalizeProps as A, createCommentVNode as a } from "vue";
|
|
2
|
-
import { I as L } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { b as T } from "./share-field-ecce5234.js";
|
|
4
|
-
import $ from "./form-item-wrapper-3a57150a.js";
|
|
5
|
-
import { s as h, w as z } from "./expression-b400fa10.js";
|
|
6
|
-
import { D as H } from "./drag-wrapper-679371ab.js";
|
|
7
|
-
import { g as K } from "./slot-a71ceeef.js";
|
|
8
|
-
import { e as M } from "./enum-type-b4b3fb1d.js";
|
|
9
|
-
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-9fb6b652.js";
|
|
11
|
-
import "./baseImp-5623aa34.js";
|
|
12
|
-
import "./enum-type-5026a107.js";
|
|
13
|
-
import "./icon-1fc5d00d.js";
|
|
14
|
-
import "axios";
|
|
15
|
-
import "./dialog-ba291209.js";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./uuid-b91bcccf.js";
|
|
18
|
-
import "element-plus";
|
|
19
|
-
import "./index-37371bcf.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-190ebd92.js";
|
|
21
|
-
import "./index-52c672dc.js";
|
|
22
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-6b2e9257.js";
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-466417fc.js";
|
|
25
|
-
import "./source-map-b04aec4a.js";
|
|
26
|
-
import "./esprima-e8d15055.js";
|
|
27
|
-
const R = g({ componentName: z.FieldWidget }), ke = /* @__PURE__ */ g({
|
|
28
|
-
...R,
|
|
29
|
-
__name: "auto-complete-widget",
|
|
30
|
-
props: { ...L },
|
|
31
|
-
setup(y, { expose: k }) {
|
|
32
|
-
const w = y, { fieldEditor: C, fieldKey: V, fieldModel: i, rules: b, attrs: F, extendAttrs: j, events: v, slots: N, exposed: O, fieldObj: S } = T(w);
|
|
33
|
-
return k({ ...O }), (m, n) => {
|
|
34
|
-
const x = D("el-autocomplete");
|
|
35
|
-
return t(), o($, p(m.$props, {
|
|
36
|
-
propOptions: { fieldObj: r(S), rules: r(b) }
|
|
37
|
-
}), {
|
|
38
|
-
default: s(({ data: l }) => {
|
|
39
|
-
var d;
|
|
40
|
-
return [
|
|
41
|
-
(t(), o(x, p({
|
|
42
|
-
ref_key: "fieldEditor",
|
|
43
|
-
ref: C,
|
|
44
|
-
modelValue: r(i),
|
|
45
|
-
"onUpdate:modelValue": n[0] || (n[0] = (e) => E(i) ? i.value = e : null),
|
|
46
|
-
key: r(V)
|
|
47
|
-
}, r(F), I(r(v)), {
|
|
48
|
-
class: l.injectClass,
|
|
49
|
-
style: l.injectStyle
|
|
50
|
-
}), P({ _: 2 }, [
|
|
51
|
-
W(r(K)(r(N), m.designState, (d = r(j)) == null ? void 0 : d.slotable), (e) => ({
|
|
52
|
-
name: e == null ? void 0 : e.slotName,
|
|
53
|
-
fn: s(({ item: B }) => [
|
|
54
|
-
(e == null ? void 0 : e.slotName) === r(h).default ? (t(), f(u, { key: 0 }, [
|
|
55
|
-
e.default ? (t(), o(c(e.default), A(p({ key: 0 }, { item: B })), null, 16)) : a("", !0)
|
|
56
|
-
], 64)) : (t(), f(u, { key: 1 }, [
|
|
57
|
-
e.default ? (t(), o(c(e.default), { key: 0 })) : a("", !0)
|
|
58
|
-
], 64)),
|
|
59
|
-
e != null && e.widgetList ? (t(), o(H, p({ key: 2 }, m.$props, {
|
|
60
|
-
widget: e,
|
|
61
|
-
dragTip: r(M).i18nt("designer.hint.draggableArea1")
|
|
62
|
-
}), null, 16, ["widget", "dragTip"])) : a("", !0)
|
|
63
|
-
])
|
|
64
|
-
}))
|
|
65
|
-
]), 1040, ["modelValue", "class", "style"]))
|
|
66
|
-
];
|
|
67
|
-
}),
|
|
68
|
-
_: 1
|
|
69
|
-
}, 16, ["propOptions"]);
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
export {
|
|
74
|
-
ke as default
|
|
75
|
-
};
|
package/chart-widget-714596d3.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as F, onMounted as I, resolveComponent as B, resolveDirective as E, openBlock as l, createBlock as _, mergeProps as g, unref as r, withCtx as H, withDirectives as V, createElementBlock as W, toHandlers as $ } from "vue";
|
|
2
|
-
import { S as j, e as A } from "./enum-type-b4b3fb1d.js";
|
|
3
|
-
import { I as D } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as P } from "./share-field-ecce5234.js";
|
|
5
|
-
import { _ as G } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-190ebd92.js";
|
|
6
|
-
import { w as J, b as M } from "./expression-b400fa10.js";
|
|
7
|
-
import { f as N, g as T } from "./baseImp-5623aa34.js";
|
|
8
|
-
import { u as q } from "./icon-1fc5d00d.js";
|
|
9
|
-
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-9fb6b652.js";
|
|
11
|
-
import "./index-37371bcf.js";
|
|
12
|
-
import "./uuid-b91bcccf.js";
|
|
13
|
-
import "./enum-type-5026a107.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./slot-a71ceeef.js";
|
|
16
|
-
import "./index-52c672dc.js";
|
|
17
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-6b2e9257.js";
|
|
19
|
-
import "./source-map-b04aec4a.js";
|
|
20
|
-
import "./esprima-e8d15055.js";
|
|
21
|
-
import "axios";
|
|
22
|
-
import "./dialog-ba291209.js";
|
|
23
|
-
import "element-plus";
|
|
24
|
-
const z = v({ componentName: J.FieldWidget }), ht = /* @__PURE__ */ v({
|
|
25
|
-
...z,
|
|
26
|
-
__name: "chart-widget",
|
|
27
|
-
props: { ...D },
|
|
28
|
-
setup(k, { expose: y }) {
|
|
29
|
-
const d = k, { fieldEditor: f, attrs: p, events: x, exposed: w, extendAttrs: m, fieldObj: C, watchOption: O } = P(d), c = F(!1), u = () => {
|
|
30
|
-
O(M.dataSource, () => {
|
|
31
|
-
c.value = !0;
|
|
32
|
-
}).then((t) => {
|
|
33
|
-
h(t), setTimeout(() => {
|
|
34
|
-
c.value = !1;
|
|
35
|
-
}, 1e3);
|
|
36
|
-
});
|
|
37
|
-
}, { instance: b } = q(), S = (t) => {
|
|
38
|
-
var e, o;
|
|
39
|
-
const n = T({ instance: b });
|
|
40
|
-
(o = (e = p.value).itemClick) == null || o.call(e, t, n);
|
|
41
|
-
}, h = (t) => {
|
|
42
|
-
var n;
|
|
43
|
-
if ((n = p.value) != null && n.chartOption)
|
|
44
|
-
try {
|
|
45
|
-
import("echarts").then((e) => {
|
|
46
|
-
var i, s;
|
|
47
|
-
const o = e.init(f.value);
|
|
48
|
-
o.setOption((s = (i = p.value) == null ? void 0 : i.chartOption) == null ? void 0 : s.call(i, t)), o.on("click", (a) => {
|
|
49
|
-
S(a);
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
} catch (e) {
|
|
53
|
-
N.error(e + "" || "chart error");
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
return I(() => {
|
|
57
|
-
d.designState || u();
|
|
58
|
-
}), y({ ...w, refresh: u, setValue: h }), (t, n) => {
|
|
59
|
-
const e = B("el-empty"), o = E("loading");
|
|
60
|
-
return l(), _(G, g(t.$props, {
|
|
61
|
-
"prop-options": { fieldObj: r(C) }
|
|
62
|
-
}), {
|
|
63
|
-
default: H(() => {
|
|
64
|
-
var i, s, a;
|
|
65
|
-
return [
|
|
66
|
-
t.designState ? (l(), _(e, {
|
|
67
|
-
key: 1,
|
|
68
|
-
description: r(A).i18nt("designer.hint.chartSetting")
|
|
69
|
-
}, null, 8, ["description"])) : V((l(), W("div", g({
|
|
70
|
-
key: 0,
|
|
71
|
-
ref_key: "fieldEditor",
|
|
72
|
-
ref: f,
|
|
73
|
-
style: { minHeight: "100px", minWidth: "100px", width: (i = r(m)) == null ? void 0 : i.ctrlWidth, height: (s = r(m)) == null ? void 0 : s.ctrlHeight }
|
|
74
|
-
}, $(r(x), !0), {
|
|
75
|
-
class: r(j)((a = r(m)) == null ? void 0 : a.customClass)
|
|
76
|
-
}), null, 16)), [
|
|
77
|
-
[o, c.value]
|
|
78
|
-
])
|
|
79
|
-
];
|
|
80
|
-
}),
|
|
81
|
-
_: 1
|
|
82
|
-
}, 16, ["prop-options"]);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
export {
|
|
87
|
-
ht as default
|
|
88
|
-
};
|