classcard-ui 0.2.431 → 0.2.434
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/classcard-ui.common.js +57 -53
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +57 -53
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CTable/CTable.vue +7 -1
package/package.json
CHANGED
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
:styleClass="
|
|
97
97
|
showLoader ? 'vgt-table opacity-50 pointer-events-none' : 'vgt-table'
|
|
98
98
|
"
|
|
99
|
-
row-style-class="
|
|
99
|
+
:row-style-class="rowStyleClassFn"
|
|
100
100
|
min-height="400px"
|
|
101
101
|
:globalSearch="true"
|
|
102
102
|
:isLoading="showLoader"
|
|
@@ -350,6 +350,12 @@ export default {
|
|
|
350
350
|
handleToggle() {
|
|
351
351
|
this.toggleDropdown = !this.toggleDropdown;
|
|
352
352
|
},
|
|
353
|
+
rowStyleClassFn(row) {
|
|
354
|
+
console.log(row)
|
|
355
|
+
return row.is_read === 0
|
|
356
|
+
? "focus:outline-none bg-gray-100"
|
|
357
|
+
: "focus:outline-none";
|
|
358
|
+
},
|
|
353
359
|
showHideColumn(value, name) {
|
|
354
360
|
this.$emit("hideCols", value, name);
|
|
355
361
|
},
|