@newview/report-tools 1.0.11 → 1.0.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/package.json CHANGED
@@ -1,17 +1,12 @@
1
1
  {
2
2
  "name": "@newview/report-tools",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "author": "newview",
5
5
  "type": "module",
6
6
  "main": "./dist/report-tools.umd.cjs",
7
7
  "module": "./dist/report-tools.js",
8
8
  "typings": "types/index.d.ts",
9
- "files": [
10
- "dist/*",
11
- "types/*",
12
- "package.json",
13
- "tsconfig.json"
14
- ],
9
+ "files": ["dist/*", "types/*", "package.json", "tsconfig.json"],
15
10
  "scripts": {
16
11
  "dev": "vite",
17
12
  "build": "run-p type-check build-only",
@@ -36,6 +31,7 @@
36
31
  "terser": "5.16.8",
37
32
  "typescript": "4.9.3",
38
33
  "vite": "4.0.0",
34
+ "vue": "3.2.45",
39
35
  "vue-tsc": "1.0.11"
40
36
  }
41
37
  }
package/readme.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 1.0.12
2
+ 1、同步本地文件
3
+
1
4
  ### 1.0.10
2
5
  新增文本框显示签章
3
6
 
@@ -1,6 +1,21 @@
1
1
 
2
+ import { LuckySheet } from '@newview/ui'
3
+
2
4
  export declare class reportTool {
3
5
 
6
+ /**初始化报表数据 */
7
+ initPageInfo: any
8
+ /**报表数据 */
9
+ pageInfo: any
10
+ /**报表尺寸 */
11
+ pageSize: string
12
+ /**表格排版 1、竖向 2、横向 */
13
+ direction: number | undefined
14
+ /**luckySheet */
15
+ luckySheet: LuckySheet
16
+
17
+ constructor(direction?: number, pageSize?: string);
18
+
4
19
  /**
5
20
  * luckySheet数据转换
6
21
  * @param reportJson
@@ -11,7 +26,7 @@ export declare class reportTool {
11
26
  * 获取转换后的数据
12
27
  * @returns
13
28
  */
14
- getPageInfo: (value: any, defaultValue: any) => void;
29
+ getPageInfo: () => void;
15
30
  /**
16
31
  * 插入行
17
32
  * @param starRow 在第几行插入空白行,从0开始
@@ -151,6 +166,11 @@ export declare class reportTool {
151
166
  */
152
167
  printView: () => void;
153
168
 
169
+ /**
170
+ * 预览前更新行高
171
+ */
172
+ doReportPage: () => void;
173
+
154
174
 
155
175
  }
156
176
  export declare const ReportTool: reportTool;