hlrender 0.0.301 → 0.0.303
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-8b160eff.js → _pdf-ab53c386.js} +1 -1
- package/{_txt-f40ce403.js → _txt-ded1c3d3.js} +1 -1
- package/{affix-widget-f1f7c334.js → affix-widget-90a2ac36.js} +9 -9
- package/{alert-widget-dafd0736.js → alert-widget-d5027aec.js} +9 -9
- package/{anchor-widget-efc7f60b.js → anchor-widget-28c209e7.js} +6 -6
- package/{auto-complete-widget-fc55aeda.js → auto-complete-widget-3eb52e24.js} +8 -8
- package/{avatar-widget-4f1c9799.js → avatar-widget-e1c65f44.js} +9 -9
- package/{backtop-widget-fd54382e.js → backtop-widget-e215ee0d.js} +9 -9
- package/{badge-widget-fa7934d1.js → badge-widget-20ed34d6.js} +9 -9
- package/{barcode-widget-bd46e6ca.js → barcode-widget-76d0d856.js} +6 -6
- package/{baseCommonField-1576469d.js → baseCommonField-2d510d41.js} +87 -87
- package/{breadcrumb-widget-1e767dfe.js → breadcrumb-widget-ff5328c0.js} +6 -6
- package/{button-widget-219a516b.js → button-widget-e6c6f04c.js} +9 -9
- package/{cache-widget-886af07e.js → cache-widget-ba5c6eaa.js} +7 -7
- package/{card-widget-f784807f.js → card-widget-db857756.js} +7 -7
- package/{carousel-widget-b45a4c3a.js → carousel-widget-2157cc88.js} +7 -7
- package/{cascader-widget-0ad522fd.js → cascader-widget-3672c794.js} +7 -7
- package/{chart-widget-2c310d33.js → chart-widget-ae41f575.js} +6 -6
- package/{checkbox-widget-2c8cd56b.js → checkbox-widget-9ed6421a.js} +7 -7
- package/{collapse-widget-2e84684b.js → collapse-widget-791d5b04.js} +7 -7
- package/{color-picker-widget-8c360bd8.js → color-picker-widget-81c99d4d.js} +7 -7
- package/{cont-cell-widget-7a694eb0.js → cont-cell-widget-47146f51.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-0f7341e7.js} +4 -4
- package/{cont-widget-4e372062.js → cont-widget-6b9ed1f6.js} +4 -4
- package/{content-wrapper-969b957e.js → content-wrapper-5faa21b8.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-689164d8.js → content-wrapper.vue_vue_type_script_setup_true_lang-ee899514.js} +1 -1
- package/{countdown-widget-72309b28.js → countdown-widget-78f558d4.js} +9 -9
- package/{cssClass-cafeebc1.js → cssClass-a8cc4cb6.js} +1 -1
- package/{date-picker-range-widget-51f37d60.js → date-picker-range-widget-5b6004e0.js} +7 -7
- package/{date-picker-widget-6f138419.js → date-picker-widget-1e25c941.js} +7 -7
- package/{default-slot-widget-6d8e57e2.js → default-slot-widget-89e7a464.js} +7 -7
- 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-43a2d0e8.js} +4 -4
- package/{descriptions-widget-b71f5705.js → descriptions-widget-3291f0c4.js} +7 -7
- package/{dialog-widget-61a9ddeb.js → dialog-widget-f1d8bb74.js} +8 -8
- package/{divider-widget-2f195eb8.js → divider-widget-3a5e6e17.js} +9 -9
- package/{drag-wrapper-cf97651b.js → drag-wrapper-9dd8466e.js} +4 -4
- package/{drawer-widget-2737f26d.js → drawer-widget-de002ab4.js} +8 -8
- package/{dropdown-widget-260308ac.js → dropdown-widget-590f8c81.js} +7 -7
- package/{empty-widget-c8970a55.js → empty-widget-1ceb93aa.js} +9 -9
- package/{feedback-widget-4167c2a9.js → feedback-widget-4472e7f7.js} +8 -8
- 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-5d310069.js} +4 -4
- package/{file-upload-widget-b32ee3d1.js → file-upload-widget-13f6f77f.js} +11 -11
- package/{form-item-wrapper-0e8696a9.js → form-item-wrapper-dbd6b5e1.js} +3 -3
- package/form-widget-7a1985c9.js +280 -0
- package/{globalProvideInject-d7642328.js → globalProvideInject-9661e3d4.js} +1 -1
- package/{grid-col-widget-8d4b7168.js → grid-col-widget-b1b9cdc5.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-d52db70d.js} +4 -4
- package/{grid-widget-dac18949.js → grid-widget-e769708c.js} +4 -4
- package/{hcard-widget-c0f56251.js → hcard-widget-2293e0cb.js} +7 -7
- package/{html-text-widget-fb156b68.js → html-text-widget-11a1526e.js} +7 -7
- package/{icon-widget-16132d4d.js → icon-widget-ab7cb290.js} +6 -6
- package/{iframe-widget-359b32ab.js → iframe-widget-18af460a.js} +6 -6
- package/{image-widget-7886b246.js → image-widget-f1e6355e.js} +6 -6
- package/{input-number-widget-6b5ad705.js → input-number-widget-53633406.js} +7 -7
- package/{input-tag-widget-048651cb.js → input-tag-widget-0602a3e3.js} +8 -8
- package/{input-widget-9018b554.js → input-widget-c8bae683.js} +8 -8
- package/{link-widget-830eab00.js → link-widget-d036141f.js} +9 -9
- package/{ltable-col-widget-91d3adb5.js → ltable-col-widget-80d8fe46.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-aea25f08.js} +6 -6
- package/{ltable-widget-9742db38.js → ltable-widget-c92e85fa.js} +4 -4
- package/{mention-widget-d95f4853.js → mention-widget-bbf1a8ea.js} +8 -8
- package/{menu-widget-22dd7147.js → menu-widget-30ce2f9a.js} +7 -7
- package/{model-widget-58e2dcfe.js → model-widget-1a43498b.js} +6 -6
- package/{multirow-9367073f.js → multirow-0fc5f343.js} +80 -80
- package/{multirow-widget-23d8fe65.js → multirow-widget-a8cb91bf.js} +7 -7
- package/package.json +1 -1
- package/{pagination-widget-462f89ed.js → pagination-widget-88dd46aa.js} +6 -6
- package/{picture-upload-widget-d00e1f75.js → picture-upload-widget-382b043f.js} +8 -8
- package/{progress-widget-edf2c5f5.js → progress-widget-507d122e.js} +7 -7
- package/{qrcode-widget-63e62477.js → qrcode-widget-8f311c5f.js} +6 -6
- package/{radio-widget-9afdc4da.js → radio-widget-c5982356.js} +7 -7
- package/{range-widget-2f7aaf21.js → range-widget-45c8ef85.js} +8 -8
- package/{rate-widget-9626709a.js → rate-widget-7097bfce.js} +7 -7
- package/render.es.js +25 -25
- package/render.style.css +1 -1
- package/render.umd.js +167 -167
- package/{result-widget-3fbc819c.js → result-widget-e7fa9a2a.js} +7 -7
- package/{rich-editor-widget-ea50e6d4.js → rich-editor-widget-16ac7f02.js} +7 -7
- package/{router-widget-04cef16a.js → router-widget-af2201b3.js} +6 -6
- package/{segmented-widget-c93ab0eb.js → segmented-widget-c6a8e2e1.js} +6 -6
- package/{select-widget-4b3c1c88.js → select-widget-f5d2a0fe.js} +7 -7
- package/{sfc-55fda8b7.js → sfc-fc88007c.js} +3 -3
- package/{sfcview-36ffb71a.js → sfcview-62e49d95.js} +2 -2
- package/share-field-6e46a867.js +844 -0
- package/{share-file-4414c163.js → share-file-77e40498.js} +2 -2
- package/{skeleton-widget-a6982db9.js → skeleton-widget-952c8c46.js} +9 -9
- package/{skeletonItem-widget-682c51c4.js → skeletonItem-widget-8046f0e4.js} +6 -6
- package/{slider-widget-831746be.js → slider-widget-3c5ba4e4.js} +7 -7
- package/{slot-ac364a94.js → slot-ded79710.js} +1 -1
- package/{space-widget-8ebdf633.js → space-widget-22d49dec.js} +7 -7
- package/{splitter-widget-2cfb1d05.js → splitter-widget-57cd8e9a.js} +7 -7
- package/{static-text-widget-c0108a84.js → static-text-widget-7cfd34ae.js} +7 -7
- package/{statistic-widget-08de645a.js → statistic-widget-142d400d.js} +9 -9
- package/{steps-widget-99347f03.js → steps-widget-fddfc363.js} +6 -6
- package/{subMenu-widget-e12ca03b.js → subMenu-widget-ff427185.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-570cfc6e.js → subMenu-widget.vue_vue_type_script_setup_true_lang-d38e587d.js} +1 -1
- package/{switch-widget-224711c3.js → switch-widget-5cfcf827.js} +7 -7
- package/{tab-pane-widget-e956cafc.js → tab-pane-widget-1e501adc.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-7b997bcf.js} +4 -4
- package/{table-col-widget-a29f251c.js → table-col-widget-11c43be3.js} +6 -6
- 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-c279d855.js} +34 -34
- package/{table-widget-1609d9a1.js → table-widget-15958cbe.js} +116 -112
- package/{tabs-widget-875921c3.js → tabs-widget-4323776f.js} +5 -5
- package/{tag-widget-70647c39.js → tag-widget-be32096d.js} +9 -9
- package/{text-widget-899b644d.js → text-widget-ee9e57e2.js} +9 -9
- package/{textarea-widget-100a3642.js → textarea-widget-e3ae2a63.js} +7 -7
- package/{time-picker-range-widget-8d2da050.js → time-picker-range-widget-a0a1ebce.js} +7 -7
- package/{time-picker-widget-b541e3dd.js → time-picker-widget-983c7b8e.js} +7 -7
- package/{time-select-widget-6b8e4115.js → time-select-widget-7ea8c5b9.js} +7 -7
- package/{timeline-widget-c240c187.js → timeline-widget-e0d3b465.js} +7 -7
- package/{tmpl-widget-280909f6.js → tmpl-widget-60f125b0.js} +7 -7
- package/{tooltip-widget-d77c2230.js → tooltip-widget-63ca2c21.js} +7 -7
- package/{tour-widget-99cfeabc.js → tour-widget-e7ca5ce6.js} +6 -6
- package/{transfer-widget-5d716c88.js → transfer-widget-a8ee42bb.js} +8 -8
- package/{tree-select-widget-4d9e0970.js → tree-select-widget-8332163f.js} +7 -7
- package/{tree-widget-921f1b7e.js → tree-widget-e0a9878f.js} +6 -6
- package/{verifycode-widget-41007731.js → verifycode-widget-b27e9e2c.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js} +2 -2
- package/{wrapper-widget-48055b9f.js → wrapper-widget-24369b59.js} +5 -5
- package/form-widget-e078a28d.js +0 -281
- package/share-field-2a80093b.js +0 -851
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as x, isRef as C, toHandlers as F } from "vue";
|
|
2
2
|
import { e as O } from "./index-5d5e7eda.js";
|
|
3
|
-
import { a as V } from "./share-field-
|
|
3
|
+
import { a as V } from "./share-field-6e46a867.js";
|
|
4
4
|
import { I as v } from "./field-base-66c90648.js";
|
|
5
|
-
import z from "./form-item-wrapper-
|
|
5
|
+
import z from "./form-item-wrapper-dbd6b5e1.js";
|
|
6
6
|
import { w as I } from "./expression-153fa22a.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseCommonField-
|
|
7
|
+
import "./multirow-0fc5f343.js";
|
|
8
|
+
import "./baseCommonField-2d510d41.js";
|
|
9
9
|
import "./icon-8f3b4dab.js";
|
|
10
10
|
import "./baseDataType-af503f9f.js";
|
|
11
11
|
import "axios";
|
|
@@ -13,10 +13,10 @@ import "./dialog-43787088.js";
|
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-1013bfdd.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./globalProvideInject-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
17
|
+
import "./slot-ded79710.js";
|
|
18
18
|
import "./widget-base-df734ada.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
20
20
|
import "./index-452c3bf8.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-fd67714d.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as N, ref as A, computed as ee, onMounted as oe, watch as re, resolveComponent as B, openBlock as n, createBlock as f, mergeProps as p, unref as l, withCtx as u, toHandlers as te, createElementBlock as i, Fragment as m, renderList as k, createSlots as T, createVNode as g } from "vue";
|
|
2
2
|
import { u as se, r as ne } from "./icon-8f3b4dab.js";
|
|
3
3
|
import { I as pe } from "./field-base-66c90648.js";
|
|
4
|
-
import { _ as ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { a as le } from "./share-field-
|
|
4
|
+
import { _ as ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
5
|
+
import { a as le } from "./share-field-6e46a867.js";
|
|
6
6
|
import { g as E, w as ce } from "./expression-153fa22a.js";
|
|
7
|
-
import { D as _ } from "./drag-wrapper-
|
|
8
|
-
import { r as de } from "./globalProvideInject-
|
|
9
|
-
import { P as O, W as ue, h as fe } from "./baseCommonField-
|
|
7
|
+
import { D as _ } from "./drag-wrapper-9dd8466e.js";
|
|
8
|
+
import { r as de } from "./globalProvideInject-9661e3d4.js";
|
|
9
|
+
import { P as O, W as ue, h as fe } from "./baseCommonField-2d510d41.js";
|
|
10
10
|
import "./index-5d5e7eda.js";
|
|
11
11
|
import "./baseDataType-af503f9f.js";
|
|
12
12
|
import "./widget-base-df734ada.js";
|
|
13
13
|
import "./index-452c3bf8.js";
|
|
14
14
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
import "./fieldobj-fd67714d.js";
|
|
16
|
-
import "./multirow-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./multirow-0fc5f343.js";
|
|
17
|
+
import "./slot-ded79710.js";
|
|
18
18
|
import "./uuid-1013bfdd.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as R, computed as w, inject as T, ref as z, onMounted as A, resolveDirective as E, openBlock as r, createBlock as d, mergeProps as g, unref as t, withCtx as J, createElementBlock as n, Fragment as h, withDirectives as q, renderList as G, toDisplayString as H } from "vue";
|
|
2
2
|
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
|
-
import { a as X } from "./share-field-
|
|
5
|
-
import { _ as Y } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { D } from "./drag-wrapper-
|
|
7
|
-
import { i as Z, d as ee } from "./slot-
|
|
8
|
-
import { c as te } from "./multirow-
|
|
4
|
+
import { a as X } from "./share-field-6e46a867.js";
|
|
5
|
+
import { _ as Y } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
6
|
+
import { D } from "./drag-wrapper-9dd8466e.js";
|
|
7
|
+
import { i as Z, d as ee } from "./slot-ded79710.js";
|
|
8
|
+
import { c as te } from "./multirow-0fc5f343.js";
|
|
9
9
|
import { d as oe, g as ae } from "./expression-153fa22a.js";
|
|
10
10
|
import { l as re } from "./loading-4a13a1bc.js";
|
|
11
11
|
import { _ as ie } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
12
|
import "./icon-8f3b4dab.js";
|
|
13
13
|
import "./baseDataType-af503f9f.js";
|
|
14
|
-
import "./baseCommonField-
|
|
14
|
+
import "./baseCommonField-2d510d41.js";
|
|
15
15
|
import "axios";
|
|
16
16
|
import "./dialog-43787088.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "./uuid-1013bfdd.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./globalProvideInject-
|
|
20
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
21
21
|
import "./index-452c3bf8.js";
|
|
22
22
|
import "./fieldobj-fd67714d.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
4
|
-
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as c } from "./drag-wrapper-9dd8466e.js";
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
5
5
|
import { w as R } from "./expression-153fa22a.js";
|
|
6
|
-
import { a as U } from "./share-field-
|
|
7
|
-
import { g as b } from "./slot-
|
|
6
|
+
import { a as U } from "./share-field-6e46a867.js";
|
|
7
|
+
import { g as b } from "./slot-ded79710.js";
|
|
8
8
|
import { i as S } from "./index-5d5e7eda.js";
|
|
9
|
-
import "./baseCommonField-
|
|
9
|
+
import "./baseCommonField-2d510d41.js";
|
|
10
10
|
import "./icon-8f3b4dab.js";
|
|
11
11
|
import "./baseDataType-af503f9f.js";
|
|
12
12
|
import "axios";
|
|
@@ -14,13 +14,13 @@ import "./dialog-43787088.js";
|
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./uuid-1013bfdd.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./globalProvideInject-
|
|
17
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./index-452c3bf8.js";
|
|
20
20
|
import "./fieldobj-fd67714d.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
|
-
import "./multirow-
|
|
23
|
+
import "./multirow-0fc5f343.js";
|
|
24
24
|
const q = { key: 0 }, G = h({ componentName: R.ContainerWidget }), ye = /* @__PURE__ */ h({
|
|
25
25
|
...G,
|
|
26
26
|
__name: "tooltip-widget",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as B, computed as w, resolveComponent as I, openBlock as l, createBlock as c, mergeProps as V, unref as n, withCtx as p, createElementBlock as y, Fragment as O, createVNode as S, renderList as x, createTextVNode as Y, toDisplayString as _, createElementVNode as C, isRef as Z, toHandlers as tt, resolveDynamicComponent as T } from "vue";
|
|
2
2
|
import { I as ot } from "./field-base-66c90648.js";
|
|
3
|
-
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { a as nt } from "./share-field-
|
|
3
|
+
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
4
|
+
import { a as nt } from "./share-field-6e46a867.js";
|
|
5
5
|
import { w as rt } from "./expression-153fa22a.js";
|
|
6
|
-
import { b as st, v as lt, k as at } from "./baseCommonField-
|
|
6
|
+
import { b as st, v as lt, k as at } from "./baseCommonField-2d510d41.js";
|
|
7
7
|
import { u as ct, a4 as v, ao as h } from "./icon-8f3b4dab.js";
|
|
8
|
-
import { d as pt } from "./slot-
|
|
8
|
+
import { d as pt } from "./slot-ded79710.js";
|
|
9
9
|
import { e as b } from "./index-5d5e7eda.js";
|
|
10
10
|
import { t as ut } from "./index-31e1760d.js";
|
|
11
11
|
import "./widget-base-df734ada.js";
|
|
12
|
-
import "./globalProvideInject-
|
|
12
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
13
13
|
import "./baseDataType-af503f9f.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./index-452c3bf8.js";
|
|
16
16
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
17
|
import "./fieldobj-fd67714d.js";
|
|
18
|
-
import "./multirow-
|
|
18
|
+
import "./multirow-0fc5f343.js";
|
|
19
19
|
import "./uuid-1013bfdd.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as c, computed as O, resolveComponent as S, openBlock as m, createBlock as a, mergeProps as l, unref as r, withCtx as f, isRef as x, toHandlers as z, createSlots as A, renderList as I, resolveDynamicComponent as W, createCommentVNode as u } from "vue";
|
|
2
2
|
import { e as h } from "./index-5d5e7eda.js";
|
|
3
3
|
import { I as B } from "./field-base-66c90648.js";
|
|
4
|
-
import { a as E } from "./share-field-
|
|
5
|
-
import { g as L } from "./slot-
|
|
6
|
-
import P from "./form-item-wrapper-
|
|
4
|
+
import { a as E } from "./share-field-6e46a867.js";
|
|
5
|
+
import { g as L } from "./slot-ded79710.js";
|
|
6
|
+
import P from "./form-item-wrapper-dbd6b5e1.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-9dd8466e.js";
|
|
9
9
|
import "./widget-base-df734ada.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseCommonField-
|
|
10
|
+
import "./multirow-0fc5f343.js";
|
|
11
|
+
import "./baseCommonField-2d510d41.js";
|
|
12
12
|
import "./icon-8f3b4dab.js";
|
|
13
13
|
import "./baseDataType-af503f9f.js";
|
|
14
14
|
import "axios";
|
|
@@ -16,8 +16,8 @@ import "./dialog-43787088.js";
|
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "./uuid-1013bfdd.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./globalProvideInject-
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
21
21
|
import "./index-452c3bf8.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
23
|
import "./fieldobj-fd67714d.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as D, computed as a, resolveComponent as te, openBlock as s, createBlock as p, mergeProps as b, unref as l, withCtx as d, toHandlers as W, createSlots as A, resolveDynamicComponent as n, createCommentVNode as C } from "vue";
|
|
2
2
|
import { s as f, t as B } from "./index-5d5e7eda.js";
|
|
3
3
|
import { I as oe } from "./field-base-66c90648.js";
|
|
4
|
-
import { a as le } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
4
|
+
import { a as le } from "./share-field-6e46a867.js";
|
|
5
|
+
import re from "./form-item-wrapper-dbd6b5e1.js";
|
|
6
6
|
import { g as v, w as ae } from "./expression-153fa22a.js";
|
|
7
7
|
import "./widget-base-df734ada.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseCommonField-
|
|
8
|
+
import "./multirow-0fc5f343.js";
|
|
9
|
+
import "./baseCommonField-2d510d41.js";
|
|
10
10
|
import "./icon-8f3b4dab.js";
|
|
11
11
|
import "./baseDataType-af503f9f.js";
|
|
12
12
|
import "axios";
|
|
@@ -14,9 +14,9 @@ import "./dialog-43787088.js";
|
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./uuid-1013bfdd.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./globalProvideInject-
|
|
18
|
-
import "./slot-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
17
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
18
|
+
import "./slot-ded79710.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
20
20
|
import "./index-452c3bf8.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-fd67714d.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as h, computed as l, resolveComponent as $, openBlock as m, createBlock as f, mergeProps as P, unref as p, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as b } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-66c90648.js";
|
|
3
|
-
import { a as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { a as U } from "./share-field-6e46a867.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
5
5
|
import { g as a, w as G } from "./expression-153fa22a.js";
|
|
6
6
|
import { s as n } from "./index-5d5e7eda.js";
|
|
7
7
|
import "./widget-base-df734ada.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseCommonField-
|
|
8
|
+
import "./multirow-0fc5f343.js";
|
|
9
|
+
import "./baseCommonField-2d510d41.js";
|
|
10
10
|
import "./icon-8f3b4dab.js";
|
|
11
11
|
import "./baseDataType-af503f9f.js";
|
|
12
12
|
import "axios";
|
|
@@ -14,8 +14,8 @@ import "./dialog-43787088.js";
|
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./uuid-1013bfdd.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./globalProvideInject-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
18
|
+
import "./slot-ded79710.js";
|
|
19
19
|
import "./index-452c3bf8.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-fd67714d.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as w, createElementBlock as S, createElementVNode as x, computed as C, nextTick as H, createBlock as P, mergeProps as b, unref as u, withCtx as W, createVNode as I } from "vue";
|
|
2
2
|
import { A as V, w as z } from "./expression-153fa22a.js";
|
|
3
3
|
import { I as T } from "./field-base-66c90648.js";
|
|
4
|
-
import { a as B } from "./share-field-
|
|
5
|
-
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { a as B } from "./share-field-6e46a867.js";
|
|
5
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
6
6
|
import { _ as A } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
8
|
import "./index-5d5e7eda.js";
|
|
@@ -11,14 +11,14 @@ import "./_commonjsHelpers-e7ea1525.js";
|
|
|
11
11
|
import "./baseDataType-af503f9f.js";
|
|
12
12
|
import "./esprima-e8d15055.js";
|
|
13
13
|
import "./widget-base-df734ada.js";
|
|
14
|
-
import "./multirow-
|
|
15
|
-
import "./baseCommonField-
|
|
14
|
+
import "./multirow-0fc5f343.js";
|
|
15
|
+
import "./baseCommonField-2d510d41.js";
|
|
16
16
|
import "./icon-8f3b4dab.js";
|
|
17
17
|
import "axios";
|
|
18
18
|
import "./dialog-43787088.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./globalProvideInject-
|
|
21
|
-
import "./slot-
|
|
20
|
+
import "./globalProvideInject-9661e3d4.js";
|
|
21
|
+
import "./slot-ded79710.js";
|
|
22
22
|
import "./index-452c3bf8.js";
|
|
23
23
|
import "./fieldobj-fd67714d.js";
|
|
24
24
|
const F = { class: "s-canvas" }, L = ["width", "height"], R = /* @__PURE__ */ g({
|
|
@@ -2,9 +2,9 @@ import { defineComponent as se, resolveComponent as J, openBlock as d, createEle
|
|
|
2
2
|
import { g, A as ie } from "./expression-153fa22a.js";
|
|
3
3
|
import { e as v, x as fe, c as me } from "./index-5d5e7eda.js";
|
|
4
4
|
import { I as ge, a as ve } from "./widget-base-df734ada.js";
|
|
5
|
-
import { u as le, F as ye, S as we } from "./globalProvideInject-
|
|
5
|
+
import { u as le, F as ye, S as we } from "./globalProvideInject-9661e3d4.js";
|
|
6
6
|
import { S as m } from "./index-452c3bf8.js";
|
|
7
|
-
import { $ as he, W as Q, B as ce } from "./baseCommonField-
|
|
7
|
+
import { $ as he, W as Q, B as ce } from "./baseCommonField-2d510d41.js";
|
|
8
8
|
import { u as We } from "./fieldobj-fd67714d.js";
|
|
9
9
|
const Ce = { key: 0 }, ke = { class: "clWhite" }, Le = { class: "clWhite" }, $e = ["title"], be = ["title"], Se = ["title"], Ie = ["title"], Te = /* @__PURE__ */ se({
|
|
10
10
|
__name: "drag-handler",
|
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
4
|
-
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as F } from "./drag-wrapper-9dd8466e.js";
|
|
4
|
+
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0c096335.js";
|
|
5
5
|
import { w as k } from "./expression-153fa22a.js";
|
|
6
6
|
import { W as C } from "./icon-8f3b4dab.js";
|
|
7
|
-
import { a as A, u as B } from "./share-field-
|
|
8
|
-
import { c as I } from "./cssClass-
|
|
9
|
-
import { F as N } from "./globalProvideInject-
|
|
7
|
+
import { a as A, u as B } from "./share-field-6e46a867.js";
|
|
8
|
+
import { c as I } from "./cssClass-a8cc4cb6.js";
|
|
9
|
+
import { F as N } from "./globalProvideInject-9661e3d4.js";
|
|
10
10
|
function $(n) {
|
|
11
11
|
const d = v({}), { componentWrapperClass: m, customClass: r } = I({ widget: n.widget }), { exposed: t, attrs: l, extendAttrs: f, fieldKey: u, fieldObj: _ } = A(n), { setAllRefList: p } = B(d.value), o = (s = !1) => {
|
|
12
12
|
var e;
|
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
|
-
};
|