hlrender 0.0.236 → 0.0.238
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-58d6187d.js → _pdf-1d06ab5d.js} +6 -6
- package/{_txt-f5c478be.js → _txt-98728105.js} +6 -6
- package/{_unsupport-6709a789.js → _unsupport-969793d7.js} +1 -1
- package/{affix-widget-bdf05ff8.js → affix-widget-373a3b20.js} +16 -16
- package/{alert-widget-48801f85.js → alert-widget-57b97257.js} +16 -16
- package/{anchor-widget-d062ab11.js → anchor-widget-e14445e2.js} +13 -13
- package/{auto-complete-widget-c120b280.js → auto-complete-widget-2c1918c5.js} +16 -16
- package/{avatar-widget-b36453f6.js → avatar-widget-ca59b724.js} +16 -16
- package/{backtop-widget-e1c6d6e6.js → backtop-widget-5937f261.js} +16 -16
- package/{badge-widget-bc72aa8c.js → badge-widget-dc6eca31.js} +16 -16
- package/{barcode-widget-75442d92.js → barcode-widget-08d27072.js} +13 -13
- package/{baseImp-b7053bf9.js → baseImp-dfdbcab0.js} +1527 -1524
- package/{breadcrumb-widget-62814409.js → breadcrumb-widget-f9ace776.js} +13 -13
- package/{button-widget-6a166255.js → button-widget-e4050c68.js} +16 -16
- package/{cache-widget-d37d0c29.js → cache-widget-41ff54bd.js} +15 -15
- package/{card-widget-3b3e16c5.js → card-widget-0874f9a6.js} +14 -14
- package/{carousel-widget-2ee834b5.js → carousel-widget-c6cbc977.js} +14 -14
- package/{cascader-widget-13fbbcc2.js → cascader-widget-8ccc759b.js} +15 -15
- package/{chart-widget-fccdbed4.js → chart-widget-3466998a.js} +13 -13
- package/{checkbox-widget-38b4822e.js → checkbox-widget-8e146dd6.js} +15 -15
- package/{collapse-widget-2f5b76ff.js → collapse-widget-498dadb2.js} +14 -14
- package/{color-picker-widget-1ce60155.js → color-picker-widget-f66ab1b2.js} +15 -15
- package/{cont-cell-widget-9e47e84f.js → cont-cell-widget-31ee6ffd.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8fcbe21d.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-56b94393.js} +5 -5
- package/{cont-widget-7d41157f.js → cont-widget-df595eed.js} +5 -5
- package/{content-wrapper-1bd3c40c.js → content-wrapper-9c385a6a.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-e027bc9f.js → content-wrapper.vue_vue_type_script_setup_true_lang-6e4cfd82.js} +3 -3
- package/{date-picker-range-widget-92541625.js → date-picker-range-widget-34de8895.js} +15 -15
- package/{date-picker-widget-87386f52.js → date-picker-widget-9fa19a32.js} +15 -15
- package/default-slot-widget-fe03bc7d.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9482fbbe.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c167b953.js} +7 -7
- package/{descriptions-widget-8c0a5759.js → descriptions-widget-4dbc61d5.js} +14 -14
- package/{dialog-a029eb8d.js → dialog-29e068dc.js} +2 -2
- package/{dialog-widget-9eec17f8.js → dialog-widget-ae9adb14.js} +15 -15
- package/{divider-widget-2c1cc3fc.js → divider-widget-c70b5a52.js} +16 -16
- package/{drag-wrapper-a3a21dfe.js → drag-wrapper-30fe465d.js} +6 -6
- package/{drawer-widget-d1f84d54.js → drawer-widget-d1292395.js} +15 -15
- package/{dropdown-widget-b4ad5744.js → dropdown-widget-3ac89050.js} +14 -14
- package/{empty-widget-c7a36bce.js → empty-widget-60ef2169.js} +16 -16
- package/{enum-type-023ac876.js → enum-type-02353175.js} +147 -76
- package/{enum-type-51c8e865.js → enum-type-b11d7b84.js} +1 -1
- package/{expression-9e49bfa2.js → expression-24bbff4a.js} +1598 -1568
- package/feedback-widget-7592050c.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f451d4d4.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8d98bb6e.js} +5 -5
- package/{fieldobj-95269526.js → fieldobj-f1cc30b0.js} +1 -1
- package/{file-upload-widget-14b884e3.js → file-upload-widget-7f0a76a5.js} +20 -20
- package/{form-item-wrapper-fdd3d832.js → form-item-wrapper-01edb1f3.js} +11 -11
- package/{form-widget-4db32b02.js → form-widget-31d5919a.js} +20 -20
- package/{grid-col-widget-7310e100.js → grid-col-widget-9f3780fa.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-88769450.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-7d9d3ebe.js} +5 -5
- package/{grid-widget-962b9b44.js → grid-widget-07b826b1.js} +5 -5
- package/{html-text-widget-028f6909.js → html-text-widget-425b8f09.js} +14 -14
- package/{icon-widget-70583729.js → icon-widget-e81e69c4.js} +13 -13
- package/{iframe-widget-a4827c53.js → iframe-widget-1fa124fc.js} +13 -13
- package/{image-widget-bb47ae05.js → image-widget-6f08b021.js} +13 -13
- package/{index-5cc3eed2.js → index-05f29049.js} +147 -148
- package/{index-2094fa37.js → index-443deff9.js} +1 -1
- package/{index-ecd24c33.js → index-94c6f88f.js} +4 -4
- package/{input-number-widget-22bd8fa0.js → input-number-widget-72629573.js} +15 -15
- package/{input-widget-092c0c6b.js → input-widget-6daf7cb9.js} +16 -16
- package/{label-wrapper-d4a00d21.js → label-wrapper-10da2e17.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-da4fdf7c.js → label-wrapper.vue_vue_type_style_index_0_lang-890fb964.js} +3 -3
- package/{link-widget-216c6f97.js → link-widget-b652d071.js} +16 -16
- package/{ltable-col-widget-10e963b1.js → ltable-col-widget-a0d28825.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-39d672ea.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f07c0ed7.js} +9 -9
- package/{ltable-widget-d99dbfa7.js → ltable-widget-3b91143c.js} +5 -5
- package/{menu-widget-2fadec7c.js → menu-widget-04768e31.js} +66 -63
- package/{model-widget-7e3edbc5.js → model-widget-9e9d4a7a.js} +13 -13
- package/{multirow-30c80732.js → multirow-ed94011a.js} +6 -6
- package/{multirow-widget-848f8dce.js → multirow-widget-3d4f53d0.js} +15 -15
- package/package.json +1 -4
- package/{pagination-widget-ff5c19d4.js → pagination-widget-1eaa698c.js} +13 -13
- package/{picture-upload-widget-f474822b.js → picture-upload-widget-09cbed46.js} +16 -16
- package/{progress-widget-94ea22df.js → progress-widget-16c4310b.js} +14 -14
- package/{qrcode-widget-49d9b958.js → qrcode-widget-00486ab1.js} +13 -13
- package/{radio-widget-c445e981.js → radio-widget-08aa0bfb.js} +15 -15
- package/{range-widget-e7d4b2e4.js → range-widget-a314d1f4.js} +16 -16
- package/{rate-widget-bfa270e2.js → rate-widget-73302c33.js} +15 -15
- package/render.es.js +32 -32
- package/render.umd.js +386 -323
- package/{result-widget-05885067.js → result-widget-fcedac30.js} +14 -14
- package/{rich-editor-widget-d67a8586.js → rich-editor-widget-77d42d80.js} +25 -25
- package/{router-widget-92ce9279.js → router-widget-b5dbe3e4.js} +13 -13
- package/select-widget-a62b2b0d.js +346 -0
- package/{sfc-6366a21e.js → sfc-115a39dc.js} +8 -8
- package/{sfcview-aad25331.js → sfcview-58a176d1.js} +7 -7
- package/share-field-af691927.js +806 -0
- package/{share-file-097d905a.js → share-file-b346d1d6.js} +11 -11
- package/{slider-widget-ecb88d74.js → slider-widget-c86b60a4.js} +15 -15
- package/{slot-ed433ea9.js → slot-bf7aaad4.js} +3 -3
- package/{static-text-widget-ca4ffd10.js → static-text-widget-1b978fc5.js} +14 -14
- package/{steps-widget-6bb4cbb2.js → steps-widget-0c94b4d4.js} +13 -13
- package/{subMenu-widget-698139a3.js → subMenu-widget-51f7e8df.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-baaa1c4a.js → subMenu-widget.vue_vue_type_script_setup_true_lang-f968bc58.js} +3 -3
- package/{switch-widget-71aa46fb.js → switch-widget-9ccbcdd9.js} +15 -15
- package/{tab-pane-widget-6ad1f633.js → tab-pane-widget-7fe91fd6.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-314f605a.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4fb8723b.js} +5 -5
- package/table-col-widget-5846b3e5.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-d3fdacff.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-62f87554.js} +7 -7
- package/{table-widget-4e5e8061.js → table-widget-85bd124d.js} +15 -15
- package/{tabs-widget-4e67cd51.js → tabs-widget-8039bc12.js} +7 -7
- package/{tag-widget-89a6e063.js → tag-widget-6041e684.js} +16 -16
- package/{text-widget-c5e0be42.js → text-widget-c52f22f6.js} +16 -16
- package/{textarea-widget-20af8743.js → textarea-widget-48ca63cb.js} +15 -15
- package/{time-picker-range-widget-6ff51165.js → time-picker-range-widget-d42cf4e6.js} +15 -15
- package/{time-picker-widget-bd284c76.js → time-picker-widget-58596257.js} +15 -15
- package/{time-select-widget-3cbcc4b8.js → time-select-widget-17bc387e.js} +15 -15
- package/{tmpl-widget-8958f1fa.js → tmpl-widget-e869b13a.js} +14 -14
- package/{tree-select-widget-2a7ba007.js → tree-select-widget-b68349fa.js} +15 -15
- package/{tree-widget-d78014e4.js → tree-widget-b24918ea.js} +13 -13
- package/{uuid-4cca6e60.js → uuid-4bdfeca9.js} +1 -1
- package/{verifycode-widget-332cf4c2.js → verifycode-widget-c7e7409c.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-aa8ed243.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ada7f777.js} +7 -7
- package/{wrapper-widget-d0051361.js → wrapper-widget-d649c2f3.js} +6 -6
- package/default-slot-widget-7f35a8d0.js +0 -26
- package/feedback-widget-1ecbe4c1.js +0 -26
- package/select-widget-c30882c2.js +0 -346
- package/share-field-b21137ae.js +0 -800
- package/table-col-widget-d5fd1182.js +0 -22
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as d, computed as k, resolveComponent as S, openBlock as i, createBlock as p, mergeProps as m, unref as t, withCtx as a, toHandlers as j, createSlots as v, renderList as h, resolveDynamicComponent as D, createCommentVNode as F, createVNode as V } from "vue";
|
|
2
|
-
import { e as $ } from "./enum-type-
|
|
2
|
+
import { e as $ } from "./enum-type-02353175.js";
|
|
3
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-
|
|
5
|
-
import { b as I } from "./share-field-
|
|
6
|
-
import { w as O } from "./expression-
|
|
7
|
-
import { D as P } from "./drag-wrapper-
|
|
8
|
-
import { g as W } from "./slot-
|
|
4
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ada7f777.js";
|
|
5
|
+
import { b as I } from "./share-field-af691927.js";
|
|
6
|
+
import { w as O } from "./expression-24bbff4a.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-30fe465d.js";
|
|
8
|
+
import { g as W } from "./slot-bf7aaad4.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./index-05f29049.js";
|
|
11
|
+
import "./uuid-4bdfeca9.js";
|
|
12
|
+
import "./enum-type-b11d7b84.js";
|
|
13
|
+
import "./baseImp-dfdbcab0.js";
|
|
14
14
|
import "./icon-a0e0cdb0.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-29e068dc.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-443deff9.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
20
|
+
import "./fieldobj-f1cc30b0.js";
|
|
21
|
+
import "./multirow-ed94011a.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
24
|
const z = d({ componentName: O.FieldWidget }), se = /* @__PURE__ */ d({
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { defineComponent as u, computed as d, shallowRef as
|
|
2
|
-
import { b as N } from "./share-field-
|
|
1
|
+
import { defineComponent as u, computed as d, shallowRef as x, onMounted as F, nextTick as H, openBlock as s, createBlock as a, mergeProps as c, unref as e, 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-af691927.js";
|
|
3
3
|
import { I as P } from "./field-base-1acf3ada.js";
|
|
4
|
-
import R from "./form-item-wrapper-
|
|
5
|
-
import { w as S } from "./expression-
|
|
6
|
-
import { d as q,
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
4
|
+
import R from "./form-item-wrapper-01edb1f3.js";
|
|
5
|
+
import { w as S } from "./expression-24bbff4a.js";
|
|
6
|
+
import { d as q, G as D } from "./enum-type-02353175.js";
|
|
7
|
+
import "./multirow-ed94011a.js";
|
|
8
|
+
import "./baseImp-dfdbcab0.js";
|
|
9
|
+
import "./enum-type-b11d7b84.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-29e068dc.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-4bdfeca9.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-05f29049.js";
|
|
16
|
+
import "./slot-bf7aaad4.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-ada7f777.js";
|
|
19
|
+
import "./index-443deff9.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-f1cc30b0.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-890fb964.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
|
-
const
|
|
26
|
-
...
|
|
25
|
+
const G = u({ componentName: S.FieldWidget }), ue = /* @__PURE__ */ u({
|
|
26
|
+
...G,
|
|
27
27
|
__name: "rich-editor-widget",
|
|
28
28
|
props: { ...P },
|
|
29
29
|
setup(f, { expose: _ }) {
|
|
30
|
-
const h = f, { fieldEditor: g, fieldKey: y, fieldModel: n, rules: v, events: i, getFieldOptions: p, exposed: w, fieldObj: C } = N(h), E = d(() => p("contentHeight")), m =
|
|
30
|
+
const h = f, { fieldEditor: g, fieldKey: y, fieldModel: n, rules: v, events: i, getFieldOptions: p, exposed: w, fieldObj: C } = N(h), E = d(() => p("contentHeight")), m = x(), O = () => {
|
|
31
31
|
import("./index-ae1f26e5.js").then((t) => {
|
|
32
32
|
m.value = t.default;
|
|
33
33
|
});
|
|
34
|
-
},
|
|
34
|
+
}, b = q(D(i.value), {
|
|
35
35
|
change: (t) => {
|
|
36
36
|
var o, l;
|
|
37
37
|
const r = t == null ? void 0 : t.html;
|
|
38
38
|
(l = (o = i == null ? void 0 : i.value) == null ? void 0 : o.change) == null || l.call(o, r);
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
40
|
+
}), k = d(() => ({
|
|
41
41
|
disabled: p("disabled"),
|
|
42
42
|
placeholder: p("placeholder")
|
|
43
43
|
}));
|
|
44
|
-
return
|
|
44
|
+
return F(() => {
|
|
45
45
|
H(() => {
|
|
46
|
-
|
|
46
|
+
O();
|
|
47
47
|
});
|
|
48
48
|
}), _({ ...w }), (t, r) => (s(), a(R, c(t.$props, {
|
|
49
49
|
propOptions: { fieldObj: e(C), rules: e(v) }
|
|
@@ -58,9 +58,9 @@ const K = u({ componentName: S.FieldWidget }), ue = /* @__PURE__ */ u({
|
|
|
58
58
|
ref: g,
|
|
59
59
|
modelValue: e(n),
|
|
60
60
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => z(n) ? n.value = l : null)
|
|
61
|
-
}, B(e(
|
|
61
|
+
}, B(e(b)), {
|
|
62
62
|
key: e(y),
|
|
63
|
-
options: e(
|
|
63
|
+
options: e(k),
|
|
64
64
|
contentHeight: e(E)
|
|
65
65
|
}), null, 16, ["modelValue", "options", "contentHeight"]))
|
|
66
66
|
], 6)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as b } from "vue";
|
|
2
|
-
import { b as y } from "./share-field-
|
|
2
|
+
import { b as y } from "./share-field-af691927.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-
|
|
4
|
+
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ada7f777.js";
|
|
5
|
+
import { w as F } from "./expression-24bbff4a.js";
|
|
6
|
+
import "./enum-type-02353175.js";
|
|
7
|
+
import "./multirow-ed94011a.js";
|
|
8
|
+
import "./baseImp-dfdbcab0.js";
|
|
9
|
+
import "./enum-type-b11d7b84.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-29e068dc.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-4bdfeca9.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-05f29049.js";
|
|
16
|
+
import "./slot-bf7aaad4.js";
|
|
17
17
|
import "./widget-base-8eece820.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-443deff9.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-f1cc30b0.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), T = /* @__PURE__ */ m({
|
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { defineComponent as ve, ref as S, computed as te, shallowRef as ue, watch as Fe, onMounted as we, resolveComponent as R, openBlock as r, createBlock as d, mergeProps as V, unref as l, withCtx as m, isRef as re, toHandlers as ne, createElementBlock as k, createVNode as ze, createTextVNode as Ne, toDisplayString as Se, createCommentVNode as O, Fragment as _, renderList as B, resolveDynamicComponent as j } from "vue";
|
|
2
|
+
import { t as g, c as oe, e as q } from "./enum-type-02353175.js";
|
|
3
|
+
import { d as Be } from "./baseImp-dfdbcab0.js";
|
|
4
|
+
import { b as Ee } from "./share-field-af691927.js";
|
|
5
|
+
import { I as Pe } from "./field-base-1acf3ada.js";
|
|
6
|
+
import De from "./form-item-wrapper-01edb1f3.js";
|
|
7
|
+
import { b as Le, w as Re } from "./expression-24bbff4a.js";
|
|
8
|
+
import { d as se } from "./slot-bf7aaad4.js";
|
|
9
|
+
import "./enum-type-b11d7b84.js";
|
|
10
|
+
import "./icon-a0e0cdb0.js";
|
|
11
|
+
import "./dialog-29e068dc.js";
|
|
12
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./uuid-4bdfeca9.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./multirow-ed94011a.js";
|
|
16
|
+
import "./index-05f29049.js";
|
|
17
|
+
import "./widget-base-8eece820.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ada7f777.js";
|
|
19
|
+
import "./index-443deff9.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./fieldobj-f1cc30b0.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-890fb964.js";
|
|
23
|
+
import "./source-map-b04aec4a.js";
|
|
24
|
+
import "./esprima-e8d15055.js";
|
|
25
|
+
const Ue = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "el-select-dropdown__item"
|
|
28
|
+
}, We = ve({ componentName: Re.FieldWidget }), fl = /* @__PURE__ */ ve({
|
|
29
|
+
...We,
|
|
30
|
+
__name: "select-widget",
|
|
31
|
+
props: { ...Pe },
|
|
32
|
+
setup(ie, { expose: de }) {
|
|
33
|
+
const ce = ie, {
|
|
34
|
+
fieldEditor: J,
|
|
35
|
+
fieldKey: Q,
|
|
36
|
+
fieldModel: h,
|
|
37
|
+
objFieldModel: X,
|
|
38
|
+
rules: fe,
|
|
39
|
+
attrs: c,
|
|
40
|
+
extendAttrs: u,
|
|
41
|
+
events: Y,
|
|
42
|
+
slots: me,
|
|
43
|
+
exposed: ye,
|
|
44
|
+
fieldObj: pe,
|
|
45
|
+
getFieldOptions: he,
|
|
46
|
+
getWidgetOption: Z,
|
|
47
|
+
getCheckedOptionItems: ke,
|
|
48
|
+
setOptionItems: _e,
|
|
49
|
+
watchOption: ge
|
|
50
|
+
} = Ee(ce), A = S(), F = S(), be = S(!1), z = (e) => {
|
|
51
|
+
var a, t;
|
|
52
|
+
return (a = u.value) != null && a.allItemAsValue ? e : e == null ? void 0 : e[(t = u.value) == null ? void 0 : t.valueKey];
|
|
53
|
+
}, E = te({
|
|
54
|
+
get: () => g(h.value, !1),
|
|
55
|
+
set: (e) => {
|
|
56
|
+
h.value = e;
|
|
57
|
+
}
|
|
58
|
+
}), P = te({
|
|
59
|
+
get: () => X.value == null ? [] : g(W(X.value), !0),
|
|
60
|
+
set: (e) => {
|
|
61
|
+
h.value = W(e);
|
|
62
|
+
}
|
|
63
|
+
}), L = S(!1);
|
|
64
|
+
let y = ue(), D = ue();
|
|
65
|
+
Fe(me, (e) => {
|
|
66
|
+
var a, t;
|
|
67
|
+
y.value = (a = se(e, "optionDefault")) == null ? void 0 : a.default, D.value = (t = se(e, "prefix")) == null ? void 0 : t.default;
|
|
68
|
+
}, { immediate: !0 });
|
|
69
|
+
var U = Z("filterMethod");
|
|
70
|
+
const Ke = (e, a) => {
|
|
71
|
+
var v;
|
|
72
|
+
if (U) {
|
|
73
|
+
var t = (v = F.value) == null ? void 0 : v.filter((o) => {
|
|
74
|
+
var p, w;
|
|
75
|
+
var f = Be(U, { keyword: e, option: { ...o, label: o == null ? void 0 : o[(p = u.value) == null ? void 0 : p.labelKey], value: o == null ? void 0 : o[(w = u.value) == null ? void 0 : w.valueKey] } });
|
|
76
|
+
return f;
|
|
77
|
+
});
|
|
78
|
+
a && a(t);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
U && Object.assign(c.value, { filterMethod: (e) => {
|
|
82
|
+
G(e, Ke);
|
|
83
|
+
} });
|
|
84
|
+
var x = Z("remoteMethod");
|
|
85
|
+
const G = (e, a) => {
|
|
86
|
+
a && (be.value = !0, e ? (L.value = !0, a(e, (t) => {
|
|
87
|
+
A.value = t, L.value = !1;
|
|
88
|
+
})) : A.value = F.value);
|
|
89
|
+
};
|
|
90
|
+
x && Object.assign(c.value, { remoteMethod: (e) => {
|
|
91
|
+
G(e, x);
|
|
92
|
+
} });
|
|
93
|
+
const ee = () => {
|
|
94
|
+
var a;
|
|
95
|
+
var e = he("valueKey");
|
|
96
|
+
return e ? (a = F == null ? void 0 : F.value) == null ? void 0 : a.map((t) => t == null ? void 0 : t[e]) : [];
|
|
97
|
+
};
|
|
98
|
+
var Ve = () => {
|
|
99
|
+
if (!h.value)
|
|
100
|
+
return !1;
|
|
101
|
+
if (!Array.isArray(h.value))
|
|
102
|
+
return !0;
|
|
103
|
+
var e = ee();
|
|
104
|
+
return !(e != null && e.some((a) => {
|
|
105
|
+
var t;
|
|
106
|
+
return ((t = h.value) == null ? void 0 : t.indexOf(a)) === -1;
|
|
107
|
+
}));
|
|
108
|
+
};
|
|
109
|
+
const le = S(Ve()), Oe = (e) => {
|
|
110
|
+
e ? h.value = ee() : h.value = [];
|
|
111
|
+
}, C = S(), Ce = () => {
|
|
112
|
+
var a;
|
|
113
|
+
((a = c == null ? void 0 : c.value) == null ? void 0 : a.multiple) ? P.value != null && (C.value = P.value) : E.value != null && (C.value = [E.value]);
|
|
114
|
+
}, Me = () => {
|
|
115
|
+
var e, a;
|
|
116
|
+
(e = u.value) != null && e.allItemAsValue && ((a = c.value) != null && a.remote) && T(C.value);
|
|
117
|
+
}, W = (e) => {
|
|
118
|
+
var M, I;
|
|
119
|
+
const a = g(e, !0), t = (M = c == null ? void 0 : c.value) == null ? void 0 : M.multiple;
|
|
120
|
+
if (!t || !((I = u == null ? void 0 : u.value) != null && I.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
|
|
121
|
+
return C.value = a, g(a, t);
|
|
122
|
+
for (var v = "", o = [], f = oe(g(A.value, !0)), p = a.length - 1; p >= 0; p--) {
|
|
123
|
+
const s = a[p];
|
|
124
|
+
var w = f == null ? void 0 : f.some((i) => s === (i == null ? void 0 : i.value));
|
|
125
|
+
w && o.push(s);
|
|
126
|
+
var n = f == null ? void 0 : f.find((i) => {
|
|
127
|
+
var b;
|
|
128
|
+
return (b = oe(g(i == null ? void 0 : i.children, !0))) == null ? void 0 : b.some((N) => s === (N == null ? void 0 : N.value));
|
|
129
|
+
});
|
|
130
|
+
(n && (n == null ? void 0 : n.value) === v || !v) && (o.push(s), v || (v = n == null ? void 0 : n.value));
|
|
131
|
+
}
|
|
132
|
+
return C.value = o, o;
|
|
133
|
+
}, Ie = (e) => W(e), $ = (e) => {
|
|
134
|
+
var a, t;
|
|
135
|
+
if (h.value !== void 0)
|
|
136
|
+
return (a = c.value) != null && a.remote || (t = u.value) != null && t.allItemAsValue ? (C.value || (C.value = g(e, !0)), C.value) : ke(e, F.value);
|
|
137
|
+
}, ae = (e) => {
|
|
138
|
+
var t, v;
|
|
139
|
+
var a = (t = $(e)) == null ? void 0 : t.map((o) => {
|
|
140
|
+
var f;
|
|
141
|
+
return o == null ? void 0 : o[(f = u.value) == null ? void 0 : f.labelKey];
|
|
142
|
+
});
|
|
143
|
+
return g(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
144
|
+
}, je = (e) => {
|
|
145
|
+
var t, v;
|
|
146
|
+
var a = (t = $(e)) == null ? void 0 : t.map((o) => {
|
|
147
|
+
var f;
|
|
148
|
+
return o == null ? void 0 : o[(f = u.value) == null ? void 0 : f.valueKey];
|
|
149
|
+
});
|
|
150
|
+
return g(a, (v = c.value) == null ? void 0 : v.multiple);
|
|
151
|
+
}, Ae = (e) => {
|
|
152
|
+
var t;
|
|
153
|
+
var a = ae(e);
|
|
154
|
+
return (t = g(a, !0)) == null ? void 0 : t.join(",");
|
|
155
|
+
}, T = (e) => {
|
|
156
|
+
F.value = e, A.value = e, _e(e);
|
|
157
|
+
};
|
|
158
|
+
return we(() => {
|
|
159
|
+
Ce(), Me(), ge(!0, Le.optionItems, void 0, (e) => {
|
|
160
|
+
T(e);
|
|
161
|
+
});
|
|
162
|
+
}), de({
|
|
163
|
+
...ye,
|
|
164
|
+
handleBeforeChange: Ie,
|
|
165
|
+
loadOptionItems: T,
|
|
166
|
+
getCheckedItems: $,
|
|
167
|
+
getCheckedLabels: ae,
|
|
168
|
+
getCheckedValues: je,
|
|
169
|
+
getCheckedText: Ae
|
|
170
|
+
}), (e, a) => {
|
|
171
|
+
const t = R("el-checkbox"), v = R("el-option"), o = R("el-option-group"), f = R("el-select");
|
|
172
|
+
return r(), d(De, V(e.$props, {
|
|
173
|
+
propOptions: { fieldObj: l(pe), rules: l(fe) }
|
|
174
|
+
}), {
|
|
175
|
+
default: m(({ data: p }) => {
|
|
176
|
+
var w;
|
|
177
|
+
return [
|
|
178
|
+
(w = l(c)) != null && w.multiple ? (r(), d(f, V({
|
|
179
|
+
ref_key: "fieldEditor",
|
|
180
|
+
ref: J,
|
|
181
|
+
modelValue: l(P),
|
|
182
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => re(P) ? P.value = n : null),
|
|
183
|
+
key: `${l(Q)}_multiple`
|
|
184
|
+
}, l(c), ne(l(Y)), {
|
|
185
|
+
"value-key": l(u).valueKey,
|
|
186
|
+
loading: L.value,
|
|
187
|
+
size: p.size,
|
|
188
|
+
class: p.injectClass,
|
|
189
|
+
style: p.injectStyle,
|
|
190
|
+
placeholder: l(c).placeholder || l(q).i18nt("render.hint.selectPlaceholder")
|
|
191
|
+
}), {
|
|
192
|
+
default: m(() => {
|
|
193
|
+
var n, M, I;
|
|
194
|
+
return [
|
|
195
|
+
l(c).multiple && !l(u).selectOnlyOneGroup ? (r(), k("li", Ue, [
|
|
196
|
+
ze(t, {
|
|
197
|
+
modelValue: le.value,
|
|
198
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => le.value = s),
|
|
199
|
+
indeterminate: ((n = l(h)) == null ? void 0 : n.length) < (((M = A.value) == null ? void 0 : M.length) || 0) && ((I = l(h)) == null ? void 0 : I.length) !== 0,
|
|
200
|
+
onChange: Oe
|
|
201
|
+
}, {
|
|
202
|
+
default: m(() => [
|
|
203
|
+
Ne(Se(l(q).i18nt("designer.hint.checkAll")), 1)
|
|
204
|
+
]),
|
|
205
|
+
_: 1
|
|
206
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
207
|
+
])) : O("", !0),
|
|
208
|
+
(r(!0), k(_, null, B(A.value, (s, i) => {
|
|
209
|
+
var b, N;
|
|
210
|
+
return r(), k(_, {
|
|
211
|
+
key: s.value
|
|
212
|
+
}, [
|
|
213
|
+
((b = s == null ? void 0 : s.children) == null ? void 0 : b.length) > 0 ? (r(), k(_, { key: 0 }, [
|
|
214
|
+
(N = l(u)) != null && N.showGroup ? (r(), d(o, {
|
|
215
|
+
label: s[l(u).labelKey],
|
|
216
|
+
key: i
|
|
217
|
+
}, {
|
|
218
|
+
default: m(() => [
|
|
219
|
+
(r(!0), k(_, null, B(s.children, (K, H) => (r(), d(v, {
|
|
220
|
+
value: z(K),
|
|
221
|
+
label: K[l(u).labelKey],
|
|
222
|
+
key: H
|
|
223
|
+
}, {
|
|
224
|
+
default: m(() => [
|
|
225
|
+
l(y) ? (r(), d(j(l(y)), V({ key: 0 }, { item: K }, {
|
|
226
|
+
key: K[l(u).valueKey]
|
|
227
|
+
}), null, 16)) : O("", !0)
|
|
228
|
+
]),
|
|
229
|
+
_: 2
|
|
230
|
+
}, 1032, ["value", "label"]))), 128))
|
|
231
|
+
]),
|
|
232
|
+
_: 2
|
|
233
|
+
}, 1032, ["label"])) : (r(!0), k(_, { key: 1 }, B(s.children, (K, H) => (r(), d(v, {
|
|
234
|
+
value: z(K),
|
|
235
|
+
label: K[l(u).labelKey],
|
|
236
|
+
key: H
|
|
237
|
+
}, {
|
|
238
|
+
default: m(() => [
|
|
239
|
+
l(y) ? (r(), d(j(l(y)), V({ key: 0 }, { item: K }, {
|
|
240
|
+
key: K[l(u).valueKey]
|
|
241
|
+
}), null, 16)) : O("", !0)
|
|
242
|
+
]),
|
|
243
|
+
_: 2
|
|
244
|
+
}, 1032, ["value", "label"]))), 128))
|
|
245
|
+
], 64)) : (r(), d(v, {
|
|
246
|
+
value: z(s),
|
|
247
|
+
label: s[l(u).labelKey],
|
|
248
|
+
key: i
|
|
249
|
+
}, {
|
|
250
|
+
default: m(() => [
|
|
251
|
+
l(y) ? (r(), d(j(l(y)), V({ key: 0 }, { item: s }, {
|
|
252
|
+
key: s[l(u).valueKey]
|
|
253
|
+
}), null, 16)) : O("", !0)
|
|
254
|
+
]),
|
|
255
|
+
_: 2
|
|
256
|
+
}, 1032, ["value", "label"]))
|
|
257
|
+
], 64);
|
|
258
|
+
}), 128))
|
|
259
|
+
];
|
|
260
|
+
}),
|
|
261
|
+
prefix: m(() => [
|
|
262
|
+
l(D) ? (r(), d(j(l(D)), { key: 0 })) : O("", !0)
|
|
263
|
+
]),
|
|
264
|
+
_: 2
|
|
265
|
+
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"])) : (r(), d(f, V({
|
|
266
|
+
modelValue: l(E),
|
|
267
|
+
"onUpdate:modelValue": a[2] || (a[2] = (n) => re(E) ? E.value = n : null),
|
|
268
|
+
ref_key: "fieldEditor",
|
|
269
|
+
ref: J,
|
|
270
|
+
key: `${l(Q)}_single`
|
|
271
|
+
}, ne(l(Y)), l(c), {
|
|
272
|
+
"value-key": l(u).valueKey,
|
|
273
|
+
loading: L.value,
|
|
274
|
+
size: p.size,
|
|
275
|
+
class: p.injectClass,
|
|
276
|
+
style: p.injectStyle,
|
|
277
|
+
placeholder: l(c).placeholder || l(q).i18nt("render.hint.selectPlaceholder")
|
|
278
|
+
}), {
|
|
279
|
+
default: m(() => [
|
|
280
|
+
(r(!0), k(_, null, B(A.value, (n, M) => {
|
|
281
|
+
var I, s;
|
|
282
|
+
return r(), k(_, {
|
|
283
|
+
key: n.value
|
|
284
|
+
}, [
|
|
285
|
+
((I = n == null ? void 0 : n.children) == null ? void 0 : I.length) > 0 ? (r(), k(_, { key: 0 }, [
|
|
286
|
+
(s = l(u)) != null && s.showGroup ? (r(), d(o, {
|
|
287
|
+
label: n[l(u).labelKey],
|
|
288
|
+
key: M
|
|
289
|
+
}, {
|
|
290
|
+
default: m(() => [
|
|
291
|
+
(r(!0), k(_, null, B(n.children, (i, b) => (r(), d(v, {
|
|
292
|
+
value: z(i),
|
|
293
|
+
label: i[l(u).labelKey],
|
|
294
|
+
key: b
|
|
295
|
+
}, {
|
|
296
|
+
default: m(() => [
|
|
297
|
+
l(y) ? (r(), d(j(l(y)), V({ key: 0 }, { item: i }, {
|
|
298
|
+
key: i[l(u).valueKey]
|
|
299
|
+
}), null, 16)) : O("", !0)
|
|
300
|
+
]),
|
|
301
|
+
_: 2
|
|
302
|
+
}, 1032, ["value", "label"]))), 128))
|
|
303
|
+
]),
|
|
304
|
+
_: 2
|
|
305
|
+
}, 1032, ["label"])) : (r(!0), k(_, { key: 1 }, B(n.children, (i, b) => (r(), d(v, {
|
|
306
|
+
value: z(i),
|
|
307
|
+
label: i[l(u).labelKey],
|
|
308
|
+
key: b
|
|
309
|
+
}, {
|
|
310
|
+
default: m(() => [
|
|
311
|
+
l(y) ? (r(), d(j(l(y)), V({ key: 0 }, { item: i }, {
|
|
312
|
+
key: i[l(u).valueKey]
|
|
313
|
+
}), null, 16)) : O("", !0)
|
|
314
|
+
]),
|
|
315
|
+
_: 2
|
|
316
|
+
}, 1032, ["value", "label"]))), 128))
|
|
317
|
+
], 64)) : (r(), d(v, {
|
|
318
|
+
value: z(n),
|
|
319
|
+
label: n[l(u).labelKey],
|
|
320
|
+
key: M
|
|
321
|
+
}, {
|
|
322
|
+
default: m(() => [
|
|
323
|
+
l(y) ? (r(), d(j(l(y)), V({ key: 0 }, { item: n }, {
|
|
324
|
+
key: n[l(u).valueKey]
|
|
325
|
+
}), null, 16)) : O("", !0)
|
|
326
|
+
]),
|
|
327
|
+
_: 2
|
|
328
|
+
}, 1032, ["value", "label"]))
|
|
329
|
+
], 64);
|
|
330
|
+
}), 128))
|
|
331
|
+
]),
|
|
332
|
+
prefix: m(() => [
|
|
333
|
+
l(D) ? (r(), d(j(l(D)), { key: 0 })) : O("", !0)
|
|
334
|
+
]),
|
|
335
|
+
_: 2
|
|
336
|
+
}, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
|
|
337
|
+
];
|
|
338
|
+
}),
|
|
339
|
+
_: 1
|
|
340
|
+
}, 16, ["propOptions"]);
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
export {
|
|
345
|
+
fl as default
|
|
346
|
+
};
|
|
@@ -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,
|
|
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, m as F, s as _t, r as ei, n as Re } from "./expression-
|
|
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-02353175.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-dfdbcab0.js";
|
|
6
|
+
import { b as rt, m as F, s as _t, r as ei, n as Re } from "./expression-24bbff4a.js";
|
|
7
|
+
import { c as R, d as ii, H as Yt, e as Zt, $ as si } from "./enum-type-b11d7b84.js";
|
|
8
|
+
import { d as Se } from "./slot-bf7aaad4.js";
|
|
9
|
+
import { t as ni, l as Ae, m as Ce } from "./index-05f29049.js";
|
|
10
10
|
import "vue";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-29e068dc.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-4bdfeca9.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-
|
|
1
|
+
import { D as B, B as a } from "./baseImp-dfdbcab0.js";
|
|
2
|
+
import { c as l } from "./enum-type-b11d7b84.js";
|
|
3
|
+
import { f as D, n as G, o as J } from "./index-05f29049.js";
|
|
4
|
+
import { j as h } from "./expression-24bbff4a.js";
|
|
5
|
+
import { f as k, c as b } from "./enum-type-02353175.js";
|
|
6
6
|
import "./icon-a0e0cdb0.js";
|
|
7
7
|
import "vue";
|
|
8
|
-
import "./dialog-
|
|
8
|
+
import "./dialog-29e068dc.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
|
-
import "./uuid-
|
|
10
|
+
import "./uuid-4bdfeca9.js";
|
|
11
11
|
import "element-plus";
|
|
12
12
|
import "./source-map-b04aec4a.js";
|
|
13
13
|
import "./esprima-e8d15055.js";
|