YITH WooCommerce Ajax Product Filter - Version 4.4.0

Version Description

  • Released on 11 November 2021 =

  • New: support for WooCommerce 5.9

  • Update: YITH Plugin Framework

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 4.4.0
Comparing to
See all releases

Code changes from version 4.3.0 to 4.4.0

init.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
5
  * Description: <code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products and improve the user experience of your shop. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
- * Version: 4.3.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
  * WC requires at least: 5.3
13
- * WC tested up to: 5.8
14
  *
15
  * @author YITH
16
  * @package YITH\AjaxProductFilter
@@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) {
44
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
45
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
46
  ! defined( 'YITH_WCAN_INC' ) && define( 'YITH_WCAN_INC', YITH_WCAN_DIR . 'includes/' );
47
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '4.3.0' );
48
  ! defined( 'YITH_WCAN_FREE_INIT' ) && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
49
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
50
  ! defined( 'YITH_WCAN_SLUG' ) && define( 'YITH_WCAN_SLUG', 'yith-woocommerce-ajax-navigation' );
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
5
  * Description: <code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products and improve the user experience of your shop. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
+ * Version: 4.4.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
  * WC requires at least: 5.3
13
+ * WC tested up to: 5.9
14
  *
15
  * @author YITH
16
  * @package YITH\AjaxProductFilter
44
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
45
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
46
  ! defined( 'YITH_WCAN_INC' ) && define( 'YITH_WCAN_INC', YITH_WCAN_DIR . 'includes/' );
47
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '4.4.0' );
48
  ! defined( 'YITH_WCAN_FREE_INIT' ) && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
49
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
50
  ! defined( 'YITH_WCAN_SLUG' ) && define( 'YITH_WCAN_SLUG', 'yith-woocommerce-ajax-navigation' );
languages/yith-woocommerce-ajax-navigation.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Ajax Navigation\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-ajax-product-filter\n"
8
- "POT-Creation-Date: 2021-10-11 13:52:03+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
5
  "Project-Id-Version: YITH WooCommerce Ajax Navigation\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-ajax-product-filter\n"
8
+ "POT-Creation-Date: 2021-11-11 14:34:24+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
plugin-fw/assets/css/yith-icon.css CHANGED
@@ -6,10 +6,10 @@
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
- src: url("../fonts/yith-icon.eot?6a1afec38f03f3d477d53db4cfdbc583");
10
- src: url("../fonts/yith-icon.eot?6a1afec38f03f3d477d53db4cfdbc583#iefix") format("embedded-opentype"),
11
- url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAB1MAAsAAAAAMOAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkr9Y21hcAAAAXwAAAFsAAAELq9J1B5nbHlmAAAC6AAAFs8AACWA/4p+QmhlYWQAABm4AAAAMAAAADYcLTZ4aGhlYQAAGegAAAAeAAAAJAQ1AiZobXR4AAAaCAAAACUAAADAXeL/7GxvY2EAABowAAAAYgAAAGLe9NaAbWF4cAAAGpQAAAAfAAAAIAFOAVZuYW1lAAAatAAAATAAAAIiyMcJZnBvc3QAABvkAAABaAAAAhO3QZWMeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/Mo4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfORnAnH1mNgYeIE0I4gDAI4PCEF4nO3U2VHDQBCE4V/yLZ/cYGMuc59VREIRBQEREE/kMo8bAfSoCQO5PtdqrWO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vTwg3VhdukoXCH/CTcxQDPwj36I+E+XjEXHuABAX/wOtVv93DCLdzhTbhN/124Q/4Q7uIRn8I9+t/CfWzwIzzAizc/py4ZpaEp1jo+ZoFtdAMbbQ+pKdTUnzTeShfaBk7v1PasDqd45lykImtytTSF01lmVGnNXofOT5wrF+NxJL4fmhxnpNwm4dYpQhgUWEMjxhEZN7ZX6v+dDTssDtSVUpjCx+RKbsVcUWcDVjR2zG6ZU+w9ceaMrkNEHTFjkJOWdWeVzngNnbKu7emE9H1OqLpKLDDmjf7k/Xp2/gurBGCqeJxtkFtz1DAMhXO6zjbNhqXc7xQodzCUnyRsJfHUsY3tdCf/nmQDPKEHzflmjjRHKk6Ktcri/3WFE2wgUGKLU1Q4Q40dGtzCHrdxjju4i3u4jwd4iEd4jCd4imd4jhd4iQu8wmu8wSXe4h3e4wM+4hM+4wu+QuIbvuMKP4qalPKjy8Z1NcXoD1L7g/sjLbd5t8pouj5Xqx5D/ZPctVQ9q2uxyEaRZacpStJ6/w8G73iq/qJQlPrmOCSVicpyeYRS2dm39MRC+TDtVGRtslQUtdCROrFgzRPLo0lvZtn0bMOcWvbkdGkG6rgxrvUy/RppnhcL7KxJWSamqPqz2eJMazhWAxkr/ZjLwbgxicFH3gaaAtlN0O02sA+WRbBjKiMHO809cRaJbrhJvWGr19NE8jHX2Qy8/qLMcT5xOwbrSVdj4ih925Y3RrM/P1B0S94cDbnO8v7g47xoXrw8P4nJ5L4ofgNHdZSp") format("woff"),
12
- url("../fonts/yith-icon.ttf?6a1afec38f03f3d477d53db4cfdbc583") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
@@ -39,18 +39,34 @@
39
  content: "\e91d";
40
  }
41
 
 
 
 
 
42
  .yith-icon-arrow-down:before {
43
  content: "\e900";
44
  }
45
 
 
 
 
 
46
  .yith-icon-arrow-left:before {
47
  content: "\e901";
48
  }
49
 
 
 
 
 
50
  .yith-icon-arrow-right:before {
51
  content: "\e902";
52
  }
53
 
 
 
 
 
54
  .yith-icon-arrow-up:before {
55
  content: "\e903";
56
  }
@@ -83,6 +99,10 @@
83
  content: "\e91f";
84
  }
85
 
 
 
 
 
86
  .yith-icon-check-circle:before {
87
  content: "\e921";
88
  }
@@ -95,6 +115,10 @@
95
  content: "\f105";
96
  }
97
 
 
 
 
 
98
  .yith-icon-close:before {
99
  content: "\e906";
100
  }
@@ -143,6 +167,10 @@
143
  content: "\f10d";
144
  }
145
 
 
 
 
 
146
  .yith-icon-magnifier:before {
147
  content: "\e908";
148
  }
@@ -151,10 +179,18 @@
151
  content: "\f109";
152
  }
153
 
 
 
 
 
154
  .yith-icon-minus:before {
155
  content: "\f10f";
156
  }
157
 
 
 
 
 
158
  .yith-icon-more:before {
159
  content: "\f102";
160
  }
@@ -175,6 +211,10 @@
175
  content: "\e916";
176
  }
177
 
 
 
 
 
178
  .yith-icon-plus:before {
179
  content: "\e90a";
180
  }
@@ -195,6 +235,10 @@
195
  content: "\e917";
196
  }
197
 
 
 
 
 
198
  .yith-icon-sort:before {
199
  content: "\f106";
200
  }
@@ -241,7 +285,7 @@
241
 
242
  /** Deprecated: use yith-icon-paypal instead */
243
  .yith-icon-paypal-svgrepo-com:before {
244
- content: "\e91b";
245
  }
246
 
247
  /** Deprecated: use yith-icon-arrow-down instead */
@@ -306,10 +350,10 @@
306
 
307
  /** Deprecated: use yith-icon-edit instead */
308
  .yith-icon-pencil:before {
309
- content: "\e907";
310
  }
311
 
312
  /** Deprecated: use yith-icon-reset instead */
313
  .yith-icon-update:before {
314
- content: "\e910";
315
  }
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
+ src: url("../fonts/yith-icon.eot?47f77c3e4343c8aa92110ae8ec8e9276");
10
+ src: url("../fonts/yith-icon.eot?47f77c3e4343c8aa92110ae8ec8e9276#iefix") format("embedded-opentype"),
11
+ url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAACAQAAsAAAAANcgAAQAAAAAAAA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JqP2K4kuTJtmI+StbmjunbZh2NGy88YJlXWRAndlmZ5oRe5oJ4Idh2uDFrYytNm5MHQcXhh/fGS9busk+QOYc8P5") format("woff"),
12
+ url("../fonts/yith-icon.ttf?47f77c3e4343c8aa92110ae8ec8e9276") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
39
  content: "\e91d";
40
  }
41
 
42
+ .yith-icon-arrow-down-alt:before {
43
+ content: "\f110";
44
+ }
45
+
46
  .yith-icon-arrow-down:before {
47
  content: "\e900";
48
  }
49
 
50
+ .yith-icon-arrow-left-alt:before {
51
+ content: "\f111";
52
+ }
53
+
54
  .yith-icon-arrow-left:before {
55
  content: "\e901";
56
  }
57
 
58
+ .yith-icon-arrow-right-alt:before {
59
+ content: "\f112";
60
+ }
61
+
62
  .yith-icon-arrow-right:before {
63
  content: "\e902";
64
  }
65
 
66
+ .yith-icon-arrow-up-alt:before {
67
+ content: "\f113";
68
+ }
69
+
70
  .yith-icon-arrow-up:before {
71
  content: "\e903";
72
  }
99
  content: "\e91f";
100
  }
101
 
102
+ .yith-icon-check-alt:before {
103
+ content: "\f114";
104
+ }
105
+
106
  .yith-icon-check-circle:before {
107
  content: "\e921";
108
  }
115
  content: "\f105";
116
  }
117
 
118
+ .yith-icon-close-alt:before {
119
+ content: "\f117";
120
+ }
121
+
122
  .yith-icon-close:before {
123
  content: "\e906";
124
  }
167
  content: "\f10d";
168
  }
169
 
170
+ .yith-icon-lock:before {
171
+ content: "\f119";
172
+ }
173
+
174
  .yith-icon-magnifier:before {
175
  content: "\e908";
176
  }
179
  content: "\f109";
180
  }
181
 
182
+ .yith-icon-minus-alt:before {
183
+ content: "\f118";
184
+ }
185
+
186
  .yith-icon-minus:before {
187
  content: "\f10f";
188
  }
189
 
190
+ .yith-icon-money-check:before {
191
+ content: "\f11a";
192
+ }
193
+
194
  .yith-icon-more:before {
195
  content: "\f102";
196
  }
211
  content: "\e916";
212
  }
213
 
214
+ .yith-icon-plus-alt:before {
215
+ content: "\f115";
216
+ }
217
+
218
  .yith-icon-plus:before {
219
  content: "\e90a";
220
  }
235
  content: "\e917";
236
  }
237
 
238
+ .yith-icon-sort-alt:before {
239
+ content: "\f116";
240
+ }
241
+
242
  .yith-icon-sort:before {
243
  content: "\f106";
244
  }
285
 
286
  /** Deprecated: use yith-icon-paypal instead */
287
  .yith-icon-paypal-svgrepo-com:before {
288
+ content: "\e91b";
289
  }
290
 
291
  /** Deprecated: use yith-icon-arrow-down instead */
350
 
351
  /** Deprecated: use yith-icon-edit instead */
352
  .yith-icon-pencil:before {
353
+ content: "\e907";
354
  }
355
 
356
  /** Deprecated: use yith-icon-reset instead */
357
  .yith-icon-update:before {
358
+ content: "\e910";
359
  }
plugin-fw/assets/css/yith-plugin-ui.css CHANGED
@@ -578,13 +578,21 @@
578
 
579
  .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
580
  font-family: yith-icon;
581
- content: "";
582
  margin: 0 8px 0 -5px;
583
- font-size: 15px;
584
  font-weight: 400;
585
  vertical-align: top;
586
  }
587
 
 
 
 
 
 
 
 
 
588
  .yith-plugin-ui .yith-plugin-fw__button--add.closed, .yith-plugin-ui .yith-add-button.closed, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed, .wp-core-ui .yith-plugin-ui .yith-add-button.closed {
589
  background: var(--yith-outline-bg);
590
  border: 1px solid var(--yith-outline-border);
@@ -605,12 +613,9 @@
605
  }
606
 
607
  .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .yith-plugin-ui .yith-add-button.closed:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:before {
608
- font-family: yith-icon;
609
- content: "";
610
  margin: 0 8px 0 -5px;
611
- font-size: 15px;
612
- font-weight: 400;
613
- vertical-align: top;
614
  }
615
 
616
  .yith-plugin-ui .yith-plugin-fw__button--close, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close {
@@ -634,9 +639,9 @@
634
 
635
  .yith-plugin-ui .yith-plugin-fw__button--close:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:before {
636
  font-family: yith-icon;
637
- content: "";
638
  margin: 0 8px 0 -5px;
639
- font-size: 15px;
640
  font-weight: 400;
641
  vertical-align: top;
642
  }
@@ -664,7 +669,7 @@
664
  font-family: yith-icon;
665
  content: "";
666
  margin: 0 8px 0 -5px;
667
- font-size: 15px;
668
  font-weight: 400;
669
  vertical-align: top;
670
  }
@@ -692,7 +697,7 @@
692
  font-family: yith-icon;
693
  content: "";
694
  margin: 0 8px 0 -5px;
695
- font-size: 15px;
696
  font-weight: 400;
697
  vertical-align: top;
698
  }
@@ -720,7 +725,7 @@
720
  font-family: yith-icon;
721
  content: "";
722
  margin: 0 8px 0 -5px;
723
- font-size: 15px;
724
  font-weight: 400;
725
  vertical-align: top;
726
  }
@@ -748,7 +753,7 @@
748
  font-family: yith-icon;
749
  content: "";
750
  margin: 0 8px 0 -5px;
751
- font-size: 15px;
752
  font-weight: 400;
753
  vertical-align: top;
754
  }
@@ -829,7 +834,7 @@
829
  top: 50%;
830
  left: 10px;
831
  transform: translateY(-50%);
832
- font-size: 1.15em;
833
  font-weight: 400;
834
  }
835
 
@@ -1234,7 +1239,7 @@ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator {
1234
 
1235
  table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1236
  font-family: yith-icon;
1237
- content: "\f106";
1238
  color: inherit;
1239
  font-size: 10px;
1240
  top: 0;
@@ -1244,14 +1249,14 @@ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1244
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1245
  table.yith-plugin-fw__classic-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1246
  table.yith-plugin-fw__classic-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1247
- content: "\e903";
1248
  font-weight: 600;
1249
  }
1250
 
1251
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1252
  table.yith-plugin-fw__classic-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1253
  table.yith-plugin-fw__classic-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1254
- content: "\e900";
1255
  font-weight: 600;
1256
  }
1257
 
@@ -1346,7 +1351,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator {
1346
 
1347
  table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1348
  font-family: yith-icon;
1349
- content: "\f106";
1350
  color: inherit;
1351
  font-size: 10px;
1352
  top: 0;
@@ -1356,14 +1361,14 @@ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1356
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1357
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1358
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1359
- content: "\e903";
1360
  font-weight: 600;
1361
  }
1362
 
1363
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1364
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1365
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1366
- content: "\e900";
1367
  font-weight: 600;
1368
  }
1369
 
@@ -1446,7 +1451,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1446
 
1447
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before {
1448
  font-family: yith-icon;
1449
- content: "\f106";
1450
  color: inherit;
1451
  font-size: 10px;
1452
  top: 0;
@@ -1458,7 +1463,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1458
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1459
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1460
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1461
- content: "\e903";
1462
  font-weight: 600;
1463
  }
1464
 
@@ -1467,7 +1472,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1467
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1468
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1469
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1470
- content: "\e900";
1471
  font-weight: 600;
1472
  }
1473
 
@@ -1572,7 +1577,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1572
 
1573
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before {
1574
  font-family: yith-icon;
1575
- content: "\f106";
1576
  color: inherit;
1577
  font-size: 10px;
1578
  top: 0;
@@ -1584,7 +1589,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1584
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1585
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1586
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1587
- content: "\e903";
1588
  font-weight: 600;
1589
  }
1590
 
@@ -1593,7 +1598,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1593
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1594
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1595
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1596
- content: "\e900";
1597
  font-weight: 600;
1598
  }
1599
 
578
 
579
  .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
580
  font-family: yith-icon;
581
+ content: "";
582
  margin: 0 8px 0 -5px;
583
+ font-size: 1.15em;
584
  font-weight: 400;
585
  vertical-align: top;
586
  }
587
 
588
+ .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
589
+ display: inline-block;
590
+ margin: 0 10px 0 -5px;
591
+ font-size: .95em;
592
+ transition: transform .2s, margin .2s, font-size .2s;
593
+ transition-timing-function: ease-in-out;
594
+ }
595
+
596
  .yith-plugin-ui .yith-plugin-fw__button--add.closed, .yith-plugin-ui .yith-add-button.closed, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed, .wp-core-ui .yith-plugin-ui .yith-add-button.closed {
597
  background: var(--yith-outline-bg);
598
  border: 1px solid var(--yith-outline-border);
613
  }
614
 
615
  .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .yith-plugin-ui .yith-add-button.closed:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:before {
616
+ font-size: 1.15em;
 
617
  margin: 0 8px 0 -5px;
618
+ transform: rotate(-45deg);
 
 
619
  }
620
 
621
  .yith-plugin-ui .yith-plugin-fw__button--close, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close {
639
 
640
  .yith-plugin-ui .yith-plugin-fw__button--close:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:before {
641
  font-family: yith-icon;
642
+ content: "";
643
  margin: 0 8px 0 -5px;
644
+ font-size: 1.15em;
645
  font-weight: 400;
646
  vertical-align: top;
647
  }
669
  font-family: yith-icon;
670
  content: "";
671
  margin: 0 8px 0 -5px;
672
+ font-size: 1.15em;
673
  font-weight: 400;
674
  vertical-align: top;
675
  }
697
  font-family: yith-icon;
698
  content: "";
699
  margin: 0 8px 0 -5px;
700
+ font-size: 1.15em;
701
  font-weight: 400;
702
  vertical-align: top;
703
  }
725
  font-family: yith-icon;
726
  content: "";
727
  margin: 0 8px 0 -5px;
728
+ font-size: 1.15em;
729
  font-weight: 400;
730
  vertical-align: top;
731
  }
753
  font-family: yith-icon;
754
  content: "";
755
  margin: 0 8px 0 -5px;
756
+ font-size: 1.15em;
757
  font-weight: 400;
758
  vertical-align: top;
759
  }
834
  top: 50%;
835
  left: 10px;
836
  transform: translateY(-50%);
837
+ font-size: 1em;
838
  font-weight: 400;
839
  }
840
 
1239
 
1240
  table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1241
  font-family: yith-icon;
1242
+ content: "\f116";
1243
  color: inherit;
1244
  font-size: 10px;
1245
  top: 0;
1249
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1250
  table.yith-plugin-fw__classic-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1251
  table.yith-plugin-fw__classic-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1252
+ content: "\f113";
1253
  font-weight: 600;
1254
  }
1255
 
1256
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1257
  table.yith-plugin-fw__classic-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1258
  table.yith-plugin-fw__classic-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1259
+ content: "\f110";
1260
  font-weight: 600;
1261
  }
1262
 
1351
 
1352
  table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1353
  font-family: yith-icon;
1354
+ content: "\f116";
1355
  color: inherit;
1356
  font-size: 10px;
1357
  top: 0;
1361
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1362
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1363
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1364
+ content: "\f113";
1365
  font-weight: 600;
1366
  }
1367
 
1368
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1369
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1370
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1371
+ content: "\f110";
1372
  font-weight: 600;
1373
  }
1374
 
1451
 
1452
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before {
1453
  font-family: yith-icon;
1454
+ content: "\f116";
1455
  color: inherit;
1456
  font-size: 10px;
1457
  top: 0;
1463
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1464
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1465
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1466
+ content: "\f113";
1467
  font-weight: 600;
1468
  }
1469
 
1472
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1473
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1474
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1475
+ content: "\f110";
1476
  font-weight: 600;
1477
  }
1478
 
1577
 
1578
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before {
1579
  font-family: yith-icon;
1580
+ content: "\f116";
1581
  color: inherit;
1582
  font-size: 10px;
1583
  top: 0;
1589
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1590
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1591
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1592
+ content: "\f113";
1593
  font-weight: 600;
1594
  }
1595
 
1598
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1599
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1600
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1601
+ content: "\f110";
1602
  font-weight: 600;
1603
  }
1604
 
plugin-fw/assets/fonts/yith-icon.eot CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.ttf CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.woff2 CHANGED
Binary file
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -215,6 +215,21 @@ jQuery( function ( $ ) {
215
  mainForm = $( '#plugin-fw-wc' ),
216
  saveButton = document.querySelector( '#main-save-button' );
217
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  function checkButtonPosition() {
219
  if ( isInViewport( saveButton ) ) {
220
  floatSaveButton.removeClass( 'visible' );
@@ -243,6 +258,9 @@ jQuery( function ( $ ) {
243
 
244
  $( document ).on( 'click', '#yith-plugin-fw-float-save-button', function ( e ) {
245
  e.preventDefault();
 
 
 
246
  floatSaveButton.block(
247
  {
248
  message : null,
215
  mainForm = $( '#plugin-fw-wc' ),
216
  saveButton = document.querySelector( '#main-save-button' );
217
 
218
+ function updateValuesForSpecialEditors() {
219
+ if ( 'tinyMCE' in window && 'triggerSave' in window.tinyMCE ) {
220
+ // Trigger saving to serialize the correct value for WP Editors.
221
+ window.tinyMCE.triggerSave();
222
+ }
223
+
224
+ // Trigger saving to serialize the correct value for each Codemirror Editor.
225
+ $( '.codemirror.codemirror--initialized' ).each( function () {
226
+ var editor = $( this ).data( 'codemirrorInstance' ) || false;
227
+ if ( editor && 'codemirror' in editor ) {
228
+ editor.codemirror.save();
229
+ }
230
+ } );
231
+ }
232
+
233
  function checkButtonPosition() {
234
  if ( isInViewport( saveButton ) ) {
235
  floatSaveButton.removeClass( 'visible' );
258
 
259
  $( document ).on( 'click', '#yith-plugin-fw-float-save-button', function ( e ) {
260
  e.preventDefault();
261
+
262
+ updateValuesForSpecialEditors();
263
+
264
  floatSaveButton.block(
265
  {
266
  message : null,
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){function t(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var t=e(this);if(!t.closest(".metaboxes-tab").length){t.addClass("deps-initialized");var a="#"+t.data("dep-target"),i="#"+t.data("dep-id"),n=t.data("dep-value"),s=t.data("dep-type");e(i).on("change",function(){!function(t,a,i,n){var s=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var d=e(a),o=d.attr("type"),r=d.val();switch(o){case"checkbox":r=d.is(":checked")?"yes":"no";break;case"radio":r=d.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){s=!0;break}s=!1}}var l=e(t),h=e(t+"-container").closest("tr");h.length<1&&(h=l.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var u,g=n.split("-");for(u in g){var f=g[u];if(s)switch(f){case"disable":h.removeClass("yith-disabled"),l.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":l.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(f){case"disable":h.addClass("yith-disabled"),l.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":l.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}(a,i,n.toString(),s)}).trigger("change")}})}t(),e(document).on("yith-add-box-button-toggle",t),e(".rm_connectedlist").each(function(){var t=e(this).find("ul"),a=e(this).find(":hidden");t.sortable({connectWith:t,update:function(i,n){var s={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),s[e(this).data("list")]=t}),a.val(JSON.stringify(s).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var a=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");i.addClass("inline"),a.length&&a.prepend(i),function(){var t=e(".yith-nav-sub-tab.nav-tab-active"),a=e(".yith-plugin-fw-wp-page__sub-tab-wrap");if(t.length&&!a.length){var i=e(".yith-plugin-fw-wp-page-wrapper");if(i.length||(i=e("#wpbody-content > .yith-plugin-ui")),i){var n=i.find(".yit-admin-panel-content-wrap");n.length?n.addClass("has-subnav"):i.find(".wrap").wrap('<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>')}}}(),function(){var t=e("#yith-plugin-fw-float-save-button"),a=e("#plugin-fw-wc"),i=document.querySelector("#main-save-button");function n(){var e,a;e=i.getBoundingClientRect(),a={width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight},e.top>=0&&e.left>=0&&e.top<=a.height&&e.left<=a.width?t.removeClass("visible"):t.addClass("visible")}t.length>0&&a.length>0&&(n(),document.addEventListener("scroll",n,{passive:!0}),e(document).on("click","#yith-plugin-fw-float-save-button",function(i){i.preventDefault(),t.block({message:null,overlayCSS:{background:"transparent",opacity:.6}}),e.post(document.location.href,a.serialize()).done(function(a){t.unblock().addClass("green").fadeOut(300).html('<i class="yith-icon yith-icon-check"></i>'+t.data("saved-label")).fadeIn(300).delay(2500).queue(function(a){t.fadeOut(500,function(){e(this).removeClass("green"),e(this).html('<i class="yith-icon yith-icon-save"></i>'+e(this).data("default-label")).fadeIn(500)}),a()}),window.onbeforeunload=null,e(document).trigger("yith-plugin-fw-float-save-button-after-saving",[a])})}))}()});
1
+ jQuery(function(e){function t(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var t=e(this);if(!t.closest(".metaboxes-tab").length){t.addClass("deps-initialized");var a="#"+t.data("dep-target"),i="#"+t.data("dep-id"),n=t.data("dep-value"),o=t.data("dep-type");e(i).on("change",function(){!function(t,a,i,n){var o=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var r=e(a),d=r.attr("type"),s=r.val();switch(d){case"checkbox":s=r.is(":checked")?"yes":"no";break;case"radio":s=r.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(s==i[c]){o=!0;break}o=!1}}var l=e(t),h=e(t+"-container").closest("tr");h.length<1&&(h=l.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var u,g=n.split("-");for(u in g){var f=g[u];if(o)switch(f){case"disable":h.removeClass("yith-disabled"),l.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":l.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(f){case"disable":h.addClass("yith-disabled"),l.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":l.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}(a,i,n.toString(),o)}).trigger("change")}})}t(),e(document).on("yith-add-box-button-toggle",t),e(".rm_connectedlist").each(function(){var t=e(this).find("ul"),a=e(this).find(":hidden");t.sortable({connectWith:t,update:function(i,n){var o={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),o[e(this).data("list")]=t}),a.val(JSON.stringify(o).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var a=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");i.addClass("inline"),a.length&&a.prepend(i),function(){var t=e(".yith-nav-sub-tab.nav-tab-active"),a=e(".yith-plugin-fw-wp-page__sub-tab-wrap");if(t.length&&!a.length){var i=e(".yith-plugin-fw-wp-page-wrapper");if(i.length||(i=e("#wpbody-content > .yith-plugin-ui")),i){var n=i.find(".yit-admin-panel-content-wrap");n.length?n.addClass("has-subnav"):i.find(".wrap").wrap('<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>')}}}(),function(){var t=e("#yith-plugin-fw-float-save-button"),a=e("#plugin-fw-wc"),i=document.querySelector("#main-save-button");function n(){var e,a;e=i.getBoundingClientRect(),a={width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight},e.top>=0&&e.left>=0&&e.top<=a.height&&e.left<=a.width?t.removeClass("visible"):t.addClass("visible")}t.length>0&&a.length>0&&(n(),document.addEventListener("scroll",n,{passive:!0}),e(document).on("click","#yith-plugin-fw-float-save-button",function(i){i.preventDefault(),"tinyMCE"in window&&"triggerSave"in window.tinyMCE&&window.tinyMCE.triggerSave(),e(".codemirror.codemirror--initialized").each(function(){var t=e(this).data("codemirrorInstance")||!1;t&&"codemirror"in t&&t.codemirror.save()}),t.block({message:null,overlayCSS:{background:"transparent",opacity:.6}}),e.post(document.location.href,a.serialize()).done(function(a){t.unblock().addClass("green").fadeOut(300).html('<i class="yith-icon yith-icon-check"></i>'+t.data("saved-label")).fadeIn(300).delay(2500).queue(function(a){t.fadeOut(500,function(){e(this).removeClass("green"),e(this).html('<i class="yith-icon yith-icon-save"></i>'+e(this).data("default-label")).fadeIn(500)}),a()}),window.onbeforeunload=null,e(document).trigger("yith-plugin-fw-float-save-button-after-saving",[a])})}))}()});
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -791,6 +791,23 @@
791
  $( '.select2-results' ).closest( '.select2-container' ).addClass( 'yith-plugin-fw-select2-container' );
792
  }
793
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
794
  /**
795
  * Dimensions
796
  */
791
  $( '.select2-results' ).closest( '.select2-container' ).addClass( 'yith-plugin-fw-select2-container' );
792
  }
793
  } );
794
+
795
+ /**
796
+ * Select2 - focus on search field when opened and the select is not multiple.
797
+ * For multiple select this is already handled by select2.
798
+ */
799
+ $( document ).on( 'select2:open', function ( e ) {
800
+ if ( !e.target.multiple ) {
801
+ setTimeout(
802
+ function () {
803
+ document.querySelector( '.yith-plugin-fw-select2-container .select2-search__field' ).focus();
804
+ },
805
+ 50
806
+ )
807
+ }
808
+ } );
809
+
810
+
811
  /**
812
  * Dimensions
813
  */
plugin-fw/assets/js/yith-fields.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={selectors:{imgPreview:".yith-plugin-fw-upload-img-preview",uploadButton:".yith-plugin-fw-upload-button",imgUrl:".yith-plugin-fw-upload-img-url",resetButton:".yith-plugin-fw-upload-button-reset"},onImageChange:function(){var i=e(this).val(),n=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(t.selectors.imgPreview).first();a.length<1&&(a=e(this).parent().parent().find(t.selectors.imgPreview).first()),n.test(i)?a.html('<img src="'+i+'" style="max-width:100px; max-height:100px;" />'):a.html("")},onButtonClick:function(i){i.preventDefault();var n,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(n)n.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(n=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var i=n.state().get("selection").first().toJSON(),l=e("#"+a+"-yith-attachment-id");e("#"+a).val(i.url),l.length&&l.val(i.id),t.triggerImageChange()}),n.open()}},onResetClick:function(){var i=e(this),n=i.attr("id").replace(/(\[|\])/g,"\\$1"),a=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),l=e("#"+n).data("default");e("#"+a).val(l),t.triggerImageChange()},triggerImageChange:function(){e(t.selectors.imgUrl).trigger("change")},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("change",t.selectors.imgUrl,t.onImageChange),e(document).on("click",t.selectors.uploadButton,t.onButtonClick),e(document).on("click",t.selectors.resetButton,t.onResetClick))}};t.initOnce();var i={selectors:{gallery:".yith-plugin-fw-image-gallery",notInitGallery:".yith-plugin-fw-image-gallery:not(.yith-plugin-fw-image-gallery--initialized)",button:".yith-plugin-fw-image-gallery .image-gallery-button",slideWrapper:"ul.slides-wrapper"},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(document).on("click",i.selectors.button,function(t){var n=e(this),a=n.closest(i.selectors.gallery),l=a.find(".image_gallery_ids"),o=l.val(),s=a.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:n.data("choose"),button:{text:n.data("update")},states:[new wp.media.controller.Library({title:n.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){if((e=e.toJSON()).id){o=o?o+","+e.id:e.id;var t=e.sizes.thumbnail||e.sizes.medium||e.sizes.large||e.sizes.full;s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+t.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+n.data("delete")+'">x</a></li></ul></li>')}}),l.val(o),l.trigger("change")}),r.open()})},init:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(i.selectors.notInitGallery).each(function(){e(this).addClass("yith-plugin-fw-image-gallery--initialized");var t=e(this).find(i.selectors.slideWrapper);t.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(n,a){var l="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");l=l+t+","}),t.closest(i.selectors.gallery).find(".image_gallery_ids").val(l)}})}),t.on("click","a.delete",function(t){t.preventDefault();var n=e(this).closest(i.selectors.gallery),a=n.find("ul.slides-wrapper"),l=n.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),a.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),l.val(o)})})}};i.initOnce(),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")});e(document).on("yith_fields_init",function(){var n=e(".yith-plugin-fw-datepicker:not(.yith-plugin-fw-datepicker--initialized)"),a=e(".yith-plugin-fw-colorpicker:not(.yith-plugin-fw-colorpicker--initialized)"),l=e(".yith-plugin-fw-sidebar-layout:not(.yith-plugin-fw-sidebar-layout--initialized)"),o=e(".yith-plugin-fw-slider-container:not(.yith-plugin-fw-slider-container--initialized)"),s=e(".yit-icons-manager-wrapper:not(.yit-icons-manager-wrapper--initialized)");n.each(function(){e(this).addClass("yith-plugin-fw-datepicker--initialized");var t=e(this),i=t.data(),n=t.next(".yith-icon-calendar");i.showAnim=!1,i.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},i.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},t.datepicker(i),n&&n.on("click",function(){t.datepicker("show")})}),a.each(function(){e(this).addClass("yith-plugin-fw-colorpicker--initialized"),e(this).wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.trigger("change")}});var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),l.each(function(){e(this).addClass("yith-plugin-fw-sidebar-layout--initialized"),e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),o.each(function(){e(this).addClass("yith-plugin-fw-slider-container--initialized");var t=e(this).find(".ui-slider-horizontal"),i=t.data("val"),n=t.data("min"),a=t.data("max"),l=t.data("step"),o=t.data("labels");t.slider({value:i,min:n,max:a,range:"min",step:l,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value).trigger("change"),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+o)}})}),s.each(function(){e(this).addClass("yit-icons-manager-wrapper--initialized");var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),c=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",c),n.val(o+":"+c),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("wc-enhanced-select-init"),e(document.body).trigger("yith-framework-enhanced-select-init"),e(document).trigger("yith-plugin-fw-codemirror-init"),t.triggerImageChange(),i.init()}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed").trigger("change"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("disabled")||t.trigger("click")}),e(document).on("click",".yith-plugin-fw-onoff-container input",function(t){e(this).is(":checked")?e(this).attr("value","yes").addClass("onoffchecked"):e(this).attr("value","no").removeClass("onoffchecked")}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var c=wp.template("yith-toggle-element-item-"+n),d=e(c({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(d).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(d).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(d).find("#"+n).val(a)}}),e(d).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,d,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(d),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).find('input[type="radio"]').filter('[value="'+e(this).data("value")+'"]').click(),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var n={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var t=n;e(document).on("click",t.selectors.units.single,t.unitChange),e(document).on("click",t.selectors.linked.button,t.linkedChange),e(document).on("change keyup",t.selectors.dimensions.number,t.numberChange)},unitChange:function(t){var i=e(this).closest(n.selectors.units.single),a=i.closest(n.selectors.units.wrapper),l=a.find(n.selectors.units.single),o=a.find(n.selectors.units.value).first(),s=i.data("value");l.removeClass(n.selectors.units.selectedClass),i.addClass(n.selectors.units.selectedClass),o.val(s).trigger("change")},linkedChange:function(){var t=e(this).closest(n.selectors.linked.button),i=t.closest(n.selectors.wrapper),a=t.find(n.selectors.linked.value);"yes"===a.val()?(i.removeClass(n.selectors.linked.wrapperActiveClass),a.val("no")):(i.addClass(n.selectors.linked.wrapperActiveClass),a.val("yes"),i.find(n.selectors.dimensions.number).first().trigger("change"))},numberChange:function(t){var i=e(this).closest(n.selectors.dimensions.number),a=i.closest(n.selectors.wrapper);a.hasClass(n.selectors.linked.wrapperActiveClass)&&a.find(n.selectors.dimensions.number).val(i.val())}};n.init();e(document).on("click",".yith-plugin-fw-copy-to-clipboard__copy",function(){var t,i=e(this).closest(".yith-plugin-fw-copy-to-clipboard"),n=i.find(".yith-plugin-fw-copy-to-clipboard__field"),a=i.find(".yith-plugin-fw-copy-to-clipboard__tip"),l=i.data("tip-timeout");l&&clearTimeout(l),n.select(),document.execCommand("copy"),(t="getSelection"in window&&window.getSelection())?"empty"in t?t.empty():"removeAllRanges"in t&&t.removeAllRanges():"selection"in document&&document.selection.empty(),a.fadeIn(400),l=setTimeout(function(){a.fadeOut(400)},1500),i.data("tip-timeout",l)});var a={init:function(){e(document).on("click",".yith-plugin-fw__action-button--has-menu",a.open),e(document).on("click",".yith-plugin-fw__action-button__menu",a.stopPropagation),e(document).on("click",a.closeAll)},closeAll:function(){e(".yith-plugin-fw__action-button--opened").removeClass("yith-plugin-fw__action-button--opened")},open:function(t){var i=e(this).closest(".yith-plugin-fw__action-button"),n=i.hasClass("yith-plugin-fw__action-button--opened");t.preventDefault(),t.stopPropagation(),a.closeAll(),n||i.addClass("yith-plugin-fw__action-button--opened")},stopPropagation:function(e){e.stopPropagation()}};a.init(),e(document).on("click","a.yith-plugin-fw__require-confirmation-link",function(t){var i=e(this).closest("a.yith-plugin-fw__require-confirmation-link"),n=i.attr("href");if(n&&"#"!==n&&(t.preventDefault(),t.stopPropagation(),"yith"in window&&"ui"in yith)){var a,l=["title","message","confirmButtonType","cancelButton","confirmButton"],o={};for(a in l){var s=l[a],r=i.data(s);void 0!==r&&(o[s]=r)}o.onConfirm=function(){window.location.href=n},o.closeAfterConfirm=!1,yith.ui.confirm(o)}}),e(document).on("yith-plugin-fw-tips-init",function(){e(".yith-plugin-fw__tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}).trigger("yith-plugin-fw-tips-init")}(jQuery);
1
+ !function(e){var t={selectors:{imgPreview:".yith-plugin-fw-upload-img-preview",uploadButton:".yith-plugin-fw-upload-button",imgUrl:".yith-plugin-fw-upload-img-url",resetButton:".yith-plugin-fw-upload-button-reset"},onImageChange:function(){var i=e(this).val(),n=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(t.selectors.imgPreview).first();a.length<1&&(a=e(this).parent().parent().find(t.selectors.imgPreview).first()),n.test(i)?a.html('<img src="'+i+'" style="max-width:100px; max-height:100px;" />'):a.html("")},onButtonClick:function(i){i.preventDefault();var n,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(n)n.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(n=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var i=n.state().get("selection").first().toJSON(),l=e("#"+a+"-yith-attachment-id");e("#"+a).val(i.url),l.length&&l.val(i.id),t.triggerImageChange()}),n.open()}},onResetClick:function(){var i=e(this),n=i.attr("id").replace(/(\[|\])/g,"\\$1"),a=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),l=e("#"+n).data("default");e("#"+a).val(l),t.triggerImageChange()},triggerImageChange:function(){e(t.selectors.imgUrl).trigger("change")},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("change",t.selectors.imgUrl,t.onImageChange),e(document).on("click",t.selectors.uploadButton,t.onButtonClick),e(document).on("click",t.selectors.resetButton,t.onResetClick))}};t.initOnce();var i={selectors:{gallery:".yith-plugin-fw-image-gallery",notInitGallery:".yith-plugin-fw-image-gallery:not(.yith-plugin-fw-image-gallery--initialized)",button:".yith-plugin-fw-image-gallery .image-gallery-button",slideWrapper:"ul.slides-wrapper"},initOnce:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(document).on("click",i.selectors.button,function(t){var n=e(this),a=n.closest(i.selectors.gallery),l=a.find(".image_gallery_ids"),o=l.val(),s=a.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:n.data("choose"),button:{text:n.data("update")},states:[new wp.media.controller.Library({title:n.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){if((e=e.toJSON()).id){o=o?o+","+e.id:e.id;var t=e.sizes.thumbnail||e.sizes.medium||e.sizes.large||e.sizes.full;s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+t.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+n.data("delete")+'">x</a></li></ul></li>')}}),l.val(o),l.trigger("change")}),r.open()})},init:function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&e(i.selectors.notInitGallery).each(function(){e(this).addClass("yith-plugin-fw-image-gallery--initialized");var t=e(this).find(i.selectors.slideWrapper);t.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(n,a){var l="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");l=l+t+","}),t.closest(i.selectors.gallery).find(".image_gallery_ids").val(l)}})}),t.on("click","a.delete",function(t){t.preventDefault();var n=e(this).closest(i.selectors.gallery),a=n.find("ul.slides-wrapper"),l=n.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),a.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),l.val(o)})})}};i.initOnce(),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")});e(document).on("yith_fields_init",function(){var n=e(".yith-plugin-fw-datepicker:not(.yith-plugin-fw-datepicker--initialized)"),a=e(".yith-plugin-fw-colorpicker:not(.yith-plugin-fw-colorpicker--initialized)"),l=e(".yith-plugin-fw-sidebar-layout:not(.yith-plugin-fw-sidebar-layout--initialized)"),o=e(".yith-plugin-fw-slider-container:not(.yith-plugin-fw-slider-container--initialized)"),s=e(".yit-icons-manager-wrapper:not(.yit-icons-manager-wrapper--initialized)");n.each(function(){e(this).addClass("yith-plugin-fw-datepicker--initialized");var t=e(this),i=t.data(),n=t.next(".yith-icon-calendar");i.showAnim=!1,i.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},i.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},t.datepicker(i),n&&n.on("click",function(){t.datepicker("show")})}),a.each(function(){e(this).addClass("yith-plugin-fw-colorpicker--initialized"),e(this).wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.trigger("change")}});var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),l.each(function(){e(this).addClass("yith-plugin-fw-sidebar-layout--initialized"),e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),o.each(function(){e(this).addClass("yith-plugin-fw-slider-container--initialized");var t=e(this).find(".ui-slider-horizontal"),i=t.data("val"),n=t.data("min"),a=t.data("max"),l=t.data("step"),o=t.data("labels");t.slider({value:i,min:n,max:a,range:"min",step:l,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value).trigger("change"),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+o)}})}),s.each(function(){e(this).addClass("yit-icons-manager-wrapper--initialized");var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),c=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",c),n.val(o+":"+c),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("wc-enhanced-select-init"),e(document.body).trigger("yith-framework-enhanced-select-init"),e(document).trigger("yith-plugin-fw-codemirror-init"),t.triggerImageChange(),i.init()}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed").trigger("change"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("disabled")||t.trigger("click")}),e(document).on("click",".yith-plugin-fw-onoff-container input",function(t){e(this).is(":checked")?e(this).attr("value","yes").addClass("onoffchecked"):e(this).attr("value","no").removeClass("onoffchecked")}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var c=wp.template("yith-toggle-element-item-"+n),d=e(c({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(d).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(d).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(d).find("#"+n).val(a)}}),e(d).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,d,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(d),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).find('input[type="radio"]').filter('[value="'+e(this).data("value")+'"]').click(),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")}),e(document).on("select2:open",function(e){e.target.multiple||setTimeout(function(){document.querySelector(".yith-plugin-fw-select2-container .select2-search__field").focus()},50)});var n={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var t=n;e(document).on("click",t.selectors.units.single,t.unitChange),e(document).on("click",t.selectors.linked.button,t.linkedChange),e(document).on("change keyup",t.selectors.dimensions.number,t.numberChange)},unitChange:function(t){var i=e(this).closest(n.selectors.units.single),a=i.closest(n.selectors.units.wrapper),l=a.find(n.selectors.units.single),o=a.find(n.selectors.units.value).first(),s=i.data("value");l.removeClass(n.selectors.units.selectedClass),i.addClass(n.selectors.units.selectedClass),o.val(s).trigger("change")},linkedChange:function(){var t=e(this).closest(n.selectors.linked.button),i=t.closest(n.selectors.wrapper),a=t.find(n.selectors.linked.value);"yes"===a.val()?(i.removeClass(n.selectors.linked.wrapperActiveClass),a.val("no")):(i.addClass(n.selectors.linked.wrapperActiveClass),a.val("yes"),i.find(n.selectors.dimensions.number).first().trigger("change"))},numberChange:function(t){var i=e(this).closest(n.selectors.dimensions.number),a=i.closest(n.selectors.wrapper);a.hasClass(n.selectors.linked.wrapperActiveClass)&&a.find(n.selectors.dimensions.number).val(i.val())}};n.init();e(document).on("click",".yith-plugin-fw-copy-to-clipboard__copy",function(){var t,i=e(this).closest(".yith-plugin-fw-copy-to-clipboard"),n=i.find(".yith-plugin-fw-copy-to-clipboard__field"),a=i.find(".yith-plugin-fw-copy-to-clipboard__tip"),l=i.data("tip-timeout");l&&clearTimeout(l),n.select(),document.execCommand("copy"),(t="getSelection"in window&&window.getSelection())?"empty"in t?t.empty():"removeAllRanges"in t&&t.removeAllRanges():"selection"in document&&document.selection.empty(),a.fadeIn(400),l=setTimeout(function(){a.fadeOut(400)},1500),i.data("tip-timeout",l)});var a={init:function(){e(document).on("click",".yith-plugin-fw__action-button--has-menu",a.open),e(document).on("click",".yith-plugin-fw__action-button__menu",a.stopPropagation),e(document).on("click",a.closeAll)},closeAll:function(){e(".yith-plugin-fw__action-button--opened").removeClass("yith-plugin-fw__action-button--opened")},open:function(t){var i=e(this).closest(".yith-plugin-fw__action-button"),n=i.hasClass("yith-plugin-fw__action-button--opened");t.preventDefault(),t.stopPropagation(),a.closeAll(),n||i.addClass("yith-plugin-fw__action-button--opened")},stopPropagation:function(e){e.stopPropagation()}};a.init(),e(document).on("click","a.yith-plugin-fw__require-confirmation-link",function(t){var i=e(this).closest("a.yith-plugin-fw__require-confirmation-link"),n=i.attr("href");if(n&&"#"!==n&&(t.preventDefault(),t.stopPropagation(),"yith"in window&&"ui"in yith)){var a,l=["title","message","confirmButtonType","cancelButton","confirmButton"],o={};for(a in l){var s=l[a],r=i.data(s);void 0!==r&&(o[s]=r)}o.onConfirm=function(){window.location.href=n},o.closeAfterConfirm=!1,yith.ui.confirm(o)}}),e(document).on("yith-plugin-fw-tips-init",function(){e(".yith-plugin-fw__tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}).trigger("yith-plugin-fw-tips-init")}(jQuery);
plugin-fw/dist/gutenberg/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => 'ea17c5cfdc7d32244b194c8f99ca8d15');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => 'ec5c5e974d97e00eb3f18286c25e0840');
plugin-fw/dist/gutenberg/index.js CHANGED
@@ -1 +1 @@
1
- !function(){var e,t={783:function(e,t,o){"use strict";var r=window.wp.element,n=window.React,a=o(568),l=o.n(a),s=window.wp.blocks,c=window.wp.url;function i(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const h=(0,r.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var d=window.lodash,p=o.n(d);const f=(e,t,o)=>{let r=!0;if(t&&t.id&&"value"in t){let n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=p().isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=(e,t)=>{const{controlType:o}=e;let r=!0;if(e.deps)if(p().isArray(e.deps))for(let n in e.deps){const a=e.deps[n];if(r=f(t,a,o),!r)break}else r=f(t,e.deps,o);return r},b=(e,t)=>{let o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{const r=e.attributes?Object.entries(e.attributes).map((([e,o])=>{const r=g(o,t),n=t[e];if(r&&void 0!==n)return e+"="+(o.remove_quotes?n:`"${n}"`)})):[],n=r.length?" "+r.join(" "):"";o=`[${e.shortcode_name}${n}]`}return o};var m=window.wp.components,y=window.wp.blockEditor,_=window.wp.hooks;class v extends n.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,o){const{shortcode:r,shortcodeHash:n,ajaxSuccess:a,ajaxResponse:l,ajaxUpdated:s}=this.state;(0,d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(a&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",r,n,l),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",r,n,l),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const o=b(t,e),r=l()(o);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,r),this.ajaxTimeout=setTimeout((()=>{((e,t=yithGutenberg.ajaxurl)=>(t=(0,c.addQueryArgs)(t,e),fetch(t).then(i).then(u)))({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:o,shortcodeHash:r,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:r})}render(){const{html:e,loading:t,firstLoading:o,shortcode:n,shortcodeHash:a}=this.state,{blockArgs:l}=this.props,{do_shortcode:s,title:c,empty_message:i}=l,u="block-editor-yith-plugin-fw-shortcode-block";let d=[u],p=s?"html":"shortcode",f=e,g="";o&&t?p="first-loading":s&&!e&&(p="empty-html",f=n,!t&&i&&(g=i));const b=["first-loading","empty-html","shortcode"].includes(p),y=!["first-loading","empty-html"].includes(p),_=!!g;return d.push(`${u}--${p}`),d.push(_?`${u}--has-message`:`${u}--no-message`),d.push(`yith_block_${a}`),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:d.join(" ")},t?(0,r.createElement)("div",{className:`${u}__spinner-wrap`},(0,r.createElement)(m.Spinner,null)):"",b&&(0,r.createElement)("div",{className:`${u}__title components-placeholder__label`},h,c),_&&(0,r.createElement)(r.RawHTML,{className:`${u}__message`},g),y&&(0,r.createElement)(r.RawHTML,{className:`${u}__content`},f)))}}var C=window.wp.compose;function k({className:e,label:t,onChange:o,value:n,help:a,disableAlpha:l}){const s=`inspector-yith-color-picker-control-${(0,C.useInstanceId)(k)}`;return(0,r.createElement)(m.BaseControl,{id:s,label:t,className:`block-editor-yith-color-control ${e}`,help:a},(0,r.createElement)(m.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:o}))}function w({label:e,colorValue:t}){return(0,r.createElement)(r.Fragment,null,e,!!t&&(0,r.createElement)(m.ColorIndicator,{colorValue:t}))}function x({className:e,label:t,onChange:o,value:n,help:a,palette:l,clearable:s}){l=l||(0,y.__experimentalUseEditorFeature)("color.palette");const c=`inspector-yith-color-palette-control-${(0,C.useInstanceId)(x)}`;return(0,r.createElement)(m.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${e}`,help:a},(0,r.createElement)("fieldset",null,(0,r.createElement)("legend",null,(0,r.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,r.createElement)(m.BaseControl.VisualLabel,null,(0,r.createElement)(w,{colorValue:n,label:t})))),(0,r.createElement)(m.ColorPalette,{value:n,onChange:o,colors:l,clearable:s})))}const j=(e,t)=>function({attributes:o,className:n,setAttributes:a}){const l=(e,t,o)=>{["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());let r={};r[t]=e,a(r)};return(0,r.createElement)(r.Fragment,null,!!t.attributes&&(0,r.createElement)(y.InspectorControls,null,(0,r.createElement)(m.PanelBody,null,Object.entries(t.attributes).map((([t,n])=>{const a=((t,n)=>{const{controlType:a}=n,s=o[t],c=((e,t)=>{let o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o})(n,s);let i=`${e}__${t}-field-wrapper`;const u=g(n,o);n.wrapper_class&&(i+=" "+n.wrapper_class);let h=!1;if(u)switch(a){case"select":h=(0,r.createElement)(m.SelectControl,{className:i,key:t,value:s,label:n.label,options:n.options,selected:s,help:c,multiple:!!n.multiple,onChange:e=>{l(e,t,a)}});break;case"text":h=(0,r.createElement)(m.TextControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"textarea":h=(0,r.createElement)(m.TextareaControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"toggle":h=(0,r.createElement)(m.ToggleControl,{className:i,key:t,value:s,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"checkbox":h=(0,r.createElement)(m.CheckboxControl,{className:i,key:t,value:s,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"number":case"range":h=(0,r.createElement)(m.RangeControl,{className:i,key:t,value:s,label:n.label,help:c,min:n.min,max:n.max,onChange:e=>{l(e,t,a)}});break;case"color":case"colorpicker":h=(0,r.createElement)(k,{className:i,key:t,label:n.label,help:c,value:s,disableAlpha:n.disableAlpha,onChange:e=>{l(e,t,a)}});break;case"color-palette":h=(0,r.createElement)(x,{className:i,key:t,label:n.label,help:c,value:s,clearable:n.clearable||!1,onChange:e=>{l(e,t,a)}});break;case"radio":h=(0,r.createElement)(m.RadioControl,{key:t,value:s,label:n.label,options:n.options,selected:s,checked:s,help:c,onChange:e=>{l(e,t,a)}});break;default:h=!1}return h})(t,n);if(a)return a})))),(0,r.createElement)(v,{attributes:o,blockArgs:t}))},E=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of E)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",((...t)=>{"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(t))}),e.delay):jQuery(document).trigger(e.key,Object.values(t)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:h,keywords:t.keywords,edit:j(e,t),save:({attributes:e})=>b(t,e),deprecated:[{attributes:t.attributes,save:({attributes:e})=>{const o=b(t,e),n='<span class="yith_block_'+l()(o)+'">'+o+"</span>";return(0,r.createElement)(r.RawHTML,null,n)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=t},12:function(e){var t,o;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var o=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?o.push(t.charAt(n>>>6*(3-a)&63)):o.push("=");return o.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&o.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(r))>>>6-2*n);return o}},e.exports=o},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,o){var r,n,a,l,s;r=o(12),n=o(487).utf8,a=o(738),l=o(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?l.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),c=8*e.length,i=1732584193,u=-271733879,h=-1732584194,d=271733878,p=0;p<o.length;p++)o[p]=16711935&(o[p]<<8|o[p]>>>24)|4278255360&(o[p]<<24|o[p]>>>8);o[c>>>5]|=128<<c%32,o[14+(c+64>>>9<<4)]=c;var f=s._ff,g=s._gg,b=s._hh,m=s._ii;for(p=0;p<o.length;p+=16){var y=i,_=u,v=h,C=d;i=f(i,u,h,d,o[p+0],7,-680876936),d=f(d,i,u,h,o[p+1],12,-389564586),h=f(h,d,i,u,o[p+2],17,606105819),u=f(u,h,d,i,o[p+3],22,-1044525330),i=f(i,u,h,d,o[p+4],7,-176418897),d=f(d,i,u,h,o[p+5],12,1200080426),h=f(h,d,i,u,o[p+6],17,-1473231341),u=f(u,h,d,i,o[p+7],22,-45705983),i=f(i,u,h,d,o[p+8],7,1770035416),d=f(d,i,u,h,o[p+9],12,-1958414417),h=f(h,d,i,u,o[p+10],17,-42063),u=f(u,h,d,i,o[p+11],22,-1990404162),i=f(i,u,h,d,o[p+12],7,1804603682),d=f(d,i,u,h,o[p+13],12,-40341101),h=f(h,d,i,u,o[p+14],17,-1502002290),i=g(i,u=f(u,h,d,i,o[p+15],22,1236535329),h,d,o[p+1],5,-165796510),d=g(d,i,u,h,o[p+6],9,-1069501632),h=g(h,d,i,u,o[p+11],14,643717713),u=g(u,h,d,i,o[p+0],20,-373897302),i=g(i,u,h,d,o[p+5],5,-701558691),d=g(d,i,u,h,o[p+10],9,38016083),h=g(h,d,i,u,o[p+15],14,-660478335),u=g(u,h,d,i,o[p+4],20,-405537848),i=g(i,u,h,d,o[p+9],5,568446438),d=g(d,i,u,h,o[p+14],9,-1019803690),h=g(h,d,i,u,o[p+3],14,-187363961),u=g(u,h,d,i,o[p+8],20,1163531501),i=g(i,u,h,d,o[p+13],5,-1444681467),d=g(d,i,u,h,o[p+2],9,-51403784),h=g(h,d,i,u,o[p+7],14,1735328473),i=b(i,u=g(u,h,d,i,o[p+12],20,-1926607734),h,d,o[p+5],4,-378558),d=b(d,i,u,h,o[p+8],11,-2022574463),h=b(h,d,i,u,o[p+11],16,1839030562),u=b(u,h,d,i,o[p+14],23,-35309556),i=b(i,u,h,d,o[p+1],4,-1530992060),d=b(d,i,u,h,o[p+4],11,1272893353),h=b(h,d,i,u,o[p+7],16,-155497632),u=b(u,h,d,i,o[p+10],23,-1094730640),i=b(i,u,h,d,o[p+13],4,681279174),d=b(d,i,u,h,o[p+0],11,-358537222),h=b(h,d,i,u,o[p+3],16,-722521979),u=b(u,h,d,i,o[p+6],23,76029189),i=b(i,u,h,d,o[p+9],4,-640364487),d=b(d,i,u,h,o[p+12],11,-421815835),h=b(h,d,i,u,o[p+15],16,530742520),i=m(i,u=b(u,h,d,i,o[p+2],23,-995338651),h,d,o[p+0],6,-198630844),d=m(d,i,u,h,o[p+7],10,1126891415),h=m(h,d,i,u,o[p+14],15,-1416354905),u=m(u,h,d,i,o[p+5],21,-57434055),i=m(i,u,h,d,o[p+12],6,1700485571),d=m(d,i,u,h,o[p+3],10,-1894986606),h=m(h,d,i,u,o[p+10],15,-1051523),u=m(u,h,d,i,o[p+1],21,-2054922799),i=m(i,u,h,d,o[p+8],6,1873313359),d=m(d,i,u,h,o[p+15],10,-30611744),h=m(h,d,i,u,o[p+6],15,-1560198380),u=m(u,h,d,i,o[p+13],21,1309151649),i=m(i,u,h,d,o[p+4],6,-145523070),d=m(d,i,u,h,o[p+11],10,-1120210379),h=m(h,d,i,u,o[p+2],15,718787259),u=m(u,h,d,i,o[p+9],21,-343485551),i=i+y>>>0,u=u+_>>>0,h=h+v>>>0,d=d+C>>>0}return r.endian([i,u,h,d])})._ff=function(e,t,o,r,n,a,l){var s=e+(t&o|~t&r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,o,r,n,a,l){var s=e+(t&r|o&~r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,o,r,n,a,l){var s=e+(t^o^r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,o,r,n,a,l){var s=e+(o^(t|~r))+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(s(e,t));return t&&t.asBytes?o:t&&t.asString?l.bytesToString(o):r.bytesToHex(o)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,o,n,a){if(!o){var l=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],a=e[u][2];for(var s=!0,c=0;c<o.length;c++)(!1&a||l>=a)&&Object.keys(r.O).every((function(e){return r.O[e](o[c])}))?o.splice(c--,1):(s=!1,a<l&&(l=a));if(s){e.splice(u--,1);var i=n();void 0!==i&&(t=i)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,n,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};r.O.j=function(t){return 0===e[t]};var t=function(t,o){var n,a,l=o[0],s=o[1],c=o[2],i=0;if(l.some((function(t){return 0!==e[t]}))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(c)var u=c(r)}for(t&&t(o);i<l.length;i++)a=l[i],r.o(e,a)&&e[a]&&e[a][0](),e[l[i]]=0;return r.O(u)},o=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var n=r.O(void 0,[46],(function(){return r(783)}));n=r.O(n)}();
1
+ !function(){var e,t={783:function(e,t,o){"use strict";var r=window.wp.element,n=window.React,a=o(568),l=o.n(a),s=window.wp.blocks,c=window.wp.url;function i(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const h=(0,r.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var d=window.lodash,p=o.n(d);const f=(e,t,o)=>{let r=!0;if(t&&t.id&&"value"in t){let n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=p().isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=(e,t)=>{const{controlType:o}=e;let r=!0;if(e.deps)if(p().isArray(e.deps))for(let n in e.deps){const a=e.deps[n];if(r=f(t,a,o),!r)break}else r=f(t,e.deps,o);return r},b=(e,t)=>{let o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{const r=e.attributes?Object.entries(e.attributes).map((([e,o])=>{const r=g(o,t),n=t[e];if(r&&void 0!==n)return e+"="+(o.remove_quotes?n:`"${n}"`)})):[],n=r.length?" "+r.join(" "):"";o=`[${e.shortcode_name}${n}]`}return o};var m=window.wp.components,y=window.wp.blockEditor,_=window.wp.hooks;class v extends n.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,o){const{shortcode:r,shortcodeHash:n,ajaxSuccess:a,ajaxResponse:l,ajaxUpdated:s}=this.state;(0,d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(a&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",r,n,l),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",r,n,l),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const o=b(t,e),r=l()(o);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,r),this.ajaxTimeout=setTimeout((()=>{((e,t=yithGutenberg.ajaxurl)=>(t=(0,c.addQueryArgs)(t,e),fetch(t).then(i).then(u)))({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:o,shortcodeHash:r,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:r})}render(){const{html:e,loading:t,firstLoading:o,shortcode:n,shortcodeHash:a}=this.state,{blockArgs:l}=this.props,{do_shortcode:s,title:c,empty_message:i}=l,u="block-editor-yith-plugin-fw-shortcode-block";let d=[u],p=s?"html":"shortcode",f=e,g="";o&&t?p="first-loading":s&&!e&&(p="empty-html",f=n,!t&&i&&(g=i));const b=["first-loading","empty-html","shortcode"].includes(p),y=!["first-loading","empty-html"].includes(p),_=!!g;return d.push(`${u}--${p}`),d.push(_?`${u}--has-message`:`${u}--no-message`),d.push(`yith_block_${a}`),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:d.join(" ")},t?(0,r.createElement)("div",{className:`${u}__spinner-wrap`},(0,r.createElement)(m.Spinner,null)):"",b&&(0,r.createElement)("div",{className:`${u}__title components-placeholder__label`},h,c),_&&(0,r.createElement)(r.RawHTML,{className:`${u}__message`},g),y&&(0,r.createElement)(r.RawHTML,{className:`${u}__content`},f)))}}var C=window.wp.compose;function w({className:e,label:t,onChange:o,value:n,help:a,disableAlpha:l}){const s=`inspector-yith-color-picker-control-${(0,C.useInstanceId)(w)}`;return(0,r.createElement)(m.BaseControl,{id:s,label:t,className:`block-editor-yith-color-control ${e}`,help:a},(0,r.createElement)(m.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:o}))}function k({label:e,colorValue:t}){return(0,r.createElement)(r.Fragment,null,e,!!t&&(0,r.createElement)(m.ColorIndicator,{colorValue:t}))}function x({className:e,label:t,onChange:o,value:n,help:a,palette:l,clearable:s}){l=l||(0,y.useSetting)("color.palette");const c=`inspector-yith-color-palette-control-${(0,C.useInstanceId)(x)}`;return(0,r.createElement)(m.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${e}`,help:a},(0,r.createElement)("fieldset",null,(0,r.createElement)("legend",null,(0,r.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,r.createElement)(m.BaseControl.VisualLabel,null,(0,r.createElement)(k,{colorValue:n,label:t})))),(0,r.createElement)(m.ColorPalette,{value:n,onChange:o,colors:l,clearable:s})))}const j=(e,t)=>function({attributes:o,className:n,setAttributes:a}){const l=(e,t,o)=>{["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());let r={};r[t]=e,a(r)};return(0,r.createElement)(r.Fragment,null,!!t.attributes&&(0,r.createElement)(y.InspectorControls,null,(0,r.createElement)(m.PanelBody,null,Object.entries(t.attributes).map((([t,n])=>{const a=((t,n)=>{const{controlType:a}=n,s=o[t],c=((e,t)=>{let o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o})(n,s);let i=`${e}__${t}-field-wrapper`;const u=g(n,o);n.wrapper_class&&(i+=" "+n.wrapper_class);let h=!1;if(u)switch(a){case"select":h=(0,r.createElement)(m.SelectControl,{className:i,key:t,value:s,label:n.label,options:n.options,help:c,multiple:!!n.multiple,onChange:e=>{l(e,t,a)}});break;case"text":h=(0,r.createElement)(m.TextControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"textarea":h=(0,r.createElement)(m.TextareaControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"toggle":h=(0,r.createElement)(m.ToggleControl,{className:i,key:t,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"checkbox":h=(0,r.createElement)(m.CheckboxControl,{className:i,key:t,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"number":case"range":h=(0,r.createElement)(m.RangeControl,{className:i,key:t,value:s,label:n.label,help:c,min:n.min,max:n.max,onChange:e=>{l(e,t,a)}});break;case"color":case"colorpicker":h=(0,r.createElement)(w,{className:i,key:t,label:n.label,help:c,value:s,disableAlpha:n.disableAlpha,onChange:e=>{l(e,t,a)}});break;case"color-palette":h=(0,r.createElement)(x,{className:i,key:t,label:n.label,help:c,value:s,clearable:n.clearable||!1,onChange:e=>{l(e,t,a)}});break;case"radio":h=(0,r.createElement)(m.RadioControl,{key:t,label:n.label,options:n.options,selected:s,help:c,onChange:e=>{l(e,t,a)}});break;default:h=!1}return h})(t,n);if(a)return a})))),(0,r.createElement)(v,{attributes:o,blockArgs:t}))},E=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of E)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",((...t)=>{"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(t))}),e.delay):jQuery(document).trigger(e.key,Object.values(t)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:h,keywords:t.keywords,edit:j(e,t),save:({attributes:e})=>b(t,e),deprecated:[{attributes:t.attributes,save:({attributes:e})=>{const o=b(t,e),n='<span class="yith_block_'+l()(o)+'">'+o+"</span>";return(0,r.createElement)(r.RawHTML,null,n)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=t},12:function(e){var t,o;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var o=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?o.push(t.charAt(n>>>6*(3-a)&63)):o.push("=");return o.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&o.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(r))>>>6-2*n);return o}},e.exports=o},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,o){var r,n,a,l,s;r=o(12),n=o(487).utf8,a=o(738),l=o(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?l.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),c=8*e.length,i=1732584193,u=-271733879,h=-1732584194,d=271733878,p=0;p<o.length;p++)o[p]=16711935&(o[p]<<8|o[p]>>>24)|4278255360&(o[p]<<24|o[p]>>>8);o[c>>>5]|=128<<c%32,o[14+(c+64>>>9<<4)]=c;var f=s._ff,g=s._gg,b=s._hh,m=s._ii;for(p=0;p<o.length;p+=16){var y=i,_=u,v=h,C=d;i=f(i,u,h,d,o[p+0],7,-680876936),d=f(d,i,u,h,o[p+1],12,-389564586),h=f(h,d,i,u,o[p+2],17,606105819),u=f(u,h,d,i,o[p+3],22,-1044525330),i=f(i,u,h,d,o[p+4],7,-176418897),d=f(d,i,u,h,o[p+5],12,1200080426),h=f(h,d,i,u,o[p+6],17,-1473231341),u=f(u,h,d,i,o[p+7],22,-45705983),i=f(i,u,h,d,o[p+8],7,1770035416),d=f(d,i,u,h,o[p+9],12,-1958414417),h=f(h,d,i,u,o[p+10],17,-42063),u=f(u,h,d,i,o[p+11],22,-1990404162),i=f(i,u,h,d,o[p+12],7,1804603682),d=f(d,i,u,h,o[p+13],12,-40341101),h=f(h,d,i,u,o[p+14],17,-1502002290),i=g(i,u=f(u,h,d,i,o[p+15],22,1236535329),h,d,o[p+1],5,-165796510),d=g(d,i,u,h,o[p+6],9,-1069501632),h=g(h,d,i,u,o[p+11],14,643717713),u=g(u,h,d,i,o[p+0],20,-373897302),i=g(i,u,h,d,o[p+5],5,-701558691),d=g(d,i,u,h,o[p+10],9,38016083),h=g(h,d,i,u,o[p+15],14,-660478335),u=g(u,h,d,i,o[p+4],20,-405537848),i=g(i,u,h,d,o[p+9],5,568446438),d=g(d,i,u,h,o[p+14],9,-1019803690),h=g(h,d,i,u,o[p+3],14,-187363961),u=g(u,h,d,i,o[p+8],20,1163531501),i=g(i,u,h,d,o[p+13],5,-1444681467),d=g(d,i,u,h,o[p+2],9,-51403784),h=g(h,d,i,u,o[p+7],14,1735328473),i=b(i,u=g(u,h,d,i,o[p+12],20,-1926607734),h,d,o[p+5],4,-378558),d=b(d,i,u,h,o[p+8],11,-2022574463),h=b(h,d,i,u,o[p+11],16,1839030562),u=b(u,h,d,i,o[p+14],23,-35309556),i=b(i,u,h,d,o[p+1],4,-1530992060),d=b(d,i,u,h,o[p+4],11,1272893353),h=b(h,d,i,u,o[p+7],16,-155497632),u=b(u,h,d,i,o[p+10],23,-1094730640),i=b(i,u,h,d,o[p+13],4,681279174),d=b(d,i,u,h,o[p+0],11,-358537222),h=b(h,d,i,u,o[p+3],16,-722521979),u=b(u,h,d,i,o[p+6],23,76029189),i=b(i,u,h,d,o[p+9],4,-640364487),d=b(d,i,u,h,o[p+12],11,-421815835),h=b(h,d,i,u,o[p+15],16,530742520),i=m(i,u=b(u,h,d,i,o[p+2],23,-995338651),h,d,o[p+0],6,-198630844),d=m(d,i,u,h,o[p+7],10,1126891415),h=m(h,d,i,u,o[p+14],15,-1416354905),u=m(u,h,d,i,o[p+5],21,-57434055),i=m(i,u,h,d,o[p+12],6,1700485571),d=m(d,i,u,h,o[p+3],10,-1894986606),h=m(h,d,i,u,o[p+10],15,-1051523),u=m(u,h,d,i,o[p+1],21,-2054922799),i=m(i,u,h,d,o[p+8],6,1873313359),d=m(d,i,u,h,o[p+15],10,-30611744),h=m(h,d,i,u,o[p+6],15,-1560198380),u=m(u,h,d,i,o[p+13],21,1309151649),i=m(i,u,h,d,o[p+4],6,-145523070),d=m(d,i,u,h,o[p+11],10,-1120210379),h=m(h,d,i,u,o[p+2],15,718787259),u=m(u,h,d,i,o[p+9],21,-343485551),i=i+y>>>0,u=u+_>>>0,h=h+v>>>0,d=d+C>>>0}return r.endian([i,u,h,d])})._ff=function(e,t,o,r,n,a,l){var s=e+(t&o|~t&r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,o,r,n,a,l){var s=e+(t&r|o&~r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,o,r,n,a,l){var s=e+(t^o^r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,o,r,n,a,l){var s=e+(o^(t|~r))+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(s(e,t));return t&&t.asBytes?o:t&&t.asString?l.bytesToString(o):r.bytesToHex(o)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,o,n,a){if(!o){var l=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],a=e[u][2];for(var s=!0,c=0;c<o.length;c++)(!1&a||l>=a)&&Object.keys(r.O).every((function(e){return r.O[e](o[c])}))?o.splice(c--,1):(s=!1,a<l&&(l=a));if(s){e.splice(u--,1);var i=n();void 0!==i&&(t=i)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,n,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};r.O.j=function(t){return 0===e[t]};var t=function(t,o){var n,a,l=o[0],s=o[1],c=o[2],i=0;if(l.some((function(t){return 0!==e[t]}))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(c)var u=c(r)}for(t&&t(o);i<l.length;i++)a=l[i],r.o(e,a)&&e[a]&&e[a][0](),e[l[i]]=0;return r.O(u)},o=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var n=r.O(void 0,[46],(function(){return r(783)}));n=r.O(n)}();
plugin-fw/includes/class-yit-plugin-panel.php CHANGED
@@ -807,6 +807,26 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
807
  )
808
  );
809
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
810
  // set template variables.
811
  $current_tab = $this->get_current_tab();
812
  $current_sub_tab = $this->get_current_sub_tab();
807
  )
808
  );
809
 
810
+ // add campaign parameters to url.
811
+ if ( $this->settings['plugin_slug'] ) {
812
+ $utm_medium = $this->settings['plugin_slug'];
813
+ $utm_source = 'wp-premium-dashboard';
814
+ $utm_campaign = 'help-tab';
815
+
816
+ $campaign_urls = array(
817
+ 'submit_ticket_url',
818
+ 'doc_url',
819
+ );
820
+
821
+ foreach ( $campaign_urls as $campaign_url ) {
822
+ if ( empty( $options[ $campaign_url ] ) ) {
823
+ continue;
824
+ }
825
+
826
+ $options[ $campaign_url ] = yith_plugin_fw_add_utm_data( $options[ $campaign_url ], $utm_medium, $utm_campaign, $utm_source );
827
+ }
828
+ }
829
+
830
  // set template variables.
831
  $current_tab = $this->get_current_tab();
832
  $current_sub_tab = $this->get_current_sub_tab();
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.8.0
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.8.0
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.8.3
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.8.3
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
@@ -113,62 +113,62 @@ msgstr "Είστε σίγουρος;"
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
- #: includes/class-yit-plugin-panel.php:959
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
- #: includes/class-yit-plugin-panel.php:960
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
- #: includes/class-yit-plugin-panel.php:961
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
- #: includes/class-yit-plugin-panel.php:962
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
- #: includes/class-yit-plugin-panel.php:963
134
- #: includes/class-yit-plugin-panel.php:964
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
- #: includes/class-yit-plugin-panel.php:965
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
- #: includes/class-yit-plugin-panel.php:966
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
- #: includes/class-yit-plugin-panel.php:967
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
- #: includes/class-yit-plugin-panel.php:968
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
- #: includes/class-yit-plugin-panel.php:969
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
- #: includes/class-yit-plugin-panel.php:1437
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
- #: includes/class-yit-plugin-panel.php:1438
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
- #: includes/class-yit-plugin-panel.php:1440
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1441
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
@@ -491,7 +491,7 @@ msgstr "Διαγραφή"
491
  msgid "Add All"
492
  msgstr "Προσθήκη Όλων"
493
 
494
- #: templates/fields/select-buttons.php:32
495
  msgid "Remove All"
496
  msgstr "Αφαίρεση Όλων"
497
 
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-11-09 12:50:28+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
+ #: includes/class-yit-plugin-panel.php:979
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
+ #: includes/class-yit-plugin-panel.php:980
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
+ #: includes/class-yit-plugin-panel.php:981
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
+ #: includes/class-yit-plugin-panel.php:982
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
+ #: includes/class-yit-plugin-panel.php:983
134
+ #: includes/class-yit-plugin-panel.php:984
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
+ #: includes/class-yit-plugin-panel.php:985
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
+ #: includes/class-yit-plugin-panel.php:986
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
+ #: includes/class-yit-plugin-panel.php:987
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
+ #: includes/class-yit-plugin-panel.php:988
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
+ #: includes/class-yit-plugin-panel.php:989
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
+ #: includes/class-yit-plugin-panel.php:1457
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
+ #: includes/class-yit-plugin-panel.php:1458
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
+ #: includes/class-yit-plugin-panel.php:1460
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1461
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
491
  msgid "Add All"
492
  msgstr "Προσθήκη Όλων"
493
 
494
+ #: templates/fields/select-buttons.php:20
495
  msgid "Remove All"
496
  msgstr "Αφαίρεση Όλων"
497
 
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
  "PO-Revision-Date: 2021-09-28 13:56:41+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
@@ -114,63 +114,63 @@ msgstr "¿Estás seguro?"
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
- #: includes/class-yit-plugin-panel.php:959
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
- #: includes/class-yit-plugin-panel.php:960
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
- #: includes/class-yit-plugin-panel.php:961
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
- #: includes/class-yit-plugin-panel.php:962
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
- #: includes/class-yit-plugin-panel.php:963
136
- #: includes/class-yit-plugin-panel.php:964
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
- #: includes/class-yit-plugin-panel.php:965
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
- #: includes/class-yit-plugin-panel.php:966
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
- #: includes/class-yit-plugin-panel.php:967
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
- #: includes/class-yit-plugin-panel.php:968
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
- #: includes/class-yit-plugin-panel.php:969
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
- #: includes/class-yit-plugin-panel.php:1437
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
- #: includes/class-yit-plugin-panel.php:1438
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1440
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
- #: includes/class-yit-plugin-panel.php:1441
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
@@ -500,7 +500,7 @@ msgstr "Eliminar"
500
  msgid "Add All"
501
  msgstr "Añadir todo"
502
 
503
- #: templates/fields/select-buttons.php:32
504
  msgid "Remove All"
505
  msgstr "Eliminar todo"
506
 
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-11-09 12:50:28+00:00\n"
8
  "PO-Revision-Date: 2021-09-28 13:56:41+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
+ #: includes/class-yit-plugin-panel.php:979
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
+ #: includes/class-yit-plugin-panel.php:980
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
+ #: includes/class-yit-plugin-panel.php:981
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
+ #: includes/class-yit-plugin-panel.php:982
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
+ #: includes/class-yit-plugin-panel.php:983
136
+ #: includes/class-yit-plugin-panel.php:984
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
+ #: includes/class-yit-plugin-panel.php:985
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
+ #: includes/class-yit-plugin-panel.php:986
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
+ #: includes/class-yit-plugin-panel.php:987
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
+ #: includes/class-yit-plugin-panel.php:988
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
+ #: includes/class-yit-plugin-panel.php:989
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
+ #: includes/class-yit-plugin-panel.php:1457
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1458
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1460
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1461
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
500
  msgid "Add All"
501
  msgstr "Añadir todo"
502
 
503
+ #: templates/fields/select-buttons.php:20
504
  msgid "Remove All"
505
  msgstr "Eliminar todo"
506
 
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
- "PO-Revision-Date: 2021-09-28 14:05:29+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -114,61 +114,61 @@ msgstr "Sei sicuro?"
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
- #: includes/class-yit-plugin-panel.php:959
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
- #: includes/class-yit-plugin-panel.php:960
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
- #: includes/class-yit-plugin-panel.php:961
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
- #: includes/class-yit-plugin-panel.php:962
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
- #: includes/class-yit-plugin-panel.php:963
135
- #: includes/class-yit-plugin-panel.php:964
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
- #: includes/class-yit-plugin-panel.php:965
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
- #: includes/class-yit-plugin-panel.php:966
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
- #: includes/class-yit-plugin-panel.php:967
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
- #: includes/class-yit-plugin-panel.php:968
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
- #: includes/class-yit-plugin-panel.php:969
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
- #: includes/class-yit-plugin-panel.php:1437
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
- #: includes/class-yit-plugin-panel.php:1438
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
- #: includes/class-yit-plugin-panel.php:1440
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
- #: includes/class-yit-plugin-panel.php:1441
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
@@ -498,7 +498,7 @@ msgstr "Rimuovi"
498
  msgid "Add All"
499
  msgstr "Aggiungi tutti"
500
 
501
- #: templates/fields/select-buttons.php:32
502
  msgid "Remove All"
503
  msgstr "Rimuovi tutti"
504
 
@@ -670,7 +670,7 @@ msgstr "Dimensione spazio libero database"
670
  #. Engine.
671
  #: templates/sysinfo/tabs/main.php:168
672
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
- msgstr "Dati: %1$.2fMB | Indice: %2$.2fMB | Libero: %3$.2fMB | Motore: %4$s"
674
 
675
  #. translators: %s is the title of the post object.
676
  #: yit-functions.php:1911
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-11-09 12:50:28+00:00\n"
8
+ "PO-Revision-Date: 2021-10-27 15:32:46+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
+ #: includes/class-yit-plugin-panel.php:979
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
+ #: includes/class-yit-plugin-panel.php:980
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
+ #: includes/class-yit-plugin-panel.php:981
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
+ #: includes/class-yit-plugin-panel.php:982
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
+ #: includes/class-yit-plugin-panel.php:983
135
+ #: includes/class-yit-plugin-panel.php:984
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
+ #: includes/class-yit-plugin-panel.php:985
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
+ #: includes/class-yit-plugin-panel.php:986
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
+ #: includes/class-yit-plugin-panel.php:987
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
+ #: includes/class-yit-plugin-panel.php:988
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
+ #: includes/class-yit-plugin-panel.php:989
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
+ #: includes/class-yit-plugin-panel.php:1457
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
+ #: includes/class-yit-plugin-panel.php:1458
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
+ #: includes/class-yit-plugin-panel.php:1460
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
+ #: includes/class-yit-plugin-panel.php:1461
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
498
  msgid "Add All"
499
  msgstr "Aggiungi tutti"
500
 
501
+ #: templates/fields/select-buttons.php:20
502
  msgid "Remove All"
503
  msgstr "Rimuovi tutti"
504
 
670
  #. Engine.
671
  #: templates/sysinfo/tabs/main.php:168
672
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
+ msgstr "Dati: %1$.2fMB | Indice: %2$.2fMB | Libero: %3$.2fMB | Engine: %4$s"
674
 
675
  #. translators: %s is the title of the post object.
676
  #: yit-functions.php:1911
plugin-fw/languages/yith-plugin-fw-nl_NL.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
  "PO-Revision-Date: 2021-09-29 11:02:22+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
@@ -116,61 +116,61 @@ msgstr "Weet je het zeker?"
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
- #: includes/class-yit-plugin-panel.php:959
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
- #: includes/class-yit-plugin-panel.php:960
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
- #: includes/class-yit-plugin-panel.php:961
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
- #: includes/class-yit-plugin-panel.php:962
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
- #: includes/class-yit-plugin-panel.php:963
137
- #: includes/class-yit-plugin-panel.php:964
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
- #: includes/class-yit-plugin-panel.php:965
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
- #: includes/class-yit-plugin-panel.php:966
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
- #: includes/class-yit-plugin-panel.php:967
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
- #: includes/class-yit-plugin-panel.php:968
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
- #: includes/class-yit-plugin-panel.php:969
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
- #: includes/class-yit-plugin-panel.php:1437
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
- #: includes/class-yit-plugin-panel.php:1438
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1440
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
- #: includes/class-yit-plugin-panel.php:1441
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
@@ -499,7 +499,7 @@ msgstr "Verwijderen"
499
  msgid "Add All"
500
  msgstr "Allen toevoegen"
501
 
502
- #: templates/fields/select-buttons.php:32
503
  msgid "Remove All"
504
  msgstr "Allen verwijderen"
505
 
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-11-09 12:50:28+00:00\n"
8
  "PO-Revision-Date: 2021-09-29 11:02:22+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
+ #: includes/class-yit-plugin-panel.php:979
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
+ #: includes/class-yit-plugin-panel.php:980
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
+ #: includes/class-yit-plugin-panel.php:981
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
+ #: includes/class-yit-plugin-panel.php:982
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
+ #: includes/class-yit-plugin-panel.php:983
137
+ #: includes/class-yit-plugin-panel.php:984
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
+ #: includes/class-yit-plugin-panel.php:985
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
+ #: includes/class-yit-plugin-panel.php:986
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
+ #: includes/class-yit-plugin-panel.php:987
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
+ #: includes/class-yit-plugin-panel.php:988
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
+ #: includes/class-yit-plugin-panel.php:989
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
+ #: includes/class-yit-plugin-panel.php:1457
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1458
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1460
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1461
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
499
  msgid "Add All"
500
  msgstr "Allen toevoegen"
501
 
502
+ #: templates/fields/select-buttons.php:20
503
  msgid "Remove All"
504
  msgstr "Allen verwijderen"
505
 
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -119,60 +119,60 @@ msgstr ""
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
- #: includes/class-yit-plugin-panel.php:959
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
- #: includes/class-yit-plugin-panel.php:960
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
- #: includes/class-yit-plugin-panel.php:961
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
- #: includes/class-yit-plugin-panel.php:962
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
- #: includes/class-yit-plugin-panel.php:963
139
- #: includes/class-yit-plugin-panel.php:964
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
- #: includes/class-yit-plugin-panel.php:965
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
- #: includes/class-yit-plugin-panel.php:966
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
- #: includes/class-yit-plugin-panel.php:967
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
- #: includes/class-yit-plugin-panel.php:968
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
- #: includes/class-yit-plugin-panel.php:969
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
- #: includes/class-yit-plugin-panel.php:1437
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
- #: includes/class-yit-plugin-panel.php:1438
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1440
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
- #: includes/class-yit-plugin-panel.php:1441
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
@@ -479,7 +479,7 @@ msgstr ""
479
  msgid "Add All"
480
  msgstr ""
481
 
482
- #: templates/fields/select-buttons.php:32
483
  msgid "Remove All"
484
  msgstr ""
485
 
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-11-09 12:50:28+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
+ #: includes/class-yit-plugin-panel.php:979
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
+ #: includes/class-yit-plugin-panel.php:980
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
+ #: includes/class-yit-plugin-panel.php:981
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
+ #: includes/class-yit-plugin-panel.php:982
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
+ #: includes/class-yit-plugin-panel.php:983
139
+ #: includes/class-yit-plugin-panel.php:984
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
+ #: includes/class-yit-plugin-panel.php:985
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
+ #: includes/class-yit-plugin-panel.php:986
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
+ #: includes/class-yit-plugin-panel.php:987
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
+ #: includes/class-yit-plugin-panel.php:988
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
+ #: includes/class-yit-plugin-panel.php:989
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
+ #: includes/class-yit-plugin-panel.php:1457
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
+ #: includes/class-yit-plugin-panel.php:1458
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1460
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
+ #: includes/class-yit-plugin-panel.php:1461
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
479
  msgid "Add All"
480
  msgstr ""
481
 
482
+ #: templates/fields/select-buttons.php:20
483
  msgid "Remove All"
484
  msgstr ""
485
 
plugin-fw/{LICENSE.txt → license.txt} RENAMED
@@ -1,6 +1,6 @@
1
  YITH Plugin Framework
2
 
3
- Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
1
  YITH Plugin Framework
2
 
3
+ Copyright 2015-2021 Your Inspiration Solutions (email : plugins@yithemes.com)
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
plugin-fw/templates/fields/inline-fields.php CHANGED
@@ -12,7 +12,7 @@ list ( $field_id, $name, $class, $fields, $value, $data, $custom_attributes ) =
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
15
- $allowed_types = array( 'select', 'select-buttons', 'number', 'text', 'slider', 'hidden', 'html', 'datepicker' );
16
  $default_args = array( 'type' => 'select' );
17
  ?>
18
  <?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
15
+ $allowed_types = apply_filters( 'yith_plugin_fw_inline_fields_allowed_types', array( 'select', 'select-buttons', 'number', 'text', 'slider', 'hidden', 'html', 'datepicker' ), $name, $field );
16
  $default_args = array( 'type' => 'select' );
17
  ?>
18
  <?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
plugin-fw/templates/fields/select-buttons.php CHANGED
@@ -15,21 +15,22 @@ $field['type'] = 'select';
15
  if ( empty( $field['class'] ) ) {
16
  unset( $field['class'] );
17
  }
18
-
19
- $add_label = isset( $field['add_all_button_label'] ) ? $field['add_all_button_label'] : __( 'Add All', 'yith-plugin-fw' );
20
- $default_args = array(
 
21
  'multiple' => true,
22
  'class' => 'wc-enhanced-select',
23
  'buttons' => array(
24
  array(
25
- 'name' => $add_label,
26
  'class' => 'yith-plugin-fw-select-all',
27
  'data' => array(
28
  'select-id' => $field['id'],
29
  ),
30
  ),
31
  array(
32
- 'name' => __( 'Remove All', 'yith-plugin-fw' ),
33
  'class' => 'yith-plugin-fw-deselect-all',
34
  'data' => array(
35
  'select-id' => $field['id'],
15
  if ( empty( $field['class'] ) ) {
16
  unset( $field['class'] );
17
  }
18
+ // 'add_all_button_label' is deprecated, use 'add_all_label' instead.
19
+ $add_all_label = $field['add_all_label'] ?? $field['add_all_button_label'] ?? __( 'Add All', 'yith-plugin-fw' );
20
+ $remove_all_label = $field['remove_all_label'] ?? __( 'Remove All', 'yith-plugin-fw' );
21
+ $default_args = array(
22
  'multiple' => true,
23
  'class' => 'wc-enhanced-select',
24
  'buttons' => array(
25
  array(
26
+ 'name' => $add_all_label,
27
  'class' => 'yith-plugin-fw-select-all',
28
  'data' => array(
29
  'select-id' => $field['id'],
30
  ),
31
  ),
32
  array(
33
+ 'name' => $remove_all_label,
34
  'class' => 'yith-plugin-fw-deselect-all',
35
  'data' => array(
36
  'select-id' => $field['id'],
plugin-fw/yit-functions.php CHANGED
@@ -1859,7 +1859,7 @@ if ( ! function_exists( 'yith_plugin_fw_get_component' ) ) {
1859
  );
1860
 
1861
  $component = wp_parse_args( $component, $defaults );
1862
-
1863
  $component_template = '/components/' . $type . '.php';
1864
 
1865
  if ( ! $echo ) {
1859
  );
1860
 
1861
  $component = wp_parse_args( $component, $defaults );
1862
+
1863
  $component_template = '/components/' . $type . '.php';
1864
 
1865
  if ( ! $echo ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
- Stable tag: 4.3.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -152,6 +152,12 @@ If none of the previous listed actions helps you solve the problem, then, submit
152
 
153
  == Changelog ==
154
 
 
 
 
 
 
 
155
  = 4.3.0 - Released on 10 October 2021 =
156
 
157
  * New: support for WooCommerce 5.8
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
+ Stable tag: 4.4.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
152
 
153
  == Changelog ==
154
 
155
+ = 4.4.0 - Released on 11 November 2021 =
156
+
157
+ * New: support for WooCommerce 5.9
158
+ * Update: YITH Plugin Framework
159
+
160
+
161
  = 4.3.0 - Released on 10 October 2021 =
162
 
163
  * New: support for WooCommerce 5.8