mrxy-yk 1.13.2 → 1.13.3

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,6 +5,7 @@ type __VLS_Props = {
5
5
  pages?: Pages;
6
6
  tableHook?: UseTableSearchHooksExample<any, any, any, any, any, any, any>;
7
7
  background?: boolean;
8
+ layout?: string;
8
9
  };
9
10
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
11
  change: (...args: any[]) => void;
@@ -14,6 +15,7 @@ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, Compone
14
15
  "onUpdate:pages"?: (...args: any[]) => any;
15
16
  }>, {
16
17
  background: boolean;
18
+ layout: string;
17
19
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
18
20
  declare const _default: typeof __VLS_export;
19
21
  export default _default;
@@ -10,7 +10,8 @@ var Pagination_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
10
10
  background: {
11
11
  type: Boolean,
12
12
  default: false
13
- }
13
+ },
14
+ layout: { default: "total, sizes, prev, pager, next, jumper" }
14
15
  },
15
16
  emits: ["change", "update:pages"],
16
17
  setup(__props, { emit: __emit }) {
@@ -51,7 +52,7 @@ var Pagination_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
51
52
  total: unref(pages).total,
52
53
  background: __props.background,
53
54
  size: "small",
54
- layout: "total, sizes, prev, pager, next, jumper",
55
+ layout: props.layout,
55
56
  "page-sizes": [
56
57
  10,
57
58
  15,
@@ -66,7 +67,8 @@ var Pagination_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
66
67
  "current-page",
67
68
  "page-size",
68
69
  "total",
69
- "background"
70
+ "background",
71
+ "layout"
70
72
  ])]);
71
73
  };
72
74
  }
@@ -11,7 +11,7 @@ var FileUtil = class FileUtil {
11
11
  link.href = href;
12
12
  link.download = fileName || "";
13
13
  link.click();
14
- URL.revokeObjectURL(link.href);
14
+ link.remove();
15
15
  }
16
16
  /**
17
17
  * 通过File对象下载文件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrxy-yk",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A collection of Vue 3 components and utilities",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "mrxy-yk",
4
- "version": "1.13.2",
4
+ "version": "1.13.3",
5
5
  "js-types-syntax": "typescript",
6
6
  "contributions": {
7
7
  "html": {