hlrender 0.0.254 → 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-2a18dd2e.js → affix-widget-23bfc53b.js} +9 -9
- package/{alert-widget-44e3642c.js → alert-widget-fad4b564.js} +9 -9
- package/{anchor-widget-2f3844c5.js → anchor-widget-45dd0bac.js} +6 -6
- package/{auto-complete-widget-ded404e6.js → auto-complete-widget-74af90de.js} +8 -8
- package/{avatar-widget-cc0d9a73.js → avatar-widget-8623d072.js} +9 -9
- package/{backtop-widget-39b32589.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-11688374.js → button-widget-6962c1d5.js} +9 -9
- package/{cache-widget-00b75387.js → cache-widget-a6d4f70c.js} +7 -7
- package/{card-widget-b58e0e1c.js → card-widget-1f2374d0.js} +7 -7
- package/{carousel-widget-abe52471.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-ab67fe32.js → collapse-widget-3f8e411c.js} +7 -7
- package/{color-picker-widget-8aea5afb.js → color-picker-widget-21d016b1.js} +7 -7
- package/{cont-cell-widget-6f529f84.js → cont-cell-widget-45b4e7de.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-0c59da03.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-32ce002c.js} +4 -4
- package/{cont-widget-a8274f9c.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-358f17ee.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-ae309832.js → default-slot-widget-1ca3afe3.js} +7 -7
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f5706c12.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a43d84c7.js} +4 -4
- package/{descriptions-widget-0be1e043.js → descriptions-widget-a36ded61.js} +7 -7
- package/{dialog-widget-2abbe60e.js → dialog-widget-24b76297.js} +8 -8
- package/{divider-widget-5b3bb347.js → divider-widget-9668ea06.js} +9 -9
- package/{drag-wrapper-280c10df.js → drag-wrapper-812b595f.js} +4 -4
- package/{drawer-widget-7da84d35.js → drawer-widget-76ebc7f1.js} +8 -8
- package/{dropdown-widget-5069e741.js → dropdown-widget-8924a879.js} +7 -7
- package/{empty-widget-c1c9b5c6.js → empty-widget-6e58988d.js} +9 -9
- package/{feedback-widget-d182450f.js → feedback-widget-9eaf201d.js} +8 -8
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-d5e16f69.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-2653c867.js} +4 -4
- package/{file-upload-widget-7d53d977.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-9c7dc974.js → grid-col-widget-b6e356d5.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-99653bae.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5718347e.js} +4 -4
- package/{grid-widget-41719bcf.js → grid-widget-f0d7bf8f.js} +4 -4
- package/{hcard-widget-03b5d403.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-ea0a8616.js → iframe-widget-bc0d5ad3.js} +6 -6
- 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-c4f83eb0.js → input-tag-widget-ab42064d.js} +8 -8
- package/{input-widget-6c85ebbf.js → input-widget-e107d0f8.js} +8 -8
- package/{link-widget-39a343f2.js → link-widget-6ee232dd.js} +9 -9
- package/{ltable-col-widget-571ea5a7.js → ltable-col-widget-7d999157.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-37da7b2c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-88429bbb.js} +6 -6
- package/{ltable-widget-50899618.js → ltable-widget-ec4d7789.js} +4 -4
- package/{mention-widget-adaedb24.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-b6e2a428.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-aba5f012.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.umd.js +292 -292
- package/{result-widget-134615f0.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-ad453f1b.js → skeleton-widget-227004e9.js} +9 -9
- package/{skeletonItem-widget-c6a49e4c.js → skeletonItem-widget-d5e400cd.js} +6 -6
- package/{slider-widget-555976aa.js → slider-widget-11d03256.js} +7 -7
- package/{slot-44e26cb4.js → slot-66af188a.js} +1 -1
- package/{space-widget-346be94d.js → space-widget-1cf399ac.js} +7 -7
- package/{splitter-widget-4d077c4a.js → splitter-widget-b1faad15.js} +7 -7
- package/{static-text-widget-25c2d045.js → static-text-widget-a0200f6a.js} +7 -7
- package/{statistic-widget-f63e85b9.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-d38d30e6.js → tab-pane-widget-2a5f7f94.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-921b1628.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-93e252cc.js} +4 -4
- package/{table-col-widget-48b611bb.js → table-col-widget-20931f8f.js} +6 -6
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-317b4b1b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a22702e9.js} +4 -4
- package/{table-widget-84b979d9.js → table-widget-83a42359.js} +8 -8
- package/{tabs-widget-6e90c3f2.js → tabs-widget-cb4e0c7d.js} +5 -5
- package/{tag-widget-b214a1de.js → tag-widget-3d5c1763.js} +9 -9
- package/{text-widget-8958b7d3.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-0f326a16.js → timeline-widget-9c789d26.js} +7 -7
- package/{tmpl-widget-49377857.js → tmpl-widget-42cc0fb5.js} +7 -7
- package/{tooltip-widget-9bb6f2f3.js → tooltip-widget-01eecacf.js} +7 -7
- package/{tour-widget-4a8fc371.js → tour-widget-60ff5429.js} +6 -6
- package/{transfer-widget-f68b433f.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-73dee9c8.js → wrapper-widget-e75bf9ad.js} +4 -4
- package/badge-widget-3d643d98.js +0 -53
- package/form-widget-1a5f0ec9.js +0 -236
- package/progress-widget-0e769bf4.js +0 -121
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as a, resolveComponent as x, openBlock as l, createBlock as m, mergeProps as s, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
|
|
2
2
|
import { e as b, c as z } from "./enum-type-8bbffeb3.js";
|
|
3
|
-
import { b as I } from "./share-field-
|
|
3
|
+
import { b as I } from "./share-field-5815821b.js";
|
|
4
4
|
import { I as K } from "./field-base-1acf3ada.js";
|
|
5
|
-
import P from "./form-item-wrapper-
|
|
5
|
+
import P from "./form-item-wrapper-bd883e23.js";
|
|
6
6
|
import { w as B } from "./expression-fb652f29.js";
|
|
7
7
|
import { t as E } from "./uuid-f2110dfe.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-34bf8ec6.js";
|
|
9
|
+
import "./baseImp-f71ca2b7.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-737ac6f6.js";
|
|
16
|
+
import "./slot-66af188a.js";
|
|
17
17
|
import "./widget-base-8eece820.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as x, isRef as C, toHandlers as F } from "vue";
|
|
2
2
|
import { e as O } from "./enum-type-8bbffeb3.js";
|
|
3
|
-
import { b as V } from "./share-field-
|
|
3
|
+
import { b as V } from "./share-field-5815821b.js";
|
|
4
4
|
import { I as b } from "./field-base-1acf3ada.js";
|
|
5
|
-
import v from "./form-item-wrapper-
|
|
5
|
+
import v from "./form-item-wrapper-bd883e23.js";
|
|
6
6
|
import { w as z } from "./expression-fb652f29.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
7
|
+
import "./multirow-34bf8ec6.js";
|
|
8
|
+
import "./baseImp-f71ca2b7.js";
|
|
9
9
|
import "./enum-type-80708bd8.js";
|
|
10
10
|
import "./icon-1fc5d00d.js";
|
|
11
11
|
import "./dialog-eea5b71b.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-f2110dfe.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-737ac6f6.js";
|
|
16
|
+
import "./slot-66af188a.js";
|
|
17
17
|
import "./widget-base-8eece820.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as T, ref as z, computed as x, onMounted as ee, watch as re, resolveComponent as A, openBlock as n, createBlock as f, mergeProps as p, unref as l, withCtx as d, toHandlers as oe, createElementBlock as i, Fragment as m, renderList as k, createSlots as B, createVNode as g } from "vue";
|
|
2
2
|
import { u as te, r as se } from "./icon-1fc5d00d.js";
|
|
3
3
|
import { I as ne } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as ae } from "./share-field-
|
|
4
|
+
import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
5
|
+
import { b as ae } from "./share-field-5815821b.js";
|
|
6
6
|
import { b as le, w as ce } from "./expression-fb652f29.js";
|
|
7
|
-
import { D as _ } from "./drag-wrapper-
|
|
8
|
-
import { r as ue } from "./index-
|
|
7
|
+
import { D as _ } from "./drag-wrapper-812b595f.js";
|
|
8
|
+
import { r as ue } from "./index-737ac6f6.js";
|
|
9
9
|
import { c as de } from "./enum-type-80708bd8.js";
|
|
10
|
-
import { P as h, b as fe } from "./baseImp-
|
|
10
|
+
import { P as h, b as fe } from "./baseImp-f71ca2b7.js";
|
|
11
11
|
import "./widget-base-8eece820.js";
|
|
12
12
|
import "./enum-type-8bbffeb3.js";
|
|
13
13
|
import "./index-ae7a8101.js";
|
|
14
14
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
import "./fieldobj-0f01de3c.js";
|
|
16
|
-
import "./multirow-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./multirow-34bf8ec6.js";
|
|
17
|
+
import "./slot-66af188a.js";
|
|
18
18
|
import "./uuid-f2110dfe.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as F, computed as I, inject as T, ref as L, onMounted as M, resolveDirective as P, openBlock as a, createBlock as d, mergeProps as c, unref as o, withCtx as R, createElementBlock as n, Fragment as u, withDirectives as z, renderList as A, createTextVNode as E, toDisplayString as J } from "vue";
|
|
2
2
|
import { e as q, t as G, f as H } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as K } from "./widget-base-8eece820.js";
|
|
4
|
-
import { b as Q } from "./share-field-
|
|
5
|
-
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
7
|
-
import { i as X, d as Y } from "./slot-
|
|
8
|
-
import { c as Z } from "./multirow-
|
|
4
|
+
import { b as Q } from "./share-field-5815821b.js";
|
|
5
|
+
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-812b595f.js";
|
|
7
|
+
import { i as X, d as Y } from "./slot-66af188a.js";
|
|
8
|
+
import { c as Z } from "./multirow-34bf8ec6.js";
|
|
9
9
|
import { d as ee, b as te } from "./expression-fb652f29.js";
|
|
10
10
|
import { _ as oe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-f71ca2b7.js";
|
|
13
13
|
import "./enum-type-80708bd8.js";
|
|
14
14
|
import "./dialog-eea5b71b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-f2110dfe.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-737ac6f6.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./fieldobj-0f01de3c.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as $, ref as F, computed as I, resolveComponent as P, openBlock as t, createBlock as o, mergeProps as n, unref as a, withCtx as V, createElementBlock as p, Fragment as C, renderList as b, resolveDynamicComponent as f, createCommentVNode as l, createVNode as g, isRef as x, toHandlers as H, createSlots as K } from "vue";
|
|
2
2
|
import { I as L } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as c } from "./drag-wrapper-
|
|
4
|
-
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as c } from "./drag-wrapper-812b595f.js";
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
5
5
|
import { w as R } from "./expression-fb652f29.js";
|
|
6
|
-
import { b as U } from "./share-field-
|
|
7
|
-
import { g as N } from "./slot-
|
|
6
|
+
import { b as U } from "./share-field-5815821b.js";
|
|
7
|
+
import { g as N } from "./slot-66af188a.js";
|
|
8
8
|
import { i as S } from "./enum-type-8bbffeb3.js";
|
|
9
|
-
import "./baseImp-
|
|
9
|
+
import "./baseImp-f71ca2b7.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-f2110dfe.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-737ac6f6.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
18
|
import "./index-ae7a8101.js";
|
|
19
19
|
import "./fieldobj-0f01de3c.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
|
-
import "./multirow-
|
|
22
|
+
import "./multirow-34bf8ec6.js";
|
|
23
23
|
const q = { key: 0 }, G = $({ componentName: R.ContainerWidget }), ke = /* @__PURE__ */ $({
|
|
24
24
|
...G,
|
|
25
25
|
__name: "tooltip-widget",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as B, computed as w, resolveComponent as I, openBlock as l, createBlock as c, mergeProps as V, unref as n, withCtx as p, createElementBlock as y, Fragment as O, createVNode as S, renderList as x, createTextVNode as Y, toDisplayString as g, createElementVNode as C, isRef as Z, toHandlers as tt, resolveDynamicComponent as T } from "vue";
|
|
2
2
|
import { I as ot } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { b as nt } from "./share-field-
|
|
3
|
+
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
4
|
+
import { b as nt } from "./share-field-5815821b.js";
|
|
5
5
|
import { w as rt } from "./expression-fb652f29.js";
|
|
6
|
-
import { g as st, K as lt, c as at } from "./baseImp-
|
|
6
|
+
import { g as st, K as lt, c as at } from "./baseImp-f71ca2b7.js";
|
|
7
7
|
import { u as ct } from "./icon-1fc5d00d.js";
|
|
8
8
|
import { a8 as v, as as h } from "./enum-type-80708bd8.js";
|
|
9
|
-
import { d as pt } from "./slot-
|
|
9
|
+
import { d as pt } from "./slot-66af188a.js";
|
|
10
10
|
import { e as F } from "./enum-type-8bbffeb3.js";
|
|
11
11
|
import { t as ut } from "./index-31e1760d.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-737ac6f6.js";
|
|
14
14
|
import "./uuid-f2110dfe.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./index-ae7a8101.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,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as g, computed as S, resolveComponent as x, openBlock as m, createBlock as a, mergeProps as l, unref as r, withCtx as f, isRef as z, toHandlers as A, createSlots as D, renderList as I, resolveDynamicComponent as W, createCommentVNode as c } from "vue";
|
|
2
2
|
import { e as B } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as E } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as L } from "./share-field-
|
|
5
|
-
import { g as P } from "./slot-
|
|
6
|
-
import T from "./form-item-wrapper-
|
|
4
|
+
import { b as L } from "./share-field-5815821b.js";
|
|
5
|
+
import { g as P } from "./slot-66af188a.js";
|
|
6
|
+
import T from "./form-item-wrapper-bd883e23.js";
|
|
7
7
|
import { w as $ } from "./expression-fb652f29.js";
|
|
8
|
-
import { D as h } from "./drag-wrapper-
|
|
8
|
+
import { D as h } from "./drag-wrapper-812b595f.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
10
|
+
import "./multirow-34bf8ec6.js";
|
|
11
|
+
import "./baseImp-f71ca2b7.js";
|
|
12
12
|
import "./enum-type-80708bd8.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-eea5b71b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-f2110dfe.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./index-737ac6f6.js";
|
|
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 "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineComponent as D, computed as a, resolveComponent as te, openBlock as s, createBlock as p, mergeProps as O, unref as o, withCtx as d, toHandlers as W, createSlots as A, resolveDynamicComponent as n, createCommentVNode as C } from "vue";
|
|
2
2
|
import { s as f, t as B } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as le } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as oe } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
4
|
+
import { b as oe } from "./share-field-5815821b.js";
|
|
5
|
+
import re from "./form-item-wrapper-bd883e23.js";
|
|
6
6
|
import { b as v, w as ae } from "./expression-fb652f29.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-34bf8ec6.js";
|
|
9
|
+
import "./baseImp-f71ca2b7.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-f2110dfe.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
16
|
+
import "./index-737ac6f6.js";
|
|
17
|
+
import "./slot-66af188a.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as h, computed as l, resolveComponent as $, openBlock as m, createBlock as f, mergeProps as g, unref as p, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { b as U } from "./share-field-5815821b.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
5
5
|
import { b as a, w as G } from "./expression-fb652f29.js";
|
|
6
6
|
import { s as n } from "./enum-type-8bbffeb3.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-34bf8ec6.js";
|
|
9
|
+
import "./baseImp-f71ca2b7.js";
|
|
10
10
|
import "./enum-type-80708bd8.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-eea5b71b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-f2110dfe.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 "./index-ae7a8101.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
20
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as w, createElementBlock as S, createElementVNode as x, computed as C, nextTick as H, createBlock as P, mergeProps as b, unref as u, withCtx as W, createVNode as I } from "vue";
|
|
2
2
|
import { w as V } from "./expression-fb652f29.js";
|
|
3
3
|
import { I as z } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as T } from "./share-field-
|
|
5
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { b as T } from "./share-field-5815821b.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
6
6
|
import { R as E } from "./enum-type-8bbffeb3.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
@@ -10,14 +10,14 @@ import "./uuid-f2110dfe.js";
|
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./multirow-34bf8ec6.js";
|
|
14
|
+
import "./baseImp-f71ca2b7.js";
|
|
15
15
|
import "./enum-type-80708bd8.js";
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "./dialog-eea5b71b.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
19
|
+
import "./index-737ac6f6.js";
|
|
20
|
+
import "./slot-66af188a.js";
|
|
21
21
|
import "./index-ae7a8101.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
23
23
|
const F = { class: "s-canvas" }, L = ["width", "height"], $ = /* @__PURE__ */ g({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as oe, resolveComponent as U, openBlock as o, createElementBlock as w, Fragment as j, createVNode as d, createCommentVNode as y, createBlock as W, createSlots as ne, withCtx as a, createElementVNode as z, renderList as ie, createTextVNode as C, toDisplayString as b, withModifiers as v, unref as l, renderSlot as S, computed as h, ref as se, resolveDynamicComponent as le, mergeProps as E, toHandlers as pe } from "vue";
|
|
2
2
|
import { e as g, c as ue, R as de } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as me, a as ge } from "./widget-base-8eece820.js";
|
|
4
|
-
import { a as ae, i as fe, j as ve, k as we } from "./index-
|
|
4
|
+
import { a as ae, i as fe, j as ve, k as we } from "./index-737ac6f6.js";
|
|
5
5
|
import { S as m } from "./index-ae7a8101.js";
|
|
6
|
-
import { f as he } from "./baseImp-
|
|
6
|
+
import { f as he } from "./baseImp-f71ca2b7.js";
|
|
7
7
|
import { c as X, S as ye } from "./enum-type-80708bd8.js";
|
|
8
8
|
import { u as We } from "./fieldobj-0f01de3c.js";
|
|
9
9
|
import { b as N } from "./expression-fb652f29.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as y, watch as P, defineComponent as h, computed as j, resolveDirective as L, openBlock as w, createBlock as O, mergeProps as C, unref as s, withCtx as D, withDirectives as F, createElementBlock as x, normalizeClass as z, createVNode as S, createCommentVNode as R } from "vue";
|
|
2
2
|
import { I as k } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
4
|
-
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as A } from "./drag-wrapper-812b595f.js";
|
|
4
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1c7e4003.js";
|
|
5
5
|
import { w as I } from "./expression-fb652f29.js";
|
|
6
6
|
import { W } from "./enum-type-80708bd8.js";
|
|
7
|
-
import { b as N, a as $ } from "./share-field-
|
|
8
|
-
import { c as E, F as H } from "./slot-
|
|
7
|
+
import { b as N, a as $ } from "./share-field-5815821b.js";
|
|
8
|
+
import { c as E, F as H } from "./slot-66af188a.js";
|
|
9
9
|
function K(a) {
|
|
10
10
|
const d = y({}), { componentWrapperClass: c, customClass: i } = E({ widget: a.widget }), { exposed: t, attrs: l, extendAttrs: m, fieldKey: f, fieldObj: g } = N(a), { setAllRefList: p } = $(d.value), o = (r = !1) => {
|
|
11
11
|
p(W.setDisabled, { flag: r });
|
package/badge-widget-3d643d98.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, openBlock as l, createBlock as n, mergeProps as f, unref as u } from "vue";
|
|
2
|
-
import { C as c } from "./enum-type-8bbffeb3.js";
|
|
3
|
-
import { I as _ } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as g } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f5706c12.js";
|
|
5
|
-
import { w as b } from "./expression-fb652f29.js";
|
|
6
|
-
import { b as v } from "./share-field-6b809684.js";
|
|
7
|
-
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b0c471a1.js";
|
|
9
|
-
import "./index-99510eab.js";
|
|
10
|
-
import "./uuid-f2110dfe.js";
|
|
11
|
-
import "./enum-type-80708bd8.js";
|
|
12
|
-
import "./baseImp-9c1c3476.js";
|
|
13
|
-
import "./icon-1fc5d00d.js";
|
|
14
|
-
import "./dialog-eea5b71b.js";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-ae7a8101.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./fieldobj-0f01de3c.js";
|
|
20
|
-
import "./slot-44e26cb4.js";
|
|
21
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js";
|
|
22
|
-
import "./drag-wrapper-280c10df.js";
|
|
23
|
-
import "./source-map-b04aec4a.js";
|
|
24
|
-
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./multirow-8598f33c.js";
|
|
26
|
-
const O = i({ componentName: b.FieldWidget }), Q = /* @__PURE__ */ i({
|
|
27
|
-
...O,
|
|
28
|
-
__name: "badge-widget",
|
|
29
|
-
props: { ..._ },
|
|
30
|
-
setup(p, { expose: m }) {
|
|
31
|
-
var t;
|
|
32
|
-
const s = p, { attrs: r, exposed: a, fieldObj: d, fieldEditor: e } = v(s);
|
|
33
|
-
return Object.assign(
|
|
34
|
-
r.value,
|
|
35
|
-
{
|
|
36
|
-
value: c((t = r.value) == null ? void 0 : t.value, !0)
|
|
37
|
-
}
|
|
38
|
-
), m({
|
|
39
|
-
...a,
|
|
40
|
-
fieldEditor: () => {
|
|
41
|
-
var o;
|
|
42
|
-
return (o = e.value) == null ? void 0 : o.getFieldEditor();
|
|
43
|
-
}
|
|
44
|
-
}), (o, E) => (l(), n(g, f(o.$props, {
|
|
45
|
-
ref_key: "fieldEditor",
|
|
46
|
-
ref: e,
|
|
47
|
-
propOptions: { elementName: "el-badge", fieldObj: u(d) }
|
|
48
|
-
}), null, 16, ["propOptions"]));
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
export {
|
|
52
|
-
Q as default
|
|
53
|
-
};
|
package/form-widget-1a5f0ec9.js
DELETED
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
import { ref as oe, reactive as G, onMounted as fe, nextTick as Oe, defineComponent as ce, computed as xe, resolveComponent as Se, resolveDirective as je, openBlock as ae, createBlock as ne, mergeProps as K, unref as h, withCtx as ie, withDirectives as ye, toHandlers as Ee, withModifiers as Me, createVNode as Re } from "vue";
|
|
2
|
-
import { I as Ae } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as Pe } from "./drag-wrapper-280c10df.js";
|
|
4
|
-
import { _ as $e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b0c471a1.js";
|
|
5
|
-
import { w as U, a as le, b as A, f as D, i as ke } from "./expression-fb652f29.js";
|
|
6
|
-
import { u as Ie } from "./icon-1fc5d00d.js";
|
|
7
|
-
import { u as Be, a as He } from "./multirow-8598f33c.js";
|
|
8
|
-
import { b as Te, G as de, M as re, e as qe, d as se, N as ze, A as Ge, g as Ke } from "./enum-type-8bbffeb3.js";
|
|
9
|
-
import { $ as Ue, B as Je } from "./baseImp-9c1c3476.js";
|
|
10
|
-
import { f as Qe } from "./index-99510eab.js";
|
|
11
|
-
import { b as Xe, a as Ye, u as Ze } from "./share-field-6b809684.js";
|
|
12
|
-
import { W as et } from "./enum-type-80708bd8.js";
|
|
13
|
-
import { F as tt } from "./slot-44e26cb4.js";
|
|
14
|
-
import { _ as ot } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
function at(f) {
|
|
16
|
-
const x = f.widget, p = f.designer, b = p == null ? void 0 : p.pageConfig, F = f == null ? void 0 : f.widgetList, S = oe({}), j = {}, { fieldModel: P, fieldName: $, fieldEditor: u, attrs: y, events: _, hasFieldOptions: E, exposed: w, fieldObj: k, watchOption: V, propResultOpt: r, extendAttrs: s } = Xe(f), { off$: L, on$: W, emit$: M, broadcast: N } = He();
|
|
17
|
-
var { instance: O } = Ie();
|
|
18
|
-
const { setAllRefList: ue } = Ye(S.value), J = { designState: f == null ? void 0 : f.designState, pageConfig: b, globalConfig: r == null ? void 0 : r.globalConfig }, { formModel: I, setData: me, getData: R, clearData: Q } = Be(F, { ...J }), { handleFunc: B } = Ze({ options: b }, J), H = G({}), pe = () => {
|
|
19
|
-
L(D.fieldChange), W(D.fieldChange, (e) => {
|
|
20
|
-
be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), w == null || w.setValue(I), _e(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
-
});
|
|
22
|
-
}, ve = () => {
|
|
23
|
-
L(D.fieldValidation), W(D.fieldValidation, (e) => {
|
|
24
|
-
var t;
|
|
25
|
-
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
-
});
|
|
27
|
-
}, ge = () => {
|
|
28
|
-
L(D.fieldRuleChange), W(D.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(H, { [e == null ? void 0 : e.fieldName]: t }), y.value.rules = H;
|
|
37
|
-
});
|
|
38
|
-
}, T = oe(!1), q = G({}), z = G({}), X = (e) => {
|
|
39
|
-
re(z), se(z, e);
|
|
40
|
-
}, he = () => ({
|
|
41
|
-
change_info: de(q),
|
|
42
|
-
before_info: de(z),
|
|
43
|
-
flag: T.value
|
|
44
|
-
}), _e = (e, t, o) => {
|
|
45
|
-
T.value = !0, e && se(q, { [e]: { oldValue: o, newValue: t } });
|
|
46
|
-
}, Ce = () => {
|
|
47
|
-
T.value = !1, re(q), X(R());
|
|
48
|
-
}, be = (e, t, o) => {
|
|
49
|
-
B(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: I });
|
|
50
|
-
}, Fe = () => {
|
|
51
|
-
B(_.value.formCreated);
|
|
52
|
-
}, we = () => {
|
|
53
|
-
B(_.value.formMounted);
|
|
54
|
-
}, De = () => {
|
|
55
|
-
ge(), pe(), ve(), Fe();
|
|
56
|
-
}, Ve = (e) => {
|
|
57
|
-
var t;
|
|
58
|
-
(t = u.value) == null || t.clearValidate(e);
|
|
59
|
-
}, Le = () => {
|
|
60
|
-
ue(et.resetField), Oe(() => {
|
|
61
|
-
Ve();
|
|
62
|
-
});
|
|
63
|
-
}, Y = (e, t) => {
|
|
64
|
-
let o = [];
|
|
65
|
-
for (let c in e) {
|
|
66
|
-
var a = e[c], d = a == null ? void 0 : a.filter((l) => (l == null ? void 0 : l.force) === t);
|
|
67
|
-
d == null || d.forEach((l) => {
|
|
68
|
-
var n;
|
|
69
|
-
const m = (n = l == null ? void 0 : l.rule) == null ? void 0 : n.label;
|
|
70
|
-
l.message && o.push(ke(m ? "【" + m + "】" : "", l.message, ":"));
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
return ze(o);
|
|
74
|
-
}, We = (e, t) => {
|
|
75
|
-
var o = {};
|
|
76
|
-
return Qe(t, (a) => {
|
|
77
|
-
var d = Je.getName(a), c = Ge(e, d);
|
|
78
|
-
return c && (o[d] = e[d]), c;
|
|
79
|
-
}, !1), o;
|
|
80
|
-
}, Ne = (e = !0) => {
|
|
81
|
-
var d, c, l;
|
|
82
|
-
let t = R(), o = function() {
|
|
83
|
-
}, a = new Promise(function(m, n) {
|
|
84
|
-
o = function(v, i) {
|
|
85
|
-
(i ? n : m)({ data: v, isSuccess: !i, message: i });
|
|
86
|
-
};
|
|
87
|
-
});
|
|
88
|
-
return !((d = u.value) != null && d.validate) || !e ? (o(t), a) : ((l = (c = u.value) == null ? void 0 : c.validate) == null || l.call(c, (m, n) => {
|
|
89
|
-
if (m)
|
|
90
|
-
o(t);
|
|
91
|
-
else {
|
|
92
|
-
var v = Y(n, !0);
|
|
93
|
-
if (v && v.length > 0) {
|
|
94
|
-
o(t, v);
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
var i = Y(n, !1);
|
|
98
|
-
if (i && i.length > 0) {
|
|
99
|
-
i.push(qe.i18nt("designer.hint.continue")), Ue.multiple(i).then((g) => {
|
|
100
|
-
o(t);
|
|
101
|
-
});
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}), a);
|
|
106
|
-
}, Z = (e, t = !0) => {
|
|
107
|
-
if (!x)
|
|
108
|
-
return;
|
|
109
|
-
var o = We(e, [x]);
|
|
110
|
-
me(o, t);
|
|
111
|
-
const a = ["refList", "widgetRefList"];
|
|
112
|
-
N(U.ContainerWidget, le.setFormData, e, O, a), N(U.FieldWidget, le.setFormData, e, O, a);
|
|
113
|
-
}, ee = (e) => new Promise((t, o) => {
|
|
114
|
-
const a = (n, v) => {
|
|
115
|
-
var g, C, te;
|
|
116
|
-
let i = (g = s.value) != null && g.formDataLoaded ? (te = (C = s.value) == null ? void 0 : C.formDataLoaded) == null ? void 0 : te.call(C, R(), n) : n;
|
|
117
|
-
Ke(i) ? Z(i, !v) : i = {}, X(i), t(i);
|
|
118
|
-
}, d = () => {
|
|
119
|
-
V(e, A.newDataSource, void 0, (n, v) => {
|
|
120
|
-
a(n, !0);
|
|
121
|
-
});
|
|
122
|
-
}, c = () => {
|
|
123
|
-
V(e, A.editDataSource, void 0, (n, v) => {
|
|
124
|
-
var g, C;
|
|
125
|
-
if (((C = (g = s.value) == null ? void 0 : g.needFormAdd) == null ? void 0 : C.call(g, n)) && m) {
|
|
126
|
-
d();
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
a(n, !1);
|
|
130
|
-
});
|
|
131
|
-
}, l = E(A.editDataSource), m = E(A.newDataSource);
|
|
132
|
-
l ? c() : m && d();
|
|
133
|
-
});
|
|
134
|
-
return De(), fe(() => {
|
|
135
|
-
Te(), we();
|
|
136
|
-
}), {
|
|
137
|
-
widgetRefList: S,
|
|
138
|
-
allWidgetRefList: j,
|
|
139
|
-
fieldEditor: u,
|
|
140
|
-
formModel: I,
|
|
141
|
-
pageConfig: b,
|
|
142
|
-
widgetList: F,
|
|
143
|
-
fieldModel: P,
|
|
144
|
-
fieldName: $,
|
|
145
|
-
attrs: y,
|
|
146
|
-
extendAttrs: s,
|
|
147
|
-
events: _,
|
|
148
|
-
rules: H,
|
|
149
|
-
loadData: ee,
|
|
150
|
-
clearData: Q,
|
|
151
|
-
exposed: {
|
|
152
|
-
...w,
|
|
153
|
-
setValue: Z,
|
|
154
|
-
getValue: Ne,
|
|
155
|
-
resetField: Le,
|
|
156
|
-
clearData: Q,
|
|
157
|
-
loadData: ee,
|
|
158
|
-
getData: R,
|
|
159
|
-
//修改痕迹
|
|
160
|
-
clearChangeRecord: Ce,
|
|
161
|
-
getChangeRecord: he,
|
|
162
|
-
emit$: M
|
|
163
|
-
},
|
|
164
|
-
fieldObj: k
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
const nt = ce({ componentName: U.ContainerWidget }), it = /* @__PURE__ */ ce({
|
|
168
|
-
...nt,
|
|
169
|
-
__name: "form-widget",
|
|
170
|
-
props: { ...Ae },
|
|
171
|
-
setup(f, { expose: x }) {
|
|
172
|
-
var V;
|
|
173
|
-
const p = f, { exposed: b, formModel: F, fieldEditor: S, attrs: j, events: P, widgetRefList: $, extendAttrs: u, fieldName: y, fieldObj: _, loadData: E } = at({ ...p, widgetList: (V = p == null ? void 0 : p.widget) == null ? void 0 : V.widgetList }), w = y.value, k = xe(() => {
|
|
174
|
-
var r, s;
|
|
175
|
-
return {
|
|
176
|
-
disabled: (r = j.value) == null ? void 0 : r.disabled,
|
|
177
|
-
readonly: (s = u.value) == null ? void 0 : s.readonly
|
|
178
|
-
};
|
|
179
|
-
});
|
|
180
|
-
return tt.globalProvide({
|
|
181
|
-
globalFormName: w,
|
|
182
|
-
globalDataModel: F,
|
|
183
|
-
globalFormOptions: k
|
|
184
|
-
}), fe(() => {
|
|
185
|
-
var r;
|
|
186
|
-
(r = u.value) != null && r.loadDataWhenInit && !p.designState && E(!0).then((s) => {
|
|
187
|
-
}).catch((s) => {
|
|
188
|
-
}).finally(() => {
|
|
189
|
-
b.clearChangeRecord();
|
|
190
|
-
});
|
|
191
|
-
}), x({ ...b }), (r, s) => {
|
|
192
|
-
const L = Se("el-form"), W = je("loading");
|
|
193
|
-
return ae(), ne($e, K(r.$props, {
|
|
194
|
-
"prop-options": { fieldObj: h(_) }
|
|
195
|
-
}), {
|
|
196
|
-
default: ie(({ data: M }) => {
|
|
197
|
-
var N, O;
|
|
198
|
-
return [
|
|
199
|
-
ye((ae(), ne(L, K({
|
|
200
|
-
ref_key: "fieldEditor",
|
|
201
|
-
ref: S,
|
|
202
|
-
model: h(F)
|
|
203
|
-
}, h(j), Ee(h(P)), {
|
|
204
|
-
class: M.injectClass,
|
|
205
|
-
key: (N = h(_)) == null ? void 0 : N.fieldKey,
|
|
206
|
-
"element-loading-text": h(u).loadingText,
|
|
207
|
-
onSubmit: s[0] || (s[0] = Me(() => {
|
|
208
|
-
}, ["prevent"]))
|
|
209
|
-
}), {
|
|
210
|
-
default: ie(() => [
|
|
211
|
-
Re(Pe, K(r.$props, {
|
|
212
|
-
dragClass: "formDrag padSize",
|
|
213
|
-
model: h(F),
|
|
214
|
-
provideModel: !0,
|
|
215
|
-
"component-class": M.componentWrapperClass,
|
|
216
|
-
refList: h($)
|
|
217
|
-
}), null, 16, ["model", "component-class", "refList"])
|
|
218
|
-
]),
|
|
219
|
-
_: 2
|
|
220
|
-
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
221
|
-
[W, (O = h(u)) == null ? void 0 : O.showLoading]
|
|
222
|
-
])
|
|
223
|
-
];
|
|
224
|
-
}),
|
|
225
|
-
_: 1
|
|
226
|
-
}, 16, ["prop-options"]);
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
const lt = /* @__PURE__ */ ot(it, [["__scopeId", "data-v-badf0168"]]), Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
231
|
-
__proto__: null,
|
|
232
|
-
default: lt
|
|
233
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
234
|
-
export {
|
|
235
|
-
Ft as _
|
|
236
|
-
};
|