yxuse 1.0.56 → 1.0.58
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/README.md +1 -0
- package/lib/api.cjs.js +1 -1
- package/lib/api.es.js +6 -5
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs4.js +1 -1
- package/lib/index.cjs5.js +1 -1
- package/lib/index.cjs5.js.gz +0 -0
- package/lib/index.cjs6.js +1 -1
- package/lib/index.cjs8.js +3 -12
- package/lib/index.cjs8.js.gz +0 -0
- package/lib/index.es.js +1 -1
- package/lib/index.es4.js +32 -8
- package/lib/index.es5.js +190 -28
- package/lib/index.es5.js.gz +0 -0
- package/lib/index.es6.js +87 -61
- package/lib/index.es8.js +1412 -2150
- package/lib/index.es8.js.gz +0 -0
- package/lib/vue.runtime.esm-bundler.cjs.js +6 -6
- package/lib/vue.runtime.esm-bundler.cjs.js.gz +0 -0
- package/lib/vue.runtime.esm-bundler.es.js +2131 -1726
- package/lib/vue.runtime.esm-bundler.es.js.gz +0 -0
- package/package.json +1 -1
package/lib/index.es.js
CHANGED
|
@@ -4,8 +4,8 @@ import { a as r } from "./index.es4.js";
|
|
|
4
4
|
import { t } from "./index.es5.js";
|
|
5
5
|
import { c as i } from "./index.es6.js";
|
|
6
6
|
import { d as s } from "./index.es7.js";
|
|
7
|
-
import "./vue.runtime.esm-bundler.es.js";
|
|
8
7
|
import "./index.es8.js";
|
|
8
|
+
import "./vue.runtime.esm-bundler.es.js";
|
|
9
9
|
const l = {
|
|
10
10
|
utils: o,
|
|
11
11
|
api: r,
|
package/lib/index.es4.js
CHANGED
|
@@ -1,12 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var n = (t, s, e) => new Promise((d, l) => {
|
|
2
|
+
var _ = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
c(e.next(a));
|
|
5
|
+
} catch (o) {
|
|
6
|
+
l(o);
|
|
7
|
+
}
|
|
8
|
+
}, p = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
c(e.throw(a));
|
|
11
|
+
} catch (o) {
|
|
12
|
+
l(o);
|
|
13
|
+
}
|
|
14
|
+
}, c = (a) => a.done ? d(a.value) : Promise.resolve(a.value).then(_, p);
|
|
15
|
+
c((e = e.apply(t, s)).next());
|
|
16
|
+
});
|
|
17
|
+
import { h as r, U as i, i as g } from "./index.es8.js";
|
|
18
|
+
const u = (t = "ttc") => n(void 0, null, function* () {
|
|
19
|
+
return yield r.get(`${i[t].INTEGRATED_BASE_URL}/basic/data/satellite/select`);
|
|
20
|
+
}), E = (t = "ttc") => n(void 0, null, function* () {
|
|
21
|
+
return yield r.get(`${i[t].INTEGRATED_BASE_URL}/basic/data/ante/select`);
|
|
22
|
+
}), S = (t = "ttc") => {
|
|
23
|
+
window.location.replace(i[t].HOME_URL);
|
|
24
|
+
}, L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
25
|
__proto__: null,
|
|
4
|
-
auth:
|
|
5
|
-
getUserSelectAnteList:
|
|
6
|
-
getUserSelectSatelliteList:
|
|
26
|
+
auth: g,
|
|
27
|
+
getUserSelectAnteList: E,
|
|
28
|
+
getUserSelectSatelliteList: u,
|
|
29
|
+
jumpToHome: S
|
|
7
30
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8
31
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
32
|
+
L as a,
|
|
33
|
+
E as b,
|
|
34
|
+
u as g,
|
|
35
|
+
S as j
|
|
12
36
|
};
|
package/lib/index.es5.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = {
|
|
2
2
|
green: {
|
|
3
3
|
common: {
|
|
4
4
|
color: {
|
|
@@ -197,51 +197,213 @@ const g = {
|
|
|
197
197
|
},
|
|
198
198
|
blue: {
|
|
199
199
|
common: {
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
color: {
|
|
201
|
+
"main-100": "#0A2F52",
|
|
202
|
+
"main-50": "#5477CF",
|
|
203
|
+
"main-25": "#3E75CF",
|
|
204
|
+
"main-15": "#E4EDFF",
|
|
205
|
+
"main-5": "#5477CF",
|
|
206
|
+
"error-100": "#FF9892",
|
|
207
|
+
"error-50": "#FFF4F3",
|
|
208
|
+
"error-25": "#F9EACE",
|
|
209
|
+
"error-15": "rgba(255, 152, 146, 0.15)",
|
|
210
|
+
"error-5": "rgba(255, 152, 146, 0.05)",
|
|
211
|
+
"warning-100": "#F9A221",
|
|
212
|
+
"warning-50": "#F8B85A",
|
|
213
|
+
"warning-25": "#F9EACE",
|
|
214
|
+
"warning-15": "rgba(249, 162, 33, 0.15)",
|
|
215
|
+
"warning-5": "rgba(249, 162, 33, 0.05)",
|
|
216
|
+
"info-100": "rgba(133, 233, 183, 1)",
|
|
217
|
+
"info-50": "rgba(133, 233, 183, 0.5)",
|
|
218
|
+
"info-25": "rgba(133, 233, 183, 0.25)",
|
|
219
|
+
"info-15": "rgba(133, 233, 183, 0.15)",
|
|
220
|
+
"info-5": "rgba(133, 233, 183, 0.05)",
|
|
221
|
+
"neutral-100": "rgba(85, 221, 221, 1)",
|
|
222
|
+
"neutral-50": "rgba(85, 221, 221, 0.5)",
|
|
223
|
+
"neutral-25": "rgba(85, 221, 221, 0.25)",
|
|
224
|
+
"neutral-15": "rgba(85, 221, 221, 0.15)",
|
|
225
|
+
"neutral-5": "rgba(85, 221, 221, 0.05)"
|
|
226
|
+
},
|
|
227
|
+
background: {
|
|
228
|
+
"error-gradual": "#FF9892",
|
|
229
|
+
"warning-gradual": "#F8B85A",
|
|
230
|
+
"success-gradual": "linear-gradient(90deg, #D5ECBE 0%, rgba(234,255,233,0.35) 100%)",
|
|
231
|
+
"success-gradient": "#D5ECBE 0%, rgba(234,255,233,0.35) 100%",
|
|
232
|
+
"warning-gradient": "#FFE4BC 0%, rgba(255,250,233,0.35) 100%",
|
|
233
|
+
"error-gradient": "#FFCECB 0%, rgba(255,235,233,0.35) 100%",
|
|
234
|
+
page: "rgba(241, 243, 242, 1)",
|
|
235
|
+
"main-content-special": "rgba(103, 186, 145, 0.10)",
|
|
236
|
+
section: "rgba(252, 255, 253, 1)",
|
|
237
|
+
success: "rgba(80, 165, 122, 1)",
|
|
238
|
+
warning: "#F9A221",
|
|
239
|
+
error: "#FF9892"
|
|
240
|
+
},
|
|
241
|
+
button: {
|
|
242
|
+
background: "rgba(103, 186, 145, 0.10)",
|
|
243
|
+
"border-color": "rgba(80, 165, 122, 1)",
|
|
244
|
+
"text-color": "rgba(80, 165, 122, 1)",
|
|
245
|
+
"active-background-color": "rgba(80, 165, 122, 1)",
|
|
246
|
+
"active-border-color": "rgba(154, 209, 162, 1)",
|
|
247
|
+
"active-text-color": "#fff"
|
|
248
|
+
},
|
|
249
|
+
checkbox: {
|
|
250
|
+
background: "rgba(216, 233, 219, 1)",
|
|
251
|
+
"icon-color": "rgba(80, 165, 122, 0)",
|
|
252
|
+
"border-color": "rgba(154, 209, 162, 1)",
|
|
253
|
+
"text-color": "#9AD1A2",
|
|
254
|
+
"checked-text-color": "#1D4B34",
|
|
255
|
+
"checked-background": "rgba(216, 233, 219, 1)",
|
|
256
|
+
"checked-icon-color": "rgba(80, 165, 122, 1)",
|
|
257
|
+
"checked-border-color": "rgba(154, 209, 162, 1)"
|
|
258
|
+
},
|
|
259
|
+
radio: {
|
|
260
|
+
background: "rgba(191, 225, 209, 1)",
|
|
261
|
+
"icon-border-color": "rgba(191, 225, 209, 1)",
|
|
262
|
+
"icon-checked-background": "rgba(103, 186, 145, 1)",
|
|
263
|
+
"icon-checked-point-background": "rgba(210, 255, 218, 1)"
|
|
264
|
+
},
|
|
265
|
+
switch: {
|
|
266
|
+
background: "#637B6B",
|
|
267
|
+
"icon-point-background": "#fff",
|
|
268
|
+
"icon-checked-point-background": "#90E6BA",
|
|
269
|
+
"checked-background": "#9BE9C2"
|
|
270
|
+
},
|
|
271
|
+
input: {
|
|
272
|
+
background: "rgba(237, 246, 239, 1)",
|
|
273
|
+
"border-color": "rgba(80, 165, 122, 1)",
|
|
274
|
+
color: "rgba(29, 75, 52, 1)",
|
|
275
|
+
"placeholder-color": "rgba(80, 165, 122, 1)",
|
|
276
|
+
"hover-background": "rgba(237, 246, 239, 0.30)",
|
|
277
|
+
"hover-border-color": "rgba(80, 165, 122, 1)",
|
|
278
|
+
"hover-color": "rgba(80, 165, 122, 1)",
|
|
279
|
+
"active-background": "rgba(237, 246, 239, 0.30)",
|
|
280
|
+
"active-border-color": "rgba(80, 165, 122, 1)",
|
|
281
|
+
"active-color": "rgba(80, 165, 122, 1)",
|
|
282
|
+
"disabled-background": "rgba(219, 232, 221, 1)",
|
|
283
|
+
"disabled-border-color": "#fff",
|
|
284
|
+
"disabled-color": "rgba(80, 165, 122, 0.5)",
|
|
285
|
+
"append-background": "transparent",
|
|
286
|
+
"append-color": "#50A57A"
|
|
287
|
+
},
|
|
288
|
+
select: {
|
|
289
|
+
"dropdown-background": "rgba(237, 246, 239, 1)",
|
|
290
|
+
"dropdown-border-color": "rgba(80, 165, 122, 1)",
|
|
291
|
+
"dropdown-item-color": "rgba(80, 165, 122, 1)",
|
|
292
|
+
"dropdown-item-hover-background": "rgba(178, 220, 198, 1)",
|
|
293
|
+
"dropdown-item-hover-color": "rgba(29, 75, 52, 1)",
|
|
294
|
+
"dropdown-item-selected-background": "rgba(178, 220, 198, 1)",
|
|
295
|
+
"dropdown-item-selected-color": "rgba(29, 75, 52, 1)"
|
|
296
|
+
},
|
|
297
|
+
tree: {
|
|
298
|
+
text: "rgba(99,123,107,0.50)"
|
|
299
|
+
},
|
|
300
|
+
layout: {
|
|
301
|
+
"nav-background": "#fff",
|
|
302
|
+
"view-background": "#F1F3F2"
|
|
303
|
+
},
|
|
304
|
+
table: {
|
|
305
|
+
"header-background": "#5477CF",
|
|
306
|
+
"header-text-color": "#fff",
|
|
307
|
+
"row-background": "#F9FBFF",
|
|
308
|
+
"row-odd-background": "#F9FBFF",
|
|
309
|
+
//奇数行色值
|
|
310
|
+
"row-border-bottom-color": "#E4EDFF",
|
|
311
|
+
"row-text-color": "#0A2F52",
|
|
312
|
+
"row-error-background": "linear-gradient(90deg, #FFCECB 0%, rgba(255,235,233,0.35) 100%)",
|
|
313
|
+
"row-warning-background": "linear-gradient(90deg, #FFE4BC 0%, rgba(255,250,233,0.35) 100%)",
|
|
314
|
+
"row-hover-background": "rgba(62,117,207,0.2)",
|
|
315
|
+
"row-hover-text-color": "rgba(29, 75, 52, 1)"
|
|
316
|
+
},
|
|
317
|
+
chart: {
|
|
318
|
+
pie_color_1: "#50A57A",
|
|
319
|
+
pie_color_2: "#F8B85A",
|
|
320
|
+
pie_color_3: "#FF9892",
|
|
321
|
+
pie_color_4: "#55DDDD",
|
|
322
|
+
pie_color_5: "#85E9B7",
|
|
323
|
+
line_color_1: "#50A57A",
|
|
324
|
+
line_color_2: "#F8B85A",
|
|
325
|
+
line_color_3: "#FF9892",
|
|
326
|
+
line_color_4: "#55DDDD",
|
|
327
|
+
line_color_5: "#85E9B7",
|
|
328
|
+
line_title_color: "#637B6B",
|
|
329
|
+
line_xAxis_color: "#50A57A",
|
|
330
|
+
line_yAxis_color: "#50A57A",
|
|
331
|
+
line_markLine_color: "#FF9892",
|
|
332
|
+
line_splitLine_color: "#DBEEE3"
|
|
333
|
+
},
|
|
334
|
+
message: {},
|
|
335
|
+
text: {
|
|
336
|
+
main: "#50A57A",
|
|
337
|
+
deep: "#1D4B34",
|
|
338
|
+
light: "rgba(80, 165, 122, 0.50)",
|
|
339
|
+
paler: "#637B6B",
|
|
340
|
+
success: "#8FF59E",
|
|
341
|
+
warning: "#F8B85A",
|
|
342
|
+
error: "#FF9892",
|
|
343
|
+
white: "#fff",
|
|
344
|
+
light_gray: "#B0BDB4"
|
|
345
|
+
},
|
|
346
|
+
//弹窗
|
|
347
|
+
dialog: {
|
|
348
|
+
"header-background": "#fff",
|
|
349
|
+
"body-background": "#fff",
|
|
350
|
+
"footer-background": "#fff"
|
|
351
|
+
},
|
|
352
|
+
//进度条
|
|
353
|
+
progress: {
|
|
354
|
+
background: "#CADFD3",
|
|
355
|
+
"active-background": "#67BA91"
|
|
356
|
+
},
|
|
357
|
+
icon: {
|
|
358
|
+
"title-main": "#DAF1E5",
|
|
359
|
+
"title-assist": "#F9A221",
|
|
360
|
+
"title-assist-2": "#50A57A",
|
|
361
|
+
"active-color": "rgba(80,165,122,1)",
|
|
362
|
+
"active-light-color": "#F9A221"
|
|
363
|
+
}
|
|
202
364
|
},
|
|
203
365
|
cloud: {},
|
|
204
366
|
"station-control-center": {}
|
|
205
367
|
}
|
|
206
|
-
},
|
|
207
|
-
const r =
|
|
208
|
-
localStorage.getItem(
|
|
209
|
-
const
|
|
210
|
-
Object.keys(
|
|
211
|
-
Object.keys(
|
|
368
|
+
}, g = "yxTheme", l = "blue", i = () => {
|
|
369
|
+
const r = c();
|
|
370
|
+
localStorage.getItem(g) || localStorage.setItem(g, r);
|
|
371
|
+
const o = document.documentElement, e = t[r].common;
|
|
372
|
+
Object.keys(e).forEach((a) => {
|
|
373
|
+
Object.keys(e[a]).forEach((n) => {
|
|
212
374
|
const b = `--${a}-${n}`;
|
|
213
|
-
|
|
375
|
+
o.style.setProperty(b, e[a][n]);
|
|
214
376
|
});
|
|
215
377
|
});
|
|
216
378
|
}, d = (r) => {
|
|
217
|
-
localStorage.setItem(
|
|
218
|
-
},
|
|
219
|
-
const
|
|
220
|
-
return
|
|
221
|
-
}, s = (r) => {
|
|
222
|
-
const e = t();
|
|
223
|
-
return g[e].common[r] || {};
|
|
379
|
+
localStorage.setItem(g, r), i();
|
|
380
|
+
}, c = () => localStorage.getItem(g) || l, u = (r) => {
|
|
381
|
+
const o = c();
|
|
382
|
+
return t[o][r] || {};
|
|
224
383
|
}, F = (r) => {
|
|
225
|
-
const
|
|
226
|
-
|
|
384
|
+
const o = c();
|
|
385
|
+
return t[o].common[r] || {};
|
|
386
|
+
}, s = (r) => {
|
|
387
|
+
const o = c(), e = t[o][r], a = document.documentElement;
|
|
388
|
+
Object.keys(e).forEach((n) => {
|
|
227
389
|
const b = `--${n}`;
|
|
228
|
-
a.style.setProperty(b,
|
|
390
|
+
a.style.setProperty(b, e[n]);
|
|
229
391
|
});
|
|
230
|
-
},
|
|
392
|
+
}, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
231
393
|
__proto__: null,
|
|
232
394
|
changeTheme: d,
|
|
233
|
-
getCurTheme:
|
|
234
|
-
getGroupColor:
|
|
395
|
+
getCurTheme: c,
|
|
396
|
+
getGroupColor: F,
|
|
235
397
|
getSystemThemeConfig: u,
|
|
236
398
|
install: i,
|
|
237
|
-
installSystemTheme:
|
|
399
|
+
installSystemTheme: s
|
|
238
400
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
239
401
|
export {
|
|
240
402
|
u as a,
|
|
241
|
-
|
|
403
|
+
F as b,
|
|
242
404
|
d as c,
|
|
243
|
-
|
|
244
|
-
|
|
405
|
+
s as d,
|
|
406
|
+
c as g,
|
|
245
407
|
i,
|
|
246
|
-
|
|
408
|
+
k as t
|
|
247
409
|
};
|
|
Binary file
|
package/lib/index.es6.js
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
const
|
|
3
|
-
__name: "
|
|
1
|
+
import { d as v, o as g, c as l, w as C, m as w, r as T, a as N, b as O, F as V, e as S, f as P, g as d, h as x, i as B, j as Y } from "./vue.runtime.esm-bundler.es.js";
|
|
2
|
+
const D = /* @__PURE__ */ v({
|
|
3
|
+
__name: "index",
|
|
4
4
|
props: {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
conf: null,
|
|
6
|
+
model: null
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
modelValue:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return t.row[(e = r.col) == null ? void 0 : e.prop] = l;
|
|
8
|
+
setup(r) {
|
|
9
|
+
return (m, u) => {
|
|
10
|
+
var p, b, f;
|
|
11
|
+
return g(), l(T(`el-${(p = r.conf) == null ? void 0 : p.renderType}`), w({
|
|
12
|
+
modelValue: r.model[(b = r.conf) == null ? void 0 : b.prop],
|
|
13
|
+
"onUpdate:modelValue": u[0] || (u[0] = (s) => {
|
|
14
|
+
var t;
|
|
15
|
+
return r.model[(t = r.conf) == null ? void 0 : t.prop] = s;
|
|
17
16
|
})
|
|
18
|
-
}, (
|
|
19
|
-
default:
|
|
20
|
-
var
|
|
17
|
+
}, (f = r.conf) == null ? void 0 : f.config), {
|
|
18
|
+
default: C(() => {
|
|
19
|
+
var s, t, y;
|
|
21
20
|
return [
|
|
22
|
-
r.
|
|
23
|
-
key:
|
|
24
|
-
label:
|
|
25
|
-
value:
|
|
26
|
-
}, null, 8, ["label", "value"]))), 128)) :
|
|
21
|
+
r.conf.renderType === "select" ? (g(!0), N(V, { key: 0 }, O((y = (t = (s = r.conf) == null ? void 0 : s.config) == null ? void 0 : t.options) != null ? y : [], (i) => (g(), l(T("el-option"), {
|
|
22
|
+
key: i.value,
|
|
23
|
+
label: i.label,
|
|
24
|
+
value: i.value
|
|
25
|
+
}, null, 8, ["label", "value"]))), 128)) : S("", !0)
|
|
27
26
|
];
|
|
28
27
|
}),
|
|
29
28
|
_: 1
|
|
@@ -31,58 +30,85 @@ const T = /* @__PURE__ */ g({
|
|
|
31
30
|
};
|
|
32
31
|
}
|
|
33
32
|
});
|
|
34
|
-
function
|
|
35
|
-
return typeof
|
|
33
|
+
function E(r) {
|
|
34
|
+
return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !Y(r);
|
|
36
35
|
}
|
|
37
|
-
const
|
|
38
|
-
"operate-handle": (
|
|
39
|
-
},
|
|
36
|
+
const F = {
|
|
37
|
+
"operate-handle": (r, m) => !!(r || m)
|
|
38
|
+
}, M = /* @__PURE__ */ v({
|
|
40
39
|
name: "YxTable",
|
|
41
40
|
props: {
|
|
42
|
-
tableProps:
|
|
43
|
-
|
|
41
|
+
tableProps: {
|
|
42
|
+
type: Object,
|
|
43
|
+
required: !0
|
|
44
|
+
}
|
|
44
45
|
},
|
|
45
|
-
emits:
|
|
46
|
-
setup(
|
|
47
|
-
attrs:
|
|
48
|
-
slots:
|
|
49
|
-
emit:
|
|
46
|
+
emits: F,
|
|
47
|
+
setup(r, {
|
|
48
|
+
attrs: m,
|
|
49
|
+
slots: u,
|
|
50
|
+
emit: p,
|
|
51
|
+
expose: b
|
|
50
52
|
}) {
|
|
51
|
-
const
|
|
52
|
-
return (
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
align:
|
|
53
|
+
const f = P();
|
|
54
|
+
return b({
|
|
55
|
+
tableRef: f
|
|
56
|
+
}), () => {
|
|
57
|
+
const {
|
|
58
|
+
columns: s,
|
|
59
|
+
align: t,
|
|
60
|
+
rowKey: y,
|
|
61
|
+
tableData: i,
|
|
62
|
+
border: h
|
|
63
|
+
} = r.tableProps, j = (e, n) => {
|
|
64
|
+
var o;
|
|
65
|
+
return e.slotName && ((o = u[e.slotName]) == null ? void 0 : o.call(u, n));
|
|
66
|
+
}, c = s.map((e) => d(x("el-table-column"), w(e, {
|
|
67
|
+
align: t
|
|
58
68
|
}), {
|
|
59
|
-
default: (n) =>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
default: (n) => {
|
|
70
|
+
if ((e == null ? void 0 : e.renderType) === "operate")
|
|
71
|
+
return k(e, n);
|
|
72
|
+
if (e != null && e.renderType && (e == null ? void 0 : e.renderType) !== "operate") {
|
|
73
|
+
const o = {
|
|
74
|
+
renderType: e.renderType,
|
|
75
|
+
prop: e.prop,
|
|
76
|
+
config: e.config
|
|
77
|
+
};
|
|
78
|
+
return d(D, {
|
|
79
|
+
conf: o,
|
|
80
|
+
model: n.row
|
|
81
|
+
}, null);
|
|
82
|
+
}
|
|
83
|
+
return e != null && e.render ? e == null ? void 0 : e.render(n) : (e == null ? void 0 : e.slotName) && j(e, n);
|
|
84
|
+
}
|
|
85
|
+
})), k = (e, n) => {
|
|
86
|
+
var o;
|
|
87
|
+
return d("div", {
|
|
66
88
|
class: "flex justify-center cursor-pointer"
|
|
67
|
-
}, [(
|
|
68
|
-
onClick: () =>
|
|
89
|
+
}, [(o = e.operate) == null ? void 0 : o.filter((a) => (a == null ? void 0 : a.show) || a.show == null).map((a) => d("span", {
|
|
90
|
+
onClick: B(() => p("operate-handle", a.key, n.row), ["stop"]),
|
|
69
91
|
class: "mr-10 whitespace-nowrap"
|
|
70
|
-
}, [
|
|
92
|
+
}, [a.label]))]);
|
|
71
93
|
};
|
|
72
|
-
return
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
94
|
+
return d("div", {
|
|
95
|
+
class: "w-full h-full flex flex-col"
|
|
96
|
+
}, [d(x("el-table"), w({
|
|
97
|
+
ref: f
|
|
98
|
+
}, m, {
|
|
99
|
+
"row-key": y,
|
|
100
|
+
data: i,
|
|
101
|
+
border: h
|
|
102
|
+
}), E(c) ? c : {
|
|
103
|
+
default: () => [c]
|
|
78
104
|
})]);
|
|
79
105
|
};
|
|
80
106
|
}
|
|
81
|
-
}),
|
|
107
|
+
}), z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82
108
|
__proto__: null,
|
|
83
|
-
YxTable:
|
|
109
|
+
YxTable: M
|
|
84
110
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
85
111
|
export {
|
|
86
|
-
|
|
87
|
-
|
|
112
|
+
M as Y,
|
|
113
|
+
z as c
|
|
88
114
|
};
|