wpDataTables Lite - Version 2.1.14

Version Description

Download this release

Release Info

Developer wpDataTables
Plugin Icon 128x128 wpDataTables Lite
Version 2.1.14
Comparing to
See all releases

Code changes from version 2.1.13 to 2.1.14

assets/css/bootstrap/wpdatatables-bootstrap.css CHANGED
@@ -13763,4 +13763,47 @@ input:focus {
13763
  border-radius: 4px;
13764
  border: solid 1px #dcdfe6;
13765
  outline: none !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13766
  }
13763
  border-radius: 4px;
13764
  border: solid 1px #dcdfe6;
13765
  outline: none !important;
13766
+ }
13767
+ #datatables_buttons_info {
13768
+ width: 264px;
13769
+ position: fixed;
13770
+ top: 50%;
13771
+ left: 50%;
13772
+ height: 52px;
13773
+ border: 2px solid #37393d;
13774
+ border-radius: 26px;
13775
+ box-shadow: 0 18px 18px 0 rgba(10, 31, 68, 0.12), 0 0 1px 0 rgba(10, 31, 68, 0.1);
13776
+ background-color: #37393d;
13777
+ margin-top: 0;
13778
+ margin-left: 0;
13779
+ line-height: normal;
13780
+ text-align: center;
13781
+ z-index: 9999;
13782
+ }
13783
+
13784
+ #datatables_buttons_info:before,
13785
+ #datatables_buttons_info:after{
13786
+ display: none;
13787
+ }
13788
+
13789
+ #datatables_buttons_info h2{
13790
+ font-family: GraphikWeb;
13791
+ font-size: 16px;
13792
+ font-weight: 500;
13793
+ font-style: normal;
13794
+ font-stretch: normal;
13795
+ line-height: 1.43;
13796
+ letter-spacing: normal;
13797
+ color: #ffffff;
13798
+ padding: 0;
13799
+ margin: 2px auto 0;
13800
+ border-bottom: 1px solid #37393d;
13801
+ background-color: transparent;
13802
+ }
13803
+
13804
+ #datatables_buttons_info > div {
13805
+ display: block;
13806
+ padding: 5px 0 0 0;
13807
+ color: #FFFFFF;
13808
+ font-size: 12px;
13809
  }
assets/css/wdt.simpleTable.css CHANGED
@@ -283,6 +283,7 @@
283
  border: 1px solid #ccc !important;
284
  white-space: normal;
285
  width: 100% !important;
 
286
  }
287
  .wpdt-c table.wpdtSimpleTable.bt[data-has-header='1'] td {
288
  width: 50% !important;
283
  border: 1px solid #ccc !important;
284
  white-space: normal;
285
  width: 100% !important;
286
+ box-sizing: border-box;
287
  }
288
  .wpdt-c table.wpdtSimpleTable.bt[data-has-header='1'] td {
289
  width: 50% !important;
assets/css/wdt.simpleTable.min.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:'wpDataTablesIcons'!important;src:url(../fonts/wpDataTablesIcons.eot);src:url(../fonts/wpDataTablesIcons.eot?#iefix) format('embedded-opentype'),url(../fonts/wpDataTablesIcons.woff) format('woff'),url(../fonts/wpDataTablesIcons.ttf) format('truetype'),url(../fonts/wpDataTablesIcons.svg#wpDataTablesIcons) format('svg')}.wpdt-c.wpDataTableContainerSimpleTable{margin-top:0;margin-bottom:20px;padding:0}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable{display:table;background-color:transparent;border-collapse:collapse;border-spacing:0;clear:both;margin:0 auto;width:100%;table-layout:auto;overflow:auto;text-align:center}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll{width:100%;overflow-x:auto}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable{position:static;width:max-content!important;table-layout:fixed}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable td{white-space:normal}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td{border:1px solid #ccc;height:22px;empty-cells:show;line-height:21px;padding:10px;vertical-align:middle;text-align:center;overflow:hidden;word-break:normal}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable{font-size:inherit}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td{background-color:#fff}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th{cursor:default;background-color:#eee;white-space:normal;font-weight:400;background-image:none!important;box-shadow:none;text-shadow:none}.wpdt-c .wdt-datatables-admin-wrap div.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even{background-color:#eee}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td{padding:10px;font-size:inherit;vertical-align:middle;white-space:normal;height:21px}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child{border:1px solid #ccc}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr:last-child td{border-bottom-color:#ccc}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td img{max-width:100%;height:auto}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul{list-style-type:initial;margin-left:2em}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul li,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul li{text-align:initial}.wpdt-c .wpDataTableContainerConfigSimpleTable .wpdtSimpleTable tr.even td,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even td{background:#eee}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-empty-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable th.wpdt-empty-cell{white-space:pre-line}.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button{background-color:#4CAF50;border:none;border-radius:5px;padding:8px 15px;text-decoration:none;font-size:16px;color:#FFF;cursor:pointer;word-break:break-word}.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button:hover,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button:hover{background-color:#449d48}.wpdt-modals .wpdt-star-rating,.wpdt-c .wpdt-star-rating{font-size:45px;width:100%}.wpdt-c .wpdt-bold{font-weight:bold!important}.wpdt-c .wpdt-italic{font-style:italic!important}.wpdt-c .wpdt-underline{text-decoration:underline!important}.wpdt-c .wpdt-align-left{text-align:left!important}.wpdt-c .wpdt-align-right{text-align:right!important}.wpdt-c .wpdt-align-center{text-align:center!important}.wpdt-c .wpdt-align-justify{text-align:justify!important}.wpdt-c .wpdt-valign-top{vertical-align:top!important}.wpdt-c .wpdt-valign-bottom{vertical-align:bottom!important}.wpdt-c .wpdt-valign-middle{vertical-align:middle!important}.wpdt-c .wpdt-overflow-text{white-space:nowrap!important;overflow:visible!important}.wpdt-c .wpdt-wrap-text{white-space:normal!important;overflow:visible!important}.wpdt-c .wpdt-clip-text{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis}.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"],.wpdt-c .wpDataTableContainerConfigSimpleTable table td span[data-content="wpdt-star-rating"]{pointer-events:none!important}.wpdt-c .wpDataTableContainerConfigSimpleTable td span[data-content="wpdt-star-rating"] .jq-ry-container,.wpdt-c .wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container,.wpdt-c.wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container{padding:0;margin:0;display:inline-block;cursor:default!important}.wpdt-c .wpdtSimpleTable .wpdt-cell pre{overflow:auto}.wpdt-c .rating{border:none}.wpdt-c .rating>span{position:relative;display:inline-block}.wpdt-c .rating>span:after{margin:5px;font-size:1.25em;font-family:'wpDataTablesIcons'!important;display:inline-block;content:"\f006"}.wpdt-c .rating>span.full.rated:after{color:gold}.wpdt-c .rating>span.full:after{color:#ccc}.wpdt-c .rating>.half:before{content:"\e92c";margin:5px;font-size:1.25em;font-family:'wpDataTablesIcons'!important;display:inline-block;position:absolute;top:0;left:1px;color:gold}.wpdt-c .rating>.half-reflect:after{content:"\e92c";font-family:'wpDataTablesIcons'!important;transform:rotateY(180deg);color:#ccc}.wpdt-c table.bt thead,.wpdt-c table.bt tbody th{display:none}.wpdt-c table.bt tfoot th,.wpdt-c table.bt tfoot td,.wpdt-c table.bt tbody td{border:none;display:block;float:left\9;width:100%\9}.wpdt-c table.bt tfoot th.bt-hide,.wpdt-c table.bt tfoot td.bt-hide,.wpdt-c table.bt tbody td.bt-hide{display:none}.wdt-res-wrapper.active{max-height:310px;overflow:auto;-webkit-overflow-scrolling:touch}.wpdt-c table.bt.bt--no-header tfoot td::before,.wpdt-c table.bt.bt--no-header tbody td::before{display:none}.wpdt-c table.wpdtSimpleTable.columnBlock td{display:block;height:auto!important;border:1px solid #eee!important}.wpdt-c table.wpdtSimpleTable.bt td{height:auto!important;border:1px solid #ccc!important;white-space:normal;width:100%!important}.wpdt-c table.wpdtSimpleTable.bt[data-has-header='1'] td{width:50%!important;float:left}table.wpdtSimpleTable.bt[data-has-header='1'] td.wpdt-header-classes{background-color:#eee}.wpdt-c table.wpdtSimpleTable.bt tr.even td:not(:last-child){height:auto!important;border-bottom:1px solid #fff!important}.wpdt-c table.wpdtSimpleTable.bt tr,.wpdt-c table.wpdtSimpleTable.columnBlock tr{border:1px solid #ccc;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}
1
+ @font-face{font-family:'wpDataTablesIcons'!important;src:url(../fonts/wpDataTablesIcons.eot);src:url(../fonts/wpDataTablesIcons.eot?#iefix) format('embedded-opentype'),url(../fonts/wpDataTablesIcons.woff) format('woff'),url(../fonts/wpDataTablesIcons.ttf) format('truetype'),url(../fonts/wpDataTablesIcons.svg#wpDataTablesIcons) format('svg')}.wpdt-c.wpDataTableContainerSimpleTable{margin-top:0;margin-bottom:20px;padding:0}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable{display:table;background-color:transparent;border-collapse:collapse;border-spacing:0;clear:both;margin:0 auto;width:100%;table-layout:auto;overflow:auto;text-align:center}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll{width:100%;overflow-x:auto}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable{position:static;width:max-content!important;table-layout:fixed}.wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable td{white-space:normal}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.even td.wpdt-cell,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr.odd td.wpdt-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td{border:1px solid #ccc;height:22px;empty-cells:show;line-height:21px;padding:10px;vertical-align:middle;text-align:center;overflow:hidden;word-break:normal}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable{font-size:inherit}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td{background-color:#fff}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable th{cursor:default;background-color:#eee;white-space:normal;font-weight:400;background-image:none!important;box-shadow:none;text-shadow:none}.wpdt-c .wdt-datatables-admin-wrap div.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even{background-color:#eee}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td{padding:10px;font-size:inherit;vertical-align:middle;white-space:normal;height:21px}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:first-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:first-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tr td:last-child,.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead tr td:last-child{border:1px solid #ccc}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody tr:last-child td{border-bottom-color:#ccc}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td img{max-width:100%;height:auto}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul{list-style-type:initial;margin-left:2em}.wpdt-c .wpDataTableContainerConfigSimpleTable .handsontable td ul li,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td ul li{text-align:initial}.wpdt-c .wpDataTableContainerConfigSimpleTable .wpdtSimpleTable tr.even td,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable tr.even td{background:#eee}.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-empty-cell,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable th.wpdt-empty-cell{white-space:pre-line}.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button{background-color:#4CAF50;border:none;border-radius:5px;padding:8px 15px;text-decoration:none;font-size:16px;color:#FFF;cursor:pointer;word-break:break-word}.wpdt-c.wpDataTableContainerConfigSimpleTable table td a[data-link-content="wpdt-link-content"] button:hover,.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell a[data-link-content="wpdt-link-content"] button:hover{background-color:#449d48}.wpdt-modals .wpdt-star-rating,.wpdt-c .wpdt-star-rating{font-size:45px;width:100%}.wpdt-c .wpdt-bold{font-weight:bold!important}.wpdt-c .wpdt-italic{font-style:italic!important}.wpdt-c .wpdt-underline{text-decoration:underline!important}.wpdt-c .wpdt-align-left{text-align:left!important}.wpdt-c .wpdt-align-right{text-align:right!important}.wpdt-c .wpdt-align-center{text-align:center!important}.wpdt-c .wpdt-align-justify{text-align:justify!important}.wpdt-c .wpdt-valign-top{vertical-align:top!important}.wpdt-c .wpdt-valign-bottom{vertical-align:bottom!important}.wpdt-c .wpdt-valign-middle{vertical-align:middle!important}.wpdt-c .wpdt-overflow-text{white-space:nowrap!important;overflow:visible!important}.wpdt-c .wpdt-wrap-text{white-space:normal!important;overflow:visible!important}.wpdt-c .wpdt-clip-text{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis}.wpdt-c .wpDataTableContainerSimpleTable .wpdtSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"],.wpdt-c .wpDataTableContainerConfigSimpleTable table td span[data-content="wpdt-star-rating"]{pointer-events:none!important}.wpdt-c .wpDataTableContainerConfigSimpleTable td span[data-content="wpdt-star-rating"] .jq-ry-container,.wpdt-c .wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container,.wpdt-c.wpDataTableContainerSimpleTable td.wpdt-cell span[data-content="wpdt-star-rating"] .jq-ry-container{padding:0;margin:0;display:inline-block;cursor:default!important}.wpdt-c .wpdtSimpleTable .wpdt-cell pre{overflow:auto}.wpdt-c .rating{border:none}.wpdt-c .rating>span{position:relative;display:inline-block}.wpdt-c .rating>span:after{margin:5px;font-size:1.25em;font-family:'wpDataTablesIcons'!important;display:inline-block;content:"\f006"}.wpdt-c .rating>span.full.rated:after{color:gold}.wpdt-c .rating>span.full:after{color:#ccc}.wpdt-c .rating>.half:before{content:"\e92c";margin:5px;font-size:1.25em;font-family:'wpDataTablesIcons'!important;display:inline-block;position:absolute;top:0;left:1px;color:gold}.wpdt-c .rating>.half-reflect:after{content:"\e92c";font-family:'wpDataTablesIcons'!important;transform:rotateY(180deg);color:#ccc}.wpdt-c table.bt thead,.wpdt-c table.bt tbody th{display:none}.wpdt-c table.bt tfoot th,.wpdt-c table.bt tfoot td,.wpdt-c table.bt tbody td{border:none;display:block;float:left\9;width:100%\9}.wpdt-c table.bt tfoot th.bt-hide,.wpdt-c table.bt tfoot td.bt-hide,.wpdt-c table.bt tbody td.bt-hide{display:none}.wdt-res-wrapper.active{max-height:310px;overflow:auto;-webkit-overflow-scrolling:touch}.wpdt-c table.bt.bt--no-header tfoot td::before,.wpdt-c table.bt.bt--no-header tbody td::before{display:none}.wpdt-c table.wpdtSimpleTable.columnBlock td{display:block;height:auto!important;border:1px solid #eee!important}.wpdt-c table.wpdtSimpleTable.bt td{height:auto!important;border:1px solid #ccc!important;white-space:normal;width:100%!important;box-sizing:border-box}.wpdt-c table.wpdtSimpleTable.bt[data-has-header='1'] td{width:50%!important;float:left}table.wpdtSimpleTable.bt[data-has-header='1'] td.wpdt-header-classes{background-color:#eee}.wpdt-c table.wpdtSimpleTable.bt tr.even td:not(:last-child){height:auto!important;border-bottom:1px solid #fff!important}.wpdt-c table.wpdtSimpleTable.bt tr,.wpdt-c table.wpdtSimpleTable.columnBlock tr{border:1px solid #ccc;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}
assets/js/wpdatatables/admin/common.js CHANGED
@@ -264,21 +264,12 @@ jQuery.fn.extend({
264
  $('.wdt-button-minus').attr('disabled', false);
265
  }
266
  } else {
267
- input.val(0).change();;
268
  }
269
  });
270
- $(".input-number").on("keydown", function (e) {
271
- // Allow: backspace, delete, tab, escape, enter and .
272
- if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 190]) !== -1 ||
273
- // Allow: Ctrl+A
274
- (e.keyCode == 65 && e.ctrlKey === true) ||
275
- // Allow: home, end, left, right
276
- (e.keyCode >= 35 && e.keyCode <= 39)) {
277
- // let it happen, don't do anything
278
- return;
279
- }
280
- // Ensure that it is a number and stop the keypress
281
- if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
282
  e.preventDefault();
283
  }
284
  });
264
  $('.wdt-button-minus').attr('disabled', false);
265
  }
266
  } else {
267
+ input.val(1).change();
268
  }
269
  });
270
+ $(".input-number").on("change", function (e) {
271
+ var inputValue = $(this).val();
272
+ if (isNaN(inputValue)) {
 
 
 
 
 
 
 
 
 
273
  e.preventDefault();
274
  }
275
  });
config/config.inc.php CHANGED
@@ -9,7 +9,7 @@ defined('ABSPATH') or die("Cannot access pages directly.");
9
 
10
  // Current version
11
 
12
- define('WDT_CURRENT_VERSION', '2.1.13');
13
 
14
  /**
15
  * Regular Expressions
9
 
10
  // Current version
11
 
12
+ define('WDT_CURRENT_VERSION', '2.1.14');
13
 
14
  /**
15
  * Regular Expressions
controllers/wdt_admin.php CHANGED
@@ -236,6 +236,19 @@ function wdtAdminEnqueue($hook) {
236
 
237
  add_action('admin_enqueue_scripts', 'wdtAdminEnqueue');
238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  /**
240
  * Enqueue JS and CSS files for the Browse (wpDataTables) Page
241
  */
236
 
237
  add_action('admin_enqueue_scripts', 'wdtAdminEnqueue');
238
 
239
+ /**
240
+ + * Fix conflict with Gravity forms tooltips on back-end
241
+ + */
242
+ function wdtDeregisterGravityTooltipScriptLite(){
243
+ if (defined('GF_MIN_WP_VERSION') && isset($_GET['page']) &&
244
+ ((strpos($_GET['page'], 'wpdatatables') !== false)))
245
+ wp_deregister_script('gform_tooltip_init');
246
+ }
247
+
248
+ add_action('wpdatatables_enqueue_on_admin_pages', 'wdtDeregisterGravityTooltipScriptLite');
249
+
250
+ /**
251
+
252
  /**
253
  * Enqueue JS and CSS files for the Browse (wpDataTables) Page
254
  */
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: table, table builder, data tables, tables, charts, simple table, tables fr
6
  Requires at least: 4.0
7
  Tested up to: 5.7.2
8
  Requires PHP: 5.6
9
- Stable tag: 2.1.13
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -236,6 +236,14 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
236
 
237
  == Changelog ==
238
 
 
 
 
 
 
 
 
 
239
  = 2.1.13 =
240
  * New FREE addon: “Forminator Forms integration for wpDataTables” available. Tool that adds "Forminator Form" as a new table type and allows you to create wpDataTables from Forminator Forms submissions. More on this [link](https://wordpress.org/plugins/wpdatatables-forminator/).
241
  * BugFix: Fixed issue with strings in loops (conflict with other plugins).
6
  Requires at least: 4.0
7
  Tested up to: 5.7.2
8
  Requires PHP: 5.6
9
+ Stable tag: 2.1.14
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
236
 
237
  == Changelog ==
238
 
239
+ = 2.1.13 =
240
+ * Added new hooks wpdatatables_filter_int_cell_data_in_charts and wpdatatables_filter_float_cell_data_in_charts.</li>
241
+ * Bugfix: Fixed layout of copy to clipboard element.
242
+ * Bugfix: Fixed CSS issue in simple tables on mobile devices.
243
+ * Bugfix: Fixed issue with changing colors in charts.
244
+ * Bugfix: Fixed conflict on back-end with Gravity forms tooltips
245
+ * Other small bug fixes and stability improvements.
246
+
247
  = 2.1.13 =
248
  * New FREE addon: “Forminator Forms integration for wpDataTables” available. Tool that adds "Forminator Form" as a new table type and allows you to create wpDataTables from Forminator Forms submissions. More on this [link](https://wordpress.org/plugins/wpdatatables-forminator/).
249
  * BugFix: Fixed issue with strings in loops (conflict with other plugins).
source/class.wpdatachart.php CHANGED
@@ -789,7 +789,9 @@ class WPDataChart
789
  foreach ($this->_wpdatatable->getDataRows() as $row) {
790
  $return_data_row = array();
791
  foreach ($this->getSelectedColumns() as $columnKey) {
 
792
  $dataType = $this->_wpdatatable->getColumn($columnKey)->getDataType();
 
793
  switch ($dataType) {
794
  case 'date':
795
  $timestamp = is_int($row[$columnKey]) ? $row[$columnKey] : strtotime(str_replace('/', '-', $row[$columnKey]));
@@ -820,10 +822,36 @@ class WPDataChart
820
  );
821
  break;
822
  case 'int':
823
- $return_data_row[] = (float)$row[$columnKey];
 
 
 
 
 
824
  break;
825
  case 'float':
826
- $return_data_row[] = (float)$row[$columnKey];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
827
  break;
828
  case 'string':
829
  default:
789
  foreach ($this->_wpdatatable->getDataRows() as $row) {
790
  $return_data_row = array();
791
  foreach ($this->getSelectedColumns() as $columnKey) {
792
+ $decimalPlaces =$this->_wpdatatable->getColumn($columnKey)->getDecimalPlaces();
793
  $dataType = $this->_wpdatatable->getColumn($columnKey)->getDataType();
794
+ $thousandsSeparator = $this->_wpdatatable->getColumn($columnKey)->isShowThousandsSeparator();
795
  switch ($dataType) {
796
  case 'date':
797
  $timestamp = is_int($row[$columnKey]) ? $row[$columnKey] : strtotime(str_replace('/', '-', $row[$columnKey]));
822
  );
823
  break;
824
  case 'int':
825
+ if (has_filter('wpdatatables_filter_int_cell_data_in_charts')) {
826
+ $row[$columnKey] = apply_filters('wpdatatables_filter_int_cell_data_in_charts', $row[$columnKey], $columnKey, $this->_wpdatatable->getWpId());
827
+ $return_data_row[] = $row[$columnKey];
828
+ } else {
829
+ $return_data_row[] = (float)$row[$columnKey];
830
+ }
831
  break;
832
  case 'float':
833
+ if (has_filter('wpdatatables_filter_float_cell_data_in_charts')) {
834
+ $row[$columnKey] = apply_filters('wpdatatables_filter_float_cell_data_in_charts', $row[$columnKey], $columnKey, $this->_wpdatatable->getWpId());
835
+ if ($decimalPlaces != -1){
836
+ $return_data_row[] = number_format(
837
+ ($row[$columnKey]),
838
+ $decimalPlaces,
839
+ '.',
840
+ $thousandsSeparator ? '' : '.');
841
+ }else {
842
+ $return_data_row[] = $row[$columnKey];
843
+ }
844
+ } else {
845
+ if ($decimalPlaces != -1){
846
+ $return_data_row[] = (float)number_format(
847
+ (float)($row[$columnKey]),
848
+ $decimalPlaces,
849
+ '.',
850
+ $thousandsSeparator ? '' : '.');
851
+ }else {
852
+ $return_data_row[] = (float)$row[$columnKey];
853
+ }
854
+ }
855
  break;
856
  case 'string':
857
  default:
templates/admin/chart_wizard/chart_wizard.inc.php CHANGED
@@ -145,7 +145,7 @@
145
  <div class="fg-line">
146
  <div class="row">
147
  <div class="col-sm-12">
148
- <input type="text" name="font-name" id="series-label-{{>orig_header}}" value="{{>label}}" class="form-control input-sm series-label" />
149
  </div>
150
  </div>
151
  </div>
@@ -159,7 +159,7 @@
159
  <div class="form-group">
160
  <div class="fg-line dropdown">
161
  <div id="cp" class="input-group wdt-color-picker">
162
- <input type="text" id="series-color-{{>orig_header}}" value="" class="form-control cp-value wdt-add-picker series-color" />
163
  <span class="input-group-addon wpcolorpicker-icon"><i></i></span>
164
  </div>
165
  </div>
145
  <div class="fg-line">
146
  <div class="row">
147
  <div class="col-sm-12">
148
+ <input type="text" name="font-name" id="series-label-{{:#index}}" value="{{>label}}" class="form-control input-sm series-label" />
149
  </div>
150
  </div>
151
  </div>
159
  <div class="form-group">
160
  <div class="fg-line dropdown">
161
  <div id="cp" class="input-group wdt-color-picker">
162
+ <input type="text" id="series-color-{{:#index}}" value="" class="form-control cp-value wdt-add-picker series-color" />
163
  <span class="input-group-addon wpcolorpicker-icon"><i></i></span>
164
  </div>
165
  </div>
templates/admin/dashboard/dashboard.inc.php CHANGED
@@ -337,21 +337,17 @@ $tableChartsCount = WDTTools::getTablesCount('chart');
337
  </span>
338
  </p>
339
  <p class="wpdt-text wpdt-font m-b-18">
340
- <?php _e('A minor update with a couple of bug fixes and stability improvements:', 'wpdatatables'); ?>
341
  </p>
342
  <div class="alert alert-info m-b-0" role="alert">
343
  <i class="wpdt-icon-info-circle-full"></i>
344
  <ul>
345
- <li> <?php _e('<strong>New FREE addon: “Forminator Froms integration for wpDataTables” available. </strong> Tool that adds "Forminator Form" as a new table type and allows you to create wpDataTables from Forminator Forms submissions. More on this', 'wpdatatables'); ?>
346
- <a href="https://wordpress.org/plugins/wpdatatables-forminator/" target="_blank" ><?php _e('link.', 'wpdatatables'); ?></a>
347
- </li>
348
- <li> <?php _e('<strong>Bugfix:</strong> Fixed issue with strings in loops (conflict with other plugins).', 'wpdatatables'); ?></li>
349
- <li> <?php _e('<strong>Bugfix:</strong> Fixed issue with color-picker visibility in column color option on small screens.', 'wpdatatables'); ?></li>
350
- <li> <?php _e('<strong>BugFix:</strong> Fixed issue with showing quotes in chart.', 'wpdatatables'); ?></li>
351
- <li> <?php _e('<strong>BugFix:</strong> Fixed issue with Notice message on Dashboard page.', 'wpdatatables'); ?></li>
352
- <li> <?php _e('<strong>BugFix:</strong> Fixed issue with JS notices about sourceMappingURLs.', 'wpdatatables'); ?></li>
353
- <li> <?php _e('Compatibility with WordPress 5.7.2 approved.', 'wpdatatables'); ?></li>
354
- <li> <?php _e('Other small bug fixes and stability improvements.', 'wpdatatables'); ?></li>
355
  </ul>
356
  </div>
357
 
@@ -728,7 +724,7 @@ $tableChartsCount = WDTTools::getTablesCount('chart');
728
  <?php _e('Appointments and Events WordPress Booking Plugin', 'wpdatatables'); ?>
729
  </div>
730
  <p class="wpdt-text wpdt-font m-b-0">
731
- <?php _e('Amelia Lite is a free appointment booking WordPress plugin that allows to set up a fully-featured automated booking system on your WordPress website and is a handy tool for small businesses and individuals that depend on stable appointment booking processes. 20,000+ businesses from healthcare, beauty, sports, automotive, educational, creative, HR and other industries use Amelia to flawlessly manage 130,000+ appointments and events worldwide each month.', 'wpdatatables'); ?></p>
732
  <p>
733
  <span class="wdt-stars-container stars-88">★★★★★</span>
734
  <span class="wdt-rating"> <?php _e('Rating: 4.3 - ‎97 reviews') ?></span>
337
  </span>
338
  </p>
339
  <p class="wpdt-text wpdt-font m-b-18">
340
+ A minor update with a couple of bug fixes and stability improvements:
341
  </p>
342
  <div class="alert alert-info m-b-0" role="alert">
343
  <i class="wpdt-icon-info-circle-full"></i>
344
  <ul>
345
+ <li> Added new hooks wpdatatables_filter_int_cell_data_in_charts and wpdatatables_filter_float_cell_data_in_charts.</li>
346
+ <li> <strong>Bugfix:</strong> Fixed layout of copy to clipboard element.</li>
347
+ <li> <strong>Bugfix:</strong> Fixed CSS issue in simple tables on mobile devices.</li>
348
+ <li> <strong>Bugfix:</strong> Fixed issue with changing colors in charts.</li>
349
+ <li> <strong>Bugfix:</strong> Fixed conflict on back-end with Gravity forms tooltips</li>
350
+ <li> Other small bug fixes and stability improvements.</li>
 
 
 
 
351
  </ul>
352
  </div>
353
 
724
  <?php _e('Appointments and Events WordPress Booking Plugin', 'wpdatatables'); ?>
725
  </div>
726
  <p class="wpdt-text wpdt-font m-b-0">
727
+ <?php _e('Amelia Lite is a free appointment booking WordPress plugin that allows to set up a fully-featured automated booking system on your WordPress website and is a handy tool for small businesses and individuals that depend on stable appointment booking processes. 30,000+ businesses from healthcare, beauty, sports, automotive, educational, creative, HR and other industries use Amelia to flawlessly manage 300,000+ appointments and events worldwide each month.', 'wpdatatables'); ?></p>
728
  <p>
729
  <span class="wdt-stars-container stars-88">★★★★★</span>
730
  <span class="wdt-rating"> <?php _e('Rating: 4.3 - ‎97 reviews') ?></span>
templates/admin/settings/tabs/main_plugin_settings.php CHANGED
@@ -299,7 +299,7 @@
299
  <h4 class="c-title-color m-b-2">
300
  <?php _e('Align numbers', 'wpdatatables'); ?>
301
  <i class="wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="right"
302
- title="<?php _e('How "Integer" and "Float" column types will be aligned in the cell', 'wpdatatables'); ?>"></i>
303
  </h4>
304
  <div class="toggle-switch" data-ts-color="blue">
305
  <input type="checkbox" name="wdt-numbers-align" id="wdt-numbers-align" checked="checked"/>
299
  <h4 class="c-title-color m-b-2">
300
  <?php _e('Align numbers', 'wpdatatables'); ?>
301
  <i class="wpdt-icon-info-circle-thin" data-toggle="tooltip" data-placement="right"
302
+ title="<?php _e('How Integer and Float column types will be aligned in the cell', 'wpdatatables'); ?>"></i>
303
  </h4>
304
  <div class="toggle-switch" data-ts-color="blue">
305
  <input type="checkbox" name="wdt-numbers-align" id="wdt-numbers-align" checked="checked"/>
wpdatatables.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: wpDataTables - Tables & Table Charts
4
  Plugin URI: https://wpdatatables.com
5
  Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
6
- Version: 2.1.13
7
  Author: TMS-Plugins
8
  Author URI: https://tms-outsource.com
9
  Text Domain: wpdatatables
3
  Plugin Name: wpDataTables - Tables & Table Charts
4
  Plugin URI: https://wpdatatables.com
5
  Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
6
+ Version: 2.1.14
7
  Author: TMS-Plugins
8
  Author URI: https://tms-outsource.com
9
  Text Domain: wpdatatables