knt-shared 1.1.3 → 1.1.4
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/dist/components/Table/BasicTable.vue.d.ts +10 -10
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/style.css +9 -9
- package/package.json +1 -1
|
@@ -32,16 +32,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
32
32
|
clearSelectedRowKeys: () => void;
|
|
33
33
|
setSelectedRowKeys: (keys: (string | number)[]) => void;
|
|
34
34
|
deleteSelectRowByKey: (key: string | number) => void;
|
|
35
|
-
getPaginationInfo: () =>
|
|
36
|
-
current?: number;
|
|
37
|
-
pageSize?: number;
|
|
38
|
-
total?: number;
|
|
39
|
-
showTotal?: boolean;
|
|
40
|
-
show?: boolean;
|
|
41
|
-
showJumper?: boolean;
|
|
42
|
-
showPageSize?: boolean;
|
|
43
|
-
pageSizeOptions?: number[];
|
|
44
|
-
position?: "top" | "bottom" | "both";
|
|
35
|
+
getPaginationInfo: () => {
|
|
36
|
+
current?: number | undefined;
|
|
37
|
+
pageSize?: number | undefined;
|
|
38
|
+
total?: number | undefined;
|
|
39
|
+
showTotal?: boolean | undefined;
|
|
40
|
+
show?: boolean | undefined;
|
|
41
|
+
showJumper?: boolean | undefined;
|
|
42
|
+
showPageSize?: boolean | undefined;
|
|
43
|
+
pageSizeOptions?: number[] | undefined;
|
|
44
|
+
position?: "top" | "bottom" | "both" | undefined;
|
|
45
45
|
};
|
|
46
46
|
setPagination: (info: Partial<TablePaginationConfig>) => Promise<void>;
|
|
47
47
|
getSize: () => "mini" | "small" | "medium" | "large";
|
package/dist/index.cjs.js
CHANGED
|
@@ -1382,7 +1382,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1382
1382
|
}
|
|
1383
1383
|
return {
|
|
1384
1384
|
show: true,
|
|
1385
|
-
layout: "
|
|
1385
|
+
layout: "horizontal",
|
|
1386
1386
|
showCollapse: true,
|
|
1387
1387
|
defaultCollapseRows: 1,
|
|
1388
1388
|
showResetButton: true,
|
|
@@ -1436,7 +1436,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1436
1436
|
const getPaginationConfig = vue.computed(() => {
|
|
1437
1437
|
const mergedProps = getMergedProps.value;
|
|
1438
1438
|
if (mergedProps.pagination === false) {
|
|
1439
|
-
return
|
|
1439
|
+
return paginationRef.value;
|
|
1440
1440
|
}
|
|
1441
1441
|
return {
|
|
1442
1442
|
...mergedProps.pagination,
|
|
@@ -2331,7 +2331,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
return target;
|
|
2333
2333
|
};
|
|
2334
|
-
const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
2334
|
+
const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f4f3062d"]]);
|
|
2335
2335
|
function useTable(options = {}) {
|
|
2336
2336
|
const tableRef = vue.ref(null);
|
|
2337
2337
|
const formRef = vue.ref(null);
|