@iankibetsh/shframework 4.5.9 → 4.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 +3 -2
- package/dist/library.mjs +3 -2
- package/package.json +1 -1
|
@@ -31,38 +31,6 @@
|
|
|
31
31
|
opacity: 0.5;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.permissions-main {
|
|
35
|
-
background: #edeff2;
|
|
36
|
-
}
|
|
37
|
-
.permissions-main div#permissions-nav {
|
|
38
|
-
padding: 0;
|
|
39
|
-
}
|
|
40
|
-
.permissions-main div#permissions-nav ul {
|
|
41
|
-
padding-left: 0;
|
|
42
|
-
max-height: 400px;
|
|
43
|
-
overflow-y: auto;
|
|
44
|
-
}
|
|
45
|
-
.permissions-main div#permissions-nav ul li.active {
|
|
46
|
-
border-right: none !important;
|
|
47
|
-
position: relative;
|
|
48
|
-
top: 0;
|
|
49
|
-
left: 0;
|
|
50
|
-
background: #88b3b370;
|
|
51
|
-
border-radius: 10px;
|
|
52
|
-
}
|
|
53
|
-
.permissions-main div#permissions-nav ul li {
|
|
54
|
-
list-style: none;
|
|
55
|
-
padding-inline-start: 10px;
|
|
56
|
-
display: flex;
|
|
57
|
-
gap: 5px;
|
|
58
|
-
}
|
|
59
|
-
.permissions-main div#permissions-nav ul li label {
|
|
60
|
-
padding: 8px 0;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
height: 100%;
|
|
63
|
-
flex-grow: 1;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
34
|
.colored-toast.swal2-icon-success {
|
|
67
35
|
background-color: #a5dc86 !important;
|
|
68
36
|
}
|
|
@@ -95,6 +63,38 @@
|
|
|
95
63
|
color: white;
|
|
96
64
|
}
|
|
97
65
|
|
|
66
|
+
.permissions-main {
|
|
67
|
+
background: #edeff2;
|
|
68
|
+
}
|
|
69
|
+
.permissions-main div#permissions-nav {
|
|
70
|
+
padding: 0;
|
|
71
|
+
}
|
|
72
|
+
.permissions-main div#permissions-nav ul {
|
|
73
|
+
padding-left: 0;
|
|
74
|
+
max-height: 400px;
|
|
75
|
+
overflow-y: auto;
|
|
76
|
+
}
|
|
77
|
+
.permissions-main div#permissions-nav ul li.active {
|
|
78
|
+
border-right: none !important;
|
|
79
|
+
position: relative;
|
|
80
|
+
top: 0;
|
|
81
|
+
left: 0;
|
|
82
|
+
background: #88b3b370;
|
|
83
|
+
border-radius: 10px;
|
|
84
|
+
}
|
|
85
|
+
.permissions-main div#permissions-nav ul li {
|
|
86
|
+
list-style: none;
|
|
87
|
+
padding-inline-start: 10px;
|
|
88
|
+
display: flex;
|
|
89
|
+
gap: 5px;
|
|
90
|
+
}
|
|
91
|
+
.permissions-main div#permissions-nav ul li label {
|
|
92
|
+
padding: 8px 0;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
height: 100%;
|
|
95
|
+
flex-grow: 1;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
98
|
.sh-selected-item{
|
|
99
99
|
line-height: unset!important;
|
|
100
100
|
}
|
package/dist/library.js
CHANGED
|
@@ -5226,6 +5226,7 @@ const noRecordsComponent = vue.inject('noRecordsComponent', script$i);
|
|
|
5226
5226
|
|
|
5227
5227
|
const {user} = pinia.storeToRefs(useUserStore());
|
|
5228
5228
|
|
|
5229
|
+
|
|
5229
5230
|
return (_ctx, _cache) => {
|
|
5230
5231
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
5231
5232
|
|
|
@@ -7257,7 +7258,7 @@ const useShFetch = (url, path, cacheKey) => {
|
|
|
7257
7258
|
* Fetches data from the given URL and updates the status, loading state, error, and data refs.
|
|
7258
7259
|
* If a cacheKey is provided and there is cached data for that key, the cached data is used instead of fetching.
|
|
7259
7260
|
*/
|
|
7260
|
-
const reFetchData = () => {
|
|
7261
|
+
const reFetchData = (dataUrl) => {
|
|
7261
7262
|
loading.value = true;
|
|
7262
7263
|
status.value = 'loading';
|
|
7263
7264
|
if (cacheKey && shStorage.getItem(cacheKey)) {
|
|
@@ -7265,7 +7266,7 @@ const useShFetch = (url, path, cacheKey) => {
|
|
|
7265
7266
|
status.value = 'success';
|
|
7266
7267
|
loading.value = false;
|
|
7267
7268
|
} else {
|
|
7268
|
-
shApis.doGet(url).then(response => {
|
|
7269
|
+
shApis.doGet(dataUrl ?? url).then(response => {
|
|
7269
7270
|
status.value = 'success';
|
|
7270
7271
|
let res = response.data;
|
|
7271
7272
|
if (path) {
|
package/dist/library.mjs
CHANGED
|
@@ -5214,6 +5214,7 @@ const noRecordsComponent = inject('noRecordsComponent', script$i);
|
|
|
5214
5214
|
|
|
5215
5215
|
const {user} = storeToRefs(useUserStore());
|
|
5216
5216
|
|
|
5217
|
+
|
|
5217
5218
|
return (_ctx, _cache) => {
|
|
5218
5219
|
const _component_router_link = resolveComponent("router-link");
|
|
5219
5220
|
|
|
@@ -7245,7 +7246,7 @@ const useShFetch = (url, path, cacheKey) => {
|
|
|
7245
7246
|
* Fetches data from the given URL and updates the status, loading state, error, and data refs.
|
|
7246
7247
|
* If a cacheKey is provided and there is cached data for that key, the cached data is used instead of fetching.
|
|
7247
7248
|
*/
|
|
7248
|
-
const reFetchData = () => {
|
|
7249
|
+
const reFetchData = (dataUrl) => {
|
|
7249
7250
|
loading.value = true;
|
|
7250
7251
|
status.value = 'loading';
|
|
7251
7252
|
if (cacheKey && shStorage.getItem(cacheKey)) {
|
|
@@ -7253,7 +7254,7 @@ const useShFetch = (url, path, cacheKey) => {
|
|
|
7253
7254
|
status.value = 'success';
|
|
7254
7255
|
loading.value = false;
|
|
7255
7256
|
} else {
|
|
7256
|
-
shApis.doGet(url).then(response => {
|
|
7257
|
+
shApis.doGet(dataUrl ?? url).then(response => {
|
|
7257
7258
|
status.value = 'success';
|
|
7258
7259
|
let res = response.data;
|
|
7259
7260
|
if (path) {
|