hlrender 0.0.106 → 0.0.108
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-06124b21.js → _pdf-a1ef6f23.js} +2 -2
- package/{_txt-ad5b5fda.js → _txt-f58d1661.js} +2 -2
- package/{affix-widget-21af5f8d.js → affix-widget-e27ce439.js} +2 -2
- package/{alert-widget-40da9145.js → alert-widget-29acce89.js} +2 -2
- package/{auto-complete-widget-79bf6f67.js → auto-complete-widget-c7f628b7.js} +1 -1
- package/{avatar-widget-6c573d62.js → avatar-widget-39b78620.js} +2 -2
- package/{backtop-widget-a371cd7d.js → backtop-widget-6e57d8fe.js} +2 -2
- package/{badge-widget-1822c021.js → badge-widget-4a787881.js} +2 -2
- package/{button-widget-b8ff3f02.js → button-widget-8f366155.js} +2 -2
- package/{card-widget-2d28ff26.js → card-widget-ec661a5f.js} +1 -1
- package/{cont-cell-widget-84bfb0ce.js → cont-cell-widget-378f10f7.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-6e382986.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c695e4be.js} +1 -1
- package/{cont-widget-9f5daa14.js → cont-widget-a0291a33.js} +1 -1
- package/{default-slot-widget-41f5afd4.js → default-slot-widget-72fb2f79.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d58174b5.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e76a3814.js} +1 -1
- package/{descriptions-widget-95eefef5.js → descriptions-widget-7b9b580b.js} +1 -1
- package/{dialog-widget-b904d824.js → dialog-widget-c90c6b38.js} +2 -2
- package/{divider-widget-daa75025.js → divider-widget-f6f5ecc8.js} +2 -2
- package/{drag-wrapper-353a125c.js → drag-wrapper-7bf27317.js} +1 -1
- package/{drawer-widget-97b16e42.js → drawer-widget-da22a491.js} +2 -2
- package/{dropdown-widget-79fe97e3.js → dropdown-widget-5982a879.js} +1 -1
- package/{empty-widget-8781d137.js → empty-widget-ddd257ba.js} +2 -2
- package/{feedback-widget-dbf66a70.js → feedback-widget-cd3cb686.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7b33b8fc.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8cb27f35.js} +1 -1
- package/{file-upload-widget-22d37d45.js → file-upload-widget-8f10ef4f.js} +3 -3
- package/form-widget-07c36b9c.js +224 -0
- package/{grid-col-widget-835881ef.js → grid-col-widget-a5f247a8.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-dee124a9.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d09d7c02.js} +1 -1
- package/{grid-widget-27e889a0.js → grid-widget-9da08670.js} +1 -1
- package/{input-widget-31603d98.js → input-widget-1ca33ac3.js} +1 -1
- package/{link-widget-3fc6f3bc.js → link-widget-21b6802b.js} +2 -2
- package/{ltable-col-widget-1899f393.js → ltable-col-widget-d2fab2cd.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0bd9f972.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-a7fbd112.js} +1 -1
- package/{ltable-widget-0d55794c.js → ltable-widget-3e8e6b43.js} +1 -1
- package/{multirow-widget-7b9be8fd.js → multirow-widget-45a8d25d.js} +1 -1
- package/package.json +2 -3
- package/{progress-widget-0ec8a01e.js → progress-widget-813b4777.js} +1 -1
- package/{range-widget-ab141ba2.js → range-widget-a7a2cc17.js} +1 -1
- package/render.es.js +19 -19
- package/render.umd.js +151 -154
- package/{result-widget-7ab87531.js → result-widget-6cd7f701.js} +1 -1
- package/sfcview-b9f25000.js +91 -0
- package/{tab-pane-widget-726709cd.js → tab-pane-widget-c7c74425.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4e70e8c0.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-93bd278a.js} +1 -1
- package/{table-col-widget-eba20497.js → table-col-widget-562dd755.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1af99e54.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-04ad1322.js} +1 -1
- package/{table-widget-b4f55da5.js → table-widget-529fcb42.js} +2 -2
- package/{tabs-widget-3f672101.js → tabs-widget-0e3cf725.js} +1 -1
- package/{tag-widget-58e5a2b1.js → tag-widget-a12b391e.js} +2 -2
- package/{text-widget-cb74322f.js → text-widget-f03bb615.js} +2 -2
- package/{tmpl-widget-6e955980.js → tmpl-widget-d83bbdec.js} +1 -1
- package/{wrapper-widget-f6907d2f.js → wrapper-widget-a48784d7.js} +1 -1
- package/form-widget-72d9ea94.js +0 -225
- package/sfcview-ccbbde59.js +0 -94
|
@@ -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-8f10ef4f.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-7bf27317.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-8f10ef4f.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-7bf27317.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-e76a3814.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-7bf27317.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-e76a3814.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-7bf27317.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-7bf27317.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-e76a3814.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-7bf27317.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-e76a3814.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-7bf27317.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-e76a3814.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-7bf27317.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-e76a3814.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-7bf27317.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-7bf27317.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-c695e4be.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-7bf27317.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-c695e4be.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-e76a3814.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-7bf27317.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-7bf27317.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-7bf27317.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-8cb27f35.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-7bf27317.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-e76a3814.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-7bf27317.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-378f10f7.js").then((t) => t._), "./container-widget/cont-widget.vue": () => import("./cont-widget-a0291a33.js").then((t) => t._), "./container-widget/form-widget.vue": () => import("./form-widget-07c36b9c.js").then((t) => t._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-a5f247a8.js").then((t) => t._), "./container-widget/grid-widget.vue": () => import("./grid-widget-9da08670.js").then((t) => t._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-d2fab2cd.js").then((t) => t._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-3e8e6b43.js").then((t) => t._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-c7c74425.js").then((t) => t._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-0e3cf725.js").then((t) => t._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-a48784d7.js").then((t) => t._) }), `./container-widget/${n}.vue`)) : p = A(() => j(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-e27ce439.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-29acce89.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-c7f628b7.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-39b78620.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-6e57d8fe.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-4a787881.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-57acc2c2.js"), "./field-widget/button-widget.vue": () => import("./button-widget-8f366155.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-681c2328.js"), "./field-widget/card-widget.vue": () => import("./card-widget-ec661a5f.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-72fb2f79.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-7b9b580b.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-c90c6b38.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-f6f5ecc8.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-da22a491.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-5982a879.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-ddd257ba.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-cd3cb686.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-8f10ef4f.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-1ca33ac3.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-f087426c.js"), "./field-widget/link-widget.vue": () => import("./link-widget-21b6802b.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-45a8d25d.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-813b4777.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-15eb2159.js"), "./field-widget/range-widget.vue": () => import("./range-widget-a7a2cc17.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-8286721a.js"), "./field-widget/result-widget.vue": () => import("./result-widget-6cd7f701.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-562dd755.js"), "./field-widget/table-widget.vue": () => import("./table-widget-529fcb42.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-a12b391e.js"), "./field-widget/text-widget.vue": () => import("./text-widget-f03bb615.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-d83bbdec.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-8cb27f35.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-7bf27317.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-7bf27317.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-e76a3814.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-7bf27317.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-8cb27f35.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-7bf27317.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-7bf27317.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-7bf27317.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-a1ef6f23.js"));
|
|
28
28
|
break;
|
|
29
29
|
}
|
|
30
30
|
case "text/plain": {
|
|
31
|
-
s.value = L(() => import("./_txt-
|
|
31
|
+
s.value = L(() => import("./_txt-f58d1661.js"));
|
|
32
32
|
break;
|
|
33
33
|
}
|
|
34
34
|
default: {
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { ref as te, reactive as q, onMounted as de, nextTick as Le, defineComponent as re, resolveComponent as We, resolveDirective as Ne, openBlock as oe, createBlock as ae, mergeProps as z, unref as p, withCtx as ne, withDirectives as Oe, toHandlers as je, createVNode as xe } from "vue";
|
|
2
|
+
import { I as Ee } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Se } from "./drag-wrapper-7bf27317.js";
|
|
4
|
+
import { _ as ye } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
5
|
+
import { w as K, b as le, g as M, f as L, k as Me } from "./expression-490b4335.js";
|
|
6
|
+
import { u as ke } from "./icon-a0e0cdb0.js";
|
|
7
|
+
import { u as Ae, a as Pe } from "./multirow-35c0f8c0.js";
|
|
8
|
+
import { b as Re, M as $e, e as Ie, d as ie, N as Be, z as He, g as Te } from "./enum-type-4a798b1a.js";
|
|
9
|
+
import { $ as qe, B as ze } from "./baseImp-26b9c04a.js";
|
|
10
|
+
import { f as Ke } from "./index-a7d766e7.js";
|
|
11
|
+
import { b as Ue, a as Ge, u as Je } from "./share-field-27676b90.js";
|
|
12
|
+
import { W as Qe } from "./enum-type-bb2bfafa.js";
|
|
13
|
+
import { F as Xe } from "./slot-f8eef9e1.js";
|
|
14
|
+
import { _ as Ye } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function Ze(r) {
|
|
16
|
+
const O = r.widget, f = r.designer, C = f == null ? void 0 : f.pageConfig, b = r == null ? void 0 : r.widgetList, j = te({}), k = {}, { fieldModel: A, fieldName: P, fieldEditor: u, attrs: x, events: h, hasFieldOptions: E, exposed: F, fieldObj: S, watchOption: g, propResultOpt: w, extendAttrs: D } = Ue(r), { off$: W, on$: V, emit$: y, broadcast: N } = Pe();
|
|
17
|
+
var { instance: U } = ke();
|
|
18
|
+
const { setAllRefList: se } = Ge(j.value), G = { designState: r == null ? void 0 : r.designState, pageConfig: C, globalConfig: w == null ? void 0 : w.globalConfig }, { formModel: R, setData: ce, getData: $, clearData: J } = Ae(b, { ...G }), { handleFunc: I } = Je({ options: C }, G), B = q({}), fe = () => {
|
|
19
|
+
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
20
|
+
he(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), F == null || F.setValue(R), pe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, ue = () => {
|
|
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
|
+
}, me = () => {
|
|
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((a) => ({
|
|
31
|
+
required: a.required,
|
|
32
|
+
message: a.message,
|
|
33
|
+
trigger: a.trigger,
|
|
34
|
+
validator: a.validator
|
|
35
|
+
}));
|
|
36
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), x.value.rules = B;
|
|
37
|
+
});
|
|
38
|
+
}, H = te(!1), T = q({});
|
|
39
|
+
let Q = q({});
|
|
40
|
+
const ve = (e) => {
|
|
41
|
+
ie(Q, e);
|
|
42
|
+
}, pe = (e, t, o) => {
|
|
43
|
+
H.value = !0, e && ie(T, { [e]: { oldValue: o, newValue: t } });
|
|
44
|
+
}, ge = () => {
|
|
45
|
+
H.value = !1, $e(T);
|
|
46
|
+
}, he = (e, t, o) => {
|
|
47
|
+
I(h.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: R });
|
|
48
|
+
}, _e = () => {
|
|
49
|
+
I(h.value.formCreated);
|
|
50
|
+
}, Ce = () => {
|
|
51
|
+
I(h.value.formMounted);
|
|
52
|
+
}, be = () => {
|
|
53
|
+
me(), fe(), ue(), _e();
|
|
54
|
+
}, Fe = (e) => {
|
|
55
|
+
var t;
|
|
56
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
57
|
+
}, we = () => {
|
|
58
|
+
se(Qe.resetField), Le(() => {
|
|
59
|
+
Fe();
|
|
60
|
+
});
|
|
61
|
+
}, X = (e, t) => {
|
|
62
|
+
let o = [];
|
|
63
|
+
for (let s in e) {
|
|
64
|
+
var a = e[s], d = a == null ? void 0 : a.filter((i) => (i == null ? void 0 : i.force) === t);
|
|
65
|
+
d == null || d.forEach((i) => {
|
|
66
|
+
var n;
|
|
67
|
+
const c = (n = i == null ? void 0 : i.rule) == null ? void 0 : n.label;
|
|
68
|
+
i.message && o.push(Me(c ? "【" + c + "】" : "", i.message, ":"));
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return Be(o);
|
|
72
|
+
}, De = (e, t) => {
|
|
73
|
+
var o = {};
|
|
74
|
+
return Ke(t, (a) => {
|
|
75
|
+
var d = ze.getName(a), s = He(e, d);
|
|
76
|
+
return s && (o[d] = e[d]), s;
|
|
77
|
+
}, !1), o;
|
|
78
|
+
}, Ve = (e = !0) => {
|
|
79
|
+
var d, s, i;
|
|
80
|
+
let t = $(), o = function() {
|
|
81
|
+
}, a = new Promise(function(c, n) {
|
|
82
|
+
o = function(m, l) {
|
|
83
|
+
(l ? n : c)({ data: m, isSuccess: !l, message: l });
|
|
84
|
+
};
|
|
85
|
+
});
|
|
86
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), a) : ((i = (s = u.value) == null ? void 0 : s.validate) == null || i.call(s, (c, n) => {
|
|
87
|
+
if (c)
|
|
88
|
+
o(t);
|
|
89
|
+
else {
|
|
90
|
+
var m = X(n, !0);
|
|
91
|
+
if (m && m.length > 0) {
|
|
92
|
+
o(t, m);
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
var l = X(n, !1);
|
|
96
|
+
if (l && l.length > 0) {
|
|
97
|
+
l.push(Ie.i18nt("designer.hint.continue")), qe.multiple(l).then((v) => {
|
|
98
|
+
o(t);
|
|
99
|
+
});
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}), a);
|
|
104
|
+
}, Y = (e, t = !0) => {
|
|
105
|
+
if (O) {
|
|
106
|
+
var o = De(e, [O]);
|
|
107
|
+
ce(o, t), N(K.ContainerWidget, le.setFormData, e, U), N(K.FieldWidget, le.setFormData, e, U);
|
|
108
|
+
}
|
|
109
|
+
}, Z = (e) => new Promise((t, o) => {
|
|
110
|
+
const a = (n, m) => {
|
|
111
|
+
var v, _, ee;
|
|
112
|
+
let l = (v = D.value) != null && v.formDataLoaded ? (ee = (_ = D.value) == null ? void 0 : _.formDataLoaded) == null ? void 0 : ee.call(_, $(), n) : n;
|
|
113
|
+
Te(l) ? Y(l, !m) : l = {}, ve(l), t(l);
|
|
114
|
+
}, d = () => {
|
|
115
|
+
g(e, M.newDataSource, void 0, (n, m) => {
|
|
116
|
+
a(n, !0);
|
|
117
|
+
});
|
|
118
|
+
}, s = () => {
|
|
119
|
+
g(e, M.editDataSource, void 0, (n, m) => {
|
|
120
|
+
var v, _;
|
|
121
|
+
if (((_ = (v = D.value) == null ? void 0 : v.needFormAdd) == null ? void 0 : _.call(v, n)) && c) {
|
|
122
|
+
d();
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
a(n, !1);
|
|
126
|
+
});
|
|
127
|
+
}, i = E(M.editDataSource), c = E(M.newDataSource);
|
|
128
|
+
i ? s() : c && d();
|
|
129
|
+
});
|
|
130
|
+
return be(), de(() => {
|
|
131
|
+
Re(), Ce();
|
|
132
|
+
}), {
|
|
133
|
+
widgetRefList: j,
|
|
134
|
+
allWidgetRefList: k,
|
|
135
|
+
fieldEditor: u,
|
|
136
|
+
formModel: R,
|
|
137
|
+
pageConfig: C,
|
|
138
|
+
widgetList: b,
|
|
139
|
+
fieldModel: A,
|
|
140
|
+
fieldName: P,
|
|
141
|
+
attrs: x,
|
|
142
|
+
extendAttrs: D,
|
|
143
|
+
events: h,
|
|
144
|
+
rules: B,
|
|
145
|
+
loadData: Z,
|
|
146
|
+
clearData: J,
|
|
147
|
+
exposed: {
|
|
148
|
+
...F,
|
|
149
|
+
setValue: Y,
|
|
150
|
+
getValue: Ve,
|
|
151
|
+
resetField: we,
|
|
152
|
+
clearData: J,
|
|
153
|
+
loadData: Z,
|
|
154
|
+
getData: $,
|
|
155
|
+
clearChangeRecord: ge,
|
|
156
|
+
formChangeCache: T,
|
|
157
|
+
formBeforeChangeCache: Q,
|
|
158
|
+
formChangeFlag: H,
|
|
159
|
+
emit$: y
|
|
160
|
+
},
|
|
161
|
+
fieldObj: S
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
const et = re({ componentName: K.ContainerWidget }), tt = /* @__PURE__ */ re({
|
|
165
|
+
...et,
|
|
166
|
+
__name: "form-widget",
|
|
167
|
+
props: { ...Ee },
|
|
168
|
+
setup(r, { expose: O }) {
|
|
169
|
+
var S;
|
|
170
|
+
const f = r, { exposed: C, formModel: b, fieldEditor: j, attrs: k, events: A, widgetRefList: P, extendAttrs: u, fieldName: x, fieldObj: h, loadData: E } = Ze({ ...f, widgetList: (S = f == null ? void 0 : f.widget) == null ? void 0 : S.widgetList }), F = x.value;
|
|
171
|
+
return Xe.globalProvide({
|
|
172
|
+
globalFormName: F,
|
|
173
|
+
globalDataModel: b
|
|
174
|
+
}), de(() => {
|
|
175
|
+
var g;
|
|
176
|
+
(g = u.value) != null && g.loadDataWhenInit && !f.designState && E(!0).then((w) => {
|
|
177
|
+
}).catch((w) => {
|
|
178
|
+
}).finally(() => {
|
|
179
|
+
C.clearChangeRecord();
|
|
180
|
+
});
|
|
181
|
+
}), O({ ...C }), (g, w) => {
|
|
182
|
+
const D = We("el-form"), W = Ne("loading");
|
|
183
|
+
return oe(), ae(ye, z(g.$props, {
|
|
184
|
+
"prop-options": { fieldObj: p(h) }
|
|
185
|
+
}), {
|
|
186
|
+
default: ne(({ data: V }) => {
|
|
187
|
+
var y, N;
|
|
188
|
+
return [
|
|
189
|
+
Oe((oe(), ae(D, z({
|
|
190
|
+
ref_key: "fieldEditor",
|
|
191
|
+
ref: j,
|
|
192
|
+
model: p(b)
|
|
193
|
+
}, p(k), je(p(A)), {
|
|
194
|
+
class: V.injectClass,
|
|
195
|
+
key: (y = p(h)) == null ? void 0 : y.fieldKey,
|
|
196
|
+
"element-loading-text": p(u).loadingText
|
|
197
|
+
}), {
|
|
198
|
+
default: ne(() => [
|
|
199
|
+
xe(Se, z(g.$props, {
|
|
200
|
+
dragClass: "formDrag",
|
|
201
|
+
model: p(b),
|
|
202
|
+
provideModel: !0,
|
|
203
|
+
"component-class": V.componentWrapperClass,
|
|
204
|
+
refList: p(P)
|
|
205
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
206
|
+
]),
|
|
207
|
+
_: 2
|
|
208
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
209
|
+
[W, (N = p(u)) == null ? void 0 : N.showLoading]
|
|
210
|
+
])
|
|
211
|
+
];
|
|
212
|
+
}),
|
|
213
|
+
_: 1
|
|
214
|
+
}, 16, ["prop-options"]);
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
const ot = /* @__PURE__ */ Ye(tt, [["__scopeId", "data-v-b0372f7b"]]), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
219
|
+
__proto__: null,
|
|
220
|
+
default: ot
|
|
221
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
222
|
+
export {
|
|
223
|
+
ht as _
|
|
224
|
+
};
|
|
@@ -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-d09d7c02.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|