@yoobic/yobi 8.6.32 → 8.6.33

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.
@@ -38,7 +38,7 @@ const YooFormCreatorTranslateDialogComponent = class {
38
38
  const updatedTranslation = { ...event.detail };
39
39
  delete updatedTranslation.name;
40
40
  this.updateCurrentTranslations(updatedTranslation, name);
41
- }, 1000);
41
+ }, 2000);
42
42
  this.preventFormUpdate = false;
43
43
  this.slides = undefined;
44
44
  this.plan = undefined;
@@ -76,9 +76,11 @@ const YooFormCreatorTranslateDialogComponent = class {
76
76
  }
77
77
  }
78
78
  async forceUpdateTranslations() {
79
- this.updatedTranslations = this.translations;
80
- this.preventFormUpdate = false;
81
- this.updateTranslationForms(true);
79
+ if (!this.editableForm) {
80
+ this.updatedTranslations = this.translations;
81
+ this.preventFormUpdate = false;
82
+ this.updateTranslationForms(true);
83
+ }
82
84
  }
83
85
  componentWillLoad() {
84
86
  this.updatedTranslations = this.translations;
@@ -27,7 +27,7 @@ export class YooFormCreatorTranslateDialogComponent {
27
27
  const updatedTranslation = { ...event.detail };
28
28
  delete updatedTranslation.name;
29
29
  this.updateCurrentTranslations(updatedTranslation, name);
30
- }, 1000);
30
+ }, 2000);
31
31
  this.preventFormUpdate = false;
32
32
  this.slides = undefined;
33
33
  this.plan = undefined;
@@ -65,9 +65,11 @@ export class YooFormCreatorTranslateDialogComponent {
65
65
  }
66
66
  }
67
67
  async forceUpdateTranslations() {
68
- this.updatedTranslations = this.translations;
69
- this.preventFormUpdate = false;
70
- this.updateTranslationForms(true);
68
+ if (!this.editableForm) {
69
+ this.updatedTranslations = this.translations;
70
+ this.preventFormUpdate = false;
71
+ this.updateTranslationForms(true);
72
+ }
71
73
  }
72
74
  componentWillLoad() {
73
75
  this.updatedTranslations = this.translations;
@@ -34,7 +34,7 @@ const YooFormCreatorTranslateDialogComponent = class {
34
34
  const updatedTranslation = { ...event.detail };
35
35
  delete updatedTranslation.name;
36
36
  this.updateCurrentTranslations(updatedTranslation, name);
37
- }, 1000);
37
+ }, 2000);
38
38
  this.preventFormUpdate = false;
39
39
  this.slides = undefined;
40
40
  this.plan = undefined;
@@ -72,9 +72,11 @@ const YooFormCreatorTranslateDialogComponent = class {
72
72
  }
73
73
  }
74
74
  async forceUpdateTranslations() {
75
- this.updatedTranslations = this.translations;
76
- this.preventFormUpdate = false;
77
- this.updateTranslationForms(true);
75
+ if (!this.editableForm) {
76
+ this.updatedTranslations = this.translations;
77
+ this.preventFormUpdate = false;
78
+ this.updateTranslationForms(true);
79
+ }
78
80
  }
79
81
  componentWillLoad() {
80
82
  this.updatedTranslations = this.translations;
@@ -34,7 +34,7 @@ const YooFormCreatorTranslateDialogComponent = class {
34
34
  const updatedTranslation = { ...event.detail };
35
35
  delete updatedTranslation.name;
36
36
  this.updateCurrentTranslations(updatedTranslation, name);
37
- }, 1000);
37
+ }, 2000);
38
38
  this.preventFormUpdate = false;
39
39
  this.slides = undefined;
40
40
  this.plan = undefined;
@@ -72,9 +72,11 @@ const YooFormCreatorTranslateDialogComponent = class {
72
72
  }
73
73
  }
74
74
  async forceUpdateTranslations() {
75
- this.updatedTranslations = this.translations;
76
- this.preventFormUpdate = false;
77
- this.updateTranslationForms(true);
75
+ if (!this.editableForm) {
76
+ this.updatedTranslations = this.translations;
77
+ this.preventFormUpdate = false;
78
+ this.updateTranslationForms(true);
79
+ }
78
80
  }
79
81
  componentWillLoad() {
80
82
  this.updatedTranslations = this.translations;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoobic/yobi",
3
- "version": "8.6.32",
3
+ "version": "8.6.33",
4
4
  "description": "Yobi - Yoobic Design System",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs.js",