@iankibetsh/shframework 4.4.3 → 4.4.4
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 +48 -48
- package/dist/library.js +10 -1
- package/dist/library.mjs +10 -1
- package/package.json +1 -1
|
@@ -1,4 +1,36 @@
|
|
|
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
|
+
|
|
2
34
|
.colored-toast.swal2-icon-success {
|
|
3
35
|
background-color: #a5dc86 !important;
|
|
4
36
|
}
|
|
@@ -31,6 +63,22 @@
|
|
|
31
63
|
color: white;
|
|
32
64
|
}
|
|
33
65
|
|
|
66
|
+
.sh-selected-item{
|
|
67
|
+
line-height: unset!important;
|
|
68
|
+
}
|
|
69
|
+
.sh-suggestion-input{
|
|
70
|
+
padding: 0.375rem 0.75rem;
|
|
71
|
+
}
|
|
72
|
+
.sh-suggest{
|
|
73
|
+
margin-bottom: 1rem;
|
|
74
|
+
padding: 0rem 0rem;
|
|
75
|
+
}
|
|
76
|
+
.sh-suggest-control::after{
|
|
77
|
+
margin-top: auto;
|
|
78
|
+
margin-bottom: auto;
|
|
79
|
+
margin-right: 0.255em;
|
|
80
|
+
}
|
|
81
|
+
|
|
34
82
|
.permissions-main {
|
|
35
83
|
background: #edeff2;
|
|
36
84
|
}
|
|
@@ -63,54 +111,6 @@
|
|
|
63
111
|
flex-grow: 1;
|
|
64
112
|
}
|
|
65
113
|
|
|
66
|
-
.sh-phone{
|
|
67
|
-
display: flex;
|
|
68
|
-
width: 100%;
|
|
69
|
-
align-items: center;
|
|
70
|
-
padding: 0 0.25rem;
|
|
71
|
-
}
|
|
72
|
-
.phone-country{
|
|
73
|
-
width: 2rem;
|
|
74
|
-
border: none;
|
|
75
|
-
align-self: center;
|
|
76
|
-
outline: none !important;
|
|
77
|
-
padding: 0.4rem;
|
|
78
|
-
border-right: 1px solid #0003;
|
|
79
|
-
}
|
|
80
|
-
.phone-number{
|
|
81
|
-
width: calc(100% - 2.2rem);
|
|
82
|
-
border: none;
|
|
83
|
-
align-self: center;
|
|
84
|
-
outline: none;
|
|
85
|
-
margin-bottom: 0;
|
|
86
|
-
padding: 0.4rem;
|
|
87
|
-
}
|
|
88
|
-
.sh-phone img{
|
|
89
|
-
padding: 0.125rem;
|
|
90
|
-
width: 2rem;
|
|
91
|
-
height: 2rem;
|
|
92
|
-
}
|
|
93
|
-
.phone-number::placeholder{
|
|
94
|
-
font-weight: 300;
|
|
95
|
-
opacity: 0.5;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.sh-selected-item{
|
|
99
|
-
line-height: unset!important;
|
|
100
|
-
}
|
|
101
|
-
.sh-suggestion-input{
|
|
102
|
-
padding: 0.375rem 0.75rem;
|
|
103
|
-
}
|
|
104
|
-
.sh-suggest{
|
|
105
|
-
margin-bottom: 1rem;
|
|
106
|
-
padding: 0rem 0rem;
|
|
107
|
-
}
|
|
108
|
-
.sh-suggest-control::after{
|
|
109
|
-
margin-top: auto;
|
|
110
|
-
margin-bottom: auto;
|
|
111
|
-
margin-right: 0.255em;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
114
|
.callout{
|
|
115
115
|
--bs-link-color-rgb: 110,168,254;
|
|
116
116
|
--bs-code-color: #e685b5;
|
package/dist/library.js
CHANGED
|
@@ -4900,7 +4900,16 @@ const __default__ = {
|
|
|
4900
4900
|
},
|
|
4901
4901
|
replaceLinkUrl: function (path, obj){
|
|
4902
4902
|
if (typeof path === 'object') {
|
|
4903
|
-
|
|
4903
|
+
// check path,link or url
|
|
4904
|
+
if (path.link) {
|
|
4905
|
+
path = path.link;
|
|
4906
|
+
} else if (path.url) {
|
|
4907
|
+
path = path.url;
|
|
4908
|
+
} else if(path.path){
|
|
4909
|
+
path = path.path;
|
|
4910
|
+
} else {
|
|
4911
|
+
path = '';
|
|
4912
|
+
}
|
|
4904
4913
|
}
|
|
4905
4914
|
var matches = path.match(/\{(.*?)\}/g);
|
|
4906
4915
|
matches && matches.forEach(key => {
|
package/dist/library.mjs
CHANGED
|
@@ -4888,7 +4888,16 @@ const __default__ = {
|
|
|
4888
4888
|
},
|
|
4889
4889
|
replaceLinkUrl: function (path, obj){
|
|
4890
4890
|
if (typeof path === 'object') {
|
|
4891
|
-
|
|
4891
|
+
// check path,link or url
|
|
4892
|
+
if (path.link) {
|
|
4893
|
+
path = path.link;
|
|
4894
|
+
} else if (path.url) {
|
|
4895
|
+
path = path.url;
|
|
4896
|
+
} else if(path.path){
|
|
4897
|
+
path = path.path;
|
|
4898
|
+
} else {
|
|
4899
|
+
path = '';
|
|
4900
|
+
}
|
|
4892
4901
|
}
|
|
4893
4902
|
var matches = path.match(/\{(.*?)\}/g);
|
|
4894
4903
|
matches && matches.forEach(key => {
|