bootstrap-table-rails 1.18.1 → 1.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +30 -132
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/.DS_Store +0 -0
- data/vendor/assets/.DS_Store +0 -0
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +196 -147
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +179 -990
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +180 -991
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +9 -1
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +731 -1114
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +122 -35
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +115 -39
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +458 -911
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +124 -48
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +122 -43
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +66 -24
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +433 -977
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +460 -951
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +275 -140
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +176 -86
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +128 -48
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +164 -75
- data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +45 -11
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +136 -36
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +227 -141
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +148 -94
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +111 -35
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +93 -49
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +396 -999
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +144 -56
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +104 -33
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +283 -87
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +116 -40
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +456 -1034
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +278 -990
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +69 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +53 -43
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +30 -20
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +114 -35
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +109 -30
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +113 -34
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +110 -31
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +8 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +107 -28
- metadata +6 -1
data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
|
3
3
|
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
4
|
-
(global = global || self, factory(global.jQuery));
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
|
5
5
|
}(this, (function ($) { 'use strict';
|
6
6
|
|
7
|
-
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
8
|
+
|
9
|
+
var $__default = /*#__PURE__*/_interopDefaultLegacy($);
|
8
10
|
|
9
11
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
10
12
|
|
@@ -24,7 +26,7 @@
|
|
24
26
|
check(typeof self == 'object' && self) ||
|
25
27
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
26
28
|
// eslint-disable-next-line no-new-func
|
27
|
-
Function('return this')();
|
29
|
+
(function () { return this; })() || Function('return this')();
|
28
30
|
|
29
31
|
var fails = function (exec) {
|
30
32
|
try {
|
@@ -36,7 +38,7 @@
|
|
36
38
|
|
37
39
|
// Thank's IE8 for his funny defineProperty
|
38
40
|
var descriptors = !fails(function () {
|
39
|
-
return Object.defineProperty({},
|
41
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
40
42
|
});
|
41
43
|
|
42
44
|
var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
|
@@ -217,9 +219,9 @@
|
|
217
219
|
(module.exports = function (key, value) {
|
218
220
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
219
221
|
})('versions', []).push({
|
220
|
-
version: '3.
|
222
|
+
version: '3.8.1',
|
221
223
|
mode: 'global',
|
222
|
-
copyright: '©
|
224
|
+
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
223
225
|
});
|
224
226
|
});
|
225
227
|
|
@@ -255,11 +257,12 @@
|
|
255
257
|
};
|
256
258
|
|
257
259
|
if (nativeWeakMap) {
|
258
|
-
var store$1 = new WeakMap$1();
|
260
|
+
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
|
259
261
|
var wmget = store$1.get;
|
260
262
|
var wmhas = store$1.has;
|
261
263
|
var wmset = store$1.set;
|
262
264
|
set = function (it, metadata) {
|
265
|
+
metadata.facade = it;
|
263
266
|
wmset.call(store$1, it, metadata);
|
264
267
|
return metadata;
|
265
268
|
};
|
@@ -273,6 +276,7 @@
|
|
273
276
|
var STATE = sharedKey('state');
|
274
277
|
hiddenKeys[STATE] = true;
|
275
278
|
set = function (it, metadata) {
|
279
|
+
metadata.facade = it;
|
276
280
|
createNonEnumerableProperty(it, STATE, metadata);
|
277
281
|
return metadata;
|
278
282
|
};
|
@@ -301,9 +305,15 @@
|
|
301
305
|
var unsafe = options ? !!options.unsafe : false;
|
302
306
|
var simple = options ? !!options.enumerable : false;
|
303
307
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
308
|
+
var state;
|
304
309
|
if (typeof value == 'function') {
|
305
|
-
if (typeof key == 'string' && !has(value, 'name'))
|
306
|
-
|
310
|
+
if (typeof key == 'string' && !has(value, 'name')) {
|
311
|
+
createNonEnumerableProperty(value, 'name', key);
|
312
|
+
}
|
313
|
+
state = enforceInternalState(value);
|
314
|
+
if (!state.source) {
|
315
|
+
state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
|
316
|
+
}
|
307
317
|
}
|
308
318
|
if (O === global_1) {
|
309
319
|
if (simple) O[key] = value;
|
@@ -533,7 +543,7 @@
|
|
533
543
|
};
|
534
544
|
|
535
545
|
// optional / simple context binding
|
536
|
-
var
|
546
|
+
var functionBindContext = function (fn, that, length) {
|
537
547
|
aFunction$1(fn);
|
538
548
|
if (that === undefined) return fn;
|
539
549
|
switch (length) {
|
@@ -577,11 +587,11 @@
|
|
577
587
|
// eslint-disable-next-line no-undef
|
578
588
|
&& !Symbol.sham
|
579
589
|
// eslint-disable-next-line no-undef
|
580
|
-
&& typeof Symbol
|
590
|
+
&& typeof Symbol.iterator == 'symbol';
|
581
591
|
|
582
592
|
var WellKnownSymbolsStore = shared('wks');
|
583
593
|
var Symbol$1 = global_1.Symbol;
|
584
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
|
594
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
585
595
|
|
586
596
|
var wellKnownSymbol = function (name) {
|
587
597
|
if (!has(WellKnownSymbolsStore, name)) {
|
@@ -609,22 +619,23 @@
|
|
609
619
|
|
610
620
|
var push = [].push;
|
611
621
|
|
612
|
-
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
|
622
|
+
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
|
613
623
|
var createMethod$1 = function (TYPE) {
|
614
624
|
var IS_MAP = TYPE == 1;
|
615
625
|
var IS_FILTER = TYPE == 2;
|
616
626
|
var IS_SOME = TYPE == 3;
|
617
627
|
var IS_EVERY = TYPE == 4;
|
618
628
|
var IS_FIND_INDEX = TYPE == 6;
|
629
|
+
var IS_FILTER_OUT = TYPE == 7;
|
619
630
|
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
620
631
|
return function ($this, callbackfn, that, specificCreate) {
|
621
632
|
var O = toObject($this);
|
622
633
|
var self = indexedObject(O);
|
623
|
-
var boundFunction =
|
634
|
+
var boundFunction = functionBindContext(callbackfn, that, 3);
|
624
635
|
var length = toLength(self.length);
|
625
636
|
var index = 0;
|
626
637
|
var create = specificCreate || arraySpeciesCreate;
|
627
|
-
var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
|
638
|
+
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
|
628
639
|
var value, result;
|
629
640
|
for (;length > index; index++) if (NO_HOLES || index in self) {
|
630
641
|
value = self[index];
|
@@ -636,7 +647,10 @@
|
|
636
647
|
case 5: return value; // find
|
637
648
|
case 6: return index; // findIndex
|
638
649
|
case 2: push.call(target, value); // filter
|
639
|
-
} else
|
650
|
+
} else switch (TYPE) {
|
651
|
+
case 4: return false; // every
|
652
|
+
case 7: push.call(target, value); // filterOut
|
653
|
+
}
|
640
654
|
}
|
641
655
|
}
|
642
656
|
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
@@ -664,7 +678,10 @@
|
|
664
678
|
find: createMethod$1(5),
|
665
679
|
// `Array.prototype.findIndex` method
|
666
680
|
// https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
|
667
|
-
findIndex: createMethod$1(6)
|
681
|
+
findIndex: createMethod$1(6),
|
682
|
+
// `Array.prototype.filterOut` method
|
683
|
+
// https://github.com/tc39/proposal-array-filtering
|
684
|
+
filterOut: createMethod$1(7)
|
668
685
|
};
|
669
686
|
|
670
687
|
// `Object.keys` method
|
@@ -775,18 +792,45 @@
|
|
775
792
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
776
793
|
};
|
777
794
|
|
795
|
+
var defineProperty = Object.defineProperty;
|
796
|
+
var cache = {};
|
797
|
+
|
798
|
+
var thrower = function (it) { throw it; };
|
799
|
+
|
800
|
+
var arrayMethodUsesToLength = function (METHOD_NAME, options) {
|
801
|
+
if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
|
802
|
+
if (!options) options = {};
|
803
|
+
var method = [][METHOD_NAME];
|
804
|
+
var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
|
805
|
+
var argument0 = has(options, 0) ? options[0] : thrower;
|
806
|
+
var argument1 = has(options, 1) ? options[1] : undefined;
|
807
|
+
|
808
|
+
return cache[METHOD_NAME] = !!method && !fails(function () {
|
809
|
+
if (ACCESSORS && !descriptors) return true;
|
810
|
+
var O = { length: -1 };
|
811
|
+
|
812
|
+
if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
|
813
|
+
else O[1] = 1;
|
814
|
+
|
815
|
+
method.call(O, argument0, argument1);
|
816
|
+
});
|
817
|
+
};
|
818
|
+
|
778
819
|
var $find = arrayIteration.find;
|
779
820
|
|
780
821
|
|
822
|
+
|
781
823
|
var FIND = 'find';
|
782
824
|
var SKIPS_HOLES = true;
|
783
825
|
|
826
|
+
var USES_TO_LENGTH = arrayMethodUsesToLength(FIND);
|
827
|
+
|
784
828
|
// Shouldn't skip holes
|
785
829
|
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
786
830
|
|
787
831
|
// `Array.prototype.find` method
|
788
832
|
// https://tc39.github.io/ecma262/#sec-array.prototype.find
|
789
|
-
_export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
833
|
+
_export({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
|
790
834
|
find: function find(callbackfn /* , that = undefined */) {
|
791
835
|
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
792
836
|
}
|
@@ -798,9 +842,12 @@
|
|
798
842
|
var $includes = arrayIncludes.includes;
|
799
843
|
|
800
844
|
|
845
|
+
|
846
|
+
var USES_TO_LENGTH$1 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
|
847
|
+
|
801
848
|
// `Array.prototype.includes` method
|
802
849
|
// https://tc39.github.io/ecma262/#sec-array.prototype.includes
|
803
|
-
_export({ target: 'Array', proto: true }, {
|
850
|
+
_export({ target: 'Array', proto: true, forced: !USES_TO_LENGTH$1 }, {
|
804
851
|
includes: function includes(el /* , fromIndex = 0 */) {
|
805
852
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
806
853
|
}
|
@@ -830,11 +877,11 @@
|
|
830
877
|
var regexp = /./;
|
831
878
|
try {
|
832
879
|
'/./'[METHOD_NAME](regexp);
|
833
|
-
} catch (
|
880
|
+
} catch (error1) {
|
834
881
|
try {
|
835
882
|
regexp[MATCH$1] = false;
|
836
883
|
return '/./'[METHOD_NAME](regexp);
|
837
|
-
} catch (
|
884
|
+
} catch (error2) { /* empty */ }
|
838
885
|
} return false;
|
839
886
|
};
|
840
887
|
|
@@ -900,6 +947,19 @@
|
|
900
947
|
return _setPrototypeOf(o, p);
|
901
948
|
}
|
902
949
|
|
950
|
+
function _isNativeReflectConstruct() {
|
951
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
952
|
+
if (Reflect.construct.sham) return false;
|
953
|
+
if (typeof Proxy === "function") return true;
|
954
|
+
|
955
|
+
try {
|
956
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
957
|
+
return true;
|
958
|
+
} catch (e) {
|
959
|
+
return false;
|
960
|
+
}
|
961
|
+
}
|
962
|
+
|
903
963
|
function _assertThisInitialized(self) {
|
904
964
|
if (self === void 0) {
|
905
965
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
@@ -916,6 +976,25 @@
|
|
916
976
|
return _assertThisInitialized(self);
|
917
977
|
}
|
918
978
|
|
979
|
+
function _createSuper(Derived) {
|
980
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
981
|
+
|
982
|
+
return function _createSuperInternal() {
|
983
|
+
var Super = _getPrototypeOf(Derived),
|
984
|
+
result;
|
985
|
+
|
986
|
+
if (hasNativeReflectConstruct) {
|
987
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
988
|
+
|
989
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
990
|
+
} else {
|
991
|
+
result = Super.apply(this, arguments);
|
992
|
+
}
|
993
|
+
|
994
|
+
return _possibleConstructorReturn(this, result);
|
995
|
+
};
|
996
|
+
}
|
997
|
+
|
919
998
|
function _superPropBase(object, property) {
|
920
999
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
921
1000
|
object = _getPrototypeOf(object);
|
@@ -952,22 +1031,22 @@
|
|
952
1031
|
* theme: https://github.com/zurb/foundation-sites
|
953
1032
|
*/
|
954
1033
|
|
955
|
-
|
1034
|
+
$__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
|
956
1035
|
classes: 'table hover',
|
957
1036
|
buttonsPrefix: '',
|
958
1037
|
buttonsClass: 'button'
|
959
1038
|
});
|
960
|
-
|
1039
|
+
$__default['default'].fn.bootstrapTable.theme = 'foundation';
|
961
1040
|
|
962
|
-
|
963
|
-
/*#__PURE__*/
|
964
|
-
function (_$$BootstrapTable) {
|
1041
|
+
$__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
|
965
1042
|
_inherits(_class, _$$BootstrapTable);
|
966
1043
|
|
1044
|
+
var _super = _createSuper(_class);
|
1045
|
+
|
967
1046
|
function _class() {
|
968
1047
|
_classCallCheck(this, _class);
|
969
1048
|
|
970
|
-
return
|
1049
|
+
return _super.apply(this, arguments);
|
971
1050
|
}
|
972
1051
|
|
973
1052
|
_createClass(_class, [{
|
@@ -1004,14 +1083,14 @@
|
|
1004
1083
|
value: function handleToolbar() {
|
1005
1084
|
if (this.$toolbar.find('.dropdown-toggle').length) {
|
1006
1085
|
this.$toolbar.find('.dropdown-toggle').each(function (i, el) {
|
1007
|
-
if (!$(el).next().length) {
|
1086
|
+
if (!$__default['default'](el).next().length) {
|
1008
1087
|
return;
|
1009
1088
|
}
|
1010
1089
|
|
1011
1090
|
var id = "toolbar-columns-id".concat(i);
|
1012
|
-
$(el).next().attr('id', id);
|
1013
|
-
$(el).attr('data-toggle', id);
|
1014
|
-
var $pane = $(el).next().attr('data-position', 'bottom').attr('data-alignment', 'right');
|
1091
|
+
$__default['default'](el).next().attr('id', id);
|
1092
|
+
$__default['default'](el).attr('data-toggle', id);
|
1093
|
+
var $pane = $__default['default'](el).next().attr('data-position', 'bottom').attr('data-alignment', 'right');
|
1015
1094
|
new window.Foundation.Dropdown($pane);
|
1016
1095
|
});
|
1017
1096
|
|
@@ -1037,7 +1116,7 @@
|
|
1037
1116
|
value: function _initDropdown() {
|
1038
1117
|
var $dropdowns = this.$container.find('.dropdown-toggle');
|
1039
1118
|
$dropdowns.off('click').on('click', function (e) {
|
1040
|
-
var $this = $(e.currentTarget);
|
1119
|
+
var $this = $__default['default'](e.currentTarget);
|
1041
1120
|
e.stopPropagation();
|
1042
1121
|
$this.next().foundation('toggle');
|
1043
1122
|
|
@@ -1045,13 +1124,13 @@
|
|
1045
1124
|
$dropdowns.not($this).next().foundation('close');
|
1046
1125
|
}
|
1047
1126
|
});
|
1048
|
-
$(document).off('click.bs.dropdown.foundation').on('click.bs.dropdown.foundation', function () {
|
1127
|
+
$__default['default'](document).off('click.bs.dropdown.foundation').on('click.bs.dropdown.foundation', function () {
|
1049
1128
|
$dropdowns.next().foundation('close');
|
1050
1129
|
});
|
1051
1130
|
}
|
1052
1131
|
}]);
|
1053
1132
|
|
1054
1133
|
return _class;
|
1055
|
-
}(
|
1134
|
+
}($__default['default'].BootstrapTable);
|
1056
1135
|
|
1057
1136
|
})));
|
data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css
CHANGED
@@ -334,6 +334,14 @@
|
|
334
334
|
padding: .5rem 1rem;
|
335
335
|
}
|
336
336
|
|
337
|
+
.bootstrap-table.bootstrap5 .float-left {
|
338
|
+
float: left;
|
339
|
+
}
|
340
|
+
|
341
|
+
.bootstrap-table.bootstrap5 .float-right {
|
342
|
+
float: right;
|
343
|
+
}
|
344
|
+
|
337
345
|
/* calculate scrollbar width */
|
338
346
|
div.fixed-table-scroll-inner {
|
339
347
|
width: 100%;
|
data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
|
3
3
|
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
4
|
-
(global = global || self, factory(global.jQuery));
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
|
5
5
|
}(this, (function ($) { 'use strict';
|
6
6
|
|
7
|
-
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
8
|
+
|
9
|
+
var $__default = /*#__PURE__*/_interopDefaultLegacy($);
|
8
10
|
|
9
11
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
10
12
|
|
@@ -24,7 +26,7 @@
|
|
24
26
|
check(typeof self == 'object' && self) ||
|
25
27
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
26
28
|
// eslint-disable-next-line no-new-func
|
27
|
-
Function('return this')();
|
29
|
+
(function () { return this; })() || Function('return this')();
|
28
30
|
|
29
31
|
var fails = function (exec) {
|
30
32
|
try {
|
@@ -36,7 +38,7 @@
|
|
36
38
|
|
37
39
|
// Thank's IE8 for his funny defineProperty
|
38
40
|
var descriptors = !fails(function () {
|
39
|
-
return Object.defineProperty({},
|
41
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
40
42
|
});
|
41
43
|
|
42
44
|
var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
|
@@ -217,9 +219,9 @@
|
|
217
219
|
(module.exports = function (key, value) {
|
218
220
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
219
221
|
})('versions', []).push({
|
220
|
-
version: '3.
|
222
|
+
version: '3.8.1',
|
221
223
|
mode: 'global',
|
222
|
-
copyright: '©
|
224
|
+
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
223
225
|
});
|
224
226
|
});
|
225
227
|
|
@@ -255,11 +257,12 @@
|
|
255
257
|
};
|
256
258
|
|
257
259
|
if (nativeWeakMap) {
|
258
|
-
var store$1 = new WeakMap$1();
|
260
|
+
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
|
259
261
|
var wmget = store$1.get;
|
260
262
|
var wmhas = store$1.has;
|
261
263
|
var wmset = store$1.set;
|
262
264
|
set = function (it, metadata) {
|
265
|
+
metadata.facade = it;
|
263
266
|
wmset.call(store$1, it, metadata);
|
264
267
|
return metadata;
|
265
268
|
};
|
@@ -273,6 +276,7 @@
|
|
273
276
|
var STATE = sharedKey('state');
|
274
277
|
hiddenKeys[STATE] = true;
|
275
278
|
set = function (it, metadata) {
|
279
|
+
metadata.facade = it;
|
276
280
|
createNonEnumerableProperty(it, STATE, metadata);
|
277
281
|
return metadata;
|
278
282
|
};
|
@@ -301,9 +305,15 @@
|
|
301
305
|
var unsafe = options ? !!options.unsafe : false;
|
302
306
|
var simple = options ? !!options.enumerable : false;
|
303
307
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
308
|
+
var state;
|
304
309
|
if (typeof value == 'function') {
|
305
|
-
if (typeof key == 'string' && !has(value, 'name'))
|
306
|
-
|
310
|
+
if (typeof key == 'string' && !has(value, 'name')) {
|
311
|
+
createNonEnumerableProperty(value, 'name', key);
|
312
|
+
}
|
313
|
+
state = enforceInternalState(value);
|
314
|
+
if (!state.source) {
|
315
|
+
state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
|
316
|
+
}
|
307
317
|
}
|
308
318
|
if (O === global_1) {
|
309
319
|
if (simple) O[key] = value;
|
@@ -533,7 +543,7 @@
|
|
533
543
|
};
|
534
544
|
|
535
545
|
// optional / simple context binding
|
536
|
-
var
|
546
|
+
var functionBindContext = function (fn, that, length) {
|
537
547
|
aFunction$1(fn);
|
538
548
|
if (that === undefined) return fn;
|
539
549
|
switch (length) {
|
@@ -577,11 +587,11 @@
|
|
577
587
|
// eslint-disable-next-line no-undef
|
578
588
|
&& !Symbol.sham
|
579
589
|
// eslint-disable-next-line no-undef
|
580
|
-
&& typeof Symbol
|
590
|
+
&& typeof Symbol.iterator == 'symbol';
|
581
591
|
|
582
592
|
var WellKnownSymbolsStore = shared('wks');
|
583
593
|
var Symbol$1 = global_1.Symbol;
|
584
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
|
594
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
585
595
|
|
586
596
|
var wellKnownSymbol = function (name) {
|
587
597
|
if (!has(WellKnownSymbolsStore, name)) {
|
@@ -609,22 +619,23 @@
|
|
609
619
|
|
610
620
|
var push = [].push;
|
611
621
|
|
612
|
-
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
|
622
|
+
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
|
613
623
|
var createMethod$1 = function (TYPE) {
|
614
624
|
var IS_MAP = TYPE == 1;
|
615
625
|
var IS_FILTER = TYPE == 2;
|
616
626
|
var IS_SOME = TYPE == 3;
|
617
627
|
var IS_EVERY = TYPE == 4;
|
618
628
|
var IS_FIND_INDEX = TYPE == 6;
|
629
|
+
var IS_FILTER_OUT = TYPE == 7;
|
619
630
|
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
620
631
|
return function ($this, callbackfn, that, specificCreate) {
|
621
632
|
var O = toObject($this);
|
622
633
|
var self = indexedObject(O);
|
623
|
-
var boundFunction =
|
634
|
+
var boundFunction = functionBindContext(callbackfn, that, 3);
|
624
635
|
var length = toLength(self.length);
|
625
636
|
var index = 0;
|
626
637
|
var create = specificCreate || arraySpeciesCreate;
|
627
|
-
var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
|
638
|
+
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
|
628
639
|
var value, result;
|
629
640
|
for (;length > index; index++) if (NO_HOLES || index in self) {
|
630
641
|
value = self[index];
|
@@ -636,7 +647,10 @@
|
|
636
647
|
case 5: return value; // find
|
637
648
|
case 6: return index; // findIndex
|
638
649
|
case 2: push.call(target, value); // filter
|
639
|
-
} else
|
650
|
+
} else switch (TYPE) {
|
651
|
+
case 4: return false; // every
|
652
|
+
case 7: push.call(target, value); // filterOut
|
653
|
+
}
|
640
654
|
}
|
641
655
|
}
|
642
656
|
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
@@ -664,7 +678,10 @@
|
|
664
678
|
find: createMethod$1(5),
|
665
679
|
// `Array.prototype.findIndex` method
|
666
680
|
// https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
|
667
|
-
findIndex: createMethod$1(6)
|
681
|
+
findIndex: createMethod$1(6),
|
682
|
+
// `Array.prototype.filterOut` method
|
683
|
+
// https://github.com/tc39/proposal-array-filtering
|
684
|
+
filterOut: createMethod$1(7)
|
668
685
|
};
|
669
686
|
|
670
687
|
// `Object.keys` method
|
@@ -775,18 +792,45 @@
|
|
775
792
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
776
793
|
};
|
777
794
|
|
795
|
+
var defineProperty = Object.defineProperty;
|
796
|
+
var cache = {};
|
797
|
+
|
798
|
+
var thrower = function (it) { throw it; };
|
799
|
+
|
800
|
+
var arrayMethodUsesToLength = function (METHOD_NAME, options) {
|
801
|
+
if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
|
802
|
+
if (!options) options = {};
|
803
|
+
var method = [][METHOD_NAME];
|
804
|
+
var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
|
805
|
+
var argument0 = has(options, 0) ? options[0] : thrower;
|
806
|
+
var argument1 = has(options, 1) ? options[1] : undefined;
|
807
|
+
|
808
|
+
return cache[METHOD_NAME] = !!method && !fails(function () {
|
809
|
+
if (ACCESSORS && !descriptors) return true;
|
810
|
+
var O = { length: -1 };
|
811
|
+
|
812
|
+
if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
|
813
|
+
else O[1] = 1;
|
814
|
+
|
815
|
+
method.call(O, argument0, argument1);
|
816
|
+
});
|
817
|
+
};
|
818
|
+
|
778
819
|
var $find = arrayIteration.find;
|
779
820
|
|
780
821
|
|
822
|
+
|
781
823
|
var FIND = 'find';
|
782
824
|
var SKIPS_HOLES = true;
|
783
825
|
|
826
|
+
var USES_TO_LENGTH = arrayMethodUsesToLength(FIND);
|
827
|
+
|
784
828
|
// Shouldn't skip holes
|
785
829
|
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
786
830
|
|
787
831
|
// `Array.prototype.find` method
|
788
832
|
// https://tc39.github.io/ecma262/#sec-array.prototype.find
|
789
|
-
_export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
833
|
+
_export({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
|
790
834
|
find: function find(callbackfn /* , that = undefined */) {
|
791
835
|
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
792
836
|
}
|
@@ -798,9 +842,12 @@
|
|
798
842
|
var $includes = arrayIncludes.includes;
|
799
843
|
|
800
844
|
|
845
|
+
|
846
|
+
var USES_TO_LENGTH$1 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
|
847
|
+
|
801
848
|
// `Array.prototype.includes` method
|
802
849
|
// https://tc39.github.io/ecma262/#sec-array.prototype.includes
|
803
|
-
_export({ target: 'Array', proto: true }, {
|
850
|
+
_export({ target: 'Array', proto: true, forced: !USES_TO_LENGTH$1 }, {
|
804
851
|
includes: function includes(el /* , fromIndex = 0 */) {
|
805
852
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
806
853
|
}
|
@@ -830,11 +877,11 @@
|
|
830
877
|
var regexp = /./;
|
831
878
|
try {
|
832
879
|
'/./'[METHOD_NAME](regexp);
|
833
|
-
} catch (
|
880
|
+
} catch (error1) {
|
834
881
|
try {
|
835
882
|
regexp[MATCH$1] = false;
|
836
883
|
return '/./'[METHOD_NAME](regexp);
|
837
|
-
} catch (
|
884
|
+
} catch (error2) { /* empty */ }
|
838
885
|
} return false;
|
839
886
|
};
|
840
887
|
|
@@ -900,6 +947,19 @@
|
|
900
947
|
return _setPrototypeOf(o, p);
|
901
948
|
}
|
902
949
|
|
950
|
+
function _isNativeReflectConstruct() {
|
951
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
952
|
+
if (Reflect.construct.sham) return false;
|
953
|
+
if (typeof Proxy === "function") return true;
|
954
|
+
|
955
|
+
try {
|
956
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
|
957
|
+
return true;
|
958
|
+
} catch (e) {
|
959
|
+
return false;
|
960
|
+
}
|
961
|
+
}
|
962
|
+
|
903
963
|
function _assertThisInitialized(self) {
|
904
964
|
if (self === void 0) {
|
905
965
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
@@ -916,6 +976,25 @@
|
|
916
976
|
return _assertThisInitialized(self);
|
917
977
|
}
|
918
978
|
|
979
|
+
function _createSuper(Derived) {
|
980
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
981
|
+
|
982
|
+
return function _createSuperInternal() {
|
983
|
+
var Super = _getPrototypeOf(Derived),
|
984
|
+
result;
|
985
|
+
|
986
|
+
if (hasNativeReflectConstruct) {
|
987
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
988
|
+
|
989
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
990
|
+
} else {
|
991
|
+
result = Super.apply(this, arguments);
|
992
|
+
}
|
993
|
+
|
994
|
+
return _possibleConstructorReturn(this, result);
|
995
|
+
};
|
996
|
+
}
|
997
|
+
|
919
998
|
function _superPropBase(object, property) {
|
920
999
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
921
1000
|
object = _getPrototypeOf(object);
|
@@ -952,7 +1031,7 @@
|
|
952
1031
|
* theme: https://materializecss.com/
|
953
1032
|
*/
|
954
1033
|
|
955
|
-
|
1034
|
+
$__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
|
956
1035
|
classes: 'table highlight',
|
957
1036
|
buttonsPrefix: '',
|
958
1037
|
buttonsClass: 'waves-effect waves-light btn',
|
@@ -972,17 +1051,17 @@
|
|
972
1051
|
clearSearch: 'delete'
|
973
1052
|
}
|
974
1053
|
});
|
975
|
-
|
1054
|
+
$__default['default'].fn.bootstrapTable.theme = 'materialize';
|
976
1055
|
|
977
|
-
|
978
|
-
/*#__PURE__*/
|
979
|
-
function (_$$BootstrapTable) {
|
1056
|
+
$__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
|
980
1057
|
_inherits(_class, _$$BootstrapTable);
|
981
1058
|
|
1059
|
+
var _super = _createSuper(_class);
|
1060
|
+
|
982
1061
|
function _class() {
|
983
1062
|
_classCallCheck(this, _class);
|
984
1063
|
|
985
|
-
return
|
1064
|
+
return _super.apply(this, arguments);
|
986
1065
|
}
|
987
1066
|
|
988
1067
|
_createClass(_class, [{
|
@@ -1019,13 +1098,13 @@
|
|
1019
1098
|
value: function handleToolbar() {
|
1020
1099
|
if (this.$toolbar.find('.dropdown-toggle').length) {
|
1021
1100
|
this.$toolbar.find('.dropdown-toggle').each(function (i, el) {
|
1022
|
-
if (!$(el).next().length) {
|
1101
|
+
if (!$__default['default'](el).next().length) {
|
1023
1102
|
return;
|
1024
1103
|
}
|
1025
1104
|
|
1026
1105
|
var id = "toolbar-columns-id".concat(i);
|
1027
|
-
$(el).next().attr('id', id);
|
1028
|
-
$(el).attr('data-target', id).dropdown({
|
1106
|
+
$__default['default'](el).next().attr('id', id);
|
1107
|
+
$__default['default'](el).attr('data-target', id).dropdown({
|
1029
1108
|
alignment: 'right',
|
1030
1109
|
constrainWidth: false,
|
1031
1110
|
closeOnClick: false
|
@@ -1045,6 +1124,6 @@
|
|
1045
1124
|
}]);
|
1046
1125
|
|
1047
1126
|
return _class;
|
1048
|
-
}(
|
1127
|
+
}($__default['default'].BootstrapTable);
|
1049
1128
|
|
1050
1129
|
})));
|