bootstrap-table-mobile.min.js 19 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 l(){return l="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}},l.apply(this,arguments)}var s="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 h,d,y=function(t){return t&&t.Math==Math&&t},v=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof s&&s)||function(){return this}()||Function("return this")(),g=function(t){try{return!!t()}catch(t){return!0}},b=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m=!g((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)},S={}.propertyIsEnumerable,j=Object.getOwnPropertyDescriptor,T={f:j&&!S.call({1:2},1)?function(t){var e=j(this,t);return!!e&&e.enumerable}:S},E=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},P=Function.prototype,L=P.bind,C=P.call,x=m&&L.bind(C,C),A=m?function(t){return t&&x(t)}:function(t){return t&&function(){return C.apply(t,arguments)}},R=A({}.toString),V=A("".slice),M=function(t){return V(R(t),8,-1)},k=v.Object,F=A("".split),I=g((function(){return!k("z").propertyIsEnumerable(0)}))?function(t){return"String"==M(t)?F(t,""):k(t)}:k,_=v.TypeError,H=function(t){if(null==t)throw _("Can't call method on "+t);return t},D=function(t){return I(H(t))},N=function(t){return"function"==typeof t},W=function(t){return"object"==typeof t?null!==t:N(t)},G=function(t){return N(t)?t:void 0},z=function(t,e){return arguments.length<2?G(v[t]):v[t]&&v[t][e]},B=A({}.isPrototypeOf),q=z("navigator","userAgent")||"",U=v.process,X=v.Deno,K=U&&U.versions||X&&X.version,Q=K&&K.v8;Q&&(d=(h=Q.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!d&&q&&(!(h=q.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=q.match(/Chrome\/(\d+)/))&&(d=+h[1]);var Y=d,$=!!Object.getOwnPropertySymbols&&!g((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Y&&Y<41})),J=$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=v.Object,tt=J?function(t){return"symbol"==typeof t}:function(t){var e=z("Symbol");return N(e)&&B(e.prototype,Z(t))},et=v.String,nt=v.TypeError,rt=function(t){if(N(t))return t;throw nt(function(t){try{return et(t)}catch(t){return"Object"}}(t)+" is not a function")},ot=v.TypeError,it=Object.defineProperty,ut=function(t,e){try{it(v,t,{value:e,configurable:!0,writable:!0})}catch(n){v[t]=e}return e},ct="__core-js_shared__",at=v[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"})})),lt=v.Object,st=function(t){return lt(H(t))},pt=A({}.hasOwnProperty),ht=Object.hasOwn||function(t,e){return pt(st(t),e)},dt=0,yt=Math.random(),vt=A(1..toString),gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+vt(++dt+yt,36)},bt=ft("wks"),mt=v.Symbol,wt=mt&&mt.for,Ot=J?mt:mt&&mt.withoutSetter||gt,St=function(t){if(!ht(bt,t)||!$&&"string"!=typeof bt[t]){var e="Symbol."+t;$&&ht(mt,t)?bt[t]=mt[t]:bt[t]=J&&wt?wt(e):Ot(e)}return bt[t]},jt=v.TypeError,Tt=St("toPrimitive"),Et=function(t,e){if(!W(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),!W(r)||tt(r))return r;throw jt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&N(n=t.toString)&&!W(r=O(n,t)))return r;if(N(n=t.valueOf)&&!W(r=O(n,t)))return r;if("string"!==e&&N(n=t.toString)&&!W(r=O(n,t)))return r;throw ot("Can't convert object to primitive value")}(t,e)},Pt=function(t){var e=Et(t,"string");return tt(e)?e:e+""},Lt=v.document,Ct=W(Lt)&&W(Lt.createElement),xt=function(t){return Ct?Lt.createElement(t):{}},At=!b&&!g((function(){return 7!=Object.defineProperty(xt("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,Vt={f:b?Rt:function(t,e){if(t=D(t),e=Pt(e),At)try{return Rt(t,e)}catch(t){}if(ht(t,e))return E(!O(T.f,t,e),t[e])}},Mt=b&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),kt=v.String,Ft=v.TypeError,It=function(t){if(W(t))return t;throw Ft(kt(t)+" is not an object")},_t=v.TypeError,Ht=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,Nt="enumerable",Wt="configurable",Gt="writable",zt={f:b?Mt?function(t,e,n){if(It(t),e=Pt(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:Wt in n?n.configurable:r.configurable,enumerable:Nt in n?n.enumerable:r.enumerable,writable:!1})}return Ht(t,e,n)}:Ht:function(t,e,n){if(It(t),e=Pt(e),It(n),At)try{return Ht(t,e,n)}catch(t){}if("get"in n||"set"in n)throw _t("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Bt=b?function(t,e,n){return zt.f(t,e,E(1,n))}:function(t,e,n){return t[e]=n,t},qt=Function.prototype,Ut=b&&Object.getOwnPropertyDescriptor,Xt=ht(qt,"name"),Kt={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!b||b&&Ut(qt,"name").configurable)},Qt=A(Function.toString);N(at.inspectSource)||(at.inspectSource=function(t){return Qt(t)});var Yt,$t,Jt,Zt=at.inspectSource,te=v.WeakMap,ee=N(te)&&/native code/.test(Zt(te)),ne=ft("keys"),re=function(t){return ne[t]||(ne[t]=gt(t))},oe={},ie="Object already initialized",ue=v.TypeError,ce=v.WeakMap;if(ee||at.state){var ae=at.state||(at.state=new ce),fe=A(ae.get),le=A(ae.has),se=A(ae.set);Yt=function(t,e){if(le(ae,t))throw new ue(ie);return e.facade=t,se(ae,t,e),e},$t=function(t){return fe(ae,t)||{}},Jt=function(t){return le(ae,t)}}else{var pe=re("state");oe[pe]=!0,Yt=function(t,e){if(ht(t,pe))throw new ue(ie);return e.facade=t,Bt(t,pe,e),e},$t=function(t){return ht(t,pe)?t[pe]:{}},Jt=function(t){return ht(t,pe)}}var he={set:Yt,get:$t,has:Jt,enforce:function(t){return Jt(t)?$t(t):Yt(t,{})},getterFor:function(t){return function(e){var n;if(!W(e)||(n=$t(e)).type!==t)throw ue("Incompatible receiver, "+t+" required");return n}}},de=p((function(t){var e=zt.f,n=Kt.CONFIGURABLE,r=he.enforce,o=he.get,i=!g((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),(!ht(t,"name")||n&&t.name!==o)&&e(t,"name",{value:o,configurable:!0}),i&&c&&ht(c,"arity")&&t.length!==c.arity&&e(t,"length",{value:c.arity});var a=r(t);return ht(a,"source")||(a.source=u.join("string"==typeof o?o:"")),t};Function.prototype.toString=c((function(){return N(this)&&o(this).source||Zt(this)}),"toString")})),ye=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 N(n)&&de(n,c,r),t===v?(i?t[e]=n:ut(e,n),t):(o?!u&&t[e]&&(i=!0):delete t[e],i?t[e]=n:Bt(t,e,n),t)},ve=Math.ceil,ge=Math.floor,be=function(t){var e=+t;return e!=e||0===e?0:(e>0?ge:ve)(e)},me=Math.max,we=Math.min,Oe=Math.min,Se=function(t){return(e=t.length)>0?Oe(be(e),9007199254740991):0;var e},je=function(t){return function(e,n,r){var o,i=D(e),u=Se(i),c=function(t,e){var n=be(t);return n<0?me(n+e,0):we(n,e)}(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}},Te={includes:je(!0),indexOf:je(!1)},Ee=Te.indexOf,Pe=A([].push),Le=function(t,e){var n,r=D(t),o=0,i=[];for(n in r)!ht(oe,n)&&ht(r,n)&&Pe(i,n);for(;e.length>o;)ht(r,n=e[o++])&&(~Ee(i,n)||Pe(i,n));return i},Ce=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xe=Ce.concat("length","prototype"),Ae={f:Object.getOwnPropertyNames||function(t){return Le(t,xe)}},Re={f:Object.getOwnPropertySymbols},Ve=A([].concat),Me=z("Reflect","ownKeys")||function(t){var e=Ae.f(It(t)),n=Re.f;return n?Ve(e,n(t)):e},ke=function(t,e,n){for(var r=Me(e),o=zt.f,i=Vt.f,u=0;u<r.length;u++){var c=r[u];ht(t,c)||n&&ht(n,c)||o(t,c,i(e,c))}},Fe=/#|\.prototype\./,Ie=function(t,e){var n=He[_e(t)];return n==Ne||n!=De&&(N(e)?g(e):!!e)},_e=Ie.normalize=function(t){return String(t).replace(Fe,".").toLowerCase()},He=Ie.data={},De=Ie.NATIVE="N",Ne=Ie.POLYFILL="P",We=Ie,Ge=Vt.f,ze=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?v:f?v[c]||ut(c,{}):(v[c]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(u=Ge(n,r))&&u.value:n[r],!We(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;ke(i,o)}(t.sham||o&&o.sham)&&Bt(i,"sham",!0),ye(n,r,i,t)}},Be=Array.isArray||function(t){return"Array"==M(t)},qe=function(t,e,n){var r=Pt(e);r in t?zt.f(t,r,E(0,n)):t[r]=n},Ue={};Ue[St("toStringTag")]="z";var Xe="[object z]"===String(Ue),Ke=St("toStringTag"),Qe=v.Object,Ye="Arguments"==M(function(){return arguments}()),$e=Xe?M: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=Qe(t),Ke))?n:Ye?M(e):"Object"==(r=M(e))&&N(e.callee)?"Arguments":r},Je=function(){},Ze=[],tn=z("Reflect","construct"),en=/^\s*(?:class|function)\b/,nn=A(en.exec),rn=!en.exec(Je),on=function(t){if(!N(t))return!1;try{return tn(Je,Ze,t),!0}catch(t){return!1}},un=function(t){if(!N(t))return!1;switch($e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return rn||!!nn(en,Zt(t))}catch(t){return!0}};un.sham=!0;var cn,an=!tn||g((function(){var t;return on(on.call)||!on(Object)||!on((function(){t=!0}))||t}))?un:on,fn=St("species"),ln=v.Array,sn=function(t,e){return new(function(t){var e;return Be(t)&&(e=t.constructor,(an(e)&&(e===ln||Be(e.prototype))||W(e)&&null===(e=e[fn]))&&(e=void 0)),void 0===e?ln:e}(t))(0===e?0:e)},pn=St("species"),hn=St("isConcatSpreadable"),dn=9007199254740991,yn="Maximum allowed index exceeded",vn=v.TypeError,gn=Y>=51||!g((function(){var t=[];return t[hn]=!1,t.concat()[0]!==t})),bn=(cn="concat",Y>=51||!g((function(){var t=[];return(t.constructor={})[pn]=function(){return{foo:1}},1!==t[cn](Boolean).foo}))),mn=function(t){if(!W(t))return!1;var e=t[hn];return void 0!==e?!!e:Be(t)};ze({target:"Array",proto:!0,arity:1,forced:!gn||!bn},{concat:function(t){var e,n,r,o,i,u=st(this),c=sn(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(mn(i=-1===e?u:arguments[e])){if(a+(o=Se(i))>dn)throw vn(yn);for(n=0;n<o;n++,a++)n in i&&qe(c,a,i[n])}else{if(a>=dn)throw vn(yn);qe(c,a++,i)}return c.length=a,c}});var wn,On=Object.keys||function(t){return Le(t,Ce)},Sn=b&&!Mt?Object.defineProperties:function(t,e){It(t);for(var n,r=D(e),o=On(e),i=o.length,u=0;i>u;)zt.f(t,n=o[u++],r[n]);return t},jn={f:Sn},Tn=z("document","documentElement"),En=re("IE_PROTO"),Pn=function(){},Ln=function(t){return"<script>"+t+"</"+"script>"},Cn=function(t){t.write(Ln("")),t.close();var e=t.parentWindow.Object;return t=null,e},xn=function(){try{wn=new ActiveXObject("htmlfile")}catch(t){}var t,e;xn="undefined"!=typeof document?document.domain&&wn?Cn(wn):((e=xt("iframe")).style.display="none",Tn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ln("document.F=Object")),t.close(),t.F):Cn(wn);for(var n=Ce.length;n--;)delete xn.prototype[Ce[n]];return xn()};oe[En]=!0;var An=Object.create||function(t,e){var n;return null!==t?(Pn.prototype=It(t),n=new Pn,Pn.prototype=null,n[En]=t):n=xn(),void 0===e?n:jn.f(n,e)},Rn=St("unscopables"),Vn=Array.prototype;null==Vn[Rn]&&zt.f(Vn,Rn,{configurable:!0,value:An(null)});var Mn,kn=Te.includes;ze({target:"Array",proto:!0,forced:g((function(){return!Array(1).includes()}))},{includes:function(t){return kn(this,t,arguments.length>1?arguments[1]:void 0)}}),Mn="includes",Vn[Rn][Mn]=!0;var Fn=Xe?{}.toString:function(){return"[object "+$e(this)+"]"};Xe||ye(Object.prototype,"toString",Fn,{unsafe:!0});var In={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},_n=xt("span").classList,Hn=_n&&_n.constructor&&_n.constructor.prototype,Dn=Hn===Object.prototype?void 0:Hn,Nn=A(A.bind),Wn=A([].push),Gn=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,l,s){for(var p,h,d=st(a),y=I(d),v=function(t,e){return rt(t),void 0===e?t:m?Nn(t,e):function(){return t.apply(e,arguments)}}(f,l),g=Se(y),b=0,w=s||sn,O=e?w(a,g):n||u?w(a,0):void 0;g>b;b++)if((c||b in y)&&(h=v(p=y[b],b,d),t))if(e)O[b]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:Wn(O,p)}else switch(t){case 4:return!1;case 7:Wn(O,p)}return i?-1:r||o?o:O}},zn={forEach:Gn(0),map:Gn(1),filter:Gn(2),some:Gn(3),every:Gn(4),find:Gn(5),findIndex:Gn(6),filterReject:Gn(7)}.forEach,Bn=function(t,e){var n=[][t];return!!n&&g((function(){n.call(null,e||function(){return 1},1)}))}("forEach"),qn=Bn?[].forEach:function(t){return zn(this,t,arguments.length>1?arguments[1]:void 0)},Un=function(t){if(t&&t.forEach!==qn)try{Bt(t,"forEach",qn)}catch(e){t.forEach=qn}};for(var Xn in In)In[Xn]&&Un(v[Xn]&&v[Xn].prototype);Un(Dn);var Kn=St("match"),Qn=v.TypeError,Yn=function(t){if(function(t){var e;return W(t)&&(void 0!==(e=t[Kn])?!!e:"RegExp"==M(t))}(t))throw Qn("The method doesn't accept regular expressions");return t},$n=v.String,Jn=function(t){if("Symbol"===$e(t))throw TypeError("Cannot convert a Symbol value to a string");return $n(t)},Zn=St("match"),tr=A("".indexOf);ze({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Zn]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~tr(Jn(H(this)),Jn(Yn(t)),arguments.length>1?arguments[1]:void 0)}});var er=function(t,e){var n=0;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u=function(){n=0,t.apply(void 0,o)};clearTimeout(n),n=setTimeout(u,e)}};n.default.extend(n.default.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),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)}(p,t);var e,c,f,s=a(p);function p(){return r(this,p),s.apply(this,arguments)}return e=p,c=[{key:"init",value:function(){for(var t,e=this,r=arguments.length,o=new Array(r),u=0;u<r;u++)o[u]=arguments[u];if((t=l(i(p.prototype),"init",this)).call.apply(t,[this].concat(o)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var c={width:n.default(window).width(),height:n.default(window).height()};if(n.default(window).on("resize orientationchange",er((function(){var t=n.default(window).width(),r=n.default(window).height(),o=n.default(document.activeElement);o.length&&["INPUT","SELECT","TEXTAREA"].includes(o.prop("nodeName"))||(Math.abs(c.height-r)>e.options.heightThreshold||c.width!==t)&&(e.changeView(t,r),c={width:t,height:r})}),200)),this.options.checkOnInit){var a=n.default(window).width(),f=n.default(window).height();this.changeView(a,f),c={width:a,height:f}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(t){this.options.cardView=t,this.toggleView()}},{key:"showHideColumns",value:function(t){var e=this;this.options.columnsHidden.length>0&&this.columns.forEach((function(n){e.options.columnsHidden.includes(n.field)&&n.visible!==t&&e._toggleColumn(e.fieldsColumnsIndex[n.field],t,!0)}))}},{key:"changeView",value:function(t,e){this.options.minHeight?t<=this.options.minWidth&&e<=this.options.minHeight?this.conditionCardView():t>this.options.minWidth&&e>this.options.minHeight&&this.conditionFullView():t<=this.options.minWidth?this.conditionCardView():t>this.options.minWidth&&this.conditionFullView(),this.resetView()}}],c&&o(e.prototype,c),f&&o(e,f),Object.defineProperty(e,"prototype",{writable:!1}),p}(n.default.BootstrapTable)}));