@mythpe/quasar-ui-qui 0.3.8 → 0.3.10

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": "@mythpe/quasar-ui-qui",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -886,8 +886,7 @@ defineExpose({
886
886
  <MDtBtn
887
887
  v-if="pdf && getRows.length > 0"
888
888
  icon="fa-solid fa-file-pdf"
889
- text-color="red"
890
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter as any}"
889
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter as any, textColor: 'red'}"
891
890
  @click="exportData('pdf')"
892
891
  >
893
892
  <q-tooltip class="m-dt-btn-tooltip">
@@ -898,8 +897,7 @@ defineExpose({
898
897
  <MDtBtn
899
898
  v-if="excel && getRows.length > 0"
900
899
  icon="fa-solid fa-file-excel"
901
- text-color="green"
902
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter as any}"
900
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter as any, textColor: 'green'}"
903
901
  @click="exportData('excel')"
904
902
  >
905
903
  <q-tooltip class="m-dt-btn-tooltip">
@@ -1060,6 +1058,7 @@ defineExpose({
1060
1058
  label="myth.datatable.columnsToShow"
1061
1059
  text-color="on-brand"
1062
1060
  tooltip="myth.datatable.columnsToShowCaption"
1061
+ v-bind="pluginOptions.dt?.buttons?.filter as any"
1063
1062
  >
1064
1063
  <MModalMenu
1065
1064
  :no-close-btn="$q.screen.gt.xs"
@@ -1118,9 +1117,7 @@ defineExpose({
1118
1117
  <MDtBtn
1119
1118
  v-if="!noWrapBtnProp"
1120
1119
  :icon="`ion-ios-${!wrapCellsRef ? 'grid' : 'list'}`"
1121
- color="brand"
1122
1120
  flat
1123
- text-color="brand"
1124
1121
  @click="wrapCellsRef = !wrapCellsRef"
1125
1122
  />
1126
1123
  </MRow>
@@ -128,7 +128,7 @@ export const useBindInput = <P extends G = G> (Props: MaybeRefOrGetter<P>, key:
128
128
  if (typeof props.images === 'string' && props.images?.length > 0) {
129
129
  l.push(props.images)
130
130
  } else {
131
- l.push('image/png,image/jpg,image/jpeg')
131
+ l.push('image/png,image/jpg,image/jpeg,image/webp')
132
132
  }
133
133
  }
134
134
  if (props.svg) {