@iankibetsh/shframework 4.3.0 → 4.3.1
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 +15 -15
- package/dist/library.js +22 -2
- package/dist/library.mjs +22 -2
- package/package.json +1 -1
|
@@ -63,6 +63,21 @@
|
|
|
63
63
|
color: white;
|
|
64
64
|
}
|
|
65
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
|
+
}
|
|
75
|
+
.sh-suggest-control::after{
|
|
76
|
+
margin-top: auto;
|
|
77
|
+
margin-bottom: auto;
|
|
78
|
+
margin-right: 0.255em;
|
|
79
|
+
}
|
|
80
|
+
|
|
66
81
|
.permissions-main {
|
|
67
82
|
background: #edeff2;
|
|
68
83
|
}
|
|
@@ -95,21 +110,6 @@
|
|
|
95
110
|
flex-grow: 1;
|
|
96
111
|
}
|
|
97
112
|
|
|
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
|
-
}
|
|
107
|
-
.sh-suggest-control::after{
|
|
108
|
-
margin-top: auto;
|
|
109
|
-
margin-bottom: auto;
|
|
110
|
-
margin-right: 0.255em;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
113
|
.callout{
|
|
114
114
|
--bs-link-color-rgb: 110,168,254;
|
|
115
115
|
--bs-code-color: #e685b5;
|
package/dist/library.js
CHANGED
|
@@ -3577,7 +3577,7 @@ var script$j = {
|
|
|
3577
3577
|
'phones',
|
|
3578
3578
|
'numbers',
|
|
3579
3579
|
'customComponent','modalTitle','class','successMessage'],
|
|
3580
|
-
emits: ['success'],
|
|
3580
|
+
emits: ['success','fieldChanged','formSubmitted','formError','modalId'],
|
|
3581
3581
|
setup(__props, { emit: __emit }) {
|
|
3582
3582
|
|
|
3583
3583
|
const props = __props;
|
|
@@ -3588,6 +3588,21 @@ const modalId = 'rand' + (Math.random() + 1).toString(36).substring(2);
|
|
|
3588
3588
|
const success = (res)=>{
|
|
3589
3589
|
emit('success',res);
|
|
3590
3590
|
};
|
|
3591
|
+
vue.onMounted(()=>{
|
|
3592
|
+
emit('modalId',modalId);
|
|
3593
|
+
});
|
|
3594
|
+
|
|
3595
|
+
const fieldChanged = (field, value)=>{
|
|
3596
|
+
emit('fieldChanged',field, value);
|
|
3597
|
+
};
|
|
3598
|
+
|
|
3599
|
+
const formSubmitted = (res)=>{
|
|
3600
|
+
emit('formSubmitted',res);
|
|
3601
|
+
};
|
|
3602
|
+
|
|
3603
|
+
const formError = (res)=>{
|
|
3604
|
+
emit('formError',res);
|
|
3605
|
+
};
|
|
3591
3606
|
|
|
3592
3607
|
return (_ctx, _cache) => {
|
|
3593
3608
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
@@ -3603,7 +3618,12 @@ return (_ctx, _cache) => {
|
|
|
3603
3618
|
"modal-title": __props.modalTitle
|
|
3604
3619
|
}, {
|
|
3605
3620
|
default: vue.withCtx(() => [
|
|
3606
|
-
vue.createVNode(script$
|
|
3621
|
+
vue.createVNode(script$m, vue.mergeProps({
|
|
3622
|
+
onSuccess: success,
|
|
3623
|
+
onFieldChanged: fieldChanged,
|
|
3624
|
+
onFormSubmitted: formSubmitted,
|
|
3625
|
+
onFormError: formError
|
|
3626
|
+
}, props), null, 16 /* FULL_PROPS */)
|
|
3607
3627
|
]),
|
|
3608
3628
|
_: 1 /* STABLE */
|
|
3609
3629
|
}, 8 /* PROPS */, ["modal-title"])
|
package/dist/library.mjs
CHANGED
|
@@ -3565,7 +3565,7 @@ var script$j = {
|
|
|
3565
3565
|
'phones',
|
|
3566
3566
|
'numbers',
|
|
3567
3567
|
'customComponent','modalTitle','class','successMessage'],
|
|
3568
|
-
emits: ['success'],
|
|
3568
|
+
emits: ['success','fieldChanged','formSubmitted','formError','modalId'],
|
|
3569
3569
|
setup(__props, { emit: __emit }) {
|
|
3570
3570
|
|
|
3571
3571
|
const props = __props;
|
|
@@ -3576,6 +3576,21 @@ const modalId = 'rand' + (Math.random() + 1).toString(36).substring(2);
|
|
|
3576
3576
|
const success = (res)=>{
|
|
3577
3577
|
emit('success',res);
|
|
3578
3578
|
};
|
|
3579
|
+
onMounted(()=>{
|
|
3580
|
+
emit('modalId',modalId);
|
|
3581
|
+
});
|
|
3582
|
+
|
|
3583
|
+
const fieldChanged = (field, value)=>{
|
|
3584
|
+
emit('fieldChanged',field, value);
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3587
|
+
const formSubmitted = (res)=>{
|
|
3588
|
+
emit('formSubmitted',res);
|
|
3589
|
+
};
|
|
3590
|
+
|
|
3591
|
+
const formError = (res)=>{
|
|
3592
|
+
emit('formError',res);
|
|
3593
|
+
};
|
|
3579
3594
|
|
|
3580
3595
|
return (_ctx, _cache) => {
|
|
3581
3596
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -3591,7 +3606,12 @@ return (_ctx, _cache) => {
|
|
|
3591
3606
|
"modal-title": __props.modalTitle
|
|
3592
3607
|
}, {
|
|
3593
3608
|
default: withCtx(() => [
|
|
3594
|
-
createVNode(script$
|
|
3609
|
+
createVNode(script$m, mergeProps({
|
|
3610
|
+
onSuccess: success,
|
|
3611
|
+
onFieldChanged: fieldChanged,
|
|
3612
|
+
onFormSubmitted: formSubmitted,
|
|
3613
|
+
onFormError: formError
|
|
3614
|
+
}, props), null, 16 /* FULL_PROPS */)
|
|
3595
3615
|
]),
|
|
3596
3616
|
_: 1 /* STABLE */
|
|
3597
3617
|
}, 8 /* PROPS */, ["modal-title"])
|