hlrender 0.0.1
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/_commonjsHelpers-e7ea1525.js +36 -0
- package/_plugin-vue_export-helper-dad06003.js +9 -0
- package/affix-widget-b6cdaf6f.js +35 -0
- package/anchor-link-widget-919ac0ee.js +5 -0
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +35 -0
- package/anchor-widget-403fe70f.js +54 -0
- package/auto-complete-widget-597d8400.js +71 -0
- package/avatar-widget-c56add2d.js +35 -0
- package/backtop-widget-65d711e3.js +35 -0
- package/badge-widget-f6a08422.js +41 -0
- package/baseImp-70f1a9c5.js +11003 -0
- package/breadcrumb-widget-3791fbcf.js +76 -0
- package/button-widget-b539a793.js +45 -0
- package/cache-widget-89624589.js +50 -0
- package/card-widget-2890042f.js +109 -0
- package/carousel-widget-730618e4.js +72 -0
- package/cascader-widget-a364f226.js +94 -0
- package/chart-widget-d0b5993c.js +44282 -0
- package/checkbox-widget-5f87a8e5.js +76 -0
- package/collapse-widget-a654ac45.js +86 -0
- package/color-picker-widget-b5b274dd.js +53 -0
- package/cont-cell-widget-475412c6.js +8 -0
- package/cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9aac0112.js +59 -0
- package/cont-widget-defa7dd6.js +42 -0
- package/content-wrapper-7ba06bbc.js +14 -0
- package/content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js +37 -0
- package/date-picker-range-widget-e528dab6.js +69 -0
- package/date-picker-widget-a5d3e5ff.js +75 -0
- package/default-slot-widget-09d11567.js +22 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js +59 -0
- package/descriptions-widget-9711a62b.js +80 -0
- package/dialog-333d3421.js +124 -0
- package/dialog-widget-94d8ab5a.js +30 -0
- package/divider-widget-b835bbc3.js +35 -0
- package/drag-wrapper-227f198f.js +258 -0
- package/drawer-widget-3906d028.js +30 -0
- package/dropdown-widget-74696f3c.js +89 -0
- package/empty-widget-ba5e0039.js +61 -0
- package/enum-type-92806e9d.js +207 -0
- package/enum-type-be3a0b8b.js +2048 -0
- package/expression-63a787db.js +2181 -0
- package/feedback-widget-3140f73d.js +23 -0
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f8da09d0.js +82 -0
- package/field-base-5547436d.js +7 -0
- package/file-upload-widget-dcc0425c.js +95 -0
- package/form-item-wrapper-849d8a21.js +111 -0
- package/form-widget-1dcffd59.js +183 -0
- package/grid-col-widget-e6b1455d.js +8 -0
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ed554759.js +41 -0
- package/grid-widget-d7974890.js +43 -0
- package/html-text-widget-e13171fa.js +47 -0
- package/icon-e9532b43.js +119 -0
- package/iframe-widget-dee326a7.js +74 -0
- package/image-widget-d417c681.js +61 -0
- package/index-28e4bcfb.js +99 -0
- package/index-2d29f8d3.js +7233 -0
- package/index-ddd23411.js +4884 -0
- package/index-f54403db.js +65 -0
- package/index-fa19f5d9.js +10568 -0
- package/input-number-widget-548743d9.js +63 -0
- package/input-widget-81153a08.js +68 -0
- package/label-wrapper-13267254.js +12 -0
- package/label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js +80 -0
- package/link-widget-e2aeac9f.js +53 -0
- package/ltable-col-widget-ecfe9f02.js +8 -0
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6c231f2e.js +256 -0
- package/ltable-widget-d5d81ac2.js +69 -0
- package/menu-widget-101389ec.js +93 -0
- package/model-widget-84277d11.js +119 -0
- package/multirow-3ade8c6e.js +341 -0
- package/multirow-widget copy-efbb1e00.js +855 -0
- package/multirow-widget-a73fd2b8.js +691 -0
- package/package.json +13 -0
- package/pagination-widget-12edf5f4.js +78 -0
- package/picture-upload-widget-bcef9cc8.js +99 -0
- package/progress-widget-f515a118.js +49 -0
- package/propresult-e424ed73.js +22 -0
- package/radio-widget-78f9cab9.js +76 -0
- package/range-widget-904ed0d6.js +71 -0
- package/rate-widget-efdab26c.js +53 -0
- package/render.es.js +4434 -0
- package/render.style.css +11 -0
- package/render.umd.js +160496 -0
- package/result-widget-b1688641.js +64 -0
- package/rich-editor-widget-f1bb90c7.js +74 -0
- package/router-widget-920b11e4.js +51 -0
- package/select-widget-f3a43687.js +285 -0
- package/sfc-b5fb0bca.js +2568 -0
- package/share-field-9834aef6.js +688 -0
- package/share-file-329736c4.js +121 -0
- package/slider-widget-5146c0c3.js +59 -0
- package/slot-c6523e8c.js +17 -0
- package/static-text-widget-307cd047.js +48 -0
- package/steps-widget-70c08c51.js +88 -0
- package/subMenu-widget-c1a614ad.js +16 -0
- package/subMenu-widget.vue_vue_type_script_setup_true_lang-1896e25e.js +69 -0
- package/switch-widget-a103faaa.js +53 -0
- package/tab-pane-widget-e7c83114.js +8 -0
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-12fa9f12.js +35 -0
- package/table-col-widget-f177b82e.js +20 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5a1b4f92.js +80 -0
- package/table-widget-500902fd.js +160 -0
- package/tabs-widget-5e612fc0.js +68 -0
- package/tag-widget-8b945443.js +35 -0
- package/template-9ade074e.js +251730 -0
- package/text-widget-0d93ae9a.js +35 -0
- package/textarea-widget-d2464e70.js +53 -0
- package/time-picker-range-widget-7d92f5f0.js +55 -0
- package/time-picker-widget-3e0cc2c5.js +54 -0
- package/time-select-widget-b0b17501.js +54 -0
- package/tmpl-widget-b2402ddc.js +89 -0
- package/tree-select-widget-13f054e9.js +91 -0
- package/tree-widget-8bee698c.js +87 -0
- package/uuid-b302db3f.js +192 -0
- package/vue3-sfc-loader-b70bdce4.js +34688 -0
- package/widget-base-4c2d6265.js +27 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js +277 -0
- package/wrapper-widget-4d87e124.js +78 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
|
+
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js";
|
|
4
|
+
import { w as d } from "./template-9ade074e.js";
|
|
5
|
+
import { b as _ } from "./share-field-9834aef6.js";
|
|
6
|
+
import "./widget-base-4c2d6265.js";
|
|
7
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
8
|
+
import "./uuid-b302db3f.js";
|
|
9
|
+
import "./enum-type-be3a0b8b.js";
|
|
10
|
+
import "./index-fa19f5d9.js";
|
|
11
|
+
import "./enum-type-92806e9d.js";
|
|
12
|
+
import "./baseImp-70f1a9c5.js";
|
|
13
|
+
import "./icon-e9532b43.js";
|
|
14
|
+
import "./dialog-333d3421.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./index-f54403db.js";
|
|
18
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
+
import "./slot-c6523e8c.js";
|
|
20
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js";
|
|
21
|
+
import "./multirow-3ade8c6e.js";
|
|
22
|
+
const u = o({ componentName: d.FieldWidget }), D = /* @__PURE__ */ o({
|
|
23
|
+
...u,
|
|
24
|
+
__name: "text-widget",
|
|
25
|
+
props: { ...l },
|
|
26
|
+
setup(t, { expose: r }) {
|
|
27
|
+
const p = t, { exposed: e, fieldObj: m } = _(p);
|
|
28
|
+
return r({ ...e }), (i, g) => (s(), n(c, a(i.$props, {
|
|
29
|
+
propOptions: { elementName: "el-text", fieldObj: f(m) }
|
|
30
|
+
}), null, 16, ["propOptions"]));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
D as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as s, resolveComponent as E, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
|
|
2
|
+
import { b } from "./share-field-9834aef6.js";
|
|
3
|
+
import { I as v } from "./field-base-5547436d.js";
|
|
4
|
+
import I from "./form-item-wrapper-849d8a21.js";
|
|
5
|
+
import { w as M } from "./template-9ade074e.js";
|
|
6
|
+
import "./enum-type-be3a0b8b.js";
|
|
7
|
+
import "./multirow-3ade8c6e.js";
|
|
8
|
+
import "./baseImp-70f1a9c5.js";
|
|
9
|
+
import "./uuid-b302db3f.js";
|
|
10
|
+
import "./enum-type-92806e9d.js";
|
|
11
|
+
import "./icon-e9532b43.js";
|
|
12
|
+
import "./dialog-333d3421.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./index-fa19f5d9.js";
|
|
16
|
+
import "./slot-c6523e8c.js";
|
|
17
|
+
import "./widget-base-4c2d6265.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
22
|
+
const B = s({ componentName: M.FieldWidget }), Z = /* @__PURE__ */ s({
|
|
23
|
+
...B,
|
|
24
|
+
__name: "textarea-widget",
|
|
25
|
+
props: { ...v },
|
|
26
|
+
setup(l, { expose: n }) {
|
|
27
|
+
const a = l, { fieldEditor: d, fieldKey: f, fieldModel: r, rules: u, attrs: c, events: _, exposed: y, isError: g, errorMsg: x, fieldObj: j } = b(a);
|
|
28
|
+
return n({ ...y }), (k, o) => {
|
|
29
|
+
const w = E("el-input");
|
|
30
|
+
return p(), i(I, m(k.$props, {
|
|
31
|
+
propOptions: { fieldObj: e(j), rules: e(u), isError: e(g), errorMsg: e(x) }
|
|
32
|
+
}), {
|
|
33
|
+
default: F(({ data: t }) => [
|
|
34
|
+
(p(), i(w, m({
|
|
35
|
+
type: "textarea",
|
|
36
|
+
ref_key: "fieldEditor",
|
|
37
|
+
ref: d,
|
|
38
|
+
modelValue: e(r),
|
|
39
|
+
"onUpdate:modelValue": o[0] || (o[0] = (C) => O(r) ? r.value = C : null),
|
|
40
|
+
key: e(f)
|
|
41
|
+
}, e(c), V(e(_)), {
|
|
42
|
+
class: t.injectClass,
|
|
43
|
+
style: t.injectStyle
|
|
44
|
+
}), null, 16, ["modelValue", "class", "style"]))
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}, 16, ["propOptions"]);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
Z as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as n, resolveComponent as E, openBlock as l, createBlock as p, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
|
|
2
|
+
import { a as m } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { I as b } from "./field-base-5547436d.js";
|
|
4
|
+
import { b as v } from "./share-field-9834aef6.js";
|
|
5
|
+
import x from "./form-item-wrapper-849d8a21.js";
|
|
6
|
+
import { w as z } from "./template-9ade074e.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./multirow-3ade8c6e.js";
|
|
9
|
+
import "./baseImp-70f1a9c5.js";
|
|
10
|
+
import "./uuid-b302db3f.js";
|
|
11
|
+
import "./enum-type-92806e9d.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./dialog-333d3421.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./index-fa19f5d9.js";
|
|
17
|
+
import "./slot-c6523e8c.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
22
|
+
const I = n({ componentName: z.FieldWidget }), ee = /* @__PURE__ */ n({
|
|
23
|
+
...I,
|
|
24
|
+
__name: "time-picker-range-widget",
|
|
25
|
+
props: { ...b },
|
|
26
|
+
setup(d, { expose: a }) {
|
|
27
|
+
const c = d, { fieldEditor: f, fieldKey: u, fieldModel: r, rules: _, events: h, attrs: o, exposed: g, isError: k, errorMsg: y, fieldObj: P } = v(c);
|
|
28
|
+
return a({ ...g }), (j, i) => {
|
|
29
|
+
const w = E("el-time-picker");
|
|
30
|
+
return l(), p(x, s(j.$props, {
|
|
31
|
+
propOptions: { fieldObj: e(P), rules: e(_), isError: e(k), errorMsg: e(y) }
|
|
32
|
+
}), {
|
|
33
|
+
default: F(({ data: t }) => [
|
|
34
|
+
(l(), p(w, s({
|
|
35
|
+
ref_key: "fieldEditor",
|
|
36
|
+
ref: f,
|
|
37
|
+
modelValue: e(r),
|
|
38
|
+
"onUpdate:modelValue": i[0] || (i[0] = (C) => O(r) ? r.value = C : null),
|
|
39
|
+
key: e(u)
|
|
40
|
+
}, e(o), V(e(h)), {
|
|
41
|
+
size: t.size,
|
|
42
|
+
class: t.injectClass,
|
|
43
|
+
style: t.injectStyle,
|
|
44
|
+
"start-placeholder": e(o).startPlaceholder || e(m).i18nt("render.hint.startTimePlaceholder"),
|
|
45
|
+
"end-placeholder": e(o).endPlaceholder || e(m).i18nt("render.hint.endTimePlaceholder")
|
|
46
|
+
}), null, 16, ["modelValue", "size", "class", "style", "start-placeholder", "end-placeholder"]))
|
|
47
|
+
]),
|
|
48
|
+
_: 1
|
|
49
|
+
}, 16, ["propOptions"]);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export {
|
|
54
|
+
ee as default
|
|
55
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent as s, resolveComponent as E, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
|
|
2
|
+
import { a as b } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { b as v } from "./share-field-9834aef6.js";
|
|
4
|
+
import { I as x } from "./field-base-5547436d.js";
|
|
5
|
+
import z from "./form-item-wrapper-849d8a21.js";
|
|
6
|
+
import { w as I } from "./template-9ade074e.js";
|
|
7
|
+
import "./multirow-3ade8c6e.js";
|
|
8
|
+
import "./baseImp-70f1a9c5.js";
|
|
9
|
+
import "./uuid-b302db3f.js";
|
|
10
|
+
import "./enum-type-92806e9d.js";
|
|
11
|
+
import "./icon-e9532b43.js";
|
|
12
|
+
import "./dialog-333d3421.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./index-fa19f5d9.js";
|
|
16
|
+
import "./slot-c6523e8c.js";
|
|
17
|
+
import "./widget-base-4c2d6265.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
22
|
+
const M = s({ componentName: I.FieldWidget }), ee = /* @__PURE__ */ s({
|
|
23
|
+
...M,
|
|
24
|
+
__name: "time-picker-widget",
|
|
25
|
+
props: { ...x },
|
|
26
|
+
setup(n, { expose: d }) {
|
|
27
|
+
const a = n, { fieldEditor: f, fieldKey: c, fieldModel: r, rules: u, attrs: t, events: _, exposed: k, isError: g, errorMsg: y, fieldObj: h } = v(a);
|
|
28
|
+
return d({ ...k }), (j, i) => {
|
|
29
|
+
const w = E("el-time-picker");
|
|
30
|
+
return p(), l(z, m(j.$props, {
|
|
31
|
+
propOptions: { fieldObj: e(h), rules: e(u), isError: e(g), errorMsg: e(y) }
|
|
32
|
+
}), {
|
|
33
|
+
default: F(({ data: o }) => [
|
|
34
|
+
(p(), l(w, m({
|
|
35
|
+
ref_key: "fieldEditor",
|
|
36
|
+
ref: f,
|
|
37
|
+
modelValue: e(r),
|
|
38
|
+
"onUpdate:modelValue": i[0] || (i[0] = (C) => O(r) ? r.value = C : null),
|
|
39
|
+
key: e(c)
|
|
40
|
+
}, e(t), V(e(_)), {
|
|
41
|
+
size: o.size,
|
|
42
|
+
class: o.injectClass,
|
|
43
|
+
style: o.injectStyle,
|
|
44
|
+
placeholder: e(t).placeholder || e(b).i18nt("render.hint.timePlaceholder")
|
|
45
|
+
}), null, 16, ["modelValue", "size", "class", "style", "placeholder"]))
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 16, ["propOptions"]);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
ee as default
|
|
54
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent as m, resolveComponent as E, openBlock as l, createBlock as p, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
|
|
2
|
+
import { a as b } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { b as v } from "./share-field-9834aef6.js";
|
|
4
|
+
import { I as x } from "./field-base-5547436d.js";
|
|
5
|
+
import z from "./form-item-wrapper-849d8a21.js";
|
|
6
|
+
import { w as I } from "./template-9ade074e.js";
|
|
7
|
+
import "./multirow-3ade8c6e.js";
|
|
8
|
+
import "./baseImp-70f1a9c5.js";
|
|
9
|
+
import "./uuid-b302db3f.js";
|
|
10
|
+
import "./enum-type-92806e9d.js";
|
|
11
|
+
import "./icon-e9532b43.js";
|
|
12
|
+
import "./dialog-333d3421.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./index-fa19f5d9.js";
|
|
16
|
+
import "./slot-c6523e8c.js";
|
|
17
|
+
import "./widget-base-4c2d6265.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
22
|
+
const M = m({ componentName: I.FieldWidget }), ee = /* @__PURE__ */ m({
|
|
23
|
+
...M,
|
|
24
|
+
__name: "time-select-widget",
|
|
25
|
+
props: { ...x },
|
|
26
|
+
setup(n, { expose: d }) {
|
|
27
|
+
const a = n, { fieldEditor: f, fieldKey: c, fieldModel: r, rules: u, attrs: t, events: _, exposed: g, isError: y, errorMsg: h, fieldObj: j } = v(a);
|
|
28
|
+
return d({ ...g }), (k, i) => {
|
|
29
|
+
const w = E("el-time-select");
|
|
30
|
+
return l(), p(z, s(k.$props, {
|
|
31
|
+
propOptions: { fieldObj: e(j), rules: e(u), isError: e(y), errorMsg: e(h) }
|
|
32
|
+
}), {
|
|
33
|
+
default: F(({ data: o }) => [
|
|
34
|
+
(l(), p(w, s({
|
|
35
|
+
ref_key: "fieldEditor",
|
|
36
|
+
ref: f,
|
|
37
|
+
modelValue: e(r),
|
|
38
|
+
"onUpdate:modelValue": i[0] || (i[0] = (C) => O(r) ? r.value = C : null),
|
|
39
|
+
key: e(c)
|
|
40
|
+
}, e(t), V(e(_)), {
|
|
41
|
+
size: o.size,
|
|
42
|
+
class: o.injectClass,
|
|
43
|
+
style: o.injectStyle,
|
|
44
|
+
placeholder: e(t).placeholder || e(b).i18nt("render.hint.timePlaceholder")
|
|
45
|
+
}), null, 16, ["modelValue", "size", "class", "style", "placeholder"]))
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 16, ["propOptions"]);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
ee as default
|
|
54
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent as F, computed as I, ref as j, onMounted as L, resolveDirective as M, openBlock as a, createBlock as d, mergeProps as u, unref as o, withCtx as P, createElementBlock as n, Fragment as c, withDirectives as R, renderList as T, createTextVNode as z, toDisplayString as A } from "vue";
|
|
2
|
+
import { a as E, l as J, f as q } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { b as H } from "./share-field-9834aef6.js";
|
|
5
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-227f198f.js";
|
|
7
|
+
import { i as Q, a as U } from "./slot-c6523e8c.js";
|
|
8
|
+
import { d as X } from "./multirow-3ade8c6e.js";
|
|
9
|
+
import { b as Y } from "./template-9ade074e.js";
|
|
10
|
+
import { k as Z } from "./uuid-b302db3f.js";
|
|
11
|
+
import { _ as ee } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./baseImp-70f1a9c5.js";
|
|
14
|
+
import "./enum-type-92806e9d.js";
|
|
15
|
+
import "./dialog-333d3421.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "./index-fa19f5d9.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
const te = { key: 0 }, oe = /* @__PURE__ */ F({
|
|
21
|
+
__name: "tmpl-widget",
|
|
22
|
+
props: {
|
|
23
|
+
...G
|
|
24
|
+
},
|
|
25
|
+
setup(h, { expose: y }) {
|
|
26
|
+
const f = h, { slots: g, exposed: D, attrs: s, fieldObj: k, events: S, watchOption: $, fieldName: x } = H(f), O = I(() => Q(g.value)), { getSlotFromData: V, emit$: b, rowsData: p, getValue: C, setValue: N } = X({
|
|
27
|
+
...f,
|
|
28
|
+
fieldName: x.value
|
|
29
|
+
}), _ = (e) => (J(e) && (e = q(e)), N(Z(e, !0), (r) => W(r))), l = j(!1), w = (e = !1) => {
|
|
30
|
+
$(e, Y.data, () => {
|
|
31
|
+
l.value = !0;
|
|
32
|
+
}, (r) => {
|
|
33
|
+
var t, i;
|
|
34
|
+
_(r), setTimeout(() => {
|
|
35
|
+
l.value = !1;
|
|
36
|
+
}, 1e3), (i = (t = S.value) == null ? void 0 : t.completed) == null || i.call(t, r);
|
|
37
|
+
});
|
|
38
|
+
}, W = (e) => {
|
|
39
|
+
var t;
|
|
40
|
+
const r = (t = s == null ? void 0 : s.value) != null && t.alwaysShow ? [{}] : null;
|
|
41
|
+
return V(g.value, e || r);
|
|
42
|
+
};
|
|
43
|
+
return L(() => {
|
|
44
|
+
w(!0);
|
|
45
|
+
}), y({
|
|
46
|
+
...D,
|
|
47
|
+
refresh: w,
|
|
48
|
+
emit$: b,
|
|
49
|
+
setValue: _,
|
|
50
|
+
getValue: C
|
|
51
|
+
}), (e, r) => {
|
|
52
|
+
const t = M("loading");
|
|
53
|
+
return a(), d(K, u(e.$props, {
|
|
54
|
+
"prop-options": { fieldObj: o(k) },
|
|
55
|
+
"show-wrapper-component": !0
|
|
56
|
+
}), {
|
|
57
|
+
default: P(() => {
|
|
58
|
+
var i;
|
|
59
|
+
return [
|
|
60
|
+
e.designState ? (a(), d(v, u({ key: 0 }, e.$props, {
|
|
61
|
+
widget: o(U)(o(O), "row"),
|
|
62
|
+
dragClass: "dragSize"
|
|
63
|
+
}), null, 16, ["widget"])) : (a(), n(c, { key: 1 }, [
|
|
64
|
+
o(p) && ((i = o(p)) == null ? void 0 : i.length) > 0 ? R((a(), n("div", te, [
|
|
65
|
+
(a(!0), n(c, null, T(o(p), (m, B) => (a(), d(v, u({
|
|
66
|
+
key: m.id
|
|
67
|
+
}, e.$props, {
|
|
68
|
+
widget: m.widget[0],
|
|
69
|
+
componentName: "div",
|
|
70
|
+
"row-scope": { row: m.data, $index: B },
|
|
71
|
+
componentClass: "flex full-width"
|
|
72
|
+
}), null, 16, ["widget", "row-scope"]))), 128))
|
|
73
|
+
])), [
|
|
74
|
+
[t, o(s).showLoading && l.value]
|
|
75
|
+
]) : (a(), n(c, { key: 1 }, [
|
|
76
|
+
z(A(o(s).noData || o(E).i18nt("designer.hint.noData")), 1)
|
|
77
|
+
], 64))
|
|
78
|
+
], 64))
|
|
79
|
+
];
|
|
80
|
+
}),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 16, ["prop-options"]);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
const ke = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-44a7df8e"]]);
|
|
87
|
+
export {
|
|
88
|
+
ke as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent as E, computed as r, resolveComponent as R, openBlock as n, createBlock as d, mergeProps as P, unref as o, withCtx as f, isRef as U, toHandlers as $, createSlots as q, resolveDynamicComponent as x, createCommentVNode as V } from "vue";
|
|
2
|
+
import { I as G } from "./field-base-5547436d.js";
|
|
3
|
+
import { b as J } from "./share-field-9834aef6.js";
|
|
4
|
+
import Q from "./form-item-wrapper-849d8a21.js";
|
|
5
|
+
import { b as a, w as T } from "./template-9ade074e.js";
|
|
6
|
+
import { s as i } from "./enum-type-be3a0b8b.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./multirow-3ade8c6e.js";
|
|
9
|
+
import "./baseImp-70f1a9c5.js";
|
|
10
|
+
import "./uuid-b302db3f.js";
|
|
11
|
+
import "./enum-type-92806e9d.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./dialog-333d3421.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./index-fa19f5d9.js";
|
|
17
|
+
import "./slot-c6523e8c.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
22
|
+
const X = E({ componentName: T.FieldWidget }), ke = /* @__PURE__ */ E({
|
|
23
|
+
...X,
|
|
24
|
+
__name: "tree-select-widget",
|
|
25
|
+
props: { ...G },
|
|
26
|
+
setup(N, { expose: j }) {
|
|
27
|
+
var h;
|
|
28
|
+
const w = N, { fieldEditor: F, fieldKey: I, fieldModel: y, attrs: m, extendAttrs: l, events: z, exposed: S, activeOptionItem: _, optionItems: W, activeOptionItems: v, fieldObj: B, getCheckedItems: D, getWidgetOption: K, filterOptionItems: L } = J(w), O = r(() => {
|
|
29
|
+
var t, u, p, s, c;
|
|
30
|
+
let e = {};
|
|
31
|
+
return i(e, a.label, (t = l.value) == null ? void 0 : t.labelProp, !0), i(e, a.children, (u = l.value) == null ? void 0 : u.childrenProp, !0), i(e, a.disabled, (p = l.value) == null ? void 0 : p.disabledProp, !0), i(e, a.isLeaf, (s = l.value) == null ? void 0 : s.isLeafProp, !0), i(e, a.class, (c = l.value) == null ? void 0 : c.classProp, !0), e;
|
|
32
|
+
}), k = (h = m == null ? void 0 : m.value) == null ? void 0 : h.nodeKey, A = r(() => {
|
|
33
|
+
var e;
|
|
34
|
+
return (e = v == null ? void 0 : v.value) == null ? void 0 : e.map((t) => String(t == null ? void 0 : t[k]));
|
|
35
|
+
}), H = r(() => {
|
|
36
|
+
var e;
|
|
37
|
+
return (e = _ == null ? void 0 : _.value) == null ? void 0 : e[k];
|
|
38
|
+
}), M = r(() => {
|
|
39
|
+
var e;
|
|
40
|
+
return (e = L((t) => !!(t != null && t.isopen))) == null ? void 0 : e.map((t) => t == null ? void 0 : t[k]);
|
|
41
|
+
}), C = r(() => K("optionDefault")), b = r(() => K("empty")), g = r(() => K("prefix"));
|
|
42
|
+
return j({ ...S, getCheckedItems: D }), (e, t) => {
|
|
43
|
+
const u = R("el-tree-select");
|
|
44
|
+
return n(), d(Q, P(e.$props, {
|
|
45
|
+
"prop-options": { fieldObj: o(B) }
|
|
46
|
+
}), {
|
|
47
|
+
default: f(({ data: p }) => [
|
|
48
|
+
(n(), d(u, P({
|
|
49
|
+
ref_key: "fieldEditor",
|
|
50
|
+
ref: F,
|
|
51
|
+
modelValue: o(y),
|
|
52
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => U(y) ? y.value = s : null),
|
|
53
|
+
key: o(I)
|
|
54
|
+
}, o(m), $(o(z)), {
|
|
55
|
+
class: p.injectClass,
|
|
56
|
+
style: p.injectStyle,
|
|
57
|
+
data: o(W),
|
|
58
|
+
props: o(O),
|
|
59
|
+
size: p.size,
|
|
60
|
+
defaultCheckedKeys: o(A),
|
|
61
|
+
defaultExpandedKeys: o(M),
|
|
62
|
+
currentNodeKey: o(H)
|
|
63
|
+
}), q({
|
|
64
|
+
default: f(({ node: s, data: c }) => [
|
|
65
|
+
o(C) ? (n(), d(x(o(C)), {
|
|
66
|
+
key: 0,
|
|
67
|
+
item: { node: s, data: c }
|
|
68
|
+
}, null, 8, ["item"])) : V("", !0)
|
|
69
|
+
]),
|
|
70
|
+
prefix: f(() => [
|
|
71
|
+
o(g) ? (n(), d(x(o(g)), { key: 0 })) : V("", !0)
|
|
72
|
+
]),
|
|
73
|
+
_: 2
|
|
74
|
+
}, [
|
|
75
|
+
o(b) ? {
|
|
76
|
+
name: "empty",
|
|
77
|
+
fn: f(() => [
|
|
78
|
+
(n(), d(x(o(b))))
|
|
79
|
+
]),
|
|
80
|
+
key: "0"
|
|
81
|
+
} : void 0
|
|
82
|
+
]), 1040, ["modelValue", "class", "style", "data", "props", "size", "defaultCheckedKeys", "defaultExpandedKeys", "currentNodeKey"]))
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}, 16, ["prop-options"]);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
export {
|
|
90
|
+
ke as default
|
|
91
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent as h, computed as l, resolveComponent as $, openBlock as m, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
|
+
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
+
import { b as U } from "./share-field-9834aef6.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
5
|
+
import { b as n, w as G } from "./template-9ade074e.js";
|
|
6
|
+
import { s as a } from "./enum-type-be3a0b8b.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./multirow-3ade8c6e.js";
|
|
9
|
+
import "./baseImp-70f1a9c5.js";
|
|
10
|
+
import "./uuid-b302db3f.js";
|
|
11
|
+
import "./enum-type-92806e9d.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./dialog-333d3421.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./index-fa19f5d9.js";
|
|
17
|
+
import "./slot-c6523e8c.js";
|
|
18
|
+
import "./index-f54403db.js";
|
|
19
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
+
const J = h({ componentName: G.FieldWidget }), ce = /* @__PURE__ */ h({
|
|
21
|
+
...J,
|
|
22
|
+
__name: "tree-widget",
|
|
23
|
+
props: { ...R },
|
|
24
|
+
setup(V, { expose: E }) {
|
|
25
|
+
var g;
|
|
26
|
+
const j = V, { fieldEditor: w, fieldKey: N, fieldModel: c, attrs: d, extendAttrs: p, events: z, activeOptionItem: y, optionItems: F, fieldObj: S, getWidgetOption: k, filterOptionItems: B, exposed: D, activeOptionItems: _ } = U(j), I = l(() => {
|
|
27
|
+
var o, i, r, s, u;
|
|
28
|
+
let e = {};
|
|
29
|
+
return a(e, n.label, (o = p.value) == null ? void 0 : o.labelProp, !0), a(e, n.children, (i = p.value) == null ? void 0 : i.childrenProp, !0), a(e, n.disabled, (r = p.value) == null ? void 0 : r.disabledProp, !0), a(e, n.isLeaf, (s = p.value) == null ? void 0 : s.isLeafProp, !0), a(e, n.class, (u = p.value) == null ? void 0 : u.classProp, !0), e;
|
|
30
|
+
}), v = (g = d == null ? void 0 : d.value) == null ? void 0 : g.nodeKey, L = l(() => {
|
|
31
|
+
var e;
|
|
32
|
+
return (e = _ == null ? void 0 : _.value) == null ? void 0 : e.map((o) => String(o == null ? void 0 : o[v]));
|
|
33
|
+
}), O = l(() => {
|
|
34
|
+
var e;
|
|
35
|
+
return (e = y == null ? void 0 : y.value) == null ? void 0 : e[v];
|
|
36
|
+
}), W = l(() => {
|
|
37
|
+
var e;
|
|
38
|
+
return (e = B((o) => !!(o != null && o.isopen))) == null ? void 0 : e.map((o) => o == null ? void 0 : o[v]);
|
|
39
|
+
}), b = l(() => k("optionDefault")), C = l(() => k("empty"));
|
|
40
|
+
return E({ ...D }), (e, o) => {
|
|
41
|
+
const i = $("el-tree");
|
|
42
|
+
return m(), f(q, x(e.$props, {
|
|
43
|
+
"prop-optiions": { fieldObj: t(S) }
|
|
44
|
+
}), {
|
|
45
|
+
default: K(({ data: r }) => [
|
|
46
|
+
(m(), f(i, x({
|
|
47
|
+
ref_key: "fieldEditor",
|
|
48
|
+
ref: w,
|
|
49
|
+
modelValue: t(c),
|
|
50
|
+
"onUpdate:modelValue": o[0] || (o[0] = (s) => A(c) ? c.value = s : null),
|
|
51
|
+
key: t(N)
|
|
52
|
+
}, t(d), H(t(z)), {
|
|
53
|
+
class: r.injectClass,
|
|
54
|
+
style: r.injectStyle,
|
|
55
|
+
data: t(F),
|
|
56
|
+
props: t(I),
|
|
57
|
+
size: r.size,
|
|
58
|
+
defaultCheckedKeys: t(L),
|
|
59
|
+
defaultExpandedKeys: t(W),
|
|
60
|
+
currentNodeKey: t(O)
|
|
61
|
+
}), M({ _: 2 }, [
|
|
62
|
+
t(C) ? {
|
|
63
|
+
name: "empty",
|
|
64
|
+
fn: K(() => [
|
|
65
|
+
(m(), f(P(t(C))))
|
|
66
|
+
]),
|
|
67
|
+
key: "0"
|
|
68
|
+
} : void 0,
|
|
69
|
+
t(b) ? {
|
|
70
|
+
name: "default",
|
|
71
|
+
fn: K(({ node: s, data: u }) => [
|
|
72
|
+
(m(), f(P(t(b)), {
|
|
73
|
+
item: { node: s, data: u }
|
|
74
|
+
}, null, 8, ["item"]))
|
|
75
|
+
]),
|
|
76
|
+
key: "1"
|
|
77
|
+
} : void 0
|
|
78
|
+
]), 1040, ["modelValue", "class", "style", "data", "props", "size", "defaultCheckedKeys", "defaultExpandedKeys", "currentNodeKey"]))
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
}, 16, ["prop-optiions"]);
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
export {
|
|
86
|
+
ce as default
|
|
87
|
+
};
|