hlrender 0.0.82 → 0.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{affix-widget-dd4b2fe0.js → affix-widget-dd7e040a.js} +16 -16
- package/{alert-widget-519279c5.js → alert-widget-b58b33cc.js} +16 -16
- package/{anchor-widget-812dfd92.js → anchor-widget-c0e93b9d.js} +13 -13
- package/{auto-complete-widget-d8ad3276.js → auto-complete-widget-a608b94d.js} +16 -16
- package/{avatar-widget-649a3f6a.js → avatar-widget-16974770.js} +16 -16
- package/{backtop-widget-af0cee46.js → backtop-widget-c19400fe.js} +16 -16
- package/{badge-widget-42e1966f.js → badge-widget-47203271.js} +16 -16
- package/{baseImp-d834ac3d.js → baseImp-7dec7b0d.js} +941 -936
- package/{breadcrumb-widget-7e515c01.js → breadcrumb-widget-a3fdaf1e.js} +13 -13
- package/{button-widget-dcf76766.js → button-widget-d8b510ae.js} +16 -16
- package/{cache-widget-49687693.js → cache-widget-b58cc15b.js} +15 -15
- package/{card-widget-ad2d38e5.js → card-widget-c4fbd3bd.js} +14 -14
- package/{carousel-widget-a658ab29.js → carousel-widget-a3a01575.js} +14 -14
- package/{cascader-widget-c86385b4.js → cascader-widget-030b6168.js} +15 -15
- package/{chart-widget-c9119ec6.js → chart-widget-999deb4e.js} +13 -13
- package/{checkbox-widget-1c4eff60.js → checkbox-widget-b1d08e89.js} +15 -15
- package/{collapse-widget-773ea243.js → collapse-widget-022f59ce.js} +14 -14
- package/{color-picker-widget-a1b2b628.js → color-picker-widget-4f520267.js} +15 -15
- package/{cont-cell-widget-1fbeaf8a.js → cont-cell-widget-5b75cd48.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c231ddc4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-da561134.js} +5 -5
- package/{cont-widget-fd0a123a.js → cont-widget-7cfaabc5.js} +5 -5
- package/{content-wrapper-86ff072e.js → content-wrapper-f399ad7f.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-bbbfbe22.js → content-wrapper.vue_vue_type_script_setup_true_lang-68b00192.js} +3 -3
- package/{date-picker-range-widget-c5b7ae5d.js → date-picker-range-widget-5225f828.js} +15 -15
- package/{date-picker-widget-ed693baa.js → date-picker-widget-aa121b2c.js} +15 -15
- package/default-slot-widget-4eefb621.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-ccb059d2.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-27fed468.js} +7 -7
- package/{descriptions-widget-63c339d2.js → descriptions-widget-c2c4afe2.js} +14 -14
- package/{dialog-bb7f0558.js → dialog-610eab4e.js} +2 -2
- package/{dialog-widget-9c05f51f.js → dialog-widget-5988b3fc.js} +15 -15
- package/{divider-widget-903929e5.js → divider-widget-4a79268d.js} +16 -16
- package/{drag-wrapper-f146ea8e.js → drag-wrapper-c7d69fe9.js} +6 -6
- package/{drawer-widget-fc0c6933.js → drawer-widget-976782fa.js} +15 -15
- package/{dropdown-widget-bfe3e8b6.js → dropdown-widget-0f0772c3.js} +14 -14
- package/{empty-widget-d343b3e1.js → empty-widget-b321364e.js} +16 -16
- package/{enum-type-97a76214.js → enum-type-83a1c63e.js} +4 -1
- package/{enum-type-e4be3593.js → enum-type-966ff1e0.js} +1 -1
- package/{expression-07e9797f.js → expression-a789517c.js} +2 -2
- package/feedback-widget-f98694b0.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e1397752.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-6aab861f.js} +5 -5
- package/{fieldobj-aef757c4.js → fieldobj-5b3c9421.js} +1 -1
- package/{file-upload-widget-0693c3f1.js → file-upload-widget-c8ed1bf5.js} +16 -16
- package/{form-item-wrapper-6ae91f61.js → form-item-wrapper-9439f4d0.js} +11 -11
- package/form-widget-41e65b55.js +219 -0
- package/{grid-col-widget-f7902096.js → grid-col-widget-aba68f25.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e56c45d2.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b48269cb.js} +5 -5
- package/{grid-widget-d933885e.js → grid-widget-29ecf365.js} +5 -5
- package/{html-text-widget-07cf54b1.js → html-text-widget-00ee93ec.js} +14 -14
- package/{iframe-widget-ee7d1b0a.js → iframe-widget-2d3bf4f6.js} +13 -13
- package/{image-widget-aeb54c17.js → image-widget-4a2d4589.js} +13 -13
- package/{index-4998be2e.js → index-3626f426.js} +4 -4
- package/{index-44dc89d4.js → index-9219e73c.js} +37 -5
- package/{index-2fb3647d.js → index-ce26ce1d.js} +1 -1
- package/{input-number-widget-aaf5e3b3.js → input-number-widget-29047d02.js} +15 -15
- package/{input-widget-6da313c2.js → input-widget-b1a1a7f3.js} +16 -16
- package/{label-wrapper-31c02faa.js → label-wrapper-8a55ab87.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-939ad369.js → label-wrapper.vue_vue_type_style_index_0_lang-78ef3813.js} +3 -3
- package/{link-widget-5ebccd60.js → link-widget-52187c67.js} +16 -16
- package/{ltable-col-widget-d10158b4.js → ltable-col-widget-6a0e5416.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ee80850c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b1d89b16.js} +10 -10
- package/ltable-widget-5d187195.js +77 -0
- package/{menu-widget-7838a4d5.js → menu-widget-65050c6a.js} +14 -14
- package/{model-widget-4d495b31.js → model-widget-b52d7ebb.js} +13 -13
- package/{multirow-9e97464f.js → multirow-ba01fb1b.js} +6 -6
- package/{multirow-widget-43e57f7b.js → multirow-widget-bcb9ceee.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-ba1b2def.js → pagination-widget-782e9736.js} +13 -13
- package/{picture-upload-widget-e6003330.js → picture-upload-widget-eb67b99f.js} +16 -16
- package/{progress-widget-d995b063.js → progress-widget-64184089.js} +14 -14
- package/{propresult-9ec82c15.js → propresult-88bba4b2.js} +1 -1
- package/{radio-widget-124a704e.js → radio-widget-e04e952f.js} +15 -15
- package/{range-widget-ca5f56d7.js → range-widget-0b2cf1f6.js} +16 -16
- package/{rate-widget-57b26843.js → rate-widget-4791ce39.js} +15 -15
- package/render.es.js +31 -31
- package/render.style.css +1 -1
- package/render.umd.js +445 -445
- package/{result-widget-dbcbe47c.js → result-widget-8360185f.js} +14 -14
- package/{rich-editor-widget-618b3691.js → rich-editor-widget-6bc4e5d5.js} +15 -15
- package/{router-widget-840d5974.js → router-widget-6149b801.js} +13 -13
- package/{select-widget-cccbce49.js → select-widget-67f5c76d.js} +39 -39
- package/{sfc-677e36dd.js → sfc-97dc4b34.js} +8 -8
- package/share-field-27cccffb.js +776 -0
- package/{share-file-75c25997.js → share-file-ee7f211b.js} +5 -5
- package/{slider-widget-52b49e53.js → slider-widget-1fbdca19.js} +15 -15
- package/{slot-55f5b1ee.js → slot-47652b09.js} +3 -3
- package/{static-text-widget-161303bd.js → static-text-widget-eaa7b21e.js} +14 -14
- package/{steps-widget-aa543027.js → steps-widget-83f921a8.js} +13 -13
- package/{subMenu-widget-46b4ca58.js → subMenu-widget-043bf454.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-c3ad326a.js → subMenu-widget.vue_vue_type_script_setup_true_lang-82b80fdb.js} +3 -3
- package/{switch-widget-1a18ff09.js → switch-widget-9f9e4b1e.js} +15 -15
- package/{tab-pane-widget-db4922e3.js → tab-pane-widget-d8fca1e1.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-8467ebfd.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b70d1918.js} +5 -5
- package/table-col-widget-6843a3b2.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-948eddf4.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-89c59eac.js} +6 -6
- package/{table-widget-73f99c30.js → table-widget-a331c143.js} +15 -15
- package/tabs-widget-d8906f4f.js +82 -0
- package/{tag-widget-b75bb274.js → tag-widget-527e9bcd.js} +16 -16
- package/{text-widget-79cf7e4d.js → text-widget-74946ebd.js} +16 -16
- package/{textarea-widget-10104e6f.js → textarea-widget-dd3c3e46.js} +15 -15
- package/{time-picker-range-widget-1d281025.js → time-picker-range-widget-d94558a3.js} +15 -15
- package/{time-picker-widget-4f5f5c29.js → time-picker-widget-395f8cc4.js} +15 -15
- package/{time-select-widget-2e4427f4.js → time-select-widget-cb17e5ad.js} +15 -15
- package/tmpl-widget-2c2f0b6b.js +95 -0
- package/{tree-select-widget-acedfac8.js → tree-select-widget-cd45be04.js} +15 -15
- package/{tree-widget-af8f6a8c.js → tree-widget-455ce76e.js} +13 -13
- package/{uuid-7ce48eb1.js → uuid-85671611.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8d10af8d.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js} +7 -7
- package/wrapper-widget-d9e5664e.js +84 -0
- package/default-slot-widget-d061ea2c.js +0 -26
- package/feedback-widget-d45d9597.js +0 -26
- package/form-widget-99a8eaa7.js +0 -216
- package/ltable-widget-60068113.js +0 -69
- package/share-field-35b4e271.js +0 -763
- package/table-col-widget-ab6561e5.js +0 -22
- package/tabs-widget-c97d1804.js +0 -76
- package/tmpl-widget-5ac91def.js +0 -92
- package/wrapper-widget-0a8f2274.js +0 -77
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as m, mergeProps as l, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
|
-
import { a as V } from "./enum-type-
|
|
3
|
-
import { b } from "./share-field-
|
|
2
|
+
import { a as V } from "./enum-type-83a1c63e.js";
|
|
3
|
+
import { b } from "./share-field-27cccffb.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
6
|
-
import { w as z } from "./expression-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./enum-type-
|
|
5
|
+
import x from "./form-item-wrapper-9439f4d0.js";
|
|
6
|
+
import { w as z } from "./expression-a789517c.js";
|
|
7
|
+
import "./multirow-ba01fb1b.js";
|
|
8
|
+
import "./baseImp-7dec7b0d.js";
|
|
9
|
+
import "./uuid-85671611.js";
|
|
10
|
+
import "./enum-type-966ff1e0.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-610eab4e.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-9219e73c.js";
|
|
16
|
+
import "./slot-47652b09.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
19
|
+
import "./index-ce26ce1d.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-5b3c9421.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-78ef3813.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const I = s({ componentName: z.FieldWidget }), oe = /* @__PURE__ */ s({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
|
-
import { a as V } from "./enum-type-
|
|
3
|
-
import { b } from "./share-field-
|
|
2
|
+
import { a as V } from "./enum-type-83a1c63e.js";
|
|
3
|
+
import { b } from "./share-field-27cccffb.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
6
|
-
import { w as z } from "./expression-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./uuid-
|
|
10
|
-
import "./enum-type-
|
|
5
|
+
import x from "./form-item-wrapper-9439f4d0.js";
|
|
6
|
+
import { w as z } from "./expression-a789517c.js";
|
|
7
|
+
import "./multirow-ba01fb1b.js";
|
|
8
|
+
import "./baseImp-7dec7b0d.js";
|
|
9
|
+
import "./uuid-85671611.js";
|
|
10
|
+
import "./enum-type-966ff1e0.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-610eab4e.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-9219e73c.js";
|
|
16
|
+
import "./slot-47652b09.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
19
|
+
import "./index-ce26ce1d.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-5b3c9421.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-78ef3813.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const I = s({ componentName: z.FieldWidget }), oe = /* @__PURE__ */ s({
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { a as E, f as J } from "./enum-type-83a1c63e.js";
|
|
3
|
+
import { I as q } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { b as G } from "./share-field-27cccffb.js";
|
|
5
|
+
import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-c7d69fe9.js";
|
|
7
|
+
import { i as K, a as Q } from "./slot-47652b09.js";
|
|
8
|
+
import { c as U } from "./multirow-ba01fb1b.js";
|
|
9
|
+
import { g as X } from "./expression-a789517c.js";
|
|
10
|
+
import { t as Y } from "./uuid-85671611.js";
|
|
11
|
+
import { _ as Z } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./baseImp-7dec7b0d.js";
|
|
14
|
+
import "./enum-type-966ff1e0.js";
|
|
15
|
+
import "./dialog-610eab4e.js";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-9219e73c.js";
|
|
19
|
+
import "./index-ce26ce1d.js";
|
|
20
|
+
import "./fieldobj-5b3c9421.js";
|
|
21
|
+
import "./source-map-b04aec4a.js";
|
|
22
|
+
import "./esprima-e8d15055.js";
|
|
23
|
+
const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
24
|
+
__name: "tmpl-widget",
|
|
25
|
+
props: {
|
|
26
|
+
...q
|
|
27
|
+
},
|
|
28
|
+
setup(h, { expose: y }) {
|
|
29
|
+
const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: S, fieldName: x, watchOption: $ } = G(f), O = I(() => K(g.value)), { getSlotFromData: V, emit$: C, rowsData: p, getValue: N, setValue: W } = U({
|
|
30
|
+
...f,
|
|
31
|
+
fieldName: x.value
|
|
32
|
+
}), _ = (e) => W(Y(J(e), !0), (r) => b(r)), l = T(!1), w = (e = !1) => {
|
|
33
|
+
$(e, X.data, () => {
|
|
34
|
+
l.value = !0;
|
|
35
|
+
}, (r) => {
|
|
36
|
+
var o, s;
|
|
37
|
+
_(r), setTimeout(() => {
|
|
38
|
+
l.value = !1;
|
|
39
|
+
}, 1e3), (s = (o = k.value) == null ? void 0 : o.completed) == null || s.call(o, r);
|
|
40
|
+
});
|
|
41
|
+
}, b = (e) => {
|
|
42
|
+
var o;
|
|
43
|
+
const r = (o = i == null ? void 0 : i.value) != null && o.alwaysShow ? [{}] : null;
|
|
44
|
+
return V(g.value, e || r);
|
|
45
|
+
};
|
|
46
|
+
return j(() => {
|
|
47
|
+
w(!0);
|
|
48
|
+
}), y({
|
|
49
|
+
...D,
|
|
50
|
+
refresh: w,
|
|
51
|
+
emit$: C,
|
|
52
|
+
setValue: _,
|
|
53
|
+
getValue: N
|
|
54
|
+
}), (e, r) => {
|
|
55
|
+
const o = L("loading");
|
|
56
|
+
return a(), d(H, u(e.$props, {
|
|
57
|
+
"prop-options": { fieldObj: t(S) },
|
|
58
|
+
"show-wrapper-component": !0
|
|
59
|
+
}), {
|
|
60
|
+
default: M(() => {
|
|
61
|
+
var s;
|
|
62
|
+
return [
|
|
63
|
+
e.designState ? (a(), d(v, u({ key: 0 }, e.$props, {
|
|
64
|
+
widget: t(Q)(t(O), "row"),
|
|
65
|
+
dragClass: "dragSize"
|
|
66
|
+
}), null, 16, ["widget"])) : (a(), n(c, { key: 1 }, [
|
|
67
|
+
t(p) && ((s = t(p)) == null ? void 0 : s.length) > 0 ? P((a(), n("div", {
|
|
68
|
+
key: 0,
|
|
69
|
+
"element-loading-text": t(i).loadingText
|
|
70
|
+
}, [
|
|
71
|
+
(a(!0), n(c, null, R(t(p), (m, B) => (a(), d(v, u({
|
|
72
|
+
key: m.key
|
|
73
|
+
}, e.$props, {
|
|
74
|
+
widget: m.widget[0],
|
|
75
|
+
componentName: "div",
|
|
76
|
+
"row-scope": { row: m.data, $index: B },
|
|
77
|
+
componentClass: "flex full-width"
|
|
78
|
+
}), null, 16, ["widget", "row-scope"]))), 128))
|
|
79
|
+
], 8, ee)), [
|
|
80
|
+
[o, t(i).showLoading && l.value]
|
|
81
|
+
]) : (a(), n(c, { key: 1 }, [
|
|
82
|
+
z(A(t(i).noData || t(E).i18nt("designer.hint.noData")), 1)
|
|
83
|
+
], 64))
|
|
84
|
+
], 64))
|
|
85
|
+
];
|
|
86
|
+
}),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 16, ["prop-options"]);
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
const xe = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-03255958"]]);
|
|
93
|
+
export {
|
|
94
|
+
xe as default
|
|
95
|
+
};
|
|
@@ -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 } from "./enum-type-
|
|
3
|
-
import { t as D } from "./uuid-
|
|
2
|
+
import { s as f } from "./enum-type-83a1c63e.js";
|
|
3
|
+
import { t as D } from "./uuid-85671611.js";
|
|
4
4
|
import { I as te } from "./field-base-5547436d.js";
|
|
5
|
-
import { b as oe } from "./share-field-
|
|
6
|
-
import re from "./form-item-wrapper-
|
|
7
|
-
import { g as y, w as le } from "./expression-
|
|
5
|
+
import { b as oe } from "./share-field-27cccffb.js";
|
|
6
|
+
import re from "./form-item-wrapper-9439f4d0.js";
|
|
7
|
+
import { g as y, w as le } from "./expression-a789517c.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./enum-type-
|
|
9
|
+
import "./multirow-ba01fb1b.js";
|
|
10
|
+
import "./baseImp-7dec7b0d.js";
|
|
11
|
+
import "./enum-type-966ff1e0.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-610eab4e.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.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-9219e73c.js";
|
|
17
|
+
import "./slot-47652b09.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
19
|
+
import "./index-ce26ce1d.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-5b3c9421.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-78ef3813.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 { g as n, w as G } from "./expression-
|
|
6
|
-
import { s as a } from "./enum-type-
|
|
3
|
+
import { b as U } from "./share-field-27cccffb.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
5
|
+
import { g as n, w as G } from "./expression-a789517c.js";
|
|
6
|
+
import { s as a } from "./enum-type-83a1c63e.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-ba01fb1b.js";
|
|
9
|
+
import "./baseImp-7dec7b0d.js";
|
|
10
|
+
import "./uuid-85671611.js";
|
|
11
|
+
import "./enum-type-966ff1e0.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-610eab4e.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./index-
|
|
16
|
+
import "./index-9219e73c.js";
|
|
17
|
+
import "./slot-47652b09.js";
|
|
18
|
+
import "./index-ce26ce1d.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-5b3c9421.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({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as de, resolveComponent as V, openBlock as l, createElementBlock as v, Fragment as N, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ee, withCtx as a, createElementVNode as U, renderList as te, createTextVNode as c, toDisplayString as k, withModifiers as w, unref as n, renderSlot as O, computed as S, ref as ne, resolveDynamicComponent as ie, mergeProps as z, toHandlers as ae } from "vue";
|
|
2
|
-
import { c as re } from "./uuid-
|
|
2
|
+
import { c as re } from "./uuid-85671611.js";
|
|
3
3
|
import { I as pe, a as ue } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { a as g, N as se } from "./enum-type-
|
|
5
|
-
import { a as oe, i as me, j as ge, k as fe, d as we } from "./index-
|
|
6
|
-
import { S as m } from "./index-
|
|
7
|
-
import { f as ve } from "./baseImp-
|
|
8
|
-
import { c as Q } from "./enum-type-
|
|
9
|
-
import { u as ye } from "./fieldobj-
|
|
4
|
+
import { a as g, N as se } from "./enum-type-83a1c63e.js";
|
|
5
|
+
import { a as oe, i as me, j as ge, k as fe, d as we } from "./index-9219e73c.js";
|
|
6
|
+
import { S as m } from "./index-ce26ce1d.js";
|
|
7
|
+
import { f as ve } from "./baseImp-7dec7b0d.js";
|
|
8
|
+
import { c as Q } from "./enum-type-966ff1e0.js";
|
|
9
|
+
import { u as ye } from "./fieldobj-5b3c9421.js";
|
|
10
10
|
const We = { key: 0 }, he = { class: "clWhite" }, Ce = { class: "clWhite" }, ce = ["title"], ke = ["title"], Le = ["title"], be = ["title"], $e = /* @__PURE__ */ de({
|
|
11
11
|
__name: "drag-handler",
|
|
12
12
|
props: { ...pe, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
import { I as k } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as A } from "./drag-wrapper-c7d69fe9.js";
|
|
4
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
5
|
+
import { w as F } from "./expression-a789517c.js";
|
|
6
|
+
import { W as v } from "./enum-type-966ff1e0.js";
|
|
7
|
+
import { b as N, a as $ } from "./share-field-27cccffb.js";
|
|
8
|
+
import { c as E } from "./slot-47652b09.js";
|
|
9
|
+
function H(i) {
|
|
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) => {
|
|
11
|
+
l(v.setDisabled, { flag: o });
|
|
12
|
+
}, r = (o = !1) => {
|
|
13
|
+
var e;
|
|
14
|
+
(e = t == null ? void 0 : t.setHidden) == null || e.call(t, o);
|
|
15
|
+
}, _ = () => {
|
|
16
|
+
l(v.resetField);
|
|
17
|
+
};
|
|
18
|
+
return ((o) => {
|
|
19
|
+
L(() => {
|
|
20
|
+
var e;
|
|
21
|
+
return (e = d.value) == null ? void 0 : e[o];
|
|
22
|
+
}, (e) => {
|
|
23
|
+
e != null && o === "disabled" && p(e);
|
|
24
|
+
}, { immediate: !0 });
|
|
25
|
+
})("disabled"), {
|
|
26
|
+
extendAttrs: m,
|
|
27
|
+
attrs: d,
|
|
28
|
+
exposed: {
|
|
29
|
+
...t,
|
|
30
|
+
setDisabled: p,
|
|
31
|
+
setHidden: r,
|
|
32
|
+
// setRequired,
|
|
33
|
+
resetField: _
|
|
34
|
+
},
|
|
35
|
+
componentWrapperClass: c,
|
|
36
|
+
customClass: a,
|
|
37
|
+
fieldKey: f,
|
|
38
|
+
fieldObj: g,
|
|
39
|
+
widgetRefList: n
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
const I = ["element-loading-text"], K = h({ componentName: F.ContainerWidget }), T = /* @__PURE__ */ h({
|
|
43
|
+
...K,
|
|
44
|
+
__name: "wrapper-widget",
|
|
45
|
+
props: { ...k },
|
|
46
|
+
setup(i, { expose: n }) {
|
|
47
|
+
const c = i, { attrs: a, extendAttrs: t, exposed: d, customClass: m, componentWrapperClass: f, fieldObj: g, fieldKey: l, widgetRefList: p } = H(c);
|
|
48
|
+
return n({ ...d }), (r, _) => {
|
|
49
|
+
const u = j("loading");
|
|
50
|
+
return b(), D(B, W(r.$props, {
|
|
51
|
+
"prop-options": { fieldObj: s(g), class: [s(m), s(f)] },
|
|
52
|
+
"component-name": "div",
|
|
53
|
+
"show-wrapper-component": !0
|
|
54
|
+
}), {
|
|
55
|
+
default: O(({ data: o }) => {
|
|
56
|
+
var e, w, C;
|
|
57
|
+
return [
|
|
58
|
+
r.designState || !((e = s(a)) != null && e.hidden) || !((w = s(a)) != null && w.lazy) ? P((b(), x("div", {
|
|
59
|
+
ref: "fieldEditor",
|
|
60
|
+
class: z([...o.injectClass]),
|
|
61
|
+
key: s(l),
|
|
62
|
+
"element-loading-text": s(t).loadingText
|
|
63
|
+
}, [
|
|
64
|
+
R(A, W(r.$props, {
|
|
65
|
+
dragClass: "dragSize",
|
|
66
|
+
"component-class": o.componentWrapperClass,
|
|
67
|
+
refList: s(p)
|
|
68
|
+
}), null, 16, ["component-class", "refList"])
|
|
69
|
+
], 10, I)), [
|
|
70
|
+
[u, (C = s(t)) == null ? void 0 : C.showLoading]
|
|
71
|
+
]) : S("", !0)
|
|
72
|
+
];
|
|
73
|
+
}),
|
|
74
|
+
_: 1
|
|
75
|
+
}, 16, ["prop-options"]);
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}), Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79
|
+
__proto__: null,
|
|
80
|
+
default: T
|
|
81
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
82
|
+
export {
|
|
83
|
+
Y as _
|
|
84
|
+
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-ccb059d2.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-97a76214.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-8d10af8d.js";
|
|
7
|
-
import "./uuid-7ce48eb1.js";
|
|
8
|
-
import "./index-44dc89d4.js";
|
|
9
|
-
import "./enum-type-e4be3593.js";
|
|
10
|
-
import "./baseImp-d834ac3d.js";
|
|
11
|
-
import "./icon-e9532b43.js";
|
|
12
|
-
import "./expression-07e9797f.js";
|
|
13
|
-
import "./source-map-b04aec4a.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./esprima-e8d15055.js";
|
|
16
|
-
import "./dialog-bb7f0558.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-2fb3647d.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-aef757c4.js";
|
|
21
|
-
import "./slot-55f5b1ee.js";
|
|
22
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-bbbfbe22.js";
|
|
23
|
-
import "./drag-wrapper-f146ea8e.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-e1397752.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-f146ea8e.js";
|
|
5
|
-
import "./baseImp-d834ac3d.js";
|
|
6
|
-
import "./enum-type-97a76214.js";
|
|
7
|
-
import "./uuid-7ce48eb1.js";
|
|
8
|
-
import "./enum-type-e4be3593.js";
|
|
9
|
-
import "./icon-e9532b43.js";
|
|
10
|
-
import "./expression-07e9797f.js";
|
|
11
|
-
import "./source-map-b04aec4a.js";
|
|
12
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./dialog-bb7f0558.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./index-44dc89d4.js";
|
|
17
|
-
import "./slot-55f5b1ee.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8d10af8d.js";
|
|
20
|
-
import "./index-2fb3647d.js";
|
|
21
|
-
import "./fieldobj-aef757c4.js";
|
|
22
|
-
import "./share-field-35b4e271.js";
|
|
23
|
-
import "./multirow-9e97464f.js";
|
|
24
|
-
export {
|
|
25
|
-
o as default
|
|
26
|
-
};
|
package/form-widget-99a8eaa7.js
DELETED
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { ref as Z, reactive as ee, onMounted as le, nextTick as De, defineComponent as ie, resolveComponent as Ve, openBlock as te, createBlock as oe, mergeProps as H, unref as F, withCtx as ae, toHandlers as We, createVNode as Le } from "vue";
|
|
2
|
-
import { I as Oe } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as Ne } from "./drag-wrapper-f146ea8e.js";
|
|
4
|
-
import { _ as je } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8d10af8d.js";
|
|
5
|
-
import { w as q, b as ne, g as S, f as V, k as Ee } from "./expression-07e9797f.js";
|
|
6
|
-
import { u as Se } from "./icon-e9532b43.js";
|
|
7
|
-
import { u as xe, a as ye } from "./multirow-9e97464f.js";
|
|
8
|
-
import { i as ke, I as Ae, a as Ie, d as Me, J as Pe, x as Re } from "./enum-type-97a76214.js";
|
|
9
|
-
import { $ as $e, B as Be } from "./baseImp-d834ac3d.js";
|
|
10
|
-
import { f as He } from "./index-44dc89d4.js";
|
|
11
|
-
import { b as qe, a as Te, u as ze } from "./share-field-35b4e271.js";
|
|
12
|
-
import { W as Je } from "./enum-type-e4be3593.js";
|
|
13
|
-
import { F as Ke } from "./slot-55f5b1ee.js";
|
|
14
|
-
import { _ as Ue } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
function Ge(r) {
|
|
16
|
-
const O = r.widget, f = r.designer, b = f == null ? void 0 : f.pageConfig, w = r == null ? void 0 : r.widgetList, N = Z({}), x = {}, { fieldModel: y, fieldName: k, fieldEditor: p, attrs: j, events: v, getFieldOptions: T, hasFieldOptions: E, exposed: _, fieldObj: g, watchOption: W, propResultOpt: L, extendAttrs: h } = qe(r), { off$: D, on$: A, emit$: de, broadcast: z } = ye();
|
|
17
|
-
var { instance: J } = Se();
|
|
18
|
-
const { setAllRefList: re } = Te(N.value), K = { designState: r == null ? void 0 : r.designState, pageConfig: b, globalConfig: L == null ? void 0 : L.globalConfig }, { formModel: I, setData: se, getData: M, clearData: U } = xe(w, { ...K }), { handleFunc: P } = ze({ options: b }, K), R = ee({}), ce = () => {
|
|
19
|
-
D(V.fieldChange), A(V.fieldChange, (e) => {
|
|
20
|
-
ve(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), _ == null || _.setValue(I), me(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
-
});
|
|
22
|
-
}, fe = () => {
|
|
23
|
-
D(V.fieldValidation), A(V.fieldValidation, (e) => {
|
|
24
|
-
var t;
|
|
25
|
-
(t = p.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
-
});
|
|
27
|
-
}, ue = () => {
|
|
28
|
-
D(V.fieldRuleChange), A(V.fieldRuleChange, (e) => {
|
|
29
|
-
var o;
|
|
30
|
-
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((a) => ({
|
|
31
|
-
required: a.required,
|
|
32
|
-
message: a.message,
|
|
33
|
-
trigger: a.trigger,
|
|
34
|
-
validator: a.validator
|
|
35
|
-
}));
|
|
36
|
-
Object.assign(R, { [e == null ? void 0 : e.fieldName]: t }), j.value.rules = R;
|
|
37
|
-
});
|
|
38
|
-
}, $ = Z(!1), B = ee({}), me = (e, t, o) => {
|
|
39
|
-
$.value = !0, e && Me(B, { [e]: { oldValue: o, newValue: t } });
|
|
40
|
-
}, pe = () => {
|
|
41
|
-
$.value = !1, Ae(B);
|
|
42
|
-
}, ve = (e, t, o) => {
|
|
43
|
-
P(v.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: I });
|
|
44
|
-
}, _e = () => {
|
|
45
|
-
P(v.value.formCreated);
|
|
46
|
-
}, ge = () => {
|
|
47
|
-
P(v.value.formMounted);
|
|
48
|
-
}, he = () => {
|
|
49
|
-
ue(), ce(), fe(), _e();
|
|
50
|
-
}, Ce = (e) => {
|
|
51
|
-
var t;
|
|
52
|
-
(t = p.value) == null || t.clearValidate(e);
|
|
53
|
-
}, Fe = () => {
|
|
54
|
-
re(Je.resetField), De(() => {
|
|
55
|
-
Ce();
|
|
56
|
-
});
|
|
57
|
-
}, G = (e, t) => {
|
|
58
|
-
let o = [];
|
|
59
|
-
for (let s in e) {
|
|
60
|
-
var a = e[s], i = a == null ? void 0 : a.filter((l) => (l == null ? void 0 : l.force) === t);
|
|
61
|
-
i == null || i.forEach((l) => {
|
|
62
|
-
var n;
|
|
63
|
-
const c = (n = l == null ? void 0 : l.rule) == null ? void 0 : n.label;
|
|
64
|
-
l.message && o.push(Ee(c ? "【" + c + "】" : "", l.message, ":"));
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
return Pe(o);
|
|
68
|
-
}, be = (e, t) => {
|
|
69
|
-
var o = {};
|
|
70
|
-
return He(t, (a) => {
|
|
71
|
-
var i = Be.getName(a), s = Re(e, i);
|
|
72
|
-
return s && (o[i] = e[i]), s;
|
|
73
|
-
}, !1), o;
|
|
74
|
-
}, we = (e = !0) => {
|
|
75
|
-
var i, s, l;
|
|
76
|
-
let t = M(), o = function() {
|
|
77
|
-
}, a = new Promise(function(c, n) {
|
|
78
|
-
o = function(u, d) {
|
|
79
|
-
(d ? n : c)({ data: u, isSuccess: !d, message: d });
|
|
80
|
-
};
|
|
81
|
-
});
|
|
82
|
-
return !((i = p.value) != null && i.validate) || !e ? (o(t), a) : ((l = (s = p.value) == null ? void 0 : s.validate) == null || l.call(s, (c, n) => {
|
|
83
|
-
if (c)
|
|
84
|
-
o(t);
|
|
85
|
-
else {
|
|
86
|
-
var u = G(n, !0);
|
|
87
|
-
if (u && u.length > 0) {
|
|
88
|
-
o(t, u);
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
var d = G(n, !1);
|
|
92
|
-
if (d && d.length > 0) {
|
|
93
|
-
d.push(Ie.i18nt("designer.hint.continue")), $e.multiple(d).then((m) => {
|
|
94
|
-
o(t);
|
|
95
|
-
});
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}), a);
|
|
100
|
-
}, Q = (e, t = !0) => {
|
|
101
|
-
if (O) {
|
|
102
|
-
var o = be(e, [O]);
|
|
103
|
-
se(o, t), z(q.ContainerWidget, ne.setFormData, e, J), z(q.FieldWidget, ne.setFormData, e, J);
|
|
104
|
-
}
|
|
105
|
-
}, X = (e) => new Promise((t, o) => {
|
|
106
|
-
const a = (n, u) => {
|
|
107
|
-
var m, C, Y;
|
|
108
|
-
const d = (m = h.value) != null && m.formDataLoaded ? (Y = (C = h.value) == null ? void 0 : C.formDataLoaded) == null ? void 0 : Y.call(C, M(), n) : n;
|
|
109
|
-
d ? (Q(d, !u), t(d)) : t({});
|
|
110
|
-
}, i = () => {
|
|
111
|
-
W(e, S.newDataSource, void 0, (n, u) => {
|
|
112
|
-
a(n, !0);
|
|
113
|
-
});
|
|
114
|
-
}, s = () => {
|
|
115
|
-
W(e, S.editDataSource, void 0, (n, u) => {
|
|
116
|
-
var m, C;
|
|
117
|
-
if (((C = (m = h.value) == null ? void 0 : m.needFormAdd) == null ? void 0 : C.call(m, n)) && c) {
|
|
118
|
-
i();
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
a(n, !1);
|
|
122
|
-
});
|
|
123
|
-
}, l = E(S.editDataSource), c = E(S.newDataSource);
|
|
124
|
-
l ? s() : c && i();
|
|
125
|
-
});
|
|
126
|
-
return he(), le(() => {
|
|
127
|
-
ke(), ge();
|
|
128
|
-
}), {
|
|
129
|
-
widgetRefList: N,
|
|
130
|
-
allWidgetRefList: x,
|
|
131
|
-
fieldEditor: p,
|
|
132
|
-
formModel: I,
|
|
133
|
-
pageConfig: b,
|
|
134
|
-
widgetList: w,
|
|
135
|
-
fieldModel: y,
|
|
136
|
-
fieldName: k,
|
|
137
|
-
attrs: j,
|
|
138
|
-
extendAttrs: h,
|
|
139
|
-
events: v,
|
|
140
|
-
rules: R,
|
|
141
|
-
loadData: X,
|
|
142
|
-
clearData: U,
|
|
143
|
-
exposed: {
|
|
144
|
-
..._,
|
|
145
|
-
setValue: Q,
|
|
146
|
-
getValue: we,
|
|
147
|
-
resetField: Fe,
|
|
148
|
-
clearData: U,
|
|
149
|
-
loadData: X,
|
|
150
|
-
getData: M,
|
|
151
|
-
clearChangeRecord: pe,
|
|
152
|
-
formChangeCache: B,
|
|
153
|
-
formChangeFlag: $,
|
|
154
|
-
emit$: de
|
|
155
|
-
},
|
|
156
|
-
fieldObj: g
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
const Qe = ie({ componentName: q.ContainerWidget }), Xe = /* @__PURE__ */ ie({
|
|
160
|
-
...Qe,
|
|
161
|
-
__name: "form-widget",
|
|
162
|
-
props: { ...Oe },
|
|
163
|
-
setup(r, { expose: O }) {
|
|
164
|
-
var _;
|
|
165
|
-
const f = r, { exposed: b, formModel: w, fieldEditor: N, attrs: x, events: y, widgetRefList: k, extendAttrs: p, fieldName: j, fieldObj: v, loadData: T } = Ge({ ...f, widgetList: (_ = f == null ? void 0 : f.widget) == null ? void 0 : _.widgetList }), E = j.value;
|
|
166
|
-
return Ke.globalProvide({
|
|
167
|
-
globalFormName: E,
|
|
168
|
-
globalDataModel: w
|
|
169
|
-
}), le(() => {
|
|
170
|
-
var g;
|
|
171
|
-
(g = p.value) != null && g.loadDataWhenInit && !f.designState && T(!0).then((W) => {
|
|
172
|
-
}).catch((W) => {
|
|
173
|
-
}).finally(() => {
|
|
174
|
-
b.clearChangeRecord();
|
|
175
|
-
});
|
|
176
|
-
}), O({ ...b }), (g, W) => {
|
|
177
|
-
const L = Ve("el-form");
|
|
178
|
-
return te(), oe(je, H(g.$props, {
|
|
179
|
-
"prop-options": { fieldObj: F(v) }
|
|
180
|
-
}), {
|
|
181
|
-
default: ae(({ data: h }) => {
|
|
182
|
-
var D;
|
|
183
|
-
return [
|
|
184
|
-
(te(), oe(L, H({
|
|
185
|
-
ref_key: "fieldEditor",
|
|
186
|
-
ref: N,
|
|
187
|
-
model: F(w)
|
|
188
|
-
}, F(x), We(F(y)), {
|
|
189
|
-
class: h.injectClass,
|
|
190
|
-
key: (D = F(v)) == null ? void 0 : D.fieldKey
|
|
191
|
-
}), {
|
|
192
|
-
default: ae(() => [
|
|
193
|
-
Le(Ne, H(g.$props, {
|
|
194
|
-
dragClass: "formDrag",
|
|
195
|
-
model: F(w),
|
|
196
|
-
provideModel: !0,
|
|
197
|
-
"component-class": h.componentWrapperClass,
|
|
198
|
-
refList: F(k)
|
|
199
|
-
}), null, 16, ["model", "component-class", "refList"])
|
|
200
|
-
]),
|
|
201
|
-
_: 2
|
|
202
|
-
}, 1040, ["model", "class"]))
|
|
203
|
-
];
|
|
204
|
-
}),
|
|
205
|
-
_: 1
|
|
206
|
-
}, 16, ["prop-options"]);
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
const Ye = /* @__PURE__ */ Ue(Xe, [["__scopeId", "data-v-250a48ea"]]), mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
211
|
-
__proto__: null,
|
|
212
|
-
default: Ye
|
|
213
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
214
|
-
export {
|
|
215
|
-
mt as _
|
|
216
|
-
};
|