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.
- package/dist/classes/List.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/classes/List.d.ts
CHANGED
|
@@ -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?: (
|
|
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.
|
|
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(
|
|
3477
|
+
const to = cell.link(rowValues);
|
|
3478
3478
|
if (to) {
|
|
3479
3479
|
cellNodeChildren.push(vue.h(vueRouter.RouterLink, {
|
|
3480
|
-
to: cell.link(
|
|
3480
|
+
to: cell.link(rowValues),
|
|
3481
3481
|
}));
|
|
3482
3482
|
cellClasses.push('list-cell-link');
|
|
3483
3483
|
}
|