hlrender 0.0.253 → 0.0.255
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-cb2a31ab.js → _pdf-d291aae2.js} +1 -1
- package/{_txt-391e502f.js → _txt-7657453f.js} +1 -1
- package/{affix-widget-801f1e6e.js → affix-widget-23bfc53b.js} +9 -9
- package/{alert-widget-4588cc67.js → alert-widget-fad4b564.js} +9 -9
- package/{anchor-widget-2f3844c5.js → anchor-widget-45dd0bac.js} +6 -6
- package/{auto-complete-widget-6e3ac296.js → auto-complete-widget-74af90de.js} +8 -8
- package/{avatar-widget-dac65de3.js → avatar-widget-8623d072.js} +9 -9
- package/{backtop-widget-478af202.js → backtop-widget-3ef476f0.js} +9 -9
- package/badge-widget-9947fff5.js +58 -0
- package/{barcode-widget-cc9e4745.js → barcode-widget-35d0111c.js} +6 -6
- package/{baseImp-9c1c3476.js → baseImp-f71ca2b7.js} +187 -187
- package/{breadcrumb-widget-c050052c.js → breadcrumb-widget-60608271.js} +6 -6
- package/{button-widget-1ed2fe85.js → button-widget-6962c1d5.js} +9 -9
- package/{cache-widget-00b75387.js → cache-widget-a6d4f70c.js} +7 -7
- package/{card-widget-30b5fee8.js → card-widget-1f2374d0.js} +7 -7
- package/{carousel-widget-4d50276b.js → carousel-widget-7c0bf816.js} +7 -7
- package/{cascader-widget-9a987436.js → cascader-widget-93b516a0.js} +7 -7
- package/{chart-widget-a50176b7.js → chart-widget-9abcd3e2.js} +6 -6
- package/{checkbox-widget-692ff86b.js → checkbox-widget-e53c8322.js} +7 -7
- package/{collapse-widget-5c8328a6.js → collapse-widget-3f8e411c.js} +7 -7
- package/{color-picker-widget-8aea5afb.js → color-picker-widget-21d016b1.js} +7 -7
- package/{cont-cell-widget-6e9891d2.js → cont-cell-widget-45b4e7de.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2341fc00.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-32ce002c.js} +4 -4
- package/{cont-widget-862530b6.js → cont-widget-cacaf93a.js} +4 -4
- package/{content-wrapper-8467d706.js → content-wrapper-b581cd70.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js → content-wrapper.vue_vue_type_script_setup_true_lang-dd9e5d22.js} +1 -1
- package/{countdown-widget-b541cdd6.js → countdown-widget-c67cc67b.js} +9 -9
- package/{date-picker-range-widget-dd08d5d8.js → date-picker-range-widget-8d25ef9e.js} +7 -7
- package/{date-picker-widget-095e524d.js → date-picker-widget-79ef2ffd.js} +7 -7
- package/{default-slot-widget-dfc8afa7.js → default-slot-widget-1ca3afe3.js} +7 -7
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9b3dc136.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a43d84c7.js} +4 -4
- package/{descriptions-widget-ef082824.js → descriptions-widget-a36ded61.js} +7 -7
- package/{dialog-widget-f12eaec9.js → dialog-widget-24b76297.js} +8 -8
- package/{divider-widget-f3036b05.js → divider-widget-9668ea06.js} +9 -9
- package/{drag-wrapper-cbb10773.js → drag-wrapper-812b595f.js} +4 -4
- package/{drawer-widget-fabdc22e.js → drawer-widget-76ebc7f1.js} +8 -8
- package/{dropdown-widget-1e87f15b.js → dropdown-widget-8924a879.js} +7 -7
- package/{empty-widget-cdd6666d.js → empty-widget-6e58988d.js} +9 -9
- package/{feedback-widget-8df7eced.js → feedback-widget-9eaf201d.js} +8 -8
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-d80dd892.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-2653c867.js} +4 -4
- package/{file-upload-widget-dd8010ba.js → file-upload-widget-7ba61cda.js} +11 -11
- package/{form-item-wrapper-664c4181.js → form-item-wrapper-bd883e23.js} +3 -3
- package/form-widget-7158aa57.js +243 -0
- package/{grid-col-widget-b9d0c390.js → grid-col-widget-b6e356d5.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2fd634d5.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5718347e.js} +4 -4
- package/{grid-widget-55db94b6.js → grid-widget-f0d7bf8f.js} +4 -4
- package/{hcard-widget-cf42674e.js → hcard-widget-e93cc410.js} +7 -7
- package/{html-text-widget-d9186b24.js → html-text-widget-74505343.js} +7 -7
- package/{icon-widget-dd4a50ba.js → icon-widget-abc9f05a.js} +6 -6
- package/iframe-widget-bc0d5ad3.js +112 -0
- package/{image-widget-75818f48.js → image-widget-5186e01b.js} +6 -6
- package/{index-99510eab.js → index-737ac6f6.js} +1 -1
- package/{input-number-widget-cf564a04.js → input-number-widget-ddc2bc38.js} +7 -7
- package/{input-tag-widget-f55f9060.js → input-tag-widget-ab42064d.js} +8 -8
- package/{input-widget-d3e23319.js → input-widget-e107d0f8.js} +8 -8
- package/{link-widget-ba210647.js → link-widget-6ee232dd.js} +9 -9
- package/{ltable-col-widget-b904f3ba.js → ltable-col-widget-7d999157.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8e173c9e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-88429bbb.js} +6 -6
- package/{ltable-widget-3ca7a77a.js → ltable-widget-ec4d7789.js} +4 -4
- package/{mention-widget-4c660b5c.js → mention-widget-93181d05.js} +8 -8
- package/{menu-widget-3f1c7f87.js → menu-widget-330f1976.js} +7 -7
- package/{model-widget-5902f18c.js → model-widget-997e8d4d.js} +6 -6
- package/{multirow-8598f33c.js → multirow-34bf8ec6.js} +3 -3
- package/{multirow-widget-4bc4052f.js → multirow-widget-704157b9.js} +7 -7
- package/package.json +1 -1
- package/{pagination-widget-b34a1194.js → pagination-widget-0f57850d.js} +6 -6
- package/{picture-upload-widget-78384134.js → picture-upload-widget-de7f8e8a.js} +8 -8
- package/progress-widget-fdf413a5.js +117 -0
- package/{qrcode-widget-f9fb2fe5.js → qrcode-widget-76353c3b.js} +6 -6
- package/{radio-widget-5a6c3ce9.js → radio-widget-e07c119f.js} +7 -7
- package/{range-widget-26495861.js → range-widget-135031a0.js} +8 -8
- package/{rate-widget-4a70e7a3.js → rate-widget-9c4c9f3a.js} +7 -7
- package/render.es.js +24 -24
- package/render.style.css +1 -1
- package/render.umd.js +292 -292
- package/{result-widget-89ebc6b6.js → result-widget-5fc03421.js} +7 -7
- package/{rich-editor-widget-df907458.js → rich-editor-widget-cce192d2.js} +7 -7
- package/{router-widget-d52074a8.js → router-widget-bacc571e.js} +6 -6
- package/{segmented-widget-53245a23.js → segmented-widget-2b6b6c7e.js} +6 -6
- package/{select-widget-5766fbe3.js → select-widget-4aa82d02.js} +161 -158
- package/{sfc-7c90544e.js → sfc-42f72973.js} +3 -3
- package/{sfcview-bff1db9b.js → sfcview-f71c64d1.js} +2 -2
- package/{share-field-6b809684.js → share-field-5815821b.js} +342 -337
- package/{share-file-1f280209.js → share-file-ce1a02da.js} +2 -2
- package/{skeleton-widget-2a18fa8e.js → skeleton-widget-227004e9.js} +9 -9
- package/{skeletonItem-widget-c6a49e4c.js → skeletonItem-widget-d5e400cd.js} +6 -6
- package/slider-widget-11d03256.js +61 -0
- package/{slot-44e26cb4.js → slot-66af188a.js} +1 -1
- package/{space-widget-e8b52155.js → space-widget-1cf399ac.js} +7 -7
- package/{splitter-widget-477c74f0.js → splitter-widget-b1faad15.js} +7 -7
- package/{static-text-widget-25c2d045.js → static-text-widget-a0200f6a.js} +7 -7
- package/{statistic-widget-42e89ca1.js → statistic-widget-07904b60.js} +9 -9
- package/{steps-widget-45004417.js → steps-widget-ef1a14ac.js} +6 -6
- package/{subMenu-widget-09b1a1c0.js → subMenu-widget-198c4cb1.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-27267c3d.js → subMenu-widget.vue_vue_type_script_setup_true_lang-dd7b84ca.js} +1 -1
- package/{switch-widget-3c99ceac.js → switch-widget-e159982e.js} +7 -7
- package/{tab-pane-widget-513b833b.js → tab-pane-widget-2a5f7f94.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b5fb88a2.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-93e252cc.js} +4 -4
- package/{table-col-widget-23c57593.js → table-col-widget-20931f8f.js} +6 -6
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-132eeb17.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a22702e9.js} +4 -4
- package/{table-widget-918a02a3.js → table-widget-83a42359.js} +8 -8
- package/{tabs-widget-b503efe7.js → tabs-widget-cb4e0c7d.js} +5 -5
- package/{tag-widget-711c79c9.js → tag-widget-3d5c1763.js} +9 -9
- package/{text-widget-0b4d05a0.js → text-widget-24b00b5b.js} +9 -9
- package/{textarea-widget-5cd72c0c.js → textarea-widget-df7f9a6c.js} +7 -7
- package/{time-picker-range-widget-4ac2ca63.js → time-picker-range-widget-c26c3a62.js} +7 -7
- package/{time-picker-widget-fe953f9e.js → time-picker-widget-1812b146.js} +7 -7
- package/{time-select-widget-814097a0.js → time-select-widget-f905d544.js} +7 -7
- package/{timeline-widget-e8844fba.js → timeline-widget-9c789d26.js} +7 -7
- package/{tmpl-widget-c6f4be17.js → tmpl-widget-42cc0fb5.js} +7 -7
- package/{tooltip-widget-50e78d16.js → tooltip-widget-01eecacf.js} +7 -7
- package/{tour-widget-4a8fc371.js → tour-widget-60ff5429.js} +6 -6
- package/{transfer-widget-044e8ca7.js → transfer-widget-013ba43d.js} +8 -8
- package/{tree-select-widget-50354001.js → tree-select-widget-20b9cbbe.js} +7 -7
- package/{tree-widget-af0452ae.js → tree-widget-b3ec7603.js} +6 -6
- package/{verifycode-widget-7290ae2c.js → verifycode-widget-684811f2.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b0c471a1.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js} +2 -2
- package/{wrapper-widget-fa68e965.js → wrapper-widget-e75bf9ad.js} +4 -4
- package/badge-widget-c9130cd6.js +0 -53
- package/form-widget-5a8b0756.js +0 -236
- package/iframe-widget-7ff2b293.js +0 -113
- package/progress-widget-319ccad1.js +0 -121
- package/slider-widget-28d58aa0.js +0 -61
|
@@ -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-a43d84c7.js";
|
|
4
4
|
import { w as v } from "./expression-fb652f29.js";
|
|
5
|
-
import { b as x } from "./share-field-
|
|
5
|
+
import { b as x } from "./share-field-5815821b.js";
|
|
6
6
|
import "./widget-base-8eece820.js";
|
|
7
7
|
import "./enum-type-8bbffeb3.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-1c7e4003.js";
|
|
9
|
+
import "./index-737ac6f6.js";
|
|
10
10
|
import "./uuid-f2110dfe.js";
|
|
11
11
|
import "./enum-type-80708bd8.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-f71ca2b7.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-eea5b71b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-ae7a8101.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-0f01de3c.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-66af188a.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-dd9e5d22.js";
|
|
22
|
+
import "./drag-wrapper-812b595f.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-34bf8ec6.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 j, defineComponent as W, useCssVars as E, unref as w, computed as A, watch as R, onMounted as V, openBlock as s, createBlock as f, resolveDynamicComponent as L, mergeProps as c, withCtx as u, renderSlot as v, resolveComponent as F, createVNode as H, createElementBlock as C, toDisplayString as O, createCommentVNode as T, Fragment as q, renderList as U } from "vue";
|
|
2
2
|
import { e as _, Q as G, s as Q, g as S } from "./enum-type-8bbffeb3.js";
|
|
3
|
-
import { B as N } from "./baseImp-
|
|
3
|
+
import { B as N } from "./baseImp-f71ca2b7.js";
|
|
4
4
|
import { I } from "./widget-base-8eece820.js";
|
|
5
|
-
import { a as z } from "./index-
|
|
6
|
-
import { c as J, p as K, a as X, F as D } from "./slot-
|
|
5
|
+
import { a as z } from "./index-737ac6f6.js";
|
|
6
|
+
import { c as J, p as K, a as X, F as D } from "./slot-66af188a.js";
|
|
7
7
|
import { b as Y } from "./expression-fb652f29.js";
|
|
8
8
|
import { _ as P } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const B = (t, l) => {
|
|
@@ -16,7 +16,7 @@ function Z() {
|
|
|
16
16
|
let t = /* @__PURE__ */ new Map();
|
|
17
17
|
const l = (e) => {
|
|
18
18
|
var g = N.getWidgetName(e), p = null;
|
|
19
|
-
return g && (N.isContainer(e) ? p = j(() => B(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-
|
|
19
|
+
return g && (N.isContainer(e) ? p = j(() => B(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-45b4e7de.js").then((i) => i._), "./container-widget/cont-widget.vue": () => import("./cont-widget-cacaf93a.js").then((i) => i._), "./container-widget/form-widget.vue": () => import("./form-widget-7158aa57.js").then((i) => i._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-b6e356d5.js").then((i) => i._), "./container-widget/grid-widget.vue": () => import("./grid-widget-f0d7bf8f.js").then((i) => i._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-7d999157.js").then((i) => i._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-ec4d7789.js").then((i) => i._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-2a5f7f94.js").then((i) => i._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-cb4e0c7d.js").then((i) => i._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-e75bf9ad.js").then((i) => i._) }), `./container-widget/${g}.vue`)) : p = j(() => B(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-23bfc53b.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-fad4b564.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-dae98704.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-45dd0bac.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-74af90de.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-8623d072.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-3ef476f0.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-9947fff5.js"), "./field-widget/barcode-widget.vue": () => import("./barcode-widget-35d0111c.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-60608271.js"), "./field-widget/button-widget.vue": () => import("./button-widget-6962c1d5.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-a6d4f70c.js"), "./field-widget/card-widget.vue": () => import("./card-widget-1f2374d0.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-7c0bf816.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-93b516a0.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-9abcd3e2.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-e53c8322.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-3f8e411c.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-21d016b1.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-b581cd70.js"), "./field-widget/countdown-widget.vue": () => import("./countdown-widget-c67cc67b.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-8d25ef9e.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-79ef2ffd.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-1ca3afe3.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-a36ded61.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-24b76297.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-9668ea06.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-76ebc7f1.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-8924a879.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-6e58988d.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-9eaf201d.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-7ba61cda.js"), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-bd883e23.js"), "./field-widget/hcard-widget.vue": () => import("./hcard-widget-e93cc410.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-74505343.js"), "./field-widget/icon-widget.vue": () => import("./icon-widget-abc9f05a.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-bc0d5ad3.js"), "./field-widget/image-widget.vue": () => import("./image-widget-5186e01b.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-ddc2bc38.js"), "./field-widget/input-tag-widget.vue": () => import("./input-tag-widget-ab42064d.js"), "./field-widget/input-widget.vue": () => import("./input-widget-e107d0f8.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-c9720011.js"), "./field-widget/link-widget.vue": () => import("./link-widget-6ee232dd.js"), "./field-widget/mention-widget.vue": () => import("./mention-widget-93181d05.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-330f1976.js"), "./field-widget/model-widget.vue": () => import("./model-widget-997e8d4d.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-704157b9.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-0f57850d.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-de7f8e8a.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-fdf413a5.js"), "./field-widget/qrcode-widget.vue": () => import("./qrcode-widget-76353c3b.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-e07c119f.js"), "./field-widget/range-widget.vue": () => import("./range-widget-135031a0.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-9c4c9f3a.js"), "./field-widget/result-widget.vue": () => import("./result-widget-5fc03421.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-cce192d2.js"), "./field-widget/router-widget.vue": () => import("./router-widget-bacc571e.js"), "./field-widget/segmented-widget.vue": () => import("./segmented-widget-2b6b6c7e.js"), "./field-widget/select-widget.vue": () => import("./select-widget-4aa82d02.js"), "./field-widget/skeleton-widget.vue": () => import("./skeleton-widget-227004e9.js"), "./field-widget/skeletonItem-widget.vue": () => import("./skeletonItem-widget-d5e400cd.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-11d03256.js"), "./field-widget/space-widget.vue": () => import("./space-widget-1cf399ac.js"), "./field-widget/splitter-widget.vue": () => import("./splitter-widget-b1faad15.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-a0200f6a.js"), "./field-widget/statistic-widget.vue": () => import("./statistic-widget-07904b60.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-ef1a14ac.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-198c4cb1.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-e159982e.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-20931f8f.js"), "./field-widget/table-widget.vue": () => import("./table-widget-83a42359.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-3d5c1763.js"), "./field-widget/text-widget.vue": () => import("./text-widget-24b00b5b.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-df7f9a6c.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-c26c3a62.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-1812b146.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-f905d544.js"), "./field-widget/timeline-widget.vue": () => import("./timeline-widget-9c789d26.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-42cc0fb5.js"), "./field-widget/tooltip-widget.vue": () => import("./tooltip-widget-01eecacf.js"), "./field-widget/tour-widget.vue": () => import("./tour-widget-60ff5429.js"), "./field-widget/transfer-widget.vue": () => import("./transfer-widget-013ba43d.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-20b9cbbe.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-b3ec7603.js"), "./field-widget/verifycode-widget.vue": () => import("./verifycode-widget-684811f2.js"), "./field-widget/vertical-progress-widget.vue": () => import("./vertical-progress-widget-c44812e6.js") }), `./field-widget/${g}.vue`))), p;
|
|
20
20
|
};
|
|
21
21
|
return { components: (e) => {
|
|
22
22
|
var g = N.getWidgetName(e);
|
|
@@ -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-2653c867.js";
|
|
3
3
|
import { I as e } from "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-812b595f.js";
|
|
5
5
|
import "./enum-type-8bbffeb3.js";
|
|
6
|
-
import "./baseImp-
|
|
6
|
+
import "./baseImp-f71ca2b7.js";
|
|
7
7
|
import "./enum-type-80708bd8.js";
|
|
8
8
|
import "./expression-fb652f29.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-eea5b71b.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-737ac6f6.js";
|
|
17
|
+
import "./slot-66af188a.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-1c7e4003.js";
|
|
20
20
|
import "./index-ae7a8101.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
22
|
-
import "./share-field-
|
|
23
|
-
import "./multirow-
|
|
22
|
+
import "./share-field-5815821b.js";
|
|
23
|
+
import "./multirow-34bf8ec6.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-8bbffeb3.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-1c7e4003.js";
|
|
5
|
+
import { b as P } from "./share-field-5815821b.js";
|
|
6
6
|
import { w as I } from "./expression-fb652f29.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-f71ca2b7.js";
|
|
8
|
+
import { g as q } from "./slot-66af188a.js";
|
|
9
|
+
import { D as G } from "./drag-wrapper-812b595f.js";
|
|
10
10
|
import "./widget-base-8eece820.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-737ac6f6.js";
|
|
12
12
|
import "./uuid-f2110dfe.js";
|
|
13
13
|
import "./enum-type-80708bd8.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -16,7 +16,7 @@ import "./index-ae7a8101.js";
|
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
18
|
import "./fieldobj-0f01de3c.js";
|
|
19
|
-
import "./multirow-
|
|
19
|
+
import "./multirow-34bf8ec6.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
22
|
import "./dialog-eea5b71b.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-a43d84c7.js";
|
|
4
4
|
import { w as c } from "./expression-fb652f29.js";
|
|
5
|
-
import { b as u } from "./share-field-
|
|
5
|
+
import { b as u } from "./share-field-5815821b.js";
|
|
6
6
|
import "./widget-base-8eece820.js";
|
|
7
7
|
import "./enum-type-8bbffeb3.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-1c7e4003.js";
|
|
9
|
+
import "./index-737ac6f6.js";
|
|
10
10
|
import "./uuid-f2110dfe.js";
|
|
11
11
|
import "./enum-type-80708bd8.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-f71ca2b7.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-eea5b71b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,12 +17,12 @@ import "element-plus";
|
|
|
17
17
|
import "./index-ae7a8101.js";
|
|
18
18
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
19
|
import "./fieldobj-0f01de3c.js";
|
|
20
|
-
import "./slot-
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import "./drag-wrapper-
|
|
20
|
+
import "./slot-66af188a.js";
|
|
21
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-dd9e5d22.js";
|
|
22
|
+
import "./drag-wrapper-812b595f.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-34bf8ec6.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-2653c867.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-812b595f.js";
|
|
5
5
|
import "./enum-type-8bbffeb3.js";
|
|
6
|
-
import "./baseImp-
|
|
6
|
+
import "./baseImp-f71ca2b7.js";
|
|
7
7
|
import "./enum-type-80708bd8.js";
|
|
8
8
|
import "./expression-fb652f29.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-eea5b71b.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-737ac6f6.js";
|
|
17
|
+
import "./slot-66af188a.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-1c7e4003.js";
|
|
20
20
|
import "./index-ae7a8101.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
22
|
-
import "./share-field-
|
|
23
|
-
import "./multirow-
|
|
22
|
+
import "./share-field-5815821b.js";
|
|
23
|
+
import "./multirow-34bf8ec6.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 y, createElementBlock as n, Fragment as g, renderList as O, resolveDynamicComponent as m, createCommentVNode as o, createVNode as c, 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 k } 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 k } from "./drag-wrapper-812b595f.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
5
5
|
import { d as x, w as G } from "./expression-fb652f29.js";
|
|
6
|
-
import { b as J } from "./share-field-
|
|
7
|
-
import { g as $ } from "./slot-
|
|
6
|
+
import { b as J } from "./share-field-5815821b.js";
|
|
7
|
+
import { g as $ } from "./slot-66af188a.js";
|
|
8
8
|
import { i as Q } from "./enum-type-8bbffeb3.js";
|
|
9
9
|
const X = h({ componentName: G.ContainerWidget }), te = /* @__PURE__ */ h({
|
|
10
10
|
...X,
|
|
@@ -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-8bbffeb3.js";
|
|
3
3
|
import { u as ge } from "./uuid-f2110dfe.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-ce1a02da.js";
|
|
6
6
|
import { f as b, w as fe } from "./expression-fb652f29.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-bd883e23.js";
|
|
8
|
+
import { g as Ce } from "./slot-66af188a.js";
|
|
9
|
+
import { D as be } from "./drag-wrapper-812b595f.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-80708bd8.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-5815821b.js";
|
|
15
|
+
import "./multirow-34bf8ec6.js";
|
|
16
|
+
import "./baseImp-f71ca2b7.js";
|
|
17
17
|
import "./icon-1fc5d00d.js";
|
|
18
18
|
import "./dialog-eea5b71b.js";
|
|
19
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-737ac6f6.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-1c7e4003.js";
|
|
25
25
|
import "./index-ae7a8101.js";
|
|
26
26
|
import "./fieldobj-0f01de3c.js";
|
|
27
27
|
import "./label-wrapper.vue_vue_type_style_index_0_lang-8eedceba.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-d291aae2.js"));
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
case "text/plain": {
|
|
45
|
-
m.value = V(() => import("./_txt-
|
|
45
|
+
m.value = V(() => import("./_txt-7657453f.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-1c7e4003.js";
|
|
4
4
|
import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-8eedceba.js";
|
|
5
5
|
import { u as w } from "./fieldobj-0f01de3c.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-8bbffeb3.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-737ac6f6.js";
|
|
10
10
|
import "./uuid-f2110dfe.js";
|
|
11
11
|
import "./enum-type-80708bd8.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-f71ca2b7.js";
|
|
13
13
|
import "./expression-fb652f29.js";
|
|
14
14
|
import "./source-map-b04aec4a.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { ref as K, reactive as U, onMounted as ue, nextTick as je, defineComponent as me, computed as ye, resolveComponent as Ee, resolveDirective as Ne, openBlock as le, createBlock as de, mergeProps as J, unref as g, 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-812b595f.js";
|
|
4
|
+
import { _ as Ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
5
|
+
import { w as X, a as se, b as I, f as L, i as Be } from "./expression-fb652f29.js";
|
|
6
|
+
import { u as He } from "./icon-1fc5d00d.js";
|
|
7
|
+
import { u as Te, a as qe } from "./multirow-34bf8ec6.js";
|
|
8
|
+
import { b as ze, G as Q, M as fe, e as Ge, d as ce, N as Ke, A as Ue, g as Je } from "./enum-type-8bbffeb3.js";
|
|
9
|
+
import { $ as Qe, B as Xe } from "./baseImp-f71ca2b7.js";
|
|
10
|
+
import { f as Ye } from "./index-737ac6f6.js";
|
|
11
|
+
import { b as Ze, a as et, u as tt } from "./share-field-5815821b.js";
|
|
12
|
+
import { W as ot } from "./enum-type-80708bd8.js";
|
|
13
|
+
import { F as nt } from "./slot-66af188a.js";
|
|
14
|
+
import { _ as at } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function it(c) {
|
|
16
|
+
const j = c.widget, v = c.designer, F = v == null ? void 0 : v.pageConfig, w = c == null ? void 0 : c.widgetList, y = K({}), E = {}, { fieldModel: B, fieldName: H, fieldEditor: u, attrs: N, events: _, hasFieldOptions: M, exposed: D, fieldObj: T, watchOption: W, propResultOpt: r, extendAttrs: s } = Ze(c), { off$: V, on$: O, emit$: R, broadcast: x } = qe();
|
|
17
|
+
var { instance: S } = He();
|
|
18
|
+
const { setAllRefList: ve } = et(y.value), Y = { designState: c == null ? void 0 : c.designState, pageConfig: F, globalConfig: r == null ? void 0 : r.globalConfig }, { formModel: A, setData: pe, getData: P, clearData: Z } = Te(w, { ...Y }), { handleFunc: q } = tt({ options: F }, Y), z = U({}), ge = () => {
|
|
19
|
+
V(L.fieldChange), O(L.fieldChange, (e) => {
|
|
20
|
+
we(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), D == null || D.setValue(A), be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, he = () => {
|
|
23
|
+
V(L.fieldValidation), O(L.fieldValidation, (e) => {
|
|
24
|
+
var t;
|
|
25
|
+
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
+
});
|
|
27
|
+
}, _e = () => {
|
|
28
|
+
V(L.fieldRuleChange), O(L.fieldRuleChange, (e) => {
|
|
29
|
+
var o;
|
|
30
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
31
|
+
required: n.required,
|
|
32
|
+
message: n.message,
|
|
33
|
+
trigger: n.trigger,
|
|
34
|
+
validator: n.validator
|
|
35
|
+
}));
|
|
36
|
+
Object.assign(z, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = z;
|
|
37
|
+
});
|
|
38
|
+
}, ee = K(!0), G = K(!1), $ = U({}), k = U({}), te = (e) => {
|
|
39
|
+
fe(k), ce(k, e);
|
|
40
|
+
}, Ce = () => ({
|
|
41
|
+
change_info: Q($),
|
|
42
|
+
before_info: Q(k),
|
|
43
|
+
after_info: Q(A),
|
|
44
|
+
flag: G.value
|
|
45
|
+
}), be = (e, t, o) => {
|
|
46
|
+
k[e] == $[e] && (G.value = !0, e && ce($, { [e]: { oldValue: o, newValue: t } }));
|
|
47
|
+
}, Fe = () => {
|
|
48
|
+
G.value = !1, fe($), te(P());
|
|
49
|
+
}, we = (e, t, o) => {
|
|
50
|
+
q(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: A });
|
|
51
|
+
}, De = () => {
|
|
52
|
+
q(_.value.formCreated);
|
|
53
|
+
}, Le = () => {
|
|
54
|
+
q(_.value.formMounted);
|
|
55
|
+
}, We = () => {
|
|
56
|
+
_e(), ge(), he(), De();
|
|
57
|
+
}, Ve = (e) => {
|
|
58
|
+
var t;
|
|
59
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
60
|
+
}, Oe = () => {
|
|
61
|
+
ve(ot.resetField), je(() => {
|
|
62
|
+
Ve();
|
|
63
|
+
});
|
|
64
|
+
}, oe = (e, t) => {
|
|
65
|
+
let o = [];
|
|
66
|
+
for (let f in e) {
|
|
67
|
+
var n = e[f], d = n == null ? void 0 : n.filter((i) => (i == null ? void 0 : i.force) === t);
|
|
68
|
+
d == null || d.forEach((i) => {
|
|
69
|
+
var m;
|
|
70
|
+
const p = (m = i == null ? void 0 : i.rule) == null ? void 0 : m.label;
|
|
71
|
+
i.message && o.push(Be(p ? "【" + p + "】" : "", i.message, ":"));
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return Ke(o);
|
|
75
|
+
}, xe = (e, t) => {
|
|
76
|
+
var o = {};
|
|
77
|
+
return Ye(t, (n) => {
|
|
78
|
+
var d = Xe.getName(n), f = Ue(e, d);
|
|
79
|
+
return f && (o[d] = e[d]), f;
|
|
80
|
+
}, !1), o;
|
|
81
|
+
}, Se = (e = !0) => {
|
|
82
|
+
var d, f, i;
|
|
83
|
+
let t = P(), o = function() {
|
|
84
|
+
}, n = new Promise(function(p, m) {
|
|
85
|
+
o = function(a, l) {
|
|
86
|
+
(l ? m : p)({ data: a, isSuccess: !l, message: l });
|
|
87
|
+
};
|
|
88
|
+
});
|
|
89
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), n) : ((i = (f = u.value) == null ? void 0 : f.validate) == null || i.call(f, (p, m) => {
|
|
90
|
+
if (p)
|
|
91
|
+
o(t);
|
|
92
|
+
else {
|
|
93
|
+
var a = oe(m, !0);
|
|
94
|
+
if (a && a.length > 0) {
|
|
95
|
+
o(t, a);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
var l = oe(m, !1);
|
|
99
|
+
if (l && l.length > 0) {
|
|
100
|
+
l.push(Ge.i18nt("designer.hint.continue")), Qe.multiple(l).then((h) => {
|
|
101
|
+
o(t);
|
|
102
|
+
});
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}), n);
|
|
107
|
+
}, ne = (e, t = !0) => {
|
|
108
|
+
if (!j)
|
|
109
|
+
return;
|
|
110
|
+
var o = xe(e, [j]);
|
|
111
|
+
pe(o, t);
|
|
112
|
+
const n = ["refList", "widgetRefList"];
|
|
113
|
+
x(X.ContainerWidget, se.setFormData, e, S, n), x(X.FieldWidget, se.setFormData, e, S, n);
|
|
114
|
+
}, ae = (e) => {
|
|
115
|
+
ee.value = !0;
|
|
116
|
+
const t = (o, n) => o == null && n == null;
|
|
117
|
+
return new Promise((o, n) => {
|
|
118
|
+
const d = (a, l) => {
|
|
119
|
+
var C, b, ie;
|
|
120
|
+
let h = (C = s.value) != null && C.formDataLoaded ? (ie = (b = s.value) == null ? void 0 : b.formDataLoaded) == null ? void 0 : ie.call(b, P(), a) : a;
|
|
121
|
+
Je(h) ? ne(h, !l) : h = {}, te(h), ee.value = !1, o(h);
|
|
122
|
+
}, f = () => {
|
|
123
|
+
W(e, I.newDataSource, void 0, (a, l) => {
|
|
124
|
+
t(a, l) || d(a, !0);
|
|
125
|
+
});
|
|
126
|
+
}, i = () => {
|
|
127
|
+
W(e, I.editDataSource, void 0, (a, l) => {
|
|
128
|
+
var C, b;
|
|
129
|
+
if (t(a, l))
|
|
130
|
+
return;
|
|
131
|
+
if (((b = (C = s.value) == null ? void 0 : C.needFormAdd) == null ? void 0 : b.call(C, a)) && m) {
|
|
132
|
+
f();
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
d(a, !1);
|
|
136
|
+
});
|
|
137
|
+
}, p = M(I.editDataSource), m = M(I.newDataSource);
|
|
138
|
+
p ? i() : m && f();
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
return We(), ue(() => {
|
|
142
|
+
ze(), Le();
|
|
143
|
+
}), {
|
|
144
|
+
widgetRefList: y,
|
|
145
|
+
allWidgetRefList: E,
|
|
146
|
+
fieldEditor: u,
|
|
147
|
+
formModel: A,
|
|
148
|
+
pageConfig: F,
|
|
149
|
+
widgetList: w,
|
|
150
|
+
fieldModel: B,
|
|
151
|
+
fieldName: H,
|
|
152
|
+
attrs: N,
|
|
153
|
+
extendAttrs: s,
|
|
154
|
+
events: _,
|
|
155
|
+
rules: z,
|
|
156
|
+
loadData: ae,
|
|
157
|
+
clearData: Z,
|
|
158
|
+
exposed: {
|
|
159
|
+
...D,
|
|
160
|
+
setValue: ne,
|
|
161
|
+
getValue: Se,
|
|
162
|
+
resetField: Oe,
|
|
163
|
+
clearData: Z,
|
|
164
|
+
loadData: ae,
|
|
165
|
+
getData: P,
|
|
166
|
+
//修改痕迹
|
|
167
|
+
clearChangeRecord: Fe,
|
|
168
|
+
getChangeRecord: Ce,
|
|
169
|
+
emit$: R
|
|
170
|
+
},
|
|
171
|
+
fieldObj: T
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
const lt = me({ componentName: X.ContainerWidget }), dt = /* @__PURE__ */ me({
|
|
175
|
+
...lt,
|
|
176
|
+
__name: "form-widget",
|
|
177
|
+
props: { ...$e },
|
|
178
|
+
setup(c, { expose: j }) {
|
|
179
|
+
var W;
|
|
180
|
+
const v = c, { exposed: F, formModel: w, fieldEditor: y, attrs: E, events: B, widgetRefList: H, extendAttrs: u, fieldName: N, fieldObj: _, loadData: M } = it({ ...v, widgetList: (W = v == null ? void 0 : v.widget) == null ? void 0 : W.widgetList }), D = N.value, T = ye(() => {
|
|
181
|
+
var r, s;
|
|
182
|
+
return {
|
|
183
|
+
disabled: (r = E.value) == null ? void 0 : r.disabled,
|
|
184
|
+
readonly: (s = u.value) == null ? void 0 : s.readonly
|
|
185
|
+
};
|
|
186
|
+
});
|
|
187
|
+
return nt.globalProvide({
|
|
188
|
+
globalFormName: D,
|
|
189
|
+
globalDataModel: w,
|
|
190
|
+
globalFormOptions: T
|
|
191
|
+
}), ue(() => {
|
|
192
|
+
var r;
|
|
193
|
+
(r = u.value) != null && r.loadDataWhenInit && !v.designState && M(!0).then((s) => {
|
|
194
|
+
}).catch((s) => {
|
|
195
|
+
}).finally(() => {
|
|
196
|
+
F.clearChangeRecord();
|
|
197
|
+
});
|
|
198
|
+
}), j({ ...F }), (r, s) => {
|
|
199
|
+
const V = Ee("el-form"), O = Ne("loading");
|
|
200
|
+
return le(), de(Ie, J(r.$props, {
|
|
201
|
+
"prop-options": { fieldObj: g(_) }
|
|
202
|
+
}), {
|
|
203
|
+
default: re(({ data: R }) => {
|
|
204
|
+
var x, S;
|
|
205
|
+
return [
|
|
206
|
+
Me((le(), de(V, J({
|
|
207
|
+
ref_key: "fieldEditor",
|
|
208
|
+
ref: y,
|
|
209
|
+
model: g(w)
|
|
210
|
+
}, g(E), Re(g(B)), {
|
|
211
|
+
class: R.injectClass,
|
|
212
|
+
key: (x = g(_)) == null ? void 0 : x.fieldKey,
|
|
213
|
+
"element-loading-text": g(u).loadingText,
|
|
214
|
+
onSubmit: s[0] || (s[0] = Ae(() => {
|
|
215
|
+
}, ["prevent"]))
|
|
216
|
+
}), {
|
|
217
|
+
default: re(() => [
|
|
218
|
+
Pe(ke, J(r.$props, {
|
|
219
|
+
dragClass: "formDrag padSize",
|
|
220
|
+
model: g(w),
|
|
221
|
+
provideModel: !0,
|
|
222
|
+
"component-class": R.componentWrapperClass,
|
|
223
|
+
refList: g(H)
|
|
224
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
225
|
+
]),
|
|
226
|
+
_: 2
|
|
227
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
228
|
+
[O, (S = g(u)) == null ? void 0 : S.showLoading]
|
|
229
|
+
])
|
|
230
|
+
];
|
|
231
|
+
}),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 16, ["prop-options"]);
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
const rt = /* @__PURE__ */ at(dt, [["__scopeId", "data-v-badf0168"]]), Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
238
|
+
__proto__: null,
|
|
239
|
+
default: rt
|
|
240
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
241
|
+
export {
|
|
242
|
+
Dt as _
|
|
243
|
+
};
|
|
@@ -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-5718347e.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-fb652f29.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-812b595f.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
6
|
+
import { b as H } from "./share-field-5815821b.js";
|
|
7
|
+
import { c as $ } from "./slot-66af188a.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-fb652f29.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-5718347e.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
6
|
+
import { b as j } from "./share-field-5815821b.js";
|
|
7
|
+
import { c as P } from "./slot-66af188a.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|