Skip to content

Commit 5e3ed09

Browse files
committed
release 1.1.0
1 parent e6ace02 commit 5e3ed09

File tree

3 files changed

+74
-71
lines changed

3 files changed

+74
-71
lines changed

dist/data-tables.js

+37-35
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,38 @@ return /******/ (function(modules) { // webpackBootstrap
499499
ActionBar: _ActionBar2.default,
500500
CheckboxGroup: _ScCheckboxGroup2.default
501501
},
502+
created: function created() {
503+
this.innerActionsDef = (0, _assign2.default)({}, {
504+
def: [],
505+
width: 5,
506+
offset: 0
507+
}, this.actionsDef);
508+
509+
this.innerCheckboxFilterDef = (0, _assign2.default)({}, {
510+
props: undefined,
511+
def: [],
512+
width: 14,
513+
offset: 0,
514+
filterFunction: undefined
515+
}, this.checkboxFilterDef);
516+
517+
this.innerSearchDef = (0, _assign2.default)({}, {
518+
show: true,
519+
props: undefined,
520+
filterFunction: undefined,
521+
width: 5,
522+
placeholder: '',
523+
offset: 0
524+
}, this.searchDef);
525+
526+
this.innerPaginationDef = (0, _assign2.default)({}, {
527+
layout: 'prev, pager, next, jumper, sizes, total',
528+
pageSize: 20,
529+
pageSizes: [20, 50, 100],
530+
currentPage: 1
531+
}, this.paginationDef);
532+
},
533+
502534
props: {
503535
data: {
504536
type: Array,
@@ -570,45 +602,15 @@ return /******/ (function(modules) { // webpackBootstrap
570602
currentPage: 1,
571603
internalPageSize: 20,
572604
searchKey: '',
573-
checkedFilters: []
605+
checkedFilters: [],
606+
innerActionsDef: {},
607+
innerCheckboxFilterDef: {},
608+
innerSearchDef: {},
609+
innerPaginationDef: {}
574610
};
575611
},
576612

577613
computed: {
578-
innerActionsDef: function innerActionsDef() {
579-
return (0, _assign2.default)({}, {
580-
def: [],
581-
width: 5,
582-
offset: 0
583-
}, this.actionsDef);
584-
},
585-
innerCheckboxFilterDef: function innerCheckboxFilterDef() {
586-
return (0, _assign2.default)({}, {
587-
props: undefined,
588-
def: [],
589-
width: 14,
590-
offset: 0,
591-
filterFunction: undefined
592-
}, this.checkboxFilterDef);
593-
},
594-
innerSearchDef: function innerSearchDef() {
595-
return (0, _assign2.default)({}, {
596-
show: true,
597-
props: undefined,
598-
filterFunction: undefined,
599-
width: 5,
600-
placeholder: '',
601-
offset: 0
602-
}, this.searchDef);
603-
},
604-
innerPaginationDef: function innerPaginationDef() {
605-
return (0, _assign2.default)({}, {
606-
layout: 'prev, pager, next, jumper, sizes, total',
607-
pageSize: 20,
608-
pageSizes: [20, 50, 100],
609-
currentPage: 1
610-
}, this.paginationDef);
611-
},
612614
innerColNotRowClick: function innerColNotRowClick() {
613615
return this.colNotRowClick.concat(['innerRowActions']);
614616
},

docs/_config.yml

-1
This file was deleted.

docs/demo.js

+37-35
Original file line numberDiff line numberDiff line change
@@ -48367,6 +48367,38 @@
4836748367
ActionBar: _ActionBar2.default,
4836848368
CheckboxGroup: _ScCheckboxGroup2.default
4836948369
},
48370+
created: function created() {
48371+
this.innerActionsDef = (0, _assign2.default)({}, {
48372+
def: [],
48373+
width: 5,
48374+
offset: 0
48375+
}, this.actionsDef);
48376+
48377+
this.innerCheckboxFilterDef = (0, _assign2.default)({}, {
48378+
props: undefined,
48379+
def: [],
48380+
width: 14,
48381+
offset: 0,
48382+
filterFunction: undefined
48383+
}, this.checkboxFilterDef);
48384+
48385+
this.innerSearchDef = (0, _assign2.default)({}, {
48386+
show: true,
48387+
props: undefined,
48388+
filterFunction: undefined,
48389+
width: 5,
48390+
placeholder: '',
48391+
offset: 0
48392+
}, this.searchDef);
48393+
48394+
this.innerPaginationDef = (0, _assign2.default)({}, {
48395+
layout: 'prev, pager, next, jumper, sizes, total',
48396+
pageSize: 20,
48397+
pageSizes: [20, 50, 100],
48398+
currentPage: 1
48399+
}, this.paginationDef);
48400+
},
48401+
4837048402
props: {
4837148403
data: {
4837248404
type: Array,
@@ -48438,45 +48470,15 @@
4843848470
currentPage: 1,
4843948471
internalPageSize: 20,
4844048472
searchKey: '',
48441-
checkedFilters: []
48473+
checkedFilters: [],
48474+
innerActionsDef: {},
48475+
innerCheckboxFilterDef: {},
48476+
innerSearchDef: {},
48477+
innerPaginationDef: {}
4844248478
};
4844348479
},
4844448480

4844548481
computed: {
48446-
innerActionsDef: function innerActionsDef() {
48447-
return (0, _assign2.default)({}, {
48448-
def: [],
48449-
width: 5,
48450-
offset: 0
48451-
}, this.actionsDef);
48452-
},
48453-
innerCheckboxFilterDef: function innerCheckboxFilterDef() {
48454-
return (0, _assign2.default)({}, {
48455-
props: undefined,
48456-
def: [],
48457-
width: 14,
48458-
offset: 0,
48459-
filterFunction: undefined
48460-
}, this.checkboxFilterDef);
48461-
},
48462-
innerSearchDef: function innerSearchDef() {
48463-
return (0, _assign2.default)({}, {
48464-
show: true,
48465-
props: undefined,
48466-
filterFunction: undefined,
48467-
width: 5,
48468-
placeholder: '',
48469-
offset: 0
48470-
}, this.searchDef);
48471-
},
48472-
innerPaginationDef: function innerPaginationDef() {
48473-
return (0, _assign2.default)({}, {
48474-
layout: 'prev, pager, next, jumper, sizes, total',
48475-
pageSize: 20,
48476-
pageSizes: [20, 50, 100],
48477-
currentPage: 1
48478-
}, this.paginationDef);
48479-
},
4848048482
innerColNotRowClick: function innerColNotRowClick() {
4848148483
return this.colNotRowClick.concat(['innerRowActions']);
4848248484
},

0 commit comments

Comments
 (0)