quasar-factory-lib 0.0.30 → 0.0.31

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.
@@ -0,0 +1,9 @@
1
+ export const tableStore: import("pinia").StoreDefinition<"tableStore", {
2
+ disableScannerButtons: import("@vueuse/shared").RemovableRef<boolean>;
3
+ filterValue: import("@vueuse/shared").RemovableRef<string>;
4
+ lastFilterValue: import("@vueuse/shared").RemovableRef<string>;
5
+ visiblecolumns: import("@vueuse/shared").RemovableRef<never[]>;
6
+ }, {}, {
7
+ setFilterValue(val: any): void;
8
+ cleanTableFilter(): void;
9
+ }>;
package/package.json CHANGED
@@ -97,6 +97,6 @@
97
97
  "release": "standard-version"
98
98
  },
99
99
  "type": "module",
100
- "version": "0.0.30",
100
+ "version": "0.0.31",
101
101
  "author": ""
102
102
  }
@@ -25,7 +25,7 @@
25
25
  <!-- fa-solid fa-pen-to-square -->
26
26
  <q-icon
27
27
  v-if="col.editable"
28
- name="fa-solid fa-pen-to-square "
28
+ name="edit"
29
29
  color="primary"
30
30
  size="xs"
31
31
  class="cursor-pointer"
@@ -40,9 +40,10 @@
40
40
  v-if="getColumnValue(col)"
41
41
  class="itemsFontSize text-almost-black"
42
42
  >
43
+ <!-- fa-solid fa-pen-to-square -->
43
44
  <q-icon
44
45
  v-if="col.editable"
45
- name="fa-solid fa-pen-to-square"
46
+ name="edit"
46
47
  color="primary"
47
48
  size="sx"
48
49
  class="cursor-pointer"
@@ -51,8 +51,7 @@ export default {
51
51
  required: true,
52
52
  label: 'Dessert (100g serving)',
53
53
  align: 'left',
54
- sortable: true,
55
- rowStyleFn: (row) => row.rowStyleFn,
54
+ sortable: true
56
55
  },
57
56
  {
58
57
  name: 'available',
@@ -311,8 +310,7 @@ export default {
311
310
  protein: lista[i].protein,
312
311
  sodium: lista[i].sodium,
313
312
  calcium: lista[i].calcium,
314
- iron: lista[i].iron,
315
- rowStyleFn: this.rowStyleFn
313
+ iron: lista[i].iron
316
314
  })
317
315
  }
318
316
  this.rows = lista2
@@ -320,13 +318,6 @@ export default {
320
318
 
321
319
  },
322
320
  methods: {
323
- rowStyleFn (colName: string, rowName: string) {
324
- console.log('rowStyleFn', colName)
325
- if (colName === 'name' && rowName=== 'Frozen Yogurt') {
326
- return 'color: red !important; font-weight: bold;'
327
- }
328
- return 'color: blue !important; font-weight: bold;'
329
- },
330
321
  saveSelectedColumns (columns: string []): void {
331
322
  this.store.visiblecolumns = columns
332
323
  this.visibleColumns = columns