From f66ade145b64f1d0cb8100782e75b8dd63fabc44 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Fri, 13 Nov 2020 11:55:33 +0100 Subject: [PATCH 01/77] remove unnecessary code --- src/bootstrap-table.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 1d5d598b6f..559210e125 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -381,16 +381,6 @@ class BootstrapTable { } }) - this.$header.children().children().off('keypress').on('keypress', e => { - if (this.options.sortable && $(e.currentTarget).data().sortable) { - const code = e.keyCode || e.which - - if (code === 13) { // Enter keycode - this.onSort(e) - } - } - }) - const resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id')) $(window).off(resizeEvent) From 2ef4e2265809e6fb5373ff35d1599256c2ec7a63 Mon Sep 17 00:00:00 2001 From: Aurelien David Date: Sat, 31 Aug 2019 17:56:46 +0200 Subject: [PATCH 02/77] keep opened details on update/insert related to #1899, #1498, #1603 --- src/bootstrap-table.js | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 1f5e56ba05..4646254419 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1634,7 +1634,7 @@ class BootstrapTable { return html.join('') } - initBody (fixedScroll) { + initBody (fixedScroll, updatedUid) { const data = this.getData() this.trigger('pre-body', data) @@ -1653,15 +1653,34 @@ class BootstrapTable { const rows = [] const trFragments = $(document.createDocumentFragment()) let hasTr = false + const toExpand = [] this.autoMergeCells = Utils.checkAutoMergeCells(data.slice(this.pageFrom - 1, this.pageTo)) for (let i = this.pageFrom - 1; i < this.pageTo; i++) { const item = data[i] - const tr = this.initRow(item, i, data, trFragments) + let tr = this.initRow(item, i, data, trFragments) hasTr = hasTr || !!tr if (tr && typeof tr === 'string') { + + const uniqueId = this.options.uniqueId + if (uniqueId && item.hasOwnProperty(uniqueId)) { + const itemUniqueId = item[uniqueId] + + const oldTr = this.$body.find(Utils.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]', itemUniqueId)) + + if (oldTr.next().is('tr.detail-view')) { + + toExpand.push(i) + + if (updatedUid && itemUniqueId === updatedUid) { + } else { + tr += oldTr.next()[0].outerHTML + } + } + } + if (!this.options.virtualScroll) { trFragments.append(tr) } else { @@ -1694,6 +1713,8 @@ class BootstrapTable { }) } + toExpand.forEach((index) => { this.expandRow(index) }) + if (!fixedScroll) { this.scrollTo(0) } @@ -2512,6 +2533,7 @@ class BootstrapTable { updateByUniqueId (params) { const allParams = Array.isArray(params) ? params : [params] + var updatedUid = null for (const params of allParams) { if (!params.hasOwnProperty('id') || !params.hasOwnProperty('row')) { @@ -2529,12 +2551,13 @@ class BootstrapTable { } else { $.extend(this.options.data[rowId], params.row) } + updatedUid = params.id } this.initSearch() this.initPagination() this.initSort() - this.initBody(true) + this.initBody(true, updatedUid) } removeByUniqueId (id) { @@ -3112,14 +3135,14 @@ class BootstrapTable { const row = this.data[index] const $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"][data-has-detail-view]', index)) - if ($tr.next().is('tr.detail-view')) { - return - } - if (this.options.detailViewIcon) { $tr.find('a.detail-icon').html(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailClose)) } + if ($tr.next().is('tr.detail-view')) { + return + } + $tr.after(Utils.sprintf('', $tr.children('td').length)) const $element = $tr.next().find('td') From b0b3d857d0a6856b88ab1bf4317f21966aec182c Mon Sep 17 00:00:00 2001 From: Aurelien David Date: Fri, 18 Dec 2020 13:43:59 +0100 Subject: [PATCH 03/77] addressing code review and lint errors in PR #5494 --- src/bootstrap-table.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 4646254419..2ef18364ba 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1665,18 +1665,19 @@ class BootstrapTable { if (tr && typeof tr === 'string') { const uniqueId = this.options.uniqueId + if (uniqueId && item.hasOwnProperty(uniqueId)) { const itemUniqueId = item[uniqueId] const oldTr = this.$body.find(Utils.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]', itemUniqueId)) + const oldTrNext = oldTr.next() - if (oldTr.next().is('tr.detail-view')) { + if (oldTrNext.is('tr.detail-view')) { toExpand.push(i) - if (updatedUid && itemUniqueId === updatedUid) { - } else { - tr += oldTr.next()[0].outerHTML + if (!updatedUid || itemUniqueId !== updatedUid) { + tr += oldTrNext[0].outerHTML } } } @@ -1713,7 +1714,7 @@ class BootstrapTable { }) } - toExpand.forEach((index) => { this.expandRow(index) }) + toExpand.forEach(index => { this.expandRow(index) }) if (!fixedScroll) { this.scrollTo(0) @@ -2533,7 +2534,7 @@ class BootstrapTable { updateByUniqueId (params) { const allParams = Array.isArray(params) ? params : [params] - var updatedUid = null + let updatedUid = null for (const params of allParams) { if (!params.hasOwnProperty('id') || !params.hasOwnProperty('row')) { From cecf35170cf5d8bee1b65eadd0cb98519f7a8af2 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Fri, 2 Apr 2021 03:45:07 +0200 Subject: [PATCH 04/77] Fix/5666 (#5667) * Added an parameter to decide if the check by function should be applied to the whole dataset or just to the visible data * Added documentation --- site/docs/api/methods.md | 2 ++ src/bootstrap-table.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/site/docs/api/methods.md b/site/docs/api/methods.md index e6573f61a8..72d4fc4107 100644 --- a/site/docs/api/methods.md +++ b/site/docs/api/methods.md @@ -48,6 +48,7 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter)`. * `field`: name of the field used to find records. * `values`: array of values for rows to check. + * `onlyCurrentPage (default false)`: If `true` only the visible dataset will be checked. If pagination is used the other pages will be ignored. - **Example:** [Check/Uncheck By](https://examples.bootstrap-table.com/#methods/check-uncheck-by.html) @@ -578,6 +579,7 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter)`. * `field`: name of the field used to find records. * `values`: array of values for rows to uncheck. + * `onlyCurrentPage (default false)`: If `true` only the visible dataset will be unchecked. If pagination is used the other pages will be ignored. - **Example:** [Check/Uncheck By](https://examples.bootstrap-table.com/#methods/check-uncheck-by.html) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 130b6cb98b..cdda26b1d7 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -2906,10 +2906,11 @@ class BootstrapTable { if (obj.values.includes(row[obj.field])) { let $el = this.$selectItem.filter(':enabled') .filter(Utils.sprintf('[data-index="%s"]', i)) + const onlyCurrentPage = obj.hasOwnProperty('onlyCurrentPage') ? obj.onlyCurrentPage : false $el = checked ? $el.not(':checked') : $el.filter(':checked') - if (!$el.length) { + if (!$el.length && onlyCurrentPage) { return } From 6a6454053e88114bcaf5fd4700162f0bf4fae5ad Mon Sep 17 00:00:00 2001 From: zhixin Date: Sat, 10 Apr 2021 15:11:40 +0800 Subject: [PATCH 05/77] Fixed vue component cannot work --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f15d3437cf..80b350ff56 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "rollup-plugin-multi-entry": "^2.1.0", "rollup-plugin-node-resolve": "^5.0.4", "rollup-plugin-terser": "^7.0.0", - "rollup-plugin-vue": "6.0.0", + "rollup-plugin-vue": "5.1.9", "stylelint": "^13.3.3", "stylelint-config-standard": "^21.0.0", "vue-template-compiler": "^2.6.10" From 5ff2926753f0465f6e33a25ff0ae85815543d7ee Mon Sep 17 00:00:00 2001 From: zhixin Date: Sat, 10 Apr 2021 15:33:20 +0800 Subject: [PATCH 06/77] Fixed jump-to display bug in bootstrap v3 --- .../page-jump-to/bootstrap-table-page-jump-to.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/extensions/page-jump-to/bootstrap-table-page-jump-to.scss b/src/extensions/page-jump-to/bootstrap-table-page-jump-to.scss index 4f8cb5cca4..c84930b7d9 100644 --- a/src/extensions/page-jump-to/bootstrap-table-page-jump-to.scss +++ b/src/extensions/page-jump-to/bootstrap-table-page-jump-to.scss @@ -1,6 +1,10 @@ -.bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination ul.pagination, -.bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination .page-jump-to { - display: inline; +.bootstrap-table.bootstrap3 .fixed-table-pagination > .pagination { + .page-jump-to { + display: inline-block; + } + .input-group-btn { + width: auto; + } } .bootstrap-table .fixed-table-pagination > .pagination .page-jump-to input { From c0b1e897b5866dda844005ac25839cf8dd4c441f Mon Sep 17 00:00:00 2001 From: zhixin Date: Sat, 10 Apr 2021 15:55:58 +0800 Subject: [PATCH 07/77] Fixed infinite loop error with wrong server side pagination metadata --- src/bootstrap-table.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index cdda26b1d7..aa08884222 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1943,6 +1943,7 @@ class BootstrapTable { if ( this.options.sidePagination === 'server' && + this.options.pageNumber > 1 && res[this.options.totalField] > 0 && !res[this.options.dataField].length ) { From 7533354af13423e843ff9593700a59976138a214 Mon Sep 17 00:00:00 2001 From: zhixin Date: Sat, 10 Apr 2021 16:36:26 +0800 Subject: [PATCH 08/77] Added local develop readme --- README.md | 16 ++++++++++++++++ rollup.config.js | 2 ++ 2 files changed, 18 insertions(+) diff --git a/README.md b/README.md index 3f2a4b41bb..a21a8e5356 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,22 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR Look at the [Change Log](https://github.com/wenzhixin/bootstrap-table/blob/master/CHANGELOG.md) +## Local develop + +To develop bootstrap-table locally please run: + +```bash +mkdir bootstrap-table-dev +cd bootstrap-table-dev +git clone https://github.com/wenzhixin/bootstrap-table +git clone https://github.com/wenzhixin/bootstrap-table-examples + +yarn add http-server +npx http-server +``` + +And then open: http://localhost:8081/bootstrap-table-examples + ## Local build To build bootstrap-table locally please run: diff --git a/rollup.config.js b/rollup.config.js index b2323d038f..cfe3fbddd2 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -51,6 +51,7 @@ if (process.env.NODE_ENV === 'production') { for (const file of files) { let out = `dist/${file.replace('src/', '')}` + if (process.env.NODE_ENV === 'production') { out = out.replace(/.js$/, '.min.js') } @@ -68,6 +69,7 @@ for (const file of files) { } let out = 'dist/bootstrap-table-locale-all.js' + if (process.env.NODE_ENV === 'production') { out = out.replace(/.js$/, '.min.js') } From fb71d8b8bf3940c33611de92d6766d280b166122 Mon Sep 17 00:00:00 2001 From: zhixin Date: Sun, 11 Apr 2021 16:41:19 +0800 Subject: [PATCH 09/77] Fixed print formatter bug --- src/extensions/print/bootstrap-table-print.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extensions/print/bootstrap-table-print.js b/src/extensions/print/bootstrap-table-print.js index e4c2d95c9e..533d3c69b3 100644 --- a/src/extensions/print/bootstrap-table-print.js +++ b/src/extensions/print/bootstrap-table-print.js @@ -134,7 +134,8 @@ $.BootstrapTable = class extends $.BootstrapTable { doPrint (data) { const formatValue = (row, i, column) => { - const value = Utils.calculateObjectValue(column, column.printFormatter, + const value = Utils.calculateObjectValue(column, + column.printFormatter || column.formatter, [row[column.field], row, i], row[column.field]) return typeof value === 'undefined' || value === null ? From 8db4dc821bf2053a02e536b293c265184deb8741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E7=BF=BC?= Date: Thu, 15 Apr 2021 11:36:18 +0800 Subject: [PATCH 10/77] Fixed reorder-rows not work property (#5682) --- .../reorder-rows/bootstrap-table-reorder-rows.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js b/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js index 6fd7fcc9a0..f4abfe1546 100644 --- a/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js +++ b/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js @@ -93,10 +93,26 @@ $.BootstrapTable = class extends $.BootstrapTable { this.options.data.splice(this.options.data.indexOf(draggingRow), 1) this.options.data.splice(index, 0, draggingRow) + this.initSearch() + // Call the user defined function this.options.onReorderRowsDrop(droppedRow) // Call the event reorder-row this.trigger('reorder-row', newData, draggingRow, droppedRow) } + + initSearch () { + this.ignoreInitSort = true + super.initSearch() + } + + initSort () { + if (this.ignoreInitSort) { + this.ignoreInitSort = false + return + } + + super.initSort() + } } From 021768e6b7344d34d23a2f68fca2170f80370d26 Mon Sep 17 00:00:00 2001 From: David Zhuang Date: Mon, 19 Apr 2021 16:47:52 -0400 Subject: [PATCH 11/77] Update API Docs: point out suppression of footerField explicitly (#5625) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dennis Hernández --- site/docs/api/table-options.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/docs/api/table-options.md b/site/docs/api/table-options.md index 6ff34fcbac..503abbf5ef 100644 --- a/site/docs/api/table-options.md +++ b/site/docs/api/table-options.md @@ -538,6 +538,8 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`. Defines the key of the footer Object (From data array or server response json). The footer Object can be used to set/define footer colspans and/or the value of the footer. + Only triggered when `data-pagination` is `true` and `data-side-pagination` is `server`. + {% highlight javascript %} { From 7a2aa8d28eb3d08acc197aba6be693faa1fc23eb Mon Sep 17 00:00:00 2001 From: "cesaralejandro.nieto.ramirez" Date: Tue, 20 Apr 2021 13:30:27 -0500 Subject: [PATCH 12/77] when there are two or more rows and they have different sizes, the cells are corrected sizes --- .../sticky-header/bootstrap-table-sticky-header.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/extensions/sticky-header/bootstrap-table-sticky-header.js b/src/extensions/sticky-header/bootstrap-table-sticky-header.js index 21c6e7ec48..48ef9a87de 100644 --- a/src/extensions/sticky-header/bootstrap-table-sticky-header.js +++ b/src/extensions/sticky-header/bootstrap-table-sticky-header.js @@ -107,9 +107,16 @@ $.BootstrapTable = class extends $.BootstrapTable { // show sticky when top anchor touches header, and when bottom anchor not exceeded if (top > start && top <= end) { // ensure clone and source column widths are the same - this.$stickyHeader.find('tr:eq(0)').find('th').each((index, el) => { - $(el).css('min-width', this.$header.find('tr:eq(0)').find('th').eq(index).css('width')) - }) + // this.$stickyHeader.find('tr:eq(0)').find('th').each((index, el) => { + // $(el).css('min-width', this.$header.find('tr:eq(0)').find('th').eq(index).css('width')) + // }) + // "y" axis + this.$stickyHeader.find('tr').map(function(index, el) { + var axis_x = $(el).find('th'); + axis_x.each(function(indexX, elX) { + $__default['default'](elX).css('min-width', _this4.$header.find('tr:eq('+index+')').find('th:eq('+ indexX+')').css('width')); + }); + }); // match bootstrap table style this.$stickyContainer.show().addClass('fix-sticky fixed-table-container') // stick it in position From ebb4aa5ea29f0d595211a6ac90ce25f8bc418667 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Thu, 22 Apr 2021 23:28:34 +0200 Subject: [PATCH 13/77] Added an check, if each attribute has a "data-" prefix --- tools/check-api.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/check-api.js b/tools/check-api.js index 259260a0d3..0c10554829 100644 --- a/tools/check-api.js +++ b/tools/check-api.js @@ -7,6 +7,7 @@ let errorSum = 0 const exampleFilesFolder = './bootstrap-table-examples/' const exampleFilesFound = fs.existsSync(exampleFilesFolder) let exampleFiles = [] + if (exampleFilesFound) { exampleFiles = [ ...fs.readdirSync(exampleFilesFolder + 'welcomes'), @@ -38,6 +39,7 @@ class API { const outLines = lines.slice(0, 1) const errors = [] const exampleRegex = /\[.*\]\(.*\/(.*\.html)\)/m + const attributeRegex = /\*\*Attribute:\*\*\s`(.*)data-(.*)`/m for (const item of lines.slice(1)) { md[item.split('\n')[0]] = item @@ -52,6 +54,7 @@ class API { for (let i = 0; i < this.attributes.length; i++) { const name = this.attributes[i] + if (this.ignore && this.ignore[key] && this.ignore[key].includes(name)) { continue } @@ -67,6 +70,13 @@ class API { if (!exampleFiles.includes(matches[1])) { errors.push(chalk.red(`[${key}] example '${matches[1]}' could not be found`)) } + } else if (name === 'Attribute' && key !== 'columns') { + const attributeMatches = attributeRegex.exec(tmpDetails) + + if (!attributeMatches) { + errors.push(chalk.red(`[${key}] missing or wrong formatted attribute`, `"${tmpDetails}"`)) + continue + } } if (!tmpDetails || tmpDetails.indexOf(`**${name}:**`) === -1) { From 57c9dce2215e4bab6f976158b9e12c1bc069288d Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Thu, 22 Apr 2021 23:28:52 +0200 Subject: [PATCH 14/77] fixed attribute documentation (missing "data-" prefixes --- site/docs/api/table-options.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/docs/api/table-options.md b/site/docs/api/table-options.md index 503abbf5ef..2cc3e174e5 100644 --- a/site/docs/api/table-options.md +++ b/site/docs/api/table-options.md @@ -1296,7 +1296,7 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`. ## showButtonIcons -- **Attribute:** `show-button-icons` +- **Attribute:** `data-show-button-icons` - **Type:** `Boolean` @@ -1310,7 +1310,7 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`. ## showButtonText -- **Attribute:** `show-button-text` +- **Attribute:** `data-show-button-text` - **Type:** `Boolean` @@ -1842,7 +1842,7 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`. ## visibleSearch -- **Attribute:** `visible-search` +- **Attribute:** `data-visible-search` - **Type:** `Boolean` From 6a40d9ee3b8530a07d0e5d2cf6eb8e7d9cc098b6 Mon Sep 17 00:00:00 2001 From: "cesaralejandro.nieto.ramirez" Date: Fri, 23 Apr 2021 17:04:56 -0500 Subject: [PATCH 15/77] Bug fixes with eslint --- .../bootstrap-table-sticky-header.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/extensions/sticky-header/bootstrap-table-sticky-header.js b/src/extensions/sticky-header/bootstrap-table-sticky-header.js index 48ef9a87de..fe1e55e8c6 100644 --- a/src/extensions/sticky-header/bootstrap-table-sticky-header.js +++ b/src/extensions/sticky-header/bootstrap-table-sticky-header.js @@ -107,16 +107,13 @@ $.BootstrapTable = class extends $.BootstrapTable { // show sticky when top anchor touches header, and when bottom anchor not exceeded if (top > start && top <= end) { // ensure clone and source column widths are the same - // this.$stickyHeader.find('tr:eq(0)').find('th').each((index, el) => { - // $(el).css('min-width', this.$header.find('tr:eq(0)').find('th').eq(index).css('width')) - // }) - // "y" axis - this.$stickyHeader.find('tr').map(function(index, el) { - var axis_x = $(el).find('th'); - axis_x.each(function(indexX, elX) { - $__default['default'](elX).css('min-width', _this4.$header.find('tr:eq('+index+')').find('th:eq('+ indexX+')').css('width')); - }); - }); + this.$stickyHeader.find('tr').each((indexRows, rows) => { + const columns = $(rows).find('th') + + columns.each((indexColumns, celd) => { + $(celd).css('min-width', this.$header.find(`tr:eq(${indexRows})`).find(`th:eq(${indexColumns})`).css('width')) + }) + }) // match bootstrap table style this.$stickyContainer.show().addClass('fix-sticky fixed-table-container') // stick it in position From 2461c66a7b02a576ebb490fb5f8c32b4caefcf85 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Mon, 26 Apr 2021 19:23:32 +0200 Subject: [PATCH 16/77] fixed documentation --- site/docs/extensions/custom-view.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/docs/extensions/custom-view.md b/site/docs/extensions/custom-view.md index 64dad1ee18..f69dffb0d6 100644 --- a/site/docs/extensions/custom-view.md +++ b/site/docs/extensions/custom-view.md @@ -76,11 +76,11 @@ This extension adds the ability to create a custom view to display the data. ## Events -### onCustomViewPostBody(custom-view-post-body.bs.table) +### onCustomViewPreBody(custom-view-pre-body.bs.table) * Fires before the custom view was rendered. -### onCustomViewPreBody(custom-view-pre-body.bs.table) +### onCustomViewPostBody(custom-view-post-body.bs.table) * Fires after the custom view was rendered. From d009522902faa74af924a91bd831c5a26de77248 Mon Sep 17 00:00:00 2001 From: zhixin Date: Tue, 27 Apr 2021 23:45:55 +0800 Subject: [PATCH 17/77] Improved the behavior of ajax abort --- src/bootstrap-table.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index aa08884222..4a640cea26 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1951,6 +1951,12 @@ class BootstrapTable { } }, error: jqXHR => { + // abort ajax by multiple request + if (jqXHR && jqXHR.status === 0 && this._xhrAbort) { + this._xhrAbort = false + return + } + let data = [] if (this.options.sidePagination === 'server') { @@ -1968,6 +1974,7 @@ class BootstrapTable { Utils.calculateObjectValue(this, this.options.ajax, [request], null) } else { if (this._xhr && this._xhr.readyState !== 4) { + this._xhrAbort = true this._xhr.abort() } this._xhr = $.ajax(request) From 6d5574f858ec609c90613433c32981e08f73137f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 00:13:14 +0000 Subject: [PATCH 18/77] Bump stylelint-config-standard from 21.0.0 to 22.0.0 Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 21.0.0 to 22.0.0. - [Release notes](https://github.com/stylelint/stylelint-config-standard/releases) - [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint-config-standard/compare/21.0.0...22.0.0) Signed-off-by: dependabot-preview[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80b350ff56..9ded47d1dc 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "rollup-plugin-terser": "^7.0.0", "rollup-plugin-vue": "5.1.9", "stylelint": "^13.3.3", - "stylelint-config-standard": "^21.0.0", + "stylelint-config-standard": "^22.0.0", "vue-template-compiler": "^2.6.10" }, "scripts": { From 41206dd339bd0c556746d5564917b970cd257d06 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 28 Apr 2021 16:46:34 +0000 Subject: [PATCH 19/77] Upgrade to GitHub-native Dependabot --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..00485186da --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +version: 2 +updates: +- package-ecosystem: npm + directory: "/" + schedule: + interval: daily + time: "21:00" + open-pull-requests-limit: 10 + ignore: + - dependency-name: rollup-plugin-vue + versions: + - ">= 6.a, < 7" + - dependency-name: clean-css-cli + versions: + - 5.0.0 From 4491193fb0ea1b24fe2d36bc38709436c1963993 Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 10:31:21 +0200 Subject: [PATCH 20/77] Cookie extention now save multiple sort --- site/docs/extensions/cookie.md | 5 +++-- src/extensions/cookie/bootstrap-table-cookie.js | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/site/docs/extensions/cookie.md b/site/docs/extensions/cookie.md index cfa4d4fc2f..bf3db38966 100644 --- a/site/docs/extensions/cookie.md +++ b/site/docs/extensions/cookie.md @@ -178,9 +178,9 @@ toc: true - **Detail:** - Set this array with the table properties (sortOrder, sortName, pageNumber, pageList, columns, searchText, filterControl) that you want to save + Set this array with the table properties (sortOrder, sortName, sortPriority, pageNumber, pageList, columns, searchText, filterControl) that you want to save -- **Default:** `['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl']` +- **Default:** `['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl']` ## Methods @@ -207,4 +207,5 @@ toc: true * Search text * Search filter control * Sort order +* Multiple Sort order * Visible columns diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 1af604bd51..ba7978d6ea 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -8,6 +8,7 @@ const UtilsCookie = { cookieIds: { sortOrder: 'bs.table.sortOrder', sortName: 'bs.table.sortName', + sortPriority: 'bs.table.sortPriority', pageNumber: 'bs.table.pageNumber', pageList: 'bs.table.pageList', columns: 'bs.table.columns', @@ -275,7 +276,7 @@ $.extend($.fn.bootstrapTable.defaults, { cookieSameSite: 'Lax', cookieIdTable: '', cookiesEnabled: [ - 'bs.table.sortOrder', 'bs.table.sortName', + 'bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl', 'bs.table.filterBy', @@ -386,6 +387,17 @@ $.BootstrapTable = class extends $.BootstrapTable { UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortName, this.options.sortName) } + onMultipleSort (...args) { + super.onMultipleSort(...args) + + if (this.options.sortPriority === undefined) { + UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) + return + } + + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, this.options.sortPriority) + } + onPageNumber (...args) { super.onPageNumber(...args) UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber) @@ -461,6 +473,7 @@ $.BootstrapTable = class extends $.BootstrapTable { const sortOrderCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) const sortOrderNameCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) + const sortPriorityCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) const pageNumberCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageNumber) const pageListCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageList) const searchTextCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.searchText) @@ -483,6 +496,8 @@ $.BootstrapTable = class extends $.BootstrapTable { this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder // sortName this.options.sortName = sortOrderNameCookie ? sortOrderNameCookie : this.options.sortName + // sortPriority + this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority // pageNumber this.options.pageNumber = pageNumberCookie ? +pageNumberCookie : this.options.pageNumber // pageSize From b448b6ea1ce0da263e75aef35c0bd41efd86c5c1 Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 10:51:28 +0200 Subject: [PATCH 21/77] fix sortPriority format in the cookie --- src/extensions/cookie/bootstrap-table-cookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index ba7978d6ea..6da967756b 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -395,7 +395,7 @@ $.BootstrapTable = class extends $.BootstrapTable { return } - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, this.options.sortPriority) + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) } onPageNumber (...args) { From 44360b2b3c8181b7ceac947da4e9e1de3afec0f1 Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 14:03:16 +0200 Subject: [PATCH 22/77] fix confict between simple and multiple sort in the cookie --- src/extensions/cookie/bootstrap-table-cookie.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 6da967756b..476226fcff 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -381,6 +381,9 @@ $.BootstrapTable = class extends $.BootstrapTable { UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) return + } else { + this.options.sortPriority = undefined + UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) } UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortOrder, this.options.sortOrder) @@ -393,6 +396,11 @@ $.BootstrapTable = class extends $.BootstrapTable { if (this.options.sortPriority === undefined) { UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) return + } else { + this.options.sortName = undefined + this.options.sortOrder = undefined + UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) + UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) } UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) From 0e5891ffd9d2138415de1836f4c29dd1ebf37afb Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 14:12:20 +0200 Subject: [PATCH 23/77] fix stringify multiple times multiple sort in the cookie --- src/extensions/cookie/bootstrap-table-cookie.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 476226fcff..5ccd70ac74 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -403,7 +403,13 @@ $.BootstrapTable = class extends $.BootstrapTable { UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) } - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) + let priority = this.options.sortPriority + + if (typeof priority !== "string") { + priority = JSON.stringify(priority) + } + + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, priority) } onPageNumber (...args) { From e757b4697814b3592b59b5ae43520a10700ab769 Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 14:17:19 +0200 Subject: [PATCH 24/77] fix json decode multiple sort in the cookie --- src/extensions/cookie/bootstrap-table-cookie.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 5ccd70ac74..7f7d6c4a02 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -405,11 +405,7 @@ $.BootstrapTable = class extends $.BootstrapTable { let priority = this.options.sortPriority - if (typeof priority !== "string") { - priority = JSON.stringify(priority) - } - - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, priority) + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) } onPageNumber (...args) { @@ -487,7 +483,7 @@ $.BootstrapTable = class extends $.BootstrapTable { const sortOrderCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) const sortOrderNameCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) - const sortPriorityCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) + let sortPriorityCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) const pageNumberCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageNumber) const pageListCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageList) const searchTextCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.searchText) @@ -506,6 +502,12 @@ $.BootstrapTable = class extends $.BootstrapTable { throw new Error('Could not parse the json of the columns cookie!', columnsCookieValue) } + try { + sortPriorityCookie = JSON.parse(sortPriorityCookie) + } catch (e) { + throw new Error('Could not parse the json of the sortPriority cookie!', sortPriorityCookie) + } + // sortOrder this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder // sortName From 83214da222b5a0c09e0c7f2fbcbda22107d00eac Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 14:20:46 +0200 Subject: [PATCH 25/77] fix sort priority in the cookie --- src/extensions/cookie/bootstrap-table-cookie.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 7f7d6c4a02..f982a5f739 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -509,11 +509,11 @@ $.BootstrapTable = class extends $.BootstrapTable { } // sortOrder - this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder + this.options.sortOrder = sortOrderCookie && !this.options.sortPriority ? sortOrderCookie : this.options.sortOrder // sortName - this.options.sortName = sortOrderNameCookie ? sortOrderNameCookie : this.options.sortName + this.options.sortName = sortOrderNameCookie && !this.options.sortPriority ? sortOrderNameCookie : this.options.sortName // sortPriority - this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority + this.options.sortPriority = sortPriorityCookie && (!this.options.sortOrder || this.options.sortName) ? sortPriorityCookie : this.options.sortPriority // pageNumber this.options.pageNumber = pageNumberCookie ? +pageNumberCookie : this.options.pageNumber // pageSize From 72768c92f0e951fbeac2f051b2e2606923fe3395 Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 14:29:24 +0200 Subject: [PATCH 26/77] 2nd fix sort priority in the cookie --- .../cookie/bootstrap-table-cookie.js | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index f982a5f739..ca4df91458 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -508,12 +508,26 @@ $.BootstrapTable = class extends $.BootstrapTable { throw new Error('Could not parse the json of the sortPriority cookie!', sortPriorityCookie) } - // sortOrder - this.options.sortOrder = sortOrderCookie && !this.options.sortPriority ? sortOrderCookie : this.options.sortOrder - // sortName - this.options.sortName = sortOrderNameCookie && !this.options.sortPriority ? sortOrderNameCookie : this.options.sortName - // sortPriority - this.options.sortPriority = sortPriorityCookie && (!this.options.sortOrder || this.options.sortName) ? sortPriorityCookie : this.options.sortPriority + if(!sortPriorityCookie){ + // sortOrder + this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder + // sortName + this.options.sortName = sortOrderNameCookie ? sortOrderNameCookie : this.options.sortName + } else { + // sortOrder + this.options.sortOrder = undefined + // sortName + this.options.sortName = undefined + } + + if(this.options.sortOrder || this.options.sortName){ + // sortPriority + this.options.sortPriority = undefined + } else { + // sortPriority + this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority + } + // pageNumber this.options.pageNumber = pageNumberCookie ? +pageNumberCookie : this.options.pageNumber // pageSize From 22ab155242f33e5d24fbb06e9cd1d2c8c34c508e Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 14:32:19 +0200 Subject: [PATCH 27/77] fix sort priority default value in the cookie --- src/extensions/cookie/bootstrap-table-cookie.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index ca4df91458..be474c7911 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -522,12 +522,12 @@ $.BootstrapTable = class extends $.BootstrapTable { if(this.options.sortOrder || this.options.sortName){ // sortPriority - this.options.sortPriority = undefined + this.options.sortPriority = null } else { // sortPriority this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority } - + // pageNumber this.options.pageNumber = pageNumberCookie ? +pageNumberCookie : this.options.pageNumber // pageSize From 0289da2cd6b0336a2c893ae31eb43c0fa8556c0f Mon Sep 17 00:00:00 2001 From: Marc Fauvel Date: Wed, 5 May 2021 14:48:23 +0200 Subject: [PATCH 28/77] 2nd fix sort priority default value in the cookie --- src/extensions/cookie/bootstrap-table-cookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index be474c7911..880407898e 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -382,7 +382,7 @@ $.BootstrapTable = class extends $.BootstrapTable { UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) return } else { - this.options.sortPriority = undefined + this.options.sortPriority = null UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) } From 27e03e8975018d2aa90a7e4b6cc54a40074b33ff Mon Sep 17 00:00:00 2001 From: Naruto-kyun Date: Fri, 7 May 2021 19:21:25 +0200 Subject: [PATCH 29/77] fix CI build --- .../cookie/bootstrap-table-cookie.js | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 880407898e..92813ff951 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -380,14 +380,13 @@ $.BootstrapTable = class extends $.BootstrapTable { if (this.options.sortName === undefined || this.options.sortOrder === undefined) { UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) - return } else { this.options.sortPriority = null UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) - } - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortOrder, this.options.sortOrder) - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortName, this.options.sortName) + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortOrder, this.options.sortOrder) + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortName, this.options.sortName) + } } onMultipleSort (...args) { @@ -395,17 +394,14 @@ $.BootstrapTable = class extends $.BootstrapTable { if (this.options.sortPriority === undefined) { UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) - return } else { this.options.sortName = undefined this.options.sortOrder = undefined UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) + + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) } - - let priority = this.options.sortPriority - - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) } onPageNumber (...args) { @@ -483,7 +479,7 @@ $.BootstrapTable = class extends $.BootstrapTable { const sortOrderCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) const sortOrderNameCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) - let sortPriorityCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) + let sortPriorityCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortPriority) const pageNumberCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageNumber) const pageListCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageList) const searchTextCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.searchText) @@ -508,24 +504,24 @@ $.BootstrapTable = class extends $.BootstrapTable { throw new Error('Could not parse the json of the sortPriority cookie!', sortPriorityCookie) } - if(!sortPriorityCookie){ + if (!sortPriorityCookie){ // sortOrder this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder // sortName this.options.sortName = sortOrderNameCookie ? sortOrderNameCookie : this.options.sortName } else { - // sortOrder - this.options.sortOrder = undefined - // sortName - this.options.sortName = undefined + // sortOrder + this.options.sortOrder = undefined + // sortName + this.options.sortName = undefined } - if(this.options.sortOrder || this.options.sortName){ + if (this.options.sortOrder || this.options.sortName){ // sortPriority this.options.sortPriority = null } else { // sortPriority - this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority + this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority } // pageNumber From 512a53b969c2bd9904a6685feab01fbc989c7c18 Mon Sep 17 00:00:00 2001 From: Naruto-kyun Date: Fri, 7 May 2021 19:28:00 +0200 Subject: [PATCH 30/77] 2nd fix CI build --- src/extensions/cookie/bootstrap-table-cookie.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 92813ff951..dc8eaede74 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -399,8 +399,8 @@ $.BootstrapTable = class extends $.BootstrapTable { this.options.sortOrder = undefined UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) - - UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) + + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) } } @@ -504,9 +504,9 @@ $.BootstrapTable = class extends $.BootstrapTable { throw new Error('Could not parse the json of the sortPriority cookie!', sortPriorityCookie) } - if (!sortPriorityCookie){ + if (!sortPriorityCookie) { // sortOrder - this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder + this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder // sortName this.options.sortName = sortOrderNameCookie ? sortOrderNameCookie : this.options.sortName } else { @@ -516,7 +516,7 @@ $.BootstrapTable = class extends $.BootstrapTable { this.options.sortName = undefined } - if (this.options.sortOrder || this.options.sortName){ + if (this.options.sortOrder || this.options.sortName) { // sortPriority this.options.sortPriority = null } else { From 690aa50d2aefa0b8b01b5a956ae9181847eef903 Mon Sep 17 00:00:00 2001 From: Naruto-kyun Date: Fri, 7 May 2021 19:30:08 +0200 Subject: [PATCH 31/77] 3rd fix CI build --- src/extensions/cookie/bootstrap-table-cookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index dc8eaede74..23940d4793 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -399,7 +399,7 @@ $.BootstrapTable = class extends $.BootstrapTable { this.options.sortOrder = undefined UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortName) UtilsCookie.deleteCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.sortOrder) - + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority)) } } From 7dd3c4562b2458a74eaa50ab407cf1a5d02c4b5f Mon Sep 17 00:00:00 2001 From: Naruto-kyun Date: Fri, 7 May 2021 20:25:25 +0200 Subject: [PATCH 32/77] improve initialisation (thx UtechtDustin) --- src/extensions/cookie/bootstrap-table-cookie.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 23940d4793..34f132b9f6 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -504,24 +504,24 @@ $.BootstrapTable = class extends $.BootstrapTable { throw new Error('Could not parse the json of the sortPriority cookie!', sortPriorityCookie) } + // sortOrder + this.options.sortOrder = undefined + // sortName + this.options.sortName = undefined + if (!sortPriorityCookie) { // sortOrder this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder // sortName this.options.sortName = sortOrderNameCookie ? sortOrderNameCookie : this.options.sortName - } else { - // sortOrder - this.options.sortOrder = undefined - // sortName - this.options.sortName = undefined } + // sortPriority + this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority + if (this.options.sortOrder || this.options.sortName) { // sortPriority this.options.sortPriority = null - } else { - // sortPriority - this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority } // pageNumber From e8c489e370da77707a8a7ff57f13ea6b225920f3 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Thu, 6 May 2021 16:45:19 +0200 Subject: [PATCH 33/77] use the bootstrap icons --- dist/bootstrap-table.js | 2 +- src/constants/index.js | 24 +++++++++---------- .../bootstrap-table-auto-refresh.js | 1 + .../copy-rows/bootstrap-table-copy-rows.js | 1 + .../bootstrap-table-custom-view.js | 1 + .../export/bootstrap-table-export.js | 1 + .../bootstrap-table-filter-control.js | 5 ++-- .../group-by-v2/bootstrap-table-group-by.js | 2 ++ .../bootstrap-table-multiple-sort.js | 6 ++--- .../toolbar/bootstrap-table-toolbar.js | 2 +- 10 files changed, 25 insertions(+), 20 deletions(-) diff --git a/dist/bootstrap-table.js b/dist/bootstrap-table.js index 941ec06bfa..d39184e333 100644 --- a/dist/bootstrap-table.js +++ b/dist/bootstrap-table.js @@ -2813,7 +2813,7 @@ } }, 5: { - iconsPrefix: 'fa', + iconsPrefix: 'bi', icons: { paginationSwitchDown: 'fa-caret-square-down', paginationSwitchUp: 'fa-caret-square-up', diff --git a/src/constants/index.js b/src/constants/index.js index ec92daa11a..109adfe216 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -120,19 +120,19 @@ const CONSTANTS = { } }, 5: { - iconsPrefix: 'fa', + iconsPrefix: 'bi', icons: { - paginationSwitchDown: 'fa-caret-square-down', - paginationSwitchUp: 'fa-caret-square-up', - refresh: 'fa-sync', - toggleOff: 'fa-toggle-off', - toggleOn: 'fa-toggle-on', - columns: 'fa-th-list', - detailOpen: 'fa-plus', - detailClose: 'fa-minus', - fullscreen: 'fa-arrows-alt', - search: 'fa-search', - clearSearch: 'fa-trash' + paginationSwitchDown: 'bi-caret-down-square', + paginationSwitchUp: 'bi-caret-up-square', + refresh: 'bi-arrow-clockwise', + toggleOff: 'bi-toggle-off', + toggleOn: 'bi-toggle-on', + columns: 'bi-list-ul', + detailOpen: 'bi-plus', + detailClose: 'bi-dash', + fullscreen: 'bi-arrows-move', + search: 'bi-search', + clearSearch: 'bi-trash' }, classes: { buttonsPrefix: 'btn', diff --git a/src/extensions/auto-refresh/bootstrap-table-auto-refresh.js b/src/extensions/auto-refresh/bootstrap-table-auto-refresh.js index 662e81677c..07c2b10520 100644 --- a/src/extensions/auto-refresh/bootstrap-table-auto-refresh.js +++ b/src/extensions/auto-refresh/bootstrap-table-auto-refresh.js @@ -17,6 +17,7 @@ $.extend($.fn.bootstrapTable.defaults, { $.extend($.fn.bootstrapTable.defaults.icons, { autoRefresh: { bootstrap3: 'glyphicon-time icon-time', + bootstrap5: 'bi-clock', materialize: 'access_time', 'bootstrap-table': 'icon-clock' }[$.fn.bootstrapTable.theme] || 'fa-clock' diff --git a/src/extensions/copy-rows/bootstrap-table-copy-rows.js b/src/extensions/copy-rows/bootstrap-table-copy-rows.js index a8042ba638..8aeb3a15b9 100644 --- a/src/extensions/copy-rows/bootstrap-table-copy-rows.js +++ b/src/extensions/copy-rows/bootstrap-table-copy-rows.js @@ -15,6 +15,7 @@ $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales) $.extend($.fn.bootstrapTable.defaults.icons, { copy: { bootstrap3: 'glyphicon-copy icon-pencil', + bootstrap5: 'bi-clipboard', materialize: 'content_copy', 'bootstrap-table': 'icon-copy' }[$.fn.bootstrapTable.theme] || 'fa-copy' diff --git a/src/extensions/custom-view/bootstrap-table-custom-view.js b/src/extensions/custom-view/bootstrap-table-custom-view.js index 710640122d..6633b6e858 100644 --- a/src/extensions/custom-view/bootstrap-table-custom-view.js +++ b/src/extensions/custom-view/bootstrap-table-custom-view.js @@ -14,6 +14,7 @@ $.extend($.fn.bootstrapTable.defaults, { $.extend($.fn.bootstrapTable.defaults.icons, { customView: { bootstrap3: 'glyphicon glyphicon-eye-open', + bootstrap5: 'bi-eye', bootstrap4: 'fa fa-eye', semantic: 'fa fa-eye', foundation: 'fa fa-eye', diff --git a/src/extensions/export/bootstrap-table-export.js b/src/extensions/export/bootstrap-table-export.js index 780fbd5e9d..455384dc8c 100644 --- a/src/extensions/export/bootstrap-table-export.js +++ b/src/extensions/export/bootstrap-table-export.js @@ -43,6 +43,7 @@ $.extend($.fn.bootstrapTable.columnDefaults, { $.extend($.fn.bootstrapTable.defaults.icons, { export: { bootstrap3: 'glyphicon-export icon-share', + bootstrap5: 'bi-download', materialize: 'file_download', 'bootstrap-table': 'icon-download' }[$.fn.bootstrapTable.theme] || 'fa-download' diff --git a/src/extensions/filter-control/bootstrap-table-filter-control.js b/src/extensions/filter-control/bootstrap-table-filter-control.js index 0a45688401..ad4b5b4c54 100644 --- a/src/extensions/filter-control/bootstrap-table-filter-control.js +++ b/src/extensions/filter-control/bootstrap-table-filter-control.js @@ -70,15 +70,14 @@ $.extend($.fn.bootstrapTable.Constructor.EVENTS, { }) $.extend($.fn.bootstrapTable.defaults.icons, { - clear: { - bootstrap3: 'glyphicon-trash icon-clear' - }[$.fn.bootstrapTable.theme] || 'fa-trash', filterControlSwitchHide: { bootstrap3: 'glyphicon-zoom-out icon-zoom-out', + bootstrap5: 'bi-zoom-out', materialize: 'zoom_out' }[$.fn.bootstrapTable.theme] || 'fa-search-minus', filterControlSwitchShow: { bootstrap3: 'glyphicon-zoom-in icon-zoom-in', + bootstrap5: 'bi-zoom-in', materialize: 'zoom_in' }[$.fn.bootstrapTable.theme] || 'fa-search-plus' }) diff --git a/src/extensions/group-by-v2/bootstrap-table-group-by.js b/src/extensions/group-by-v2/bootstrap-table-group-by.js index df7258e331..140e23225c 100644 --- a/src/extensions/group-by-v2/bootstrap-table-group-by.js +++ b/src/extensions/group-by-v2/bootstrap-table-group-by.js @@ -21,10 +21,12 @@ const groupBy = (array, f) => { $.extend($.fn.bootstrapTable.defaults.icons, { collapseGroup: { bootstrap3: 'glyphicon-chevron-up', + bootstrap5: 'bi-chevron-up', materialize: 'arrow_drop_down' }[$.fn.bootstrapTable.theme] || 'fa-angle-up', expandGroup: { bootstrap3: 'glyphicon-chevron-down', + bootstrap5: 'bi-chevron-down', materialize: 'arrow_drop_up' }[$.fn.bootstrapTable.theme] || 'fa-angle-down' }) diff --git a/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js b/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js index fe5300cf2f..86968ed13f 100644 --- a/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js +++ b/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js @@ -12,7 +12,7 @@ $.extend($.fn.bootstrapTable.defaults.icons, { plus: { bootstrap3: 'glyphicon-plus', bootstrap4: 'fa-plus', - bootstrap5: 'fa-plus', + bootstrap5: 'bi-plus', semantic: 'fa-plus', materialize: 'plus', foundation: 'fa-plus', @@ -22,7 +22,7 @@ $.extend($.fn.bootstrapTable.defaults.icons, { minus: { bootstrap3: 'glyphicon-minus', bootstrap4: 'fa-minus', - bootstrap5: 'fa-minus', + bootstrap5: 'bi-dash', semantic: 'fa-minus', materialize: 'minus', foundation: 'fa-minus', @@ -32,7 +32,7 @@ $.extend($.fn.bootstrapTable.defaults.icons, { sort: { bootstrap3: 'glyphicon-sort', bootstrap4: 'fa-sort', - bootstrap5: 'fa-sort', + bootstrap5: 'bi-arrow-down-up', semantic: 'fa-sort', materialize: 'sort', foundation: 'fa-sort', diff --git a/src/extensions/toolbar/bootstrap-table-toolbar.js b/src/extensions/toolbar/bootstrap-table-toolbar.js index c04d100775..5ea18f416f 100644 --- a/src/extensions/toolbar/bootstrap-table-toolbar.js +++ b/src/extensions/toolbar/bootstrap-table-toolbar.js @@ -69,7 +69,7 @@ const theme = { }, bootstrap5: { icons: { - advancedSearchIcon: 'fa-chevron-down' + advancedSearchIcon: 'bi-chevron-down' }, html: { modal: ` From 7cd27aeab963f8613b159c2649cf0d0bffe855ed Mon Sep 17 00:00:00 2001 From: zhixin Date: Sun, 9 May 2021 23:38:34 +0800 Subject: [PATCH 34/77] Update docs --- dist/bootstrap-table.js | 2 +- site/themes/bootstrap5.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dist/bootstrap-table.js b/dist/bootstrap-table.js index d39184e333..941ec06bfa 100644 --- a/dist/bootstrap-table.js +++ b/dist/bootstrap-table.js @@ -2813,7 +2813,7 @@ } }, 5: { - iconsPrefix: 'bi', + iconsPrefix: 'fa', icons: { paginationSwitchDown: 'fa-caret-square-down', paginationSwitchUp: 'fa-caret-square-up', diff --git a/site/themes/bootstrap5.md b/site/themes/bootstrap5.md index d2fda28195..d5edbacf4d 100644 --- a/site/themes/bootstrap5.md +++ b/site/themes/bootstrap5.md @@ -40,7 +40,8 @@ Put it all together and your pages should look like this: - + + Hello, Bootstrap Table! @@ -69,7 +70,7 @@ Put it all together and your pages should look like this: - + From 2afa12514948fef578f3547203187729bb3a0dec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 21:18:13 +0000 Subject: [PATCH 35/77] Bump node-sass from 5.0.0 to 6.0.0 Bumps [node-sass](https://github.com/sass/node-sass) from 5.0.0 to 6.0.0. - [Release notes](https://github.com/sass/node-sass/releases) - [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/node-sass/compare/v5.0.0...v6.0.0) Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ded47d1dc..ab838b51da 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "foreach-cli": "^1.8.1", "glob": "^7.1.4", "headr": "^0.0.4", - "node-sass": "^5.0.0", + "node-sass": "^6.0.0", "npm-run-all": "^4.1.5", "rollup": "^2.6.1", "rollup-plugin-babel": "^4.3.3", From 175a26025e2282e1e1f8a293ea8fc9681033ac3c Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Sat, 8 May 2021 08:09:42 +0200 Subject: [PATCH 36/77] Improved the pullrequest template (#5723) --- .github/PULL_REQUEST_TEMPLATE.md | 34 +++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 7c9639fdd3..8aad897e53 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,16 +1,32 @@ -**Bug fix?** - +**🤔Type of Request** +- [ ] **Bug fix** +- [ ] **New feature** +- [ ] **Improvement** +- [ ] **Documentation** +- [ ] **Other** -**New Feature?** - - -**Resolve an issue?** +**🔗Resolves an issue?** -**Example(s)?** +**📝Changelog** + + +- [ ] **Core** +- [ ] **Extensions** + + + +**💡Example(s)?** - + +**☑️Self Check before Merge** + +⚠️ Please check all items below before review. ⚠️ + +- [ ] Doc is updated/provided or not needed +- [ ] Demo is updated/provided or not needed +- [ ] Changelog is provided or not needed \ No newline at end of file +👉 https://opencollective.com/bootstrap-table/donate --> From 06f89c2528729dc9ca3abdee5539cd0d6ded0e4e Mon Sep 17 00:00:00 2001 From: zhixin Date: Sun, 23 May 2021 18:23:20 +0800 Subject: [PATCH 37/77] Fixed click bug when paginationLoop is false --- src/bootstrap-table.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 4bd273a114..309a94c67f 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1375,6 +1375,9 @@ class BootstrapTable { } onPagePre (event) { + if ($(event.target).hasClass('disabled')) { + return + } event.preventDefault() if ((this.options.pageNumber - 1) === 0) { this.options.pageNumber = this.options.totalPages @@ -1386,6 +1389,9 @@ class BootstrapTable { } onPageNext (event) { + if ($(event.target).hasClass('disabled')) { + return + } event.preventDefault() if ((this.options.pageNumber + 1) > this.options.totalPages) { this.options.pageNumber = 1 From 263deaab5467d734055c054836d334d67ec147b8 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Thu, 24 Jun 2021 17:59:41 +0200 Subject: [PATCH 38/77] Dont try to highlight radio/checkboxes --- src/bootstrap-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 309a94c67f..0b1528fa6a 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1573,7 +1573,7 @@ class BootstrapTable { this.options.undefinedText : value } - if (column.searchable && this.searchText && this.options.searchHighlight) { + if (column.searchable && this.searchText && this.options.searchHighlight && !(column.checkbox || column.radio)) { let defValue = '' const regExp = new RegExp(`(${ this.searchText.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') })`, 'gim') const marker = '$1' From d674f069311580413a1d1da805c9b24bc8ecc5bb Mon Sep 17 00:00:00 2001 From: zhixin Date: Sun, 4 Jul 2021 22:50:06 +0800 Subject: [PATCH 39/77] Fixed loading width bug --- src/themes/_theme.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/themes/_theme.scss b/src/themes/_theme.scss index ddb60eed13..c54aa6a25b 100644 --- a/src/themes/_theme.scss +++ b/src/themes/_theme.scss @@ -209,6 +209,7 @@ position: absolute; bottom: 0; width: 100%; + max-width: 100%; z-index: 1000; transition: visibility 0s, opacity 0.15s ease-in-out; opacity: 0; From 9bfdfc1bb82fb8b3c058521cce5e26f5f71f4e36 Mon Sep 17 00:00:00 2001 From: Alli Date: Fri, 23 Jul 2021 12:05:08 -0700 Subject: [PATCH 40/77] Update bootstrap-table-multiple-sort.js Fix exception interaction with hide/show columns prior to multisort if no sortPriority exists --- .../multiple-sort/bootstrap-table-multiple-sort.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js b/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js index 86968ed13f..2053e4fb90 100644 --- a/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js +++ b/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js @@ -656,13 +656,16 @@ BootstrapTable.prototype.initToolbar = function (...args) { }) this.$el.on('column-switch.bs.table', (field, checked) => { - for (let i = 0; i < that.options.sortPriority.length; i++) { - if (that.options.sortPriority[i].sortName === checked) { - that.options.sortPriority.splice(i, 1) + if (that.options.sortPriority !== null && that.options.sortPriority.length > 0) { + for (let i = 0; i < that.options.sortPriority.length; i++) { + if (that.options.sortPriority[i].sortName === checked) { + that.options.sortPriority.splice(i, 1) + } } - } - that.assignSortableArrows() + that.assignSortableArrows() + } + that.$sortModal.remove() showSortModal(that) }) From 81959cd3714b2946b43a879d5153487591a21a13 Mon Sep 17 00:00:00 2001 From: Alli Date: Fri, 23 Jul 2021 12:42:02 -0700 Subject: [PATCH 41/77] Update bootstrap-table-multiple-sort.js Missed whitespace on newline --- src/extensions/multiple-sort/bootstrap-table-multiple-sort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js b/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js index 2053e4fb90..66421bd758 100644 --- a/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js +++ b/src/extensions/multiple-sort/bootstrap-table-multiple-sort.js @@ -665,7 +665,7 @@ BootstrapTable.prototype.initToolbar = function (...args) { that.assignSortableArrows() } - + that.$sortModal.remove() showSortModal(that) }) From b059c7e7918b20694413ab03b1a35410da1e8302 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:10:33 +0200 Subject: [PATCH 42/77] reinit resizeable after reinit the table body --- src/extensions/resizable/bootstrap-table-resizable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/extensions/resizable/bootstrap-table-resizable.js b/src/extensions/resizable/bootstrap-table-resizable.js index 900fc90eb0..591c66555d 100644 --- a/src/extensions/resizable/bootstrap-table-resizable.js +++ b/src/extensions/resizable/bootstrap-table-resizable.js @@ -43,6 +43,8 @@ $.BootstrapTable = class extends $.BootstrapTable { .on('column-switch.bs.table page-change.bs.table', () => { reInitResizable(this) }) + + reInitResizable(this) } toggleView (...args) { From 9d3e6ab69f36e76fadd2d96386c2c10c25696262 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:22:29 +0200 Subject: [PATCH 43/77] removed the div with class input-group-append. The class was dropped in the newest version --- src/constants/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/index.js b/src/constants/index.js index 109adfe216..777b2e9312 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -160,7 +160,7 @@ const CONSTANTS = { pagination: ['
    ', '
'], paginationItem: '
  • %s
  • ', icon: '', - inputGroup: '
    %s
    %s
    ', + inputGroup: '
    %s%s
    ', searchInput: '', searchButton: '', searchClearButton: '' From c2308b8ac2bbab718f924d07d1260355f524d621 Mon Sep 17 00:00:00 2001 From: zhixin Date: Tue, 27 Jul 2021 15:16:33 +0800 Subject: [PATCH 44/77] Fixed id redeclaration bug using fixed-column extension --- src/extensions/fixed-columns/bootstrap-table-fixed-columns.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js b/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js index d5ee887375..1286b76bd8 100644 --- a/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js +++ b/src/extensions/fixed-columns/bootstrap-table-fixed-columns.js @@ -225,6 +225,7 @@ $.BootstrapTable = class extends $.BootstrapTable { const initFixedBody = ($fixedColumns, $fixedHeader) => { $fixedColumns.find('.fixed-table-body').remove() $fixedColumns.append(this.$tableBody.clone(true)) + $fixedColumns.find('.fixed-table-body table').removeAttr('id') const $fixedBody = $fixedColumns.find('.fixed-table-body') From 356410da5923b5e3a363409f7a4c6ba26550754b Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Tue, 27 Jul 2021 22:31:42 +0200 Subject: [PATCH 45/77] Use rimraf instead of the rm command to support windows (#5809) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dennis Hernández --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ab838b51da..35b0d81551 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "headr": "^0.0.4", "node-sass": "^6.0.0", "npm-run-all": "^4.1.5", + "rimraf": "^3.0.2", "rollup": "^2.6.1", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-commonjs": "^10.0.0", @@ -51,7 +52,7 @@ "css:build:min": "foreach -g \"dist/**/*.css\" -x \"cleancss #{path} -o #{dir}/#{name}.min.css\"", "css:build:banner": "foreach -g \"dist/**/*.min.css\" -x \"headr #{path} -o #{path} --version --homepage --author --license\"", "css:build": "run-s css:build:*", - "clean": "rm -rf dist", + "clean": "rimraf dist", "build": "run-s lint clean *:build", "pre-commit": "run-s lint docs:check" }, From 7d18de0ff0d926610a4bbe1ac1bba26626a6027f Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Wed, 28 Jul 2021 13:19:27 +0200 Subject: [PATCH 46/77] Added regex search (#5810) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added an option to use regex for the search * WIP * Added documentation and the default flags * Fixed wrong link name * use the ternary if syntax * fixed linting * updated stylelint to 13.13.1 and changed the qoutes of the stylelint config file * reverted test entry Co-authored-by: Dennis Hernández --- .stylelintrc | 18 ++-- index.d.ts | 1 + package.json | 2 +- site/docs/api/table-options.md | 21 ++++- src/bootstrap-table.js | 92 ++++++++++--------- src/constants/index.js | 1 + .../bootstrap-table-filter-control.js | 19 ++-- src/utils/index.js | 12 +++ 8 files changed, 101 insertions(+), 65 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index b3ee0a12b8..b5c2914453 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -1,12 +1,12 @@ { - 'extends': 'stylelint-config-standard', - 'rules': { - 'indentation': null, - 'selector-pseudo-element-colon-notation': null, - 'function-comma-space-after': null, - 'no-descending-specificity': null, - 'declaration-bang-space-before': null, - 'number-leading-zero': null, - 'rule-empty-line-before': null + "extends": "stylelint-config-standard", + "rules": { + "indentation": null, + "selector-pseudo-element-colon-notation": null, + "function-comma-space-after": null, + "no-descending-specificity": null, + "declaration-bang-space-before": null, + "number-leading-zero": null, + "rule-empty-line-before": null } } diff --git a/index.d.ts b/index.d.ts index 1029c32d15..79eca6d8cf 100644 --- a/index.d.ts +++ b/index.d.ts @@ -202,6 +202,7 @@ interface BootstrapTableOptions{ onColumnSwitch?: (field, checked) => boolean; searchSelector?: boolean; strictSearch?: boolean; + regexSearch?: boolean; multipleSelectRow?: boolean; onLoadError?: (status) => boolean; buttonsToolbar?: any; diff --git a/package.json b/package.json index 35b0d81551..3936c16e83 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "rollup-plugin-node-resolve": "^5.0.4", "rollup-plugin-terser": "^7.0.0", "rollup-plugin-vue": "5.1.9", - "stylelint": "^13.3.3", + "stylelint": "^13.13.1", "stylelint-config-standard": "^22.0.0", "vue-template-compiler": "^2.6.10" }, diff --git a/site/docs/api/table-options.md b/site/docs/api/table-options.md index 2cc3e174e5..8dc2ec09d6 100644 --- a/site/docs/api/table-options.md +++ b/site/docs/api/table-options.md @@ -1074,6 +1074,23 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`. - **Example:** [Query Params Type](https://examples.bootstrap-table.com/#options/query-params-type.html) +## regexSearch + +- **Attribute:** `data-regex-search` + +- **Type:** `Boolean` + +- **Detail:** + + Set `true` to enable the regex search. + Is this option enabled, you can search with regex e.g. `[47a]$` for all items which ends with a `4`, `7` or `a`. + The regex can be entered with `/[47a]$/gim` or without `[47a]$` flags, the default flags are `gim`. + + +- **Default:** `false` + +- **Example:** [Regex Search](https://examples.bootstrap-table.com/#options/regex-search.html) + ## rememberOrder - **Attribute:** `data-remember-order` @@ -1161,7 +1178,9 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`. - Comparisons (<, >, <=, =<, >=, =>). Example: 4 is larger than 3. - Note: If you want to use a custom search input use the [searchSelector](https://bootstrap-table.com/docs/api/table-options/#searchSelector). + Notes: + - If you want to use a custom search input use the [searchSelector](https://bootstrap-table.com/docs/api/table-options/#searchSelector). + - You can also search via regex using the [regexSearch](https://bootstrap-table.com/docs/api/table-options/#regexSearch) option. - **Default:** `false` diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index e977e0fdba..a8871e7fca 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -946,11 +946,12 @@ class BootstrapTable { return } - let s = this.searchText && (this.fromHtml ? Utils.escapeHTML(this.searchText) : this.searchText).toLowerCase() + const rawSearchText = this.searchText && (this.fromHtml ? Utils.escapeHTML(this.searchText) : this.searchText) + let searchText = rawSearchText.toLowerCase() const f = Utils.isEmptyObject(this.filterColumns) ? null : this.filterColumns if (this.options.searchAccentNeutralise) { - s = Utils.normalizeAccent(s) + searchText = Utils.normalizeAccent(searchText) } // Check filter @@ -994,7 +995,7 @@ class BootstrapTable { const visibleFields = this.getVisibleFields() - this.data = s ? this.data.filter((item, i) => { + this.data = searchText ? this.data.filter((item, i) => { for (let j = 0; j < this.header.fields.length; j++) { if (!this.header.searchables[j] || (this.options.visibleSearch && visibleFields.indexOf(this.header.fields[j]) === -1)) { continue @@ -1028,51 +1029,52 @@ class BootstrapTable { } if (typeof value === 'string' || typeof value === 'number') { - if (this.options.strictSearch) { - if ((`${value}`).toLowerCase() === s) { - return true - } - } else { - const largerSmallerEqualsRegex = /(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm - const matches = largerSmallerEqualsRegex.exec(this.searchText) - let comparisonCheck = false - - if (matches) { - const operator = matches[1] || `${matches[5]}l` - const comparisonValue = matches[2] || matches[3] - const int = parseInt(value, 10) - const comparisonInt = parseInt(comparisonValue, 10) - - switch (operator) { - case '>': - case ' comparisonInt - break - case '<': - case '>l': - comparisonCheck = int < comparisonInt - break - case '<=': - case '=<': - case '>=l': - case '=>l': - comparisonCheck = int <= comparisonInt - break - case '>=': - case '=>': - case '<=l': - case '== comparisonInt - break - default: - break - } - } + if ( + this.options.strictSearch && (`${value}`).toLowerCase() === searchText || + (this.options.regexSearch && Utils.regexCompare(value, rawSearchText)) + ) { + return true + } - if (comparisonCheck || (`${value}`).toLowerCase().includes(s)) { - return true + const largerSmallerEqualsRegex = /(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm + const matches = largerSmallerEqualsRegex.exec(this.searchText) + let comparisonCheck = false + + if (matches) { + const operator = matches[1] || `${matches[5]}l` + const comparisonValue = matches[2] || matches[3] + const int = parseInt(value, 10) + const comparisonInt = parseInt(comparisonValue, 10) + + switch (operator) { + case '>': + case ' comparisonInt + break + case '<': + case '>l': + comparisonCheck = int < comparisonInt + break + case '<=': + case '=<': + case '>=l': + case '=>l': + comparisonCheck = int <= comparisonInt + break + case '>=': + case '=>': + case '<=l': + case '== comparisonInt + break + default: + break } } + + if (comparisonCheck || (`${value}`).toLowerCase().includes(searchText)) { + return true + } } } return false diff --git a/src/constants/index.js b/src/constants/index.js index 777b2e9312..3b5e8b75d6 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -240,6 +240,7 @@ const DEFAULTS = { searchHighlight: false, searchOnEnterKey: false, strictSearch: false, + regexSearch: false, searchSelector: false, visibleSearch: false, showButtonIcons: true, diff --git a/src/extensions/filter-control/bootstrap-table-filter-control.js b/src/extensions/filter-control/bootstrap-table-filter-control.js index ad4b5b4c54..e1b56c982b 100644 --- a/src/extensions/filter-control/bootstrap-table-filter-control.js +++ b/src/extensions/filter-control/bootstrap-table-filter-control.js @@ -172,29 +172,29 @@ $.BootstrapTable = class extends $.BootstrapTable { initSearch () { const that = this - const fp = $.isEmptyObject(that.filterColumnsPartial) ? null : that.filterColumnsPartial + const filterPartial = $.isEmptyObject(that.filterColumnsPartial) ? null : that.filterColumnsPartial super.initSearch() - if (this.options.sidePagination === 'server' || fp === null) { + if (this.options.sidePagination === 'server' || filterPartial === null) { return } // Check partial column filter - that.data = fp ? + that.data = filterPartial ? that.data.filter((item, i) => { const itemIsExpected = [] const keys1 = Object.keys(item) - const keys2 = Object.keys(fp) + const keys2 = Object.keys(filterPartial) const keys = keys1.concat(keys2.filter(item => !keys1.includes(item))) keys.forEach(key => { const thisColumn = that.columns[that.fieldsColumnsIndex[key]] - const fval = (fp[key] || '').toLowerCase() + const filterValue = (filterPartial[key] || '').toLowerCase() let value = Utils.unescapeHTML(Utils.getItemField(item, key, false)) let tmpItemIsExpected - if (fval === '') { + if (filterValue === '') { tmpItemIsExpected = true } else { // Fix #142: search use formatted data @@ -219,14 +219,13 @@ $.BootstrapTable = class extends $.BootstrapTable { if (this.options.searchAccentNeutralise) { objectValue = Utils.normalizeAccent(objectValue) } - - tmpItemIsExpected = that.isValueExpected(fval, objectValue, thisColumn, key) + tmpItemIsExpected = that.isValueExpected(filterValue, objectValue, thisColumn, key) }) } else if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') { if (this.options.searchAccentNeutralise) { value = Utils.normalizeAccent(value) } - tmpItemIsExpected = that.isValueExpected(fval, value, thisColumn, key) + tmpItemIsExpected = that.isValueExpected(filterValue, value, thisColumn, key) } } } @@ -248,6 +247,8 @@ $.BootstrapTable = class extends $.BootstrapTable { tmpItemIsExpected = value.toString().toLowerCase() === searchValue.toString().toLowerCase() } else if (column.filterStartsWithSearch) { tmpItemIsExpected = (`${value}`).toLowerCase().indexOf(searchValue) === 0 + } else if (this.options.regexSearch) { + tmpItemIsExpected = Utils.regexCompare(value, searchValue) } else { tmpItemIsExpected = (`${value}`).toLowerCase().includes(searchValue) } diff --git a/src/utils/index.js b/src/utils/index.js index 96a55a5206..86c8c7bee2 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -193,6 +193,18 @@ export default { return true }, + regexCompare (value, search) { + try { + const regexpParts = search.match(/^\/(.*?)\/([gim]*)$/) + + if (value.toString().search(regexpParts ? new RegExp(regexpParts[1], regexpParts[2]) : new RegExp(search, 'gim')) !== -1) { + return true + } + } catch (e) { + return false + } + }, + escapeHTML (text) { if (typeof text === 'string') { return text From 8b686a830a00fa53e60f5a62903113e5d062769c Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Wed, 28 Jul 2021 17:12:11 +0200 Subject: [PATCH 47/77] Don't collect all cookies, instead only collect the filter cookies to (#5811) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit prevent issues with cookie deletion Co-authored-by: Dennis Hernández --- .../filter-control/bootstrap-table-filter-control.js | 2 +- src/extensions/filter-control/utils.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extensions/filter-control/bootstrap-table-filter-control.js b/src/extensions/filter-control/bootstrap-table-filter-control.js index e1b56c982b..0aabcdac8d 100644 --- a/src/extensions/filter-control/bootstrap-table-filter-control.js +++ b/src/extensions/filter-control/bootstrap-table-filter-control.js @@ -369,7 +369,7 @@ $.BootstrapTable = class extends $.BootstrapTable { clearFilterControl () { if (this.options.filterControl) { const that = this - const cookies = UtilsFilterControl.collectBootstrapCookies() + const cookies = UtilsFilterControl.collectBootstrapTableFilterCookies() const table = this.$el.closest('table') const controls = UtilsFilterControl.getSearchControls(that) const search = Utils.getSearchInput(this) diff --git a/src/extensions/filter-control/utils.js b/src/extensions/filter-control/utils.js index 5d2a64ec57..6c3fedf843 100644 --- a/src/extensions/filter-control/utils.js +++ b/src/extensions/filter-control/utils.js @@ -174,9 +174,9 @@ export function setValues (that) { } } -export function collectBootstrapCookies () { +export function collectBootstrapTableFilterCookies () { const cookies = [] - const foundCookies = document.cookie.match(/(?:bs.table.)(\w*)/g) + const foundCookies = document.cookie.match(/bs\.table\.(filterControl|searchText)/g) const foundLocalStorage = localStorage if (foundCookies) { From 968ceebad91c32c2440bcdd0d3ef4d7366eecd00 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Tue, 3 Aug 2021 23:01:58 +0200 Subject: [PATCH 48/77] Fix/5813 (#5817) * Fixed an bug with an empty search * Recreate the filter controls if new data was loaded using the load function * Don't recreate the controls if the filter extension is not in use --- src/bootstrap-table.js | 2 +- .../filter-control/bootstrap-table-filter-control.js | 10 ++++++++++ src/extensions/filter-control/utils.js | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index a8871e7fca..21bebc57f0 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -947,7 +947,7 @@ class BootstrapTable { } const rawSearchText = this.searchText && (this.fromHtml ? Utils.escapeHTML(this.searchText) : this.searchText) - let searchText = rawSearchText.toLowerCase() + let searchText = rawSearchText ? rawSearchText.toLowerCase() : '' const f = Utils.isEmptyObject(this.filterColumns) ? null : this.filterColumns if (this.options.searchAccentNeutralise) { diff --git a/src/extensions/filter-control/bootstrap-table-filter-control.js b/src/extensions/filter-control/bootstrap-table-filter-control.js index 0aabcdac8d..ec98918749 100644 --- a/src/extensions/filter-control/bootstrap-table-filter-control.js +++ b/src/extensions/filter-control/bootstrap-table-filter-control.js @@ -154,6 +154,16 @@ $.BootstrapTable = class extends $.BootstrapTable { super.init() } + load (data) { + super.load(data) + + if (!this.options.filterControl) { + return + } + + UtilsFilterControl.createControls(this, UtilsFilterControl.getControlContainer(this)) + } + initHeader () { super.initHeader() diff --git a/src/extensions/filter-control/utils.js b/src/extensions/filter-control/utils.js index 6c3fedf843..c246e395c3 100644 --- a/src/extensions/filter-control/utils.js +++ b/src/extensions/filter-control/utils.js @@ -353,6 +353,8 @@ export function createControls (that, header) { $.each(header.find('th'), (i, th) => { const $th = $(th) + $th.find('.filter-control').remove() + if ($th.data('field') === column.field) { $th.find('.fht-cell').append(html.join('')) return false From 93a765eacf561ab8334a4b125a65842219ce9cab Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Wed, 4 Aug 2021 21:21:17 +0200 Subject: [PATCH 49/77] fix/5812 (#5819) * Check if the current target is a jQuery Object to check if the elements are equals * use a const for the search input * improved the check if the search element is a jquery Object --- src/bootstrap-table.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 21bebc57f0..b391fc025b 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -913,7 +913,10 @@ class BootstrapTable { return } - if (currentTarget === Utils.getSearchInput(this)[0] || $(currentTarget).hasClass('search-input')) { + const $searchInput = Utils.getSearchInput(this) + const $currentTarget = currentTarget instanceof jQuery ? currentTarget : $(currentTarget) + + if ($currentTarget.is($searchInput) || $currentTarget.hasClass('search-input')) { this.searchText = text this.options.searchText = text } From 3d1883077857dd4813dd04d6de35f0198353b5c9 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Wed, 4 Aug 2021 21:25:44 +0200 Subject: [PATCH 50/77] Feature/5815 (#5818) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added a column option to ignore a column * Added documentation * Added a new option "rawCopy" to copy the raw value instead of the formatted one. Co-authored-by: Dennis Hernández --- site/docs/extensions/copy-rows.md | 29 ++++++++++++++++++- .../copy-rows/bootstrap-table-copy-rows.js | 14 ++++++--- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/site/docs/extensions/copy-rows.md b/site/docs/extensions/copy-rows.md index a83cae63bd..dee8e5d5fa 100644 --- a/site/docs/extensions/copy-rows.md +++ b/site/docs/extensions/copy-rows.md @@ -68,7 +68,34 @@ This extension adds functionality for copying selected rows to the clipboard. Cu - **Default:** `false` -### Icons +## Column options + +### ignoreCopy + +- **Attribute:** `data-ignore-copy` + +- **type:** `Boolean` + +- **Detail:** + + Set `true` to ignore this column while copying. + +- **Default:** `false` + +### rawCopy + +- **Attribute:** `data-raw-copy` + +- **type:** `Boolean` + +- **Detail:** + + Set `true` to copy the raw value instead the formatted one. + If no formatter is used, this option has no effect. + +- **Default:** `false` + +## Icons - copy: 'fa-copy' diff --git a/src/extensions/copy-rows/bootstrap-table-copy-rows.js b/src/extensions/copy-rows/bootstrap-table-copy-rows.js index 8aeb3a15b9..041d123ca6 100644 --- a/src/extensions/copy-rows/bootstrap-table-copy-rows.js +++ b/src/extensions/copy-rows/bootstrap-table-copy-rows.js @@ -43,6 +43,11 @@ $.extend($.fn.bootstrapTable.defaults, { copyNewline: '\n' }) +$.extend($.fn.bootstrapTable.columnDefaults, { + ignoreCopy: false, + rawCopy: false +}) + $.fn.bootstrapTable.methods.push( 'copyColumnsToClipboard' ) @@ -81,12 +86,13 @@ $.BootstrapTable = class extends $.BootstrapTable { $.each(this.options.columns[0], (indy, column) => { if ( column.field !== this.header.stateField && - (!this.options.copyWithHidden || - this.options.copyWithHidden && column.visible) + (!this.options.copyWithHidden || this.options.copyWithHidden && column.visible) && + !column.ignoreCopy ) { if (row[column.field] !== null) { - cols.push(Utils.calculateObjectValue(column, this.header.formatters[indy], - [row[column.field], row, index], row[column.field])) + const columnValue = column.rawCopy ? row[column.field] : Utils.calculateObjectValue(column, this.header.formatters[indy], [row[column.field], row, index], row[column.field]) + + cols.push(columnValue) } } }) From e3f9712af31d0c6a34fe3af7012af8a18262c981 Mon Sep 17 00:00:00 2001 From: TropicalRaisel <87331818+TropicalRaisel@users.noreply.github.com> Date: Thu, 2 Sep 2021 15:11:49 -0700 Subject: [PATCH 51/77] Added package.json entries that allow importing stylesheets Reference Bootstrap's `package.json` to learn more: https://github.com/twbs/bootstrap/blob/main/package.json#L82 --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 3936c16e83..0f3de41612 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,8 @@ "description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)", "version": "1.18.3", "main": "./dist/bootstrap-table.min.js", + "style": "./dist/bootstrap-table.min.css", + "sass": "./src/bootstrap-table.scss", "directories": { "doc": "site" }, From 07350342577cfc0cd11a738eec22ec81584d3640 Mon Sep 17 00:00:00 2001 From: TropicalRaisel <87331818+TropicalRaisel@users.noreply.github.com> Date: Thu, 2 Sep 2021 15:18:02 -0700 Subject: [PATCH 52/77] Changed the package references to match Bootstrap --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0f3de41612..1021d62937 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "name": "bootstrap-table", "description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)", "version": "1.18.3", - "main": "./dist/bootstrap-table.min.js", - "style": "./dist/bootstrap-table.min.css", - "sass": "./src/bootstrap-table.scss", + "style": "dist/bootstrap-table.min.css", + "sass": "src/bootstrap-table.scss", + "main": "dist/bootstrap-table.min.js", "directories": { "doc": "site" }, From 2593b211cb59a65fc360d592f31479e2355d65de Mon Sep 17 00:00:00 2001 From: ghosttie Date: Thu, 16 Sep 2021 17:04:28 -0400 Subject: [PATCH 53/77] add types for function parameters I'm using strict mode, and it's complaining about the function parameters because they implicitly have the 'any' type --- index.d.ts | 73 +++++++++++++++++++++++++++--------------------------- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/index.d.ts b/index.d.ts index 79eca6d8cf..d85d5a6217 100644 --- a/index.d.ts +++ b/index.d.ts @@ -125,7 +125,7 @@ interface BootstrapTableLocale{ formatPaginationSwitch?: () => string; - formatDetailPagination?: (totalRows) => string; + formatDetailPagination?: (totalRows: number) => string; formatNoMatches?: () => string; @@ -135,8 +135,8 @@ interface BootstrapTableLocale{ formatFullscreen?: () => string; - formatShowingRows?: (pageFrom, pageTo, totalRows, totalNotFiltered) => string; - formatSRPaginationPageText?: (page) => string; + formatShowingRows?: (pageFrom: number, pageTo: number, totalRows: number, totalNotFiltered: number) => string; + formatSRPaginationPageText?: (page: number) => string; formatClearSearch?: () => string; @@ -152,7 +152,7 @@ interface BootstrapTableLocale{ formatToggleOn?: () => string; - formatRecordsPerPage(pageNumber): string + formatRecordsPerPage(pageNumber: number): string } interface BootstrapAjaxParams{ @@ -172,39 +172,38 @@ interface BootstrapAjaxParams{ } interface BootstrapTableOptions{ - onCheck?: (row) => boolean; + onCheck?: (row: any, $element: JQuery) => boolean; loadingFontSize?: string; - onDblClickCell?: (field, value, row, $element) => boolean; - rowStyle?: (row, index) => {}; + onDblClickCell?: (field: string, value: any, row: any, $element: JQuery) => boolean; + rowStyle?: (row: any, index: number) => {}; showColumnsToggleAll?: boolean; - footerStyle?: (column) => {}; - onUncheck?: (row) => boolean; + footerStyle?: (column: BootstrapTableColumn) => {}; + onUncheck?: (row: any, $element: JQuery) => boolean; pageSize?: number; footerField?: string; showFullscreen?: boolean; sortStable?: boolean; searchAlign?: string; ajax?: (params: BootstrapAjaxParams) => any; - onAll?: (name, args) => boolean; - onClickRow?: (item, $element) => boolean; + onAll?: (name: string, args: any) => boolean; + onClickRow?: (row: any, $element: JQuery, field: string) => boolean; ajaxOptions?: {}; - onCheckSome?: (rows) => boolean; + onCheckSome?: (rows: any[]) => boolean; customSort?: any; iconSize?: any; - onCollapseRow?: (index, row) => boolean; + onCollapseRow?: (index: number, row: any, detailView: any) => boolean; searchHighlight?: boolean; height?: any; - onUncheckSome?: (rows) => boolean; - onToggle?: (cardView) => boolean; + onUncheckSome?: (rows: any[]) => boolean; + onToggle?: (cardView: boolean) => boolean; ignoreClickToSelectOn?: ({tagName}?: {tagName: any}) => any; cache?: boolean; method?: string; - onColumnSwitch?: (field, checked) => boolean; + onColumnSwitch?: (field: string, checked: boolean) => boolean; searchSelector?: boolean; strictSearch?: boolean; - regexSearch?: boolean; multipleSelectRow?: boolean; - onLoadError?: (status) => boolean; + onLoadError?: (status: string, jqXHR: JQuery.jqXHR) => boolean; buttonsToolbar?: any; paginationVAlign?: string; showColumnsSearch?: boolean; @@ -222,7 +221,7 @@ interface BootstrapTableOptions{ search?: boolean; searchOnEnterKey?: boolean; searchText?: string; - responseHandler?: (res) => any; + responseHandler?: (res: any) => any; toolbarAlign?: string; paginationParts?: string[]; cardView?: boolean; @@ -231,43 +230,43 @@ interface BootstrapTableOptions{ searchTimeOut?: number; buttonsAlign?: string; buttonsOrder?: string[]; - detailFormatter?: (index, row) => string; - onDblClickRow?: (item, $element) => boolean; + detailFormatter?: (index: number, row: any, $element: JQuery) => string; + onDblClickRow?: (row: any, $element: JQuery, field: string) => boolean; paginationNextText?: string; buttonsPrefix?: string; - loadingTemplate?: (loadingMessage) => string; + loadingTemplate?: (loadingMessage: string) => string; theadClasses?: string; - onLoadSuccess?: (data) => boolean; + onLoadSuccess?: (data: any, status: string, jqXHR: JQuery.jqXHR) => boolean; url?: any; toolbar?: any; onPostHeader?: () => boolean; sidePagination?: string; clickToSelect?: boolean; virtualScrollItemHeight?: any; - rowAttributes?: (row, index) => {}; + rowAttributes?: (row: any, index: number) => {}; dataField?: string; idField?: string; - onSort?: (name, order) => boolean; + onSort?: (name: string, order: number) => boolean; pageNumber?: number; data?: any[]; totalNotFilteredField?: string; undefinedText?: string; - onSearch?: (text) => boolean; - onPageChange?: (number, size) => boolean; + onSearch?: (text: string) => boolean; + onPageChange?: (number: number, size: number) => boolean; paginationUseIntermediate?: boolean; searchAccentNeutralise?: boolean; singleSelect?: boolean; showButtonIcons?: boolean; showPaginationSwitch?: boolean; - onPreBody?: (data) => boolean; - detailFilter?: (index, row) => boolean; + onPreBody?: (data: any) => boolean; + detailFilter?: (index: number, row: any) => boolean; detailViewByClick?: boolean; totalField?: string; contentType?: string; showColumns?: boolean; totalNotFiltered?: number; checkboxHeader?: boolean; - onRefresh?: (params) => boolean; + onRefresh?: (params: any[]) => boolean; dataType?: string; paginationPreText?: string; showToggle?: boolean; @@ -285,7 +284,7 @@ interface BootstrapTableOptions{ paginationHAlign?: string; sortClass?: any; pagination?: boolean; - queryParams?: (params) => any; + queryParams?: (params: any) => any; paginationSuccessivelySize?: number; classes?: BootstrapTableClasses; rememberOrder?: boolean; @@ -293,25 +292,25 @@ interface BootstrapTableOptions{ trimOnSearch?: boolean; showRefresh?: boolean; locale?: BootstrapTableLocale; - onCheckAll?: (rows) => boolean; + onCheckAll?: (rowsAfter: any[], rowsBefore: any[]) => boolean; showFooter?: boolean; - headerStyle?: (column) => {}; + headerStyle?: (column: BootstrapTableColumn) => {}; maintainMetaData?: boolean; - onRefreshOptions?: (options) => boolean; + onRefreshOptions?: (options: BootstrapTableOptions) => boolean; showExtendedPagination?: boolean; smartDisplay?: boolean; paginationLoop?: boolean; virtualScroll?: boolean; sortReset?: boolean; filterOptions?: {filterAlgorithm: string}; - onUncheckAll?: (rows) => boolean; + onUncheckAll?: (rowsAfter: any[], rowsBefore: any[]) => boolean; showSearchClearButton?: boolean; buttons?: {}; showHeader?: boolean; - onClickCell?: (field, value, row, $element) => boolean; + onClickCell?: (field: string, value: any, row: any, $element: JQuery) => boolean; sortable?: boolean; icons?: BootstrapTableIcons; - onExpandRow?: (index, row, $detail) => boolean; + onExpandRow?: (index: number, row: any, $detail: JQuery) => boolean; buttonsClass?: string; pageList?: number[]; } From 56c42626d975d510a08e5d2ebabb30b7fa608792 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Fri, 1 Oct 2021 20:11:09 +0200 Subject: [PATCH 54/77] Added cardView state to cookies --- src/extensions/cookie/bootstrap-table-cookie.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 34f132b9f6..8c5e6c90f1 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -12,6 +12,7 @@ const UtilsCookie = { pageNumber: 'bs.table.pageNumber', pageList: 'bs.table.pageList', columns: 'bs.table.columns', + cardView: 'bs.table.cardView', searchText: 'bs.table.searchText', reorderColumns: 'bs.table.reorderColumns', filterControl: 'bs.table.filterControl', @@ -280,7 +281,7 @@ $.extend($.fn.bootstrapTable.defaults, { 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl', 'bs.table.filterBy', - 'bs.table.reorderColumns' + 'bs.table.reorderColumns', 'bs.table.cardView' ], cookieStorage: 'cookieStorage', // localStorage, sessionStorage, customStorage cookieCustomStorageGet: null, @@ -436,6 +437,11 @@ $.BootstrapTable = class extends $.BootstrapTable { UtilsCookie.setCookie(this, UtilsCookie.cookieIds.columns, JSON.stringify(this.getVisibleColumns().map(column => column.field))) } + toggleView () { + super.toggleView() + UtilsCookie.setCookie(this, UtilsCookie.cookieIds.cardView, this.options.cardView) + } + selectPage (page) { super.selectPage(page) UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, page) @@ -483,6 +489,7 @@ $.BootstrapTable = class extends $.BootstrapTable { const pageNumberCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageNumber) const pageListCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.pageList) const searchTextCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.searchText) + const cardViewCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.cardView) const columnsCookieValue = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.columns) @@ -530,6 +537,8 @@ $.BootstrapTable = class extends $.BootstrapTable { this.options.pageSize = pageListCookie ? pageListCookie === this.options.formatAllRows() ? pageListCookie : +pageListCookie : this.options.pageSize // searchText this.options.searchText = searchTextCookie ? searchTextCookie : '' + // cardView + this.options.cardView = cardViewCookie === 'true' ? cardViewCookie : false if (columnsCookie) { for (const column of this.columns) { From 202a85a26e903db06a8db810ad7e9fc010481827 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Fri, 1 Oct 2021 20:16:33 +0200 Subject: [PATCH 55/77] Adjusted the documentation --- site/docs/extensions/cookie.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/site/docs/extensions/cookie.md b/site/docs/extensions/cookie.md index bf3db38966..2f00738ce6 100644 --- a/site/docs/extensions/cookie.md +++ b/site/docs/extensions/cookie.md @@ -180,7 +180,7 @@ toc: true Set this array with the table properties (sortOrder, sortName, sortPriority, pageNumber, pageList, columns, searchText, filterControl) that you want to save -- **Default:** `['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl']` +- **Default:** `['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl', 'bs.table.cardView']` ## Methods @@ -203,9 +203,11 @@ toc: true ## This plugin saves * Page number -* Page number from the list +* Page size (Rows per page) * Search text * Search filter control * Sort order +* Sort name * Multiple Sort order * Visible columns +* Card view state \ No newline at end of file From f3242d1e39e6b2255ba68d85d23e5d1290fa3523 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Fri, 1 Oct 2021 20:32:55 +0200 Subject: [PATCH 56/77] Don't show not visible columns after toggle columns with the cookie plugin --- src/extensions/cookie/bootstrap-table-cookie.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 34f132b9f6..58b4aa02f2 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -533,7 +533,7 @@ $.BootstrapTable = class extends $.BootstrapTable { if (columnsCookie) { for (const column of this.columns) { - column.visible = columnsCookie.filter(columnField => { + const filteredColumns = columnsCookie.filter(columnField => { if (this.isSelectionColumn(column)) { return true } @@ -547,7 +547,9 @@ $.BootstrapTable = class extends $.BootstrapTable { } return columnField === column.field - }).length > 0 || !column.switchable + }) + + column.visible = (filteredColumns.length > 0 || !column.switchable) && column.visible } } } From 2d65be4a64fb722b1f7ac9e4b82b9ff82dbf9f82 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Fri, 1 Oct 2021 20:41:09 +0200 Subject: [PATCH 57/77] Add the hidden class instead of replacing the original class --- src/extensions/group-by-v2/bootstrap-table-group-by.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/group-by-v2/bootstrap-table-group-by.js b/src/extensions/group-by-v2/bootstrap-table-group-by.js index 140e23225c..4058754294 100644 --- a/src/extensions/group-by-v2/bootstrap-table-group-by.js +++ b/src/extensions/group-by-v2/bootstrap-table-group-by.js @@ -105,7 +105,7 @@ BootstrapTable.prototype.initSort = function (...args) { } if (this.isCollapsed(key, value)) { - item._class = 'hidden' + item._class += ' hidden' } item._data['parent-index'] = index From a53671b36dd3905c75b9d49130143c021b0a8d41 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Mon, 4 Oct 2021 20:30:26 +0200 Subject: [PATCH 58/77] Added a new event, which is triggered if the pagination was toggled --- site/docs/api/events.md | 12 ++++++++++++ src/bootstrap-table.js | 1 + src/constants/index.js | 6 +++++- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/site/docs/api/events.md b/site/docs/api/events.md index c277120acf..c634f62bc4 100644 --- a/site/docs/api/events.md +++ b/site/docs/api/events.md @@ -348,6 +348,18 @@ $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) { * `cardView`: the cardView state of the table. +## onTogglePagination + +- **jQuery Event:** `toggle-pagination.bs.table` + +- **Parameter:** `state` + +- **Detail:** + + Fires when the pagination was toggled: + + * `state`: the new pagination state (`true`-> Pagination is enabled, `false` -> Pagination is disabled ) + ## onUncheck - **jQuery Event:** `uncheck.bs.table` diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index b391fc025b..ff5a6cbd92 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -3080,6 +3080,7 @@ class BootstrapTable { this.$toolbar.find('button[name="paginationSwitch"]') .html(`${Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon) } ${ text}`) this.updatePagination() + this.trigger('toggle-pagination', this.options.pagination) } toggleFullscreen () { diff --git a/src/constants/index.js b/src/constants/index.js index 3b5e8b75d6..7866b908d6 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -394,6 +394,9 @@ const DEFAULTS = { }, onScrollBody () { return false + }, + onTogglePagination (newState) { + return false } } @@ -564,7 +567,8 @@ const EVENTS = { 'refresh-options.bs.table': 'onRefreshOptions', 'reset-view.bs.table': 'onResetView', 'refresh.bs.table': 'onRefresh', - 'scroll-body.bs.table': 'onScrollBody' + 'scroll-body.bs.table': 'onScrollBody', + 'toggle-pagination.bs.table': 'onTogglePagination' } Object.assign(DEFAULTS, EN) From b121facfbca384e747f58df202c8715b3a382e43 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Sun, 10 Oct 2021 13:02:46 +0200 Subject: [PATCH 59/77] fixed broken page-list selector --- src/bootstrap-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index ff5a6cbd92..500e3e4f44 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1317,7 +1317,7 @@ class BootstrapTable { if (opts.smartDisplay) { if (pageList.length < 2 || opts.totalRows <= pageList[0]) { - this.$pagination.find('span.page-list').hide() + this.$pagination.find('div.page-list').hide() } } From f34a06e9923e84c4545cd640c7ab9d3e407bf07d Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Mon, 11 Oct 2021 20:27:19 +0200 Subject: [PATCH 60/77] Don't overwrite custom locale functions --- src/bootstrap-table.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 500e3e4f44..70be3758fa 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -67,12 +67,22 @@ class BootstrapTable { parts[1] = parts[1].toUpperCase() } + let localesToExtend = {} + if (locales[this.options.locale]) { - $.extend(this.options, locales[this.options.locale]) + localesToExtend = locales[this.options.locale] } else if (locales[parts.join('-')]) { - $.extend(this.options, locales[parts.join('-')]) + localesToExtend = locales[parts.join('-')] } else if (locales[parts[0]]) { - $.extend(this.options, locales[parts[0]]) + localesToExtend = locales[parts[0]] + } + + for (const [formatName, func] of Object.entries(localesToExtend)) { + if (this.options[formatName] !== BootstrapTable.DEFAULTS[formatName]) { + continue + } + + this.options[formatName] = func } } } From 68e88332846a15de4c96a3132b515698e9a4a55b Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Wed, 13 Oct 2021 21:03:25 +0200 Subject: [PATCH 61/77] Parse int to prevent type missmatch --- src/extensions/treegrid/bootstrap-table-treegrid.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/extensions/treegrid/bootstrap-table-treegrid.js b/src/extensions/treegrid/bootstrap-table-treegrid.js index f16b477910..e4efd0ce22 100644 --- a/src/extensions/treegrid/bootstrap-table-treegrid.js +++ b/src/extensions/treegrid/bootstrap-table-treegrid.js @@ -75,9 +75,11 @@ $.BootstrapTable = class extends $.BootstrapTable { initRow (item, idx, data, parentDom) { if (this.treeEnable) { + const parentId = Number.parseInt(item[this.options.parentIdField]) + if ( - this.options.rootParentId === item[this.options.parentIdField] || - !item[this.options.parentIdField] + this.options.rootParentId === parentId || + !parentId ) { if (item._level === undefined) { item._level = 0 From bfe3a73997902b3347724ada5e176de36e60061a Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Wed, 13 Oct 2021 22:18:01 +0200 Subject: [PATCH 62/77] Fixed the drag selector to allow checking checkboxes on mobile --- site/docs/extensions/reorder-rows.md | 2 +- src/extensions/reorder-rows/bootstrap-table-reorder-rows.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/docs/extensions/reorder-rows.md b/site/docs/extensions/reorder-rows.md index e168625f41..38c6b545e6 100644 --- a/site/docs/extensions/reorder-rows.md +++ b/site/docs/extensions/reorder-rows.md @@ -108,7 +108,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the **Note: This option is mainly used to adapt to the `TableDnD` plugin. Under no special circumstances, please do not modify the default value.** -- **Default:** `>tbody>tr>td` +- **Default:** `>tbody>tr>td:not(.bs-checkbox)` ### useRowAttrFunc diff --git a/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js b/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js index f4abfe1546..6d3006b890 100644 --- a/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js +++ b/src/extensions/reorder-rows/bootstrap-table-reorder-rows.js @@ -13,7 +13,7 @@ $.extend($.fn.bootstrapTable.defaults, { onDragStyle: null, onDropStyle: null, onDragClass: 'reorder_rows_onDragClass', - dragHandle: '>tbody>tr>td', + dragHandle: '>tbody>tr>td:not(.bs-checkbox)', useRowAttrFunc: false, // eslint-disable-next-line no-unused-vars onReorderRowsDrag (row) { From a56ec13527fb3554a73ddcac24789480711c52cb Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Thu, 14 Oct 2021 18:44:20 +0200 Subject: [PATCH 63/77] Added radix to every parseInt call --- src/bootstrap-table.js | 2 +- src/extensions/pipeline/bootstrap-table-pipeline.js | 2 +- src/extensions/treegrid/bootstrap-table-treegrid.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 500e3e4f44..f72d780024 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -2559,7 +2559,7 @@ class BootstrapTable { id = id.toString() } else if (typeof rowUniqueId === 'number') { if ((Number(rowUniqueId) === rowUniqueId) && (rowUniqueId % 1 === 0)) { - id = parseInt(id) + id = parseInt(id, 10) } else if ((rowUniqueId === Number(rowUniqueId)) && (rowUniqueId !== 0)) { id = parseFloat(id) } diff --git a/src/extensions/pipeline/bootstrap-table-pipeline.js b/src/extensions/pipeline/bootstrap-table-pipeline.js index af6409794b..3b94001738 100644 --- a/src/extensions/pipeline/bootstrap-table-pipeline.js +++ b/src/extensions/pipeline/bootstrap-table-pipeline.js @@ -105,7 +105,7 @@ BootstrapTable.prototype.onSort = function () { BootstrapTable.prototype.onPageListChange = function (event) { /* rebuild cache window on page size change */ const target = $(event.currentTarget) - const newPageSize = parseInt(target.text()) + const newPageSize = parseInt(target.text(), 10) this.options.pipelineSize = this.calculatePipelineSize(this.options.pipelineSize, newPageSize) this.resetCache = true diff --git a/src/extensions/treegrid/bootstrap-table-treegrid.js b/src/extensions/treegrid/bootstrap-table-treegrid.js index e4efd0ce22..dc4213f616 100644 --- a/src/extensions/treegrid/bootstrap-table-treegrid.js +++ b/src/extensions/treegrid/bootstrap-table-treegrid.js @@ -75,7 +75,7 @@ $.BootstrapTable = class extends $.BootstrapTable { initRow (item, idx, data, parentDom) { if (this.treeEnable) { - const parentId = Number.parseInt(item[this.options.parentIdField]) + const parentId = parseInt(item[this.options.parentIdField], 10) if ( this.options.rootParentId === parentId || From 32318010387bb13a7489a8a5fc52a865adffb035 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Oct 2021 21:14:06 +0000 Subject: [PATCH 64/77] Bump eslint from 7.32.0 to 8.0.1 Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.0.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.0.1) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1021d62937..5a224ec147 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "clean-css-cli": "^5.0.1", "core-js": "^3.1.4", "cross-env": "^7.0.2", - "eslint": "^7.0.0", + "eslint": "^8.0.1", "esm": "^3.2.25", "foreach-cli": "^1.8.1", "glob": "^7.1.4", From 15ee9fbd3744b9a3c4bf3e1047418fb0b134203e Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Sat, 16 Oct 2021 12:15:02 +0200 Subject: [PATCH 65/77] Fixed an issue with semantic, create the full html directly instead of filling it later --- .../export/bootstrap-table-export.js | 95 +++++++++---------- 1 file changed, 46 insertions(+), 49 deletions(-) diff --git a/src/extensions/export/bootstrap-table-export.js b/src/extensions/export/bootstrap-table-export.js index 455384dc8c..f0b13be92a 100644 --- a/src/extensions/export/bootstrap-table-export.js +++ b/src/extensions/export/bootstrap-table-export.js @@ -92,30 +92,51 @@ $.BootstrapTable = class extends $.BootstrapTable { this.buttons = Object.assign(this.buttons, { export: { - html: exportTypes.length === 1 ? ` -
    - -
    - ` : ` -
    - -
    - ` + html: + (() => { + if (exportTypes.length === 1) { + return ` +
    + +
    + ` + } + + const html = [] + + html.push(` +
    + + ${this.constants.html.toolbarDropdown[0]} + `) + + for (const type of exportTypes) { + if (TYPE_NAME.hasOwnProperty(type)) { + const $item = $(Utils.sprintf(this.constants.html.pageDropdownItem, '', TYPE_NAME[type])) + + $item.attr('data-type', type) + html.push($item.prop('outerHTML')) + } + } + + html.push(this.constants.html.toolbarDropdown[1], '
    ') + return html.join('') + }) } }) } @@ -127,32 +148,8 @@ $.BootstrapTable = class extends $.BootstrapTable { return } - let $menu = $(this.constants.html.toolbarDropdown.join('')) - let $items = this.$export - - if (exportTypes.length > 1) { - this.$export.append($menu) - - // themes support - if ($menu.children().length) { - $menu = $menu.children().eq(0) - } - for (const type of exportTypes) { - if (TYPE_NAME.hasOwnProperty(type)) { - const $item = $(Utils.sprintf(this.constants.html.pageDropdownItem, - '', TYPE_NAME[type])) - - $item.attr('data-type', type) - $menu.append($item) - } - } - - $items = $menu.children() - } - this.updateExportButton() - - $items.click(e => { + this.$export.find('[data-type]').click(e => { e.preventDefault() const type = $(e.currentTarget).data('type') From 94921353e8705ce6763a0ebed615502a3053a926 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Mon, 18 Oct 2021 20:56:13 +0200 Subject: [PATCH 66/77] Check if page size "all" is selected --- src/bootstrap-table.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 8f5349bfd0..381c767a27 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1910,9 +1910,8 @@ class BootstrapTable { if (this.options.pagination && this.options.sidePagination === 'server') { params.offset = this.options.pageSize === this.options.formatAllRows() ? 0 : this.options.pageSize * (this.options.pageNumber - 1) - params.limit = this.options.pageSize === this.options.formatAllRows() ? - this.options.totalRows : this.options.pageSize - if (params.limit === 0) { + params.limit = this.options.pageSize + if (params.limit === 0 || this.options.pageSize === this.options.formatAllRows()) { delete params.limit } } From 7e4c224a9c8b537410b6d538d503538b57c5ce1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez?= <36200981+rickygzz@users.noreply.github.com> Date: Wed, 20 Oct 2021 16:57:22 -0500 Subject: [PATCH 67/77] Update bootstrap-table-es-MX.js There were some strings in english that needed translation. --- src/locale/bootstrap-table-es-MX.js | 35 +++++++++++++++-------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/locale/bootstrap-table-es-MX.js b/src/locale/bootstrap-table-es-MX.js index 2ed8bf76fe..17970220f2 100644 --- a/src/locale/bootstrap-table-es-MX.js +++ b/src/locale/bootstrap-table-es-MX.js @@ -3,36 +3,37 @@ * Author: Felix Vera (felix.vera@gmail.com) * Copiado: Mauricio Vera (mauricioa.vera@gmail.com) * Revisión: J Manuel Corona (jmcg92@gmail.com) (13/Feb/2018). + * Revisión: Ricardo González (rickygzz85@gmail.com) (20/Oct/2021) */ $.fn.bootstrapTable.locales['es-MX'] = { formatCopyRows () { - return 'Copy Rows' + return 'Copiar Filas' }, formatPrint () { - return 'Print' + return 'Imprimir' }, formatLoadingMessage () { return 'Cargando, espere por favor' }, formatRecordsPerPage (pageNumber) { - return `${pageNumber} registros por página` + return `${pageNumber} resultados por página` }, formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) { if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) { - return `Mostrando ${pageFrom} a ${pageTo} de ${totalRows} filas (filtered from ${totalNotFiltered} total rows)` + return `Mostrando ${pageFrom} a ${pageTo} de ${totalRows} filas (filtrado de ${totalNotFiltered} filas totales)` } return `Mostrando ${pageFrom} a ${pageTo} de ${totalRows} filas` }, formatSRPaginationPreText () { - return 'previous page' + return 'página anterior' }, formatSRPaginationPageText (page) { - return `to page ${page}` + return `ir a la página ${page}` }, formatSRPaginationNextText () { - return 'next page' + return 'página siguiente' }, formatDetailPagination (totalRows) { return `Mostrando ${totalRows} filas` @@ -50,10 +51,10 @@ $.fn.bootstrapTable.locales['es-MX'] = { return 'Mostrar/ocultar paginación' }, formatPaginationSwitchDown () { - return 'Show pagination' + return 'Mostrar pagination' }, formatPaginationSwitchUp () { - return 'Hide pagination' + return 'Ocultar pagination' }, formatRefresh () { return 'Actualizar' @@ -62,16 +63,16 @@ $.fn.bootstrapTable.locales['es-MX'] = { return 'Cambiar vista' }, formatToggleOn () { - return 'Show card view' + return 'Mostrar vista' }, formatToggleOff () { - return 'Hide card view' + return 'Ocultar vista' }, formatColumns () { return 'Columnas' }, formatColumnsToggleAll () { - return 'Toggle all' + return 'Alternar todo' }, formatFullscreen () { return 'Pantalla completa' @@ -80,19 +81,19 @@ $.fn.bootstrapTable.locales['es-MX'] = { return 'Todo' }, formatAutoRefresh () { - return 'Auto Refresh' + return 'Auto actualizar' }, formatExport () { - return 'Export data' + return 'Exportar datos' }, formatJumpTo () { - return 'GO' + return 'IR' }, formatAdvancedSearch () { - return 'Advanced search' + return 'Búsqueda avanzada' }, formatAdvancedCloseButton () { - return 'Close' + return 'Cerrar' }, formatFilterControlSwitch () { return 'Ocultar/Mostrar controles' From d46ce26e5216917b20ee3827aeba68ad2bca1ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez?= <36200981+rickygzz@users.noreply.github.com> Date: Fri, 22 Oct 2021 00:58:03 -0500 Subject: [PATCH 68/77] Update bootstrap-table-es-MX.js Updated "pagination" translation --- src/locale/bootstrap-table-es-MX.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locale/bootstrap-table-es-MX.js b/src/locale/bootstrap-table-es-MX.js index 17970220f2..137387c552 100644 --- a/src/locale/bootstrap-table-es-MX.js +++ b/src/locale/bootstrap-table-es-MX.js @@ -51,10 +51,10 @@ $.fn.bootstrapTable.locales['es-MX'] = { return 'Mostrar/ocultar paginación' }, formatPaginationSwitchDown () { - return 'Mostrar pagination' + return 'Mostrar paginación' }, formatPaginationSwitchUp () { - return 'Ocultar pagination' + return 'Ocultar paginación' }, formatRefresh () { return 'Actualizar' From 133b503851c774c53340785f81d38c2488c7d06d Mon Sep 17 00:00:00 2001 From: zhixin Date: Thu, 7 Jan 2021 00:59:46 +0800 Subject: [PATCH 69/77] Update ci --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.travis.yml b/.travis.yml index 35af09b273..068bf4ce4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,30 @@ jobs: node_js: - 12 name: "Lint src and check docs" + cache: + npm: true + directories: + - ~/.cache script: - cd tools - git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples - npm run pre-commit if: branch != master AND type = pull_request + - stage: test + language: node_js + node_js: + - 12 + name: "Cypress Test" + cache: + npm: true + directories: + - ~/.cache + script: + - git clone --depth=1 -b feature/cypress-test https://github.com/wenzhixin/bootstrap-table-examples cypress/html + - npm run test + if: branch != master AND type = pull_request + - stage: deploy name: "Deploy docs" language: ruby From 961dbc3a6ff3ea7bc41340ded4d3146940998035 Mon Sep 17 00:00:00 2001 From: zhixin Date: Tue, 12 Jan 2021 00:01:40 +0800 Subject: [PATCH 70/77] Add cypress welcome test --- .travis.yml | 1 + cypress.json | 4 + cypress/.gitignore | 2 + cypress/common/utils.js | 4 + cypress/common/welcome.js | 96 ++++++++++++++++++++++ cypress/fixtures/example.json | 5 ++ cypress/integration/welcome/bootstrap3.js | 1 + cypress/integration/welcome/bootstrap5.js | 1 + cypress/integration/welcome/bulma.js | 1 + cypress/integration/welcome/foundation.js | 1 + cypress/integration/welcome/index.js | 1 + cypress/integration/welcome/materialize.js | 1 + cypress/integration/welcome/semantic.js | 1 + cypress/plugins/index.js | 21 +++++ cypress/support/commands.js | 25 ++++++ cypress/support/index.js | 20 +++++ package.json | 2 + 17 files changed, 187 insertions(+) create mode 100644 cypress.json create mode 100644 cypress/.gitignore create mode 100644 cypress/common/utils.js create mode 100644 cypress/common/welcome.js create mode 100644 cypress/fixtures/example.json create mode 100644 cypress/integration/welcome/bootstrap3.js create mode 100644 cypress/integration/welcome/bootstrap5.js create mode 100644 cypress/integration/welcome/bulma.js create mode 100644 cypress/integration/welcome/foundation.js create mode 100644 cypress/integration/welcome/index.js create mode 100644 cypress/integration/welcome/materialize.js create mode 100644 cypress/integration/welcome/semantic.js create mode 100644 cypress/plugins/index.js create mode 100644 cypress/support/commands.js create mode 100644 cypress/support/index.js diff --git a/.travis.yml b/.travis.yml index 068bf4ce4f..9bbcb28222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,7 @@ jobs: - ~/.cache script: - git clone --depth=1 -b feature/cypress-test https://github.com/wenzhixin/bootstrap-table-examples cypress/html + - npm run css:build:src - npm run test if: branch != master AND type = pull_request diff --git a/cypress.json b/cypress.json new file mode 100644 index 0000000000..5ded6b3f95 --- /dev/null +++ b/cypress.json @@ -0,0 +1,4 @@ +{ + "video": false, + "screenshot": false +} diff --git a/cypress/.gitignore b/cypress/.gitignore new file mode 100644 index 0000000000..e010d1afde --- /dev/null +++ b/cypress/.gitignore @@ -0,0 +1,2 @@ +html +screenshots diff --git a/cypress/common/utils.js b/cypress/common/utils.js new file mode 100644 index 0000000000..d67fcfd78a --- /dev/null +++ b/cypress/common/utils.js @@ -0,0 +1,4 @@ +module.exports = (theme, dir) => { + return theme ? `./cypress/html/for-test-${theme}.html?url=${dir}/` : + `./cypress/html/for-test.html?url=${dir}/` +} diff --git a/cypress/common/welcome.js b/cypress/common/welcome.js new file mode 100644 index 0000000000..ebe1e3a925 --- /dev/null +++ b/cypress/common/welcome.js @@ -0,0 +1,96 @@ +module.exports = (theme = '') => { + const baseUrl = require('./utils')(theme, 'welcomes') + + describe('Welcome Test', () => { + it('Test From HTML', () => { + cy.visit(`${baseUrl}from-html.html`) + .get('.bootstrap-table').should('exist') + .get('.fixed-table-toolbar > .columns').should('exist') + .get('.fixed-table-toolbar > .search').should('exist') + }) + + it('Test From Data', () => { + cy.visit(`${baseUrl}from-data.html`) + .get('div.bootstrap-table tbody tr').should('have.length', 6) + }) + + it('Test From URL', () => { + cy.visit(`${baseUrl}from-url.html`) + .get('div.bootstrap-table tbody tr').should('have.length', 21) + }) + + it('Test No Data', () => { + cy.visit(`${baseUrl}no-data.html`) + .get('div.bootstrap-table').should('exist') + .get('tr.no-records-found').should('be.visible') + }) + + it('Test Modal Table', () => { + const html = theme ? `modal-table-${theme}.html` : 'modal-table.html' + + cy.visit(`${baseUrl}${html}`) + .get('#button').wait(100).click() + .get('.bootstrap-table').should('be.visible') + .get('.fixed-table-container').should('have.css', 'height', '345px') + .invoke('css', 'padding-bottom').then(str => parseInt(str)).should('be.greaterThan', 0) + }) + + it('Test Group Columns', () => { + cy.visit(`${baseUrl}group-columns.html`) + .get('.fixed-table-body thead tr:eq(0) th:eq(0)') + .should('have.attr', 'colspan', '2') + + cy.get('.fixed-table-body thead tr:eq(0) th:eq(1)') + .should('have.attr', 'rowspan', '2') + + cy.get('.columns .keep-open > button').click() + + if (theme === 'materialize') { + cy.get('.columns input[data-field="name"]').parent().click() + .get('.columns input[data-field="price"]').parent().click() + } else { + cy.get('.columns input[data-field="name"]').click() + .get('.columns input[data-field="price"]').click() + } + + cy.get('.fixed-table-body thead tr').should('have.length', 1) + }) + + it('Test Sub Table', () => { + cy.visit(`${baseUrl}sub-table.html`) + .get('a.detail-icon').click() + .get('tr.detail-view a.detail-icon').click() + .get('.bootstrap-table').should('have.length', 3) + }) + + it('Test Multiple Table', () => { + cy.visit(`${baseUrl}multiple-table.html`) + .get('.bootstrap-table').should('have.length', 4) + }) + + it('Test Flat Json', () => { + cy.visit(`${baseUrl}flat-json.html`) + .get('.bootstrap-table tr[data-index="0"] td:eq(1)').should('contain', 768) + }) + + it('Test Large data', () => { + cy.visit(`${baseUrl}large-data.html`) + .get('.bootstrap-table').should('exist') + .get('#load').click() + .get('#total').should('contain', '10000') + + cy.get('#append').click() + .get('#total').should('contain', '20000') + + cy.get('#table tr[data-index]').should('have.length', 200) + }) + + it('Test Vue Component', () => { + cy.visit(`${baseUrl}vue-component.html`) + .get('.bootstrap-table').should('exist') + .get('.fixed-table-toolbar > .columns').should('exist') + .get('.fixed-table-toolbar > .search').should('exist') + .get('.bootstrap-table tr[data-index]').should('have.length', 6) + }) + }) +} diff --git a/cypress/fixtures/example.json b/cypress/fixtures/example.json new file mode 100644 index 0000000000..da18d9352a --- /dev/null +++ b/cypress/fixtures/example.json @@ -0,0 +1,5 @@ +{ + "name": "Using fixtures to represent data", + "email": "hello@cypress.io", + "body": "Fixtures are a great way to mock data for responses to routes" +} \ No newline at end of file diff --git a/cypress/integration/welcome/bootstrap3.js b/cypress/integration/welcome/bootstrap3.js new file mode 100644 index 0000000000..6252032855 --- /dev/null +++ b/cypress/integration/welcome/bootstrap3.js @@ -0,0 +1 @@ +require('../../common/welcome')('bootstrap3') diff --git a/cypress/integration/welcome/bootstrap5.js b/cypress/integration/welcome/bootstrap5.js new file mode 100644 index 0000000000..27a7f97865 --- /dev/null +++ b/cypress/integration/welcome/bootstrap5.js @@ -0,0 +1 @@ +require('../../common/welcome')('bootstrap5') diff --git a/cypress/integration/welcome/bulma.js b/cypress/integration/welcome/bulma.js new file mode 100644 index 0000000000..a43556a6fe --- /dev/null +++ b/cypress/integration/welcome/bulma.js @@ -0,0 +1 @@ +require('../../common/welcome')('bulma') diff --git a/cypress/integration/welcome/foundation.js b/cypress/integration/welcome/foundation.js new file mode 100644 index 0000000000..cbb7935063 --- /dev/null +++ b/cypress/integration/welcome/foundation.js @@ -0,0 +1 @@ +require('../../common/welcome')('foundation') diff --git a/cypress/integration/welcome/index.js b/cypress/integration/welcome/index.js new file mode 100644 index 0000000000..04dc48afc2 --- /dev/null +++ b/cypress/integration/welcome/index.js @@ -0,0 +1 @@ +require('../../common/welcome')() diff --git a/cypress/integration/welcome/materialize.js b/cypress/integration/welcome/materialize.js new file mode 100644 index 0000000000..1b574f5772 --- /dev/null +++ b/cypress/integration/welcome/materialize.js @@ -0,0 +1 @@ +require('../../common/welcome')('materialize') diff --git a/cypress/integration/welcome/semantic.js b/cypress/integration/welcome/semantic.js new file mode 100644 index 0000000000..26bf9d052e --- /dev/null +++ b/cypress/integration/welcome/semantic.js @@ -0,0 +1 @@ +require('../../common/welcome')('semantic') diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js new file mode 100644 index 0000000000..aa9918d215 --- /dev/null +++ b/cypress/plugins/index.js @@ -0,0 +1,21 @@ +/// +// *********************************************************** +// This example plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading +// the plugins file with the 'pluginsFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/plugins-guide +// *********************************************************** + +// This function is called when a project is opened or re-opened (e.g. due to +// the project's config changing) + +/** + * @type {Cypress.PluginConfig} + */ +module.exports = (on, config) => { + // `on` is used to hook into various events Cypress emits + // `config` is the resolved Cypress config +} diff --git a/cypress/support/commands.js b/cypress/support/commands.js new file mode 100644 index 0000000000..ca4d256f3e --- /dev/null +++ b/cypress/support/commands.js @@ -0,0 +1,25 @@ +// *********************************************** +// This example commands.js shows you how to +// create various custom commands and overwrite +// existing commands. +// +// For more comprehensive examples of custom +// commands please read more here: +// https://on.cypress.io/custom-commands +// *********************************************** +// +// +// -- This is a parent command -- +// Cypress.Commands.add("login", (email, password) => { ... }) +// +// +// -- This is a child command -- +// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... }) +// +// +// -- This is a dual command -- +// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) +// +// +// -- This will overwrite an existing command -- +// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... }) diff --git a/cypress/support/index.js b/cypress/support/index.js new file mode 100644 index 0000000000..d68db96df2 --- /dev/null +++ b/cypress/support/index.js @@ -0,0 +1,20 @@ +// *********************************************************** +// This example support/index.js is processed and +// loaded automatically before your test files. +// +// This is a great place to put global configuration and +// behavior that modifies Cypress. +// +// You can change the location of this file or turn off +// automatically serving support files with the +// 'supportFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/configuration +// *********************************************************** + +// Import commands.js using ES2015 syntax: +import './commands' + +// Alternatively you can use CommonJS syntax: +// require('./commands') diff --git a/package.json b/package.json index 5a224ec147..8ec98ff77d 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "clean-css-cli": "^5.0.1", "core-js": "^3.1.4", "cross-env": "^7.0.2", + "cypress": "^6.1.0", "eslint": "^8.0.1", "esm": "^3.2.25", "foreach-cli": "^1.8.1", @@ -40,6 +41,7 @@ "lint:js": "eslint src", "lint:css": "stylelint src/**/*.scss", "lint": "run-s lint:*", + "test": "cypress run --headless", "docs:check:api": "cd tools && node check-api.js", "docs:check:locale": "cd tools && node check-locale.js", "docs:check": "run-s docs:check:*", From 2717979eec5ff56f5419f99e9677918f6c3d8ddb Mon Sep 17 00:00:00 2001 From: zhixin Date: Fri, 19 Feb 2021 09:01:56 +0800 Subject: [PATCH 71/77] Add cypress options test --- .travis.yml | 2 +- cypress/common/options.js | 27 ++++++++++++++++++++++ cypress/common/welcome.js | 2 +- cypress/integration/options/bootstrap3.js | 1 + cypress/integration/options/bootstrap5.js | 1 + cypress/integration/options/bulma.js | 1 + cypress/integration/options/foundation.js | 1 + cypress/integration/options/index.js | 1 + cypress/integration/options/materialize.js | 1 + cypress/integration/options/semantic.js | 1 + package.json | 2 +- 11 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 cypress/common/options.js create mode 100644 cypress/integration/options/bootstrap3.js create mode 100644 cypress/integration/options/bootstrap5.js create mode 100644 cypress/integration/options/bulma.js create mode 100644 cypress/integration/options/foundation.js create mode 100644 cypress/integration/options/index.js create mode 100644 cypress/integration/options/materialize.js create mode 100644 cypress/integration/options/semantic.js diff --git a/.travis.yml b/.travis.yml index 9bbcb28222..e1792edab6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ jobs: directories: - ~/.cache script: - - git clone --depth=1 -b feature/cypress-test https://github.com/wenzhixin/bootstrap-table-examples cypress/html + - git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples cypress/html - npm run css:build:src - npm run test if: branch != master AND type = pull_request diff --git a/cypress/common/options.js b/cypress/common/options.js new file mode 100644 index 0000000000..40195ba003 --- /dev/null +++ b/cypress/common/options.js @@ -0,0 +1,27 @@ +module.exports = (theme = '') => { + const baseUrl = require('./utils')(theme, 'options') + + describe('Welcome Test', () => { + it('Test Custom AJAX', () => { + cy.visit(`${baseUrl}table-ajax.html`) + .get('.fixed-table-pagination >.pagination-detail').should('have.length', 1) + .get('.fixed-table-pagination > .pagination').should('have.length', 1) + .get('span.pagination-info').should('contain', '800') + }) + + it('Test AJAX Options', () => { + cy.visit(`${baseUrl}ajax-options.html`) + .intercept('GET', '**/json/data1.json').as('ajax') + .wait('@ajax') + .should(({ request }) => { + expect(request.headers).to.have.property('custom-auth-token') + .and.eq('custom-auth-token') + }) + }) + + it('Test Basic Columns', () => { + cy.visit(`${baseUrl}basic-columns.html`) + .get('.fixed-table-toolbar .columns').should('exist') + }) + }) +} diff --git a/cypress/common/welcome.js b/cypress/common/welcome.js index ebe1e3a925..55667bc787 100644 --- a/cypress/common/welcome.js +++ b/cypress/common/welcome.js @@ -29,7 +29,7 @@ module.exports = (theme = '') => { const html = theme ? `modal-table-${theme}.html` : 'modal-table.html' cy.visit(`${baseUrl}${html}`) - .get('#button').wait(100).click() + .get('#button').wait(200).click() .get('.bootstrap-table').should('be.visible') .get('.fixed-table-container').should('have.css', 'height', '345px') .invoke('css', 'padding-bottom').then(str => parseInt(str)).should('be.greaterThan', 0) diff --git a/cypress/integration/options/bootstrap3.js b/cypress/integration/options/bootstrap3.js new file mode 100644 index 0000000000..78139705cd --- /dev/null +++ b/cypress/integration/options/bootstrap3.js @@ -0,0 +1 @@ +require('../../common/options')('bootstrap3') diff --git a/cypress/integration/options/bootstrap5.js b/cypress/integration/options/bootstrap5.js new file mode 100644 index 0000000000..77e9f2e478 --- /dev/null +++ b/cypress/integration/options/bootstrap5.js @@ -0,0 +1 @@ +require('../../common/options')('bootstrap5') diff --git a/cypress/integration/options/bulma.js b/cypress/integration/options/bulma.js new file mode 100644 index 0000000000..a81c502a5d --- /dev/null +++ b/cypress/integration/options/bulma.js @@ -0,0 +1 @@ +require('../../common/options')('bulma') diff --git a/cypress/integration/options/foundation.js b/cypress/integration/options/foundation.js new file mode 100644 index 0000000000..13a01816a5 --- /dev/null +++ b/cypress/integration/options/foundation.js @@ -0,0 +1 @@ +require('../../common/options')('foundation') diff --git a/cypress/integration/options/index.js b/cypress/integration/options/index.js new file mode 100644 index 0000000000..6a253de2f0 --- /dev/null +++ b/cypress/integration/options/index.js @@ -0,0 +1 @@ +require('../../common/options')() diff --git a/cypress/integration/options/materialize.js b/cypress/integration/options/materialize.js new file mode 100644 index 0000000000..088439458c --- /dev/null +++ b/cypress/integration/options/materialize.js @@ -0,0 +1 @@ +require('../../common/options')('materialize') diff --git a/cypress/integration/options/semantic.js b/cypress/integration/options/semantic.js new file mode 100644 index 0000000000..0e01a1c64f --- /dev/null +++ b/cypress/integration/options/semantic.js @@ -0,0 +1 @@ +require('../../common/options')('semantic') diff --git a/package.json b/package.json index 8ec98ff77d..0bf5b90ac0 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "clean-css-cli": "^5.0.1", "core-js": "^3.1.4", "cross-env": "^7.0.2", - "cypress": "^6.1.0", + "cypress": "^8.6.0", "eslint": "^8.0.1", "esm": "^3.2.25", "foreach-cli": "^1.8.1", From 1c1aae78e5e041586eff907348ae7c3b090b2595 Mon Sep 17 00:00:00 2001 From: Dustin Utecht <13292481+UtechtDustin@users.noreply.github.com> Date: Sat, 30 Oct 2021 00:08:20 +0200 Subject: [PATCH 72/77] Update to the new issue form system (#5921) --- .github/ISSUE_TEMPLATE/1_Bug_report.md | 26 ------------ .github/ISSUE_TEMPLATE/1_Bug_report.yaml | 41 +++++++++++++++++++ .github/ISSUE_TEMPLATE/2_Feature_request.md | 12 ------ .github/ISSUE_TEMPLATE/2_Feature_request.yaml | 17 ++++++++ .github/ISSUE_TEMPLATE/3_Support_question.md | 18 -------- .../ISSUE_TEMPLATE/3_Support_question.yaml | 27 ++++++++++++ .github/ISSUE_TEMPLATE/4_Documentation.md | 19 --------- .github/ISSUE_TEMPLATE/4_Documentation.yaml | 22 ++++++++++ 8 files changed, 107 insertions(+), 75 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/1_Bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/1_Bug_report.yaml delete mode 100644 .github/ISSUE_TEMPLATE/2_Feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/2_Feature_request.yaml delete mode 100644 .github/ISSUE_TEMPLATE/3_Support_question.md create mode 100644 .github/ISSUE_TEMPLATE/3_Support_question.yaml delete mode 100644 .github/ISSUE_TEMPLATE/4_Documentation.md create mode 100644 .github/ISSUE_TEMPLATE/4_Documentation.yaml diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.md b/.github/ISSUE_TEMPLATE/1_Bug_report.md deleted file mode 100644 index 437cf0763a..0000000000 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: 🐛 Bug Report -about: Report errors and problems -labels: Bug - ---- - -**Bootstraptable version(s) affected**: - - -**Description** - - -**Example** - - -**Possible (optional)** - - -**Additional context** - - - - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yaml b/.github/ISSUE_TEMPLATE/1_Bug_report.yaml new file mode 100644 index 0000000000..3c4aa8de7b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yaml @@ -0,0 +1,41 @@ +name: 🐛 Bug Report +description: Report errors and problems +labels: Bug + +body: + - type: input + id: affected-versions + attributes: + label: Bootstraptable version(s) affected + placeholder: 1.18.0 + validations: + required: true + - type: textarea + id: description + attributes: + label: Description + description: What kind of error/problem you are affected by + validations: + required: true + - type: textarea + id: examples + attributes: + label: Example(s) + description: | + Please use our online Editor (https://live.bootstrap-table.com/) to create a example. + On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor. + - type: textarea + id: possible-solution + attributes: + label: Possible Solutions + description: "Optional: only if you have suggestions on a fix/reason for the bug" + - type: textarea + id: additional-contex + attributes: + label: Additional Context + description: "Optional: any other context about the problem: browser version, operation system, etc." + - type: markdown + attributes: + value: | + Love bootstrap-table? Please consider supporting our collective: + 👉 https://opencollective.com/bootstrap-table/donate \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2_Feature_request.md b/.github/ISSUE_TEMPLATE/2_Feature_request.md deleted file mode 100644 index 774470f085..0000000000 --- a/.github/ISSUE_TEMPLATE/2_Feature_request.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: 🚀 Feature Request/Improvement -about: Ideas for new features and improvements -labels: feature-request ---- - -**Description** - - - - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2_Feature_request.yaml b/.github/ISSUE_TEMPLATE/2_Feature_request.yaml new file mode 100644 index 0000000000..371cea4558 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_Feature_request.yaml @@ -0,0 +1,17 @@ +name: 🚀 Feature Request/Improvement +description: Ideas for new features and improvements +labels: feature-request + +body: + - type: textarea + id: description + attributes: + label: Description + description: Description of the desired new feature + validations: + required: true + - type: markdown + attributes: + value: | + Love bootstrap-table? Please consider supporting our collective: + 👉 https://opencollective.com/bootstrap-table/donate \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/3_Support_question.md b/.github/ISSUE_TEMPLATE/3_Support_question.md deleted file mode 100644 index 20ebc5aa7d..0000000000 --- a/.github/ISSUE_TEMPLATE/3_Support_question.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: ❓ Support Question -about: Here you can ask questions about the features -labels: help-wanted - ---- - - -**Description** - - -**Example (optional)** - - - - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/3_Support_question.yaml b/.github/ISSUE_TEMPLATE/3_Support_question.yaml new file mode 100644 index 0000000000..21bf8ffef9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3_Support_question.yaml @@ -0,0 +1,27 @@ +name: ❓ Support Question +description: Here you can ask questions about the features +labels: help-wanted + +body: + - type: markdown + attributes: + value: Before you ask please check if you can find a similar issue and/or a solution on a issue or on stackoverflow + - type: textarea + id: description + attributes: + label: Description + description: Description of your support question. + validations: + required: true + - type: textarea + id: examples + attributes: + label: Example(s) + description: | + Please use our online Editor (https://live.bootstrap-table.com/) to create a example. + On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor. + - type: markdown + attributes: + value: | + Love bootstrap-table? Please consider supporting our collective: + 👉 https://opencollective.com/bootstrap-table/donate \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/4_Documentation.md b/.github/ISSUE_TEMPLATE/4_Documentation.md deleted file mode 100644 index 9f1504dc40..0000000000 --- a/.github/ISSUE_TEMPLATE/4_Documentation.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: ⛔ Documentation & Examples -about: Issues with the Documentation and/or the Examples -labels: docs - ---- - - - - -**Description** - - - - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/4_Documentation.yaml b/.github/ISSUE_TEMPLATE/4_Documentation.yaml new file mode 100644 index 0000000000..086dfce471 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/4_Documentation.yaml @@ -0,0 +1,22 @@ +name: ⛔ Documentation & Examples +description: Issues with the Documentation and/or the Examples +labels: docs + +body: + - type: markdown + attributes: + value: | + We have our own dedicated repository for the examples. Please open your + documentation-related issue at https://github.com/wenzhixin/bootstrap-table-examples + - type: textarea + id: description + attributes: + label: Description + description: Description of your support question. + validations: + required: true + - type: markdown + attributes: + value: | + Love bootstrap-table? Please consider supporting our collective: + 👉 https://opencollective.com/bootstrap-table/donate \ No newline at end of file From db4d1cd42eb40577d7c4bc1ed14d588a5bc39a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E7=BF=BC?= Date: Sat, 30 Oct 2021 14:59:14 +0800 Subject: [PATCH 73/77] Added virtual-scroll event (#5922) --- site/docs/api/events.md | 15 ++++++++++++++- src/bootstrap-table.js | 5 +++-- src/constants/index.js | 3 ++- src/virtual-scroll/index.js | 6 +++++- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/site/docs/api/events.md b/site/docs/api/events.md index c634f62bc4..d39d3ceffa 100644 --- a/site/docs/api/events.md +++ b/site/docs/api/events.md @@ -21,7 +21,7 @@ $('#table').bootstrapTable({ }) {% endhighlight %} -Binding via the jquery event handler: +Binding via the jquery event handler: {% highlight html %} // Here you can expect to have in the 'e' variable the sender property which is the boostrap-table object @@ -397,3 +397,16 @@ $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) { Fires when user uncheck some rows, the parameters contain: * `rows`: array of records corresponding to previously checked rows. + +## onVirtualScroll + +- **jQuery Event:** `virtual-scroll.bs.table` + +- **Parameter:** `startIndex, endIndex` + +- **Detail:** + + Fires when user scroll the virtual scroll, the parameters contain: + + * `startIndex`: the start row index of the virtual scroll. + * `endIndex`: the end row index of the virtual scroll. diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 381c767a27..4812df905d 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1746,9 +1746,10 @@ class BootstrapTable { scrollEl: this.$tableBody[0], contentEl: this.$body[0], itemHeight: this.options.virtualScrollItemHeight, - callback: () => { + callback: (startIndex, endIndex) => { this.fitHeader() this.initBodyEvent() + this.trigger('virtual-scroll', startIndex, endIndex) } }) } @@ -2819,7 +2820,7 @@ class BootstrapTable { const colspan = options.colspan || 1 let i let j - const $tr = this.$body.find('>tr') + const $tr = this.$body.find('>tr[data-index]') col += Utils.getDetailViewIndexOffset(this.options) diff --git a/src/constants/index.js b/src/constants/index.js index 7866b908d6..fbe83559ab 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -568,7 +568,8 @@ const EVENTS = { 'reset-view.bs.table': 'onResetView', 'refresh.bs.table': 'onRefresh', 'scroll-body.bs.table': 'onScrollBody', - 'toggle-pagination.bs.table': 'onTogglePagination' + 'toggle-pagination.bs.table': 'onTogglePagination', + 'virtual-scroll.bs.table': 'onVirtualScroll' } Object.assign(DEFAULTS, EN) diff --git a/src/virtual-scroll/index.js b/src/virtual-scroll/index.js index a6a5c9409b..aa637d10f8 100644 --- a/src/virtual-scroll/index.js +++ b/src/virtual-scroll/index.js @@ -21,7 +21,7 @@ class VirtualScroll { const onScroll = () => { if (this.lastCluster !== (this.lastCluster = this.getNum())) { this.initDOM(this.rows) - this.callback() + this.callback(this.startIndex, this.endIndex) } } @@ -54,6 +54,8 @@ class VirtualScroll { if (data.bottomOffset) { html.push(this.getExtra('bottom', data.bottomOffset)) } + this.startIndex = data.start + this.endIndex = data.end this.contentEl.innerHTML = html.join('') if (fixedScroll) { @@ -104,6 +106,8 @@ class VirtualScroll { rows[i] && thisRows.push(rows[i]) } return { + start, + end, topOffset, bottomOffset, rowsAbove, From af95ad789e3ef80e6be1722fc0415d214c33cd9c Mon Sep 17 00:00:00 2001 From: Rick van Hattem Date: Sat, 30 Oct 2021 19:11:29 +0200 Subject: [PATCH 74/77] Fixed JQueryXHR reference in typescript definition (#5923) --- index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index d85d5a6217..b39cf976e4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,3 +1,5 @@ +/// + interface BootstrapTableClasses{ buttons: string; buttonsGroup: string; @@ -167,8 +169,8 @@ interface BootstrapAjaxParams{ dataType: string; type: string; contentType: string; - error: (jqXHR: JQuery.jqXHR) => any; - success: (results: any, textStatus?: string, jqXHR?: JQuery.jqXHR) => any; + error: (jqXHR: JQueryXHR) => any; + success: (results: any, textStatus?: string, jqXHR?: JQueryXHR) => any; } interface BootstrapTableOptions{ From d8c0d3879d380321618ac984e1e4b7800bbff1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E7=BF=BC?= Date: Thu, 4 Nov 2021 16:51:59 +0800 Subject: [PATCH 75/77] Fixed all checkbox not auto check after pagination changed (#5926) --- src/bootstrap-table.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 4812df905d..83bed5e77a 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1761,9 +1761,9 @@ class BootstrapTable { } this.initBodyEvent() - this.updateSelected() this.initFooter() this.resetView() + this.updateSelected() if (this.options.sidePagination !== 'server') { this.options.totalRows = data.length @@ -2998,9 +2998,6 @@ class BootstrapTable { this.options.height = params.height } - this.$selectAll.prop('checked', this.$selectItem.length > 0 && - this.$selectItem.length === this.$selectItem.filter(':checked').length) - this.$tableContainer.toggleClass('has-card-view', this.options.cardView) if (!this.options.cardView && this.options.showHeader && this.options.height) { From 96d8bb3edb601eddc98e11fd81a3acd0604d25b6 Mon Sep 17 00:00:00 2001 From: zhixin Date: Sun, 7 Nov 2021 17:31:22 +0800 Subject: [PATCH 76/77] Update changelog --- CHANGELOG.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e810469d6..84955c19c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,52 @@ ChangeLog --------- +### 1.19.0 + +#### Core + +- **New:** Added `onlyCurrentPage` param for `checkBy/uncheckBy` methods. +- **New:** Used `bootstrap icons` as default icons for bootstrap v5. +- **New:** Added `regexSearch` option which allows to filter the table using regex. +- **New:** Added support for allow importing stylesheets. +- **New:** Added `toggle-pagination` event. +- **New:** Added `virtual-scroll` event. +- **Update:** Fixed `vue` component cannot work. +- **Update:** Fixed infinite loop error with wrong server-side pagination metadata. +- **Update:** Improved the behavior of `ajax` abort. +- **Update:** Fixed click bug when paginationLoop is false. +- **Update:** Fixed the highlighting bug when using radio/checkboxes. +- **Update:** Fixed width bug caused by loading css. +- **Update:** Removed the `input-group-append` class for bootstrap v5. +- **Update:** Fixed duplicate definition `id` bug. +- **Update:** Fixed the comparison of search inputs. +- **Update:** Fixed broken page-list selector. +- **Update:** Fixed overwrite custom locale function bug. +- **Update:** Fixed bug with server side pagination and the page size `all`. +- **Update:** Fixed all checkbox not auto check after pagination changed. +- **Update:** Updated the `es-MX` locate. + +#### Extensions + +- **New(cookie):** Added `Multiple Sort order` stored in cookie extension. +- **New(cookie):** Added `Card view state` stored in cookie extension. +- **New(copy):** Added `ignoreCopy` column option to prevent copying the column data. +- **New(copy):** Added `rawCopy` column option to copy the raw value instead of the formatted value. +- **Update(cookie):** Fixed `switchable` column bug with the cookie extension. +- **Update(export):** Fixed the export dropdown cannot be closed bug. +- **Update(filter-control):** Updated `filterMultipleSelectOptions` to `filterControlMultipleSelectOptions` option. +- **Update(filter-control):** Fixed bug with cookie deletion of none filter cookies. +- **Update(filter-control):** Fixed bug when using the `load` method. +- **Update(group-by):** Fixed overwriting the column classes bug on group collapsed rows. +- **Update(multiple-sort):** Fixed hide/show column error with no sortPriority defined. +- **Update(page-jump-to):** Fixed jump-to display bug in bootstrap v3. +- **Update(print):** Fixed print formatter bug. +- **Update(reorder-rows):** Fixed `reorder-rows` not work property. +- **Update(reorder-rows):** Fixed the drag selector to prevent a checkbox bug on mobile. +- **Update(resizable):** Fixed the reinitialization after the table changed. +- **Update(sticky-header):** Fixed sticky-header not work property with group header. +- **Update(treegrid):** Fixed bug of treegrid from html. + ### 1.18.3 #### Core From 0fe785af579206271de157e192e1a7a957205da0 Mon Sep 17 00:00:00 2001 From: zhixin Date: Mon, 8 Nov 2021 11:06:21 +0800 Subject: [PATCH 77/77] Update to 1.19.0 --- _config.yml | 2 +- bootstrap-table.jquery.json | 2 +- dist/bootstrap-table-locale-all.js | 73 ++- dist/bootstrap-table-locale-all.min.js | 4 +- dist/bootstrap-table-vue.esm.js | 173 ++++- dist/bootstrap-table-vue.esm.min.js | 4 +- dist/bootstrap-table-vue.js | 179 +++++- dist/bootstrap-table-vue.min.js | 4 +- dist/bootstrap-table.css | 3 +- dist/bootstrap-table.js | 604 +++++++++++------- dist/bootstrap-table.min.css | 4 +- dist/bootstrap-table.min.js | 4 +- .../addrbar/bootstrap-table-addrbar.js | 51 +- .../addrbar/bootstrap-table-addrbar.min.js | 4 +- .../bootstrap-table-auto-refresh.js | 56 +- .../bootstrap-table-auto-refresh.min.js | 4 +- .../cookie/bootstrap-table-cookie.js | 213 +++--- .../cookie/bootstrap-table-cookie.min.js | 4 +- .../copy-rows/bootstrap-table-copy-rows.js | 65 +- .../bootstrap-table-copy-rows.min.js | 4 +- .../bootstrap-table-custom-view.js | 56 +- .../bootstrap-table-custom-view.min.js | 4 +- .../defer-url/bootstrap-table-defer-url.js | 38 +- .../bootstrap-table-defer-url.min.js | 4 +- .../editable/bootstrap-table-editable.js | 51 +- .../editable/bootstrap-table-editable.min.js | 4 +- .../export/bootstrap-table-export.js | 161 ++--- .../export/bootstrap-table-export.min.js | 4 +- .../bootstrap-table-filter-control.js | 134 ++-- .../bootstrap-table-filter-control.min.css | 2 +- .../bootstrap-table-filter-control.min.js | 4 +- dist/extensions/filter-control/utils.js | 85 +-- dist/extensions/filter-control/utils.min.js | 4 +- .../bootstrap-table-fixed-columns.js | 43 +- .../bootstrap-table-fixed-columns.min.css | 2 +- .../bootstrap-table-fixed-columns.min.js | 4 +- .../group-by-v2/bootstrap-table-group-by.js | 60 +- .../bootstrap-table-group-by.min.css | 2 +- .../bootstrap-table-group-by.min.js | 4 +- .../bootstrap-table-i18n-enhance.min.js | 2 +- .../key-events/bootstrap-table-key-events.js | 50 +- .../bootstrap-table-key-events.min.js | 4 +- .../mobile/bootstrap-table-mobile.js | 41 +- .../mobile/bootstrap-table-mobile.min.js | 4 +- .../bootstrap-table-multiple-sort.js | 74 ++- .../bootstrap-table-multiple-sort.min.js | 4 +- .../bootstrap-table-page-jump-to.css | 7 +- .../bootstrap-table-page-jump-to.js | 40 +- .../bootstrap-table-page-jump-to.min.css | 4 +- .../bootstrap-table-page-jump-to.min.js | 4 +- .../pipeline/bootstrap-table-pipeline.js | 42 +- .../pipeline/bootstrap-table-pipeline.min.js | 4 +- .../extensions/print/bootstrap-table-print.js | 59 +- .../print/bootstrap-table-print.min.js | 4 +- .../bootstrap-table-reorder-columns.js | 40 +- .../bootstrap-table-reorder-columns.min.js | 4 +- .../bootstrap-table-reorder-rows.js | 62 +- .../bootstrap-table-reorder-rows.min.css | 2 +- .../bootstrap-table-reorder-rows.min.js | 4 +- .../resizable/bootstrap-table-resizable.js | 39 +- .../bootstrap-table-resizable.min.js | 4 +- .../bootstrap-table-sticky-header.js | 47 +- .../bootstrap-table-sticky-header.min.css | 2 +- .../bootstrap-table-sticky-header.min.js | 4 +- .../toolbar/bootstrap-table-toolbar.js | 69 +- .../toolbar/bootstrap-table-toolbar.min.js | 4 +- .../treegrid/bootstrap-table-treegrid.js | 120 +++- .../treegrid/bootstrap-table-treegrid.min.js | 4 +- dist/locale/bootstrap-table-af-ZA.js | 38 +- dist/locale/bootstrap-table-af-ZA.min.js | 4 +- dist/locale/bootstrap-table-ar-SA.js | 38 +- dist/locale/bootstrap-table-ar-SA.min.js | 4 +- dist/locale/bootstrap-table-bg-BG.js | 38 +- dist/locale/bootstrap-table-bg-BG.min.js | 4 +- dist/locale/bootstrap-table-ca-ES.js | 38 +- dist/locale/bootstrap-table-ca-ES.min.js | 4 +- dist/locale/bootstrap-table-cs-CZ.js | 38 +- dist/locale/bootstrap-table-cs-CZ.min.js | 4 +- dist/locale/bootstrap-table-da-DK.js | 38 +- dist/locale/bootstrap-table-da-DK.min.js | 4 +- dist/locale/bootstrap-table-de-DE.js | 38 +- dist/locale/bootstrap-table-de-DE.min.js | 4 +- dist/locale/bootstrap-table-el-GR.js | 38 +- dist/locale/bootstrap-table-el-GR.min.js | 4 +- dist/locale/bootstrap-table-en-US.js | 38 +- dist/locale/bootstrap-table-en-US.min.js | 4 +- dist/locale/bootstrap-table-es-AR.js | 38 +- dist/locale/bootstrap-table-es-AR.min.js | 4 +- dist/locale/bootstrap-table-es-CL.js | 38 +- dist/locale/bootstrap-table-es-CL.min.js | 4 +- dist/locale/bootstrap-table-es-CR.js | 38 +- dist/locale/bootstrap-table-es-CR.min.js | 4 +- dist/locale/bootstrap-table-es-ES.js | 38 +- dist/locale/bootstrap-table-es-ES.min.js | 4 +- dist/locale/bootstrap-table-es-MX.js | 73 ++- dist/locale/bootstrap-table-es-MX.min.js | 4 +- dist/locale/bootstrap-table-es-NI.js | 38 +- dist/locale/bootstrap-table-es-NI.min.js | 4 +- dist/locale/bootstrap-table-es-SP.js | 38 +- dist/locale/bootstrap-table-es-SP.min.js | 4 +- dist/locale/bootstrap-table-et-EE.js | 38 +- dist/locale/bootstrap-table-et-EE.min.js | 4 +- dist/locale/bootstrap-table-eu-EU.js | 38 +- dist/locale/bootstrap-table-eu-EU.min.js | 4 +- dist/locale/bootstrap-table-fa-IR.js | 38 +- dist/locale/bootstrap-table-fa-IR.min.js | 4 +- dist/locale/bootstrap-table-fi-FI.js | 38 +- dist/locale/bootstrap-table-fi-FI.min.js | 4 +- dist/locale/bootstrap-table-fr-BE.js | 38 +- dist/locale/bootstrap-table-fr-BE.min.js | 4 +- dist/locale/bootstrap-table-fr-CH.js | 38 +- dist/locale/bootstrap-table-fr-CH.min.js | 4 +- dist/locale/bootstrap-table-fr-FR.js | 38 +- dist/locale/bootstrap-table-fr-FR.min.js | 4 +- dist/locale/bootstrap-table-fr-LU.js | 38 +- dist/locale/bootstrap-table-fr-LU.min.js | 4 +- dist/locale/bootstrap-table-he-IL.js | 38 +- dist/locale/bootstrap-table-he-IL.min.js | 4 +- dist/locale/bootstrap-table-hr-HR.js | 38 +- dist/locale/bootstrap-table-hr-HR.min.js | 4 +- dist/locale/bootstrap-table-hu-HU.js | 38 +- dist/locale/bootstrap-table-hu-HU.min.js | 4 +- dist/locale/bootstrap-table-id-ID.js | 38 +- dist/locale/bootstrap-table-id-ID.min.js | 4 +- dist/locale/bootstrap-table-it-IT.js | 38 +- dist/locale/bootstrap-table-it-IT.min.js | 4 +- dist/locale/bootstrap-table-ja-JP.js | 38 +- dist/locale/bootstrap-table-ja-JP.min.js | 4 +- dist/locale/bootstrap-table-ka-GE.js | 38 +- dist/locale/bootstrap-table-ka-GE.min.js | 4 +- dist/locale/bootstrap-table-ko-KR.js | 38 +- dist/locale/bootstrap-table-ko-KR.min.js | 4 +- dist/locale/bootstrap-table-ms-MY.js | 38 +- dist/locale/bootstrap-table-ms-MY.min.js | 4 +- dist/locale/bootstrap-table-nb-NO.js | 38 +- dist/locale/bootstrap-table-nb-NO.min.js | 4 +- dist/locale/bootstrap-table-nl-BE.js | 38 +- dist/locale/bootstrap-table-nl-BE.min.js | 4 +- dist/locale/bootstrap-table-nl-NL.js | 38 +- dist/locale/bootstrap-table-nl-NL.min.js | 4 +- dist/locale/bootstrap-table-pl-PL.js | 38 +- dist/locale/bootstrap-table-pl-PL.min.js | 4 +- dist/locale/bootstrap-table-pt-BR.js | 38 +- dist/locale/bootstrap-table-pt-BR.min.js | 4 +- dist/locale/bootstrap-table-pt-PT.js | 38 +- dist/locale/bootstrap-table-pt-PT.min.js | 4 +- dist/locale/bootstrap-table-ro-RO.js | 38 +- dist/locale/bootstrap-table-ro-RO.min.js | 4 +- dist/locale/bootstrap-table-ru-RU.js | 38 +- dist/locale/bootstrap-table-ru-RU.min.js | 4 +- dist/locale/bootstrap-table-sk-SK.js | 38 +- dist/locale/bootstrap-table-sk-SK.min.js | 4 +- dist/locale/bootstrap-table-sr-Cyrl-RS.js | 38 +- dist/locale/bootstrap-table-sr-Cyrl-RS.min.js | 4 +- dist/locale/bootstrap-table-sr-Latn-RS.js | 38 +- dist/locale/bootstrap-table-sr-Latn-RS.min.js | 4 +- dist/locale/bootstrap-table-sv-SE.js | 38 +- dist/locale/bootstrap-table-sv-SE.min.js | 4 +- dist/locale/bootstrap-table-th-TH.js | 38 +- dist/locale/bootstrap-table-th-TH.min.js | 4 +- dist/locale/bootstrap-table-tr-TR.js | 38 +- dist/locale/bootstrap-table-tr-TR.min.js | 4 +- dist/locale/bootstrap-table-uk-UA.js | 38 +- dist/locale/bootstrap-table-uk-UA.min.js | 4 +- dist/locale/bootstrap-table-ur-PK.js | 38 +- dist/locale/bootstrap-table-ur-PK.min.js | 4 +- dist/locale/bootstrap-table-uz-Latn-UZ.js | 38 +- dist/locale/bootstrap-table-uz-Latn-UZ.min.js | 4 +- dist/locale/bootstrap-table-vi-VN.js | 38 +- dist/locale/bootstrap-table-vi-VN.min.js | 4 +- dist/locale/bootstrap-table-zh-CN.js | 38 +- dist/locale/bootstrap-table-zh-CN.min.js | 4 +- dist/locale/bootstrap-table-zh-TW.js | 38 +- dist/locale/bootstrap-table-zh-TW.min.js | 4 +- .../bootstrap-table/bootstrap-table.css | 1 + .../themes/bootstrap-table/bootstrap-table.js | 40 +- .../bootstrap-table/bootstrap-table.min.css | 4 +- .../bootstrap-table/bootstrap-table.min.js | 4 +- dist/themes/bulma/bootstrap-table-bulma.css | 1 + dist/themes/bulma/bootstrap-table-bulma.js | 40 +- .../bulma/bootstrap-table-bulma.min.css | 4 +- .../themes/bulma/bootstrap-table-bulma.min.js | 4 +- .../foundation/bootstrap-table-foundation.css | 1 + .../foundation/bootstrap-table-foundation.js | 40 +- .../bootstrap-table-foundation.min.css | 4 +- .../bootstrap-table-foundation.min.js | 4 +- .../bootstrap-table-materialize.css | 1 + .../bootstrap-table-materialize.js | 40 +- .../bootstrap-table-materialize.min.css | 4 +- .../bootstrap-table-materialize.min.js | 4 +- .../semantic/bootstrap-table-semantic.css | 1 + .../semantic/bootstrap-table-semantic.js | 40 +- .../semantic/bootstrap-table-semantic.min.css | 4 +- .../semantic/bootstrap-table-semantic.min.js | 4 +- package.json | 2 +- site/news.md | 48 ++ src/bootstrap-table.js | 2 +- src/bootstrap-table.scss | 2 +- src/constants/index.js | 2 +- 199 files changed, 3546 insertions(+), 1887 deletions(-) diff --git a/_config.yml b/_config.yml index 8b3848db01..6266572d83 100644 --- a/_config.yml +++ b/_config.yml @@ -27,7 +27,7 @@ algolia: index_name: bootstrap-table # Custom variables -current_version: 1.18.3 +current_version: 1.19.0 title: "Bootstrap Table" description: "An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)" authors: "Zhixin Wen, and Bootstrap Table contributors" diff --git a/bootstrap-table.jquery.json b/bootstrap-table.jquery.json index 2023732acc..f2ee49da93 100644 --- a/bootstrap-table.jquery.json +++ b/bootstrap-table.jquery.json @@ -1,6 +1,6 @@ { "name": "bootstrap-table", - "version": "1.18.3", + "version": "1.19.0", "title": "Bootstrap Table", "description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)", "author": { diff --git a/dist/bootstrap-table-locale-all.js b/dist/bootstrap-table-locale-all.js index d8d089897d..ea9a6e17e3 100644 --- a/dist/bootstrap-table-locale-all.js +++ b/dist/bootstrap-table-locale-all.js @@ -20,9 +20,10 @@ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global_1 = - /* global globalThis -- safe */ + // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof commonjsGlobal == 'object' && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback @@ -38,21 +39,23 @@ // Detect IE8's incomplete defineProperty implementation var descriptors = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); - var nativePropertyIsEnumerable = {}.propertyIsEnumerable; + var $propertyIsEnumerable = {}.propertyIsEnumerable; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug - var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); + var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor$1(this, V); return !!descriptor && descriptor.enumerable; - } : nativePropertyIsEnumerable; + } : $propertyIsEnumerable; var objectPropertyIsEnumerable = { f: f$4 @@ -132,20 +135,22 @@ // Thank's IE8 for his funny defineProperty var ie8DomDefine = !descriptors && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- requied for testing return Object.defineProperty(documentCreateElement('div'), 'a', { get: function () { return 7; } }).a != 7; }); - var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); P = toPrimitive(P, true); if (ie8DomDefine) try { - return nativeGetOwnPropertyDescriptor(O, P); + return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]); }; @@ -160,16 +165,17 @@ } return it; }; - var nativeDefineProperty = Object.defineProperty; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var $defineProperty = Object.defineProperty; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) { + var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (ie8DomDefine) try { - return nativeDefineProperty(O, P, Attributes); + return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; @@ -219,7 +225,7 @@ (module.exports = function (key, value) { return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.9.1', + version: '3.10.1', mode: 'global', copyright: '© 2021 Denis Pushkarev (zloirock.ru)' }); @@ -431,6 +437,7 @@ // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames + // eslint-disable-next-line es/no-object-getownpropertynames -- safe var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return objectKeysInternal(O, hiddenKeys); }; @@ -439,6 +446,7 @@ f: f$1 }; + // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe var f = Object.getOwnPropertySymbols; var objectGetOwnPropertySymbols = { @@ -538,6 +546,7 @@ // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe var isArray = Array.isArray || function isArray(arg) { return classofRaw(arg) == 'Array'; }; @@ -576,16 +585,19 @@ var engineV8Version = version && +version; + // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () { - /* global Symbol -- required for testing */ + // eslint-disable-next-line es/no-symbol -- required for testing return !Symbol.sham && // Chrome 38 Symbol has incorrect toString conversion // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41); }); + /* eslint-disable es/no-symbol -- required for testing */ + + var useSymbolAsUid = nativeSymbol - /* global Symbol -- safe */ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; @@ -2112,36 +2124,37 @@ * Author: Felix Vera (felix.vera@gmail.com) * Copiado: Mauricio Vera (mauricioa.vera@gmail.com) * Revisión: J Manuel Corona (jmcg92@gmail.com) (13/Feb/2018). + * Revisión: Ricardo González (rickygzz85@gmail.com) (20/Oct/2021) */ $__default['default'].fn.bootstrapTable.locales['es-MX'] = { formatCopyRows: function formatCopyRows() { - return 'Copy Rows'; + return 'Copiar Filas'; }, formatPrint: function formatPrint() { - return 'Print'; + return 'Imprimir'; }, formatLoadingMessage: function formatLoadingMessage() { return 'Cargando, espere por favor'; }, formatRecordsPerPage: function formatRecordsPerPage(pageNumber) { - return "".concat(pageNumber, " registros por p\xE1gina"); + return "".concat(pageNumber, " resultados por p\xE1gina"); }, formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) { if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) { - return "Mostrando ".concat(pageFrom, " a ").concat(pageTo, " de ").concat(totalRows, " filas (filtered from ").concat(totalNotFiltered, " total rows)"); + return "Mostrando ".concat(pageFrom, " a ").concat(pageTo, " de ").concat(totalRows, " filas (filtrado de ").concat(totalNotFiltered, " filas totales)"); } return "Mostrando ".concat(pageFrom, " a ").concat(pageTo, " de ").concat(totalRows, " filas"); }, formatSRPaginationPreText: function formatSRPaginationPreText() { - return 'previous page'; + return 'página anterior'; }, formatSRPaginationPageText: function formatSRPaginationPageText(page) { - return "to page ".concat(page); + return "ir a la p\xE1gina ".concat(page); }, formatSRPaginationNextText: function formatSRPaginationNextText() { - return 'next page'; + return 'página siguiente'; }, formatDetailPagination: function formatDetailPagination(totalRows) { return "Mostrando ".concat(totalRows, " filas"); @@ -2159,10 +2172,10 @@ return 'Mostrar/ocultar paginación'; }, formatPaginationSwitchDown: function formatPaginationSwitchDown() { - return 'Show pagination'; + return 'Mostrar paginación'; }, formatPaginationSwitchUp: function formatPaginationSwitchUp() { - return 'Hide pagination'; + return 'Ocultar paginación'; }, formatRefresh: function formatRefresh() { return 'Actualizar'; @@ -2171,16 +2184,16 @@ return 'Cambiar vista'; }, formatToggleOn: function formatToggleOn() { - return 'Show card view'; + return 'Mostrar vista'; }, formatToggleOff: function formatToggleOff() { - return 'Hide card view'; + return 'Ocultar vista'; }, formatColumns: function formatColumns() { return 'Columnas'; }, formatColumnsToggleAll: function formatColumnsToggleAll() { - return 'Toggle all'; + return 'Alternar todo'; }, formatFullscreen: function formatFullscreen() { return 'Pantalla completa'; @@ -2189,19 +2202,19 @@ return 'Todo'; }, formatAutoRefresh: function formatAutoRefresh() { - return 'Auto Refresh'; + return 'Auto actualizar'; }, formatExport: function formatExport() { - return 'Export data'; + return 'Exportar datos'; }, formatJumpTo: function formatJumpTo() { - return 'GO'; + return 'IR'; }, formatAdvancedSearch: function formatAdvancedSearch() { - return 'Advanced search'; + return 'Búsqueda avanzada'; }, formatAdvancedCloseButton: function formatAdvancedCloseButton() { - return 'Close'; + return 'Cerrar'; }, formatFilterControlSwitch: function formatFilterControlSwitch() { return 'Ocultar/Mostrar controles'; diff --git a/dist/bootstrap-table-locale-all.min.js b/dist/bootstrap-table-locale-all.min.js index eb7b265c4c..8263d6a4bb 100644 --- a/dist/bootstrap-table-locale-all.min.js +++ b/dist/bootstrap-table-locale-all.min.js @@ -1,10 +1,10 @@ /** * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) * - * @version v1.18.3 + * @version v1.19.0 * @homepage https://bootstrap-table.com * @author wenzhixin (http://wenzhixin.net.cn/) * @license MIT */ -!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=n(t),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.exports}var a=function(t){return t&&t.Math==Math&&t},i=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u=function(t){try{return!!t()}catch(t){return!0}},f=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,s={f:l&&!c.call({1:2},1)?function(t){var n=l(this,t);return!!n&&n.enumerable}:c},m=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},g={}.toString,d=function(t){return g.call(t).slice(8,-1)},h="".split,p=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?h.call(t,""):Object(t)}:Object,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},S=function(t){return p(w(t))},P=function(t){return"object"==typeof t?null!==t:"function"==typeof t},T=function(t,n){if(!P(t))return t;var o,r;if(n&&"function"==typeof(o=t.toString)&&!P(r=o.call(t)))return r;if("function"==typeof(o=t.valueOf)&&!P(r=o.call(t)))return r;if(!n&&"function"==typeof(o=t.toString)&&!P(r=o.call(t)))return r;throw TypeError("Can't convert object to primitive value")},R={}.hasOwnProperty,C=function(t,n){return R.call(t,n)},b=i.document,v=P(b)&&P(b.createElement),A=!f&&!u((function(){return 7!=Object.defineProperty((t="div",v?b.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),x=Object.getOwnPropertyDescriptor,F={f:f?x:function(t,n){if(t=S(t),n=T(n,!0),A)try{return x(t,n)}catch(t){}if(C(t,n))return m(!s.f.call(t,n),t[n])}},y=function(t){if(!P(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,H={f:f?k:function(t,n,o){if(y(t),n=T(n,!0),y(o),A)try{return k(t,n,o)}catch(t){}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(t[n]=o.value),t}},O=f?function(t,n,o){return H.f(t,n,m(1,o))}:function(t,n,o){return t[n]=o,t},M=function(t,n){try{O(i,t,n)}catch(o){i[t]=n}return n},E="__core-js_shared__",N=i[E]||M(E,{}),D=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return D.call(t)});var z,L,j,B,U=N.inspectSource,J=i.WeakMap,G="function"==typeof J&&/native code/.test(U(J)),V=e((function(t){(t.exports=function(t,n){return N[t]||(N[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Z=0,I=Math.random(),q=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Z+I).toString(36)},K=V("keys"),W={},Y=i.WeakMap;if(G){var _=N.state||(N.state=new Y),Q=_.get,X=_.has,$=_.set;z=function(t,n){return n.facade=t,$.call(_,t,n),n},L=function(t){return Q.call(_,t)||{}},j=function(t){return X.call(_,t)}}else{var tt=K[B="state"]||(K[B]=q(B));W[tt]=!0,z=function(t,n){return n.facade=t,O(t,tt,n),n},L=function(t){return C(t,tt)?t[tt]:{}},j=function(t){return C(t,tt)}}var nt,ot,rt={set:z,get:L,has:j,enforce:function(t){return j(t)?L(t):z(t,{})},getterFor:function(t){return function(n){var o;if(!P(n)||(o=L(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return o}}},et=e((function(t){var n=rt.get,o=rt.enforce,r=String(String).split("String");(t.exports=function(t,n,e,a){var u,f=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;"function"==typeof e&&("string"!=typeof n||C(e,"name")||O(e,"name",n),(u=o(e)).source||(u.source=r.join("string"==typeof n?n:""))),t!==i?(f?!l&&t[n]&&(c=!0):delete t[n],c?t[n]=e:O(t,n,e)):c?t[n]=e:M(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||U(this)}))})),at=i,it=function(t){return"function"==typeof t?t:void 0},ut=function(t,n){return arguments.length<2?it(at[t])||it(i[t]):at[t]&&at[t][n]||i[t]&&i[t][n]},ft=Math.ceil,ct=Math.floor,lt=function(t){return isNaN(t=+t)?0:(t>0?ct:ft)(t)},st=Math.min,mt=function(t){return t>0?st(lt(t),9007199254740991):0},gt=Math.max,dt=Math.min,ht=function(t){return function(n,o,r){var e,a=S(n),i=mt(a.length),u=function(t,n){var o=lt(t);return o<0?gt(o+n,0):dt(o,n)}(r,i);if(t&&o!=o){for(;i>u;)if((e=a[u++])!=e)return!0}else for(;i>u;u++)if((t||u in a)&&a[u]===o)return t||u||0;return!t&&-1}},pt={includes:ht(!0),indexOf:ht(!1)}.indexOf,wt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),St={f:Object.getOwnPropertyNames||function(t){return function(t,n){var o,r=S(t),e=0,a=[];for(o in r)!C(W,o)&&C(r,o)&&a.push(o);for(;n.length>e;)C(r,o=n[e++])&&(~pt(a,o)||a.push(o));return a}(t,wt)}},Pt={f:Object.getOwnPropertySymbols},Tt=ut("Reflect","ownKeys")||function(t){var n=St.f(y(t)),o=Pt.f;return o?n.concat(o(t)):n},Rt=function(t,n){for(var o=Tt(n),r=H.f,e=F.f,a=0;a=74)&&(nt=Nt.match(/Chrome\/(\d+)/))&&(ot=nt[1]);var jt,Bt=ot&&+ot,Ut=!!Object.getOwnPropertySymbols&&!u((function(){return!Symbol.sham&&(Et?38===Bt:Bt>37&&Bt<41)})),Jt=Ut&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=V("wks"),Vt=i.Symbol,Zt=Jt?Vt:Vt&&Vt.withoutSetter||q,It=function(t){return C(Gt,t)&&(Ut||"string"==typeof Gt[t])||(Ut&&C(Vt,t)?Gt[t]=Vt[t]:Gt[t]=Zt("Symbol."+t)),Gt[t]},qt=It("species"),Kt=function(t,n){var o;return Ht(t)&&("function"!=typeof(o=t.constructor)||o!==Array&&!Ht(o.prototype)?P(o)&&null===(o=o[qt])&&(o=void 0):o=void 0),new(void 0===o?Array:o)(0===n?0:n)},Wt=It("species"),Yt=It("isConcatSpreadable"),_t=9007199254740991,Qt="Maximum allowed index exceeded",Xt=Bt>=51||!u((function(){var t=[];return t[Yt]=!1,t.concat()[0]!==t})),$t=(jt="concat",Bt>=51||!u((function(){var t=[];return(t.constructor={})[Wt]=function(){return{foo:1}},1!==t[jt](Boolean).foo}))),tn=function(t){if(!P(t))return!1;var n=t[Yt];return void 0!==n?!!n:Ht(t)};!function(t,n){var o,r,e,a,u,f=t.target,c=t.global,l=t.stat;if(o=c?i:l?i[f]||M(f,{}):(i[f]||{}).prototype)for(r in n){if(a=n[r],e=t.noTargetGet?(u=kt(o,r))&&u.value:o[r],!yt(c?r:f+(l?".":"#")+r,t.forced)&&void 0!==e){if(typeof a==typeof e)continue;Rt(a,e)}(t.sham||e&&e.sham)&&O(a,"sham",!0),et(o,r,a,t)}}({target:"Array",proto:!0,forced:!Xt||!$t},{concat:function(t){var n,o,r,e,a,i=Ot(this),u=Kt(i,0),f=0;for(n=-1,r=arguments.length;n_t)throw TypeError(Qt);for(o=0;o=_t)throw TypeError(Qt);Mt(u,f++,a)}return u.length=f,u}}),o.default.fn.bootstrapTable.locales["af-ZA"]=o.default.fn.bootstrapTable.locales.af={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Besig om te laai, wag asseblief"},formatRecordsPerPage:function(t){return"".concat(t," rekords per bladsy")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Resultate ".concat(t," tot ").concat(n," van ").concat(o," rye (filtered from ").concat(r," total rows)"):"Resultate ".concat(t," tot ").concat(n," van ").concat(o," rye")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Soek"},formatNoMatches:function(){return"Geen rekords gevind nie"},formatPaginationSwitch:function(){return"Wys/verberg bladsy nummering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Herlaai"},formatToggle:function(){return"Wissel"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolomme"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["af-ZA"]),o.default.fn.bootstrapTable.locales["ar-SA"]=o.default.fn.bootstrapTable.locales.ar={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"جاري التحميل, يرجى الإنتظار"},formatRecordsPerPage:function(t){return"".concat(t," سجل لكل صفحة")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"الظاهر ".concat(t," إلى ").concat(n," من ").concat(o," سجل ").concat(r," total rows)"):"الظاهر ".concat(t," إلى ").concat(n," من ").concat(o," سجل")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"بحث"},formatNoMatches:function(){return"لا توجد نتائج مطابقة للبحث"},formatPaginationSwitch:function(){return"إخفاءإظهار ترقيم الصفحات"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"تحديث"},formatToggle:function(){return"تغيير"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"أعمدة"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ar-SA"]),o.default.fn.bootstrapTable.locales["bg-BG"]=o.default.fn.bootstrapTable.locales.bg={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Зареждане, моля изчакайте"},formatRecordsPerPage:function(t){return"".concat(t," реда на страница")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Показани редове от ".concat(t," до ").concat(n," от ").concat(o," реда (филтрирани от общо ").concat(r," реда)"):"Показани редове от ".concat(t," до ").concat(n," от общо ").concat(o," реда")},formatSRPaginationPreText:function(){return"предишна страница"},formatSRPaginationPageText:function(t){return"до страница ".concat(t)},formatSRPaginationNextText:function(){return"следваща страница"},formatDetailPagination:function(t){return"Показани ".concat(t," реда")},formatClearSearch:function(){return"Изчистване на търсенето"},formatSearch:function(){return"Търсене"},formatNoMatches:function(){return"Не са намерени съвпадащи записи"},formatPaginationSwitch:function(){return"Скриване/Показване на странициране"},formatPaginationSwitchDown:function(){return"Показване на странициране"},formatPaginationSwitchUp:function(){return"Скриване на странициране"},formatRefresh:function(){return"Обновяване"},formatToggle:function(){return"Превключване"},formatToggleOn:function(){return"Показване на изглед карта"},formatToggleOff:function(){return"Скриване на изглед карта"},formatColumns:function(){return"Колони"},formatColumnsToggleAll:function(){return"Превключване на всички"},formatFullscreen:function(){return"Цял екран"},formatAllRows:function(){return"Всички"},formatAutoRefresh:function(){return"Автоматично обновяване"},formatExport:function(){return"Експорт на данни"},formatJumpTo:function(){return"ОТИДИ"},formatAdvancedSearch:function(){return"Разширено търсене"},formatAdvancedCloseButton:function(){return"Затваряне"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["bg-BG"]),o.default.fn.bootstrapTable.locales["ca-ES"]=o.default.fn.bootstrapTable.locales.ca={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Espereu, si us plau"},formatRecordsPerPage:function(t){return"".concat(t," resultats per pàgina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrant de ".concat(t," fins ").concat(n," - total ").concat(o," resultats (filtered from ").concat(r," total rows)"):"Mostrant de ".concat(t," fins ").concat(n," - total ").concat(o," resultats")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Cerca"},formatNoMatches:function(){return"No s'han trobat resultats"},formatPaginationSwitch:function(){return"Amaga/Mostra paginació"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresca"},formatToggle:function(){return"Alterna formatació"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnes"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Tots"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ca-ES"]),o.default.fn.bootstrapTable.locales["cs-CZ"]=o.default.fn.bootstrapTable.locales.cs={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Čekejte, prosím"},formatRecordsPerPage:function(t){return"".concat(t," položek na stránku")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(o," (filtered from ").concat(r," total rows)"):"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Vyhledávání"},formatNoMatches:function(){return"Nenalezena žádná vyhovující položka"},formatPaginationSwitch:function(){return"Skrýt/Zobrazit stránkování"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Aktualizovat"},formatToggle:function(){return"Přepni"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Sloupce"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Vše"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["cs-CZ"]),o.default.fn.bootstrapTable.locales["da-DK"]=o.default.fn.bootstrapTable.locales.da={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Indlæser, vent venligst"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Viser ".concat(t," til ").concat(n," af ").concat(o," række").concat(o>1?"r":""," (filtered from ").concat(r," total rows)"):"Viser ".concat(t," til ").concat(n," af ").concat(o," række").concat(o>1?"r":"")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Viser ".concat(t," række").concat(t>1?"r":"")},formatClearSearch:function(){return"Ryd filtre"},formatSearch:function(){return"Søg"},formatNoMatches:function(){return"Ingen poster fundet"},formatPaginationSwitch:function(){return"Skjul/vis nummerering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Opdater"},formatToggle:function(){return"Skift"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Eksporter"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["da-DK"]),o.default.fn.bootstrapTable.locales["de-DE"]=o.default.fn.bootstrapTable.locales.de={formatCopyRows:function(){return"Zeilen kopieren"},formatPrint:function(){return"Drucken"},formatLoadingMessage:function(){return"Lade, bitte warten"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen pro Seite.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(o," Zeile").concat(o>1?"n":""," (Gefiltert von ").concat(r," Zeile").concat(r>1?"n":"",")"):"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(o," Zeile").concat(o>1?"n":"",".")},formatSRPaginationPreText:function(){return"Vorherige Seite"},formatSRPaginationPageText:function(t){return"Zu Seite ".concat(t)},formatSRPaginationNextText:function(){return"Nächste Seite"},formatDetailPagination:function(t){return"Zeige ".concat(t," Zeile").concat(t>1?"n":"",".")},formatClearSearch:function(){return"Lösche Filter"},formatSearch:function(){return"Suchen"},formatNoMatches:function(){return"Keine passenden Ergebnisse gefunden"},formatPaginationSwitch:function(){return"Verstecke/Zeige Nummerierung"},formatPaginationSwitchDown:function(){return"Zeige Nummerierung"},formatPaginationSwitchUp:function(){return"Verstecke Nummerierung"},formatRefresh:function(){return"Neu laden"},formatToggle:function(){return"Umschalten"},formatToggleOn:function(){return"Normale Ansicht"},formatToggleOff:function(){return"Kartenansicht"},formatColumns:function(){return"Spalten"},formatColumnsToggleAll:function(){return"Alle umschalten"},formatFullscreen:function(){return"Vollbild"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisches Neuladen"},formatExport:function(){return"Datenexport"},formatJumpTo:function(){return"Springen"},formatAdvancedSearch:function(){return"Erweiterte Suche"},formatAdvancedCloseButton:function(){return"Schließen"},formatFilterControlSwitch:function(){return"Verstecke/Zeige Filter"},formatFilterControlSwitchHide:function(){return"Verstecke Filter"},formatFilterControlSwitchShow:function(){return"Zeige Filter"},formatAddLevel:function(){return"Ebene hinzufügen"},formatCancel:function(){return"Abbrechen"},formatColumn:function(){return"Spalte"},formatDeleteLevel:function(){return"Ebene entfernen"},formatDuplicateAlertTitle:function(){return"Doppelte Einträge gefunden!"},formatDuplicateAlertDescription:function(){return"Bitte doppelte Spalten entfenen oder ändern"},formatMultipleSort:function(){return"Mehrfachsortierung"},formatOrder:function(){return"Reihenfolge"},formatSort:function(){return"Sortieren"},formatSortBy:function(){return"Sortieren nach"},formatThenBy:function(){return"anschließend"},formatSortOrders:function(){return{asc:"Aufsteigend",desc:"Absteigend"}}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["de-DE"]),o.default.fn.bootstrapTable.locales["el-GR"]=o.default.fn.bootstrapTable.locales.el={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Φορτώνει, παρακαλώ περιμένετε"},formatRecordsPerPage:function(t){return"".concat(t," αποτελέσματα ανά σελίδα")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(o," σειρών (filtered from ").concat(r," total rows)"):"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(o," σειρών")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Αναζητήστε"},formatNoMatches:function(){return"Δεν βρέθηκαν αποτελέσματα"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["el-GR"]),o.default.fn.bootstrapTable.locales["en-US"]=o.default.fn.bootstrapTable.locales.en={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(t){return"".concat(t," rows per page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Showing ".concat(t," to ").concat(n," of ").concat(o," rows (filtered from ").concat(r," total rows)"):"Showing ".concat(t," to ").concat(n," of ").concat(o," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["en-US"]),o.default.fn.bootstrapTable.locales["es-AR"]={formatCopyRows:function(){return"Copiar Filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando desde ".concat(t," a ").concat(n," de ").concat(o," filas (filtrado de ").concat(r," columnas totales)"):"Mostrando desde ".concat(t," a ").concat(n," de ").concat(o," filas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," columnas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Recargar"},formatToggle:function(){return"Cambiar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar datos"},formatJumpTo:function(){return"Ir"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-AR"]),o.default.fn.bootstrapTable.locales["es-CL"]={formatCopyRows:function(){return"Copiar Filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," filas por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas (filtrado de ").concat(r," filas totales)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Refrescar"},formatToggle:function(){return"Cambiar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar datos"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-CL"]),o.default.fn.bootstrapTable.locales["es-CR"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total (filtered from ").concat(r," total rows)"):"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refrescar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-CR"]),o.default.fn.bootstrapTable.locales["es-ES"]=o.default.fn.bootstrapTable.locales.es={formatCopyRows:function(){return"Copiar filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Por favor espere"},formatRecordsPerPage:function(t){return"".concat(t," resultados por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(o," resultados (filtrado de ").concat(r," filas totales)"):"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(o," resultados")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron resultados"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Recargar"},formatToggle:function(){return"Ocultar/Mostrar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todos"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar los datos"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-ES"]),o.default.fn.bootstrapTable.locales["es-MX"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas (filtered from ").concat(r," total rows)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros que coincidan"},formatPaginationSwitch:function(){return"Mostrar/ocultar paginación"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Actualizar"},formatToggle:function(){return"Cambiar vista"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-MX"]),o.default.fn.bootstrapTable.locales["es-NI"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total (filtered from ").concat(r," total rows)"):"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refrescar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-NI"]),o.default.fn.bootstrapTable.locales["es-SP"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Cargando, por favor espera"},formatRecordsPerPage:function(t){return"".concat(t," registros por página.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"".concat(t," - ").concat(n," de ").concat(o," registros (filtered from ").concat(r," total rows)"):"".concat(t," - ").concat(n," de ").concat(o," registros.")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se han encontrado registros."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Actualizar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-SP"]),o.default.fn.bootstrapTable.locales["et-EE"]=o.default.fn.bootstrapTable.locales.et={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Päring käib, palun oota"},formatRecordsPerPage:function(t){return"".concat(t," rida lehe kohta")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(o," tulemust (filtered from ").concat(r," total rows)"):"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(o," tulemust")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Otsi"},formatNoMatches:function(){return"Päringu tingimustele ei vastanud ühtegi tulemust"},formatPaginationSwitch:function(){return"Näita/Peida lehtedeks jagamine"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Värskenda"},formatToggle:function(){return"Lülita"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Veerud"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Kõik"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["et-EE"]),o.default.fn.bootstrapTable.locales["eu-EU"]=o.default.fn.bootstrapTable.locales.eu={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Itxaron mesedez"},formatRecordsPerPage:function(t){return"".concat(t," emaitza orriko.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"".concat(o," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten (filtered from ").concat(r," total rows)"):"".concat(o," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten.")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Bilatu"},formatNoMatches:function(){return"Ez da emaitzarik aurkitu"},formatPaginationSwitch:function(){return"Ezkutatu/Erakutsi orrikatzea"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Eguneratu"},formatToggle:function(){return"Ezkutatu/Erakutsi"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Zutabeak"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Guztiak"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["eu-EU"]),o.default.fn.bootstrapTable.locales["fa-IR"]=o.default.fn.bootstrapTable.locales.fa={formatCopyRows:function(){return"کپی ردیف ها"},formatPrint:function(){return"پرینت"},formatLoadingMessage:function(){return"در حال بارگذاری, لطفا صبر کنید"},formatRecordsPerPage:function(t){return"".concat(t," رکورد در صفحه")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"نمایش ".concat(t," تا ").concat(n," از ").concat(o," ردیف (filtered from ").concat(r," total rows)"):"نمایش ".concat(t," تا ").concat(n," از ").concat(o," ردیف")},formatSRPaginationPreText:function(){return"صفحه قبلی"},formatSRPaginationPageText:function(t){return"به صفحه ".concat(t)},formatSRPaginationNextText:function(){return"صفحه بعدی"},formatDetailPagination:function(t){return"نمایش ".concat(t," سطرها")},formatClearSearch:function(){return"پاک کردن جستجو"},formatSearch:function(){return"جستجو"},formatNoMatches:function(){return"رکوردی یافت نشد."},formatPaginationSwitch:function(){return"نمایش/مخفی صفحه بندی"},formatPaginationSwitchDown:function(){return"نمایش صفحه بندی"},formatPaginationSwitchUp:function(){return"پنهان کردن صفحه بندی"},formatRefresh:function(){return"به روز رسانی"},formatToggle:function(){return"تغییر نمایش"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"سطر ها"},formatColumnsToggleAll:function(){return"تغییر وضعیت همه"},formatFullscreen:function(){return"تمام صفحه"},formatAllRows:function(){return"همه"},formatAutoRefresh:function(){return"رفرش اتوماتیک"},formatExport:function(){return"خروجی دیتا"},formatJumpTo:function(){return"برو"},formatAdvancedSearch:function(){return"جستجوی پیشرفته"},formatAdvancedCloseButton:function(){return"بستن"},formatFilterControlSwitch:function(){return"پنهان/نمایش دادن کنترل ها"},formatFilterControlSwitchHide:function(){return"پنهان کردن کنترل ها"},formatFilterControlSwitchShow:function(){return"نمایش کنترل ها"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fa-IR"]),o.default.fn.bootstrapTable.locales["fi-FI"]=o.default.fn.bootstrapTable.locales.fi={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Ladataan, ole hyvä ja odota"},formatRecordsPerPage:function(t){return"".concat(t," riviä sivulla")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(o," (filtered from ").concat(r," total rows)"):"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Poista suodattimet"},formatSearch:function(){return"Hae"},formatNoMatches:function(){return"Hakuehtoja vastaavia tuloksia ei löytynyt"},formatPaginationSwitch:function(){return"Näytä/Piilota sivutus"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Päivitä"},formatToggle:function(){return"Valitse"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Sarakkeet"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Kaikki"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Vie tiedot"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fi-FI"]),o.default.fn.bootstrapTable.locales["fr-BE"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-BE"]),o.default.fn.bootstrapTable.locales["fr-CH"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-CH"]),o.default.fn.bootstrapTable.locales["fr-FR"]=o.default.fn.bootstrapTable.locales.fr={formatCopyRows:function(){return"Copier les lignes"},formatPrint:function(){return"Imprimer"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Aucun résultat"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatRefresh:function(){return"Actualiser"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher la vue carte"},formatToggleOff:function(){return"Masquer la vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualisation automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"ALLER"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-FR"]),o.default.fn.bootstrapTable.locales["fr-LU"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-LU"]),o.default.fn.bootstrapTable.locales["he-IL"]=o.default.fn.bootstrapTable.locales.he={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"טוען, נא להמתין"},formatRecordsPerPage:function(t){return"".concat(t," שורות בעמוד")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"מציג ".concat(t," עד ").concat(n," מ-").concat(o,"שורות").concat(r," total rows)"):"מציג ".concat(t," עד ").concat(n," מ-").concat(o," שורות")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"חיפוש"},formatNoMatches:function(){return"לא נמצאו רשומות תואמות"},formatPaginationSwitch:function(){return"הסתר/הצג מספור דפים"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"רענן"},formatToggle:function(){return"החלף תצוגה"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"עמודות"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"הכל"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["he-IL"]),o.default.fn.bootstrapTable.locales["hr-HR"]=o.default.fn.bootstrapTable.locales.hr={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Molimo pričekajte"},formatRecordsPerPage:function(t){return"".concat(t," broj zapisa po stranici")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(o," (filtered from ").concat(r," total rows)"):"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Pretraži"},formatNoMatches:function(){return"Nije pronađen niti jedan zapis"},formatPaginationSwitch:function(){return"Prikaži/sakrij stranice"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Osvježi"},formatToggle:function(){return"Promijeni prikaz"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["hr-HR"]),o.default.fn.bootstrapTable.locales["hu-HU"]=o.default.fn.bootstrapTable.locales.hu={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Betöltés, kérem várjon"},formatRecordsPerPage:function(t){return"".concat(t," rekord per oldal")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Megjelenítve ".concat(t," - ").concat(n," / ").concat(o," összesen (filtered from ").concat(r," total rows)"):"Megjelenítve ".concat(t," - ").concat(n," / ").concat(o," összesen")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Keresés"},formatNoMatches:function(){return"Nincs találat"},formatPaginationSwitch:function(){return"Lapozó elrejtése/megjelenítése"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Frissítés"},formatToggle:function(){return"Összecsuk/Kinyit"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Oszlopok"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Összes"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["hu-HU"]),o.default.fn.bootstrapTable.locales["id-ID"]=o.default.fn.bootstrapTable.locales.id={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Memuat, mohon tunggu"},formatRecordsPerPage:function(t){return"".concat(t," baris per halaman")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Menampilkan ".concat(t," sampai ").concat(n," dari ").concat(o," baris (filtered from ").concat(r," total rows)"):"Menampilkan ".concat(t," sampai ").concat(n," dari ").concat(o," baris")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Bersihkan filter"},formatSearch:function(){return"Pencarian"},formatNoMatches:function(){return"Tidak ditemukan data yang cocok"},formatPaginationSwitch:function(){return"Sembunyikan/Tampilkan halaman"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Muat ulang"},formatToggle:function(){return"Beralih"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"kolom"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Ekspor data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["id-ID"]),o.default.fn.bootstrapTable.locales["it-IT"]=o.default.fn.bootstrapTable.locales.it={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Caricamento in corso"},formatRecordsPerPage:function(t){return"".concat(t," elementi per pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(o," elementi (filtrati da ").concat(r," elementi totali)"):"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(o," elementi")},formatSRPaginationPreText:function(){return"pagina precedente"},formatSRPaginationPageText:function(t){return"alla pagina ".concat(t)},formatSRPaginationNextText:function(){return"pagina successiva"},formatDetailPagination:function(t){return"Mostrando ".concat(t," elementi")},formatClearSearch:function(){return"Pulisci filtri"},formatSearch:function(){return"Cerca"},formatNoMatches:function(){return"Nessun elemento trovato"},formatPaginationSwitch:function(){return"Nascondi/Mostra paginazione"},formatPaginationSwitchDown:function(){return"Mostra paginazione"},formatPaginationSwitchUp:function(){return"Nascondi paginazione"},formatRefresh:function(){return"Aggiorna"},formatToggle:function(){return"Attiva/Disattiva"},formatToggleOn:function(){return"Mostra visuale a scheda"},formatToggleOff:function(){return"Nascondi visuale a scheda"},formatColumns:function(){return"Colonne"},formatColumnsToggleAll:function(){return"Mostra tutte"},formatFullscreen:function(){return"Schermo intero"},formatAllRows:function(){return"Tutto"},formatAutoRefresh:function(){return"Auto Aggiornamento"},formatExport:function(){return"Esporta dati"},formatJumpTo:function(){return"VAI"},formatAdvancedSearch:function(){return"Filtri avanzati"},formatAdvancedCloseButton:function(){return"Chiudi"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["it-IT"]),o.default.fn.bootstrapTable.locales["ja-JP"]=o.default.fn.bootstrapTable.locales.ja={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"読み込み中です。少々お待ちください。"},formatRecordsPerPage:function(t){return"ページ当たり最大".concat(t,"件")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"全".concat(o,"件から、").concat(t,"から").concat(n,"件目まで表示しています (filtered from ").concat(r," total rows)"):"全".concat(o,"件から、").concat(t,"から").concat(n,"件目まで表示しています")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"検索"},formatNoMatches:function(){return"該当するレコードが見つかりません"},formatPaginationSwitch:function(){return"ページ数を表示・非表示"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"更新"},formatToggle:function(){return"トグル"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"すべて"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ja-JP"]),o.default.fn.bootstrapTable.locales["ka-GE"]=o.default.fn.bootstrapTable.locales.ka={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"იტვირთება, გთხოვთ მოიცადოთ"},formatRecordsPerPage:function(t){return"".concat(t," ჩანაწერი თითო გვერდზე")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(o,"-დან (filtered from ").concat(r," total rows)"):"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(o,"-დან")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"ძებნა"},formatNoMatches:function(){return"მონაცემები არ არის"},formatPaginationSwitch:function(){return"გვერდების გადამრთველის დამალვა/გამოჩენა"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"განახლება"},formatToggle:function(){return"ჩართვა/გამორთვა"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"სვეტები"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ka-GE"]),o.default.fn.bootstrapTable.locales["ko-KR"]=o.default.fn.bootstrapTable.locales.ko={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"데이터를 불러오는 중입니다"},formatRecordsPerPage:function(t){return"페이지 당 ".concat(t,"개 데이터 출력")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"전체 ".concat(o,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력, (filtered from ").concat(r," total rows)"):"전체 ".concat(o,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력,")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"검색"},formatNoMatches:function(){return"조회된 데이터가 없습니다."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"새로 고침"},formatToggle:function(){return"전환"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"컬럼 필터링"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ko-KR"]),o.default.fn.bootstrapTable.locales["ms-MY"]=o.default.fn.bootstrapTable.locales.ms={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Permintaan sedang dimuatkan. Sila tunggu sebentar"},formatRecordsPerPage:function(t){return"".concat(t," rekod setiap muka surat")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(o," rekod (filtered from ").concat(r," total rows)"):"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(o," rekod")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Cari"},formatNoMatches:function(){return"Tiada rekod yang menyamai permintaan"},formatPaginationSwitch:function(){return"Tunjuk/sembunyi muka surat"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Muatsemula"},formatToggle:function(){return"Tukar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Lajur"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ms-MY"]),o.default.fn.bootstrapTable.locales["nb-NO"]=o.default.fn.bootstrapTable.locales.nb={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Oppdaterer, vennligst vent"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Viser ".concat(t," til ").concat(n," av ").concat(o," rekker (filtered from ").concat(r," total rows)"):"Viser ".concat(t," til ").concat(n," av ").concat(o," rekker")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Søk"},formatNoMatches:function(){return"Ingen poster funnet"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Oppdater"},formatToggle:function(){return"Endre"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["nb-NO"]),o.default.fn.bootstrapTable.locales["nl-BE"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Laden, even geduld"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":""," (gefilterd van ").concat(r," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":"")},formatSRPaginationPreText:function(){return"vorige pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationNextText:function(){return"volgende pagina"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatClearSearch:function(){return"Verwijder filters"},formatSearch:function(){return"Zoeken"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatRefresh:function(){return"Vernieuwen"},formatToggle:function(){return"Omschakelen"},formatToggleOn:function(){return"Toon kaartweergave"},formatToggleOff:function(){return"Verberg kaartweergave"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatFullscreen:function(){return"Volledig scherm"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatExport:function(){return"Exporteer gegevens"},formatJumpTo:function(){return"GA"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAdvancedCloseButton:function(){return"Sluiten"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["nl-BE"]),o.default.fn.bootstrapTable.locales["nl-NL"]=o.default.fn.bootstrapTable.locales.nl={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Laden, even geduld"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":""," (gefilterd van ").concat(r," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":"")},formatSRPaginationPreText:function(){return"vorige pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationNextText:function(){return"volgende pagina"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatClearSearch:function(){return"Verwijder filters"},formatSearch:function(){return"Zoeken"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatRefresh:function(){return"Vernieuwen"},formatToggle:function(){return"Omschakelen"},formatToggleOn:function(){return"Toon kaartweergave"},formatToggleOff:function(){return"Verberg kaartweergave"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatFullscreen:function(){return"Volledig scherm"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatExport:function(){return"Exporteer gegevens"},formatJumpTo:function(){return"GA"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAdvancedCloseButton:function(){return"Sluiten"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["nl-NL"]),o.default.fn.bootstrapTable.locales["pl-PL"]=o.default.fn.bootstrapTable.locales.pl={formatCopyRows:function(){return"Kopiuj wiersze"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Ładowanie, proszę czekać"},formatRecordsPerPage:function(t){return"".concat(t," rekordów na stronę")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(o," (filtered from ").concat(r," total rows)"):"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(o)},formatSRPaginationPreText:function(){return"poprzednia strona"},formatSRPaginationPageText:function(t){return"z ".concat(t)},formatSRPaginationNextText:function(){return"następna strona"},formatDetailPagination:function(t){return"Wyświetla ".concat(t," wierszy")},formatClearSearch:function(){return"Wyczyść wyszukiwanie"},formatSearch:function(){return"Szukaj"},formatNoMatches:function(){return"Niestety, nic nie znaleziono"},formatPaginationSwitch:function(){return"Pokaż/ukryj stronicowanie"},formatPaginationSwitchDown:function(){return"Pokaż stronicowanie"},formatPaginationSwitchUp:function(){return"Ukryj stronicowanie"},formatRefresh:function(){return"Odśwież"},formatToggle:function(){return"Przełącz"},formatToggleOn:function(){return"Pokaż układ karty"},formatToggleOff:function(){return"Ukryj układ karty"},formatColumns:function(){return"Kolumny"},formatColumnsToggleAll:function(){return"Zaznacz wszystko"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Wszystkie"},formatAutoRefresh:function(){return"Auto odświeżanie"},formatExport:function(){return"Eksport danych"},formatJumpTo:function(){return"Przejdź"},formatAdvancedSearch:function(){return"Wyszukiwanie zaawansowane"},formatAdvancedCloseButton:function(){return"Zamknij"},formatFilterControlSwitch:function(){return"Pokaż/Ukryj"},formatFilterControlSwitchHide:function(){return"Pokaż"},formatFilterControlSwitchShow:function(){return"Ukryj"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["pl-PL"]),o.default.fn.bootstrapTable.locales["pt-BR"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Carregando, aguarde"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Exibindo ".concat(t," até ").concat(n," de ").concat(o," linhas (filtradas de um total de ").concat(r," linhas)"):"Exibindo ".concat(t," até ").concat(n," de ").concat(o," linhas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"Para a página ".concat(t)},formatSRPaginationNextText:function(){return"próxima página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linhas")},formatClearSearch:function(){return"Limpar Pesquisa"},formatSearch:function(){return"Pesquisar"},formatNoMatches:function(){return"Nenhum registro encontrado"},formatPaginationSwitch:function(){return"Ocultar/Exibir paginação"},formatPaginationSwitchDown:function(){return"Mostrar Paginação"},formatPaginationSwitchUp:function(){return"Esconder Paginação"},formatRefresh:function(){return"Recarregar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Alternar tudo"},formatFullscreen:function(){return"Tela cheia"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Atualização Automática"},formatExport:function(){return"Exportar dados"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Pesquisa Avançada"},formatAdvancedCloseButton:function(){return"Fechar"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Exibir controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["pt-BR"]),o.default.fn.bootstrapTable.locales["pt-PT"]=o.default.fn.bootstrapTable.locales.pt={formatCopyRows:function(){return"Copiar Linhas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"A carregar, por favor aguarde"},formatRecordsPerPage:function(t){return"".concat(t," registos por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"A mostrar ".concat(t," até ").concat(n," de ").concat(o," linhas (filtered from ").concat(r," total rows)"):"A mostrar ".concat(t," até ").concat(n," de ").concat(o," linhas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"ir para página ".concat(t)},formatSRPaginationNextText:function(){return"próxima página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linhas")},formatClearSearch:function(){return"Limpar Pesquisa"},formatSearch:function(){return"Pesquisa"},formatNoMatches:function(){return"Nenhum registo encontrado"},formatPaginationSwitch:function(){return"Esconder/Mostrar paginação"},formatPaginationSwitchDown:function(){return"Mostrar página"},formatPaginationSwitchUp:function(){return"Esconder página"},formatRefresh:function(){return"Actualizar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Activar tudo"},formatFullscreen:function(){return"Ecrã completo"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Actualização autmática"},formatExport:function(){return"Exportar dados"},formatJumpTo:function(){return"Avançar"},formatAdvancedSearch:function(){return"Pesquisa avançada"},formatAdvancedCloseButton:function(){return"Fechar"},formatFilterControlSwitch:function(){return"Esconder/Exibir controlos"},formatFilterControlSwitchHide:function(){return"Esconder controlos"},formatFilterControlSwitchShow:function(){return"Exibir controlos"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["pt-PT"]),o.default.fn.bootstrapTable.locales["ro-RO"]=o.default.fn.bootstrapTable.locales.ro={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Se incarca, va rugam asteptati"},formatRecordsPerPage:function(t){return"".concat(t," inregistrari pe pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Arata de la ".concat(t," pana la ").concat(n," din ").concat(o," randuri (filtered from ").concat(r," total rows)"):"Arata de la ".concat(t," pana la ").concat(n," din ").concat(o," randuri")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Cauta"},formatNoMatches:function(){return"Nu au fost gasite inregistrari"},formatPaginationSwitch:function(){return"Ascunde/Arata paginatia"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Reincarca"},formatToggle:function(){return"Comuta"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Coloane"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Toate"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ro-RO"]),o.default.fn.bootstrapTable.locales["ru-RU"]=o.default.fn.bootstrapTable.locales.ru={formatCopyRows:function(){return"Скопировать строки"},formatPrint:function(){return"Печать"},formatLoadingMessage:function(){return"Пожалуйста, подождите, идёт загрузка"},formatRecordsPerPage:function(t){return"".concat(t," записей на страницу")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Записи с ".concat(t," по ").concat(n," из ").concat(o," (отфильтровано, всего на сервере ").concat(r," записей)"):"Записи с ".concat(t," по ").concat(n," из ").concat(o)},formatSRPaginationPreText:function(){return"предыдущая страница"},formatSRPaginationPageText:function(t){return"перейти к странице ".concat(t)},formatSRPaginationNextText:function(){return"следующая страница"},formatDetailPagination:function(t){return"Загружено ".concat(t," строк")},formatClearSearch:function(){return"Очистить фильтры"},formatSearch:function(){return"Поиск"},formatNoMatches:function(){return"Ничего не найдено"},formatPaginationSwitch:function(){return"Скрыть/Показать постраничную навигацию"},formatPaginationSwitchDown:function(){return"Показать постраничную навигацию"},formatPaginationSwitchUp:function(){return"Скрыть постраничную навигацию"},formatRefresh:function(){return"Обновить"},formatToggle:function(){return"Переключить"},formatToggleOn:function(){return"Показать записи в виде карточек"},formatToggleOff:function(){return"Табличный режим просмотра"},formatColumns:function(){return"Колонки"},formatColumnsToggleAll:function(){return"Выбрать все"},formatFullscreen:function(){return"Полноэкранный режим"},formatAllRows:function(){return"Все"},formatAutoRefresh:function(){return"Автоматическое обновление"},formatExport:function(){return"Экспортировать данные"},formatJumpTo:function(){return"Стр."},formatAdvancedSearch:function(){return"Расширенный поиск"},formatAdvancedCloseButton:function(){return"Закрыть"},formatFilterControlSwitch:function(){return"Скрыть/Показать панель инструментов"},formatFilterControlSwitchHide:function(){return"Скрыть панель инструментов"},formatFilterControlSwitchShow:function(){return"Показать панель инструментов"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ru-RU"]),o.default.fn.bootstrapTable.locales["sk-SK"]=o.default.fn.bootstrapTable.locales.sk={formatCopyRows:function(){return"Skopírovať riadky"},formatPrint:function(){return"Vytlačiť"},formatLoadingMessage:function(){return"Prosím čakajte"},formatRecordsPerPage:function(t){return"".concat(t," záznamov na stranu")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(o," (filtered from ").concat(r," total rows)"):"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(o)},formatSRPaginationPreText:function(){return"Predchádzajúca strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationNextText:function(){return"Nasledujúca strana"},formatDetailPagination:function(t){return"Zobrazuje sa ".concat(t," riadkov")},formatClearSearch:function(){return"Odstráň filtre"},formatSearch:function(){return"Vyhľadávanie"},formatNoMatches:function(){return"Nenájdená žiadna vyhovujúca položka"},formatPaginationSwitch:function(){return"Skry/Zobraz stránkovanie"},formatPaginationSwitchDown:function(){return"Zobraziť stránkovanie"},formatPaginationSwitchUp:function(){return"Skryť stránkovanie"},formatRefresh:function(){return"Obnoviť"},formatToggle:function(){return"Prepni"},formatToggleOn:function(){return"Zobraziť kartové zobrazenie"},formatToggleOff:function(){return"skryť kartové zobrazenie"},formatColumns:function(){return"Stĺpce"},formatColumnsToggleAll:function(){return"Prepnúť všetky"},formatFullscreen:function(){return"Celá obrazovka"},formatAllRows:function(){return"Všetky"},formatAutoRefresh:function(){return"Automatické obnovenie"},formatExport:function(){return"Exportuj dáta"},formatJumpTo:function(){return"Ísť"},formatAdvancedSearch:function(){return"Pokročilé vyhľadávanie"},formatAdvancedCloseButton:function(){return"Zatvoriť"},formatFilterControlSwitch:function(){return"Zobraziť/Skryť tlačidlá"},formatFilterControlSwitchHide:function(){return"Skryť tlačidlá"},formatFilterControlSwitchShow:function(){return"Zobraziť tlačidlá"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sk-SK"]),o.default.fn.bootstrapTable.locales["sr-Cyrl-RS"]=o.default.fn.bootstrapTable.locales.sr={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Молим сачекај"},formatRecordsPerPage:function(t){return"".concat(t," редова по страни")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(o," (филтрирано од ").concat(r,")"):"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(o)},formatSRPaginationPreText:function(){return"претходна страна"},formatSRPaginationPageText:function(t){return"на страну ".concat(t)},formatSRPaginationNextText:function(){return"следећа страна"},formatDetailPagination:function(t){return"Приказано ".concat(t," редова")},formatClearSearch:function(){return"Обриши претрагу"},formatSearch:function(){return"Пронађи"},formatNoMatches:function(){return"Није пронађен ни један податак"},formatPaginationSwitch:function(){return"Прикажи/сакриј пагинацију"},formatPaginationSwitchDown:function(){return"Прикажи пагинацију"},formatPaginationSwitchUp:function(){return"Сакриј пагинацију"},formatRefresh:function(){return"Освежи"},formatToggle:function(){return"Промени приказ"},formatToggleOn:function(){return"Прикажи картице"},formatToggleOff:function(){return"Сакриј картице"},formatColumns:function(){return"Колоне"},formatColumnsToggleAll:function(){return"Прикажи/сакриј све"},formatFullscreen:function(){return"Цео екран"},formatAllRows:function(){return"Све"},formatAutoRefresh:function(){return"Аутоматско освежавање"},formatExport:function(){return"Извези податке"},formatJumpTo:function(){return"Иди"},formatAdvancedSearch:function(){return"Напредна претрага"},formatAdvancedCloseButton:function(){return"Затвори"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sr-Cyrl-RS"]),o.default.fn.bootstrapTable.locales["sr-Latn-RS"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Molim sačekaj"},formatRecordsPerPage:function(t){return"".concat(t," redova po strani")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(o," (filtrirano od ").concat(r,")"):"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(o)},formatSRPaginationPreText:function(){return"prethodna strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationNextText:function(){return"sledeća strana"},formatDetailPagination:function(t){return"Prikazano ".concat(t," redova")},formatClearSearch:function(){return"Obriši pretragu"},formatSearch:function(){return"Pronađi"},formatNoMatches:function(){return"Nije pronađen ni jedan podatak"},formatPaginationSwitch:function(){return"Prikaži/sakrij paginaciju"},formatPaginationSwitchDown:function(){return"Prikaži paginaciju"},formatPaginationSwitchUp:function(){return"Sakrij paginaciju"},formatRefresh:function(){return"Osveži"},formatToggle:function(){return"Promeni prikaz"},formatToggleOn:function(){return"Prikaži kartice"},formatToggleOff:function(){return"Sakrij kartice"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Prikaži/sakrij sve"},formatFullscreen:function(){return"Ceo ekran"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Automatsko osvežavanje"},formatExport:function(){return"Izvezi podatke"},formatJumpTo:function(){return"Idi"},formatAdvancedSearch:function(){return"Napredna pretraga"},formatAdvancedCloseButton:function(){return"Zatvori"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sr-Latn-RS"]),o.default.fn.bootstrapTable.locales["sv-SE"]=o.default.fn.bootstrapTable.locales.sv={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Laddar, vänligen vänta"},formatRecordsPerPage:function(t){return"".concat(t," rader per sida")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Visa ".concat(t," till ").concat(n," av ").concat(o," rader (filtered from ").concat(r," total rows)"):"Visa ".concat(t," till ").concat(n," av ").concat(o," rader")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Sök"},formatNoMatches:function(){return"Inga matchande resultat funna."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Uppdatera"},formatToggle:function(){return"Skifta"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"kolumn"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sv-SE"]),o.default.fn.bootstrapTable.locales["th-TH"]=o.default.fn.bootstrapTable.locales.th={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"กำลังโหลดข้อมูล, กรุณารอสักครู่"},formatRecordsPerPage:function(t){return"".concat(t," รายการต่อหน้า")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(o," รายการ (filtered from ").concat(r," total rows)"):"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(o," รายการ")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"ค้นหา"},formatNoMatches:function(){return"ไม่พบรายการที่ค้นหา !"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"รีเฟรส"},formatToggle:function(){return"สลับมุมมอง"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"คอลัมน์"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["th-TH"]),o.default.fn.bootstrapTable.locales["tr-TR"]=o.default.fn.bootstrapTable.locales.tr={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Yükleniyor, lütfen bekleyin"},formatRecordsPerPage:function(t){return"Sayfa başına ".concat(t," kayıt.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"".concat(o," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor (filtered from ").concat(r," total rows)."):"".concat(o," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor.")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Ara"},formatNoMatches:function(){return"Eşleşen kayıt bulunamadı."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Yenile"},formatToggle:function(){return"Değiştir"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Sütunlar"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Tüm Satırlar"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["tr-TR"]),o.default.fn.bootstrapTable.locales["uk-UA"]=o.default.fn.bootstrapTable.locales.uk={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Завантаження, будь ласка, зачекайте"},formatRecordsPerPage:function(t){return"".concat(t," записів на сторінку")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Показано з ".concat(t," по ").concat(n,". Всього: ").concat(o," (filtered from ").concat(r," total rows)"):"Показано з ".concat(t," по ").concat(n,". Всього: ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Очистити фільтри"},formatSearch:function(){return"Пошук"},formatNoMatches:function(){return"Не знайдено жодного запису"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Оновити"},formatToggle:function(){return"Змінити"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Стовпці"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["uk-UA"]),o.default.fn.bootstrapTable.locales["ur-PK"]=o.default.fn.bootstrapTable.locales.ur={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"براۓ مہربانی انتظار کیجئے"},formatRecordsPerPage:function(t){return"".concat(t," ریکارڈز فی صفہ ")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(o,"ریکارڈز (filtered from ").concat(r," total rows)"):"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(o,"ریکارڈز")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"تلاش"},formatNoMatches:function(){return"کوئی ریکارڈ نہیں ملا"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"تازہ کریں"},formatToggle:function(){return"تبدیل کریں"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"کالم"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ur-PK"]),o.default.fn.bootstrapTable.locales["uz-Latn-UZ"]=o.default.fn.bootstrapTable.locales.uz={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Yuklanyapti, iltimos kuting"},formatRecordsPerPage:function(t){return"".concat(t," qator har sahifada")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(o," qatorlarni (filtered from ").concat(r," total rows)"):"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(o," qatorlarni")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Filtrlarni tozalash"},formatSearch:function(){return"Qidirish"},formatNoMatches:function(){return"Hech narsa topilmadi"},formatPaginationSwitch:function(){return"Sahifalashni yashirish/ko'rsatish"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Yangilash"},formatToggle:function(){return"Ko'rinish"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Ustunlar"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Hammasi"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Eksport"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["uz-Latn-UZ"]),o.default.fn.bootstrapTable.locales["vi-VN"]=o.default.fn.bootstrapTable.locales.vi={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Đang tải"},formatRecordsPerPage:function(t){return"".concat(t," bản ghi mỗi trang")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(o," bảng ghi (filtered from ").concat(r," total rows)"):"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(o," bảng ghi")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Tìm kiếm"},formatNoMatches:function(){return"Không có dữ liệu"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["vi-VN"]),o.default.fn.bootstrapTable.locales["zh-CN"]=o.default.fn.bootstrapTable.locales.zh={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"正在努力地加载数据中,请稍候"},formatRecordsPerPage:function(t){return"每页显示 ".concat(t," 条记录")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(o," 条记录(从 ").concat(r," 总记录中过滤)"):"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(o," 条记录")},formatSRPaginationPreText:function(){return"上一页"},formatSRPaginationPageText:function(t){return"第".concat(t,"页")},formatSRPaginationNextText:function(){return"下一页"},formatDetailPagination:function(t){return"总共 ".concat(t," 条记录")},formatClearSearch:function(){return"清空过滤"},formatSearch:function(){return"搜索"},formatNoMatches:function(){return"没有找到匹配的记录"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatPaginationSwitchDown:function(){return"显示分页"},formatPaginationSwitchUp:function(){return"隐藏分页"},formatRefresh:function(){return"刷新"},formatToggle:function(){return"切换"},formatToggleOn:function(){return"显示卡片视图"},formatToggleOff:function(){return"隐藏卡片视图"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切换所有"},formatFullscreen:function(){return"全屏"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自动刷新"},formatExport:function(){return"导出数据"},formatJumpTo:function(){return"跳转"},formatAdvancedSearch:function(){return"高级搜索"},formatAdvancedCloseButton:function(){return"关闭"},formatFilterControlSwitch:function(){return"隐藏/显示过滤控制"},formatFilterControlSwitchHide:function(){return"隐藏过滤控制"},formatFilterControlSwitchShow:function(){return"显示过滤控制"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["zh-CN"]),o.default.fn.bootstrapTable.locales["zh-TW"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"正在努力地載入資料,請稍候"},formatRecordsPerPage:function(t){return"每頁顯示 ".concat(t," 項記錄")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(o," 項記錄(從 ").concat(r," 總記錄中過濾)"):"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(o," 項記錄")},formatSRPaginationPreText:function(){return"上一頁"},formatSRPaginationPageText:function(t){return"第".concat(t,"頁")},formatSRPaginationNextText:function(){return"下一頁"},formatDetailPagination:function(t){return"總共 ".concat(t," 項記錄")},formatClearSearch:function(){return"清空過濾"},formatSearch:function(){return"搜尋"},formatNoMatches:function(){return"沒有找到符合的結果"},formatPaginationSwitch:function(){return"隱藏/顯示分頁"},formatPaginationSwitchDown:function(){return"顯示分頁"},formatPaginationSwitchUp:function(){return"隱藏分頁"},formatRefresh:function(){return"重新整理"},formatToggle:function(){return"切換"},formatToggleOn:function(){return"顯示卡片視圖"},formatToggleOff:function(){return"隱藏卡片視圖"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切換所有"},formatFullscreen:function(){return"全屏"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自動刷新"},formatExport:function(){return"導出數據"},formatJumpTo:function(){return"跳轉"},formatAdvancedSearch:function(){return"高級搜尋"},formatAdvancedCloseButton:function(){return"關閉"},formatFilterControlSwitch:function(){return"隱藏/顯示過濾控制"},formatFilterControlSwitchHide:function(){return"隱藏過濾控制"},formatFilterControlSwitchShow:function(){return"顯示過濾控制"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["zh-TW"])})); +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=n(t),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.exports}var a=function(t){return t&&t.Math==Math&&t},i=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u=function(t){try{return!!t()}catch(t){return!0}},f=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,s={f:l&&!c.call({1:2},1)?function(t){var n=l(this,t);return!!n&&n.enumerable}:c},m=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},g={}.toString,d=function(t){return g.call(t).slice(8,-1)},h="".split,p=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==d(t)?h.call(t,""):Object(t)}:Object,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},S=function(t){return p(w(t))},P=function(t){return"object"==typeof t?null!==t:"function"==typeof t},T=function(t,n){if(!P(t))return t;var o,r;if(n&&"function"==typeof(o=t.toString)&&!P(r=o.call(t)))return r;if("function"==typeof(o=t.valueOf)&&!P(r=o.call(t)))return r;if(!n&&"function"==typeof(o=t.toString)&&!P(r=o.call(t)))return r;throw TypeError("Can't convert object to primitive value")},R={}.hasOwnProperty,C=function(t,n){return R.call(t,n)},b=i.document,v=P(b)&&P(b.createElement),A=!f&&!u((function(){return 7!=Object.defineProperty((t="div",v?b.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),x=Object.getOwnPropertyDescriptor,F={f:f?x:function(t,n){if(t=S(t),n=T(n,!0),A)try{return x(t,n)}catch(t){}if(C(t,n))return m(!s.f.call(t,n),t[n])}},y=function(t){if(!P(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,O={f:f?k:function(t,n,o){if(y(t),n=T(n,!0),y(o),A)try{return k(t,n,o)}catch(t){}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(t[n]=o.value),t}},H=f?function(t,n,o){return O.f(t,n,m(1,o))}:function(t,n,o){return t[n]=o,t},M=function(t,n){try{H(i,t,n)}catch(o){i[t]=n}return n},E="__core-js_shared__",N=i[E]||M(E,{}),D=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return D.call(t)});var z,L,j,B,U=N.inspectSource,J=i.WeakMap,G="function"==typeof J&&/native code/.test(U(J)),V=e((function(t){(t.exports=function(t,n){return N[t]||(N[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Z=0,I=Math.random(),q=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Z+I).toString(36)},K=V("keys"),W={},Y=i.WeakMap;if(G){var _=N.state||(N.state=new Y),Q=_.get,X=_.has,$=_.set;z=function(t,n){return n.facade=t,$.call(_,t,n),n},L=function(t){return Q.call(_,t)||{}},j=function(t){return X.call(_,t)}}else{var tt=K[B="state"]||(K[B]=q(B));W[tt]=!0,z=function(t,n){return n.facade=t,H(t,tt,n),n},L=function(t){return C(t,tt)?t[tt]:{}},j=function(t){return C(t,tt)}}var nt,ot,rt={set:z,get:L,has:j,enforce:function(t){return j(t)?L(t):z(t,{})},getterFor:function(t){return function(n){var o;if(!P(n)||(o=L(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return o}}},et=e((function(t){var n=rt.get,o=rt.enforce,r=String(String).split("String");(t.exports=function(t,n,e,a){var u,f=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;"function"==typeof e&&("string"!=typeof n||C(e,"name")||H(e,"name",n),(u=o(e)).source||(u.source=r.join("string"==typeof n?n:""))),t!==i?(f?!l&&t[n]&&(c=!0):delete t[n],c?t[n]=e:H(t,n,e)):c?t[n]=e:M(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||U(this)}))})),at=i,it=function(t){return"function"==typeof t?t:void 0},ut=function(t,n){return arguments.length<2?it(at[t])||it(i[t]):at[t]&&at[t][n]||i[t]&&i[t][n]},ft=Math.ceil,ct=Math.floor,lt=function(t){return isNaN(t=+t)?0:(t>0?ct:ft)(t)},st=Math.min,mt=function(t){return t>0?st(lt(t),9007199254740991):0},gt=Math.max,dt=Math.min,ht=function(t){return function(n,o,r){var e,a=S(n),i=mt(a.length),u=function(t,n){var o=lt(t);return o<0?gt(o+n,0):dt(o,n)}(r,i);if(t&&o!=o){for(;i>u;)if((e=a[u++])!=e)return!0}else for(;i>u;u++)if((t||u in a)&&a[u]===o)return t||u||0;return!t&&-1}},pt={includes:ht(!0),indexOf:ht(!1)}.indexOf,wt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),St={f:Object.getOwnPropertyNames||function(t){return function(t,n){var o,r=S(t),e=0,a=[];for(o in r)!C(W,o)&&C(r,o)&&a.push(o);for(;n.length>e;)C(r,o=n[e++])&&(~pt(a,o)||a.push(o));return a}(t,wt)}},Pt={f:Object.getOwnPropertySymbols},Tt=ut("Reflect","ownKeys")||function(t){var n=St.f(y(t)),o=Pt.f;return o?n.concat(o(t)):n},Rt=function(t,n){for(var o=Tt(n),r=O.f,e=F.f,a=0;a=74)&&(nt=Nt.match(/Chrome\/(\d+)/))&&(ot=nt[1]);var jt,Bt=ot&&+ot,Ut=!!Object.getOwnPropertySymbols&&!u((function(){return!Symbol.sham&&(Et?38===Bt:Bt>37&&Bt<41)})),Jt=Ut&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=V("wks"),Vt=i.Symbol,Zt=Jt?Vt:Vt&&Vt.withoutSetter||q,It=function(t){return C(Gt,t)&&(Ut||"string"==typeof Gt[t])||(Ut&&C(Vt,t)?Gt[t]=Vt[t]:Gt[t]=Zt("Symbol."+t)),Gt[t]},qt=It("species"),Kt=function(t,n){var o;return Ot(t)&&("function"!=typeof(o=t.constructor)||o!==Array&&!Ot(o.prototype)?P(o)&&null===(o=o[qt])&&(o=void 0):o=void 0),new(void 0===o?Array:o)(0===n?0:n)},Wt=It("species"),Yt=It("isConcatSpreadable"),_t=9007199254740991,Qt="Maximum allowed index exceeded",Xt=Bt>=51||!u((function(){var t=[];return t[Yt]=!1,t.concat()[0]!==t})),$t=(jt="concat",Bt>=51||!u((function(){var t=[];return(t.constructor={})[Wt]=function(){return{foo:1}},1!==t[jt](Boolean).foo}))),tn=function(t){if(!P(t))return!1;var n=t[Yt];return void 0!==n?!!n:Ot(t)};!function(t,n){var o,r,e,a,u,f=t.target,c=t.global,l=t.stat;if(o=c?i:l?i[f]||M(f,{}):(i[f]||{}).prototype)for(r in n){if(a=n[r],e=t.noTargetGet?(u=kt(o,r))&&u.value:o[r],!yt(c?r:f+(l?".":"#")+r,t.forced)&&void 0!==e){if(typeof a==typeof e)continue;Rt(a,e)}(t.sham||e&&e.sham)&&H(a,"sham",!0),et(o,r,a,t)}}({target:"Array",proto:!0,forced:!Xt||!$t},{concat:function(t){var n,o,r,e,a,i=Ht(this),u=Kt(i,0),f=0;for(n=-1,r=arguments.length;n_t)throw TypeError(Qt);for(o=0;o=_t)throw TypeError(Qt);Mt(u,f++,a)}return u.length=f,u}}),o.default.fn.bootstrapTable.locales["af-ZA"]=o.default.fn.bootstrapTable.locales.af={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Besig om te laai, wag asseblief"},formatRecordsPerPage:function(t){return"".concat(t," rekords per bladsy")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Resultate ".concat(t," tot ").concat(n," van ").concat(o," rye (filtered from ").concat(r," total rows)"):"Resultate ".concat(t," tot ").concat(n," van ").concat(o," rye")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Soek"},formatNoMatches:function(){return"Geen rekords gevind nie"},formatPaginationSwitch:function(){return"Wys/verberg bladsy nummering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Herlaai"},formatToggle:function(){return"Wissel"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolomme"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["af-ZA"]),o.default.fn.bootstrapTable.locales["ar-SA"]=o.default.fn.bootstrapTable.locales.ar={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"جاري التحميل, يرجى الإنتظار"},formatRecordsPerPage:function(t){return"".concat(t," سجل لكل صفحة")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"الظاهر ".concat(t," إلى ").concat(n," من ").concat(o," سجل ").concat(r," total rows)"):"الظاهر ".concat(t," إلى ").concat(n," من ").concat(o," سجل")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"بحث"},formatNoMatches:function(){return"لا توجد نتائج مطابقة للبحث"},formatPaginationSwitch:function(){return"إخفاءإظهار ترقيم الصفحات"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"تحديث"},formatToggle:function(){return"تغيير"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"أعمدة"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ar-SA"]),o.default.fn.bootstrapTable.locales["bg-BG"]=o.default.fn.bootstrapTable.locales.bg={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Зареждане, моля изчакайте"},formatRecordsPerPage:function(t){return"".concat(t," реда на страница")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Показани редове от ".concat(t," до ").concat(n," от ").concat(o," реда (филтрирани от общо ").concat(r," реда)"):"Показани редове от ".concat(t," до ").concat(n," от общо ").concat(o," реда")},formatSRPaginationPreText:function(){return"предишна страница"},formatSRPaginationPageText:function(t){return"до страница ".concat(t)},formatSRPaginationNextText:function(){return"следваща страница"},formatDetailPagination:function(t){return"Показани ".concat(t," реда")},formatClearSearch:function(){return"Изчистване на търсенето"},formatSearch:function(){return"Търсене"},formatNoMatches:function(){return"Не са намерени съвпадащи записи"},formatPaginationSwitch:function(){return"Скриване/Показване на странициране"},formatPaginationSwitchDown:function(){return"Показване на странициране"},formatPaginationSwitchUp:function(){return"Скриване на странициране"},formatRefresh:function(){return"Обновяване"},formatToggle:function(){return"Превключване"},formatToggleOn:function(){return"Показване на изглед карта"},formatToggleOff:function(){return"Скриване на изглед карта"},formatColumns:function(){return"Колони"},formatColumnsToggleAll:function(){return"Превключване на всички"},formatFullscreen:function(){return"Цял екран"},formatAllRows:function(){return"Всички"},formatAutoRefresh:function(){return"Автоматично обновяване"},formatExport:function(){return"Експорт на данни"},formatJumpTo:function(){return"ОТИДИ"},formatAdvancedSearch:function(){return"Разширено търсене"},formatAdvancedCloseButton:function(){return"Затваряне"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["bg-BG"]),o.default.fn.bootstrapTable.locales["ca-ES"]=o.default.fn.bootstrapTable.locales.ca={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Espereu, si us plau"},formatRecordsPerPage:function(t){return"".concat(t," resultats per pàgina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrant de ".concat(t," fins ").concat(n," - total ").concat(o," resultats (filtered from ").concat(r," total rows)"):"Mostrant de ".concat(t," fins ").concat(n," - total ").concat(o," resultats")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Cerca"},formatNoMatches:function(){return"No s'han trobat resultats"},formatPaginationSwitch:function(){return"Amaga/Mostra paginació"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresca"},formatToggle:function(){return"Alterna formatació"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnes"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Tots"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ca-ES"]),o.default.fn.bootstrapTable.locales["cs-CZ"]=o.default.fn.bootstrapTable.locales.cs={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Čekejte, prosím"},formatRecordsPerPage:function(t){return"".concat(t," položek na stránku")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(o," (filtered from ").concat(r," total rows)"):"Zobrazena ".concat(t,". - ").concat(n," . položka z celkových ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Vyhledávání"},formatNoMatches:function(){return"Nenalezena žádná vyhovující položka"},formatPaginationSwitch:function(){return"Skrýt/Zobrazit stránkování"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Aktualizovat"},formatToggle:function(){return"Přepni"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Sloupce"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Vše"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["cs-CZ"]),o.default.fn.bootstrapTable.locales["da-DK"]=o.default.fn.bootstrapTable.locales.da={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Indlæser, vent venligst"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Viser ".concat(t," til ").concat(n," af ").concat(o," række").concat(o>1?"r":""," (filtered from ").concat(r," total rows)"):"Viser ".concat(t," til ").concat(n," af ").concat(o," række").concat(o>1?"r":"")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Viser ".concat(t," række").concat(t>1?"r":"")},formatClearSearch:function(){return"Ryd filtre"},formatSearch:function(){return"Søg"},formatNoMatches:function(){return"Ingen poster fundet"},formatPaginationSwitch:function(){return"Skjul/vis nummerering"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Opdater"},formatToggle:function(){return"Skift"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Eksporter"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["da-DK"]),o.default.fn.bootstrapTable.locales["de-DE"]=o.default.fn.bootstrapTable.locales.de={formatCopyRows:function(){return"Zeilen kopieren"},formatPrint:function(){return"Drucken"},formatLoadingMessage:function(){return"Lade, bitte warten"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen pro Seite.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(o," Zeile").concat(o>1?"n":""," (Gefiltert von ").concat(r," Zeile").concat(r>1?"n":"",")"):"Zeige Zeile ".concat(t," bis ").concat(n," von ").concat(o," Zeile").concat(o>1?"n":"",".")},formatSRPaginationPreText:function(){return"Vorherige Seite"},formatSRPaginationPageText:function(t){return"Zu Seite ".concat(t)},formatSRPaginationNextText:function(){return"Nächste Seite"},formatDetailPagination:function(t){return"Zeige ".concat(t," Zeile").concat(t>1?"n":"",".")},formatClearSearch:function(){return"Lösche Filter"},formatSearch:function(){return"Suchen"},formatNoMatches:function(){return"Keine passenden Ergebnisse gefunden"},formatPaginationSwitch:function(){return"Verstecke/Zeige Nummerierung"},formatPaginationSwitchDown:function(){return"Zeige Nummerierung"},formatPaginationSwitchUp:function(){return"Verstecke Nummerierung"},formatRefresh:function(){return"Neu laden"},formatToggle:function(){return"Umschalten"},formatToggleOn:function(){return"Normale Ansicht"},formatToggleOff:function(){return"Kartenansicht"},formatColumns:function(){return"Spalten"},formatColumnsToggleAll:function(){return"Alle umschalten"},formatFullscreen:function(){return"Vollbild"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisches Neuladen"},formatExport:function(){return"Datenexport"},formatJumpTo:function(){return"Springen"},formatAdvancedSearch:function(){return"Erweiterte Suche"},formatAdvancedCloseButton:function(){return"Schließen"},formatFilterControlSwitch:function(){return"Verstecke/Zeige Filter"},formatFilterControlSwitchHide:function(){return"Verstecke Filter"},formatFilterControlSwitchShow:function(){return"Zeige Filter"},formatAddLevel:function(){return"Ebene hinzufügen"},formatCancel:function(){return"Abbrechen"},formatColumn:function(){return"Spalte"},formatDeleteLevel:function(){return"Ebene entfernen"},formatDuplicateAlertTitle:function(){return"Doppelte Einträge gefunden!"},formatDuplicateAlertDescription:function(){return"Bitte doppelte Spalten entfenen oder ändern"},formatMultipleSort:function(){return"Mehrfachsortierung"},formatOrder:function(){return"Reihenfolge"},formatSort:function(){return"Sortieren"},formatSortBy:function(){return"Sortieren nach"},formatThenBy:function(){return"anschließend"},formatSortOrders:function(){return{asc:"Aufsteigend",desc:"Absteigend"}}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["de-DE"]),o.default.fn.bootstrapTable.locales["el-GR"]=o.default.fn.bootstrapTable.locales.el={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Φορτώνει, παρακαλώ περιμένετε"},formatRecordsPerPage:function(t){return"".concat(t," αποτελέσματα ανά σελίδα")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(o," σειρών (filtered from ").concat(r," total rows)"):"Εμφανίζονται από την ".concat(t," ως την ").concat(n," από σύνολο ").concat(o," σειρών")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Αναζητήστε"},formatNoMatches:function(){return"Δεν βρέθηκαν αποτελέσματα"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["el-GR"]),o.default.fn.bootstrapTable.locales["en-US"]=o.default.fn.bootstrapTable.locales.en={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(t){return"".concat(t," rows per page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Showing ".concat(t," to ").concat(n," of ").concat(o," rows (filtered from ").concat(r," total rows)"):"Showing ".concat(t," to ").concat(n," of ").concat(o," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["en-US"]),o.default.fn.bootstrapTable.locales["es-AR"]={formatCopyRows:function(){return"Copiar Filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando desde ".concat(t," a ").concat(n," de ").concat(o," filas (filtrado de ").concat(r," columnas totales)"):"Mostrando desde ".concat(t," a ").concat(n," de ").concat(o," filas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," columnas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Recargar"},formatToggle:function(){return"Cambiar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar datos"},formatJumpTo:function(){return"Ir"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-AR"]),o.default.fn.bootstrapTable.locales["es-CL"]={formatCopyRows:function(){return"Copiar Filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," filas por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas (filtrado de ").concat(r," filas totales)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Refrescar"},formatToggle:function(){return"Cambiar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar datos"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-CL"]),o.default.fn.bootstrapTable.locales["es-CR"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total (filtered from ").concat(r," total rows)"):"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refrescar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-CR"]),o.default.fn.bootstrapTable.locales["es-ES"]=o.default.fn.bootstrapTable.locales.es={formatCopyRows:function(){return"Copiar filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Por favor espere"},formatRecordsPerPage:function(t){return"".concat(t," resultados por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(o," resultados (filtrado de ").concat(r," filas totales)"):"Mostrando desde ".concat(t," hasta ").concat(n," - En total ").concat(o," resultados")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"a la página ".concat(t)},formatSRPaginationNextText:function(){return"siguiente página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron resultados"},formatPaginationSwitch:function(){return"Ocultar/Mostrar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Recargar"},formatToggle:function(){return"Ocultar/Mostrar"},formatToggleOn:function(){return"Mostrar vista de carta"},formatToggleOff:function(){return"Ocultar vista de carta"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Cambiar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todos"},formatAutoRefresh:function(){return"Auto Recargar"},formatExport:function(){return"Exportar los datos"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-ES"]),o.default.fn.bootstrapTable.locales["es-MX"]={formatCopyRows:function(){return"Copiar Filas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"Cargando, espere por favor"},formatRecordsPerPage:function(t){return"".concat(t," resultados por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas (filtrado de ").concat(r," filas totales)"):"Mostrando ".concat(t," a ").concat(n," de ").concat(o," filas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"ir a la página ".concat(t)},formatSRPaginationNextText:function(){return"página siguiente"},formatDetailPagination:function(t){return"Mostrando ".concat(t," filas")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros que coincidan"},formatPaginationSwitch:function(){return"Mostrar/ocultar paginación"},formatPaginationSwitchDown:function(){return"Mostrar paginación"},formatPaginationSwitchUp:function(){return"Ocultar paginación"},formatRefresh:function(){return"Actualizar"},formatToggle:function(){return"Cambiar vista"},formatToggleOn:function(){return"Mostrar vista"},formatToggleOff:function(){return"Ocultar vista"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Alternar todo"},formatFullscreen:function(){return"Pantalla completa"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto actualizar"},formatExport:function(){return"Exportar datos"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Búsqueda avanzada"},formatAdvancedCloseButton:function(){return"Cerrar"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-MX"]),o.default.fn.bootstrapTable.locales["es-NI"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Cargando, por favor espere"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total (filtered from ").concat(r," total rows)"):"Mostrando de ".concat(t," a ").concat(n," registros de ").concat(o," registros en total")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se encontraron registros"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refrescar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-NI"]),o.default.fn.bootstrapTable.locales["es-SP"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Cargando, por favor espera"},formatRecordsPerPage:function(t){return"".concat(t," registros por página.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"".concat(t," - ").concat(n," de ").concat(o," registros (filtered from ").concat(r," total rows)"):"".concat(t," - ").concat(n," de ").concat(o," registros.")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Limpiar búsqueda"},formatSearch:function(){return"Buscar"},formatNoMatches:function(){return"No se han encontrado registros."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Actualizar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columnas"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Todo"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Ocultar/Mostrar controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Mostrar controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["es-SP"]),o.default.fn.bootstrapTable.locales["et-EE"]=o.default.fn.bootstrapTable.locales.et={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Päring käib, palun oota"},formatRecordsPerPage:function(t){return"".concat(t," rida lehe kohta")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(o," tulemust (filtered from ").concat(r," total rows)"):"Näitan tulemusi ".concat(t," kuni ").concat(n," - kokku ").concat(o," tulemust")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Otsi"},formatNoMatches:function(){return"Päringu tingimustele ei vastanud ühtegi tulemust"},formatPaginationSwitch:function(){return"Näita/Peida lehtedeks jagamine"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Värskenda"},formatToggle:function(){return"Lülita"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Veerud"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Kõik"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["et-EE"]),o.default.fn.bootstrapTable.locales["eu-EU"]=o.default.fn.bootstrapTable.locales.eu={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Itxaron mesedez"},formatRecordsPerPage:function(t){return"".concat(t," emaitza orriko.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"".concat(o," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten (filtered from ").concat(r," total rows)"):"".concat(o," erregistroetatik ").concat(t,"etik ").concat(n,"erakoak erakusten.")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Bilatu"},formatNoMatches:function(){return"Ez da emaitzarik aurkitu"},formatPaginationSwitch:function(){return"Ezkutatu/Erakutsi orrikatzea"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Eguneratu"},formatToggle:function(){return"Ezkutatu/Erakutsi"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Zutabeak"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Guztiak"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["eu-EU"]),o.default.fn.bootstrapTable.locales["fa-IR"]=o.default.fn.bootstrapTable.locales.fa={formatCopyRows:function(){return"کپی ردیف ها"},formatPrint:function(){return"پرینت"},formatLoadingMessage:function(){return"در حال بارگذاری, لطفا صبر کنید"},formatRecordsPerPage:function(t){return"".concat(t," رکورد در صفحه")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"نمایش ".concat(t," تا ").concat(n," از ").concat(o," ردیف (filtered from ").concat(r," total rows)"):"نمایش ".concat(t," تا ").concat(n," از ").concat(o," ردیف")},formatSRPaginationPreText:function(){return"صفحه قبلی"},formatSRPaginationPageText:function(t){return"به صفحه ".concat(t)},formatSRPaginationNextText:function(){return"صفحه بعدی"},formatDetailPagination:function(t){return"نمایش ".concat(t," سطرها")},formatClearSearch:function(){return"پاک کردن جستجو"},formatSearch:function(){return"جستجو"},formatNoMatches:function(){return"رکوردی یافت نشد."},formatPaginationSwitch:function(){return"نمایش/مخفی صفحه بندی"},formatPaginationSwitchDown:function(){return"نمایش صفحه بندی"},formatPaginationSwitchUp:function(){return"پنهان کردن صفحه بندی"},formatRefresh:function(){return"به روز رسانی"},formatToggle:function(){return"تغییر نمایش"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"سطر ها"},formatColumnsToggleAll:function(){return"تغییر وضعیت همه"},formatFullscreen:function(){return"تمام صفحه"},formatAllRows:function(){return"همه"},formatAutoRefresh:function(){return"رفرش اتوماتیک"},formatExport:function(){return"خروجی دیتا"},formatJumpTo:function(){return"برو"},formatAdvancedSearch:function(){return"جستجوی پیشرفته"},formatAdvancedCloseButton:function(){return"بستن"},formatFilterControlSwitch:function(){return"پنهان/نمایش دادن کنترل ها"},formatFilterControlSwitchHide:function(){return"پنهان کردن کنترل ها"},formatFilterControlSwitchShow:function(){return"نمایش کنترل ها"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fa-IR"]),o.default.fn.bootstrapTable.locales["fi-FI"]=o.default.fn.bootstrapTable.locales.fi={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Ladataan, ole hyvä ja odota"},formatRecordsPerPage:function(t){return"".concat(t," riviä sivulla")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(o," (filtered from ").concat(r," total rows)"):"Näytetään rivit ".concat(t," - ").concat(n," / ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Poista suodattimet"},formatSearch:function(){return"Hae"},formatNoMatches:function(){return"Hakuehtoja vastaavia tuloksia ei löytynyt"},formatPaginationSwitch:function(){return"Näytä/Piilota sivutus"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Päivitä"},formatToggle:function(){return"Valitse"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Sarakkeet"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Kaikki"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Vie tiedot"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fi-FI"]),o.default.fn.bootstrapTable.locales["fr-BE"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-BE"]),o.default.fn.bootstrapTable.locales["fr-CH"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-CH"]),o.default.fn.bootstrapTable.locales["fr-FR"]=o.default.fn.bootstrapTable.locales.fr={formatCopyRows:function(){return"Copier les lignes"},formatPrint:function(){return"Imprimer"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Aucun résultat"},formatPaginationSwitch:function(){return"Masquer/Afficher la pagination"},formatPaginationSwitchDown:function(){return"Afficher la pagination"},formatPaginationSwitchUp:function(){return"Masquer la pagination"},formatRefresh:function(){return"Actualiser"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher la vue carte"},formatToggleOff:function(){return"Masquer la vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Actualisation automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"ALLER"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Masquer/Afficher les contrôles"},formatFilterControlSwitchHide:function(){return"Masquer les contrôles"},formatFilterControlSwitchShow:function(){return"Afficher les contrôles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-FR"]),o.default.fn.bootstrapTable.locales["fr-LU"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Chargement en cours"},formatRecordsPerPage:function(t){return"".concat(t," lignes par page")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes (filtrés à partir de ").concat(r," lignes)"):"Affiche de ".concat(t," à ").concat(n," sur ").concat(o," lignes")},formatSRPaginationPreText:function(){return"page précédente"},formatSRPaginationPageText:function(t){return"vers la page ".concat(t)},formatSRPaginationNextText:function(){return"page suivante"},formatDetailPagination:function(t){return"Affiche ".concat(t," lignes")},formatClearSearch:function(){return"Effacer la recherche"},formatSearch:function(){return"Recherche"},formatNoMatches:function(){return"Pas de lignes trouvés"},formatPaginationSwitch:function(){return"Cacher/Afficher pagination"},formatPaginationSwitchDown:function(){return"Afficher pagination"},formatPaginationSwitchUp:function(){return"Cacher pagination"},formatRefresh:function(){return"Rafraichir"},formatToggle:function(){return"Basculer"},formatToggleOn:function(){return"Afficher vue carte"},formatToggleOff:function(){return"Cacher vue carte"},formatColumns:function(){return"Colonnes"},formatColumnsToggleAll:function(){return"Tout basculer"},formatFullscreen:function(){return"Plein écran"},formatAllRows:function(){return"Tout"},formatAutoRefresh:function(){return"Rafraîchissement automatique"},formatExport:function(){return"Exporter les données"},formatJumpTo:function(){return"Aller à"},formatAdvancedSearch:function(){return"Recherche avancée"},formatAdvancedCloseButton:function(){return"Fermer"},formatFilterControlSwitch:function(){return"Cacher/Afficher controls"},formatFilterControlSwitchHide:function(){return"Cacher controls"},formatFilterControlSwitchShow:function(){return"Afficher controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["fr-LU"]),o.default.fn.bootstrapTable.locales["he-IL"]=o.default.fn.bootstrapTable.locales.he={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"טוען, נא להמתין"},formatRecordsPerPage:function(t){return"".concat(t," שורות בעמוד")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"מציג ".concat(t," עד ").concat(n," מ-").concat(o,"שורות").concat(r," total rows)"):"מציג ".concat(t," עד ").concat(n," מ-").concat(o," שורות")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"חיפוש"},formatNoMatches:function(){return"לא נמצאו רשומות תואמות"},formatPaginationSwitch:function(){return"הסתר/הצג מספור דפים"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"רענן"},formatToggle:function(){return"החלף תצוגה"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"עמודות"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"הכל"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["he-IL"]),o.default.fn.bootstrapTable.locales["hr-HR"]=o.default.fn.bootstrapTable.locales.hr={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Molimo pričekajte"},formatRecordsPerPage:function(t){return"".concat(t," broj zapisa po stranici")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(o," (filtered from ").concat(r," total rows)"):"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Pretraži"},formatNoMatches:function(){return"Nije pronađen niti jedan zapis"},formatPaginationSwitch:function(){return"Prikaži/sakrij stranice"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Osvježi"},formatToggle:function(){return"Promijeni prikaz"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["hr-HR"]),o.default.fn.bootstrapTable.locales["hu-HU"]=o.default.fn.bootstrapTable.locales.hu={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Betöltés, kérem várjon"},formatRecordsPerPage:function(t){return"".concat(t," rekord per oldal")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Megjelenítve ".concat(t," - ").concat(n," / ").concat(o," összesen (filtered from ").concat(r," total rows)"):"Megjelenítve ".concat(t," - ").concat(n," / ").concat(o," összesen")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Keresés"},formatNoMatches:function(){return"Nincs találat"},formatPaginationSwitch:function(){return"Lapozó elrejtése/megjelenítése"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Frissítés"},formatToggle:function(){return"Összecsuk/Kinyit"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Oszlopok"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Összes"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["hu-HU"]),o.default.fn.bootstrapTable.locales["id-ID"]=o.default.fn.bootstrapTable.locales.id={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Memuat, mohon tunggu"},formatRecordsPerPage:function(t){return"".concat(t," baris per halaman")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Menampilkan ".concat(t," sampai ").concat(n," dari ").concat(o," baris (filtered from ").concat(r," total rows)"):"Menampilkan ".concat(t," sampai ").concat(n," dari ").concat(o," baris")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Bersihkan filter"},formatSearch:function(){return"Pencarian"},formatNoMatches:function(){return"Tidak ditemukan data yang cocok"},formatPaginationSwitch:function(){return"Sembunyikan/Tampilkan halaman"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Muat ulang"},formatToggle:function(){return"Beralih"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"kolom"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Ekspor data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["id-ID"]),o.default.fn.bootstrapTable.locales["it-IT"]=o.default.fn.bootstrapTable.locales.it={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Caricamento in corso"},formatRecordsPerPage:function(t){return"".concat(t," elementi per pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(o," elementi (filtrati da ").concat(r," elementi totali)"):"Visualizzazione da ".concat(t," a ").concat(n," di ").concat(o," elementi")},formatSRPaginationPreText:function(){return"pagina precedente"},formatSRPaginationPageText:function(t){return"alla pagina ".concat(t)},formatSRPaginationNextText:function(){return"pagina successiva"},formatDetailPagination:function(t){return"Mostrando ".concat(t," elementi")},formatClearSearch:function(){return"Pulisci filtri"},formatSearch:function(){return"Cerca"},formatNoMatches:function(){return"Nessun elemento trovato"},formatPaginationSwitch:function(){return"Nascondi/Mostra paginazione"},formatPaginationSwitchDown:function(){return"Mostra paginazione"},formatPaginationSwitchUp:function(){return"Nascondi paginazione"},formatRefresh:function(){return"Aggiorna"},formatToggle:function(){return"Attiva/Disattiva"},formatToggleOn:function(){return"Mostra visuale a scheda"},formatToggleOff:function(){return"Nascondi visuale a scheda"},formatColumns:function(){return"Colonne"},formatColumnsToggleAll:function(){return"Mostra tutte"},formatFullscreen:function(){return"Schermo intero"},formatAllRows:function(){return"Tutto"},formatAutoRefresh:function(){return"Auto Aggiornamento"},formatExport:function(){return"Esporta dati"},formatJumpTo:function(){return"VAI"},formatAdvancedSearch:function(){return"Filtri avanzati"},formatAdvancedCloseButton:function(){return"Chiudi"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["it-IT"]),o.default.fn.bootstrapTable.locales["ja-JP"]=o.default.fn.bootstrapTable.locales.ja={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"読み込み中です。少々お待ちください。"},formatRecordsPerPage:function(t){return"ページ当たり最大".concat(t,"件")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"全".concat(o,"件から、").concat(t,"から").concat(n,"件目まで表示しています (filtered from ").concat(r," total rows)"):"全".concat(o,"件から、").concat(t,"から").concat(n,"件目まで表示しています")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"検索"},formatNoMatches:function(){return"該当するレコードが見つかりません"},formatPaginationSwitch:function(){return"ページ数を表示・非表示"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"更新"},formatToggle:function(){return"トグル"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"すべて"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ja-JP"]),o.default.fn.bootstrapTable.locales["ka-GE"]=o.default.fn.bootstrapTable.locales.ka={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"იტვირთება, გთხოვთ მოიცადოთ"},formatRecordsPerPage:function(t){return"".concat(t," ჩანაწერი თითო გვერდზე")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(o,"-დან (filtered from ").concat(r," total rows)"):"ნაჩვენებია ".concat(t,"-დან ").concat(n,"-მდე ჩანაწერი ჯამური ").concat(o,"-დან")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"ძებნა"},formatNoMatches:function(){return"მონაცემები არ არის"},formatPaginationSwitch:function(){return"გვერდების გადამრთველის დამალვა/გამოჩენა"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"განახლება"},formatToggle:function(){return"ჩართვა/გამორთვა"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"სვეტები"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ka-GE"]),o.default.fn.bootstrapTable.locales["ko-KR"]=o.default.fn.bootstrapTable.locales.ko={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"데이터를 불러오는 중입니다"},formatRecordsPerPage:function(t){return"페이지 당 ".concat(t,"개 데이터 출력")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"전체 ".concat(o,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력, (filtered from ").concat(r," total rows)"):"전체 ".concat(o,"개 중 ").concat(t,"~").concat(n,"번째 데이터 출력,")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"검색"},formatNoMatches:function(){return"조회된 데이터가 없습니다."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"새로 고침"},formatToggle:function(){return"전환"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"컬럼 필터링"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ko-KR"]),o.default.fn.bootstrapTable.locales["ms-MY"]=o.default.fn.bootstrapTable.locales.ms={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Permintaan sedang dimuatkan. Sila tunggu sebentar"},formatRecordsPerPage:function(t){return"".concat(t," rekod setiap muka surat")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(o," rekod (filtered from ").concat(r," total rows)"):"Sedang memaparkan rekod ".concat(t," hingga ").concat(n," daripada jumlah ").concat(o," rekod")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Cari"},formatNoMatches:function(){return"Tiada rekod yang menyamai permintaan"},formatPaginationSwitch:function(){return"Tunjuk/sembunyi muka surat"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Muatsemula"},formatToggle:function(){return"Tukar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Lajur"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Semua"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ms-MY"]),o.default.fn.bootstrapTable.locales["nb-NO"]=o.default.fn.bootstrapTable.locales.nb={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Oppdaterer, vennligst vent"},formatRecordsPerPage:function(t){return"".concat(t," poster pr side")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Viser ".concat(t," til ").concat(n," av ").concat(o," rekker (filtered from ").concat(r," total rows)"):"Viser ".concat(t," til ").concat(n," av ").concat(o," rekker")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Søk"},formatNoMatches:function(){return"Ingen poster funnet"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Oppdater"},formatToggle:function(){return"Endre"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolonner"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["nb-NO"]),o.default.fn.bootstrapTable.locales["nl-BE"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Laden, even geduld"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":""," (gefilterd van ").concat(r," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":"")},formatSRPaginationPreText:function(){return"vorige pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationNextText:function(){return"volgende pagina"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatClearSearch:function(){return"Verwijder filters"},formatSearch:function(){return"Zoeken"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatRefresh:function(){return"Vernieuwen"},formatToggle:function(){return"Omschakelen"},formatToggleOn:function(){return"Toon kaartweergave"},formatToggleOff:function(){return"Verberg kaartweergave"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatFullscreen:function(){return"Volledig scherm"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatExport:function(){return"Exporteer gegevens"},formatJumpTo:function(){return"GA"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAdvancedCloseButton:function(){return"Sluiten"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["nl-BE"]),o.default.fn.bootstrapTable.locales["nl-NL"]=o.default.fn.bootstrapTable.locales.nl={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Laden, even geduld"},formatRecordsPerPage:function(t){return"".concat(t," records per pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":""," (gefilterd van ").concat(r," records in totaal)"):"Toon ".concat(t," tot ").concat(n," van ").concat(o," record").concat(o>1?"s":"")},formatSRPaginationPreText:function(){return"vorige pagina"},formatSRPaginationPageText:function(t){return"tot pagina ".concat(t)},formatSRPaginationNextText:function(){return"volgende pagina"},formatDetailPagination:function(t){return"Toon ".concat(t," record").concat(t>1?"s":"")},formatClearSearch:function(){return"Verwijder filters"},formatSearch:function(){return"Zoeken"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatRefresh:function(){return"Vernieuwen"},formatToggle:function(){return"Omschakelen"},formatToggleOn:function(){return"Toon kaartweergave"},formatToggleOff:function(){return"Verberg kaartweergave"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatFullscreen:function(){return"Volledig scherm"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatExport:function(){return"Exporteer gegevens"},formatJumpTo:function(){return"GA"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAdvancedCloseButton:function(){return"Sluiten"},formatFilterControlSwitch:function(){return"Verberg/Toon controls"},formatFilterControlSwitchHide:function(){return"Verberg controls"},formatFilterControlSwitchShow:function(){return"Toon controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["nl-NL"]),o.default.fn.bootstrapTable.locales["pl-PL"]=o.default.fn.bootstrapTable.locales.pl={formatCopyRows:function(){return"Kopiuj wiersze"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Ładowanie, proszę czekać"},formatRecordsPerPage:function(t){return"".concat(t," rekordów na stronę")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(o," (filtered from ").concat(r," total rows)"):"Wyświetlanie rekordów od ".concat(t," do ").concat(n," z ").concat(o)},formatSRPaginationPreText:function(){return"poprzednia strona"},formatSRPaginationPageText:function(t){return"z ".concat(t)},formatSRPaginationNextText:function(){return"następna strona"},formatDetailPagination:function(t){return"Wyświetla ".concat(t," wierszy")},formatClearSearch:function(){return"Wyczyść wyszukiwanie"},formatSearch:function(){return"Szukaj"},formatNoMatches:function(){return"Niestety, nic nie znaleziono"},formatPaginationSwitch:function(){return"Pokaż/ukryj stronicowanie"},formatPaginationSwitchDown:function(){return"Pokaż stronicowanie"},formatPaginationSwitchUp:function(){return"Ukryj stronicowanie"},formatRefresh:function(){return"Odśwież"},formatToggle:function(){return"Przełącz"},formatToggleOn:function(){return"Pokaż układ karty"},formatToggleOff:function(){return"Ukryj układ karty"},formatColumns:function(){return"Kolumny"},formatColumnsToggleAll:function(){return"Zaznacz wszystko"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Wszystkie"},formatAutoRefresh:function(){return"Auto odświeżanie"},formatExport:function(){return"Eksport danych"},formatJumpTo:function(){return"Przejdź"},formatAdvancedSearch:function(){return"Wyszukiwanie zaawansowane"},formatAdvancedCloseButton:function(){return"Zamknij"},formatFilterControlSwitch:function(){return"Pokaż/Ukryj"},formatFilterControlSwitchHide:function(){return"Pokaż"},formatFilterControlSwitchShow:function(){return"Ukryj"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["pl-PL"]),o.default.fn.bootstrapTable.locales["pt-BR"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Carregando, aguarde"},formatRecordsPerPage:function(t){return"".concat(t," registros por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Exibindo ".concat(t," até ").concat(n," de ").concat(o," linhas (filtradas de um total de ").concat(r," linhas)"):"Exibindo ".concat(t," até ").concat(n," de ").concat(o," linhas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"Para a página ".concat(t)},formatSRPaginationNextText:function(){return"próxima página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linhas")},formatClearSearch:function(){return"Limpar Pesquisa"},formatSearch:function(){return"Pesquisar"},formatNoMatches:function(){return"Nenhum registro encontrado"},formatPaginationSwitch:function(){return"Ocultar/Exibir paginação"},formatPaginationSwitchDown:function(){return"Mostrar Paginação"},formatPaginationSwitchUp:function(){return"Esconder Paginação"},formatRefresh:function(){return"Recarregar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Alternar tudo"},formatFullscreen:function(){return"Tela cheia"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Atualização Automática"},formatExport:function(){return"Exportar dados"},formatJumpTo:function(){return"IR"},formatAdvancedSearch:function(){return"Pesquisa Avançada"},formatAdvancedCloseButton:function(){return"Fechar"},formatFilterControlSwitch:function(){return"Ocultar/Exibir controles"},formatFilterControlSwitchHide:function(){return"Ocultar controles"},formatFilterControlSwitchShow:function(){return"Exibir controles"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["pt-BR"]),o.default.fn.bootstrapTable.locales["pt-PT"]=o.default.fn.bootstrapTable.locales.pt={formatCopyRows:function(){return"Copiar Linhas"},formatPrint:function(){return"Imprimir"},formatLoadingMessage:function(){return"A carregar, por favor aguarde"},formatRecordsPerPage:function(t){return"".concat(t," registos por página")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"A mostrar ".concat(t," até ").concat(n," de ").concat(o," linhas (filtered from ").concat(r," total rows)"):"A mostrar ".concat(t," até ").concat(n," de ").concat(o," linhas")},formatSRPaginationPreText:function(){return"página anterior"},formatSRPaginationPageText:function(t){return"ir para página ".concat(t)},formatSRPaginationNextText:function(){return"próxima página"},formatDetailPagination:function(t){return"Mostrando ".concat(t," linhas")},formatClearSearch:function(){return"Limpar Pesquisa"},formatSearch:function(){return"Pesquisa"},formatNoMatches:function(){return"Nenhum registo encontrado"},formatPaginationSwitch:function(){return"Esconder/Mostrar paginação"},formatPaginationSwitchDown:function(){return"Mostrar página"},formatPaginationSwitchUp:function(){return"Esconder página"},formatRefresh:function(){return"Actualizar"},formatToggle:function(){return"Alternar"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Colunas"},formatColumnsToggleAll:function(){return"Activar tudo"},formatFullscreen:function(){return"Ecrã completo"},formatAllRows:function(){return"Tudo"},formatAutoRefresh:function(){return"Actualização autmática"},formatExport:function(){return"Exportar dados"},formatJumpTo:function(){return"Avançar"},formatAdvancedSearch:function(){return"Pesquisa avançada"},formatAdvancedCloseButton:function(){return"Fechar"},formatFilterControlSwitch:function(){return"Esconder/Exibir controlos"},formatFilterControlSwitchHide:function(){return"Esconder controlos"},formatFilterControlSwitchShow:function(){return"Exibir controlos"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["pt-PT"]),o.default.fn.bootstrapTable.locales["ro-RO"]=o.default.fn.bootstrapTable.locales.ro={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Se incarca, va rugam asteptati"},formatRecordsPerPage:function(t){return"".concat(t," inregistrari pe pagina")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Arata de la ".concat(t," pana la ").concat(n," din ").concat(o," randuri (filtered from ").concat(r," total rows)"):"Arata de la ".concat(t," pana la ").concat(n," din ").concat(o," randuri")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Cauta"},formatNoMatches:function(){return"Nu au fost gasite inregistrari"},formatPaginationSwitch:function(){return"Ascunde/Arata paginatia"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Reincarca"},formatToggle:function(){return"Comuta"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Coloane"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Toate"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ro-RO"]),o.default.fn.bootstrapTable.locales["ru-RU"]=o.default.fn.bootstrapTable.locales.ru={formatCopyRows:function(){return"Скопировать строки"},formatPrint:function(){return"Печать"},formatLoadingMessage:function(){return"Пожалуйста, подождите, идёт загрузка"},formatRecordsPerPage:function(t){return"".concat(t," записей на страницу")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Записи с ".concat(t," по ").concat(n," из ").concat(o," (отфильтровано, всего на сервере ").concat(r," записей)"):"Записи с ".concat(t," по ").concat(n," из ").concat(o)},formatSRPaginationPreText:function(){return"предыдущая страница"},formatSRPaginationPageText:function(t){return"перейти к странице ".concat(t)},formatSRPaginationNextText:function(){return"следующая страница"},formatDetailPagination:function(t){return"Загружено ".concat(t," строк")},formatClearSearch:function(){return"Очистить фильтры"},formatSearch:function(){return"Поиск"},formatNoMatches:function(){return"Ничего не найдено"},formatPaginationSwitch:function(){return"Скрыть/Показать постраничную навигацию"},formatPaginationSwitchDown:function(){return"Показать постраничную навигацию"},formatPaginationSwitchUp:function(){return"Скрыть постраничную навигацию"},formatRefresh:function(){return"Обновить"},formatToggle:function(){return"Переключить"},formatToggleOn:function(){return"Показать записи в виде карточек"},formatToggleOff:function(){return"Табличный режим просмотра"},formatColumns:function(){return"Колонки"},formatColumnsToggleAll:function(){return"Выбрать все"},formatFullscreen:function(){return"Полноэкранный режим"},formatAllRows:function(){return"Все"},formatAutoRefresh:function(){return"Автоматическое обновление"},formatExport:function(){return"Экспортировать данные"},formatJumpTo:function(){return"Стр."},formatAdvancedSearch:function(){return"Расширенный поиск"},formatAdvancedCloseButton:function(){return"Закрыть"},formatFilterControlSwitch:function(){return"Скрыть/Показать панель инструментов"},formatFilterControlSwitchHide:function(){return"Скрыть панель инструментов"},formatFilterControlSwitchShow:function(){return"Показать панель инструментов"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ru-RU"]),o.default.fn.bootstrapTable.locales["sk-SK"]=o.default.fn.bootstrapTable.locales.sk={formatCopyRows:function(){return"Skopírovať riadky"},formatPrint:function(){return"Vytlačiť"},formatLoadingMessage:function(){return"Prosím čakajte"},formatRecordsPerPage:function(t){return"".concat(t," záznamov na stranu")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(o," (filtered from ").concat(r," total rows)"):"Zobrazená ".concat(t,". - ").concat(n,". položka z celkových ").concat(o)},formatSRPaginationPreText:function(){return"Predchádzajúca strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationNextText:function(){return"Nasledujúca strana"},formatDetailPagination:function(t){return"Zobrazuje sa ".concat(t," riadkov")},formatClearSearch:function(){return"Odstráň filtre"},formatSearch:function(){return"Vyhľadávanie"},formatNoMatches:function(){return"Nenájdená žiadna vyhovujúca položka"},formatPaginationSwitch:function(){return"Skry/Zobraz stránkovanie"},formatPaginationSwitchDown:function(){return"Zobraziť stránkovanie"},formatPaginationSwitchUp:function(){return"Skryť stránkovanie"},formatRefresh:function(){return"Obnoviť"},formatToggle:function(){return"Prepni"},formatToggleOn:function(){return"Zobraziť kartové zobrazenie"},formatToggleOff:function(){return"skryť kartové zobrazenie"},formatColumns:function(){return"Stĺpce"},formatColumnsToggleAll:function(){return"Prepnúť všetky"},formatFullscreen:function(){return"Celá obrazovka"},formatAllRows:function(){return"Všetky"},formatAutoRefresh:function(){return"Automatické obnovenie"},formatExport:function(){return"Exportuj dáta"},formatJumpTo:function(){return"Ísť"},formatAdvancedSearch:function(){return"Pokročilé vyhľadávanie"},formatAdvancedCloseButton:function(){return"Zatvoriť"},formatFilterControlSwitch:function(){return"Zobraziť/Skryť tlačidlá"},formatFilterControlSwitchHide:function(){return"Skryť tlačidlá"},formatFilterControlSwitchShow:function(){return"Zobraziť tlačidlá"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sk-SK"]),o.default.fn.bootstrapTable.locales["sr-Cyrl-RS"]=o.default.fn.bootstrapTable.locales.sr={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Молим сачекај"},formatRecordsPerPage:function(t){return"".concat(t," редова по страни")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(o," (филтрирано од ").concat(r,")"):"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(o)},formatSRPaginationPreText:function(){return"претходна страна"},formatSRPaginationPageText:function(t){return"на страну ".concat(t)},formatSRPaginationNextText:function(){return"следећа страна"},formatDetailPagination:function(t){return"Приказано ".concat(t," редова")},formatClearSearch:function(){return"Обриши претрагу"},formatSearch:function(){return"Пронађи"},formatNoMatches:function(){return"Није пронађен ни један податак"},formatPaginationSwitch:function(){return"Прикажи/сакриј пагинацију"},formatPaginationSwitchDown:function(){return"Прикажи пагинацију"},formatPaginationSwitchUp:function(){return"Сакриј пагинацију"},formatRefresh:function(){return"Освежи"},formatToggle:function(){return"Промени приказ"},formatToggleOn:function(){return"Прикажи картице"},formatToggleOff:function(){return"Сакриј картице"},formatColumns:function(){return"Колоне"},formatColumnsToggleAll:function(){return"Прикажи/сакриј све"},formatFullscreen:function(){return"Цео екран"},formatAllRows:function(){return"Све"},formatAutoRefresh:function(){return"Аутоматско освежавање"},formatExport:function(){return"Извези податке"},formatJumpTo:function(){return"Иди"},formatAdvancedSearch:function(){return"Напредна претрага"},formatAdvancedCloseButton:function(){return"Затвори"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sr-Cyrl-RS"]),o.default.fn.bootstrapTable.locales["sr-Latn-RS"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Molim sačekaj"},formatRecordsPerPage:function(t){return"".concat(t," redova po strani")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(o," (filtrirano od ").concat(r,")"):"Prikazano ".concat(t,". - ").concat(n,". od ukupnog broja redova ").concat(o)},formatSRPaginationPreText:function(){return"prethodna strana"},formatSRPaginationPageText:function(t){return"na stranu ".concat(t)},formatSRPaginationNextText:function(){return"sledeća strana"},formatDetailPagination:function(t){return"Prikazano ".concat(t," redova")},formatClearSearch:function(){return"Obriši pretragu"},formatSearch:function(){return"Pronađi"},formatNoMatches:function(){return"Nije pronađen ni jedan podatak"},formatPaginationSwitch:function(){return"Prikaži/sakrij paginaciju"},formatPaginationSwitchDown:function(){return"Prikaži paginaciju"},formatPaginationSwitchUp:function(){return"Sakrij paginaciju"},formatRefresh:function(){return"Osveži"},formatToggle:function(){return"Promeni prikaz"},formatToggleOn:function(){return"Prikaži kartice"},formatToggleOff:function(){return"Sakrij kartice"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Prikaži/sakrij sve"},formatFullscreen:function(){return"Ceo ekran"},formatAllRows:function(){return"Sve"},formatAutoRefresh:function(){return"Automatsko osvežavanje"},formatExport:function(){return"Izvezi podatke"},formatJumpTo:function(){return"Idi"},formatAdvancedSearch:function(){return"Napredna pretraga"},formatAdvancedCloseButton:function(){return"Zatvori"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sr-Latn-RS"]),o.default.fn.bootstrapTable.locales["sv-SE"]=o.default.fn.bootstrapTable.locales.sv={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Laddar, vänligen vänta"},formatRecordsPerPage:function(t){return"".concat(t," rader per sida")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Visa ".concat(t," till ").concat(n," av ").concat(o," rader (filtered from ").concat(r," total rows)"):"Visa ".concat(t," till ").concat(n," av ").concat(o," rader")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Sök"},formatNoMatches:function(){return"Inga matchande resultat funna."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Uppdatera"},formatToggle:function(){return"Skifta"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"kolumn"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["sv-SE"]),o.default.fn.bootstrapTable.locales["th-TH"]=o.default.fn.bootstrapTable.locales.th={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"กำลังโหลดข้อมูล, กรุณารอสักครู่"},formatRecordsPerPage:function(t){return"".concat(t," รายการต่อหน้า")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(o," รายการ (filtered from ").concat(r," total rows)"):"รายการที่ ".concat(t," ถึง ").concat(n," จากทั้งหมด ").concat(o," รายการ")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"ค้นหา"},formatNoMatches:function(){return"ไม่พบรายการที่ค้นหา !"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"รีเฟรส"},formatToggle:function(){return"สลับมุมมอง"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"คอลัมน์"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["th-TH"]),o.default.fn.bootstrapTable.locales["tr-TR"]=o.default.fn.bootstrapTable.locales.tr={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Yükleniyor, lütfen bekleyin"},formatRecordsPerPage:function(t){return"Sayfa başına ".concat(t," kayıt.")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"".concat(o," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor (filtered from ").concat(r," total rows)."):"".concat(o," kayıttan ").concat(t,"-").concat(n," arası gösteriliyor.")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Ara"},formatNoMatches:function(){return"Eşleşen kayıt bulunamadı."},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Yenile"},formatToggle:function(){return"Değiştir"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Sütunlar"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Tüm Satırlar"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["tr-TR"]),o.default.fn.bootstrapTable.locales["uk-UA"]=o.default.fn.bootstrapTable.locales.uk={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Завантаження, будь ласка, зачекайте"},formatRecordsPerPage:function(t){return"".concat(t," записів на сторінку")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Показано з ".concat(t," по ").concat(n,". Всього: ").concat(o," (filtered from ").concat(r," total rows)"):"Показано з ".concat(t," по ").concat(n,". Всього: ").concat(o)},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Очистити фільтри"},formatSearch:function(){return"Пошук"},formatNoMatches:function(){return"Не знайдено жодного запису"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Оновити"},formatToggle:function(){return"Змінити"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Стовпці"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["uk-UA"]),o.default.fn.bootstrapTable.locales["ur-PK"]=o.default.fn.bootstrapTable.locales.ur={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"براۓ مہربانی انتظار کیجئے"},formatRecordsPerPage:function(t){return"".concat(t," ریکارڈز فی صفہ ")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(o,"ریکارڈز (filtered from ").concat(r," total rows)"):"دیکھیں ".concat(t," سے ").concat(n," کے ").concat(o,"ریکارڈز")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"تلاش"},formatNoMatches:function(){return"کوئی ریکارڈ نہیں ملا"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"تازہ کریں"},formatToggle:function(){return"تبدیل کریں"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"کالم"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["ur-PK"]),o.default.fn.bootstrapTable.locales["uz-Latn-UZ"]=o.default.fn.bootstrapTable.locales.uz={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Yuklanyapti, iltimos kuting"},formatRecordsPerPage:function(t){return"".concat(t," qator har sahifada")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(o," qatorlarni (filtered from ").concat(r," total rows)"):"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(o," qatorlarni")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Filtrlarni tozalash"},formatSearch:function(){return"Qidirish"},formatNoMatches:function(){return"Hech narsa topilmadi"},formatPaginationSwitch:function(){return"Sahifalashni yashirish/ko'rsatish"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Yangilash"},formatToggle:function(){return"Ko'rinish"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Ustunlar"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Hammasi"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Eksport"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["uz-Latn-UZ"]),o.default.fn.bootstrapTable.locales["vi-VN"]=o.default.fn.bootstrapTable.locales.vi={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"Đang tải"},formatRecordsPerPage:function(t){return"".concat(t," bản ghi mỗi trang")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(o," bảng ghi (filtered from ").concat(r," total rows)"):"Hiển thị từ trang ".concat(t," đến ").concat(n," của ").concat(o," bảng ghi")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Tìm kiếm"},formatNoMatches:function(){return"Không có dữ liệu"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"},formatFilterControlSwitch:function(){return"Hide/Show controls"},formatFilterControlSwitchHide:function(){return"Hide controls"},formatFilterControlSwitchShow:function(){return"Show controls"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["vi-VN"]),o.default.fn.bootstrapTable.locales["zh-CN"]=o.default.fn.bootstrapTable.locales.zh={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"正在努力地加载数据中,请稍候"},formatRecordsPerPage:function(t){return"每页显示 ".concat(t," 条记录")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(o," 条记录(从 ").concat(r," 总记录中过滤)"):"显示第 ".concat(t," 到第 ").concat(n," 条记录,总共 ").concat(o," 条记录")},formatSRPaginationPreText:function(){return"上一页"},formatSRPaginationPageText:function(t){return"第".concat(t,"页")},formatSRPaginationNextText:function(){return"下一页"},formatDetailPagination:function(t){return"总共 ".concat(t," 条记录")},formatClearSearch:function(){return"清空过滤"},formatSearch:function(){return"搜索"},formatNoMatches:function(){return"没有找到匹配的记录"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatPaginationSwitchDown:function(){return"显示分页"},formatPaginationSwitchUp:function(){return"隐藏分页"},formatRefresh:function(){return"刷新"},formatToggle:function(){return"切换"},formatToggleOn:function(){return"显示卡片视图"},formatToggleOff:function(){return"隐藏卡片视图"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切换所有"},formatFullscreen:function(){return"全屏"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自动刷新"},formatExport:function(){return"导出数据"},formatJumpTo:function(){return"跳转"},formatAdvancedSearch:function(){return"高级搜索"},formatAdvancedCloseButton:function(){return"关闭"},formatFilterControlSwitch:function(){return"隐藏/显示过滤控制"},formatFilterControlSwitchHide:function(){return"隐藏过滤控制"},formatFilterControlSwitchShow:function(){return"显示过滤控制"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["zh-CN"]),o.default.fn.bootstrapTable.locales["zh-TW"]={formatCopyRows:function(){return"Copy Rows"},formatPrint:function(){return"Print"},formatLoadingMessage:function(){return"正在努力地載入資料,請稍候"},formatRecordsPerPage:function(t){return"每頁顯示 ".concat(t," 項記錄")},formatShowingRows:function(t,n,o,r){return void 0!==r&&r>0&&r>o?"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(o," 項記錄(從 ").concat(r," 總記錄中過濾)"):"顯示第 ".concat(t," 到第 ").concat(n," 項記錄,總共 ").concat(o," 項記錄")},formatSRPaginationPreText:function(){return"上一頁"},formatSRPaginationPageText:function(t){return"第".concat(t,"頁")},formatSRPaginationNextText:function(){return"下一頁"},formatDetailPagination:function(t){return"總共 ".concat(t," 項記錄")},formatClearSearch:function(){return"清空過濾"},formatSearch:function(){return"搜尋"},formatNoMatches:function(){return"沒有找到符合的結果"},formatPaginationSwitch:function(){return"隱藏/顯示分頁"},formatPaginationSwitchDown:function(){return"顯示分頁"},formatPaginationSwitchUp:function(){return"隱藏分頁"},formatRefresh:function(){return"重新整理"},formatToggle:function(){return"切換"},formatToggleOn:function(){return"顯示卡片視圖"},formatToggleOff:function(){return"隱藏卡片視圖"},formatColumns:function(){return"列"},formatColumnsToggleAll:function(){return"切換所有"},formatFullscreen:function(){return"全屏"},formatAllRows:function(){return"所有"},formatAutoRefresh:function(){return"自動刷新"},formatExport:function(){return"導出數據"},formatJumpTo:function(){return"跳轉"},formatAdvancedSearch:function(){return"高級搜尋"},formatAdvancedCloseButton:function(){return"關閉"},formatFilterControlSwitch:function(){return"隱藏/顯示過濾控制"},formatFilterControlSwitchHide:function(){return"隱藏過濾控制"},formatFilterControlSwitchShow:function(){return"顯示過濾控制"}},o.default.extend(o.default.fn.bootstrapTable.defaults,o.default.fn.bootstrapTable.locales["zh-TW"])})); diff --git a/dist/bootstrap-table-vue.esm.js b/dist/bootstrap-table-vue.esm.js index b30f0daaaa..16c8d15494 100644 --- a/dist/bootstrap-table-vue.esm.js +++ b/dist/bootstrap-table-vue.esm.js @@ -1,5 +1,3 @@ -import { openBlock, createBlock } from 'vue'; - function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { @@ -151,9 +149,10 @@ var check = function (it) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global_1 = - /* global globalThis -- safe */ + // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof commonjsGlobal == 'object' && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback @@ -169,21 +168,23 @@ var fails = function (exec) { // Detect IE8's incomplete defineProperty implementation var descriptors = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); -var nativePropertyIsEnumerable = {}.propertyIsEnumerable; +var $propertyIsEnumerable = {}.propertyIsEnumerable; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); +var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor$1(this, V); return !!descriptor && descriptor.enumerable; -} : nativePropertyIsEnumerable; +} : $propertyIsEnumerable; var objectPropertyIsEnumerable = { f: f$4 @@ -263,20 +264,22 @@ var documentCreateElement = function (it) { // Thank's IE8 for his funny defineProperty var ie8DomDefine = !descriptors && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- requied for testing return Object.defineProperty(documentCreateElement('div'), 'a', { get: function () { return 7; } }).a != 7; }); -var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { +var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); P = toPrimitive(P, true); if (ie8DomDefine) try { - return nativeGetOwnPropertyDescriptor(O, P); + return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]); }; @@ -291,16 +294,17 @@ var anObject = function (it) { } return it; }; -var nativeDefineProperty = Object.defineProperty; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var $defineProperty = Object.defineProperty; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty -var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) { +var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (ie8DomDefine) try { - return nativeDefineProperty(O, P, Attributes); + return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; @@ -350,7 +354,7 @@ var shared = createCommonjsModule(function (module) { (module.exports = function (key, value) { return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.9.1', + version: '3.10.1', mode: 'global', copyright: '© 2021 Denis Pushkarev (zloirock.ru)' }); @@ -562,6 +566,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames +// eslint-disable-next-line es/no-object-getownpropertynames -- safe var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return objectKeysInternal(O, hiddenKeys); }; @@ -570,6 +575,7 @@ var objectGetOwnPropertyNames = { f: f$1 }; +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe var f = Object.getOwnPropertySymbols; var objectGetOwnPropertySymbols = { @@ -707,10 +713,7 @@ var regexpStickyHelpers = { }; var nativeExec = RegExp.prototype.exec; -// This always refers to the native implementation, because the -// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, -// which loads this file before patching the method. -var nativeReplace = String.prototype.replace; +var nativeReplace = shared('native-string-replace', String.prototype.replace); var patchedExec = nativeExec; @@ -819,16 +822,19 @@ if (v8) { var engineV8Version = version && +version; +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () { - /* global Symbol -- required for testing */ + // eslint-disable-next-line es/no-symbol -- required for testing return !Symbol.sham && // Chrome 38 Symbol has incorrect toString conversion // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41); }); +/* eslint-disable es/no-symbol -- required for testing */ + + var useSymbolAsUid = nativeSymbol - /* global Symbol -- safe */ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; @@ -853,7 +859,6 @@ var wellKnownSymbol = function (name) { - var SPECIES$2 = wellKnownSymbol('species'); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { @@ -872,6 +877,7 @@ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { // IE <= 11 replaces $0 with the whole match, as if it was $& // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing return 'a'.replace(/./, '$0') === '$0'; })(); @@ -941,7 +947,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) { ) { var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { + if (regexp.exec === RegExp.prototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. @@ -1160,6 +1166,7 @@ fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray +// eslint-disable-next-line es/no-array-isarray -- safe var isArray = Array.isArray || function isArray(arg) { return classofRaw(arg) == 'Array'; }; @@ -1252,6 +1259,10 @@ _export({ target: 'Array', proto: true, forced: FORCED }, { } }); +// +// +// +// var $ = window.jQuery; var deepCopy = function deepCopy(arg) { @@ -1365,11 +1376,121 @@ var script = { } }; -function render(_ctx, _cache, $props, $setup, $data, $options) { - return openBlock(), createBlock("table"); +function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) { + if (typeof shadowMode !== 'boolean') { + createInjectorSSR = createInjector; + createInjector = shadowMode; + shadowMode = false; + } + // Vue.extend constructor export interop. + const options = typeof script === 'function' ? script.options : script; + // render functions + if (template && template.render) { + options.render = template.render; + options.staticRenderFns = template.staticRenderFns; + options._compiled = true; + // functional template + if (isFunctionalTemplate) { + options.functional = true; + } + } + // scopedId + if (scopeId) { + options._scopeId = scopeId; + } + let hook; + if (moduleIdentifier) { + // server build + hook = function (context) { + // 2.3 injection + context = + context || // cached call + (this.$vnode && this.$vnode.ssrContext) || // stateful + (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional + // 2.2 with runInNewContext: true + if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { + context = __VUE_SSR_CONTEXT__; + } + // inject component styles + if (style) { + style.call(this, createInjectorSSR(context)); + } + // register component module identifier for async chunk inference + if (context && context._registeredComponents) { + context._registeredComponents.add(moduleIdentifier); + } + }; + // used by ssr in case component is cached and beforeCreate + // never gets called + options._ssrRegister = hook; + } + else if (style) { + hook = shadowMode + ? function (context) { + style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot)); + } + : function (context) { + style.call(this, createInjector(context)); + }; + } + if (hook) { + if (options.functional) { + // register for functional component in vue file + const originalRender = options.render; + options.render = function renderWithStyleInjection(h, context) { + hook.call(context); + return originalRender(h, context); + }; + } + else { + // inject component registration as beforeCreate hook + const existing = options.beforeCreate; + options.beforeCreate = existing ? [].concat(existing, hook) : [hook]; + } + } + return script; } -script.render = render; -script.__file = "src/vue/BootstrapTable.vue"; +/* script */ +const __vue_script__ = script; -export default script; +/* template */ +var __vue_render__ = function() { + var _vm = this; + var _h = _vm.$createElement; + var _c = _vm._self._c || _h; + return _c("table") +}; +var __vue_staticRenderFns__ = []; +__vue_render__._withStripped = true; + + /* style */ + const __vue_inject_styles__ = undefined; + /* scoped */ + const __vue_scope_id__ = undefined; + /* module identifier */ + const __vue_module_identifier__ = undefined; + /* functional template */ + const __vue_is_functional_template__ = false; + /* style inject */ + + /* style inject SSR */ + + /* style inject shadow dom */ + + + + const __vue_component__ = /*#__PURE__*/normalizeComponent( + { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ }, + __vue_inject_styles__, + __vue_script__, + __vue_scope_id__, + __vue_is_functional_template__, + __vue_module_identifier__, + false, + undefined, + undefined, + undefined + ); + +export default __vue_component__; diff --git a/dist/bootstrap-table-vue.esm.min.js b/dist/bootstrap-table-vue.esm.min.js index 4a472c8762..184b68f7df 100644 --- a/dist/bootstrap-table-vue.esm.min.js +++ b/dist/bootstrap-table-vue.esm.min.js @@ -1,10 +1,10 @@ /** * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) * - * @version v1.18.3 + * @version v1.19.0 * @homepage https://bootstrap-table.com * @author wenzhixin (http://wenzhixin.net.cn/) * @license MIT */ -import{openBlock as t,createBlock as e}from"vue";function r(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?st:ft)(t)},dt=Math.min,ht=function(t){return t>0?dt(pt(t),9007199254740991):0},yt=Math.max,vt=Math.min,gt=function(t){return function(e,r,n){var o,i=O(e),a=ht(i.length),c=function(t,e){var r=pt(t);return r<0?yt(r+e,0):vt(r,e)}(n,a);if(t&&r!=r){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},bt={includes:gt(!0),indexOf:gt(!1)}.indexOf,mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),xt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var r,n=O(t),o=0,i=[];for(r in n)!T(H,r)&&T(n,r)&&i.push(r);for(;e.length>o;)T(n,r=e[o++])&&(~bt(i,r)||i.push(r));return i}(t,mt)}},Et={f:Object.getOwnPropertySymbols},St=lt("Reflect","ownKeys")||function(t){var e=xt.f(C(t)),r=Et.f;return r?e.concat(r(t)):e},Ot=function(t,e){for(var r=St(e),n=D.f,o=$.f,i=0;i0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",f=" "+f,l++),r=new RegExp("^(?:"+u+")",c)),Gt&&(r=new RegExp("^"+u+"$(?!\\s)",c)),Bt&&(e=i.lastIndex),n=kt.call(a?r:i,f),a?n?(n.input=n.input.slice(l),n[0]=n[0].slice(l),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:Bt&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),Gt&&n&&n.length>1&&Lt.call(n[0],r,(function(){for(o=1;o=74)&&(Yt=Xt.match(/Chrome\/(\d+)/))&&(qt=Yt[1]);var Ht=qt&&+qt,Jt=!!Object.getOwnPropertySymbols&&!p((function(){return!Symbol.sham&&(Wt?38===Ht:Ht>37&&Ht<41)})),te=Jt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ee=W("wks"),re=s.Symbol,ne=te?re:re&&re.withoutSetter||V,oe=function(t){return T(ee,t)&&(Jt||"string"==typeof ee[t])||(Jt&&T(re,t)?ee[t]=re[t]:ee[t]=ne("Symbol."+t)),ee[t]},ie=oe("species"),ae=!p((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),ce="$0"==="a".replace(/./,"$0"),ue=oe("replace"),le=!!/./[ue]&&""===/./[ue]("a","$0"),fe=!p((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),se=function(t){return function(e,r){var n,o,i=String(S(e)),a=pt(r),c=i.length;return a<0||a>=c?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},pe={codeAt:se(!1),charAt:se(!0)}.charAt,de=function(t,e,r){return e+(r?pe(t,e).length:1)},he=function(t){return Object(S(t))},ye=Math.floor,ve="".replace,ge=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,be=/\$([$&'`]|\d{1,2})/g,me=function(t,e,r,n,o,i){var a=r+t.length,c=n.length,u=be;return void 0!==o&&(o=he(o),u=ge),ve.call(i,u,(function(i,u){var l;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(a);case"<":l=o[u.slice(1,-1)];break;default:var f=+u;if(0===f)return i;if(f>c){var s=ye(f/10);return 0===s?i:s<=c?void 0===n[s-1]?u.charAt(1):n[s-1]+u.charAt(1):i}l=n[f-1]}return void 0===l?"":l}))},xe=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==m(t))throw TypeError("RegExp#exec called on incompatible receiver");return zt.call(t,e)},Ee=Math.max,Se=Math.min;!function(t,e,r,n){var o=oe(t),i=!p((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!p((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[ie]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||"replace"===t&&(!ae||!ce||le)||"split"===t&&!fe){var c=/./[o],u=r(o,""[t],(function(t,e,r,n,o){return e.exec===zt?i&&!o?{done:!0,value:c.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:ce,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:le}),l=u[0],f=u[1];at(String.prototype,t,l),at(RegExp.prototype,o,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}n&&N(RegExp.prototype[o],"sham",!0)}("replace",2,(function(t,e,r,n){var o=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=n.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(r,n){var o=S(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!o&&i||"string"==typeof n&&-1===n.indexOf(a)){var c=r(e,t,this,n);if(c.done)return c.value}var u=C(t),l=String(this),f="function"==typeof n;f||(n=String(n));var s=u.global;if(s){var p=u.unicode;u.lastIndex=0}for(var d=[];;){var h=xe(u,l);if(null===h)break;if(d.push(h),!s)break;""===String(h[0])&&(u.lastIndex=de(l,ht(u.lastIndex),p))}for(var y,v="",g=0,b=0;b=g&&(v+=l.slice(g,x)+j,g=x+m.length)}return v+l.slice(g)}]}));var Oe,we=Array.isArray||function(t){return"Array"==m(t)},je=function(t,e,r){var n=j(e);n in t?D.f(t,n,g(0,r)):t[n]=r},Ae=oe("species"),Te=function(t,e){var r;return we(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!we(r.prototype)?w(r)&&null===(r=r[Ae])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},Pe=oe("species"),_e=oe("isConcatSpreadable"),Ie=Ht>=51||!p((function(){var t=[];return t[_e]=!1,t.concat()[0]!==t})),Re=(Oe="concat",Ht>=51||!p((function(){var t=[];return(t.constructor={})[Pe]=function(){return{foo:1}},1!==t[Oe](Boolean).foo}))),$e=function(t){if(!w(t))return!1;var e=t[_e];return void 0!==e?!!e:we(t)};$t({target:"Array",proto:!0,forced:!Ie||!Re},{concat:function(t){var e,r,n,o,i,a=he(this),c=Te(a,0),u=0;for(e=-1,n=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r=9007199254740991)throw TypeError("Maximum allowed index exceeded");je(c,u++,i)}return c.length=u,c}});var Ce=window.jQuery,Me=function(t){return void 0===t?t:Ce.extend(!0,Array.isArray(t)?[]:{},t)},De={name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default:function(){}},options:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;this.$table=Ce(this.$el),this.$table.on("all.bs.table",(function(e,r,n){var o=Ce.fn.bootstrapTable.events[r];o=o.replace(/([A-Z])/g,"-$1").toLowerCase(),t.$emit.apply(t,["on-all"].concat(i(n))),t.$emit.apply(t,[o].concat(i(n)))})),this._initTable()},methods:o({_initTable:function(){var t=o(o({},Me(this.options)),{},{columns:Me(this.columns),data:Me(this.data)});this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)}},function(){var t,e={},r=function(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=a(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}(Ce.fn.bootstrapTable.methods);try{var n=function(){var r=t.value;e[r]=function(){for(var t,e=arguments.length,n=new Array(e),o=0;ot.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?lt:ut)(t)},st=Math.min,pt=function(t){return t>0?st(ft(t),9007199254740991):0},dt=Math.max,ht=Math.min,yt=function(t){return function(e,n,r){var o,i=E(e),a=pt(i.length),c=function(t,e){var n=ft(t);return n<0?dt(n+e,0):ht(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},vt={includes:yt(!0),indexOf:yt(!1)}.indexOf,gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),bt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=E(t),o=0,i=[];for(n in r)!_(Q,n)&&_(r,n)&&i.push(n);for(;e.length>o;)_(r,n=e[o++])&&(~vt(i,n)||i.push(n));return i}(t,gt)}},mt={f:Object.getOwnPropertySymbols},xt=ct("Reflect","ownKeys")||function(t){var e=bt.f(R(t)),n=mt.f;return n?e.concat(n(t)):e},Et=function(t,e){for(var n=xt(e),r=C.f,o=I.f,i=0;i0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",f=" "+f,l++),n=new RegExp("^(?:"+u+")",c)),Bt&&(n=new RegExp("^"+u+"$(?!\\s)",c)),Ft&&(e=i.lastIndex),r=Ut.call(a?n:i,f),a?r?(r.input=r.input.slice(l),r[0]=r[0].slice(l),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Ft&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),Bt&&r&&r.length>1&&Dt.call(r[0],n,(function(){for(o=1;o=74)&&(Gt=Vt.match(/Chrome\/(\d+)/))&&(Xt=Gt[1]);var Qt=Xt&&+Xt,Zt=!!Object.getOwnPropertySymbols&&!f((function(){return!Symbol.sham&&(zt?38===Qt:Qt>37&&Qt<41)})),Ht=Zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Jt=z("wks"),te=l.Symbol,ee=Ht?te:te&&te.withoutSetter||q,ne=function(t){return _(Jt,t)&&(Zt||"string"==typeof Jt[t])||(Zt&&_(te,t)?Jt[t]=te[t]:Jt[t]=ee("Symbol."+t)),Jt[t]},re=ne("species"),oe=!f((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),ie="$0"==="a".replace(/./,"$0"),ae=ne("replace"),ce=!!/./[ae]&&""===/./[ae]("a","$0"),ue=!f((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),le=function(t){return function(e,n){var r,o,i=String(x(e)),a=ft(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},fe={codeAt:le(!1),charAt:le(!0)}.charAt,se=function(t,e,n){return e+(n?fe(t,e).length:1)},pe=function(t){return Object(x(t))},de=Math.floor,he="".replace,ye=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ve=/\$([$&'`]|\d{1,2})/g,ge=function(t,e,n,r,o,i){var a=n+t.length,c=r.length,u=ve;return void 0!==o&&(o=pe(o),u=ye),he.call(i,u,(function(i,u){var l;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(a);case"<":l=o[u.slice(1,-1)];break;default:var f=+u;if(0===f)return i;if(f>c){var s=de(f/10);return 0===s?i:s<=c?void 0===r[s-1]?u.charAt(1):r[s-1]+u.charAt(1):i}l=r[f-1]}return void 0===l?"":l}))},be=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==g(t))throw TypeError("RegExp#exec called on incompatible receiver");return Kt.call(t,e)},me=Math.max,xe=Math.min;!function(t,e,n,r){var o=ne(t),i=!f((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!f((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[re]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||"replace"===t&&(!oe||!ie||ce)||"split"===t&&!ue){var c=/./[o],u=n(o,""[t],(function(t,e,n,r,o){return e.exec===RegExp.prototype.exec?i&&!o?{done:!0,value:c.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:ie,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:ce}),l=u[0],s=u[1];ot(String.prototype,t,l),ot(RegExp.prototype,o,2==e?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)})}r&&M(RegExp.prototype[o],"sham",!0)}("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(n,r){var o=x(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(a)){var c=n(e,t,this,r);if(c.done)return c.value}var u=R(t),l=String(this),f="function"==typeof r;f||(r=String(r));var s=u.global;if(s){var p=u.unicode;u.lastIndex=0}for(var d=[];;){var h=be(u,l);if(null===h)break;if(d.push(h),!s)break;""===String(h[0])&&(u.lastIndex=se(l,pt(u.lastIndex),p))}for(var y,v="",g=0,b=0;b=g&&(v+=l.slice(g,x)+_,g=x+m.length)}return v+l.slice(g)}]}));var Ee,Se=Array.isArray||function(t){return"Array"==g(t)},Oe=function(t,e,n){var r=O(e);r in t?C.f(t,r,y(0,n)):t[r]=n},we=ne("species"),_e=function(t,e){var n;return Se(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Se(n.prototype)?S(n)&&null===(n=n[we])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},je=ne("species"),Te=ne("isConcatSpreadable"),Ae=Qt>=51||!f((function(){var t=[];return t[Te]=!1,t.concat()[0]!==t})),Pe=(Ee="concat",Qt>=51||!f((function(){var t=[];return(t.constructor={})[je]=function(){return{foo:1}},1!==t[Ee](Boolean).foo}))),Ie=function(t){if(!S(t))return!1;var e=t[Te];return void 0!==e?!!e:Se(t)};It({target:"Array",proto:!0,forced:!Ae||!Pe},{concat:function(t){var e,n,r,o,i,a=pe(this),c=_e(a,0),u=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");Oe(c,u++,i)}return c.length=u,c}});var Re=window.jQuery,$e=function(t){return void 0===t?t:Re.extend(!0,Array.isArray(t)?[]:{},t)};function Ce(t,e,n,r,o,i,a,c,u,l){"boolean"!=typeof a&&(u=c,c=a,a=!1);const f="function"==typeof n?n.options:n;let s;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),r&&(f._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=s):e&&(s=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,c(t))}),s)if(f.functional){const t=f.render;f.render=function(e,n){return s.call(n),t(e,n)}}else{const t=f.beforeCreate;f.beforeCreate=t?[].concat(t,s):[s]}return n}const Me=Ce({render:function(){var t=this.$createElement;return(this._self._c||t)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default:function(){}},options:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;this.$table=Re(this.$el),this.$table.on("all.bs.table",(function(e,n,o){var i=Re.fn.bootstrapTable.events[n];i=i.replace(/([A-Z])/g,"-$1").toLowerCase(),t.$emit.apply(t,["on-all"].concat(r(o))),t.$emit.apply(t,[i].concat(r(o)))})),this._initTable()},methods:n({_initTable:function(){var t=n(n({},$e(this.options)),{},{columns:$e(this.columns),data:$e(this.data)});this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)}},function(){var t,e={},n=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=o(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}(Re.fn.bootstrapTable.methods);try{var r=function(){var n=t.value;e[n]=function(){for(var t,e=arguments.length,r=new Array(e),o=0;o 37 && engineV8Version < 41); }); + /* eslint-disable es/no-symbol -- required for testing */ + + var useSymbolAsUid = nativeSymbol - /* global Symbol -- safe */ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; @@ -857,7 +865,6 @@ - var SPECIES$2 = wellKnownSymbol('species'); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { @@ -876,6 +883,7 @@ // IE <= 11 replaces $0 with the whole match, as if it was $& // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing return 'a'.replace(/./, '$0') === '$0'; })(); @@ -945,7 +953,7 @@ ) { var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { + if (regexp.exec === RegExp.prototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. @@ -1164,6 +1172,7 @@ // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe var isArray = Array.isArray || function isArray(arg) { return classofRaw(arg) == 'Array'; }; @@ -1256,6 +1265,10 @@ } }); + // + // + // + // var $ = window.jQuery; var deepCopy = function deepCopy(arg) { @@ -1369,13 +1382,123 @@ } }; - function render(_ctx, _cache, $props, $setup, $data, $options) { - return vue.openBlock(), vue.createBlock("table"); + function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) { + if (typeof shadowMode !== 'boolean') { + createInjectorSSR = createInjector; + createInjector = shadowMode; + shadowMode = false; + } + // Vue.extend constructor export interop. + const options = typeof script === 'function' ? script.options : script; + // render functions + if (template && template.render) { + options.render = template.render; + options.staticRenderFns = template.staticRenderFns; + options._compiled = true; + // functional template + if (isFunctionalTemplate) { + options.functional = true; + } + } + // scopedId + if (scopeId) { + options._scopeId = scopeId; + } + let hook; + if (moduleIdentifier) { + // server build + hook = function (context) { + // 2.3 injection + context = + context || // cached call + (this.$vnode && this.$vnode.ssrContext) || // stateful + (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional + // 2.2 with runInNewContext: true + if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { + context = __VUE_SSR_CONTEXT__; + } + // inject component styles + if (style) { + style.call(this, createInjectorSSR(context)); + } + // register component module identifier for async chunk inference + if (context && context._registeredComponents) { + context._registeredComponents.add(moduleIdentifier); + } + }; + // used by ssr in case component is cached and beforeCreate + // never gets called + options._ssrRegister = hook; + } + else if (style) { + hook = shadowMode + ? function (context) { + style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot)); + } + : function (context) { + style.call(this, createInjector(context)); + }; + } + if (hook) { + if (options.functional) { + // register for functional component in vue file + const originalRender = options.render; + options.render = function renderWithStyleInjection(h, context) { + hook.call(context); + return originalRender(h, context); + }; + } + else { + // inject component registration as beforeCreate hook + const existing = options.beforeCreate; + options.beforeCreate = existing ? [].concat(existing, hook) : [hook]; + } + } + return script; } - script.render = render; - script.__file = "src/vue/BootstrapTable.vue"; + /* script */ + const __vue_script__ = script; - return script; + /* template */ + var __vue_render__ = function() { + var _vm = this; + var _h = _vm.$createElement; + var _c = _vm._self._c || _h; + return _c("table") + }; + var __vue_staticRenderFns__ = []; + __vue_render__._withStripped = true; + + /* style */ + const __vue_inject_styles__ = undefined; + /* scoped */ + const __vue_scope_id__ = undefined; + /* module identifier */ + const __vue_module_identifier__ = undefined; + /* functional template */ + const __vue_is_functional_template__ = false; + /* style inject */ + + /* style inject SSR */ + + /* style inject shadow dom */ + + + + const __vue_component__ = /*#__PURE__*/normalizeComponent( + { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ }, + __vue_inject_styles__, + __vue_script__, + __vue_scope_id__, + __vue_is_functional_template__, + __vue_module_identifier__, + false, + undefined, + undefined, + undefined + ); + + return __vue_component__; }))); diff --git a/dist/bootstrap-table-vue.min.js b/dist/bootstrap-table-vue.min.js index 64ab6db7c5..b5753f133b 100644 --- a/dist/bootstrap-table-vue.min.js +++ b/dist/bootstrap-table-vue.min.js @@ -1,10 +1,10 @@ /** * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) * - * @version v1.18.3 + * @version v1.19.0 * @homepage https://bootstrap-table.com * @author wenzhixin (http://wenzhixin.net.cn/) * @license MIT */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).BootstrapTable=e(t.vue)}(this,(function(t){"use strict";function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function r(t){for(var r=1;rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?st:lt)(t)},dt=Math.min,yt=function(t){return t>0?dt(pt(t),9007199254740991):0},ht=Math.max,vt=Math.min,gt=function(t){return function(e,n,r){var o,i=S(e),a=yt(i.length),c=function(t,e){var n=pt(t);return n<0?ht(n+e,0):vt(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},bt={includes:gt(!0),indexOf:gt(!1)}.indexOf,mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),xt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=S(t),o=0,i=[];for(n in r)!A(H,n)&&A(r,n)&&i.push(n);for(;e.length>o;)A(r,n=e[o++])&&(~bt(i,n)||i.push(n));return i}(t,mt)}},Et={f:Object.getOwnPropertySymbols},St=ft("Reflect","ownKeys")||function(t){var e=xt.f($(t)),n=Et.f;return n?e.concat(n(t)):e},Ot=function(t,e){for(var n=St(e),r=M.f,o=R.f,i=0;i0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,f++),n=new RegExp("^(?:"+u+")",c)),Gt&&(n=new RegExp("^"+u+"$(?!\\s)",c)),Ft&&(e=i.lastIndex),r=Ut.call(a?n:i,l),a?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Ft&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),Gt&&r&&r.length>1&&Lt.call(r[0],n,(function(){for(o=1;o=74)&&(zt=Xt.match(/Chrome\/(\d+)/))&&(Yt=zt[1]);var Ht=Yt&&+Yt,Jt=!!Object.getOwnPropertySymbols&&!s((function(){return!Symbol.sham&&(Wt?38===Ht:Ht>37&&Ht<41)})),te=Jt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ee=W("wks"),ne=l.Symbol,re=te?ne:ne&&ne.withoutSetter||V,oe=function(t){return A(ee,t)&&(Jt||"string"==typeof ee[t])||(Jt&&A(ne,t)?ee[t]=ne[t]:ee[t]=re("Symbol."+t)),ee[t]},ie=oe("species"),ae=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),ce="$0"==="a".replace(/./,"$0"),ue=oe("replace"),fe=!!/./[ue]&&""===/./[ue]("a","$0"),le=!s((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),se=function(t){return function(e,n){var r,o,i=String(E(e)),a=pt(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},pe={codeAt:se(!1),charAt:se(!0)}.charAt,de=function(t,e,n){return e+(n?pe(t,e).length:1)},ye=function(t){return Object(E(t))},he=Math.floor,ve="".replace,ge=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,be=/\$([$&'`]|\d{1,2})/g,me=function(t,e,n,r,o,i){var a=n+t.length,c=r.length,u=be;return void 0!==o&&(o=ye(o),u=ge),ve.call(i,u,(function(i,u){var f;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(a);case"<":f=o[u.slice(1,-1)];break;default:var l=+u;if(0===l)return i;if(l>c){var s=he(l/10);return 0===s?i:s<=c?void 0===r[s-1]?u.charAt(1):r[s-1]+u.charAt(1):i}f=r[l-1]}return void 0===f?"":f}))},xe=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==b(t))throw TypeError("RegExp#exec called on incompatible receiver");return qt.call(t,e)},Ee=Math.max,Se=Math.min;!function(t,e,n,r){var o=oe(t),i=!s((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[ie]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||"replace"===t&&(!ae||!ce||fe)||"split"===t&&!le){var c=/./[o],u=n(o,""[t],(function(t,e,n,r,o){return e.exec===qt?i&&!o?{done:!0,value:c.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:ce,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:fe}),f=u[0],l=u[1];at(String.prototype,t,f),at(RegExp.prototype,o,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&k(RegExp.prototype[o],"sham",!0)}("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(n,r){var o=E(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(a)){var c=n(e,t,this,r);if(c.done)return c.value}var u=$(t),f=String(this),l="function"==typeof r;l||(r=String(r));var s=u.global;if(s){var p=u.unicode;u.lastIndex=0}for(var d=[];;){var y=xe(u,f);if(null===y)break;if(d.push(y),!s)break;""===String(y[0])&&(u.lastIndex=de(f,yt(u.lastIndex),p))}for(var h,v="",g=0,b=0;b=g&&(v+=f.slice(g,x)+j,g=x+m.length)}return v+f.slice(g)}]}));var Oe,we=Array.isArray||function(t){return"Array"==b(t)},je=function(t,e,n){var r=w(e);r in t?M.f(t,r,v(0,n)):t[r]=n},Ae=oe("species"),Te=function(t,e){var n;return we(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!we(n.prototype)?O(n)&&null===(n=n[Ae])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Pe=oe("species"),Ie=oe("isConcatSpreadable"),_e=9007199254740991,Re="Maximum allowed index exceeded",$e=Ht>=51||!s((function(){var t=[];return t[Ie]=!1,t.concat()[0]!==t})),Ce=(Oe="concat",Ht>=51||!s((function(){var t=[];return(t.constructor={})[Pe]=function(){return{foo:1}},1!==t[Oe](Boolean).foo}))),Me=function(t){if(!O(t))return!1;var e=t[Ie];return void 0!==e?!!e:we(t)};$t({target:"Array",proto:!0,forced:!$e||!Ce},{concat:function(t){var e,n,r,o,i,a=ye(this),c=Te(a,0),u=0;for(e=-1,r=arguments.length;e_e)throw TypeError(Re);for(n=0;n=_e)throw TypeError(Re);je(c,u++,i)}return c.length=u,c}});var ke=window.jQuery,De=function(t){return void 0===t?t:ke.extend(!0,Array.isArray(t)?[]:{},t)},Ne={name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default:function(){}},options:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;this.$table=ke(this.$el),this.$table.on("all.bs.table",(function(e,n,r){var i=ke.fn.bootstrapTable.events[n];i=i.replace(/([A-Z])/g,"-$1").toLowerCase(),t.$emit.apply(t,["on-all"].concat(o(r))),t.$emit.apply(t,[i].concat(o(r)))})),this._initTable()},methods:r({_initTable:function(){var t=r(r({},De(this.options)),{},{columns:De(this.columns),data:De(this.data)});this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)}},function(){var t,e={},n=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=i(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}(ke.fn.bootstrapTable.methods);try{var r=function(){var n=t.value;e[n]=function(){for(var t,e=arguments.length,r=new Array(e),o=0;ot.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?lt:ft)(t)},pt=Math.min,dt=function(t){return t>0?pt(st(t),9007199254740991):0},ht=Math.max,yt=Math.min,vt=function(t){return function(e,n,r){var o,i=x(e),a=dt(i.length),c=function(t,e){var n=st(t);return n<0?ht(n+e,0):yt(n,e)}(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},gt={includes:vt(!0),indexOf:vt(!1)}.indexOf,bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),mt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=x(t),o=0,i=[];for(n in r)!_(Z,n)&&_(r,n)&&i.push(n);for(;e.length>o;)_(r,n=e[o++])&&(~gt(i,n)||i.push(n));return i}(t,bt)}},Et={f:Object.getOwnPropertySymbols},xt=ut("Reflect","ownKeys")||function(t){var e=mt.f(R(t)),n=Et.f;return n?e.concat(n(t)):e},St=function(t,e){for(var n=xt(e),r=C.f,o=I.f,i=0;i0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,f++),n=new RegExp("^(?:"+u+")",c)),Kt&&(n=new RegExp("^"+u+"$(?!\\s)",c)),Lt&&(e=i.lastIndex),r=Dt.call(a?n:i,l),a?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Lt&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),Kt&&r&&r.length>1&&kt.call(r[0],n,(function(){for(o=1;o=74)&&(Xt=Yt.match(/Chrome\/(\d+)/))&&(zt=Xt[1]);var Zt=zt&&+zt,Ht=!!Object.getOwnPropertySymbols&&!l((function(){return!Symbol.sham&&(Vt?38===Zt:Zt>37&&Zt<41)})),Jt=Ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,te=V("wks"),ee=f.Symbol,ne=Jt?ee:ee&&ee.withoutSetter||W,re=function(t){return _(te,t)&&(Ht||"string"==typeof te[t])||(Ht&&_(ee,t)?te[t]=ee[t]:te[t]=ne("Symbol."+t)),te[t]},oe=re("species"),ie=!l((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),ae="$0"==="a".replace(/./,"$0"),ce=re("replace"),ue=!!/./[ce]&&""===/./[ce]("a","$0"),fe=!l((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),le=function(t){return function(e,n){var r,o,i=String(E(e)),a=st(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},se={codeAt:le(!1),charAt:le(!0)}.charAt,pe=function(t,e,n){return e+(n?se(t,e).length:1)},de=function(t){return Object(E(t))},he=Math.floor,ye="".replace,ve=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ge=/\$([$&'`]|\d{1,2})/g,be=function(t,e,n,r,o,i){var a=n+t.length,c=r.length,u=ge;return void 0!==o&&(o=de(o),u=ve),ye.call(i,u,(function(i,u){var f;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(a);case"<":f=o[u.slice(1,-1)];break;default:var l=+u;if(0===l)return i;if(l>c){var s=he(l/10);return 0===s?i:s<=c?void 0===r[s-1]?u.charAt(1):r[s-1]+u.charAt(1):i}f=r[l-1]}return void 0===f?"":f}))},me=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==g(t))throw TypeError("RegExp#exec called on incompatible receiver");return Gt.call(t,e)},Ee=Math.max,xe=Math.min;!function(t,e,n,r){var o=re(t),i=!l((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!l((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[oe]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||"replace"===t&&(!ie||!ae||ue)||"split"===t&&!fe){var c=/./[o],u=n(o,""[t],(function(t,e,n,r,o){return e.exec===RegExp.prototype.exec?i&&!o?{done:!0,value:c.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:ae,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:ue}),f=u[0],s=u[1];it(String.prototype,t,f),it(RegExp.prototype,o,2==e?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)})}r&&M(RegExp.prototype[o],"sham",!0)}("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(n,r){var o=E(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(a)){var c=n(e,t,this,r);if(c.done)return c.value}var u=R(t),f=String(this),l="function"==typeof r;l||(r=String(r));var s=u.global;if(s){var p=u.unicode;u.lastIndex=0}for(var d=[];;){var h=me(u,f);if(null===h)break;if(d.push(h),!s)break;""===String(h[0])&&(u.lastIndex=pe(f,dt(u.lastIndex),p))}for(var y,v="",g=0,b=0;b=g&&(v+=f.slice(g,E)+_,g=E+m.length)}return v+f.slice(g)}]}));var Se,Oe=Array.isArray||function(t){return"Array"==g(t)},we=function(t,e,n){var r=O(e);r in t?C.f(t,r,y(0,n)):t[r]=n},_e=re("species"),Te=function(t,e){var n;return Oe(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Oe(n.prototype)?S(n)&&null===(n=n[_e])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},je=re("species"),Ae=re("isConcatSpreadable"),Pe=9007199254740991,Ie="Maximum allowed index exceeded",Re=Zt>=51||!l((function(){var t=[];return t[Ae]=!1,t.concat()[0]!==t})),$e=(Se="concat",Zt>=51||!l((function(){var t=[];return(t.constructor={})[je]=function(){return{foo:1}},1!==t[Se](Boolean).foo}))),Ce=function(t){if(!S(t))return!1;var e=t[Ae];return void 0!==e?!!e:Oe(t)};Rt({target:"Array",proto:!0,forced:!Re||!$e},{concat:function(t){var e,n,r,o,i,a=de(this),c=Te(a,0),u=0;for(e=-1,r=arguments.length;ePe)throw TypeError(Ie);for(n=0;n=Pe)throw TypeError(Ie);we(c,u++,i)}return c.length=u,c}});var Me=window.jQuery,Ne=function(t){return void 0===t?t:Me.extend(!0,Array.isArray(t)?[]:{},t)};function Ue(t,e,n,r,o,i,a,c,u,f){"boolean"!=typeof a&&(u=c,c=a,a=!1);const l="function"==typeof n?n.options:n;let s;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r),i?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=s):e&&(s=a?function(t){e.call(this,f(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,c(t))}),s)if(l.functional){const t=l.render;l.render=function(e,n){return s.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,s):[s]}return n}return Ue({render:function(){var t=this.$createElement;return(this._self._c||t)("table")},staticRenderFns:[]},undefined,{name:"BootstrapTable",props:{columns:{type:Array,require:!0},data:{type:[Array,Object],default:function(){}},options:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;this.$table=Me(this.$el),this.$table.on("all.bs.table",(function(e,n,o){var i=Me.fn.bootstrapTable.events[n];i=i.replace(/([A-Z])/g,"-$1").toLowerCase(),t.$emit.apply(t,["on-all"].concat(r(o))),t.$emit.apply(t,[i].concat(r(o)))})),this._initTable()},methods:n({_initTable:function(){var t=n(n({},Ne(this.options)),{},{columns:Ne(this.columns),data:Ne(this.data)});this._hasInit?this.refreshOptions(t):(this.$table.bootstrapTable(t),this._hasInit=!0)}},function(){var t,e={},n=function(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=o(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}(Me.fn.bootstrapTable.methods);try{var r=function(){var n=t.value;e[n]=function(){for(var t,e=arguments.length,r=new Array(e),o=0;o - * version: 1.18.3 + * version: 1.19.0 * https://github.com/wenzhixin/bootstrap-table/ */ .bootstrap-table .fixed-table-toolbar::after { @@ -203,6 +203,7 @@ position: absolute; bottom: 0; width: 100%; + max-width: 100%; z-index: 1000; transition: visibility 0s, opacity 0.15s ease-in-out; opacity: 0; diff --git a/dist/bootstrap-table.js b/dist/bootstrap-table.js index 941ec06bfa..a141780e1c 100644 --- a/dist/bootstrap-table.js +++ b/dist/bootstrap-table.js @@ -187,9 +187,10 @@ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global_1 = - /* global globalThis -- safe */ + // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe check(typeof self == 'object' && self) || check(typeof commonjsGlobal == 'object' && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback @@ -205,21 +206,23 @@ // Detect IE8's incomplete defineProperty implementation var descriptors = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); - var nativePropertyIsEnumerable = {}.propertyIsEnumerable; + var $propertyIsEnumerable = {}.propertyIsEnumerable; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor$4 = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug - var NASHORN_BUG = getOwnPropertyDescriptor$4 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); + var NASHORN_BUG = getOwnPropertyDescriptor$4 && !$propertyIsEnumerable.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor$4(this, V); return !!descriptor && descriptor.enumerable; - } : nativePropertyIsEnumerable; + } : $propertyIsEnumerable; var objectPropertyIsEnumerable = { f: f$4 @@ -299,20 +302,22 @@ // Thank's IE8 for his funny defineProperty var ie8DomDefine = !descriptors && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- requied for testing return Object.defineProperty(documentCreateElement('div'), 'a', { get: function () { return 7; } }).a != 7; }); - var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); P = toPrimitive(P, true); if (ie8DomDefine) try { - return nativeGetOwnPropertyDescriptor(O, P); + return $getOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]); }; @@ -327,16 +332,17 @@ } return it; }; - var nativeDefineProperty = Object.defineProperty; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var $defineProperty = Object.defineProperty; // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty - var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) { + var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (ie8DomDefine) try { - return nativeDefineProperty(O, P, Attributes); + return $defineProperty(O, P, Attributes); } catch (error) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; @@ -386,7 +392,7 @@ (module.exports = function (key, value) { return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.9.1', + version: '3.10.1', mode: 'global', copyright: '© 2021 Denis Pushkarev (zloirock.ru)' }); @@ -598,6 +604,7 @@ // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames + // eslint-disable-next-line es/no-object-getownpropertynames -- safe var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return objectKeysInternal(O, hiddenKeys); }; @@ -606,6 +613,7 @@ f: f$1 }; + // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe var f = Object.getOwnPropertySymbols; var objectGetOwnPropertySymbols = { @@ -795,7 +803,7 @@ return RegExp(s, f); } - var UNSUPPORTED_Y$2 = fails(function () { + var UNSUPPORTED_Y$3 = fails(function () { // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError var re = RE('a', 'y'); re.lastIndex = 2; @@ -810,15 +818,12 @@ }); var regexpStickyHelpers = { - UNSUPPORTED_Y: UNSUPPORTED_Y$2, + UNSUPPORTED_Y: UNSUPPORTED_Y$3, BROKEN_CARET: BROKEN_CARET }; var nativeExec = RegExp.prototype.exec; - // This always refers to the native implementation, because the - // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, - // which loads this file before patching the method. - var nativeReplace = String.prototype.replace; + var nativeReplace = shared('native-string-replace', String.prototype.replace); var patchedExec = nativeExec; @@ -830,19 +835,19 @@ return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); - var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET; + var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET; // nonparticipating capturing group, copied from es5-shim's String#split patch. // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1; + var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2; if (PATCH) { patchedExec = function exec(str) { var re = this; var lastIndex, reCopy, match, i; - var sticky = UNSUPPORTED_Y$1 && re.sticky; + var sticky = UNSUPPORTED_Y$2 && re.sticky; var flags = regexpFlags.call(re); var source = re.source; var charsAdded = 0; @@ -927,16 +932,19 @@ var engineV8Version = version && +version; + // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () { - /* global Symbol -- required for testing */ + // eslint-disable-next-line es/no-symbol -- required for testing return !Symbol.sham && // Chrome 38 Symbol has incorrect toString conversion // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41); }); + /* eslint-disable es/no-symbol -- required for testing */ + + var useSymbolAsUid = nativeSymbol - /* global Symbol -- safe */ && !Symbol.sham && typeof Symbol.iterator == 'symbol'; @@ -961,7 +969,6 @@ - var SPECIES$5 = wellKnownSymbol('species'); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { @@ -980,6 +987,7 @@ // IE <= 11 replaces $0 with the whole match, as if it was $& // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing return 'a'.replace(/./, '$0') === '$0'; })(); @@ -1049,7 +1057,7 @@ ) { var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { + if (regexp.exec === RegExp.prototype.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. @@ -1157,13 +1165,11 @@ return regexpExec.call(R, S); }; + var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y; var arrayPush = [].push; var min$4 = Math.min; var MAX_UINT32 = 0xFFFFFFFF; - // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError - var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); }); - // @@split logic fixRegexpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) { var internalSplit; @@ -1246,11 +1252,11 @@ var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + - (SUPPORTS_Y ? 'y' : 'g'); + (UNSUPPORTED_Y$1 ? 'g' : 'y'); // ^(? + rx + ) is needed, in combination with some S slicing, to // simulate the 'y' flag. - var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); + var splitter = new C(UNSUPPORTED_Y$1 ? '^(?:' + rx.source + ')' : rx, flags); var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; if (S.length === 0) return regexpExecAbstract(splitter, S) === null ? [S] : []; @@ -1258,12 +1264,12 @@ var q = 0; var A = []; while (q < S.length) { - splitter.lastIndex = SUPPORTS_Y ? q : 0; - var z = regexpExecAbstract(splitter, SUPPORTS_Y ? S : S.slice(q)); + splitter.lastIndex = UNSUPPORTED_Y$1 ? 0 : q; + var z = regexpExecAbstract(splitter, UNSUPPORTED_Y$1 ? S.slice(q) : S); var e; if ( z === null || - (e = min$4(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p + (e = min$4(toLength(splitter.lastIndex + (UNSUPPORTED_Y$1 ? q : 0)), S.length)) === p ) { q = advanceStringIndex(S, q, unicodeMatching); } else { @@ -1280,16 +1286,58 @@ return A; } ]; - }, !SUPPORTS_Y); + }, UNSUPPORTED_Y$1); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe var objectKeys = Object.keys || function keys(O) { return objectKeysInternal(O, enumBugKeys); }; + var propertyIsEnumerable = objectPropertyIsEnumerable.f; + + // `Object.{ entries, values }` methods implementation + var createMethod$1 = function (TO_ENTRIES) { + return function (it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!descriptors || propertyIsEnumerable.call(O, key)) { + result.push(TO_ENTRIES ? [key, O[key]] : O[key]); + } + } + return result; + }; + }; + + var objectToArray = { + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + entries: createMethod$1(true), + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + values: createMethod$1(false) + }; + + var $entries = objectToArray.entries; + + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + _export({ target: 'Object', stat: true }, { + entries: function entries(O) { + return $entries(O); + } + }); + // `Object.defineProperties` method // https://tc39.es/ecma262/#sec-object.defineproperties + // eslint-disable-next-line es/no-object-defineproperties -- safe var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = objectKeys(Properties); @@ -1406,6 +1454,7 @@ // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe var isArray = Array.isArray || function isArray(arg) { return classofRaw(arg) == 'Array'; }; @@ -1530,7 +1579,7 @@ var push = [].push; // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation - var createMethod$1 = function (TYPE) { + var createMethod = function (TYPE) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; var IS_SOME = TYPE == 3; @@ -1570,28 +1619,28 @@ var arrayIteration = { // `Array.prototype.forEach` method // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod$1(0), + forEach: createMethod(0), // `Array.prototype.map` method // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod$1(1), + map: createMethod(1), // `Array.prototype.filter` method // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod$1(2), + filter: createMethod(2), // `Array.prototype.some` method // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod$1(3), + some: createMethod(3), // `Array.prototype.every` method // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod$1(4), + every: createMethod(4), // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod$1(5), + find: createMethod(5), // `Array.prototype.findIndex` method // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod$1(6), + findIndex: createMethod(6), // `Array.prototype.filterOut` method // https://github.com/tc39/proposal-array-filtering - filterOut: createMethod$1(7) + filterOut: createMethod(7) }; var $find = arrayIteration.find; @@ -1688,6 +1737,7 @@ // https://tc39.es/ecma262/#sec-array.prototype.foreach var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + // eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; for (var COLLECTION_NAME$1 in domIterables) { @@ -1721,45 +1771,7 @@ parseFloat: numberParseFloat }); - var propertyIsEnumerable = objectPropertyIsEnumerable.f; - - // `Object.{ entries, values }` methods implementation - var createMethod = function (TO_ENTRIES) { - return function (it) { - var O = toIndexedObject(it); - var keys = objectKeys(O); - var length = keys.length; - var i = 0; - var result = []; - var key; - while (length > i) { - key = keys[i++]; - if (!descriptors || propertyIsEnumerable.call(O, key)) { - result.push(TO_ENTRIES ? [key, O[key]] : O[key]); - } - } - return result; - }; - }; - - var objectToArray = { - // `Object.entries` method - // https://tc39.es/ecma262/#sec-object.entries - entries: createMethod(true), - // `Object.values` method - // https://tc39.es/ecma262/#sec-object.values - values: createMethod(false) - }; - - var $entries = objectToArray.entries; - - // `Object.entries` method - // https://tc39.es/ecma262/#sec-object.entries - _export({ target: 'Object', stat: true }, { - entries: function entries(O) { - return $entries(O); - } - }); + /* eslint-disable es/no-array-prototype-indexof -- required for testing */ var $indexOf = arrayIncludes.indexOf; @@ -1934,14 +1946,16 @@ ]; }); - var nativeAssign = Object.assign; + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing var defineProperty$3 = Object.defineProperty; // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign - var objectAssign = !nativeAssign || fails(function () { + var objectAssign = !$assign || fails(function () { // should have correct order of operations (Edge bug) - if (descriptors && nativeAssign({ b: 1 }, nativeAssign(defineProperty$3({}, 'a', { + if (descriptors && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', { enumerable: true, get: function () { defineProperty$3(this, 'b', { @@ -1953,12 +1967,12 @@ // should work with symbols and should have deterministic property order (V8 bug) var A = {}; var B = {}; - /* global Symbol -- required for testing */ + // eslint-disable-next-line es/no-symbol -- safe var symbol = Symbol(); var alphabet = 'abcdefghijklmnopqrst'; A[symbol] = 7; alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet; + return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` var T = toObject(target); var argumentsLength = arguments.length; @@ -1976,10 +1990,11 @@ if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key]; } } return T; - } : nativeAssign; + } : $assign; // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, { assign: objectAssign }); @@ -2000,6 +2015,7 @@ // `SameValue` abstract operation // https://tc39.es/ecma262/#sec-samevalue + // eslint-disable-next-line es/no-object-is -- safe var sameValue = Object.is || function is(x, y) { // eslint-disable-next-line no-self-compare -- NaN check return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; @@ -2100,11 +2116,13 @@ // `Object.setPrototypeOf` method // https://tc39.es/ecma262/#sec-object.setprototypeof // Works with __proto__ only. Old v8 can't work with null proto objects. + // eslint-disable-next-line es/no-object-setprototypeof -- safe var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () { var CORRECT_SETTER = false; var test = {}; var setter; try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; setter.call(test, []); CORRECT_SETTER = test instanceof Array; @@ -2330,6 +2348,7 @@ var correctPrototypeGetter = !fails(function () { function F() { /* empty */ } F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing return Object.getPrototypeOf(new F()) !== F.prototype; }); @@ -2338,6 +2357,7 @@ // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof + // eslint-disable-next-line es/no-object-getprototypeof -- safe var objectGetPrototypeOf = correctPrototypeGetter ? Object.getPrototypeOf : function (O) { O = toObject(O); if (has$1(O, IE_PROTO)) return O[IE_PROTO]; @@ -2355,6 +2375,7 @@ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator; + /* eslint-disable es/no-array-prototype-keys -- safe */ if ([].keys) { arrayIterator = [].keys(); // Safari 8 has buggy iterators w/o `next` @@ -2696,7 +2717,7 @@ /* eslint-disable no-unused-vars */ - var VERSION = '1.18.3'; + var VERSION = '1.19.0'; var bootstrapVersion = 4; try { @@ -2813,19 +2834,19 @@ } }, 5: { - iconsPrefix: 'fa', + iconsPrefix: 'bi', icons: { - paginationSwitchDown: 'fa-caret-square-down', - paginationSwitchUp: 'fa-caret-square-up', - refresh: 'fa-sync', - toggleOff: 'fa-toggle-off', - toggleOn: 'fa-toggle-on', - columns: 'fa-th-list', - detailOpen: 'fa-plus', - detailClose: 'fa-minus', - fullscreen: 'fa-arrows-alt', - search: 'fa-search', - clearSearch: 'fa-trash' + paginationSwitchDown: 'bi-caret-down-square', + paginationSwitchUp: 'bi-caret-up-square', + refresh: 'bi-arrow-clockwise', + toggleOff: 'bi-toggle-off', + toggleOn: 'bi-toggle-on', + columns: 'bi-list-ul', + detailOpen: 'bi-plus', + detailClose: 'bi-dash', + fullscreen: 'bi-arrows-move', + search: 'bi-search', + clearSearch: 'bi-trash' }, classes: { buttonsPrefix: 'btn', @@ -2853,7 +2874,7 @@ pagination: ['
      ', '
    '], paginationItem: '
  • %s
  • ', icon: '', - inputGroup: '
    %s
    %s
    ', + inputGroup: '
    %s%s
    ', searchInput: '', searchButton: '', searchClearButton: '' @@ -2938,6 +2959,7 @@ searchHighlight: false, searchOnEnterKey: false, strictSearch: false, + regexSearch: false, searchSelector: false, visibleSearch: false, showButtonIcons: true, @@ -3089,6 +3111,9 @@ }, onScrollBody: function onScrollBody() { return false; + }, + onTogglePagination: function onTogglePagination(newState) { + return false; } }; var EN = { @@ -3229,7 +3254,9 @@ 'refresh-options.bs.table': 'onRefreshOptions', 'reset-view.bs.table': 'onResetView', 'refresh.bs.table': 'onRefresh', - 'scroll-body.bs.table': 'onScrollBody' + 'scroll-body.bs.table': 'onScrollBody', + 'toggle-pagination.bs.table': 'onTogglePagination', + 'virtual-scroll.bs.table': 'onVirtualScroll' }; Object.assign(DEFAULTS, EN); var Constants = { @@ -3256,6 +3283,43 @@ } }); + // @@match logic + fixRegexpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.es/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = requireObjectCoercible(this); + var matcher = regexp == undefined ? undefined : regexp[MATCH]; + return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@match + function (regexp) { + var res = maybeCallNative(nativeMatch, regexp, this); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + + if (!rx.global) return regexpExecAbstract(rx, S); + + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A = []; + var n = 0; + var result; + while ((result = regexpExecAbstract(rx, S)) !== null) { + var matchStr = String(result[0]); + A[n] = matchStr; + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + n++; + } + return n === 0 ? null : A; + } + ]; + }); + var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; @@ -3263,7 +3327,8 @@ - var nativeStartsWith = ''.startsWith; + // eslint-disable-next-line es/no-string-prototype-startswith -- safe + var $startsWith = ''.startsWith; var min$1 = Math.min; var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegexpLogic('startsWith'); @@ -3281,8 +3346,8 @@ notARegexp(searchString); var index = toLength(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length)); var search = String(searchString); - return nativeStartsWith - ? nativeStartsWith.call(that, search, index) + return $startsWith + ? $startsWith.call(that, search, index) : that.slice(index, index + search.length) === search; } }); @@ -3294,7 +3359,8 @@ - var nativeEndsWith = ''.endsWith; + // eslint-disable-next-line es/no-string-prototype-endswith -- safe + var $endsWith = ''.endsWith; var min = Math.min; var CORRECT_IS_REGEXP_LOGIC = correctIsRegexpLogic('endsWith'); @@ -3314,8 +3380,8 @@ var len = toLength(that.length); var end = endPosition === undefined ? len : min(toLength(endPosition), len); var search = String(searchString); - return nativeEndsWith - ? nativeEndsWith.call(that, search, end) + return $endsWith + ? $endsWith.call(that, search, end) : that.slice(end - search.length, end) === search; } }); @@ -3582,6 +3648,17 @@ return true; }, + regexCompare: function regexCompare(value, search) { + try { + var regexpParts = search.match(/^\/(.*?)\/([gim]*)$/); + + if (value.toString().search(regexpParts ? new RegExp(regexpParts[1], regexpParts[2]) : new RegExp(search, 'gim')) !== -1) { + return true; + } + } catch (e) { + return false; + } + }, escapeHTML: function escapeHTML(text) { if (typeof text === 'string') { return text.replace(/&/g, '&').replace(//g, '>').replace(/"/g, '"').replace(/'/g, ''').replace(/`/g, '`'); @@ -3823,7 +3900,7 @@ if (_this.lastCluster !== (_this.lastCluster = _this.getNum())) { _this.initDOM(_this.rows); - _this.callback(); + _this.callback(_this.startIndex, _this.endIndex); } }; @@ -3863,6 +3940,8 @@ html.push(this.getExtra('bottom', data.bottomOffset)); } + this.startIndex = data.start; + this.endIndex = data.end; this.contentEl.innerHTML = html.join(''); if (fixedScroll) { @@ -3919,6 +3998,8 @@ } return { + start: start, + end: end, topOffset: topOffset, bottomOffset: bottomOffset, rowsAbove: rowsAbove, @@ -4007,12 +4088,26 @@ parts[1] = parts[1].toUpperCase(); } + var localesToExtend = {}; + if (locales[this.options.locale]) { - $__default['default'].extend(this.options, locales[this.options.locale]); + localesToExtend = locales[this.options.locale]; } else if (locales[parts.join('-')]) { - $__default['default'].extend(this.options, locales[parts.join('-')]); + localesToExtend = locales[parts.join('-')]; } else if (locales[parts[0]]) { - $__default['default'].extend(this.options, locales[parts[0]]); + localesToExtend = locales[parts[0]]; + } + + for (var _i = 0, _Object$entries = Object.entries(localesToExtend); _i < _Object$entries.length; _i++) { + var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), + formatName = _Object$entries$_i[0], + func = _Object$entries$_i[1]; + + if (this.options[formatName] !== BootstrapTable.DEFAULTS[formatName]) { + continue; + } + + this.options[formatName] = func; } } } @@ -4199,10 +4294,10 @@ var classes = ''; if (headerStyle && headerStyle.css) { - for (var _i = 0, _Object$entries = Object.entries(headerStyle.css); _i < _Object$entries.length; _i++) { - var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), - key = _Object$entries$_i[0], - value = _Object$entries$_i[1]; + for (var _i2 = 0, _Object$entries2 = Object.entries(headerStyle.css); _i2 < _Object$entries2.length; _i2++) { + var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2), + key = _Object$entries2$_i[0], + value = _Object$entries2$_i[1]; csses.push("".concat(key, ": ").concat(value)); } @@ -4294,16 +4389,6 @@ _this2.onSort(e); } }); - this.$header.children().children().off('keypress').on('keypress', function (e) { - if (_this2.options.sortable && $__default['default'](e.currentTarget).data().sortable) { - var code = e.keyCode || e.which; - - if (code === 13) { - // Enter keycode - _this2.onSort(e); - } - } - }); var resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id')); $__default['default'](window).off(resizeEvent); @@ -4582,10 +4667,10 @@ }); var buttonsHtml = {}; - for (var _i2 = 0, _Object$entries2 = Object.entries(this.buttons); _i2 < _Object$entries2.length; _i2++) { - var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2), - buttonName = _Object$entries2$_i[0], - buttonConfig = _Object$entries2$_i[1]; + for (var _i3 = 0, _Object$entries3 = Object.entries(this.buttons); _i3 < _Object$entries3.length; _i3++) { + var _Object$entries3$_i = _slicedToArray(_Object$entries3[_i3], 2), + buttonName = _Object$entries3$_i[0], + buttonConfig = _Object$entries3$_i[1]; var buttonHtml = void 0; @@ -4599,10 +4684,10 @@ buttonHtml = "