bootstrap-table-treegrid.js 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255
  1. (function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
  3. typeof define === 'function' && define.amd ? define(['jquery'], factory) :
  4. (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
  5. }(this, (function ($) { 'use strict';
  6. function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
  7. var $__default = /*#__PURE__*/_interopDefaultLegacy($);
  8. function _classCallCheck(instance, Constructor) {
  9. if (!(instance instanceof Constructor)) {
  10. throw new TypeError("Cannot call a class as a function");
  11. }
  12. }
  13. function _defineProperties(target, props) {
  14. for (var i = 0; i < props.length; i++) {
  15. var descriptor = props[i];
  16. descriptor.enumerable = descriptor.enumerable || false;
  17. descriptor.configurable = true;
  18. if ("value" in descriptor) descriptor.writable = true;
  19. Object.defineProperty(target, descriptor.key, descriptor);
  20. }
  21. }
  22. function _createClass(Constructor, protoProps, staticProps) {
  23. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  24. if (staticProps) _defineProperties(Constructor, staticProps);
  25. return Constructor;
  26. }
  27. function _inherits(subClass, superClass) {
  28. if (typeof superClass !== "function" && superClass !== null) {
  29. throw new TypeError("Super expression must either be null or a function");
  30. }
  31. subClass.prototype = Object.create(superClass && superClass.prototype, {
  32. constructor: {
  33. value: subClass,
  34. writable: true,
  35. configurable: true
  36. }
  37. });
  38. if (superClass) _setPrototypeOf(subClass, superClass);
  39. }
  40. function _getPrototypeOf(o) {
  41. _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
  42. return o.__proto__ || Object.getPrototypeOf(o);
  43. };
  44. return _getPrototypeOf(o);
  45. }
  46. function _setPrototypeOf(o, p) {
  47. _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  48. o.__proto__ = p;
  49. return o;
  50. };
  51. return _setPrototypeOf(o, p);
  52. }
  53. function _isNativeReflectConstruct() {
  54. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  55. if (Reflect.construct.sham) return false;
  56. if (typeof Proxy === "function") return true;
  57. try {
  58. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  59. return true;
  60. } catch (e) {
  61. return false;
  62. }
  63. }
  64. function _assertThisInitialized(self) {
  65. if (self === void 0) {
  66. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  67. }
  68. return self;
  69. }
  70. function _possibleConstructorReturn(self, call) {
  71. if (call && (typeof call === "object" || typeof call === "function")) {
  72. return call;
  73. }
  74. return _assertThisInitialized(self);
  75. }
  76. function _createSuper(Derived) {
  77. var hasNativeReflectConstruct = _isNativeReflectConstruct();
  78. return function _createSuperInternal() {
  79. var Super = _getPrototypeOf(Derived),
  80. result;
  81. if (hasNativeReflectConstruct) {
  82. var NewTarget = _getPrototypeOf(this).constructor;
  83. result = Reflect.construct(Super, arguments, NewTarget);
  84. } else {
  85. result = Super.apply(this, arguments);
  86. }
  87. return _possibleConstructorReturn(this, result);
  88. };
  89. }
  90. function _superPropBase(object, property) {
  91. while (!Object.prototype.hasOwnProperty.call(object, property)) {
  92. object = _getPrototypeOf(object);
  93. if (object === null) break;
  94. }
  95. return object;
  96. }
  97. function _get(target, property, receiver) {
  98. if (typeof Reflect !== "undefined" && Reflect.get) {
  99. _get = Reflect.get;
  100. } else {
  101. _get = function _get(target, property, receiver) {
  102. var base = _superPropBase(target, property);
  103. if (!base) return;
  104. var desc = Object.getOwnPropertyDescriptor(base, property);
  105. if (desc.get) {
  106. return desc.get.call(receiver);
  107. }
  108. return desc.value;
  109. };
  110. }
  111. return _get(target, property, receiver || target);
  112. }
  113. function _unsupportedIterableToArray(o, minLen) {
  114. if (!o) return;
  115. if (typeof o === "string") return _arrayLikeToArray(o, minLen);
  116. var n = Object.prototype.toString.call(o).slice(8, -1);
  117. if (n === "Object" && o.constructor) n = o.constructor.name;
  118. if (n === "Map" || n === "Set") return Array.from(o);
  119. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
  120. }
  121. function _arrayLikeToArray(arr, len) {
  122. if (len == null || len > arr.length) len = arr.length;
  123. for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
  124. return arr2;
  125. }
  126. function _createForOfIteratorHelper(o, allowArrayLike) {
  127. var it;
  128. if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
  129. if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
  130. if (it) o = it;
  131. var i = 0;
  132. var F = function () {};
  133. return {
  134. s: F,
  135. n: function () {
  136. if (i >= o.length) return {
  137. done: true
  138. };
  139. return {
  140. done: false,
  141. value: o[i++]
  142. };
  143. },
  144. e: function (e) {
  145. throw e;
  146. },
  147. f: F
  148. };
  149. }
  150. throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  151. }
  152. var normalCompletion = true,
  153. didErr = false,
  154. err;
  155. return {
  156. s: function () {
  157. it = o[Symbol.iterator]();
  158. },
  159. n: function () {
  160. var step = it.next();
  161. normalCompletion = step.done;
  162. return step;
  163. },
  164. e: function (e) {
  165. didErr = true;
  166. err = e;
  167. },
  168. f: function () {
  169. try {
  170. if (!normalCompletion && it.return != null) it.return();
  171. } finally {
  172. if (didErr) throw err;
  173. }
  174. }
  175. };
  176. }
  177. var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  178. function createCommonjsModule(fn, module) {
  179. return module = { exports: {} }, fn(module, module.exports), module.exports;
  180. }
  181. var check = function (it) {
  182. return it && it.Math == Math && it;
  183. };
  184. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  185. var global_1 =
  186. // eslint-disable-next-line es/no-global-this -- safe
  187. check(typeof globalThis == 'object' && globalThis) ||
  188. check(typeof window == 'object' && window) ||
  189. // eslint-disable-next-line no-restricted-globals -- safe
  190. check(typeof self == 'object' && self) ||
  191. check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
  192. // eslint-disable-next-line no-new-func -- fallback
  193. (function () { return this; })() || Function('return this')();
  194. var fails = function (exec) {
  195. try {
  196. return !!exec();
  197. } catch (error) {
  198. return true;
  199. }
  200. };
  201. // Detect IE8's incomplete defineProperty implementation
  202. var descriptors = !fails(function () {
  203. // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  204. return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
  205. });
  206. var $propertyIsEnumerable = {}.propertyIsEnumerable;
  207. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  208. var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
  209. // Nashorn ~ JDK8 bug
  210. var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
  211. // `Object.prototype.propertyIsEnumerable` method implementation
  212. // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
  213. var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
  214. var descriptor = getOwnPropertyDescriptor$1(this, V);
  215. return !!descriptor && descriptor.enumerable;
  216. } : $propertyIsEnumerable;
  217. var objectPropertyIsEnumerable = {
  218. f: f$4
  219. };
  220. var createPropertyDescriptor = function (bitmap, value) {
  221. return {
  222. enumerable: !(bitmap & 1),
  223. configurable: !(bitmap & 2),
  224. writable: !(bitmap & 4),
  225. value: value
  226. };
  227. };
  228. var toString = {}.toString;
  229. var classofRaw = function (it) {
  230. return toString.call(it).slice(8, -1);
  231. };
  232. var split = ''.split;
  233. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  234. var indexedObject = fails(function () {
  235. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  236. // eslint-disable-next-line no-prototype-builtins -- safe
  237. return !Object('z').propertyIsEnumerable(0);
  238. }) ? function (it) {
  239. return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
  240. } : Object;
  241. // `RequireObjectCoercible` abstract operation
  242. // https://tc39.es/ecma262/#sec-requireobjectcoercible
  243. var requireObjectCoercible = function (it) {
  244. if (it == undefined) throw TypeError("Can't call method on " + it);
  245. return it;
  246. };
  247. // toObject with fallback for non-array-like ES3 strings
  248. var toIndexedObject = function (it) {
  249. return indexedObject(requireObjectCoercible(it));
  250. };
  251. var isObject = function (it) {
  252. return typeof it === 'object' ? it !== null : typeof it === 'function';
  253. };
  254. // `ToPrimitive` abstract operation
  255. // https://tc39.es/ecma262/#sec-toprimitive
  256. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  257. // and the second argument - flag - preferred type is a string
  258. var toPrimitive = function (input, PREFERRED_STRING) {
  259. if (!isObject(input)) return input;
  260. var fn, val;
  261. if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  262. if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  263. if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  264. throw TypeError("Can't convert object to primitive value");
  265. };
  266. var hasOwnProperty = {}.hasOwnProperty;
  267. var has$1 = function (it, key) {
  268. return hasOwnProperty.call(it, key);
  269. };
  270. var document = global_1.document;
  271. // typeof document.createElement is 'object' in old IE
  272. var EXISTS = isObject(document) && isObject(document.createElement);
  273. var documentCreateElement = function (it) {
  274. return EXISTS ? document.createElement(it) : {};
  275. };
  276. // Thank's IE8 for his funny defineProperty
  277. var ie8DomDefine = !descriptors && !fails(function () {
  278. // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
  279. return Object.defineProperty(documentCreateElement('div'), 'a', {
  280. get: function () { return 7; }
  281. }).a != 7;
  282. });
  283. // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  284. var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  285. // `Object.getOwnPropertyDescriptor` method
  286. // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
  287. var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  288. O = toIndexedObject(O);
  289. P = toPrimitive(P, true);
  290. if (ie8DomDefine) try {
  291. return $getOwnPropertyDescriptor(O, P);
  292. } catch (error) { /* empty */ }
  293. if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
  294. };
  295. var objectGetOwnPropertyDescriptor = {
  296. f: f$3
  297. };
  298. var anObject = function (it) {
  299. if (!isObject(it)) {
  300. throw TypeError(String(it) + ' is not an object');
  301. } return it;
  302. };
  303. // eslint-disable-next-line es/no-object-defineproperty -- safe
  304. var $defineProperty = Object.defineProperty;
  305. // `Object.defineProperty` method
  306. // https://tc39.es/ecma262/#sec-object.defineproperty
  307. var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
  308. anObject(O);
  309. P = toPrimitive(P, true);
  310. anObject(Attributes);
  311. if (ie8DomDefine) try {
  312. return $defineProperty(O, P, Attributes);
  313. } catch (error) { /* empty */ }
  314. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  315. if ('value' in Attributes) O[P] = Attributes.value;
  316. return O;
  317. };
  318. var objectDefineProperty = {
  319. f: f$2
  320. };
  321. var createNonEnumerableProperty = descriptors ? function (object, key, value) {
  322. return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
  323. } : function (object, key, value) {
  324. object[key] = value;
  325. return object;
  326. };
  327. var setGlobal = function (key, value) {
  328. try {
  329. createNonEnumerableProperty(global_1, key, value);
  330. } catch (error) {
  331. global_1[key] = value;
  332. } return value;
  333. };
  334. var SHARED = '__core-js_shared__';
  335. var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
  336. var sharedStore = store$1;
  337. var functionToString = Function.toString;
  338. // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
  339. if (typeof sharedStore.inspectSource != 'function') {
  340. sharedStore.inspectSource = function (it) {
  341. return functionToString.call(it);
  342. };
  343. }
  344. var inspectSource = sharedStore.inspectSource;
  345. var WeakMap$1 = global_1.WeakMap;
  346. var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
  347. var shared = createCommonjsModule(function (module) {
  348. (module.exports = function (key, value) {
  349. return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
  350. })('versions', []).push({
  351. version: '3.10.1',
  352. mode: 'global',
  353. copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
  354. });
  355. });
  356. var id = 0;
  357. var postfix = Math.random();
  358. var uid = function (key) {
  359. return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
  360. };
  361. var keys = shared('keys');
  362. var sharedKey = function (key) {
  363. return keys[key] || (keys[key] = uid(key));
  364. };
  365. var hiddenKeys$1 = {};
  366. var WeakMap = global_1.WeakMap;
  367. var set, get, has;
  368. var enforce = function (it) {
  369. return has(it) ? get(it) : set(it, {});
  370. };
  371. var getterFor = function (TYPE) {
  372. return function (it) {
  373. var state;
  374. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  375. throw TypeError('Incompatible receiver, ' + TYPE + ' required');
  376. } return state;
  377. };
  378. };
  379. if (nativeWeakMap) {
  380. var store = sharedStore.state || (sharedStore.state = new WeakMap());
  381. var wmget = store.get;
  382. var wmhas = store.has;
  383. var wmset = store.set;
  384. set = function (it, metadata) {
  385. metadata.facade = it;
  386. wmset.call(store, it, metadata);
  387. return metadata;
  388. };
  389. get = function (it) {
  390. return wmget.call(store, it) || {};
  391. };
  392. has = function (it) {
  393. return wmhas.call(store, it);
  394. };
  395. } else {
  396. var STATE = sharedKey('state');
  397. hiddenKeys$1[STATE] = true;
  398. set = function (it, metadata) {
  399. metadata.facade = it;
  400. createNonEnumerableProperty(it, STATE, metadata);
  401. return metadata;
  402. };
  403. get = function (it) {
  404. return has$1(it, STATE) ? it[STATE] : {};
  405. };
  406. has = function (it) {
  407. return has$1(it, STATE);
  408. };
  409. }
  410. var internalState = {
  411. set: set,
  412. get: get,
  413. has: has,
  414. enforce: enforce,
  415. getterFor: getterFor
  416. };
  417. var redefine = createCommonjsModule(function (module) {
  418. var getInternalState = internalState.get;
  419. var enforceInternalState = internalState.enforce;
  420. var TEMPLATE = String(String).split('String');
  421. (module.exports = function (O, key, value, options) {
  422. var unsafe = options ? !!options.unsafe : false;
  423. var simple = options ? !!options.enumerable : false;
  424. var noTargetGet = options ? !!options.noTargetGet : false;
  425. var state;
  426. if (typeof value == 'function') {
  427. if (typeof key == 'string' && !has$1(value, 'name')) {
  428. createNonEnumerableProperty(value, 'name', key);
  429. }
  430. state = enforceInternalState(value);
  431. if (!state.source) {
  432. state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
  433. }
  434. }
  435. if (O === global_1) {
  436. if (simple) O[key] = value;
  437. else setGlobal(key, value);
  438. return;
  439. } else if (!unsafe) {
  440. delete O[key];
  441. } else if (!noTargetGet && O[key]) {
  442. simple = true;
  443. }
  444. if (simple) O[key] = value;
  445. else createNonEnumerableProperty(O, key, value);
  446. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  447. })(Function.prototype, 'toString', function toString() {
  448. return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
  449. });
  450. });
  451. var path = global_1;
  452. var aFunction$1 = function (variable) {
  453. return typeof variable == 'function' ? variable : undefined;
  454. };
  455. var getBuiltIn = function (namespace, method) {
  456. return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
  457. : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
  458. };
  459. var ceil = Math.ceil;
  460. var floor = Math.floor;
  461. // `ToInteger` abstract operation
  462. // https://tc39.es/ecma262/#sec-tointeger
  463. var toInteger = function (argument) {
  464. return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
  465. };
  466. var min$1 = Math.min;
  467. // `ToLength` abstract operation
  468. // https://tc39.es/ecma262/#sec-tolength
  469. var toLength = function (argument) {
  470. return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  471. };
  472. var max = Math.max;
  473. var min = Math.min;
  474. // Helper for a popular repeating case of the spec:
  475. // Let integer be ? ToInteger(index).
  476. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  477. var toAbsoluteIndex = function (index, length) {
  478. var integer = toInteger(index);
  479. return integer < 0 ? max(integer + length, 0) : min(integer, length);
  480. };
  481. // `Array.prototype.{ indexOf, includes }` methods implementation
  482. var createMethod$2 = function (IS_INCLUDES) {
  483. return function ($this, el, fromIndex) {
  484. var O = toIndexedObject($this);
  485. var length = toLength(O.length);
  486. var index = toAbsoluteIndex(fromIndex, length);
  487. var value;
  488. // Array#includes uses SameValueZero equality algorithm
  489. // eslint-disable-next-line no-self-compare -- NaN check
  490. if (IS_INCLUDES && el != el) while (length > index) {
  491. value = O[index++];
  492. // eslint-disable-next-line no-self-compare -- NaN check
  493. if (value != value) return true;
  494. // Array#indexOf ignores holes, Array#includes - not
  495. } else for (;length > index; index++) {
  496. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  497. } return !IS_INCLUDES && -1;
  498. };
  499. };
  500. var arrayIncludes = {
  501. // `Array.prototype.includes` method
  502. // https://tc39.es/ecma262/#sec-array.prototype.includes
  503. includes: createMethod$2(true),
  504. // `Array.prototype.indexOf` method
  505. // https://tc39.es/ecma262/#sec-array.prototype.indexof
  506. indexOf: createMethod$2(false)
  507. };
  508. var indexOf = arrayIncludes.indexOf;
  509. var objectKeysInternal = function (object, names) {
  510. var O = toIndexedObject(object);
  511. var i = 0;
  512. var result = [];
  513. var key;
  514. for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
  515. // Don't enum bug & hidden keys
  516. while (names.length > i) if (has$1(O, key = names[i++])) {
  517. ~indexOf(result, key) || result.push(key);
  518. }
  519. return result;
  520. };
  521. // IE8- don't enum bug keys
  522. var enumBugKeys = [
  523. 'constructor',
  524. 'hasOwnProperty',
  525. 'isPrototypeOf',
  526. 'propertyIsEnumerable',
  527. 'toLocaleString',
  528. 'toString',
  529. 'valueOf'
  530. ];
  531. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  532. // `Object.getOwnPropertyNames` method
  533. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  534. // eslint-disable-next-line es/no-object-getownpropertynames -- safe
  535. var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  536. return objectKeysInternal(O, hiddenKeys);
  537. };
  538. var objectGetOwnPropertyNames = {
  539. f: f$1
  540. };
  541. // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
  542. var f = Object.getOwnPropertySymbols;
  543. var objectGetOwnPropertySymbols = {
  544. f: f
  545. };
  546. // all object keys, includes non-enumerable and symbols
  547. var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  548. var keys = objectGetOwnPropertyNames.f(anObject(it));
  549. var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
  550. return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
  551. };
  552. var copyConstructorProperties = function (target, source) {
  553. var keys = ownKeys(source);
  554. var defineProperty = objectDefineProperty.f;
  555. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  556. for (var i = 0; i < keys.length; i++) {
  557. var key = keys[i];
  558. if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  559. }
  560. };
  561. var replacement = /#|\.prototype\./;
  562. var isForced = function (feature, detection) {
  563. var value = data[normalize(feature)];
  564. return value == POLYFILL ? true
  565. : value == NATIVE ? false
  566. : typeof detection == 'function' ? fails(detection)
  567. : !!detection;
  568. };
  569. var normalize = isForced.normalize = function (string) {
  570. return String(string).replace(replacement, '.').toLowerCase();
  571. };
  572. var data = isForced.data = {};
  573. var NATIVE = isForced.NATIVE = 'N';
  574. var POLYFILL = isForced.POLYFILL = 'P';
  575. var isForced_1 = isForced;
  576. var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
  577. /*
  578. options.target - name of the target object
  579. options.global - target is the global object
  580. options.stat - export as static methods of target
  581. options.proto - export as prototype methods of target
  582. options.real - real prototype method for the `pure` version
  583. options.forced - export even if the native feature is available
  584. options.bind - bind methods to the target, required for the `pure` version
  585. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  586. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  587. options.sham - add a flag to not completely full polyfills
  588. options.enumerable - export as enumerable property
  589. options.noTargetGet - prevent calling a getter on target
  590. */
  591. var _export = function (options, source) {
  592. var TARGET = options.target;
  593. var GLOBAL = options.global;
  594. var STATIC = options.stat;
  595. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  596. if (GLOBAL) {
  597. target = global_1;
  598. } else if (STATIC) {
  599. target = global_1[TARGET] || setGlobal(TARGET, {});
  600. } else {
  601. target = (global_1[TARGET] || {}).prototype;
  602. }
  603. if (target) for (key in source) {
  604. sourceProperty = source[key];
  605. if (options.noTargetGet) {
  606. descriptor = getOwnPropertyDescriptor(target, key);
  607. targetProperty = descriptor && descriptor.value;
  608. } else targetProperty = target[key];
  609. FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  610. // contained in target
  611. if (!FORCED && targetProperty !== undefined) {
  612. if (typeof sourceProperty === typeof targetProperty) continue;
  613. copyConstructorProperties(sourceProperty, targetProperty);
  614. }
  615. // add a flag to not completely full polyfills
  616. if (options.sham || (targetProperty && targetProperty.sham)) {
  617. createNonEnumerableProperty(sourceProperty, 'sham', true);
  618. }
  619. // extend global
  620. redefine(target, key, sourceProperty, options);
  621. }
  622. };
  623. // `IsArray` abstract operation
  624. // https://tc39.es/ecma262/#sec-isarray
  625. // eslint-disable-next-line es/no-array-isarray -- safe
  626. var isArray = Array.isArray || function isArray(arg) {
  627. return classofRaw(arg) == 'Array';
  628. };
  629. // `ToObject` abstract operation
  630. // https://tc39.es/ecma262/#sec-toobject
  631. var toObject = function (argument) {
  632. return Object(requireObjectCoercible(argument));
  633. };
  634. var createProperty = function (object, key, value) {
  635. var propertyKey = toPrimitive(key);
  636. if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
  637. else object[propertyKey] = value;
  638. };
  639. var engineIsNode = classofRaw(global_1.process) == 'process';
  640. var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
  641. var process = global_1.process;
  642. var versions = process && process.versions;
  643. var v8 = versions && versions.v8;
  644. var match, version;
  645. if (v8) {
  646. match = v8.split('.');
  647. version = match[0] + match[1];
  648. } else if (engineUserAgent) {
  649. match = engineUserAgent.match(/Edge\/(\d+)/);
  650. if (!match || match[1] >= 74) {
  651. match = engineUserAgent.match(/Chrome\/(\d+)/);
  652. if (match) version = match[1];
  653. }
  654. }
  655. var engineV8Version = version && +version;
  656. // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
  657. var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
  658. // eslint-disable-next-line es/no-symbol -- required for testing
  659. return !Symbol.sham &&
  660. // Chrome 38 Symbol has incorrect toString conversion
  661. // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
  662. (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
  663. });
  664. /* eslint-disable es/no-symbol -- required for testing */
  665. var useSymbolAsUid = nativeSymbol
  666. && !Symbol.sham
  667. && typeof Symbol.iterator == 'symbol';
  668. var WellKnownSymbolsStore = shared('wks');
  669. var Symbol$1 = global_1.Symbol;
  670. var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
  671. var wellKnownSymbol = function (name) {
  672. if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
  673. if (nativeSymbol && has$1(Symbol$1, name)) {
  674. WellKnownSymbolsStore[name] = Symbol$1[name];
  675. } else {
  676. WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  677. }
  678. } return WellKnownSymbolsStore[name];
  679. };
  680. var SPECIES$1 = wellKnownSymbol('species');
  681. // `ArraySpeciesCreate` abstract operation
  682. // https://tc39.es/ecma262/#sec-arrayspeciescreate
  683. var arraySpeciesCreate = function (originalArray, length) {
  684. var C;
  685. if (isArray(originalArray)) {
  686. C = originalArray.constructor;
  687. // cross-realm fallback
  688. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  689. else if (isObject(C)) {
  690. C = C[SPECIES$1];
  691. if (C === null) C = undefined;
  692. }
  693. } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
  694. };
  695. var SPECIES = wellKnownSymbol('species');
  696. var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
  697. // We can't use this feature detection in V8 since it causes
  698. // deoptimization and serious performance degradation
  699. // https://github.com/zloirock/core-js/issues/677
  700. return engineV8Version >= 51 || !fails(function () {
  701. var array = [];
  702. var constructor = array.constructor = {};
  703. constructor[SPECIES] = function () {
  704. return { foo: 1 };
  705. };
  706. return array[METHOD_NAME](Boolean).foo !== 1;
  707. });
  708. };
  709. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  710. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  711. var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
  712. // We can't use this feature detection in V8 since it causes
  713. // deoptimization and serious performance degradation
  714. // https://github.com/zloirock/core-js/issues/679
  715. var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
  716. var array = [];
  717. array[IS_CONCAT_SPREADABLE] = false;
  718. return array.concat()[0] !== array;
  719. });
  720. var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
  721. var isConcatSpreadable = function (O) {
  722. if (!isObject(O)) return false;
  723. var spreadable = O[IS_CONCAT_SPREADABLE];
  724. return spreadable !== undefined ? !!spreadable : isArray(O);
  725. };
  726. var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
  727. // `Array.prototype.concat` method
  728. // https://tc39.es/ecma262/#sec-array.prototype.concat
  729. // with adding support of @@isConcatSpreadable and @@species
  730. _export({ target: 'Array', proto: true, forced: FORCED$1 }, {
  731. // eslint-disable-next-line no-unused-vars -- required for `.length`
  732. concat: function concat(arg) {
  733. var O = toObject(this);
  734. var A = arraySpeciesCreate(O, 0);
  735. var n = 0;
  736. var i, k, length, len, E;
  737. for (i = -1, length = arguments.length; i < length; i++) {
  738. E = i === -1 ? O : arguments[i];
  739. if (isConcatSpreadable(E)) {
  740. len = toLength(E.length);
  741. if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  742. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  743. } else {
  744. if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  745. createProperty(A, n++, E);
  746. }
  747. }
  748. A.length = n;
  749. return A;
  750. }
  751. });
  752. var aFunction = function (it) {
  753. if (typeof it != 'function') {
  754. throw TypeError(String(it) + ' is not a function');
  755. } return it;
  756. };
  757. // optional / simple context binding
  758. var functionBindContext = function (fn, that, length) {
  759. aFunction(fn);
  760. if (that === undefined) return fn;
  761. switch (length) {
  762. case 0: return function () {
  763. return fn.call(that);
  764. };
  765. case 1: return function (a) {
  766. return fn.call(that, a);
  767. };
  768. case 2: return function (a, b) {
  769. return fn.call(that, a, b);
  770. };
  771. case 3: return function (a, b, c) {
  772. return fn.call(that, a, b, c);
  773. };
  774. }
  775. return function (/* ...args */) {
  776. return fn.apply(that, arguments);
  777. };
  778. };
  779. var push = [].push;
  780. // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
  781. var createMethod$1 = function (TYPE) {
  782. var IS_MAP = TYPE == 1;
  783. var IS_FILTER = TYPE == 2;
  784. var IS_SOME = TYPE == 3;
  785. var IS_EVERY = TYPE == 4;
  786. var IS_FIND_INDEX = TYPE == 6;
  787. var IS_FILTER_OUT = TYPE == 7;
  788. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  789. return function ($this, callbackfn, that, specificCreate) {
  790. var O = toObject($this);
  791. var self = indexedObject(O);
  792. var boundFunction = functionBindContext(callbackfn, that, 3);
  793. var length = toLength(self.length);
  794. var index = 0;
  795. var create = specificCreate || arraySpeciesCreate;
  796. var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
  797. var value, result;
  798. for (;length > index; index++) if (NO_HOLES || index in self) {
  799. value = self[index];
  800. result = boundFunction(value, index, O);
  801. if (TYPE) {
  802. if (IS_MAP) target[index] = result; // map
  803. else if (result) switch (TYPE) {
  804. case 3: return true; // some
  805. case 5: return value; // find
  806. case 6: return index; // findIndex
  807. case 2: push.call(target, value); // filter
  808. } else switch (TYPE) {
  809. case 4: return false; // every
  810. case 7: push.call(target, value); // filterOut
  811. }
  812. }
  813. }
  814. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  815. };
  816. };
  817. var arrayIteration = {
  818. // `Array.prototype.forEach` method
  819. // https://tc39.es/ecma262/#sec-array.prototype.foreach
  820. forEach: createMethod$1(0),
  821. // `Array.prototype.map` method
  822. // https://tc39.es/ecma262/#sec-array.prototype.map
  823. map: createMethod$1(1),
  824. // `Array.prototype.filter` method
  825. // https://tc39.es/ecma262/#sec-array.prototype.filter
  826. filter: createMethod$1(2),
  827. // `Array.prototype.some` method
  828. // https://tc39.es/ecma262/#sec-array.prototype.some
  829. some: createMethod$1(3),
  830. // `Array.prototype.every` method
  831. // https://tc39.es/ecma262/#sec-array.prototype.every
  832. every: createMethod$1(4),
  833. // `Array.prototype.find` method
  834. // https://tc39.es/ecma262/#sec-array.prototype.find
  835. find: createMethod$1(5),
  836. // `Array.prototype.findIndex` method
  837. // https://tc39.es/ecma262/#sec-array.prototype.findIndex
  838. findIndex: createMethod$1(6),
  839. // `Array.prototype.filterOut` method
  840. // https://github.com/tc39/proposal-array-filtering
  841. filterOut: createMethod$1(7)
  842. };
  843. var $filter = arrayIteration.filter;
  844. var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
  845. // `Array.prototype.filter` method
  846. // https://tc39.es/ecma262/#sec-array.prototype.filter
  847. // with adding support of @@species
  848. _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  849. filter: function filter(callbackfn /* , thisArg */) {
  850. return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  851. }
  852. });
  853. var arrayMethodIsStrict = function (METHOD_NAME, argument) {
  854. var method = [][METHOD_NAME];
  855. return !!method && fails(function () {
  856. // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
  857. method.call(null, argument || function () { throw 1; }, 1);
  858. });
  859. };
  860. var nativeJoin = [].join;
  861. var ES3_STRINGS = indexedObject != Object;
  862. var STRICT_METHOD = arrayMethodIsStrict('join', ',');
  863. // `Array.prototype.join` method
  864. // https://tc39.es/ecma262/#sec-array.prototype.join
  865. _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
  866. join: function join(separator) {
  867. return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
  868. }
  869. });
  870. // a string of all valid unicode whitespaces
  871. var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
  872. '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
  873. var whitespace = '[' + whitespaces + ']';
  874. var ltrim = RegExp('^' + whitespace + whitespace + '*');
  875. var rtrim = RegExp(whitespace + whitespace + '*$');
  876. // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
  877. var createMethod = function (TYPE) {
  878. return function ($this) {
  879. var string = String(requireObjectCoercible($this));
  880. if (TYPE & 1) string = string.replace(ltrim, '');
  881. if (TYPE & 2) string = string.replace(rtrim, '');
  882. return string;
  883. };
  884. };
  885. var stringTrim = {
  886. // `String.prototype.{ trimLeft, trimStart }` methods
  887. // https://tc39.es/ecma262/#sec-string.prototype.trimstart
  888. start: createMethod(1),
  889. // `String.prototype.{ trimRight, trimEnd }` methods
  890. // https://tc39.es/ecma262/#sec-string.prototype.trimend
  891. end: createMethod(2),
  892. // `String.prototype.trim` method
  893. // https://tc39.es/ecma262/#sec-string.prototype.trim
  894. trim: createMethod(3)
  895. };
  896. var trim = stringTrim.trim;
  897. var $parseInt = global_1.parseInt;
  898. var hex = /^[+-]?0[Xx]/;
  899. var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
  900. // `parseInt` method
  901. // https://tc39.es/ecma262/#sec-parseint-string-radix
  902. var numberParseInt = FORCED ? function parseInt(string, radix) {
  903. var S = trim(String(string));
  904. return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
  905. } : $parseInt;
  906. // `parseInt` method
  907. // https://tc39.es/ecma262/#sec-parseint-string-radix
  908. _export({ global: true, forced: parseInt != numberParseInt }, {
  909. parseInt: numberParseInt
  910. });
  911. /**
  912. * @author: YL
  913. * @update: zhixin wen <wenzhixin2010@gmail.com>
  914. */
  915. $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
  916. treeEnable: false,
  917. treeShowField: null,
  918. idField: 'id',
  919. parentIdField: 'pid',
  920. rootParentId: null
  921. });
  922. $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
  923. _inherits(_class, _$$BootstrapTable);
  924. var _super = _createSuper(_class);
  925. function _class() {
  926. _classCallCheck(this, _class);
  927. return _super.apply(this, arguments);
  928. }
  929. _createClass(_class, [{
  930. key: "init",
  931. value: function init() {
  932. var _get2;
  933. this._rowStyle = this.options.rowStyle;
  934. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  935. args[_key] = arguments[_key];
  936. }
  937. (_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));
  938. }
  939. }, {
  940. key: "initHeader",
  941. value: function initHeader() {
  942. var _get3;
  943. for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  944. args[_key2] = arguments[_key2];
  945. }
  946. (_get3 = _get(_getPrototypeOf(_class.prototype), "initHeader", this)).call.apply(_get3, [this].concat(args));
  947. var treeShowField = this.options.treeShowField;
  948. if (treeShowField) {
  949. var _iterator = _createForOfIteratorHelper(this.header.fields),
  950. _step;
  951. try {
  952. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  953. var field = _step.value;
  954. if (treeShowField === field) {
  955. this.treeEnable = true;
  956. break;
  957. }
  958. }
  959. } catch (err) {
  960. _iterator.e(err);
  961. } finally {
  962. _iterator.f();
  963. }
  964. }
  965. }
  966. }, {
  967. key: "initBody",
  968. value: function initBody() {
  969. var _get4;
  970. if (this.treeEnable) {
  971. this.options.virtualScroll = false;
  972. }
  973. for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  974. args[_key3] = arguments[_key3];
  975. }
  976. (_get4 = _get(_getPrototypeOf(_class.prototype), "initBody", this)).call.apply(_get4, [this].concat(args));
  977. }
  978. }, {
  979. key: "initTr",
  980. value: function initTr(item, idx, data, parentDom) {
  981. var _this = this;
  982. var nodes = data.filter(function (it) {
  983. return item[_this.options.idField] === it[_this.options.parentIdField];
  984. });
  985. parentDom.append(_get(_getPrototypeOf(_class.prototype), "initRow", this).call(this, item, idx, data, parentDom)); // init sub node
  986. var len = nodes.length - 1;
  987. for (var i = 0; i <= len; i++) {
  988. var node = nodes[i];
  989. var defaultItem = $__default['default'].extend(true, {}, item);
  990. node._level = defaultItem._level + 1;
  991. node._parent = defaultItem;
  992. if (i === len) {
  993. node._last = 1;
  994. } // jquery.treegrid.js
  995. this.options.rowStyle = function (item, idx) {
  996. var res = _this._rowStyle(item, idx);
  997. var id = item[_this.options.idField] ? item[_this.options.idField] : 0;
  998. var pid = item[_this.options.parentIdField] ? item[_this.options.parentIdField] : 0;
  999. res.classes = [res.classes || '', "treegrid-".concat(id), "treegrid-parent-".concat(pid)].join(' ');
  1000. return res;
  1001. };
  1002. this.initTr(node, $__default['default'].inArray(node, data), data, parentDom);
  1003. }
  1004. }
  1005. }, {
  1006. key: "initRow",
  1007. value: function initRow(item, idx, data, parentDom) {
  1008. var _this2 = this;
  1009. if (this.treeEnable) {
  1010. var parentId = parseInt(item[this.options.parentIdField], 10);
  1011. if (this.options.rootParentId === parentId || !parentId) {
  1012. if (item._level === undefined) {
  1013. item._level = 0;
  1014. } // jquery.treegrid.js
  1015. this.options.rowStyle = function (item, idx) {
  1016. var res = _this2._rowStyle(item, idx);
  1017. var x = item[_this2.options.idField] ? item[_this2.options.idField] : 0;
  1018. res.classes = [res.classes || '', "treegrid-".concat(x)].join(' ');
  1019. return res;
  1020. };
  1021. this.initTr(item, idx, data, parentDom);
  1022. return true;
  1023. }
  1024. return false;
  1025. }
  1026. return _get(_getPrototypeOf(_class.prototype), "initRow", this).call(this, item, idx, data, parentDom);
  1027. }
  1028. }, {
  1029. key: "destroy",
  1030. value: function destroy() {
  1031. var _get5;
  1032. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1033. args[_key4] = arguments[_key4];
  1034. }
  1035. (_get5 = _get(_getPrototypeOf(_class.prototype), "destroy", this)).call.apply(_get5, [this].concat(args));
  1036. this.options.rowStyle = this._rowStyle;
  1037. }
  1038. }]);
  1039. return _class;
  1040. }($__default['default'].BootstrapTable);
  1041. })));