hlrender 0.0.4 → 0.0.6
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/{affix-widget-018ddb2e.js → affix-widget-87f571a2.js} +17 -17
- package/{alert-widget-10f4e6a7.js → alert-widget-6a08264c.js} +16 -16
- package/{anchor-widget-9a0af749.js → anchor-widget-3af9f1f8.js} +14 -14
- package/auto-complete-widget-863befe4.js +72 -0
- package/{avatar-widget-3e5cbb28.js → avatar-widget-f46eda28.js} +17 -17
- package/{backtop-widget-b213f9ae.js → backtop-widget-72db194f.js} +17 -17
- package/{badge-widget-039e51e1.js → badge-widget-5b18304c.js} +17 -17
- package/{baseImp-39f6ee3c.js → baseImp-55a31c78.js} +3168 -3030
- package/{breadcrumb-widget-53502929.js → breadcrumb-widget-aa83ee8f.js} +14 -14
- package/{button-widget-850524c1.js → button-widget-50016859.js} +17 -17
- package/{cache-widget-7306328f.js → cache-widget-39816985.js} +16 -16
- package/{card-widget-80867906.js → card-widget-53b290e6.js} +25 -25
- package/{carousel-widget-fa21559c.js → carousel-widget-147d17eb.js} +17 -17
- package/{cascader-widget-8aca15de.js → cascader-widget-96259add.js} +39 -39
- package/{chart-widget-fc1347e2.js → chart-widget-5be8c83d.js} +14 -14
- package/checkbox-widget-9449d643.js +77 -0
- package/{collapse-widget-4dbed395.js → collapse-widget-dcdc2356.js} +17 -17
- package/color-picker-widget-bfe0eec3.js +54 -0
- package/{cont-cell-widget-159651e7.js → cont-cell-widget-a49846a7.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9c632801.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4d1b8bcb.js} +5 -5
- package/{cont-widget-b225c693.js → cont-widget-f3836343.js} +4 -4
- package/content-wrapper-d1b17003.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-124746aa.js → content-wrapper.vue_vue_type_script_setup_true_lang-75cf4b25.js} +8 -8
- package/date-picker-range-widget-229520ea.js +70 -0
- package/date-picker-widget-188eaac5.js +76 -0
- package/default-slot-widget-eb3b4aff.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e79d72dd.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-52cd0b7f.js} +7 -7
- package/{descriptions-widget-fcb4ee13.js → descriptions-widget-2a479788.js} +14 -14
- package/{dialog-50ad7970.js → dialog-d87ab558.js} +2 -2
- package/{dialog-widget-d47cb628.js → dialog-widget-33009ce9.js} +15 -15
- package/{divider-widget-31449cc4.js → divider-widget-39dd6a1b.js} +17 -17
- package/{drag-wrapper-2db7a9b7.js → drag-wrapper-207a28e8.js} +16 -16
- package/{drawer-widget-519419fd.js → drawer-widget-adbb75db.js} +15 -15
- package/{dropdown-widget-fb4f1df4.js → dropdown-widget-ea5629f2.js} +14 -14
- package/{empty-widget-d1ee6e93.js → empty-widget-6763a79c.js} +17 -17
- package/{enum-type-4f7f8848.js → enum-type-64b61a45.js} +87 -70
- package/{enum-type-7d30197c.js → enum-type-ebccb1d4.js} +38 -38
- package/{expression-75bf8097.js → expression-0623ba51.js} +964 -957
- package/feedback-widget-06cb1f22.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8925f800.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-fdccc54b.js} +5 -5
- package/{fieldobj-b3bb7e94.js → fieldobj-d3e96d51.js} +1 -1
- package/file-upload-widget-6c5914c8.js +96 -0
- package/form-item-wrapper-2d82bad7.js +86 -0
- package/form-widget-0f8a1a0d.js +212 -0
- package/{grid-col-widget-234d6c45.js → grid-col-widget-43710db5.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ea71889d.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5bc5bdb6.js} +5 -5
- package/{grid-widget-bde19481.js → grid-widget-89e86247.js} +5 -5
- package/{html-text-widget-1eb54cf1.js → html-text-widget-d98a3cfc.js} +18 -18
- package/{iframe-widget-72a1dbf2.js → iframe-widget-a66f109c.js} +14 -14
- package/{image-widget-269da907.js → image-widget-4ccf8a08.js} +13 -13
- package/{index-f18071b7.js → index-9a0ea20e.js} +196 -198
- package/{index-72739fed.js → index-c7185b92.js} +4 -4
- package/{index-93c9bbb8.js → index-f6f4c499.js} +1 -1
- package/input-number-widget-70cbdcaa.js +64 -0
- package/input-widget-3205407a.js +69 -0
- package/{label-wrapper-11b0324f.js → label-wrapper-bf5bb22b.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js → label-wrapper.vue_vue_type_style_index_0_lang-5f3ac18a.js} +3 -3
- package/{link-widget-12302f15.js → link-widget-0cbccee4.js} +17 -17
- package/{ltable-col-widget-08c17235.js → ltable-col-widget-fbdb0bcc.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cacb9190.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6fdd4861.js} +10 -10
- package/{ltable-widget-b163b470.js → ltable-widget-4591c2d1.js} +5 -5
- package/{menu-widget-6b2392d2.js → menu-widget-bf3c83b8.js} +15 -15
- package/{model-widget-b79ca550.js → model-widget-461a906b.js} +13 -13
- package/multirow-49d1711a.js +226 -0
- package/{multirow-widget-ffc7abd7.js → multirow-widget-4ef17834.js} +34 -34
- package/package.json +1 -1
- package/{pagination-widget-3fa6869c.js → pagination-widget-b47189e7.js} +13 -13
- package/picture-upload-widget-28058ff6.js +100 -0
- package/progress-widget-4260b2b1.js +119 -0
- package/{propresult-5bc45f96.js → propresult-15711ec7.js} +1 -1
- package/radio-widget-d9fb0abe.js +77 -0
- package/{range-widget-1091858f.js → range-widget-9dac1e43.js} +17 -17
- package/rate-widget-82f5e770.js +54 -0
- package/render.es.js +142 -141
- package/render.style.css +1 -1
- package/render.umd.js +525 -525
- package/{result-widget-2366d7c2.js → result-widget-4eb3b43d.js} +15 -15
- package/rich-editor-widget-1baaee5d.js +75 -0
- package/{router-widget-30845c47.js → router-widget-778e07b4.js} +14 -14
- package/{select-widget-4ae99485.js → select-widget-4ac628f5.js} +85 -85
- package/{sfc-4dd1268a.js → sfc-061cfc5d.js} +85 -85
- package/share-field-5ab4a421.js +686 -0
- package/{share-file-21d8dea0.js → share-file-df8cf883.js} +15 -15
- package/slider-widget-4c710047.js +60 -0
- package/{slot-75afa351.js → slot-f5b09143.js} +6 -6
- package/{static-text-widget-0aa8e754.js → static-text-widget-b5d505ba.js} +15 -15
- package/{steps-widget-ed9433d8.js → steps-widget-b4814b03.js} +14 -14
- package/subMenu-widget-bd425443.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-8d60c766.js → subMenu-widget.vue_vue_type_script_setup_true_lang-a1cef8dd.js} +7 -7
- package/switch-widget-a497d6dd.js +54 -0
- package/{tab-pane-widget-7c78d30b.js → tab-pane-widget-7284c298.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ecdfcab5.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-8f54ee57.js} +5 -5
- package/table-col-widget-b0cc4dbf.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0165f966.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cb167eb4.js} +17 -17
- package/{table-widget-98c0e580.js → table-widget-d4a39355.js} +23 -23
- package/{tabs-widget-5fca1b53.js → tabs-widget-e7d303a6.js} +9 -9
- package/{tag-widget-16e11318.js → tag-widget-966dfdb0.js} +17 -17
- package/{text-widget-d9eeb677.js → text-widget-1bb1ac49.js} +17 -17
- package/textarea-widget-74c6bdaa.js +54 -0
- package/time-picker-range-widget-49785c91.js +56 -0
- package/time-picker-widget-2d632c0a.js +55 -0
- package/time-select-widget-d1aac015.js +55 -0
- package/{tmpl-widget-8ee0d2b4.js → tmpl-widget-3c125136.js} +15 -15
- package/{tree-select-widget-286290bc.js → tree-select-widget-abfb90a7.js} +16 -16
- package/{tree-widget-8588a7c1.js → tree-widget-3ec1dbae.js} +14 -14
- package/{uuid-13f918d6.js → uuid-63cb6ed5.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js} +25 -25
- package/{wrapper-widget-cd7ccd06.js → wrapper-widget-aaf5aebe.js} +6 -6
- package/auto-complete-widget-6e138c0f.js +0 -72
- package/checkbox-widget-66634956.js +0 -77
- package/color-picker-widget-37be5424.js +0 -54
- package/content-wrapper-0276640c.js +0 -14
- package/date-picker-range-widget-0adcf7b5.js +0 -70
- package/date-picker-widget-f621ad32.js +0 -76
- package/default-slot-widget-bf7b2bef.js +0 -24
- package/feedback-widget-822f7297.js +0 -24
- package/file-upload-widget-6a230baf.js +0 -96
- package/form-item-wrapper-851f1a6c.js +0 -97
- package/form-widget-f7bb2e58.js +0 -196
- package/input-number-widget-d4787180.js +0 -64
- package/input-widget-edbc67f1.js +0 -69
- package/multirow-c7128853.js +0 -230
- package/picture-upload-widget-3e681eab.js +0 -100
- package/progress-widget-2d21d9f8.js +0 -97
- package/radio-widget-0a4c9000.js +0 -77
- package/rate-widget-597dc881.js +0 -54
- package/rich-editor-widget-483ee254.js +0 -75
- package/share-field-bc3299a0.js +0 -693
- package/slider-widget-1da21bc8.js +0 -60
- package/subMenu-widget-5a945275.js +0 -16
- package/switch-widget-436d00c9.js +0 -54
- package/table-col-widget-8fbec2c8.js +0 -20
- package/textarea-widget-95e45d53.js +0 -54
- package/time-picker-range-widget-aa4c30be.js +0 -56
- package/time-picker-widget-999ad593.js +0 -55
- package/time-select-widget-a95afa5a.js +0 -55
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, resolveComponent as M, openBlock as t, createBlock as o, mergeProps as i, unref as r, withCtx as s, isRef as P, toHandlers as W, createSlots as x, renderList as A, createElementBlock as f, Fragment as u, resolveDynamicComponent as c, normalizeProps as L, createCommentVNode as a } from "vue";
|
|
2
|
-
import { I as T } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as $ } from "./share-field-bc3299a0.js";
|
|
4
|
-
import h from "./form-item-wrapper-851f1a6c.js";
|
|
5
|
-
import { l as z, w as H } from "./expression-75bf8097.js";
|
|
6
|
-
import { D as K } from "./drag-wrapper-2db7a9b7.js";
|
|
7
|
-
import { g as R } from "./slot-75afa351.js";
|
|
8
|
-
import { a as U } from "./enum-type-4f7f8848.js";
|
|
9
|
-
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./multirow-c7128853.js";
|
|
11
|
-
import "./baseImp-39f6ee3c.js";
|
|
12
|
-
import "./uuid-13f918d6.js";
|
|
13
|
-
import "./enum-type-7d30197c.js";
|
|
14
|
-
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-50ad7970.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "./index-f18071b7.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
20
|
-
import "./index-93c9bbb8.js";
|
|
21
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-b3bb7e94.js";
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
24
|
-
const q = g({ componentName: H.FieldWidget }), ye = /* @__PURE__ */ g({
|
|
25
|
-
...q,
|
|
26
|
-
__name: "auto-complete-widget",
|
|
27
|
-
props: { ...T },
|
|
28
|
-
setup(y, { expose: k }) {
|
|
29
|
-
const w = y, { fieldEditor: C, fieldKey: V, fieldModel: p, rules: b, attrs: E, extendAttrs: F, events: j, slots: v, exposed: N, isError: O, errorMsg: S, fieldObj: B } = $(w);
|
|
30
|
-
return k({ ...N }), (m, n) => {
|
|
31
|
-
const D = M("el-autocomplete");
|
|
32
|
-
return t(), o(h, i(m.$props, {
|
|
33
|
-
propOptions: { fieldObj: r(B), rules: r(b), isError: r(O), errorMsg: r(S) }
|
|
34
|
-
}), {
|
|
35
|
-
default: s(({ data: l }) => {
|
|
36
|
-
var d;
|
|
37
|
-
return [
|
|
38
|
-
(t(), o(D, i({
|
|
39
|
-
ref_key: "fieldEditor",
|
|
40
|
-
ref: C,
|
|
41
|
-
modelValue: r(p),
|
|
42
|
-
"onUpdate:modelValue": n[0] || (n[0] = (e) => P(p) ? p.value = e : null),
|
|
43
|
-
key: r(V)
|
|
44
|
-
}, r(E), W(r(j)), {
|
|
45
|
-
class: l.injectClass,
|
|
46
|
-
style: l.injectStyle
|
|
47
|
-
}), x({ _: 2 }, [
|
|
48
|
-
A(r(R)(r(v), m.designState, (d = r(F)) == null ? void 0 : d.slotable), (e) => ({
|
|
49
|
-
name: e == null ? void 0 : e.slotName,
|
|
50
|
-
fn: s(({ item: I }) => [
|
|
51
|
-
(e == null ? void 0 : e.slotName) === r(z).default ? (t(), f(u, { key: 0 }, [
|
|
52
|
-
e.default ? (t(), o(c(e.default), L(i({ key: 0 }, { item: I })), null, 16)) : a("", !0)
|
|
53
|
-
], 64)) : (t(), f(u, { key: 1 }, [
|
|
54
|
-
e.default ? (t(), o(c(e.default), { key: 0 })) : a("", !0)
|
|
55
|
-
], 64)),
|
|
56
|
-
e != null && e.widgetList ? (t(), o(K, i({ key: 2 }, m.$props, {
|
|
57
|
-
widget: e,
|
|
58
|
-
dragTip: r(U).i18nt("designer.hint.draggableArea1")
|
|
59
|
-
}), null, 16, ["widget", "dragTip"])) : a("", !0)
|
|
60
|
-
])
|
|
61
|
-
}))
|
|
62
|
-
]), 1040, ["modelValue", "class", "style"]))
|
|
63
|
-
];
|
|
64
|
-
}),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 16, ["propOptions"]);
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
export {
|
|
71
|
-
ye as default
|
|
72
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
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-bc3299a0.js";
|
|
4
|
-
import G from "./form-item-wrapper-851f1a6c.js";
|
|
5
|
-
import { w as J } from "./expression-75bf8097.js";
|
|
6
|
-
import { c as f } from "./uuid-13f918d6.js";
|
|
7
|
-
import { D as Q } from "./enum-type-7d30197c.js";
|
|
8
|
-
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-4f7f8848.js";
|
|
10
|
-
import "./multirow-c7128853.js";
|
|
11
|
-
import "./baseImp-39f6ee3c.js";
|
|
12
|
-
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-50ad7970.js";
|
|
14
|
-
import "element-plus";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./index-f18071b7.js";
|
|
17
|
-
import "./slot-75afa351.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
19
|
-
import "./index-93c9bbb8.js";
|
|
20
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-b3bb7e94.js";
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
23
|
-
const X = b({ componentName: J.FieldWidget }), ve = /* @__PURE__ */ b({
|
|
24
|
-
...X,
|
|
25
|
-
__name: "checkbox-widget",
|
|
26
|
-
props: { ...$ },
|
|
27
|
-
setup(_, { expose: k }) {
|
|
28
|
-
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);
|
|
29
|
-
return k({ ...E, getCheckedItems: C }), (O, m) => {
|
|
30
|
-
const B = M("el-checkbox-group");
|
|
31
|
-
return s(), d(G, y(O.$props, {
|
|
32
|
-
propOptions: { fieldObj: e(V), rules: e(z), isError: e(F), errorMsg: e(I) }
|
|
33
|
-
}), {
|
|
34
|
-
default: a(({ data: t }) => [
|
|
35
|
-
(s(), d(B, y({
|
|
36
|
-
ref_key: "fieldEditor",
|
|
37
|
-
ref: v,
|
|
38
|
-
modelValue: e(i),
|
|
39
|
-
"onUpdate:modelValue": m[0] || (m[0] = (o) => L(i) ? i.value = o : null),
|
|
40
|
-
key: e(x)
|
|
41
|
-
}, e(r), N(e(S)), {
|
|
42
|
-
size: t.size,
|
|
43
|
-
class: t.injectClass,
|
|
44
|
-
style: { ...t.injectStyle, display: e(n) }
|
|
45
|
-
}), {
|
|
46
|
-
default: a(() => [
|
|
47
|
-
(s(!0), P(T, null, W(e(h), (o, K) => {
|
|
48
|
-
var c;
|
|
49
|
-
return s(), d(A(e(D) ? "el-checkbox-button" : "el-checkbox"), {
|
|
50
|
-
key: K,
|
|
51
|
-
size: t.size,
|
|
52
|
-
value: o == null ? void 0 : o[(c = e(p)) == null ? void 0 : c.valueKey],
|
|
53
|
-
disabled: e(w) || e(f)(o).disabled,
|
|
54
|
-
style: H({ display: e(n) === e(Q).inline ? "" : e(n) }),
|
|
55
|
-
border: e(j) || e(f)(o).border
|
|
56
|
-
}, {
|
|
57
|
-
default: a(() => {
|
|
58
|
-
var u;
|
|
59
|
-
return [
|
|
60
|
-
R(U(o == null ? void 0 : o[(u = e(p)) == null ? void 0 : u.labelKey]), 1)
|
|
61
|
-
];
|
|
62
|
-
}),
|
|
63
|
-
_: 2
|
|
64
|
-
}, 1032, ["size", "value", "disabled", "style", "border"]);
|
|
65
|
-
}), 128))
|
|
66
|
-
]),
|
|
67
|
-
_: 2
|
|
68
|
-
}, 1040, ["modelValue", "size", "class", "style"]))
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
}, 16, ["propOptions"]);
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
export {
|
|
76
|
-
ve as default
|
|
77
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
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-bc3299a0.js";
|
|
4
|
-
import z from "./form-item-wrapper-851f1a6c.js";
|
|
5
|
-
import { w as I } from "./expression-75bf8097.js";
|
|
6
|
-
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./enum-type-4f7f8848.js";
|
|
8
|
-
import "./multirow-c7128853.js";
|
|
9
|
-
import "./baseImp-39f6ee3c.js";
|
|
10
|
-
import "./uuid-13f918d6.js";
|
|
11
|
-
import "./enum-type-7d30197c.js";
|
|
12
|
-
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-50ad7970.js";
|
|
14
|
-
import "element-plus";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./index-f18071b7.js";
|
|
17
|
-
import "./slot-75afa351.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
19
|
-
import "./index-93c9bbb8.js";
|
|
20
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-b3bb7e94.js";
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
23
|
-
const M = l({ componentName: I.FieldWidget }), ee = /* @__PURE__ */ l({
|
|
24
|
-
...M,
|
|
25
|
-
__name: "color-picker-widget",
|
|
26
|
-
props: { ...v },
|
|
27
|
-
setup(m, { expose: n }) {
|
|
28
|
-
const d = m, { fieldEditor: f, fieldModel: o, fieldKey: c, rules: a, attrs: u, events: _, exposed: k, isError: g, errorMsg: y, fieldObj: j } = x(d);
|
|
29
|
-
return n({ ...k }), (w, t) => {
|
|
30
|
-
const C = F("el-color-picker");
|
|
31
|
-
return i(), p(z, s(w.$props, {
|
|
32
|
-
propOptions: { fieldObj: e(j), rules: e(a), isError: e(g), errorMsg: e(y) }
|
|
33
|
-
}), {
|
|
34
|
-
default: O(({ data: r }) => [
|
|
35
|
-
(i(), p(C, s({
|
|
36
|
-
ref_key: "fieldEditor",
|
|
37
|
-
ref: f,
|
|
38
|
-
modelValue: e(o),
|
|
39
|
-
"onUpdate:modelValue": t[0] || (t[0] = (E) => V(o) ? o.value = E : null),
|
|
40
|
-
key: e(c)
|
|
41
|
-
}, e(u), b(e(_)), {
|
|
42
|
-
size: r.size,
|
|
43
|
-
class: r.injectClass,
|
|
44
|
-
style: r.injectStyle
|
|
45
|
-
}), null, 16, ["modelValue", "size", "class", "style"]))
|
|
46
|
-
]),
|
|
47
|
-
_: 1
|
|
48
|
-
}, 16, ["propOptions"]);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
export {
|
|
53
|
-
ee as default
|
|
54
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./content-wrapper.vue_vue_type_script_setup_true_lang-124746aa.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./expression-75bf8097.js";
|
|
4
|
-
import "./enum-type-4f7f8848.js";
|
|
5
|
-
import "./uuid-13f918d6.js";
|
|
6
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
7
|
-
import "./baseImp-39f6ee3c.js";
|
|
8
|
-
import "./enum-type-7d30197c.js";
|
|
9
|
-
import "./icon-e9532b43.js";
|
|
10
|
-
import "./dialog-50ad7970.js";
|
|
11
|
-
import "element-plus";
|
|
12
|
-
export {
|
|
13
|
-
o as default
|
|
14
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
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-4f7f8848.js";
|
|
3
|
-
import { I as M } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as T } from "./share-field-bc3299a0.js";
|
|
5
|
-
import B from "./form-item-wrapper-851f1a6c.js";
|
|
6
|
-
import { w as W } from "./expression-75bf8097.js";
|
|
7
|
-
import { m as H, c as N } from "./uuid-13f918d6.js";
|
|
8
|
-
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-c7128853.js";
|
|
10
|
-
import "./baseImp-39f6ee3c.js";
|
|
11
|
-
import "./enum-type-7d30197c.js";
|
|
12
|
-
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-50ad7970.js";
|
|
14
|
-
import "element-plus";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./index-f18071b7.js";
|
|
17
|
-
import "./slot-75afa351.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
19
|
-
import "./index-93c9bbb8.js";
|
|
20
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-b3bb7e94.js";
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
23
|
-
const R = c({ componentName: W.FieldWidget }), de = /* @__PURE__ */ c({
|
|
24
|
-
...R,
|
|
25
|
-
__name: "date-picker-range-widget",
|
|
26
|
-
props: { ...M },
|
|
27
|
-
setup(u, { expose: f }) {
|
|
28
|
-
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(
|
|
29
|
-
"defaultTime",
|
|
30
|
-
(r) => H(N(r)),
|
|
31
|
-
() => {
|
|
32
|
-
v();
|
|
33
|
-
}
|
|
34
|
-
), F = x(() => {
|
|
35
|
-
var r, o;
|
|
36
|
-
return (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.shortcuts) == null ? void 0 : o.call(r);
|
|
37
|
-
});
|
|
38
|
-
return f({ ...P }), (r, o) => {
|
|
39
|
-
const O = z("el-date-picker");
|
|
40
|
-
return m(), a(B, d(r.$props, {
|
|
41
|
-
propOptions: { fieldObj: e(C), rules: e(g), isError: e(w), errorMsg: e(V) }
|
|
42
|
-
}), {
|
|
43
|
-
default: D(({ data: s }) => {
|
|
44
|
-
var l, p;
|
|
45
|
-
return [
|
|
46
|
-
(m(), a(O, d({
|
|
47
|
-
ref_key: "fieldEditor",
|
|
48
|
-
ref: _,
|
|
49
|
-
modelValue: e(i),
|
|
50
|
-
"onUpdate:modelValue": o[0] || (o[0] = (b) => I(i) ? i.value = b : null),
|
|
51
|
-
key: e(y)
|
|
52
|
-
}, e(t), K(e(k)), {
|
|
53
|
-
shortcuts: e(F),
|
|
54
|
-
"default-time": e(E),
|
|
55
|
-
size: s.size,
|
|
56
|
-
class: s.injectClass,
|
|
57
|
-
style: s.injectStyle,
|
|
58
|
-
"start-placeholder": ((l = e(t)) == null ? void 0 : l.startPlaceholder) || e(n).i18nt("render.hint.startDatePlaceholder"),
|
|
59
|
-
"end-placeholder": ((p = e(t)) == null ? void 0 : p.endPlaceholder) || e(n).i18nt("render.hint.endDatePlaceholder")
|
|
60
|
-
}), null, 16, ["modelValue", "shortcuts", "default-time", "size", "class", "style", "start-placeholder", "end-placeholder"]))
|
|
61
|
-
];
|
|
62
|
-
}),
|
|
63
|
-
_: 1
|
|
64
|
-
}, 16, ["propOptions"]);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
export {
|
|
69
|
-
de as default
|
|
70
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
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-4f7f8848.js";
|
|
3
|
-
import { I as W } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as H } from "./share-field-bc3299a0.js";
|
|
5
|
-
import L from "./form-item-wrapper-851f1a6c.js";
|
|
6
|
-
import { w as R } from "./expression-75bf8097.js";
|
|
7
|
-
import { g as U } from "./slot-75afa351.js";
|
|
8
|
-
import { m as $, c as q } from "./uuid-13f918d6.js";
|
|
9
|
-
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./multirow-c7128853.js";
|
|
11
|
-
import "./baseImp-39f6ee3c.js";
|
|
12
|
-
import "./enum-type-7d30197c.js";
|
|
13
|
-
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-50ad7970.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./index-f18071b7.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
19
|
-
import "./index-93c9bbb8.js";
|
|
20
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-b3bb7e94.js";
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
23
|
-
const A = d({ componentName: R.FieldWidget }), ge = /* @__PURE__ */ d({
|
|
24
|
-
...A,
|
|
25
|
-
__name: "date-picker-widget",
|
|
26
|
-
props: { ...W },
|
|
27
|
-
setup(c, { expose: u }) {
|
|
28
|
-
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(
|
|
29
|
-
"defaultTime",
|
|
30
|
-
(r) => $(q(r)),
|
|
31
|
-
() => {
|
|
32
|
-
j();
|
|
33
|
-
}
|
|
34
|
-
), b = K(() => {
|
|
35
|
-
var r, o;
|
|
36
|
-
return (o = (r = i == null ? void 0 : i.value) == null ? void 0 : r.shortcuts) == null ? void 0 : o.call(r);
|
|
37
|
-
});
|
|
38
|
-
return u({ ...V }), (r, o) => {
|
|
39
|
-
const z = M("el-date-picker");
|
|
40
|
-
return p(), l(L, n(r.$props, {
|
|
41
|
-
propOptions: { fieldObj: e(E), rules: e(y), isError: e(v), errorMsg: e(w) }
|
|
42
|
-
}), {
|
|
43
|
-
default: a(({ data: m }) => [
|
|
44
|
-
(p(), l(z, n({
|
|
45
|
-
ref_key: "fieldEditor",
|
|
46
|
-
ref: h,
|
|
47
|
-
modelValue: e(s),
|
|
48
|
-
"onUpdate:modelValue": o[0] || (o[0] = (t) => N(s) ? s.value = t : null),
|
|
49
|
-
key: e(g)
|
|
50
|
-
}, e(i), P(e(k)), {
|
|
51
|
-
class: m.injectClass,
|
|
52
|
-
style: m.injectStyle,
|
|
53
|
-
shortcuts: e(b),
|
|
54
|
-
"default-time": e(S),
|
|
55
|
-
size: m.size,
|
|
56
|
-
placeholder: e(O)("placeholder") || e(D).i18nt("render.hint.datePlaceholder")
|
|
57
|
-
}), T({ _: 2 }, [
|
|
58
|
-
_(e(U)(e(C), r.designState), (t) => ({
|
|
59
|
-
name: t.slotName,
|
|
60
|
-
fn: a((I) => [
|
|
61
|
-
t != null && t.default ? (p(), l(x(t == null ? void 0 : t.default), {
|
|
62
|
-
key: 0,
|
|
63
|
-
cell: I
|
|
64
|
-
}, null, 8, ["cell"])) : B("", !0)
|
|
65
|
-
])
|
|
66
|
-
}))
|
|
67
|
-
]), 1040, ["modelValue", "class", "style", "shortcuts", "default-time", "size", "placeholder"]))
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}, 16, ["propOptions"]);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
export {
|
|
75
|
-
ge as default
|
|
76
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e79d72dd.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-4f7f8848.js";
|
|
4
|
-
import "./field-base-5547436d.js";
|
|
5
|
-
import "./widget-base-4c2d6265.js";
|
|
6
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
7
|
-
import "./uuid-13f918d6.js";
|
|
8
|
-
import "./index-f18071b7.js";
|
|
9
|
-
import "./enum-type-7d30197c.js";
|
|
10
|
-
import "./baseImp-39f6ee3c.js";
|
|
11
|
-
import "./icon-e9532b43.js";
|
|
12
|
-
import "./expression-75bf8097.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./dialog-50ad7970.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./index-93c9bbb8.js";
|
|
17
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-b3bb7e94.js";
|
|
19
|
-
import "./slot-75afa351.js";
|
|
20
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-124746aa.js";
|
|
21
|
-
import "./drag-wrapper-2db7a9b7.js";
|
|
22
|
-
export {
|
|
23
|
-
o as default
|
|
24
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8925f800.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-2db7a9b7.js";
|
|
5
|
-
import "./baseImp-39f6ee3c.js";
|
|
6
|
-
import "./enum-type-4f7f8848.js";
|
|
7
|
-
import "./uuid-13f918d6.js";
|
|
8
|
-
import "./enum-type-7d30197c.js";
|
|
9
|
-
import "./icon-e9532b43.js";
|
|
10
|
-
import "./expression-75bf8097.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./dialog-50ad7970.js";
|
|
13
|
-
import "element-plus";
|
|
14
|
-
import "./index-f18071b7.js";
|
|
15
|
-
import "./slot-75afa351.js";
|
|
16
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
18
|
-
import "./index-93c9bbb8.js";
|
|
19
|
-
import "./fieldobj-b3bb7e94.js";
|
|
20
|
-
import "./share-field-bc3299a0.js";
|
|
21
|
-
import "./multirow-c7128853.js";
|
|
22
|
-
export {
|
|
23
|
-
o as default
|
|
24
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, ref as U, resolveComponent as W, openBlock as r, createBlock as m, mergeProps as c, unref as e, withCtx as l, toHandlers as D, createElementBlock as _, toDisplayString as u, createCommentVNode as f, createVNode as s, createElementVNode as i, pushScopeId as P, popScopeId as $ } from "vue";
|
|
2
|
-
import { a } from "./enum-type-4f7f8848.js";
|
|
3
|
-
import { I as j } from "./field-base-5547436d.js";
|
|
4
|
-
import { u as H } from "./share-file-21d8dea0.js";
|
|
5
|
-
import { w as M } from "./expression-75bf8097.js";
|
|
6
|
-
import { S as d } from "./index-93c9bbb8.js";
|
|
7
|
-
import A from "./form-item-wrapper-851f1a6c.js";
|
|
8
|
-
import { _ as K } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./icon-e9532b43.js";
|
|
11
|
-
import "./share-field-bc3299a0.js";
|
|
12
|
-
import "./multirow-c7128853.js";
|
|
13
|
-
import "./baseImp-39f6ee3c.js";
|
|
14
|
-
import "./uuid-13f918d6.js";
|
|
15
|
-
import "./enum-type-7d30197c.js";
|
|
16
|
-
import "./dialog-50ad7970.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
-
import "./index-f18071b7.js";
|
|
20
|
-
import "./slot-75afa351.js";
|
|
21
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
22
|
-
import "./fieldobj-b3bb7e94.js";
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
24
|
-
const T = (t) => (P("data-v-8911b66d"), t = t(), $(), t), q = {
|
|
25
|
-
key: 0,
|
|
26
|
-
class: "el-upload__tip"
|
|
27
|
-
}, z = /* @__PURE__ */ T(() => /* @__PURE__ */ i("i", { class: "el-icon-plus" }, null, -1)), G = { class: "upload-file-list" }, J = ["title"], L = ["href"], Q = ["title"], R = ["title", "onClick"], X = h({ componentName: M.FieldWidget }), Y = /* @__PURE__ */ h({
|
|
28
|
-
...X,
|
|
29
|
-
__name: "file-upload-widget",
|
|
30
|
-
props: { ...j },
|
|
31
|
-
setup(t, { expose: v }) {
|
|
32
|
-
const g = t, { fieldEditor: y, fieldKey: k, uploadData: w, uploadBtnHidden: b, uploadTip: p, exposed: F, rules: I, attrs: n, events: C, isError: E, errorMsg: S, removeUploadFile: x, fieldObj: V } = H(g), B = U({
|
|
33
|
-
"--select-file-action": `'${a.i18nt("render.hint.selectFile")}'`
|
|
34
|
-
});
|
|
35
|
-
return v({ ...F }), (N, Z) => {
|
|
36
|
-
const O = W("el-upload");
|
|
37
|
-
return r(), m(A, c(N.$props, {
|
|
38
|
-
propOptions: { fieldObj: e(V), rules: e(I), isError: e(E), errorMsg: e(S) }
|
|
39
|
-
}), {
|
|
40
|
-
default: l(() => [
|
|
41
|
-
(r(), m(O, c({
|
|
42
|
-
ref_key: "fieldEditor",
|
|
43
|
-
ref: y,
|
|
44
|
-
key: e(k)
|
|
45
|
-
}, e(n), D(e(C)), {
|
|
46
|
-
data: e(w),
|
|
47
|
-
style: B.value,
|
|
48
|
-
class: [{ hideUploadDiv: e(b) }, "dynamicPseudoAfter"]
|
|
49
|
-
}), {
|
|
50
|
-
tip: l(() => [
|
|
51
|
-
e(p) ? (r(), _("div", q, u(e(p)), 1)) : f("", !0)
|
|
52
|
-
]),
|
|
53
|
-
default: l(() => [
|
|
54
|
-
s(d, { name: "@el-plus" }),
|
|
55
|
-
z
|
|
56
|
-
]),
|
|
57
|
-
file: l(({ file: o }) => [
|
|
58
|
-
i("div", G, [
|
|
59
|
-
i("span", {
|
|
60
|
-
class: "upload-file-name",
|
|
61
|
-
title: o.name
|
|
62
|
-
}, u(o.name), 9, J),
|
|
63
|
-
i("a", {
|
|
64
|
-
href: o.url,
|
|
65
|
-
download: "",
|
|
66
|
-
target: "_blank"
|
|
67
|
-
}, [
|
|
68
|
-
i("span", {
|
|
69
|
-
class: "el-icon-download file-action",
|
|
70
|
-
title: e(a).i18nt("render.hint.downloadFile")
|
|
71
|
-
}, [
|
|
72
|
-
s(d, { name: "@el-download" })
|
|
73
|
-
], 8, Q)
|
|
74
|
-
], 8, L),
|
|
75
|
-
e(n).disabled ? f("", !0) : (r(), _("span", {
|
|
76
|
-
key: 0,
|
|
77
|
-
class: "file-action",
|
|
78
|
-
title: e(a).i18nt("render.hint.removeFile"),
|
|
79
|
-
onClick: (ee) => e(x)(o.name, o.url, o.uid)
|
|
80
|
-
}, [
|
|
81
|
-
s(d, { name: "@el-delete" })
|
|
82
|
-
], 8, R))
|
|
83
|
-
])
|
|
84
|
-
]),
|
|
85
|
-
_: 1
|
|
86
|
-
}, 16, ["data", "style", "class"]))
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
89
|
-
}, 16, ["propOptions"]);
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
const Ie = /* @__PURE__ */ K(Y, [["__scopeId", "data-v-8911b66d"]]);
|
|
94
|
-
export {
|
|
95
|
-
Ie as default
|
|
96
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { defineComponent as N, computed as i, resolveComponent as q, openBlock as s, createBlock as u, normalizeProps as E, guardReactiveProps as F, withCtx as p, unref as e, normalizeClass as b, createSlots as H, renderSlot as v, createElementBlock as c, toDisplayString as $, createCommentVNode as h, createVNode as y, mergeProps as k, createElementVNode as g, normalizeStyle as O } from "vue";
|
|
2
|
-
import { I as W } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as x } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
|
|
4
|
-
import { _ as z } from "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
5
|
-
import { u as B } from "./fieldobj-b3bb7e94.js";
|
|
6
|
-
import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
-
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./uuid-13f918d6.js";
|
|
9
|
-
import "./enum-type-4f7f8848.js";
|
|
10
|
-
import "./index-f18071b7.js";
|
|
11
|
-
import "./enum-type-7d30197c.js";
|
|
12
|
-
import "./baseImp-39f6ee3c.js";
|
|
13
|
-
import "./icon-e9532b43.js";
|
|
14
|
-
import "./expression-75bf8097.js";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./dialog-50ad7970.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-93c9bbb8.js";
|
|
19
|
-
const M = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "el-form-item__error"
|
|
22
|
-
}, T = { class: "el-form-item__content" }, j = {
|
|
23
|
-
key: 0,
|
|
24
|
-
class: "el-form-item__error"
|
|
25
|
-
}, D = /* @__PURE__ */ N({
|
|
26
|
-
__name: "form-item-wrapper",
|
|
27
|
-
props: {
|
|
28
|
-
...W
|
|
29
|
-
},
|
|
30
|
-
setup(I) {
|
|
31
|
-
const m = I, { getAttrProp: l } = B(m), S = i(() => l == null ? void 0 : l("fieldName")), n = i(() => l == null ? void 0 : l("label")), a = i(() => l == null ? void 0 : l("labelHidden")), w = i(() => l == null ? void 0 : l("labelTooltip")), _ = i(() => l == null ? void 0 : l("required")), t = i(() => {
|
|
32
|
-
var o;
|
|
33
|
-
return (o = m.propOptions) == null ? void 0 : o.isError;
|
|
34
|
-
}), d = i(() => {
|
|
35
|
-
var o;
|
|
36
|
-
return (o = m.propOptions) == null ? void 0 : o.errorMsg;
|
|
37
|
-
});
|
|
38
|
-
return (o, R) => {
|
|
39
|
-
const C = q("el-form-item");
|
|
40
|
-
return s(), u(x, E(F(o.$props)), {
|
|
41
|
-
default: p(({ data: r }) => {
|
|
42
|
-
var f;
|
|
43
|
-
return [
|
|
44
|
-
r.formItemFlag ? (s(), u(C, {
|
|
45
|
-
key: 0,
|
|
46
|
-
label: `${e(n) || ""}${r.labelSuffix || ""}`,
|
|
47
|
-
"label-width": r.labelWidth,
|
|
48
|
-
title: e(w),
|
|
49
|
-
rules: (f = m.propOptions) == null ? void 0 : f.rules,
|
|
50
|
-
prop: e(S),
|
|
51
|
-
size: r.size,
|
|
52
|
-
class: b(["inmessage", [e(_) ? "required" : "", e(t) ? "is-error" : "", e(a) ? "labelHidden" : ""]])
|
|
53
|
-
}, H({
|
|
54
|
-
default: p(() => [
|
|
55
|
-
v(o.$slots, "default", { data: r }, void 0, !0),
|
|
56
|
-
e(t) ? (s(), c("div", M, $(e(d)), 1)) : h("", !0)
|
|
57
|
-
]),
|
|
58
|
-
_: 2
|
|
59
|
-
}, [
|
|
60
|
-
e(n) ? {
|
|
61
|
-
name: "label",
|
|
62
|
-
fn: p(() => [
|
|
63
|
-
y(z, k(o.$props, {
|
|
64
|
-
label: `${e(n) || ""}${r.labelSuffix || ""}`,
|
|
65
|
-
labelAlign: r.labelAlign
|
|
66
|
-
}), null, 16, ["label", "labelAlign"])
|
|
67
|
-
]),
|
|
68
|
-
key: "0"
|
|
69
|
-
} : void 0
|
|
70
|
-
]), 1032, ["label", "label-width", "title", "rules", "prop", "size", "class"])) : (s(), c("div", {
|
|
71
|
-
key: 1,
|
|
72
|
-
class: b(["el-form-item asterisk-left inmessage", [e(_) ? "required" : "", e(t) ? "is-error" : "", e(a) ? "labelHidden" : ""]])
|
|
73
|
-
}, [
|
|
74
|
-
g("label", {
|
|
75
|
-
class: "el-form-item__label",
|
|
76
|
-
style: O({ width: e(a) ? "0px" : r.labelWidth })
|
|
77
|
-
}, [
|
|
78
|
-
y(z, k(o.$props, {
|
|
79
|
-
labelAlign: r.labelAlign
|
|
80
|
-
}), null, 16, ["labelAlign"])
|
|
81
|
-
], 4),
|
|
82
|
-
g("div", T, [
|
|
83
|
-
v(o.$slots, "default", { data: r }, void 0, !0),
|
|
84
|
-
e(t) ? (s(), c("div", j, $(e(d)), 1)) : h("", !0)
|
|
85
|
-
])
|
|
86
|
-
], 2))
|
|
87
|
-
];
|
|
88
|
-
}),
|
|
89
|
-
_: 3
|
|
90
|
-
}, 16);
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
const te = /* @__PURE__ */ V(D, [["__scopeId", "data-v-547c5347"]]);
|
|
95
|
-
export {
|
|
96
|
-
te as default
|
|
97
|
-
};
|