YITH WooCommerce Compare - Version 2.7.0

Version Description

Released on 15 Oct 2021

  • New: support for WooCommerce 5.8
  • Update: YITH plugin framework
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Compare
Version 2.7.0
Comparing to
See all releases

Code changes from version 2.6.1 to 2.7.0

Files changed (110) hide show
  1. assets/css/admin.min.css +1 -0
  2. assets/css/colorbox.min.css +1 -0
  3. assets/css/jquery.min.css +1 -0
  4. assets/css/style.min.css +1 -0
  5. assets/css/widget.min.css +1 -0
  6. assets/js/jquery.min.js +6 -0
  7. assets/js/woocompare-admin.min.js +1 -1
  8. assets/js/woocompare.min.js +1 -1
  9. init.php +3 -3
  10. languages/yith-woocommerce-compare.pot +142 -168
  11. plugin-fw/assets/css/admin.css +5 -0
  12. plugin-fw/assets/css/scss/yith-plugin-ui.scss +0 -8
  13. plugin-fw/assets/css/scss/yith-plugin-ui/_animations.scss +0 -92
  14. plugin-fw/assets/css/scss/yith-plugin-ui/_components.scss +0 -11
  15. plugin-fw/assets/css/scss/yith-plugin-ui/_head_comment.scss +0 -6
  16. plugin-fw/assets/css/scss/yith-plugin-ui/_tables.scss +0 -56
  17. plugin-fw/assets/css/scss/yith-plugin-ui/_taxonomy.scss +0 -52
  18. plugin-fw/assets/css/scss/yith-plugin-ui/_variables.scss +0 -121
  19. plugin-fw/assets/css/scss/yith-plugin-ui/_wp-pages.scss +0 -88
  20. plugin-fw/assets/css/scss/yith-plugin-ui/components/_action-button.scss +0 -80
  21. plugin-fw/assets/css/scss/yith-plugin-ui/components/_boxed-row.scss +0 -14
  22. plugin-fw/assets/css/scss/yith-plugin-ui/components/_buttons.scss +0 -212
  23. plugin-fw/assets/css/scss/yith-plugin-ui/components/_confirm.scss +0 -41
  24. plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-table-blank-state.scss +0 -25
  25. plugin-fw/assets/css/scss/yith-plugin-ui/components/_modal.scss +0 -128
  26. plugin-fw/assets/css/scss/yith-plugin-ui/components/_tip-tip.scss +0 -79
  27. plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_buttons.scss +0 -124
  28. plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_tables.scss +0 -159
  29. plugin-fw/assets/css/yith-fields.css +6 -1
  30. plugin-fw/assets/css/yith-icon.css +44 -4
  31. plugin-fw/assets/css/yith-plugin-ui.css +31 -26
  32. plugin-fw/assets/fonts/yith-icon.eot +0 -0
  33. plugin-fw/assets/fonts/yith-icon.ttf +0 -0
  34. plugin-fw/assets/fonts/yith-icon.woff2 +0 -0
  35. plugin-fw/dist/gutenberg/index.asset.php +1 -1
  36. plugin-fw/dist/gutenberg/index.js +1 -1
  37. plugin-fw/dist/gutenberg/style-index.css +1 -3
  38. plugin-fw/includes/builders/gutenberg/src/.jshintrc +0 -24
  39. plugin-fw/includes/builders/gutenberg/src/common/actions-to-jquery-events.js +0 -32
  40. plugin-fw/includes/builders/gutenberg/src/common/ajaxFetch.js +0 -42
  41. plugin-fw/includes/builders/gutenberg/src/common/checkForDeps.js +0 -46
  42. plugin-fw/includes/builders/gutenberg/src/common/generateShortcode.js +0 -42
  43. plugin-fw/includes/builders/gutenberg/src/common/icons.js +0 -12
  44. plugin-fw/includes/builders/gutenberg/src/common/index.js +0 -4
  45. plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/index.js +0 -96
  46. plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/style.scss +0 -9
  47. plugin-fw/includes/builders/gutenberg/src/components/color-picker-control/index.js +0 -53
  48. plugin-fw/includes/builders/gutenberg/src/components/shortcode/index.js +0 -152
  49. plugin-fw/includes/builders/gutenberg/src/components/shortcode/style.scss +0 -64
  50. plugin-fw/includes/builders/gutenberg/src/edit.js +0 -233
  51. plugin-fw/includes/builders/gutenberg/src/index.js +0 -53
  52. plugin-fw/includes/class-yit-icons.php +19 -3
  53. plugin-fw/includes/class-yit-plugin-panel.php +21 -1
  54. plugin-fw/includes/class-yith-system-status.php +77 -2
  55. plugin-fw/includes/promo/black.jpg +0 -0
  56. plugin-fw/includes/promo/cyber.jpg +0 -0
  57. plugin-fw/includes/promo/halloween.jpg +0 -0
  58. plugin-fw/includes/promo/yith-promo.php +0 -245
  59. plugin-fw/includes/promo/yith-promo.xml +0 -25
  60. plugin-fw/init.php +2 -2
  61. plugin-fw/languages/yith-plugin-fw-el.po +95 -56
  62. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  63. plugin-fw/languages/yith-plugin-fw-es_ES.po +98 -59
  64. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  65. plugin-fw/languages/yith-plugin-fw-it_IT.po +98 -59
  66. plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
  67. plugin-fw/languages/yith-plugin-fw-nl_NL.po +98 -59
  68. plugin-fw/languages/yith-plugin-fw.pot +95 -56
  69. plugin-fw/lib/promo/yith-promo.php +0 -11
  70. plugin-fw/phpcs.xml +52 -0
  71. plugin-fw/templates/components/action-button.php +3 -3
  72. plugin-fw/templates/components/list-table-blank-state.php +3 -3
  73. plugin-fw/templates/fields/checkbox-array.php +2 -2
  74. plugin-fw/templates/fields/checkbox.php +2 -2
  75. plugin-fw/templates/fields/colorpicker.php +2 -2
  76. plugin-fw/templates/fields/copy-to-clipboard.php +2 -2
  77. plugin-fw/templates/fields/country-select.php +2 -2
  78. plugin-fw/templates/fields/date-format.php +2 -2
  79. plugin-fw/templates/fields/datepicker.php +2 -2
  80. plugin-fw/templates/fields/dimensions.php +8 -8
  81. plugin-fw/templates/fields/hidden.php +2 -2
  82. plugin-fw/templates/fields/icons.php +26 -6
  83. plugin-fw/templates/fields/inline-fields.php +5 -2
  84. plugin-fw/templates/fields/number.php +2 -2
  85. plugin-fw/templates/fields/onoff.php +2 -2
  86. plugin-fw/templates/fields/password.php +2 -2
  87. plugin-fw/templates/fields/preview.php +2 -2
  88. plugin-fw/templates/fields/radio.php +30 -6
  89. plugin-fw/templates/fields/resources/select2-wc-2.6.php +1 -1
  90. plugin-fw/templates/fields/resources/select2.php +1 -1
  91. plugin-fw/templates/fields/select-images.php +2 -2
  92. plugin-fw/templates/fields/select-mailchimp.php +2 -2
  93. plugin-fw/templates/fields/select.php +2 -2
  94. plugin-fw/templates/fields/sidebarlist.php +2 -2
  95. plugin-fw/templates/fields/simple-text.php +2 -2
  96. plugin-fw/templates/fields/slider.php +2 -2
  97. plugin-fw/templates/fields/text-button.php +6 -2
  98. plugin-fw/templates/fields/text.php +2 -2
  99. plugin-fw/templates/fields/textarea-codemirror.php +2 -2
  100. plugin-fw/templates/fields/textarea-editor.php +2 -2
  101. plugin-fw/templates/fields/textarea.php +2 -2
  102. plugin-fw/templates/fields/title.php +2 -2
  103. plugin-fw/templates/fields/toggle-element-fixed.php +1 -1
  104. plugin-fw/templates/fields/toggle-element.php +2 -2
  105. plugin-fw/templates/fields/upload.php +2 -2
  106. plugin-fw/templates/metaboxes/tab.php +61 -5
  107. plugin-fw/templates/sysinfo/tabs/main.php +71 -0
  108. plugin-fw/yit-functions.php +81 -26
  109. plugin-fw/yit-plugin.php +0 -1
  110. readme.txt +7 -2
assets/css/admin.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .yith_woocommerce_slider{width:300px;float:left}.yith_woocommerce_slider_value{margin-top:-5px;margin-left:10px;width:50px;float:left;text-align:center;font-weight:700}.attributes li{margin-bottom:0}.attributes .ui-sortable-placeholder{background:#f9f9f9;border:1px dashed #d4d4d4;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;visibility:visible!important;box-sizing:border-box;-moz-box-sizing:border-box;margin-bottom:-2px}
assets/css/colorbox.min.css ADDED
@@ -0,0 +1 @@
 
1
+ #cboxOverlay,#cboxWrapper,#colorbox{position:absolute;top:0;left:0;z-index:10000;overflow:hidden}#cboxOverlay{position:fixed;width:100%;height:100%}#cboxBottomLeft,#cboxMiddleLeft{clear:left}#cboxContent{position:relative}#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}#cboxTitle{margin:0}#cboxLoadingGraphic,#cboxLoadingOverlay{position:absolute;top:0;left:0;width:100%;height:100%}#cboxClose,#cboxNext,#cboxPrevious,#cboxSlideshow{cursor:pointer}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.cboxIframe{width:100%;height:100%;display:block;border:0}#cboxContent,#cboxLoadedContent,#colorbox{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#cboxOverlay{background:#000}#colorbox{outline:0}#cboxTopLeft{width:14px;height:14px;background:url(../images/colorbox/controls.png) no-repeat 0 0}#cboxTopCenter{height:14px;background:url(../images/colorbox/border.png) repeat-x top left}#cboxTopRight{width:14px;height:14px;background:url(../images/colorbox/controls.png) no-repeat -36px 0}#cboxBottomLeft{width:14px;height:43px;background:url(../images/colorbox/controls.png) no-repeat 0 -32px}#cboxBottomCenter{height:43px;background:url(../images/colorbox/border.png) repeat-x bottom left}#cboxBottomRight{width:14px;height:43px;background:url(../images/colorbox/controls.png) no-repeat -36px -32px}#cboxMiddleLeft{width:14px;background:url(../images/colorbox/controls.png) repeat-y -175px 0}#cboxMiddleRight{width:14px;background:url(../images/colorbox/controls.png) repeat-y -211px 0}#cboxContent{background:#fff;overflow:visible}.cboxIframe{background:#fff}#cboxError{padding:50px;border:1px solid #ccc}#cboxLoadedContent{margin-bottom:5px}#cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center}#cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center}#cboxTitle{position:absolute;bottom:-25px;left:0;text-align:center;width:100%;font-weight:700;color:#7c7c7c}#cboxCurrent{position:absolute;bottom:-25px;left:58px;font-weight:700;color:#7c7c7c}#cboxClose,#cboxNext,#cboxPrevious,#cboxSlideshow{border:0;padding:0;margin:0;overflow:visible;position:absolute;bottom:-29px;background:url(../images/colorbox/controls.png) no-repeat 0 0;width:23px;height:23px;text-indent:-9999px}#cboxClose:active,#cboxNext:active,#cboxPrevious:active,#cboxSlideshow:active{outline:0}#cboxPrevious{left:0;background-position:-51px -25px}#cboxPrevious:hover{background-position:-51px 0}#cboxNext{left:27px;background-position:-75px -25px}#cboxNext:hover{background-position:-75px 0}#cboxClose{right:0;background-position:-100px -25px}#cboxClose:hover{background-position:-100px 0}.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0;right:27px}.cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0}.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px;right:27px}.cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0}.yith_woocompare_colorbox #cboxLoadedContent{overflow:hidden!important}
assets/css/jquery.min.css ADDED
@@ -0,0 +1 @@
 
1
+ table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable tfoot th,table.dataTable thead th{font-weight:700}table.dataTable thead td,table.dataTable thead th{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead td:active,table.dataTable thead th:active{outline:0}table.dataTable tfoot td,table.dataTable tfoot th{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_desc_disabled{cursor:pointer;background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url(DataTables-1.10.18/images/sort_both.png)}table.dataTable thead .sorting_asc{background-image:url(DataTables-1.10.18/images/sort_asc.png)}table.dataTable thead .sorting_desc{background-image:url(DataTables-1.10.18/images/sort_desc.png)}table.dataTable thead .sorting_asc_disabled{background-image:url(DataTables-1.10.18/images/sort_asc_disabled.png)}table.dataTable thead .sorting_desc_disabled{background-image:url(DataTables-1.10.18/images/sort_desc_disabled.png)}table.dataTable tbody tr{background-color:#fff}table.dataTable tbody tr.selected{background-color:#b0bed9}table.dataTable tbody td,table.dataTable tbody th{padding:8px 10px}table.dataTable.display tbody td,table.dataTable.display tbody th,table.dataTable.row-border tbody td,table.dataTable.row-border tbody th{border-top:1px solid #ddd}table.dataTable.display tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.row-border tbody tr:first-child th{border-top:none}table.dataTable.cell-border tbody td,table.dataTable.cell-border tbody th{border-top:1px solid #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr td:first-child,table.dataTable.cell-border tbody tr th:first-child{border-left:1px solid #ddd}table.dataTable.cell-border tbody tr:first-child td,table.dataTable.cell-border tbody tr:first-child th{border-top:none}table.dataTable.display tbody tr.odd,table.dataTable.stripe tbody tr.odd{background-color:#f9f9f9}table.dataTable.display tbody tr.odd.selected,table.dataTable.stripe tbody tr.odd.selected{background-color:#acbad4}table.dataTable.display tbody tr:hover,table.dataTable.hover tbody tr:hover{background-color:#f6f6f6}table.dataTable.display tbody tr:hover.selected,table.dataTable.hover tbody tr:hover.selected{background-color:#aab7d1}table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3,table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3{background-color:#fafafa}table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3,table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3{background-color:#acbad5}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:#f5f5f5}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap td,table.dataTable.nowrap th{white-space:nowrap}table.dataTable.compact thead td,table.dataTable.compact thead th{padding:4px 17px 4px 4px}table.dataTable.compact tfoot td,table.dataTable.compact tfoot th{padding:4px}table.dataTable.compact tbody td,table.dataTable.compact tbody th{padding:4px}table.dataTable td.dt-left,table.dataTable th.dt-left{text-align:left}table.dataTable td.dataTables_empty,table.dataTable td.dt-center,table.dataTable th.dt-center{text-align:center}table.dataTable td.dt-right,table.dataTable th.dt-right{text-align:right}table.dataTable td.dt-justify,table.dataTable th.dt-justify{text-align:justify}table.dataTable td.dt-nowrap,table.dataTable th.dt-nowrap{white-space:nowrap}table.dataTable tfoot td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable thead th.dt-head-left{text-align:left}table.dataTable tfoot td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable thead th.dt-head-center{text-align:center}table.dataTable tfoot td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable thead th.dt-head-right{text-align:right}table.dataTable tfoot td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable thead th.dt-head-justify{text-align:justify}table.dataTable tfoot td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable thead th.dt-head-nowrap{white-space:nowrap}table.dataTable tbody td.dt-body-left,table.dataTable tbody th.dt-body-left{text-align:left}table.dataTable tbody td.dt-body-center,table.dataTable tbody th.dt-body-center{text-align:center}table.dataTable tbody td.dt-body-right,table.dataTable tbody th.dt-body-right{text-align:right}table.dataTable tbody td.dt-body-justify,table.dataTable tbody th.dt-body-justify{text-align:justify}table.dataTable tbody td.dt-body-nowrap,table.dataTable tbody th.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable td,table.dataTable th{box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both;zoom:1}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{margin-left:.5em}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:.5em 1em;margin-left:2px;text-align:center;text-decoration:none!important;cursor:pointer;color:#333!important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333!important;border:1px solid #979797;background-color:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(100%,#dcdcdc));background:-webkit-linear-gradient(top,#fff 0,#dcdcdc 100%);background:-moz-linear-gradient(top,#fff 0,#dcdcdc 100%);background:-ms-linear-gradient(top,#fff 0,#dcdcdc 100%);background:-o-linear-gradient(top,#fff 0,#dcdcdc 100%);background:linear-gradient(to bottom,#fff 0,#dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{cursor:default;color:#666!important;border:1px solid transparent;background:0 0;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:#fff!important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#585858),color-stop(100%,#111));background:-webkit-linear-gradient(top,#585858 0,#111 100%);background:-moz-linear-gradient(top,#585858 0,#111 100%);background:-ms-linear-gradient(top,#585858 0,#111 100%);background:-o-linear-gradient(top,#585858 0,#111 100%);background:linear-gradient(to bottom,#585858 0,#111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:0;background-color:#2b2b2b;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#2b2b2b),color-stop(100%,#0c0c0c));background:-webkit-linear-gradient(top,#2b2b2b 0,#0c0c0c 100%);background:-moz-linear-gradient(top,#2b2b2b 0,#0c0c0c 100%);background:-ms-linear-gradient(top,#2b2b2b 0,#0c0c0c 100%);background:-o-linear-gradient(top,#2b2b2b 0,#0c0c0c 100%);background:linear-gradient(to bottom,#2b2b2b 0,#0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:#fff;background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,0)),color-stop(25%,rgba(255,255,255,.9)),color-stop(75%,rgba(255,255,255,.9)),color-stop(100%,rgba(255,255,255,0)));background:-webkit-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.9) 25%,rgba(255,255,255,.9) 75%,rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.9) 25%,rgba(255,255,255,.9) 75%,rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.9) 25%,rgba(255,255,255,.9) 75%,rgba(255,255,255,0) 100%);background:-o-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.9) 25%,rgba(255,255,255,.9) 75%,rgba(255,255,255,0) 100%);background:linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.9) 25%,rgba(255,255,255,.9) 75%,rgba(255,255,255,0) 100%)}.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_paginate,.dataTables_wrapper .dataTables_processing{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing{height:0;overflow:hidden;margin:0!important;padding:0!important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollBody>table,.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width:767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:.5em}}@media screen and (max-width:640px){.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_length{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:.5em}}
assets/css/style.min.css ADDED
@@ -0,0 +1 @@
 
1
+ table.DTFC_Cloned tfoot,table.DTFC_Cloned thead{background-color:#fff}div.DTFC_Blocker{background-color:#fff}div.DTFC_LeftWrapper table.dataTable,div.DTFC_RightWrapper table.dataTable{margin-bottom:0;z-index:2}div.DTFC_LeftWrapper table.dataTable.no-footer,div.DTFC_RightWrapper table.dataTable.no-footer{border-bottom:none}body{font-family:'Open Sans',san-serif;font-size:13px;line-height:1.51em;color:#747373;background:0 0!important;margin:0}body h1{background:#4f4f4f;color:#fff;font-weight:800;padding:10px;border-bottom:2px solid #fff;display:block;text-transform:uppercase;font-size:1.076em;margin:0;text-align:center}body #yith-woocompare{padding:10px}table.dataTable.compare-list tr{display:table-row}table.dataTable.compare-list tfoot td,table.dataTable.compare-list tfoot th,table.dataTable.compare-list thead td,table.dataTable.compare-list thead th{border:0;vertical-align:middle}.DTFC_LeftFootWrapper table.compare-list,.DTFC_LeftHeadWrapper table.compare-list{border:0}table.compare-list td{width:220px;max-width:220px;min-width:220px;text-align:center;vertical-align:middle}table.compare-list{width:100%;border-bottom:0;border-top:0;margin:0;table-layout:auto}table.compare-list tbody th{width:150px;max-width:150px;min-width:150px;overflow:hidden;text-align:left;color:#333;background-color:#f2f2f2;text-transform:uppercase;font-weight:700;font-size:14px}.rtl table.compare-list tbody th{text-align:right}table.dataTable.compare-list tbody td,table.dataTable.compare-list tbody th{border-right:1px solid #e7e7e7;border-top:1px solid #e7e7e7;border-bottom:none;border-left:none;padding:10px;vertical-align:middle}table.dataTable.compare-list tbody tr:last-child td,table.dataTable.compare-list tbody tr:last-child th{border-bottom:1px solid #e7e7e7}table.compare-list tbody td.last-column{width:auto;border-right:0}#yith-woocompare-table_wrapper{margin:10px 0}table.dataTable.compare-list tbody .product_info td{vertical-align:top}h1 a.close,table.compare-list thead th a.close{float:right;margin-right:10px;font-weight:600;font-size:.9em;color:#fff;text-decoration:none}table.compare-list .remove td a{color:#747373;text-decoration:none}table.compare-list .remove td a:hover{color:#333}table.compare-list .remove td a .remove{border-radius:100% 100% 100% 100%;color:red;display:inline-block;font-size:1em;font-weight:600;height:1em;line-height:.81em;text-align:center;text-decoration:none;width:1em}.yith-woocompare-widget ul.products-list a.remove{float:left}table.compare-list .remove td a:hover .remove{background-color:red;color:#fff}table.compare-list .add-to-cart td a:not(.unstyled_button){display:inline-block;margin:10px 0;background-color:#4f4f4f;border:0 none;color:#fff;font-weight:400;line-height:normal;padding:5px 20px;text-decoration:none;text-transform:uppercase;cursor:pointer}table.compare-list .add-to-cart td a:not(.unstyled_button):hover{background:#868686;color:#fff}table.compare-list .stock td span{color:#090}table.compare-list .stock td span.out-of-stock{color:#900}table.compare-list .price td{text-decoration:underline}table.compare-list td.odd{background:#f7f7f7}table.compare-list td.even{background:#fff}table.compare-list td img{background:none repeat scroll 0 0 #fff;border:1px solid #dadada;height:auto;padding:3px;margin-bottom:20px}@media(max-width:767px){table.compare-list tbody th{width:100px;max-width:100px;min-width:100px;font-size:12px}}
assets/css/widget.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .yith-woocompare-widget ul.products-list{list-style:none;margin:0 0 15px}.yith-woocompare-widget ul.products-list li:not(.list_empty){position:relative;padding:5px 0 5px 30px;border-bottom:1px solid #dfdfdf}.yith-woocompare-widget ul.products-list li .remove{position:absolute;left:3px;color:red;font-weight:400;font-size:1.2em;line-height:1.2;height:1.2em;width:1.2em;border-radius:50%;text-align:center;cursor:pointer;outline:0}.yith-woocompare-widget ul.products-list li .remove:hover{background-color:red;color:#fff}.yith-woocompare-widget ul.products-list li .title{cursor:pointer;text-transform:uppercase;font-size:12px;font-weight:400;display:block;outline:0}.yith-woocompare-widget a.compare{float:right;float:right;line-height:1;cursor:pointer;padding:8px 10px;font-size:13px;text-transform:uppercase;font-weight:700;border-radius:3px;border:0;white-space:nowrap;display:inline-block;color:#fff;background-color:#b2b2b2}.yith-woocompare-widget a.compare:hover{background-color:#303030}.yith-woocompare-widget a.clear-all{outline:0;font-size:12px}
assets/js/jquery.min.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /*!
2
+ Colorbox 1.6.1
3
+ license: MIT
4
+ http://www.jacklmoore.com/colorbox
5
+ */
6
+ !function(d,h,r){function a(t,e,i){t=h.createElement(t);return e&&(t.id=tt+e),i&&(t.style.cssText=i),d(t)}function c(){return r.innerHeight||d(r).height()}function s(t,i){i!==Object(i)&&(i={}),this.cache={},this.el=t,this.value=function(t){var e;return void 0===this.cache[t]&&(void 0!==(e=d(this.el).attr("data-cbox-"+t))?this.cache[t]=e:void 0!==i[t]?this.cache[t]=i[t]:void 0!==Y[t]&&(this.cache[t]=Y[t])),this.cache[t]},this.get=function(t){t=this.value(t);return d.isFunction(t)?t.call(this.el,this):t}}function l(t){var e=E.length,t=(A+t)%e;return t<0?e+t:t}function g(t,e){return Math.round((/%/.test(t)?("x"===e?I.width():c())/100:1)*parseInt(t,10))}function u(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function p(t,e){return t.get("retinaUrl")&&1<r.devicePixelRatio?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function f(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==y[0]&&(t.stopPropagation(),x.focus())}function m(t){m.str!==t&&(x.add(y).removeClass(m.str).addClass(t),m.str=t)}function w(t){d(h).trigger(t),st.triggerHandler(t)}function o(t){var e,i,n,o;G||(i=d(t).data(Z),_=new s(t,i),o=_.get("rel"),A=0,o&&!1!==o&&"nofollow"!==o?(E=d("."+et).filter(function(){return new s(this,d.data(this,Z)).get("rel")===o}),-1===(A=E.index(_.el))&&(E=E.add(_.el),A=E.length-1)):E=d(_.el),$||($=q=!0,m(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),L=a(lt,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),T.css({width:"",height:""}).append(L),j=C.height()+W.height()+T.outerHeight(!0)-T.height(),D=k.width()+H.width()+T.outerWidth(!0)-T.width(),N=L.outerHeight(!0),z=L.outerWidth(!0),e=g(_.get("initialWidth"),"x"),n=g(_.get("initialHeight"),"y"),t=_.get("maxWidth"),i=_.get("maxHeight"),_.w=(!1!==t?Math.min(e,g(t,"x")):e)-z-D,_.h=(!1!==i?Math.min(n,g(i,"y")):n)-N-j,L.css({width:"",height:_.h}),J.position(),w(it),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&h.addEventListener&&(h.addEventListener("focus",f,!0),st.one(rt,function(){h.removeEventListener("focus",f,!0)})),_.get("returnFocus")&&st.one(rt,function(){d(_.el).focus()})),n=parseFloat(_.get("opacity")),y.css({opacity:n==n?n:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(T):B.appendTo("<div/>"),function(){var t,e,i,n=J.prep,o=++dt;{var h;U=!(q=!0),w(at),w(nt),_.get("onLoad"),_.h=_.get("height")?g(_.get("height"),"y")-N-j:_.get("innerHeight")&&g(_.get("innerHeight"),"y"),_.w=_.get("width")?g(_.get("width"),"x")-z-D:_.get("innerWidth")&&g(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=g(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=g(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),t=_.get("href"),Q=setTimeout(function(){S.show()},100),_.get("inline")?(h=d(t),i=d("<div>").hide().insertBefore(h),st.one(at,function(){i.replaceWith(h)}),n(h)):_.get("iframe")?n(" "):_.get("html")?n(_.get("html")):u(_,t)?(t=p(_,t),U=_.get("createImg"),d(U).addClass(tt+"Photo").bind("error."+tt,function(){n(a(lt,"Error").html(_.get("imgError")))}).one("load",function(){o===dt&&setTimeout(function(){var t;_.get("retinaImage")&&1<r.devicePixelRatio&&(U.height=U.height/r.devicePixelRatio,U.width=U.width/r.devicePixelRatio),_.get("scalePhotos")&&(e=function(){U.height-=U.height*t,U.width-=U.width*t},_.mw&&U.width>_.mw&&(t=(U.width-_.mw)/U.width,e()),_.mh&&U.height>_.mh&&(t=(U.height-_.mh)/U.height,e())),_.h&&(U.style.marginTop=Math.max(_.mh-U.height,0)/2+"px"),E[1]&&(_.get("loop")||E[A+1])&&(U.style.cursor="pointer",d(U).bind("click."+tt,function(){J.next()})),U.style.width=U.width+"px",U.style.height=U.height+"px",n(U)},1)}),U.src=t):t&&M.load(t,_.get("data"),function(t,e){o===dt&&n("error"===e?a(lt,"Error").html(_.get("xhrError")):d(this).contents())})}}())}function v(){x||(V=!1,I=d(r),x=a(lt).attr({id:Z,"class":!1===d.support.opacity?tt+"IE":"",role:"dialog",tabindex:"-1"}).hide(),y=a(lt,"Overlay").hide(),S=d([a(lt,"LoadingOverlay")[0],a(lt,"LoadingGraphic")[0]]),b=a(lt,"Wrapper"),T=a(lt,"Content").append(F=a(lt,"Title"),R=a(lt,"Current"),P=d('<button type="button"/>').attr({id:tt+"Previous"}),K=d('<button type="button"/>').attr({id:tt+"Next"}),t=a("button","Slideshow"),S),B=d('<button type="button"/>').attr({id:tt+"Close"}),b.append(a(lt).append(a(lt,"TopLeft"),C=a(lt,"TopCenter"),a(lt,"TopRight")),a(lt,!1,"clear:left").append(k=a(lt,"MiddleLeft"),T,H=a(lt,"MiddleRight")),a(lt,!1,"clear:left").append(a(lt,"BottomLeft"),W=a(lt,"BottomCenter"),a(lt,"BottomRight"))).find("div div").css({"float":"left"}),M=a(lt,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(t)),h.body&&!x.parent().length&&d(h.body).append(y,x.append(b,M))}var y,x,b,T,C,k,H,W,E,I,L,M,S,F,R,t,K,P,B,O,_,j,D,N,z,A,U,$,q,G,Q,J,V,e,i,n,X,Y={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return d(this).attr("href")},title:function(){return this.title},createImg:function(){var i=new Image,t=d(this).data("cbox-img-attrs");return"object"==typeof t&&d.each(t,function(t,e){i[t]=e}),i},createIframe:function(){var i=h.createElement("iframe"),t=d(this).data("cbox-iframe-attrs");return"object"==typeof t&&d.each(t,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullScreen=!0,i}},Z="colorbox",tt="cbox",et=tt+"Element",it=tt+"_open",nt=tt+"_load",ot=tt+"_complete",ht=tt+"_cleanup",rt=tt+"_closed",at=tt+"_purge",st=d("<a/>"),lt="div",dt=0,ct={},gt=(n=tt+"Slideshow_",X="click."+tt,function(){e?_.get("slideshow")||(st.unbind(ht,wt),wt()):_.get("slideshow")&&E[1]&&(e=!0,st.one(ht,wt),(_.get("slideshowAuto")?ft:mt)(),t.show())});function ut(){clearTimeout(i)}function pt(){(_.get("loop")||E[A+1])&&(ut(),i=setTimeout(J.next,_.get("slideshowSpeed")))}function ft(){t.html(_.get("slideshowStop")).unbind(X).one(X,mt),st.bind(ot,pt).bind(nt,ut),x.removeClass(n+"off").addClass(n+"on")}function mt(){ut(),st.unbind(ot,pt).unbind(nt,ut),t.html(_.get("slideshowStart")).unbind(X).one(X,function(){J.next(),ft()}),x.removeClass(n+"on").addClass(n+"off")}function wt(){e=!1,t.hide(),ut(),st.unbind(ot,pt).unbind(nt,ut),x.removeClass(n+"off "+n+"on")}d[Z]||(d(v),(J=d.fn[Z]=d[Z]=function(e,t){var i=this;return e=e||{},d.isFunction(i)&&(i=d("<a/>"),e.open=!0),i[0]&&(v(),x&&(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),y.click(function(){_.get("overlayClose")&&J.close()}),d(h).bind("keydown."+tt,function(t){var e=t.keyCode;$&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),$&&_.get("arrowKey")&&E[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),d.isFunction(d.fn.on)?d(h).on("click."+tt,"."+et,n):d("."+et).live("click."+tt,n)),1)&&(t&&(e.onComplete=t),i.each(function(){var t=d.data(this,Z)||{};d.data(this,Z,d.extend(t,e))}).addClass(et),new s(i[0],e).get("open")&&o(i[0]))),i;function n(t){1<t.which||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),o(this))}}).position=function(e,t){function i(){C[0].style.width=W[0].style.width=T[0].style.width=parseInt(x[0].style.width,10)-D+"px",T[0].style.height=k[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var n,o,h,r,a=0,s=0,l=x.offset();I.unbind("resize."+tt),x.css({top:-9e4,left:-9e4}),o=I.scrollTop(),h=I.scrollLeft(),_.get("fixed")?(l.top-=o,l.left-=h,x.css({position:"fixed"})):(a=o,s=h,x.css({position:"absolute"})),s+=!1!==_.get("right")?Math.max(I.width()-_.w-z-D-g(_.get("right"),"x"),0):!1!==_.get("left")?g(_.get("left"),"x"):Math.round(Math.max(I.width()-_.w-z-D,0)/2),a+=!1!==_.get("bottom")?Math.max(c()-_.h-N-j-g(_.get("bottom"),"y"),0):!1!==_.get("top")?g(_.get("top"),"y"):Math.round(Math.max(c()-_.h-N-j,0)/2),x.css({top:l.top,left:l.left,visibility:"visible"}),b[0].style.width=b[0].style.height="9999px",n={width:_.w+z+D,height:_.h+N+j,top:a,left:s},e&&(r=0,d.each(n,function(t){return n[t]!==ct[t]?void(r=e):void 0}),e=r),ct=n,e||x.css(n),x.dequeue().animate(n,{duration:e||0,complete:function(){i(),q=!1,b[0].style.width=_.w+z+D+"px",b[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){I.bind("resize."+tt,J.position)},1),d.isFunction(t)&&t()},step:i})},J.resize=function(t){var e;$&&((t=t||{}).width&&(_.w=g(t.width,"x")-z-D),t.innerWidth&&(_.w=g(t.innerWidth,"x")),L.css({width:_.w}),t.height&&(_.h=g(t.height,"y")-N-j),t.innerHeight&&(_.h=g(t.innerHeight,"y")),t.innerHeight||t.height||(e=L.scrollTop(),L.css({height:"auto"}),_.h=L.height()),L.css({height:_.h}),e&&L.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(t){var e,o;$&&(o="none"===_.get("transition")?0:_.get("speed"),L.remove(),(L=a(lt,"LoadedContent").append(t)).hide().appendTo(M.show()).css({width:(_.w=_.w||L.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:(_.h=_.h||L.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h)}).prependTo(T),M.hide(),d(U).css({"float":"none"}),m(_.get("className")),e=function(){function t(){!1===d.support.opacity&&x[0].style.removeAttribute("filter")}var e,i,n=E.length;$&&(i=function(){clearTimeout(Q),S.hide(),w(ot),_.get("onComplete")},F.html(_.get("title")).show(),L.show(),1<n?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",n)).show(),K[_.get("loop")||A<n-1?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),gt(),_.get("preloading")&&d.each([l(-1),l(1)],function(){var t=E[this],e=new s(t,d.data(t,Z)),t=e.get("href");t&&u(e,t)&&(t=p(e,t),h.createElement("img").src=t)})):O.hide(),_.get("iframe")?(e=_.get("createIframe"),_.get("scrolling")||(e.scrolling="no"),d(e).attr({src:_.get("href"),"class":tt+"Iframe"}).one("load",i).appendTo(L),st.one(at,function(){e.src="//about:blank"}),_.get("fastIframe")&&d(e).trigger("load")):i(),"fade"===_.get("transition")?x.fadeTo(o,1,t):t())},"fade"===_.get("transition")?x.fadeTo(o,0,function(){J.position(0,e)}):J.position(o,e))},J.next=function(){!q&&E[1]&&(_.get("loop")||E[A+1])&&(A=l(1),o(E[A]))},J.prev=function(){!q&&E[1]&&(_.get("loop")||A)&&(A=l(-1),o(E[A]))},J.close=function(){$&&!G&&($=!(G=!0),w(ht),_.get("onCleanup"),I.unbind("."+tt),y.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),y.hide(),w(at),L.remove(),setTimeout(function(){G=!1,w(rt),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),d[Z].close(),x.stop(!1,!0).remove(),y.remove(),G=!1,x=null,d("."+et).removeData(Z).removeClass(et),d(h).unbind("click."+tt).unbind("keydown."+tt))},J.element=function(){return d(_.el)},J.settings=Y)}(jQuery,document,window);
assets/js/woocompare-admin.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){e(".attributes .fields").sortable({cursor:"move",scrollSensitivity:10,tolerance:"pointer",axis:"y",stop:function(t,i){var n=i.item.parents(".fields"),o=new Array;e('input[type="checkbox"]',n).each(function(t){o[t]=e(this).val()}),n.next().val(o.join(","))}})});
1
+ jQuery(document).ready(function(n){n(".attributes .fields").sortable({cursor:"move",scrollSensitivity:10,tolerance:"pointer",axis:"y",stop:function(e,t){var t=t.item.parents(".fields"),i=new Array;n('input[type="checkbox"]',t).each(function(e){i[e]=n(this).val()}),t.next().val(i.join(","))}})});
assets/js/woocompare.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(o){if(o(document.body).hasClass("elementor-editor-active"))return!1;function e(o,e){o=escape(o),e=escape(e);var t=document.location.search,a=o+"="+e,r=new RegExp("(&|\\?)"+o+"=[^&]*");return t=t.replace(r,"$1"+a),RegExp.$1||(t+=(t.length>0?"&":"?")+a),t}o(document).on("click",".product a.compare:not(.added)",function(e){e.preventDefault();var t=o(this),a={action:yith_woocompare.actionadd,id:t.data("product_id"),context:"frontend"},r=o(".yith-woocompare-widget ul.products-list");void 0!==o.fn.block&&(t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),r.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionadd),data:a,dataType:"json",success:function(e){void 0!==o.fn.block&&(t.unblock(),r.unblock()),t.addClass("added").attr("href",e.table_url).text(yith_woocompare.added_label),r.html(e.widget_table),"yes"==yith_woocompare.auto_open&&o("body").trigger("yith_woocompare_open_popup",{response:e.table_url,button:t})}})}),o(document).on("click",".product a.compare.added",function(e){e.preventDefault();var t=this.href;void 0!==t&&o("body").trigger("yith_woocompare_open_popup",{response:t,button:o(this)})}),o("body").on("yith_woocompare_open_popup",function(e,t){var a=t.response;if(o(window).width()>=768)o.colorbox({href:a,iframe:!0,width:"90%",height:"90%",className:"yith_woocompare_colorbox",close:yith_woocompare.close_label,onClosed:function(){var e=o(".yith-woocompare-widget ul.products-list"),t={action:yith_woocompare.actionreload,context:"frontend"};void 0!==o.fn.block&&e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionreload),data:t,success:function(t){void 0!==o.fn.block&&e.unblock().html(t),e.html(t)}})}}),o(window).resize(function(){o.colorbox.resize({width:"90%",height:"90%"})});else{var r=a.split("?");if(r.length>=2){for(var c=encodeURIComponent("iframe")+"=",n=r[1].split(/[&;]/g),i=n.length;i-- >0;)-1!==n[i].lastIndexOf(c,0)&&n.splice(i,1);a=r[0]+"?"+n.join("&")}window.open(a,yith_woocompare.table_title)}}),o(document).on("click",".remove a",function(e){e.preventDefault();var t=o(this),a={action:yith_woocompare.actionremove,id:t.data("product_id"),context:"frontend"};o("td.product_"+a.id+", th.product_"+a.id);void 0!==o.fn.block&&t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:a,dataType:"html",success:function(e){var a=o(e).filter("#yith-woocompare");o("#yith-woocompare").replaceWith(a),o('.compare[data-product_id="'+t.data("product_id")+'"]',window.parent.document).removeClass("added").html(yith_woocompare.button_text),o(document).trigger("yith_woocompare_product_removed")}})}),o(".yith-woocompare-open a, a.yith-woocompare-open").on("click",function(t){t.preventDefault(),o("body").trigger("yith_woocompare_open_popup",{response:e("action",yith_woocompare.actionview)+"&iframe=true"})}),o(".yith-woocompare-widget").on("click","a.compare",function(e){e.preventDefault(),o("body").trigger("yith_woocompare_open_popup",{response:o(this).attr("href")})}).on("click","li a.remove, a.clear-all",function(e){e.preventDefault();var t=o(".yith-woocompare-widget .products-list").data("lang"),a=o(this),r=a.data("product_id"),c={action:yith_woocompare.actionremove,id:r,context:"frontend",responseType:"product_list",lang:t},n=a.parents(".yith-woocompare-widget").find("ul.products-list");void 0!==o.fn.block&&n.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:c,dataType:"html",success:function(e){"all"==r?o(".compare.added").removeClass("added").html(yith_woocompare.button_text):o('.compare[data-product_id="'+r+'"]').removeClass("added").html(yith_woocompare.button_text),n.html(e),void 0!==o.fn.block&&n.unblock()}})}),o("body").on("added_to_cart",function(e,t,a,r){o(r).closest("table.compare-list").length&&r.hide()})});
1
+ jQuery(document).ready(function(c){return!c(document.body).hasClass("elementor-editor-active")&&(c(document).on("click",".product a.compare:not(.added)",function(o){o.preventDefault();var e=c(this),o={action:yith_woocompare.actionadd,id:e.data("product_id"),context:"frontend"},t=c(".yith-woocompare-widget ul.products-list");"undefined"!=typeof c.fn.block&&(e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})),c.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionadd),data:o,dataType:"json",success:function(o){"undefined"!=typeof c.fn.block&&(e.unblock(),t.unblock()),e.addClass("added").attr("href",o.table_url).text(yith_woocompare.added_label),t.html(o.widget_table),"yes"==yith_woocompare.auto_open&&c("body").trigger("yith_woocompare_open_popup",{response:o.table_url,button:e})}})}),c(document).on("click",".product a.compare.added",function(o){o.preventDefault();o=this.href;void 0!==o&&c("body").trigger("yith_woocompare_open_popup",{response:o,button:c(this)})}),c("body").on("yith_woocompare_open_popup",function(o,e){var t=e.response;if(768<=c(window).width())c.colorbox({href:t,iframe:!0,width:"90%",height:"90%",className:"yith_woocompare_colorbox",close:yith_woocompare.close_label,onClosed:function(){var e=c(".yith-woocompare-widget ul.products-list"),o={action:yith_woocompare.actionreload,context:"frontend"};"undefined"!=typeof c.fn.block&&e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),c.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionreload),data:o,success:function(o){"undefined"!=typeof c.fn.block&&e.unblock().html(o),e.html(o)}})}}),c(window).resize(function(){c.colorbox.resize({width:"90%",height:"90%"})});else{e=t.split("?");if(2<=e.length){for(var a=encodeURIComponent("iframe")+"=",r=e[1].split(/[&;]/g),n=r.length;0<n--;)-1!==r[n].lastIndexOf(a,0)&&r.splice(n,1);t=e[0]+"?"+r.join("&")}window.open(t,yith_woocompare.table_title)}}),c(document).on("click",".remove a",function(o){o.preventDefault();var e=c(this),o={action:yith_woocompare.actionremove,id:e.data("product_id"),context:"frontend"};c("td.product_"+o.id+", th.product_"+o.id);"undefined"!=typeof c.fn.block&&e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),c.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:o,dataType:"html",success:function(o){o=c(o).filter("#yith-woocompare");c("#yith-woocompare").replaceWith(o),c('.compare[data-product_id="'+e.data("product_id")+'"]',window.parent.document).removeClass("added").html(yith_woocompare.button_text),c(document).trigger("yith_woocompare_product_removed")}})}),c(".yith-woocompare-open a, a.yith-woocompare-open").on("click",function(o){o.preventDefault(),c("body").trigger("yith_woocompare_open_popup",{response:function(o,e){o=escape(o),e=escape(e);var t=document.location.search,e=o+"="+e,o=new RegExp("(&|\\?)"+o+"=[^&]*");t=t.replace(o,"$1"+e),RegExp.$1||(t+=(0<t.length?"&":"?")+e);return t}("action",yith_woocompare.actionview)+"&iframe=true"})}),c(".yith-woocompare-widget").on("click","a.compare",function(o){o.preventDefault(),c("body").trigger("yith_woocompare_open_popup",{response:c(this).attr("href")})}).on("click","li a.remove, a.clear-all",function(o){o.preventDefault();var e=c(".yith-woocompare-widget .products-list").data("lang"),o=c(this),t=o.data("product_id"),e={action:yith_woocompare.actionremove,id:t,context:"frontend",responseType:"product_list",lang:e},a=o.parents(".yith-woocompare-widget").find("ul.products-list");"undefined"!=typeof c.fn.block&&a.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),c.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:e,dataType:"html",success:function(o){c("all"==t?".compare.added":'.compare[data-product_id="'+t+'"]').removeClass("added").html(yith_woocompare.button_text),a.html(o),"undefined"!=typeof c.fn.block&&a.unblock()}})}),void c("body").on("added_to_cart",function(o,e,t,a){c(a).closest("table.compare-list").length&&a.hide()}))});
init.php CHANGED
@@ -3,13 +3,13 @@
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.6.1
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
10
  * Domain Path: /languages/
11
  * WC requires at least: 5.3
12
- * WC tested up to: 5.7
13
  *
14
  * @author YITH
15
  * @package YITH WooCommerce Compare
@@ -75,7 +75,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
75
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
76
 
77
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ) {
78
- define( 'YITH_WOOCOMPARE_VERSION', '2.6.1' );
79
  }
80
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
81
  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.7.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
10
  * Domain Path: /languages/
11
  * WC requires at least: 5.3
12
+ * WC tested up to: 5.8
13
  *
14
  * @author YITH
15
  * @package YITH WooCommerce Compare
75
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
76
 
77
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ) {
78
+ define( 'YITH_WOOCOMPARE_VERSION', '2.7.0' );
79
  }
80
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
81
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
languages/yith-woocommerce-compare.pot CHANGED
@@ -1,275 +1,239 @@
1
- # Copyright (C) 2020 YITH WooCommerce Compare
2
  # This file is distributed under the same license as the YITH WooCommerce Compare package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YITH WooCommerce Compare 2.3.18\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
7
- "POT-Creation-Date: 2020-03-10 11:12:56+00:00\n"
 
8
  "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
 
14
 
15
- #: includes/class.yith-woocompare-admin.php:119
16
- #: includes/class.yith-woocompare-admin.php:143
17
  msgid "Settings"
18
  msgstr ""
19
 
20
- #: includes/class.yith-woocompare-admin.php:121
21
  msgid "License"
22
  msgstr ""
23
 
24
- #: includes/class.yith-woocompare-admin.php:147
25
  msgid "Premium Version"
26
  msgstr ""
27
 
28
- #: includes/class.yith-woocompare-admin.php:153
29
- msgctxt "Admin Plugin Name"
30
- msgid "WooCommerce Compare"
31
- msgstr ""
32
-
33
- #: includes/class.yith-woocompare-admin.php:154
34
- msgctxt "Admin Plugin Name"
35
- msgid "Compare"
36
- msgstr ""
37
-
38
- #: includes/class.yith-woocompare-admin.php:243
39
- msgid "YITH WooCommerce Compare Activated"
40
- msgstr ""
41
-
42
- #: includes/class.yith-woocompare-admin.php:244
43
- msgid ""
44
- "In the YIT Plugin tab you can find the YITH WooCommerce Compare options. "
45
- "With this menu, you can access to all the settings of our plugins that you "
46
- "have activated. YITH WooCommerce Compare is available in an outstanding "
47
- "PREMIUM version with many new options, <a href=\"%s\">discover it now</a>."
48
- msgstr ""
49
-
50
- #: includes/class.yith-woocompare-admin.php:255
51
- msgid "YITH WooCommerce Compare Updated"
52
- msgstr ""
53
-
54
- #: includes/class.yith-woocompare-admin.php:256
55
- msgid ""
56
- "From now on, you can find all the options of YITH WooCommerce Compare under "
57
- "YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in "
58
- "the previous version. When one of our plugins is updated, a new voice will "
59
- "be added to this menu. YITH WooCommerce Compare has been updated with new "
60
- "available options, <a href=\"%s\">discover the PREMIUM version.</a>"
61
- msgstr ""
62
-
63
- #: includes/class.yith-woocompare-admin.php:400
64
  msgid "Do you want to hard crop the image?"
65
  msgstr ""
66
 
67
- #: includes/class.yith-woocompare-frontend.php:223
68
  msgid "Added"
69
  msgstr ""
70
 
71
- #: includes/class.yith-woocompare-frontend.php:224 templates/compare.php:50
72
  msgid "Product Comparison"
73
  msgstr ""
74
 
75
- #: includes/class.yith-woocompare-frontend.php:227
76
- #: includes/class.yith-woocompare-frontend.php:505
77
- #: plugin-options/general-options.php:40
78
- #: widgets/class.yith-woocompare-widget.php:51
79
  msgid "Compare"
80
  msgstr ""
81
 
82
- #: includes/class.yith-woocompare-frontend.php:229
83
- msgctxt "Label for popup close icon"
84
- msgid "Close"
85
- msgstr ""
86
-
87
- #: includes/class.yith-woocompare-frontend.php:384
88
  msgid "In stock"
89
  msgstr ""
90
 
91
- #: includes/class.yith-woocompare-frontend.php:696
92
  msgid "No products to compare"
93
  msgstr ""
94
 
95
- #: includes/class.yith-woocompare-frontend.php:709 templates/compare.php:119
96
  msgid "Remove"
97
  msgstr ""
98
 
99
- #: includes/class.yith-woocompare-helper.php:46
100
  msgid "Image"
101
  msgstr ""
102
 
103
- #: includes/class.yith-woocompare-helper.php:47
104
- #: widgets/class.yith-woocompare-widget.php:68
105
  msgid "Title"
106
  msgstr ""
107
 
108
- #: includes/class.yith-woocompare-helper.php:48
109
  msgid "Price"
110
  msgstr ""
111
 
112
- #: includes/class.yith-woocompare-helper.php:49
113
  msgid "Add to cart"
114
  msgstr ""
115
 
116
- #: includes/class.yith-woocompare-helper.php:50
117
  msgid "Description"
118
  msgstr ""
119
 
120
- #: includes/class.yith-woocompare-helper.php:51
121
  msgid "Sku"
122
  msgstr ""
123
 
124
- #: includes/class.yith-woocompare-helper.php:52
125
  msgid "Availability"
126
  msgstr ""
127
 
128
- #: includes/class.yith-woocompare-helper.php:53
129
  msgid "Weight"
130
  msgstr ""
131
 
132
- #: includes/class.yith-woocompare-helper.php:54
133
  msgid "Dimensions"
134
  msgstr ""
135
 
136
- #: init.php:42
137
  msgid ""
138
  "YITH WooCommerce Compare is enabled but not effective. It requires "
139
  "WooCommerce in order to work."
140
  msgstr ""
141
 
142
- #: init.php:50
143
  msgid ""
144
  "You can't activate the free version of YITH WooCommerce Compare while you "
145
  "are using the premium one."
146
  msgstr ""
147
 
148
- #: plugin-options/general-options.php:17
149
  msgid "General Settings"
150
  msgstr ""
151
 
152
- #: plugin-options/general-options.php:24
153
  msgid "Link or Button"
154
  msgstr ""
155
 
156
- #: plugin-options/general-options.php:25
157
  msgid "Choose if you want to use a link or a button for the comepare actions."
158
  msgstr ""
159
 
160
- #: plugin-options/general-options.php:31
161
  msgid "Link"
162
  msgstr ""
163
 
164
- #: plugin-options/general-options.php:32
165
  msgid "Button"
166
  msgstr ""
167
 
168
- #: plugin-options/general-options.php:37
169
  msgid "Link/Button text"
170
  msgstr ""
171
 
172
- #: plugin-options/general-options.php:38
173
  msgid "Type the text to use for the button or the link of the compare."
174
  msgstr ""
175
 
176
- #: plugin-options/general-options.php:45
177
  msgid "Show button in single product page"
178
  msgstr ""
179
 
180
- #: plugin-options/general-options.php:46
181
  msgid "Say if you want to show the button in the single product page."
182
  msgstr ""
183
 
184
- #: plugin-options/general-options.php:53
185
  msgid "Show button in products list"
186
  msgstr ""
187
 
188
- #: plugin-options/general-options.php:54
189
  msgid "Say if you want to show the button in the products list."
190
  msgstr ""
191
 
192
- #: plugin-options/general-options.php:61
193
  msgid "Open automatically lightbox"
194
  msgstr ""
195
 
196
- #: plugin-options/general-options.php:62
197
  msgid "Open link after click into \"Compare\" button\"."
198
  msgstr ""
199
 
200
- #: plugin-options/general-options.php:74
201
  msgid "Table Settings"
202
  msgstr ""
203
 
204
- #: plugin-options/general-options.php:81
205
  msgid "Table title"
206
  msgstr ""
207
 
208
- #: plugin-options/general-options.php:82
209
  msgid "Type the text to use for the table title."
210
  msgstr ""
211
 
212
- #: plugin-options/general-options.php:84 templates/compare.php:22
213
  msgid "Compare products"
214
  msgstr ""
215
 
216
- #: plugin-options/general-options.php:89
217
  msgid "Fields to show"
218
  msgstr ""
219
 
220
- #: plugin-options/general-options.php:90
221
  msgid ""
222
  "Select the fields to show in the comparison table and order them by "
223
  "drag&drop (are included also the woocommerce attributes)"
224
  msgstr ""
225
 
226
- #: plugin-options/general-options.php:97
227
  msgid "Repeat \"Price\" field"
228
  msgstr ""
229
 
230
- #: plugin-options/general-options.php:98
231
  msgid "Repeat the \"Price\" field at the end of the table"
232
  msgstr ""
233
 
234
- #: plugin-options/general-options.php:105
235
  msgid "Repeat \"Add to cart\" field"
236
  msgstr ""
237
 
238
- #: plugin-options/general-options.php:106
239
  msgid "Repeat the \"Add to cart\" field at the end of the table"
240
  msgstr ""
241
 
242
- #: plugin-options/general-options.php:113
243
  msgid "Image size"
244
  msgstr ""
245
 
246
- #: plugin-options/general-options.php:114
247
  msgid "Set the size for the images"
248
  msgstr ""
249
 
250
- #: templates/admin/premium.php:242 templates/admin/premium.php:448
 
251
  msgid ""
252
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
253
  "benefit from all features!"
254
  msgstr ""
255
 
256
- #: templates/admin/premium.php:245 templates/admin/premium.php:451
257
  msgid "UPGRADE"
258
  msgstr ""
259
 
260
- #: templates/admin/premium.php:246 templates/admin/premium.php:452
261
  msgid "to the premium version"
262
  msgstr ""
263
 
264
- #: templates/admin/premium.php:252
265
  msgid "Premium Features"
266
  msgstr ""
267
 
268
- #: templates/admin/premium.php:260
269
  msgid "A DEDICATED PAGE"
270
  msgstr ""
271
 
272
- #: templates/admin/premium.php:263
 
273
  msgid ""
274
  "Don't you want to compare your products in a modal window anymore?%3$sWith "
275
  "the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be "
@@ -278,73 +242,79 @@ msgid ""
278
  "whenever they want."
279
  msgstr ""
280
 
281
- #: templates/admin/premium.php:273
282
  msgid "CATEGORY COMPARATION"
283
  msgstr ""
284
 
285
- #: templates/admin/premium.php:276
 
286
  msgid ""
287
- "People are often confused by finding products of different categories in the "
288
- "comparison table, creating difficulties in comparing the products they are "
289
- "interested into.The %1$s\"Compare by category\"%2$s option exists for this "
290
- "need: you will be able to separate the products in the table by category "
291
- "affinity."
292
  msgstr ""
293
 
294
- #: templates/admin/premium.php:292
295
  msgid "CATEGORY EXCLUSION "
296
  msgstr ""
297
 
298
- #: templates/admin/premium.php:295
 
299
  msgid ""
300
  "In your shop there may be product categories you don't want to be affected "
301
- "by the plugin features, deleting the comparison button for them. The premium "
302
- "version of the plugin offers this too.%3$sAnd there's more! Activating the "
303
- "%1$s\"Reverse exclusion list\"%2$s option, you can also invert the behavior "
304
- "of the feature, allowing the comparison only to those products of the "
305
- "selected categories."
306
  msgstr ""
307
 
308
- #: templates/admin/premium.php:305
309
  msgid "TABLE IMAGE"
310
  msgstr ""
311
 
312
- #: templates/admin/premium.php:308
 
313
  msgid ""
314
  "Give a personal touch to the %1$scomparison table%2$s your users will see. "
315
  "Select an image, upload it from the option panel and show it ahead of the "
316
  "table to your users. "
317
  msgstr ""
318
 
319
- #: templates/admin/premium.php:324
320
  msgid "DYNAMIC FIELDS"
321
  msgstr ""
322
 
323
- #: templates/admin/premium.php:327
 
324
  msgid ""
325
  "With this precious feature, you will be able to show in the table only the "
326
- "fields that have information in at least one of the selected products."
327
- "%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and there will "
328
- "be no more empty lines in your comparison table."
329
  msgstr ""
330
 
331
- #: templates/admin/premium.php:337
332
  msgid "SOCIAL NETWORK SHARING"
333
  msgstr ""
334
 
335
- #: templates/admin/premium.php:340
 
336
  msgid ""
337
- "One of the most appealing features of the premium version of the plugin.Four "
338
- "social network sites for your users (Facebook, Twitter, Google + and "
339
- "Pinterest) and the email system %1$sto share%2$s the comparison table of the "
340
- "products they have selected."
341
  msgstr ""
342
 
343
- #: templates/admin/premium.php:356
344
  msgid "RELATED PRODUCTS"
345
  msgstr ""
346
 
347
- #: templates/admin/premium.php:359
 
348
  msgid ""
349
  "All the products that have common categories and/or tags with those in the "
350
  "comparison table will be showed in a slider, right under the comparison "
@@ -353,55 +323,60 @@ msgid ""
353
  "interested into."
354
  msgstr ""
355
 
356
- #: templates/admin/premium.php:369
357
  msgid "CUSTOMIZABLE STYLE"
358
  msgstr ""
359
 
360
- #: templates/admin/premium.php:372
 
361
  msgid ""
362
  "An advanced option panel that let you change all the colors of the plugin, "
363
  "so that you can adapt stylistically all its elements %1$sto the layout%2$s "
364
- "of your shop.We know it, looks also count... and we give you the right tools "
365
- "to get to the best result."
366
  msgstr ""
367
 
368
- #: templates/admin/premium.php:388
369
  msgid "CUSTOMIZED ATTRIBUTES"
370
  msgstr ""
371
 
372
- #: templates/admin/premium.php:391
 
373
  msgid ""
374
- "Let you users compare products following every feature, and considering also "
375
- "all those %1$sattributes%2$s that can be manually created in within the "
376
- "product detail page. Every single detail will be included."
377
  msgstr ""
378
 
379
- #: templates/admin/premium.php:401
380
  msgid "A TAILORED TABLE"
381
  msgstr ""
382
 
383
- #: templates/admin/premium.php:404
 
384
  msgid ""
385
  "Select the products you want to compare and the system will offer you the "
386
  "%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
387
  msgstr ""
388
 
389
- #: templates/admin/premium.php:420
390
  msgid "Compare list - widget"
391
  msgstr ""
392
 
393
- #: templates/admin/premium.php:423
 
394
  msgid ""
395
- "Thanks to YITH WooCommerce Comapre Widget users could verify at any time the "
396
- "complete list of products added to the compare tab and avoid to open the "
397
- "popup to check its existence. "
398
  msgstr ""
399
 
400
- #: templates/admin/premium.php:433
401
  msgid "Compare counter - widget and shortcode"
402
  msgstr ""
403
 
404
- #: templates/admin/premium.php:436
 
405
  msgid ""
406
  "Moreover, if you want to give your users the chance to see in a glance how "
407
  "many products they have added to the Compare list, feel free to use the "
@@ -409,11 +384,11 @@ msgid ""
409
  "than one click away."
410
  msgstr ""
411
 
412
- #: templates/compare.php:77
413
  msgid "Close window [X]"
414
  msgstr ""
415
 
416
- #: templates/compare.php:107
417
  msgid "No products added in the compare table."
418
  msgstr ""
419
 
@@ -425,31 +400,30 @@ msgstr ""
425
  msgid "YITH WooCommerce Compare Widget"
426
  msgstr ""
427
 
428
- #: widgets/class.yith-woocompare-widget.php:50
429
  msgid "Clear all"
430
  msgstr ""
431
 
432
- #. Plugin Name of the plugin/theme
433
- msgid "YITH WooCommerce Compare"
434
- msgstr ""
435
-
436
- #. Plugin URI of the plugin/theme
437
- msgid "https://yithemes.com/themes/plugins/yith-woocommerce-compare/"
438
- msgstr ""
439
-
440
  #. Description of the plugin/theme
441
  msgid ""
442
  "The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you "
443
  "to compare in a simple and efficient way products on sale in your shop and "
444
- "analyze their main features in a single table. <a href=\"https://yithemes."
445
- "com/\" target=\"_blank\">Get more plugins for your e-commerce shop on "
446
- "<strong>YITH</strong></a>."
447
  msgstr ""
448
 
449
- #. Author of the plugin/theme
450
- msgid "YITH"
 
451
  msgstr ""
452
 
453
- #. Author URI of the plugin/theme
454
- msgid "https://yithemes.com/"
 
455
  msgstr ""
 
 
 
 
 
1
+ # Copyright (C) 2021 YITH
2
  # This file is distributed under the same license as the YITH WooCommerce Compare package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YITH WooCommerce Compare 2.7.0\n"
6
+ "Report-Msgid-Bugs-To: "
7
+ "https://wordpress.org/support/plugin/yith_woocommerce_compare\n"
8
+ "POT-Creation-Date: 2021-10-15 06:59:09+00:00\n"
9
  "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "X-Generator: grunt-wp-i18n 1.0.3\n"
16
 
17
+ #: includes/class.yith-woocompare-admin.php:113
18
+ #: includes/class.yith-woocompare-admin.php:137
19
  msgid "Settings"
20
  msgstr ""
21
 
22
+ #: includes/class.yith-woocompare-admin.php:115
23
  msgid "License"
24
  msgstr ""
25
 
26
+ #: includes/class.yith-woocompare-admin.php:141
27
  msgid "Premium Version"
28
  msgstr ""
29
 
30
+ #: includes/class.yith-woocompare-admin.php:353
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  msgid "Do you want to hard crop the image?"
32
  msgstr ""
33
 
34
+ #: includes/class.yith-woocompare-frontend.php:222
35
  msgid "Added"
36
  msgstr ""
37
 
38
+ #: includes/class.yith-woocompare-frontend.php:223 templates/compare.php:57
39
  msgid "Product Comparison"
40
  msgstr ""
41
 
42
+ #: includes/class.yith-woocompare-frontend.php:226
43
+ #: includes/class.yith-woocompare-frontend.php:515
44
+ #: plugin-options/general-options.php:38
45
+ #: widgets/class.yith-woocompare-widget.php:55
46
  msgid "Compare"
47
  msgstr ""
48
 
49
+ #: includes/class.yith-woocompare-frontend.php:381
 
 
 
 
 
50
  msgid "In stock"
51
  msgstr ""
52
 
53
+ #: includes/class.yith-woocompare-frontend.php:744
54
  msgid "No products to compare"
55
  msgstr ""
56
 
57
+ #: includes/class.yith-woocompare-frontend.php:756 templates/compare.php:139
58
  msgid "Remove"
59
  msgstr ""
60
 
61
+ #: includes/class.yith-woocompare-helper.php:45
62
  msgid "Image"
63
  msgstr ""
64
 
65
+ #: includes/class.yith-woocompare-helper.php:46
66
+ #: widgets/class.yith-woocompare-widget.php:72
67
  msgid "Title"
68
  msgstr ""
69
 
70
+ #: includes/class.yith-woocompare-helper.php:47
71
  msgid "Price"
72
  msgstr ""
73
 
74
+ #: includes/class.yith-woocompare-helper.php:48
75
  msgid "Add to cart"
76
  msgstr ""
77
 
78
+ #: includes/class.yith-woocompare-helper.php:49
79
  msgid "Description"
80
  msgstr ""
81
 
82
+ #: includes/class.yith-woocompare-helper.php:50
83
  msgid "Sku"
84
  msgstr ""
85
 
86
+ #: includes/class.yith-woocompare-helper.php:51
87
  msgid "Availability"
88
  msgstr ""
89
 
90
+ #: includes/class.yith-woocompare-helper.php:52
91
  msgid "Weight"
92
  msgstr ""
93
 
94
+ #: includes/class.yith-woocompare-helper.php:53
95
  msgid "Dimensions"
96
  msgstr ""
97
 
98
+ #: init.php:52
99
  msgid ""
100
  "YITH WooCommerce Compare is enabled but not effective. It requires "
101
  "WooCommerce in order to work."
102
  msgstr ""
103
 
104
+ #: init.php:67
105
  msgid ""
106
  "You can't activate the free version of YITH WooCommerce Compare while you "
107
  "are using the premium one."
108
  msgstr ""
109
 
110
+ #: plugin-options/general-options.php:15
111
  msgid "General Settings"
112
  msgstr ""
113
 
114
+ #: plugin-options/general-options.php:22
115
  msgid "Link or Button"
116
  msgstr ""
117
 
118
+ #: plugin-options/general-options.php:23
119
  msgid "Choose if you want to use a link or a button for the comepare actions."
120
  msgstr ""
121
 
122
+ #: plugin-options/general-options.php:29
123
  msgid "Link"
124
  msgstr ""
125
 
126
+ #: plugin-options/general-options.php:30
127
  msgid "Button"
128
  msgstr ""
129
 
130
+ #: plugin-options/general-options.php:35
131
  msgid "Link/Button text"
132
  msgstr ""
133
 
134
+ #: plugin-options/general-options.php:36
135
  msgid "Type the text to use for the button or the link of the compare."
136
  msgstr ""
137
 
138
+ #: plugin-options/general-options.php:43
139
  msgid "Show button in single product page"
140
  msgstr ""
141
 
142
+ #: plugin-options/general-options.php:44
143
  msgid "Say if you want to show the button in the single product page."
144
  msgstr ""
145
 
146
+ #: plugin-options/general-options.php:51
147
  msgid "Show button in products list"
148
  msgstr ""
149
 
150
+ #: plugin-options/general-options.php:52
151
  msgid "Say if you want to show the button in the products list."
152
  msgstr ""
153
 
154
+ #: plugin-options/general-options.php:59
155
  msgid "Open automatically lightbox"
156
  msgstr ""
157
 
158
+ #: plugin-options/general-options.php:60
159
  msgid "Open link after click into \"Compare\" button\"."
160
  msgstr ""
161
 
162
+ #: plugin-options/general-options.php:72
163
  msgid "Table Settings"
164
  msgstr ""
165
 
166
+ #: plugin-options/general-options.php:79
167
  msgid "Table title"
168
  msgstr ""
169
 
170
+ #: plugin-options/general-options.php:80
171
  msgid "Type the text to use for the table title."
172
  msgstr ""
173
 
174
+ #: plugin-options/general-options.php:82 templates/compare.php:29
175
  msgid "Compare products"
176
  msgstr ""
177
 
178
+ #: plugin-options/general-options.php:87
179
  msgid "Fields to show"
180
  msgstr ""
181
 
182
+ #: plugin-options/general-options.php:88
183
  msgid ""
184
  "Select the fields to show in the comparison table and order them by "
185
  "drag&drop (are included also the woocommerce attributes)"
186
  msgstr ""
187
 
188
+ #: plugin-options/general-options.php:95
189
  msgid "Repeat \"Price\" field"
190
  msgstr ""
191
 
192
+ #: plugin-options/general-options.php:96
193
  msgid "Repeat the \"Price\" field at the end of the table"
194
  msgstr ""
195
 
196
+ #: plugin-options/general-options.php:103
197
  msgid "Repeat \"Add to cart\" field"
198
  msgstr ""
199
 
200
+ #: plugin-options/general-options.php:104
201
  msgid "Repeat the \"Add to cart\" field at the end of the table"
202
  msgstr ""
203
 
204
+ #: plugin-options/general-options.php:111
205
  msgid "Image size"
206
  msgstr ""
207
 
208
+ #: plugin-options/general-options.php:112
209
  msgid "Set the size for the images"
210
  msgstr ""
211
 
212
+ #: templates/admin/premium.php:255 templates/admin/premium.php:500
213
+ #. translators: placeholders are used for add html tag.
214
  msgid ""
215
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Compare%2$s to "
216
  "benefit from all features!"
217
  msgstr ""
218
 
219
+ #: templates/admin/premium.php:259 templates/admin/premium.php:504
220
  msgid "UPGRADE"
221
  msgstr ""
222
 
223
+ #: templates/admin/premium.php:260 templates/admin/premium.php:505
224
  msgid "to the premium version"
225
  msgstr ""
226
 
227
+ #: templates/admin/premium.php:266
228
  msgid "Premium Features"
229
  msgstr ""
230
 
231
+ #: templates/admin/premium.php:274
232
  msgid "A DEDICATED PAGE"
233
  msgstr ""
234
 
235
+ #: templates/admin/premium.php:279
236
+ #. translators: placeholders are used for add <b> html tag.
237
  msgid ""
238
  "Don't you want to compare your products in a modal window anymore?%3$sWith "
239
  "the premium version of %1$sYITH WooCommerce Compare%2$s, a new page will be "
242
  "whenever they want."
243
  msgstr ""
244
 
245
+ #: templates/admin/premium.php:290
246
  msgid "CATEGORY COMPARATION"
247
  msgstr ""
248
 
249
+ #: templates/admin/premium.php:295
250
+ #. translators: placeholders are used for add <b> html tag.
251
  msgid ""
252
+ "People are often confused by finding products of different categories in "
253
+ "the comparison table, creating difficulties in comparing the products they "
254
+ "are interested into.The %1$s\"Compare by category\"%2$s option exists for "
255
+ "this need: you will be able to separate the products in the table by "
256
+ "category affinity."
257
  msgstr ""
258
 
259
+ #: templates/admin/premium.php:312
260
  msgid "CATEGORY EXCLUSION "
261
  msgstr ""
262
 
263
+ #: templates/admin/premium.php:317
264
+ #. translators: placeholders are used for add <b> html tag.
265
  msgid ""
266
  "In your shop there may be product categories you don't want to be affected "
267
+ "by the plugin features, deleting the comparison button for them. The "
268
+ "premium version of the plugin offers this too.%3$sAnd there's more! "
269
+ "Activating the %1$s\"Reverse exclusion list\"%2$s option, you can also "
270
+ "invert the behavior of the feature, allowing the comparison only to those "
271
+ "products of the selected categories."
272
  msgstr ""
273
 
274
+ #: templates/admin/premium.php:328
275
  msgid "TABLE IMAGE"
276
  msgstr ""
277
 
278
+ #: templates/admin/premium.php:333
279
+ #. translators: placeholders are used for add <b> html tag.
280
  msgid ""
281
  "Give a personal touch to the %1$scomparison table%2$s your users will see. "
282
  "Select an image, upload it from the option panel and show it ahead of the "
283
  "table to your users. "
284
  msgstr ""
285
 
286
+ #: templates/admin/premium.php:350
287
  msgid "DYNAMIC FIELDS"
288
  msgstr ""
289
 
290
+ #: templates/admin/premium.php:355
291
+ #. translators: placeholders are used for add <b> html tag.
292
  msgid ""
293
  "With this precious feature, you will be able to show in the table only the "
294
+ "fields that have information in at least one of the selected "
295
+ "products.%3$sActivate the %1$s\"Dynamic Attribute fields\"%2$s option and "
296
+ "there will be no more empty lines in your comparison table."
297
  msgstr ""
298
 
299
+ #: templates/admin/premium.php:366
300
  msgid "SOCIAL NETWORK SHARING"
301
  msgstr ""
302
 
303
+ #: templates/admin/premium.php:371
304
+ #. translators: placeholders are used for add <b> html tag.
305
  msgid ""
306
+ "One of the most appealing features of the premium version of the "
307
+ "plugin.Four social network sites for your users (Facebook, Twitter, Google "
308
+ "+ and Pinterest) and the email system %1$sto share%2$s the comparison table "
309
+ "of the products they have selected."
310
  msgstr ""
311
 
312
+ #: templates/admin/premium.php:388
313
  msgid "RELATED PRODUCTS"
314
  msgstr ""
315
 
316
+ #: templates/admin/premium.php:393
317
+ #. translators: placeholders are used for add <b> html tag.
318
  msgid ""
319
  "All the products that have common categories and/or tags with those in the "
320
  "comparison table will be showed in a slider, right under the comparison "
323
  "interested into."
324
  msgstr ""
325
 
326
+ #: templates/admin/premium.php:404
327
  msgid "CUSTOMIZABLE STYLE"
328
  msgstr ""
329
 
330
+ #: templates/admin/premium.php:409
331
+ #. translators: placeholders are used for add <b> html tag.
332
  msgid ""
333
  "An advanced option panel that let you change all the colors of the plugin, "
334
  "so that you can adapt stylistically all its elements %1$sto the layout%2$s "
335
+ "of your shop.We know it, looks also count... and we give you the right "
336
+ "tools to get to the best result."
337
  msgstr ""
338
 
339
+ #: templates/admin/premium.php:426
340
  msgid "CUSTOMIZED ATTRIBUTES"
341
  msgstr ""
342
 
343
+ #: templates/admin/premium.php:431
344
+ #. translators: placeholders are used for add <b> html tag.
345
  msgid ""
346
+ "Let you users compare products following every feature, and considering "
347
+ "also all those %1$sattributes%2$s that can be manually created in within "
348
+ "the product detail page. Every single detail will be included."
349
  msgstr ""
350
 
351
+ #: templates/admin/premium.php:442
352
  msgid "A TAILORED TABLE"
353
  msgstr ""
354
 
355
+ #: templates/admin/premium.php:447
356
+ #. translators: placeholders are used for add <b> html tag.
357
  msgid ""
358
  "Select the products you want to compare and the system will offer you the "
359
  "%1$sshortcode%2$s to generate a comparing table. Simple, rapid and useful."
360
  msgstr ""
361
 
362
+ #: templates/admin/premium.php:464
363
  msgid "Compare list - widget"
364
  msgstr ""
365
 
366
+ #: templates/admin/premium.php:469
367
+ #. translators: placeholders are used for add <b> html tag.
368
  msgid ""
369
+ "Thanks to YITH WooCommerce Comapre Widget users could verify at any time "
370
+ "the complete list of products added to the compare tab and avoid to open "
371
+ "the popup to check its existence. "
372
  msgstr ""
373
 
374
+ #: templates/admin/premium.php:480
375
  msgid "Compare counter - widget and shortcode"
376
  msgstr ""
377
 
378
+ #: templates/admin/premium.php:485
379
+ #. translators: placeholders are used for add <b> html tag.
380
  msgid ""
381
  "Moreover, if you want to give your users the chance to see in a glance how "
382
  "many products they have added to the Compare list, feel free to use the "
384
  "than one click away."
385
  msgstr ""
386
 
387
+ #: templates/compare.php:87
388
  msgid "Close window [X]"
389
  msgstr ""
390
 
391
+ #: templates/compare.php:122
392
  msgid "No products added in the compare table."
393
  msgstr ""
394
 
400
  msgid "YITH WooCommerce Compare Widget"
401
  msgstr ""
402
 
403
+ #: widgets/class.yith-woocompare-widget.php:54
404
  msgid "Clear all"
405
  msgstr ""
406
 
 
 
 
 
 
 
 
 
407
  #. Description of the plugin/theme
408
  msgid ""
409
  "The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you "
410
  "to compare in a simple and efficient way products on sale in your shop and "
411
+ "analyze their main features in a single table. <a "
412
+ "href=\"https://yithemes.com/\" target=\"_blank\">Get more plugins for your "
413
+ "e-commerce shop on <strong>YITH</strong></a>."
414
  msgstr ""
415
 
416
+ #: includes/class.yith-woocompare-admin.php:147
417
+ msgctxt "Admin Plugin Name"
418
+ msgid "WooCommerce Compare"
419
  msgstr ""
420
 
421
+ #: includes/class.yith-woocompare-admin.php:148
422
+ msgctxt "Admin Plugin Name"
423
+ msgid "Compare"
424
  msgstr ""
425
+
426
+ #: includes/class.yith-woocompare-frontend.php:228
427
+ msgctxt "Label for popup close icon"
428
+ msgid "Close"
429
+ msgstr ""
plugin-fw/assets/css/admin.css CHANGED
@@ -129,6 +129,11 @@
129
  padding: 30px 20px !important;
130
  }
131
 
 
 
 
 
 
132
  .yith-system-info-wrap table.form-table textarea.yith-system-info-debug {
133
  width: 100%;
134
  height: 400px !important;
129
  padding: 30px 20px !important;
130
  }
131
 
132
+ .yith-system-info-wrap table.form-table th {
133
+ min-width: 200px;
134
+ width: auto !important;
135
+ }
136
+
137
  .yith-system-info-wrap table.form-table textarea.yith-system-info-debug {
138
  width: 100%;
139
  height: 400px !important;
plugin-fw/assets/css/scss/yith-plugin-ui.scss DELETED
@@ -1,8 +0,0 @@
1
- @import "yith-plugin-ui/head_comment";
2
-
3
- @import "yith-plugin-ui/variables";
4
- @import "yith-plugin-ui/wp-pages";
5
- @import "yith-plugin-ui/taxonomy";
6
- @import "yith-plugin-ui/components";
7
- @import "yith-plugin-ui/tables";
8
- @import "yith-plugin-ui/animations";
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/_animations.scss DELETED
@@ -1,92 +0,0 @@
1
- /**
2
- * YITH Animations
3
- */
4
-
5
- .yith-plugin-fw-animate__appear-from-bottom{
6
- animation: yith-plugin-fw-appear-from-bottom .3s forwards;
7
- }
8
-
9
- .yith-plugin-fw-animate__appear-from-top{
10
- animation: yith-plugin-fw-appear-from-top .3s forwards;
11
- }
12
-
13
- .yith-plugin-fw-animate__fade-in{
14
- animation: yith-plugin-fw-fade-in .3s forwards;
15
- }
16
-
17
-
18
- @-webkit-keyframes yith-plugin-fw-appear-from-top {
19
- from {
20
- opacity: 0;
21
- transform: translateY(-30%);
22
- -webkit-transform: translateY(-30%);
23
- }
24
-
25
- to {
26
- opacity: 1;
27
- transform: translateY(0);
28
- -webkit-transform: translateY(0);
29
- }
30
- }
31
-
32
- @keyframes yith-plugin-fw-appear-from-top {
33
- from {
34
- opacity: 0;
35
- transform: translateY(-30%);
36
- -webkit-transform: translateY(-30%);
37
- }
38
-
39
- to {
40
- opacity: 1;
41
- transform: translateY(0);
42
- -webkit-transform: translateY(0);
43
- }
44
- }
45
-
46
- @-webkit-keyframes yith-plugin-fw-appear-from-bottom {
47
- from {
48
- opacity: 0;
49
- transform: translateY(+30%);
50
- -webkit-transform: translateY(+30%);
51
- }
52
-
53
- to {
54
- opacity: 1;
55
- transform: translateY(0);
56
- -webkit-transform: translateY(0);
57
- }
58
- }
59
-
60
- @keyframes yith-plugin-fw-appear-from-bottom {
61
- from {
62
- opacity: 0;
63
- transform: translateY(+30%);
64
- -webkit-transform: translateY(+30%);
65
- }
66
-
67
- to {
68
- opacity: 1;
69
- transform: translateY(0);
70
- -webkit-transform: translateY(0);
71
- }
72
- }
73
-
74
- @-webkit-keyframes yith-plugin-fw-fade-in {
75
- from {
76
- opacity: 0;
77
- }
78
-
79
- to {
80
- opacity: 1;
81
- }
82
- }
83
-
84
- @keyframes yith-plugin-fw-fade-in {
85
- from {
86
- opacity: 0;
87
- }
88
-
89
- to {
90
- opacity: 1;
91
- }
92
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/_components.scss DELETED
@@ -1,11 +0,0 @@
1
- /**
2
- * YITH Plugin UI - Components
3
- */
4
-
5
- @import "components/action-button";
6
- @import "components/buttons";
7
- @import "components/boxed-row";
8
- @import "components/confirm";
9
- @import "components/list-table-blank-state";
10
- @import "components/modal";
11
- @import "components/tip-tip";
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/_head_comment.scss DELETED
@@ -1,6 +0,0 @@
1
- /**
2
- * YITH Plugin UI style
3
- *
4
- * IMPORTANT: This file is automatically generated through SCSS files.
5
- * Please don't edit it manually!
6
- */
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/_tables.scss DELETED
@@ -1,56 +0,0 @@
1
- /**
2
- * YITH Plugin UI - Post Type Style
3
- */
4
-
5
- @import "mixins/tables";
6
-
7
- table.yith-plugin-fw__classic-table {
8
- @include classic-table;
9
-
10
- &.wp-list-table{
11
- @include wp-table-commons;
12
- }
13
- }
14
-
15
- table.yith-plugin-fw__boxed-table {
16
- @include boxed-table;
17
-
18
- &.wp-list-table{
19
- @include wp-table-commons;
20
- }
21
- }
22
-
23
- // WP List Tables
24
- .yith-plugin-ui--classic-wp-list-style, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style {
25
-
26
- table.wp-list-table {
27
- @include classic-table;
28
-
29
- @include wp-table-commons;
30
- }
31
-
32
- .tablenav.bottom {
33
- display: none;
34
-
35
- .yith-plugin-fw__list-table-blank-state {
36
- display: flex;
37
- }
38
- }
39
- }
40
-
41
- .yith-plugin-ui--boxed-wp-list-style, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style {
42
-
43
- table.wp-list-table {
44
- @include boxed-table;
45
-
46
- @include wp-table-commons;
47
- }
48
-
49
- .tablenav.bottom {
50
- display: none;
51
-
52
- .yith-plugin-fw__list-table-blank-state {
53
- display: flex;
54
- }
55
- }
56
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/_taxonomy.scss DELETED
@@ -1,52 +0,0 @@
1
- /**
2
- * YITH Plugin UI - Taxonomy Style
3
- */
4
-
5
- .yith-plugin-ui.yith-plugin-ui--taxonomy-type, .yith-plugin-ui--taxonomy-type {
6
-
7
- // List
8
-
9
- #col-container {
10
- display: flex;
11
- }
12
-
13
- #col-left {
14
- padding: 20px;
15
- background: #f1f1f1;
16
- border-radius: 8px;
17
- box-sizing: border-box;
18
- margin-right: 15px;
19
- }
20
-
21
- #col-right {
22
- flex: 1;
23
- }
24
-
25
- h2 {
26
- border: none;
27
- padding: 0;
28
- font-size: 14px;
29
- background: transparent;
30
- }
31
-
32
- // Edit Tax
33
- .wrap h1 {
34
- color: #2a8db0;
35
- font-size: 16px;
36
- font-weight: 600;
37
- }
38
- }
39
-
40
- @media screen and (max-width: 782px) {
41
- .yith-plugin-ui.yith-plugin-ui--taxonomy-type {
42
- #col-container {
43
- display: block;
44
- }
45
-
46
- #col-left, #col-right {
47
- float: none;
48
- width: 100%;
49
- }
50
- }
51
- }
52
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/_variables.scss DELETED
@@ -1,121 +0,0 @@
1
- /**
2
- * YITH CSS Variables
3
- */
4
-
5
- $content_bg: #ffffff; // Content Background.
6
- $content_text: #3c434a; // Content Text.
7
-
8
- $primary: #00799f; // Primary color, for buttons
9
- $primary_hover: #0094c4; // Primary hover color, for buttons
10
- $primary_focus: #bddce6; // Primary focus color, for buttons
11
- $primary_text: #ffffff; // Text on primary color bg
12
-
13
- $delete: #c41d04; // color for delete buttons
14
- $delete_hover: lighten($delete, 5%); // color for delete buttons - hover
15
- $delete_text: #ffffff; // Text on delete buttons
16
- $delete_focus: #f0d2cd; // Delete focus color, for buttons
17
-
18
- // Outline is used to stylize Secondary buttons.
19
- $outline_text: #0087b3; // outline button - text color
20
- $outline_border: #0094c4; // outline button - border color
21
- $outline_bg: rgba(255, 255, 255, 0); // outline button - background color
22
- $outline_bg_hover: rgba(157, 198, 205, .2); // outline button - background color on hover
23
- $outline_border_hover: #007ba3; // outline button - border color on hover
24
- $outline_focus: #dfeef2; // Outline focus color, for buttons
25
-
26
- $delete_outline_text: $delete; // Delete-outline button - text color
27
- $delete_outline_border: $delete; // Delete-outline button - border color
28
- $delete_outline_bg: rgba(205, 157, 157, 0); // Delete-outline button - background color
29
- $delete_outline_bg_hover: rgba(232, 184, 184, 0.15); // Delete-outline button - background color on hover
30
- $delete_outline_border_hover: #db2b11; // Delete-outline button - border color on hover
31
- $delete_outline_focus: #ffe9e7; // Delete-outline focus color, for buttons
32
-
33
- $update: #94aa09; // Update button - background
34
- $update_hover: darken($update, 5%); // Update button - hover
35
- $update_text: #ffffff; // Text on update button background
36
- $update_focus: #e7eccc; // Text on update button background
37
-
38
- $accent: #98aa36;
39
-
40
- $light_bg: #f0f6fb;
41
- $light_border_color: #d7e3e7;
42
- $light_shadow: rgba(145, 191, 227, 0.11);
43
- $light_accent: #0079b0;
44
-
45
- $success: #98aa36;
46
- $success_light: lighten($success, 30%);
47
- $success_lighter: lighten($success, 43%);
48
- $success_lightest: lighten($success, 50%);
49
-
50
-
51
- $table_row_highlight: #f0f6fb;
52
- $table_row_striped: #f6f7f7;
53
- $table_border_light: #eff0f0;
54
-
55
- $field_border_color: #d8d8d8;
56
- $field_border_weight: 1px;
57
- $field_border: $field_border_weight solid $field_border_color;
58
-
59
- $link: #0079b0; // Link Color.
60
-
61
- // Extra variables: these will be not converted to CSS Variables
62
- $wp_menu_size: 160px;
63
- $wp_menu_folded_size: 36px;
64
- $wp_menu_mobile_size: 190px;
65
- $wp_top_bar_size: 32px;
66
- $wp_top_bar_mobile_size: 46px;
67
-
68
- // export vars as CSS vars
69
- :root {
70
- --yith-content-bg: #{$content_bg};
71
- --yith-content-text: #{$content_text};
72
- --yith-primary: #{$primary};
73
- --yith-primary-hover: #{$primary_hover};
74
- --yith-primary-focus: #{$primary_focus};
75
- --yith-primary-text: #{$primary_text};
76
-
77
- --yith-delete: #{$delete};
78
- --yith-delete-hover: #{$delete_hover};
79
- --yith-delete-text: #{$delete_text};
80
- --yith-delete-focus: #{$delete_focus};
81
-
82
- --yith-update: #{$update};
83
- --yith-update-hover: #{$update_hover};
84
- --yith-update-text: #{$update_text};
85
- --yith-update-focus: #{$update_focus};
86
-
87
- --yith-outline-text: #{$outline_text};
88
- --yith-outline-border: #{$outline_border};
89
- --yith-outline-bg: #{$outline_bg};
90
- --yith-outline-bg-hover: #{$outline_bg_hover};
91
- --yith-outline-border-hover: #{$outline_border_hover};
92
- --yith-outline-focus: #{$outline_focus};
93
-
94
- --yith-delete-outline-text: #{$delete_outline_text};
95
- --yith-delete-outline-border: #{$delete_outline_border};
96
- --yith-delete-outline-bg: #{$delete_outline_bg};
97
- --yith-delete-outline-bg-hover: #{$delete_outline_bg_hover};
98
- --yith-delete-outline-border-hover: #{$delete_outline_border_hover};
99
- --yith-delete-outline-focus: #{$delete_outline_focus};
100
-
101
- --yith-accent: #{$accent};
102
-
103
- --yith-light-bg: #{$light_bg};
104
- --yith-light-border-color: #{$light_border_color};
105
- --yith-light-shadow: #{$light_shadow};
106
- --yith-light-accent: #{$light_accent};
107
-
108
- --yith-success: #{$success};
109
- --yith-success-light: #{$success_light};
110
- --yith-success-lighter: #{$success_lighter};
111
- --yith-success-lightest: #{$success_lightest};
112
-
113
- --yith-table-row-highlight: #{$table_row_highlight};
114
- --yith-table-row-striped: #{$table_row_striped};
115
- --yith-table-border-light: #{$table_border_light};
116
-
117
- --yith-field-border-color: #{$field_border_color};
118
- --yith-field-border-weight: #{$field_border_color};
119
- --yith-field-border: #{$field_border};
120
- --yith-link: #{$link};
121
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/_wp-pages.scss DELETED
@@ -1,88 +0,0 @@
1
- /**
2
- * YITH Plugin UI - WP Pages
3
- */
4
-
5
- .yith-plugin-fw-wp-page-wrapper {
6
-
7
- .yith-plugin-fw__back-to-wp-list__wrapper {
8
- margin: -5px 0 15px;
9
-
10
- .yith-plugin-fw__back-to-wp-list {
11
- text-decoration: none;
12
- font-weight: 600;
13
- text-transform: uppercase;
14
- color: var(--yith-link);
15
- vertical-align: middle;
16
-
17
- &:before {
18
- content: "\e901";
19
- font-family: yith-icon;
20
- margin-right: 5px;
21
- font-size: .8em;
22
- vertical-align: middle;
23
- }
24
- }
25
- }
26
-
27
- .wrap div#message.updated {
28
- display: none;
29
- padding: 15px 40px 15px 45px;
30
- margin: 15px 0 20px;
31
- border-radius: 5px;
32
- background: var(--yith-success-lightest);
33
- border: 1px solid var(--yith-success-light);
34
- font-weight: 600;
35
- font-size: 14px;
36
- text-align: left;
37
- color: var(--yith-content-text);
38
- box-shadow: 1px 1px 2px var(--yith-success-lighter);
39
-
40
-
41
- &:before {
42
- font-family: yith-icon;
43
- content: "\e921";
44
- position: absolute;
45
- top: 50%;
46
- left: 13px;
47
- font-size: 21px;
48
- font-weight: 400;
49
- transform: translateY(-50%);
50
- color: var(--yith-success);
51
- }
52
-
53
- p {
54
- padding: 0;
55
- margin: 0;
56
- }
57
-
58
- .notice-dismiss {
59
- position: absolute;
60
- top: 50%;
61
- right: 10px;
62
- transform: translateY(-50%);
63
- border-radius: 50%;
64
- color: var(--yith-success);
65
- padding: 7px;
66
- background: transparent;
67
- box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
68
- transition: all .3s ease-in-out;
69
-
70
- &:before {
71
- font-family: yith-icon;
72
- content: "\e906";
73
- font-weight: 600;
74
- font-size: 12px;
75
- color: inherit;
76
- }
77
-
78
- &:hover {
79
- box-shadow: 0 0 0 0 var(--yith-success-lighter);
80
- background: var(--yith-success-lighter);
81
- }
82
-
83
- &:hover:before, &:active:before, &:focus:before {
84
- color: inherit;
85
- }
86
- }
87
- }
88
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/components/_action-button.scss DELETED
@@ -1,80 +0,0 @@
1
- .yith-plugin-ui .yith-plugin-fw__action-button, .yith-plugin-fw__action-button {
2
- height: 35px;
3
- width: 35px;
4
- background-color: var(--yith-content-bg);
5
- display: inline-block;
6
- border: 0;
7
- border-radius: 50%;
8
- transition: .3s;
9
- cursor: pointer;
10
- box-shadow: 0 2px 7px rgba(170, 198, 222, .5);
11
- outline: none;
12
- position: relative;
13
- margin: 0 5px 5px 0;
14
- vertical-align: middle;
15
-
16
- .yith-plugin-fw__action-button__link {
17
- height: 100%;
18
- width: 100%;
19
- display: inline-block;
20
- }
21
-
22
- .yith-plugin-fw__action-button__icon {
23
- position: absolute;
24
- color: var(--yith-link);
25
- font-size: 17px;
26
- top: 50%;
27
- left: 50%;
28
- transform: translateX(-50%) translateY(-50%);
29
- }
30
-
31
- &.yith-plugin-fw__action-button--trash-action .yith-plugin-fw__action-button__icon,
32
- &.yith-plugin-fw__action-button--delete-action .yith-plugin-fw__action-button__icon {
33
- color: #a10000;
34
- }
35
-
36
- .yith-plugin-fw__action-button__menu {
37
- position: absolute;
38
- display: none;
39
- flex-direction: column;
40
- width: max-content;
41
- right: 0;
42
- margin: 5px 0 0 0;
43
- padding: 8px 0;
44
- background: var(--yith-content-bg);
45
- border-radius: 5px;
46
- box-shadow: 0 2px 7px rgba(170, 198, 222, .5);
47
- z-index: 10;
48
- animation: yith-plugin-fw-appear-from-top .3s forwards;
49
- }
50
-
51
- .yith-plugin-fw__action-button__menu__item {
52
- margin: 0;
53
- display: block;
54
- padding: 7px 25px;
55
- color: var(--yith-content-text);
56
- cursor: pointer;
57
- text-decoration: none;
58
- text-align: right;
59
-
60
- &:hover {
61
- color: var(--yith-link);
62
- }
63
- }
64
-
65
- &.yith-plugin-fw__action-button--has-menu {
66
- .yith-plugin-fw__action-button__icon {
67
- color: var(--yith-content-text);
68
- }
69
-
70
- &.yith-plugin-fw__action-button--opened {
71
- .yith-plugin-fw__action-button__icon {
72
- color: var(--yith-link);
73
- }
74
-
75
- .yith-plugin-fw__action-button__menu {
76
- display: flex;
77
- }
78
- }
79
- }
80
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/components/_boxed-row.scss DELETED
@@ -1,14 +0,0 @@
1
-
2
- .yith-plugin-fw__boxed-row, .yith-plugin-fw__boxed-row--hover-highlight {
3
- background: var(--yith-content-bg);
4
- border-radius: 5px;
5
- box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
6
- transition: background-color .2s ease-in-out;
7
- padding: 25px;
8
- margin-bottom: 25px;
9
- margin-top: 25px;
10
- }
11
-
12
- .yith-plugin-fw__boxed-row--hover-highlight:hover {
13
- background: var(--yith-table-row-highlight);
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/components/_buttons.scss DELETED
@@ -1,212 +0,0 @@
1
- @import "../mixins/buttons";
2
-
3
- .yith-plugin-ui, .wp-core-ui .yith-plugin-ui {
4
-
5
- // WordPress Buttons.
6
- .button-primary, .button-secondary {
7
- border-radius : 3px;
8
- text-transform : none;
9
- box-shadow : none;
10
- border : 1px solid;
11
- font-weight : 600;
12
- padding : 0 12px;
13
- outline : none;
14
- height : auto;
15
- transition : all ease 0.3s;
16
- text-shadow : none;
17
- display : inline-block;
18
- text-decoration : none;
19
- cursor : pointer;
20
- white-space : nowrap;
21
-
22
- &:focus {
23
- outline : none;
24
- box-shadow : none;
25
- }
26
-
27
- &.button-small {
28
- padding : 0 8px;
29
- }
30
- }
31
-
32
- .button-secondary {
33
- @include button-secondary;
34
- }
35
-
36
- .button-primary {
37
- @include button-primary;
38
- }
39
-
40
- .button.action,
41
- #doaction,
42
- #doaction2,
43
- #post-query-submit,
44
- #posts-filter #delete_all,
45
- #search-submit,
46
- .button.filter-button {
47
- @include button;
48
- @include button-secondary;
49
- height : auto;
50
- line-height : 33px;
51
- border-radius : 8px;
52
- padding : 0 15px;
53
- font-weight : 600;
54
- }
55
-
56
- #posts-filter #delete_all {
57
- @include button-delete-outline;
58
- }
59
-
60
- .tablenav .tablenav-pages .button,
61
- .tablenav .tablenav-pages .tablenav-pages-navspan {
62
- @include button-secondary;
63
- }
64
-
65
- @media screen and (max-width : 782px) {
66
- .tablenav .tablenav-pages .button, .tablenav .tablenav-pages .tablenav-pages-navspan {
67
- min-width : 44px;
68
- padding : 12px 8px;
69
- font-size : 18px;
70
- line-height : 1;
71
- }
72
- }
73
-
74
- // YITH Buttons.
75
- .yith-plugin-fw__button, [class^="yith-plugin-fw__button--"], [class*=" yith-plugin-fw__button--"],
76
- .yith-add-button, .yith-edit-button, .yith-update-button, .yith-remove-button, .yith-plugin-fw-upload-button, .yith-save-button, .yith-plugin-fw-select-all, .yith-plugin-fw-deselect-all, .yith-plugin-fw-upload-button-reset // Old buttons.
77
- {
78
- @include button;
79
- }
80
-
81
- .yith-plugin-fw__button--primary {
82
- @include button-primary;
83
- }
84
-
85
- .yith-plugin-fw__button--secondary {
86
- @include button-secondary;
87
- }
88
-
89
- .yith-plugin-fw__button--delete {
90
- @include button-delete;
91
- }
92
-
93
- .yith-plugin-fw__button--add, .yith-add-button {
94
- @include button-primary;
95
-
96
- @include button-with-icon("\e90a");
97
-
98
- &.closed {
99
- @include button-secondary;
100
-
101
- @include button-with-icon("\e906");
102
- }
103
- }
104
-
105
- .yith-plugin-fw__button--close {
106
- @include button-secondary;
107
-
108
- @include button-with-icon("\e906");
109
- }
110
-
111
- .yith-plugin-fw__button--edit, .yith-edit-button {
112
- @include button-secondary;
113
-
114
- @include button-with-icon("\e907");
115
- }
116
-
117
- .yith-plugin-fw__button--update, .yith-update-button {
118
- @include button-update;
119
-
120
- @include button-with-icon("\e90b");
121
- }
122
-
123
- .yith-plugin-fw__button--trash, .yith-remove-button {
124
- @include button-delete;
125
-
126
- @include button-with-icon("\e90d");
127
- }
128
-
129
- .yith-plugin-fw__button--upload, .yith-plugin-fw-upload-button {
130
- @include button-primary;
131
-
132
- @include button-with-icon("\e90c");
133
- }
134
-
135
- // Old buttons.
136
- .yith-save-button {
137
- @include button-primary;
138
- }
139
-
140
- .yith-plugin-fw-select-all,
141
- .yith-plugin-fw-deselect-all,
142
- .yith-plugin-fw-upload-button-reset {
143
- @include button-secondary;
144
- }
145
-
146
- // with icons.
147
- .button-secondary span.yith-icon {
148
- margin-left : 0;
149
- margin-right : 10px;
150
- line-height : normal;
151
-
152
- &:before {
153
- color : inherit;
154
- font-size : 15px;
155
- font-weight : 400;
156
- }
157
- }
158
-
159
- // With icon
160
- .yith-plugin-fw__button--with-icon {
161
- position : relative;
162
- padding-left : 30px;
163
-
164
- i {
165
- position : absolute;
166
- top : 50%;
167
- left : 10px;
168
- transform : translateY(-50%);
169
- font-size : 1.15em;
170
- font-weight : 400;
171
- }
172
- }
173
-
174
-
175
- // Button Sizes
176
- .yith-plugin-fw__button--xl, .button-xl {
177
- padding : 0 20px;
178
- font-size : 14px;
179
- line-height : 38px;
180
-
181
- &::before {
182
- margin : 0 10px 0 -5px;
183
- }
184
-
185
- &.yith-plugin-fw__button--with-icon {
186
- padding-left : 40px;
187
-
188
- i {
189
- left : 14px;
190
- }
191
- }
192
- }
193
-
194
- .yith-plugin-fw__button--xxl {
195
- padding : 0 28px;
196
- font-size : 16px;
197
- line-height : 45px;
198
-
199
- &::before {
200
- margin : 0 15px 0 -10px;
201
- }
202
-
203
- &.yith-plugin-fw__button--with-icon {
204
- padding-left : 45px;
205
-
206
- i {
207
- left : 15px;
208
- }
209
- }
210
- }
211
- }
212
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/components/_confirm.scss DELETED
@@ -1,41 +0,0 @@
1
- @import "../mixins/buttons";
2
-
3
- .yith-plugin-fw__confirm__wrap {
4
-
5
- .yith-plugin-fw__confirm__message {
6
- margin-bottom: 20px;
7
- }
8
-
9
- .yith-plugin-fw__confirm__footer {
10
- text-align: right;
11
- }
12
-
13
-
14
- .yith-plugin-fw__confirm__button {
15
- height: auto;
16
- line-height: 33px;
17
- border-radius: 4px;
18
- padding: 0 20px;
19
- font-weight: 600;
20
- cursor: pointer;
21
- display: inline-block;
22
- margin-right: 10px;
23
- white-space: nowrap;
24
-
25
- &:last-child {
26
- margin-right: 0;
27
- }
28
-
29
- &.yith-plugin-fw__confirm__button--cancel {
30
- @include button-secondary;
31
- }
32
-
33
- &.yith-plugin-fw__confirm__button--confirm {
34
- @include button-primary;
35
- }
36
-
37
- &.yith-plugin-fw__confirm__button--delete {
38
- @include button-delete;
39
- }
40
- }
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/components/_list-table-blank-state.scss DELETED
@@ -1,25 +0,0 @@
1
- .yith-plugin-fw__list-table-blank-state {
2
- padding: 30px 30px 0;
3
- text-align: center;
4
- display: flex;
5
- flex-direction: column;
6
-
7
- & > * {
8
- margin-bottom: 30px;
9
- }
10
-
11
- img.yith-plugin-fw__list-table-blank-state__icon {
12
- width: 100px;
13
- margin: 0 auto 30px;
14
- }
15
-
16
- i.yith-plugin-fw__list-table-blank-state__icon {
17
- font-size: 65px;
18
- margin: 0 auto 30px;
19
- }
20
-
21
- .yith-plugin-fw__list-table-blank-state__message {
22
- font-size: 1.4em;
23
- line-height: 1.5;
24
- }
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/components/_modal.scss DELETED
@@ -1,128 +0,0 @@
1
- .yith-plugin-fw__modal__wrap {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- position: fixed;
6
- top: 0;
7
- left: 0;
8
- width: 100%;
9
- height: 100%;
10
- z-index: 999999;
11
- background: rgba(34, 59, 80, 0.7);
12
- animation: yith-plugin-fw-fade-in .3s forwards;
13
- box-sizing: border-box;
14
-
15
- .yith-plugin-fw__modal__main {
16
- position: relative;
17
- background: #fff;
18
- border-radius: 10px;
19
- box-shadow: 1px 3px 16px rgba(0, 22, 59, .4);
20
- animation: yith-plugin-fw-appear-from-top .3s forwards;
21
- overflow: hidden;
22
- max-width: calc(100% - 20px);
23
- max-height: calc(100% - 20px);
24
- display: flex;
25
- flex-direction: column;
26
- }
27
-
28
- .yith-plugin-fw__modal__close {
29
- position: absolute;
30
- top: 0;
31
- right: 0;
32
- padding: 8px;
33
- font-size: 14px;
34
- font-weight: 600;
35
- color: #aaa;
36
- cursor: pointer;
37
-
38
- &:hover {
39
- color: #444;
40
- }
41
- }
42
-
43
- .yith-plugin-fw__modal__title {
44
- padding: 20px 25px;
45
- font-size: 1.5em;
46
- font-weight: 600;
47
- line-height: 1.5em;
48
- color: var(--yith-primary);
49
- }
50
-
51
- .yith-plugin-fw__modal__content {
52
- padding: 0 25px 25px;
53
- }
54
-
55
- .yith-plugin-fw__modal__footer {
56
- padding: 25px;
57
- background: #f7f7f7;
58
- }
59
-
60
- &.yith-plugin-fw__modal__wrap--scroll-content {
61
- .yith-plugin-fw__modal__content {
62
- overflow-y: auto;
63
- }
64
- }
65
- }
66
-
67
- .yith-plugin-fw__modal--opened {
68
- overflow: hidden;
69
- }
70
-
71
- // Allow seeing WP Menu.
72
-
73
- .yith-plugin-fw__modal--allow-wp-menu {
74
- .yith-plugin-fw__modal__wrap {
75
- z-index: 99;
76
- padding-left: $wp_menu_size;
77
- padding-top: $wp_top_bar_size;
78
- }
79
-
80
- #adminmenuback {
81
- z-index: 100;
82
- }
83
- }
84
-
85
- @media only screen and (max-width: 960px) {
86
- .folded {
87
- .yith-plugin-fw__modal__wrap {
88
- padding-left: $wp_menu_folded_size;
89
- }
90
- }
91
-
92
- .auto-fold {
93
- .yith-plugin-fw__modal--allow-wp-menu {
94
- .yith-plugin-fw__modal__wrap {
95
- padding-left: $wp_menu_folded_size;
96
- }
97
- }
98
- }
99
- }
100
-
101
- @media screen and (max-width: 782px) {
102
- .auto-fold {
103
- .yith-plugin-fw__modal--allow-wp-menu {
104
- .yith-plugin-fw__modal__wrap {
105
- z-index: 999999;
106
- width: 100%;
107
- height: 100%;
108
- padding-left: 0;
109
- padding-top: 0;
110
- }
111
- }
112
-
113
- .yith-plugin-fw__modal--allow-wp-menu-in-mobile {
114
- .yith-plugin-fw__modal__wrap {
115
- z-index: 99;
116
- padding-top: $wp_top_bar_mobile_size;
117
- }
118
-
119
- &.wp-responsive-open {
120
- .yith-plugin-fw__modal__wrap {
121
- padding-left: $wp_menu_mobile_size;
122
- }
123
- }
124
- }
125
-
126
-
127
- }
128
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/components/_tip-tip.scss DELETED
@@ -1,79 +0,0 @@
1
- @import "../mixins/buttons";
2
-
3
- #tiptip_holder {
4
- display: none;
5
- z-index: 8675309;
6
- position: absolute;
7
- top: 0;
8
-
9
- /*rtl:ignore*/
10
- left: 0;
11
-
12
-
13
- &.tip_top {
14
- padding-bottom: 5px;
15
-
16
- #tiptip_arrow_inner {
17
- margin-top: -7px;
18
- margin-left: -6px;
19
- border-top-color: #333;
20
- }
21
- }
22
-
23
- &.tip_bottom {
24
- padding-top: 5px;
25
-
26
- #tiptip_arrow_inner {
27
- margin-top: -5px;
28
- margin-left: -6px;
29
- border-bottom-color: #333;
30
- }
31
- }
32
-
33
- &.tip_right {
34
- padding-left: 5px;
35
-
36
- #tiptip_arrow_inner {
37
- margin-top: -6px;
38
- margin-left: -5px;
39
- border-right-color: #333;
40
- }
41
- }
42
-
43
- &.tip_left {
44
- padding-right: 5px;
45
-
46
- #tiptip_arrow_inner {
47
- margin-top: -6px;
48
- margin-left: -7px;
49
- border-left-color: #333;
50
- }
51
- }
52
-
53
-
54
- #tiptip_content {
55
- color: #fff;
56
- font-size: 0.8em;
57
- max-width: 150px;
58
- background: #333;
59
- text-align: center;
60
- border-radius: 3px;
61
- padding: 0.618em 1em;
62
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
63
-
64
- code {
65
- padding: 1px;
66
- background: #888;
67
- }
68
- }
69
-
70
- #tiptip_arrow,
71
- #tiptip_arrow_inner {
72
- position: absolute;
73
- border-color: transparent;
74
- border-style: solid;
75
- border-width: 6px;
76
- height: 0;
77
- width: 0;
78
- }
79
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_buttons.scss DELETED
@@ -1,124 +0,0 @@
1
- @mixin button {
2
- display: inline-block;
3
- height: auto;
4
- line-height: 30px;
5
- border-radius: 4px;
6
- padding: 0 17px;
7
- font-weight: 600;
8
- cursor: pointer;
9
- transition: all .3s ease-in-out;
10
- text-decoration: none;
11
- white-space: nowrap;
12
-
13
- &:focus {
14
- outline: none;
15
- box-shadow: none;
16
- }
17
- }
18
-
19
- @mixin button-primary {
20
- background: var(--yith-primary);
21
- color: var(--yith-primary-text);
22
- border: 1px solid var(--yith-primary);
23
-
24
- &:focus {
25
- background: var(--yith-primary);
26
- color: var(--yith-primary-text);
27
- border: 1px solid var(--yith-primary);
28
- box-shadow: 0 0 0 3px var(--yith-primary-focus);
29
- }
30
-
31
- &:hover, &:active {
32
- background: var(--yith-primary-hover);
33
- color: var(--yith-primary-text);
34
- border: 1px solid var(--yith-primary-hover);
35
- }
36
- }
37
-
38
- @mixin button-secondary {
39
- background: var(--yith-outline-bg);
40
- border: 1px solid var(--yith-outline-border);
41
- color: var(--yith-outline-text);
42
-
43
- &:focus {
44
- background: var(--yith-outline-bg);
45
- border: 1px solid var(--yith-outline-border);
46
- color: var(--yith-outline-text);
47
- box-shadow: 0 0 0 3px var(--yith-outline-focus);
48
- }
49
-
50
- &:hover, &:active {
51
- background: var(--yith-outline-bg-hover);
52
- border-color: var(--yith-outline-border-hover);
53
- color: var(--yith-outline-text);
54
- }
55
- }
56
-
57
- @mixin button-update {
58
- background: var(--yith-update);
59
- color: var(--yith-update-text);
60
- border: 1px solid var(--yith-update);
61
-
62
- &:focus {
63
- background: var(--yith-update);
64
- color: var(--yith-update-text);
65
- border: 1px solid var(--yith-update);
66
- box-shadow: 0 0 0 3px var(--yith-update-focus);
67
- }
68
-
69
- &:hover, &:active {
70
- background: var(--yith-update-hover);
71
- color: var(--yith-update-text);
72
- border: 1px solid var(--yith-update-hover);
73
- }
74
- }
75
-
76
- @mixin button-delete {
77
- background: var(--yith-delete);
78
- color: var(--yith-delete-text);
79
- border: 1px solid var(--yith-delete);
80
-
81
- &:focus {
82
- background: var(--yith-delete);
83
- color: var(--yith-delete-text);
84
- border: 1px solid var(--yith-delete);
85
- box-shadow: 0 0 0 3px var(--yith-delete-focus);
86
- }
87
-
88
- &:hover, &:active {
89
- background: var(--yith-delete-hover);
90
- color: var(--yith-delete-text);
91
- border: 1px solid var(--yith-delete-hover);
92
- }
93
- }
94
-
95
- @mixin button-delete-outline {
96
- background: var(--yith-delete-outline-bg);
97
- border: 1px solid var(--yith-delete-outline-border);
98
- color: var(--yith-delete-outline-text);
99
-
100
- &:focus {
101
- background: var(--yith-delete-outline-bg);
102
- border: 1px solid var(--yith-delete-outline-border);
103
- color: var(--yith-delete-outline-text);
104
- box-shadow: 0 0 0 3px var(--yith-delete-outline-focus);
105
- }
106
-
107
- &:hover, &:active {
108
- background: var(--yith-delete-outline-bg-hover);
109
- border-color: var(--yith-delete-outline-border-hover);
110
- color: var(--yith-delete-outline-text);
111
- }
112
- }
113
-
114
- @mixin button-with-icon($icon) {
115
-
116
- &:before {
117
- font-family: yith-icon;
118
- content: $icon;
119
- margin: 0 8px 0 -5px;
120
- font-size: 15px;
121
- font-weight: 400;
122
- vertical-align: top;
123
- }
124
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/scss/yith-plugin-ui/mixins/_tables.scss DELETED
@@ -1,159 +0,0 @@
1
- @mixin table-action-buttons {
2
-
3
- thead th.column-actions, tfoot th.column-actions {
4
- visibility: hidden;
5
- }
6
-
7
- th.column-actions, td.column-actions {
8
- text-align: right;
9
- }
10
-
11
- .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
12
- opacity: 0;
13
- transition: .3s;
14
- }
15
-
16
- tbody tr:hover .yith-plugin-fw__action-button:not(.yith-plugin-fw__action-button--visible) {
17
- opacity: 1;
18
- }
19
- }
20
-
21
- @mixin wp-table-commons {
22
-
23
- tfoot {
24
- display: none;
25
- }
26
-
27
- .check-column {
28
- width: 2em;
29
- }
30
-
31
- th.sortable a, th.sorted a {
32
- padding: 0 8px 0 0;
33
- color: inherit;
34
-
35
- &:hover {
36
- color: var(--yith-link);
37
- }
38
- }
39
-
40
- .sorting-indicator {
41
- visibility: visible;
42
-
43
- &:before {
44
- font-family: yith-icon;
45
- content: "\f106";
46
- color: inherit;
47
- font-size: 10px;
48
- top: 0;
49
- left: 0;
50
- }
51
- }
52
-
53
- th.sorted.asc .sorting-indicator:before,
54
- th.desc:hover span.sorting-indicator:before,
55
- th.desc a:focus span.sorting-indicator:before {
56
- content: "\e903";
57
- font-weight: 600;
58
- }
59
-
60
- th.sorted.desc .sorting-indicator:before,
61
- th.asc:hover span.sorting-indicator:before,
62
- th.asc a:focus span.sorting-indicator:before {
63
- content: "\e900";
64
- font-weight: 600;
65
- }
66
- @include table-action-buttons;
67
- }
68
-
69
- @mixin classic-table {
70
- border: 2px solid var(--yith-table-border-light);
71
- background: var(--yith-content-bg);
72
- box-shadow: none;
73
- border-spacing: 0;
74
-
75
- th, thead td, tfoot td {
76
- text-align: left;
77
- line-height: 1.3em;
78
- font-size: 14px;
79
- }
80
-
81
- thead th, thead td {
82
- border-bottom: 0;
83
- }
84
-
85
- tfoot th, tfoot td {
86
- border-top: 0;
87
- }
88
-
89
- tbody tr th, tbody tr td {
90
- vertical-align: middle;
91
- padding: 15px;
92
- }
93
-
94
- tbody tr:hover {
95
- background: var(--yith-table-row-highlight);
96
- }
97
-
98
- thead td, thead th, tfoot td, tfoot th {
99
- padding: 15px;
100
- font-weight: 600;
101
- }
102
-
103
- tbody > :nth-child(odd) {
104
- background-color: var(--yith-table-row-striped);
105
- }
106
- }
107
-
108
-
109
- @mixin boxed-table {
110
- border: 0;
111
- border-spacing: 0 20px;
112
- box-shadow: none;
113
- background: transparent;
114
-
115
- th, thead td, tfoot td {
116
- text-align: left;
117
- line-height: 1.3em;
118
- font-size: 14px;
119
- }
120
-
121
- thead th, thead td {
122
- border-bottom: 0;
123
- padding: 0 0 0 25px;
124
- font-weight: 600;
125
- }
126
-
127
- tbody tr {
128
- background: var(--yith-content-bg);
129
- border-radius: 5px;
130
- box-shadow: 0 0 0 1px var(--yith-light-border-color), 0 3px 11px 6px var(--yith-light-shadow);
131
- transition: background-color .2s ease-in-out;
132
- }
133
-
134
- tbody tr th, tbody tr td {
135
- background: transparent;
136
- vertical-align: middle;
137
- padding: 25px 0 25px 25px;
138
- }
139
-
140
- tbody tr td:last-child {
141
- padding-right: 25px;
142
- }
143
-
144
- tbody tr th:first-child,
145
- tbody tr td:first-child {
146
- border-radius: 5px 0 0 5px;
147
- }
148
-
149
- tbody tr th:last-child,
150
- tbody tr td:last-child {
151
- padding-right: 25px;
152
- border-radius: 0 5px 5px 0;
153
- }
154
-
155
-
156
- tbody tr:hover {
157
- background: var(--yith-table-row-highlight);
158
- }
159
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -831,7 +831,7 @@ YITH UI
831
  .yith-plugin-ui .select2-container.select2-container--open .select2-selection--multiple {
832
  margin : 0;
833
  border : 0;
834
- box-shadow : none;
835
  }
836
 
837
  .yith-plugin-ui .select2-container .select2-selection--single .select2-selection__arrow {
@@ -840,6 +840,10 @@ YITH UI
840
 
841
  /* old panel*/
842
 
 
 
 
 
843
  .yith-plugin-ui span.select2.select2-container.select2-container--default,
844
  span.select2.select2-container.select2-container--default.yith-plugin-fw-select2-container {
845
  border : 1px solid #d8d8d8;
@@ -898,6 +902,7 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
898
  margin-top : 10px;
899
  border-radius : 8px;
900
  box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
 
901
  }
902
 
903
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--above {
831
  .yith-plugin-ui .select2-container.select2-container--open .select2-selection--multiple {
832
  margin : 0;
833
  border : 0;
834
+ box-shadow : none !important;
835
  }
836
 
837
  .yith-plugin-ui .select2-container .select2-selection--single .select2-selection__arrow {
840
 
841
  /* old panel*/
842
 
843
+ .yith-plugin-fw-select2-container {
844
+ z-index : 9999;
845
+ }
846
+
847
  .yith-plugin-ui span.select2.select2-container.select2-container--default,
848
  span.select2.select2-container.select2-container--default.yith-plugin-fw-select2-container {
849
  border : 1px solid #d8d8d8;
902
  margin-top : 10px;
903
  border-radius : 8px;
904
  box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
905
+ border : 0;
906
  }
907
 
908
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--above {
plugin-fw/assets/css/yith-icon.css CHANGED
@@ -6,10 +6,10 @@
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
- src: url("../fonts/yith-icon.eot?91e38b491fff50f72e9b5b51960fdee6");
10
- src: url("../fonts/yith-icon.eot?91e38b491fff50f72e9b5b51960fdee6#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?91e38b491fff50f72e9b5b51960fdee6") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
@@ -39,18 +39,34 @@
39
  content: "\e91d";
40
  }
41
 
 
 
 
 
42
  .yith-icon-arrow-down:before {
43
  content: "\e900";
44
  }
45
 
 
 
 
 
46
  .yith-icon-arrow-left:before {
47
  content: "\e901";
48
  }
49
 
 
 
 
 
50
  .yith-icon-arrow-right:before {
51
  content: "\e902";
52
  }
53
 
 
 
 
 
54
  .yith-icon-arrow-up:before {
55
  content: "\e903";
56
  }
@@ -83,6 +99,10 @@
83
  content: "\e91f";
84
  }
85
 
 
 
 
 
86
  .yith-icon-check-circle:before {
87
  content: "\e921";
88
  }
@@ -95,6 +115,10 @@
95
  content: "\f105";
96
  }
97
 
 
 
 
 
98
  .yith-icon-close:before {
99
  content: "\e906";
100
  }
@@ -151,6 +175,14 @@
151
  content: "\f109";
152
  }
153
 
 
 
 
 
 
 
 
 
154
  .yith-icon-more:before {
155
  content: "\f102";
156
  }
@@ -171,6 +203,10 @@
171
  content: "\e916";
172
  }
173
 
 
 
 
 
174
  .yith-icon-plus:before {
175
  content: "\e90a";
176
  }
@@ -191,6 +227,10 @@
191
  content: "\e917";
192
  }
193
 
 
 
 
 
194
  .yith-icon-sort:before {
195
  content: "\f106";
196
  }
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?9ca373377047f159dfa17a2a2e4e2a7f");
10
+ src: url("../fonts/yith-icon.eot?9ca373377047f159dfa17a2a2e4e2a7f#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?9ca373377047f159dfa17a2a2e4e2a7f") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
39
  content: "\e91d";
40
  }
41
 
42
+ .yith-icon-arrow-down-alt:before {
43
+ content: "\f110";
44
+ }
45
+
46
  .yith-icon-arrow-down:before {
47
  content: "\e900";
48
  }
49
 
50
+ .yith-icon-arrow-left-alt:before {
51
+ content: "\f111";
52
+ }
53
+
54
  .yith-icon-arrow-left:before {
55
  content: "\e901";
56
  }
57
 
58
+ .yith-icon-arrow-right-alt:before {
59
+ content: "\f112";
60
+ }
61
+
62
  .yith-icon-arrow-right:before {
63
  content: "\e902";
64
  }
65
 
66
+ .yith-icon-arrow-up-alt:before {
67
+ content: "\f113";
68
+ }
69
+
70
  .yith-icon-arrow-up:before {
71
  content: "\e903";
72
  }
99
  content: "\e91f";
100
  }
101
 
102
+ .yith-icon-check-alt:before {
103
+ content: "\f114";
104
+ }
105
+
106
  .yith-icon-check-circle:before {
107
  content: "\e921";
108
  }
115
  content: "\f105";
116
  }
117
 
118
+ .yith-icon-close-alt:before {
119
+ content: "\f117";
120
+ }
121
+
122
  .yith-icon-close:before {
123
  content: "\e906";
124
  }
175
  content: "\f109";
176
  }
177
 
178
+ .yith-icon-minus-alt:before {
179
+ content: "\f118";
180
+ }
181
+
182
+ .yith-icon-minus:before {
183
+ content: "\f10f";
184
+ }
185
+
186
  .yith-icon-more:before {
187
  content: "\f102";
188
  }
203
  content: "\e916";
204
  }
205
 
206
+ .yith-icon-plus-alt:before {
207
+ content: "\f115";
208
+ }
209
+
210
  .yith-icon-plus:before {
211
  content: "\e90a";
212
  }
227
  content: "\e917";
228
  }
229
 
230
+ .yith-icon-sort-alt:before {
231
+ content: "\f116";
232
+ }
233
+
234
  .yith-icon-sort:before {
235
  content: "\f106";
236
  }
plugin-fw/assets/css/yith-plugin-ui.css CHANGED
@@ -578,13 +578,21 @@
578
 
579
  .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
580
  font-family: yith-icon;
581
- content: "";
582
  margin: 0 8px 0 -5px;
583
- font-size: 15px;
584
  font-weight: 400;
585
  vertical-align: top;
586
  }
587
 
 
 
 
 
 
 
 
 
588
  .yith-plugin-ui .yith-plugin-fw__button--add.closed, .yith-plugin-ui .yith-add-button.closed, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed, .wp-core-ui .yith-plugin-ui .yith-add-button.closed {
589
  background: var(--yith-outline-bg);
590
  border: 1px solid var(--yith-outline-border);
@@ -605,12 +613,9 @@
605
  }
606
 
607
  .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .yith-plugin-ui .yith-add-button.closed:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:before {
608
- font-family: yith-icon;
609
- content: "";
610
  margin: 0 8px 0 -5px;
611
- font-size: 15px;
612
- font-weight: 400;
613
- vertical-align: top;
614
  }
615
 
616
  .yith-plugin-ui .yith-plugin-fw__button--close, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close {
@@ -634,9 +639,9 @@
634
 
635
  .yith-plugin-ui .yith-plugin-fw__button--close:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:before {
636
  font-family: yith-icon;
637
- content: "";
638
  margin: 0 8px 0 -5px;
639
- font-size: 15px;
640
  font-weight: 400;
641
  vertical-align: top;
642
  }
@@ -664,7 +669,7 @@
664
  font-family: yith-icon;
665
  content: "";
666
  margin: 0 8px 0 -5px;
667
- font-size: 15px;
668
  font-weight: 400;
669
  vertical-align: top;
670
  }
@@ -692,7 +697,7 @@
692
  font-family: yith-icon;
693
  content: "";
694
  margin: 0 8px 0 -5px;
695
- font-size: 15px;
696
  font-weight: 400;
697
  vertical-align: top;
698
  }
@@ -720,7 +725,7 @@
720
  font-family: yith-icon;
721
  content: "";
722
  margin: 0 8px 0 -5px;
723
- font-size: 15px;
724
  font-weight: 400;
725
  vertical-align: top;
726
  }
@@ -748,7 +753,7 @@
748
  font-family: yith-icon;
749
  content: "";
750
  margin: 0 8px 0 -5px;
751
- font-size: 15px;
752
  font-weight: 400;
753
  vertical-align: top;
754
  }
@@ -829,7 +834,7 @@
829
  top: 50%;
830
  left: 10px;
831
  transform: translateY(-50%);
832
- font-size: 1.15em;
833
  font-weight: 400;
834
  }
835
 
@@ -1234,7 +1239,7 @@ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator {
1234
 
1235
  table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1236
  font-family: yith-icon;
1237
- content: "\f106";
1238
  color: inherit;
1239
  font-size: 10px;
1240
  top: 0;
@@ -1244,14 +1249,14 @@ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1244
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1245
  table.yith-plugin-fw__classic-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1246
  table.yith-plugin-fw__classic-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1247
- content: "\e903";
1248
  font-weight: 600;
1249
  }
1250
 
1251
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1252
  table.yith-plugin-fw__classic-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1253
  table.yith-plugin-fw__classic-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1254
- content: "\e900";
1255
  font-weight: 600;
1256
  }
1257
 
@@ -1346,7 +1351,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator {
1346
 
1347
  table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1348
  font-family: yith-icon;
1349
- content: "\f106";
1350
  color: inherit;
1351
  font-size: 10px;
1352
  top: 0;
@@ -1356,14 +1361,14 @@ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1356
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1357
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1358
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1359
- content: "\e903";
1360
  font-weight: 600;
1361
  }
1362
 
1363
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1364
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1365
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1366
- content: "\e900";
1367
  font-weight: 600;
1368
  }
1369
 
@@ -1446,7 +1451,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1446
 
1447
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before {
1448
  font-family: yith-icon;
1449
- content: "\f106";
1450
  color: inherit;
1451
  font-size: 10px;
1452
  top: 0;
@@ -1458,7 +1463,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1458
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1459
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1460
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1461
- content: "\e903";
1462
  font-weight: 600;
1463
  }
1464
 
@@ -1467,7 +1472,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1467
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1468
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1469
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1470
- content: "\e900";
1471
  font-weight: 600;
1472
  }
1473
 
@@ -1572,7 +1577,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1572
 
1573
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before {
1574
  font-family: yith-icon;
1575
- content: "\f106";
1576
  color: inherit;
1577
  font-size: 10px;
1578
  top: 0;
@@ -1584,7 +1589,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1584
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1585
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1586
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1587
- content: "\e903";
1588
  font-weight: 600;
1589
  }
1590
 
@@ -1593,7 +1598,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1593
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1594
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1595
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1596
- content: "\e900";
1597
  font-weight: 600;
1598
  }
1599
 
578
 
579
  .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
580
  font-family: yith-icon;
581
+ content: "";
582
  margin: 0 8px 0 -5px;
583
+ font-size: 1.15em;
584
  font-weight: 400;
585
  vertical-align: top;
586
  }
587
 
588
+ .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
589
+ display: inline-block;
590
+ margin: 0 10px 0 -5px;
591
+ font-size: .95em;
592
+ transition: transform .2s, margin .2s, font-size .2s;
593
+ transition-timing-function: ease-in-out;
594
+ }
595
+
596
  .yith-plugin-ui .yith-plugin-fw__button--add.closed, .yith-plugin-ui .yith-add-button.closed, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed, .wp-core-ui .yith-plugin-ui .yith-add-button.closed {
597
  background: var(--yith-outline-bg);
598
  border: 1px solid var(--yith-outline-border);
613
  }
614
 
615
  .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .yith-plugin-ui .yith-add-button.closed:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:before {
616
+ font-size: 1.15em;
 
617
  margin: 0 8px 0 -5px;
618
+ transform: rotate(-45deg);
 
 
619
  }
620
 
621
  .yith-plugin-ui .yith-plugin-fw__button--close, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close {
639
 
640
  .yith-plugin-ui .yith-plugin-fw__button--close:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:before {
641
  font-family: yith-icon;
642
+ content: "";
643
  margin: 0 8px 0 -5px;
644
+ font-size: 1.15em;
645
  font-weight: 400;
646
  vertical-align: top;
647
  }
669
  font-family: yith-icon;
670
  content: "";
671
  margin: 0 8px 0 -5px;
672
+ font-size: 1.15em;
673
  font-weight: 400;
674
  vertical-align: top;
675
  }
697
  font-family: yith-icon;
698
  content: "";
699
  margin: 0 8px 0 -5px;
700
+ font-size: 1.15em;
701
  font-weight: 400;
702
  vertical-align: top;
703
  }
725
  font-family: yith-icon;
726
  content: "";
727
  margin: 0 8px 0 -5px;
728
+ font-size: 1.15em;
729
  font-weight: 400;
730
  vertical-align: top;
731
  }
753
  font-family: yith-icon;
754
  content: "";
755
  margin: 0 8px 0 -5px;
756
+ font-size: 1.15em;
757
  font-weight: 400;
758
  vertical-align: top;
759
  }
834
  top: 50%;
835
  left: 10px;
836
  transform: translateY(-50%);
837
+ font-size: 1em;
838
  font-weight: 400;
839
  }
840
 
1239
 
1240
  table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1241
  font-family: yith-icon;
1242
+ content: "\f116";
1243
  color: inherit;
1244
  font-size: 10px;
1245
  top: 0;
1249
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1250
  table.yith-plugin-fw__classic-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1251
  table.yith-plugin-fw__classic-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1252
+ content: "\f113";
1253
  font-weight: 600;
1254
  }
1255
 
1256
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1257
  table.yith-plugin-fw__classic-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1258
  table.yith-plugin-fw__classic-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1259
+ content: "\f110";
1260
  font-weight: 600;
1261
  }
1262
 
1351
 
1352
  table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1353
  font-family: yith-icon;
1354
+ content: "\f116";
1355
  color: inherit;
1356
  font-size: 10px;
1357
  top: 0;
1361
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1362
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1363
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1364
+ content: "\f113";
1365
  font-weight: 600;
1366
  }
1367
 
1368
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1369
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1370
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1371
+ content: "\f110";
1372
  font-weight: 600;
1373
  }
1374
 
1451
 
1452
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before {
1453
  font-family: yith-icon;
1454
+ content: "\f116";
1455
  color: inherit;
1456
  font-size: 10px;
1457
  top: 0;
1463
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1464
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1465
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1466
+ content: "\f113";
1467
  font-weight: 600;
1468
  }
1469
 
1472
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1473
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1474
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1475
+ content: "\f110";
1476
  font-weight: 600;
1477
  }
1478
 
1577
 
1578
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before {
1579
  font-family: yith-icon;
1580
+ content: "\f116";
1581
  color: inherit;
1582
  font-size: 10px;
1583
  top: 0;
1589
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1590
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1591
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1592
+ content: "\f113";
1593
  font-weight: 600;
1594
  }
1595
 
1598
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1599
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1600
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1601
+ content: "\f110";
1602
  font-weight: 600;
1603
  }
1604
 
plugin-fw/assets/fonts/yith-icon.eot CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.ttf CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.woff2 CHANGED
Binary file
plugin-fw/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' => '507c6fa0976e1a7dac032f234f666cbf');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => 'ea17c5cfdc7d32244b194c8f99ca8d15');
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,o){},28:function(e,t,o){}}]),function(e){function t(t){for(var r,c,l=t[0],s=t[1],i=t[2],p=0,f=[];p<l.length;p++)c=l[p],Object.prototype.hasOwnProperty.call(n,c)&&n[c]&&f.push(n[c][0]),n[c]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(u&&u(t);f.length;)f.shift()();return a.push.apply(a,i||[]),o()}function o(){for(var e,t=0;t<a.length;t++){for(var o=a[t],r=!0,l=1;l<o.length;l++){var s=o[l];0!==n[s]&&(r=!1)}r&&(a.splice(t--,1),e=c(c.s=o[0]))}return e}var r={},n={0:0},a=[];function c(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.m=e,c.c=r,c.d=function(e,t,o){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(c.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(o,r,function(t){return e[t]}.bind(null,r));return o},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="";var l=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],s=l.push.bind(l);l.push=t,l=l.slice();for(var i=0;i<l.length;i++)t(l[i]);var u=s;a.push([29,1]),o()}([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,o){var r=o(17),n=o(18),a=o(19),c=o(21);e.exports=function(e,t){return r(e)||n(e,t)||a(e,t)||c()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.lodash},function(e,t,o){var r,n,a,c,l;r=o(22),n=o(10).utf8,a=o(23),c=o(10).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?c.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),s=8*e.length,i=1732584193,u=-271733879,p=-1732584194,f=271733878,d=0;d<o.length;d++)o[d]=16711935&(o[d]<<8|o[d]>>>24)|4278255360&(o[d]<<24|o[d]>>>8);o[s>>>5]|=128<<s%32,o[14+(s+64>>>9<<4)]=s;var h=l._ff,b=l._gg,y=l._hh,g=l._ii;for(d=0;d<o.length;d+=16){var m=i,_=u,v=p,x=f;i=h(i,u,p,f,o[d+0],7,-680876936),f=h(f,i,u,p,o[d+1],12,-389564586),p=h(p,f,i,u,o[d+2],17,606105819),u=h(u,p,f,i,o[d+3],22,-1044525330),i=h(i,u,p,f,o[d+4],7,-176418897),f=h(f,i,u,p,o[d+5],12,1200080426),p=h(p,f,i,u,o[d+6],17,-1473231341),u=h(u,p,f,i,o[d+7],22,-45705983),i=h(i,u,p,f,o[d+8],7,1770035416),f=h(f,i,u,p,o[d+9],12,-1958414417),p=h(p,f,i,u,o[d+10],17,-42063),u=h(u,p,f,i,o[d+11],22,-1990404162),i=h(i,u,p,f,o[d+12],7,1804603682),f=h(f,i,u,p,o[d+13],12,-40341101),p=h(p,f,i,u,o[d+14],17,-1502002290),i=b(i,u=h(u,p,f,i,o[d+15],22,1236535329),p,f,o[d+1],5,-165796510),f=b(f,i,u,p,o[d+6],9,-1069501632),p=b(p,f,i,u,o[d+11],14,643717713),u=b(u,p,f,i,o[d+0],20,-373897302),i=b(i,u,p,f,o[d+5],5,-701558691),f=b(f,i,u,p,o[d+10],9,38016083),p=b(p,f,i,u,o[d+15],14,-660478335),u=b(u,p,f,i,o[d+4],20,-405537848),i=b(i,u,p,f,o[d+9],5,568446438),f=b(f,i,u,p,o[d+14],9,-1019803690),p=b(p,f,i,u,o[d+3],14,-187363961),u=b(u,p,f,i,o[d+8],20,1163531501),i=b(i,u,p,f,o[d+13],5,-1444681467),f=b(f,i,u,p,o[d+2],9,-51403784),p=b(p,f,i,u,o[d+7],14,1735328473),i=y(i,u=b(u,p,f,i,o[d+12],20,-1926607734),p,f,o[d+5],4,-378558),f=y(f,i,u,p,o[d+8],11,-2022574463),p=y(p,f,i,u,o[d+11],16,1839030562),u=y(u,p,f,i,o[d+14],23,-35309556),i=y(i,u,p,f,o[d+1],4,-1530992060),f=y(f,i,u,p,o[d+4],11,1272893353),p=y(p,f,i,u,o[d+7],16,-155497632),u=y(u,p,f,i,o[d+10],23,-1094730640),i=y(i,u,p,f,o[d+13],4,681279174),f=y(f,i,u,p,o[d+0],11,-358537222),p=y(p,f,i,u,o[d+3],16,-722521979),u=y(u,p,f,i,o[d+6],23,76029189),i=y(i,u,p,f,o[d+9],4,-640364487),f=y(f,i,u,p,o[d+12],11,-421815835),p=y(p,f,i,u,o[d+15],16,530742520),i=g(i,u=y(u,p,f,i,o[d+2],23,-995338651),p,f,o[d+0],6,-198630844),f=g(f,i,u,p,o[d+7],10,1126891415),p=g(p,f,i,u,o[d+14],15,-1416354905),u=g(u,p,f,i,o[d+5],21,-57434055),i=g(i,u,p,f,o[d+12],6,1700485571),f=g(f,i,u,p,o[d+3],10,-1894986606),p=g(p,f,i,u,o[d+10],15,-1051523),u=g(u,p,f,i,o[d+1],21,-2054922799),i=g(i,u,p,f,o[d+8],6,1873313359),f=g(f,i,u,p,o[d+15],10,-30611744),p=g(p,f,i,u,o[d+6],15,-1560198380),u=g(u,p,f,i,o[d+13],21,1309151649),i=g(i,u,p,f,o[d+4],6,-145523070),f=g(f,i,u,p,o[d+11],10,-1120210379),p=g(p,f,i,u,o[d+2],15,718787259),u=g(u,p,f,i,o[d+9],21,-343485551),i=i+m>>>0,u=u+_>>>0,p=p+v>>>0,f=f+x>>>0}return r.endian([i,u,p,f])})._ff=function(e,t,o,r,n,a,c){var l=e+(t&o|~t&r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._gg=function(e,t,o,r,n,a,c){var l=e+(t&r|o&~r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._hh=function(e,t,o,r,n,a,c){var l=e+(t^o^r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._ii=function(e,t,o,r,n,a,c){var l=e+(o^(t|~r))+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(l(e,t));return t&&t.asBytes?o:t&&t.asString?c.bytesToString(o):r.bytesToHex(o)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function o(t){return e.exports=o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var o={utf8:{stringToBytes:function(e){return o.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(o.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=o},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")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(e,t){for(var o=0;o<t.length;o++){var r=t[o];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&&o(e.prototype,t),r&&o(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(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)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(25).default,n=o(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?n(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],c=!0,l=!1;try{for(o=o.call(e);!(c=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{c||null==o.return||o.return()}finally{if(l)throw n}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r},e.exports.default=e.exports,e.exports.__esModule=!0},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.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var o,r;o="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=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?t.push(o.charAt(n>>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&t.push((o.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|o.indexOf(e.charAt(r))>>>6-2*n);return t}},e.exports=r},function(e,t){function o(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(o(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&o(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function o(t,r){return e.exports=o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,o(t,r)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=o=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},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},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t,o){"use strict";o.r(t);var r=o(3),n=o.n(r),a=o(0),c=o(2),l=o(6),s=o.n(l),i=o(11),u=o(12);function p(e){if(e.status>=200&&e.status<300)return e;throw e}function f(e){return e.json?e.json():e.text()}var d=Object(a.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"})),h=o(5),b=o.n(h),y=function(e,t,o){var r=!0;if(t&&t.id&&"value"in t){var n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=b.a.isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=function(e,t){var o=e.controlType,r=!0;if(e.deps)if(b.a.isArray(e.deps))for(var n in e.deps){var a=e.deps[n];if(!(r=y(t,a,o)))break}else r=y(t,e.deps,o);return r},m=function(e,t){var o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{var a=e.attributes?Object.entries(e.attributes).map((function(e){var o=n()(e,2),r=o[0],a=o[1],c=g(a,t),l=t[r];if(c&&void 0!==l)return r+"="+(a.remove_quotes?l:'"'.concat(l,'"'))})):[],c=a.length?" "+a.join(" "):"";o="[".concat(e.shortcode_name).concat(c,"]")}return o},_=o(1),v=o(7),x=o(13),j=o.n(x),w=o(14),k=o.n(w),O=o(15),C=o.n(O),E=o(16),S=o.n(E),T=o(9),A=o.n(T),M=o(4);o(27);var B=function(e){C()(n,e);var t,o,r=(t=n,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=A()(t);if(o){var n=A()(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return S()(this,e)});function n(){var e;return j()(this,n),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},e.ajaxTimeout=!1,e}return k()(n,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,o){var r=this.state,n=r.shortcode,a=r.shortcodeHash,c=r.ajaxSuccess,l=r.ajaxResponse,s=r.ajaxUpdated;Object(h.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(c&&Object(M.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",n,a,l),Object(M.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",n,a,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,o=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var n=m(r,o),a=s()(n);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(M.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",n,a),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(u.addQueryArgs)(t,e),fetch(t).then(p).then(f)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:n}).then((function(t){e.setState({loading:!1,firstLoading:!1,html:t.html,shortcode:n,shortcodeHash:a,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:n,shortcode:n,shortcodeHash:a})}},{key:"render",value:function(){var e=this.state,t=e.html,o=e.loading,r=e.firstLoading,n=e.shortcode,c=e.shortcodeHash,l=this.props.blockArgs,s=l.do_shortcode,i=l.title,u=l.empty_message,p="block-editor-yith-plugin-fw-shortcode-block",f=[p],h=s?"html":"shortcode",b=t,y="";r&&o?h="first-loading":s&&!t&&(h="empty-html",b=n,!o&&u&&(y=u));var g=["first-loading","empty-html","shortcode"].includes(h),m=!["first-loading","empty-html"].includes(h),v=!!y;return f.push("".concat(p,"--").concat(h)),f.push("".concat(p,v?"--has-message":"--no-message")),f.push("yith_block_".concat(c)),Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:f.join(" ")},o?Object(a.createElement)("div",{className:"".concat(p,"__spinner-wrap")},Object(a.createElement)(_.Spinner,null)):"",g&&Object(a.createElement)("div",{className:"".concat(p,"__title components-placeholder__label")},d,i),v&&Object(a.createElement)(a.RawHTML,{className:"".concat(p,"__message")},y),m&&Object(a.createElement)(a.RawHTML,{className:"".concat(p,"__content")},b)))}}]),n}(c.Component),N=o(8);function R(e){var t=e.className,o=e.label,r=e.onChange,n=e.value,c=e.help,l=e.disableAlpha,s=Object(N.useInstanceId)(R),i="inspector-yith-color-picker-control-".concat(s);return Object(a.createElement)(_.BaseControl,{id:i,label:o,className:"block-editor-yith-color-control ".concat(t),help:c},Object(a.createElement)(_.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:r}))}function P(e){var t=e.label,o=e.colorValue;return Object(a.createElement)(a.Fragment,null,t,!!o&&Object(a.createElement)(_.ColorIndicator,{colorValue:o}))}function I(e){var t=e.className,o=e.label,r=e.onChange,n=e.value,c=e.help,l=e.palette,s=e.clearable;l=l||Object(v.__experimentalUseEditorFeature)("color.palette");var i=Object(N.useInstanceId)(I),u="inspector-yith-color-palette-control-".concat(i);return Object(a.createElement)(_.BaseControl,{id:u,className:"block-editor-yith-color-palette-control ".concat(t),help:c},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",null,Object(a.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(a.createElement)(_.BaseControl.VisualLabel,null,Object(a.createElement)(P,{colorValue:n,label:o})))),Object(a.createElement)(_.ColorPalette,{value:n,onChange:r,colors:l,clearable:s})))}o(28);for(var H=function(e,t){return function(o){var r=o.attributes,c=(o.className,o.setAttributes),l=function(e,t,o){["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,c(r)};return Object(a.createElement)(a.Fragment,null,!!t.attributes&&Object(a.createElement)(v.InspectorControls,null,Object(a.createElement)(_.PanelBody,null,Object.entries(t.attributes).map((function(t){var o=n()(t,2),c=function(t,o){var n=o.controlType,c=r[t],s=function(e,t){var o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o}(o,c),i="".concat(e,"__").concat(t,"-field-wrapper"),u=g(o,r);o.wrapper_class&&(i+=" "+o.wrapper_class);var p=!1;if(u)switch(n){case"select":p=Object(a.createElement)(_.SelectControl,{className:i,key:t,value:c,label:o.label,options:o.options,selected:c,help:s,multiple:!!o.multiple,onChange:function(e){l(e,t,n)}});break;case"text":p=Object(a.createElement)(_.TextControl,{className:i,key:t,value:c,label:o.label,help:s,onChange:function(e){l(e,t,n)}});break;case"textarea":p=Object(a.createElement)(_.TextareaControl,{className:i,key:t,value:c,label:o.label,help:s,onChange:function(e){l(e,t,n)}});break;case"toggle":p=Object(a.createElement)(_.ToggleControl,{className:i,key:t,value:c,label:o.label,help:s,checked:c,onChange:function(e){l(e,t,n)}});break;case"checkbox":p=Object(a.createElement)(_.CheckboxControl,{className:i,key:t,value:c,label:o.label,help:s,checked:c,onChange:function(e){l(e,t,n)}});break;case"number":case"range":p=Object(a.createElement)(_.RangeControl,{className:i,key:t,value:c,label:o.label,help:s,min:o.min,max:o.max,onChange:function(e){l(e,t,n)}});break;case"color":case"colorpicker":p=Object(a.createElement)(R,{className:i,key:t,label:o.label,help:s,value:c,disableAlpha:o.disableAlpha,onChange:function(e){l(e,t,n)}});break;case"color-palette":p=Object(a.createElement)(I,{className:i,key:t,label:o.label,help:s,value:c,clearable:o.clearable||!1,onChange:function(e){l(e,t,n)}});break;case"radio":p=Object(a.createElement)(_.RadioControl,{key:t,value:c,label:o.label,options:o.options,selected:c,checked:c,help:s,onChange:function(e){l(e,t,n)}});break;default:p=!1}return p}(o[0],o[1]);if(c)return c})))),Object(a.createElement)(B,{attributes:r,blockArgs:t}))}},L=function(){var e=Q[U];Object(M.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(o))}),e.delay):jQuery(document).trigger(e.key,Object.values(o)))}))},U=0,Q=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];U<Q.length;U++)L();for(var F=function(){var e=n()(V[J],2),t=e[0],o=e[1];Object(i.registerBlockType)("yith/"+t,{title:o.title,description:o.description,category:o.category,attributes:o.attributes,icon:void 0!==o.icon?o.icon:d,keywords:o.keywords,edit:H(t,o),save:function(e){var t=e.attributes;return m(o,t)},deprecated:[{attributes:o.attributes,save:function(e){var t=e.attributes,r=m(o,t),n='<span class="yith_block_'+s()(r)+'">'+r+"</span>";return Object(a.createElement)(a.RawHTML,null,n)}}]})},J=0,V=Object.entries(yithGutenbergBlocks);J<V.length;J++)F()}]);
1
+ !function(){var e,t={783:function(e,t,o){"use strict";var r=window.wp.element,n=window.React,a=o(568),l=o.n(a),s=window.wp.blocks,c=window.wp.url;function i(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const h=(0,r.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var d=window.lodash,p=o.n(d);const f=(e,t,o)=>{let r=!0;if(t&&t.id&&"value"in t){let n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=p().isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=(e,t)=>{const{controlType:o}=e;let r=!0;if(e.deps)if(p().isArray(e.deps))for(let n in e.deps){const a=e.deps[n];if(r=f(t,a,o),!r)break}else r=f(t,e.deps,o);return r},b=(e,t)=>{let o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{const r=e.attributes?Object.entries(e.attributes).map((([e,o])=>{const r=g(o,t),n=t[e];if(r&&void 0!==n)return e+"="+(o.remove_quotes?n:`"${n}"`)})):[],n=r.length?" "+r.join(" "):"";o=`[${e.shortcode_name}${n}]`}return o};var m=window.wp.components,y=window.wp.blockEditor,_=window.wp.hooks;class v extends n.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,o){const{shortcode:r,shortcodeHash:n,ajaxSuccess:a,ajaxResponse:l,ajaxUpdated:s}=this.state;(0,d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(a&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",r,n,l),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",r,n,l),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const o=b(t,e),r=l()(o);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,r),this.ajaxTimeout=setTimeout((()=>{((e,t=yithGutenberg.ajaxurl)=>(t=(0,c.addQueryArgs)(t,e),fetch(t).then(i).then(u)))({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:o,shortcodeHash:r,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:r})}render(){const{html:e,loading:t,firstLoading:o,shortcode:n,shortcodeHash:a}=this.state,{blockArgs:l}=this.props,{do_shortcode:s,title:c,empty_message:i}=l,u="block-editor-yith-plugin-fw-shortcode-block";let d=[u],p=s?"html":"shortcode",f=e,g="";o&&t?p="first-loading":s&&!e&&(p="empty-html",f=n,!t&&i&&(g=i));const b=["first-loading","empty-html","shortcode"].includes(p),y=!["first-loading","empty-html"].includes(p),_=!!g;return d.push(`${u}--${p}`),d.push(_?`${u}--has-message`:`${u}--no-message`),d.push(`yith_block_${a}`),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:d.join(" ")},t?(0,r.createElement)("div",{className:`${u}__spinner-wrap`},(0,r.createElement)(m.Spinner,null)):"",b&&(0,r.createElement)("div",{className:`${u}__title components-placeholder__label`},h,c),_&&(0,r.createElement)(r.RawHTML,{className:`${u}__message`},g),y&&(0,r.createElement)(r.RawHTML,{className:`${u}__content`},f)))}}var C=window.wp.compose;function k({className:e,label:t,onChange:o,value:n,help:a,disableAlpha:l}){const s=`inspector-yith-color-picker-control-${(0,C.useInstanceId)(k)}`;return(0,r.createElement)(m.BaseControl,{id:s,label:t,className:`block-editor-yith-color-control ${e}`,help:a},(0,r.createElement)(m.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:o}))}function w({label:e,colorValue:t}){return(0,r.createElement)(r.Fragment,null,e,!!t&&(0,r.createElement)(m.ColorIndicator,{colorValue:t}))}function x({className:e,label:t,onChange:o,value:n,help:a,palette:l,clearable:s}){l=l||(0,y.__experimentalUseEditorFeature)("color.palette");const c=`inspector-yith-color-palette-control-${(0,C.useInstanceId)(x)}`;return(0,r.createElement)(m.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${e}`,help:a},(0,r.createElement)("fieldset",null,(0,r.createElement)("legend",null,(0,r.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,r.createElement)(m.BaseControl.VisualLabel,null,(0,r.createElement)(w,{colorValue:n,label:t})))),(0,r.createElement)(m.ColorPalette,{value:n,onChange:o,colors:l,clearable:s})))}const j=(e,t)=>function({attributes:o,className:n,setAttributes:a}){const l=(e,t,o)=>{["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());let r={};r[t]=e,a(r)};return(0,r.createElement)(r.Fragment,null,!!t.attributes&&(0,r.createElement)(y.InspectorControls,null,(0,r.createElement)(m.PanelBody,null,Object.entries(t.attributes).map((([t,n])=>{const a=((t,n)=>{const{controlType:a}=n,s=o[t],c=((e,t)=>{let o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o})(n,s);let i=`${e}__${t}-field-wrapper`;const u=g(n,o);n.wrapper_class&&(i+=" "+n.wrapper_class);let h=!1;if(u)switch(a){case"select":h=(0,r.createElement)(m.SelectControl,{className:i,key:t,value:s,label:n.label,options:n.options,selected:s,help:c,multiple:!!n.multiple,onChange:e=>{l(e,t,a)}});break;case"text":h=(0,r.createElement)(m.TextControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"textarea":h=(0,r.createElement)(m.TextareaControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"toggle":h=(0,r.createElement)(m.ToggleControl,{className:i,key:t,value:s,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"checkbox":h=(0,r.createElement)(m.CheckboxControl,{className:i,key:t,value:s,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"number":case"range":h=(0,r.createElement)(m.RangeControl,{className:i,key:t,value:s,label:n.label,help:c,min:n.min,max:n.max,onChange:e=>{l(e,t,a)}});break;case"color":case"colorpicker":h=(0,r.createElement)(k,{className:i,key:t,label:n.label,help:c,value:s,disableAlpha:n.disableAlpha,onChange:e=>{l(e,t,a)}});break;case"color-palette":h=(0,r.createElement)(x,{className:i,key:t,label:n.label,help:c,value:s,clearable:n.clearable||!1,onChange:e=>{l(e,t,a)}});break;case"radio":h=(0,r.createElement)(m.RadioControl,{key:t,value:s,label:n.label,options:n.options,selected:s,checked:s,help:c,onChange:e=>{l(e,t,a)}});break;default:h=!1}return h})(t,n);if(a)return a})))),(0,r.createElement)(v,{attributes:o,blockArgs:t}))},E=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of E)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",((...t)=>{"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(t))}),e.delay):jQuery(document).trigger(e.key,Object.values(t)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:h,keywords:t.keywords,edit:j(e,t),save:({attributes:e})=>b(t,e),deprecated:[{attributes:t.attributes,save:({attributes:e})=>{const o=b(t,e),n='<span class="yith_block_'+l()(o)+'">'+o+"</span>";return(0,r.createElement)(r.RawHTML,null,n)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=t},12:function(e){var t,o;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var o=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?o.push(t.charAt(n>>>6*(3-a)&63)):o.push("=");return o.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&o.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(r))>>>6-2*n);return o}},e.exports=o},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,o){var r,n,a,l,s;r=o(12),n=o(487).utf8,a=o(738),l=o(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?l.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),c=8*e.length,i=1732584193,u=-271733879,h=-1732584194,d=271733878,p=0;p<o.length;p++)o[p]=16711935&(o[p]<<8|o[p]>>>24)|4278255360&(o[p]<<24|o[p]>>>8);o[c>>>5]|=128<<c%32,o[14+(c+64>>>9<<4)]=c;var f=s._ff,g=s._gg,b=s._hh,m=s._ii;for(p=0;p<o.length;p+=16){var y=i,_=u,v=h,C=d;i=f(i,u,h,d,o[p+0],7,-680876936),d=f(d,i,u,h,o[p+1],12,-389564586),h=f(h,d,i,u,o[p+2],17,606105819),u=f(u,h,d,i,o[p+3],22,-1044525330),i=f(i,u,h,d,o[p+4],7,-176418897),d=f(d,i,u,h,o[p+5],12,1200080426),h=f(h,d,i,u,o[p+6],17,-1473231341),u=f(u,h,d,i,o[p+7],22,-45705983),i=f(i,u,h,d,o[p+8],7,1770035416),d=f(d,i,u,h,o[p+9],12,-1958414417),h=f(h,d,i,u,o[p+10],17,-42063),u=f(u,h,d,i,o[p+11],22,-1990404162),i=f(i,u,h,d,o[p+12],7,1804603682),d=f(d,i,u,h,o[p+13],12,-40341101),h=f(h,d,i,u,o[p+14],17,-1502002290),i=g(i,u=f(u,h,d,i,o[p+15],22,1236535329),h,d,o[p+1],5,-165796510),d=g(d,i,u,h,o[p+6],9,-1069501632),h=g(h,d,i,u,o[p+11],14,643717713),u=g(u,h,d,i,o[p+0],20,-373897302),i=g(i,u,h,d,o[p+5],5,-701558691),d=g(d,i,u,h,o[p+10],9,38016083),h=g(h,d,i,u,o[p+15],14,-660478335),u=g(u,h,d,i,o[p+4],20,-405537848),i=g(i,u,h,d,o[p+9],5,568446438),d=g(d,i,u,h,o[p+14],9,-1019803690),h=g(h,d,i,u,o[p+3],14,-187363961),u=g(u,h,d,i,o[p+8],20,1163531501),i=g(i,u,h,d,o[p+13],5,-1444681467),d=g(d,i,u,h,o[p+2],9,-51403784),h=g(h,d,i,u,o[p+7],14,1735328473),i=b(i,u=g(u,h,d,i,o[p+12],20,-1926607734),h,d,o[p+5],4,-378558),d=b(d,i,u,h,o[p+8],11,-2022574463),h=b(h,d,i,u,o[p+11],16,1839030562),u=b(u,h,d,i,o[p+14],23,-35309556),i=b(i,u,h,d,o[p+1],4,-1530992060),d=b(d,i,u,h,o[p+4],11,1272893353),h=b(h,d,i,u,o[p+7],16,-155497632),u=b(u,h,d,i,o[p+10],23,-1094730640),i=b(i,u,h,d,o[p+13],4,681279174),d=b(d,i,u,h,o[p+0],11,-358537222),h=b(h,d,i,u,o[p+3],16,-722521979),u=b(u,h,d,i,o[p+6],23,76029189),i=b(i,u,h,d,o[p+9],4,-640364487),d=b(d,i,u,h,o[p+12],11,-421815835),h=b(h,d,i,u,o[p+15],16,530742520),i=m(i,u=b(u,h,d,i,o[p+2],23,-995338651),h,d,o[p+0],6,-198630844),d=m(d,i,u,h,o[p+7],10,1126891415),h=m(h,d,i,u,o[p+14],15,-1416354905),u=m(u,h,d,i,o[p+5],21,-57434055),i=m(i,u,h,d,o[p+12],6,1700485571),d=m(d,i,u,h,o[p+3],10,-1894986606),h=m(h,d,i,u,o[p+10],15,-1051523),u=m(u,h,d,i,o[p+1],21,-2054922799),i=m(i,u,h,d,o[p+8],6,1873313359),d=m(d,i,u,h,o[p+15],10,-30611744),h=m(h,d,i,u,o[p+6],15,-1560198380),u=m(u,h,d,i,o[p+13],21,1309151649),i=m(i,u,h,d,o[p+4],6,-145523070),d=m(d,i,u,h,o[p+11],10,-1120210379),h=m(h,d,i,u,o[p+2],15,718787259),u=m(u,h,d,i,o[p+9],21,-343485551),i=i+y>>>0,u=u+_>>>0,h=h+v>>>0,d=d+C>>>0}return r.endian([i,u,h,d])})._ff=function(e,t,o,r,n,a,l){var s=e+(t&o|~t&r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,o,r,n,a,l){var s=e+(t&r|o&~r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,o,r,n,a,l){var s=e+(t^o^r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,o,r,n,a,l){var s=e+(o^(t|~r))+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(s(e,t));return t&&t.asBytes?o:t&&t.asString?l.bytesToString(o):r.bytesToHex(o)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,o,n,a){if(!o){var l=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],a=e[u][2];for(var s=!0,c=0;c<o.length;c++)(!1&a||l>=a)&&Object.keys(r.O).every((function(e){return r.O[e](o[c])}))?o.splice(c--,1):(s=!1,a<l&&(l=a));if(s){e.splice(u--,1);var i=n();void 0!==i&&(t=i)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,n,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};r.O.j=function(t){return 0===e[t]};var t=function(t,o){var n,a,l=o[0],s=o[1],c=o[2],i=0;if(l.some((function(t){return 0!==e[t]}))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(c)var u=c(r)}for(t&&t(o);i<l.length;i++)a=l[i],r.o(e,a)&&e[a]&&e[a][0](),e[l[i]]=0;return r.O(u)},o=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var n=r.O(void 0,[46],(function(){return r(783)}));n=r.O(n)}();
plugin-fw/dist/gutenberg/style-index.css CHANGED
@@ -1,4 +1,2 @@
1
- .block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html{padding:1em 1em 1.2em;border:1px solid #1e1e1e;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{font-family:Menlo, Consolas, monaco, monospace;color:#1e1e1e;font-size:13px;padding:0.8em 1em;border:1px solid #ddd;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block{position:relative;min-height:30px}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-style:italic;font-size:13px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
2
-
3
  .block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
4
-
1
+ .block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode{border:1px solid #1e1e1e;border-radius:4px;padding:1em 1em 1.2em}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{border:1px solid #ddd;border-radius:4px;color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:13px;padding:.8em 1em}.block-editor-yith-plugin-fw-shortcode-block{min-height:30px;position:relative}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-style:italic}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
 
2
  .block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
 
plugin-fw/includes/builders/gutenberg/src/.jshintrc DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "boss": true,
3
- "curly": true,
4
- "eqeqeq": true,
5
- "eqnull": true,
6
- "esversion": 6,
7
- "expr": true,
8
- "immed": true,
9
- "noarg": true,
10
- "onevar": true,
11
- "trailing": true,
12
- "undef": true,
13
- "unused": true,
14
- "browser": true,
15
- "globals": {
16
- "_": false,
17
- "Backbone": false,
18
- "jQuery": true,
19
- "console": true,
20
- "alert": true,
21
- "JSON": false,
22
- "wp": false
23
- }
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/common/actions-to-jquery-events.js DELETED
@@ -1,32 +0,0 @@
1
- /**
2
- * Actions to jQuery events
3
- */
4
-
5
- /**
6
- * WordPress dependencies
7
- */
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
- );
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/common/ajaxFetch.js DELETED
@@ -1,42 +0,0 @@
1
- /**
2
- * Ajax Fetch
3
- */
4
-
5
- /**
6
- * WordPress dependencies
7
- */
8
- import { addQueryArgs } from '@wordpress/url';
9
-
10
- /**
11
- * Check status of ajax call
12
- * @param response
13
- * @returns {*}
14
- */
15
- function ajaxCheckStatus( response ) {
16
- if ( response.status >= 200 && response.status < 300 ) {
17
- return response;
18
- }
19
-
20
- throw response;
21
- }
22
-
23
- /**
24
- * Parse the response of the ajax call
25
- * @param response
26
- * @returns {*}
27
- */
28
- function parseResponse( response ) {
29
- return response.json ? response.json() : response.text();
30
- }
31
-
32
- /**
33
- * Fetch using WordPress Ajax
34
- *
35
- * @param {object} data The data to use in the ajax call.
36
- * @param {string} url The ajax URL.
37
- * @returns {Promise<Response>}
38
- */
39
- export const ajaxFetch = ( data, url = yithGutenberg.ajaxurl ) => {
40
- url = addQueryArgs( url, data );
41
- return fetch( url ).then( ajaxCheckStatus ).then( parseResponse );
42
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/common/checkForDeps.js DELETED
@@ -1,46 +0,0 @@
1
- /**
2
- * Check for dependencies
3
- *
4
- * @param {object} attributeArgs Attribute arguments.
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;
46
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/common/generateShortcode.js DELETED
@@ -1,42 +0,0 @@
1
- /**
2
- * Internal dependencies
3
- */
4
- import { checkForDeps } from './checkForDeps';
5
-
6
- /**
7
- * Generate the shortcode
8
- *
9
- * @param {object} blockArgs The block arguments.
10
- * @param {object} attributes The attributes
11
- * @returns {string}
12
- */
13
- export const generateShortcode = ( blockArgs, attributes ) => {
14
- let theShortcode = '';
15
- let callback = false;
16
-
17
- if ( typeof blockArgs.callback !== 'undefined' ) {
18
- if ( jQuery && blockArgs.callback in jQuery.fn ) {
19
- callback = jQuery.fn[ blockArgs.callback ];
20
- } else if ( blockArgs.callback in window ) {
21
- callback = window[ blockArgs.callback ];
22
- }
23
- }
24
-
25
- if ( typeof callback === 'function' ) {
26
- theShortcode = callback( attributes, blockArgs );
27
- } else {
28
- const shortcodeAttrs = blockArgs.attributes ? Object.entries( blockArgs.attributes ).map( ( [attributeName, attributeArgs] ) => {
29
- const show = checkForDeps( attributeArgs, attributes );
30
- const value = attributes[ attributeName ];
31
-
32
- if ( show && typeof value !== 'undefined' ) {
33
- const shortcodeValue = !!attributeArgs.remove_quotes ? value : `"${value}"`;
34
- return attributeName + '=' + shortcodeValue;
35
- }
36
- } ) : [];
37
-
38
- const shortcodeAttrsText = shortcodeAttrs.length ? ( ' ' + shortcodeAttrs.join( ' ' ) ) : '';
39
- theShortcode = `[${blockArgs.shortcode_name}${shortcodeAttrsText}]`;
40
- }
41
- return theShortcode;
42
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/common/icons.js DELETED
@@ -1,12 +0,0 @@
1
- /**
2
- * SVG Icons
3
- */
4
-
5
- /**
6
- * The YITH Logo Icon
7
- * @type {JSX.Element}
8
- */
9
- export const yith_icon = <svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg" width="22" height="22" role="img" aria-hidden="true" focusable="false">
10
- <path width="22" height="22"
11
- 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"/>
12
- </svg>;
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/common/index.js DELETED
@@ -1,4 +0,0 @@
1
- export * from './ajaxFetch';
2
- export * from './icons';
3
- export * from './generateShortcode';
4
- export * from './checkForDeps';
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/index.js DELETED
@@ -1,96 +0,0 @@
1
- /**
2
- * Color Palette Component
3
- */
4
-
5
- /**
6
- * External dependencies
7
- */
8
- import React from 'react';
9
-
10
- /**
11
- * WordPress dependencies
12
- */
13
- import { BaseControl, ColorIndicator, ColorPalette } from '@wordpress/components';
14
- import { __experimentalUseEditorFeature as useEditorFeature } from '@wordpress/block-editor';
15
- import { useInstanceId } from '@wordpress/compose';
16
-
17
- /**
18
- * Internal dependencies
19
- */
20
- import './style.scss';
21
-
22
- /**
23
- * Visual Label Element
24
- *
25
- * @param {string} label The label.
26
- * @param {string} colorValue The color.
27
- * @returns {JSX.Element}
28
- * @constructor
29
- */
30
- function VisualLabel( {
31
- label,
32
- colorValue
33
- } ) {
34
-
35
- return (
36
- <>
37
- {label}
38
- {!!colorValue && (
39
- <ColorIndicator colorValue={colorValue}/>
40
- )}
41
- </>
42
- );
43
- }
44
-
45
- /**
46
- * Color Palette Control
47
- *
48
- * @param {string} className The CSS class name.
49
- * @param {string} label The label.
50
- * @param {function} onChange The function callback fired on value change.
51
- * @param {string} value The initial value.
52
- * @param {string} help The help message.
53
- * @param {array} palette Array of palette colors.
54
- * @param {bool} clearable Set true to allow clear.
55
- * @returns {JSX.Element}
56
- * @constructor
57
- */
58
- export default function ColorPaletteControl( {
59
- className,
60
- label,
61
- onChange,
62
- value,
63
- help,
64
- palette,
65
- clearable
66
- } ) {
67
-
68
- palette = !!palette ? palette : useEditorFeature( 'color.palette' );
69
-
70
- const instanceId = useInstanceId( ColorPaletteControl );
71
- const id = `inspector-yith-color-palette-control-${instanceId}`;
72
-
73
- return (
74
- <BaseControl
75
- id={id}
76
- className={`block-editor-yith-color-palette-control ${className}`}
77
- help={help}
78
- >
79
- <fieldset>
80
- <legend>
81
- <div className="block-editor-yith-color-palette-control__color-indicator">
82
- <BaseControl.VisualLabel>
83
- <VisualLabel colorValue={value} label={label}/>
84
- </BaseControl.VisualLabel>
85
- </div>
86
- </legend>
87
-
88
- <ColorPalette
89
- value={value}
90
- onChange={onChange}
91
- colors={palette}
92
- clearable={clearable}
93
- />
94
- </fieldset>
95
- </BaseControl> );
96
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/components/color-palette-control/style.scss DELETED
@@ -1,9 +0,0 @@
1
- .block-editor-yith-color-palette-control {
2
- .block-editor-yith-color-palette-control__color-indicator {
3
- margin-bottom: 12px;
4
- }
5
-
6
- .component-color-indicator{
7
- vertical-align: text-bottom;
8
- }
9
- }
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/components/color-picker-control/index.js DELETED
@@ -1,53 +0,0 @@
1
- /**
2
- * Color Picker Component
3
- */
4
-
5
- /**
6
- * External dependencies
7
- */
8
- import React from 'react';
9
-
10
- /**
11
- * WordPress dependencies
12
- */
13
- import { BaseControl, ColorPicker } from '@wordpress/components';
14
- import { useInstanceId } from '@wordpress/compose';
15
-
16
- /**
17
- * Color Picker Control
18
- *
19
- * @param {string} className The CSS class name.
20
- * @param {string} label The label.
21
- * @param {function} onChange The function callback fired on value change.
22
- * @param {string} value The initial value.
23
- * @param {string} help The help message.
24
- * @param {bool} disableAlpha Set true to disable the alpha
25
- * @returns {ColorPickerControl}
26
- * @constructor
27
- */
28
- export default function ColorPickerControl( {
29
- className,
30
- label,
31
- onChange,
32
- value,
33
- help,
34
- disableAlpha,
35
- } ) {
36
-
37
- const instanceId = useInstanceId( ColorPickerControl );
38
- const id = `inspector-yith-color-picker-control-${instanceId}`;
39
-
40
- return (
41
- <BaseControl
42
- id={id}
43
- label={label}
44
- className={`block-editor-yith-color-control ${className}`}
45
- help={help}
46
- >
47
- <ColorPicker
48
- color={value}
49
- disableAlpha={disableAlpha}
50
- onChangeComplete={onChange}
51
- />
52
- </BaseControl> );
53
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/components/shortcode/index.js DELETED
@@ -1,152 +0,0 @@
1
- /**
2
- * Shortcode Component
3
- */
4
-
5
- /**
6
- * External dependencies
7
- */
8
- import React, { Component } from 'react';
9
- import { isEqual } from 'lodash';
10
-
11
- /**
12
- * WordPress dependencies
13
- */
14
- import { RawHTML } from '@wordpress/element';
15
- import { Spinner } from '@wordpress/components';
16
- import { doAction, addAction } from '@wordpress/hooks';
17
-
18
- /**
19
- * Internal dependencies
20
- */
21
- import { ajaxFetch, generateShortcode, yith_icon } from '../../common';
22
- import md5 from 'md5';
23
- import './style.scss';
24
-
25
- const BEFORE_DO_SHORTCODE_ACTION = 'yith_plugin_fw_gutenberg_before_do_shortcode';
26
- const SUCCESS_DO_SHORTCODE_ACTION = 'yith_plugin_fw_gutenberg_success_do_shortcode';
27
- const AFTER_DO_SHORTCODE_ACTION = 'yith_plugin_fw_gutenberg_after_do_shortcode';
28
-
29
- /**
30
- * Shortcode Component
31
- */
32
- export class Shortcode extends Component {
33
- constructor() {
34
- super( ...arguments );
35
-
36
- this.state = {
37
- html : '',
38
- shortcode : '',
39
- shortcodeHash: '',
40
- ajaxUpdated : false,
41
- ajaxSuccess : false,
42
- ajaxResponse : false,
43
- loading : false,
44
- firstLoading : true
45
- };
46
-
47
- this.ajaxTimeout = false;
48
- }
49
-
50
- componentDidMount() {
51
- this.updateShortcode();
52
- }
53
-
54
- componentDidUpdate( prevProps, prevState, snapshot ) {
55
- const { shortcode, shortcodeHash, ajaxSuccess, ajaxResponse, ajaxUpdated } = this.state;
56
-
57
- if ( !isEqual( prevProps, this.props ) ) {
58
- this.updateShortcode();
59
- }
60
-
61
-
62
- if ( this.props.blockArgs.do_shortcode && ajaxUpdated ) {
63
-
64
- if ( ajaxSuccess ) {
65
- doAction( SUCCESS_DO_SHORTCODE_ACTION, shortcode, shortcodeHash, ajaxResponse );
66
- }
67
-
68
- doAction( AFTER_DO_SHORTCODE_ACTION, shortcode, shortcodeHash, ajaxResponse );
69
-
70
- this.setState( { ajaxUpdated: false } );
71
- }
72
- }
73
-
74
- updateShortcode() {
75
- const { attributes, blockArgs } = this.props;
76
-
77
- this.setState( { loading: true, ajaxSuccess: false, ajaxResponse: false } );
78
-
79
- const shortcode = generateShortcode( blockArgs, attributes );
80
- const shortcodeHash = md5( shortcode );
81
-
82
- if ( blockArgs.do_shortcode ) {
83
- !!this.ajaxTimeout && clearTimeout( this.ajaxTimeout );
84
-
85
- doAction( BEFORE_DO_SHORTCODE_ACTION, shortcode, shortcodeHash );
86
-
87
- this.ajaxTimeout = setTimeout( () => {
88
- const ajaxData = {
89
- action : 'yith_plugin_fw_gutenberg_do_shortcode',
90
- shortcode: shortcode
91
- };
92
-
93
- ajaxFetch( ajaxData ).then( response => {
94
- this.setState( { loading: false, firstLoading: false, html: response.html, shortcode, shortcodeHash, ajaxSuccess: true, ajaxUpdated: true, ajaxResponse: response } );
95
- } )
96
- .catch( error => {
97
- console.log( { error } );
98
- } );
99
- }, 300 );
100
- } else {
101
- this.setState( { loading: false, firstLoading: false, html: shortcode, shortcode, shortcodeHash } );
102
- }
103
- }
104
-
105
- render() {
106
- const { html, loading, firstLoading, shortcode, shortcodeHash } = this.state;
107
- const { blockArgs } = this.props;
108
- const { do_shortcode, title, empty_message } = blockArgs;
109
-
110
- const mainClass = 'block-editor-yith-plugin-fw-shortcode-block';
111
-
112
- let wrapperClasses = [mainClass];
113
- let type = do_shortcode ? 'html' : 'shortcode';
114
- let htmlToShow = html;
115
- let message = '';
116
-
117
- if ( firstLoading && loading ) {
118
- type = 'first-loading';
119
- } else if ( do_shortcode && !html ) {
120
- type = 'empty-html';
121
- htmlToShow = shortcode;
122
- if ( !loading && empty_message ) {
123
- message = empty_message;
124
- }
125
- }
126
-
127
- const showTitle = ['first-loading', 'empty-html', 'shortcode'].includes( type );
128
- const showContent = !['first-loading', 'empty-html'].includes( type );
129
- const showMessage = !!message;
130
-
131
- wrapperClasses.push( `${mainClass}--${type}` );
132
- wrapperClasses.push( showMessage ? `${mainClass}--has-message` : `${mainClass}--no-message` );
133
- wrapperClasses.push( `yith_block_${shortcodeHash}` );
134
-
135
- return (
136
- <>
137
- <div className={wrapperClasses.join( ' ' )}>
138
- {!!loading ? <div className={`${mainClass}__spinner-wrap`}><Spinner/></div> : ''}
139
- {showTitle &&
140
- <div className={`${mainClass}__title components-placeholder__label`}>{yith_icon}{title}</div>
141
- }
142
- {showMessage &&
143
- <RawHTML className={`${mainClass}__message`}>{message}</RawHTML>
144
- }
145
- {showContent &&
146
- <RawHTML className={`${mainClass}__content`}>{htmlToShow}</RawHTML>
147
- }
148
- </div>
149
- </>
150
- )
151
- }
152
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/components/shortcode/style.scss DELETED
@@ -1,64 +0,0 @@
1
- %bordered-block {
2
- padding: 1em 1em 1.2em;
3
- border: 1px solid #1e1e1e;
4
- border-radius: 4px;
5
- }
6
-
7
- %shortcode-box {
8
- font-family: Menlo, Consolas, monaco, monospace;
9
- color: #1e1e1e;
10
- font-size: 13px;
11
- padding: 0.8em 1em;
12
- border: 1px solid #ddd;
13
- border-radius: 4px;
14
- }
15
-
16
- .block-editor-yith-plugin-fw-shortcode-block {
17
- position: relative;
18
- min-height: 30px;
19
-
20
- .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap {
21
- position: absolute;
22
- top: 50%;
23
- left: 50%;
24
- transform: translateX(-50%) translateY(-50%);
25
- }
26
-
27
- &.block-editor-yith-plugin-fw-shortcode-block--first-loading{
28
- @extend %bordered-block;
29
-
30
- .block-editor-yith-plugin-fw-shortcode-block__title {
31
- margin-bottom: 0;
32
- }
33
- }
34
-
35
- &.block-editor-yith-plugin-fw-shortcode-block--shortcode {
36
-
37
- @extend %bordered-block;
38
-
39
- .block-editor-yith-plugin-fw-shortcode-block__content {
40
- @extend %shortcode-box;
41
- }
42
- }
43
-
44
- &.block-editor-yith-plugin-fw-shortcode-block--empty-html {
45
-
46
- @extend %bordered-block;
47
-
48
- &.block-editor-yith-plugin-fw-shortcode-block--no-message {
49
- .block-editor-yith-plugin-fw-shortcode-block__title {
50
- margin-bottom: 0;
51
- }
52
- }
53
-
54
- .block-editor-yith-plugin-fw-shortcode-block__message {
55
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
56
- font-style: italic;
57
- font-size: 13px;
58
- }
59
-
60
- .block-editor-yith-plugin-fw-shortcode-block__content {
61
- display: none;
62
- }
63
- }
64
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/edit.js DELETED
@@ -1,233 +0,0 @@
1
- /**
2
- * Handle YITH Gutenberg Blocks Edit
3
- *
4
- * @var {Object} yithGutenbergBlocks The Gutenberg blocks object.
5
- */
6
-
7
- /**
8
- * External dependencies
9
- */
10
- import React from 'react';
11
-
12
- /**
13
- * WordPress dependencies
14
- */
15
- import { PanelBody, BaseControl, ToggleControl, SelectControl, TextControl, TextareaControl, CheckboxControl, RangeControl, RadioControl } from '@wordpress/components';
16
- import { InspectorControls } from '@wordpress/block-editor';
17
-
18
- /**
19
- * Internal dependencies
20
- */
21
- import { Shortcode } from './components/shortcode';
22
- import { checkForDeps } from './common';
23
- import ColorPickerControl from './components/color-picker-control';
24
- import ColorPaletteControl from './components/color-palette-control';
25
-
26
- /**
27
- * Retrieve an help message from arguments.
28
- *
29
- * @param {Object} args The arguments.
30
- * @param {bool} value The value.
31
- * @returns {string}
32
- */
33
- const getHelpMessage = ( args, value ) => {
34
- let helpMessage = '';
35
- if ( args.helps && args.helps.checked && args.helps.unchecked ) {
36
- helpMessage = !!value ? args.helps.checked : args.helps.unchecked;
37
- } else if ( args.help ) {
38
- helpMessage = args.help;
39
- }
40
- return helpMessage;
41
- }
42
-
43
- /**
44
- * Create edit function.
45
- *
46
- * @param {string} blockName The block name.
47
- * @param {Object} blockArgs The block arguments.
48
- * @returns {function({attributes?: *, className: *, setAttributes: *})}
49
- */
50
- export const createEditFunction = ( blockName, blockArgs ) => {
51
- return function ( { attributes, className, setAttributes } ) {
52
-
53
- const onChangeHandler = ( new_value, attribute_name, controlType ) => {
54
- if ( ['colorpicker', 'color'].includes( controlType ) ) {
55
- new_value = new_value.color.getAlpha() < 1 ? new_value.color.toRgbString() : new_value.color.toHexString();
56
- }
57
-
58
- let updatedAttributes = {};
59
- updatedAttributes[ attribute_name ] = new_value;
60
- setAttributes( updatedAttributes );
61
- }
62
-
63
- const getComponentControl = ( attributeName, attributeArgs ) => {
64
- const { controlType } = attributeArgs;
65
- const value = attributes[ attributeName ];
66
- const helpMessage = getHelpMessage( attributeArgs, value );
67
- let wrapperClassName = `${blockName}__${attributeName}-field-wrapper`;
68
- const show = checkForDeps( attributeArgs, attributes );
69
-
70
- if ( attributeArgs.wrapper_class ) {
71
- wrapperClassName += ' ' + attributeArgs.wrapper_class;
72
- }
73
-
74
-
75
- let componentControl = false;
76
- if ( show ) {
77
- switch ( controlType ) {
78
- case 'select':
79
- componentControl = <SelectControl
80
- className={wrapperClassName}
81
- key={attributeName}
82
- value={value}
83
- label={attributeArgs.label}
84
- options={attributeArgs.options}
85
- selected={value}
86
- help={helpMessage}
87
- multiple={!!attributeArgs.multiple}
88
- onChange={( newValue ) => {
89
- onChangeHandler( newValue, attributeName, controlType )
90
- }}
91
- />;
92
- break;
93
-
94
- case 'text':
95
- componentControl = <TextControl
96
- className={wrapperClassName}
97
- key={attributeName}
98
- value={value}
99
- label={attributeArgs.label}
100
- help={helpMessage}
101
- onChange={( newValue ) => {
102
- onChangeHandler( newValue, attributeName, controlType )
103
- }}
104
- />;
105
- break;
106
-
107
- case 'textarea':
108
- componentControl = <TextareaControl
109
- className={wrapperClassName}
110
- key={attributeName}
111
- value={value}
112
- label={attributeArgs.label}
113
- help={helpMessage}
114
- onChange={( newValue ) => {
115
- onChangeHandler( newValue, attributeName, controlType )
116
- }}
117
- />;
118
- break;
119
-
120
- case 'toggle':
121
- componentControl = <ToggleControl
122
- className={wrapperClassName}
123
- key={attributeName}
124
- value={value}
125
- label={attributeArgs.label}
126
- help={helpMessage}
127
- checked={value}
128
- onChange={( newValue ) => {
129
- onChangeHandler( newValue, attributeName, controlType )
130
- }}
131
- />;
132
- break;
133
-
134
- case 'checkbox':
135
- componentControl = <CheckboxControl
136
- className={wrapperClassName}
137
- key={attributeName}
138
- value={value}
139
- label={attributeArgs.label}
140
- help={helpMessage}
141
- checked={value}
142
- onChange={( newValue ) => {
143
- onChangeHandler( newValue, attributeName, controlType )
144
- }}
145
- />;
146
- break;
147
-
148
- case 'number':
149
- case 'range':
150
- componentControl = <RangeControl
151
- className={wrapperClassName}
152
- key={attributeName}
153
- value={value}
154
- label={attributeArgs.label}
155
- help={helpMessage}
156
- min={attributeArgs.min}
157
- max={attributeArgs.max}
158
- onChange={( newValue ) => {
159
- onChangeHandler( newValue, attributeName, controlType )
160
- }}
161
- />;
162
- break;
163
-
164
- case 'color':
165
- case 'colorpicker':
166
- componentControl = <ColorPickerControl
167
- className={wrapperClassName}
168
- key={attributeName}
169
- label={attributeArgs.label}
170
- help={helpMessage}
171
- value={value}
172
- disableAlpha={attributeArgs.disableAlpha}
173
- onChange={( newValue ) => {
174
- onChangeHandler( newValue, attributeName, controlType )
175
- }}/>;
176
- break;
177
-
178
- case 'color-palette':
179
- componentControl = <ColorPaletteControl
180
- className={wrapperClassName}
181
- key={attributeName}
182
- label={attributeArgs.label}
183
- help={helpMessage}
184
- value={value}
185
- clearable={attributeArgs.clearable || false}
186
- onChange={( newValue ) => {
187
- onChangeHandler( newValue, attributeName, controlType )
188
- }}/>;
189
- break;
190
-
191
- case 'radio':
192
- componentControl = <RadioControl
193
- key={attributeName}
194
- value={value}
195
- label={attributeArgs.label}
196
- options={attributeArgs.options}
197
- selected={value}
198
- checked={value}
199
- help={helpMessage}
200
- onChange={( newValue ) => {
201
- onChangeHandler( newValue, attributeName, controlType )
202
- }}
203
- />;
204
- break;
205
- default:
206
- componentControl = false;
207
- }
208
- }
209
- return componentControl;
210
- }
211
-
212
- return (
213
- <>
214
- {!!blockArgs.attributes &&
215
- <InspectorControls>
216
- <PanelBody>
217
- {Object.entries( blockArgs.attributes ).map( ( [attributeName, attributeArgs] ) => {
218
- const ComponentControl = getComponentControl( attributeName, attributeArgs );
219
-
220
- if ( ComponentControl ) {
221
- return ( ComponentControl );
222
- }
223
- } )}
224
- </PanelBody>
225
- </InspectorControls>
226
- }
227
- {
228
- <Shortcode attributes={attributes} blockArgs={blockArgs}/>
229
- }
230
- </>
231
- );
232
- }
233
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/builders/gutenberg/src/index.js DELETED
@@ -1,53 +0,0 @@
1
- /**
2
- * Handle YITH Gutenberg Blocks
3
- *
4
- * @var {Object} yithGutenbergBlocks The Gutenberg blocks object.
5
- */
6
-
7
- /**
8
- * External dependencies
9
- */
10
- import React from 'react';
11
- import md5 from 'md5';
12
-
13
- /**
14
- * WordPress dependencies
15
- */
16
- import { registerBlockType } from '@wordpress/blocks';
17
- import { RawHTML } from '@wordpress/element';
18
-
19
- /**
20
- * Internal dependencies
21
- */
22
- import { yith_icon, generateShortcode } from './common';
23
- import { createEditFunction } from './edit';
24
- import './common/actions-to-jquery-events';
25
-
26
- for ( const [blockName, blockArgs] of Object.entries( yithGutenbergBlocks ) ) {
27
- registerBlockType( 'yith/' + blockName, {
28
- title : blockArgs.title,
29
- description: blockArgs.description,
30
- category : blockArgs.category,
31
- attributes : blockArgs.attributes,
32
- icon : typeof blockArgs.icon !== 'undefined' ? blockArgs.icon : yith_icon,
33
- keywords : blockArgs.keywords,
34
- edit : createEditFunction( blockName, blockArgs ),
35
- save : ( { attributes } ) => {
36
- return generateShortcode( blockArgs, attributes );
37
- },
38
- deprecated : [
39
- {
40
- attributes: blockArgs.attributes,
41
- save : ( { attributes } ) => {
42
- const shortcode = generateShortcode( blockArgs, attributes );
43
- const blockHash = md5( shortcode );
44
- const shortcodeSpan = '<span class="yith_block_' + blockHash + '">' + shortcode + '</span>';
45
-
46
- return (
47
- <RawHTML>{shortcodeSpan}</RawHTML>
48
- )
49
- }
50
- }
51
- ]
52
- } );
53
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/class-yit-icons.php CHANGED
@@ -979,7 +979,19 @@ if ( ! class_exists( 'YIT_Icons' ) ) {
979
  * @return string
980
  */
981
  public function get_icon_data( $icon_string, $filter_suffix = '' ) {
982
- $icon_data = '';
 
 
 
 
 
 
 
 
 
 
 
 
983
  if ( $icon_string ) {
984
  $icon_array = explode( ':', $icon_string );
985
 
@@ -994,8 +1006,12 @@ if ( ! class_exists( 'YIT_Icons' ) ) {
994
  if ( array_key_exists( $font_name, $icons ) ) {
995
  $icon_key = array_search( $icon_name, $icons[ $font_name ], true );
996
  $icon_code = '&#x' . str_replace( '\\', '', $icon_key );
997
-
998
- $icon_data = 'data-font="' . esc_attr( $font_name ) . '" data-name="' . esc_attr( $icon_name ) . '" data-key="' . esc_attr( $icon_key ) . '" data-icon="' . $icon_code . '"';
 
 
 
 
999
  }
1000
  }
1001
 
979
  * @return string
980
  */
981
  public function get_icon_data( $icon_string, $filter_suffix = '' ) {
982
+ return yith_plugin_fw_html_data_to_string( $this->get_icon_data_array( $icon_string, $filter_suffix ) );
983
+ }
984
+
985
+ /**
986
+ * Get the icon data array
987
+ *
988
+ * @param string $icon_string The icon string.
989
+ * @param string $filter_suffix The filter suffix.
990
+ *
991
+ * @return array
992
+ */
993
+ public function get_icon_data_array( $icon_string, $filter_suffix = '' ) {
994
+ $icon_data = array();
995
  if ( $icon_string ) {
996
  $icon_array = explode( ':', $icon_string );
997
 
1006
  if ( array_key_exists( $font_name, $icons ) ) {
1007
  $icon_key = array_search( $icon_name, $icons[ $font_name ], true );
1008
  $icon_code = '&#x' . str_replace( '\\', '', $icon_key );
1009
+ $icon_data = array(
1010
+ 'font' => $font_name,
1011
+ 'name' => $icon_name,
1012
+ 'key' => $icon_key,
1013
+ 'icon' => $icon_code,
1014
+ );
1015
  }
1016
  }
1017
 
plugin-fw/includes/class-yit-plugin-panel.php CHANGED
@@ -800,13 +800,33 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
800
  'main_video' => false,
801
  'playlists' => array(),
802
  'hc_url' => 'https://support.yithemes.com/hc/',
803
- 'doc_url' => $this->settings['plugin_slug'] ? 'https://docs.yithemes.com/' . $this->settings['plugin_slug'] : '',
804
  'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
805
  'show_hc_articles' => true,
806
  'show_submit_ticket' => true,
807
  )
808
  );
809
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
810
  // set template variables.
811
  $current_tab = $this->get_current_tab();
812
  $current_sub_tab = $this->get_current_sub_tab();
800
  'main_video' => false,
801
  'playlists' => array(),
802
  'hc_url' => 'https://support.yithemes.com/hc/',
803
+ 'doc_url' => $this->settings['plugin_slug'] ? 'https://docs.yithemes.com/' . $this->settings['plugin_slug'] . '/' : '',
804
  'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
805
  'show_hc_articles' => true,
806
  'show_submit_ticket' => true,
807
  )
808
  );
809
 
810
+ // add campaign parameters to url.
811
+ if ( $this->settings['plugin_slug'] ) {
812
+ $utm_medium = $this->settings['plugin_slug'];
813
+ $utm_source = 'wp-premium-dashboard';
814
+ $utm_campaign = 'help-tab';
815
+
816
+ $campaign_urls = array(
817
+ 'submit_ticket_url',
818
+ 'doc_url',
819
+ );
820
+
821
+ foreach ( $campaign_urls as $campaign_url ) {
822
+ if ( empty( $options[ $campaign_url ] ) ) {
823
+ continue;
824
+ }
825
+
826
+ $options[ $campaign_url ] = yith_plugin_fw_add_utm_data( $options[ $campaign_url ], $utm_medium, $utm_campaign, $utm_source );
827
+ }
828
+ }
829
+
830
  // set template variables.
831
  $current_tab = $this->get_current_tab();
832
  $current_sub_tab = $this->get_current_sub_tab();
plugin-fw/includes/class-yith-system-status.php CHANGED
@@ -337,10 +337,10 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
337
  ?>
338
  <div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
339
  <p>
340
- <span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>"/></span>
341
  <b>
342
  <?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
343
- </b><br/>
344
  <?php
345
  /* translators: %1$s open link tag, %2$s open link tag*/
346
  echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
@@ -719,6 +719,81 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
719
  return compact( 'version', 'loaded_by' );
720
  }
721
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
722
  }
723
  }
724
 
337
  ?>
338
  <div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
339
  <p>
340
+ <span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>" /></span>
341
  <b>
342
  <?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
343
+ </b><br />
344
  <?php
345
  /* translators: %1$s open link tag, %2$s open link tag*/
346
  echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
719
  return compact( 'version', 'loaded_by' );
720
  }
721
 
722
+ /**
723
+ * Retrieve database info, such as MySQL version and database size.
724
+ *
725
+ * @return array
726
+ */
727
+ public function get_database_info() {
728
+
729
+ global $wpdb;
730
+
731
+ $database_version = $wpdb->get_row( //phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
732
+ 'SELECT
733
+ @@GLOBAL.version_comment AS string,
734
+ @@GLOBAL.version AS number',
735
+ ARRAY_A
736
+ );
737
+
738
+ $tables = array();
739
+ $database_size = array();
740
+
741
+ // It is not possible to get the database name from some classes that replace wpdb (e.g., HyperDB)
742
+ // and that is why this if condition is needed.
743
+ if ( defined( 'DB_NAME' ) ) {
744
+ $database_table_information = $wpdb->get_results( //phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
745
+ $wpdb->prepare(
746
+ "SELECT
747
+ table_name AS 'name',
748
+ engine AS 'engine',
749
+ round( ( data_length / 1024 / 1024 ), 2 ) 'data',
750
+ round( ( index_length / 1024 / 1024 ), 2 ) 'index',
751
+ round( ( data_free / 1024 / 1024 ), 2 ) 'free'
752
+ FROM information_schema.TABLES
753
+ WHERE table_schema = %s
754
+ ORDER BY name ASC;",
755
+ DB_NAME
756
+ )
757
+ );
758
+
759
+ $database_size = array(
760
+ 'data' => 0,
761
+ 'index' => 0,
762
+ 'free' => 0,
763
+ );
764
+
765
+ $site_tables_prefix = $wpdb->get_blog_prefix( get_current_blog_id() );
766
+ $global_tables = $wpdb->tables( 'global', true );
767
+ foreach ( $database_table_information as $table ) {
768
+ // Only include tables matching the prefix of the current site, this is to prevent displaying all tables on a MS install not relating to the current.
769
+ if ( is_multisite() && 0 !== strpos( $table->name, $site_tables_prefix ) && ! in_array( $table->name, $global_tables, true ) ) {
770
+ continue;
771
+ }
772
+
773
+ $tables[ $table->name ] = array(
774
+ 'data' => $table->data,
775
+ 'index' => $table->index,
776
+ 'free' => $table->free,
777
+ 'engine' => $table->engine,
778
+ );
779
+
780
+ $database_size['data'] += $table->data;
781
+ $database_size['index'] += $table->index;
782
+ $database_size['free'] += $table->free;
783
+ }
784
+ }
785
+
786
+ return apply_filters(
787
+ 'yith_database_info',
788
+ array(
789
+ 'mysql_version' => $database_version['number'],
790
+ 'mysql_version_string' => $database_version['string'],
791
+ 'database_tables' => $tables,
792
+ 'database_size' => $database_size,
793
+ )
794
+ );
795
+ }
796
+
797
  }
798
  }
799
 
plugin-fw/includes/promo/black.jpg DELETED
Binary file
plugin-fw/includes/promo/cyber.jpg DELETED
Binary file
plugin-fw/includes/promo/halloween.jpg DELETED
Binary file
plugin-fw/includes/promo/yith-promo.php DELETED
@@ -1,245 +0,0 @@
1
- <?php
2
- /**
3
- * YITH Promo functions
4
- * handle the YITH promotions
5
- *
6
- * @package YITH\PluginFramework
7
- */
8
-
9
- defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
-
11
- if ( ! function_exists( 'simplexml_load_string' ) ) {
12
- return false;
13
- }
14
-
15
- add_action( 'admin_notices', 'yith_plugin_fw_regenerate_transient' );
16
- add_action( 'admin_notices', 'yith_plugin_fw_promo_notices', 15 );
17
- add_action( 'admin_enqueue_scripts', 'yith_plugin_fw_notice_dismiss', 20 );
18
-
19
- if ( ! function_exists( 'yith_plugin_fw_promo_notices' ) ) {
20
- /**
21
- * Add promo notices.
22
- */
23
- function yith_plugin_fw_promo_notices() {
24
- // phpcs:disable WordPress.Security.NonceVerification.Recommended
25
- global $pagenow;
26
- $not_administrator = function_exists( 'current_user_can' ) && ! current_user_can( 'administrator' );
27
- $is_dashboard = 'index.php' === $pagenow;
28
- $is_plugin_page = 'plugins.php' === $pagenow || 'plugin-install.php' === $pagenow && 'plugin-editor.php' === $pagenow;
29
- $wc_post_types = array( 'shop_order', 'shop_coupon' );
30
- $is_wc_post_types = isset( $_GET['post_type'] ) && in_array( $_GET['post_type'], $wc_post_types, true );
31
- $wc_pages = array( 'wc-reports', 'wc-settings', 'wc-status', 'wc-addons' );
32
- $page = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : false;
33
- $is_wc_pages = $page && in_array( $page, $wc_pages, true );
34
- $is_yith_page = $page && false !== strstr( $page, 'yith' );
35
-
36
- if ( $not_administrator ) {
37
- return;
38
- }
39
-
40
- if ( ! $is_plugin_page && ! $is_wc_pages && ! $is_wc_post_types && ! $is_yith_page ) {
41
- return;
42
- }
43
-
44
- $base_url = apply_filters( 'yith_plugin_fw_promo_base_url', YIT_CORE_PLUGIN_URL . '/includes/promo/' );
45
- $xml = apply_filters( 'yith_plugin_fw_promo_xml_url', YIT_CORE_PLUGIN_PATH . '/includes/promo/yith-promo.xml' );
46
- $transient = 'yith_promo_message';
47
- $remote_data = get_site_transient( $transient );
48
- $regenerate_promo_transient = isset( $_GET['yith_regenerate_promo_transient'] ) && 'yes' === $_GET['yith_regenerate_promo_transient'];
49
- $promo_data = false;
50
- $create_transient = false;
51
-
52
- if ( false === $remote_data || apply_filters( 'yith_plugin_fw_force_regenerate_promo_transient', false ) || $regenerate_promo_transient ) {
53
- $remote_data = file_get_contents( $xml ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
54
- $create_transient = true;
55
- }
56
-
57
- if ( ! is_wp_error( $remote_data ) && ! empty( $remote_data ) ) {
58
- $promo_data = @simplexml_load_string( $remote_data ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
59
-
60
- $is_membership_user = false;
61
- $license = function_exists( 'YITH_Plugin_Licence' ) ? YITH_Plugin_Licence()->get_licence() : array();
62
- $xml_expiry_date = '';
63
-
64
- if ( is_array( $license ) && apply_filters( 'yith_plugin_fw_check_for_membership_user', true ) ) {
65
- // Check if the user have the YITH Club.
66
- foreach ( $license as $plugin => $data ) {
67
- if ( ! empty( $data['is_membership'] ) ) {
68
- $is_membership_user = true;
69
- $xml_expiry_date = $data['licence_expires'];
70
- $remote_data = array();
71
- $promo_data = array();
72
- $create_transient = true;
73
- break;
74
- }
75
- }
76
- }
77
-
78
- if ( empty( $is_membership_user ) && ! empty( $promo_data->expiry_date ) ) {
79
- $xml_expiry_date = $promo_data->expiry_date;
80
- }
81
-
82
- if ( true === $create_transient ) {
83
- set_site_transient( $transient, $remote_data, yith_plugin_fw_get_promo_transient_expiry_date( $xml_expiry_date ) );
84
- }
85
-
86
- if ( $promo_data && ! empty( $promo_data->promo ) ) {
87
- $now = apply_filters( 'yith_plugin_fw_promo_now_date', strtotime( current_time( 'mysql' ) ) );
88
-
89
- foreach ( $promo_data->promo as $promo ) {
90
- $show_promo = true;
91
- // Check for Special Promo.
92
- if ( ! empty( $promo->show_promo_in ) ) {
93
- $show_promo_in = explode( ',', $promo->show_promo_in );
94
- $show_promo_in = array_map( 'trim', $show_promo_in );
95
- if ( ! empty( $show_promo_in ) ) {
96
- $show_promo = false;
97
- foreach ( $show_promo_in as $plugin ) {
98
- $plugin_slug = constant( $plugin );
99
- $plugin_is_activated = ! empty( $license[ $plugin_slug ]['activated'] );
100
- if ( defined( $plugin ) && ! apply_filters( 'yith_plugin_fw_promo_plugin_is_activated', $plugin_is_activated ) ) {
101
- $show_promo = true;
102
- break;
103
- }
104
- }
105
- }
106
- }
107
-
108
- $start_date = isset( $promo->start_date ) ? $promo->start_date : '';
109
- $end_date = isset( $promo->end_date ) ? $promo->end_date : '';
110
-
111
- if ( $show_promo && ! empty( $start_date ) && ! empty( $end_date ) ) {
112
- $start_date = strtotime( $start_date );
113
- $end_date = strtotime( $end_date );
114
-
115
- if ( $end_date >= $start_date && $now >= $start_date && $now <= $end_date ) {
116
- // Is this a valid promo.
117
- $title = isset( $promo->title ) ? $promo->title : '';
118
- $description = isset( $promo->description ) ? $promo->description : '';
119
- $url = isset( $promo->link->url ) ? $promo->link->url : '';
120
- $url_label = isset( $promo->link->label ) ? $promo->link->label : '';
121
- $image_bg_color = isset( $promo->style->image_bg_color ) ? $promo->style->image_bg_color : '';
122
- $border_color = isset( $promo->style->border_color ) ? $promo->style->border_color : '';
123
- $background_color = isset( $promo->style->background_color ) ? $promo->style->background_color : '';
124
- $promo_id = isset( $promo->promo_id ) ? $promo->promo_id : '';
125
- $banner = isset( $promo->banner ) ? $promo->banner : '';
126
- $style = '';
127
- $link = '';
128
- $show_notice = false;
129
-
130
- if ( ! empty( $border_color ) ) {
131
- $style .= "border-left-color: {$border_color};";
132
- }
133
-
134
- if ( ! empty( $background_color ) ) {
135
- $style .= "background-color: {$background_color};";
136
- }
137
-
138
- if ( ! empty( $image_bg_color ) ) {
139
- $image_bg_color = "background-color: {$image_bg_color};";
140
- }
141
-
142
- if ( ! empty( $title ) ) {
143
- $promo_id .= $title;
144
-
145
- $title = sprintf( '%s: ', $title );
146
- $show_notice = true;
147
- }
148
-
149
- if ( ! empty( $description ) ) {
150
- $promo_id .= $description;
151
-
152
- $description = sprintf( '%s', $description );
153
- $show_notice = true;
154
- }
155
-
156
- if ( ! empty( $url ) && ! empty( $url_label ) ) {
157
- $promo_id .= $url . $url_label;
158
-
159
- $link = sprintf( '<a href="%s" target="_blank">%s</a>', $url, $url_label );
160
- $show_notice = true;
161
- }
162
-
163
- if ( ! empty( $banner ) ) {
164
- $banner = sprintf( '<img src="%s" class="yith-promo-banner-image">', $base_url . $banner );
165
-
166
- if ( ! empty( $url ) ) {
167
- $banner = sprintf( '<a class="yith-promo-banner-image-link" href="%s" target="_blank" style="%s">%s</a>', $url, $image_bg_color, $banner );
168
- }
169
- }
170
-
171
- $unique_promo_id = 'yith-notice-' . md5( $promo_id );
172
-
173
- if ( ! empty( $_COOKIE[ 'hide_' . $unique_promo_id ] ) && 'yes' === $_COOKIE[ 'hide_' . $unique_promo_id ] ) {
174
- $show_notice = false;
175
- }
176
-
177
- if ( $show_notice ) : ?>
178
- <?php wp_enqueue_script( 'yith-promo' ); ?>
179
- <div id="<?php echo esc_attr( $unique_promo_id ); ?>" class="yith-notice-is-dismissible notice notice-yith notice-alt is-dismissible" style="<?php echo esc_attr( $style ); ?>" data-expiry= <?php echo esc_attr( $promo->end_date ); ?>>
180
- <p>
181
- <?php
182
- if ( ! ! $banner ) {
183
- echo wp_kses_post( $banner );
184
- }
185
-
186
- echo wp_kses_post( sprintf( '%s %s %s', $title, $description, $link ) );
187
- ?>
188
- </p>
189
- </div>
190
- <?php endif; ?>
191
- <?php
192
- }
193
- }
194
- }
195
- }
196
- }
197
-
198
- // phpcs:enable
199
- }
200
- }
201
-
202
- if ( ! function_exists( 'yith_plugin_fw_notice_dismiss' ) ) {
203
- /**
204
- * Dismiss the notice scripts.
205
- */
206
- function yith_plugin_fw_notice_dismiss() {
207
- $script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
208
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
209
- wp_register_script( 'yith-promo', $script_path . '/assets/js/yith-promo' . $suffix . '.js', array( 'jquery' ), '1.0.0', true );
210
- }
211
- }
212
-
213
- if ( ! function_exists( 'yith_plugin_fw_get_promo_transient_expiry_date' ) ) {
214
- /**
215
- * Retrieve the expiry date in integer.
216
- *
217
- * @param string $expiry_date The expiry date.
218
- *
219
- * @return false|int
220
- */
221
- function yith_plugin_fw_get_promo_transient_expiry_date( $expiry_date ) {
222
- $xml_expiry_date = ! empty( $expiry_date ) ? $expiry_date : '+24 hours';
223
- $current = strtotime( current_time( 'Y-m-d H:i:s' ) );
224
- $expiry_date = strtotime( $xml_expiry_date, $current );
225
-
226
- if ( $expiry_date <= $current ) {
227
- $expiry_date = strtotime( '+24 hours', $current );
228
- }
229
-
230
- return $expiry_date;
231
- }
232
- }
233
-
234
- if ( ! function_exists( 'yith_plugin_fw_regenerate_transient' ) ) {
235
- /**
236
- * Regenerate transients for promo.
237
- */
238
- function yith_plugin_fw_regenerate_transient() {
239
- if ( false === get_option( 'yith_plugin_fw_promo_2019_bis', false ) ) {
240
- delete_option( 'yith_plugin_fw_promo_2019' );
241
- delete_site_transient( 'yith_promo_message' );
242
- update_option( 'yith_plugin_fw_promo_2019_bis', true );
243
- }
244
- }
245
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/promo/yith-promo.xml DELETED
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- Default border color: #acc327 -->
3
- <!-- Default background color: #ecf7ed -->
4
-
5
- <promotions>
6
- <expiry_date>2019-12-10</expiry_date>
7
- <promo>
8
- <promo_id>yithblackfriday2019</promo_id>
9
- <title><![CDATA[<strong>YITH Black Friday</strong>]]></title>
10
- <description><![CDATA[
11
- Don't miss our <strong>30% discount</strong> on all our products! No coupon needed in cart. Valid from <strong>28th November</strong> to <strong>2nd December</strong>.
12
- ]]></description>
13
- <link>
14
- <label>Get your deals now!</label>
15
- <url><![CDATA[https://yithemes.com]]></url>
16
- </link>
17
- <style>
18
- <image_bg_color>#272121</image_bg_color>
19
- <border_color>#272121</border_color>
20
- <background_color>#ffffff</background_color>
21
- </style>
22
- <start_date>2019-11-27 23:59:59</start_date>
23
- <end_date>2019-12-03 08:00:00</end_date>
24
- </promo>
25
- </promotions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.7.7
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.7.7
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.8.1
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.8.1
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-09-24 08:04:51+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"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
@@ -22,13 +22,13 @@ msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
26
- #: yit-functions.php:1964 yit-functions.php:1982
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
31
- #: yit-functions.php:2108
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
@@ -36,8 +36,8 @@ msgstr ""
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
40
- #: yit-functions.php:2056
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
@@ -113,62 +113,62 @@ msgstr "Είστε σίγουρος;"
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
- #: includes/class-yit-plugin-panel.php:959
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
- #: includes/class-yit-plugin-panel.php:960
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
- #: includes/class-yit-plugin-panel.php:961
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
- #: includes/class-yit-plugin-panel.php:962
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
- #: includes/class-yit-plugin-panel.php:963
134
- #: includes/class-yit-plugin-panel.php:964
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
- #: includes/class-yit-plugin-panel.php:965
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
- #: includes/class-yit-plugin-panel.php:966
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
- #: includes/class-yit-plugin-panel.php:967
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
- #: includes/class-yit-plugin-panel.php:968
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
- #: includes/class-yit-plugin-panel.php:969
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
- #: includes/class-yit-plugin-panel.php:1437
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
- #: includes/class-yit-plugin-panel.php:1438
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
- #: includes/class-yit-plugin-panel.php:1440
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1441
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
@@ -463,7 +463,7 @@ msgstr "Προσαρμογή:"
463
  msgid "Preview:"
464
  msgstr "Προεπισκόπηση:"
465
 
466
- #: templates/fields/icons.php:63
467
  msgid "Set Default"
468
  msgstr "Ορίστε Προεπιλεγμένο"
469
 
@@ -588,58 +588,97 @@ msgstr "Έγινε αντιγραφή!"
588
  msgid "Copy Code"
589
  msgstr "Αντιγραφή Κώδικα"
590
 
591
- #: templates/sysinfo/tabs/main.php:16
592
  msgid "Site Info"
593
  msgstr "Στοιχεία Ιστότοπου"
594
 
595
- #: templates/sysinfo/tabs/main.php:21
596
  msgid "Site URL"
597
  msgstr "URL Ιστοσελίδας"
598
 
599
- #: templates/sysinfo/tabs/main.php:30
600
  msgid "Output IP Address"
601
  msgstr "Διεύθυνση IP Παραγωγής"
602
 
603
- #: templates/sysinfo/tabs/main.php:38
604
  msgid "Defined WP_CACHE"
605
  msgstr "Καθορισμένο WP_CACHE"
606
 
607
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
608
  msgid "Yes"
609
  msgstr "Ναι"
610
 
611
- #: templates/sysinfo/tabs/main.php:46
612
  msgid "External object cache"
613
  msgstr "Cache εξωτερικού αντικειμένου"
614
 
615
- #: templates/sysinfo/tabs/main.php:54
616
  msgid "YITH Plugin Framework Version"
617
  msgstr ""
618
 
619
  #. translators: %s is the name of the plugin that is loading the framework.
620
- #: templates/sysinfo/tabs/main.php:63
621
  msgid "loaded by %s"
622
  msgstr ""
623
 
624
- #: templates/sysinfo/tabs/main.php:72
625
  msgid "Plugins Requirements"
626
  msgstr "Προϋποθέσεις Πρόσθετων"
627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
  #. translators: %s is the title of the post object.
629
- #: yit-functions.php:1894
630
  msgid "Are you sure you want to move \"%s\" to trash?"
631
  msgstr ""
632
 
633
  #. translators: %s is the title of the post object.
634
- #: yit-functions.php:1896 yit-functions.php:2056
635
  msgid "Are you sure you want to delete \"%s\"?"
636
  msgstr ""
637
 
638
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
639
  msgid "Further actions"
640
  msgstr ""
641
 
642
- #: yit-plugin.php:206
643
  msgid "License"
644
  msgstr "Άδεια χρήσης προϊόντος"
645
 
@@ -668,13 +707,13 @@ msgctxt "Button text"
668
  msgid "Cancel"
669
  msgstr ""
670
 
671
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
672
  msgctxt "Trash confirmation action"
673
  msgid "Yes, move to trash"
674
  msgstr ""
675
 
676
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
677
- #: yit-functions.php:2110
678
  msgctxt "Delete confirmation action"
679
  msgid "Yes, delete"
680
  msgstr ""
@@ -880,82 +919,82 @@ msgctxt "Help tab submit ticket button"
880
  msgid "Submit a ticket"
881
  msgstr ""
882
 
883
- #: yit-functions.php:1908
884
  msgctxt "Post action"
885
  msgid "Preview"
886
  msgstr ""
887
 
888
- #: yit-functions.php:1917
889
  msgctxt "Post action"
890
  msgid "View"
891
  msgstr ""
892
 
893
- #: yit-functions.php:1928
894
  msgctxt "Post action"
895
  msgid "Edit"
896
  msgstr ""
897
 
898
- #: yit-functions.php:1936
899
  msgctxt "Post action"
900
  msgid "Duplicate"
901
  msgstr ""
902
 
903
- #: yit-functions.php:1948
904
  msgctxt "Post action"
905
  msgid "Restore"
906
  msgstr ""
907
 
908
- #: yit-functions.php:1956
909
  msgctxt "Post action"
910
  msgid "Trash"
911
  msgstr ""
912
 
913
- #: yit-functions.php:1973
914
  msgctxt "Post action"
915
  msgid "Delete Permanently"
916
  msgstr ""
917
 
918
- #: yit-functions.php:2070
919
  msgctxt "Term action"
920
  msgid "View"
921
  msgstr ""
922
 
923
- #: yit-functions.php:2080
924
  msgctxt "Term action"
925
  msgid "Edit"
926
  msgstr ""
927
 
928
- #: yit-functions.php:2088
929
  msgctxt "Term action"
930
  msgid "Duplicate"
931
  msgstr ""
932
 
933
- #: yit-functions.php:2101
934
  msgctxt "Term action"
935
  msgid "Delete"
936
  msgstr ""
937
 
938
- #: yit-plugin.php:85
939
  msgctxt "Plugin Row Meta"
940
  msgid "Live Demo"
941
  msgstr "Live Demo"
942
 
943
- #: yit-plugin.php:89
944
  msgctxt "Plugin Row Meta"
945
  msgid "Documentation"
946
  msgstr "Εγχειρίδιο χρήσης"
947
 
948
- #: yit-plugin.php:93
949
  msgctxt "Plugin Row Meta"
950
  msgid "Support"
951
  msgstr "Υποστήριξη"
952
 
953
- #: yit-plugin.php:97
954
  msgctxt "Plugin Row Meta"
955
  msgid "Premium version"
956
  msgstr "Premium έκδοση"
957
 
958
- #: yit-plugin.php:202
959
  msgctxt "Action links"
960
  msgid "Settings"
961
  msgstr "Ρυθμίσεις"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-14 12:57:54+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"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
22
  msgstr ""
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
+ #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
31
+ #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
40
+ #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
+ #: includes/class-yit-plugin-panel.php:979
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
+ #: includes/class-yit-plugin-panel.php:980
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
+ #: includes/class-yit-plugin-panel.php:981
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
+ #: includes/class-yit-plugin-panel.php:982
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
+ #: includes/class-yit-plugin-panel.php:983
134
+ #: includes/class-yit-plugin-panel.php:984
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
+ #: includes/class-yit-plugin-panel.php:985
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
+ #: includes/class-yit-plugin-panel.php:986
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
+ #: includes/class-yit-plugin-panel.php:987
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
+ #: includes/class-yit-plugin-panel.php:988
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
+ #: includes/class-yit-plugin-panel.php:989
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
+ #: includes/class-yit-plugin-panel.php:1457
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
+ #: includes/class-yit-plugin-panel.php:1458
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
+ #: includes/class-yit-plugin-panel.php:1460
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1461
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
463
  msgid "Preview:"
464
  msgstr "Προεπισκόπηση:"
465
 
466
+ #: templates/fields/icons.php:78
467
  msgid "Set Default"
468
  msgstr "Ορίστε Προεπιλεγμένο"
469
 
588
  msgid "Copy Code"
589
  msgstr "Αντιγραφή Κώδικα"
590
 
591
+ #: templates/sysinfo/tabs/main.php:17
592
  msgid "Site Info"
593
  msgstr "Στοιχεία Ιστότοπου"
594
 
595
+ #: templates/sysinfo/tabs/main.php:22
596
  msgid "Site URL"
597
  msgstr "URL Ιστοσελίδας"
598
 
599
+ #: templates/sysinfo/tabs/main.php:31
600
  msgid "Output IP Address"
601
  msgstr "Διεύθυνση IP Παραγωγής"
602
 
603
+ #: templates/sysinfo/tabs/main.php:39
604
  msgid "Defined WP_CACHE"
605
  msgstr "Καθορισμένο WP_CACHE"
606
 
607
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
608
  msgid "Yes"
609
  msgstr "Ναι"
610
 
611
+ #: templates/sysinfo/tabs/main.php:47
612
  msgid "External object cache"
613
  msgstr "Cache εξωτερικού αντικειμένου"
614
 
615
+ #: templates/sysinfo/tabs/main.php:55
616
  msgid "YITH Plugin Framework Version"
617
  msgstr ""
618
 
619
  #. translators: %s is the name of the plugin that is loading the framework.
620
+ #: templates/sysinfo/tabs/main.php:64
621
  msgid "loaded by %s"
622
  msgstr ""
623
 
624
+ #: templates/sysinfo/tabs/main.php:73
625
  msgid "Plugins Requirements"
626
  msgstr "Προϋποθέσεις Πρόσθετων"
627
 
628
+ #: templates/sysinfo/tabs/main.php:108
629
+ msgid "Database Info"
630
+ msgstr ""
631
+
632
+ #: templates/sysinfo/tabs/main.php:113
633
+ msgid "MySQL version"
634
+ msgstr ""
635
+
636
+ #. Translators: %s: Codex link.
637
+ #: templates/sysinfo/tabs/main.php:123
638
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
639
+ msgstr ""
640
+
641
+ #: templates/sysinfo/tabs/main.php:123
642
+ msgid "WordPress requirements"
643
+ msgstr ""
644
+
645
+ #: templates/sysinfo/tabs/main.php:130
646
+ msgid "Total Database Size"
647
+ msgstr ""
648
+
649
+ #: templates/sysinfo/tabs/main.php:138
650
+ msgid "Database Data Size"
651
+ msgstr ""
652
+
653
+ #: templates/sysinfo/tabs/main.php:146
654
+ msgid "Database Index Size"
655
+ msgstr ""
656
+
657
+ #: templates/sysinfo/tabs/main.php:154
658
+ msgid "Database Free Size"
659
+ msgstr ""
660
+
661
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
662
+ #. Engine.
663
+ #: templates/sysinfo/tabs/main.php:168
664
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
665
+ msgstr ""
666
+
667
  #. translators: %s is the title of the post object.
668
+ #: yit-functions.php:1911
669
  msgid "Are you sure you want to move \"%s\" to trash?"
670
  msgstr ""
671
 
672
  #. translators: %s is the title of the post object.
673
+ #: yit-functions.php:1913 yit-functions.php:2073
674
  msgid "Are you sure you want to delete \"%s\"?"
675
  msgstr ""
676
 
677
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
678
  msgid "Further actions"
679
  msgstr ""
680
 
681
+ #: yit-plugin.php:205
682
  msgid "License"
683
  msgstr "Άδεια χρήσης προϊόντος"
684
 
707
  msgid "Cancel"
708
  msgstr ""
709
 
710
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
711
  msgctxt "Trash confirmation action"
712
  msgid "Yes, move to trash"
713
  msgstr ""
714
 
715
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
716
+ #: yit-functions.php:2127
717
  msgctxt "Delete confirmation action"
718
  msgid "Yes, delete"
719
  msgstr ""
919
  msgid "Submit a ticket"
920
  msgstr ""
921
 
922
+ #: yit-functions.php:1925
923
  msgctxt "Post action"
924
  msgid "Preview"
925
  msgstr ""
926
 
927
+ #: yit-functions.php:1934
928
  msgctxt "Post action"
929
  msgid "View"
930
  msgstr ""
931
 
932
+ #: yit-functions.php:1945
933
  msgctxt "Post action"
934
  msgid "Edit"
935
  msgstr ""
936
 
937
+ #: yit-functions.php:1953
938
  msgctxt "Post action"
939
  msgid "Duplicate"
940
  msgstr ""
941
 
942
+ #: yit-functions.php:1965
943
  msgctxt "Post action"
944
  msgid "Restore"
945
  msgstr ""
946
 
947
+ #: yit-functions.php:1973
948
  msgctxt "Post action"
949
  msgid "Trash"
950
  msgstr ""
951
 
952
+ #: yit-functions.php:1990
953
  msgctxt "Post action"
954
  msgid "Delete Permanently"
955
  msgstr ""
956
 
957
+ #: yit-functions.php:2087
958
  msgctxt "Term action"
959
  msgid "View"
960
  msgstr ""
961
 
962
+ #: yit-functions.php:2097
963
  msgctxt "Term action"
964
  msgid "Edit"
965
  msgstr ""
966
 
967
+ #: yit-functions.php:2105
968
  msgctxt "Term action"
969
  msgid "Duplicate"
970
  msgstr ""
971
 
972
+ #: yit-functions.php:2118
973
  msgctxt "Term action"
974
  msgid "Delete"
975
  msgstr ""
976
 
977
+ #: yit-plugin.php:84
978
  msgctxt "Plugin Row Meta"
979
  msgid "Live Demo"
980
  msgstr "Live Demo"
981
 
982
+ #: yit-plugin.php:88
983
  msgctxt "Plugin Row Meta"
984
  msgid "Documentation"
985
  msgstr "Εγχειρίδιο χρήσης"
986
 
987
+ #: yit-plugin.php:92
988
  msgctxt "Plugin Row Meta"
989
  msgid "Support"
990
  msgstr "Υποστήριξη"
991
 
992
+ #: yit-plugin.php:96
993
  msgctxt "Plugin Row Meta"
994
  msgid "Premium version"
995
  msgstr "Premium έκδοση"
996
 
997
+ #: yit-plugin.php:201
998
  msgctxt "Action links"
999
  msgid "Settings"
1000
  msgstr "Ρυθμίσεις"
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-09-24 08:04:51+00:00\n"
8
- "PO-Revision-Date: 2021-07-26 10:52:41+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
@@ -23,13 +23,13 @@ msgstr ""
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
26
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
27
- #: yit-functions.php:1964 yit-functions.php:1982
28
  msgid "No"
29
  msgstr "No"
30
 
31
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
32
- #: yit-functions.php:2108
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
@@ -37,8 +37,8 @@ msgstr "Confirmar el borrado"
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
41
- #: yit-functions.php:2056
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
@@ -114,63 +114,63 @@ msgstr "¿Estás seguro?"
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
- #: includes/class-yit-plugin-panel.php:959
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
- #: includes/class-yit-plugin-panel.php:960
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
- #: includes/class-yit-plugin-panel.php:961
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
- #: includes/class-yit-plugin-panel.php:962
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
- #: includes/class-yit-plugin-panel.php:963
136
- #: includes/class-yit-plugin-panel.php:964
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
- #: includes/class-yit-plugin-panel.php:965
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
- #: includes/class-yit-plugin-panel.php:966
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
- #: includes/class-yit-plugin-panel.php:967
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
- #: includes/class-yit-plugin-panel.php:968
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
- #: includes/class-yit-plugin-panel.php:969
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
- #: includes/class-yit-plugin-panel.php:1437
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
- #: includes/class-yit-plugin-panel.php:1438
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1440
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
- #: includes/class-yit-plugin-panel.php:1441
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
@@ -472,7 +472,7 @@ msgstr "Personalizado:"
472
  msgid "Preview:"
473
  msgstr "Vista previa:"
474
 
475
- #: templates/fields/icons.php:63
476
  msgid "Set Default"
477
  msgstr "Establecer predeterminado"
478
 
@@ -596,58 +596,97 @@ msgstr "¡Copiado!"
596
  msgid "Copy Code"
597
  msgstr "Copiar código"
598
 
599
- #: templates/sysinfo/tabs/main.php:16
600
  msgid "Site Info"
601
  msgstr "Información del sitio"
602
 
603
- #: templates/sysinfo/tabs/main.php:21
604
  msgid "Site URL"
605
  msgstr "URL del sitio"
606
 
607
- #: templates/sysinfo/tabs/main.php:30
608
  msgid "Output IP Address"
609
  msgstr "Dirección IP de salida"
610
 
611
- #: templates/sysinfo/tabs/main.php:38
612
  msgid "Defined WP_CACHE"
613
  msgstr "WP_CACHE definido"
614
 
615
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
616
  msgid "Yes"
617
  msgstr "Sí"
618
 
619
- #: templates/sysinfo/tabs/main.php:46
620
  msgid "External object cache"
621
  msgstr "Caché objeto externo"
622
 
623
- #: templates/sysinfo/tabs/main.php:54
624
  msgid "YITH Plugin Framework Version"
625
- msgstr ""
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
- #: templates/sysinfo/tabs/main.php:63
629
  msgid "loaded by %s"
630
- msgstr ""
631
 
632
- #: templates/sysinfo/tabs/main.php:72
633
  msgid "Plugins Requirements"
634
  msgstr "Requerimientos de los plugins"
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  #. translators: %s is the title of the post object.
637
- #: yit-functions.php:1894
638
  msgid "Are you sure you want to move \"%s\" to trash?"
639
  msgstr "¿Estás seguro de que quieres mover \"%s\" a la papelera?"
640
 
641
  #. translators: %s is the title of the post object.
642
- #: yit-functions.php:1896 yit-functions.php:2056
643
  msgid "Are you sure you want to delete \"%s\"?"
644
  msgstr "¿Estás seguro de que quieres borrar \"%s\"?"
645
 
646
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
647
  msgid "Further actions"
648
  msgstr "Otras acciones"
649
 
650
- #: yit-plugin.php:206
651
  msgid "License"
652
  msgstr "Licencia"
653
 
@@ -676,13 +715,13 @@ msgctxt "Button text"
676
  msgid "Cancel"
677
  msgstr "Cancelar"
678
 
679
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
680
  msgctxt "Trash confirmation action"
681
  msgid "Yes, move to trash"
682
  msgstr "Sí, mover a la papelera"
683
 
684
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
685
- #: yit-functions.php:2110
686
  msgctxt "Delete confirmation action"
687
  msgid "Yes, delete"
688
  msgstr "Si, borrar"
@@ -892,82 +931,82 @@ msgctxt "Help tab submit ticket button"
892
  msgid "Submit a ticket"
893
  msgstr "Enviar ticket"
894
 
895
- #: yit-functions.php:1908
896
  msgctxt "Post action"
897
  msgid "Preview"
898
  msgstr "Previsualizar"
899
 
900
- #: yit-functions.php:1917
901
  msgctxt "Post action"
902
  msgid "View"
903
  msgstr "Ver"
904
 
905
- #: yit-functions.php:1928
906
  msgctxt "Post action"
907
  msgid "Edit"
908
  msgstr "Editar"
909
 
910
- #: yit-functions.php:1936
911
  msgctxt "Post action"
912
  msgid "Duplicate"
913
  msgstr "Duplicar"
914
 
915
- #: yit-functions.php:1948
916
  msgctxt "Post action"
917
  msgid "Restore"
918
  msgstr "Restaurar"
919
 
920
- #: yit-functions.php:1956
921
  msgctxt "Post action"
922
  msgid "Trash"
923
  msgstr "A la papelera"
924
 
925
- #: yit-functions.php:1973
926
  msgctxt "Post action"
927
  msgid "Delete Permanently"
928
  msgstr "Borrar permanentemente"
929
 
930
- #: yit-functions.php:2070
931
  msgctxt "Term action"
932
  msgid "View"
933
  msgstr "Ver"
934
 
935
- #: yit-functions.php:2080
936
  msgctxt "Term action"
937
  msgid "Edit"
938
  msgstr "Editar"
939
 
940
- #: yit-functions.php:2088
941
  msgctxt "Term action"
942
  msgid "Duplicate"
943
  msgstr "Duplicar"
944
 
945
- #: yit-functions.php:2101
946
  msgctxt "Term action"
947
  msgid "Delete"
948
  msgstr "Borrar"
949
 
950
- #: yit-plugin.php:85
951
  msgctxt "Plugin Row Meta"
952
  msgid "Live Demo"
953
  msgstr "Demostración en vivo"
954
 
955
- #: yit-plugin.php:89
956
  msgctxt "Plugin Row Meta"
957
  msgid "Documentation"
958
  msgstr "Documentación"
959
 
960
- #: yit-plugin.php:93
961
  msgctxt "Plugin Row Meta"
962
  msgid "Support"
963
  msgstr "Soporte"
964
 
965
- #: yit-plugin.php:97
966
  msgctxt "Plugin Row Meta"
967
  msgid "Premium version"
968
  msgstr "Versión premium"
969
 
970
- #: yit-plugin.php:202
971
  msgctxt "Action links"
972
  msgid "Settings"
973
  msgstr "Ajustes"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-14 12:57:54+00:00\n"
8
+ "PO-Revision-Date: 2021-09-28 13:56:41+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
26
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
+ #: yit-functions.php:1981 yit-functions.php:1999
28
  msgid "No"
29
  msgstr "No"
30
 
31
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
32
+ #: yit-functions.php:2125
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
41
+ #: yit-functions.php:2073
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
+ #: includes/class-yit-plugin-panel.php:979
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
+ #: includes/class-yit-plugin-panel.php:980
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
+ #: includes/class-yit-plugin-panel.php:981
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
+ #: includes/class-yit-plugin-panel.php:982
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
+ #: includes/class-yit-plugin-panel.php:983
136
+ #: includes/class-yit-plugin-panel.php:984
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
+ #: includes/class-yit-plugin-panel.php:985
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
+ #: includes/class-yit-plugin-panel.php:986
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
+ #: includes/class-yit-plugin-panel.php:987
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
+ #: includes/class-yit-plugin-panel.php:988
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
+ #: includes/class-yit-plugin-panel.php:989
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
+ #: includes/class-yit-plugin-panel.php:1457
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1458
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1460
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1461
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
472
  msgid "Preview:"
473
  msgstr "Vista previa:"
474
 
475
+ #: templates/fields/icons.php:78
476
  msgid "Set Default"
477
  msgstr "Establecer predeterminado"
478
 
596
  msgid "Copy Code"
597
  msgstr "Copiar código"
598
 
599
+ #: templates/sysinfo/tabs/main.php:17
600
  msgid "Site Info"
601
  msgstr "Información del sitio"
602
 
603
+ #: templates/sysinfo/tabs/main.php:22
604
  msgid "Site URL"
605
  msgstr "URL del sitio"
606
 
607
+ #: templates/sysinfo/tabs/main.php:31
608
  msgid "Output IP Address"
609
  msgstr "Dirección IP de salida"
610
 
611
+ #: templates/sysinfo/tabs/main.php:39
612
  msgid "Defined WP_CACHE"
613
  msgstr "WP_CACHE definido"
614
 
615
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
616
  msgid "Yes"
617
  msgstr "Sí"
618
 
619
+ #: templates/sysinfo/tabs/main.php:47
620
  msgid "External object cache"
621
  msgstr "Caché objeto externo"
622
 
623
+ #: templates/sysinfo/tabs/main.php:55
624
  msgid "YITH Plugin Framework Version"
625
+ msgstr "Versión del YITH Plugin Framework "
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
+ #: templates/sysinfo/tabs/main.php:64
629
  msgid "loaded by %s"
630
+ msgstr "cargado por %s"
631
 
632
+ #: templates/sysinfo/tabs/main.php:73
633
  msgid "Plugins Requirements"
634
  msgstr "Requerimientos de los plugins"
635
 
636
+ #: templates/sysinfo/tabs/main.php:108
637
+ msgid "Database Info"
638
+ msgstr "Información de la base de datos"
639
+
640
+ #: templates/sysinfo/tabs/main.php:113
641
+ msgid "MySQL version"
642
+ msgstr "Versión de MySQL"
643
+
644
+ #. Translators: %s: Codex link.
645
+ #: templates/sysinfo/tabs/main.php:123
646
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
647
+ msgstr "WordPress recomienda como versión mínima para MySQL la 5.6. Ver: %s"
648
+
649
+ #: templates/sysinfo/tabs/main.php:123
650
+ msgid "WordPress requirements"
651
+ msgstr "Requerimientos de WordPress"
652
+
653
+ #: templates/sysinfo/tabs/main.php:130
654
+ msgid "Total Database Size"
655
+ msgstr "Tamaño total de la base de datos:"
656
+
657
+ #: templates/sysinfo/tabs/main.php:138
658
+ msgid "Database Data Size"
659
+ msgstr "Tamaño de los datos en la base de datos:"
660
+
661
+ #: templates/sysinfo/tabs/main.php:146
662
+ msgid "Database Index Size"
663
+ msgstr "Tamaño del índice en la base de datos:"
664
+
665
+ #: templates/sysinfo/tabs/main.php:154
666
+ msgid "Database Free Size"
667
+ msgstr "Espacio libre en la base de datos:"
668
+
669
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
670
+ #. Engine.
671
+ #: templates/sysinfo/tabs/main.php:168
672
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
+ msgstr "Datos: %1$.2fMB | Índice: %2$.2fMB | Libre: %3$.2fMB | Motor: %4$s"
674
+
675
  #. translators: %s is the title of the post object.
676
+ #: yit-functions.php:1911
677
  msgid "Are you sure you want to move \"%s\" to trash?"
678
  msgstr "¿Estás seguro de que quieres mover \"%s\" a la papelera?"
679
 
680
  #. translators: %s is the title of the post object.
681
+ #: yit-functions.php:1913 yit-functions.php:2073
682
  msgid "Are you sure you want to delete \"%s\"?"
683
  msgstr "¿Estás seguro de que quieres borrar \"%s\"?"
684
 
685
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
686
  msgid "Further actions"
687
  msgstr "Otras acciones"
688
 
689
+ #: yit-plugin.php:205
690
  msgid "License"
691
  msgstr "Licencia"
692
 
715
  msgid "Cancel"
716
  msgstr "Cancelar"
717
 
718
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sí, mover a la papelera"
722
 
723
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
+ #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Si, borrar"
931
  msgid "Submit a ticket"
932
  msgstr "Enviar ticket"
933
 
934
+ #: yit-functions.php:1925
935
  msgctxt "Post action"
936
  msgid "Preview"
937
  msgstr "Previsualizar"
938
 
939
+ #: yit-functions.php:1934
940
  msgctxt "Post action"
941
  msgid "View"
942
  msgstr "Ver"
943
 
944
+ #: yit-functions.php:1945
945
  msgctxt "Post action"
946
  msgid "Edit"
947
  msgstr "Editar"
948
 
949
+ #: yit-functions.php:1953
950
  msgctxt "Post action"
951
  msgid "Duplicate"
952
  msgstr "Duplicar"
953
 
954
+ #: yit-functions.php:1965
955
  msgctxt "Post action"
956
  msgid "Restore"
957
  msgstr "Restaurar"
958
 
959
+ #: yit-functions.php:1973
960
  msgctxt "Post action"
961
  msgid "Trash"
962
  msgstr "A la papelera"
963
 
964
+ #: yit-functions.php:1990
965
  msgctxt "Post action"
966
  msgid "Delete Permanently"
967
  msgstr "Borrar permanentemente"
968
 
969
+ #: yit-functions.php:2087
970
  msgctxt "Term action"
971
  msgid "View"
972
  msgstr "Ver"
973
 
974
+ #: yit-functions.php:2097
975
  msgctxt "Term action"
976
  msgid "Edit"
977
  msgstr "Editar"
978
 
979
+ #: yit-functions.php:2105
980
  msgctxt "Term action"
981
  msgid "Duplicate"
982
  msgstr "Duplicar"
983
 
984
+ #: yit-functions.php:2118
985
  msgctxt "Term action"
986
  msgid "Delete"
987
  msgstr "Borrar"
988
 
989
+ #: yit-plugin.php:84
990
  msgctxt "Plugin Row Meta"
991
  msgid "Live Demo"
992
  msgstr "Demostración en vivo"
993
 
994
+ #: yit-plugin.php:88
995
  msgctxt "Plugin Row Meta"
996
  msgid "Documentation"
997
  msgstr "Documentación"
998
 
999
+ #: yit-plugin.php:92
1000
  msgctxt "Plugin Row Meta"
1001
  msgid "Support"
1002
  msgstr "Soporte"
1003
 
1004
+ #: yit-plugin.php:96
1005
  msgctxt "Plugin Row Meta"
1006
  msgid "Premium version"
1007
  msgstr "Versión premium"
1008
 
1009
+ #: yit-plugin.php:201
1010
  msgctxt "Action links"
1011
  msgid "Settings"
1012
  msgstr "Ajustes"
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-09-24 08:04:51+00:00\n"
8
- "PO-Revision-Date: 2021-09-09 16:03:50+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
@@ -22,13 +22,13 @@ msgid "Are you sure you want to trash the selected items?"
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
26
- #: yit-functions.php:1964 yit-functions.php:1982
27
  msgid "No"
28
  msgstr "No"
29
 
30
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
31
- #: yit-functions.php:2108
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
@@ -36,8 +36,8 @@ msgstr "Conferma eliminazione"
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
40
- #: yit-functions.php:2056
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
@@ -114,61 +114,61 @@ msgstr "Sei sicuro?"
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
- #: includes/class-yit-plugin-panel.php:959
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
- #: includes/class-yit-plugin-panel.php:960
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
- #: includes/class-yit-plugin-panel.php:961
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
- #: includes/class-yit-plugin-panel.php:962
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
- #: includes/class-yit-plugin-panel.php:963
135
- #: includes/class-yit-plugin-panel.php:964
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
- #: includes/class-yit-plugin-panel.php:965
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
- #: includes/class-yit-plugin-panel.php:966
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
- #: includes/class-yit-plugin-panel.php:967
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
- #: includes/class-yit-plugin-panel.php:968
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
- #: includes/class-yit-plugin-panel.php:969
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
- #: includes/class-yit-plugin-panel.php:1437
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
- #: includes/class-yit-plugin-panel.php:1438
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
- #: includes/class-yit-plugin-panel.php:1440
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
- #: includes/class-yit-plugin-panel.php:1441
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
@@ -470,7 +470,7 @@ msgstr "Personalizzato:"
470
  msgid "Preview:"
471
  msgstr "Anteprima:"
472
 
473
- #: templates/fields/icons.php:63
474
  msgid "Set Default"
475
  msgstr "Ripristina impostazioni iniziali"
476
 
@@ -596,58 +596,97 @@ msgstr "Copiato!"
596
  msgid "Copy Code"
597
  msgstr "Copia codice"
598
 
599
- #: templates/sysinfo/tabs/main.php:16
600
  msgid "Site Info"
601
  msgstr "Info sito"
602
 
603
- #: templates/sysinfo/tabs/main.php:21
604
  msgid "Site URL"
605
  msgstr "URL del sito"
606
 
607
- #: templates/sysinfo/tabs/main.php:30
608
  msgid "Output IP Address"
609
  msgstr "Indirizzo IP di output"
610
 
611
- #: templates/sysinfo/tabs/main.php:38
612
  msgid "Defined WP_CACHE"
613
  msgstr "Defined WP_CACHE"
614
 
615
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
616
  msgid "Yes"
617
  msgstr "Sì"
618
 
619
- #: templates/sysinfo/tabs/main.php:46
620
  msgid "External object cache"
621
  msgstr "External object cache"
622
 
623
- #: templates/sysinfo/tabs/main.php:54
624
  msgid "YITH Plugin Framework Version"
625
- msgstr ""
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
- #: templates/sysinfo/tabs/main.php:63
629
  msgid "loaded by %s"
630
- msgstr ""
631
 
632
- #: templates/sysinfo/tabs/main.php:72
633
  msgid "Plugins Requirements"
634
  msgstr "Requisiti plugin"
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  #. translators: %s is the title of the post object.
637
- #: yit-functions.php:1894
638
  msgid "Are you sure you want to move \"%s\" to trash?"
639
  msgstr "Sei sicuro di voler spostare \"%s\" nel cestino?"
640
 
641
  #. translators: %s is the title of the post object.
642
- #: yit-functions.php:1896 yit-functions.php:2056
643
  msgid "Are you sure you want to delete \"%s\"?"
644
  msgstr "Sei sicuro di voler eliminare \"%s\"?"
645
 
646
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
647
  msgid "Further actions"
648
  msgstr "Altre azioni"
649
 
650
- #: yit-plugin.php:206
651
  msgid "License"
652
  msgstr "Chiave di licenza"
653
 
@@ -676,13 +715,13 @@ msgctxt "Button text"
676
  msgid "Cancel"
677
  msgstr "Annulla"
678
 
679
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
680
  msgctxt "Trash confirmation action"
681
  msgid "Yes, move to trash"
682
  msgstr "Sì, sposta nel cestino"
683
 
684
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
685
- #: yit-functions.php:2110
686
  msgctxt "Delete confirmation action"
687
  msgid "Yes, delete"
688
  msgstr "Sì, elimina"
@@ -894,82 +933,82 @@ msgctxt "Help tab submit ticket button"
894
  msgid "Submit a ticket"
895
  msgstr "Invia un ticket"
896
 
897
- #: yit-functions.php:1908
898
  msgctxt "Post action"
899
  msgid "Preview"
900
  msgstr "Anteprima"
901
 
902
- #: yit-functions.php:1917
903
  msgctxt "Post action"
904
  msgid "View"
905
  msgstr "Visualizza"
906
 
907
- #: yit-functions.php:1928
908
  msgctxt "Post action"
909
  msgid "Edit"
910
  msgstr "Modifica"
911
 
912
- #: yit-functions.php:1936
913
  msgctxt "Post action"
914
  msgid "Duplicate"
915
  msgstr "Duplica"
916
 
917
- #: yit-functions.php:1948
918
  msgctxt "Post action"
919
  msgid "Restore"
920
  msgstr "Ripristina"
921
 
922
- #: yit-functions.php:1956
923
  msgctxt "Post action"
924
  msgid "Trash"
925
  msgstr "Cestina"
926
 
927
- #: yit-functions.php:1973
928
  msgctxt "Post action"
929
  msgid "Delete Permanently"
930
  msgstr "Cancella definitivamente"
931
 
932
- #: yit-functions.php:2070
933
  msgctxt "Term action"
934
  msgid "View"
935
  msgstr "Visualizza"
936
 
937
- #: yit-functions.php:2080
938
  msgctxt "Term action"
939
  msgid "Edit"
940
  msgstr "Modifica"
941
 
942
- #: yit-functions.php:2088
943
  msgctxt "Term action"
944
  msgid "Duplicate"
945
  msgstr "Duplica"
946
 
947
- #: yit-functions.php:2101
948
  msgctxt "Term action"
949
  msgid "Delete"
950
  msgstr "Elimina"
951
 
952
- #: yit-plugin.php:85
953
  msgctxt "Plugin Row Meta"
954
  msgid "Live Demo"
955
  msgstr "Live Demo"
956
 
957
- #: yit-plugin.php:89
958
  msgctxt "Plugin Row Meta"
959
  msgid "Documentation"
960
  msgstr "Documentazione"
961
 
962
- #: yit-plugin.php:93
963
  msgctxt "Plugin Row Meta"
964
  msgid "Support"
965
  msgstr "Assistenza"
966
 
967
- #: yit-plugin.php:97
968
  msgctxt "Plugin Row Meta"
969
  msgid "Premium version"
970
  msgstr "Versione premium"
971
 
972
- #: yit-plugin.php:202
973
  msgctxt "Action links"
974
  msgid "Settings"
975
  msgstr "Impostazioni"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-14 12:57:54+00:00\n"
8
+ "PO-Revision-Date: 2021-09-28 14:05:29+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
+ #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "No"
29
 
30
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
31
+ #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
40
+ #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
+ #: includes/class-yit-plugin-panel.php:979
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
+ #: includes/class-yit-plugin-panel.php:980
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
+ #: includes/class-yit-plugin-panel.php:981
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
+ #: includes/class-yit-plugin-panel.php:982
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
+ #: includes/class-yit-plugin-panel.php:983
135
+ #: includes/class-yit-plugin-panel.php:984
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
+ #: includes/class-yit-plugin-panel.php:985
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
+ #: includes/class-yit-plugin-panel.php:986
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
+ #: includes/class-yit-plugin-panel.php:987
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
+ #: includes/class-yit-plugin-panel.php:988
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
+ #: includes/class-yit-plugin-panel.php:989
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
+ #: includes/class-yit-plugin-panel.php:1457
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
+ #: includes/class-yit-plugin-panel.php:1458
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
+ #: includes/class-yit-plugin-panel.php:1460
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
+ #: includes/class-yit-plugin-panel.php:1461
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
470
  msgid "Preview:"
471
  msgstr "Anteprima:"
472
 
473
+ #: templates/fields/icons.php:78
474
  msgid "Set Default"
475
  msgstr "Ripristina impostazioni iniziali"
476
 
596
  msgid "Copy Code"
597
  msgstr "Copia codice"
598
 
599
+ #: templates/sysinfo/tabs/main.php:17
600
  msgid "Site Info"
601
  msgstr "Info sito"
602
 
603
+ #: templates/sysinfo/tabs/main.php:22
604
  msgid "Site URL"
605
  msgstr "URL del sito"
606
 
607
+ #: templates/sysinfo/tabs/main.php:31
608
  msgid "Output IP Address"
609
  msgstr "Indirizzo IP di output"
610
 
611
+ #: templates/sysinfo/tabs/main.php:39
612
  msgid "Defined WP_CACHE"
613
  msgstr "Defined WP_CACHE"
614
 
615
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
616
  msgid "Yes"
617
  msgstr "Sì"
618
 
619
+ #: templates/sysinfo/tabs/main.php:47
620
  msgid "External object cache"
621
  msgstr "External object cache"
622
 
623
+ #: templates/sysinfo/tabs/main.php:55
624
  msgid "YITH Plugin Framework Version"
625
+ msgstr "YITH Plugin Framework Version"
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
+ #: templates/sysinfo/tabs/main.php:64
629
  msgid "loaded by %s"
630
+ msgstr "caricato da %s"
631
 
632
+ #: templates/sysinfo/tabs/main.php:73
633
  msgid "Plugins Requirements"
634
  msgstr "Requisiti plugin"
635
 
636
+ #: templates/sysinfo/tabs/main.php:108
637
+ msgid "Database Info"
638
+ msgstr "Info database"
639
+
640
+ #: templates/sysinfo/tabs/main.php:113
641
+ msgid "MySQL version"
642
+ msgstr "Versione MySQL"
643
+
644
+ #. Translators: %s: Codex link.
645
+ #: templates/sysinfo/tabs/main.php:123
646
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
647
+ msgstr "WordPress consiglia una versione minima 5.6 di MySQL. Vedi: %s"
648
+
649
+ #: templates/sysinfo/tabs/main.php:123
650
+ msgid "WordPress requirements"
651
+ msgstr "Requisiti WordPress"
652
+
653
+ #: templates/sysinfo/tabs/main.php:130
654
+ msgid "Total Database Size"
655
+ msgstr "Dimensione totale database"
656
+
657
+ #: templates/sysinfo/tabs/main.php:138
658
+ msgid "Database Data Size"
659
+ msgstr "Dimensione dati database"
660
+
661
+ #: templates/sysinfo/tabs/main.php:146
662
+ msgid "Database Index Size"
663
+ msgstr "Dimensione indice database"
664
+
665
+ #: templates/sysinfo/tabs/main.php:154
666
+ msgid "Database Free Size"
667
+ msgstr "Dimensione spazio libero database"
668
+
669
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
670
+ #. Engine.
671
+ #: templates/sysinfo/tabs/main.php:168
672
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
+ msgstr "Dati: %1$.2fMB | Indice: %2$.2fMB | Libero: %3$.2fMB | Motore: %4$s"
674
+
675
  #. translators: %s is the title of the post object.
676
+ #: yit-functions.php:1911
677
  msgid "Are you sure you want to move \"%s\" to trash?"
678
  msgstr "Sei sicuro di voler spostare \"%s\" nel cestino?"
679
 
680
  #. translators: %s is the title of the post object.
681
+ #: yit-functions.php:1913 yit-functions.php:2073
682
  msgid "Are you sure you want to delete \"%s\"?"
683
  msgstr "Sei sicuro di voler eliminare \"%s\"?"
684
 
685
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
686
  msgid "Further actions"
687
  msgstr "Altre azioni"
688
 
689
+ #: yit-plugin.php:205
690
  msgid "License"
691
  msgstr "Chiave di licenza"
692
 
715
  msgid "Cancel"
716
  msgstr "Annulla"
717
 
718
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sì, sposta nel cestino"
722
 
723
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
+ #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Sì, elimina"
933
  msgid "Submit a ticket"
934
  msgstr "Invia un ticket"
935
 
936
+ #: yit-functions.php:1925
937
  msgctxt "Post action"
938
  msgid "Preview"
939
  msgstr "Anteprima"
940
 
941
+ #: yit-functions.php:1934
942
  msgctxt "Post action"
943
  msgid "View"
944
  msgstr "Visualizza"
945
 
946
+ #: yit-functions.php:1945
947
  msgctxt "Post action"
948
  msgid "Edit"
949
  msgstr "Modifica"
950
 
951
+ #: yit-functions.php:1953
952
  msgctxt "Post action"
953
  msgid "Duplicate"
954
  msgstr "Duplica"
955
 
956
+ #: yit-functions.php:1965
957
  msgctxt "Post action"
958
  msgid "Restore"
959
  msgstr "Ripristina"
960
 
961
+ #: yit-functions.php:1973
962
  msgctxt "Post action"
963
  msgid "Trash"
964
  msgstr "Cestina"
965
 
966
+ #: yit-functions.php:1990
967
  msgctxt "Post action"
968
  msgid "Delete Permanently"
969
  msgstr "Cancella definitivamente"
970
 
971
+ #: yit-functions.php:2087
972
  msgctxt "Term action"
973
  msgid "View"
974
  msgstr "Visualizza"
975
 
976
+ #: yit-functions.php:2097
977
  msgctxt "Term action"
978
  msgid "Edit"
979
  msgstr "Modifica"
980
 
981
+ #: yit-functions.php:2105
982
  msgctxt "Term action"
983
  msgid "Duplicate"
984
  msgstr "Duplica"
985
 
986
+ #: yit-functions.php:2118
987
  msgctxt "Term action"
988
  msgid "Delete"
989
  msgstr "Elimina"
990
 
991
+ #: yit-plugin.php:84
992
  msgctxt "Plugin Row Meta"
993
  msgid "Live Demo"
994
  msgstr "Live Demo"
995
 
996
+ #: yit-plugin.php:88
997
  msgctxt "Plugin Row Meta"
998
  msgid "Documentation"
999
  msgstr "Documentazione"
1000
 
1001
+ #: yit-plugin.php:92
1002
  msgctxt "Plugin Row Meta"
1003
  msgid "Support"
1004
  msgstr "Assistenza"
1005
 
1006
+ #: yit-plugin.php:96
1007
  msgctxt "Plugin Row Meta"
1008
  msgid "Premium version"
1009
  msgstr "Versione premium"
1010
 
1011
+ #: yit-plugin.php:201
1012
  msgctxt "Action links"
1013
  msgid "Settings"
1014
  msgstr "Impostazioni"
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-09-24 08:04:51+00:00\n"
8
- "PO-Revision-Date: 2021-07-13 10:29:10+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
@@ -24,13 +24,13 @@ msgstr ""
24
  "verplaatsen?"
25
 
26
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
27
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
28
- #: yit-functions.php:1964 yit-functions.php:1982
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
33
- #: yit-functions.php:2108
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
@@ -38,8 +38,8 @@ msgstr "Verwijderen bevestigen"
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
42
- #: yit-functions.php:2056
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
45
  msgstr ""
@@ -116,61 +116,61 @@ msgstr "Weet je het zeker?"
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
- #: includes/class-yit-plugin-panel.php:959
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
- #: includes/class-yit-plugin-panel.php:960
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
- #: includes/class-yit-plugin-panel.php:961
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
- #: includes/class-yit-plugin-panel.php:962
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
- #: includes/class-yit-plugin-panel.php:963
137
- #: includes/class-yit-plugin-panel.php:964
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
- #: includes/class-yit-plugin-panel.php:965
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
- #: includes/class-yit-plugin-panel.php:966
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
- #: includes/class-yit-plugin-panel.php:967
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
- #: includes/class-yit-plugin-panel.php:968
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
- #: includes/class-yit-plugin-panel.php:969
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
- #: includes/class-yit-plugin-panel.php:1437
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
- #: includes/class-yit-plugin-panel.php:1438
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1440
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
- #: includes/class-yit-plugin-panel.php:1441
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
@@ -471,7 +471,7 @@ msgstr "Aangepast:"
471
  msgid "Preview:"
472
  msgstr "Voorbeeld:"
473
 
474
- #: templates/fields/icons.php:63
475
  msgid "Set Default"
476
  msgstr "Op standaard instellen"
477
 
@@ -596,58 +596,97 @@ msgstr "Gekopieerd!"
596
  msgid "Copy Code"
597
  msgstr "Code kopiëren"
598
 
599
- #: templates/sysinfo/tabs/main.php:16
600
  msgid "Site Info"
601
  msgstr "Site informatie"
602
 
603
- #: templates/sysinfo/tabs/main.php:21
604
  msgid "Site URL"
605
  msgstr "Site URL"
606
 
607
- #: templates/sysinfo/tabs/main.php:30
608
  msgid "Output IP Address"
609
  msgstr "Output IP Adres"
610
 
611
- #: templates/sysinfo/tabs/main.php:38
612
  msgid "Defined WP_CACHE"
613
  msgstr "Gedefinieerde WP_CACHE"
614
 
615
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
616
  msgid "Yes"
617
  msgstr "Ja"
618
 
619
- #: templates/sysinfo/tabs/main.php:46
620
  msgid "External object cache"
621
  msgstr "Externe object cache"
622
 
623
- #: templates/sysinfo/tabs/main.php:54
624
  msgid "YITH Plugin Framework Version"
625
- msgstr ""
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
- #: templates/sysinfo/tabs/main.php:63
629
  msgid "loaded by %s"
630
- msgstr ""
631
 
632
- #: templates/sysinfo/tabs/main.php:72
633
  msgid "Plugins Requirements"
634
  msgstr "Plugin benodigdheden"
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  #. translators: %s is the title of the post object.
637
- #: yit-functions.php:1894
638
  msgid "Are you sure you want to move \"%s\" to trash?"
639
  msgstr "Weet je zeker dat je \"%s\" naar de prullenbak wilt verplaatsen?"
640
 
641
  #. translators: %s is the title of the post object.
642
- #: yit-functions.php:1896 yit-functions.php:2056
643
  msgid "Are you sure you want to delete \"%s\"?"
644
  msgstr "Weet je zeker dat je \"%s\" wilt verwijderen?"
645
 
646
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
647
  msgid "Further actions"
648
  msgstr "Verdere acties"
649
 
650
- #: yit-plugin.php:206
651
  msgid "License"
652
  msgstr "Licentie"
653
 
@@ -676,13 +715,13 @@ msgctxt "Button text"
676
  msgid "Cancel"
677
  msgstr "Annuleren"
678
 
679
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
680
  msgctxt "Trash confirmation action"
681
  msgid "Yes, move to trash"
682
  msgstr "Ja, verplaatsen naar prullenbak"
683
 
684
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
685
- #: yit-functions.php:2110
686
  msgctxt "Delete confirmation action"
687
  msgid "Yes, delete"
688
  msgstr "Ja, verwijderen"
@@ -893,82 +932,82 @@ msgctxt "Help tab submit ticket button"
893
  msgid "Submit a ticket"
894
  msgstr "Verstuur een ticket"
895
 
896
- #: yit-functions.php:1908
897
  msgctxt "Post action"
898
  msgid "Preview"
899
  msgstr "Voorbeeld"
900
 
901
- #: yit-functions.php:1917
902
  msgctxt "Post action"
903
  msgid "View"
904
  msgstr "Bekijken"
905
 
906
- #: yit-functions.php:1928
907
  msgctxt "Post action"
908
  msgid "Edit"
909
  msgstr "Bewerken"
910
 
911
- #: yit-functions.php:1936
912
  msgctxt "Post action"
913
  msgid "Duplicate"
914
  msgstr "Dupliceren"
915
 
916
- #: yit-functions.php:1948
917
  msgctxt "Post action"
918
  msgid "Restore"
919
  msgstr "Herstellen"
920
 
921
- #: yit-functions.php:1956
922
  msgctxt "Post action"
923
  msgid "Trash"
924
  msgstr "Prullenbak"
925
 
926
- #: yit-functions.php:1973
927
  msgctxt "Post action"
928
  msgid "Delete Permanently"
929
  msgstr "Permanent verijwderen"
930
 
931
- #: yit-functions.php:2070
932
  msgctxt "Term action"
933
  msgid "View"
934
  msgstr "Bekijken"
935
 
936
- #: yit-functions.php:2080
937
  msgctxt "Term action"
938
  msgid "Edit"
939
  msgstr "Bewerken"
940
 
941
- #: yit-functions.php:2088
942
  msgctxt "Term action"
943
  msgid "Duplicate"
944
  msgstr "Dupliceren"
945
 
946
- #: yit-functions.php:2101
947
  msgctxt "Term action"
948
  msgid "Delete"
949
  msgstr "Verwijderen"
950
 
951
- #: yit-plugin.php:85
952
  msgctxt "Plugin Row Meta"
953
  msgid "Live Demo"
954
  msgstr "Live Demo"
955
 
956
- #: yit-plugin.php:89
957
  msgctxt "Plugin Row Meta"
958
  msgid "Documentation"
959
  msgstr "Documentatie"
960
 
961
- #: yit-plugin.php:93
962
  msgctxt "Plugin Row Meta"
963
  msgid "Support"
964
  msgstr "Ondersteuning"
965
 
966
- #: yit-plugin.php:97
967
  msgctxt "Plugin Row Meta"
968
  msgid "Premium version"
969
  msgstr "Premium versie"
970
 
971
- #: yit-plugin.php:202
972
  msgctxt "Action links"
973
  msgid "Settings"
974
  msgstr "Instellingen"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-14 12:57:54+00:00\n"
8
+ "PO-Revision-Date: 2021-09-29 11:02:22+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
24
  "verplaatsen?"
25
 
26
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
27
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
28
+ #: yit-functions.php:1981 yit-functions.php:1999
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
33
+ #: yit-functions.php:2125
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
42
+ #: yit-functions.php:2073
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
45
  msgstr ""
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
+ #: includes/class-yit-plugin-panel.php:979
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
+ #: includes/class-yit-plugin-panel.php:980
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
+ #: includes/class-yit-plugin-panel.php:981
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
+ #: includes/class-yit-plugin-panel.php:982
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
+ #: includes/class-yit-plugin-panel.php:983
137
+ #: includes/class-yit-plugin-panel.php:984
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
+ #: includes/class-yit-plugin-panel.php:985
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
+ #: includes/class-yit-plugin-panel.php:986
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
+ #: includes/class-yit-plugin-panel.php:987
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
+ #: includes/class-yit-plugin-panel.php:988
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
+ #: includes/class-yit-plugin-panel.php:989
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
+ #: includes/class-yit-plugin-panel.php:1457
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1458
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1460
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1461
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
471
  msgid "Preview:"
472
  msgstr "Voorbeeld:"
473
 
474
+ #: templates/fields/icons.php:78
475
  msgid "Set Default"
476
  msgstr "Op standaard instellen"
477
 
596
  msgid "Copy Code"
597
  msgstr "Code kopiëren"
598
 
599
+ #: templates/sysinfo/tabs/main.php:17
600
  msgid "Site Info"
601
  msgstr "Site informatie"
602
 
603
+ #: templates/sysinfo/tabs/main.php:22
604
  msgid "Site URL"
605
  msgstr "Site URL"
606
 
607
+ #: templates/sysinfo/tabs/main.php:31
608
  msgid "Output IP Address"
609
  msgstr "Output IP Adres"
610
 
611
+ #: templates/sysinfo/tabs/main.php:39
612
  msgid "Defined WP_CACHE"
613
  msgstr "Gedefinieerde WP_CACHE"
614
 
615
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
616
  msgid "Yes"
617
  msgstr "Ja"
618
 
619
+ #: templates/sysinfo/tabs/main.php:47
620
  msgid "External object cache"
621
  msgstr "Externe object cache"
622
 
623
+ #: templates/sysinfo/tabs/main.php:55
624
  msgid "YITH Plugin Framework Version"
625
+ msgstr "YITH Plugin Framework Versie"
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
+ #: templates/sysinfo/tabs/main.php:64
629
  msgid "loaded by %s"
630
+ msgstr "geladen door %s"
631
 
632
+ #: templates/sysinfo/tabs/main.php:73
633
  msgid "Plugins Requirements"
634
  msgstr "Plugin benodigdheden"
635
 
636
+ #: templates/sysinfo/tabs/main.php:108
637
+ msgid "Database Info"
638
+ msgstr "Database Info"
639
+
640
+ #: templates/sysinfo/tabs/main.php:113
641
+ msgid "MySQL version"
642
+ msgstr "MySQL versie"
643
+
644
+ #. Translators: %s: Codex link.
645
+ #: templates/sysinfo/tabs/main.php:123
646
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
647
+ msgstr "WordPress raadt een minimale MySQL versie aan van 5.6. Bekijk: %s"
648
+
649
+ #: templates/sysinfo/tabs/main.php:123
650
+ msgid "WordPress requirements"
651
+ msgstr "WordPress vereisten"
652
+
653
+ #: templates/sysinfo/tabs/main.php:130
654
+ msgid "Total Database Size"
655
+ msgstr "Totale Database grootte"
656
+
657
+ #: templates/sysinfo/tabs/main.php:138
658
+ msgid "Database Data Size"
659
+ msgstr "Database Data grootte"
660
+
661
+ #: templates/sysinfo/tabs/main.php:146
662
+ msgid "Database Index Size"
663
+ msgstr "Database Index grootte"
664
+
665
+ #: templates/sysinfo/tabs/main.php:154
666
+ msgid "Database Free Size"
667
+ msgstr "Database gratis grootte"
668
+
669
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
670
+ #. Engine.
671
+ #: templates/sysinfo/tabs/main.php:168
672
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
+ msgstr "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
674
+
675
  #. translators: %s is the title of the post object.
676
+ #: yit-functions.php:1911
677
  msgid "Are you sure you want to move \"%s\" to trash?"
678
  msgstr "Weet je zeker dat je \"%s\" naar de prullenbak wilt verplaatsen?"
679
 
680
  #. translators: %s is the title of the post object.
681
+ #: yit-functions.php:1913 yit-functions.php:2073
682
  msgid "Are you sure you want to delete \"%s\"?"
683
  msgstr "Weet je zeker dat je \"%s\" wilt verwijderen?"
684
 
685
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
686
  msgid "Further actions"
687
  msgstr "Verdere acties"
688
 
689
+ #: yit-plugin.php:205
690
  msgid "License"
691
  msgstr "Licentie"
692
 
715
  msgid "Cancel"
716
  msgstr "Annuleren"
717
 
718
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Ja, verplaatsen naar prullenbak"
722
 
723
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
+ #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Ja, verwijderen"
932
  msgid "Submit a ticket"
933
  msgstr "Verstuur een ticket"
934
 
935
+ #: yit-functions.php:1925
936
  msgctxt "Post action"
937
  msgid "Preview"
938
  msgstr "Voorbeeld"
939
 
940
+ #: yit-functions.php:1934
941
  msgctxt "Post action"
942
  msgid "View"
943
  msgstr "Bekijken"
944
 
945
+ #: yit-functions.php:1945
946
  msgctxt "Post action"
947
  msgid "Edit"
948
  msgstr "Bewerken"
949
 
950
+ #: yit-functions.php:1953
951
  msgctxt "Post action"
952
  msgid "Duplicate"
953
  msgstr "Dupliceren"
954
 
955
+ #: yit-functions.php:1965
956
  msgctxt "Post action"
957
  msgid "Restore"
958
  msgstr "Herstellen"
959
 
960
+ #: yit-functions.php:1973
961
  msgctxt "Post action"
962
  msgid "Trash"
963
  msgstr "Prullenbak"
964
 
965
+ #: yit-functions.php:1990
966
  msgctxt "Post action"
967
  msgid "Delete Permanently"
968
  msgstr "Permanent verijwderen"
969
 
970
+ #: yit-functions.php:2087
971
  msgctxt "Term action"
972
  msgid "View"
973
  msgstr "Bekijken"
974
 
975
+ #: yit-functions.php:2097
976
  msgctxt "Term action"
977
  msgid "Edit"
978
  msgstr "Bewerken"
979
 
980
+ #: yit-functions.php:2105
981
  msgctxt "Term action"
982
  msgid "Duplicate"
983
  msgstr "Dupliceren"
984
 
985
+ #: yit-functions.php:2118
986
  msgctxt "Term action"
987
  msgid "Delete"
988
  msgstr "Verwijderen"
989
 
990
+ #: yit-plugin.php:84
991
  msgctxt "Plugin Row Meta"
992
  msgid "Live Demo"
993
  msgstr "Live Demo"
994
 
995
+ #: yit-plugin.php:88
996
  msgctxt "Plugin Row Meta"
997
  msgid "Documentation"
998
  msgstr "Documentatie"
999
 
1000
+ #: yit-plugin.php:92
1001
  msgctxt "Plugin Row Meta"
1002
  msgid "Support"
1003
  msgstr "Ondersteuning"
1004
 
1005
+ #: yit-plugin.php:96
1006
  msgctxt "Plugin Row Meta"
1007
  msgid "Premium version"
1008
  msgstr "Premium versie"
1009
 
1010
+ #: yit-plugin.php:201
1011
  msgctxt "Action links"
1012
  msgid "Settings"
1013
  msgstr "Instellingen"
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-09-24 08:04:51+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,7 +24,7 @@ msgstr ""
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
@@ -33,13 +33,13 @@ msgid "Are you sure you want to trash the selected items?"
33
  msgstr ""
34
 
35
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
36
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
37
- #: yit-functions.php:1964 yit-functions.php:1982
38
  msgid "No"
39
  msgstr ""
40
 
41
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
42
- #: yit-functions.php:2108
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
@@ -47,8 +47,8 @@ msgstr ""
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
51
- #: yit-functions.php:2056
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
@@ -119,60 +119,60 @@ msgstr ""
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
- #: includes/class-yit-plugin-panel.php:959
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
- #: includes/class-yit-plugin-panel.php:960
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
- #: includes/class-yit-plugin-panel.php:961
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
- #: includes/class-yit-plugin-panel.php:962
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
- #: includes/class-yit-plugin-panel.php:963
139
- #: includes/class-yit-plugin-panel.php:964
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
- #: includes/class-yit-plugin-panel.php:965
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
- #: includes/class-yit-plugin-panel.php:966
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
- #: includes/class-yit-plugin-panel.php:967
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
- #: includes/class-yit-plugin-panel.php:968
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
- #: includes/class-yit-plugin-panel.php:969
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
- #: includes/class-yit-plugin-panel.php:1437
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
- #: includes/class-yit-plugin-panel.php:1438
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1440
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
- #: includes/class-yit-plugin-panel.php:1441
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
@@ -451,7 +451,7 @@ msgstr ""
451
  msgid "Preview:"
452
  msgstr ""
453
 
454
- #: templates/fields/icons.php:63
455
  msgid "Set Default"
456
  msgstr ""
457
 
@@ -573,58 +573,97 @@ msgstr ""
573
  msgid "Copy Code"
574
  msgstr ""
575
 
576
- #: templates/sysinfo/tabs/main.php:16
577
  msgid "Site Info"
578
  msgstr ""
579
 
580
- #: templates/sysinfo/tabs/main.php:21
581
  msgid "Site URL"
582
  msgstr ""
583
 
584
- #: templates/sysinfo/tabs/main.php:30
585
  msgid "Output IP Address"
586
  msgstr ""
587
 
588
- #: templates/sysinfo/tabs/main.php:38
589
  msgid "Defined WP_CACHE"
590
  msgstr ""
591
 
592
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
593
  msgid "Yes"
594
  msgstr ""
595
 
596
- #: templates/sysinfo/tabs/main.php:46
597
  msgid "External object cache"
598
  msgstr ""
599
 
600
- #: templates/sysinfo/tabs/main.php:54
601
  msgid "YITH Plugin Framework Version"
602
  msgstr ""
603
 
604
- #: templates/sysinfo/tabs/main.php:63
605
  #. translators: %s is the name of the plugin that is loading the framework.
606
  msgid "loaded by %s"
607
  msgstr ""
608
 
609
- #: templates/sysinfo/tabs/main.php:72
610
  msgid "Plugins Requirements"
611
  msgstr ""
612
 
613
- #: yit-functions.php:1894
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
614
  #. translators: %s is the title of the post object.
615
  msgid "Are you sure you want to move \"%s\" to trash?"
616
  msgstr ""
617
 
618
- #: yit-functions.php:1896 yit-functions.php:2056
619
  #. translators: %s is the title of the post object.
620
  msgid "Are you sure you want to delete \"%s\"?"
621
  msgstr ""
622
 
623
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
624
  msgid "Further actions"
625
  msgstr ""
626
 
627
- #: yit-plugin.php:206
628
  msgid "License"
629
  msgstr ""
630
 
@@ -653,13 +692,13 @@ msgctxt "Button text"
653
  msgid "Cancel"
654
  msgstr ""
655
 
656
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
657
  msgctxt "Trash confirmation action"
658
  msgid "Yes, move to trash"
659
  msgstr ""
660
 
661
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
662
- #: yit-functions.php:2110
663
  msgctxt "Delete confirmation action"
664
  msgid "Yes, delete"
665
  msgstr ""
@@ -857,82 +896,82 @@ msgctxt "Help tab submit ticket button"
857
  msgid "Submit a ticket"
858
  msgstr ""
859
 
860
- #: yit-functions.php:1908
861
  msgctxt "Post action"
862
  msgid "Preview"
863
  msgstr ""
864
 
865
- #: yit-functions.php:1917
866
  msgctxt "Post action"
867
  msgid "View"
868
  msgstr ""
869
 
870
- #: yit-functions.php:1928
871
  msgctxt "Post action"
872
  msgid "Edit"
873
  msgstr ""
874
 
875
- #: yit-functions.php:1936
876
  msgctxt "Post action"
877
  msgid "Duplicate"
878
  msgstr ""
879
 
880
- #: yit-functions.php:1948
881
  msgctxt "Post action"
882
  msgid "Restore"
883
  msgstr ""
884
 
885
- #: yit-functions.php:1956
886
  msgctxt "Post action"
887
  msgid "Trash"
888
  msgstr ""
889
 
890
- #: yit-functions.php:1973
891
  msgctxt "Post action"
892
  msgid "Delete Permanently"
893
  msgstr ""
894
 
895
- #: yit-functions.php:2070
896
  msgctxt "Term action"
897
  msgid "View"
898
  msgstr ""
899
 
900
- #: yit-functions.php:2080
901
  msgctxt "Term action"
902
  msgid "Edit"
903
  msgstr ""
904
 
905
- #: yit-functions.php:2088
906
  msgctxt "Term action"
907
  msgid "Duplicate"
908
  msgstr ""
909
 
910
- #: yit-functions.php:2101
911
  msgctxt "Term action"
912
  msgid "Delete"
913
  msgstr ""
914
 
915
- #: yit-plugin.php:85
916
  msgctxt "Plugin Row Meta"
917
  msgid "Live Demo"
918
  msgstr ""
919
 
920
- #: yit-plugin.php:89
921
  msgctxt "Plugin Row Meta"
922
  msgid "Documentation"
923
  msgstr ""
924
 
925
- #: yit-plugin.php:93
926
  msgctxt "Plugin Row Meta"
927
  msgid "Support"
928
  msgstr ""
929
 
930
- #: yit-plugin.php:97
931
  msgctxt "Plugin Row Meta"
932
  msgid "Premium version"
933
  msgstr ""
934
 
935
- #: yit-plugin.php:202
936
  msgctxt "Action links"
937
  msgid "Settings"
938
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-14 12:57:54+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
33
  msgstr ""
34
 
35
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
36
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
37
+ #: yit-functions.php:1981 yit-functions.php:1999
38
  msgid "No"
39
  msgstr ""
40
 
41
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
42
+ #: yit-functions.php:2125
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
51
+ #: yit-functions.php:2073
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
+ #: includes/class-yit-plugin-panel.php:979
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
+ #: includes/class-yit-plugin-panel.php:980
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
+ #: includes/class-yit-plugin-panel.php:981
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
+ #: includes/class-yit-plugin-panel.php:982
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
+ #: includes/class-yit-plugin-panel.php:983
139
+ #: includes/class-yit-plugin-panel.php:984
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
+ #: includes/class-yit-plugin-panel.php:985
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
+ #: includes/class-yit-plugin-panel.php:986
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
+ #: includes/class-yit-plugin-panel.php:987
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
+ #: includes/class-yit-plugin-panel.php:988
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
+ #: includes/class-yit-plugin-panel.php:989
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
+ #: includes/class-yit-plugin-panel.php:1457
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
+ #: includes/class-yit-plugin-panel.php:1458
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1460
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
+ #: includes/class-yit-plugin-panel.php:1461
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
451
  msgid "Preview:"
452
  msgstr ""
453
 
454
+ #: templates/fields/icons.php:78
455
  msgid "Set Default"
456
  msgstr ""
457
 
573
  msgid "Copy Code"
574
  msgstr ""
575
 
576
+ #: templates/sysinfo/tabs/main.php:17
577
  msgid "Site Info"
578
  msgstr ""
579
 
580
+ #: templates/sysinfo/tabs/main.php:22
581
  msgid "Site URL"
582
  msgstr ""
583
 
584
+ #: templates/sysinfo/tabs/main.php:31
585
  msgid "Output IP Address"
586
  msgstr ""
587
 
588
+ #: templates/sysinfo/tabs/main.php:39
589
  msgid "Defined WP_CACHE"
590
  msgstr ""
591
 
592
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
593
  msgid "Yes"
594
  msgstr ""
595
 
596
+ #: templates/sysinfo/tabs/main.php:47
597
  msgid "External object cache"
598
  msgstr ""
599
 
600
+ #: templates/sysinfo/tabs/main.php:55
601
  msgid "YITH Plugin Framework Version"
602
  msgstr ""
603
 
604
+ #: templates/sysinfo/tabs/main.php:64
605
  #. translators: %s is the name of the plugin that is loading the framework.
606
  msgid "loaded by %s"
607
  msgstr ""
608
 
609
+ #: templates/sysinfo/tabs/main.php:73
610
  msgid "Plugins Requirements"
611
  msgstr ""
612
 
613
+ #: templates/sysinfo/tabs/main.php:108
614
+ msgid "Database Info"
615
+ msgstr ""
616
+
617
+ #: templates/sysinfo/tabs/main.php:113
618
+ msgid "MySQL version"
619
+ msgstr ""
620
+
621
+ #: templates/sysinfo/tabs/main.php:123
622
+ #. Translators: %s: Codex link.
623
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
624
+ msgstr ""
625
+
626
+ #: templates/sysinfo/tabs/main.php:123
627
+ msgid "WordPress requirements"
628
+ msgstr ""
629
+
630
+ #: templates/sysinfo/tabs/main.php:130
631
+ msgid "Total Database Size"
632
+ msgstr ""
633
+
634
+ #: templates/sysinfo/tabs/main.php:138
635
+ msgid "Database Data Size"
636
+ msgstr ""
637
+
638
+ #: templates/sysinfo/tabs/main.php:146
639
+ msgid "Database Index Size"
640
+ msgstr ""
641
+
642
+ #: templates/sysinfo/tabs/main.php:154
643
+ msgid "Database Free Size"
644
+ msgstr ""
645
+
646
+ #: templates/sysinfo/tabs/main.php:168
647
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
648
+ #. Engine.
649
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
650
+ msgstr ""
651
+
652
+ #: yit-functions.php:1911
653
  #. translators: %s is the title of the post object.
654
  msgid "Are you sure you want to move \"%s\" to trash?"
655
  msgstr ""
656
 
657
+ #: yit-functions.php:1913 yit-functions.php:2073
658
  #. translators: %s is the title of the post object.
659
  msgid "Are you sure you want to delete \"%s\"?"
660
  msgstr ""
661
 
662
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
663
  msgid "Further actions"
664
  msgstr ""
665
 
666
+ #: yit-plugin.php:205
667
  msgid "License"
668
  msgstr ""
669
 
692
  msgid "Cancel"
693
  msgstr ""
694
 
695
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
696
  msgctxt "Trash confirmation action"
697
  msgid "Yes, move to trash"
698
  msgstr ""
699
 
700
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
701
+ #: yit-functions.php:2127
702
  msgctxt "Delete confirmation action"
703
  msgid "Yes, delete"
704
  msgstr ""
896
  msgid "Submit a ticket"
897
  msgstr ""
898
 
899
+ #: yit-functions.php:1925
900
  msgctxt "Post action"
901
  msgid "Preview"
902
  msgstr ""
903
 
904
+ #: yit-functions.php:1934
905
  msgctxt "Post action"
906
  msgid "View"
907
  msgstr ""
908
 
909
+ #: yit-functions.php:1945
910
  msgctxt "Post action"
911
  msgid "Edit"
912
  msgstr ""
913
 
914
+ #: yit-functions.php:1953
915
  msgctxt "Post action"
916
  msgid "Duplicate"
917
  msgstr ""
918
 
919
+ #: yit-functions.php:1965
920
  msgctxt "Post action"
921
  msgid "Restore"
922
  msgstr ""
923
 
924
+ #: yit-functions.php:1973
925
  msgctxt "Post action"
926
  msgid "Trash"
927
  msgstr ""
928
 
929
+ #: yit-functions.php:1990
930
  msgctxt "Post action"
931
  msgid "Delete Permanently"
932
  msgstr ""
933
 
934
+ #: yit-functions.php:2087
935
  msgctxt "Term action"
936
  msgid "View"
937
  msgstr ""
938
 
939
+ #: yit-functions.php:2097
940
  msgctxt "Term action"
941
  msgid "Edit"
942
  msgstr ""
943
 
944
+ #: yit-functions.php:2105
945
  msgctxt "Term action"
946
  msgid "Duplicate"
947
  msgstr ""
948
 
949
+ #: yit-functions.php:2118
950
  msgctxt "Term action"
951
  msgid "Delete"
952
  msgstr ""
953
 
954
+ #: yit-plugin.php:84
955
  msgctxt "Plugin Row Meta"
956
  msgid "Live Demo"
957
  msgstr ""
958
 
959
+ #: yit-plugin.php:88
960
  msgctxt "Plugin Row Meta"
961
  msgid "Documentation"
962
  msgstr ""
963
 
964
+ #: yit-plugin.php:92
965
  msgctxt "Plugin Row Meta"
966
  msgid "Support"
967
  msgstr ""
968
 
969
+ #: yit-plugin.php:96
970
  msgctxt "Plugin Row Meta"
971
  msgid "Premium version"
972
  msgstr ""
973
 
974
+ #: yit-plugin.php:201
975
  msgctxt "Action links"
976
  msgid "Settings"
977
  msgstr ""
plugin-fw/lib/promo/yith-promo.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- /**
3
- * Deprecated file. Use the correct one in includes folder instead
4
- *
5
- * @package YITH\PluginFramework\Classes
6
- */
7
-
8
- /**
9
- * Require the correct file
10
- */
11
- require_once __DIR__ . '/../../includes/promo/yith-promo.php';
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/phpcs.xml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <ruleset name="YITH Plugin Framework Coding Standards">
3
+ <description>YITH Plugin Framework - PHP_CodeSniffer ruleset.</description>
4
+
5
+ <file>.</file>
6
+
7
+ <!-- Exclude paths -->
8
+ <exclude-pattern>Gruntfile.js</exclude-pattern>
9
+ <exclude-pattern>/assets/*</exclude-pattern>
10
+ <exclude-pattern>/bin/*</exclude-pattern>
11
+ <exclude-pattern>/dist/*</exclude-pattern>
12
+ <exclude-pattern>/languages/*</exclude-pattern>
13
+ <exclude-pattern>*/node_modules/*</exclude-pattern>
14
+ <exclude-pattern>*/tests/*</exclude-pattern>
15
+ <exclude-pattern>*/tools/*</exclude-pattern>
16
+ <exclude-pattern>*/vendor/*</exclude-pattern>
17
+
18
+ <!-- Show progress, show the error codes for each message (source). -->
19
+ <arg value="ps"/>
20
+
21
+ <!-- Strip the filepaths in reports down to the relevant bit. -->
22
+ <arg name="basepath" value="./"/>
23
+
24
+ <!-- Check up to 8 files simultaneously. -->
25
+ <arg name="parallel" value="8"/>
26
+
27
+ <!-- Configs -->
28
+ <config name="minimum_supported_wp_version" value="5.2"/>
29
+ <!-- Check for cross-version support for PHP 5.6 and higher. -->
30
+ <config name="testVersion" value="7.0-"/>
31
+
32
+ <!-- Rules -->
33
+
34
+ <!-- WordPress -->
35
+ <rule ref="WordPress">
36
+ <exclude name="WordPress.DB.DirectDatabaseQuery.NoCaching" />
37
+ <exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery" />
38
+ <exclude name="WordPress.DB.DirectDatabaseQuery.SchemaChange" />
39
+ </rule>
40
+
41
+ <rule ref="WordPress.Security.ValidatedSanitizedInput">
42
+ <properties>
43
+ <property name="customSanitizingFunctions" type="array" value="wc_clean,wc_sanitize_tooltip,wc_format_decimal,wc_stock_amount,wc_sanitize_permalink,wc_sanitize_textarea"/>
44
+ </properties>
45
+ </rule>
46
+
47
+ <rule ref="WordPress.Security.EscapeOutput">
48
+ <properties>
49
+ <property name="customEscapingFunctions" type="array" value="wc_help_tip,wc_sanitize_tooltip,wc_selected,wc_kses_notice,wc_esc_json,wc_query_string_form_fields,wc_make_phone_clickable,yith_plugin_fw_html_data_to_string,yith_field_deps_data,yith_panel_field_deps_data,yith_plugin_fw_html_attributes_to_string"/>
50
+ </properties>
51
+ </rule>
52
+ </ruleset>
plugin-fw/templates/components/action-button.php CHANGED
@@ -8,7 +8,7 @@
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
- list ( $component_id, $class, $the_title, $html_attributes, $html_data, $button_action, $icon, $icon_class, $url, $action_button_menu, $confirm_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'title', 'html_attributes', 'html_data', 'action', 'icon', 'icon_class', 'url', 'menu', 'confirm_data' );
12
 
13
  $button_action = isset( $button_action ) ? $button_action : '';
14
  $icon = isset( $icon ) ? $icon : $button_action;
@@ -42,8 +42,8 @@ $link_class = implode( ' ', array_filter( $link_classes ) );
42
  <span
43
  id="<?php echo esc_attr( $component_id ); ?>"
44
  class="<?php echo esc_attr( $class ); ?>"
45
- <?php echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46
- <?php echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
 
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
+ list ( $component_id, $class, $the_title, $attributes, $data, $button_action, $icon, $icon_class, $url, $action_button_menu, $confirm_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'title', 'attributes', 'data', 'action', 'icon', 'icon_class', 'url', 'menu', 'confirm_data' );
12
 
13
  $button_action = isset( $button_action ) ? $button_action : '';
14
  $icon = isset( $icon ) ? $icon : $button_action;
42
  <span
43
  id="<?php echo esc_attr( $component_id ); ?>"
44
  class="<?php echo esc_attr( $class ); ?>"
45
+ <?php echo yith_plugin_fw_html_attributes_to_string( $attributes ); ?>
46
+ <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
 
plugin-fw/templates/components/list-table-blank-state.php CHANGED
@@ -8,12 +8,12 @@
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
- list ( $component_id, $class, $icon, $icon_class, $icon_url, $message, $cta, $html_attributes, $html_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'icon', 'icon_class', 'icon_url', 'message', 'cta', 'html_attributes', 'html_data' );
12
  ?>
13
  <div id="<?php echo esc_attr( $component_id ); ?>"
14
  class="yith-plugin-fw__list-table-blank-state <?php echo esc_attr( $class ); ?>"
15
- <?php echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
16
- <?php echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
17
  >
18
  <?php if ( $icon ) : ?>
19
  <i class="yith-plugin-fw__list-table-blank-state__icon yith-icon yith-icon-<?php echo esc_attr( $icon ); ?>"></i>
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
+ list ( $component_id, $class, $icon, $icon_class, $icon_url, $message, $cta, $attributes, $data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'icon', 'icon_class', 'icon_url', 'message', 'cta', 'attributes', 'data' );
12
  ?>
13
  <div id="<?php echo esc_attr( $component_id ); ?>"
14
  class="yith-plugin-fw__list-table-blank-state <?php echo esc_attr( $class ); ?>"
15
+ <?php echo yith_plugin_fw_html_attributes_to_string( $attributes ); ?>
16
+ <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
17
  >
18
  <?php if ( $icon ) : ?>
19
  <i class="yith-plugin-fw__list-table-blank-state__icon yith-icon yith-icon-<?php echo esc_attr( $icon ); ?>"></i>
plugin-fw/templates/fields/checkbox-array.php CHANGED
@@ -17,8 +17,8 @@ $class = 'yith-plugin-fw-checkbox-array ' . $class;
17
  $value = is_array( $value ) ? $value : array();
18
  ?>
19
  <div class="<?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $field_id ); ?>"
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  >
23
  <?php foreach ( $options as $key => $label ) : ?>
24
  <?php
17
  $value = is_array( $value ) ? $value : array();
18
  ?>
19
  <div class="<?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $field_id ); ?>"
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  >
23
  <?php foreach ( $options as $key => $label ) : ?>
24
  <?php
plugin-fw/templates/fields/checkbox.php CHANGED
@@ -17,8 +17,8 @@ list ( $field_id, $name, $class, $std, $value, $data, $custom_attributes, $desc_
17
  data-std="<?php echo esc_attr( $std ); ?>"
18
  <?php endif; ?>
19
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  />
23
  <?php if ( isset( $desc_inline ) ) : ?>
24
  <span class='description inline'><?php echo wp_kses_post( $desc_inline ); ?></span>
17
  data-std="<?php echo esc_attr( $std ); ?>"
18
  <?php endif; ?>
19
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  />
23
  <?php if ( isset( $desc_inline ) ) : ?>
24
  <span class='description inline'><?php echo wp_kses_post( $desc_inline ); ?></span>
plugin-fw/templates/fields/colorpicker.php CHANGED
@@ -25,6 +25,6 @@ $default = isset( $default ) ? $default : '';
25
  <?php if ( $default ) : ?>
26
  data-default-color="<?php echo esc_attr( $default ); ?>"
27
  <?php endif ?>
28
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
29
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
30
  />
25
  <?php if ( $default ) : ?>
26
  data-default-color="<?php echo esc_attr( $default ); ?>"
27
  <?php endif ?>
28
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
29
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
30
  />
plugin-fw/templates/fields/copy-to-clipboard.php CHANGED
@@ -35,8 +35,8 @@ if ( isset( $force_value ) ) {
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>
35
  readonly
36
  <?php endif; ?>
37
 
38
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
39
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
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>
plugin-fw/templates/fields/country-select.php CHANGED
@@ -37,8 +37,8 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-select';
37
  <?php if ( isset( $placeholder ) ) : ?>
38
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
39
  <?php endif; ?>
40
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
41
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
42
  >
43
  <?php
44
  if ( $countries ) {
37
  <?php if ( isset( $placeholder ) ) : ?>
38
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
39
  <?php endif; ?>
40
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
41
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
42
  >
43
  <?php
44
  if ( $countries ) {
plugin-fw/templates/fields/date-format.php CHANGED
@@ -31,8 +31,8 @@ wp_enqueue_script( 'yith-date-format' );
31
  <div class="<?php echo esc_attr( $class ); ?>"
32
  id="<?php echo esc_attr( $field_id ); ?>"
33
  value="<?php echo esc_attr( $value ); ?>"
34
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
35
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
36
  >
37
  <?php foreach ( $options as $key => $label ) : ?>
38
  <?php
31
  <div class="<?php echo esc_attr( $class ); ?>"
32
  id="<?php echo esc_attr( $field_id ); ?>"
33
  value="<?php echo esc_attr( $value ); ?>"
34
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
35
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
36
  >
37
  <?php foreach ( $options as $key => $label ) : ?>
38
  <?php
plugin-fw/templates/fields/datepicker.php CHANGED
@@ -18,6 +18,6 @@ $class = ! empty( $class ) ? $class : 'yith-plugin-fw-datepicker';
18
  value="<?php echo esc_attr( $value ); ?>"
19
  class="<?php echo esc_attr( $class ); ?>"
20
  autocomplete="off"
21
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
22
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
23
  />
18
  value="<?php echo esc_attr( $value ); ?>"
19
  class="<?php echo esc_attr( $class ); ?>"
20
  autocomplete="off"
21
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
22
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
23
  />
plugin-fw/templates/fields/dimensions.php CHANGED
@@ -42,8 +42,8 @@ if ( $allow_linked && 'yes' === $linked ) {
42
  }
43
  ?>
44
  <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?>"
45
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
47
  >
48
  <div class="yith-plugin-fw-dimensions__dimensions">
49
  <?php foreach ( $dimensions as $key => $dimension ) : ?>
@@ -52,26 +52,26 @@ if ( $allow_linked && 'yes' === $linked ) {
52
  $d_id = "{$field_id}-dimension-{$d_key}";
53
  $d_name = "{$name}[dimensions][{$d_key}]";
54
  $d_value = isset( $dimensions_values[ $key ] ) ? $dimensions_values[ $key ] : 0;
55
- $d_attributes = '';
56
  $d_label = $dimension;
57
  $d_min = $min;
58
  $d_max = $max;
59
 
60
  if ( is_array( $dimension ) ) {
61
  $d_label = isset( $dimension['label'] ) ? $dimension['label'] : $key;
62
- if ( isset( $dimension['custom_attributes'] ) ) {
63
- $d_attributes .= $dimension['custom_attributes'];
64
  }
65
  $d_min = isset( $dimension['min'] ) ? $dimension['min'] : $d_min;
66
  $d_max = isset( $dimension['max'] ) ? $dimension['max'] : $d_max;
67
  }
68
 
69
  if ( false !== $d_max ) {
70
- $d_attributes = " max={$d_max} " . $d_attributes;
71
  }
72
 
73
  if ( false !== $d_min ) {
74
- $d_attributes = " min={$d_min} " . $d_attributes;
75
  }
76
 
77
  ?>
@@ -85,7 +85,7 @@ if ( $allow_linked && 'yes' === $linked ) {
85
  <?php if ( false !== $d_min ) : ?>
86
  min="<?php echo esc_attr( $d_min ); ?>"
87
  <?php endif; ?>
88
- <?php echo $d_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
89
  >
90
  </div>
91
  <?php endforeach ?>
42
  }
43
  ?>
44
  <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?>"
45
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
46
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
47
  >
48
  <div class="yith-plugin-fw-dimensions__dimensions">
49
  <?php foreach ( $dimensions as $key => $dimension ) : ?>
52
  $d_id = "{$field_id}-dimension-{$d_key}";
53
  $d_name = "{$name}[dimensions][{$d_key}]";
54
  $d_value = isset( $dimensions_values[ $key ] ) ? $dimensions_values[ $key ] : 0;
55
+ $d_attributes = array();
56
  $d_label = $dimension;
57
  $d_min = $min;
58
  $d_max = $max;
59
 
60
  if ( is_array( $dimension ) ) {
61
  $d_label = isset( $dimension['label'] ) ? $dimension['label'] : $key;
62
+ if ( isset( $dimension['custom_attributes'] ) && is_array( $dimension['custom_attributes'] ) ) {
63
+ $d_attributes = array_merge( $d_attributes, $dimension['custom_attributes'] );
64
  }
65
  $d_min = isset( $dimension['min'] ) ? $dimension['min'] : $d_min;
66
  $d_max = isset( $dimension['max'] ) ? $dimension['max'] : $d_max;
67
  }
68
 
69
  if ( false !== $d_max ) {
70
+ $d_attributes['max'] = $d_max;
71
  }
72
 
73
  if ( false !== $d_min ) {
74
+ $d_attributes['min'] = $d_min;
75
  }
76
 
77
  ?>
85
  <?php if ( false !== $d_min ) : ?>
86
  min="<?php echo esc_attr( $d_min ); ?>"
87
  <?php endif; ?>
88
+ <?php echo yith_plugin_fw_html_attributes_to_string( $d_attributes ); ?>
89
  >
90
  </div>
91
  <?php endforeach ?>
plugin-fw/templates/fields/hidden.php CHANGED
@@ -28,6 +28,6 @@ if ( ! isset( $value ) ) {
28
  <?php if ( isset( $std ) ) : ?>
29
  data-std="<?php echo esc_attr( $std ); ?>"
30
  <?php endif; ?>
31
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
32
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
33
  />
28
  <?php if ( isset( $std ) ) : ?>
29
  data-std="<?php echo esc_attr( $std ); ?>"
30
  <?php endif; ?>
31
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
32
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
33
  />
plugin-fw/templates/fields/icons.php CHANGED
@@ -14,10 +14,22 @@ wp_enqueue_style( 'font-awesome' );
14
 
15
  $filter_icons = ! ! $filter_icons ? $filter_icons : '';
16
  $default_icon_text = isset( $std ) ? $std : false;
17
- $default_icon_data = YIT_Icons()->get_icon_data( $default_icon_text, $filter_icons );
 
 
 
 
 
 
18
 
19
- $current_icon_data = YIT_Icons()->get_icon_data( $value, $filter_icons );
20
  $current_icon_text = $value;
 
 
 
 
 
 
21
 
22
  $yit_icons = YIT_Icons()->get_icons( $filter_icons );
23
  ?>
@@ -26,7 +38,10 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
26
 
27
  <div class="yit-icons-manager-text">
28
  <div class="yit-icons-manager-icon-preview"
29
- <?php echo $current_icon_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
 
 
 
30
  ></div>
31
  <input class="yit-icons-manager-icon-text" type="text"
32
  id="<?php echo esc_attr( $field_id ); ?>"
@@ -42,7 +57,7 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
42
  <?php foreach ( $yit_icons as $font => $icons ) : ?>
43
  <?php foreach ( $icons as $key => $icon_name ) : ?>
44
  <?php
45
- $data_icon = str_replace( '\\', '&#x', $key );
46
  $icon_text = $font . ':' . $icon_name;
47
  $icon_class = $icon_text === $current_icon_text ? 'active' : '';
48
 
@@ -50,7 +65,7 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
50
  ?>
51
  <li class="<?php echo esc_attr( $icon_class ); ?>"
52
  data-font="<?php echo esc_attr( $font ); ?>"
53
- data-icon="<?php echo $data_icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"
54
  data-key="<?php echo esc_attr( $key ); ?>"
55
  data-name="<?php echo esc_attr( $icon_name ); ?>"></li>
56
  <?php endforeach; ?>
@@ -61,7 +76,12 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
61
  <div class="yit-icons-manager-actions">
62
  <?php if ( $default_icon_text ) : ?>
63
  <div class="yit-icons-manager-action-set-default button"><?php esc_html_e( 'Set Default', 'yith-plugin-fw' ); ?>
64
- <i class="yit-icons-manager-default-icon-preview" <?php echo esc_html( $default_icon_data ); ?>></i>
 
 
 
 
 
65
  </div>
66
  <?php endif ?>
67
  </div>
14
 
15
  $filter_icons = ! ! $filter_icons ? $filter_icons : '';
16
  $default_icon_text = isset( $std ) ? $std : false;
17
+ $default_icon_data = YIT_Icons()->get_icon_data_array( $default_icon_text, $filter_icons );
18
+ $default_icon = '';
19
+ if ( isset( $default_icon_data['icon'] ) ) {
20
+ $default_icon = $default_icon_data['icon'];
21
+ $default_icon = str_replace( '&#x', '', $default_icon );
22
+ unset( $default_icon_data['icon'] );
23
+ }
24
 
25
+ $current_icon_data = YIT_Icons()->get_icon_data_array( $value, $filter_icons );
26
  $current_icon_text = $value;
27
+ $current_icon = '';
28
+ if ( isset( $current_icon_data['icon'] ) ) {
29
+ $current_icon = $current_icon_data['icon'];
30
+ $current_icon = str_replace( '&#x', '', $current_icon );
31
+ unset( $current_icon_data['icon'] );
32
+ }
33
 
34
  $yit_icons = YIT_Icons()->get_icons( $filter_icons );
35
  ?>
38
 
39
  <div class="yit-icons-manager-text">
40
  <div class="yit-icons-manager-icon-preview"
41
+ <?php echo yith_plugin_fw_html_data_to_string( $current_icon_data ); ?>
42
+ <?php if ( $current_icon ) : ?>
43
+ data-icon="&#x<?php echo esc_attr( $current_icon ); ?>"
44
+ <?php endif; ?>
45
  ></div>
46
  <input class="yit-icons-manager-icon-text" type="text"
47
  id="<?php echo esc_attr( $field_id ); ?>"
57
  <?php foreach ( $yit_icons as $font => $icons ) : ?>
58
  <?php foreach ( $icons as $key => $icon_name ) : ?>
59
  <?php
60
+ $data_icon = str_replace( '\\', '', $key );
61
  $icon_text = $font . ':' . $icon_name;
62
  $icon_class = $icon_text === $current_icon_text ? 'active' : '';
63
 
65
  ?>
66
  <li class="<?php echo esc_attr( $icon_class ); ?>"
67
  data-font="<?php echo esc_attr( $font ); ?>"
68
+ data-icon="&#x<?php echo esc_attr( $data_icon ); ?>"
69
  data-key="<?php echo esc_attr( $key ); ?>"
70
  data-name="<?php echo esc_attr( $icon_name ); ?>"></li>
71
  <?php endforeach; ?>
76
  <div class="yit-icons-manager-actions">
77
  <?php if ( $default_icon_text ) : ?>
78
  <div class="yit-icons-manager-action-set-default button"><?php esc_html_e( 'Set Default', 'yith-plugin-fw' ); ?>
79
+ <i class="yit-icons-manager-default-icon-preview"
80
+ <?php echo yith_plugin_fw_html_data_to_string( $default_icon_data ); ?>
81
+ <?php if ( $default_icon ) : ?>
82
+ data-icon="&#x<?php echo esc_attr( $default_icon ); ?>"
83
+ <?php endif; ?>
84
+ ></i>
85
  </div>
86
  <?php endif ?>
87
  </div>
plugin-fw/templates/fields/inline-fields.php CHANGED
@@ -8,7 +8,7 @@
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
- list ( $field_id, $name, $class, $fields, $value, $custom_attributes ) = yith_plugin_fw_extract( $field, 'id', 'name', 'class', 'fields', 'value', 'custom_attributes' );
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
@@ -16,7 +16,10 @@ $allowed_types = array( 'select', 'select-buttons', 'number', 'text', 'slider',
16
  $default_args = array( 'type' => 'select' );
17
  ?>
18
  <?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
19
- <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?> yith-inline-fields" <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
 
 
 
20
  <?php foreach ( $fields as $key => $inline_field ) : ?>
21
  <?php
22
  if ( ! in_array( $inline_field['type'], $allowed_types, true ) ) {
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
+ list ( $field_id, $name, $class, $fields, $value, $data, $custom_attributes ) = yith_plugin_fw_extract( $field, 'id', 'name', 'class', 'fields', 'value', 'data', 'custom_attributes' );
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
16
  $default_args = array( 'type' => 'select' );
17
  ?>
18
  <?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
19
+ <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?> yith-inline-fields"
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
+ >
23
  <?php foreach ( $fields as $key => $inline_field ) : ?>
24
  <?php
25
  if ( ! in_array( $inline_field['type'], $allowed_types, true ) ) {
plugin-fw/templates/fields/number.php CHANGED
@@ -27,6 +27,6 @@ list ( $field_id, $class, $name, $std, $value, $min, $max, $step, $custom_attrib
27
  <?php if ( isset( $std ) ) : ?>
28
  data-std="<?php echo esc_attr( $std ); ?>"
29
  <?php endif; ?>
30
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
31
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
32
  />
27
  <?php if ( isset( $std ) ) : ?>
28
  data-std="<?php echo esc_attr( $std ); ?>"
29
  <?php endif; ?>
30
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
31
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
32
  />
plugin-fw/templates/fields/onoff.php CHANGED
@@ -12,7 +12,7 @@ list ( $field_id, $class, $name, $std, $value, $custom_attributes, $data, $desc_
12
 
13
  ?>
14
  <div class="yith-plugin-fw-onoff-container <?php echo ! empty( $class ) ? esc_attr( $class ) : ''; ?>"
15
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
16
  >
17
  <input type="checkbox" id="<?php echo esc_attr( $field_id ); ?>"
18
  class="on_off"
@@ -22,7 +22,7 @@ list ( $field_id, $class, $name, $std, $value, $custom_attributes, $data, $desc_
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
25
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
26
  />
27
  <span class="yith-plugin-fw-onoff"
28
  data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>"
12
 
13
  ?>
14
  <div class="yith-plugin-fw-onoff-container <?php echo ! empty( $class ) ? esc_attr( $class ) : ''; ?>"
15
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
16
  >
17
  <input type="checkbox" id="<?php echo esc_attr( $field_id ); ?>"
18
  class="on_off"
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
25
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
26
  />
27
  <span class="yith-plugin-fw-onoff"
28
  data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>"
plugin-fw/templates/fields/password.php CHANGED
@@ -21,8 +21,8 @@ $class = $class . ' yith-password';
21
  <?php if ( isset( $std ) ) : ?>
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
25
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
26
  />
27
  <span class="yith-password-eye"></span>
28
  </div>
21
  <?php if ( isset( $std ) ) : ?>
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
25
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
26
  />
27
  <span class="yith-password-eye"></span>
28
  </div>
plugin-fw/templates/fields/preview.php CHANGED
@@ -16,6 +16,6 @@ $class = ! empty( $class ) ? $class : 'yith-plugin-fw-preview-field';
16
  <img id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
  src="<?php echo esc_url( $value ); ?>"
19
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
20
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
21
  >
16
  <img id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
  src="<?php echo esc_url( $value ); ?>"
19
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
20
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
21
  >
plugin-fw/templates/fields/radio.php CHANGED
@@ -14,13 +14,40 @@ list ( $field_id, $class, $name, $value, $options, $custom_attributes, $data ) =
14
  $class = isset( $class ) ? $class : '';
15
  $class = 'yith-plugin-fw-radio ' . $class;
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ?>
18
  <div id="<?php echo esc_attr( $field_id ); ?>"
19
  class="<?php echo esc_attr( $class ); ?>"
20
  data-value="<?php echo esc_attr( $value ); ?>"
21
  data-type="radio"
22
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
23
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
24
  >
25
  <?php foreach ( $options as $key => $label ) : ?>
26
  <?php
@@ -33,10 +60,7 @@ $class = 'yith-plugin-fw-radio ' . $class;
33
  <?php checked( $key, $value ); ?>
34
  />
35
  <label for="<?php echo esc_attr( $radio_id ); ?>">
36
- <?php
37
- // HTML allowed!
38
- echo $label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
39
- ?>
40
  </label>
41
  </div>
42
  <?php endforeach; ?>
14
  $class = isset( $class ) ? $class : '';
15
  $class = 'yith-plugin-fw-radio ' . $class;
16
 
17
+ $label_extra_allowed_tags = array(
18
+ 'input' => array(
19
+ 'checked' => true,
20
+ 'disabled' => true,
21
+ 'max' => true,
22
+ 'min' => true,
23
+ 'name' => true,
24
+ 'placeholder' => true,
25
+ 'type' => true,
26
+ 'value' => true,
27
+ ),
28
+ 'option' => array(
29
+ 'disabled' => true,
30
+ 'selected' => true,
31
+ 'value' => true,
32
+ ),
33
+ 'select' => array(
34
+ 'disabled' => true,
35
+ 'name' => true,
36
+ 'value' => true,
37
+ ),
38
+ );
39
+
40
+ $label_extra_allowed_tags = array_map( 'yith_plugin_fw_add_kses_global_attributes', $label_extra_allowed_tags );
41
+
42
+ $label_allowed_tags = array_merge( wp_kses_allowed_html( 'post' ), $label_extra_allowed_tags );
43
+ $label_allowed_tags = apply_filters( 'yith_plugin_fw_radio_field_label_allowed_tags', $label_allowed_tags, $field );
44
  ?>
45
  <div id="<?php echo esc_attr( $field_id ); ?>"
46
  class="<?php echo esc_attr( $class ); ?>"
47
  data-value="<?php echo esc_attr( $value ); ?>"
48
  data-type="radio"
49
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
50
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
51
  >
52
  <?php foreach ( $options as $key => $label ) : ?>
53
  <?php
60
  <?php checked( $key, $value ); ?>
61
  />
62
  <label for="<?php echo esc_attr( $radio_id ); ?>">
63
+ <?php echo wp_kses( $label, $label_allowed_tags ); ?>
 
 
 
64
  </label>
65
  </div>
66
  <?php endforeach; ?>
plugin-fw/templates/fields/resources/select2-wc-2.6.php CHANGED
@@ -22,5 +22,5 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
22
  <?php echo( ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : '' ); ?>
23
  value="<?php echo esc_attr( $args['value'] ); ?>"
24
  style="<?php echo esc_attr( $args['style'] ); ?>"
25
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
26
  />
22
  <?php echo( ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : '' ); ?>
23
  value="<?php echo esc_attr( $args['value'] ); ?>"
24
  style="<?php echo esc_attr( $args['style'] ); ?>"
25
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
26
  />
plugin-fw/templates/fields/resources/select2.php CHANGED
@@ -19,7 +19,7 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
19
  <?php echo ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : ''; ?>
20
  <?php echo ! empty( $args['data-multiple'] ) ? 'multiple="multiple"' : ''; ?>
21
  style="<?php echo esc_attr( $args['style'] ); ?>"
22
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
23
  >
24
  <?php if ( ! empty( $args['value'] ) ) : ?>
25
  <?php
19
  <?php echo ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : ''; ?>
20
  <?php echo ! empty( $args['data-multiple'] ) ? 'multiple="multiple"' : ''; ?>
21
  style="<?php echo esc_attr( $args['style'] ); ?>"
22
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
23
  >
24
  <?php if ( ! empty( $args['value'] ) ) : ?>
25
  <?php
plugin-fw/templates/fields/select-images.php CHANGED
@@ -17,8 +17,8 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-select-images';
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
  style="display: none"
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <?php
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
  style="display: none"
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <?php
plugin-fw/templates/fields/select-mailchimp.php CHANGED
@@ -25,8 +25,8 @@ $multiple = ! empty( $multiple );
25
  data-std="<?php echo $multiple && is_array( $std ) ? esc_attr( implode( ',', $std ) ) : esc_attr( $std ); ?>"
26
  <?php endif; ?>
27
 
28
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
29
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
30
  >
31
  <?php foreach ( $options as $key => $item ) : ?>
32
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
25
  data-std="<?php echo $multiple && is_array( $std ) ? esc_attr( implode( ',', $std ) ) : esc_attr( $std ); ?>"
26
  <?php endif; ?>
27
 
28
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
29
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
30
  >
31
  <?php foreach ( $options as $key => $item ) : ?>
32
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
plugin-fw/templates/fields/select.php CHANGED
@@ -37,8 +37,8 @@ if ( $multiple && ! is_array( $value ) ) {
37
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
38
  <?php endif; ?>
39
 
40
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
41
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
42
  >
43
  <?php foreach ( $options as $key => $item ) : ?>
44
  <?php if ( is_array( $item ) ) : ?>
37
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
38
  <?php endif; ?>
39
 
40
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
41
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
42
  >
43
  <?php foreach ( $options as $key => $item ) : ?>
44
  <?php if ( is_array( $item ) ) : ?>
plugin-fw/templates/fields/sidebarlist.php CHANGED
@@ -17,8 +17,8 @@ $options = yit_registered_sidebars();
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
 
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
 
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
plugin-fw/templates/fields/simple-text.php CHANGED
@@ -16,8 +16,8 @@ $class = ! empty( $class ) ? $class : '';
16
  <p id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
 
19
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
20
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
21
  >
22
  <?php echo wp_kses_post( $desc ); ?>
23
  </p>
16
  <p id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
 
19
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
20
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
21
  >
22
  <?php echo wp_kses_post( $desc ); ?>
23
  </p>
plugin-fw/templates/fields/slider.php CHANGED
@@ -39,8 +39,8 @@ $step = isset( $step ) ? $step : 1;
39
  data-max="<?php echo esc_attr( $max ); ?>"
40
  data-val="<?php echo esc_attr( $value ); ?>"
41
 
42
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
43
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
44
  >
45
  <input id="<?php echo esc_attr( $field_id ); ?>"
46
  type="hidden"
39
  data-max="<?php echo esc_attr( $max ); ?>"
40
  data-val="<?php echo esc_attr( $value ); ?>"
41
 
42
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
43
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
44
  >
45
  <input id="<?php echo esc_attr( $field_id ); ?>"
46
  type="hidden"
plugin-fw/templates/fields/text-button.php CHANGED
@@ -39,8 +39,12 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-text-input';
39
  data-std="<?php echo esc_attr( $std ); ?>"
40
  <?php endif; ?>
41
 
42
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
43
- <?php echo ! $backward_compatibility && isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
 
 
 
 
44
  />
45
  <?php
46
  if ( isset( $buttons ) ) {
39
  data-std="<?php echo esc_attr( $std ); ?>"
40
  <?php endif; ?>
41
 
42
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
43
+ <?php
44
+ if ( ! $backward_compatibility ) {
45
+ yith_plugin_fw_html_data_to_string( $data, true );
46
+ }
47
+ ?>
48
  />
49
  <?php
50
  if ( isset( $buttons ) ) {
plugin-fw/templates/fields/text.php CHANGED
@@ -22,8 +22,8 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-text-input';
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
 
25
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
26
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
27
  />
28
 
29
 
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
 
25
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
26
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
27
  />
28
 
29
 
plugin-fw/templates/fields/textarea-codemirror.php CHANGED
@@ -24,6 +24,6 @@ $class = isset( $class ) ? $class : 'codemirror';
24
  class="<?php echo esc_attr( $class ); ?>"
25
  rows="8" cols="50"
26
  data-settings="<?php echo esc_attr( wp_json_encode( $settings ) ); ?>"
27
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
28
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
24
  class="<?php echo esc_attr( $class ); ?>"
25
  rows="8" cols="50"
26
  data-settings="<?php echo esc_attr( wp_json_encode( $settings ) ); ?>"
27
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
28
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
plugin-fw/templates/fields/textarea-editor.php CHANGED
@@ -42,6 +42,6 @@ $editor_args = wp_parse_args(
42
  );
43
  ?>
44
  <div class="editor <?php echo esc_attr( $class ); ?>"
45
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
47
  ><?php wp_editor( $value, $field_id, $editor_args ); ?></div>
42
  );
43
  ?>
44
  <div class="editor <?php echo esc_attr( $class ); ?>"
45
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
46
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
47
  ><?php wp_editor( $value, $field_id, $editor_args ); ?></div>
plugin-fw/templates/fields/textarea.php CHANGED
@@ -24,6 +24,6 @@ $cols = isset( $cols ) ? $cols : 50;
24
  data-std="<?php echo esc_attr( $std ); ?>"
25
  <?php endif; ?>
26
 
27
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
28
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
24
  data-std="<?php echo esc_attr( $std ); ?>"
25
  <?php endif; ?>
26
 
27
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
28
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
plugin-fw/templates/fields/title.php CHANGED
@@ -15,8 +15,8 @@ $class = isset( $class ) ? $class : 'title';
15
  <h3 id="<?php echo esc_attr( $field_id ); ?>"
16
  class="<?php echo esc_attr( $class ); ?>"
17
 
18
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
19
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
20
  >
21
  <?php echo wp_kses_post( $desc ); ?>
22
  </h3>
15
  <h3 id="<?php echo esc_attr( $field_id ); ?>"
16
  class="<?php echo esc_attr( $class ); ?>"
17
 
18
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
19
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
20
  >
21
  <?php echo wp_kses_post( $desc ); ?>
22
  </h3>
plugin-fw/templates/fields/toggle-element-fixed.php CHANGED
@@ -30,7 +30,7 @@ $value = get_option( $name, array() );
30
  <div class="yith-toggle-elements">
31
  <div id="<?php echo esc_attr( $field_id ); ?>"
32
  class="yith-toggle-row fixed <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
33
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
34
  >
35
  <div class="yith-toggle-title">
36
  <h3>
30
  <div class="yith-toggle-elements">
31
  <div id="<?php echo esc_attr( $field_id ); ?>"
32
  class="yith-toggle-row fixed <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
33
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
34
  >
35
  <div class="yith-toggle-title">
36
  <h3>
plugin-fw/templates/fields/toggle-element.php CHANGED
@@ -109,7 +109,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
109
  <div id="<?php echo esc_attr( $field_id ); ?>_<?php echo esc_attr( $i ); ?>"
110
  class="yith-toggle-row <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
111
  data-item_key="<?php echo esc_attr( $i ); ?>"
112
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
113
  >
114
  <div class="yith-toggle-title">
115
  <h3>
@@ -204,7 +204,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
204
  <div id="<?php echo esc_attr( $field_id ); ?>_{{{data.index}}}"
205
  class="yith-toggle-row highlight <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
206
  data-item_key="{{{data.index}}}"
207
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
208
  >
209
  <div class="yith-toggle-title">
210
  <h3>
109
  <div id="<?php echo esc_attr( $field_id ); ?>_<?php echo esc_attr( $i ); ?>"
110
  class="yith-toggle-row <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
111
  data-item_key="<?php echo esc_attr( $i ); ?>"
112
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
113
  >
114
  <div class="yith-toggle-title">
115
  <h3>
204
  <div id="<?php echo esc_attr( $field_id ); ?>_{{{data.index}}}"
205
  class="yith-toggle-row highlight <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
206
  data-item_key="{{{data.index}}}"
207
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
208
  >
209
  <div class="yith-toggle-title">
210
  <h3>
plugin-fw/templates/fields/upload.php CHANGED
@@ -28,8 +28,8 @@ $file = $value;
28
  data-std="<?php echo esc_attr( $default ); ?>"
29
  <?php endif; ?>
30
 
31
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
32
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
33
  />
34
  <button class="yith-plugin-fw-upload-button" id="<?php echo esc_attr( $field_id ); ?>-button"><?php esc_html_e( 'Upload', 'yith-plugin-fw' ); ?></button>
35
  <button type="button"
28
  data-std="<?php echo esc_attr( $default ); ?>"
29
  <?php endif; ?>
30
 
31
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
32
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
33
  />
34
  <button class="yith-plugin-fw-upload-button" id="<?php echo esc_attr( $field_id ); ?>-button"><?php esc_html_e( 'Upload', 'yith-plugin-fw' ); ?></button>
35
  <button type="button"
plugin-fw/templates/metaboxes/tab.php CHANGED
@@ -18,6 +18,66 @@ $ul_style = count( $tabs ) <= 1 ? 'display:none;' : '';
18
  $i = 0;
19
  do_action( 'yit_before_metaboxes_tab' );
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ?>
22
  <div class="yith-plugin-fw metaboxes-tab <?php echo esc_attr( $classes ); ?>">
23
  <?php do_action( 'yit_before_metaboxes_labels' ); ?>
@@ -48,11 +108,7 @@ do_action( 'yit_before_metaboxes_tab' );
48
  ?>
49
  <li id="<?php echo esc_attr( $anchor_id ); ?>" class="<?php echo esc_attr( $class ); ?>" <?php echo yith_field_deps_data( $_tab ); ?>>
50
  <a href="#<?php echo esc_attr( urldecode( $key ) ); ?>">
51
- <?php
52
- // This is not escaped to allow, for example, svg icons and custom html in the tab title.
53
- // TODO: escape it and provide a specific way to add icons.
54
- echo $_tab['label']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
55
- ?>
56
  </a>
57
  </li>
58
  <?php endforeach; ?>
18
  $i = 0;
19
  do_action( 'yit_before_metaboxes_tab' );
20
 
21
+ // Allow SVGs.
22
+ $label_extra_allowed_tags = array(
23
+ 'svg' => array(
24
+ 'class' => true,
25
+ 'aria-hidden' => true,
26
+ 'aria-labelledby' => true,
27
+ 'role' => true,
28
+ 'xmlns' => true,
29
+ 'width' => true,
30
+ 'height' => true,
31
+ 'viewbox' => true,
32
+ 'version' => true,
33
+ 'x' => true,
34
+ 'y' => true,
35
+ 'style' => true,
36
+ ),
37
+ 'circle' => array(
38
+ 'class' => true,
39
+ 'cx' => true,
40
+ 'cy' => true,
41
+ 'r' => true,
42
+ ),
43
+ 'g' => array( 'fill' => true ),
44
+ 'polyline' => array(
45
+ 'class' => true,
46
+ 'points' => true,
47
+ ),
48
+ 'polygon' => array(
49
+ 'class' => true,
50
+ 'points' => true,
51
+ ),
52
+ 'line' => array(
53
+ 'class' => true,
54
+ 'x1' => true,
55
+ 'x2' => true,
56
+ 'y1' => true,
57
+ 'y2' => true,
58
+ ),
59
+ 'title' => array( 'title' => true ),
60
+ 'path' => array(
61
+ 'class' => true,
62
+ 'd' => true,
63
+ 'fill' => true,
64
+ ),
65
+ 'rect' => array(
66
+ 'class' => true,
67
+ 'x' => true,
68
+ 'y' => true,
69
+ 'fill' => true,
70
+ 'width' => true,
71
+ 'height' => true,
72
+ ),
73
+ 'style' => array(
74
+ 'type' => true,
75
+ ),
76
+ );
77
+
78
+ $label_allowed_tags = array_merge( wp_kses_allowed_html( 'post' ), $label_extra_allowed_tags );
79
+ $label_allowed_tags = apply_filters( 'yith_plugin_fw_metabox_label_allowed_tags', $label_allowed_tags, $meta_box_id );
80
+
81
  ?>
82
  <div class="yith-plugin-fw metaboxes-tab <?php echo esc_attr( $classes ); ?>">
83
  <?php do_action( 'yit_before_metaboxes_labels' ); ?>
108
  ?>
109
  <li id="<?php echo esc_attr( $anchor_id ); ?>" class="<?php echo esc_attr( $class ); ?>" <?php echo yith_field_deps_data( $_tab ); ?>>
110
  <a href="#<?php echo esc_attr( urldecode( $key ) ); ?>">
111
+ <?php echo wp_kses( $_tab['label'], $label_allowed_tags ); ?>
 
 
 
 
112
  </a>
113
  </li>
114
  <?php endforeach; ?>
plugin-fw/templates/sysinfo/tabs/main.php CHANGED
@@ -11,6 +11,7 @@ $system_info = get_option( 'yith_system_info' );
11
  $output_ip = YITH_System_Status()->get_output_ip();
12
  $labels = YITH_System_Status()->requirement_labels;
13
  $plugin_fw_info = YITH_System_Status()->get_plugin_fw_info();
 
14
  ?>
15
  <h2>
16
  <?php esc_html_e( 'Site Info', 'yith-plugin-fw' ); ?>
@@ -100,3 +101,73 @@ $plugin_fw_info = YITH_System_Status()->get_plugin_fw_info();
100
  </tr>
101
  <?php endforeach; ?>
102
  </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  $output_ip = YITH_System_Status()->get_output_ip();
12
  $labels = YITH_System_Status()->requirement_labels;
13
  $plugin_fw_info = YITH_System_Status()->get_plugin_fw_info();
14
+ $database_info = YITH_System_Status()->get_database_info();
15
  ?>
16
  <h2>
17
  <?php esc_html_e( 'Site Info', 'yith-plugin-fw' ); ?>
101
  </tr>
102
  <?php endforeach; ?>
103
  </table>
104
+ <?php
105
+ $db_error = version_compare( $database_info['mysql_version'], '5.6', '<' ) && ! strstr( $database_info['mysql_version_string'], 'MariaDB' );
106
+ ?>
107
+ <h2>
108
+ <?php esc_html_e( 'Database Info', 'yith-plugin-fw' ); ?>
109
+ </h2>
110
+ <table class="form-table" role="presentation">
111
+ <tr>
112
+ <th scope="row">
113
+ <?php esc_html_e( 'MySQL version', 'yith-plugin-fw' ); ?>
114
+ </th>
115
+ <td class="requirement-value <?php echo( $db_error ? 'has-errors' : '' ); ?>" style="width:auto!important">
116
+ <span class="dashicons dashicons-<?php echo( $db_error ? 'warning' : 'yes' ); ?>"></span>
117
+ <?php echo esc_attr( $database_info['mysql_version'] . ' - ' . $database_info['mysql_version_string'] ); ?>
118
+ </td>
119
+ <td class="requirement-messages">
120
+ <?php
121
+ if ( $db_error ) {
122
+ /* Translators: %s: Codex link. */
123
+ echo sprintf( esc_html__( 'WordPress recommends a minimum MySQL version of 5.6. See: %s', 'yith-plugin-fw' ), '<a href="https://wordpress.org/about/requirements/" target="_blank">' . esc_html__( 'WordPress requirements', 'yith-plugin-fw' ) . '</a>' );
124
+ }
125
+ ?>
126
+ </td>
127
+ </tr>
128
+ <tr>
129
+ <th scope="row">
130
+ <?php esc_html_e( 'Total Database Size', 'yith-plugin-fw' ); ?>
131
+ </th>
132
+ <td colspan="2">
133
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['data'] + $database_info['database_size']['index'] + $database_info['database_size']['free'] ) ); ?>
134
+ </td>
135
+ </tr>
136
+ <tr>
137
+ <th scope="row">
138
+ <?php esc_html_e( 'Database Data Size', 'yith-plugin-fw' ); ?>
139
+ </th>
140
+ <td colspan="2">
141
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['data'] ) ); ?>
142
+ </td>
143
+ </tr>
144
+ <tr>
145
+ <th scope="row">
146
+ <?php esc_html_e( 'Database Index Size', 'yith-plugin-fw' ); ?>
147
+ </th>
148
+ <td colspan="2">
149
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['index'] ) ); ?>
150
+ </td>
151
+ </tr>
152
+ <tr>
153
+ <th scope="row">
154
+ <?php esc_html_e( 'Database Free Size', 'yith-plugin-fw' ); ?>
155
+ </th>
156
+ <td colspan="2">
157
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['free'] ) ); ?>
158
+ </td>
159
+ </tr>
160
+ <?php foreach ( $database_info['database_tables'] as $table => $table_data ) : ?>
161
+ <tr>
162
+ <th scope="row">
163
+ <?php echo esc_html( $table ); ?>
164
+ </th>
165
+ <td colspan="2">
166
+ <?php
167
+ /* Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s Engine. */
168
+ printf( esc_html__( 'Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s', 'yith-plugin-fw' ), esc_html( number_format( $table_data['data'], 2 ) ), esc_html( number_format( $table_data['index'], 2 ) ), esc_html( number_format( $table_data['free'], 2 ) ), esc_html( $table_data['engine'] ) );
169
+ ?>
170
+ </td>
171
+ </tr>
172
+ <?php endforeach; ?>
173
+ </table>
plugin-fw/yit-functions.php CHANGED
@@ -1107,15 +1107,15 @@ if ( ! function_exists( 'yith_plugin_fw_get_field' ) ) {
1107
  }
1108
 
1109
  if ( ! isset( $field['custom_attributes'] ) ) {
1110
- $field['custom_attributes'] = '';
1111
- } elseif ( is_array( $field['custom_attributes'] ) ) {
1112
- // Let's build custom attributes as string.
1113
- $custom_attributes = array();
1114
- foreach ( $field['custom_attributes'] as $attribute => $attribute_value ) {
1115
- $custom_attributes[] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"';
1116
- }
1117
 
1118
- $field['custom_attributes'] = implode( ' ', $custom_attributes );
 
 
 
 
 
1119
  }
1120
 
1121
  if ( ! isset( $field['default'] ) && isset( $field['std'] ) ) {
@@ -1194,21 +1194,23 @@ if ( ! function_exists( 'yith_plugin_fw_html_data_to_string' ) ) {
1194
  function yith_plugin_fw_html_data_to_string( $data = array(), $echo = false ) {
1195
  $html_data = '';
1196
 
1197
- if ( is_array( $data ) ) {
1198
- foreach ( $data as $key => $value ) {
1199
- $data_attribute = "data-{$key}";
1200
- $data_value = ! is_array( $value ) ? $value : implode( ',', $value );
 
1201
 
1202
- $html_data .= ' ' . esc_attr( $data_attribute ) . '="' . esc_attr( $data_value ) . '"';
 
 
1203
  }
1204
- $html_data .= ' ';
1205
  }
1206
 
1207
  if ( $echo ) {
1208
  echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1209
- } else {
1210
- return $html_data;
1211
  }
 
 
1212
  }
1213
  }
1214
 
@@ -1792,25 +1794,43 @@ if ( ! function_exists( 'yith_plugin_fw_include_fw_template' ) ) {
1792
  if ( ! function_exists( 'yith_plugin_fw_html_attributes_to_string' ) ) {
1793
  /**
1794
  * Transform attributes array to HTML attributes string.
 
 
1795
  *
1796
- * @param array $attributes The array of attributes.
1797
- * @param bool $echo Set to true to print it directly; false otherwise.
1798
  *
1799
  * @return string
1800
  * @since 3.7.0
 
1801
  */
1802
  function yith_plugin_fw_html_attributes_to_string( $attributes = array(), $echo = false ) {
1803
  $html_attributes = '';
1804
 
1805
- if ( is_array( $attributes ) ) {
1806
- $html_attributes = array();
1807
- foreach ( $attributes as $key => $value ) {
1808
- $html_attributes[] = esc_attr( $key ) . '="' . esc_attr( $value ) . '"';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1809
  }
1810
- $html_attributes = implode( ' ', $html_attributes );
1811
  }
1812
 
1813
  if ( $echo ) {
 
1814
  echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1815
  }
1816
 
@@ -1840,9 +1860,6 @@ if ( ! function_exists( 'yith_plugin_fw_get_component' ) ) {
1840
 
1841
  $component = wp_parse_args( $component, $defaults );
1842
 
1843
- $component['html_attributes'] = yith_plugin_fw_html_attributes_to_string( $component['attributes'] );
1844
- $component['html_data'] = yith_plugin_fw_html_data_to_string( $component['data'] );
1845
-
1846
  $component_template = '/components/' . $type . '.php';
1847
 
1848
  if ( ! $echo ) {
@@ -2218,3 +2235,41 @@ if ( ! function_exists( 'yith_plugin_fw_get_post_formatted_name' ) ) {
2218
  return $name;
2219
  }
2220
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1107
  }
1108
 
1109
  if ( ! isset( $field['custom_attributes'] ) ) {
1110
+ $field['custom_attributes'] = array();
1111
+ }
 
 
 
 
 
1112
 
1113
+ if ( is_array( $field['custom_attributes'] ) ) {
1114
+ /**
1115
+ * Convert custom_attributes to string to prevent issues in plugins using them as string in their templates.
1116
+ * todo: remove after checking plugins using custom_attributes as "string" in custom fields templates and as "array" in custom fields options.
1117
+ */
1118
+ $field['custom_attributes'] = yith_plugin_fw_html_attributes_to_string( $field['custom_attributes'] );
1119
  }
1120
 
1121
  if ( ! isset( $field['default'] ) && isset( $field['std'] ) ) {
1194
  function yith_plugin_fw_html_data_to_string( $data = array(), $echo = false ) {
1195
  $html_data = '';
1196
 
1197
+ if ( ! ! $data ) {
1198
+ if ( is_array( $data ) ) {
1199
+ foreach ( $data as $key => $value ) {
1200
+ $data_attribute = "data-{$key}";
1201
+ $data_value = ! is_array( $value ) ? $value : implode( ',', $value );
1202
 
1203
+ $html_data .= ' ' . esc_attr( $data_attribute ) . '="' . esc_attr( $data_value ) . '"';
1204
+ }
1205
+ $html_data .= ' ';
1206
  }
 
1207
  }
1208
 
1209
  if ( $echo ) {
1210
  echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
 
 
1211
  }
1212
+
1213
+ return $html_data;
1214
  }
1215
  }
1216
 
1794
  if ( ! function_exists( 'yith_plugin_fw_html_attributes_to_string' ) ) {
1795
  /**
1796
  * Transform attributes array to HTML attributes string.
1797
+ * If using a string, the attributes will be escaped.
1798
+ * Prefer using arrays.
1799
  *
1800
+ * @param array|string $attributes The attributes.
1801
+ * @param bool $echo Set to true to print it directly; false otherwise.
1802
  *
1803
  * @return string
1804
  * @since 3.7.0
1805
+ * @since 3.8.0 Escaping attributes when using strings; allow value-less attributes by setting value to null.
1806
  */
1807
  function yith_plugin_fw_html_attributes_to_string( $attributes = array(), $echo = false ) {
1808
  $html_attributes = '';
1809
 
1810
+ if ( ! ! $attributes ) {
1811
+ if ( is_string( $attributes ) ) {
1812
+ $parsed_attrs = wp_kses_hair( $attributes, wp_allowed_protocols() );
1813
+ $attributes = array();
1814
+ foreach ( $parsed_attrs as $attr ) {
1815
+ $attributes[ $attr['name'] ] = 'n' === $attr['vless'] ? $attr['value'] : null;
1816
+ }
1817
+ }
1818
+
1819
+ if ( is_array( $attributes ) ) {
1820
+ $html_attributes = array();
1821
+ foreach ( $attributes as $key => $value ) {
1822
+ if ( ! is_null( $value ) ) {
1823
+ $html_attributes[] = esc_attr( $key ) . '="' . esc_attr( $value ) . '"';
1824
+ } else {
1825
+ $html_attributes[] = esc_attr( $key );
1826
+ }
1827
+ }
1828
+ $html_attributes = implode( ' ', $html_attributes );
1829
  }
 
1830
  }
1831
 
1832
  if ( $echo ) {
1833
+ // Already escaped above.
1834
  echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1835
  }
1836
 
1860
 
1861
  $component = wp_parse_args( $component, $defaults );
1862
 
 
 
 
1863
  $component_template = '/components/' . $type . '.php';
1864
 
1865
  if ( ! $echo ) {
2235
  return $name;
2236
  }
2237
  }
2238
+
2239
+ if ( ! function_exists( 'yith_plugin_fw_add_kses_global_attributes' ) ) {
2240
+
2241
+ /**
2242
+ * Add global attributes to a tag in the allowed HTML list.
2243
+ *
2244
+ * @param array $attributes An array of attributes.
2245
+ *
2246
+ * @return array The array of attributes with global attributes added.
2247
+ *
2248
+ * @since 3.8.0
2249
+ */
2250
+ function yith_plugin_fw_add_kses_global_attributes( $attributes ) {
2251
+ $global_attributes = array(
2252
+ 'aria-describedby' => true,
2253
+ 'aria-details' => true,
2254
+ 'aria-label' => true,
2255
+ 'aria-labelledby' => true,
2256
+ 'aria-hidden' => true,
2257
+ 'class' => true,
2258
+ 'id' => true,
2259
+ 'style' => true,
2260
+ 'title' => true,
2261
+ 'role' => true,
2262
+ 'data-*' => true,
2263
+ );
2264
+
2265
+ if ( true === $attributes ) {
2266
+ $attributes = array();
2267
+ }
2268
+
2269
+ if ( is_array( $attributes ) ) {
2270
+ return array_merge( $attributes, $global_attributes );
2271
+ }
2272
+
2273
+ return $attributes;
2274
+ }
2275
+ }
plugin-fw/yit-plugin.php CHANGED
@@ -35,7 +35,6 @@ require_once 'includes/class-yith-debug.php';
35
  require_once 'includes/class-yith-dashboard.php';
36
  require_once 'includes/privacy/class-yith-privacy.php';
37
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
38
- require_once 'includes/promo/yith-promo.php';
39
  require_once 'includes/class-yith-system-status.php';
40
  require_once 'includes/class-yith-post-type-admin.php';
41
 
35
  require_once 'includes/class-yith-dashboard.php';
36
  require_once 'includes/privacy/class-yith-privacy.php';
37
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
 
38
  require_once 'includes/class-yith-system-status.php';
39
  require_once 'includes/class-yith-post-type-admin.php';
40
 
readme.txt CHANGED
@@ -4,12 +4,12 @@ Contributors: yithemes
4
  Tags: yith, woocommerce compare, compare products, product compare, product comparison
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
- Stable tag: 2.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  YITH WooCommerce Compare allows you to compare more products of your shop in one complete table.
12
- WooCommerce Compatible up to 5.7
13
 
14
  == Description ==
15
 
@@ -66,6 +66,11 @@ yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
69
  = 2.6.1 = Released on 27 Sep 2021
70
 
71
  * Update: YITH plugin framework
4
  Tags: yith, woocommerce compare, compare products, product compare, product comparison
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
+ Stable tag: 2.7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  YITH WooCommerce Compare allows you to compare more products of your shop in one complete table.
12
+ WooCommerce Compatible up to 5.8
13
 
14
  == Description ==
15
 
66
 
67
  == Changelog ==
68
 
69
+ = 2.7.0 = Released on 15 Oct 2021
70
+
71
+ * New: support for WooCommerce 5.8
72
+ * Update: YITH plugin framework
73
+
74
  = 2.6.1 = Released on 27 Sep 2021
75
 
76
  * Update: YITH plugin framework