export-table-pulgin-csharp 1.0.30 → 1.0.31
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.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
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,EAA0B,MAAM,kBAAkB,CAAA;AAG1H,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAA0B,MAAM,kBAAkB,CAAA;AAG1H,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAoRpE;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
|
@@ -34,7 +34,9 @@ function export_stuff(paras) {
|
|
|
34
34
|
let firstLetterLower = function (str) {
|
|
35
35
|
return str.charAt(0).toLowerCase() + str.slice(1);
|
|
36
36
|
};
|
|
37
|
-
let convMemberName =
|
|
37
|
+
let convMemberName = function (str) {
|
|
38
|
+
return str.split("_").map(s => firstLetterUpper(s)).join("");
|
|
39
|
+
};
|
|
38
40
|
let convVarName = firstLetterLower;
|
|
39
41
|
let RowClass = firstLetterUpper(name);
|
|
40
42
|
let initFunc = name + "Init";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -20,7 +20,9 @@ export function export_stuff(paras: HandleSheetParams): string | null {
|
|
|
20
20
|
let firstLetterLower = function (str: string) {
|
|
21
21
|
return str.charAt(0).toLowerCase() + str.slice(1);
|
|
22
22
|
};
|
|
23
|
-
let convMemberName =
|
|
23
|
+
let convMemberName = function (str: string) {
|
|
24
|
+
return str.split("_").map(s => firstLetterUpper(s)).join("")
|
|
25
|
+
}
|
|
24
26
|
let convVarName = firstLetterLower
|
|
25
27
|
|
|
26
28
|
let RowClass = firstLetterUpper(name)
|