@newview/report-tools 1.0.12 → 1.0.14

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,12 +1,17 @@
1
1
  {
2
2
  "name": "@newview/report-tools",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
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": ["dist/*", "types/*", "package.json", "tsconfig.json"],
9
+ "files": [
10
+ "dist/*",
11
+ "types/*",
12
+ "package.json",
13
+ "tsconfig.json"
14
+ ],
10
15
  "scripts": {
11
16
  "dev": "vite",
12
17
  "build": "run-p type-check build-only",
package/readme.md CHANGED
@@ -1,3 +1,10 @@
1
+
2
+ ### 1.0.14
3
+ 1、修改打印预览显示不同步问题
4
+
5
+ ### 1.0.13
6
+ 1、根据字段赋值Tag字段替换为tag
7
+
1
8
  ### 1.0.12
2
9
  1、同步本地文件
3
10
 
@@ -27,6 +27,11 @@ export declare class reportTool {
27
27
  * @returns
28
28
  */
29
29
  getPageInfo: () => void;
30
+ /**
31
+ * 是否是横向布局
32
+ * @returns
33
+ */
34
+ isHorizontal: () => void;
30
35
  /**
31
36
  * 插入行
32
37
  * @param starRow 在第几行插入空白行,从0开始
@@ -106,7 +111,7 @@ export declare class reportTool {
106
111
 
107
112
  /**
108
113
  * 根据字段名添加图片
109
- * @param alias 别名
114
+ * @param fieldName 字段名
110
115
  * @param base64 图片base64码
111
116
  * @param sheetHandle 页码-从0开始
112
117
  * @returns
@@ -126,7 +131,7 @@ export declare class reportTool {
126
131
 
127
132
  /**
128
133
  * 根据字段赋值
129
- * @param fieldName 别名
134
+ * @param fieldName 字段名
130
135
  * @param value 数据
131
136
  * @param sheetHandle 页码-从0开始
132
137
  * @returns
package/types/index.d.ts CHANGED
@@ -1 +1,6 @@
1
+ import type { DefineComponent } from 'vue';
2
+
1
3
  export * from "./ReportTool";
4
+ export declare const ReportView: DefineComponent<{
5
+
6
+ }>