Skip to content

Commit

Permalink
chore: release version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Seungwoo321 committed Jan 23, 2022
1 parent 55c1b05 commit 903aa1e
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 124 deletions.
6 changes: 2 additions & 4 deletions demo/example-vue-cli3/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ import tips from './tips'
import { VuePivottableUi, PivotUtilities, Renderer } from '../../../src'
import '../../../src/assets/vue-pivottable.css'
import { scaleLinear } from 'd3-scale'
// const HeatmapRenderer = Renderer.TableRenderer.makeRenderer({ heatmapMode: 'full' })
// const TableRenderer = Renderer.TableRenderer.makeRenderer()
// const HeatmapRenderer = Renderer.TableRenderer['Table Heatmap']
// const TableRenderer = Renderer.TableRenderer['Table']
export default {
components: {
Expand All @@ -130,8 +130,6 @@ export default {
data () {
return {
viewTable: false,
colLimit: 10,
rowLimit: 10,
// fix issue #27
valueFilter: {
Meal: {
Expand Down
78 changes: 19 additions & 59 deletions dist/vue-pivottable.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -227466,7 +227466,7 @@ function redColorScaleGenerator(values) {
};
}

function TableRenderer_makeRenderer() {
function makeRenderer() {
var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var TableRenderer = {
name: opts.name,
Expand Down Expand Up @@ -227824,8 +227824,22 @@ var TSVExportRenderer = {
}
};
/* harmony default export */ var src_TableRenderer = ({
makeRenderer: TableRenderer_makeRenderer,
TSVExportRenderer: TSVExportRenderer
Table: makeRenderer({
name: 'vue-table'
}),
'Table Heatmap': makeRenderer({
heatmapMode: 'full',
name: 'vue-table-heatmap'
}),
'Table Col Heatmap': makeRenderer({
heatmapMode: 'col',
name: 'vue-table-col-heatmap'
}),
'Table Row Heatmap': makeRenderer({
heatmapMode: 'row',
name: 'vue-table-col-heatmap'
}),
'Export Table TSV': TSVExportRenderer
});
// CONCATENATED MODULE: ./src/Pivottable.js

Expand All @@ -227845,30 +227859,8 @@ function Pivottable_objectSpread(target) { for (var i = 1; i < arguments.length;
name: 'vue-pivottable',
mixins: [common],
computed: {
tableRenderer: function tableRenderer() {
var makeRenderer = src_TableRenderer.makeRenderer;
return {
Table: makeRenderer({
name: 'vue-table'
}),
'Table Heatmap': makeRenderer({
heatmapMode: 'full',
name: 'vue-table-heatmap'
}),
'Table Col Heatmap': makeRenderer({
heatmapMode: 'col',
name: 'vue-table-col-heatmap'
}),
'Table Row Heatmap': makeRenderer({
heatmapMode: 'row',
name: 'vue-table-col-heatmap'
}),
'Export Table TSV': src_TableRenderer.TSVExportRenderer
};
},
rendererItems: function rendererItems() {
var TableRenderer = this.tableRenderer;
return this.renderers || Object.assign({}, TableRenderer);
return this.renderers || Object.assign({}, src_TableRenderer);
}
},
methods: {
Expand Down Expand Up @@ -228574,14 +228566,6 @@ function PivottableUi_objectSpread(target) { for (var i = 1; i < arguments.lengt
return [];
}
},
rowLimit: {
type: Number,
default: 0
},
colLimit: {
type: Number,
default: 0
},
menuLimit: {
type: Number,
default: 500
Expand All @@ -228597,30 +228581,8 @@ function PivottableUi_objectSpread(target) { for (var i = 1; i < arguments.lengt
appliedFilter: function appliedFilter() {
return this.propsData.valueFilter;
},
tableRenderer: function tableRenderer() {
var makeRenderer = src_TableRenderer.makeRenderer;
return {
Table: makeRenderer({
name: 'vue-table'
}),
'Table Heatmap': makeRenderer({
heatmapMode: 'full',
name: 'vue-table-heatmap'
}),
'Table Col Heatmap': makeRenderer({
heatmapMode: 'col',
name: 'vue-table-col-heatmap'
}),
'Table Row Heatmap': makeRenderer({
heatmapMode: 'row',
name: 'vue-table-col-heatmap'
}),
'Export Table TSV': src_TableRenderer.TSVExportRenderer
};
},
rendererItems: function rendererItems() {
var TableRenderer = this.tableRenderer;
return this.renderers || Object.assign({}, TableRenderer, PlotlyRenderer);
return this.renderers || Object.assign({}, src_TableRenderer, PlotlyRenderer);
},
aggregatorItems: function aggregatorItems() {
return this.aggregators || aggregators;
Expand Down Expand Up @@ -228748,8 +228710,6 @@ function PivottableUi_objectSpread(target) { for (var i = 1; i < arguments.lengt
sortonlyFromDragDrop: this.sortonlyFromDragDrop,
disabledFromDragDrop: this.disabledFromDragDrop,
menuLimit: this.menuLimit,
rowLimit: this.rowLimit,
colLimit: this.colLimit,
attributes: value.attributes,
unusedAttrs: this.unusedAttrs,
sorters: this.sorters,
Expand Down
78 changes: 19 additions & 59 deletions dist/vue-pivottable.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -227475,7 +227475,7 @@ function redColorScaleGenerator(values) {
};
}

function TableRenderer_makeRenderer() {
function makeRenderer() {
var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var TableRenderer = {
name: opts.name,
Expand Down Expand Up @@ -227833,8 +227833,22 @@ var TSVExportRenderer = {
}
};
/* harmony default export */ var src_TableRenderer = ({
makeRenderer: TableRenderer_makeRenderer,
TSVExportRenderer: TSVExportRenderer
Table: makeRenderer({
name: 'vue-table'
}),
'Table Heatmap': makeRenderer({
heatmapMode: 'full',
name: 'vue-table-heatmap'
}),
'Table Col Heatmap': makeRenderer({
heatmapMode: 'col',
name: 'vue-table-col-heatmap'
}),
'Table Row Heatmap': makeRenderer({
heatmapMode: 'row',
name: 'vue-table-col-heatmap'
}),
'Export Table TSV': TSVExportRenderer
});
// CONCATENATED MODULE: ./src/Pivottable.js

Expand All @@ -227854,30 +227868,8 @@ function Pivottable_objectSpread(target) { for (var i = 1; i < arguments.length;
name: 'vue-pivottable',
mixins: [common],
computed: {
tableRenderer: function tableRenderer() {
var makeRenderer = src_TableRenderer.makeRenderer;
return {
Table: makeRenderer({
name: 'vue-table'
}),
'Table Heatmap': makeRenderer({
heatmapMode: 'full',
name: 'vue-table-heatmap'
}),
'Table Col Heatmap': makeRenderer({
heatmapMode: 'col',
name: 'vue-table-col-heatmap'
}),
'Table Row Heatmap': makeRenderer({
heatmapMode: 'row',
name: 'vue-table-col-heatmap'
}),
'Export Table TSV': src_TableRenderer.TSVExportRenderer
};
},
rendererItems: function rendererItems() {
var TableRenderer = this.tableRenderer;
return this.renderers || Object.assign({}, TableRenderer);
return this.renderers || Object.assign({}, src_TableRenderer);
}
},
methods: {
Expand Down Expand Up @@ -228583,14 +228575,6 @@ function PivottableUi_objectSpread(target) { for (var i = 1; i < arguments.lengt
return [];
}
},
rowLimit: {
type: Number,
default: 0
},
colLimit: {
type: Number,
default: 0
},
menuLimit: {
type: Number,
default: 500
Expand All @@ -228606,30 +228590,8 @@ function PivottableUi_objectSpread(target) { for (var i = 1; i < arguments.lengt
appliedFilter: function appliedFilter() {
return this.propsData.valueFilter;
},
tableRenderer: function tableRenderer() {
var makeRenderer = src_TableRenderer.makeRenderer;
return {
Table: makeRenderer({
name: 'vue-table'
}),
'Table Heatmap': makeRenderer({
heatmapMode: 'full',
name: 'vue-table-heatmap'
}),
'Table Col Heatmap': makeRenderer({
heatmapMode: 'col',
name: 'vue-table-col-heatmap'
}),
'Table Row Heatmap': makeRenderer({
heatmapMode: 'row',
name: 'vue-table-col-heatmap'
}),
'Export Table TSV': src_TableRenderer.TSVExportRenderer
};
},
rendererItems: function rendererItems() {
var TableRenderer = this.tableRenderer;
return this.renderers || Object.assign({}, TableRenderer, PlotlyRenderer);
return this.renderers || Object.assign({}, src_TableRenderer, PlotlyRenderer);
},
aggregatorItems: function aggregatorItems() {
return this.aggregators || aggregators;
Expand Down Expand Up @@ -228757,8 +228719,6 @@ function PivottableUi_objectSpread(target) { for (var i = 1; i < arguments.lengt
sortonlyFromDragDrop: this.sortonlyFromDragDrop,
disabledFromDragDrop: this.disabledFromDragDrop,
menuLimit: this.menuLimit,
rowLimit: this.rowLimit,
colLimit: this.colLimit,
attributes: value.attributes,
unusedAttrs: this.unusedAttrs,
sorters: this.sorters,
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-pivottable.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-pivottable",
"version": "0.3.99",
"version": "0.4.0",
"main": "src/index.js",
"files": [
"dist",
Expand Down

0 comments on commit 903aa1e

Please sign in to comment.