hlrender 0.0.83 → 0.0.85
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-3f5672c3.js → affix-widget-8d450f63.js} +9 -9
- package/{alert-widget-0f6b36c1.js → alert-widget-f381467c.js} +9 -9
- package/{anchor-widget-74c8f73f.js → anchor-widget-59c13b56.js} +6 -6
- package/{auto-complete-widget-4ce3e381.js → auto-complete-widget-5daaf057.js} +8 -8
- package/{avatar-widget-eb4d9e3f.js → avatar-widget-1a7302dc.js} +9 -9
- package/{backtop-widget-ffb60a75.js → backtop-widget-80517c94.js} +9 -9
- package/{badge-widget-c8770497.js → badge-widget-049c8b8e.js} +9 -9
- package/{baseImp-11bc4ced.js → baseImp-7dec7b0d.js} +939 -934
- package/{breadcrumb-widget-e78de93e.js → breadcrumb-widget-b5d64577.js} +6 -6
- package/{button-widget-e44e1a8b.js → button-widget-3c83e630.js} +9 -9
- package/{cache-widget-ad5ab47e.js → cache-widget-85cbe183.js} +7 -7
- package/{card-widget-a00c43d8.js → card-widget-33594eec.js} +7 -7
- package/{carousel-widget-d142cc6d.js → carousel-widget-942f3177.js} +6 -6
- package/{cascader-widget-5592fb87.js → cascader-widget-e8221f79.js} +7 -7
- package/{chart-widget-93a8978e.js → chart-widget-831d0ecc.js} +6 -6
- package/{checkbox-widget-dd4135c2.js → checkbox-widget-a389c6c2.js} +7 -7
- package/{collapse-widget-14bb8869.js → collapse-widget-4b25d54d.js} +6 -6
- package/{color-picker-widget-9e01df72.js → color-picker-widget-a0e4dc01.js} +7 -7
- package/{cont-cell-widget-4fb0d397.js → cont-cell-widget-d9e9f2b2.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b811311f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5631c230.js} +4 -4
- package/{cont-widget-2c8ce264.js → cont-widget-d8aa0215.js} +4 -4
- package/{content-wrapper-98e04e12.js → content-wrapper-f399ad7f.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-e3422c7b.js → content-wrapper.vue_vue_type_script_setup_true_lang-68b00192.js} +1 -1
- package/{date-picker-range-widget-f51b8cf0.js → date-picker-range-widget-849c6a77.js} +7 -7
- package/{date-picker-widget-c1bf9d37.js → date-picker-widget-d1c4003e.js} +7 -7
- package/{default-slot-widget-5e099ef9.js → default-slot-widget-8fe68bf4.js} +7 -7
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a5732bc4.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9fce132b.js} +4 -4
- package/{descriptions-widget-e4224e81.js → descriptions-widget-ff38d263.js} +7 -7
- package/{dialog-widget-4556ca58.js → dialog-widget-653dea28.js} +8 -8
- package/{divider-widget-0887a5b2.js → divider-widget-099a446c.js} +9 -9
- package/{drag-wrapper-b922da1e.js → drag-wrapper-03c58f87.js} +4 -4
- package/{drawer-widget-23d137e0.js → drawer-widget-8a8be719.js} +8 -8
- package/{dropdown-widget-1942c56e.js → dropdown-widget-d6fba833.js} +7 -7
- package/{empty-widget-924e34d6.js → empty-widget-c5414121.js} +9 -9
- package/{feedback-widget-04d3e2db.js → feedback-widget-b356fa90.js} +8 -8
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-827b3e04.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-834393f6.js} +4 -4
- package/{file-upload-widget-f4531e69.js → file-upload-widget-933c7ca0.js} +8 -8
- package/{form-item-wrapper-c00a3cb3.js → form-item-wrapper-9439f4d0.js} +3 -3
- package/form-widget-53d1ff43.js +219 -0
- package/{grid-col-widget-9d6ebef7.js → grid-col-widget-6aeaf21e.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2f9cf439.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-24f04c67.js} +4 -4
- package/{grid-widget-1cb5cf17.js → grid-widget-9ce937dd.js} +4 -4
- package/{html-text-widget-c51e5c09.js → html-text-widget-fb549efe.js} +7 -7
- package/{iframe-widget-4345b288.js → iframe-widget-48b8224f.js} +6 -6
- package/{image-widget-1da3b1e5.js → image-widget-59278a92.js} +6 -6
- package/{index-39e7f591.js → index-9219e73c.js} +29 -1
- package/{input-number-widget-a4fab64e.js → input-number-widget-66e783be.js} +7 -7
- package/{input-widget-fcc93050.js → input-widget-5d613bbd.js} +8 -8
- package/{link-widget-f38119c8.js → link-widget-75477c60.js} +9 -9
- package/{ltable-col-widget-da8fa342.js → ltable-col-widget-9887499f.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-962a9439.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-152a1478.js} +6 -6
- package/ltable-widget-8dfd7a0c.js +77 -0
- package/{menu-widget-5373be8d.js → menu-widget-d764bcd6.js} +7 -7
- package/{model-widget-d6c76e97.js → model-widget-1a192b55.js} +6 -6
- package/{multirow-0bdbfe67.js → multirow-ba01fb1b.js} +3 -3
- package/{multirow-widget-475d34b9.js → multirow-widget-bdf558d6.js} +7 -7
- package/package.json +1 -1
- package/{pagination-widget-8df18178.js → pagination-widget-b17a40e0.js} +6 -6
- package/{picture-upload-widget-fa5b59d6.js → picture-upload-widget-abfff928.js} +8 -8
- package/{progress-widget-cac6ef65.js → progress-widget-91d9d948.js} +7 -7
- package/{radio-widget-7b91026e.js → radio-widget-0faf6dd2.js} +7 -7
- package/{range-widget-a5ecaa9d.js → range-widget-7275c1cd.js} +8 -8
- package/{rate-widget-bda46935.js → rate-widget-bff39302.js} +7 -7
- package/render.es.js +23 -23
- package/render.style.css +1 -1
- package/render.umd.js +449 -449
- package/{result-widget-d9dae014.js → result-widget-13282818.js} +7 -7
- package/{rich-editor-widget-e1b757f1.js → rich-editor-widget-106f5e89.js} +7 -7
- package/{router-widget-7cda8886.js → router-widget-1e3bb9cf.js} +6 -6
- package/{select-widget-5466157a.js → select-widget-59e532f4.js} +7 -7
- package/{sfc-2e1ef01d.js → sfc-97dc4b34.js} +3 -3
- package/share-field-4ae4070a.js +775 -0
- package/{share-file-8bb5ce3d.js → share-file-96559250.js} +2 -2
- package/{slider-widget-da230209.js → slider-widget-10c3588a.js} +7 -7
- package/{slot-1cfdfc83.js → slot-47652b09.js} +1 -1
- package/{static-text-widget-2dd9386c.js → static-text-widget-ada658ae.js} +7 -7
- package/{steps-widget-96f5fff1.js → steps-widget-ce62972e.js} +6 -6
- package/{subMenu-widget-b13ffc1c.js → subMenu-widget-043bf454.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-3bc10707.js → subMenu-widget.vue_vue_type_script_setup_true_lang-82b80fdb.js} +1 -1
- package/{switch-widget-c7445cae.js → switch-widget-7673f698.js} +7 -7
- package/{tab-pane-widget-c9e7fa16.js → tab-pane-widget-7297d672.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ed43b214.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-c3d384ea.js} +4 -4
- package/{table-col-widget-8534bfb0.js → table-col-widget-b6986869.js} +7 -7
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-57aaf42b.js +80 -0
- package/{table-widget-7f29d416.js → table-widget-12275489.js} +42 -42
- package/tabs-widget-dea7bc88.js +82 -0
- package/{tag-widget-5f778906.js → tag-widget-e1a13638.js} +9 -9
- package/{text-widget-370530e6.js → text-widget-a27b749f.js} +9 -9
- package/{textarea-widget-74dd6d9e.js → textarea-widget-de9299e8.js} +7 -7
- package/{time-picker-range-widget-bbadfa95.js → time-picker-range-widget-f474889f.js} +7 -7
- package/{time-picker-widget-e38d87ce.js → time-picker-widget-da85aae8.js} +7 -7
- package/{time-select-widget-7afa99b2.js → time-select-widget-b9453d1e.js} +7 -7
- package/tmpl-widget-4be1e5c0.js +95 -0
- package/{tree-select-widget-62ebe4a4.js → tree-select-widget-40bad1ae.js} +7 -7
- package/{tree-widget-e261627b.js → tree-widget-62a10a62.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0148992.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js} +2 -2
- package/wrapper-widget-b0f5b71f.js +84 -0
- package/form-widget-aa9932f4.js +0 -216
- package/ltable-widget-2e1017ae.js +0 -69
- package/share-field-d01750c9.js +0 -763
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-fb1fc229.js +0 -80
- package/tabs-widget-b56973bc.js +0 -76
- package/tmpl-widget-043c95bc.js +0 -92
- package/wrapper-widget-a7fa3824.js +0 -77
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9fce132b.js";
|
|
4
4
|
import { w as d } from "./expression-a789517c.js";
|
|
5
|
-
import { b as _ } from "./share-field-
|
|
5
|
+
import { b as _ } from "./share-field-4ae4070a.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
7
|
import "./enum-type-83a1c63e.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
9
9
|
import "./uuid-85671611.js";
|
|
10
|
-
import "./index-
|
|
10
|
+
import "./index-9219e73c.js";
|
|
11
11
|
import "./enum-type-966ff1e0.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-7dec7b0d.js";
|
|
13
13
|
import "./icon-e9532b43.js";
|
|
14
14
|
import "./dialog-610eab4e.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-ce26ce1d.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-5b3c9421.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-47652b09.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-68b00192.js";
|
|
22
|
+
import "./drag-wrapper-03c58f87.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-ba01fb1b.js";
|
|
26
26
|
const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
|
|
27
27
|
...u,
|
|
28
28
|
__name: "text-widget",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as w, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
|
-
import { b as V } from "./share-field-
|
|
2
|
+
import { b as V } from "./share-field-4ae4070a.js";
|
|
3
3
|
import { I as b } from "./field-base-5547436d.js";
|
|
4
|
-
import v from "./form-item-wrapper-
|
|
4
|
+
import v from "./form-item-wrapper-9439f4d0.js";
|
|
5
5
|
import { w as I } from "./expression-a789517c.js";
|
|
6
6
|
import "./enum-type-83a1c63e.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
7
|
+
import "./multirow-ba01fb1b.js";
|
|
8
|
+
import "./baseImp-7dec7b0d.js";
|
|
9
9
|
import "./uuid-85671611.js";
|
|
10
10
|
import "./enum-type-966ff1e0.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
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-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
19
19
|
import "./index-ce26ce1d.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-5b3c9421.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as n, resolveComponent as F, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as b, isRef as w, toHandlers as C } from "vue";
|
|
2
2
|
import { a as s } from "./enum-type-83a1c63e.js";
|
|
3
3
|
import { I as O } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as V } from "./share-field-
|
|
5
|
-
import v from "./form-item-wrapper-
|
|
4
|
+
import { b as V } from "./share-field-4ae4070a.js";
|
|
5
|
+
import v from "./form-item-wrapper-9439f4d0.js";
|
|
6
6
|
import { w as x } from "./expression-a789517c.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-ba01fb1b.js";
|
|
9
|
+
import "./baseImp-7dec7b0d.js";
|
|
10
10
|
import "./uuid-85671611.js";
|
|
11
11
|
import "./enum-type-966ff1e0.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
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-
|
|
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
19
|
import "./index-ce26ce1d.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-5b3c9421.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
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
2
|
import { a as V } from "./enum-type-83a1c63e.js";
|
|
3
|
-
import { b } from "./share-field-
|
|
3
|
+
import { b } from "./share-field-4ae4070a.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
5
|
+
import x from "./form-item-wrapper-9439f4d0.js";
|
|
6
6
|
import { w as z } from "./expression-a789517c.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
7
|
+
import "./multirow-ba01fb1b.js";
|
|
8
|
+
import "./baseImp-7dec7b0d.js";
|
|
9
9
|
import "./uuid-85671611.js";
|
|
10
10
|
import "./enum-type-966ff1e0.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
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-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
19
19
|
import "./index-ce26ce1d.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-5b3c9421.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
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
2
|
import { a as V } from "./enum-type-83a1c63e.js";
|
|
3
|
-
import { b } from "./share-field-
|
|
3
|
+
import { b } from "./share-field-4ae4070a.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
5
|
+
import x from "./form-item-wrapper-9439f4d0.js";
|
|
6
6
|
import { w as z } from "./expression-a789517c.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
7
|
+
import "./multirow-ba01fb1b.js";
|
|
8
|
+
import "./baseImp-7dec7b0d.js";
|
|
9
9
|
import "./uuid-85671611.js";
|
|
10
10
|
import "./enum-type-966ff1e0.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
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-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
19
19
|
import "./index-ce26ce1d.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-5b3c9421.js";
|
|
@@ -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-4ae4070a.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-03c58f87.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
|
+
};
|
|
@@ -2,20 +2,20 @@ import { defineComponent as T, computed as s, resolveComponent as ee, openBlock
|
|
|
2
2
|
import { s as f } from "./enum-type-83a1c63e.js";
|
|
3
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-
|
|
5
|
+
import { b as oe } from "./share-field-4ae4070a.js";
|
|
6
|
+
import re from "./form-item-wrapper-9439f4d0.js";
|
|
7
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-
|
|
9
|
+
import "./multirow-ba01fb1b.js";
|
|
10
|
+
import "./baseImp-7dec7b0d.js";
|
|
11
11
|
import "./enum-type-966ff1e0.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
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-
|
|
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
19
|
import "./index-ce26ce1d.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-5b3c9421.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { b as U } from "./share-field-4ae4070a.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca115d68.js";
|
|
5
5
|
import { g as n, w as G } from "./expression-a789517c.js";
|
|
6
6
|
import { s as a } from "./enum-type-83a1c63e.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-ba01fb1b.js";
|
|
9
|
+
import "./baseImp-7dec7b0d.js";
|
|
10
10
|
import "./uuid-85671611.js";
|
|
11
11
|
import "./enum-type-966ff1e0.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
13
|
import "./dialog-610eab4e.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-9219e73c.js";
|
|
17
|
+
import "./slot-47652b09.js";
|
|
18
18
|
import "./index-ce26ce1d.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
20
|
import "./fieldobj-5b3c9421.js";
|
|
@@ -2,9 +2,9 @@ import { defineComponent as de, resolveComponent as V, openBlock as l, createEle
|
|
|
2
2
|
import { c as re } from "./uuid-85671611.js";
|
|
3
3
|
import { I as pe, a as ue } from "./widget-base-4c2d6265.js";
|
|
4
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-
|
|
5
|
+
import { a as oe, i as me, j as ge, k as fe, d as we } from "./index-9219e73c.js";
|
|
6
6
|
import { S as m } from "./index-ce26ce1d.js";
|
|
7
|
-
import { f as ve } from "./baseImp-
|
|
7
|
+
import { f as ve } from "./baseImp-7dec7b0d.js";
|
|
8
8
|
import { c as Q } from "./enum-type-966ff1e0.js";
|
|
9
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({
|
|
@@ -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-03c58f87.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-4ae4070a.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
|
+
};
|
package/form-widget-aa9932f4.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-b922da1e.js";
|
|
4
|
-
import { _ as je } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0148992.js";
|
|
5
|
-
import { w as q, b as ne, g as S, f as V, k as Ee } from "./expression-a789517c.js";
|
|
6
|
-
import { u as Se } from "./icon-e9532b43.js";
|
|
7
|
-
import { u as xe, a as ye } from "./multirow-0bdbfe67.js";
|
|
8
|
-
import { i as ke, I as Ae, a as Ie, d as Me, J as Pe, x as Re } from "./enum-type-83a1c63e.js";
|
|
9
|
-
import { $ as $e, B as Be } from "./baseImp-11bc4ced.js";
|
|
10
|
-
import { f as He } from "./index-39e7f591.js";
|
|
11
|
-
import { b as qe, a as Te, u as ze } from "./share-field-d01750c9.js";
|
|
12
|
-
import { W as Je } from "./enum-type-966ff1e0.js";
|
|
13
|
-
import { F as Ke } from "./slot-1cfdfc83.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
|
-
};
|