ss-component-new 1.3.537 → 1.3.539
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/dist/{MTLLoader-CJpSdxp4.js → MTLLoader-C39kpgdW.js} +1 -1
- package/dist/{OrbitControls-Dn5RI8yb.js → OrbitControls-gxPdDfJE.js} +1 -1
- package/dist/{URDFLoader-CBCUFT9t.js → URDFLoader-_Fx0i2TU.js} +2 -2
- package/dist/{animationData-CePYKY0n.js → animationData-CluZJZuh.js} +3 -3
- package/dist/{array-De_ksRNY.js → array-CvIYSfPf.js} +3 -3
- package/dist/clone-ez7vwxnP.js +8 -0
- package/dist/{iconfont-CZ40-aPC.js → iconfont-SlSF8dh4.js} +2 -2
- package/dist/{index-DfKuu864.js → index-B-SRrjLA.js} +4 -4
- package/dist/{index-CHI_k9PI.js → index-B3osj0rP.js} +1 -1
- package/dist/{index-CkW_ja7U.js → index-BLlYLkpo.js} +2 -2
- package/dist/{index-CzLHT5lM.js → index-BMW0Bmak.js} +32 -32
- package/dist/{index-BrqL9KU9.js → index-BgFsJTRi.js} +2 -2
- package/dist/{index-B-C5TdFW.js → index-BmXJsp_5.js} +16 -16
- package/dist/{index-DQ3EYkwb.js → index-BnQxLEeP.js} +2 -2
- package/dist/index-BscI3lbU.js +55 -0
- package/dist/{index-CTtYLr1S.js → index-COLCZG9X.js} +24257 -23557
- package/dist/index-CQD9tf3F.js +197 -0
- package/dist/{index-Ddn47YOo.js → index-CThJS2hV.js} +1 -1
- package/dist/{index-CisHksIK.js → index-CUiW029G.js} +4 -4
- package/dist/{index-BZjBZlTS.js → index-CUpk1gQx.js} +2 -2
- package/dist/{index-DEI7Vflb.js → index-CVIPXYtg.js} +1 -1
- package/dist/{index-EP4_0PDS.js → index-CZYjnaB4.js} +8 -8
- package/dist/{index-BnWsptYg.js → index-C_bkw4Ks.js} +17 -17
- package/dist/{index-DwJLblIq.js → index-CocPelja.js} +4 -4
- package/dist/{index-CH17Cg3K.js → index-CqUR7JfB.js} +13 -13
- package/dist/{index-C0zUtuoD.js → index-D-nAxY--.js} +25 -26
- package/dist/{index-DxOcC8k8.js → index-DA0q73bO.js} +1 -1
- package/dist/{index-Cn16Hic7.js → index-DB1HWx1W.js} +1 -1
- package/dist/{index-DdlbvI4c.js → index-DcNXwXrV.js} +14 -14
- package/dist/{index-C2FVe2U6.js → index-DmaDbz-y.js} +26 -26
- package/dist/{index-DeGxq_J_.js → index-DqXvOyIs.js} +192 -197
- package/dist/{index-BZECuG4k.js → index-Ds-fktuI.js} +1 -1
- package/dist/{index-eNJ1M05y.js → index-Fy4MrrOF.js} +25 -25
- package/dist/{index-CGWCPa7J.js → index-GY3-9I5w.js} +8 -8
- package/dist/{index-D94Xd2N1.js → index-KxgyPOIl.js} +3 -3
- package/dist/index-RLUSh93k.js +1000 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js} +3 -3
- package/dist/{main---mNjhuu.js → main-ZR_JK1Yg.js} +4 -4
- package/dist/{menuIndex-CUwbp3jl.js → menuIndex-VozC7XXB.js} +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-om3lolpg.js → threeModel-4Q0gEotC.js} +4 -4
- package/dist/{threePreview-BKq8-BNs.js → threePreview-DPTGt5fZ.js} +4 -4
- package/dist/{threeSceneView-B9HE-6FF.js → threeSceneView-Bm5LEA_Q.js} +13 -14
- package/dist/{threeSceneViewForCPMPIP-B3iqjUVV.js → threeSceneViewForCPMPIP-B3SUlGk5.js} +8 -8
- package/dist/{threeTrackPathView-Cua5p2_z.js → threeTrackPathView-CHwHb3Z5.js} +4 -4
- package/dist/{threeViewerHost-BgkLy3Px.js → threeViewerHost-p-5Iqaxw.js} +12 -12
- package/dist/{urdfTree-CEVNcjbP.js → urdfTree-_2vCDAO7.js} +1 -1
- package/dist/{workpieceTreePanel-5Z2rOZ9E.js → workpieceTreePanel-BaMbkaOM.js} +4 -4
- package/package.json +1 -1
- package/dist/App-Bs9l6gBz.js +0 -207
- package/dist/clone-CXsLtSvf.js +0 -8
- package/dist/header-B1G-mIVr.js +0 -651
- package/dist/index-DISV4b3h.js +0 -1048
package/dist/header-B1G-mIVr.js
DELETED
|
@@ -1,651 +0,0 @@
|
|
|
1
|
-
import { ref as P, watch as ee, nextTick as ve, resolveComponent as j, createBlock as B, openBlock as d, withCtx as y, createElementVNode as b, renderSlot as re, onMounted as he, onBeforeUnmount as be, createElementBlock as f, createCommentVNode as h, normalizeStyle as ke, normalizeClass as R, toDisplayString as C, createVNode as _, withModifiers as I, unref as Q, Fragment as Y, renderList as J, createTextVNode as X } from "vue";
|
|
2
|
-
import { i as ue, a as de, E as Z } from "./request-B1c8BUkR.js";
|
|
3
|
-
import { a as xe, _ as ce } from "./index-B-C5TdFW.js";
|
|
4
|
-
import { g as we, r as Ce, k as ie } from "./index-Cn16Hic7.js";
|
|
5
|
-
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { c as fe } from "./index-DeGxq_J_.js";
|
|
7
|
-
const me = {
|
|
8
|
-
__name: "index",
|
|
9
|
-
props: {
|
|
10
|
-
isVisible: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: !1
|
|
13
|
-
},
|
|
14
|
-
title: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: ""
|
|
17
|
-
},
|
|
18
|
-
placement: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "bottom"
|
|
21
|
-
},
|
|
22
|
-
width: {
|
|
23
|
-
type: Number,
|
|
24
|
-
default: 200
|
|
25
|
-
},
|
|
26
|
-
trigger: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: "click"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
setup(r) {
|
|
32
|
-
const p = r, A = P(null), u = P(!1), U = P(null);
|
|
33
|
-
return ee(
|
|
34
|
-
() => p == null ? void 0 : p.isVisible,
|
|
35
|
-
() => {
|
|
36
|
-
u.value = p == null ? void 0 : p.isVisible;
|
|
37
|
-
},
|
|
38
|
-
{ deep: !0, immediate: !0 }
|
|
39
|
-
), ee(
|
|
40
|
-
() => U.value,
|
|
41
|
-
() => {
|
|
42
|
-
ve(() => {
|
|
43
|
-
var x, w;
|
|
44
|
-
(w = (x = A.value) == null ? void 0 : x.updatePopper) == null || w.call(x);
|
|
45
|
-
});
|
|
46
|
-
},
|
|
47
|
-
{ deep: !0, immediate: !0 }
|
|
48
|
-
), (x, w) => {
|
|
49
|
-
const T = j("el-popover");
|
|
50
|
-
return d(), B(T, {
|
|
51
|
-
visible: u.value,
|
|
52
|
-
"onUpdate:visible": w[0] || (w[0] = (m) => u.value = m),
|
|
53
|
-
trigger: p.trigger,
|
|
54
|
-
title: p == null ? void 0 : p.title,
|
|
55
|
-
placement: p == null ? void 0 : p.placement,
|
|
56
|
-
width: p == null ? void 0 : p.width,
|
|
57
|
-
ref_key: "popOverRef",
|
|
58
|
-
ref: A,
|
|
59
|
-
"trigger-keys": "[]"
|
|
60
|
-
}, {
|
|
61
|
-
reference: y(() => [
|
|
62
|
-
b("div", null, [
|
|
63
|
-
re(x.$slots, "reference", {
|
|
64
|
-
ref_key: "referenceRef",
|
|
65
|
-
ref: U
|
|
66
|
-
})
|
|
67
|
-
])
|
|
68
|
-
]),
|
|
69
|
-
default: y(() => [
|
|
70
|
-
b("div", null, [
|
|
71
|
-
re(x.$slots, "content")
|
|
72
|
-
])
|
|
73
|
-
]),
|
|
74
|
-
_: 3
|
|
75
|
-
}, 8, ["visible", "trigger", "title", "placement", "width"]);
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
}, Ve = {
|
|
79
|
-
key: 0,
|
|
80
|
-
class: "extra-button-content"
|
|
81
|
-
}, Ne = { class: "table-operator-wrap" }, Se = {
|
|
82
|
-
key: 0,
|
|
83
|
-
class: "extra-button-filter"
|
|
84
|
-
}, $e = {
|
|
85
|
-
key: 1,
|
|
86
|
-
class: "extra-header"
|
|
87
|
-
}, Be = ["onClick"], Pe = { class: "table-op-text" }, Ae = { class: "table-op-text" }, Ee = {
|
|
88
|
-
class: "drop-menu",
|
|
89
|
-
style: { width: "120px" }
|
|
90
|
-
}, Fe = ["onClick"], Oe = { key: 0 }, Me = { key: 1 }, De = ["onClick"], Le = { class: "table-op-text" }, Re = {
|
|
91
|
-
key: 1,
|
|
92
|
-
class: "extra-button-content tabs-button-wrapper"
|
|
93
|
-
}, je = { class: "table-operator-wrap" }, ze = { class: "extra-button-filter" }, Ie = {
|
|
94
|
-
key: 0,
|
|
95
|
-
class: "extra-header"
|
|
96
|
-
}, Ue = { class: "table-op-action" }, Te = { class: "table-op-text" }, qe = {
|
|
97
|
-
class: "drop-menu",
|
|
98
|
-
style: { width: "120px" }
|
|
99
|
-
}, Ke = { key: 0 }, He = { key: 1 }, Qe = ["onClick"], Ye = { class: "table-op-text" }, Je = {
|
|
100
|
-
__name: "header",
|
|
101
|
-
props: {
|
|
102
|
-
pageLayout: {
|
|
103
|
-
type: String,
|
|
104
|
-
default: "vertical"
|
|
105
|
-
},
|
|
106
|
-
lockingPage: Boolean,
|
|
107
|
-
level: {
|
|
108
|
-
type: Number,
|
|
109
|
-
default: 1
|
|
110
|
-
},
|
|
111
|
-
compName: {
|
|
112
|
-
type: String,
|
|
113
|
-
default: "表格名称",
|
|
114
|
-
required: !1
|
|
115
|
-
},
|
|
116
|
-
filterShow: {
|
|
117
|
-
type: Boolean,
|
|
118
|
-
default: !1
|
|
119
|
-
},
|
|
120
|
-
isDevMode: Boolean,
|
|
121
|
-
selectNums: Number,
|
|
122
|
-
dataNums: Number,
|
|
123
|
-
filterValues: Array,
|
|
124
|
-
buttons: {
|
|
125
|
-
type: Array,
|
|
126
|
-
default: () => []
|
|
127
|
-
},
|
|
128
|
-
columns: {
|
|
129
|
-
type: Array,
|
|
130
|
-
default: () => []
|
|
131
|
-
},
|
|
132
|
-
menuFilter: {
|
|
133
|
-
type: Array,
|
|
134
|
-
default: () => []
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
emits: ["buttonClick", "filter", "getImportData"],
|
|
138
|
-
setup(r, { emit: p }) {
|
|
139
|
-
const A = p, u = r, U = () => {
|
|
140
|
-
const o = (u == null ? void 0 : u.menuFilter) || [];
|
|
141
|
-
return Array.isArray(o) && (o == null ? void 0 : o.some((l) => {
|
|
142
|
-
const n = typeof l == "string" ? l : JSON.stringify(l);
|
|
143
|
-
return n == null ? void 0 : n.includes("HideGroup=Yes");
|
|
144
|
-
}));
|
|
145
|
-
}, x = P(""), w = P(!1), T = P(!1), m = P([]), le = P([
|
|
146
|
-
{ label: "清空", background: "#999999" },
|
|
147
|
-
{ label: "确认" }
|
|
148
|
-
]), g = [
|
|
149
|
-
{
|
|
150
|
-
label: "新增",
|
|
151
|
-
icon: "new"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
label: "导入",
|
|
155
|
-
icon: "import_101"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
label: "导出",
|
|
159
|
-
icon: "export_101"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
label: "导出paraform",
|
|
163
|
-
icon: "export_101"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
label: "OCR识别",
|
|
167
|
-
icon: "OCR识别"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
label: "切换视图",
|
|
171
|
-
icon: "cardViewport_101"
|
|
172
|
-
}
|
|
173
|
-
];
|
|
174
|
-
function ye(o, l) {
|
|
175
|
-
return o.map((n) => {
|
|
176
|
-
const t = { ...n };
|
|
177
|
-
return l.forEach((i) => {
|
|
178
|
-
delete t[i];
|
|
179
|
-
}), t;
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
function pe(o) {
|
|
183
|
-
if (!o || o.t !== "n") return (o == null ? void 0 : o.v) ?? "";
|
|
184
|
-
const l = o.v;
|
|
185
|
-
if (o.z) {
|
|
186
|
-
const n = String(o.z).toLowerCase(), t = [
|
|
187
|
-
"yyyy/mm/dd",
|
|
188
|
-
"yyyy-mm-dd",
|
|
189
|
-
"yyyy.mm.dd",
|
|
190
|
-
"yy/mm/dd",
|
|
191
|
-
"yy-mm-dd",
|
|
192
|
-
"yy.mm.dd",
|
|
193
|
-
"mm/dd/yy",
|
|
194
|
-
"mm-dd-yy",
|
|
195
|
-
"mm.dd.yy",
|
|
196
|
-
"dd/mm/yy",
|
|
197
|
-
"dd-mm-yy",
|
|
198
|
-
"dd.mm.yy",
|
|
199
|
-
"m/d/yy",
|
|
200
|
-
"m/d/yyyy",
|
|
201
|
-
"d/m/yy",
|
|
202
|
-
"d/m/yyyy",
|
|
203
|
-
"yyyy年",
|
|
204
|
-
"yy年",
|
|
205
|
-
"m月",
|
|
206
|
-
"d日",
|
|
207
|
-
"yyyy年m月d日",
|
|
208
|
-
"yy年m月d日",
|
|
209
|
-
"[$-f800]",
|
|
210
|
-
"[$-f400]"
|
|
211
|
-
// Excel内置日期格式
|
|
212
|
-
];
|
|
213
|
-
for (const E of t)
|
|
214
|
-
if (n.includes(E))
|
|
215
|
-
return q(l);
|
|
216
|
-
const i = /[ymdhms]/.test(n), N = /^[0#\.\,\s]+$/.test(n.replace(/[\\\/\-:]/g, ""));
|
|
217
|
-
if (i && !N)
|
|
218
|
-
return q(l);
|
|
219
|
-
}
|
|
220
|
-
if (l >= 1 && l <= 73050) {
|
|
221
|
-
if (l < 5e3)
|
|
222
|
-
return l;
|
|
223
|
-
if (l >= 5e3 && l < 4e4) {
|
|
224
|
-
const n = Math.floor((l - 25569) / 365.25) + 1970;
|
|
225
|
-
return n >= 1970 && n <= 2e3 && o.z && /[ymd]/.test(String(o.z).toLowerCase()) ? q(l) : l;
|
|
226
|
-
}
|
|
227
|
-
if (l >= 4e4)
|
|
228
|
-
return q(l);
|
|
229
|
-
}
|
|
230
|
-
return l;
|
|
231
|
-
}
|
|
232
|
-
function q(o) {
|
|
233
|
-
if (typeof o != "number") return o;
|
|
234
|
-
try {
|
|
235
|
-
const l = new Date((o - 25569) * 86400 * 1e3);
|
|
236
|
-
if (isNaN(l.getTime()))
|
|
237
|
-
return o;
|
|
238
|
-
const n = l.getFullYear(), t = String(l.getMonth() + 1).padStart(2, "0"), i = String(l.getDate()).padStart(2, "0");
|
|
239
|
-
return `${n}-${t}-${i}`;
|
|
240
|
-
} catch {
|
|
241
|
-
return o;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
const ae = (o) => {
|
|
245
|
-
const l = o.raw;
|
|
246
|
-
if (!l) return;
|
|
247
|
-
const n = new FileReader();
|
|
248
|
-
n.onload = (t) => {
|
|
249
|
-
try {
|
|
250
|
-
const i = new Uint8Array(t.target.result), N = Ce(i, { type: "array" }), E = N.SheetNames[0], F = N.Sheets[E], O = ie.decode_range(F["!ref"]).e.c + 1, S = new Array(O).fill(""), V = [];
|
|
251
|
-
for (const c in F) {
|
|
252
|
-
if (c[0] === "!") continue;
|
|
253
|
-
const { r: v, c: a } = ie.decode_cell(c), s = F[c];
|
|
254
|
-
let k = pe(s);
|
|
255
|
-
if ((k == null || k === "") && (k = ""), v === 0)
|
|
256
|
-
S[a] = k;
|
|
257
|
-
else {
|
|
258
|
-
if (!V[v - 1]) {
|
|
259
|
-
V[v - 1] = {};
|
|
260
|
-
for (let L = 0; L < O; L++)
|
|
261
|
-
V[v - 1][`col_${L}`] = "";
|
|
262
|
-
}
|
|
263
|
-
V[v - 1][`col_${a}`] = k;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
for (let c = 0; c < O; c++)
|
|
267
|
-
S[c] === void 0 && (S[c] = "");
|
|
268
|
-
const $ = [];
|
|
269
|
-
for (let c = 0; c < S.length; c++)
|
|
270
|
-
(!S[c] || S[c].toString().trim() === "") && $.push(c);
|
|
271
|
-
let M, D;
|
|
272
|
-
($ == null ? void 0 : $.length) > 0 ? (Z.warning("存在键为空的列,已自动过滤,请检查补充"), M = S.filter((c, v) => !$.includes(v)), D = ye(V, $ == null ? void 0 : $.map((c) => `col_${c}`))) : (M = S, D = V);
|
|
273
|
-
const e = V == null ? void 0 : V[0];
|
|
274
|
-
if (!(e != null && e.hasOwnProperty("col_0"))) return Z.error("导入的数据列不匹配,请检查是否错位");
|
|
275
|
-
A("getImportData", M, D);
|
|
276
|
-
} catch (i) {
|
|
277
|
-
throw Z.error(i.message), new Error(i.message);
|
|
278
|
-
}
|
|
279
|
-
}, n.readAsArrayBuffer(l);
|
|
280
|
-
}, oe = (o) => {
|
|
281
|
-
var n;
|
|
282
|
-
const l = (n = m.value) == null ? void 0 : n.reduce((t, i, N) => (N === 0 ? t[i.label] = o : t[i.label] = i == null ? void 0 : i.value, t), {});
|
|
283
|
-
A("filter", l, o, !0);
|
|
284
|
-
}, z = (o, l = {}) => {
|
|
285
|
-
A("buttonClick", o, "", l);
|
|
286
|
-
}, te = (o) => {
|
|
287
|
-
var l, n;
|
|
288
|
-
m.value = (n = (l = we(fe(o))) == null ? void 0 : l.filter((t) => (t == null ? void 0 : t.label) !== "" && (t == null ? void 0 : t.label) !== "操作")) == null ? void 0 : n.map((t) => ({
|
|
289
|
-
label: (t == null ? void 0 : t.label) ?? "",
|
|
290
|
-
value: "",
|
|
291
|
-
name: (t == null ? void 0 : t.prop) ?? "",
|
|
292
|
-
isFormColHidden: t == null ? void 0 : t.isTableColHidden,
|
|
293
|
-
width: 3,
|
|
294
|
-
prop: (t == null ? void 0 : t.prop) ?? ""
|
|
295
|
-
}));
|
|
296
|
-
}, K = P(!1), ge = (o) => {
|
|
297
|
-
var l;
|
|
298
|
-
if ((o == null ? void 0 : o.buttonName) === "确认" && (A("filter", o == null ? void 0 : o.content), K.value = (o == null ? void 0 : o.content) && Object.values(o == null ? void 0 : o.content).length > 0), (o == null ? void 0 : o.buttonName) === "清空") {
|
|
299
|
-
const n = fe(o == null ? void 0 : o.content);
|
|
300
|
-
for (const t in n)
|
|
301
|
-
n[t] = "";
|
|
302
|
-
m.value = (l = m.value) == null ? void 0 : l.map((t) => ({
|
|
303
|
-
...t,
|
|
304
|
-
value: ""
|
|
305
|
-
})), A("filter", n), K.value = !1;
|
|
306
|
-
}
|
|
307
|
-
w.value = !1;
|
|
308
|
-
}, ne = () => {
|
|
309
|
-
w.value = !w.value, T.value = !0;
|
|
310
|
-
}, se = () => {
|
|
311
|
-
var l, n;
|
|
312
|
-
m.value = (l = m.value) == null ? void 0 : l.map((t) => ({
|
|
313
|
-
...t,
|
|
314
|
-
value: ""
|
|
315
|
-
}));
|
|
316
|
-
const o = (n = m.value) == null ? void 0 : n.reduce((t, i) => (t[i.label] = i.value, t), {});
|
|
317
|
-
A("filter", o);
|
|
318
|
-
}, H = P(null);
|
|
319
|
-
let W;
|
|
320
|
-
return W = (o) => {
|
|
321
|
-
var i;
|
|
322
|
-
if (!w.value) return;
|
|
323
|
-
const l = (i = H == null ? void 0 : H.value) == null ? void 0 : i.$el, n = l == null ? void 0 : l.contains(o.target);
|
|
324
|
-
let t = !1;
|
|
325
|
-
document.querySelectorAll(".el-popover, .el-popper").forEach((N) => {
|
|
326
|
-
N.contains(o.target) && (t = !0);
|
|
327
|
-
}), !n && !t && (w.value = !1);
|
|
328
|
-
}, he(() => {
|
|
329
|
-
document.addEventListener("click", W), te(u.columns);
|
|
330
|
-
}), be(() => {
|
|
331
|
-
document.removeEventListener("click", W);
|
|
332
|
-
}), ee(
|
|
333
|
-
() => u.columns,
|
|
334
|
-
() => {
|
|
335
|
-
te(u.columns);
|
|
336
|
-
},
|
|
337
|
-
{ deep: !0, immediate: !0 }
|
|
338
|
-
), (o, l) => {
|
|
339
|
-
var F, G, O, S, V, $, M, D;
|
|
340
|
-
const n = j("el-icon"), t = j("svg-icon"), i = j("el-input"), N = j("el-upload"), E = j("el-button");
|
|
341
|
-
return r.pageLayout === "vertical" ? (d(), f("div", Ve, [
|
|
342
|
-
U() ? h("", !0) : (d(), f("div", {
|
|
343
|
-
key: 0,
|
|
344
|
-
class: R(r.compName ? "table-name-wrap" : ""),
|
|
345
|
-
style: ke({
|
|
346
|
-
background: (u == null ? void 0 : u.level) > 1 ? "transparent" : "var(--ssgroup-background)",
|
|
347
|
-
paddingLeft: ((u == null ? void 0 : u.level) - 1) * 12 + "px",
|
|
348
|
-
fontWeight: 600 - ((u == null ? void 0 : u.level) - 1) * 100 >= 400 ? 600 - ((u == null ? void 0 : u.level) - 1) * 100 : 400,
|
|
349
|
-
fontSize: 17 - (u == null ? void 0 : u.level) >= 14 ? 17 - (u == null ? void 0 : u.level) + "px" : "14px"
|
|
350
|
-
})
|
|
351
|
-
}, C(r.compName), 7)),
|
|
352
|
-
b("div", Ne, [
|
|
353
|
-
u != null && u.filterShow ? (d(), f("div", Se, [
|
|
354
|
-
_(me, {
|
|
355
|
-
trigger: "contextmenu",
|
|
356
|
-
ref_key: "popOverRef",
|
|
357
|
-
ref: H,
|
|
358
|
-
title: "",
|
|
359
|
-
width: 800,
|
|
360
|
-
placement: "bottom-start",
|
|
361
|
-
isVisible: w.value,
|
|
362
|
-
"onUpdate:isVisible": l[4] || (l[4] = (e) => w.value = e)
|
|
363
|
-
}, {
|
|
364
|
-
reference: y(() => {
|
|
365
|
-
var e, c, v, a;
|
|
366
|
-
return [
|
|
367
|
-
_(i, {
|
|
368
|
-
modelValue: x.value,
|
|
369
|
-
"onUpdate:modelValue": l[0] || (l[0] = (s) => x.value = s),
|
|
370
|
-
style: { "min-width": "80px" },
|
|
371
|
-
placeholder: K.value ? (v = (c = (e = r.filterValues) == null ? void 0 : e.filter((s) => s)) == null ? void 0 : c.slice(0, 3)) == null ? void 0 : v.join("/") : "搜索",
|
|
372
|
-
"prefix-icon": Q(ue),
|
|
373
|
-
clearable: "",
|
|
374
|
-
onInput: oe,
|
|
375
|
-
disabled: ((a = m.value) == null ? void 0 : a.length) === 0
|
|
376
|
-
}, {
|
|
377
|
-
suffix: y(() => {
|
|
378
|
-
var s, k;
|
|
379
|
-
return [
|
|
380
|
-
!x.value && ((k = (s = r.filterValues) == null ? void 0 : s.filter((L) => L)) != null && k.join("/")) ? (d(), B(n, {
|
|
381
|
-
key: 0,
|
|
382
|
-
style: { cursor: "pointer" },
|
|
383
|
-
onClick: se
|
|
384
|
-
}, {
|
|
385
|
-
default: y(() => [
|
|
386
|
-
_(Q(de))
|
|
387
|
-
]),
|
|
388
|
-
_: 1
|
|
389
|
-
})) : h("", !0)
|
|
390
|
-
];
|
|
391
|
-
}),
|
|
392
|
-
append: y(() => [
|
|
393
|
-
b("span", {
|
|
394
|
-
title: "条件查询",
|
|
395
|
-
onClick: I(ne, ["stop"])
|
|
396
|
-
}, [
|
|
397
|
-
_(t, {
|
|
398
|
-
name: "query",
|
|
399
|
-
style: { width: "15px", height: "15px", cursor: "pointer" }
|
|
400
|
-
})
|
|
401
|
-
])
|
|
402
|
-
]),
|
|
403
|
-
_: 1
|
|
404
|
-
}, 8, ["modelValue", "placeholder", "prefix-icon", "disabled"])
|
|
405
|
-
];
|
|
406
|
-
}),
|
|
407
|
-
content: y(() => [
|
|
408
|
-
T.value ? (d(), f("div", {
|
|
409
|
-
key: 0,
|
|
410
|
-
class: "form-content-value",
|
|
411
|
-
onKeydown: l[1] || (l[1] = I(() => {
|
|
412
|
-
}, ["stop"])),
|
|
413
|
-
onKeyup: l[2] || (l[2] = I(() => {
|
|
414
|
-
}, ["stop"])),
|
|
415
|
-
onKeypress: l[3] || (l[3] = I(() => {
|
|
416
|
-
}, ["stop"]))
|
|
417
|
-
}, [
|
|
418
|
-
(d(), B(xe, {
|
|
419
|
-
rowContents: m.value,
|
|
420
|
-
buttonValue: le.value,
|
|
421
|
-
isEnableWrap: !1,
|
|
422
|
-
isButtonRow: !1,
|
|
423
|
-
key: le.value,
|
|
424
|
-
isStartJustify: !1,
|
|
425
|
-
onOnButtonClick: ge
|
|
426
|
-
}, null, 8, ["rowContents", "buttonValue"]))
|
|
427
|
-
], 32)) : h("", !0)
|
|
428
|
-
]),
|
|
429
|
-
_: 1
|
|
430
|
-
}, 8, ["isVisible"])
|
|
431
|
-
])) : h("", !0),
|
|
432
|
-
r.buttons && ((F = r.buttons) == null ? void 0 : F.length) > 0 ? (d(), f("div", $e, [
|
|
433
|
-
(d(!0), f(Y, null, J((G = r.buttons) == null ? void 0 : G.filter((e) => r.isDevMode || (e == null ? void 0 : e.label) !== "修改模板"), (e, c) => {
|
|
434
|
-
var v;
|
|
435
|
-
return d(), f("div", {
|
|
436
|
-
class: "extra-contents",
|
|
437
|
-
key: c
|
|
438
|
-
}, [
|
|
439
|
-
(e == null ? void 0 : e.type) === "upload" ? (d(), B(N, {
|
|
440
|
-
key: 0,
|
|
441
|
-
class: "upload-button-wrap",
|
|
442
|
-
"on-change": ae,
|
|
443
|
-
accept: ".xlsx,.xls",
|
|
444
|
-
"auto-upload": !1,
|
|
445
|
-
action: "#",
|
|
446
|
-
"show-file-list": !1,
|
|
447
|
-
disabled: !!r.lockingPage
|
|
448
|
-
}, {
|
|
449
|
-
default: y(() => {
|
|
450
|
-
var a;
|
|
451
|
-
return [
|
|
452
|
-
b("div", {
|
|
453
|
-
class: R(["table-op-action", { "is-disabled": !!r.lockingPage }]),
|
|
454
|
-
onClick: (s) => z(e == null ? void 0 : e.label)
|
|
455
|
-
}, [
|
|
456
|
-
_(t, {
|
|
457
|
-
class: "table-op-icon",
|
|
458
|
-
name: (a = g == null ? void 0 : g.find((s) => (s == null ? void 0 : s.label) === (e == null ? void 0 : e.label))) == null ? void 0 : a.icon
|
|
459
|
-
}, null, 8, ["name"]),
|
|
460
|
-
b("span", Pe, C(e == null ? void 0 : e.label), 1)
|
|
461
|
-
], 10, Be)
|
|
462
|
-
];
|
|
463
|
-
}),
|
|
464
|
-
_: 2
|
|
465
|
-
}, 1032, ["disabled"])) : h("", !0),
|
|
466
|
-
(e == null ? void 0 : e.type) === "popover" ? (d(), B(ce, { key: 1 }, {
|
|
467
|
-
dropTitle: y(() => {
|
|
468
|
-
var a;
|
|
469
|
-
return [
|
|
470
|
-
b("div", {
|
|
471
|
-
class: R(["table-op-action", { "is-disabled": !!r.lockingPage }])
|
|
472
|
-
}, [
|
|
473
|
-
_(t, {
|
|
474
|
-
class: "table-op-icon",
|
|
475
|
-
name: (a = g == null ? void 0 : g.find((s) => (s == null ? void 0 : s.label) === (e == null ? void 0 : e.label))) == null ? void 0 : a.icon
|
|
476
|
-
}, null, 8, ["name"]),
|
|
477
|
-
b("span", Ae, C(e == null ? void 0 : e.label), 1)
|
|
478
|
-
], 2)
|
|
479
|
-
];
|
|
480
|
-
}),
|
|
481
|
-
dropMenu: y(() => [
|
|
482
|
-
b("div", Ee, [
|
|
483
|
-
(d(!0), f(Y, null, J(e == null ? void 0 : e.contents, (a) => {
|
|
484
|
-
var s, k;
|
|
485
|
-
return d(), f("div", {
|
|
486
|
-
key: a == null ? void 0 : a.label,
|
|
487
|
-
class: R(["table-op-drop-item", { "is-disabled": !!r.lockingPage }]),
|
|
488
|
-
onClick: (L) => !r.lockingPage && z(a == null ? void 0 : a.label)
|
|
489
|
-
}, [
|
|
490
|
-
X(C(a == null ? void 0 : a.label), 1),
|
|
491
|
-
(s = a == null ? void 0 : a.label) != null && s.includes("选中") ? (d(), f("span", Oe, "(" + C(r.selectNums) + ")", 1)) : h("", !0),
|
|
492
|
-
(k = a == null ? void 0 : a.label) != null && k.includes("全部") ? (d(), f("span", Me, "(" + C(r.dataNums) + ")", 1)) : h("", !0)
|
|
493
|
-
], 10, Fe);
|
|
494
|
-
}), 128))
|
|
495
|
-
])
|
|
496
|
-
]),
|
|
497
|
-
_: 2
|
|
498
|
-
}, 1024)) : h("", !0),
|
|
499
|
-
!(e != null && e.type) || (e == null ? void 0 : e.type) === "methodButton" ? (d(), f("div", {
|
|
500
|
-
key: 2,
|
|
501
|
-
id: "themeButton",
|
|
502
|
-
class: R(["table-op-action", { "is-disabled": !!r.lockingPage }]),
|
|
503
|
-
onClick: (a) => !r.lockingPage && z(e == null ? void 0 : e.label, e)
|
|
504
|
-
}, [
|
|
505
|
-
_(t, {
|
|
506
|
-
class: "table-op-icon",
|
|
507
|
-
name: ((v = g == null ? void 0 : g.find((a) => (a == null ? void 0 : a.label) === (e == null ? void 0 : e.label))) == null ? void 0 : v.icon) ?? "normal"
|
|
508
|
-
}, null, 8, ["name"]),
|
|
509
|
-
b("span", Le, C(e == null ? void 0 : e.label), 1)
|
|
510
|
-
], 10, De)) : h("", !0)
|
|
511
|
-
]);
|
|
512
|
-
}), 128))
|
|
513
|
-
])) : h("", !0)
|
|
514
|
-
])
|
|
515
|
-
])) : (d(), f("div", Re, [
|
|
516
|
-
b("div", je, [
|
|
517
|
-
b("div", ze, [
|
|
518
|
-
_(i, {
|
|
519
|
-
modelValue: x.value,
|
|
520
|
-
"onUpdate:modelValue": l[5] || (l[5] = (e) => x.value = e),
|
|
521
|
-
style: { "min-width": "80px" },
|
|
522
|
-
placeholder: K.value ? (V = (S = (O = r.filterValues) == null ? void 0 : O.filter((e) => e)) == null ? void 0 : S.slice(0, 3)) == null ? void 0 : V.join("/") : "搜索",
|
|
523
|
-
"prefix-icon": Q(ue),
|
|
524
|
-
clearable: "",
|
|
525
|
-
onInput: oe,
|
|
526
|
-
disabled: (($ = m.value) == null ? void 0 : $.length) === 0
|
|
527
|
-
}, {
|
|
528
|
-
suffix: y(() => {
|
|
529
|
-
var e, c;
|
|
530
|
-
return [
|
|
531
|
-
!x.value && ((c = (e = r.filterValues) == null ? void 0 : e.filter((v) => v)) != null && c.join("/")) ? (d(), B(n, {
|
|
532
|
-
key: 0,
|
|
533
|
-
style: { cursor: "pointer" },
|
|
534
|
-
onClick: se
|
|
535
|
-
}, {
|
|
536
|
-
default: y(() => [
|
|
537
|
-
_(Q(de))
|
|
538
|
-
]),
|
|
539
|
-
_: 1
|
|
540
|
-
})) : h("", !0)
|
|
541
|
-
];
|
|
542
|
-
}),
|
|
543
|
-
append: y(() => [
|
|
544
|
-
b("span", {
|
|
545
|
-
title: "条件查询",
|
|
546
|
-
onClick: I(ne, ["stop"])
|
|
547
|
-
}, [
|
|
548
|
-
_(t, {
|
|
549
|
-
name: "query",
|
|
550
|
-
style: { width: "15px", height: "15px", cursor: "pointer" }
|
|
551
|
-
})
|
|
552
|
-
])
|
|
553
|
-
]),
|
|
554
|
-
_: 1
|
|
555
|
-
}, 8, ["modelValue", "placeholder", "prefix-icon", "disabled"])
|
|
556
|
-
]),
|
|
557
|
-
r.buttons && ((M = r.buttons) == null ? void 0 : M.length) > 0 ? (d(), f("div", Ie, [
|
|
558
|
-
(d(!0), f(Y, null, J((D = r.buttons) == null ? void 0 : D.filter((e) => r.isDevMode || (e == null ? void 0 : e.label) !== "修改模板"), (e, c) => {
|
|
559
|
-
var v;
|
|
560
|
-
return d(), f("div", {
|
|
561
|
-
class: "extra-contents",
|
|
562
|
-
key: c
|
|
563
|
-
}, [
|
|
564
|
-
(e == null ? void 0 : e.type) === "upload" ? (d(), B(N, {
|
|
565
|
-
key: 0,
|
|
566
|
-
class: "upload-button-wrap",
|
|
567
|
-
"on-change": ae,
|
|
568
|
-
accept: ".xlsx,.xls",
|
|
569
|
-
"auto-upload": !1,
|
|
570
|
-
action: "#",
|
|
571
|
-
"show-file-list": !1
|
|
572
|
-
}, {
|
|
573
|
-
default: y(() => {
|
|
574
|
-
var a;
|
|
575
|
-
return [
|
|
576
|
-
b("div", Ue, [
|
|
577
|
-
_(t, {
|
|
578
|
-
class: "table-op-icon",
|
|
579
|
-
name: (a = g == null ? void 0 : g.find((s) => (s == null ? void 0 : s.label) === (e == null ? void 0 : e.label))) == null ? void 0 : a.icon
|
|
580
|
-
}, null, 8, ["name"]),
|
|
581
|
-
b("span", Te, C(e == null ? void 0 : e.label), 1)
|
|
582
|
-
])
|
|
583
|
-
];
|
|
584
|
-
}),
|
|
585
|
-
_: 2
|
|
586
|
-
}, 1024)) : h("", !0),
|
|
587
|
-
(e == null ? void 0 : e.type) === "popover" ? (d(), B(ce, { key: 1 }, {
|
|
588
|
-
dropTitle: y(() => [
|
|
589
|
-
(e == null ? void 0 : e.type) === "popover" ? (d(), B(E, {
|
|
590
|
-
key: 0,
|
|
591
|
-
style: { background: "transparent", color: "#000000" }
|
|
592
|
-
}, {
|
|
593
|
-
icon: y(() => {
|
|
594
|
-
var a;
|
|
595
|
-
return [
|
|
596
|
-
_(t, {
|
|
597
|
-
class: "table-op-icon",
|
|
598
|
-
name: (a = g == null ? void 0 : g.find((s) => (s == null ? void 0 : s.label) === (e == null ? void 0 : e.label))) == null ? void 0 : a.icon
|
|
599
|
-
}, null, 8, ["name"])
|
|
600
|
-
];
|
|
601
|
-
}),
|
|
602
|
-
default: y(() => [
|
|
603
|
-
X(" " + C(e == null ? void 0 : e.label), 1)
|
|
604
|
-
]),
|
|
605
|
-
_: 2
|
|
606
|
-
}, 1024)) : h("", !0)
|
|
607
|
-
]),
|
|
608
|
-
dropMenu: y(() => [
|
|
609
|
-
b("div", qe, [
|
|
610
|
-
(d(!0), f(Y, null, J(e == null ? void 0 : e.contents, (a) => (d(), B(E, {
|
|
611
|
-
key: a == null ? void 0 : a.label,
|
|
612
|
-
style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
|
|
613
|
-
onClick: (s) => z(a == null ? void 0 : a.label)
|
|
614
|
-
}, {
|
|
615
|
-
default: y(() => {
|
|
616
|
-
var s, k;
|
|
617
|
-
return [
|
|
618
|
-
X(C(a == null ? void 0 : a.label), 1),
|
|
619
|
-
(s = a == null ? void 0 : a.label) != null && s.includes("选中") ? (d(), f("span", Ke, "(" + C(r.selectNums) + ")", 1)) : h("", !0),
|
|
620
|
-
(k = a == null ? void 0 : a.label) != null && k.includes("全部") ? (d(), f("span", He, "(" + C(r.dataNums) + ")", 1)) : h("", !0)
|
|
621
|
-
];
|
|
622
|
-
}),
|
|
623
|
-
_: 2
|
|
624
|
-
}, 1032, ["onClick"]))), 128))
|
|
625
|
-
])
|
|
626
|
-
]),
|
|
627
|
-
_: 2
|
|
628
|
-
}, 1024)) : h("", !0),
|
|
629
|
-
!(e != null && e.type) || (e == null ? void 0 : e.type) === "methodButton" ? (d(), f("div", {
|
|
630
|
-
key: 2,
|
|
631
|
-
class: R(["table-op-action", { "is-disabled": !!r.lockingPage }]),
|
|
632
|
-
id: "themeButton",
|
|
633
|
-
onClick: (a) => !r.lockingPage && z(e == null ? void 0 : e.label, e)
|
|
634
|
-
}, [
|
|
635
|
-
_(t, {
|
|
636
|
-
class: "table-op-icon",
|
|
637
|
-
name: (v = g == null ? void 0 : g.find((a) => (a == null ? void 0 : a.label) === (e == null ? void 0 : e.label))) == null ? void 0 : v.icon
|
|
638
|
-
}, null, 8, ["name"]),
|
|
639
|
-
b("span", Ye, C(e == null ? void 0 : e.label), 1)
|
|
640
|
-
], 10, Qe)) : h("", !0)
|
|
641
|
-
]);
|
|
642
|
-
}), 128))
|
|
643
|
-
])) : h("", !0)
|
|
644
|
-
])
|
|
645
|
-
]));
|
|
646
|
-
};
|
|
647
|
-
}
|
|
648
|
-
}, al = /* @__PURE__ */ _e(Je, [["__scopeId", "data-v-c54c7b35"]]);
|
|
649
|
-
export {
|
|
650
|
-
al as t
|
|
651
|
-
};
|