hldesigner 0.0.281 → 0.0.282
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-8124ac79.js → _pdf-aedfa178.js} +7 -7
- package/{_share_image-b0e3dd36.js → _share_image-9ce786a4.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-0f17dbf2.js → _share_size.vue_vue_type_script_setup_true_lang-22bdb232.js} +3 -3
- package/{_txt-7e98af0d.js → _txt-fb9eea1e.js} +7 -7
- package/{_unsupport-9ff38976.js → _unsupport-1cb78d71.js} +2 -2
- package/{affix-widget-ebbf3699.js → affix-widget-aac99193.js} +21 -21
- package/{alert-widget-2125d75a.js → alert-widget-20c0637f.js} +21 -21
- package/{anchor-widget-01e25780.js → anchor-widget-ff762722.js} +18 -18
- package/{auto-complete-widget-10ca81ae.js → auto-complete-widget-11d9ebb7.js} +21 -21
- package/{avatar-widget-0353ddac.js → avatar-widget-c0cfa519.js} +21 -21
- package/{backtop-widget-9598e265.js → backtop-widget-54e80839.js} +21 -21
- package/{badge-widget-f0aa3600.js → badge-widget-562ec30b.js} +21 -21
- package/{barcode-widget-a574c51b.js → barcode-widget-40bee3b0.js} +33 -33
- package/{baseImp-e6533762.js → baseImp-f2767c96.js} +2613 -2514
- package/{breadcrumb-widget-96982a25.js → breadcrumb-widget-04ed3fd1.js} +18 -18
- package/{button-widget-3a58356b.js → button-widget-27c135c1.js} +21 -21
- package/{cache-widget-0ed801b2.js → cache-widget-bd7db1b9.js} +20 -20
- package/{card-widget-bbcb0430.js → card-widget-0006ca78.js} +19 -19
- package/{carousel-widget-5cc16c41.js → carousel-widget-d60ea709.js} +19 -19
- package/{cascader-widget-e07c5eb5.js → cascader-widget-e3915bc7.js} +20 -20
- package/{chart-widget-92c6d365.js → chart-widget-5c9da012.js} +36 -36
- package/{checkbox-widget-70ae21cc.js → checkbox-widget-d6e624da.js} +20 -20
- package/{collapse-widget-55f1825a.js → collapse-widget-257cf0bd.js} +19 -19
- package/{color-picker-widget-d68ab32d.js → color-picker-widget-52cde85a.js} +20 -20
- package/common-editor-a6308d06.js +28 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-0f7c6da1.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-494e2151.js} +2 -2
- package/{configItem-128b0fe4.js → configItem-242e2146.js} +41 -40
- package/{cont-cell-widget-95edac13.js → cont-cell-widget-546cd121.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-af89065e.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-bb506b6d.js} +11 -11
- package/{cont-widget-f438f87a.js → cont-widget-93aa9072.js} +15 -15
- package/{content-wrapper-f22d0844.js → content-wrapper-09c98dcd.js} +8 -8
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-7238d66f.js → content-wrapper.vue_vue_type_script_setup_true_lang-1bfb716d.js} +7 -7
- package/{countdown-widget-568d4bce.js → countdown-widget-11f335e9.js} +21 -21
- package/css-editor-362763ce.js +1355 -0
- package/cssClass-870a810b.js +24 -0
- package/{cssIndex-376549b5.js → cssIndex-87c6de29.js} +45 -45
- package/{customClass-editor-7797e325.js → customClass-editor-7b232d1c.js} +19 -19
- package/{date-picker-range-widget-bf9b3410.js → date-picker-range-widget-a9541ebc.js} +20 -20
- package/{date-picker-widget-7d8a6d68.js → date-picker-widget-2acb3c41.js} +20 -20
- package/default-slot-widget-c6f582c9.js +31 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-51c5ad1d.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8642a0cd.js} +8 -8
- package/{descriptions-widget-567504b1.js → descriptions-widget-60253050.js} +19 -19
- package/designer.es.js +38 -37
- package/designer.style.css +2 -2
- package/designer.umd.js +173 -173
- package/{dialog-8d618800.js → dialog-8367296a.js} +2 -2
- package/{dialog-widget-929fa994.js → dialog-widget-6ecdf930.js} +20 -20
- package/{divider-widget-c5378a25.js → divider-widget-0174a1fa.js} +21 -21
- package/drag-wrapper-54edde7d.js +281 -0
- package/{drawer-widget-0dc62477.js → drawer-widget-d761e2fe.js} +20 -20
- package/{dropdown-widget-13c60863.js → dropdown-widget-d4230051.js} +19 -19
- package/{editor-wrapper-b5924cae.js → editor-wrapper-ac06b695.js} +125 -125
- package/{emitter-5d6d8130.js → emitter-1acbfda9.js} +1 -1
- package/{empty-widget-55795163.js → empty-widget-7c9d855d.js} +21 -21
- package/{enum-type-4fd2996f.js → enum-type-dfa86fd6.js} +108 -92
- package/{enum-type-059a1871.js → enum-type-fe807357.js} +1 -1
- package/{expression-4614311c.js → expression-b8f60625.js} +926 -911
- package/feedback-widget-dc08aa41.js +32 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-71d82be2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-23e9a940.js} +6 -6
- package/{field-editor-49a46aa0.js → field-editor-abbd6353.js} +16 -16
- package/{fieldobj-3a7ee3ae.js → fieldobj-7dcfbe2b.js} +1 -1
- package/{file-upload-widget-70e49ed7.js → file-upload-widget-7e1084db.js} +25 -25
- package/{form-item-wrapper-d8dd576e.js → form-item-wrapper-b17d3528.js} +14 -14
- package/{form-widget-cadd5e59.js → form-widget-5f3d30a9.js} +25 -25
- package/{grid-col-widget-e5671796.js → grid-col-widget-a13f4179.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-298a782d.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-a096adf9.js} +5 -5
- package/{grid-widget-4d55c29e.js → grid-widget-2c8ad689.js} +17 -17
- package/{hcard-widget-dd47f1e6.js → hcard-widget-a8558e9e.js} +19 -19
- package/{html-text-widget-405f277d.js → html-text-widget-a8463f7b.js} +19 -19
- package/{icon-widget-d07e9007.js → icon-widget-48833032.js} +18 -18
- package/iframe-widget-4bf6b2c0.js +132 -0
- package/{image-editor-e439fc49.js → image-editor-6302c266.js} +18 -18
- package/{image-widget-31f9e5f5.js → image-widget-90a021ad.js} +18 -18
- package/{index-271a233e.js → index-027a190d.js} +59 -58
- package/{index-fc934362.js → index-046a6529.js} +42 -41
- package/{index-facfdc4c.js → index-05335c3b.js} +43 -43
- package/{index-1dd1ec8e.js → index-126a08b9.js} +1 -1
- package/{index-2d59c452.js → index-1584a7a5.js} +163 -163
- package/{index-5d61fc57.js → index-16ba07eb.js} +157 -157
- package/{index-e2938e1a.js → index-28c71533.js} +9 -9
- package/{index-bb63159a.js → index-31195212.js} +1 -1
- package/{index-1f254780.js → index-32be7e8e.js} +74 -74
- package/{index-6ee2f29c.js → index-4d588346.js} +7 -7
- package/{index-84570716.js → index-57897f1a.js} +1 -1
- package/{index-dda9431f.js → index-6d7e61d1.js} +10 -10
- package/{index-5a5f923f.js → index-6d8b1ba0.js} +42 -41
- package/{index-7663b5f5.js → index-7e1db5b9.js} +18 -18
- package/{index-46f811f0.js → index-9655a1c0.js} +9 -9
- package/{index-4e6b41f7.js → index-ba5cd3f6.js} +16 -16
- package/{index-fe30f176.js → index-c9cf28ed.js} +23 -23
- package/{index-cd15488c.js → index-ca37bcea.js} +11 -11
- package/{index-ae684e6f.js → index-cff952ce.js} +17 -17
- package/{index-93450b9d.js → index-d1c0a237.js} +14 -14
- package/{index-253c416f.js → index-d5f4c57b.js} +10 -10
- package/{index-93949bc0.js → index-d9f3ea25.js} +1 -1
- package/{index-fe39be78.js → index-da3c9f0b.js} +190 -190
- package/{index-bed990e5.js → index-db051705.js} +7 -7
- package/{index-b41517e3.js → index-fe2ffedb.js} +32 -32
- package/{input-number-widget-676c5079.js → input-number-widget-7c859dbe.js} +25 -25
- package/{input-tag-widget-43aeeaa4.js → input-tag-widget-cbe84e7a.js} +21 -21
- package/{input-widget-2299c4f3.js → input-widget-383ec0df.js} +21 -21
- package/{install-designer-a5b0e47e.js → install-designer-d80f8c8f.js} +872 -872
- package/{item-e599bcb1.js → item-272cd30a.js} +3 -3
- package/{itemDetail-656b58f6.js → itemDetail-ef5e61f4.js} +3 -3
- package/{label-wrapper-7c03b684.js → label-wrapper-58dbe260.js} +6 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-03cc6049.js → label-wrapper.vue_vue_type_style_index_0_lang-fefab42d.js} +3 -3
- package/{link-widget-4f9622ac.js → link-widget-e771f3cc.js} +21 -21
- package/{ltable-col-widget-4c7f7d86.js → ltable-col-widget-2cb3f884.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-dfacbd4b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4720d166.js} +56 -56
- package/{ltable-widget-0b51d9f7.js → ltable-widget-ec7b6577.js} +23 -23
- package/{mention-widget-37a175f5.js → mention-widget-a552c38b.js} +21 -21
- package/{menu-widget-60f3a249.js → menu-widget-389e9a7b.js} +42 -42
- package/{model-widget-13686a07.js → model-widget-4faeddd4.js} +33 -33
- package/{multirow-58359a2b.js → multirow-ac9106c7.js} +17 -17
- package/{multirow-widget-bfeaf41c.js → multirow-widget-d01e60c8.js} +90 -90
- package/{name-editor-06fa948b.js → name-editor-12d7f518.js} +23 -23
- package/obj-571dd058.js +210 -0
- package/{optionItem-b66d0f80.js → optionItem-3c87120a.js} +5 -5
- package/package.json +1 -1
- package/{pagination-widget-3908212a.js → pagination-widget-cbb2ac37.js} +18 -18
- package/{picture-upload-widget-6394482e.js → picture-upload-widget-2f3b0ce9.js} +38 -38
- package/{progress-widget-408168ef.js → progress-widget-1a2c63fb.js} +19 -19
- package/{property-base-224cbba8.js → property-base-2e08f1cd.js} +4 -4
- package/qrcode-widget-93e7295e.js +75 -0
- package/{radio-widget-eb32da64.js → radio-widget-44821d40.js} +20 -20
- package/{range-widget-afae7ae9.js → range-widget-34e2815a.js} +21 -21
- package/{rate-widget-493ff611.js → rate-widget-428a5495.js} +20 -20
- package/{reg-editor.vue_vue_type_script_setup_true_lang-0c5793af.js → reg-editor.vue_vue_type_script_setup_true_lang-860cdc59.js} +3 -3
- package/{result-widget-b87e1405.js → result-widget-d6def378.js} +19 -19
- package/{rich-editor-widget-caa21b12.js → rich-editor-widget-7cac0bcb.js} +20 -20
- package/{router-widget-40ad3a8c.js → router-widget-cb5690c8.js} +18 -18
- package/{schemaData-cdd1ab79.js → schemaData-79f3ef69.js} +58 -58
- package/{segmented-widget-3d40c59d.js → segmented-widget-c6139d1e.js} +18 -18
- package/{select-widget-bdad06b4.js → select-widget-5c3dfa89.js} +20 -20
- package/{sfc-212fe046.js → sfc-dbb72bcb.js} +117 -99
- package/{sfcview-71b16f15.js → sfcview-cc18300c.js} +17 -17
- package/{share-editor-b5bdc20c.js → share-editor-7c525c97.js} +41 -41
- package/{share-event-74d5db69.js → share-event-f999e66a.js} +2 -2
- package/{share-field-05fd929b.js → share-field-7d5fca55.js} +52 -52
- package/{share-file-6a6f32ac.js → share-file-ad123d7c.js} +70 -70
- package/{size-editor-0a6f297f.js → size-editor-813f0f02.js} +19 -19
- package/{skeleton-widget-1608f888.js → skeleton-widget-ba85d6b8.js} +21 -21
- package/{skeletonItem-widget-42b20713.js → skeletonItem-widget-f4e5e533.js} +18 -18
- package/{slider-widget-30f11cc3.js → slider-widget-d5fad4a6.js} +20 -20
- package/slot-cc6c2adb.js +331 -0
- package/{space-widget-b33ee60f.js → space-widget-d9f503d3.js} +19 -19
- package/{splitter-widget-d2ad2396.js → splitter-widget-48718ac9.js} +19 -19
- package/{static-text-widget-55a70332.js → static-text-widget-042d0b7d.js} +19 -19
- package/{statistic-widget-b2fe71c7.js → statistic-widget-74c5b5e5.js} +21 -21
- package/{steps-widget-a5fc8f08.js → steps-widget-7548001a.js} +18 -18
- package/{subMenu-widget-b0c58453.js → subMenu-widget-ebbc6593.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-0de86d54.js → subMenu-widget.vue_vue_type_script_setup_true_lang-a9a26175.js} +10 -10
- package/{switch-widget-89caa914.js → switch-widget-a334b82a.js} +20 -20
- package/{tab-pane-widget-2252bc4b.js → tab-pane-widget-a482c358.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-c62e9e82.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-49089f7b.js} +8 -8
- package/table-col-widget-cc3e5241.js +28 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1418214e.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-58f69793.js} +8 -8
- package/{table-widget-4f73ad57.js → table-widget-e211d7ec.js} +68 -68
- package/{tabs-widget-eff74c43.js → tabs-widget-ee5d48c0.js} +8 -8
- package/{tag-widget-0a71ca03.js → tag-widget-39f90035.js} +21 -21
- package/{target-code-1aba790b.js → target-code-5126d170.js} +9 -9
- package/{target-datasource-c6d48b70.js → target-datasource-10557086.js} +67 -66
- package/{target-link-a0302d99.js → target-link-88a75d03.js} +53 -52
- package/{target-saveForm-f41cfa3c.js → target-saveForm-7bd68428.js} +42 -41
- package/{target-widget-5dc412fa.js → target-widget-c5050a76.js} +2 -2
- package/{target-window-017f28de.js → target-window-7b08ee32.js} +10 -10
- package/{text-widget-11af8e0d.js → text-widget-29734605.js} +21 -21
- package/{textarea-widget-dbfe9e2f.js → textarea-widget-bad0d83f.js} +20 -20
- package/{time-picker-range-widget-b1b1bfc4.js → time-picker-range-widget-52a386c1.js} +20 -20
- package/{time-picker-widget-29ca9962.js → time-picker-widget-87cfcd84.js} +20 -20
- package/{time-select-widget-ef994eeb.js → time-select-widget-3f4e00e3.js} +20 -20
- package/{timeline-widget-039f1eb0.js → timeline-widget-019f92c3.js} +19 -19
- package/tmpl-widget-b170a998.js +104 -0
- package/{tooltip-widget-d340f763.js → tooltip-widget-da084813.js} +19 -19
- package/{tour-widget-450e6ed6.js → tour-widget-9fc1003b.js} +25 -25
- package/{transfer-widget-617b8866.js → transfer-widget-1ec99e79.js} +21 -21
- package/{tree-select-widget-4b196114.js → tree-select-widget-a61fdff3.js} +20 -20
- package/{tree-widget-005a5e67.js → tree-widget-849a4a27.js} +18 -18
- package/{uuid-14e756b8.js → uuid-46529de4.js} +1 -1
- package/{value-editor-4d68a513.js → value-editor-d31cf4da.js} +16 -16
- package/{verifycode-widget-43a7ac5d.js → verifycode-widget-19f21f41.js} +33 -33
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-50e92e0b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2c107711.js} +17 -18
- package/{wrapper-widget-86472df1.js → wrapper-widget-f6523317.js} +9 -8
- package/common-editor-62687495.js +0 -28
- package/css-editor-6ef171e7.js +0 -1350
- package/default-slot-widget-a4ec5629.js +0 -31
- package/drag-wrapper-85875395.js +0 -297
- package/feedback-widget-6550dcbf.js +0 -32
- package/iframe-widget-c8fe6ac3.js +0 -127
- package/obj-502bbea0.js +0 -357
- package/qrcode-widget-a8ea4356.js +0 -75
- package/slot-7d65c8ff.js +0 -312
- package/table-col-widget-9ebb322b.js +0 -28
- package/tmpl-widget-a10219af.js +0 -103
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { B as a,
|
|
2
|
-
import { e as c } from "./enum-type-
|
|
3
|
-
import { f as
|
|
4
|
-
import {
|
|
5
|
-
import { f as k, c as b } from "./enum-type-
|
|
6
|
-
import "./obj-
|
|
1
|
+
import { B as a, J as B } from "./baseImp-f2767c96.js";
|
|
2
|
+
import { e as c } from "./enum-type-fe807357.js";
|
|
3
|
+
import { f as J, q, s as G } from "./index-1584a7a5.js";
|
|
4
|
+
import { k as h } from "./expression-b8f60625.js";
|
|
5
|
+
import { f as k, c as b } from "./enum-type-dfa86fd6.js";
|
|
6
|
+
import "./obj-571dd058.js";
|
|
7
7
|
import "./icon-aff7bde2.js";
|
|
8
8
|
import "vue";
|
|
9
9
|
import "axios";
|
|
10
|
-
import "./dialog-
|
|
10
|
+
import "./dialog-8367296a.js";
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./uuid-
|
|
12
|
+
import "./uuid-46529de4.js";
|
|
13
13
|
import "element-plus";
|
|
14
|
-
import "./optionItem-
|
|
15
|
-
import "./index-
|
|
14
|
+
import "./optionItem-3c87120a.js";
|
|
15
|
+
import "./index-31195212.js";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
17
17
|
import "./esprima-e8d15055.js";
|
|
18
18
|
const nt = (F, _) => {
|
|
19
19
|
const O = (l, p) => {
|
|
20
20
|
const o = [], s = (n) => !!n.dynamicItemFlag;
|
|
21
|
-
|
|
21
|
+
q(l, o, !1, s);
|
|
22
22
|
var y = o == null ? void 0 : o.filter((n) => (n == null ? void 0 : n.formItemFlag) && (n == null ? void 0 : n.type) !== c.cache);
|
|
23
23
|
return y == null || y.forEach((n) => {
|
|
24
24
|
if (!(n != null && n.dynamicItemFlag))
|
|
25
25
|
p.push({ widget: v(n) });
|
|
26
26
|
else {
|
|
27
27
|
const g = [];
|
|
28
|
-
|
|
28
|
+
G(n, g, !1, s);
|
|
29
29
|
const x = [];
|
|
30
30
|
O(g, x), p.push({ widget: v(n), children: x });
|
|
31
31
|
}
|
|
32
32
|
}), p;
|
|
33
33
|
}, m = (l) => a.getOptions(l, "name"), I = () => {
|
|
34
34
|
const l = [];
|
|
35
|
-
var p = _ ?
|
|
35
|
+
var p = _ ? J(F, (o) => m(o) === (_ == null ? void 0 : _.fName) || (o == null ? void 0 : o.type) == (_ == null ? void 0 : _.wdt), !1) : F;
|
|
36
36
|
return O(p, l);
|
|
37
37
|
}, v = (l) => {
|
|
38
38
|
var T;
|
|
@@ -54,14 +54,14 @@ const nt = (F, _) => {
|
|
|
54
54
|
var $;
|
|
55
55
|
return ($ = b(f)) == null ? void 0 : $.join(y);
|
|
56
56
|
})) == null ? void 0 : u.join(n) : (i = b(e)) == null ? void 0 : i.join(y);
|
|
57
|
-
},
|
|
57
|
+
}, V = (t) => ({
|
|
58
58
|
type: t.type,
|
|
59
59
|
label: s(t),
|
|
60
60
|
key: m(t),
|
|
61
61
|
options: {
|
|
62
62
|
valueFormat: (r) => r
|
|
63
63
|
}
|
|
64
|
-
}),
|
|
64
|
+
}), j = (t) => {
|
|
65
65
|
let r = a.getOptions(t, "textName"), e = a.getOptions(t, "multiple");
|
|
66
66
|
const i = r || `${m(t)}${h.optionText}`;
|
|
67
67
|
return {
|
|
@@ -120,13 +120,13 @@ const nt = (F, _) => {
|
|
|
120
120
|
});
|
|
121
121
|
return (() => {
|
|
122
122
|
B(c).forEach((t) => {
|
|
123
|
-
o(t.label,
|
|
123
|
+
o(t.label, V);
|
|
124
124
|
}), [
|
|
125
125
|
c.select,
|
|
126
126
|
c.treeSelect,
|
|
127
127
|
c.autoComplete
|
|
128
128
|
].forEach((t) => {
|
|
129
|
-
o(t,
|
|
129
|
+
o(t, j);
|
|
130
130
|
}), o(c.multirow, N), o(c.checkbox, E), o(c.radio, W), o(c.cascader, A), o(c.switch, C);
|
|
131
131
|
})(), (T = p[l.type]) == null ? void 0 : T.call(p, l);
|
|
132
132
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ay as f, e as ye } from "./enum-type-
|
|
2
|
-
import { P as
|
|
3
|
-
import { d as Z, c as v, a as V, C as w, g as Y, b as Ve, f as De } from "./enum-type-
|
|
1
|
+
import { ay as f, e as ye } from "./enum-type-fe807357.js";
|
|
2
|
+
import { P as c, F as Ee } from "./baseImp-f2767c96.js";
|
|
3
|
+
import { d as Z, c as v, a as V, C as w, g as Y, b as Ve, f as De } from "./enum-type-dfa86fd6.js";
|
|
4
4
|
import { inject as _e, computed as l, isRef as we } from "vue";
|
|
5
|
-
import { i as Se,
|
|
6
|
-
import { f as o, d as je,
|
|
5
|
+
import { i as Se, q as E, h as Te, f as Pe } from "./obj-571dd058.js";
|
|
6
|
+
import { f as o, d as je, y as $e, c as G, p as K } from "./expression-b8f60625.js";
|
|
7
7
|
function Le(n) {
|
|
8
8
|
return `<template>
|
|
9
9
|
<!--normal dataType:Object,String,Number-->
|
|
@@ -236,8 +236,8 @@ function dt(n) {
|
|
|
236
236
|
var r;
|
|
237
237
|
if ((r = u.value) != null && r.getPropValueFn)
|
|
238
238
|
return j.value || null;
|
|
239
|
-
var e =
|
|
240
|
-
if (
|
|
239
|
+
var e = c.get(h.value, i.value), a = c.getValue(e);
|
|
240
|
+
if (b.value && [f.inputNumber, f.number].includes(b.value)) {
|
|
241
241
|
const s = Ve(a);
|
|
242
242
|
return s ?? null;
|
|
243
243
|
}
|
|
@@ -249,17 +249,17 @@ function dt(n) {
|
|
|
249
249
|
j.value = e;
|
|
250
250
|
return;
|
|
251
251
|
}
|
|
252
|
-
|
|
252
|
+
c.setValue(h.value, i.value, e);
|
|
253
253
|
}
|
|
254
254
|
}), m = l({
|
|
255
|
-
get: () =>
|
|
255
|
+
get: () => c.get(h.value, i.value),
|
|
256
256
|
set: (e) => {
|
|
257
|
-
|
|
257
|
+
c.set(h.value, i.value, e);
|
|
258
258
|
}
|
|
259
259
|
}), C = l({
|
|
260
|
-
get: () => !!
|
|
260
|
+
get: () => !!i && c.getEnable(m.value),
|
|
261
261
|
set: (e) => {
|
|
262
|
-
|
|
262
|
+
i.value && c.setEnable(h.value, i.value, e);
|
|
263
263
|
}
|
|
264
264
|
}), ee = l(() => {
|
|
265
265
|
var e, a;
|
|
@@ -283,7 +283,7 @@ function dt(n) {
|
|
|
283
283
|
}), re = l(() => {
|
|
284
284
|
var e;
|
|
285
285
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.path;
|
|
286
|
-
}),
|
|
286
|
+
}), i = l(() => {
|
|
287
287
|
var e;
|
|
288
288
|
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.name) || "";
|
|
289
289
|
}), D = E((H = t == null ? void 0 : t.value) == null ? void 0 : H.data) ? (Q = v((O = t == null ? void 0 : t.value) == null ? void 0 : O.data)) == null ? void 0 : Q(n) : we((U = t == null ? void 0 : t.value) == null ? void 0 : U.data) ? (W = t == null ? void 0 : t.value) == null ? void 0 : W.data : l(() => {
|
|
@@ -291,14 +291,14 @@ function dt(n) {
|
|
|
291
291
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.data;
|
|
292
292
|
}), $ = l(() => {
|
|
293
293
|
var e;
|
|
294
|
-
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.exampleCodeID) ||
|
|
294
|
+
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.exampleCodeID) || i.value || "";
|
|
295
295
|
}), le = l(() => {
|
|
296
296
|
var e;
|
|
297
297
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.title;
|
|
298
|
-
}),
|
|
298
|
+
}), b = l(() => {
|
|
299
299
|
var e, a, r, s;
|
|
300
300
|
return E((e = t == null ? void 0 : t.value) == null ? void 0 : e.type) ? (r = v((a = t == null ? void 0 : t.value) == null ? void 0 : a.type)) == null ? void 0 : r(n) : (s = t == null ? void 0 : t.value) == null ? void 0 : s.type;
|
|
301
|
-
}), ue = l(() => P(le.value,
|
|
301
|
+
}), ue = l(() => P(le.value, i.value)), se = l(() => {
|
|
302
302
|
var e, a, r, s, d;
|
|
303
303
|
return ((e = t.value) == null ? void 0 : e.visibleFn) === void 0 ? !0 : E((a = t == null ? void 0 : t.value) == null ? void 0 : a.visibleFn) ? (s = v((r = t == null ? void 0 : t.value) == null ? void 0 : r.visibleFn)) == null ? void 0 : s(n) : v((d = t == null ? void 0 : t.value) == null ? void 0 : d.visibleFn);
|
|
304
304
|
}), L = l(() => {
|
|
@@ -307,13 +307,13 @@ function dt(n) {
|
|
|
307
307
|
}), oe = l(() => {
|
|
308
308
|
var e;
|
|
309
309
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.rules;
|
|
310
|
-
}),
|
|
310
|
+
}), ie = l(() => {
|
|
311
311
|
var e;
|
|
312
312
|
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.formula) !== !1;
|
|
313
|
-
}),
|
|
313
|
+
}), ce = l(() => {
|
|
314
314
|
var e;
|
|
315
315
|
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.variable) !== !1;
|
|
316
|
-
}), de = l(() => !!
|
|
316
|
+
}), de = l(() => !!c.getVariable(m.value)), ve = l(() => {
|
|
317
317
|
var r;
|
|
318
318
|
var e = (r = t == null ? void 0 : t.value) == null ? void 0 : r.attrs, a = E(e) ? e(n) : e;
|
|
319
319
|
return a;
|
|
@@ -322,9 +322,9 @@ function dt(n) {
|
|
|
322
322
|
return (e = t == null ? void 0 : t.value) == null ? void 0 : e.options;
|
|
323
323
|
}), me = l(() => {
|
|
324
324
|
var r;
|
|
325
|
-
var e = V.i18nt(`designer.setting.${
|
|
325
|
+
var e = V.i18nt(`designer.setting.${i.value}Hint`, !1), a = P(((r = u.value) == null ? void 0 : r.tipContent) || e, i.value);
|
|
326
326
|
return a = $e(a), [
|
|
327
|
-
G(V.i18nt("designer.hint.propName"),
|
|
327
|
+
G(V.i18nt("designer.hint.propName"), i.value),
|
|
328
328
|
G(V.i18nt("designer.hint.description"), a)
|
|
329
329
|
];
|
|
330
330
|
}), fe = l(() => {
|
|
@@ -332,17 +332,17 @@ function dt(n) {
|
|
|
332
332
|
return ((e = u.value) == null ? void 0 : e.multipleFn) === void 0 ? null : E((a = u == null ? void 0 : u.value) == null ? void 0 : a.multipleFn) ? (s = v((r = u == null ? void 0 : u.value) == null ? void 0 : r.multipleFn)) == null ? void 0 : s(n) : v((d = u == null ? void 0 : u.value) == null ? void 0 : d.multipleFn);
|
|
333
333
|
}), he = l(() => {
|
|
334
334
|
var e;
|
|
335
|
-
return P((e = u.value) == null ? void 0 : e.dividerTitle,
|
|
335
|
+
return P((e = u.value) == null ? void 0 : e.dividerTitle, i.value);
|
|
336
336
|
}), A = l(() => {
|
|
337
337
|
var e;
|
|
338
338
|
return (e = u.value) == null ? void 0 : e.codeEdit;
|
|
339
339
|
}), Fe = l(() => {
|
|
340
340
|
var e;
|
|
341
341
|
return (e = u.value) == null ? void 0 : e.addFormItem;
|
|
342
|
-
}),
|
|
342
|
+
}), be = l(() => {
|
|
343
343
|
var e;
|
|
344
344
|
return (e = u.value) == null ? void 0 : e.newRowLabel;
|
|
345
|
-
}),
|
|
345
|
+
}), xe = l(() => {
|
|
346
346
|
var e;
|
|
347
347
|
return (e = u.value) == null ? void 0 : e.noRowLabel;
|
|
348
348
|
}), M = l(() => {
|
|
@@ -353,12 +353,12 @@ function dt(n) {
|
|
|
353
353
|
const e = D == null ? void 0 : D.value, a = (s = u.value) == null ? void 0 : s.passExternalArgs;
|
|
354
354
|
var r = Te(e);
|
|
355
355
|
return a !== !1 && p && (r || (r = []), r.push(o.externalArgs + ":Object")), r;
|
|
356
|
-
}, I = !!
|
|
356
|
+
}, I = !!b.value && [f.javascript, f.targetEvent].includes(b.value), R = !!b.value && [f.json].includes(b.value);
|
|
357
357
|
//!!dataType.value && [BaseDataType.array, BaseDataType.object].includes(dataType.value);
|
|
358
|
-
const p = I &&
|
|
358
|
+
const p = I && i.value !== K.functions, k = (e) => {
|
|
359
359
|
var B;
|
|
360
360
|
var a = N();
|
|
361
|
-
const r =
|
|
361
|
+
const r = i.value, s = h.value;
|
|
362
362
|
if (!r)
|
|
363
363
|
return;
|
|
364
364
|
const d = (B = u.value) == null ? void 0 : B.sfc;
|
|
@@ -372,7 +372,7 @@ function dt(n) {
|
|
|
372
372
|
};
|
|
373
373
|
let pe = L.value === ye.page ? K.page : `${(s == null ? void 0 : s.name) || ""}`;
|
|
374
374
|
a && (a == null ? void 0 : a.length) > 0 && (_ = `( ${a.join(", ")} )`, p && (_ = _ + "{"));
|
|
375
|
-
var q = s == null ? void 0 : s[r],
|
|
375
|
+
var q = s == null ? void 0 : s[r], x = e ? e(q) : c.getValue(q, !0);
|
|
376
376
|
const z = $.value;
|
|
377
377
|
if (d)
|
|
378
378
|
g = Le(v(a));
|
|
@@ -381,9 +381,9 @@ function dt(n) {
|
|
|
381
381
|
g = ge;
|
|
382
382
|
} else
|
|
383
383
|
g = X(z);
|
|
384
|
-
return
|
|
384
|
+
return x ? (p && (x = J(v(x))), R && Y(x) ? y = Z(x, void 0, " ") : x ? y = String(x) : y = "") : p && (y = g), {
|
|
385
385
|
alertTitle: `${M.value ? M.value + " " : ""}${[pe || "component", r].join(".")}${_}`,
|
|
386
|
-
mode: S == null ? void 0 : S[
|
|
386
|
+
mode: S == null ? void 0 : S[b.value],
|
|
387
387
|
exampleCode: g,
|
|
388
388
|
curValue: y,
|
|
389
389
|
params: a
|
|
@@ -398,15 +398,15 @@ function dt(n) {
|
|
|
398
398
|
propModel: m,
|
|
399
399
|
propLabel: ue,
|
|
400
400
|
propValue: F,
|
|
401
|
-
propDataType:
|
|
402
|
-
propName:
|
|
401
|
+
propDataType: b,
|
|
402
|
+
propName: i,
|
|
403
403
|
propExampleCodeID: $,
|
|
404
404
|
// propKey,
|
|
405
405
|
propVisible: se,
|
|
406
406
|
propTipContent: me,
|
|
407
407
|
propPath: re,
|
|
408
|
-
propFormula:
|
|
409
|
-
propVariable:
|
|
408
|
+
propFormula: ie,
|
|
409
|
+
propVariable: ce,
|
|
410
410
|
variableState: de,
|
|
411
411
|
widgetType: L,
|
|
412
412
|
multiple: fe,
|
|
@@ -415,8 +415,8 @@ function dt(n) {
|
|
|
415
415
|
editTip: te,
|
|
416
416
|
localDividerTitle: he,
|
|
417
417
|
addFormItem: Fe,
|
|
418
|
-
newRowLabel:
|
|
419
|
-
noRowLabel:
|
|
418
|
+
newRowLabel: be,
|
|
419
|
+
noRowLabel: xe,
|
|
420
420
|
rules: oe,
|
|
421
421
|
attrs: ve,
|
|
422
422
|
arrayPropValue: ae,
|
|
@@ -425,7 +425,7 @@ function dt(n) {
|
|
|
425
425
|
getCode: J,
|
|
426
426
|
saveCode: (e) => {
|
|
427
427
|
const a = N();
|
|
428
|
-
return p && !Pe(e) ? Xe(
|
|
428
|
+
return p && !Pe(e) ? Xe(i.value || "func", a, e) : R && Y(e) ? De(e) : e;
|
|
429
429
|
},
|
|
430
430
|
initCode: k,
|
|
431
431
|
changeFn: (e) => {
|
|
@@ -436,16 +436,16 @@ function dt(n) {
|
|
|
436
436
|
F.value = e;
|
|
437
437
|
},
|
|
438
438
|
propFormulaChanged: (e) => {
|
|
439
|
-
F.value =
|
|
439
|
+
F.value = c.setFormula(m.value, e);
|
|
440
440
|
},
|
|
441
441
|
propSchemaDataChanged: (e) => {
|
|
442
|
-
F.value =
|
|
442
|
+
F.value = c.setSchemaData(m.value, e);
|
|
443
443
|
},
|
|
444
444
|
propVariableChanged: (e) => {
|
|
445
|
-
m.value =
|
|
445
|
+
m.value = c.setVariable(m.value, e);
|
|
446
446
|
},
|
|
447
447
|
propClearVariable: () => {
|
|
448
|
-
m.value =
|
|
448
|
+
m.value = c.clearVariable(m.value);
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
451
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as t, a } from "./expression-
|
|
2
|
-
import { u as d } from "./emitter-
|
|
1
|
+
import { w as t, a } from "./expression-b8f60625.js";
|
|
2
|
+
import { u as d } from "./emitter-1acbfda9.js";
|
|
3
3
|
import { u as i } from "./icon-aff7bde2.js";
|
|
4
4
|
function f(o) {
|
|
5
5
|
const { instance: n } = i(o.instance), { dispatch: r } = d();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var Dn = Object.defineProperty;
|
|
2
2
|
var Tn = (o, u, O) => u in o ? Dn(o, u, { enumerable: !0, configurable: !0, writable: !0, value: O }) : o[u] = O;
|
|
3
3
|
var ot = (o, u, O) => (Tn(o, typeof u != "symbol" ? u + "" : u, O), O);
|
|
4
|
-
import { onMounted as ct, nextTick as ft, onActivated as Bn, onErrorCaptured as In, isRef as lt, watch as w, ref as le, reactive as rt, computed as Oe, onBeforeUnmount as
|
|
5
|
-
import { i as mt, o as X,
|
|
6
|
-
import { u as
|
|
4
|
+
import { onMounted as ct, nextTick as ft, onActivated as Bn, onErrorCaptured as In, isRef as lt, watch as w, ref as le, reactive as rt, computed as Oe, onBeforeUnmount as Ln, toRaw as jn, inject as $n, toRefs as An } from "vue";
|
|
5
|
+
import { i as mt, o as X, m as ee, b as kn, h as z, d as oe, k as Hn, l as Ce, a as st, e as Gn } from "./obj-571dd058.js";
|
|
6
|
+
import { u as Kn } from "./emitter-1acbfda9.js";
|
|
7
7
|
import { u as dt } from "./icon-aff7bde2.js";
|
|
8
|
-
import { f as $,
|
|
9
|
-
import { l as re, c as vt, t as gt, h as Ee, j as
|
|
10
|
-
import { B as U, P as pt, d as
|
|
11
|
-
import { F as eo, d as to, b as no } from "./slot-
|
|
12
|
-
import { f as oo, t as ro, b as so, h as Te, d as uo } from "./index-
|
|
13
|
-
import { W as A, e as Q, f as ao } from "./enum-type-
|
|
14
|
-
import { p as it, a as Ot, g as io, f as be } from "./multirow-
|
|
15
|
-
import { m as co } from "./uuid-
|
|
8
|
+
import { f as $, k as ye, l as qn, m as Un, b as F, n as ut, a as Jn, d as zn } from "./expression-b8f60625.js";
|
|
9
|
+
import { l as re, c as vt, t as gt, h as Ee, j as Qn, d as me, f as ht, w as Ve } from "./enum-type-dfa86fd6.js";
|
|
10
|
+
import { B as U, P as pt, d as Xn, e as Ie, f as Yn, a as at, b as Zn, c as wn } from "./baseImp-f2767c96.js";
|
|
11
|
+
import { F as eo, d as to, b as no } from "./slot-cc6c2adb.js";
|
|
12
|
+
import { f as oo, t as ro, b as so, h as Te, d as uo } from "./index-1584a7a5.js";
|
|
13
|
+
import { W as A, e as Q, f as ao } from "./enum-type-fe807357.js";
|
|
14
|
+
import { p as it, a as Ot, g as io, f as be } from "./multirow-ac9106c7.js";
|
|
15
|
+
import { m as co } from "./uuid-46529de4.js";
|
|
16
16
|
function fo() {
|
|
17
17
|
return {
|
|
18
18
|
onMountedOrActivated: (O) => {
|
|
@@ -30,7 +30,7 @@ function fo() {
|
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
class
|
|
33
|
+
class Le {
|
|
34
34
|
constructor(u) {
|
|
35
35
|
ot(this, "refList", {});
|
|
36
36
|
u && (this.refList = u);
|
|
@@ -51,7 +51,7 @@ class je {
|
|
|
51
51
|
}
|
|
52
52
|
function Me(o) {
|
|
53
53
|
o || (o = {});
|
|
54
|
-
const u = new
|
|
54
|
+
const u = new Le(o), { instance: O } = dt(), S = (d) => u.getWidgetRef(d == null ? void 0 : d.toString()), D = (d, V, E) => {
|
|
55
55
|
var p = [], P = [];
|
|
56
56
|
let s = S(d);
|
|
57
57
|
return s && p.push(s), p == null || p.forEach((v) => {
|
|
@@ -80,7 +80,7 @@ function Me(o) {
|
|
|
80
80
|
}, k = (d, V) => {
|
|
81
81
|
let E = X(o);
|
|
82
82
|
W(E, d, V);
|
|
83
|
-
},
|
|
83
|
+
}, L = (d, V) => {
|
|
84
84
|
var r, h, i, l;
|
|
85
85
|
const E = (i = (h = (r = V || O) == null ? void 0 : r.exposed) == null ? void 0 : h.getField) == null ? void 0 : i.call(h);
|
|
86
86
|
var p = it(E == null ? void 0 : E.id);
|
|
@@ -89,9 +89,9 @@ function Me(o) {
|
|
|
89
89
|
var M = it(m == null ? void 0 : m.id);
|
|
90
90
|
return (p == null ? void 0 : p.groupName) === (M == null ? void 0 : M.groupName) && ((M == null ? void 0 : M.id) === d || ((y = m == null ? void 0 : m._source) == null ? void 0 : y.id) === d);
|
|
91
91
|
}, v = (l = X(u.refList)) == null ? void 0 : l.find((m) => {
|
|
92
|
-
var y, B,
|
|
92
|
+
var y, B, j;
|
|
93
93
|
try {
|
|
94
|
-
const K = (
|
|
94
|
+
const K = (j = (B = (y = u.refList[m]) == null ? void 0 : y.exposed) == null ? void 0 : B.getField) == null ? void 0 : j.call(B);
|
|
95
95
|
var M = P(K);
|
|
96
96
|
return !M && (p != null && p.groupName) && (M = s(K)), M;
|
|
97
97
|
} catch {
|
|
@@ -118,7 +118,7 @@ function Me(o) {
|
|
|
118
118
|
callRefFunc: N,
|
|
119
119
|
existRefFunc: f,
|
|
120
120
|
setAllRefList: k,
|
|
121
|
-
findRefById:
|
|
121
|
+
findRefById: L,
|
|
122
122
|
findRefByName: S,
|
|
123
123
|
changeRegisterToRefList: (d, V) => {
|
|
124
124
|
d && (g(d), a(V));
|
|
@@ -128,7 +128,7 @@ function Me(o) {
|
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
const lo = (o, u, O, S) => {
|
|
131
|
-
const D = new
|
|
131
|
+
const D = new Le(o), { callRefFunc: f } = Me(o), { parseGroupId: N } = Ot();
|
|
132
132
|
if (!o || o.length <= 0 || !u)
|
|
133
133
|
return;
|
|
134
134
|
const W = () => {
|
|
@@ -142,7 +142,7 @@ const lo = (o, u, O, S) => {
|
|
|
142
142
|
const r = U.getName(v), h = D.getWidgetRef(r);
|
|
143
143
|
if (h)
|
|
144
144
|
return { ref: h, name: r, id: v == null ? void 0 : v.id };
|
|
145
|
-
},
|
|
145
|
+
}, L = (s, v) => {
|
|
146
146
|
if (!ee(v))
|
|
147
147
|
return;
|
|
148
148
|
const r = U.getName(s), h = D.getWidgetRef(r);
|
|
@@ -161,7 +161,7 @@ const lo = (o, u, O, S) => {
|
|
|
161
161
|
if (!r)
|
|
162
162
|
return;
|
|
163
163
|
const h = r.name, i = f(r.ref, A.getValue), l = f(r.ref, A.getCheckedItems), m = {};
|
|
164
|
-
return m[h] = i, i !== void 0 && !
|
|
164
|
+
return m[h] = i, i !== void 0 && !kn(l) && !v && (m[`${h}${ye.checkedOptions}`] = l), m;
|
|
165
165
|
}, a = (s, v) => {
|
|
166
166
|
var h;
|
|
167
167
|
var r = [];
|
|
@@ -198,7 +198,7 @@ const lo = (o, u, O, S) => {
|
|
|
198
198
|
if (!s || s.length <= 0)
|
|
199
199
|
return r;
|
|
200
200
|
if (v === be.Inner2Outer) {
|
|
201
|
-
var h =
|
|
201
|
+
var h = Xn(s, (i) => {
|
|
202
202
|
var l;
|
|
203
203
|
return (l = i.source) == null ? void 0 : l.id;
|
|
204
204
|
});
|
|
@@ -208,8 +208,8 @@ const lo = (o, u, O, S) => {
|
|
|
208
208
|
(M = i == null ? void 0 : i.children) == null || M.forEach((y) => {
|
|
209
209
|
const B = g(y == null ? void 0 : y.id, !0);
|
|
210
210
|
if (ee(B)) {
|
|
211
|
-
var
|
|
212
|
-
m.push(...
|
|
211
|
+
var j = Object.values(vt(B));
|
|
212
|
+
m.push(...j);
|
|
213
213
|
}
|
|
214
214
|
}), l && (r = Object.assign(r, { [l]: m }));
|
|
215
215
|
});
|
|
@@ -227,10 +227,10 @@ const lo = (o, u, O, S) => {
|
|
|
227
227
|
}), v;
|
|
228
228
|
}, E = (s, v, r) => {
|
|
229
229
|
if (r === be.Inner2Inner) {
|
|
230
|
-
const m =
|
|
230
|
+
const m = Qn(v), { updateFomula: M } = Ie(), { buildVariable: y } = Yn();
|
|
231
231
|
var h = V(s);
|
|
232
232
|
if (ee(h)) {
|
|
233
|
-
var i = U.getOrgOption(v, $.defaultValue), l = M(me(i), h, (B,
|
|
233
|
+
var i = U.getOrgOption(v, $.defaultValue), l = M(me(i), h, (B, j) => {
|
|
234
234
|
var K = h[B];
|
|
235
235
|
return mt(K) ? y(B) : y(K);
|
|
236
236
|
});
|
|
@@ -253,7 +253,7 @@ const lo = (o, u, O, S) => {
|
|
|
253
253
|
if (!(l != null && l.some((M) => M.id === u)))
|
|
254
254
|
return;
|
|
255
255
|
const m = d(l, h);
|
|
256
|
-
|
|
256
|
+
L(E(l, s, h), m);
|
|
257
257
|
};
|
|
258
258
|
(() => {
|
|
259
259
|
var s;
|
|
@@ -267,7 +267,7 @@ const lo = (o, u, O, S) => {
|
|
|
267
267
|
return;
|
|
268
268
|
const { parseGroupId: f } = Ot();
|
|
269
269
|
var N = f(u), W = N == null ? void 0 : N.groupName;
|
|
270
|
-
const { callRefFunc: k } = Me(o),
|
|
270
|
+
const { callRefFunc: k } = Me(o), L = (d, V) => {
|
|
271
271
|
var r, h, i;
|
|
272
272
|
const E = (h = (r = X(o)) == null ? void 0 : r.map((l) => k(o == null ? void 0 : o[l], A.getField))) == null ? void 0 : h.filter((l) => !!l), p = (i = oo(E, (l) => {
|
|
273
273
|
var m = f(l == null ? void 0 : l.id);
|
|
@@ -275,7 +275,7 @@ const lo = (o, u, O, S) => {
|
|
|
275
275
|
})) == null ? void 0 : i[0];
|
|
276
276
|
if (!p)
|
|
277
277
|
return;
|
|
278
|
-
const P = U.getName(p), v = new
|
|
278
|
+
const P = U.getName(p), v = new Le(o).getWidgetRef(P);
|
|
279
279
|
v && (V == null || V(v));
|
|
280
280
|
}, g = gt(S == null ? void 0 : S.newValue, !0), a = (x = X(O)) == null ? void 0 : x.filter((d) => g == null ? void 0 : g.includes(d));
|
|
281
281
|
!a || a.length <= 0 || a == null || a.forEach((d) => {
|
|
@@ -285,7 +285,7 @@ const lo = (o, u, O, S) => {
|
|
|
285
285
|
var v;
|
|
286
286
|
const s = V == null ? void 0 : V[P];
|
|
287
287
|
(v = s == null ? void 0 : s.ids) == null || v.forEach((r) => {
|
|
288
|
-
|
|
288
|
+
L(r, (h) => {
|
|
289
289
|
k(h, s == null ? void 0 : s.event, s == null ? void 0 : s.args);
|
|
290
290
|
});
|
|
291
291
|
});
|
|
@@ -335,12 +335,12 @@ function vo() {
|
|
|
335
335
|
setMousePos: N,
|
|
336
336
|
getMousePos: (g) => S(g),
|
|
337
337
|
insertOnMousePos: (g, a, x) => {
|
|
338
|
-
const d = S(g), V = D(g), E =
|
|
338
|
+
const d = S(g), V = D(g), E = qn(x, a, d, V);
|
|
339
339
|
return ft(() => {
|
|
340
340
|
N(g, d + (a == null ? void 0 : a.length));
|
|
341
341
|
}), E;
|
|
342
342
|
},
|
|
343
|
-
deleteOnMousePos: (g, a) =>
|
|
343
|
+
deleteOnMousePos: (g, a) => Un(a, g)
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
346
|
const go = (o) => {
|
|
@@ -370,9 +370,9 @@ function ho(o, u, O) {
|
|
|
370
370
|
D.includes(a == null ? void 0 : a.id) && f.push(x);
|
|
371
371
|
}
|
|
372
372
|
});
|
|
373
|
-
const
|
|
374
|
-
return (g = X(
|
|
375
|
-
f.includes(a) && oe(S, { [a]:
|
|
373
|
+
const L = z(u);
|
|
374
|
+
return (g = X(L)) == null || g.forEach((a) => {
|
|
375
|
+
f.includes(a) && oe(S, { [a]: L[a] });
|
|
376
376
|
}), ee(S) ? S : {};
|
|
377
377
|
}
|
|
378
378
|
function No(o) {
|
|
@@ -381,19 +381,19 @@ function No(o) {
|
|
|
381
381
|
created: O = !0,
|
|
382
382
|
exResetField: S,
|
|
383
383
|
extInitFieldModel: D
|
|
384
|
-
} = o, f = o == null ? void 0 : o.widget, N = o == null ? void 0 : o.designer, W = N == null ? void 0 : N.pageConfig, k = le(!1), { globalFormOptions:
|
|
384
|
+
} = o, f = o == null ? void 0 : o.widget, N = o == null ? void 0 : o.designer, W = N == null ? void 0 : N.pageConfig, k = le(!1), { globalFormOptions: L, formRefList: g, globalRefList: a, globalConfig: x, globalFormName: d, globalDataModel: V, rowScope: E } = eo.globalInject(), p = Me(a), P = Me(g);
|
|
385
385
|
let s = rt(V || {});
|
|
386
|
-
const v = rt({}), { instance: r } = dt(), h = () =>
|
|
386
|
+
const v = rt({}), { instance: r } = dt(), h = () => jn(s), i = () => E, l = () => f, m = () => !u && go(f);
|
|
387
387
|
m() && w(s, (e) => {
|
|
388
388
|
const t = ho(f, e, N.widgetList);
|
|
389
|
-
|
|
389
|
+
Hn(z(t), z(v)) || oe(v, t);
|
|
390
390
|
}, { immediate: !0 });
|
|
391
391
|
const y = at({
|
|
392
392
|
instance: r,
|
|
393
393
|
designState: u,
|
|
394
394
|
pageConfig: W,
|
|
395
395
|
globalConfig: x
|
|
396
|
-
}),
|
|
396
|
+
}), j = {
|
|
397
397
|
instance: {
|
|
398
398
|
exposed: {
|
|
399
399
|
findRefByName: p.getWidgetRef,
|
|
@@ -418,7 +418,7 @@ function No(o) {
|
|
|
418
418
|
pageConfig: W,
|
|
419
419
|
formData: m() ? v : {},
|
|
420
420
|
globalConfig: x
|
|
421
|
-
}, { on$: K, dispatch: Re, emit$:
|
|
421
|
+
}, { on$: K, dispatch: Re, emit$: je } = Kn(), { onCompErrorCaptured: Vt } = fo(), { isIdClass: bt, getIdByIdClass: yt } = so(f), { getOneSchemaData: Et, getSchemaDataObject: Mt, getSchemaDatas: Rt, getGlobalParams: St } = at(j), te = vo(), _t = (o == null ? void 0 : o.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: ne, extendAttrs: Se, events: H, slots: $e, rules: Ae, fieldName: R, buildRules: xt, clearRules: Pt, disableChangeValidate: Nt, enableChangeValidate: Wt, optionItems: de, refreshOptionItems: Ft, filterOptionItems: Dt, getCheckedOptionText: Tt, getCheckedOptionValues: Bt, getCheckedOptionLabels: It, getCheckedOptionItems: Lt, activeOptionItems: jt, activeOptionItem: $t, activeOptionItemIndex: At, setOptionItems: ke, isOptionWidget: kt, setWidgetOption: se, getWidgetOption: ue, getWidgetOptionByPropValue: Ht, setFieldEnable: Gt, hasFieldOptions: Kt, getFieldOptions: ae, setFieldOptions: qt, computedDefaultValue: ve, hasDefaultValue: ge, watchOption: He, addCssClass: Ut, removeCssClass: Jt } = Zn(f, j, _t, r), Ge = Oe(() => {
|
|
422
422
|
var C;
|
|
423
423
|
if (![Q.wrapper].includes(f.type) && f.category == ao.container)
|
|
424
424
|
return ne.value;
|
|
@@ -426,7 +426,7 @@ function No(o) {
|
|
|
426
426
|
if (Ce(ne.value, F.disabled) && !Ce(ne.value, F.readonly)) {
|
|
427
427
|
var n = (e == null ? void 0 : e.disabled) === !0;
|
|
428
428
|
if (!n) {
|
|
429
|
-
var c = (C = Ee(
|
|
429
|
+
var c = (C = Ee(L)) == null ? void 0 : C[F.readonly], b = c === !0;
|
|
430
430
|
e[F.disabled] = b;
|
|
431
431
|
}
|
|
432
432
|
}
|
|
@@ -438,7 +438,7 @@ function No(o) {
|
|
|
438
438
|
}), Ke = (e, t) => {
|
|
439
439
|
var n;
|
|
440
440
|
return Ce(t, e) ? {
|
|
441
|
-
[e]: ((n = Ee(
|
|
441
|
+
[e]: ((n = Ee(L)) == null ? void 0 : n[e]) || (t == null ? void 0 : t[e])
|
|
442
442
|
} : {};
|
|
443
443
|
};
|
|
444
444
|
let _e = null, _ = le();
|
|
@@ -459,7 +459,7 @@ function No(o) {
|
|
|
459
459
|
get: () => {
|
|
460
460
|
if (st(_.value)) {
|
|
461
461
|
var e = ht(_.value);
|
|
462
|
-
|
|
462
|
+
Gn(e) && (_.value = e);
|
|
463
463
|
}
|
|
464
464
|
return _.value;
|
|
465
465
|
},
|
|
@@ -545,7 +545,7 @@ function No(o) {
|
|
|
545
545
|
var n = { newValue: e, oldValue: t };
|
|
546
546
|
if (me(n) == me(we))
|
|
547
547
|
return;
|
|
548
|
-
Object.assign(we, n),
|
|
548
|
+
Object.assign(we, n), je($.fieldValueChanged, n);
|
|
549
549
|
const c = { fieldId: f.id, fieldName: R.value, newValue: e, oldValue: t };
|
|
550
550
|
Re(d, $.fieldChange, c, r);
|
|
551
551
|
}, nn = (e) => ue(e), Ne = (e, t) => wn(ue(e), t), on = (e) => {
|
|
@@ -634,7 +634,7 @@ function No(o) {
|
|
|
634
634
|
getFormData: h,
|
|
635
635
|
getValue: J,
|
|
636
636
|
setValue: We,
|
|
637
|
-
emit$:
|
|
637
|
+
emit$: je,
|
|
638
638
|
findRefByName: p.getWidgetRef,
|
|
639
639
|
findRefById: p.findRefById,
|
|
640
640
|
callRefFunc: p.callRefFunc,
|
|
@@ -718,7 +718,7 @@ function No(o) {
|
|
|
718
718
|
}, bn = () => {
|
|
719
719
|
!Z(f) || u || gn((e) => {
|
|
720
720
|
const t = f == null ? void 0 : f.id;
|
|
721
|
-
lo(a, t,
|
|
721
|
+
lo(a, t, j), mo(a, t, U.getOptions(f, F.relate), e), setTimeout(() => {
|
|
722
722
|
ie(e.newValue), en(e == null ? void 0 : e.newValue);
|
|
723
723
|
}, 1e3), he(e.newValue, e.oldValue);
|
|
724
724
|
}, { immediate: !0 });
|
|
@@ -736,7 +736,7 @@ function No(o) {
|
|
|
736
736
|
}, nt = () => {
|
|
737
737
|
Pt(), tt();
|
|
738
738
|
}, yn = () => {
|
|
739
|
-
Te(f, "change") && (H.value.change = sn), Te(f, "input") && (H.value.input = on), K(
|
|
739
|
+
Te(f, "change") && (H.value.change = sn), Te(f, "input") && (H.value.input = on), K(Jn.setFormData, (e) => {
|
|
740
740
|
fe(e[R.value]);
|
|
741
741
|
}), K($.fieldValueChanged, (e) => {
|
|
742
742
|
Ne($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
|
|
@@ -757,7 +757,7 @@ function No(o) {
|
|
|
757
757
|
Pn();
|
|
758
758
|
});
|
|
759
759
|
}, Sn = () => {
|
|
760
|
-
const e = $n(
|
|
760
|
+
const e = $n(zn.isRenderComplete), t = () => 10, n = () => {
|
|
761
761
|
setTimeout(() => {
|
|
762
762
|
k.value = !0, Mn(), bn(), pe();
|
|
763
763
|
}, t());
|
|
@@ -785,7 +785,7 @@ function No(o) {
|
|
|
785
785
|
} catch (n) {
|
|
786
786
|
re.error("mounted", n, f);
|
|
787
787
|
}
|
|
788
|
-
}),
|
|
788
|
+
}), Ln(() => {
|
|
789
789
|
p.unregisterFromRefList(R.value), P.unregisterFromRefList(R.value);
|
|
790
790
|
}));
|
|
791
791
|
}, Pn = (e) => {
|
|
@@ -814,9 +814,9 @@ function No(o) {
|
|
|
814
814
|
pageConfig: W,
|
|
815
815
|
formModel: s,
|
|
816
816
|
fieldName: R,
|
|
817
|
-
propResultOpt:
|
|
817
|
+
propResultOpt: j,
|
|
818
818
|
optionItems: de,
|
|
819
|
-
activeOptionItems:
|
|
819
|
+
activeOptionItems: jt,
|
|
820
820
|
activeOptionItem: $t,
|
|
821
821
|
activeOptionItemIndex: At,
|
|
822
822
|
refreshOptionItems: Ft,
|
|
@@ -824,7 +824,7 @@ function No(o) {
|
|
|
824
824
|
filterOptionItems: Dt,
|
|
825
825
|
setOptionItems: ke,
|
|
826
826
|
getCheckedItems: Pe,
|
|
827
|
-
getCheckedOptionItems: (e, t) =>
|
|
827
|
+
getCheckedOptionItems: (e, t) => Lt(e || _.value, t),
|
|
828
828
|
getCheckedOptionLabels: (e, t) => It(e || _.value, t),
|
|
829
829
|
getCheckedOptionValues: (e, t) => Bt(e || _.value, t),
|
|
830
830
|
getCheckedOptionText: (e, t) => Tt(e || _.value, t),
|
|
@@ -852,7 +852,7 @@ function No(o) {
|
|
|
852
852
|
};
|
|
853
853
|
}
|
|
854
854
|
export {
|
|
855
|
-
|
|
855
|
+
Le as R,
|
|
856
856
|
fo as a,
|
|
857
857
|
No as b,
|
|
858
858
|
Me as u
|