hlrender 0.0.104 → 0.0.106
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/_image-fab8c8e2.js +28 -0
- package/_pdf-06124b21.js +58 -0
- package/_txt-ad5b5fda.js +70 -0
- package/_unsupport-e6f84e26.js +35 -0
- package/_video-21c5b64e.js +23 -0
- package/{affix-widget-840c1537.js → affix-widget-21af5f8d.js} +16 -16
- package/{alert-widget-026b8f53.js → alert-widget-40da9145.js} +16 -16
- package/{anchor-widget-8c30df76.js → anchor-widget-a9328cd1.js} +13 -13
- package/{auto-complete-widget-f0b25754.js → auto-complete-widget-79bf6f67.js} +16 -16
- package/{avatar-widget-66117d68.js → avatar-widget-6c573d62.js} +16 -16
- package/{backtop-widget-e7c6a5b7.js → backtop-widget-a371cd7d.js} +16 -16
- package/{badge-widget-17df473c.js → badge-widget-1822c021.js} +19 -19
- package/{baseImp-5cbe8b10.js → baseImp-26b9c04a.js} +2973 -2889
- package/{breadcrumb-widget-a64c2562.js → breadcrumb-widget-57acc2c2.js} +16 -16
- package/{button-widget-180833fc.js → button-widget-b8ff3f02.js} +16 -16
- package/{cache-widget-52fe7b6e.js → cache-widget-681c2328.js} +15 -15
- package/{card-widget-402a6915.js → card-widget-2d28ff26.js} +14 -14
- package/{carousel-widget-77071058.js → carousel-widget-c754320f.js} +14 -14
- package/{cascader-widget-ff96ec4a.js → cascader-widget-94aa4f85.js} +23 -23
- package/{chart-widget-ec0411e9.js → chart-widget-f8454126.js} +18 -18
- package/{checkbox-widget-8817e640.js → checkbox-widget-44160821.js} +15 -15
- package/{collapse-widget-509b977a.js → collapse-widget-a2b8f8f9.js} +14 -14
- package/{color-picker-widget-bdfa61e3.js → color-picker-widget-6ff88d6b.js} +15 -15
- package/{cont-cell-widget-3e4d7520.js → cont-cell-widget-84bfb0ce.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-25a712c4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-6e382986.js} +5 -5
- package/{cont-widget-43b2417d.js → cont-widget-9f5daa14.js} +5 -5
- package/{content-wrapper-ba138477.js → content-wrapper-6a9a1af2.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-93558bb0.js → content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js} +6 -6
- package/date-picker-range-widget-4e1f8a5e.js +82 -0
- package/date-picker-widget-a6ea53de.js +113 -0
- package/default-slot-widget-41f5afd4.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fee4e2b8.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d58174b5.js} +11 -11
- package/{descriptions-widget-0d4f3277.js → descriptions-widget-95eefef5.js} +14 -14
- package/{dialog-8cf49d1d.js → dialog-c4706078.js} +2 -2
- package/{dialog-widget-eacdd7c1.js → dialog-widget-b904d824.js} +16 -16
- package/{divider-widget-7768f76f.js → divider-widget-daa75025.js} +16 -16
- package/drag-wrapper-353a125c.js +244 -0
- package/{drawer-widget-750f0026.js → drawer-widget-97b16e42.js} +16 -16
- package/{dropdown-widget-2faee424.js → dropdown-widget-79fe97e3.js} +14 -14
- package/{empty-widget-836414ac.js → empty-widget-8781d137.js} +16 -16
- package/{enum-type-4a878657.js → enum-type-4a798b1a.js} +384 -695
- package/enum-type-bb2bfafa.js +222 -0
- package/{expression-13a89511.js → expression-490b4335.js} +403 -402
- package/feedback-widget-dbf66a70.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-252bea9f.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7b33b8fc.js} +5 -5
- package/{fieldobj-374f1c1a.js → fieldobj-a9f1231d.js} +1 -1
- package/file-upload-widget-22d37d45.js +400 -0
- package/{form-item-wrapper-b7b89fa1.js → form-item-wrapper-888c1256.js} +12 -12
- package/form-widget-72d9ea94.js +225 -0
- package/{grid-col-widget-20b40853.js → grid-col-widget-835881ef.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-25238a2c.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-dee124a9.js} +5 -5
- package/{grid-widget-6a0ec5ac.js → grid-widget-27e889a0.js} +5 -5
- package/{html-text-widget-7e941bfe.js → html-text-widget-214c4b2a.js} +17 -17
- package/{icon-widget-cea07518.js → icon-widget-8ed6caf5.js} +13 -13
- package/{iframe-widget-20fcc85d.js → iframe-widget-483738f9.js} +26 -26
- package/{image-widget-b0ceca50.js → image-widget-e19d3064.js} +13 -13
- package/{index-2e433759.js → index-79892b9c.js} +1 -1
- package/{index-9530214e.js → index-a7d766e7.js} +3073 -3013
- package/{index-e69085b5.js → index-cda65e40.js} +4 -4
- package/{input-number-widget-33c7569b.js → input-number-widget-08cde096.js} +15 -15
- package/{input-widget-7586fcf1.js → input-widget-31603d98.js} +16 -16
- package/{label-wrapper-860ed446.js → label-wrapper-f087426c.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-223a3538.js → label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js} +3 -3
- package/{link-widget-b47b71ff.js → link-widget-3fc6f3bc.js} +16 -16
- package/{ltable-col-widget-1be6bcb2.js → ltable-col-widget-1899f393.js} +1 -1
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0bd9f972.js +279 -0
- package/{ltable-widget-eac798cf.js → ltable-widget-0d55794c.js} +5 -5
- package/{menu-widget-dda489f0.js → menu-widget-ba66de4a.js} +14 -14
- package/{model-widget-2ea94011.js → model-widget-40268865.js} +13 -13
- package/{multirow-06f04618.js → multirow-35c0f8c0.js} +38 -38
- package/{multirow-widget-d4e40bf1.js → multirow-widget-7b9be8fd.js} +76 -76
- package/package.json +3 -2
- package/{pagination-widget-cdadd9aa.js → pagination-widget-3f832ac9.js} +13 -13
- package/picture-upload-widget-a673958c.js +165 -0
- package/{progress-widget-61ab2042.js → progress-widget-0ec8a01e.js} +14 -14
- package/{propresult-b95604fa.js → propresult-e7e86b43.js} +1 -1
- package/{radio-widget-781256c6.js → radio-widget-15eb2159.js} +15 -15
- package/{range-widget-9845641e.js → range-widget-ab141ba2.js} +27 -27
- package/{rate-widget-ecba234a.js → rate-widget-8286721a.js} +15 -15
- package/render.es.js +495 -489
- package/render.style.css +1 -1
- package/render.umd.js +485 -455
- package/{result-widget-f988e59e.js → result-widget-7ab87531.js} +14 -14
- package/{rich-editor-widget-88fcd3cd.js → rich-editor-widget-04c813d6.js} +15 -15
- package/{router-widget-4102df0b.js → router-widget-af7c37fa.js} +13 -13
- package/{select-widget-758b77d4.js → select-widget-9bf0e700.js} +15 -15
- package/{sfc-e54c9d85.js → sfc-778eb297.js} +661 -646
- package/sfcview-ccbbde59.js +94 -0
- package/share-field-27676b90.js +787 -0
- package/share-file-890add80.js +171 -0
- package/{slider-widget-c81548ac.js → slider-widget-7a68eb99.js} +15 -15
- package/{slot-7e7209e1.js → slot-f8eef9e1.js} +12 -12
- package/{static-text-widget-329d53e0.js → static-text-widget-68efa0d7.js} +14 -14
- package/{steps-widget-4fcf004f.js → steps-widget-868b90ad.js} +13 -13
- package/{subMenu-widget-3f3433be.js → subMenu-widget-34599486.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-9b2e2c76.js → subMenu-widget.vue_vue_type_script_setup_true_lang-99253c57.js} +3 -3
- package/{switch-widget-c4850f81.js → switch-widget-05670677.js} +15 -15
- package/{tab-pane-widget-816a9b61.js → tab-pane-widget-726709cd.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-909ea992.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4e70e8c0.js} +5 -5
- package/table-col-widget-eba20497.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b2126448.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1af99e54.js} +9 -9
- package/{table-widget-9f4af00f.js → table-widget-b4f55da5.js} +38 -38
- package/{tabs-widget-3539d874.js → tabs-widget-3f672101.js} +27 -28
- package/{tag-widget-21dac8f0.js → tag-widget-58e5a2b1.js} +16 -16
- package/{text-widget-6d4210ce.js → text-widget-cb74322f.js} +16 -16
- package/{textarea-widget-130742ec.js → textarea-widget-220d7fd3.js} +15 -15
- package/time-picker-range-widget-3d405a42.js +81 -0
- package/time-picker-widget-4b8a9822.js +64 -0
- package/{time-select-widget-0be9f865.js → time-select-widget-b1a5c072.js} +18 -18
- package/{tmpl-widget-bb446e8e.js → tmpl-widget-6e955980.js} +21 -21
- package/{tree-select-widget-20dd208c.js → tree-select-widget-be605b79.js} +15 -15
- package/{tree-widget-cb5a194f.js → tree-widget-129df4d3.js} +13 -13
- package/uuid-4999945f.js +189 -0
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f014ef28.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js} +78 -76
- package/{wrapper-widget-25a4c177.js → wrapper-widget-f6907d2f.js} +6 -6
- package/date-picker-range-widget-883aa48e.js +0 -72
- package/date-picker-widget-5ef5ca56.js +0 -78
- package/default-slot-widget-12817e91.js +0 -26
- package/drag-wrapper-c3d1f965.js +0 -244
- package/enum-type-c01256f6.js +0 -215
- package/feedback-widget-02a064dc.js +0 -26
- package/file-upload-widget-0a1bcb0a.js +0 -162
- package/form-widget-a76094d3.js +0 -219
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-88c30cdc.js +0 -256
- package/picture-upload-widget-3ace93a0.js +0 -113
- package/share-field-c7716a35.js +0 -777
- package/share-file-42bfadc9.js +0 -150
- package/table-col-widget-09311e7b.js +0 -22
- package/time-picker-range-widget-af8dc073.js +0 -58
- package/time-picker-widget-979addae.js +0 -57
- package/uuid-39a489b9.js +0 -192
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { reactive as le, ref as M, computed as y } from "vue";
|
|
2
|
+
import { d as ue, c as ce, t as me, E as b, e as p, i as D } from "./enum-type-4a798b1a.js";
|
|
3
|
+
import { b as ve } from "./share-field-27676b90.js";
|
|
4
|
+
import { f as a } from "./expression-490b4335.js";
|
|
5
|
+
import { $ as pe, f as h } from "./baseImp-26b9c04a.js";
|
|
6
|
+
import { g as he } from "./uuid-4999945f.js";
|
|
7
|
+
import { ag as ge } from "./enum-type-bb2bfafa.js";
|
|
8
|
+
function ye(z) {
|
|
9
|
+
let s = le([]);
|
|
10
|
+
const U = (e) => {
|
|
11
|
+
var r;
|
|
12
|
+
var t = ce(me(b(e) || [], !0)), n = (r = Array.from(t)) == null ? void 0 : r.map((o) => (o.orgUrl = o == null ? void 0 : o.url, m(a.onBuildUrl) && (o.url = d(a.onBuildUrl, { orgUrl: o.orgUrl, disposition: ge.preview })), o.uid <= 0 && (o.uid = he()), o));
|
|
13
|
+
s.splice(0, s == null ? void 0 : s.length, ...n);
|
|
14
|
+
}, w = (e) => {
|
|
15
|
+
U(e);
|
|
16
|
+
}, B = () => {
|
|
17
|
+
c.value.clearFiles(), U([]);
|
|
18
|
+
}, I = (e, t) => {
|
|
19
|
+
let n = b(l.value);
|
|
20
|
+
const r = Object.assign({
|
|
21
|
+
name: e.name,
|
|
22
|
+
url: e.url,
|
|
23
|
+
size: e.size,
|
|
24
|
+
uid: e.uid,
|
|
25
|
+
type: e.type
|
|
26
|
+
}, t);
|
|
27
|
+
D(l.value) && (l.value = []), l.value.push(r), f(n);
|
|
28
|
+
}, f = (e) => {
|
|
29
|
+
N(l.value), V(l.value, e);
|
|
30
|
+
}, O = (e) => {
|
|
31
|
+
const t = (s == null ? void 0 : s.findIndex((n) => (n == null ? void 0 : n.uid) === e)) || 0;
|
|
32
|
+
t >= 0 && (s.splice(t, 1), k(t));
|
|
33
|
+
}, k = (e) => {
|
|
34
|
+
let t = b(l.value);
|
|
35
|
+
l.value.splice(e, 1), f(t);
|
|
36
|
+
}, { fieldEditor: c, fieldKey: A, fieldModel: l, field: H, attrs: g, extendAttrs: u, events: T, slots: $, exposed: j, syncUpdateFormModel: N, emitFieldDataChange: V, existEvent: m, handleEvent: d, getWidgetOption: Ue, rules: L, fieldObj: K } = ve({ ...z, extInitFieldModel: w, exResetField: B }), E = M({ key: "" }), R = M(), W = y(() => {
|
|
37
|
+
var e;
|
|
38
|
+
return s.length >= ((e = u.value) == null ? void 0 : e.limit);
|
|
39
|
+
}), q = y(() => {
|
|
40
|
+
var e;
|
|
41
|
+
return (e = u.value) == null ? void 0 : e.uploadTip;
|
|
42
|
+
}), G = (e, t) => {
|
|
43
|
+
var r;
|
|
44
|
+
let n = (r = g.value) == null ? void 0 : r.limit;
|
|
45
|
+
h.warning(p.i18nt("render.hint.uploadExceed").replace("${uploadLimit}", n));
|
|
46
|
+
}, J = (e, t) => {
|
|
47
|
+
let n = {
|
|
48
|
+
key: t.name
|
|
49
|
+
//文件名
|
|
50
|
+
};
|
|
51
|
+
if (m(a.getData)) {
|
|
52
|
+
const r = d(a.getData, { keyName: e });
|
|
53
|
+
D(r) || Object.assign(n, r);
|
|
54
|
+
}
|
|
55
|
+
return n;
|
|
56
|
+
}, P = () => d(a.getHeaders), Q = (e, t, n) => {
|
|
57
|
+
let r = !1, o = e == null ? void 0 : e.name.substring((e == null ? void 0 : e.name.lastIndexOf(".")) + 1);
|
|
58
|
+
if (t && (t == null ? void 0 : t.length) > 0 && (r = t.some((ie) => o.toLowerCase() === ie.toLowerCase())), !r)
|
|
59
|
+
return h.error(p.i18nt("render.hint.unsupportedFileType") + o), !1;
|
|
60
|
+
let i = !1, v = 5;
|
|
61
|
+
return n && (v = n), i = (e.size || 0) / 1024 / 1024 <= v, i ? !0 : (h.error(p.i18nt("render.hint.fileSizeExceed") + v + "MB"), !1);
|
|
62
|
+
}, X = (e) => {
|
|
63
|
+
if (!m(a.beforeUpload))
|
|
64
|
+
return !0;
|
|
65
|
+
let t = d(a.beforeUpload, { file: e });
|
|
66
|
+
return typeof t == "boolean" ? t : !1;
|
|
67
|
+
}, Y = (e) => {
|
|
68
|
+
var o, i, v;
|
|
69
|
+
let t = (o = u.value) == null ? void 0 : o.accept, n = (i = u == null ? void 0 : u.value) == null ? void 0 : i.fileMaxSize, r = (v = u == null ? void 0 : u.value) == null ? void 0 : v.dataName;
|
|
70
|
+
return Q(e, t, n) ? (E.value = J(r, e), R.value = P(), X(e)) : !1;
|
|
71
|
+
}, Z = (e, t) => {
|
|
72
|
+
d(a.onChangeFn, { uploadFile: e, uploadFiles: t });
|
|
73
|
+
}, F = (e, t, n) => {
|
|
74
|
+
var i;
|
|
75
|
+
if (t.status !== "success") {
|
|
76
|
+
x(t, n);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (m(a.isUploadSuccess)) {
|
|
80
|
+
var r = d(a.isUploadSuccess, { response: e, uploadFile: t, uploadFiles: n });
|
|
81
|
+
if (!(r != null && r.isSuccess)) {
|
|
82
|
+
x(t, n), h.error((r == null ? void 0 : r.message) || p.i18nt("designer.hint.failToUpload"));
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
let o = e;
|
|
87
|
+
m(a.onSuccess) && (o = d(a.onSuccess, { response: e, uploadFile: t, uploadFiles: n })), I({ ...t, type: (i = t == null ? void 0 : t.raw) == null ? void 0 : i.type }, o), U(l.value);
|
|
88
|
+
}, x = (e, t) => {
|
|
89
|
+
const n = (t == null ? void 0 : t.findIndex((r) => (r == null ? void 0 : r.uid) === (e == null ? void 0 : e.uid))) || 0;
|
|
90
|
+
n >= 0 && t.splice(n, 1);
|
|
91
|
+
}, ee = (e, t, n) => {
|
|
92
|
+
m(a.onError) ? d(a.onError, { error: e, uploadFile: t, uploadFiles: n }) : h.error(p.i18nt("render.hint.uploadError") + e);
|
|
93
|
+
}, S = () => {
|
|
94
|
+
var e, t;
|
|
95
|
+
(t = (e = c.value) == null ? void 0 : e.submit) == null || t.call(e);
|
|
96
|
+
}, te = (e) => {
|
|
97
|
+
var t, n;
|
|
98
|
+
(n = (t = c.value) == null ? void 0 : t.abort) == null || n.call(t, e);
|
|
99
|
+
}, ne = (e) => {
|
|
100
|
+
var t, n;
|
|
101
|
+
(n = (t = c.value) == null ? void 0 : t.clearFiles) == null || n.call(t, e);
|
|
102
|
+
}, re = (e) => {
|
|
103
|
+
var t, n;
|
|
104
|
+
(n = (t = c.value) == null ? void 0 : t.handleStart) == null || n.call(t, e);
|
|
105
|
+
}, oe = (e) => {
|
|
106
|
+
var t, n;
|
|
107
|
+
(n = (t = c.value) == null ? void 0 : t.handleRemove) == null || n.call(t, e);
|
|
108
|
+
}, _ = (e) => {
|
|
109
|
+
var n;
|
|
110
|
+
if ((n = g.value) != null && n.beforeRemove) {
|
|
111
|
+
var t = d(a.beforeRemove, { uploadFile: e, uploadFiles: s });
|
|
112
|
+
if (!t)
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
pe.delete().then((r) => {
|
|
116
|
+
var o, i;
|
|
117
|
+
C(e, s), (i = (o = c.value) == null ? void 0 : o.handleRemove) == null || i.call(o, e);
|
|
118
|
+
});
|
|
119
|
+
}, C = (e, t) => {
|
|
120
|
+
O(e == null ? void 0 : e.uid), d(a.onRemove, { uploadFile: e, uploadFiles: t });
|
|
121
|
+
}, ae = (e, t) => !!(e != null && e.uid) && (e == null ? void 0 : e.uid) == (t == null ? void 0 : t.uid), se = (e) => {
|
|
122
|
+
var t = s == null ? void 0 : s.find((n) => (n == null ? void 0 : n.uid) === (e == null ? void 0 : e.uid));
|
|
123
|
+
return t ? { ...e, ...t } : e;
|
|
124
|
+
}, de = (e, t) => !m(e) || d(e, { file: t });
|
|
125
|
+
return (() => {
|
|
126
|
+
ue(g.value, {
|
|
127
|
+
beforeUpload: Y,
|
|
128
|
+
onRemove: C,
|
|
129
|
+
onSuccess: F,
|
|
130
|
+
onError: ee,
|
|
131
|
+
onExceed: G
|
|
132
|
+
}, !0);
|
|
133
|
+
})(), {
|
|
134
|
+
rules: L,
|
|
135
|
+
field: H,
|
|
136
|
+
fieldKey: A,
|
|
137
|
+
fieldModel: l,
|
|
138
|
+
attrs: g,
|
|
139
|
+
extendAttrs: u,
|
|
140
|
+
events: T,
|
|
141
|
+
fieldObj: K,
|
|
142
|
+
fileList: s,
|
|
143
|
+
fieldEditor: c,
|
|
144
|
+
uploadBtnHidden: W,
|
|
145
|
+
uploadData: E,
|
|
146
|
+
uploadHeaders: R,
|
|
147
|
+
uploadTip: q,
|
|
148
|
+
slots: $,
|
|
149
|
+
handleEvent: d,
|
|
150
|
+
existEvent: m,
|
|
151
|
+
submitToServer: S,
|
|
152
|
+
handleManualRemove: _,
|
|
153
|
+
//单独给出,采用attrs绑定方式,会提示onChange传入了Array
|
|
154
|
+
handleStatusChange: Z,
|
|
155
|
+
getRealFile: se,
|
|
156
|
+
isSameFile: ae,
|
|
157
|
+
isAllow: de,
|
|
158
|
+
exposed: {
|
|
159
|
+
...j,
|
|
160
|
+
submit: S,
|
|
161
|
+
abort: te,
|
|
162
|
+
handleStart: re,
|
|
163
|
+
handleRemove: oe,
|
|
164
|
+
clearFiles: ne,
|
|
165
|
+
handleManualRemove: _
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
export {
|
|
170
|
+
ye as u
|
|
171
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as d, computed as w, resolveComponent as x, openBlock as s, createBlock as m, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as b, createTextVNode as z, toDisplayString as I } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-
|
|
2
|
+
import { b as B } from "./share-field-27676b90.js";
|
|
3
3
|
import { I as E } from "./field-base-5547436d.js";
|
|
4
|
-
import N from "./form-item-wrapper-
|
|
5
|
-
import { w as P } from "./expression-
|
|
6
|
-
import { t as a } from "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./enum-type-c01256f6.js";
|
|
4
|
+
import N from "./form-item-wrapper-888c1256.js";
|
|
5
|
+
import { w as P } from "./expression-490b4335.js";
|
|
6
|
+
import { t as a } from "./enum-type-4a798b1a.js";
|
|
7
|
+
import "./multirow-35c0f8c0.js";
|
|
8
|
+
import "./baseImp-26b9c04a.js";
|
|
9
|
+
import "./enum-type-bb2bfafa.js";
|
|
11
10
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-c4706078.js";
|
|
13
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./uuid-4999945f.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-a7d766e7.js";
|
|
16
|
+
import "./slot-f8eef9e1.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
19
|
+
import "./index-79892b9c.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-a9f1231d.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const S = d({ componentName: P.FieldWidget }), pe = /* @__PURE__ */ d({
|
|
@@ -2,9 +2,9 @@ var q = Object.defineProperty;
|
|
|
2
2
|
var O = (s, l, o) => l in s ? q(s, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[l] = o;
|
|
3
3
|
var n = (s, l, o) => (O(s, typeof l != "symbol" ? l + "" : l, o), o);
|
|
4
4
|
import { inject as L, provide as C, computed as g } from "vue";
|
|
5
|
-
import { d as i, g as b, s as T } from "./expression-
|
|
6
|
-
import { B as V } from "./baseImp-
|
|
7
|
-
import { c as A } from "./
|
|
5
|
+
import { d as i, g as b, s as T } from "./expression-490b4335.js";
|
|
6
|
+
import { B as V } from "./baseImp-26b9c04a.js";
|
|
7
|
+
import { c as A } from "./enum-type-4a798b1a.js";
|
|
8
8
|
class M {
|
|
9
9
|
constructor() {
|
|
10
10
|
/**
|
|
@@ -69,20 +69,20 @@ class M {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
function J(s) {
|
|
72
|
-
const l = (t, R = !1) => V.getOptions(s == null ? void 0 : s.widget, t, R, !(s != null && s.designState)), o = g(() => l(b.ctrlWidth) || "auto"), u = g(() => l(b.ctrlHeight) || "auto"), f = g(() => {
|
|
72
|
+
const l = (t, R = !1) => V.getOptions(s == null ? void 0 : s.widget, t, R, !(s != null && s.designState)), o = g(() => l(b.ctrlWidth) || "auto"), u = g(() => l(b.ctrlHeight) || "auto"), f = g(() => l(b.displayLayout)), h = g(() => {
|
|
73
73
|
var t = l(b.customClass);
|
|
74
74
|
return Array.isArray(t) ? t == null ? void 0 : t.join(" ") : t;
|
|
75
|
-
}),
|
|
75
|
+
}), N = g(() => {
|
|
76
76
|
var t = l(b.componentWrapperClass);
|
|
77
77
|
return Array.isArray(t) ? t == null ? void 0 : t.join(" ") : t;
|
|
78
|
-
}),
|
|
78
|
+
}), D = g(() => {
|
|
79
79
|
var t, R;
|
|
80
80
|
return (R = A((t = l(b.required, !0)) == null ? void 0 : t.options)) == null ? void 0 : R.enable;
|
|
81
|
-
}),
|
|
81
|
+
}), H = g(() => l(b.hidden)), w = g(() => l(b.labelTooltip)), S = g(() => l(b.labelIconClass)), e = g(() => l(b.labelIconPosition)), a = g(() => l(b.labelHidden)), F = g(() => l(b.label)), W = g(() => l(b.labelWidth)), y = g(() => l(b.labelAlign));
|
|
82
82
|
return {
|
|
83
83
|
//size,
|
|
84
84
|
attrs: g(() => ({
|
|
85
|
-
required:
|
|
85
|
+
required: D.value,
|
|
86
86
|
label: F.value,
|
|
87
87
|
labelHidden: a.value,
|
|
88
88
|
labelAlign: y.value,
|
|
@@ -99,13 +99,13 @@ function J(s) {
|
|
|
99
99
|
labelTooltip: w,
|
|
100
100
|
labelWidth: W,
|
|
101
101
|
label: F,
|
|
102
|
-
displayLayout:
|
|
103
|
-
hidden:
|
|
102
|
+
displayLayout: f,
|
|
103
|
+
hidden: H,
|
|
104
104
|
// required,
|
|
105
105
|
ctrlWidth: o,
|
|
106
106
|
ctrlHeight: u,
|
|
107
|
-
customClass:
|
|
108
|
-
componentWrapperClass:
|
|
107
|
+
customClass: h,
|
|
108
|
+
componentWrapperClass: N
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
111
|
const K = (s, l = !0, o) => {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as c, createBlock as d, mergeProps as _, unref as o, withCtx as u, createVNode as x } from "vue";
|
|
2
2
|
import { I as g } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as w } from "./share-field-
|
|
4
|
-
import { w as C } from "./expression-
|
|
5
|
-
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import {
|
|
3
|
+
import { b as w } from "./share-field-27676b90.js";
|
|
4
|
+
import { w as C } from "./expression-490b4335.js";
|
|
5
|
+
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
+
import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
7
|
+
import { R as h } from "./enum-type-4a798b1a.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./
|
|
12
|
-
import "./enum-type-c01256f6.js";
|
|
9
|
+
import "./multirow-35c0f8c0.js";
|
|
10
|
+
import "./baseImp-26b9c04a.js";
|
|
11
|
+
import "./enum-type-bb2bfafa.js";
|
|
13
12
|
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-c4706078.js";
|
|
15
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./uuid-4999945f.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-a7d766e7.js";
|
|
18
|
+
import "./slot-f8eef9e1.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-79892b9c.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
23
|
+
import "./fieldobj-a9f1231d.js";
|
|
24
24
|
const k = e({ componentName: C.FieldWidget }), S = /* @__PURE__ */ e({
|
|
25
25
|
...k,
|
|
26
26
|
__name: "static-text-widget",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as f, computed as E, ref as F, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, unref as e, withCtx as o, toHandlers as M, createElementBlock as S, Fragment as T, renderList as B, createSlots as N, createElementVNode as _, createVNode as O } from "vue";
|
|
2
2
|
import { I as P } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { b as K } from "./share-field-
|
|
5
|
-
import { S as W } from "./index-
|
|
6
|
-
import { w as q } from "./expression-
|
|
7
|
-
import { c as p } from "./
|
|
3
|
+
import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
4
|
+
import { b as K } from "./share-field-27676b90.js";
|
|
5
|
+
import { S as W } from "./index-79892b9c.js";
|
|
6
|
+
import { w as q } from "./expression-490b4335.js";
|
|
7
|
+
import { c as p } from "./enum-type-4a798b1a.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
9
|
+
import "./index-a7d766e7.js";
|
|
10
|
+
import "./uuid-4999945f.js";
|
|
11
|
+
import "./enum-type-bb2bfafa.js";
|
|
12
|
+
import "./baseImp-26b9c04a.js";
|
|
13
13
|
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-c4706078.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./fieldobj-
|
|
18
|
-
import "./multirow-
|
|
19
|
-
import "./slot-
|
|
17
|
+
import "./fieldobj-a9f1231d.js";
|
|
18
|
+
import "./multirow-35c0f8c0.js";
|
|
19
|
+
import "./slot-f8eef9e1.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-99253c57.js";
|
|
2
2
|
import "vue";
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./enum-type-
|
|
3
|
+
import "./index-79892b9c.js";
|
|
4
|
+
import "./enum-type-4a798b1a.js";
|
|
5
5
|
import "./icon-a0e0cdb0.js";
|
|
6
6
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./
|
|
10
|
-
import "./expression-13a89511.js";
|
|
7
|
+
import "./enum-type-bb2bfafa.js";
|
|
8
|
+
import "./baseImp-26b9c04a.js";
|
|
9
|
+
import "./expression-490b4335.js";
|
|
11
10
|
import "./source-map-b04aec4a.js";
|
|
11
|
+
import "./uuid-4999945f.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-c4706078.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
export {
|
|
17
17
|
o as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, openBlock as r, createElementBlock as y, Fragment as I, renderList as C, createBlock as o, resolveDynamicComponent as x, withCtx as d, createCommentVNode as _, createElementVNode as M, toDisplayString as v } from "vue";
|
|
2
|
-
import { S as p } from "./index-
|
|
3
|
-
import { Z as a } from "./enum-type-
|
|
4
|
-
import { g as F,
|
|
2
|
+
import { S as p } from "./index-79892b9c.js";
|
|
3
|
+
import { Z as a } from "./enum-type-bb2bfafa.js";
|
|
4
|
+
import { g as F, K as N, P as S } from "./baseImp-26b9c04a.js";
|
|
5
5
|
import { u as T } from "./icon-a0e0cdb0.js";
|
|
6
6
|
const V = /* @__PURE__ */ f({
|
|
7
7
|
__name: "subMenu-widget",
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as C, openBlock as i, createBlock as p, mergeProps as m, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
|
|
2
|
-
import { w as b } from "./expression-
|
|
3
|
-
import { b as h } from "./share-field-
|
|
2
|
+
import { w as b } from "./expression-490b4335.js";
|
|
3
|
+
import { b as h } from "./share-field-27676b90.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
5
|
+
import x from "./form-item-wrapper-888c1256.js";
|
|
6
6
|
import "./source-map-b04aec4a.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./uuid-
|
|
7
|
+
import "./enum-type-4a798b1a.js";
|
|
8
|
+
import "./uuid-4999945f.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
10
|
import "./esprima-e8d15055.js";
|
|
11
|
-
import "./multirow-
|
|
12
|
-
import "./baseImp-
|
|
13
|
-
import "./enum-type-
|
|
11
|
+
import "./multirow-35c0f8c0.js";
|
|
12
|
+
import "./baseImp-26b9c04a.js";
|
|
13
|
+
import "./enum-type-bb2bfafa.js";
|
|
14
14
|
import "./icon-a0e0cdb0.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-c4706078.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-a7d766e7.js";
|
|
18
|
+
import "./slot-f8eef9e1.js";
|
|
19
19
|
import "./widget-base-4c2d6265.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
21
|
-
import "./index-
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
21
|
+
import "./index-79892b9c.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./fieldobj-a9f1231d.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js";
|
|
25
25
|
const z = s({ componentName: b.FieldWidget }), ee = /* @__PURE__ */ s({
|
|
26
26
|
...z,
|
|
27
27
|
__name: "switch-widget",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
1
|
+
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4e70e8c0.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as l, createBlock as f, mergeProps as r, unref as e, withCtx as g, createVNode as _ } from "vue";
|
|
2
|
-
import { w as u } from "./expression-
|
|
2
|
+
import { w as u } from "./expression-490b4335.js";
|
|
3
3
|
import { I as w } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as C } from "./drag-wrapper-
|
|
5
|
-
import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { c as W } from "./slot-
|
|
7
|
-
import { b as h } from "./share-field-
|
|
4
|
+
import { D as C } from "./drag-wrapper-353a125c.js";
|
|
5
|
+
import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
+
import { c as W } from "./slot-f8eef9e1.js";
|
|
7
|
+
import { b as h } from "./share-field-27676b90.js";
|
|
8
8
|
const k = s({ componentName: u.ContainerWidget }), x = /* @__PURE__ */ s({
|
|
9
9
|
...k,
|
|
10
10
|
__name: "tab-pane-widget",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1af99e54.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./enum-type-4a798b1a.js";
|
|
4
|
+
import "./baseImp-26b9c04a.js";
|
|
5
|
+
import "./enum-type-bb2bfafa.js";
|
|
6
|
+
import "./expression-490b4335.js";
|
|
7
|
+
import "./source-map-b04aec4a.js";
|
|
8
|
+
import "./uuid-4999945f.js";
|
|
9
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
|
+
import "./esprima-e8d15055.js";
|
|
11
|
+
import "./icon-a0e0cdb0.js";
|
|
12
|
+
import "./dialog-c4706078.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./drag-wrapper-353a125c.js";
|
|
15
|
+
import "./widget-base-4c2d6265.js";
|
|
16
|
+
import "./index-a7d766e7.js";
|
|
17
|
+
import "./slot-f8eef9e1.js";
|
|
18
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
+
import "./multirow-35c0f8c0.js";
|
|
20
|
+
export {
|
|
21
|
+
o as default
|
|
22
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as G, openBlock as i, createBlock as a, normalizeProps as I, guardReactiveProps as N, unref as e, withCtx as v, resolveDynamicComponent as A, createCommentVNode as s, createElementBlock as F, Fragment as L, renderList as V } from "vue";
|
|
2
|
-
import { c as j } from "./enum-type-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { c as O, e as j } from "./enum-type-4a798b1a.js";
|
|
3
|
+
import { b as q, g as H } from "./baseImp-26b9c04a.js";
|
|
4
|
+
import { D as W } from "./drag-wrapper-353a125c.js";
|
|
5
|
+
import { a as g } from "./slot-f8eef9e1.js";
|
|
6
|
+
import { b as J } from "./multirow-35c0f8c0.js";
|
|
7
|
+
import { g as K } from "./uuid-4999945f.js";
|
|
8
8
|
const M = /* @__PURE__ */ E({
|
|
9
9
|
__name: "table-col-widget",
|
|
10
10
|
props: {
|
|
@@ -15,7 +15,7 @@ const M = /* @__PURE__ */ E({
|
|
|
15
15
|
},
|
|
16
16
|
setup(n) {
|
|
17
17
|
var m;
|
|
18
|
-
const r = n, { attrs: $, extendAttrs: P, slots: o } =
|
|
18
|
+
const r = n, { attrs: $, extendAttrs: P, slots: o } = q(
|
|
19
19
|
{ options: r.options },
|
|
20
20
|
r.propResultOpt,
|
|
21
21
|
{
|
|
@@ -24,7 +24,7 @@ const M = /* @__PURE__ */ E({
|
|
|
24
24
|
s_attr: !0,
|
|
25
25
|
fn_attr: (c) => !["children"].includes(c)
|
|
26
26
|
}
|
|
27
|
-
), { newSlot: T } =
|
|
27
|
+
), { newSlot: T } = J(), u = H({ instance: (m = r.propResultOpt) == null ? void 0 : m.instance });
|
|
28
28
|
return (c, Q) => {
|
|
29
29
|
const z = G("el-table-column");
|
|
30
30
|
return i(), a(z, I(N(e($))), {
|
|
@@ -58,7 +58,7 @@ const M = /* @__PURE__ */ E({
|
|
|
58
58
|
}, null, 8, ["designState", "designer", "widget", "dragTip", "row-scope"])) : (i(), a(W, {
|
|
59
59
|
designState: n.designState,
|
|
60
60
|
designer: n.designer,
|
|
61
|
-
key: e(
|
|
61
|
+
key: e(K)() + (t == null ? void 0 : t.$index),
|
|
62
62
|
widget: e(O)((C = e(T)([(b = r.options) == null ? void 0 : b.default], t, (t == null ? void 0 : t.$index) < 0 ? "header" : t == null ? void 0 : t.$index)) == null ? void 0 : C.widget[0]),
|
|
63
63
|
"row-scope": t
|
|
64
64
|
}, null, 8, ["designState", "designer", "widget", "row-scope"]))
|