qy-ui-for-ls 0.1.3 → 0.1.5
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.
|
@@ -5,7 +5,7 @@ export interface PaginationProps {
|
|
|
5
5
|
pageSizes?: any;
|
|
6
6
|
pageSize: number;
|
|
7
7
|
currentPage?: number;
|
|
8
|
-
|
|
8
|
+
total?: number;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
|
|
11
11
|
align: string;
|
|
@@ -13,7 +13,7 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
13
13
|
pageSizes: number[];
|
|
14
14
|
pageSize: number;
|
|
15
15
|
currentPage: number;
|
|
16
|
-
|
|
16
|
+
total: number;
|
|
17
17
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
18
|
change: (...args: any[]) => void;
|
|
19
19
|
"size-change": (...args: any[]) => void;
|
|
@@ -24,18 +24,18 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
24
24
|
pageSizes: number[];
|
|
25
25
|
pageSize: number;
|
|
26
26
|
currentPage: number;
|
|
27
|
-
|
|
27
|
+
total: number;
|
|
28
28
|
}>>> & Readonly<{
|
|
29
29
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
align: "left" | "center" | "right";
|
|
34
|
+
total: number;
|
|
34
35
|
forTable: boolean;
|
|
35
36
|
pageSizes: any;
|
|
36
37
|
pageSize: number;
|
|
37
38
|
currentPage: number;
|
|
38
|
-
totol: number;
|
|
39
39
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
40
40
|
export default _default;
|
|
41
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
package/dist/qy-ui-for-ls.es.js
CHANGED
|
@@ -24984,14 +24984,14 @@ const ZDe = { class: "qy-pagination" }, JDe = { class: "total" }, eLe = { class:
|
|
|
24984
24984
|
pageSizes: { default: [10, 20, 30, 40, 50] },
|
|
24985
24985
|
pageSize: { default: 10 },
|
|
24986
24986
|
currentPage: { default: 1 },
|
|
24987
|
-
|
|
24987
|
+
total: { default: 1 }
|
|
24988
24988
|
},
|
|
24989
24989
|
emits: ["size-change", "current-change", "change"],
|
|
24990
24990
|
setup(e, { emit: t }) {
|
|
24991
24991
|
Ff((g) => ({
|
|
24992
|
-
|
|
24992
|
+
"20b0cedc": g.align
|
|
24993
24993
|
}));
|
|
24994
|
-
const n = nc, r = e, i = fe(10), a = fe(1), o = t, s = Z(() => Math.ceil(r.
|
|
24994
|
+
const n = nc, r = e, i = fe(10), a = fe(1), o = t, s = Z(() => r.total > 0 ? Math.ceil(r.total / i.value) : 1), l = (g) => {
|
|
24995
24995
|
g = parseInt(g, 10);
|
|
24996
24996
|
const m = typeof s.value == "number";
|
|
24997
24997
|
let v;
|
|
@@ -25128,7 +25128,7 @@ const ZDe = { class: "qy-pagination" }, JDe = { class: "total" }, eLe = { class:
|
|
|
25128
25128
|
}, 8, ["locale"]);
|
|
25129
25129
|
};
|
|
25130
25130
|
}
|
|
25131
|
-
}), oLe = /* @__PURE__ */ ta(aLe, [["__scopeId", "data-v-
|
|
25131
|
+
}), oLe = /* @__PURE__ */ ta(aLe, [["__scopeId", "data-v-ee268b5d"]]), sLe = { class: "head-container qy-tree" }, lLe = { class: "head-container-header" }, uLe = { class: "head-container-header-input" }, cLe = {
|
|
25132
25132
|
key: 0,
|
|
25133
25133
|
class: "head-container-header-dropdown"
|
|
25134
25134
|
}, dLe = /* @__PURE__ */ H({
|
|
@@ -25363,7 +25363,7 @@ const ZDe = { class: "qy-pagination" }, JDe = { class: "total" }, eLe = { class:
|
|
|
25363
25363
|
])
|
|
25364
25364
|
]));
|
|
25365
25365
|
}
|
|
25366
|
-
}), bLe = /* @__PURE__ */ ta(yLe, [["__scopeId", "data-v-
|
|
25366
|
+
}), bLe = /* @__PURE__ */ ta(yLe, [["__scopeId", "data-v-8a77eff1"]]);
|
|
25367
25367
|
/**!
|
|
25368
25368
|
* Sortable 1.15.6
|
|
25369
25369
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -26681,19 +26681,19 @@ const KLe = ["src"], GLe = ["href"], WLe = /* @__PURE__ */ H({
|
|
|
26681
26681
|
}, null, 6));
|
|
26682
26682
|
}
|
|
26683
26683
|
}), ote = Qa(WLe), qLe = { class: "table-wapper" }, YLe = { class: "card table-main" }, XLe = {
|
|
26684
|
-
key:
|
|
26684
|
+
key: 0,
|
|
26685
26685
|
class: "table-header"
|
|
26686
26686
|
}, QLe = { class: "header-button-lf" }, ZLe = {
|
|
26687
26687
|
key: 0,
|
|
26688
26688
|
class: "header-button-ri"
|
|
26689
26689
|
}, JLe = {
|
|
26690
|
-
key:
|
|
26690
|
+
key: 1,
|
|
26691
26691
|
class: "table-container"
|
|
26692
26692
|
}, eOe = {
|
|
26693
26693
|
key: 0,
|
|
26694
26694
|
class: "tree-container"
|
|
26695
26695
|
}, tOe = { key: 1 }, nOe = ["id"], rOe = {
|
|
26696
|
-
key:
|
|
26696
|
+
key: 1,
|
|
26697
26697
|
class: "status-bar"
|
|
26698
26698
|
}, iOe = { class: "table-empty" }, aOe = /* @__PURE__ */ H({
|
|
26699
26699
|
__name: "index",
|
|
@@ -26880,13 +26880,6 @@ const KLe = ["src"], GLe = ["href"], WLe = /* @__PURE__ */ H({
|
|
|
26880
26880
|
return [
|
|
26881
26881
|
P("div", qLe, [
|
|
26882
26882
|
P("div", YLe, [
|
|
26883
|
-
g.value ? (R(), He(bLe, {
|
|
26884
|
-
key: 0,
|
|
26885
|
-
tabs: (Fe = $e.tabsOptions) == null ? void 0 : Fe.tabs,
|
|
26886
|
-
active: s.value,
|
|
26887
|
-
"onUpdate:active": tt[0] || (tt[0] = (Tt) => s.value = Tt),
|
|
26888
|
-
onChange: ce
|
|
26889
|
-
}, null, 8, ["tabs", "active"])) : Pe("", !0),
|
|
26890
26883
|
$e.showHeader ? (R(), j("div", XLe, [
|
|
26891
26884
|
P("div", QLe, [
|
|
26892
26885
|
or(Oe(GDe, {
|
|
@@ -26936,9 +26929,9 @@ const KLe = ["src"], GLe = ["href"], WLe = /* @__PURE__ */ H({
|
|
|
26936
26929
|
Oe(fLe, {
|
|
26937
26930
|
ref_key: "treeRef",
|
|
26938
26931
|
ref: p,
|
|
26939
|
-
placeholder: (
|
|
26940
|
-
query: (
|
|
26941
|
-
active: (
|
|
26932
|
+
placeholder: (Fe = $e.treeOptions) == null ? void 0 : Fe.placeholder,
|
|
26933
|
+
query: (De = $e.treeOptions) == null ? void 0 : De.query,
|
|
26934
|
+
active: (ct = i == null ? void 0 : i.treeOptions) == null ? void 0 : ct.active,
|
|
26942
26935
|
onNodeClick: Re
|
|
26943
26936
|
}, {
|
|
26944
26937
|
default: be(({ node: Tt, data: en }) => [
|
|
@@ -26966,6 +26959,13 @@ const KLe = ["src"], GLe = ["href"], WLe = /* @__PURE__ */ H({
|
|
|
26966
26959
|
class: "table-flex-box",
|
|
26967
26960
|
id: o.value
|
|
26968
26961
|
}, [
|
|
26962
|
+
g.value ? (R(), He(bLe, {
|
|
26963
|
+
key: 0,
|
|
26964
|
+
tabs: (jt = $e.tabsOptions) == null ? void 0 : jt.tabs,
|
|
26965
|
+
active: s.value,
|
|
26966
|
+
"onUpdate:active": tt[0] || (tt[0] = (Tt) => s.value = Tt),
|
|
26967
|
+
onChange: ce
|
|
26968
|
+
}, null, 8, ["tabs", "active"])) : Pe("", !0),
|
|
26969
26969
|
D(a).statusBar ? (R(), j("div", rOe, [
|
|
26970
26970
|
Ke($e.$slots, "statusBar")
|
|
26971
26971
|
])) : Pe("", !0),
|