quasar-factory-lib 0.0.72 → 0.0.74
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/pages/TablePage.vue.d.ts +73 -20
- package/dist/quasar-factory-lib.js +1085 -1085
- package/dist/quasar-factory-lib.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/Table/components/TableSlotBody.vue +3 -3
- package/src/components/Table/components/TableSlotGrid.vue +2 -2
- package/src/pages/TablePage.vue +3 -4
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
:customized-icon-color="(tablePropsData.row[col.name] ? col.customizedIconColorCaseTrue : col.customizedIconColorCaseFalse) || ''"
|
|
89
89
|
/>
|
|
90
90
|
<CustomizedButton
|
|
91
|
-
v-if="col.showCustomizedButton"
|
|
91
|
+
v-if="col.showCustomizedButton || col.showCustomizedButtonWithColText"
|
|
92
92
|
:data-cy="col.colButtonDataCy + '-' + tablePropsData.row.id"
|
|
93
93
|
:btn-color="getButtonColor(tablePropsData, col)"
|
|
94
94
|
:btn-icon="col.btnIcon|| ''"
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
/>
|
|
100
100
|
<IconWithToolTip
|
|
101
101
|
v-if="col.showIconWithToolTip"
|
|
102
|
-
:data-cy="col.
|
|
102
|
+
:data-cy="col.iconWithToolTipDataCy + '-' + tablePropsData.row.id"
|
|
103
103
|
:icon-color="tablePropsData.row.iconWithToolTipColor"
|
|
104
104
|
:icon-name="tablePropsData.row.iconWithToolTipName"
|
|
105
105
|
:tool-tip-text="tablePropsData.row.toolTipText"
|
|
@@ -183,7 +183,7 @@ export default {
|
|
|
183
183
|
return tablePropsData.row.btnPauseDisabled
|
|
184
184
|
} else {
|
|
185
185
|
return false
|
|
186
|
-
}
|
|
186
|
+
}
|
|
187
187
|
},
|
|
188
188
|
getButtonColor (tablePropsData, col, ):string {
|
|
189
189
|
if (col.btnColor) {
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
<q-item-section>
|
|
120
120
|
<CustomizedButton
|
|
121
|
-
|
|
121
|
+
v-if="col.showCustomizedButton || col.showCustomizedButtonWithColText"
|
|
122
122
|
:data-cy="col.colButtonDataCy + '-' + tablePropsData.row.id"
|
|
123
123
|
:btn-color="getButtonColor(tablePropsData, col)"
|
|
124
124
|
:btn-icon="col.btnIcon|| ''"
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<q-item-section>
|
|
132
132
|
<IconWithToolTip
|
|
133
133
|
v-if="col.showIconWithToolTip"
|
|
134
|
-
:data-cy="col.
|
|
134
|
+
:data-cy="col.iconWithToolTipDataCy + '-' + tablePropsData.row.id"
|
|
135
135
|
:icon-color="tablePropsData.row.iconWithToolTipColor"
|
|
136
136
|
:icon-name="tablePropsData.row.iconWithToolTipName"
|
|
137
137
|
:tool-tip-text="tablePropsData.row.toolTipText"
|
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"
|
|
@@ -115,7 +115,7 @@ export default {
|
|
|
115
115
|
field: 'btnPause',
|
|
116
116
|
sortable: true,
|
|
117
117
|
align: 'left',
|
|
118
|
-
|
|
118
|
+
showCustomizedButtonWithColText: true,
|
|
119
119
|
btnIcon: 'save',
|
|
120
120
|
btnEmit: 'onClickButton',
|
|
121
121
|
dataCy: 'onClickButton',
|
|
@@ -183,8 +183,7 @@ export default {
|
|
|
183
183
|
required: true,
|
|
184
184
|
sortable: true,
|
|
185
185
|
showIconWithToolTip: true,
|
|
186
|
-
|
|
187
|
-
iconWithToolTipEmit: 'onClickIconToolTip',
|
|
186
|
+
iconWithToolTipDataCy: 'iconWithToolTip',
|
|
188
187
|
iconWithToolTipColor: (row: { iconWithToolTipColor: string }) => row.iconWithToolTipColor,
|
|
189
188
|
iconWithToolTipName: (row: { iconWithToolTipName: string }) => row.iconWithToolTipName,
|
|
190
189
|
toolTipText: (row: { toolTipText: string }) => row.toolTipText,
|