hldesigner 0.0.301 → 0.0.303
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-cb63e0d3.js → _pdf-626e915e.js} +1 -1
- package/{_share_image-fff8050c.js → _share_image-fedad0aa.js} +1 -1
- package/{_share_size.vue_vue_type_script_setup_true_lang-aef5fb46.js → _share_size.vue_vue_type_script_setup_true_lang-5f4a5908.js} +2 -2
- package/{_txt-a1934e64.js → _txt-eea70f7a.js} +1 -1
- package/{affix-widget-80d5ba2b.js → affix-widget-3e0cf833.js} +11 -11
- package/{alert-widget-4320eb76.js → alert-widget-ae4f5c9f.js} +11 -11
- package/{anchor-widget-3f1d09a6.js → anchor-widget-5df90649.js} +8 -8
- package/{auto-complete-widget-34128187.js → auto-complete-widget-b47321dd.js} +10 -10
- package/{avatar-widget-9308f456.js → avatar-widget-244fbc15.js} +11 -11
- package/{backtop-widget-f8e71253.js → backtop-widget-21c67516.js} +11 -11
- package/{badge-widget-eaf42411.js → badge-widget-6ecebeb5.js} +11 -11
- package/{barcode-widget-893cce97.js → barcode-widget-f847b66b.js} +8 -8
- package/{baseCommonField-bc463e95.js → baseCommonField-e8a33156.js} +87 -87
- package/{breadcrumb-widget-31044351.js → breadcrumb-widget-11f4c697.js} +8 -8
- package/{button-widget-8b14ec52.js → button-widget-b2c9be5a.js} +11 -11
- package/{cache-widget-a4f8cfc9.js → cache-widget-124843fb.js} +9 -9
- package/{card-widget-f2dbe87c.js → card-widget-fb61d9be.js} +9 -9
- package/{carousel-widget-f7080585.js → carousel-widget-04c5f8a0.js} +9 -9
- package/{cascader-widget-37bc89ab.js → cascader-widget-a570ab60.js} +9 -9
- package/{chart-widget-0001a1f4.js → chart-widget-d3d26f7b.js} +8 -8
- package/{checkbox-widget-3cd1325c.js → checkbox-widget-0b33c789.js} +9 -9
- package/{collapse-widget-4d5bd025.js → collapse-widget-fc055643.js} +9 -9
- package/{color-picker-widget-d0beb753.js → color-picker-widget-4bd54417.js} +9 -9
- package/{common-editor-6bf9ec24.js → common-editor-4f4f1d4d.js} +8 -8
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-729dc4f9.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-4ca35c2d.js} +2 -2
- package/{configItem-2e577336.js → configItem-cc606dce.js} +27 -27
- package/{cont-cell-widget-defee27b.js → cont-cell-widget-b8b9161c.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7f6916a6.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4bf66264.js} +4 -4
- package/{cont-widget-1bf00342.js → cont-widget-c263ef10.js} +4 -4
- package/{content-wrapper-c912fa2c.js → content-wrapper-6c814450.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-b1b933c9.js → content-wrapper.vue_vue_type_script_setup_true_lang-cc7c65fb.js} +1 -1
- package/{countdown-widget-b77ca6ab.js → countdown-widget-16d18d54.js} +11 -11
- package/{css-editor-84531b4b.js → css-editor-cfee61f0.js} +10 -10
- package/{cssClass-feca86ba.js → cssClass-5bdc1e3b.js} +1 -1
- package/{cssIndex-c8ec8012.js → cssIndex-52fc5393.js} +1 -1
- package/{customClass-editor-ea521f17.js → customClass-editor-afe27073.js} +8 -8
- package/{date-picker-range-widget-d8325e17.js → date-picker-range-widget-a63781fb.js} +9 -9
- package/{date-picker-widget-42468854.js → date-picker-widget-0085dafb.js} +9 -9
- package/{default-slot-widget-d22488e4.js → default-slot-widget-5a04616c.js} +9 -9
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5d53bca9.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-bb3996f8.js} +4 -4
- package/{descriptions-widget-dfd391fb.js → descriptions-widget-33f4f8c3.js} +9 -9
- package/designer.es.js +25 -25
- package/designer.style.css +1 -1
- package/designer.umd.js +210 -210
- package/{dialog-widget-6038e751.js → dialog-widget-25edb019.js} +10 -10
- package/{divider-widget-df12cb62.js → divider-widget-8d029146.js} +11 -11
- package/{drag-wrapper-699b990f.js → drag-wrapper-e697efac.js} +4 -4
- package/{drawer-widget-7ca4bb92.js → drawer-widget-2907bcda.js} +10 -10
- package/{dropdown-widget-5faca16f.js → dropdown-widget-1bbeaf1a.js} +9 -9
- package/{editor-wrapper-6f41e0d5.js → editor-wrapper-53cb2c9c.js} +6 -6
- package/{empty-widget-6cbacb1e.js → empty-widget-ae262b04.js} +11 -11
- package/{feedback-widget-7c1aaed1.js → feedback-widget-dd11a5f3.js} +10 -10
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c751e862.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-fec52613.js} +4 -4
- package/{field-editor-bf654f43.js → field-editor-e2cdf783.js} +7 -7
- package/{file-upload-widget-14add598.js → file-upload-widget-7a471ef1.js} +13 -13
- package/{form-item-wrapper-f6e226c6.js → form-item-wrapper-fa48611a.js} +5 -5
- package/form-widget-38c3d547.js +284 -0
- package/{grid-col-widget-f0639525.js → grid-col-widget-96a40d2e.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5a743ab9.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b57ac7c8.js} +4 -4
- package/{grid-widget-7334984d.js → grid-widget-2ffb9041.js} +4 -4
- package/{hcard-widget-72a4bb5e.js → hcard-widget-1e758f29.js} +9 -9
- package/{html-text-widget-0bae8a9d.js → html-text-widget-4e3a83c9.js} +9 -9
- package/{icon-widget-08ea8543.js → icon-widget-809d1e6c.js} +8 -8
- package/{iframe-widget-da61af5c.js → iframe-widget-c84b9d38.js} +8 -8
- package/{image-editor-0ac74900.js → image-editor-683a7fc8.js} +8 -8
- package/{image-widget-0f571db5.js → image-widget-6c8c67ea.js} +8 -8
- package/{index-0cb7be0a.js → index-042f80e3.js} +27 -27
- package/{index-30639d5a.js → index-073d1e8b.js} +1 -1
- package/{index-110950bb.js → index-0a9f60bc.js} +1 -1
- package/{index-47a1af07.js → index-0d86547b.js} +3 -3
- package/{index-fedd499e.js → index-131fd80e.js} +11 -11
- package/{index-fd23cb59.js → index-228951e8.js} +1 -1
- package/{index-c0ba6291.js → index-28547754.js} +28 -28
- package/{index-8b508157.js → index-462ab6dd.js} +8 -8
- package/{index-e70f7517.js → index-496fff71.js} +3 -3
- package/{index-63b28030.js → index-4f49bd08.js} +28 -28
- package/{index-8d0d6916.js → index-5255aa5e.js} +28 -28
- package/{index-831c8f26.js → index-581452c2.js} +29 -29
- package/{index-7d433850.js → index-9c6489e1.js} +2 -2
- package/{index-ada8841e.js → index-aecc8225.js} +8 -8
- package/{index-9bbb5803.js → index-bd824807.js} +3 -3
- package/{index-6c008c19.js → index-d033eea5.js} +4 -4
- package/{index-05856cfd.js → index-daf97e81.js} +3 -3
- package/{index-e1451071.js → index-ec970dae.js} +12 -12
- package/{index-54fb31d8.js → index-f719fc09.js} +1 -1
- package/{index-a9655fc7.js → index-f802b7c5.js} +3 -3
- package/{index-46a53700.js → index-fc385010.js} +28 -28
- package/{input-number-widget-768ea8d4.js → input-number-widget-54bac4c7.js} +9 -9
- package/{input-tag-widget-563871bc.js → input-tag-widget-58cd5b3c.js} +10 -10
- package/{input-widget-bcb8d55b.js → input-widget-967de859.js} +10 -10
- package/{install-designer-2d22d156.js → install-designer-73e3d3e7.js} +20 -20
- package/{link-widget-53079d2c.js → link-widget-65797f43.js} +11 -11
- package/{ltable-col-widget-825dba88.js → ltable-col-widget-38f0ef43.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-2c8db5b3.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-33c04282.js} +6 -6
- package/{ltable-widget-344dd4ad.js → ltable-widget-d05c6e84.js} +4 -4
- package/{mention-widget-55fb941b.js → mention-widget-4c54fcf6.js} +10 -10
- package/{menu-widget-a1e01022.js → menu-widget-8b90dc11.js} +9 -9
- package/{model-widget-66515fa2.js → model-widget-649e85f3.js} +8 -8
- package/{multirow-81bd98b0.js → multirow-cc29bc28.js} +57 -57
- package/{multirow-widget-099acabd.js → multirow-widget-90094d7e.js} +9 -9
- package/{name-editor-7d247ad1.js → name-editor-7ee724ab.js} +8 -8
- package/{optionItem-93fffa00.js → optionItem-46823eb2.js} +1 -1
- package/package.json +1 -1
- package/{pagination-widget-ba395e1a.js → pagination-widget-bd4b7a67.js} +8 -8
- package/{picture-upload-widget-18ebc86f.js → picture-upload-widget-f7528887.js} +10 -10
- package/{progress-widget-33312dc1.js → progress-widget-07189a36.js} +9 -9
- package/{property-base-62062ad3.js → property-base-07e2d455.js} +1 -1
- package/{qrcode-widget-f324cfeb.js → qrcode-widget-da1b4ddf.js} +8 -8
- package/{radio-widget-d8c975f6.js → radio-widget-eca2c2e1.js} +9 -9
- package/{range-widget-bf6e9529.js → range-widget-3d07ca51.js} +10 -10
- package/{rate-widget-d0e447c7.js → rate-widget-d9be18b5.js} +9 -9
- package/{reg-editor.vue_vue_type_script_setup_true_lang-80c19b75.js → reg-editor.vue_vue_type_script_setup_true_lang-da1421e4.js} +1 -1
- package/{result-widget-25097161.js → result-widget-ca4e1c56.js} +9 -9
- package/{rich-editor-widget-5a337929.js → rich-editor-widget-9ae97c7b.js} +9 -9
- package/{router-widget-4c2c35f4.js → router-widget-d65a5d0c.js} +8 -8
- package/{schemaData-4d67b05e.js → schemaData-0a553abc.js} +3 -3
- package/{segmented-widget-d6c1ad2a.js → segmented-widget-b9aa0f54.js} +8 -8
- package/{select-widget-64b92665.js → select-widget-80be57a4.js} +9 -9
- package/{sfc-b7c50945.js → sfc-3d1ca4c9.js} +5 -5
- package/{sfcview-69a1ef10.js → sfcview-6f1728f1.js} +4 -4
- package/{share-editor-0abc1925.js → share-editor-1a3a2080.js} +1 -1
- package/share-field-bea1e59c.js +850 -0
- package/{share-file-038a6e35.js → share-file-142b7983.js} +2 -2
- package/{size-editor-b3c89eb9.js → size-editor-6f4a8242.js} +9 -9
- package/{skeleton-widget-b4169542.js → skeleton-widget-b902f58e.js} +11 -11
- package/{skeletonItem-widget-7ce9424a.js → skeletonItem-widget-43d48ed3.js} +8 -8
- package/{slider-widget-a21767c7.js → slider-widget-11c5d49a.js} +9 -9
- package/{slot-c13ca692.js → slot-ae2cd44d.js} +1 -1
- package/{space-widget-8b3fd437.js → space-widget-0d10d238.js} +9 -9
- package/{splitter-widget-8912f55d.js → splitter-widget-d64f648e.js} +9 -9
- package/{static-text-widget-dc9874b2.js → static-text-widget-c39be46f.js} +9 -9
- package/{statistic-widget-e3d8c9a1.js → statistic-widget-06b816f1.js} +11 -11
- package/{steps-widget-0f5dec71.js → steps-widget-e1b3c46c.js} +8 -8
- package/{subMenu-widget-d52f4578.js → subMenu-widget-0c210b74.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-d42bbce9.js → subMenu-widget.vue_vue_type_script_setup_true_lang-ddaecbab.js} +1 -1
- package/{switch-widget-77358acf.js → switch-widget-578023ce.js} +9 -9
- package/{tab-pane-widget-3a603a55.js → tab-pane-widget-33698f9e.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1bac30a3.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0a42d613.js} +4 -4
- package/{table-col-widget-1b92bdc4.js → table-col-widget-54467a62.js} +8 -8
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-592aeaaa.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-56c92d81.js} +29 -29
- package/{table-widget-418cb111.js → table-widget-dfe54d4e.js} +76 -72
- package/{tabs-widget-244b18c5.js → tabs-widget-8f34a720.js} +5 -5
- package/{tag-widget-2fce51e8.js → tag-widget-ac1fce7f.js} +11 -11
- package/{target-code-688b58cc.js → target-code-28166974.js} +3 -3
- package/{target-datasource-074d3d35.js → target-datasource-5afe6279.js} +29 -29
- package/{target-link-3cdd49a4.js → target-link-bcce23fc.js} +28 -28
- package/{target-saveForm-77acd703.js → target-saveForm-c3cc1eaf.js} +28 -28
- package/{target-window-bdb48b26.js → target-window-0396843b.js} +4 -4
- package/{text-widget-8af5f7ae.js → text-widget-1d44f82f.js} +11 -11
- package/{textarea-widget-81c7ec19.js → textarea-widget-56eb02ae.js} +9 -9
- package/{time-picker-range-widget-545c1773.js → time-picker-range-widget-4acaffb7.js} +9 -9
- package/{time-picker-widget-f188ab8c.js → time-picker-widget-7df4fd1d.js} +9 -9
- package/{time-select-widget-6aae15b2.js → time-select-widget-6548428d.js} +9 -9
- package/{timeline-widget-dec910a9.js → timeline-widget-230bebd1.js} +9 -9
- package/{tmpl-widget-6669e970.js → tmpl-widget-c29b1a39.js} +9 -9
- package/{tooltip-widget-66d9c931.js → tooltip-widget-0a302710.js} +9 -9
- package/{tour-widget-f5e19fa6.js → tour-widget-16c1f4e4.js} +8 -8
- package/{transfer-widget-d3905cba.js → transfer-widget-6d1ec006.js} +10 -10
- package/{tree-select-widget-43bbc22a.js → tree-select-widget-d9560a17.js} +9 -9
- package/{tree-widget-71794768.js → tree-widget-3db629d3.js} +8 -8
- package/{value-editor-3bbb0ca6.js → value-editor-42c7cd07.js} +7 -7
- package/{verifycode-widget-817a68b4.js → verifycode-widget-deb93b73.js} +8 -8
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea0ac15d.js} +3 -3
- package/{wrapper-widget-e2a88ff9.js → wrapper-widget-526eac19.js} +4 -4
- package/form-widget-43a9aa16.js +0 -285
- package/share-field-42f9a242.js +0 -857
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { b as U } from "./share-field-bea1e59c.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea0ac15d.js";
|
|
5
5
|
import { g as a, w as G } from "./expression-7fabf70c.js";
|
|
6
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-
|
|
11
|
+
import "./baseCommonField-e8a33156.js";
|
|
12
12
|
import "./enum-98f9eea5.js";
|
|
13
13
|
import "./baseDataType-af503f9f.js";
|
|
14
14
|
import "axios";
|
|
@@ -17,11 +17,11 @@ import "./_commonjsHelpers-e7ea1525.js";
|
|
|
17
17
|
import "./uuid-1013bfdd.js";
|
|
18
18
|
import "element-plus";
|
|
19
19
|
import "./globalProvideInject-497780eb.js";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./multirow-
|
|
24
|
-
import "./slot-
|
|
20
|
+
import "./index-bd824807.js";
|
|
21
|
+
import "./optionItem-46823eb2.js";
|
|
22
|
+
import "./index-0a9f60bc.js";
|
|
23
|
+
import "./multirow-cc29bc28.js";
|
|
24
|
+
import "./slot-ae2cd44d.js";
|
|
25
25
|
import "./index-346c8ade.js";
|
|
26
26
|
import "./index-1fb81d5a.js";
|
|
27
27
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
3
|
+
import { I as W } from "./property-base-07e2d455.js";
|
|
4
|
+
import { E as j, O as u } from "./editor-wrapper-53cb2c9c.js";
|
|
5
5
|
import { d as q, h as f, a as d } from "./index-a09de843.js";
|
|
6
6
|
import { at as E, aT as r, C as M } from "./enum-98f9eea5.js";
|
|
7
|
-
import { u as A } from "./share-editor-
|
|
7
|
+
import { u as A } from "./share-editor-1a3a2080.js";
|
|
8
8
|
import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./baseCommonField-
|
|
9
|
+
import "./baseCommonField-e8a33156.js";
|
|
10
10
|
import "./object-17739dda.js";
|
|
11
11
|
import "./expression-7fabf70c.js";
|
|
12
12
|
import "./source-map-b04aec4a.js";
|
|
@@ -19,9 +19,9 @@ import "axios";
|
|
|
19
19
|
import "./dialog-6dc6b937.js";
|
|
20
20
|
import "./share-event-f44a6897.js";
|
|
21
21
|
import "./emitter-01bda185.js";
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./optionItem-
|
|
24
|
-
import "./index-
|
|
22
|
+
import "./index-bd824807.js";
|
|
23
|
+
import "./optionItem-46823eb2.js";
|
|
24
|
+
import "./index-0a9f60bc.js";
|
|
25
25
|
import "./index-1fb81d5a.js";
|
|
26
26
|
import "./codeType-e06c2bb4.js";
|
|
27
27
|
const G = /* @__PURE__ */ N({
|
|
@@ -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 { 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-bea1e59c.js";
|
|
5
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea0ac15d.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";
|
|
@@ -14,17 +14,17 @@ 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-
|
|
17
|
+
import "./baseCommonField-e8a33156.js";
|
|
18
18
|
import "./enum-98f9eea5.js";
|
|
19
19
|
import "axios";
|
|
20
20
|
import "./dialog-6dc6b937.js";
|
|
21
21
|
import "element-plus";
|
|
22
22
|
import "./globalProvideInject-497780eb.js";
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./optionItem-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./multirow-
|
|
27
|
-
import "./slot-
|
|
23
|
+
import "./index-bd824807.js";
|
|
24
|
+
import "./optionItem-46823eb2.js";
|
|
25
|
+
import "./index-0a9f60bc.js";
|
|
26
|
+
import "./multirow-cc29bc28.js";
|
|
27
|
+
import "./slot-ae2cd44d.js";
|
|
28
28
|
import "./index-346c8ade.js";
|
|
29
29
|
import "./index-1fb81d5a.js";
|
|
30
30
|
import "./fieldobj-0681977e.js";
|
|
@@ -2,12 +2,12 @@ import { defineComponent as se, resolveComponent as J, openBlock as d, createEle
|
|
|
2
2
|
import { g, B as ie } from "./expression-7fabf70c.js";
|
|
3
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-bd824807.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-e8a33156.js";
|
|
8
8
|
import { u as he } from "./fieldobj-0681977e.js";
|
|
9
9
|
import { F as ce } from "./globalProvideInject-497780eb.js";
|
|
10
|
-
import { S as We } from "./optionItem-
|
|
10
|
+
import { S as We } from "./optionItem-46823eb2.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,11 +1,11 @@
|
|
|
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-
|
|
3
|
+
import { D as F } from "./drag-wrapper-e697efac.js";
|
|
4
|
+
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea0ac15d.js";
|
|
5
5
|
import { w as k } from "./expression-7fabf70c.js";
|
|
6
6
|
import { W as C } from "./enum-98f9eea5.js";
|
|
7
|
-
import { b as A, u as B } from "./share-field-
|
|
8
|
-
import { c as I } from "./cssClass-
|
|
7
|
+
import { b as A, u as B } from "./share-field-bea1e59c.js";
|
|
8
|
+
import { c as I } from "./cssClass-5bdc1e3b.js";
|
|
9
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) => {
|
package/form-widget-43a9aa16.js
DELETED
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { ref as ee, reactive as Q, onMounted as pe, nextTick as je, defineComponent as ve, computed as X, inject as Ee, watch as Ae, resolveComponent as Me, resolveDirective as Ne, openBlock as le, createBlock as re, mergeProps as Y, unref as v, withCtx as de, createTextVNode as Pe, toDisplayString as Re, withDirectives as $e, toHandlers as ke, withModifiers as Be, createVNode as Ie } from "vue";
|
|
2
|
-
import { I as Te } from "./widget-base-df734ada.js";
|
|
3
|
-
import { D as qe } from "./drag-wrapper-699b990f.js";
|
|
4
|
-
import { _ as ze } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e9705670.js";
|
|
5
|
-
import { w as te, f as se, g as z, a as A, n as He, o as Ke, d as Ue } from "./expression-7fabf70c.js";
|
|
6
|
-
import { u as Ge } from "./icon-8b8b9744.js";
|
|
7
|
-
import { u as Je } from "./emitter-01bda185.js";
|
|
8
|
-
import { c as Qe, i as Xe, h as Z, q as ue, a as ge, d as ce, u as fe } from "./index-a09de843.js";
|
|
9
|
-
import { f as Ye } from "./index-9bbb5803.js";
|
|
10
|
-
import { b as Ze, u as et } from "./share-field-42f9a242.js";
|
|
11
|
-
import { W as tt } from "./enum-98f9eea5.js";
|
|
12
|
-
import { c as at, d as me, $ as nt, B as ot } from "./baseCommonField-bc463e95.js";
|
|
13
|
-
import { a as it, h as lt, j as rt } from "./object-17739dda.js";
|
|
14
|
-
import { u as dt } from "./multirow-81bd98b0.js";
|
|
15
|
-
import { F as st } from "./globalProvideInject-497780eb.js";
|
|
16
|
-
import { l as ut } from "./loading-4a13a1bc.js";
|
|
17
|
-
import { _ as ct } from "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
function ft(u, L) {
|
|
19
|
-
const { getWidgetOption: m, getWidgetOptionByPropValue: C } = at(u, L), h = (c) => m(c);
|
|
20
|
-
return {
|
|
21
|
-
existFunc: h,
|
|
22
|
-
handleFunc: (c, x) => {
|
|
23
|
-
if (it(c)) {
|
|
24
|
-
var W = h(String(c));
|
|
25
|
-
return me(W, x);
|
|
26
|
-
} else {
|
|
27
|
-
var W = C(Qe(c));
|
|
28
|
-
return me(W, x);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function mt(u) {
|
|
34
|
-
const L = u.widget, m = u.designer, C = m == null ? void 0 : m.pageConfig, h = u == null ? void 0 : u.widgetList, F = ee({}), c = {}, { fieldModel: x, fieldName: W, fieldEditor: f, attrs: $, events: S, hasFieldOptions: k, exposed: j, fieldObj: H, watchOption: B, propResultOpt: D, extendAttrs: M } = Ze(u), { off$: V, on$: N, emit$: I, broadcast: n } = Je();
|
|
35
|
-
var { instance: l } = Ge();
|
|
36
|
-
const { setAllRefList: E } = et(F.value), y = { designState: u == null ? void 0 : u.designState, pageConfig: C, globalConfig: D == null ? void 0 : D.globalConfig }, { formModel: _, setData: T, getData: O, clearData: P } = dt(h, { ...y }, l), { handleFunc: K } = ft({ options: C }, y), U = Q({}), he = () => {
|
|
37
|
-
V(A.fieldChange), N(A.fieldChange, (e) => {
|
|
38
|
-
We(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), j == null || j.setValue(_), 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), N(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), N(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({}), q = Q({}), ae = (e) => {
|
|
57
|
-
ue(q), ce(q, e);
|
|
58
|
-
}, Ce = () => ({
|
|
59
|
-
change_info: Z(J),
|
|
60
|
-
before_info: Z(q),
|
|
61
|
-
after_info: Z(_),
|
|
62
|
-
flag: G.value
|
|
63
|
-
}), Fe = (e, t, a) => {
|
|
64
|
-
var o = q[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: _ });
|
|
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(tt.resetField), je(() => {
|
|
81
|
-
ye();
|
|
82
|
-
});
|
|
83
|
-
}, ne = (e, t) => {
|
|
84
|
-
let a = [];
|
|
85
|
-
for (let g in e) {
|
|
86
|
-
var o = e[g], r = o == null ? void 0 : o.filter((d) => (d == null ? void 0 : d.force) === t);
|
|
87
|
-
r == null || r.forEach((d) => {
|
|
88
|
-
var s;
|
|
89
|
-
const b = (s = d == null ? void 0 : d.rule) == null ? void 0 : s.label;
|
|
90
|
-
d.message && a.push(He(b ? "【" + b + "】" : "", d.message, ":"));
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
return Ke(a);
|
|
94
|
-
}, Le = (e, t) => {
|
|
95
|
-
var a = {};
|
|
96
|
-
return Ye(t, (o) => {
|
|
97
|
-
var r = ot.getName(o), g = lt(e, r);
|
|
98
|
-
return g && (a[r] = e[r]), g;
|
|
99
|
-
}, !1), a;
|
|
100
|
-
}, xe = (e = !0) => {
|
|
101
|
-
var r, g, d;
|
|
102
|
-
let t = O(), a = function() {
|
|
103
|
-
}, o = new Promise(function(b, s) {
|
|
104
|
-
a = function(p, i) {
|
|
105
|
-
(i ? s : b)({ data: p, isSuccess: !i, message: i });
|
|
106
|
-
};
|
|
107
|
-
});
|
|
108
|
-
return !((r = f.value) != null && r.validate) || !e ? (a(t), o) : ((d = (g = f.value) == null ? void 0 : g.validate) == null || d.call(g, (b, s) => {
|
|
109
|
-
if (b)
|
|
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")), nt.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
|
-
T(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 R;
|
|
134
|
-
const i = (R = M.value) == null ? void 0 : R.formDataLoaded;
|
|
135
|
-
let w = i ? i == null ? void 0 : i(O(), s) : s;
|
|
136
|
-
rt(w) ? oe(w, !p) : w = {}, ae(w), t(w);
|
|
137
|
-
}, r = () => {
|
|
138
|
-
const s = (p) => {
|
|
139
|
-
o(p, !0);
|
|
140
|
-
};
|
|
141
|
-
B(z.newDataSource, void 0, s);
|
|
142
|
-
}, g = () => {
|
|
143
|
-
const s = (p) => {
|
|
144
|
-
var R;
|
|
145
|
-
const i = (R = M.value) == null ? void 0 : R.needFormAdd;
|
|
146
|
-
if ((i == null ? void 0 : i(p)) && b) {
|
|
147
|
-
r();
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
o(p, !1);
|
|
151
|
-
};
|
|
152
|
-
B(z.editDataSource, void 0, s);
|
|
153
|
-
}, d = k(z.editDataSource), b = k(z.newDataSource);
|
|
154
|
-
d ? g() : b && r();
|
|
155
|
-
});
|
|
156
|
-
return Ve(), pe(() => {
|
|
157
|
-
Xe(), De();
|
|
158
|
-
}), {
|
|
159
|
-
widgetRefList: F,
|
|
160
|
-
allWidgetRefList: c,
|
|
161
|
-
fieldEditor: f,
|
|
162
|
-
formModel: _,
|
|
163
|
-
pageConfig: C,
|
|
164
|
-
widgetList: h,
|
|
165
|
-
fieldModel: x,
|
|
166
|
-
fieldName: W,
|
|
167
|
-
attrs: $,
|
|
168
|
-
extendAttrs: M,
|
|
169
|
-
events: S,
|
|
170
|
-
rules: U,
|
|
171
|
-
loadData: ie,
|
|
172
|
-
clearData: P,
|
|
173
|
-
exposed: {
|
|
174
|
-
...j,
|
|
175
|
-
setValue: oe,
|
|
176
|
-
getValue: xe,
|
|
177
|
-
resetField: Oe,
|
|
178
|
-
clearData: P,
|
|
179
|
-
loadData: ie,
|
|
180
|
-
getData: O,
|
|
181
|
-
//修改痕迹
|
|
182
|
-
clearChangeRecord: we,
|
|
183
|
-
getChangeRecord: Ce,
|
|
184
|
-
emit$: I
|
|
185
|
-
},
|
|
186
|
-
fieldObj: H
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
const pt = ve({ componentName: te.ContainerWidget }), vt = /* @__PURE__ */ ve({
|
|
190
|
-
...pt,
|
|
191
|
-
__name: "form-widget",
|
|
192
|
-
props: { ...Te },
|
|
193
|
-
setup(u, { expose: L }) {
|
|
194
|
-
var I;
|
|
195
|
-
const m = u, { exposed: C, formModel: h, fieldEditor: F, attrs: c, events: x, widgetRefList: W, extendAttrs: f, fieldName: $, fieldObj: S, loadData: k } = mt({ ...m, widgetList: (I = m == null ? void 0 : m.widget) == null ? void 0 : I.widgetList }), j = $.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, _;
|
|
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: (_ = f.value) == null ? void 0 : _.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
|
-
st.globalProvide({
|
|
216
|
-
globalFormName: j,
|
|
217
|
-
globalDataModel: h,
|
|
218
|
-
globalFormOptions: B,
|
|
219
|
-
globalWrapperOptions: H
|
|
220
|
-
});
|
|
221
|
-
const V = Ee(Ue.isRenderComplete), N = Ae(() => V == null ? void 0 : V.value, (n) => {
|
|
222
|
-
var l;
|
|
223
|
-
n && ((l = F.value) == null || l.validate(), N());
|
|
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 = Ne("loading");
|
|
233
|
-
return le(), re(ze, Y(n.$props, {
|
|
234
|
-
"prop-options": { fieldObj: v(S) }
|
|
235
|
-
}), {
|
|
236
|
-
default: de(({ data: _ }) => {
|
|
237
|
-
var T, O;
|
|
238
|
-
return [
|
|
239
|
-
Pe(" form:" + Re(v(h)) + " ", 1),
|
|
240
|
-
$e((le(), re(E, Y({
|
|
241
|
-
ref_key: "fieldEditor",
|
|
242
|
-
ref: F,
|
|
243
|
-
model: v(h)
|
|
244
|
-
}, v(c), ke(v(x)), {
|
|
245
|
-
class: [..._.injectClass],
|
|
246
|
-
key: (T = v(S)) == null ? void 0 : T.fieldKey,
|
|
247
|
-
onSubmit: l[0] || (l[0] = Be(() => {
|
|
248
|
-
}, ["prevent"])),
|
|
249
|
-
"element-loading-text": ((O = v(f)) == null ? void 0 : O.loadingText) || v(ge).i18nt("designer.hint.loading"),
|
|
250
|
-
"element-loading-svg": v(ut)
|
|
251
|
-
}), {
|
|
252
|
-
default: de(() => {
|
|
253
|
-
var P;
|
|
254
|
-
return [
|
|
255
|
-
Ie(qe, Y(n.$props, {
|
|
256
|
-
dragClass: "formDrag padSize",
|
|
257
|
-
model: v(h),
|
|
258
|
-
provideModel: !0,
|
|
259
|
-
"component-class": _.componentWrapperClass,
|
|
260
|
-
refList: v(W),
|
|
261
|
-
"show-suspense": (P = v(f)) == null ? void 0 : P.showSuspense,
|
|
262
|
-
"parent-widget": n.widget,
|
|
263
|
-
"parent-tree": n.parentTree
|
|
264
|
-
}), null, 16, ["model", "component-class", "refList", "show-suspense", "parent-widget", "parent-tree"])
|
|
265
|
-
];
|
|
266
|
-
}),
|
|
267
|
-
_: 2
|
|
268
|
-
}, 1040, ["model", "class", "element-loading-text", "element-loading-svg"])), [
|
|
269
|
-
[y, M.value]
|
|
270
|
-
])
|
|
271
|
-
];
|
|
272
|
-
}),
|
|
273
|
-
_: 1
|
|
274
|
-
}, 16, ["prop-options"]);
|
|
275
|
-
};
|
|
276
|
-
}
|
|
277
|
-
});
|
|
278
|
-
const gt = /* @__PURE__ */ ct(vt, [["__scopeId", "data-v-b9fda8d1"]]), Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
279
|
-
__proto__: null,
|
|
280
|
-
default: gt
|
|
281
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
282
|
-
export {
|
|
283
|
-
Mt as _,
|
|
284
|
-
ft as u
|
|
285
|
-
};
|