hlrender 0.0.240 → 0.0.241
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/_image-4162224b.js +28 -0
- package/{_pdf-a13f8cfd.js → _pdf-68d429e2.js} +14 -14
- package/{_txt-c703934e.js → _txt-cae17b86.js} +12 -12
- package/_unsupport-b8307858.js +35 -0
- package/{_video-21c5b64e.js → _video-bc981b0b.js} +8 -8
- package/affix-widget-206f82ff.js +47 -0
- package/alert-widget-48ac2ae0.js +47 -0
- package/{anchor-link-widget-919ac0ee.js → anchor-link-widget-dae98704.js} +1 -1
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-c6ab731a.js +36 -0
- package/anchor-widget-2394a0ac.js +60 -0
- package/{auto-complete-widget-0125dd70.js → auto-complete-widget-b1949ba1.js} +30 -30
- package/avatar-widget-ea2f5842.js +41 -0
- package/backtop-widget-33a9c281.js +47 -0
- package/badge-widget-38519bd6.js +53 -0
- package/{barcode-widget-5fab2029.js → barcode-widget-f6e052a2.js} +14 -14
- package/baseImp-cf2a056f.js +12245 -0
- package/{breadcrumb-widget-857d61b6.js → breadcrumb-widget-3b25f641.js} +24 -21
- package/button-widget-9f8ba534.js +57 -0
- package/cache-widget-5d7386cb.js +53 -0
- package/{card-widget-3f918e6b.js → card-widget-738fe0dc.js} +33 -33
- package/{carousel-widget-92276661.js → carousel-widget-4d37e1f3.js} +21 -21
- package/{cascader-widget-df754d8f.js → cascader-widget-371d58f6.js} +59 -59
- package/{chart-widget-500032c9.js → chart-widget-5d31b504.js} +17 -17
- package/checkbox-widget-0072c102.js +113 -0
- package/collapse-widget-485a4451.js +94 -0
- package/color-bae04003.js +59 -0
- package/color-picker-widget-df648695.js +56 -0
- package/{cont-cell-widget-38336940.js → cont-cell-widget-293cee86.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-83387e6c.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-08981f90.js} +17 -17
- package/{cont-widget-2f9073a1.js → cont-widget-677d012d.js} +7 -7
- package/content-wrapper-44a5887d.js +16 -0
- package/content-wrapper.vue_vue_type_script_setup_true_lang-4ab88b8e.js +38 -0
- package/countdown-widget-8d5636b8.js +53 -0
- package/{date-picker-range-widget-d0144120.js → date-picker-range-widget-623b1c04.js} +25 -25
- package/{date-picker-widget-5e783c3a.js → date-picker-widget-989230ea.js} +33 -33
- package/default-slot-widget-184375d4.js +26 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8444de52.js +84 -0
- package/{descriptions-widget-5fdf2054.js → descriptions-widget-8a41c70b.js} +22 -22
- package/{dialog-bb4f1f51.js → dialog-8ecdabe5.js} +2 -2
- package/{dialog-widget-cb324d6e.js → dialog-widget-fdf07199.js} +16 -16
- package/divider-widget-480eec10.js +47 -0
- package/drag-wrapper-8ba8d26a.js +256 -0
- package/{drawer-widget-65915ac4.js → drawer-widget-f14cbeb1.js} +16 -16
- package/{dropdown-widget-b3c1e044.js → dropdown-widget-5d0414ec.js} +25 -25
- package/empty-widget-35365e0e.js +47 -0
- package/{enum-type-d9039fa1.js → enum-type-05ccb088.js} +331 -108
- package/{enum-type-6aec5442.js → enum-type-35e3b2e0.js} +143 -109
- package/{expression-f3029af0.js → expression-a880b354.js} +13 -12
- package/feedback-widget-4a439150.js +26 -0
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b04a1d28.js +90 -0
- package/{fieldobj-51ea9fd4.js → fieldobj-4d9ab4ce.js} +1 -1
- package/{file-upload-widget-efa77826.js → file-upload-widget-407f3b6f.js} +107 -107
- package/form-item-wrapper-002adf08.js +86 -0
- package/{form-widget-a9bca6cf.js → form-widget-7308fc3f.js} +28 -28
- package/{grid-col-widget-385790ca.js → grid-col-widget-a8dd7ebe.js} +1 -1
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e76e6d58.js +41 -0
- package/{grid-widget-756eb266.js → grid-widget-8e32f92f.js} +5 -5
- package/hcard-widget-c4671309.js +94 -0
- package/{html-text-widget-30dda872.js → html-text-widget-d40831f7.js} +15 -15
- package/icon-3ea488c1.js +177 -0
- package/icon-widget-6c27fd6b.js +62 -0
- package/iframe-widget-13ff4929.js +113 -0
- package/{image-widget-86263e1f.js → image-widget-ae7fcd72.js} +18 -18
- package/index-31e1760d.js +19 -0
- package/index-658d06a4.js +46 -0
- package/{index-def6ce54.js → index-67481ab5.js} +44 -44
- package/{index-ddd23411.js → index-6bcfdc22.js} +1668 -1678
- package/index-7d31ccfb.js +65 -0
- package/{index-6e6cb350.js → index-847ef399.js} +4821 -3681
- package/{input-number-widget-d9d05004.js → input-number-widget-37c014bb.js} +19 -19
- package/input-tag-widget-bcc1bd3e.js +71 -0
- package/{input-widget-e79eb54b.js → input-widget-ebed702a.js} +25 -25
- package/{label-wrapper-70f516f3.js → label-wrapper-7e85c84b.js} +6 -6
- package/label-wrapper.vue_vue_type_style_index_0_lang-57a4c003.js +63 -0
- package/link-widget-ea2a7cc9.js +65 -0
- package/{ltable-col-widget-7abf0558.js → ltable-col-widget-91f26266.js} +1 -1
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-bbe5ac06.js +278 -0
- package/{ltable-widget-54353e2c.js → ltable-widget-111c9922.js} +11 -11
- package/mention-widget-b66ac807.js +82 -0
- package/{menu-widget-59428d51.js → menu-widget-46659645.js} +40 -40
- package/model-widget-093857b9.js +155 -0
- package/{multirow-e584e53e.js → multirow-50d903a8.js} +7 -7
- package/multirow-widget-d550d2ee.js +723 -0
- package/package.json +1 -1
- package/{pagination-widget-073404ec.js → pagination-widget-4998f804.js} +23 -23
- package/{picture-upload-widget-de458608.js → picture-upload-widget-3102164b.js} +35 -35
- package/{progress-widget-61d36d75.js → progress-widget-514e315d.js} +31 -31
- package/{qrcode-widget-d61699f7.js → qrcode-widget-e331f58f.js} +18 -18
- package/{radio-widget-90c654d2.js → radio-widget-df89345f.js} +28 -28
- package/{range-widget-61de869b.js → range-widget-b972e54c.js} +21 -21
- package/rate-widget-88301af3.js +56 -0
- package/render.es.js +1433 -1468
- package/render.style.css +1 -1
- package/render.umd.js +447 -445
- package/result-widget-623c24cf.js +67 -0
- package/rich-editor-widget-e8ab8b01.js +74 -0
- package/{router-widget-2f3caace.js → router-widget-2daa2c82.js} +24 -24
- package/segmented-widget-caf0f51a.js +89 -0
- package/{select-widget-bbbfbe39.js → select-widget-469026c5.js} +163 -145
- package/{sfc-8b4fab62.js → sfc-8b7e2487.js} +9 -9
- package/{sfcview-4cc49bc7.js → sfcview-addac91a.js} +8 -8
- package/share-field-6fc223d3.js +812 -0
- package/{share-file-246cb4c4.js → share-file-7432d2c5.js} +10 -10
- package/skeleton-widget-ff72bbaa.js +79 -0
- package/skeletonItem-widget-0a4f3d54.js +51 -0
- package/slider-widget-01359ef3.js +62 -0
- package/slot-1605ee49.js +329 -0
- package/space-widget-d8c7642f.js +103 -0
- package/splitter-widget-169878d5.js +96 -0
- package/{static-text-widget-e92de029.js → static-text-widget-1dd47867.js} +15 -15
- package/statistic-widget-9b3c6dfa.js +47 -0
- package/{steps-widget-fbf76f6f.js → steps-widget-b872e743.js} +30 -30
- package/{subMenu-widget-db4fb9e7.js → subMenu-widget-1cb5e243.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-f683e81b.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5c50e597.js} +17 -17
- package/switch-widget-45e34bfb.js +56 -0
- package/{tab-pane-widget-12e7a855.js → tab-pane-widget-2b27921e.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ada23146.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-671795c3.js} +7 -7
- package/table-col-widget-13763429.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-d1ca7343.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b2343af4.js} +13 -13
- package/{table-widget-c8538746.js → table-widget-dd36a5c4.js} +95 -95
- package/tabs-widget-5616ead0.js +81 -0
- package/tag-widget-1a56a996.js +47 -0
- package/text-widget-75a360ea.js +47 -0
- package/{textarea-widget-2e9c4c5c.js → textarea-widget-c15e1c51.js} +20 -20
- package/time-picker-range-widget-96a2df74.js +81 -0
- package/time-picker-widget-15e10aba.js +64 -0
- package/{time-select-widget-1d598778.js → time-select-widget-a42a3207.js} +25 -25
- package/{tmpl-widget-db5c671b.js → tmpl-widget-929ad1e9.js} +34 -33
- package/tooltip-widget-57b89602.js +95 -0
- package/tour-widget-8376d229.js +148 -0
- package/transfer-widget-fb2462c7.js +81 -0
- package/tree-select-widget-bbb86849.js +149 -0
- package/tree-widget-3549ff5c.js +90 -0
- package/{uuid-b62f2c76.js → uuid-68f25733.js} +1 -1
- package/{verifycode-widget-bbea625b.js → verifycode-widget-e7e45e49.js} +14 -14
- package/vertical-progress-widget-c44812e6.js +52 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js +282 -0
- package/{wrapper-widget-f68e66c3.js → wrapper-widget-b06bb4ff.js} +10 -10
- package/_image-fab8c8e2.js +0 -28
- package/_unsupport-d50224e3.js +0 -35
- package/affix-widget-789feb65.js +0 -39
- package/alert-widget-63cd5c5a.js +0 -39
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +0 -35
- package/anchor-widget-49c375f5.js +0 -57
- package/avatar-widget-9fe59f69.js +0 -39
- package/backtop-widget-20a22c55.js +0 -39
- package/badge-widget-e14e15ee.js +0 -45
- package/baseImp-e7019392.js +0 -11761
- package/button-widget-99b86b02.js +0 -49
- package/cache-widget-ffad5550.js +0 -53
- package/checkbox-widget-ce1d82b1.js +0 -113
- package/collapse-widget-b5a66cb7.js +0 -91
- package/color-picker-widget-3cd16df1.js +0 -56
- package/content-wrapper-b6a4af37.js +0 -16
- package/content-wrapper.vue_vue_type_script_setup_true_lang-f85c79ab.js +0 -38
- package/default-slot-widget-2fe31242.js +0 -26
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-95a8ab1f.js +0 -77
- package/divider-widget-49bf3173.js +0 -39
- package/drag-wrapper-f4bca4ff.js +0 -255
- package/empty-widget-d7bbafef.js +0 -39
- package/feedback-widget-957f30a6.js +0 -26
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-d74d3e70.js +0 -82
- package/form-item-wrapper-463d3741.js +0 -86
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-1ea426ed.js +0 -41
- package/icon-a0e0cdb0.js +0 -119
- package/icon-widget-9600bc30.js +0 -62
- package/iframe-widget-628cb5f3.js +0 -116
- package/index-56592f6b.js +0 -65
- package/index-ae1f26e5.js +0 -46
- package/label-wrapper.vue_vue_type_style_index_0_lang-ab1f665c.js +0 -63
- package/link-widget-846ce118.js +0 -57
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d7ae4d1b.js +0 -278
- package/model-widget-61c52098.js +0 -122
- package/multirow-widget-bc32475c.js +0 -723
- package/rate-widget-d4625a06.js +0 -56
- package/result-widget-e0bf88d9.js +0 -67
- package/rich-editor-widget-b60ee90e.js +0 -74
- package/share-field-31e54485.js +0 -806
- package/slider-widget-ba332600.js +0 -62
- package/slot-2e4f2fc2.js +0 -327
- package/switch-widget-e39c9d91.js +0 -56
- package/table-col-widget-c07f1e00.js +0 -22
- package/tabs-widget-fa5bc61d.js +0 -81
- package/tag-widget-6dba56b7.js +0 -39
- package/text-widget-9b4d9434.js +0 -39
- package/time-picker-range-widget-f28edc55.js +0 -81
- package/time-picker-widget-204976c9.js +0 -64
- package/tree-select-widget-a6c6e586.js +0 -149
- package/tree-widget-3c33c0b3.js +0 -90
- package/vertical-progress-widget-fa6b14ff.js +0 -52
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-51855710.js +0 -282
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { t as b, c as
|
|
3
|
-
import { d as
|
|
4
|
-
import { b as
|
|
5
|
-
import { I as
|
|
6
|
-
import
|
|
7
|
-
import { b as
|
|
8
|
-
import { d as
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./dialog-
|
|
1
|
+
import { defineComponent as ve, ref as E, computed as re, shallowRef as ue, watch as te, onMounted as ze, resolveComponent as U, openBlock as t, createBlock as i, mergeProps as V, unref as l, withCtx as m, toHandlers as ne, createElementBlock as _, createVNode as Ie, createTextVNode as Ne, toDisplayString as Se, createCommentVNode as C, Fragment as g, renderList as S, resolveDynamicComponent as F } from "vue";
|
|
2
|
+
import { t as b, c as oe, e as q } from "./enum-type-05ccb088.js";
|
|
3
|
+
import { d as Be } from "./baseImp-cf2a056f.js";
|
|
4
|
+
import { b as Ee } from "./share-field-6fc223d3.js";
|
|
5
|
+
import { I as Pe } from "./field-base-1acf3ada.js";
|
|
6
|
+
import De from "./form-item-wrapper-002adf08.js";
|
|
7
|
+
import { b as Le, w as Ue } from "./expression-a880b354.js";
|
|
8
|
+
import { d as se } from "./slot-1605ee49.js";
|
|
9
|
+
import "./enum-type-35e3b2e0.js";
|
|
10
|
+
import "./icon-3ea488c1.js";
|
|
11
|
+
import "./dialog-8ecdabe5.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-68f25733.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./multirow-
|
|
16
|
-
import "./index-
|
|
15
|
+
import "./multirow-50d903a8.js";
|
|
16
|
+
import "./index-847ef399.js";
|
|
17
17
|
import "./widget-base-8eece820.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
19
|
+
import "./index-7d31ccfb.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-57a4c003.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const We = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "el-select-dropdown__item"
|
|
28
|
-
}, $e =
|
|
28
|
+
}, $e = ve({ componentName: Ue.FieldWidget }), fl = /* @__PURE__ */ ve({
|
|
29
29
|
...$e,
|
|
30
30
|
__name: "select-widget",
|
|
31
|
-
props: { ...
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
31
|
+
props: { ...Pe },
|
|
32
|
+
setup(de, { expose: ie }) {
|
|
33
|
+
const ce = de, {
|
|
34
34
|
fieldEditor: J,
|
|
35
35
|
fieldKey: Q,
|
|
36
36
|
fieldModel: k,
|
|
37
37
|
objFieldModel: X,
|
|
38
|
-
rules:
|
|
38
|
+
rules: fe,
|
|
39
39
|
attrs: c,
|
|
40
|
-
extendAttrs:
|
|
40
|
+
extendAttrs: u,
|
|
41
41
|
events: Y,
|
|
42
|
-
slots:
|
|
43
|
-
exposed:
|
|
42
|
+
slots: ye,
|
|
43
|
+
exposed: me,
|
|
44
44
|
fieldObj: pe,
|
|
45
45
|
optionItems: y,
|
|
46
|
-
getFieldOptions:
|
|
46
|
+
getFieldOptions: he,
|
|
47
47
|
getWidgetOption: Z,
|
|
48
|
-
getCheckedOptionItems:
|
|
49
|
-
setOptionItems:
|
|
50
|
-
refreshOptionItems:
|
|
51
|
-
watchOption:
|
|
52
|
-
} =
|
|
53
|
-
var a,
|
|
54
|
-
return (a =
|
|
55
|
-
},
|
|
48
|
+
getCheckedOptionItems: ke,
|
|
49
|
+
setOptionItems: _e,
|
|
50
|
+
refreshOptionItems: ge,
|
|
51
|
+
watchOption: be
|
|
52
|
+
} = Ee(ce), M = E(), Ke = E(!1), I = (e) => {
|
|
53
|
+
var a, r;
|
|
54
|
+
return (a = u.value) != null && a.allItemAsValue ? e : e == null ? void 0 : e[(r = u.value) == null ? void 0 : r.valueKey];
|
|
55
|
+
}, P = re({
|
|
56
56
|
get: () => b(k.value, !1),
|
|
57
57
|
set: (e) => {
|
|
58
58
|
k.value = e;
|
|
59
59
|
}
|
|
60
|
-
}),
|
|
61
|
-
get: () => X.value == null ? [] : b(
|
|
60
|
+
}), D = re({
|
|
61
|
+
get: () => X.value == null ? [] : b($(X.value), !0),
|
|
62
62
|
set: (e) => {
|
|
63
|
-
k.value =
|
|
63
|
+
k.value = $(e);
|
|
64
64
|
}
|
|
65
|
-
}), L =
|
|
66
|
-
let
|
|
67
|
-
te(
|
|
68
|
-
var a,
|
|
69
|
-
|
|
65
|
+
}), L = E(!1);
|
|
66
|
+
let p = ue(), B = ue();
|
|
67
|
+
te(ye, (e) => {
|
|
68
|
+
var a, r;
|
|
69
|
+
p.value = (a = se(e, "optionDefault")) == null ? void 0 : a.default, B.value = (r = se(e, "prefix")) == null ? void 0 : r.default;
|
|
70
70
|
}, { immediate: !0 });
|
|
71
|
-
var
|
|
72
|
-
const
|
|
71
|
+
var W = Z("filterMethod");
|
|
72
|
+
const Oe = (e, a) => {
|
|
73
73
|
var v;
|
|
74
|
-
if (
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var f =
|
|
74
|
+
if (W) {
|
|
75
|
+
var r = (v = y == null ? void 0 : y.value) == null ? void 0 : v.filter((o) => {
|
|
76
|
+
var h, z;
|
|
77
|
+
var f = Be(W, { keyword: e, option: { ...o, label: o == null ? void 0 : o[(h = u.value) == null ? void 0 : h.labelKey], value: o == null ? void 0 : o[(z = u.value) == null ? void 0 : z.valueKey] } });
|
|
78
78
|
return f;
|
|
79
79
|
});
|
|
80
|
-
a && a(
|
|
80
|
+
a && a(r);
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
|
|
84
|
-
G(e,
|
|
83
|
+
W && Object.assign(c.value, { filterMethod: (e) => {
|
|
84
|
+
G(e, Oe);
|
|
85
85
|
} });
|
|
86
86
|
var x = Z("remoteMethod");
|
|
87
87
|
const G = (e, a) => {
|
|
88
|
-
a && (
|
|
89
|
-
M.value =
|
|
88
|
+
a && (Ke.value = !0, e ? (L.value = !0, a(e, (r) => {
|
|
89
|
+
M.value = r, L.value = !1;
|
|
90
90
|
})) : M.value = y == null ? void 0 : y.value);
|
|
91
91
|
};
|
|
92
92
|
x && Object.assign(c.value, { remoteMethod: (e) => {
|
|
@@ -94,118 +94,118 @@ const We = {
|
|
|
94
94
|
} });
|
|
95
95
|
const ee = () => {
|
|
96
96
|
var a;
|
|
97
|
-
var e =
|
|
98
|
-
return e ? (a = y == null ? void 0 : y.value) == null ? void 0 : a.map((
|
|
97
|
+
var e = he("valueKey");
|
|
98
|
+
return e ? (a = y == null ? void 0 : y.value) == null ? void 0 : a.map((r) => r == null ? void 0 : r[e]) : [];
|
|
99
99
|
};
|
|
100
|
-
var
|
|
100
|
+
var Ve = () => {
|
|
101
101
|
if (!k.value)
|
|
102
102
|
return !1;
|
|
103
103
|
if (!Array.isArray(k.value))
|
|
104
104
|
return !0;
|
|
105
105
|
var e = ee();
|
|
106
106
|
return !(e != null && e.some((a) => {
|
|
107
|
-
var
|
|
108
|
-
return ((
|
|
107
|
+
var r;
|
|
108
|
+
return ((r = k.value) == null ? void 0 : r.indexOf(a)) === -1;
|
|
109
109
|
}));
|
|
110
110
|
};
|
|
111
|
-
const le =
|
|
111
|
+
const le = E(Ve()), Ce = (e) => {
|
|
112
112
|
e ? k.value = ee() : k.value = [];
|
|
113
|
-
}, j =
|
|
113
|
+
}, j = E(), Me = () => {
|
|
114
114
|
var a;
|
|
115
|
-
((a = c == null ? void 0 : c.value) == null ? void 0 : a.multiple) ?
|
|
116
|
-
},
|
|
115
|
+
((a = c == null ? void 0 : c.value) == null ? void 0 : a.multiple) ? D.value != null && (j.value = D.value) : P.value != null && (j.value = [P.value]);
|
|
116
|
+
}, je = () => {
|
|
117
117
|
var e, a;
|
|
118
|
-
(e =
|
|
119
|
-
},
|
|
118
|
+
(e = u.value) != null && e.allItemAsValue && ((a = c.value) != null && a.remote) && T(j.value);
|
|
119
|
+
}, $ = (e) => {
|
|
120
120
|
var A, w;
|
|
121
|
-
const a = b(e, !0),
|
|
122
|
-
if (!
|
|
123
|
-
return j.value = a, b(a,
|
|
124
|
-
for (var v = "", o = [], f =
|
|
125
|
-
const s = a[
|
|
121
|
+
const a = b(e, !0), r = (A = c == null ? void 0 : c.value) == null ? void 0 : A.multiple;
|
|
122
|
+
if (!r || !((w = u == null ? void 0 : u.value) != null && w.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
|
|
123
|
+
return j.value = a, b(a, r);
|
|
124
|
+
for (var v = "", o = [], f = oe(b(M.value, !0)), h = a.length - 1; h >= 0; h--) {
|
|
125
|
+
const s = a[h];
|
|
126
126
|
var z = f == null ? void 0 : f.some((d) => s === (d == null ? void 0 : d.value));
|
|
127
127
|
z && o.push(s);
|
|
128
128
|
var n = f == null ? void 0 : f.find((d) => {
|
|
129
129
|
var K;
|
|
130
|
-
return (K =
|
|
130
|
+
return (K = oe(b(d == null ? void 0 : d.children, !0))) == null ? void 0 : K.some((N) => s === (N == null ? void 0 : N.value));
|
|
131
131
|
});
|
|
132
132
|
(n && (n == null ? void 0 : n.value) === v || !v) && (o.push(s), v || (v = n == null ? void 0 : n.value));
|
|
133
133
|
}
|
|
134
134
|
return j.value = o, o;
|
|
135
|
-
},
|
|
136
|
-
var a,
|
|
135
|
+
}, Ae = (e) => $(e), R = (e) => {
|
|
136
|
+
var a, r;
|
|
137
137
|
if (k.value !== void 0)
|
|
138
|
-
return (a = c.value) != null && a.remote || (
|
|
138
|
+
return (a = c.value) != null && a.remote || (r = u.value) != null && r.allItemAsValue ? (j.value || (j.value = b(e, !0)), j.value) : ke(e, y == null ? void 0 : y.value);
|
|
139
139
|
}, ae = (e) => {
|
|
140
|
-
var
|
|
141
|
-
var a = (
|
|
140
|
+
var r, v;
|
|
141
|
+
var a = (r = R(e)) == null ? void 0 : r.map((o) => {
|
|
142
142
|
var f;
|
|
143
|
-
return o == null ? void 0 : o[(f =
|
|
143
|
+
return o == null ? void 0 : o[(f = u.value) == null ? void 0 : f.labelKey];
|
|
144
144
|
});
|
|
145
145
|
return b(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
146
|
-
},
|
|
147
|
-
var
|
|
148
|
-
var a = (
|
|
146
|
+
}, we = (e) => {
|
|
147
|
+
var r, v;
|
|
148
|
+
var a = (r = R(e)) == null ? void 0 : r.map((o) => {
|
|
149
149
|
var f;
|
|
150
|
-
return o == null ? void 0 : o[(f =
|
|
150
|
+
return o == null ? void 0 : o[(f = u.value) == null ? void 0 : f.valueKey];
|
|
151
151
|
});
|
|
152
152
|
return b(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
153
|
-
},
|
|
154
|
-
var
|
|
153
|
+
}, Fe = (e) => {
|
|
154
|
+
var r;
|
|
155
155
|
var a = ae(e);
|
|
156
|
-
return (
|
|
156
|
+
return (r = b(a, !0)) == null ? void 0 : r.join(",");
|
|
157
157
|
}, T = (e) => {
|
|
158
|
-
|
|
158
|
+
_e(e), M.value = e;
|
|
159
159
|
};
|
|
160
|
-
return
|
|
161
|
-
|
|
160
|
+
return ze(() => {
|
|
161
|
+
Me(), je(), be(!0, Le.optionItems, void 0, (e) => {
|
|
162
162
|
T(e);
|
|
163
163
|
}), te(() => y == null ? void 0 : y.value, (e) => {
|
|
164
164
|
M.value = e;
|
|
165
165
|
});
|
|
166
|
-
}),
|
|
167
|
-
...
|
|
168
|
-
handleBeforeChange:
|
|
169
|
-
refreshOptionItems:
|
|
166
|
+
}), ie({
|
|
167
|
+
...me,
|
|
168
|
+
handleBeforeChange: Ae,
|
|
169
|
+
refreshOptionItems: ge,
|
|
170
170
|
loadOptionItems: T,
|
|
171
|
-
getCheckedItems:
|
|
171
|
+
getCheckedItems: R,
|
|
172
172
|
getCheckedLabels: ae,
|
|
173
|
-
getCheckedValues:
|
|
174
|
-
getCheckedText:
|
|
173
|
+
getCheckedValues: we,
|
|
174
|
+
getCheckedText: Fe
|
|
175
175
|
}), (e, a) => {
|
|
176
|
-
const
|
|
177
|
-
return t(), i(
|
|
178
|
-
propOptions: { fieldObj: l(pe), rules: l(
|
|
176
|
+
const r = U("el-checkbox"), v = U("el-option"), o = U("el-option-group"), f = U("el-select");
|
|
177
|
+
return t(), i(De, V(e.$props, {
|
|
178
|
+
propOptions: { fieldObj: l(pe), rules: l(fe) }
|
|
179
179
|
}), {
|
|
180
|
-
default: m(({ data:
|
|
180
|
+
default: m(({ data: h }) => {
|
|
181
181
|
var z;
|
|
182
182
|
return [
|
|
183
183
|
(z = l(c)) != null && z.multiple ? (t(), i(f, V({
|
|
184
184
|
ref_key: "fieldEditor",
|
|
185
185
|
ref: J,
|
|
186
|
-
modelValue:
|
|
187
|
-
"onUpdate:modelValue": a[1] || (a[1] = (n) =>
|
|
186
|
+
modelValue: D.value,
|
|
187
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => D.value = n),
|
|
188
188
|
key: `${l(Q)}_multiple`
|
|
189
|
-
}, l(c),
|
|
190
|
-
"value-key": l(
|
|
189
|
+
}, l(c), ne(l(Y)), {
|
|
190
|
+
"value-key": l(u).valueKey,
|
|
191
191
|
loading: L.value,
|
|
192
|
-
size:
|
|
193
|
-
class:
|
|
194
|
-
style:
|
|
192
|
+
size: h.size,
|
|
193
|
+
class: h.injectClass,
|
|
194
|
+
style: h.injectStyle,
|
|
195
195
|
placeholder: l(c).placeholder || l(q).i18nt("render.hint.selectPlaceholder")
|
|
196
196
|
}), {
|
|
197
197
|
default: m(() => {
|
|
198
198
|
var n, A, w;
|
|
199
199
|
return [
|
|
200
|
-
l(c).multiple && !l(
|
|
201
|
-
|
|
200
|
+
l(c).multiple && !l(u).selectOnlyOneGroup ? (t(), _("li", We, [
|
|
201
|
+
Ie(r, {
|
|
202
202
|
modelValue: le.value,
|
|
203
203
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => le.value = s),
|
|
204
204
|
indeterminate: ((n = l(k)) == null ? void 0 : n.length) < (((A = M.value) == null ? void 0 : A.length) || 0) && ((w = l(k)) == null ? void 0 : w.length) !== 0,
|
|
205
|
-
onChange:
|
|
205
|
+
onChange: Ce
|
|
206
206
|
}, {
|
|
207
207
|
default: m(() => [
|
|
208
|
-
Se(
|
|
208
|
+
Ne(Se(l(q).i18nt("designer.hint.checkAll")), 1)
|
|
209
209
|
]),
|
|
210
210
|
_: 1
|
|
211
211
|
}, 8, ["modelValue", "indeterminate"])
|
|
@@ -216,19 +216,22 @@ const We = {
|
|
|
216
216
|
key: s.value
|
|
217
217
|
}, [
|
|
218
218
|
((K = s == null ? void 0 : s.children) == null ? void 0 : K.length) > 0 ? (t(), _(g, { key: 0 }, [
|
|
219
|
-
(N = l(
|
|
220
|
-
label: s[l(
|
|
219
|
+
(N = l(u)) != null && N.showGroup ? (t(), i(o, {
|
|
220
|
+
label: s[l(u).labelKey],
|
|
221
221
|
key: d
|
|
222
222
|
}, {
|
|
223
223
|
default: m(() => [
|
|
224
224
|
(t(!0), _(g, null, S(s.children, (O, H) => (t(), i(v, {
|
|
225
225
|
value: I(O),
|
|
226
|
-
label: O[l(
|
|
226
|
+
label: O[l(u).labelKey],
|
|
227
227
|
key: H
|
|
228
228
|
}, {
|
|
229
229
|
default: m(() => [
|
|
230
|
-
l(
|
|
231
|
-
key:
|
|
230
|
+
l(p) ? (t(), i(F(l(p)), V({
|
|
231
|
+
key: 0,
|
|
232
|
+
ref_for: !0
|
|
233
|
+
}, { item: O }, {
|
|
234
|
+
key: O[l(u).valueKey]
|
|
232
235
|
}), null, 16)) : C("", !0)
|
|
233
236
|
]),
|
|
234
237
|
_: 2
|
|
@@ -237,24 +240,30 @@ const We = {
|
|
|
237
240
|
_: 2
|
|
238
241
|
}, 1032, ["label"])) : (t(!0), _(g, { key: 1 }, S(s.children, (O, H) => (t(), i(v, {
|
|
239
242
|
value: I(O),
|
|
240
|
-
label: O[l(
|
|
243
|
+
label: O[l(u).labelKey],
|
|
241
244
|
key: H
|
|
242
245
|
}, {
|
|
243
246
|
default: m(() => [
|
|
244
|
-
l(
|
|
245
|
-
key:
|
|
247
|
+
l(p) ? (t(), i(F(l(p)), V({
|
|
248
|
+
key: 0,
|
|
249
|
+
ref_for: !0
|
|
250
|
+
}, { item: O }, {
|
|
251
|
+
key: O[l(u).valueKey]
|
|
246
252
|
}), null, 16)) : C("", !0)
|
|
247
253
|
]),
|
|
248
254
|
_: 2
|
|
249
255
|
}, 1032, ["value", "label"]))), 128))
|
|
250
256
|
], 64)) : (t(), i(v, {
|
|
251
257
|
value: I(s),
|
|
252
|
-
label: s[l(
|
|
258
|
+
label: s[l(u).labelKey],
|
|
253
259
|
key: d
|
|
254
260
|
}, {
|
|
255
261
|
default: m(() => [
|
|
256
|
-
l(
|
|
257
|
-
key:
|
|
262
|
+
l(p) ? (t(), i(F(l(p)), V({
|
|
263
|
+
key: 0,
|
|
264
|
+
ref_for: !0
|
|
265
|
+
}, { item: s }, {
|
|
266
|
+
key: s[l(u).valueKey]
|
|
258
267
|
}), null, 16)) : C("", !0)
|
|
259
268
|
]),
|
|
260
269
|
_: 2
|
|
@@ -264,21 +273,21 @@ const We = {
|
|
|
264
273
|
];
|
|
265
274
|
}),
|
|
266
275
|
prefix: m(() => [
|
|
267
|
-
l(
|
|
276
|
+
l(B) ? (t(), i(F(l(B)), { key: 0 })) : C("", !0)
|
|
268
277
|
]),
|
|
269
|
-
_:
|
|
270
|
-
},
|
|
271
|
-
modelValue:
|
|
272
|
-
"onUpdate:modelValue": a[2] || (a[2] = (n) =>
|
|
278
|
+
_: 1
|
|
279
|
+
}, 16, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"])) : (t(), i(f, V({
|
|
280
|
+
modelValue: P.value,
|
|
281
|
+
"onUpdate:modelValue": a[2] || (a[2] = (n) => P.value = n),
|
|
273
282
|
ref_key: "fieldEditor",
|
|
274
283
|
ref: J,
|
|
275
284
|
key: `${l(Q)}_single`
|
|
276
|
-
},
|
|
277
|
-
"value-key": l(
|
|
285
|
+
}, ne(l(Y)), l(c), {
|
|
286
|
+
"value-key": l(u).valueKey,
|
|
278
287
|
loading: L.value,
|
|
279
|
-
size:
|
|
280
|
-
class:
|
|
281
|
-
style:
|
|
288
|
+
size: h.size,
|
|
289
|
+
class: h.injectClass,
|
|
290
|
+
style: h.injectStyle,
|
|
282
291
|
placeholder: l(c).placeholder || l(q).i18nt("render.hint.selectPlaceholder")
|
|
283
292
|
}), {
|
|
284
293
|
default: m(() => [
|
|
@@ -288,19 +297,22 @@ const We = {
|
|
|
288
297
|
key: n.value
|
|
289
298
|
}, [
|
|
290
299
|
((w = n == null ? void 0 : n.children) == null ? void 0 : w.length) > 0 ? (t(), _(g, { key: 0 }, [
|
|
291
|
-
(s = l(
|
|
292
|
-
label: n[l(
|
|
300
|
+
(s = l(u)) != null && s.showGroup ? (t(), i(o, {
|
|
301
|
+
label: n[l(u).labelKey],
|
|
293
302
|
key: A
|
|
294
303
|
}, {
|
|
295
304
|
default: m(() => [
|
|
296
305
|
(t(!0), _(g, null, S(n.children, (d, K) => (t(), i(v, {
|
|
297
306
|
value: I(d),
|
|
298
|
-
label: d[l(
|
|
307
|
+
label: d[l(u).labelKey],
|
|
299
308
|
key: K
|
|
300
309
|
}, {
|
|
301
310
|
default: m(() => [
|
|
302
|
-
l(
|
|
303
|
-
key:
|
|
311
|
+
l(p) ? (t(), i(F(l(p)), V({
|
|
312
|
+
key: 0,
|
|
313
|
+
ref_for: !0
|
|
314
|
+
}, { item: d }, {
|
|
315
|
+
key: d[l(u).valueKey]
|
|
304
316
|
}), null, 16)) : C("", !0)
|
|
305
317
|
]),
|
|
306
318
|
_: 2
|
|
@@ -309,24 +321,30 @@ const We = {
|
|
|
309
321
|
_: 2
|
|
310
322
|
}, 1032, ["label"])) : (t(!0), _(g, { key: 1 }, S(n.children, (d, K) => (t(), i(v, {
|
|
311
323
|
value: I(d),
|
|
312
|
-
label: d[l(
|
|
324
|
+
label: d[l(u).labelKey],
|
|
313
325
|
key: K
|
|
314
326
|
}, {
|
|
315
327
|
default: m(() => [
|
|
316
|
-
l(
|
|
317
|
-
key:
|
|
328
|
+
l(p) ? (t(), i(F(l(p)), V({
|
|
329
|
+
key: 0,
|
|
330
|
+
ref_for: !0
|
|
331
|
+
}, { item: d }, {
|
|
332
|
+
key: d[l(u).valueKey]
|
|
318
333
|
}), null, 16)) : C("", !0)
|
|
319
334
|
]),
|
|
320
335
|
_: 2
|
|
321
336
|
}, 1032, ["value", "label"]))), 128))
|
|
322
337
|
], 64)) : (t(), i(v, {
|
|
323
338
|
value: I(n),
|
|
324
|
-
label: n[l(
|
|
339
|
+
label: n[l(u).labelKey],
|
|
325
340
|
key: A
|
|
326
341
|
}, {
|
|
327
342
|
default: m(() => [
|
|
328
|
-
l(
|
|
329
|
-
key:
|
|
343
|
+
l(p) ? (t(), i(F(l(p)), V({
|
|
344
|
+
key: 0,
|
|
345
|
+
ref_for: !0
|
|
346
|
+
}, { item: n }, {
|
|
347
|
+
key: n[l(u).valueKey]
|
|
330
348
|
}), null, 16)) : C("", !0)
|
|
331
349
|
]),
|
|
332
350
|
_: 2
|
|
@@ -335,10 +353,10 @@ const We = {
|
|
|
335
353
|
}), 128))
|
|
336
354
|
]),
|
|
337
355
|
prefix: m(() => [
|
|
338
|
-
l(
|
|
356
|
+
l(B) ? (t(), i(F(l(B)), { key: 0 })) : C("", !0)
|
|
339
357
|
]),
|
|
340
|
-
_:
|
|
341
|
-
},
|
|
358
|
+
_: 1
|
|
359
|
+
}, 16, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
|
|
342
360
|
];
|
|
343
361
|
}),
|
|
344
362
|
_: 1
|
|
@@ -347,5 +365,5 @@ const We = {
|
|
|
347
365
|
}
|
|
348
366
|
});
|
|
349
367
|
export {
|
|
350
|
-
|
|
368
|
+
fl as default
|
|
351
369
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var qe = Object.defineProperty;
|
|
2
2
|
var Ve = (t, i, s) => i in t ? qe(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
|
|
3
3
|
var Y = (t, i, s) => (Ve(t, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
|
-
import { T as q, f as Fe, i as Wt, h as J, U as Bt, o as H, d as B, V as Xe, j as mt, W as Ge, c as Kt, X as Qe, G as Ee, k as He } from "./enum-type-
|
|
5
|
-
import { B as w, P as M, A as ke, F as Je, C as Ye, D as Ze, b as gt, G as ti } from "./baseImp-
|
|
6
|
-
import { b as rt,
|
|
7
|
-
import { c as R, d as ii, H as Yt, e as Zt, $ as si } from "./enum-type-
|
|
8
|
-
import { d as Se } from "./slot-
|
|
9
|
-
import { t as ni, l as Ae, m as Ce } from "./index-
|
|
4
|
+
import { T as q, f as Fe, i as Wt, h as J, U as Bt, o as H, d as B, V as Xe, j as mt, W as Ge, c as Kt, X as Qe, G as Ee, k as He } from "./enum-type-05ccb088.js";
|
|
5
|
+
import { B as w, P as M, A as ke, F as Je, C as Ye, D as Ze, b as gt, G as ti } from "./baseImp-cf2a056f.js";
|
|
6
|
+
import { b as rt, n as F, s as _t, r as ei, o as Re } from "./expression-a880b354.js";
|
|
7
|
+
import { c as R, d as ii, H as Yt, e as Zt, $ as si } from "./enum-type-35e3b2e0.js";
|
|
8
|
+
import { d as Se } from "./slot-1605ee49.js";
|
|
9
|
+
import { t as ni, l as Ae, m as Ce } from "./index-847ef399.js";
|
|
10
10
|
import "vue";
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./dialog-
|
|
11
|
+
import "./icon-3ea488c1.js";
|
|
12
|
+
import "./dialog-8ecdabe5.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-68f25733.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
17
17
|
import "./esprima-e8d15055.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { D as B, B as a } from "./baseImp-
|
|
2
|
-
import { c as l } from "./enum-type-
|
|
3
|
-
import { f as D, n as G, o as J } from "./index-
|
|
4
|
-
import { j as h } from "./expression-
|
|
5
|
-
import { f as k, c as b } from "./enum-type-
|
|
6
|
-
import "./icon-
|
|
1
|
+
import { D as B, B as a } from "./baseImp-cf2a056f.js";
|
|
2
|
+
import { c as l } from "./enum-type-35e3b2e0.js";
|
|
3
|
+
import { f as D, n as G, o as J } from "./index-847ef399.js";
|
|
4
|
+
import { j as h } from "./expression-a880b354.js";
|
|
5
|
+
import { f as k, c as b } from "./enum-type-05ccb088.js";
|
|
6
|
+
import "./icon-3ea488c1.js";
|
|
7
7
|
import "vue";
|
|
8
|
-
import "./dialog-
|
|
8
|
+
import "./dialog-8ecdabe5.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
|
-
import "./uuid-
|
|
10
|
+
import "./uuid-68f25733.js";
|
|
11
11
|
import "element-plus";
|
|
12
12
|
import "./source-map-b04aec4a.js";
|
|
13
13
|
import "./esprima-e8d15055.js";
|