@iankibetsh/shframework 4.5.1 → 4.5.2

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
- .sh-phone{
3
- display: flex;
4
- width: 100%;
5
- align-items: center;
6
- padding: 0 0.25rem;
7
- }
8
- .phone-country{
9
- width: 2rem;
10
- border: none;
11
- align-self: center;
12
- outline: none !important;
13
- padding: 0.4rem;
14
- border-right: 1px solid #0003;
15
- }
16
- .phone-number{
17
- width: calc(100% - 2.2rem);
18
- border: none;
19
- align-self: center;
20
- outline: none;
21
- margin-bottom: 0;
22
- padding: 0.4rem;
23
- }
24
- .sh-phone img{
25
- padding: 0.125rem;
26
- width: 2rem;
27
- height: 2rem;
28
- }
29
- .phone-number::placeholder{
30
- font-weight: 300;
31
- opacity: 0.5;
32
- }
33
-
34
2
  .colored-toast.swal2-icon-success {
35
3
  background-color: #a5dc86 !important;
36
4
  }
@@ -95,6 +63,38 @@
95
63
  flex-grow: 1;
96
64
  }
97
65
 
66
+ .sh-phone{
67
+ display: flex;
68
+ width: 100%;
69
+ align-items: center;
70
+ padding: 0 0.25rem;
71
+ }
72
+ .phone-country{
73
+ width: 2rem;
74
+ border: none;
75
+ align-self: center;
76
+ outline: none !important;
77
+ padding: 0.4rem;
78
+ border-right: 1px solid #0003;
79
+ }
80
+ .phone-number{
81
+ width: calc(100% - 2.2rem);
82
+ border: none;
83
+ align-self: center;
84
+ outline: none;
85
+ margin-bottom: 0;
86
+ padding: 0.4rem;
87
+ }
88
+ .sh-phone img{
89
+ padding: 0.125rem;
90
+ width: 2rem;
91
+ height: 2rem;
92
+ }
93
+ .phone-number::placeholder{
94
+ font-weight: 300;
95
+ opacity: 0.5;
96
+ }
97
+
98
98
  .sh-selected-item{
99
99
  line-height: unset!important;
100
100
  }
package/dist/library.js CHANGED
@@ -3932,7 +3932,7 @@ const useUserStore = pinia.defineStore('user-store', {
3932
3932
  } else {
3933
3933
  permissions = this.permissions;
3934
3934
  }
3935
- return !!permissions[slug]
3935
+ return permissions.includes(slug)
3936
3936
  }
3937
3937
  return false
3938
3938
  };
@@ -3958,7 +3958,7 @@ const useUserStore = pinia.defineStore('user-store', {
3958
3958
  } else {
3959
3959
  permissions = this.permissions;
3960
3960
  }
3961
- return !!permissions[slug]
3961
+ return permissions.includes(slug)
3962
3962
  }
3963
3963
  return false
3964
3964
  };
package/dist/library.mjs CHANGED
@@ -3920,7 +3920,7 @@ const useUserStore = defineStore('user-store', {
3920
3920
  } else {
3921
3921
  permissions = this.permissions;
3922
3922
  }
3923
- return !!permissions[slug]
3923
+ return permissions.includes(slug)
3924
3924
  }
3925
3925
  return false
3926
3926
  };
@@ -3946,7 +3946,7 @@ const useUserStore = defineStore('user-store', {
3946
3946
  } else {
3947
3947
  permissions = this.permissions;
3948
3948
  }
3949
- return !!permissions[slug]
3949
+ return permissions.includes(slug)
3950
3950
  }
3951
3951
  return false
3952
3952
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",