@iankibetsh/shframework 1.9.5 → 1.9.7
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/dist/dist/library.mjs.css +32 -32
- package/dist/library.js +6 -6
- package/dist/library.mjs +6 -6
- package/package.json +1 -1
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
.sh-phone{
|
|
3
|
-
display: flex;
|
|
4
|
-
width: 100%;
|
|
5
|
-
align-items: center;
|
|
6
|
-
padding: 0 0.25rem;
|
|
7
|
-
}
|
|
8
|
-
.phone-country{
|
|
9
|
-
width: 2rem;
|
|
10
|
-
border: none;
|
|
11
|
-
align-self: center;
|
|
12
|
-
outline: none !important;
|
|
13
|
-
padding: 0.4rem;
|
|
14
|
-
border-right: 1px solid #0003;
|
|
15
|
-
}
|
|
16
|
-
.phone-number{
|
|
17
|
-
width: calc(100% - 2.2rem);
|
|
18
|
-
border: none;
|
|
19
|
-
align-self: center;
|
|
20
|
-
outline: none;
|
|
21
|
-
margin-bottom: 0;
|
|
22
|
-
padding: 0.4rem;
|
|
23
|
-
}
|
|
24
|
-
.sh-phone img{
|
|
25
|
-
padding: 0.125rem;
|
|
26
|
-
width: 2rem;
|
|
27
|
-
height: 2rem;
|
|
28
|
-
}
|
|
29
|
-
.phone-number::placeholder{
|
|
30
|
-
font-weight: 300;
|
|
31
|
-
opacity: 0.5;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
2
|
.colored-toast.swal2-icon-success {
|
|
35
3
|
background-color: #a5dc86 !important;
|
|
36
4
|
}
|
|
@@ -63,6 +31,38 @@
|
|
|
63
31
|
color: white;
|
|
64
32
|
}
|
|
65
33
|
|
|
34
|
+
.sh-phone{
|
|
35
|
+
display: flex;
|
|
36
|
+
width: 100%;
|
|
37
|
+
align-items: center;
|
|
38
|
+
padding: 0 0.25rem;
|
|
39
|
+
}
|
|
40
|
+
.phone-country{
|
|
41
|
+
width: 2rem;
|
|
42
|
+
border: none;
|
|
43
|
+
align-self: center;
|
|
44
|
+
outline: none !important;
|
|
45
|
+
padding: 0.4rem;
|
|
46
|
+
border-right: 1px solid #0003;
|
|
47
|
+
}
|
|
48
|
+
.phone-number{
|
|
49
|
+
width: calc(100% - 2.2rem);
|
|
50
|
+
border: none;
|
|
51
|
+
align-self: center;
|
|
52
|
+
outline: none;
|
|
53
|
+
margin-bottom: 0;
|
|
54
|
+
padding: 0.4rem;
|
|
55
|
+
}
|
|
56
|
+
.sh-phone img{
|
|
57
|
+
padding: 0.125rem;
|
|
58
|
+
width: 2rem;
|
|
59
|
+
height: 2rem;
|
|
60
|
+
}
|
|
61
|
+
.phone-number::placeholder{
|
|
62
|
+
font-weight: 300;
|
|
63
|
+
opacity: 0.5;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
66
|
.permissions-main {
|
|
67
67
|
background: #edeff2;
|
|
68
68
|
}
|
package/dist/library.js
CHANGED
|
@@ -201,13 +201,13 @@ function showToast (message, toastType, config) {
|
|
|
201
201
|
toastType = 'success';
|
|
202
202
|
}
|
|
203
203
|
if(config){
|
|
204
|
-
|
|
205
|
-
Object.keys(config).map(key=>mixinConfig[key] = config.key);
|
|
204
|
+
Object.keys(config).map(key=>mixinConfig[key] = config[key]);
|
|
206
205
|
}
|
|
206
|
+
console.log(mixinConfig);
|
|
207
207
|
const Toast = Swal__default["default"].mixin(mixinConfig);
|
|
208
|
-
Toast.mixin({
|
|
209
|
-
|
|
210
|
-
})
|
|
208
|
+
// Toast.mixin({
|
|
209
|
+
// position: 'top'
|
|
210
|
+
// })
|
|
211
211
|
Toast.fire({
|
|
212
212
|
icon: toastType,
|
|
213
213
|
title: message,
|
|
@@ -5094,7 +5094,7 @@ return (_ctx, _cache) => {
|
|
|
5094
5094
|
|
|
5095
5095
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
5096
5096
|
vue.createElementVNode("ul", {
|
|
5097
|
-
class: vue.normalizeClass(["nav nav-tabs sh-tabs", __props.classes])
|
|
5097
|
+
class: vue.normalizeClass(["nav nav-tabs sh-tabs", __props.classes ?? vue.unref(shRepo).getShConfig('tabsClass','sh-tabs nav-tabs-bordered')])
|
|
5098
5098
|
}, [
|
|
5099
5099
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.tabs, (tab) => {
|
|
5100
5100
|
return (vue.openBlock(), vue.createElementBlock("li", {
|
package/dist/library.mjs
CHANGED
|
@@ -171,13 +171,13 @@ function showToast (message, toastType, config) {
|
|
|
171
171
|
toastType = 'success';
|
|
172
172
|
}
|
|
173
173
|
if(config){
|
|
174
|
-
|
|
175
|
-
Object.keys(config).map(key=>mixinConfig[key] = config.key);
|
|
174
|
+
Object.keys(config).map(key=>mixinConfig[key] = config[key]);
|
|
176
175
|
}
|
|
176
|
+
console.log(mixinConfig);
|
|
177
177
|
const Toast = Swal.mixin(mixinConfig);
|
|
178
|
-
Toast.mixin({
|
|
179
|
-
|
|
180
|
-
})
|
|
178
|
+
// Toast.mixin({
|
|
179
|
+
// position: 'top'
|
|
180
|
+
// })
|
|
181
181
|
Toast.fire({
|
|
182
182
|
icon: toastType,
|
|
183
183
|
title: message,
|
|
@@ -5064,7 +5064,7 @@ return (_ctx, _cache) => {
|
|
|
5064
5064
|
|
|
5065
5065
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
5066
5066
|
createElementVNode("ul", {
|
|
5067
|
-
class: normalizeClass(["nav nav-tabs sh-tabs", __props.classes])
|
|
5067
|
+
class: normalizeClass(["nav nav-tabs sh-tabs", __props.classes ?? unref(shRepo).getShConfig('tabsClass','sh-tabs nav-tabs-bordered')])
|
|
5068
5068
|
}, [
|
|
5069
5069
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (tab) => {
|
|
5070
5070
|
return (openBlock(), createElementBlock("li", {
|