flameresttable 1.0.80 → 1.0.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flameresttable",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -468,7 +468,7 @@ export default class FlameTable<T> {
468
468
  * @param filename
469
469
  * @param arr
470
470
  */
471
- public exportToXLS(onlySelected: boolean = false, filename: string | null = null, arr: any = null, columnList: Array<string> | null = null) {
471
+ public exportToXLS(onlySelected: boolean = false, filename: string | null = null, arr: any = null, columnList: Array<string> | null = null): Promise<void> {
472
472
 
473
473
  const tClass = Object.getPrototypeOf(this.model).constructor;
474
474
  const indexKey = tClass.primaryKeys[0];
@@ -516,7 +516,7 @@ export default class FlameTable<T> {
516
516
  this.exportStatus = 'exportprocess';
517
517
 
518
518
  // Делаем запрос на отдачу
519
- this.update(customFilter, customFilter.export.filename ?? null);
519
+ return this.update(customFilter, customFilter.export.filename ?? null);
520
520
 
521
521
  }
522
522
 
@@ -429,6 +429,8 @@ export default defineComponent({
429
429
 
430
430
  this.Table.getSelectedRows();
431
431
 
432
+ // ТУТ СОБЫТИЕ ОБ ИЗМЕНЕНИИ ПРИХОДИТ В ИСТАНС РАНЬШЕ САМОГО ИЗМЕНЕНИЯ МАССИВА
433
+
432
434
  }
433
435
  },
434
436