hlrender 0.0.112 → 0.0.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_pdf-a1ef6f23.js → _pdf-8de6f4c9.js} +2 -2
- package/{_txt-f58d1661.js → _txt-b4d1870d.js} +2 -2
- package/{affix-widget-e27ce439.js → affix-widget-9ae6e212.js} +2 -2
- package/{alert-widget-29acce89.js → alert-widget-2aa1d72c.js} +2 -2
- package/{auto-complete-widget-c7f628b7.js → auto-complete-widget-ae03bf9e.js} +1 -1
- package/{avatar-widget-39b78620.js → avatar-widget-11fdcef6.js} +2 -2
- package/{backtop-widget-6e57d8fe.js → backtop-widget-5a6c9032.js} +2 -2
- package/{badge-widget-4a787881.js → badge-widget-30cf7f28.js} +2 -2
- package/{button-widget-8f366155.js → button-widget-aa961245.js} +2 -2
- package/{card-widget-ec661a5f.js → card-widget-cd88253d.js} +1 -1
- package/{cont-cell-widget-378f10f7.js → cont-cell-widget-8ae06ec3.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c695e4be.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-f4a1e0e8.js} +1 -1
- package/{cont-widget-a0291a33.js → cont-widget-970c6ea4.js} +1 -1
- package/{default-slot-widget-72fb2f79.js → default-slot-widget-b9cc78cc.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e76a3814.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js} +1 -1
- package/{descriptions-widget-7b9b580b.js → descriptions-widget-28bb0c5a.js} +1 -1
- package/{dialog-widget-c90c6b38.js → dialog-widget-98d61b2e.js} +2 -2
- package/{divider-widget-f6f5ecc8.js → divider-widget-6b8e1284.js} +2 -2
- package/{drag-wrapper-7bf27317.js → drag-wrapper-a6c1a7d6.js} +1 -1
- package/{drawer-widget-da22a491.js → drawer-widget-aa9ca980.js} +2 -2
- package/{dropdown-widget-5982a879.js → dropdown-widget-cfe756a0.js} +1 -1
- package/{empty-widget-ddd257ba.js → empty-widget-a166c71b.js} +2 -2
- package/{feedback-widget-cd3cb686.js → feedback-widget-50c55f47.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8cb27f35.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-217c5495.js} +1 -1
- package/{file-upload-widget-8f10ef4f.js → file-upload-widget-aa3e5e11.js} +3 -3
- package/form-widget-96845b9d.js +225 -0
- package/{grid-col-widget-a5f247a8.js → grid-col-widget-793d0fac.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d09d7c02.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e400d3b0.js} +1 -1
- package/{grid-widget-9da08670.js → grid-widget-bd412333.js} +1 -1
- package/{input-widget-1ca33ac3.js → input-widget-80e4e5df.js} +1 -1
- package/{link-widget-21b6802b.js → link-widget-c2385346.js} +2 -2
- package/{ltable-col-widget-d2fab2cd.js → ltable-col-widget-10ddd757.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-a7fbd112.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-3b62249c.js} +1 -1
- package/{ltable-widget-3e8e6b43.js → ltable-widget-ddd8a70d.js} +1 -1
- package/{multirow-widget-45a8d25d.js → multirow-widget-af15a355.js} +1 -1
- package/package.json +2 -2
- package/{progress-widget-813b4777.js → progress-widget-f6eec54c.js} +1 -1
- package/{range-widget-a7a2cc17.js → range-widget-6bbd6078.js} +1 -1
- package/render.es.js +16 -16
- package/render.umd.js +257 -257
- package/{result-widget-6cd7f701.js → result-widget-1ca8b82d.js} +1 -1
- package/sfcview-bd37feda.js +68 -0
- package/{tab-pane-widget-c7c74425.js → tab-pane-widget-3602577c.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-93bd278a.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e9632c6e.js} +1 -1
- package/{table-col-widget-562dd755.js → table-col-widget-40e21668.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-04ad1322.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-295952ab.js} +1 -1
- package/{table-widget-529fcb42.js → table-widget-9ccbd481.js} +2 -2
- package/{tabs-widget-0e3cf725.js → tabs-widget-ca214bdf.js} +1 -1
- package/{tag-widget-a12b391e.js → tag-widget-d4c8c9b3.js} +2 -2
- package/{text-widget-f03bb615.js → text-widget-f6c2ac42.js} +2 -2
- package/{tmpl-widget-d83bbdec.js → tmpl-widget-306ef647.js} +1 -1
- package/{wrapper-widget-a48784d7.js → wrapper-widget-f7c854c1.js} +1 -1
- package/form-widget-07c36b9c.js +0 -224
- package/sfcview-39d9a94e.js +0 -64
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, ref as n, resolveComponent as s, openBlock as o, createElementBlock as c, createBlock as l, unref as u } from "vue";
|
|
2
2
|
import { e as a } from "./enum-type-4a798b1a.js";
|
|
3
|
-
import { g as f } from "./file-upload-widget-
|
|
3
|
+
import { g as f } from "./file-upload-widget-aa3e5e11.js";
|
|
4
4
|
import "./uuid-4999945f.js";
|
|
5
5
|
import "./field-base-5547436d.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -24,7 +24,7 @@ import "./index-79892b9c.js";
|
|
|
24
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
25
|
import "./fieldobj-a9f1231d.js";
|
|
26
26
|
import "./label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js";
|
|
27
|
-
import "./drag-wrapper-
|
|
27
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
28
28
|
import "./index-ddd23411.js";
|
|
29
29
|
const _ = ["src"], Q = /* @__PURE__ */ m({
|
|
30
30
|
__name: "_pdf",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, ref as i, onMounted as l, nextTick as _, resolveComponent as d, openBlock as p, createElementBlock as u, createElementVNode as f, toDisplayString as v, createBlock as x, unref as h } from "vue";
|
|
2
2
|
import { e as k } from "./enum-type-4a798b1a.js";
|
|
3
|
-
import { g } from "./file-upload-widget-
|
|
3
|
+
import { g } from "./file-upload-widget-aa3e5e11.js";
|
|
4
4
|
import { _ as y } from "./_plugin-vue_export-helper-dad06003.js";
|
|
5
5
|
import "./uuid-4999945f.js";
|
|
6
6
|
import "./field-base-5547436d.js";
|
|
@@ -24,7 +24,7 @@ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_l
|
|
|
24
24
|
import "./index-79892b9c.js";
|
|
25
25
|
import "./fieldobj-a9f1231d.js";
|
|
26
26
|
import "./label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js";
|
|
27
|
-
import "./drag-wrapper-
|
|
27
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
28
28
|
import "./index-ddd23411.js";
|
|
29
29
|
const w = {
|
|
30
30
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
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-8764a711.js";
|
|
4
4
|
import { w as d } from "./expression-490b4335.js";
|
|
5
5
|
import { b as _ } from "./share-field-27676b90.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a
|
|
|
2
2
|
import { w as f } from "./expression-490b4335.js";
|
|
3
3
|
import { I as c } from "./field-base-5547436d.js";
|
|
4
4
|
import { b as d } from "./share-field-27676b90.js";
|
|
5
|
-
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
5
|
+
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js";
|
|
6
6
|
import "./source-map-b04aec4a.js";
|
|
7
7
|
import "./enum-type-4a798b1a.js";
|
|
8
8
|
import "./uuid-4999945f.js";
|
|
@@ -22,7 +22,7 @@ import "./index-79892b9c.js";
|
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
23
|
import "./fieldobj-a9f1231d.js";
|
|
24
24
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
25
|
-
import "./drag-wrapper-
|
|
25
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
26
26
|
const u = o({ componentName: f.FieldWidget }), J = /* @__PURE__ */ o({
|
|
27
27
|
...u,
|
|
28
28
|
__name: "alert-widget",
|
|
@@ -3,7 +3,7 @@ import { I as L } from "./field-base-5547436d.js";
|
|
|
3
3
|
import { b as T } from "./share-field-27676b90.js";
|
|
4
4
|
import $ from "./form-item-wrapper-888c1256.js";
|
|
5
5
|
import { s as h, w as z } from "./expression-490b4335.js";
|
|
6
|
-
import { D as H } from "./drag-wrapper-
|
|
6
|
+
import { D as H } from "./drag-wrapper-a6c1a7d6.js";
|
|
7
7
|
import { g as K } from "./slot-f8eef9e1.js";
|
|
8
8
|
import { e as M } from "./enum-type-4a798b1a.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createBlock as s, mergeProps as n, 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-8764a711.js";
|
|
4
4
|
import { w as d } from "./expression-490b4335.js";
|
|
5
5
|
import { b as _ } from "./share-field-27676b90.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as c } from "vue";
|
|
2
2
|
import { I as f } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js";
|
|
4
4
|
import { w as d } from "./expression-490b4335.js";
|
|
5
5
|
import { b as _ } from "./share-field-27676b90.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as t, openBlock as n, createBlock as l, mergeProps as d, unref as f } from "vue";
|
|
2
2
|
import { A as u } from "./enum-type-4a798b1a.js";
|
|
3
3
|
import { I as c } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
+
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js";
|
|
5
5
|
import { w as b } from "./expression-490b4335.js";
|
|
6
6
|
import { b as g } from "./share-field-27676b90.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as l, createBlock as _, mergeProps as d, unref as t, withCtx as f, createVNode as u } from "vue";
|
|
2
2
|
import { I as b } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as x } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as x } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js";
|
|
4
4
|
import { w as g } from "./expression-490b4335.js";
|
|
5
5
|
import { b as w } from "./share-field-27676b90.js";
|
|
6
6
|
import { _ as O } from "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
@@ -19,7 +19,7 @@ import "./index-79892b9c.js";
|
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
20
|
import "./fieldobj-a9f1231d.js";
|
|
21
21
|
import "./slot-f8eef9e1.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, computed as B, resolveComponent as f, openBlock as t, createBlock as a, mergeProps as i, unref as r, withCtx as m, toHandlers as O, createSlots as z, renderList as P, createVNode as l, createElementBlock as d, Fragment as c, resolveDynamicComponent as u, createCommentVNode as n, createTextVNode as A, toDisplayString as E } from "vue";
|
|
2
2
|
import { f as H } from "./enum-type-4a798b1a.js";
|
|
3
3
|
import { I as J } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as _ } from "./drag-wrapper-
|
|
4
|
+
import { D as _ } from "./drag-wrapper-a6c1a7d6.js";
|
|
5
5
|
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
6
|
import { s as w, w as L } from "./expression-490b4335.js";
|
|
7
7
|
import { b as T } from "./share-field-27676b90.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
1
|
+
import { _ as e } from "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-f4a1e0e8.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, computed as V, openBlock as i, createBlock as r, resolveDynamicComponent as k, unref as t, normalizeClass as z, normalizeStyle as I, withCtx as N, renderSlot as B, createCommentVNode as D, createElementBlock as P, Fragment as F, renderList as $ } from "vue";
|
|
2
2
|
import { w as b } from "./expression-490b4335.js";
|
|
3
3
|
import { I as v } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as E } from "./drag-wrapper-
|
|
4
|
+
import { D as E } from "./drag-wrapper-a6c1a7d6.js";
|
|
5
5
|
import { P as s } from "./baseImp-26b9c04a.js";
|
|
6
6
|
import { c as H } from "./slot-f8eef9e1.js";
|
|
7
7
|
import { b as O } from "./share-field-27676b90.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as t, createBlock as i, mergeProps as u, unref as p, withCtx as f, createElementBlock as w, Fragment as b, renderList as y } from "vue";
|
|
2
2
|
import { g as h, w as v } from "./expression-490b4335.js";
|
|
3
3
|
import { I as C } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as O } from "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
4
|
+
import { _ as O } from "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-f4a1e0e8.js";
|
|
5
5
|
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
6
|
import { b as j } from "./share-field-27676b90.js";
|
|
7
7
|
import { c as k } from "./slot-f8eef9e1.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
1
|
+
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./enum-type-4a798b1a.js";
|
|
4
4
|
import "./field-base-5547436d.js";
|
|
@@ -20,7 +20,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
20
20
|
import "./fieldobj-a9f1231d.js";
|
|
21
21
|
import "./slot-f8eef9e1.js";
|
|
22
22
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
23
|
-
import "./drag-wrapper-
|
|
23
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
24
24
|
export {
|
|
25
25
|
o as default
|
|
26
26
|
};
|
|
@@ -6,7 +6,7 @@ import { s as w, w as q } from "./expression-490b4335.js";
|
|
|
6
6
|
import { g as P } from "./slot-f8eef9e1.js";
|
|
7
7
|
import { _ as G } from "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
8
8
|
import { u as J } from "./fieldobj-a9f1231d.js";
|
|
9
|
-
import { D as M } from "./drag-wrapper-
|
|
9
|
+
import { D as M } from "./drag-wrapper-a6c1a7d6.js";
|
|
10
10
|
const Q = C({ componentName: q.FieldWidget }), ne = /* @__PURE__ */ C({
|
|
11
11
|
...Q,
|
|
12
12
|
__name: "default-slot-widget",
|
|
@@ -5,7 +5,7 @@ import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_for
|
|
|
5
5
|
import { b as $ } from "./share-field-27676b90.js";
|
|
6
6
|
import { w as A } from "./expression-490b4335.js";
|
|
7
7
|
import { g as M } from "./slot-f8eef9e1.js";
|
|
8
|
-
import { D as W } from "./drag-wrapper-
|
|
8
|
+
import { D as W } from "./drag-wrapper-a6c1a7d6.js";
|
|
9
9
|
import { P as K } from "./baseImp-26b9c04a.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
11
|
import "./index-a7d766e7.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, openBlock as p, createBlock as t, mergeProps as i } from "vue";
|
|
2
|
-
import { _ as m } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
2
|
+
import { _ as m } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-217c5495.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
5
5
|
import "./baseImp-26b9c04a.js";
|
|
6
6
|
import "./enum-type-4a798b1a.js";
|
|
7
7
|
import "./enum-type-bb2bfafa.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as l, createBlock as c, mergeProps as f, unref as t } from "vue";
|
|
2
2
|
import { I as _ } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as u } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as u } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8764a711.js";
|
|
4
4
|
import { w as g } from "./expression-490b4335.js";
|
|
5
5
|
import { b as v } from "./share-field-27676b90.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -16,7 +16,7 @@ function J() {
|
|
|
16
16
|
let e = /* @__PURE__ */ new Map();
|
|
17
17
|
const l = (a) => {
|
|
18
18
|
var n = b.getWidgetName(a), p = null;
|
|
19
|
-
return n && (b.isContainer(a) ? p = A(() => j(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-
|
|
19
|
+
return n && (b.isContainer(a) ? p = A(() => j(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-8ae06ec3.js").then((t) => t._), "./container-widget/cont-widget.vue": () => import("./cont-widget-970c6ea4.js").then((t) => t._), "./container-widget/form-widget.vue": () => import("./form-widget-96845b9d.js").then((t) => t._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-793d0fac.js").then((t) => t._), "./container-widget/grid-widget.vue": () => import("./grid-widget-bd412333.js").then((t) => t._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-10ddd757.js").then((t) => t._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-ddd8a70d.js").then((t) => t._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-3602577c.js").then((t) => t._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-ca214bdf.js").then((t) => t._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-f7c854c1.js").then((t) => t._) }), `./container-widget/${n}.vue`)) : p = A(() => j(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-9ae6e212.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-2aa1d72c.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-919ac0ee.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-a9328cd1.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-ae03bf9e.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-11fdcef6.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-5a6c9032.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-30cf7f28.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-57acc2c2.js"), "./field-widget/button-widget.vue": () => import("./button-widget-aa961245.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-681c2328.js"), "./field-widget/card-widget.vue": () => import("./card-widget-cd88253d.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-c754320f.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-94aa4f85.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-f8454126.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-44160821.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-a2b8f8f9.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-6ff88d6b.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-6a9a1af2.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-4e1f8a5e.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-a6ea53de.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-b9cc78cc.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-28bb0c5a.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-98d61b2e.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-6b8e1284.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-aa9ca980.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-cfe756a0.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-a166c71b.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-50c55f47.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-aa3e5e11.js").then((t) => t.f), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-888c1256.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-214c4b2a.js"), "./field-widget/icon-widget.vue": () => import("./icon-widget-8ed6caf5.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-483738f9.js"), "./field-widget/image-widget.vue": () => import("./image-widget-e19d3064.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-08cde096.js"), "./field-widget/input-widget.vue": () => import("./input-widget-80e4e5df.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-f087426c.js"), "./field-widget/link-widget.vue": () => import("./link-widget-c2385346.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-ba66de4a.js"), "./field-widget/model-widget.vue": () => import("./model-widget-40268865.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-af15a355.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-3f832ac9.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-a673958c.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-f6eec54c.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-15eb2159.js"), "./field-widget/range-widget.vue": () => import("./range-widget-6bbd6078.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-8286721a.js"), "./field-widget/result-widget.vue": () => import("./result-widget-1ca8b82d.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-04c813d6.js"), "./field-widget/router-widget.vue": () => import("./router-widget-af7c37fa.js"), "./field-widget/select-widget.vue": () => import("./select-widget-9bf0e700.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-7a68eb99.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-68efa0d7.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-868b90ad.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-34599486.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-05670677.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-40e21668.js"), "./field-widget/table-widget.vue": () => import("./table-widget-9ccbd481.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-d4c8c9b3.js"), "./field-widget/text-widget.vue": () => import("./text-widget-f6c2ac42.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-220d7fd3.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-3d405a42.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-4b8a9822.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-b1a5c072.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-306ef647.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-be605b79.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-129df4d3.js"), "./field-widget/vertical-progress-widget.vue": () => import("./vertical-progress-widget-fa6b14ff.js") }), `./field-widget/${n}.vue`))), p;
|
|
20
20
|
};
|
|
21
21
|
return { components: (a) => {
|
|
22
22
|
var n = b.getWidgetName(a);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as p, createBlock as t, mergeProps as m } from "vue";
|
|
2
|
-
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
2
|
+
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-217c5495.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
5
5
|
import "./baseImp-26b9c04a.js";
|
|
6
6
|
import "./enum-type-4a798b1a.js";
|
|
7
7
|
import "./enum-type-bb2bfafa.js";
|
|
@@ -6,7 +6,7 @@ import { b as P } from "./share-field-27676b90.js";
|
|
|
6
6
|
import { w as I } from "./expression-490b4335.js";
|
|
7
7
|
import { b as K } from "./baseImp-26b9c04a.js";
|
|
8
8
|
import { g as q } from "./slot-f8eef9e1.js";
|
|
9
|
-
import { D as G } from "./drag-wrapper-
|
|
9
|
+
import { D as G } from "./drag-wrapper-a6c1a7d6.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
11
|
import "./index-a7d766e7.js";
|
|
12
12
|
import "./uuid-4999945f.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-8764a711.js";
|
|
4
4
|
import { w as d } from "./expression-490b4335.js";
|
|
5
5
|
import { b as _ } from "./share-field-27676b90.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-a9f1231d.js";
|
|
20
20
|
import "./slot-f8eef9e1.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-35c0f8c0.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-217c5495.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-a6c1a7d6.js";
|
|
5
5
|
import "./baseImp-26b9c04a.js";
|
|
6
6
|
import "./enum-type-4a798b1a.js";
|
|
7
7
|
import "./enum-type-bb2bfafa.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, ref as F, inject as I, openBlock as a, createBlock as n, mergeProps as p, unref as r, withCtx as C, createElementBlock as i, Fragment as m, renderList as V, resolveDynamicComponent as u, createCommentVNode as g, createVNode as f, isRef as P, toHandlers as R, createSlots as E, createTextVNode as H, toDisplayString as K } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as o } from "./drag-wrapper-
|
|
3
|
+
import { D as o } from "./drag-wrapper-a6c1a7d6.js";
|
|
4
4
|
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
5
5
|
import { d as U, w as q } from "./expression-490b4335.js";
|
|
6
6
|
import { b as A } from "./share-field-27676b90.js";
|
|
@@ -6,7 +6,7 @@ import { u as Ue } from "./share-file-890add80.js";
|
|
|
6
6
|
import { f as v, w as De } from "./expression-490b4335.js";
|
|
7
7
|
import Te from "./form-item-wrapper-888c1256.js";
|
|
8
8
|
import { g as be } from "./slot-f8eef9e1.js";
|
|
9
|
-
import { D as Se } from "./drag-wrapper-
|
|
9
|
+
import { D as Se } from "./drag-wrapper-a6c1a7d6.js";
|
|
10
10
|
import { UploadFilled as $e, Plus as xe, Document as je, Download as le, CircleCheck as ne, Close as ae } from "./index-ddd23411.js";
|
|
11
11
|
import { L as ie, ag as re } from "./enum-type-bb2bfafa.js";
|
|
12
12
|
import { H as Pe, f as I } from "./baseImp-26b9c04a.js";
|
|
@@ -24,11 +24,11 @@ const Le = {
|
|
|
24
24
|
var n, U, D, T, P;
|
|
25
25
|
switch ((n = c.file) == null ? void 0 : n.type) {
|
|
26
26
|
case "application/pdf": {
|
|
27
|
-
s.value = L(() => import("./_pdf-
|
|
27
|
+
s.value = L(() => import("./_pdf-8de6f4c9.js"));
|
|
28
28
|
break;
|
|
29
29
|
}
|
|
30
30
|
case "text/plain": {
|
|
31
|
-
s.value = L(() => import("./_txt-
|
|
31
|
+
s.value = L(() => import("./_txt-b4d1870d.js"));
|
|
32
32
|
break;
|
|
33
33
|
}
|
|
34
34
|
default: {
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { ref as oe, reactive as z, onMounted as ce, nextTick as Ne, defineComponent as fe, resolveComponent as Oe, resolveDirective as je, openBlock as ne, createBlock as ae, mergeProps as K, unref as p, withCtx as le, withDirectives as xe, toHandlers as Se, createVNode as ye } from "vue";
|
|
2
|
+
import { I as Me } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Re } from "./drag-wrapper-a6c1a7d6.js";
|
|
4
|
+
import { _ as ke } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
5
|
+
import { w as U, b as ie, g as R, f as L, k as Ae } from "./expression-490b4335.js";
|
|
6
|
+
import { u as Pe } from "./icon-a0e0cdb0.js";
|
|
7
|
+
import { u as $e, a as Ie } from "./multirow-35c0f8c0.js";
|
|
8
|
+
import { b as Be, E as de, M as re, e as He, d as se, N as Te, z as qe, g as ze } from "./enum-type-4a798b1a.js";
|
|
9
|
+
import { $ as Ke, B as Ue } from "./baseImp-26b9c04a.js";
|
|
10
|
+
import { f as Ge } from "./index-a7d766e7.js";
|
|
11
|
+
import { b as Je, a as Qe, u as Xe } from "./share-field-27676b90.js";
|
|
12
|
+
import { W as Ye } from "./enum-type-bb2bfafa.js";
|
|
13
|
+
import { F as Ze } from "./slot-f8eef9e1.js";
|
|
14
|
+
import { _ as et } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function tt(r) {
|
|
16
|
+
const N = r.widget, f = r.designer, C = f == null ? void 0 : f.pageConfig, b = r == null ? void 0 : r.widgetList, O = oe({}), k = {}, { fieldModel: A, fieldName: P, fieldEditor: u, attrs: j, events: h, hasFieldOptions: x, exposed: F, fieldObj: S, watchOption: g, propResultOpt: w, extendAttrs: D } = Je(r), { off$: W, on$: V, emit$: y, broadcast: E } = Ie();
|
|
17
|
+
var { instance: G } = Pe();
|
|
18
|
+
const { setAllRefList: ue } = Qe(O.value), J = { designState: r == null ? void 0 : r.designState, pageConfig: C, globalConfig: w == null ? void 0 : w.globalConfig }, { formModel: $, setData: me, getData: M, clearData: Q } = $e(b, { ...J }), { handleFunc: I } = Xe({ options: C }, J), B = z({}), ve = () => {
|
|
19
|
+
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
20
|
+
be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), F == null || F.setValue($), _e(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, pe = () => {
|
|
23
|
+
W(L.fieldValidation), V(L.fieldValidation, (e) => {
|
|
24
|
+
var t;
|
|
25
|
+
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
+
});
|
|
27
|
+
}, ge = () => {
|
|
28
|
+
W(L.fieldRuleChange), V(L.fieldRuleChange, (e) => {
|
|
29
|
+
var o;
|
|
30
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
31
|
+
required: n.required,
|
|
32
|
+
message: n.message,
|
|
33
|
+
trigger: n.trigger,
|
|
34
|
+
validator: n.validator
|
|
35
|
+
}));
|
|
36
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), j.value.rules = B;
|
|
37
|
+
});
|
|
38
|
+
}, H = oe(!1), T = z({}), q = z({}), X = (e) => {
|
|
39
|
+
re(q), se(q, e);
|
|
40
|
+
}, he = () => ({
|
|
41
|
+
change_info: de(T),
|
|
42
|
+
before_info: de(q),
|
|
43
|
+
flag: H.value
|
|
44
|
+
}), _e = (e, t, o) => {
|
|
45
|
+
H.value = !0, e && se(T, { [e]: { oldValue: o, newValue: t } });
|
|
46
|
+
}, Ce = () => {
|
|
47
|
+
H.value = !1, re(T), X(M());
|
|
48
|
+
}, be = (e, t, o) => {
|
|
49
|
+
I(h.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: $ });
|
|
50
|
+
}, Fe = () => {
|
|
51
|
+
I(h.value.formCreated);
|
|
52
|
+
}, we = () => {
|
|
53
|
+
I(h.value.formMounted);
|
|
54
|
+
}, De = () => {
|
|
55
|
+
ge(), ve(), pe(), Fe();
|
|
56
|
+
}, Ve = (e) => {
|
|
57
|
+
var t;
|
|
58
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
59
|
+
}, Le = () => {
|
|
60
|
+
ue(Ye.resetField), Ne(() => {
|
|
61
|
+
Ve();
|
|
62
|
+
});
|
|
63
|
+
}, Y = (e, t) => {
|
|
64
|
+
let o = [];
|
|
65
|
+
for (let s in e) {
|
|
66
|
+
var n = e[s], d = n == null ? void 0 : n.filter((i) => (i == null ? void 0 : i.force) === t);
|
|
67
|
+
d == null || d.forEach((i) => {
|
|
68
|
+
var a;
|
|
69
|
+
const c = (a = i == null ? void 0 : i.rule) == null ? void 0 : a.label;
|
|
70
|
+
i.message && o.push(Ae(c ? "【" + c + "】" : "", i.message, ":"));
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
return Te(o);
|
|
74
|
+
}, We = (e, t) => {
|
|
75
|
+
var o = {};
|
|
76
|
+
return Ge(t, (n) => {
|
|
77
|
+
var d = Ue.getName(n), s = qe(e, d);
|
|
78
|
+
return s && (o[d] = e[d]), s;
|
|
79
|
+
}, !1), o;
|
|
80
|
+
}, Ee = (e = !0) => {
|
|
81
|
+
var d, s, i;
|
|
82
|
+
let t = M(), o = function() {
|
|
83
|
+
}, n = new Promise(function(c, a) {
|
|
84
|
+
o = function(m, l) {
|
|
85
|
+
(l ? a : c)({ data: m, isSuccess: !l, message: l });
|
|
86
|
+
};
|
|
87
|
+
});
|
|
88
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), n) : ((i = (s = u.value) == null ? void 0 : s.validate) == null || i.call(s, (c, a) => {
|
|
89
|
+
if (c)
|
|
90
|
+
o(t);
|
|
91
|
+
else {
|
|
92
|
+
var m = Y(a, !0);
|
|
93
|
+
if (m && m.length > 0) {
|
|
94
|
+
o(t, m);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
var l = Y(a, !1);
|
|
98
|
+
if (l && l.length > 0) {
|
|
99
|
+
l.push(He.i18nt("designer.hint.continue")), Ke.multiple(l).then((v) => {
|
|
100
|
+
o(t);
|
|
101
|
+
});
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}), n);
|
|
106
|
+
}, Z = (e, t = !0) => {
|
|
107
|
+
if (N) {
|
|
108
|
+
var o = We(e, [N]);
|
|
109
|
+
me(o, t), E(U.ContainerWidget, ie.setFormData, e, G), E(U.FieldWidget, ie.setFormData, e, G);
|
|
110
|
+
}
|
|
111
|
+
}, ee = (e) => new Promise((t, o) => {
|
|
112
|
+
const n = (a, m) => {
|
|
113
|
+
var v, _, te;
|
|
114
|
+
let l = (v = D.value) != null && v.formDataLoaded ? (te = (_ = D.value) == null ? void 0 : _.formDataLoaded) == null ? void 0 : te.call(_, M(), a) : a;
|
|
115
|
+
ze(l) ? Z(l, !m) : l = {}, X(l), t(l);
|
|
116
|
+
}, d = () => {
|
|
117
|
+
g(e, R.newDataSource, void 0, (a, m) => {
|
|
118
|
+
n(a, !0);
|
|
119
|
+
});
|
|
120
|
+
}, s = () => {
|
|
121
|
+
g(e, R.editDataSource, void 0, (a, m) => {
|
|
122
|
+
var v, _;
|
|
123
|
+
if (((_ = (v = D.value) == null ? void 0 : v.needFormAdd) == null ? void 0 : _.call(v, a)) && c) {
|
|
124
|
+
d();
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
n(a, !1);
|
|
128
|
+
});
|
|
129
|
+
}, i = x(R.editDataSource), c = x(R.newDataSource);
|
|
130
|
+
i ? s() : c && d();
|
|
131
|
+
});
|
|
132
|
+
return De(), ce(() => {
|
|
133
|
+
Be(), we();
|
|
134
|
+
}), {
|
|
135
|
+
widgetRefList: O,
|
|
136
|
+
allWidgetRefList: k,
|
|
137
|
+
fieldEditor: u,
|
|
138
|
+
formModel: $,
|
|
139
|
+
pageConfig: C,
|
|
140
|
+
widgetList: b,
|
|
141
|
+
fieldModel: A,
|
|
142
|
+
fieldName: P,
|
|
143
|
+
attrs: j,
|
|
144
|
+
extendAttrs: D,
|
|
145
|
+
events: h,
|
|
146
|
+
rules: B,
|
|
147
|
+
loadData: ee,
|
|
148
|
+
clearData: Q,
|
|
149
|
+
exposed: {
|
|
150
|
+
...F,
|
|
151
|
+
setValue: Z,
|
|
152
|
+
getValue: Ee,
|
|
153
|
+
resetField: Le,
|
|
154
|
+
clearData: Q,
|
|
155
|
+
loadData: ee,
|
|
156
|
+
getData: M,
|
|
157
|
+
//修改痕迹
|
|
158
|
+
clearChangeRecord: Ce,
|
|
159
|
+
getChangeRecord: he,
|
|
160
|
+
emit$: y
|
|
161
|
+
},
|
|
162
|
+
fieldObj: S
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
const ot = fe({ componentName: U.ContainerWidget }), nt = /* @__PURE__ */ fe({
|
|
166
|
+
...ot,
|
|
167
|
+
__name: "form-widget",
|
|
168
|
+
props: { ...Me },
|
|
169
|
+
setup(r, { expose: N }) {
|
|
170
|
+
var S;
|
|
171
|
+
const f = r, { exposed: C, formModel: b, fieldEditor: O, attrs: k, events: A, widgetRefList: P, extendAttrs: u, fieldName: j, fieldObj: h, loadData: x } = tt({ ...f, widgetList: (S = f == null ? void 0 : f.widget) == null ? void 0 : S.widgetList }), F = j.value;
|
|
172
|
+
return Ze.globalProvide({
|
|
173
|
+
globalFormName: F,
|
|
174
|
+
globalDataModel: b
|
|
175
|
+
}), ce(() => {
|
|
176
|
+
var g;
|
|
177
|
+
(g = u.value) != null && g.loadDataWhenInit && !f.designState && x(!0).then((w) => {
|
|
178
|
+
}).catch((w) => {
|
|
179
|
+
}).finally(() => {
|
|
180
|
+
C.clearChangeRecord();
|
|
181
|
+
});
|
|
182
|
+
}), N({ ...C }), (g, w) => {
|
|
183
|
+
const D = Oe("el-form"), W = je("loading");
|
|
184
|
+
return ne(), ae(ke, K(g.$props, {
|
|
185
|
+
"prop-options": { fieldObj: p(h) }
|
|
186
|
+
}), {
|
|
187
|
+
default: le(({ data: V }) => {
|
|
188
|
+
var y, E;
|
|
189
|
+
return [
|
|
190
|
+
xe((ne(), ae(D, K({
|
|
191
|
+
ref_key: "fieldEditor",
|
|
192
|
+
ref: O,
|
|
193
|
+
model: p(b)
|
|
194
|
+
}, p(k), Se(p(A)), {
|
|
195
|
+
class: V.injectClass,
|
|
196
|
+
key: (y = p(h)) == null ? void 0 : y.fieldKey,
|
|
197
|
+
"element-loading-text": p(u).loadingText
|
|
198
|
+
}), {
|
|
199
|
+
default: le(() => [
|
|
200
|
+
ye(Re, K(g.$props, {
|
|
201
|
+
dragClass: "formDrag",
|
|
202
|
+
model: p(b),
|
|
203
|
+
provideModel: !0,
|
|
204
|
+
"component-class": V.componentWrapperClass,
|
|
205
|
+
refList: p(P)
|
|
206
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
207
|
+
]),
|
|
208
|
+
_: 2
|
|
209
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
210
|
+
[W, (E = p(u)) == null ? void 0 : E.showLoading]
|
|
211
|
+
])
|
|
212
|
+
];
|
|
213
|
+
}),
|
|
214
|
+
_: 1
|
|
215
|
+
}, 16, ["prop-options"]);
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
const at = /* @__PURE__ */ et(nt, [["__scopeId", "data-v-b0372f7b"]]), Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
220
|
+
__proto__: null,
|
|
221
|
+
default: at
|
|
222
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
223
|
+
export {
|
|
224
|
+
Ct as _
|
|
225
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e400d3b0.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|