export-table-pulgin-csharp 1.0.5 → 1.0.9
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/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/package.json +2 -2
- package/src/index.ts +5 -1
- package/test/src/SceneConfig.xlsx +0 -0
- package/test/src/~$SceneConfig.xlsx +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { HandleSheetParams, PluginBase } from "windy-quicktable";
|
|
1
|
+
import { HandleSheetParams, PluginBase, HandleBatchParams } from "windy-quicktable";
|
|
2
2
|
export declare function export_stuff(paras: HandleSheetParams): string | null;
|
|
3
3
|
export declare class ExportPlugin extends PluginBase {
|
|
4
4
|
name: string;
|
|
5
5
|
tags: string[];
|
|
6
6
|
handleSheet(paras: HandleSheetParams): string | null;
|
|
7
|
+
handleBatch(paras: HandleBatchParams): void;
|
|
7
8
|
}
|
|
8
9
|
export declare const ExportPlugins: ExportPlugin[];
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGrH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+JpE;AAED,qBAAa,YAAa,SAAQ,UAAU;IAC3C,IAAI,SAAW;IACf,IAAI,EAAE,MAAM,EAAE,CAAS;IAEvB,WAAW,CAAC,KAAK,EAAE,iBAAiB;IAOpC,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;CAG3C;AAED,eAAO,MAAM,aAAa,gBAEzB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -191,6 +191,9 @@ class ExportPlugin extends windy_quicktable_1.PluginBase {
|
|
|
191
191
|
}
|
|
192
192
|
return content;
|
|
193
193
|
}
|
|
194
|
+
handleBatch(paras) {
|
|
195
|
+
console.log("lkwej:", paras.workbookManager.dataTables.length);
|
|
196
|
+
}
|
|
194
197
|
}
|
|
195
198
|
exports.ExportPlugin = ExportPlugin;
|
|
196
199
|
exports.ExportPlugins = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "export-table-pulgin-csharp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@types/node": "^17.0.18",
|
|
17
17
|
"fs": "^0.0.1-security",
|
|
18
|
-
"windy-quicktable": "^1.3.
|
|
18
|
+
"windy-quicktable": "^1.3.34"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
import { cmm, HandleSheetParams, Field, foreach, IPlugin, st, PluginBase, HandleBatchParams } from "windy-quicktable"
|
|
2
3
|
import * as fs from "fs"
|
|
3
4
|
|
|
4
5
|
export function export_stuff(paras: HandleSheetParams): string | null {
|
|
@@ -173,6 +174,9 @@ export class ExportPlugin extends PluginBase {
|
|
|
173
174
|
}
|
|
174
175
|
return content
|
|
175
176
|
}
|
|
177
|
+
handleBatch(paras: HandleBatchParams): void {
|
|
178
|
+
console.log("lkwej:", paras.workbookManager.dataTables.length)
|
|
179
|
+
}
|
|
176
180
|
}
|
|
177
181
|
|
|
178
182
|
export const ExportPlugins = [
|
|
Binary file
|
|
Binary file
|