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,76 @@
|
|
|
1
|
+
import { defineComponent as b, computed as l, resolveComponent as M, openBlock as s, createBlock as d, mergeProps as y, unref as e, withCtx as a, isRef as L, toHandlers as N, createElementBlock as P, Fragment as T, renderList as W, resolveDynamicComponent as A, normalizeStyle as H, createTextVNode as R, toDisplayString as U } from "vue";
|
|
2
|
+
import { I as $ } from "./field-base-5547436d.js";
|
|
3
|
+
import { b as q } from "./share-field-9834aef6.js";
|
|
4
|
+
import G from "./form-item-wrapper-849d8a21.js";
|
|
5
|
+
import { w as J } from "./template-9ade074e.js";
|
|
6
|
+
import { c as f } from "./uuid-b302db3f.js";
|
|
7
|
+
import { D as Q } from "./enum-type-92806e9d.js";
|
|
8
|
+
import "./widget-base-4c2d6265.js";
|
|
9
|
+
import "./enum-type-be3a0b8b.js";
|
|
10
|
+
import "./multirow-3ade8c6e.js";
|
|
11
|
+
import "./baseImp-70f1a9c5.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 = b({ componentName: J.FieldWidget }), ge = /* @__PURE__ */ b({
|
|
23
|
+
...X,
|
|
24
|
+
__name: "checkbox-widget",
|
|
25
|
+
props: { ...$ },
|
|
26
|
+
setup(_, { expose: k }) {
|
|
27
|
+
const g = _, { fieldEditor: v, fieldKey: x, fieldModel: i, rules: z, attrs: r, extendAttrs: p, events: S, optionItems: h, getCheckedItems: C, exposed: E, isError: F, errorMsg: I, fieldObj: V } = q(g), j = l(() => r.value.border), w = l(() => r.value.disabled), D = l(() => r.value.buttonStyle), n = l(() => p.value.displayStyle);
|
|
28
|
+
return k({ ...E, getCheckedItems: C }), (O, m) => {
|
|
29
|
+
const B = M("el-checkbox-group");
|
|
30
|
+
return s(), d(G, y(O.$props, {
|
|
31
|
+
propOptions: { fieldObj: e(V), rules: e(z), isError: e(F), errorMsg: e(I) }
|
|
32
|
+
}), {
|
|
33
|
+
default: a(({ data: t }) => [
|
|
34
|
+
(s(), d(B, y({
|
|
35
|
+
ref_key: "fieldEditor",
|
|
36
|
+
ref: v,
|
|
37
|
+
modelValue: e(i),
|
|
38
|
+
"onUpdate:modelValue": m[0] || (m[0] = (o) => L(i) ? i.value = o : null),
|
|
39
|
+
key: e(x)
|
|
40
|
+
}, e(r), N(e(S)), {
|
|
41
|
+
size: t.size,
|
|
42
|
+
class: t.injectClass,
|
|
43
|
+
style: { ...t.injectStyle, display: e(n) }
|
|
44
|
+
}), {
|
|
45
|
+
default: a(() => [
|
|
46
|
+
(s(!0), P(T, null, W(e(h), (o, K) => {
|
|
47
|
+
var c;
|
|
48
|
+
return s(), d(A(e(D) ? "el-checkbox-button" : "el-checkbox"), {
|
|
49
|
+
key: K,
|
|
50
|
+
size: t.size,
|
|
51
|
+
value: o == null ? void 0 : o[(c = e(p)) == null ? void 0 : c.valueKey],
|
|
52
|
+
disabled: e(w) || e(f)(o).disabled,
|
|
53
|
+
style: H({ display: e(n) === e(Q).inline ? "" : e(n) }),
|
|
54
|
+
border: e(j) || e(f)(o).border
|
|
55
|
+
}, {
|
|
56
|
+
default: a(() => {
|
|
57
|
+
var u;
|
|
58
|
+
return [
|
|
59
|
+
R(U(o == null ? void 0 : o[(u = e(p)) == null ? void 0 : u.labelKey]), 1)
|
|
60
|
+
];
|
|
61
|
+
}),
|
|
62
|
+
_: 2
|
|
63
|
+
}, 1032, ["size", "value", "disabled", "style", "border"]);
|
|
64
|
+
}), 128))
|
|
65
|
+
]),
|
|
66
|
+
_: 2
|
|
67
|
+
}, 1040, ["modelValue", "size", "class", "style"]))
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 16, ["propOptions"]);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
ge as default
|
|
76
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineComponent as g, computed as G, ref as S, resolveComponent as f, openBlock as s, createBlock as r, mergeProps as i, unref as l, withCtx as p, toHandlers as $, isRef as D, createElementBlock as H, Fragment as K, renderList as L, resolveDynamicComponent as _ } from "vue";
|
|
2
|
+
import { I as N } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
4
|
+
import { b as U } from "./share-field-9834aef6.js";
|
|
5
|
+
import { w as h } from "./template-9ade074e.js";
|
|
6
|
+
import { G as q, b as z } from "./baseImp-70f1a9c5.js";
|
|
7
|
+
import { u as A } from "./propresult-e424ed73.js";
|
|
8
|
+
import { u as J } from "./icon-e9532b43.js";
|
|
9
|
+
import "./widget-base-4c2d6265.js";
|
|
10
|
+
import "./uuid-b302db3f.js";
|
|
11
|
+
import "./enum-type-be3a0b8b.js";
|
|
12
|
+
import "./index-fa19f5d9.js";
|
|
13
|
+
import "./enum-type-92806e9d.js";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./index-f54403db.js";
|
|
16
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
import "./multirow-3ade8c6e.js";
|
|
18
|
+
import "./slot-c6523e8c.js";
|
|
19
|
+
import "./dialog-333d3421.js";
|
|
20
|
+
import "element-plus";
|
|
21
|
+
const M = g({ componentName: h.FieldWidget }), ge = /* @__PURE__ */ g({
|
|
22
|
+
...M,
|
|
23
|
+
__name: "collapse-widget",
|
|
24
|
+
props: { ...N },
|
|
25
|
+
setup(v, { expose: y }) {
|
|
26
|
+
const a = v, { fieldEditor: F, fieldKey: V, attrs: x, events: b, optionItems: k, exposed: C, activeOptionItems: w, fieldObj: I } = U(a), n = G({
|
|
27
|
+
get: () => {
|
|
28
|
+
var o;
|
|
29
|
+
return c.value || ((o = w.value) == null ? void 0 : o.map((t) => t == null ? void 0 : t.name));
|
|
30
|
+
},
|
|
31
|
+
set: (o) => {
|
|
32
|
+
c.value = o;
|
|
33
|
+
}
|
|
34
|
+
}), c = S(), P = () => n.value, j = (o) => {
|
|
35
|
+
c.value = o;
|
|
36
|
+
}, { instance: B } = J(), u = q({ instance: B }), { getPropResultForm: O } = A(a), m = (o) => {
|
|
37
|
+
const { getWidgetOptionByPropValue: t } = z(a.widget, O());
|
|
38
|
+
return t(o);
|
|
39
|
+
};
|
|
40
|
+
return y({ ...C, getValue: P, setValue: j }), (o, t) => {
|
|
41
|
+
const E = f("el-collapse-item"), R = f("el-collapse");
|
|
42
|
+
return s(), r(T, i(o.$props, {
|
|
43
|
+
"prop-options": { fieldObj: l(I) }
|
|
44
|
+
}), {
|
|
45
|
+
default: p(({ data: d }) => [
|
|
46
|
+
(s(), r(R, i({
|
|
47
|
+
ref_key: "fieldEditor",
|
|
48
|
+
ref: F,
|
|
49
|
+
key: l(V)
|
|
50
|
+
}, l(x), $(l(b)), {
|
|
51
|
+
modelValue: l(n),
|
|
52
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => D(n) ? n.value = e : null),
|
|
53
|
+
class: d.injectClass,
|
|
54
|
+
style: d.injectStyle
|
|
55
|
+
}), {
|
|
56
|
+
default: p(() => [
|
|
57
|
+
(s(!0), H(K, null, L(l(k), (e, W) => (s(), r(E, i(e, {
|
|
58
|
+
key: W,
|
|
59
|
+
name: e == null ? void 0 : e.name
|
|
60
|
+
}), {
|
|
61
|
+
title: p(() => [
|
|
62
|
+
(s(), r(_(m(e == null ? void 0 : e.slotTitle)), {
|
|
63
|
+
scope: e,
|
|
64
|
+
ctx: l(u)
|
|
65
|
+
}, null, 8, ["scope", "ctx"]))
|
|
66
|
+
]),
|
|
67
|
+
default: p(() => [
|
|
68
|
+
(s(), r(_(m(e == null ? void 0 : e.slotContent)), {
|
|
69
|
+
scope: e,
|
|
70
|
+
ctx: l(u)
|
|
71
|
+
}, null, 8, ["scope", "ctx"]))
|
|
72
|
+
]),
|
|
73
|
+
_: 2
|
|
74
|
+
}, 1040, ["name"]))), 128))
|
|
75
|
+
]),
|
|
76
|
+
_: 2
|
|
77
|
+
}, 1040, ["modelValue", "class", "style"]))
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
}, 16, ["prop-options"]);
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
ge as default
|
|
86
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as l, resolveComponent as F, openBlock as i, createBlock as p, mergeProps as s, unref as e, withCtx as O, isRef as V, toHandlers as b } from "vue";
|
|
2
|
+
import { I as v } from "./field-base-5547436d.js";
|
|
3
|
+
import { b as x } from "./share-field-9834aef6.js";
|
|
4
|
+
import z from "./form-item-wrapper-849d8a21.js";
|
|
5
|
+
import { w as I } from "./template-9ade074e.js";
|
|
6
|
+
import "./widget-base-4c2d6265.js";
|
|
7
|
+
import "./enum-type-be3a0b8b.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 M = l({ componentName: I.FieldWidget }), Z = /* @__PURE__ */ l({
|
|
23
|
+
...M,
|
|
24
|
+
__name: "color-picker-widget",
|
|
25
|
+
props: { ...v },
|
|
26
|
+
setup(m, { expose: n }) {
|
|
27
|
+
const d = m, { fieldEditor: f, fieldModel: o, fieldKey: c, rules: a, attrs: u, events: _, exposed: k, isError: g, errorMsg: y, fieldObj: j } = x(d);
|
|
28
|
+
return n({ ...k }), (w, t) => {
|
|
29
|
+
const C = F("el-color-picker");
|
|
30
|
+
return i(), p(z, s(w.$props, {
|
|
31
|
+
propOptions: { fieldObj: e(j), rules: e(a), isError: e(g), errorMsg: e(y) }
|
|
32
|
+
}), {
|
|
33
|
+
default: O(({ data: r }) => [
|
|
34
|
+
(i(), p(C, s({
|
|
35
|
+
ref_key: "fieldEditor",
|
|
36
|
+
ref: f,
|
|
37
|
+
modelValue: e(o),
|
|
38
|
+
"onUpdate:modelValue": t[0] || (t[0] = (E) => V(o) ? o.value = E : null),
|
|
39
|
+
key: e(c)
|
|
40
|
+
}, e(u), b(e(_)), {
|
|
41
|
+
size: r.size,
|
|
42
|
+
class: r.injectClass,
|
|
43
|
+
style: r.injectStyle
|
|
44
|
+
}), null, 16, ["modelValue", "size", "class", "style"]))
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}, 16, ["propOptions"]);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
Z as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { _ as e } from "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9aac0112.js";
|
|
2
|
+
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
|
+
__proto__: null,
|
|
4
|
+
default: e
|
|
5
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
6
|
+
export {
|
|
7
|
+
o as _
|
|
8
|
+
};
|
package/cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9aac0112.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineComponent as f, computed as V, openBlock as i, createBlock as r, resolveDynamicComponent as k, unref as t, normalizeClass as z, normalizeStyle as I, withCtx as N, renderSlot as B, createCommentVNode as D, createElementBlock as P, Fragment as F, renderList as $ } from "vue";
|
|
2
|
+
import { w as b } from "./template-9ade074e.js";
|
|
3
|
+
import { I as v } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { D as E } from "./drag-wrapper-227f198f.js";
|
|
5
|
+
import { P as s } from "./baseImp-70f1a9c5.js";
|
|
6
|
+
import { c as H } from "./multirow-3ade8c6e.js";
|
|
7
|
+
import { b as O } from "./share-field-9834aef6.js";
|
|
8
|
+
const j = f({ componentName: b.ContainerWidget }), q = /* @__PURE__ */ f({
|
|
9
|
+
...j,
|
|
10
|
+
__name: "cont-cell-widget",
|
|
11
|
+
props: { ...v },
|
|
12
|
+
setup(h, { expose: C }) {
|
|
13
|
+
const n = h, L = V(() => {
|
|
14
|
+
var e;
|
|
15
|
+
return `el-${s.getValue((e = n.widget) == null ? void 0 : e.partName)}`;
|
|
16
|
+
}), { customClass: S, componentWrapperClass: W } = H({ widget: { options: n.widget } }), { exposed: y } = O(n);
|
|
17
|
+
return C({ ...y }), (e, A) => {
|
|
18
|
+
var o, d, a;
|
|
19
|
+
return i(), r(k(t(L)), {
|
|
20
|
+
class: z(["content-cell", t(S)]),
|
|
21
|
+
direction: (o = e.widget) == null ? void 0 : o.direction,
|
|
22
|
+
style: I({ width: t(s).getValue((d = e.widget) == null ? void 0 : d.cellWidth), height: t(s).getValue((a = e.widget) == null ? void 0 : a.cellHeight), zIndex: 1e3 })
|
|
23
|
+
}, {
|
|
24
|
+
default: N(() => [
|
|
25
|
+
B(e.$slots, "default", {}, () => {
|
|
26
|
+
var g, l, p, m, c;
|
|
27
|
+
return [
|
|
28
|
+
((l = (g = e.widget) == null ? void 0 : g.children) == null ? void 0 : l.length) <= 0 ? (i(), r(E, {
|
|
29
|
+
key: 0,
|
|
30
|
+
widgetList: (p = e.widget) == null ? void 0 : p.widgetList,
|
|
31
|
+
designState: e.designState,
|
|
32
|
+
designer: e.designer,
|
|
33
|
+
dragClass: "dragSize2",
|
|
34
|
+
parentWidget: e.widget,
|
|
35
|
+
parentList: (m = e.widget) == null ? void 0 : m.widgetList,
|
|
36
|
+
"component-class": t(W)
|
|
37
|
+
}, null, 8, ["widgetList", "designState", "designer", "parentWidget", "parentList", "component-class"])) : D("", !0),
|
|
38
|
+
(i(!0), P(F, null, $((c = e.widget) == null ? void 0 : c.children, (w, G) => {
|
|
39
|
+
var u;
|
|
40
|
+
return i(), r(q, {
|
|
41
|
+
key: w.id,
|
|
42
|
+
widget: w,
|
|
43
|
+
designer: e.designer,
|
|
44
|
+
"design-state": e.designState,
|
|
45
|
+
"parent-list": (u = e.widget) == null ? void 0 : u.children,
|
|
46
|
+
"parent-widget": e.widget
|
|
47
|
+
}, null, 8, ["widget", "designer", "design-state", "parent-list", "parent-widget"]);
|
|
48
|
+
}), 128))
|
|
49
|
+
];
|
|
50
|
+
})
|
|
51
|
+
]),
|
|
52
|
+
_: 3
|
|
53
|
+
}, 8, ["direction", "class", "style"]);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
q as _
|
|
59
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as s, openBlock as t, createBlock as i, mergeProps as m, unref as c, withCtx as f, createElementBlock as u, Fragment as w, renderList as b } from "vue";
|
|
2
|
+
import { w as y, b as v } from "./template-9ade074e.js";
|
|
3
|
+
import { I as S } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { _ as h } from "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9aac0112.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
6
|
+
import { b as k } from "./share-field-9834aef6.js";
|
|
7
|
+
const O = s({ componentName: y.ContainerWidget }), P = /* @__PURE__ */ s({
|
|
8
|
+
...O,
|
|
9
|
+
__name: "cont-widget",
|
|
10
|
+
props: { ...S },
|
|
11
|
+
setup(p, { expose: a }) {
|
|
12
|
+
const d = p, { watchPropAndSaveHistoryStep: _, fieldObj: l, exposed: g } = k(d);
|
|
13
|
+
return _(v.cols), a({ ...g }), (e, B) => (t(), i(j, m(e.$props, {
|
|
14
|
+
"prop-options": { fieldObj: c(l) }
|
|
15
|
+
}), {
|
|
16
|
+
default: f(() => {
|
|
17
|
+
var o;
|
|
18
|
+
return [
|
|
19
|
+
(t(!0), u(w, null, b((o = e.widget) == null ? void 0 : o.cols, (r, C) => {
|
|
20
|
+
var n;
|
|
21
|
+
return t(), i(h, {
|
|
22
|
+
key: r.id,
|
|
23
|
+
widget: r,
|
|
24
|
+
designer: e.designer,
|
|
25
|
+
"design-state": e.designState,
|
|
26
|
+
"parent-list": (n = e.widget) == null ? void 0 : n.cols,
|
|
27
|
+
"parent-widget": e.widget
|
|
28
|
+
}, null, 8, ["widget", "designer", "design-state", "parent-list", "parent-widget"]);
|
|
29
|
+
}), 128))
|
|
30
|
+
];
|
|
31
|
+
}),
|
|
32
|
+
_: 1
|
|
33
|
+
}, 16, ["prop-options"]));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
const A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
|
+
__proto__: null,
|
|
38
|
+
default: P
|
|
39
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
40
|
+
export {
|
|
41
|
+
A as _
|
|
42
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { _ as o } from "./content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./template-9ade074e.js";
|
|
4
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
5
|
+
import "./enum-type-be3a0b8b.js";
|
|
6
|
+
import "./uuid-b302db3f.js";
|
|
7
|
+
import "./baseImp-70f1a9c5.js";
|
|
8
|
+
import "./enum-type-92806e9d.js";
|
|
9
|
+
import "./icon-e9532b43.js";
|
|
10
|
+
import "./dialog-333d3421.js";
|
|
11
|
+
import "element-plus";
|
|
12
|
+
export {
|
|
13
|
+
o as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as f, computed as d, unref as t, openBlock as n, createElementBlock as l, Fragment as m, createBlock as c, resolveDynamicComponent as r, normalizeClass as s, withCtx as k, createTextVNode as u, toDisplayString as p, createCommentVNode as y } from "vue";
|
|
2
|
+
import { z as C } from "./template-9ade074e.js";
|
|
3
|
+
import { P as N } from "./baseImp-70f1a9c5.js";
|
|
4
|
+
const T = /* @__PURE__ */ f({
|
|
5
|
+
__name: "content-wrapper",
|
|
6
|
+
props: {
|
|
7
|
+
componentName: { default: "span" },
|
|
8
|
+
allProps: null,
|
|
9
|
+
tohtml: { type: Boolean, default: !0 }
|
|
10
|
+
},
|
|
11
|
+
setup(e) {
|
|
12
|
+
const i = e, o = d(() => {
|
|
13
|
+
var a;
|
|
14
|
+
return N.getValue((a = i.allProps) == null ? void 0 : a.content);
|
|
15
|
+
});
|
|
16
|
+
return (a, P) => t(o) ? (n(), l(m, { key: 0 }, [
|
|
17
|
+
e.tohtml ? (n(), c(r(e.componentName), {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: s(e.allProps.customClass),
|
|
20
|
+
innerHTML: t(C)(t(o))
|
|
21
|
+
}, null, 8, ["class", "innerHTML"])) : e.componentName ? (n(), c(r(e.componentName), {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: s(e.allProps.customClass)
|
|
24
|
+
}, {
|
|
25
|
+
default: k(() => [
|
|
26
|
+
u(p(t(o)), 1)
|
|
27
|
+
]),
|
|
28
|
+
_: 1
|
|
29
|
+
}, 8, ["class"])) : (n(), l(m, { key: 2 }, [
|
|
30
|
+
u(p(t(o)), 1)
|
|
31
|
+
], 64))
|
|
32
|
+
], 64)) : y("", !0);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
T as _
|
|
37
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { defineComponent as c, computed as x, resolveComponent as z, openBlock as m, createBlock as a, mergeProps as d, unref as e, withCtx as D, isRef as I, toHandlers as K } from "vue";
|
|
2
|
+
import { a as n } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { I as M } from "./field-base-5547436d.js";
|
|
4
|
+
import { b as T } from "./share-field-9834aef6.js";
|
|
5
|
+
import B from "./form-item-wrapper-849d8a21.js";
|
|
6
|
+
import { w as W } from "./template-9ade074e.js";
|
|
7
|
+
import { m as H, c as N } from "./uuid-b302db3f.js";
|
|
8
|
+
import "./widget-base-4c2d6265.js";
|
|
9
|
+
import "./multirow-3ade8c6e.js";
|
|
10
|
+
import "./baseImp-70f1a9c5.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 R = c({ componentName: W.FieldWidget }), ae = /* @__PURE__ */ c({
|
|
23
|
+
...R,
|
|
24
|
+
__name: "date-picker-range-widget",
|
|
25
|
+
props: { ...M },
|
|
26
|
+
setup(u, { expose: f }) {
|
|
27
|
+
const h = u, { fieldEditor: _, fieldKey: y, fieldModel: i, rules: g, attrs: t, events: k, exposed: P, isError: w, errorMsg: V, watchKeyValue: j, refreshKey: v, fieldObj: C } = T(h), E = j(
|
|
28
|
+
"defaultTime",
|
|
29
|
+
(r) => H(N(r)),
|
|
30
|
+
() => {
|
|
31
|
+
v();
|
|
32
|
+
}
|
|
33
|
+
), F = x(() => {
|
|
34
|
+
var r, o;
|
|
35
|
+
return (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.shortcuts) == null ? void 0 : o.call(r);
|
|
36
|
+
});
|
|
37
|
+
return f({ ...P }), (r, o) => {
|
|
38
|
+
const O = z("el-date-picker");
|
|
39
|
+
return m(), a(B, d(r.$props, {
|
|
40
|
+
propOptions: { fieldObj: e(C), rules: e(g), isError: e(w), errorMsg: e(V) }
|
|
41
|
+
}), {
|
|
42
|
+
default: D(({ data: s }) => {
|
|
43
|
+
var l, p;
|
|
44
|
+
return [
|
|
45
|
+
(m(), a(O, d({
|
|
46
|
+
ref_key: "fieldEditor",
|
|
47
|
+
ref: _,
|
|
48
|
+
modelValue: e(i),
|
|
49
|
+
"onUpdate:modelValue": o[0] || (o[0] = (b) => I(i) ? i.value = b : null),
|
|
50
|
+
key: e(y)
|
|
51
|
+
}, e(t), K(e(k)), {
|
|
52
|
+
shortcuts: e(F),
|
|
53
|
+
"default-time": e(E),
|
|
54
|
+
size: s.size,
|
|
55
|
+
class: s.injectClass,
|
|
56
|
+
style: s.injectStyle,
|
|
57
|
+
"start-placeholder": ((l = e(t)) == null ? void 0 : l.startPlaceholder) || e(n).i18nt("render.hint.startDatePlaceholder"),
|
|
58
|
+
"end-placeholder": ((p = e(t)) == null ? void 0 : p.endPlaceholder) || e(n).i18nt("render.hint.endDatePlaceholder")
|
|
59
|
+
}), null, 16, ["modelValue", "shortcuts", "default-time", "size", "class", "style", "start-placeholder", "end-placeholder"]))
|
|
60
|
+
];
|
|
61
|
+
}),
|
|
62
|
+
_: 1
|
|
63
|
+
}, 16, ["propOptions"]);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
export {
|
|
68
|
+
ae as default
|
|
69
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { defineComponent as d, computed as K, resolveComponent as M, openBlock as p, createBlock as l, mergeProps as n, unref as e, withCtx as a, isRef as N, toHandlers as P, createSlots as T, renderList as _, resolveDynamicComponent as x, createCommentVNode as B } from "vue";
|
|
2
|
+
import { a as D } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { I as W } from "./field-base-5547436d.js";
|
|
4
|
+
import { b as H } from "./share-field-9834aef6.js";
|
|
5
|
+
import L from "./form-item-wrapper-849d8a21.js";
|
|
6
|
+
import { w as R } from "./template-9ade074e.js";
|
|
7
|
+
import { g as U } from "./slot-c6523e8c.js";
|
|
8
|
+
import { m as $, c as q } from "./uuid-b302db3f.js";
|
|
9
|
+
import "./widget-base-4c2d6265.js";
|
|
10
|
+
import "./multirow-3ade8c6e.js";
|
|
11
|
+
import "./baseImp-70f1a9c5.js";
|
|
12
|
+
import "./enum-type-92806e9d.js";
|
|
13
|
+
import "./icon-e9532b43.js";
|
|
14
|
+
import "./dialog-333d3421.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./index-fa19f5d9.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 A = d({ componentName: R.FieldWidget }), he = /* @__PURE__ */ d({
|
|
23
|
+
...A,
|
|
24
|
+
__name: "date-picker-widget",
|
|
25
|
+
props: { ...W },
|
|
26
|
+
setup(c, { expose: u }) {
|
|
27
|
+
const f = c, { fieldEditor: h, fieldKey: g, fieldModel: s, rules: y, attrs: i, events: k, slots: C, exposed: V, isError: v, errorMsg: w, watchKeyValue: F, getFieldOptions: O, refreshKey: j, fieldObj: E } = H(f), S = F(
|
|
28
|
+
"defaultTime",
|
|
29
|
+
(r) => $(q(r)),
|
|
30
|
+
() => {
|
|
31
|
+
j();
|
|
32
|
+
}
|
|
33
|
+
), b = K(() => {
|
|
34
|
+
var r, o;
|
|
35
|
+
return (o = (r = i == null ? void 0 : i.value) == null ? void 0 : r.shortcuts) == null ? void 0 : o.call(r);
|
|
36
|
+
});
|
|
37
|
+
return u({ ...V }), (r, o) => {
|
|
38
|
+
const z = M("el-date-picker");
|
|
39
|
+
return p(), l(L, n(r.$props, {
|
|
40
|
+
propOptions: { fieldObj: e(E), rules: e(y), isError: e(v), errorMsg: e(w) }
|
|
41
|
+
}), {
|
|
42
|
+
default: a(({ data: m }) => [
|
|
43
|
+
(p(), l(z, n({
|
|
44
|
+
ref_key: "fieldEditor",
|
|
45
|
+
ref: h,
|
|
46
|
+
modelValue: e(s),
|
|
47
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => N(s) ? s.value = t : null),
|
|
48
|
+
key: e(g)
|
|
49
|
+
}, e(i), P(e(k)), {
|
|
50
|
+
class: m.injectClass,
|
|
51
|
+
style: m.injectStyle,
|
|
52
|
+
shortcuts: e(b),
|
|
53
|
+
"default-time": e(S),
|
|
54
|
+
size: m.size,
|
|
55
|
+
placeholder: e(O)("placeholder") || e(D).i18nt("render.hint.datePlaceholder")
|
|
56
|
+
}), T({ _: 2 }, [
|
|
57
|
+
_(e(U)(e(C), r.designState), (t) => ({
|
|
58
|
+
name: t.slotName,
|
|
59
|
+
fn: a((I) => [
|
|
60
|
+
t != null && t.default ? (p(), l(x(t == null ? void 0 : t.default), {
|
|
61
|
+
key: 0,
|
|
62
|
+
cell: I
|
|
63
|
+
}, null, 8, ["cell"])) : B("", !0)
|
|
64
|
+
])
|
|
65
|
+
}))
|
|
66
|
+
]), 1040, ["modelValue", "class", "style", "shortcuts", "default-time", "size", "placeholder"]))
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 16, ["propOptions"]);
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
export {
|
|
74
|
+
he as default
|
|
75
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./field-base-5547436d.js";
|
|
4
|
+
import "./widget-base-4c2d6265.js";
|
|
5
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
6
|
+
import "./uuid-b302db3f.js";
|
|
7
|
+
import "./enum-type-be3a0b8b.js";
|
|
8
|
+
import "./index-fa19f5d9.js";
|
|
9
|
+
import "./enum-type-92806e9d.js";
|
|
10
|
+
import "./baseImp-70f1a9c5.js";
|
|
11
|
+
import "./icon-e9532b43.js";
|
|
12
|
+
import "./template-9ade074e.js";
|
|
13
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
+
import "./dialog-333d3421.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import "./index-f54403db.js";
|
|
17
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
+
import "./slot-c6523e8c.js";
|
|
19
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js";
|
|
20
|
+
export {
|
|
21
|
+
o as default
|
|
22
|
+
};
|
package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineComponent as P, computed as y, openBlock as l, createBlock as p, normalizeProps as j, guardReactiveProps as z, withCtx as k, resolveDynamicComponent as N, mergeProps as b, toHandlers as V, createSlots as $, renderList as B, unref as m, createElementBlock as F, Fragment as I, renderSlot as A, createVNode as D, createCommentVNode as v } from "vue";
|
|
2
|
+
import { I as E } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
4
|
+
import { s as C, w as K } from "./template-9ade074e.js";
|
|
5
|
+
import { g as L } from "./slot-c6523e8c.js";
|
|
6
|
+
import { _ as R } from "./content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js";
|
|
7
|
+
const W = P({ componentName: K.FieldWidget }), U = /* @__PURE__ */ P({
|
|
8
|
+
...W,
|
|
9
|
+
__name: "default-slot-widget",
|
|
10
|
+
props: { ...E },
|
|
11
|
+
setup(S) {
|
|
12
|
+
const n = S, f = y(() => {
|
|
13
|
+
var e, s, r, o, t, i;
|
|
14
|
+
return ((r = (s = (e = n == null ? void 0 : n.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : s.attrs) == null ? void 0 : r.content) || ((i = (t = (o = n == null ? void 0 : n.propOptions) == null ? void 0 : o.fieldObj) == null ? void 0 : t.extendAttrs) == null ? void 0 : i.content);
|
|
15
|
+
}), w = y(() => {
|
|
16
|
+
var r, o;
|
|
17
|
+
var e = L((o = (r = n.propOptions) == null ? void 0 : r.fieldObj) == null ? void 0 : o.slots, n.designState), s = e == null ? void 0 : e.filter((t) => !!t.default || (t == null ? void 0 : t.slotName) !== C.default || !!f.value);
|
|
18
|
+
return s;
|
|
19
|
+
});
|
|
20
|
+
return (e, s) => (l(), p(H, j(z(e.$props)), {
|
|
21
|
+
default: k(({ data: r }) => {
|
|
22
|
+
var o, t, i, d, c, u, O;
|
|
23
|
+
return [
|
|
24
|
+
(l(), p(N((o = e.propOptions) == null ? void 0 : o.elementName), b({
|
|
25
|
+
key: (i = (t = e.propOptions) == null ? void 0 : t.fieldObj) == null ? void 0 : i.fieldKey
|
|
26
|
+
}, (c = (d = e.propOptions) == null ? void 0 : d.fieldObj) == null ? void 0 : c.attrs, V((O = (u = e.propOptions) == null ? void 0 : u.fieldObj) == null ? void 0 : O.events), {
|
|
27
|
+
size: r.size,
|
|
28
|
+
class: r.injectClass,
|
|
29
|
+
style: r.injectStyle
|
|
30
|
+
}), $({ _: 2 }, [
|
|
31
|
+
B(m(w), (a) => ({
|
|
32
|
+
name: a == null ? void 0 : a.slotName,
|
|
33
|
+
fn: k((h) => {
|
|
34
|
+
var g;
|
|
35
|
+
return [
|
|
36
|
+
(a == null ? void 0 : a.slotName) === m(C).default ? (l(), F(I, { key: 0 }, [
|
|
37
|
+
a.default ? (l(), p(N(a.default), j(b({ key: 0 }, h)), null, 16)) : ((g = e.propOptions) == null ? void 0 : g.showContent) != !1 ? A(e.$slots, "contentSlot", {
|
|
38
|
+
key: 1,
|
|
39
|
+
data: {}
|
|
40
|
+
}, () => [
|
|
41
|
+
D(R, {
|
|
42
|
+
tohtml: !1,
|
|
43
|
+
allProps: { content: m(f) }
|
|
44
|
+
}, null, 8, ["allProps"])
|
|
45
|
+
]) : v("", !0)
|
|
46
|
+
], 64)) : v("", !0)
|
|
47
|
+
];
|
|
48
|
+
})
|
|
49
|
+
}))
|
|
50
|
+
]), 1040, ["size", "class", "style"]))
|
|
51
|
+
];
|
|
52
|
+
}),
|
|
53
|
+
_: 3
|
|
54
|
+
}, 16));
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
U as _
|
|
59
|
+
};
|