YITH WooCommerce Catalog Mode - Version 2.0.12

Version Description

Last Stable Tag 2.0.12

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Catalog Mode
Version 2.0.12
Comparing to
See all releases

Code changes from version 2.0.11 to 2.0.12

class-yith-woocommerce-catalog-mode.php CHANGED
@@ -49,13 +49,6 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
49
  */
50
  protected $premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/';
51
 
52
- /**
53
- * Plugin official documentation
54
- *
55
- * @var string
56
- */
57
- protected $official_documentation = 'https://docs.yithemes.com/yith-woocommerce-catalog-mode/';
58
-
59
  /**
60
  * Yith WooCommerce Catalog Mode panel page
61
  *
@@ -907,7 +900,6 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
907
  *
908
  * @return array
909
  * @since 1.0.0
910
- *
911
  * @author Alberto Ruggiero <alberto.ruggiero@yithemes.com>
912
  * @use plugin_action_links_{$plugin_file_name}
913
  */
49
  */
50
  protected $premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/';
51
 
 
 
 
 
 
 
 
52
  /**
53
  * Yith WooCommerce Catalog Mode panel page
54
  *
900
  *
901
  * @return array
902
  * @since 1.0.0
 
903
  * @author Alberto Ruggiero <alberto.ruggiero@yithemes.com>
904
  * @use plugin_action_links_{$plugin_file_name}
905
  */
init.php CHANGED
@@ -5,10 +5,10 @@
5
  * Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
  * Author: YITH
7
  * Text Domain: yith-woocommerce-catalog-mode
8
- * Version: 2.0.11
9
  * Author URI: https://yithemes.com/
10
  * WC requires at least: 4.5.0
11
- * WC tested up to: 5.1.x
12
  *
13
  * @package YITH WooCommerce Catalog Mode
14
  */
5
  * Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
  * Author: YITH
7
  * Text Domain: yith-woocommerce-catalog-mode
8
+ * Version: 2.0.12
9
  * Author URI: https://yithemes.com/
10
  * WC requires at least: 4.5.0
11
+ * WC tested up to: 5.2.x
12
  *
13
  * @package YITH WooCommerce Catalog Mode
14
  */
languages/yith-woocommerce-catalog-mode.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YITH WooCommerce Catalog Mode 2.0.11\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
8
- "POT-Creation-Date: 2021-03-11 12:06:50+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -14,12 +14,12 @@ msgstr ""
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 1.0.3\n"
16
 
17
- #: class-yith-woocommerce-catalog-mode.php:254
18
  #: plugin-options/settings-options.php:20
19
  msgid "Settings"
20
  msgstr ""
21
 
22
- #: class-yith-woocommerce-catalog-mode.php:255
23
  msgid "Premium Version"
24
  msgstr ""
25
 
@@ -221,22 +221,22 @@ msgid ""
221
  "e-commerce shop on <strong>YITH</strong></a>"
222
  msgstr ""
223
 
224
- #: class-yith-woocommerce-catalog-mode.php:245
225
  msgctxt "general settings tab name"
226
  msgid "Settings"
227
  msgstr ""
228
 
229
- #: class-yith-woocommerce-catalog-mode.php:246
230
  msgctxt "exclusion settings tab name"
231
  msgid "Exclusion List"
232
  msgstr ""
233
 
234
- #: class-yith-woocommerce-catalog-mode.php:247
235
  msgctxt "inquiry form settings tab name"
236
  msgid "Inquiry Form"
237
  msgstr ""
238
 
239
- #: class-yith-woocommerce-catalog-mode.php:248
240
  msgctxt "buttons & labels settings tab name"
241
  msgid "Buttons & Labels"
242
  msgstr ""
2
  # This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YITH WooCommerce Catalog Mode 2.0.12\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
8
+ "POT-Creation-Date: 2021-04-12 15:42:58+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 1.0.3\n"
16
 
17
+ #: class-yith-woocommerce-catalog-mode.php:247
18
  #: plugin-options/settings-options.php:20
19
  msgid "Settings"
20
  msgstr ""
21
 
22
+ #: class-yith-woocommerce-catalog-mode.php:248
23
  msgid "Premium Version"
24
  msgstr ""
25
 
221
  "e-commerce shop on <strong>YITH</strong></a>"
222
  msgstr ""
223
 
224
+ #: class-yith-woocommerce-catalog-mode.php:238
225
  msgctxt "general settings tab name"
226
  msgid "Settings"
227
  msgstr ""
228
 
229
+ #: class-yith-woocommerce-catalog-mode.php:239
230
  msgctxt "exclusion settings tab name"
231
  msgid "Exclusion List"
232
  msgstr ""
233
 
234
+ #: class-yith-woocommerce-catalog-mode.php:240
235
  msgctxt "inquiry form settings tab name"
236
  msgid "Inquiry Form"
237
  msgstr ""
238
 
239
+ #: class-yith-woocommerce-catalog-mode.php:241
240
  msgctxt "buttons & labels settings tab name"
241
  msgid "Buttons & Labels"
242
  msgstr ""
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -1471,9 +1471,13 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1471
  display : block !important;
1472
  }
1473
 
1474
- .woocommerce .yith-plugin-ui .iris-picker {
1475
- border : 0;
1476
- margin-top : 20px;
 
 
 
 
1477
  }
1478
 
1479
  .yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
@@ -2082,8 +2086,8 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
2082
  .metaboxes-tab .yith-plugin-fw-dimensions__dimension__label,
2083
  .yith-plugin-ui.metaboxes-tab label.yith-plugin-fw-dimensions__dimension__label {
2084
  text-transform : uppercase;
2085
- letter-spacing : 2px;
2086
- font-size : 11px;
2087
  margin-bottom : 5px;
2088
  display : inline-block;
2089
  }
@@ -2153,7 +2157,7 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
2153
  height : 38px;
2154
  width : 100%;
2155
  background : transparent;
2156
- padding : 0;
2157
  border : 0;
2158
  border-radius : 0;
2159
  }
@@ -2171,10 +2175,13 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
2171
  border-radius : 2px;
2172
  padding : 1px;
2173
  user-select : none;
 
 
2174
  }
2175
 
2176
  .yith-plugin-fw-copy-to-clipboard__copy:hover {
2177
- box-shadow : 0 0 0 2px #2470ff;
 
2178
  }
2179
 
2180
  .yith-plugin-fw-copy-to-clipboard__copy__text {
1471
  display : block !important;
1472
  }
1473
 
1474
+ .woocommerce .yith-plugin-ui .wp-picker-container .iris-picker, .yith-plugin-ui .wp-picker-container .iris-picker {
1475
+ z-index : 100;
1476
+ position : absolute;
1477
+ margin-top : 20px;
1478
+ border : 1px solid #d8d8d8;
1479
+ border-radius : 4px;
1480
+ box-shadow : 0 1px 3px rgba(0, 0, 0, .2);
1481
  }
1482
 
1483
  .yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
2086
  .metaboxes-tab .yith-plugin-fw-dimensions__dimension__label,
2087
  .yith-plugin-ui.metaboxes-tab label.yith-plugin-fw-dimensions__dimension__label {
2088
  text-transform : uppercase;
2089
+ letter-spacing : 1px;
2090
+ font-size : 9px;
2091
  margin-bottom : 5px;
2092
  display : inline-block;
2093
  }
2157
  height : 38px;
2158
  width : 100%;
2159
  background : transparent;
2160
+ padding : 0 10px 0 0;
2161
  border : 0;
2162
  border-radius : 0;
2163
  }
2175
  border-radius : 2px;
2176
  padding : 1px;
2177
  user-select : none;
2178
+ line-height : 1;
2179
+ transition : all .2s ease-in-out;
2180
  }
2181
 
2182
  .yith-plugin-fw-copy-to-clipboard__copy:hover {
2183
+ box-shadow : 0 0 0 4px rgba(15, 67, 60, .12);
2184
+ background-color : rgba(15, 67, 60, .12);
2185
  }
2186
 
2187
  .yith-plugin-fw-copy-to-clipboard__copy__text {
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?c433269285442943176e8d23fe8a0d79");
10
- src: url("../fonts/yith-icon.eot?c433269285442943176e8d23fe8a0d79#iefix") format("embedded-opentype"),
11
- url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABZ4AAsAAAAAJlgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkrtY21hcAAAAXwAAAEiAAADjOVDAG5nbHlmAAACoAAAEKUAABxIxW96k2hlYWQAABNIAAAAMAAAADYZ8YY2aGhlYQAAE3gAAAAeAAAAJAQ1AhtobXR4AAATmAAAACIAAACUSAT/7GxvY2EAABO8AAAATAAAAEx7BICobWF4cAAAFAgAAAAfAAAAIAFDAVZuYW1lAAAUKAAAATAAAAIiyMcJZnBvc3QAABVYAAABHwAAAaxT8f8ZeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/MQ4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSX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AyZ8hR8mxGLhJ2pdX33rzZ0QAY4gsequPhtn6r08IN1YXbpKFwh/wk3MUAz8I9+iPhPl4xFx7gAQF/8DrVb/dwwi3c4U24Tf9duEP+EO7iEZ/CPfrfwn1s8CM8wIs3P6cuGaWhKdY6PmaBbXQDG20PqSnU1J803koX2gZO79T2rA6neOZcpCJrcrU0hdNZZlRpzV6Hzk+cKxfjcSS+H5ocZ6TcJuHWKUIYFFhDI8YRGTe2V+r/nQ07LA7UlVKYwsfkSm7FXFFnA1Y0dsxumVPsPXHmjK5DRB0xY5CTlnVnlc54DZ2yru3phPR9Tqi6Siww5o3+5P16dv4LqwRgqnicbZDZboMwEEW5jaEJoWm673vTN3+Ua0/AirFdY4T4+0Jo+9R5GJ0jzZVmJjlIpkqT/2uDA8zAkCLDIeZYIMcSBY6wwjHWOMEpznCOC1ziCte4wS3ucI8HPOIJz3jBK97wjg0+klxI6VobtS1zEYLruHKd/UFD27icMOiyivOJW59/CrvjsiK5YyMWUhiySgQulFr9Se0s9fNfZVI0VbEPcamDNJTuJZXGNcSk8/1SBlI6cimCYiqIko2aU098P6RmAxbabh1vvloxDLNRFrUord5qCqx2gTIvei9M5sl5Q8ybtkkDedMPvaFYNJUmo6bt8qhrmi5JYxgWzFpvnFDrTgQ7PIXHoIUtDa06F4bQkB9/1bBexypJvgEkfHYEAA==") format("woff"),
12
- url("../fonts/yith-icon.ttf?c433269285442943176e8d23fe8a0d79") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
@@ -91,6 +91,10 @@
91
  content: "\e905";
92
  }
93
 
 
 
 
 
94
  .yith-icon-close:before {
95
  content: "\e906";
96
  }
@@ -131,6 +135,10 @@
131
  content: "\e908";
132
  }
133
 
 
 
 
 
134
  .yith-icon-more:before {
135
  content: "\f102";
136
  }
@@ -139,6 +147,10 @@
139
  content: "\e91b";
140
  }
141
 
 
 
 
 
142
  .yith-icon-pencil:before {
143
  content: "\e909";
144
  }
@@ -163,6 +175,10 @@
163
  content: "\e917";
164
  }
165
 
 
 
 
 
166
  .yith-icon-time-check:before {
167
  content: "\e918";
168
  }
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?52528a652e8a77121c4f70fed90ff9af");
10
+ src: url("../fonts/yith-icon.eot?52528a652e8a77121c4f70fed90ff9af#iefix") format("embedded-opentype"),
11
+ url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABgkAAsAAAAAKSgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkr2Y21hcAAAAXwAAAFHAAAD1MgZbIJnbHlmAAACxAAAEgoAAB6YD/HmLWhlYWQAABTQAAAAMAAAADYaSoSGaGhlYQAAFQAAAAAeAAAAJAQ1Ah9obXR4AAAVIAAAACIAAACkUAT/7GxvY2EAABVEAAAAVAAAAFSVjJumbWF4cAAAFZgAAAAfAAAAIAFHAVZuYW1lAAAVuAAAATAAAAIiyMcJZnBvc3QAABboAAABOQAAAcz/3X8AeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/MI4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfORkAnH1mNgYeIE0I4gDAI1KCDp4nO3TyVHDQBSE4V/yhryw2AbjHRuzVEE0FAeiIiBOpPOOEwH0UxMGqvpsaUrLSN0D9ICOvEoXqm8qcvvSaNWOdxi2410+dTzkjJo6TqUug9L8/EBQqtLz/t9W6bw33vnQfq07dPWcIRMumHErO+544MSCqfaumeuujc7YcuCeJ/asGegufUZcMeaGR565ZMU5RzYs9Yg+/9s4f+r539FLZmH66kRlmW/UlhlHxzL76FpmHD1TTkTflBgxMOVGnJlSJBprx4emZImRKVlibEqbmJhyJ85NDSAuTF0gLq299srUD2JqagoxM3IucyPncm3tu9yY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BQISgi6CQYJMgnWCkYKzgriCxILWgvgC/wMdAy0DOQNEA7kD0x4nGNgZGBg0GT0YhBhAAEmIOYCQgaG/2A+AwAVvQGfAHicbY89bsJAEIWf+YsCUoQSKVK6VYo0EeanoOAA0FPQG7P+QbbXWhYkLpAT5Aw5Q06QMmfIUfJsRi4SdqXV99682dEAGOILHqrj4bZ+q9PCDdWF26ShcIf8JNzFAM/CPfoj4T5eMRce4AEBf/A61W/3cMIt3OFNuE3/XbhD/hDu4hGfwj3638J9bPAjPMCLNz+nLhmloSnWOj5mgW10AxttD6kp1NSfNN5KF9oGTu/U9qwOp3jmXKQia3K1NIXTWWZUac1eh85PnCsX43Ekvh+aHGek3Cbh1ilCGBRYQyPGERk3tlfq/50NOywO1JVSmMLH5EpuxVxRZwNWNHbMbplT7D1x5oyuQ0QdMWOQk5Z1Z5XOeA2dsq7t6YT0fU6oukosMOaN/uT9enb+C6sEYKp4nG2Q607cMBCFc1hnWbJhoVDK/dJSbpX8UFN7NrFwbOM4WuXtSTbAL+bH6PukM9Z4sp1sqjz7vl6wgxkEcsyxiwX2UGCJEvtY4QCH+IEjHOMnTvALpzjDOS5wiStc4wa3uMNv/ME9/uIBj3jCM17wLytIKd+5ZFxVUIx+I7XfuA+0vE7LCaOp6rSYuAvFf3KvUtWsXsWIpSLLTlOUpPXqSxrvuF98qlDU1uV2SCoTleV8K7myQ27sLQvlQ79UkbVJUlHUQkeqxKgF9yy3IT0bsDRu7WX71tEQFqPsNVQ5szYcFw0ZK32XROMjzwP1gews6PU8sA+WRbBdm0cOth96y6lsa8NWTwuL1sdUJNPw9MM8xWHxeResJ324oeiGY8kUDbnK8mrj4zA5PDLesBW9SXWWvQNyO379AAAA") format("woff"),
12
+ url("../fonts/yith-icon.ttf?52528a652e8a77121c4f70fed90ff9af") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
91
  content: "\e905";
92
  }
93
 
94
+ .yith-icon-clone:before {
95
+ content: "\f105";
96
+ }
97
+
98
  .yith-icon-close:before {
99
  content: "\e906";
100
  }
135
  content: "\e908";
136
  }
137
 
138
+ .yith-icon-mail-out:before {
139
+ content: "\f109";
140
+ }
141
+
142
  .yith-icon-more:before {
143
  content: "\f102";
144
  }
147
  content: "\e91b";
148
  }
149
 
150
+ .yith-icon-pdf:before {
151
+ content: "\f107";
152
+ }
153
+
154
  .yith-icon-pencil:before {
155
  content: "\e909";
156
  }
175
  content: "\e917";
176
  }
177
 
178
+ .yith-icon-sort:before {
179
+ content: "\f106";
180
+ }
181
+
182
  .yith-icon-time-check:before {
183
  content: "\e918";
184
  }
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/metabox.js CHANGED
@@ -9,39 +9,46 @@
9
  ( function ( $ ) {
10
 
11
  $( '.metaboxes-tab' ).each( function () {
12
- $( '.tabs-panel', this ).hide();
 
13
 
14
- var active_tab = wpCookies.get( 'active_metabox_tab' );
15
- if ( active_tab == null ) {
16
- active_tab = $( 'ul.metaboxes-tabs li:first-child a', this ).attr( 'href' );
 
 
 
17
  } else {
18
- active_tab = '#' + active_tab;
19
  }
20
 
21
- $( active_tab ).show();
22
 
23
- $( '.metaboxes-tabs a', this ).click( function ( e ) {
24
- if ( $( this ).parent().hasClass( 'tabs' ) ) {
25
- e.preventDefault();
26
- return;
27
- }
28
 
29
- var t = $( this ).attr( 'href' );
30
- $( this ).parent().addClass( 'tabs' ).siblings( 'li' ).removeClass( 'tabs' );
31
- $( this ).closest( '.metaboxes-tab' ).find( '.tabs-panel' ).hide();
32
- $( t ).show();
33
 
34
- return false;
 
 
 
 
35
  } );
36
  } );
37
 
38
- var act_page_option = $( '#_active_page_options-container' ).parent().html();
39
- $( '#_active_page_options-container' ).parent().remove();
40
- $( act_page_option ).insertAfter( '#yit-post-setting .handlediv' );
41
- $( act_page_option ).insertAfter( '#yit-page-setting .handlediv' );
42
-
 
43
 
44
- $( '#_active_page_options-container' ).on( 'click', function () {
45
  if ( $( '#_active_page_options' ).is( ":checked" ) ) {
46
  $( '#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab' ).css( {
47
  'opacity' : 1,
@@ -53,7 +60,7 @@
53
  'pointer-events': 'none'
54
  } );
55
  }
56
- } ).click();
57
 
58
 
59
  //dependencies handler
@@ -62,17 +69,17 @@
62
  $( '.metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)' ).each( function () {
63
  var t = $( this );
64
 
65
- var field = '#' + t.data( 'dep-target' ),
66
- dep = '#' + t.data( 'dep-id' ),
67
- value = t.data( 'dep-value' ),
68
- type = t.data( 'dep-type' );
69
 
70
 
71
  dependencies_handler( field, dep, value.toString(), type );
72
 
73
- $( dep ).on( 'change', function () {
74
- dependencies_handler( field, dep, value.toString(), type );
75
- } ).change();
76
 
77
  t.addClass( 'yith-plugin-fw-metabox-deps-initialized' );
78
  } );
9
  ( function ( $ ) {
10
 
11
  $( '.metaboxes-tab' ).each( function () {
12
+ var theMetaBox = $( this ),
13
+ panels = theMetaBox.find( '.tabs-panel' )
14
 
15
+ panels.hide();
16
+
17
+ // TODO: check if someone is directly using it, otherwise it could be removed because: 1. it doesn't take into account the possibility to have more than one meta-box in the same page; 2. it's not set anywhere.
18
+ var activeTab = wpCookies.get( 'active_metabox_tab' );
19
+ if ( activeTab == null ) {
20
+ activeTab = theMetaBox.find( 'ul.metaboxes-tabs li:first-child a' ).attr( 'href' );
21
  } else {
22
+ activeTab = '#' + activeTab;
23
  }
24
 
25
+ theMetaBox.find( activeTab ).show();
26
 
27
+ theMetaBox.find( '.metaboxes-tabs a' ).on( 'click', function ( e ) {
28
+ e.preventDefault();
29
+
30
+ var wrapper = $( this ).parent(),
31
+ isActive = wrapper.hasClass( 'tabs' );
32
 
33
+ if ( !isActive ) {
34
+ var tabID = $( this ).attr( 'href' );
 
 
35
 
36
+ wrapper.addClass( 'tabs' ).siblings( 'li' ).removeClass( 'tabs' );
37
+
38
+ panels.hide();
39
+ $( tabID ).show();
40
+ }
41
  } );
42
  } );
43
 
44
+ // TODO: check if someone is directly using it, otherwise it could be removed, since it's not used by the fw.
45
+ var actPageOptionContainer = $( '#_active_page_options-container' ),
46
+ actPageOption = actPageOptionContainer.parent().html();
47
+ actPageOptionContainer.parent().remove();
48
+ $( actPageOption ).insertAfter( '#yit-post-setting .handlediv' );
49
+ $( actPageOption ).insertAfter( '#yit-page-setting .handlediv' );
50
 
51
+ actPageOptionContainer.on( 'click', function () {
52
  if ( $( '#_active_page_options' ).is( ":checked" ) ) {
53
  $( '#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab' ).css( {
54
  'opacity' : 1,
60
  'pointer-events': 'none'
61
  } );
62
  }
63
+ } ).trigger( 'click' );
64
 
65
 
66
  //dependencies handler
69
  $( '.metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)' ).each( function () {
70
  var t = $( this );
71
 
72
+ var field = '#' + t.data( 'dep-target' ),
73
+ dep = '#' + t.data( 'dep-id' ),
74
+ value = t.data( 'dep-value' ),
75
+ type = t.data( 'dep-type' );
76
 
77
 
78
  dependencies_handler( field, dep, value.toString(), type );
79
 
80
+ $( dep ).on( 'change', function () {
81
+ dependencies_handler( field, dep, value.toString(), type );
82
+ } ).change();
83
 
84
  t.addClass( 'yith-plugin-fw-metabox-deps-initialized' );
85
  } );
plugin-fw/assets/js/metabox.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){e(".metaboxes-tab").each(function(){e(".tabs-panel",this).hide();var t=wpCookies.get("active_metabox_tab");t=null==t?e("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+t,e(t).show(),e(".metaboxes-tabs a",this).click(function(t){if(!e(this).parent().hasClass("tabs")){var a=e(this).attr("href");return e(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),e(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),e(a).show(),!1}t.preventDefault()})});var t=e("#_active_page_options-container").parent().html();function a(t,a,i,s){var n=!0;if("string"==typeof a){":radio"==a.substr(0,6)&&(a+=":checked");var o=e(a).val();if("checkbox"==e(a).attr("type"))o=e(a).is(":checked")?"yes":"no";i=i.split(",");for(var d=0;d<i.length;d++){if(o==i[d]){n=!0;break}n=!1}}var r,c=e(t),h=e(t+"-container").parent(),b=s.split("-");for(r in b){var p=b[r];if(n)switch(p){case"disable":h.removeClass("yith-disabled"),c.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":c.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(p){case"disable":h.addClass("yith-disabled"),c.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":c.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}e("#_active_page_options-container").parent().remove(),e(t).insertAfter("#yit-post-setting .handlediv"),e(t).insertAfter("#yit-page-setting .handlediv"),e("#_active_page_options-container").on("click",function(){e("#_active_page_options").is(":checked")?e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).click(),e(document.body).on("yith-plugin-fw-metabox-init-deps",function(){e(document.body).trigger("yith-plugin-fw-init-radio"),e(".metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)").each(function(){var t=e(this),i="#"+t.data("dep-target"),s="#"+t.data("dep-id"),n=t.data("dep-value"),o=t.data("dep-type");a(i,s,n.toString(),o),e(s).on("change",function(){a(i,s,n.toString(),o)}).change(),t.addClass("yith-plugin-fw-metabox-deps-initialized")})}).trigger("yith-plugin-fw-metabox-init-deps")}(jQuery);
1
+ !function(e){e(".metaboxes-tab").each(function(){var t=e(this),a=t.find(".tabs-panel");a.hide();var i=wpCookies.get("active_metabox_tab");i=null==i?t.find("ul.metaboxes-tabs li:first-child a").attr("href"):"#"+i,t.find(i).show(),t.find(".metaboxes-tabs a").on("click",function(t){t.preventDefault();var i=e(this).parent();if(!i.hasClass("tabs")){var s=e(this).attr("href");i.addClass("tabs").siblings("li").removeClass("tabs"),a.hide(),e(s).show()}})});var t=e("#_active_page_options-container"),a=t.parent().html();function i(t,a,i,s){var n=!0;if("string"==typeof a){":radio"==a.substr(0,6)&&(a+=":checked");var d=e(a).val();if("checkbox"==e(a).attr("type"))d=e(a).is(":checked")?"yes":"no";i=i.split(",");for(var o=0;o<i.length;o++){if(d==i[o]){n=!0;break}n=!1}}var r,c=e(t),h=e(t+"-container").parent(),b=s.split("-");for(r in b){var l=b[r];if(n)switch(l){case"disable":h.removeClass("yith-disabled"),c.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":c.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(l){case"disable":h.addClass("yith-disabled"),c.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":c.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}t.parent().remove(),e(a).insertAfter("#yit-post-setting .handlediv"),e(a).insertAfter("#yit-page-setting .handlediv"),t.on("click",function(){e("#_active_page_options").is(":checked")?e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).trigger("click"),e(document.body).on("yith-plugin-fw-metabox-init-deps",function(){e(document.body).trigger("yith-plugin-fw-init-radio"),e(".metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)").each(function(){var t=e(this),a="#"+t.data("dep-target"),s="#"+t.data("dep-id"),n=t.data("dep-value"),d=t.data("dep-type");i(a,s,n.toString(),d),e(s).on("change",function(){i(a,s,n.toString(),d)}).change(),t.addClass("yith-plugin-fw-metabox-deps-initialized")})}).trigger("yith-plugin-fw-metabox-init-deps")}(jQuery);
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -113,23 +113,16 @@ jQuery( function ( $ ) {
113
  // init field deps
114
  t.addClass( 'deps-initialized' );
115
 
116
- var field = '#' + t.data( 'dep-target' ),
117
- dep = '#' + t.data( 'dep-id' ),
118
- value = t.data( 'dep-value' ),
119
- type = t.data( 'dep-type' ),
120
- event = 'change',
121
- wrapper = $( dep + '-wrapper' ),
122
- field_type = wrapper.data( 'type' );
123
-
124
- if ( field_type === 'select-images' ) {
125
- event = 'yith_select_images_value_changed';
126
- }
127
-
128
- $( dep ).on( event, function () {
129
- dependencies_handler( field, dep, value.toString(), type );
130
- } ).trigger( event );
131
- } );
132
- }
133
 
134
  init_dependencies();
135
  // re-init deps after an add toggle action
113
  // init field deps
114
  t.addClass( 'deps-initialized' );
115
 
116
+ var field = '#' + t.data( 'dep-target' ),
117
+ dep = '#' + t.data( 'dep-id' ),
118
+ value = t.data( 'dep-value' ),
119
+ type = t.data( 'dep-type' );
120
+
121
+ $( dep ).on( 'change', function () {
122
+ dependencies_handler( field, dep, value.toString(), type );
123
+ } ).trigger( 'change' );
124
+ } );
125
+ }
 
 
 
 
 
 
 
126
 
127
  init_dependencies();
128
  // re-init deps after an add toggle action
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){function a(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var a=e(this);if(!a.closest(".metaboxes-tab").length){a.addClass("deps-initialized");var t="#"+a.data("dep-target"),i="#"+a.data("dep-id"),n=a.data("dep-value"),s=a.data("dep-type"),d="change";"select-images"===e(i+"-wrapper").data("type")&&(d="yith_select_images_value_changed"),e(i).on(d,function(){!function(a,t,i,n){var s=!0;if("string"==typeof t){":radio"==t.substr(0,6)&&(t+=":checked");var d=e(t).data("type"),r=e(t).val();"checkbox"===d?r=e(t).is(":checked")?"yes":"no":"radio"===d&&(r=e(t).find('input[type="radio"]').filter(":checked").val()),"select-images"===e(t+"-wrapper").data("type")&&(r=e(t+"-wrapper").find("select").first().val()),i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){s=!0;break}s=!1}}var o=e(a),l=e(a+"-container").closest("tr");l.length<1&&(l=o.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var h,p=n.split("-");for(h in p){var g=p[h];if(s)switch(g){case"disable":l.removeClass("yith-disabled"),o.attr("disabled",!1);break;case"hide":case"hideNow":l.show();break;case"hideme":o.show();break;case"fadeOut":l.show();break;case"fadeInOut":case"fadeIn":default:l.show(500)}else switch(g){case"disable":l.addClass("yith-disabled"),o.attr("disabled",!0);break;case"hide":case"hideNow":l.hide();break;case"hideme":o.hide();break;case"fadeInOut":case"fadeOut":l.hide(500);break;case"fadeIn":default:l.hide()}}}(t,i,n.toString(),s)}).trigger(d)}})}a(),e(document).on("yith-add-box-button-toggle",a),e(".rm_connectedlist").each(function(){var a=e(this).find("ul"),t=e(this).find(":hidden");a.sortable({connectWith:a,update:function(i,n){var s={};a.each(function(){var a={};e(this).children().each(function(){a[e(this).data("option")]=e(this).text()}),s[e(this).data("list")]=a}),t.val(JSON.stringify(s).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var a=e("#"+e(this).data("textarea")).data("codemirrorInstance"),t="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";t+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",t+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",t+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",t+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",t+="ga('send', 'pageview');\n",a.replaceRange(t,a.getCursor("start"),a.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var t=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");if(i.addClass("inline"),t.length&&t.prepend(i),e(document).find(".yith-nav-sub-tab.nav-tab-active").length){var n=e(document).find(".yith-plugin-fw-wp-page-wrapper");if(n.length||(n=e(document).find("#wpbody-content > .yith-plugin-ui")),n)(t=n.find(".yit-admin-panel-content-wrap")).length?t.addClass("has-subnav"):n.find(".wrap").wrap('<div class="wrap subnav-wrap"></div>')}});
1
+ jQuery(function(e){function a(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var a=e(this);if(!a.closest(".metaboxes-tab").length){a.addClass("deps-initialized");var t="#"+a.data("dep-target"),i="#"+a.data("dep-id"),n=a.data("dep-value"),d=a.data("dep-type");e(i).on("change",function(){!function(a,t,i,n){var d=!0;if("string"==typeof t){":radio"==t.substr(0,6)&&(t+=":checked");var s=e(t).data("type"),r=e(t).val();"checkbox"===s?r=e(t).is(":checked")?"yes":"no":"radio"===s&&(r=e(t).find('input[type="radio"]').filter(":checked").val()),"select-images"===e(t+"-wrapper").data("type")&&(r=e(t+"-wrapper").find("select").first().val()),i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){d=!0;break}d=!1}}var o=e(a),l=e(a+"-container").closest("tr");l.length<1&&(l=o.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var h,p=n.split("-");for(h in p){var u=p[h];if(d)switch(u){case"disable":l.removeClass("yith-disabled"),o.attr("disabled",!1);break;case"hide":case"hideNow":l.show();break;case"hideme":o.show();break;case"fadeOut":l.show();break;case"fadeInOut":case"fadeIn":default:l.show(500)}else switch(u){case"disable":l.addClass("yith-disabled"),o.attr("disabled",!0);break;case"hide":case"hideNow":l.hide();break;case"hideme":o.hide();break;case"fadeInOut":case"fadeOut":l.hide(500);break;case"fadeIn":default:l.hide()}}}(t,i,n.toString(),d)}).trigger("change")}})}a(),e(document).on("yith-add-box-button-toggle",a),e(".rm_connectedlist").each(function(){var a=e(this).find("ul"),t=e(this).find(":hidden");a.sortable({connectWith:a,update:function(i,n){var d={};a.each(function(){var a={};e(this).children().each(function(){a[e(this).data("option")]=e(this).text()}),d[e(this).data("list")]=a}),t.val(JSON.stringify(d).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var a=e("#"+e(this).data("textarea")).data("codemirrorInstance"),t="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";t+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",t+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",t+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",t+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",t+="ga('send', 'pageview');\n",a.replaceRange(t,a.getCursor("start"),a.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var t=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");if(i.addClass("inline"),t.length&&t.prepend(i),e(document).find(".yith-nav-sub-tab.nav-tab-active").length){var n=e(document).find(".yith-plugin-fw-wp-page-wrapper");if(n.length||(n=e(document).find("#wpbody-content > .yith-plugin-ui")),n)(t=n.find(".yit-admin-panel-content-wrap")).length?t.addClass("has-subnav"):n.find(".wrap").wrap('<div class="wrap subnav-wrap"></div>')}});
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -395,7 +395,7 @@
395
  select = wrapper.find( 'select' ).first();
396
 
397
  if ( select.length ) {
398
- select.val( key ).trigger( 'yith_select_images_value_changed' );
399
  items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
400
  item.addClass( 'yith-plugin-fw-select-images__item--selected' );
401
  }
@@ -434,20 +434,23 @@
434
  /* on-off */
435
  $( document ).on( 'click', '.yith-plugin-fw-onoff-container span', function () {
436
  var input = $( this ).prev( 'input' ),
437
- checked = input.prop( 'checked' ),
438
  disabled = input.prop( 'disabled' );
439
 
440
  if ( disabled ) {
441
  return;
442
  }
443
 
444
- if ( checked ) {
445
- input.prop( 'checked', false ).attr( 'value', 'no' ).removeClass( 'onoffchecked' );
 
 
 
 
 
446
  } else {
447
- input.prop( 'checked', true ).attr( 'value', 'yes' ).addClass( 'onoffchecked' );
448
  }
449
-
450
- input.change();
451
  } );
452
 
453
 
395
  select = wrapper.find( 'select' ).first();
396
 
397
  if ( select.length ) {
398
+ select.val( key ).trigger( 'yith_select_images_value_changed' ).trigger( 'change' );
399
  items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
400
  item.addClass( 'yith-plugin-fw-select-images__item--selected' );
401
  }
434
  /* on-off */
435
  $( document ).on( 'click', '.yith-plugin-fw-onoff-container span', function () {
436
  var input = $( this ).prev( 'input' ),
 
437
  disabled = input.prop( 'disabled' );
438
 
439
  if ( disabled ) {
440
  return;
441
  }
442
 
443
+ input.trigger( 'click' );
444
+ } );
445
+
446
+ // Useful for triggering deps when clicking on field label.
447
+ $( document ).on( 'click', '.yith-plugin-fw-onoff-container input', function ( e ) {
448
+ if ( $( this ).is( ':checked' ) ) {
449
+ $( this ).attr( 'value', 'yes' ).addClass( 'onoffchecked' );
450
  } else {
451
+ $( this ).attr( 'value', 'no' ).removeClass( 'onoffchecked' );
452
  }
453
+ $( this ).trigger( 'change' );
 
454
  } );
455
 
456
 
plugin-fw/assets/js/yith-fields.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){e(document).on("yith_fields_init",function(){var t=e(".yith-plugin-fw-datepicker"),i=e(".yith-plugin-fw-colorpicker"),n={imgPreviewHandler:".yith-plugin-fw-upload-img-preview",uploadButtonHandler:".yith-plugin-fw-upload-button",imgUrlHandler:".yith-plugin-fw-upload-img-url",resetButtonHandler:".yith-plugin-fw-upload-button-reset",imgUrl:e(".yith-plugin-fw-upload-img-url")},a=e(".add_media"),l={rootSelector:".yith-plugin-fw-image-gallery",buttonSelector:".yith-plugin-fw-image-gallery .image-gallery-button",sliderWrapper:e(".yith-plugin-fw-image-gallery ul.slides-wrapper")},o=e(".yith-plugin-fw-sidebar-layout"),s=e(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),r=e(".yit-icons-manager-wrapper");e(".yith-plugin-ui td.forminp-checkbox");t.each(function(){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")})}),i.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.change()}}),i.each(function(){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))}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(n.imgUrl.change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(n.imgPreviewHandler).first();a.length<1&&(a=e(this).parent().parent().find(n.imgPreviewHandler).first()),i.test(t)?a.html('<img src="'+t+'" style="max-width:100px; max-height:100px;" />'):a.html("")}).trigger("change"),e(document).on("click",n.uploadButtonHandler,function(t){t.preventDefault();var i,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(i)i.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),n.imgUrl.trigger("change")}),i.open()}}),e(document).on("click",n.resetButtonHandler,function(t){var i=e(this),a=i.attr("id").replace(/(\[|\])/g,"\\$1"),l=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),o=e("#"+a).data("default");e("#"+l).val(o),n.imgUrl.trigger("change")}));a.on("click",function(){}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("click",l.buttonSelector,function(t){var i=e(this),n=i.closest(l.rootSelector),a=n.find(".image_gallery_ids"),o=a.val(),s=n.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:i.data("choose"),button:{text:i.data("update")},states:[new wp.media.controller.Library({title:i.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){(e=e.toJSON()).id&&(o=o?o+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+i.data("delete")+'">x</a></li></ul></li>'))}),a.val(o),a.trigger("change")}),r.open()}),l.sliderWrapper.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(i,n){var a="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");a=a+t+","}),t.closest(l.rootSelector).find(".image_gallery_ids").val(a)}})}),l.sliderWrapper.on("click","a.delete",function(t){t.preventDefault();var i=e(this).closest(l.rootSelector),n=i.find("ul.slides-wrapper"),a=i.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),n.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),a.val(o)})),o.each(function(){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()}})}),s.each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),l=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+l)}})}),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("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")}),r.each(function(){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"),d=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",d),n.val(o+":"+d),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).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"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document.body).trigger("wc-enhanced-select-init"),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("yith-framework-enhanced-select-init")}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input"),i=t.prop("checked");t.prop("disabled")||(i?t.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):t.prop("checked",!0).attr("value","yes").addClass("onoffchecked"),t.change())}),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 d=wp.template("yith-toggle-element-item-"+n),c=e(d({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(c).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(c).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(c).find("#"+n).val(a)}}),e(c).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,c,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(c),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).val(e(this).data("value")),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 t={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 i=t;e(document).on("click",i.selectors.units.single,i.unitChange),e(document).on("click",i.selectors.linked.button,i.linkedChange),e(document).on("change keyup",i.selectors.dimensions.number,i.numberChange)},unitChange:function(i){var n=e(this).closest(t.selectors.units.single),a=n.closest(t.selectors.units.wrapper),l=a.find(t.selectors.units.single),o=a.find(t.selectors.units.value).first(),s=n.data("value");l.removeClass(t.selectors.units.selectedClass),n.addClass(t.selectors.units.selectedClass),o.val(s)},linkedChange:function(){var i=e(this).closest(t.selectors.linked.button),n=i.closest(t.selectors.wrapper),a=i.find(t.selectors.linked.value);"yes"===a.val()?(n.removeClass(t.selectors.linked.wrapperActiveClass),a.val("no")):(n.addClass(t.selectors.linked.wrapperActiveClass),a.val("yes"),n.find(t.selectors.dimensions.number).first().trigger("change"))},numberChange:function(i){var n=e(this).closest(t.selectors.dimensions.number),a=n.closest(t.selectors.wrapper);a.hasClass(t.selectors.linked.wrapperActiveClass)&&a.find(t.selectors.dimensions.number).val(n.val())}};t.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)})}(jQuery);
1
+ !function(e){e(document).on("yith_fields_init",function(){var t=e(".yith-plugin-fw-datepicker"),i=e(".yith-plugin-fw-colorpicker"),n={imgPreviewHandler:".yith-plugin-fw-upload-img-preview",uploadButtonHandler:".yith-plugin-fw-upload-button",imgUrlHandler:".yith-plugin-fw-upload-img-url",resetButtonHandler:".yith-plugin-fw-upload-button-reset",imgUrl:e(".yith-plugin-fw-upload-img-url")},a=e(".add_media"),l={rootSelector:".yith-plugin-fw-image-gallery",buttonSelector:".yith-plugin-fw-image-gallery .image-gallery-button",sliderWrapper:e(".yith-plugin-fw-image-gallery ul.slides-wrapper")},o=e(".yith-plugin-fw-sidebar-layout"),s=e(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),r=e(".yit-icons-manager-wrapper");e(".yith-plugin-ui td.forminp-checkbox");t.each(function(){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")})}),i.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.change()}}),i.each(function(){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))}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(n.imgUrl.change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(n.imgPreviewHandler).first();a.length<1&&(a=e(this).parent().parent().find(n.imgPreviewHandler).first()),i.test(t)?a.html('<img src="'+t+'" style="max-width:100px; max-height:100px;" />'):a.html("")}).trigger("change"),e(document).on("click",n.uploadButtonHandler,function(t){t.preventDefault();var i,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(i)i.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),n.imgUrl.trigger("change")}),i.open()}}),e(document).on("click",n.resetButtonHandler,function(t){var i=e(this),a=i.attr("id").replace(/(\[|\])/g,"\\$1"),l=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),o=e("#"+a).data("default");e("#"+l).val(o),n.imgUrl.trigger("change")}));a.on("click",function(){}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("click",l.buttonSelector,function(t){var i=e(this),n=i.closest(l.rootSelector),a=n.find(".image_gallery_ids"),o=a.val(),s=n.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:i.data("choose"),button:{text:i.data("update")},states:[new wp.media.controller.Library({title:i.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){(e=e.toJSON()).id&&(o=o?o+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+i.data("delete")+'">x</a></li></ul></li>'))}),a.val(o),a.trigger("change")}),r.open()}),l.sliderWrapper.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(i,n){var a="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");a=a+t+","}),t.closest(l.rootSelector).find(".image_gallery_ids").val(a)}})}),l.sliderWrapper.on("click","a.delete",function(t){t.preventDefault();var i=e(this).closest(l.rootSelector),n=i.find("ul.slides-wrapper"),a=i.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),n.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),a.val(o)})),o.each(function(){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()}})}),s.each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),l=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+l)}})}),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("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")}),r.each(function(){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"),d=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",d),n.val(o+":"+d),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).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.body).trigger("wc-enhanced-select-init"),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("yith-framework-enhanced-select-init")}).trigger("yith_fields_init"),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(this).trigger("change")}),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 d=wp.template("yith-toggle-element-item-"+n),c=e(d({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(c).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(c).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(c).find("#"+n).val(a)}}),e(c).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,c,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(c),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).val(e(this).data("value")),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 t={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 i=t;e(document).on("click",i.selectors.units.single,i.unitChange),e(document).on("click",i.selectors.linked.button,i.linkedChange),e(document).on("change keyup",i.selectors.dimensions.number,i.numberChange)},unitChange:function(i){var n=e(this).closest(t.selectors.units.single),a=n.closest(t.selectors.units.wrapper),l=a.find(t.selectors.units.single),o=a.find(t.selectors.units.value).first(),s=n.data("value");l.removeClass(t.selectors.units.selectedClass),n.addClass(t.selectors.units.selectedClass),o.val(s)},linkedChange:function(){var i=e(this).closest(t.selectors.linked.button),n=i.closest(t.selectors.wrapper),a=i.find(t.selectors.linked.value);"yes"===a.val()?(n.removeClass(t.selectors.linked.wrapperActiveClass),a.val("no")):(n.addClass(t.selectors.linked.wrapperActiveClass),a.val("yes"),n.find(t.selectors.dimensions.number).first().trigger("change"))},numberChange:function(i){var n=e(this).closest(t.selectors.dimensions.number),a=n.closest(t.selectors.wrapper);a.hasClass(t.selectors.linked.wrapperActiveClass)&&a.find(t.selectors.dimensions.number).val(n.val())}};t.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)})}(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' => 'c56d63ac6af03c66ca94fd8585344781');
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' => '0cd18d6eb6a3a162b564625f29f7b9b6');
plugin-fw/dist/gutenberg/index.js CHANGED
@@ -1 +1 @@
1
- (window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[]).push([[1],{27:function(e,t,n){},28:function(e,t,n){}}]),function(e){function t(t){for(var r,a,l=t[0],i=t[1],u=t[2],f=0,p=[];f<l.length;f++)a=l[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);for(s&&s(t);p.length;)p.shift()();return c.push.apply(c,u||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,l=1;l<n.length;l++){var i=n[l];0!==o[i]&&(r=!1)}r&&(c.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={0:0},c=[];function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var l=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],i=l.push.bind(l);l.push=t,l=l.slice();for(var u=0;u<l.length;u++)t(l[u]);var s=i;c.push([29,1]),n()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},function(e,t,n){var r=n(17),o=n(18),c=n(19),a=n(21);e.exports=function(e,t){return r(e)||o(e,t)||c(e,t)||a()}},function(e,t){e.exports=window.wp.hooks},function(e,t,n){var r,o,c,a,l;r=n(22),o=n(9).utf8,c=n(23),a=n(9).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):c(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),i=8*e.length,u=1732584193,s=-271733879,f=-1732584194,p=271733878,h=0;h<n.length;h++)n[h]=16711935&(n[h]<<8|n[h]>>>24)|4278255360&(n[h]<<24|n[h]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var b=l._ff,d=l._gg,y=l._hh,g=l._ii;for(h=0;h<n.length;h+=16){var m=u,v=s,_=f,j=p;u=b(u,s,f,p,n[h+0],7,-680876936),p=b(p,u,s,f,n[h+1],12,-389564586),f=b(f,p,u,s,n[h+2],17,606105819),s=b(s,f,p,u,n[h+3],22,-1044525330),u=b(u,s,f,p,n[h+4],7,-176418897),p=b(p,u,s,f,n[h+5],12,1200080426),f=b(f,p,u,s,n[h+6],17,-1473231341),s=b(s,f,p,u,n[h+7],22,-45705983),u=b(u,s,f,p,n[h+8],7,1770035416),p=b(p,u,s,f,n[h+9],12,-1958414417),f=b(f,p,u,s,n[h+10],17,-42063),s=b(s,f,p,u,n[h+11],22,-1990404162),u=b(u,s,f,p,n[h+12],7,1804603682),p=b(p,u,s,f,n[h+13],12,-40341101),f=b(f,p,u,s,n[h+14],17,-1502002290),u=d(u,s=b(s,f,p,u,n[h+15],22,1236535329),f,p,n[h+1],5,-165796510),p=d(p,u,s,f,n[h+6],9,-1069501632),f=d(f,p,u,s,n[h+11],14,643717713),s=d(s,f,p,u,n[h+0],20,-373897302),u=d(u,s,f,p,n[h+5],5,-701558691),p=d(p,u,s,f,n[h+10],9,38016083),f=d(f,p,u,s,n[h+15],14,-660478335),s=d(s,f,p,u,n[h+4],20,-405537848),u=d(u,s,f,p,n[h+9],5,568446438),p=d(p,u,s,f,n[h+14],9,-1019803690),f=d(f,p,u,s,n[h+3],14,-187363961),s=d(s,f,p,u,n[h+8],20,1163531501),u=d(u,s,f,p,n[h+13],5,-1444681467),p=d(p,u,s,f,n[h+2],9,-51403784),f=d(f,p,u,s,n[h+7],14,1735328473),u=y(u,s=d(s,f,p,u,n[h+12],20,-1926607734),f,p,n[h+5],4,-378558),p=y(p,u,s,f,n[h+8],11,-2022574463),f=y(f,p,u,s,n[h+11],16,1839030562),s=y(s,f,p,u,n[h+14],23,-35309556),u=y(u,s,f,p,n[h+1],4,-1530992060),p=y(p,u,s,f,n[h+4],11,1272893353),f=y(f,p,u,s,n[h+7],16,-155497632),s=y(s,f,p,u,n[h+10],23,-1094730640),u=y(u,s,f,p,n[h+13],4,681279174),p=y(p,u,s,f,n[h+0],11,-358537222),f=y(f,p,u,s,n[h+3],16,-722521979),s=y(s,f,p,u,n[h+6],23,76029189),u=y(u,s,f,p,n[h+9],4,-640364487),p=y(p,u,s,f,n[h+12],11,-421815835),f=y(f,p,u,s,n[h+15],16,530742520),u=g(u,s=y(s,f,p,u,n[h+2],23,-995338651),f,p,n[h+0],6,-198630844),p=g(p,u,s,f,n[h+7],10,1126891415),f=g(f,p,u,s,n[h+14],15,-1416354905),s=g(s,f,p,u,n[h+5],21,-57434055),u=g(u,s,f,p,n[h+12],6,1700485571),p=g(p,u,s,f,n[h+3],10,-1894986606),f=g(f,p,u,s,n[h+10],15,-1051523),s=g(s,f,p,u,n[h+1],21,-2054922799),u=g(u,s,f,p,n[h+8],6,1873313359),p=g(p,u,s,f,n[h+15],10,-30611744),f=g(f,p,u,s,n[h+6],15,-1560198380),s=g(s,f,p,u,n[h+13],21,1309151649),u=g(u,s,f,p,n[h+4],6,-145523070),p=g(p,u,s,f,n[h+11],10,-1120210379),f=g(f,p,u,s,n[h+2],15,718787259),s=g(s,f,p,u,n[h+9],21,-343485551),u=u+m>>>0,s=s+v>>>0,f=f+_>>>0,p=p+j>>>0}return r.endian([u,s,f,p])})._ff=function(e,t,n,r,o,c,a){var l=e+(t&n|~t&r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._gg=function(e,t,n,r,o,c,a){var l=e+(t&r|n&~r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._hh=function(e,t,n,r,o,c,a){var l=e+(t^n^r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._ii=function(e,t,n,r,o,c,a){var l=e+(n^(t|~r))+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(l(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(24);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,c=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}return n}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={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&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.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=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],c=0;c<4;c++)8*r+6*c<=8*e.length?t.push(n.charAt(o>>>6*(3-c)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,function(e,t,n){"use strict";n.r(t);var r=n(3),o=n.n(r),c=n(0),a=n(2),l=n(5),i=n.n(l),u=n(10),s=n(11);function f(e){if(e.status>=200&&e.status<300)return e;throw e}function p(e){return e.json?e.json():e.text()}var h=Object(c.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"},Object(c.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"})),b=function(e,t){var n=e.controlType,r=!0;if(e.deps&&e.deps.id&&"value"in e.deps){var o=e.deps.value;"toggle"!==n&&"checkbox"!==n||(o=!0===o||"yes"===o||1===o),r=void 0!==t[e.deps.id]&&o===t[e.deps.id]}return r},d=function(e,t){var n="",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)n=r(t,e);else{var c=e.attributes?Object.entries(e.attributes).map((function(e){var n=o()(e,2),r=n[0],c=n[1],a=b(c,t),l=t[r];if(a&&void 0!==l)return r+"="+(c.remove_quotes?l:'"'.concat(l,'"'))})):[],a=c.length?" "+c.join(" "):"";n="[".concat(e.shortcode_name).concat(a,"]")}return n},y=n(1),g=n(6),m=n(12),v=n.n(m),_=n(13),j=n.n(_),w=n(14),k=n.n(w),x=n(15),O=n.n(x),C=n(8),E=n.n(C),S=n(16),T=n(4);n(27);var A=function(e){k()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=E()(t);if(n){var o=E()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return O()(this,e)});function o(){var e;return v()(this,o),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1},e.ajaxTimeout=!1,e}return j()(o,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.shortcode,c=r.shortcodeHash,a=r.ajaxSuccess,l=r.ajaxResponse,i=r.ajaxUpdated;Object(S.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&i&&(a&&Object(T.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,c,l),Object(T.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,c,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,n=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var o=d(r,n),c=i()(o);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(T.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,c),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(s.addQueryArgs)(t,e),fetch(t).then(f).then(p)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((function(t){e.setState({loading:!1,html:t.html,shortcode:o,shortcodeHash:c,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,html:o,shortcode:o,shortcodeHash:c})}},{key:"render",value:function(){var e=this.state,t=e.html,n=e.loading,r=e.shortcode,o=e.shortcodeHash,a=this.props.blockArgs,l=a.do_shortcode,i=a.title,u=a.empty_message,s="block-editor-yith-plugin-fw-shortcode-block",f=[s],p=l?"html":"shortcode",b=t,d="";l&&!t&&(p="empty-html",b=r,u&&(d=u));var g=["shortcode","empty-html"].includes(p),m="empty-html"!==p,v=!!d;return f.push("".concat(s,"--").concat(p)),f.push("".concat(s,v?"--has-message":"--no-message")),f.push("yith_block_".concat(o)),Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:f.join(" ")},n?Object(c.createElement)("div",{className:"".concat(s,"__spinner-wrap")},Object(c.createElement)(y.Spinner,null)):"",g&&Object(c.createElement)("div",{className:"".concat(s,"__title components-placeholder__label")},h,i),v&&Object(c.createElement)(c.RawHTML,{className:"".concat(s,"__message")},d),m&&Object(c.createElement)(c.RawHTML,{className:"".concat(s,"__content")},b)))}}]),o}(a.Component),B=n(7);function N(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.disableAlpha,i=Object(B.useInstanceId)(N),u="inspector-yith-color-picker-control-".concat(i);return Object(c.createElement)(y.BaseControl,{id:u,label:n,className:"block-editor-yith-color-control ".concat(t),help:a},Object(c.createElement)(y.ColorPicker,{color:o,disableAlpha:l,onChangeComplete:r}))}function R(e){var t=e.label,n=e.colorValue;return Object(c.createElement)(c.Fragment,null,t,!!n&&Object(c.createElement)(y.ColorIndicator,{colorValue:n}))}function P(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.palette,i=e.clearable;l=l||Object(g.__experimentalUseEditorFeature)("color.palette");var u=Object(B.useInstanceId)(P),s="inspector-yith-color-palette-control-".concat(u);return Object(c.createElement)(y.BaseControl,{id:s,className:"block-editor-yith-color-palette-control ".concat(t),help:a},Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",null,Object(c.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(c.createElement)(y.BaseControl.VisualLabel,null,Object(c.createElement)(R,{colorValue:o,label:n})))),Object(c.createElement)(y.ColorPalette,{value:o,onChange:r,colors:l,clearable:i})))}n(28);for(var M=function(e,t){return function(n){var r=n.attributes,a=(n.className,n.setAttributes),l=function(e,t,n){["colorpicker","color"].includes(n)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,a(r)};return Object(c.createElement)(c.Fragment,null,!!t.attributes&&Object(c.createElement)(g.InspectorControls,null,Object(c.createElement)(y.PanelBody,null,Object.entries(t.attributes).map((function(t){var n=o()(t,2),a=function(t,n){var o=n.controlType,a=r[t],i=function(e,t){var n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n}(n,a),u="".concat(e,"__").concat(t,"-field-wrapper"),s=b(n,r);n.wrapper_class&&(u+=" "+n.wrapper_class);var f=!1;if(s)switch(o){case"select":f=Object(c.createElement)(y.SelectControl,{className:u,key:t,value:a,label:n.label,options:n.options,selected:a,help:i,multiple:!!n.multiple,onChange:function(e){l(e,t,o)}});break;case"text":f=Object(c.createElement)(y.TextControl,{className:u,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"textarea":f=Object(c.createElement)(y.TextareaControl,{className:u,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"toggle":f=Object(c.createElement)(y.ToggleControl,{className:u,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"checkbox":f=Object(c.createElement)(y.CheckboxControl,{className:u,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"number":case"range":f=Object(c.createElement)(y.RangeControl,{className:u,key:t,value:a,label:n.label,help:i,min:n.min,max:n.max,onChange:function(e){l(e,t,o)}});break;case"color":case"colorpicker":f=Object(c.createElement)(N,{className:u,key:t,label:n.label,help:i,value:a,disableAlpha:n.disableAlpha,onChange:function(e){l(e,t,o)}});break;case"color-palette":f=Object(c.createElement)(P,{className:u,key:t,label:n.label,help:i,value:a,clearable:n.clearable||!1,onChange:function(e){l(e,t,o)}});break;case"radio":f=Object(c.createElement)(y.RadioControl,{key:t,value:a,label:n.label,options:n.options,selected:a,checked:a,help:i,onChange:function(e){l(e,t,o)}});break;default:f=!1}return f}(n[0],n[1]);if(a)return a})))),Object(c.createElement)(A,{attributes:r,blockArgs:t}))}},I=function(){var e=U[H];Object(T.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}))},H=0,U=[{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}];H<U.length;H++)I();for(var Q=function(){var e=o()(F[L],2),t=e[0],n=e[1];Object(u.registerBlockType)("yith/"+t,{title:n.title,description:n.description,category:n.category,attributes:n.attributes,icon:void 0!==n.icon?n.icon:h,keywords:n.keywords,edit:M(t,n),save:function(e){var t=e.attributes;return d(n,t)},deprecated:[{attributes:n.attributes,save:function(e){var t=e.attributes,r=d(n,t),o='<span class="yith_block_'+i()(r)+'">'+r+"</span>";return Object(c.createElement)(c.RawHTML,null,o)}}]})},L=0,F=Object.entries(yithGutenbergBlocks);L<F.length;L++)Q()}]);
1
+ (window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[]).push([[1],{27:function(e,t,n){},28:function(e,t,n){}}]),function(e){function t(t){for(var r,a,l=t[0],i=t[1],u=t[2],f=0,p=[];f<l.length;f++)a=l[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);for(s&&s(t);p.length;)p.shift()();return c.push.apply(c,u||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,l=1;l<n.length;l++){var i=n[l];0!==o[i]&&(r=!1)}r&&(c.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={0:0},c=[];function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var l=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],i=l.push.bind(l);l.push=t,l=l.slice();for(var u=0;u<l.length;u++)t(l[u]);var s=i;c.push([29,1]),n()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},function(e,t,n){var r=n(17),o=n(18),c=n(19),a=n(21);e.exports=function(e,t){return r(e)||o(e,t)||c(e,t)||a()}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.lodash},function(e,t,n){var r,o,c,a,l;r=n(22),o=n(10).utf8,c=n(23),a=n(10).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):c(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),i=8*e.length,u=1732584193,s=-271733879,f=-1732584194,p=271733878,h=0;h<n.length;h++)n[h]=16711935&(n[h]<<8|n[h]>>>24)|4278255360&(n[h]<<24|n[h]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var b=l._ff,d=l._gg,y=l._hh,g=l._ii;for(h=0;h<n.length;h+=16){var m=u,v=s,_=f,j=p;u=b(u,s,f,p,n[h+0],7,-680876936),p=b(p,u,s,f,n[h+1],12,-389564586),f=b(f,p,u,s,n[h+2],17,606105819),s=b(s,f,p,u,n[h+3],22,-1044525330),u=b(u,s,f,p,n[h+4],7,-176418897),p=b(p,u,s,f,n[h+5],12,1200080426),f=b(f,p,u,s,n[h+6],17,-1473231341),s=b(s,f,p,u,n[h+7],22,-45705983),u=b(u,s,f,p,n[h+8],7,1770035416),p=b(p,u,s,f,n[h+9],12,-1958414417),f=b(f,p,u,s,n[h+10],17,-42063),s=b(s,f,p,u,n[h+11],22,-1990404162),u=b(u,s,f,p,n[h+12],7,1804603682),p=b(p,u,s,f,n[h+13],12,-40341101),f=b(f,p,u,s,n[h+14],17,-1502002290),u=d(u,s=b(s,f,p,u,n[h+15],22,1236535329),f,p,n[h+1],5,-165796510),p=d(p,u,s,f,n[h+6],9,-1069501632),f=d(f,p,u,s,n[h+11],14,643717713),s=d(s,f,p,u,n[h+0],20,-373897302),u=d(u,s,f,p,n[h+5],5,-701558691),p=d(p,u,s,f,n[h+10],9,38016083),f=d(f,p,u,s,n[h+15],14,-660478335),s=d(s,f,p,u,n[h+4],20,-405537848),u=d(u,s,f,p,n[h+9],5,568446438),p=d(p,u,s,f,n[h+14],9,-1019803690),f=d(f,p,u,s,n[h+3],14,-187363961),s=d(s,f,p,u,n[h+8],20,1163531501),u=d(u,s,f,p,n[h+13],5,-1444681467),p=d(p,u,s,f,n[h+2],9,-51403784),f=d(f,p,u,s,n[h+7],14,1735328473),u=y(u,s=d(s,f,p,u,n[h+12],20,-1926607734),f,p,n[h+5],4,-378558),p=y(p,u,s,f,n[h+8],11,-2022574463),f=y(f,p,u,s,n[h+11],16,1839030562),s=y(s,f,p,u,n[h+14],23,-35309556),u=y(u,s,f,p,n[h+1],4,-1530992060),p=y(p,u,s,f,n[h+4],11,1272893353),f=y(f,p,u,s,n[h+7],16,-155497632),s=y(s,f,p,u,n[h+10],23,-1094730640),u=y(u,s,f,p,n[h+13],4,681279174),p=y(p,u,s,f,n[h+0],11,-358537222),f=y(f,p,u,s,n[h+3],16,-722521979),s=y(s,f,p,u,n[h+6],23,76029189),u=y(u,s,f,p,n[h+9],4,-640364487),p=y(p,u,s,f,n[h+12],11,-421815835),f=y(f,p,u,s,n[h+15],16,530742520),u=g(u,s=y(s,f,p,u,n[h+2],23,-995338651),f,p,n[h+0],6,-198630844),p=g(p,u,s,f,n[h+7],10,1126891415),f=g(f,p,u,s,n[h+14],15,-1416354905),s=g(s,f,p,u,n[h+5],21,-57434055),u=g(u,s,f,p,n[h+12],6,1700485571),p=g(p,u,s,f,n[h+3],10,-1894986606),f=g(f,p,u,s,n[h+10],15,-1051523),s=g(s,f,p,u,n[h+1],21,-2054922799),u=g(u,s,f,p,n[h+8],6,1873313359),p=g(p,u,s,f,n[h+15],10,-30611744),f=g(f,p,u,s,n[h+6],15,-1560198380),s=g(s,f,p,u,n[h+13],21,1309151649),u=g(u,s,f,p,n[h+4],6,-145523070),p=g(p,u,s,f,n[h+11],10,-1120210379),f=g(f,p,u,s,n[h+2],15,718787259),s=g(s,f,p,u,n[h+9],21,-343485551),u=u+m>>>0,s=s+v>>>0,f=f+_>>>0,p=p+j>>>0}return r.endian([u,s,f,p])})._ff=function(e,t,n,r,o,c,a){var l=e+(t&n|~t&r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._gg=function(e,t,n,r,o,c,a){var l=e+(t&r|n&~r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._hh=function(e,t,n,r,o,c,a){var l=e+(t^n^r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._ii=function(e,t,n,r,o,c,a){var l=e+(n^(t|~r))+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(l(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(24);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,c=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}return n}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={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&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.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=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],c=0;c<4;c++)8*r+6*c<=8*e.length?t.push(n.charAt(o>>>6*(3-c)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,function(e,t,n){"use strict";n.r(t);var r=n(3),o=n.n(r),c=n(0),a=n(2),l=n(6),i=n.n(l),u=n(11),s=n(12);function f(e){if(e.status>=200&&e.status<300)return e;throw e}function p(e){return e.json?e.json():e.text()}var h=Object(c.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"},Object(c.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"})),b=n(5),d=n.n(b),y=function(e,t,n){var r=!0;if(t&&t.id&&"value"in t){var o=t.value;["toggle","checkbox"].includes(n)&&(o=!0===o||"yes"===o||1===o),o=d.a.isArray(o)?o:[o],r=void 0!==e[t.id]&&o.includes(e[t.id])}return r},g=function(e,t){var n=e.controlType,r=!0;if(e.deps)if(d.a.isArray(e.deps))for(var o in e.deps){var c=e.deps[o];if(!(r=y(t,c,n)))break}else r=y(t,e.deps,n);return r},m=function(e,t){var n="",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)n=r(t,e);else{var c=e.attributes?Object.entries(e.attributes).map((function(e){var n=o()(e,2),r=n[0],c=n[1],a=g(c,t),l=t[r];if(a&&void 0!==l)return r+"="+(c.remove_quotes?l:'"'.concat(l,'"'))})):[],a=c.length?" "+c.join(" "):"";n="[".concat(e.shortcode_name).concat(a,"]")}return n},v=n(1),_=n(7),j=n(13),w=n.n(j),k=n(14),x=n.n(k),O=n(15),C=n.n(O),E=n(16),S=n.n(E),T=n(9),A=n.n(T),B=n(4);n(27);var N=function(e){C()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=A()(t);if(n){var o=A()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return S()(this,e)});function o(){var e;return w()(this,o),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1},e.ajaxTimeout=!1,e}return x()(o,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.shortcode,c=r.shortcodeHash,a=r.ajaxSuccess,l=r.ajaxResponse,i=r.ajaxUpdated;Object(b.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&i&&(a&&Object(B.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,c,l),Object(B.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,c,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,n=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var o=m(r,n),c=i()(o);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(B.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,c),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(s.addQueryArgs)(t,e),fetch(t).then(f).then(p)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((function(t){e.setState({loading:!1,html:t.html,shortcode:o,shortcodeHash:c,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,html:o,shortcode:o,shortcodeHash:c})}},{key:"render",value:function(){var e=this.state,t=e.html,n=e.loading,r=e.shortcode,o=e.shortcodeHash,a=this.props.blockArgs,l=a.do_shortcode,i=a.title,u=a.empty_message,s="block-editor-yith-plugin-fw-shortcode-block",f=[s],p=l?"html":"shortcode",b=t,d="";l&&!t&&(p="empty-html",b=r,u&&(d=u));var y=["shortcode","empty-html"].includes(p),g="empty-html"!==p,m=!!d;return f.push("".concat(s,"--").concat(p)),f.push("".concat(s,m?"--has-message":"--no-message")),f.push("yith_block_".concat(o)),Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:f.join(" ")},n?Object(c.createElement)("div",{className:"".concat(s,"__spinner-wrap")},Object(c.createElement)(v.Spinner,null)):"",y&&Object(c.createElement)("div",{className:"".concat(s,"__title components-placeholder__label")},h,i),m&&Object(c.createElement)(c.RawHTML,{className:"".concat(s,"__message")},d),g&&Object(c.createElement)(c.RawHTML,{className:"".concat(s,"__content")},b)))}}]),o}(a.Component),R=n(8);function P(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.disableAlpha,i=Object(R.useInstanceId)(P),u="inspector-yith-color-picker-control-".concat(i);return Object(c.createElement)(v.BaseControl,{id:u,label:n,className:"block-editor-yith-color-control ".concat(t),help:a},Object(c.createElement)(v.ColorPicker,{color:o,disableAlpha:l,onChangeComplete:r}))}function M(e){var t=e.label,n=e.colorValue;return Object(c.createElement)(c.Fragment,null,t,!!n&&Object(c.createElement)(v.ColorIndicator,{colorValue:n}))}function I(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.palette,i=e.clearable;l=l||Object(_.__experimentalUseEditorFeature)("color.palette");var u=Object(R.useInstanceId)(I),s="inspector-yith-color-palette-control-".concat(u);return Object(c.createElement)(v.BaseControl,{id:s,className:"block-editor-yith-color-palette-control ".concat(t),help:a},Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",null,Object(c.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(c.createElement)(v.BaseControl.VisualLabel,null,Object(c.createElement)(M,{colorValue:o,label:n})))),Object(c.createElement)(v.ColorPalette,{value:o,onChange:r,colors:l,clearable:i})))}n(28);for(var H=function(e,t){return function(n){var r=n.attributes,a=(n.className,n.setAttributes),l=function(e,t,n){["colorpicker","color"].includes(n)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,a(r)};return Object(c.createElement)(c.Fragment,null,!!t.attributes&&Object(c.createElement)(_.InspectorControls,null,Object(c.createElement)(v.PanelBody,null,Object.entries(t.attributes).map((function(t){var n=o()(t,2),a=function(t,n){var o=n.controlType,a=r[t],i=function(e,t){var n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n}(n,a),u="".concat(e,"__").concat(t,"-field-wrapper"),s=g(n,r);n.wrapper_class&&(u+=" "+n.wrapper_class);var f=!1;if(s)switch(o){case"select":f=Object(c.createElement)(v.SelectControl,{className:u,key:t,value:a,label:n.label,options:n.options,selected:a,help:i,multiple:!!n.multiple,onChange:function(e){l(e,t,o)}});break;case"text":f=Object(c.createElement)(v.TextControl,{className:u,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"textarea":f=Object(c.createElement)(v.TextareaControl,{className:u,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"toggle":f=Object(c.createElement)(v.ToggleControl,{className:u,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"checkbox":f=Object(c.createElement)(v.CheckboxControl,{className:u,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"number":case"range":f=Object(c.createElement)(v.RangeControl,{className:u,key:t,value:a,label:n.label,help:i,min:n.min,max:n.max,onChange:function(e){l(e,t,o)}});break;case"color":case"colorpicker":f=Object(c.createElement)(P,{className:u,key:t,label:n.label,help:i,value:a,disableAlpha:n.disableAlpha,onChange:function(e){l(e,t,o)}});break;case"color-palette":f=Object(c.createElement)(I,{className:u,key:t,label:n.label,help:i,value:a,clearable:n.clearable||!1,onChange:function(e){l(e,t,o)}});break;case"radio":f=Object(c.createElement)(v.RadioControl,{key:t,value:a,label:n.label,options:n.options,selected:a,checked:a,help:i,onChange:function(e){l(e,t,o)}});break;default:f=!1}return f}(n[0],n[1]);if(a)return a})))),Object(c.createElement)(N,{attributes:r,blockArgs:t}))}},U=function(){var e=L[Q];Object(B.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}))},Q=0,L=[{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}];Q<L.length;Q++)U();for(var F=function(){var e=o()(J[D],2),t=e[0],n=e[1];Object(u.registerBlockType)("yith/"+t,{title:n.title,description:n.description,category:n.category,attributes:n.attributes,icon:void 0!==n.icon?n.icon:h,keywords:n.keywords,edit:H(t,n),save:function(e){var t=e.attributes;return m(n,t)},deprecated:[{attributes:n.attributes,save:function(e){var t=e.attributes,r=m(n,t),o='<span class="yith_block_'+i()(r)+'">'+r+"</span>";return Object(c.createElement)(c.RawHTML,null,o)}}]})},D=0,J=Object.entries(yithGutenbergBlocks);D<J.length;D++)F()}]);
plugin-fw/includes/builders/elementor/class-yith-elementor-widget.php CHANGED
@@ -401,15 +401,31 @@ if ( ! class_exists( 'YITH_Elementor_Widget' ) ) {
401
  $option = $this->override_elementor_specific_data( $option );
402
  $type = isset( $option['type'] ) ? $option['type'] : false;
403
 
404
- if ( isset( $option['deps'], $option['deps']['id'], $option['deps']['value'] ) && ! isset( $option['condition'] ) ) {
 
 
 
 
 
 
 
 
 
 
405
 
406
- $value = $option['deps']['value'];
407
- if ( in_array( $type, array( 'toggle', 'onoff', 'checkbox' ), true ) ) {
408
- $value = yith_plugin_fw_is_true( $value ) ? 'yes' : 'no';
 
 
 
 
 
 
 
 
409
  }
410
- $option['condition'] = array(
411
- $option['deps']['id'] => $value,
412
- );
413
  unset( $option['deps'] );
414
  }
415
 
401
  $option = $this->override_elementor_specific_data( $option );
402
  $type = isset( $option['type'] ) ? $option['type'] : false;
403
 
404
+ if ( ! empty( $option['deps'] ) && ! isset( $option['condition'] ) ) {
405
+ if ( isset( $option['deps']['id'], $option['deps']['value'] ) ) {
406
+ $deps = array(
407
+ array(
408
+ 'id' => $option['deps']['id'],
409
+ 'value' => $option['deps']['value'],
410
+ ),
411
+ );
412
+ } else {
413
+ $deps = $option['deps'];
414
+ }
415
 
416
+ $option['condition'] = array();
417
+
418
+ foreach ( $deps as $dep ) {
419
+ if ( isset( $dep['id'], $dep['value'] ) ) {
420
+ $dep_value = $dep['value'];
421
+ $dep_id = $dep['id'];
422
+ if ( in_array( $type, array( 'toggle', 'onoff', 'checkbox' ), true ) ) {
423
+ $dep_value = yith_plugin_fw_is_true( $dep_value ) ? 'yes' : 'no';
424
+ }
425
+ $option['condition'][ $dep_id ] = $dep_value;
426
+ }
427
  }
428
+
 
 
429
  unset( $option['deps'] );
430
  }
431
 
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.6.4
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.6.4
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.6.8
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.6.8
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.mo CHANGED
Binary file
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-03-09 13:34:06+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"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-04-12 11:06:33+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"
plugin-fw/languages/yith-plugin-fw-es_ES.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.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-03-09 13:34:06+00:00\n"
8
- "PO-Revision-Date: 2021-02-15 20:26:24+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -588,7 +588,7 @@ msgstr "YITH"
588
  #: includes/builders/elementor/class-yith-elementor-widget.php:252
589
  msgctxt "Elementor Widget - section title"
590
  msgid "%s - Options"
591
- msgstr ""
592
 
593
  #: includes/builders/gutenberg/class-yith-gutenberg.php:147
594
  msgctxt "[gutenberg]: Category Name"
@@ -655,12 +655,12 @@ msgstr "Pagos"
655
  #: templates/fields/copy-to-clipboard.php:41
656
  msgctxt "Copy-to-clipboard message"
657
  msgid "Copied!"
658
- msgstr ""
659
 
660
  #: templates/fields/copy-to-clipboard.php:45
661
  msgctxt "Copy-to-clipboard button text"
662
  msgid "Copy"
663
- msgstr ""
664
 
665
  #: templates/fields/dimensions.php:13
666
  msgctxt "Position in the \"Dimensions\" field"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
+ "PO-Revision-Date: 2021-03-15 15:43:52+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
588
  #: includes/builders/elementor/class-yith-elementor-widget.php:252
589
  msgctxt "Elementor Widget - section title"
590
  msgid "%s - Options"
591
+ msgstr "%s - Opciones"
592
 
593
  #: includes/builders/gutenberg/class-yith-gutenberg.php:147
594
  msgctxt "[gutenberg]: Category Name"
655
  #: templates/fields/copy-to-clipboard.php:41
656
  msgctxt "Copy-to-clipboard message"
657
  msgid "Copied!"
658
+ msgstr "¡Copiado!"
659
 
660
  #: templates/fields/copy-to-clipboard.php:45
661
  msgctxt "Copy-to-clipboard button text"
662
  msgid "Copy"
663
+ msgstr "Copiar"
664
 
665
  #: templates/fields/dimensions.php:13
666
  msgctxt "Position in the \"Dimensions\" field"
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-03-09 13:34:06+00:00\n"
8
- "PO-Revision-Date: 2021-03-01 21:20:50+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -656,12 +656,12 @@ msgstr "Pagamenti"
656
  #: templates/fields/copy-to-clipboard.php:41
657
  msgctxt "Copy-to-clipboard message"
658
  msgid "Copied!"
659
- msgstr ""
660
 
661
  #: templates/fields/copy-to-clipboard.php:45
662
  msgctxt "Copy-to-clipboard button text"
663
  msgid "Copy"
664
- msgstr ""
665
 
666
  #: templates/fields/dimensions.php:13
667
  msgctxt "Position in the \"Dimensions\" field"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
+ "PO-Revision-Date: 2021-04-02 11:09:29+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
656
  #: templates/fields/copy-to-clipboard.php:41
657
  msgctxt "Copy-to-clipboard message"
658
  msgid "Copied!"
659
+ msgstr "Copiato!"
660
 
661
  #: templates/fields/copy-to-clipboard.php:45
662
  msgctxt "Copy-to-clipboard button text"
663
  msgid "Copy"
664
+ msgstr "Copia"
665
 
666
  #: templates/fields/dimensions.php:13
667
  msgctxt "Position in the \"Dimensions\" field"
plugin-fw/languages/yith-plugin-fw-nl_NL.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-nl_NL.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-03-09 13:34:06+00:00\n"
8
- "PO-Revision-Date: 2021-03-02 10:41:26+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -652,12 +652,12 @@ msgstr "Betalingen"
652
  #: templates/fields/copy-to-clipboard.php:41
653
  msgctxt "Copy-to-clipboard message"
654
  msgid "Copied!"
655
- msgstr ""
656
 
657
  #: templates/fields/copy-to-clipboard.php:45
658
  msgctxt "Copy-to-clipboard button text"
659
  msgid "Copy"
660
- msgstr ""
661
 
662
  #: templates/fields/dimensions.php:13
663
  msgctxt "Position in the \"Dimensions\" field"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
+ "PO-Revision-Date: 2021-04-05 19:01:01+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
652
  #: templates/fields/copy-to-clipboard.php:41
653
  msgctxt "Copy-to-clipboard message"
654
  msgid "Copied!"
655
+ msgstr "Gekopieerd!"
656
 
657
  #: templates/fields/copy-to-clipboard.php:45
658
  msgctxt "Copy-to-clipboard button text"
659
  msgid "Copy"
660
+ msgstr "Kopieer"
661
 
662
  #: templates/fields/dimensions.php:13
663
  msgctxt "Position in the \"Dimensions\" field"
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-03-09 13:34:06+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-04-12 11:06:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
  Requires at least: 5.4
6
  Tested up to: 5.7
7
- Stable tag: 2.0.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,11 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
131
 
132
  == Changelog ==
133
 
 
 
 
 
 
134
  = Version 2.0.11 - Released: 11 March 2021 =
135
 
136
  * New: support for WordPress 5.7
@@ -410,7 +415,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
410
 
411
  == Upgrade Notice ==
412
 
413
- Last Stable Tag 2.0.11
414
 
415
  == Suggestions ==
416
 
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
  Requires at least: 5.4
6
  Tested up to: 5.7
7
+ Stable tag: 2.0.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
 
132
  == Changelog ==
133
 
134
+ = Version 2.0.12 - Released: 12 April 2021 =
135
+
136
+ * New: support for WooCommerce 5.2
137
+ * Update: YITH plugin framework
138
+
139
  = Version 2.0.11 - Released: 11 March 2021 =
140
 
141
  * New: support for WordPress 5.7
415
 
416
  == Upgrade Notice ==
417
 
418
+ Last Stable Tag 2.0.12
419
 
420
  == Suggestions ==
421