@mixd-id/web-scaffold 0.1.230406122 → 0.1.230406124
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
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<tbody ref="tbody">
|
|
34
34
|
<tr v-for="(item, index) in visibleItems" :key="item"
|
|
35
35
|
@click="select(item, index)"
|
|
36
|
-
:class="trClass(item)">
|
|
36
|
+
:class="trClass(item, index)">
|
|
37
37
|
<td v-for="column in visibleColumns"
|
|
38
38
|
:class="tdClass(item, column)">
|
|
39
39
|
<slot v-if="$slots[column.key]" :name="column.key" :column="column" :item="item" :index="visibleStartIndex + index"></slot>
|
|
@@ -197,7 +197,7 @@ export default{
|
|
|
197
197
|
|
|
198
198
|
methods: {
|
|
199
199
|
|
|
200
|
-
trClass(item){
|
|
200
|
+
trClass(item, index){
|
|
201
201
|
const highlight = !!item._highlight && (!Array.isArray(item._highlight) ||
|
|
202
202
|
this.visibleColumns.filter((_) => item._highlight.includes(_.key)).length <= 0)
|
|
203
203
|
|
|
@@ -482,7 +482,7 @@ export default{
|
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
.highlight{
|
|
485
|
-
@apply bg-
|
|
485
|
+
@apply bg-primary-50 transition-all;
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
.tdDiv{
|