hlrender 0.0.217 → 0.0.218
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-29f3ad06.js → affix-widget-a5980a0f.js} +2 -2
- package/{alert-widget-37007a9d.js → alert-widget-fe5474aa.js} +2 -2
- package/{auto-complete-widget-4d9c9366.js → auto-complete-widget-2f36fb77.js} +1 -1
- package/{avatar-widget-3b0f0789.js → avatar-widget-ad6a4089.js} +2 -2
- package/{backtop-widget-3516268d.js → backtop-widget-3b10c723.js} +2 -2
- package/{badge-widget-7bbe0dbd.js → badge-widget-b4bec896.js} +2 -2
- package/{button-widget-69f68c92.js → button-widget-3ba49bed.js} +2 -2
- package/{card-widget-3daaa2fe.js → card-widget-10b31c36.js} +1 -1
- package/{carousel-widget-d6993ced.js → carousel-widget-14c9365f.js} +1 -1
- package/{collapse-widget-8056684a.js → collapse-widget-5d1c8a1c.js} +1 -1
- package/{cont-cell-widget-df95c60d.js → cont-cell-widget-364229db.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-ba8f7d05.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c1a42706.js} +1 -1
- package/{cont-widget-b1cbe6f6.js → cont-widget-039030c8.js} +1 -1
- package/{default-slot-widget-b125582e.js → default-slot-widget-27e60cde.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f6a8711b.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-78541f2e.js} +1 -1
- package/{descriptions-widget-811c6905.js → descriptions-widget-c81452d7.js} +1 -1
- package/{dialog-widget-7c9e5ab7.js → dialog-widget-f6457491.js} +2 -2
- package/{divider-widget-39b24754.js → divider-widget-0828dcd5.js} +2 -2
- package/{drag-wrapper-fb2e0822.js → drag-wrapper-57bd533e.js} +1 -1
- package/{drawer-widget-44c26f9c.js → drawer-widget-25868029.js} +2 -2
- package/{dropdown-widget-b29fa60d.js → dropdown-widget-dc32511f.js} +1 -1
- package/{empty-widget-fb9f2575.js → empty-widget-e53f9180.js} +2 -2
- package/{feedback-widget-83b58c0b.js → feedback-widget-c63fec02.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f03b038a.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-6d64ac07.js} +1 -1
- package/{file-upload-widget-80fe2ea1.js → file-upload-widget-d428c257.js} +1 -1
- package/{form-widget-de1b2c56.js → form-widget-2b0b0eb3.js} +1 -1
- package/{grid-col-widget-6209fb04.js → grid-col-widget-ddf48a3d.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ffcb5ad9.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c8b063a3.js} +1 -1
- package/{grid-widget-8cf3bbc0.js → grid-widget-0b44fc85.js} +1 -1
- package/{input-widget-bc69e43a.js → input-widget-f57d99bc.js} +1 -1
- package/{link-widget-fb675844.js → link-widget-38ba55af.js} +2 -2
- package/{ltable-col-widget-0b2a234b.js → ltable-col-widget-183bddea.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-47e411d0.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cf80f71d.js} +1 -1
- package/{ltable-widget-661b88ba.js → ltable-widget-d82596c0.js} +1 -1
- package/{multirow-widget-df22678e.js → multirow-widget-90bd3c68.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-c47fc865.js → progress-widget-a9646c30.js} +1 -1
- package/{range-widget-28d84c30.js → range-widget-8efa306e.js} +1 -1
- package/render.es.js +15 -15
- package/render.umd.js +1 -1
- package/{result-widget-f82586c7.js → result-widget-d2e45a3e.js} +1 -1
- package/{tab-pane-widget-8e732cb9.js → tab-pane-widget-bf4d2d04.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-dc60cfb9.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-f72c057b.js} +1 -1
- package/{table-col-widget-28622a19.js → table-col-widget-0e3d9e41.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f85260d3.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0ffc8343.js} +1 -1
- package/{table-widget-3314f4ee.js → table-widget-32c9a1c5.js} +68 -70
- package/{tabs-widget-4294b7b1.js → tabs-widget-ae659e43.js} +1 -1
- package/{tag-widget-7dfd41c8.js → tag-widget-1afda0f2.js} +2 -2
- package/{text-widget-12fd6696.js → text-widget-15928ca7.js} +2 -2
- package/{tmpl-widget-efd41e12.js → tmpl-widget-8e5e1ff2.js} +1 -1
- package/{wrapper-widget-f10c4f90.js → wrapper-widget-2a6aae46.js} +1 -1
|
@@ -4,7 +4,7 @@ import { I as B } from "./field-base-5547436d.js";
|
|
|
4
4
|
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-43f2ed09.js";
|
|
5
5
|
import { b as I } from "./share-field-2f0dc91d.js";
|
|
6
6
|
import { w as O } from "./expression-60a3c8f2.js";
|
|
7
|
-
import { D as P } from "./drag-wrapper-
|
|
7
|
+
import { D as P } from "./drag-wrapper-57bd533e.js";
|
|
8
8
|
import { g as W } from "./slot-fb6a57ce.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
10
|
import "./index-edf17e74.js";
|
|
@@ -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-f72c057b.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,7 +1,7 @@
|
|
|
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
2
|
import { w as u } from "./expression-60a3c8f2.js";
|
|
3
3
|
import { I as w } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as C } from "./drag-wrapper-
|
|
4
|
+
import { D as C } from "./drag-wrapper-57bd533e.js";
|
|
5
5
|
import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-43f2ed09.js";
|
|
6
6
|
import { c as W } from "./slot-fb6a57ce.js";
|
|
7
7
|
import { b as h } from "./share-field-2f0dc91d.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
1
|
+
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0ffc8343.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./enum-type-af9f5bba.js";
|
|
4
4
|
import "./baseImp-1bec1392.js";
|
|
@@ -11,7 +11,7 @@ import "./esprima-e8d15055.js";
|
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
12
|
import "./dialog-3c8bd967.js";
|
|
13
13
|
import "element-plus";
|
|
14
|
-
import "./drag-wrapper-
|
|
14
|
+
import "./drag-wrapper-57bd533e.js";
|
|
15
15
|
import "./widget-base-4c2d6265.js";
|
|
16
16
|
import "./index-edf17e74.js";
|
|
17
17
|
import "./slot-fb6a57ce.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as H, computed as O, resolveComponent as J, openBlock as s, createBlock as c, normalizeProps as K, guardReactiveProps as Q, unref as t, withCtx as W, resolveDynamicComponent as $, createCommentVNode as S, createElementBlock as E, Fragment as N, renderList as U } from "vue";
|
|
2
2
|
import { j as P, e as j, c as z } from "./enum-type-af9f5bba.js";
|
|
3
3
|
import { g as X, b as Y } from "./baseImp-1bec1392.js";
|
|
4
|
-
import { D as A } from "./drag-wrapper-
|
|
4
|
+
import { D as A } from "./drag-wrapper-57bd533e.js";
|
|
5
5
|
import { d as h } from "./slot-fb6a57ce.js";
|
|
6
6
|
import { b as Z } from "./multirow-7b2e4944.js";
|
|
7
7
|
import { g as q } from "./uuid-59b631d4.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as ve, ref as F, computed as E, reactive as De, onMounted as He, resolveComponent as j, resolveDirective as Je, openBlock as g, createBlock as h, mergeProps as
|
|
2
|
-
import { a0 as Re, x as et, e as
|
|
3
|
-
import { L as ot, g as it, P as
|
|
1
|
+
import { defineComponent as ve, ref as F, computed as E, reactive as De, onMounted as He, resolveComponent as j, resolveDirective as Je, openBlock as g, createBlock as h, mergeProps as K, unref as a, withCtx as A, withDirectives as qe, createElementBlock as B, createElementVNode as de, createCommentVNode as C, createTextVNode as Qe, toDisplayString as Xe, toHandlers as Ye, createSlots as Ze, renderList as ce, Fragment as D, resolveDynamicComponent as pe, createVNode as we } from "vue";
|
|
2
|
+
import { a0 as Re, x as et, e as U, g as H, t as fe, v as tt, a as nt, f as rt, o as at } from "./enum-type-af9f5bba.js";
|
|
3
|
+
import { L as ot, g as it, P as L, K as lt, b as st, d as ut } from "./baseImp-1bec1392.js";
|
|
4
4
|
import { I as dt } from "./field-base-5547436d.js";
|
|
5
5
|
import { _ as ct } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-43f2ed09.js";
|
|
6
6
|
import { b as pt } from "./share-field-2f0dc91d.js";
|
|
7
7
|
import { s as ft, w as gt, b as mt } from "./expression-60a3c8f2.js";
|
|
8
|
-
import { _ as vt } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
8
|
+
import { _ as vt } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0ffc8343.js";
|
|
9
9
|
import { F as ht, d as bt, g as yt } from "./slot-fb6a57ce.js";
|
|
10
10
|
import { c as St, p as ge } from "./multirow-7b2e4944.js";
|
|
11
11
|
import { S as _t } from "./enum-type-3eee09cf.js";
|
|
12
|
-
import { D as me } from "./drag-wrapper-
|
|
12
|
+
import { D as me } from "./drag-wrapper-57bd533e.js";
|
|
13
13
|
import { Grid as Nt } from "./index-ddd23411.js";
|
|
14
14
|
import "./icon-a0e0cdb0.js";
|
|
15
15
|
import "./dialog-3c8bd967.js";
|
|
@@ -33,20 +33,20 @@ function kt() {
|
|
|
33
33
|
unit: v,
|
|
34
34
|
valid: !0
|
|
35
35
|
};
|
|
36
|
-
const b = v == null ? void 0 : v.replace(/\s+/g, ""),
|
|
37
|
-
if (!
|
|
36
|
+
const b = v == null ? void 0 : v.replace(/\s+/g, ""), P = b == null ? void 0 : b.match(/^(-?\d*\.?\d+)([^\d]*)$/);
|
|
37
|
+
if (!P)
|
|
38
38
|
return {
|
|
39
39
|
original: v,
|
|
40
40
|
numeric: null,
|
|
41
41
|
unit: "",
|
|
42
42
|
valid: !1
|
|
43
43
|
};
|
|
44
|
-
const d = parseFloat(
|
|
44
|
+
const d = parseFloat(P[1]), M = P[2] || "";
|
|
45
45
|
return {
|
|
46
46
|
original: v,
|
|
47
47
|
numeric: isNaN(d) ? null : d,
|
|
48
|
-
unit:
|
|
49
|
-
valid:
|
|
48
|
+
unit: M,
|
|
49
|
+
valid: M !== null && !isNaN(d)
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
};
|
|
@@ -57,11 +57,11 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
57
57
|
props: { ...dt },
|
|
58
58
|
setup(J, { expose: v }) {
|
|
59
59
|
var R;
|
|
60
|
-
const b = J, { fieldName:
|
|
60
|
+
const b = J, { fieldName: P, exposed: d, fieldEditor: M, fieldKey: he, attrs: _, slots: q, extendAttrs: p, events: be, optionItems: y, watchOption: ye, fieldObj: Se, propResultOpt: V, getFieldOptions: _e } = pt({ ...b, exposedWholeInstance: !0 }), { toModel: Ne } = St({
|
|
61
61
|
...b,
|
|
62
|
-
fieldName:
|
|
62
|
+
fieldName: P.value
|
|
63
63
|
}), Q = F();
|
|
64
|
-
var ke = E(() => Re(y == null ? void 0 : y.value, "children", (e) =>
|
|
64
|
+
var ke = E(() => Re(y == null ? void 0 : y.value, "children", (e) => L.getValue(e == null ? void 0 : e.filterable) || !1));
|
|
65
65
|
const Fe = (e) => {
|
|
66
66
|
var t, n;
|
|
67
67
|
Q.value = { ...e }, (n = (t = _.value) == null ? void 0 : t.filterChange) == null || n.call(t, e);
|
|
@@ -73,10 +73,10 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
73
73
|
i = i == null ? void 0 : i.filter(
|
|
74
74
|
(l) => {
|
|
75
75
|
var m;
|
|
76
|
-
const u = r.prop, c =
|
|
76
|
+
const u = r.prop, c = L.getValue(r == null ? void 0 : r.filterMethod), o = t[u];
|
|
77
77
|
if (!c || !H(o))
|
|
78
78
|
return !0;
|
|
79
|
-
const f = (m = fe(o, !0)) == null ? void 0 : m.some((S) => lt(c, { value: S, row: l, col: { ...r, property: u }, ctx:
|
|
79
|
+
const f = (m = fe(o, !0)) == null ? void 0 : m.some((S) => lt(c, { value: S, row: l, col: { ...r, property: u }, ctx: W }));
|
|
80
80
|
return u && f;
|
|
81
81
|
}
|
|
82
82
|
);
|
|
@@ -94,11 +94,11 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
94
94
|
var r = t == null ? void 0 : t.map((l) => ({
|
|
95
95
|
selector: (u, c) => {
|
|
96
96
|
var o, f;
|
|
97
|
-
return ((f = (o = l.column).sortBy) == null ? void 0 : f.call(o, u, c,
|
|
97
|
+
return ((f = (o = l.column).sortBy) == null ? void 0 : f.call(o, u, c, W)) || u[l.prop];
|
|
98
98
|
},
|
|
99
99
|
method: l.column.sortMethod == null ? (u, c) => {
|
|
100
100
|
var o, f;
|
|
101
|
-
return (f = (o = l.column).sortMethod) == null ? void 0 : f.call(o, u, c,
|
|
101
|
+
return (f = (o = l.column).sortMethod) == null ? void 0 : f.call(o, u, c, W);
|
|
102
102
|
} : void 0,
|
|
103
103
|
direction: i[l.order]
|
|
104
104
|
}));
|
|
@@ -112,30 +112,30 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
112
112
|
i !== -1 ? O.value[i] = r : O.value.push(r);
|
|
113
113
|
}
|
|
114
114
|
N.value = 1;
|
|
115
|
-
}, N = F(1), T = F((R = p.value) == null ? void 0 : R.pageSize),
|
|
115
|
+
}, N = F(1), T = F((R = p.value) == null ? void 0 : R.pageSize), $ = F(10), Oe = (e) => {
|
|
116
116
|
T.value = e;
|
|
117
117
|
}, Te = (e) => {
|
|
118
118
|
N.value = e;
|
|
119
|
-
},
|
|
119
|
+
}, z = F(), xe = E(() => {
|
|
120
120
|
var t;
|
|
121
121
|
if (b.designState)
|
|
122
122
|
return [{}];
|
|
123
123
|
if ((t = p.value) != null && t.allowPage) {
|
|
124
|
-
var e = et(
|
|
125
|
-
return
|
|
124
|
+
var e = et(G.value, N.value, T.value);
|
|
125
|
+
return $.value = e == null ? void 0 : e.totalItems, e == null ? void 0 : e.data;
|
|
126
126
|
} else
|
|
127
|
-
return
|
|
128
|
-
}),
|
|
129
|
-
let e =
|
|
127
|
+
return G.value;
|
|
128
|
+
}), G = E(() => {
|
|
129
|
+
let e = z.value;
|
|
130
130
|
return e = Pe(e, Q.value, ke.value), e = ze(e, O.value), e;
|
|
131
|
-
}),
|
|
132
|
-
N.value = 1,
|
|
131
|
+
}), I = F(!1), Ee = () => {
|
|
132
|
+
N.value = 1, $.value = 0, z.value = [];
|
|
133
133
|
}, X = (e = !1) => new Promise((t, n) => {
|
|
134
134
|
const i = (r) => {
|
|
135
|
-
|
|
135
|
+
z.value = r, I.value = !1, t(r);
|
|
136
136
|
};
|
|
137
137
|
ye(e, mt.data, () => {
|
|
138
|
-
Ee(),
|
|
138
|
+
Ee(), I.value = !0;
|
|
139
139
|
}, (r) => {
|
|
140
140
|
var l, u;
|
|
141
141
|
(l = p.value) != null && l.beforeTableRender ? (u = p.value) == null || u.beforeTableRender(r, (c) => {
|
|
@@ -143,15 +143,15 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
143
143
|
}) : i(r);
|
|
144
144
|
});
|
|
145
145
|
}), je = (e) => {
|
|
146
|
-
nt(e) && (e = rt(e)),
|
|
147
|
-
}, Me = () =>
|
|
148
|
-
|
|
149
|
-
}, Y = De({}), Ie =
|
|
146
|
+
nt(e) && (e = rt(e)), z.value = fe(e, !0);
|
|
147
|
+
}, Me = () => z.value, Ve = (e = !0) => {
|
|
148
|
+
I.value = e;
|
|
149
|
+
}, Y = De({}), Ie = P.value;
|
|
150
150
|
ht.globalProvide({
|
|
151
151
|
globalFormName: Ie,
|
|
152
152
|
globalDataModel: Y
|
|
153
153
|
});
|
|
154
|
-
const We =
|
|
154
|
+
const We = U.i18nt("designer.hint.noData"), Ae = () => {
|
|
155
155
|
var t;
|
|
156
156
|
var e = {};
|
|
157
157
|
return (t = Object.keys(d == null ? void 0 : d.allRefList)) == null || t.forEach((n) => {
|
|
@@ -185,9 +185,9 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
185
185
|
}), Le = E(() => {
|
|
186
186
|
var e;
|
|
187
187
|
return (e = p.value) == null ? void 0 : e.enableExport;
|
|
188
|
-
}), { exporting: $e, exportExcel: Ge } = ot(), { splitNumericUnit: Ke } = kt(),
|
|
188
|
+
}), { exporting: $e, exportExcel: Ge } = ot(), { splitNumericUnit: Ke } = kt(), W = it({ instance: V == null ? void 0 : V.instance }), Z = (e) => {
|
|
189
189
|
var t;
|
|
190
|
-
return ((t = e == null ? void 0 : e.filter((n) =>
|
|
190
|
+
return ((t = e == null ? void 0 : e.filter((n) => !!L.getValue(n.exportable))) == null ? void 0 : t.map((n) => {
|
|
191
191
|
var l;
|
|
192
192
|
const { getWidgetOptionByPropValue: i } = st({ options: n }), r = (l = Ke(n.width + "")) == null ? void 0 : l.numeric;
|
|
193
193
|
return {
|
|
@@ -197,9 +197,9 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
197
197
|
width: r,
|
|
198
198
|
formatter: (u, c, o, f) => {
|
|
199
199
|
const m = n.formatter;
|
|
200
|
-
if (!m ||
|
|
200
|
+
if (!m || !L.getValue(m))
|
|
201
201
|
return o;
|
|
202
|
-
const S = { row: u, column: c, cellValue: o, index: f, ctx:
|
|
202
|
+
const S = { row: u, column: c, cellValue: o, index: f, ctx: W };
|
|
203
203
|
return ut(i(m), S);
|
|
204
204
|
}
|
|
205
205
|
};
|
|
@@ -213,7 +213,7 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
213
213
|
sheetName: (r = p.value) == null ? void 0 : r.exportSheetName,
|
|
214
214
|
autoWidth: (l = p.value) == null ? void 0 : l.exportAutoWidth
|
|
215
215
|
}, n = Z(y == null ? void 0 : y.value);
|
|
216
|
-
return Ge(
|
|
216
|
+
return Ge(G.value, n, { ...t, ...e });
|
|
217
217
|
};
|
|
218
218
|
return He(() => {
|
|
219
219
|
b.designState || X(!0);
|
|
@@ -231,22 +231,22 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
231
231
|
pageSize: () => T.value
|
|
232
232
|
}), (e, t) => {
|
|
233
233
|
const n = j("el-empty"), i = j("el-button"), r = j("el-row"), l = j("el-table"), u = j("el-pagination"), c = Je("loading");
|
|
234
|
-
return g(), h(ct,
|
|
234
|
+
return g(), h(ct, K(e.$props, {
|
|
235
235
|
"prop-options": { fieldObj: a(Se) }
|
|
236
236
|
}), {
|
|
237
|
-
default:
|
|
237
|
+
default: A(({ data: o }) => {
|
|
238
238
|
var f, m, S, k, x, ee, te, ne, re, ae, oe, ie;
|
|
239
239
|
return [
|
|
240
240
|
!a(y) || ((f = a(y)) == null ? void 0 : f.length) <= 0 || ((m = a(y)) == null ? void 0 : m[0]) == null ? (g(), h(n, {
|
|
241
241
|
key: 0,
|
|
242
|
-
description: a(
|
|
243
|
-
}, null, 8, ["description"])) : qe((g(),
|
|
242
|
+
description: a(U).i18nt("designer.hint.tableSetting")
|
|
243
|
+
}, null, 8, ["description"])) : qe((g(), B("div", Ft, [
|
|
244
244
|
a(Ue) ? (g(), h(r, {
|
|
245
245
|
key: 0,
|
|
246
246
|
justify: "space-between",
|
|
247
247
|
style: { padding: "10px" }
|
|
248
248
|
}, {
|
|
249
|
-
default:
|
|
249
|
+
default: A(() => {
|
|
250
250
|
var s;
|
|
251
251
|
return [
|
|
252
252
|
de("div", Pt, [
|
|
@@ -255,8 +255,8 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
255
255
|
designState: e.designState,
|
|
256
256
|
designer: e.designer,
|
|
257
257
|
widget: a(bt)(a(q), "toolbar"),
|
|
258
|
-
dragTip: a(
|
|
259
|
-
}, null, 8, ["designState", "designer", "widget", "dragTip"])) :
|
|
258
|
+
dragTip: a(U).i18nt("designer.hint.draggableArea1")
|
|
259
|
+
}, null, 8, ["designState", "designer", "widget", "dragTip"])) : C("", !0)
|
|
260
260
|
]),
|
|
261
261
|
de("div", null, [
|
|
262
262
|
a(Le) ? (g(), h(i, {
|
|
@@ -265,19 +265,19 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
265
265
|
onClick: w,
|
|
266
266
|
icon: a(Nt)
|
|
267
267
|
}, {
|
|
268
|
-
default:
|
|
269
|
-
Qe(Xe(a(
|
|
268
|
+
default: A(() => [
|
|
269
|
+
Qe(Xe(a(U).i18nt("designer.hint.export")), 1)
|
|
270
270
|
]),
|
|
271
271
|
_: 1
|
|
272
|
-
}, 8, ["icon"])) :
|
|
272
|
+
}, 8, ["icon"])) : C("", !0)
|
|
273
273
|
])
|
|
274
274
|
];
|
|
275
275
|
}),
|
|
276
276
|
_: 1
|
|
277
|
-
})) :
|
|
278
|
-
(g(), h(l,
|
|
277
|
+
})) : C("", !0),
|
|
278
|
+
(g(), h(l, K({
|
|
279
279
|
ref_key: "fieldEditor",
|
|
280
|
-
ref:
|
|
280
|
+
ref: M
|
|
281
281
|
}, a(_), Ye(a(be)), {
|
|
282
282
|
key: a(he),
|
|
283
283
|
"empty-text": ((S = a(_)) == null ? void 0 : S.emptyText) || a(We),
|
|
@@ -292,27 +292,25 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
292
292
|
}), Ze({ _: 2 }, [
|
|
293
293
|
ce(a(yt)(a(q), !0), (s) => ({
|
|
294
294
|
name: s.slotName,
|
|
295
|
-
fn:
|
|
295
|
+
fn: A(() => {
|
|
296
296
|
var le, se;
|
|
297
297
|
return [
|
|
298
|
-
(s == null ? void 0 : s.slotName) === a(ft).default ? (g(),
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
s != null && s.default ? (g(), h(pe(s == null ? void 0 : s.default), { key: 0 })) : P("", !0),
|
|
311
|
-
we(me, D(e.$props, {
|
|
298
|
+
(s == null ? void 0 : s.slotName) === a(ft).default ? (g(), B(D, { key: 0 }, [
|
|
299
|
+
s != null && s.default && ((le = a(p)) != null && le.slotable) ? (g(), h(pe(s == null ? void 0 : s.default), { key: 0 })) : (g(!0), B(D, { key: 1 }, ce(a(_e)("optionItems"), (ue, Ct) => (g(), h(vt, {
|
|
300
|
+
key: ue.uuid,
|
|
301
|
+
options: ue,
|
|
302
|
+
designer: e.designer,
|
|
303
|
+
propResultOpt: a(V),
|
|
304
|
+
designState: e.designState,
|
|
305
|
+
"real-table-data": z.value
|
|
306
|
+
}, null, 8, ["options", "designer", "propResultOpt", "designState", "real-table-data"]))), 128))
|
|
307
|
+
], 64)) : (se = a(p)) != null && se.slotable ? (g(), B(D, { key: 1 }, [
|
|
308
|
+
s != null && s.default ? (g(), h(pe(s == null ? void 0 : s.default), { key: 0 })) : C("", !0),
|
|
309
|
+
we(me, K(e.$props, {
|
|
312
310
|
widget: s,
|
|
313
311
|
"drag-class": "dragSize1"
|
|
314
312
|
}), null, 16, ["widget"])
|
|
315
|
-
], 64)) :
|
|
313
|
+
], 64)) : C("", !0)
|
|
316
314
|
];
|
|
317
315
|
})
|
|
318
316
|
}))
|
|
@@ -326,12 +324,12 @@ const Ft = { key: 1 }, Pt = { style: { flex: "1" } }, zt = ve({ componentName: g
|
|
|
326
324
|
"page-sizes": (re = a(p)) == null ? void 0 : re.pageSizes,
|
|
327
325
|
hideOnSinglePage: (ae = a(p)) == null ? void 0 : ae.hideOnSinglePage,
|
|
328
326
|
layout: (ie = (oe = a(p)) == null ? void 0 : oe.layout) == null ? void 0 : ie.join(","),
|
|
329
|
-
total:
|
|
327
|
+
total: $.value,
|
|
330
328
|
onSizeChange: Oe,
|
|
331
329
|
onCurrentChange: Te
|
|
332
|
-
}, null, 8, ["current-page", "page-size", "page-sizes", "hideOnSinglePage", "layout", "total"])) :
|
|
330
|
+
}, null, 8, ["current-page", "page-size", "page-sizes", "hideOnSinglePage", "layout", "total"])) : C("", !0)
|
|
333
331
|
])), [
|
|
334
|
-
[c, !e.designState &&
|
|
332
|
+
[c, !e.designState && I.value]
|
|
335
333
|
])
|
|
336
334
|
];
|
|
337
335
|
}),
|
|
@@ -4,7 +4,7 @@ import { b as X, w as Y } from "./expression-60a3c8f2.js";
|
|
|
4
4
|
import { I as Z } from "./widget-base-4c2d6265.js";
|
|
5
5
|
import { b as ee } from "./share-field-2f0dc91d.js";
|
|
6
6
|
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-43f2ed09.js";
|
|
7
|
-
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
7
|
+
import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-f72c057b.js";
|
|
8
8
|
import { u as oe } from "./index-edf17e74.js";
|
|
9
9
|
import { B as T } from "./baseImp-1bec1392.js";
|
|
10
10
|
const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-78541f2e.js";
|
|
4
4
|
import { w as d } from "./expression-60a3c8f2.js";
|
|
5
5
|
import { b as _ } from "./share-field-2f0dc91d.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-0d6a0693.js";
|
|
20
20
|
import "./slot-fb6a57ce.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-74b3ca38.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-57bd533e.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-7b2e4944.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-78541f2e.js";
|
|
4
4
|
import { w as d } from "./expression-60a3c8f2.js";
|
|
5
5
|
import { b as _ } from "./share-field-2f0dc91d.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-0d6a0693.js";
|
|
20
20
|
import "./slot-fb6a57ce.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-74b3ca38.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-57bd533e.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-7b2e4944.js";
|
|
@@ -3,7 +3,7 @@ import { e as E, t as J, f as q } from "./enum-type-af9f5bba.js";
|
|
|
3
3
|
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
4
|
import { b as H } from "./share-field-2f0dc91d.js";
|
|
5
5
|
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-43f2ed09.js";
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
6
|
+
import { D as v } from "./drag-wrapper-57bd533e.js";
|
|
7
7
|
import { i as Q, d as U } from "./slot-fb6a57ce.js";
|
|
8
8
|
import { c as X } from "./multirow-7b2e4944.js";
|
|
9
9
|
import { b as Y } from "./expression-60a3c8f2.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as W, watch as h, defineComponent as C, resolveDirective as y, openBlock as w, createBlock as L, mergeProps as b, unref as s, withCtx as j, withDirectives as D, createElementBlock as O, normalizeClass as P, createVNode as x, createCommentVNode as z } from "vue";
|
|
2
2
|
import { I as R } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as S } from "./drag-wrapper-
|
|
3
|
+
import { D as S } from "./drag-wrapper-57bd533e.js";
|
|
4
4
|
import { _ as k } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-43f2ed09.js";
|
|
5
5
|
import { w as A } from "./expression-60a3c8f2.js";
|
|
6
6
|
import { W as v } from "./enum-type-3eee09cf.js";
|