@iankibetsh/shframework 4.6.9 → 4.7.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.
@@ -1,4 +1,36 @@
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
+
2
34
  .sh-phone{
3
35
  display: flex;
4
36
  width: 100%;
@@ -31,36 +63,20 @@
31
63
  opacity: 0.5;
32
64
  }
33
65
 
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;
66
+ .sh-selected-item{
67
+ line-height: unset!important;
52
68
  }
53
-
54
- .colored-toast .swal2-title {
55
- color: white;
69
+ .sh-suggestion-input{
70
+ padding: 0.375rem 0.75rem;
56
71
  }
57
-
58
- .colored-toast .swal2-close {
59
- color: white;
72
+ .sh-suggest{
73
+ margin-bottom: 1rem;
74
+ padding: 0rem 0rem;
60
75
  }
61
-
62
- .colored-toast .swal2-html-container {
63
- color: white;
76
+ .sh-suggest-control::after{
77
+ margin-top: auto;
78
+ margin-bottom: auto;
79
+ margin-right: 0.255em;
64
80
  }
65
81
 
66
82
  .permissions-main {
@@ -95,22 +111,6 @@
95
111
  flex-grow: 1;
96
112
  }
97
113
 
98
- .sh-selected-item{
99
- line-height: unset!important;
100
- }
101
- .sh-suggestion-input{
102
- padding: 0.375rem 0.75rem;
103
- }
104
- .sh-suggest{
105
- margin-bottom: 1rem;
106
- padding: 0rem 0rem;
107
- }
108
- .sh-suggest-control::after{
109
- margin-top: auto;
110
- margin-bottom: auto;
111
- margin-right: 0.255em;
112
- }
113
-
114
114
  .callout{
115
115
  --bs-link-color-rgb: 110,168,254;
116
116
  --bs-code-color: #e685b5;
package/dist/library.js CHANGED
@@ -6266,13 +6266,15 @@ const useAppStore = pinia.defineStore('sh-app',{
6266
6266
  }
6267
6267
  },
6268
6268
  actions: {
6269
- refreshPage () {
6270
- this.refreshKey++;
6269
+ refreshPage (timeout=0) {
6270
+ setTimeout(()=>{
6271
+ this.refreshKey++;
6272
+ },timeout);
6273
+
6271
6274
  return true
6272
6275
  },
6273
- refresh () {
6274
- this.refreshKey++;
6275
- return true
6276
+ refresh (timeout=0) {
6277
+ this.refreshPage(timeout);
6276
6278
  },
6277
6279
  reload () {
6278
6280
  this.refreshKey++;
package/dist/library.mjs CHANGED
@@ -6254,13 +6254,15 @@ const useAppStore = defineStore('sh-app',{
6254
6254
  }
6255
6255
  },
6256
6256
  actions: {
6257
- refreshPage () {
6258
- this.refreshKey++;
6257
+ refreshPage (timeout=0) {
6258
+ setTimeout(()=>{
6259
+ this.refreshKey++;
6260
+ },timeout);
6261
+
6259
6262
  return true
6260
6263
  },
6261
- refresh () {
6262
- this.refreshKey++;
6263
- return true
6264
+ refresh (timeout=0) {
6265
+ this.refreshPage(timeout);
6264
6266
  },
6265
6267
  reload () {
6266
6268
  this.refreshKey++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.6.9",
3
+ "version": "4.7.0",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",
@@ -22,7 +22,6 @@
22
22
  "author": "",
23
23
  "license": "ISC",
24
24
  "peerDependencies": {
25
- "axios": "^0.27.2",
26
25
  "bootstrap": "^5.3.0-alpha1",
27
26
  "bootstrap-icons": "^1.9.1",
28
27
  "lodash": "^4.17.21",