hlrender 0.0.262 → 0.0.264
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-185bef08.js → _pdf-53f323d8.js} +1 -1
- package/{_txt-bb11a894.js → _txt-8dd54186.js} +1 -1
- package/{affix-widget-5d943017.js → affix-widget-64193e44.js} +9 -9
- package/{alert-widget-17d8a51a.js → alert-widget-0a71f258.js} +9 -9
- package/{anchor-widget-2ab7330e.js → anchor-widget-cbf6020c.js} +6 -6
- package/{auto-complete-widget-13f432d9.js → auto-complete-widget-ae369727.js} +8 -8
- package/{avatar-widget-19c27430.js → avatar-widget-bcb2403a.js} +9 -9
- package/{backtop-widget-42710e81.js → backtop-widget-633ad611.js} +9 -9
- package/{badge-widget-a445ddd4.js → badge-widget-cb7783f9.js} +9 -9
- package/{barcode-widget-d81622dd.js → barcode-widget-f817c703.js} +6 -6
- package/{baseImp-955d59e1.js → baseImp-6db2777a.js} +50 -50
- package/{breadcrumb-widget-06cce229.js → breadcrumb-widget-0f26e681.js} +6 -6
- package/{button-widget-f04ce774.js → button-widget-b2c4ed26.js} +9 -9
- package/{cache-widget-7c95ee97.js → cache-widget-148b08d8.js} +7 -7
- package/{card-widget-34ec8145.js → card-widget-315b1c6b.js} +7 -7
- package/{carousel-widget-051fd13a.js → carousel-widget-1daa226f.js} +7 -7
- package/{cascader-widget-a00cb9fd.js → cascader-widget-df43ff26.js} +7 -7
- package/{chart-widget-19bc1667.js → chart-widget-98f7d49d.js} +6 -6
- package/{checkbox-widget-ca66d982.js → checkbox-widget-79d53772.js} +7 -7
- package/{collapse-widget-86f8a736.js → collapse-widget-0fc03e3d.js} +7 -7
- package/{color-picker-widget-5dae4777.js → color-picker-widget-668ae923.js} +7 -7
- package/{cont-cell-widget-5a692c37.js → cont-cell-widget-b3b52647.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a6714ee5.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a058b485.js} +4 -4
- package/{cont-widget-fe819ce3.js → cont-widget-a3f94260.js} +4 -4
- package/{content-wrapper-789bdae7.js → content-wrapper-b56a46e7.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-18c00212.js → content-wrapper.vue_vue_type_script_setup_true_lang-3a943df9.js} +1 -1
- package/{countdown-widget-b2fb118c.js → countdown-widget-62e2ee66.js} +9 -9
- package/{date-picker-range-widget-805d81ea.js → date-picker-range-widget-0e2f7ecc.js} +7 -7
- package/{date-picker-widget-1fe00793.js → date-picker-widget-c505f74e.js} +7 -7
- package/{default-slot-widget-a4574e0d.js → default-slot-widget-1443477f.js} +7 -7
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-40f1ccb0.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-44e3fe5c.js} +4 -4
- package/{descriptions-widget-5cfc8ec1.js → descriptions-widget-bba538b0.js} +7 -7
- package/{dialog-widget-69f081af.js → dialog-widget-f3d2d4b6.js} +8 -8
- package/{divider-widget-609dbf52.js → divider-widget-687b3a3c.js} +9 -9
- package/{drag-wrapper-c9ca3f79.js → drag-wrapper-95ab9521.js} +4 -4
- package/{drawer-widget-3b842c8e.js → drawer-widget-9ca4c393.js} +8 -8
- package/{dropdown-widget-015cd2b8.js → dropdown-widget-0271dbba.js} +7 -7
- package/{empty-widget-e81872c9.js → empty-widget-4597b8f7.js} +9 -9
- package/{feedback-widget-0e921d49.js → feedback-widget-245ae3d4.js} +8 -8
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-177aff4b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e8c87cc1.js} +4 -4
- package/{file-upload-widget-98aab6d1.js → file-upload-widget-a5b29fd2.js} +11 -11
- package/{form-item-wrapper-78a5a475.js → form-item-wrapper-06aa50d6.js} +3 -3
- package/form-widget-7437aa73.js +245 -0
- package/{grid-col-widget-a551b061.js → grid-col-widget-e764d394.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5fa18cdf.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-68732f14.js} +4 -4
- package/{grid-widget-405bb40a.js → grid-widget-f6fb5b35.js} +4 -4
- package/{hcard-widget-0a434530.js → hcard-widget-d5401e3e.js} +7 -7
- package/{html-text-widget-3b0d328d.js → html-text-widget-62883398.js} +7 -7
- package/{icon-widget-a0fdb32c.js → icon-widget-4c4414fe.js} +6 -6
- package/{iframe-widget-38ec65d8.js → iframe-widget-9de480ab.js} +6 -6
- package/{image-widget-0c1ec985.js → image-widget-fa5753ca.js} +6 -6
- package/{index-e4735294.js → index-05dbc46a.js} +1 -1
- package/{input-number-widget-965e10f1.js → input-number-widget-bca298c2.js} +7 -7
- package/{input-tag-widget-1ae72cbb.js → input-tag-widget-8e966673.js} +8 -8
- package/{input-widget-89e3d8d9.js → input-widget-cec5e657.js} +8 -8
- package/{link-widget-f249c573.js → link-widget-d85cea98.js} +9 -9
- package/{ltable-col-widget-89d1e4ce.js → ltable-col-widget-1ce7395b.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b40b1062.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0e63b3a0.js} +6 -6
- package/{ltable-widget-dcbad0ec.js → ltable-widget-d463eb47.js} +4 -4
- package/{mention-widget-89f7f9e9.js → mention-widget-27e5b3cc.js} +8 -8
- package/{menu-widget-1ca4caee.js → menu-widget-55ec1e9b.js} +7 -7
- package/{model-widget-0f6a337f.js → model-widget-92b81a39.js} +6 -6
- package/{multirow-1a787997.js → multirow-6961e7eb.js} +3 -3
- package/{multirow-widget-7bedb333.js → multirow-widget-7932c8e1.js} +7 -7
- package/package.json +1 -1
- package/{pagination-widget-7584b5df.js → pagination-widget-a5cfc9d7.js} +6 -6
- package/{picture-upload-widget-9ef46fe5.js → picture-upload-widget-44c3634a.js} +8 -8
- package/{progress-widget-01f16ab1.js → progress-widget-d40bc8d0.js} +7 -7
- package/{qrcode-widget-9b63e38b.js → qrcode-widget-c98ece73.js} +6 -6
- package/{radio-widget-75399484.js → radio-widget-e4930621.js} +7 -7
- package/{range-widget-7f3ee5b2.js → range-widget-f77bebe7.js} +8 -8
- package/{rate-widget-afd3d0b9.js → rate-widget-224ad05a.js} +7 -7
- package/render.es.js +24 -24
- package/render.style.css +1 -1
- package/render.umd.js +66 -66
- package/{result-widget-da975c05.js → result-widget-c6ab822a.js} +7 -7
- package/{rich-editor-widget-4a5f1c9b.js → rich-editor-widget-b1fb5393.js} +7 -7
- package/{router-widget-71654bc0.js → router-widget-0584971d.js} +6 -6
- package/{segmented-widget-d1fb5d30.js → segmented-widget-fbccc285.js} +6 -6
- package/{select-widget-d37794c7.js → select-widget-a16d5109.js} +7 -7
- package/{sfc-9b48164a.js → sfc-3b208ccf.js} +3 -3
- package/{sfcview-39127d32.js → sfcview-7f01efdc.js} +2 -2
- package/{share-field-2da1362d.js → share-field-e3c76a9f.js} +4 -4
- package/{share-file-0093e8e0.js → share-file-b0e2e07d.js} +2 -2
- package/{skeleton-widget-462ee79d.js → skeleton-widget-cf96a344.js} +9 -9
- package/{skeletonItem-widget-1a551453.js → skeletonItem-widget-345f3a98.js} +6 -6
- package/{slider-widget-9888ab41.js → slider-widget-a2a0470e.js} +7 -7
- package/{slot-b7b38779.js → slot-ed907ca1.js} +1 -1
- package/{space-widget-9e602281.js → space-widget-e85c66af.js} +7 -7
- package/{splitter-widget-18b99298.js → splitter-widget-4eb21440.js} +7 -7
- package/{static-text-widget-850d0034.js → static-text-widget-1b4bc9b3.js} +7 -7
- package/{statistic-widget-4e20c9a8.js → statistic-widget-2b466879.js} +9 -9
- package/{steps-widget-f687418e.js → steps-widget-9fce6f0b.js} +6 -6
- package/{subMenu-widget-164ecb33.js → subMenu-widget-70f587c3.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-34b60fea.js → subMenu-widget.vue_vue_type_script_setup_true_lang-f1a74719.js} +1 -1
- package/{switch-widget-fa954f98.js → switch-widget-5e85aad7.js} +7 -7
- package/{tab-pane-widget-5db034a7.js → tab-pane-widget-db95ce12.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5e51ab2b.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-661f253a.js} +4 -4
- package/{table-col-widget-b85c5381.js → table-col-widget-8053849a.js} +6 -6
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8cf955e5.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1d787749.js} +4 -4
- package/{table-widget-3f93e504.js → table-widget-b068e0ac.js} +8 -8
- package/{tabs-widget-9d690baf.js → tabs-widget-151e1b09.js} +5 -5
- package/{tag-widget-4e631ffd.js → tag-widget-da5e70ab.js} +9 -9
- package/{text-widget-269dbdf6.js → text-widget-01c63214.js} +9 -9
- package/{textarea-widget-951ffc12.js → textarea-widget-2020e504.js} +7 -7
- package/{time-picker-range-widget-1795ce6b.js → time-picker-range-widget-19defa2a.js} +7 -7
- package/{time-picker-widget-de35dfe1.js → time-picker-widget-a1f40db7.js} +7 -7
- package/{time-select-widget-0bac0648.js → time-select-widget-3d328239.js} +7 -7
- package/{timeline-widget-542fdec4.js → timeline-widget-5ab73c01.js} +7 -7
- package/{tmpl-widget-41fa26e3.js → tmpl-widget-a6217cac.js} +7 -7
- package/{tooltip-widget-e980e0b0.js → tooltip-widget-552b24b9.js} +7 -7
- package/{tour-widget-8b2904f6.js → tour-widget-a3c5f836.js} +6 -6
- package/{transfer-widget-cd905740.js → transfer-widget-c7adb3ca.js} +8 -8
- package/{tree-select-widget-1da47163.js → tree-select-widget-4f3ac237.js} +7 -7
- package/{tree-widget-ac413163.js → tree-widget-110a48a1.js} +6 -6
- package/{verifycode-widget-d47edb4c.js → verifycode-widget-6687795f.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js} +2 -2
- package/{wrapper-widget-b0e50893.js → wrapper-widget-d9f225ac.js} +4 -4
- package/form-widget-c0eddf6d.js +0 -254
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as f, createBlock as _, mergeProps as c, unref as r } from "vue";
|
|
2
2
|
import { I as u } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ as g } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as g } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-44e3fe5c.js";
|
|
4
4
|
import { w as v } from "./expression-d3cb34e4.js";
|
|
5
|
-
import { b as x } from "./share-field-
|
|
5
|
+
import { b as x } from "./share-field-e3c76a9f.js";
|
|
6
6
|
import "./widget-base-8eece820.js";
|
|
7
7
|
import "./enum-type-3a8fb8c6.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
9
|
+
import "./index-05dbc46a.js";
|
|
10
10
|
import "./uuid-1df422c5.js";
|
|
11
11
|
import "./enum-type-73ded6bf.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-6db2777a.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-29f50f22.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-c6e4d97d.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-bd74f957.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-ed907ca1.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-3a943df9.js";
|
|
22
|
+
import "./drag-wrapper-95ab9521.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-6961e7eb.js";
|
|
26
26
|
const E = e({ componentName: v.FieldWidget }), Q = /* @__PURE__ */ e({
|
|
27
27
|
...E,
|
|
28
28
|
__name: "divider-widget",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as B, defineComponent as W, useCssVars as q, unref as p, computed as O, watch as U, onMounted as G, openBlock as a, createBlock as f, resolveDynamicComponent as S, mergeProps as c, withCtx as m, renderSlot as h, resolveComponent as T, createVNode as M, createElementBlock as y, toDisplayString as I, createCommentVNode as P, Fragment as N, Suspense as z, renderList as $ } from "vue";
|
|
2
2
|
import { e as J, R as K, s as Q, g as A } from "./enum-type-3a8fb8c6.js";
|
|
3
|
-
import { B as D } from "./baseImp-
|
|
3
|
+
import { B as D } from "./baseImp-6db2777a.js";
|
|
4
4
|
import { I as E } from "./widget-base-8eece820.js";
|
|
5
|
-
import { a as X } from "./index-
|
|
6
|
-
import { c as Y, p as Z, a as x, F as L } from "./slot-
|
|
5
|
+
import { a as X } from "./index-05dbc46a.js";
|
|
6
|
+
import { c as Y, p as Z, a as x, F as L } from "./slot-ed907ca1.js";
|
|
7
7
|
import { b as _ } from "./expression-d3cb34e4.js";
|
|
8
8
|
import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const R = (e, s) => {
|
|
@@ -16,7 +16,7 @@ function ee() {
|
|
|
16
16
|
let e = /* @__PURE__ */ new Map();
|
|
17
17
|
const s = (t) => {
|
|
18
18
|
var n = D.getWidgetName(t), w = null;
|
|
19
|
-
return n && (D.isContainer(t) ? w = B(() => R(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-
|
|
19
|
+
return n && (D.isContainer(t) ? w = B(() => R(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-b3b52647.js").then((o) => o._), "./container-widget/cont-widget.vue": () => import("./cont-widget-a3f94260.js").then((o) => o._), "./container-widget/form-widget.vue": () => import("./form-widget-7437aa73.js").then((o) => o._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-e764d394.js").then((o) => o._), "./container-widget/grid-widget.vue": () => import("./grid-widget-f6fb5b35.js").then((o) => o._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-1ce7395b.js").then((o) => o._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-d463eb47.js").then((o) => o._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-db95ce12.js").then((o) => o._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-151e1b09.js").then((o) => o._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-d9f225ac.js").then((o) => o._) }), `./container-widget/${n}.vue`)) : w = B(() => R(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-64193e44.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-0a71f258.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-dae98704.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-cbf6020c.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-ae369727.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-bcb2403a.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-633ad611.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-cb7783f9.js"), "./field-widget/barcode-widget.vue": () => import("./barcode-widget-f817c703.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-0f26e681.js"), "./field-widget/button-widget.vue": () => import("./button-widget-b2c4ed26.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-148b08d8.js"), "./field-widget/card-widget.vue": () => import("./card-widget-315b1c6b.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-1daa226f.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-df43ff26.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-98f7d49d.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-79d53772.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-0fc03e3d.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-668ae923.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-b56a46e7.js"), "./field-widget/countdown-widget.vue": () => import("./countdown-widget-62e2ee66.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-0e2f7ecc.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-c505f74e.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-1443477f.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-bba538b0.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-f3d2d4b6.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-687b3a3c.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-9ca4c393.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-0271dbba.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-4597b8f7.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-245ae3d4.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-a5b29fd2.js"), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-06aa50d6.js"), "./field-widget/hcard-widget.vue": () => import("./hcard-widget-d5401e3e.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-62883398.js"), "./field-widget/icon-widget.vue": () => import("./icon-widget-4c4414fe.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-9de480ab.js"), "./field-widget/image-widget.vue": () => import("./image-widget-fa5753ca.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-bca298c2.js"), "./field-widget/input-tag-widget.vue": () => import("./input-tag-widget-8e966673.js"), "./field-widget/input-widget.vue": () => import("./input-widget-cec5e657.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-5477cc21.js"), "./field-widget/link-widget.vue": () => import("./link-widget-d85cea98.js"), "./field-widget/mention-widget.vue": () => import("./mention-widget-27e5b3cc.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-55ec1e9b.js"), "./field-widget/model-widget.vue": () => import("./model-widget-92b81a39.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-7932c8e1.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-a5cfc9d7.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-44c3634a.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-d40bc8d0.js"), "./field-widget/qrcode-widget.vue": () => import("./qrcode-widget-c98ece73.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-e4930621.js"), "./field-widget/range-widget.vue": () => import("./range-widget-f77bebe7.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-224ad05a.js"), "./field-widget/result-widget.vue": () => import("./result-widget-c6ab822a.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-b1fb5393.js"), "./field-widget/router-widget.vue": () => import("./router-widget-0584971d.js"), "./field-widget/segmented-widget.vue": () => import("./segmented-widget-fbccc285.js"), "./field-widget/select-widget.vue": () => import("./select-widget-a16d5109.js"), "./field-widget/skeleton-widget.vue": () => import("./skeleton-widget-cf96a344.js"), "./field-widget/skeletonItem-widget.vue": () => import("./skeletonItem-widget-345f3a98.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-a2a0470e.js"), "./field-widget/space-widget.vue": () => import("./space-widget-e85c66af.js"), "./field-widget/splitter-widget.vue": () => import("./splitter-widget-4eb21440.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-1b4bc9b3.js"), "./field-widget/statistic-widget.vue": () => import("./statistic-widget-2b466879.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-9fce6f0b.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-70f587c3.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-5e85aad7.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-8053849a.js"), "./field-widget/table-widget.vue": () => import("./table-widget-b068e0ac.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-da5e70ab.js"), "./field-widget/text-widget.vue": () => import("./text-widget-01c63214.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-2020e504.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-19defa2a.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-a1f40db7.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-3d328239.js"), "./field-widget/timeline-widget.vue": () => import("./timeline-widget-5ab73c01.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-a6217cac.js"), "./field-widget/tooltip-widget.vue": () => import("./tooltip-widget-552b24b9.js"), "./field-widget/tour-widget.vue": () => import("./tour-widget-a3c5f836.js"), "./field-widget/transfer-widget.vue": () => import("./transfer-widget-c7adb3ca.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-4f3ac237.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-110a48a1.js"), "./field-widget/verifycode-widget.vue": () => import("./verifycode-widget-6687795f.js"), "./field-widget/vertical-progress-widget.vue": () => import("./vertical-progress-widget-c44812e6.js") }), `./field-widget/${n}.vue`))), w;
|
|
20
20
|
};
|
|
21
21
|
return { components: (t) => {
|
|
22
22
|
var n = D.getWidgetName(t);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as p, createBlock as t, mergeProps as m } from "vue";
|
|
2
|
-
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
2
|
+
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e8c87cc1.js";
|
|
3
3
|
import { I as e } from "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-95ab9521.js";
|
|
5
5
|
import "./enum-type-3a8fb8c6.js";
|
|
6
|
-
import "./baseImp-
|
|
6
|
+
import "./baseImp-6db2777a.js";
|
|
7
7
|
import "./enum-type-73ded6bf.js";
|
|
8
8
|
import "./expression-d3cb34e4.js";
|
|
9
9
|
import "./source-map-b04aec4a.js";
|
|
@@ -13,14 +13,14 @@ import "./esprima-e8d15055.js";
|
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-29f50f22.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-05dbc46a.js";
|
|
17
|
+
import "./slot-ed907ca1.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.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-115add99.js";
|
|
20
20
|
import "./index-c6e4d97d.js";
|
|
21
21
|
import "./fieldobj-bd74f957.js";
|
|
22
|
-
import "./share-field-
|
|
23
|
-
import "./multirow-
|
|
22
|
+
import "./share-field-e3c76a9f.js";
|
|
23
|
+
import "./multirow-6961e7eb.js";
|
|
24
24
|
const y = /* @__PURE__ */ o({
|
|
25
25
|
__name: "drawer-widget",
|
|
26
26
|
props: { ...e },
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as w, computed as B, resolveComponent as m, openBlock as r, createBlock as p, mergeProps as s, unref as e, withCtx as n, toHandlers as D, createSlots as H, createVNode as L, createElementBlock as u, Fragment as _, renderList as f, createElementVNode as g, createTextVNode as T, toDisplayString as W } from "vue";
|
|
2
2
|
import { e as $ } from "./enum-type-3a8fb8c6.js";
|
|
3
3
|
import { I as A } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as P } from "./share-field-
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
5
|
+
import { b as P } from "./share-field-e3c76a9f.js";
|
|
6
6
|
import { w as I } from "./expression-d3cb34e4.js";
|
|
7
|
-
import { b as K } from "./baseImp-
|
|
8
|
-
import { g as q } from "./slot-
|
|
9
|
-
import { D as G } from "./drag-wrapper-
|
|
7
|
+
import { b as K } from "./baseImp-6db2777a.js";
|
|
8
|
+
import { g as q } from "./slot-ed907ca1.js";
|
|
9
|
+
import { D as G } from "./drag-wrapper-95ab9521.js";
|
|
10
10
|
import "./widget-base-8eece820.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-05dbc46a.js";
|
|
12
12
|
import "./uuid-1df422c5.js";
|
|
13
13
|
import "./enum-type-73ded6bf.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -16,7 +16,7 @@ import "./index-c6e4d97d.js";
|
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
18
|
import "./fieldobj-bd74f957.js";
|
|
19
|
-
import "./multirow-
|
|
19
|
+
import "./multirow-6961e7eb.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
22
|
import "./dialog-29f50f22.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { _ } 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-44e3fe5c.js";
|
|
4
4
|
import { w as c } from "./expression-d3cb34e4.js";
|
|
5
|
-
import { b as u } from "./share-field-
|
|
5
|
+
import { b as u } from "./share-field-e3c76a9f.js";
|
|
6
6
|
import "./widget-base-8eece820.js";
|
|
7
7
|
import "./enum-type-3a8fb8c6.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./index-
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
9
|
+
import "./index-05dbc46a.js";
|
|
10
10
|
import "./uuid-1df422c5.js";
|
|
11
11
|
import "./enum-type-73ded6bf.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-6db2777a.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-29f50f22.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-c6e4d97d.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-bd74f957.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-ed907ca1.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-3a943df9.js";
|
|
22
|
+
import "./drag-wrapper-95ab9521.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-6961e7eb.js";
|
|
26
26
|
const g = t({ componentName: c.FieldWidget }), K = /* @__PURE__ */ t({
|
|
27
27
|
...g,
|
|
28
28
|
__name: "empty-widget",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e8c87cc1.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-95ab9521.js";
|
|
5
5
|
import "./enum-type-3a8fb8c6.js";
|
|
6
|
-
import "./baseImp-
|
|
6
|
+
import "./baseImp-6db2777a.js";
|
|
7
7
|
import "./enum-type-73ded6bf.js";
|
|
8
8
|
import "./expression-d3cb34e4.js";
|
|
9
9
|
import "./source-map-b04aec4a.js";
|
|
@@ -13,14 +13,14 @@ import "./esprima-e8d15055.js";
|
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-29f50f22.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-05dbc46a.js";
|
|
17
|
+
import "./slot-ed907ca1.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.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-115add99.js";
|
|
20
20
|
import "./index-c6e4d97d.js";
|
|
21
21
|
import "./fieldobj-bd74f957.js";
|
|
22
|
-
import "./share-field-
|
|
23
|
-
import "./multirow-
|
|
22
|
+
import "./share-field-e3c76a9f.js";
|
|
23
|
+
import "./multirow-6961e7eb.js";
|
|
24
24
|
export {
|
|
25
25
|
o as default
|
|
26
26
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as h, ref as P, inject as A, openBlock as a, createBlock as t, mergeProps as p, unref as d, withCtx as V, createElementBlock as i, Fragment as u, renderList as O, resolveDynamicComponent as m, createCommentVNode as f, createVNode as k, isRef as E, toHandlers as H, createSlots as K, createTextVNode as M, toDisplayString as T } from "vue";
|
|
2
2
|
import { I as U } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as s } from "./drag-wrapper-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as s } from "./drag-wrapper-95ab9521.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
5
5
|
import { d as G, w as J } from "./expression-d3cb34e4.js";
|
|
6
|
-
import { b as Q } from "./share-field-
|
|
7
|
-
import { g as $ } from "./slot-
|
|
6
|
+
import { b as Q } from "./share-field-e3c76a9f.js";
|
|
7
|
+
import { g as $ } from "./slot-ed907ca1.js";
|
|
8
8
|
import { i as X } from "./enum-type-3a8fb8c6.js";
|
|
9
9
|
const Y = {
|
|
10
10
|
key: 0,
|
|
@@ -2,26 +2,26 @@ import { defineComponent as B, shallowRef as pe, onMounted as me, openBlock as l
|
|
|
2
2
|
import { e as u } from "./enum-type-3a8fb8c6.js";
|
|
3
3
|
import { u as ge } from "./uuid-1df422c5.js";
|
|
4
4
|
import { I as ke } from "./field-base-1acf3ada.js";
|
|
5
|
-
import { u as ve } from "./share-file-
|
|
5
|
+
import { u as ve } from "./share-file-b0e2e07d.js";
|
|
6
6
|
import { f as b, w as fe } from "./expression-d3cb34e4.js";
|
|
7
|
-
import we from "./form-item-wrapper-
|
|
8
|
-
import { g as Ce } from "./slot-
|
|
9
|
-
import { D as be } from "./drag-wrapper-
|
|
7
|
+
import we from "./form-item-wrapper-06aa50d6.js";
|
|
8
|
+
import { g as Ce } from "./slot-ed907ca1.js";
|
|
9
|
+
import { D as be } from "./drag-wrapper-95ab9521.js";
|
|
10
10
|
import { UploadFilled as De, Plus as $e, Document as Te, Download as te, CircleCheck as le, Close as oe } from "./index-6bcfdc22.js";
|
|
11
11
|
import { L as ae } from "./enum-type-73ded6bf.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
13
|
import "./widget-base-8eece820.js";
|
|
14
|
-
import "./share-field-
|
|
15
|
-
import "./multirow-
|
|
16
|
-
import "./baseImp-
|
|
14
|
+
import "./share-field-e3c76a9f.js";
|
|
15
|
+
import "./multirow-6961e7eb.js";
|
|
16
|
+
import "./baseImp-6db2777a.js";
|
|
17
17
|
import "./icon-1fc5d00d.js";
|
|
18
18
|
import "./dialog-29f50f22.js";
|
|
19
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-05dbc46a.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
24
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
25
25
|
import "./index-c6e4d97d.js";
|
|
26
26
|
import "./fieldobj-bd74f957.js";
|
|
27
27
|
import "./label-wrapper.vue_vue_type_style_index_0_lang-36370611.js";
|
|
@@ -38,11 +38,11 @@ const Ue = {
|
|
|
38
38
|
var x, f, y, h, U;
|
|
39
39
|
switch ((x = $.file) == null ? void 0 : x.type) {
|
|
40
40
|
case "application/pdf": {
|
|
41
|
-
m.value = V(() => import("./_pdf-
|
|
41
|
+
m.value = V(() => import("./_pdf-53f323d8.js"));
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
case "text/plain": {
|
|
45
|
-
m.value = V(() => import("./_txt-
|
|
45
|
+
m.value = V(() => import("./_txt-8dd54186.js"));
|
|
46
46
|
break;
|
|
47
47
|
}
|
|
48
48
|
default: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as z, computed as i, resolveComponent as F, openBlock as t, createBlock as c, normalizeProps as g, guardReactiveProps as h, withCtx as p, mergeProps as n, createSlots as S, renderSlot as d, createVNode as _, createElementBlock as q, normalizeClass as C, createElementVNode as b, normalizeStyle as H } from "vue";
|
|
2
2
|
import { I as N } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ as O } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { _ as O } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
4
4
|
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-36370611.js";
|
|
5
5
|
import { u as w } from "./fieldobj-bd74f957.js";
|
|
6
6
|
import { _ as x } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
8
|
import "./enum-type-3a8fb8c6.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-05dbc46a.js";
|
|
10
10
|
import "./uuid-1df422c5.js";
|
|
11
11
|
import "./enum-type-73ded6bf.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-6db2777a.js";
|
|
13
13
|
import "./expression-d3cb34e4.js";
|
|
14
14
|
import "./source-map-b04aec4a.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { ref as I, reactive as J, onMounted as me, nextTick as Ne, defineComponent as ve, computed as le, resolveComponent as je, resolveDirective as ye, openBlock as ie, createBlock as de, mergeProps as Q, unref as h, withCtx as re, withDirectives as Me, toHandlers as Re, withModifiers as Ae, createVNode as Pe } from "vue";
|
|
2
|
+
import { I as $e } from "./widget-base-8eece820.js";
|
|
3
|
+
import { D as ke } from "./drag-wrapper-95ab9521.js";
|
|
4
|
+
import { _ as Ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
5
|
+
import { w as Y, a as se, b as k, f as V, i as Be } from "./expression-d3cb34e4.js";
|
|
6
|
+
import { u as qe } from "./icon-1fc5d00d.js";
|
|
7
|
+
import { u as He, a as Te } from "./multirow-6961e7eb.js";
|
|
8
|
+
import { b as ze, G as X, M as fe, e as Ge, d as ce, N as ue, O as Ke, A as Ue, g as Je } from "./enum-type-3a8fb8c6.js";
|
|
9
|
+
import { $ as Qe, B as Xe } from "./baseImp-6db2777a.js";
|
|
10
|
+
import { f as Ye } from "./index-05dbc46a.js";
|
|
11
|
+
import { b as Ze, a as et, u as tt } from "./share-field-e3c76a9f.js";
|
|
12
|
+
import { W as ot } from "./enum-type-73ded6bf.js";
|
|
13
|
+
import { F as at } from "./slot-ed907ca1.js";
|
|
14
|
+
import { _ as nt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function lt(s) {
|
|
16
|
+
const x = s.widget, v = s.designer, F = v == null ? void 0 : v.pageConfig, w = s == null ? void 0 : s.widgetList, E = I({}), N = {}, { fieldModel: B, fieldName: q, fieldEditor: f, attrs: j, events: _, hasFieldOptions: y, exposed: D, fieldObj: H, watchOption: L, propResultOpt: S, extendAttrs: C } = Ze(s), { off$: n, on$: c, emit$: T, broadcast: M } = Te();
|
|
17
|
+
var { instance: W } = qe();
|
|
18
|
+
const { setAllRefList: R } = et(E.value), O = { designState: s == null ? void 0 : s.designState, pageConfig: F, globalConfig: S == null ? void 0 : S.globalConfig }, { formModel: A, setData: pe, getData: P, clearData: Z } = He(w, { ...O }), { handleFunc: z } = tt({ options: F }, O), G = J({}), ge = () => {
|
|
19
|
+
n(V.fieldChange), c(V.fieldChange, (e) => {
|
|
20
|
+
De(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), D == null || D.setValue(A), Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, he = () => {
|
|
23
|
+
n(V.fieldValidation), c(V.fieldValidation, (e) => {
|
|
24
|
+
var t;
|
|
25
|
+
(t = f.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
+
});
|
|
27
|
+
}, _e = () => {
|
|
28
|
+
n(V.fieldRuleChange), c(V.fieldRuleChange, (e) => {
|
|
29
|
+
var o;
|
|
30
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((a) => ({
|
|
31
|
+
required: a.required,
|
|
32
|
+
message: a.message,
|
|
33
|
+
trigger: a.trigger,
|
|
34
|
+
validator: a.validator
|
|
35
|
+
}));
|
|
36
|
+
Object.assign(G, { [e == null ? void 0 : e.fieldName]: t }), j.value.rules = G;
|
|
37
|
+
});
|
|
38
|
+
}, Ce = I(!0), K = I(!1), U = J({}), $ = J({}), ee = (e) => {
|
|
39
|
+
fe($), ce($, e);
|
|
40
|
+
}, be = () => ({
|
|
41
|
+
change_info: X(U),
|
|
42
|
+
before_info: X($),
|
|
43
|
+
after_info: X(A),
|
|
44
|
+
flag: K.value
|
|
45
|
+
}), Fe = (e, t, o) => {
|
|
46
|
+
var a = $[e];
|
|
47
|
+
ue(t, o) || ue(t, a) || (K.value = !0, e && ce(U, { [e]: { oldValue: a, newValue: t, beforeValue: o } }));
|
|
48
|
+
}, we = () => {
|
|
49
|
+
K.value = !1, fe(U), ee(P());
|
|
50
|
+
}, De = (e, t, o) => {
|
|
51
|
+
z(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: A });
|
|
52
|
+
}, Le = () => {
|
|
53
|
+
z(_.value.formCreated);
|
|
54
|
+
}, Ve = () => {
|
|
55
|
+
z(_.value.formMounted);
|
|
56
|
+
}, Se = () => {
|
|
57
|
+
_e(), ge(), he(), Le();
|
|
58
|
+
}, We = (e) => {
|
|
59
|
+
var t;
|
|
60
|
+
(t = f.value) == null || t.clearValidate(e);
|
|
61
|
+
}, Oe = () => {
|
|
62
|
+
R(ot.resetField), Ne(() => {
|
|
63
|
+
We();
|
|
64
|
+
});
|
|
65
|
+
}, te = (e, t) => {
|
|
66
|
+
let o = [];
|
|
67
|
+
for (let u in e) {
|
|
68
|
+
var a = e[u], d = a == null ? void 0 : a.filter((r) => (r == null ? void 0 : r.force) === t);
|
|
69
|
+
d == null || d.forEach((r) => {
|
|
70
|
+
var l;
|
|
71
|
+
const m = (l = r == null ? void 0 : r.rule) == null ? void 0 : l.label;
|
|
72
|
+
r.message && o.push(Be(m ? "【" + m + "】" : "", r.message, ":"));
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return Ke(o);
|
|
76
|
+
}, xe = (e, t) => {
|
|
77
|
+
var o = {};
|
|
78
|
+
return Ye(t, (a) => {
|
|
79
|
+
var d = Xe.getName(a), u = Ue(e, d);
|
|
80
|
+
return u && (o[d] = e[d]), u;
|
|
81
|
+
}, !1), o;
|
|
82
|
+
}, Ee = (e = !0) => {
|
|
83
|
+
var d, u, r;
|
|
84
|
+
let t = P(), o = function() {
|
|
85
|
+
}, a = new Promise(function(m, l) {
|
|
86
|
+
o = function(p, i) {
|
|
87
|
+
(i ? l : m)({ data: p, isSuccess: !i, message: i });
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
return !((d = f.value) != null && d.validate) || !e ? (o(t), a) : ((r = (u = f.value) == null ? void 0 : u.validate) == null || r.call(u, (m, l) => {
|
|
91
|
+
if (m)
|
|
92
|
+
o(t);
|
|
93
|
+
else {
|
|
94
|
+
var p = te(l, !0);
|
|
95
|
+
if (p && p.length > 0) {
|
|
96
|
+
o(t, p);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
var i = te(l, !1);
|
|
100
|
+
if (i && i.length > 0) {
|
|
101
|
+
i.push(Ge.i18nt("designer.hint.continue")), Qe.multiple(i).then((g) => {
|
|
102
|
+
o(t);
|
|
103
|
+
});
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}), a);
|
|
108
|
+
}, oe = (e, t = !0) => {
|
|
109
|
+
if (!x)
|
|
110
|
+
return;
|
|
111
|
+
var o = xe(e, [x]);
|
|
112
|
+
pe(o, t);
|
|
113
|
+
const a = ["refList", "widgetRefList"];
|
|
114
|
+
M(Y.ContainerWidget, se.setFormData, e, W, a), M(Y.FieldWidget, se.setFormData, e, W, a);
|
|
115
|
+
}, ae = (e) => new Promise((t, o) => {
|
|
116
|
+
const a = (l, p) => {
|
|
117
|
+
var g, b, ne;
|
|
118
|
+
let i = (g = C.value) != null && g.formDataLoaded ? (ne = (b = C.value) == null ? void 0 : b.formDataLoaded) == null ? void 0 : ne.call(b, P(), l) : l;
|
|
119
|
+
Je(i) ? oe(i, !p) : i = {}, ee(i), Ce.value = !1, t(i);
|
|
120
|
+
}, d = () => {
|
|
121
|
+
L(e, k.newDataSource, void 0, (l, p) => {
|
|
122
|
+
a(l, !0);
|
|
123
|
+
});
|
|
124
|
+
}, u = () => {
|
|
125
|
+
L(e, k.editDataSource, void 0, (l, p) => {
|
|
126
|
+
var g, b;
|
|
127
|
+
if (((b = (g = C.value) == null ? void 0 : g.needFormAdd) == null ? void 0 : b.call(g, l)) && m) {
|
|
128
|
+
d();
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
a(l, !1);
|
|
132
|
+
});
|
|
133
|
+
}, r = y(k.editDataSource), m = y(k.newDataSource);
|
|
134
|
+
r ? u() : m && d();
|
|
135
|
+
});
|
|
136
|
+
return Se(), me(() => {
|
|
137
|
+
ze(), Ve();
|
|
138
|
+
}), {
|
|
139
|
+
widgetRefList: E,
|
|
140
|
+
allWidgetRefList: N,
|
|
141
|
+
fieldEditor: f,
|
|
142
|
+
formModel: A,
|
|
143
|
+
pageConfig: F,
|
|
144
|
+
widgetList: w,
|
|
145
|
+
fieldModel: B,
|
|
146
|
+
fieldName: q,
|
|
147
|
+
attrs: j,
|
|
148
|
+
extendAttrs: C,
|
|
149
|
+
events: _,
|
|
150
|
+
rules: G,
|
|
151
|
+
loadData: ae,
|
|
152
|
+
clearData: Z,
|
|
153
|
+
exposed: {
|
|
154
|
+
...D,
|
|
155
|
+
setValue: oe,
|
|
156
|
+
getValue: Ee,
|
|
157
|
+
resetField: Oe,
|
|
158
|
+
clearData: Z,
|
|
159
|
+
loadData: ae,
|
|
160
|
+
getData: P,
|
|
161
|
+
//修改痕迹
|
|
162
|
+
clearChangeRecord: we,
|
|
163
|
+
getChangeRecord: be,
|
|
164
|
+
emit$: T
|
|
165
|
+
},
|
|
166
|
+
fieldObj: H
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
const it = ve({ componentName: Y.ContainerWidget }), dt = /* @__PURE__ */ ve({
|
|
170
|
+
...it,
|
|
171
|
+
__name: "form-widget",
|
|
172
|
+
props: { ...$e },
|
|
173
|
+
setup(s, { expose: x }) {
|
|
174
|
+
var C;
|
|
175
|
+
const v = s, { exposed: F, formModel: w, fieldEditor: E, attrs: N, events: B, widgetRefList: q, extendAttrs: f, fieldName: j, fieldObj: _, loadData: y } = lt({ ...v, widgetList: (C = v == null ? void 0 : v.widget) == null ? void 0 : C.widgetList }), D = j.value, H = le(() => {
|
|
176
|
+
var n, c;
|
|
177
|
+
return {
|
|
178
|
+
disabled: (n = N.value) == null ? void 0 : n.disabled,
|
|
179
|
+
readonly: (c = f.value) == null ? void 0 : c.readonly
|
|
180
|
+
};
|
|
181
|
+
}), L = I(!1), S = le(() => {
|
|
182
|
+
var n;
|
|
183
|
+
return L.value || ((n = f.value) == null ? void 0 : n.showLoading);
|
|
184
|
+
});
|
|
185
|
+
return at.globalProvide({
|
|
186
|
+
globalFormName: D,
|
|
187
|
+
globalDataModel: w,
|
|
188
|
+
globalFormOptions: H
|
|
189
|
+
}), me(() => {
|
|
190
|
+
var n;
|
|
191
|
+
(n = f.value) != null && n.loadDataWhenInit && !v.designState && (L.value = !0, y(!0).then((c) => {
|
|
192
|
+
}).catch((c) => {
|
|
193
|
+
}).finally(() => {
|
|
194
|
+
L.value = !1, F.clearChangeRecord();
|
|
195
|
+
}));
|
|
196
|
+
}), x({ ...F }), (n, c) => {
|
|
197
|
+
const T = je("el-form"), M = ye("loading");
|
|
198
|
+
return ie(), de(Ie, Q(n.$props, {
|
|
199
|
+
"prop-options": { fieldObj: h(_) }
|
|
200
|
+
}), {
|
|
201
|
+
default: re(({ data: W }) => {
|
|
202
|
+
var R;
|
|
203
|
+
return [
|
|
204
|
+
Me((ie(), de(T, Q({
|
|
205
|
+
ref_key: "fieldEditor",
|
|
206
|
+
ref: E,
|
|
207
|
+
model: h(w)
|
|
208
|
+
}, h(N), Re(h(B)), {
|
|
209
|
+
class: W.injectClass,
|
|
210
|
+
key: (R = h(_)) == null ? void 0 : R.fieldKey,
|
|
211
|
+
"element-loading-text": h(f).loadingText,
|
|
212
|
+
onSubmit: c[0] || (c[0] = Ae(() => {
|
|
213
|
+
}, ["prevent"]))
|
|
214
|
+
}), {
|
|
215
|
+
default: re(() => {
|
|
216
|
+
var O;
|
|
217
|
+
return [
|
|
218
|
+
Pe(ke, Q(n.$props, {
|
|
219
|
+
dragClass: "formDrag padSize",
|
|
220
|
+
model: h(w),
|
|
221
|
+
provideModel: !0,
|
|
222
|
+
"component-class": W.componentWrapperClass,
|
|
223
|
+
refList: h(q),
|
|
224
|
+
"show-suspense": (O = h(f)) == null ? void 0 : O.showSuspense
|
|
225
|
+
}), null, 16, ["model", "component-class", "refList", "show-suspense"])
|
|
226
|
+
];
|
|
227
|
+
}),
|
|
228
|
+
_: 2
|
|
229
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
230
|
+
[M, S.value]
|
|
231
|
+
])
|
|
232
|
+
];
|
|
233
|
+
}),
|
|
234
|
+
_: 1
|
|
235
|
+
}, 16, ["prop-options"]);
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
const rt = /* @__PURE__ */ nt(dt, [["__scopeId", "data-v-2ed0a44d"]]), Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
240
|
+
__proto__: null,
|
|
241
|
+
default: rt
|
|
242
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
243
|
+
export {
|
|
244
|
+
Dt as _
|
|
245
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-68732f14.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as r, withCtx as W, createVNode as x } from "vue";
|
|
2
2
|
import { w as b } from "./expression-d3cb34e4.js";
|
|
3
3
|
import { I as k } from "./widget-base-8eece820.js";
|
|
4
|
-
import { D as A } from "./drag-wrapper-
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as H } from "./share-field-
|
|
7
|
-
import { c as $ } from "./slot-
|
|
4
|
+
import { D as A } from "./drag-wrapper-95ab9521.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
6
|
+
import { b as H } from "./share-field-e3c76a9f.js";
|
|
7
|
+
import { c as $ } from "./slot-ed907ca1.js";
|
|
8
8
|
const z = m({ componentName: b.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
9
|
...z,
|
|
10
10
|
__name: "grid-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as b, renderList as h } from "vue";
|
|
2
2
|
import { b as k, w as y } from "./expression-d3cb34e4.js";
|
|
3
3
|
import { I as C } from "./widget-base-8eece820.js";
|
|
4
|
-
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
5
|
-
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as j } from "./share-field-
|
|
7
|
-
import { c as P } from "./slot-
|
|
4
|
+
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-68732f14.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-115add99.js";
|
|
6
|
+
import { b as j } from "./share-field-e3c76a9f.js";
|
|
7
|
+
import { c as P } from "./slot-ed907ca1.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|