Version Description
Released on 01 April 2021
- Fix: 'clear all' button on compare widget
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Compare |
Version | 2.4.7 |
Comparing to | |
See all releases |
Code changes from version 2.4.6 to 2.4.7
- README.txt +10 -8
- includes/class.yith-woocompare-frontend.php +2 -2
- init.php +3 -3
- plugin-fw/assets/css/metaboxes.css +0 -1
- plugin-fw/assets/css/yit-plugin-panel.css +9 -17
- plugin-fw/assets/css/yith-fields.css +118 -24
- plugin-fw/assets/css/yith-icon-font.css +0 -167
- plugin-fw/assets/css/yith-icon.css +275 -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/yit-plugin-panel.js +10 -17
- plugin-fw/assets/js/yit-plugin-panel.min.js +1 -1
- plugin-fw/assets/js/yith-fields.js +56 -9
- plugin-fw/assets/js/yith-fields.min.js +1 -1
- plugin-fw/dist/gutenberg/index.asset.php +1 -1
- plugin-fw/dist/gutenberg/index.js +1 -1
- plugin-fw/includes/builders/elementor/class-yith-elementor-widget.php +23 -7
- plugin-fw/includes/builders/gutenberg/src/common/actions-to-jquery-events.js +11 -5
- plugin-fw/includes/builders/gutenberg/src/common/checkForDeps.js +30 -5
- plugin-fw/includes/class-yit-assets.php +1 -1
- plugin-fw/includes/class-yit-plugin-panel.php +1 -1
- plugin-fw/init.php +2 -2
- plugin-fw/languages/yith-plugin-fw-el.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-el.po +13 -2
- plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-es_ES.po +15 -4
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +15 -4
- plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-nl_NL.po +23 -4
- plugin-fw/languages/yith-plugin-fw.pot +12 -2
- plugin-fw/templates/fields/copy-to-clipboard.php +47 -0
- plugin-fw/templates/fields/inline-fields.php +1 -1
- plugin-fw/yit-functions.php +25 -0
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: yith, woocommerce compare, compare products, product compare, product comparison
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 2.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -21,7 +21,7 @@ Also you can simply customize the compare table with your style, by editing the
|
|
21 |
|
22 |
Full documentation is available [here](https://docs.yithemes.com/yith-woocommerce-compare/).
|
23 |
|
24 |
-
This plugin is 100% compatible with [WPML](
|
25 |
|
26 |
|
27 |
= Installation =
|
@@ -32,7 +32,7 @@ This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_
|
|
32 |
|
33 |
= Configuration =
|
34 |
|
35 |
-
1. Add the features in each product by setting the attributes in
|
36 |
2. Configure the options in YIT Plugin -> Compare;
|
37 |
3. The user of your shop will click in the "Compare" button located in the single product page;
|
38 |
4. Will be open a popup with the compare table inside.
|
@@ -66,6 +66,10 @@ yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
69 |
= 2.4.6 = Released on 04 March 2021
|
70 |
|
71 |
* New: support for WordPress 5.7
|
@@ -436,12 +440,10 @@ Or, if you have created your own language pack, or have an update for an existin
|
|
436 |
|
437 |
== Documentation ==
|
438 |
|
439 |
-
Full documentation is available [here](
|
440 |
|
441 |
== Upgrade notice ==
|
442 |
|
443 |
-
= 2.4.
|
444 |
|
445 |
-
*
|
446 |
-
* New: support for WooCommerce 5.1
|
447 |
-
* Update: YITH plugin framework
|
4 |
Tags: yith, woocommerce compare, compare products, product compare, product comparison
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 2.4.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
21 |
|
22 |
Full documentation is available [here](https://docs.yithemes.com/yith-woocommerce-compare/).
|
23 |
|
24 |
+
This plugin is 100% compatible with [WPML](https://wpml.org/)
|
25 |
|
26 |
|
27 |
= Installation =
|
32 |
|
33 |
= Configuration =
|
34 |
|
35 |
+
1. Add the features in each product by setting the attributes in product configuration;
|
36 |
2. Configure the options in YIT Plugin -> Compare;
|
37 |
3. The user of your shop will click in the "Compare" button located in the single product page;
|
38 |
4. Will be open a popup with the compare table inside.
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 2.4.7 = Released on 01 April 2021
|
70 |
+
|
71 |
+
* Fix: 'clear all' button on compare widget
|
72 |
+
|
73 |
= 2.4.6 = Released on 04 March 2021
|
74 |
|
75 |
* New: support for WordPress 5.7
|
440 |
|
441 |
== Documentation ==
|
442 |
|
443 |
+
Full documentation is available [here](https://docs.yithemes.com/yith-woocommerce-compare/).
|
444 |
|
445 |
== Upgrade notice ==
|
446 |
|
447 |
+
= 2.4.7 = Released on 01 April 2021
|
448 |
|
449 |
+
* Fix: 'clear all' button on compare widget
|
|
|
|
includes/class.yith-woocompare-frontend.php
CHANGED
@@ -664,7 +664,7 @@ if ( ! class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
|
664 |
return;
|
665 |
}
|
666 |
|
667 |
-
$this->remove_product_from_compare(
|
668 |
// Redirect.
|
669 |
$redirect = esc_url( remove_query_arg( array( 'id', 'action' ) ) );
|
670 |
|
@@ -690,7 +690,7 @@ if ( ! class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
|
690 |
|
691 |
$lang = isset( $_REQUEST['lang'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['lang'] ) ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
692 |
|
693 |
-
$this->remove_product_from_compare(
|
694 |
|
695 |
do_action( 'yith_woocompare_remove_product_action_ajax' );
|
696 |
|
664 |
return;
|
665 |
}
|
666 |
|
667 |
+
$this->remove_product_from_compare( sanitize_text_field( wp_unslash( $_REQUEST['id'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
668 |
// Redirect.
|
669 |
$redirect = esc_url( remove_query_arg( array( 'id', 'action' ) ) );
|
670 |
|
690 |
|
691 |
$lang = isset( $_REQUEST['lang'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['lang'] ) ) : false; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
692 |
|
693 |
+
$this->remove_product_from_compare( sanitize_text_field( wp_unslash( $_REQUEST['id'] ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
694 |
|
695 |
do_action( 'yith_woocompare_remove_product_action_ajax' );
|
696 |
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
* Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
-
* Version: 2.4.
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-compare
|
@@ -13,7 +13,7 @@
|
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Compare
|
16 |
-
* @version 2.4.
|
17 |
*/
|
18 |
/* Copyright 2021 YITH (email : plugins@yithemes.com)
|
19 |
|
@@ -59,7 +59,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
|
59 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
60 |
|
61 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
62 |
-
define( 'YITH_WOOCOMPARE_VERSION', '2.4.
|
63 |
}
|
64 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
65 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
|
5 |
* Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
|
6 |
+
* Version: 2.4.7
|
7 |
* Author: YITH
|
8 |
* Author URI: https://yithemes.com/
|
9 |
* Text Domain: yith-woocommerce-compare
|
13 |
*
|
14 |
* @author YITH
|
15 |
* @package YITH WooCommerce Compare
|
16 |
+
* @version 2.4.7
|
17 |
*/
|
18 |
/* Copyright 2021 YITH (email : plugins@yithemes.com)
|
19 |
|
59 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
60 |
|
61 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
62 |
+
define( 'YITH_WOOCOMPARE_VERSION', '2.4.7' );
|
63 |
}
|
64 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
65 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
plugin-fw/assets/css/metaboxes.css
CHANGED
@@ -179,7 +179,6 @@
|
|
179 |
display : inline-block;
|
180 |
line-height : 23px;
|
181 |
width : auto;
|
182 |
-
vertical-align : middle;
|
183 |
margin : 0;
|
184 |
}
|
185 |
|
179 |
display : inline-block;
|
180 |
line-height : 23px;
|
181 |
width : auto;
|
|
|
182 |
margin : 0;
|
183 |
}
|
184 |
|
plugin-fw/assets/css/yit-plugin-panel.css
CHANGED
@@ -117,9 +117,9 @@
|
|
117 |
}
|
118 |
|
119 |
.yith-plugin-fw-wp-page-wrapper .wrap h1.wp-heading-inline {
|
120 |
-
color
|
121 |
-
font-size
|
122 |
-
font-weight
|
123 |
}
|
124 |
|
125 |
.yith-plugin-fw-wp-page-wrapper .wrap a.page-title-action,
|
@@ -514,9 +514,9 @@
|
|
514 |
}
|
515 |
|
516 |
#wpwrap h2.nav-tab-wrapper, #wpbody-content h2.nav-tab-wrapper {
|
517 |
-
border-bottom
|
518 |
-
margin-right
|
519 |
-
text-transform: uppercase;
|
520 |
}
|
521 |
|
522 |
/* === YIT FRAMEWORK === */
|
@@ -535,9 +535,7 @@
|
|
535 |
.yith-plugin-ui .yit-admin-panel-container {
|
536 |
position : relative;
|
537 |
margin-right : 15px;
|
538 |
-
margin-top : -3px;
|
539 |
z-index : 0;
|
540 |
-
border-top : 1px solid #dbdada;
|
541 |
}
|
542 |
|
543 |
.yit-admin-panel-content-wrap {
|
@@ -576,12 +574,11 @@
|
|
576 |
*/
|
577 |
.yith-plugin-ui .yith-plugin-fw-sub-tabs-nav {
|
578 |
background : #fff;
|
579 |
-
padding : 10px 14px
|
580 |
box-sizing : border-box;
|
581 |
margin-right : 15px;
|
582 |
border-left : 1px solid #d8d8d8;
|
583 |
border-right : 1px solid #d8d8d8;
|
584 |
-
margin-top : -2px;
|
585 |
}
|
586 |
|
587 |
.yith-plugin-ui .yith-plugin-fw-wp-page-wrapper .wrap {
|
@@ -683,13 +680,12 @@ li.yith-plugin-fw-tab-element {
|
|
683 |
margin : 0;
|
684 |
padding : 0;
|
685 |
display : inline-block;
|
686 |
-
height : 37px;
|
687 |
overflow : visible;
|
688 |
z-index : 10;
|
689 |
}
|
690 |
|
691 |
-
.yith-plugin-
|
692 |
-
margin-
|
693 |
}
|
694 |
|
695 |
li.yith-plugin-fw-tab-element:hover {
|
@@ -736,10 +732,6 @@ li.yith-plugin-fw-tab-element a.nav-tab i:before {
|
|
736 |
color : #fff;
|
737 |
}
|
738 |
|
739 |
-
.yith-plugin-fw-panel .woocommerce-page {
|
740 |
-
margin-top : -2px;
|
741 |
-
}
|
742 |
-
|
743 |
.yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .yit-admin-panel-container {
|
744 |
margin-top : 0;
|
745 |
padding-top : 0;
|
117 |
}
|
118 |
|
119 |
.yith-plugin-fw-wp-page-wrapper .wrap h1.wp-heading-inline {
|
120 |
+
color : #2a8db0;
|
121 |
+
font-size : 16px;
|
122 |
+
font-weight : 600;
|
123 |
}
|
124 |
|
125 |
.yith-plugin-fw-wp-page-wrapper .wrap a.page-title-action,
|
514 |
}
|
515 |
|
516 |
#wpwrap h2.nav-tab-wrapper, #wpbody-content h2.nav-tab-wrapper {
|
517 |
+
border-bottom : 1px solid #ccc;
|
518 |
+
margin-right : 15px;
|
519 |
+
text-transform : uppercase;
|
520 |
}
|
521 |
|
522 |
/* === YIT FRAMEWORK === */
|
535 |
.yith-plugin-ui .yit-admin-panel-container {
|
536 |
position : relative;
|
537 |
margin-right : 15px;
|
|
|
538 |
z-index : 0;
|
|
|
539 |
}
|
540 |
|
541 |
.yit-admin-panel-content-wrap {
|
574 |
*/
|
575 |
.yith-plugin-ui .yith-plugin-fw-sub-tabs-nav {
|
576 |
background : #fff;
|
577 |
+
padding : 10px 14px 0 20px;
|
578 |
box-sizing : border-box;
|
579 |
margin-right : 15px;
|
580 |
border-left : 1px solid #d8d8d8;
|
581 |
border-right : 1px solid #d8d8d8;
|
|
|
582 |
}
|
583 |
|
584 |
.yith-plugin-ui .yith-plugin-fw-wp-page-wrapper .wrap {
|
680 |
margin : 0;
|
681 |
padding : 0;
|
682 |
display : inline-block;
|
|
|
683 |
overflow : visible;
|
684 |
z-index : 10;
|
685 |
}
|
686 |
|
687 |
+
.yith-plugin-ui li.yith-plugin-fw-tab-element {
|
688 |
+
margin-bottom: -1px;
|
689 |
}
|
690 |
|
691 |
li.yith-plugin-fw-tab-element:hover {
|
732 |
color : #fff;
|
733 |
}
|
734 |
|
|
|
|
|
|
|
|
|
735 |
.yith-plugin-ui .yith-plugin-fw-sub-tabs-nav ~ .yit-admin-panel-container {
|
736 |
margin-top : 0;
|
737 |
padding-top : 0;
|
plugin-fw/assets/css/yith-fields.css
CHANGED
@@ -8,8 +8,10 @@
|
|
8 |
}
|
9 |
|
10 |
.yith-plugin-fw span.description.inline {
|
11 |
-
display
|
12 |
-
margin
|
|
|
|
|
13 |
}
|
14 |
|
15 |
.yith-disabled {
|
@@ -95,7 +97,8 @@
|
|
95 |
.yith-plugin-fw .select2-container .select2-search--inline .select2-search__field,
|
96 |
.woocommerce .yith-plugin-fw input.select2-search__field,
|
97 |
.woocommerce .yith-plugin-fw table.form-table input.select2-search__field {
|
98 |
-
padding
|
|
|
99 |
}
|
100 |
|
101 |
.yith-plugin-fw .select2-container .select2-selection--single .select2-selection__rendered {
|
@@ -530,18 +533,15 @@ YITH UI
|
|
530 |
}
|
531 |
|
532 |
.yith-plugin-ui .nav-tab {
|
533 |
-
margin-left : 0px;
|
534 |
-
margin-right : 2px;
|
535 |
background-color : #336374;
|
536 |
color : #fff;
|
537 |
font-size : 15px;
|
538 |
padding : 7px 20px;
|
539 |
border : 0;
|
|
|
540 |
transition : background-color 0.3s linear;
|
541 |
-
|
542 |
-
|
543 |
-
.yith-plugin-ui .nav-tab:first-child {
|
544 |
-
border-left : 1px solid #d9d9d9;
|
545 |
}
|
546 |
|
547 |
.yith-plugin-ui .nav-tab.yith-premium {
|
@@ -556,7 +556,11 @@ YITH UI
|
|
556 |
.yith-plugin-ui .nav-tab-active {
|
557 |
background-color : #fff;
|
558 |
color : #336374;
|
559 |
-
|
|
|
|
|
|
|
|
|
560 |
}
|
561 |
|
562 |
.yith-plugin-ui .nav-tab-active.yith-premium {
|
@@ -599,7 +603,7 @@ YITH UI
|
|
599 |
|
600 |
#wpwrap .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-ui h2.nav-tab-wrapper {
|
601 |
border : 0;
|
602 |
-
|
603 |
margin-right : 15px;
|
604 |
margin-bottom : 0;
|
605 |
background-color : transparent;
|
@@ -960,7 +964,7 @@ YITH UI
|
|
960 |
.yith-plugin-ui button.yith-plugin-fw-upload-button:before {
|
961 |
content : "\e90c";
|
962 |
font-family : 'yith-icon';
|
963 |
-
font-size :
|
964 |
font-weight : 400;
|
965 |
margin-right : 10px;
|
966 |
vertical-align : middle;
|
@@ -1301,6 +1305,12 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
|
|
1301 |
/**
|
1302 |
DATEPICKER
|
1303 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
1304 |
div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
1305 |
border : 0;
|
1306 |
box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
|
@@ -1513,7 +1523,7 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
1513 |
content : "\e91a";
|
1514 |
text-indent : 0;
|
1515 |
font-family : 'yith-icon';
|
1516 |
-
font-size :
|
1517 |
color : #d8d8d8;
|
1518 |
font-weight : normal;
|
1519 |
width : 15px;
|
@@ -2072,8 +2082,8 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
2072 |
.metaboxes-tab .yith-plugin-fw-dimensions__dimension__label,
|
2073 |
.yith-plugin-ui.metaboxes-tab label.yith-plugin-fw-dimensions__dimension__label {
|
2074 |
text-transform : uppercase;
|
2075 |
-
letter-spacing :
|
2076 |
-
font-size :
|
2077 |
margin-bottom : 5px;
|
2078 |
display : inline-block;
|
2079 |
}
|
@@ -2098,6 +2108,87 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
2098 |
border-color : #007694;
|
2099 |
}
|
2100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2101 |
|
2102 |
/** OVERRIDE WOOCOMMERCE CLASSES FOR 5.3 */
|
2103 |
.branch-5-3 .yith-plugin-fw .select2-container .select2-selection--single .select2-selection__arrow {
|
@@ -2254,13 +2345,16 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
2254 |
}
|
2255 |
|
2256 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
|
2257 |
-
width
|
2258 |
-
height
|
|
|
2259 |
}
|
2260 |
|
2261 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
|
2262 |
-
top
|
2263 |
-
left
|
|
|
|
|
2264 |
}
|
2265 |
|
2266 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:before, .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:before {
|
@@ -2268,15 +2362,15 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
|
2268 |
}
|
2269 |
|
2270 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after, .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after {
|
2271 |
-
font-size
|
2272 |
-
padding
|
2273 |
-
margin-top
|
2274 |
}
|
2275 |
|
2276 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after {
|
2277 |
font-size : 11px;
|
2278 |
-
padding-left :
|
2279 |
-
margin-top :
|
2280 |
}
|
2281 |
|
2282 |
.yith-plugin-fw .select2-container .select2-selection--single .select2-selection__rendered {
|
8 |
}
|
9 |
|
10 |
.yith-plugin-fw span.description.inline {
|
11 |
+
display : inline-block;
|
12 |
+
margin : 0 0 0 5px;
|
13 |
+
min-width : 0;
|
14 |
+
max-width : 100%;
|
15 |
}
|
16 |
|
17 |
.yith-disabled {
|
97 |
.yith-plugin-fw .select2-container .select2-search--inline .select2-search__field,
|
98 |
.woocommerce .yith-plugin-fw input.select2-search__field,
|
99 |
.woocommerce .yith-plugin-fw table.form-table input.select2-search__field {
|
100 |
+
padding : 3px;
|
101 |
+
min-width : 380px;
|
102 |
}
|
103 |
|
104 |
.yith-plugin-fw .select2-container .select2-selection--single .select2-selection__rendered {
|
533 |
}
|
534 |
|
535 |
.yith-plugin-ui .nav-tab {
|
|
|
|
|
536 |
background-color : #336374;
|
537 |
color : #fff;
|
538 |
font-size : 15px;
|
539 |
padding : 7px 20px;
|
540 |
border : 0;
|
541 |
+
margin : 0 4px 0 0;
|
542 |
transition : background-color 0.3s linear;
|
543 |
+
float : none;
|
544 |
+
display : inline-block;
|
|
|
|
|
545 |
}
|
546 |
|
547 |
.yith-plugin-ui .nav-tab.yith-premium {
|
556 |
.yith-plugin-ui .nav-tab-active {
|
557 |
background-color : #fff;
|
558 |
color : #336374;
|
559 |
+
box-shadow : 0 3px 0 -1px #fff;
|
560 |
+
}
|
561 |
+
|
562 |
+
.yith-plugin-ui .yith-plugin-fw-tab-element:first-child .nav-tab-active {
|
563 |
+
border-left : 1px solid #ddd;
|
564 |
}
|
565 |
|
566 |
.yith-plugin-ui .nav-tab-active.yith-premium {
|
603 |
|
604 |
#wpwrap .yith-plugin-ui h2.nav-tab-wrapper, #wpbody-content .yith-plugin-ui h2.nav-tab-wrapper {
|
605 |
border : 0;
|
606 |
+
border-bottom : 1px solid #ddd;
|
607 |
margin-right : 15px;
|
608 |
margin-bottom : 0;
|
609 |
background-color : transparent;
|
964 |
.yith-plugin-ui button.yith-plugin-fw-upload-button:before {
|
965 |
content : "\e90c";
|
966 |
font-family : 'yith-icon';
|
967 |
+
font-size : 17px;
|
968 |
font-weight : 400;
|
969 |
margin-right : 10px;
|
970 |
vertical-align : middle;
|
1305 |
/**
|
1306 |
DATEPICKER
|
1307 |
*/
|
1308 |
+
.yith-plugin-ui .yith-plugin-fw-datepicker + .yith-icon-calendar,
|
1309 |
+
.yith-plugin-fw-datepicker + .yith-icon-calendar {
|
1310 |
+
color : #ccc;
|
1311 |
+
font-size : 18px;
|
1312 |
+
}
|
1313 |
+
|
1314 |
div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
|
1315 |
border : 0;
|
1316 |
box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
|
1523 |
content : "\e91a";
|
1524 |
text-indent : 0;
|
1525 |
font-family : 'yith-icon';
|
1526 |
+
font-size : 16px;
|
1527 |
color : #d8d8d8;
|
1528 |
font-weight : normal;
|
1529 |
width : 15px;
|
2082 |
.metaboxes-tab .yith-plugin-fw-dimensions__dimension__label,
|
2083 |
.yith-plugin-ui.metaboxes-tab label.yith-plugin-fw-dimensions__dimension__label {
|
2084 |
text-transform : uppercase;
|
2085 |
+
letter-spacing : 1px;
|
2086 |
+
font-size : 9px;
|
2087 |
margin-bottom : 5px;
|
2088 |
display : inline-block;
|
2089 |
}
|
2108 |
border-color : #007694;
|
2109 |
}
|
2110 |
|
2111 |
+
/**
|
2112 |
+
* Copy to clipboard
|
2113 |
+
*/
|
2114 |
+
.yith-plugin-fw-copy-to-clipboard {
|
2115 |
+
background : #ffffff;
|
2116 |
+
border-radius : 8px;
|
2117 |
+
border : 1px solid #d8d8d8;
|
2118 |
+
display : flex;
|
2119 |
+
align-items : center;
|
2120 |
+
padding : 0 12px;
|
2121 |
+
max-width : 400px;
|
2122 |
+
box-sizing : border-box;
|
2123 |
+
}
|
2124 |
+
|
2125 |
+
.yith-plugin-fw-copy-to-clipboard.yith-plugin-fw-copy-to-clipboard--readonly {
|
2126 |
+
background : #f1f1f1;
|
2127 |
+
border : 1px dashed #cccccc;
|
2128 |
+
}
|
2129 |
+
|
2130 |
+
.yith-plugin-fw-copy-to-clipboard__field-wrap {
|
2131 |
+
position : relative;
|
2132 |
+
flex : 1;
|
2133 |
+
}
|
2134 |
+
|
2135 |
+
.yith-plugin-fw-copy-to-clipboard__tip {
|
2136 |
+
display : none;
|
2137 |
+
position : absolute;
|
2138 |
+
background : rgba(30, 30, 30, 0.9);
|
2139 |
+
color : #ffffff;
|
2140 |
+
padding : 7px 10px;
|
2141 |
+
border-radius : 3px;
|
2142 |
+
right : 8px;
|
2143 |
+
top : 50%;
|
2144 |
+
transform : translateY(-50%);
|
2145 |
+
pointer-events : none;
|
2146 |
+
font-size : 12px;
|
2147 |
+
line-height : 1;
|
2148 |
+
}
|
2149 |
+
|
2150 |
+
|
2151 |
+
.yith-plugin-fw-copy-to-clipboard input[type=text].yith-plugin-fw-copy-to-clipboard__field,
|
2152 |
+
.woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].yith-plugin-fw-copy-to-clipboard__field {
|
2153 |
+
height : 38px;
|
2154 |
+
width : 100%;
|
2155 |
+
background : transparent;
|
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,
|
2162 |
+
.woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table .yith-plugin-fw-copy-to-clipboard--readonly input[type=text].yith-plugin-fw-copy-to-clipboard__field {
|
2163 |
+
color : #999;
|
2164 |
+
cursor : default;
|
2165 |
+
}
|
2166 |
+
|
2167 |
+
.yith-plugin-fw-copy-to-clipboard__copy {
|
2168 |
+
display : flex;
|
2169 |
+
align-items : center;
|
2170 |
+
cursor : pointer;
|
2171 |
+
border-radius : 2px;
|
2172 |
+
padding : 1px;
|
2173 |
+
user-select : none;
|
2174 |
+
line-height : 1;
|
2175 |
+
transition : all .2s ease-in-out;
|
2176 |
+
}
|
2177 |
+
|
2178 |
+
.yith-plugin-fw-copy-to-clipboard__copy:hover {
|
2179 |
+
box-shadow : 0 0 0 4px rgba(15, 67, 60, .12);
|
2180 |
+
background-color : rgba(15, 67, 60, .12);
|
2181 |
+
}
|
2182 |
+
|
2183 |
+
.yith-plugin-fw-copy-to-clipboard__copy__text {
|
2184 |
+
font-size : 12px;
|
2185 |
+
font-weight : 600;
|
2186 |
+
}
|
2187 |
+
|
2188 |
+
.yith-plugin-fw-copy-to-clipboard__copy__icon {
|
2189 |
+
margin-right : 4px;
|
2190 |
+
font-size : 14px;
|
2191 |
+
}
|
2192 |
|
2193 |
/** OVERRIDE WOOCOMMERCE CLASSES FOR 5.3 */
|
2194 |
.branch-5-3 .yith-plugin-fw .select2-container .select2-selection--single .select2-selection__arrow {
|
2345 |
}
|
2346 |
|
2347 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span {
|
2348 |
+
width : 48px;
|
2349 |
+
height : 20px;
|
2350 |
+
padding : 2px;
|
2351 |
}
|
2352 |
|
2353 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:before {
|
2354 |
+
top : 4px;
|
2355 |
+
left : 3px;
|
2356 |
+
width : 10px;
|
2357 |
+
height : 10px;
|
2358 |
}
|
2359 |
|
2360 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:before, .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:before {
|
2362 |
}
|
2363 |
|
2364 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input:checked + span:after, .yith-plugin-ui.yith-plugin-fw-onoff-container input.onoffchecked + span:after {
|
2365 |
+
font-size : 11px;
|
2366 |
+
padding-right : 12px;
|
2367 |
+
margin-top : 0;
|
2368 |
}
|
2369 |
|
2370 |
.yith-plugin-ui .yith-plugin-fw-onoff-container input + span:after {
|
2371 |
font-size : 11px;
|
2372 |
+
padding-left : 12px;
|
2373 |
+
margin-top : 0;
|
2374 |
}
|
2375 |
|
2376 |
.yith-plugin-fw .select2-container .select2-selection--single .select2-selection__rendered {
|
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
ADDED
@@ -0,0 +1,275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* DO NOT EDIT THIS FILE DIRECTLY
|
3 |
+
* This file is automatically built using a build process
|
4 |
+
*/
|
5 |
+
|
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?f69afddd02decf49e86a8590fb21cefe");
|
10 |
+
src: url("../fonts/yith-icon.eot?f69afddd02decf49e86a8590fb21cefe#iefix") format("embedded-opentype"),
|
11 |
+
url("data:application/x-font-woff;charset=utf-8;base64,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") format("woff"),
|
12 |
+
url("../fonts/yith-icon.ttf?f69afddd02decf49e86a8590fb21cefe") format("truetype");
|
13 |
+
font-weight: 400;
|
14 |
+
font-style: normal;
|
15 |
+
}
|
16 |
+
/* stylelint-enable */
|
17 |
+
|
18 |
+
|
19 |
+
[class^="yith-icon-"], [class*=" yith-icon-"] {
|
20 |
+
font-family: yith-icon !important;
|
21 |
+
speak: never;
|
22 |
+
font-style: normal;
|
23 |
+
font-weight: normal;
|
24 |
+
font-variant: normal;
|
25 |
+
text-transform: none;
|
26 |
+
line-height: 1;
|
27 |
+
|
28 |
+
-webkit-font-smoothing: antialiased;
|
29 |
+
-moz-osx-font-smoothing: grayscale;
|
30 |
+
|
31 |
+
width: 1em;
|
32 |
+
height: 1em;
|
33 |
+
font-size: 20px;
|
34 |
+
}
|
35 |
+
|
36 |
+
/* Icons */
|
37 |
+
|
38 |
+
.yith-icon-accounting:before {
|
39 |
+
content: "\e91d";
|
40 |
+
}
|
41 |
+
|
42 |
+
.yith-icon-arrow-down:before {
|
43 |
+
content: "\e900";
|
44 |
+
}
|
45 |
+
|
46 |
+
.yith-icon-arrow-left:before {
|
47 |
+
content: "\e901";
|
48 |
+
}
|
49 |
+
|
50 |
+
.yith-icon-arrow-right:before {
|
51 |
+
content: "\e902";
|
52 |
+
}
|
53 |
+
|
54 |
+
.yith-icon-arrow-up:before {
|
55 |
+
content: "\e903";
|
56 |
+
}
|
57 |
+
|
58 |
+
.yith-icon-bank-check:before {
|
59 |
+
content: "\e91e";
|
60 |
+
}
|
61 |
+
|
62 |
+
.yith-icon-bank:before {
|
63 |
+
content: "\e91c";
|
64 |
+
}
|
65 |
+
|
66 |
+
.yith-icon-calendar-add:before {
|
67 |
+
content: "\e913";
|
68 |
+
}
|
69 |
+
|
70 |
+
.yith-icon-calendar-money:before {
|
71 |
+
content: "\e914";
|
72 |
+
}
|
73 |
+
|
74 |
+
.yith-icon-calendar:before {
|
75 |
+
content: "\e904";
|
76 |
+
}
|
77 |
+
|
78 |
+
.yith-icon-calendar2:before {
|
79 |
+
content: "\e915";
|
80 |
+
}
|
81 |
+
|
82 |
+
.yith-icon-cash:before {
|
83 |
+
content: "\e91f";
|
84 |
+
}
|
85 |
+
|
86 |
+
.yith-icon-check-circle:before {
|
87 |
+
content: "\e921";
|
88 |
+
}
|
89 |
+
|
90 |
+
.yith-icon-check:before {
|
91 |
+
content: "\e905";
|
92 |
+
}
|
93 |
+
|
94 |
+
.yith-icon-clone:before {
|
95 |
+
content: "\f105";
|
96 |
+
}
|
97 |
+
|
98 |
+
.yith-icon-close:before {
|
99 |
+
content: "\e906";
|
100 |
+
}
|
101 |
+
|
102 |
+
.yith-icon-copy:before {
|
103 |
+
content: "\f101";
|
104 |
+
}
|
105 |
+
|
106 |
+
.yith-icon-credit-card:before {
|
107 |
+
content: "\e920";
|
108 |
+
}
|
109 |
+
|
110 |
+
.yith-icon-drag:before {
|
111 |
+
content: "\e90f";
|
112 |
+
}
|
113 |
+
|
114 |
+
.yith-icon-edit:before {
|
115 |
+
content: "\e907";
|
116 |
+
}
|
117 |
+
|
118 |
+
.yith-icon-eye-closed:before {
|
119 |
+
content: "\e912";
|
120 |
+
}
|
121 |
+
|
122 |
+
.yith-icon-eye:before {
|
123 |
+
content: "\e911";
|
124 |
+
}
|
125 |
+
|
126 |
+
.yith-icon-info-squared:before {
|
127 |
+
content: "\e922";
|
128 |
+
}
|
129 |
+
|
130 |
+
.yith-icon-info:before {
|
131 |
+
content: "\e90e";
|
132 |
+
}
|
133 |
+
|
134 |
+
.yith-icon-magnifier:before {
|
135 |
+
content: "\e908";
|
136 |
+
}
|
137 |
+
|
138 |
+
.yith-icon-more:before {
|
139 |
+
content: "\f102";
|
140 |
+
}
|
141 |
+
|
142 |
+
.yith-icon-paypal:before {
|
143 |
+
content: "\e91b";
|
144 |
+
}
|
145 |
+
|
146 |
+
.yith-icon-pencil:before {
|
147 |
+
content: "\e909";
|
148 |
+
}
|
149 |
+
|
150 |
+
.yith-icon-people:before {
|
151 |
+
content: "\e916";
|
152 |
+
}
|
153 |
+
|
154 |
+
.yith-icon-plus:before {
|
155 |
+
content: "\e90a";
|
156 |
+
}
|
157 |
+
|
158 |
+
.yith-icon-reply:before {
|
159 |
+
content: "\e91a";
|
160 |
+
}
|
161 |
+
|
162 |
+
.yith-icon-reset:before {
|
163 |
+
content: "\e910";
|
164 |
+
}
|
165 |
+
|
166 |
+
.yith-icon-shield-money:before {
|
167 |
+
content: "\e917";
|
168 |
+
}
|
169 |
+
|
170 |
+
.yith-icon-time-check:before {
|
171 |
+
content: "\e918";
|
172 |
+
}
|
173 |
+
|
174 |
+
.yith-icon-trash:before {
|
175 |
+
content: "\e90d";
|
176 |
+
}
|
177 |
+
|
178 |
+
.yith-icon-update:before {
|
179 |
+
content: "\e90b";
|
180 |
+
}
|
181 |
+
|
182 |
+
.yith-icon-upload:before {
|
183 |
+
content: "\e90c";
|
184 |
+
}
|
185 |
+
|
186 |
+
.yith-icon-warning-triangle:before {
|
187 |
+
content: "\e923";
|
188 |
+
}
|
189 |
+
|
190 |
+
.yith-icon-world-settings:before {
|
191 |
+
content: "\e919";
|
192 |
+
}
|
193 |
+
|
194 |
+
.yith-icon-yith:before {
|
195 |
+
content: "\e924";
|
196 |
+
}
|
197 |
+
|
198 |
+
/** -------------------------------------------
|
199 |
+
* Deprecated icons
|
200 |
+
*/
|
201 |
+
|
202 |
+
/** Deprecated: use yith-icon-paypal instead */
|
203 |
+
.yith-icon-paypal-svgrepo-com:before {
|
204 |
+
content: "\e91b";
|
205 |
+
}
|
206 |
+
|
207 |
+
/** Deprecated: use yith-icon-arrow-down instead */
|
208 |
+
.yith-icon-arrow_down:before {
|
209 |
+
content: "\e900";
|
210 |
+
}
|
211 |
+
|
212 |
+
/** Deprecated: use yith-icon-eye instead */
|
213 |
+
.yith-icon-arrow_eye:before {
|
214 |
+
content: "\e911";
|
215 |
+
}
|
216 |
+
|
217 |
+
/** Deprecated: use yith-icon-eye-closed instead */
|
218 |
+
.yith-icon-arrow_eye_closed:before {
|
219 |
+
content: "\e912";
|
220 |
+
}
|
221 |
+
|
222 |
+
/** Deprecated: use yith-icon-arrow-left instead */
|
223 |
+
.yith-icon-arrow_left:before {
|
224 |
+
content: "\e901";
|
225 |
+
}
|
226 |
+
|
227 |
+
/** Deprecated: use yith-icon-arrow-right instead */
|
228 |
+
.yith-icon-arrow_right:before {
|
229 |
+
content: "\e902";
|
230 |
+
}
|
231 |
+
|
232 |
+
/** Deprecated: use yith-icon-arrow-up instead */
|
233 |
+
.yith-icon-arrow_up:before {
|
234 |
+
content: "\e903";
|
235 |
+
}
|
236 |
+
|
237 |
+
/** Deprecated: use yith-icon-calendar instead */
|
238 |
+
.yith-icon-calendar2:before {
|
239 |
+
content: "\e904";
|
240 |
+
}
|
241 |
+
|
242 |
+
/** Deprecated: use yith-icon-calendar-add instead */
|
243 |
+
.yith-icon-calendar_add:before {
|
244 |
+
content: "\e913";
|
245 |
+
}
|
246 |
+
|
247 |
+
/** Deprecated: use yith-icon-calendar-money instead */
|
248 |
+
.yith-icon-calendar_money:before {
|
249 |
+
content: "\e914";
|
250 |
+
}
|
251 |
+
|
252 |
+
/** Deprecated: use yith-icon-shield-money instead */
|
253 |
+
.yith-icon-shield_money:before {
|
254 |
+
content: "\e917";
|
255 |
+
}
|
256 |
+
|
257 |
+
/** Deprecated: use yith-icon-time-check instead */
|
258 |
+
.yith-icon-time_check:before {
|
259 |
+
content: "\e918";
|
260 |
+
}
|
261 |
+
|
262 |
+
/** Deprecated: use yith-icon-world-settings instead */
|
263 |
+
.yith-icon-world_settings:before {
|
264 |
+
content: "\e919";
|
265 |
+
}
|
266 |
+
|
267 |
+
/** Deprecated: use yith-icon-edit instead */
|
268 |
+
.yith-icon-pencil:before {
|
269 |
+
content: "\e907";
|
270 |
+
}
|
271 |
+
|
272 |
+
/** Deprecated: use yith-icon-reset instead */
|
273 |
+
.yith-icon-update:before {
|
274 |
+
content: "\e910";
|
275 |
+
}
|
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
ADDED
Binary file
|
plugin-fw/assets/js/yit-plugin-panel.js
CHANGED
@@ -113,23 +113,16 @@ jQuery( function ( $ ) {
|
|
113 |
// init field deps
|
114 |
t.addClass( 'deps-initialized' );
|
115 |
|
116 |
-
var field
|
117 |
-
dep
|
118 |
-
value
|
119 |
-
type
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
}
|
127 |
-
|
128 |
-
$( dep ).on( event, function () {
|
129 |
-
dependencies_handler( field, dep, value.toString(), type );
|
130 |
-
} ).trigger( event );
|
131 |
-
} );
|
132 |
-
}
|
133 |
|
134 |
init_dependencies();
|
135 |
// re-init deps after an add toggle action
|
113 |
// init field deps
|
114 |
t.addClass( 'deps-initialized' );
|
115 |
|
116 |
+
var field = '#' + t.data( 'dep-target' ),
|
117 |
+
dep = '#' + t.data( 'dep-id' ),
|
118 |
+
value = t.data( 'dep-value' ),
|
119 |
+
type = t.data( 'dep-type' );
|
120 |
+
|
121 |
+
$( dep ).on( 'change', function () {
|
122 |
+
dependencies_handler( field, dep, value.toString(), type );
|
123 |
+
} ).trigger( 'change' );
|
124 |
+
} );
|
125 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
|
127 |
init_dependencies();
|
128 |
// re-init deps after an add toggle action
|
plugin-fw/assets/js/yit-plugin-panel.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(e){function a(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var a=e(this);if(!a.closest(".metaboxes-tab").length){a.addClass("deps-initialized");var t="#"+a.data("dep-target"),i="#"+a.data("dep-id"),n=a.data("dep-value"),
|
1 |
+
jQuery(function(e){function a(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var a=e(this);if(!a.closest(".metaboxes-tab").length){a.addClass("deps-initialized");var t="#"+a.data("dep-target"),i="#"+a.data("dep-id"),n=a.data("dep-value"),d=a.data("dep-type");e(i).on("change",function(){!function(a,t,i,n){var d=!0;if("string"==typeof t){":radio"==t.substr(0,6)&&(t+=":checked");var s=e(t).data("type"),r=e(t).val();"checkbox"===s?r=e(t).is(":checked")?"yes":"no":"radio"===s&&(r=e(t).find('input[type="radio"]').filter(":checked").val()),"select-images"===e(t+"-wrapper").data("type")&&(r=e(t+"-wrapper").find("select").first().val()),i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){d=!0;break}d=!1}}var o=e(a),l=e(a+"-container").closest("tr");l.length<1&&(l=o.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var h,p=n.split("-");for(h in p){var u=p[h];if(d)switch(u){case"disable":l.removeClass("yith-disabled"),o.attr("disabled",!1);break;case"hide":case"hideNow":l.show();break;case"hideme":o.show();break;case"fadeOut":l.show();break;case"fadeInOut":case"fadeIn":default:l.show(500)}else switch(u){case"disable":l.addClass("yith-disabled"),o.attr("disabled",!0);break;case"hide":case"hideNow":l.hide();break;case"hideme":o.hide();break;case"fadeInOut":case"fadeOut":l.hide(500);break;case"fadeIn":default:l.hide()}}}(t,i,n.toString(),d)}).trigger("change")}})}a(),e(document).on("yith-add-box-button-toggle",a),e(".rm_connectedlist").each(function(){var a=e(this).find("ul"),t=e(this).find(":hidden");a.sortable({connectWith:a,update:function(i,n){var d={};a.each(function(){var a={};e(this).children().each(function(){a[e(this).data("option")]=e(this).text()}),d[e(this).data("list")]=a}),t.val(JSON.stringify(d).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var a=e("#"+e(this).data("textarea")).data("codemirrorInstance"),t="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";t+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",t+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",t+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",t+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",t+="ga('send', 'pageview');\n",a.replaceRange(t,a.getCursor("start"),a.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var t=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");if(i.addClass("inline"),t.length&&t.prepend(i),e(document).find(".yith-nav-sub-tab.nav-tab-active").length){var n=e(document).find(".yith-plugin-fw-wp-page-wrapper");if(n.length||(n=e(document).find("#wpbody-content > .yith-plugin-ui")),n)(t=n.find(".yit-admin-panel-content-wrap")).length?t.addClass("has-subnav"):n.find(".wrap").wrap('<div class="wrap subnav-wrap"></div>')}});
|
plugin-fw/assets/js/yith-fields.js
CHANGED
@@ -23,7 +23,9 @@
|
|
23 |
|
24 |
/* Datepicker */
|
25 |
$datepicker.each( function () {
|
26 |
-
var
|
|
|
|
|
27 |
|
28 |
// set animation to false to prevent style 'glitches' when removing class on closing
|
29 |
args.showAnim = false;
|
@@ -34,7 +36,12 @@
|
|
34 |
instance.dpDiv.removeClass( 'yith-plugin-fw-datepicker-div' );
|
35 |
};
|
36 |
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
38 |
} );
|
39 |
|
40 |
/* Colorpicker */
|
@@ -388,7 +395,7 @@
|
|
388 |
select = wrapper.find( 'select' ).first();
|
389 |
|
390 |
if ( select.length ) {
|
391 |
-
select.val( key ).trigger( 'yith_select_images_value_changed' );
|
392 |
items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
|
393 |
item.addClass( 'yith-plugin-fw-select-images__item--selected' );
|
394 |
}
|
@@ -427,20 +434,23 @@
|
|
427 |
/* on-off */
|
428 |
$( document ).on( 'click', '.yith-plugin-fw-onoff-container span', function () {
|
429 |
var input = $( this ).prev( 'input' ),
|
430 |
-
checked = input.prop( 'checked' ),
|
431 |
disabled = input.prop( 'disabled' );
|
432 |
|
433 |
if ( disabled ) {
|
434 |
return;
|
435 |
}
|
436 |
|
437 |
-
|
438 |
-
|
|
|
|
|
|
|
|
|
|
|
439 |
} else {
|
440 |
-
|
441 |
}
|
442 |
-
|
443 |
-
input.change();
|
444 |
} );
|
445 |
|
446 |
|
@@ -814,4 +824,41 @@
|
|
814 |
};
|
815 |
fw_dimensions.init();
|
816 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
817 |
} )( jQuery );
|
23 |
|
24 |
/* Datepicker */
|
25 |
$datepicker.each( function () {
|
26 |
+
var currentDatePicker = $( this ),
|
27 |
+
args = currentDatePicker.data(),
|
28 |
+
icon = currentDatePicker.next( '.yith-icon-calendar' );
|
29 |
|
30 |
// set animation to false to prevent style 'glitches' when removing class on closing
|
31 |
args.showAnim = false;
|
36 |
instance.dpDiv.removeClass( 'yith-plugin-fw-datepicker-div' );
|
37 |
};
|
38 |
|
39 |
+
currentDatePicker.datepicker( args );
|
40 |
+
if ( icon ) {
|
41 |
+
icon.on( 'click', function () {
|
42 |
+
currentDatePicker.datepicker( 'show' );
|
43 |
+
} )
|
44 |
+
}
|
45 |
} );
|
46 |
|
47 |
/* Colorpicker */
|
395 |
select = wrapper.find( 'select' ).first();
|
396 |
|
397 |
if ( select.length ) {
|
398 |
+
select.val( key ).trigger( 'yith_select_images_value_changed' ).trigger( 'change' );
|
399 |
items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
|
400 |
item.addClass( 'yith-plugin-fw-select-images__item--selected' );
|
401 |
}
|
434 |
/* on-off */
|
435 |
$( document ).on( 'click', '.yith-plugin-fw-onoff-container span', function () {
|
436 |
var input = $( this ).prev( 'input' ),
|
|
|
437 |
disabled = input.prop( 'disabled' );
|
438 |
|
439 |
if ( disabled ) {
|
440 |
return;
|
441 |
}
|
442 |
|
443 |
+
input.trigger( 'click' );
|
444 |
+
} );
|
445 |
+
|
446 |
+
// Useful for triggering deps when clicking on field label.
|
447 |
+
$( document ).on( 'click', '.yith-plugin-fw-onoff-container input', function ( e ) {
|
448 |
+
if ( $( this ).is( ':checked' ) ) {
|
449 |
+
$( this ).attr( 'value', 'yes' ).addClass( 'onoffchecked' );
|
450 |
} else {
|
451 |
+
$( this ).attr( 'value', 'no' ).removeClass( 'onoffchecked' );
|
452 |
}
|
453 |
+
$( this ).trigger( 'change' );
|
|
|
454 |
} );
|
455 |
|
456 |
|
824 |
};
|
825 |
fw_dimensions.init();
|
826 |
|
827 |
+
/**
|
828 |
+
* Copy to clip-board
|
829 |
+
*/
|
830 |
+
var clearSelection = function () {
|
831 |
+
var selection = 'getSelection' in window ? window.getSelection() : false;
|
832 |
+
if ( selection ) {
|
833 |
+
if ( 'empty' in selection ) { // Chrome.
|
834 |
+
selection.empty();
|
835 |
+
} else if ( 'removeAllRanges' in selection ) { // Firefox.
|
836 |
+
selection.removeAllRanges();
|
837 |
+
}
|
838 |
+
} else if ( 'selection' in document ) { // IE.
|
839 |
+
document.selection.empty();
|
840 |
+
}
|
841 |
+
}
|
842 |
+
|
843 |
+
$( document ).on( 'click', '.yith-plugin-fw-copy-to-clipboard__copy', function () {
|
844 |
+
var wrap = $( this ).closest( '.yith-plugin-fw-copy-to-clipboard' ),
|
845 |
+
input = wrap.find( '.yith-plugin-fw-copy-to-clipboard__field' ),
|
846 |
+
tip = wrap.find( '.yith-plugin-fw-copy-to-clipboard__tip' ),
|
847 |
+
timeout = wrap.data( 'tip-timeout' );
|
848 |
+
|
849 |
+
timeout && clearTimeout( timeout );
|
850 |
+
|
851 |
+
input.select();
|
852 |
+
document.execCommand( 'copy' );
|
853 |
+
clearSelection();
|
854 |
+
|
855 |
+
tip.fadeIn( 400 );
|
856 |
+
|
857 |
+
// Use timeout instead of delay to prevent issues with multiple clicks.
|
858 |
+
timeout = setTimeout( function () {
|
859 |
+
tip.fadeOut( 400 );
|
860 |
+
}, 1500 );
|
861 |
+
wrap.data( 'tip-timeout', timeout );
|
862 |
+
} )
|
863 |
+
|
864 |
} )( jQuery );
|
plugin-fw/assets/js/yith-fields.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){e(document).on("yith_fields_init",function(){var t=e(".yith-plugin-fw-datepicker"),i=e(".yith-plugin-fw-colorpicker"),n={imgPreviewHandler:".yith-plugin-fw-upload-img-preview",uploadButtonHandler:".yith-plugin-fw-upload-button",imgUrlHandler:".yith-plugin-fw-upload-img-url",resetButtonHandler:".yith-plugin-fw-upload-button-reset",imgUrl:e(".yith-plugin-fw-upload-img-url")},a=e(".add_media"),l={rootSelector:".yith-plugin-fw-image-gallery",buttonSelector:".yith-plugin-fw-image-gallery .image-gallery-button",sliderWrapper:e(".yith-plugin-fw-image-gallery ul.slides-wrapper")},o=e(".yith-plugin-fw-sidebar-layout"),s=e(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),r=e(".yit-icons-manager-wrapper");e(".yith-plugin-ui td.forminp-checkbox");t.each(function(){var t=e(this).data();t.showAnim=!1,t.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},t.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},e(this).datepicker(t)}),i.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.change()}}),i.each(function(){var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(n.imgUrl.change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(n.imgPreviewHandler).first();a.length<1&&(a=e(this).parent().parent().find(n.imgPreviewHandler).first()),i.test(t)?a.html('<img src="'+t+'" style="max-width:100px; max-height:100px;" />'):a.html("")}).trigger("change"),e(document).on("click",n.uploadButtonHandler,function(t){t.preventDefault();var i,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(i)i.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),n.imgUrl.trigger("change")}),i.open()}}),e(document).on("click",n.resetButtonHandler,function(t){var i=e(this),a=i.attr("id").replace(/(\[|\])/g,"\\$1"),l=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),o=e("#"+a).data("default");e("#"+l).val(o),n.imgUrl.trigger("change")}));a.on("click",function(){}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("click",l.buttonSelector,function(t){var i=e(this),n=i.closest(l.rootSelector),a=n.find(".image_gallery_ids"),o=a.val(),s=n.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:i.data("choose"),button:{text:i.data("update")},states:[new wp.media.controller.Library({title:i.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){(e=e.toJSON()).id&&(o=o?o+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+i.data("delete")+'">x</a></li></ul></li>'))}),a.val(o),a.trigger("change")}),r.open()}),l.sliderWrapper.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(i,n){var a="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");a=a+t+","}),t.closest(l.rootSelector).find(".image_gallery_ids").val(a)}})}),l.sliderWrapper.on("click","a.delete",function(t){t.preventDefault();var i=e(this).closest(l.rootSelector),n=i.find("ul.slides-wrapper"),a=i.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),n.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),a.val(o)})),o.each(function(){e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),s.each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),l=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+l)}})}),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),r.each(function(){var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),d=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",d),n.val(o+":"+d),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document.body).trigger("wc-enhanced-select-init"),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("yith-framework-enhanced-select-init")}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input"),i=t.prop("checked");t.prop("disabled")||(i?t.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):t.prop("checked",!0).attr("value","yes").addClass("onoffchecked"),t.change())}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var d=wp.template("yith-toggle-element-item-"+n),c=e(d({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(c).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(c).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(c).find("#"+n).val(a)}}),e(c).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,c,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(c),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).val(e(this).data("value")),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var t={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var i=t;e(document).on("click",i.selectors.units.single,i.unitChange),e(document).on("click",i.selectors.linked.button,i.linkedChange),e(document).on("change keyup",i.selectors.dimensions.number,i.numberChange)},unitChange:function(i){var n=e(this).closest(t.selectors.units.single),a=n.closest(t.selectors.units.wrapper),l=a.find(t.selectors.units.single),o=a.find(t.selectors.units.value).first(),s=n.data("value");l.removeClass(t.selectors.units.selectedClass),n.addClass(t.selectors.units.selectedClass),o.val(s)},linkedChange:function(){var i=e(this).closest(t.selectors.linked.button),n=i.closest(t.selectors.wrapper),a=i.find(t.selectors.linked.value);"yes"===a.val()?(n.removeClass(t.selectors.linked.wrapperActiveClass),a.val("no")):(n.addClass(t.selectors.linked.wrapperActiveClass),a.val("yes"),n.find(t.selectors.dimensions.number).first().trigger("change"))},numberChange:function(i){var n=e(this).closest(t.selectors.dimensions.number),a=n.closest(t.selectors.wrapper);a.hasClass(t.selectors.linked.wrapperActiveClass)&&a.find(t.selectors.dimensions.number).val(n.val())}};t.init()}(jQuery);
|
1 |
+
!function(e){e(document).on("yith_fields_init",function(){var t=e(".yith-plugin-fw-datepicker"),i=e(".yith-plugin-fw-colorpicker"),n={imgPreviewHandler:".yith-plugin-fw-upload-img-preview",uploadButtonHandler:".yith-plugin-fw-upload-button",imgUrlHandler:".yith-plugin-fw-upload-img-url",resetButtonHandler:".yith-plugin-fw-upload-button-reset",imgUrl:e(".yith-plugin-fw-upload-img-url")},a=e(".add_media"),l={rootSelector:".yith-plugin-fw-image-gallery",buttonSelector:".yith-plugin-fw-image-gallery .image-gallery-button",sliderWrapper:e(".yith-plugin-fw-image-gallery ul.slides-wrapper")},o=e(".yith-plugin-fw-sidebar-layout"),s=e(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),r=e(".yit-icons-manager-wrapper");e(".yith-plugin-ui td.forminp-checkbox");t.each(function(){var t=e(this),i=t.data(),n=t.next(".yith-icon-calendar");i.showAnim=!1,i.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},i.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},t.datepicker(i),n&&n.on("click",function(){t.datepicker("show")})}),i.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.change()}}),i.each(function(){var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),n=e(this).closest(".yith-single-colorpicker"),a=i.find(".wp-picker-input-wrap"),l=n.find(".wp-picker-input-wrap");if(a.length&&i.find("a.wp-color-result").attr("title",t),n.length&&n.find("a.wp-color-result").attr("title",t),!a.find(".wp-picker-default-custom").length){var o=e("<span/>").attr({"class":"wp-picker-default-custom"});a.find(".wp-picker-default").wrap(o)}l.find(".wp-picker-default-custom").length||(o=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(o))}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(n.imgUrl.change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),a=e(this).parent().find(n.imgPreviewHandler).first();a.length<1&&(a=e(this).parent().parent().find(n.imgPreviewHandler).first()),i.test(t)?a.html('<img src="'+t+'" style="max-width:100px; max-height:100px;" />'):a.html("")}).trigger("change"),e(document).on("click",n.uploadButtonHandler,function(t){t.preventDefault();var i,a=e(this).attr("id").replace(/-button$/,"").replace(/(\[|\])/g,"\\$1");if(i)i.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+a).val(t.url),e("#"+a+"-yith-attachment-id")&&e("#"+a+"-yith-attachment-id").val(t.id),n.imgUrl.trigger("change")}),i.open()}}),e(document).on("click",n.resetButtonHandler,function(t){var i=e(this),a=i.attr("id").replace(/(\[|\])/g,"\\$1"),l=i.attr("id").replace(/-button-reset$/,"").replace(/(\[|\])/g,"\\$1"),o=e("#"+a).data("default");e("#"+l).val(o),n.imgUrl.trigger("change")}));a.on("click",function(){}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("click",l.buttonSelector,function(t){var i=e(this),n=i.closest(l.rootSelector),a=n.find(".image_gallery_ids"),o=a.val(),s=n.find("ul.slides-wrapper"),r=wp.media.frames.image_gallery=wp.media({title:i.data("choose"),button:{text:i.data("update")},states:[new wp.media.controller.Library({title:i.data("choose"),filterable:"all",multiple:!0})]});r.on("select",function(){r.state().get("selection").map(function(e){(e=e.toJSON()).id&&(o=o?o+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+i.data("delete")+'">x</a></li></ul></li>'))}),a.val(o),a.trigger("change")}),r.open()}),l.sliderWrapper.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(i,n){var a="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");a=a+t+","}),t.closest(l.rootSelector).find(".image_gallery_ids").val(a)}})}),l.sliderWrapper.on("click","a.delete",function(t){t.preventDefault();var i=e(this).closest(l.rootSelector),n=i.find("ul.slides-wrapper"),a=i.find(".image_gallery_ids"),o="";e(this).closest("li.image").remove(),n.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");o=o+t+","}),a.val(o)})),o.each(function(){e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),n=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),a=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==a)switch(a){case"left":i.show(),n.hide();break;case"right":n.show(),i.hide();break;case"double":i.show(),n.show();break;default:i.hide(),n.hide()}})}),s.each(function(){var t=e(this).data("val"),i=e(this).data("min"),n=e(this).data("max"),a=e(this).data("step"),l=e(this).data("labels");e(this).slider({value:t,min:i,max:n,range:"min",step:a,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+l)}})}),e(function(){e(document).on("yith-plugin-fw-codemirror-init",function(){"undefined"!=typeof wp&&"undefined"!=typeof wp.codeEditor&&e(".codemirror:not(.codemirror--initialized)").each(function(){var t=e(this).data("settings"),i=wp.codeEditor.initialize(e(this),t);e(this).addClass("codemirror--initialized"),e(this).data("codemirrorInstance",i)})}).trigger("yith-plugin-fw-codemirror-init")}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),r.each(function(){var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),n=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(a){var l=e(a.target).closest("li"),o=l.data("font"),s=l.data("icon"),r=l.data("key"),d=l.data("name");i.attr("data-font",o),i.attr("data-icon",s),i.attr("data-key",r),i.attr("data-name",d),n.val(o+":"+d),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),n=t.closest(".yith-plugin-fw-select-images__wrapper"),a=n.find(".yith-plugin-fw-select-images__item"),l=n.find("select").first();l.length&&(l.val(i).trigger("yith_select_images_value_changed").trigger("change"),a.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document.body).trigger("wc-enhanced-select-init"),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var n=jQuery(".ui-sortable-handle"),a=0,l=new Array;for(a=0;a<n.length;a++)l[a]=e(n[a]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("yith-framework-enhanced-select-init")}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("disabled")||t.trigger("click")}),e(document).on("click",".yith-plugin-fw-onoff-container input",function(t){e(this).is(":checked")?e(this).attr("value","yes").addClass("onoffchecked"):e(this).attr("value","no").removeClass("onoffchecked"),e(this).trigger("change")}),e.fn.saveToggleElement=function(t,i){var n=e(this),a="yith_plugin_fw_save_toggle_element",l=n.serializeToggleElement(),o=n.find(".yith-toggle_wrapper"),s=o.attr("id"),r=e.urlParam("tab");l.append("security",o.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),n.closest(".metaboxes-tab.yith-plugin-ui").length?(a="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+a+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+s+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+a+"&tab="+r+"&toggle_id="+s,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,n])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,n=e(t).find(":input").serializeArray();return e.each(n,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),n=t.find("span.title").data("title_format"),a=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==n)var o=n.match(l);if(void 0!==a)var s=a.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)))}),""!==n&&t.find("span.title").html(n),""!==a&&t.find(".subtitle").html(a),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),n=i.closest(".yith-toggle-row"),a=n.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;n.is(".yith-toggle-row-opened")?a.slideUp(400):a.slideDown(400),n.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),n=i.data("box_id"),a=i.data("closed_label"),l=i.data("opened_label"),o=i.closest(".yith-toggle_wrapper").attr("id"),s=wp.template("yith-toggle-element-add-box-content-"+o);""!==n&&(e("#"+n).html(s({index:"box_id"})).slideToggle(),""!==a&&(i.html()===a?i.html(l).removeClass("closed"):i.html(a).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),n=e(this).closest(".yith-toggle_wrapper").attr("id"),a=i.find(".spinner"),l=e(this).parents(".toggle-element"),o=i.find(":input"),s=0,r=e('<input type="hidden">');l.find(".yith-toggle-row").each(function(){var t=parseInt(e(this).data("item_key"));s<=t&&(s=t+1)}),r.val(s),e(document).trigger("yith-toggle-change-counter",[r,i]),s=r.val();var d=wp.template("yith-toggle-element-item-"+n),c=e(d({index:s}));a.addClass("show"),e.each(o,function(t,i){if(void 0!==e(i).attr("id")){var n=e(i).attr("id"),a=e(i).val();n="radio"===e(i).attr("type")?(n=(n=e(i).closest(".yith-plugin-fw-radio").attr("id")).replace("new_","")+"_"+s)+"-"+a:n.replace("new_","")+"_"+s,e(i).is(":checked")&&e(c).find("#"+n).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(c).find("#"+n).html(e("#"+e(i).attr("id")).html()),e(c).find("#"+n).val(a)}}),e(c).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,c,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(c),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),n=e(this).closest(".yith-toggle-row"),a=n.find(".spinner");n.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,n,l]),"yes"===l.val()&&(a.addClass("show"),i.saveToggleElement(a))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){var t=e(this).closest(".yith-plugin-fw-radio"),i=e(this).val();t.val(i).data("value",i).trigger("change")}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).val(e(this).data("value")),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var t={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var i=t;e(document).on("click",i.selectors.units.single,i.unitChange),e(document).on("click",i.selectors.linked.button,i.linkedChange),e(document).on("change keyup",i.selectors.dimensions.number,i.numberChange)},unitChange:function(i){var n=e(this).closest(t.selectors.units.single),a=n.closest(t.selectors.units.wrapper),l=a.find(t.selectors.units.single),o=a.find(t.selectors.units.value).first(),s=n.data("value");l.removeClass(t.selectors.units.selectedClass),n.addClass(t.selectors.units.selectedClass),o.val(s)},linkedChange:function(){var i=e(this).closest(t.selectors.linked.button),n=i.closest(t.selectors.wrapper),a=i.find(t.selectors.linked.value);"yes"===a.val()?(n.removeClass(t.selectors.linked.wrapperActiveClass),a.val("no")):(n.addClass(t.selectors.linked.wrapperActiveClass),a.val("yes"),n.find(t.selectors.dimensions.number).first().trigger("change"))},numberChange:function(i){var n=e(this).closest(t.selectors.dimensions.number),a=n.closest(t.selectors.wrapper);a.hasClass(t.selectors.linked.wrapperActiveClass)&&a.find(t.selectors.dimensions.number).val(n.val())}};t.init();e(document).on("click",".yith-plugin-fw-copy-to-clipboard__copy",function(){var t,i=e(this).closest(".yith-plugin-fw-copy-to-clipboard"),n=i.find(".yith-plugin-fw-copy-to-clipboard__field"),a=i.find(".yith-plugin-fw-copy-to-clipboard__tip"),l=i.data("tip-timeout");l&&clearTimeout(l),n.select(),document.execCommand("copy"),(t="getSelection"in window&&window.getSelection())?"empty"in t?t.empty():"removeAllRanges"in t&&t.removeAllRanges():"selection"in document&&document.selection.empty(),a.fadeIn(400),l=setTimeout(function(){a.fadeOut(400)},1500),i.data("tip-timeout",l)})}(jQuery);
|
plugin-fw/dist/gutenberg/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => '0cd18d6eb6a3a162b564625f29f7b9b6');
|
plugin-fw/dist/gutenberg/index.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[]).push([[1],{27:function(e,t,n){},28:function(e,t,n){}}]),function(e){function t(t){for(var r,a,l=t[0],i=t[1],s=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(u&&u(t);p.length;)p.shift()();return c.push.apply(c,s||[]),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 s=0;s<l.length;s++)t(l[s]);var u=i;c.push([29,1]),n()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},function(e,t,n){var r=n(17),o=n(18),c=n(19),a=n(21);e.exports=function(e,t){return r(e)||o(e,t)||c(e,t)||a()}},function(e,t){e.exports=window.wp.hooks},function(e,t,n){var r,o,c,a,l;r=n(22),o=n(9).utf8,c=n(23),a=n(9).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):c(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),i=8*e.length,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[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=s,v=u,_=f,w=p;s=b(s,u,f,p,n[h+0],7,-680876936),p=b(p,s,u,f,n[h+1],12,-389564586),f=b(f,p,s,u,n[h+2],17,606105819),u=b(u,f,p,s,n[h+3],22,-1044525330),s=b(s,u,f,p,n[h+4],7,-176418897),p=b(p,s,u,f,n[h+5],12,1200080426),f=b(f,p,s,u,n[h+6],17,-1473231341),u=b(u,f,p,s,n[h+7],22,-45705983),s=b(s,u,f,p,n[h+8],7,1770035416),p=b(p,s,u,f,n[h+9],12,-1958414417),f=b(f,p,s,u,n[h+10],17,-42063),u=b(u,f,p,s,n[h+11],22,-1990404162),s=b(s,u,f,p,n[h+12],7,1804603682),p=b(p,s,u,f,n[h+13],12,-40341101),f=b(f,p,s,u,n[h+14],17,-1502002290),s=d(s,u=b(u,f,p,s,n[h+15],22,1236535329),f,p,n[h+1],5,-165796510),p=d(p,s,u,f,n[h+6],9,-1069501632),f=d(f,p,s,u,n[h+11],14,643717713),u=d(u,f,p,s,n[h+0],20,-373897302),s=d(s,u,f,p,n[h+5],5,-701558691),p=d(p,s,u,f,n[h+10],9,38016083),f=d(f,p,s,u,n[h+15],14,-660478335),u=d(u,f,p,s,n[h+4],20,-405537848),s=d(s,u,f,p,n[h+9],5,568446438),p=d(p,s,u,f,n[h+14],9,-1019803690),f=d(f,p,s,u,n[h+3],14,-187363961),u=d(u,f,p,s,n[h+8],20,1163531501),s=d(s,u,f,p,n[h+13],5,-1444681467),p=d(p,s,u,f,n[h+2],9,-51403784),f=d(f,p,s,u,n[h+7],14,1735328473),s=y(s,u=d(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+w>>>0}return r.endian([s,u,f,p])})._ff=function(e,t,n,r,o,c,a){var l=e+(t&n|~t&r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._gg=function(e,t,n,r,o,c,a){var l=e+(t&r|n&~r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._hh=function(e,t,n,r,o,c,a){var l=e+(t^n^r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._ii=function(e,t,n,r,o,c,a){var l=e+(n^(t|~r))+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(l(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(24);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,c=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}return n}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],c=0;c<4;c++)8*r+6*c<=8*e.length?t.push(n.charAt(o>>>6*(3-c)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,function(e,t,n){"use strict";n.r(t);var r=n(3),o=n.n(r),c=n(0),a=n(2),l=n(5),i=n.n(l),s=n(10),u=n(11);function f(e){if(e.status>=200&&e.status<300)return e;throw e}function p(e){return e.json?e.json():e.text()}var h=Object(c.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},Object(c.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"})),b=function(e,t){var n=e.controlType,r=!0;if(e.deps&&e.deps.id&&"value"in e.deps){var o=e.deps.value;"toggle"!==n&&"checkbox"!==n||(o=!0===o||"yes"===o||1===o),r=void 0!==t[e.deps.id]&&o===t[e.deps.id]}return r},d=function(e,t){var n="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)n=r(t,e);else{var c=e.attributes?Object.entries(e.attributes).map((function(e){var n=o()(e,2),r=n[0],c=n[1],a=b(c,t),l=t[r];if(a&&void 0!==l)return r+"="+(c.remove_quotes?l:'"'.concat(l,'"'))})):[],a=c.length?" "+c.join(" "):"";n="[".concat(e.shortcode_name).concat(a,"]")}return n},y=n(1),g=n(6),m=n(12),v=n.n(m),_=n(13),w=n.n(_),j=n(14),x=n.n(j),O=n(15),C=n.n(O),k=n(8),E=n.n(k),S=n(16),T=n(4);n(27);var A=function(e){x()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=E()(t);if(n){var o=E()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return C()(this,e)});function o(){var e;return v()(this,o),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1},e.ajaxTimeout=!1,e}return w()(o,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.shortcode,c=r.shortcodeHash,a=r.ajaxSuccess,l=r.ajaxResponse,i=r.ajaxUpdated;Object(S.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&i&&(a&&Object(T.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,c,l),Object(T.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,c,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,n=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var o=d(r,n),c=i()(o);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(T.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,c),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(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,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,s=a.empty_message,u="block-editor-yith-plugin-fw-shortcode-block",f=[u],p=l?"html":"shortcode",b=t,d="";l&&!t&&(p="empty-html",b=r,s&&(d=s));var g=["shortcode","empty-html"].includes(p),m="empty-html"!==p,v=!!d;return f.push("".concat(u,"--").concat(p)),f.push("".concat(u,v?"--has-message":"--no-message")),f.push("yith_block_".concat(o)),Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:f.join(" ")},n?Object(c.createElement)("div",{className:"".concat(u,"__spinner-wrap")},Object(c.createElement)(y.Spinner,null)):"",g&&Object(c.createElement)("div",{className:"".concat(u,"__title components-placeholder__label")},h,i),v&&Object(c.createElement)(c.RawHTML,{className:"".concat(u,"__message")},d),m&&Object(c.createElement)(c.RawHTML,{className:"".concat(u,"__content")},b)))}}]),o}(a.Component),B=n(7);function N(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.disableAlpha,i=Object(B.useInstanceId)(N),s="inspector-yith-color-picker-control-".concat(i);return Object(c.createElement)(y.BaseControl,{id:s,label:n,className:"block-editor-yith-color-control ".concat(t),help:a},Object(c.createElement)(y.ColorPicker,{color:o,disableAlpha:l,onChangeComplete:r}))}function R(e){var t=e.label,n=e.colorValue;return Object(c.createElement)(c.Fragment,null,t,!!n&&Object(c.createElement)(y.ColorIndicator,{colorValue:n}))}function P(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.palette,i=e.clearable;l=l||Object(g.__experimentalUseEditorFeature)("color.palette");var s=Object(B.useInstanceId)(P),u="inspector-yith-color-palette-control-".concat(s);return Object(c.createElement)(y.BaseControl,{id:u,className:"block-editor-yith-color-palette-control ".concat(t),help:a},Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",null,Object(c.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(c.createElement)(y.BaseControl.VisualLabel,null,Object(c.createElement)(R,{colorValue:o,label:n})))),Object(c.createElement)(y.ColorPalette,{value:o,onChange:r,colors:l,clearable:i})))}n(28);for(var M=function(e,t){return function(n){var r=n.attributes,a=(n.className,n.setAttributes),l=function(e,t,n){["colorpicker","color"].includes(n)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,a(r)};return Object(c.createElement)(c.Fragment,null,!!t.attributes&&Object(c.createElement)(g.InspectorControls,null,Object(c.createElement)(y.PanelBody,null,Object.entries(t.attributes).map((function(t){var n=o()(t,2),a=function(t,n){var o=n.controlType,a=r[t],i=function(e,t){var n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n}(n,a),s="".concat(e,"__").concat(t,"-field-wrapper"),u=b(n,r);n.wrapper_class&&(s+=" "+n.wrapper_class);var f=!1;if(u)switch(o){case"select":f=Object(c.createElement)(y.SelectControl,{className:s,key:t,value:a,label:n.label,options:n.options,selected:a,help:i,multiple:!!n.multiple,onChange:function(e){l(e,t,o)}});break;case"text":f=Object(c.createElement)(y.TextControl,{className:s,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"textarea":f=Object(c.createElement)(y.TextareaControl,{className:s,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"toggle":f=Object(c.createElement)(y.ToggleControl,{className:s,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"checkbox":f=Object(c.createElement)(y.CheckboxControl,{className:s,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"number":case"range":f=Object(c.createElement)(y.RangeControl,{className:s,key:t,value:a,label:n.label,help:i,min:n.min,max:n.max,onChange:function(e){l(e,t,o)}});break;case"color":case"colorpicker":f=Object(c.createElement)(N,{className:s,key:t,label:n.label,help:i,value:a,disableAlpha:n.disableAlpha,onChange:function(e){l(e,t,o)}});break;case"color-palette":f=Object(c.createElement)(P,{className:s,key:t,label:n.label,help:i,value:a,clearable:n.clearable||!1,onChange:function(e){l(e,t,o)}});break;case"radio":f=Object(c.createElement)(y.RadioControl,{key:t,value:a,label:n.label,options:n.options,selected:a,checked:a,help:i,onChange:function(e){l(e,t,o)}});break;default:f=!1}return f}(n[0],n[1]);if(a)return a})))),Object(c.createElement)(A,{attributes:r,blockArgs:t}))}},I=function(){var e=U[H];Object(T.addAction)(e,"yith-plugin-fw/jquery-events",(function(){if("jQuery"in window){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];jQuery(document).trigger(e,Object.values(n))}}))},H=0,U=["yith_plugin_fw_gutenberg_before_do_shortcode","yith_plugin_fw_gutenberg_success_do_shortcode","yith_plugin_fw_gutenberg_after_do_shortcode"];H<U.length;H++)I();for(var L=function(){var e=o()(F[Q],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:M(t,n),save:function(e){var t=e.attributes;return d(n,t)},deprecated:[{attributes:n.attributes,save:function(e){var t=e.attributes,r=d(n,t),o='<span class="yith_block_'+i()(r)+'">'+r+"</span>";return Object(c.createElement)(c.RawHTML,null,o)}}]})},Q=0,F=Object.entries(yithGutenbergBlocks);Q<F.length;Q++)L()}]);
|
1 |
+
(window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[]).push([[1],{27:function(e,t,n){},28:function(e,t,n){}}]),function(e){function t(t){for(var r,a,l=t[0],i=t[1],u=t[2],f=0,p=[];f<l.length;f++)a=l[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);for(s&&s(t);p.length;)p.shift()();return c.push.apply(c,u||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,l=1;l<n.length;l++){var i=n[l];0!==o[i]&&(r=!1)}r&&(c.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={0:0},c=[];function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var l=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],i=l.push.bind(l);l.push=t,l=l.slice();for(var u=0;u<l.length;u++)t(l[u]);var s=i;c.push([29,1]),n()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},function(e,t,n){var r=n(17),o=n(18),c=n(19),a=n(21);e.exports=function(e,t){return r(e)||o(e,t)||c(e,t)||a()}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.lodash},function(e,t,n){var r,o,c,a,l;r=n(22),o=n(10).utf8,c=n(23),a=n(10).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):c(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),i=8*e.length,u=1732584193,s=-271733879,f=-1732584194,p=271733878,h=0;h<n.length;h++)n[h]=16711935&(n[h]<<8|n[h]>>>24)|4278255360&(n[h]<<24|n[h]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var b=l._ff,d=l._gg,y=l._hh,g=l._ii;for(h=0;h<n.length;h+=16){var m=u,v=s,_=f,j=p;u=b(u,s,f,p,n[h+0],7,-680876936),p=b(p,u,s,f,n[h+1],12,-389564586),f=b(f,p,u,s,n[h+2],17,606105819),s=b(s,f,p,u,n[h+3],22,-1044525330),u=b(u,s,f,p,n[h+4],7,-176418897),p=b(p,u,s,f,n[h+5],12,1200080426),f=b(f,p,u,s,n[h+6],17,-1473231341),s=b(s,f,p,u,n[h+7],22,-45705983),u=b(u,s,f,p,n[h+8],7,1770035416),p=b(p,u,s,f,n[h+9],12,-1958414417),f=b(f,p,u,s,n[h+10],17,-42063),s=b(s,f,p,u,n[h+11],22,-1990404162),u=b(u,s,f,p,n[h+12],7,1804603682),p=b(p,u,s,f,n[h+13],12,-40341101),f=b(f,p,u,s,n[h+14],17,-1502002290),u=d(u,s=b(s,f,p,u,n[h+15],22,1236535329),f,p,n[h+1],5,-165796510),p=d(p,u,s,f,n[h+6],9,-1069501632),f=d(f,p,u,s,n[h+11],14,643717713),s=d(s,f,p,u,n[h+0],20,-373897302),u=d(u,s,f,p,n[h+5],5,-701558691),p=d(p,u,s,f,n[h+10],9,38016083),f=d(f,p,u,s,n[h+15],14,-660478335),s=d(s,f,p,u,n[h+4],20,-405537848),u=d(u,s,f,p,n[h+9],5,568446438),p=d(p,u,s,f,n[h+14],9,-1019803690),f=d(f,p,u,s,n[h+3],14,-187363961),s=d(s,f,p,u,n[h+8],20,1163531501),u=d(u,s,f,p,n[h+13],5,-1444681467),p=d(p,u,s,f,n[h+2],9,-51403784),f=d(f,p,u,s,n[h+7],14,1735328473),u=y(u,s=d(s,f,p,u,n[h+12],20,-1926607734),f,p,n[h+5],4,-378558),p=y(p,u,s,f,n[h+8],11,-2022574463),f=y(f,p,u,s,n[h+11],16,1839030562),s=y(s,f,p,u,n[h+14],23,-35309556),u=y(u,s,f,p,n[h+1],4,-1530992060),p=y(p,u,s,f,n[h+4],11,1272893353),f=y(f,p,u,s,n[h+7],16,-155497632),s=y(s,f,p,u,n[h+10],23,-1094730640),u=y(u,s,f,p,n[h+13],4,681279174),p=y(p,u,s,f,n[h+0],11,-358537222),f=y(f,p,u,s,n[h+3],16,-722521979),s=y(s,f,p,u,n[h+6],23,76029189),u=y(u,s,f,p,n[h+9],4,-640364487),p=y(p,u,s,f,n[h+12],11,-421815835),f=y(f,p,u,s,n[h+15],16,530742520),u=g(u,s=y(s,f,p,u,n[h+2],23,-995338651),f,p,n[h+0],6,-198630844),p=g(p,u,s,f,n[h+7],10,1126891415),f=g(f,p,u,s,n[h+14],15,-1416354905),s=g(s,f,p,u,n[h+5],21,-57434055),u=g(u,s,f,p,n[h+12],6,1700485571),p=g(p,u,s,f,n[h+3],10,-1894986606),f=g(f,p,u,s,n[h+10],15,-1051523),s=g(s,f,p,u,n[h+1],21,-2054922799),u=g(u,s,f,p,n[h+8],6,1873313359),p=g(p,u,s,f,n[h+15],10,-30611744),f=g(f,p,u,s,n[h+6],15,-1560198380),s=g(s,f,p,u,n[h+13],21,1309151649),u=g(u,s,f,p,n[h+4],6,-145523070),p=g(p,u,s,f,n[h+11],10,-1120210379),f=g(f,p,u,s,n[h+2],15,718787259),s=g(s,f,p,u,n[h+9],21,-343485551),u=u+m>>>0,s=s+v>>>0,f=f+_>>>0,p=p+j>>>0}return r.endian([u,s,f,p])})._ff=function(e,t,n,r,o,c,a){var l=e+(t&n|~t&r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._gg=function(e,t,n,r,o,c,a){var l=e+(t&r|n&~r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._hh=function(e,t,n,r,o,c,a){var l=e+(t^n^r)+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._ii=function(e,t,n,r,o,c,a){var l=e+(n^(t|~r))+(o>>>0)+a;return(l<<c|l>>>32-c)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(l(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(24);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,c=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}return n}}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],c=0;c<4;c++)8*r+6*c<=8*e.length?t.push(n.charAt(o>>>6*(3-c)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,function(e,t,n){"use strict";n.r(t);var r=n(3),o=n.n(r),c=n(0),a=n(2),l=n(6),i=n.n(l),u=n(11),s=n(12);function f(e){if(e.status>=200&&e.status<300)return e;throw e}function p(e){return e.json?e.json():e.text()}var h=Object(c.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},Object(c.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"})),b=n(5),d=n.n(b),y=function(e,t,n){var r=!0;if(t&&t.id&&"value"in t){var o=t.value;["toggle","checkbox"].includes(n)&&(o=!0===o||"yes"===o||1===o),o=d.a.isArray(o)?o:[o],r=void 0!==e[t.id]&&o.includes(e[t.id])}return r},g=function(e,t){var n=e.controlType,r=!0;if(e.deps)if(d.a.isArray(e.deps))for(var o in e.deps){var c=e.deps[o];if(!(r=y(t,c,n)))break}else r=y(t,e.deps,n);return r},m=function(e,t){var n="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)n=r(t,e);else{var c=e.attributes?Object.entries(e.attributes).map((function(e){var n=o()(e,2),r=n[0],c=n[1],a=g(c,t),l=t[r];if(a&&void 0!==l)return r+"="+(c.remove_quotes?l:'"'.concat(l,'"'))})):[],a=c.length?" "+c.join(" "):"";n="[".concat(e.shortcode_name).concat(a,"]")}return n},v=n(1),_=n(7),j=n(13),w=n.n(j),k=n(14),x=n.n(k),O=n(15),C=n.n(O),E=n(16),S=n.n(E),T=n(9),A=n.n(T),B=n(4);n(27);var N=function(e){C()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=A()(t);if(n){var o=A()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return S()(this,e)});function o(){var e;return w()(this,o),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1},e.ajaxTimeout=!1,e}return x()(o,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.shortcode,c=r.shortcodeHash,a=r.ajaxSuccess,l=r.ajaxResponse,i=r.ajaxUpdated;Object(b.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&i&&(a&&Object(B.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,c,l),Object(B.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,c,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,n=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var o=m(r,n),c=i()(o);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(B.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,c),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(s.addQueryArgs)(t,e),fetch(t).then(f).then(p)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((function(t){e.setState({loading:!1,html:t.html,shortcode:o,shortcodeHash:c,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,html:o,shortcode:o,shortcodeHash:c})}},{key:"render",value:function(){var e=this.state,t=e.html,n=e.loading,r=e.shortcode,o=e.shortcodeHash,a=this.props.blockArgs,l=a.do_shortcode,i=a.title,u=a.empty_message,s="block-editor-yith-plugin-fw-shortcode-block",f=[s],p=l?"html":"shortcode",b=t,d="";l&&!t&&(p="empty-html",b=r,u&&(d=u));var y=["shortcode","empty-html"].includes(p),g="empty-html"!==p,m=!!d;return f.push("".concat(s,"--").concat(p)),f.push("".concat(s,m?"--has-message":"--no-message")),f.push("yith_block_".concat(o)),Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:f.join(" ")},n?Object(c.createElement)("div",{className:"".concat(s,"__spinner-wrap")},Object(c.createElement)(v.Spinner,null)):"",y&&Object(c.createElement)("div",{className:"".concat(s,"__title components-placeholder__label")},h,i),m&&Object(c.createElement)(c.RawHTML,{className:"".concat(s,"__message")},d),g&&Object(c.createElement)(c.RawHTML,{className:"".concat(s,"__content")},b)))}}]),o}(a.Component),R=n(8);function P(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.disableAlpha,i=Object(R.useInstanceId)(P),u="inspector-yith-color-picker-control-".concat(i);return Object(c.createElement)(v.BaseControl,{id:u,label:n,className:"block-editor-yith-color-control ".concat(t),help:a},Object(c.createElement)(v.ColorPicker,{color:o,disableAlpha:l,onChangeComplete:r}))}function M(e){var t=e.label,n=e.colorValue;return Object(c.createElement)(c.Fragment,null,t,!!n&&Object(c.createElement)(v.ColorIndicator,{colorValue:n}))}function I(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,a=e.help,l=e.palette,i=e.clearable;l=l||Object(_.__experimentalUseEditorFeature)("color.palette");var u=Object(R.useInstanceId)(I),s="inspector-yith-color-palette-control-".concat(u);return Object(c.createElement)(v.BaseControl,{id:s,className:"block-editor-yith-color-palette-control ".concat(t),help:a},Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",null,Object(c.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(c.createElement)(v.BaseControl.VisualLabel,null,Object(c.createElement)(M,{colorValue:o,label:n})))),Object(c.createElement)(v.ColorPalette,{value:o,onChange:r,colors:l,clearable:i})))}n(28);for(var H=function(e,t){return function(n){var r=n.attributes,a=(n.className,n.setAttributes),l=function(e,t,n){["colorpicker","color"].includes(n)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,a(r)};return Object(c.createElement)(c.Fragment,null,!!t.attributes&&Object(c.createElement)(_.InspectorControls,null,Object(c.createElement)(v.PanelBody,null,Object.entries(t.attributes).map((function(t){var n=o()(t,2),a=function(t,n){var o=n.controlType,a=r[t],i=function(e,t){var n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n}(n,a),u="".concat(e,"__").concat(t,"-field-wrapper"),s=g(n,r);n.wrapper_class&&(u+=" "+n.wrapper_class);var f=!1;if(s)switch(o){case"select":f=Object(c.createElement)(v.SelectControl,{className:u,key:t,value:a,label:n.label,options:n.options,selected:a,help:i,multiple:!!n.multiple,onChange:function(e){l(e,t,o)}});break;case"text":f=Object(c.createElement)(v.TextControl,{className:u,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"textarea":f=Object(c.createElement)(v.TextareaControl,{className:u,key:t,value:a,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"toggle":f=Object(c.createElement)(v.ToggleControl,{className:u,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"checkbox":f=Object(c.createElement)(v.CheckboxControl,{className:u,key:t,value:a,label:n.label,help:i,checked:a,onChange:function(e){l(e,t,o)}});break;case"number":case"range":f=Object(c.createElement)(v.RangeControl,{className:u,key:t,value:a,label:n.label,help:i,min:n.min,max:n.max,onChange:function(e){l(e,t,o)}});break;case"color":case"colorpicker":f=Object(c.createElement)(P,{className:u,key:t,label:n.label,help:i,value:a,disableAlpha:n.disableAlpha,onChange:function(e){l(e,t,o)}});break;case"color-palette":f=Object(c.createElement)(I,{className:u,key:t,label:n.label,help:i,value:a,clearable:n.clearable||!1,onChange:function(e){l(e,t,o)}});break;case"radio":f=Object(c.createElement)(v.RadioControl,{key:t,value:a,label:n.label,options:n.options,selected:a,checked:a,help:i,onChange:function(e){l(e,t,o)}});break;default:f=!1}return f}(n[0],n[1]);if(a)return a})))),Object(c.createElement)(N,{attributes:r,blockArgs:t}))}},U=function(){var e=L[Q];Object(B.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}))},Q=0,L=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];Q<L.length;Q++)U();for(var F=function(){var e=o()(J[D],2),t=e[0],n=e[1];Object(u.registerBlockType)("yith/"+t,{title:n.title,description:n.description,category:n.category,attributes:n.attributes,icon:void 0!==n.icon?n.icon:h,keywords:n.keywords,edit:H(t,n),save:function(e){var t=e.attributes;return m(n,t)},deprecated:[{attributes:n.attributes,save:function(e){var t=e.attributes,r=m(n,t),o='<span class="yith_block_'+i()(r)+'">'+r+"</span>";return Object(c.createElement)(c.RawHTML,null,o)}}]})},D=0,J=Object.entries(yithGutenbergBlocks);D<J.length;D++)F()}]);
|
plugin-fw/includes/builders/elementor/class-yith-elementor-widget.php
CHANGED
@@ -401,15 +401,31 @@ if ( ! class_exists( 'YITH_Elementor_Widget' ) ) {
|
|
401 |
$option = $this->override_elementor_specific_data( $option );
|
402 |
$type = isset( $option['type'] ) ? $option['type'] : false;
|
403 |
|
404 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
405 |
|
406 |
-
$
|
407 |
-
|
408 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
}
|
410 |
-
|
411 |
-
$option['deps']['id'] => $value,
|
412 |
-
);
|
413 |
unset( $option['deps'] );
|
414 |
}
|
415 |
|
401 |
$option = $this->override_elementor_specific_data( $option );
|
402 |
$type = isset( $option['type'] ) ? $option['type'] : false;
|
403 |
|
404 |
+
if ( ! empty( $option['deps'] ) && ! isset( $option['condition'] ) ) {
|
405 |
+
if ( isset( $option['deps']['id'], $option['deps']['value'] ) ) {
|
406 |
+
$deps = array(
|
407 |
+
array(
|
408 |
+
'id' => $option['deps']['id'],
|
409 |
+
'value' => $option['deps']['value'],
|
410 |
+
),
|
411 |
+
);
|
412 |
+
} else {
|
413 |
+
$deps = $option['deps'];
|
414 |
+
}
|
415 |
|
416 |
+
$option['condition'] = array();
|
417 |
+
|
418 |
+
foreach ( $deps as $dep ) {
|
419 |
+
if ( isset( $dep['id'], $dep['value'] ) ) {
|
420 |
+
$dep_value = $dep['value'];
|
421 |
+
$dep_id = $dep['id'];
|
422 |
+
if ( in_array( $type, array( 'toggle', 'onoff', 'checkbox' ), true ) ) {
|
423 |
+
$dep_value = yith_plugin_fw_is_true( $dep_value ) ? 'yes' : 'no';
|
424 |
+
}
|
425 |
+
$option['condition'][ $dep_id ] = $dep_value;
|
426 |
+
}
|
427 |
}
|
428 |
+
|
|
|
|
|
429 |
unset( $option['deps'] );
|
430 |
}
|
431 |
|
plugin-fw/includes/builders/gutenberg/src/common/actions-to-jquery-events.js
CHANGED
@@ -8,18 +8,24 @@
|
|
8 |
import { addAction } from '@wordpress/hooks';
|
9 |
|
10 |
const actions = [
|
11 |
-
'yith_plugin_fw_gutenberg_before_do_shortcode',
|
12 |
-
'yith_plugin_fw_gutenberg_success_do_shortcode',
|
13 |
-
'yith_plugin_fw_gutenberg_after_do_shortcode'
|
14 |
];
|
15 |
|
16 |
for ( const action of actions ) {
|
17 |
addAction(
|
18 |
-
action,
|
19 |
'yith-plugin-fw/jquery-events',
|
20 |
( ...params ) => {
|
21 |
if ( 'jQuery' in window ) {
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
}
|
25 |
);
|
8 |
import { addAction } from '@wordpress/hooks';
|
9 |
|
10 |
const actions = [
|
11 |
+
{ key: 'yith_plugin_fw_gutenberg_before_do_shortcode', delay: 0 },
|
12 |
+
{ key: 'yith_plugin_fw_gutenberg_success_do_shortcode', delay: 200 },
|
13 |
+
{ key: 'yith_plugin_fw_gutenberg_after_do_shortcode', delay: 200 }
|
14 |
];
|
15 |
|
16 |
for ( const action of actions ) {
|
17 |
addAction(
|
18 |
+
action.key,
|
19 |
'yith-plugin-fw/jquery-events',
|
20 |
( ...params ) => {
|
21 |
if ( 'jQuery' in window ) {
|
22 |
+
if ( action.delay ) {
|
23 |
+
setTimeout( () => {
|
24 |
+
jQuery( document ).trigger( action.key, Object.values( params ) );
|
25 |
+
}, action.delay );
|
26 |
+
} else {
|
27 |
+
jQuery( document ).trigger( action.key, Object.values( params ) );
|
28 |
+
}
|
29 |
}
|
30 |
}
|
31 |
);
|
plugin-fw/includes/builders/gutenberg/src/common/checkForDeps.js
CHANGED
@@ -5,16 +5,41 @@
|
|
5 |
* @param {object} attributes The attributes.
|
6 |
* @returns {boolean}
|
7 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
export const checkForDeps = ( attributeArgs, attributes ) => {
|
9 |
const { controlType } = attributeArgs;
|
10 |
let show = true;
|
11 |
|
12 |
-
if ( attributeArgs.deps
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
-
show = typeof attributes[ attributeArgs.deps.id ] !== 'undefined' && depsValue === attributes[ attributeArgs.deps.id ];
|
18 |
}
|
19 |
|
20 |
return show;
|
5 |
* @param {object} attributes The attributes.
|
6 |
* @returns {boolean}
|
7 |
*/
|
8 |
+
|
9 |
+
import _ from 'lodash';
|
10 |
+
|
11 |
+
const checkForSingleDep = ( attributes, dep, controlType ) => {
|
12 |
+
let show = true;
|
13 |
+
|
14 |
+
if ( dep && dep.id && 'value' in dep ) {
|
15 |
+
let depValue = dep.value;
|
16 |
+
if ( ['toggle', 'checkbox'].includes( controlType ) ) {
|
17 |
+
depValue = true === depValue || 'yes' === depValue || 1 === depValue;
|
18 |
+
}
|
19 |
+
depValue = _.isArray( depValue ) ? depValue : [depValue];
|
20 |
+
|
21 |
+
show = typeof attributes[ dep.id ] !== 'undefined' && depValue.includes( attributes[ dep.id ] );
|
22 |
+
}
|
23 |
+
|
24 |
+
return show;
|
25 |
+
};
|
26 |
+
|
27 |
export const checkForDeps = ( attributeArgs, attributes ) => {
|
28 |
const { controlType } = attributeArgs;
|
29 |
let show = true;
|
30 |
|
31 |
+
if ( attributeArgs.deps ) {
|
32 |
+
if ( _.isArray( attributeArgs.deps ) ) {
|
33 |
+
for ( let i in attributeArgs.deps ) {
|
34 |
+
const singleDep = attributeArgs.deps[ i ];
|
35 |
+
show = checkForSingleDep( attributes, singleDep, controlType );
|
36 |
+
if ( !show ) {
|
37 |
+
break;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
} else {
|
41 |
+
show = checkForSingleDep( attributes, attributeArgs.deps, controlType );
|
42 |
}
|
|
|
43 |
}
|
44 |
|
45 |
return show;
|
plugin-fw/includes/class-yit-assets.php
CHANGED
@@ -55,7 +55,7 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
|
|
55 |
* Register common scripts
|
56 |
*/
|
57 |
public function register_common_scripts() {
|
58 |
-
wp_register_style( 'yith-plugin-fw-icon-font', YIT_CORE_PLUGIN_URL . '/assets/css/yith-icon
|
59 |
wp_register_style( 'yith-plugin-fw-elementor', YIT_CORE_PLUGIN_URL . '/assets/css/elementor.css', array(), $this->version );
|
60 |
}
|
61 |
|
55 |
* Register common scripts
|
56 |
*/
|
57 |
public function register_common_scripts() {
|
58 |
+
wp_register_style( 'yith-plugin-fw-icon-font', YIT_CORE_PLUGIN_URL . '/assets/css/yith-icon.css', array(), $this->version );
|
59 |
wp_register_style( 'yith-plugin-fw-elementor', YIT_CORE_PLUGIN_URL . '/assets/css/elementor.css', array(), $this->version );
|
60 |
}
|
61 |
|
plugin-fw/includes/class-yit-plugin-panel.php
CHANGED
@@ -1343,7 +1343,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
1343 |
esc_html__( 'We need your support', 'yith-plugin-fw' ),
|
1344 |
esc_html__( 'to keep updating and improving the plugin. Please,', 'yith-plugin-fw' ),
|
1345 |
esc_url( $rate_link ),
|
1346 |
-
esc_html__( 'help us by leaving a
|
1347 |
esc_html__( ':) Thanks!', 'yith-plugin-fw' )
|
1348 |
);
|
1349 |
?>
|
1343 |
esc_html__( 'We need your support', 'yith-plugin-fw' ),
|
1344 |
esc_html__( 'to keep updating and improving the plugin. Please,', 'yith-plugin-fw' ),
|
1345 |
esc_url( $rate_link ),
|
1346 |
+
esc_html__( 'help us by leaving a good review', 'yith-plugin-fw' ),
|
1347 |
esc_html__( ':) Thanks!', 'yith-plugin-fw' )
|
1348 |
);
|
1349 |
?>
|
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.6
|
5 |
* Author: YITH
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author YITH
|
10 |
+
* @version 3.6.6
|
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"
|
@@ -133,7 +133,8 @@ msgstr ""
|
|
133 |
"για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
|
134 |
|
135 |
#: includes/class-yit-plugin-panel.php:1346
|
136 |
-
|
|
|
137 |
msgstr "βοηθήστε μας αφήνοντας μια βαθμολογία πέντε αστέρων"
|
138 |
|
139 |
#: includes/class-yit-plugin-panel.php:1347
|
@@ -647,6 +648,16 @@ msgctxt "Privacy Policy Content"
|
|
647 |
msgid "Payments"
|
648 |
msgstr "Πληρωμές"
|
649 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
650 |
#: templates/fields/dimensions.php:13
|
651 |
msgctxt "Position in the \"Dimensions\" field"
|
652 |
msgid "Top"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-03-30 07:22:53+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"
|
133 |
"για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
|
134 |
|
135 |
#: includes/class-yit-plugin-panel.php:1346
|
136 |
+
#, fuzzy
|
137 |
+
msgid "help us by leaving a good review"
|
138 |
msgstr "βοηθήστε μας αφήνοντας μια βαθμολογία πέντε αστέρων"
|
139 |
|
140 |
#: includes/class-yit-plugin-panel.php:1347
|
648 |
msgid "Payments"
|
649 |
msgstr "Πληρωμές"
|
650 |
|
651 |
+
#: templates/fields/copy-to-clipboard.php:41
|
652 |
+
msgctxt "Copy-to-clipboard message"
|
653 |
+
msgid "Copied!"
|
654 |
+
msgstr ""
|
655 |
+
|
656 |
+
#: templates/fields/copy-to-clipboard.php:45
|
657 |
+
msgctxt "Copy-to-clipboard button text"
|
658 |
+
msgid "Copy"
|
659 |
+
msgstr ""
|
660 |
+
|
661 |
#: templates/fields/dimensions.php:13
|
662 |
msgctxt "Position in the \"Dimensions\" field"
|
663 |
msgid "Top"
|
plugin-fw/languages/yith-plugin-fw-es_ES.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -133,7 +133,8 @@ msgid "to keep updating and improving the plugin. Please,"
|
|
133 |
msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
|
134 |
|
135 |
#: includes/class-yit-plugin-panel.php:1346
|
136 |
-
|
|
|
137 |
msgstr "ayúdanos con una valoración de cinco estrellas"
|
138 |
|
139 |
#: includes/class-yit-plugin-panel.php:1347
|
@@ -587,7 +588,7 @@ msgstr "YITH"
|
|
587 |
#: includes/builders/elementor/class-yith-elementor-widget.php:252
|
588 |
msgctxt "Elementor Widget - section title"
|
589 |
msgid "%s - Options"
|
590 |
-
msgstr ""
|
591 |
|
592 |
#: includes/builders/gutenberg/class-yith-gutenberg.php:147
|
593 |
msgctxt "[gutenberg]: Category Name"
|
@@ -651,6 +652,16 @@ msgctxt "Privacy Policy Content"
|
|
651 |
msgid "Payments"
|
652 |
msgstr "Pagos"
|
653 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
654 |
#: templates/fields/dimensions.php:13
|
655 |
msgctxt "Position in the \"Dimensions\" field"
|
656 |
msgid "Top"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-03-30 07:22:53+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-03-15 15:43:52+0000\n"
|
9 |
"Language: es\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
133 |
msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
|
134 |
|
135 |
#: includes/class-yit-plugin-panel.php:1346
|
136 |
+
#, fuzzy
|
137 |
+
msgid "help us by leaving a good review"
|
138 |
msgstr "ayúdanos con una valoración de cinco estrellas"
|
139 |
|
140 |
#: includes/class-yit-plugin-panel.php:1347
|
588 |
#: includes/builders/elementor/class-yith-elementor-widget.php:252
|
589 |
msgctxt "Elementor Widget - section title"
|
590 |
msgid "%s - Options"
|
591 |
+
msgstr "%s - Opciones"
|
592 |
|
593 |
#: includes/builders/gutenberg/class-yith-gutenberg.php:147
|
594 |
msgctxt "[gutenberg]: Category Name"
|
652 |
msgid "Payments"
|
653 |
msgstr "Pagos"
|
654 |
|
655 |
+
#: templates/fields/copy-to-clipboard.php:41
|
656 |
+
msgctxt "Copy-to-clipboard message"
|
657 |
+
msgid "Copied!"
|
658 |
+
msgstr "¡Copiado!"
|
659 |
+
|
660 |
+
#: templates/fields/copy-to-clipboard.php:45
|
661 |
+
msgctxt "Copy-to-clipboard button text"
|
662 |
+
msgid "Copy"
|
663 |
+
msgstr "Copiar"
|
664 |
+
|
665 |
#: templates/fields/dimensions.php:13
|
666 |
msgctxt "Position in the \"Dimensions\" field"
|
667 |
msgid "Top"
|
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"
|
@@ -131,7 +131,8 @@ msgid "to keep updating and improving the plugin. Please,"
|
|
131 |
msgstr "per poter continuare ad aggiornare e migliorare il plugin."
|
132 |
|
133 |
#: includes/class-yit-plugin-panel.php:1346
|
134 |
-
|
|
|
135 |
msgstr "Puoi darci una mano lasciando una recensione a 5 stelle"
|
136 |
|
137 |
#: includes/class-yit-plugin-panel.php:1347
|
@@ -587,7 +588,7 @@ msgstr "YITH"
|
|
587 |
#: includes/builders/elementor/class-yith-elementor-widget.php:252
|
588 |
msgctxt "Elementor Widget - section title"
|
589 |
msgid "%s - Options"
|
590 |
-
msgstr ""
|
591 |
|
592 |
#: includes/builders/gutenberg/class-yith-gutenberg.php:147
|
593 |
msgctxt "[gutenberg]: Category Name"
|
@@ -652,6 +653,16 @@ msgctxt "Privacy Policy Content"
|
|
652 |
msgid "Payments"
|
653 |
msgstr "Pagamenti"
|
654 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
#: templates/fields/dimensions.php:13
|
656 |
msgctxt "Position in the \"Dimensions\" field"
|
657 |
msgid "Top"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-03-30 07:22:53+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-03-01 21:20:50+0000\n"
|
9 |
"Language: it\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
131 |
msgstr "per poter continuare ad aggiornare e migliorare il plugin."
|
132 |
|
133 |
#: includes/class-yit-plugin-panel.php:1346
|
134 |
+
#, fuzzy
|
135 |
+
msgid "help us by leaving a good review"
|
136 |
msgstr "Puoi darci una mano lasciando una recensione a 5 stelle"
|
137 |
|
138 |
#: includes/class-yit-plugin-panel.php:1347
|
588 |
#: includes/builders/elementor/class-yith-elementor-widget.php:252
|
589 |
msgctxt "Elementor Widget - section title"
|
590 |
msgid "%s - Options"
|
591 |
+
msgstr "%s - Opzioni"
|
592 |
|
593 |
#: includes/builders/gutenberg/class-yith-gutenberg.php:147
|
594 |
msgctxt "[gutenberg]: Category Name"
|
653 |
msgid "Payments"
|
654 |
msgstr "Pagamenti"
|
655 |
|
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"
|
668 |
msgid "Top"
|
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-02
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -130,7 +130,8 @@ msgid "to keep updating and improving the plugin. Please,"
|
|
130 |
msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
|
131 |
|
132 |
#: includes/class-yit-plugin-panel.php:1346
|
133 |
-
|
|
|
134 |
msgstr "help ons door een 5-sterren waardering achter te laten"
|
135 |
|
136 |
#: includes/class-yit-plugin-panel.php:1347
|
@@ -146,6 +147,9 @@ msgid ""
|
|
146 |
"From now on, you can find all plugin options in YITH menu. Plugin "
|
147 |
"customization settings will be available as a new entry in YITH menu."
|
148 |
msgstr ""
|
|
|
|
|
|
|
149 |
|
150 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
151 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
@@ -164,6 +168,11 @@ msgid ""
|
|
164 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
165 |
"previous location to YITH menu."
|
166 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
167 |
|
168 |
#: includes/class-yith-dashboard.php:35
|
169 |
msgid "YITH Latest Updates"
|
@@ -576,7 +585,7 @@ msgstr "YITH"
|
|
576 |
#: includes/builders/elementor/class-yith-elementor-widget.php:252
|
577 |
msgctxt "Elementor Widget - section title"
|
578 |
msgid "%s - Options"
|
579 |
-
msgstr ""
|
580 |
|
581 |
#: includes/builders/gutenberg/class-yith-gutenberg.php:147
|
582 |
msgctxt "[gutenberg]: Category Name"
|
@@ -640,6 +649,16 @@ msgctxt "Privacy Policy Content"
|
|
640 |
msgid "Payments"
|
641 |
msgstr "Betalingen"
|
642 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
643 |
#: templates/fields/dimensions.php:13
|
644 |
msgctxt "Position in the \"Dimensions\" field"
|
645 |
msgid "Top"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Framework\n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-03-30 07:22:53+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-03-02 10:41:26+0000\n"
|
9 |
"Language: nl\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
130 |
msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
|
131 |
|
132 |
#: includes/class-yit-plugin-panel.php:1346
|
133 |
+
#, fuzzy
|
134 |
+
msgid "help us by leaving a good review"
|
135 |
msgstr "help ons door een 5-sterren waardering achter te laten"
|
136 |
|
137 |
#: includes/class-yit-plugin-panel.php:1347
|
147 |
"From now on, you can find all plugin options in YITH menu. Plugin "
|
148 |
"customization settings will be available as a new entry in YITH menu."
|
149 |
msgstr ""
|
150 |
+
"Vanaf nu kun je alle plugin opties vinden in het YITH Plugins menu. Plugin "
|
151 |
+
"aanpassingen instellingen zullen beschikbaar zijn als nieuwe toegang in het "
|
152 |
+
"YITH menu."
|
153 |
|
154 |
#. translators: 1. YITH site link; 2. WordPress site link.
|
155 |
#: includes/class-yit-pointers.php:84 includes/class-yit-pointers.php:100
|
168 |
"WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.) will be moved from "
|
169 |
"previous location to YITH menu."
|
170 |
msgstr ""
|
171 |
+
"Vanaf nu kun je het optiepaneel van YITH plugins vinden in het YITH menu. "
|
172 |
+
"Elke keer dat een van onze plugins wordt toegevoegd, wordt er een nieuw item "
|
173 |
+
"aan dit menu toegevoegd. Bijvoorbeeld na de update worden plugin opties "
|
174 |
+
"(zoals voor YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, enz.) "
|
175 |
+
"verplaatst van de vorige locatie naar het YITH menu."
|
176 |
|
177 |
#: includes/class-yith-dashboard.php:35
|
178 |
msgid "YITH Latest Updates"
|
585 |
#: includes/builders/elementor/class-yith-elementor-widget.php:252
|
586 |
msgctxt "Elementor Widget - section title"
|
587 |
msgid "%s - Options"
|
588 |
+
msgstr "%s - Opties"
|
589 |
|
590 |
#: includes/builders/gutenberg/class-yith-gutenberg.php:147
|
591 |
msgctxt "[gutenberg]: Category Name"
|
649 |
msgid "Payments"
|
650 |
msgstr "Betalingen"
|
651 |
|
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"
|
664 |
msgid "Top"
|
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"
|
@@ -138,7 +138,7 @@ msgid "to keep updating and improving the plugin. Please,"
|
|
138 |
msgstr ""
|
139 |
|
140 |
#: includes/class-yit-plugin-panel.php:1346
|
141 |
-
msgid "help us by leaving a
|
142 |
msgstr ""
|
143 |
|
144 |
#: includes/class-yit-plugin-panel.php:1347
|
@@ -625,6 +625,16 @@ msgctxt "Privacy Policy Content"
|
|
625 |
msgid "Payments"
|
626 |
msgstr ""
|
627 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
628 |
#: templates/fields/dimensions.php:13
|
629 |
msgctxt "Position in the \"Dimensions\" field"
|
630 |
msgid "Top"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2021-03-30 07:22:53+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
138 |
msgstr ""
|
139 |
|
140 |
#: includes/class-yit-plugin-panel.php:1346
|
141 |
+
msgid "help us by leaving a good review"
|
142 |
msgstr ""
|
143 |
|
144 |
#: includes/class-yit-plugin-panel.php:1347
|
625 |
msgid "Payments"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: templates/fields/copy-to-clipboard.php:41
|
629 |
+
msgctxt "Copy-to-clipboard message"
|
630 |
+
msgid "Copied!"
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
+
#: templates/fields/copy-to-clipboard.php:45
|
634 |
+
msgctxt "Copy-to-clipboard button text"
|
635 |
+
msgid "Copy"
|
636 |
+
msgstr ""
|
637 |
+
|
638 |
#: templates/fields/dimensions.php:13
|
639 |
msgctxt "Position in the \"Dimensions\" field"
|
640 |
msgid "Top"
|
plugin-fw/templates/fields/copy-to-clipboard.php
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Template for displaying the 'copy-to-clipboard'
|
4 |
+
*
|
5 |
+
* @var array $field The field.
|
6 |
+
*
|
7 |
+
* @package YITH\PluginFramework\Templates\Fields\Resources
|
8 |
+
* @since 3.6.2
|
9 |
+
*/
|
10 |
+
|
11 |
+
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
|
12 |
+
|
13 |
+
list ( $field_id, $class, $name, $value, $force_value, $readonly, $std, $custom_attributes, $data ) = yith_plugin_fw_extract( $field, 'id', 'class', 'name', 'value', 'force_value', 'readonly', 'std', 'custom_attributes', 'data' );
|
14 |
+
|
15 |
+
$readonly = isset( $readonly ) ? ! ! $readonly : true;
|
16 |
+
$wrapper_id = ! ! $field_id ? $field_id . '-wrapper' : '';
|
17 |
+
$wrapper_class = 'yith-plugin-fw-copy-to-clipboard';
|
18 |
+
if ( $readonly ) {
|
19 |
+
$wrapper_class .= ' yith-plugin-fw-copy-to-clipboard--readonly';
|
20 |
+
}
|
21 |
+
if ( isset( $force_value ) ) {
|
22 |
+
$value = $force_value;
|
23 |
+
}
|
24 |
+
?>
|
25 |
+
<div id="<?php echo esc_attr( $wrapper_id ); ?>" class="<?php echo esc_attr( $wrapper_class ); ?>">
|
26 |
+
|
27 |
+
<div class="yith-plugin-fw-copy-to-clipboard__field-wrap">
|
28 |
+
<input type="text"
|
29 |
+
id="<?php echo esc_attr( $field_id ); ?>"
|
30 |
+
name="<?php echo esc_attr( $name ); ?>"
|
31 |
+
class="yith-plugin-fw-copy-to-clipboard__field <?php echo esc_attr( $class ); ?>"
|
32 |
+
value="<?php echo esc_attr( $value ); ?>"
|
33 |
+
|
34 |
+
<?php if ( $readonly ) : ?>
|
35 |
+
readonly
|
36 |
+
<?php endif; ?>
|
37 |
+
|
38 |
+
<?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
39 |
+
<?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
|
40 |
+
>
|
41 |
+
<div class="yith-plugin-fw-copy-to-clipboard__tip"><?php echo esc_html_x( 'Copied!', 'Copy-to-clipboard message', 'yith-plugin-fw' ); ?></div>
|
42 |
+
</div>
|
43 |
+
<div class="yith-plugin-fw-copy-to-clipboard__copy">
|
44 |
+
<i class="yith-plugin-fw-copy-to-clipboard__copy__icon yith-icon yith-icon-copy"></i>
|
45 |
+
<span class="yith-plugin-fw-copy-to-clipboard__copy__text"><?php echo esc_html_x( 'Copy', 'Copy-to-clipboard button text', 'yith-plugin-fw' ); ?></span>
|
46 |
+
</div>
|
47 |
+
</div>
|
plugin-fw/templates/fields/inline-fields.php
CHANGED
@@ -12,7 +12,7 @@ list ( $field_id, $name, $class, $fields, $value ) = yith_plugin_fw_extract( $fi
|
|
12 |
|
13 |
$class = ! ! $class ? $class : '';
|
14 |
$value = maybe_unserialize( $value );
|
15 |
-
$allowed_types = array( 'select', 'select-buttons', 'number', 'text', 'slider', 'hidden', 'html' );
|
16 |
$default_args = array( 'type' => 'select' );
|
17 |
?>
|
18 |
<?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
|
12 |
|
13 |
$class = ! ! $class ? $class : '';
|
14 |
$value = maybe_unserialize( $value );
|
15 |
+
$allowed_types = array( 'select', 'select-buttons', 'number', 'text', 'slider', 'hidden', 'html', 'datepicker' );
|
16 |
$default_args = array( 'type' => 'select' );
|
17 |
?>
|
18 |
<?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
|
plugin-fw/yit-functions.php
CHANGED
@@ -1634,3 +1634,28 @@ if ( ! function_exists( 'yith_plugin_fw_register_elementor_widgets' ) ) {
|
|
1634 |
}
|
1635 |
}
|
1636 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1634 |
}
|
1635 |
}
|
1636 |
}
|
1637 |
+
|
1638 |
+
if ( ! function_exists( 'yith_plugin_fw_copy_to_clipboard' ) ) {
|
1639 |
+
/**
|
1640 |
+
* Print a field with a button to copy its content to clipboard
|
1641 |
+
*
|
1642 |
+
* @param string $value The text to be shown.
|
1643 |
+
* @param array $field The field attributes.
|
1644 |
+
*
|
1645 |
+
* @since 3.6.2
|
1646 |
+
*/
|
1647 |
+
function yith_plugin_fw_copy_to_clipboard( $value, $field = array() ) {
|
1648 |
+
$defaults = array(
|
1649 |
+
'id' => '',
|
1650 |
+
'value' => $value,
|
1651 |
+
);
|
1652 |
+
$field = wp_parse_args( $field, $defaults );
|
1653 |
+
$field['type'] = 'copy-to-clipboard';
|
1654 |
+
|
1655 |
+
// Enqueue style and script if not enqueued.
|
1656 |
+
wp_enqueue_style( 'yith-plugin-fw-fields' );
|
1657 |
+
wp_enqueue_script( 'yith-plugin-fw-fields' );
|
1658 |
+
|
1659 |
+
yith_plugin_fw_get_field( $field, true, false );
|
1660 |
+
}
|
1661 |
+
}
|