New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-tables-2

Package Overview
Dependencies
Maintainers
1
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tables-2 - npm Package Compare versions

Comparing version 0.2.71 to 0.2.72

102

lib/config/defaults.js

@@ -9,53 +9,59 @@ module.exports = function() {

}
},
perPage:10,
perPageValues:[10,25,50,100],
params:{},
sortable:true,
filterable:true,
initFilters:{},
customFilters:[],
templates:{},
debounce:500,
dateFormat:"DD/MM/YYYY",
toMomentFormat:false,
skin:"table-striped table-bordered table-hover",
columnsDisplay: {},
texts:{
},
perPage:10,
perPageValues:[10,25,50,100],
params:{},
sortable:true,
filterable:true,
initFilters:{},
customFilters:[],
templates:{},
debounce:500,
dateFormat:"DD/MM/YYYY",
toMomentFormat:false,
skin:"table-striped table-bordered table-hover",
columnsDisplay: {},
texts:{
count:"Showing {from} to {to} of {count} records|{count} records|One record",
filter:"Filter Results:",
filterPlaceholder:"Search query",
limit:"Records:",
page:"Page:",
noResults:"No matching records",
filterBy:"Filter by {column}",
loading:'Loading...',
defaultOption:'Select {column}'
},
sortIcon:{
base:'glyphicon',
up: 'glyphicon-chevron-up',
down: 'glyphicon-chevron-down'
},
filterByColumn:false,
highlightMatches:false,
orderBy:false,
footerHeadings:false,
headings:{},
pagination: {
dropdown:false,
chunk:10
},
childRow: false,
childRowKey:'id',
responseAdapter: function(resp) {
return {
data: resp.data,
count: resp.count
}
},
config: false
filterPlaceholder:"Search query",
limit:"Records:",
page:"Page:",
noResults:"No matching records",
filterBy:"Filter by {column}",
loading:'Loading...',
defaultOption:'Select {column}'
},
sortIcon:{
base:'glyphicon',
up: 'glyphicon-chevron-up',
down: 'glyphicon-chevron-down'
},
filterByColumn:false,
highlightMatches:false,
orderBy:false,
footerHeadings:false,
headings:{},
pagination: {
dropdown:false,
chunk:10
},
childRow: false,
childRowKey:'id',
responseAdapter: function(resp) {
return {
data: resp.data,
count: resp.count
}
},
requestKeys:{
query:'query',
limit:'limit',
orderBy:'orderBy',
ascending:'ascending',
page:'page',
byColumn:'byColumn'
},
config: false
}
}

@@ -5,9 +5,11 @@ var merge = require('merge');

var keys = this.opts.requestKeys;
var data = {
query:this.query,
limit:this.limit,
orderBy:this.orderBy.column,
ascending: this.orderBy.ascending?1:0,
page:this.page,
byColumn:this.opts.filterByColumn?1:0
[keys.query]:this.query,
[keys.limit]:this.limit,
[keys.orderBy]:this.orderBy.column,
[keys.ascending]: this.orderBy.ascending?1:0,
[keys.page]:this.page,
[keys.byColumn]:this.opts.filterByColumn?1:0
};

@@ -14,0 +16,0 @@

{
"name": "vue-tables-2",
"description": "Vue.js 2 grid components",
"version": "0.2.71",
"version": "0.2.72",
"keywords": [

@@ -6,0 +6,0 @@ "vue2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc