@bildvitta/quasar-ui-asteroid 3.1.0-beta.2 → 3.1.0-beta.3
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/QasTabsGenerator.json +5 -1
- package/dist/asteroid.cjs.js +6 -6
- package/dist/asteroid.cjs.min.js +2 -2
- package/dist/asteroid.esm.css +1 -1
- package/dist/asteroid.esm.js +6 -6
- package/dist/asteroid.esm.min.js +2 -2
- package/dist/asteroid.umd.css +1 -1
- package/dist/asteroid.umd.js +6 -6
- package/dist/asteroid.umd.min.js +2 -2
- package/dist/vetur/asteroid-attributes.json +1 -1
- package/package.json +1 -1
- package/src/components/actions-menu/QasActionsMenu.vue +1 -1
- package/src/components/tabs-generator/QasTabsGenerator.vue +2 -2
- package/src/components/tabs-generator/QasTabsGenerator.yml +2 -1
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
},
|
|
1186
1186
|
"qas-tabs-generator/model-value": {
|
|
1187
1187
|
"description": "Model do componente, controla qual é a tab atual selecionada.",
|
|
1188
|
-
"type": "string"
|
|
1188
|
+
"type": "string|number"
|
|
1189
1189
|
},
|
|
1190
1190
|
"qas-tabs-generator/tab-class": {
|
|
1191
1191
|
"description": "Classe do QTab",
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<qas-btn class="qas-actions-menu" color="primary" :icon="icon" :label="label" outline padding="md" use-label-on-small-screen>
|
|
2
|
+
<qas-btn class="qas-actions-menu" color="primary" :icon="icon" :label="label" outline padding="md" :use-label-on-small-screen="false">
|
|
3
3
|
<q-menu class="qas-actions-menu__menu">
|
|
4
4
|
<q-list class="qas-actions-menu__list" separator>
|
|
5
5
|
<slot v-for="(item, key) in list" :item="item" :name="key">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<slot v-for="(tab, key) in formattedTabs" :item="tab" :name="`tab-${tab.value}`">
|
|
4
4
|
<q-tab :key="key" v-bind="tab" :class="tabClass" :label="tab.label" :name="tab.value">
|
|
5
5
|
<slot :item="tab" :name="`tab-after-${tab.value}`">
|
|
6
|
-
<q-badge v-if="counters[
|
|
6
|
+
<q-badge v-if="counters[tab.value]" :label="counters[tab.value]" v-bind="defaultCounterProps" />
|
|
7
7
|
</slot>
|
|
8
8
|
</q-tab>
|
|
9
9
|
</slot>
|
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
|
|
40
40
|
modelValue: {
|
|
41
41
|
default: '',
|
|
42
|
-
type: String
|
|
42
|
+
type: [String, Number]
|
|
43
43
|
},
|
|
44
44
|
|
|
45
45
|
tabClass: {
|