vue-intergrall-plugins 0.0.133 → 0.0.134
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.
|
@@ -6259,6 +6259,10 @@ var script$1 = {
|
|
|
6259
6259
|
btnCustom: {
|
|
6260
6260
|
type: Boolean,
|
|
6261
6261
|
default: false
|
|
6262
|
+
},
|
|
6263
|
+
activeLoader: {
|
|
6264
|
+
type: Boolean,
|
|
6265
|
+
default: false
|
|
6262
6266
|
}
|
|
6263
6267
|
}
|
|
6264
6268
|
};/* script */
|
|
@@ -6289,7 +6293,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
6289
6293
|
attrs: {
|
|
6290
6294
|
"icon": _vm.faIcon.length ? _vm.faIcon : _vm.svgIcon
|
|
6291
6295
|
}
|
|
6292
|
-
})], 1)] : _vm._e(), _vm._ssrNode(" <span class=\"simple-btn--text\">" + _vm._ssrEscape(_vm._s(_vm.btnText)) + "</span>")], 2);
|
|
6296
|
+
})], 1)] : _vm._e(), _vm._ssrNode(" " + (!_vm.activeLoader ? "<span class=\"simple-btn--text\">" + _vm._ssrEscape(_vm._s(_vm.btnText)) + "</span>" : "<Loader></Loader>"))], 2);
|
|
6293
6297
|
};
|
|
6294
6298
|
|
|
6295
6299
|
var __vue_staticRenderFns__$1 = [];
|
|
@@ -6297,8 +6301,8 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
6297
6301
|
|
|
6298
6302
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
6299
6303
|
if (!inject) return;
|
|
6300
|
-
inject("data-v-
|
|
6301
|
-
source: ".default-btn-style{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;display:flex;justify-content:center;align-items:center;padding:5px;cursor:pointer}.default-btn-style:hover{opacity:1}.default-btn-style:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.simple-btn{position:relative}.simple-btn--icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.simple-btn--icon.custom{min-width:25px}.simple-btn--text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.icon-container{position:absolute;left:-15px;padding:5px;width:40px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%}.icon-container svg{color:rgba(255,255,255,.5);width:23px;height:23px}",
|
|
6304
|
+
inject("data-v-1067dba2_0", {
|
|
6305
|
+
source: ".default-btn-style{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;display:flex;justify-content:center;align-items:center;padding:5px;cursor:pointer;min-height:28px}.default-btn-style:hover{opacity:1}.default-btn-style:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.simple-btn{position:relative}.simple-btn--icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.simple-btn--icon.custom{min-width:25px}.simple-btn--text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.icon-container{position:absolute;left:-15px;padding:5px;width:40px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%}.icon-container svg{color:rgba(255,255,255,.5);width:23px;height:23px}",
|
|
6302
6306
|
map: undefined,
|
|
6303
6307
|
media: undefined
|
|
6304
6308
|
});
|
|
@@ -6309,7 +6313,7 @@ var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
|
6309
6313
|
var __vue_scope_id__$1 = undefined;
|
|
6310
6314
|
/* module identifier */
|
|
6311
6315
|
|
|
6312
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
6316
|
+
var __vue_module_identifier__$1 = "data-v-1067dba2";
|
|
6313
6317
|
/* functional template */
|
|
6314
6318
|
|
|
6315
6319
|
var __vue_is_functional_template__$1 = false;
|
package/package.json
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
<IconButton :icon="faIcon.length ? faIcon : svgIcon" />
|
|
13
13
|
</span>
|
|
14
14
|
</template>
|
|
15
|
-
<span class="simple-btn--text" v-text="btnText"></span>
|
|
15
|
+
<span class="simple-btn--text" v-text="btnText" v-if="!activeLoader"></span>
|
|
16
|
+
<Loader v-else />
|
|
16
17
|
</div>
|
|
17
18
|
</template>
|
|
18
19
|
|
|
@@ -62,6 +63,10 @@ export default {
|
|
|
62
63
|
btnCustom: {
|
|
63
64
|
type: Boolean,
|
|
64
65
|
default: false
|
|
66
|
+
},
|
|
67
|
+
activeLoader: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
72
|
}
|
|
@@ -80,6 +85,7 @@ export default {
|
|
|
80
85
|
align-items: center;
|
|
81
86
|
padding: 5px;
|
|
82
87
|
cursor: pointer;
|
|
88
|
+
min-height: 28px;
|
|
83
89
|
}
|
|
84
90
|
.default-btn-style:hover{
|
|
85
91
|
opacity: 1;
|