|
|
@ -390,7 +390,8 @@ export default { |
|
|
|
aggCount: [], |
|
|
|
aggCount: [], |
|
|
|
dragOver: false, |
|
|
|
dragOver: false, |
|
|
|
gridViewCols: {}, |
|
|
|
gridViewCols: {}, |
|
|
|
unsaved: false |
|
|
|
unsaved: false, |
|
|
|
|
|
|
|
rightToLeftLanguages: ['fa'] |
|
|
|
}), |
|
|
|
}), |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
selectAll: { |
|
|
|
selectAll: { |
|
|
@ -660,13 +661,21 @@ export default { |
|
|
|
break |
|
|
|
break |
|
|
|
// left |
|
|
|
// left |
|
|
|
case 37: |
|
|
|
case 37: |
|
|
|
if (this.selected.col > 0) { |
|
|
|
if (this.rightToLeftLanguages.includes(this.$store.state.settings.language)) { |
|
|
|
|
|
|
|
if (this.selected.col < this.colLength - 1) { |
|
|
|
|
|
|
|
this.selected.col++ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} else if (this.selected.col > 0) { |
|
|
|
this.selected.col-- |
|
|
|
this.selected.col-- |
|
|
|
} |
|
|
|
} |
|
|
|
break |
|
|
|
break |
|
|
|
// right |
|
|
|
// right |
|
|
|
case 39: |
|
|
|
case 39: |
|
|
|
if (this.selected.col < this.colLength - 1) { |
|
|
|
if (this.rightToLeftLanguages.includes(this.$store.state.settings.language)) { |
|
|
|
|
|
|
|
if (this.selected.col > 0) { |
|
|
|
|
|
|
|
this.selected.col-- |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} else if (this.selected.col < this.colLength - 1) { |
|
|
|
this.selected.col++ |
|
|
|
this.selected.col++ |
|
|
|
} |
|
|
|
} |
|
|
|
break |
|
|
|
break |
|
|
|