export-table-pulgin-csharp 1.0.7 → 1.0.8
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 +1 -1
- package/src/index.ts +4 -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":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAE,MAAM,kBAAkB,CAAA;
|
|
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
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmm, HandleSheetParams, Field, foreach, IPlugin, st, PluginBase } from "windy-quicktable"
|
|
2
|
+
import { cmm, HandleSheetParams, Field, foreach, IPlugin, st, PluginBase, HandleBatchParams } from "windy-quicktable"
|
|
3
3
|
import * as fs from "fs"
|
|
4
4
|
|
|
5
5
|
export function export_stuff(paras: HandleSheetParams): string | null {
|
|
@@ -174,6 +174,9 @@ export class ExportPlugin extends PluginBase {
|
|
|
174
174
|
}
|
|
175
175
|
return content
|
|
176
176
|
}
|
|
177
|
+
handleBatch(paras: HandleBatchParams): void {
|
|
178
|
+
console.log("lkwej:", paras.workbookManager.dataTables.length)
|
|
179
|
+
}
|
|
177
180
|
}
|
|
178
181
|
|
|
179
182
|
export const ExportPlugins = [
|
|
Binary file
|
|
Binary file
|