hldesigner 0.0.262 → 0.0.263
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-9c92edf6.js → affix-widget-e753a24d.js} +2 -2
- package/{alert-widget-9b6a0698.js → alert-widget-bcffd653.js} +2 -2
- package/{auto-complete-widget-9b10df48.js → auto-complete-widget-976493b4.js} +1 -1
- package/{avatar-widget-7114bb3e.js → avatar-widget-dc349288.js} +2 -2
- package/{backtop-widget-ff8cf985.js → backtop-widget-d505f6b9.js} +2 -2
- package/{badge-widget-c1434355.js → badge-widget-52cb2379.js} +2 -2
- package/{button-widget-55d916ae.js → button-widget-896895fc.js} +2 -2
- package/{card-widget-8ad18432.js → card-widget-2bc2e5c3.js} +1 -1
- package/{carousel-widget-0fa891f4.js → carousel-widget-ce8b0e9f.js} +1 -1
- package/{collapse-widget-fef08af4.js → collapse-widget-11f84ba6.js} +1 -1
- package/{configItem-ce34250e.js → configItem-b9ae8e36.js} +17 -17
- package/{cont-cell-widget-b228156d.js → cont-cell-widget-5318492a.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9830f88d.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-33252204.js} +1 -1
- package/{cont-widget-270e5d11.js → cont-widget-c73a27e2.js} +1 -1
- package/{countdown-widget-8bf6fea7.js → countdown-widget-24a1f008.js} +2 -2
- package/{default-slot-widget-2671ad9a.js → default-slot-widget-84029579.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f0c65982.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-091acc31.js} +1 -1
- package/{descriptions-widget-7f87cf32.js → descriptions-widget-cecb6289.js} +1 -1
- package/designer.es.js +16 -16
- package/designer.style.css +1 -1
- package/designer.umd.js +186 -186
- package/{dialog-widget-55c1f397.js → dialog-widget-43766516.js} +2 -2
- package/{divider-widget-ee969b76.js → divider-widget-6696c7b6.js} +2 -2
- package/{drag-wrapper-0992a047.js → drag-wrapper-636f0170.js} +1 -1
- package/{drawer-widget-ac0f3f55.js → drawer-widget-331de048.js} +2 -2
- package/{dropdown-widget-60995578.js → dropdown-widget-6b729d6b.js} +1 -1
- package/{empty-widget-5b78b0e4.js → empty-widget-0d6c47f7.js} +2 -2
- package/{feedback-widget-31f7478b.js → feedback-widget-8a0b2ebf.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-373fc82e.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-2aafeb34.js} +1 -1
- package/{file-upload-widget-c925a335.js → file-upload-widget-4d9d9696.js} +1 -1
- package/form-widget-331a94ba.js +247 -0
- package/{grid-col-widget-e9c4d2c3.js → grid-col-widget-fe76cf7e.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-6fcb1dcb.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ab8281e1.js} +1 -1
- package/{grid-widget-035db83c.js → grid-widget-fd5d744d.js} +1 -1
- package/{hcard-widget-180705f2.js → hcard-widget-52bf6d97.js} +1 -1
- package/iframe-widget-1a5e1140.js +117 -0
- package/{index-30c0f500.js → index-0c47df2f.js} +1 -1
- package/{index-98f5ee1f.js → index-1cc23461.js} +6 -6
- package/{index-f221fc2b.js → index-5d325c74.js} +16 -16
- package/{index-91531a1c.js → index-6d113b78.js} +3 -3
- package/{index-cd1bf5a9.js → index-6d7def26.js} +1 -1
- package/{index-af7c1866.js → index-72618aa0.js} +18 -18
- package/{index-68dfa4d0.js → index-8c0c21d0.js} +18 -18
- package/{input-tag-widget-f58ea48e.js → input-tag-widget-21d5746a.js} +1 -1
- package/{input-widget-10fac72b.js → input-widget-54dc8e8a.js} +1 -1
- package/{install-designer-6144855c.js → install-designer-ee0ff655.js} +12 -12
- package/{link-widget-4d13b53b.js → link-widget-eb4734f7.js} +2 -2
- package/{ltable-col-widget-24f6e1a0.js → ltable-col-widget-d3af57b2.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c360c327.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c63bae8c.js} +1 -1
- package/{ltable-widget-ebe32bab.js → ltable-widget-5a75f839.js} +1 -1
- package/{mention-widget-5a934a35.js → mention-widget-83b3c36a.js} +1 -1
- package/{multirow-widget-ed305c31.js → multirow-widget-73b9f5b8.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-cfe6c971.js → progress-widget-e9a7ac91.js} +1 -1
- package/{range-widget-4d053197.js → range-widget-d2852556.js} +1 -1
- package/{reg-editor.vue_vue_type_script_setup_true_lang-09a9c1ec.js → reg-editor.vue_vue_type_script_setup_true_lang-3a609547.js} +1 -1
- package/{result-widget-030520f0.js → result-widget-d504e54a.js} +1 -1
- package/{skeleton-widget-a68c3601.js → skeleton-widget-a2602734.js} +2 -2
- package/{space-widget-4a377800.js → space-widget-e6030989.js} +1 -1
- package/{splitter-widget-3cdc7344.js → splitter-widget-59a86414.js} +1 -1
- package/{statistic-widget-0ea9fb2c.js → statistic-widget-8b430599.js} +2 -2
- package/{tab-pane-widget-6fa3036d.js → tab-pane-widget-1201a1cb.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-56277895.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-802714ab.js} +1 -1
- package/{table-col-widget-277f73e6.js → table-col-widget-5b7cc3e5.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b8c1a9c3.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-930b5abc.js} +1 -1
- package/{table-widget-4ddf5b3d.js → table-widget-b109d43f.js} +2 -2
- package/{tabs-widget-d7bc1a08.js → tabs-widget-b30343b8.js} +1 -1
- package/{tag-widget-9e18a6e9.js → tag-widget-96791265.js} +2 -2
- package/{target-datasource-b57bd99b.js → target-datasource-ae88f7d2.js} +18 -18
- package/{target-link-3aeafd95.js → target-link-ba16e2bb.js} +18 -18
- package/{target-saveForm-fb7ded99.js → target-saveForm-48f26dbe.js} +18 -18
- package/{text-widget-3caa2990.js → text-widget-ba10f5d0.js} +2 -2
- package/{timeline-widget-192caea3.js → timeline-widget-b870926b.js} +1 -1
- package/{tmpl-widget-3e8bddb7.js → tmpl-widget-95025cff.js} +1 -1
- package/{tooltip-widget-c3983577.js → tooltip-widget-2797db64.js} +1 -1
- package/{transfer-widget-9e01d9bf.js → transfer-widget-b0797f27.js} +1 -1
- package/{wrapper-widget-607422e7.js → wrapper-widget-6e690296.js} +1 -1
- package/form-widget-3c68e3a6.js +0 -256
- package/iframe-widget-2cc84335.js +0 -117
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as R, ref as c, computed as d, resolveComponent as s, openBlock as S, createElementBlock as E, Fragment as M, createVNode as e, withCtx as i, unref as o } from "vue";
|
|
2
2
|
import { c as w, a as l, e as p } from "./enum-type-1e41a275.js";
|
|
3
|
-
import { _ as n } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as n } from "./reg-editor.vue_vue_type_script_setup_true_lang-3a609547.js";
|
|
4
4
|
import { a as u } from "./enum-type-c8b77ba5.js";
|
|
5
5
|
import { _ as D } from "./_plugin-vue_export-helper-dad06003.js";
|
|
6
|
-
import "./index-
|
|
6
|
+
import "./index-1cc23461.js";
|
|
7
7
|
import "./emitter-00809005.js";
|
|
8
8
|
import "./obj-de9ca9c2.js";
|
|
9
9
|
import "./index-f1034f73.js";
|
|
@@ -18,31 +18,31 @@ import "./icon-aff7bde2.js";
|
|
|
18
18
|
import "./dialog-01ece6ab.js";
|
|
19
19
|
import "element-plus";
|
|
20
20
|
import "./index-8eb82169.js";
|
|
21
|
-
import "./drag-wrapper-
|
|
21
|
+
import "./drag-wrapper-636f0170.js";
|
|
22
22
|
import "./widget-base-8eece820.js";
|
|
23
23
|
import "./slot-92a62ccb.js";
|
|
24
24
|
import "./index-937b1e27.js";
|
|
25
25
|
import "./property-base-2c77cef1.js";
|
|
26
|
-
import "./install-designer-
|
|
27
|
-
import "./cont-cell-widget-
|
|
28
|
-
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
26
|
+
import "./install-designer-ee0ff655.js";
|
|
27
|
+
import "./cont-cell-widget-5318492a.js";
|
|
28
|
+
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-33252204.js";
|
|
29
29
|
import "./share-field-99831984.js";
|
|
30
30
|
import "./multirow-d9432e17.js";
|
|
31
|
-
import "./cont-widget-
|
|
31
|
+
import "./cont-widget-c73a27e2.js";
|
|
32
32
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
33
33
|
import "./index-0c1a0ddc.js";
|
|
34
34
|
import "./fieldobj-a62cc1fc.js";
|
|
35
|
-
import "./form-widget-
|
|
36
|
-
import "./grid-col-widget-
|
|
37
|
-
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
38
|
-
import "./grid-widget-
|
|
39
|
-
import "./ltable-col-widget-
|
|
40
|
-
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
41
|
-
import "./ltable-widget-
|
|
42
|
-
import "./tab-pane-widget-
|
|
43
|
-
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
44
|
-
import "./tabs-widget-
|
|
45
|
-
import "./wrapper-widget-
|
|
35
|
+
import "./form-widget-331a94ba.js";
|
|
36
|
+
import "./grid-col-widget-fe76cf7e.js";
|
|
37
|
+
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ab8281e1.js";
|
|
38
|
+
import "./grid-widget-fd5d744d.js";
|
|
39
|
+
import "./ltable-col-widget-d3af57b2.js";
|
|
40
|
+
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c63bae8c.js";
|
|
41
|
+
import "./ltable-widget-5a75f839.js";
|
|
42
|
+
import "./tab-pane-widget-1201a1cb.js";
|
|
43
|
+
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-802714ab.js";
|
|
44
|
+
import "./tabs-widget-b30343b8.js";
|
|
45
|
+
import "./wrapper-widget-6e690296.js";
|
|
46
46
|
import "./index-da7ca79d.js";
|
|
47
47
|
import "./index-40d47100.js";
|
|
48
48
|
import "./color-bae04003.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as c, resolveComponent as o, openBlock as m,
|
|
|
2
2
|
import { c as C, a as _ } from "./enum-type-c8b77ba5.js";
|
|
3
3
|
import { e as x } from "./enum-type-1e41a275.js";
|
|
4
4
|
import { v as S } from "./index-f1034f73.js";
|
|
5
|
-
import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-3a609547.js";
|
|
6
6
|
import "./obj-de9ca9c2.js";
|
|
7
7
|
import "./uuid-dab47659.js";
|
|
8
8
|
import "./optionItem-6e6635c2.js";
|
|
@@ -15,34 +15,34 @@ import "./icon-aff7bde2.js";
|
|
|
15
15
|
import "./dialog-01ece6ab.js";
|
|
16
16
|
import "element-plus";
|
|
17
17
|
import "./index-8eb82169.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-1cc23461.js";
|
|
19
19
|
import "./emitter-00809005.js";
|
|
20
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./drag-wrapper-636f0170.js";
|
|
21
21
|
import "./widget-base-8eece820.js";
|
|
22
22
|
import "./slot-92a62ccb.js";
|
|
23
23
|
import "./index-937b1e27.js";
|
|
24
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
25
|
import "./property-base-2c77cef1.js";
|
|
26
|
-
import "./install-designer-
|
|
27
|
-
import "./cont-cell-widget-
|
|
28
|
-
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
26
|
+
import "./install-designer-ee0ff655.js";
|
|
27
|
+
import "./cont-cell-widget-5318492a.js";
|
|
28
|
+
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-33252204.js";
|
|
29
29
|
import "./share-field-99831984.js";
|
|
30
30
|
import "./multirow-d9432e17.js";
|
|
31
|
-
import "./cont-widget-
|
|
31
|
+
import "./cont-widget-c73a27e2.js";
|
|
32
32
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
33
33
|
import "./index-0c1a0ddc.js";
|
|
34
34
|
import "./fieldobj-a62cc1fc.js";
|
|
35
|
-
import "./form-widget-
|
|
36
|
-
import "./grid-col-widget-
|
|
37
|
-
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
38
|
-
import "./grid-widget-
|
|
39
|
-
import "./ltable-col-widget-
|
|
40
|
-
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
41
|
-
import "./ltable-widget-
|
|
42
|
-
import "./tab-pane-widget-
|
|
43
|
-
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
44
|
-
import "./tabs-widget-
|
|
45
|
-
import "./wrapper-widget-
|
|
35
|
+
import "./form-widget-331a94ba.js";
|
|
36
|
+
import "./grid-col-widget-fe76cf7e.js";
|
|
37
|
+
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ab8281e1.js";
|
|
38
|
+
import "./grid-widget-fd5d744d.js";
|
|
39
|
+
import "./ltable-col-widget-d3af57b2.js";
|
|
40
|
+
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c63bae8c.js";
|
|
41
|
+
import "./ltable-widget-5a75f839.js";
|
|
42
|
+
import "./tab-pane-widget-1201a1cb.js";
|
|
43
|
+
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-802714ab.js";
|
|
44
|
+
import "./tabs-widget-b30343b8.js";
|
|
45
|
+
import "./wrapper-widget-6e690296.js";
|
|
46
46
|
import "./index-da7ca79d.js";
|
|
47
47
|
import "./index-40d47100.js";
|
|
48
48
|
import "./color-bae04003.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-1acf3ada.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-091acc31.js";
|
|
4
4
|
import { w as _ } from "./expression-9901f861.js";
|
|
5
5
|
import { c as u } from "./share-field-99831984.js";
|
|
6
6
|
import "./widget-base-8eece820.js";
|
|
@@ -23,7 +23,7 @@ import "./fieldobj-a62cc1fc.js";
|
|
|
23
23
|
import "./slot-92a62ccb.js";
|
|
24
24
|
import "./index-937b1e27.js";
|
|
25
25
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-7743da14.js";
|
|
26
|
-
import "./drag-wrapper-
|
|
26
|
+
import "./drag-wrapper-636f0170.js";
|
|
27
27
|
import "./source-map-b04aec4a.js";
|
|
28
28
|
import "./esprima-e8d15055.js";
|
|
29
29
|
import "./emitter-00809005.js";
|
|
@@ -4,7 +4,7 @@ import { I as ne } from "./field-base-1acf3ada.js";
|
|
|
4
4
|
import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
5
5
|
import { c as ae } from "./share-field-99831984.js";
|
|
6
6
|
import { b as le, w as ce } from "./expression-9901f861.js";
|
|
7
|
-
import { D as _ } from "./drag-wrapper-
|
|
7
|
+
import { D as _ } from "./drag-wrapper-636f0170.js";
|
|
8
8
|
import { r as ue } from "./index-f1034f73.js";
|
|
9
9
|
import { e as de } from "./enum-type-1e41a275.js";
|
|
10
10
|
import { P as h, b as fe } from "./baseImp-301687cc.js";
|
|
@@ -3,7 +3,7 @@ import { a as q, t as G, f as H } from "./enum-type-c8b77ba5.js";
|
|
|
3
3
|
import { I as K } from "./widget-base-8eece820.js";
|
|
4
4
|
import { c as Q } from "./share-field-99831984.js";
|
|
5
5
|
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
6
|
+
import { D as v } from "./drag-wrapper-636f0170.js";
|
|
7
7
|
import { i as X, e as Y } from "./slot-92a62ccb.js";
|
|
8
8
|
import { b as Z } from "./multirow-d9432e17.js";
|
|
9
9
|
import { d as ee, b as te } from "./expression-9901f861.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, ref as F, computed as I, resolveComponent as P, openBlock as t, createBlock as o, mergeProps as p, unref as i, withCtx as V, createElementBlock as n, Fragment as C, renderList as N, resolveDynamicComponent as f, createCommentVNode as l, createVNode as g, isRef as x, toHandlers as H, createSlots as K } from "vue";
|
|
2
2
|
import { I as L } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as c } from "./drag-wrapper-
|
|
3
|
+
import { D as c } from "./drag-wrapper-636f0170.js";
|
|
4
4
|
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
5
5
|
import { w as R } from "./expression-9901f861.js";
|
|
6
6
|
import { c as U } from "./share-field-99831984.js";
|
|
@@ -5,7 +5,7 @@ import { c as L } from "./share-field-99831984.js";
|
|
|
5
5
|
import { g as P } from "./slot-92a62ccb.js";
|
|
6
6
|
import T from "./form-item-wrapper-3a8256e9.js";
|
|
7
7
|
import { w as $ } from "./expression-9901f861.js";
|
|
8
|
-
import { D as h } from "./drag-wrapper-
|
|
8
|
+
import { D as h } from "./drag-wrapper-636f0170.js";
|
|
9
9
|
import "./obj-de9ca9c2.js";
|
|
10
10
|
import "./widget-base-8eece820.js";
|
|
11
11
|
import "./emitter-00809005.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as P, watch as j, defineComponent as y, computed as L, resolveDirective as O, openBlock as h, createBlock as D, mergeProps as C, unref as r, withCtx as F, withDirectives as S, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as k } from "vue";
|
|
2
2
|
import { I as A } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as B } from "./drag-wrapper-
|
|
3
|
+
import { D as B } from "./drag-wrapper-636f0170.js";
|
|
4
4
|
import { _ as I } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
5
5
|
import { w as N } from "./expression-9901f861.js";
|
|
6
6
|
import { W } from "./enum-type-1e41a275.js";
|
package/form-widget-3c68e3a6.js
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
import { ref as B, reactive as X, onMounted as pe, nextTick as ye, defineComponent as ge, computed as de, resolveComponent as Ne, resolveDirective as Re, openBlock as re, createBlock as se, mergeProps as Y, unref as _, withCtx as fe, withDirectives as Me, toHandlers as ke, withModifiers as Ae, createVNode as Pe } from "vue";
|
|
2
|
-
import { I as $e } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as Ie } from "./drag-wrapper-0992a047.js";
|
|
4
|
-
import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
5
|
-
import { w as ee, a as ce, b as I, f as S, c as qe } from "./expression-9901f861.js";
|
|
6
|
-
import { u as He } from "./icon-aff7bde2.js";
|
|
7
|
-
import { u as Te } from "./emitter-00809005.js";
|
|
8
|
-
import { i as ze, a as Ke } from "./enum-type-c8b77ba5.js";
|
|
9
|
-
import { $ as Ue, B as Ge } from "./baseImp-301687cc.js";
|
|
10
|
-
import { f as Je } from "./index-f1034f73.js";
|
|
11
|
-
import { c as Qe, a as Xe, u as Ye } from "./share-field-99831984.js";
|
|
12
|
-
import { W as Ze } from "./enum-type-1e41a275.js";
|
|
13
|
-
import { u as et } from "./multirow-d9432e17.js";
|
|
14
|
-
import { e as Z, f as ue, d as me, g as ve, h as tt, j as ot, k as nt } from "./obj-de9ca9c2.js";
|
|
15
|
-
import { F as at } from "./slot-92a62ccb.js";
|
|
16
|
-
import { _ as it } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
-
function lt(f) {
|
|
18
|
-
const x = f.widget, p = f.designer, F = p == null ? void 0 : p.pageConfig, w = f == null ? void 0 : f.widgetList, E = B({}), y = {}, { fieldModel: q, fieldName: H, fieldEditor: c, attrs: N, events: C, hasFieldOptions: R, exposed: D, fieldObj: T, watchOption: L, propResultOpt: W, extendAttrs: b } = Qe(f), { off$: i, on$: u, emit$: z, broadcast: M } = Te();
|
|
19
|
-
var { instance: V } = He();
|
|
20
|
-
const { setAllRefList: k } = Xe(E.value), O = { designState: f == null ? void 0 : f.designState, pageConfig: F, globalConfig: W == null ? void 0 : W.globalConfig }, { formModel: A, setData: he, getData: P, clearData: te } = et(w, { ...O }), { handleFunc: K } = Ye({ options: F }, O), U = X({}), _e = () => {
|
|
21
|
-
i(S.fieldChange), u(S.fieldChange, (e) => {
|
|
22
|
-
Le(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), D == null || D.setValue(A), we(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
23
|
-
});
|
|
24
|
-
}, Ce = () => {
|
|
25
|
-
i(S.fieldValidation), u(S.fieldValidation, (e) => {
|
|
26
|
-
var t;
|
|
27
|
-
(t = c.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
28
|
-
});
|
|
29
|
-
}, be = () => {
|
|
30
|
-
i(S.fieldRuleChange), u(S.fieldRuleChange, (e) => {
|
|
31
|
-
var o;
|
|
32
|
-
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
33
|
-
required: n.required,
|
|
34
|
-
message: n.message,
|
|
35
|
-
trigger: n.trigger,
|
|
36
|
-
validator: n.validator
|
|
37
|
-
}));
|
|
38
|
-
Object.assign(U, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = U;
|
|
39
|
-
});
|
|
40
|
-
}, oe = B(!0), G = B(!1), J = X({}), $ = X({}), ne = (e) => {
|
|
41
|
-
ue($), me($, e);
|
|
42
|
-
}, Fe = () => ({
|
|
43
|
-
change_info: Z(J),
|
|
44
|
-
before_info: Z($),
|
|
45
|
-
after_info: Z(A),
|
|
46
|
-
flag: G.value
|
|
47
|
-
}), we = (e, t, o) => {
|
|
48
|
-
var n = $[e];
|
|
49
|
-
ve(t, o) || ve(t, n) || (G.value = !0, e && me(J, { [e]: { oldValue: n, newValue: t, beforeValue: o } }));
|
|
50
|
-
}, De = () => {
|
|
51
|
-
G.value = !1, ue(J), ne(P());
|
|
52
|
-
}, Le = (e, t, o) => {
|
|
53
|
-
K(C.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: A });
|
|
54
|
-
}, Se = () => {
|
|
55
|
-
K(C.value.formCreated);
|
|
56
|
-
}, We = () => {
|
|
57
|
-
K(C.value.formMounted);
|
|
58
|
-
}, Ve = () => {
|
|
59
|
-
be(), _e(), Ce(), Se();
|
|
60
|
-
}, Oe = (e) => {
|
|
61
|
-
var t;
|
|
62
|
-
(t = c.value) == null || t.clearValidate(e);
|
|
63
|
-
}, je = () => {
|
|
64
|
-
k(Ze.resetField), ye(() => {
|
|
65
|
-
Oe();
|
|
66
|
-
});
|
|
67
|
-
}, ae = (e, t) => {
|
|
68
|
-
let o = [];
|
|
69
|
-
for (let s in e) {
|
|
70
|
-
var n = e[s], l = n == null ? void 0 : n.filter((d) => (d == null ? void 0 : d.force) === t);
|
|
71
|
-
l == null || l.forEach((d) => {
|
|
72
|
-
var v;
|
|
73
|
-
const g = (v = d == null ? void 0 : d.rule) == null ? void 0 : v.label;
|
|
74
|
-
d.message && o.push(qe(g ? "【" + g + "】" : "", d.message, ":"));
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
return tt(o);
|
|
78
|
-
}, xe = (e, t) => {
|
|
79
|
-
var o = {};
|
|
80
|
-
return Je(t, (n) => {
|
|
81
|
-
var l = Ge.getName(n), s = ot(e, l);
|
|
82
|
-
return s && (o[l] = e[l]), s;
|
|
83
|
-
}, !1), o;
|
|
84
|
-
}, Ee = (e = !0) => {
|
|
85
|
-
var l, s, d;
|
|
86
|
-
let t = P(), o = function() {
|
|
87
|
-
}, n = new Promise(function(g, v) {
|
|
88
|
-
o = function(r, a) {
|
|
89
|
-
(a ? v : g)({ data: r, isSuccess: !a, message: a });
|
|
90
|
-
};
|
|
91
|
-
});
|
|
92
|
-
return !((l = c.value) != null && l.validate) || !e ? (o(t), n) : ((d = (s = c.value) == null ? void 0 : s.validate) == null || d.call(s, (g, v) => {
|
|
93
|
-
if (g)
|
|
94
|
-
o(t);
|
|
95
|
-
else {
|
|
96
|
-
var r = ae(v, !0);
|
|
97
|
-
if (r && r.length > 0) {
|
|
98
|
-
o(t, r);
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
var a = ae(v, !1);
|
|
102
|
-
if (a && a.length > 0) {
|
|
103
|
-
a.push(Ke.i18nt("designer.hint.continue")), Ue.multiple(a).then((m) => {
|
|
104
|
-
o(t);
|
|
105
|
-
});
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}), n);
|
|
110
|
-
}, ie = (e, t = !0) => {
|
|
111
|
-
if (!x)
|
|
112
|
-
return;
|
|
113
|
-
var o = xe(e, [x]);
|
|
114
|
-
he(o, t);
|
|
115
|
-
const n = ["refList", "widgetRefList"];
|
|
116
|
-
M(ee.ContainerWidget, ce.setFormData, e, V, n), M(ee.FieldWidget, ce.setFormData, e, V, n);
|
|
117
|
-
}, le = (e) => {
|
|
118
|
-
oe.value = !0;
|
|
119
|
-
const t = (o, n) => o === null && n === void 0;
|
|
120
|
-
return new Promise((o, n) => {
|
|
121
|
-
const l = (r, a) => {
|
|
122
|
-
var Q, h, j;
|
|
123
|
-
let m = (Q = b.value) != null && Q.formDataLoaded ? (j = (h = b.value) == null ? void 0 : h.formDataLoaded) == null ? void 0 : j.call(h, P(), r) : r;
|
|
124
|
-
nt(m) ? ie(m, !a) : m = {}, ne(m), oe.value = !1, o(m);
|
|
125
|
-
}, s = () => {
|
|
126
|
-
var r = 0;
|
|
127
|
-
L(e, I.newDataSource, void 0, (a, m) => {
|
|
128
|
-
r++, !(r == 1 && t(a, m)) && l(a, !0);
|
|
129
|
-
});
|
|
130
|
-
}, d = () => {
|
|
131
|
-
var r = 0;
|
|
132
|
-
L(e, I.editDataSource, void 0, (a, m) => {
|
|
133
|
-
var h, j;
|
|
134
|
-
if (r++, r == 1 && t(a, m))
|
|
135
|
-
return;
|
|
136
|
-
if (((j = (h = b.value) == null ? void 0 : h.needFormAdd) == null ? void 0 : j.call(h, a)) && v) {
|
|
137
|
-
s();
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
l(a, !1);
|
|
141
|
-
});
|
|
142
|
-
}, g = R(I.editDataSource), v = R(I.newDataSource);
|
|
143
|
-
g ? d() : v && s();
|
|
144
|
-
});
|
|
145
|
-
};
|
|
146
|
-
return Ve(), pe(() => {
|
|
147
|
-
ze(), We();
|
|
148
|
-
}), {
|
|
149
|
-
widgetRefList: E,
|
|
150
|
-
allWidgetRefList: y,
|
|
151
|
-
fieldEditor: c,
|
|
152
|
-
formModel: A,
|
|
153
|
-
pageConfig: F,
|
|
154
|
-
widgetList: w,
|
|
155
|
-
fieldModel: q,
|
|
156
|
-
fieldName: H,
|
|
157
|
-
attrs: N,
|
|
158
|
-
extendAttrs: b,
|
|
159
|
-
events: C,
|
|
160
|
-
rules: U,
|
|
161
|
-
loadData: le,
|
|
162
|
-
clearData: te,
|
|
163
|
-
exposed: {
|
|
164
|
-
...D,
|
|
165
|
-
setValue: ie,
|
|
166
|
-
getValue: Ee,
|
|
167
|
-
resetField: je,
|
|
168
|
-
clearData: te,
|
|
169
|
-
loadData: le,
|
|
170
|
-
getData: P,
|
|
171
|
-
//修改痕迹
|
|
172
|
-
clearChangeRecord: De,
|
|
173
|
-
getChangeRecord: Fe,
|
|
174
|
-
emit$: z
|
|
175
|
-
},
|
|
176
|
-
fieldObj: T
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
const dt = ge({ componentName: ee.ContainerWidget }), rt = /* @__PURE__ */ ge({
|
|
180
|
-
...dt,
|
|
181
|
-
__name: "form-widget",
|
|
182
|
-
props: { ...$e },
|
|
183
|
-
setup(f, { expose: x }) {
|
|
184
|
-
var b;
|
|
185
|
-
const p = f, { exposed: F, formModel: w, fieldEditor: E, attrs: y, events: q, widgetRefList: H, extendAttrs: c, fieldName: N, fieldObj: C, loadData: R } = lt({ ...p, widgetList: (b = p == null ? void 0 : p.widget) == null ? void 0 : b.widgetList }), D = N.value, T = de(() => {
|
|
186
|
-
var i, u;
|
|
187
|
-
return {
|
|
188
|
-
disabled: (i = y.value) == null ? void 0 : i.disabled,
|
|
189
|
-
readonly: (u = c.value) == null ? void 0 : u.readonly
|
|
190
|
-
};
|
|
191
|
-
}), L = B(!1), W = de(() => {
|
|
192
|
-
var i;
|
|
193
|
-
return L.value || ((i = c.value) == null ? void 0 : i.showLoading);
|
|
194
|
-
});
|
|
195
|
-
return at.globalProvide({
|
|
196
|
-
globalFormName: D,
|
|
197
|
-
globalDataModel: w,
|
|
198
|
-
globalFormOptions: T
|
|
199
|
-
}), pe(() => {
|
|
200
|
-
var i;
|
|
201
|
-
(i = c.value) != null && i.loadDataWhenInit && !p.designState && (L.value = !0, R(!0).then((u) => {
|
|
202
|
-
L.value = !1;
|
|
203
|
-
}).catch((u) => {
|
|
204
|
-
}).finally(() => {
|
|
205
|
-
F.clearChangeRecord();
|
|
206
|
-
}));
|
|
207
|
-
}), x({ ...F }), (i, u) => {
|
|
208
|
-
const z = Ne("el-form"), M = Re("loading");
|
|
209
|
-
return re(), se(Be, Y(i.$props, {
|
|
210
|
-
"prop-options": { fieldObj: _(C) }
|
|
211
|
-
}), {
|
|
212
|
-
default: fe(({ data: V }) => {
|
|
213
|
-
var k;
|
|
214
|
-
return [
|
|
215
|
-
Me((re(), se(z, Y({
|
|
216
|
-
ref_key: "fieldEditor",
|
|
217
|
-
ref: E,
|
|
218
|
-
model: _(w)
|
|
219
|
-
}, _(y), ke(_(q)), {
|
|
220
|
-
class: V.injectClass,
|
|
221
|
-
key: (k = _(C)) == null ? void 0 : k.fieldKey,
|
|
222
|
-
"element-loading-text": _(c).loadingText,
|
|
223
|
-
onSubmit: u[0] || (u[0] = Ae(() => {
|
|
224
|
-
}, ["prevent"]))
|
|
225
|
-
}), {
|
|
226
|
-
default: fe(() => {
|
|
227
|
-
var O;
|
|
228
|
-
return [
|
|
229
|
-
Pe(Ie, Y(i.$props, {
|
|
230
|
-
dragClass: "formDrag padSize",
|
|
231
|
-
model: _(w),
|
|
232
|
-
provideModel: !0,
|
|
233
|
-
"component-class": V.componentWrapperClass,
|
|
234
|
-
refList: _(H),
|
|
235
|
-
"show-suspense": (O = _(c)) == null ? void 0 : O.showSuspense
|
|
236
|
-
}), null, 16, ["model", "component-class", "refList", "show-suspense"])
|
|
237
|
-
];
|
|
238
|
-
}),
|
|
239
|
-
_: 2
|
|
240
|
-
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
241
|
-
[M, W.value]
|
|
242
|
-
])
|
|
243
|
-
];
|
|
244
|
-
}),
|
|
245
|
-
_: 1
|
|
246
|
-
}, 16, ["prop-options"]);
|
|
247
|
-
};
|
|
248
|
-
}
|
|
249
|
-
});
|
|
250
|
-
const st = /* @__PURE__ */ it(rt, [["__scopeId", "data-v-7653de2f"]]), Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
251
|
-
__proto__: null,
|
|
252
|
-
default: st
|
|
253
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
254
|
-
export {
|
|
255
|
-
Wt as _
|
|
256
|
-
};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Q, computed as b, ref as h, onMounted as O, watch as R, resolveComponent as T, resolveDirective as V, openBlock as d, createBlock as I, mergeProps as L, unref as a, withCtx as q, createCommentVNode as U, withDirectives as z, createElementBlock as j, toHandlers as H } from "vue";
|
|
2
|
-
import { z as y } from "./baseImp-301687cc.js";
|
|
3
|
-
import { w as K } from "./expression-9901f861.js";
|
|
4
|
-
import { c as M } from "./share-field-99831984.js";
|
|
5
|
-
import { _ as G } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c39260e2.js";
|
|
6
|
-
import { I as J } from "./field-base-1acf3ada.js";
|
|
7
|
-
import { g as X } from "./uuid-dab47659.js";
|
|
8
|
-
import { l as B } from "./enum-type-c8b77ba5.js";
|
|
9
|
-
import { _ as Y } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
-
import "./obj-de9ca9c2.js";
|
|
11
|
-
import "./enum-type-1e41a275.js";
|
|
12
|
-
import "./icon-aff7bde2.js";
|
|
13
|
-
import "./dialog-01ece6ab.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./source-map-b04aec4a.js";
|
|
17
|
-
import "./esprima-e8d15055.js";
|
|
18
|
-
import "./emitter-00809005.js";
|
|
19
|
-
import "./slot-92a62ccb.js";
|
|
20
|
-
import "./index-937b1e27.js";
|
|
21
|
-
import "./index-f1034f73.js";
|
|
22
|
-
import "./optionItem-6e6635c2.js";
|
|
23
|
-
import "./index-8eb82169.js";
|
|
24
|
-
import "./multirow-d9432e17.js";
|
|
25
|
-
import "./widget-base-8eece820.js";
|
|
26
|
-
import "./index-0c1a0ddc.js";
|
|
27
|
-
import "./fieldobj-a62cc1fc.js";
|
|
28
|
-
function Z(s, f) {
|
|
29
|
-
var c;
|
|
30
|
-
if (!s) {
|
|
31
|
-
B.error("iframe is empty");
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const o = (c = s.contentWindow) == null ? void 0 : c.document;
|
|
35
|
-
if (!o) {
|
|
36
|
-
B.error("iframe doc is empty");
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
o.open(), o.write(f), o.close();
|
|
40
|
-
}
|
|
41
|
-
const A = {
|
|
42
|
-
key: 1,
|
|
43
|
-
class: "full-width full-height nopadding nomargin"
|
|
44
|
-
}, ee = ["src", "id"], oe = Q({ componentName: K.FieldWidget }), re = /* @__PURE__ */ Q({
|
|
45
|
-
...oe,
|
|
46
|
-
__name: "iframe-widget",
|
|
47
|
-
props: { ...J },
|
|
48
|
-
setup(s, { expose: f }) {
|
|
49
|
-
const o = s, { exposed: c, fieldEditor: w, events: m, attrs: k, extendAttrs: r, fieldObj: W, fieldKey: $, fieldName: x } = M(o), E = b(() => i.value && !t.value ? "full-width full-height" : "mini-wrapper"), t = h(!1), _ = h(), F = (e) => {
|
|
50
|
-
var l, n;
|
|
51
|
-
const v = ((l = r == null ? void 0 : r.value) == null ? void 0 : l.withQuery) ? y.getLocationQueryParams() : {}, g = y.buildUrl(e, v), p = (n = r == null ? void 0 : r.value) == null ? void 0 : n.hashRouter;
|
|
52
|
-
return y.resolveByCurrentUrl(g, p ? X() + "" : "");
|
|
53
|
-
}, C = h(), i = b(() => {
|
|
54
|
-
if (_.value)
|
|
55
|
-
return _.value;
|
|
56
|
-
const e = C.value || k.value.src;
|
|
57
|
-
return e == "" || e == "#" ? "" : F(e);
|
|
58
|
-
}), N = () => {
|
|
59
|
-
var e, u;
|
|
60
|
-
t.value = !1, (u = (e = m == null ? void 0 : m.value) == null ? void 0 : e.onLoaded) == null || u.call(e);
|
|
61
|
-
}, P = (e) => {
|
|
62
|
-
C.value = e;
|
|
63
|
-
}, S = (e) => {
|
|
64
|
-
_.value = e;
|
|
65
|
-
}, D = (e) => {
|
|
66
|
-
Z(w.value, e);
|
|
67
|
-
};
|
|
68
|
-
return O(() => {
|
|
69
|
-
i.value && (t.value = !0);
|
|
70
|
-
}), R(() => i.value, (e) => {
|
|
71
|
-
e && (t.value = !0);
|
|
72
|
-
}), f({
|
|
73
|
-
...c,
|
|
74
|
-
loadSrc: P,
|
|
75
|
-
loadUrl: S,
|
|
76
|
-
loadContent: D
|
|
77
|
-
}), (e, u) => {
|
|
78
|
-
var p;
|
|
79
|
-
const v = T("el-empty"), g = V("loading");
|
|
80
|
-
return d(), I(G, L(e.$props, {
|
|
81
|
-
"prop-options": { fieldObj: a(W) },
|
|
82
|
-
key: (p = e.widget) == null ? void 0 : p.id
|
|
83
|
-
}), {
|
|
84
|
-
default: q(({ data: l }) => {
|
|
85
|
-
var n;
|
|
86
|
-
return [
|
|
87
|
-
i.value ? U("", !0) : (d(), I(v, {
|
|
88
|
-
key: 0,
|
|
89
|
-
description: (n = a(k)) == null ? void 0 : n.emptyText,
|
|
90
|
-
class: "full-width full-height nopadding nomargin"
|
|
91
|
-
}, null, 8, ["description"])),
|
|
92
|
-
t.value ? z((d(), j("div", A, null, 512)), [
|
|
93
|
-
[g, t.value]
|
|
94
|
-
]) : U("", !0),
|
|
95
|
-
(d(), j("iframe", L({
|
|
96
|
-
ref_key: "fieldEditor",
|
|
97
|
-
ref: w,
|
|
98
|
-
key: `${a($)}_${i.value}`
|
|
99
|
-
}, H(a(m), !0), {
|
|
100
|
-
onLoad: N,
|
|
101
|
-
src: i.value,
|
|
102
|
-
class: [[...l.injectClass, E.value], "nopadding nomargin hlIframe"],
|
|
103
|
-
frameborder: 0,
|
|
104
|
-
style: l.injectStyle,
|
|
105
|
-
id: a(x)
|
|
106
|
-
}), null, 16, ee))
|
|
107
|
-
];
|
|
108
|
-
}),
|
|
109
|
-
_: 1
|
|
110
|
-
}, 16, ["prop-options"]);
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
const We = /* @__PURE__ */ Y(re, [["__scopeId", "data-v-bc4cf8a6"]]);
|
|
115
|
-
export {
|
|
116
|
-
We as default
|
|
117
|
-
};
|