tablefilter 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/starter.html +2 -2
- package/dist/tablefilter/tablefilter.js +1 -1
- package/dist/tablefilter/tf-1-2aa33b10e0e549020c12.js +1 -0
- package/dist/tablefilter/tf-1-bc5a8b07e0d66035b05b.js +1 -0
- package/dist/tablefilter/{tf-2-3a936d22b849361acff5.js → tf-2-025e1e774794d5827df8.js} +2 -2
- package/dist/tablefilter.cjs.js +17614 -4
- package/dist/tablefilter.esm.js +15736 -5397
- package/dist/tablefilter.umd.js +17620 -4
- package/index.js +16 -1
- package/package.json +10 -1
- package/src/components/attributes.js +59 -0
- package/src/components/table-filter.js +193 -45
- package/src/components/tf-rows-counter.js +3 -6
- package/src/components/tf-status.js +6 -11
- package/src/extensions/sort/sort.js +8 -1
- package/src/tablefilter.js +39 -6
- package/.editorconfig +0 -15
- package/.esdoc.json +0 -14
- package/.eslintrc +0 -37
- package/.gitattributes +0 -16
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -36
- package/.github/ISSUE_TEMPLATE/support.md +0 -17
- package/.github/dependabot.yml +0 -10
- package/.github/workflows/build-deploy.yml +0 -141
- package/.github/workflows/opencode-review.yml +0 -104
- package/.github/workflows/opencode.yml +0 -34
- package/AGENTS.md +0 -36
- package/CONTRIBUTING.md +0 -128
- package/Gruntfile.js +0 -252
- package/PULL_REQUEST_TEMPLATE.md +0 -24
- package/ROADMAP/README.md +0 -34
- package/ROADMAP/content-projection-parity.md +0 -162
- package/ROADMAP/hybrid-migration-strategy.md +0 -275
- package/ROADMAP/key-decisions-review.md +0 -215
- package/ROADMAP/preliminary-and-milestone-0.8.0-plan.md +0 -307
- package/ROADMAP/v1-webcomponents-investigation.md +0 -521
- package/dist/tablefilter/tablefilter.vite.js +0 -4
- package/dist/tablefilter/tf-1-a5c3a73bd559e47dd5a2.js +0 -1
- package/playwright.config.js +0 -25
- package/scripts/check-css-tokens.js +0 -65
- package/static/demos-assets/img_best-price.png +0 -0
- package/static/demos-assets/img_great-deal.png +0 -0
- package/static/demos-assets/img_maintenance.jpg +0 -0
- package/static/demos-assets/img_new-edition.png +0 -0
- package/static/demos-assets/img_sold-out.png +0 -0
- package/static/partials/books-table-with-images.html +0 -328
- package/static/partials/books.html +0 -273
- package/static/partials/countries-by-continent.html +0 -2592
- package/static/partials/countries-table-tiny.html +0 -436
- package/static/partials/countries-table.html +0 -12954
- package/static/partials/dummy-table-with-totals-footer.html +0 -353
- package/static/partials/dummy-table.html +0 -503
- package/static/partials/pre-inline-script.html +0 -17
- package/static/partials/pre.html +0 -1
- package/static/partials/style.html +0 -23
- package/static/partials/table-with-grouped-headers.html +0 -9258
- package/static/partials/tablefilter-script.html +0 -1
- package/static/style/active-header.styl +0 -10
- package/static/style/alternating-rows.styl +0 -8
- package/static/style/config.styl +0 -44
- package/static/style/custom-properties.styl +0 -43
- package/static/style/extensions/colsVisibility.styl +0 -71
- package/static/style/extensions/filtersVisibility.styl +0 -18
- package/static/style/ezedittable.styl +0 -93
- package/static/style/filter-checklist.styl +0 -52
- package/static/style/filters.styl +0 -111
- package/static/style/grid-layout.styl +0 -130
- package/static/style/help.styl +0 -57
- package/static/style/keyword.styl +0 -8
- package/static/style/loader.styl +0 -16
- package/static/style/mixins/arrow.styl +0 -63
- package/static/style/mixins/box-shadow.styl +0 -8
- package/static/style/mixins/empty-content.styl +0 -7
- package/static/style/noresults.styl +0 -14
- package/static/style/paging.styl +0 -73
- package/static/style/reset-button.styl +0 -21
- package/static/style/rows-counter.styl +0 -17
- package/static/style/sort.styl +0 -20
- package/static/style/status-bar.styl +0 -13
- package/static/style/table.styl +0 -44
- package/static/style/tablefilter.styl +0 -19
- package/static/style/themes/blank.png +0 -0
- package/static/style/themes/btn_clear_filters.png +0 -0
- package/static/style/themes/btn_filter.png +0 -0
- package/static/style/themes/btn_first_page.gif +0 -0
- package/static/style/themes/btn_last_page.gif +0 -0
- package/static/style/themes/btn_next_page.gif +0 -0
- package/static/style/themes/btn_previous_page.gif +0 -0
- package/static/style/themes/default/default.styl +0 -137
- package/static/style/themes/default/images/bg_infDiv.jpg +0 -0
- package/static/style/themes/default/images/bg_th.jpg +0 -0
- package/static/style/themes/default/images/btn_eraser.gif +0 -0
- package/static/style/themes/default/images/btn_first_page.gif +0 -0
- package/static/style/themes/default/images/btn_last_page.gif +0 -0
- package/static/style/themes/default/images/btn_next_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_eraser.gif +0 -0
- package/static/style/themes/default/images/btn_over_first_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_last_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_next_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_previous_page.gif +0 -0
- package/static/style/themes/default/images/btn_previous_page.gif +0 -0
- package/static/style/themes/default/images/img_loading.gif +0 -0
- package/static/style/themes/downsimple.png +0 -0
- package/static/style/themes/icn_clp.png +0 -0
- package/static/style/themes/icn_exp.png +0 -0
- package/static/style/themes/icn_filter.gif +0 -0
- package/static/style/themes/icn_filterActive.gif +0 -0
- package/static/style/themes/mytheme/images/bg_headers.jpg +0 -0
- package/static/style/themes/mytheme/images/bg_infDiv.jpg +0 -0
- package/static/style/themes/mytheme/images/btn_filter.png +0 -0
- package/static/style/themes/mytheme/images/btn_first_page.gif +0 -0
- package/static/style/themes/mytheme/images/btn_last_page.gif +0 -0
- package/static/style/themes/mytheme/images/btn_next_page.gif +0 -0
- package/static/style/themes/mytheme/images/btn_previous_page.gif +0 -0
- package/static/style/themes/mytheme/images/img_loading.gif +0 -0
- package/static/style/themes/mytheme/mytheme.styl +0 -152
- package/static/style/themes/skyblue/images/bg_skyblue.gif +0 -0
- package/static/style/themes/skyblue/images/btn_first_page.gif +0 -0
- package/static/style/themes/skyblue/images/btn_last_page.gif +0 -0
- package/static/style/themes/skyblue/images/btn_next_page.gif +0 -0
- package/static/style/themes/skyblue/images/btn_prev_page.gif +0 -0
- package/static/style/themes/skyblue/images/icn_clear_filters.png +0 -0
- package/static/style/themes/skyblue/images/img_loading.gif +0 -0
- package/static/style/themes/skyblue/skyblue.styl +0 -195
- package/static/style/themes/transparent/images/btn_first_page.gif +0 -0
- package/static/style/themes/transparent/images/btn_last_page.gif +0 -0
- package/static/style/themes/transparent/images/btn_next_page.gif +0 -0
- package/static/style/themes/transparent/images/btn_prev_page.gif +0 -0
- package/static/style/themes/transparent/images/icn_clear_filters.png +0 -0
- package/static/style/themes/transparent/images/img_loading.gif +0 -0
- package/static/style/themes/transparent/transparent.styl +0 -205
- package/static/style/themes/upsimple.png +0 -0
- package/static/style/toolbar.styl +0 -58
- package/static/templates/advanced-grid-editable.html +0 -140
- package/static/templates/advanced-grid-selection.html +0 -93
- package/static/templates/auto-filter.html +0 -46
- package/static/templates/columns-visibility.html +0 -67
- package/static/templates/data-types.html +0 -123
- package/static/templates/demo.html +0 -62
- package/static/templates/external-filters-visibility-commad.html +0 -49
- package/static/templates/external-filters.html +0 -125
- package/static/templates/filter-images.html +0 -91
- package/static/templates/filters-visibility.html +0 -45
- package/static/templates/grid-layout.html +0 -51
- package/static/templates/grouped-headers.html +0 -78
- package/static/templates/linked-filters-disabled.html +0 -56
- package/static/templates/linked-filters.html +0 -45
- package/static/templates/load-filters-on-demand.html +0 -42
- package/static/templates/pagination.html +0 -78
- package/static/templates/requirejs.html +0 -53
- package/static/templates/starter.html +0 -61
- package/static/templates/table-filter.html +0 -40
- package/static/templates/theme-roller.html +0 -106
- package/test/libs/polyfill.js +0 -359
- package/test/libs/qunit/qunit.css +0 -237
- package/test/libs/qunit/qunit.js +0 -2495
- package/test/playwright/axe.baseline.spec.js +0 -34
- package/test/playwright/axe.statusbar.spec.js +0 -35
- package/test/playwright/axeScan.js +0 -42
- package/test/playwright/ce-bridge.spec.js +0 -167
- package/test/playwright/qunit.all.spec.js +0 -10
- package/test/playwright/qunit.single.spec.js +0 -14
- package/test/playwright/qunitSuite.js +0 -56
- package/test/playwright/table-filter.config.spec.js +0 -265
- package/test/playwright/table-filter.demo.spec.js +0 -60
- package/test/playwright/table-filter.element.spec.js +0 -477
- package/test/playwright/tf-clear-button.spec.js +0 -135
- package/test/playwright/tf-rows-counter.spec.js +0 -172
- package/test/playwright/tf-status.spec.js +0 -258
- package/test/test-active-columns.html +0 -80
- package/test/test-active-columns.js +0 -318
- package/test/test-alternate-rows.html +0 -80
- package/test/test-alternate-rows.js +0 -335
- package/test/test-api.html +0 -141
- package/test/test-api.js +0 -795
- package/test/test-auto-filter.html +0 -80
- package/test/test-auto-filter.js +0 -43
- package/test/test-callbacks.html +0 -78
- package/test/test-callbacks.js +0 -58
- package/test/test-case-sensitive-query.html +0 -78
- package/test/test-case-sensitive-query.js +0 -39
- package/test/test-cell-parser.html +0 -109
- package/test/test-cell-parser.js +0 -80
- package/test/test-checklist.html +0 -78
- package/test/test-checklist.js +0 -267
- package/test/test-clear-button.html +0 -79
- package/test/test-clear-button.js +0 -183
- package/test/test-col-ops-grid-layout.html +0 -129
- package/test/test-col-ops-grid-layout.js +0 -134
- package/test/test-col-ops-paging.html +0 -129
- package/test/test-col-ops-paging.js +0 -154
- package/test/test-col-ops.html +0 -129
- package/test/test-col-ops.js +0 -337
- package/test/test-col-widths.html +0 -80
- package/test/test-col-widths.js +0 -40
- package/test/test-cols-visibility-grid-layout.html +0 -80
- package/test/test-cols-visibility-grid-layout.js +0 -165
- package/test/test-cols-visibility.html +0 -80
- package/test/test-cols-visibility.js +0 -121
- package/test/test-custom-options.html +0 -80
- package/test/test-custom-options.js +0 -139
- package/test/test-data-types.html +0 -377
- package/test/test-data-types.js +0 -392
- package/test/test-date-type.html +0 -356
- package/test/test-date-type.js +0 -159
- package/test/test-disable-enter-key.html +0 -78
- package/test/test-disable-enter-key.js +0 -29
- package/test/test-disable-filter-onchange.html +0 -78
- package/test/test-disable-filter-onchange.js +0 -40
- package/test/test-dom-changes.html +0 -78
- package/test/test-dom-changes.js +0 -166
- package/test/test-dropdown.html +0 -78
- package/test/test-dropdown.js +0 -246
- package/test/test-emitter.html +0 -78
- package/test/test-emitter.js +0 -57
- package/test/test-empty-cells-filtering.html +0 -8696
- package/test/test-empty-cells-filtering.js +0 -45
- package/test/test-exact-query-match.html +0 -78
- package/test/test-exact-query-match.js +0 -56
- package/test/test-excluded-rows.html +0 -92
- package/test/test-excluded-rows.js +0 -129
- package/test/test-external-filters.html +0 -100
- package/test/test-external-filters.js +0 -219
- package/test/test-filter-html-elements.html +0 -88
- package/test/test-filter-html-elements.js +0 -63
- package/test/test-filter-operators.html +0 -80
- package/test/test-filter-operators.js +0 -264
- package/test/test-filtering.html +0 -53
- package/test/test-filtering.js +0 -293
- package/test/test-filters-visibility-grid-layout.html +0 -80
- package/test/test-filters-visibility-grid-layout.js +0 -50
- package/test/test-filters-visibility-with-button.html +0 -80
- package/test/test-filters-visibility-with-button.js +0 -48
- package/test/test-filters-visibility.html +0 -80
- package/test/test-filters-visibility.js +0 -48
- package/test/test-grid-layout.html +0 -7736
- package/test/test-grid-layout.js +0 -39
- package/test/test-grouped-headers.html +0 -154
- package/test/test-grouped-headers.js +0 -107
- package/test/test-hash.html +0 -78
- package/test/test-hash.js +0 -88
- package/test/test-help-responsive.html +0 -79
- package/test/test-help-responsive.js +0 -70
- package/test/test-help.html +0 -78
- package/test/test-help.js +0 -217
- package/test/test-highlight-keywords.html +0 -78
- package/test/test-highlight-keywords.js +0 -94
- package/test/test-ignore-diacritics.html +0 -67
- package/test/test-ignore-diacritics.js +0 -117
- package/test/test-integration-paging-sort.html +0 -80
- package/test/test-integration-paging-sort.js +0 -60
- package/test/test-linked-filters-disabled-options-grid-layout.html +0 -80
- package/test/test-linked-filters-disabled-options-grid-layout.js +0 -73
- package/test/test-linked-filters-grid-layout.html +0 -80
- package/test/test-linked-filters-grid-layout.js +0 -72
- package/test/test-linked-filters-load-filters-on-demand.html +0 -80
- package/test/test-linked-filters-load-filters-on-demand.js +0 -99
- package/test/test-linked-filters-paging.html +0 -80
- package/test/test-linked-filters-paging.js +0 -99
- package/test/test-linked-filters.html +0 -80
- package/test/test-linked-filters.js +0 -138
- package/test/test-load-filters-on-demand.html +0 -78
- package/test/test-load-filters-on-demand.js +0 -124
- package/test/test-loader.html +0 -79
- package/test/test-loader.js +0 -159
- package/test/test-no-config.html +0 -80
- package/test/test-no-config.js +0 -63
- package/test/test-no-filters.html +0 -80
- package/test/test-no-filters.js +0 -172
- package/test/test-no-headers.html +0 -71
- package/test/test-no-headers.js +0 -99
- package/test/test-no-results-message.html +0 -262
- package/test/test-no-results-message.js +0 -222
- package/test/test-no-rows.html +0 -19
- package/test/test-no-rows.js +0 -10
- package/test/test-one-row.html +0 -29
- package/test/test-one-row.js +0 -18
- package/test/test-paging.html +0 -78
- package/test/test-paging.js +0 -273
- package/test/test-popup-filter-one-row.html +0 -38
- package/test/test-popup-filter-one-row.js +0 -138
- package/test/test-popup-filter.html +0 -78
- package/test/test-popup-filter.js +0 -384
- package/test/test-popup-filters-grouped-headers.html +0 -104
- package/test/test-popup-filters-grouped-headers.js +0 -206
- package/test/test-rows-counter.html +0 -78
- package/test/test-rows-counter.js +0 -114
- package/test/test-single-filter.html +0 -79
- package/test/test-single-filter.js +0 -138
- package/test/test-sort-custom-sorter.html +0 -244
- package/test/test-sort-custom-sorter.js +0 -74
- package/test/test-sort-grid-layout.html +0 -143
- package/test/test-sort-grid-layout.js +0 -86
- package/test/test-sort-key.html +0 -244
- package/test/test-sort-key.js +0 -67
- package/test/test-sort.html +0 -143
- package/test/test-sort.js +0 -126
- package/test/test-state.html +0 -78
- package/test/test-state.js +0 -369
- package/test/test-status-bar.html +0 -79
- package/test/test-status-bar.js +0 -149
- package/test/test-storage-cookie.html +0 -78
- package/test/test-storage-cookie.js +0 -82
- package/test/test-storage-local.html +0 -78
- package/test/test-storage-local.js +0 -82
- package/test/test-tfoot.html +0 -96
- package/test/test-tfoot.js +0 -123
- package/test/test-thead.html +0 -80
- package/test/test-thead.js +0 -69
- package/test/test-toolbar.html +0 -81
- package/test/test-toolbar.js +0 -218
- package/test/test-uneven-rows.html +0 -95
- package/test/test-uneven-rows.js +0 -61
- package/test/test-watermark.html +0 -80
- package/test/test-watermark.js +0 -103
- package/test/test.html +0 -141
- package/test/test.js +0 -162
- package/vite.config.js +0 -71
- package/webpack.config.js +0 -99
- package/webpack.dev.config.js +0 -25
- package/webpack.test.config.js +0 -44
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{440:function(t,e,n){var r={"./array":20,"./array.js":20,"./components/table-filter":444,"./components/table-filter.js":444,"./components/tf-clear-button":445,"./components/tf-clear-button.js":445,"./components/tf-rows-counter":446,"./components/tf-rows-counter.js":446,"./components/tf-status":447,"./components/tf-status.js":447,"./const":4,"./const.js":4,"./cookie":60,"./cookie.js":60,"./dom":2,"./dom.js":2,"./emitter":89,"./emitter.js":89,"./event":5,"./event.js":5,"./extensions/advancedGrid/adapterEzEditTable":442,"./extensions/advancedGrid/adapterEzEditTable.js":442,"./extensions/advancedGrid/advancedGrid":448,"./extensions/advancedGrid/advancedGrid.js":448,"./extensions/colOps/colOps":449,"./extensions/colOps/colOps.js":449,"./extensions/colsVisibility/colsVisibility":450,"./extensions/colsVisibility/colsVisibility.js":450,"./extensions/filtersVisibility/filtersVisibility":451,"./extensions/filtersVisibility/filtersVisibility.js":451,"./extensions/sort/adapterSortabletable":443,"./extensions/sort/adapterSortabletable.js":443,"./extensions/sort/sort":452,"./extensions/sort/sort.js":452,"./feature":10,"./feature.js":10,"./modules/alternateRows":85,"./modules/alternateRows.js":85,"./modules/baseDropdown":48,"./modules/baseDropdown.js":48,"./modules/checkList":91,"./modules/checkList.js":91,"./modules/clearButton":84,"./modules/clearButton.js":84,"./modules/dateType":74,"./modules/dateType.js":74,"./modules/dropdown":90,"./modules/dropdown.js":90,"./modules/gridLayout":77,"./modules/gridLayout.js":77,"./modules/hash":92,"./modules/hash.js":92,"./modules/help":75,"./modules/help.js":75,"./modules/highlightKeywords":79,"./modules/highlightKeywords.js":79,"./modules/loader":78,"./modules/loader.js":78,"./modules/markActiveColumns":81,"./modules/markActiveColumns.js":81,"./modules/noResults":86,"./modules/noResults.js":86,"./modules/paging":87,"./modules/paging.js":87,"./modules/popupFilter":80,"./modules/popupFilter.js":80,"./modules/rowsCounter":82,"./modules/rowsCounter.js":82,"./modules/state":76,"./modules/state.js":76,"./modules/statusBar":83,"./modules/statusBar.js":83,"./modules/storage":93,"./modules/storage.js":93,"./modules/toolbar":18,"./modules/toolbar.js":18,"./number":22,"./number.js":22,"./root":9,"./root.js":9,"./sanitize":441,"./sanitize.js":441,"./settings":1,"./settings.js":1,"./sort":31,"./sort.js":31,"./string":8,"./string.js":8,"./tablefilter":127,"./tablefilter.js":127,"./types":3,"./types.js":3};function webpackContext(t){var e=webpackContextResolve(t);return n(e)}function webpackContextResolve(t){if(n.o(r,t))return r[t];var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}webpackContext.keys=function webpackContextKeys(){return Object.keys(r)},webpackContext.resolve=webpackContextResolve,(t.exports=webpackContext).id=440},441:function(t,e,n){"use strict";n.r(e),n.d(e,"sanitizeHtml",function(){return i});var r=n(453),o=n.n(r),i=function sanitizeHtml(t){return o.a.sanitize(null==t?"":String(t))}},442:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return r});var o=n(10),d=n(2),i=n(4),s=n(1),a=n(9);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(r){var o=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var r=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(AdapterEzEditTable,o["Feature"]);var r=_createSuper(AdapterEzEditTable);function AdapterEzEditTable(t,e){var n;return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,AdapterEzEditTable),(n=r.call(this,t,AdapterEzEditTable)).desc=Object(s.defaultsStr)(e.description,"ezEditTable adapter"),n.filename=Object(s.defaultsStr)(e.filename,"ezEditTable.js"),n.vendorPath=e.vendor_path,n.loadStylesheet=Boolean(e.load_stylesheet),n.stylesheet=Object(s.defaultsStr)(e.stylesheet,n.vendorPath+"ezEditTable.css"),n.stylesheetName=Object(s.defaultsStr)(e.stylesheet_name,"ezEditTableCss"),e.scroll_into_view=!1!==e.scroll_into_view&&t.gridLayout,n._ezEditTable=null,n.cfg=e,n.enable(),n}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(AdapterEzEditTable,[{key:"init",value:function init(){var t=this;if(!this.initialized){var e=this.tf;if(a.root.EditTable)this._setAdvancedGrid();else{var n=this.vendorPath+this.filename;e.import(this.filename,n,function(){return t._setAdvancedGrid()})}this.loadStylesheet&&!e.isImported(this.stylesheet,"link")&&e.import(this.stylesheetName,this.stylesheet,null,"link"),this.emitter.on(["filter-focus","filter-blur"],function(){return t._toggleForInputFilter()}),this.initialized=!0}}},{key:"_setAdvancedGrid",value:function _setAdvancedGrid(){var t,b=this.tf,e=this.cfg;t=0<Object(d.tag)(b.dom(),"thead").length&&!e.startRow?void 0:e.startRow||b.refRow,e.base_path=e.base_path||b.basePath+"ezEditTable/";var n=e.editable,r=e.selection;r&&(e.default_selection=e.default_selection||"row"),e.active_cell_css=e.active_cell_css||"ezETSelectedCell";var y=0,_=0;if(r){var o=function onAfterSelection(o,i,t){function Ca(t){if("row"===o.defaultSelection)s.SelectRowByIndex(t);else{o.ClearSelections();var e=i.cellIndex,n=b.dom().rows[t];"both"===o.defaultSelection&&s.SelectRowByIndex(t),n&&s.SelectCell(n.cells[e])}if(b.validRowsIndex.length!==b.getRowsNb()){var r=b.dom().rows[t];r&&r.scrollIntoView(!1),l&&(l.cellIndex===b.getCellsNb()-1&&b.gridLayout?b.tblCont.scrollLeft=1e8:0===l.cellIndex&&b.gridLayout?b.tblCont.scrollLeft=0:l.scrollIntoView(!1))}}var s=o.Selection;if(b.validRowsIndex){var e,n=b.validRowsIndex,r=n.length,a="row"!==o.defaultSelection?i.parentNode:i,l="TD"===i.nodeName?i:null,c=void 0!==t?o.Event.GetKey(t):0,u=-1!==n.indexOf(a.rowIndex),f=b.feature("paging"),d=34===c||33===c?f&&f.pageLength||o.nbRowsPerPage:1;if(u)34!==c&&33!==c?(y=n.indexOf(a.rowIndex),_=a.rowIndex):(e=34===c?y+d<=r-1?n[y+d]:[r-1]:y-d<=n[0]?n[0]:n[y-d],_=e,y=n.indexOf(e),Ca(e));else{if(a.rowIndex>_)if(a.rowIndex>=n[r-1])e=n[r-1];else{var p=y+d;e=r-1<p?n[r-1]:n[p]}else if(a.rowIndex<=n[0])e=n[0];else{var h=n[y-d];e=h||n[0]}_=a.rowIndex,Ca(e)}}},i=function onBeforeSelection(t,e){var n="row"!==t.defaultSelection?e.parentNode:e;if(b.paging&&1<b.feature("paging").nbPages){var r=b.feature("paging");t.nbRowsPerPage=r.pageLength;var o=b.validRowsIndex,i=o.length,s=parseInt(r.startPagingRow,10)+parseInt(r.pageLength,10),a=n.rowIndex;a===o[i-1]&&r.currentPageNb!==r.nbPages?r.setPage("last"):a===o[0]&&1!==r.currentPageNb?r.setPage("first"):a>o[s-1]&&a<o[i-1]?r.setPage("next"):a<o[r.startPagingRow]&&a>o[0]&&r.setPage("previous")}};if(b.paging&&(b.feature("paging").onAfterChangePage=function(t){var e=t.tf.extension("advancedGrid")._ezEditTable.Selection,n=e.GetActiveRow();n&&n.scrollIntoView(!1);var r=e.GetActiveCell();r&&r.scrollIntoView(!1)}),"row"===e.default_selection){var s=e.on_before_selected_row;e.on_before_selected_row=function(){var t=arguments;i(t[0],t[1]),s&&s.call(null,t[0],t[1],t[2])};var a=e.on_after_selected_row;e.on_after_selected_row=function(){var t=arguments;o(t[0],t[1],t[2]),a&&a.call(null,t[0],t[1],t[2])}}else{var l=e.on_before_selected_cell;e.on_before_selected_cell=function(){var t=arguments;i(t[0],t[1]),l&&l.call(null,t[0],t[1],t[2])};var c=e.on_after_selected_cell;e.on_after_selected_cell=function(){var t=arguments;o(t[0],t[1],t[2]),c&&c.call(null,t[0],t[1],t[2])}}}if(n){var u=e.on_added_dom_row;if(e.on_added_dom_row=function(){var t=arguments;b.nbFilterableRows++,b.paging?(b.nbFilterableRows++,b.paging=!1,b.feature("paging").destroy(),b.feature("paging").reset()):b.emitter.emit("rows-changed",b,this),b.alternateRows&&b.feature("alternateRows").init(),u&&u.call(null,t[0],t[1],t[2])},e.actions&&e.actions.delete){var f=e.actions.delete.on_after_submit;e.actions.delete.on_after_submit=function(){var t=arguments;b.nbFilterableRows--,b.paging?(b.nbFilterableRows--,b.paging=!1,b.feature("paging").destroy(),b.feature("paging").reset(!1)):b.emitter.emit("rows-changed",b,this),b.alternateRows&&b.feature("alternateRows").init(),f&&f.call(null,t[0],t[1])}}}try{this._ezEditTable=new EditTable(b.id,e,t),this._ezEditTable.Init()}catch(t){throw new Error('Failed to instantiate EditTable object.\n \n"ezEditTable" dependency not found.')}this.initialized=!0}},{key:"reset",value:function reset(){var t=this._ezEditTable;t&&(this.cfg.selection&&t.Selection.Set(),this.cfg.editable&&t.Editable.Set())}},{key:"toggle",value:function toggle(){var t=this._ezEditTable;t.editable?t.Editable.Remove():t.Editable.Set(),t.selection?t.Selection.Remove():t.Selection.Set()}},{key:"_toggleForInputFilter",value:function _toggleForInputFilter(){var t=this.tf;if(t.getActiveFilterId()){var e=t.getColumnIndexFromFilterId(t.getActiveFilterId());t.getFilterType(e)===i.INPUT&&this.toggle()}}},{key:"destroy",value:function destroy(){var t=this;if(this.initialized){var e=this._ezEditTable;e&&(this.cfg.selection&&(e.Selection.ClearSelections(),e.Selection.Remove()),this.cfg.editable&&e.Editable.Remove()),this.emitter.off(["filter-focus","filter-blur"],function(){return t._toggleForInputFilter()}),this.initialized=!1}}}]),AdapterEzEditTable}();r.meta={altName:"advancedGrid"}},443:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return r});var o=n(10),a=n(3),c=n(2),u=n(5),i=n(22),f=n(4),s=n(1);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(r){var o=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var r=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(AdapterSortableTable,o["Feature"]);var r=_createSuper(AdapterSortableTable);function AdapterSortableTable(t,e){var n;return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,AdapterSortableTable),(n=r.call(this,t,AdapterSortableTable)).name=e.name,n.desc=Object(s.defaultsStr)(e.description,"Sortable table"),n.sorted=!1,n.sortTypes=Object(s.defaultsArr)(e.types,t.colTypes),n.sortColAtStart=Object(s.defaultsArr)(e.sort_col_at_start,null),n.asyncSort=Boolean(e.async_sort),n.triggerIds=Object(s.defaultsArr)(e.trigger_ids,[]),n.imgPath=Object(s.defaultsStr)(e.images_path,t.themesPath),n.imgBlank=Object(s.defaultsStr)(e.image_blank,"blank.png"),n.imgClassName=Object(s.defaultsStr)(e.image_class_name,"sort-arrow"),n.imgAscClassName=Object(s.defaultsStr)(e.image_asc_class_name,"ascending"),n.imgDescClassName=Object(s.defaultsStr)(e.image_desc_class_name,"descending"),n.customKey=Object(s.defaultsStr)(e.custom_key,"data-tf-sortKey"),n.onSortLoaded=Object(s.defaultsFn)(e.on_sort_loaded,a.EMPTY_FN),n.onBeforeSort=Object(s.defaultsFn)(e.on_before_sort,a.EMPTY_FN),n.onAfterSort=Object(s.defaultsFn)(e.on_after_sort,a.EMPTY_FN),n.stt=null,n.enable(),n}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(AdapterSortableTable,[{key:"init",value:function init(){if(!this.initialized){var e=this.tf,n=this;if(Object(a.isUndef)(SortableTable))throw new Error("SortableTable class not found.");this.emitter.emit("add-date-type-formats",this.tf,this.sortTypes),this.overrideSortableTable(),this.setSortTypes(),this.onSortLoaded(e,this),this.stt.onbeforesort=function(){n.onBeforeSort(e,n.stt.sortColumn),e.paging&&e.feature("paging").disable()},this.stt.onsort=function(){if(n.sorted=!0,e.paging){var t=e.feature("paging");e.getValidRows(!0),t.enable(),t.setPage(t.getPage())}n.onAfterSort(e,n.stt.sortColumn,n.stt.descending),n.emitter.emit("column-sorted",e,n.stt.sortColumn,n.stt.descending)};var t=n.sortColAtStart;t&&this.stt.sort(t[0],t[1]),this.emitter.on(["sort"],Object(u.bound)(this.sortByColumnIndexHandler,this)),this.initialized=!0,this.emitter.emit("sort-initialized",e,this)}}},{key:"sortByColumnIndex",value:function sortByColumnIndex(t,e){this.stt.sort(t,e)}},{key:"sortByColumnIndexHandler",value:function sortByColumnIndexHandler(t,e,n){this.sortByColumnIndex(e,n)}},{key:"overrideSortableTable",value:function overrideSortableTable(){var l=this,a=this.tf;SortableTable.prototype.headerOnclick=function(t){if(l.initialized){for(var e=t.target||t.srcElement;e.tagName!==f.CELL_TAG&&e.tagName!==f.HEADER_TAG;)e=e.parentNode;this.sort(SortableTable.msie?SortableTable.getCellIndex(e):e.cellIndex)}},SortableTable.getCellIndex=function(t){var e,n=t.parentNode.cells,r=n.length;for(e=0;n[e]!==t&&e<r;e++);return e},SortableTable.prototype.initHeader=function(t){var e=this;if(!e.tHead){if(!a.gridLayout)return;e.tHead=a.feature("gridLayout").headTbl.tHead}e.headersRow=a.headersRow;var n=e.tHead.rows[e.headersRow].cells;e.sortTypes=t||[];for(var r,o,i=n.length,s=0;s<i;s++)o=n[s],null!==e.sortTypes[s]&&"None"!==e.sortTypes[s]?(o.style.cursor="pointer",r=Object(c.createElm)("img",["src",l.imgPath+l.imgBlank]),o.appendChild(r),null!==e.sortTypes[s]&&o.setAttribute("_sortType",e.sortTypes[s]),Object(u.addEvt)(o,"click",e._headerOnclick)):(o.setAttribute("_sortType",t[s]),o._sortType="None");e.updateHeaderArrows()},SortableTable.prototype.updateHeaderArrows=function(){var t,e,n;if(l.asyncSort&&0<l.triggerIds.length){var r=l.triggerIds;t=[],e=r.length;for(var o=0;o<e;o++)t.push(Object(c.elm)(r[o]))}else{if(!this.tHead)return;e=(t=this.tHead.rows[this.headersRow].cells).length}for(var i=0;i<e;i++){var s=t[i];if(s){var a=s.getAttribute("_sortType");null!==a&&"None"!==a&&("img"!==(n=s.lastChild||s).nodeName.toLowerCase()&&(n=Object(c.createElm)("img",["src",l.imgPath+l.imgBlank]),s.appendChild(n)),i===this.sortColumn?n.className=l.imgClassName+" "+(this.descending?l.imgDescClassName:l.imgAscClassName):n.className=l.imgClassName)}}},SortableTable.prototype.getRowValue=function(t,e,n){var r=this._sortTypeInfo[e];if(r&&r.getRowValue)return r.getRowValue(t,n);var o=t.cells[n],i=SortableTable.getInnerText(o);return this.getValueFromString(i,e)},SortableTable.getInnerText=function(t){if(t)return t.getAttribute(l.customKey)?t.getAttribute(l.customKey):a.getCellValue(t)}}},{key:"addSortType",value:function addSortType(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],o=e[1],i=e[2],s=e[3];SortableTable.prototype.addSortType(r,o,i,s)}},{key:"setSortTypes",value:function setSortTypes(){var r=this,o=this.tf,i=this.sortTypes,s=[];o.eachCol(function(t){var e;if(i[t])if(e=i[t],Object(a.isObj)(e)){if(e.type===f.DATE)e=r._addDateType(t,i);else if(e.type===f.FORMATTED_NUMBER){var n=e.decimal||o.decimalSeparator;e=r._addNumberType(t,n)}}else(e=e.toLowerCase())===f.DATE?e=r._addDateType(t,i):e===f.FORMATTED_NUMBER||e===f.NUMBER?e=r._addNumberType(t,o.decimalSeparator):e===f.NONE&&(e="None");else e=f.STRING;s.push(e)}),this.addSortType("caseinsensitivestring",SortableTable.toUpperCase),this.addSortType(f.STRING),this.addSortType(f.IP_ADDRESS,ipAddress,sortIP),this.stt=new SortableTable(o.dom(),s),this.asyncSort&&0<this.triggerIds.length&&function(){for(var n=r.triggerIds,t=0;t<n.length;t++)if(null!==n[t]){var e=Object(c.elm)(n[t]);e&&(e.style.cursor="pointer",Object(u.addEvt)(e,"click",function(t){var e=t.target;r.tf.sort&&r.stt.asyncSort(n.indexOf(e.id))}),e.setAttribute("_sortType",s[t]))}}()}},{key:"_addDateType",value:function _addDateType(t,e){var n=this.tf,r=n.feature("dateType"),o=r.getOptions(t,e).locale||n.locale,i="".concat(f.DATE,"-").concat(o);return this.addSortType(i,function(t){var e=r.parse(t,o);return isNaN(+e)?new Date(-864e11):e}),i}},{key:"_addNumberType",value:function _addNumberType(t,e){var n="".concat(f.FORMATTED_NUMBER).concat("."===e?"":"-custom");return this.addSortType(n,function(t){return Object(i.parse)(t,e)}),n}},{key:"destroy",value:function destroy(){if(this.initialized){var t=this.tf;this.emitter.off(["sort"],Object(u.bound)(this.sortByColumnIndexHandler,this)),this.sorted=!1,this.stt.destroy();for(var e=t.getFiltersId(),n=0;n<e.length;n++){var r=t.getHeaderElement(n),o=Object(c.tag)(r,"img");1===o.length&&r.removeChild(o[0])}this.initialized=!1}}}]),AdapterSortableTable}();function ipAddress(t){var e=t.split(".");for(var n in e){for(var r=e[n];r.length<3;)r="0"+r;e[n]=r}return e.join(".")}function sortIP(t,e){var n=ipAddress(t.value.toLowerCase()),r=ipAddress(e.value.toLowerCase());return n===r?0:n<r?-1:1}r.meta={altName:"sort"}},444:function(t,e,n){"use strict";n.r(e),n.d(e,"TableFilterElement",function(){return o});var r=n(127);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _createSuper(r){var o=_isNativeReflectConstruct();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,Wrapper)}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t)})(t)}function _construct(t,e,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&_setPrototypeOf(o,n.prototype),o}).apply(null,arguments)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var s=["before-filter-init","after-filter-init","initialized","filters-row-inserted","filter-focus","filter-blur","before-filtering","after-filtering","before-clearing-filters","after-clearing-filters","destroy"],o=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(TableFilterElement,_wrapNativeSuper(HTMLElement));var t=_createSuper(TableFilterElement);function TableFilterElement(){return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,TableFilterElement),t.apply(this,arguments)}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(TableFilterElement,[{key:"connectedCallback",value:function connectedCallback(){if(this.table=this.querySelector("table")||(this.hasAttribute("for")?document.getElementById(this.getAttribute("for")):null),this.table)if(0!==this.table.rows.length){var t=this._extractConfig();this.tf=0===Object.keys(t).length?new r.TableFilter(this.table):new r.TableFilter(this.table,t),this._bridgeEvents(),this.tf.init()}else this.tf=null;else this.tf=null}},{key:"disconnectedCallback",value:function disconnectedCallback(){this.tf&&this.tf.isInitialized()&&this.tf.destroy(),this._unbridgeEvents(),this.tf=null}},{key:"_bridgeEvents",value:function _bridgeEvents(){var o=this;this._unbridgeEvents();var i=this.tf;this._bridged={},this._bridgedTf=i,s.forEach(function(r){function Oe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];o.dispatchEvent(new CustomEvent(r,{detail:{tf:i,args:e.slice(1)},bubbles:!0}))}i.emitter.on([r],Oe),o._bridged[r]=Oe})}},{key:"_unbridgeEvents",value:function _unbridgeEvents(){var e=this,n=this._bridgedTf;n&&this._bridged&&(Object.keys(this._bridged).forEach(function(t){n.emitter.off([t],e._bridged[t])}),this._bridged=null,this._bridgedTf=null)}},{key:"_extractConfig",value:function _extractConfig(){var e={},n=["for","id","config","class","style","slot","hidden","title","lang","dir","role","tabindex"],r=["__proto__","constructor","prototype"],o=this.getAttribute("config");if(null!==o)try{var t=JSON.parse(o);null===t||"object"!==_typeof(t)||Array.isArray(t)?console.warn("<table-filter>: config attribute must be a JSON object, ignoring: "+o):e=t}catch(t){console.warn("<table-filter>: invalid config attribute, ignoring: "+o)}return Array.prototype.forEach.call(this.attributes,function(t){!function isSkipped(t){return-1!==n.indexOf(t)||0===t.indexOf("data-")||0===t.indexOf("aria-")||-1!==r.indexOf(t)}(t.name)&&(e[t.name.replace(/-/g,"_")]=function parseValue(e){if(""===e)return!0;try{return JSON.parse(e)}catch(t){return!!/^true$/i.test(e)||!/^false$/i.test(e)&&e}}(t.value))}),e}}]),TableFilterElement}();"undefined"==typeof customElements||customElements.get("table-filter")||customElements.define("table-filter",o)},445:function(t,e,n){"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _createSuper(r){var o=_isNativeReflectConstruct();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,Wrapper)}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t)})(t)}function _construct(t,e,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&_setPrototypeOf(o,n.prototype),o}).apply(null,arguments)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.r(e),n.d(e,"TfClearButtonElement",function(){return o});var r=document.createElement("template");r.innerHTML='\n <button type="button" part="button">\n <slot></slot>\n </button>\n';var o=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(TfClearButtonElement,_wrapNativeSuper(HTMLElement));var e=_createSuper(TfClearButtonElement);function TfClearButtonElement(){var t;return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,TfClearButtonElement),(t=e.call(this)).attachShadow({mode:"open"}),t.shadowRoot.appendChild(r.content.cloneNode(!0)),t._button=t.shadowRoot.querySelector("button"),t}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(TfClearButtonElement,[{key:"connectedCallback",value:function connectedCallback(){this._update()}},{key:"attributeChangedCallback",value:function attributeChangedCallback(){this._update()}},{key:"setLabel",value:function setLabel(t){this.setAttribute("label",null==t?"":String(t))}},{key:"setText",value:function setText(t){this.setAttribute("text",null==t?"":String(t))}},{key:"_update",value:function _update(){if(this._button){var t=this.getAttribute("label");t?this._button.setAttribute("aria-label",t):this._button.removeAttribute("aria-label");var e=this.getAttribute("text");this._button.textContent=e||"",this.hasAttribute("disabled")?this._button.setAttribute("disabled",""):this._button.removeAttribute("disabled")}}}],[{key:"observedAttributes",get:function get(){return["label","text","disabled"]}}]),TfClearButtonElement}();"undefined"==typeof customElements||customElements.get("tf-clear-button")||customElements.define("tf-clear-button",o)},446:function(t,e,n){"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _createSuper(r){var o=_isNativeReflectConstruct();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,Wrapper)}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t)})(t)}function _construct(t,e,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&_setPrototypeOf(o,n.prototype),o}).apply(null,arguments)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.r(e),n.d(e,"TfRowsCounterElement",function(){return o});var r=document.createElement("template");r.innerHTML='\n <span part="label"></span>\n <span part="count"></span>\n';var o=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(TfRowsCounterElement,_wrapNativeSuper(HTMLElement));var e=_createSuper(TfRowsCounterElement);function TfRowsCounterElement(){var t;return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,TfRowsCounterElement),(t=e.call(this)).attachShadow({mode:"open"}),t.shadowRoot.appendChild(r.content.cloneNode(!0)),t._labelEl=t.shadowRoot.querySelector('[part="label"]'),t._countEl=t.shadowRoot.querySelector('[part="count"]'),t}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(TfRowsCounterElement,[{key:"connectedCallback",value:function connectedCallback(){this.setAttribute("role","status"),this.setAttribute("aria-live","polite"),this.setAttribute("aria-atomic","true"),this._update()}},{key:"attributeChangedCallback",value:function attributeChangedCallback(){this._update()}},{key:"setCount",value:function setCount(t){this.setAttribute("count",null==t?"":String(t))}},{key:"_update",value:function _update(){this._labelEl&&(this._labelEl.textContent=this.getAttribute("text")||""),this._countEl&&(this._countEl.textContent=this.getAttribute("count")||"")}}],[{key:"observedAttributes",get:function get(){return["text","count"]}}]),TfRowsCounterElement}();"undefined"==typeof customElements||customElements.get("tf-rows-counter")||customElements.define("tf-rows-counter",o)},447:function(t,e,n){"use strict";n.r(e),n.d(e,"TfStatusElement",function(){return i});var r=n(441);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _createSuper(r){var o=_isNativeReflectConstruct();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,Wrapper)}function Wrapper(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,t)})(t)}function _construct(t,e,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&_setPrototypeOf(o,n.prototype),o}).apply(null,arguments)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var o=document.createElement("template");o.innerHTML='\n <span part="label"></span>\n <span part="message"></span>\n';var i=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(TfStatusElement,_wrapNativeSuper(HTMLElement));var e=_createSuper(TfStatusElement);function TfStatusElement(){var t;return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,TfStatusElement),(t=e.call(this)).attachShadow({mode:"open"}),t.shadowRoot.appendChild(o.content.cloneNode(!0)),t._labelEl=t.shadowRoot.querySelector('[part="label"]'),t._msgEl=t.shadowRoot.querySelector('[part="message"]'),t}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(TfStatusElement,[{key:"connectedCallback",value:function connectedCallback(){this.setAttribute("role","status"),this.setAttribute("aria-live","polite"),this.setAttribute("aria-atomic","true"),this._update()}},{key:"attributeChangedCallback",value:function attributeChangedCallback(){this._update()}},{key:"setMessage",value:function setMessage(t){this.setAttribute("message",null==t?"":String(t))}},{key:"_update",value:function _update(){this._labelEl&&(this._labelEl.textContent=this.getAttribute("text")||""),this._msgEl&&(this._msgEl.innerHTML=Object(r.sanitizeHtml)(this.getAttribute("message")||""))}}],[{key:"observedAttributes",get:function get(){return["text","message"]}}]),TfStatusElement}();"undefined"==typeof customElements||customElements.get("tf-status")||customElements.define("tf-status",i)},448:function(t,e,n){"use strict";n.r(e);var r=n(442);e.default=r.default},449:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return r});var o=n(10),p=n(2),C=n(3),s=n(31),i=n(4),h=n(22),a=n(1),l=n(5);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(r){var o=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var c=["after-filtering","after-page-change","after-page-length-change"],r=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(ColOps,o["Feature"]);var r=_createSuper(ColOps);function ColOps(t,e){var n;return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,ColOps),(n=r.call(this,t,ColOps)).onBeforeOperation=Object(a.defaultsFn)(e.on_before_operation,C.EMPTY_FN),n.onAfterOperation=Object(a.defaultsFn)(e.on_after_operation,C.EMPTY_FN),n.opts=e,n.labelIds=Object(a.defaultsArr)(e.id,[]),n.colIndexes=Object(a.defaultsArr)(e.col,[]),n.operations=Object(a.defaultsArr)(e.operation,[]),n.outputTypes=Object(a.defaultsArr)(e.write_method,[]),n.formatResults=Object(a.defaultsArr)(e.format_result,[]),n.totRowIndexes=Object(a.defaultsArr)(e.tot_row_index,[]),n.excludeRows=Object(a.defaultsArr)(e.exclude_row,[]),n.decimalPrecisions=Object(a.defaultsArr)(e.decimal_precision,2),n.enable(),n}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(ColOps,[{key:"init",value:function init(){this.initialized||(this.emitter.on(c,Object(l.bound)(this.calcAll,this)),this.calcAll(),this.initialized=!0)}},{key:"calcAll",value:function calcAll(){var t=this.tf;if(t.isInitialized()){this.onBeforeOperation(t,this),this.emitter.emit("before-column-operation",t,this);var e=this.colIndexes,n=this.operations,r=this.outputTypes,o=this.totRowIndexes,i=this.excludeRows,s=this.formatResults,a=this.decimalPrecisions,l=[];e.forEach(function(t){-1===l.indexOf(t)&&l.push(t)});for(var c=l.length,u=t.dom().rows,f=[],d=0;d<c;d++){f.push(t.getVisibleColumnData(l[d],!1,i));for(var p=f[d],h=0,b=[],y=[],_=[],m=void 0,g=[],v=0,T=0;T<e.length;T++)e[T]===l[d]&&(b[v]=(n[T]||"sum").toLowerCase(),y[v]=a[T],_[v]=this.labelIds[T],m=Object(C.isArray)(r)?r[T]:null,g[v]=this.configureFormat(l[d],s[T]),v++);for(var O=0;O<v;O++)this.emitter.emit("before-column-calc",t,this,l[d],p,b[O],y[O]),h=Number(this.calc(p,b[O],null)),this.emitter.emit("column-calc",t,this,l[d],h,b[O],y[O]),this.writeResult(h,_[O],m,y[O],g[O]);var S=o&&o[d]?u[o[d]]:null;S&&(S.style.display="")}this.onAfterOperation(t,this),this.emitter.emit("after-column-operation",t,this)}}},{key:"columnCalc",value:function columnCalc(t,e,n){var r=1<arguments.length&&void 0!==e?e:"sum",o=2<arguments.length?n:void 0,i=this.excludeRows||[],s=tf.getVisibleColumnData(t,!1,i);return Number(this.calc(s,r,o))}},{key:"calc",value:function calc(t,e,n){var r=1<arguments.length&&void 0!==e?e:"sum",o=2<arguments.length?n:void 0,i=0;switch("q1"!==r&&"q3"!==r&&"median"!==r||(t=this.sortColumnValues(t,s.numSortAsc)),r){case"mean":i=this.calcMean(t);break;case"sum":i=this.calcSum(t);break;case"min":i=this.calcMin(t);break;case"max":i=this.calcMax(t);break;case"median":i=this.calcMedian(t);break;case"q1":i=this.calcQ1(t);break;case"q3":i=this.calcQ3(t)}return Object(C.isEmpty)(o)?i:i.toFixed(o)}},{key:"calcSum",value:function calcSum(t){var e=0<arguments.length&&void 0!==t?t:[];return Object(C.isEmpty)(e)?0:e.reduce(function(t,e){return Number(t)+Number(e)})}},{key:"calcMean",value:function calcMean(t){var e=0<arguments.length&&void 0!==t?t:[],n=this.calcSum(e)/e.length;return Number(n)}},{key:"calcMax",value:function calcMax(t){var e=0<arguments.length&&void 0!==t?t:[];return Math.max.apply(null,e)}},{key:"calcMin",value:function calcMin(t){var e=0<arguments.length&&void 0!==t?t:[];return Math.min.apply(null,e)}},{key:"calcMedian",value:function calcMedian(t){var e=0<arguments.length&&void 0!==t?t:[],n=e.length,r=0;return n%2==1?(r=Math.floor(n/2),Number(e[r])):(Number(e[n/2])+Number(e[n/2-1]))/2}},{key:"calcQ1",value:function calcQ1(t){var e,n=0<arguments.length&&void 0!==t?t:[],r=n.length;return 4*(e=Math.floor(r/4))===r?(Number(n[e-1])+Number(n[e]))/2:Number(n[e])}},{key:"calcQ3",value:function calcQ3(t){var e,n=0<arguments.length&&void 0!==t?t:[],r=n.length,o=0;return 4*(e=Math.floor(r/4))===r?(o=3*e,(Number(n[o])+Number(n[o-1]))/2):Number(n[r-e-1])}},{key:"sortColumnValues",value:function sortColumnValues(t,e){var n=1<arguments.length?e:void 0;return(0<arguments.length&&void 0!==t?t:[]).sort(n)}},{key:"writeResult",value:function writeResult(t,e,n,r,o){var i=0<arguments.length&&void 0!==t?t:0,s=1<arguments.length?e:void 0,a=2<arguments.length&&void 0!==n?n:"innerhtml",l=3<arguments.length&&void 0!==r?r:2,c=4<arguments.length&&void 0!==o?o:{},u=Object(p.elm)(s);if(u)switch(i=Object(h.formatNumberValue)(i.toFixed(l),c),a.toLowerCase()){case"innerhtml":u.innerHTML=i;break;case"setvalue":u.value=i;break;case"createtextnode":var f=u.firstChild,d=Object(p.createText)(i);u.replaceChild(d,f)}}},{key:"configureFormat",value:function configureFormat(t,e){var n=1<arguments.length&&void 0!==e?e:{},r=this.tf;if(r.hasType(t,[i.FORMATTED_NUMBER])){var o=r.colTypes[t];o.decimal&&!n.decimal&&(n.decimal=o.decimal),o.thousands&&!n.integerSeparator&&(n.integerSeparator=o.thousands)}else n.decimal=n.decimal||"",n.integerSeparator=n.integerSeparator||"";return n}},{key:"destroy",value:function destroy(){this.initialized&&(this.emitter.off(c,Object(l.bound)(this.calcAll,this)),this.initialized=!1)}}]),ColOps}()},450:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return o});var r=n(10),b=n(2),i=n(3),y=n(5),s=n(9),a=n(4),l=n(1),c=n(18);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(r){var o=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var o=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(ColsVisibility,r["Feature"]);var o=_createSuper(ColsVisibility);function ColsVisibility(t,e){var n;!function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,ColsVisibility);var r=(n=o.call(this,t,ColsVisibility)).config;return n.name=e.name,n.desc=Object(l.defaultsStr)(e.description,"Columns visibility manager"),n.spanEl=null,n.btnEl=null,n.contEl=null,n.tickToHide=Object(l.defaultsBool)(e.tick_to_hide,!0),n.manager=Object(l.defaultsBool)(e.manager,!0),n.headersTbl=e.headers_table||null,n.headersIndex=Object(l.defaultsNb)(e.headers_index,1),n.contElTgtId=Object(l.defaultsStr)(e.container_target_id,null),n.headersText=Object(l.defaultsArr)(e.headers_text,[]),n.btnTgtId=Object(l.defaultsStr)(e.btn_target_id,null),n.btnText=Object(l.defaultsStr)(e.btn_text,"Columns▼"),n.btnHtml=Object(l.defaultsStr)(e.btn_html,null),n.btnCssClass=Object(l.defaultsStr)(e.btn_css_class,"colVis"),n.btnCloseText=Object(l.defaultsStr)(e.btn_close_text,"Close"),n.btnCloseHtml=Object(l.defaultsStr)(e.btn_close_html,null),n.btnCloseCssClass=Object(l.defaultsStr)(e.btn_close_css_class,n.btnCssClass),n.stylesheet=Object(l.defaultsStr)(e.stylesheet,"colsVisibility.css"),n.spanCssClass=Object(l.defaultsStr)(e.span_css_class,"colVisSpan"),n.contCssClass=Object(l.defaultsStr)(e.cont_css_class,"colVisCont"),n.listCssClass=Object(l.defaultsStr)(r.list_css_class,"cols_checklist"),n.listItemCssClass=Object(l.defaultsStr)(r.checklist_item_css_class,"cols_checklist_item"),n.listSlcItemCssClass=Object(l.defaultsStr)(r.checklist_selected_item_css_class,"cols_checklist_slc_item"),n.text=Object(l.defaultsStr)(e.text,n.tickToHide?"Hide: ":"Show: "),n.atStart=Object(l.defaultsArr)(e.at_start,[]),n.enableHover=Boolean(e.enable_hover),n.enableTickAll=Boolean(e.enable_tick_all),n.tickAllText=Object(l.defaultsStr)(e.tick_all_text,"Select all:"),n.toolbarPosition=Object(l.defaultsStr)(e.toolbar_position,c.RIGHT),n.hiddenCols=[],n.boundMouseup=null,n.onLoaded=Object(l.defaultsFn)(e.on_loaded,i.EMPTY_FN),n.onBeforeOpen=Object(l.defaultsFn)(e.on_before_open,i.EMPTY_FN),n.onAfterOpen=Object(l.defaultsFn)(e.on_after_open,i.EMPTY_FN),n.onBeforeClose=Object(l.defaultsFn)(e.on_before_close,i.EMPTY_FN),n.onAfterClose=Object(l.defaultsFn)(e.on_after_close,i.EMPTY_FN),n.onBeforeColHidden=Object(l.defaultsFn)(e.on_before_col_hidden,i.EMPTY_FN),n.onAfterColHidden=Object(l.defaultsFn)(e.on_after_col_hidden,i.EMPTY_FN),n.onBeforeColDisplayed=Object(l.defaultsFn)(e.on_before_col_displayed,i.EMPTY_FN),n.onAfterColDisplayed=Object(l.defaultsFn)(e.on_after_col_displayed,i.EMPTY_FN),t.gridLayout&&(n.headersTbl=t.feature("gridLayout").headTbl,n.headersIndex=0),t.import(e.name+"Style",t.getStylePath()+n.stylesheet,null,"link"),n.enable(),n}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(ColsVisibility,[{key:"onMouseup",value:function onMouseup(t){for(var e=Object(y.targetEvt)(t);e&&e!==this.contEl&&e!==this.btnEl;)e=e.parentNode;e!==this.contEl&&e!==this.btnEl&&this.toggle()}},{key:"toggle",value:function toggle(){Object(y.removeEvt)(s.root,"mouseup",this.boundMouseup);var t=this.contEl.style.display;"inline"!==t&&this.onBeforeOpen(this),"inline"===t&&this.onBeforeClose(this),this.contEl.style.display="inline"===t?a.NONE:"inline","inline"!==t&&(this.onAfterOpen(this),Object(y.addEvt)(s.root,"mouseup",this.boundMouseup)),"inline"===t&&this.onAfterClose(this)}},{key:"checkItem",value:function checkItem(t){var e=t.parentNode;if(e&&t){var n=t.firstChild.checked,r=t.firstChild.getAttribute("id").split("_")[1];r=parseInt(r,10),n?Object(b.addClass)(e,this.listSlcItemCssClass):Object(b.removeClass)(e,this.listSlcItemCssClass);var o=!1;(this.tickToHide&&n||!this.tickToHide&&!n)&&(o=!0),this.setHidden(r,o)}}},{key:"init",value:function init(){var n=this;!this.initialized&&this.manager&&(this.emitter.emit("initializing-extension",this,!Object(i.isNull)(this.btnTgtId)),this.emitter.on(["hide-column"],function(t,e){return n.hideCol(e)}),this.buildBtn(),this.buildManager(),this.initialized=!0,this.boundMouseup=this.onMouseup.bind(this),this.emitter.emit("columns-visibility-initialized",this.tf,this),this.emitter.emit("extension-initialized",this),this._hideAtStart())}},{key:"buildBtn",value:function buildBtn(){var e=this;if(!this.btnEl){var t=this.tf,n=Object(b.createElm)("span");n.className=this.spanCssClass;var r=this.btnTgtId?Object(b.elm)(this.btnTgtId):t.feature("toolbar").container(this.toolbarPosition);if(this.btnTgtId)r.appendChild(n);else{var o=r.firstChild;o.parentNode.insertBefore(n,o)}if(this.btnHtml){n.innerHTML=this.btnHtml;var i=n.firstChild;this.enableHover?Object(y.addEvt)(i,"mouseover",function(t){return e.toggle(t)}):Object(y.addEvt)(i,"click",function(t){return e.toggle(t)})}else{var s=Object(b.createElm)("a",["href","javascript:;"]);s.className=this.btnCssClass,s.title=this.desc,s.innerHTML=this.btnText,n.appendChild(s),this.enableHover?Object(y.addEvt)(s,"mouseover",function(t){return e.toggle(t)}):Object(y.addEvt)(s,"click",function(t){return e.toggle(t)})}this.spanEl=n,this.btnEl=this.spanEl.firstChild,this.onLoaded(this)}}},{key:"buildManager",value:function buildManager(){var n=this,r=this.tf,t=this.contElTgtId?Object(b.elm)(this.contElTgtId):Object(b.createElm)("div");t.className=this.contCssClass;var e=Object(b.createElm)("p");e.innerHTML=this.text,t.appendChild(e);var o=Object(b.createElm)("ul");o.className=this.listCssClass;var i=this.headersTbl||r.dom(),s=this.headersTbl?this.headersIndex:r.getHeadersRowIndex(),a=i.rows[s];if(this.enableTickAll){var l=Object(b.createCheckItem)("col__"+r.id,this.tickAllText,this.tickAllText);Object(b.addClass)(l,this.listItemCssClass),o.appendChild(l),l.check.checked=!this.tickToHide,Object(y.addEvt)(l.check,"click",function(){for(var t=0;t<a.cells.length;t++){var e=Object(b.elm)("col_"+t+"_"+r.id);e&&l.check.checked!==e.checked&&(e.click(),e.checked=l.check.checked)}})}for(var c=0;c<a.cells.length;c++){var u=a.cells[c],f=this.headersText[c]||this._getHeaderText(u),d=Object(b.createCheckItem)("col_"+c+"_"+r.id,f,f);Object(b.addClass)(d,this.listItemCssClass),this.tickToHide||Object(b.addClass)(d,this.listSlcItemCssClass),o.appendChild(d),this.tickToHide||(d.check.checked=!0),Object(y.addEvt)(d.check,"click",function(t){var e=Object(y.targetEvt)(t).parentNode;n.checkItem(e)})}var p,h=Object(b.createElm)("p",["align","center"]);this.btnCloseHtml?(h.innerHTML=this.btnCloseHtml,p=h.firstChild,Object(y.addEvt)(p,"click",function(t){return n.toggle(t)})):((p=Object(b.createElm)("a",["href","javascript:;"])).className=this.btnCloseCssClass,p.innerHTML=this.btnCloseText,Object(y.addEvt)(p,"click",function(t){return n.toggle(t)}),h.appendChild(p)),t.appendChild(o),t.appendChild(h),this.btnEl.parentNode.insertBefore(t,this.btnEl),this.contEl=t}},{key:"setHidden",value:function setHidden(t,e){var n=this.tf,r=n.dom();e?this.onBeforeColHidden(this,t):this.onBeforeColDisplayed(this,t),this._hideElements(r,t,e),this.headersTbl&&this._hideElements(this.headersTbl,t,e);var o=this.hiddenCols.indexOf(t);e?-1===o&&this.hiddenCols.push(t):-1!==o&&this.hiddenCols.splice(o,1),e?(this.onAfterColHidden(this,t),this.emitter.emit("column-hidden",n,this,t,this.hiddenCols)):(this.onAfterColDisplayed(this,t),this.emitter.emit("column-shown",n,this,t,this.hiddenCols))}},{key:"showCol",value:function showCol(t){if(!Object(i.isUndef)(t)&&this.isColHidden(t))if(this.manager&&this.contEl){var e=Object(b.elm)("col_"+t+"_"+this.tf.id);e&&e.click()}else this.setHidden(t,!1)}},{key:"hideCol",value:function hideCol(t){if(!Object(i.isUndef)(t)&&!this.isColHidden(t))if(this.manager&&this.contEl){var e=Object(b.elm)("col_"+t+"_"+this.tf.id);e&&e.click()}else this.setHidden(t,!0)}},{key:"isColHidden",value:function isColHidden(t){return-1!==this.hiddenCols.indexOf(t)}},{key:"toggleCol",value:function toggleCol(t){Object(i.isUndef)(t)||this.isColHidden(t)?this.showCol(t):this.hideCol(t)}},{key:"getHiddenCols",value:function getHiddenCols(){return this.hiddenCols}},{key:"destroy",value:function destroy(){var n=this;this.initialized&&(Object(b.elm)(this.contElTgtId)?Object(b.elm)(this.contElTgtId).innerHTML="":(this.contEl.innerHTML="",Object(b.removeElm)(this.contEl),this.contEl=null),this.btnEl.innerHTML="",Object(b.removeElm)(this.btnEl),this.btnEl=null,this.emitter.off(["hide-column"],function(t,e){return n.hideCol(e)}),this.boundMouseup=null,this.initialized=!1)}},{key:"_getHeaderText",value:function _getHeaderText(t){if(!t.hasChildNodes)return"";for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];if(3===n.nodeType)return n.nodeValue;if(1===n.nodeType){if(n.id&&-1!==n.id.indexOf("popUp"))continue;return Object(b.getText)(n)}}return""}},{key:"_hideElements",value:function _hideElements(t,e,n){this._hideCells(t,e,n),this._hideCol(t,e,n)}},{key:"_hideCells",value:function _hideCells(t,e,n){for(var r=0;r<t.rows.length;r++){var o=t.rows[r].cells[e];o&&(o.style.display=n?a.NONE:"")}}},{key:"_hideCol",value:function _hideCol(t,e,n){var r=Object(b.tag)(t,"col");0!==r.length&&(r[e].style.display=n?a.NONE:"")}},{key:"_hideAtStart",value:function _hideAtStart(){var e=this;this.atStart.forEach(function(t){e.hideCol(t)})}}]),ColsVisibility}()},451:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return r});var o=n(10),s=n(2),i=n(3),a=n(5),l=n(1),c=n(18);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}function _createSuper(r){var o=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function _createSuperInternal(){var t,e=_getPrototypeOf(r);if(o){var n=_getPrototypeOf(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,t)}}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var r=function(){!function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(FiltersVisibility,o["Feature"]);var r=_createSuper(FiltersVisibility);function FiltersVisibility(t,e){var n;return function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,FiltersVisibility),(n=r.call(this,t,FiltersVisibility)).name=e.name,n.desc=Object(l.defaultsStr)(e.description,"Filters row visibility manager"),n.stylesheet=Object(l.defaultsStr)(e.stylesheet,"filtersVisibility.css"),n.icnExpand=Object(l.defaultsStr)(e.expand_icon_name,"icn_exp.png"),n.icnCollapse=Object(l.defaultsStr)(e.collapse_icon_name,"icn_clp.png"),n.contEl=null,n.btnEl=null,n.icnExpandHtml='<img src="'+t.themesPath+n.icnExpand+'" alt="Expand filters" >',n.icnCollapseHtml='<img src="'+t.themesPath+n.icnCollapse+'" alt="Collapse filters" >',n.defaultText="Toggle filters",n.targetId=e.target_id||null,n.enableIcon=Object(l.defaultsBool)(e.enable_icon,!0),n.btnText=Object(l.defaultsStr)(e.btn_text,""),n.collapseBtnHtml=n.enableIcon?n.icnCollapseHtml+n.btnText:n.btnText||n.defaultText,n.expandBtnHtml=n.enableIcon?n.icnExpandHtml+n.btnText:n.btnText||n.defaultText,n.btnHtml=Object(l.defaultsStr)(e.btn_html,null),n.btnCssClass=Object(l.defaultsStr)(e.btn_css_class,"btnExpClpFlt"),n.contCssClass=Object(l.defaultsStr)(e.cont_css_class,"expClpFlt"),n.filtersRowIndex=Object(l.defaultsNb)(e.filters_row_index,t.getFiltersRowIndex()),n.visibleAtStart=Object(l.defaultsNb)(e.visible_at_start,!0),n.toolbarPosition=Object(l.defaultsStr)(e.toolbar_position,c.RIGHT),n.onBeforeShow=Object(l.defaultsFn)(e.on_before_show,i.EMPTY_FN),n.onAfterShow=Object(l.defaultsFn)(e.on_after_show,i.EMPTY_FN),n.onBeforeHide=Object(l.defaultsFn)(e.on_before_hide,i.EMPTY_FN),n.onAfterHide=Object(l.defaultsFn)(e.on_after_hide,i.EMPTY_FN),t.import(e.name+"Style",t.getStylePath()+n.stylesheet,null,"link"),n.enable(),n}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(FiltersVisibility,[{key:"init",value:function init(){var n=this;this.initialized||(this.emitter.emit("initializing-extension",this,!Object(i.isNull)(this.targetId)),this.buildUI(),this.initialized=!0,this.emitter.on(["show-filters"],function(t,e){return n.show(e)}),this.emitter.emit("filters-visibility-initialized",this.tf,this),this.emitter.emit("extension-initialized",this))}},{key:"buildUI",value:function buildUI(){var t=this,e=this.tf,n=Object(s.createElm)("span");n.className=this.contCssClass;var r,o=this.targetId?Object(s.elm)(this.targetId):e.feature("toolbar").container(this.toolbarPosition);if(this.targetId)o.appendChild(n);else{var i=o.firstChild;i.parentNode.insertBefore(n,i)}this.btnHtml?(n.innerHTML=this.btnHtml,r=n.firstChild):((r=Object(s.createElm)("a",["href","javascript:void(0);"])).className=this.btnCssClass,r.title=this.btnText||this.defaultText,r.innerHTML=this.collapseBtnHtml,n.appendChild(r)),Object(a.addEvt)(r,"click",function(){return t.toggle()}),this.contEl=n,this.btnEl=r,this.visibleAtStart||this.toggle()}},{key:"toggle",value:function toggle(){var t=this.tf,e=""===(t.gridLayout?t.feature("gridLayout").headTbl:t.dom()).rows[this.filtersRowIndex].style.display;this.show(!e)}},{key:"show",value:function show(t){var e=!(0<arguments.length&&void 0!==t)||t,n=this.tf,r=(n.gridLayout?n.feature("gridLayout").headTbl:n.dom()).rows[this.filtersRowIndex];e&&this.onBeforeShow(this),e||this.onBeforeHide(this),r.style.display=e?"":"none",this.enableIcon&&!this.btnHtml&&(this.btnEl.innerHTML=e?this.collapseBtnHtml:this.expandBtnHtml),e&&this.onAfterShow(this),e||this.onAfterHide(this),this.emitter.emit("filters-toggled",n,this,e)}},{key:"destroy",value:function destroy(){var n=this;this.initialized&&(this.emitter.off(["show-filters"],function(t,e){return n.show(e)}),this.btnEl.innerHTML="",Object(s.removeElm)(this.btnEl),this.btnEl=null,this.contEl.innerHTML="",Object(s.removeElm)(this.contEl),this.contEl=null,this.initialized=!1)}}]),FiltersVisibility}()},452:function(t,e,n){"use strict";n.r(e);var r=n(443);n(9).root.SortableTable||n(454),e.default=r.default},454:function(t,e,n){n(455)(n(456))},456:function(t,e){t.exports='/*----------------------------------------------------------------------------\\\n| Sortable Table 1.12 |\n|-----------------------------------------------------------------------------|\n| Created by Erik Arvidsson |\n| (http://webfx.eae.net/contact.html#erik) |\n| For WebFX (http://webfx.eae.net/) |\n|-----------------------------------------------------------------------------|\n| A DOM 1 based script that allows an ordinary HTML table to be sortable. |\n|-----------------------------------------------------------------------------|\n| Copyright (c) 1998 - 2006 Erik Arvidsson |\n|-----------------------------------------------------------------------------|\n| Licensed under the Apache License, Version 2.0 (the "License"); you may not |\n| use this file except in compliance with the License. You may obtain a copy |\n| of the License at http://www.apache.org/licenses/LICENSE-2.0 |\n| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |\n| Unless required by applicable law or agreed to in writing, software |\n| distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |\n| WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |\n| License for the specific language governing permissions and limitations |\n| under the License. |\n|-----------------------------------------------------------------------------|\n| 2003-01-10 | First version |\n| 2003-01-19 | Minor changes to the date parsing |\n| 2003-01-28 | JScript 5.0 fixes (no support for \'in\' operator) |\n| 2003-02-01 | Sloppy typo like error fixed in getInnerText |\n| 2003-07-04 | Added workaround for IE cellIndex bug. |\n| 2003-11-09 | The bDescending argument to sort was not correctly working |\n| | Using onclick DOM0 event if no support for addEventListener |\n| | or attachEvent |\n| 2004-01-13 | Adding addSortType and removeSortType which makes it a lot |\n| | easier to add new, custom sort types. |\n| 2004-01-27 | Switch to use descending = false as the default sort order. |\n| | Change defaultDescending to suit your needs. |\n| 2004-03-14 | Improved sort type None look and feel a bit |\n| 2004-08-26 | Made the handling of tBody and tHead more flexible. Now you |\n| | can use another tHead or no tHead, and you can chose some |\n| | other tBody. |\n| 2006-04-25 | Changed license to Apache Software License 2.0 |\n|-----------------------------------------------------------------------------|\n| Created 2003-01-10 | All changes are in the log above. | Updated 2006-04-25 |\n\\----------------------------------------------------------------------------*/\n\n\nfunction SortableTable(oTable, oSortTypes) {\n\n\tthis.sortTypes = oSortTypes || [];\n\n\tthis.sortColumn = null;\n\tthis.descending = null;\n\n\tvar oThis = this;\n\tthis._headerOnclick = function (e) {\n\t\toThis.headerOnclick(e);\n\t};\n\n\tif (oTable) {\n\t\tthis.setTable( oTable );\n\t\tthis.document = oTable.ownerDocument || oTable.document;\n\t}\n\telse {\n\t\tthis.document = document;\n\t}\n\n\n\t// only IE needs this\n\tvar win = this.document.defaultView || this.document.parentWindow;\n\tthis._onunload = function () {\n\t\toThis.destroy();\n\t};\n\tif (win && typeof win.attachEvent != "undefined") {\n\t\twin.attachEvent("onunload", this._onunload);\n\t}\n}\n\nSortableTable.gecko = navigator.product == "Gecko";\nSortableTable.msie = /msie/i.test(navigator.userAgent);\n// Mozilla is faster when doing the DOM manipulations on\n// an orphaned element. MSIE is not\nSortableTable.removeBeforeSort = SortableTable.gecko;\n\nSortableTable.prototype.onsort = function () {};\n\n// default sort order. true -> descending, false -> ascending\nSortableTable.prototype.defaultDescending = false;\n\n// shared between all instances. This is intentional to allow external files\n// to modify the prototype\nSortableTable.prototype._sortTypeInfo = {};\n\nSortableTable.prototype.setTable = function (oTable) {\n\tif ( this.tHead )\n\t\tthis.uninitHeader();\n\tthis.element = oTable;\n\tthis.setTHead( oTable.tHead );\n\tthis.setTBody( oTable.tBodies[0] );\n};\n\nSortableTable.prototype.setTHead = function (oTHead) {\n\tif (this.tHead && this.tHead != oTHead )\n\t\tthis.uninitHeader();\n\tthis.tHead = oTHead;\n\tthis.initHeader( this.sortTypes );\n};\n\nSortableTable.prototype.setTBody = function (oTBody) {\n\tthis.tBody = oTBody;\n};\n\nSortableTable.prototype.setSortTypes = function ( oSortTypes ) {\n\tif ( this.tHead )\n\t\tthis.uninitHeader();\n\tthis.sortTypes = oSortTypes || [];\n\tif ( this.tHead )\n\t\tthis.initHeader( this.sortTypes );\n};\n\n// adds arrow containers and events\n// also binds sort type to the header cells so that reordering columns does\n// not break the sort types\nSortableTable.prototype.initHeader = function (oSortTypes) {\n\tif (!this.tHead) return;\n\tvar cells = this.tHead.rows[0].cells;\n\tvar doc = this.tHead.ownerDocument || this.tHead.document;\n\tthis.sortTypes = oSortTypes || [];\n\tvar l = cells.length;\n\tvar img, c;\n\tfor (var i = 0; i < l; i++) {\n\t\tc = cells[i];\n\t\tif (this.sortTypes[i] != null && this.sortTypes[i] != "None") {\n\t\t\timg = doc.createElement("IMG");\n\t\t\timg.src = "images/blank.png";\n\t\t\tc.appendChild(img);\n\t\t\tif (this.sortTypes[i] != null)\n\t\t\t\tc._sortType = this.sortTypes[i];\n\t\t\tif (typeof c.addEventListener != "undefined")\n\t\t\t\tc.addEventListener("click", this._headerOnclick, false);\n\t\t\telse if (typeof c.attachEvent != "undefined")\n\t\t\t\tc.attachEvent("onclick", this._headerOnclick);\n\t\t\telse\n\t\t\t\tc.onclick = this._headerOnclick;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tc.setAttribute( "_sortType", oSortTypes[i] );\n\t\t\tc._sortType = "None";\n\t\t}\n\t}\n\tthis.updateHeaderArrows();\n};\n\n// remove arrows and events\nSortableTable.prototype.uninitHeader = function () {\n\tif (!this.tHead) return;\n\tvar cells = this.tHead.rows[0].cells;\n\tvar l = cells.length;\n\tvar c;\n\tfor (var i = 0; i < l; i++) {\n\t\tc = cells[i];\n\t\tif (c._sortType != null && c._sortType != "None") {\n\t\t\tc.removeChild(c.lastChild);\n\t\t\tif (typeof c.removeEventListener != "undefined")\n\t\t\t\tc.removeEventListener("click", this._headerOnclick, false);\n\t\t\telse if (typeof c.detachEvent != "undefined")\n\t\t\t\tc.detachEvent("onclick", this._headerOnclick);\n\t\t\tc._sortType = null;\n\t\t\tc.removeAttribute( "_sortType" );\n\t\t}\n\t}\n};\n\nSortableTable.prototype.updateHeaderArrows = function () {\n\tif (!this.tHead) return;\n\tvar cells = this.tHead.rows[0].cells;\n\tvar l = cells.length;\n\tvar img;\n\tfor (var i = 0; i < l; i++) {\n\t\tif (cells[i]._sortType != null && cells[i]._sortType != "None") {\n\t\t\timg = cells[i].lastChild;\n\t\t\tif (i == this.sortColumn)\n\t\t\t\timg.className = "sort-arrow " + (this.descending ? "descending" : "ascending");\n\t\t\telse\n\t\t\t\timg.className = "sort-arrow";\n\t\t}\n\t}\n};\n\nSortableTable.prototype.headerOnclick = function (e) {\n\t// find TD element\n\tvar el = e.target || e.srcElement;\n\twhile (el.tagName != "TD")\n\t\tel = el.parentNode;\n\n\tthis.sort(SortableTable.msie ? SortableTable.getCellIndex(el) : el.cellIndex);\n};\n\n// IE returns wrong cellIndex when columns are hidden\nSortableTable.getCellIndex = function (oTd) {\n\tvar cells = oTd.parentNode.childNodes\n\tvar l = cells.length;\n\tvar i;\n\tfor (i = 0; cells[i] != oTd && i < l; i++)\n\t\t;\n\treturn i;\n};\n\nSortableTable.prototype.getSortType = function (nColumn) {\n\treturn this.sortTypes[nColumn] || "String";\n};\n\n// only nColumn is required\n// if bDescending is left out the old value is taken into account\n// if sSortType is left out the sort type is found from the sortTypes array\n\nSortableTable.prototype.sort = function (nColumn, bDescending, sSortType) {\n\tif (!this.tBody) return;\n\tif (sSortType == null)\n\t\tsSortType = this.getSortType(nColumn);\n\n\t// exit if None\n\tif (sSortType == "None")\n\t\treturn;\n\n\tif (bDescending == null) {\n\t\tif (this.sortColumn != nColumn)\n\t\t\tthis.descending = this.defaultDescending;\n\t\telse\n\t\t\tthis.descending = !this.descending;\n\t}\n\telse\n\t\tthis.descending = bDescending;\n\n\tthis.sortColumn = nColumn;\n\n\tif (typeof this.onbeforesort == "function")\n\t\tthis.onbeforesort();\n\n\tvar f = this.getSortFunction(sSortType, nColumn);\n\tvar a = this.getCache(sSortType, nColumn);\n\tvar tBody = this.tBody;\n\n\ta.sort(f);\n\n\tif (this.descending)\n\t\ta.reverse();\n\n\tif (SortableTable.removeBeforeSort) {\n\t\t// remove from doc\n\t\tvar nextSibling = tBody.nextSibling;\n\t\tvar p = tBody.parentNode;\n\t\tp.removeChild(tBody);\n\t}\n\n\t// insert in the new order\n\tvar l = a.length;\n\tfor (var i = 0; i < l; i++)\n\t\ttBody.appendChild(a[i].element);\n\n\tif (SortableTable.removeBeforeSort) {\n\t\t// insert into doc\n\t\tp.insertBefore(tBody, nextSibling);\n\t}\n\n\tthis.updateHeaderArrows();\n\n\tthis.destroyCache(a);\n\n\tif (typeof this.onsort == "function")\n\t\tthis.onsort();\n};\n\nSortableTable.prototype.asyncSort = function (nColumn, bDescending, sSortType) {\n\tvar oThis = this;\n\tthis._asyncsort = function () {\n\t\toThis.sort(nColumn, bDescending, sSortType);\n\t};\n\twindow.setTimeout(this._asyncsort, 1);\n};\n\nSortableTable.prototype.getCache = function (sType, nColumn) {\n\tif (!this.tBody) return [];\n\tvar rows = this.tBody.rows;\n\tvar l = rows.length;\n\tvar a = new Array(l);\n\tvar r;\n\tfor (var i = 0; i < l; i++) {\n\t\tr = rows[i];\n\t\ta[i] = {\n\t\t\tvalue:\t\tthis.getRowValue(r, sType, nColumn),\n\t\t\telement:\tr\n\t\t};\n\t};\n\treturn a;\n};\n\nSortableTable.prototype.destroyCache = function (oArray) {\n\tvar l = oArray.length;\n\tfor (var i = 0; i < l; i++) {\n\t\toArray[i].value = null;\n\t\toArray[i].element = null;\n\t\toArray[i] = null;\n\t}\n};\n\nSortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {\n\t// if we have defined a custom getRowValue use that\n\tif (this._sortTypeInfo[sType] && this._sortTypeInfo[sType].getRowValue)\n\t\treturn this._sortTypeInfo[sType].getRowValue(oRow, nColumn);\n\n\tvar s;\n\tvar c = oRow.cells[nColumn];\n\tif (typeof c.innerText != "undefined")\n\t\ts = c.innerText;\n\telse\n\t\ts = SortableTable.getInnerText(c);\n\treturn this.getValueFromString(s, sType);\n};\n\nSortableTable.getInnerText = function (oNode) {\n\tvar s = "";\n\tvar cs = oNode.childNodes;\n\tvar l = cs.length;\n\tfor (var i = 0; i < l; i++) {\n\t\tswitch (cs[i].nodeType) {\n\t\t\tcase 1: //ELEMENT_NODE\n\t\t\t\ts += SortableTable.getInnerText(cs[i]);\n\t\t\t\tbreak;\n\t\t\tcase 3:\t//TEXT_NODE\n\t\t\t\ts += cs[i].nodeValue;\n\t\t\t\tbreak;\n\t\t}\n\t}\n\treturn s;\n};\n\nSortableTable.prototype.getValueFromString = function (sText, sType) {\n\tif (this._sortTypeInfo[sType])\n\t\treturn this._sortTypeInfo[sType].getValueFromString( sText );\n\treturn sText;\n\t/*\n\tswitch (sType) {\n\t\tcase "Number":\n\t\t\treturn Number(sText);\n\t\tcase "CaseInsensitiveString":\n\t\t\treturn sText.toUpperCase();\n\t\tcase "Date":\n\t\t\tvar parts = sText.split("-");\n\t\t\tvar d = new Date(0);\n\t\t\td.setFullYear(parts[0]);\n\t\t\td.setDate(parts[2]);\n\t\t\td.setMonth(parts[1] - 1);\n\t\t\treturn d.valueOf();\n\t}\n\treturn sText;\n\t*/\n\t};\n\nSortableTable.prototype.getSortFunction = function (sType, nColumn) {\n\tif (this._sortTypeInfo[sType])\n\t\treturn this._sortTypeInfo[sType].compare;\n\treturn SortableTable.basicCompare;\n};\n\nSortableTable.prototype.destroy = function () {\n\tthis.uninitHeader();\n\tvar win = this.document.parentWindow;\n\tif (win && typeof win.detachEvent != "undefined") {\t// only IE needs this\n\t\twin.detachEvent("onunload", this._onunload);\n\t}\n\tthis._onunload = null;\n\tthis.element = null;\n\tthis.tHead = null;\n\tthis.tBody = null;\n\tthis.document = null;\n\tthis._headerOnclick = null;\n\tthis.sortTypes = null;\n\tthis._asyncsort = null;\n\tthis.onsort = null;\n};\n\n// Adds a sort type to all instance of SortableTable\n// sType : String - the identifier of the sort type\n// fGetValueFromString : function ( s : string ) : T - A function that takes a\n// string and casts it to a desired format. If left out the string is just\n// returned\n// fCompareFunction : function ( n1 : T, n2 : T ) : Number - A normal JS sort\n// compare function. Takes two values and compares them. If left out less than,\n// <, compare is used\n// fGetRowValue : function( oRow : HTMLTRElement, nColumn : int ) : T - A function\n// that takes the row and the column index and returns the value used to compare.\n// If left out then the innerText is first taken for the cell and then the\n// fGetValueFromString is used to convert that string the desired value and type\n\nSortableTable.prototype.addSortType = function (sType, fGetValueFromString, fCompareFunction, fGetRowValue) {\n\tthis._sortTypeInfo[sType] = {\n\t\ttype:\t\t\t\tsType,\n\t\tgetValueFromString:\tfGetValueFromString || SortableTable.idFunction,\n\t\tcompare:\t\t\tfCompareFunction || SortableTable.basicCompare,\n\t\tgetRowValue:\t\tfGetRowValue\n\t};\n};\n\n// this removes the sort type from all instances of SortableTable\nSortableTable.prototype.removeSortType = function (sType) {\n\tdelete this._sortTypeInfo[sType];\n};\n\nSortableTable.basicCompare = function compare(n1, n2) {\n\tif (n1.value < n2.value)\n\t\treturn -1;\n\tif (n2.value < n1.value)\n\t\treturn 1;\n\treturn 0;\n};\n\nSortableTable.idFunction = function (x) {\n\treturn x;\n};\n\nSortableTable.toUpperCase = function (s) {\n\treturn s.toUpperCase();\n};\n\nSortableTable.toDate = function (s) {\n\tvar parts = s.split("-");\n\tvar d = new Date(0);\n\td.setFullYear(parts[0]);\n\td.setDate(parts[2]);\n\td.setMonth(parts[1] - 1);\n\treturn d.valueOf();\n};\n\n\n// add sort types\nSortableTable.prototype.addSortType("Number", Number);\nSortableTable.prototype.addSortType("CaseInsensitiveString", SortableTable.toUpperCase);\nSortableTable.prototype.addSortType("Date", SortableTable.toDate);\nSortableTable.prototype.addSortType("String");\n// None is a special case\n'}}]);
|
package/playwright.config.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Playwright config: runs the existing QUnit HTML suites headlessly
|
|
2
|
-
// in Chromium (#893 single-file harness, #894 all suites). Serves
|
|
3
|
-
// the repo root with the Vite dev server.
|
|
4
|
-
const { defineConfig } = require('@playwright/test');
|
|
5
|
-
|
|
6
|
-
module.exports = defineConfig({
|
|
7
|
-
testDir: './test/playwright',
|
|
8
|
-
timeout: 30000,
|
|
9
|
-
use: {
|
|
10
|
-
baseURL: 'http://localhost:8080'
|
|
11
|
-
},
|
|
12
|
-
webServer: {
|
|
13
|
-
command: 'npx vite --port 8080 --strictPort',
|
|
14
|
-
// Repo root has no index.html, so probe the suite page itself.
|
|
15
|
-
url: 'http://localhost:8080/test/test-emitter.html',
|
|
16
|
-
reuseExistingServer: !process.env.CI,
|
|
17
|
-
timeout: 60000
|
|
18
|
-
},
|
|
19
|
-
projects: [
|
|
20
|
-
{
|
|
21
|
-
name: 'chromium',
|
|
22
|
-
use: { browserName: 'chromium' }
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
});
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// Guard for the --tf-* token system (#892): every var(--tf-*, <fallback>)
|
|
4
|
-
// used across the base stylesheets must carry a fallback equal to the
|
|
5
|
-
// :root definition in custom-properties.styl, otherwise unthemed rendering
|
|
6
|
-
// silently drifts from the pre-variable values.
|
|
7
|
-
// Usage: node scripts/check-css-tokens.js (exit 0 = match, exit 1 = drift).
|
|
8
|
-
|
|
9
|
-
const fs = require('fs');
|
|
10
|
-
const path = require('path');
|
|
11
|
-
|
|
12
|
-
const STYLE_DIR = path.join(__dirname, '..', 'static', 'style');
|
|
13
|
-
const DEFINITIONS_FILE = 'custom-properties.styl';
|
|
14
|
-
|
|
15
|
-
const normalize = (value) => value.trim().toLowerCase();
|
|
16
|
-
|
|
17
|
-
const definitions = new Map();
|
|
18
|
-
const defSource = fs.readFileSync(
|
|
19
|
-
path.join(STYLE_DIR, DEFINITIONS_FILE), 'utf8'
|
|
20
|
-
);
|
|
21
|
-
for (const line of defSource.split('\n')) {
|
|
22
|
-
const match = line.match(/^\s*(--tf-[a-z-]+)\s+([^;\s]+)\s*$/);
|
|
23
|
-
if (match) {
|
|
24
|
-
definitions.set(match[1], normalize(match[2]));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
if (definitions.size === 0) {
|
|
29
|
-
console.error(`No --tf-* definitions found in ${DEFINITIONS_FILE}`);
|
|
30
|
-
process.exit(1);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const failures = [];
|
|
34
|
-
const usagePattern = /var\(\s*(--tf-[a-z-]+)\s*,\s*([^)]+)\)/g;
|
|
35
|
-
const files = fs.readdirSync(STYLE_DIR)
|
|
36
|
-
.filter((file) => file.endsWith('.styl'))
|
|
37
|
-
.sort();
|
|
38
|
-
|
|
39
|
-
for (const file of files) {
|
|
40
|
-
const source = fs.readFileSync(path.join(STYLE_DIR, file), 'utf8');
|
|
41
|
-
let match;
|
|
42
|
-
usagePattern.lastIndex = 0;
|
|
43
|
-
while ((match = usagePattern.exec(source)) !== null) {
|
|
44
|
-
const [name, fallback] = [match[1], normalize(match[2])];
|
|
45
|
-
if (!definitions.has(name)) {
|
|
46
|
-
failures.push(file + ': ' + name + ' has no :root definition');
|
|
47
|
-
} else if (definitions.get(name) !== fallback) {
|
|
48
|
-
failures.push(
|
|
49
|
-
file + ': ' + name + ' fallback ' + match[2].trim() +
|
|
50
|
-
' does not match definition'
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (failures.length > 0) {
|
|
57
|
-
failures.forEach((failure) => console.error('FAIL: ' + failure));
|
|
58
|
-
process.exit(1);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
console.log(
|
|
62
|
-
'OK: all var() fallbacks match ' +
|
|
63
|
-
definitions.size + ' --tf-* definitions ' +
|
|
64
|
-
'across ' + files.length + ' stylesheets'
|
|
65
|
-
);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<table id="demo">
|
|
3
|
-
<thead>
|
|
4
|
-
<tr>
|
|
5
|
-
<th colspan="3">Book</th>
|
|
6
|
-
<th>Price</th>
|
|
7
|
-
<th colspan="2">Delivery Items</th>
|
|
8
|
-
<th> </th>
|
|
9
|
-
</tr>
|
|
10
|
-
<tr>
|
|
11
|
-
<th width="50"> </th>
|
|
12
|
-
<th width="210">Title</th>
|
|
13
|
-
<th width="150">Author</th>
|
|
14
|
-
<th width="50">$</th>
|
|
15
|
-
<th width="30">In store</th>
|
|
16
|
-
<th width="70">Shipping</th>
|
|
17
|
-
<th width="100">Publication Date</th>
|
|
18
|
-
</tr>
|
|
19
|
-
</thead>
|
|
20
|
-
<tbody>
|
|
21
|
-
<tr>
|
|
22
|
-
<td data-tf-sortKey="new edition">
|
|
23
|
-
<img src="assets/img_new-edition.png" alt="new edition" />
|
|
24
|
-
</td>
|
|
25
|
-
<td>Boris Godunov</td>
|
|
26
|
-
<td>Alexandr Pushkin</td>
|
|
27
|
-
<td>
|
|
28
|
-
<div align="right">7.15</div>
|
|
29
|
-
</td>
|
|
30
|
-
<td data-tf-sortKey="1">
|
|
31
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
32
|
-
</td>
|
|
33
|
-
<td data-tf-sortKey="1">1 Hour</td>
|
|
34
|
-
<td>
|
|
35
|
-
<div align="right">01/01/1999</div>
|
|
36
|
-
</td>
|
|
37
|
-
</tr>
|
|
38
|
-
<tr>
|
|
39
|
-
<td data-tf-sortKey="sold out">
|
|
40
|
-
<img src="assets/img_sold-out.png" alt="sold out" />
|
|
41
|
-
</td>
|
|
42
|
-
<td>The Rainmaker</td>
|
|
43
|
-
<td>John Grisham</td>
|
|
44
|
-
<td>
|
|
45
|
-
<div align="right">7.99</div>
|
|
46
|
-
</td>
|
|
47
|
-
<td data-tf-sortKey="0">
|
|
48
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
49
|
-
</td>
|
|
50
|
-
<td data-tf-sortKey="48">2 Days</td>
|
|
51
|
-
<td>
|
|
52
|
-
<div align="right">12/01/2001</div>
|
|
53
|
-
</td>
|
|
54
|
-
</tr>
|
|
55
|
-
<tr>
|
|
56
|
-
<td data-tf-sortKey="best price">
|
|
57
|
-
<img src="assets/img_best-price.png" alt="best price" />
|
|
58
|
-
</td>
|
|
59
|
-
<td>The Green Mile</td>
|
|
60
|
-
<td>Stephen King</td>
|
|
61
|
-
<td>
|
|
62
|
-
<div align="right">11.10</div>
|
|
63
|
-
</td>
|
|
64
|
-
<td data-tf-sortKey="1">
|
|
65
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
66
|
-
</td>
|
|
67
|
-
<td data-tf-sortKey="24">24 Hours</td>
|
|
68
|
-
<td>
|
|
69
|
-
<div align="right">01/01/1992</div>
|
|
70
|
-
</td>
|
|
71
|
-
</tr>
|
|
72
|
-
<tr>
|
|
73
|
-
<td data-tf-sortKey="great deal">
|
|
74
|
-
<img src="assets/img_great-deal.png" alt="great deal" />
|
|
75
|
-
</td>
|
|
76
|
-
<td>Misery</td>
|
|
77
|
-
<td>Stephen King</td>
|
|
78
|
-
<td>
|
|
79
|
-
<div align="right">7.70</div>
|
|
80
|
-
</td>
|
|
81
|
-
<td data-tf-sortKey="1">
|
|
82
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
83
|
-
</td>
|
|
84
|
-
<td data-tf-sortKey="na">na</td>
|
|
85
|
-
<td>
|
|
86
|
-
<div align="right">01/01/2003</div>
|
|
87
|
-
</td>
|
|
88
|
-
</tr>
|
|
89
|
-
<tr>
|
|
90
|
-
<td data-tf-sortKey="great deal">
|
|
91
|
-
<img src="assets/img_great-deal.png" alt="great deal" />
|
|
92
|
-
</td>
|
|
93
|
-
<td>The Dark Half</td>
|
|
94
|
-
<td>Stephen King</td>
|
|
95
|
-
<td>
|
|
96
|
-
<div align="right">0</div>
|
|
97
|
-
</td>
|
|
98
|
-
<td data-tf-sortKey="1">
|
|
99
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
100
|
-
</td>
|
|
101
|
-
<td data-tf-sortKey="48">2 Days</td>
|
|
102
|
-
<td>
|
|
103
|
-
<div align="right">10/30/1999</div>
|
|
104
|
-
</td>
|
|
105
|
-
</tr>
|
|
106
|
-
<tr>
|
|
107
|
-
<td data-tf-sortKey="sold out">
|
|
108
|
-
<img src="assets/img_sold-out.png" alt="sold out" />
|
|
109
|
-
</td>
|
|
110
|
-
<td>The Partner</td>
|
|
111
|
-
<td>John Grisham</td>
|
|
112
|
-
<td>
|
|
113
|
-
<div align="right">12.99</div>
|
|
114
|
-
</td>
|
|
115
|
-
<td data-tf-sortKey="0">
|
|
116
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
117
|
-
</td>
|
|
118
|
-
<td data-tf-sortKey="24">24 Hours</td>
|
|
119
|
-
<td>
|
|
120
|
-
<div align="right">01/01/2005</div>
|
|
121
|
-
</td>
|
|
122
|
-
</tr>
|
|
123
|
-
<tr>
|
|
124
|
-
<td data-tf-sortKey="sold out">
|
|
125
|
-
<img src="assets/img_sold-out.png" alt="sold out" />
|
|
126
|
-
</td>
|
|
127
|
-
<td>It</td>
|
|
128
|
-
<td>Stephen King</td>
|
|
129
|
-
<td>
|
|
130
|
-
<div align="right">9.70</div>
|
|
131
|
-
</td>
|
|
132
|
-
<td data-tf-sortKey="0">
|
|
133
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
134
|
-
</td>
|
|
135
|
-
<td data-tf-sortKey="12">12 Hours</td>
|
|
136
|
-
<td>
|
|
137
|
-
<div align="right">10/15/2001</div>
|
|
138
|
-
</td>
|
|
139
|
-
</tr>
|
|
140
|
-
<tr>
|
|
141
|
-
<td data-tf-sortKey="great deal">
|
|
142
|
-
<img src="assets/img_great-deal.png" alt="great deal" />
|
|
143
|
-
</td>
|
|
144
|
-
<td>Cousin Bette</td>
|
|
145
|
-
<td>Honore de Balzac</td>
|
|
146
|
-
<td>
|
|
147
|
-
<div align="right">0</div>
|
|
148
|
-
</td>
|
|
149
|
-
<td data-tf-sortKey="1">
|
|
150
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
151
|
-
</td>
|
|
152
|
-
<td data-tf-sortKey="1">1 Hour</td>
|
|
153
|
-
<td>
|
|
154
|
-
<div align="right">12/01/1991</div>
|
|
155
|
-
</td>
|
|
156
|
-
</tr>
|
|
157
|
-
<tr>
|
|
158
|
-
<td data-tf-sortKey="great deal">
|
|
159
|
-
<img src="assets/img_great-deal.png" alt="great deal" />
|
|
160
|
-
</td>
|
|
161
|
-
<td>The Testament</td>
|
|
162
|
-
<td>John Grisham</td>
|
|
163
|
-
<td>
|
|
164
|
-
<div align="right">19.10</div>
|
|
165
|
-
</td>
|
|
166
|
-
<td data-tf-sortKey="1">
|
|
167
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
168
|
-
</td>
|
|
169
|
-
<td data-tf-sortKey="48">2 Days</td>
|
|
170
|
-
<td>
|
|
171
|
-
<div align="right">12/17/1999</div>
|
|
172
|
-
</td>
|
|
173
|
-
</tr>
|
|
174
|
-
<tr>
|
|
175
|
-
<td data-tf-sortKey="new edition">
|
|
176
|
-
<img src="assets/img_new-edition.png" alt="new edition" />
|
|
177
|
-
</td>
|
|
178
|
-
<td>Eugene Onegin</td>
|
|
179
|
-
<td>Alexandr Pushkin</td>
|
|
180
|
-
<td>
|
|
181
|
-
<div align="right">11.20</div>
|
|
182
|
-
</td>
|
|
183
|
-
<td data-tf-sortKey="0">
|
|
184
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
185
|
-
</td>
|
|
186
|
-
<td data-tf-sortKey="24">24 Hours</td>
|
|
187
|
-
<td>
|
|
188
|
-
<div align="right">09/27/2005</div>
|
|
189
|
-
</td>
|
|
190
|
-
</tr>
|
|
191
|
-
<tr>
|
|
192
|
-
<td data-tf-sortKey="best price">
|
|
193
|
-
<img src="assets/img_best-price.png" alt="best price" />
|
|
194
|
-
</td>
|
|
195
|
-
<td>Dark Avenues</td>
|
|
196
|
-
<td>Ivan Bunin</td>
|
|
197
|
-
<td>
|
|
198
|
-
<div align="right">14.96</div>
|
|
199
|
-
</td>
|
|
200
|
-
<td data-tf-sortKey="1">
|
|
201
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
202
|
-
</td>
|
|
203
|
-
<td data-tf-sortKey="1">1 Hour</td>
|
|
204
|
-
<td>
|
|
205
|
-
<div align="right">10/01/2008</div>
|
|
206
|
-
</td>
|
|
207
|
-
</tr>
|
|
208
|
-
<tr>
|
|
209
|
-
<td data-tf-sortKey="great deal">
|
|
210
|
-
<img src="assets/img_great-deal.png" alt="great deal" />
|
|
211
|
-
</td>
|
|
212
|
-
<td>Father Goriot</td>
|
|
213
|
-
<td>Honore de Balzac</td>
|
|
214
|
-
<td>
|
|
215
|
-
<div align="right">9.99</div>
|
|
216
|
-
</td>
|
|
217
|
-
<td data-tf-sortKey="0">
|
|
218
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
219
|
-
</td>
|
|
220
|
-
<td data-tf-sortKey="48">2 Days</td>
|
|
221
|
-
<td>
|
|
222
|
-
<div align="right">06/06/2010</div>
|
|
223
|
-
</td>
|
|
224
|
-
</tr>
|
|
225
|
-
<tr>
|
|
226
|
-
<td data-tf-sortKey="sold out">
|
|
227
|
-
<img src="assets/img_sold-out.png" alt="sold out" />
|
|
228
|
-
</td>
|
|
229
|
-
<td>The Captain's Daughter</td>
|
|
230
|
-
<td>Alexandr Pushkin</td>
|
|
231
|
-
<td>
|
|
232
|
-
<div align="right">10.21</div>
|
|
233
|
-
</td>
|
|
234
|
-
<td data-tf-sortKey="0">
|
|
235
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
236
|
-
</td>
|
|
237
|
-
<td data-tf-sortKey="48">2 Days</td>
|
|
238
|
-
<td>
|
|
239
|
-
<div align="right">03/01/2001</div>
|
|
240
|
-
</td>
|
|
241
|
-
</tr>
|
|
242
|
-
<tr>
|
|
243
|
-
<td data-tf-sortKey="sold out">
|
|
244
|
-
<img src="assets/img_sold-out.png" alt="sold out" />
|
|
245
|
-
</td>
|
|
246
|
-
<td>Hamlet</td>
|
|
247
|
-
<td>William Shakespeare</td>
|
|
248
|
-
<td>
|
|
249
|
-
<div align="right">5.99</div>
|
|
250
|
-
</td>
|
|
251
|
-
<td data-tf-sortKey="0">
|
|
252
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
253
|
-
</td>
|
|
254
|
-
<td data-tf-sortKey="1">1 Hour</td>
|
|
255
|
-
<td>
|
|
256
|
-
<div align="right">04/15/2003</div>
|
|
257
|
-
</td>
|
|
258
|
-
</tr>
|
|
259
|
-
<tr>
|
|
260
|
-
<td data-tf-sortKey="best price">
|
|
261
|
-
<img src="assets/img_best-price.png" alt="best price" />
|
|
262
|
-
</td>
|
|
263
|
-
<td>The Village</td>
|
|
264
|
-
<td>Ivan Bunin</td>
|
|
265
|
-
<td>
|
|
266
|
-
<div align="right">11.66</div>
|
|
267
|
-
</td>
|
|
268
|
-
<td data-tf-sortKey="1">
|
|
269
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
270
|
-
</td>
|
|
271
|
-
<td data-tf-sortKey="24">24 Hours</td>
|
|
272
|
-
<td>
|
|
273
|
-
<div align="right">01/02/2010</div>
|
|
274
|
-
</td>
|
|
275
|
-
</tr>
|
|
276
|
-
<tr>
|
|
277
|
-
<td data-tf-sortKey="new edition">
|
|
278
|
-
<img src="assets/img_new-edition.png" alt="new edition" />
|
|
279
|
-
</td>
|
|
280
|
-
<td>The Winter's Tale</td>
|
|
281
|
-
<td>William Shakespeare</td>
|
|
282
|
-
<td>
|
|
283
|
-
<div align="right">19.31</div>
|
|
284
|
-
</td>
|
|
285
|
-
<td data-tf-sortKey="1">
|
|
286
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
287
|
-
</td>
|
|
288
|
-
<td data-tf-sortKey="1">1 Hour</td>
|
|
289
|
-
<td>
|
|
290
|
-
<div align="right">02/12/2010</div>
|
|
291
|
-
</td>
|
|
292
|
-
</tr>
|
|
293
|
-
<tr>
|
|
294
|
-
<td data-tf-sortKey="great deal">
|
|
295
|
-
<img src="assets/img_great-deal.png" alt="great deal" />
|
|
296
|
-
</td>
|
|
297
|
-
<td>The Black Sheep</td>
|
|
298
|
-
<td>Honore de Balzac</td>
|
|
299
|
-
<td>
|
|
300
|
-
<div align="right">16.00</div>
|
|
301
|
-
</td>
|
|
302
|
-
<td data-tf-sortKey="0">
|
|
303
|
-
<input type="checkbox" disabled="disabled" value="" />
|
|
304
|
-
</td>
|
|
305
|
-
<td data-tf-sortKey="1">1 Hour</td>
|
|
306
|
-
<td>
|
|
307
|
-
<div align="right">08/28/1976</div>
|
|
308
|
-
</td>
|
|
309
|
-
</tr>
|
|
310
|
-
<tr>
|
|
311
|
-
<td data-tf-sortKey="new edition">
|
|
312
|
-
<img src="assets/img_new-edition.png" alt="new edition" />
|
|
313
|
-
</td>
|
|
314
|
-
<td>Lost Illusions</td>
|
|
315
|
-
<td>Honore de Balzac</td>
|
|
316
|
-
<td>
|
|
317
|
-
<div align="right">8.0</div>
|
|
318
|
-
</td>
|
|
319
|
-
<td data-tf-sortKey="1">
|
|
320
|
-
<input type="checkbox" disabled="disabled" value="" checked="checked" />
|
|
321
|
-
</td>
|
|
322
|
-
<td data-tf-sortKey="na">na</td>
|
|
323
|
-
<td>
|
|
324
|
-
<div align="right">07/10/2010</div>
|
|
325
|
-
</td>
|
|
326
|
-
</tr>
|
|
327
|
-
</tbody>
|
|
328
|
-
</table>
|