hldesigner 0.0.300 → 0.0.301
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-9928a2fd.js → _pdf-cb63e0d3.js} +5 -5
- package/{_share_image-b14e5259.js → _share_image-fff8050c.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-6066328b.js → _share_size.vue_vue_type_script_setup_true_lang-aef5fb46.js} +2 -2
- package/{_txt-6de13ba2.js → _txt-a1934e64.js} +5 -5
- package/{_unsupport-18cede72.js → _unsupport-977e5448.js} +1 -1
- package/{affix-widget-6df77109.js → affix-widget-80d5ba2b.js} +16 -16
- package/{alert-widget-c913191f.js → alert-widget-4320eb76.js} +16 -16
- package/{anchor-widget-0d5d72b9.js → anchor-widget-3f1d09a6.js} +13 -13
- package/{auto-complete-widget-90db045d.js → auto-complete-widget-34128187.js} +16 -16
- package/{avatar-widget-b21dbfcc.js → avatar-widget-9308f456.js} +16 -16
- package/{backtop-widget-4fe229dd.js → backtop-widget-f8e71253.js} +16 -16
- package/{badge-widget-8abdb4ca.js → badge-widget-eaf42411.js} +16 -16
- package/{barcode-widget-17252304.js → barcode-widget-893cce97.js} +13 -13
- package/{baseCommonField-6ac66394.js → baseCommonField-bc463e95.js} +5 -5
- package/{breadcrumb-widget-7175dbc1.js → breadcrumb-widget-31044351.js} +13 -13
- package/{button-widget-914e7825.js → button-widget-8b14ec52.js} +16 -16
- package/{cache-widget-54825768.js → cache-widget-a4f8cfc9.js} +15 -15
- package/{card-widget-ee28c01b.js → card-widget-f2dbe87c.js} +14 -14
- package/{carousel-widget-bd78d3f6.js → carousel-widget-f7080585.js} +14 -14
- package/{cascader-widget-d3aa0446.js → cascader-widget-37bc89ab.js} +15 -15
- package/{chart-widget-173424d1.js → chart-widget-0001a1f4.js} +13 -13
- package/{checkbox-widget-9218f900.js → checkbox-widget-3cd1325c.js} +15 -15
- package/{collapse-widget-de9a8f04.js → collapse-widget-4d5bd025.js} +14 -14
- package/{color-picker-widget-7337e0f5.js → color-picker-widget-d0beb753.js} +15 -15
- package/{common-editor-92510cfd.js → common-editor-6bf9ec24.js} +13 -13
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-8e2f740d.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-729dc4f9.js} +2 -2
- package/{configItem-ccc3452f.js → configItem-2e577336.js} +34 -34
- package/{cont-cell-widget-783cd171.js → cont-cell-widget-defee27b.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9b79aad6.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7f6916a6.js} +5 -5
- package/{cont-widget-6b8775cb.js → cont-widget-1bf00342.js} +5 -5
- package/{content-wrapper-f3d6595a.js → content-wrapper-c912fa2c.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-fba41f3b.js → content-wrapper.vue_vue_type_script_setup_true_lang-b1b933c9.js} +2 -2
- package/{countdown-widget-368f16cd.js → countdown-widget-b77ca6ab.js} +16 -16
- package/{css-editor-28f4e72e.js → css-editor-84531b4b.js} +16 -16
- package/{cssClass-823604bf.js → cssClass-feca86ba.js} +2 -2
- package/{cssIndex-d6c2e4e2.js → cssIndex-c8ec8012.js} +2 -2
- package/{customClass-editor-7079b1d1.js → customClass-editor-ea521f17.js} +13 -13
- package/{date-picker-range-widget-c542ab5c.js → date-picker-range-widget-d8325e17.js} +15 -15
- package/{date-picker-widget-ccbf6aec.js → date-picker-widget-42468854.js} +15 -15
- package/{default-slot-widget-c712fe61.js → default-slot-widget-d22488e4.js} +14 -14
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f65a9abd.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5d53bca9.js} +6 -6
- package/{descriptions-widget-aec08a60.js → descriptions-widget-dfd391fb.js} +14 -14
- package/designer.es.js +32 -32
- package/designer.style.css +1 -1
- package/designer.umd.js +166 -166
- package/{dialog-5be79637.js → dialog-6dc6b937.js} +2 -2
- package/{dialog-widget-28d17af5.js → dialog-widget-6038e751.js} +15 -15
- package/{divider-widget-318bb5b1.js → divider-widget-df12cb62.js} +16 -16
- package/{drag-wrapper-05c35a82.js → drag-wrapper-699b990f.js} +7 -7
- package/{drawer-widget-ae53e43f.js → drawer-widget-7ca4bb92.js} +15 -15
- package/{dropdown-widget-dd32052a.js → dropdown-widget-5faca16f.js} +14 -14
- package/{editor-wrapper-c0a8e0b5.js → editor-wrapper-6f41e0d5.js} +10 -10
- package/{empty-widget-07c35688.js → empty-widget-6cbacb1e.js} +16 -16
- package/{enum-c74edfcf.js → enum-98f9eea5.js} +1 -1
- package/{expression-08322e80.js → expression-7fabf70c.js} +525 -514
- package/{feedback-widget-2f605939.js → feedback-widget-7c1aaed1.js} +15 -15
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e5f90a92.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c751e862.js} +5 -5
- package/{field-editor-1d777f1f.js → field-editor-bf654f43.js} +12 -12
- package/{file-upload-widget-b85edca4.js → file-upload-widget-14add598.js} +20 -20
- package/{form-item-wrapper-1deff814.js → form-item-wrapper-f6e226c6.js} +11 -11
- package/form-widget-43a9aa16.js +285 -0
- package/{globalProvideInject-f212abc9.js → globalProvideInject-497780eb.js} +1 -1
- package/{grid-col-widget-719a8743.js → grid-col-widget-f0639525.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-1ff2ea83.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5a743ab9.js} +5 -5
- package/{grid-widget-2c01f394.js → grid-widget-7334984d.js} +5 -5
- package/{hcard-widget-da52b8c0.js → hcard-widget-72a4bb5e.js} +14 -14
- package/{html-text-widget-cecb378a.js → html-text-widget-0bae8a9d.js} +14 -14
- package/{icon-widget-3f4e55f4.js → icon-widget-08ea8543.js} +13 -13
- package/{iframe-widget-be12b407.js → iframe-widget-da61af5c.js} +14 -14
- package/{image-editor-c620242d.js → image-editor-0ac74900.js} +13 -13
- package/{image-widget-a1ce03f1.js → image-widget-0f571db5.js} +13 -13
- package/{index-8e73a7d4.js → index-05856cfd.js} +7 -7
- package/{index-e38ae87b.js → index-0cb7be0a.js} +34 -34
- package/{index-27169287.js → index-110950bb.js} +1 -1
- package/{index-a36f80b1.js → index-30639d5a.js} +5 -5
- package/{index-e7190898.js → index-46a53700.js} +35 -35
- package/{index-f0a0d238.js → index-47a1af07.js} +7 -7
- package/{index-42298037.js → index-54fb31d8.js} +5 -5
- package/{index-89bb3708.js → index-580e000b.js} +3 -3
- package/{index-e1759f67.js → index-63b28030.js} +35 -35
- package/{index-39b38ae6.js → index-6c008c19.js} +8 -8
- package/{index-5b4d3c96.js → index-7d433850.js} +7 -7
- package/{index-56a1da2d.js → index-831c8f26.js} +36 -36
- package/{index-258a8c00.js → index-8b508157.js} +13 -13
- package/{index-d65565f4.js → index-8d0d6916.js} +35 -35
- package/{index-c7165d77.js → index-9bbb5803.js} +6 -6
- package/{index-3eca2b15.js → index-a09de843.js} +1 -1
- package/{index-6ddf1280.js → index-a9655fc7.js} +7 -7
- package/{index-e2f0630e.js → index-ada8841e.js} +12 -12
- package/{index-753ca261.js → index-c0ba6291.js} +35 -35
- package/{index-d5047a6d.js → index-e1451071.js} +16 -16
- package/{index-59918f85.js → index-e70f7517.js} +8 -8
- package/{index-c4fdc65c.js → index-fd23cb59.js} +5 -5
- package/{index-e9a9e388.js → index-fedd499e.js} +16 -16
- package/{input-number-widget-4d2d25c7.js → input-number-widget-768ea8d4.js} +15 -15
- package/{input-tag-widget-747aab86.js → input-tag-widget-563871bc.js} +16 -16
- package/{input-widget-347c6089.js → input-widget-bcb8d55b.js} +16 -16
- package/{install-designer-92deb360.js → install-designer-2d22d156.js} +26 -26
- package/{item-2bfedab7.js → item-ee8f43be.js} +2 -2
- package/{itemDetail-2425e842.js → itemDetail-8f82ff72.js} +2 -2
- package/{label-wrapper-36ceb582.js → label-wrapper-1243d194.js} +3 -3
- package/{label-wrapper.vue_vue_type_style_index_0_lang-20c976ac.js → label-wrapper.vue_vue_type_style_index_0_lang-dcb64891.js} +1 -1
- package/{link-widget-e23f6683.js → link-widget-53079d2c.js} +16 -16
- package/{ltable-col-widget-4216cdc9.js → ltable-col-widget-825dba88.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-115c0fdc.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-2c8db5b3.js} +8 -8
- package/{ltable-widget-c92f9662.js → ltable-widget-344dd4ad.js} +5 -5
- package/{mask-8d906a24.js → mask-4e771c62.js} +1 -1
- package/{mention-widget-48d67df8.js → mention-widget-55fb941b.js} +16 -16
- package/{menu-widget-ba103728.js → menu-widget-a1e01022.js} +14 -14
- package/{model-widget-2922b232.js → model-widget-66515fa2.js} +13 -13
- package/{multirow-b0f4b870.js → multirow-81bd98b0.js} +6 -6
- package/{multirow-widget-2ac12c86.js → multirow-widget-099acabd.js} +15 -15
- package/{name-editor-87742d84.js → name-editor-7d247ad1.js} +13 -13
- package/{optionItem-a05ea363.js → optionItem-93fffa00.js} +4 -4
- package/package.json +1 -1
- package/{pagination-widget-fe223942.js → pagination-widget-ba395e1a.js} +13 -13
- package/{picture-upload-widget-2c1ef0c3.js → picture-upload-widget-18ebc86f.js} +16 -16
- package/{progress-widget-1af49a79.js → progress-widget-33312dc1.js} +14 -14
- package/{property-base-e81decee.js → property-base-62062ad3.js} +3 -3
- package/{qrcode-widget-04ff5262.js → qrcode-widget-f324cfeb.js} +13 -13
- package/radio-widget-d8c975f6.js +99 -0
- package/{range-widget-a846de7c.js → range-widget-bf6e9529.js} +16 -16
- package/{rate-widget-6ae6f4a0.js → rate-widget-d0e447c7.js} +15 -15
- package/{reg-editor.vue_vue_type_script_setup_true_lang-3f734075.js → reg-editor.vue_vue_type_script_setup_true_lang-80c19b75.js} +2 -2
- package/{result-widget-03b54b9c.js → result-widget-25097161.js} +14 -14
- package/{rich-editor-widget-36b3b82c.js → rich-editor-widget-5a337929.js} +15 -15
- package/{router-widget-4deede02.js → router-widget-4c2c35f4.js} +13 -13
- package/{schemaData-f479819b.js → schemaData-4d67b05e.js} +5 -5
- package/{segmented-widget-c087451d.js → segmented-widget-d6c1ad2a.js} +13 -13
- package/{select-widget-a1769c70.js → select-widget-64b92665.js} +15 -15
- package/{sfc-b846183c.js → sfc-b7c50945.js} +9 -9
- package/{sfcview-d2a81e8e.js → sfcview-69a1ef10.js} +8 -8
- package/{share-editor-6a01b464.js → share-editor-0abc1925.js} +4 -4
- package/{share-event-47b116bd.js → share-event-f44a6897.js} +1 -1
- package/share-field-42f9a242.js +857 -0
- package/{share-file-979e00c7.js → share-file-038a6e35.js} +5 -5
- package/{size-editor-94ea4ecf.js → size-editor-b3c89eb9.js} +14 -14
- package/{skeleton-widget-c5697c6b.js → skeleton-widget-b4169542.js} +16 -16
- package/{skeletonItem-widget-4d1d0465.js → skeletonItem-widget-7ce9424a.js} +13 -13
- package/{slider-widget-52bf6fba.js → slider-widget-a21767c7.js} +15 -15
- package/{slot-6c4e19c1.js → slot-c13ca692.js} +3 -3
- package/{space-widget-2583c05e.js → space-widget-8b3fd437.js} +14 -14
- package/{splitter-widget-54442995.js → splitter-widget-8912f55d.js} +14 -14
- package/{static-text-widget-218ce570.js → static-text-widget-dc9874b2.js} +14 -14
- package/{statistic-widget-b237af41.js → statistic-widget-e3d8c9a1.js} +16 -16
- package/{steps-widget-c4a368c3.js → steps-widget-0f5dec71.js} +13 -13
- package/{subMenu-widget-fe400116.js → subMenu-widget-d52f4578.js} +6 -6
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-56483580.js → subMenu-widget.vue_vue_type_script_setup_true_lang-d42bbce9.js} +2 -2
- package/{switch-widget-bf3b0002.js → switch-widget-77358acf.js} +15 -15
- package/{tab-pane-widget-fcaa91c6.js → tab-pane-widget-3a603a55.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-05b00968.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1bac30a3.js} +5 -5
- package/{table-col-widget-304c5d4b.js → table-col-widget-1b92bdc4.js} +13 -13
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1c2ffc3e.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-592aeaaa.js} +6 -6
- package/table-widget-418cb111.js +345 -0
- package/{tabs-widget-ead5a380.js → tabs-widget-244b18c5.js} +7 -7
- package/{tag-widget-e956d366.js → tag-widget-2fce51e8.js} +16 -16
- package/{target-code-2f9238b0.js → target-code-688b58cc.js} +7 -7
- package/{target-datasource-2b21ef30.js → target-datasource-074d3d35.js} +36 -36
- package/{target-link-aeb4fe5d.js → target-link-3cdd49a4.js} +35 -35
- package/{target-saveForm-0f14b78d.js → target-saveForm-77acd703.js} +35 -35
- package/{target-widget-462756f3.js → target-widget-6c725f3b.js} +1 -1
- package/{target-window-369b9ba1.js → target-window-bdb48b26.js} +8 -8
- package/{text-widget-58aaa3c4.js → text-widget-8af5f7ae.js} +16 -16
- package/{textarea-widget-79203633.js → textarea-widget-81c7ec19.js} +15 -15
- package/{time-picker-range-widget-7731e3b8.js → time-picker-range-widget-545c1773.js} +15 -15
- package/{time-picker-widget-ef3fea46.js → time-picker-widget-f188ab8c.js} +15 -15
- package/{time-select-widget-4f3d9075.js → time-select-widget-6aae15b2.js} +15 -15
- package/{timeline-widget-57200937.js → timeline-widget-dec910a9.js} +14 -14
- package/{tmpl-widget-b286b00a.js → tmpl-widget-6669e970.js} +14 -14
- package/{tooltip-widget-461321e9.js → tooltip-widget-66d9c931.js} +14 -14
- package/{tour-widget-6f43ca16.js → tour-widget-f5e19fa6.js} +13 -13
- package/{transfer-widget-a5e6a638.js → transfer-widget-d3905cba.js} +16 -16
- package/{tree-select-widget-116e02bf.js → tree-select-widget-43bbc22a.js} +15 -15
- package/{tree-widget-9e542503.js → tree-widget-71794768.js} +13 -13
- package/{value-editor-0d5bb496.js → value-editor-3bbb0ca6.js} +12 -12
- package/{verifycode-widget-4a2f4001.js → verifycode-widget-817a68b4.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-70bba4cd.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js} +6 -6
- package/{wrapper-widget-b866b32b.js → wrapper-widget-e2a88ff9.js} +7 -7
- package/form-widget-86f19748.js +0 -284
- package/radio-widget-c5eef598.js +0 -95
- package/share-field-ce8b8776.js +0 -863
- package/table-widget-77df1e1c.js +0 -347
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as B, computed as w, resolveComponent as I, openBlock as l, createBlock as c, mergeProps as V, unref as r, withCtx as p, createElementBlock as y, Fragment as m, createVNode as S, renderList as x, createTextVNode as Y, toDisplayString as f, createElementVNode as C, isRef as Z, toHandlers as tt, resolveDynamicComponent as O } from "vue";
|
|
2
2
|
import { I as ot } from "./field-base-66c90648.js";
|
|
3
|
-
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { b as rt } from "./share-field-
|
|
5
|
-
import { w as nt } from "./expression-
|
|
6
|
-
import { b as st, v as lt, f as at } from "./baseCommonField-
|
|
3
|
+
import { _ as et } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js";
|
|
4
|
+
import { b as rt } from "./share-field-42f9a242.js";
|
|
5
|
+
import { w as nt } from "./expression-7fabf70c.js";
|
|
6
|
+
import { b as st, v as lt, f as at } from "./baseCommonField-bc463e95.js";
|
|
7
7
|
import { u as ct } from "./icon-8b8b9744.js";
|
|
8
|
-
import { a5 as v, ar as T } from "./enum-
|
|
9
|
-
import { e as pt } from "./slot-
|
|
10
|
-
import { a as h } from "./index-
|
|
8
|
+
import { a5 as v, ar as T } from "./enum-98f9eea5.js";
|
|
9
|
+
import { e as pt } from "./slot-c13ca692.js";
|
|
10
|
+
import { a as h } from "./index-a09de843.js";
|
|
11
11
|
import { t as ut } from "./index-31e1760d.js";
|
|
12
12
|
import "./widget-base-df734ada.js";
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-9bbb5803.js";
|
|
14
14
|
import "./object-17739dda.js";
|
|
15
|
-
import "./optionItem-
|
|
15
|
+
import "./optionItem-93fffa00.js";
|
|
16
16
|
import "./baseDataType-af503f9f.js";
|
|
17
|
-
import "./index-
|
|
17
|
+
import "./index-110950bb.js";
|
|
18
18
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
19
|
import "./index-1fb81d5a.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0681977e.js";
|
|
22
|
-
import "./globalProvideInject-
|
|
22
|
+
import "./globalProvideInject-497780eb.js";
|
|
23
23
|
import "./emitter-01bda185.js";
|
|
24
|
-
import "./multirow-
|
|
24
|
+
import "./multirow-81bd98b0.js";
|
|
25
25
|
import "./uuid-1013bfdd.js";
|
|
26
26
|
import "./source-map-b04aec4a.js";
|
|
27
27
|
import "./esprima-e8d15055.js";
|
|
28
28
|
import "axios";
|
|
29
|
-
import "./dialog-
|
|
29
|
+
import "./dialog-6dc6b937.js";
|
|
30
30
|
import "element-plus";
|
|
31
31
|
import "./index-346c8ade.js";
|
|
32
32
|
const it = B({ componentName: nt.FieldWidget }), Gt = /* @__PURE__ */ B({
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { defineComponent as c, computed as O, resolveComponent as S, openBlock as m, createBlock as a, mergeProps as l, unref as r, withCtx as f, isRef as x, toHandlers as z, createSlots as A, renderList as I, resolveDynamicComponent as W, createCommentVNode as u } from "vue";
|
|
2
|
-
import { a as h } from "./index-
|
|
2
|
+
import { a as h } from "./index-a09de843.js";
|
|
3
3
|
import { I as B } from "./field-base-66c90648.js";
|
|
4
|
-
import { b as E } from "./share-field-
|
|
5
|
-
import { g as L } from "./slot-
|
|
6
|
-
import P from "./form-item-wrapper-
|
|
7
|
-
import { w as T } from "./expression-
|
|
8
|
-
import { D as $ } from "./drag-wrapper-
|
|
4
|
+
import { b as E } from "./share-field-42f9a242.js";
|
|
5
|
+
import { g as L } from "./slot-c13ca692.js";
|
|
6
|
+
import P from "./form-item-wrapper-f6e226c6.js";
|
|
7
|
+
import { w as T } from "./expression-7fabf70c.js";
|
|
8
|
+
import { D as $ } from "./drag-wrapper-699b990f.js";
|
|
9
9
|
import "./object-17739dda.js";
|
|
10
10
|
import "./widget-base-df734ada.js";
|
|
11
11
|
import "./emitter-01bda185.js";
|
|
12
12
|
import "./icon-8b8b9744.js";
|
|
13
|
-
import "./baseCommonField-
|
|
14
|
-
import "./enum-
|
|
13
|
+
import "./baseCommonField-bc463e95.js";
|
|
14
|
+
import "./enum-98f9eea5.js";
|
|
15
15
|
import "./baseDataType-af503f9f.js";
|
|
16
16
|
import "axios";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-6dc6b937.js";
|
|
18
18
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
19
|
import "./uuid-1013bfdd.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./globalProvideInject-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./optionItem-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./multirow-
|
|
21
|
+
import "./globalProvideInject-497780eb.js";
|
|
22
|
+
import "./index-9bbb5803.js";
|
|
23
|
+
import "./optionItem-93fffa00.js";
|
|
24
|
+
import "./index-110950bb.js";
|
|
25
|
+
import "./multirow-81bd98b0.js";
|
|
26
26
|
import "./index-346c8ade.js";
|
|
27
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
27
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js";
|
|
28
28
|
import "./index-1fb81d5a.js";
|
|
29
29
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
30
30
|
import "./fieldobj-0681977e.js";
|
|
31
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
31
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-dcb64891.js";
|
|
32
32
|
import "./source-map-b04aec4a.js";
|
|
33
33
|
import "./esprima-e8d15055.js";
|
|
34
34
|
const H = c({ componentName: T.FieldWidget }), Ve = /* @__PURE__ */ c({
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { defineComponent as D, computed as a, resolveComponent as te, openBlock as s, createBlock as p, mergeProps as b, unref as l, withCtx as d, toHandlers as W, createSlots as A, resolveDynamicComponent as i, createCommentVNode as C } from "vue";
|
|
2
|
-
import { s as f, t as B } from "./index-
|
|
2
|
+
import { s as f, t as B } from "./index-a09de843.js";
|
|
3
3
|
import { I as oe } from "./field-base-66c90648.js";
|
|
4
|
-
import { b as le } from "./share-field-
|
|
5
|
-
import re from "./form-item-wrapper-
|
|
6
|
-
import { g as v, w as ae } from "./expression-
|
|
4
|
+
import { b as le } from "./share-field-42f9a242.js";
|
|
5
|
+
import re from "./form-item-wrapper-f6e226c6.js";
|
|
6
|
+
import { g as v, w as ae } from "./expression-7fabf70c.js";
|
|
7
7
|
import "./object-17739dda.js";
|
|
8
8
|
import "./widget-base-df734ada.js";
|
|
9
9
|
import "./emitter-01bda185.js";
|
|
10
10
|
import "./icon-8b8b9744.js";
|
|
11
|
-
import "./baseCommonField-
|
|
12
|
-
import "./enum-
|
|
11
|
+
import "./baseCommonField-bc463e95.js";
|
|
12
|
+
import "./enum-98f9eea5.js";
|
|
13
13
|
import "./baseDataType-af503f9f.js";
|
|
14
14
|
import "axios";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-6dc6b937.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "./uuid-1013bfdd.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./globalProvideInject-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./multirow-
|
|
24
|
-
import "./slot-
|
|
19
|
+
import "./globalProvideInject-497780eb.js";
|
|
20
|
+
import "./index-9bbb5803.js";
|
|
21
|
+
import "./optionItem-93fffa00.js";
|
|
22
|
+
import "./index-110950bb.js";
|
|
23
|
+
import "./multirow-81bd98b0.js";
|
|
24
|
+
import "./slot-c13ca692.js";
|
|
25
25
|
import "./index-346c8ade.js";
|
|
26
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
26
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js";
|
|
27
27
|
import "./index-1fb81d5a.js";
|
|
28
28
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
29
29
|
import "./fieldobj-0681977e.js";
|
|
30
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
30
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-dcb64891.js";
|
|
31
31
|
import "./source-map-b04aec4a.js";
|
|
32
32
|
import "./esprima-e8d15055.js";
|
|
33
33
|
const se = D({ componentName: ae.FieldWidget }), Ae = /* @__PURE__ */ D({
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as h, computed as p, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as b, unref as l, 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-66c90648.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-
|
|
5
|
-
import { g as a, w as G } from "./expression-
|
|
6
|
-
import { s as i } from "./index-
|
|
3
|
+
import { b as U } from "./share-field-42f9a242.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js";
|
|
5
|
+
import { g as a, w as G } from "./expression-7fabf70c.js";
|
|
6
|
+
import { s as i } from "./index-a09de843.js";
|
|
7
7
|
import "./widget-base-df734ada.js";
|
|
8
8
|
import "./object-17739dda.js";
|
|
9
9
|
import "./emitter-01bda185.js";
|
|
10
10
|
import "./icon-8b8b9744.js";
|
|
11
|
-
import "./baseCommonField-
|
|
12
|
-
import "./enum-
|
|
11
|
+
import "./baseCommonField-bc463e95.js";
|
|
12
|
+
import "./enum-98f9eea5.js";
|
|
13
13
|
import "./baseDataType-af503f9f.js";
|
|
14
14
|
import "axios";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-6dc6b937.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "./uuid-1013bfdd.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./globalProvideInject-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./multirow-
|
|
24
|
-
import "./slot-
|
|
19
|
+
import "./globalProvideInject-497780eb.js";
|
|
20
|
+
import "./index-9bbb5803.js";
|
|
21
|
+
import "./optionItem-93fffa00.js";
|
|
22
|
+
import "./index-110950bb.js";
|
|
23
|
+
import "./multirow-81bd98b0.js";
|
|
24
|
+
import "./slot-c13ca692.js";
|
|
25
25
|
import "./index-346c8ade.js";
|
|
26
26
|
import "./index-1fb81d5a.js";
|
|
27
27
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as N, ref as O, openBlock as l, createBlock as n, normalizeProps as S, guardReactiveProps as z, withCtx as h, createVNode as y, mergeProps as s, unref as o, createElementVNode as b, createElementBlock as k, Fragment as D, renderList as L, createCommentVNode as m } from "vue";
|
|
2
2
|
import { ElSelect as R, ElOption as U } from "element-plus";
|
|
3
|
-
import { I as W } from "./property-base-
|
|
4
|
-
import { E as j, O as u } from "./editor-wrapper-
|
|
5
|
-
import { d as q, h as f, a as d } from "./index-
|
|
6
|
-
import { at as E, aT as r, C as M } from "./enum-
|
|
7
|
-
import { u as A } from "./share-editor-
|
|
3
|
+
import { I as W } from "./property-base-62062ad3.js";
|
|
4
|
+
import { E as j, O as u } from "./editor-wrapper-6f41e0d5.js";
|
|
5
|
+
import { d as q, h as f, a as d } from "./index-a09de843.js";
|
|
6
|
+
import { at as E, aT as r, C as M } from "./enum-98f9eea5.js";
|
|
7
|
+
import { u as A } from "./share-editor-0abc1925.js";
|
|
8
8
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./baseCommonField-
|
|
9
|
+
import "./baseCommonField-bc463e95.js";
|
|
10
10
|
import "./object-17739dda.js";
|
|
11
|
-
import "./expression-
|
|
11
|
+
import "./expression-7fabf70c.js";
|
|
12
12
|
import "./source-map-b04aec4a.js";
|
|
13
13
|
import "./uuid-1013bfdd.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -16,12 +16,12 @@ import "./baseDataType-af503f9f.js";
|
|
|
16
16
|
import "./esprima-e8d15055.js";
|
|
17
17
|
import "./icon-8b8b9744.js";
|
|
18
18
|
import "axios";
|
|
19
|
-
import "./dialog-
|
|
20
|
-
import "./share-event-
|
|
19
|
+
import "./dialog-6dc6b937.js";
|
|
20
|
+
import "./share-event-f44a6897.js";
|
|
21
21
|
import "./emitter-01bda185.js";
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./optionItem-
|
|
24
|
-
import "./index-
|
|
22
|
+
import "./index-9bbb5803.js";
|
|
23
|
+
import "./optionItem-93fffa00.js";
|
|
24
|
+
import "./index-110950bb.js";
|
|
25
25
|
import "./index-1fb81d5a.js";
|
|
26
26
|
import "./codeType-e06c2bb4.js";
|
|
27
27
|
const G = /* @__PURE__ */ N({
|
|
@@ -1,30 +1,30 @@
|
|
|
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
|
-
import { B as V, w as z } from "./expression-
|
|
2
|
+
import { B as V, w as z } from "./expression-7fabf70c.js";
|
|
3
3
|
import { I as B } from "./field-base-66c90648.js";
|
|
4
|
-
import { b as T } from "./share-field-
|
|
5
|
-
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { b as T } from "./share-field-42f9a242.js";
|
|
5
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js";
|
|
6
6
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
8
|
import "./object-17739dda.js";
|
|
9
9
|
import "./uuid-1013bfdd.js";
|
|
10
|
-
import "./index-
|
|
10
|
+
import "./index-a09de843.js";
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
12
|
import "./baseDataType-af503f9f.js";
|
|
13
13
|
import "./esprima-e8d15055.js";
|
|
14
14
|
import "./widget-base-df734ada.js";
|
|
15
15
|
import "./emitter-01bda185.js";
|
|
16
16
|
import "./icon-8b8b9744.js";
|
|
17
|
-
import "./baseCommonField-
|
|
18
|
-
import "./enum-
|
|
17
|
+
import "./baseCommonField-bc463e95.js";
|
|
18
|
+
import "./enum-98f9eea5.js";
|
|
19
19
|
import "axios";
|
|
20
|
-
import "./dialog-
|
|
20
|
+
import "./dialog-6dc6b937.js";
|
|
21
21
|
import "element-plus";
|
|
22
|
-
import "./globalProvideInject-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./optionItem-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./multirow-
|
|
27
|
-
import "./slot-
|
|
22
|
+
import "./globalProvideInject-497780eb.js";
|
|
23
|
+
import "./index-9bbb5803.js";
|
|
24
|
+
import "./optionItem-93fffa00.js";
|
|
25
|
+
import "./index-110950bb.js";
|
|
26
|
+
import "./multirow-81bd98b0.js";
|
|
27
|
+
import "./slot-c13ca692.js";
|
|
28
28
|
import "./index-346c8ade.js";
|
|
29
29
|
import "./index-1fb81d5a.js";
|
|
30
30
|
import "./fieldobj-0681977e.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as se, resolveComponent as J, openBlock as d, createElementBlock as h, Fragment as A, createVNode as r, createCommentVNode as W, createBlock as C, createSlots as x, withCtx as a, createElementVNode as M, renderList as ee, createTextVNode as $, toDisplayString as b, withModifiers as w, unref as o, renderSlot as j, computed as c, ref as te, resolveDynamicComponent as ne, mergeProps as q, toHandlers as ue } from "vue";
|
|
2
|
-
import { g, B as ie } from "./expression-
|
|
3
|
-
import { a as v, m as me, c as fe } from "./index-
|
|
2
|
+
import { g, B as ie } from "./expression-7fabf70c.js";
|
|
3
|
+
import { a as v, m as me, c as fe } from "./index-a09de843.js";
|
|
4
4
|
import { I as ge, a as ve } from "./widget-base-df734ada.js";
|
|
5
|
-
import { u as le } from "./index-
|
|
5
|
+
import { u as le } from "./index-9bbb5803.js";
|
|
6
6
|
import { S as f } from "./index-1fb81d5a.js";
|
|
7
|
-
import { j as ye, W as Q, B as we } from "./baseCommonField-
|
|
7
|
+
import { j as ye, W as Q, B as we } from "./baseCommonField-bc463e95.js";
|
|
8
8
|
import { u as he } from "./fieldobj-0681977e.js";
|
|
9
|
-
import { F as ce } from "./globalProvideInject-
|
|
10
|
-
import { S as We } from "./optionItem-
|
|
9
|
+
import { F as ce } from "./globalProvideInject-497780eb.js";
|
|
10
|
+
import { S as We } from "./optionItem-93fffa00.js";
|
|
11
11
|
const Ce = { key: 0 }, ke = { class: "clWhite" }, Le = { class: "clWhite" }, $e = ["title"], be = ["title"], Se = ["title"], Ie = ["title"], Te = /* @__PURE__ */ se({
|
|
12
12
|
__name: "drag-handler",
|
|
13
13
|
props: { ...ge, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as v, watch as h, defineComponent as W, computed as y, openBlock as b, createBlock as P, mergeProps as w, unref as i, withCtx as j, createElementBlock as O, normalizeClass as L, createVNode as S, createCommentVNode as z } from "vue";
|
|
2
2
|
import { I as D } from "./widget-base-df734ada.js";
|
|
3
|
-
import { D as F } from "./drag-wrapper-
|
|
4
|
-
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as k } from "./expression-
|
|
6
|
-
import { W as C } from "./enum-
|
|
7
|
-
import { b as A, u as B } from "./share-field-
|
|
8
|
-
import { c as I } from "./cssClass-
|
|
9
|
-
import { F as N } from "./globalProvideInject-
|
|
3
|
+
import { D as F } from "./drag-wrapper-699b990f.js";
|
|
4
|
+
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js";
|
|
5
|
+
import { w as k } from "./expression-7fabf70c.js";
|
|
6
|
+
import { W as C } from "./enum-98f9eea5.js";
|
|
7
|
+
import { b as A, u as B } from "./share-field-42f9a242.js";
|
|
8
|
+
import { c as I } from "./cssClass-feca86ba.js";
|
|
9
|
+
import { F as N } from "./globalProvideInject-497780eb.js";
|
|
10
10
|
function $(n) {
|
|
11
11
|
const d = v({}), { componentWrapperClass: m, customClass: r } = I({ widget: n.widget }), { exposed: t, attrs: l, extendAttrs: f, fieldKey: u, fieldObj: _ } = A(n), { setAllRefList: p } = B(d.value), o = (s = !1) => {
|
|
12
12
|
var e;
|
package/form-widget-86f19748.js
DELETED
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
import { ref as ee, reactive as Q, onMounted as pe, nextTick as xe, defineComponent as ve, computed as X, inject as Ee, watch as Ae, resolveComponent as Me, resolveDirective as Pe, openBlock as le, createBlock as de, mergeProps as Y, unref as g, withCtx as re, withDirectives as Re, toHandlers as Ne, withModifiers as $e, createVNode as ke } from "vue";
|
|
2
|
-
import { I as Be } from "./widget-base-df734ada.js";
|
|
3
|
-
import { D as Ie } from "./drag-wrapper-05c35a82.js";
|
|
4
|
-
import { _ as qe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-70bba4cd.js";
|
|
5
|
-
import { w as te, f as se, g as z, a as A, n as Te, o as ze, d as He } from "./expression-08322e80.js";
|
|
6
|
-
import { u as Ke } from "./icon-8b8b9744.js";
|
|
7
|
-
import { u as Ue } from "./emitter-01bda185.js";
|
|
8
|
-
import { c as Ge, i as Je, h as Z, q as ue, a as ge, d as ce, u as fe } from "./index-3eca2b15.js";
|
|
9
|
-
import { f as Qe } from "./index-c7165d77.js";
|
|
10
|
-
import { b as Xe, u as Ye } from "./share-field-ce8b8776.js";
|
|
11
|
-
import { W as Ze } from "./enum-c74edfcf.js";
|
|
12
|
-
import { c as et, d as me, $ as tt, B as at } from "./baseCommonField-6ac66394.js";
|
|
13
|
-
import { a as nt, h as ot, j as it } from "./object-17739dda.js";
|
|
14
|
-
import { u as lt } from "./multirow-b0f4b870.js";
|
|
15
|
-
import { F as dt } from "./globalProvideInject-f212abc9.js";
|
|
16
|
-
import { l as rt } from "./loading-4a13a1bc.js";
|
|
17
|
-
import { _ as st } from "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
function ut(u, L) {
|
|
19
|
-
const { getWidgetOption: m, getWidgetOptionByPropValue: C } = et(u, L), b = (c) => m(c);
|
|
20
|
-
return {
|
|
21
|
-
existFunc: b,
|
|
22
|
-
handleFunc: (c, j) => {
|
|
23
|
-
if (nt(c)) {
|
|
24
|
-
var W = b(String(c));
|
|
25
|
-
return me(W, j);
|
|
26
|
-
} else {
|
|
27
|
-
var W = C(Ge(c));
|
|
28
|
-
return me(W, j);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function ct(u) {
|
|
34
|
-
const L = u.widget, m = u.designer, C = m == null ? void 0 : m.pageConfig, b = u == null ? void 0 : u.widgetList, F = ee({}), c = {}, { fieldModel: j, fieldName: W, fieldEditor: f, attrs: $, events: S, hasFieldOptions: k, exposed: x, fieldObj: H, watchOption: B, propResultOpt: D, extendAttrs: M } = Xe(u), { off$: V, on$: P, emit$: I, broadcast: n } = Ue();
|
|
35
|
-
var { instance: l } = Ke();
|
|
36
|
-
const { setAllRefList: E } = Ye(F.value), y = { designState: u == null ? void 0 : u.designState, pageConfig: C, globalConfig: D == null ? void 0 : D.globalConfig }, { formModel: h, setData: q, getData: O, clearData: R } = lt(b, { ...y }, l), { handleFunc: K } = ut({ options: C }, y), U = Q({}), he = () => {
|
|
37
|
-
V(A.fieldChange), P(A.fieldChange, (e) => {
|
|
38
|
-
We(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), x == null || x.setValue(h), Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
39
|
-
});
|
|
40
|
-
}, _e = () => {
|
|
41
|
-
V(A.fieldValidation), P(A.fieldValidation, (e) => {
|
|
42
|
-
var t;
|
|
43
|
-
(t = f.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
44
|
-
});
|
|
45
|
-
}, be = () => {
|
|
46
|
-
V(A.fieldRuleChange), P(A.fieldRuleChange, (e) => {
|
|
47
|
-
var a;
|
|
48
|
-
var t = (a = e == null ? void 0 : e.rules) == null ? void 0 : a.map((o) => ({
|
|
49
|
-
required: o.required,
|
|
50
|
-
message: o.message,
|
|
51
|
-
trigger: o.trigger,
|
|
52
|
-
validator: o.validator
|
|
53
|
-
}));
|
|
54
|
-
Object.assign(U, { [e == null ? void 0 : e.fieldName]: t }), $.value.rules = U;
|
|
55
|
-
});
|
|
56
|
-
}, G = ee(!1), J = Q({}), T = Q({}), ae = (e) => {
|
|
57
|
-
ue(T), ce(T, e);
|
|
58
|
-
}, Ce = () => ({
|
|
59
|
-
change_info: Z(J),
|
|
60
|
-
before_info: Z(T),
|
|
61
|
-
after_info: Z(h),
|
|
62
|
-
flag: G.value
|
|
63
|
-
}), Fe = (e, t, a) => {
|
|
64
|
-
var o = T[e];
|
|
65
|
-
fe(t, a) || fe(t, o) || (G.value = !0, e && ce(J, { [e]: { oldValue: o, newValue: t, beforeValue: a } }));
|
|
66
|
-
}, we = () => {
|
|
67
|
-
G.value = !1, ue(J), ae(O());
|
|
68
|
-
}, We = (e, t, a) => {
|
|
69
|
-
K(S.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: a }, formModel: h });
|
|
70
|
-
}, Se = () => {
|
|
71
|
-
K(S.value.formCreated);
|
|
72
|
-
}, De = () => {
|
|
73
|
-
K(S.value.formMounted);
|
|
74
|
-
}, Ve = () => {
|
|
75
|
-
be(), he(), _e(), Se();
|
|
76
|
-
}, ye = (e) => {
|
|
77
|
-
var t;
|
|
78
|
-
(t = f.value) == null || t.clearValidate(e);
|
|
79
|
-
}, Oe = () => {
|
|
80
|
-
E(Ze.resetField), xe(() => {
|
|
81
|
-
ye();
|
|
82
|
-
});
|
|
83
|
-
}, ne = (e, t) => {
|
|
84
|
-
let a = [];
|
|
85
|
-
for (let v in e) {
|
|
86
|
-
var o = e[v], d = o == null ? void 0 : o.filter((r) => (r == null ? void 0 : r.force) === t);
|
|
87
|
-
d == null || d.forEach((r) => {
|
|
88
|
-
var s;
|
|
89
|
-
const _ = (s = r == null ? void 0 : r.rule) == null ? void 0 : s.label;
|
|
90
|
-
r.message && a.push(Te(_ ? "【" + _ + "】" : "", r.message, ":"));
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
return ze(a);
|
|
94
|
-
}, Le = (e, t) => {
|
|
95
|
-
var a = {};
|
|
96
|
-
return Qe(t, (o) => {
|
|
97
|
-
var d = at.getName(o), v = ot(e, d);
|
|
98
|
-
return v && (a[d] = e[d]), v;
|
|
99
|
-
}, !1), a;
|
|
100
|
-
}, je = (e = !0) => {
|
|
101
|
-
var d, v, r;
|
|
102
|
-
let t = O(), a = function() {
|
|
103
|
-
}, o = new Promise(function(_, s) {
|
|
104
|
-
a = function(p, i) {
|
|
105
|
-
(i ? s : _)({ data: p, isSuccess: !i, message: i });
|
|
106
|
-
};
|
|
107
|
-
});
|
|
108
|
-
return !((d = f.value) != null && d.validate) || !e ? (a(t), o) : ((r = (v = f.value) == null ? void 0 : v.validate) == null || r.call(v, (_, s) => {
|
|
109
|
-
if (_)
|
|
110
|
-
a(t);
|
|
111
|
-
else {
|
|
112
|
-
var p = ne(s, !0);
|
|
113
|
-
if (p && p.length > 0) {
|
|
114
|
-
a(t, p);
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
var i = ne(s, !1);
|
|
118
|
-
if (i && i.length > 0) {
|
|
119
|
-
i.push(ge.i18nt("designer.hint.continue")), tt.multiple(i).then((w) => {
|
|
120
|
-
a(t);
|
|
121
|
-
});
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}), o);
|
|
126
|
-
}, oe = (e, t = !0) => {
|
|
127
|
-
if (L) {
|
|
128
|
-
var a = Le(e, [L]);
|
|
129
|
-
q(a, t), n(te.ContainerWidget, se.setFormData, e, [F.value]), n(te.FieldWidget, se.setFormData, e, [F.value]);
|
|
130
|
-
}
|
|
131
|
-
}, ie = (e) => new Promise((t, a) => {
|
|
132
|
-
const o = (s, p) => {
|
|
133
|
-
var N;
|
|
134
|
-
const i = (N = M.value) == null ? void 0 : N.formDataLoaded;
|
|
135
|
-
let w = i ? i == null ? void 0 : i(O(), s) : s;
|
|
136
|
-
it(w) ? oe(w, !p) : w = {}, ae(w), t(w);
|
|
137
|
-
}, d = () => {
|
|
138
|
-
const s = (p) => {
|
|
139
|
-
o(p, !0);
|
|
140
|
-
};
|
|
141
|
-
B(z.newDataSource, void 0, s);
|
|
142
|
-
}, v = () => {
|
|
143
|
-
const s = (p) => {
|
|
144
|
-
var N;
|
|
145
|
-
const i = (N = M.value) == null ? void 0 : N.needFormAdd;
|
|
146
|
-
if ((i == null ? void 0 : i(p)) && _) {
|
|
147
|
-
d();
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
o(p, !1);
|
|
151
|
-
};
|
|
152
|
-
B(z.editDataSource, void 0, s);
|
|
153
|
-
}, r = k(z.editDataSource), _ = k(z.newDataSource);
|
|
154
|
-
r ? v() : _ && d();
|
|
155
|
-
});
|
|
156
|
-
return Ve(), pe(() => {
|
|
157
|
-
Je(), De();
|
|
158
|
-
}), {
|
|
159
|
-
widgetRefList: F,
|
|
160
|
-
allWidgetRefList: c,
|
|
161
|
-
fieldEditor: f,
|
|
162
|
-
formModel: h,
|
|
163
|
-
pageConfig: C,
|
|
164
|
-
widgetList: b,
|
|
165
|
-
fieldModel: j,
|
|
166
|
-
fieldName: W,
|
|
167
|
-
attrs: $,
|
|
168
|
-
extendAttrs: M,
|
|
169
|
-
events: S,
|
|
170
|
-
rules: U,
|
|
171
|
-
loadData: ie,
|
|
172
|
-
clearData: R,
|
|
173
|
-
exposed: {
|
|
174
|
-
...x,
|
|
175
|
-
setValue: oe,
|
|
176
|
-
getValue: je,
|
|
177
|
-
resetField: Oe,
|
|
178
|
-
clearData: R,
|
|
179
|
-
loadData: ie,
|
|
180
|
-
getData: O,
|
|
181
|
-
//修改痕迹
|
|
182
|
-
clearChangeRecord: we,
|
|
183
|
-
getChangeRecord: Ce,
|
|
184
|
-
emit$: I
|
|
185
|
-
},
|
|
186
|
-
fieldObj: H
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
const ft = ve({ componentName: te.ContainerWidget }), mt = /* @__PURE__ */ ve({
|
|
190
|
-
...ft,
|
|
191
|
-
__name: "form-widget",
|
|
192
|
-
props: { ...Be },
|
|
193
|
-
setup(u, { expose: L }) {
|
|
194
|
-
var I;
|
|
195
|
-
const m = u, { exposed: C, formModel: b, fieldEditor: F, attrs: c, events: j, widgetRefList: W, extendAttrs: f, fieldName: $, fieldObj: S, loadData: k } = ct({ ...m, widgetList: (I = m == null ? void 0 : m.widget) == null ? void 0 : I.widgetList }), x = $.value, H = X(() => {
|
|
196
|
-
var n, l;
|
|
197
|
-
return {
|
|
198
|
-
disabled: (n = c.value) == null ? void 0 : n.disabled,
|
|
199
|
-
readonly: (l = f.value) == null ? void 0 : l.readonly
|
|
200
|
-
};
|
|
201
|
-
}), B = X(() => {
|
|
202
|
-
var n, l, E, y, h;
|
|
203
|
-
return {
|
|
204
|
-
size: (n = c.value) == null ? void 0 : n.size,
|
|
205
|
-
labelWidth: (l = c.value) == null ? void 0 : l.labelWidth,
|
|
206
|
-
labelSuffix: (E = c.value) == null ? void 0 : E.labelSuffix,
|
|
207
|
-
labelAlign: (y = f.value) == null ? void 0 : y.labelAlign,
|
|
208
|
-
displayLayout: (h = f.value) == null ? void 0 : h.displayLayout,
|
|
209
|
-
inForm: !0
|
|
210
|
-
};
|
|
211
|
-
}), D = ee(!1), M = X(() => {
|
|
212
|
-
var n;
|
|
213
|
-
return !m.designState && D.value && ((n = f.value) == null ? void 0 : n.showLoading);
|
|
214
|
-
});
|
|
215
|
-
dt.globalProvide({
|
|
216
|
-
globalFormName: x,
|
|
217
|
-
globalDataModel: b,
|
|
218
|
-
globalFormOptions: B,
|
|
219
|
-
globalWrapperOptions: H
|
|
220
|
-
});
|
|
221
|
-
const V = Ee(He.isRenderComplete), P = Ae(() => V == null ? void 0 : V.value, (n) => {
|
|
222
|
-
var l;
|
|
223
|
-
n && ((l = F.value) == null || l.validate(), P());
|
|
224
|
-
});
|
|
225
|
-
return pe(() => {
|
|
226
|
-
var n;
|
|
227
|
-
(n = f.value) != null && n.loadDataWhenInit && !m.designState && (D.value = !0, k(!0).catch((l) => {
|
|
228
|
-
}).finally(() => {
|
|
229
|
-
D.value = !1, C.clearChangeRecord();
|
|
230
|
-
}));
|
|
231
|
-
}), L({ ...C }), (n, l) => {
|
|
232
|
-
const E = Me("el-form"), y = Pe("loading");
|
|
233
|
-
return le(), de(qe, Y(n.$props, {
|
|
234
|
-
"prop-options": { fieldObj: g(S) }
|
|
235
|
-
}), {
|
|
236
|
-
default: re(({ data: h }) => {
|
|
237
|
-
var q, O;
|
|
238
|
-
return [
|
|
239
|
-
Re((le(), de(E, Y({
|
|
240
|
-
ref_key: "fieldEditor",
|
|
241
|
-
ref: F,
|
|
242
|
-
model: g(b)
|
|
243
|
-
}, g(c), Ne(g(j)), {
|
|
244
|
-
class: [...h.injectClass],
|
|
245
|
-
key: (q = g(S)) == null ? void 0 : q.fieldKey,
|
|
246
|
-
onSubmit: l[0] || (l[0] = $e(() => {
|
|
247
|
-
}, ["prevent"])),
|
|
248
|
-
"element-loading-text": ((O = g(f)) == null ? void 0 : O.loadingText) || g(ge).i18nt("designer.hint.loading"),
|
|
249
|
-
"element-loading-svg": g(rt)
|
|
250
|
-
}), {
|
|
251
|
-
default: re(() => {
|
|
252
|
-
var R;
|
|
253
|
-
return [
|
|
254
|
-
ke(Ie, Y(n.$props, {
|
|
255
|
-
dragClass: "formDrag padSize",
|
|
256
|
-
model: g(b),
|
|
257
|
-
provideModel: !0,
|
|
258
|
-
"component-class": h.componentWrapperClass,
|
|
259
|
-
refList: g(W),
|
|
260
|
-
"show-suspense": (R = g(f)) == null ? void 0 : R.showSuspense,
|
|
261
|
-
"parent-widget": n.widget,
|
|
262
|
-
"parent-tree": n.parentTree
|
|
263
|
-
}), null, 16, ["model", "component-class", "refList", "show-suspense", "parent-widget", "parent-tree"])
|
|
264
|
-
];
|
|
265
|
-
}),
|
|
266
|
-
_: 2
|
|
267
|
-
}, 1040, ["model", "class", "element-loading-text", "element-loading-svg"])), [
|
|
268
|
-
[y, M.value]
|
|
269
|
-
])
|
|
270
|
-
];
|
|
271
|
-
}),
|
|
272
|
-
_: 1
|
|
273
|
-
}, 16, ["prop-options"]);
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
});
|
|
277
|
-
const pt = /* @__PURE__ */ st(mt, [["__scopeId", "data-v-839bded8"]]), Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
278
|
-
__proto__: null,
|
|
279
|
-
default: pt
|
|
280
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
281
|
-
export {
|
|
282
|
-
Et as _,
|
|
283
|
-
ut as u
|
|
284
|
-
};
|