@done-coding/admin-core 0.5.1-alpha.1 → 0.6.1-alpha.0
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/components/app-layout/AppBody.vue.mjs +2 -2
- package/es/components/app-layout/AppBody.vue2.mjs +33 -35
- package/es/components/app-layout/AppBreadcrumb.vue.mjs +2 -2
- package/es/components/app-layout/AppBreadcrumb.vue2.mjs +6 -7
- package/es/components/app-layout/AppLayout.vue.mjs +1 -1
- package/es/components/app-layout/AppLayout.vue2.mjs +25 -28
- package/es/components/data-view/DataListView.vue.mjs +2 -2
- package/es/components/data-view/DataListView.vue2.mjs +19 -17
- package/es/components/display/BooleanTag.vue.mjs +30 -0
- package/es/components/display/BooleanTag.vue2.mjs +4 -0
- package/es/components/list-page/ListPage.vue.mjs +1 -1
- package/es/components/list-page/ListPage.vue2.mjs +101 -89
- package/es/components/misc/ActionBtn.vue.mjs +29 -29
- package/es/components/misc/AutoRefresh.vue.mjs +2 -2
- package/es/components/misc/AutoRefresh.vue2.mjs +50 -42
- package/es/components/misc/AutoRefreshGroup.vue.mjs +7 -0
- package/es/components/misc/AutoRefreshGroup.vue2.mjs +60 -0
- package/es/components/table/TableMain.vue.mjs +3 -3
- package/es/components/table/TableMain.vue2.mjs +177 -167
- package/es/components/table/TableToolbar.vue.mjs +2 -2
- package/es/components/table/TableToolbar.vue2.mjs +98 -109
- package/es/index.mjs +148 -144
- package/es/style.css +1 -1
- package/package.json +2 -2
- package/types/components/app-layout/AppBody.vue.d.ts +0 -2
- package/types/components/app-layout/AppBreadcrumb.vue.d.ts +0 -1
- package/types/components/data-view/DataListView.vue.d.ts +2 -2
- package/types/components/data-view/types.d.ts +4 -2
- package/types/components/display/BooleanTag.vue.d.ts +8 -0
- package/types/components/display/index.d.ts +7 -1
- package/types/components/display/types.d.ts +19 -0
- package/types/components/list-page/ListPage.vue.d.ts +9 -13
- package/types/components/list-page/types.d.ts +1 -1
- package/types/components/misc/AutoRefresh.vue.d.ts +3 -9
- package/types/components/misc/AutoRefreshGroup.vue.d.ts +17 -0
- package/types/components/misc/index.d.ts +2 -1
- package/types/components/misc/types.d.ts +15 -0
- package/types/components/table/TableMain.vue.d.ts +9 -13
- package/types/components/table/TableToolbar.vue.d.ts +6 -2
- package/types/components/table/types.d.ts +20 -19
- package/types/hooks/activated.d.ts +2 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ElTableColumn as
|
|
1
|
+
import { ElTableColumn as ye, ElEmpty as we, ElPagination as Se } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/pagination/style/css";
|
|
4
4
|
import "element-plus/es/components/empty/style/css";
|
|
5
5
|
import "element-plus/es/components/table-column/style/css";
|
|
6
|
-
import { defineComponent as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { ElTable as
|
|
15
|
-
import { pickExportColumns as
|
|
16
|
-
import { useChannelViewportHeight as
|
|
6
|
+
import { defineComponent as Ce, useModel as z, useAttrs as be, ref as f, computed as c, markRaw as D, shallowRef as xe, onMounted as Ie, onActivated as Pe, watch as d, openBlock as l, createElementBlock as S, createBlock as h, unref as n, withCtx as v, createVNode as F, mergeProps as g, createCommentVNode as Ee, resolveDynamicComponent as k, Fragment as E, renderList as Re, createSlots as Ve, renderSlot as H, createTextVNode as A, toDisplayString as Y, normalizeProps as Te, guardReactiveProps as ze, withDirectives as ke, createElementVNode as He, isRef as G, vShow as Ae, mergeModels as Z } from "vue";
|
|
7
|
+
import Q from "lodash/cloneDeep";
|
|
8
|
+
import W from "lodash/omit";
|
|
9
|
+
import X from "lodash/set";
|
|
10
|
+
import ee from "lodash/get";
|
|
11
|
+
import Me from "./TableToolbar.vue.mjs";
|
|
12
|
+
import Ne from "../display/WatchSize.vue.mjs";
|
|
13
|
+
import Le from "../data-view/DataListView.vue.mjs";
|
|
14
|
+
import { ElTable as Oe } from "element-plus";
|
|
15
|
+
import { pickExportColumns as Ke } from "../../utils/export.mjs";
|
|
16
|
+
import { useChannelViewportHeight as je } from "../../hooks/use-channel-viewport-height.mjs";
|
|
17
17
|
import { APP_API_LIST_MODEL_KEY_CONFIG as R } from "../../config/list-model.mjs";
|
|
18
|
-
const
|
|
18
|
+
const Be = { class: "table-main" }, _e = { class: "table-main-pagination" }, nt = /* @__PURE__ */ Ce({
|
|
19
19
|
__name: "TableMain",
|
|
20
|
-
props: /* @__PURE__ */
|
|
20
|
+
props: /* @__PURE__ */ Z({
|
|
21
21
|
showPager: { type: Boolean, default: !0 },
|
|
22
|
-
|
|
22
|
+
showSwitchView: { type: Boolean },
|
|
23
23
|
showToolbar: { type: Boolean, default: !0 },
|
|
24
24
|
toolbar: {},
|
|
25
25
|
query: {},
|
|
@@ -40,208 +40,218 @@ const Oe = { class: "table-main" }, Ke = { class: "table-main-pagination" }, ot
|
|
|
40
40
|
parentChannel: {}
|
|
41
41
|
}, {
|
|
42
42
|
isAutoRefresh: { type: Boolean },
|
|
43
|
-
isAutoRefreshModifiers: {}
|
|
43
|
+
isAutoRefreshModifiers: {},
|
|
44
|
+
refreshInterval: {},
|
|
45
|
+
refreshIntervalModifiers: {},
|
|
46
|
+
customView: { type: Boolean, default: !1 },
|
|
47
|
+
customViewModifiers: {}
|
|
44
48
|
}),
|
|
45
|
-
emits: /* @__PURE__ */
|
|
46
|
-
setup(
|
|
47
|
-
|
|
48
|
-
v9176f014: e.headerColor
|
|
49
|
-
}));
|
|
50
|
-
const a = u, v = X, H = Ce(u, "isAutoRefresh"), ee = Se(), b = f([]), w = f(0), i = f(0), l = f(1), y = f(!1), T = f(!1), A = f([]), te = p(
|
|
49
|
+
emits: /* @__PURE__ */ Z(["pageChange", "pageSizeChange", "dataChange", "loadingChange", "pageInfoChange"], ["update:isAutoRefresh", "update:refreshInterval", "update:customView"]),
|
|
50
|
+
setup(i, { expose: te, emit: ae }) {
|
|
51
|
+
const o = i, y = ae, M = z(i, "isAutoRefresh"), N = z(i, "refreshInterval"), C = z(i, "customView"), oe = be(), b = f([]), x = f(0), u = f(0), s = f(1), w = f(!1), V = f(!1), L = f([]), re = c(
|
|
51
52
|
() => ({
|
|
52
|
-
columns:
|
|
53
|
-
selectedList:
|
|
53
|
+
columns: Ke(o.columns),
|
|
54
|
+
selectedList: L.value,
|
|
54
55
|
currentPageList: b.value,
|
|
55
|
-
api:
|
|
56
|
-
query:
|
|
57
|
-
total:
|
|
58
|
-
hasSelection:
|
|
56
|
+
api: o.api,
|
|
57
|
+
query: o.query,
|
|
58
|
+
total: x.value,
|
|
59
|
+
hasSelection: o.columns.some((e) => e.type === "selection")
|
|
59
60
|
})
|
|
60
|
-
),
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
() =>
|
|
64
|
-
),
|
|
65
|
-
() =>
|
|
66
|
-
), { viewportHeightFinal:
|
|
61
|
+
), O = f(0), ne = (e) => {
|
|
62
|
+
O.value = e;
|
|
63
|
+
}, ie = c(
|
|
64
|
+
() => C.value ? D(Le) : D(Oe)
|
|
65
|
+
), T = xe(), se = c(
|
|
66
|
+
() => o.columns.some((e) => e.type === "selection")
|
|
67
|
+
), { viewportHeightFinal: le } = je(o, {
|
|
67
68
|
fallback: 500
|
|
68
|
-
}),
|
|
69
|
-
() =>
|
|
70
|
-
),
|
|
71
|
-
const { maxHeight: e, refine: t, dataViewMaxHeightMinValue: r } =
|
|
69
|
+
}), K = c(() => o.showPager ? 35 : 0), j = c(
|
|
70
|
+
() => o.showToolbar ? O.value : 0
|
|
71
|
+
), ue = c(() => {
|
|
72
|
+
const { maxHeight: e, refine: t, dataViewMaxHeightMinValue: r } = o;
|
|
72
73
|
return e ? Math.max(
|
|
73
|
-
e -
|
|
74
|
+
e - K.value - j.value,
|
|
74
75
|
r
|
|
75
76
|
) : t ? Math.max(
|
|
76
|
-
|
|
77
|
+
le.value - K.value - j.value - o.refineReduceHeight,
|
|
77
78
|
r
|
|
78
79
|
) : void 0;
|
|
79
|
-
}),
|
|
80
|
-
const e =
|
|
81
|
-
return
|
|
80
|
+
}), I = c(() => {
|
|
81
|
+
const e = Q(o.query || {});
|
|
82
|
+
return X(e, R.PAGE_SIZE_KEY, u.value), X(
|
|
82
83
|
e,
|
|
83
84
|
R.CURRENT_PAGE_KEY,
|
|
84
|
-
|
|
85
|
+
s.value
|
|
85
86
|
), e;
|
|
86
|
-
}),
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
}), fe = () => ({
|
|
88
|
+
injectInfo: o.injectInfo,
|
|
89
|
+
exposeInfo: m
|
|
90
|
+
}), ce = c(() => ({
|
|
91
|
+
...o.tableProps,
|
|
92
|
+
...oe,
|
|
89
93
|
// customView 下,需要手动处理 selectable
|
|
90
|
-
...
|
|
91
|
-
selectable:
|
|
92
|
-
columns:
|
|
94
|
+
...C.value ? {
|
|
95
|
+
selectable: se.value,
|
|
96
|
+
columns: o.columns,
|
|
97
|
+
getRenderCtxParams: fe
|
|
93
98
|
} : {}
|
|
94
|
-
})),
|
|
99
|
+
})), pe = (e) => {
|
|
95
100
|
var r;
|
|
96
|
-
const t = (r =
|
|
97
|
-
|
|
98
|
-
},
|
|
99
|
-
const r = JSON.stringify(e) === JSON.stringify(
|
|
101
|
+
const t = (r = o.tableProps) == null ? void 0 : r.onSelectionChange;
|
|
102
|
+
L.value = e, t == null || t(e);
|
|
103
|
+
}, B = (e, t = !0) => {
|
|
104
|
+
const r = JSON.stringify(e) === JSON.stringify(I.value);
|
|
100
105
|
return !r && t && console.warn(
|
|
101
106
|
`同一地方 并发请求 参数冰花 当前不是最新的参数 丢弃结果 ${JSON.stringify(
|
|
102
107
|
e
|
|
103
|
-
)} => ${JSON.stringify(
|
|
108
|
+
)} => ${JSON.stringify(I.value)}`
|
|
104
109
|
), r;
|
|
105
|
-
},
|
|
110
|
+
}, _ = (e = !1) => {
|
|
106
111
|
var r;
|
|
107
|
-
if (!
|
|
108
|
-
|
|
109
|
-
const t =
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
if (!u.value) return;
|
|
113
|
+
w.value ? console.warn("请求并发") : w.value = !0, e || (V.value = !0), (r = T.value) == null || r.clearSelection();
|
|
114
|
+
const t = Q(I.value);
|
|
115
|
+
return o.api(t).then((P) => {
|
|
116
|
+
B(t, !1) && (b.value = ee(
|
|
117
|
+
P,
|
|
113
118
|
R.LIST_KEY
|
|
114
|
-
),
|
|
115
|
-
|
|
119
|
+
), x.value = ee(
|
|
120
|
+
P,
|
|
116
121
|
R.TOTAL_KEY
|
|
117
|
-
),
|
|
118
|
-
pageSize:
|
|
119
|
-
currentPage:
|
|
120
|
-
total:
|
|
122
|
+
), y("pageInfoChange", {
|
|
123
|
+
pageSize: u.value,
|
|
124
|
+
currentPage: s.value,
|
|
125
|
+
total: x.value
|
|
121
126
|
}));
|
|
122
127
|
}).finally(() => {
|
|
123
|
-
|
|
128
|
+
B(t) && (w.value = !1, V.value = !1);
|
|
124
129
|
});
|
|
125
|
-
},
|
|
130
|
+
}, $ = async (e = !1) => {
|
|
126
131
|
var t;
|
|
127
|
-
return (t =
|
|
132
|
+
return (t = _(e)) == null ? void 0 : t.catch(() => {
|
|
128
133
|
});
|
|
129
|
-
},
|
|
130
|
-
if (
|
|
131
|
-
return
|
|
132
|
-
|
|
133
|
-
},
|
|
134
|
-
refresh:
|
|
135
|
-
reload:
|
|
136
|
-
getTableInstance: () =>
|
|
137
|
-
},
|
|
138
|
-
...
|
|
139
|
-
injectInfo:
|
|
140
|
-
exposeInfo:
|
|
141
|
-
}),
|
|
142
|
-
...
|
|
143
|
-
injectInfo:
|
|
144
|
-
exposeInfo:
|
|
145
|
-
}),
|
|
146
|
-
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
-
},
|
|
150
|
-
return
|
|
151
|
-
|
|
152
|
-
|
|
134
|
+
}, ge = async (e = !1) => {
|
|
135
|
+
if (s.value === 1)
|
|
136
|
+
return $(e);
|
|
137
|
+
s.value = 1;
|
|
138
|
+
}, me = (e) => e, m = {
|
|
139
|
+
refresh: $,
|
|
140
|
+
reload: ge,
|
|
141
|
+
getTableInstance: () => T.value
|
|
142
|
+
}, J = (e, t = []) => ({
|
|
143
|
+
...W(e, ["render", "headerRender"].concat(t)),
|
|
144
|
+
injectInfo: o.injectInfo || {},
|
|
145
|
+
exposeInfo: m
|
|
146
|
+
}), U = (e) => ({
|
|
147
|
+
...W(e, ["render", "headerRender"]),
|
|
148
|
+
injectInfo: o.injectInfo || {},
|
|
149
|
+
exposeInfo: m
|
|
150
|
+
}), de = (e) => e;
|
|
151
|
+
te(m);
|
|
152
|
+
const he = (e) => {
|
|
153
|
+
u.value = e, s.value = 1;
|
|
154
|
+
}, q = (e) => !e || e === "expand";
|
|
155
|
+
return Ie(() => {
|
|
156
|
+
u.value = o.pageSizeInit, Pe(() => {
|
|
157
|
+
m.refresh();
|
|
153
158
|
});
|
|
154
|
-
}),
|
|
155
|
-
|
|
156
|
-
}),
|
|
157
|
-
() =>
|
|
159
|
+
}), d(b, (e) => {
|
|
160
|
+
y("dataChange", e);
|
|
161
|
+
}), d(
|
|
162
|
+
() => o.query,
|
|
158
163
|
(e, t) => {
|
|
159
|
-
JSON.stringify(e) !== JSON.stringify(t) && (
|
|
164
|
+
JSON.stringify(e) !== JSON.stringify(t) && (s.value = 1);
|
|
160
165
|
}
|
|
161
|
-
),
|
|
162
|
-
|
|
166
|
+
), d(
|
|
167
|
+
I,
|
|
163
168
|
(e, t) => {
|
|
164
|
-
JSON.stringify(e) !== JSON.stringify(t) &&
|
|
169
|
+
JSON.stringify(e) !== JSON.stringify(t) && _();
|
|
165
170
|
},
|
|
166
171
|
{
|
|
167
172
|
immediate: !0
|
|
168
173
|
}
|
|
169
|
-
),
|
|
170
|
-
|
|
171
|
-
}),
|
|
172
|
-
|
|
173
|
-
}),
|
|
174
|
-
|
|
174
|
+
), d(V, (e) => {
|
|
175
|
+
y("loadingChange", e);
|
|
176
|
+
}), d(u, (e) => {
|
|
177
|
+
y("pageSizeChange", e);
|
|
178
|
+
}), d(s, (e) => {
|
|
179
|
+
y("pageChange", e);
|
|
175
180
|
}), (e, t) => {
|
|
176
|
-
const r =
|
|
177
|
-
return
|
|
178
|
-
|
|
181
|
+
const r = ye, P = we, ve = Se;
|
|
182
|
+
return l(), S("div", Be, [
|
|
183
|
+
i.showToolbar ? (l(), h(n(Ne), {
|
|
179
184
|
key: 0,
|
|
180
|
-
onHeightChange:
|
|
185
|
+
onHeightChange: ne
|
|
181
186
|
}, {
|
|
182
|
-
default:
|
|
183
|
-
|
|
184
|
-
"is-auto-refresh":
|
|
185
|
-
"onUpdate:isAutoRefresh": t[0] || (t[0] = (
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
default: v(() => [
|
|
188
|
+
F(Me, g({
|
|
189
|
+
"is-auto-refresh": M.value,
|
|
190
|
+
"onUpdate:isAutoRefresh": t[0] || (t[0] = (a) => M.value = a),
|
|
191
|
+
"refresh-interval": N.value,
|
|
192
|
+
"onUpdate:refreshInterval": t[1] || (t[1] = (a) => N.value = a),
|
|
193
|
+
"custom-view": C.value,
|
|
194
|
+
"onUpdate:customView": t[2] || (t[2] = (a) => C.value = a),
|
|
195
|
+
tableExpose: m,
|
|
196
|
+
loading: n(w),
|
|
197
|
+
exportContext: n(re),
|
|
198
|
+
showSwitchView: i.showSwitchView,
|
|
199
|
+
currentPage: n(s),
|
|
200
|
+
pageSize: n(u)
|
|
201
|
+
}, i.toolbar), null, 16, ["is-auto-refresh", "refresh-interval", "custom-view", "loading", "exportContext", "showSwitchView", "currentPage", "pageSize"])
|
|
192
202
|
]),
|
|
193
203
|
_: 1
|
|
194
204
|
})) : Ee("", !0),
|
|
195
|
-
(
|
|
205
|
+
(l(), h(k(n(ie)), g({
|
|
196
206
|
ref_key: "elTable",
|
|
197
|
-
ref:
|
|
207
|
+
ref: T,
|
|
198
208
|
class: "table-main-table",
|
|
199
209
|
stripe: "",
|
|
200
210
|
border: "",
|
|
201
211
|
highlightCurrentRow: ""
|
|
202
|
-
}, n(
|
|
203
|
-
maxHeight: n(
|
|
212
|
+
}, n(ce), {
|
|
213
|
+
maxHeight: n(ue),
|
|
204
214
|
data: n(b),
|
|
205
|
-
rowKey:
|
|
206
|
-
onSelectionChange:
|
|
215
|
+
rowKey: me(i.rowKey),
|
|
216
|
+
onSelectionChange: pe
|
|
207
217
|
}), {
|
|
208
|
-
item:
|
|
209
|
-
|
|
218
|
+
item: v((a) => [
|
|
219
|
+
H(e.$slots, "custom-view-item", Te(ze(de(a))), void 0, !0)
|
|
210
220
|
]),
|
|
211
|
-
empty:
|
|
212
|
-
n(
|
|
213
|
-
|
|
214
|
-
], 64)) : (
|
|
221
|
+
empty: v(() => [
|
|
222
|
+
n(w) ? (l(), S(E, { key: 0 }, [
|
|
223
|
+
A("加载中...")
|
|
224
|
+
], 64)) : (l(), h(P, { key: 1 }))
|
|
215
225
|
]),
|
|
216
|
-
default:
|
|
217
|
-
(
|
|
218
|
-
key:
|
|
219
|
-
}, { ref_for: !0 },
|
|
220
|
-
|
|
226
|
+
default: v(() => [
|
|
227
|
+
(l(!0), S(E, null, Re(i.columns, (a) => (l(), h(r, g({
|
|
228
|
+
key: a.columnKey || a.prop
|
|
229
|
+
}, { ref_for: !0 }, a), Ve({ _: 2 }, [
|
|
230
|
+
q(a.type) ? {
|
|
221
231
|
name: "default",
|
|
222
|
-
fn:
|
|
223
|
-
|
|
224
|
-
|
|
232
|
+
fn: v((p) => [
|
|
233
|
+
H(e.$slots, a.prop, g({ ref_for: !0 }, J(p)), () => [
|
|
234
|
+
a.render ? (l(), h(k(a.render), g({
|
|
225
235
|
key: 0,
|
|
226
236
|
ref_for: !0
|
|
227
|
-
},
|
|
228
|
-
_index:
|
|
229
|
-
}), null, 16, ["_index"])) : (
|
|
230
|
-
|
|
237
|
+
}, J(p, ["$index"]), {
|
|
238
|
+
_index: p.$index
|
|
239
|
+
}), null, 16, ["_index"])) : (l(), S(E, { key: 1 }, [
|
|
240
|
+
A(Y(p.row[a.prop]), 1)
|
|
231
241
|
], 64))
|
|
232
242
|
], !0)
|
|
233
243
|
]),
|
|
234
244
|
key: "0"
|
|
235
245
|
} : void 0,
|
|
236
|
-
|
|
246
|
+
q(a.type) ? {
|
|
237
247
|
name: "header",
|
|
238
|
-
fn:
|
|
239
|
-
|
|
240
|
-
|
|
248
|
+
fn: v((p) => [
|
|
249
|
+
H(e.$slots, `header-${a.prop}`, g({ ref_for: !0 }, U(p)), () => [
|
|
250
|
+
a.headerRender ? (l(), h(k(a.headerRender), g({
|
|
241
251
|
key: 0,
|
|
242
252
|
ref_for: !0
|
|
243
|
-
},
|
|
244
|
-
|
|
253
|
+
}, U(p)), null, 16)) : (l(), S(E, { key: 1 }, [
|
|
254
|
+
A(Y(a.label), 1)
|
|
245
255
|
], 64))
|
|
246
256
|
], !0)
|
|
247
257
|
]),
|
|
@@ -251,26 +261,26 @@ const Oe = { class: "table-main" }, Ke = { class: "table-main-pagination" }, ot
|
|
|
251
261
|
]),
|
|
252
262
|
_: 3
|
|
253
263
|
}, 16, ["maxHeight", "data", "rowKey"])),
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
"current-page": n(
|
|
257
|
-
"onUpdate:currentPage": t[
|
|
258
|
-
"page-size": n(
|
|
259
|
-
"onUpdate:pageSize": t[
|
|
260
|
-
"page-sizes":
|
|
264
|
+
ke(He("div", _e, [
|
|
265
|
+
F(ve, {
|
|
266
|
+
"current-page": n(s),
|
|
267
|
+
"onUpdate:currentPage": t[3] || (t[3] = (a) => G(s) ? s.value = a : null),
|
|
268
|
+
"page-size": n(u),
|
|
269
|
+
"onUpdate:pageSize": t[4] || (t[4] = (a) => G(u) ? u.value = a : null),
|
|
270
|
+
"page-sizes": i.pageSizeOptions,
|
|
261
271
|
size: "small",
|
|
262
272
|
background: "",
|
|
263
|
-
layout:
|
|
264
|
-
total: n(
|
|
265
|
-
onSizeChange:
|
|
273
|
+
layout: i.pageLayout,
|
|
274
|
+
total: n(x),
|
|
275
|
+
onSizeChange: he
|
|
266
276
|
}, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total"])
|
|
267
277
|
], 512), [
|
|
268
|
-
[
|
|
278
|
+
[Ae, i.showPager]
|
|
269
279
|
])
|
|
270
280
|
]);
|
|
271
281
|
};
|
|
272
282
|
}
|
|
273
283
|
});
|
|
274
284
|
export {
|
|
275
|
-
|
|
285
|
+
nt as default
|
|
276
286
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TableToolbar.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import a from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ a(o, [["__scopeId", "data-v-22ae8fa7"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|