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
package/multirow-157d0dca.js
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { b as X, r as Y, B as Z, c as L } from "./baseImp-a5afc9d4.js";
|
|
2
|
-
import { g as I, c as R, t as T, r as k } from "./index-d63b7e5f.js";
|
|
3
|
-
import { c as d, F as rr, g as er } from "./slot-53d3c887.js";
|
|
4
|
-
import { j as K, o as v, d as b, p, l as tr, t as M, b as a } from "./enum-type-4f7f8848.js";
|
|
5
|
-
import { reactive as j, watch as sr } from "vue";
|
|
6
|
-
import { u as ur } from "./icon-e9532b43.js";
|
|
7
|
-
import { u as or, g as ir } from "./uuid-13f918d6.js";
|
|
8
|
-
import { f as H } from "./expression-75bf8097.js";
|
|
9
|
-
function nr() {
|
|
10
|
-
const t = {}, c = (r, e) => {
|
|
11
|
-
var s, o, i, n;
|
|
12
|
-
return r ? !!((s = r == null ? void 0 : r.proxy) != null && s.$options && ((i = (o = r == null ? void 0 : r.proxy) == null ? void 0 : o.$options) == null ? void 0 : i.componentName) === e || r != null && r.exposed && ((n = r == null ? void 0 : r.exposed) == null ? void 0 : n.componentName) === e) : !1;
|
|
13
|
-
}, $ = (r, e, s) => {
|
|
14
|
-
r && v(r).forEach((o) => {
|
|
15
|
-
c(r[o], e) && (s == null || s(r[o]));
|
|
16
|
-
});
|
|
17
|
-
}, g = (r, e, s) => {
|
|
18
|
-
r && (c(r, e) ? s == null || s(r) : g(r.parent, e, s));
|
|
19
|
-
};
|
|
20
|
-
return {
|
|
21
|
-
emit$(r, e) {
|
|
22
|
-
t[r] && t[r].forEach((s) => {
|
|
23
|
-
s(e);
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
on$(r, e) {
|
|
27
|
-
t[r] = t[r] || [], t[r].push(e);
|
|
28
|
-
},
|
|
29
|
-
off$(r, e) {
|
|
30
|
-
if (t[r]) {
|
|
31
|
-
if (K(e)) {
|
|
32
|
-
t[r].length = 0;
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
for (let s = 0; s < t[r].length; s++)
|
|
36
|
-
if (t[r][s] === e) {
|
|
37
|
-
t[r].splice(s, 1);
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
dispatch(r, e, s, o) {
|
|
43
|
-
if (!r)
|
|
44
|
-
return;
|
|
45
|
-
let i = o.parent || o.root;
|
|
46
|
-
g(i, r, (n) => {
|
|
47
|
-
var l;
|
|
48
|
-
n && (n.exposed.emit$ && n.exposed.emit$(e, s), n != null && n.proxy && ((l = n == null ? void 0 : n.proxy) == null || l.$emit(e, s)));
|
|
49
|
-
});
|
|
50
|
-
},
|
|
51
|
-
broadcast(r, e, s, o) {
|
|
52
|
-
$(o.widgetRefList, r, (i) => {
|
|
53
|
-
i.emit$ && i.emit$.call(i, e, s);
|
|
54
|
-
}), $(o.refList, r, (i) => {
|
|
55
|
-
i.emit$ && i.emit$.call(i, e, s);
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
const N = "", P = "_", J = (t, c) => K(c) ? t || "" : `${N}${t}${P}${c}`, y = (t) => {
|
|
61
|
-
if (t != null && t.includes(P)) {
|
|
62
|
-
var c = t.split(P);
|
|
63
|
-
const $ = c == null ? void 0 : c[0].substring(N.length), g = t.substring(N.length + $.length + 1);
|
|
64
|
-
return { id: $, groupName: g };
|
|
65
|
-
}
|
|
66
|
-
return { id: t };
|
|
67
|
-
};
|
|
68
|
-
var fr = /* @__PURE__ */ ((t) => (t[t.None = 0] = "None", t[t.Inner2Inner = 1] = "Inner2Inner", t[t.Inner2Outer = 2] = "Inner2Outer", t[t.Outer2Inner = 3] = "Outer2Inner", t[t.Outer2Outer = 4] = "Outer2Outer", t[t.DiffInner = 5] = "DiffInner", t))(fr || {});
|
|
69
|
-
const vr = (t, c) => {
|
|
70
|
-
const $ = y(t), g = $ == null ? void 0 : $.groupName, r = y(c), e = r == null ? void 0 : r.groupName;
|
|
71
|
-
return !g && !e ? 4 : g && !e ? 2 : g && e ? g !== e ? 5 : 1 : !g && e ? 3 : 0;
|
|
72
|
-
};
|
|
73
|
-
function gr(t, c) {
|
|
74
|
-
const $ = c == null ? void 0 : c.pageConfig, g = c == null ? void 0 : c.formData, r = j(g || {});
|
|
75
|
-
var { instance: e } = ur();
|
|
76
|
-
return {
|
|
77
|
-
formModel: r,
|
|
78
|
-
pageConfig: $,
|
|
79
|
-
widgetList: t,
|
|
80
|
-
initData: () => {
|
|
81
|
-
var l = I(t);
|
|
82
|
-
l == null || l.forEach((w) => {
|
|
83
|
-
const { computedDefaultValue: _, fieldName: F } = X(w.field, c, { s_fieldName: !0, s_defaultValue: !0 }, e);
|
|
84
|
-
F.value && b(r, { [F.value]: _.value });
|
|
85
|
-
});
|
|
86
|
-
},
|
|
87
|
-
setData: (l) => {
|
|
88
|
-
p(r) ? v(r).forEach((w) => {
|
|
89
|
-
l && l.hasOwnProperty(w) && (r[w] = tr(l[w]));
|
|
90
|
-
}) : b(r, l);
|
|
91
|
-
},
|
|
92
|
-
getData: () => Y(r),
|
|
93
|
-
clearData: () => {
|
|
94
|
-
for (let l in r)
|
|
95
|
-
delete r[l];
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
function cr() {
|
|
100
|
-
const t = (r, e) => k(r, { newName: !0, recordSource: !0 }, (s, o) => J(s || o, e)), c = (r, e, s) => {
|
|
101
|
-
var w, _;
|
|
102
|
-
a(s) && (s = `${(w = or()) == null ? void 0 : w.substring(0, 5)}_${!a(e == null ? void 0 : e.$index) && (e == null ? void 0 : e.$index) >= 0 ? e == null ? void 0 : e.$index : ""}`);
|
|
103
|
-
var o = er(r, !0);
|
|
104
|
-
let i = o == null ? void 0 : o.map((F) => t(F, s));
|
|
105
|
-
const n = g(i), { updateFomulaName: l } = L();
|
|
106
|
-
return (_ = v(n)) == null || _.forEach((F) => {
|
|
107
|
-
const C = n[F], B = C == null ? void 0 : C.name;
|
|
108
|
-
i = l(i, B, F);
|
|
109
|
-
}), { widget: i, id: ir(), data: e };
|
|
110
|
-
}, $ = (r, e, s, o) => {
|
|
111
|
-
if (e || (e = []), s && (e == null ? void 0 : e.length) < s) {
|
|
112
|
-
const l = s - (e == null ? void 0 : e.length);
|
|
113
|
-
for (var i = 0; i < l; i++) {
|
|
114
|
-
var n = {};
|
|
115
|
-
e == null || e.push(n);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return e == null ? void 0 : e.map((l, w) => {
|
|
119
|
-
const _ = o ? o(l, w) : l;
|
|
120
|
-
return c(r, _, w + "");
|
|
121
|
-
});
|
|
122
|
-
}, g = (r, e) => {
|
|
123
|
-
let s = {};
|
|
124
|
-
return r && T(r, (o) => {
|
|
125
|
-
const i = Z.getName(o), n = () => {
|
|
126
|
-
i && (s[i] = o == null ? void 0 : o._source);
|
|
127
|
-
};
|
|
128
|
-
e ? e(o) && n() : n();
|
|
129
|
-
}), s;
|
|
130
|
-
};
|
|
131
|
-
return {
|
|
132
|
-
newSlot: c,
|
|
133
|
-
reflectTargetWithSourceOne: g,
|
|
134
|
-
getSlotFromData: $,
|
|
135
|
-
parseGroupId: y,
|
|
136
|
-
formatGroupId: J
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function Dr(t) {
|
|
140
|
-
const c = t == null ? void 0 : t.fieldName, $ = t == null ? void 0 : t.setValue, g = j({}), r = j([]), { newSlot: e, reflectTargetWithSourceOne: s, getSlotFromData: o } = cr(), i = (u, f) => {
|
|
141
|
-
var D;
|
|
142
|
-
let m = {};
|
|
143
|
-
const h = s(f);
|
|
144
|
-
return (D = v(u)) == null || D.map((E) => {
|
|
145
|
-
var S, V, G;
|
|
146
|
-
const O = (S = h == null ? void 0 : h[E]) == null ? void 0 : S.name;
|
|
147
|
-
O && (m[O] = u == null ? void 0 : u[E], (G = (V = v(u)) == null ? void 0 : V.filter((W) => W.startsWith(E + "_"))) == null || G.forEach((W) => {
|
|
148
|
-
m[W == null ? void 0 : W.replace(E, O)] = u == null ? void 0 : u[W];
|
|
149
|
-
}));
|
|
150
|
-
}), m;
|
|
151
|
-
}, n = (u, f) => {
|
|
152
|
-
var D, E;
|
|
153
|
-
let m = {};
|
|
154
|
-
if (p(u)) {
|
|
155
|
-
const O = s(f, (S) => !!(S != null && S.formItemFlag));
|
|
156
|
-
(D = v(O)) == null || D.map((S) => {
|
|
157
|
-
var V;
|
|
158
|
-
S && (m[S] = u == null ? void 0 : u[(V = O == null ? void 0 : O[S]) == null ? void 0 : V.name]);
|
|
159
|
-
});
|
|
160
|
-
} else {
|
|
161
|
-
var h = { pageConfig: (E = t == null ? void 0 : t.designer) == null ? void 0 : E.pageConfig, formData: m, designState: t == null ? void 0 : t.designState };
|
|
162
|
-
const { initData: O } = gr(f, h);
|
|
163
|
-
O();
|
|
164
|
-
}
|
|
165
|
-
return m;
|
|
166
|
-
}, l = (u, f) => {
|
|
167
|
-
const m = n(f, u.widget);
|
|
168
|
-
b(g, m);
|
|
169
|
-
}, w = (u) => {
|
|
170
|
-
var m;
|
|
171
|
-
const f = n({}, u.widget);
|
|
172
|
-
(m = v(f)) == null || m.forEach((h) => delete g[h]);
|
|
173
|
-
}, _ = () => {
|
|
174
|
-
var u;
|
|
175
|
-
(u = v(g)) == null || u.forEach((f) => delete g[f]);
|
|
176
|
-
}, F = () => r == null ? void 0 : r.map((f) => i(g, f == null ? void 0 : f.widget)), C = (u, f) => {
|
|
177
|
-
_();
|
|
178
|
-
const m = f(u);
|
|
179
|
-
return m == null || m.forEach((h) => {
|
|
180
|
-
const D = n(h == null ? void 0 : h.data, h == null ? void 0 : h.widget);
|
|
181
|
-
b(g, D);
|
|
182
|
-
}), r.splice(0, r.length, ...m), r;
|
|
183
|
-
}, B = (u) => {
|
|
184
|
-
var m;
|
|
185
|
-
var f = d({ ...t, widget: u });
|
|
186
|
-
return (m = f.attrs) == null ? void 0 : m.value;
|
|
187
|
-
}, A = (u, f, m) => R(u, f, r, m), q = (u) => {
|
|
188
|
-
var f = F();
|
|
189
|
-
sr(() => g, (m) => {
|
|
190
|
-
var h = F();
|
|
191
|
-
M(h) != M(f) && (f = h, u(h));
|
|
192
|
-
}, { deep: !0, immediate: !0 });
|
|
193
|
-
}, { off$: x, on$: z, emit$: Q } = nr(), U = () => {
|
|
194
|
-
x(H.fieldChange), z(H.fieldChange, (u) => {
|
|
195
|
-
var f;
|
|
196
|
-
$ == null || $(F()), (f = t == null ? void 0 : t.fieldChanged) == null || f.call(t);
|
|
197
|
-
});
|
|
198
|
-
};
|
|
199
|
-
return (() => {
|
|
200
|
-
const u = c;
|
|
201
|
-
rr.globalProvide({
|
|
202
|
-
globalFormName: u,
|
|
203
|
-
globalDataModel: g
|
|
204
|
-
}), U();
|
|
205
|
-
})(), {
|
|
206
|
-
getSlotFromData: o,
|
|
207
|
-
fromModel: n,
|
|
208
|
-
toModel: i,
|
|
209
|
-
newSlot: e,
|
|
210
|
-
getWidgetOption: B,
|
|
211
|
-
newFieldModelFromSlot: l,
|
|
212
|
-
removeFieldModelFromSlot: w,
|
|
213
|
-
getValue: F,
|
|
214
|
-
setValue: C,
|
|
215
|
-
findWidgetByNameWithSibId: A,
|
|
216
|
-
listenFormModel: q,
|
|
217
|
-
emit$: Q,
|
|
218
|
-
formModel: g,
|
|
219
|
-
rowsData: r
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
export {
|
|
223
|
-
nr as a,
|
|
224
|
-
cr as b,
|
|
225
|
-
Dr as c,
|
|
226
|
-
fr as f,
|
|
227
|
-
vr as g,
|
|
228
|
-
y as p,
|
|
229
|
-
gr as u
|
|
230
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, resolveComponent as n, openBlock as l, createBlock as d, mergeProps as c, unref as e, withCtx as r, toHandlers as W, createVNode as i, createElementVNode as t, createElementBlock as D, toDisplayString as P, createCommentVNode as S } from "vue";
|
|
2
|
-
import { I as $ } from "./field-base-5547436d.js";
|
|
3
|
-
import { u as j } from "./share-file-fdedeed7.js";
|
|
4
|
-
import H from "./form-item-wrapper-2794e39b.js";
|
|
5
|
-
import { S as s } from "./index-93c9bbb8.js";
|
|
6
|
-
import { w as M } from "./expression-75bf8097.js";
|
|
7
|
-
import { _ as z } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
|
-
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./enum-type-4f7f8848.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 K = { class: "el-upload-list__item-status-label" }, L = {
|
|
25
|
-
class: "el-icon--upload-success",
|
|
26
|
-
style: { color: "white" }
|
|
27
|
-
}, R = { class: "el-upload-list__item-actions" }, T = ["onClick"], q = ["onClick"], A = {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: "el-upload__tip"
|
|
30
|
-
}, G = { class: "uploader-icon" }, J = m({ componentName: M.FieldWidget }), Q = /* @__PURE__ */ m({
|
|
31
|
-
...J,
|
|
32
|
-
__name: "picture-upload-widget",
|
|
33
|
-
props: { ...$ },
|
|
34
|
-
setup(_, { expose: u }) {
|
|
35
|
-
const f = _, { fieldEditor: v, fieldKey: g, attrs: p, events: h, rules: w, uploadTip: a, uploadData: k, uploadBtnHidden: y, exposed: x, previewIndex: C, previewList: b, removeUploadFile: E, fieldObj: I, isError: F, errorMsg: B } = j(f);
|
|
36
|
-
return u({ ...x }), (N, X) => {
|
|
37
|
-
const O = n("el-image"), U = n("el-upload");
|
|
38
|
-
return l(), d(H, c(N.$props, {
|
|
39
|
-
propOptions: { fieldObj: e(I), rules: e(w), isError: e(F), errorMsg: e(B) }
|
|
40
|
-
}), {
|
|
41
|
-
default: r(() => [
|
|
42
|
-
(l(), d(U, c({
|
|
43
|
-
ref_key: "fieldEditor",
|
|
44
|
-
ref: v,
|
|
45
|
-
key: e(g)
|
|
46
|
-
}, e(p), W(e(h)), {
|
|
47
|
-
data: e(k),
|
|
48
|
-
"list-type": "picture-card",
|
|
49
|
-
class: { hideUploadDiv: e(y) }
|
|
50
|
-
}), {
|
|
51
|
-
file: r(({ file: o }) => [
|
|
52
|
-
i(O, {
|
|
53
|
-
ref: "imageRef",
|
|
54
|
-
class: "full-height-width",
|
|
55
|
-
src: o.url,
|
|
56
|
-
"preview-src-list": e(b),
|
|
57
|
-
"initial-index": e(C),
|
|
58
|
-
fit: "cover",
|
|
59
|
-
"preview-teleported": ""
|
|
60
|
-
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
61
|
-
t("label", K, [
|
|
62
|
-
t("i", L, [
|
|
63
|
-
i(s, { name: "@el-check" })
|
|
64
|
-
])
|
|
65
|
-
]),
|
|
66
|
-
t("span", R, [
|
|
67
|
-
t("span", {
|
|
68
|
-
class: "el-upload-list__item-preview",
|
|
69
|
-
onClick: (V) => e(p).onPreview(o)
|
|
70
|
-
}, [
|
|
71
|
-
i(s, { name: "@el-zoom-in" })
|
|
72
|
-
], 8, T),
|
|
73
|
-
t("span", {
|
|
74
|
-
class: "el-upload-list__item-delete",
|
|
75
|
-
onClick: (V) => e(E)(o.name, o.url, o.uid)
|
|
76
|
-
}, [
|
|
77
|
-
i(s, { name: "@el-delete" })
|
|
78
|
-
], 8, q)
|
|
79
|
-
])
|
|
80
|
-
]),
|
|
81
|
-
tip: r(() => [
|
|
82
|
-
e(a) ? (l(), D("div", A, P(e(a)), 1)) : S("", !0)
|
|
83
|
-
]),
|
|
84
|
-
default: r(() => [
|
|
85
|
-
t("div", G, [
|
|
86
|
-
i(s, { name: "@el-plus" })
|
|
87
|
-
])
|
|
88
|
-
]),
|
|
89
|
-
_: 1
|
|
90
|
-
}, 16, ["data", "class"]))
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
}, 16, ["propOptions"]);
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
const ye = /* @__PURE__ */ z(Q, [["__scopeId", "data-v-679b6e16"]]);
|
|
98
|
-
export {
|
|
99
|
-
ye as default
|
|
100
|
-
};
|
package/radio-widget-d23f912d.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, computed as l, resolveComponent as P, openBlock as s, createBlock as a, mergeProps as b, unref as e, withCtx as n, isRef as T, toHandlers as W, createElementBlock as h, Fragment as A, renderList as H, resolveDynamicComponent as R, normalizeStyle as U, createTextVNode as $, toDisplayString as q } from "vue";
|
|
2
|
-
import { b as G } from "./share-field-7ba5ba17.js";
|
|
3
|
-
import { I as J } from "./field-base-5547436d.js";
|
|
4
|
-
import Q from "./form-item-wrapper-2794e39b.js";
|
|
5
|
-
import { D as X } from "./enum-type-7d30197c.js";
|
|
6
|
-
import { w as Y } from "./expression-75bf8097.js";
|
|
7
|
-
import { c as _ } from "./uuid-13f918d6.js";
|
|
8
|
-
import "./enum-type-4f7f8848.js";
|
|
9
|
-
import "./multirow-157d0dca.js";
|
|
10
|
-
import "./baseImp-a5afc9d4.js";
|
|
11
|
-
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-50ad7970.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "element-plus";
|
|
15
|
-
import "./index-d63b7e5f.js";
|
|
16
|
-
import "./slot-53d3c887.js";
|
|
17
|
-
import "./widget-base-4c2d6265.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 Z = g({ componentName: Y.FieldWidget }), Se = /* @__PURE__ */ g({
|
|
24
|
-
...Z,
|
|
25
|
-
__name: "radio-widget",
|
|
26
|
-
props: { ...J },
|
|
27
|
-
setup(v, { expose: k }) {
|
|
28
|
-
const z = v, { fieldEditor: S, fieldKey: C, fieldModel: i, rules: x, attrs: r, extendAttrs: p, events: E, optionItems: F, exposed: I, isError: V, errorMsg: j, getCheckedItems: w, fieldObj: D } = G(z), O = l(() => r.value.border), B = l(() => r.value.disabled), K = l(() => r.value.buttonStyle), d = l(() => p.value.displayStyle);
|
|
29
|
-
return k({ ...I, getCheckedItems: w }), (M, m) => {
|
|
30
|
-
const L = P("el-radio-group");
|
|
31
|
-
return s(), a(Q, b(M.$props, {
|
|
32
|
-
propOptions: { fieldObj: e(D), rules: e(x), isError: e(V), errorMsg: e(j) }
|
|
33
|
-
}), {
|
|
34
|
-
default: n(({ data: t }) => [
|
|
35
|
-
(s(), a(L, b({
|
|
36
|
-
ref_key: "fieldEditor",
|
|
37
|
-
ref: S,
|
|
38
|
-
modelValue: e(i),
|
|
39
|
-
"onUpdate:modelValue": m[0] || (m[0] = (o) => T(i) ? i.value = o : null),
|
|
40
|
-
key: e(C),
|
|
41
|
-
class: t.injectClass,
|
|
42
|
-
style: { ...t.injectStyle, display: e(d) }
|
|
43
|
-
}, e(r), W(e(E)), {
|
|
44
|
-
size: t.size
|
|
45
|
-
}), {
|
|
46
|
-
default: n(() => [
|
|
47
|
-
(s(!0), h(A, null, H(e(F), (o, N) => {
|
|
48
|
-
var u, c, y;
|
|
49
|
-
return s(), a(R(e(K) ? "el-radio-button" : "el-radio"), {
|
|
50
|
-
key: N,
|
|
51
|
-
value: o == null ? void 0 : o[(u = e(p)) == null ? void 0 : u.valueKey],
|
|
52
|
-
disabled: e(B) || ((c = e(_)(o)) == null ? void 0 : c.disabled),
|
|
53
|
-
size: t.size,
|
|
54
|
-
border: e(O) || ((y = e(_)(o)) == null ? void 0 : y.border),
|
|
55
|
-
style: U({ display: e(d) === e(X).inline ? "" : e(d) })
|
|
56
|
-
}, {
|
|
57
|
-
default: n(() => {
|
|
58
|
-
var f;
|
|
59
|
-
return [
|
|
60
|
-
$(q(o == null ? void 0 : o[(f = e(p)) == null ? void 0 : f.labelKey]), 1)
|
|
61
|
-
];
|
|
62
|
-
}),
|
|
63
|
-
_: 2
|
|
64
|
-
}, 1032, ["value", "disabled", "size", "border", "style"]);
|
|
65
|
-
}), 128))
|
|
66
|
-
]),
|
|
67
|
-
_: 2
|
|
68
|
-
}, 1040, ["modelValue", "class", "style", "size"]))
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
}, 16, ["propOptions"]);
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
export {
|
|
76
|
-
Se as default
|
|
77
|
-
};
|
package/rate-widget-27336bb7.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, 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 { b as v } from "./share-field-7ba5ba17.js";
|
|
3
|
-
import { I as x } from "./field-base-5547436d.js";
|
|
4
|
-
import z from "./form-item-wrapper-2794e39b.js";
|
|
5
|
-
import { w as I } from "./expression-75bf8097.js";
|
|
6
|
-
import "./enum-type-4f7f8848.js";
|
|
7
|
-
import "./multirow-157d0dca.js";
|
|
8
|
-
import "./baseImp-a5afc9d4.js";
|
|
9
|
-
import "./uuid-13f918d6.js";
|
|
10
|
-
import "./enum-type-7d30197c.js";
|
|
11
|
-
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-50ad7970.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "element-plus";
|
|
15
|
-
import "./index-d63b7e5f.js";
|
|
16
|
-
import "./slot-53d3c887.js";
|
|
17
|
-
import "./widget-base-4c2d6265.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 M = m({ componentName: I.FieldWidget }), ee = /* @__PURE__ */ m({
|
|
24
|
-
...M,
|
|
25
|
-
__name: "rate-widget",
|
|
26
|
-
props: { ...x },
|
|
27
|
-
setup(l, { expose: n }) {
|
|
28
|
-
const d = l, { fieldEditor: a, fieldModel: r, rules: f, fieldKey: u, attrs: c, isError: _, errorMsg: g, events: y, exposed: j, fieldObj: k } = v(d);
|
|
29
|
-
return n({ ...j }), (w, t) => {
|
|
30
|
-
const C = F("el-rate");
|
|
31
|
-
return i(), p(z, s(w.$props, {
|
|
32
|
-
propOptions: { fieldObj: e(k), rules: e(f), isError: e(_), errorMsg: e(g) }
|
|
33
|
-
}), {
|
|
34
|
-
default: O(({ data: o }) => [
|
|
35
|
-
(i(), p(C, s({
|
|
36
|
-
ref_key: "fieldEditor",
|
|
37
|
-
ref: a,
|
|
38
|
-
modelValue: e(r),
|
|
39
|
-
"onUpdate:modelValue": t[0] || (t[0] = (E) => V(r) ? r.value = E : null),
|
|
40
|
-
key: e(u)
|
|
41
|
-
}, e(c), b(e(y)), {
|
|
42
|
-
size: o.size,
|
|
43
|
-
class: o.injectClass,
|
|
44
|
-
style: o.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,75 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, computed as d, shallowRef as M, onMounted as j, openBlock as a, createBlock as u, mergeProps as c, unref as o, withCtx as k, createElementVNode as H, normalizeClass as I, normalizeStyle as W, resolveDynamicComponent as q, isRef as x, toHandlers as z } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-7ba5ba17.js";
|
|
3
|
-
import { I as N } from "./field-base-5547436d.js";
|
|
4
|
-
import P from "./form-item-wrapper-2794e39b.js";
|
|
5
|
-
import { w as R } from "./expression-75bf8097.js";
|
|
6
|
-
import { d as S, l as V } from "./enum-type-4f7f8848.js";
|
|
7
|
-
import "./multirow-157d0dca.js";
|
|
8
|
-
import "./baseImp-a5afc9d4.js";
|
|
9
|
-
import "./uuid-13f918d6.js";
|
|
10
|
-
import "./enum-type-7d30197c.js";
|
|
11
|
-
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-50ad7970.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "element-plus";
|
|
15
|
-
import "./index-d63b7e5f.js";
|
|
16
|
-
import "./slot-53d3c887.js";
|
|
17
|
-
import "./widget-base-4c2d6265.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 $ = f({ componentName: R.FieldWidget }), de = /* @__PURE__ */ f({
|
|
24
|
-
...$,
|
|
25
|
-
__name: "rich-editor-widget",
|
|
26
|
-
props: { ...N },
|
|
27
|
-
setup(h, { expose: _ }) {
|
|
28
|
-
const g = h, { fieldEditor: v, fieldKey: y, fieldModel: n, rules: E, events: i, getFieldOptions: p, exposed: w, fieldObj: C } = B(g), s = d(() => p("contentHeight")), m = M(), O = () => {
|
|
29
|
-
import("./index-2d29f8d3.js").then((e) => {
|
|
30
|
-
const { quillEditor: r } = e.default;
|
|
31
|
-
m.value = r;
|
|
32
|
-
});
|
|
33
|
-
}, b = S(V(i.value), {
|
|
34
|
-
change: (e) => {
|
|
35
|
-
var t, l;
|
|
36
|
-
const r = e == null ? void 0 : e.html;
|
|
37
|
-
(l = (t = i == null ? void 0 : i.value) == null ? void 0 : t.change) == null || l.call(t, r);
|
|
38
|
-
}
|
|
39
|
-
}), F = d(() => ({
|
|
40
|
-
disabled: p("disabled"),
|
|
41
|
-
placeholder: p("placeholder")
|
|
42
|
-
// modules: {
|
|
43
|
-
// counter: getFieldOptions('showWordLimit')
|
|
44
|
-
// //toolbar: this.customToolbar
|
|
45
|
-
// }
|
|
46
|
-
}));
|
|
47
|
-
return j(() => {
|
|
48
|
-
O();
|
|
49
|
-
}), _({ ...w }), (e, r) => (a(), u(P, c(e.$props, {
|
|
50
|
-
propOptions: { fieldObj: o(C), rules: o(E), isError: e.isError, errorMsg: e.errorMsg }
|
|
51
|
-
}), {
|
|
52
|
-
default: k(({ data: t }) => [
|
|
53
|
-
H("div", {
|
|
54
|
-
class: I(["full-height", t.injectClass]),
|
|
55
|
-
style: W(t.injectStyle)
|
|
56
|
-
}, [
|
|
57
|
-
(a(), u(q(o(m)), c({
|
|
58
|
-
ref_key: "fieldEditor",
|
|
59
|
-
ref: v,
|
|
60
|
-
value: o(n),
|
|
61
|
-
"onUpdate:value": r[0] || (r[0] = (l) => x(n) ? n.value = l : null)
|
|
62
|
-
}, z(o(b)), {
|
|
63
|
-
key: o(y),
|
|
64
|
-
options: o(F),
|
|
65
|
-
style: o(s) ? `height: ${o(s)}` : ""
|
|
66
|
-
}), null, 16, ["value", "options", "style"]))
|
|
67
|
-
], 6)
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}, 16, ["propOptions"]));
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
export {
|
|
74
|
-
de as default
|
|
75
|
-
};
|