@kayak-sj/design 1.0.66 → 1.0.67

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.
@@ -80,7 +80,7 @@ export interface UseExportKTableReportOptions<T> {
80
80
  * ```
81
81
  */
82
82
  export declare function useExportKTableReport<T>(options: UseExportKTableReportOptions<T>): {
83
- exportTable: (asynchronous?: boolean) => Promise<void>;
83
+ exportTable: () => Promise<void>;
84
84
  asyncExportTable: () => Promise<void>;
85
85
  exportLoading: Ref<boolean, boolean>;
86
86
  };
package/dist/index.js CHANGED
@@ -2625,7 +2625,7 @@ function br(e) {
2625
2625
  "页面进行下载"
2626
2626
  ]) });
2627
2627
  }
2628
- async function i(n = !1) {
2628
+ async function i(n) {
2629
2629
  if (!t.value) {
2630
2630
  t.value = !0;
2631
2631
  try {
@@ -2648,12 +2648,15 @@ function br(e) {
2648
2648
  }
2649
2649
  }
2650
2650
  }
2651
- async function a() {
2652
- i(!0);
2651
+ function a() {
2652
+ return i(!1);
2653
+ }
2654
+ async function o() {
2655
+ return i(!0);
2653
2656
  }
2654
2657
  return {
2655
- exportTable: i,
2656
- asyncExportTable: a,
2658
+ exportTable: a,
2659
+ asyncExportTable: o,
2657
2660
  exportLoading: t
2658
2661
  };
2659
2662
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kayak-sj/design",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "type": "module",
5
5
  "description": "基于 Vue 3 与 Element Plus 的 Kayak PC 端 UI 组件库,提供 KForm、KTable 等表单与表格能力",
6
6
  "license": "ISC",
@@ -72,8 +72,8 @@
72
72
  "vite": "^8.1.5",
73
73
  "vitest": "^4.1.10",
74
74
  "vue": "^3.5.13",
75
- "@kayak/tsconfig": "1.0.0",
76
- "@kayak/vite-config": "1.0.0"
75
+ "@kayak/vite-config": "1.0.0",
76
+ "@kayak/tsconfig": "1.0.0"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "vite build",