@keyblade/pro-components 1.13.8-alpha.11 → 1.13.8-alpha.12
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/pro-table/index.vue.js +19 -19
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as h, useSlots as x, useAttrs as S, computed as r, resolveComponent as k, createElementBlock as d, openBlock as u, normalizeClass as p, createCommentVNode as v, createVNode as w, unref as i, renderSlot as f, mergeProps as E, toHandlers as P, createSlots as z, renderList as K, withCtx as L, normalizeProps as R, guardReactiveProps as _ } from "vue";
|
|
2
2
|
import { conclude as A } from "vue-global-config";
|
|
3
3
|
import { globalProps as M } from "../global-props.js";
|
|
4
|
-
const
|
|
4
|
+
const c = "keyblade-pro-table", F = /* @__PURE__ */ h({
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
size: { default: "large" },
|
|
@@ -65,30 +65,30 @@ const i = "keyblade-pro-table", F = /* @__PURE__ */ B({
|
|
|
65
65
|
onRowContextmenu: {},
|
|
66
66
|
onCellContextmenu: {}
|
|
67
67
|
},
|
|
68
|
-
setup(
|
|
69
|
-
const
|
|
68
|
+
setup(y) {
|
|
69
|
+
const m = y, a = x(), C = S(), g = r(() => {
|
|
70
70
|
const e = {};
|
|
71
|
-
for (const [o, t] of Object.entries(
|
|
71
|
+
for (const [o, t] of Object.entries(C))
|
|
72
72
|
o.startsWith("on") && typeof t == "function" && (e[o] = t);
|
|
73
73
|
return e;
|
|
74
|
-
}),
|
|
74
|
+
}), b = r(() => A([m, M.table]) || {});
|
|
75
75
|
return (e, o) => {
|
|
76
|
-
var
|
|
77
|
-
const t =
|
|
78
|
-
return
|
|
79
|
-
class:
|
|
76
|
+
var l, n;
|
|
77
|
+
const t = k("a-table");
|
|
78
|
+
return u(), d("div", {
|
|
79
|
+
class: p(c)
|
|
80
80
|
}, [
|
|
81
|
-
!((
|
|
81
|
+
!((l = e.pagination) != null && l.total) && !((n = e.data) != null && n.length) && i(a).paginationLeft ? (u(), d("div", {
|
|
82
82
|
key: 0,
|
|
83
|
-
class:
|
|
83
|
+
class: p(`${c}-header`)
|
|
84
84
|
}, [
|
|
85
|
-
|
|
86
|
-
], 2)) :
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
name:
|
|
90
|
-
fn:
|
|
91
|
-
|
|
85
|
+
f(e.$slots, "pagination-left")
|
|
86
|
+
], 2)) : v("", !0),
|
|
87
|
+
w(t, E(b.value, P(g.value)), z({ _: 2 }, [
|
|
88
|
+
K(i(a), (N, s) => ({
|
|
89
|
+
name: s,
|
|
90
|
+
fn: L((B) => [
|
|
91
|
+
f(e.$slots, s, R(_(B ?? {})))
|
|
92
92
|
])
|
|
93
93
|
}))
|
|
94
94
|
]), 1040)
|
package/package.json
CHANGED