export-table-pulgin-csharp 1.0.4 → 1.0.5
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 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { HandleSheetParams, PluginBase } from "windy-quicktable";
|
|
2
2
|
export declare function export_stuff(paras: HandleSheetParams): string | null;
|
|
3
3
|
export declare class ExportPlugin extends PluginBase {
|
|
4
|
+
name: string;
|
|
5
|
+
tags: string[];
|
|
4
6
|
handleSheet(paras: HandleSheetParams): string | null;
|
|
5
7
|
}
|
|
6
8
|
export declare const ExportPlugins: ExportPlugin[];
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,iBAAiB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGnG,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+JpE;AAED,qBAAa,YAAa,SAAQ,UAAU;IAC3C,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAOpC;AAED,eAAO,MAAM,aAAa,gBAEzB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,iBAAiB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGnG,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;CAOpC;AAED,eAAO,MAAM,aAAa,gBAEzB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -179,6 +179,11 @@ ${(0, windy_quicktable_1.foreach)(fields, f => ` public ${getFieldType(f.type)}
|
|
|
179
179
|
}
|
|
180
180
|
exports.export_stuff = export_stuff;
|
|
181
181
|
class ExportPlugin extends windy_quicktable_1.PluginBase {
|
|
182
|
+
constructor() {
|
|
183
|
+
super(...arguments);
|
|
184
|
+
this.name = "csharp";
|
|
185
|
+
this.tags = ["cs"];
|
|
186
|
+
}
|
|
182
187
|
handleSheet(paras) {
|
|
183
188
|
let content = export_stuff(paras);
|
|
184
189
|
if (content != null) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED