@iankibetsh/shframework 4.0.7 → 4.0.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.
@@ -63,6 +63,21 @@
63
63
  color: white;
64
64
  }
65
65
 
66
+ .sh-selected-item{
67
+ line-height: unset!important;
68
+ }
69
+ .sh-suggestion-input{
70
+ padding: 0.375rem 0.75rem;
71
+ }
72
+ .sh-suggest{
73
+ margin-bottom: 1rem;
74
+ }
75
+ .sh-suggest-control::after{
76
+ margin-top: auto;
77
+ margin-bottom: auto;
78
+ margin-right: 0.255em;
79
+ }
80
+
66
81
  .permissions-main {
67
82
  background: #edeff2;
68
83
  }
@@ -95,21 +110,6 @@
95
110
  flex-grow: 1;
96
111
  }
97
112
 
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
- }
107
- .sh-suggest-control::after{
108
- margin-top: auto;
109
- margin-bottom: auto;
110
- margin-right: 0.255em;
111
- }
112
-
113
113
  .sh-forgot-link, .sh-register-link{
114
114
  cursor: pointer;
115
115
  }
package/dist/library.js CHANGED
@@ -221,7 +221,11 @@ async function runPlainRequest(url, message, title, data){
221
221
  }
222
222
  })
223
223
  .catch(error => {
224
- throw new Error(error)
224
+ return {
225
+ success: false,
226
+ error: error,
227
+ message: error.message
228
+ }
225
229
  })
226
230
  },
227
231
  allowOutsideClick: () => !Swal__default["default"].isLoading()
package/dist/library.mjs CHANGED
@@ -209,7 +209,11 @@ async function runPlainRequest(url, message, title, data){
209
209
  }
210
210
  })
211
211
  .catch(error => {
212
- throw new Error(error)
212
+ return {
213
+ success: false,
214
+ error: error,
215
+ message: error.message
216
+ }
213
217
  })
214
218
  },
215
219
  allowOutsideClick: () => !Swal.isLoading()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.0.7",
3
+ "version": "4.0.9",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",