eservices-core 1.0.505 → 1.0.508

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 (2) hide show
  1. package/dist/index.js +7 -4
  2. package/package.json +9 -4
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.505
2
+ * eservices-core v1.0.508
3
3
  * (c) 2023 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -3244,9 +3244,12 @@ function getTableCell$1(cell, rowValue) {
3244
3244
  addHandleClick(cell.onClick);
3245
3245
  if (cell.link) {
3246
3246
  try {
3247
- const link = vue.h(vueRouter.RouterLink, { to: cell.link(rowValue) });
3248
- cellNodeChildren.push(link);
3249
- addClass('list-cell-link');
3247
+ const to = cell.link(rowValue);
3248
+ if (to) {
3249
+ const LinkElement = vue.h(vueRouter.RouterLink, { to });
3250
+ cellNodeChildren.push(LinkElement);
3251
+ addClass('list-cell-link');
3252
+ }
3250
3253
  }
3251
3254
  catch (e) {
3252
3255
  console.warn('Error handle: Add Router link to cell', e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.505",
3
+ "version": "1.0.508",
4
4
  "description": "Core library",
5
5
  "author": "",
6
6
  "scripts": {
@@ -24,19 +24,24 @@
24
24
  "@babel/preset-typescript": "^7.16.5",
25
25
  "@rollup/plugin-commonjs": "^21.0.1",
26
26
  "@rollup/plugin-node-resolve": "^13.1.3",
27
+ "@rollup/plugin-typescript": "10.0.1",
27
28
  "@types/bencode": "^2.0.1",
28
29
  "@types/date-and-time": "^0.13.0",
29
30
  "@types/jest": "^24.9.1",
30
31
  "@types/object-hash": "^2.2.1",
31
- "@vue/cli-plugin-typescript": "^5.0.8",
32
- "@vue/cli-plugin-unit-jest": "^5.0.8",
33
- "@vue/cli-service": "^5.0.8",
32
+ "@vue/cli-plugin-typescript": "~4.5.0",
33
+ "@vue/cli-plugin-unit-jest": "~4.5.0",
34
+ "@vue/cli-service": "~4.5.0",
34
35
  "@vue/compiler-sfc": "^3.0.0",
35
36
  "@vue/test-utils": "^2.0.0-rc.18",
36
37
  "babel-jest": "26.6.3",
38
+ "object-hash": "^3.0.0",
37
39
  "postcss-import": "^14.0.2",
40
+ "rollup-plugin-filesize": "^9.1.2",
41
+ "rollup-plugin-import-css": "^3.0.2",
38
42
  "rollup-plugin-node-resolve": "^5.2.0",
39
43
  "rollup-plugin-postcss": "^4.0.2",
44
+ "rollup-plugin-styles": "^4.0.0",
40
45
  "rollup-plugin-typescript2": "0.34.1",
41
46
  "rollup-plugin-vue": "6.0.0",
42
47
  "tslib": "^2.3.1",