@iankibetsh/shframework 5.5.9 → 5.6.0
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 +34 -28
- package/dist/library.mjs +34 -28
- package/package.json +1 -1
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
.colored-toast.swal2-icon-success {
|
|
3
|
-
background-color: #a5dc86 !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.colored-toast.swal2-icon-error {
|
|
7
|
-
background-color: #f27474 !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.colored-toast.swal2-icon-warning {
|
|
11
|
-
background-color: #f8bb86 !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.colored-toast.swal2-icon-info {
|
|
15
|
-
background-color: #3fc3ee !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.colored-toast.swal2-icon-question {
|
|
19
|
-
background-color: #87adbd !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.colored-toast .swal2-title {
|
|
23
|
-
color: white;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.colored-toast .swal2-close {
|
|
27
|
-
color: white;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.colored-toast .swal2-html-container {
|
|
31
|
-
color: white;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
2
|
.sh-phone{
|
|
35
3
|
display: flex;
|
|
36
4
|
width: 100%;
|
|
@@ -63,6 +31,38 @@
|
|
|
63
31
|
opacity: 0.5;
|
|
64
32
|
}
|
|
65
33
|
|
|
34
|
+
.colored-toast.swal2-icon-success {
|
|
35
|
+
background-color: #a5dc86 !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.colored-toast.swal2-icon-error {
|
|
39
|
+
background-color: #f27474 !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.colored-toast.swal2-icon-warning {
|
|
43
|
+
background-color: #f8bb86 !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.colored-toast.swal2-icon-info {
|
|
47
|
+
background-color: #3fc3ee !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.colored-toast.swal2-icon-question {
|
|
51
|
+
background-color: #87adbd !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.colored-toast .swal2-title {
|
|
55
|
+
color: white;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.colored-toast .swal2-close {
|
|
59
|
+
color: white;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.colored-toast .swal2-html-container {
|
|
63
|
+
color: white;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
66
|
.permissions-main {
|
|
67
67
|
background: #edeff2;
|
|
68
68
|
}
|
package/dist/library.js
CHANGED
|
@@ -3859,7 +3859,11 @@ return (_ctx, _cache) => {
|
|
|
3859
3859
|
|
|
3860
3860
|
script$p.__file = "src/lib/components/ShModal.vue";
|
|
3861
3861
|
|
|
3862
|
-
const _hoisted_1$j = {
|
|
3862
|
+
const _hoisted_1$j = {
|
|
3863
|
+
class: "dropdown sh-dropdown-form",
|
|
3864
|
+
"data-bs-auto-close": "outside",
|
|
3865
|
+
"aria-expanded": "false"
|
|
3866
|
+
};
|
|
3863
3867
|
|
|
3864
3868
|
var script$o = {
|
|
3865
3869
|
__name: 'ShDropDownForm',
|
|
@@ -3907,36 +3911,38 @@ const formError = (res)=>{
|
|
|
3907
3911
|
emit('formError',res);
|
|
3908
3912
|
};
|
|
3909
3913
|
const dropdownId = 'dropdown' + (Math.random() + 1).toString(36).substring(2);
|
|
3914
|
+
const cleanedProp = vue.computed(()=>{
|
|
3915
|
+
const p = {...props};
|
|
3916
|
+
delete p.class;
|
|
3917
|
+
return p
|
|
3918
|
+
});
|
|
3910
3919
|
|
|
3911
3920
|
return (_ctx, _cache) => {
|
|
3912
|
-
return (vue.openBlock(), vue.createElementBlock(
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
key: JSON.stringify(__props.currentData ?? {})
|
|
3936
|
-
}, props), null, 16 /* FULL_PROPS */))
|
|
3937
|
-
])
|
|
3921
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
3922
|
+
vue.createElementVNode("a", {
|
|
3923
|
+
class: vue.normalizeClass(vue.unref(btnClass)),
|
|
3924
|
+
href: "#",
|
|
3925
|
+
role: "button",
|
|
3926
|
+
id: dropdownId,
|
|
3927
|
+
"data-bs-toggle": "dropdown",
|
|
3928
|
+
"data-bs-auto-close": "outside",
|
|
3929
|
+
"aria-expanded": "false"
|
|
3930
|
+
}, [
|
|
3931
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
3932
|
+
], 2 /* CLASS */),
|
|
3933
|
+
vue.createElementVNode("div", {
|
|
3934
|
+
class: "dropdown-menu px-2 py-1",
|
|
3935
|
+
"aria-labelledby": dropdownId
|
|
3936
|
+
}, [
|
|
3937
|
+
(vue.openBlock(), vue.createBlock(script$q, vue.mergeProps({
|
|
3938
|
+
onSuccess: success,
|
|
3939
|
+
onFieldChanged: fieldChanged,
|
|
3940
|
+
onFormSubmitted: formSubmitted,
|
|
3941
|
+
onFormError: formError,
|
|
3942
|
+
key: JSON.stringify(__props.currentData ?? {})
|
|
3943
|
+
}, cleanedProp.value), null, 16 /* FULL_PROPS */))
|
|
3938
3944
|
])
|
|
3939
|
-
]
|
|
3945
|
+
]))
|
|
3940
3946
|
}
|
|
3941
3947
|
}
|
|
3942
3948
|
|
package/dist/library.mjs
CHANGED
|
@@ -3848,7 +3848,11 @@ return (_ctx, _cache) => {
|
|
|
3848
3848
|
|
|
3849
3849
|
script$p.__file = "src/lib/components/ShModal.vue";
|
|
3850
3850
|
|
|
3851
|
-
const _hoisted_1$j = {
|
|
3851
|
+
const _hoisted_1$j = {
|
|
3852
|
+
class: "dropdown sh-dropdown-form",
|
|
3853
|
+
"data-bs-auto-close": "outside",
|
|
3854
|
+
"aria-expanded": "false"
|
|
3855
|
+
};
|
|
3852
3856
|
|
|
3853
3857
|
var script$o = {
|
|
3854
3858
|
__name: 'ShDropDownForm',
|
|
@@ -3896,36 +3900,38 @@ const formError = (res)=>{
|
|
|
3896
3900
|
emit('formError',res);
|
|
3897
3901
|
};
|
|
3898
3902
|
const dropdownId = 'dropdown' + (Math.random() + 1).toString(36).substring(2);
|
|
3903
|
+
const cleanedProp = computed(()=>{
|
|
3904
|
+
const p = {...props};
|
|
3905
|
+
delete p.class;
|
|
3906
|
+
return p
|
|
3907
|
+
});
|
|
3899
3908
|
|
|
3900
3909
|
return (_ctx, _cache) => {
|
|
3901
|
-
return (openBlock(), createElementBlock(
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
key: JSON.stringify(__props.currentData ?? {})
|
|
3925
|
-
}, props), null, 16 /* FULL_PROPS */))
|
|
3926
|
-
])
|
|
3910
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
3911
|
+
createElementVNode("a", {
|
|
3912
|
+
class: normalizeClass(unref(btnClass)),
|
|
3913
|
+
href: "#",
|
|
3914
|
+
role: "button",
|
|
3915
|
+
id: dropdownId,
|
|
3916
|
+
"data-bs-toggle": "dropdown",
|
|
3917
|
+
"data-bs-auto-close": "outside",
|
|
3918
|
+
"aria-expanded": "false"
|
|
3919
|
+
}, [
|
|
3920
|
+
renderSlot(_ctx.$slots, "default")
|
|
3921
|
+
], 2 /* CLASS */),
|
|
3922
|
+
createElementVNode("div", {
|
|
3923
|
+
class: "dropdown-menu px-2 py-1",
|
|
3924
|
+
"aria-labelledby": dropdownId
|
|
3925
|
+
}, [
|
|
3926
|
+
(openBlock(), createBlock(script$q, mergeProps({
|
|
3927
|
+
onSuccess: success,
|
|
3928
|
+
onFieldChanged: fieldChanged,
|
|
3929
|
+
onFormSubmitted: formSubmitted,
|
|
3930
|
+
onFormError: formError,
|
|
3931
|
+
key: JSON.stringify(__props.currentData ?? {})
|
|
3932
|
+
}, cleanedProp.value), null, 16 /* FULL_PROPS */))
|
|
3927
3933
|
])
|
|
3928
|
-
]
|
|
3934
|
+
]))
|
|
3929
3935
|
}
|
|
3930
3936
|
}
|
|
3931
3937
|
|