eservices-core 1.0.451 → 1.0.452

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.
@@ -4,7 +4,7 @@ export interface ListCell {
4
4
  title?: string;
5
5
  name?: string | string[];
6
6
  value?: (x: Values, obj: ValuesInterface) => Values;
7
- link?: (x: Values, obj: ValuesInterface) => any;
7
+ link?: (obj: ValuesInterface) => any;
8
8
  type?: "date" | "dateWithTime" | 'toggle' | 'select' | 'edit' | 'remove';
9
9
  icon?: string;
10
10
  class?: string | string[];
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.451
2
+ * eservices-core v1.0.452
3
3
  * (c) 2022 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -3474,10 +3474,10 @@ class List extends EventEmitter {
3474
3474
  * Добавляем ссылку в ячейку
3475
3475
  * */
3476
3476
  if (cell.link) {
3477
- const to = cell.link(cellValue, rowValues);
3477
+ const to = cell.link(rowValues);
3478
3478
  if (to) {
3479
3479
  cellNodeChildren.push(vue.h(vueRouter.RouterLink, {
3480
- to: cell.link(cellValue, rowValues),
3480
+ to: cell.link(rowValues),
3481
3481
  }));
3482
3482
  cellClasses.push('list-cell-link');
3483
3483
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.451",
3
+ "version": "1.0.452",
4
4
  "description": "Core library",
5
5
  "author": "",
6
6
  "scripts": {