eservices-core 1.0.363 → 1.0.364

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 +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.363
2
+ * eservices-core v1.0.364
3
3
  * (c) 2022 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -5435,12 +5435,15 @@ const _hoisted_1$a = { class: "widget-not-found flex_column" };
5435
5435
  const _hoisted_2$9 = /*#__PURE__*/ _withScopeId$4(() => /*#__PURE__*/vue.createElementVNode("p", { class: "widget-not-found__title" }, "Error 404", -1 /* HOISTED */));
5436
5436
  const _hoisted_3$7 = /*#__PURE__*/ _withScopeId$4(() => /*#__PURE__*/vue.createElementVNode("p", { class: "widget-not-found__info text_lg" }, "Something seems to have gone wrong! The page you are requesting does not exist. Perhaps it is outdated, has been removed, or an incorrect address has been entered in the address bar.", -1 /* HOISTED */));
5437
5437
  const _hoisted_4$4 = { class: "flex flex_center" };
5438
-
5439
5438
 
5440
5439
  var script$a = {
5441
5440
  __name: 'WidgetNotFound',
5442
5441
  setup(__props) {
5443
5442
 
5443
+ const router = vueRouter.useRouter();
5444
+ function getBack() {
5445
+ router.replace('/');
5446
+ }
5444
5447
 
5445
5448
  return (_ctx, _cache) => {
5446
5449
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
@@ -5450,8 +5453,8 @@ return (_ctx, _cache) => {
5450
5453
  vue.createVNode(vue.unref(script$J), {
5451
5454
  class: "button button_size_md button_style_main",
5452
5455
  title: "Return to main page",
5453
- callback: _ctx.$router.replace('/')
5454
- }, null, 8 /* PROPS */, ["callback"])
5456
+ callback: getBack
5457
+ })
5455
5458
  ])
5456
5459
  ]))
5457
5460
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.363",
3
+ "version": "1.0.364",
4
4
  "description": "----",
5
5
  "author": "",
6
6
  "scripts": {