@iankibetsh/shframework 5.3.2 → 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 +7 -5
- package/dist/library.mjs +7 -5
- 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 => {
|
|
@@ -5117,7 +5117,7 @@ const _hoisted_23 = {
|
|
|
5117
5117
|
const _hoisted_24 = ["colspan"];
|
|
5118
5118
|
const _hoisted_25 = {
|
|
5119
5119
|
key: 2,
|
|
5120
|
-
class: "
|
|
5120
|
+
class: "no_records"
|
|
5121
5121
|
};
|
|
5122
5122
|
const _hoisted_26 = ["colspan"];
|
|
5123
5123
|
const _hoisted_27 = ["onClick"];
|
|
@@ -5729,8 +5729,10 @@ return (_ctx, _cache) => {
|
|
|
5729
5729
|
vue.createElementVNode("td", {
|
|
5730
5730
|
colspan: __props.actions ? _ctx.tableHeaders.length + 1 : _ctx.tableHeaders.length
|
|
5731
5731
|
}, _cache[16] || (_cache[16] = [
|
|
5732
|
-
vue.createElementVNode("
|
|
5733
|
-
|
|
5732
|
+
vue.createElementVNode("div", { class: "text-center bg-primary-light px-2 py-1 rounded no_records_div" }, [
|
|
5733
|
+
vue.createElementVNode("i", { class: "bi-info-circle" }),
|
|
5734
|
+
vue.createTextVNode(" No records found ")
|
|
5735
|
+
], -1 /* HOISTED */)
|
|
5734
5736
|
]), 8 /* PROPS */, _hoisted_26)
|
|
5735
5737
|
]))
|
|
5736
5738
|
: (_ctx.loading === 'done')
|
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 => {
|
|
@@ -5105,7 +5105,7 @@ const _hoisted_23 = {
|
|
|
5105
5105
|
const _hoisted_24 = ["colspan"];
|
|
5106
5106
|
const _hoisted_25 = {
|
|
5107
5107
|
key: 2,
|
|
5108
|
-
class: "
|
|
5108
|
+
class: "no_records"
|
|
5109
5109
|
};
|
|
5110
5110
|
const _hoisted_26 = ["colspan"];
|
|
5111
5111
|
const _hoisted_27 = ["onClick"];
|
|
@@ -5717,8 +5717,10 @@ return (_ctx, _cache) => {
|
|
|
5717
5717
|
createElementVNode("td", {
|
|
5718
5718
|
colspan: __props.actions ? _ctx.tableHeaders.length + 1 : _ctx.tableHeaders.length
|
|
5719
5719
|
}, _cache[16] || (_cache[16] = [
|
|
5720
|
-
createElementVNode("
|
|
5721
|
-
|
|
5720
|
+
createElementVNode("div", { class: "text-center bg-primary-light px-2 py-1 rounded no_records_div" }, [
|
|
5721
|
+
createElementVNode("i", { class: "bi-info-circle" }),
|
|
5722
|
+
createTextVNode(" No records found ")
|
|
5723
|
+
], -1 /* HOISTED */)
|
|
5722
5724
|
]), 8 /* PROPS */, _hoisted_26)
|
|
5723
5725
|
]))
|
|
5724
5726
|
: (_ctx.loading === 'done')
|