bootstrap-table-rails 1.11.1.1 → 1.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +152 -98
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +5196 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +1809 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +1817 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +296 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +6924 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/accent-neutralise/bootstrap-table-accent-neutralise.js +1757 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1485 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.css +3 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +1020 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.css +12 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.js +2087 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1934 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +1042 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +779 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +1451 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +2494 -0
- data/vendor/assets/{stylesheets/extensions → javascripts/bootstrap-table/extensions/filter-control}/bootstrap-table-filter-control.css +3 -3
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2502 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.css +27 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +1378 -0
- data/vendor/assets/{stylesheets/extensions → javascripts/bootstrap-table/extensions/group-by}/bootstrap-table-group-by.css +0 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by/bootstrap-table-group-by.js +257 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.css +7 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +1478 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +125 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +1243 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +1162 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/multi-column-toggle/bootstrap-table-multi-toggle.js +105 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-search/bootstrap-table-multiple-search.js +85 -0
- data/vendor/assets/{stylesheets/extensions → javascripts/bootstrap-table/extensions/multiple-selection-row}/bootstrap-table-multiple-selection-row.css +0 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row.js +143 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +1905 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/natural-sorting/bootstrap-table-natural-sorting.js +1265 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +11 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +971 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +1128 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +1960 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +1015 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.css +14 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +774 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +676 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/select2-filter/bootstrap-table-select2-filter.js +341 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.css +22 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +1019 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +2297 -0
- data/vendor/assets/{stylesheets/extensions → javascripts/bootstrap-table/extensions/tree-column}/bootstrap-table-tree-column.css +0 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/tree-column/bootstrap-table-tree-column.js +142 -0
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +1817 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +723 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +723 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +723 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +723 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +722 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +721 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +352 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +943 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +329 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +950 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +326 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +946 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +336 -0
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +920 -0
- metadata +112 -96
- data/vendor/assets/images/icon.png +0 -0
- data/vendor/assets/javascripts/bootstrap-table-locale-all.js +0 -1698
- data/vendor/assets/javascripts/bootstrap-table.js +0 -3094
- data/vendor/assets/javascripts/extensions/bootstrap-table-accent-neutralise.js +0 -182
- data/vendor/assets/javascripts/extensions/bootstrap-table-angular.js +0 -107
- data/vendor/assets/javascripts/extensions/bootstrap-table-auto-refresh.js +0 -84
- data/vendor/assets/javascripts/extensions/bootstrap-table-click-edit-row.js +0 -142
- data/vendor/assets/javascripts/extensions/bootstrap-table-cookie.js +0 -434
- data/vendor/assets/javascripts/extensions/bootstrap-table-copy-rows.js +0 -102
- data/vendor/assets/javascripts/extensions/bootstrap-table-editable.js +0 -146
- data/vendor/assets/javascripts/extensions/bootstrap-table-export.js +0 -131
- data/vendor/assets/javascripts/extensions/bootstrap-table-filter-control.js +0 -697
- data/vendor/assets/javascripts/extensions/bootstrap-table-filter.js +0 -67
- data/vendor/assets/javascripts/extensions/bootstrap-table-flat-json.js +0 -62
- data/vendor/assets/javascripts/extensions/bootstrap-table-group-by-v2.js +0 -226
- data/vendor/assets/javascripts/extensions/bootstrap-table-group-by.js +0 -243
- data/vendor/assets/javascripts/extensions/bootstrap-table-i18n-enhance.js +0 -34
- data/vendor/assets/javascripts/extensions/bootstrap-table-key-events.js +0 -80
- data/vendor/assets/javascripts/extensions/bootstrap-table-mobile.js +0 -136
- data/vendor/assets/javascripts/extensions/bootstrap-table-multi-toggle.js +0 -88
- data/vendor/assets/javascripts/extensions/bootstrap-table-multiple-search.js +0 -71
- data/vendor/assets/javascripts/extensions/bootstrap-table-multiple-selection-row.js +0 -127
- data/vendor/assets/javascripts/extensions/bootstrap-table-multiple-sort.js +0 -393
- data/vendor/assets/javascripts/extensions/bootstrap-table-natural-sorting.js +0 -67
- data/vendor/assets/javascripts/extensions/bootstrap-table-print.js +0 -133
- data/vendor/assets/javascripts/extensions/bootstrap-table-reorder-columns.js +0 -181
- data/vendor/assets/javascripts/extensions/bootstrap-table-reorder-rows.js +0 -118
- data/vendor/assets/javascripts/extensions/bootstrap-table-resizable.js +0 -74
- data/vendor/assets/javascripts/extensions/bootstrap-table-select2-filter.js +0 -303
- data/vendor/assets/javascripts/extensions/bootstrap-table-sticky-header.js +0 -111
- data/vendor/assets/javascripts/extensions/bootstrap-table-toolbar.js +0 -211
- data/vendor/assets/javascripts/extensions/bootstrap-table-tree-column.js +0 -130
- data/vendor/assets/javascripts/locale/README.md +0 -179
- data/vendor/assets/javascripts/locale/bootstrap-table-af-ZA.js +0 -40
- data/vendor/assets/javascripts/locale/bootstrap-table-ar-SA.js +0 -40
- data/vendor/assets/javascripts/locale/bootstrap-table-ca-ES.js +0 -44
- data/vendor/assets/javascripts/locale/bootstrap-table-cs-CZ.js +0 -44
- data/vendor/assets/javascripts/locale/bootstrap-table-da-DK.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-de-DE.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-el-GR.js +0 -28
- data/vendor/assets/javascripts/locale/bootstrap-table-en-US.js +0 -49
- data/vendor/assets/javascripts/locale/bootstrap-table-en-US.js.template +0 -49
- data/vendor/assets/javascripts/locale/bootstrap-table-es-AR.js +0 -31
- data/vendor/assets/javascripts/locale/bootstrap-table-es-CL.js +0 -44
- data/vendor/assets/javascripts/locale/bootstrap-table-es-CR.js +0 -40
- data/vendor/assets/javascripts/locale/bootstrap-table-es-ES.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-es-MX.js +0 -32
- data/vendor/assets/javascripts/locale/bootstrap-table-es-NI.js +0 -40
- data/vendor/assets/javascripts/locale/bootstrap-table-es-SP.js +0 -40
- data/vendor/assets/javascripts/locale/bootstrap-table-et-EE.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-fa-IR.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-fr-BE.js +0 -28
- data/vendor/assets/javascripts/locale/bootstrap-table-fr-FR.js +0 -41
- data/vendor/assets/javascripts/locale/bootstrap-table-he-IL.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-hr-HR.js +0 -44
- data/vendor/assets/javascripts/locale/bootstrap-table-hu-HU.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-id-ID.js +0 -49
- data/vendor/assets/javascripts/locale/bootstrap-table-it-IT.js +0 -52
- data/vendor/assets/javascripts/locale/bootstrap-table-ja-JP.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-ka-GE.js +0 -40
- data/vendor/assets/javascripts/locale/bootstrap-table-ko-KR.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-ms-MY.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-nb-NO.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-nl-NL.js +0 -52
- data/vendor/assets/javascripts/locale/bootstrap-table-pl-PL.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-pt-BR.js +0 -41
- data/vendor/assets/javascripts/locale/bootstrap-table-pt-PT.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-ro-RO.js +0 -43
- data/vendor/assets/javascripts/locale/bootstrap-table-ru-RU.js +0 -72
- data/vendor/assets/javascripts/locale/bootstrap-table-sk-SK.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-sv-SE.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-th-TH.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-tr-TR.js +0 -41
- data/vendor/assets/javascripts/locale/bootstrap-table-uk-UA.js +0 -73
- data/vendor/assets/javascripts/locale/bootstrap-table-ur-PK.js +0 -37
- data/vendor/assets/javascripts/locale/bootstrap-table-uz-Latn-UZ.js +0 -49
- data/vendor/assets/javascripts/locale/bootstrap-table-vi-VN.js +0 -28
- data/vendor/assets/javascripts/locale/bootstrap-table-zh-CN.js +0 -46
- data/vendor/assets/javascripts/locale/bootstrap-table-zh-TW.js +0 -40
- data/vendor/assets/stylesheets/bootstrap-table.css +0 -313
- data/vendor/assets/stylesheets/extensions/bootstrap-table-auto-refresh.css +0 -3
- data/vendor/assets/stylesheets/extensions/bootstrap-table-click-edit-row.css +0 -21
- data/vendor/assets/stylesheets/extensions/bootstrap-table-group-by-v2.css +0 -7
- data/vendor/assets/stylesheets/extensions/bootstrap-table-reorder-rows.css +0 -14
- data/vendor/assets/stylesheets/extensions/bootstrap-table-sticky-header.css +0 -22
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/**
|
|
3
|
+
* @author zhixin wen <wenzhixin2010@gmail.com>
|
|
4
|
+
* https://github.com/wenzhixin/bootstrap-table/
|
|
5
|
+
* theme: https://github.com/jgthms/bulma/
|
|
6
|
+
*/
|
|
7
|
+
.bootstrap-table .fixed-table-toolbar::after {
|
|
8
|
+
content: "";
|
|
9
|
+
display: block;
|
|
10
|
+
clear: both;
|
|
11
|
+
}
|
|
12
|
+
.bootstrap-table .fixed-table-toolbar .bs-bars,
|
|
13
|
+
.bootstrap-table .fixed-table-toolbar .search,
|
|
14
|
+
.bootstrap-table .fixed-table-toolbar .columns {
|
|
15
|
+
position: relative;
|
|
16
|
+
margin-top: 10px;
|
|
17
|
+
margin-bottom: 10px;
|
|
18
|
+
}
|
|
19
|
+
.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
margin-left: -1px !important;
|
|
22
|
+
}
|
|
23
|
+
.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group > .btn {
|
|
24
|
+
border-radius: 0;
|
|
25
|
+
}
|
|
26
|
+
.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:first-child > .btn {
|
|
27
|
+
border-top-left-radius: 4px;
|
|
28
|
+
border-bottom-left-radius: 4px;
|
|
29
|
+
}
|
|
30
|
+
.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:last-child > .btn {
|
|
31
|
+
border-top-right-radius: 4px;
|
|
32
|
+
border-bottom-right-radius: 4px;
|
|
33
|
+
}
|
|
34
|
+
.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
|
|
35
|
+
text-align: left;
|
|
36
|
+
max-height: 300px;
|
|
37
|
+
overflow: auto;
|
|
38
|
+
-ms-overflow-style: scrollbar;
|
|
39
|
+
z-index: 1001;
|
|
40
|
+
}
|
|
41
|
+
.bootstrap-table .fixed-table-toolbar .columns label {
|
|
42
|
+
display: block;
|
|
43
|
+
padding: 3px 20px;
|
|
44
|
+
clear: both;
|
|
45
|
+
font-weight: normal;
|
|
46
|
+
line-height: 1.428571429;
|
|
47
|
+
}
|
|
48
|
+
.bootstrap-table .fixed-table-toolbar .columns-left {
|
|
49
|
+
margin-right: 5px;
|
|
50
|
+
}
|
|
51
|
+
.bootstrap-table .fixed-table-toolbar .columns-right {
|
|
52
|
+
margin-left: 5px;
|
|
53
|
+
}
|
|
54
|
+
.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu {
|
|
55
|
+
right: 0;
|
|
56
|
+
left: auto;
|
|
57
|
+
}
|
|
58
|
+
.bootstrap-table .fixed-table-container {
|
|
59
|
+
position: relative;
|
|
60
|
+
clear: both;
|
|
61
|
+
}
|
|
62
|
+
.bootstrap-table .fixed-table-container .table {
|
|
63
|
+
width: 100%;
|
|
64
|
+
margin-bottom: 0 !important;
|
|
65
|
+
}
|
|
66
|
+
.bootstrap-table .fixed-table-container .table th,
|
|
67
|
+
.bootstrap-table .fixed-table-container .table td {
|
|
68
|
+
vertical-align: middle;
|
|
69
|
+
box-sizing: border-box;
|
|
70
|
+
}
|
|
71
|
+
.bootstrap-table .fixed-table-container .table thead th {
|
|
72
|
+
vertical-align: bottom;
|
|
73
|
+
padding: 0;
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
.bootstrap-table .fixed-table-container .table thead th:focus {
|
|
77
|
+
outline: 0 solid transparent;
|
|
78
|
+
}
|
|
79
|
+
.bootstrap-table .fixed-table-container .table thead th.detail {
|
|
80
|
+
width: 30px;
|
|
81
|
+
}
|
|
82
|
+
.bootstrap-table .fixed-table-container .table thead th .th-inner {
|
|
83
|
+
padding: 0.75rem;
|
|
84
|
+
vertical-align: bottom;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
text-overflow: ellipsis;
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
}
|
|
89
|
+
.bootstrap-table .fixed-table-container .table thead th .sortable {
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
background-position: right;
|
|
92
|
+
background-repeat: no-repeat;
|
|
93
|
+
padding-right: 30px;
|
|
94
|
+
}
|
|
95
|
+
.bootstrap-table .fixed-table-container .table thead th .both {
|
|
96
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC");
|
|
97
|
+
}
|
|
98
|
+
.bootstrap-table .fixed-table-container .table thead th .asc {
|
|
99
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==");
|
|
100
|
+
}
|
|
101
|
+
.bootstrap-table .fixed-table-container .table thead th .desc {
|
|
102
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ");
|
|
103
|
+
}
|
|
104
|
+
.bootstrap-table .fixed-table-container .table tbody tr.selected td {
|
|
105
|
+
background-color: #fafafa;
|
|
106
|
+
}
|
|
107
|
+
.bootstrap-table .fixed-table-container .table tbody tr.no-records-found {
|
|
108
|
+
text-align: center;
|
|
109
|
+
}
|
|
110
|
+
.bootstrap-table .fixed-table-container .table tbody tr .card-view {
|
|
111
|
+
display: flex;
|
|
112
|
+
}
|
|
113
|
+
.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title {
|
|
114
|
+
font-weight: bold;
|
|
115
|
+
display: inline-block;
|
|
116
|
+
min-width: 30%;
|
|
117
|
+
text-align: left !important;
|
|
118
|
+
}
|
|
119
|
+
.bootstrap-table .fixed-table-container .table .bs-checkbox {
|
|
120
|
+
text-align: center;
|
|
121
|
+
}
|
|
122
|
+
.bootstrap-table .fixed-table-container .table .bs-checkbox label {
|
|
123
|
+
margin-bottom: 0;
|
|
124
|
+
}
|
|
125
|
+
.bootstrap-table .fixed-table-container .table input[type=radio],
|
|
126
|
+
.bootstrap-table .fixed-table-container .table input[type=checkbox] {
|
|
127
|
+
margin: 0 auto !important;
|
|
128
|
+
}
|
|
129
|
+
.bootstrap-table .fixed-table-container .table.table-sm .th-inner {
|
|
130
|
+
padding: 0.3rem;
|
|
131
|
+
}
|
|
132
|
+
.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
|
|
133
|
+
border-bottom: 1px solid #dbdbdb;
|
|
134
|
+
}
|
|
135
|
+
.bootstrap-table .fixed-table-container.fixed-height.has-card-view {
|
|
136
|
+
border-top: 1px solid #dbdbdb;
|
|
137
|
+
border-bottom: 1px solid #dbdbdb;
|
|
138
|
+
}
|
|
139
|
+
.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
|
|
140
|
+
border-left: 1px solid #dbdbdb;
|
|
141
|
+
border-right: 1px solid #dbdbdb;
|
|
142
|
+
}
|
|
143
|
+
.bootstrap-table .fixed-table-container.fixed-height .table thead th {
|
|
144
|
+
border-bottom: 1px solid #dbdbdb;
|
|
145
|
+
}
|
|
146
|
+
.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
|
|
147
|
+
border-bottom: 1px solid #32383e;
|
|
148
|
+
}
|
|
149
|
+
.bootstrap-table .fixed-table-container .fixed-table-header {
|
|
150
|
+
overflow: hidden;
|
|
151
|
+
}
|
|
152
|
+
.bootstrap-table .fixed-table-container .fixed-table-body {
|
|
153
|
+
overflow-x: auto;
|
|
154
|
+
overflow-y: auto;
|
|
155
|
+
height: 100%;
|
|
156
|
+
}
|
|
157
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
|
|
158
|
+
align-items: center;
|
|
159
|
+
background: #fff;
|
|
160
|
+
display: none;
|
|
161
|
+
justify-content: center;
|
|
162
|
+
position: absolute;
|
|
163
|
+
bottom: 0;
|
|
164
|
+
width: 100%;
|
|
165
|
+
z-index: 1000;
|
|
166
|
+
}
|
|
167
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
|
|
168
|
+
align-items: baseline;
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
}
|
|
172
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
|
|
173
|
+
font-size: 2rem;
|
|
174
|
+
margin-right: 6px;
|
|
175
|
+
}
|
|
176
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
|
|
177
|
+
align-items: center;
|
|
178
|
+
display: flex;
|
|
179
|
+
justify-content: center;
|
|
180
|
+
}
|
|
181
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
|
|
182
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
|
|
183
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
|
|
184
|
+
content: "";
|
|
185
|
+
animation-duration: 1.5s;
|
|
186
|
+
animation-iteration-count: infinite;
|
|
187
|
+
animation-name: LOADING;
|
|
188
|
+
background: #363636;
|
|
189
|
+
border-radius: 50%;
|
|
190
|
+
display: block;
|
|
191
|
+
height: 5px;
|
|
192
|
+
margin: 0 4px;
|
|
193
|
+
opacity: 0;
|
|
194
|
+
width: 5px;
|
|
195
|
+
}
|
|
196
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
|
|
197
|
+
animation-delay: 0.3s;
|
|
198
|
+
}
|
|
199
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after {
|
|
200
|
+
animation-delay: 0.6s;
|
|
201
|
+
}
|
|
202
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
|
|
203
|
+
background: #363636;
|
|
204
|
+
}
|
|
205
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
|
|
206
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
|
|
207
|
+
.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
|
|
208
|
+
background: #fff;
|
|
209
|
+
}
|
|
210
|
+
.bootstrap-table .fixed-table-container .fixed-table-footer {
|
|
211
|
+
overflow: hidden;
|
|
212
|
+
}
|
|
213
|
+
.bootstrap-table .fixed-table-pagination::after {
|
|
214
|
+
content: "";
|
|
215
|
+
display: block;
|
|
216
|
+
clear: both;
|
|
217
|
+
}
|
|
218
|
+
.bootstrap-table .fixed-table-pagination > .pagination-detail,
|
|
219
|
+
.bootstrap-table .fixed-table-pagination > .pagination {
|
|
220
|
+
margin-top: 10px;
|
|
221
|
+
margin-bottom: 10px;
|
|
222
|
+
}
|
|
223
|
+
.bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
|
|
224
|
+
line-height: 34px;
|
|
225
|
+
margin-right: 5px;
|
|
226
|
+
}
|
|
227
|
+
.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list {
|
|
228
|
+
display: inline-block;
|
|
229
|
+
}
|
|
230
|
+
.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group {
|
|
231
|
+
position: relative;
|
|
232
|
+
display: inline-block;
|
|
233
|
+
vertical-align: middle;
|
|
234
|
+
}
|
|
235
|
+
.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
|
|
236
|
+
margin-bottom: 0;
|
|
237
|
+
}
|
|
238
|
+
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
|
|
239
|
+
margin: 0;
|
|
240
|
+
}
|
|
241
|
+
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination a {
|
|
242
|
+
padding: 6px 12px;
|
|
243
|
+
line-height: 1.428571429;
|
|
244
|
+
}
|
|
245
|
+
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a {
|
|
246
|
+
color: #c8c8c8;
|
|
247
|
+
}
|
|
248
|
+
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::before {
|
|
249
|
+
content: "⬅";
|
|
250
|
+
}
|
|
251
|
+
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::after {
|
|
252
|
+
content: "➡";
|
|
253
|
+
}
|
|
254
|
+
.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.disabled a {
|
|
255
|
+
pointer-events: none;
|
|
256
|
+
cursor: default;
|
|
257
|
+
}
|
|
258
|
+
.bootstrap-table.fullscreen {
|
|
259
|
+
position: fixed;
|
|
260
|
+
top: 0;
|
|
261
|
+
left: 0;
|
|
262
|
+
z-index: 1050;
|
|
263
|
+
width: 100% !important;
|
|
264
|
+
background: #fff;
|
|
265
|
+
height: calc(100vh);
|
|
266
|
+
overflow-y: scroll;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* calculate scrollbar width */
|
|
270
|
+
div.fixed-table-scroll-inner {
|
|
271
|
+
width: 100%;
|
|
272
|
+
height: 200px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
div.fixed-table-scroll-outer {
|
|
276
|
+
top: 0;
|
|
277
|
+
left: 0;
|
|
278
|
+
visibility: hidden;
|
|
279
|
+
width: 200px;
|
|
280
|
+
height: 150px;
|
|
281
|
+
overflow: hidden;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@keyframes LOADING {
|
|
285
|
+
0% {
|
|
286
|
+
opacity: 0;
|
|
287
|
+
}
|
|
288
|
+
50% {
|
|
289
|
+
opacity: 1;
|
|
290
|
+
}
|
|
291
|
+
to {
|
|
292
|
+
opacity: 0;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
.box {
|
|
296
|
+
background-color: #fff;
|
|
297
|
+
border-radius: 6px;
|
|
298
|
+
color: #4a4a4a;
|
|
299
|
+
display: block;
|
|
300
|
+
padding: 1.25rem;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.bootstrap-table .float-left {
|
|
304
|
+
float: left;
|
|
305
|
+
}
|
|
306
|
+
.bootstrap-table .float-right {
|
|
307
|
+
float: right;
|
|
308
|
+
}
|
|
309
|
+
.bootstrap-table .fixed-table-toolbar .search input {
|
|
310
|
+
width: auto;
|
|
311
|
+
}
|
|
312
|
+
.bootstrap-table .fixed-table-toolbar .columns {
|
|
313
|
+
margin-right: 0;
|
|
314
|
+
}
|
|
315
|
+
.bootstrap-table .fixed-table-toolbar .button.dropdown {
|
|
316
|
+
padding: 0;
|
|
317
|
+
border: 0;
|
|
318
|
+
}
|
|
319
|
+
.bootstrap-table .fixed-table-toolbar .button.dropdown .button {
|
|
320
|
+
margin: 0;
|
|
321
|
+
}
|
|
322
|
+
.bootstrap-table .fixed-table-toolbar .button.dropdown:not(:first-child) .button {
|
|
323
|
+
border-bottom-left-radius: 0;
|
|
324
|
+
border-top-left-radius: 0;
|
|
325
|
+
}
|
|
326
|
+
.bootstrap-table .fixed-table-toolbar .button.dropdown:last-child .button {
|
|
327
|
+
border-bottom-right-radius: 4px;
|
|
328
|
+
border-top-right-radius: 4px;
|
|
329
|
+
}
|
|
330
|
+
.bootstrap-table .fixed-table-toolbar .button.dropdown .dropdown-content {
|
|
331
|
+
box-shadow: none;
|
|
332
|
+
border: 1px solid #dbdbdb;
|
|
333
|
+
}
|
|
334
|
+
.bootstrap-table .fixed-table-toolbar .button.dropdown label.dropdown-item {
|
|
335
|
+
padding: 5px 20px;
|
|
336
|
+
}
|
|
337
|
+
.bootstrap-table .fixed-table-pagination .ui.dropdown {
|
|
338
|
+
vertical-align: middle;
|
|
339
|
+
}
|
|
340
|
+
.bootstrap-table .fixed-table-pagination .is-up .fa-angle-down:before {
|
|
341
|
+
content: "";
|
|
342
|
+
}
|
|
343
|
+
.bootstrap-table .fixed-table-pagination .pagination-link.disabled {
|
|
344
|
+
background-color: #dbdbdb;
|
|
345
|
+
border-color: #dbdbdb;
|
|
346
|
+
box-shadow: none;
|
|
347
|
+
color: #7a7a7a;
|
|
348
|
+
opacity: 0.5;
|
|
349
|
+
cursor: not-allowed;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/*# sourceMappingURL=bootstrap-table-bulma.css.map */
|
|
@@ -0,0 +1,943 @@
|
|
|
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 = global || self, factory(global.jQuery));
|
|
5
|
+
}(this, function ($) { 'use strict';
|
|
6
|
+
|
|
7
|
+
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
|
|
8
|
+
|
|
9
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
10
|
+
|
|
11
|
+
function createCommonjsModule(fn, module) {
|
|
12
|
+
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
var O = 'object';
|
|
16
|
+
var check = function (it) {
|
|
17
|
+
return it && it.Math == Math && it;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
21
|
+
var global_1 =
|
|
22
|
+
// eslint-disable-next-line no-undef
|
|
23
|
+
check(typeof globalThis == O && globalThis) ||
|
|
24
|
+
check(typeof window == O && window) ||
|
|
25
|
+
check(typeof self == O && self) ||
|
|
26
|
+
check(typeof commonjsGlobal == O && commonjsGlobal) ||
|
|
27
|
+
// eslint-disable-next-line no-new-func
|
|
28
|
+
Function('return this')();
|
|
29
|
+
|
|
30
|
+
var fails = function (exec) {
|
|
31
|
+
try {
|
|
32
|
+
return !!exec();
|
|
33
|
+
} catch (error) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// Thank's IE8 for his funny defineProperty
|
|
39
|
+
var descriptors = !fails(function () {
|
|
40
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
|
|
44
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
45
|
+
|
|
46
|
+
// Nashorn ~ JDK8 bug
|
|
47
|
+
var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
|
|
48
|
+
|
|
49
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
50
|
+
// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
|
|
51
|
+
var f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
52
|
+
var descriptor = getOwnPropertyDescriptor(this, V);
|
|
53
|
+
return !!descriptor && descriptor.enumerable;
|
|
54
|
+
} : nativePropertyIsEnumerable;
|
|
55
|
+
|
|
56
|
+
var objectPropertyIsEnumerable = {
|
|
57
|
+
f: f
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
var createPropertyDescriptor = function (bitmap, value) {
|
|
61
|
+
return {
|
|
62
|
+
enumerable: !(bitmap & 1),
|
|
63
|
+
configurable: !(bitmap & 2),
|
|
64
|
+
writable: !(bitmap & 4),
|
|
65
|
+
value: value
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
var toString = {}.toString;
|
|
70
|
+
|
|
71
|
+
var classofRaw = function (it) {
|
|
72
|
+
return toString.call(it).slice(8, -1);
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
var split = ''.split;
|
|
76
|
+
|
|
77
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
78
|
+
var indexedObject = fails(function () {
|
|
79
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
80
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
81
|
+
return !Object('z').propertyIsEnumerable(0);
|
|
82
|
+
}) ? function (it) {
|
|
83
|
+
return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
|
|
84
|
+
} : Object;
|
|
85
|
+
|
|
86
|
+
// `RequireObjectCoercible` abstract operation
|
|
87
|
+
// https://tc39.github.io/ecma262/#sec-requireobjectcoercible
|
|
88
|
+
var requireObjectCoercible = function (it) {
|
|
89
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
90
|
+
return it;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
var toIndexedObject = function (it) {
|
|
98
|
+
return indexedObject(requireObjectCoercible(it));
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
var isObject = function (it) {
|
|
102
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
// `ToPrimitive` abstract operation
|
|
106
|
+
// https://tc39.github.io/ecma262/#sec-toprimitive
|
|
107
|
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
108
|
+
// and the second argument - flag - preferred type is a string
|
|
109
|
+
var toPrimitive = function (input, PREFERRED_STRING) {
|
|
110
|
+
if (!isObject(input)) return input;
|
|
111
|
+
var fn, val;
|
|
112
|
+
if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
|
|
113
|
+
if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
|
|
114
|
+
if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
|
|
115
|
+
throw TypeError("Can't convert object to primitive value");
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
119
|
+
|
|
120
|
+
var has = function (it, key) {
|
|
121
|
+
return hasOwnProperty.call(it, key);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
var document$1 = global_1.document;
|
|
125
|
+
// typeof document.createElement is 'object' in old IE
|
|
126
|
+
var EXISTS = isObject(document$1) && isObject(document$1.createElement);
|
|
127
|
+
|
|
128
|
+
var documentCreateElement = function (it) {
|
|
129
|
+
return EXISTS ? document$1.createElement(it) : {};
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// Thank's IE8 for his funny defineProperty
|
|
133
|
+
var ie8DomDefine = !descriptors && !fails(function () {
|
|
134
|
+
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
135
|
+
get: function () { return 7; }
|
|
136
|
+
}).a != 7;
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
140
|
+
|
|
141
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
142
|
+
// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
|
|
143
|
+
var f$1 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
144
|
+
O = toIndexedObject(O);
|
|
145
|
+
P = toPrimitive(P, true);
|
|
146
|
+
if (ie8DomDefine) try {
|
|
147
|
+
return nativeGetOwnPropertyDescriptor(O, P);
|
|
148
|
+
} catch (error) { /* empty */ }
|
|
149
|
+
if (has(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
var objectGetOwnPropertyDescriptor = {
|
|
153
|
+
f: f$1
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
var anObject = function (it) {
|
|
157
|
+
if (!isObject(it)) {
|
|
158
|
+
throw TypeError(String(it) + ' is not an object');
|
|
159
|
+
} return it;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
var nativeDefineProperty = Object.defineProperty;
|
|
163
|
+
|
|
164
|
+
// `Object.defineProperty` method
|
|
165
|
+
// https://tc39.github.io/ecma262/#sec-object.defineproperty
|
|
166
|
+
var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
|
|
167
|
+
anObject(O);
|
|
168
|
+
P = toPrimitive(P, true);
|
|
169
|
+
anObject(Attributes);
|
|
170
|
+
if (ie8DomDefine) try {
|
|
171
|
+
return nativeDefineProperty(O, P, Attributes);
|
|
172
|
+
} catch (error) { /* empty */ }
|
|
173
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
174
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
175
|
+
return O;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
var objectDefineProperty = {
|
|
179
|
+
f: f$2
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
var hide = descriptors ? function (object, key, value) {
|
|
183
|
+
return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
|
|
184
|
+
} : function (object, key, value) {
|
|
185
|
+
object[key] = value;
|
|
186
|
+
return object;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
var setGlobal = function (key, value) {
|
|
190
|
+
try {
|
|
191
|
+
hide(global_1, key, value);
|
|
192
|
+
} catch (error) {
|
|
193
|
+
global_1[key] = value;
|
|
194
|
+
} return value;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
var shared = createCommonjsModule(function (module) {
|
|
198
|
+
var SHARED = '__core-js_shared__';
|
|
199
|
+
var store = global_1[SHARED] || setGlobal(SHARED, {});
|
|
200
|
+
|
|
201
|
+
(module.exports = function (key, value) {
|
|
202
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
203
|
+
})('versions', []).push({
|
|
204
|
+
version: '3.1.3',
|
|
205
|
+
mode: 'global',
|
|
206
|
+
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
|
207
|
+
});
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
var functionToString = shared('native-function-to-string', Function.toString);
|
|
211
|
+
|
|
212
|
+
var WeakMap = global_1.WeakMap;
|
|
213
|
+
|
|
214
|
+
var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(functionToString.call(WeakMap));
|
|
215
|
+
|
|
216
|
+
var id = 0;
|
|
217
|
+
var postfix = Math.random();
|
|
218
|
+
|
|
219
|
+
var uid = function (key) {
|
|
220
|
+
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
var keys = shared('keys');
|
|
224
|
+
|
|
225
|
+
var sharedKey = function (key) {
|
|
226
|
+
return keys[key] || (keys[key] = uid(key));
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
var hiddenKeys = {};
|
|
230
|
+
|
|
231
|
+
var WeakMap$1 = global_1.WeakMap;
|
|
232
|
+
var set, get, has$1;
|
|
233
|
+
|
|
234
|
+
var enforce = function (it) {
|
|
235
|
+
return has$1(it) ? get(it) : set(it, {});
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
var getterFor = function (TYPE) {
|
|
239
|
+
return function (it) {
|
|
240
|
+
var state;
|
|
241
|
+
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
242
|
+
throw TypeError('Incompatible receiver, ' + TYPE + ' required');
|
|
243
|
+
} return state;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
if (nativeWeakMap) {
|
|
248
|
+
var store = new WeakMap$1();
|
|
249
|
+
var wmget = store.get;
|
|
250
|
+
var wmhas = store.has;
|
|
251
|
+
var wmset = store.set;
|
|
252
|
+
set = function (it, metadata) {
|
|
253
|
+
wmset.call(store, it, metadata);
|
|
254
|
+
return metadata;
|
|
255
|
+
};
|
|
256
|
+
get = function (it) {
|
|
257
|
+
return wmget.call(store, it) || {};
|
|
258
|
+
};
|
|
259
|
+
has$1 = function (it) {
|
|
260
|
+
return wmhas.call(store, it);
|
|
261
|
+
};
|
|
262
|
+
} else {
|
|
263
|
+
var STATE = sharedKey('state');
|
|
264
|
+
hiddenKeys[STATE] = true;
|
|
265
|
+
set = function (it, metadata) {
|
|
266
|
+
hide(it, STATE, metadata);
|
|
267
|
+
return metadata;
|
|
268
|
+
};
|
|
269
|
+
get = function (it) {
|
|
270
|
+
return has(it, STATE) ? it[STATE] : {};
|
|
271
|
+
};
|
|
272
|
+
has$1 = function (it) {
|
|
273
|
+
return has(it, STATE);
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
var internalState = {
|
|
278
|
+
set: set,
|
|
279
|
+
get: get,
|
|
280
|
+
has: has$1,
|
|
281
|
+
enforce: enforce,
|
|
282
|
+
getterFor: getterFor
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
var redefine = createCommonjsModule(function (module) {
|
|
286
|
+
var getInternalState = internalState.get;
|
|
287
|
+
var enforceInternalState = internalState.enforce;
|
|
288
|
+
var TEMPLATE = String(functionToString).split('toString');
|
|
289
|
+
|
|
290
|
+
shared('inspectSource', function (it) {
|
|
291
|
+
return functionToString.call(it);
|
|
292
|
+
});
|
|
293
|
+
|
|
294
|
+
(module.exports = function (O, key, value, options) {
|
|
295
|
+
var unsafe = options ? !!options.unsafe : false;
|
|
296
|
+
var simple = options ? !!options.enumerable : false;
|
|
297
|
+
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
298
|
+
if (typeof value == 'function') {
|
|
299
|
+
if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key);
|
|
300
|
+
enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
|
|
301
|
+
}
|
|
302
|
+
if (O === global_1) {
|
|
303
|
+
if (simple) O[key] = value;
|
|
304
|
+
else setGlobal(key, value);
|
|
305
|
+
return;
|
|
306
|
+
} else if (!unsafe) {
|
|
307
|
+
delete O[key];
|
|
308
|
+
} else if (!noTargetGet && O[key]) {
|
|
309
|
+
simple = true;
|
|
310
|
+
}
|
|
311
|
+
if (simple) O[key] = value;
|
|
312
|
+
else hide(O, key, value);
|
|
313
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
314
|
+
})(Function.prototype, 'toString', function toString() {
|
|
315
|
+
return typeof this == 'function' && getInternalState(this).source || functionToString.call(this);
|
|
316
|
+
});
|
|
317
|
+
});
|
|
318
|
+
|
|
319
|
+
var path = global_1;
|
|
320
|
+
|
|
321
|
+
var aFunction = function (variable) {
|
|
322
|
+
return typeof variable == 'function' ? variable : undefined;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
var getBuiltIn = function (namespace, method) {
|
|
326
|
+
return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
|
|
327
|
+
: path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
var ceil = Math.ceil;
|
|
331
|
+
var floor = Math.floor;
|
|
332
|
+
|
|
333
|
+
// `ToInteger` abstract operation
|
|
334
|
+
// https://tc39.github.io/ecma262/#sec-tointeger
|
|
335
|
+
var toInteger = function (argument) {
|
|
336
|
+
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
var min = Math.min;
|
|
340
|
+
|
|
341
|
+
// `ToLength` abstract operation
|
|
342
|
+
// https://tc39.github.io/ecma262/#sec-tolength
|
|
343
|
+
var toLength = function (argument) {
|
|
344
|
+
return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
var max = Math.max;
|
|
348
|
+
var min$1 = Math.min;
|
|
349
|
+
|
|
350
|
+
// Helper for a popular repeating case of the spec:
|
|
351
|
+
// Let integer be ? ToInteger(index).
|
|
352
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(length, length).
|
|
353
|
+
var toAbsoluteIndex = function (index, length) {
|
|
354
|
+
var integer = toInteger(index);
|
|
355
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
359
|
+
var createMethod = function (IS_INCLUDES) {
|
|
360
|
+
return function ($this, el, fromIndex) {
|
|
361
|
+
var O = toIndexedObject($this);
|
|
362
|
+
var length = toLength(O.length);
|
|
363
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
364
|
+
var value;
|
|
365
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
366
|
+
// eslint-disable-next-line no-self-compare
|
|
367
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
368
|
+
value = O[index++];
|
|
369
|
+
// eslint-disable-next-line no-self-compare
|
|
370
|
+
if (value != value) return true;
|
|
371
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
372
|
+
} else for (;length > index; index++) {
|
|
373
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
374
|
+
} return !IS_INCLUDES && -1;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
var arrayIncludes = {
|
|
379
|
+
// `Array.prototype.includes` method
|
|
380
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.includes
|
|
381
|
+
includes: createMethod(true),
|
|
382
|
+
// `Array.prototype.indexOf` method
|
|
383
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.indexof
|
|
384
|
+
indexOf: createMethod(false)
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
var indexOf = arrayIncludes.indexOf;
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
var objectKeysInternal = function (object, names) {
|
|
391
|
+
var O = toIndexedObject(object);
|
|
392
|
+
var i = 0;
|
|
393
|
+
var result = [];
|
|
394
|
+
var key;
|
|
395
|
+
for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
|
|
396
|
+
// Don't enum bug & hidden keys
|
|
397
|
+
while (names.length > i) if (has(O, key = names[i++])) {
|
|
398
|
+
~indexOf(result, key) || result.push(key);
|
|
399
|
+
}
|
|
400
|
+
return result;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
// IE8- don't enum bug keys
|
|
404
|
+
var enumBugKeys = [
|
|
405
|
+
'constructor',
|
|
406
|
+
'hasOwnProperty',
|
|
407
|
+
'isPrototypeOf',
|
|
408
|
+
'propertyIsEnumerable',
|
|
409
|
+
'toLocaleString',
|
|
410
|
+
'toString',
|
|
411
|
+
'valueOf'
|
|
412
|
+
];
|
|
413
|
+
|
|
414
|
+
var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
415
|
+
|
|
416
|
+
// `Object.getOwnPropertyNames` method
|
|
417
|
+
// https://tc39.github.io/ecma262/#sec-object.getownpropertynames
|
|
418
|
+
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
419
|
+
return objectKeysInternal(O, hiddenKeys$1);
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
var objectGetOwnPropertyNames = {
|
|
423
|
+
f: f$3
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
var f$4 = Object.getOwnPropertySymbols;
|
|
427
|
+
|
|
428
|
+
var objectGetOwnPropertySymbols = {
|
|
429
|
+
f: f$4
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
// all object keys, includes non-enumerable and symbols
|
|
433
|
+
var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
434
|
+
var keys = objectGetOwnPropertyNames.f(anObject(it));
|
|
435
|
+
var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
|
|
436
|
+
return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
var copyConstructorProperties = function (target, source) {
|
|
440
|
+
var keys = ownKeys(source);
|
|
441
|
+
var defineProperty = objectDefineProperty.f;
|
|
442
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
443
|
+
for (var i = 0; i < keys.length; i++) {
|
|
444
|
+
var key = keys[i];
|
|
445
|
+
if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
var replacement = /#|\.prototype\./;
|
|
450
|
+
|
|
451
|
+
var isForced = function (feature, detection) {
|
|
452
|
+
var value = data[normalize(feature)];
|
|
453
|
+
return value == POLYFILL ? true
|
|
454
|
+
: value == NATIVE ? false
|
|
455
|
+
: typeof detection == 'function' ? fails(detection)
|
|
456
|
+
: !!detection;
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
var normalize = isForced.normalize = function (string) {
|
|
460
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
var data = isForced.data = {};
|
|
464
|
+
var NATIVE = isForced.NATIVE = 'N';
|
|
465
|
+
var POLYFILL = isForced.POLYFILL = 'P';
|
|
466
|
+
|
|
467
|
+
var isForced_1 = isForced;
|
|
468
|
+
|
|
469
|
+
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
/*
|
|
477
|
+
options.target - name of the target object
|
|
478
|
+
options.global - target is the global object
|
|
479
|
+
options.stat - export as static methods of target
|
|
480
|
+
options.proto - export as prototype methods of target
|
|
481
|
+
options.real - real prototype method for the `pure` version
|
|
482
|
+
options.forced - export even if the native feature is available
|
|
483
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
484
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
485
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
486
|
+
options.sham - add a flag to not completely full polyfills
|
|
487
|
+
options.enumerable - export as enumerable property
|
|
488
|
+
options.noTargetGet - prevent calling a getter on target
|
|
489
|
+
*/
|
|
490
|
+
var _export = function (options, source) {
|
|
491
|
+
var TARGET = options.target;
|
|
492
|
+
var GLOBAL = options.global;
|
|
493
|
+
var STATIC = options.stat;
|
|
494
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
495
|
+
if (GLOBAL) {
|
|
496
|
+
target = global_1;
|
|
497
|
+
} else if (STATIC) {
|
|
498
|
+
target = global_1[TARGET] || setGlobal(TARGET, {});
|
|
499
|
+
} else {
|
|
500
|
+
target = (global_1[TARGET] || {}).prototype;
|
|
501
|
+
}
|
|
502
|
+
if (target) for (key in source) {
|
|
503
|
+
sourceProperty = source[key];
|
|
504
|
+
if (options.noTargetGet) {
|
|
505
|
+
descriptor = getOwnPropertyDescriptor$1(target, key);
|
|
506
|
+
targetProperty = descriptor && descriptor.value;
|
|
507
|
+
} else targetProperty = target[key];
|
|
508
|
+
FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
509
|
+
// contained in target
|
|
510
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
511
|
+
if (typeof sourceProperty === typeof targetProperty) continue;
|
|
512
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
513
|
+
}
|
|
514
|
+
// add a flag to not completely full polyfills
|
|
515
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
516
|
+
hide(sourceProperty, 'sham', true);
|
|
517
|
+
}
|
|
518
|
+
// extend global
|
|
519
|
+
redefine(target, key, sourceProperty, options);
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
var aFunction$1 = function (it) {
|
|
524
|
+
if (typeof it != 'function') {
|
|
525
|
+
throw TypeError(String(it) + ' is not a function');
|
|
526
|
+
} return it;
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
// optional / simple context binding
|
|
530
|
+
var bindContext = function (fn, that, length) {
|
|
531
|
+
aFunction$1(fn);
|
|
532
|
+
if (that === undefined) return fn;
|
|
533
|
+
switch (length) {
|
|
534
|
+
case 0: return function () {
|
|
535
|
+
return fn.call(that);
|
|
536
|
+
};
|
|
537
|
+
case 1: return function (a) {
|
|
538
|
+
return fn.call(that, a);
|
|
539
|
+
};
|
|
540
|
+
case 2: return function (a, b) {
|
|
541
|
+
return fn.call(that, a, b);
|
|
542
|
+
};
|
|
543
|
+
case 3: return function (a, b, c) {
|
|
544
|
+
return fn.call(that, a, b, c);
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
return function (/* ...args */) {
|
|
548
|
+
return fn.apply(that, arguments);
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
// `ToObject` abstract operation
|
|
553
|
+
// https://tc39.github.io/ecma262/#sec-toobject
|
|
554
|
+
var toObject = function (argument) {
|
|
555
|
+
return Object(requireObjectCoercible(argument));
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
// `IsArray` abstract operation
|
|
559
|
+
// https://tc39.github.io/ecma262/#sec-isarray
|
|
560
|
+
var isArray = Array.isArray || function isArray(arg) {
|
|
561
|
+
return classofRaw(arg) == 'Array';
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
565
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
566
|
+
// eslint-disable-next-line no-undef
|
|
567
|
+
return !String(Symbol());
|
|
568
|
+
});
|
|
569
|
+
|
|
570
|
+
var Symbol$1 = global_1.Symbol;
|
|
571
|
+
var store$1 = shared('wks');
|
|
572
|
+
|
|
573
|
+
var wellKnownSymbol = function (name) {
|
|
574
|
+
return store$1[name] || (store$1[name] = nativeSymbol && Symbol$1[name]
|
|
575
|
+
|| (nativeSymbol ? Symbol$1 : uid)('Symbol.' + name));
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
var SPECIES = wellKnownSymbol('species');
|
|
579
|
+
|
|
580
|
+
// `ArraySpeciesCreate` abstract operation
|
|
581
|
+
// https://tc39.github.io/ecma262/#sec-arrayspeciescreate
|
|
582
|
+
var arraySpeciesCreate = function (originalArray, length) {
|
|
583
|
+
var C;
|
|
584
|
+
if (isArray(originalArray)) {
|
|
585
|
+
C = originalArray.constructor;
|
|
586
|
+
// cross-realm fallback
|
|
587
|
+
if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
|
|
588
|
+
else if (isObject(C)) {
|
|
589
|
+
C = C[SPECIES];
|
|
590
|
+
if (C === null) C = undefined;
|
|
591
|
+
}
|
|
592
|
+
} return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
var push = [].push;
|
|
596
|
+
|
|
597
|
+
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
|
|
598
|
+
var createMethod$1 = function (TYPE) {
|
|
599
|
+
var IS_MAP = TYPE == 1;
|
|
600
|
+
var IS_FILTER = TYPE == 2;
|
|
601
|
+
var IS_SOME = TYPE == 3;
|
|
602
|
+
var IS_EVERY = TYPE == 4;
|
|
603
|
+
var IS_FIND_INDEX = TYPE == 6;
|
|
604
|
+
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
605
|
+
return function ($this, callbackfn, that, specificCreate) {
|
|
606
|
+
var O = toObject($this);
|
|
607
|
+
var self = indexedObject(O);
|
|
608
|
+
var boundFunction = bindContext(callbackfn, that, 3);
|
|
609
|
+
var length = toLength(self.length);
|
|
610
|
+
var index = 0;
|
|
611
|
+
var create = specificCreate || arraySpeciesCreate;
|
|
612
|
+
var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
|
|
613
|
+
var value, result;
|
|
614
|
+
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
615
|
+
value = self[index];
|
|
616
|
+
result = boundFunction(value, index, O);
|
|
617
|
+
if (TYPE) {
|
|
618
|
+
if (IS_MAP) target[index] = result; // map
|
|
619
|
+
else if (result) switch (TYPE) {
|
|
620
|
+
case 3: return true; // some
|
|
621
|
+
case 5: return value; // find
|
|
622
|
+
case 6: return index; // findIndex
|
|
623
|
+
case 2: push.call(target, value); // filter
|
|
624
|
+
} else if (IS_EVERY) return false; // every
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
var arrayIteration = {
|
|
632
|
+
// `Array.prototype.forEach` method
|
|
633
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.foreach
|
|
634
|
+
forEach: createMethod$1(0),
|
|
635
|
+
// `Array.prototype.map` method
|
|
636
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.map
|
|
637
|
+
map: createMethod$1(1),
|
|
638
|
+
// `Array.prototype.filter` method
|
|
639
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.filter
|
|
640
|
+
filter: createMethod$1(2),
|
|
641
|
+
// `Array.prototype.some` method
|
|
642
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.some
|
|
643
|
+
some: createMethod$1(3),
|
|
644
|
+
// `Array.prototype.every` method
|
|
645
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.every
|
|
646
|
+
every: createMethod$1(4),
|
|
647
|
+
// `Array.prototype.find` method
|
|
648
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.find
|
|
649
|
+
find: createMethod$1(5),
|
|
650
|
+
// `Array.prototype.findIndex` method
|
|
651
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
|
|
652
|
+
findIndex: createMethod$1(6)
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
// `Object.keys` method
|
|
656
|
+
// https://tc39.github.io/ecma262/#sec-object.keys
|
|
657
|
+
var objectKeys = Object.keys || function keys(O) {
|
|
658
|
+
return objectKeysInternal(O, enumBugKeys);
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
// `Object.defineProperties` method
|
|
662
|
+
// https://tc39.github.io/ecma262/#sec-object.defineproperties
|
|
663
|
+
var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
664
|
+
anObject(O);
|
|
665
|
+
var keys = objectKeys(Properties);
|
|
666
|
+
var length = keys.length;
|
|
667
|
+
var index = 0;
|
|
668
|
+
var key;
|
|
669
|
+
while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
|
|
670
|
+
return O;
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
var html = getBuiltIn('document', 'documentElement');
|
|
674
|
+
|
|
675
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
676
|
+
|
|
677
|
+
var PROTOTYPE = 'prototype';
|
|
678
|
+
var Empty = function () { /* empty */ };
|
|
679
|
+
|
|
680
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
681
|
+
var createDict = function () {
|
|
682
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
683
|
+
var iframe = documentCreateElement('iframe');
|
|
684
|
+
var length = enumBugKeys.length;
|
|
685
|
+
var lt = '<';
|
|
686
|
+
var script = 'script';
|
|
687
|
+
var gt = '>';
|
|
688
|
+
var js = 'java' + script + ':';
|
|
689
|
+
var iframeDocument;
|
|
690
|
+
iframe.style.display = 'none';
|
|
691
|
+
html.appendChild(iframe);
|
|
692
|
+
iframe.src = String(js);
|
|
693
|
+
iframeDocument = iframe.contentWindow.document;
|
|
694
|
+
iframeDocument.open();
|
|
695
|
+
iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt);
|
|
696
|
+
iframeDocument.close();
|
|
697
|
+
createDict = iframeDocument.F;
|
|
698
|
+
while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]];
|
|
699
|
+
return createDict();
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
// `Object.create` method
|
|
703
|
+
// https://tc39.github.io/ecma262/#sec-object.create
|
|
704
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
|
705
|
+
var result;
|
|
706
|
+
if (O !== null) {
|
|
707
|
+
Empty[PROTOTYPE] = anObject(O);
|
|
708
|
+
result = new Empty();
|
|
709
|
+
Empty[PROTOTYPE] = null;
|
|
710
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
711
|
+
result[IE_PROTO] = O;
|
|
712
|
+
} else result = createDict();
|
|
713
|
+
return Properties === undefined ? result : objectDefineProperties(result, Properties);
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
hiddenKeys[IE_PROTO] = true;
|
|
717
|
+
|
|
718
|
+
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
719
|
+
var ArrayPrototype = Array.prototype;
|
|
720
|
+
|
|
721
|
+
// Array.prototype[@@unscopables]
|
|
722
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
|
|
723
|
+
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
724
|
+
hide(ArrayPrototype, UNSCOPABLES, objectCreate(null));
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
// add a key to Array.prototype[@@unscopables]
|
|
728
|
+
var addToUnscopables = function (key) {
|
|
729
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
var $find = arrayIteration.find;
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
var FIND = 'find';
|
|
736
|
+
var SKIPS_HOLES = true;
|
|
737
|
+
|
|
738
|
+
// Shouldn't skip holes
|
|
739
|
+
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
740
|
+
|
|
741
|
+
// `Array.prototype.find` method
|
|
742
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.find
|
|
743
|
+
_export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
744
|
+
find: function find(callbackfn /* , that = undefined */) {
|
|
745
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
746
|
+
}
|
|
747
|
+
});
|
|
748
|
+
|
|
749
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
|
|
750
|
+
addToUnscopables(FIND);
|
|
751
|
+
|
|
752
|
+
function _classCallCheck(instance, Constructor) {
|
|
753
|
+
if (!(instance instanceof Constructor)) {
|
|
754
|
+
throw new TypeError("Cannot call a class as a function");
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
function _defineProperties(target, props) {
|
|
759
|
+
for (var i = 0; i < props.length; i++) {
|
|
760
|
+
var descriptor = props[i];
|
|
761
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
762
|
+
descriptor.configurable = true;
|
|
763
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
764
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
769
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
770
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
771
|
+
return Constructor;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
function _inherits(subClass, superClass) {
|
|
775
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
776
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
780
|
+
constructor: {
|
|
781
|
+
value: subClass,
|
|
782
|
+
writable: true,
|
|
783
|
+
configurable: true
|
|
784
|
+
}
|
|
785
|
+
});
|
|
786
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
function _getPrototypeOf(o) {
|
|
790
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
791
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
792
|
+
};
|
|
793
|
+
return _getPrototypeOf(o);
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
function _setPrototypeOf(o, p) {
|
|
797
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
798
|
+
o.__proto__ = p;
|
|
799
|
+
return o;
|
|
800
|
+
};
|
|
801
|
+
|
|
802
|
+
return _setPrototypeOf(o, p);
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
function _assertThisInitialized(self) {
|
|
806
|
+
if (self === void 0) {
|
|
807
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
return self;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
function _possibleConstructorReturn(self, call) {
|
|
814
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
815
|
+
return call;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
return _assertThisInitialized(self);
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
function _superPropBase(object, property) {
|
|
822
|
+
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
|
823
|
+
object = _getPrototypeOf(object);
|
|
824
|
+
if (object === null) break;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
return object;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
function _get(target, property, receiver) {
|
|
831
|
+
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
832
|
+
_get = Reflect.get;
|
|
833
|
+
} else {
|
|
834
|
+
_get = function _get(target, property, receiver) {
|
|
835
|
+
var base = _superPropBase(target, property);
|
|
836
|
+
|
|
837
|
+
if (!base) return;
|
|
838
|
+
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
839
|
+
|
|
840
|
+
if (desc.get) {
|
|
841
|
+
return desc.get.call(receiver);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
return desc.value;
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
return _get(target, property, receiver || target);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* @author zhixin wen <wenzhixin2010@gmail.com>
|
|
853
|
+
* https://github.com/wenzhixin/bootstrap-table/
|
|
854
|
+
* theme: https://github.com/jgthms/bulma/
|
|
855
|
+
*/
|
|
856
|
+
|
|
857
|
+
$.extend($.fn.bootstrapTable.defaults, {
|
|
858
|
+
classes: 'table is-bordered is-hoverable',
|
|
859
|
+
buttonsPrefix: '',
|
|
860
|
+
buttonsClass: 'button'
|
|
861
|
+
});
|
|
862
|
+
$.fn.bootstrapTable.theme = 'bulma';
|
|
863
|
+
|
|
864
|
+
$.BootstrapTable =
|
|
865
|
+
/*#__PURE__*/
|
|
866
|
+
function (_$$BootstrapTable) {
|
|
867
|
+
_inherits(_class, _$$BootstrapTable);
|
|
868
|
+
|
|
869
|
+
function _class() {
|
|
870
|
+
_classCallCheck(this, _class);
|
|
871
|
+
|
|
872
|
+
return _possibleConstructorReturn(this, _getPrototypeOf(_class).apply(this, arguments));
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
_createClass(_class, [{
|
|
876
|
+
key: "initConstants",
|
|
877
|
+
value: function initConstants() {
|
|
878
|
+
_get(_getPrototypeOf(_class.prototype), "initConstants", this).call(this);
|
|
879
|
+
|
|
880
|
+
this.constants.classes.buttonsGroup = 'buttons has-addons';
|
|
881
|
+
this.constants.classes.buttonsDropdown = 'button dropdown is-right';
|
|
882
|
+
this.constants.classes.input = 'input';
|
|
883
|
+
this.constants.classes.paginationDropdown = 'ui dropdown';
|
|
884
|
+
this.constants.classes.dropup = 'is-up';
|
|
885
|
+
this.constants.classes.dropdownActive = 'is-active';
|
|
886
|
+
this.constants.classes.paginationActive = 'is-current';
|
|
887
|
+
this.constants.classes.buttonActive = 'is-active';
|
|
888
|
+
this.constants.html.toolbarDropdown = ['<div class="dropdown-menu"><div class="dropdown-content">', '</div></div>'];
|
|
889
|
+
this.constants.html.toolbarDropdownItem = '<label class="dropdown-item">%s</label>';
|
|
890
|
+
this.constants.html.toolbarDropdownSeperator = '<li class="dropdown-divider"></li>';
|
|
891
|
+
this.constants.html.pageDropdown = ['<div class="dropdown-menu"><div class="dropdown-content">', '</div></div>'];
|
|
892
|
+
this.constants.html.pageDropdownItem = '<a class="dropdown-item %s" href="#">%s</a>';
|
|
893
|
+
this.constants.html.dropdownCaret = '<span class="icon is-small"><i class="fas fa-angle-down" aria-hidden="true"></i></span>';
|
|
894
|
+
this.constants.html.pagination = ['<ul class="pagination%s">', '</ul>'];
|
|
895
|
+
this.constants.html.paginationItem = '<li><a class="page-item pagination-link%s" aria-label="%s" href="#">%s</a></li>';
|
|
896
|
+
this.constants.html.searchInput = '<p class="control"><input class="%s input-%s" type="text" placeholder="%s"></p>';
|
|
897
|
+
this.constants.html.inputGroup = '<div class="field has-addons has-addons-right">%s%s</div>';
|
|
898
|
+
this.constants.html.searchButton = '<p class="control"><button class="%s" type="button" name="search" title="%s">%s %s</button></p>';
|
|
899
|
+
this.constants.html.searchClearButton = '<p class="control"><button class="%s" type="button" name="clearSearch" title="%s">%s %s</button></p>';
|
|
900
|
+
}
|
|
901
|
+
}, {
|
|
902
|
+
key: "initToolbar",
|
|
903
|
+
value: function initToolbar() {
|
|
904
|
+
_get(_getPrototypeOf(_class.prototype), "initToolbar", this).call(this);
|
|
905
|
+
|
|
906
|
+
this.handleToolbar();
|
|
907
|
+
}
|
|
908
|
+
}, {
|
|
909
|
+
key: "handleToolbar",
|
|
910
|
+
value: function handleToolbar() {
|
|
911
|
+
if (this.$toolbar.find('.dropdown').length) {
|
|
912
|
+
this._initDropdown();
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
}, {
|
|
916
|
+
key: "initPagination",
|
|
917
|
+
value: function initPagination() {
|
|
918
|
+
_get(_getPrototypeOf(_class.prototype), "initPagination", this).call(this);
|
|
919
|
+
|
|
920
|
+
if (this.options.pagination && !this.options.onlyInfoPagination) {
|
|
921
|
+
this._initDropdown();
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}, {
|
|
925
|
+
key: "_initDropdown",
|
|
926
|
+
value: function _initDropdown() {
|
|
927
|
+
var $dropdowns = this.$container.find('.dropdown:not(.is-hoverable)');
|
|
928
|
+
$dropdowns.off('click').on('click', function (e) {
|
|
929
|
+
var $this = $(e.currentTarget);
|
|
930
|
+
e.stopPropagation();
|
|
931
|
+
$dropdowns.not($this).removeClass('is-active');
|
|
932
|
+
$this.toggleClass('is-active');
|
|
933
|
+
});
|
|
934
|
+
$(document).off('click.bs.dropdown.bulma').on('click.bs.dropdown.bulma', function () {
|
|
935
|
+
$dropdowns.removeClass('is-active');
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
}]);
|
|
939
|
+
|
|
940
|
+
return _class;
|
|
941
|
+
}($.BootstrapTable);
|
|
942
|
+
|
|
943
|
+
}));
|