vue-tables-2
Advanced tools
Comparing version 0.2.74 to 0.2.75
exports.client = require('./lib/v-client-table'); | ||
exports.server = require('./lib/v-server-table'); |
@@ -0,0 +0,0 @@ var Vue = require('vue'); |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ import diff from '../helpers/array-diff' |
module.exports = function() { | ||
return JSON.stringify(this.customQueries); | ||
} |
@@ -0,0 +0,0 @@ var search = require('../methods/client-search') |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ |
module.exports = function() { | ||
return this.opts.filterByColumn?JSON.stringify(this.query):this.query; | ||
} |
module.exports = function() { | ||
return this.data; | ||
} |
module.exports = function() { | ||
return Object.keys(this.opts.templates); | ||
} |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ module.exports = function(data, customFilters, customQueries) { |
@@ -0,0 +0,0 @@ var is_valid_moment_object = require('../helpers/is-valid-moment-object'); |
@@ -0,0 +0,0 @@ var validMoment = require('../helpers/is-valid-moment-object'); |
@@ -0,0 +0,0 @@ module.exports = function(property, column) { |
@@ -0,0 +0,0 @@ module.exports = function(value, column) { |
@@ -0,0 +0,0 @@ module.exports = function(data) { |
export default function(arr1, arr2) { | ||
return arr1.filter(function(i) {return arr2.indexOf(i) < 0;}); | ||
} |
@@ -0,0 +0,0 @@ module.exports = function(a, b) { |
@@ -0,0 +0,0 @@ module.exports = function(obj) { |
module.exports = function(val) { | ||
return val && typeof val.isValid=='function' && val.isValid(); | ||
} |
@@ -0,0 +0,0 @@ module.exports = function(obj) { |
@@ -0,0 +0,0 @@ module.exports = function(obj) { |
export default function(str) { | ||
return str.charAt(0).toUpperCase() + str.slice(1); | ||
} |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ module.exports = function(data) { |
module.exports = function(rowId) { | ||
return this.rowsToggleState['row_' + rowId]?'VueTables__child-row--open':'VueTables__child-row--closed'; | ||
} |
module.exports = function(rowId) { | ||
return this.rowsToggleState['row_' + rowId]?'VueTables__child-row-toggler--open':'VueTables__child-row-toggler--closed'; | ||
} |
@@ -0,0 +0,0 @@ var object_filled_keys_count = require('../helpers/object-filled-keys-count'); |
@@ -0,0 +0,0 @@ var bus = require('../bus') |
@@ -0,0 +0,0 @@ module.exports = function(text, replacements) { |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ var merge = require('merge'); |
@@ -0,0 +0,0 @@ import ucfirst from '../helpers/ucfirst' |
@@ -0,0 +0,0 @@ var intersection = require('../helpers/array-intersection'); |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ var merge = require('merge'); |
@@ -0,0 +0,0 @@ var merge = require('merge'); |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ var bus = require('../bus'); |
module.exports = function() { | ||
this.serverSearch(); | ||
} |
@@ -8,2 +8,3 @@ var bus = require('../bus'); | ||
this.customQueries[filter.name] = value; | ||
this.setPage(1); | ||
this.search(this.data); | ||
@@ -10,0 +11,0 @@ }.bind(this)); |
@@ -0,0 +0,0 @@ var bus = require('../bus'); |
@@ -0,0 +0,0 @@ |
module.exports = function(row) { | ||
this.dispatch('row-click', row); | ||
} |
@@ -0,0 +0,0 @@ module.exports = function(e) { |
@@ -0,0 +0,0 @@ var bus = require('../bus') |
@@ -0,0 +0,0 @@ module.exports = function(e) { |
@@ -0,0 +0,0 @@ module.exports = function(page) { |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ module.exports = function(column) { |
@@ -0,0 +0,0 @@ module.exports = function(rowId, e) { |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ var is_empty = require('../helpers/is-empty'); |
@@ -0,0 +0,0 @@ module.exports = function() { |
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ export default function(useVuex, source) { |
@@ -34,6 +34,6 @@ import merge from 'merge' | ||
[`${self.name}/SET_FILTER`] (state, filter) { | ||
state.page= 1; | ||
state.query = filter; | ||
if (self.source=='server') { | ||
state.page= 1; | ||
self.getData() | ||
@@ -43,6 +43,7 @@ } | ||
[`${self.name}/SET_CUSTOM_FILTER`] (state, {filter, value}) { | ||
state.page= 1; | ||
state.customQueries[filter] = value; | ||
if (self.source=='server') { | ||
state.page= 1; | ||
self.getData() | ||
@@ -49,0 +50,0 @@ } |
@@ -0,0 +0,0 @@ export default function() { |
@@ -0,0 +0,0 @@ import state from './state' |
@@ -0,0 +0,0 @@ export default function(self) { |
@@ -0,0 +0,0 @@ import merge from 'merge' |
@@ -0,0 +0,0 @@ var methods = require('./mixins/methods'); |
@@ -0,0 +0,0 @@ module.exports = function(source) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ module.exports = function(h, that) { |
@@ -0,0 +0,0 @@ import VuePagination from 'vue-pagination-2' |
@@ -0,0 +0,0 @@ import merge from 'merge'; |
{ | ||
"name": "vue-tables-2", | ||
"description": "Vue.js 2 grid components", | ||
"version": "0.2.74", | ||
"version": "0.2.75", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "vue2", |
@@ -0,0 +0,0 @@ # Vue Tables 2 |
96
1443
58076