From 4a6e5a0fbacb1f41c8fa035b98056e5376e5d8ff Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 27 Jul 2020 09:12:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7bootstrapTable=E5=88=B0?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC1.17.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bootstrap-table/bootstrap-table.min.css | 2 +- .../bootstrap-table/bootstrap-table.min.js | 8 +- .../locale/bootstrap-table-zh-CN.js | 807 +++++++++++++++++- .../locale/bootstrap-table-zh-CN.min.js | 11 +- 4 files changed, 784 insertions(+), 44 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.css b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.css index d72d06558..a077945a1 100644 --- a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.css +++ b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.css @@ -1 +1 @@ -.fixed-table-container .bs-checkbox,.fixed-table-container .no-records-found{text-align:center}.fixed-table-body thead th .th-inner,.table td,.table th{box-sizing:border-box}.bootstrap-table .table{margin-bottom:0!important;border-bottom:1px solid #ddd;border-collapse:collapse!important;border-radius:1px}.bootstrap-table .table:not(.table-condensed),.bootstrap-table .table:not(.table-condensed)>tbody>tr>td,.bootstrap-table .table:not(.table-condensed)>tbody>tr>th,.bootstrap-table .table:not(.table-condensed)>tfoot>tr>td,.bootstrap-table .table:not(.table-condensed)>tfoot>tr>th,.bootstrap-table .table:not(.table-condensed)>thead>tr>td{padding:8px}.bootstrap-table .table.table-no-bordered>tbody>tr>td,.bootstrap-table .table.table-no-bordered>thead>tr>th{border-right:2px solid transparent}.bootstrap-table .table.table-no-bordered>tbody>tr>td:last-child{border-right:none}.fixed-table-container{position:relative;clear:both;border:1px solid #ddd;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px}.fixed-table-container.table-no-bordered{border:1px solid transparent}.fixed-table-footer,.fixed-table-header{overflow:hidden}.fixed-table-footer{border-top:1px solid #ddd}.fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.fixed-table-container table{width:100%}.fixed-table-container thead th{height:0;padding:0;margin:0;border-left:1px solid #ddd}.fixed-table-container thead th:focus{outline:transparent solid 0}.fixed-table-container thead th:first-child{border-left:none;border-top-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px}.fixed-table-container tbody td .th-inner,.fixed-table-container thead th .th-inner{padding:8px;line-height:24px;vertical-align:top;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fixed-table-container thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px}.fixed-table-container thead th .both{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC')}.fixed-table-container thead th .asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)}.fixed-table-container thead th .desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)}.fixed-table-container th.detail{width:30px}.fixed-table-container tbody td{border-left:1px solid #ddd}.fixed-table-container tbody tr:first-child td{border-top:none}.fixed-table-container tbody td:first-child{border-left:none}.fixed-table-container tbody .selected td{background-color:#f5f5f5}.fixed-table-container .bs-checkbox .th-inner{padding:8px 0}.fixed-table-container input[type=radio],.fixed-table-container input[type=checkbox]{margin:0 auto!important}.fixed-table-pagination .pagination-detail,.fixed-table-pagination div.pagination{margin-top:10px;margin-bottom:10px}.fixed-table-pagination div.pagination .pagination{margin:0}.fixed-table-pagination .pagination a{padding:6px 12px;line-height:1.428571429}.fixed-table-pagination .pagination-info{line-height:34px;margin-right:5px}.fixed-table-pagination .btn-group{position:relative;display:inline-block;vertical-align:middle}.fixed-table-pagination .dropup .dropdown-menu{margin-bottom:0}.fixed-table-pagination .page-list{display:inline-block}.fixed-table-toolbar .columns-left{margin-right:5px}.fixed-table-toolbar .columns-right{margin-left:5px}.fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429}.fixed-table-toolbar .bs-bars,.fixed-table-toolbar .columns,.fixed-table-toolbar .search{position:relative;margin-top:10px;margin-bottom:10px;line-height:34px}.fixed-table-pagination li.disabled a{pointer-events:none;cursor:default}.fixed-table-loading{display:none;position:absolute;top:42px;right:0;bottom:0;left:0;z-index:99;background-color:#fff;text-align:center}.fixed-table-body .card-view .title{font-weight:700;display:inline-block;min-width:30%;text-align:left!important}.table td,.table th{vertical-align:middle}.fixed-table-toolbar .dropdown-menu{text-align:left;max-height:300px;overflow:auto}.fixed-table-toolbar .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.fixed-table-toolbar .btn-group>.btn-group>.btn{border-radius:0}.fixed-table-toolbar .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.fixed-table-toolbar .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .table>thead>tr>th{vertical-align:bottom;border-bottom:1px solid #ddd}.bootstrap-table .table thead>tr>th{padding:0;margin:0}.bootstrap-table .fixed-table-footer tbody>tr>td{padding:0!important}.bootstrap-table .fixed-table-footer .table{border-bottom:none;border-radius:0;padding:0!important}.pull-right .dropdown-menu{right:0;left:auto}p.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden} \ No newline at end of file +.bootstrap-table .fixed-table-toolbar::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-toolbar .bs-bars,.bootstrap-table .fixed-table-toolbar .search,.bootstrap-table .fixed-table-toolbar .columns{position:relative;margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group>.btn{border-radius:0}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu{text-align:left;max-height:300px;overflow:auto;-ms-overflow-style:scrollbar;z-index:1001}.bootstrap-table .fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429}.bootstrap-table .fixed-table-toolbar .columns-left{margin-right:5px}.bootstrap-table .fixed-table-toolbar .columns-right{margin-left:5px}.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu{right:0;left:auto}.bootstrap-table .fixed-table-container{position:relative;clear:both}.bootstrap-table .fixed-table-container .table{width:100%;margin-bottom:0!important}.bootstrap-table .fixed-table-container .table th,.bootstrap-table .fixed-table-container .table td{vertical-align:middle;box-sizing:border-box}.bootstrap-table .fixed-table-container .table thead th{vertical-align:bottom;padding:0;margin:0}.bootstrap-table .fixed-table-container .table thead th:focus{outline:0 solid transparent}.bootstrap-table .fixed-table-container .table thead th.detail{width:30px}.bootstrap-table .fixed-table-container .table thead th .th-inner{padding:.75rem;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bootstrap-table .fixed-table-container .table thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px!important}.bootstrap-table .fixed-table-container .table thead th .both{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7XQMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC")}.bootstrap-table .fixed-table-container .table thead th .asc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==")}.bootstrap-table .fixed-table-container .table thead th .desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=")}.bootstrap-table .fixed-table-container .table tbody tr.selected td{background-color:rgba(0,0,0,0.075)}.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td{text-align:center}.bootstrap-table .fixed-table-container .table tbody tr .card-view{display:flex}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title{font-weight:bold;display:inline-block;min-width:30%;text-align:left!important}.bootstrap-table .fixed-table-container .table .bs-checkbox{text-align:center}.bootstrap-table .fixed-table-container .table .bs-checkbox label{margin-bottom:0}.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="radio"],.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="checkbox"]{margin:0 auto!important}.bootstrap-table .fixed-table-container .table.table-sm .th-inner{padding:.3rem}.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer){border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height.has-card-view{border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border{border-left:1px solid #dee2e6;border-right:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table thead th{border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th{border-bottom:1px solid #32383e}.bootstrap-table .fixed-table-container .fixed-table-header{overflow:hidden}.bootstrap-table .fixed-table-container .fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading{align-items:center;background:#fff;display:none;justify-content:center;position:absolute;bottom:0;width:100%;z-index:1000}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap{align-items:baseline;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text{margin-right:6px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap{align-items:center;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before{content:"";animation-duration:1.5s;animation-iteration-count:infinite;animation-name:LOADING;background:#212529;border-radius:50%;display:block;height:5px;margin:0 4px;opacity:0;width:5px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot{animation-delay:.3s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after{animation-delay:.6s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark{background:#212529}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before{background:#fff}.bootstrap-table .fixed-table-container .fixed-table-footer{overflow:hidden}.bootstrap-table .fixed-table-pagination::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-pagination>.pagination-detail,.bootstrap-table .fixed-table-pagination>.pagination{margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-pagination>.pagination-detail .pagination-info{line-height:34px;margin-right:5px}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list{display:inline-block}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group{position:relative;display:inline-block;vertical-align:middle}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group .dropdown-menu{margin-bottom:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination{margin:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination a{padding:6px 12px;line-height:1.428571429}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a{color:#c8c8c8}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::before{content:'\2B05'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::after{content:'\27A1'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.disabled a{pointer-events:none;cursor:default}.bootstrap-table.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important;background:#fff;height:calc(100vh);overflow-y:scroll}div.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}@keyframes LOADING{0%{opacity:0}50%{opacity:1}to{opacity:0}} \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.js b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.js index 3d818a2eb..25732255d 100644 --- a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.js +++ b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/bootstrap-table.min.js @@ -1,7 +1,9 @@ /** * @author zhixin wen - * version: 1.11.0 + * version: 1.17.1 * https://github.com/wenzhixin/bootstrap-table/ */ -(function(j){var k=null;var m=function(u){var s=arguments,r=true,t=1;u=u.replace(/%s/g,function(){var v=s[t++];if(typeof v==="undefined"){r=false;return""}return v});return r?u:""};var c=function(t,v,u,s){var r="";j.each(t,function(w,x){if(x[v]===s){r=x[u];return false}return true});return r};var i=function(s,t){var r=-1;j.each(s,function(u,v){if(v.field===t){r=u;return false}return true});return r};var l=function(u){var y,x,w,A=0,B=[];for(y=0;y").addClass("fixed-table-scroll-inner"),u=j("
").addClass("fixed-table-scroll-outer"),s,r;u.append(t);j("body").append(u);s=t[0].offsetWidth;u.css("overflow","scroll");r=t[0].offsetWidth;if(s===r){r=u[0].clientWidth}u.remove();k=s-r}return k};var q=function(s,u,t,r){var v=u;if(typeof u==="string"){var w=u.split(".");if(w.length>1){v=window;j.each(w,function(x,y){v=v[y]})}else{v=window[u]}}if(typeof v==="object"){return v}if(typeof v==="function"){return v.apply(s,t)}if(!v&&typeof u==="string"&&m.apply(this,[u].concat(t))){return m.apply(this,[u].concat(t))}return r};var f=function(s,r,w){var x=Object.getOwnPropertyNames(s),u=Object.getOwnPropertyNames(r),v="";if(w){if(x.length!==u.length){return false}}for(var t=0;t-1){if(s[v]!==r[v]){return false}}}return true};var p=function(r){if(typeof r==="string"){return r.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}return r};var d=function(s){var r=0;s.children().each(function(){if(r0||!!navigator.userAgent.match(/Trident.*rv\:11\./))};var h=function(){if(!Object.keys){Object.keys=(function(){var t=Object.prototype.hasOwnProperty,u=!({toString:null}).propertyIsEnumerable("toString"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=s.length;return function(x){if(typeof x!=="object"&&(typeof x!=="function"||x===null)){throw new TypeError("Object.keys called on non-object")}var v=[],y,w;for(y in x){if(t.call(x,y)){v.push(y)}}if(u){for(w=0;w','
',this.options.paginationVAlign==="top"||this.options.paginationVAlign==="both"?'
':"",'
','
','
','
',this.options.formatLoadingMessage(),"
","
",'',this.options.paginationVAlign==="bottom"||this.options.paginationVAlign==="both"?'
':"","
","
"].join(""));this.$container.insertAfter(this.$el);this.$tableContainer=this.$container.find(".fixed-table-container");this.$tableHeader=this.$container.find(".fixed-table-header");this.$tableBody=this.$container.find(".fixed-table-body");this.$tableLoading=this.$container.find(".fixed-table-loading");this.$tableFooter=this.$container.find(".fixed-table-footer");this.$toolbar=this.$container.find(".fixed-table-toolbar");this.$pagination=this.$container.find(".fixed-table-pagination");this.$tableBody.append(this.$el);this.$container.after('
');this.$el.addClass(this.options.classes);if(this.options.striped){this.$el.addClass("table-striped")}if(j.inArray("table-no-bordered",this.options.classes.split(" "))!==-1){this.$tableContainer.addClass("table-no-bordered")}};e.prototype.initTable=function(){var t=this,s=[],u=[];this.$header=this.$el.find(">thead");if(!this.$header.length){this.$header=j("").appendTo(this.$el)}this.$header.find("tr").each(function(){var v=[];j(this).find("th").each(function(){if(typeof j(this).data("field")!=="undefined"){j(this).data("field",j(this).data("field")+"")}v.push(j.extend({},{title:j(this).html(),"class":j(this).attr("class"),titleTooltip:j(this).attr("title"),rowspan:j(this).attr("rowspan")?+j(this).attr("rowspan"):undefined,colspan:j(this).attr("colspan")?+j(this).attr("colspan"):undefined},j(this).data()))});s.push(v)});if(!j.isArray(this.options.columns[0])){this.options.columns=[this.options.columns]}this.options.columns=j.extend(true,[],s,this.options.columns);this.columns=[];l(this.options.columns);j.each(this.options.columns,function(w,v){j.each(v,function(x,y){y=j.extend({},e.COLUMN_DEFAULTS,y);if(typeof y.fieldIndex!=="undefined"){t.columns[y.fieldIndex]=y}t.options.columns[w][x]=y})});if(this.options.data.length){return}var r=[];this.$el.find(">tbody>tr").each(function(w){var v={};v._id=j(this).attr("id");v._class=j(this).attr("class");v._data=g(j(this).data());j(this).find(">td").each(function(z){var E=j(this),B=+E.attr("colspan")||1,C=+E.attr("rowspan")||1,A,y;for(;r[w]&&r[w][z];z++){}for(A=z;A");if(v===0&&!t.options.cardView&&t.options.detailView){s.push(m('
',t.options.columns.length))}j.each(u,function(B,A){var F="",C="",E="",w="",D=m(' class="%s"',A["class"]),z=t.options.sortOrder||A.order,y="px",x=A.width;if(A.width!==undefined&&(!t.options.cardView)){if(typeof A.width==="string"){if(A.width.indexOf("%")!==-1){y="%"}}}if(A.width&&typeof A.width==="string"){x=A.width.replace("%","").replace("px","")}C=m("text-align: %s; ",A.halign?A.halign:A.align);E=m("text-align: %s; ",A.align);w=m("vertical-align: %s; ",A.valign);w+=m("width: %s; ",(A.checkbox||A.radio)&&!x?"36px":(x?x+y:undefined));if(typeof A.fieldIndex!=="undefined"){t.header.fields[A.fieldIndex]=A.field;t.header.styles[A.fieldIndex]=E+w;t.header.classes[A.fieldIndex]=D;t.header.formatters[A.fieldIndex]=A.formatter;t.header.events[A.fieldIndex]=A.events;t.header.sorters[A.fieldIndex]=A.sorter;t.header.sortNames[A.fieldIndex]=A.sortName;t.header.cellStyles[A.fieldIndex]=A.cellStyle;t.header.searchables[A.fieldIndex]=A.searchable;if(!A.visible){return}if(t.options.cardView&&(!A.cardVisible)){return}r[A.field]=A}s.push("");s.push(m('
',t.options.sortable&&A.sortable?"sortable both":""));F=A.title;if(A.checkbox){if(!t.options.singleSelect&&t.options.checkboxHeader){F=''}t.header.stateField=A.field}if(A.radio){F="";t.header.stateField=A.field;t.options.singleSelect=true}s.push(F);s.push("
");s.push('
');s.push("");s.push("")});s.push("")});this.$header.html(s.join(""));this.$header.find("th[data-field]").each(function(u){j(this).data(r[j(this).data("field")])});this.$container.off("click",".th-inner").on("click",".th-inner",function(u){var v=j(this);if(t.options.detailView){if(v.closest(".bootstrap-table")[0]!==t.$container[0]){return false}}if(t.options.sortable&&v.parent().data().sortable){t.onSort(u)}});this.$header.children().children().off("keypress").on("keypress",function(v){if(t.options.sortable&&j(this).data().sortable){var u=v.keyCode||v.which;if(u==13){t.onSort(v)}}});j(window).off("resize.bootstrap-table");if(!this.options.showHeader||this.options.cardView){this.$header.hide();this.$tableHeader.hide();this.$tableLoading.css("top",0)}else{this.$header.show();this.$tableHeader.show();this.$tableLoading.css("top",this.$header.outerHeight()+1);this.getCaret();j(window).on("resize.bootstrap-table",j.proxy(this.resetWidth,this))}this.$selectAll=this.$header.find('[name="btSelectAll"]');this.$selectAll.off("click").on("click",function(){var u=j(this).prop("checked");t[u?"checkAll":"uncheckAll"]();t.updateSelected()})};e.prototype.initFooter=function(){if(!this.options.showFooter||this.options.cardView){this.$tableFooter.hide()}else{this.$tableFooter.show()}};e.prototype.initData=function(s,r){if(r==="append"){this.data=this.data.concat(s)}else{if(r==="prepend"){this.data=[].concat(s).concat(this.data)}else{this.data=s||this.options.data}}if(r==="append"){this.options.data=this.options.data.concat(s)}else{if(r==="prepend"){this.options.data=[].concat(s).concat(this.options.data)}else{this.options.data=this.data}}if(this.options.sidePagination==="server"){return}this.initSort()};e.prototype.initSort=function(){var u=this,t=this.options.sortName,r=this.options.sortOrder==="desc"?-1:1,s=j.inArray(this.options.sortName,this.header.fields);if(this.options.customSort!==j.noop){this.options.customSort.apply(this,[this.options.sortName,this.options.sortOrder]);return}if(s!==-1){if(this.options.sortStable){j.each(this.data,function(v,w){if(!w.hasOwnProperty("_position")){w._position=v}})}this.data.sort(function(w,v){if(u.header.sortNames[s]){t=u.header.sortNames[s]}var y=o(w,t,u.options.escape),z=o(v,t,u.options.escape),x=q(u.header,u.header.sorters[s],[y,z]);if(x!==undefined){return r*x}if(y===undefined||y===null){y=""}if(z===undefined||z===null){z=""}if(u.options.sortStable&&y===z){y=w._position;z=v._position}if(j.isNumeric(y)&&j.isNumeric(z)){y=parseFloat(y);z=parseFloat(z);if(y',this.options.toolbarAlign)).appendTo(this.$toolbar).append(j(this.options.toolbar))}t=[m('
',this.options.buttonsAlign,this.options.buttonsAlign)];if(typeof this.options.icons==="string"){this.options.icons=q(null,this.options.icons)}if(this.options.showSearch){t.push(m('")}if(this.options.showPaginationSwitch){t.push(m('")}if(this.options.showRefresh){t.push(m('")}if(this.options.showToggle){t.push(m('")}if(this.options.showFullscreen){t.push(m('")}if(this.options.showColumns){t.push(m('
',this.options.formatColumns()),'",'","
")}t.push("
");if(this.showToolbar||t.length>2){this.$toolbar.append(t.join(""))}if(this.options.showPaginationSwitch){this.$toolbar.find('button[name="paginationSwitch"]').off("click").on("click",j.proxy(this.togglePagination,this))}if(this.options.showFullscreen){this.$toolbar.find('button[name="fullscreen"]').off("click").on("click",j.proxy(this.toggleFullscreen,this))}if(this.options.showRefresh){this.$toolbar.find('button[name="refresh"]').off("click").on("click",j.proxy(this.refresh,this))}if(this.options.showToggle){this.$toolbar.find('button[name="toggle"]').off("click").on("click",function(){u.toggleView()})}if(this.options.showSearch){this.$toolbar.find('button[name="showSearch"]').off("click").on("click",function(){j(this).parents(".select-table").siblings().slideToggle()})}if(this.options.showColumns){s=this.$toolbar.find(".keep-open");if(r<=this.options.minimumCountColumns){s.find("input").prop("disabled",true)}s.find("li").off("click").on("click",function(x){x.stopImmediatePropagation()});s.find("input").off("click").on("click",function(){var x=j(this);u.toggleColumn(j(this).val(),x.prop("checked"),false);u.trigger("column-switch",j(this).data("field"),x.prop("checked"))})}if(this.options.search){t=[];t.push('");this.$toolbar.append(t.join(""));v=this.$toolbar.find(".search input");v.off("keyup drop").on("keyup drop",function(x){if(u.options.searchOnEnterKey&&x.keyCode!==13){return}if(j.inArray(x.keyCode,[37,38,39,40])>-1){return}clearTimeout(w);w=setTimeout(function(){u.onSearch(x)},u.options.searchTimeOut)});if(b()){v.off("mouseup").on("mouseup",function(x){clearTimeout(w);w=setTimeout(function(){u.onSearch(x)},u.options.searchTimeOut)})}}};e.prototype.onSearch=function(r){var s=j.trim(j(r.currentTarget).val());if(this.options.trimOnSearch&&j(r.currentTarget).val()!==s){j(r.currentTarget).val(s)}if(s===this.searchText){return}this.searchText=s;this.options.searchText=s;this.options.pageNumber=1;this.initSearch();this.updatePagination();this.trigger("search",s)};e.prototype.initSearch=function(){var t=this;if(this.options.sidePagination!=="server"){if(this.options.customSearch!==j.noop){this.options.customSearch.apply(this,[this.searchText]);return}var r=this.searchText&&(this.options.escape?p(this.searchText):this.searchText).toLowerCase();var u=j.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.data=u?j.grep(this.options.data,function(w,v){for(var s in u){if(j.isArray(u[s])&&j.inArray(w[s],u[s])===-1||w[s]!==u[s]){return false}}return true}):this.options.data;this.data=r?j.grep(this.data,function(A,x){for(var v=0;v-1){r=true}}}this.totalPages=~~((this.options.totalRows-1)/this.options.pageSize)+1;this.options.totalPages=this.totalPages}if(this.totalPages>0&&this.options.pageNumber>this.totalPages){this.options.pageNumber=this.totalPages}this.pageFrom=(this.options.pageNumber-1)*this.options.pageSize+1;this.pageTo=this.options.pageNumber*this.options.pageSize;if(this.pageTo>this.options.totalRows){this.pageTo=this.options.totalRows}x.push('
','',this.options.onlyInfoPagination?this.options.formatDetailPagination(this.options.totalRows):this.options.formatShowingRows(this.pageFrom,this.pageTo,this.options.totalRows),"");if(!this.options.onlyInfoPagination){x.push('');var F=[m('',this.options.paginationVAlign==="top"||this.options.paginationVAlign==="both"?"dropdown":"dropup"),'",'");x.push(this.options.formatRecordsPerPage(F.join("")));x.push("");x.push("
",'")}this.$pagination.html(x.join(""));if(!this.options.onlyInfoPagination){w=this.$pagination.find(".page-list a");G=this.$pagination.find(".page-first");I=this.$pagination.find(".page-pre");E=this.$pagination.find(".page-next");y=this.$pagination.find(".page-last");u=this.$pagination.find(".page-number");if(this.options.smartDisplay){if(this.totalPages<=1){this.$pagination.find("div.pagination").hide()}if(t.length<2||this.options.totalRows<=t[0]){this.$pagination.find("span.page-list").hide()}this.$pagination[this.getData().length?"show":"hide"]()}if(!this.options.paginationLoop){if(this.options.pageNumber===1){I.addClass("disabled")}if(this.options.pageNumber===this.totalPages){E.addClass("disabled")}}if(r){this.options.pageSize=this.options.formatAllRows()}w.off("click").on("click",j.proxy(this.onPageListChange,this));G.off("click").on("click",j.proxy(this.onPageFirst,this));I.off("click").on("click",j.proxy(this.onPagePre,this));E.off("click").on("click",j.proxy(this.onPageNext,this));y.off("click").on("click",j.proxy(this.onPageLast,this));u.off("click").on("click",j.proxy(this.onPageNumber,this))}if(this.options.showPageGo){var v=this,C=this.$pagination.find("ul.pagination"),B=C.find("li.pageGo");if(!B.length){B=j(['
  • ',m('',this.options.pageNumber),'","
  • "].join("")).appendTo(C);B.find("button").click(function(){var K=parseInt(B.find("input").val())||1;if(K<1||K>v.options.totalPages){K=1}v.selectPage(K)})}}};e.prototype.updatePagination=function(r){if(r&&j(r.currentTarget).hasClass("disabled")){return}if(!this.options.maintainSelected){this.resetRows()}this.initPagination();if(this.options.sidePagination==="server"){this.initServer()}else{this.initBody()}this.trigger("page-change",this.options.pageNumber,this.options.pageSize)};e.prototype.onPageListChange=function(r){var s=j(r.currentTarget);s.parent().addClass("active").siblings().removeClass("active");this.options.pageSize=s.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+s.text();this.$toolbar.find(".page-size").text(this.options.pageSize);this.updatePagination(r)};e.prototype.onPageFirst=function(r){this.options.pageNumber=1;this.updatePagination(r)};e.prototype.onPagePre=function(r){if((this.options.pageNumber-1)===0){this.options.pageNumber=this.options.totalPages}else{this.options.pageNumber--}this.updatePagination(r)};e.prototype.onPageNext=function(r){if((this.options.pageNumber+1)>this.options.totalPages){this.options.pageNumber=1}else{this.options.pageNumber++}this.updatePagination(r)};e.prototype.onPageLast=function(r){this.options.pageNumber=this.totalPages;this.updatePagination(r)};e.prototype.onPageNumber=function(r){if(this.options.pageNumber===+j(r.currentTarget).text()){return}this.options.pageNumber=+j(r.currentTarget).text();this.updatePagination(r)};e.prototype.initBody=function(x){var z=this,y=[],v=this.getData();this.trigger("pre-body",v);this.$body=this.$el.find(">tbody");if(!this.$body.length){this.$body=j("").appendTo(this.$el)}if(!this.options.pagination||this.options.sidePagination==="server"){this.pageFrom=1;this.pageTo=v.length}for(var w=this.pageFrom-1;w");if(this.options.cardView){y.push(m('
    ',this.header.fields.length))}if(!this.options.cardView&&this.options.detailView){y.push("",'',m('',this.options.iconsPrefix,this.options.icons.detailOpen),"","")}j.each(this.header.fields,function(I,L){var P="",M=o(C,L,z.options.escape),K="",E={},Q="",J=z.header.classes[I],G="",O="",R="",H="",F=z.columns[I];if(z.fromHtml&&typeof M==="undefined"){return}if(!F.visible){return}if(z.options.cardView&&!F.cardVisible){return}r=m('style="%s"',s.concat(z.header.styles[I]).join("; "));if(C["_"+L+"_id"]){Q=m(' id="%s"',C["_"+L+"_id"])}if(C["_"+L+"_class"]){J=m(' class="%s"',C["_"+L+"_class"])}if(C["_"+L+"_rowspan"]){O=m(' rowspan="%s"',C["_"+L+"_rowspan"])}if(C["_"+L+"_colspan"]){R=m(' colspan="%s"',C["_"+L+"_colspan"])}if(C["_"+L+"_title"]){H=m(' title="%s"',C["_"+L+"_title"])}E=q(z.header,z.header.cellStyles[I],[M,C,w,L],E);if(E.classes){J=m(' class="%s"',E.classes)}if(E.css){var D=[];for(var N in E.css){D.push(N+": "+E.css[N])}r=m('style="%s"',D.concat(z.header.styles[I]).join("; "))}M=q(F,z.header.formatters[I],[M,C,w],M);if(C["_"+L+"_data"]&&!j.isEmptyObject(C["_"+L+"_data"])){j.each(C["_"+L+"_data"],function(T,S){if(T==="index"){return}G+=m(' data-%s="%s"',T,S)})}if(F.checkbox||F.radio){K=F.checkbox?"checkbox":K;K=F.radio?"radio":K;P=[m(z.options.cardView?'
    ':'',F["class"]||""),"",z.header.formatters[I]&&typeof M==="string"?M:"",z.options.cardView?"
    ":""].join("");C[z.header.stateField]=M===true||(M&&M.checked)}else{M=typeof M==="undefined"||M===null?z.options.undefinedText:M;P=z.options.cardView?['
    ',z.options.showHeader?m('%s',r,c(z.columns,"field","title",L)):"",m('%s',M),"
    "].join(""):[m("",Q,J,r,G,O,R,H),M,""].join("");if(z.options.cardView&&z.options.smartDisplay&&M===""){P='
    '}}y.push(P)});if(this.options.cardView){y.push("
    ")}y.push("")}if(!y.length){y.push('',m('%s',this.$header.find("th").length,this.options.formatNoMatches()),"")}this.$body.html(y.join(""));if(!x){this.scrollTo(0)}this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",function(J){var D=j(this),F=D.parent(),M=z.data[F.data("index")],H=D[0].cellIndex,G=z.getVisibleFields(),K=G[z.options.detailView&&!z.options.cardView?H-1:H],E=z.columns[i(z.columns,K)],L=o(M,K,z.options.escape);if(D.find(".detail-icon").length){return}z.trigger(J.type==="click"?"click-cell":"dbl-click-cell",K,L,M,D);z.trigger(J.type==="click"?"click-row":"dbl-click-row",M,F,K);if(J.type==="click"&&z.options.clickToSelect&&E.clickToSelect&&!z.options.ignoreClickToSelectOn(J.target)){var I=F.find(m('[name="%s"]',z.options.selectItemName));if(I.length){I[0].click()}}});this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",function(){var H=j(this),G=H.parent().parent(),E=G.data("index"),I=v[E];if(G.next().is("tr.detail-view")){H.find("i").attr("class",m("%s %s",z.options.iconsPrefix,z.options.icons.detailOpen));G.next().remove();z.trigger("collapse-row",E,I)}else{H.find("i").attr("class",m("%s %s",z.options.iconsPrefix,z.options.icons.detailClose));G.after(m('',G.find("td").length));var D=G.next().find("td");var F=q(z.options,z.options.detailFormatter,[E,I,D],"");if(D.length===1){D.append(F)}z.trigger("expand-row",E,I,D)}z.resetView()});this.$selectItem=this.$body.find(m('[name="%s"]',this.options.selectItemName));this.$selectItem.off("click").on("click",function(E){E.stopImmediatePropagation();var F=j(this),D=F.prop("checked"),G=z.data[F.data("index")];if(z.options.maintainSelected&&j(this).is(":radio")){j.each(z.options.data,function(H,I){I[z.header.stateField]=false})}G[z.header.stateField]=D;if(z.options.singleSelect){z.$selectItem.not(this).each(function(){z.data[j(this).data("index")][z.header.stateField]=false});z.$selectItem.filter(":checked").not(this).prop("checked",false)}z.updateSelected();z.trigger(D?"check":"uncheck",G,F)});j.each(this.header.events,function(G,F){if(!F){return}if(typeof F==="string"){F=q(null,F)}var H=z.header.fields[G],D=j.inArray(H,z.getVisibleFields());if(z.options.detailView&&!z.options.cardView){D+=1}for(var E in F){z.$body.find(">tr:not(.no-records-found)").each(function(){var M=j(this),N=M.find(z.options.cardView?".card-view":"td").eq(D),J=E.indexOf(" "),I=E.substring(0,J),K=E.substring(J+1),L=F[E];N.find(K).off(I).on(I,function(Q){var O=M.data("index"),R=z.data[O],P=R[H];L.apply(this,[Q,P,R,O])})})}});this.updateSelected();this.resetView();this.trigger("post-body",v)};e.prototype.initServer=function(r,w,s){var u=this,v={},x={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder},t;if(this.options.pagination){x.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize;x.pageNumber=this.options.pageNumber}if(!this.options.firstLoad&&!firstLoadTable.includes(this.options.id)){firstLoadTable.push(this.options.id);return}if(!(s||this.options.url)&&!this.options.ajax){return}if(this.options.queryParamsType==="limit"){x={search:x.searchText,sort:x.sortName,order:x.sortOrder};if(this.options.pagination){x.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1);x.limit=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize}}if(!(j.isEmptyObject(this.filterColumnsPartial))){x.filter=JSON.stringify(this.filterColumnsPartial,null)}v=q(this.options,this.options.queryParams,[x],v);j.extend(v,w||{});if(v===false){return}if(!r){this.$tableLoading.show()}t=j.extend({},q(null,this.options.ajaxOptions),{type:this.options.method,url:s||this.options.url,data:this.options.contentType==="application/json"&&this.options.method==="post"?JSON.stringify(v):v,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(y){y=q(u.options,u.options.responseHandler,[y],y);u.load(y);u.trigger("load-success",y);if(!r){u.$tableLoading.hide()}},error:function(y){u.trigger("load-error",y.status,y);if(!r){u.$tableLoading.hide()}}});if(this.options.ajax){q(this,this.options.ajax,[t],null)}else{if(this._xhr&&this._xhr.readyState!==4){this._xhr.abort()}this._xhr=j.ajax(t)}};e.prototype.initSearchText=function(){if(this.options.search){if(this.options.searchText!==""){var r=this.$toolbar.find(".search input");r.val(this.options.searchText);this.onSearch({currentTarget:r})}}};e.prototype.getCaret=function(){var r=this;j.each(this.$header.find("th"),function(s,t){j(t).find(".sortable").removeClass("desc asc").addClass((j(t).data("field")===r.options.sortName||j(t).data("sortName")===r.options.sortName)?r.options.sortOrder:"both")})};e.prototype.updateSelected=function(){var r=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;var s=j(".left-fixed-table-columns input[name=btSelectItem]");if(s.length>0){r=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===s.filter(":enabled").filter(":checked").length}this.$selectAll.add(this.$selectAll_).prop("checked",r);this.$selectItem.each(function(){j(this).closest("tr")[j(this).prop("checked")?"addClass":"removeClass"]("selected")})};e.prototype.updateRows=function(){var r=this;this.$selectItem.each(function(){r.data[j(this).data("index")][r.header.stateField]=j(this).prop("checked")})};e.prototype.resetRows=function(){var r=this;j.each(this.data,function(s,t){r.$selectAll.prop("checked",false);r.$selectItem.prop("checked",false);if(r.header.stateField){t[r.header.stateField]=false}})};e.prototype.trigger=function(s){var r=Array.prototype.slice.call(arguments,1);s+=".bs.table";this.options[e.EVENTS[s]].apply(this.options,r);this.$el.trigger(j.Event(s),r);this.options.onAll(s,r);this.$el.trigger(j.Event("all.bs.table"),[s,r])};e.prototype.resetHeader=function(){clearTimeout(this.timeoutId_);this.timeoutId_=setTimeout(j.proxy(this.fitHeader,this),this.$el.is(":hidden")?100:0)};e.prototype.fitHeader=function(){var t=this,u,r,x,y;if(t.$el.is(":hidden")){t.timeoutId_=setTimeout(j.proxy(t.fitHeader,t),100);return}u=this.$tableBody.get(0);r=u.scrollWidth>u.clientWidth&&u.scrollHeight>u.clientHeight+this.$header.outerHeight()?a():0;this.$el.css("margin-top",-this.$header.outerHeight());x=j(":focus");if(x.length>0){var z=x.parents("th");if(z.length>0){var A=z.attr("data-field");if(A!==undefined){var s=this.$header.find("[data-field='"+A+"']");if(s.length>0){s.find(":input").addClass("focus-temp")}}}}this.$header_=this.$header.clone(true,true);this.$selectAll_=this.$header_.find('[name="btSelectAll"]');this.$tableHeader.css({"margin-right":r}).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_);y=j(".focus-temp:visible:eq(0)");if(y.length>0){y.focus();this.$header.find(".focus-temp").removeClass("focus-temp")}this.$header.find("th[data-field]").each(function(B){t.$header_.find(m('th[data-field="%s"]',j(this).data("field"))).data(j(this).data())});var w=this.getVisibleFields(),v=this.$header_.find("th");this.$body.find(">tr:first-child:not(.no-records-found) > *").each(function(C){var E=j(this),B=C;if(t.options.detailView&&!t.options.cardView){if(C===0){t.$header_.find("th.detail").find(".fht-cell").width(E.innerWidth())}B=C-1}var D=t.$header_.find(m('th[data-field="%s"]',w[B]));if(D.length>1){D=j(v[E[0].cellIndex])}D.find(".fht-cell").width(E.innerWidth())});this.$tableBody.off("scroll").on("scroll",function(){t.$tableHeader.scrollLeft(j(this).scrollLeft());if(t.options.showFooter&&!t.options.cardView){t.$tableFooter.scrollLeft(j(this).scrollLeft())}});t.trigger("post-header")};e.prototype.resetFooter=function(){var s=this,t=s.getData(),r=[];if(!this.options.showFooter||this.options.cardView){return}if(!this.options.cardView&&this.options.detailView){r.push('
     
    ')}j.each(this.columns,function(x,z){var w,B="",v="",A=[],y={},u=m(' class="%s"',z["class"]);if(!z.visible){return}if(s.options.cardView&&(!z.cardVisible)){return}B=m("text-align: %s; ",z.falign?z.falign:z.align);v=m("vertical-align: %s; ",z.valign);y=q(null,s.options.footerStyle);if(y&&y.css){for(w in y.css){A.push(w+": "+y.css[w])}}r.push("");r.push('
    ');r.push(q(z,z.footerFormatter,[t]," ")||" ");r.push("
    ");r.push('
    ');r.push("");r.push("")});this.$tableFooter.find("tr").html(r.join(""));this.$tableFooter.show();clearTimeout(this.timeoutFooter_);this.timeoutFooter_=setTimeout(j.proxy(this.fitFooter,this),this.$el.is(":hidden")?100:0)};e.prototype.fitFooter=function(){var u=this,r,t,s;clearTimeout(this.timeoutFooter_);if(this.$el.is(":hidden")){this.timeoutFooter_=setTimeout(j.proxy(this.fitFooter,this),100);return}t=this.$el.css("width");s=t>this.$tableBody.width()?a():0;this.$tableFooter.css({"margin-right":s}).find("table").css("width",t).attr("class",this.$el.attr("class"));r=this.$tableFooter.find("td");this.$body.find(">tr:first-child:not(.no-records-found) > *").each(function(v){var w=j(this);r.eq(v).find(".fht-cell").width(w.innerWidth())})};e.prototype.toggleColumn=function(r,s,u){if(r===-1){return}this.columns[r].visible=s;this.initHeader();this.initSearch();this.initPagination();this.initBody();if(this.options.showColumns){var t=this.$toolbar.find(".keep-open input").prop("disabled",false);if(u){t.filter(m('[value="%s"]',r)).prop("checked",s)}if(t.filter(":checked").length<=this.options.minimumCountColumns){t.filter(":checked").prop("disabled",true)}}};e.prototype.toggleRow=function(r,t,s){if(r===-1){return}this.$body.find(typeof r!=="undefined"?m('tr[data-index="%s"]',r):m('tr[data-uniqueid="%s"]',t))[s?"show":"hide"]()};e.prototype.getVisibleFields=function(){var s=this,r=[];j.each(this.header.fields,function(t,v){var u=s.columns[i(s.columns,v)];if(!u.visible){return}r.push(v)});return r};e.prototype.resetView=function(u){var s=0;if(u&&u.height){this.options.height=u.height}this.$selectAll.prop("checked",this.$selectItem.length>0&&this.$selectItem.length===this.$selectItem.filter(":checked").length);if(this.options.height){var t=d(this.$toolbar),v=d(this.$pagination),r=this.options.height-t-v;this.$tableContainer.css("height",r+"px")}if(this.options.cardView){this.$el.css("margin-top","0");this.$tableContainer.css("padding-bottom","0");this.$tableFooter.hide();return}if(this.options.showHeader&&this.options.height){this.$tableHeader.show();this.resetHeader();s+=this.$header.outerHeight()}else{this.$tableHeader.hide();this.trigger("post-header")}if(this.options.showFooter){this.resetFooter();if(this.options.height){s+=this.$tableFooter.outerHeight()+1}}this.getCaret();this.$tableContainer.css("padding-bottom",s+"px");this.trigger("reset-view")};e.prototype.getData=function(r){return(this.searchText||!j.isEmptyObject(this.filterColumns)||!j.isEmptyObject(this.filterColumnsPartial))?(r?this.data.slice(this.pageFrom-1,this.pageTo):this.data):(r?this.options.data.slice(this.pageFrom-1,this.pageTo):this.options.data)};e.prototype.load=function(s){var r=false;if(this.options.sidePagination==="server"){this.options.totalRows=s.total;r=s.fixedScroll;s=s[this.options.dataField]}else{if(!j.isArray(s)){r=s.fixedScroll;s=s.data}}this.initData(s);this.initSearch();this.initPagination();this.initBody(r)};e.prototype.append=function(r){this.initData(r,"append");this.initSearch();this.initPagination();this.initSort();this.initBody(true)};e.prototype.prepend=function(r){this.initData(r,"prepend");this.initSearch();this.initPagination();this.initSort();this.initBody(true)};e.prototype.remove=function(u){var r=this.options.data.length,s,t;if(!u.hasOwnProperty("field")||!u.hasOwnProperty("values")){return}for(s=r-1;s>=0;s--){t=this.options.data[s];if(!t.hasOwnProperty(u.field)){continue}if(j.inArray(t[u.field],u.values)!==-1){this.options.data.splice(s,1)}}if(r===this.options.data.length){return}this.initSearch();this.initPagination();this.initSort();this.initBody(true)};e.prototype.removeAll=function(){if(this.options.data.length>0){this.options.data.splice(0,this.options.data.length);this.initSearch();this.initPagination();this.initBody(true)}};e.prototype.getRowByUniqueId=function(x){var w=this.options.uniqueId,r=this.options.data.length,s=null,t,v,u;for(t=r-1;t>=0;t--){v=this.options.data[t];if(v.hasOwnProperty(w)){u=v[w]}else{if(v._data.hasOwnProperty(w)){u=v._data[w]}else{continue}}if(typeof u==="string"){x=x.toString()}else{if(typeof u==="number"){if((Number(u)===u)&&(u%1===0)){x=parseInt(x)}else{if((u===Number(u))&&(u!==0)){x=parseFloat(x)}}}}if(u===x){s=v;break}}return s};e.prototype.removeByUniqueId=function(t){var r=this.options.data.length,s=this.getRowByUniqueId(t);if(s){this.options.data.splice(this.options.data.indexOf(s),1)}if(r===this.options.data.length){return}this.initSearch();this.initPagination();this.initBody(true)};e.prototype.updateByUniqueId=function(t){var r=this;var s=j.isArray(t)?t:[t];j.each(s,function(u,w){var v;if(!w.hasOwnProperty("id")||!w.hasOwnProperty("row")){return}v=j.inArray(r.getRowByUniqueId(w.id),r.options.data);if(v===-1){return}j.extend(r.options.data[v],w.row)});this.initSearch();this.initSort();this.initBody(true)};e.prototype.insertRow=function(r){if(!r.hasOwnProperty("index")||!r.hasOwnProperty("row")){return}this.data.splice(r.index,0,r.row);this.initSearch();this.initPagination();this.initSort();this.initBody(true)};e.prototype.updateRow=function(t){var r=this;var s=j.isArray(t)?t:[t];j.each(s,function(u,v){if(!v.hasOwnProperty("index")||!v.hasOwnProperty("row")){return}j.extend(r.options.data[v.index],v.row)});this.initSearch();this.initSort();this.initBody(true)};e.prototype.showRow=function(r){if(!r.hasOwnProperty("index")&&!r.hasOwnProperty("uniqueId")){return}this.toggleRow(r.index,r.uniqueId,true)};e.prototype.hideRow=function(r){if(!r.hasOwnProperty("index")&&!r.hasOwnProperty("uniqueId")){return}this.toggleRow(r.index,r.uniqueId,false)};e.prototype.getRowsHidden=function(r){var t=j(this.$body[0]).children().filter(":hidden"),s=0;if(r){for(;str"),r;if(this.options.detailView&&!this.options.cardView){t+=1}r=x.eq(y).find(">td").eq(t);if(y<0||t<0||y>=this.data.length){return}for(w=y;wtd").eq(v).hide()}}r.attr("rowspan",u).attr("colspan",s).show()};e.prototype.updateCell=function(r){if(!r.hasOwnProperty("index")||!r.hasOwnProperty("field")||!r.hasOwnProperty("value")){return}this.data[r.index][r.field]=r.value;if(r.reinit===false){return}this.initSort();this.initBody(true)};e.prototype.getOptions=function(){return this.options};e.prototype.getSelections=function(){var r=this;return j.grep(this.options.data,function(s){return s[r.header.stateField] -})};e.prototype.getAllSelections=function(){var r=this;return j.grep(this.options.data,function(s){return s[r.header.stateField]})};e.prototype.checkAll=function(){this.checkAll_(true)};e.prototype.uncheckAll=function(){this.checkAll_(false)};e.prototype.checkInvert=function(){var s=this;var t=s.$selectItem.filter(":enabled");var r=t.filter(":checked");t.each(function(){j(this).prop("checked",!j(this).prop("checked"))});s.updateRows();s.updateSelected();s.trigger("uncheck-some",r);r=s.getSelections();s.trigger("check-some",r)};e.prototype.checkAll_=function(r){var s;if(!r){s=this.getSelections()}this.$selectAll.add(this.$selectAll_).prop("checked",r);this.$selectItem.filter(":enabled").prop("checked",r);this.updateRows();if(r){s=this.getSelections()}this.trigger(r?"check-all":"uncheck-all",s)};e.prototype.check=function(r){this.check_(true,r)};e.prototype.uncheck=function(r){this.check_(false,r)};e.prototype.check_=function(t,r){var s=this.$selectItem.filter(m('[data-index="%s"]',r)).prop("checked",t);this.data[r][this.header.stateField]=t;this.updateSelected();this.trigger(t?"check":"uncheck",this.data[r],s)};e.prototype.checkBy=function(r){this.checkBy_(true,r)};e.prototype.uncheckBy=function(r){this.checkBy_(false,r)};e.prototype.checkBy_=function(s,u){if(!u.hasOwnProperty("field")||!u.hasOwnProperty("values")){return}var r=this,t=[];j.each(this.options.data,function(v,x){if(!x.hasOwnProperty(u.field)){return false}if(j.inArray(x[u.field],u.values)!==-1){var w=r.$selectItem.filter(":enabled").filter(m('[data-index="%s"]',v)).prop("checked",s);x[r.header.stateField]=s;t.push(x);r.trigger(s?"check":"uncheck",x,w)}});this.updateSelected();this.trigger(s?"check-some":"uncheck-some",t)};e.prototype.destroy=function(){this.$el.insertBefore(this.$container);j(this.options.toolbar).insertBefore(this.$el);this.$container.next().remove();this.$container.remove();this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"")};e.prototype.showLoading=function(){this.$tableLoading.show()};e.prototype.hideLoading=function(){this.$tableLoading.hide()};e.prototype.togglePagination=function(){this.options.pagination=!this.options.pagination;var r=this.$toolbar.find('button[name="paginationSwitch"] i');if(this.options.pagination){r.attr("class",this.options.iconsPrefix+" "+this.options.icons.paginationSwitchDown)}else{r.attr("class",this.options.iconsPrefix+" "+this.options.icons.paginationSwitchUp)}this.updatePagination()};e.prototype.toggleFullscreen=function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen")};e.prototype.refresh=function(r){if(r&&r.url){this.options.pageNumber=1}table.rememberSelecteds={};table.rememberSelectedIds={};this.initServer(r&&r.silent,r&&r.query,r&&r.url);this.trigger("refresh",r)};e.prototype.resetWidth=function(){if(this.options.showHeader&&this.options.height){this.fitHeader()}if(this.options.showFooter){this.fitFooter()}};e.prototype.showColumn=function(r){this.toggleColumn(i(this.columns,r),true,true)};e.prototype.hideColumn=function(r){this.toggleColumn(i(this.columns,r),false,true)};e.prototype.getHiddenColumns=function(){return j.grep(this.columns,function(r){return !r.visible})};e.prototype.getVisibleColumns=function(){return j.grep(this.columns,function(r){return r.visible})};e.prototype.toggleAllColumns=function(s){var r=this;j.each(this.columns,function(u,v){r.columns[u].visible=s});this.initHeader();this.initSearch();this.initPagination();this.initBody();if(this.options.showColumns){var t=this.$toolbar.find(".keep-open input").prop("disabled",false);if(t.filter(":checked").length<=this.options.minimumCountColumns){t.filter(":checked").prop("disabled",true)}}};e.prototype.showAllColumns=function(){this.toggleAllColumns(true)};e.prototype.hideAllColumns=function(){this.toggleAllColumns(false)};e.prototype.filterBy=function(r){this.filterColumns=j.isEmptyObject(r)?{}:r;this.options.pageNumber=1;this.initSearch();this.updatePagination()};e.prototype.scrollTo=function(r){if(typeof r==="string"){r=r==="bottom"?this.$tableBody[0].scrollHeight:0}if(typeof r==="number"){this.$tableBody.scrollTop(r)}if(typeof r==="undefined"){return this.$tableBody.scrollTop()}};e.prototype.getScrollPosition=function(){return this.scrollTo()};e.prototype.selectPage=function(r){if(r>0&&r<=this.options.totalPages){this.options.pageNumber=r;this.updatePagination()}};e.prototype.prevPage=function(){if(this.options.pageNumber>1){this.options.pageNumber--;this.updatePagination()}};e.prototype.nextPage=function(){if(this.options.pageNumber tr[data-index="%s"]',r));if(t.next().is("tr.detail-view")===(s?false:true)){t.find("> td > .detail-icon").click()}};e.prototype.expandRow=function(r){this.expandRow_(true,r)};e.prototype.collapseRow=function(r){this.expandRow_(false,r)};e.prototype.expandAllRows=function(r){if(r){var w=this.$body.find(m('> tr[data-index="%s"]',0)),x=this,u=null,v=false,s=-1;if(!w.next().is("tr.detail-view")){w.find("> td > .detail-icon").click();v=true}else{if(!w.next().next().is("tr.detail-view")){w.next().find(".detail-icon").click();v=true}}if(v){try{s=setInterval(function(){u=x.$body.find("tr.detail-view").last().find(".detail-icon");if(u.length>0){u.click()}else{clearInterval(s)}},1)}catch(z){clearInterval(s)}}}else{var y=this.$body.children();for(var t=0;t0?Ab:zb)(a)},Cb=Math.min,Db=function(a){return a>0?Cb(Bb(a),9007199254740991):0},Eb=Math.max,Fb=Math.min,Gb=function(a,b){var c=Bb(a);return 0>c?Eb(c+b,0):Fb(c,b)},Hb=function(a){return function(b,c,d){var e,f=F(b),g=Db(f.length),h=Gb(d,g);if(a&&c!=c){for(;g>h;)if(e=f[h++],e!=e)return!0}else for(;g>h;h++)if((a||h in f)&&f[h]===c)return a||h||0;return!a&&-1}},Ib={includes:Hb(!0),indexOf:Hb(!1)},Jb=Ib.indexOf,Kb=function(a,b){var c,d=F(a),e=0,f=[];for(c in d)!J(ib,c)&&J(d,c)&&f.push(c);for(;b.length>e;)J(d,c=b[e++])&&(~Jb(f,c)||f.push(c));return f},Lb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mb=Lb.concat("length","prototype"),Nb=Object.getOwnPropertyNames||function(a){return Kb(a,Mb)},Ob={f:Nb},Pb=Object.getOwnPropertySymbols,Qb={f:Pb},Rb=yb("Reflect","ownKeys")||function(a){var b=Ob.f(R(a)),c=Qb.f;return c?b.concat(c(a)):b},Sb=function(a,b){var c,d,e=Rb(b),f=U.f,g=Q.f;for(c=0;ce;)U.f(a,f=c[e++],b[f]);return a},gc=yb("document","documentElement"),hc=">",ic="<",jc="prototype",kc="script",lc=hb("IE_PROTO"),mc=function(){},nc=function(a){return ic+kc+hc+a+ic+"/"+kc+hc},oc=function(a){a.write(nc("")),a.close();var b=a.parentWindow.Object;return a=null,b},pc=function(){var a,b=M("iframe"),c="java"+kc+":";return b.style.display="none",gc.appendChild(b),b.src=String(c),a=b.contentWindow.document,a.open(),a.write(nc("document.F=Object")),a.close(),a.F},rc=function(){try{qc=document.domain&&new ActiveXObject("htmlfile")}catch(a){}rc=qc?oc(qc):pc();for(var b=Lb.length;b--;)delete rc[jc][Lb[b]];return rc()},ib[lc]=!0,sc=Object.create||function(a,b){var c;return null!==a?(mc[jc]=R(a),c=new mc,mc[jc]=null,c[lc]=a):c=rc(),void 0===b?c:fc(c,b)},tc=Ob.f,uc={}.toString,vc="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],wc=function(a){try{return tc(a)}catch(b){return vc.slice()}},xc=function(a){return vc&&"[object Window]"==uc.call(a)?wc(a):tc(F(a))},yc={f:xc},zc=cb("wks"),Ac=r.Symbol,Bc=bc?Ac:fb,Cc=function(a){return J(zc,a)||(zc[a]=ac&&J(Ac,a)?Ac[a]:Bc("Symbol."+a)),zc[a]},Dc=Cc,Ec={f:Dc},Fc=U.f,Gc=function(a){var b=wb.Symbol||(wb.Symbol={});J(b,a)||Fc(b,a,{value:Ec.f(a)})},Hc=U.f,Ic=Cc("toStringTag"),Jc=function(a,b,c){a&&!J(a=c?a:a.prototype,Ic)&&Hc(a,Ic,{configurable:!0,value:b})},Kc=function(a){if("function"!=typeof a)throw TypeError(String(a)+" is not a function");return a},Lc=function(a,b,c){if(Kc(a),void 0===b)return a;switch(c){case 0:return function(){return a.call(b)};case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}},Mc=Cc("species"),Nc=function(a,b){var c;return cc(a)&&(c=a.constructor,"function"!=typeof c||c!==Array&&!cc(c.prototype)?G(c)&&(c=c[Mc],null===c&&(c=void 0)):c=void 0),new(void 0===c?Array:c)(0===b?0:b)},Oc=[].push,Pc=function(a){var b=1==a,c=2==a,d=3==a,e=4==a,f=6==a,g=5==a||f;return function(h,i,j,k){for(var l,m,n=dc(h),o=D(n),p=Lc(i,j,3),q=Db(o.length),r=0,s=k||Nc,t=b?s(h,q):c?s(h,0):void 0;q>r;r++)if((g||r in o)&&(l=o[r],m=p(l,r,n),a))if(b)t[r]=m;else if(m)switch(a){case 3:return!0;case 5:return l;case 6:return r;case 2:Oc.call(t,l)}else if(e)return!1;return f?-1:d||e?e:t}},Qc={forEach:Pc(0),map:Pc(1),filter:Pc(2),some:Pc(3),every:Pc(4),find:Pc(5),findIndex:Pc(6)},Rc=Qc.forEach,Sc=hb("hidden"),Tc="Symbol",Uc="prototype",Vc=Cc("toPrimitive"),Wc=ub.set,Xc=ub.getterFor(Tc),Yc=Object[Uc],Zc=r.Symbol,$c=yb("JSON","stringify"),_c=Q.f,ad=U.f,bd=yc.f,cd=y.f,dd=cb("symbols"),ed=cb("op-symbols"),fd=cb("string-to-symbol-registry"),gd=cb("symbol-to-string-registry"),hd=cb("wks"),id=r.QObject,jd=!id||!id[Uc]||!id[Uc].findChild,kd=t&&s(function(){return 7!=sc(ad({},"a",{get:function(){return ad(this,"a",{value:7}).a}})).a})?function(a,b,c){var d=_c(Yc,b);d&&delete Yc[b],ad(a,b,c),d&&a!==Yc&&ad(Yc,b,d)}:ad,ld=function(a,b){var c=dd[a]=sc(Zc[Uc]);return Wc(c,{type:Tc,tag:a,description:b}),t||(c.description=b),c},md=ac&&"symbol"==typeof Zc.iterator?function(a){return"symbol"==typeof a}:function(a){return Object(a)instanceof Zc},nd=function(a,b,c){a===Yc&&nd(ed,b,c),R(a);var d=H(b,!0);return R(c),J(dd,d)?(c.enumerable?(J(a,Sc)&&a[Sc][d]&&(a[Sc][d]=!1),c=sc(c,{enumerable:z(0,!1)})):(J(a,Sc)||ad(a,Sc,z(1,{})),a[Sc][d]=!0),kd(a,d,c)):ad(a,d,c)},od=function(a,b){var c,d;return R(a),c=F(b),d=ec(c).concat(td(c)),Rc(d,function(b){(!t||qd.call(c,b))&&nd(a,b,c[b])}),a},pd=function(a,b){return void 0===b?sc(a):od(sc(a),b)},qd=function(a){var b=H(a,!0),c=cd.call(this,b);return this===Yc&&J(dd,b)&&!J(ed,b)?!1:c||!J(this,b)||!J(dd,b)||J(this,Sc)&&this[Sc][b]?c:!0},rd=function(a,b){var c,d=F(a),e=H(b,!0);return d!==Yc||!J(dd,e)||J(ed,e)?(c=_c(d,e),!c||!J(dd,e)||J(d,Sc)&&d[Sc][e]||(c.enumerable=!0),c):void 0},sd=function(a){var b=bd(F(a)),c=[];return Rc(b,function(a){J(dd,a)||J(ib,a)||c.push(a)}),c},td=function(a){var b=a===Yc,c=bd(b?ed:F(a)),d=[];return Rc(c,function(a){!J(dd,a)||b&&!J(Yc,a)||d.push(dd[a])}),d},ac||(Zc=function(){var a,b,c;if(this instanceof Zc)throw TypeError("Symbol is not a constructor");return a=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,b=fb(a),c=function(a){this===Yc&&c.call(ed,a),J(this,Sc)&&J(this[Sc],b)&&(this[Sc][b]=!1),kd(this,b,z(1,a))},t&&jd&&kd(Yc,b,{configurable:!0,set:c}),ld(b,a)},vb(Zc[Uc],"toString",function(){return Xc(this).tag}),y.f=qd,U.f=nd,Q.f=rd,Ob.f=yc.f=sd,Qb.f=td,t&&(ad(Zc[Uc],"description",{configurable:!0,get:function(){return Xc(this).description}}),vb(Yc,"propertyIsEnumerable",qd,{unsafe:!0}))),bc||(Ec.f=function(a){return ld(Cc(a),a)}),_b({global:!0,wrap:!0,forced:!ac,sham:!ac},{Symbol:Zc}),Rc(ec(hd),function(a){Gc(a)}),_b({target:Tc,stat:!0,forced:!ac},{"for":function(a){var b,c=String(a);return J(fd,c)?fd[c]:(b=Zc(c),fd[c]=b,gd[b]=c,b)},keyFor:function(a){if(!md(a))throw TypeError(a+" is not a symbol");return J(gd,a)?gd[a]:void 0},useSetter:function(){jd=!0},useSimple:function(){jd=!1}}),_b({target:"Object",stat:!0,forced:!ac,sham:!t},{create:pd,defineProperty:nd,defineProperties:od,getOwnPropertyDescriptor:rd}),_b({target:"Object",stat:!0,forced:!ac},{getOwnPropertyNames:sd,getOwnPropertySymbols:td}),_b({target:"Object",stat:!0,forced:s(function(){Qb.f(1)})},{getOwnPropertySymbols:function(a){return Qb.f(dc(a))}}),$c&&(ud=!ac||s(function(){var a=Zc();return"[null]"!=$c([a])||"{}"!=$c({a:a})||"{}"!=$c(Object(a))}),_b({target:"JSON",stat:!0,forced:ud},{stringify:function(a,b){for(var c,d=[a],e=1;arguments.length>e;)d.push(arguments[e++]);return c=b,!G(b)&&void 0===a||md(a)?void 0:(cc(b)||(b=function(a,b){return"function"==typeof c&&(b=c.call(this,a,b)),md(b)?void 0:b}),d[1]=b,$c.apply(null,d))}})),Zc[Uc][Vc]||V(Zc[Uc],Vc,Zc[Uc].valueOf),Jc(Zc,Tc),ib[Sc]=!0,vd=U.f,wd=r.Symbol,!t||"function"!=typeof wd||"description"in wd.prototype&&void 0===wd().description||(xd={},yd=function(){var a=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),b=this instanceof yd?new wd(a):void 0===a?wd():wd(a);return""===a&&(xd[b]=!0),b},Sb(yd,wd),zd=yd.prototype=wd.prototype,zd.constructor=yd,Ad=zd.toString,Bd="Symbol(test)"==String(wd("test")),Cd=/^Symbol\((.*)\)[^)]+$/,vd(zd,"description",{configurable:!0,get:function(){var a,b=G(this)?this.valueOf():this,c=Ad.call(b);return J(xd,b)?"":(a=Bd?c.slice(7,-1):c.replace(Cd,"$1"),""===a?void 0:a)}}),_b({global:!0,forced:!0},{Symbol:yd})),Gc("iterator"),Dd=function(a,b,c){var d=H(b);d in a?U.f(a,d,z(0,c)):a[d]=c},Ed=yb("navigator","userAgent")||"",Fd=r.process,Gd=Fd&&Fd.versions,Hd=Gd&&Gd.v8,Hd?(Id=Hd.split("."),Jd=Id[0]+Id[1]):Ed&&(Id=Ed.match(/Edge\/(\d+)/),(!Id||Id[1]>=74)&&(Id=Ed.match(/Chrome\/(\d+)/),Id&&(Jd=Id[1]))),Kd=Jd&&+Jd,Ld=Cc("species"),Md=function(a){return Kd>=51||!s(function(){var b=[],c=b.constructor={};return c[Ld]=function(){return{foo:1}},1!==b[a](Boolean).foo})},Nd=Cc("isConcatSpreadable"),Od=9007199254740991,Pd="Maximum allowed index exceeded",Qd=Kd>=51||!s(function(){var a=[];return a[Nd]=!1,a.concat()[0]!==a}),Rd=Md("concat"),Sd=function(a){if(!G(a))return!1;var b=a[Nd];return void 0!==b?!!b:cc(a)},Td=!Qd||!Rd,_b({target:"Array",proto:!0,forced:Td},{concat:function(){var a,b,c,d,e,f=dc(this),g=Nc(f,0),h=0;for(a=-1,c=arguments.length;c>a;a++)if(e=-1===a?f:arguments[a],Sd(e)){if(d=Db(e.length),h+d>Od)throw TypeError(Pd);for(b=0;d>b;b++,h++)b in e&&Dd(g,h,e[b])}else{if(h>=Od)throw TypeError(Pd);Dd(g,h++,e)}return g.length=h,g}}),Ud=Qc.filter,Vd=Md("filter"),Wd=Vd&&!s(function(){[].filter.call({length:-1,0:1},function(a){throw a})}),_b({target:"Array",proto:!0,forced:!Vd||!Wd},{filter:function(a){return Ud(this,a,arguments.length>1?arguments[1]:void 0)}}),Xd=Cc("unscopables"),Yd=Array.prototype,void 0==Yd[Xd]&&U.f(Yd,Xd,{configurable:!0,value:sc(null)}),Zd=function(a){Yd[Xd][a]=!0},$d=Qc.find,_d="find",ae=!0,_d in[]&&Array(1)[_d](function(){ae=!1}),_b({target:"Array",proto:!0,forced:ae},{find:function(a){return $d(this,a,arguments.length>1?arguments[1]:void 0)}}),Zd(_d),be=Qc.findIndex,ce="findIndex",de=!0,ce in[]&&Array(1)[ce](function(){de=!1}),_b({target:"Array",proto:!0,forced:de},{findIndex:function(a){return be(this,a,arguments.length>1?arguments[1]:void 0)}}),Zd(ce),ee=Ib.includes,_b({target:"Array",proto:!0},{includes:function(a){return ee(this,a,arguments.length>1?arguments[1]:void 0)}}),Zd("includes"),fe=function(a,b){var c=[][a];return!c||!s(function(){c.call(null,b||function(){throw 1},1)})},ge=Ib.indexOf,he=[].indexOf,ie=!!he&&1/[1].indexOf(1,-0)<0,je=fe("indexOf"),_b({target:"Array",proto:!0,forced:ie||je},{indexOf:function(a){return ie?he.apply(this,arguments)||0:ge(this,a,arguments.length>1?arguments[1]:void 0)}}),ke=!s(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype}),le=hb("IE_PROTO"),me=Object.prototype,ne=ke?Object.getPrototypeOf:function(a){return a=dc(a),J(a,le)?a[le]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?me:null},oe=Cc("iterator"),pe=!1,qe=function(){return this},[].keys&&(te=[].keys(),"next"in te?(se=ne(ne(te)),se!==Object.prototype&&(re=se)):pe=!0),void 0==re&&(re={}),J(re,oe)||V(re,oe,qe),ue={IteratorPrototype:re,BUGGY_SAFARI_ITERATORS:pe},ve=ue.IteratorPrototype,we=function(a,b,c){var d=b+" Iterator";return a.prototype=sc(ve,{next:z(1,c)}),Jc(a,d,!1),a},xe=function(a){if(!G(a)&&null!==a)throw TypeError("Can't set "+String(a)+" as a prototype");return a},ye=Object.setPrototypeOf||("__proto__"in{}?function(){var a,b=!1,c={};try{a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,a.call(c,[]),b=c instanceof Array}catch(d){}return function(c,d){return R(c),xe(d),b?a.call(c,d):c.__proto__=d,c}}():void 0),ze=ue.IteratorPrototype,Ae=ue.BUGGY_SAFARI_ITERATORS,Be=Cc("iterator"),Ce="keys",De="values",Ee="entries",Fe=function(){return this},Ge=function(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o,p,q;if(we(c,b,d),h=function(a){if(a===e&&m)return m;if(!Ae&&a in k)return k[a];switch(a){case Ce:return function(){return new c(this,a)};case De:return function(){return new c(this,a)};case Ee:return function(){return new c(this,a)}}return function(){return new c(this)}},i=b+" Iterator",j=!1,k=a.prototype,l=k[Be]||k["@@iterator"]||e&&k[e],m=!Ae&&l||h(e),n="Array"==b?k.entries||l:l,n&&(o=ne(n.call(new a)),ze!==Object.prototype&&o.next&&(ne(o)!==ze&&(ye?ye(o,ze):"function"!=typeof o[Be]&&V(o,Be,Fe)),Jc(o,i,!0))),e==De&&l&&l.name!==De&&(j=!0,m=function(){return l.call(this)}),k[Be]!==m&&V(k,Be,m),e)if(p={values:h(De),keys:f?m:h(Ce),entries:h(Ee)},g)for(q in p)!Ae&&!j&&q in k||vb(k,q,p[q]);else _b({target:b,proto:!0,forced:Ae||j},p);return p},He="Array Iterator",Ie=ub.set,Je=ub.getterFor(He),Ke=Ge(Array,"Array",function(a,b){Ie(this,{type:He,target:F(a),index:0,kind:b})},function(){var a=Je(this),b=a.target,c=a.kind,d=a.index++;return!b||d>=b.length?(a.target=void 0,{value:void 0,done:!0}):"keys"==c?{value:d,done:!1}:"values"==c?{value:b[d],done:!1}:{value:[d,b[d]],done:!1}},"values"),Zd("keys"),Zd("values"),Zd("entries"),Le=[].join,Me=D!=Object,Ne=fe("join",","),_b({target:"Array",proto:!0,forced:Me||Ne},{join:function(a){return Le.call(F(this),void 0===a?",":a)}}),Oe=Qc.map,Pe=Md("map"),Qe=Pe&&!s(function(){[].map.call({length:-1,0:1},function(a){throw a})}),_b({target:"Array",proto:!0,forced:!Pe||!Qe},{map:function(a){return Oe(this,a,arguments.length>1?arguments[1]:void 0)}}),Re=[].reverse,Se=[1,2],_b({target:"Array",proto:!0,forced:String(Se)===String(Se.reverse())},{reverse:function(){return cc(this)&&(this.length=this.length),Re.call(this)}}),Te=Cc("species"),Ue=[].slice,Ve=Math.max,_b({target:"Array",proto:!0,forced:!Md("slice")},{slice:function(a,b){var c,d,e,f=F(this),g=Db(f.length),h=Gb(a,g),i=Gb(void 0===b?g:b,g);if(cc(f)&&(c=f.constructor,"function"!=typeof c||c!==Array&&!cc(c.prototype)?G(c)&&(c=c[Te],null===c&&(c=void 0)):c=void 0,c===Array||void 0===c))return Ue.call(f,h,i);for(d=new(void 0===c?Array:c)(Ve(i-h,0)),e=0;i>h;h++,e++)h in f&&Dd(d,e,f[h]);return d.length=e,d}}),We=[],Xe=We.sort,Ye=s(function(){We.sort(void 0)}),Ze=s(function(){We.sort(null)}),$e=fe("sort"),_e=Ye||!Ze||$e,_b({target:"Array",proto:!0,forced:_e},{sort:function(a){return void 0===a?Xe.call(dc(this)):Xe.call(dc(this),Kc(a))}}),af=Math.max,bf=Math.min,cf=9007199254740991,df="Maximum allowed length exceeded",_b({target:"Array",proto:!0,forced:!Md("splice")},{splice:function(a,b){var c,d,e,f,g,h,i=dc(this),j=Db(i.length),k=Gb(a,j),l=arguments.length;if(0===l?c=d=0:1===l?(c=0,d=j-k):(c=l-2,d=bf(af(Bb(b),0),j-k)),j+c-d>cf)throw TypeError(df);for(e=Nc(i,d),f=0;d>f;f++)g=k+f,g in i&&Dd(e,f,i[g]);if(e.length=d,d>c){for(f=k;j-d>f;f++)g=f+d,h=f+c,g in i?i[h]=i[g]:delete i[h];for(f=j;f>j-d+c;f--)delete i[f-1]}else if(c>d)for(f=j-d;f>k;f--)g=f+d-1,h=f+c-1,g in i?i[h]=i[g]:delete i[h];for(f=0;c>f;f++)i[f+k]=arguments[f+2];return i.length=j-d+c,e}}),ef=function(a,b,c){var d,e;return ye&&"function"==typeof(d=b.constructor)&&d!==c&&G(e=d.prototype)&&e!==c.prototype&&ye(a,e),a},ff=" \n \f\r                 \u2028\u2029",gf="["+ff+"]",hf=RegExp("^"+gf+gf+"*"),jf=RegExp(gf+gf+"*$"),kf=function(a){return function(b){var c=String(E(b));return 1&a&&(c=c.replace(hf,"")),2&a&&(c=c.replace(jf,"")),c}},lf={start:kf(1),end:kf(2),trim:kf(3)},mf=Ob.f,nf=Q.f,of=U.f,pf=lf.trim,qf="Number",rf=r[qf],sf=rf.prototype,tf=B(sc(sf))==qf,uf=function(a){var b,c,d,e,f,g,h,i,j=H(a,!1);if("string"==typeof j&&j.length>2)if(j=pf(j),b=j.charCodeAt(0),43===b||45===b){if(c=j.charCodeAt(2),88===c||120===c)return 0/0}else if(48===b){switch(j.charCodeAt(1)){case 66:case 98:d=2,e=49;break;case 79:case 111:d=8,e=55;break;default:return+j}for(f=j.slice(2),g=f.length,h=0;g>h;h++)if(i=f.charCodeAt(h),48>i||i>e)return 0/0;return parseInt(f,d)}return+j},Zb(qf,!rf(" 0o1")||!rf("0b1")||rf("+0x1"))){for(vf=function(a){var b=arguments.length<1?0:a,c=this;return c instanceof vf&&(tf?s(function(){sf.valueOf.call(c)}):B(c)!=qf)?ef(new rf(uf(b)),c,vf):uf(b)},xf=t?mf(rf):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),yf=0;xf.length>yf;yf++)J(rf,wf=xf[yf])&&!J(vf,wf)&&of(vf,wf,nf(rf,wf));vf.prototype=sf,sf.constructor=vf,vb(r,qf,vf)}zf=Object.assign,Af=Object.defineProperty,Bf=!zf||s(function(){var a,b,c,d;return t&&1!==zf({b:1},zf(Af({},"a",{enumerable:!0,get:function(){Af(this,"b",{value:3,enumerable:!1})}}),{b:2})).b?!0:(a={},b={},c=Symbol(),d="abcdefghijklmnopqrst",a[c]=7,d.split("").forEach(function(a){b[a]=a}),7!=zf({},a)[c]||ec(zf({},b)).join("")!=d)})?function(a){for(var b,c,d,e,f,g=dc(a),h=arguments.length,i=1,j=Qb.f,k=y.f;h>i;)for(b=D(arguments[i++]),c=j?ec(b).concat(j(b)):ec(b),d=c.length,e=0;d>e;)f=c[e++],(!t||k.call(b,f))&&(g[f]=b[f]);return g}:zf,_b({target:"Object",stat:!0,forced:Object.assign!==Bf},{assign:Bf}),Cf=y.f,Df=function(a){return function(b){for(var c,d=F(b),e=ec(d),f=e.length,g=0,h=[];f>g;)c=e[g++],(!t||Cf.call(d,c))&&h.push(a?[c,d[c]]:d[c]);return h}},Ef={entries:Df(!0),values:Df(!1)},Ff=Ef.entries,_b({target:"Object",stat:!0},{entries:function(a){return Ff(a)}}),Gf=Cc("toStringTag"),Hf={},Hf[Gf]="z",If="[object z]"===String(Hf),Jf=Cc("toStringTag"),Kf="Arguments"==B(function(){return arguments}()),Lf=function(a,b){try{return a[b]}catch(c){}},Mf=If?B:function(a){var b,c,d;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=Lf(b=Object(a),Jf))?c:Kf?B(b):"Object"==(d=B(b))&&"function"==typeof b.callee?"Arguments":d},Nf=If?{}.toString:function(){return"[object "+Mf(this)+"]"},If||vb(Object.prototype,"toString",Nf,{unsafe:!0}),Of=lf.trim,Pf=r.parseFloat,Qf=1/Pf(ff+"-0")!==-1/0,Rf=Qf?function(a){var b=Of(String(a)),c=Pf(b);return 0===c&&"-"==b.charAt(0)?-0:c}:Pf,_b({global:!0,forced:parseFloat!=Rf},{parseFloat:Rf}),Sf=lf.trim,Tf=r.parseInt,Uf=/^[+-]?0[Xx]/,Vf=8!==Tf(ff+"08")||22!==Tf(ff+"0x16"),Wf=Vf?function(a,b){var c=Sf(String(a));return Tf(c,b>>>0||(Uf.test(c)?16:10))}:Tf,_b({global:!0,forced:parseInt!=Wf},{parseInt:Wf}),Xf=function(){var a=R(this),b="";return a.global&&(b+="g"),a.ignoreCase&&(b+="i"),a.multiline&&(b+="m"),a.dotAll&&(b+="s"),a.unicode&&(b+="u"),a.sticky&&(b+="y"),b},Yf=s(function(){var a=c("a","y");return a.lastIndex=2,null!=a.exec("abcd")}),Zf=s(function(){var a=c("^r","gy");return a.lastIndex=2,null!=a.exec("str")}),$f={UNSUPPORTED_Y:Yf,BROKEN_CARET:Zf},_f=RegExp.prototype.exec,ag=String.prototype.replace,bg=_f,cg=function(){var a=/a/,b=/b*/g;return _f.call(a,"a"),_f.call(b,"a"),0!==a.lastIndex||0!==b.lastIndex}(),dg=$f.UNSUPPORTED_Y||$f.BROKEN_CARET,eg=void 0!==/()??/.exec("")[1],fg=cg||eg||dg,fg&&(bg=function(a){var b,c,d,e,f=this,g=dg&&f.sticky,h=Xf.call(f),i=f.source,j=0,k=a;return g&&(h=h.replace("y",""),-1===h.indexOf("g")&&(h+="g"),k=String(a).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==a[f.lastIndex-1])&&(i="(?: "+i+")",k=" "+k,j++),c=new RegExp("^(?:"+i+")",h)),eg&&(c=new RegExp("^"+i+"$(?!\\s)",h)),cg&&(b=f.lastIndex),d=_f.call(g?c:f,k),g?d?(d.input=d.input.slice(j),d[0]=d[0].slice(j),d.index=f.lastIndex,f.lastIndex+=d[0].length):f.lastIndex=0:cg&&d&&(f.lastIndex=f.global?d.index+d[0].length:b),eg&&d&&d.length>1&&ag.call(d[0],c,function(){for(e=1;e1?arguments[1]:void 0)}}),rg=function(a){return function(b,c){var d,e,f=String(E(b)),g=Bb(c),h=f.length;return 0>g||g>=h?a?"":void 0:(d=f.charCodeAt(g),55296>d||d>56319||g+1===h||(e=f.charCodeAt(g+1))<56320||e>57343?a?f.charAt(g):d:a?f.slice(g,g+2):(d-55296<<10)+(e-56320)+65536)}},sg={codeAt:rg(!1),charAt:rg(!0)},tg=sg.charAt,ug="String Iterator",vg=ub.set,wg=ub.getterFor(ug),Ge(String,"String",function(a){vg(this,{type:ug,string:String(a),index:0})},function(){var a,b=wg(this),c=b.string,d=b.index;return d>=c.length?{value:void 0,done:!0}:(a=tg(c,d),b.index+=a.length,{value:a,done:!1})}),xg=Cc("species"),yg=!s(function(){var a=/./;return a.exec=function(){var a=[];return a.groups={a:"7"},a},"7"!=="".replace(a,"$")}),zg=function(){return"$0"==="a".replace(/./,"$0")}(),Ag=!s(function(){var a,b=/(?:)/,c=b.exec;return b.exec=function(){return c.apply(this,arguments)},a="ab".split(b),2!==a.length||"a"!==a[0]||"b"!==a[1]}),Bg=function(a,b,c,d){var e,f,g,h,i=Cc(a),j=!s(function(){var b={};return b[i]=function(){return 7},7!=""[a](b)}),k=j&&!s(function(){var b=!1,c=/a/;return"split"===a&&(c={},c.constructor={},c.constructor[xg]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return b=!0,null},c[i](""),!b});j&&k&&("replace"!==a||yg&&zg)&&("split"!==a||Ag)||(e=/./[i],f=c(i,""[a],function(a,b,c,d,f){return b.exec===gg?j&&!f?{done:!0,value:e.call(b,c,d)}:{done:!0,value:a.call(c,b,d)}:{done:!1}},{REPLACE_KEEPS_$0:zg}),g=f[0],h=f[1],vb(String.prototype,a,g),vb(RegExp.prototype,i,2==b?function(a,b){return h.call(a,this,b)}:function(a){return h.call(a,this)})),d&&V(RegExp.prototype[i],"sham",!0)},Cg=sg.charAt,Dg=function(a,b,c){return b+(c?Cg(a,b).length:1)},Eg=function(a,b){var c,d=a.exec;if("function"==typeof d){if(c=d.call(a,b),"object"!=typeof c)throw TypeError("RegExp exec method returned something other than an Object or null");return c}if("RegExp"!==B(a))throw TypeError("RegExp#exec called on incompatible receiver");return gg.call(a,b)},Fg=Math.max,Gg=Math.min,Hg=Math.floor,Ig=/\$([$&'`]|\d\d?|<[^>]*>)/g,Jg=/\$([$&'`]|\d\d?)/g,Kg=function(a){return void 0===a?a:String(a)},Bg("replace",2,function(a,b,c,d){function e(a,c,d,e,f,g){var h=d+a.length,i=e.length,j=Jg;return void 0!==f&&(f=dc(f),j=Ig),b.call(g,j,function(b,g){var j,k,l;switch(g.charAt(0)){case"$":return"$";case"&":return a;case"`":return c.slice(0,d);case"'":return c.slice(h);case"<":j=f[g.slice(1,-1)];break;default:if(k=+g,0===k)return b;if(k>i)return l=Hg(k/10),0===l?b:i>=l?void 0===e[l-1]?g.charAt(1):e[l-1]+g.charAt(1):b;j=e[k-1]}return void 0===j?"":j})}return[function(c,d){var e=E(this),f=void 0==c?void 0:c[a];return void 0!==f?f.call(c,e,d):b.call(String(e),c,d)},function(a,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;if((d.REPLACE_KEEPS_$0||"string"==typeof f&&-1===f.indexOf("$0"))&&(g=c(b,a,this,f),g.done))return g.value;for(h=R(a),i=String(this),j="function"==typeof f,j||(f=String(f)),k=h.global,k&&(l=h.unicode,h.lastIndex=0),m=[];(n=Eg(h,i),null!==n)&&(m.push(n),k);)o=String(n[0]),""===o&&(h.lastIndex=Dg(i,Db(h.lastIndex),l));for(p="",q=0,r=0;r=q&&(p+=i.slice(q,t)+y,q=t+s.length)}return p+i.slice(q)}]}),Lg=Object.is||function(a,b){return a===b?0!==a||1/a===1/b:a!=a&&b!=b},Bg("search",1,function(a,b,c){return[function(b){var c=E(this),d=void 0==b?void 0:b[a];return void 0!==d?d.call(b,c):new RegExp(b)[a](String(c))},function(a){var d,e,f,g,h=c(b,a,this);return h.done?h.value:(d=R(a),e=String(this),f=d.lastIndex,Lg(f,0)||(d.lastIndex=0),g=Eg(d,e),Lg(d.lastIndex,f)||(d.lastIndex=f),null===g?-1:g.index)}]}),Mg=Cc("species"),Ng=function(a,b){var c,d=R(a).constructor;return void 0===d||void 0==(c=R(d)[Mg])?b:Kc(c)},Og=[].push,Pg=Math.min,Qg=4294967295,Rg=!s(function(){return!RegExp(Qg,"y")}),Bg("split",2,function(a,b,c){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(a,c){var d,e,f,g,h,i,j,k=String(E(this)),l=void 0===c?Qg:c>>>0;if(0===l)return[];if(void 0===a)return[k];if(!ng(a))return b.call(k,a,l);for(d=[],e=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(a.sticky?"y":""),f=0,g=new RegExp(a.source,e+"g");(h=gg.call(g,k))&&(i=g.lastIndex,!(i>f&&(d.push(k.slice(f,h.index)),h.length>1&&h.index=l)));)g.lastIndex===h.index&&g.lastIndex++; +return f===k.length?(j||!g.test(""))&&d.push(""):d.push(k.slice(f)),d.length>l?d.slice(0,l):d}:"0".split(void 0,0).length?function(a,c){return void 0===a&&0===c?[]:b.call(this,a,c)}:b,[function(b,c){var e=E(this),f=void 0==b?void 0:b[a];return void 0!==f?f.call(b,e,c):d.call(String(e),b,c)},function(a,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s=c(d,a,this,e,d!==b);if(s.done)return s.value;if(f=R(a),g=String(this),h=Ng(f,RegExp),i=f.unicode,j=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(Rg?"y":"g"),k=new h(Rg?f:"^(?:"+f.source+")",j),l=void 0===e?Qg:e>>>0,0===l)return[];if(0===g.length)return null===Eg(k,g)?[g]:[];for(m=0,n=0,o=[];n1?arguments[1]:void 0)}:[].forEach;for(Yg in Vg)if(Zg=r[Yg],$g=Zg&&Zg.prototype,$g&&$g.forEach!==Xg)try{V($g,"forEach",Xg)}catch(Hh){$g.forEach=Xg}_g=Cc("iterator"),ah=Cc("toStringTag"),bh=Ke.values;for(ch in Vg)if(dh=r[ch],eh=dh&&dh.prototype){if(eh[_g]!==bh)try{V(eh,_g,bh)}catch(Hh){eh[_g]=bh}if(eh[ah]||V(eh,ah,ch),Vg[ch])for(fh in Ke)if(eh[fh]!==Ke[fh])try{V(eh,fh,Ke[fh])}catch(Hh){eh[fh]=Ke[fh]}}gh="1.17.1",hh=4;try{ih=a.fn.dropdown.Constructor.VERSION,void 0!==ih&&(hh=parseInt(ih,10))}catch(Ih){}try{jh=bootstrap.Tooltip.VERSION,void 0!==jh&&(hh=parseInt(jh,10))}catch(Ih){}return kh={3:{iconsPrefix:"glyphicon",icons:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['"],toolbarDropdownItem:'',toolbarDropdownSeparator:'
  • ',pageDropdown:['"],pageDropdownItem:'
    ',dropdownCaret:'',pagination:['
      ',"
    "],paginationItem:'
  • %s
  • ',icon:'',inputGroup:'
    %s%s
    ',searchInput:'',searchButton:'',searchClearButton:''}},4:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['"],toolbarDropdownItem:'',pageDropdown:['"],pageDropdownItem:'%s',toolbarDropdownSeparator:'',dropdownCaret:'',pagination:['
      ',"
    "],paginationItem:'
  • %s
  • ',icon:'',inputGroup:'
    %s
    %s
    ',searchInput:'',searchButton:'',searchClearButton:''}},5:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['"],toolbarDropdownItem:'',pageDropdown:['"],pageDropdownItem:'%s',toolbarDropdownSeparator:'',dropdownCaret:'',pagination:['
      ',"
    "],paginationItem:'
  • %s
  • ',icon:'',inputGroup:'
    %s
    %s
    ',searchInput:'',searchButton:'',searchClearButton:''}}}[hh],lh={id:void 0,firstLoad:!0,height:void 0,classes:"table table-bordered table-hover",theadClasses:"",headerStyle:function(){return{}},rowStyle:function(){return{}},rowAttributes:function(){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortName:void 0,sortOrder:void 0,sortReset:!1,sortStable:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(a){return a},queryParamsType:"limit",responseHandler:function(a){return a},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",pagination:!1,paginationParts:["pageInfo","pageSize","pageList"],showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"‹",paginationNextText:"›",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchOnEnterKey:!1,strictSearch:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(){return{}},searchAccentNeutralise:!1,showColumns:!1,showSearch:!1,showPageGo:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(a){var b=a.tagName;return["A","BUTTON"].includes(b)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailViewAlign:"left",detailFormatter:function(){return""},detailFilter:function(){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["search","paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:kh.classes.buttonsPrefix,buttonsClass:kh.classes.buttons,icons:kh.icons,iconSize:void 0,iconsPrefix:kh.iconsPrefix,loadingFontSize:"auto",loadingTemplate:function(a){return'\n '.concat(a,'\n \n \n ')},onAll:function(){return!1},onClickCell:function(){return!1},onDblClickCell:function(){return!1},onClickRow:function(){return!1},onDblClickRow:function(){return!1},onSort:function(){return!1},onCheck:function(){return!1},onUncheck:function(){return!1},onCheckAll:function(){return!1},onUncheckAll:function(){return!1},onCheckSome:function(){return!1},onUncheckSome:function(){return!1},onLoadSuccess:function(){return!1},onLoadError:function(){return!1},onColumnSwitch:function(){return!1},onPageChange:function(){return!1},onSearch:function(){return!1},onShowSearch:function(){return!1},onToggle:function(){return!1},onPreBody:function(){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(){return!1},onCollapseRow:function(){return!1},onRefreshOptions:function(){return!1},onRefresh:function(){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1}},mh={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(a){return"".concat(a," rows per page")},formatShowingRows:function(a,b,c,d){return void 0!==d&&d>0&&d>c?"Showing ".concat(a," to ").concat(b," of ").concat(c," rows (filtered from ").concat(d," total rows)"):"Showing ".concat(a," to ").concat(b," of ").concat(c," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(a){return"to page ".concat(a)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(a){return"Showing ".concat(a," rows")},formatSearch:function(){return"Search"},formatPageGo:function(){return"跳转"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},nh={field:void 0,title:void 0,titleTooltip:void 0,"class":void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,ignore:!1,switchable:!0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,escape:!1,events:void 0},oh=["getOptions","refreshOptions","getData","getSelections","getAllSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],ph={"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody"},Object.assign(lh,mh),qh={VERSION:gh,THEME:"bootstrap".concat(hh),CONSTANTS:kh,DEFAULTS:lh,COLUMN_DEFAULTS:nh,METHODS:oh,EVENTS:ph,LOCALES:{en:mh,"en-US":mh}},rh=s(function(){ec(1)}),_b({target:"Object",stat:!0,forced:rh},{keys:function(a){return ec(dc(a))}}),sh=Q.f,th="".endsWith,uh=Math.min,vh=qg("endsWith"),wh=!vh&&!!function(){var a=sh(String.prototype,"endsWith");return a&&!a.writable}(),_b({target:"String",proto:!0,forced:!wh&&!vh},{endsWith:function(a){var b,c,d,e,f=String(E(this));return og(a),b=arguments.length>1?arguments[1]:void 0,c=Db(f.length),d=void 0===b?c:uh(Db(b),c),e=String(a),th?th.call(f,e,d):f.slice(d-e.length,d)===e}}),xh=Q.f,yh="".startsWith,zh=Math.min,Ah=qg("startsWith"),Bh=!Ah&&!!function(){var a=xh(String.prototype,"startsWith");return a&&!a.writable}(),_b({target:"String",proto:!0,forced:!Bh&&!Ah},{startsWith:function(a){var b,c,d=String(E(this));return og(a),b=Db(zh(arguments.length>1?arguments[1]:void 0,d.length)),c=String(a),yh?yh.call(d,c,b):d.slice(b,b+c.length)===c}}),Ch={sprintf:function(a){var b,c,d,e,f,g;for(b=arguments.length,c=new Array(b>1?b-1:0),d=1;b>d;d++)c[d-1]=arguments[d];return e=!0,f=0,g=a.replace(/%s/g,function(){var a=c[f++];return"undefined"==typeof a?(e=!1,""):a}),e?g:""},isEmptyObject:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(a).length&&a.constructor===Object},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},getFieldTitle:function(a,b){var c,d,e,f=!0,g=!1,h=void 0;try{for(d=a[Symbol.iterator]();!(f=(c=d.next()).done);f=!0)if(e=c.value,e.field===b)return e.title}catch(i){g=!0,h=i}finally{try{f||null==d.return||d.return()}finally{if(g)throw h}}return""},setFieldIndex:function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=0,t=[],u=!0,v=!1,w=void 0;try{for(c=a[0][Symbol.iterator]();!(u=(b=c.next()).done);u=!0)d=b.value,s+=d.colspan||1}catch(x){v=!0,w=x}finally{try{u||null==c.return||c.return()}finally{if(v)throw w}}for(e=0;ef;f++)t[e][f]=!1;for(g=0;gq;q++)t[g+q][p]=!0;for(r=0;o>r;r++)t[g][p+r]=!0}}catch(x){i=!0,j=x}finally{try{h||null==l.return||l.return()}finally{if(i)throw j}}}},normalizeAccent:function(a){return a.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(a){var b,c,d,e,f,g,h,j,k,l,m,n,o,p=(b=[]).concat.apply(b,i(a)),q=!0,r=!1,s=void 0;try{for(d=a[Symbol.iterator]();!(q=(c=d.next()).done);q=!0){e=c.value,f=!0,g=!1,h=void 0;try{for(k=e[Symbol.iterator]();!(f=(j=k.next()).done);f=!0)if(l=j.value,l.colspanGroup>1){for(m=0,n=function(a){var b=p.find(function(b){return b.fieldIndex===a});b.visible&&m++},o=l.colspanIndex;o0}}catch(t){g=!0,h=t}finally{try{f||null==k.return||k.return()}finally{if(g)throw h}}}}catch(t){r=!0,s=t}finally{try{q||null==d.return||d.return()}finally{if(r)throw s}}},getScrollBarWidth:function(){var b,c,d,e;return void 0===this.cachedWidth&&(b=a("
    ").addClass("fixed-table-scroll-inner"),c=a("
    ").addClass("fixed-table-scroll-outer"),c.append(b),a("body").append(c),d=b[0].offsetWidth,c.css("overflow","scroll"),e=b[0].offsetWidth,d===e&&(e=c[0].clientWidth),c.remove(),this.cachedWidth=d-e),this.cachedWidth},calculateObjectValue:function(a,b,c,e){var f,g,h,j,k,l,m,n=b;if("string"==typeof b)if(f=b.split("."),f.length>1){n=window,g=!0,h=!1,j=void 0;try{for(l=f[Symbol.iterator]();!(g=(k=l.next()).done);g=!0)m=k.value,n=n[m]}catch(o){h=!0,j=o}finally{try{g||null==l.return||l.return()}finally{if(h)throw j}}}else n=window[b];return null!==n&&"object"===d(n)?n:"function"==typeof n?n.apply(a,c||[]):!n&&"string"==typeof b&&this.sprintf.apply(this,[b].concat(i(c)))?this.sprintf.apply(this,[b].concat(i(c))):e},compareObjects:function(a,b,c){var d,e,f,g=Object.keys(a),h=Object.keys(b);if(c&&g.length!==h.length)return!1;for(d=0,e=g;d/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`"):a},unescapeHTML:function(a){return"string"==typeof a?a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/`/g,"`"):a},getRealDataAttr:function(a){var b,c,d,e,f,g;for(b=0,c=Object.entries(a);btd,>th").each(function(e,g){for(var i,j,k,l=+a(g).attr("colspan")||1,m=+a(g).attr("rowspan")||1,n=e;f[c]&&f[c][n];n++);for(i=n;n+l>i;i++)for(j=c;c+m>j;j++)f[j]||(f[j]=[]),f[j][i]=!0;k=b[n].field,h[k]=a(g).html().trim(),h["_".concat(k,"_id")]=a(g).attr("id"),h["_".concat(k,"_class")]=a(g).attr("class"),h["_".concat(k,"_rowspan")]=a(g).attr("rowspan"),h["_".concat(k,"_colspan")]=a(g).attr("colspan"),h["_".concat(k,"_title")]=a(g).attr("title"),h["_".concat(k,"_data")]=d.getRealDataAttr(a(g).data())}),e.push(h)}),e},sort:function(a,b,c,d,e,f){return(void 0===a||null===a)&&(a=""),(void 0===b||null===b)&&(b=""),d&&a===b&&(a=e,b=f),this.isNumeric(a)&&this.isNumeric(b)?(a=parseFloat(a),b=parseFloat(b),b>a?-1*c:a>b?c:0):a===b?0:("string"!=typeof a&&(a=a.toString()),-1===a.localeCompare(b)?-1*c:c)},getResizeEventName:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return a=a||"".concat(+new Date).concat(~~(1e6*Math.random())),"resize.bootstrap-table-".concat(a)},hasDetailViewIcon:function(a){return a.detailView&&a.detailViewIcon&&!a.cardView},checkAutoMergeCells:function(a){var b,c,d,e,f,g,h=!0,i=!1,j=void 0;try{for(c=a[Symbol.iterator]();!(h=(b=c.next()).done);h=!0)for(d=b.value,e=0,f=Object.keys(d);ee&&h++,i=c;d>i;i++)a[i]&&g.push(a[i]);return{topOffset:e,bottomOffset:f,rowsAbove:h,rows:g}}},{key:"checkChanges",value:function(a,b){var c=b!==this.cache[a];return this.cache[a]=b,c}},{key:"getExtra",value:function(a,b){var c=document.createElement("tr");return c.className="virtual-scroll-".concat(a),b&&(c.style.height="".concat(b,"px")),c.outerHTML}}]),a}(),Gh=function(){function b(c,d){e(this,b),this.options=d,this.$el=a(c),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0,this.init()}return g(b,[{key:"init",value:function(){this.initConstants(),this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initConstants",value:function(){var b,c=this.options;this.constants=qh.CONSTANTS,this.constants.theme=a.fn.bootstrapTable.theme,b=c.buttonsPrefix?"".concat(c.buttonsPrefix,"-"):"",this.constants.buttonsClass=[c.buttonsPrefix,b+c.buttonsClass,Ch.sprintf("".concat(b,"%s"),c.iconSize)].join(" ").trim()}},{key:"initLocale",value:function(){var b,c;this.options.locale&&(b=a.fn.bootstrapTable.locales,c=this.options.locale.split(/-|_/),c[0]=c[0].toLowerCase(),c[1]&&(c[1]=c[1].toUpperCase()),b[this.options.locale]?a.extend(this.options,b[this.options.locale]):b[c.join("-")]?a.extend(this.options,b[c.join("-")]):b[c[0]]&&a.extend(this.options,b[c[0]]))}},{key:"initContainer",value:function(){var b=["top","both"].includes(this.options.paginationVAlign)?'
    ':"",c=["bottom","both"].includes(this.options.paginationVAlign)?'
    ':"",d=Ch.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=a('\n
    \n
    \n ').concat(b,'\n
    \n
    \n
    \n
    \n ').concat(d,'\n
    \n
    \n \n
    \n ').concat(c,"\n
    \n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.$toolbar=this.options.buttonsToolbar?a("body").find(this.options.buttonsToolbar):this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('
    '),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('
    '),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var c,d=this,e=[];this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=a('')).appendTo(this.$el),this._headerTrClasses=[],this.$header.find("tr").each(function(b,c){var f=a(c),g=[];f.find("th").each(function(b,c){var d=a(c);"undefined"!=typeof d.data("field")&&d.data("field","".concat(d.data("field"))),g.push(a.extend({},{title:d.html(),"class":d.attr("class"),titleTooltip:d.attr("title"),rowspan:d.attr("rowspan")?+d.attr("rowspan"):void 0,colspan:d.attr("colspan")?+d.attr("colspan"):void 0},d.data()))}),e.push(g),f.attr("class")&&d._headerTrClasses.push(f.attr("class"))}),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=a.extend(!0,[],e,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],Ch.setFieldIndex(this.options.columns),this.options.columns.forEach(function(c,e){c.forEach(function(c,f){var g=a.extend({},b.COLUMN_DEFAULTS,c);"undefined"!=typeof g.fieldIndex&&(d.columns[g.fieldIndex]=g,d.fieldsColumnsIndex[g.field]=g.fieldIndex),d.options.columns[e][f]=g})}),this.options.data.length||(c=Ch.trToData(this.columns,this.$el.find(">tbody>tr")),c.length&&(this.options.data=c,this.fromHtml=!0)),this.footerData=Ch.trToData(this.columns,this.$el.find(">tfoot>tr")),this.footerData&&this.$el.find("tfoot").html(""),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var b,c=this,d={},e=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},Ch.updateFieldGroup(this.options.columns),this.options.columns.forEach(function(a,b){e.push(""));var f="";0===b&&Ch.hasDetailViewIcon(c.options)&&(f='\n
    \n ')),f&&"right"!==c.options.detailViewAlign&&e.push(f),a.forEach(function(a,f){var g,i,j,k,l,m,n,o,p,q,r=Ch.sprintf(' class="%s"',a["class"]),s=a.widthUnit,t=parseFloat(a.width),u=Ch.sprintf("text-align: %s; ",a.halign?a.halign:a.align),v=Ch.sprintf("text-align: %s; ",a.align),w=Ch.sprintf("vertical-align: %s; ",a.valign);if(w+=Ch.sprintf("width: %s; ",!a.checkbox&&!a.radio||t?t?t+s:void 0:a.showSelectTitle?void 0:"36px"),"undefined"!=typeof a.fieldIndex||a.visible){if(g=Ch.calculateObjectValue(null,c.options.headerStyle,[a]),i=[],j="",g&&g.css)for(k=0,l=Object.entries(g.css);k0?" data-not-first-th":"",">"),e.push(Ch.sprintf('
    ',c.options.sortable&&a.sortable?"sortable both":"")),p=c.options.escape?Ch.escapeHTML(a.title):a.title,q=p,a.checkbox&&(p="",!c.options.singleSelect&&c.options.checkboxHeader&&(p=''),c.header.stateField=a.field),a.radio&&(p="",c.header.stateField=a.field),!p&&a.showSelectTitle&&(p+=q),e.push(p),e.push("
    "),e.push('
    '),e.push("
    "),e.push("")}}),f&&"right"===c.options.detailViewAlign&&e.push(f),e.push("")}),this.$header.html(e.join("")),this.$header.find("th[data-field]").each(function(b,c){a(c).data(d[a(c).data("field")])}),this.$container.off("click",".th-inner").on("click",".th-inner",function(b){var d=a(b.currentTarget);return c.options.detailView&&!d.parent().hasClass("bs-checkbox")&&d.closest(".bootstrap-table")[0]!==c.$container[0]?!1:(c.options.sortable&&d.parent().data().sortable&&c.onSort(b),void 0)}),this.$header.children().children().off("keypress").on("keypress",function(b){if(c.options.sortable&&a(b.currentTarget).data().sortable){var d=b.keyCode||b.which;13===d&&c.onSort(b)}}),b=Ch.getResizeEventName(this.$el.attr("id")),a(window).off(b),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),a(window).on(b,function(){return c.resetView() +})),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",function(b){b.stopPropagation();var d=a(b.currentTarget).prop("checked");c[d?"checkAll":"uncheckAll"](),c.updateSelected()})}},{key:"initData",value:function(a,b){"append"===b?this.options.data=this.options.data.concat(a):"prepend"===b?this.options.data=[].concat(a).concat(this.options.data):(a=a||this.options.data,this.options.data=Array.isArray(a)?a:a[this.options.dataField]),this.data=i(this.options.data),this.options.sortReset&&(this.unsortedData=i(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var a=this,b=this.options.sortName,c="desc"===this.options.sortOrder?-1:1,d=this.header.fields.indexOf(this.options.sortName),e=0;-1!==d?(this.options.sortStable&&this.data.forEach(function(a,b){a.hasOwnProperty("_position")||(a._position=b)}),this.options.customSort?Ch.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort(function(e,f){var g,h,i;return a.header.sortNames[d]&&(b=a.header.sortNames[d]),g=Ch.getItemField(e,b,a.options.escape),h=Ch.getItemField(f,b,a.options.escape),i=Ch.calculateObjectValue(a.header,a.header.sorters[d],[g,h,e,f]),void 0!==i?a.options.sortStable&&0===i?c*(e._position-f._position):c*i:Ch.sort(g,h,c,a.options.sortStable,e._position,f._position)}),void 0!==this.options.sortClass&&(clearTimeout(e),e=setTimeout(function(){a.$el.removeClass(a.options.sortClass);var b=a.$header.find('[data-field="'.concat(a.options.sortName,'"]')).index();a.$el.find("tr td:nth-child(".concat(b+1,")")).addClass(a.options.sortClass)},250))):this.options.sortReset&&(this.data=i(this.unsortedData))}},{key:"onSort",value:function(b){var c,d=b.type,e=b.currentTarget,f="keypress"===d?a(e):a(e).parent(),g=this.$header.find("th").eq(f.index());return this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===f.data("field")?(c=this.options.sortOrder,void 0===c?this.options.sortOrder="asc":"asc"===c?this.options.sortOrder="desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)):(this.options.sortName=f.data("field"),this.options.sortOrder=this.options.rememberOrder?"asc"===f.data("order")?"desc":"asc":this.columns[this.fieldsColumnsIndex[f.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[f.data("field")]].order),this.trigger("sort",this.options.sortName,this.options.sortOrder),f.add(g).data("order",this.options.sortOrder),this.getCaret(),"server"===this.options.sidePagination&&this.options.serverSort?(this.options.pageNumber=1,this.initServer(this.options.silentSort),void 0):(this.initSort(),this.initBody(),void 0)}},{key:"initToolbar",value:function(){var b,c,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=this,w=this.options,x=[],y=0,z=0;this.$toolbar.find(".bs-bars").children().length&&a("body").append(a(w.toolbar)),this.$toolbar.html(""),("string"==typeof w.toolbar||"object"===d(w.toolbar))&&a(Ch.sprintf('
    ',this.constants.classes.pull,w.toolbarAlign)).appendTo(this.$toolbar).append(a(w.toolbar)),x=['
    ')],"string"==typeof w.icons&&(w.icons=Ch.calculateObjectValue(null,w.icons)),c={search:'"),paginationSwitch:'"),refresh:'"),toggle:'"),fullscreen:'"),columns:function(){var a,b,c=[];return c.push('
    \n \n ").concat(v.constants.html.toolbarDropdown[0])),w.showColumnsSearch&&(c.push(Ch.sprintf(v.constants.html.toolbarDropdownItem,Ch.sprintf('',v.constants.classes.input,w.formatSearch()))),c.push(v.constants.html.toolbarDropdownSeparator)),w.showColumnsToggleAll&&(a=v.getVisibleColumns().length===v.columns.filter(function(a){return!v.isSelectionColumn(a)}).length,c.push(Ch.sprintf(v.constants.html.toolbarDropdownItem,Ch.sprintf(' %s',a?'checked="checked"':"",w.formatColumnsToggleAll()))),c.push(v.constants.html.toolbarDropdownSeparator)),b=0,v.columns.forEach(function(a){a.visible&&b++}),v.columns.forEach(function(a,d){var e,f;v.isSelectionColumn(a)||(!w.cardView||a.cardVisible)&&(a.ignore||(e=a.visible?' checked="checked"':"",f=b<=v.options.minimumCountColumns&&e?' disabled="disabled"':"",a.switchable&&(c.push(Ch.sprintf(v.constants.html.toolbarDropdownItem,Ch.sprintf(' %s',a.field,d,e,f,a.title))),z++)))}),c.push(v.constants.html.toolbarDropdown[1],"
    "),c.join("")}()},"string"==typeof w.buttonsOrder&&(w.buttonsOrder=w.buttonsOrder.replace(/\[|\]| |'/g,"").toLowerCase().split(",")),e=!0,f=!1,g=void 0;try{for(i=w.buttonsOrder[Symbol.iterator]();!(e=(h=i.next()).done);e=!0)j=h.value,w["show"+j.charAt(0).toUpperCase()+j.substring(1)]&&x.push(c[j])}catch(A){f=!0,g=A}finally{try{e||null==i.return||i.return()}finally{if(f)throw g}}x.push("
    "),(this.showToolbar||x.length>2)&&this.$toolbar.append(x.join("")),w.showSearch&&this.$toolbar.find('button[name="showSearch"]').off("click").on("click",function(){return v.toggleShowSearch()}),w.showPaginationSwitch&&this.$toolbar.find('button[name="paginationSwitch"]').off("click").on("click",function(){return v.togglePagination()}),w.showFullscreen&&this.$toolbar.find('button[name="fullscreen"]').off("click").on("click",function(){return v.toggleFullscreen()}),w.showRefresh&&this.$toolbar.find('button[name="refresh"]').off("click").on("click",function(){return v.refresh()}),w.showToggle&&this.$toolbar.find('button[name="toggle"]').off("click").on("click",function(){v.toggleView()}),w.showColumns&&(b=this.$toolbar.find(".keep-open"),k=b.find('input[type="checkbox"]:not(".toggle-all")'),l=b.find('input[type="checkbox"].toggle-all'),z<=w.minimumCountColumns&&b.find("input").prop("disabled",!0),b.find("li, label").off("click").on("click",function(a){a.stopImmediatePropagation()}),k.off("click").on("click",function(b){var c=b.currentTarget,d=a(c);v._toggleColumn(d.val(),d.prop("checked"),!1),v.trigger("column-switch",d.data("field"),d.prop("checked")),l.prop("checked",k.filter(":checked").length===v.columns.filter(function(a){return!v.isSelectionColumn(a)}).length)}),l.off("click").on("click",function(b){var c=b.currentTarget;v._toggleAllColumns(a(c).prop("checked"))}),w.showColumnsSearch&&(m=b.find('[name="columnsSearch"]'),n=b.find(".dropdown-item-marker"),m.on("keyup paste change",function(b){var c=b.currentTarget,d=a(c),e=d.val().toLowerCase();n.show(),k.each(function(b,c){var d=a(c),f=d.parents(".dropdown-item-marker"),g=f.text().toLowerCase();g.includes(e)||f.hide()})}))),(w.search||this.showSearchClearButton)&&(x=[],o=Ch.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,w.formatSearch(),w.showButtonIcons?Ch.sprintf(this.constants.html.icon,w.iconsPrefix,w.icons.search):"",w.showButtonText?w.formatSearch():""),p=Ch.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,w.formatClearSearch(),w.showButtonIcons?Ch.sprintf(this.constants.html.icon,w.iconsPrefix,w.icons.clearSearch):"",w.showButtonText?w.formatClearSearch():""),q=''),r=q,(w.showSearchButton||w.showSearchClearButton)&&(s=(w.showSearchButton?o:"")+(w.showSearchClearButton?p:""),r=w.search?Ch.sprintf(this.constants.html.inputGroup,q,s):s),x.push(Ch.sprintf('\n
    \n %s\n
    \n '),r)),this.$toolbar.append(x.join("")),t=this.$toolbar.find(".search input"),u=function(){var a="keyup drop blur ".concat(Ch.isIEBrowser()?"mouseup":"");t.off(a).on(a,function(a){w.searchOnEnterKey&&13!==a.keyCode||[37,38,39,40].includes(a.keyCode)||(clearTimeout(y),y=setTimeout(function(){v.onSearch({currentTarget:a.currentTarget})},w.searchTimeOut))})},w.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",function(){clearTimeout(y),y=setTimeout(function(){v.onSearch({currentTarget:t})},w.searchTimeOut)}),w.searchOnEnterKey&&u()):u(),w.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click(function(){v.resetSearch()}))}},{key:"onSearch",value:function(){var b,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=c.currentTarget,e=c.firedByInitSearchText,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:!0;if(void 0!==d&&a(d).length&&f){if(b=a(d).val().trim(),this.options.trimOnSearch&&a(d).val()!==b&&a(d).val(b),this.searchText===b&&b.length>0)return;a(d).hasClass("search-input")&&(this.searchText=b,this.options.searchText=b)}e||(this.options.pageNumber=1),this.initSearch(),e?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var a,b,c,d=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=Ch.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),void 0;a=this.searchText&&(this.fromHtml?Ch.escapeHTML(this.searchText):this.searchText).toLowerCase(),b=Ch.isEmptyObject(this.filterColumns)?null:this.filterColumns,"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter(function(a){return d.filterOptions.filterAlgorithm.apply(null,[a,b])}):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=b?this.options.data.filter(function(a){var c,e,f,g=d.filterOptions.filterAlgorithm;if("and"===g){for(c in b)if(Array.isArray(b[c])&&!b[c].includes(a[c])||!Array.isArray(b[c])&&a[c]!==b[c])return!1}else if("or"===g){e=!1;for(f in b)(Array.isArray(b[f])&&b[f].includes(a[f])||!Array.isArray(b[f])&&a[f]===b[f])&&(e=!0);return e}return!0}):i(this.options.data)),c=this.getVisibleFields(),this.data=a?this.data.filter(function(b,e){var f,g,h,i,j,k,l,m,n,o,p,q,r;for(f=0;f|=<|>=|>|<)(?:\s+)?(\d+)?|(\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm,m=l.exec(a),n=!1,m)switch(o=m[1]||"".concat(m[5],"l"),p=m[2]||m[3],q=parseInt(i,10),r=parseInt(p,10),o){case">":case"r;break;case"<":case">l":n=r>q;break;case"<=":case"=<":case">=l":case"=>l":n=r>=q;break;case">=":case"=>":case"<=l":case"==r}if(n||"".concat(i).toLowerCase().includes(a))return!0}}return!1}):this.data,this.options.sortReset&&(this.unsortedData=i(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=this,x=this.options;if(!x.pagination)return this.$pagination.hide(),void 0;if(this.$pagination.show(),b=[],c=!1,k=this.getData({includeHiddenRows:!1}),l=x.pageList,"string"==typeof l&&(l=l.replace(/\[|\]| /g,"").toLowerCase().split(",")),l=l.map(function(a){return"string"==typeof a?a.toLowerCase()===x.formatAllRows().toLowerCase()||["all","unlimited"].includes(a.toLowerCase())?x.formatAllRows():+a:a}),this.paginationParts=x.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==x.sidePagination&&(x.totalRows=k.length),this.totalPages=0,x.totalRows&&(x.pageSize===x.formatAllRows()&&(x.pageSize=x.totalRows,c=!0),this.totalPages=~~((x.totalRows-1)/x.pageSize)+1,x.totalPages=this.totalPages),this.totalPages>0&&x.pageNumber>this.totalPages&&(x.pageNumber=this.totalPages),this.pageFrom=(x.pageNumber-1)*x.pageSize+1,this.pageTo=x.pageNumber*x.pageSize,this.pageTo>x.totalRows&&(this.pageTo=x.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&b.push('
    ')),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort"))&&(m=this.paginationParts.includes("pageInfoShort")?x.formatDetailPagination(x.totalRows):x.formatShowingRows(this.pageFrom,this.pageTo,x.totalRows,x.totalNotFiltered),b.push('\n '.concat(m,"\n "))),this.paginationParts.includes("pageSize")&&(b.push(''),n=['\n \n ").concat(this.constants.html.pageDropdown[0])],l.forEach(function(a,b){if(!x.smartDisplay||0===b||l[b-1]")),b.push(x.formatRecordsPerPage(n.join("")))),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&b.push("
    "),this.paginationParts.includes("pageList")){if(b.push('
    '),Ch.sprintf(this.constants.html.pagination[0],Ch.sprintf(" pagination-%s",x.iconSize)),Ch.sprintf(this.constants.html.paginationItem," page-pre",x.formatSRPaginationPreText(),x.paginationPreText)),this.totalPagesthis.totalPages-e&&(e=e-(x.paginationSuccessivelySize-(this.totalPages-e))+1),1>e&&(e=1),f>this.totalPages&&(f=this.totalPages),o=Math.round(x.paginationPagesBySide/2),p=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Ch.sprintf(w.constants.html.paginationItem,b+(a===x.pageNumber?" ".concat(w.constants.classes.paginationActive):""),x.formatSRPaginationPageText(a),a)},e>1){for(q=x.paginationPagesBySide,q>=e&&(q=e-1),d=1;q>=d;d++)b.push(p(d));e-1===q+1?(d=e-1,b.push(p(d))):e-1>q&&(e-2*x.paginationPagesBySide>x.paginationPagesBySide&&x.paginationUseIntermediate?(d=Math.round((e-o)/2+o),b.push(p(d," page-intermediate"))):b.push(Ch.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(d=e;f>=d;d++)b.push(p(d));if(this.totalPages>f)for(r=this.totalPages-(x.paginationPagesBySide-1),f>=r&&(r=f+1),f+1===r-1?(d=f+1,b.push(p(d))):r>f+1&&(this.totalPages-f>2*x.paginationPagesBySide&&x.paginationUseIntermediate?(d=Math.round((this.totalPages-o-f)/2+f),b.push(p(d," page-intermediate"))):b.push(Ch.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),d=r;d<=this.totalPages;d++)b.push(p(d));b.push(Ch.sprintf(this.constants.html.paginationItem," page-next",x.formatSRPaginationNextText(),x.paginationNextText)),b.push(this.constants.html.pagination[1],"
    ")}this.$pagination.html(b.join("")),s=["bottom","both"].includes(x.paginationVAlign)?" ".concat(this.constants.classes.dropup):"",this.$pagination.last().find(".page-list > span").addClass(s),x.onlyInfoPagination||(g=this.$pagination.find(".page-list a"),h=this.$pagination.find(".page-pre"),i=this.$pagination.find(".page-next"),j=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),x.smartDisplay&&(l.length<2||x.totalRows<=l[0])&&this.$pagination.find("span.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),x.paginationLoop||(1===x.pageNumber&&h.addClass("disabled"),x.pageNumber===this.totalPages&&i.addClass("disabled")),c&&(x.pageSize=x.formatAllRows()),g.off("click").on("click",function(a){return w.onPageListChange(a)}),h.off("click").on("click",function(a){return w.onPagePre(a)}),i.off("click").on("click",function(a){return w.onPageNext(a)}),j.off("click").on("click",function(a){return w.onPageNumber(a)})),this.options.showPageGo&&(t=this,u=this.$pagination.find("ul.pagination"),v=u.find("li.pageGo"),v.length||(v=a(['
  • ',Ch.sprintf('',this.options.pageNumber),'","
  • "].join("")).appendTo(u),v.find("button").click(function(){var a=parseInt(v.find("input").val())||1;(1>a||a>t.options.totalPages)&&(a=1),t.selectPage(a)})))}},{key:"updatePagination",value:function(b){b&&a(b.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(b){b.preventDefault();var c=a(b.currentTarget);return c.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=c.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+c.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(b),!1}},{key:"onPagePre",value:function(a){return a.preventDefault(),0===this.options.pageNumber-1?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(a),!1}},{key:"onPageNext",value:function(a){return a.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(a),!1}},{key:"onPageNumber",value:function(b){return b.preventDefault(),this.options.pageNumber!==+a(b.currentTarget).text()?(this.options.pageNumber=+a(b.currentTarget).text(),this.updatePagination(b),!1):void 0}},{key:"initRow",value:function(a,b){var c,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,u=this,v=[],w={},x=[],y="",z={},A=[];if(!(Ch.findIndex(this.hiddenRows,a)>-1)){if(w=Ch.calculateObjectValue(this.options,this.options.rowStyle,[a,b],w),w&&w.css)for(c=0,e=Object.entries(w.css);c"),this.options.cardView&&v.push('
    ')),t="",Ch.hasDetailViewIcon(this.options)&&(t="",Ch.calculateObjectValue(null,this.options.detailFilter,[b,a])&&(t+='\n \n '.concat(Ch.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n \n ")),t+=""),t&&"right"!==this.options.detailViewAlign&&v.push(t),this.header.fields.forEach(function(c,d){var e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,w="",y=Ch.getItemField(a,c,u.options.escape),z="",A="",B={},C="",D=u.header.classes[d],E="",F="",G="",H="",I="",J=u.columns[d];if((!u.fromHtml&&!u.autoMergeCells||"undefined"!=typeof y||J.checkbox||J.radio)&&J.visible&&(!u.options.cardView||J.cardVisible)){if(J.escape&&(y=Ch.escapeHTML(y)),x.concat([u.header.styles[d]]).length&&(E=' style="'.concat(x.concat([u.header.styles[d]]).join("; "),'"')),a["_".concat(c,"_id")]&&(C=Ch.sprintf(' id="%s"',a["_".concat(c,"_id")])),a["_".concat(c,"_class")]&&(D=Ch.sprintf(' class="%s"',a["_".concat(c,"_class")])),a["_".concat(c,"_rowspan")]&&(G=Ch.sprintf(' rowspan="%s"',a["_".concat(c,"_rowspan")])),a["_".concat(c,"_colspan")]&&(H=Ch.sprintf(' colspan="%s"',a["_".concat(c,"_colspan")])),a["_".concat(c,"_title")]&&(I=Ch.sprintf(' title="%s"',a["_".concat(c,"_title")])),B=Ch.calculateObjectValue(u.header,u.header.cellStyles[d],[y,a,b,c],B),B.classes&&(D=' class="'.concat(B.classes,'"')),B.css){for(e=[],f=0,g=Object.entries(B.css);f'):'"),'"),u.header.formatters[d]&&"string"==typeof z?z:"",u.options.cardView?"
    ":""].join(""),a[u.header.stateField]=z===!0||!!y||z&&z.checked):(z="undefined"==typeof z||null===z?u.options.undefinedText:z,u.options.cardView?(t=u.options.showHeader?'").concat(Ch.getFieldTitle(u.columns,c),""):"",w='
    '.concat(t,'').concat(z,"
    "),u.options.smartDisplay&&""===z&&(w='
    ')):w="").concat(z,"")),v.push(w)}}),t&&"right"===this.options.detailViewAlign&&v.push(t),this.options.cardView&&v.push("
    "),v.push(""),v.join("")}}},{key:"initBody",value:function(b){var c,d,e,f,g,h,i=this,j=this.getData();for(this.trigger("pre-body",j),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=a("").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=j.length),c=[],d=a(document.createDocumentFragment()),e=!1,this.autoMergeCells=Ch.checkAutoMergeCells(j.slice(this.pageFrom-1,this.pageTo)),f=this.pageFrom-1;f'.concat(Ch.sprintf('%s',this.getVisibleFields().length,this.options.formatNoMatches()),"")),b||this.scrollTo(0),this.initBodyEvent(),this.updateSelected(),this.initFooter(),this.resetView(),"server"!==this.options.sidePagination&&(this.options.totalRows=j.length),this.trigger("post-body",j)}},{key:"initBodyEvent",value:function(){var b=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",function(c){var d,e=a(c.currentTarget),f=e.parent(),g=a(c.target).parents(".card-views").children(),h=a(c.target).parents(".card-view"),i=f.data("index"),j=b.data[i],k=b.options.cardView?g.index(h):e[0].cellIndex,l=b.getVisibleFields(),m=l[Ch.hasDetailViewIcon(b.options)&&"right"!==b.options.detailViewAlign?k-1:k],n=b.columns[b.fieldsColumnsIndex[m]],o=Ch.getItemField(j,m,b.options.escape);e.find(".detail-icon").length||(b.trigger("click"===c.type?"click-cell":"dbl-click-cell",m,o,j,e),b.trigger("click"===c.type?"click-row":"dbl-click-row",j,f,m),"click"===c.type&&b.options.clickToSelect&&n.clickToSelect&&!Ch.calculateObjectValue(b.options,b.options.ignoreClickToSelectOn,[c.target])&&(d=f.find(Ch.sprintf('[name="%s"]',b.options.selectItemName)),d.length&&d[0].click()),"click"===c.type&&b.options.detailViewByClick&&b.toggleDetailView(i,b.header.detailFormatters[b.fieldsColumnsIndex[m]]))}).off("mousedown").on("mousedown",function(a){b.multipleSelectRowCtrlKey=a.ctrlKey||a.metaKey,b.multipleSelectRowShiftKey=a.shiftKey}),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",function(c){return c.preventDefault(),b.toggleDetailView(a(c.currentTarget).parent().parent().data("index")),!1}),this.$selectItem=this.$body.find(Ch.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",function(c){c.stopImmediatePropagation();var d=a(c.currentTarget);b._toggleCheck(d.prop("checked"),d.data("index"))}),this.header.events.forEach(function(c,d){var e,f,g,h,i,j=c;if(j&&("string"==typeof j&&(j=Ch.calculateObjectValue(null,j)),e=b.header.fields[d],f=b.getVisibleFields().indexOf(e),-1!==f)){Ch.hasDetailViewIcon(b.options)&&"right"!==b.options.detailViewAlign&&(f+=1),g=function(c){if(!j.hasOwnProperty(c))return"continue";var d=j[c];b.$body.find(">tr:not(.no-records-found)").each(function(g,h){var i=a(h),j=i.find(b.options.cardView?".card-views>.card-view":">td").eq(f),k=c.indexOf(" "),l=c.substring(0,k),m=c.substring(k+1);j.find(m).off(l).on(l,function(a){var c=i.data("index"),f=b.data[c],g=f[e];d.apply(b,[a,g,f,c])})})};for(h in j)i=g(h)}})}},{key:"initServer",value:function(b,c,d){var e,f,g,h,i,j,k,l=this,m={},n=this.header.fields.indexOf(this.options.sortName),o={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[n]&&(o.sortName=this.header.sortNames[n]),this.options.pagination&&"server"===this.options.sidePagination&&(o.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,o.pageNumber=this.options.pageNumber),!this.options.firstLoad&&!firstLoadTable.includes(this.options.id))return firstLoadTable.push(this.options.id),void 0;if(d||this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(o={search:o.searchText,sort:o.sortName,order:o.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(o.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),o.limit=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,0===o.limit&&delete o.limit)),this.options.search&&"server"===this.options.sidePagination&&this.columns.filter(function(a){return!a.searchable}).length){o.searchable=[],e=!0,f=!1,g=void 0;try{for(i=this.columns[Symbol.iterator]();!(e=(h=i.next()).done);e=!0)j=h.value,!j.checkbox&&j.searchable&&(this.options.visibleSearch&&j.visible||!this.options.visibleSearch)&&o.searchable.push(j.field)}catch(p){f=!0,g=p}finally{try{e||null==i.return||i.return()}finally{if(f)throw g}}}if(Ch.isEmptyObject(this.filterColumnsPartial)||(o.filter=JSON.stringify(this.filterColumnsPartial,null)),a.extend(o,c||{}),m=Ch.calculateObjectValue(this.options,this.options.queryParams,[o],m),m!==!1)return b||this.showLoading(),k=a.extend({},Ch.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:d||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(m):m,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(a,c,d){var e=Ch.calculateObjectValue(l.options,l.options.responseHandler,[a,d],a); +l.load(e),l.trigger("load-success",e,d&&d.status,d),b||l.hideLoading(),"server"===l.options.sidePagination&&e[l.options.totalField]>0&&!e[l.options.dataField].length&&l.updatePagination()},error:function(a){var c=[];"server"===l.options.sidePagination&&(c={},c[l.options.totalField]=0,c[l.options.dataField]=[]),l.load(c),l.trigger("load-error",a&&a.status,a),b||l.$tableLoading.hide()}}),this.options.ajax?Ch.calculateObjectValue(this,this.options.ajax,[k],null):(this._xhr&&4!==this._xhr.readyState&&this._xhr.abort(),this._xhr=a.ajax(k)),m}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var a=this.$toolbar.find(".search input");a.val(this.options.searchText),this.onSearch({currentTarget:a,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var b=this;this.$header.find("th").each(function(c,d){a(d).find(".sortable").removeClass("desc asc").addClass(a(d).data("field")===b.options.sortName?b.options.sortOrder:"both")})}},{key:"updateSelected",value:function(){var b=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",b),this.$selectItem.each(function(b,c){a(c).closest("tr")[a(c).prop("checked")?"addClass":"removeClass"]("selected")})}},{key:"updateRows",value:function(){var b=this;this.$selectItem.each(function(c,d){b.data[a(d).data("index")][b.header.stateField]=a(d).prop("checked")})}},{key:"resetRows",value:function(){var a,b,c,d=!0,e=!1,f=void 0;try{for(b=this.data[Symbol.iterator]();!(d=(a=b.next()).done);d=!0)c=a.value,this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(c[this.header.stateField]=!1)}catch(g){e=!0,f=g}finally{try{d||null==b.return||b.return()}finally{if(e)throw f}}this.initHiddenRows()}},{key:"trigger",value:function(c){var d,e,f,g,h="".concat(c,".bs.table");for(e=arguments.length,f=new Array(e>1?e-1:0),g=1;e>g;g++)f[g-1]=arguments[g];(d=this.options)[b.EVENTS[h]].apply(d,f),this.$el.trigger(a.Event(h),f),this.options.onAll(h,f),this.$el.trigger(a.Event("all.bs.table"),[h,f])}},{key:"resetHeader",value:function(){var a=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(function(){return a.fitHeader()},this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var b,c,d,e,f,g,h,i,j,k,l,m=this;if(this.$el.is(":hidden"))return this.timeoutId_=setTimeout(function(){return m.fitHeader()},100),void 0;for(b=this.$tableBody.get(0),c=b.scrollWidth>b.clientWidth&&b.scrollHeight>b.clientHeight+this.$header.outerHeight()?Ch.getScrollBarWidth():0,this.$el.css("margin-top",-this.$header.outerHeight()),d=a(":focus"),d.length>0&&(e=d.parents("th"),e.length>0&&(f=e.attr("data-field"),void 0!==f&&(g=this.$header.find("[data-field='".concat(f,"']")),g.length>0&&g.find(":input").addClass("focus-temp")))),this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",c).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth()),h=a(".focus-temp:visible:eq(0)"),h.length>0&&(h.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each(function(b,c){m.$header_.find(Ch.sprintf('th[data-field="%s"]',a(c).data("field"))).data(a(c).data())}),i=this.getVisibleFields(),j=this.$header_.find("th"),k=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);k.length&&k.find('>td[colspan]:not([colspan="1"])').length;)k=k.next();l=k.find("> *").length,k.find("> *").each(function(b,c){var d,e,f,g,h,k=a(c);return Ch.hasDetailViewIcon(m.options)&&(0===b&&"right"!==m.options.detailViewAlign||b===l-1&&"right"===m.options.detailViewAlign)?(d=j.filter(".detail"),e=d.innerWidth()-d.find(".fht-cell").width(),d.find(".fht-cell").width(k.innerWidth()-e),void 0):(f=Ch.hasDetailViewIcon(m.options)&&"right"!==m.options.detailViewAlign?b-1:b,g=m.$header_.find(Ch.sprintf('th[data-field="%s"]',i[f])),g.length>1&&(g=a(j[k[0].cellIndex])),h=g.innerWidth()-g.find(".fht-cell").width(),g.find(".fht-cell").width(k.innerWidth()-h),void 0)}),this.horizontalScroll(),this.trigger("post-header")}},{key:"initFooter",value:function(){var a,b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t;if(this.options.showFooter&&!this.options.cardView){a=this.getData(),b=[],c="",Ch.hasDetailViewIcon(this.options)&&(c='
    '),c&&"right"!==this.options.detailViewAlign&&b.push(c),d=!0,e=!1,f=void 0;try{for(i=this.columns[Symbol.iterator]();!(d=(g=i.next()).done);d=!0)if(j=g.value,k="",l="",m=[],n={},o=Ch.sprintf(' class="%s"',j["class"]),j.visible){if(this.options.cardView&&!j.cardVisible)return;if(k=Ch.sprintf("text-align: %s; ",j.falign?j.falign:j.align),l=Ch.sprintf("vertical-align: %s; ",j.valign),n=Ch.calculateObjectValue(null,this.options.footerStyle,[j]),n&&n.css)for(p=0,q=Object.entries(n.css);p"),b.push('
    '),b.push(Ch.calculateObjectValue(j,j.footerFormatter,[a],this.footerData[0]&&this.footerData[0][j.field]||"")),b.push("
    "),b.push('
    '),b.push(""),b.push("")}}catch(u){e=!0,f=u}finally{try{d||null==i.return||i.return()}finally{if(e)throw f}}c&&"right"===this.options.detailViewAlign&&b.push(c),this.options.height||this.$tableFooter.length||(this.$el.append(""),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").html(b.join("")),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var b,c,d,e,f,g=this;if(this.$el.is(":hidden"))return setTimeout(function(){return g.fitFooter()},100),void 0;for(b=this.$tableBody.get(0),c=b.scrollWidth>b.clientWidth&&b.scrollHeight>b.clientHeight+this.$header.outerHeight()?Ch.getScrollBarWidth():0,this.$tableFooter.css("margin-right",c).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class")),this.getVisibleFields(),d=this.$tableFooter.find("th"),e=this.$body.find(">tr:first-child:not(.no-records-found)");e.length&&e.find('>td[colspan]:not([colspan="1"])').length;)e=e.next();f=e.find("> *").length,e.find("> *").each(function(b,c){var e,h,i,j,k=a(c);return Ch.hasDetailViewIcon(g.options)&&(0===b&&"left"===g.options.detailViewAlign||b===f-1&&"right"===g.options.detailViewAlign)?(e=d.filter(".detail"),h=e.innerWidth()-e.find(".fht-cell").width(),e.find(".fht-cell").width(k.innerWidth()-h),void 0):(i=d.eq(b),j=i.innerWidth()-i.find(".fht-cell").width(),i.find(".fht-cell").width(k.innerWidth()-j),void 0)}),this.horizontalScroll()}},{key:"horizontalScroll",value:function(){var a=this;this.$tableBody.off("scroll").on("scroll",function(){var b=a.$tableBody.scrollLeft();a.options.showHeader&&a.options.height&&a.$tableHeader.scrollLeft(b),a.options.showFooter&&!a.options.cardView&&a.$tableFooter.scrollLeft(b),a.trigger("scroll-body",a.$tableBody)})}},{key:"getVisibleFields",value:function(){var a,b,c,d,e=[],f=!0,g=!1,h=void 0;try{for(b=this.header.fields[Symbol.iterator]();!(f=(a=b.next()).done);f=!0)c=a.value,d=this.columns[this.fieldsColumnsIndex[c]],d&&d.visible&&e.push(c)}catch(i){g=!0,h=i}finally{try{f||null==b.return||b.return()}finally{if(g)throw h}}return e}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var b=a.extend({},this.options);return delete b.data,a.extend(!0,{},b)}},{key:"refreshOptions",value:function(b){Ch.compareObjects(this.options,b,!0)||(this.options=a.extend(this.options,b),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(a){var b,c=this,d=this.options.data;return!(this.searchText||this.options.customSearch||this.options.sortName)&&Ch.isEmptyObject(this.filterColumns)&&Ch.isEmptyObject(this.filterColumnsPartial)||a&&a.unfiltered||(d=this.data),a&&a.useCurrentPage&&(d=d.slice(this.pageFrom-1,this.pageTo)),a&&!a.includeHiddenRows&&(b=this.getHiddenRows(),d=d.filter(function(a){return-1===Ch.findIndex(b,a)})),a&&a.formatted&&d.forEach(function(a){var b,d,e,f,g,i;for(b=0,d=Object.entries(a);b=0;b--)d=!1,c=this.options.data[b],(c.hasOwnProperty(a.field)||"$index"===a.field)&&(d=c.hasOwnProperty(a.field)||"$index"!==a.field?a.values.includes(c[a.field]):a.values.includes(b),d&&(this.options.data.splice(b,1),"server"===this.options.sidePagination&&(this.options.totalRows-=1)));e!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(a){a.hasOwnProperty("index")&&a.hasOwnProperty("row")&&(this.options.data.splice(a.index,0,a.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(b){var c,d,e,f=Array.isArray(b)?b:[b],g=!0,h=!1,i=void 0;try{for(d=f[Symbol.iterator]();!(g=(c=d.next()).done);g=!0)e=c.value,e.hasOwnProperty("index")&&e.hasOwnProperty("row")&&(e.hasOwnProperty("replace")&&e.replace?this.options.data[e.index]=e.row:a.extend(this.options.data[e.index],e.row))}catch(j){h=!0,i=j}finally{try{g||null==d.return||d.return()}finally{if(h)throw i}}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(a){var b,c,d,e=this.options.uniqueId,f=this.options.data.length,g=a,h=null;for(b=f-1;b>=0;b--){if(c=this.options.data[b],c.hasOwnProperty(e))d=c[e];else{if(!c._data||!c._data.hasOwnProperty(e))continue;d=c._data[e]}if("string"==typeof d?g=g.toString():"number"==typeof d&&(Number(d)===d&&0===d%1?g=parseInt(g):d===Number(d)&&0!==d&&(g=parseFloat(g))),d===g){h=c;break}}return h}},{key:"updateByUniqueId",value:function(b){var c,d,e,f,g=Array.isArray(b)?b:[b],h=!0,i=!1,j=void 0;try{for(d=g[Symbol.iterator]();!(h=(c=d.next()).done);h=!0)e=c.value,e.hasOwnProperty("id")&&e.hasOwnProperty("row")&&(f=this.options.data.indexOf(this.getRowByUniqueId(e.id)),-1!==f&&(e.hasOwnProperty("replace")&&e.replace?this.options.data[f]=e.row:a.extend(this.options.data[f],e.row)))}catch(k){i=!0,j=k}finally{try{h||null==d.return||d.return()}finally{if(i)throw j}}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"removeByUniqueId",value:function(a){var b=this.options.data.length,c=this.getRowByUniqueId(a);c&&this.options.data.splice(this.options.data.indexOf(c),1),b!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"updateCell",value:function(a){a.hasOwnProperty("index")&&a.hasOwnProperty("field")&&a.hasOwnProperty("value")&&(this.data[a.index][a.field]=a.value,a.reinit!==!1&&(this.initSort(),this.initBody(!0)))}},{key:"updateCellByUniqueId",value:function(a){var b=this,c=Array.isArray(a)?a:[a];c.forEach(function(a){var c=a.id,d=a.field,e=a.value,f=b.options.data.indexOf(b.getRowByUniqueId(c));-1!==f&&(b.options.data[f][d]=e)}),a.reinit!==!1&&(this.initSort(),this.initBody(!0))}},{key:"showRow",value:function(a){this._toggleRow(a,!0)}},{key:"hideRow",value:function(a){this._toggleRow(a,!1)}},{key:"_toggleRow",value:function(a,b){var c,d;a.hasOwnProperty("index")?c=this.getData()[a.index]:a.hasOwnProperty("uniqueId")&&(c=this.getRowByUniqueId(a.uniqueId)),c&&(d=Ch.findIndex(this.hiddenRows,c),b||-1!==d?b&&d>-1&&this.hiddenRows.splice(d,1):this.hiddenRows.push(c),this.initBody(!0),this.initPagination())}},{key:"getHiddenRows",value:function(a){var b,c,d,e,f,g,h,i;if(a)return this.initHiddenRows(),this.initBody(!0),this.initPagination(),void 0;b=this.getData(),c=[],d=!0,e=!1,f=void 0;try{for(h=b[Symbol.iterator]();!(d=(g=h.next()).done);d=!0)i=g.value,this.hiddenRows.includes(i)&&c.push(i)}catch(j){e=!0,f=j}finally{try{d||null==h.return||h.return()}finally{if(e)throw f}}return this.hiddenRows=c,c}},{key:"showColumn",value:function(a){var b=this,c=Array.isArray(a)?a:[a];c.forEach(function(a){b._toggleColumn(b.fieldsColumnsIndex[a],!0,!0)})}},{key:"hideColumn",value:function(a){var b=this,c=Array.isArray(a)?a:[a];c.forEach(function(a){b._toggleColumn(b.fieldsColumnsIndex[a],!1,!0)})}},{key:"_toggleColumn",value:function(a,b,c){if(-1!==a&&this.columns[a].visible!==b&&(this.columns[a].visible=b,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var d=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);c&&d.filter(Ch.sprintf('[value="%s"]',a)).prop("checked",b),d.filter(":checked").length<=this.options.minimumCountColumns&&d.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var a=this;return this.columns.filter(function(b){return b.visible&&!a.isSelectionColumn(b)})}},{key:"getHiddenColumns",value:function(){return this.columns.filter(function(a){var b=a.visible;return!b})}},{key:"isSelectionColumn",value:function(a){return a.radio||a.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(b){var c,d,e,f,g=this,h=!0,i=!1,j=void 0;try{for(d=this.columns.slice().reverse()[Symbol.iterator]();!(h=(c=d.next()).done);h=!0)if(e=c.value,e.switchable){if(!b&&this.options.showColumns&&this.getVisibleColumns().length===this.options.minimumCountColumns)continue;e.visible=b}}catch(k){i=!0,j=k}finally{try{h||null==d.return||d.return()}finally{if(i)throw j}}this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns&&(f=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1),b?f.prop("checked",b):f.get().reverse().forEach(function(c){f.filter(":checked").length>g.options.minimumCountColumns&&a(c).prop("checked",b)}),f.filter(":checked").length<=this.options.minimumCountColumns&&f.filter(":checked").prop("disabled",!0))}},{key:"mergeCells",value:function(a){var b,c,d,e=a.index,f=this.getVisibleFields().indexOf(a.field),g=a.rowspan||1,h=a.colspan||1,i=this.$body.find(">tr");if(Ch.hasDetailViewIcon(this.options)&&(f+=1),d=i.eq(e).find(">td").eq(f),!(0>e||0>f||e>=this.data.length)){for(b=e;e+g>b;b++)for(c=f;f+h>c;c++)i.eq(b).find(">td").eq(c).hide();d.attr("rowspan",g).attr("colspan",h).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(a){var b,c=this.getSelections();return this.$selectAll.add(this.$selectAll_).prop("checked",a),this.$selectItem.filter(":enabled").prop("checked",a),this.updateRows(),b=this.getSelections(),a?(this.trigger("check-all",b,c),void 0):(this.trigger("uncheck-all",b,c),void 0)}},{key:"checkInvert",value:function(){var b=this.$selectItem.filter(":enabled"),c=b.filter(":checked");b.each(function(b,c){a(c).prop("checked",!a(c).prop("checked"))}),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",c),c=this.getSelections(),this.trigger("check-some",c)}},{key:"check",value:function(a){this._toggleCheck(!0,a)}},{key:"uncheck",value:function(a){this._toggleCheck(!1,a)}},{key:"_toggleCheck",value:function(a,b){var c,d,e,f,g,h,i,j,k=this.$selectItem.filter('[data-index="'.concat(b,'"]')),l=this.data[b];if(k.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){c=!0,d=!1,e=void 0;try{for(g=this.options.data[Symbol.iterator]();!(c=(f=g.next()).done);c=!0)h=f.value,h[this.header.stateField]=!1}catch(m){d=!0,e=m}finally{try{c||null==g.return||g.return()}finally{if(d)throw e}}this.$selectItem.filter(":checked").not(k).prop("checked",!1)}if(l[this.header.stateField]=a,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(i=[this.multipleSelectRowLastSelectedIndex,b].sort(),j=i[0]+1;j0&&this.$selectItem.length===this.$selectItem.filter(":checked").length),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),h+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(h+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen")?(this.$tableContainer.css("height",""),this.$tableContainer.css("width","")):this.options.height&&(this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height","")),b=this.$toolbar.outerHeight(!0),c=this.$pagination.outerHeight(!0),d=this.options.height-b-c,e=this.$tableBody.find(">table"),f=e.outerHeight(),this.$tableContainer.css("height","".concat(d,"px")),this.$tableBorder&&e.is(":visible")&&(g=d-f-2,this.$tableBody[0].scrollWidth-this.$tableBody.innerWidth()&&(g-=Ch.getScrollBarWidth()),this.$tableBorder.css("width","".concat(e.outerWidth(),"px")),this.$tableBorder.css("height","".concat(g,"px")))),this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(h,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.css("display","flex");var a=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(a=.04*this.$tableLoading.width(),a=Math.max(12,a),a=Math.min(32,a),a="".concat(a,"px")),this.$tableLoading.find(".loading-text").css("font-size",a)}},{key:"hideLoading",value:function(){this.$tableLoading.css("display","none")}},{key:"toggleShowSearch",value:function(){this.$el.parents(".select-table").siblings().slideToggle()}},{key:"togglePagination",value:function(){var a,b;this.options.pagination=!this.options.pagination,a=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",b=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"",this.$toolbar.find('button[name="paginationSwitch"]').html(Ch.sprintf(this.constants.html.icon,this.options.iconsPrefix,a)+" "+b),this.updatePagination()}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){var a,b;this.options.cardView=!this.options.cardView,this.initHeader(),a=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",b=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"",this.$toolbar.find('button[name="toggle"]').html(Ch.sprintf(this.constants.html.icon,this.options.iconsPrefix,a)+" "+b),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(a){var b=this.$toolbar.find(".search input");b.val(a||""),this.onSearch({currentTarget:b})}},{key:"filterBy",value:function(b,c){this.filterOptions=Ch.isEmptyObject(c)?this.options.filterOptions:a.extend(this.options.filterOptions,c),this.filterColumns=Ch.isEmptyObject(b)?{}:b,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function c(b){var e,c;return"undefined"==typeof b?this.$tableBody.scrollTop():(e={unit:"px",value:0},"object"===d(b)?e=Object.assign(e,b):"string"==typeof b&&"bottom"===b?e.value=this.$tableBody[0].scrollHeight:("string"==typeof b||"number"==typeof b)&&(e.value=b),c=e.value,"rows"===e.unit&&(c=0,this.$body.find("> tr:lt(".concat(e.value,")")).each(function(b,d){c+=a(d).outerHeight(!0)})),this.$tableBody.scrollTop(c),void 0)}},{key:"getScrollPosition",value:function(){return this.scrollTo()}},{key:"selectPage",value:function(a){a>0&&a<=this.options.totalPages&&(this.options.pageNumber=a,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber tr[data-index="%s"]',a));c.next().is("tr.detail-view")?this.collapseRow(a):this.expandRow(a,b),this.resetView()}},{key:"expandRow",value:function(a,b){var c,d,e,f=this.data[a],g=this.$body.find(Ch.sprintf('> tr[data-index="%s"][data-has-detail-view]',a));g.next().is("tr.detail-view")||(this.options.detailViewIcon&&g.find("a.detail-icon").html(Ch.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),g.after(Ch.sprintf('',g.children("td").length)),c=g.next().find("td"),d=b||this.options.detailFormatter,e=Ch.calculateObjectValue(this.options,d,[a,f,c],""),1===c.length&&c.append(e),this.trigger("expand-row",a,f,c))}},{key:"expandRowByUniqueId",value:function(a){var b=this.getRowByUniqueId(a);b&&this.expandRow(this.data.indexOf(b))}},{key:"collapseRow",value:function(a){var b=this.data[a],c=this.$body.find(Ch.sprintf('> tr[data-index="%s"][data-has-detail-view]',a));c.next().is("tr.detail-view")&&(this.options.detailViewIcon&&c.find("a.detail-icon").html(Ch.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",a,b,c.next()),c.next().remove())}},{key:"collapseRowByUniqueId",value:function(a){var b=this.getRowByUniqueId(a);b&&this.collapseRow(this.data.indexOf(b))}},{key:"expandAllRows",value:function(){var b,c=this.$body.find("> tr[data-index][data-has-detail-view]");for(b=0;b tr[data-index][data-has-detail-view]");for(b=0;b1?c-1:0),f=1;c>f;f++)e[f-1]=arguments[f];return this.each(function(c,f){var h,i=a(f).data("bootstrap.table"),j=a.extend({},Gh.DEFAULTS,a(f).data(),"object"===d(b)&&b);if("string"==typeof b){if(!qh.METHODS.includes(b))throw new Error("Unknown method: ".concat(b));if(!i)return;g=(h=i)[b].apply(h,e),"destroy"===b&&a(f).removeData("bootstrap.table")}i||a(f).data("bootstrap.table",i=new a.BootstrapTable(f,j))}),"undefined"==typeof g?this:g},a.fn.bootstrapTable.Constructor=Gh,a.fn.bootstrapTable.theme=qh.THEME,a.fn.bootstrapTable.VERSION=qh.VERSION,a.fn.bootstrapTable.defaults=Gh.DEFAULTS,a.fn.bootstrapTable.columnDefaults=Gh.COLUMN_DEFAULTS,a.fn.bootstrapTable.events=Gh.EVENTS,a.fn.bootstrapTable.locales=Gh.LOCALES,a.fn.bootstrapTable.methods=Gh.METHODS,a.fn.bootstrapTable.utils=Ch,a(function(){a('[data-toggle="table"]').bootstrapTable()}),Gh}),TABLE_EVENTS="all.bs.table click-cell.bs.table dbl-click-cell.bs.table click-row.bs.table dbl-click-row.bs.table sort.bs.table check.bs.table uncheck.bs.table onUncheck check-all.bs.table uncheck-all.bs.table check-some.bs.table uncheck-some.bs.table load-success.bs.table load-error.bs.table column-switch.bs.table page-change.bs.table search.bs.table toggle.bs.table show-search.bs.table expand-row.bs.table collapse-row.bs.table refresh-options.bs.table reset-view.bs.table refresh.bs.table",firstLoadTable=[],union=function(a,b){return $.isPlainObject(b)?addRememberRow(a,b):$.isArray(b)?$.each(b,function(b,c){$.isPlainObject(c)?addRememberRow(a,c):-1==$.inArray(c,a)&&(a[a.length]=c)}):-1==$.inArray(b,a)&&(a[a.length]=b),a},difference=function(a,b){if($.isPlainObject(b))removeRememberRow(a,b);else if($.isArray(b))$.each(b,function(b,c){if($.isPlainObject(c))removeRememberRow(a,c);else{var d=$.inArray(c,a);-1!=d&&a.splice(d,1)}});else{var c=$.inArray(b,a);-1!=c&&a.splice(c,1)}return a},_={union:union,difference:difference}; \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.js b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.js index d0aeb94d2..7050c0070 100644 --- a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.js +++ b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.js @@ -1,42 +1,771 @@ -(function ($) { - 'use strict'; +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) : + typeof define === 'function' && define.amd ? define(['jquery'], factory) : + (global = global || self, factory(global.jQuery)); +}(this, (function ($) { 'use strict'; - $.fn.bootstrapTable.locales['zh-CN'] = { - formatLoadingMessage: function () { - return '正在努力地加载数据中,请稍候……'; - }, - formatRecordsPerPage: function (pageNumber) { - return pageNumber + ' 条记录每页'; - }, - formatShowingRows: function (pageFrom, pageTo, totalRows) { - return '第 ' + pageFrom + ' 到 ' + pageTo + ' 条,共 ' + totalRows + ' 条记录。'; - }, - formatSearch: function () { - return '搜索'; - }, - formatNoMatches: function () { - return '没有找到匹配的记录'; - }, - formatPaginationSwitch: function () { - return '隐藏/显示分页'; - }, - formatRefresh: function () { - return '刷新'; - }, - formatToggle: function () { - return '切换'; - }, - formatColumns: function () { - return '列'; - }, - formatExport: function () { - return '导出数据'; - }, - formatClearFilters: function () { - return '清空过滤'; - } - }; + $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $; - $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-CN']); + var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; -})(jQuery); + function createCommonjsModule(fn, module) { + return module = { exports: {} }, fn(module, module.exports), module.exports; + } + + var check = function (it) { + return it && it.Math == Math && it; + }; + + // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 + var global_1 = + // eslint-disable-next-line no-undef + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + check(typeof self == 'object' && self) || + check(typeof commonjsGlobal == 'object' && commonjsGlobal) || + // eslint-disable-next-line no-new-func + Function('return this')(); + + var fails = function (exec) { + try { + return !!exec(); + } catch (error) { + return true; + } + }; + + // Thank's IE8 for his funny defineProperty + var descriptors = !fails(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; + }); + + var nativePropertyIsEnumerable = {}.propertyIsEnumerable; + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Nashorn ~ JDK8 bug + var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); + + // `Object.prototype.propertyIsEnumerable` method implementation + // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable + var f = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor(this, V); + return !!descriptor && descriptor.enumerable; + } : nativePropertyIsEnumerable; + + var objectPropertyIsEnumerable = { + f: f + }; + + var createPropertyDescriptor = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; + }; + + var toString = {}.toString; + + var classofRaw = function (it) { + return toString.call(it).slice(8, -1); + }; + + var split = ''.split; + + // fallback for non-array-like ES3 and non-enumerable old V8 strings + var indexedObject = fails(function () { + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins + return !Object('z').propertyIsEnumerable(0); + }) ? function (it) { + return classofRaw(it) == 'String' ? split.call(it, '') : Object(it); + } : Object; + + // `RequireObjectCoercible` abstract operation + // https://tc39.github.io/ecma262/#sec-requireobjectcoercible + var requireObjectCoercible = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; + }; + + // toObject with fallback for non-array-like ES3 strings + + + + var toIndexedObject = function (it) { + return indexedObject(requireObjectCoercible(it)); + }; + + var isObject = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; + }; + + // `ToPrimitive` abstract operation + // https://tc39.github.io/ecma262/#sec-toprimitive + // instead of the ES6 spec version, we didn't implement @@toPrimitive case + // and the second argument - flag - preferred type is a string + var toPrimitive = function (input, PREFERRED_STRING) { + if (!isObject(input)) return input; + var fn, val; + if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; + if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; + if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; + throw TypeError("Can't convert object to primitive value"); + }; + + var hasOwnProperty = {}.hasOwnProperty; + + var has = function (it, key) { + return hasOwnProperty.call(it, key); + }; + + var document = global_1.document; + // typeof document.createElement is 'object' in old IE + var EXISTS = isObject(document) && isObject(document.createElement); + + var documentCreateElement = function (it) { + return EXISTS ? document.createElement(it) : {}; + }; + + // Thank's IE8 for his funny defineProperty + var ie8DomDefine = !descriptors && !fails(function () { + return Object.defineProperty(documentCreateElement('div'), 'a', { + get: function () { return 7; } + }).a != 7; + }); + + var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // `Object.getOwnPropertyDescriptor` method + // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor + var f$1 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPrimitive(P, true); + if (ie8DomDefine) try { + return nativeGetOwnPropertyDescriptor(O, P); + } catch (error) { /* empty */ } + if (has(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]); + }; + + var objectGetOwnPropertyDescriptor = { + f: f$1 + }; + + var anObject = function (it) { + if (!isObject(it)) { + throw TypeError(String(it) + ' is not an object'); + } return it; + }; + + var nativeDefineProperty = Object.defineProperty; + + // `Object.defineProperty` method + // https://tc39.github.io/ecma262/#sec-object.defineproperty + var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (ie8DomDefine) try { + return nativeDefineProperty(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; + }; + + var objectDefineProperty = { + f: f$2 + }; + + var createNonEnumerableProperty = descriptors ? function (object, key, value) { + return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value)); + } : function (object, key, value) { + object[key] = value; + return object; + }; + + var setGlobal = function (key, value) { + try { + createNonEnumerableProperty(global_1, key, value); + } catch (error) { + global_1[key] = value; + } return value; + }; + + var SHARED = '__core-js_shared__'; + var store = global_1[SHARED] || setGlobal(SHARED, {}); + + var sharedStore = store; + + var functionToString = Function.toString; + + // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper + if (typeof sharedStore.inspectSource != 'function') { + sharedStore.inspectSource = function (it) { + return functionToString.call(it); + }; + } + + var inspectSource = sharedStore.inspectSource; + + var WeakMap = global_1.WeakMap; + + var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); + + var shared = createCommonjsModule(function (module) { + (module.exports = function (key, value) { + return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); + })('versions', []).push({ + version: '3.6.0', + mode: 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' + }); + }); + + var id = 0; + var postfix = Math.random(); + + var uid = function (key) { + return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); + }; + + var keys = shared('keys'); + + var sharedKey = function (key) { + return keys[key] || (keys[key] = uid(key)); + }; + + var hiddenKeys = {}; + + var WeakMap$1 = global_1.WeakMap; + var set, get, has$1; + + var enforce = function (it) { + return has$1(it) ? get(it) : set(it, {}); + }; + + var getterFor = function (TYPE) { + return function (it) { + var state; + if (!isObject(it) || (state = get(it)).type !== TYPE) { + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; + }; + + if (nativeWeakMap) { + var store$1 = new WeakMap$1(); + var wmget = store$1.get; + var wmhas = store$1.has; + var wmset = store$1.set; + set = function (it, metadata) { + wmset.call(store$1, it, metadata); + return metadata; + }; + get = function (it) { + return wmget.call(store$1, it) || {}; + }; + has$1 = function (it) { + return wmhas.call(store$1, it); + }; + } else { + var STATE = sharedKey('state'); + hiddenKeys[STATE] = true; + set = function (it, metadata) { + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get = function (it) { + return has(it, STATE) ? it[STATE] : {}; + }; + has$1 = function (it) { + return has(it, STATE); + }; + } + + var internalState = { + set: set, + get: get, + has: has$1, + enforce: enforce, + getterFor: getterFor + }; + + var redefine = createCommonjsModule(function (module) { + var getInternalState = internalState.get; + var enforceInternalState = internalState.enforce; + var TEMPLATE = String(String).split('String'); + + (module.exports = function (O, key, value, options) { + var unsafe = options ? !!options.unsafe : false; + var simple = options ? !!options.enumerable : false; + var noTargetGet = options ? !!options.noTargetGet : false; + if (typeof value == 'function') { + if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key); + enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : ''); + } + if (O === global_1) { + if (simple) O[key] = value; + else setGlobal(key, value); + return; + } else if (!unsafe) { + delete O[key]; + } else if (!noTargetGet && O[key]) { + simple = true; + } + if (simple) O[key] = value; + else createNonEnumerableProperty(O, key, value); + // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative + })(Function.prototype, 'toString', function toString() { + return typeof this == 'function' && getInternalState(this).source || inspectSource(this); + }); + }); + + var path = global_1; + + var aFunction = function (variable) { + return typeof variable == 'function' ? variable : undefined; + }; + + var getBuiltIn = function (namespace, method) { + return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace]) + : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method]; + }; + + var ceil = Math.ceil; + var floor = Math.floor; + + // `ToInteger` abstract operation + // https://tc39.github.io/ecma262/#sec-tointeger + var toInteger = function (argument) { + return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); + }; + + var min = Math.min; + + // `ToLength` abstract operation + // https://tc39.github.io/ecma262/#sec-tolength + var toLength = function (argument) { + return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + }; + + var max = Math.max; + var min$1 = Math.min; + + // Helper for a popular repeating case of the spec: + // Let integer be ? ToInteger(index). + // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). + var toAbsoluteIndex = function (index, length) { + var integer = toInteger(index); + return integer < 0 ? max(integer + length, 0) : min$1(integer, length); + }; + + // `Array.prototype.{ indexOf, includes }` methods implementation + var createMethod = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; + }; + + var arrayIncludes = { + // `Array.prototype.includes` method + // https://tc39.github.io/ecma262/#sec-array.prototype.includes + includes: createMethod(true), + // `Array.prototype.indexOf` method + // https://tc39.github.io/ecma262/#sec-array.prototype.indexof + indexOf: createMethod(false) + }; + + var indexOf = arrayIncludes.indexOf; + + + var objectKeysInternal = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has(O, key = names[i++])) { + ~indexOf(result, key) || result.push(key); + } + return result; + }; + + // IE8- don't enum bug keys + var enumBugKeys = [ + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' + ]; + + var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype'); + + // `Object.getOwnPropertyNames` method + // https://tc39.github.io/ecma262/#sec-object.getownpropertynames + var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return objectKeysInternal(O, hiddenKeys$1); + }; + + var objectGetOwnPropertyNames = { + f: f$3 + }; + + var f$4 = Object.getOwnPropertySymbols; + + var objectGetOwnPropertySymbols = { + f: f$4 + }; + + // all object keys, includes non-enumerable and symbols + var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { + var keys = objectGetOwnPropertyNames.f(anObject(it)); + var getOwnPropertySymbols = objectGetOwnPropertySymbols.f; + return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + }; + + var copyConstructorProperties = function (target, source) { + var keys = ownKeys(source); + var defineProperty = objectDefineProperty.f; + var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + }; + + var replacement = /#|\.prototype\./; + + var isForced = function (feature, detection) { + var value = data[normalize(feature)]; + return value == POLYFILL ? true + : value == NATIVE ? false + : typeof detection == 'function' ? fails(detection) + : !!detection; + }; + + var normalize = isForced.normalize = function (string) { + return String(string).replace(replacement, '.').toLowerCase(); + }; + + var data = isForced.data = {}; + var NATIVE = isForced.NATIVE = 'N'; + var POLYFILL = isForced.POLYFILL = 'P'; + + var isForced_1 = isForced; + + var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; + + + + + + + /* + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.noTargetGet - prevent calling a getter on target + */ + var _export = function (options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global_1; + } else if (STATIC) { + target = global_1[TARGET] || setGlobal(TARGET, {}); + } else { + target = (global_1[TARGET] || {}).prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.noTargetGet) { + descriptor = getOwnPropertyDescriptor$1(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty === typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + // extend global + redefine(target, key, sourceProperty, options); + } + }; + + // `IsArray` abstract operation + // https://tc39.github.io/ecma262/#sec-isarray + var isArray = Array.isArray || function isArray(arg) { + return classofRaw(arg) == 'Array'; + }; + + // `ToObject` abstract operation + // https://tc39.github.io/ecma262/#sec-toobject + var toObject = function (argument) { + return Object(requireObjectCoercible(argument)); + }; + + var createProperty = function (object, key, value) { + var propertyKey = toPrimitive(key); + if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value)); + else object[propertyKey] = value; + }; + + var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () { + // Chrome 38 Symbol has incorrect toString conversion + // eslint-disable-next-line no-undef + return !String(Symbol()); + }); + + var useSymbolAsUid = nativeSymbol + // eslint-disable-next-line no-undef + && !Symbol.sham + // eslint-disable-next-line no-undef + && typeof Symbol() == 'symbol'; + + var WellKnownSymbolsStore = shared('wks'); + var Symbol$1 = global_1.Symbol; + var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid; + + var wellKnownSymbol = function (name) { + if (!has(WellKnownSymbolsStore, name)) { + if (nativeSymbol && has(Symbol$1, name)) WellKnownSymbolsStore[name] = Symbol$1[name]; + else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); + } return WellKnownSymbolsStore[name]; + }; + + var SPECIES = wellKnownSymbol('species'); + + // `ArraySpeciesCreate` abstract operation + // https://tc39.github.io/ecma262/#sec-arrayspeciescreate + var arraySpeciesCreate = function (originalArray, length) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); + }; + + var userAgent = getBuiltIn('navigator', 'userAgent') || ''; + + var process = global_1.process; + var versions = process && process.versions; + var v8 = versions && versions.v8; + var match, version; + + if (v8) { + match = v8.split('.'); + version = match[0] + match[1]; + } else if (userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) version = match[1]; + } + } + + var v8Version = version && +version; + + var SPECIES$1 = wellKnownSymbol('species'); + + var arrayMethodHasSpeciesSupport = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return v8Version >= 51 || !fails(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES$1] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); + }; + + var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; + var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; + + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/679 + var IS_CONCAT_SPREADABLE_SUPPORT = v8Version >= 51 || !fails(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; + }); + + var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); + + var isConcatSpreadable = function (O) { + if (!isObject(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray(O); + }; + + var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; + + // `Array.prototype.concat` method + // https://tc39.github.io/ecma262/#sec-array.prototype.concat + // with adding support of @@isConcatSpreadable and @@species + _export({ target: 'Array', proto: true, forced: FORCED }, { + concat: function concat(arg) { // eslint-disable-line no-unused-vars + var O = toObject(this); + var A = arraySpeciesCreate(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = toLength(E.length); + if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } + }); + + /** + * Bootstrap Table Chinese translation + * Author: Zhixin Wen + */ + + $.fn.bootstrapTable.locales['zh-CN'] = { + formatLoadingMessage: function formatLoadingMessage() { + return '正在努力地加载数据中,请稍候'; + }, + formatRecordsPerPage: function formatRecordsPerPage(pageNumber) { + return "\u6BCF\u9875\u663E\u793A ".concat(pageNumber, " \u6761\u8BB0\u5F55"); + }, + formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) { + if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) { + return "\u663E\u793A\u7B2C ".concat(pageFrom, " \u5230\u7B2C ").concat(pageTo, " \u6761\u8BB0\u5F55\uFF0C\u603B\u5171 ").concat(totalRows, " \u6761\u8BB0\u5F55\uFF08\u4ECE ").concat(totalNotFiltered, " \u603B\u8BB0\u5F55\u4E2D\u8FC7\u6EE4\uFF09"); + } + + return "\u663E\u793A\u7B2C ".concat(pageFrom, " \u5230\u7B2C ").concat(pageTo, " \u6761\u8BB0\u5F55\uFF0C\u603B\u5171 ").concat(totalRows, " \u6761\u8BB0\u5F55"); + }, + formatSRPaginationPreText: function formatSRPaginationPreText() { + return '上一页'; + }, + formatSRPaginationPageText: function formatSRPaginationPageText(page) { + return "\u7B2C".concat(page, "\u9875"); + }, + formatSRPaginationNextText: function formatSRPaginationNextText() { + return '下一页'; + }, + formatDetailPagination: function formatDetailPagination(totalRows) { + return "\u603B\u5171 ".concat(totalRows, " \u6761\u8BB0\u5F55"); + }, + formatClearSearch: function formatClearSearch() { + return '清空过滤'; + }, + formatSearch: function formatSearch() { + return '搜索'; + }, + formatNoMatches: function formatNoMatches() { + return '没有找到匹配的记录'; + }, + formatPaginationSwitch: function formatPaginationSwitch() { + return '隐藏/显示分页'; + }, + formatPaginationSwitchDown: function formatPaginationSwitchDown() { + return '显示分页'; + }, + formatPaginationSwitchUp: function formatPaginationSwitchUp() { + return '隐藏分页'; + }, + formatRefresh: function formatRefresh() { + return '刷新'; + }, + formatToggle: function formatToggle() { + return '切换'; + }, + formatToggleOn: function formatToggleOn() { + return '显示卡片视图'; + }, + formatToggleOff: function formatToggleOff() { + return '隐藏卡片视图'; + }, + formatColumns: function formatColumns() { + return '列'; + }, + formatColumnsToggleAll: function formatColumnsToggleAll() { + return '切换所有'; + }, + formatFullscreen: function formatFullscreen() { + return '全屏'; + }, + formatAllRows: function formatAllRows() { + return '所有'; + }, + formatAutoRefresh: function formatAutoRefresh() { + return '自动刷新'; + }, + formatExport: function formatExport() { + return '导出数据'; + }, + formatJumpTo: function formatJumpTo() { + return '跳转'; + }, + formatAdvancedSearch: function formatAdvancedSearch() { + return '高级搜索'; + }, + formatAdvancedCloseButton: function formatAdvancedCloseButton() { + return '关闭'; + }, + formatFilterControlSwitch: function formatFilterControlSwitch() { + return '隐藏/显示过滤控制'; + }, + formatFilterControlSwitchHide: function formatFilterControlSwitchHide() { + return '隐藏过滤控制'; + }, + formatFilterControlSwitchShow: function formatFilterControlSwitchShow() { + return '显示过滤控制'; + } + }; + $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-CN']); + +}))); diff --git a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js index 19299a326..f844b578f 100644 --- a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js +++ b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js @@ -1 +1,10 @@ -(function($){$.fn.bootstrapTable.locales["zh-CN"]={formatLoadingMessage:function(){return"正在努力地加载数据中,请稍候……"},formatRecordsPerPage:function(pageNumber){return pageNumber+" 条记录每页"},formatShowingRows:function(pageFrom,pageTo,totalRows){return"第 "+pageFrom+" 到 "+pageTo+" 条,共 "+totalRows+" 条记录。"},formatSearch:function(){return"搜索"},formatNoMatches:function(){return"没有找到匹配的记录"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatRefresh:function(){return"刷新"},formatToggle:function(){return"切换"},formatColumns:function(){return"列"},formatExport:function(){return"导出数据"},formatClearFilters:function(){return"清空过滤"}};$.extend($.fn.bootstrapTable.defaults,$.fn.bootstrapTable.locales["zh-CN"])})(jQuery); \ No newline at end of file +/** + * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) + * + * @version v1.17.1 + * @homepage https://bootstrap-table.com + * @author wenzhixin (http://wenzhixin.net.cn/) + * @license MIT + */ + +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t=t||self).jQuery)}(this,(function(t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,n){return t(n={exports:{}},n.exports),n.exports}var e=function(t){return t&&t.Math==Math&&t},o=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,a={f:f&&!c.call({1:2},1)?function(t){var n=f(this,t);return!!n&&n.enumerable}:c},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},y="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return g(m(t))},d=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!d(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!d(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!d(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!d(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,n){return b.call(t,n)},S=o.document,O=d(S)&&d(S.createElement),j=!u&&!i((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:u?P:function(t,n){if(t=h(t),n=v(n,!0),j)try{return P(t,n)}catch(t){}if(w(t,n))return l(!a.f.call(t,n),t[n])}},x=function(t){if(!d(t))throw TypeError(String(t)+" is not an object");return t},E=Object.defineProperty,A={f:u?E:function(t,n,r){if(x(t),n=v(n,!0),x(r),j)try{return E(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},C=u?function(t,n,r){return A.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},M=function(t,n){try{C(o,t,n)}catch(r){o[t]=n}return n},_=o["__core-js_shared__"]||M("__core-js_shared__",{}),F=Function.toString;"function"!=typeof _.inspectSource&&(_.inspectSource=function(t){return F.call(t)});var N,R,k,I,L=_.inspectSource,z=o.WeakMap,D="function"==typeof z&&/native code/.test(L(z)),q=r((function(t){(t.exports=function(t,n){return _[t]||(_[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),B=0,G=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+G).toString(36)},H=q("keys"),J={},K=o.WeakMap;if(D){var Q=new K,U=Q.get,V=Q.has,Y=Q.set;N=function(t,n){return Y.call(Q,t,n),n},R=function(t){return U.call(Q,t)||{}},k=function(t){return V.call(Q,t)}}else{var X=H[I="state"]||(H[I]=W(I));J[X]=!0,N=function(t,n){return C(t,X,n),n},R=function(t){return w(t,X)?t[X]:{}},k=function(t){return w(t,X)}}var Z,$,tt={set:N,get:R,has:k,enforce:function(t){return k(t)?R(t):N(t,{})},getterFor:function(t){return function(n){var r;if(!d(n)||(r=R(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},nt=r((function(t){var n=tt.get,r=tt.enforce,e=String(String).split("String");(t.exports=function(t,n,i,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,a=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||w(i,"name")||C(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(c?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=i:C(t,n,i)):f?t[n]=i:M(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(this)}))})),rt=o,et=function(t){return"function"==typeof t?t:void 0},ot=function(t,n){return arguments.length<2?et(rt[t])||et(o[t]):rt[t]&&rt[t][n]||o[t]&&o[t][n]},it=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:it)(t)},ft=Math.min,at=function(t){return t>0?ft(ct(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,r,e){var o,i=h(n),u=at(i.length),c=function(t,n){var r=ct(t);return r<0?lt(r+n,0):st(r,n)}(e,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},yt={includes:pt(!0),indexOf:pt(!1)}.indexOf,gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),mt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=h(t),o=0,i=[];for(r in e)!w(J,r)&&w(e,r)&&i.push(r);for(;n.length>o;)w(e,r=n[o++])&&(~yt(i,r)||i.push(r));return i}(t,gt)}},ht={f:Object.getOwnPropertySymbols},dt=ot("Reflect","ownKeys")||function(t){var n=mt.f(x(t)),r=ht.f;return r?n.concat(r(t)):n},vt=function(t,n){for(var r=dt(n),e=A.f,o=T.f,i=0;i=74)&&(Z=zt.match(/Chrome\/(\d+)/))&&($=Z[1]);var Gt,Wt=$&&+$,Ht=kt("species"),Jt=kt("isConcatSpreadable"),Kt=Wt>=51||!i((function(){var t=[];return t[Jt]=!1,t.concat()[0]!==t})),Qt=(Gt="concat",Wt>=51||!i((function(){var t=[];return(t.constructor={})[Ht]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Ut=function(t){if(!d(t))return!1;var n=t[Jt];return void 0!==n?!!n:Et(t)};!function(t,n){var r,e,i,u,c,f=t.target,a=t.global,l=t.stat;if(r=a?o:l?o[f]||M(f,{}):(o[f]||{}).prototype)for(e in n){if(u=n[e],i=t.noTargetGet?(c=xt(r,e))&&c.value:r[e],!Tt(a?e:f+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;vt(u,i)}(t.sham||i&&i.sham)&&C(u,"sham",!0),nt(r,e,u,t)}}({target:"Array",proto:!0,forced:!Kt||!Qt},{concat:function(t){var n,r,e,o,i,u=At(this),c=Lt(u,0),f=0;for(n=-1,e=arguments.length;n9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ct(c,f++,i)}return c.length=f,c}}),t.fn.bootstrapTable.locales["zh-CN"]={formatLoadingMessage:function(){return"正在努力地加载数据中,请稍候"},formatRecordsPerPage:function(t){return"每页显示 ".concat(t," 条记录")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(r," 条记录(从 ").concat(e," 总记录中过滤)"):"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(r," 条记录")},formatSRPaginationPreText:function(){return"上一页"},formatSRPaginationPageText:function(t){return"第".concat(t,"页")},formatSRPaginationNextText:function(){return"下一页"},formatDetailPagination:function(t){return"总共 ".concat(t," 条记录")},formatClearSearch:function(){return"清空过滤"},formatSearch:function(){return"搜索"},formatNoMatches:function(){return"没有找到匹配的记录"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatPaginationSwitchDown:function(){return"显示分页"},formatPaginationSwitchUp:function(){return"隐藏分页"},formatRefresh:function(){return"刷新"},formatToggle:function(){return"切换"},formatToggleOn:function(){return"显示卡片视图"},formatToggleOff:function(){return"隐藏卡片视图"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切换所有"},formatFullscreen:function(){return"全屏"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自动刷新"},formatExport:function(){return"导出数据"},formatJumpTo:function(){return"跳转"},formatAdvancedSearch:function(){return"高级搜索"},formatAdvancedCloseButton:function(){return"关闭"},formatFilterControlSwitch:function(){return"隐藏/显示过滤控制"},formatFilterControlSwitchHide:function(){return"隐藏过滤控制"},formatFilterControlSwitchShow:function(){return"显示过滤控制"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["zh-CN"])})); \ No newline at end of file