not-bulma 1.1.13 → 1.1.14

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": "not-bulma",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "not-* family UI components on Bulma CSS Framework",
5
5
  "main": "src/index.js",
6
6
  "svelte": "src/index.js",
@@ -4,7 +4,7 @@ import { notForm } from "../../../components";
4
4
  import { DEFAULT_TRASFORMER } from "../../const";
5
5
  import { NAVIGATION_DELAY_DEFAULT } from "../../../const";
6
6
 
7
- const DEFAUL_BREADCRUMB_TAIL = "Просмотр";
7
+ const DEFAULT_BREADCRUMB_TAIL = "Просмотр";
8
8
 
9
9
  /**
10
10
  * Generic CRUD action class
@@ -19,7 +19,7 @@ class CRUDGenericAction {
19
19
  * @returns {string}
20
20
  */
21
21
  static get deafultBreadcrumbsTail() {
22
- return DEFAUL_BREADCRUMB_TAIL;
22
+ return DEFAULT_BREADCRUMB_TAIL;
23
23
  }
24
24
 
25
25
  /**
@@ -28,7 +28,7 @@ class CRUDGenericAction {
28
28
  */
29
29
  static get breadcrumbsTails() {
30
30
  return {
31
- preset: DEFAUL_BREADCRUMB_TAIL,
31
+ preset: DEFAULT_BREADCRUMB_TAIL,
32
32
  set: 'Просмотр, "{:title}"',
33
33
  };
34
34
  }
@@ -217,11 +217,7 @@ class CRUDGenericAction {
217
217
  */
218
218
  static bindUIEvents(controller, params, response) {
219
219
  if (notCommon.isFunc(controller.goBack)) {
220
- this.bindUIEvent(
221
- controller,
222
- "reject",
223
- () => controller.goBack()
224
- );
220
+ this.bindUIEvent(controller, "reject", () => controller.goBack());
225
221
  }
226
222
  }
227
223
 
@@ -1,11 +1,11 @@
1
1
  import CRUDGenericAction from "./action";
2
2
  import notCommon from "../../../common";
3
3
  const ACTION = "create";
4
- const DEFAUL_BREADCRUMB_TAIL = "Создание";
4
+ const DEFAULT_BREADCRUMB_TAIL = "Создание";
5
5
 
6
6
  class CRUDGenericActionCreate extends CRUDGenericAction {
7
7
  static get deafultBreadcrumbsTail() {
8
- return DEFAUL_BREADCRUMB_TAIL;
8
+ return DEFAULT_BREADCRUMB_TAIL;
9
9
  }
10
10
 
11
11
  static get breadcrumbsTails() {
@@ -69,10 +69,8 @@ class CRUDGenericActionCreate extends CRUDGenericAction {
69
69
  */
70
70
  static bindUIEvents(controller, params, response) {
71
71
  if (notCommon.isFunc(controller.goBack)) {
72
- this.bindUIEvent(
73
- controller,
74
- "reject",
75
- ()=> this.goBack(controller)
72
+ this.bindUIEvent(controller, "reject", () =>
73
+ this.goBack(controller)
76
74
  );
77
75
  }
78
76
  if (notCommon.isFunc(controller.onActionSubmit)) {
@@ -82,7 +80,7 @@ class CRUDGenericActionCreate extends CRUDGenericAction {
82
80
  ...ev.detail,
83
81
  });
84
82
  if (success) {
85
- this.goBackAfterDelay(controller)
83
+ this.goBackAfterDelay(controller);
86
84
  }
87
85
  });
88
86
  }
@@ -1,7 +1,7 @@
1
1
  import notCommon from "../../../common";
2
2
  import CRUDGenericAction from "./action";
3
3
 
4
- const DEFAUL_BREADCRUMB_TAIL = "Редактирование";
4
+ const DEFAULT_BREADCRUMB_TAIL = "Редактирование";
5
5
  /**
6
6
  * Generic CRUD Update action class
7
7
  * @class
@@ -12,7 +12,7 @@ class CRUDGenericActionUpdate extends CRUDGenericAction {
12
12
  * @returns {string}
13
13
  */
14
14
  static get deafultBreadcrumbsTail() {
15
- return DEFAUL_BREADCRUMB_TAIL;
15
+ return DEFAULT_BREADCRUMB_TAIL;
16
16
  }
17
17
 
18
18
  /**
@@ -21,8 +21,8 @@ class CRUDGenericActionUpdate extends CRUDGenericAction {
21
21
  */
22
22
  static get breadcrumbsTails() {
23
23
  return {
24
- preset: DEFAUL_BREADCRUMB_TAIL,
25
- set: `${DEFAUL_BREADCRUMB_TAIL}: "{:title}"`,
24
+ preset: DEFAULT_BREADCRUMB_TAIL,
25
+ set: `${DEFAULT_BREADCRUMB_TAIL}: "{:title}"`,
26
26
  };
27
27
  }
28
28
 
@@ -79,10 +79,8 @@ class CRUDGenericActionUpdate extends CRUDGenericAction {
79
79
  */
80
80
  static bindUIEvents(controller, params, response) {
81
81
  if (notCommon.isFunc(controller.goBack)) {
82
- this.bindUIEvent(
83
- controller,
84
- "reject",
85
- () => this.goBack(controller)
82
+ this.bindUIEvent(controller, "reject", () =>
83
+ this.goBack(controller)
86
84
  );
87
85
  }
88
86
  if (notCommon.isFunc(controller.onActionSubmit)) {