@iankibetsh/shframework 0.6.4 → 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 +5 -6
- package/dist/library.mjs +5 -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
|
@@ -2966,7 +2966,7 @@ function formatDate(date, format) {
|
|
|
2966
2966
|
return moment__default["default"](date).format(format)
|
|
2967
2967
|
}
|
|
2968
2968
|
|
|
2969
|
-
var shRepo
|
|
2969
|
+
var shRepo = {
|
|
2970
2970
|
swalSuccess,
|
|
2971
2971
|
swalError,
|
|
2972
2972
|
runPlainRequest,
|
|
@@ -3117,7 +3117,7 @@ var script$4 = {
|
|
|
3117
3117
|
console.log(reason);
|
|
3118
3118
|
this.downloading = false;
|
|
3119
3119
|
const error = (typeof reason.response === 'undefined') ? 'Error getting data from backend' : `${reason.response.status}:${reason.response.statusText}`;
|
|
3120
|
-
shRepo
|
|
3120
|
+
shRepo.swalError('Error', error);
|
|
3121
3121
|
});
|
|
3122
3122
|
},
|
|
3123
3123
|
reloadData: function (page, append) {
|
|
@@ -3196,7 +3196,7 @@ var script$4 = {
|
|
|
3196
3196
|
}
|
|
3197
3197
|
};
|
|
3198
3198
|
|
|
3199
|
-
const _hoisted_1$4 = { class: "auto-table" };
|
|
3199
|
+
const _hoisted_1$4 = { class: "auto-table mt-2" };
|
|
3200
3200
|
const _hoisted_2$4 = {
|
|
3201
3201
|
key: 0,
|
|
3202
3202
|
class: "col-md-4 mb-2"
|
|
@@ -4202,8 +4202,7 @@ return (_ctx, _cache) => {
|
|
|
4202
4202
|
"fill-selects": {
|
|
4203
4203
|
permission_module: {
|
|
4204
4204
|
url: 'admin/departments/department/list-pending-modules/' + id.value,
|
|
4205
|
-
suggests: true
|
|
4206
|
-
allowMultiple: true
|
|
4205
|
+
suggests: true
|
|
4207
4206
|
}
|
|
4208
4207
|
},
|
|
4209
4208
|
fields: ['permission_module'],
|
|
@@ -4293,6 +4292,6 @@ exports.ShPhone = script$b;
|
|
|
4293
4292
|
exports.ShTable = script$4;
|
|
4294
4293
|
exports.ShTabs = script$3;
|
|
4295
4294
|
exports.shApis = shApis;
|
|
4296
|
-
exports.shRepo = shRepo
|
|
4295
|
+
exports.shRepo = shRepo;
|
|
4297
4296
|
exports.shStorage = ShStorage;
|
|
4298
4297
|
exports.useUserStore = useUserStore;
|
package/dist/library.mjs
CHANGED
|
@@ -2954,7 +2954,7 @@ function formatDate(date, format) {
|
|
|
2954
2954
|
return moment(date).format(format)
|
|
2955
2955
|
}
|
|
2956
2956
|
|
|
2957
|
-
var shRepo
|
|
2957
|
+
var shRepo = {
|
|
2958
2958
|
swalSuccess,
|
|
2959
2959
|
swalError,
|
|
2960
2960
|
runPlainRequest,
|
|
@@ -3105,7 +3105,7 @@ var script$4 = {
|
|
|
3105
3105
|
console.log(reason);
|
|
3106
3106
|
this.downloading = false;
|
|
3107
3107
|
const error = (typeof reason.response === 'undefined') ? 'Error getting data from backend' : `${reason.response.status}:${reason.response.statusText}`;
|
|
3108
|
-
shRepo
|
|
3108
|
+
shRepo.swalError('Error', error);
|
|
3109
3109
|
});
|
|
3110
3110
|
},
|
|
3111
3111
|
reloadData: function (page, append) {
|
|
@@ -3184,7 +3184,7 @@ var script$4 = {
|
|
|
3184
3184
|
}
|
|
3185
3185
|
};
|
|
3186
3186
|
|
|
3187
|
-
const _hoisted_1$4 = { class: "auto-table" };
|
|
3187
|
+
const _hoisted_1$4 = { class: "auto-table mt-2" };
|
|
3188
3188
|
const _hoisted_2$4 = {
|
|
3189
3189
|
key: 0,
|
|
3190
3190
|
class: "col-md-4 mb-2"
|
|
@@ -4190,8 +4190,7 @@ return (_ctx, _cache) => {
|
|
|
4190
4190
|
"fill-selects": {
|
|
4191
4191
|
permission_module: {
|
|
4192
4192
|
url: 'admin/departments/department/list-pending-modules/' + id.value,
|
|
4193
|
-
suggests: true
|
|
4194
|
-
allowMultiple: true
|
|
4193
|
+
suggests: true
|
|
4195
4194
|
}
|
|
4196
4195
|
},
|
|
4197
4196
|
fields: ['permission_module'],
|
|
@@ -4272,4 +4271,4 @@ const ShFrontend = {
|
|
|
4272
4271
|
}
|
|
4273
4272
|
};
|
|
4274
4273
|
|
|
4275
|
-
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 };
|