@bildvitta/quasar-ui-asteroid 3.0.0-beta.7 → 3.0.0-beta.8
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/api/QasSearchBox.json +5 -2
- package/dist/api/QasSelect.json +2 -8
- package/dist/asteroid.cjs.js +9 -17
- package/dist/asteroid.cjs.min.js +2 -2
- package/dist/asteroid.esm.css +1 -1
- package/dist/asteroid.esm.js +9 -17
- package/dist/asteroid.esm.min.js +2 -2
- package/dist/asteroid.umd.js +9 -17
- package/dist/asteroid.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/components/search-box/QasSearchBox.vue +1 -6
- package/src/components/search-box/QasSearchBox.yml +3 -1
- package/src/components/select/QasSelect.vue +1 -7
- package/src/components/select/QasSelect.yml +1 -7
- package/src/components/table-generator/QasTableGenerator.vue +2 -1
- package/src/mixins/view.js +3 -1
- package/src/pages/Forbidden.vue +3 -1
- package/src/pages/NotFound.vue +3 -1
- package/src/pages/ServerError.vue +3 -1
- package/src/pages/Unauthorized.vue +28 -0
|
@@ -11,12 +11,15 @@
|
|
|
11
11
|
},
|
|
12
12
|
"fuse-options": {
|
|
13
13
|
"desc": "Opções do Fuse.js (https://fusejs.io/api/options.html).",
|
|
14
|
-
"default": "{ distance: 100, location: 0, maxPatternLength: 32, minMatchCharLength: 1, shouldSort: true, threshold: 0.1, tokenize: true }",
|
|
15
14
|
"debugger": true,
|
|
16
15
|
"type": "Object",
|
|
17
16
|
"examples": [
|
|
18
17
|
"{ keys: ['label'] }"
|
|
19
|
-
]
|
|
18
|
+
],
|
|
19
|
+
"default": {
|
|
20
|
+
"ignoreLocation": true,
|
|
21
|
+
"threshold": 0.1
|
|
22
|
+
}
|
|
20
23
|
},
|
|
21
24
|
"height": {
|
|
22
25
|
"desc": "Define altura do box quando a lista não está vazia.",
|
package/dist/api/QasSelect.json
CHANGED
|
@@ -12,18 +12,12 @@
|
|
|
12
12
|
"type": "Object",
|
|
13
13
|
"debugger": true,
|
|
14
14
|
"default": {
|
|
15
|
-
"
|
|
16
|
-
"includeScore": true,
|
|
15
|
+
"ignoreLocation": true,
|
|
17
16
|
"keys": [
|
|
18
17
|
"label",
|
|
19
18
|
"value"
|
|
20
19
|
],
|
|
21
|
-
"
|
|
22
|
-
"maxPatternLength": 32,
|
|
23
|
-
"minMatchCharLength": 1,
|
|
24
|
-
"shouldSort": true,
|
|
25
|
-
"threshold": 0.1,
|
|
26
|
-
"tokenize": true
|
|
20
|
+
"threshold": 0.1
|
|
27
21
|
}
|
|
28
22
|
},
|
|
29
23
|
"label-key": {
|
package/dist/asteroid.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @bildvitta/quasar-ui-asteroid v3.0.0-beta.
|
|
2
|
+
* @bildvitta/quasar-ui-asteroid v3.0.0-beta.8
|
|
3
3
|
* (c) 2022 Bild & Vitta <systemteam@bild.com.br>
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5247,7 +5247,9 @@ var viewMixin = {
|
|
|
5247
5247
|
this.$qas.error('Ops! Erro ao obter os dados.', exception);
|
|
5248
5248
|
|
|
5249
5249
|
const status = response?.status;
|
|
5250
|
-
const redirect =
|
|
5250
|
+
const redirect = status >= 500
|
|
5251
|
+
? 'ServerError'
|
|
5252
|
+
: ({ 401: 'Unauthorized', 403: 'Forbidden', 404: 'NotFound' })[status];
|
|
5251
5253
|
|
|
5252
5254
|
if (redirect) {
|
|
5253
5255
|
this.$router.replace({ name: redirect });
|
|
@@ -7579,13 +7581,8 @@ var script$8 = {
|
|
|
7579
7581
|
|
|
7580
7582
|
defaultFuseOptions () {
|
|
7581
7583
|
return {
|
|
7582
|
-
distance: 100,
|
|
7583
|
-
location: 0,
|
|
7584
|
-
maxPatternLength: 32,
|
|
7585
|
-
minMatchCharLength: 1,
|
|
7586
|
-
shouldSort: true,
|
|
7587
7584
|
threshold: 0.1,
|
|
7588
|
-
|
|
7585
|
+
ignoreLocation: true,
|
|
7589
7586
|
|
|
7590
7587
|
...this.fuseOptions
|
|
7591
7588
|
}
|
|
@@ -7771,15 +7768,9 @@ var script$7 = {
|
|
|
7771
7768
|
|
|
7772
7769
|
defaultFuseOptions () {
|
|
7773
7770
|
return {
|
|
7774
|
-
|
|
7775
|
-
includeScore: true,
|
|
7771
|
+
ignoreLocation: true,
|
|
7776
7772
|
keys: ['label', 'value'],
|
|
7777
|
-
location: 0,
|
|
7778
|
-
maxPatternLength: 32,
|
|
7779
|
-
minMatchCharLength: 1,
|
|
7780
|
-
shouldSort: true,
|
|
7781
7773
|
threshold: 0.1,
|
|
7782
|
-
tokenize: true,
|
|
7783
7774
|
|
|
7784
7775
|
...this.fuseOptions
|
|
7785
7776
|
}
|
|
@@ -8610,10 +8601,11 @@ var script$3 = {
|
|
|
8610
8601
|
handleScrollOnGrab () {
|
|
8611
8602
|
const fullTableWidth = this.getFullTableWidth();
|
|
8612
8603
|
const containerTableWidth = this.getContainerTableWidth();
|
|
8604
|
+
const hasScrollOnGrab = !!Object.keys(this.scrollOnGrab).length;
|
|
8613
8605
|
|
|
8614
8606
|
if (fullTableWidth > containerTableWidth) {
|
|
8615
8607
|
this.initializeScrollOnGrab();
|
|
8616
|
-
} else if (
|
|
8608
|
+
} else if (hasScrollOnGrab) {
|
|
8617
8609
|
this.scrollOnGrab.destroyEvents();
|
|
8618
8610
|
this.scrollOnGrab.element.style.cursor = 'auto';
|
|
8619
8611
|
this.scrollOnGrab = {};
|
|
@@ -9262,7 +9254,7 @@ script.__file = "src/components/transfer/QasTransfer.vue";
|
|
|
9262
9254
|
|
|
9263
9255
|
var name = "@bildvitta/quasar-ui-asteroid";
|
|
9264
9256
|
var description = "Asteroid";
|
|
9265
|
-
var version$1 = "3.0.0-beta.
|
|
9257
|
+
var version$1 = "3.0.0-beta.8";
|
|
9266
9258
|
var author = "Bild & Vitta <systemteam@bild.com.br>";
|
|
9267
9259
|
var license = "MIT";
|
|
9268
9260
|
var main = "dist/asteroid.cjs.min.js";
|