export-table-plugin-typescript 1.0.18 → 1.0.19
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/ExportTS.d.ts.map +1 -1
- package/dist/ExportTS.js +3 -1
- package/package.json +1 -1
- package/src/ExportTS.ts +3 -1
package/dist/ExportTS.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportTS.d.ts","sourceRoot":"","sources":["../src/ExportTS.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAmF,MAAM,kBAAkB,CAAA;AAGnL,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"ExportTS.d.ts","sourceRoot":"","sources":["../src/ExportTS.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAAmF,MAAM,kBAAkB,CAAA;AAGnL,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA2OpE;AAED,qBAAa,cAAe,SAAQ,UAAU;IAC7C,IAAI,SAAe;IACnB,IAAI,EAAE,MAAM,EAAE,CAAS;IAEvB,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAQpC"}
|
package/dist/ExportTS.js
CHANGED
|
@@ -230,6 +230,8 @@ export class ${ClassName} {
|
|
|
230
230
|
|
|
231
231
|
protected LoadDefaultConfigs() {
|
|
232
232
|
|
|
233
|
+
let configs = this.Configs
|
|
234
|
+
|
|
233
235
|
let rowData:any[]=
|
|
234
236
|
[
|
|
235
237
|
${(0, export_table_lib_1.foreach)(datas, d => `
|
|
@@ -257,7 +259,7 @@ export class ${ClassName} {
|
|
|
257
259
|
`)}
|
|
258
260
|
|
|
259
261
|
for(let r of tableData){
|
|
260
|
-
|
|
262
|
+
configs.push(r);
|
|
261
263
|
${(0, export_table_lib_1.iff)(mapfield, () => `
|
|
262
264
|
(${mapName} as any)[r.${mapfield.name}] = r;
|
|
263
265
|
`)}
|
package/package.json
CHANGED
package/src/ExportTS.ts
CHANGED
|
@@ -194,6 +194,8 @@ export class ${ClassName} {
|
|
|
194
194
|
|
|
195
195
|
protected LoadDefaultConfigs() {
|
|
196
196
|
|
|
197
|
+
let configs = this.Configs
|
|
198
|
+
|
|
197
199
|
let rowData:any[]=
|
|
198
200
|
[
|
|
199
201
|
${foreach(datas, d => `
|
|
@@ -221,7 +223,7 @@ export class ${ClassName} {
|
|
|
221
223
|
`)}
|
|
222
224
|
|
|
223
225
|
for(let r of tableData){
|
|
224
|
-
|
|
226
|
+
configs.push(r);
|
|
225
227
|
${iff(mapfield, () => `
|
|
226
228
|
(${mapName} as any)[r.${mapfield!.name}] = r;
|
|
227
229
|
`)}
|