@mythpe/quasar-ui-qui 0.4.70 → 0.4.71
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/package.json
CHANGED
|
@@ -109,6 +109,7 @@ type Props = {
|
|
|
109
109
|
noExampleBtn?: MDatatableProps['noExampleBtn'];
|
|
110
110
|
wrapCells?: MDatatableProps['wrapCells'];
|
|
111
111
|
tooSmall?: MDatatableProps['tooSmall'];
|
|
112
|
+
color?: MDatatableProps['color'];
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -193,7 +194,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
193
194
|
importBtn: undefined,
|
|
194
195
|
noExampleBtn: undefined,
|
|
195
196
|
wrapCells: undefined,
|
|
196
|
-
tooSmall: undefined
|
|
197
|
+
tooSmall: undefined,
|
|
198
|
+
color: 'primary'
|
|
197
199
|
})
|
|
198
200
|
|
|
199
201
|
interface Emits {
|
|
@@ -645,6 +647,7 @@ defineExpose({
|
|
|
645
647
|
v-model:pagination="pagination"
|
|
646
648
|
v-model:selected="selected"
|
|
647
649
|
:class="['m-datatable',{'m-datatable-grid' : isSmall}]"
|
|
650
|
+
:color="color"
|
|
648
651
|
:columns="getSortedHeaders"
|
|
649
652
|
:filter="search"
|
|
650
653
|
:grid="isGrid"
|
|
@@ -656,7 +659,6 @@ defineExpose({
|
|
|
656
659
|
:visible-columns="visibleHeaders"
|
|
657
660
|
:wrap-cells="wrapCellsRef"
|
|
658
661
|
card-container-class="m-datatable-container"
|
|
659
|
-
color="primary"
|
|
660
662
|
table-class="m-datatable-container"
|
|
661
663
|
v-bind="bindAttr"
|
|
662
664
|
@request="fetchDatatableItems"
|
|
@@ -1519,7 +1521,6 @@ defineExpose({
|
|
|
1519
1521
|
/>
|
|
1520
1522
|
</q-td>
|
|
1521
1523
|
</template>
|
|
1522
|
-
|
|
1523
1524
|
<template
|
|
1524
1525
|
v-for="slotName in getSlots"
|
|
1525
1526
|
:key="slotName"
|