hlrender 0.0.6 → 0.0.8
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-87f571a2.js → affix-widget-93735319.js} +16 -16
- package/{alert-widget-6a08264c.js → alert-widget-f0ff08a2.js} +16 -16
- package/{anchor-widget-3af9f1f8.js → anchor-widget-f0251830.js} +13 -13
- package/{auto-complete-widget-863befe4.js → auto-complete-widget-44293342.js} +31 -31
- package/{avatar-widget-f46eda28.js → avatar-widget-73bc4dd5.js} +16 -16
- package/{backtop-widget-72db194f.js → backtop-widget-5d48abcb.js} +16 -16
- package/{badge-widget-5b18304c.js → badge-widget-4f7889c8.js} +16 -16
- package/{baseImp-55a31c78.js → baseImp-53bcce11.js} +8 -11
- package/{breadcrumb-widget-aa83ee8f.js → breadcrumb-widget-dd38f58b.js} +13 -13
- package/{button-widget-50016859.js → button-widget-e2284fb8.js} +16 -16
- package/{cache-widget-39816985.js → cache-widget-5445b2f9.js} +15 -15
- package/{card-widget-53b290e6.js → card-widget-b3898541.js} +47 -47
- package/{carousel-widget-147d17eb.js → carousel-widget-0ca5f731.js} +14 -14
- package/cascader-widget-776b00a4.js +95 -0
- package/{chart-widget-5be8c83d.js → chart-widget-b9726bab.js} +13 -13
- package/checkbox-widget-39940e05.js +77 -0
- package/{collapse-widget-dcdc2356.js → collapse-widget-15ca7e36.js} +14 -14
- package/{color-picker-widget-bfe0eec3.js → color-picker-widget-ac8dae29.js} +15 -15
- package/{cont-cell-widget-a49846a7.js → cont-cell-widget-ee8e0a93.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4d1b8bcb.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-798eecea.js} +5 -5
- package/{cont-widget-f3836343.js → cont-widget-f126333d.js} +4 -4
- package/content-wrapper-36c56e38.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-75cf4b25.js → content-wrapper.vue_vue_type_script_setup_true_lang-0d9539b3.js} +3 -3
- package/date-picker-range-widget-b4f3b710.js +70 -0
- package/{date-picker-widget-188eaac5.js → date-picker-widget-7c1de0da.js} +15 -15
- package/default-slot-widget-b98988ab.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-52cd0b7f.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0fbe88b5.js} +7 -7
- package/{descriptions-widget-2a479788.js → descriptions-widget-2619da78.js} +14 -14
- package/{dialog-d87ab558.js → dialog-6a3f6732.js} +2 -2
- package/{dialog-widget-33009ce9.js → dialog-widget-36e46931.js} +15 -15
- package/{divider-widget-39dd6a1b.js → divider-widget-273655c0.js} +16 -16
- package/{drag-wrapper-207a28e8.js → drag-wrapper-5de6565b.js} +6 -6
- package/{drawer-widget-adbb75db.js → drawer-widget-c24320cc.js} +15 -15
- package/{dropdown-widget-ea5629f2.js → dropdown-widget-ae7fbf87.js} +14 -14
- package/{empty-widget-6763a79c.js → empty-widget-7d9a8091.js} +16 -16
- package/{enum-type-ebccb1d4.js → enum-type-535dad7d.js} +1 -1
- package/{enum-type-64b61a45.js → enum-type-58fa8fed.js} +13 -13
- package/{expression-0623ba51.js → expression-05a920a6.js} +3 -3
- package/feedback-widget-1b4f8fd8.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-fdccc54b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e1e7e32d.js} +5 -5
- package/{fieldobj-d3e96d51.js → fieldobj-c5438b43.js} +1 -1
- package/{file-upload-widget-6c5914c8.js → file-upload-widget-a22f9bfe.js} +16 -16
- package/{form-item-wrapper-2d82bad7.js → form-item-wrapper-bdbd9119.js} +22 -22
- package/form-widget-3aabae9a.js +213 -0
- package/{grid-col-widget-43710db5.js → grid-col-widget-57b4c823.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5bc5bdb6.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-44e4ebbc.js} +5 -5
- package/{grid-widget-89e86247.js → grid-widget-4a77ee44.js} +5 -5
- package/{html-text-widget-d98a3cfc.js → html-text-widget-c659bf66.js} +14 -14
- package/{iframe-widget-a66f109c.js → iframe-widget-daafbe85.js} +13 -13
- package/{image-widget-4ccf8a08.js → image-widget-0907b309.js} +13 -13
- package/{index-9a0ea20e.js → index-50468d90.js} +5 -5
- package/{index-c7185b92.js → index-87cd501e.js} +4 -4
- package/{index-f6f4c499.js → index-ff1f52fe.js} +1 -1
- package/{input-number-widget-70cbdcaa.js → input-number-widget-0e057812.js} +28 -28
- package/{input-widget-3205407a.js → input-widget-33731991.js} +29 -29
- package/{label-wrapper-bf5bb22b.js → label-wrapper-33d56c8e.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-5f3ac18a.js → label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js} +3 -3
- package/{link-widget-0cbccee4.js → link-widget-3e80c8ad.js} +16 -16
- package/{ltable-col-widget-fbdb0bcc.js → ltable-col-widget-b4e6a96e.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6fdd4861.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-1a56597e.js} +10 -10
- package/{ltable-widget-4591c2d1.js → ltable-widget-dd7aa4b2.js} +5 -5
- package/{menu-widget-bf3c83b8.js → menu-widget-3741c08a.js} +14 -14
- package/{model-widget-461a906b.js → model-widget-ff8d0040.js} +13 -13
- package/multirow-a0e18ea1.js +224 -0
- package/{multirow-widget-4ef17834.js → multirow-widget-c8ead99b.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-b47189e7.js → pagination-widget-c7862b06.js} +13 -13
- package/{picture-upload-widget-28058ff6.js → picture-upload-widget-5efb644c.js} +16 -16
- package/{progress-widget-4260b2b1.js → progress-widget-26b684ac.js} +14 -14
- package/{propresult-15711ec7.js → propresult-77f4a3ac.js} +1 -1
- package/{radio-widget-d9fb0abe.js → radio-widget-5225ebc9.js} +28 -28
- package/{range-widget-9dac1e43.js → range-widget-ae49e5c2.js} +16 -16
- package/{rate-widget-82f5e770.js → rate-widget-1388c149.js} +15 -15
- package/render.es.js +30 -30
- package/render.style.css +1 -1
- package/render.umd.js +441 -441
- package/{result-widget-4eb3b43d.js → result-widget-c8b21863.js} +14 -14
- package/{rich-editor-widget-1baaee5d.js → rich-editor-widget-d3214dd4.js} +15 -15
- package/{router-widget-778e07b4.js → router-widget-356b9f9f.js} +13 -13
- package/{select-widget-4ac628f5.js → select-widget-0b716cff.js} +57 -57
- package/{sfc-061cfc5d.js → sfc-456e8e61.js} +8 -8
- package/share-field-328a7d31.js +693 -0
- package/{share-file-df8cf883.js → share-file-9a50bdb4.js} +37 -37
- package/{slider-widget-4c710047.js → slider-widget-66585704.js} +27 -27
- package/{slot-f5b09143.js → slot-704a6f3f.js} +4 -4
- package/{static-text-widget-b5d505ba.js → static-text-widget-c7e056ad.js} +14 -14
- package/{steps-widget-b4814b03.js → steps-widget-44062175.js} +13 -13
- package/subMenu-widget-5a2148db.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-a1cef8dd.js → subMenu-widget.vue_vue_type_script_setup_true_lang-744946da.js} +3 -3
- package/{switch-widget-a497d6dd.js → switch-widget-b8e9cc4f.js} +15 -15
- package/{tab-pane-widget-7284c298.js → tab-pane-widget-151434aa.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-8f54ee57.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e1005dbb.js} +5 -5
- package/table-col-widget-ed2a4256.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cb167eb4.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-313bb4bd.js} +6 -6
- package/{table-widget-d4a39355.js → table-widget-3390f7ce.js} +15 -15
- package/{tabs-widget-e7d303a6.js → tabs-widget-8adcbf40.js} +9 -9
- package/{tag-widget-966dfdb0.js → tag-widget-0df87d49.js} +16 -16
- package/{text-widget-1bb1ac49.js → text-widget-84455b6f.js} +16 -16
- package/textarea-widget-f6bb5beb.js +54 -0
- package/{time-picker-range-widget-49785c91.js → time-picker-range-widget-7f39fe97.js} +23 -23
- package/{time-picker-widget-2d632c0a.js → time-picker-widget-637168a4.js} +15 -15
- package/{time-select-widget-d1aac015.js → time-select-widget-0764aa10.js} +15 -15
- package/{tmpl-widget-3c125136.js → tmpl-widget-d98bc1c8.js} +14 -14
- package/tree-select-widget-d708ddc7.js +139 -0
- package/{tree-widget-3ec1dbae.js → tree-widget-3c929e93.js} +13 -13
- package/{uuid-63cb6ed5.js → uuid-35d50fb6.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js} +7 -7
- package/{wrapper-widget-aaf5aebe.js → wrapper-widget-c7a5ff73.js} +6 -6
- package/cascader-widget-96259add.js +0 -95
- package/checkbox-widget-9449d643.js +0 -77
- package/content-wrapper-d1b17003.js +0 -14
- package/date-picker-range-widget-229520ea.js +0 -70
- package/default-slot-widget-eb3b4aff.js +0 -24
- package/feedback-widget-06cb1f22.js +0 -24
- package/form-widget-0f8a1a0d.js +0 -212
- package/multirow-49d1711a.js +0 -226
- package/share-field-5ab4a421.js +0 -686
- package/subMenu-widget-bd425443.js +0 -16
- package/table-col-widget-b0cc4dbf.js +0 -20
- package/textarea-widget-74c6bdaa.js +0 -54
- package/tree-select-widget-abfb90a7.js +0 -92
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { defineComponent as d, resolveComponent as C, openBlock as r, createBlock as m, mergeProps as l, unref as e, withCtx as
|
|
2
|
-
import { b as h } from "./share-field-
|
|
1
|
+
import { defineComponent as d, resolveComponent as C, openBlock as r, createBlock as m, mergeProps as l, unref as e, withCtx as F, createElementVNode as N, isRef as j, toHandlers as E, createElementBlock as I, toDisplayString as O, createCommentVNode as W } from "vue";
|
|
2
|
+
import { b as h } from "./share-field-328a7d31.js";
|
|
3
3
|
import { I as z } from "./field-base-5547436d.js";
|
|
4
|
-
import B from "./form-item-wrapper-
|
|
5
|
-
import { w as
|
|
6
|
-
import { _ as
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./enum-type-
|
|
4
|
+
import B from "./form-item-wrapper-bdbd9119.js";
|
|
5
|
+
import { w as P } from "./expression-05a920a6.js";
|
|
6
|
+
import { _ as S } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
+
import "./enum-type-58fa8fed.js";
|
|
8
|
+
import "./multirow-a0e18ea1.js";
|
|
9
|
+
import "./baseImp-53bcce11.js";
|
|
10
|
+
import "./uuid-35d50fb6.js";
|
|
11
|
+
import "./enum-type-535dad7d.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-6a3f6732.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-50468d90.js";
|
|
17
|
+
import "./slot-704a6f3f.js";
|
|
18
18
|
import "./widget-base-4c2d6265.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
-
const
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js";
|
|
20
|
+
import "./index-ff1f52fe.js";
|
|
21
|
+
import "./fieldobj-c5438b43.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js";
|
|
23
|
+
const T = { class: "input-with-unit" }, A = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "unit"
|
|
26
|
-
},
|
|
27
|
-
...
|
|
26
|
+
}, D = d({ componentName: P.FieldWidget }), H = /* @__PURE__ */ d({
|
|
27
|
+
...D,
|
|
28
28
|
__name: "input-number-widget",
|
|
29
29
|
props: { ...z },
|
|
30
30
|
setup(u, { expose: _ }) {
|
|
31
|
-
const a = u, { fieldEditor: c, fieldKey: f,
|
|
31
|
+
const a = u, { fieldEditor: c, fieldKey: f, numFieldModel: t, rules: b, attrs: y, events: g, extendAttrs: i, exposed: x, fieldObj: v } = h(a);
|
|
32
32
|
return _({ ...x }), (k, p) => {
|
|
33
33
|
const V = C("el-input-number");
|
|
34
34
|
return r(), m(B, l(k.$props, {
|
|
35
|
-
propOptions: { fieldObj: e(v), rules: e(
|
|
35
|
+
propOptions: { fieldObj: e(v), rules: e(b) }
|
|
36
36
|
}), {
|
|
37
|
-
default:
|
|
37
|
+
default: F(({ data: o }) => {
|
|
38
38
|
var s, n;
|
|
39
39
|
return [
|
|
40
|
-
N("div",
|
|
40
|
+
N("div", T, [
|
|
41
41
|
(r(), m(V, l({
|
|
42
42
|
ref_key: "fieldEditor",
|
|
43
43
|
ref: c,
|
|
44
44
|
modelValue: e(t),
|
|
45
45
|
"onUpdate:modelValue": p[0] || (p[0] = (w) => j(t) ? t.value = w : null),
|
|
46
46
|
key: e(f)
|
|
47
|
-
}, e(
|
|
47
|
+
}, e(y), E(e(g)), {
|
|
48
48
|
size: o.size,
|
|
49
49
|
class: o.injectClass,
|
|
50
50
|
style: o.injectStyle
|
|
51
51
|
}), null, 16, ["modelValue", "size", "class", "style"])),
|
|
52
|
-
(s = e(i)) != null && s.unitText ? (r(), I("span",
|
|
52
|
+
(s = e(i)) != null && s.unitText ? (r(), I("span", A, O((n = e(i)) == null ? void 0 : n.unitText), 1)) : W("", !0)
|
|
53
53
|
])
|
|
54
54
|
];
|
|
55
55
|
}),
|
|
@@ -58,7 +58,7 @@ const S = { class: "input-with-unit" }, T = {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
const
|
|
61
|
+
const le = /* @__PURE__ */ S(H, [["__scopeId", "data-v-b722c138"]]);
|
|
62
62
|
export {
|
|
63
|
-
|
|
63
|
+
le as default
|
|
64
64
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as f, resolveComponent as S, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as z, toHandlers as D, createSlots as
|
|
2
|
-
import { a as
|
|
3
|
-
import { I as
|
|
4
|
-
import { b as
|
|
5
|
-
import { g as
|
|
6
|
-
import
|
|
7
|
-
import { w as L } from "./expression-
|
|
8
|
-
import { D as
|
|
1
|
+
import { defineComponent as f, resolveComponent as S, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as z, toHandlers as D, createSlots as I, renderList as N, resolveDynamicComponent as W, createCommentVNode as l } from "vue";
|
|
2
|
+
import { a as h } from "./enum-type-58fa8fed.js";
|
|
3
|
+
import { I as x } from "./field-base-5547436d.js";
|
|
4
|
+
import { b as A } from "./share-field-328a7d31.js";
|
|
5
|
+
import { g as B } from "./slot-704a6f3f.js";
|
|
6
|
+
import E from "./form-item-wrapper-bdbd9119.js";
|
|
7
|
+
import { w as L } from "./expression-05a920a6.js";
|
|
8
|
+
import { D as P } from "./drag-wrapper-5de6565b.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./uuid-
|
|
13
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-a0e18ea1.js";
|
|
11
|
+
import "./baseImp-53bcce11.js";
|
|
12
|
+
import "./uuid-35d50fb6.js";
|
|
13
|
+
import "./enum-type-535dad7d.js";
|
|
14
14
|
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-6a3f6732.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
20
|
-
import "./index-
|
|
18
|
+
import "./index-50468d90.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js";
|
|
20
|
+
import "./index-ff1f52fe.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
24
|
-
const
|
|
25
|
-
...
|
|
22
|
+
import "./fieldobj-c5438b43.js";
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js";
|
|
24
|
+
const T = f({ componentName: L.FieldWidget }), de = /* @__PURE__ */ f({
|
|
25
|
+
...T,
|
|
26
26
|
__name: "input-widget",
|
|
27
|
-
props: { ...
|
|
27
|
+
props: { ...x },
|
|
28
28
|
setup(u, { expose: g }) {
|
|
29
|
-
const c = u, { fieldEditor: y,
|
|
29
|
+
const c = u, { fieldEditor: y, fieldKey: w, fieldModel: o, rules: b, slots: k, attrs: C, extendAttrs: V, events: j, exposed: v, fieldObj: F } = A(c);
|
|
30
30
|
return g({ ...v }), (p, a) => {
|
|
31
31
|
const O = S("el-input");
|
|
32
|
-
return t(), i(
|
|
32
|
+
return t(), i(E, n(p.$props, {
|
|
33
33
|
propOptions: { fieldObj: r(F), rules: r(b) }
|
|
34
34
|
}), {
|
|
35
35
|
default: s(({ data: m }) => {
|
|
@@ -45,14 +45,14 @@ const P = f({ componentName: L.FieldWidget }), le = /* @__PURE__ */ f({
|
|
|
45
45
|
key: r(w),
|
|
46
46
|
style: m.injectStyle,
|
|
47
47
|
size: m.size
|
|
48
|
-
}),
|
|
49
|
-
|
|
48
|
+
}), I({ _: 2 }, [
|
|
49
|
+
N(r(B)(r(k), p.designState, (d = r(V)) == null ? void 0 : d.slotable), (e) => ({
|
|
50
50
|
name: e == null ? void 0 : e.slotName,
|
|
51
51
|
fn: s(() => [
|
|
52
|
-
e != null && e.default ? (t(), i(
|
|
53
|
-
e != null && e.widgetList ? (t(), i(
|
|
52
|
+
e != null && e.default ? (t(), i(W(e == null ? void 0 : e.default), { key: 0 })) : l("", !0),
|
|
53
|
+
e != null && e.widgetList ? (t(), i(P, n({ key: 1 }, p.$props, {
|
|
54
54
|
widget: e,
|
|
55
|
-
dragTip: r(
|
|
55
|
+
dragTip: r(h).i18nt("designer.hint.draggableArea1")
|
|
56
56
|
}), null, 16, ["widget", "dragTip"])) : l("", !0)
|
|
57
57
|
])
|
|
58
58
|
}))
|
|
@@ -65,5 +65,5 @@ const P = f({ componentName: L.FieldWidget }), le = /* @__PURE__ */ f({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
de as default
|
|
69
69
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./field-base-5547436d.js";
|
|
4
4
|
import "./widget-base-4c2d6265.js";
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./enum-type-
|
|
5
|
+
import "./index-ff1f52fe.js";
|
|
6
|
+
import "./enum-type-58fa8fed.js";
|
|
7
7
|
import "./icon-e9532b43.js";
|
|
8
8
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./fieldobj-
|
|
9
|
+
import "./enum-type-535dad7d.js";
|
|
10
|
+
import "./fieldobj-c5438b43.js";
|
|
11
11
|
export {
|
|
12
12
|
o as default
|
|
13
13
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as x, unref as e, openBlock as n, createElementBlock as a, normalizeClass as S, Fragment as o, createVNode as t, withCtx as y, createTextVNode as i, toDisplayString as m } from "vue";
|
|
2
2
|
import { I as T } from "./field-base-5547436d.js";
|
|
3
|
-
import { S as b } from "./index-
|
|
4
|
-
import { f as d } from "./enum-type-
|
|
5
|
-
import { u as v } from "./fieldobj-
|
|
3
|
+
import { S as b } from "./index-ff1f52fe.js";
|
|
4
|
+
import { f as d } from "./enum-type-535dad7d.js";
|
|
5
|
+
import { u as v } from "./fieldobj-c5438b43.js";
|
|
6
6
|
const w = { key: 1 }, z = /* @__PURE__ */ h({
|
|
7
7
|
__name: "label-wrapper",
|
|
8
8
|
props: {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as l, openBlock as e, createBlock as r, mergeProps as g, unref as o, withCtx as w, createCommentVNode as a, createVNode as N } from "vue";
|
|
2
2
|
import { I as O } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as b } from "./expression-
|
|
5
|
-
import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { S as c } from "./index-
|
|
7
|
-
import { b as F } from "./share-field-
|
|
3
|
+
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0fbe88b5.js";
|
|
4
|
+
import { w as b } from "./expression-05a920a6.js";
|
|
5
|
+
import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-0d9539b3.js";
|
|
6
|
+
import { S as c } from "./index-ff1f52fe.js";
|
|
7
|
+
import { b as F } from "./share-field-328a7d31.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./baseImp-
|
|
9
|
+
import "./enum-type-58fa8fed.js";
|
|
10
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js";
|
|
11
|
+
import "./uuid-35d50fb6.js";
|
|
12
|
+
import "./index-50468d90.js";
|
|
13
|
+
import "./enum-type-535dad7d.js";
|
|
14
|
+
import "./baseImp-53bcce11.js";
|
|
15
15
|
import "./icon-e9532b43.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-6a3f6732.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./drag-wrapper-
|
|
19
|
+
import "./fieldobj-c5438b43.js";
|
|
20
|
+
import "./slot-704a6f3f.js";
|
|
21
|
+
import "./drag-wrapper-5de6565b.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./multirow-
|
|
23
|
+
import "./multirow-a0e18ea1.js";
|
|
24
24
|
const S = l({ componentName: b.FieldWidget }), Z = /* @__PURE__ */ l({
|
|
25
25
|
...S,
|
|
26
26
|
__name: "link-widget",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-1a56597e.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as B, computed as n, resolveComponent as k, openBlock as ce, createBlock as be, mergeProps as O, unref as l, withCtx as d, createVNode as s, createTextVNode as v, toDisplayString as p, createElementVNode as Ce } from "vue";
|
|
2
|
-
import { a } from "./enum-type-
|
|
3
|
-
import { c as $ } from "./uuid-
|
|
4
|
-
import { w as fe } from "./expression-
|
|
2
|
+
import { a } from "./enum-type-58fa8fed.js";
|
|
3
|
+
import { c as $ } from "./uuid-35d50fb6.js";
|
|
4
|
+
import { w as fe } from "./expression-05a920a6.js";
|
|
5
5
|
import { I as Re } from "./widget-base-4c2d6265.js";
|
|
6
|
-
import { a as $e, b as We } from "./index-
|
|
7
|
-
import { b as Ae } from "./share-field-
|
|
8
|
-
import { c as ke } from "./slot-
|
|
9
|
-
import { B as A } from "./baseImp-
|
|
10
|
-
import { S as De } from "./index-
|
|
11
|
-
import { D as Te } from "./drag-wrapper-
|
|
12
|
-
import { _ as _e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
+
import { a as $e, b as We } from "./index-50468d90.js";
|
|
7
|
+
import { b as Ae } from "./share-field-328a7d31.js";
|
|
8
|
+
import { c as ke } from "./slot-704a6f3f.js";
|
|
9
|
+
import { B as A } from "./baseImp-53bcce11.js";
|
|
10
|
+
import { S as De } from "./index-ff1f52fe.js";
|
|
11
|
+
import { D as Te } from "./drag-wrapper-5de6565b.js";
|
|
12
|
+
import { _ as _e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js";
|
|
13
13
|
const he = ["title"], Oe = B({ componentName: fe.ContainerWidget }), Fe = /* @__PURE__ */ B({
|
|
14
14
|
...Oe,
|
|
15
15
|
__name: "ltable-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as t, createBlock as _, mergeProps as I, unref as s, withCtx as O, createElementBlock as r, normalizeClass as j, createElementVNode as c, Fragment as i, renderList as g, createCommentVNode as W } from "vue";
|
|
2
|
-
import { w as A } from "./expression-
|
|
2
|
+
import { w as A } from "./expression-05a920a6.js";
|
|
3
3
|
import { I as B } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { _ as N } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
6
|
-
import { c as P } from "./slot-
|
|
7
|
-
import { b as S } from "./share-field-
|
|
4
|
+
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js";
|
|
5
|
+
import { _ as N } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-1a56597e.js";
|
|
6
|
+
import { c as P } from "./slot-704a6f3f.js";
|
|
7
|
+
import { b as S } from "./share-field-328a7d31.js";
|
|
8
8
|
import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const $ = { class: "table-layout" }, z = u({ componentName: A.ContainerWidget }), E = /* @__PURE__ */ u({
|
|
10
10
|
...z,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as k, computed as h, resolveComponent as $, openBlock as d, createBlock as y, mergeProps as S, unref as i, withCtx as M, toHandlers as g, createVNode as B } from "vue";
|
|
2
|
-
import { d as b } from "./enum-type-
|
|
2
|
+
import { d as b } from "./enum-type-58fa8fed.js";
|
|
3
3
|
import { I as G } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as P } from "./share-field-
|
|
6
|
-
import { w as R } from "./expression-
|
|
7
|
-
import { _ as H } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { aa as j } from "./enum-type-
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js";
|
|
5
|
+
import { b as P } from "./share-field-328a7d31.js";
|
|
6
|
+
import { w as R } from "./expression-05a920a6.js";
|
|
7
|
+
import { _ as H } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-744946da.js";
|
|
8
|
+
import { aa as j } from "./enum-type-535dad7d.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./baseImp-
|
|
10
|
+
import "./uuid-35d50fb6.js";
|
|
11
|
+
import "./index-50468d90.js";
|
|
12
|
+
import "./baseImp-53bcce11.js";
|
|
13
13
|
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-6a3f6732.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-ff1f52fe.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./multirow-
|
|
21
|
-
import "./slot-
|
|
19
|
+
import "./fieldobj-c5438b43.js";
|
|
20
|
+
import "./multirow-a0e18ea1.js";
|
|
21
|
+
import "./slot-704a6f3f.js";
|
|
22
22
|
const K = k({ componentName: R.FieldWidget }), me = /* @__PURE__ */ k({
|
|
23
23
|
...K,
|
|
24
24
|
__name: "menu-widget",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as O, resolveComponent as S, openBlock as _, createBlock as v, mergeProps as W, unref as r, withCtx as y, createElementVNode as g, createElementBlock as $, Fragment as j, renderList as K, resolveDynamicComponent as L, createTextVNode as h, toDisplayString as B, createCommentVNode as C } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { b as q } from "./share-field-
|
|
4
|
-
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { W as w } from "./enum-type-
|
|
6
|
-
import { c as I } from "./baseImp-
|
|
7
|
-
import { a as x } from "./enum-type-
|
|
3
|
+
import { b as q } from "./share-field-328a7d31.js";
|
|
4
|
+
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-39996653.js";
|
|
5
|
+
import { W as w } from "./enum-type-535dad7d.js";
|
|
6
|
+
import { c as I } from "./baseImp-53bcce11.js";
|
|
7
|
+
import { a as x } from "./enum-type-58fa8fed.js";
|
|
8
8
|
import { Plus as G, Edit as H } from "./index-ddd23411.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./expression-
|
|
9
|
+
import "./multirow-a0e18ea1.js";
|
|
10
|
+
import "./index-50468d90.js";
|
|
11
|
+
import "./uuid-35d50fb6.js";
|
|
12
|
+
import "./expression-05a920a6.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./slot-
|
|
14
|
+
import "./slot-704a6f3f.js";
|
|
15
15
|
import "./icon-e9532b43.js";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-ff1f52fe.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-
|
|
19
|
-
import "./dialog-
|
|
18
|
+
import "./fieldobj-c5438b43.js";
|
|
19
|
+
import "./dialog-6a3f6732.js";
|
|
20
20
|
import "element-plus";
|
|
21
21
|
const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style: { flex: "1" } }, ve = /* @__PURE__ */ O({
|
|
22
22
|
__name: "model-widget",
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { b as U, r as X, B as Y, c as Z } from "./baseImp-53bcce11.js";
|
|
2
|
+
import { g as L, f as I, t as R, r as T } from "./index-50468d90.js";
|
|
3
|
+
import { c as k, F as d, g as rr } from "./slot-704a6f3f.js";
|
|
4
|
+
import { k as p, o as V, d as b, c as a, q as er, t as H, e as J } from "./enum-type-58fa8fed.js";
|
|
5
|
+
import { reactive as N, watch as tr } from "vue";
|
|
6
|
+
import { u as sr } from "./icon-e9532b43.js";
|
|
7
|
+
import { u as ur, g as or } from "./uuid-35d50fb6.js";
|
|
8
|
+
import { f as K } from "./expression-05a920a6.js";
|
|
9
|
+
function ir() {
|
|
10
|
+
const t = {}, f = (r, e) => {
|
|
11
|
+
var s, u, i, n;
|
|
12
|
+
return r ? !!((s = r == null ? void 0 : r.proxy) != null && s.$options && ((i = (u = r == null ? void 0 : r.proxy) == null ? void 0 : u.$options) == null ? void 0 : i.componentName) === e || r != null && r.exposed && ((n = r == null ? void 0 : r.exposed) == null ? void 0 : n.componentName) === e) : !1;
|
|
13
|
+
}, h = (r, e, s) => {
|
|
14
|
+
r && V(r).forEach((u) => {
|
|
15
|
+
f(r[u], e) && (s == null || s(r[u]));
|
|
16
|
+
});
|
|
17
|
+
}, c = (r, e, s) => {
|
|
18
|
+
r && (f(r, e) ? s == null || s(r) : c(r.parent, e, s));
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
emit$(r, e) {
|
|
22
|
+
t[r] && t[r].forEach((s) => {
|
|
23
|
+
s(e);
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
on$(r, e) {
|
|
27
|
+
t[r] = t[r] || [], t[r].push(e);
|
|
28
|
+
},
|
|
29
|
+
off$(r, e) {
|
|
30
|
+
if (t[r]) {
|
|
31
|
+
if (p(e)) {
|
|
32
|
+
t[r].length = 0;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
for (let s = 0; s < t[r].length; s++)
|
|
36
|
+
if (t[r][s] === e) {
|
|
37
|
+
t[r].splice(s, 1);
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
dispatch(r, e, s, u) {
|
|
43
|
+
if (!r)
|
|
44
|
+
return;
|
|
45
|
+
let i = u.parent || u.root;
|
|
46
|
+
c(i, r, (n) => {
|
|
47
|
+
var l;
|
|
48
|
+
n && (n.exposed.emit$ && n.exposed.emit$(e, s), n != null && n.proxy && ((l = n == null ? void 0 : n.proxy) == null || l.$emit(e, s)));
|
|
49
|
+
});
|
|
50
|
+
},
|
|
51
|
+
broadcast(r, e, s, u) {
|
|
52
|
+
h(u.widgetRefList, r, (i) => {
|
|
53
|
+
i.emit$ && i.emit$.call(i, e, s);
|
|
54
|
+
}), h(u.refList, r, (i) => {
|
|
55
|
+
i.emit$ && i.emit$.call(i, e, s);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
const j = "", A = "_", M = (t, f) => p(f) ? t || "" : `${j}${t}${A}${f}`, G = (t) => {
|
|
61
|
+
if (t != null && t.includes(A)) {
|
|
62
|
+
var f = t.split(A);
|
|
63
|
+
const h = f == null ? void 0 : f[0].substring(j.length), c = t.substring(j.length + h.length + 1);
|
|
64
|
+
return { id: h, groupName: c };
|
|
65
|
+
}
|
|
66
|
+
return { id: t };
|
|
67
|
+
};
|
|
68
|
+
var nr = /* @__PURE__ */ ((t) => (t[t.None = 0] = "None", t[t.Inner2Inner = 1] = "Inner2Inner", t[t.Inner2Outer = 2] = "Inner2Outer", t[t.Outer2Inner = 3] = "Outer2Inner", t[t.Outer2Outer = 4] = "Outer2Outer", t[t.DiffInner = 5] = "DiffInner", t))(nr || {});
|
|
69
|
+
const Fr = (t, f) => {
|
|
70
|
+
const h = G(t), c = h == null ? void 0 : h.groupName, r = G(f), e = r == null ? void 0 : r.groupName;
|
|
71
|
+
return !c && !e ? 4 : c && !e ? 2 : c && e ? c !== e ? 5 : 1 : !c && e ? 3 : 0;
|
|
72
|
+
};
|
|
73
|
+
function fr(t, f) {
|
|
74
|
+
const h = f == null ? void 0 : f.pageConfig, c = f == null ? void 0 : f.formData, r = N({});
|
|
75
|
+
b(r, c);
|
|
76
|
+
var { instance: e } = sr();
|
|
77
|
+
return {
|
|
78
|
+
formModel: r,
|
|
79
|
+
pageConfig: h,
|
|
80
|
+
widgetList: t,
|
|
81
|
+
initData: () => {
|
|
82
|
+
var l = L(t);
|
|
83
|
+
l == null || l.forEach((w) => {
|
|
84
|
+
const { computedDefaultValue: D, fieldName: F } = U(w.field, f, { s_fieldName: !0, s_defaultValue: !0 }, e);
|
|
85
|
+
F.value && b(r, { [F.value]: D.value });
|
|
86
|
+
});
|
|
87
|
+
},
|
|
88
|
+
setData: (l) => {
|
|
89
|
+
b(r, l);
|
|
90
|
+
},
|
|
91
|
+
getData: () => X(r),
|
|
92
|
+
clearData: () => {
|
|
93
|
+
a(r);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function gr() {
|
|
98
|
+
const t = (r, e) => T(r, { newName: !0, recordSource: !0 }, (s, u) => M(s || u, e)), f = (r, e, s) => {
|
|
99
|
+
var w, D;
|
|
100
|
+
J(s) && (s = `${(w = ur()) == null ? void 0 : w.substring(0, 5)}_${!J(e == null ? void 0 : e.$index) && (e == null ? void 0 : e.$index) >= 0 ? e == null ? void 0 : e.$index : ""}`);
|
|
101
|
+
var u = rr(r, !0);
|
|
102
|
+
let i = u == null ? void 0 : u.map((F) => t(F, s));
|
|
103
|
+
const n = c(i), { updateFomulaName: l } = Z();
|
|
104
|
+
return (D = V(n)) == null || D.forEach((F) => {
|
|
105
|
+
const C = n[F], B = C == null ? void 0 : C.name;
|
|
106
|
+
i = l(i, B, F);
|
|
107
|
+
}), { widget: i, id: or(), data: e };
|
|
108
|
+
}, h = (r, e, s, u) => {
|
|
109
|
+
if (e || (e = []), s && (e == null ? void 0 : e.length) < s) {
|
|
110
|
+
const l = s - (e == null ? void 0 : e.length);
|
|
111
|
+
for (var i = 0; i < l; i++) {
|
|
112
|
+
var n = {};
|
|
113
|
+
e == null || e.push(n);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return e == null ? void 0 : e.map((l, w) => {
|
|
117
|
+
const D = u ? u(l, w) : l;
|
|
118
|
+
return f(r, D, w + "");
|
|
119
|
+
});
|
|
120
|
+
}, c = (r, e) => {
|
|
121
|
+
let s = {};
|
|
122
|
+
return r && R(r, (u) => {
|
|
123
|
+
const i = Y.getName(u), n = () => {
|
|
124
|
+
i && (s[i] = u == null ? void 0 : u._source);
|
|
125
|
+
};
|
|
126
|
+
e ? e(u) && n() : n();
|
|
127
|
+
}), s;
|
|
128
|
+
};
|
|
129
|
+
return {
|
|
130
|
+
newSlot: f,
|
|
131
|
+
reflectTargetWithSourceOne: c,
|
|
132
|
+
getSlotFromData: h,
|
|
133
|
+
parseGroupId: G,
|
|
134
|
+
formatGroupId: M
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function Or(t) {
|
|
138
|
+
const f = t == null ? void 0 : t.fieldName, h = t == null ? void 0 : t.setValue, c = N({}), r = N([]), { newSlot: e, reflectTargetWithSourceOne: s, getSlotFromData: u } = gr(), i = (o, g) => {
|
|
139
|
+
var O;
|
|
140
|
+
let m = {};
|
|
141
|
+
const $ = s(g);
|
|
142
|
+
return (O = V(o)) == null || O.map((v) => {
|
|
143
|
+
var _, E, q;
|
|
144
|
+
const S = (_ = $ == null ? void 0 : $[v]) == null ? void 0 : _.name;
|
|
145
|
+
S && (m[S] = o == null ? void 0 : o[v], (q = (E = V(o)) == null ? void 0 : E.filter((W) => W.startsWith(v + "_"))) == null || q.forEach((W) => {
|
|
146
|
+
m[W == null ? void 0 : W.replace(v, S)] = o == null ? void 0 : o[W];
|
|
147
|
+
}));
|
|
148
|
+
}), m;
|
|
149
|
+
}, n = (o, g) => {
|
|
150
|
+
var O, v;
|
|
151
|
+
let m = {};
|
|
152
|
+
if (er(o)) {
|
|
153
|
+
const S = s(g, (_) => !!(_ != null && _.formItemFlag));
|
|
154
|
+
(O = V(S)) == null || O.map((_) => {
|
|
155
|
+
var E;
|
|
156
|
+
_ && (m[_] = o == null ? void 0 : o[(E = S == null ? void 0 : S[_]) == null ? void 0 : E.name]);
|
|
157
|
+
});
|
|
158
|
+
} else {
|
|
159
|
+
var $ = { pageConfig: (v = t == null ? void 0 : t.designer) == null ? void 0 : v.pageConfig, formData: m, designState: t == null ? void 0 : t.designState };
|
|
160
|
+
const { initData: S } = fr(g, $);
|
|
161
|
+
S();
|
|
162
|
+
}
|
|
163
|
+
return m;
|
|
164
|
+
}, l = (o, g) => {
|
|
165
|
+
const m = n(g, o.widget);
|
|
166
|
+
b(c, m);
|
|
167
|
+
}, w = (o) => {
|
|
168
|
+
const g = n({}, o.widget);
|
|
169
|
+
a(g);
|
|
170
|
+
}, D = () => r == null ? void 0 : r.map((g) => i(c, g == null ? void 0 : g.widget)), F = (o, g) => {
|
|
171
|
+
a(c);
|
|
172
|
+
const m = g(o);
|
|
173
|
+
return m == null || m.forEach(($) => {
|
|
174
|
+
const O = n($ == null ? void 0 : $.data, $ == null ? void 0 : $.widget);
|
|
175
|
+
b(c, O);
|
|
176
|
+
}), r.splice(0, r.length, ...m), r;
|
|
177
|
+
}, C = (o) => {
|
|
178
|
+
var m;
|
|
179
|
+
var g = k({ ...t, widget: o });
|
|
180
|
+
return (m = g.attrs) == null ? void 0 : m.value;
|
|
181
|
+
}, B = (o, g, m) => I(o, g, r, m), P = (o) => {
|
|
182
|
+
var g = D();
|
|
183
|
+
tr(() => c, (m) => {
|
|
184
|
+
var $ = D();
|
|
185
|
+
H($) != H(g) && (g = $, o($));
|
|
186
|
+
}, { deep: !0, immediate: !0 });
|
|
187
|
+
}, { off$: x, on$: y, emit$: z } = ir(), Q = () => {
|
|
188
|
+
x(K.fieldChange), y(K.fieldChange, (o) => {
|
|
189
|
+
var g;
|
|
190
|
+
h == null || h(D()), (g = t == null ? void 0 : t.fieldChanged) == null || g.call(t);
|
|
191
|
+
});
|
|
192
|
+
};
|
|
193
|
+
return (() => {
|
|
194
|
+
const o = f;
|
|
195
|
+
d.globalProvide({
|
|
196
|
+
globalFormName: o,
|
|
197
|
+
globalDataModel: c
|
|
198
|
+
}), Q();
|
|
199
|
+
})(), {
|
|
200
|
+
getSlotFromData: u,
|
|
201
|
+
fromModel: n,
|
|
202
|
+
toModel: i,
|
|
203
|
+
newSlot: e,
|
|
204
|
+
getWidgetOption: C,
|
|
205
|
+
newFieldModelFromSlot: l,
|
|
206
|
+
removeFieldModelFromSlot: w,
|
|
207
|
+
getValue: D,
|
|
208
|
+
setValue: F,
|
|
209
|
+
findWidgetByNameWithSibId: B,
|
|
210
|
+
listenFormModel: P,
|
|
211
|
+
emit$: z,
|
|
212
|
+
formModel: c,
|
|
213
|
+
rowsData: r
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
export {
|
|
217
|
+
ir as a,
|
|
218
|
+
gr as b,
|
|
219
|
+
Or as c,
|
|
220
|
+
nr as f,
|
|
221
|
+
Fr as g,
|
|
222
|
+
G as p,
|
|
223
|
+
fr as u
|
|
224
|
+
};
|