china-mobile-international-custom-components 0.0.43 → 0.0.44
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/ApplicationTypeTag.mjs +1 -1
- package/es/AvailableRangePreview.mjs +1 -1
- package/es/AvailableRangeSetting.mjs +2 -2
- package/es/CommonTagsList.mjs +3 -3
- package/es/CustomSidebar.mjs +1 -1
- package/es/FileUploader.mjs +1 -1
- package/es/PageContainer.mjs +195 -173
- package/es/ParameterTable.mjs +1 -1
- package/es/SourcePublish.mjs +120 -122
- package/es/Table.mjs +2 -2
- package/es/assets/PageContainer.css +1 -1
- package/es/assets/SourcePublish.css +1 -1
- package/es/assets/index3.css +1 -0
- package/es/assets/layout2.css +1 -1
- package/es/chunks/{BackBar.DY42HcZy.js → BackBar.9Pp2SYB-.js} +1 -1
- package/es/chunks/{BackBar.eaUb1JvV.js → BackBar.DwhmSL-a.js} +98 -98
- package/es/chunks/{config.CyAT4SUn.js → config.DVEvXGIL.js} +11 -11
- package/es/chunks/{i18n.CfMhDOdX.js → i18n.BNeBD4gR.js} +6 -6
- package/es/chunks/{i18n.Bd7hh14j.js → i18n.DMVLcyDY.js} +2 -2
- package/es/chunks/i18n.DUrvNBQz.js +4028 -0
- package/es/chunks/index.BcLVH95_.js +4058 -0
- package/es/chunks/index.CSPp4g5C.js +303 -0
- package/es/chunks/{index.CHlFhI6c.js → index.CZTB65ge.js} +1 -1
- package/es/chunks/index.ClqvUq64.js +302 -0
- package/es/chunks/index.Dh5IGfxO.js +290 -0
- package/es/chunks/index.Doax01RQ.js +254 -0
- package/es/chunks/{layout.B1qqvrXz.js → layout.BSXfM0rC.js} +144 -130
- package/es/index.mjs +5 -5
- 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/CustomSidebar.js +1 -1
- package/lib/FileUploader.js +1 -1
- package/lib/PageContainer.js +1 -1
- package/lib/ParameterTable.js +1 -1
- package/lib/SourcePublish.js +1 -1
- package/lib/Table.js +1 -1
- package/lib/assets/PageContainer.css +1 -1
- package/lib/assets/SourcePublish.css +1 -1
- package/lib/assets/index3.css +1 -0
- package/lib/assets/layout2.css +1 -1
- package/lib/chunks/BackBar.CYThcqhK.js +1 -0
- package/lib/chunks/{BackBar.CaaASGvb.js → BackBar.DFDSVp2a.js} +1 -1
- package/lib/chunks/{config.BInpXFGZ.js → config.Dwnp4fRZ.js} +1 -1
- package/lib/chunks/{i18n.D3L1FBDI.js → i18n.Bzvn6t8H.js} +2 -2
- package/lib/chunks/i18n.D-d0yyXi.js +6 -0
- package/lib/chunks/index.6X8xsqRJ.js +1 -0
- package/lib/chunks/index.Bk55us0s.js +1 -0
- package/lib/chunks/index.CP9rhXZ5.js +1 -0
- package/lib/chunks/index.CSLWrMRE.js +1 -0
- package/lib/chunks/index.CV29Us4A.js +6 -0
- package/lib/chunks/{index.D-pFPuUr.js → index.DO3h_zf2.js} +1 -1
- package/lib/chunks/layout.DL-8uhpw.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +4 -4
- package/es/chunks/config.JrGX09T5.js +0 -435
- package/es/chunks/index.DjDvyGXt.js +0 -313
- package/lib/chunks/BackBar.By7ouDgL.js +0 -1
- package/lib/chunks/config.CL0cmPQ6.js +0 -1
- package/lib/chunks/index.zQ1SfvBa.js +0 -1
- package/lib/chunks/layout.Cen7E9tF.js +0 -1
package/es/assets/layout2.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.nav-title[data-v-
|
|
1
|
+
.nav-title[data-v-8cc29b72]{height:72px;padding-left:2px;display:flex;align-items:center;justify-content:space-between}.nav-title .title-logo[data-v-8cc29b72]{width:36px;height:36px;background:#eaf0fe;border-radius:100px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.nav-title .title-text[data-v-8cc29b72]{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nav-title .collapse-unfold-icon[data-v-8cc29b72]{cursor:pointer;flex-shrink:0;transition:transform .2s ease;display:flex;justify-content:center}.nav-title .collapse-unfold-icon[data-v-8cc29b72]:hover{transform:scale(1.1)}.custom-tree[data-v-0a105c70]{background-color:transparent}.custom-tree[data-v-0a105c70] .el-tree-node__expand-icon{display:none}.custom-tree[data-v-0a105c70] .el-tree-node.is-current .el-tree-node__content{background:#eaf0fe;border-radius:6px}.custom-tree .tree-node-content-custom[data-v-0a105c70]{display:flex;align-items:center;transition:all .3s ease;border-radius:6px;font-weight:400;font-size:14px;color:#1f2329;width:100%;padding:8px 12px;box-sizing:border-box;cursor:pointer}.custom-tree .tree-node-content-custom.is-current[data-v-0a105c70]{color:#3271fe}.custom-tree .tree-node-content-custom.is-parent-active[data-v-0a105c70]{color:#3271fe;border-radius:6px;background:transparent}.custom-tree .tree-node-content-custom .expand-arrow[data-v-0a105c70]{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .3s ease;flex-shrink:0}.custom-tree .tree-node-content-custom .node-icon[data-v-0a105c70]{width:24px;justify-content:flex-start;flex-shrink:0}.custom-tree .tree-node-content-custom .node-label[data-v-0a105c70]{flex:1;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-popup-content[data-v-9ec38608]{padding:8px}.user-popup-content .user_info_wrap_data[data-v-9ec38608]{display:flex;align-items:center;padding:8px 3px 12px;margin-bottom:12px;border-radius:8px;border-bottom:1px solid #EFF2F5}.user-popup-content .user_info_wrap_data .user-avatar[data-v-9ec38608]{width:32px;height:32px;border-radius:50%;background:#3965ff;display:flex;align-items:center;justify-content:center;margin-right:3px;flex-shrink:0}.user-popup-content .user_info_wrap_data .user-avatar .avatar-text[data-v-9ec38608]{font-weight:700;font-size:18px;color:#fff;display:flex;justify-content:center;align-items:center}.user-popup-content .user_info_wrap_data .user-details[data-v-9ec38608]{flex:1;overflow:hidden}.user-popup-content .user_info_wrap_data .user-details .user-name[data-v-9ec38608]{line-height:20px;font-weight:400;font-size:14px;color:#1f2329;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-popup-content .user_info_wrap_data .user-details .user-email[data-v-9ec38608]{line-height:20px;font-weight:400;font-size:12px;color:#8f959e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-popup-content .list__item[data-v-9ec38608]{cursor:pointer;display:flex;align-items:center;gap:6px;padding:0 12px;border-radius:8px;font-weight:400;font-size:14px;color:#1f2329;height:48px;transition:background-color .2s ease}.user-popup-content .list__item[data-v-9ec38608]:hover{background:#f0f0f0}.user-popup-content .list__item-icon[data-v-9ec38608]{text-align:center;display:flex;align-items:center}.navbar-box__footer[data-v-3eb978be]{height:52px;width:100%;cursor:pointer;position:relative;bottom:0;padding:10px 8px;display:flex;align-items:center;justify-content:space-between;background:#e6e8ea;box-shadow:0 6px 40px 16px #00000005,0 4px 28px #00000005,0 3px 16px -8px #0000000a;border-radius:0;border:1px solid #DEE0E3}.navbar-box__footer__left[data-v-3eb978be]{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.navbar-box__footer__left>div[data-v-3eb978be]:last-child{flex:1;min-width:0}.navbar-box__footer__left .name-first[data-v-3eb978be]{display:flex;justify-content:center;align-items:center;width:22px;height:22px;background:#3965ff;border-radius:50%;color:#fff;text-align:center;font-weight:700;font-size:12px;flex-shrink:0}.navbar-box__footer__left .name-text[data-v-3eb978be]{font-weight:400;font-size:12px;color:#1f2329;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.navbar-box__footer__left .user-id[data-v-3eb978be]{font-size:12px;color:#a8abb2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-box__footer__right[data-v-3eb978be]{width:16px}.footer-popup[data-v-3eb978be]{position:fixed;bottom:0;z-index:2001;width:280px}.footer-popup .footer-popup__content[data-v-3eb978be]{width:100%;height:100%}.content-bg[data-v-3eb978be]{background:#fff;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f;border-radius:4px;border:1px solid rgba(255,255,255,.8)}.fade-enter-from[data-v-3eb978be],.fade-leave-to[data-v-3eb978be]{opacity:0}.fade-enter-active[data-v-3eb978be],.fade-leave-active[data-v-3eb978be]{transition:opacity .3s ease}.fade-enter-to[data-v-3eb978be],.fade-leave-from[data-v-3eb978be]{opacity:1}.sidebar[data-v-f272ad1e]{width:240px;transition:width .3s ease;position:relative;height:calc(100vh - 52px)}.sidebar[data-v-f272ad1e] .el-tree{--el-tree-node-hover-bg-color: transparent !important}
|
|
@@ -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.DMVLcyDY.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,8 +1,8 @@
|
|
|
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
|
|
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 x, createVNode as _, renderList as m, createBlock as i, unref as n, withCtx as s, 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 Z, withModifiers as J } from "vue";
|
|
2
|
+
import { u as W } from "./i18n.DUrvNBQz.js";
|
|
3
|
+
import { IconMore as Q, IconZuo as ee } from "color-message-aibox-vue";
|
|
4
|
+
import { ElButton as z, ElDropdown as le, ElIcon as H, ElDropdownMenu as ae, ElDropdownItem as oe, ElTable as te, ElTableColumn as f, ElEmpty as ne, ElPagination as se } from "element-plus";
|
|
5
|
+
import { _ as re } 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 r = !0;
|
|
35
|
+
return h.dataPermission && (r = h.dataPermission), C && r;
|
|
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
41
|
y.value.length > o.showNums ? (t(), c(x, { key: 0 }, [
|
|
42
|
-
(t(!0), c(x, null, m(k.value.show, (
|
|
42
|
+
(t(!0), c(x, null, m(k.value.show, (r, v) => (t(), i(n(z), {
|
|
43
43
|
key: v,
|
|
44
44
|
type: "primary",
|
|
45
45
|
link: "",
|
|
46
|
-
onClick: (p) => d(
|
|
46
|
+
onClick: (p) => d(r.fn, r.row)
|
|
47
47
|
}, {
|
|
48
|
-
default:
|
|
49
|
-
E(T(
|
|
48
|
+
default: s(() => [
|
|
49
|
+
E(T(r.label), 1)
|
|
50
50
|
]),
|
|
51
51
|
_: 2
|
|
52
52
|
}, 1032, ["onClick"]))), 128)),
|
|
53
|
-
_(n(
|
|
53
|
+
_(n(le), {
|
|
54
54
|
"popper-class": "custom-dropdown",
|
|
55
55
|
trigger: "click"
|
|
56
56
|
}, {
|
|
57
|
-
dropdown:
|
|
58
|
-
_(n(
|
|
59
|
-
default:
|
|
60
|
-
(t(!0), c(x, null, m(k.value.hide, (
|
|
57
|
+
dropdown: s(() => [
|
|
58
|
+
_(n(ae), { style: { padding: "14px 0" } }, {
|
|
59
|
+
default: s(() => [
|
|
60
|
+
(t(!0), c(x, null, m(k.value.hide, (r, v) => (t(), i(n(oe), {
|
|
61
61
|
key: v,
|
|
62
|
-
class:
|
|
63
|
-
"is-delete":
|
|
62
|
+
class: D({
|
|
63
|
+
"is-delete": r.label === n($)("COMMON_BUTTON.DELETE_TEXT") || r.label === n($)("COMMON_BUTTON.DISABLE_TEXT") || r.isDanger
|
|
64
64
|
}),
|
|
65
|
-
onClick: (p) => d(
|
|
65
|
+
onClick: (p) => d(r.fn, r.row)
|
|
66
66
|
}, {
|
|
67
|
-
default:
|
|
68
|
-
E(T(
|
|
67
|
+
default: s(() => [
|
|
68
|
+
E(T(r.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: s(() => [
|
|
77
77
|
u("div", ce, [
|
|
78
78
|
_(n(H), { style: { "font-size": "20px", color: "#999" } }, {
|
|
79
|
-
default:
|
|
80
|
-
_(n(
|
|
79
|
+
default: s(() => [
|
|
80
|
+
_(n(Q))
|
|
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(x, { key: 1 }, m(y.value, (
|
|
88
|
+
], 64)) : (t(!0), c(x, { key: 1 }, m(y.value, (r, v) => (t(), i(n(z), {
|
|
89
89
|
type: "primary",
|
|
90
90
|
link: "",
|
|
91
91
|
key: v,
|
|
92
|
-
onClick: (p) => d(
|
|
92
|
+
onClick: (p) => d(r.fn, r.row)
|
|
93
93
|
}, {
|
|
94
|
-
default:
|
|
95
|
-
E(T(
|
|
94
|
+
default: s(() => [
|
|
95
|
+
E(T(r.label), 1)
|
|
96
96
|
]),
|
|
97
97
|
_: 2
|
|
98
98
|
}, 1032, ["onClick"]))), 128))
|
|
99
99
|
]));
|
|
100
100
|
}
|
|
101
|
-
}, he = /* @__PURE__ */
|
|
101
|
+
}, he = /* @__PURE__ */ re(ue, [["__scopeId", "data-v-552341e3"]]), pe = {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "aibox-table__handle"
|
|
104
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"], xe = ["innerHTML"], _e = { 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
|
+
}, ze = {
|
|
108
108
|
__name: "AiboxTable",
|
|
109
109
|
props: {
|
|
110
110
|
columns: {
|
|
@@ -221,90 +221,90 @@ 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 =
|
|
224
|
+
const d = o, { t: y } = W(), k = R(null), h = R([]), C = M(() => typeof d.total == "string" ? Number(d.total) : d.total), r = M(() => d.showChangeSize ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), v = M(() => C.value > 10 && d.hasPage), p = $, L = () => !0, F = (a) => d.onRowKey(a, (b) => b), I = (a) => d.onRowClassName(a), j = (a) => {
|
|
225
225
|
p("onPageChange", { ...d.pages, page: a });
|
|
226
|
-
},
|
|
226
|
+
}, K = (a) => {
|
|
227
227
|
p("onPageChange", { page: 1, size: a });
|
|
228
|
-
},
|
|
228
|
+
}, V = (a) => {
|
|
229
229
|
d.selectionType !== "radio" && p("onMultiSelection", a);
|
|
230
|
-
},
|
|
230
|
+
}, O = (a) => {
|
|
231
231
|
if (d.selectionType === "radio") {
|
|
232
232
|
const b = h.value;
|
|
233
|
-
if (
|
|
233
|
+
if (P(), b.length == 1) {
|
|
234
234
|
const [e] = b, l = e.id !== a.id;
|
|
235
235
|
l ? (h.value = [a], p("onMultiSelection", [a])) : (h.value = [], p("onMultiSelection", [])), N(a, l);
|
|
236
236
|
} else
|
|
237
237
|
N(a, !0), h.value = [a], p("onMultiSelection", [a]);
|
|
238
238
|
}
|
|
239
|
-
},
|
|
239
|
+
}, P = () => {
|
|
240
240
|
k.value?.clearSelection(), p("onMultiSelection", []);
|
|
241
|
-
},
|
|
241
|
+
}, X = () => {
|
|
242
242
|
k.value?.clearSort();
|
|
243
|
-
},
|
|
243
|
+
}, U = (a) => {
|
|
244
244
|
p("onSortChange", a);
|
|
245
|
-
},
|
|
245
|
+
}, G = (a, b, e, l) => {
|
|
246
246
|
p("onCellDblclick", a, b, e, l);
|
|
247
|
-
},
|
|
248
|
-
d.selectionType === "radio" &&
|
|
249
|
-
},
|
|
247
|
+
}, q = (a) => {
|
|
248
|
+
d.selectionType === "radio" && O(a);
|
|
249
|
+
}, Y = (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);
|
|
253
253
|
};
|
|
254
254
|
return g({
|
|
255
|
-
handleClearSelection:
|
|
255
|
+
handleClearSelection: P,
|
|
256
256
|
handleToggleRowSelection: N,
|
|
257
|
-
clearSort:
|
|
257
|
+
clearSort: X
|
|
258
258
|
}), (a, b) => (t(), c("div", {
|
|
259
|
-
class:
|
|
259
|
+
class: D([{
|
|
260
260
|
"row-click-style": o.isCanRowClick,
|
|
261
261
|
"no-pagination": !v.value
|
|
262
262
|
}, "aibox-table"])
|
|
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")
|
|
267
267
|
]),
|
|
268
268
|
u("div", be, [
|
|
269
|
-
w(a.$slots, "handleRight"
|
|
269
|
+
w(a.$slots, "handleRight")
|
|
270
270
|
])
|
|
271
271
|
])) : B("", !0),
|
|
272
272
|
u("div", we, [
|
|
273
|
-
_(n(
|
|
273
|
+
_(n(te), {
|
|
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": I,
|
|
280
280
|
data: o.data,
|
|
281
281
|
border: o.hasBorder,
|
|
282
282
|
style: { width: "100%" },
|
|
283
|
-
"row-key":
|
|
283
|
+
"row-key": F,
|
|
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:
|
|
291
|
-
onCurrentChange:
|
|
288
|
+
onSelectionChange: V,
|
|
289
|
+
onSortChange: U,
|
|
290
|
+
onCellDblclick: G,
|
|
291
|
+
onCurrentChange: O,
|
|
292
292
|
"show-summary": o.showSummary,
|
|
293
293
|
"summary-method": o.summaryMethod,
|
|
294
|
-
onSelect:
|
|
295
|
-
onRowClick:
|
|
294
|
+
onSelect: q,
|
|
295
|
+
onRowClick: Y,
|
|
296
296
|
"default-expand-all": o.defaultExpandAll
|
|
297
297
|
}, {
|
|
298
|
-
empty:
|
|
298
|
+
empty: s(() => [
|
|
299
299
|
o.isCustomEmpty ? (t(), c("div", Me, [
|
|
300
|
-
w(a.$slots, "customEmpty"
|
|
301
|
-
])) : (t(), i(n(
|
|
300
|
+
w(a.$slots, "customEmpty")
|
|
301
|
+
])) : (t(), i(n(ne), {
|
|
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:
|
|
307
|
+
default: s(() => [
|
|
308
308
|
(t(!0), c(x, null, m(o.columns, (e) => (t(), c(x, null, [
|
|
309
309
|
e.type === "selection" ? (t(), i(n(f), {
|
|
310
310
|
key: e.type,
|
|
@@ -312,7 +312,7 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
312
312
|
fixed: "left",
|
|
313
313
|
width: e.width || "50px",
|
|
314
314
|
"reserve-selection": !0,
|
|
315
|
-
selectable: e.selectable ||
|
|
315
|
+
selectable: e.selectable || L
|
|
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: s((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
|
|
@@ -336,26 +336,26 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
336
336
|
fixed: e.fixed,
|
|
337
337
|
sortable: e.sortable,
|
|
338
338
|
"show-overflow-tooltip": e.showOverflowTooltip
|
|
339
|
-
},
|
|
340
|
-
default:
|
|
339
|
+
}, A({
|
|
340
|
+
default: s((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
|
+
})
|
|
347
347
|
])
|
|
348
348
|
]),
|
|
349
349
|
_: 2
|
|
350
350
|
}, [
|
|
351
351
|
e.headerSlot ? {
|
|
352
352
|
name: "header",
|
|
353
|
-
fn:
|
|
353
|
+
fn: s(() => [
|
|
354
354
|
u("div", ge, [
|
|
355
355
|
w(a.$slots, e.headerSlot, {
|
|
356
356
|
item: e,
|
|
357
357
|
minWidth: e.minWidth
|
|
358
|
-
}
|
|
358
|
+
})
|
|
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: s((l) => [
|
|
375
375
|
u("span", {
|
|
376
376
|
innerHTML: e.callback && e.callback(l.row)
|
|
377
377
|
}, null, 8, Ce)
|
|
@@ -387,7 +387,7 @@ 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:
|
|
390
|
+
default: s(() => [
|
|
391
391
|
(t(!0), c(x, null, m(e.children, (l) => (t(), c(x, null, [
|
|
392
392
|
l.callback ? (t(), i(n(f), {
|
|
393
393
|
key: l.callback,
|
|
@@ -396,7 +396,7 @@ 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: s((S) => [
|
|
400
400
|
u("span", {
|
|
401
401
|
innerHTML: l.callback && l.callback(S.row)
|
|
402
402
|
}, null, 8, xe)
|
|
@@ -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:
|
|
411
|
+
default: s((S) => [
|
|
412
412
|
u("div", _e, [
|
|
413
413
|
w(a.$slots, l.slot, {
|
|
414
414
|
row: S.row,
|
|
415
415
|
column: S.column,
|
|
416
416
|
index: S.$index
|
|
417
|
-
}
|
|
417
|
+
})
|
|
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: s(() => [
|
|
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: s((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
|
+
})
|
|
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: s(() => [
|
|
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: s((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
|
+
})
|
|
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: s((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: s((l) => [
|
|
504
504
|
u("div", Be, [
|
|
505
505
|
w(a.$slots, "expand", {
|
|
506
506
|
row: l.row,
|
|
507
507
|
column: l.column
|
|
508
|
-
}
|
|
508
|
+
})
|
|
509
509
|
])
|
|
510
510
|
]),
|
|
511
511
|
_: 3
|
|
@@ -519,14 +519,14 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
519
519
|
sortable: e.sortable,
|
|
520
520
|
"show-overflow-tooltip": "",
|
|
521
521
|
align: e.align || "left"
|
|
522
|
-
},
|
|
522
|
+
}, A({ _: 2 }, [
|
|
523
523
|
e.headerSlot ? {
|
|
524
524
|
name: "header",
|
|
525
|
-
fn:
|
|
525
|
+
fn: s(() => [
|
|
526
526
|
w(a.$slots, e.headerSlot, {
|
|
527
527
|
item: e,
|
|
528
528
|
minWidth: e.minWidth
|
|
529
|
-
}
|
|
529
|
+
})
|
|
530
530
|
]),
|
|
531
531
|
key: "0"
|
|
532
532
|
} : void 0
|
|
@@ -538,24 +538,24 @@ import '../assets/BackBar.css';const ie = { class: "table-btns" }, ce = { class:
|
|
|
538
538
|
]),
|
|
539
539
|
C.value > 10 && o.hasPage ? (t(), c("div", {
|
|
540
540
|
key: 1,
|
|
541
|
-
class:
|
|
541
|
+
class: D([o.isPagePostion ? "aibox-table__pages" : "aibox-table__page"])
|
|
542
542
|
}, [
|
|
543
543
|
_(n(se), {
|
|
544
|
-
layout:
|
|
544
|
+
layout: r.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: K,
|
|
550
|
+
onCurrentChange: j
|
|
551
551
|
}, null, 8, ["layout", "current-page", "page-size", "total"])
|
|
552
552
|
], 2)) : B("", !0)
|
|
553
553
|
], 2));
|
|
554
554
|
}
|
|
555
|
-
},
|
|
555
|
+
}, me = { class: "back-bar__icon" }, Ne = {
|
|
556
556
|
key: 0,
|
|
557
557
|
class: "back-bar__title"
|
|
558
|
-
},
|
|
558
|
+
}, We = {
|
|
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: Z({ "background-color": o.backBarStyle })
|
|
581
581
|
}, [
|
|
582
|
-
u("div",
|
|
582
|
+
u("div", me, [
|
|
583
583
|
_(n(H), {
|
|
584
|
-
onClick:
|
|
584
|
+
onClick: J(d, ["stop"])
|
|
585
585
|
}, {
|
|
586
|
-
default:
|
|
587
|
-
_(n(
|
|
586
|
+
default: s(() => [
|
|
587
|
+
_(n(ee))
|
|
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", Ne, T(o.title), 1)) : B("", !0)
|
|
594
594
|
], 4));
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
597
|
export {
|
|
598
|
-
We as A,
|
|
599
598
|
he as T,
|
|
600
|
-
|
|
599
|
+
ze as _,
|
|
600
|
+
We as a
|
|
601
601
|
};
|
|
@@ -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.CZTB65ge.js";
|
|
3
|
+
import { g as T } from "./i18n.DMVLcyDY.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 = {
|
|
@@ -129,12 +129,12 @@ const D = {
|
|
|
129
129
|
E.API,
|
|
130
130
|
E.WORKFLOW_API,
|
|
131
131
|
E.PLUGIN_API
|
|
132
|
-
],
|
|
132
|
+
], g = [
|
|
133
133
|
E.AGENT_STORE,
|
|
134
134
|
E.WORKFLOW_STORE,
|
|
135
135
|
E.MCP_STORE,
|
|
136
136
|
E.PLUGIN_STORE
|
|
137
|
-
],
|
|
137
|
+
], B = [
|
|
138
138
|
E.H5,
|
|
139
139
|
E.AIBox,
|
|
140
140
|
E.AGENT_STORE,
|
|
@@ -398,14 +398,14 @@ const D = {
|
|
|
398
398
|
get [e.FAILED]() {
|
|
399
399
|
return T("COMPONENTS.FAILED");
|
|
400
400
|
}
|
|
401
|
-
},
|
|
401
|
+
}, f = {
|
|
402
402
|
[e.UNPUBLISHED]: r(N),
|
|
403
403
|
[e.UNDER_REVIEW]: r(L),
|
|
404
404
|
[e.PUBLISHED]: r(i),
|
|
405
405
|
[e.REJECTED]: r(N),
|
|
406
406
|
[e.FAILED]: r(N)
|
|
407
|
-
},
|
|
408
|
-
[e.UNPUBLISHED]: "#
|
|
407
|
+
}, m = {
|
|
408
|
+
[e.UNPUBLISHED]: "#8f959e",
|
|
409
409
|
[e.UNDER_REVIEW]: "#E6A23C",
|
|
410
410
|
[e.PUBLISHED]: "#67C23A",
|
|
411
411
|
[e.REJECTED]: "#F56C6C",
|
|
@@ -417,12 +417,12 @@ export {
|
|
|
417
417
|
D as I,
|
|
418
418
|
I as L,
|
|
419
419
|
V as O,
|
|
420
|
-
|
|
420
|
+
m as P,
|
|
421
421
|
R,
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
g as S,
|
|
423
|
+
B as a,
|
|
424
424
|
W as b,
|
|
425
|
-
|
|
425
|
+
f as c,
|
|
426
426
|
d,
|
|
427
427
|
p as e,
|
|
428
428
|
b as f,
|
|
@@ -4016,12 +4016,12 @@ const Oe = {
|
|
|
4016
4016
|
};
|
|
4017
4017
|
export {
|
|
4018
4018
|
mo as a,
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4019
|
+
To as b,
|
|
4020
|
+
bo as c,
|
|
4021
|
+
Oo as d,
|
|
4022
|
+
Io as e,
|
|
4023
|
+
vo as f,
|
|
4024
|
+
pr as g,
|
|
4025
4025
|
Oe as l,
|
|
4026
4026
|
Eo as s,
|
|
4027
4027
|
po as u
|
|
@@ -1630,7 +1630,7 @@ const Z = {
|
|
|
1630
1630
|
function Te(e, ...t) {
|
|
1631
1631
|
return et(Xa[e], ...t);
|
|
1632
1632
|
}
|
|
1633
|
-
const Ja = "11.2.
|
|
1633
|
+
const Ja = "11.2.8", nt = -1, We = "en-US", ze = "", _n = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1634
1634
|
function Qa() {
|
|
1635
1635
|
return {
|
|
1636
1636
|
upper: (e, t) => t === "text" && O(e) ? e.toUpperCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -2227,7 +2227,7 @@ function vs(e, t) {
|
|
|
2227
2227
|
}), o && t(o.proxiedTarget);
|
|
2228
2228
|
}
|
|
2229
2229
|
}
|
|
2230
|
-
const Cs = "11.2.
|
|
2230
|
+
const Cs = "11.2.8";
|
|
2231
2231
|
function Ds() {
|
|
2232
2232
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (he().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (he().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (he().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (he().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2233
2233
|
}
|