@iankibetsh/shframework 4.5.7 → 4.5.9
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 +14 -2
- package/dist/library.mjs +14 -2
- package/package.json +1 -1
|
@@ -31,38 +31,6 @@
|
|
|
31
31
|
opacity: 0.5;
|
|
32
32
|
}
|
|
33
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
34
|
.permissions-main {
|
|
67
35
|
background: #edeff2;
|
|
68
36
|
}
|
|
@@ -95,6 +63,38 @@
|
|
|
95
63
|
flex-grow: 1;
|
|
96
64
|
}
|
|
97
65
|
|
|
66
|
+
.colored-toast.swal2-icon-success {
|
|
67
|
+
background-color: #a5dc86 !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.colored-toast.swal2-icon-error {
|
|
71
|
+
background-color: #f27474 !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.colored-toast.swal2-icon-warning {
|
|
75
|
+
background-color: #f8bb86 !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.colored-toast.swal2-icon-info {
|
|
79
|
+
background-color: #3fc3ee !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.colored-toast.swal2-icon-question {
|
|
83
|
+
background-color: #87adbd !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.colored-toast .swal2-title {
|
|
87
|
+
color: white;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.colored-toast .swal2-close {
|
|
91
|
+
color: white;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.colored-toast .swal2-html-container {
|
|
95
|
+
color: white;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
98
|
.sh-selected-item{
|
|
99
99
|
line-height: unset!important;
|
|
100
100
|
}
|
package/dist/library.js
CHANGED
|
@@ -268,6 +268,16 @@ const hideModal = modalId => {
|
|
|
268
268
|
modal.hide();
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
+
const showOffCanvas = offCanvasId => {
|
|
272
|
+
const offCanvas = new bootstrap.Offcanvas(document.getElementById(offCanvasId));
|
|
273
|
+
offCanvas.show();
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
const hideOffCanvas = offCanvasId => {
|
|
277
|
+
const offCanvas = new bootstrap.Offcanvas(document.getElementById(offCanvasId));
|
|
278
|
+
offCanvas.hide();
|
|
279
|
+
};
|
|
280
|
+
|
|
271
281
|
var shRepo = {
|
|
272
282
|
swalSuccess,
|
|
273
283
|
swalError,
|
|
@@ -284,7 +294,9 @@ var shRepo = {
|
|
|
284
294
|
formatNumber,
|
|
285
295
|
signOutUser,
|
|
286
296
|
showModal,
|
|
287
|
-
hideModal
|
|
297
|
+
hideModal,
|
|
298
|
+
showOffCanvas,
|
|
299
|
+
hideOffCanvas
|
|
288
300
|
};
|
|
289
301
|
|
|
290
302
|
startSession();
|
|
@@ -3757,7 +3769,7 @@ var script$m = {
|
|
|
3757
3769
|
},
|
|
3758
3770
|
centered: {
|
|
3759
3771
|
type: Boolean,
|
|
3760
|
-
default:
|
|
3772
|
+
default: false
|
|
3761
3773
|
}
|
|
3762
3774
|
},
|
|
3763
3775
|
emits: ['modalClosed'],
|
package/dist/library.mjs
CHANGED
|
@@ -256,6 +256,16 @@ const hideModal = modalId => {
|
|
|
256
256
|
modal.hide();
|
|
257
257
|
};
|
|
258
258
|
|
|
259
|
+
const showOffCanvas = offCanvasId => {
|
|
260
|
+
const offCanvas = new Offcanvas(document.getElementById(offCanvasId));
|
|
261
|
+
offCanvas.show();
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
const hideOffCanvas = offCanvasId => {
|
|
265
|
+
const offCanvas = new Offcanvas(document.getElementById(offCanvasId));
|
|
266
|
+
offCanvas.hide();
|
|
267
|
+
};
|
|
268
|
+
|
|
259
269
|
var shRepo = {
|
|
260
270
|
swalSuccess,
|
|
261
271
|
swalError,
|
|
@@ -272,7 +282,9 @@ var shRepo = {
|
|
|
272
282
|
formatNumber,
|
|
273
283
|
signOutUser,
|
|
274
284
|
showModal,
|
|
275
|
-
hideModal
|
|
285
|
+
hideModal,
|
|
286
|
+
showOffCanvas,
|
|
287
|
+
hideOffCanvas
|
|
276
288
|
};
|
|
277
289
|
|
|
278
290
|
startSession();
|
|
@@ -3745,7 +3757,7 @@ var script$m = {
|
|
|
3745
3757
|
},
|
|
3746
3758
|
centered: {
|
|
3747
3759
|
type: Boolean,
|
|
3748
|
-
default:
|
|
3760
|
+
default: false
|
|
3749
3761
|
}
|
|
3750
3762
|
},
|
|
3751
3763
|
emits: ['modalClosed'],
|