bootstrap-table-custom-view.min.js 18 KB

12345678910
  1. /**
  2. * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
  3. *
  4. * @version v1.20.1
  5. * @homepage https://bootstrap-table.com
  6. * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
  7. * @license MIT
  8. */
  9. !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t);function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function u(t,e){return u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},u(t,e)}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=i(t);if(e){var o=i(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function f(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=f(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},s.apply(this,arguments)}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p(t,e){return t(e={exports:{}},e.exports),e.exports}var y,b,d=function(t){return t&&t.Math==Math&&t},h=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof l&&l)||function(){return this}()||Function("return this")(),v=function(t){try{return!!t()}catch(t){return!0}},g=!v((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m=!v((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),w=Function.prototype.call,O=m?w.bind(w):function(){return w.apply(w,arguments)},j={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,T={f:S&&!j.call({1:2},1)?function(t){var e=S(this,t);return!!e&&e.enumerable}:j},P=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},C=Function.prototype,E=C.bind,V=C.call,x=m&&E.bind(V,V),A=m?function(t){return t&&x(t)}:function(t){return t&&function(){return V.apply(t,arguments)}},B=A({}.toString),R=A("".slice),_=function(t){return R(B(t),8,-1)},F=h.Object,k=A("".split),I=v((function(){return!F("z").propertyIsEnumerable(0)}))?function(t){return"String"==_(t)?k(t,""):F(t)}:F,M=h.TypeError,z=function(t){if(null==t)throw M("Can't call method on "+t);return t},D=function(t){return I(z(t))},L=function(t){return"function"==typeof t},N=function(t){return"object"==typeof t?null!==t:L(t)},G=function(t){return L(t)?t:void 0},q=function(t,e){return arguments.length<2?G(h[t]):h[t]&&h[t][e]},W=A({}.isPrototypeOf),$=q("navigator","userAgent")||"",U=h.process,X=h.Deno,K=U&&U.versions||X&&X.version,Q=K&&K.v8;Q&&(b=(y=Q.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!b&&$&&(!(y=$.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=$.match(/Chrome\/(\d+)/))&&(b=+y[1]);var Y=b,H=!!Object.getOwnPropertySymbols&&!v((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Y&&Y<41})),J=H&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=h.Object,tt=J?function(t){return"symbol"==typeof t}:function(t){var e=q("Symbol");return L(e)&&W(e.prototype,Z(t))},et=h.String,nt=h.TypeError,rt=function(t){if(L(t))return t;throw nt(function(t){try{return et(t)}catch(t){return"Object"}}(t)+" is not a function")},ot=h.TypeError,it=Object.defineProperty,ut=function(t,e){try{it(h,t,{value:e,configurable:!0,writable:!0})}catch(n){h[t]=e}return e},ct="__core-js_shared__",at=h[ct]||ut(ct,{}),ft=p((function(t){(t.exports=function(t,e){return at[t]||(at[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.4",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"})})),st=h.Object,lt=function(t){return st(z(t))},pt=A({}.hasOwnProperty),yt=Object.hasOwn||function(t,e){return pt(lt(t),e)},bt=0,dt=Math.random(),ht=A(1..toString),vt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ht(++bt+dt,36)},gt=ft("wks"),mt=h.Symbol,wt=mt&&mt.for,Ot=J?mt:mt&&mt.withoutSetter||vt,jt=function(t){if(!yt(gt,t)||!H&&"string"!=typeof gt[t]){var e="Symbol."+t;H&&yt(mt,t)?gt[t]=mt[t]:gt[t]=J&&wt?wt(e):Ot(e)}return gt[t]},St=h.TypeError,Tt=jt("toPrimitive"),Pt=function(t,e){if(!N(t)||tt(t))return t;var n,r,o=null==(n=t[Tt])?void 0:rt(n);if(o){if(void 0===e&&(e="default"),r=O(o,t,e),!N(r)||tt(r))return r;throw St("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&L(n=t.toString)&&!N(r=O(n,t)))return r;if(L(n=t.valueOf)&&!N(r=O(n,t)))return r;if("string"!==e&&L(n=t.toString)&&!N(r=O(n,t)))return r;throw ot("Can't convert object to primitive value")}(t,e)},Ct=function(t){var e=Pt(t,"string");return tt(e)?e:e+""},Et=h.document,Vt=N(Et)&&N(Et.createElement),xt=function(t){return Vt?Et.createElement(t):{}},At=!g&&!v((function(){return 7!=Object.defineProperty(xt("div"),"a",{get:function(){return 7}}).a})),Bt=Object.getOwnPropertyDescriptor,Rt={f:g?Bt:function(t,e){if(t=D(t),e=Ct(e),At)try{return Bt(t,e)}catch(t){}if(yt(t,e))return P(!O(T.f,t,e),t[e])}},_t=g&&v((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ft=h.String,kt=h.TypeError,It=function(t){if(N(t))return t;throw kt(Ft(t)+" is not an object")},Mt=h.TypeError,zt=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,Lt="enumerable",Nt="configurable",Gt="writable",qt={f:g?_t?function(t,e,n){if(It(t),e=Ct(e),It(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Gt in n&&!n.writable){var r=Dt(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Nt in n?n.configurable:r.configurable,enumerable:Lt in n?n.enumerable:r.enumerable,writable:!1})}return zt(t,e,n)}:zt:function(t,e,n){if(It(t),e=Ct(e),It(n),At)try{return zt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Mt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Wt=g?function(t,e,n){return qt.f(t,e,P(1,n))}:function(t,e,n){return t[e]=n,t},$t=Function.prototype,Ut=g&&Object.getOwnPropertyDescriptor,Xt=yt($t,"name"),Kt={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!g||g&&Ut($t,"name").configurable)},Qt=A(Function.toString);L(at.inspectSource)||(at.inspectSource=function(t){return Qt(t)});var Yt,Ht,Jt,Zt=at.inspectSource,te=h.WeakMap,ee=L(te)&&/native code/.test(Zt(te)),ne=ft("keys"),re=function(t){return ne[t]||(ne[t]=vt(t))},oe={},ie="Object already initialized",ue=h.TypeError,ce=h.WeakMap;if(ee||at.state){var ae=at.state||(at.state=new ce),fe=A(ae.get),se=A(ae.has),le=A(ae.set);Yt=function(t,e){if(se(ae,t))throw new ue(ie);return e.facade=t,le(ae,t,e),e},Ht=function(t){return fe(ae,t)||{}},Jt=function(t){return se(ae,t)}}else{var pe=re("state");oe[pe]=!0,Yt=function(t,e){if(yt(t,pe))throw new ue(ie);return e.facade=t,Wt(t,pe,e),e},Ht=function(t){return yt(t,pe)?t[pe]:{}},Jt=function(t){return yt(t,pe)}}var ye={set:Yt,get:Ht,has:Jt,enforce:function(t){return Jt(t)?Ht(t):Yt(t,{})},getterFor:function(t){return function(e){var n;if(!N(e)||(n=Ht(e)).type!==t)throw ue("Incompatible receiver, "+t+" required");return n}}},be=p((function(t){var e=qt.f,n=Kt.CONFIGURABLE,r=ye.enforce,o=ye.get,i=!v((function(){return 8!==e((function(){}),"length",{value:8}).length})),u=String(String).split("String"),c=t.exports=function(t,o,c){"Symbol("===String(o).slice(0,7)&&(o="["+String(o).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),c&&c.getter&&(o="get "+o),c&&c.setter&&(o="set "+o),(!yt(t,"name")||n&&t.name!==o)&&e(t,"name",{value:o,configurable:!0}),i&&c&&yt(c,"arity")&&t.length!==c.arity&&e(t,"length",{value:c.arity});var a=r(t);return yt(a,"source")||(a.source=u.join("string"==typeof o?o:"")),t};Function.prototype.toString=c((function(){return L(this)&&o(this).source||Zt(this)}),"toString")})),de=function(t,e,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet,c=r&&void 0!==r.name?r.name:e;return L(n)&&be(n,c,r),t===h?(i?t[e]=n:ut(e,n),t):(o?!u&&t[e]&&(i=!0):delete t[e],i?t[e]=n:Wt(t,e,n),t)},he=Math.ceil,ve=Math.floor,ge=function(t){var e=+t;return e!=e||0===e?0:(e>0?ve:he)(e)},me=Math.max,we=Math.min,Oe=function(t,e){var n=ge(t);return n<0?me(n+e,0):we(n,e)},je=Math.min,Se=function(t){return(e=t.length)>0?je(ge(e),9007199254740991):0;var e},Te=function(t){return function(e,n,r){var o,i=D(e),u=Se(i),c=Oe(r,u);if(t&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},Pe={includes:Te(!0),indexOf:Te(!1)}.indexOf,Ce=A([].push),Ee=function(t,e){var n,r=D(t),o=0,i=[];for(n in r)!yt(oe,n)&&yt(r,n)&&Ce(i,n);for(;e.length>o;)yt(r,n=e[o++])&&(~Pe(i,n)||Ce(i,n));return i},Ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xe=Ve.concat("length","prototype"),Ae={f:Object.getOwnPropertyNames||function(t){return Ee(t,xe)}},Be={f:Object.getOwnPropertySymbols},Re=A([].concat),_e=q("Reflect","ownKeys")||function(t){var e=Ae.f(It(t)),n=Be.f;return n?Re(e,n(t)):e},Fe=function(t,e,n){for(var r=_e(e),o=qt.f,i=Rt.f,u=0;u<r.length;u++){var c=r[u];yt(t,c)||n&&yt(n,c)||o(t,c,i(e,c))}},ke=/#|\.prototype\./,Ie=function(t,e){var n=ze[Me(t)];return n==Le||n!=De&&(L(e)?v(e):!!e)},Me=Ie.normalize=function(t){return String(t).replace(ke,".").toLowerCase()},ze=Ie.data={},De=Ie.NATIVE="N",Le=Ie.POLYFILL="P",Ne=Ie,Ge=Rt.f,qe=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?h:f?h[c]||ut(c,{}):(h[c]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(u=Ge(n,r))&&u.value:n[r],!Ne(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Fe(i,o)}(t.sham||o&&o.sham)&&Wt(i,"sham",!0),de(n,r,i,t)}},We=Object.keys||function(t){return Ee(t,Ve)},$e=Object.assign,Ue=Object.defineProperty,Xe=A([].concat),Ke=!$e||v((function(){if(g&&1!==$e({b:1},$e(Ue({},"a",{enumerable:!0,get:function(){Ue(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=$e({},t)[n]||We($e({},e)).join("")!=r}))?function(t,e){for(var n=lt(t),r=arguments.length,o=1,i=Be.f,u=T.f;r>o;)for(var c,a=I(arguments[o++]),f=i?Xe(We(a),i(a)):We(a),s=f.length,l=0;s>l;)c=f[l++],g&&!O(u,a,c)||(n[c]=a[c]);return n}:$e;qe({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ke},{assign:Ke});var Qe=Array.isArray||function(t){return"Array"==_(t)},Ye=function(t,e,n){var r=Ct(e);r in t?qt.f(t,r,P(0,n)):t[r]=n},He={};He[jt("toStringTag")]="z";var Je="[object z]"===String(He),Ze=jt("toStringTag"),tn=h.Object,en="Arguments"==_(function(){return arguments}()),nn=Je?_:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=tn(t),Ze))?n:en?_(e):"Object"==(r=_(e))&&L(e.callee)?"Arguments":r},rn=function(){},on=[],un=q("Reflect","construct"),cn=/^\s*(?:class|function)\b/,an=A(cn.exec),fn=!cn.exec(rn),sn=function(t){if(!L(t))return!1;try{return un(rn,on,t),!0}catch(t){return!1}},ln=function(t){if(!L(t))return!1;switch(nn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return fn||!!an(cn,Zt(t))}catch(t){return!0}};ln.sham=!0;var pn=!un||v((function(){var t;return sn(sn.call)||!sn(Object)||!sn((function(){t=!0}))||t}))?ln:sn,yn=jt("species"),bn=h.Array,dn=function(t,e){return new(function(t){var e;return Qe(t)&&(e=t.constructor,(pn(e)&&(e===bn||Qe(e.prototype))||N(e)&&null===(e=e[yn]))&&(e=void 0)),void 0===e?bn:e}(t))(0===e?0:e)},hn=jt("species"),vn=function(t){return Y>=51||!v((function(){var e=[];return(e.constructor={})[hn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},gn=jt("isConcatSpreadable"),mn=9007199254740991,wn="Maximum allowed index exceeded",On=h.TypeError,jn=Y>=51||!v((function(){var t=[];return t[gn]=!1,t.concat()[0]!==t})),Sn=vn("concat"),Tn=function(t){if(!N(t))return!1;var e=t[gn];return void 0!==e?!!e:Qe(t)};qe({target:"Array",proto:!0,arity:1,forced:!jn||!Sn},{concat:function(t){var e,n,r,o,i,u=lt(this),c=dn(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Tn(i=-1===e?u:arguments[e])){if(a+(o=Se(i))>mn)throw On(wn);for(n=0;n<o;n++,a++)n in i&&Ye(c,a,i[n])}else{if(a>=mn)throw On(wn);Ye(c,a++,i)}return c.length=a,c}});var Pn,Cn=A(A.bind),En=A([].push),Vn=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,u=7==t,c=5==t||i;return function(a,f,s,l){for(var p,y,b=lt(a),d=I(b),h=function(t,e){return rt(t),void 0===e?t:m?Cn(t,e):function(){return t.apply(e,arguments)}}(f,s),v=Se(d),g=0,w=l||dn,O=e?w(a,v):n||u?w(a,0):void 0;v>g;g++)if((c||g in d)&&(y=h(p=d[g],g,b),t))if(e)O[g]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return g;case 2:En(O,p)}else switch(t){case 4:return!1;case 7:En(O,p)}return i?-1:r||o?o:O}},xn={forEach:Vn(0),map:Vn(1),filter:Vn(2),some:Vn(3),every:Vn(4),find:Vn(5),findIndex:Vn(6),filterReject:Vn(7)},An=g&&!_t?Object.defineProperties:function(t,e){It(t);for(var n,r=D(e),o=We(e),i=o.length,u=0;i>u;)qt.f(t,n=o[u++],r[n]);return t},Bn={f:An},Rn=q("document","documentElement"),_n=re("IE_PROTO"),Fn=function(){},kn=function(t){return"<script>"+t+"</"+"script>"},In=function(t){t.write(kn("")),t.close();var e=t.parentWindow.Object;return t=null,e},Mn=function(){try{Pn=new ActiveXObject("htmlfile")}catch(t){}var t,e;Mn="undefined"!=typeof document?document.domain&&Pn?In(Pn):((e=xt("iframe")).style.display="none",Rn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(kn("document.F=Object")),t.close(),t.F):In(Pn);for(var n=Ve.length;n--;)delete Mn.prototype[Ve[n]];return Mn()};oe[_n]=!0;var zn=Object.create||function(t,e){var n;return null!==t?(Fn.prototype=It(t),n=new Fn,Fn.prototype=null,n[_n]=t):n=Mn(),void 0===e?n:Bn.f(n,e)},Dn=jt("unscopables"),Ln=Array.prototype;null==Ln[Dn]&&qt.f(Ln,Dn,{configurable:!0,value:zn(null)});var Nn,Gn=xn.find,qn="find",Wn=!0;qn in[]&&Array(1).find((function(){Wn=!1})),qe({target:"Array",proto:!0,forced:Wn},{find:function(t){return Gn(this,t,arguments.length>1?arguments[1]:void 0)}}),Nn=qn,Ln[Dn][Nn]=!0;var $n=Je?{}.toString:function(){return"[object "+nn(this)+"]"};Je||de(Object.prototype,"toString",$n,{unsafe:!0});var Un=A([].slice),Xn=vn("slice"),Kn=jt("species"),Qn=h.Array,Yn=Math.max;qe({target:"Array",proto:!0,forced:!Xn},{slice:function(t,e){var n,r,o,i=D(this),u=Se(i),c=Oe(t,u),a=Oe(void 0===e?u:e,u);if(Qe(i)&&(n=i.constructor,(pn(n)&&(n===Qn||Qe(n.prototype))||N(n)&&null===(n=n[Kn]))&&(n=void 0),n===Qn||void 0===n))return Un(i,c,a);for(r=new(void 0===n?Qn:n)(Yn(a-c,0)),o=0;c<a;c++,o++)c in i&&Ye(r,o,i[c]);return r.length=o,r}});var Hn=n.default.fn.bootstrapTable.utils;n.default.extend(n.default.fn.bootstrapTable.defaults,{customView:!1,showCustomView:!1,showCustomViewButton:!1}),n.default.extend(n.default.fn.bootstrapTable.defaults.icons,{customView:{bootstrap3:"glyphicon glyphicon-eye-open",bootstrap5:"bi-eye",bootstrap4:"fa fa-eye",semantic:"fa fa-eye",foundation:"fa fa-eye",bulma:"fa fa-eye",materialize:"remove_red_eye"}[n.default.fn.bootstrapTable.theme]||"fa-eye"}),n.default.extend(n.default.fn.bootstrapTable.defaults,{onCustomViewPostBody:function(){return!1},onCustomViewPreBody:function(){return!1}}),n.default.extend(n.default.fn.bootstrapTable.locales,{formatToggleCustomView:function(){return"Toggle custom view"}}),n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales),n.default.fn.bootstrapTable.methods.push("toggleCustomView"),n.default.extend(n.default.fn.bootstrapTable.Constructor.EVENTS,{"custom-view-post-body.bs.table":"onCustomViewPostBody","custom-view-pre-body.bs.table":"onCustomViewPreBody"}),n.default.BootstrapTable=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(l,t);var e,n,c,f=a(l);function l(){return r(this,l),f.apply(this,arguments)}return e=l,n=[{key:"init",value:function(){this.showCustomView=this.options.showCustomView,s(i(l.prototype),"init",this).call(this)}},{key:"initToolbar",value:function(){var t;this.options.customView&&this.options.showCustomViewButton&&(this.buttons=Object.assign(this.buttons,{customView:{text:this.options.formatToggleCustomView(),icon:this.options.icons.customView,event:this.toggleCustomView,attributes:{"aria-label":this.options.formatToggleCustomView(),title:this.options.formatToggleCustomView()}}}));for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=s(i(l.prototype),"initToolbar",this)).call.apply(t,[this].concat(n))}},{key:"initBody",value:function(){if(s(i(l.prototype),"initBody",this).call(this),this.options.customView){var t=this.$el,e=this.$container.find(".fixed-table-custom-view");if(t.hide(),e.hide(),this.options.customView&&this.showCustomView){var n=this.getData().slice(this.pageFrom-1,this.pageTo),r=Hn.calculateObjectValue(this,this.options.customView,[n],"");this.trigger("custom-view-pre-body",n,r),1===e.length?e.show().html(r):this.$tableBody.after('<div class="fixed-table-custom-view">'.concat(r,"</div>")),this.trigger("custom-view-post-body",n,r)}else t.show()}}},{key:"toggleCustomView",value:function(){this.showCustomView=!this.showCustomView,this.initBody()}}],n&&o(e.prototype,n),c&&o(e,c),Object.defineProperty(e,"prototype",{writable:!1}),l}(n.default.BootstrapTable)}));