@iankibetsh/shframework 4.7.1 → 4.7.3
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 +9 -1
- package/dist/library.mjs +9 -1
- 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
|
@@ -6279,7 +6279,13 @@ const useAppStore = pinia.defineStore('sh-app',{
|
|
|
6279
6279
|
reload () {
|
|
6280
6280
|
this.refreshKey++;
|
|
6281
6281
|
return true
|
|
6282
|
-
}
|
|
6282
|
+
},
|
|
6283
|
+
setItem (key,value) {
|
|
6284
|
+
this.appData[key] = value;
|
|
6285
|
+
},
|
|
6286
|
+
getItem (key) {
|
|
6287
|
+
return this.appData[key]
|
|
6288
|
+
},
|
|
6283
6289
|
}
|
|
6284
6290
|
});
|
|
6285
6291
|
|
|
@@ -7264,6 +7270,7 @@ const ShFrontend = {
|
|
|
7264
7270
|
const forgotEndpoint = options.forgotEndpoint ?? 'auth/forgot-password';
|
|
7265
7271
|
const registerTitle = options.registerTitle ?? 'Create a new account';
|
|
7266
7272
|
const registerSubTitle = options.registerSubTitle ?? `It's quick and easy`;
|
|
7273
|
+
const loginTitle = options.loginTitle ?? `Login to your account`;
|
|
7267
7274
|
const logoutApiEndpoint = options.logoutApiEndpoint ?? `auth/logout`;
|
|
7268
7275
|
options.formTextInput ?? script$t;
|
|
7269
7276
|
const loginUrl = options.loginUrl ?? `/login`;
|
|
@@ -7278,6 +7285,7 @@ const ShFrontend = {
|
|
|
7278
7285
|
app.provide('registerTitle', registerTitle);
|
|
7279
7286
|
app.provide('registerSubTitle', registerSubTitle);
|
|
7280
7287
|
app.provide('redirectLogin', redirectLogin);
|
|
7288
|
+
app.provide('loginTitle', loginTitle);
|
|
7281
7289
|
app.provide('redirectRegister', redirectRegister);
|
|
7282
7290
|
app.provide('logoutApiEndpoint', logoutApiEndpoint);
|
|
7283
7291
|
app.provide('formComponents', options.shFormComponents ?? {});
|
package/dist/library.mjs
CHANGED
|
@@ -6267,7 +6267,13 @@ const useAppStore = defineStore('sh-app',{
|
|
|
6267
6267
|
reload () {
|
|
6268
6268
|
this.refreshKey++;
|
|
6269
6269
|
return true
|
|
6270
|
-
}
|
|
6270
|
+
},
|
|
6271
|
+
setItem (key,value) {
|
|
6272
|
+
this.appData[key] = value;
|
|
6273
|
+
},
|
|
6274
|
+
getItem (key) {
|
|
6275
|
+
return this.appData[key]
|
|
6276
|
+
},
|
|
6271
6277
|
}
|
|
6272
6278
|
});
|
|
6273
6279
|
|
|
@@ -7252,6 +7258,7 @@ const ShFrontend = {
|
|
|
7252
7258
|
const forgotEndpoint = options.forgotEndpoint ?? 'auth/forgot-password';
|
|
7253
7259
|
const registerTitle = options.registerTitle ?? 'Create a new account';
|
|
7254
7260
|
const registerSubTitle = options.registerSubTitle ?? `It's quick and easy`;
|
|
7261
|
+
const loginTitle = options.loginTitle ?? `Login to your account`;
|
|
7255
7262
|
const logoutApiEndpoint = options.logoutApiEndpoint ?? `auth/logout`;
|
|
7256
7263
|
options.formTextInput ?? script$t;
|
|
7257
7264
|
const loginUrl = options.loginUrl ?? `/login`;
|
|
@@ -7266,6 +7273,7 @@ const ShFrontend = {
|
|
|
7266
7273
|
app.provide('registerTitle', registerTitle);
|
|
7267
7274
|
app.provide('registerSubTitle', registerSubTitle);
|
|
7268
7275
|
app.provide('redirectLogin', redirectLogin);
|
|
7276
|
+
app.provide('loginTitle', loginTitle);
|
|
7269
7277
|
app.provide('redirectRegister', redirectRegister);
|
|
7270
7278
|
app.provide('logoutApiEndpoint', logoutApiEndpoint);
|
|
7271
7279
|
app.provide('formComponents', options.shFormComponents ?? {});
|