Version Description
- Released on 05 Maggio 2021 =
- New: support for WooCommerce 5.3
- Update: YITH plugin framework
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Ajax Search |
Version | 1.9.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.9 to 1.9.0
- assets/images/013.webp +0 -0
- assets/images/022.webp +0 -0
- assets/images/033.webp +0 -0
- assets/images/043.webp +0 -0
- assets/images/052.webp +0 -0
- assets/images/08.webp +0 -0
- assets/images/09.webp +0 -0
- includes/class.yith-wcas-admin.php +0 -0
- includes/class.yith-wcas-frontend.php +0 -0
- includes/class.yith-wcas.php +0 -0
- includes/compatibility/elementor/class.yith-wcas-elementor.php +0 -0
- includes/compatibility/elementor/class.yith-wcas-search-form-elementor.php +0 -0
- includes/functions.yith-wcas.php +0 -0
- includes/widgets/class.yith-wcas-ajax-search.php +1 -1
- init.php +3 -3
- languages/yith-woocommerce-ajax-search.pot +51 -40
- license.txt +694 -0
- plugin-fw/.jshintrc +0 -26
- plugin-fw/Gruntfile.js +0 -144
- plugin-fw/assets/css/admin.css +0 -0
- plugin-fw/assets/css/yith-fields.css +17 -9
- plugin-fw/assets/css/yith-icon-font.css +0 -167
- plugin-fw/assets/css/yith-icon.css +20 -4
- plugin-fw/assets/css/yith-select2-no-wc.css +0 -0
- plugin-fw/assets/fonts/yith-icon.eot +0 -0
- plugin-fw/assets/fonts/yith-icon.svg +0 -47
- plugin-fw/assets/fonts/yith-icon.ttf +0 -0
- plugin-fw/assets/fonts/yith-icon.woff +0 -0
- plugin-fw/assets/fonts/yith-icon.woff2 +0 -0
- plugin-fw/assets/js/how-to.min.js +0 -0
- plugin-fw/assets/js/jquery.colorbox.min.js +0 -0
- plugin-fw/assets/js/metabox.js +37 -30
- plugin-fw/assets/js/metabox.min.js +1 -1
- plugin-fw/assets/js/yith-enhanced-select-wc-2.6.js +0 -0
- plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js +0 -0
- plugin-fw/assets/js/yith-enhanced-select.js +0 -0
- plugin-fw/assets/js/yith-enhanced-select.min.js +0 -0
- plugin-fw/assets/js/yith-fields.js +0 -0
- plugin-fw/assets/js/yith-fields.min.js +0 -0
- plugin-fw/assets/js/yith-gutenberg.js +0 -212
- plugin-fw/assets/js/yith-gutenberg.min.js +0 -1
- plugin-fw/assets/js/yith-promo.js +0 -0
- plugin-fw/assets/js/yith-promo.min.js +0 -0
- plugin-fw/bin/clean-language-files.js +0 -36
- plugin-fw/bin/download-translations-config.json +0 -27
- plugin-fw/bin/download-translations.js +0 -57
- plugin-fw/dist/gutenberg/index.asset.php +1 -1
- plugin-fw/dist/gutenberg/index.js +1 -1
- plugin-fw/dist/gutenberg/style-index.css +1 -1
- plugin-fw/includes/builders/gutenberg/src/components/shortcode/index.js +13 -10
- plugin-fw/includes/builders/gutenberg/src/components/shortcode/style.scss +8 -0
- plugin-fw/includes/class-yith-gutenberg.php +0 -328
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-el.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-el.po +1 -1
- plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-es_ES.po +1 -1
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +4 -4
- plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-nl_NL.po +4 -4
- plugin-fw/languages/yith-plugin-fw.pot +1 -1
- plugin-fw/lib/privacy/yit-privacy-plugin-abstract.php +0 -0
- plugin-fw/lib/privacy/yit-privacy.php +0 -0
- plugin-fw/lib/promo/black.jpg +0 -0
- plugin-fw/lib/promo/cyber.jpg +0 -0
- plugin-fw/lib/promo/halloween.jpg +0 -0
- plugin-fw/lib/promo/yith-promo.xml +0 -25
- plugin-fw/lib/yit-assets.php +0 -0
- plugin-fw/lib/yit-debug.php +0 -0
- plugin-fw/lib/yit-icons.php +0 -0
- plugin-fw/package.json +0 -27
- plugin-fw/templates/fields/ajax-posts.php +0 -0
- plugin-fw/templates/fields/ajax-products.php +0 -0
- plugin-fw/templates/fields/ajax-terms.php +0 -0
- plugin-fw/templates/fields/buttons.php +0 -0
- plugin-fw/templates/fields/checkbox.php +0 -0
- plugin-fw/templates/fields/colorpicker.php +0 -0
- plugin-fw/templates/fields/customtabs.php +0 -0
- plugin-fw/templates/fields/datepicker.php +0 -0
- plugin-fw/templates/fields/dimensions.php +0 -0
- plugin-fw/templates/fields/hidden.php +0 -0
- plugin-fw/templates/fields/html.php +0 -0
- plugin-fw/templates/fields/icons.php +0 -0
- plugin-fw/templates/fields/image-gallery.php +0 -0
- plugin-fw/templates/fields/number.php +0 -0
- plugin-fw/templates/fields/onoff.php +0 -0
- plugin-fw/templates/fields/preview.php +0 -0
- plugin-fw/templates/fields/radio.php +0 -0
- plugin-fw/templates/fields/resources/select2-wc-2.6.php +0 -0
- plugin-fw/templates/fields/resources/select2.php +0 -0
- plugin-fw/templates/fields/select-buttons.php +0 -0
- plugin-fw/templates/fields/select-images.php +0 -0
- plugin-fw/templates/fields/select-mailchimp.php +0 -0
- plugin-fw/templates/fields/select.php +0 -0
- plugin-fw/templates/fields/sep.php +0 -0
- plugin-fw/templates/fields/sidebarlist.php +0 -0
- plugin-fw/templates/fields/sidebars.php +0 -0
- plugin-fw/templates/fields/simple-text.php +0 -0
- plugin-fw/templates/fields/slider.php +0 -0
- plugin-fw/templates/fields/text-array.php +0 -0
- plugin-fw/templates/fields/text-button.php +0 -0
- plugin-fw/templates/fields/text.php +0 -0
- plugin-fw/templates/fields/textarea-codemirror.php +0 -0
- plugin-fw/templates/fields/textarea-editor.php +0 -0
- plugin-fw/templates/fields/textarea.php +0 -0
- plugin-fw/templates/fields/title.php +0 -0
- plugin-fw/templates/fields/upload.php +0 -0
- plugin-fw/templates/metaboxes/field-row.php +0 -0
- plugin-fw/templates/metaboxes/types/icon-list.php +0 -137
- plugin-fw/templates/panel/panel-field-container.php +0 -0
- plugin-fw/templates/panel/woocommerce/woocommerce-option-row.php +0 -0
- plugin-fw/templates/privacy/html-policy-content.php +0 -0
- plugin-fw/templates/upgrade/changelog.php +0 -0
- plugin-fw/templates/upgrade/error.php +0 -0
- plugin-fw/yit-functions.php +27 -0
- plugin-fw/yit-plugin.php +15 -3
- README.txt → readme.txt +5 -1
- templates/admin/premium.php +262 -194
assets/images/013.webp
ADDED
Binary file
|
assets/images/022.webp
ADDED
Binary file
|
assets/images/033.webp
ADDED
Binary file
|
assets/images/043.webp
ADDED
Binary file
|
assets/images/052.webp
ADDED
Binary file
|
assets/images/08.webp
ADDED
Binary file
|
assets/images/09.webp
ADDED
Binary file
|
includes/class.yith-wcas-admin.php
CHANGED
File without changes
|
includes/class.yith-wcas-frontend.php
CHANGED
File without changes
|
includes/class.yith-wcas.php
CHANGED
File without changes
|
includes/compatibility/elementor/class.yith-wcas-elementor.php
CHANGED
File without changes
|
includes/compatibility/elementor/class.yith-wcas-search-form-elementor.php
CHANGED
File without changes
|
includes/functions.yith-wcas.php
CHANGED
File without changes
|
includes/widgets/class.yith-wcas-ajax-search.php
CHANGED
@@ -76,7 +76,7 @@ if ( ! class_exists( 'YITH_WCAS_Ajax_Search_Widget' ) ) {
|
|
76 |
* @return array
|
77 |
*/
|
78 |
public function update( $new_instance, $old_instance ) {
|
79 |
-
$instance['title'] = wp_strip_all_tags( stripslashes( $new_instance['title'] ) );
|
80 |
return $instance;
|
81 |
}
|
82 |
|
76 |
* @return array
|
77 |
*/
|
78 |
public function update( $new_instance, $old_instance ) {
|
79 |
+
$instance['title'] = isset( $new_instance ) ? wp_strip_all_tags( stripslashes( $new_instance['title'] ) ) : '';
|
80 |
return $instance;
|
81 |
}
|
82 |
|
init.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Ajax Search
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/
|
5 |
* Description: <code><strong>YITH WooCommerce Ajax Search</strong></code> is the plugin that allows you to search for a specific product by inserting a few characters. Thanks to <strong>Ajax Search</strong>, users can quickly find the contents they are interested in without wasting time among site pages. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
-
* Version: 1.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-ajax-search
|
10 |
* Domain Path: /languages/
|
11 |
* WC requires at least: 4.5.0
|
12 |
-
* WC tested up to: 5.
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Ajax Search
|
@@ -75,7 +75,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
75 |
if ( defined( 'YITH_WCAS_VERSION' ) ) {
|
76 |
return;
|
77 |
} else {
|
78 |
-
define( 'YITH_WCAS_VERSION', '1.
|
79 |
}
|
80 |
|
81 |
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
|
3 |
* Plugin Name: YITH WooCommerce Ajax Search
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-ajax-search/
|
5 |
* Description: <code><strong>YITH WooCommerce Ajax Search</strong></code> is the plugin that allows you to search for a specific product by inserting a few characters. Thanks to <strong>Ajax Search</strong>, users can quickly find the contents they are interested in without wasting time among site pages. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
+
* Version: 1.9.0
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-ajax-search
|
10 |
* Domain Path: /languages/
|
11 |
* WC requires at least: 4.5.0
|
12 |
+
* WC tested up to: 5.3.0
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Ajax Search
|
75 |
if ( defined( 'YITH_WCAS_VERSION' ) ) {
|
76 |
return;
|
77 |
} else {
|
78 |
+
define( 'YITH_WCAS_VERSION', '1.9.0' );
|
79 |
}
|
80 |
|
81 |
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
|
languages/yith-woocommerce-ajax-search.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Ajax Search package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: YITH WooCommerce Ajax Search 1.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-ajax-search\n"
|
8 |
-
"POT-Creation-Date: 2021-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -121,72 +121,83 @@ msgstr ""
|
|
121 |
msgid "(hours)"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: templates/admin/premium.php:
|
125 |
-
#. translators: placeholders html
|
126 |
msgid ""
|
127 |
-
"Upgrade to
|
128 |
-
"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: templates/admin/premium.php:
|
132 |
-
|
133 |
-
msgid "%1$sUPGRADE%2$s %3$sto the premium version%2$s"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: templates/admin/premium.php:
|
137 |
msgid "Premium Features"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: templates/admin/premium.php:
|
141 |
-
msgid "
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: templates/admin/premium.php:
|
145 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: templates/admin/premium.php:
|
149 |
-
|
150 |
-
msgid "Show %1$sthe image%2$s of the product (left or right aligned)"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: templates/admin/premium.php:
|
154 |
-
|
155 |
-
msgid "Enable the %1$sprice visualization%2$s"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: templates/admin/premium.php:
|
159 |
-
|
160 |
-
msgid "Show the %1$sproduct description%2$s"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: templates/admin/premium.php:
|
164 |
-
|
165 |
-
msgid "Tell to the client if the product is %1$son discount or is featured%2$s"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: templates/admin/premium.php:
|
169 |
-
msgid "
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: templates/admin/premium.php:
|
173 |
-
|
174 |
-
|
|
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: templates/admin/premium.php:
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
|
|
|
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: templates/admin/premium.php:
|
183 |
-
|
184 |
-
msgid "Configure the %1$stag%2$s search"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: templates/admin/premium.php:
|
188 |
-
|
189 |
-
msgid "Search a product with an %1$sID%2$s"
|
190 |
msgstr ""
|
191 |
|
192 |
#: templates/yith-woocommerce-ajax-search.php:19
|
2 |
# This file is distributed under the same license as the YITH WooCommerce Ajax Search package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: YITH WooCommerce Ajax Search 1.9.0\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/yith-woocommerce-ajax-search\n"
|
8 |
+
"POT-Creation-Date: 2021-05-05 10:46:20+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
121 |
msgid "(hours)"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: templates/admin/premium.php:238 templates/admin/premium.php:390
|
125 |
+
#. translators: placeholders html tag.
|
126 |
msgid ""
|
127 |
+
"Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Search%2$s "
|
128 |
+
"to benefit from all features!"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: templates/admin/premium.php:243 templates/admin/premium.php:395
|
132 |
+
msgid "UPGRADE"
|
|
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: templates/admin/premium.php:249
|
136 |
msgid "Premium Features"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: templates/admin/premium.php:258
|
140 |
+
msgid "Show a preview of the product"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: templates/admin/premium.php:264
|
144 |
+
msgid ""
|
145 |
+
"For better usability, you can show an image of the product and choose its "
|
146 |
+
"position in the preview of search results"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: templates/admin/premium.php:274
|
150 |
+
msgid "Show the price of the product"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: templates/admin/premium.php:278
|
154 |
+
msgid ""
|
155 |
+
"Show also the price in the search results and highlight discounts and "
|
156 |
+
"promotions"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: templates/admin/premium.php:296
|
160 |
+
msgid "Show a brief description of the product"
|
|
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: templates/admin/premium.php:302
|
164 |
+
msgid "Give helpful information about the product immediately"
|
|
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: templates/admin/premium.php:312
|
168 |
+
msgid "Highlight promotional products"
|
|
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: templates/admin/premium.php:316
|
172 |
+
msgid "Add a customizable label to emphasize discounted and promotion products"
|
|
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: templates/admin/premium.php:334
|
176 |
+
msgid "Extend the product search through tags, SKUs and categories"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: templates/admin/premium.php:340
|
180 |
+
msgid ""
|
181 |
+
"To make your products easier to find and to improve the quality of the user "
|
182 |
+
"experience in your shop"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: templates/admin/premium.php:351
|
186 |
+
msgid "Show the search form in two different layouts"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: templates/admin/premium.php:355
|
190 |
+
msgid ""
|
191 |
+
"A wide style in addition to the default one. The form will adjust to the "
|
192 |
+
"whole width of the page"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: templates/admin/premium.php:373
|
196 |
+
msgid "Search products by vendor"
|
|
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: templates/admin/premium.php:377
|
200 |
+
msgid "By using the plugin in combination with YITH WooCommerce Multi Vendor"
|
|
|
201 |
msgstr ""
|
202 |
|
203 |
#: templates/yith-woocommerce-ajax-search.php:19
|
license.txt
ADDED
@@ -0,0 +1,694 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright 2013-2021 Your Inspiration Solutions (email : plugins@yithemes.com)
|
2 |
+
|
3 |
+
This program is free software; you can redistribute it and/or modify
|
4 |
+
it under the terms of the GNU General Public License as published by
|
5 |
+
the Free Software Foundation; either version 3 of the License, or
|
6 |
+
(at your option) any later version.
|
7 |
+
|
8 |
+
This program is distributed in the hope that it will be useful,
|
9 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
11 |
+
GNU General Public License for more details.
|
12 |
+
|
13 |
+
You should have received a copy of the GNU General Public License
|
14 |
+
along with this program; if not, write to the Free Software
|
15 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
16 |
+
|
17 |
+
YITH WooCommerce Ajax Search is released under the GPL
|
18 |
+
|
19 |
+
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
20 |
+
|
21 |
+
GNU GENERAL PUBLIC LICENSE
|
22 |
+
Version 3, 29 June 2007
|
23 |
+
|
24 |
+
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
25 |
+
Everyone is permitted to copy and distribute verbatim copies
|
26 |
+
of this license document, but changing it is not allowed.
|
27 |
+
|
28 |
+
Preamble
|
29 |
+
|
30 |
+
The GNU General Public License is a free, copyleft license for
|
31 |
+
software and other kinds of works.
|
32 |
+
|
33 |
+
The licenses for most software and other practical works are designed
|
34 |
+
to take away your freedom to share and change the works. By contrast,
|
35 |
+
the GNU General Public License is intended to guarantee your freedom to
|
36 |
+
share and change all versions of a program--to make sure it remains free
|
37 |
+
software for all its users. We, the Free Software Foundation, use the
|
38 |
+
GNU General Public License for most of our software; it applies also to
|
39 |
+
any other work released this way by its authors. You can apply it to
|
40 |
+
your programs, too.
|
41 |
+
|
42 |
+
When we speak of free software, we are referring to freedom, not
|
43 |
+
price. Our General Public Licenses are designed to make sure that you
|
44 |
+
have the freedom to distribute copies of free software (and charge for
|
45 |
+
them if you wish), that you receive source code or can get it if you
|
46 |
+
want it, that you can change the software or use pieces of it in new
|
47 |
+
free programs, and that you know you can do these things.
|
48 |
+
|
49 |
+
To protect your rights, we need to prevent others from denying you
|
50 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
51 |
+
certain responsibilities if you distribute copies of the software, or if
|
52 |
+
you modify it: responsibilities to respect the freedom of others.
|
53 |
+
|
54 |
+
For example, if you distribute copies of such a program, whether
|
55 |
+
gratis or for a fee, you must pass on to the recipients the same
|
56 |
+
freedoms that you received. You must make sure that they, too, receive
|
57 |
+
or can get the source code. And you must show them these terms so they
|
58 |
+
know their rights.
|
59 |
+
|
60 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
61 |
+
(1) assert copyright on the software, and (2) offer you this License
|
62 |
+
giving you legal permission to copy, distribute and/or modify it.
|
63 |
+
|
64 |
+
For the developers' and authors' protection, the GPL clearly explains
|
65 |
+
that there is no warranty for this free software. For both users' and
|
66 |
+
authors' sake, the GPL requires that modified versions be marked as
|
67 |
+
changed, so that their problems will not be attributed erroneously to
|
68 |
+
authors of previous versions.
|
69 |
+
|
70 |
+
Some devices are designed to deny users access to install or run
|
71 |
+
modified versions of the software inside them, although the manufacturer
|
72 |
+
can do so. This is fundamentally incompatible with the aim of
|
73 |
+
protecting users' freedom to change the software. The systematic
|
74 |
+
pattern of such abuse occurs in the area of products for individuals to
|
75 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
76 |
+
have designed this version of the GPL to prohibit the practice for those
|
77 |
+
products. If such problems arise substantially in other domains, we
|
78 |
+
stand ready to extend this provision to those domains in future versions
|
79 |
+
of the GPL, as needed to protect the freedom of users.
|
80 |
+
|
81 |
+
Finally, every program is threatened constantly by software patents.
|
82 |
+
States should not allow patents to restrict development and use of
|
83 |
+
software on general-purpose computers, but in those that do, we wish to
|
84 |
+
avoid the special danger that patents applied to a free program could
|
85 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
86 |
+
patents cannot be used to render the program non-free.
|
87 |
+
|
88 |
+
The precise terms and conditions for copying, distribution and
|
89 |
+
modification follow.
|
90 |
+
|
91 |
+
TERMS AND CONDITIONS
|
92 |
+
|
93 |
+
0. Definitions.
|
94 |
+
|
95 |
+
"This License" refers to version 3 of the GNU General Public License.
|
96 |
+
|
97 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
98 |
+
works, such as semiconductor masks.
|
99 |
+
|
100 |
+
"The Program" refers to any copyrightable work licensed under this
|
101 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
102 |
+
"recipients" may be individuals or organizations.
|
103 |
+
|
104 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
105 |
+
in a fashion requiring copyright permission, other than the making of an
|
106 |
+
exact copy. The resulting work is called a "modified version" of the
|
107 |
+
earlier work or a work "based on" the earlier work.
|
108 |
+
|
109 |
+
A "covered work" means either the unmodified Program or a work based
|
110 |
+
on the Program.
|
111 |
+
|
112 |
+
To "propagate" a work means to do anything with it that, without
|
113 |
+
permission, would make you directly or secondarily liable for
|
114 |
+
infringement under applicable copyright law, except executing it on a
|
115 |
+
computer or modifying a private copy. Propagation includes copying,
|
116 |
+
distribution (with or without modification), making available to the
|
117 |
+
public, and in some countries other activities as well.
|
118 |
+
|
119 |
+
To "convey" a work means any kind of propagation that enables other
|
120 |
+
parties to make or receive copies. Mere interaction with a user through
|
121 |
+
a computer network, with no transfer of a copy, is not conveying.
|
122 |
+
|
123 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
124 |
+
to the extent that it includes a convenient and prominently visible
|
125 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
126 |
+
tells the user that there is no warranty for the work (except to the
|
127 |
+
extent that warranties are provided), that licensees may convey the
|
128 |
+
work under this License, and how to view a copy of this License. If
|
129 |
+
the interface presents a list of user commands or options, such as a
|
130 |
+
menu, a prominent item in the list meets this criterion.
|
131 |
+
|
132 |
+
1. Source Code.
|
133 |
+
|
134 |
+
The "source code" for a work means the preferred form of the work
|
135 |
+
for making modifications to it. "Object code" means any non-source
|
136 |
+
form of a work.
|
137 |
+
|
138 |
+
A "Standard Interface" means an interface that either is an official
|
139 |
+
standard defined by a recognized standards body, or, in the case of
|
140 |
+
interfaces specified for a particular programming language, one that
|
141 |
+
is widely used among developers working in that language.
|
142 |
+
|
143 |
+
The "System Libraries" of an executable work include anything, other
|
144 |
+
than the work as a whole, that (a) is included in the normal form of
|
145 |
+
packaging a Major Component, but which is not part of that Major
|
146 |
+
Component, and (b) serves only to enable use of the work with that
|
147 |
+
Major Component, or to implement a Standard Interface for which an
|
148 |
+
implementation is available to the public in source code form. A
|
149 |
+
"Major Component", in this context, means a major essential component
|
150 |
+
(kernel, window system, and so on) of the specific operating system
|
151 |
+
(if any) on which the executable work runs, or a compiler used to
|
152 |
+
produce the work, or an object code interpreter used to run it.
|
153 |
+
|
154 |
+
The "Corresponding Source" for a work in object code form means all
|
155 |
+
the source code needed to generate, install, and (for an executable
|
156 |
+
work) run the object code and to modify the work, including scripts to
|
157 |
+
control those activities. However, it does not include the work's
|
158 |
+
System Libraries, or general-purpose tools or generally available free
|
159 |
+
programs which are used unmodified in performing those activities but
|
160 |
+
which are not part of the work. For example, Corresponding Source
|
161 |
+
includes interface definition files associated with source files for
|
162 |
+
the work, and the source code for shared libraries and dynamically
|
163 |
+
linked subprograms that the work is specifically designed to require,
|
164 |
+
such as by intimate data communication or control flow between those
|
165 |
+
subprograms and other parts of the work.
|
166 |
+
|
167 |
+
The Corresponding Source need not include anything that users
|
168 |
+
can regenerate automatically from other parts of the Corresponding
|
169 |
+
Source.
|
170 |
+
|
171 |
+
The Corresponding Source for a work in source code form is that
|
172 |
+
same work.
|
173 |
+
|
174 |
+
2. Basic Permissions.
|
175 |
+
|
176 |
+
All rights granted under this License are granted for the term of
|
177 |
+
copyright on the Program, and are irrevocable provided the stated
|
178 |
+
conditions are met. This License explicitly affirms your unlimited
|
179 |
+
permission to run the unmodified Program. The output from running a
|
180 |
+
covered work is covered by this License only if the output, given its
|
181 |
+
content, constitutes a covered work. This License acknowledges your
|
182 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
183 |
+
|
184 |
+
You may make, run and propagate covered works that you do not
|
185 |
+
convey, without conditions so long as your license otherwise remains
|
186 |
+
in force. You may convey covered works to others for the sole purpose
|
187 |
+
of having them make modifications exclusively for you, or provide you
|
188 |
+
with facilities for running those works, provided that you comply with
|
189 |
+
the terms of this License in conveying all material for which you do
|
190 |
+
not control copyright. Those thus making or running the covered works
|
191 |
+
for you must do so exclusively on your behalf, under your direction
|
192 |
+
and control, on terms that prohibit them from making any copies of
|
193 |
+
your copyrighted material outside their relationship with you.
|
194 |
+
|
195 |
+
Conveying under any other circumstances is permitted solely under
|
196 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
197 |
+
makes it unnecessary.
|
198 |
+
|
199 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
200 |
+
|
201 |
+
No covered work shall be deemed part of an effective technological
|
202 |
+
measure under any applicable law fulfilling obligations under article
|
203 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
204 |
+
similar laws prohibiting or restricting circumvention of such
|
205 |
+
measures.
|
206 |
+
|
207 |
+
When you convey a covered work, you waive any legal power to forbid
|
208 |
+
circumvention of technological measures to the extent such circumvention
|
209 |
+
is effected by exercising rights under this License with respect to
|
210 |
+
the covered work, and you disclaim any intention to limit operation or
|
211 |
+
modification of the work as a means of enforcing, against the work's
|
212 |
+
users, your or third parties' legal rights to forbid circumvention of
|
213 |
+
technological measures.
|
214 |
+
|
215 |
+
4. Conveying Verbatim Copies.
|
216 |
+
|
217 |
+
You may convey verbatim copies of the Program's source code as you
|
218 |
+
receive it, in any medium, provided that you conspicuously and
|
219 |
+
appropriately publish on each copy an appropriate copyright notice;
|
220 |
+
keep intact all notices stating that this License and any
|
221 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
222 |
+
keep intact all notices of the absence of any warranty; and give all
|
223 |
+
recipients a copy of this License along with the Program.
|
224 |
+
|
225 |
+
You may charge any price or no price for each copy that you convey,
|
226 |
+
and you may offer support or warranty protection for a fee.
|
227 |
+
|
228 |
+
5. Conveying Modified Source Versions.
|
229 |
+
|
230 |
+
You may convey a work based on the Program, or the modifications to
|
231 |
+
produce it from the Program, in the form of source code under the
|
232 |
+
terms of section 4, provided that you also meet all of these conditions:
|
233 |
+
|
234 |
+
a) The work must carry prominent notices stating that you modified
|
235 |
+
it, and giving a relevant date.
|
236 |
+
|
237 |
+
b) The work must carry prominent notices stating that it is
|
238 |
+
released under this License and any conditions added under section
|
239 |
+
7. This requirement modifies the requirement in section 4 to
|
240 |
+
"keep intact all notices".
|
241 |
+
|
242 |
+
c) You must license the entire work, as a whole, under this
|
243 |
+
License to anyone who comes into possession of a copy. This
|
244 |
+
License will therefore apply, along with any applicable section 7
|
245 |
+
additional terms, to the whole of the work, and all its parts,
|
246 |
+
regardless of how they are packaged. This License gives no
|
247 |
+
permission to license the work in any other way, but it does not
|
248 |
+
invalidate such permission if you have separately received it.
|
249 |
+
|
250 |
+
d) If the work has interactive user interfaces, each must display
|
251 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
252 |
+
interfaces that do not display Appropriate Legal Notices, your
|
253 |
+
work need not make them do so.
|
254 |
+
|
255 |
+
A compilation of a covered work with other separate and independent
|
256 |
+
works, which are not by their nature extensions of the covered work,
|
257 |
+
and which are not combined with it such as to form a larger program,
|
258 |
+
in or on a volume of a storage or distribution medium, is called an
|
259 |
+
"aggregate" if the compilation and its resulting copyright are not
|
260 |
+
used to limit the access or legal rights of the compilation's users
|
261 |
+
beyond what the individual works permit. Inclusion of a covered work
|
262 |
+
in an aggregate does not cause this License to apply to the other
|
263 |
+
parts of the aggregate.
|
264 |
+
|
265 |
+
6. Conveying Non-Source Forms.
|
266 |
+
|
267 |
+
You may convey a covered work in object code form under the terms
|
268 |
+
of sections 4 and 5, provided that you also convey the
|
269 |
+
machine-readable Corresponding Source under the terms of this License,
|
270 |
+
in one of these ways:
|
271 |
+
|
272 |
+
a) Convey the object code in, or embodied in, a physical product
|
273 |
+
(including a physical distribution medium), accompanied by the
|
274 |
+
Corresponding Source fixed on a durable physical medium
|
275 |
+
customarily used for software interchange.
|
276 |
+
|
277 |
+
b) Convey the object code in, or embodied in, a physical product
|
278 |
+
(including a physical distribution medium), accompanied by a
|
279 |
+
written offer, valid for at least three years and valid for as
|
280 |
+
long as you offer spare parts or customer support for that product
|
281 |
+
model, to give anyone who possesses the object code either (1) a
|
282 |
+
copy of the Corresponding Source for all the software in the
|
283 |
+
product that is covered by this License, on a durable physical
|
284 |
+
medium customarily used for software interchange, for a price no
|
285 |
+
more than your reasonable cost of physically performing this
|
286 |
+
conveying of source, or (2) access to copy the
|
287 |
+
Corresponding Source from a network server at no charge.
|
288 |
+
|
289 |
+
c) Convey individual copies of the object code with a copy of the
|
290 |
+
written offer to provide the Corresponding Source. This
|
291 |
+
alternative is allowed only occasionally and noncommercially, and
|
292 |
+
only if you received the object code with such an offer, in accord
|
293 |
+
with subsection 6b.
|
294 |
+
|
295 |
+
d) Convey the object code by offering access from a designated
|
296 |
+
place (gratis or for a charge), and offer equivalent access to the
|
297 |
+
Corresponding Source in the same way through the same place at no
|
298 |
+
further charge. You need not require recipients to copy the
|
299 |
+
Corresponding Source along with the object code. If the place to
|
300 |
+
copy the object code is a network server, the Corresponding Source
|
301 |
+
may be on a different server (operated by you or a third party)
|
302 |
+
that supports equivalent copying facilities, provided you maintain
|
303 |
+
clear directions next to the object code saying where to find the
|
304 |
+
Corresponding Source. Regardless of what server hosts the
|
305 |
+
Corresponding Source, you remain obligated to ensure that it is
|
306 |
+
available for as long as needed to satisfy these requirements.
|
307 |
+
|
308 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
309 |
+
you inform other peers where the object code and Corresponding
|
310 |
+
Source of the work are being offered to the general public at no
|
311 |
+
charge under subsection 6d.
|
312 |
+
|
313 |
+
A separable portion of the object code, whose source code is excluded
|
314 |
+
from the Corresponding Source as a System Library, need not be
|
315 |
+
included in conveying the object code work.
|
316 |
+
|
317 |
+
A "User Product" is either (1) a "consumer product", which means any
|
318 |
+
tangible personal property which is normally used for personal, family,
|
319 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
320 |
+
into a dwelling. In determining whether a product is a consumer product,
|
321 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
322 |
+
product received by a particular user, "normally used" refers to a
|
323 |
+
typical or common use of that class of product, regardless of the status
|
324 |
+
of the particular user or of the way in which the particular user
|
325 |
+
actually uses, or expects or is expected to use, the product. A product
|
326 |
+
is a consumer product regardless of whether the product has substantial
|
327 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
328 |
+
the only significant mode of use of the product.
|
329 |
+
|
330 |
+
"Installation Information" for a User Product means any methods,
|
331 |
+
procedures, authorization keys, or other information required to install
|
332 |
+
and execute modified versions of a covered work in that User Product from
|
333 |
+
a modified version of its Corresponding Source. The information must
|
334 |
+
suffice to ensure that the continued functioning of the modified object
|
335 |
+
code is in no case prevented or interfered with solely because
|
336 |
+
modification has been made.
|
337 |
+
|
338 |
+
If you convey an object code work under this section in, or with, or
|
339 |
+
specifically for use in, a User Product, and the conveying occurs as
|
340 |
+
part of a transaction in which the right of possession and use of the
|
341 |
+
User Product is transferred to the recipient in perpetuity or for a
|
342 |
+
fixed term (regardless of how the transaction is characterized), the
|
343 |
+
Corresponding Source conveyed under this section must be accompanied
|
344 |
+
by the Installation Information. But this requirement does not apply
|
345 |
+
if neither you nor any third party retains the ability to install
|
346 |
+
modified object code on the User Product (for example, the work has
|
347 |
+
been installed in ROM).
|
348 |
+
|
349 |
+
The requirement to provide Installation Information does not include a
|
350 |
+
requirement to continue to provide support service, warranty, or updates
|
351 |
+
for a work that has been modified or installed by the recipient, or for
|
352 |
+
the User Product in which it has been modified or installed. Access to a
|
353 |
+
network may be denied when the modification itself materially and
|
354 |
+
adversely affects the operation of the network or violates the rules and
|
355 |
+
protocols for communication across the network.
|
356 |
+
|
357 |
+
Corresponding Source conveyed, and Installation Information provided,
|
358 |
+
in accord with this section must be in a format that is publicly
|
359 |
+
documented (and with an implementation available to the public in
|
360 |
+
source code form), and must require no special password or key for
|
361 |
+
unpacking, reading or copying.
|
362 |
+
|
363 |
+
7. Additional Terms.
|
364 |
+
|
365 |
+
"Additional permissions" are terms that supplement the terms of this
|
366 |
+
License by making exceptions from one or more of its conditions.
|
367 |
+
Additional permissions that are applicable to the entire Program shall
|
368 |
+
be treated as though they were included in this License, to the extent
|
369 |
+
that they are valid under applicable law. If additional permissions
|
370 |
+
apply only to part of the Program, that part may be used separately
|
371 |
+
under those permissions, but the entire Program remains governed by
|
372 |
+
this License without regard to the additional permissions.
|
373 |
+
|
374 |
+
When you convey a copy of a covered work, you may at your option
|
375 |
+
remove any additional permissions from that copy, or from any part of
|
376 |
+
it. (Additional permissions may be written to require their own
|
377 |
+
removal in certain cases when you modify the work.) You may place
|
378 |
+
additional permissions on material, added by you to a covered work,
|
379 |
+
for which you have or can give appropriate copyright permission.
|
380 |
+
|
381 |
+
Notwithstanding any other provision of this License, for material you
|
382 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
383 |
+
that material) supplement the terms of this License with terms:
|
384 |
+
|
385 |
+
a) Disclaiming warranty or limiting liability differently from the
|
386 |
+
terms of sections 15 and 16 of this License; or
|
387 |
+
|
388 |
+
b) Requiring preservation of specified reasonable legal notices or
|
389 |
+
author attributions in that material or in the Appropriate Legal
|
390 |
+
Notices displayed by works containing it; or
|
391 |
+
|
392 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
393 |
+
requiring that modified versions of such material be marked in
|
394 |
+
reasonable ways as different from the original version; or
|
395 |
+
|
396 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
397 |
+
authors of the material; or
|
398 |
+
|
399 |
+
e) Declining to grant rights under trademark law for use of some
|
400 |
+
trade names, trademarks, or service marks; or
|
401 |
+
|
402 |
+
f) Requiring indemnification of licensors and authors of that
|
403 |
+
material by anyone who conveys the material (or modified versions of
|
404 |
+
it) with contractual assumptions of liability to the recipient, for
|
405 |
+
any liability that these contractual assumptions directly impose on
|
406 |
+
those licensors and authors.
|
407 |
+
|
408 |
+
All other non-permissive additional terms are considered "further
|
409 |
+
restrictions" within the meaning of section 10. If the Program as you
|
410 |
+
received it, or any part of it, contains a notice stating that it is
|
411 |
+
governed by this License along with a term that is a further
|
412 |
+
restriction, you may remove that term. If a license document contains
|
413 |
+
a further restriction but permits relicensing or conveying under this
|
414 |
+
License, you may add to a covered work material governed by the terms
|
415 |
+
of that license document, provided that the further restriction does
|
416 |
+
not survive such relicensing or conveying.
|
417 |
+
|
418 |
+
If you add terms to a covered work in accord with this section, you
|
419 |
+
must place, in the relevant source files, a statement of the
|
420 |
+
additional terms that apply to those files, or a notice indicating
|
421 |
+
where to find the applicable terms.
|
422 |
+
|
423 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
424 |
+
form of a separately written license, or stated as exceptions;
|
425 |
+
the above requirements apply either way.
|
426 |
+
|
427 |
+
8. Termination.
|
428 |
+
|
429 |
+
You may not propagate or modify a covered work except as expressly
|
430 |
+
provided under this License. Any attempt otherwise to propagate or
|
431 |
+
modify it is void, and will automatically terminate your rights under
|
432 |
+
this License (including any patent licenses granted under the third
|
433 |
+
paragraph of section 11).
|
434 |
+
|
435 |
+
However, if you cease all violation of this License, then your
|
436 |
+
license from a particular copyright holder is reinstated (a)
|
437 |
+
provisionally, unless and until the copyright holder explicitly and
|
438 |
+
finally terminates your license, and (b) permanently, if the copyright
|
439 |
+
holder fails to notify you of the violation by some reasonable means
|
440 |
+
prior to 60 days after the cessation.
|
441 |
+
|
442 |
+
Moreover, your license from a particular copyright holder is
|
443 |
+
reinstated permanently if the copyright holder notifies you of the
|
444 |
+
violation by some reasonable means, this is the first time you have
|
445 |
+
received notice of violation of this License (for any work) from that
|
446 |
+
copyright holder, and you cure the violation prior to 30 days after
|
447 |
+
your receipt of the notice.
|
448 |
+
|
449 |
+
Termination of your rights under this section does not terminate the
|
450 |
+
licenses of parties who have received copies or rights from you under
|
451 |
+
this License. If your rights have been terminated and not permanently
|
452 |
+
reinstated, you do not qualify to receive new licenses for the same
|
453 |
+
material under section 10.
|
454 |
+
|
455 |
+
9. Acceptance Not Required for Having Copies.
|
456 |
+
|
457 |
+
You are not required to accept this License in order to receive or
|
458 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
459 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
460 |
+
to receive a copy likewise does not require acceptance. However,
|
461 |
+
nothing other than this License grants you permission to propagate or
|
462 |
+
modify any covered work. These actions infringe copyright if you do
|
463 |
+
not accept this License. Therefore, by modifying or propagating a
|
464 |
+
covered work, you indicate your acceptance of this License to do so.
|
465 |
+
|
466 |
+
10. Automatic Licensing of Downstream Recipients.
|
467 |
+
|
468 |
+
Each time you convey a covered work, the recipient automatically
|
469 |
+
receives a license from the original licensors, to run, modify and
|
470 |
+
propagate that work, subject to this License. You are not responsible
|
471 |
+
for enforcing compliance by third parties with this License.
|
472 |
+
|
473 |
+
An "entity transaction" is a transaction transferring control of an
|
474 |
+
organization, or substantially all assets of one, or subdividing an
|
475 |
+
organization, or merging organizations. If propagation of a covered
|
476 |
+
work results from an entity transaction, each party to that
|
477 |
+
transaction who receives a copy of the work also receives whatever
|
478 |
+
licenses to the work the party's predecessor in interest had or could
|
479 |
+
give under the previous paragraph, plus a right to possession of the
|
480 |
+
Corresponding Source of the work from the predecessor in interest, if
|
481 |
+
the predecessor has it or can get it with reasonable efforts.
|
482 |
+
|
483 |
+
You may not impose any further restrictions on the exercise of the
|
484 |
+
rights granted or affirmed under this License. For example, you may
|
485 |
+
not impose a license fee, royalty, or other charge for exercise of
|
486 |
+
rights granted under this License, and you may not initiate litigation
|
487 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
488 |
+
any patent claim is infringed by making, using, selling, offering for
|
489 |
+
sale, or importing the Program or any portion of it.
|
490 |
+
|
491 |
+
11. Patents.
|
492 |
+
|
493 |
+
A "contributor" is a copyright holder who authorizes use under this
|
494 |
+
License of the Program or a work on which the Program is based. The
|
495 |
+
work thus licensed is called the contributor's "contributor version".
|
496 |
+
|
497 |
+
A contributor's "essential patent claims" are all patent claims
|
498 |
+
owned or controlled by the contributor, whether already acquired or
|
499 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
500 |
+
by this License, of making, using, or selling its contributor version,
|
501 |
+
but do not include claims that would be infringed only as a
|
502 |
+
consequence of further modification of the contributor version. For
|
503 |
+
purposes of this definition, "control" includes the right to grant
|
504 |
+
patent sublicenses in a manner consistent with the requirements of
|
505 |
+
this License.
|
506 |
+
|
507 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
508 |
+
patent license under the contributor's essential patent claims, to
|
509 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
510 |
+
propagate the contents of its contributor version.
|
511 |
+
|
512 |
+
In the following three paragraphs, a "patent license" is any express
|
513 |
+
agreement or commitment, however denominated, not to enforce a patent
|
514 |
+
(such as an express permission to practice a patent or covenant not to
|
515 |
+
sue for patent infringement). To "grant" such a patent license to a
|
516 |
+
party means to make such an agreement or commitment not to enforce a
|
517 |
+
patent against the party.
|
518 |
+
|
519 |
+
If you convey a covered work, knowingly relying on a patent license,
|
520 |
+
and the Corresponding Source of the work is not available for anyone
|
521 |
+
to copy, free of charge and under the terms of this License, through a
|
522 |
+
publicly available network server or other readily accessible means,
|
523 |
+
then you must either (1) cause the Corresponding Source to be so
|
524 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
525 |
+
patent license for this particular work, or (3) arrange, in a manner
|
526 |
+
consistent with the requirements of this License, to extend the patent
|
527 |
+
license to downstream recipients. "Knowingly relying" means you have
|
528 |
+
actual knowledge that, but for the patent license, your conveying the
|
529 |
+
covered work in a country, or your recipient's use of the covered work
|
530 |
+
in a country, would infringe one or more identifiable patents in that
|
531 |
+
country that you have reason to believe are valid.
|
532 |
+
|
533 |
+
If, pursuant to or in connection with a single transaction or
|
534 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
535 |
+
covered work, and grant a patent license to some of the parties
|
536 |
+
receiving the covered work authorizing them to use, propagate, modify
|
537 |
+
or convey a specific copy of the covered work, then the patent license
|
538 |
+
you grant is automatically extended to all recipients of the covered
|
539 |
+
work and works based on it.
|
540 |
+
|
541 |
+
A patent license is "discriminatory" if it does not include within
|
542 |
+
the scope of its coverage, prohibits the exercise of, or is
|
543 |
+
conditioned on the non-exercise of one or more of the rights that are
|
544 |
+
specifically granted under this License. You may not convey a covered
|
545 |
+
work if you are a party to an arrangement with a third party that is
|
546 |
+
in the business of distributing software, under which you make payment
|
547 |
+
to the third party based on the extent of your activity of conveying
|
548 |
+
the work, and under which the third party grants, to any of the
|
549 |
+
parties who would receive the covered work from you, a discriminatory
|
550 |
+
patent license (a) in connection with copies of the covered work
|
551 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
552 |
+
for and in connection with specific products or compilations that
|
553 |
+
contain the covered work, unless you entered into that arrangement,
|
554 |
+
or that patent license was granted, prior to 28 March 2007.
|
555 |
+
|
556 |
+
Nothing in this License shall be construed as excluding or limiting
|
557 |
+
any implied license or other defenses to infringement that may
|
558 |
+
otherwise be available to you under applicable patent law.
|
559 |
+
|
560 |
+
12. No Surrender of Others' Freedom.
|
561 |
+
|
562 |
+
If conditions are imposed on you (whether by court order, agreement or
|
563 |
+
otherwise) that contradict the conditions of this License, they do not
|
564 |
+
excuse you from the conditions of this License. If you cannot convey a
|
565 |
+
covered work so as to satisfy simultaneously your obligations under this
|
566 |
+
License and any other pertinent obligations, then as a consequence you may
|
567 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
568 |
+
to collect a royalty for further conveying from those to whom you convey
|
569 |
+
the Program, the only way you could satisfy both those terms and this
|
570 |
+
License would be to refrain entirely from conveying the Program.
|
571 |
+
|
572 |
+
13. Use with the GNU Affero General Public License.
|
573 |
+
|
574 |
+
Notwithstanding any other provision of this License, you have
|
575 |
+
permission to link or combine any covered work with a work licensed
|
576 |
+
under version 3 of the GNU Affero General Public License into a single
|
577 |
+
combined work, and to convey the resulting work. The terms of this
|
578 |
+
License will continue to apply to the part which is the covered work,
|
579 |
+
but the special requirements of the GNU Affero General Public License,
|
580 |
+
section 13, concerning interaction through a network will apply to the
|
581 |
+
combination as such.
|
582 |
+
|
583 |
+
14. Revised Versions of this License.
|
584 |
+
|
585 |
+
The Free Software Foundation may publish revised and/or new versions of
|
586 |
+
the GNU General Public License from time to time. Such new versions will
|
587 |
+
be similar in spirit to the present version, but may differ in detail to
|
588 |
+
address new problems or concerns.
|
589 |
+
|
590 |
+
Each version is given a distinguishing version number. If the
|
591 |
+
Program specifies that a certain numbered version of the GNU General
|
592 |
+
Public License "or any later version" applies to it, you have the
|
593 |
+
option of following the terms and conditions either of that numbered
|
594 |
+
version or of any later version published by the Free Software
|
595 |
+
Foundation. If the Program does not specify a version number of the
|
596 |
+
GNU General Public License, you may choose any version ever published
|
597 |
+
by the Free Software Foundation.
|
598 |
+
|
599 |
+
If the Program specifies that a proxy can decide which future
|
600 |
+
versions of the GNU General Public License can be used, that proxy's
|
601 |
+
public statement of acceptance of a version permanently authorizes you
|
602 |
+
to choose that version for the Program.
|
603 |
+
|
604 |
+
Later license versions may give you additional or different
|
605 |
+
permissions. However, no additional obligations are imposed on any
|
606 |
+
author or copyright holder as a result of your choosing to follow a
|
607 |
+
later version.
|
608 |
+
|
609 |
+
15. Disclaimer of Warranty.
|
610 |
+
|
611 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
612 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
613 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
614 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
615 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
616 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
617 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
618 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
619 |
+
|
620 |
+
16. Limitation of Liability.
|
621 |
+
|
622 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
623 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
624 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
625 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
626 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
627 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
628 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
629 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
630 |
+
SUCH DAMAGES.
|
631 |
+
|
632 |
+
17. Interpretation of Sections 15 and 16.
|
633 |
+
|
634 |
+
If the disclaimer of warranty and limitation of liability provided
|
635 |
+
above cannot be given local legal effect according to their terms,
|
636 |
+
reviewing courts shall apply local law that most closely approximates
|
637 |
+
an absolute waiver of all civil liability in connection with the
|
638 |
+
Program, unless a warranty or assumption of liability accompanies a
|
639 |
+
copy of the Program in return for a fee.
|
640 |
+
|
641 |
+
END OF TERMS AND CONDITIONS
|
642 |
+
|
643 |
+
How to Apply These Terms to Your New Programs
|
644 |
+
|
645 |
+
If you develop a new program, and you want it to be of the greatest
|
646 |
+
possible use to the public, the best way to achieve this is to make it
|
647 |
+
free software which everyone can redistribute and change under these terms.
|
648 |
+
|
649 |
+
To do so, attach the following notices to the program. It is safest
|
650 |
+
to attach them to the start of each source file to most effectively
|
651 |
+
state the exclusion of warranty; and each file should have at least
|
652 |
+
the "copyright" line and a pointer to where the full notice is found.
|
653 |
+
|
654 |
+
<one line to give the program's name and a brief idea of what it does.>
|
655 |
+
Copyright © <year> <name of author>
|
656 |
+
|
657 |
+
This program is free software: you can redistribute it and/or modify
|
658 |
+
it under the terms of the GNU General Public License as published by
|
659 |
+
the Free Software Foundation, either version 3 of the License, or
|
660 |
+
(at your option) any later version.
|
661 |
+
|
662 |
+
This program is distributed in the hope that it will be useful,
|
663 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
664 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
665 |
+
GNU General Public License for more details.
|
666 |
+
|
667 |
+
You should have received a copy of the GNU General Public License
|
668 |
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
669 |
+
|
670 |
+
Also add information on how to contact you by electronic and paper mail.
|
671 |
+
|
672 |
+
If the program does terminal interaction, make it output a short
|
673 |
+
notice like this when it starts in an interactive mode:
|
674 |
+
|
675 |
+
<program> Copyright © <year> <name of author>
|
676 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
677 |
+
This is free software, and you are welcome to redistribute it
|
678 |
+
under certain conditions; type `show c' for details.
|
679 |
+
|
680 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
681 |
+
parts of the General Public License. Of course, your program's commands
|
682 |
+
might be different; for a GUI interface, you would use an "about box".
|
683 |
+
|
684 |
+
You should also get your employer (if you work as a programmer) or school,
|
685 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
686 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
687 |
+
<https://www.gnu.org/licenses/>.
|
688 |
+
|
689 |
+
The GNU General Public License does not permit incorporating your program
|
690 |
+
into proprietary programs. If your program is a subroutine library, you
|
691 |
+
may consider it more useful to permit linking proprietary applications with
|
692 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
693 |
+
Public License instead of this License. But first, please read
|
694 |
+
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
|
plugin-fw/.jshintrc
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"boss": true,
|
3 |
-
"curly": true,
|
4 |
-
"eqeqeq": true,
|
5 |
-
"eqnull": true,
|
6 |
-
"es3": true,
|
7 |
-
"expr": true,
|
8 |
-
"immed": true,
|
9 |
-
"noarg": true,
|
10 |
-
"onevar": true,
|
11 |
-
"trailing": true,
|
12 |
-
"undef": true,
|
13 |
-
"unused": true,
|
14 |
-
|
15 |
-
"browser": true,
|
16 |
-
|
17 |
-
"globals": {
|
18 |
-
"_": false,
|
19 |
-
"Backbone": false,
|
20 |
-
"jQuery": true,
|
21 |
-
"console": true,
|
22 |
-
"alert": true,
|
23 |
-
"JSON": false,
|
24 |
-
"wp": false
|
25 |
-
}
|
26 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/Gruntfile.js
DELETED
@@ -1,144 +0,0 @@
|
|
1 |
-
const potInfo = {
|
2 |
-
languageFolderPath: './languages/',
|
3 |
-
filename : 'yith-plugin-fw.pot',
|
4 |
-
headers : {
|
5 |
-
poedit : true, // Includes common Poedit headers.
|
6 |
-
'x-poedit-keywordslist': true, // Include a list of all possible gettext functions.
|
7 |
-
'report-msgid-bugs-to' : 'YITH <plugins@yithemes.com>',
|
8 |
-
'language-team' : 'YITH <info@yithemes.com>'
|
9 |
-
}
|
10 |
-
};
|
11 |
-
|
12 |
-
module.exports = function ( grunt ) {
|
13 |
-
'use strict';
|
14 |
-
|
15 |
-
grunt.initConfig( {
|
16 |
-
dirs: {
|
17 |
-
css: 'assets/css',
|
18 |
-
js : 'assets/js'
|
19 |
-
},
|
20 |
-
|
21 |
-
uglify: {
|
22 |
-
options: {
|
23 |
-
ie8 : true,
|
24 |
-
parse : {
|
25 |
-
strict: false
|
26 |
-
},
|
27 |
-
output: {
|
28 |
-
comments: /@license|@preserve|^!/
|
29 |
-
}
|
30 |
-
},
|
31 |
-
common : {
|
32 |
-
files: [{
|
33 |
-
expand: true,
|
34 |
-
cwd : '<%= dirs.js %>/',
|
35 |
-
src : ['*.js', '!*.min.js'],
|
36 |
-
dest : '<%= dirs.js %>/',
|
37 |
-
rename: function ( dst, src ) {
|
38 |
-
// To keep the source js files and make new files as `*.min.js`:
|
39 |
-
return dst + '/' + src.replace( '.js', '.min.js' );
|
40 |
-
}
|
41 |
-
}]
|
42 |
-
}
|
43 |
-
},
|
44 |
-
|
45 |
-
jshint: {
|
46 |
-
options: {
|
47 |
-
jshintrc: '.jshintrc'
|
48 |
-
},
|
49 |
-
all : [
|
50 |
-
'<%= dirs.js %>/*.js',
|
51 |
-
'!<%= dirs.js %>/*.min.js'
|
52 |
-
]
|
53 |
-
},
|
54 |
-
|
55 |
-
|
56 |
-
makepot: {
|
57 |
-
options: {
|
58 |
-
type : 'wp-plugin',
|
59 |
-
domainPath : 'languages',
|
60 |
-
domain : 'yith-plugin-fw',
|
61 |
-
potHeaders : potInfo.headers,
|
62 |
-
updatePoFiles: false
|
63 |
-
},
|
64 |
-
dist : {
|
65 |
-
options: {
|
66 |
-
potFilename: potInfo.filename,
|
67 |
-
exclude : [
|
68 |
-
'bin/.*',
|
69 |
-
'node_modules/.*',
|
70 |
-
'tests/.*',
|
71 |
-
'tmp/.*',
|
72 |
-
'vendor/.*'
|
73 |
-
]
|
74 |
-
}
|
75 |
-
}
|
76 |
-
},
|
77 |
-
update_po: {
|
78 |
-
options: {
|
79 |
-
template: potInfo.languageFolderPath + potInfo.filename
|
80 |
-
},
|
81 |
-
build : {
|
82 |
-
src: potInfo.languageFolderPath + '*.po'
|
83 |
-
}
|
84 |
-
}
|
85 |
-
|
86 |
-
} );
|
87 |
-
|
88 |
-
grunt.registerMultiTask( 'update_po', 'This task update .po strings by .pot', function () {
|
89 |
-
grunt.log.writeln( 'Updating .po files.' );
|
90 |
-
|
91 |
-
var done = this.async(),
|
92 |
-
options = this.options(),
|
93 |
-
template = options.template;
|
94 |
-
this.files.forEach( function ( file ) {
|
95 |
-
if ( file.src.length ) {
|
96 |
-
var counter = file.src.length;
|
97 |
-
|
98 |
-
grunt.log.writeln( 'Processing ' + file.src.length + ' files.' );
|
99 |
-
|
100 |
-
file.src.forEach( function ( fileSrc ) {
|
101 |
-
grunt.util.spawn( {
|
102 |
-
cmd : 'msgmerge',
|
103 |
-
args: ['-U', fileSrc, template]
|
104 |
-
}, function ( error, result, code ) {
|
105 |
-
const output = fileSrc.replace( '.po', '.mo' );
|
106 |
-
grunt.log.writeln( 'Updating: ' + fileSrc + ' ...' );
|
107 |
-
|
108 |
-
if ( error ) {
|
109 |
-
grunt.verbose.error();
|
110 |
-
} else {
|
111 |
-
grunt.verbose.ok();
|
112 |
-
}
|
113 |
-
|
114 |
-
// Updating also the .mo files
|
115 |
-
grunt.util.spawn( {
|
116 |
-
cmd : 'msgfmt',
|
117 |
-
args: [fileSrc, '-o', output]
|
118 |
-
}, function ( moError, moResult, moCode ) {
|
119 |
-
grunt.log.writeln( 'Updating MO for: ' + fileSrc + ' ...' );
|
120 |
-
counter--;
|
121 |
-
if ( moError || counter === 0 ) {
|
122 |
-
done( moError );
|
123 |
-
}
|
124 |
-
} );
|
125 |
-
if ( error ) {
|
126 |
-
done( error );
|
127 |
-
}
|
128 |
-
} );
|
129 |
-
} );
|
130 |
-
} else {
|
131 |
-
grunt.log.writeln( 'No file to process.' );
|
132 |
-
}
|
133 |
-
} );
|
134 |
-
} );
|
135 |
-
|
136 |
-
// Load NPM tasks to be used here.
|
137 |
-
grunt.loadNpmTasks( 'grunt-wp-i18n' );
|
138 |
-
|
139 |
-
// Use uglify-es (instead of uglify) to uglify also JS for ES6.
|
140 |
-
grunt.loadNpmTasks( 'grunt-contrib-uglify-es' );
|
141 |
-
|
142 |
-
// Register tasks.
|
143 |
-
grunt.registerTask( 'js', ['uglify'] );
|
144 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/assets/css/admin.css
CHANGED
File without changes
|
plugin-fw/assets/css/yith-fields.css
CHANGED
@@ -1225,10 +1225,11 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
|
|
1225 |
.yith-plugin-ui input[type="checkbox"]:checked:after {
|
1226 |
content : "\e905";
|
1227 |
font-family : 'yith-icon';
|
1228 |
-
font-size :
|
1229 |
position : absolute;
|
|
|
1230 |
top : 8px;
|
1231 |
-
left :
|
1232 |
color : #fff;
|
1233 |
}
|
1234 |
|
@@ -1471,9 +1472,13 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
1471 |
display : block !important;
|
1472 |
}
|
1473 |
|
1474 |
-
.woocommerce .yith-plugin-ui .iris-picker {
|
1475 |
-
|
1476 |
-
|
|
|
|
|
|
|
|
|
1477 |
}
|
1478 |
|
1479 |
.yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
|
@@ -1557,10 +1562,11 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
1557 |
}
|
1558 |
|
1559 |
.yith-plugin-ui .yith-single-colorpicker > label {
|
1560 |
-
display
|
1561 |
-
font-size
|
1562 |
-
font-weight
|
1563 |
-
margin
|
|
|
1564 |
}
|
1565 |
|
1566 |
/* RANGE SLIDER */
|
@@ -2156,6 +2162,8 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
2156 |
padding : 0 10px 0 0;
|
2157 |
border : 0;
|
2158 |
border-radius : 0;
|
|
|
|
|
2159 |
}
|
2160 |
|
2161 |
.yith-plugin-fw-copy-to-clipboard.yith-plugin-fw-copy-to-clipboard--readonly input[type=text].yith-plugin-fw-copy-to-clipboard__field,
|
1225 |
.yith-plugin-ui input[type="checkbox"]:checked:after {
|
1226 |
content : "\e905";
|
1227 |
font-family : 'yith-icon';
|
1228 |
+
font-size : 10px;
|
1229 |
position : absolute;
|
1230 |
+
font-weight : 600;
|
1231 |
top : 8px;
|
1232 |
+
left : 3px;
|
1233 |
color : #fff;
|
1234 |
}
|
1235 |
|
1472 |
display : block !important;
|
1473 |
}
|
1474 |
|
1475 |
+
.woocommerce .yith-plugin-ui .wp-picker-container .iris-picker, .yith-plugin-ui .wp-picker-container .iris-picker {
|
1476 |
+
z-index : 100;
|
1477 |
+
position : absolute;
|
1478 |
+
margin-top : 20px;
|
1479 |
+
border : 1px solid #d8d8d8;
|
1480 |
+
border-radius : 4px;
|
1481 |
+
box-shadow : 0 1px 3px rgba(0, 0, 0, .2);
|
1482 |
}
|
1483 |
|
1484 |
.yith-plugin-ui .yith-plugin-fw input[type=text].wp-color-picker {
|
1562 |
}
|
1563 |
|
1564 |
.yith-plugin-ui .yith-single-colorpicker > label {
|
1565 |
+
display : block;
|
1566 |
+
font-size : 11px;
|
1567 |
+
font-weight : 600;
|
1568 |
+
margin : 0 0 10px 0;
|
1569 |
+
text-transform : uppercase;
|
1570 |
}
|
1571 |
|
1572 |
/* RANGE SLIDER */
|
2162 |
padding : 0 10px 0 0;
|
2163 |
border : 0;
|
2164 |
border-radius : 0;
|
2165 |
+
box-shadow : none;
|
2166 |
+
outline : none;
|
2167 |
}
|
2168 |
|
2169 |
.yith-plugin-fw-copy-to-clipboard.yith-plugin-fw-copy-to-clipboard--readonly input[type=text].yith-plugin-fw-copy-to-clipboard__field,
|
plugin-fw/assets/css/yith-icon-font.css
DELETED
@@ -1,167 +0,0 @@
|
|
1 |
-
@font-face {
|
2 |
-
font-family: 'yith-icon';
|
3 |
-
src: url('../fonts/yith-icon.eot?tkn99p');
|
4 |
-
src: url('../fonts/yith-icon.eot?tkn99p#iefix') format('embedded-opentype'),
|
5 |
-
url('../fonts/yith-icon.ttf?tkn99p') format('truetype'),
|
6 |
-
url('../fonts/yith-icon.woff?tkn99p') format('woff'),
|
7 |
-
url('../fonts/yith-icon.svg?tkn99p#yith-icon') format('svg');
|
8 |
-
font-weight: normal;
|
9 |
-
font-style: normal;
|
10 |
-
font-display: block;
|
11 |
-
}
|
12 |
-
|
13 |
-
[class^="yith-icon-"], [class*=" yith-icon-"] {
|
14 |
-
/* use !important to prevent issues with browser extensions that change fonts */
|
15 |
-
font-family: 'yith-icon' !important;
|
16 |
-
speak: never;
|
17 |
-
font-style: normal;
|
18 |
-
font-weight: normal;
|
19 |
-
font-variant: normal;
|
20 |
-
text-transform: none;
|
21 |
-
line-height: 1;
|
22 |
-
|
23 |
-
/* Better Font Rendering =========== */
|
24 |
-
-webkit-font-smoothing: antialiased;
|
25 |
-
-moz-osx-font-smoothing: grayscale;
|
26 |
-
}
|
27 |
-
|
28 |
-
.yith-icon-paypal-svgrepo-com:before {
|
29 |
-
content: "\e91b";
|
30 |
-
}
|
31 |
-
.yith-icon-check-circle:before {
|
32 |
-
content: "\e921";
|
33 |
-
color: #757575;
|
34 |
-
}
|
35 |
-
.yith-icon-info-squared:before {
|
36 |
-
content: "\e922";
|
37 |
-
color: #757575;
|
38 |
-
}
|
39 |
-
.yith-icon-warning-triangle:before {
|
40 |
-
content: "\e923";
|
41 |
-
color: #757575;
|
42 |
-
}
|
43 |
-
.yith-icon-bank:before {
|
44 |
-
content: "\e91c";
|
45 |
-
}
|
46 |
-
.yith-icon-accounting:before {
|
47 |
-
content: "\e91d";
|
48 |
-
}
|
49 |
-
.yith-icon-bank-check:before {
|
50 |
-
content: "\e91e";
|
51 |
-
}
|
52 |
-
.yith-icon-cash:before {
|
53 |
-
content: "\e91f";
|
54 |
-
}
|
55 |
-
.yith-icon-credit-card:before {
|
56 |
-
content: "\e920";
|
57 |
-
}
|
58 |
-
.yith-icon-yith:before {
|
59 |
-
content: "\e924";
|
60 |
-
}
|
61 |
-
.yith-icon-calendar_add:before {
|
62 |
-
content: "\e913";
|
63 |
-
color: #757575;
|
64 |
-
}
|
65 |
-
.yith-icon-calendar_money:before {
|
66 |
-
content: "\e914";
|
67 |
-
color: #757575;
|
68 |
-
}
|
69 |
-
.yith-icon-calendar2:before {
|
70 |
-
content: "\e915";
|
71 |
-
color: #757575;
|
72 |
-
}
|
73 |
-
.yith-icon-people:before {
|
74 |
-
content: "\e916";
|
75 |
-
color: #757575;
|
76 |
-
}
|
77 |
-
.yith-icon-shield_money:before {
|
78 |
-
content: "\e917";
|
79 |
-
color: #757575;
|
80 |
-
}
|
81 |
-
.yith-icon-time_check:before {
|
82 |
-
content: "\e918";
|
83 |
-
color: #757575;
|
84 |
-
}
|
85 |
-
.yith-icon-world_settings:before {
|
86 |
-
content: "\e919";
|
87 |
-
color: #757575;
|
88 |
-
}
|
89 |
-
.yith-icon-arrow_eye_closed:before {
|
90 |
-
content: "\e912";
|
91 |
-
color: #757575;
|
92 |
-
}
|
93 |
-
.yith-icon-arrow_eye:before {
|
94 |
-
content: "\e911";
|
95 |
-
color: #757575;
|
96 |
-
}
|
97 |
-
.yith-icon-reset:before {
|
98 |
-
content: "\e910";
|
99 |
-
color: #757575;
|
100 |
-
}
|
101 |
-
.yith-icon-drag:before {
|
102 |
-
content: "\e90f";
|
103 |
-
color: #757575;
|
104 |
-
}
|
105 |
-
.yith-icon-trash:before {
|
106 |
-
content: "\e90d";
|
107 |
-
color: #757575;
|
108 |
-
}
|
109 |
-
.yith-icon-info:before {
|
110 |
-
content: "\e90e";
|
111 |
-
color: #757575;
|
112 |
-
}
|
113 |
-
.yith-icon-arrow_down:before {
|
114 |
-
content: "\e900";
|
115 |
-
color: #757575;
|
116 |
-
}
|
117 |
-
.yith-icon-arrow_left:before {
|
118 |
-
content: "\e901";
|
119 |
-
color: #757575;
|
120 |
-
}
|
121 |
-
.yith-icon-arrow_right:before {
|
122 |
-
content: "\e902";
|
123 |
-
color: #757575;
|
124 |
-
}
|
125 |
-
.yith-icon-arrow_up:before {
|
126 |
-
content: "\e903";
|
127 |
-
color: #757575;
|
128 |
-
}
|
129 |
-
.yith-icon-calendar:before {
|
130 |
-
content: "\e904";
|
131 |
-
color: #757575;
|
132 |
-
}
|
133 |
-
.yith-icon-check:before {
|
134 |
-
content: "\e905";
|
135 |
-
color: #757575;
|
136 |
-
}
|
137 |
-
.yith-icon-close:before {
|
138 |
-
content: "\e906";
|
139 |
-
color: #757575;
|
140 |
-
}
|
141 |
-
.yith-icon-edit:before {
|
142 |
-
content: "\e907";
|
143 |
-
color: #757575;
|
144 |
-
}
|
145 |
-
.yith-icon-magnifier:before {
|
146 |
-
content: "\e908";
|
147 |
-
color: #757575;
|
148 |
-
}
|
149 |
-
.yith-icon-pencil:before {
|
150 |
-
content: "\e909";
|
151 |
-
color: #757575;
|
152 |
-
}
|
153 |
-
.yith-icon-plus:before {
|
154 |
-
content: "\e90a";
|
155 |
-
color: #757575;
|
156 |
-
}
|
157 |
-
.yith-icon-update:before {
|
158 |
-
content: "\e90b";
|
159 |
-
color: #757575;
|
160 |
-
}
|
161 |
-
.yith-icon-upload:before {
|
162 |
-
content: "\e90c";
|
163 |
-
color: #757575;
|
164 |
-
}
|
165 |
-
.yith-icon-reply:before {
|
166 |
-
content: "\e91a";
|
167 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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?
|
10 |
-
src: url("../fonts/yith-icon.eot?
|
11 |
-
url("data:application/x-font-woff;charset=utf-8;base64,
|
12 |
-
url("../fonts/yith-icon.ttf?
|
13 |
font-weight: 400;
|
14 |
font-style: normal;
|
15 |
}
|
@@ -135,6 +135,10 @@
|
|
135 |
content: "\e908";
|
136 |
}
|
137 |
|
|
|
|
|
|
|
|
|
138 |
.yith-icon-more:before {
|
139 |
content: "\f102";
|
140 |
}
|
@@ -143,6 +147,10 @@
|
|
143 |
content: "\e91b";
|
144 |
}
|
145 |
|
|
|
|
|
|
|
|
|
146 |
.yith-icon-pencil:before {
|
147 |
content: "\e909";
|
148 |
}
|
@@ -167,6 +175,10 @@
|
|
167 |
content: "\e917";
|
168 |
}
|
169 |
|
|
|
|
|
|
|
|
|
170 |
.yith-icon-time-check:before {
|
171 |
content: "\e918";
|
172 |
}
|
@@ -183,6 +195,10 @@
|
|
183 |
content: "\e90c";
|
184 |
}
|
185 |
|
|
|
|
|
|
|
|
|
186 |
.yith-icon-warning-triangle:before {
|
187 |
content: "\e923";
|
188 |
}
|
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?9b110ae71c86256f1bb853df2050290b");
|
10 |
+
src: url("../fonts/yith-icon.eot?9b110ae71c86256f1bb853df2050290b#iefix") format("embedded-opentype"),
|
11 |
+
url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABjwAAsAAAAAKlQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkr2Y21hcAAAAXwAAAFHAAAD2mDI02dnbHlmAAACxAAAEsoAAB+oFAg03mhlYWQAABWQAAAAMAAAADYaWpUuaGhlYQAAFcAAAAAeAAAAJAQ1AiBobXR4AAAV4AAAACIAAACoUgT/7GxvY2EAABYEAAAAVgAAAFakFJwibWF4cAAAFlwAAAAfAAAAIAFIAVZuYW1lAAAWfAAAATAAAAIiyMcJZnBvc3QAABesAAABQQAAAdfFCO7/eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/MI4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfORkAnH1mNgYeIE0I4gDAI1KCDp4nO3TW1LCQBSE4T8hCQTwBirgFfBe5WIsV+WCfHJH53FWgH3SLsNQHwxDEpJ0D9ACI3mXBqofKnL71mw1zI+YDvMNX/o+0auGeCx16Q8HjShVaXM0bJV+/+BTo1pHNjr/lCNOWLKWO7Y88ciKhUYXnGvvXnvcsuOBV+65ZqxzdMw4Y84lL7xxyhXH7LnhmY3+ouN/m+dbvf379p452JBOZZls1Jbpxsgy9Wgs043WlBTRmTIjxqbkiIkpR6K3YX5qypaYmbIl5qa8iSNT8sSxqQPEiakNxKkNx56ZGkIsTF0hlkZey7mR13Jhw71cmjpFrEztItamnhEbU+OIK1P3iGsjP2+MfAa3lisi7ox8TvdG3vfWyGvfWaYUeyOv68HUaq0gU7+1gkxNp9SmzlNaU/spnWkdUMamFUGZmNYGpTc2v5ETa04AeJytWHmQHFd5f1/fPX3MdE8fOzPdc8+0dmcv7Ryt9ewhyaxkHbYlW7vyLUArxxBTBCXGkTBBQJUpDodQIXGQBSRFhcMhf6QojE2qjJKyjYBUgHJMwBSExAsFxEUZkYQKyK18r6dnD9kYqIo0+/q9733v+L73Hb/3iEXwH3yDISRLXFIgLTJFFsnV5EZylPwO+V3yFvI28n7yp+Sj5NPkUfIE+Rpy17oVu1YVbMNy2pWZXtfoNBttu8YaFYNFug+W04eZ3jx0mmK3bYsvQ+u+DC38DWnBy9DougNKp9neVK9tbrTg5ZngsVa01lIzGRVOYhl9aW1tL5zcu0YptHhh7Ys+rfuKYWzzN1WPe6phqLTY5q1SkkI7R/3VTfTbRJbjWFoECq2lWJ5nj8RlCtsTqQGR465dZ4Rzq6sZNTpHJ4RVNXPNNdEZWI3OwexgYbrKrO+fM5Q0bWHRSqfPZFSdrqqrmTFdH7uytUo5ca4zq6utLePgFCdwr/Cj5hHbyCV4J+EJaQShG7pALlk//KH1+3FJ1nneCZeGPKILb7xEu7m43OB5YMATBvjf/QAdf4mLy/V1HhjMIWI//JD2XHprXNJulRYMgZ8TBe21htbaJ3vRWo+RVXIXeQN5AGf+Fbawue5uNpFNFsL8+qEQiPYiuGIgdlHKsCa2Z9ATapUq+kEfwisc4w90etI6nmovzfA8k45r9KRpEdBKzNEa1LB47hVHgHrwgwcPexnvTa/1XvPBpt5hmGiOYX6s/o9qmio8geUTLz3Ea1/5jOHQ1E+O1H9uFMx/KX3YPHfYZ6KIYYBhfFOLonhiRjOJdvky6h4wVtRIQMbJdtIlc2Qn2ZPo/s0YKwi0Y6+cgmYaEje1E4elOqEO2wIaAWjZQBXaol3pitVZbPpMrctP1yoh3xAd1253F6ATNIOu44ZY1mwdLBfpzdCxxKATYoUeCz0Usdrs9GYcS4A1XZCkn4riTyVJyAD1AXgKS2W+XIJytLy2dnP0fB/KZfgURLMAX4x+lsp4hmVrclbXZN2hVcmyGppW1DTLzOfr+bwpyrIuyzAuCT2JO8Oyb+fkjiA9baglugAW5fLcg17x1B+WvKeffvDBB71y+bYynLBVJmsxVkkWuCIj2jKTzTI2tnifcXmD2Z1ic9z3C7hAvTBPF9BlavmbdNwiS+RwHHEH0cvfXNtqaAFGYPoHVq2RbdvD8Oiu19piza7ZbdRqu1uD55bjWHIyDibL62o66/tf9H1YobrZzLHybW92Fn/wZImGjtKgNNTo3njou1WjtLq6Gn0UAN4zSgPkKGyjn21n6SiPEG1dLpYYpBRL18U8s5ccICfI/eS95E9QTjxjMbYf3CrWLSek+x1K3GcGIm4htt0B50DIYX8tRFGNWBXdKxTF4tSTEISO220GzW6nF6I1Oq7YDLB0bEsIuoJtuZ3A7sHsyVlUged7qAovVgTWvVnPey4m0a4hfTamv2l5oLoNjf6rk/Fk1RhxlUx+xMkbSibjpjK5yUwXY+8nfW8JdYX/MDInSvU8r59Ul7YNlOjH/6J7qXa9zUqPPjUyArKY15iaICqWmWNHXEYpyEydj5u3FTlVnpWFIg3jJLPpDESMn+kk55cSW5uKs/6t5B4EA0M1Jn/8r2ln/18s9KTnLfs+/lY87zL5VY03/ZamC17yr3XFF278LY0Z1Scm+ecZ1F6B1MkE2vDN5LVou5UrzCxJCdi2xZeEqWGOstcTS4xkat32EKgMEQ4mHLcdTILIt+E/orn1KJ+K4z48wayNVKvT1eoI7j1nGKdKgiwLhoVBUKhi9QXLoNWYWsUacPmizzpK9De3w35TjSLNNDVgVDP6Xhzxmf10sunqTeaIib9VWZWuwT9JOCHIJ66RVJzmBE6jyjBxwy2Kwr6BUGuKdcLQ7JxDayKV6iR0FmCmCJYObBXDdhFmMJZPApugh6U3Ly29+T20WFq4a2HhrvtocXjFWny9k9CxgLWkA4vo/HX27DvMBCNE8M0EQ7jgfv2fsp+FnDv99/bH4Y+M9f1QO6d4to981Saqt4fqdDBgdDcruMvXNndaArsVXNZ2pR0n/ZW04zULXyk0m4VlGI2/tPhB0uekv5p8l5eTPu+rCT8WsD3pxWKgKirDI/BI7IcEXAiyIAL8lRU9bFmwgh/4LK3DSlyQdbujMlG/zcUeu0iuR0+lWx/A6baI3tWIY2MgFoHHv7irSb2Zp2EyZqNJYEPArCWgNtZVYHtOWpJw/9Q/tnvFEV4zo+c9rj4yMqJbrz52DHae9OYLzXp9IF9qQzT4QqwlMTz2YWSucx5jf5d3S54JJe9Byj/vnUw0Ev3XuuZQLCnxqb9Eydw4Gg1R3Uu8iq/M+FDpdpA+DxXbimPKbwDxtwC4zW4UTaMLRTvgKfQmuHBnuXxBHyKxufXaG9drvXVwBh+l3jPARqrpMWHIRL9gzp5ljpfdV8LSl39x+WeMgOeIfgIiJi83DEQ3xDBKPyhP/ME7DX7g89boP7SsA9dbrX+csK4/uKUF+H1sQH10zD6IrS8PWl/CVuIDIiMQDvWL2VcGMYQaYmr6deGh6G36aXj76M7di9F3D0qQ3c0I0dtO6XBm56t2RkelA2C+ik7BX/4lzsPD9/FkAnIVZuvrcN+YOANEaIIo1KpYac+EvbC3CHy1BbTV63YQJFtCVmzWqiJypQFxm0PvBDwytmdc2kGzrNgMxR5c0uzRcbvfKbf2XFcpu62JvbsmA1sRo0sYgl1NyzcE1/rU67Y153dOjru6JKas+vgbLPhMtNKc2Hd13g8wBzbYhf4nswIoullzHX+mXhiTRrSy28hm5JrL1/Oa5rK6BcLr1JLTyKZlOW3W3btxlq81Ci0pYBt5UZ73D2VjqMIlcr+bOHGU7+GNpIpSN6eAyjrjOiWgkolCAyWj8mMfyuoOI3wwjPlAEmmk0sQtn75lsiiJih1M7oqeLY8vndvTKqMI9++beCzfaHQajbxuWZ5lncZ9WxlZrpTm5ksVWc5kG275XY18a6xQbxTGW4XjdWTu1F9NmT28gXHrMZjGFJrV4xxu09x8hQ8B3tMvUv++GO2Ir5gXsIwm4AKcaY19Au4zlA165MGFaAfZPD+N8T6pvFKUF5OVf0WcP0gXf/kwv4o7oGtdvhyv5WAs2EH209vgAnRx5sEqaGGhS5W7sT7upTGJiEPUoQjUxPBU2rgbNw5yqADXEgXHxZFw6XTenztx7539/p390QPF05wqRV7nptfd1G5j0YE5e1dzsskzosKXGqVuhhd5ibEYzILA4JkzgjRyunhgtE8nuPfEnJ8/zUkqZDo3dZJJ3lWq5TklxbCOlxcEvHUrsiDSnyykQFzPl3ARPTMgbTwpel8OEJfymLgRNjTxmHoxOPDBRdPqduhlacZhu6JQnQLbwqM8b63cYE95oGIYisPZxz/O/Oc3WI752McwHD3DyexzFB3Ae+0bVrLTT37pAxup3mMKHznLgMd4ZnTxyQ+xzNkn45QU7wsegxbuyyB53NfAgqvofVdW9uZqOfz9ca6ew9/7By0gJm3lzC2fZN5LuMYEOUTuxjrCbOo6AY0OaSYOEAFe7fqxby0yWPTBofWgCYuwuRlgiI/9jsX4s3lA2ItDjCNuj70y2N7EG+J2eFaXCnfPXstpssixNiuLsrSH5fVdUkpIMQ7LCSmNu3b27kKKZaP32SwnyoO2wgmNyds/IMtiij0GwAnKbgkHz1oMR3kcQ6lJHItRJbB0FZHTJ/KVfO7msoE4TRLvSEsCAyDhcaO16MdEiRfBKN9cLo1F59db9cpUoRYzRCdEiRNpNbpRELGXxUwvFNNaw9RYhuFUMb4WSoO3OvgO4nYH88cY2s4c3hARBQDa/hVuHiCaRFePU70RODTN2xRfinGatDFmx7QtlIHbIhucm5LE6EfDNzFerY9HT0NGEo68mLIdzak5PKcoalp5i17wK9UCI2UMVU+/dXJ83IG/npIyanQmHtzkRJUbjx6CM8uCHK09KzUM7/g0b4iVQJssHL9G8jNz12edbHCckFTs9wBrif3VyDjeEa9HHHATuQOtcWB5eCmk8ZXG2fAlFPellC33kc3PEDzeXFDirJudpmpYyfp+4PuWpCiGonzGC4IdQeBlXLfsup+3fH+b51ly3LfrlKF+SDVOxbeFJymI+ORpOPW5h+Dsn8Op0yBT1m3+kppR8Zem0+wIXk+nKbuPb+m7fV4zDG3e0D5Hp3pUNZ551H8GshD95NENnHgR40SME7MVu5JtGzUd1iJvDeGZ7gGJvORdjVHg64Q2KgMgUcG46NPIWMNhGAjnaWCG+6KnJrMYODqwq9wplTrl6CNwvLk7CHbD+ycwUli9Ure0E7v8YHewM9jdJMPYDy/CPyPmtmNMHSNvjFk1jL801Io09OrAx292eMkJQhqkMWS3cQMH9iIktXZ7vdvDudVc3j7anjo0BX/W6Vr7974YU1Y6SMH+H++z8C4+Ed4e7gqVyR1Th96CE+zdf3ZXT53aMXV4CjtiTBLv5zvwv/FeDpLDZIVmiOZGel6M8cYwQ4ssjQy9QY4OkOD+Fk8ARLC9brNnMmowcRNiEWtfu60yZq/Z9ezz7r6x6emxfe7U2NXF4tVjf+EYxZRm5nOK6eUdz1QMM6cYhWkjzGQEVnZbizffo3GY/Uddt17PpTntnpsXW04KDt1/a7dQ6N56f9ou1+tl66ncCKRET2eagqja2QKbyzGKl2ICXlIcs/CaMqel+rJQ4hIb+QJDtaIMM4kRW8BR6/HHrYcfpiW0rPPnrU9Hh//WPn/eXretOMcqZBm1V6O+Qi8AKLyIKtBBTDInGpE7yQQbAFsM8NTD2JViRwqK8Wuomw0SMxjgAATp3/V5WeZ9el+0K1etzmGelLgdx+Z4jqNEwec5uOq1fUAyBHu8B0fthV9ac7Wj00PY8APswd/HrN7i3J0LLMcPh7HhrSFLZ2P6dy5wLDNYiGGZYu6hieyrgLUWytUh8ti/bjPPorzpBL+MUl+hj0Q0jSCA6xptdnAX6hoVMXmrYOlTEwZFeDY6WLOM3MWcYdUWLf0iAsneKd9/je+L7/Of8uFdXvT82Ihtj4yBFT1fKJcLYPW/9a1vwQP9o0eHb9+xvosbtxoMzEP0j5gMl0kA2toAgP33JPXIzjfhwkMPYZshA2QG9nZr+QZ75hKFZt4Apw3fJWJ8VsfMME06eD9Ev4DNwAxif6XuilTMDC6WtNWwMAOHoosnWUOktQjBJJ5fjKJY6s2VRTSFGIJRz6bWAWTPPUtL97yPFtE3ENsdmB9Lz/Q7RctsTIDqlyHM2d7+6yrNafbffKFVtnU7t706si21f/RgMQ+CDuNN0+LblcbCXQxJZsLiMsHJJiedvDftuaNpc2mbrpeuv89ppNQbVlJKWE+VphVXkBtOacLNRg/7eQ/MbUtmetTV9bC0PIXDY/z+Is0lsT4G71ykwSJAZ4U4/ncaBaDn26Uo9cUXOJO7yEoSrGEGbnz72z+iANWFfxfFyJc0SZHhkWj/0db33kOtJ85RDOC8Js6aw/Osk2b8Gt5GrLpAdpK/g33oiVsAcQ9jTW0e8MoU1DDM9EL6vl3ribbbtgWx6dpIc9shvVLRp+62EHbDaq1JWRH/0Nf0ahoE2gzW05mAzM2kxyoBnuDw6QJDGaU4MxQ74ZwbT2w9XNpJeuistBm2k9cnav10f/F1DZksnBjhJq5BSXb8PDJ4K2iG3SAhxxwdnA6NJiZtek1AiRJyzDGDc5aAkrqbnlwcVEJCjjnoqoMNtAcvElGtX6v1l2hhVQoWv2wZRoXRLcPMznnlIxwPR8qedShrGlVAqmHNFSpHOOH3GE6XeEmQOV3XtUDjZT5jAhSyVrYAkM1wMo9U7MvIgpstFLJoVJmEVeIz2XVWM8MPWTlZwCk1EdkBL3QZyUQsyat4U+Dxm+YFhVdTTk7BTktUgFEKjiLzKo9dOrIoYkpIC6wmyhlRicdrLBJSG+NVLpVyChvjc05K3TxexS9rCikcD2eq/T39alwcYS23eFWBTSk5j1VSbNlii8UWoxWR7r2EHAIYGT7Fa02UVkOZ8G6iUpmygiqigCKvobBNxCbmQAdZRCkDXqpQYcCLQ3CgzA14cbqMkahsd7J1WduydUEX2IxkiInoaVbQrhTdzWtMIjuqLpXaqjpNYNMb4zMsTrhJ9agneaD6Dez0ZYZFhLwba4IYXx9EGtPwjlirUpiArhQbOxLR+BEXxJeMcAAahMGrRmj1eMoswIV66LHs/H5H1ZU0wPwIyivLhZxRbZsOnwYPQDOCicmsKcjLzR4nLu/oTlSuCuToBbx2LdVhVy5/x+FdDHOEN9XiXj892UrnywxTnHAMG149UjZtli1pmZITeM3xa5f6x/0CP/OsYlV3kf8DvcOm2AAAeJxjYGRgYADiyCmbS+L5bb4ycDMxgMCd2VoyMPr/r/+fmbiZ2IBcDgawNAA5VgtHeJxjYGRgYGIAAj0mhv+//n9l4mZgZEAFWgBfKgRZAAB4nGNgYGBgwon//8cth6H2F5T+DcHE6sNr5l8YGwBDEwo6AAAAAAAAARIBJAE2AUYBWAIWAsgDNAP2BJgFIgVYBWoFugXUBkIGuAbsBxAHjAfkCBQISgi6CQYJMgnWCkYKzgriCxILWgvgC/wMdAy0DOQNbA2YD2wP1AAAeJxjYGRgYNBi9GIQYQABJiDmAkIGhv9gPgMAFdgBoAB4nG2PPW7CQBCFn/mLAlKEEilSulWKNBHmp6DgANBT0Buz/kG211oWJC6QE+QMOUNOkDJnyFHybEYuEnal1ffevNnRABjiCx6q4+G2fqvTwg3VhdukoXCH/CTcxQDPwj36I+E+XjEXHuABAX/wOtVv93DCLdzhTbhN/124Q/4Q7uIRn8I9+t/CfWzwIzzAizc/py4ZpaEp1jo+ZoFtdAMbbQ+pKdTUnzTeShfaBk7v1PasDqd45lykImtytTSF01lmVGnNXofOT5wrF+NxJL4fmhxnpNwm4dYpQhgUWEMjxhEZN7ZX6v+dDTssDtSVUpjCx+RKbsVcUWcDVjR2zG6ZU+w9ceaMrkNEHTFjkJOWdWeVzngNnbKu7emE9H1OqLpKLDDmjf7k/Xp2/gurBGCqeJxtkOtO3DAQhXNYZwnZdAsthd4vQC9Q+aFce5JYOLY7drTK2zfZtP3F/Bh9n3Q8Gk9xUqxVFk/XA06wgUCJLU5R4Qw1dmjwDHs8xzku8AIvcYlXuMI1XuMN3uId3uMDPuITPuMLbnCLO3zFN3zHD9zjAT+LWmkdRp+t72rFHA7ShIP/i47avFuRbdfnauUx1r+Uf5S6J/0oFmy0cuSNYqmM2f+XIXiaqn8qtEp9c3wktWXtqDxKqd2cW3oioUOcdprJ2Cy1YiMMq04sWtNE8hgymxkb69sg0+9RzWGxyNmgOm9bS1wNyjoZxiyGwLSNaorKbaJpt5FCdCSiG1PJFN0090S5Sb0lZ9aFRQqc62wHWn9YZp4X347RBWWqMRHL0LbnB8V+vprMbJXvHO0PgecR87TlmElMNvdF8Qc7rIJZAAAA") format("woff"),
|
12 |
+
url("../fonts/yith-icon.ttf?9b110ae71c86256f1bb853df2050290b") format("truetype");
|
13 |
font-weight: 400;
|
14 |
font-style: normal;
|
15 |
}
|
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 |
}
|
195 |
content: "\e90c";
|
196 |
}
|
197 |
|
198 |
+
.yith-icon-user-off:before {
|
199 |
+
content: "\f108";
|
200 |
+
}
|
201 |
+
|
202 |
.yith-icon-warning-triangle:before {
|
203 |
content: "\e923";
|
204 |
}
|
plugin-fw/assets/css/yith-select2-no-wc.css
CHANGED
File without changes
|
plugin-fw/assets/fonts/yith-icon.eot
CHANGED
Binary file
|
plugin-fw/assets/fonts/yith-icon.svg
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
<?xml version="1.0" standalone="no"?>
|
2 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
-
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
-
<metadata>Generated by IcoMoon</metadata>
|
5 |
-
<defs>
|
6 |
-
<font id="yith-icon" horiz-adv-x="1024">
|
7 |
-
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8 |
-
<missing-glyph horiz-adv-x="1024" />
|
9 |
-
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10 |
-
<glyph unicode="" glyph-name="arrow_down" d="M85.333 618.667l426.684-426.65 426.65 426.65-85.35 85.316-341.299-341.299-341.367 341.299z" />
|
11 |
-
<glyph unicode="" glyph-name="arrow_left" d="M767.966 106.684l-341.316 341.367 341.316 341.265-85.35 85.35-426.581-426.615 426.581-426.718z" />
|
12 |
-
<glyph unicode="" glyph-name="arrow_right" d="M341.385 21.333l426.581 426.718-426.581 426.615-85.35-85.35 341.316-341.265-341.316-341.367z" />
|
13 |
-
<glyph unicode="" glyph-name="arrow_up" d="M938.667 277.333l-426.684 426.65-426.65-426.65 85.316-85.316 341.333 341.299 341.333-341.299z" />
|
14 |
-
<glyph unicode="" glyph-name="calendar" d="M263.1 341.385h71.083v-71.083h-71.083v71.083zM369.766 341.385h71.083v-71.083h-71.083v71.083zM476.416 341.385h71.083v-71.083h-71.083v71.083zM583.083 341.385h71.083v-71.083h-71.083v71.083zM369.766 448.034h71.083v-71.083h-71.083v71.083zM476.416 448.034h71.083v-71.083h-71.083v71.083zM583.083 448.034h71.083v-71.083h-71.083v71.083zM263.1 234.718h71.083v-71.083h-71.083v71.083zM369.766 234.718h71.083v-71.083h-71.083v71.083zM476.416 234.718h71.083v-71.083h-71.083v71.083zM583.083 234.718h71.083v-71.083h-71.083v71.083zM689.818 341.385h71.083v-71.083h-71.083v71.083zM689.818 448.034h71.083v-71.083h-71.083v71.083zM903.134 803.584h-142.234v71.083h-71.083v-71.083h-355.55v71.083h-71.083v-71.083h-142.319v-782.251h782.251v782.251zM263.1 732.501v-71.083h71.083v71.083h355.55v-71.083h71.083v71.083h71.083v-142.234h-640.017v142.234h71.219zM191.949 92.484v426.701h640.017v-426.701h-640.017z" />
|
15 |
-
<glyph unicode="" glyph-name="check" d="M938.667 734.191l-56.371 56.371-566.391-566.391-168.875 207.258-61.696-50.295 224.58-275.695z" />
|
16 |
-
<glyph unicode="" glyph-name="close" d="M158.857 21.333l353.143 353.143 353.143-353.143 73.523 73.523-353.143 353.143 353.143 353.143-73.523 73.523-353.143-353.143-353.143 353.143-73.523-73.523 353.143-353.143-353.143-353.143z" />
|
17 |
-
<glyph unicode="" glyph-name="edit" d="M868.847 357.239l-517.427 517.427-193.178-193.178 517.427-517.427h193.178v193.178zM705.178 235.435l92.297 92.297v-92.297h-92.297zM654.729 285.884l-306.398 306.398 92.297 92.297 306.398-306.398-92.297-92.297zM351.42 773.786l38.775-38.775-92.297-92.297-38.775 38.775 92.297 92.297zM155.153 92.706h713.677v-71.373h-713.677v71.373z" />
|
18 |
-
<glyph unicode="" glyph-name="magnifier" d="M694.528 570.095c0 167.953-136.619 304.572-304.572 304.572s-304.589-136.619-304.589-304.572 136.619-304.572 304.572-304.572c70.229 0 134.895 24.115 186.419 64.239l26.18-26.18-38.076-38.076 244.19-244.173 129.963 129.963-244.173 244.19-38.076-38.076-26.18 26.18c40.124 51.695 64.341 116.258 64.341 186.505zM830.976 151.296l-22.323-22.323-136.533 136.533 22.323 22.323 136.533-136.533zM389.956 341.658c-125.952 0-228.437 102.485-228.437 228.437s102.485 228.42 228.437 228.42 228.437-102.485 228.437-228.437c-0.017-125.935-102.502-228.42-228.437-228.42z" />
|
19 |
-
<glyph unicode="" glyph-name="pencil" d="M669.542 874.701l-584.209-584.192 2.628-266.581 266.496-2.628 584.209 584.192-269.124 269.21zM831.010 605.577l-25.515-25.515-161.485 161.553 25.532 25.532 161.468-161.57zM323.277 97.758l-159.915 1.553-1.553 160 428.39 428.476 53.828-53.914-412.894-412.791 53.828-53.828 412.877 412.809 53.828-53.828-428.39-428.476z" />
|
20 |
-
<glyph unicode="" glyph-name="plus" d="M475.409 21.333h78.029v385.229h385.229v78.029h-385.229v390.076h-78.029v-390.076h-390.076v-78.029h390.076z" />
|
21 |
-
<glyph unicode="" glyph-name="update" d="M188.075 400.162c23.313-158.703 159.932-281.139 325.035-281.139 118.903 0 228.949 64.495 287.13 168.38l-63.761 35.703c-45.295-80.828-130.884-131.055-223.369-131.055-120.798 0-222.14 84.275-248.73 197.018l40.209-40.124 51.695 51.695-135.475 135.475-135.475-135.458 51.695-51.695 51.046 51.2zM513.109 703.863c121.941 0 224.017-85.828 249.549-200.141l-43.247 43.247-51.695-51.695 135.475-135.475 135.475 135.475-51.695 51.695-49.152-49.152c-24.132 157.713-160.341 279.159-324.71 279.159-117.009 0-226.236-62.942-284.911-164.369l63.266-36.591c45.705 78.78 130.56 127.846 221.645 127.846z" />
|
22 |
-
<glyph unicode="" glyph-name="upload" d="M937.728 139.315v619.247c0 64-52.105 116.105-116.105 116.105h-619.247c-64 0-116.105-52.105-116.105-116.105v-619.247c0-64 52.105-116.105 116.105-116.105h190.276v77.38h-190.276c-21.333 0-38.724 17.306-38.724 38.724v619.247c0 21.333 17.306 38.724 38.724 38.724h619.247c21.333 0 38.724-17.306 38.724-38.724v-619.247c0-21.333-17.391-38.724-38.724-38.724h-193.485v-77.38h193.485c64 0.017 116.105 52.105 116.105 116.105zM550.69 21.333v412.553l88.61-89.515 54.972 54.391-180.429 182.323-183.876-181.982 54.409-55.057 88.934 87.945v-410.658z" />
|
23 |
-
<glyph unicode="" glyph-name="trash" d="M734.591 132.655c0-20.48-16.696-37.101-37.101-37.101h-371.014c-20.406 0-37.101 16.621-37.101 37.101v519.42h-74.203v-519.42c0-61.403 50.087-111.304 111.304-111.304h371.014c61.217 0 111.304 49.901 111.304 111.304v519.42h-74.203v-519.42zM400.679 800.48h222.608v-37.101h-222.608v37.101zM697.49 800.48c0 40.923-33.391 74.203-74.203 74.203h-222.608c-40.812 0-74.203-33.28-74.203-74.203v-37.101h-185.507v-74.203h742.028v74.203h-185.507v37.101zM474.882 614.973h74.203v-445.217h-74.203v445.217zM363.577 614.973h74.203v-445.217h-74.203v445.217zM586.186 614.973h74.203v-445.217h-74.203v445.217z" />
|
24 |
-
<glyph unicode="" glyph-name="info" d="M511.957 92.471c-196.017 0-355.555 159.466-355.555 355.555 0 196.053 159.538 355.555 355.555 355.555 196.053 0 355.555-159.502 355.555-355.555 0-196.089-159.502-355.555-355.555-355.555zM511.957 874.692c-235.271 0-426.666-191.431-426.666-426.666 0-235.271 191.395-426.666 426.666-426.666 235.306 0 426.666 191.395 426.666 426.666 0 235.235-191.36 426.666-426.666 426.666zM476.402 270.248v177.777h35.555v-177.777h-35.555zM583.068 448.026v71.111h-213.333v-71.111h35.555v-248.888h213.333v71.111h-35.555v177.777zM494.179 661.359c9.813 0 17.778-8 17.778-17.778 0-9.813-7.964-17.778-17.778-17.778-9.778 0-17.778 7.964-17.778 17.778 0 9.778 8 17.778 17.778 17.778zM494.179 554.692c49.031 0 88.889 39.858 88.889 88.889 0 48.995-39.858 88.889-88.889 88.889-48.995 0-88.889-39.893-88.889-88.889 0-49.031 39.893-88.889 88.889-88.889z" />
|
25 |
-
<glyph unicode="" glyph-name="drag" d="M241.835 409.259h232.277v-232.277h-116.053l156.501-154.795 156.501 154.795h-119.467v232.277h233.813v-116.224l154.965 156.672-154.965 156.501v-119.467h-233.813v232.277h119.467l-156.501 154.795-156.501-154.795h116.053v-232.277h-232.277v119.467l-154.795-156.501 154.795-156.672z" />
|
26 |
-
<glyph unicode="" glyph-name="reset" d="M188.928 400.384c23.211-158.379 159.573-280.405 324.267-280.405 118.613 0 228.352 64.341 286.379 167.936l-63.488 35.499c-45.227-80.555-130.56-130.731-222.891-130.731-120.491 0-221.525 84.139-248.149 196.608l40.107-40.107 51.541 51.541-135.168 135.168-135.168-135.168 51.541-51.541 51.029 51.2zM513.195 703.317c121.685 0 223.573-85.675 249.003-199.68l-43.179 43.179-51.541-51.541 135.168-135.168 135.168 135.168-51.541 51.541-48.981-48.981c-24.064 157.355-159.915 278.528-323.925 278.528-116.736 0-225.621-62.805-284.16-164.011l63.147-36.523c45.227 78.507 129.877 127.488 220.843 127.488z" />
|
27 |
-
<glyph unicode="" glyph-name="arrow_eye" d="M512 184.32c147.797 0 288.939 82.603 408.235 238.933l17.408 22.869-17.408 22.869c-119.296 156.501-260.437 239.104-408.235 239.104s-289.109-82.603-408.235-239.104l-17.408-22.869 17.408-22.869c119.125-156.331 260.437-238.933 408.235-238.933zM512 632.661c116.395 0 230.059-64.341 330.411-186.539-100.352-122.027-214.187-186.368-330.411-186.368-116.395 0-230.059 64.341-330.411 186.539 100.181 122.027 214.016 186.368 330.411 186.368zM510.293 293.717c83.115 0 150.699 67.584 150.699 150.699s-67.584 150.699-150.699 150.699c-83.115 0-150.699-67.584-150.699-150.699s67.584-150.699 150.699-150.699zM510.293 519.68c41.472 0 75.264-33.792 75.264-75.264s-33.792-75.264-75.264-75.264c-41.472 0-75.264 33.792-75.264 75.264-0.171 41.472 33.621 75.264 75.264 75.264z" />
|
28 |
-
<glyph unicode="" glyph-name="arrow_eye_closed" d="M920.235 468.992c-119.296 156.501-260.437 239.104-408.235 239.104-57.296 0-113.616-12.423-168.047-36.743l70.881-53.755c32.024 9.991 64.493 15.065 97.166 15.065 116.395 0 230.059-64.341 330.411-186.54-27.682-33.661-56.393-62.906-85.893-87.648l61.426-46.583c35.519 31.508 69.722 68.681 102.292 111.363l17.408 22.868-17.41 22.869zM510.293 595.115c-18.676 0-36.564-3.422-53.081-9.656l203.208-154.107c0.37 4.306 0.572 8.661 0.572 13.063 0 83.116-67.584 150.7-150.699 150.7zM873.18 226.28l-713.387 541.013c-21.289 16.145-51.633 11.974-67.779-9.315s-11.976-51.633 9.315-67.779l123.489-93.652c-42.291-34.717-82.818-77.322-121.054-127.556l-17.408-22.869 17.408-22.869c119.125-156.332 260.437-238.933 408.235-238.933 65.911 0 130.495 16.445 192.411 48.517l110.302-83.651c8.743-6.63 19.011-9.834 29.196-9.834 14.619 0 29.068 6.6 38.583 19.147 16.147 21.291 11.977 51.635-9.312 67.78zM523.187 370.273c-4.192-0.73-8.497-1.121-12.894-1.121-38.915 0-71.067 29.756-74.882 67.688l87.776-66.567zM512 259.755c-116.395 0-230.059 64.34-330.411 186.539 33.684 41.028 68.92 75.481 105.271 103.204l79.536-60.319c-4.41-14.148-6.799-29.181-6.799-44.764 0-83.113 67.584-150.699 150.699-150.699 30.172 0 58.289 8.917 81.877 24.241l44.037-33.396c-40.75-16.406-82.321-24.806-124.209-24.806z" />
|
29 |
-
<glyph unicode="" glyph-name="calendar_add" d="M547.499 483.499h-70.997v-106.496h-106.325v-70.827h106.325v-106.496h70.997v106.496h106.325v70.827h-106.325zM902.315 802.816h-141.824v70.827h-70.997v-70.997h-354.816v70.997h-70.997v-70.997h-141.995v-780.459h780.459v780.629zM263.68 731.819v-70.997h70.997v70.997h354.816v-70.997h70.997v70.997h70.997v-106.496h-638.805v106.496h70.997zM192.683 93.184v461.312h638.635v-461.141h-638.635z" />
|
30 |
-
<glyph unicode="" glyph-name="calendar_money" d="M474.965 133.291h74.069v37.035c40.96 0 74.069 33.109 74.069 74.069v37.035c0 40.96-33.109 74.069-74.069 74.069h-74.069v37.035h148.139v74.069h-74.069v37.035h-74.069v-37.035c-40.96 0-74.069-33.109-74.069-74.069v-37.035c0-40.96 33.109-74.069 74.069-74.069h74.069v-37.035h-148.139v-74.069h74.069v-37.035zM252.928 873.643v-222.037h73.899v74.069h333.312v74.069h-333.312v73.899zM919.211 540.501v259.243h-148.139v73.899h-74.069v-222.037h74.069v74.069h74.069v-111.104h-666.283v111.104h37.035v74.069h-111.104v-777.387h814.421v518.144zM845.141 96.256h-666.283v444.245h666.283v-444.245z" />
|
31 |
-
<glyph unicode="" glyph-name="calendar2" d="M937.643 796.331h-154.795v77.312h-77.312v-232.107h77.312v77.312h77.483v-619.179h-696.661v619.179h38.741v77.483h-116.053v-773.973h851.285zM318.464 873.643h-77.312v-232.107h77.312v77.312h348.331v77.483h-348.331zM395.947 564.053h77.483v-77.483h-77.483v77.483zM550.741 564.053h77.483v-77.483h-77.483v77.483zM705.536 564.053h77.483v-77.483h-77.483v77.483zM241.152 409.259h77.483v-77.483h-77.483v77.483zM395.947 409.259h77.483v-77.483h-77.483v77.483zM550.741 409.259h77.483v-77.483h-77.483v77.483zM705.536 409.259h77.483v-77.483h-77.483v77.483zM241.152 254.464h77.483v-77.483h-77.483v77.483zM395.947 254.464h77.483v-77.483h-77.483v77.483zM550.741 254.464h77.483v-77.483h-77.483v77.483zM705.536 254.464h77.483v-77.483h-77.483v77.483z" />
|
32 |
-
<glyph unicode="" glyph-name="people" d="M263.68 696.32c0-39.211-31.787-70.997-70.997-70.997s-70.997 31.787-70.997 70.997c0 39.211 31.787 70.997 70.997 70.997s70.997-31.787 70.997-70.997zM121.685 128.683h70.997v212.821h35.499v-212.821h70.997v390.315h70.997v70.997h-212.992c-39.253 0-70.997-31.744-70.997-70.997v-177.323h35.499v-212.992zM902.315 696.32c0-39.211-31.787-70.997-70.997-70.997s-70.997 31.787-70.997 70.997c0 39.211 31.787 70.997 70.997 70.997s70.997-31.787 70.997-70.997zM866.816 589.824h-212.992v-70.997h70.997v-390.315h70.997v212.992h35.499v-212.821h70.997v212.821h35.499v177.493c-0.171 39.083-31.915 70.827-70.997 70.827zM582.997 696.32c0-39.211-31.787-70.997-70.997-70.997s-70.997 31.787-70.997 70.997c0 39.211 31.787 70.997 70.997 70.997s70.997-31.787 70.997-70.997zM405.504 518.997v-141.824h35.499v-248.32h141.824v248.149h35.499v141.824c0 39.253-31.744 70.997-70.997 70.997h-70.997c-38.912 0-70.827-31.744-70.827-70.827z" />
|
33 |
-
<glyph unicode="" glyph-name="shield_money" d="M146.091 837.12v-530.261l365.909-284.501 365.909 284.672v530.091h-219.477v-73.216h-36.523v109.739h-219.648v-109.739h-36.523v73.216h-219.648zM475.477 690.859v109.739h73.216v-109.739h182.955v73.216h73.216v-421.205l-292.864-227.669-292.693 227.669v421.035h73.216v-73.216h182.955zM548.523 324.949h-73.216c-20.139 0-36.523 16.384-36.523 36.523h-73.216c0-60.587 49.152-109.739 109.739-109.739v-36.523h73.216v36.523c60.587 0 109.739 49.152 109.739 109.739s-49.152 109.739-109.739 109.739h-73.216c-20.139 0-36.523 16.384-36.523 36.523s16.384 36.523 36.523 36.523h73.216c20.139 0 36.523-16.384 36.523-36.523h73.216c0 60.587-49.152 109.739-109.739 109.739v36.523h-73.216v-36.523c-60.587 0-109.739-49.152-109.739-109.739s49.152-109.739 109.739-109.739h73.216c20.139 0 36.523-16.384 36.523-36.523s-16.213-36.523-36.523-36.523z" />
|
34 |
-
<glyph unicode="" glyph-name="time_check" d="M86.528 448.341c-0.341-235.008 189.952-425.643 424.96-425.984s425.643 189.952 425.984 424.96c0.171 83.968-24.576 166.059-71.168 236.032l-60.075-63.488c22.528-39.765 37.035-83.627 42.325-129.195h-80.384v-84.651h80.384c-19.627-154.795-141.483-276.651-296.277-296.277v84.651h-84.651v-84.651c-154.795 19.456-276.821 141.483-296.277 296.277h84.651v84.651h-84.651c18.432 155.307 140.971 277.845 296.277 296.277v-82.603h84.651v81.749c46.251-5.803 90.795-21.163 130.731-44.885l61.44 61.44c-68.779 46.080-149.675 70.827-232.448 71.168-234.837-0.341-425.301-190.635-425.472-425.472zM414.549 605.355l-59.563-59.733 157.013-157.013 410.624 410.965-59.733 59.733-350.891-350.891z" />
|
35 |
-
<glyph unicode="" glyph-name="world_settings" d="M833.707 597.333l48.981 81.92-139.435 139.435-81.92-48.981c-8.875 4.267-18.091 7.851-27.648 11.435l-23.040 92.672h-98.645c-235.179-0.171-425.643-190.635-425.643-425.813s190.464-425.643 425.643-425.643h98.645l23.040 92.672c9.557 3.584 18.773 7.168 27.648 11.435l81.92-48.981 139.435 139.435-48.981 81.92c3.925 8.875 7.851 18.091 11.435 27.648l92.672 23.040v197.12l-92.672 23.040c-3.584 9.557-7.168 20.139-11.435 27.648zM319.659 448c0.171 35.669 3.243 71.339 9.216 106.496h147.627v-212.821h-147.627c-5.973 34.987-9.045 70.656-9.216 106.325zM476.501 795.989v-170.667h-129.877c28.16 86.699 75.264 150.869 129.877 170.667zM476.501 270.677v-171.008c-54.613 19.797-101.888 84.139-129.877 171.008h129.877zM547.499 547.669c55.125-20.309 83.456-81.579 63.147-136.704-10.752-29.184-33.792-52.224-63.147-63.147v199.851zM323.925 748.203c-22.869-38.4-40.277-79.701-51.712-122.709h-67.072c29.013 49.835 69.803 91.989 118.784 122.709zM173.568 554.496h83.797c-11.435-70.485-11.435-142.336 0-212.821h-83.797c-21.845 69.12-21.845 143.531 0 212.821zM205.141 270.677h67.072c11.435-43.179 29.013-84.651 51.712-123.051-48.981 30.72-89.771 73.045-118.784 123.051zM866.816 404.651l-77.312-19.456-5.632-19.115c-5.632-18.091-12.8-35.669-21.675-52.565l-9.557-17.749 40.789-68.096-61.099-61.44-68.437 41.301-17.749-9.557c-16.725-8.875-34.133-16.043-52.224-21.675l-19.456-5.632-19.115-77.312h-7.851v180.907c96.085 19.456 158.037 113.152 138.581 209.067-14.165 69.803-68.779 124.416-138.581 138.581v180.907h7.851l19.115-77.312 19.456-5.632c18.091-5.973 35.669-13.824 52.224-23.381l17.749-9.557 68.437 40.789 61.099-61.099-40.96-66.731 9.557-17.749c8.875-16.555 16.213-34.133 21.675-52.224l5.632-19.456 77.312-19.115 0.171-86.699z" />
|
36 |
-
<glyph unicode="" glyph-name="reply" d="M426 554.667q208-30 321-159t149-311q-154 218-470 218v-174l-298 298 298 298v-170z" />
|
37 |
-
<glyph unicode="" glyph-name="paypal-svgrepo-com" d="M948.695 781.407c41.592-76.275 27.867-166.22 11.486-219.376-88.641-289.544-488.607-273.795-546.47-273.795-57.795 0-71.254-53.893-71.254-53.893l-43.213-188.526c-11.779-66.175-71.793-62.877-71.793-62.877s-78.009 0-130.188 0c-3.273 0-6.328 0.225-9.134 0.631-0.645-12.117 1.079-47.541 44.401-47.541 52.139 0 130.147 0 130.147 0s60.013-3.366 71.834 62.806l43.165 188.519c0 0 13.507 53.897 71.301 53.897 57.767 0 457.829-15.746 546.514 273.808 19.787 64.717 35.874 183.635-46.797 266.347zM259.046 86.911l43.206 188.533c0 0 13.421 53.801 71.301 53.801 57.747 0 457.781-15.664 546.429 273.819 32.437 105.838 54.958 356.92-348.956 356.92h-291.749c0 0-60.641 2.816-75.606-61.659l-190.628-822.715c0 0-8.185-51.555 43.974-51.555 52.207 0 130.233 0 130.233 0s60.013-3.393 71.796 62.857zM369 565.482l38.741 167.179c0 0 12.339 45.462 52.207 52.193 39.827 6.755 107.667-1.201 125.12-4.495 113.299-21.279 89.201-128.478 89.201-128.478-22.433-165.476-280.007-142.514-280.007-142.514-40.383 14.602-25.262 56.115-25.262 56.115z" />
|
38 |
-
<glyph unicode="" glyph-name="bank" d="M511.488 599.723c-8.875 0-16.213 7.168-16.213 16.213 0 4.608-3.755 8.363-8.363 8.363s-8.363-3.755-8.363-8.363c0-15.189 10.411-27.989 24.576-31.744v-6.315c0-4.608 3.755-8.363 8.363-8.363s8.363 3.755 8.363 8.363v6.315c14.165 3.755 24.576 16.384 24.576 31.744 0 18.091-14.848 32.939-32.939 32.939-8.875 0-16.213 7.168-16.213 16.213 0 8.875 7.168 16.213 16.213 16.213 8.533 0 15.531-6.656 16.213-15.019 0.341-4.608 4.437-8.021 8.875-7.851 4.608 0.341 8.192 4.267 7.851 8.875-1.024 14.336-11.093 25.941-24.576 29.525v6.315c0 4.608-3.755 8.363-8.363 8.363s-8.363-3.755-8.363-8.363v-6.315c-13.995-3.755-24.576-16.555-24.576-31.744 0-18.091 14.848-32.939 32.939-32.939 8.875 0 16.213-7.168 16.213-16.213s-7.339-16.213-16.213-16.213zM862.72 508.587c0 0.512-0.171 1.195-0.341 1.707s-0.171 1.024-0.341 1.365c-0.171 0.512-0.512 0.853-0.853 1.195-0.341 0.512-0.683 1.024-1.024 1.365-0.171 0.171-0.171 0.171-0.171 0.341l-342.699 283.648c-3.072 2.56-7.68 2.56-10.752 0l-342.187-283.477c-0.171-0.171-0.171-0.171-0.171-0.341-0.512-0.341-0.683-0.853-1.024-1.365-0.341-0.341-0.683-0.853-0.853-1.195-0.171-0.512-0.341-1.024-0.341-1.365-0.171-0.512-0.341-1.195-0.341-1.707 0-0.171 0-0.171 0-0.341v-66.56c0-4.608 3.755-8.363 8.363-8.363h85.504v-258.048h-85.845c-4.608 0-8.363-3.755-8.363-8.363v-55.467c0-1.365 0.341-2.56 0.853-3.584-0.512-1.024-0.853-2.219-0.853-3.584 0-4.608 3.755-8.363 8.363-8.363h678.571c4.608 0 8.363 3.755 8.363 8.363v62.635c0 4.608-3.755 8.363-8.363 8.363h-79.872v257.877h86.016c4.608 0 8.363 3.755 8.363 8.363v66.56c0 0.171 0 0.171 0 0.341zM178.005 450.048v49.835h667.989v-49.835h-667.989zM839.851 158.549v-45.909h-661.845v45.909h661.845zM482.816 175.275v258.048h62.123v-258.048h-62.123zM512 780.971l319.147-264.363h-638.293l319.147 264.363zM271.872 433.323h194.048v-258.048h-115.029v228.352c0 4.608-3.755 8.363-8.363 8.363s-8.363-3.755-8.363-8.363v-228.352h-62.123v258.048zM751.616 175.275h-189.952v258.048h110.933v-227.499c0-4.608 3.755-8.363 8.363-8.363s8.363 3.755 8.363 8.363v227.499h62.123v-258.048z" />
|
39 |
-
<glyph unicode="" glyph-name="accounting" d="M862.72 432.128c0 0.512-0.171 1.024-0.341 1.536s-0.171 0.853-0.512 1.365c-0.171 0.341-0.512 0.853-0.853 1.195s-0.683 0.853-1.024 1.195c-0.171 0.171-0.171 0.171-0.341 0.341l-30.891 23.893c-2.56 2.048-6.315 2.219-9.045 0.341l-31.061-21.163-33.792 21.163c0 0 0 0 0 0h-0.171c-0.171 0.171-0.512 0.171-0.853 0.341-0.683 0.341-1.195 0.683-2.048 0.683-0.512 0-1.024 0-1.365 0-0.512 0-1.024 0-1.536 0-0.683-0.171-1.365-0.512-1.877-0.853-0.171-0.171-0.512-0.171-0.683-0.341v0c0 0 0 0 0 0l-5.973-4.096-29.184-19.797c-3.413-2.389-4.437-7.168-2.048-10.581 1.536-2.219 3.925-3.413 6.315-3.413 1.536 0 2.901 0.512 4.267 1.365l31.232 21.163 33.963-21.333c2.56-1.707 5.803-1.536 8.363 0.171l30.549 20.821 23.552-18.261v-152.747c0-43.861-35.669-79.701-79.701-79.701-43.861 0-79.701 35.669-79.701 79.701v407.723c0 47.957-35.84 87.723-82.261 94.037-1.024 0.512-2.219 1.024-3.584 1.024h-297.813c-52.395 0-94.891-42.667-94.891-94.891v-27.819h-13.995c-18.773 0-33.963-15.189-33.963-33.963v-468.821c0-18.773 15.189-33.963 33.963-33.963h341.504c18.773 0 33.963 15.189 33.963 33.963v468.651c0 18.773-15.189 33.963-33.963 33.963h-13.995v27.819c0 42.325 33.28 76.971 75.093 79.36 41.813-2.389 75.093-37.035 75.093-79.36v-407.723c0-33.28 17.408-62.635 43.52-79.701h-114.517c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h166.059c52.395 0 94.891 42.667 94.891 94.891v156.501c-0.341 0.341-0.341 0.512-0.341 0.683zM507.563 682.837v-81.749c0-4.267 3.413-7.68 7.68-7.68s7.68 3.413 7.68 7.68v38.571h13.995c10.411 0 18.773-8.363 18.773-18.773v-468.821c0-10.24-8.363-18.773-18.773-18.773h-341.675c-10.24 0-18.773 8.363-18.773 18.773v468.992c0 10.24 8.363 18.773 18.773 18.773h13.995v-38.571c0-4.267 3.413-7.68 7.68-7.68h248.832c4.267 0 7.68 3.413 7.68 7.68s-3.413 7.68-7.68 7.68h-241.152v74.069c0 43.861 35.669 79.701 79.701 79.701h246.784c-26.283-17.237-43.52-46.421-43.52-79.872zM209.237 558.251v-85.333c0-4.267 3.413-7.68 7.68-7.68h298.155c4.267 0 7.68 3.413 7.68 7.68v85.333c0 4.267-3.413 7.68-7.68 7.68h-298.155c-4.096 0-7.68-3.413-7.68-7.68zM224.597 550.571h282.965v-70.144h-282.965v70.144zM290.304 416.597h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68s-3.413 7.68-7.68 7.68zM402.773 416.597h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68s-3.413 7.68-7.68 7.68zM515.243 416.597h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68-0.171 4.267-3.584 7.68-7.68 7.68zM290.304 334.507h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68s-3.413 7.68-7.68 7.68zM402.773 334.507h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68s-3.413 7.68-7.68 7.68zM515.243 334.507h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68s-3.584 7.68-7.68 7.68zM290.304 252.245h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68s-3.413 7.68-7.68 7.68zM402.773 252.245h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68s-3.413 7.68-7.68 7.68zM515.243 252.245h-73.387c-4.267 0-7.68-3.413-7.68-7.68s3.413-7.68 7.68-7.68h73.387c4.267 0 7.68 3.413 7.68 7.68-0.171 4.267-3.584 7.68-7.68 7.68z" />
|
40 |
-
<glyph unicode="" glyph-name="bank-check" d="M862.72 645.803c-0.171 1.877-1.195 3.755-2.731 4.949l-96.768 75.776c-3.243 2.56-7.851 1.877-10.411-1.195l-274.091-349.184c-0.853-1.024-1.365-2.389-1.536-3.584l-14.677-118.955c-0.341-2.56 0.683-5.12 2.731-6.656 1.365-1.024 2.901-1.536 4.608-1.536 0.853 0 1.707 0.171 2.731 0.512l111.445 43.008c1.195 0.512 2.389 1.195 3.072 2.389l153.259 195.243v-303.957h-564.395l0.512 337.408 347.989-1.536c0 0 0 0 0 0 4.096 0 7.339 3.243 7.339 7.339s-3.243 7.339-7.339 7.339l-355.328 1.536c-2.219-0.341-3.755-0.683-5.291-2.219-1.365-1.365-2.219-3.243-2.219-5.291l-0.512-351.915c0-3.584 2.56-6.315 5.973-6.997 0.853-0.341 1.877-0.683 2.901-0.683h577.707c4.096 0 7.339 3.243 7.339 7.339v330.24l106.155 135.168c1.195 1.536 1.707 3.584 1.536 5.461zM587.776 315.904l-56.491 44.203c-3.243 2.56-7.851 1.877-10.411-1.195-2.56-3.243-1.877-7.851 1.195-10.411l56.491-44.203-1.877-2.389-98.133-37.888 12.971 104.619 222.208 283.136 61.099-47.957c1.365-1.024 2.901-1.536 4.608-1.536 2.219 0 4.267 1.024 5.803 2.901 2.56 3.243 1.877 7.851-1.195 10.411l-61.099 47.787 37.035 47.104 85.163-66.731-257.365-327.851zM466.261 443.051c0 4.096-3.243 7.339-7.339 7.339h-206.507c-4.096 0-7.339-3.243-7.339-7.339s3.243-7.339 7.339-7.339h206.507c3.925 0 7.339 3.243 7.339 7.339zM395.605 351.403c0 4.096-3.243 7.339-7.339 7.339h-136.021c-4.096 0-7.339-3.243-7.339-7.339s3.243-7.339 7.339-7.339h136.021c4.096 0 7.339 3.243 7.339 7.339zM252.245 267.264c-4.096 0-7.339-3.243-7.339-7.339s3.243-7.339 7.339-7.339h81.92c4.096 0 7.339 3.243 7.339 7.339s-3.243 7.339-7.339 7.339h-81.92z" />
|
41 |
-
<glyph unicode="" glyph-name="cash" d="M387.072 268.629c1.024-0.853 2.389-1.195 3.755-1.195 0.853 0 1.707 0.171 2.56 0.512l138.752 59.733c3.243 1.365 4.779 5.291 3.413 8.533s-5.291 4.779-8.533 3.413l-135.339-58.368-218.795 151.552c-2.901 2.048-6.997 1.365-9.045-1.707-2.048-2.901-1.365-6.997 1.707-9.045l221.525-153.429zM852.48 474.453l-131.584-55.125c-3.243-1.365-4.949-5.12-3.413-8.533 1.024-2.56 3.413-3.925 5.973-3.925 0.853 0 1.707 0.171 2.56 0.512l131.584 55.125c3.243 1.365 4.949 5.12 3.413 8.533-1.365 3.243-5.291 4.779-8.533 3.413zM851.285 425.643l-153.771-64.341 2.219 83.285 0.683 0.341c0.341 0.171 0.512 0.171 0.853 0.341l157.696 66.048c2.219 0.853 3.755 2.901 3.925 5.291s-0.853 4.608-2.731 5.973l-221.696 153.6c-1.877 1.195-4.096 1.536-6.144 0.683l-464.213-194.389c-0.171 0-0.341-0.171-0.512-0.341-0.341-0.171-0.683-0.512-1.024-0.683-0.341-0.341-0.683-0.512-1.024-0.853-0.171-0.171-0.341-0.171-0.341-0.341-0.171-0.171-0.171-0.341-0.341-0.683s-0.341-0.853-0.512-1.195c-0.171-0.341-0.171-0.853-0.171-1.195s0-0.853 0-1.195c0-0.512 0.171-0.853 0.341-1.365 0-0.171 0-0.512 0.171-0.683 0-0.171 0.171-0.341 0.341-0.512 0.171-0.341 0.512-0.683 0.683-1.024 0.341-0.341 0.512-0.683 0.853-1.024 0.171-0.171 0.171-0.341 0.341-0.341l221.696-153.6c0 0 0 0 0 0 0.341-0.341 0.853-0.512 1.195-0.683 0.171 0 0.341-0.171 0.512-0.171 0.512-0.171 1.024-0.171 1.365-0.171 0.171 0 0.341 0 0.341 0v0c0 0 0 0 0 0 0.853 0 1.707 0.171 2.56 0.512l158.379 66.389-2.219-83.285-160.427-67.243-218.795 151.723c-2.901 2.048-6.997 1.365-9.045-1.707-2.048-2.901-1.365-6.997 1.707-9.045l221.696-153.6c1.195-0.853 2.389-1.195 3.755-1.195 0.853 0 1.707 0.171 2.56 0.512l464.213 194.389c3.243 1.365 4.949 5.12 3.413 8.533-1.536 3.072-5.291 4.608-8.533 3.243zM633.685 663.381l209.067-144.896-144.213-60.416-209.067 144.896 144.213 60.416zM392.704 330.069l-209.067 144.896 155.819 65.195 209.067-144.896-155.819-65.195zM566.101 395.264c0 0.171-0.171 0.341-0.171 0.683 0 0.512-0.171 0.853-0.171 1.365-0.171 0.341-0.171 0.853-0.512 1.195-0.171 0.341-0.341 0.683-0.683 1.024s-0.512 0.683-0.853 1.024c-0.171 0.171-0.341 0.341-0.512 0.512l-209.749 145.408 121.515 50.859 211.456-146.603-2.389-94.891-120.32-50.347 2.389 89.771zM391.168 437.76c-1.877 4.779-7.339 7.168-12.117 5.291s-7.168-7.339-5.291-12.117c1.877-4.779 7.339-7.168 12.117-5.291s7.168 7.339 5.291 12.117zM674.133 551.083c4.779 1.877 7.168 7.339 5.291 12.117s-7.339 7.168-12.117 5.291c-4.779-1.877-7.168-7.339-5.291-12.117 1.877-4.949 7.339-7.168 12.117-5.291z" />
|
42 |
-
<glyph unicode="" glyph-name="credit-card" d="M813.909 620.544h-645.12c-4.096 0-7.509-3.413-7.509-7.509v-376.832c0-4.096 3.413-7.509 7.509-7.509h645.12c4.096 0 7.509 3.413 7.509 7.509v376.832c0 4.096-3.243 7.509-7.509 7.509zM806.4 243.712h-630.101v361.813h630.101v-361.813zM717.141 378.197c-10.24 0-19.627-3.243-27.477-8.533-8.021 5.461-17.408 8.533-27.307 8.533-26.795 0-48.811-21.845-48.811-48.811s21.845-48.811 48.811-48.811c9.899 0 19.285 3.072 27.307 8.533 7.851-5.461 17.237-8.533 27.477-8.533 26.795 0 48.811 21.845 48.811 48.811s-22.016 48.811-48.811 48.811zM628.736 329.557c0 18.603 15.019 33.621 33.621 33.621 5.803 0 11.264-1.536 16.213-4.267-6.315-8.192-10.069-18.261-10.069-29.355s3.925-21.163 10.069-29.355c-4.949-2.731-10.411-4.267-16.213-4.267-18.603 0-33.621 15.019-33.621 33.621zM717.141 295.936c-18.603 0-33.621 15.019-33.621 33.621s15.019 33.621 33.621 33.621c18.603 0 33.621-15.019 33.621-33.621s-15.019-33.621-33.621-33.621zM224.427 472.064h117.589c4.096 0 7.509 3.413 7.509 7.509v80.555c0 4.096-3.413 7.509-7.509 7.509h-117.589c-4.096 0-7.509-3.413-7.509-7.509v-80.555c0-4.096 3.243-7.509 7.509-7.509zM231.936 552.619h102.571v-65.365h-102.571v65.365zM224.427 417.109h533.845c4.096 0 7.509 3.413 7.509 7.509s-3.413 7.509-7.509 7.509h-533.845c-4.096 0-7.509-3.413-7.509-7.509s3.243-7.509 7.509-7.509zM855.211 667.307h-628.736c-4.096 0-7.509-3.413-7.509-7.509s3.413-7.509 7.509-7.509h621.227v-359.765c0-4.096 3.413-7.509 7.509-7.509s7.509 3.413 7.509 7.509v367.275c0 4.096-3.413 7.509-7.509 7.509z" />
|
43 |
-
<glyph unicode="" glyph-name="check-circle" d="M483.499 298.667c-7.509 0-14.848 3.072-20.139 8.363l-99.499 99.669c-11.093 11.093-11.093 29.184 0 40.277s29.184 11.093 40.277 0l77.141-77.141 179.2 224.085c9.728 12.288 27.648 14.336 39.936 4.437 12.288-9.728 14.336-27.648 4.437-39.936l-199.168-249.173c-5.12-6.315-12.629-10.24-20.651-10.581-0.512 0-1.024 0-1.536 0zM512 35.499c-227.499 0-412.501 185.003-412.501 412.501s185.003 412.501 412.501 412.501 412.501-185.003 412.501-412.501-185.003-412.501-412.501-412.501zM512 803.499c-196.096 0-355.499-159.403-355.499-355.499s159.403-355.499 355.499-355.499 355.499 159.573 355.499 355.499-159.403 355.499-355.499 355.499z" />
|
44 |
-
<glyph unicode="" glyph-name="info-squared" d="M853.333 35.499h-682.667c-39.253 0-71.168 31.915-71.168 71.168v682.667c0 39.253 31.915 71.168 71.168 71.168h682.667c39.253 0 71.168-31.915 71.168-71.168v-682.667c0-39.253-31.915-71.168-71.168-71.168zM170.667 803.499c-7.851 0-14.165-6.315-14.165-14.165v-682.667c0-7.851 6.315-14.165 14.165-14.165h682.667c7.851 0 14.165 6.315 14.165 14.165v682.667c0 7.851-6.315 14.165-14.165 14.165h-682.667zM504.832 561.835c-19.627 0-35.499 15.872-35.499 35.499s15.872 35.499 35.499 35.499 35.499-15.872 35.499-35.499-15.872-35.499-35.499-35.499zM568.832 291.499h-28.501v199.168c0 15.701-12.8 28.501-28.501 28.501h-28.501c-15.701 0-28.501-12.8-28.501-28.501s12.8-28.501 28.501-28.501v-170.667h-28.501c-15.701 0-28.501-12.8-28.501-28.501s12.8-28.501 28.501-28.501h113.835c15.701 0 28.501 12.8 28.501 28.501s-12.629 28.501-28.331 28.501z" />
|
45 |
-
<glyph unicode="" glyph-name="warning-triangle" d="M504.832 789.333l384-682.667h-768l384 682.667zM504.832 846.165v0c-20.48 0-39.424-11.093-49.664-29.013l-384-682.667c-9.899-17.579-9.728-39.083 0.512-56.661 10.24-17.408 28.843-28.16 49.152-28.16h768c20.139 0 38.912 10.752 49.152 28.16s10.411 39.083 0.512 56.661l-384 682.667c-10.069 17.92-29.013 29.013-49.664 29.013v0zM504.832 276.48c23.552 0 42.667-19.115 42.667-42.667s-19.115-42.667-42.667-42.667-42.667 19.115-42.667 42.667 19.115 42.667 42.667 42.667zM497.835 334.165c-15.701 0-28.501 12.8-28.501 28.501v227.499c0 15.701 12.8 28.501 28.501 28.501s28.501-12.8 28.501-28.501v-227.499c-0.171-15.701-12.8-28.501-28.501-28.501z" />
|
46 |
-
<glyph unicode="" glyph-name="yith" horiz-adv-x="1025" d="M912.045 578.581c-47.452-32.802-108.205-67.153-182.659-103.005 37.852 125.106 58.903 241.862 63.103 350.217 3.15 87.254-35.802 131.956-116.756 134.057-97.805 3.15-161.958-51.503-192.459-164.058 17.101 7.35 34.702 11.051 52.903 11.051 14.901 0 27.201-6.050 36.802-18.151s13.851-26.051 12.801-41.802c-1-41.002-21.951-84.954-62.753-131.706-40.802-46.852-77.104-70.203-108.905-70.203-22.251 0-32.852 18.901-31.802 56.753 1.050 20.001 7.9 60.503 20.501 121.506 11.551 57.803 17.351 96.705 17.351 116.706 0 34.702-8.95 62.853-26.801 84.404-17.901 21.551-43.652 30.752-77.304 27.601-23.151-2.1-57.303-23.151-102.555-63.053-33.702-30.651-67.353-61.103-101.005-91.604l36.302-42.602c29.401 22.101 47.302 33.152 53.603 33.152 20.001 0 29.451-13.701 28.451-41.002 0-2.15-9.5-35.252-28.401-99.405s-28.901-112.005-30.001-143.557c-2.1-43.152 5.8-76.254 23.751-99.355 22.151-28.401 59.103-40.502 110.905-36.302 61.203 4.2 122.456 26.851 183.709 67.803 25.351 16.851 49.602 36.302 72.854 58.403-8.4-42.102-18.401-77.854-30.001-107.305-113.556-51.503-195.56-95.655-246.062-132.506-71.553-51.503-109.905-106.705-115.156-165.608-9.5-102.005 42.052-153.007 154.608-153.007 75.704 0 148.807 46.252 219.261 138.807 59.953 78.854 112.005 184.059 156.158 315.465 76.454 37.952 141.057 75.104 193.959 111.505-1.7-12.251 19.551 92.805 15.601 76.804zM369.668 155.211c-16.851 0-24.751 7.4-23.701 22.101 2.1 27.351 49.452 63.653 142.007 108.855-48.402-87.254-87.854-130.956-118.306-130.956z" />
|
47 |
-
</font></defs></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/assets/fonts/yith-icon.ttf
CHANGED
Binary file
|
plugin-fw/assets/fonts/yith-icon.woff
DELETED
Binary file
|
plugin-fw/assets/fonts/yith-icon.woff2
CHANGED
Binary file
|
plugin-fw/assets/js/how-to.min.js
CHANGED
File without changes
|
plugin-fw/assets/js/jquery.colorbox.min.js
CHANGED
File without changes
|
plugin-fw/assets/js/metabox.js
CHANGED
@@ -9,39 +9,46 @@
|
|
9 |
( function ( $ ) {
|
10 |
|
11 |
$( '.metaboxes-tab' ).each( function () {
|
12 |
-
$(
|
|
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
} else {
|
18 |
-
|
19 |
}
|
20 |
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
$( this ).closest( '.metaboxes-tab' ).find( '.tabs-panel' ).hide();
|
32 |
-
$( t ).show();
|
33 |
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
} );
|
36 |
} );
|
37 |
|
38 |
-
|
39 |
-
$( '#_active_page_options-container' )
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
43 |
|
44 |
-
|
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 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
|
70 |
|
71 |
dependencies_handler( field, dep, value.toString(), type );
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
|
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"
|
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/yith-enhanced-select-wc-2.6.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-enhanced-select.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-enhanced-select.min.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-fields.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-fields.min.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-gutenberg.js
DELETED
@@ -1,212 +0,0 @@
|
|
1 |
-
(function ($) {
|
2 |
-
// Get registerBlockType() from wp.blocks in the global scope
|
3 |
-
var __ = wp.i18n.__,
|
4 |
-
el = wp.element.createElement,
|
5 |
-
Fragment = wp.element.Fragment,
|
6 |
-
PanelBody = wp.components.PanelBody,
|
7 |
-
registerBlockType = wp.blocks.registerBlockType,
|
8 |
-
RichText = wp.editor.RichText,
|
9 |
-
BlockControls = wp.editor.BlockControls,
|
10 |
-
InspectorControls = wp.editor.InspectorControls,
|
11 |
-
AlignmentToolbar = wp.editor.AlignmentToolbar,
|
12 |
-
Components = wp.components,
|
13 |
-
RawHTML = wp.element.RawHTML,
|
14 |
-
SelectControl = wp.components.SelectControl,
|
15 |
-
ToggleControl = wp.components.ToggleControl,
|
16 |
-
CheckboxControl = wp.components.CheckboxControl,
|
17 |
-
RangeControl = wp.components.RangeControl,
|
18 |
-
ColorPicker = wp.components.ColorPicker,
|
19 |
-
RadioControl = wp.components.RadioControl,
|
20 |
-
TextControl = wp.components.TextControl,
|
21 |
-
TextareaControl = wp.components.TextareaControl;
|
22 |
-
|
23 |
-
const yith_icon = el('svg', {width: 22, height: 22},
|
24 |
-
el('path', {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"})
|
25 |
-
);
|
26 |
-
|
27 |
-
function create_shortcode(sc_args, props, callback) {
|
28 |
-
var gt_block = '',
|
29 |
-
gutenberg_preview = '';
|
30 |
-
|
31 |
-
if (typeof props.callback != 'undefined' && typeof $[props.callback] == 'function') {
|
32 |
-
gt_block = $[props.callback](sc_args, props);
|
33 |
-
}
|
34 |
-
|
35 |
-
else {
|
36 |
-
var sc_name = props.shortcode_name,
|
37 |
-
sc = '[' + sc_name,
|
38 |
-
do_shortcode = null;
|
39 |
-
|
40 |
-
|
41 |
-
$.each(sc_args.attributes, function ($v, $k) {
|
42 |
-
if ( typeof props.attributes != 'undefined' && typeof props.attributes[$v] != 'undefined' ) {
|
43 |
-
sc += ' ' + $v + '=';
|
44 |
-
var arg = props.attributes[$v],
|
45 |
-
remove_quotes = arg.remove_quotes;
|
46 |
-
|
47 |
-
if( remove_quotes == true ){
|
48 |
-
sc += $k;
|
49 |
-
}
|
50 |
-
|
51 |
-
else {
|
52 |
-
sc += '"' + $k + '"';
|
53 |
-
}
|
54 |
-
}
|
55 |
-
});
|
56 |
-
|
57 |
-
sc += ']';
|
58 |
-
|
59 |
-
var block_id = md5(sc);
|
60 |
-
|
61 |
-
gutenberg_preview = '<span class="yith_block_' + block_id + '">' + sc + '</span>';
|
62 |
-
|
63 |
-
if (callback == 'edit' && props.do_shortcode != false) {
|
64 |
-
do_shortcode = (function (block_id) {
|
65 |
-
var ajax_call_date = null;
|
66 |
-
$(document).trigger( 'yith_plugin_fw_gutenberg_before_do_shortcode', [sc, block_id] );
|
67 |
-
$.ajax({
|
68 |
-
async: true,
|
69 |
-
url: yith_gutenberg_ajax.ajaxurl,
|
70 |
-
method: 'post',
|
71 |
-
data: {action: 'yith_plugin_fw_gutenberg_do_shortcode', shortcode: sc},
|
72 |
-
success: function (data) {
|
73 |
-
ajax_call_date = data;
|
74 |
-
if (ajax_call_date != '') {
|
75 |
-
$('.yith_block_' + block_id).html(ajax_call_date);
|
76 |
-
$(document).trigger( 'yith_plugin_fw_gutenberg_success_do_shortcode', [sc, block_id, ajax_call_date] );
|
77 |
-
}
|
78 |
-
}
|
79 |
-
});
|
80 |
-
$(document).trigger( 'yith_plugin_fw_gutenberg_after_do_shortcode', [sc, block_id, ajax_call_date] );
|
81 |
-
return ajax_call_date;
|
82 |
-
})(block_id);
|
83 |
-
}
|
84 |
-
|
85 |
-
gt_block = el(RawHTML, null, gutenberg_preview);
|
86 |
-
}
|
87 |
-
|
88 |
-
return gt_block;
|
89 |
-
}
|
90 |
-
|
91 |
-
function onChangeEvent(new_value, attribute_name, args, block_type) {
|
92 |
-
var attributes = {};
|
93 |
-
|
94 |
-
if (block_type == 'colorpicker' || block_type == 'color') {
|
95 |
-
new_value = new_value.hex;
|
96 |
-
}
|
97 |
-
|
98 |
-
attributes[attribute_name] = new_value;
|
99 |
-
args.setAttributes(attributes);
|
100 |
-
return args;
|
101 |
-
}
|
102 |
-
|
103 |
-
$.each(yith_gutenberg, function ($block, $props) {
|
104 |
-
registerBlockType("yith/" + $block, {
|
105 |
-
title: $props.title,
|
106 |
-
description: $props.description,
|
107 |
-
category: $props.category,
|
108 |
-
attributes: $props.attributes,
|
109 |
-
icon: typeof $props.icon != 'undefined' ? $props.icon : yith_icon,
|
110 |
-
keywords: $props.keywords,
|
111 |
-
edit: function edit(args) {
|
112 |
-
var elements = new Array();
|
113 |
-
|
114 |
-
$.each($props.attributes, function ($attribute_name, $attribute_args) {
|
115 |
-
var ComponentControl = null,
|
116 |
-
block_type = $attribute_args.blocktype,
|
117 |
-
name = $attribute_name;
|
118 |
-
if (typeof block_type != 'undefined') {
|
119 |
-
switch (block_type) {
|
120 |
-
case 'select':
|
121 |
-
ComponentControl = SelectControl;
|
122 |
-
break;
|
123 |
-
|
124 |
-
case 'text':
|
125 |
-
ComponentControl = TextControl;
|
126 |
-
break;
|
127 |
-
|
128 |
-
case 'textarea':
|
129 |
-
ComponentControl = TextareaControl;
|
130 |
-
break;
|
131 |
-
|
132 |
-
case 'toggle':
|
133 |
-
ComponentControl = ToggleControl;
|
134 |
-
break;
|
135 |
-
|
136 |
-
case 'checkbox':
|
137 |
-
ComponentControl = CheckboxControl;
|
138 |
-
break;
|
139 |
-
|
140 |
-
case 'number':
|
141 |
-
case 'range':
|
142 |
-
ComponentControl = RangeControl;
|
143 |
-
break;
|
144 |
-
|
145 |
-
case 'color':
|
146 |
-
case 'colorpicker':
|
147 |
-
ComponentControl = ColorPicker;
|
148 |
-
break;
|
149 |
-
|
150 |
-
case 'radio':
|
151 |
-
ComponentControl = RadioControl;
|
152 |
-
break;
|
153 |
-
}
|
154 |
-
|
155 |
-
if (ComponentControl != null) {
|
156 |
-
var helpMessageChecked = helpMessageUncheked = '';
|
157 |
-
if (typeof $attribute_args.helps != 'undefined' && typeof $attribute_args.helps.checked != 'undefined' && typeof $attribute_args.helps.unchecked != 'undefined') {
|
158 |
-
helpMessageChecked = $attribute_args.helps.checked;
|
159 |
-
helpMessageUncheked = $attribute_args.helps.unchecked;
|
160 |
-
}
|
161 |
-
|
162 |
-
else if (typeof $attribute_args.help != 'undefined') {
|
163 |
-
helpMessageChecked = helpMessageUncheked = $attribute_args.help;
|
164 |
-
}
|
165 |
-
|
166 |
-
elements.push(
|
167 |
-
el(
|
168 |
-
ComponentControl,
|
169 |
-
{
|
170 |
-
value: args.attributes[$attribute_name],
|
171 |
-
options: $attribute_args.options,
|
172 |
-
label: $attribute_args.label,
|
173 |
-
checked: args.attributes[$attribute_name],
|
174 |
-
selected: args.attributes[$attribute_name],
|
175 |
-
help: args.attributes[$attribute_name] ? helpMessageChecked : helpMessageUncheked,
|
176 |
-
disableAlpha: $attribute_args.disableAlpha,
|
177 |
-
min: $attribute_args.min,
|
178 |
-
max: $attribute_args.max,
|
179 |
-
multiple: $attribute_args.multiple,
|
180 |
-
onChange: function (new_value) {
|
181 |
-
args = onChangeEvent(new_value, name, args, block_type);
|
182 |
-
},
|
183 |
-
onChangeComplete: function (new_value) {
|
184 |
-
args = onChangeEvent(new_value, name, args, block_type);
|
185 |
-
},
|
186 |
-
},
|
187 |
-
)
|
188 |
-
);
|
189 |
-
}
|
190 |
-
}
|
191 |
-
});
|
192 |
-
|
193 |
-
sc = create_shortcode(args, $props, 'edit');
|
194 |
-
|
195 |
-
return [
|
196 |
-
el(
|
197 |
-
Fragment,
|
198 |
-
null,
|
199 |
-
el(
|
200 |
-
InspectorControls,
|
201 |
-
null,
|
202 |
-
elements,
|
203 |
-
),
|
204 |
-
sc,
|
205 |
-
)];
|
206 |
-
},
|
207 |
-
save: function save(args) {
|
208 |
-
return create_shortcode(args, $props, 'save');
|
209 |
-
}
|
210 |
-
});
|
211 |
-
});
|
212 |
-
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/assets/js/yith-gutenberg.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
!function(e){wp.i18n.__;var t=wp.element.createElement,o=wp.element.Fragment,n=(wp.components.PanelBody,wp.blocks.registerBlockType),c=(wp.editor.RichText,wp.editor.BlockControls,wp.editor.InspectorControls),r=(wp.editor.AlignmentToolbar,wp.components,wp.element.RawHTML),a=wp.components.SelectControl,i=wp.components.ToggleControl,s=wp.components.CheckboxControl,l=wp.components.RangeControl,p=wp.components.ColorPicker,u=wp.components.RadioControl,d=wp.components.TextControl,h=wp.components.TextareaControl;const C=t("svg",{width:22,height:22},t("path",{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"}));function b(o,n,c){var a="",i="";if("undefined"!=typeof n.callback&&"function"==typeof e[n.callback])a=e[n.callback](o,n);else{var s="["+n.shortcode_name;e.each(o.attributes,function(e,t){if("undefined"!=typeof n.attributes&&"undefined"!=typeof n.attributes[e]){s+=" "+e+"=";var o=n.attributes[e].remove_quotes;s+=1==o?t:'"'+t+'"'}}),s+="]";var l=md5(s);i='<span class="yith_block_'+l+'">'+s+"</span>","edit"==c&&0!=n.do_shortcode&&function(t){var o=null;return e(document).trigger("yith_plugin_fw_gutenberg_before_do_shortcode",[s,t]),e.ajax({async:!0,url:yith_gutenberg_ajax.ajaxurl,method:"post",data:{action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:s},success:function(n){""!=(o=n)&&(e(".yith_block_"+t).html(o),e(document).trigger("yith_plugin_fw_gutenberg_success_do_shortcode",[s,t,o]))}}),e(document).trigger("yith_plugin_fw_gutenberg_after_do_shortcode",[s,t,o]),o}(l),a=t(r,null,i)}return a}function g(e,t,o,n){var c={};return"colorpicker"!=n&&"color"!=n||(e=e.hex),c[t]=e,o.setAttributes(c),o}e.each(yith_gutenberg,function(r,f){n("yith/"+r,{title:f.title,description:f.description,category:f.category,attributes:f.attributes,icon:"undefined"!=typeof f.icon?f.icon:C,keywords:f.keywords,edit:function(n){var r=new Array;return e.each(f.attributes,function(e,o){var c=null,C=o.blocktype,b=e;if(void 0!==C){switch(C){case"select":c=a;break;case"text":c=d;break;case"textarea":c=h;break;case"toggle":c=i;break;case"checkbox":c=s;break;case"number":case"range":c=l;break;case"color":case"colorpicker":c=p;break;case"radio":c=u}if(null!=c){var f=helpMessageUncheked="";"undefined"!=typeof o.helps&&"undefined"!=typeof o.helps.checked&&"undefined"!=typeof o.helps.unchecked?(f=o.helps.checked,helpMessageUncheked=o.helps.unchecked):"undefined"!=typeof o.help&&(f=helpMessageUncheked=o.help),r.push(t(c,{value:n.attributes[e],options:o.options,label:o.label,checked:n.attributes[e],selected:n.attributes[e],help:n.attributes[e]?f:helpMessageUncheked,disableAlpha:o.disableAlpha,min:o.min,max:o.max,multiple:o.multiple,onChange:function(e){n=g(e,b,n,C)},onChangeComplete:function(e){n=g(e,b,n,C)}}))}}}),sc=b(n,f,"edit"),[t(o,null,t(c,null,r),sc)]},save:function(e){return b(e,f,"save")}})})}(jQuery);
|
|
plugin-fw/assets/js/yith-promo.js
CHANGED
File without changes
|
plugin-fw/assets/js/yith-promo.min.js
CHANGED
File without changes
|
plugin-fw/bin/clean-language-files.js
DELETED
@@ -1,36 +0,0 @@
|
|
1 |
-
/* jshint ignore: start */
|
2 |
-
|
3 |
-
/**
|
4 |
-
*
|
5 |
-
*
|
6 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
7 |
-
*/
|
8 |
-
|
9 |
-
const fs = require( 'fs' );
|
10 |
-
const glob = require( 'glob' );
|
11 |
-
const chalk = require( 'chalk' );
|
12 |
-
|
13 |
-
const DELETED = chalk.reset.inverse.bold.green( ' DELETED ' );
|
14 |
-
const ERROR = chalk.reset.inverse.bold.red( ' ERROR ' );
|
15 |
-
|
16 |
-
console.log( chalk.green( '\nCleaning language files...' ) );
|
17 |
-
glob( "languages/*.po~", function ( er, files ) {
|
18 |
-
|
19 |
-
if ( files.length ) {
|
20 |
-
console.log( `Processing ${files.length} files:` );
|
21 |
-
|
22 |
-
files.forEach( ( file ) => {
|
23 |
-
fs.unlink( file, ( err ) => {
|
24 |
-
if ( err ) {
|
25 |
-
console.log( chalk.bold( ` - ${file} ` ) + ERROR );
|
26 |
-
console.error( err );
|
27 |
-
return;
|
28 |
-
}
|
29 |
-
console.log( chalk.bold( ` - ${file} ` ) + DELETED );
|
30 |
-
} );
|
31 |
-
} );
|
32 |
-
} else {
|
33 |
-
console.log( `No file to clean.\n` );
|
34 |
-
}
|
35 |
-
|
36 |
-
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/bin/download-translations-config.json
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"projectPath": "https://translate.yithemes.com/gp/projects/yith-framework/",
|
3 |
-
"textDomain": "yith-plugin-fw",
|
4 |
-
"destFolder": "languages/",
|
5 |
-
"languages": [
|
6 |
-
{
|
7 |
-
"id": "es",
|
8 |
-
"name": "Spanish",
|
9 |
-
"slug": "es_ES"
|
10 |
-
},
|
11 |
-
{
|
12 |
-
"id": "it",
|
13 |
-
"name": "Italian",
|
14 |
-
"slug": "it_IT"
|
15 |
-
},
|
16 |
-
{
|
17 |
-
"id": "nl",
|
18 |
-
"name": "Dutch",
|
19 |
-
"slug": "nl_NL"
|
20 |
-
},
|
21 |
-
{
|
22 |
-
"id": "el",
|
23 |
-
"name": "Greek",
|
24 |
-
"slug": "el"
|
25 |
-
}
|
26 |
-
]
|
27 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/bin/download-translations.js
DELETED
@@ -1,57 +0,0 @@
|
|
1 |
-
/* jshint ignore: start */
|
2 |
-
|
3 |
-
/**
|
4 |
-
* This script download translations from https://translate.yithemes.com/
|
5 |
-
*
|
6 |
-
* @version 1.1.0
|
7 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
8 |
-
*/
|
9 |
-
|
10 |
-
const fs = require( 'fs' );
|
11 |
-
const path = require( 'path' );
|
12 |
-
const axios = require( 'axios' );
|
13 |
-
const chalk = require( 'chalk' );
|
14 |
-
const options = require( './download-translations-config' );
|
15 |
-
|
16 |
-
const SPACE = '\t';
|
17 |
-
const DONE = chalk.reset.inverse.bold.green( ' DONE ' );
|
18 |
-
const ERROR = chalk.reset.inverse.bold.red( ' ERROR ' );
|
19 |
-
|
20 |
-
async function download( url, dest ) {
|
21 |
-
const destPath = path.resolve( dest );
|
22 |
-
const writer = fs.createWriteStream( destPath );
|
23 |
-
|
24 |
-
const response = await axios( {
|
25 |
-
url,
|
26 |
-
method : 'GET',
|
27 |
-
responseType: 'stream'
|
28 |
-
} );
|
29 |
-
|
30 |
-
response.data.pipe( writer );
|
31 |
-
|
32 |
-
return new Promise( ( resolve, reject ) => {
|
33 |
-
writer.on( 'finish', resolve );
|
34 |
-
writer.on( 'error', reject );
|
35 |
-
} )
|
36 |
-
}
|
37 |
-
|
38 |
-
const downloadLanguage = function ( language ) {
|
39 |
-
const languageName = language.name || language.id;
|
40 |
-
const source = options.projectPath + language.id + "/default/export-translations/";
|
41 |
-
const fileName = options.textDomain + '-' + language.slug + '.po';
|
42 |
-
const dest = options.destFolder + fileName;
|
43 |
-
const message = ' - ' + chalk.bold( languageName ) + SPACE;
|
44 |
-
|
45 |
-
download( source, dest ).then( () => {
|
46 |
-
console.log( message + DONE );
|
47 |
-
} ).catch( ( err ) => {
|
48 |
-
console.log( message + ERROR );
|
49 |
-
throw err;
|
50 |
-
} );
|
51 |
-
};
|
52 |
-
|
53 |
-
console.log( chalk.green( '\nDownloading Transations from translate.yithemes.com...' ) );
|
54 |
-
|
55 |
-
options.languages.forEach( ( language ) => {
|
56 |
-
downloadLanguage( language );
|
57 |
-
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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' => '
|
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' => 'ef3cdcc6d1490e83026aab4f8e255fab');
|
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){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()}]);
|
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,c,i=t[0],l=t[1],s=t[2],f=0,p=[];f<i.length;f++)c=i[f],Object.prototype.hasOwnProperty.call(o,c)&&o[c]&&p.push(o[c][0]),o[c]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(u&&u(t);p.length;)p.shift()();return a.push.apply(a,s||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],r=!0,i=1;i<n.length;i++){var l=n[i];0!==o[l]&&(r=!1)}r&&(a.splice(t--,1),e=c(c.s=n[0]))}return e}var r={},o={0:0},a=[];function c(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,c),n.l=!0,n.exports}c.m=e,c.c=r,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(n,r,function(t){return e[t]}.bind(null,r));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="";var i=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],l=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var u=l;a.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),a=n(19),c=n(21);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||c()}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.lodash},function(e,t,n){var r,o,a,c,i;r=n(22),o=n(10).utf8,a=n(23),c=n(10).bin,(i=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?c.stringToBytes(e):o.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,s=1732584193,u=-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[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var d=i._ff,b=i._gg,y=i._hh,g=i._ii;for(h=0;h<n.length;h+=16){var m=s,v=u,_=f,j=p;s=d(s,u,f,p,n[h+0],7,-680876936),p=d(p,s,u,f,n[h+1],12,-389564586),f=d(f,p,s,u,n[h+2],17,606105819),u=d(u,f,p,s,n[h+3],22,-1044525330),s=d(s,u,f,p,n[h+4],7,-176418897),p=d(p,s,u,f,n[h+5],12,1200080426),f=d(f,p,s,u,n[h+6],17,-1473231341),u=d(u,f,p,s,n[h+7],22,-45705983),s=d(s,u,f,p,n[h+8],7,1770035416),p=d(p,s,u,f,n[h+9],12,-1958414417),f=d(f,p,s,u,n[h+10],17,-42063),u=d(u,f,p,s,n[h+11],22,-1990404162),s=d(s,u,f,p,n[h+12],7,1804603682),p=d(p,s,u,f,n[h+13],12,-40341101),f=d(f,p,s,u,n[h+14],17,-1502002290),s=b(s,u=d(u,f,p,s,n[h+15],22,1236535329),f,p,n[h+1],5,-165796510),p=b(p,s,u,f,n[h+6],9,-1069501632),f=b(f,p,s,u,n[h+11],14,643717713),u=b(u,f,p,s,n[h+0],20,-373897302),s=b(s,u,f,p,n[h+5],5,-701558691),p=b(p,s,u,f,n[h+10],9,38016083),f=b(f,p,s,u,n[h+15],14,-660478335),u=b(u,f,p,s,n[h+4],20,-405537848),s=b(s,u,f,p,n[h+9],5,568446438),p=b(p,s,u,f,n[h+14],9,-1019803690),f=b(f,p,s,u,n[h+3],14,-187363961),u=b(u,f,p,s,n[h+8],20,1163531501),s=b(s,u,f,p,n[h+13],5,-1444681467),p=b(p,s,u,f,n[h+2],9,-51403784),f=b(f,p,s,u,n[h+7],14,1735328473),s=y(s,u=b(u,f,p,s,n[h+12],20,-1926607734),f,p,n[h+5],4,-378558),p=y(p,s,u,f,n[h+8],11,-2022574463),f=y(f,p,s,u,n[h+11],16,1839030562),u=y(u,f,p,s,n[h+14],23,-35309556),s=y(s,u,f,p,n[h+1],4,-1530992060),p=y(p,s,u,f,n[h+4],11,1272893353),f=y(f,p,s,u,n[h+7],16,-155497632),u=y(u,f,p,s,n[h+10],23,-1094730640),s=y(s,u,f,p,n[h+13],4,681279174),p=y(p,s,u,f,n[h+0],11,-358537222),f=y(f,p,s,u,n[h+3],16,-722521979),u=y(u,f,p,s,n[h+6],23,76029189),s=y(s,u,f,p,n[h+9],4,-640364487),p=y(p,s,u,f,n[h+12],11,-421815835),f=y(f,p,s,u,n[h+15],16,530742520),s=g(s,u=y(u,f,p,s,n[h+2],23,-995338651),f,p,n[h+0],6,-198630844),p=g(p,s,u,f,n[h+7],10,1126891415),f=g(f,p,s,u,n[h+14],15,-1416354905),u=g(u,f,p,s,n[h+5],21,-57434055),s=g(s,u,f,p,n[h+12],6,1700485571),p=g(p,s,u,f,n[h+3],10,-1894986606),f=g(f,p,s,u,n[h+10],15,-1051523),u=g(u,f,p,s,n[h+1],21,-2054922799),s=g(s,u,f,p,n[h+8],6,1873313359),p=g(p,s,u,f,n[h+15],10,-30611744),f=g(f,p,s,u,n[h+6],15,-1560198380),u=g(u,f,p,s,n[h+13],21,1309151649),s=g(s,u,f,p,n[h+4],6,-145523070),p=g(p,s,u,f,n[h+11],10,-1120210379),f=g(f,p,s,u,n[h+2],15,718787259),u=g(u,f,p,s,n[h+9],21,-343485551),s=s+m>>>0,u=u+v>>>0,f=f+_>>>0,p=p+j>>>0}return r.endian([s,u,f,p])})._ff=function(e,t,n,r,o,a,c){var i=e+(t&n|~t&r)+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._gg=function(e,t,n,r,o,a,c){var i=e+(t&r|n&~r)+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._hh=function(e,t,n,r,o,a,c){var i=e+(t^n^r)+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._ii=function(e,t,n,r,o,a,c){var i=e+(n^(t|~r))+(o>>>0)+c;return(i<<a|i>>>32-a)+t},i._blocksize=16,i._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(i(e,t));return t&&t.asBytes?n:t&&t.asString?c.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,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}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],a=0;a<4;a++)8*r+6*a<=8*e.length?t.push(n.charAt(o>>>6*(3-a)&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),a=n(0),c=n(2),i=n(6),l=n.n(i),s=n(11),u=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(a.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(a.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"})),d=n(5),b=n.n(d),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=b.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(b.a.isArray(e.deps))for(var o in e.deps){var a=e.deps[o];if(!(r=y(t,a,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 a=e.attributes?Object.entries(e.attributes).map((function(e){var n=o()(e,2),r=n[0],a=n[1],c=g(a,t),i=t[r];if(c&&void 0!==i)return r+"="+(a.remove_quotes?i:'"'.concat(i,'"'))})):[],c=a.length?" "+a.join(" "):"";n="[".concat(e.shortcode_name).concat(c,"]")}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,firstLoading:!0},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,a=r.shortcodeHash,c=r.ajaxSuccess,i=r.ajaxResponse,l=r.ajaxUpdated;Object(d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&l&&(c&&Object(B.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,a,i),Object(B.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,a,i),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),a=l()(o);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(B.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,a),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(u.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,firstLoading:!1,html:t.html,shortcode:o,shortcodeHash:a,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:a})}},{key:"render",value:function(){var e=this.state,t=e.html,n=e.loading,r=e.firstLoading,o=e.shortcode,c=e.shortcodeHash,i=this.props.blockArgs,l=i.do_shortcode,s=i.title,u=i.empty_message,f="block-editor-yith-plugin-fw-shortcode-block",p=[f],d=l?"html":"shortcode",b=t,y="";r&&n?d="first-loading":l&&!t&&(d="empty-html",b=o,!n&&u&&(y=u));var g=["first-loading","empty-html","shortcode"].includes(d),m=!["first-loading","empty-html"].includes(d),_=!!y;return p.push("".concat(f,"--").concat(d)),p.push("".concat(f,_?"--has-message":"--no-message")),p.push("yith_block_".concat(c)),Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:p.join(" ")},n?Object(a.createElement)("div",{className:"".concat(f,"__spinner-wrap")},Object(a.createElement)(v.Spinner,null)):"",g&&Object(a.createElement)("div",{className:"".concat(f,"__title components-placeholder__label")},h,s),_&&Object(a.createElement)(a.RawHTML,{className:"".concat(f,"__message")},y),m&&Object(a.createElement)(a.RawHTML,{className:"".concat(f,"__content")},b)))}}]),o}(c.Component),R=n(8);function P(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,c=e.help,i=e.disableAlpha,l=Object(R.useInstanceId)(P),s="inspector-yith-color-picker-control-".concat(l);return Object(a.createElement)(v.BaseControl,{id:s,label:n,className:"block-editor-yith-color-control ".concat(t),help:c},Object(a.createElement)(v.ColorPicker,{color:o,disableAlpha:i,onChangeComplete:r}))}function M(e){var t=e.label,n=e.colorValue;return Object(a.createElement)(a.Fragment,null,t,!!n&&Object(a.createElement)(v.ColorIndicator,{colorValue:n}))}function I(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,c=e.help,i=e.palette,l=e.clearable;i=i||Object(_.__experimentalUseEditorFeature)("color.palette");var s=Object(R.useInstanceId)(I),u="inspector-yith-color-palette-control-".concat(s);return Object(a.createElement)(v.BaseControl,{id:u,className:"block-editor-yith-color-palette-control ".concat(t),help:c},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",null,Object(a.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(a.createElement)(v.BaseControl.VisualLabel,null,Object(a.createElement)(M,{colorValue:o,label:n})))),Object(a.createElement)(v.ColorPalette,{value:o,onChange:r,colors:i,clearable:l})))}n(28);for(var H=function(e,t){return function(n){var r=n.attributes,c=(n.className,n.setAttributes),i=function(e,t,n){["colorpicker","color"].includes(n)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,c(r)};return Object(a.createElement)(a.Fragment,null,!!t.attributes&&Object(a.createElement)(_.InspectorControls,null,Object(a.createElement)(v.PanelBody,null,Object.entries(t.attributes).map((function(t){var n=o()(t,2),c=function(t,n){var o=n.controlType,c=r[t],l=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,c),s="".concat(e,"__").concat(t,"-field-wrapper"),u=g(n,r);n.wrapper_class&&(s+=" "+n.wrapper_class);var f=!1;if(u)switch(o){case"select":f=Object(a.createElement)(v.SelectControl,{className:s,key:t,value:c,label:n.label,options:n.options,selected:c,help:l,multiple:!!n.multiple,onChange:function(e){i(e,t,o)}});break;case"text":f=Object(a.createElement)(v.TextControl,{className:s,key:t,value:c,label:n.label,help:l,onChange:function(e){i(e,t,o)}});break;case"textarea":f=Object(a.createElement)(v.TextareaControl,{className:s,key:t,value:c,label:n.label,help:l,onChange:function(e){i(e,t,o)}});break;case"toggle":f=Object(a.createElement)(v.ToggleControl,{className:s,key:t,value:c,label:n.label,help:l,checked:c,onChange:function(e){i(e,t,o)}});break;case"checkbox":f=Object(a.createElement)(v.CheckboxControl,{className:s,key:t,value:c,label:n.label,help:l,checked:c,onChange:function(e){i(e,t,o)}});break;case"number":case"range":f=Object(a.createElement)(v.RangeControl,{className:s,key:t,value:c,label:n.label,help:l,min:n.min,max:n.max,onChange:function(e){i(e,t,o)}});break;case"color":case"colorpicker":f=Object(a.createElement)(P,{className:s,key:t,label:n.label,help:l,value:c,disableAlpha:n.disableAlpha,onChange:function(e){i(e,t,o)}});break;case"color-palette":f=Object(a.createElement)(I,{className:s,key:t,label:n.label,help:l,value:c,clearable:n.clearable||!1,onChange:function(e){i(e,t,o)}});break;case"radio":f=Object(a.createElement)(v.RadioControl,{key:t,value:c,label:n.label,options:n.options,selected:c,checked:c,help:l,onChange:function(e){i(e,t,o)}});break;default:f=!1}return f}(n[0],n[1]);if(c)return c})))),Object(a.createElement)(N,{attributes:r,blockArgs:t}))}},L=function(){var e=Q[U];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)))}))},U=0,Q=[{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}];U<Q.length;U++)L();for(var F=function(){var e=o()(J[D],2),t=e[0],n=e[1];Object(s.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_'+l()(r)+'">'+r+"</span>";return Object(a.createElement)(a.RawHTML,null,o)}}]})},D=0,J=Object.entries(yithGutenbergBlocks);D<J.length;D++)F()}]);
|
plugin-fw/dist/gutenberg/style-index.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode{padding:1em 1em 1.2em;border:1px solid #1e1e1e;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;font-size:13px;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block{position:relative;min-height:30px}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-style:italic;font-size:13px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
|
2 |
.block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
|
1 |
+
.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading{padding:1em 1em 1.2em;border:1px solid #1e1e1e;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;font-size:13px;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block{position:relative;min-height:30px}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-style:italic;font-size:13px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
|
2 |
.block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
|
plugin-fw/includes/builders/gutenberg/src/components/shortcode/index.js
CHANGED
@@ -40,7 +40,8 @@ export class Shortcode extends Component {
|
|
40 |
ajaxUpdated : false,
|
41 |
ajaxSuccess : false,
|
42 |
ajaxResponse : false,
|
43 |
-
loading : false
|
|
|
44 |
};
|
45 |
|
46 |
this.ajaxTimeout = false;
|
@@ -90,21 +91,21 @@ export class Shortcode extends Component {
|
|
90 |
};
|
91 |
|
92 |
ajaxFetch( ajaxData ).then( response => {
|
93 |
-
this.setState( { loading: false, html: response.html, shortcode, shortcodeHash, ajaxSuccess: true, ajaxUpdated: true, ajaxResponse: response } );
|
94 |
} )
|
95 |
.catch( error => {
|
96 |
console.log( { error } );
|
97 |
} );
|
98 |
}, 300 );
|
99 |
} else {
|
100 |
-
this.setState( { loading: false, html: shortcode, shortcode, shortcodeHash } );
|
101 |
}
|
102 |
}
|
103 |
|
104 |
render() {
|
105 |
-
const { html, loading, shortcode, shortcodeHash } = this.state;
|
106 |
-
const { blockArgs }
|
107 |
-
const { do_shortcode, title, empty_message }
|
108 |
|
109 |
const mainClass = 'block-editor-yith-plugin-fw-shortcode-block';
|
110 |
|
@@ -113,16 +114,18 @@ export class Shortcode extends Component {
|
|
113 |
let htmlToShow = html;
|
114 |
let message = '';
|
115 |
|
116 |
-
if (
|
|
|
|
|
117 |
type = 'empty-html';
|
118 |
htmlToShow = shortcode;
|
119 |
-
if ( empty_message ) {
|
120 |
message = empty_message;
|
121 |
}
|
122 |
}
|
123 |
|
124 |
-
const showTitle = ['
|
125 |
-
const showContent = 'empty-html'
|
126 |
const showMessage = !!message;
|
127 |
|
128 |
wrapperClasses.push( `${mainClass}--${type}` );
|
40 |
ajaxUpdated : false,
|
41 |
ajaxSuccess : false,
|
42 |
ajaxResponse : false,
|
43 |
+
loading : false,
|
44 |
+
firstLoading : true
|
45 |
};
|
46 |
|
47 |
this.ajaxTimeout = false;
|
91 |
};
|
92 |
|
93 |
ajaxFetch( ajaxData ).then( response => {
|
94 |
+
this.setState( { loading: false, firstLoading: false, html: response.html, shortcode, shortcodeHash, ajaxSuccess: true, ajaxUpdated: true, ajaxResponse: response } );
|
95 |
} )
|
96 |
.catch( error => {
|
97 |
console.log( { error } );
|
98 |
} );
|
99 |
}, 300 );
|
100 |
} else {
|
101 |
+
this.setState( { loading: false, firstLoading: false, html: shortcode, shortcode, shortcodeHash } );
|
102 |
}
|
103 |
}
|
104 |
|
105 |
render() {
|
106 |
+
const { html, loading, firstLoading, shortcode, shortcodeHash } = this.state;
|
107 |
+
const { blockArgs } = this.props;
|
108 |
+
const { do_shortcode, title, empty_message } = blockArgs;
|
109 |
|
110 |
const mainClass = 'block-editor-yith-plugin-fw-shortcode-block';
|
111 |
|
114 |
let htmlToShow = html;
|
115 |
let message = '';
|
116 |
|
117 |
+
if ( firstLoading && loading ) {
|
118 |
+
type = 'first-loading';
|
119 |
+
} else if ( do_shortcode && !html ) {
|
120 |
type = 'empty-html';
|
121 |
htmlToShow = shortcode;
|
122 |
+
if ( !loading && empty_message ) {
|
123 |
message = empty_message;
|
124 |
}
|
125 |
}
|
126 |
|
127 |
+
const showTitle = ['first-loading', 'empty-html', 'shortcode'].includes( type );
|
128 |
+
const showContent = !['first-loading', 'empty-html'].includes( type );
|
129 |
const showMessage = !!message;
|
130 |
|
131 |
wrapperClasses.push( `${mainClass}--${type}` );
|
plugin-fw/includes/builders/gutenberg/src/components/shortcode/style.scss
CHANGED
@@ -24,6 +24,14 @@
|
|
24 |
transform: translateX(-50%) translateY(-50%);
|
25 |
}
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
&.block-editor-yith-plugin-fw-shortcode-block--shortcode {
|
28 |
|
29 |
@extend %bordered-block;
|
24 |
transform: translateX(-50%) translateY(-50%);
|
25 |
}
|
26 |
|
27 |
+
&.block-editor-yith-plugin-fw-shortcode-block--first-loading{
|
28 |
+
@extend %bordered-block;
|
29 |
+
|
30 |
+
.block-editor-yith-plugin-fw-shortcode-block__title {
|
31 |
+
margin-bottom: 0;
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
&.block-editor-yith-plugin-fw-shortcode-block--shortcode {
|
36 |
|
37 |
@extend %bordered-block;
|
plugin-fw/includes/class-yith-gutenberg.php
DELETED
@@ -1,328 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* YITH Gutenberg Class
|
4 |
-
* handle Gutenberg blocks and shortcodes.
|
5 |
-
*
|
6 |
-
* @class YITH_Gutenberg
|
7 |
-
* @package YITH\PluginFramework\Classes
|
8 |
-
*/
|
9 |
-
|
10 |
-
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
|
11 |
-
|
12 |
-
if ( ! class_exists( 'YITH_Gutenberg' ) ) {
|
13 |
-
/**
|
14 |
-
* YITH_Gutenberg class.
|
15 |
-
*
|
16 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
17 |
-
*/
|
18 |
-
class YITH_Gutenberg {
|
19 |
-
/**
|
20 |
-
* The single instance of the class.
|
21 |
-
*
|
22 |
-
* @var YITH_Gutenberg
|
23 |
-
*/
|
24 |
-
private static $instance;
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Registered blocks
|
28 |
-
*
|
29 |
-
* @var array
|
30 |
-
*/
|
31 |
-
private $registered_blocks = array();
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Blocks to register
|
35 |
-
*
|
36 |
-
* @var array
|
37 |
-
*/
|
38 |
-
private $to_register_blocks = array();
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Blocks args
|
42 |
-
*
|
43 |
-
* @var array
|
44 |
-
*/
|
45 |
-
private $blocks_args = array();
|
46 |
-
|
47 |
-
/**
|
48 |
-
* Block category slug
|
49 |
-
*
|
50 |
-
* @var string
|
51 |
-
*/
|
52 |
-
private $category_slug = 'yith-blocks';
|
53 |
-
|
54 |
-
/**
|
55 |
-
* Singleton implementation.
|
56 |
-
*
|
57 |
-
* @return YITH_Gutenberg
|
58 |
-
*/
|
59 |
-
public static function instance() {
|
60 |
-
return ! is_null( self::$instance ) ? self::$instance : self::$instance = new self();
|
61 |
-
}
|
62 |
-
|
63 |
-
/**
|
64 |
-
* YITH_Gutenberg constructor.
|
65 |
-
*/
|
66 |
-
private function __construct() {
|
67 |
-
add_action( 'init', array( $this, 'register_blocks' ), 30 );
|
68 |
-
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_block_editor_assets' ) );
|
69 |
-
add_action( 'wp_ajax_yith_plugin_fw_gutenberg_do_shortcode', array( $this, 'do_shortcode' ) );
|
70 |
-
add_action( 'wc_ajax_yith_plugin_fw_gutenberg_do_shortcode', array( $this, 'do_shortcode' ) );
|
71 |
-
}
|
72 |
-
|
73 |
-
/**
|
74 |
-
* Enqueue scripts for gutenberg
|
75 |
-
*/
|
76 |
-
public function enqueue_block_editor_assets() {
|
77 |
-
$ajax_url = function_exists( 'WC' ) ? add_query_arg( 'wc-ajax', 'yith_plugin_fw_gutenberg_do_shortcode', trailingslashit( site_url() ) ) : admin_url( 'admin-ajax.php' );
|
78 |
-
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
79 |
-
$deps = apply_filters(
|
80 |
-
'yith_plugin_fw_gutenberg_script_deps',
|
81 |
-
array(
|
82 |
-
'wp-blocks',
|
83 |
-
'wp-element',
|
84 |
-
'yith-js-md5',
|
85 |
-
)
|
86 |
-
);
|
87 |
-
wp_register_script( 'yith-js-md5', YIT_CORE_PLUGIN_URL . '/assets/js/javascript-md5/md5.min.js', array(), '2.10.0', true );
|
88 |
-
wp_enqueue_script( 'yith-gutenberg', YIT_CORE_PLUGIN_URL . '/assets/js/yith-gutenberg' . $suffix . '.js', $deps, yith_plugin_fw_get_version(), true );
|
89 |
-
wp_localize_script( 'yith-gutenberg', 'yith_gutenberg', $this->blocks_args );
|
90 |
-
wp_localize_script( 'yith-gutenberg', 'yith_gutenberg_ajax', array( 'ajaxurl' => $ajax_url ) );
|
91 |
-
}
|
92 |
-
|
93 |
-
/**
|
94 |
-
* Add blocks to gutenberg editor.
|
95 |
-
*/
|
96 |
-
public function register_blocks() {
|
97 |
-
$block_args = array();
|
98 |
-
foreach ( $this->to_register_blocks as $block => $args ) {
|
99 |
-
if ( isset( $args['style'] ) ) {
|
100 |
-
$block_args['style'] = $args['style'];
|
101 |
-
}
|
102 |
-
|
103 |
-
if ( isset( $args['script'] ) ) {
|
104 |
-
$block_args['script'] = $args['script'];
|
105 |
-
}
|
106 |
-
|
107 |
-
if ( register_block_type( "yith/{$block}", $block_args ) ) {
|
108 |
-
$this->registered_blocks[] = $block;
|
109 |
-
}
|
110 |
-
}
|
111 |
-
|
112 |
-
if ( ! empty( $this->registered_blocks ) ) {
|
113 |
-
add_filter( 'block_categories', array( $this, 'block_category' ), 10, 2 );
|
114 |
-
}
|
115 |
-
}
|
116 |
-
|
117 |
-
/**
|
118 |
-
* Add block category
|
119 |
-
*
|
120 |
-
* @param array $categories The block categories.
|
121 |
-
* @param WP_Post $post The current post.
|
122 |
-
*
|
123 |
-
* @return array The block categories.
|
124 |
-
*/
|
125 |
-
public function block_category( $categories, $post ) {
|
126 |
-
return array_merge(
|
127 |
-
$categories,
|
128 |
-
array(
|
129 |
-
array(
|
130 |
-
'slug' => 'yith-blocks',
|
131 |
-
'title' => _x( 'YITH', '[gutenberg]: Category Name', 'yith-plugin-fw' ),
|
132 |
-
),
|
133 |
-
)
|
134 |
-
);
|
135 |
-
}
|
136 |
-
|
137 |
-
/**
|
138 |
-
* Add new blocks to Gutenberg
|
139 |
-
*
|
140 |
-
* @param string|array $blocks The blocks to be added.
|
141 |
-
*
|
142 |
-
* @return bool True if the blocks was successfully added, false otherwise.
|
143 |
-
*/
|
144 |
-
public function add_blocks( $blocks ) {
|
145 |
-
$added = false;
|
146 |
-
if ( ! empty( $blocks ) ) {
|
147 |
-
$added = true;
|
148 |
-
if ( is_array( $blocks ) ) {
|
149 |
-
$this->to_register_blocks = array_merge( $this->to_register_blocks, $blocks );
|
150 |
-
} else {
|
151 |
-
$this->to_register_blocks[] = $blocks;
|
152 |
-
}
|
153 |
-
}
|
154 |
-
|
155 |
-
return $added;
|
156 |
-
}
|
157 |
-
|
158 |
-
/**
|
159 |
-
* Return an array with the registered blocks
|
160 |
-
*
|
161 |
-
* @return array
|
162 |
-
*/
|
163 |
-
public function get_registered_blocks() {
|
164 |
-
return $this->registered_blocks;
|
165 |
-
}
|
166 |
-
|
167 |
-
/**
|
168 |
-
* Return an array with the blocks to register
|
169 |
-
*
|
170 |
-
* @return array
|
171 |
-
*/
|
172 |
-
public function get_to_register_blocks() {
|
173 |
-
return $this->to_register_blocks;
|
174 |
-
}
|
175 |
-
|
176 |
-
/**
|
177 |
-
* Return an array with the block(s) arguments
|
178 |
-
*
|
179 |
-
* @param string $block_key The block key.
|
180 |
-
*
|
181 |
-
* @return array|false
|
182 |
-
*/
|
183 |
-
public function get_block_args( $block_key = 'all' ) {
|
184 |
-
if ( 'all' === $block_key ) {
|
185 |
-
return $this->blocks_args;
|
186 |
-
} elseif ( isset( $this->blocks_args[ $block_key ] ) ) {
|
187 |
-
return $this->blocks_args[ $block_key ];
|
188 |
-
}
|
189 |
-
|
190 |
-
return false;
|
191 |
-
}
|
192 |
-
|
193 |
-
/**
|
194 |
-
* Retrieve the default category slug
|
195 |
-
*
|
196 |
-
* @return string
|
197 |
-
*/
|
198 |
-
public function get_default_blocks_category_slug() {
|
199 |
-
return $this->category_slug;
|
200 |
-
}
|
201 |
-
|
202 |
-
/**
|
203 |
-
* Set the block arguments
|
204 |
-
*
|
205 |
-
* @param array $args The block arguments.
|
206 |
-
*/
|
207 |
-
public function set_block_args( $args ) {
|
208 |
-
foreach ( $args as $block => $block_args ) {
|
209 |
-
|
210 |
-
// Add Default Keywords.
|
211 |
-
$default_keywords = array( 'yith' );
|
212 |
-
if ( ! empty( $block_args['shortcode_name'] ) ) {
|
213 |
-
$default_keywords[] = $block_args['shortcode_name'];
|
214 |
-
}
|
215 |
-
|
216 |
-
$args[ $block ]['keywords'] = ! empty( $args[ $block ]['keywords'] ) ? array_merge( $args[ $block ]['keywords'], $default_keywords ) : $default_keywords;
|
217 |
-
|
218 |
-
if ( count( $args[ $block ]['keywords'] ) > 3 ) {
|
219 |
-
$args[ $block ]['keywords'] = array_slice( $args[ $block ]['keywords'], 0, 3 );
|
220 |
-
}
|
221 |
-
|
222 |
-
if ( empty( $block_args['category'] ) ) {
|
223 |
-
// Add the YITH block category.
|
224 |
-
$args[ $block ]['category'] = $this->get_default_blocks_category_slug();
|
225 |
-
}
|
226 |
-
|
227 |
-
if ( isset( $block_args['attributes'] ) ) {
|
228 |
-
foreach ( $block_args['attributes'] as $attr_name => $attributes ) {
|
229 |
-
// Set the do_shortcode args.
|
230 |
-
if ( ! empty( $attributes['do_shortcode'] ) ) {
|
231 |
-
$args[ $block ]['attributes'][ $attr_name ] = true;
|
232 |
-
}
|
233 |
-
|
234 |
-
if ( ! empty( $attributes['options'] ) && is_array( $attributes['options'] ) ) {
|
235 |
-
$options = array();
|
236 |
-
foreach ( $attributes['options'] as $v => $l ) {
|
237 |
-
// Prepare options array for react component.
|
238 |
-
$options[] = array(
|
239 |
-
'label' => $l,
|
240 |
-
'value' => $v,
|
241 |
-
);
|
242 |
-
}
|
243 |
-
$args[ $block ]['attributes'][ $attr_name ]['options'] = $options;
|
244 |
-
}
|
245 |
-
|
246 |
-
if ( empty( $attributes['remove_quotes'] ) ) {
|
247 |
-
$args[ $block ]['attributes'][ $attr_name ]['remove_quotes'] = false;
|
248 |
-
}
|
249 |
-
|
250 |
-
// Special Requirements for Block Type.
|
251 |
-
if ( ! empty( $attributes['type'] ) ) {
|
252 |
-
$args[ $block ]['attributes'][ $attr_name ]['blocktype'] = $attributes['type'];
|
253 |
-
$args[ $block ]['attributes'][ $attr_name ]['type'] = 'string';
|
254 |
-
|
255 |
-
switch ( $attributes['type'] ) {
|
256 |
-
case 'select':
|
257 |
-
// Add default value for multiple.
|
258 |
-
if ( ! isset( $attributes['multiple'] ) ) {
|
259 |
-
$args[ $block ]['attributes'][ $attr_name ]['multiple'] = false;
|
260 |
-
}
|
261 |
-
|
262 |
-
if ( ! empty( $attributes['multiple'] ) ) {
|
263 |
-
$args[ $block ]['attributes'][ $attr_name ]['type'] = 'array';
|
264 |
-
}
|
265 |
-
break;
|
266 |
-
|
267 |
-
case 'color':
|
268 |
-
case 'colorpicker':
|
269 |
-
if ( ! isset( $attributes['disableAlpha'] ) ) {
|
270 |
-
// Disable alpha gradient for color picker.
|
271 |
-
$args[ $block ]['attributes'][ $attr_name ]['disableAlpha'] = true;
|
272 |
-
}
|
273 |
-
break;
|
274 |
-
|
275 |
-
case 'number':
|
276 |
-
$args[ $block ]['attributes'][ $attr_name ]['type'] = 'integer';
|
277 |
-
break;
|
278 |
-
|
279 |
-
case 'toggle':
|
280 |
-
case 'checkbox':
|
281 |
-
$args[ $block ]['attributes'][ $attr_name ]['type'] = 'boolean';
|
282 |
-
break;
|
283 |
-
}
|
284 |
-
}
|
285 |
-
}
|
286 |
-
}
|
287 |
-
}
|
288 |
-
|
289 |
-
$this->blocks_args = array_merge( $this->blocks_args, $args );
|
290 |
-
}
|
291 |
-
|
292 |
-
/**
|
293 |
-
* Get a do_shortcode in ajax call to show block preview
|
294 |
-
**/
|
295 |
-
public function do_shortcode() {
|
296 |
-
// phpcs:disable WordPress.Security.NonceVerification.Missing
|
297 |
-
$current_action = current_action();
|
298 |
-
$shortcode = ! empty( $_POST['shortcode'] ) ? wp_unslash( $_POST['shortcode'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
299 |
-
|
300 |
-
if ( ! apply_filters( 'yith_plugin_fw_gutenberg_skip_shortcode_sanitize', false ) ) {
|
301 |
-
$shortcode = sanitize_text_field( stripslashes( $shortcode ) );
|
302 |
-
}
|
303 |
-
|
304 |
-
do_action( 'yith_plugin_fw_gutenberg_before_do_shortcode', $shortcode, $current_action );
|
305 |
-
echo do_shortcode( apply_filters( 'yith_plugin_fw_gutenberg_shortcode', $shortcode, $current_action ) );
|
306 |
-
do_action( 'yith_plugin_fw_gutenberg_after_do_shortcode', $shortcode, $current_action );
|
307 |
-
|
308 |
-
if ( is_ajax() ) {
|
309 |
-
die();
|
310 |
-
}
|
311 |
-
|
312 |
-
// phpcs:enable
|
313 |
-
}
|
314 |
-
}
|
315 |
-
}
|
316 |
-
|
317 |
-
if ( ! function_exists( 'YITH_Gutenberg' ) ) {
|
318 |
-
/**
|
319 |
-
* Single instance of YITH_Gutenberg
|
320 |
-
*
|
321 |
-
* @return YITH_Gutenberg
|
322 |
-
*/
|
323 |
-
function YITH_Gutenberg() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
324 |
-
return YITH_Gutenberg::instance();
|
325 |
-
}
|
326 |
-
}
|
327 |
-
|
328 |
-
YITH_Gutenberg();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.6.
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
-
* @version 3.6.
|
11 |
* @package YITH\PluginFramework
|
12 |
*/
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.6.10
|
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-
|
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,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-
|
8 |
"PO-Revision-Date: 2021-03-15 15:43:52+0000\n"
|
9 |
"Language: es\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-03-15 15:43:52+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
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-
|
8 |
-
"PO-Revision-Date: 2021-
|
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-
|
8 |
-
"PO-Revision-Date: 2021-
|
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-
|
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"
|
plugin-fw/lib/privacy/yit-privacy-plugin-abstract.php
CHANGED
File without changes
|
plugin-fw/lib/privacy/yit-privacy.php
CHANGED
File without changes
|
plugin-fw/lib/promo/black.jpg
DELETED
Binary file
|
plugin-fw/lib/promo/cyber.jpg
DELETED
Binary file
|
plugin-fw/lib/promo/halloween.jpg
DELETED
Binary file
|
plugin-fw/lib/promo/yith-promo.xml
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<!-- Default border color: #acc327 -->
|
3 |
-
<!-- Default background color: #ecf7ed -->
|
4 |
-
|
5 |
-
<promotions>
|
6 |
-
<expiry_date>2019-12-10</expiry_date>
|
7 |
-
<promo>
|
8 |
-
<promo_id>yithblackfriday2019</promo_id>
|
9 |
-
<title><![CDATA[<strong>YITH Black Friday</strong>]]></title>
|
10 |
-
<description><![CDATA[
|
11 |
-
Don't miss our <strong>30% discount</strong> on all our products! No coupon needed in cart. Valid from <strong>28th November</strong> to <strong>2nd December</strong>.
|
12 |
-
]]></description>
|
13 |
-
<link>
|
14 |
-
<label>Get your deals now!</label>
|
15 |
-
<url><![CDATA[https://yithemes.com]]></url>
|
16 |
-
</link>
|
17 |
-
<style>
|
18 |
-
<image_bg_color>#272121</image_bg_color>
|
19 |
-
<border_color>#272121</border_color>
|
20 |
-
<background_color>#ffffff</background_color>
|
21 |
-
</style>
|
22 |
-
<start_date>2019-11-27 23:59:59</start_date>
|
23 |
-
<end_date>2019-12-03 08:00:00</end_date>
|
24 |
-
</promo>
|
25 |
-
</promotions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/lib/yit-assets.php
CHANGED
File without changes
|
plugin-fw/lib/yit-debug.php
CHANGED
File without changes
|
plugin-fw/lib/yit-icons.php
CHANGED
File without changes
|
plugin-fw/package.json
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"name": "yith-plugin-framewowrk",
|
3 |
-
"version": "3.4.37",
|
4 |
-
"description": "YITH Plugin Framework",
|
5 |
-
"main": "Gruntfile.js",
|
6 |
-
"scripts": {
|
7 |
-
"build": "npm run js && npm run i18n",
|
8 |
-
"js": "grunt js",
|
9 |
-
"i18n": "npm run -s i18n:build && npm run -s i18n:translations",
|
10 |
-
"i18n:build": "grunt makepot",
|
11 |
-
"i18n:translations": "npm run -s i18n:download-translations && npm run -s i18n:update-po && npm run -s i18n:clean",
|
12 |
-
"i18n:download-translations": "node ./bin/download-translations.js",
|
13 |
-
"i18n:update-po": "grunt update_po",
|
14 |
-
"i18n:clean": "node ./bin/clean-language-files.js"
|
15 |
-
},
|
16 |
-
"author": "YITH",
|
17 |
-
"license": "GPL-3.0+",
|
18 |
-
"keywords": [],
|
19 |
-
"devDependencies": {
|
20 |
-
"axios": "^0.19.2",
|
21 |
-
"grunt": "^1.0.3",
|
22 |
-
"grunt-cli": "^1.3.2",
|
23 |
-
"grunt-contrib-jshint": "^2.0.0",
|
24 |
-
"grunt-contrib-uglify-es": "github:gruntjs/grunt-contrib-uglify#harmony",
|
25 |
-
"grunt-wp-i18n": "^1.0.2"
|
26 |
-
}
|
27 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/templates/fields/ajax-posts.php
CHANGED
File without changes
|
plugin-fw/templates/fields/ajax-products.php
CHANGED
File without changes
|
plugin-fw/templates/fields/ajax-terms.php
CHANGED
File without changes
|
plugin-fw/templates/fields/buttons.php
CHANGED
File without changes
|
plugin-fw/templates/fields/checkbox.php
CHANGED
File without changes
|
plugin-fw/templates/fields/colorpicker.php
CHANGED
File without changes
|
plugin-fw/templates/fields/customtabs.php
CHANGED
File without changes
|
plugin-fw/templates/fields/datepicker.php
CHANGED
File without changes
|
plugin-fw/templates/fields/dimensions.php
CHANGED
File without changes
|
plugin-fw/templates/fields/hidden.php
CHANGED
File without changes
|
plugin-fw/templates/fields/html.php
CHANGED
File without changes
|
plugin-fw/templates/fields/icons.php
CHANGED
File without changes
|
plugin-fw/templates/fields/image-gallery.php
CHANGED
File without changes
|
plugin-fw/templates/fields/number.php
CHANGED
File without changes
|
plugin-fw/templates/fields/onoff.php
CHANGED
File without changes
|
plugin-fw/templates/fields/preview.php
CHANGED
File without changes
|
plugin-fw/templates/fields/radio.php
CHANGED
File without changes
|
plugin-fw/templates/fields/resources/select2-wc-2.6.php
CHANGED
File without changes
|
plugin-fw/templates/fields/resources/select2.php
CHANGED
File without changes
|
plugin-fw/templates/fields/select-buttons.php
CHANGED
File without changes
|
plugin-fw/templates/fields/select-images.php
CHANGED
File without changes
|
plugin-fw/templates/fields/select-mailchimp.php
CHANGED
File without changes
|
plugin-fw/templates/fields/select.php
CHANGED
File without changes
|
plugin-fw/templates/fields/sep.php
CHANGED
File without changes
|
plugin-fw/templates/fields/sidebarlist.php
CHANGED
File without changes
|
plugin-fw/templates/fields/sidebars.php
CHANGED
File without changes
|
plugin-fw/templates/fields/simple-text.php
CHANGED
File without changes
|
plugin-fw/templates/fields/slider.php
CHANGED
File without changes
|
plugin-fw/templates/fields/text-array.php
CHANGED
File without changes
|
plugin-fw/templates/fields/text-button.php
CHANGED
File without changes
|
plugin-fw/templates/fields/text.php
CHANGED
File without changes
|
plugin-fw/templates/fields/textarea-codemirror.php
CHANGED
File without changes
|
plugin-fw/templates/fields/textarea-editor.php
CHANGED
File without changes
|
plugin-fw/templates/fields/textarea.php
CHANGED
File without changes
|
plugin-fw/templates/fields/title.php
CHANGED
File without changes
|
plugin-fw/templates/fields/upload.php
CHANGED
File without changes
|
plugin-fw/templates/metaboxes/field-row.php
CHANGED
File without changes
|
plugin-fw/templates/metaboxes/types/icon-list.php
DELETED
@@ -1,137 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* This file belongs to the YIT Framework.
|
4 |
-
*
|
5 |
-
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
-
* that is bundled with this package in the file LICENSE.txt.
|
7 |
-
* It is also available through the world-wide-web at this URL:
|
8 |
-
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
-
*/
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Awesome Icon Admin View
|
13 |
-
*
|
14 |
-
* @package YITH
|
15 |
-
* @author Emanuela Castorina <emanuela.castorina@yithemes.com>
|
16 |
-
* @since 1.0.0
|
17 |
-
*/
|
18 |
-
|
19 |
-
extract( $args );
|
20 |
-
|
21 |
-
|
22 |
-
if ( !defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
23 |
-
|
24 |
-
$current_options = wp_parse_args( $args[ 'value' ], $args[ 'std' ] );
|
25 |
-
$current_icon = YIT_Icon()->get_icon_data( $current_options[ 'icon' ] );
|
26 |
-
$std_icon = YIT_Icon()->get_icon_data( $std[ 'icon' ] );
|
27 |
-
|
28 |
-
$options[ 'icon' ] = YIT_Plugin_Common::get_icon_list();
|
29 |
-
|
30 |
-
?>
|
31 |
-
|
32 |
-
|
33 |
-
<div id="<?php echo $id ?>-container" class="select_icon rm_option rm_input rm_text" <?php echo yith_field_deps_data( $args ); ?>>
|
34 |
-
<div id="<?php echo $id ?>-container" <?php echo yith_field_deps_data( $args ); ?>>
|
35 |
-
|
36 |
-
<label for="<?php echo $id ?>"><?php echo $label ?></label>
|
37 |
-
|
38 |
-
<div class="option">
|
39 |
-
<div class="select_wrapper icon_list_type clearfix">
|
40 |
-
<select name="<?php echo $name ?>[select]" id="<?php echo $id ?>[select]" <?php if ( isset( $std[ 'select' ] ) ) : ?>data-std="<?php echo $std[ 'select' ]; ?>"<?php endif; ?>>
|
41 |
-
<?php foreach ( $options[ 'select' ] as $val => $option ) : ?>
|
42 |
-
<option value="<?php echo $val ?>" <?php selected( $current_options[ 'select' ], $val ); ?> ><?php echo $option ?></option>
|
43 |
-
<?php endforeach; ?>
|
44 |
-
</select>
|
45 |
-
</div>
|
46 |
-
|
47 |
-
|
48 |
-
<div class="icon-manager-wrapper">
|
49 |
-
<div class="icon-manager-text">
|
50 |
-
<div class="icon-preview" <?php echo $current_icon ?>></div>
|
51 |
-
<input type="text" id="<?php echo $id ?>[icon]" class="icon-text" name="<?php echo $name ?>[icon]" value="<?php echo $current_options[ 'icon' ]; ?>"/>
|
52 |
-
</div>
|
53 |
-
|
54 |
-
|
55 |
-
<div class="icon-manager">
|
56 |
-
<ul class="icon-list-wrapper">
|
57 |
-
<?php foreach ( $options[ 'icon' ] as $font => $icons ):
|
58 |
-
foreach ( $icons as $key => $icon ): ?>
|
59 |
-
<li data-font="<?php echo $font ?>" data-icon="<?php echo ( strpos( $key, '\\' ) === 0 ) ? '&#x' . substr( $key, 1 ) : $key ?>" data-key="<?php echo $key ?>" data-name="<?php echo $icon ?>"></li>
|
60 |
-
<?php
|
61 |
-
endforeach;
|
62 |
-
endforeach; ?>
|
63 |
-
</ul>
|
64 |
-
</div>
|
65 |
-
</div>
|
66 |
-
|
67 |
-
|
68 |
-
<div class="input_wrapper custom_icon_wrapper upload" style="clear:both;">
|
69 |
-
<input type="text" name="<?php echo $name ?>[custom]" id="<?php echo $id ?>[custom]" value="<?php echo $current_options[ 'custom' ] ?>" class="yith-plugin-fw-upload-img-url upload_custom_icon"/>
|
70 |
-
<input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id; ?>-custom-button" class="yith-plugin-fw-upload-button button"/>
|
71 |
-
|
72 |
-
<div class="yith-plugin-fw-upload-img-preview" style="margin-top:10px;">
|
73 |
-
<?php
|
74 |
-
$file = $current_options[ 'custom' ];
|
75 |
-
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
76 |
-
echo __( 'Image preview', 'yith-plugin-fw' ) . ': ' . "<img src=\"" . YIT_CORE_ASSETS_URL . "/images/sleep.png\" data-src=\"$file\" />";
|
77 |
-
}
|
78 |
-
?>
|
79 |
-
</div>
|
80 |
-
</div>
|
81 |
-
|
82 |
-
</div>
|
83 |
-
|
84 |
-
<div class="clear"></div>
|
85 |
-
|
86 |
-
|
87 |
-
<div class="description">
|
88 |
-
<?php echo $desc ?>
|
89 |
-
<?php if ( $std[ 'select' ] == 'custom' ) : ?>
|
90 |
-
<?php printf( __( '(Default: %s <img src="%s"/>)', 'yith-plugin-fw' ), $options[ 'select' ][ 'custom' ], $std[ 'custom' ] ) ?>
|
91 |
-
<?php else: ?>
|
92 |
-
<?php printf( __( '(Default: <i %s></i> )', 'yith-plugin-fw' ), $std_icon ) ?>
|
93 |
-
<?php endif; ?>
|
94 |
-
</div>
|
95 |
-
|
96 |
-
<div class="clear"></div>
|
97 |
-
|
98 |
-
</div>
|
99 |
-
</div>
|
100 |
-
|
101 |
-
<script>
|
102 |
-
|
103 |
-
jQuery( document ).ready( function ( $ ) {
|
104 |
-
|
105 |
-
$( '.select_wrapper.icon_list_type' ).on( 'change', function () {
|
106 |
-
|
107 |
-
var t = $( this );
|
108 |
-
var parents = $( '#' + t.parents( 'div.select_icon' ).attr( 'id' ) );
|
109 |
-
var option = $( 'option:selected', this ).val();
|
110 |
-
var to_show = option == 'none' ? '' : option == 'icon' ? '.icon-manager-wrapper' : '.custom_icon_wrapper';
|
111 |
-
|
112 |
-
parents.find( '.option > div:not(.icon_list_type)' ).removeClass( 'show' ).addClass( 'hidden' );
|
113 |
-
parents.find( to_show ).removeClass( 'hidden' ).addClass( 'show' );
|
114 |
-
} );
|
115 |
-
|
116 |
-
$( '.select_wrapper.icon_list_type' ).trigger( 'change' );
|
117 |
-
|
118 |
-
var $icon_list = $( '.select_icon' ).find( 'ul.icon-list-wrapper' ),
|
119 |
-
$preview = $( '.icon-preview' ),
|
120 |
-
$element_list = $icon_list.find( 'li' ),
|
121 |
-
$icon_text = $( '.icon-text' );
|
122 |
-
|
123 |
-
$element_list.on( "click", function () {
|
124 |
-
var $t = $( this );
|
125 |
-
$element_list.removeClass( 'active' );
|
126 |
-
$t.addClass( 'active' );
|
127 |
-
$preview.attr( 'data-font', $t.data( 'font' ) );
|
128 |
-
$preview.attr( 'data-icon', $t.data( 'icon' ) );
|
129 |
-
$preview.attr( 'data-name', $t.data( 'name' ) );
|
130 |
-
$preview.attr( 'data-key', $t.data( 'key' ) );
|
131 |
-
|
132 |
-
$icon_text.val( $t.data( 'font' ) + ':' + $t.data( 'name' ) );
|
133 |
-
|
134 |
-
} );
|
135 |
-
} );
|
136 |
-
|
137 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugin-fw/templates/panel/panel-field-container.php
CHANGED
File without changes
|
plugin-fw/templates/panel/woocommerce/woocommerce-option-row.php
CHANGED
File without changes
|
plugin-fw/templates/privacy/html-policy-content.php
CHANGED
File without changes
|
plugin-fw/templates/upgrade/changelog.php
CHANGED
File without changes
|
plugin-fw/templates/upgrade/error.php
CHANGED
File without changes
|
plugin-fw/yit-functions.php
CHANGED
@@ -1659,3 +1659,30 @@ if ( ! function_exists( 'yith_plugin_fw_copy_to_clipboard' ) ) {
|
|
1659 |
yith_plugin_fw_get_field( $field, true, false );
|
1660 |
}
|
1661 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1659 |
yith_plugin_fw_get_field( $field, true, false );
|
1660 |
}
|
1661 |
}
|
1662 |
+
|
1663 |
+
if ( ! function_exists( 'yith_plugin_fw_add_utm_data' ) ) {
|
1664 |
+
/**
|
1665 |
+
* Add UTM data in backend url
|
1666 |
+
*
|
1667 |
+
* @param string $url The url that want to track.
|
1668 |
+
* @param string $slug Plugin slug.
|
1669 |
+
* @param string $campaign Campaign to track. Default: plugin-version-author-uri.
|
1670 |
+
* @param string $source Where the link came from. Default: wp-dashboard.
|
1671 |
+
*
|
1672 |
+
* @since 3.6.10
|
1673 |
+
*/
|
1674 |
+
function yith_plugin_fw_add_utm_data( $url, $slug, $campaign = 'plugin-version-author-uri', $source = 'wp-dashboard' ) {
|
1675 |
+
$url = trailingslashit( $url );
|
1676 |
+
if ( ! empty( $slug ) ) {
|
1677 |
+
$utm_track_data = array(
|
1678 |
+
'utm_source' => $source,
|
1679 |
+
'utm_medium' => $slug,
|
1680 |
+
'utm_campaign' => $campaign,
|
1681 |
+
);
|
1682 |
+
|
1683 |
+
$url = add_query_arg( $utm_track_data, $url );
|
1684 |
+
}
|
1685 |
+
|
1686 |
+
return $url;
|
1687 |
+
}
|
1688 |
+
}
|
plugin-fw/yit-plugin.php
CHANGED
@@ -65,6 +65,11 @@ if ( ! function_exists( 'yit_plugin_fw_row_meta' ) ) {
|
|
65 |
* @since 3.0.17
|
66 |
*/
|
67 |
function yit_plugin_fw_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
|
|
|
|
|
|
|
|
|
|
68 |
$base_uri = array(
|
69 |
'live_demo' => 'https://plugins.yithemes.com/',
|
70 |
'documentation' => 'https://docs.yithemes.com/',
|
@@ -155,13 +160,20 @@ if ( ! function_exists( 'yit_plugin_fw_row_meta' ) ) {
|
|
155 |
}
|
156 |
|
157 |
if ( ! empty( $url ) && ! empty( $label ) ) {
|
158 |
-
$url =
|
159 |
$plugin_meta[] = sprintf( '<a href="%s" target="_blank"><span class="%s"></span>%s</a>', $url, $icon, $label );
|
160 |
}
|
161 |
}
|
162 |
|
163 |
-
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
166 |
return $plugin_meta;
|
167 |
}
|
65 |
* @since 3.0.17
|
66 |
*/
|
67 |
function yit_plugin_fw_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
68 |
+
if ( false === strstr( $plugin_file, 'yith' ) ) {
|
69 |
+
// Not an YITH plugin.
|
70 |
+
return $plugin_meta;
|
71 |
+
}
|
72 |
+
|
73 |
$base_uri = array(
|
74 |
'live_demo' => 'https://plugins.yithemes.com/',
|
75 |
'documentation' => 'https://docs.yithemes.com/',
|
160 |
}
|
161 |
|
162 |
if ( ! empty( $url ) && ! empty( $label ) ) {
|
163 |
+
$url = yith_plugin_fw_add_utm_data( $url, $slug, 'plugin-version-author-uri', 'wp-dashboard' );
|
164 |
$plugin_meta[] = sprintf( '<a href="%s" target="_blank"><span class="%s"></span>%s</a>', $url, $icon, $label );
|
165 |
}
|
166 |
}
|
167 |
|
168 |
+
if ( isset( $plugin_meta[1] ) ) {
|
169 |
+
$utm_author_uri = yith_plugin_fw_add_utm_data( $plugin_data['AuthorURI'], $slug, 'plugin-version-author-uri', 'wp-dashboard' );
|
170 |
+
$plugin_meta[1] = str_replace( $plugin_data['AuthorURI'], $utm_author_uri, $plugin_meta[1] );
|
171 |
+
}
|
172 |
+
|
173 |
+
if ( isset( $plugin_meta[2] ) ) {
|
174 |
+
$utm_plugin_uri = yith_plugin_fw_add_utm_data( $plugin_data['PluginURI'], $slug, 'plugin-version-author-uri', 'wp-dashboard' );
|
175 |
+
$plugin_meta[2] = str_replace( $plugin_data['PluginURI'], $utm_plugin_uri, $plugin_meta[2] );
|
176 |
+
}
|
177 |
|
178 |
return $plugin_meta;
|
179 |
}
|
README.txt → readme.txt
RENAMED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
|
5 |
Requires at least: 5.4.0
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -138,6 +138,10 @@ If you have created your own language pack for YITH WooCommerce Ajax Search, or
|
|
138 |
2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
|
139 |
|
140 |
== Changelog ==
|
|
|
|
|
|
|
|
|
141 |
= 1.8.9 - Released on 02 April 2021 =
|
142 |
* New: support for WooCommerce 5.2
|
143 |
* Update: YITH plugin framework
|
4 |
Tags: woocommerce search by sku, woocommerce search results, woocommerce search shortcode, woocommerce search page, woocommerce search form, woocommerce search filter, woocommerce search products, woocommerce search content, woocommerce search autocomplete, woocommerce advanced search, woocommerce search category, woocommerce search product attributes, woocommerce search by tag, woocommerce search by brand, woocommerce predictive, woocommerce live search, woocommerce single product search, woocommerce site search, woocommerce search tex, tajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
|
5 |
Requires at least: 5.4.0
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 1.9.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
138 |
2. YITH WooCommerce Ajax Search in operation displaying WooCommerce search results
|
139 |
|
140 |
== Changelog ==
|
141 |
+
= 1.9.0 - Released on 05 Maggio 2021 =
|
142 |
+
* New: support for WooCommerce 5.3
|
143 |
+
* Update: YITH plugin framework
|
144 |
+
|
145 |
= 1.8.9 - Released on 02 April 2021 =
|
146 |
* New: support for WooCommerce 5.2
|
147 |
* Update: YITH plugin framework
|
templates/admin/premium.php
CHANGED
@@ -1,23 +1,29 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Premium
|
4 |
*
|
5 |
-
* @author YITH
|
6 |
* @package YITH WooCommerce Ajax Search
|
7 |
-
* @
|
8 |
-
|
|
|
9 |
|
10 |
-
|
11 |
<style>
|
12 |
-
.
|
13 |
-
margin-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
-
|
|
|
18 |
text-align: center;
|
19 |
text-transform: uppercase;
|
20 |
-
color: #
|
21 |
font-size: 35px;
|
22 |
font-weight: 700;
|
23 |
line-height: normal;
|
@@ -25,306 +31,368 @@ global $yith_wcas; ?>
|
|
25 |
width: 100%;
|
26 |
margin: 50px 0 0;
|
27 |
}
|
28 |
-
|
29 |
-
|
30 |
-
}
|
31 |
-
.section:nth-child(even){
|
32 |
-
background-color: #fff;
|
33 |
-
}
|
34 |
-
.section:nth-child(odd){
|
35 |
-
background-color: #ffffff;
|
36 |
-
}
|
37 |
-
.section .section-title img{
|
38 |
-
display: inline-block;
|
39 |
-
vertical-align: middle;
|
40 |
-
width: auto;
|
41 |
-
margin-right: 15px;
|
42 |
-
}
|
43 |
-
.section .section-title h2,
|
44 |
-
.section .section-title h3 {
|
45 |
-
display: inline-block;
|
46 |
vertical-align: middle;
|
47 |
padding: 0;
|
|
|
48 |
font-size: 24px;
|
49 |
-
font-weight:
|
50 |
-
color: #
|
51 |
-
text-transform:
|
|
|
|
|
|
|
52 |
}
|
53 |
|
54 |
-
.section
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
59 |
}
|
60 |
|
61 |
-
.section
|
62 |
-
|
63 |
-
margin: 25px 0;
|
64 |
}
|
65 |
-
|
66 |
-
|
|
|
67 |
}
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
70 |
margin-left: auto;
|
71 |
margin-right: auto;
|
72 |
-
padding:
|
|
|
73 |
}
|
74 |
-
|
75 |
-
|
|
|
76 |
}
|
77 |
-
|
78 |
-
|
|
|
|
|
79 |
}
|
80 |
-
|
|
|
81 |
display: block;
|
82 |
clear: both;
|
83 |
content: '';
|
84 |
}
|
85 |
-
|
86 |
-
font-size: 25px;
|
87 |
-
line-height: 25px;
|
88 |
-
color: #808a97;
|
89 |
-
font-weight: 700;
|
90 |
-
text-transform: uppercase;
|
91 |
-
text-align: center;
|
92 |
-
margin-bottom: 65px;
|
93 |
-
}
|
94 |
-
.landing-container li{
|
95 |
-
display: table;
|
96 |
-
}
|
97 |
-
.landing-container li img{
|
98 |
-
display: table-cell;
|
99 |
-
vertical-align: middle;
|
100 |
-
}
|
101 |
-
.landing-container li span{
|
102 |
-
font-size: 17px;
|
103 |
-
line-height: 25px;
|
104 |
-
font-family: 'raleway';
|
105 |
-
color: #7d7d7d;
|
106 |
-
display: table-cell;
|
107 |
-
vertical-align: middle;
|
108 |
-
}
|
109 |
-
.landing-container h2:before{
|
110 |
-
content: '';
|
111 |
-
background-color: #d9dce0;
|
112 |
-
height: 1px;
|
113 |
-
width: 100%;
|
114 |
-
display: block;
|
115 |
-
margin-bottom: 65px;
|
116 |
-
}
|
117 |
.landing-container .col-1,
|
118 |
-
.landing-container .col-2{
|
119 |
float: left;
|
120 |
box-sizing: border-box;
|
121 |
padding: 0 15px;
|
122 |
}
|
123 |
-
|
124 |
-
|
|
|
125 |
}
|
126 |
-
|
127 |
-
|
|
|
128 |
}
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
131 |
}
|
132 |
-
|
133 |
-
|
134 |
-
color: #
|
135 |
-
border-radius:
|
136 |
-
padding:
|
|
|
|
|
|
|
|
|
|
|
137 |
}
|
138 |
-
|
|
|
139 |
content: '';
|
140 |
display: block;
|
141 |
clear: both;
|
142 |
}
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
display: inline-block;
|
148 |
-
|
149 |
}
|
150 |
-
|
151 |
-
|
152 |
-
border:
|
153 |
-
border-radius: 6px;
|
154 |
-
height: 60px;
|
155 |
float: right;
|
156 |
-
background:
|
157 |
box-shadow: none;
|
158 |
outline: none;
|
159 |
color: #fff;
|
160 |
position: relative;
|
161 |
-
padding:
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
}
|
|
|
163 |
.premium-cta a.button:hover,
|
164 |
.premium-cta a.button:active,
|
165 |
-
.premium-cta a.button:focus{
|
166 |
color: #fff;
|
167 |
-
background:
|
168 |
-
border-color: #971d00;
|
169 |
box-shadow: none;
|
170 |
outline: none;
|
171 |
}
|
172 |
-
|
173 |
-
|
174 |
-
}
|
175 |
-
.premium-cta a.button span{
|
176 |
-
line-height: 13px;
|
177 |
-
}
|
178 |
-
.premium-cta a.button .highlight{
|
179 |
-
display: block;
|
180 |
-
font-size: 20px;
|
181 |
-
font-weight: 700;
|
182 |
-
line-height: 20px;
|
183 |
-
}
|
184 |
-
.premium-cta .highlight{
|
185 |
text-transform: uppercase;
|
186 |
background: none;
|
187 |
-
font-weight:
|
188 |
-
color: #fff;
|
189 |
}
|
190 |
|
191 |
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
@media (min-width: 1200px){
|
197 |
-
.landing-container .col-1 img{
|
198 |
-
width: auto;
|
199 |
}
|
200 |
-
}
|
201 |
|
202 |
-
|
203 |
-
.landing-container .col-1{
|
204 |
-
width: 100%;
|
205 |
-
}
|
206 |
.landing-container .col-2{
|
|
|
207 |
width: 100%;
|
208 |
-
padding: 0 30px;
|
209 |
}
|
|
|
210 |
.premium-cta{
|
|
|
211 |
text-align: center;
|
212 |
}
|
|
|
213 |
.premium-cta p{
|
214 |
-
width: 100%;
|
215 |
text-align: center;
|
216 |
-
|
|
|
217 |
}
|
218 |
.premium-cta a.button{
|
219 |
float: none;
|
220 |
-
|
221 |
-
.landing-container.upgrade{
|
222 |
-
max-width: 466px;
|
223 |
}
|
224 |
}
|
225 |
|
226 |
-
@media (max-width: 480px){
|
227 |
-
.wrap{
|
228 |
margin-right: 0;
|
229 |
}
|
230 |
-
|
|
|
231 |
margin: 0;
|
232 |
}
|
|
|
233 |
.landing-container .col-1,
|
234 |
-
.landing-container .col-2{
|
235 |
width: 100%;
|
236 |
padding: 0 15px;
|
237 |
}
|
|
|
238 |
.section-odd .col-1 {
|
239 |
float: left;
|
240 |
margin-right: -100%;
|
241 |
}
|
|
|
242 |
.section-odd .col-2 {
|
243 |
float: right;
|
244 |
margin-top: 65%;
|
245 |
}
|
246 |
-
.landing-container.upgrade{
|
247 |
-
max-width: 100%;
|
248 |
-
}
|
249 |
}
|
250 |
|
251 |
-
@media (max-width: 320px){
|
252 |
-
.premium-cta a.button{
|
253 |
padding: 9px 20px 9px 70px;
|
254 |
}
|
255 |
|
256 |
-
.section .section-title img{
|
257 |
display: none;
|
258 |
}
|
259 |
}
|
260 |
</style>
|
261 |
<div class="landing">
|
262 |
<div class="section section-cta section-odd">
|
263 |
-
<div class="landing-container
|
264 |
<div class="premium-cta">
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
|
|
|
|
|
|
|
|
270 |
</a>
|
271 |
</div>
|
272 |
</div>
|
273 |
</div>
|
274 |
-
<div class="section section-even clear">
|
275 |
-
<h1><?php esc_html_e( 'Premium Features' ); ?></h1>
|
276 |
<div class="landing-container">
|
277 |
-
<h2><?php esc_html_e( 'HOW TO CUSTOMIZE THE RESULTS OF THE AUTOCOMPLETE' ); ?></h2>
|
278 |
<div class="col-1">
|
279 |
-
<img src="<?php echo esc_url(
|
280 |
</div>
|
281 |
<div class="col-2">
|
282 |
<div class="section-title">
|
283 |
-
<
|
284 |
-
<?php
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
<?php // translators: placeholders html tags. ?>
|
289 |
-
<li><img src="<?php echo esc_url( YITH_WCAS_ASSETS_IMAGES_URL ); ?>number-three.png" alt="3"/><span><?php echo wp_kses_post( sprintf( __( 'Show the %1$sproduct description%2$s', 'yith-woocommerce-ajax-search' ), '<b>', '</b>' ) ); ?></span></li>
|
290 |
-
<?php // translators: placeholders html tags. ?>
|
291 |
-
<li><img src="<?php echo esc_url( YITH_WCAS_ASSETS_IMAGES_URL ); ?>number-fourth.png" alt="4"/><span><?php echo wp_kses_post( sprintf( __( 'Tell to the client if the product is %1$son discount or is featured%2$s', 'yith-woocommerce-ajax-search' ), '<b>', '</b>' ) ); ?> </span></li>
|
292 |
-
</ul>
|
293 |
</div>
|
|
|
|
|
|
|
|
|
|
|
294 |
</div>
|
295 |
</div>
|
296 |
</div>
|
297 |
-
<div class="section clear">
|
298 |
<div class="landing-container">
|
299 |
-
<h2><?php esc_html_e( 'HOW TO CUSTOMIZE THE SEARCH OPTIONS' ); ?></h2>
|
300 |
<div class="col-2">
|
301 |
<div class="section-title">
|
302 |
-
<
|
303 |
-
<?php // translators: placeholders html tags. ?>
|
304 |
-
<li><img src="<?php echo esc_url( YITH_WCAS_ASSETS_IMAGES_URL ); ?>number-five.png" alt="5"/><span><?php echo wp_kses_post( sprintf( __( '%1$sExtend the research%2$s in the excerpt and in the content', 'yith-woocommerce-ajax-search' ), '<b>', '</b>' ) ); ?></span></li>
|
305 |
-
<?php // translators: placeholders html tags. ?>
|
306 |
-
<li><img src="<?php echo esc_url( YITH_WCAS_ASSETS_IMAGES_URL ); ?>number-six.png" alt="6"/><span><?php echo wp_kses_post( sprintf( __( '%1$sActivate%2$s the category search', 'yith-woocommerce-ajax-search' ), '<b>', '</b>' ) ); ?></span></li>
|
307 |
-
<?php // translators: placeholders html tags. ?>
|
308 |
-
<li><img src="<?php echo esc_url( YITH_WCAS_ASSETS_IMAGES_URL ); ?>number-seven.png" alt="7"/><span><?php echo wp_kses_post( sprintf( __( 'Configure the %1$stag%2$s search', 'yith-woocommerce-ajax-search' ), '<b>', '</b>' ) ); ?></span></li>
|
309 |
-
<?php // translators: placeholders html tags. ?>
|
310 |
-
<li><img src="<?php echo esc_url( YITH_WCAS_ASSETS_IMAGES_URL ); ?>number-eight.png" alt="8"/><span><?php echo wp_kses_post( sprintf( __( 'Search a product with an %1$sID%2$s', 'yith-woocommerce-ajax-search' ), '<b>', '</b>' ) ); ?></span></li>
|
311 |
-
|
312 |
-
</ul>
|
313 |
</div>
|
|
|
|
|
|
|
|
|
|
|
314 |
</div>
|
315 |
<div class="col-1">
|
316 |
-
<img src="<?php echo esc_url(
|
317 |
</div>
|
318 |
</div>
|
319 |
</div>
|
320 |
-
<div class="section section-
|
321 |
-
<div class="landing-container
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
<div class="premium-cta">
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
|
|
|
|
|
|
|
|
328 |
</a>
|
329 |
</div>
|
330 |
</div>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Premium page of YITH WooCommerce Ajax Search Premium
|
4 |
*
|
|
|
5 |
* @package YITH WooCommerce Ajax Search
|
6 |
+
* @since 1.0.0
|
7 |
+
* @author YITH
|
8 |
+
*/
|
9 |
|
10 |
+
?>
|
11 |
<style>
|
12 |
+
.landing {
|
13 |
+
margin-right: 15px;
|
14 |
+
border: 1px solid #d8d8d8;
|
15 |
+
border-top: 0;
|
16 |
+
}
|
17 |
+
|
18 |
+
.section {
|
19 |
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
20 |
+
background: #fafafa;
|
21 |
}
|
22 |
+
|
23 |
+
.section h1 {
|
24 |
text-align: center;
|
25 |
text-transform: uppercase;
|
26 |
+
color: #445674;
|
27 |
font-size: 35px;
|
28 |
font-weight: 700;
|
29 |
line-height: normal;
|
31 |
width: 100%;
|
32 |
margin: 50px 0 0;
|
33 |
}
|
34 |
+
|
35 |
+
.section .section-title h2 {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
vertical-align: middle;
|
37 |
padding: 0;
|
38 |
+
line-height: normal;
|
39 |
font-size: 24px;
|
40 |
+
font-weight: 600;
|
41 |
+
color: #445674;
|
42 |
+
text-transform: none;
|
43 |
+
background: none;
|
44 |
+
border: none;
|
45 |
+
text-align: center;
|
46 |
}
|
47 |
|
48 |
+
.section p {
|
49 |
+
margin: 15px 0;
|
50 |
+
font-size: 19px;
|
51 |
+
line-height: 32px;
|
52 |
+
font-weight: 300;
|
53 |
+
text-align: center;
|
54 |
}
|
55 |
|
56 |
+
.section ul li {
|
57 |
+
margin-bottom: 4px;
|
|
|
58 |
}
|
59 |
+
|
60 |
+
.section.section-cta {
|
61 |
+
background: #fff;
|
62 |
}
|
63 |
+
|
64 |
+
.cta-container,
|
65 |
+
.landing-container {
|
66 |
+
display: flex;
|
67 |
+
max-width: 1200px;
|
68 |
margin-left: auto;
|
69 |
margin-right: auto;
|
70 |
+
padding: 30px 0;
|
71 |
+
align-items: center;
|
72 |
}
|
73 |
+
|
74 |
+
.landing-container-wide {
|
75 |
+
flex-direction: column;
|
76 |
}
|
77 |
+
|
78 |
+
.cta-container {
|
79 |
+
display: block;
|
80 |
+
max-width: 860px;
|
81 |
}
|
82 |
+
|
83 |
+
.landing-container:after {
|
84 |
display: block;
|
85 |
clear: both;
|
86 |
content: '';
|
87 |
}
|
88 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
.landing-container .col-1,
|
90 |
+
.landing-container .col-2 {
|
91 |
float: left;
|
92 |
box-sizing: border-box;
|
93 |
padding: 0 15px;
|
94 |
}
|
95 |
+
|
96 |
+
.landing-container .col-1 {
|
97 |
+
width: 58.33333333%;
|
98 |
}
|
99 |
+
|
100 |
+
.landing-container .col-2 {
|
101 |
+
width: 41.66666667%;
|
102 |
}
|
103 |
+
|
104 |
+
.landing-container .col-1 img,
|
105 |
+
.landing-container .col-2 img,
|
106 |
+
.landing-container .col-wide img {
|
107 |
+
max-width: 100%;
|
108 |
}
|
109 |
+
|
110 |
+
.premium-cta {
|
111 |
+
color: #4b4b4b;
|
112 |
+
border-radius: 10px;
|
113 |
+
padding: 30px 25px;
|
114 |
+
display: flex;
|
115 |
+
align-items: center;
|
116 |
+
justify-content: space-between;
|
117 |
+
width: 100%;
|
118 |
+
box-sizing: border-box;
|
119 |
}
|
120 |
+
|
121 |
+
.premium-cta:after {
|
122 |
content: '';
|
123 |
display: block;
|
124 |
clear: both;
|
125 |
}
|
126 |
+
|
127 |
+
.premium-cta p {
|
128 |
+
margin: 10px 0;
|
129 |
+
line-height: 1.5em;
|
130 |
display: inline-block;
|
131 |
+
text-align: left;
|
132 |
}
|
133 |
+
|
134 |
+
.premium-cta a.button {
|
135 |
+
border-radius: 25px;
|
|
|
|
|
136 |
float: right;
|
137 |
+
background: #e09004;
|
138 |
box-shadow: none;
|
139 |
outline: none;
|
140 |
color: #fff;
|
141 |
position: relative;
|
142 |
+
padding: 10px 50px 8px;
|
143 |
+
text-align: center;
|
144 |
+
text-transform: uppercase;
|
145 |
+
font-weight: 600;
|
146 |
+
font-size: 20px;
|
147 |
+
line-height: 25px;
|
148 |
+
border: none;
|
149 |
}
|
150 |
+
|
151 |
.premium-cta a.button:hover,
|
152 |
.premium-cta a.button:active,
|
153 |
+
.wp-core-ui .yith-plugin-ui .premium-cta a.button:focus {
|
154 |
color: #fff;
|
155 |
+
background: #d28704;
|
|
|
156 |
box-shadow: none;
|
157 |
outline: none;
|
158 |
}
|
159 |
+
|
160 |
+
.premium-cta .highlight {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
text-transform: uppercase;
|
162 |
background: none;
|
163 |
+
font-weight: 500;
|
|
|
164 |
}
|
165 |
|
166 |
|
167 |
+
@media (max-width: 768px) {
|
168 |
+
.landing-container{
|
169 |
+
display: block;
|
170 |
+
padding: 50px 0 30px;
|
|
|
|
|
|
|
171 |
}
|
|
|
172 |
|
173 |
+
.landing-container .col-1,
|
|
|
|
|
|
|
174 |
.landing-container .col-2{
|
175 |
+
float: none;
|
176 |
width: 100%;
|
|
|
177 |
}
|
178 |
+
|
179 |
.premium-cta{
|
180 |
+
display: block;
|
181 |
text-align: center;
|
182 |
}
|
183 |
+
|
184 |
.premium-cta p{
|
|
|
185 |
text-align: center;
|
186 |
+
display: block;
|
187 |
+
margin-bottom: 30px;
|
188 |
}
|
189 |
.premium-cta a.button{
|
190 |
float: none;
|
191 |
+
display: inline-block;
|
|
|
|
|
192 |
}
|
193 |
}
|
194 |
|
195 |
+
@media (max-width: 480px) {
|
196 |
+
.wrap {
|
197 |
margin-right: 0;
|
198 |
}
|
199 |
+
|
200 |
+
.section {
|
201 |
margin: 0;
|
202 |
}
|
203 |
+
|
204 |
.landing-container .col-1,
|
205 |
+
.landing-container .col-2 {
|
206 |
width: 100%;
|
207 |
padding: 0 15px;
|
208 |
}
|
209 |
+
|
210 |
.section-odd .col-1 {
|
211 |
float: left;
|
212 |
margin-right: -100%;
|
213 |
}
|
214 |
+
|
215 |
.section-odd .col-2 {
|
216 |
float: right;
|
217 |
margin-top: 65%;
|
218 |
}
|
|
|
|
|
|
|
219 |
}
|
220 |
|
221 |
+
@media (max-width: 320px) {
|
222 |
+
.premium-cta a.button {
|
223 |
padding: 9px 20px 9px 70px;
|
224 |
}
|
225 |
|
226 |
+
.section .section-title img {
|
227 |
display: none;
|
228 |
}
|
229 |
}
|
230 |
</style>
|
231 |
<div class="landing">
|
232 |
<div class="section section-cta section-odd">
|
233 |
+
<div class="landing-container">
|
234 |
<div class="premium-cta">
|
235 |
+
<p>
|
236 |
+
<?php
|
237 |
+
// translators: placeholders html tag.
|
238 |
+
echo wp_kses_post( sprintf( __( 'Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Search%2$s to benefit from all features!', 'yith-woocommerce-ajax-search' ), '<span class="highlight">', '</span>' ) );
|
239 |
+
?>
|
240 |
+
</p>
|
241 |
+
<a href="<?php echo esc_url( $this->get_premium_landing_uri() ); ?>" target="_blank"
|
242 |
+
class="premium-cta-button button btn">
|
243 |
+
<?php esc_html_e( 'UPGRADE', 'yith-woocommerce-ajax-search' ); ?>
|
244 |
</a>
|
245 |
</div>
|
246 |
</div>
|
247 |
</div>
|
248 |
+
<div class="one section section-even clear">
|
249 |
+
<h1><?php esc_html_e( 'Premium Features', 'yith-woocommerce-ajax-search' ); ?></h1>
|
250 |
<div class="landing-container">
|
|
|
251 |
<div class="col-1">
|
252 |
+
<img src="<?php echo esc_url( YITH_WCAS_ASSETS_URL ); ?>/images/013.webp" alt="Feature 01"/>
|
253 |
</div>
|
254 |
<div class="col-2">
|
255 |
<div class="section-title">
|
256 |
+
<h2>
|
257 |
+
<?php
|
258 |
+
esc_html_e( 'Show a preview of the product', 'yith-woocommerce-ajax-search' );
|
259 |
+
?>
|
260 |
+
</h2>
|
|
|
|
|
|
|
|
|
|
|
261 |
</div>
|
262 |
+
<p>
|
263 |
+
<?php
|
264 |
+
esc_html_e( 'For better usability, you can show an image of the product and choose its position in the preview of search results', 'yith-woocommerce-ajax-search' );
|
265 |
+
?>
|
266 |
+
</p>
|
267 |
</div>
|
268 |
</div>
|
269 |
</div>
|
270 |
+
<div class="two section section-odd clear">
|
271 |
<div class="landing-container">
|
|
|
272 |
<div class="col-2">
|
273 |
<div class="section-title">
|
274 |
+
<h2><?php esc_html_e( 'Show the price of the product', 'yith-woocommerce-ajax-search' ); ?></h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
</div>
|
276 |
+
<p>
|
277 |
+
<?php
|
278 |
+
esc_html_e( 'Show also the price in the search results and highlight discounts and promotions', 'yith-woocommerce-ajax-search' );
|
279 |
+
?>
|
280 |
+
</p>
|
281 |
</div>
|
282 |
<div class="col-1">
|
283 |
+
<img src="<?php echo esc_url( YITH_WCAS_ASSETS_URL ); ?>/images/022.webp" alt="feature 02"/>
|
284 |
</div>
|
285 |
</div>
|
286 |
</div>
|
287 |
+
<div class="three section section-even clear">
|
288 |
+
<div class="landing-container">
|
289 |
+
<div class="col-1">
|
290 |
+
<img src="<?php echo esc_url( YITH_WCAS_ASSETS_URL ); ?>/images/033.webp" alt="Feature 03"/>
|
291 |
+
</div>
|
292 |
+
<div class="col-2">
|
293 |
+
<div class="section-title">
|
294 |
+
<h2>
|
295 |
+
<?php
|
296 |
+
esc_html_e( 'Show a brief description of the product', 'yith-woocommerce-ajax-search' );
|
297 |
+
?>
|
298 |
+
</h2>
|
299 |
+
</div>
|
300 |
+
<p>
|
301 |
+
<?php
|
302 |
+
esc_html_e( 'Give helpful information about the product immediately', 'yith-woocommerce-ajax-search' );
|
303 |
+
?>
|
304 |
+
</p>
|
305 |
+
</div>
|
306 |
+
</div>
|
307 |
+
</div>
|
308 |
+
<div class="four section section-odd clear">
|
309 |
+
<div class="landing-container">
|
310 |
+
<div class="col-2">
|
311 |
+
<div class="section-title">
|
312 |
+
<h2><?php esc_html_e( 'Highlight promotional products', 'yith-woocommerce-ajax-search' ); ?></h2>
|
313 |
+
</div>
|
314 |
+
<p>
|
315 |
+
<?php
|
316 |
+
esc_html_e( 'Add a customizable label to emphasize discounted and promotion products', 'yith-woocommerce-ajax-search' );
|
317 |
+
?>
|
318 |
+
</p>
|
319 |
+
</div>
|
320 |
+
<div class="col-1">
|
321 |
+
<img src="<?php echo esc_url( YITH_WCAS_ASSETS_URL ); ?>/images/043.webp" alt="Feature 04"/>
|
322 |
+
</div>
|
323 |
+
</div>
|
324 |
+
</div>
|
325 |
+
<div class="five section section-even clear">
|
326 |
+
<div class="landing-container">
|
327 |
+
<div class="col-1">
|
328 |
+
<img src="<?php echo esc_url( YITH_WCAS_ASSETS_URL ); ?>/images/052.webp" alt="Feature 05"/>
|
329 |
+
</div>
|
330 |
+
<div class="col-2">
|
331 |
+
<div class="section-title">
|
332 |
+
<h2>
|
333 |
+
<?php
|
334 |
+
esc_html_e( 'Extend the product search through tags, SKUs and categories', 'yith-woocommerce-ajax-search' );
|
335 |
+
?>
|
336 |
+
</h2>
|
337 |
+
</div>
|
338 |
+
<p>
|
339 |
+
<?php
|
340 |
+
esc_html_e( 'To make your products easier to find and to improve the quality of the user experience in your shop', 'yith-woocommerce-ajax-search' );
|
341 |
+
?>
|
342 |
+
</p>
|
343 |
+
</div>
|
344 |
+
</div>
|
345 |
+
</div>
|
346 |
+
|
347 |
+
<div class="six section section-odd clear">
|
348 |
+
<div class="landing-container">
|
349 |
+
<div class="col-2">
|
350 |
+
<div class="section-title">
|
351 |
+
<h2><?php esc_html_e( 'Show the search form in two different layouts', 'yith-woocommerce-ajax-search' ); ?></h2>
|
352 |
+
</div>
|
353 |
+
<p>
|
354 |
+
<?php
|
355 |
+
esc_html_e( 'A wide style in addition to the default one. The form will adjust to the whole width of the page', 'yith-woocommerce-ajax-search' );
|
356 |
+
?>
|
357 |
+
</p>
|
358 |
+
</div>
|
359 |
+
<div class="col-1">
|
360 |
+
<img src="<?php echo esc_url( YITH_WCAS_ASSETS_URL ); ?>/images/09.webp" alt="Feature 06"/>
|
361 |
+
</div>
|
362 |
+
</div>
|
363 |
+
</div>
|
364 |
+
|
365 |
+
<div class="eight section section-odd clear">
|
366 |
+
<div class="landing-container">
|
367 |
+
|
368 |
+
<div class="col-1">
|
369 |
+
<img src="<?php echo esc_url( YITH_WCAS_ASSETS_URL ); ?>/images/08.webp" alt="Feature 08"/>
|
370 |
+
</div>
|
371 |
+
<div class="col-2">
|
372 |
+
<div class="section-title">
|
373 |
+
<h2><?php esc_html_e( 'Search products by vendor', 'yith-woocommerce-ajax-search' ); ?></h2>
|
374 |
+
</div>
|
375 |
+
<p>
|
376 |
+
<?php
|
377 |
+
esc_html_e( 'By using the plugin in combination with YITH WooCommerce Multi Vendor', 'yith-woocommerce-ajax-search' );
|
378 |
+
?>
|
379 |
+
</p>
|
380 |
+
</div>
|
381 |
+
</div>
|
382 |
+
</div>
|
383 |
+
|
384 |
+
<div class="section section-cta section-even">
|
385 |
+
<div class="landing-container">
|
386 |
<div class="premium-cta">
|
387 |
+
<p>
|
388 |
+
<?php
|
389 |
+
// translators: placeholders html tag.
|
390 |
+
echo sprintf( esc_html( __( 'Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Search%2$s to benefit from all features!', 'yith-woocommerce-ajax-search' ) ), '<span class="highlight">', '</span>' );
|
391 |
+
?>
|
392 |
+
</p>
|
393 |
+
<a href="<?php echo esc_url( $this->get_premium_landing_uri() ); ?>" target="_blank"
|
394 |
+
class="premium-cta-button button btn">
|
395 |
+
<?php esc_html_e( 'UPGRADE', 'yith-woocommerce-ajax-search' ); ?>
|
396 |
</a>
|
397 |
</div>
|
398 |
</div>
|