hlrender 0.0.239 → 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-305e5a7a.js → _pdf-68d429e2.js} +14 -14
- package/{_txt-cecb5427.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-6f0de1bb.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-7fc44f8c.js → barcode-widget-f6e052a2.js} +14 -14
- package/baseImp-cf2a056f.js +12245 -0
- package/{breadcrumb-widget-b09a45d7.js → breadcrumb-widget-3b25f641.js} +24 -21
- package/button-widget-9f8ba534.js +57 -0
- package/cache-widget-5d7386cb.js +53 -0
- package/{card-widget-feb6e34a.js → card-widget-738fe0dc.js} +33 -33
- package/{carousel-widget-3ff30326.js → carousel-widget-4d37e1f3.js} +21 -21
- package/{cascader-widget-4fef75a8.js → cascader-widget-371d58f6.js} +59 -59
- package/{chart-widget-fbdce0db.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-56a58b71.js → cont-cell-widget-293cee86.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-738afb13.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-08981f90.js} +17 -17
- package/{cont-widget-5de61a58.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-9327cc4b.js → date-picker-range-widget-623b1c04.js} +25 -25
- package/{date-picker-widget-27335405.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-abf88edf.js → descriptions-widget-8a41c70b.js} +22 -22
- package/{dialog-bb4f1f51.js → dialog-8ecdabe5.js} +2 -2
- package/{dialog-widget-affeb26a.js → dialog-widget-fdf07199.js} +16 -16
- package/divider-widget-480eec10.js +47 -0
- package/drag-wrapper-8ba8d26a.js +256 -0
- package/{drawer-widget-1153b308.js → drawer-widget-f14cbeb1.js} +16 -16
- package/{dropdown-widget-07078c8b.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-3d529a72.js → file-upload-widget-407f3b6f.js} +107 -107
- package/form-item-wrapper-002adf08.js +86 -0
- package/{form-widget-c7aadc35.js → form-widget-7308fc3f.js} +28 -28
- package/{grid-col-widget-31f034df.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-16efe87a.js → grid-widget-8e32f92f.js} +5 -5
- package/hcard-widget-c4671309.js +94 -0
- package/{html-text-widget-689e7370.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-bb79778f.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-752aa342.js → index-847ef399.js} +4821 -3681
- package/{input-number-widget-9b8da52e.js → input-number-widget-37c014bb.js} +19 -19
- package/input-tag-widget-bcc1bd3e.js +71 -0
- package/{input-widget-b68feb0b.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-c05a0f75.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-0e14fcb3.js → ltable-widget-111c9922.js} +11 -11
- package/mention-widget-b66ac807.js +82 -0
- package/{menu-widget-92944b29.js → menu-widget-46659645.js} +40 -40
- package/model-widget-093857b9.js +155 -0
- package/{multirow-ef17557e.js → multirow-50d903a8.js} +7 -7
- package/multirow-widget-d550d2ee.js +723 -0
- package/package.json +1 -1
- package/{pagination-widget-ba41b179.js → pagination-widget-4998f804.js} +23 -23
- package/{picture-upload-widget-b3233664.js → picture-upload-widget-3102164b.js} +35 -35
- package/{progress-widget-bf490d7f.js → progress-widget-514e315d.js} +31 -31
- package/{qrcode-widget-8bdc470f.js → qrcode-widget-e331f58f.js} +18 -18
- package/radio-widget-df89345f.js +87 -0
- package/{range-widget-3de3d728.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 +456 -454
- package/result-widget-623c24cf.js +67 -0
- package/rich-editor-widget-e8ab8b01.js +74 -0
- package/{router-widget-6e7a7727.js → router-widget-2daa2c82.js} +24 -24
- package/segmented-widget-caf0f51a.js +89 -0
- package/select-widget-469026c5.js +369 -0
- package/{sfc-bad92d5d.js → sfc-8b7e2487.js} +9 -9
- package/{sfcview-086204d9.js → sfcview-addac91a.js} +8 -8
- package/share-field-6fc223d3.js +812 -0
- package/{share-file-75ca566e.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-612ba08c.js → static-text-widget-1dd47867.js} +15 -15
- package/statistic-widget-9b3c6dfa.js +47 -0
- package/{steps-widget-fc0e9312.js → steps-widget-b872e743.js} +30 -30
- package/{subMenu-widget-48ff5cef.js → subMenu-widget-1cb5e243.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-abf7e791.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-4993afd4.js → tab-pane-widget-2b27921e.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7dac41b9.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-c25508ef.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b2343af4.js} +13 -13
- package/{table-widget-45308b11.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-56c9a88b.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-213d9cfb.js → time-select-widget-a42a3207.js} +25 -25
- package/{tmpl-widget-d65666b0.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-e1513c4e.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-595773d5.js → wrapper-widget-b06bb4ff.js} +10 -10
- package/_image-fab8c8e2.js +0 -28
- package/_unsupport-d50224e3.js +0 -35
- package/affix-widget-164ebcf1.js +0 -39
- package/alert-widget-ea994a6a.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-1556fb56.js +0 -57
- package/avatar-widget-34662b7b.js +0 -39
- package/backtop-widget-b04b2989.js +0 -39
- package/badge-widget-607a83ae.js +0 -45
- package/baseImp-5c466035.js +0 -11761
- package/button-widget-007795bc.js +0 -49
- package/cache-widget-66e15ef6.js +0 -53
- package/checkbox-widget-37286554.js +0 -115
- package/collapse-widget-4f728579.js +0 -91
- package/color-picker-widget-035a1437.js +0 -56
- package/content-wrapper-d0fd2c66.js +0 -16
- package/content-wrapper.vue_vue_type_script_setup_true_lang-528a43b4.js +0 -38
- package/default-slot-widget-4667aa3c.js +0 -26
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1c3154df.js +0 -77
- package/divider-widget-d5aa4c7a.js +0 -39
- package/drag-wrapper-fd7ed8e5.js +0 -255
- package/empty-widget-17ff5dd3.js +0 -39
- package/feedback-widget-dd3c9912.js +0 -26
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ae8fd77d.js +0 -82
- package/form-item-wrapper-3e85105e.js +0 -86
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-4cbbbbd6.js +0 -41
- package/icon-a0e0cdb0.js +0 -119
- package/icon-widget-90609a93.js +0 -62
- package/iframe-widget-2d5c6840.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-97bdd33e.js +0 -57
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d5d6bb28.js +0 -278
- package/model-widget-f56225e4.js +0 -122
- package/multirow-widget-c2be3852.js +0 -723
- package/radio-widget-d4050344.js +0 -85
- package/rate-widget-f4cbbd7c.js +0 -56
- package/result-widget-b0610176.js +0 -67
- package/rich-editor-widget-cc2076b1.js +0 -74
- package/select-widget-b6ddbbf4.js +0 -346
- package/share-field-6ba09f55.js +0 -806
- package/slider-widget-9ce64cd4.js +0 -62
- package/slot-92796df0.js +0 -327
- package/switch-widget-163f9c41.js +0 -56
- package/table-col-widget-b7d259ad.js +0 -22
- package/tabs-widget-98776656.js +0 -81
- package/tag-widget-b93765a0.js +0 -39
- package/text-widget-8911c99b.js +0 -39
- package/time-picker-range-widget-4617e19a.js +0 -81
- package/time-picker-widget-9b6354f8.js +0 -64
- package/tree-select-widget-d9fb0b80.js +0 -147
- package/tree-widget-1d696deb.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-c068c9f3.js +0 -282
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { defineComponent as d, computed as k, resolveComponent as v, openBlock as i, createBlock as p, mergeProps as m, unref as r, withCtx as n, toHandlers as S, createSlots as j, renderList as h, resolveDynamicComponent as D, createCommentVNode as F, createVNode as V } from "vue";
|
|
2
|
+
import { e as $ } from "./enum-type-05ccb088.js";
|
|
3
|
+
import { I as B } from "./field-base-1acf3ada.js";
|
|
4
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
5
|
+
import { b as I } from "./share-field-6fc223d3.js";
|
|
6
|
+
import { w as O } from "./expression-a880b354.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-8ba8d26a.js";
|
|
8
|
+
import { g as W } from "./slot-1605ee49.js";
|
|
9
|
+
import "./widget-base-8eece820.js";
|
|
10
|
+
import "./index-847ef399.js";
|
|
11
|
+
import "./uuid-68f25733.js";
|
|
12
|
+
import "./enum-type-35e3b2e0.js";
|
|
13
|
+
import "./baseImp-cf2a056f.js";
|
|
14
|
+
import "./icon-3ea488c1.js";
|
|
15
|
+
import "./dialog-8ecdabe5.js";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-7d31ccfb.js";
|
|
19
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
21
|
+
import "./multirow-50d903a8.js";
|
|
22
|
+
import "./source-map-b04aec4a.js";
|
|
23
|
+
import "./esprima-e8d15055.js";
|
|
24
|
+
const x = d({ componentName: O.FieldWidget }), se = /* @__PURE__ */ d({
|
|
25
|
+
...x,
|
|
26
|
+
__name: "result-widget",
|
|
27
|
+
props: { ...B },
|
|
28
|
+
setup(l, { expose: c }) {
|
|
29
|
+
const s = l, { exposed: f, fieldEditor: u, fieldKey: g, slots: y, attrs: _, events: b, fieldObj: w } = I(s), C = k(() => {
|
|
30
|
+
const t = W(y.value, s.designState);
|
|
31
|
+
return t.map((o) => (o.slotName === "subTitle" && (o.slotName = "sub-title"), o)), t;
|
|
32
|
+
});
|
|
33
|
+
return c({ ...f }), (t, o) => {
|
|
34
|
+
const N = v("el-result");
|
|
35
|
+
return i(), p(E, m(t.$props, {
|
|
36
|
+
"prop-options": { fieldObj: r(w) }
|
|
37
|
+
}), {
|
|
38
|
+
default: n(({ data: a }) => [
|
|
39
|
+
(i(), p(N, m({
|
|
40
|
+
ref_key: "fieldEditor",
|
|
41
|
+
ref: u,
|
|
42
|
+
key: r(g)
|
|
43
|
+
}, r(_), S(r(b)), {
|
|
44
|
+
class: a.injectClass,
|
|
45
|
+
style: a.injectStyle
|
|
46
|
+
}), j({ _: 2 }, [
|
|
47
|
+
h(C.value, (e) => ({
|
|
48
|
+
name: e.slotName,
|
|
49
|
+
fn: n(() => [
|
|
50
|
+
e != null && e.default ? (i(), p(D(e == null ? void 0 : e.default), { key: 0 })) : F("", !0),
|
|
51
|
+
V(P, m(t.$props, {
|
|
52
|
+
widget: e,
|
|
53
|
+
"drag-class": "dragSize1",
|
|
54
|
+
"drag-tip": r($).i18nt("designer.hint.draggableArea1")
|
|
55
|
+
}), null, 16, ["widget", "drag-tip"])
|
|
56
|
+
])
|
|
57
|
+
}))
|
|
58
|
+
]), 1040, ["class", "style"]))
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}, 16, ["prop-options"]);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
export {
|
|
66
|
+
se as default
|
|
67
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as u, computed as d, shallowRef as k, onMounted as F, nextTick as H, openBlock as s, createBlock as a, mergeProps as c, unref as o, withCtx as V, createElementVNode as j, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as z, toHandlers as B } from "vue";
|
|
2
|
+
import { b as N } from "./share-field-6fc223d3.js";
|
|
3
|
+
import { I as P } from "./field-base-1acf3ada.js";
|
|
4
|
+
import R from "./form-item-wrapper-002adf08.js";
|
|
5
|
+
import { w as S } from "./expression-a880b354.js";
|
|
6
|
+
import { d as q, G as D } from "./enum-type-05ccb088.js";
|
|
7
|
+
import "./multirow-50d903a8.js";
|
|
8
|
+
import "./baseImp-cf2a056f.js";
|
|
9
|
+
import "./enum-type-35e3b2e0.js";
|
|
10
|
+
import "./icon-3ea488c1.js";
|
|
11
|
+
import "./dialog-8ecdabe5.js";
|
|
12
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./uuid-68f25733.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./index-847ef399.js";
|
|
16
|
+
import "./slot-1605ee49.js";
|
|
17
|
+
import "./widget-base-8eece820.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
19
|
+
import "./index-7d31ccfb.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-57a4c003.js";
|
|
23
|
+
import "./source-map-b04aec4a.js";
|
|
24
|
+
import "./esprima-e8d15055.js";
|
|
25
|
+
const G = u({ componentName: S.FieldWidget }), ue = /* @__PURE__ */ u({
|
|
26
|
+
...G,
|
|
27
|
+
__name: "rich-editor-widget",
|
|
28
|
+
props: { ...P },
|
|
29
|
+
setup(f, { expose: _ }) {
|
|
30
|
+
const h = f, { fieldEditor: g, fieldKey: v, fieldModel: n, rules: y, events: i, getFieldOptions: p, exposed: w, fieldObj: x } = N(h), C = d(() => p("contentHeight")), m = k(), E = () => {
|
|
31
|
+
import("./index-658d06a4.js").then((e) => {
|
|
32
|
+
m.value = e.default;
|
|
33
|
+
});
|
|
34
|
+
}, O = q(D(i.value), {
|
|
35
|
+
change: (e) => {
|
|
36
|
+
var t, l;
|
|
37
|
+
const r = e == null ? void 0 : e.html;
|
|
38
|
+
(l = (t = i == null ? void 0 : i.value) == null ? void 0 : t.change) == null || l.call(t, r);
|
|
39
|
+
}
|
|
40
|
+
}), b = d(() => ({
|
|
41
|
+
disabled: p("disabled"),
|
|
42
|
+
placeholder: p("placeholder")
|
|
43
|
+
}));
|
|
44
|
+
return F(() => {
|
|
45
|
+
H(() => {
|
|
46
|
+
E();
|
|
47
|
+
});
|
|
48
|
+
}), _({ ...w }), (e, r) => (s(), a(R, c(e.$props, {
|
|
49
|
+
propOptions: { fieldObj: o(x), rules: o(y) }
|
|
50
|
+
}), {
|
|
51
|
+
default: V(({ data: t }) => [
|
|
52
|
+
j("div", {
|
|
53
|
+
class: I(["full-height", t.injectClass]),
|
|
54
|
+
style: M(t.injectStyle)
|
|
55
|
+
}, [
|
|
56
|
+
(s(), a(W(m.value), c({
|
|
57
|
+
ref_key: "fieldEditor",
|
|
58
|
+
ref: g,
|
|
59
|
+
modelValue: o(n),
|
|
60
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => z(n) ? n.value = l : null)
|
|
61
|
+
}, B(o(O)), {
|
|
62
|
+
key: o(v),
|
|
63
|
+
options: b.value,
|
|
64
|
+
contentHeight: C.value
|
|
65
|
+
}), null, 16, ["modelValue", "options", "contentHeight"]))
|
|
66
|
+
], 6)
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 16, ["propOptions"]));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
ue as default
|
|
74
|
+
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { defineComponent as m, resolveComponent as u, openBlock as
|
|
2
|
-
import { b as y } from "./share-field-
|
|
1
|
+
import { defineComponent as m, resolveComponent as u, openBlock as o, createBlock as i, mergeProps as g, unref as e, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as b } from "vue";
|
|
2
|
+
import { b as y } from "./share-field-6fc223d3.js";
|
|
3
3
|
import { I as v } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as F } from "./expression-
|
|
6
|
-
import "./enum-type-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./dialog-
|
|
4
|
+
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
5
|
+
import { w as F } from "./expression-a880b354.js";
|
|
6
|
+
import "./enum-type-05ccb088.js";
|
|
7
|
+
import "./multirow-50d903a8.js";
|
|
8
|
+
import "./baseImp-cf2a056f.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 "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-847ef399.js";
|
|
16
|
+
import "./slot-1605ee49.js";
|
|
17
17
|
import "./widget-base-8eece820.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-7d31ccfb.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
|
-
const h = { key: 0 },
|
|
24
|
-
...
|
|
23
|
+
const h = { key: 0 }, x = m({ componentName: F.FieldWidget }), T = /* @__PURE__ */ m({
|
|
24
|
+
...x,
|
|
25
25
|
__name: "router-widget",
|
|
26
26
|
props: { ...v },
|
|
27
27
|
setup(n, { expose: s }) {
|
|
28
28
|
const a = n, { fieldEditor: d, fieldKey: l, exposed: f, getFieldOptions: t, fieldObj: _ } = y(a);
|
|
29
|
-
return s({ ...f }), (r,
|
|
29
|
+
return s({ ...f }), (r, B) => {
|
|
30
30
|
const c = u("router-view");
|
|
31
|
-
return
|
|
32
|
-
"prop-options": { fieldObj:
|
|
31
|
+
return o(), i(C, g(r.$props, {
|
|
32
|
+
"prop-options": { fieldObj: e(_) }
|
|
33
33
|
}), {
|
|
34
34
|
default: p(() => [
|
|
35
|
-
(
|
|
35
|
+
(o(), i(c, {
|
|
36
36
|
ref_key: "fieldEditor",
|
|
37
37
|
ref: d,
|
|
38
|
-
key:
|
|
39
|
-
name:
|
|
38
|
+
key: e(l),
|
|
39
|
+
name: e(t)("label")
|
|
40
40
|
}, {
|
|
41
41
|
default: p(() => [
|
|
42
|
-
r.designState ? (
|
|
42
|
+
r.designState ? (o(), k("div", h, w(e(t)("label")), 1)) : b("", !0)
|
|
43
43
|
]),
|
|
44
44
|
_: 1
|
|
45
45
|
}, 8, ["name"]))
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent as S, computed as i, ref as h, resolveComponent as z, openBlock as s, createBlock as p, mergeProps as x, unref as e, withCtx as V, toHandlers as G, resolveDynamicComponent as H, createElementBlock as b, createVNode as K, createElementVNode as U, toDisplayString as k, Fragment as q, createTextVNode as J, createCommentVNode as L } from "vue";
|
|
2
|
+
import { I as M } from "./field-base-1acf3ada.js";
|
|
3
|
+
import { _ as Q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
4
|
+
import { b as R } from "./share-field-6fc223d3.js";
|
|
5
|
+
import { w as X } from "./expression-a880b354.js";
|
|
6
|
+
import { g as Y, d as Z } from "./slot-1605ee49.js";
|
|
7
|
+
import { a9 as m } from "./enum-type-35e3b2e0.js";
|
|
8
|
+
import { S as ee } from "./index-7d31ccfb.js";
|
|
9
|
+
import { g as te } from "./baseImp-cf2a056f.js";
|
|
10
|
+
import { u as oe } from "./icon-3ea488c1.js";
|
|
11
|
+
import { _ as le } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
+
import "./widget-base-8eece820.js";
|
|
13
|
+
import "./enum-type-05ccb088.js";
|
|
14
|
+
import "./index-847ef399.js";
|
|
15
|
+
import "./uuid-68f25733.js";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
18
|
+
import "./multirow-50d903a8.js";
|
|
19
|
+
import "./source-map-b04aec4a.js";
|
|
20
|
+
import "./esprima-e8d15055.js";
|
|
21
|
+
import "./dialog-8ecdabe5.js";
|
|
22
|
+
import "element-plus";
|
|
23
|
+
const se = {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "flex flex-col items-center gap-2 p-2"
|
|
26
|
+
}, re = S({ componentName: X.FieldWidget }), ae = /* @__PURE__ */ S({
|
|
27
|
+
...re,
|
|
28
|
+
__name: "segmented-widget",
|
|
29
|
+
props: { ...M },
|
|
30
|
+
setup(C, { expose: w }) {
|
|
31
|
+
var u;
|
|
32
|
+
const d = C, { exposed: F, fieldEditor: I, extendAttrs: t, fieldKey: N, slots: T, getWidgetOptionByPropValue: j, attrs: B, events: E, fieldObj: O, optionItems: n } = R(d), W = i(() => Y(T.value, d.designState)), P = i(() => j(Z(W.value, "default"))), { instance: A } = oe(), D = te({ instance: A }), $ = i(() => {
|
|
33
|
+
var r, l, a;
|
|
34
|
+
return {
|
|
35
|
+
...B.value,
|
|
36
|
+
options: n == null ? void 0 : n.value,
|
|
37
|
+
props: {
|
|
38
|
+
label: (r = t.value) == null ? void 0 : r.props_label,
|
|
39
|
+
value: (l = t.value) == null ? void 0 : l.props_value,
|
|
40
|
+
disabled: (a = t.value) == null ? void 0 : a.props_disabled
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}), c = h((u = t.value) == null ? void 0 : u.defaultValue);
|
|
44
|
+
return w({ ...F }), (r, l) => {
|
|
45
|
+
const a = z("el-segmented");
|
|
46
|
+
return s(), p(Q, x(r.$props, {
|
|
47
|
+
"prop-options": { fieldObj: e(O) }
|
|
48
|
+
}), {
|
|
49
|
+
default: V(({ data: _ }) => [
|
|
50
|
+
(s(), p(a, x({
|
|
51
|
+
modelValue: c.value,
|
|
52
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => c.value = o),
|
|
53
|
+
ref_key: "fieldEditor",
|
|
54
|
+
ref: I,
|
|
55
|
+
key: e(N)
|
|
56
|
+
}, $.value, G(e(E)), {
|
|
57
|
+
class: _.injectClass,
|
|
58
|
+
style: _.injectStyle
|
|
59
|
+
}), {
|
|
60
|
+
default: V((o) => {
|
|
61
|
+
var f, g, v, y;
|
|
62
|
+
return [
|
|
63
|
+
((f = e(t)) == null ? void 0 : f.optionType) == e(m).sfc ? (s(), p(H(P.value), {
|
|
64
|
+
key: 0,
|
|
65
|
+
scope: o,
|
|
66
|
+
ctx: e(D)
|
|
67
|
+
}, null, 8, ["scope", "ctx"])) : ((g = e(t)) == null ? void 0 : g.optionType) == e(m).textIcon ? (s(), b("div", se, [
|
|
68
|
+
K(ee, {
|
|
69
|
+
name: (v = o.item.icon) == null ? void 0 : v.value,
|
|
70
|
+
size: "20"
|
|
71
|
+
}, null, 8, ["name"]),
|
|
72
|
+
U("div", null, k(o.item.label), 1)
|
|
73
|
+
])) : ((y = e(t)) == null ? void 0 : y.optionType) == e(m).text ? (s(), b(q, { key: 2 }, [
|
|
74
|
+
J(k(o.item.label || o.item), 1)
|
|
75
|
+
], 64)) : L("", !0)
|
|
76
|
+
];
|
|
77
|
+
}),
|
|
78
|
+
_: 1
|
|
79
|
+
}, 16, ["modelValue", "class", "style"]))
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 16, ["prop-options"]);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
const Te = /* @__PURE__ */ le(ae, [["__scopeId", "data-v-ca4dc69a"]]);
|
|
87
|
+
export {
|
|
88
|
+
Te as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,369 @@
|
|
|
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
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./uuid-68f25733.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./multirow-50d903a8.js";
|
|
16
|
+
import "./index-847ef399.js";
|
|
17
|
+
import "./widget-base-8eece820.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
19
|
+
import "./index-7d31ccfb.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-57a4c003.js";
|
|
23
|
+
import "./source-map-b04aec4a.js";
|
|
24
|
+
import "./esprima-e8d15055.js";
|
|
25
|
+
const We = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "el-select-dropdown__item"
|
|
28
|
+
}, $e = ve({ componentName: Ue.FieldWidget }), fl = /* @__PURE__ */ ve({
|
|
29
|
+
...$e,
|
|
30
|
+
__name: "select-widget",
|
|
31
|
+
props: { ...Pe },
|
|
32
|
+
setup(de, { expose: ie }) {
|
|
33
|
+
const ce = de, {
|
|
34
|
+
fieldEditor: J,
|
|
35
|
+
fieldKey: Q,
|
|
36
|
+
fieldModel: k,
|
|
37
|
+
objFieldModel: X,
|
|
38
|
+
rules: fe,
|
|
39
|
+
attrs: c,
|
|
40
|
+
extendAttrs: u,
|
|
41
|
+
events: Y,
|
|
42
|
+
slots: ye,
|
|
43
|
+
exposed: me,
|
|
44
|
+
fieldObj: pe,
|
|
45
|
+
optionItems: y,
|
|
46
|
+
getFieldOptions: he,
|
|
47
|
+
getWidgetOption: Z,
|
|
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
|
+
get: () => b(k.value, !1),
|
|
57
|
+
set: (e) => {
|
|
58
|
+
k.value = e;
|
|
59
|
+
}
|
|
60
|
+
}), D = re({
|
|
61
|
+
get: () => X.value == null ? [] : b($(X.value), !0),
|
|
62
|
+
set: (e) => {
|
|
63
|
+
k.value = $(e);
|
|
64
|
+
}
|
|
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
|
+
}, { immediate: !0 });
|
|
71
|
+
var W = Z("filterMethod");
|
|
72
|
+
const Oe = (e, a) => {
|
|
73
|
+
var v;
|
|
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
|
+
return f;
|
|
79
|
+
});
|
|
80
|
+
a && a(r);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
W && Object.assign(c.value, { filterMethod: (e) => {
|
|
84
|
+
G(e, Oe);
|
|
85
|
+
} });
|
|
86
|
+
var x = Z("remoteMethod");
|
|
87
|
+
const G = (e, a) => {
|
|
88
|
+
a && (Ke.value = !0, e ? (L.value = !0, a(e, (r) => {
|
|
89
|
+
M.value = r, L.value = !1;
|
|
90
|
+
})) : M.value = y == null ? void 0 : y.value);
|
|
91
|
+
};
|
|
92
|
+
x && Object.assign(c.value, { remoteMethod: (e) => {
|
|
93
|
+
G(e, x);
|
|
94
|
+
} });
|
|
95
|
+
const ee = () => {
|
|
96
|
+
var a;
|
|
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
|
+
};
|
|
100
|
+
var Ve = () => {
|
|
101
|
+
if (!k.value)
|
|
102
|
+
return !1;
|
|
103
|
+
if (!Array.isArray(k.value))
|
|
104
|
+
return !0;
|
|
105
|
+
var e = ee();
|
|
106
|
+
return !(e != null && e.some((a) => {
|
|
107
|
+
var r;
|
|
108
|
+
return ((r = k.value) == null ? void 0 : r.indexOf(a)) === -1;
|
|
109
|
+
}));
|
|
110
|
+
};
|
|
111
|
+
const le = E(Ve()), Ce = (e) => {
|
|
112
|
+
e ? k.value = ee() : k.value = [];
|
|
113
|
+
}, j = E(), Me = () => {
|
|
114
|
+
var a;
|
|
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
|
+
var e, a;
|
|
118
|
+
(e = u.value) != null && e.allItemAsValue && ((a = c.value) != null && a.remote) && T(j.value);
|
|
119
|
+
}, $ = (e) => {
|
|
120
|
+
var A, w;
|
|
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
|
+
var z = f == null ? void 0 : f.some((d) => s === (d == null ? void 0 : d.value));
|
|
127
|
+
z && o.push(s);
|
|
128
|
+
var n = f == null ? void 0 : f.find((d) => {
|
|
129
|
+
var 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
|
+
});
|
|
132
|
+
(n && (n == null ? void 0 : n.value) === v || !v) && (o.push(s), v || (v = n == null ? void 0 : n.value));
|
|
133
|
+
}
|
|
134
|
+
return j.value = o, o;
|
|
135
|
+
}, Ae = (e) => $(e), R = (e) => {
|
|
136
|
+
var a, r;
|
|
137
|
+
if (k.value !== void 0)
|
|
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
|
+
}, ae = (e) => {
|
|
140
|
+
var r, v;
|
|
141
|
+
var a = (r = R(e)) == null ? void 0 : r.map((o) => {
|
|
142
|
+
var f;
|
|
143
|
+
return o == null ? void 0 : o[(f = u.value) == null ? void 0 : f.labelKey];
|
|
144
|
+
});
|
|
145
|
+
return b(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
146
|
+
}, we = (e) => {
|
|
147
|
+
var r, v;
|
|
148
|
+
var a = (r = R(e)) == null ? void 0 : r.map((o) => {
|
|
149
|
+
var f;
|
|
150
|
+
return o == null ? void 0 : o[(f = u.value) == null ? void 0 : f.valueKey];
|
|
151
|
+
});
|
|
152
|
+
return b(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
153
|
+
}, Fe = (e) => {
|
|
154
|
+
var r;
|
|
155
|
+
var a = ae(e);
|
|
156
|
+
return (r = b(a, !0)) == null ? void 0 : r.join(",");
|
|
157
|
+
}, T = (e) => {
|
|
158
|
+
_e(e), M.value = e;
|
|
159
|
+
};
|
|
160
|
+
return ze(() => {
|
|
161
|
+
Me(), je(), be(!0, Le.optionItems, void 0, (e) => {
|
|
162
|
+
T(e);
|
|
163
|
+
}), te(() => y == null ? void 0 : y.value, (e) => {
|
|
164
|
+
M.value = e;
|
|
165
|
+
});
|
|
166
|
+
}), ie({
|
|
167
|
+
...me,
|
|
168
|
+
handleBeforeChange: Ae,
|
|
169
|
+
refreshOptionItems: ge,
|
|
170
|
+
loadOptionItems: T,
|
|
171
|
+
getCheckedItems: R,
|
|
172
|
+
getCheckedLabels: ae,
|
|
173
|
+
getCheckedValues: we,
|
|
174
|
+
getCheckedText: Fe
|
|
175
|
+
}), (e, a) => {
|
|
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
|
+
}), {
|
|
180
|
+
default: m(({ data: h }) => {
|
|
181
|
+
var z;
|
|
182
|
+
return [
|
|
183
|
+
(z = l(c)) != null && z.multiple ? (t(), i(f, V({
|
|
184
|
+
ref_key: "fieldEditor",
|
|
185
|
+
ref: J,
|
|
186
|
+
modelValue: D.value,
|
|
187
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => D.value = n),
|
|
188
|
+
key: `${l(Q)}_multiple`
|
|
189
|
+
}, l(c), ne(l(Y)), {
|
|
190
|
+
"value-key": l(u).valueKey,
|
|
191
|
+
loading: L.value,
|
|
192
|
+
size: h.size,
|
|
193
|
+
class: h.injectClass,
|
|
194
|
+
style: h.injectStyle,
|
|
195
|
+
placeholder: l(c).placeholder || l(q).i18nt("render.hint.selectPlaceholder")
|
|
196
|
+
}), {
|
|
197
|
+
default: m(() => {
|
|
198
|
+
var n, A, w;
|
|
199
|
+
return [
|
|
200
|
+
l(c).multiple && !l(u).selectOnlyOneGroup ? (t(), _("li", We, [
|
|
201
|
+
Ie(r, {
|
|
202
|
+
modelValue: le.value,
|
|
203
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => le.value = s),
|
|
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: Ce
|
|
206
|
+
}, {
|
|
207
|
+
default: m(() => [
|
|
208
|
+
Ne(Se(l(q).i18nt("designer.hint.checkAll")), 1)
|
|
209
|
+
]),
|
|
210
|
+
_: 1
|
|
211
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
212
|
+
])) : C("", !0),
|
|
213
|
+
(t(!0), _(g, null, S(M.value, (s, d) => {
|
|
214
|
+
var K, N;
|
|
215
|
+
return t(), _(g, {
|
|
216
|
+
key: s.value
|
|
217
|
+
}, [
|
|
218
|
+
((K = s == null ? void 0 : s.children) == null ? void 0 : K.length) > 0 ? (t(), _(g, { key: 0 }, [
|
|
219
|
+
(N = l(u)) != null && N.showGroup ? (t(), i(o, {
|
|
220
|
+
label: s[l(u).labelKey],
|
|
221
|
+
key: d
|
|
222
|
+
}, {
|
|
223
|
+
default: m(() => [
|
|
224
|
+
(t(!0), _(g, null, S(s.children, (O, H) => (t(), i(v, {
|
|
225
|
+
value: I(O),
|
|
226
|
+
label: O[l(u).labelKey],
|
|
227
|
+
key: H
|
|
228
|
+
}, {
|
|
229
|
+
default: m(() => [
|
|
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]
|
|
235
|
+
}), null, 16)) : C("", !0)
|
|
236
|
+
]),
|
|
237
|
+
_: 2
|
|
238
|
+
}, 1032, ["value", "label"]))), 128))
|
|
239
|
+
]),
|
|
240
|
+
_: 2
|
|
241
|
+
}, 1032, ["label"])) : (t(!0), _(g, { key: 1 }, S(s.children, (O, H) => (t(), i(v, {
|
|
242
|
+
value: I(O),
|
|
243
|
+
label: O[l(u).labelKey],
|
|
244
|
+
key: H
|
|
245
|
+
}, {
|
|
246
|
+
default: m(() => [
|
|
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]
|
|
252
|
+
}), null, 16)) : C("", !0)
|
|
253
|
+
]),
|
|
254
|
+
_: 2
|
|
255
|
+
}, 1032, ["value", "label"]))), 128))
|
|
256
|
+
], 64)) : (t(), i(v, {
|
|
257
|
+
value: I(s),
|
|
258
|
+
label: s[l(u).labelKey],
|
|
259
|
+
key: d
|
|
260
|
+
}, {
|
|
261
|
+
default: m(() => [
|
|
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]
|
|
267
|
+
}), null, 16)) : C("", !0)
|
|
268
|
+
]),
|
|
269
|
+
_: 2
|
|
270
|
+
}, 1032, ["value", "label"]))
|
|
271
|
+
], 64);
|
|
272
|
+
}), 128))
|
|
273
|
+
];
|
|
274
|
+
}),
|
|
275
|
+
prefix: m(() => [
|
|
276
|
+
l(B) ? (t(), i(F(l(B)), { key: 0 })) : C("", !0)
|
|
277
|
+
]),
|
|
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),
|
|
282
|
+
ref_key: "fieldEditor",
|
|
283
|
+
ref: J,
|
|
284
|
+
key: `${l(Q)}_single`
|
|
285
|
+
}, ne(l(Y)), l(c), {
|
|
286
|
+
"value-key": l(u).valueKey,
|
|
287
|
+
loading: L.value,
|
|
288
|
+
size: h.size,
|
|
289
|
+
class: h.injectClass,
|
|
290
|
+
style: h.injectStyle,
|
|
291
|
+
placeholder: l(c).placeholder || l(q).i18nt("render.hint.selectPlaceholder")
|
|
292
|
+
}), {
|
|
293
|
+
default: m(() => [
|
|
294
|
+
(t(!0), _(g, null, S(M.value, (n, A) => {
|
|
295
|
+
var w, s;
|
|
296
|
+
return t(), _(g, {
|
|
297
|
+
key: n.value
|
|
298
|
+
}, [
|
|
299
|
+
((w = n == null ? void 0 : n.children) == null ? void 0 : w.length) > 0 ? (t(), _(g, { key: 0 }, [
|
|
300
|
+
(s = l(u)) != null && s.showGroup ? (t(), i(o, {
|
|
301
|
+
label: n[l(u).labelKey],
|
|
302
|
+
key: A
|
|
303
|
+
}, {
|
|
304
|
+
default: m(() => [
|
|
305
|
+
(t(!0), _(g, null, S(n.children, (d, K) => (t(), i(v, {
|
|
306
|
+
value: I(d),
|
|
307
|
+
label: d[l(u).labelKey],
|
|
308
|
+
key: K
|
|
309
|
+
}, {
|
|
310
|
+
default: m(() => [
|
|
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]
|
|
316
|
+
}), null, 16)) : C("", !0)
|
|
317
|
+
]),
|
|
318
|
+
_: 2
|
|
319
|
+
}, 1032, ["value", "label"]))), 128))
|
|
320
|
+
]),
|
|
321
|
+
_: 2
|
|
322
|
+
}, 1032, ["label"])) : (t(!0), _(g, { key: 1 }, S(n.children, (d, K) => (t(), i(v, {
|
|
323
|
+
value: I(d),
|
|
324
|
+
label: d[l(u).labelKey],
|
|
325
|
+
key: K
|
|
326
|
+
}, {
|
|
327
|
+
default: m(() => [
|
|
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]
|
|
333
|
+
}), null, 16)) : C("", !0)
|
|
334
|
+
]),
|
|
335
|
+
_: 2
|
|
336
|
+
}, 1032, ["value", "label"]))), 128))
|
|
337
|
+
], 64)) : (t(), i(v, {
|
|
338
|
+
value: I(n),
|
|
339
|
+
label: n[l(u).labelKey],
|
|
340
|
+
key: A
|
|
341
|
+
}, {
|
|
342
|
+
default: m(() => [
|
|
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]
|
|
348
|
+
}), null, 16)) : C("", !0)
|
|
349
|
+
]),
|
|
350
|
+
_: 2
|
|
351
|
+
}, 1032, ["value", "label"]))
|
|
352
|
+
], 64);
|
|
353
|
+
}), 128))
|
|
354
|
+
]),
|
|
355
|
+
prefix: m(() => [
|
|
356
|
+
l(B) ? (t(), i(F(l(B)), { key: 0 })) : C("", !0)
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}, 16, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
|
|
360
|
+
];
|
|
361
|
+
}),
|
|
362
|
+
_: 1
|
|
363
|
+
}, 16, ["propOptions"]);
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
export {
|
|
368
|
+
fl as default
|
|
369
|
+
};
|