@appscode/design-system 1.0.43-alpha.158 → 1.0.43-alpha.159
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
package/plugins/vue-toaster.js
CHANGED
|
@@ -41,6 +41,7 @@ module.exports = {
|
|
|
41
41
|
},
|
|
42
42
|
options: {
|
|
43
43
|
icon: "fa-warning",
|
|
44
|
+
duration: 20000,
|
|
44
45
|
type: "error",
|
|
45
46
|
className: "ac-toast is-error",
|
|
46
47
|
},
|
|
@@ -56,6 +57,7 @@ module.exports = {
|
|
|
56
57
|
},
|
|
57
58
|
options: {
|
|
58
59
|
icon: "fa-info",
|
|
60
|
+
duration: 20000,
|
|
59
61
|
type: "info",
|
|
60
62
|
className: "ac-toast is-info",
|
|
61
63
|
},
|
|
@@ -73,6 +75,7 @@ module.exports = {
|
|
|
73
75
|
},
|
|
74
76
|
options: {
|
|
75
77
|
icon: "fa-warning",
|
|
78
|
+
duration: 2500,
|
|
76
79
|
type: "error",
|
|
77
80
|
className: "ac-toast is-warning",
|
|
78
81
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<header-item v-if="showUpdateBtn && !isEditorReadOnly">
|
|
31
31
|
<ac-button
|
|
32
32
|
modifier-classes="is-square is-primary"
|
|
33
|
-
icon-class="
|
|
33
|
+
icon-class="fa-floppy-o"
|
|
34
34
|
:class="{ 'is-loading': isUpdateActive }"
|
|
35
35
|
@click.prevent="$emit('updateData', activeKey, activeFile)"
|
|
36
36
|
/>
|
|
@@ -185,11 +185,11 @@ export default {
|
|
|
185
185
|
this.$toasted.global.error("Copying failed").goAway(1000);
|
|
186
186
|
},
|
|
187
187
|
decode(str) {
|
|
188
|
-
if (str
|
|
188
|
+
if (str) return str.content;
|
|
189
189
|
else return "";
|
|
190
190
|
},
|
|
191
191
|
encode(str) {
|
|
192
|
-
if (str
|
|
192
|
+
if (str) return str.content;
|
|
193
193
|
else return "";
|
|
194
194
|
},
|
|
195
195
|
confirmDelete(flag) {
|