quasar-factory-lib 0.0.64 → 0.0.65

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
@@ -97,6 +97,6 @@
97
97
  "release": "standard-version"
98
98
  },
99
99
  "type": "module",
100
- "version": "0.0.64",
100
+ "version": "0.0.65",
101
101
  "author": ""
102
102
  }
@@ -5,6 +5,7 @@
5
5
  round
6
6
  :color="btnColor"
7
7
  size="md"
8
+ :disable="btnDisable"
8
9
  @click="$emit('onClickButton')"
9
10
  >
10
11
  <q-icon :name="btnIcon" />
@@ -25,8 +26,11 @@ export default {
25
26
  btnIcon: {
26
27
  type: String,
27
28
  required: true
29
+ },
30
+ btnDisable: {
31
+ type: Boolean,
32
+ required: true
28
33
  }
29
-
30
34
  },
31
35
  emits: ['onClickButton'],
32
36
  data: function () {
@@ -93,6 +93,7 @@
93
93
  :data-cy="col.colButtonDataCy + '-' + tablePropsData.row.id"
94
94
  :btn-color="col.btnColor || 'primary'"
95
95
  :btn-icon="col.btnIcon|| ''"
96
+ :btn-disable="col.btnDisable || tablePropsData.row.btnDisable"
96
97
  @on-click-button="() => {
97
98
  $emit('onClickButton', col.btnEmit, tablePropsData.row)
98
99
  }"
@@ -122,6 +122,7 @@
122
122
  :data-cy="col.colButtonDataCy + '-' + tablePropsData.row.id"
123
123
  :btn-color="col.btnColor || 'primary'"
124
124
  :btn-icon="col.btnIcon|| ''"
125
+ :btn-disable="col.btnDisable || tablePropsData.row.btnDisable"
125
126
  @on-click-button="() => {
126
127
  $emit('onClickButton', col.btnEmit, tablePropsData.row)
127
128
  }"
@@ -375,6 +375,7 @@ export default {
375
375
  sodium: lista[i].sodium,
376
376
  calcium: lista[i].calcium,
377
377
  iron: lista[i].iron,
378
+ btnDisable: true,
378
379
  badgeColor: this.getBadgeColor(lista[i].carbs),
379
380
  badgeText: this.getBadgeText(lista[i].carbs),
380
381
  toolTipText: this.getBadgeText(lista[i].carbs),