Skip to content

Commit

Permalink
bundle for v1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ratiw committed Dec 9, 2017
1 parent 3cfe233 commit 2a1d082
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/stats.json

Large diffs are not rendered by default.

21 changes: 16 additions & 5 deletions dist/vuetable-2-full.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* vuetable-2 v1.7.0
* vuetable-2 v1.7.1
* https://github.com/ratiw/vuetable-2
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2779,7 +2779,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });

this.httpOptions['params'] = this.getAllQueryParams();

this.fetch(this.apiUrl, this.httpOptions).then(success, failed).catch(function () {
return this.fetch(this.apiUrl, this.httpOptions).then(success, failed).catch(function () {
return failed();
});
},
Expand Down Expand Up @@ -2929,7 +2929,9 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
}

this.currentPage = 1;
this.loadData();
if (this.apiMode) {
this.loadData();
}
},
multiColumnSort: function multiColumnSort(field) {
var i = this.currentSortOrderPosition(field);
Expand Down Expand Up @@ -3246,6 +3248,9 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
onCellDoubleClicked: function onCellDoubleClicked(dataItem, field, event) {
this.$emit(this.eventPrefix + 'cell-dblclicked', dataItem, field, event);
},
onCellRightClicked: function onCellRightClicked(dataItem, field, event) {
this.$emit(this.eventPrefix + 'cell-rightclicked', dataItem, field, event);
},
changePage: function changePage(page) {
if (page === 'prev') {
this.gotoPreviousPage();
Expand All @@ -3256,11 +3261,11 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
}
},
reload: function reload() {
this.loadData();
return this.loadData();
},
refresh: function refresh() {
this.currentPage = 1;
this.loadData();
return this.loadData();
},
resetData: function resetData() {
this.tableData = null;
Expand All @@ -3277,6 +3282,9 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
},
'apiUrl': function apiUrl(newVal, oldVal) {
if (this.reactiveApiUrl && newVal !== oldVal) this.refresh();
},
'data': function data(newVal, oldVal) {
this.setData(newVal);
}
}
});
Expand Down Expand Up @@ -4121,6 +4129,9 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
},
"dblclick": function($event) {
_vm.onCellDoubleClicked(item, field, $event)
},
"contextmenu": function($event) {
_vm.onCellRightClicked(item, field, $event)
}
}
})]] : _vm._e()]
Expand Down
2 changes: 1 addition & 1 deletion dist/vuetable-2.js

Large diffs are not rendered by default.

0 comments on commit 2a1d082

Please sign in to comment.