hlrender 0.0.301 → 0.0.302
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-f1f7c334.js → affix-widget-8d4c1f96.js} +2 -2
- package/{alert-widget-dafd0736.js → alert-widget-14e2a5a6.js} +2 -2
- package/{auto-complete-widget-fc55aeda.js → auto-complete-widget-36a82676.js} +1 -1
- package/{avatar-widget-4f1c9799.js → avatar-widget-5965338a.js} +2 -2
- package/{backtop-widget-fd54382e.js → backtop-widget-ac8f92bd.js} +2 -2
- package/{badge-widget-fa7934d1.js → badge-widget-542ccbef.js} +2 -2
- package/{button-widget-219a516b.js → button-widget-2ef2fc9c.js} +2 -2
- package/{card-widget-f784807f.js → card-widget-99ed3560.js} +1 -1
- package/{carousel-widget-b45a4c3a.js → carousel-widget-f16e7565.js} +1 -1
- package/{collapse-widget-2e84684b.js → collapse-widget-5accfbbe.js} +1 -1
- package/{cont-cell-widget-7a694eb0.js → cont-cell-widget-68c1f292.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a879ce0a.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-0e2ba447.js} +1 -1
- package/{cont-widget-4e372062.js → cont-widget-f45885b5.js} +1 -1
- package/{countdown-widget-72309b28.js → countdown-widget-2f7bd978.js} +2 -2
- package/{default-slot-widget-6d8e57e2.js → default-slot-widget-9aa17e5f.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-913b8715.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fd27d4d2.js} +1 -1
- package/{descriptions-widget-b71f5705.js → descriptions-widget-20483347.js} +1 -1
- package/{dialog-widget-61a9ddeb.js → dialog-widget-ca2795a7.js} +2 -2
- package/{divider-widget-2f195eb8.js → divider-widget-ad79081a.js} +2 -2
- package/{drag-wrapper-cf97651b.js → drag-wrapper-fb64e334.js} +1 -1
- package/{drawer-widget-2737f26d.js → drawer-widget-d28b0a5c.js} +2 -2
- package/{dropdown-widget-260308ac.js → dropdown-widget-dfd3f78d.js} +1 -1
- package/{empty-widget-c8970a55.js → empty-widget-efe843e2.js} +2 -2
- package/{feedback-widget-4167c2a9.js → feedback-widget-d8444997.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-87912f31.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9e7988b9.js} +1 -1
- package/{file-upload-widget-b32ee3d1.js → file-upload-widget-c1254be5.js} +1 -1
- package/form-widget-d2ebab61.js +280 -0
- package/{grid-col-widget-8d4b7168.js → grid-col-widget-bb49348c.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-25426e00.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-fcec55df.js} +1 -1
- package/{grid-widget-dac18949.js → grid-widget-d02b78ac.js} +1 -1
- package/{hcard-widget-c0f56251.js → hcard-widget-9e842ead.js} +1 -1
- package/{input-tag-widget-048651cb.js → input-tag-widget-4a1f2f91.js} +1 -1
- package/{input-widget-9018b554.js → input-widget-70b53019.js} +1 -1
- package/{link-widget-830eab00.js → link-widget-18918f81.js} +2 -2
- package/{ltable-col-widget-91d3adb5.js → ltable-col-widget-7ae1f486.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-dd26bb29.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6e146945.js} +1 -1
- package/{ltable-widget-9742db38.js → ltable-widget-3bffd1f7.js} +1 -1
- package/{mention-widget-d95f4853.js → mention-widget-4f0b7e46.js} +1 -1
- package/{multirow-widget-23d8fe65.js → multirow-widget-8b5b90ec.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-edf2c5f5.js → progress-widget-aedf1ff5.js} +1 -1
- package/{range-widget-2f7aaf21.js → range-widget-585e8fef.js} +1 -1
- package/render.es.js +15 -15
- package/render.style.css +1 -1
- package/render.umd.js +1 -1
- package/{result-widget-3fbc819c.js → result-widget-8f0e6d12.js} +1 -1
- package/{skeleton-widget-a6982db9.js → skeleton-widget-7f07b172.js} +2 -2
- package/{space-widget-8ebdf633.js → space-widget-b9cccac6.js} +1 -1
- package/{splitter-widget-2cfb1d05.js → splitter-widget-f2520985.js} +1 -1
- package/{statistic-widget-08de645a.js → statistic-widget-21b0a144.js} +2 -2
- package/{tab-pane-widget-e956cafc.js → tab-pane-widget-04c0ff7c.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ee14df24.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1d559f10.js} +1 -1
- package/{table-col-widget-a29f251c.js → table-col-widget-c62114ce.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-82fcb967.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-96095379.js} +1 -1
- package/{table-widget-1609d9a1.js → table-widget-676ab2b2.js} +2 -2
- package/{tabs-widget-875921c3.js → tabs-widget-050e0104.js} +1 -1
- package/{tag-widget-70647c39.js → tag-widget-a093712f.js} +2 -2
- package/{text-widget-899b644d.js → text-widget-32ca6fd2.js} +2 -2
- package/{timeline-widget-c240c187.js → timeline-widget-d26525e7.js} +1 -1
- package/{tmpl-widget-280909f6.js → tmpl-widget-e935a205.js} +1 -1
- package/{tooltip-widget-d77c2230.js → tooltip-widget-9c8bbfdc.js} +1 -1
- package/{transfer-widget-5d716c88.js → transfer-widget-5ccf7e5d.js} +1 -1
- package/{wrapper-widget-48055b9f.js → wrapper-widget-2e85dde7.js} +1 -1
- package/form-widget-e078a28d.js +0 -281
|
@@ -4,7 +4,7 @@ import { I as B } from "./field-base-66c90648.js";
|
|
|
4
4
|
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
5
5
|
import { a as I } from "./share-field-2a80093b.js";
|
|
6
6
|
import { w as O } from "./expression-153fa22a.js";
|
|
7
|
-
import { D as P } from "./drag-wrapper-
|
|
7
|
+
import { D as P } from "./drag-wrapper-fb64e334.js";
|
|
8
8
|
import { g as W } from "./slot-ac364a94.js";
|
|
9
9
|
import "./widget-base-df734ada.js";
|
|
10
10
|
import "./globalProvideInject-d7642328.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as O, computed as l, openBlock as p, createBlock as d, normalizeProps as B, mergeProps as m, withCtx as I, createVNode as v, unref as t, createElementVNode as V, toDisplayString as b, resolveDynamicComponent as D, createCommentVNode as E } from "vue";
|
|
2
2
|
import { i as _, e as s } from "./index-5d5e7eda.js";
|
|
3
|
-
import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fd27d4d2.js";
|
|
4
4
|
import { I as W } from "./field-base-66c90648.js";
|
|
5
5
|
import { a as T } from "./share-field-2a80093b.js";
|
|
6
6
|
import { w as q } from "./expression-153fa22a.js";
|
|
7
|
-
import { D as N } from "./drag-wrapper-
|
|
7
|
+
import { D as N } from "./drag-wrapper-fb64e334.js";
|
|
8
8
|
import { g as G, d as h } from "./slot-ac364a94.js";
|
|
9
9
|
import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
10
10
|
import { t as J } from "./index-31e1760d.js";
|
|
@@ -3,7 +3,7 @@ import { I as V } from "./field-base-66c90648.js";
|
|
|
3
3
|
import { w as H } from "./expression-153fa22a.js";
|
|
4
4
|
import { a as J } from "./share-field-2a80093b.js";
|
|
5
5
|
import { a2 as c, p as K } from "./icon-8f3b4dab.js";
|
|
6
|
-
import { C as W, D as q, u as G } from "./drag-wrapper-
|
|
6
|
+
import { C as W, D as q, u as G } from "./drag-wrapper-fb64e334.js";
|
|
7
7
|
import { d as M } from "./slot-ac364a94.js";
|
|
8
8
|
import { f as O, e as Q } from "./index-5d5e7eda.js";
|
|
9
9
|
import { _ as v } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
@@ -3,7 +3,7 @@ import { I as h } from "./field-base-66c90648.js";
|
|
|
3
3
|
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
4
4
|
import { a as U } from "./share-field-2a80093b.js";
|
|
5
5
|
import { w as A } from "./expression-153fa22a.js";
|
|
6
|
-
import { D as H } from "./drag-wrapper-
|
|
6
|
+
import { D as H } from "./drag-wrapper-fb64e334.js";
|
|
7
7
|
import { i as K } from "./baseCommonField-1576469d.js";
|
|
8
8
|
import "./widget-base-df734ada.js";
|
|
9
9
|
import "./index-5d5e7eda.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, openBlock as n, createBlock as d, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-66c90648.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-fd27d4d2.js";
|
|
4
4
|
import { w as _ } from "./expression-153fa22a.js";
|
|
5
5
|
import { a as u } from "./share-field-2a80093b.js";
|
|
6
6
|
import "./widget-base-df734ada.js";
|
|
@@ -20,7 +20,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
20
20
|
import "./fieldobj-fd67714d.js";
|
|
21
21
|
import "./slot-ac364a94.js";
|
|
22
22
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-689164d8.js";
|
|
23
|
-
import "./drag-wrapper-
|
|
23
|
+
import "./drag-wrapper-fb64e334.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
import "./multirow-9367073f.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
1
|
+
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1d559f10.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 n, openBlock as u, createBlock as g, mergeProps as r, unref as e, withCtx as w, createVNode as _ } from "vue";
|
|
2
2
|
import { w as C } from "./expression-153fa22a.js";
|
|
3
3
|
import { I as h } from "./widget-base-df734ada.js";
|
|
4
|
-
import { D as W } from "./drag-wrapper-
|
|
4
|
+
import { D as W } from "./drag-wrapper-fb64e334.js";
|
|
5
5
|
import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
6
6
|
import { c as k } from "./cssClass-cafeebc1.js";
|
|
7
7
|
import { a as O } from "./share-field-2a80093b.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
1
|
+
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-96095379.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./index-5d5e7eda.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-fb64e334.js";
|
|
5
5
|
import "./baseCommonField-1576469d.js";
|
|
6
6
|
import "./expression-153fa22a.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as I, computed as P, resolveComponent as J, openBlock as g, createBlock as v, normalizeProps as K, guardReactiveProps as O, withCtx as R, unref as r, resolveDynamicComponent as W, createCommentVNode as S, createElementBlock as $, Fragment as E, renderList as Q } from "vue";
|
|
2
2
|
import { j as N, e as j, c as z } from "./index-5d5e7eda.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
3
|
+
import { D as A } from "./drag-wrapper-fb64e334.js";
|
|
4
4
|
import { h as U } from "./baseCommonField-1576469d.js";
|
|
5
5
|
import { d as b } from "./slot-ac364a94.js";
|
|
6
6
|
import { b as X } from "./multirow-9367073f.js";
|
|
@@ -5,11 +5,11 @@ import { I as vt } from "./field-base-66c90648.js";
|
|
|
5
5
|
import { _ as ht } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
6
6
|
import { a as bt } from "./share-field-2a80093b.js";
|
|
7
7
|
import { d as yt, s as _t, w as St, g as Nt } from "./expression-153fa22a.js";
|
|
8
|
-
import { _ as Pt } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
8
|
+
import { _ as Pt } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-96095379.js";
|
|
9
9
|
import { S as xt, F as Ft } from "./globalProvideInject-d7642328.js";
|
|
10
10
|
import { c as kt, p as ve } from "./multirow-9367073f.js";
|
|
11
11
|
import { d as Ct, g as zt } from "./slot-ac364a94.js";
|
|
12
|
-
import { D as he } from "./drag-wrapper-
|
|
12
|
+
import { D as he } from "./drag-wrapper-fb64e334.js";
|
|
13
13
|
import { Grid as Tt } from "./index-6bcfdc22.js";
|
|
14
14
|
import { l as Ot } from "./loading-4a13a1bc.js";
|
|
15
15
|
import "./icon-8f3b4dab.js";
|
|
@@ -4,7 +4,7 @@ import { w as U } from "./expression-153fa22a.js";
|
|
|
4
4
|
import { I as W, m as z } from "./widget-base-df734ada.js";
|
|
5
5
|
import { a as E } from "./share-field-2a80093b.js";
|
|
6
6
|
import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
7
|
-
import { _ as L } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
7
|
+
import { _ as L } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1d559f10.js";
|
|
8
8
|
import { a as q } from "./globalProvideInject-d7642328.js";
|
|
9
9
|
import { B as v } from "./baseCommonField-1576469d.js";
|
|
10
10
|
const D = w({ componentName: U.ContainerWidget }), G = /* @__PURE__ */ w({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, openBlock as n, createBlock as d, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-66c90648.js";
|
|
3
|
-
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fd27d4d2.js";
|
|
4
4
|
import { w as c } from "./expression-153fa22a.js";
|
|
5
5
|
import { a as u } from "./share-field-2a80093b.js";
|
|
6
6
|
import "./widget-base-df734ada.js";
|
|
@@ -20,7 +20,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
20
20
|
import "./fieldobj-fd67714d.js";
|
|
21
21
|
import "./slot-ac364a94.js";
|
|
22
22
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-689164d8.js";
|
|
23
|
-
import "./drag-wrapper-
|
|
23
|
+
import "./drag-wrapper-fb64e334.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
import "./multirow-9367073f.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, openBlock as n, createBlock as d, mergeProps as f, unref as l } from "vue";
|
|
2
2
|
import { I as a } from "./field-base-66c90648.js";
|
|
3
|
-
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fd27d4d2.js";
|
|
4
4
|
import { w as c } from "./expression-153fa22a.js";
|
|
5
5
|
import { a as u } from "./share-field-2a80093b.js";
|
|
6
6
|
import "./widget-base-df734ada.js";
|
|
@@ -20,7 +20,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
20
20
|
import "./fieldobj-fd67714d.js";
|
|
21
21
|
import "./slot-ac364a94.js";
|
|
22
22
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-689164d8.js";
|
|
23
|
-
import "./drag-wrapper-
|
|
23
|
+
import "./drag-wrapper-fb64e334.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
import "./multirow-9367073f.js";
|
|
@@ -4,7 +4,7 @@ import { I as pe } from "./field-base-66c90648.js";
|
|
|
4
4
|
import { _ as ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
5
5
|
import { a as le } from "./share-field-2a80093b.js";
|
|
6
6
|
import { g as E, w as ce } from "./expression-153fa22a.js";
|
|
7
|
-
import { D as _ } from "./drag-wrapper-
|
|
7
|
+
import { D as _ } from "./drag-wrapper-fb64e334.js";
|
|
8
8
|
import { r as de } from "./globalProvideInject-d7642328.js";
|
|
9
9
|
import { P as O, W as ue, h as fe } from "./baseCommonField-1576469d.js";
|
|
10
10
|
import "./index-5d5e7eda.js";
|
|
@@ -3,7 +3,7 @@ import { e as y, t as K, f as Q } from "./index-5d5e7eda.js";
|
|
|
3
3
|
import { I as U } from "./widget-base-df734ada.js";
|
|
4
4
|
import { a as X } from "./share-field-2a80093b.js";
|
|
5
5
|
import { _ as Y } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
6
|
-
import { D } from "./drag-wrapper-
|
|
6
|
+
import { D } from "./drag-wrapper-fb64e334.js";
|
|
7
7
|
import { i as Z, d as ee } from "./slot-ac364a94.js";
|
|
8
8
|
import { c as te } from "./multirow-9367073f.js";
|
|
9
9
|
import { d as oe, g as ae } from "./expression-153fa22a.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, ref as F, computed as I, resolveComponent as P, openBlock as t, createBlock as o, mergeProps as p, unref as a, withCtx as V, createElementBlock as n, Fragment as C, renderList as N, resolveDynamicComponent as f, createCommentVNode as s, createVNode as g, isRef as x, toHandlers as H, createSlots as K } from "vue";
|
|
2
2
|
import { I as L } from "./widget-base-df734ada.js";
|
|
3
|
-
import { D as c } from "./drag-wrapper-
|
|
3
|
+
import { D as c } from "./drag-wrapper-fb64e334.js";
|
|
4
4
|
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
5
5
|
import { w as R } from "./expression-153fa22a.js";
|
|
6
6
|
import { a as U } from "./share-field-2a80093b.js";
|
|
@@ -5,7 +5,7 @@ import { a as E } from "./share-field-2a80093b.js";
|
|
|
5
5
|
import { g as L } from "./slot-ac364a94.js";
|
|
6
6
|
import P from "./form-item-wrapper-0e8696a9.js";
|
|
7
7
|
import { w as T } from "./expression-153fa22a.js";
|
|
8
|
-
import { D as $ } from "./drag-wrapper-
|
|
8
|
+
import { D as $ } from "./drag-wrapper-fb64e334.js";
|
|
9
9
|
import "./widget-base-df734ada.js";
|
|
10
10
|
import "./multirow-9367073f.js";
|
|
11
11
|
import "./baseCommonField-1576469d.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as v, watch as h, defineComponent as W, computed as y, openBlock as b, createBlock as P, mergeProps as w, unref as i, withCtx as j, createElementBlock as O, normalizeClass as L, createVNode as S, createCommentVNode as z } from "vue";
|
|
2
2
|
import { I as D } from "./widget-base-df734ada.js";
|
|
3
|
-
import { D as F } from "./drag-wrapper-
|
|
3
|
+
import { D as F } from "./drag-wrapper-fb64e334.js";
|
|
4
4
|
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
5
5
|
import { w as k } from "./expression-153fa22a.js";
|
|
6
6
|
import { W as C } from "./icon-8f3b4dab.js";
|
package/form-widget-e078a28d.js
DELETED
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
import { ref as ee, reactive as Q, onMounted as ve, nextTick as je, defineComponent as pe, computed as X, inject as Ee, watch as Ae, resolveComponent as Me, resolveDirective as Ne, openBlock as ie, createBlock as de, mergeProps as Y, unref as p, withCtx as re, createTextVNode as Pe, toDisplayString as Re, withDirectives as ke, toHandlers as Be, withModifiers as Ie, createVNode as $e } from "vue";
|
|
2
|
-
import { I as Te } from "./widget-base-df734ada.js";
|
|
3
|
-
import { D as qe } from "./drag-wrapper-cf97651b.js";
|
|
4
|
-
import { _ as ze } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js";
|
|
5
|
-
import { w as te, f as se, g as z, a as A, o as He, q as Ge, d as Ke } from "./expression-153fa22a.js";
|
|
6
|
-
import { u as Ue, W as Je } from "./icon-8f3b4dab.js";
|
|
7
|
-
import { u as Qe, a as Xe } from "./multirow-9367073f.js";
|
|
8
|
-
import { a as Ye, c as Ze, b as et, y as Z, F as ue, e as ge, d as ce, G as fe, u as tt, g as at } from "./index-5d5e7eda.js";
|
|
9
|
-
import { f as nt, F as ot } from "./globalProvideInject-d7642328.js";
|
|
10
|
-
import { a as lt, u as it } from "./share-field-2a80093b.js";
|
|
11
|
-
import { h as dt, i as me, j as rt, B as st } from "./baseCommonField-1576469d.js";
|
|
12
|
-
import { l as ut } from "./loading-4a13a1bc.js";
|
|
13
|
-
import { _ as ct } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
-
function ft(u, L) {
|
|
15
|
-
const { getWidgetOption: m, getWidgetOptionByPropValue: C } = dt(u, L), h = (c) => m(c);
|
|
16
|
-
return {
|
|
17
|
-
existFunc: h,
|
|
18
|
-
handleFunc: (c, x) => {
|
|
19
|
-
if (Ye(c)) {
|
|
20
|
-
var W = h(String(c));
|
|
21
|
-
return me(W, x);
|
|
22
|
-
} else {
|
|
23
|
-
var W = C(Ze(c));
|
|
24
|
-
return me(W, x);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
function mt(u) {
|
|
30
|
-
const L = u.widget, m = u.designer, C = m == null ? void 0 : m.pageConfig, h = u == null ? void 0 : u.widgetList, F = ee({}), c = {}, { fieldModel: x, fieldName: W, fieldEditor: f, attrs: k, events: S, hasFieldOptions: B, exposed: j, fieldObj: H, watchOption: I, propResultOpt: D, extendAttrs: M } = lt(u), { off$: V, on$: N, emit$: $, broadcast: n } = Xe();
|
|
31
|
-
var { instance: i } = Ue();
|
|
32
|
-
const { setAllRefList: E } = it(F.value), y = { designState: u == null ? void 0 : u.designState, pageConfig: C, globalConfig: D == null ? void 0 : D.globalConfig }, { formModel: _, setData: T, getData: O, clearData: P } = Qe(h, { ...y }, i), { handleFunc: G } = ft({ options: C }, y), K = Q({}), he = () => {
|
|
33
|
-
V(A.fieldChange), N(A.fieldChange, (e) => {
|
|
34
|
-
We(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), j == null || j.setValue(_), Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
35
|
-
});
|
|
36
|
-
}, _e = () => {
|
|
37
|
-
V(A.fieldValidation), N(A.fieldValidation, (e) => {
|
|
38
|
-
var t;
|
|
39
|
-
(t = f.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
40
|
-
});
|
|
41
|
-
}, be = () => {
|
|
42
|
-
V(A.fieldRuleChange), N(A.fieldRuleChange, (e) => {
|
|
43
|
-
var a;
|
|
44
|
-
var t = (a = e == null ? void 0 : e.rules) == null ? void 0 : a.map((o) => ({
|
|
45
|
-
required: o.required,
|
|
46
|
-
message: o.message,
|
|
47
|
-
trigger: o.trigger,
|
|
48
|
-
validator: o.validator
|
|
49
|
-
}));
|
|
50
|
-
Object.assign(K, { [e == null ? void 0 : e.fieldName]: t }), k.value.rules = K;
|
|
51
|
-
});
|
|
52
|
-
}, U = ee(!1), J = Q({}), q = Q({}), ae = (e) => {
|
|
53
|
-
ue(q), ce(q, e);
|
|
54
|
-
}, Ce = () => ({
|
|
55
|
-
change_info: Z(J),
|
|
56
|
-
before_info: Z(q),
|
|
57
|
-
after_info: Z(_),
|
|
58
|
-
flag: U.value
|
|
59
|
-
}), Fe = (e, t, a) => {
|
|
60
|
-
var o = q[e];
|
|
61
|
-
fe(t, a) || fe(t, o) || (U.value = !0, e && ce(J, { [e]: { oldValue: o, newValue: t, beforeValue: a } }));
|
|
62
|
-
}, we = () => {
|
|
63
|
-
U.value = !1, ue(J), ae(O());
|
|
64
|
-
}, We = (e, t, a) => {
|
|
65
|
-
G(S.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: a }, formModel: _ });
|
|
66
|
-
}, Se = () => {
|
|
67
|
-
G(S.value.formCreated);
|
|
68
|
-
}, De = () => {
|
|
69
|
-
G(S.value.formMounted);
|
|
70
|
-
}, Ve = () => {
|
|
71
|
-
be(), he(), _e(), Se();
|
|
72
|
-
}, ye = (e) => {
|
|
73
|
-
var t;
|
|
74
|
-
(t = f.value) == null || t.clearValidate(e);
|
|
75
|
-
}, Oe = () => {
|
|
76
|
-
E(Je.resetField), je(() => {
|
|
77
|
-
ye();
|
|
78
|
-
});
|
|
79
|
-
}, ne = (e, t) => {
|
|
80
|
-
let a = [];
|
|
81
|
-
for (let g in e) {
|
|
82
|
-
var o = e[g], d = o == null ? void 0 : o.filter((r) => (r == null ? void 0 : r.force) === t);
|
|
83
|
-
d == null || d.forEach((r) => {
|
|
84
|
-
var s;
|
|
85
|
-
const b = (s = r == null ? void 0 : r.rule) == null ? void 0 : s.label;
|
|
86
|
-
r.message && a.push(He(b ? "【" + b + "】" : "", r.message, ":"));
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
return Ge(a);
|
|
90
|
-
}, Le = (e, t) => {
|
|
91
|
-
var a = {};
|
|
92
|
-
return nt(t, (o) => {
|
|
93
|
-
var d = st.getName(o), g = tt(e, d);
|
|
94
|
-
return g && (a[d] = e[d]), g;
|
|
95
|
-
}, !1), a;
|
|
96
|
-
}, xe = (e = !0) => {
|
|
97
|
-
var d, g, r;
|
|
98
|
-
let t = O(), a = function() {
|
|
99
|
-
}, o = new Promise(function(b, s) {
|
|
100
|
-
a = function(v, l) {
|
|
101
|
-
(l ? s : b)({ data: v, isSuccess: !l, message: l });
|
|
102
|
-
};
|
|
103
|
-
});
|
|
104
|
-
return !((d = f.value) != null && d.validate) || !e ? (a(t), o) : ((r = (g = f.value) == null ? void 0 : g.validate) == null || r.call(g, (b, s) => {
|
|
105
|
-
if (b)
|
|
106
|
-
a(t);
|
|
107
|
-
else {
|
|
108
|
-
var v = ne(s, !0);
|
|
109
|
-
if (v && v.length > 0) {
|
|
110
|
-
a(t, v);
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
var l = ne(s, !1);
|
|
114
|
-
if (l && l.length > 0) {
|
|
115
|
-
l.push(ge.i18nt("designer.hint.continue")), rt.multiple(l).then((w) => {
|
|
116
|
-
a(t);
|
|
117
|
-
});
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}), o);
|
|
122
|
-
}, oe = (e, t = !0) => {
|
|
123
|
-
if (L) {
|
|
124
|
-
var a = Le(e, [L]);
|
|
125
|
-
T(a, t), n(te.ContainerWidget, se.setFormData, e, [F.value]), n(te.FieldWidget, se.setFormData, e, [F.value]);
|
|
126
|
-
}
|
|
127
|
-
}, le = (e) => new Promise((t, a) => {
|
|
128
|
-
const o = (s, v) => {
|
|
129
|
-
var R;
|
|
130
|
-
const l = (R = M.value) == null ? void 0 : R.formDataLoaded;
|
|
131
|
-
let w = l ? l == null ? void 0 : l(O(), s) : s;
|
|
132
|
-
at(w) ? oe(w, !v) : w = {}, ae(w), t(w);
|
|
133
|
-
}, d = () => {
|
|
134
|
-
const s = (v) => {
|
|
135
|
-
o(v, !0);
|
|
136
|
-
};
|
|
137
|
-
I(z.newDataSource, void 0, s);
|
|
138
|
-
}, g = () => {
|
|
139
|
-
const s = (v) => {
|
|
140
|
-
var R;
|
|
141
|
-
const l = (R = M.value) == null ? void 0 : R.needFormAdd;
|
|
142
|
-
if ((l == null ? void 0 : l(v)) && b) {
|
|
143
|
-
d();
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
o(v, !1);
|
|
147
|
-
};
|
|
148
|
-
I(z.editDataSource, void 0, s);
|
|
149
|
-
}, r = B(z.editDataSource), b = B(z.newDataSource);
|
|
150
|
-
r ? g() : b && d();
|
|
151
|
-
});
|
|
152
|
-
return Ve(), ve(() => {
|
|
153
|
-
et(), De();
|
|
154
|
-
}), {
|
|
155
|
-
widgetRefList: F,
|
|
156
|
-
allWidgetRefList: c,
|
|
157
|
-
fieldEditor: f,
|
|
158
|
-
formModel: _,
|
|
159
|
-
pageConfig: C,
|
|
160
|
-
widgetList: h,
|
|
161
|
-
fieldModel: x,
|
|
162
|
-
fieldName: W,
|
|
163
|
-
attrs: k,
|
|
164
|
-
extendAttrs: M,
|
|
165
|
-
events: S,
|
|
166
|
-
rules: K,
|
|
167
|
-
loadData: le,
|
|
168
|
-
clearData: P,
|
|
169
|
-
exposed: {
|
|
170
|
-
...j,
|
|
171
|
-
setValue: oe,
|
|
172
|
-
getValue: xe,
|
|
173
|
-
resetField: Oe,
|
|
174
|
-
clearData: P,
|
|
175
|
-
loadData: le,
|
|
176
|
-
getData: O,
|
|
177
|
-
//修改痕迹
|
|
178
|
-
clearChangeRecord: we,
|
|
179
|
-
getChangeRecord: Ce,
|
|
180
|
-
emit$: $
|
|
181
|
-
},
|
|
182
|
-
fieldObj: H
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
const vt = pe({ componentName: te.ContainerWidget }), pt = /* @__PURE__ */ pe({
|
|
186
|
-
...vt,
|
|
187
|
-
__name: "form-widget",
|
|
188
|
-
props: { ...Te },
|
|
189
|
-
setup(u, { expose: L }) {
|
|
190
|
-
var $;
|
|
191
|
-
const m = u, { exposed: C, formModel: h, fieldEditor: F, attrs: c, events: x, widgetRefList: W, extendAttrs: f, fieldName: k, fieldObj: S, loadData: B } = mt({ ...m, widgetList: ($ = m == null ? void 0 : m.widget) == null ? void 0 : $.widgetList }), j = k.value, H = X(() => {
|
|
192
|
-
var n, i;
|
|
193
|
-
return {
|
|
194
|
-
disabled: (n = c.value) == null ? void 0 : n.disabled,
|
|
195
|
-
readonly: (i = f.value) == null ? void 0 : i.readonly
|
|
196
|
-
};
|
|
197
|
-
}), I = X(() => {
|
|
198
|
-
var n, i, E, y, _;
|
|
199
|
-
return {
|
|
200
|
-
size: (n = c.value) == null ? void 0 : n.size,
|
|
201
|
-
labelWidth: (i = c.value) == null ? void 0 : i.labelWidth,
|
|
202
|
-
labelSuffix: (E = c.value) == null ? void 0 : E.labelSuffix,
|
|
203
|
-
labelAlign: (y = f.value) == null ? void 0 : y.labelAlign,
|
|
204
|
-
displayLayout: (_ = f.value) == null ? void 0 : _.displayLayout,
|
|
205
|
-
inForm: !0
|
|
206
|
-
};
|
|
207
|
-
}), D = ee(!1), M = X(() => {
|
|
208
|
-
var n;
|
|
209
|
-
return !m.designState && D.value && ((n = f.value) == null ? void 0 : n.showLoading);
|
|
210
|
-
});
|
|
211
|
-
ot.globalProvide({
|
|
212
|
-
globalFormName: j,
|
|
213
|
-
globalDataModel: h,
|
|
214
|
-
globalFormOptions: I,
|
|
215
|
-
globalWrapperOptions: H
|
|
216
|
-
});
|
|
217
|
-
const V = Ee(Ke.isRenderComplete), N = Ae(() => V == null ? void 0 : V.value, (n) => {
|
|
218
|
-
var i;
|
|
219
|
-
n && ((i = F.value) == null || i.validate(), N());
|
|
220
|
-
});
|
|
221
|
-
return ve(() => {
|
|
222
|
-
var n;
|
|
223
|
-
(n = f.value) != null && n.loadDataWhenInit && !m.designState && (D.value = !0, B(!0).catch((i) => {
|
|
224
|
-
}).finally(() => {
|
|
225
|
-
D.value = !1, C.clearChangeRecord();
|
|
226
|
-
}));
|
|
227
|
-
}), L({ ...C }), (n, i) => {
|
|
228
|
-
const E = Me("el-form"), y = Ne("loading");
|
|
229
|
-
return ie(), de(ze, Y(n.$props, {
|
|
230
|
-
"prop-options": { fieldObj: p(S) }
|
|
231
|
-
}), {
|
|
232
|
-
default: re(({ data: _ }) => {
|
|
233
|
-
var T, O;
|
|
234
|
-
return [
|
|
235
|
-
Pe(" form:" + Re(p(h)) + " ", 1),
|
|
236
|
-
ke((ie(), de(E, Y({
|
|
237
|
-
ref_key: "fieldEditor",
|
|
238
|
-
ref: F,
|
|
239
|
-
model: p(h)
|
|
240
|
-
}, p(c), Be(p(x)), {
|
|
241
|
-
class: [..._.injectClass],
|
|
242
|
-
key: (T = p(S)) == null ? void 0 : T.fieldKey,
|
|
243
|
-
onSubmit: i[0] || (i[0] = Ie(() => {
|
|
244
|
-
}, ["prevent"])),
|
|
245
|
-
"element-loading-text": ((O = p(f)) == null ? void 0 : O.loadingText) || p(ge).i18nt("designer.hint.loading"),
|
|
246
|
-
"element-loading-svg": p(ut)
|
|
247
|
-
}), {
|
|
248
|
-
default: re(() => {
|
|
249
|
-
var P;
|
|
250
|
-
return [
|
|
251
|
-
$e(qe, Y(n.$props, {
|
|
252
|
-
dragClass: "formDrag padSize",
|
|
253
|
-
model: p(h),
|
|
254
|
-
provideModel: !0,
|
|
255
|
-
"component-class": _.componentWrapperClass,
|
|
256
|
-
refList: p(W),
|
|
257
|
-
"show-suspense": (P = p(f)) == null ? void 0 : P.showSuspense,
|
|
258
|
-
"parent-widget": n.widget,
|
|
259
|
-
"parent-tree": n.parentTree
|
|
260
|
-
}), null, 16, ["model", "component-class", "refList", "show-suspense", "parent-widget", "parent-tree"])
|
|
261
|
-
];
|
|
262
|
-
}),
|
|
263
|
-
_: 2
|
|
264
|
-
}, 1040, ["model", "class", "element-loading-text", "element-loading-svg"])), [
|
|
265
|
-
[y, M.value]
|
|
266
|
-
])
|
|
267
|
-
];
|
|
268
|
-
}),
|
|
269
|
-
_: 1
|
|
270
|
-
}, 16, ["prop-options"]);
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
});
|
|
274
|
-
const gt = /* @__PURE__ */ ct(pt, [["__scopeId", "data-v-b9fda8d1"]]), xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
275
|
-
__proto__: null,
|
|
276
|
-
default: gt
|
|
277
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
278
|
-
export {
|
|
279
|
-
xt as _,
|
|
280
|
-
ft as u
|
|
281
|
-
};
|