@iankibetsh/shframework 1.8.6 → 1.8.7

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.
@@ -1,36 +1,4 @@
1
1
 
2
- .colored-toast.swal2-icon-success {
3
- background-color: #a5dc86 !important;
4
- }
5
-
6
- .colored-toast.swal2-icon-error {
7
- background-color: #f27474 !important;
8
- }
9
-
10
- .colored-toast.swal2-icon-warning {
11
- background-color: #f8bb86 !important;
12
- }
13
-
14
- .colored-toast.swal2-icon-info {
15
- background-color: #3fc3ee !important;
16
- }
17
-
18
- .colored-toast.swal2-icon-question {
19
- background-color: #87adbd !important;
20
- }
21
-
22
- .colored-toast .swal2-title {
23
- color: white;
24
- }
25
-
26
- .colored-toast .swal2-close {
27
- color: white;
28
- }
29
-
30
- .colored-toast .swal2-html-container {
31
- color: white;
32
- }
33
-
34
2
  .sh-phone{
35
3
  display: flex;
36
4
  width: 100%;
@@ -63,6 +31,38 @@
63
31
  opacity: 0.5;
64
32
  }
65
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
66
  .permissions-main {
67
67
  background: #edeff2;
68
68
  }
package/dist/library.js CHANGED
@@ -5015,7 +5015,8 @@ const tabExistsInUrl = () => {
5015
5015
  const setCounts = (res) => {
5016
5016
  Object.keys(res).forEach(key => {
5017
5017
  let elem = document.getElementsByClassName('sh_tab_' + key);
5018
- if (elem) {
5018
+ if (elem.length > 0) {
5019
+ elem = elem[0];
5019
5020
  let txt = elem.innerHTML;
5020
5021
  txt = txt.split('<i class="d-none"></i>')[0];
5021
5022
  if (parseInt(res[key]) > 0) {
package/dist/library.mjs CHANGED
@@ -5003,7 +5003,8 @@ const tabExistsInUrl = () => {
5003
5003
  const setCounts = (res) => {
5004
5004
  Object.keys(res).forEach(key => {
5005
5005
  let elem = document.getElementsByClassName('sh_tab_' + key);
5006
- if (elem) {
5006
+ if (elem.length > 0) {
5007
+ elem = elem[0];
5007
5008
  let txt = elem.innerHTML;
5008
5009
  txt = txt.split('<i class="d-none"></i>')[0];
5009
5010
  if (parseInt(res[key]) > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",