@visactor/vtable 0.24.1-alpha.0 → 0.24.2-alpha.1

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.
Files changed (79) hide show
  1. package/cjs/ListTable.js +7 -25
  2. package/cjs/ListTable.js.map +1 -1
  3. package/cjs/PivotChart.js +5 -17
  4. package/cjs/PivotChart.js.map +1 -1
  5. package/cjs/PivotTable.d.ts +3 -4
  6. package/cjs/PivotTable.js +76 -45
  7. package/cjs/PivotTable.js.map +1 -1
  8. package/cjs/core/BaseTable.d.ts +1 -0
  9. package/cjs/core/BaseTable.js +17 -6
  10. package/cjs/core/BaseTable.js.map +1 -1
  11. package/cjs/dataset/flatDataToObject.d.ts +15 -3
  12. package/cjs/dataset/flatDataToObject.js +38 -8
  13. package/cjs/dataset/flatDataToObject.js.map +1 -1
  14. package/cjs/edit/edit-manager.js +0 -1
  15. package/cjs/edit/edit-manager.js.map +1 -1
  16. package/cjs/index.d.ts +1 -1
  17. package/cjs/index.js +1 -1
  18. package/cjs/index.js.map +1 -1
  19. package/cjs/layout/pivot-header-layout.d.ts +1 -0
  20. package/cjs/layout/pivot-header-layout.js +24 -10
  21. package/cjs/layout/pivot-header-layout.js.map +1 -1
  22. package/cjs/layout/row-height-map.js +3 -1
  23. package/cjs/layout/row-height-map.js.map +1 -1
  24. package/cjs/layout/simple-header-layout.js +17 -1
  25. package/cjs/layout/simple-header-layout.js.map +1 -1
  26. package/cjs/scenegraph/layout/compute-col-width.js +1 -1
  27. package/cjs/scenegraph/layout/compute-col-width.js.map +1 -1
  28. package/cjs/scenegraph/layout/compute-row-height.js +1 -1
  29. package/cjs/scenegraph/layout/compute-row-height.js.map +1 -1
  30. package/cjs/state/state.js +1 -1
  31. package/cjs/themes/component.js +1 -1
  32. package/cjs/ts-types/pivot-table/dimension/basic-dimension.d.ts +6 -1
  33. package/cjs/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -1
  34. package/cjs/ts-types/pivot-table/indicator/basic-indicator.d.ts +3 -0
  35. package/cjs/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
  36. package/cjs/ts-types/table-engine.d.ts +3 -0
  37. package/cjs/ts-types/table-engine.js.map +1 -1
  38. package/cjs/vrender.js.map +1 -1
  39. package/dist/vtable.js +255 -127
  40. package/dist/vtable.min.js +2 -2
  41. package/es/ListTable.js +7 -25
  42. package/es/ListTable.js.map +1 -1
  43. package/es/PivotChart.js +5 -17
  44. package/es/PivotChart.js.map +1 -1
  45. package/es/PivotTable.d.ts +3 -4
  46. package/es/PivotTable.js +76 -44
  47. package/es/PivotTable.js.map +1 -1
  48. package/es/core/BaseTable.d.ts +1 -0
  49. package/es/core/BaseTable.js +17 -6
  50. package/es/core/BaseTable.js.map +1 -1
  51. package/es/dataset/flatDataToObject.d.ts +15 -3
  52. package/es/dataset/flatDataToObject.js +37 -8
  53. package/es/dataset/flatDataToObject.js.map +1 -1
  54. package/es/edit/edit-manager.js +0 -1
  55. package/es/edit/edit-manager.js.map +1 -1
  56. package/es/index.d.ts +1 -1
  57. package/es/index.js +1 -1
  58. package/es/index.js.map +1 -1
  59. package/es/layout/pivot-header-layout.d.ts +1 -0
  60. package/es/layout/pivot-header-layout.js +20 -8
  61. package/es/layout/pivot-header-layout.js.map +1 -1
  62. package/es/layout/row-height-map.js +3 -1
  63. package/es/layout/row-height-map.js.map +1 -1
  64. package/es/layout/simple-header-layout.js +17 -1
  65. package/es/layout/simple-header-layout.js.map +1 -1
  66. package/es/scenegraph/layout/compute-col-width.js +1 -1
  67. package/es/scenegraph/layout/compute-col-width.js.map +1 -1
  68. package/es/scenegraph/layout/compute-row-height.js +1 -1
  69. package/es/scenegraph/layout/compute-row-height.js.map +1 -1
  70. package/es/state/state.js +1 -1
  71. package/es/themes/component.js +1 -1
  72. package/es/ts-types/pivot-table/dimension/basic-dimension.d.ts +6 -1
  73. package/es/ts-types/pivot-table/dimension/basic-dimension.js.map +1 -1
  74. package/es/ts-types/pivot-table/indicator/basic-indicator.d.ts +3 -0
  75. package/es/ts-types/pivot-table/indicator/basic-indicator.js.map +1 -1
  76. package/es/ts-types/table-engine.d.ts +3 -0
  77. package/es/ts-types/table-engine.js.map +1 -1
  78. package/es/vrender.js.map +1 -1
  79. package/package.json +3 -3
package/cjs/PivotTable.js CHANGED
@@ -107,8 +107,8 @@ class PivotTable extends BaseTable_1.BaseTable {
107
107
  })), this.internalProps.columnTree = !options.indicatorsAsCol || (null === (_c = options.columns) || void 0 === _c ? void 0 : _c.length) || options.columnTree ? (0,
108
108
  vutils_1.cloneDeep)(options.columnTree) : [], this.internalProps.rowTree = options.indicatorsAsCol || (null === (_d = options.rows) || void 0 === _d ? void 0 : _d.length) || options.rowTree ? (0,
109
109
  vutils_1.cloneDeep)(options.rowTree) : [], options.records && (this.internalProps.records = options.records),
110
- this.stateManager.initCheckedState(this.internalProps.records), this.pagination = options.pagination,
111
- internalProps.columnResizeType = null !== (_e = options.columnResizeType) && void 0 !== _e ? _e : "column",
110
+ this.stateManager.initCheckedState(this.internalProps.records), this.stateManager.updateDrillState(void 0, void 0, !1, !1, -1, -1),
111
+ this.pagination = options.pagination, internalProps.columnResizeType = null !== (_e = options.columnResizeType) && void 0 !== _e ? _e : "column",
112
112
  internalProps.dataConfig = (0, vutils_1.cloneDeep)(options.dataConfig), options.rowTree || options.columnTree ? internalProps.enableDataAnalysis = !1 : internalProps.enableDataAnalysis = !0,
113
113
  "tree" === (null == options ? void 0 : options.rowHierarchyType) && "tree" === this.internalProps.layoutMap.rowHierarchyType && this.internalProps.layoutMap.rowExpandLevel === (null == options ? void 0 : options.rowExpandLevel)) {
114
114
  const beforeRowDimensions = this.internalProps.layoutMap.rowDimensionTree.tree.children;
@@ -158,15 +158,7 @@ class PivotTable extends BaseTable_1.BaseTable {
158
158
  this.refreshRowColCount(), this.scenegraph.createSceneGraph(), this.render());
159
159
  }
160
160
  refreshHeader() {
161
- var _a, _b;
162
- const internalProps = this.internalProps;
163
- for (let col = 0; col < internalProps.layoutMap.columnWidths.length; col++) {
164
- const {width: width, minWidth: minWidth, maxWidth: maxWidth} = null !== (_b = null === (_a = internalProps.layoutMap.columnWidths) || void 0 === _a ? void 0 : _a[col]) && void 0 !== _b ? _b : {};
165
- width && ("string" == typeof width && "auto" !== width || "number" == typeof width && width > 0) && this._setColWidth(col, width),
166
- minWidth && ("number" == typeof minWidth && minWidth > 0 || "string" == typeof minWidth) && this.setMinColWidth(col, minWidth),
167
- maxWidth && ("number" == typeof maxWidth && maxWidth > 0 || "string" == typeof maxWidth) && this.setMaxColWidth(col, maxWidth);
168
- }
169
- this.refreshRowColCount();
161
+ this.setMinMaxLimitWidth(!0), this.refreshRowColCount();
170
162
  }
171
163
  refreshRowColCount() {
172
164
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -356,14 +348,37 @@ class PivotTable extends BaseTable_1.BaseTable {
356
348
  })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
357
349
  var _a;
358
350
  return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
359
- })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, !1);
351
+ })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey);
360
352
  return null == treeNode ? void 0 : treeNode.record;
361
353
  }
362
354
  const rowIndex = this.getBodyIndexByRow(row), colIndex = this.getBodyIndexByCol(col);
363
355
  return null === (_a = this.records[rowIndex]) || void 0 === _a ? void 0 : _a[colIndex];
364
356
  }
365
357
  getCellRawRecord(col, row) {
366
- return this.getCellOriginRecord(col, row);
358
+ var _a;
359
+ if (this.internalProps.layoutMap.isHeader(col, row)) return;
360
+ if (this.dataset) {
361
+ const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
362
+ var _a;
363
+ return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
364
+ })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
365
+ var _a;
366
+ return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
367
+ }));
368
+ return this.dataset.getAggregator(this.internalProps.layoutMap.indicatorsAsCol ? rowKeys : rowKeys.slice(0, -1), this.internalProps.layoutMap.indicatorsAsCol ? colKeys.slice(0, -1) : colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row)).records;
369
+ }
370
+ if (this.flatDataToObjects) {
371
+ const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
372
+ var _a;
373
+ return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
374
+ })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
375
+ var _a;
376
+ return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
377
+ })), treeNode = this.flatDataToObjects.getTreeNode(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, !1);
378
+ return null == treeNode ? void 0 : treeNode.record;
379
+ }
380
+ const rowIndex = this.getBodyIndexByRow(row), colIndex = this.getBodyIndexByCol(col);
381
+ return null === (_a = this.records[rowIndex]) || void 0 === _a ? void 0 : _a[colIndex];
367
382
  }
368
383
  updateSortRules(sortRules) {
369
384
  this.internalProps.dataConfig.sortRules = sortRules, this.dataset.updateSortRules(sortRules),
@@ -389,7 +404,7 @@ class PivotTable extends BaseTable_1.BaseTable {
389
404
  }
390
405
  }
391
406
  _moveHeaderPosition(source, target) {
392
- var _a, _b, _c, _d, _e, _f;
407
+ var _a, _b, _c, _d;
393
408
  const sourceCellRange = this.getCellRange(source.col, source.row), targetCellRange = this.getCellRange(target.col, target.row), moveContext = this.internalProps.layoutMap.moveHeaderPosition(source, target);
394
409
  if (moveContext) {
395
410
  if ("column" === moveContext.moveType) {
@@ -397,14 +412,10 @@ class PivotTable extends BaseTable_1.BaseTable {
397
412
  const sourceColumns = this.internalProps.records[row].splice(moveContext.sourceIndex - this.rowHeaderLevelCount, moveContext.sourceSize);
398
413
  sourceColumns.unshift(moveContext.targetIndex - this.rowHeaderLevelCount, 0), Array.prototype.splice.apply(this.internalProps.records[row], sourceColumns);
399
414
  }
400
- this.colWidthsMap.exchangeOrder(sourceCellRange.start.col, sourceCellRange.end.col - sourceCellRange.start.col + 1, targetCellRange.start.col, targetCellRange.end.col - targetCellRange.start.col + 1, moveContext.targetIndex);
401
- for (let col = 0; col < this.internalProps.layoutMap.columnWidths.length; col++) {
402
- const {minWidth: minWidth, maxWidth: maxWidth} = null !== (_d = null === (_c = this.internalProps.layoutMap.columnWidths) || void 0 === _c ? void 0 : _c[col]) && void 0 !== _d ? _d : {};
403
- minWidth && ("number" == typeof minWidth && minWidth > 0 || "string" == typeof minWidth) && this.setMinColWidth(col, minWidth),
404
- maxWidth && ("number" == typeof maxWidth && maxWidth > 0 || "string" == typeof maxWidth) && this.setMaxColWidth(col, maxWidth);
405
- }
415
+ this.colWidthsMap.exchangeOrder(sourceCellRange.start.col, sourceCellRange.end.col - sourceCellRange.start.col + 1, targetCellRange.start.col, targetCellRange.end.col - targetCellRange.start.col + 1, moveContext.targetIndex),
416
+ this.setMinMaxLimitWidth();
406
417
  } else if ("row" === moveContext.moveType) {
407
- if ((null === (_f = null === (_e = this.options.records) || void 0 === _e ? void 0 : _e[0]) || void 0 === _f ? void 0 : _f.constructor) === Array) {
418
+ if ((null === (_d = null === (_c = this.options.records) || void 0 === _c ? void 0 : _c[0]) || void 0 === _d ? void 0 : _d.constructor) === Array) {
408
419
  const sourceRows = this.internalProps.records.splice(moveContext.sourceIndex - this.columnHeaderLevelCount, moveContext.sourceSize);
409
420
  sourceRows.unshift(moveContext.targetIndex - this.columnHeaderLevelCount, 0), Array.prototype.splice.apply(this.internalProps.records, sourceRows);
410
421
  }
@@ -432,15 +443,15 @@ class PivotTable extends BaseTable_1.BaseTable {
432
443
  });
433
444
  }
434
445
  }
435
- _refreshHierarchyState(col, row) {
446
+ _refreshHierarchyState(col, row, beforeUpdateCell) {
436
447
  let notFillWidth = !1, notFillHeight = !1;
437
448
  this.stateManager.updateHoverIcon(col, row, void 0, void 0);
438
449
  const checkHasChart = this.internalProps.layoutMap.checkHasChart();
439
450
  checkHasChart && (this.autoFillWidth && (notFillWidth = this.getAllColsWidth() <= this.tableNoFrameWidth),
440
451
  this.autoFillHeight && (notFillHeight = this.getAllRowsHeight() <= this.tableNoFrameHeight));
441
452
  const result = this.internalProps.layoutMap.toggleHierarchyState(col, row);
442
- this.refreshRowColCount(), this.clearCellStyleCache(), this.scenegraph.updateHierarchyIcon(col, row),
443
- this.scenegraph.updateRow(result.removeCellPositions, result.addCellPositions, result.updateCellPositions),
453
+ beforeUpdateCell && beforeUpdateCell(), this.refreshRowColCount(), this.clearCellStyleCache(),
454
+ this.scenegraph.updateHierarchyIcon(col, row), this.scenegraph.updateRow(result.removeCellPositions, result.addCellPositions, result.updateCellPositions),
444
455
  checkHasChart && (this.autoFillWidth && !notFillWidth && (notFillWidth = this.getAllColsWidth() <= this.tableNoFrameWidth),
445
456
  this.autoFillHeight && !notFillHeight && (notFillHeight = this.getAllRowsHeight() <= this.tableNoFrameHeight),
446
457
  ("adaptive" === this.widthMode || notFillWidth || "adaptive" === this.heightMode || notFillHeight) && this.scenegraph.updateChartSize(0));
@@ -521,9 +532,15 @@ class PivotTable extends BaseTable_1.BaseTable {
521
532
  this.editorManager.completeEdit();
522
533
  }
523
534
  getEditor(col, row) {
524
- var _a;
525
- const define = this.getBodyColumnDefine(col, row);
526
- let editorDefine = null !== (_a = null == define ? void 0 : define.editor) && void 0 !== _a ? _a : this.options.editor;
535
+ var _a, _b;
536
+ let editorDefine;
537
+ if (this.isHeader(col, row) && !this.isCornerHeader(col, row)) {
538
+ const define = this.getHeaderDefine(col, row);
539
+ editorDefine = null !== (_a = null == define ? void 0 : define.headerEditor) && void 0 !== _a ? _a : this.options.headerEditor;
540
+ } else {
541
+ const define = this.getBodyColumnDefine(col, row);
542
+ editorDefine = null !== (_b = null == define ? void 0 : define.editor) && void 0 !== _b ? _b : this.options.editor;
543
+ }
527
544
  if ("function" == typeof editorDefine) {
528
545
  editorDefine = editorDefine({
529
546
  col: col,
@@ -553,9 +570,11 @@ class PivotTable extends BaseTable_1.BaseTable {
553
570
  changeCellValue(col, row, value, workOnEditableCell = !1) {
554
571
  if (workOnEditableCell && this.isHasEditorDefine(col, row) || !1 === workOnEditableCell) {
555
572
  let newValue = value;
556
- if ("number" == typeof this.getCellRawValue(col, row) && (0, util_1.isAllDigits)(value) && (newValue = parseFloat(value)),
557
- this._changeCellValueToDataSet(col, row, newValue), this.scenegraph.updateCellContent(col, row),
558
- "adaptive" === this.widthMode || this.autoFillWidth && this.getAllColsWidth() <= this.tableNoFrameWidth) 0 === this.internalProps._widthResizedColMap.size && this.scenegraph.recalculateColWidths(); else if (!this.internalProps._widthResizedColMap.has(col)) {
573
+ "number" == typeof this.getCellRawValue(col, row) && (0, util_1.isAllDigits)(value) && (newValue = parseFloat(value)),
574
+ this._changeCellValueToDataSet(col, row, newValue);
575
+ const range = this.getCellRange(col, row);
576
+ for (let sCol = range.start.col; sCol <= range.end.col; sCol++) for (let sRow = range.start.row; sRow <= range.end.row; sRow++) this.scenegraph.updateCellContent(sCol, sRow);
577
+ if ("adaptive" === this.widthMode || this.autoFillWidth && this.getAllColsWidth() <= this.tableNoFrameWidth) 0 === this.internalProps._widthResizedColMap.size && this.scenegraph.recalculateColWidths(); else if (!this.internalProps._widthResizedColMap.has(col)) {
559
578
  const oldWidth = this.getColWidth(col), newWidth = (0, compute_col_width_1.computeColWidth)(col, 0, this.rowCount - 1, this, !1);
560
579
  newWidth !== oldWidth && this.scenegraph.updateColWidth(col, newWidth - oldWidth);
561
580
  }
@@ -609,6 +628,7 @@ class PivotTable extends BaseTable_1.BaseTable {
609
628
  this.scenegraph.updateNextFrame();
610
629
  }
611
630
  _changeCellValueToDataSet(col, row, newValue) {
631
+ var _a, _b, _c;
612
632
  if (this.dataset) {
613
633
  const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
614
634
  var _a;
@@ -619,14 +639,18 @@ class PivotTable extends BaseTable_1.BaseTable {
619
639
  }));
620
640
  this.dataset.changeTreeNodeValue(this.internalProps.layoutMap.indicatorsAsCol ? rowKeys : rowKeys.slice(0, -1), this.internalProps.layoutMap.indicatorsAsCol ? colKeys.slice(0, -1) : colKeys, this.internalProps.layoutMap.getIndicatorKey(col, row), newValue);
621
641
  } else if (this.flatDataToObjects) {
622
- const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row), colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
623
- var _a;
624
- return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
625
- })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
626
- var _a;
627
- return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
628
- }));
629
- this.flatDataToObjects.changeTreeNodeValue(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, newValue);
642
+ const cellDimensionPath = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
643
+ if (this.isHeader(col, row)) this.internalProps.layoutMap.changeTreeNodeTitle(col, row, newValue),
644
+ this.flatDataToObjects.changeRecordFieldValue((null === (_a = cellDimensionPath.colHeaderPaths) || void 0 === _a ? void 0 : _a.length) ? null !== (_b = cellDimensionPath.colHeaderPaths[cellDimensionPath.colHeaderPaths.length - 1].indicatorKey) && void 0 !== _b ? _b : cellDimensionPath.colHeaderPaths[cellDimensionPath.colHeaderPaths.length - 1].dimensionKey : null !== (_c = cellDimensionPath.rowHeaderPaths[cellDimensionPath.rowHeaderPaths.length - 1].indicatorKey) && void 0 !== _c ? _c : cellDimensionPath.rowHeaderPaths[cellDimensionPath.rowHeaderPaths.length - 1].dimensionKey, newValue); else {
645
+ const colKeys = cellDimensionPath.colHeaderPaths.map((colPath => {
646
+ var _a;
647
+ return null !== (_a = colPath.indicatorKey) && void 0 !== _a ? _a : colPath.value;
648
+ })), rowKeys = cellDimensionPath.rowHeaderPaths.map((rowPath => {
649
+ var _a;
650
+ return null !== (_a = rowPath.indicatorKey) && void 0 !== _a ? _a : rowPath.value;
651
+ }));
652
+ this.flatDataToObjects.changeTreeNodeValue(rowKeys, colKeys, this.internalProps.layoutMap.getBody(col, row).indicatorKey, newValue);
653
+ }
630
654
  } else {
631
655
  const rowIndex = this.getBodyIndexByRow(row), colIndex = this.getBodyIndexByCol(col);
632
656
  this.records[rowIndex][colIndex] = newValue;
@@ -650,13 +674,20 @@ class PivotTable extends BaseTable_1.BaseTable {
650
674
  return !1;
651
675
  }
652
676
  changeRecordOrder(source, target) {}
653
- setTreeNodeChildren(records, col, row) {
654
- const headerPaths = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
655
- this.internalProps.layoutMap.getHeadNode(headerPaths.rowHeaderPaths.slice(0, headerPaths.rowHeaderPaths.length)).children = records,
656
- this._refreshHierarchyState(col, row);
657
- }
658
- addRecords(records) {
659
- this.flatDataToObjects && this.flatDataToObjects.addRecords(records);
677
+ setTreeNodeChildren(children, records, col, row) {
678
+ if (this.flatDataToObjects) {
679
+ const headerPaths = this.internalProps.layoutMap.getCellHeaderPaths(col, row);
680
+ this.internalProps.layoutMap.getHeadNode(headerPaths.rowHeaderPaths.slice(0, headerPaths.rowHeaderPaths.length)).children = children,
681
+ this._refreshHierarchyState(col, row, (() => {
682
+ this.flatDataToObjects.changeDataConfig({
683
+ rows: this.internalProps.layoutMap.fullRowDimensionKeys,
684
+ columns: this.internalProps.layoutMap.colDimensionKeys,
685
+ indicators: this.internalProps.layoutMap.indicatorKeys,
686
+ indicatorsAsCol: this.internalProps.layoutMap.indicatorsAsCol,
687
+ indicatorDimensionKey: this.internalProps.layoutMap.indicatorDimensionKey
688
+ }), this.flatDataToObjects.addRecords(records);
689
+ }));
690
+ }
660
691
  }
661
692
  }
662
693