@mythpe/quasar-ui-qui 0.3.25 → 0.3.27

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.25",
3
+ "version": "0.3.27",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -658,6 +658,8 @@ defineExpose({
658
658
  <template v-else-if="computedSarColumns.indexOf(col.name) !== -1">
659
659
  <MDtSarColumn
660
660
  v-if="col.value !== undefined && col.value !== null"
661
+ :copy="computedCopyColumns.includes(col.name)"
662
+ :copy-value="col.copyValue && typeof col.copyValue === 'function' ? col.copyValue(iTempProps.row) : iTempProps.row[col.copyValue || col.field]"
661
663
  :value="col.value"
662
664
  />
663
665
  </template>
@@ -665,7 +667,7 @@ defineExpose({
665
667
  <MDtCopyColumn
666
668
  v-if="col.value !== undefined && col.value !== null"
667
669
  :label="col.value"
668
- :value="col.copyValue && typeof col.copyValue === 'function' ? col.copyValue(iTempProps.row) : iTempProps.row[col.field || col.name]"
670
+ :value="col.copyValue && typeof col.copyValue === 'function' ? col.copyValue(iTempProps.row) : iTempProps.row[col.copyValue || col.field]"
669
671
  />
670
672
  </template>
671
673
  <template v-else-if="computedDescColumns.indexOf(col.name) !== -1">
@@ -1363,8 +1365,9 @@ defineExpose({
1363
1365
  >
1364
1366
  <q-td :props="sarCellProps">
1365
1367
  <MDtSarColumn
1366
- :copy="computedCopyColumns.includes(sarCellProps.col.name)"
1367
1368
  v-if="sarCellProps.row[sarCellProps.col.field] !== undefined && sarCellProps.row[sarCellProps.col.field] !== null"
1369
+ :copy="computedCopyColumns.includes(sarCellProps.col.name)"
1370
+ :copy-value="sarCellProps.col.copyValue && typeof sarCellProps.col.copyValue === 'function' ? sarCellProps.col.copyValue(sarCellProps.row) : sarCellProps.row[sarCellProps.col.copyValue || sarCellProps.col.field]"
1368
1371
  :value="sarCellProps.row[sarCellProps.col.field]"
1369
1372
  />
1370
1373
  </q-td>
@@ -418,7 +418,7 @@ export interface MDtImageColumnSlots {
418
418
  export interface MDtSarColumnProps {
419
419
  value?: any;
420
420
  copy?: boolean;
421
- copyValue?: boolean;
421
+ copyValue?: any;
422
422
  }
423
423
 
424
424
  export interface MDtSarColumnSlots {