china-mobile-international-custom-components 0.0.47 → 0.0.49
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/es/AddOrEditSupplierDialog.mjs +24 -0
- package/es/ApplicationTypeTag.mjs +1 -1
- package/es/AvailableRangePreview.mjs +1 -1
- package/es/AvailableRangeSetting.mjs +2 -2
- package/es/CommonTagsList.mjs +3 -3
- package/es/DialogContainer.mjs +21 -21
- package/es/FileUploader.mjs +121 -123
- package/es/ParameterTable.mjs +1 -1
- package/es/SourcePublish.mjs +6 -6
- package/es/Table.mjs +2 -2
- package/es/assets/AddOrEditSupplierDialog.css +1 -0
- package/es/assets/index3.css +1 -1
- package/es/chunks/{BackBar.DwhmSL-a.js → BackBar.DnDtQBAg.js} +96 -96
- package/es/chunks/{BackBar.9Pp2SYB-.js → BackBar.eaUb1JvV.js} +1 -1
- package/es/chunks/{config.DVEvXGIL.js → config.CvOtShOj.js} +2 -2
- package/es/chunks/config.DkSRacA9.js +435 -0
- package/es/chunks/{i18n.DMVLcyDY.js → i18n.Bd7hh14j.js} +2 -2
- package/es/chunks/index.B_T3qY7U.js +1008 -0
- package/es/chunks/{index.CZTB65ge.js → index.CHlFhI6c.js} +1 -1
- package/es/chunks/index.DHcry2-T.js +1010 -0
- package/es/chunks/index.JtDVXCay.js +1008 -0
- package/es/chunks/index.o4gC5-Xq.js +1011 -0
- package/es/chunks/index.qAljoMis.js +976 -0
- package/es/index.mjs +227 -188
- package/lib/AddOrEditSupplierDialog.js +1 -0
- package/lib/ApplicationTypeTag.js +1 -1
- package/lib/AvailableRangePreview.js +1 -1
- package/lib/AvailableRangeSetting.js +1 -1
- package/lib/CommonTagsList.js +1 -1
- package/lib/DialogContainer.js +1 -1
- package/lib/FileUploader.js +1 -1
- package/lib/ParameterTable.js +1 -1
- package/lib/SourcePublish.js +1 -1
- package/lib/Table.js +1 -1
- package/lib/assets/AddOrEditSupplierDialog.css +1 -0
- package/lib/assets/index3.css +1 -1
- package/lib/chunks/{BackBar.DFDSVp2a.js → BackBar.CaaASGvb.js} +1 -1
- package/lib/chunks/BackBar.DhaZZIoV.js +1 -0
- package/lib/chunks/{config.Dwnp4fRZ.js → config.CqfpM51B.js} +1 -1
- package/lib/chunks/{i18n.Bzvn6t8H.js → i18n.D3L1FBDI.js} +2 -2
- package/lib/chunks/index.BhoAcBeE.js +1 -0
- package/lib/chunks/index.CE91RC0G.js +1 -0
- package/lib/chunks/index.Cv1roodm.js +1 -0
- package/lib/chunks/{index.DO3h_zf2.js → index.D-pFPuUr.js} +1 -1
- package/lib/chunks/index.D32cNfAI.js +1 -0
- package/lib/chunks/index.DusP0A6s.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +4 -2
- package/es/chunks/i18n.BNeBD4gR.js +0 -4028
- package/es/chunks/i18n.DUrvNBQz.js +0 -4028
- package/es/chunks/index.BcLVH95_.js +0 -4058
- package/es/chunks/index.CSPp4g5C.js +0 -303
- package/es/chunks/index.ClqvUq64.js +0 -302
- package/es/chunks/index.Dh5IGfxO.js +0 -290
- package/es/chunks/index.Doax01RQ.js +0 -254
- package/es/chunks/layout.C0EtkrZg.js +0 -639
- package/lib/chunks/BackBar.CYThcqhK.js +0 -1
- package/lib/chunks/i18n.D-d0yyXi.js +0 -6
- package/lib/chunks/i18n.Giy85Rng.js +0 -6
- package/lib/chunks/index.6X8xsqRJ.js +0 -1
- package/lib/chunks/index.Bk55us0s.js +0 -1
- package/lib/chunks/index.CP9rhXZ5.js +0 -1
- package/lib/chunks/index.CSLWrMRE.js +0 -1
- package/lib/chunks/index.CV29Us4A.js +0 -6
- package/lib/chunks/layout.BO1q-dAZ.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computed as M, createElementBlock as c, openBlock as t, Fragment as
|
|
2
|
-
import { u as W } from "./i18n.
|
|
3
|
-
import { IconMore as
|
|
4
|
-
import { ElButton as z, ElDropdown as
|
|
5
|
-
import { _ as
|
|
1
|
+
import { computed as M, createElementBlock as c, openBlock as t, Fragment as _, createVNode as x, renderList as m, createBlock as i, unref as n, withCtx as r, createTextVNode as E, toDisplayString as T, createElementVNode as u, normalizeClass as D, ref as R, createCommentVNode as B, renderSlot as w, createSlots as A, normalizeStyle as J, withModifiers as Q } from "vue";
|
|
2
|
+
import { u as W } from "./i18n.Bd7hh14j.js";
|
|
3
|
+
import { IconMore as ee, IconZuo as le } from "color-message-aibox-vue";
|
|
4
|
+
import { ElButton as z, ElDropdown as ae, ElIcon as H, ElDropdownMenu as oe, ElDropdownItem as te, ElTable as ne, ElTableColumn as f, ElEmpty as re, ElPagination as se } from "element-plus";
|
|
5
|
+
import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
import { useRouter as de } from "vue-router";
|
|
7
7
|
import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class: "btn-box" }, ue = {
|
|
8
8
|
__name: "TableBtns",
|
|
@@ -31,41 +31,41 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
31
31
|
h && h(C);
|
|
32
32
|
}, y = M(() => g.config.filter((h) => {
|
|
33
33
|
const C = h.permission !== void 0 ? h.permission : !0;
|
|
34
|
-
let
|
|
35
|
-
return h.dataPermission && (
|
|
34
|
+
let s = !0;
|
|
35
|
+
return h.dataPermission && (s = h.dataPermission), C && s;
|
|
36
36
|
})), k = M(() => ({
|
|
37
37
|
show: y.value.slice(0, g.showNums),
|
|
38
38
|
hide: y.value.slice(g.showNums)
|
|
39
39
|
}));
|
|
40
40
|
return (h, C) => (t(), c("div", ie, [
|
|
41
|
-
y.value.length > o.showNums ? (t(), c(
|
|
42
|
-
(t(!0), c(
|
|
41
|
+
y.value.length > o.showNums ? (t(), c(_, { key: 0 }, [
|
|
42
|
+
(t(!0), c(_, null, m(k.value.show, (s, v) => (t(), i(n(z), {
|
|
43
43
|
key: v,
|
|
44
44
|
type: "primary",
|
|
45
45
|
link: "",
|
|
46
|
-
onClick: (p) => d(
|
|
46
|
+
onClick: (p) => d(s.fn, s.row)
|
|
47
47
|
}, {
|
|
48
|
-
default:
|
|
49
|
-
E(T(
|
|
48
|
+
default: r(() => [
|
|
49
|
+
E(T(s.label), 1)
|
|
50
50
|
]),
|
|
51
51
|
_: 2
|
|
52
52
|
}, 1032, ["onClick"]))), 128)),
|
|
53
|
-
|
|
53
|
+
x(n(ae), {
|
|
54
54
|
"popper-class": "custom-dropdown",
|
|
55
55
|
trigger: "click"
|
|
56
56
|
}, {
|
|
57
|
-
dropdown:
|
|
58
|
-
|
|
59
|
-
default:
|
|
60
|
-
(t(!0), c(
|
|
57
|
+
dropdown: r(() => [
|
|
58
|
+
x(n(oe), { style: { padding: "14px 0" } }, {
|
|
59
|
+
default: r(() => [
|
|
60
|
+
(t(!0), c(_, null, m(k.value.hide, (s, v) => (t(), i(n(te), {
|
|
61
61
|
key: v,
|
|
62
62
|
class: D({
|
|
63
|
-
"is-delete":
|
|
63
|
+
"is-delete": s.label === n($)("COMMON_BUTTON.DELETE_TEXT") || s.label === n($)("COMMON_BUTTON.DISABLE_TEXT") || s.isDanger
|
|
64
64
|
}),
|
|
65
|
-
onClick: (p) => d(
|
|
65
|
+
onClick: (p) => d(s.fn, s.row)
|
|
66
66
|
}, {
|
|
67
|
-
default:
|
|
68
|
-
E(T(
|
|
67
|
+
default: r(() => [
|
|
68
|
+
E(T(s.label), 1)
|
|
69
69
|
]),
|
|
70
70
|
_: 2
|
|
71
71
|
}, 1032, ["class", "onClick"]))), 128))
|
|
@@ -73,11 +73,11 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
73
73
|
_: 1
|
|
74
74
|
})
|
|
75
75
|
]),
|
|
76
|
-
default:
|
|
76
|
+
default: r(() => [
|
|
77
77
|
u("div", ce, [
|
|
78
|
-
|
|
79
|
-
default:
|
|
80
|
-
|
|
78
|
+
x(n(H), { style: { "font-size": "20px", color: "#999" } }, {
|
|
79
|
+
default: r(() => [
|
|
80
|
+
x(n(ee))
|
|
81
81
|
]),
|
|
82
82
|
_: 1
|
|
83
83
|
})
|
|
@@ -85,26 +85,26 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
85
85
|
]),
|
|
86
86
|
_: 1
|
|
87
87
|
})
|
|
88
|
-
], 64)) : (t(!0), c(
|
|
88
|
+
], 64)) : (t(!0), c(_, { key: 1 }, m(y.value, (s, v) => (t(), i(n(z), {
|
|
89
89
|
type: "primary",
|
|
90
90
|
link: "",
|
|
91
91
|
key: v,
|
|
92
|
-
onClick: (p) => d(
|
|
92
|
+
onClick: (p) => d(s.fn, s.row)
|
|
93
93
|
}, {
|
|
94
|
-
default:
|
|
95
|
-
E(T(
|
|
94
|
+
default: r(() => [
|
|
95
|
+
E(T(s.label), 1)
|
|
96
96
|
]),
|
|
97
97
|
_: 2
|
|
98
98
|
}, 1032, ["onClick"]))), 128))
|
|
99
99
|
]));
|
|
100
100
|
}
|
|
101
|
-
}, he = /* @__PURE__ */
|
|
101
|
+
}, he = /* @__PURE__ */ L(ue, [["__scopeId", "data-v-552341e3"]]), pe = {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "aibox-table__handle"
|
|
104
|
-
}, fe = { class: "handle-left" }, be = { class: "handle-right" }, we = { class: "aibox-table__content" }, ye = { key: 0 }, ge = { class: "aibox-table__slot-wrapper" }, ke = { class: "aibox-table__slot-wrapper" }, Ce = ["innerHTML"],
|
|
104
|
+
}, fe = { class: "handle-left" }, be = { class: "handle-right" }, we = { class: "aibox-table__content" }, ye = { key: 0 }, ge = { class: "aibox-table__slot-wrapper" }, ke = { class: "aibox-table__slot-wrapper" }, Ce = ["innerHTML"], _e = ["innerHTML"], xe = { class: "aibox-table__slot-wrapper" }, ve = ["onClick"], Se = { class: "aibox-table__slot-wrapper" }, Te = ["onClick"], $e = { class: "aibox-table__slot-wrapper" }, Be = { class: "aibox-table__slot-wrapper" }, Me = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "aibox-table__slot-wrapper"
|
|
107
|
-
},
|
|
107
|
+
}, me = {
|
|
108
108
|
__name: "AiboxTable",
|
|
109
109
|
props: {
|
|
110
110
|
columns: {
|
|
@@ -221,11 +221,11 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
221
221
|
"onRowClick"
|
|
222
222
|
],
|
|
223
223
|
setup(o, { expose: g, emit: $ }) {
|
|
224
|
-
const d = o, { t: y } = W(), k = R(null), h = R([]), C = M(() => typeof d.total == "string" ? Number(d.total) : d.total),
|
|
224
|
+
const d = o, { t: y } = W(), k = R(null), h = R([]), C = M(() => typeof d.total == "string" ? Number(d.total) : d.total), s = M(() => d.showChangeSize ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), v = M(() => C.value > 10 && d.hasPage), p = $, F = () => !0, I = (a) => d.onRowKey(a, (b) => b), j = (a) => d.onRowClassName(a), K = (a) => {
|
|
225
225
|
p("onPageChange", { ...d.pages, page: a });
|
|
226
|
-
}, K = (a) => {
|
|
227
|
-
p("onPageChange", { page: 1, size: a });
|
|
228
226
|
}, V = (a) => {
|
|
227
|
+
p("onPageChange", { page: 1, size: a });
|
|
228
|
+
}, X = (a) => {
|
|
229
229
|
d.selectionType !== "radio" && p("onMultiSelection", a);
|
|
230
230
|
}, O = (a) => {
|
|
231
231
|
if (d.selectionType === "radio") {
|
|
@@ -238,15 +238,15 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
238
238
|
}
|
|
239
239
|
}, P = () => {
|
|
240
240
|
k.value?.clearSelection(), p("onMultiSelection", []);
|
|
241
|
-
},
|
|
241
|
+
}, U = () => {
|
|
242
242
|
k.value?.clearSort();
|
|
243
|
-
},
|
|
243
|
+
}, G = (a) => {
|
|
244
244
|
p("onSortChange", a);
|
|
245
|
-
},
|
|
245
|
+
}, q = (a, b, e, l) => {
|
|
246
246
|
p("onCellDblclick", a, b, e, l);
|
|
247
|
-
},
|
|
247
|
+
}, Y = (a) => {
|
|
248
248
|
d.selectionType === "radio" && O(a);
|
|
249
|
-
},
|
|
249
|
+
}, Z = (a, b, e) => {
|
|
250
250
|
b?.type === "action" || !d.isCanRowClick || p("onRowClick", a, b, e);
|
|
251
251
|
}, N = (a, b) => {
|
|
252
252
|
k.value?.toggleRowSelection(a, b);
|
|
@@ -254,7 +254,7 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
254
254
|
return g({
|
|
255
255
|
handleClearSelection: P,
|
|
256
256
|
handleToggleRowSelection: N,
|
|
257
|
-
clearSort:
|
|
257
|
+
clearSort: U
|
|
258
258
|
}), (a, b) => (t(), c("div", {
|
|
259
259
|
class: D([{
|
|
260
260
|
"row-click-style": o.isCanRowClick,
|
|
@@ -263,56 +263,56 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
263
263
|
}, [
|
|
264
264
|
o.hasHeaderHandle ? (t(), c("div", pe, [
|
|
265
265
|
u("div", fe, [
|
|
266
|
-
w(a.$slots, "handleLeft")
|
|
266
|
+
w(a.$slots, "handleLeft", {}, void 0, !0)
|
|
267
267
|
]),
|
|
268
268
|
u("div", be, [
|
|
269
|
-
w(a.$slots, "handleRight")
|
|
269
|
+
w(a.$slots, "handleRight", {}, void 0, !0)
|
|
270
270
|
])
|
|
271
271
|
])) : B("", !0),
|
|
272
272
|
u("div", we, [
|
|
273
|
-
|
|
273
|
+
x(n(ne), {
|
|
274
274
|
ref_key: "aiboxTable",
|
|
275
275
|
ref: k,
|
|
276
276
|
"element-loading-text": n(y)("COMMON_DATA.LOADING_SUFFIX"),
|
|
277
277
|
"tree-props": o.treeProps,
|
|
278
278
|
"header-row-class-name": o.isSecondaryHeader ? "aibox-table__header secondary-header" : "aibox-table__header",
|
|
279
|
-
"row-class-name":
|
|
279
|
+
"row-class-name": j,
|
|
280
280
|
data: o.data,
|
|
281
281
|
border: o.hasBorder,
|
|
282
282
|
style: { width: "100%" },
|
|
283
|
-
"row-key":
|
|
283
|
+
"row-key": I,
|
|
284
284
|
height: o.maxHeight,
|
|
285
285
|
"default-sort": o.defaultSort,
|
|
286
286
|
"span-method": o.spanMethod,
|
|
287
287
|
"expand-row-keys": o.expandRowKeys,
|
|
288
|
-
onSelectionChange:
|
|
289
|
-
onSortChange:
|
|
290
|
-
onCellDblclick:
|
|
288
|
+
onSelectionChange: X,
|
|
289
|
+
onSortChange: G,
|
|
290
|
+
onCellDblclick: q,
|
|
291
291
|
onCurrentChange: O,
|
|
292
292
|
"show-summary": o.showSummary,
|
|
293
293
|
"summary-method": o.summaryMethod,
|
|
294
|
-
onSelect:
|
|
295
|
-
onRowClick:
|
|
294
|
+
onSelect: Y,
|
|
295
|
+
onRowClick: Z,
|
|
296
296
|
"default-expand-all": o.defaultExpandAll
|
|
297
297
|
}, {
|
|
298
|
-
empty:
|
|
298
|
+
empty: r(() => [
|
|
299
299
|
o.isCustomEmpty ? (t(), c("div", Me, [
|
|
300
|
-
w(a.$slots, "customEmpty")
|
|
301
|
-
])) : (t(), i(n(
|
|
300
|
+
w(a.$slots, "customEmpty", {}, void 0, !0)
|
|
301
|
+
])) : (t(), i(n(re), {
|
|
302
302
|
key: 1,
|
|
303
303
|
description: n(y)("COMMON_DATA.EMPTY"),
|
|
304
304
|
"image-size": 80
|
|
305
305
|
}, null, 8, ["description"]))
|
|
306
306
|
]),
|
|
307
|
-
default:
|
|
308
|
-
(t(!0), c(
|
|
307
|
+
default: r(() => [
|
|
308
|
+
(t(!0), c(_, null, m(o.columns, (e) => (t(), c(_, null, [
|
|
309
309
|
e.type === "selection" ? (t(), i(n(f), {
|
|
310
310
|
key: e.type,
|
|
311
311
|
type: "selection",
|
|
312
312
|
fixed: "left",
|
|
313
313
|
width: e.width || "50px",
|
|
314
314
|
"reserve-selection": !0,
|
|
315
|
-
selectable: e.selectable ||
|
|
315
|
+
selectable: e.selectable || F
|
|
316
316
|
}, null, 8, ["width", "selectable"])) : e.type === "index" ? (t(), i(n(f), {
|
|
317
317
|
key: `${e.type - e.label}`,
|
|
318
318
|
type: "index",
|
|
@@ -320,7 +320,7 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
320
320
|
fixed: "left",
|
|
321
321
|
width: e.width || "100px"
|
|
322
322
|
}, {
|
|
323
|
-
default:
|
|
323
|
+
default: r((l) => [
|
|
324
324
|
o.isLoading ? B("", !0) : (t(), c("span", ye, T((o.pages.page - 1) * o.pages.size + l.$index + 1), 1))
|
|
325
325
|
]),
|
|
326
326
|
_: 1
|
|
@@ -337,25 +337,25 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
337
337
|
sortable: e.sortable,
|
|
338
338
|
"show-overflow-tooltip": e.showOverflowTooltip
|
|
339
339
|
}, A({
|
|
340
|
-
default:
|
|
340
|
+
default: r((l) => [
|
|
341
341
|
u("div", ke, [
|
|
342
342
|
w(a.$slots, e.slot, {
|
|
343
343
|
row: l.row,
|
|
344
344
|
index: l.$index,
|
|
345
345
|
minWidth: e.minWidth
|
|
346
|
-
})
|
|
346
|
+
}, void 0, !0)
|
|
347
347
|
])
|
|
348
348
|
]),
|
|
349
349
|
_: 2
|
|
350
350
|
}, [
|
|
351
351
|
e.headerSlot ? {
|
|
352
352
|
name: "header",
|
|
353
|
-
fn:
|
|
353
|
+
fn: r(() => [
|
|
354
354
|
u("div", ge, [
|
|
355
355
|
w(a.$slots, e.headerSlot, {
|
|
356
356
|
item: e,
|
|
357
357
|
minWidth: e.minWidth
|
|
358
|
-
})
|
|
358
|
+
}, void 0, !0)
|
|
359
359
|
])
|
|
360
360
|
]),
|
|
361
361
|
key: "0"
|
|
@@ -371,7 +371,7 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
371
371
|
fixed: e.fixed,
|
|
372
372
|
sortable: e.sortable
|
|
373
373
|
}, {
|
|
374
|
-
default:
|
|
374
|
+
default: r((l) => [
|
|
375
375
|
u("span", {
|
|
376
376
|
innerHTML: e.callback && e.callback(l.row)
|
|
377
377
|
}, null, 8, Ce)
|
|
@@ -387,8 +387,8 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
387
387
|
align: e.align || "left",
|
|
388
388
|
"header-align": e.headerAlign || "left"
|
|
389
389
|
}, {
|
|
390
|
-
default:
|
|
391
|
-
(t(!0), c(
|
|
390
|
+
default: r(() => [
|
|
391
|
+
(t(!0), c(_, null, m(e.children, (l) => (t(), c(_, null, [
|
|
392
392
|
l.callback ? (t(), i(n(f), {
|
|
393
393
|
key: l.callback,
|
|
394
394
|
prop: l.prop,
|
|
@@ -396,10 +396,10 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
396
396
|
"min-width": l.minWidth,
|
|
397
397
|
"show-overflow-tooltip": ""
|
|
398
398
|
}, {
|
|
399
|
-
default:
|
|
399
|
+
default: r((S) => [
|
|
400
400
|
u("span", {
|
|
401
401
|
innerHTML: l.callback && l.callback(S.row)
|
|
402
|
-
}, null, 8,
|
|
402
|
+
}, null, 8, _e)
|
|
403
403
|
]),
|
|
404
404
|
_: 2
|
|
405
405
|
}, 1032, ["prop", "label", "min-width"])) : l.slot ? (t(), i(n(f), {
|
|
@@ -408,13 +408,13 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
408
408
|
prop: l.prop,
|
|
409
409
|
label: l.label
|
|
410
410
|
}, {
|
|
411
|
-
default:
|
|
412
|
-
u("div",
|
|
411
|
+
default: r((S) => [
|
|
412
|
+
u("div", xe, [
|
|
413
413
|
w(a.$slots, l.slot, {
|
|
414
414
|
row: S.row,
|
|
415
415
|
column: S.column,
|
|
416
416
|
index: S.$index
|
|
417
|
-
})
|
|
417
|
+
}, void 0, !0)
|
|
418
418
|
])
|
|
419
419
|
]),
|
|
420
420
|
_: 2
|
|
@@ -425,20 +425,20 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
425
425
|
"min-width": l.minWidth,
|
|
426
426
|
"show-overflow-tooltip": ""
|
|
427
427
|
}, {
|
|
428
|
-
header:
|
|
428
|
+
header: r(() => [
|
|
429
429
|
u("span", {
|
|
430
430
|
onClick: () => l.headerClick({ parent: e.label, ...l }),
|
|
431
431
|
style: { color: "#5b9bd1", cursor: "pointer" }
|
|
432
432
|
}, T(l.label), 9, ve)
|
|
433
433
|
]),
|
|
434
|
-
default:
|
|
434
|
+
default: r((S) => [
|
|
435
435
|
u("div", Se, [
|
|
436
436
|
w(a.$slots, "custom", {
|
|
437
437
|
data: {
|
|
438
438
|
col: { parent: e.label, ...l },
|
|
439
439
|
row: S.row
|
|
440
440
|
}
|
|
441
|
-
})
|
|
441
|
+
}, void 0, !0)
|
|
442
442
|
])
|
|
443
443
|
]),
|
|
444
444
|
_: 2
|
|
@@ -462,20 +462,20 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
462
462
|
"min-width": e.minWidth,
|
|
463
463
|
"show-overflow-tooltip": ""
|
|
464
464
|
}, {
|
|
465
|
-
header:
|
|
465
|
+
header: r(() => [
|
|
466
466
|
u("span", {
|
|
467
467
|
onClick: () => e.headerClick({ parent: "", ...e }),
|
|
468
468
|
style: { color: "#5b9bd1", cursor: "pointer" }
|
|
469
469
|
}, T(e.label), 9, Te)
|
|
470
470
|
]),
|
|
471
|
-
default:
|
|
471
|
+
default: r((l) => [
|
|
472
472
|
u("div", $e, [
|
|
473
473
|
w(a.$slots, "custom", {
|
|
474
474
|
data: {
|
|
475
475
|
col: { parent: "", ...e },
|
|
476
476
|
row: l.row
|
|
477
477
|
}
|
|
478
|
-
})
|
|
478
|
+
}, void 0, !0)
|
|
479
479
|
])
|
|
480
480
|
]),
|
|
481
481
|
_: 2
|
|
@@ -486,7 +486,7 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
486
486
|
type: "action",
|
|
487
487
|
fixed: "right"
|
|
488
488
|
}, {
|
|
489
|
-
default:
|
|
489
|
+
default: r((l) => [
|
|
490
490
|
e?.config?.(l.row)?.length ? (t(), i(he, {
|
|
491
491
|
key: 0,
|
|
492
492
|
"show-nums": o.showHandleNums,
|
|
@@ -500,12 +500,12 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
500
500
|
key: "expand" + e.prop,
|
|
501
501
|
width: e.width
|
|
502
502
|
}, {
|
|
503
|
-
default:
|
|
503
|
+
default: r((l) => [
|
|
504
504
|
u("div", Be, [
|
|
505
505
|
w(a.$slots, "expand", {
|
|
506
506
|
row: l.row,
|
|
507
507
|
column: l.column
|
|
508
|
-
})
|
|
508
|
+
}, void 0, !0)
|
|
509
509
|
])
|
|
510
510
|
]),
|
|
511
511
|
_: 3
|
|
@@ -522,11 +522,11 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
522
522
|
}, A({ _: 2 }, [
|
|
523
523
|
e.headerSlot ? {
|
|
524
524
|
name: "header",
|
|
525
|
-
fn:
|
|
525
|
+
fn: r(() => [
|
|
526
526
|
w(a.$slots, e.headerSlot, {
|
|
527
527
|
item: e,
|
|
528
528
|
minWidth: e.minWidth
|
|
529
|
-
})
|
|
529
|
+
}, void 0, !0)
|
|
530
530
|
]),
|
|
531
531
|
key: "0"
|
|
532
532
|
} : void 0
|
|
@@ -540,22 +540,22 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
540
540
|
key: 1,
|
|
541
541
|
class: D([o.isPagePostion ? "aibox-table__pages" : "aibox-table__page"])
|
|
542
542
|
}, [
|
|
543
|
-
|
|
544
|
-
layout:
|
|
543
|
+
x(n(se), {
|
|
544
|
+
layout: s.value,
|
|
545
545
|
"current-page": o.pages.page,
|
|
546
546
|
"page-sizes": [10, 20, 50, 100],
|
|
547
547
|
"page-size": o.pages.size,
|
|
548
548
|
total: C.value,
|
|
549
|
-
onSizeChange:
|
|
550
|
-
onCurrentChange:
|
|
549
|
+
onSizeChange: V,
|
|
550
|
+
onCurrentChange: K
|
|
551
551
|
}, null, 8, ["layout", "current-page", "page-size", "total"])
|
|
552
552
|
], 2)) : B("", !0)
|
|
553
553
|
], 2));
|
|
554
554
|
}
|
|
555
|
-
}, me = { class: "back-bar__icon" },
|
|
555
|
+
}, We = /* @__PURE__ */ L(me, [["__scopeId", "data-v-c5ee5c6d"]]), Ne = { class: "back-bar__icon" }, Ee = {
|
|
556
556
|
key: 0,
|
|
557
557
|
class: "back-bar__title"
|
|
558
|
-
},
|
|
558
|
+
}, He = {
|
|
559
559
|
__name: "BackBar",
|
|
560
560
|
props: {
|
|
561
561
|
goBackFn: {
|
|
@@ -577,25 +577,25 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
577
577
|
};
|
|
578
578
|
return (y, k) => (t(), c("div", {
|
|
579
579
|
class: "back-bar",
|
|
580
|
-
style:
|
|
580
|
+
style: J({ "background-color": o.backBarStyle })
|
|
581
581
|
}, [
|
|
582
|
-
u("div",
|
|
583
|
-
|
|
584
|
-
onClick:
|
|
582
|
+
u("div", Ne, [
|
|
583
|
+
x(n(H), {
|
|
584
|
+
onClick: Q(d, ["stop"])
|
|
585
585
|
}, {
|
|
586
|
-
default:
|
|
587
|
-
|
|
586
|
+
default: r(() => [
|
|
587
|
+
x(n(le))
|
|
588
588
|
]),
|
|
589
589
|
_: 1
|
|
590
590
|
})
|
|
591
591
|
]),
|
|
592
592
|
w(y.$slots, "default"),
|
|
593
|
-
o.title ? (t(), c("div",
|
|
593
|
+
o.title ? (t(), c("div", Ee, T(o.title), 1)) : B("", !0)
|
|
594
594
|
], 4));
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
597
|
export {
|
|
598
598
|
he as T,
|
|
599
|
-
|
|
600
|
-
|
|
599
|
+
We as _,
|
|
600
|
+
He as a
|
|
601
601
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as M, createElementBlock as c, openBlock as t, Fragment as x, createVNode as _, renderList as m, createBlock as i, unref as n, withCtx as r, createTextVNode as E, toDisplayString as T, createElementVNode as u, normalizeClass as A, ref as P, createCommentVNode as B, renderSlot as w, createSlots as R, normalizeStyle as J, withModifiers as Q } from "vue";
|
|
2
|
-
import { u as W } from "./i18n.
|
|
2
|
+
import { u as W } from "./i18n.Bd7hh14j.js";
|
|
3
3
|
import { IconMore as ee, IconZuo as le } from "color-message-aibox-vue";
|
|
4
4
|
import { ElButton as z, ElDropdown as ae, ElIcon as H, ElDropdownMenu as oe, ElDropdownItem as te, ElTable as ne, ElTableColumn as f, ElEmpty as re, ElPagination as se } from "element-plus";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as n } from "./config.DE5PZU2F.js";
|
|
2
|
-
import { P as e } from "./index.
|
|
3
|
-
import { g as T } from "./i18n.
|
|
2
|
+
import { P as e } from "./index.CHlFhI6c.js";
|
|
3
|
+
import { g as T } from "./i18n.Bd7hh14j.js";
|
|
4
4
|
import { markRaw as r } from "vue";
|
|
5
5
|
import { IconClose as N, Right as i, IconTimmer as L } from "color-message-aibox-vue";
|
|
6
6
|
const D = {
|