Skip to content

Commit

Permalink
build bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ratiw committed Sep 18, 2017
1 parent ff34103 commit 69a14b0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 24 deletions.
2 changes: 1 addition & 1 deletion dist/stats.json

Large diffs are not rendered by default.

39 changes: 17 additions & 22 deletions dist/vuetable-2-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/ratiw/Code/vuetable-2/src/components/VuetablePaginationMixin.vue"
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationMixin.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}

/* hot reload */
Expand Down Expand Up @@ -642,7 +642,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/ratiw/Code/vuetable-2/src/components/VuetablePaginationInfoMixin.vue"
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationInfoMixin.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}

/* hot reload */
Expand Down Expand Up @@ -1379,7 +1379,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/ratiw/Code/vuetable-2/src/components/Vuetable.vue"
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\Vuetable.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] Vuetable.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -1419,7 +1419,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/ratiw/Code/vuetable-2/src/components/VuetablePagination.vue"
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePagination.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] VuetablePagination.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -1459,7 +1459,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/ratiw/Code/vuetable-2/src/components/VuetablePaginationDropdown.vue"
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationDropdown.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] VuetablePaginationDropdown.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -1499,7 +1499,7 @@ var Component = __webpack_require__(1)(
/* moduleIdentifier (server only) */
null
)
Component.options.__file = "/Users/ratiw/Code/vuetable-2/src/components/VuetablePaginationInfo.vue"
Component.options.__file = "D:\\www\\projects\\vuetable-2\\src\\components\\VuetablePaginationInfo.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key.substr(0, 2) !== "__"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] VuetablePaginationInfo.vue: functional components are not supported with templates, they should use render functions.")}

Expand Down Expand Up @@ -2659,8 +2659,13 @@ exports.default = {

return this.titleCase(str);
},
getTitle: function getTitle(field) {
if (typeof field.title === 'function') return field.title();

return typeof field.title === 'undefined' ? field.name.replace('.', ' ') : field.title;
},
renderTitle: function renderTitle(field) {
var title = typeof field.title === 'undefined' ? field.name.replace('.', ' ') : field.title;
var title = this.getTitle(field);

if (title.length > 0 && this.isInCurrentSortGroup(field) || this.hasSortableIcon(field)) {
var style = 'opacity:' + this.sortIconOpacity(field) + ';position:relative;float:right';
Expand All @@ -2672,6 +2677,9 @@ exports.default = {
renderSequence: function renderSequence(index) {
return this.tablePagination ? this.tablePagination.from + index : index;
},
renderNormalField: function renderNormalField(field, item) {
return this.hasCallback(field) ? this.callCallback(field, item) : this.getObjectValue(item, field.name, '');
},
isSpecialField: function isSpecialField(fieldName) {
return fieldName.slice(0, 2) === '__';
},
Expand Down Expand Up @@ -4008,23 +4016,10 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
rowData: item,
rowIndex: index,
rowField: field.sortField
})], 2) : _vm._e()] : [(_vm.hasCallback(field)) ? _c('td', {
class: field.dataClass,
domProps: {
"innerHTML": _vm._s(_vm.callCallback(field, item))
},
on: {
"click": function($event) {
_vm.onCellClicked(item, field, $event)
},
"dblclick": function($event) {
_vm.onCellDoubleClicked(item, field, $event)
}
}
}) : _c('td', {
})], 2) : _vm._e()] : [_c('td', {
class: field.dataClass,
domProps: {
"innerHTML": _vm._s(_vm.getObjectValue(item, field.name, ''))
"innerHTML": _vm._s(_vm.renderNormalField(field, item))
},
on: {
"click": function($event) {
Expand Down
2 changes: 1 addition & 1 deletion dist/vuetable-2.js

Large diffs are not rendered by default.

0 comments on commit 69a14b0

Please sign in to comment.