hlrender 0.0.265 → 0.0.268
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-6c1f3026.js → _pdf-594c78bc.js} +1 -1
- package/{_txt-4542b7e6.js → _txt-e8ca6b7d.js} +1 -1
- package/{affix-widget-8994e960.js → affix-widget-89816827.js} +9 -9
- package/{alert-widget-e67e628e.js → alert-widget-8cc83973.js} +9 -9
- package/{anchor-widget-7b8852ec.js → anchor-widget-c9318b9a.js} +6 -6
- package/{auto-complete-widget-e72f8184.js → auto-complete-widget-d9865180.js} +8 -8
- package/{avatar-widget-0f6fac3b.js → avatar-widget-f61254e1.js} +9 -9
- package/{backtop-widget-be20e686.js → backtop-widget-bc358b4a.js} +9 -9
- package/{badge-widget-983b09b9.js → badge-widget-4f3c9b5e.js} +9 -9
- package/{barcode-widget-3b2ee09f.js → barcode-widget-84c9d547.js} +6 -6
- package/{baseImp-ef5340cf.js → baseImp-1b539054.js} +2835 -2837
- package/{breadcrumb-widget-04e62b80.js → breadcrumb-widget-51f17ab5.js} +6 -6
- package/{button-widget-53884cd0.js → button-widget-3367df1e.js} +9 -9
- package/{cache-widget-8484d356.js → cache-widget-8db7e270.js} +7 -7
- package/{card-widget-0d005298.js → card-widget-63c0aff1.js} +7 -7
- package/{carousel-widget-2c15470f.js → carousel-widget-e6af6a98.js} +7 -7
- package/{cascader-widget-982fe83f.js → cascader-widget-2770b6e5.js} +7 -7
- package/{chart-widget-850bab48.js → chart-widget-d3268809.js} +6 -6
- package/{checkbox-widget-720ce327.js → checkbox-widget-25b06064.js} +7 -7
- package/{collapse-widget-80303423.js → collapse-widget-2c641841.js} +7 -7
- package/{color-picker-widget-8f1ae39d.js → color-picker-widget-89b2b921.js} +7 -7
- package/{cont-cell-widget-900eea5c.js → cont-cell-widget-2e2a4348.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4cd43d0f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-265fb735.js} +4 -4
- package/{cont-widget-21bf1a0f.js → cont-widget-b311b341.js} +4 -4
- package/{content-wrapper-5c070023.js → content-wrapper-24d51168.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-19b828bd.js → content-wrapper.vue_vue_type_script_setup_true_lang-11f71ef0.js} +1 -1
- package/{countdown-widget-46b66846.js → countdown-widget-36ed5df7.js} +9 -9
- package/{date-picker-range-widget-0d947f0b.js → date-picker-range-widget-a74068eb.js} +7 -7
- package/{date-picker-widget-6feb7173.js → date-picker-widget-c4aa31bd.js} +7 -7
- package/{default-slot-widget-0272f627.js → default-slot-widget-c21b89a2.js} +7 -7
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-73a0763c.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cb63af58.js} +4 -4
- package/{descriptions-widget-45bea81c.js → descriptions-widget-e87aae0a.js} +7 -7
- package/{dialog-widget-33ab582b.js → dialog-widget-c501db89.js} +8 -8
- package/{divider-widget-1fb77ca3.js → divider-widget-6f569293.js} +9 -9
- package/{drag-wrapper-995c4383.js → drag-wrapper-34808d28.js} +4 -4
- package/{drawer-widget-dffbe314.js → drawer-widget-fc27b216.js} +8 -8
- package/{dropdown-widget-7a829a96.js → dropdown-widget-86bb575b.js} +7 -7
- package/{empty-widget-d91e8e0f.js → empty-widget-f727820c.js} +9 -9
- package/{feedback-widget-7ad3a3bf.js → feedback-widget-e53049da.js} +8 -8
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-bc6708a3.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4051a0d7.js} +4 -4
- package/{file-upload-widget-7a99a1d2.js → file-upload-widget-ffa9ad94.js} +11 -11
- package/{form-item-wrapper-da5f931c.js → form-item-wrapper-88b51079.js} +3 -3
- package/form-widget-93130d72.js +246 -0
- package/{grid-col-widget-f2446a39.js → grid-col-widget-1b3159c9.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-755536a6.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-26b92457.js} +4 -4
- package/{grid-widget-09a52c13.js → grid-widget-ad51ac81.js} +4 -4
- package/{hcard-widget-3153ab7b.js → hcard-widget-fb58d77b.js} +7 -7
- package/{html-text-widget-8d7a0205.js → html-text-widget-756df9a2.js} +7 -7
- package/{icon-widget-087e0cd1.js → icon-widget-d2d6fe37.js} +6 -6
- package/{iframe-widget-aac7f05a.js → iframe-widget-62372a2b.js} +6 -6
- package/{image-widget-fea57efa.js → image-widget-39b83303.js} +6 -6
- package/{index-16b31ca7.js → index-dc309777.js} +1 -1
- package/{input-number-widget-3bbfc9e9.js → input-number-widget-f71422af.js} +7 -7
- package/{input-tag-widget-8fcdfe2e.js → input-tag-widget-d654e7f4.js} +8 -8
- package/{input-widget-76981ea6.js → input-widget-c2d5ffc1.js} +8 -8
- package/{link-widget-fd09fd1c.js → link-widget-f9c669df.js} +9 -9
- package/{ltable-col-widget-d370c8b9.js → ltable-col-widget-2193812c.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7406d3ec.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-2d60bb58.js} +6 -6
- package/{ltable-widget-5eb87417.js → ltable-widget-388c45a1.js} +4 -4
- package/{mention-widget-8b305f30.js → mention-widget-77373ae8.js} +8 -8
- package/{menu-widget-86c8a0d1.js → menu-widget-5719c90f.js} +7 -7
- package/{model-widget-59dee29c.js → model-widget-5642e313.js} +6 -6
- package/{multirow-0f01fada.js → multirow-7237a6cd.js} +3 -3
- package/{multirow-widget-a066f8c6.js → multirow-widget-51ae8e72.js} +7 -7
- package/package.json +1 -1
- package/{pagination-widget-6e1e60bd.js → pagination-widget-fb521dcf.js} +6 -6
- package/{picture-upload-widget-20b7df8c.js → picture-upload-widget-3a282a04.js} +8 -8
- package/{progress-widget-35aef99f.js → progress-widget-d24b4057.js} +7 -7
- package/{qrcode-widget-3a742bb4.js → qrcode-widget-32de789b.js} +6 -6
- package/{radio-widget-572a4c3e.js → radio-widget-e27bed26.js} +7 -7
- package/{range-widget-9d20026c.js → range-widget-7cba4e8e.js} +8 -8
- package/{rate-widget-f3cceefc.js → rate-widget-87922b5c.js} +7 -7
- package/render.es.js +24 -24
- package/render.umd.js +349 -349
- package/{result-widget-1bfaaf79.js → result-widget-cba7e9a3.js} +7 -7
- package/{rich-editor-widget-ae0e7f25.js → rich-editor-widget-f1b8c184.js} +7 -7
- package/{router-widget-dfb66e06.js → router-widget-05b01295.js} +6 -6
- package/{segmented-widget-bda05a3f.js → segmented-widget-dc5e0c04.js} +6 -6
- package/{select-widget-774ae869.js → select-widget-6bc25c73.js} +7 -7
- package/{sfc-23323161.js → sfc-6bfa8c45.js} +3 -3
- package/{sfcview-2bbf753d.js → sfcview-e65d9e19.js} +2 -2
- package/share-field-8ff93bee.js +839 -0
- package/{share-file-01a961a2.js → share-file-5e3ac008.js} +2 -2
- package/{skeleton-widget-18c5a26d.js → skeleton-widget-a0a7a1ca.js} +9 -9
- package/{skeletonItem-widget-e6b55a8b.js → skeletonItem-widget-ab4d9d62.js} +6 -6
- package/{slider-widget-a7a19b51.js → slider-widget-e1730786.js} +7 -7
- package/{slot-d01152ae.js → slot-c256f990.js} +1 -1
- package/{space-widget-e7e228a1.js → space-widget-0a48c722.js} +7 -7
- package/{splitter-widget-f8257cbc.js → splitter-widget-c38988ea.js} +7 -7
- package/{static-text-widget-2dbf50e2.js → static-text-widget-2de30fa0.js} +7 -7
- package/{statistic-widget-163a16e4.js → statistic-widget-a9dc2961.js} +9 -9
- package/{steps-widget-ee811e93.js → steps-widget-b4f6083b.js} +6 -6
- package/{subMenu-widget-42d33e2e.js → subMenu-widget-2dd5d119.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-84edf759.js → subMenu-widget.vue_vue_type_script_setup_true_lang-45b5da3d.js} +1 -1
- package/{switch-widget-341a9302.js → switch-widget-30552ea8.js} +7 -7
- package/{tab-pane-widget-ffb0be20.js → tab-pane-widget-8b490391.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-cf7cdea6.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3cd5f8c7.js} +4 -4
- package/{table-col-widget-ab706207.js → table-col-widget-8e624b55.js} +6 -6
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-17d969cc.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-df623978.js} +4 -4
- package/{table-widget-3d4ad066.js → table-widget-d2b031e5.js} +8 -8
- package/{tabs-widget-a6852f29.js → tabs-widget-ceb53ffb.js} +5 -5
- package/{tag-widget-83f52b18.js → tag-widget-1f275395.js} +9 -9
- package/{text-widget-54273cab.js → text-widget-16235daa.js} +9 -9
- package/{textarea-widget-e9055d94.js → textarea-widget-e8496337.js} +7 -7
- package/{time-picker-range-widget-c947ddc4.js → time-picker-range-widget-782d6685.js} +7 -7
- package/{time-picker-widget-0ba1cdde.js → time-picker-widget-16cf6d82.js} +7 -7
- package/{time-select-widget-cd1444e6.js → time-select-widget-21274c04.js} +7 -7
- package/{timeline-widget-27a8e13f.js → timeline-widget-c8ae14cf.js} +7 -7
- package/{tmpl-widget-d85252bc.js → tmpl-widget-82b02103.js} +7 -7
- package/{tooltip-widget-790b908c.js → tooltip-widget-6661ad40.js} +7 -7
- package/{tour-widget-344ebe98.js → tour-widget-6282c153.js} +6 -6
- package/{transfer-widget-94240887.js → transfer-widget-62d705f5.js} +8 -8
- package/{tree-select-widget-cafeda0a.js → tree-select-widget-8bf4e227.js} +7 -7
- package/{tree-widget-1ba8bae6.js → tree-widget-708473ad.js} +6 -6
- package/{verifycode-widget-65c4f30d.js → verifycode-widget-15518d17.js} +6 -6
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-61661fec.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js} +2 -2
- package/{wrapper-widget-18997c0f.js → wrapper-widget-7cf8f73c.js} +4 -4
- package/form-widget-70ce2941.js +0 -244
- package/share-field-12538a84.js +0 -841
|
@@ -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-480f80f2.js";
|
|
3
|
-
import { b as I } from "./share-field-
|
|
3
|
+
import { b as I } from "./share-field-8ff93bee.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-88b51079.js";
|
|
6
6
|
import { w as B } from "./expression-1bc46129.js";
|
|
7
7
|
import { t as E } from "./uuid-55da46f2.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-7237a6cd.js";
|
|
9
|
+
import "./baseImp-1b539054.js";
|
|
10
10
|
import "./enum-type-9ba3f57a.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-9a702251.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-dc309777.js";
|
|
16
|
+
import "./slot-c256f990.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-066cc011.js";
|
|
19
19
|
import "./index-f962cb75.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-1526eb3d.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-480f80f2.js";
|
|
3
|
-
import { b as V } from "./share-field-
|
|
3
|
+
import { b as V } from "./share-field-8ff93bee.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-88b51079.js";
|
|
6
6
|
import { w as z } from "./expression-1bc46129.js";
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
7
|
+
import "./multirow-7237a6cd.js";
|
|
8
|
+
import "./baseImp-1b539054.js";
|
|
9
9
|
import "./enum-type-9ba3f57a.js";
|
|
10
10
|
import "./icon-1fc5d00d.js";
|
|
11
11
|
import "./dialog-9a702251.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-55da46f2.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-dc309777.js";
|
|
16
|
+
import "./slot-c256f990.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-066cc011.js";
|
|
19
19
|
import "./index-f962cb75.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-1526eb3d.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as E, ref as z, computed as ee, onMounted as oe, watch as re, resolveComponent as A, openBlock as n, createBlock as f, mergeProps as p, unref as l, withCtx as d, toHandlers as te, createElementBlock as i, Fragment as m, renderList as k, createSlots as B, createVNode as g } from "vue";
|
|
2
2
|
import { u as se, r as ne } from "./icon-1fc5d00d.js";
|
|
3
3
|
import { I as pe } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as le } from "./share-field-
|
|
4
|
+
import { _ as ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
5
|
+
import { b as le } from "./share-field-8ff93bee.js";
|
|
6
6
|
import { b as T, w as ce } from "./expression-1bc46129.js";
|
|
7
|
-
import { D as _ } from "./drag-wrapper-
|
|
8
|
-
import { r as ue } from "./index-
|
|
7
|
+
import { D as _ } from "./drag-wrapper-34808d28.js";
|
|
8
|
+
import { r as ue } from "./index-dc309777.js";
|
|
9
9
|
import { c as de } from "./enum-type-9ba3f57a.js";
|
|
10
|
-
import { P as O, b as fe } from "./baseImp-
|
|
10
|
+
import { P as O, b as fe } from "./baseImp-1b539054.js";
|
|
11
11
|
import "./widget-base-8eece820.js";
|
|
12
12
|
import "./enum-type-480f80f2.js";
|
|
13
13
|
import "./index-f962cb75.js";
|
|
14
14
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
import "./fieldobj-1526eb3d.js";
|
|
16
|
-
import "./multirow-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./multirow-7237a6cd.js";
|
|
17
|
+
import "./slot-c256f990.js";
|
|
18
18
|
import "./uuid-55da46f2.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 m, mergeProps as d, unref as o, withCtx as R, createElementBlock as s, 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-480f80f2.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-8ff93bee.js";
|
|
5
|
+
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-34808d28.js";
|
|
7
|
+
import { i as X, d as Y } from "./slot-c256f990.js";
|
|
8
|
+
import { c as Z } from "./multirow-7237a6cd.js";
|
|
9
9
|
import { d as ee, b as te } from "./expression-1bc46129.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-1b539054.js";
|
|
13
13
|
import "./enum-type-9ba3f57a.js";
|
|
14
14
|
import "./dialog-9a702251.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-55da46f2.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-dc309777.js";
|
|
19
19
|
import "./index-f962cb75.js";
|
|
20
20
|
import "./fieldobj-1526eb3d.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-34808d28.js";
|
|
4
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
5
5
|
import { w as R } from "./expression-1bc46129.js";
|
|
6
|
-
import { b as U } from "./share-field-
|
|
7
|
-
import { g as N } from "./slot-
|
|
6
|
+
import { b as U } from "./share-field-8ff93bee.js";
|
|
7
|
+
import { g as N } from "./slot-c256f990.js";
|
|
8
8
|
import { i as S } from "./enum-type-480f80f2.js";
|
|
9
|
-
import "./baseImp-
|
|
9
|
+
import "./baseImp-1b539054.js";
|
|
10
10
|
import "./enum-type-9ba3f57a.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-9a702251.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-55da46f2.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-dc309777.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
18
|
import "./index-f962cb75.js";
|
|
19
19
|
import "./fieldobj-1526eb3d.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
|
-
import "./multirow-
|
|
22
|
+
import "./multirow-7237a6cd.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 _, 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-066cc011.js";
|
|
4
|
+
import { b as nt } from "./share-field-8ff93bee.js";
|
|
5
5
|
import { w as rt } from "./expression-1bc46129.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-1b539054.js";
|
|
7
7
|
import { u as ct } from "./icon-1fc5d00d.js";
|
|
8
8
|
import { a8 as v, as as h } from "./enum-type-9ba3f57a.js";
|
|
9
|
-
import { d as pt } from "./slot-
|
|
9
|
+
import { d as pt } from "./slot-c256f990.js";
|
|
10
10
|
import { e as b } from "./enum-type-480f80f2.js";
|
|
11
11
|
import { t as ut } from "./index-31e1760d.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-dc309777.js";
|
|
14
14
|
import "./uuid-55da46f2.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./index-f962cb75.js";
|
|
17
17
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
18
|
import "./fieldobj-1526eb3d.js";
|
|
19
|
-
import "./multirow-
|
|
19
|
+
import "./multirow-7237a6cd.js";
|
|
20
20
|
import "./source-map-b04aec4a.js";
|
|
21
21
|
import "./esprima-e8d15055.js";
|
|
22
22
|
import "./dialog-9a702251.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as c, computed as S, resolveComponent as x, openBlock as m, createBlock as a, mergeProps as d, unref as r, withCtx as f, isRef as z, toHandlers as A, createSlots as D, renderList as I, resolveDynamicComponent as W, createCommentVNode as u } from "vue";
|
|
2
2
|
import { e as B } from "./enum-type-480f80f2.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-8ff93bee.js";
|
|
5
|
+
import { g as P } from "./slot-c256f990.js";
|
|
6
|
+
import T from "./form-item-wrapper-88b51079.js";
|
|
7
7
|
import { w as $ } from "./expression-1bc46129.js";
|
|
8
|
-
import { D as h } from "./drag-wrapper-
|
|
8
|
+
import { D as h } from "./drag-wrapper-34808d28.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
10
|
+
import "./multirow-7237a6cd.js";
|
|
11
|
+
import "./baseImp-1b539054.js";
|
|
12
12
|
import "./enum-type-9ba3f57a.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
14
|
import "./dialog-9a702251.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-55da46f2.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-dc309777.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
20
20
|
import "./index-f962cb75.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-1526eb3d.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-480f80f2.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-8ff93bee.js";
|
|
5
|
+
import re from "./form-item-wrapper-88b51079.js";
|
|
6
6
|
import { b as v, w as ae } from "./expression-1bc46129.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-7237a6cd.js";
|
|
9
|
+
import "./baseImp-1b539054.js";
|
|
10
10
|
import "./enum-type-9ba3f57a.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-9a702251.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-55da46f2.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-dc309777.js";
|
|
17
|
+
import "./slot-c256f990.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
19
19
|
import "./index-f962cb75.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-1526eb3d.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-8ff93bee.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
5
5
|
import { b as a, w as G } from "./expression-1bc46129.js";
|
|
6
6
|
import { s as n } from "./enum-type-480f80f2.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
8
|
+
import "./multirow-7237a6cd.js";
|
|
9
|
+
import "./baseImp-1b539054.js";
|
|
10
10
|
import "./enum-type-9ba3f57a.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
12
|
import "./dialog-9a702251.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-55da46f2.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-dc309777.js";
|
|
17
|
+
import "./slot-c256f990.js";
|
|
18
18
|
import "./index-f962cb75.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
20
|
import "./fieldobj-1526eb3d.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as S, createElementBlock as w, 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-1bc46129.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-8ff93bee.js";
|
|
5
|
+
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
6
6
|
import { S as E } from "./enum-type-480f80f2.js";
|
|
7
7
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
@@ -10,14 +10,14 @@ import "./uuid-55da46f2.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-7237a6cd.js";
|
|
14
|
+
import "./baseImp-1b539054.js";
|
|
15
15
|
import "./enum-type-9ba3f57a.js";
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
17
|
import "./dialog-9a702251.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./slot-
|
|
19
|
+
import "./index-dc309777.js";
|
|
20
|
+
import "./slot-c256f990.js";
|
|
21
21
|
import "./index-f962cb75.js";
|
|
22
22
|
import "./fieldobj-1526eb3d.js";
|
|
23
23
|
const L = { class: "s-canvas" }, R = ["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, S as de } from "./enum-type-480f80f2.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-dc309777.js";
|
|
5
5
|
import { S as m } from "./index-f962cb75.js";
|
|
6
|
-
import { f as he } from "./baseImp-
|
|
6
|
+
import { f as he } from "./baseImp-1b539054.js";
|
|
7
7
|
import { c as X, S as ye } from "./enum-type-9ba3f57a.js";
|
|
8
8
|
import { u as We } from "./fieldobj-1526eb3d.js";
|
|
9
9
|
import { b as N } from "./expression-1bc46129.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as P, watch as j, defineComponent as y, computed as L, resolveDirective as O, openBlock as h, createBlock as D, mergeProps as C, unref as r, withCtx as F, withDirectives as S, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as k } from "vue";
|
|
2
2
|
import { I as A } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as B } from "./drag-wrapper-
|
|
4
|
-
import { _ as I } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
+
import { D as B } from "./drag-wrapper-34808d28.js";
|
|
4
|
+
import { _ as I } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js";
|
|
5
5
|
import { w as N } from "./expression-1bc46129.js";
|
|
6
6
|
import { W } from "./enum-type-9ba3f57a.js";
|
|
7
|
-
import { b as $, a as E } from "./share-field-
|
|
8
|
-
import { c as H, F as K } from "./slot-
|
|
7
|
+
import { b as $, a as E } from "./share-field-8ff93bee.js";
|
|
8
|
+
import { c as H, F as K } from "./slot-c256f990.js";
|
|
9
9
|
function T(a) {
|
|
10
10
|
const d = P({}), { componentWrapperClass: c, customClass: i } = H({ widget: a.widget }), { exposed: t, attrs: l, extendAttrs: m, fieldKey: f, fieldObj: u } = $(a), { setAllRefList: p } = E(d.value), o = (s = !1) => {
|
|
11
11
|
p(W.setDisabled, { flag: s });
|
package/form-widget-70ce2941.js
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import { ref as X, reactive as G, onMounted as me, nextTick as Ne, defineComponent as pe, computed as ie, resolveComponent as je, resolveDirective as ye, openBlock as le, createBlock as de, mergeProps as J, unref as p, 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-995c4383.js";
|
|
4
|
-
import { _ as Ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-61661fec.js";
|
|
5
|
-
import { w as Y, a as se, b as k, f as L, i as Be } from "./expression-1bc46129.js";
|
|
6
|
-
import { u as He } from "./icon-1fc5d00d.js";
|
|
7
|
-
import { u as qe, a as Te } from "./multirow-0f01fada.js";
|
|
8
|
-
import { b as ze, H as Q, M as ce, e as ve, d as fe, N as ue, O as Ke, A as Ue, g as Ge } from "./enum-type-480f80f2.js";
|
|
9
|
-
import { $ as Je, B as Qe } from "./baseImp-ef5340cf.js";
|
|
10
|
-
import { f as Xe } from "./index-16b31ca7.js";
|
|
11
|
-
import { b as Ye, a as Ze, u as et } from "./share-field-12538a84.js";
|
|
12
|
-
import { W as tt } from "./enum-type-9ba3f57a.js";
|
|
13
|
-
import { F as ot } from "./slot-d01152ae.js";
|
|
14
|
-
import { _ as at } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
function nt(s) {
|
|
16
|
-
const O = s.widget, v = s.designer, b = v == null ? void 0 : v.pageConfig, F = s == null ? void 0 : s.widgetList, x = X({}), E = {}, { fieldModel: I, fieldName: B, fieldEditor: c, attrs: N, events: h, hasFieldOptions: j, exposed: w, fieldObj: H, watchOption: D, propResultOpt: V, extendAttrs: _ } = Ye(s), { off$: i, on$: u, emit$: q, broadcast: y } = Te();
|
|
17
|
-
var { instance: S } = He();
|
|
18
|
-
const { setAllRefList: M } = Ze(x.value), W = { designState: s == null ? void 0 : s.designState, pageConfig: b, globalConfig: V == null ? void 0 : V.globalConfig }, { formModel: R, setData: ge, getData: A, clearData: Z } = qe(F, { ...W }), { handleFunc: T } = et({ options: b }, W), z = G({}), he = () => {
|
|
19
|
-
i(L.fieldChange), u(L.fieldChange, (e) => {
|
|
20
|
-
De(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), w == null || w.setValue(R), Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
-
});
|
|
22
|
-
}, _e = () => {
|
|
23
|
-
i(L.fieldValidation), u(L.fieldValidation, (e) => {
|
|
24
|
-
var t;
|
|
25
|
-
(t = c.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
-
});
|
|
27
|
-
}, Ce = () => {
|
|
28
|
-
i(L.fieldRuleChange), u(L.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(z, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = z;
|
|
37
|
-
});
|
|
38
|
-
}, K = X(!1), U = G({}), P = G({}), ee = (e) => {
|
|
39
|
-
ce(P), fe(P, e);
|
|
40
|
-
}, be = () => ({
|
|
41
|
-
change_info: Q(U),
|
|
42
|
-
before_info: Q(P),
|
|
43
|
-
after_info: Q(R),
|
|
44
|
-
flag: K.value
|
|
45
|
-
}), Fe = (e, t, o) => {
|
|
46
|
-
var a = P[e];
|
|
47
|
-
ue(t, o) || ue(t, a) || (K.value = !0, e && fe(U, { [e]: { oldValue: a, newValue: t, beforeValue: o } }));
|
|
48
|
-
}, we = () => {
|
|
49
|
-
K.value = !1, ce(U), ee(A());
|
|
50
|
-
}, De = (e, t, o) => {
|
|
51
|
-
T(h.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: R });
|
|
52
|
-
}, Le = () => {
|
|
53
|
-
T(h.value.formCreated);
|
|
54
|
-
}, Ve = () => {
|
|
55
|
-
T(h.value.formMounted);
|
|
56
|
-
}, Se = () => {
|
|
57
|
-
Ce(), he(), _e(), Le();
|
|
58
|
-
}, We = (e) => {
|
|
59
|
-
var t;
|
|
60
|
-
(t = c.value) == null || t.clearValidate(e);
|
|
61
|
-
}, Oe = () => {
|
|
62
|
-
M(tt.resetField), Ne(() => {
|
|
63
|
-
We();
|
|
64
|
-
});
|
|
65
|
-
}, te = (e, t) => {
|
|
66
|
-
let o = [];
|
|
67
|
-
for (let f in e) {
|
|
68
|
-
var a = e[f], 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 Xe(t, (a) => {
|
|
79
|
-
var d = Qe.getName(a), f = Ue(e, d);
|
|
80
|
-
return f && (o[d] = e[d]), f;
|
|
81
|
-
}, !1), o;
|
|
82
|
-
}, Ee = (e = !0) => {
|
|
83
|
-
var d, f, r;
|
|
84
|
-
let t = A(), o = function() {
|
|
85
|
-
}, a = new Promise(function(m, l) {
|
|
86
|
-
o = function(g, n) {
|
|
87
|
-
(n ? l : m)({ data: g, isSuccess: !n, message: n });
|
|
88
|
-
};
|
|
89
|
-
});
|
|
90
|
-
return !((d = c.value) != null && d.validate) || !e ? (o(t), a) : ((r = (f = c.value) == null ? void 0 : f.validate) == null || r.call(f, (m, l) => {
|
|
91
|
-
if (m)
|
|
92
|
-
o(t);
|
|
93
|
-
else {
|
|
94
|
-
var g = te(l, !0);
|
|
95
|
-
if (g && g.length > 0) {
|
|
96
|
-
o(t, g);
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
var n = te(l, !1);
|
|
100
|
-
if (n && n.length > 0) {
|
|
101
|
-
n.push(ve.i18nt("designer.hint.continue")), Je.multiple(n).then((C) => {
|
|
102
|
-
o(t);
|
|
103
|
-
});
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}), a);
|
|
108
|
-
}, oe = (e, t = !0) => {
|
|
109
|
-
if (!O)
|
|
110
|
-
return;
|
|
111
|
-
var o = xe(e, [O]);
|
|
112
|
-
ge(o, t);
|
|
113
|
-
const a = ["refList", "widgetRefList"];
|
|
114
|
-
y(Y.ContainerWidget, se.setFormData, e, S, a), y(Y.FieldWidget, se.setFormData, e, S, a);
|
|
115
|
-
}, ae = (e) => new Promise((t, o) => {
|
|
116
|
-
const a = (l, g) => {
|
|
117
|
-
var C, $, ne;
|
|
118
|
-
let n = (C = _.value) != null && C.formDataLoaded ? (ne = ($ = _.value) == null ? void 0 : $.formDataLoaded) == null ? void 0 : ne.call($, A(), l) : l;
|
|
119
|
-
Ge(n) ? oe(n, !g) : n = {}, ee(n), t(n);
|
|
120
|
-
}, d = () => {
|
|
121
|
-
D(k.newDataSource).then((l) => {
|
|
122
|
-
a(l, !0);
|
|
123
|
-
});
|
|
124
|
-
}, f = () => {
|
|
125
|
-
D(k.editDataSource).then((l) => {
|
|
126
|
-
var n, C;
|
|
127
|
-
if (((C = (n = _.value) == null ? void 0 : n.needFormAdd) == null ? void 0 : C.call(n, l)) && m) {
|
|
128
|
-
d();
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
a(l, !1);
|
|
132
|
-
});
|
|
133
|
-
}, r = j(k.editDataSource), m = j(k.newDataSource);
|
|
134
|
-
r ? f() : m && d();
|
|
135
|
-
});
|
|
136
|
-
return Se(), me(() => {
|
|
137
|
-
ze(), Ve();
|
|
138
|
-
}), {
|
|
139
|
-
widgetRefList: x,
|
|
140
|
-
allWidgetRefList: E,
|
|
141
|
-
fieldEditor: c,
|
|
142
|
-
formModel: R,
|
|
143
|
-
pageConfig: b,
|
|
144
|
-
widgetList: F,
|
|
145
|
-
fieldModel: I,
|
|
146
|
-
fieldName: B,
|
|
147
|
-
attrs: N,
|
|
148
|
-
extendAttrs: _,
|
|
149
|
-
events: h,
|
|
150
|
-
rules: z,
|
|
151
|
-
loadData: ae,
|
|
152
|
-
clearData: Z,
|
|
153
|
-
exposed: {
|
|
154
|
-
...w,
|
|
155
|
-
setValue: oe,
|
|
156
|
-
getValue: Ee,
|
|
157
|
-
resetField: Oe,
|
|
158
|
-
clearData: Z,
|
|
159
|
-
loadData: ae,
|
|
160
|
-
getData: A,
|
|
161
|
-
//修改痕迹
|
|
162
|
-
clearChangeRecord: we,
|
|
163
|
-
getChangeRecord: be,
|
|
164
|
-
emit$: q
|
|
165
|
-
},
|
|
166
|
-
fieldObj: H
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
const it = pe({ componentName: Y.ContainerWidget }), lt = /* @__PURE__ */ pe({
|
|
170
|
-
...it,
|
|
171
|
-
__name: "form-widget",
|
|
172
|
-
props: { ...$e },
|
|
173
|
-
setup(s, { expose: O }) {
|
|
174
|
-
var _;
|
|
175
|
-
const v = s, { exposed: b, formModel: F, fieldEditor: x, attrs: E, events: I, widgetRefList: B, extendAttrs: c, fieldName: N, fieldObj: h, loadData: j } = nt({ ...v, widgetList: (_ = v == null ? void 0 : v.widget) == null ? void 0 : _.widgetList }), w = N.value, H = ie(() => {
|
|
176
|
-
var i, u;
|
|
177
|
-
return {
|
|
178
|
-
disabled: (i = E.value) == null ? void 0 : i.disabled,
|
|
179
|
-
readonly: (u = c.value) == null ? void 0 : u.readonly
|
|
180
|
-
};
|
|
181
|
-
}), D = X(!1), V = ie(() => {
|
|
182
|
-
var i;
|
|
183
|
-
return D.value || ((i = c.value) == null ? void 0 : i.showLoading);
|
|
184
|
-
});
|
|
185
|
-
return ot.globalProvide({
|
|
186
|
-
globalFormName: w,
|
|
187
|
-
globalDataModel: F,
|
|
188
|
-
globalFormOptions: H
|
|
189
|
-
}), me(() => {
|
|
190
|
-
var i;
|
|
191
|
-
(i = c.value) != null && i.loadDataWhenInit && !v.designState && (D.value = !0, j(!0).catch((u) => {
|
|
192
|
-
}).finally(() => {
|
|
193
|
-
D.value = !1, b.clearChangeRecord();
|
|
194
|
-
}));
|
|
195
|
-
}), O({ ...b }), (i, u) => {
|
|
196
|
-
const q = je("el-form"), y = ye("loading");
|
|
197
|
-
return le(), de(Ie, J(i.$props, {
|
|
198
|
-
"prop-options": { fieldObj: p(h) }
|
|
199
|
-
}), {
|
|
200
|
-
default: re(({ data: S }) => {
|
|
201
|
-
var M;
|
|
202
|
-
return [
|
|
203
|
-
Me((le(), de(q, J({
|
|
204
|
-
ref_key: "fieldEditor",
|
|
205
|
-
ref: x,
|
|
206
|
-
model: p(F)
|
|
207
|
-
}, p(E), Re(p(I)), {
|
|
208
|
-
class: S.injectClass,
|
|
209
|
-
key: (M = p(h)) == null ? void 0 : M.fieldKey,
|
|
210
|
-
"element-loading-text": p(c).loadingText || p(ve).i18nt("designer.hint.dataLoading"),
|
|
211
|
-
onSubmit: u[0] || (u[0] = Ae(() => {
|
|
212
|
-
}, ["prevent"]))
|
|
213
|
-
}), {
|
|
214
|
-
default: re(() => {
|
|
215
|
-
var W;
|
|
216
|
-
return [
|
|
217
|
-
Pe(ke, J(i.$props, {
|
|
218
|
-
dragClass: "formDrag padSize",
|
|
219
|
-
model: p(F),
|
|
220
|
-
provideModel: !0,
|
|
221
|
-
"component-class": S.componentWrapperClass,
|
|
222
|
-
refList: p(B),
|
|
223
|
-
"show-suspense": (W = p(c)) == null ? void 0 : W.showSuspense
|
|
224
|
-
}), null, 16, ["model", "component-class", "refList", "show-suspense"])
|
|
225
|
-
];
|
|
226
|
-
}),
|
|
227
|
-
_: 2
|
|
228
|
-
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
229
|
-
[y, V.value]
|
|
230
|
-
])
|
|
231
|
-
];
|
|
232
|
-
}),
|
|
233
|
-
_: 1
|
|
234
|
-
}, 16, ["prop-options"]);
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
const dt = /* @__PURE__ */ at(lt, [["__scopeId", "data-v-2649eac0"]]), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
239
|
-
__proto__: null,
|
|
240
|
-
default: dt
|
|
241
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
242
|
-
export {
|
|
243
|
-
wt as _
|
|
244
|
-
};
|