@iankibetsh/shframework 5.3.3 → 5.3.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 +32 -32
- package/dist/library.js +2 -2
- package/dist/library.mjs +2 -2
- 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
|
@@ -3399,7 +3399,7 @@ var script$q = {
|
|
|
3399
3399
|
'emails',
|
|
3400
3400
|
'method',
|
|
3401
3401
|
'phones', 'numbers', 'selects', 'dates', 'gqlMutation',
|
|
3402
|
-
'required'
|
|
3402
|
+
'required','retainModal'
|
|
3403
3403
|
],
|
|
3404
3404
|
emits: ['success','preSubmit', 'fieldChanged', 'formSubmitted', 'formError'],
|
|
3405
3405
|
setup(__props, { emit: __emit }) {
|
|
@@ -3551,7 +3551,7 @@ const handleSuccessRequest = res => {
|
|
|
3551
3551
|
props.successMessage && shRepo.showToast(props.successMessage);
|
|
3552
3552
|
props.successCallback && props.successCallback(res.data);
|
|
3553
3553
|
!props.retainDataAfterSubmission && formFields.value.map(field => field.value = null);
|
|
3554
|
-
closeModal();
|
|
3554
|
+
!props.retainModal && closeModal();
|
|
3555
3555
|
};
|
|
3556
3556
|
|
|
3557
3557
|
const handlefailedRequest = reason => {
|
package/dist/library.mjs
CHANGED
|
@@ -3387,7 +3387,7 @@ var script$q = {
|
|
|
3387
3387
|
'emails',
|
|
3388
3388
|
'method',
|
|
3389
3389
|
'phones', 'numbers', 'selects', 'dates', 'gqlMutation',
|
|
3390
|
-
'required'
|
|
3390
|
+
'required','retainModal'
|
|
3391
3391
|
],
|
|
3392
3392
|
emits: ['success','preSubmit', 'fieldChanged', 'formSubmitted', 'formError'],
|
|
3393
3393
|
setup(__props, { emit: __emit }) {
|
|
@@ -3539,7 +3539,7 @@ const handleSuccessRequest = res => {
|
|
|
3539
3539
|
props.successMessage && shRepo.showToast(props.successMessage);
|
|
3540
3540
|
props.successCallback && props.successCallback(res.data);
|
|
3541
3541
|
!props.retainDataAfterSubmission && formFields.value.map(field => field.value = null);
|
|
3542
|
-
closeModal();
|
|
3542
|
+
!props.retainModal && closeModal();
|
|
3543
3543
|
};
|
|
3544
3544
|
|
|
3545
3545
|
const handlefailedRequest = reason => {
|