Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Commit

Permalink
build dist
Browse files Browse the repository at this point in the history
  • Loading branch information
matfish2 committed Apr 15, 2020
1 parent c70e403 commit 3a88261
Show file tree
Hide file tree
Showing 10 changed files with 773 additions and 324 deletions.
1 change: 1 addition & 0 deletions compiled/components/renderless/RLPagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var _default = {
return this.$scopedSlots["default"]({
setPage: this.setPage,
options: this.opts().pagination,
infiniteScroll: this.opts().infiniteScroll,
page: this.page(),
records: this.count(),
perPage: parseInt(this.limit()),
Expand Down
1 change: 1 addition & 0 deletions compiled/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ module.exports = function () {
resizableColumns: true,
editableColumns: [],
tabbable: true,
infiniteScroll: false,
componentsOverride: {}
};
};
4 changes: 2 additions & 2 deletions dist/vue-tables-2.min.js

Large diffs are not rendered by default.

963 changes: 656 additions & 307 deletions dist/vue-tables.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/components/renderless/RLPagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default {
return this.$scopedSlots.default({
setPage: this.setPage,
options: this.opts().pagination,
infiniteScroll: this.opts().infiniteScroll,
page: this.page(),
records: this.count(),
perPage: parseInt(this.limit()),
Expand Down
1 change: 1 addition & 0 deletions lib/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ module.exports = function() {
resizableColumns: true,
editableColumns:[],
tabbable: true,
infiniteScroll: false,
componentsOverride:{

}
Expand Down
2 changes: 1 addition & 1 deletion lib/v-client-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import merge from "merge";
import Table from "./table";
import stateData from "./state/data";
import resizableColumns from "./helpers/resizeable-columns";
import VtClientTable from "./components/VtClientTable";
import VtClientTable from "./components/VtClientTable.jsx";

var data = require("./mixins/data");
var created = require("./mixins/created");
Expand Down
116 changes: 104 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
],
"dependencies": {
"array-intersect": "^0.0.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"clone": "^2.1.1",
"debounce": "^1.1",
"merge": "^1.2.0",
Expand Down Expand Up @@ -48,6 +47,7 @@
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.3",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"axios": "^0.19.0",
"babel-jest": "^23.0.1",
"babel-loader": "^8.0.6",
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ module.exports = {
libraryTarget:'var',
library:'VueTables'
},
resolve:{
extensions: [".js",".jsx"]
},
optimization: {
minimize: env==='production'
},
Expand All @@ -21,8 +24,9 @@ module.exports = {
module: {
rules: [
{
test: /\.js$/,
test: /\.jsx?$/,
loader: 'babel-loader',
options: { plugins: ['transform-vue-jsx'] },
exclude: /node_modules/
}
]
Expand Down

0 comments on commit 3a88261

Please sign in to comment.