quasar-factory-lib 0.0.67 → 0.0.68
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
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<CustomizedButton
|
|
92
92
|
v-if="col.showCustomizedButton"
|
|
93
93
|
:data-cy="col.colButtonDataCy + '-' + tablePropsData.row.id"
|
|
94
|
-
:btn-color="col.btnColor || 'primary'"
|
|
94
|
+
:btn-color="col.btnColor || tablePropsData.row.btnColor || 'primary'"
|
|
95
95
|
:btn-icon="col.btnIcon|| ''"
|
|
96
96
|
:btn-disable="tablePropsData.row.btnDisable"
|
|
97
97
|
@on-click-button="() => {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<CustomizedButton
|
|
121
121
|
v-if="col.showCustomizedButton"
|
|
122
122
|
:data-cy="col.colButtonDataCy + '-' + tablePropsData.row.id"
|
|
123
|
-
:btn-color="col.btnColor || 'primary'"
|
|
123
|
+
:btn-color="col.btnColor || tablePropsData.row.btnColor || 'primary'"
|
|
124
124
|
:btn-icon="col.btnIcon|| ''"
|
|
125
125
|
:btn-disable="tablePropsData.row.btnDisable"
|
|
126
126
|
@on-click-button="() => {
|
package/src/pages/TablePage.vue
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:rows="rows"
|
|
14
14
|
:columns="columns"
|
|
15
15
|
:visible-columns="store.visiblecolumns"
|
|
16
|
-
:small-device="
|
|
16
|
+
:small-device="false"
|
|
17
17
|
:store="store"
|
|
18
18
|
:table-style="tableStyle"
|
|
19
19
|
:show-skeleton="showSkeleton"
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
btnIcon: 'save',
|
|
120
120
|
btnEmit: 'onClickButton',
|
|
121
121
|
dataCy: 'onClickButton',
|
|
122
|
-
btnColor: '
|
|
122
|
+
btnColor: 'black',
|
|
123
123
|
btnDisable: (row: { btnDisable: string }) => row.btnDisable
|
|
124
124
|
},
|
|
125
125
|
{
|
|
@@ -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
|
+
// btnColor: this.getBadgeColor(lista[i].carbs),
|
|
378
379
|
btnDisable: this.getBtnDisable(lista[i].carbs),
|
|
379
380
|
badgeColor: this.getBadgeColor(lista[i].carbs),
|
|
380
381
|
badgeText: this.getBadgeText(lista[i].carbs),
|