@iankibetsh/shframework 0.6.3 → 0.6.5
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 +6 -6
- package/dist/library.mjs +6 -6
- package/package.json +1 -1
|
@@ -31,6 +31,21 @@
|
|
|
31
31
|
opacity: 0.5;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.sh-selected-item{
|
|
35
|
+
line-height: unset!important;
|
|
36
|
+
}
|
|
37
|
+
.sh-suggestion-input{
|
|
38
|
+
padding: 0.375rem 0.75rem;
|
|
39
|
+
}
|
|
40
|
+
.sh-suggest{
|
|
41
|
+
margin-bottom: 1rem;
|
|
42
|
+
}
|
|
43
|
+
.sh-suggest-control::after{
|
|
44
|
+
margin-top: auto;
|
|
45
|
+
margin-bottom: auto;
|
|
46
|
+
margin-right: 0.255em;
|
|
47
|
+
}
|
|
48
|
+
|
|
34
49
|
:root {
|
|
35
50
|
--ck-z-default: 10555 !important;
|
|
36
51
|
--ck-z-modal: calc(var(--ck-z-default) + 999) !important;
|
|
@@ -51,18 +66,3 @@
|
|
|
51
66
|
width: 100% !important;
|
|
52
67
|
}
|
|
53
68
|
}
|
|
54
|
-
|
|
55
|
-
.sh-selected-item{
|
|
56
|
-
line-height: unset!important;
|
|
57
|
-
}
|
|
58
|
-
.sh-suggestion-input{
|
|
59
|
-
padding: 0.375rem 0.75rem;
|
|
60
|
-
}
|
|
61
|
-
.sh-suggest{
|
|
62
|
-
margin-bottom: 1rem;
|
|
63
|
-
}
|
|
64
|
-
.sh-suggest-control::after{
|
|
65
|
-
margin-top: auto;
|
|
66
|
-
margin-bottom: auto;
|
|
67
|
-
margin-right: 0.255em;
|
|
68
|
-
}
|
package/dist/library.js
CHANGED
|
@@ -1888,6 +1888,7 @@ return (_ctx, _cache) => {
|
|
|
1888
1888
|
vue.createElementVNode("div", {
|
|
1889
1889
|
id: 'input_' + vue.unref(id),
|
|
1890
1890
|
contenteditable: "true",
|
|
1891
|
+
onClick: filterData,
|
|
1891
1892
|
onInput: filterData,
|
|
1892
1893
|
class: "flex-fill h-100 sh-suggestion-input"
|
|
1893
1894
|
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$7)
|
|
@@ -2965,7 +2966,7 @@ function formatDate(date, format) {
|
|
|
2965
2966
|
return moment__default["default"](date).format(format)
|
|
2966
2967
|
}
|
|
2967
2968
|
|
|
2968
|
-
var shRepo
|
|
2969
|
+
var shRepo = {
|
|
2969
2970
|
swalSuccess,
|
|
2970
2971
|
swalError,
|
|
2971
2972
|
runPlainRequest,
|
|
@@ -3116,7 +3117,7 @@ var script$4 = {
|
|
|
3116
3117
|
console.log(reason);
|
|
3117
3118
|
this.downloading = false;
|
|
3118
3119
|
const error = (typeof reason.response === 'undefined') ? 'Error getting data from backend' : `${reason.response.status}:${reason.response.statusText}`;
|
|
3119
|
-
shRepo
|
|
3120
|
+
shRepo.swalError('Error', error);
|
|
3120
3121
|
});
|
|
3121
3122
|
},
|
|
3122
3123
|
reloadData: function (page, append) {
|
|
@@ -3195,7 +3196,7 @@ var script$4 = {
|
|
|
3195
3196
|
}
|
|
3196
3197
|
};
|
|
3197
3198
|
|
|
3198
|
-
const _hoisted_1$4 = { class: "auto-table" };
|
|
3199
|
+
const _hoisted_1$4 = { class: "auto-table mt-2" };
|
|
3199
3200
|
const _hoisted_2$4 = {
|
|
3200
3201
|
key: 0,
|
|
3201
3202
|
class: "col-md-4 mb-2"
|
|
@@ -4201,8 +4202,7 @@ return (_ctx, _cache) => {
|
|
|
4201
4202
|
"fill-selects": {
|
|
4202
4203
|
permission_module: {
|
|
4203
4204
|
url: 'admin/departments/department/list-pending-modules/' + id.value,
|
|
4204
|
-
suggests: true
|
|
4205
|
-
allowMultiple: true
|
|
4205
|
+
suggests: true
|
|
4206
4206
|
}
|
|
4207
4207
|
},
|
|
4208
4208
|
fields: ['permission_module'],
|
|
@@ -4292,6 +4292,6 @@ exports.ShPhone = script$b;
|
|
|
4292
4292
|
exports.ShTable = script$4;
|
|
4293
4293
|
exports.ShTabs = script$3;
|
|
4294
4294
|
exports.shApis = shApis;
|
|
4295
|
-
exports.shRepo = shRepo
|
|
4295
|
+
exports.shRepo = shRepo;
|
|
4296
4296
|
exports.shStorage = ShStorage;
|
|
4297
4297
|
exports.useUserStore = useUserStore;
|
package/dist/library.mjs
CHANGED
|
@@ -1876,6 +1876,7 @@ return (_ctx, _cache) => {
|
|
|
1876
1876
|
createElementVNode("div", {
|
|
1877
1877
|
id: 'input_' + unref(id),
|
|
1878
1878
|
contenteditable: "true",
|
|
1879
|
+
onClick: filterData,
|
|
1879
1880
|
onInput: filterData,
|
|
1880
1881
|
class: "flex-fill h-100 sh-suggestion-input"
|
|
1881
1882
|
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$7)
|
|
@@ -2953,7 +2954,7 @@ function formatDate(date, format) {
|
|
|
2953
2954
|
return moment(date).format(format)
|
|
2954
2955
|
}
|
|
2955
2956
|
|
|
2956
|
-
var shRepo
|
|
2957
|
+
var shRepo = {
|
|
2957
2958
|
swalSuccess,
|
|
2958
2959
|
swalError,
|
|
2959
2960
|
runPlainRequest,
|
|
@@ -3104,7 +3105,7 @@ var script$4 = {
|
|
|
3104
3105
|
console.log(reason);
|
|
3105
3106
|
this.downloading = false;
|
|
3106
3107
|
const error = (typeof reason.response === 'undefined') ? 'Error getting data from backend' : `${reason.response.status}:${reason.response.statusText}`;
|
|
3107
|
-
shRepo
|
|
3108
|
+
shRepo.swalError('Error', error);
|
|
3108
3109
|
});
|
|
3109
3110
|
},
|
|
3110
3111
|
reloadData: function (page, append) {
|
|
@@ -3183,7 +3184,7 @@ var script$4 = {
|
|
|
3183
3184
|
}
|
|
3184
3185
|
};
|
|
3185
3186
|
|
|
3186
|
-
const _hoisted_1$4 = { class: "auto-table" };
|
|
3187
|
+
const _hoisted_1$4 = { class: "auto-table mt-2" };
|
|
3187
3188
|
const _hoisted_2$4 = {
|
|
3188
3189
|
key: 0,
|
|
3189
3190
|
class: "col-md-4 mb-2"
|
|
@@ -4189,8 +4190,7 @@ return (_ctx, _cache) => {
|
|
|
4189
4190
|
"fill-selects": {
|
|
4190
4191
|
permission_module: {
|
|
4191
4192
|
url: 'admin/departments/department/list-pending-modules/' + id.value,
|
|
4192
|
-
suggests: true
|
|
4193
|
-
allowMultiple: true
|
|
4193
|
+
suggests: true
|
|
4194
4194
|
}
|
|
4195
4195
|
},
|
|
4196
4196
|
fields: ['permission_module'],
|
|
@@ -4271,4 +4271,4 @@ const ShFrontend = {
|
|
|
4271
4271
|
}
|
|
4272
4272
|
};
|
|
4273
4273
|
|
|
4274
|
-
export { script$7 as ShCanvas, script$2 as ShDynamicTabs, script$8 as ShForm, ShFrontend, script$6 as ShModal, script$b as ShPhone, script$4 as ShTable, script$3 as ShTabs, shApis, shRepo
|
|
4274
|
+
export { script$7 as ShCanvas, script$2 as ShDynamicTabs, script$8 as ShForm, ShFrontend, script$6 as ShModal, script$b as ShPhone, script$4 as ShTable, script$3 as ShTabs, shApis, shRepo, ShStorage as shStorage, useUserStore };
|