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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.434",
3
+ "version": "0.2.435",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -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
  },