classcard-ui 0.2.434 → 0.2.435
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 +58 -56
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +58 -56
- 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 +4 -6
package/package.json
CHANGED
|
@@ -322,6 +322,10 @@ export default {
|
|
|
322
322
|
downloadLoader: {
|
|
323
323
|
type: Boolean,
|
|
324
324
|
},
|
|
325
|
+
rowStyleClassFn: {
|
|
326
|
+
type: Function,
|
|
327
|
+
default: () => "",
|
|
328
|
+
},
|
|
325
329
|
},
|
|
326
330
|
mounted() {
|
|
327
331
|
// to add drag and drop in table
|
|
@@ -350,12 +354,6 @@ export default {
|
|
|
350
354
|
handleToggle() {
|
|
351
355
|
this.toggleDropdown = !this.toggleDropdown;
|
|
352
356
|
},
|
|
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
|
-
},
|
|
359
357
|
showHideColumn(value, name) {
|
|
360
358
|
this.$emit("hideCols", value, name);
|
|
361
359
|
},
|