hlrender 0.0.5 → 0.0.7
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-21229208.js → affix-widget-e6411005.js} +16 -16
- package/{alert-widget-1cb6bb3e.js → alert-widget-fac74816.js} +16 -16
- package/{anchor-widget-467e8ee4.js → anchor-widget-e1efedc7.js} +13 -13
- package/auto-complete-widget-50d7b90a.js +72 -0
- package/{avatar-widget-dfd9713b.js → avatar-widget-9d1dad74.js} +16 -16
- package/{backtop-widget-697513d6.js → backtop-widget-593a5d52.js} +16 -16
- package/{badge-widget-64250b41.js → badge-widget-b8eae1cb.js} +16 -16
- package/{baseImp-a5afc9d4.js → baseImp-0b23cff3.js} +3152 -3004
- package/{breadcrumb-widget-1fda3fd7.js → breadcrumb-widget-31c6c86c.js} +13 -13
- package/{button-widget-a4a41575.js → button-widget-fa8740d4.js} +16 -16
- package/{cache-widget-95b15a75.js → cache-widget-91d4e590.js} +15 -15
- package/{card-widget-42898045.js → card-widget-2a70c661.js} +24 -24
- package/{carousel-widget-7d5a3260.js → carousel-widget-c1e75285.js} +17 -17
- package/cascader-widget-ed199446.js +95 -0
- package/{chart-widget-c068d9b8.js → chart-widget-967b2a44.js} +13 -13
- package/checkbox-widget-26d66a8c.js +77 -0
- package/{collapse-widget-5a1ae269.js → collapse-widget-d4335fae.js} +17 -17
- package/color-picker-widget-8f9952e5.js +54 -0
- package/{cont-cell-widget-8c8647b3.js → cont-cell-widget-a6fa19c4.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-ecff677b.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-01188dc6.js} +5 -5
- package/{cont-widget-beff1973.js → cont-widget-530e9875.js} +4 -4
- package/content-wrapper-712d6457.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a330c325.js → content-wrapper.vue_vue_type_script_setup_true_lang-197c5f16.js} +8 -8
- package/date-picker-range-widget-e2c7d58f.js +70 -0
- package/date-picker-widget-08a87c05.js +76 -0
- package/default-slot-widget-1d91a853.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e3542f4e.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-38161200.js} +7 -7
- package/{descriptions-widget-5d24783a.js → descriptions-widget-0d8bdbfc.js} +14 -14
- package/{dialog-50ad7970.js → dialog-6a3f6732.js} +2 -2
- package/{dialog-widget-186e74c4.js → dialog-widget-9408347a.js} +15 -15
- package/{divider-widget-4c4c4086.js → divider-widget-5e68b3a1.js} +16 -16
- package/{drag-wrapper-f721ce98.js → drag-wrapper-c6eaec37.js} +16 -16
- package/{drawer-widget-8cbaa9bd.js → drawer-widget-47aa92e8.js} +15 -15
- package/{dropdown-widget-bf769c6d.js → dropdown-widget-8e9ed75b.js} +14 -14
- package/{empty-widget-19b5b9a5.js → empty-widget-a0730724.js} +16 -16
- package/{enum-type-7d30197c.js → enum-type-535dad7d.js} +38 -38
- package/{enum-type-4f7f8848.js → enum-type-58fa8fed.js} +95 -78
- package/{expression-75bf8097.js → expression-121c11fa.js} +964 -957
- package/feedback-widget-9e00e603.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-78836184.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e39bb04c.js} +5 -5
- package/{fieldobj-b3bb7e94.js → fieldobj-c5438b43.js} +1 -1
- package/file-upload-widget-7378c627.js +96 -0
- package/form-item-wrapper-d1b5e440.js +86 -0
- package/form-widget-b33a2566.js +213 -0
- package/{grid-col-widget-02d86dc9.js → grid-col-widget-d3357c9d.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2d6457c7.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8560fb8f.js} +5 -5
- package/{grid-widget-383ec17e.js → grid-widget-48b72160.js} +5 -5
- package/{html-text-widget-2e4c3a53.js → html-text-widget-237d1b33.js} +17 -17
- package/{iframe-widget-3ac8dc6b.js → iframe-widget-273318e5.js} +22 -22
- package/{image-widget-0c93b01d.js → image-widget-d424d825.js} +13 -13
- package/{index-d63b7e5f.js → index-1388e53c.js} +196 -198
- package/{index-72739fed.js → index-87cd501e.js} +4 -4
- package/{index-93c9bbb8.js → index-ff1f52fe.js} +1 -1
- package/input-number-widget-e0645e80.js +64 -0
- package/input-widget-c6dadb63.js +69 -0
- package/{label-wrapper-11b0324f.js → label-wrapper-33d56c8e.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js → label-wrapper.vue_vue_type_style_index_0_lang-63f6d717.js} +3 -3
- package/{link-widget-ac2edb75.js → link-widget-4b2c0d3f.js} +16 -16
- package/{ltable-col-widget-2755e978.js → ltable-col-widget-50dbd3ab.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-94b30f47.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-416d4b79.js} +10 -10
- package/{ltable-widget-f373cddd.js → ltable-widget-64a03c7f.js} +5 -5
- package/{menu-widget-24261d4f.js → menu-widget-8a0f5b99.js} +14 -14
- package/{model-widget-f41811fc.js → model-widget-202ab068.js} +13 -13
- package/multirow-8598e0c9.js +224 -0
- package/{multirow-widget-d9cfe4de.js → multirow-widget-5a66f169.js} +34 -34
- package/package.json +1 -1
- package/{pagination-widget-e6187e94.js → pagination-widget-2eccbda8.js} +13 -13
- package/picture-upload-widget-b82bcba4.js +100 -0
- package/{progress-widget-1d22f227.js → progress-widget-3ca73ff9.js} +14 -14
- package/{propresult-5bc45f96.js → propresult-8fe88cb3.js} +1 -1
- package/radio-widget-3151002b.js +77 -0
- package/{range-widget-4dba2d13.js → range-widget-bc7a5fce.js} +16 -16
- package/rate-widget-9f6f290b.js +54 -0
- package/render.es.js +30 -30
- package/render.style.css +1 -1
- package/render.umd.js +413 -413
- package/{result-widget-412cbb44.js → result-widget-a4145b6b.js} +14 -14
- package/rich-editor-widget-fc1b0f9a.js +75 -0
- package/{router-widget-b0061479.js → router-widget-7ea252d3.js} +13 -13
- package/{select-widget-de2520cb.js → select-widget-2dd170d7.js} +97 -97
- package/{sfc-0aebdf49.js → sfc-626b1745.js} +84 -84
- package/share-field-8904a74c.js +693 -0
- package/{share-file-fdedeed7.js → share-file-0bf967c8.js} +42 -42
- package/slider-widget-fc3cbebc.js +60 -0
- package/{slot-53d3c887.js → slot-fd9f6a46.js} +6 -6
- package/{static-text-widget-834af7a4.js → static-text-widget-dc9aa365.js} +14 -14
- package/{steps-widget-546c6031.js → steps-widget-9c1ff1b9.js} +13 -13
- package/subMenu-widget-80732eca.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-36500905.js → subMenu-widget.vue_vue_type_script_setup_true_lang-05178a62.js} +7 -7
- package/switch-widget-40efd02c.js +54 -0
- package/{tab-pane-widget-336a1b55.js → tab-pane-widget-3d8d27db.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-172a1039.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-da3a38b4.js} +5 -5
- package/table-col-widget-99ed9a77.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a7e01679.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-de44bddf.js} +17 -17
- package/{table-widget-92661b99.js → table-widget-4e31179a.js} +22 -22
- package/{tabs-widget-9d0e6fb1.js → tabs-widget-904c57ad.js} +9 -9
- package/{tag-widget-2a6300c5.js → tag-widget-d8be4427.js} +16 -16
- package/{text-widget-3c68b327.js → text-widget-18ec3593.js} +16 -16
- package/textarea-widget-9614fa8c.js +54 -0
- package/time-picker-range-widget-04cf7efd.js +56 -0
- package/time-picker-widget-2f8627a4.js +55 -0
- package/time-select-widget-be7a9f31.js +55 -0
- package/{tmpl-widget-085a4b38.js → tmpl-widget-dd8d49e3.js} +14 -14
- package/tree-select-widget-7e6debdc.js +139 -0
- package/{tree-widget-c9f3d308.js → tree-widget-5b5d1bb9.js} +13 -13
- package/{uuid-13f918d6.js → uuid-35d50fb6.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3378a160.js} +25 -25
- package/{wrapper-widget-004436b3.js → wrapper-widget-adf9d472.js} +6 -6
- package/auto-complete-widget-a34a7978.js +0 -72
- package/cascader-widget-9d5a5c5d.js +0 -95
- package/checkbox-widget-fea3777f.js +0 -77
- package/color-picker-widget-5a128992.js +0 -54
- package/content-wrapper-d16e1925.js +0 -14
- package/date-picker-range-widget-aa390ac5.js +0 -70
- package/date-picker-widget-7b5e849e.js +0 -76
- package/default-slot-widget-a71ea3ec.js +0 -24
- package/feedback-widget-14e6fe79.js +0 -24
- package/file-upload-widget-0ef9af80.js +0 -96
- package/form-item-wrapper-2794e39b.js +0 -97
- package/form-widget-9fd60fcd.js +0 -191
- package/input-number-widget-0db4f563.js +0 -64
- package/input-widget-0b2d6bc5.js +0 -69
- package/multirow-157d0dca.js +0 -230
- package/picture-upload-widget-1ae3d40c.js +0 -100
- package/radio-widget-d23f912d.js +0 -77
- package/rate-widget-27336bb7.js +0 -54
- package/rich-editor-widget-438a2b82.js +0 -75
- package/share-field-7ba5ba17.js +0 -693
- package/slider-widget-d598ba55.js +0 -60
- package/subMenu-widget-19378708.js +0 -16
- package/switch-widget-dd9c74a9.js +0 -54
- package/table-col-widget-51085971.js +0 -20
- package/textarea-widget-732756de.js +0 -54
- package/time-picker-range-widget-d56922c1.js +0 -56
- package/time-picker-widget-4f4f130a.js +0 -55
- package/time-select-widget-9f72137e.js +0 -55
- package/tree-select-widget-fbfbcf97.js +0 -92
|
@@ -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-7ba5ba17.js";
|
|
5
|
-
import L from "./form-item-wrapper-2794e39b.js";
|
|
6
|
-
import { w as R } from "./expression-75bf8097.js";
|
|
7
|
-
import { g as U } from "./slot-53d3c887.js";
|
|
8
|
-
import { m as $, c as q } from "./uuid-13f918d6.js";
|
|
9
|
-
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./multirow-157d0dca.js";
|
|
11
|
-
import "./baseImp-a5afc9d4.js";
|
|
12
|
-
import "./enum-type-7d30197c.js";
|
|
13
|
-
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-50ad7970.js";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-d63b7e5f.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.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-e3542f4e.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-5c072980.js";
|
|
7
|
-
import "./uuid-13f918d6.js";
|
|
8
|
-
import "./index-d63b7e5f.js";
|
|
9
|
-
import "./enum-type-7d30197c.js";
|
|
10
|
-
import "./baseImp-a5afc9d4.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-53d3c887.js";
|
|
20
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-a330c325.js";
|
|
21
|
-
import "./drag-wrapper-f721ce98.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-78836184.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-f721ce98.js";
|
|
5
|
-
import "./baseImp-a5afc9d4.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-d63b7e5f.js";
|
|
15
|
-
import "./slot-53d3c887.js";
|
|
16
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.js";
|
|
18
|
-
import "./index-93c9bbb8.js";
|
|
19
|
-
import "./fieldobj-b3bb7e94.js";
|
|
20
|
-
import "./share-field-7ba5ba17.js";
|
|
21
|
-
import "./multirow-157d0dca.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-fdedeed7.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-2794e39b.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-7ba5ba17.js";
|
|
12
|
-
import "./multirow-157d0dca.js";
|
|
13
|
-
import "./baseImp-a5afc9d4.js";
|
|
14
|
-
import "./uuid-13f918d6.js";
|
|
15
|
-
import "./enum-type-7d30197c.js";
|
|
16
|
-
import "./dialog-50ad7970.js";
|
|
17
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "element-plus";
|
|
19
|
-
import "./index-d63b7e5f.js";
|
|
20
|
-
import "./slot-53d3c887.js";
|
|
21
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.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-5c072980.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-d63b7e5f.js";
|
|
11
|
-
import "./enum-type-7d30197c.js";
|
|
12
|
-
import "./baseImp-a5afc9d4.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
|
-
};
|
package/form-widget-9fd60fcd.js
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { ref as T, onMounted as te, nextTick as ve, defineComponent as oe, resolveComponent as _e, resolveDirective as ge, openBlock as U, createBlock as X, mergeProps as H, unref as h, withCtx as Y, withDirectives as he, toHandlers as Fe, createVNode as Ce } from "vue";
|
|
2
|
-
import { I as De } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as be } from "./drag-wrapper-f721ce98.js";
|
|
4
|
-
import { _ as we } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.js";
|
|
5
|
-
import { w as q, b as Z, c as x, f as b, e as Ve } from "./expression-75bf8097.js";
|
|
6
|
-
import { u as We } from "./icon-e9532b43.js";
|
|
7
|
-
import { u as Le, a as Oe } from "./multirow-157d0dca.js";
|
|
8
|
-
import { i as Me } from "./enum-type-4f7f8848.js";
|
|
9
|
-
import { $ as Ne, P as ee, b as je, B as Ee } from "./baseImp-a5afc9d4.js";
|
|
10
|
-
import { f as Pe } from "./index-d63b7e5f.js";
|
|
11
|
-
import { b as Se, a as xe, u as Ae } from "./share-field-7ba5ba17.js";
|
|
12
|
-
import { W as Re } from "./enum-type-7d30197c.js";
|
|
13
|
-
import { F as $e } from "./slot-53d3c887.js";
|
|
14
|
-
import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
function ye(n) {
|
|
16
|
-
const w = n.designer, s = w == null ? void 0 : w.pageConfig, V = n == null ? void 0 : n.widgetList, A = T({}), L = {}, { fieldModel: O, fieldName: R, fieldEditor: v, attrs: M, events: F, getFieldOptions: N, exposed: _, fieldObj: $, watchOption: j, propResultOpt: c, extendAttrs: g } = Se(n), { off$: r, on$: C, emit$: k, broadcast: E } = Oe();
|
|
17
|
-
var { instance: W } = We();
|
|
18
|
-
const { setAllRefList: P } = xe(A.value), z = { designState: n == null ? void 0 : n.designState, pageConfig: s, globalConfig: c == null ? void 0 : c.globalConfig }, { formModel: y, setData: ae, getData: K, clearData: G } = Le(V, { ...z, formData: O.value }), { handleFunc: I } = Ae({ options: s }, z), S = T({}), le = () => {
|
|
19
|
-
r(b.fieldChange), C(b.fieldChange, (e) => {
|
|
20
|
-
de(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), _ == null || _.setValue(y);
|
|
21
|
-
});
|
|
22
|
-
}, ie = () => {
|
|
23
|
-
r(b.fieldValidation), C(b.fieldValidation, (e) => {
|
|
24
|
-
var o;
|
|
25
|
-
(o = v.value) == null || o.validateField(e == null ? void 0 : e.propName);
|
|
26
|
-
});
|
|
27
|
-
}, ne = () => {
|
|
28
|
-
r(b.fieldRuleChange), C(b.fieldRuleChange, (e) => {
|
|
29
|
-
var o;
|
|
30
|
-
S.value = Object.assign(S.value, { [e == null ? void 0 : e.fieldName]: (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((t) => ({ required: t.required, message: t.message, trigger: t.trigger, validator: t.validator })) }), M.value.rules = S.value;
|
|
31
|
-
});
|
|
32
|
-
}, de = (e, o, t) => {
|
|
33
|
-
I(F.value.formDataChange, { field: { fieldName: e, newValue: o, oldValue: t }, formModel: y });
|
|
34
|
-
}, se = () => {
|
|
35
|
-
I(F.value.formCreated);
|
|
36
|
-
}, re = () => {
|
|
37
|
-
I(F.value.formMounted);
|
|
38
|
-
}, ce = () => {
|
|
39
|
-
ne(), le(), ie(), se();
|
|
40
|
-
}, fe = (e) => {
|
|
41
|
-
var o;
|
|
42
|
-
(o = v.value) == null || o.clearValidate(e);
|
|
43
|
-
}, ue = () => {
|
|
44
|
-
P(Re.resetField), ve(() => {
|
|
45
|
-
fe();
|
|
46
|
-
});
|
|
47
|
-
}, me = (e) => {
|
|
48
|
-
let o = [];
|
|
49
|
-
for (let d in e) {
|
|
50
|
-
var t = e[d];
|
|
51
|
-
t == null || t.forEach((f) => {
|
|
52
|
-
const D = Pe(V.value, (a) => Ee.getName(a) === f.field), { getFieldOptions: u } = je(D[0], n), m = u("label");
|
|
53
|
-
f.message && o.push(Ve(m ? "【" + m + "】" : "", f.message, ":"));
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
return o;
|
|
57
|
-
}, pe = (e = !0, o = !1) => {
|
|
58
|
-
var D, u, m;
|
|
59
|
-
let t = K();
|
|
60
|
-
if (!e)
|
|
61
|
-
return t;
|
|
62
|
-
let d = function() {
|
|
63
|
-
}, f = new Promise(function(a, p) {
|
|
64
|
-
d = function(l, i) {
|
|
65
|
-
i ? p(i) : a(l);
|
|
66
|
-
};
|
|
67
|
-
});
|
|
68
|
-
return (D = v.value) != null && D.validate ? (m = (u = v.value) == null ? void 0 : u.validate) == null || m.call(u, (a, p) => {
|
|
69
|
-
if (a)
|
|
70
|
-
d(t);
|
|
71
|
-
else {
|
|
72
|
-
var l = me(p);
|
|
73
|
-
if (o)
|
|
74
|
-
Ne.multiple(l).then((B) => {
|
|
75
|
-
d(t);
|
|
76
|
-
});
|
|
77
|
-
else {
|
|
78
|
-
var i = l.join(";");
|
|
79
|
-
d(t, i);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}) : d(t), f;
|
|
83
|
-
}, J = (e) => {
|
|
84
|
-
ae(e), E(q.ContainerWidget, Z.setFormData, e, W), E(q.FieldWidget, Z.setFormData, e, W);
|
|
85
|
-
}, Q = (e) => new Promise((o, t) => {
|
|
86
|
-
const d = (a) => {
|
|
87
|
-
var l, i, B;
|
|
88
|
-
const p = (l = g.value) != null && l.formDataLoaded ? (B = (i = g.value) == null ? void 0 : i.formDataLoaded) == null ? void 0 : B.call(i, K(), a) : a;
|
|
89
|
-
p ? (J(p), o(p)) : t();
|
|
90
|
-
}, f = () => {
|
|
91
|
-
j(e, x.newDataSource, void 0, (a) => {
|
|
92
|
-
d(a);
|
|
93
|
-
});
|
|
94
|
-
}, D = () => {
|
|
95
|
-
j(e, x.editDataSource, void 0, (a) => {
|
|
96
|
-
var l, i;
|
|
97
|
-
((i = (l = g.value) == null ? void 0 : l.needFormAdd) == null ? void 0 : i.call(l, a)) ? m && f() : d(a);
|
|
98
|
-
});
|
|
99
|
-
}, u = ee.getValue(N(x.editDataSource, !0)) !== null, m = ee.getValue(N(x.newDataSource, !0)) !== null;
|
|
100
|
-
u ? D() : m && f();
|
|
101
|
-
});
|
|
102
|
-
return ce(), te(() => {
|
|
103
|
-
Me(), re();
|
|
104
|
-
}), {
|
|
105
|
-
widgetRefList: A,
|
|
106
|
-
allWidgetRefList: L,
|
|
107
|
-
fieldEditor: v,
|
|
108
|
-
formModel: y,
|
|
109
|
-
pageConfig: s,
|
|
110
|
-
widgetList: V,
|
|
111
|
-
fieldModel: O,
|
|
112
|
-
fieldName: R,
|
|
113
|
-
attrs: M,
|
|
114
|
-
extendAttrs: g,
|
|
115
|
-
events: F,
|
|
116
|
-
rules: S,
|
|
117
|
-
loadData: Q,
|
|
118
|
-
clearData: G,
|
|
119
|
-
exposed: {
|
|
120
|
-
..._,
|
|
121
|
-
setValue: J,
|
|
122
|
-
getValue: pe,
|
|
123
|
-
clearData: G,
|
|
124
|
-
resetField: ue,
|
|
125
|
-
loadData: Q,
|
|
126
|
-
emit$: k
|
|
127
|
-
},
|
|
128
|
-
fieldObj: $
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
const Ie = oe({ componentName: q.ContainerWidget }), Be = /* @__PURE__ */ oe({
|
|
132
|
-
...Ie,
|
|
133
|
-
__name: "form-widget",
|
|
134
|
-
props: { ...De },
|
|
135
|
-
setup(n, { expose: w }) {
|
|
136
|
-
var g;
|
|
137
|
-
const s = n, { exposed: V, fieldModel: A, formModel: L, fieldEditor: O, attrs: R, events: v, widgetRefList: M, extendAttrs: F, fieldName: N, fieldObj: _, loadData: $ } = ye({ ...s, widgetList: (g = s == null ? void 0 : s.widget) == null ? void 0 : g.widgetList }), j = N.value;
|
|
138
|
-
$e.globalProvide({
|
|
139
|
-
globalFormName: j
|
|
140
|
-
});
|
|
141
|
-
const c = T(!1);
|
|
142
|
-
return te(() => {
|
|
143
|
-
var r;
|
|
144
|
-
(r = F.value) != null && r.loadDataWhenInit && !s.designState && (c.value = !0, $(!0).then((C) => {
|
|
145
|
-
c.value = !1;
|
|
146
|
-
}).catch((C) => {
|
|
147
|
-
c.value = !1;
|
|
148
|
-
}));
|
|
149
|
-
}), w({ ...V }), (r, C) => {
|
|
150
|
-
const k = _e("el-form"), E = ge("loading");
|
|
151
|
-
return U(), X(we, H(r.$props, {
|
|
152
|
-
"prop-options": { fieldObj: h(_) }
|
|
153
|
-
}), {
|
|
154
|
-
default: Y(({ data: W }) => {
|
|
155
|
-
var P;
|
|
156
|
-
return [
|
|
157
|
-
he((U(), X(k, H({
|
|
158
|
-
ref_key: "fieldEditor",
|
|
159
|
-
ref: O,
|
|
160
|
-
model: h(L)
|
|
161
|
-
}, h(R), Fe(h(v)), {
|
|
162
|
-
class: W.injectClass,
|
|
163
|
-
key: (P = h(_)) == null ? void 0 : P.fieldKey
|
|
164
|
-
}), {
|
|
165
|
-
default: Y(() => [
|
|
166
|
-
Ce(be, H(r.$props, {
|
|
167
|
-
dragClass: "formDrag",
|
|
168
|
-
model: h(L),
|
|
169
|
-
provideModel: !0,
|
|
170
|
-
"component-class": W.componentWrapperClass,
|
|
171
|
-
refList: h(M)
|
|
172
|
-
}), null, 16, ["model", "component-class", "refList"])
|
|
173
|
-
]),
|
|
174
|
-
_: 2
|
|
175
|
-
}, 1040, ["model", "class"])), [
|
|
176
|
-
[E, c.value]
|
|
177
|
-
])
|
|
178
|
-
];
|
|
179
|
-
}),
|
|
180
|
-
_: 1
|
|
181
|
-
}, 16, ["prop-options"]);
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
const He = /* @__PURE__ */ ke(Be, [["__scopeId", "data-v-2706ad24"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
186
|
-
__proto__: null,
|
|
187
|
-
default: He
|
|
188
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
189
|
-
export {
|
|
190
|
-
at as _
|
|
191
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, resolveComponent as N, openBlock as r, createBlock as m, mergeProps as l, unref as e, withCtx as j, createElementVNode as F, isRef as I, toHandlers as O, createElementBlock as W, toDisplayString as h, createCommentVNode as z } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-7ba5ba17.js";
|
|
3
|
-
import { I as M } from "./field-base-5547436d.js";
|
|
4
|
-
import P from "./form-item-wrapper-2794e39b.js";
|
|
5
|
-
import { w as S } from "./expression-75bf8097.js";
|
|
6
|
-
import { _ as T } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
-
import "./enum-type-4f7f8848.js";
|
|
8
|
-
import "./multirow-157d0dca.js";
|
|
9
|
-
import "./baseImp-a5afc9d4.js";
|
|
10
|
-
import "./uuid-13f918d6.js";
|
|
11
|
-
import "./enum-type-7d30197c.js";
|
|
12
|
-
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-50ad7970.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./index-d63b7e5f.js";
|
|
17
|
-
import "./slot-53d3c887.js";
|
|
18
|
-
import "./widget-base-4c2d6265.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.js";
|
|
20
|
-
import "./index-93c9bbb8.js";
|
|
21
|
-
import "./fieldobj-b3bb7e94.js";
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
|
|
23
|
-
const A = { class: "input-with-unit" }, D = {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "unit"
|
|
26
|
-
}, H = d({ componentName: S.FieldWidget }), K = /* @__PURE__ */ d({
|
|
27
|
-
...H,
|
|
28
|
-
__name: "input-number-widget",
|
|
29
|
-
props: { ...M },
|
|
30
|
-
setup(u, { expose: _ }) {
|
|
31
|
-
const a = u, { fieldEditor: c, fieldKey: f, fieldModel: t, rules: g, attrs: y, events: b, extendAttrs: i, exposed: x, isError: v, errorMsg: k, fieldObj: E } = B(a);
|
|
32
|
-
return _({ ...x }), (V, s) => {
|
|
33
|
-
const w = N("el-input-number");
|
|
34
|
-
return r(), m(P, l(V.$props, {
|
|
35
|
-
propOptions: { fieldObj: e(E), rules: e(g), isError: e(v), errorMsg: e(k) }
|
|
36
|
-
}), {
|
|
37
|
-
default: j(({ data: o }) => {
|
|
38
|
-
var p, n;
|
|
39
|
-
return [
|
|
40
|
-
F("div", A, [
|
|
41
|
-
(r(), m(w, l({
|
|
42
|
-
ref_key: "fieldEditor",
|
|
43
|
-
ref: c,
|
|
44
|
-
modelValue: e(t),
|
|
45
|
-
"onUpdate:modelValue": s[0] || (s[0] = (C) => I(t) ? t.value = C : null),
|
|
46
|
-
key: e(f)
|
|
47
|
-
}, e(y), O(e(b)), {
|
|
48
|
-
size: o.size,
|
|
49
|
-
class: o.injectClass,
|
|
50
|
-
style: o.injectStyle
|
|
51
|
-
}), null, 16, ["modelValue", "size", "class", "style"])),
|
|
52
|
-
(p = e(i)) != null && p.unitText ? (r(), W("span", D, h((n = e(i)) == null ? void 0 : n.unitText), 1)) : z("", !0)
|
|
53
|
-
])
|
|
54
|
-
];
|
|
55
|
-
}),
|
|
56
|
-
_: 1
|
|
57
|
-
}, 16, ["propOptions"]);
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
const ue = /* @__PURE__ */ T(K, [["__scopeId", "data-v-5f28c44f"]]);
|
|
62
|
-
export {
|
|
63
|
-
ue as default
|
|
64
|
-
};
|
package/input-widget-0b2d6bc5.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, resolveComponent as z, openBlock as i, createBlock as t, mergeProps as n, unref as r, withCtx as d, isRef as D, toHandlers as I, createSlots as M, renderList as N, resolveDynamicComponent as W, createCommentVNode as l } from "vue";
|
|
2
|
-
import { a as h } from "./enum-type-4f7f8848.js";
|
|
3
|
-
import { I as x } from "./field-base-5547436d.js";
|
|
4
|
-
import { b as A } from "./share-field-7ba5ba17.js";
|
|
5
|
-
import { g as B } from "./slot-53d3c887.js";
|
|
6
|
-
import L from "./form-item-wrapper-2794e39b.js";
|
|
7
|
-
import { w as P } from "./expression-75bf8097.js";
|
|
8
|
-
import { D as T } from "./drag-wrapper-f721ce98.js";
|
|
9
|
-
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./multirow-157d0dca.js";
|
|
11
|
-
import "./baseImp-a5afc9d4.js";
|
|
12
|
-
import "./uuid-13f918d6.js";
|
|
13
|
-
import "./enum-type-7d30197c.js";
|
|
14
|
-
import "./icon-e9532b43.js";
|
|
15
|
-
import "./dialog-50ad7970.js";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-d63b7e5f.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5c072980.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 $ = f({ componentName: P.FieldWidget }), le = /* @__PURE__ */ f({
|
|
25
|
-
...$,
|
|
26
|
-
__name: "input-widget",
|
|
27
|
-
props: { ...x },
|
|
28
|
-
setup(u, { expose: g }) {
|
|
29
|
-
const c = u, { fieldEditor: y, isError: w, errorMsg: b, fieldKey: k, fieldModel: o, rules: C, slots: V, attrs: j, extendAttrs: v, events: E, exposed: F, fieldObj: O } = A(c);
|
|
30
|
-
return g({ ...F }), (p, s) => {
|
|
31
|
-
const S = z("el-input");
|
|
32
|
-
return i(), t(L, n(p.$props, {
|
|
33
|
-
propOptions: { fieldObj: r(O), rules: r(C), isError: r(w), errorMsg: r(b) }
|
|
34
|
-
}), {
|
|
35
|
-
default: d(({ data: m }) => {
|
|
36
|
-
var a;
|
|
37
|
-
return [
|
|
38
|
-
(i(), t(S, n({
|
|
39
|
-
ref_key: "fieldEditor",
|
|
40
|
-
ref: y,
|
|
41
|
-
modelValue: r(o),
|
|
42
|
-
"onUpdate:modelValue": s[0] || (s[0] = (e) => D(o) ? o.value = e : null)
|
|
43
|
-
}, r(j), I(r(E)), {
|
|
44
|
-
class: [m.injectClass, "hide-spin-button"],
|
|
45
|
-
key: r(k),
|
|
46
|
-
style: m.injectStyle,
|
|
47
|
-
size: m.size
|
|
48
|
-
}), M({ _: 2 }, [
|
|
49
|
-
N(r(B)(r(V), p.designState, (a = r(v)) == null ? void 0 : a.slotable), (e) => ({
|
|
50
|
-
name: e == null ? void 0 : e.slotName,
|
|
51
|
-
fn: d(() => [
|
|
52
|
-
e != null && e.default ? (i(), t(W(e == null ? void 0 : e.default), { key: 0 })) : l("", !0),
|
|
53
|
-
e != null && e.widgetList ? (i(), t(T, n({ key: 1 }, p.$props, {
|
|
54
|
-
widget: e,
|
|
55
|
-
dragTip: r(h).i18nt("designer.hint.draggableArea1")
|
|
56
|
-
}), null, 16, ["widget", "dragTip"])) : l("", !0)
|
|
57
|
-
])
|
|
58
|
-
}))
|
|
59
|
-
]), 1040, ["modelValue", "class", "style", "size"]))
|
|
60
|
-
];
|
|
61
|
-
}),
|
|
62
|
-
_: 1
|
|
63
|
-
}, 16, ["propOptions"]);
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
export {
|
|
68
|
-
le as default
|
|
69
|
-
};
|