Changeset 3375917
- Timestamp:
- 10/09/2025 05:11:24 PM (6 months ago)
- Location:
- tax-switch-for-woocommerce
- Files:
-
- 98 added
- 6 edited
-
tags/1.5.19 (added)
-
tags/1.5.19/LICENSE.txt (added)
-
tags/1.5.19/README.txt (added)
-
tags/1.5.19/admin (added)
-
tags/1.5.19/admin/class-wdevs-tax-switch-admin.php (added)
-
tags/1.5.19/admin/index.php (added)
-
tags/1.5.19/admin/js (added)
-
tags/1.5.19/admin/js/wdevs-tax-switch-woocommerce.js (added)
-
tags/1.5.19/admin/partials (added)
-
tags/1.5.19/admin/partials/section-wdevs-tax-switch-shortcode.php (added)
-
tags/1.5.19/build (added)
-
tags/1.5.19/build/label (added)
-
tags/1.5.19/build/label/block.json (added)
-
tags/1.5.19/build/label/index-rtl.css (added)
-
tags/1.5.19/build/label/index.asset.php (added)
-
tags/1.5.19/build/label/index.css (added)
-
tags/1.5.19/build/label/index.js (added)
-
tags/1.5.19/build/label/style-index-rtl.css (added)
-
tags/1.5.19/build/label/style-index.css (added)
-
tags/1.5.19/build/label/view.asset.php (added)
-
tags/1.5.19/build/label/view.js (added)
-
tags/1.5.19/build/shared (added)
-
tags/1.5.19/build/shared/shared.asset.php (added)
-
tags/1.5.19/build/shared/shared.js (added)
-
tags/1.5.19/build/switch (added)
-
tags/1.5.19/build/switch/advanced-product-fields-for-woocommerce.asset.php (added)
-
tags/1.5.19/build/switch/advanced-product-fields-for-woocommerce.js (added)
-
tags/1.5.19/build/switch/block.json (added)
-
tags/1.5.19/build/switch/fibofilters.asset.php (added)
-
tags/1.5.19/build/switch/fibofilters.js (added)
-
tags/1.5.19/build/switch/index-rtl.css (added)
-
tags/1.5.19/build/switch/index.asset.php (added)
-
tags/1.5.19/build/switch/index.css (added)
-
tags/1.5.19/build/switch/index.js (added)
-
tags/1.5.19/build/switch/kapee-theme.asset.php (added)
-
tags/1.5.19/build/switch/kapee-theme.js (added)
-
tags/1.5.19/build/switch/product-extras-for-woocommerce.asset.php (added)
-
tags/1.5.19/build/switch/product-extras-for-woocommerce.js (added)
-
tags/1.5.19/build/switch/style-index-rtl.css (added)
-
tags/1.5.19/build/switch/style-index.css (added)
-
tags/1.5.19/build/switch/view.asset.php (added)
-
tags/1.5.19/build/switch/view.js (added)
-
tags/1.5.19/build/switch/woocommerce-measurement-price-calculator.asset.php (added)
-
tags/1.5.19/build/switch/woocommerce-measurement-price-calculator.js (added)
-
tags/1.5.19/build/switch/woocommerce-product-addons.asset.php (added)
-
tags/1.5.19/build/switch/woocommerce-product-addons.js (added)
-
tags/1.5.19/build/switch/woocommerce-quantity-manager.asset.php (added)
-
tags/1.5.19/build/switch/woocommerce-quantity-manager.js (added)
-
tags/1.5.19/build/switch/woocommerce-tiered-price-table.asset.php (added)
-
tags/1.5.19/build/switch/woocommerce-tiered-price-table.js (added)
-
tags/1.5.19/build/switch/woocommerce-tm-extra-product-options.asset.php (added)
-
tags/1.5.19/build/switch/woocommerce-tm-extra-product-options.js (added)
-
tags/1.5.19/build/switch/yith-woocommerce-product-add-ons.asset.php (added)
-
tags/1.5.19/build/switch/yith-woocommerce-product-add-ons.js (added)
-
tags/1.5.19/includes (added)
-
tags/1.5.19/includes/assets (added)
-
tags/1.5.19/includes/assets/css (added)
-
tags/1.5.19/includes/assets/css/wdevs-tax-switch-shared.css (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-activator.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-block-label.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-block-shared.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-block-switch.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-block.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-compatibility.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-deactivator.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-loader.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-mini-cart-context.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch-woocommerce.php (added)
-
tags/1.5.19/includes/class-wdevs-tax-switch.php (added)
-
tags/1.5.19/includes/index.php (added)
-
tags/1.5.19/includes/trait-wdevs-tax-switch-display.php (added)
-
tags/1.5.19/includes/trait-wdevs-tax-switch-helper.php (added)
-
tags/1.5.19/includes/trait-wdevs-tax-switch-plugins.php (added)
-
tags/1.5.19/languages (added)
-
tags/1.5.19/languages/build.json (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-en_US-43dcd1c557291b1a502cbd2ea4d36beb.json (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-en_US-a7d03486c29d1d1d1553c783663175ae.json (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-en_US.l10n.php (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-en_US.mo (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-en_US.po (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-nl_NL-43dcd1c557291b1a502cbd2ea4d36beb.json (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-nl_NL-a7d03486c29d1d1d1553c783663175ae.json (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-nl_NL.l10n.php (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-nl_NL.mo (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-nl_NL.po (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-sv_SE-43dcd1c557291b1a502cbd2ea4d36beb.json (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-sv_SE-a7d03486c29d1d1d1553c783663175ae.json (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-sv_SE.l10n.php (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-sv_SE.mo (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce-sv_SE.po (added)
-
tags/1.5.19/languages/tax-switch-for-woocommerce.pot (added)
-
tags/1.5.19/public (added)
-
tags/1.5.19/public/class-wdevs-tax-switch-public.php (added)
-
tags/1.5.19/public/css (added)
-
tags/1.5.19/public/css/wdevs-tax-switch-public.css (added)
-
tags/1.5.19/public/index.php (added)
-
tags/1.5.19/uninstall.php (added)
-
tags/1.5.19/wdevs-tax-switch.php (added)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/build/label/block.json (modified) (1 diff)
-
trunk/build/switch/block.json (modified) (1 diff)
-
trunk/build/switch/view.asset.php (modified) (1 diff)
-
trunk/build/switch/view.js (modified) (1 diff)
-
trunk/wdevs-tax-switch.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tax-switch-for-woocommerce/trunk/README.txt
r3374836 r3375917 4 4 Requires at least: 5.0 5 5 Tested up to: 6.8 6 Stable tag: 1.5.1 86 Stable tag: 1.5.19 7 7 Requires PHP: 7.2 8 8 License: GPL-2.0+ … … 176 176 * Kapee 177 177 * Entr 178 * Woodmart 178 179 179 180 The following plugins have been tested and confirmed compatible: … … 233 234 234 235 == Changelog == 236 = 1.5.19 = 237 * Added PJAX compatibility for themes using jquery-pjax (e.g. WoodMart theme) 238 235 239 = 1.5.18 = 236 240 * Fixed incorrect tax calculation for variation products loaded via AJAX -
tax-switch-for-woocommerce/trunk/build/label/block.json
r3374836 r3375917 3 3 "apiVersion": 3, 4 4 "name": "wdevs/tax-switch-label", 5 "version": "1.5.1 8",5 "version": "1.5.19", 6 6 "title": "Tax Switch text label", 7 7 "category": "woocommerce", -
tax-switch-for-woocommerce/trunk/build/switch/block.json
r3374836 r3375917 3 3 "apiVersion": 3, 4 4 "name": "wdevs/tax-switch", 5 "version": "1.5.1 8",5 "version": "1.5.19", 6 6 "title": "Tax Switch for WooCommerce", 7 7 "category": "woocommerce", -
tax-switch-for-woocommerce/trunk/build/switch/view.asset.php
r3336052 r3375917 1 <?php return array('dependencies' => array('jquery', 'react-jsx-runtime', 'wp-data', 'wp-element'), 'version' => ' 45a4d7d27e92a8962cb7');1 <?php return array('dependencies' => array('jquery', 'react-jsx-runtime', 'wp-data', 'wp-element'), 'version' => 'c1ac56f7d40228844590'); -
tax-switch-for-woocommerce/trunk/build/switch/view.js
r3336052 r3375917 1 (()=>{"use strict";var e,t={87:e=>{e.exports=window.wp.element},143:e=>{e.exports=window.wp.data},617:(e,t,a)=>{var o=a(87),n=a(983),r=a(159);const s=window.jQuery;var i=a.n(s);const c=class{static initialize(e){this.registerWooCommerceEvents(e)}static registerWooCommerceEvents(e){i()(".variations_form").on("show_variation",(function(){setTimeout((function(){r.A.setPriceClasses(e)}),10)})),i()(".variations_form").on("reset_data",(function(){setTimeout((function(){r.A.setPriceClasses(e)}),10)})),i()(document).ajaxSuccess((function(t,a,o){o&&o.data&&["get_variable_product_bulk_table"].some((e=>o.data.includes(e)))&&setTimeout((function(){r.A.setPriceClasses(e)}),10)})),["jet-engine/listing-grid/after-load-more","facetwp-loaded","experimental-flatsome-pjax-request-done","flatsome-relay-request-done","flatsome-infiniteScroll-append","vpd_after_price_fadein","awsShowingResults","wc_fragments_loaded"].forEach((function(t){i()(document).on(t,(function(t,a){r.A.setPriceClasses(e)}))}))}};var l=a(538),d=a(790);let u=!1;const f=()=>{if(!(0,l.I)())return;const e=document.querySelectorAll(".wp-block-wdevs-tax-switch");if(e.length>0){const t=window.wtsViewObject||{originalTaxDisplay:"incl"};(e=>{r.A.setPriceClasses(e.originalTaxDisplay),u||(c.initialize(e.originalTaxDisplay),u=!0)})(t),e.forEach((e=>{e&&((e,t)=>{const a={...e.dataset,...t};(0,o.createRoot)(e).render((0,d.jsx)(o.Suspense,{fallback:(0,d.jsx)("div",{className:"wp-block-placeholder"}),children:(0,d.jsx)(n.A,{...a})}))})(e,t)}))}};window.addEventListener("DOMContentLoaded",(()=>{f()})),document.addEventListener("wdevs-tax-switch-appeared",(()=>{f()}))},790:e=>{e.exports=window.ReactJSXRuntime}},a={};function o(e){var n=a[e];if(void 0!==n)return n.exports;var r=a[e]={exports:{}};return t[e](r,r.exports,o),r.exports}o.m=t,e=[],o.O=(t,a,n,r)=>{if(!a){var s=1/0;for(d=0;d<e.length;d++){for(var[a,n,r]=e[d],i=!0,c=0;c<a.length;c++)(!1&r||s>=r)&&Object.keys(o.O).every((e=>o.O[e](a[c])))?a.splice(c--,1):(i=!1,r<s&&(s=r));if(i){e.splice(d--,1);var l=n();void 0!==l&&(t=l)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[a,n,r]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.j=793,(()=>{var e={793:0};o.O.j=t=>0===e[t];var t=(t,a)=>{var n,r,[s,i,c]=a,l=0;if(s.some((t=>0!==e[t]))){for(n in i)o.o(i,n)&&(o.m[n]=i[n]);if(c)var d=c(o)}for(t&&t(a);l<s.length;l++)r=s[l],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return o.O(d)},a=globalThis.webpackChunkwdevs_tax_switch=globalThis.webpackChunkwdevs_tax_switch||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var n=o.O(void 0,[320],(()=>o(617)));n=o.O(n)})();1 (()=>{"use strict";var e,t={87:e=>{e.exports=window.wp.element},143:e=>{e.exports=window.wp.data},617:(e,t,a)=>{var s=a(87),o=a(983),n=a(159);const r=window.jQuery;var i=a.n(r);const c=class{static initialize(e){this.registerWooCommerceEvents(e)}static registerWooCommerceEvents(e){i()(".variations_form").on("show_variation",(function(){setTimeout((function(){n.A.setPriceClasses(e)}),10)})),i()(".variations_form").on("reset_data",(function(){setTimeout((function(){n.A.setPriceClasses(e)}),10)})),i()(document).ajaxSuccess((function(t,a,s){s&&s.data&&["get_variable_product_bulk_table"].some((e=>s.data.includes(e)))&&setTimeout((function(){n.A.setPriceClasses(e)}),10)})),["jet-engine/listing-grid/after-load-more","facetwp-loaded","experimental-flatsome-pjax-request-done","flatsome-relay-request-done","flatsome-infiniteScroll-append","vpd_after_price_fadein","awsShowingResults","wc_fragments_loaded","pjax:success"].forEach((function(t){i()(document).on(t,(function(t,a){n.A.setPriceClasses(e)}))}))}};var l=a(538),d=a(790);let u=!1;const f=()=>{if(!(0,l.I)())return;const e=document.querySelectorAll(".wp-block-wdevs-tax-switch");if(e.length>0){const t=window.wtsViewObject||{originalTaxDisplay:"incl"};(e=>{n.A.setPriceClasses(e.originalTaxDisplay),u||(c.initialize(e.originalTaxDisplay),u=!0)})(t),e.forEach((e=>{e&&((e,t)=>{const a={...e.dataset,...t};(0,s.createRoot)(e).render((0,d.jsx)(s.Suspense,{fallback:(0,d.jsx)("div",{className:"wp-block-placeholder"}),children:(0,d.jsx)(o.A,{...a})}))})(e,t)}))}};window.addEventListener("DOMContentLoaded",(()=>{f()})),document.addEventListener("wdevs-tax-switch-appeared",(()=>{f()}))},790:e=>{e.exports=window.ReactJSXRuntime}},a={};function s(e){var o=a[e];if(void 0!==o)return o.exports;var n=a[e]={exports:{}};return t[e](n,n.exports,s),n.exports}s.m=t,e=[],s.O=(t,a,o,n)=>{if(!a){var r=1/0;for(d=0;d<e.length;d++){for(var[a,o,n]=e[d],i=!0,c=0;c<a.length;c++)(!1&n||r>=n)&&Object.keys(s.O).every((e=>s.O[e](a[c])))?a.splice(c--,1):(i=!1,n<r&&(r=n));if(i){e.splice(d--,1);var l=o();void 0!==l&&(t=l)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[a,o,n]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.j=793,(()=>{var e={793:0};s.O.j=t=>0===e[t];var t=(t,a)=>{var o,n,[r,i,c]=a,l=0;if(r.some((t=>0!==e[t]))){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);if(c)var d=c(s)}for(t&&t(a);l<r.length;l++)n=r[l],s.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return s.O(d)},a=globalThis.webpackChunkwdevs_tax_switch=globalThis.webpackChunkwdevs_tax_switch||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})();var o=s.O(void 0,[320],(()=>s(617)));o=s.O(o)})(); -
tax-switch-for-woocommerce/trunk/wdevs-tax-switch.php
r3374836 r3375917 17 17 * Plugin URI: https://wijnberg.dev 18 18 * Description: Let customers toggle between inclusive and exclusive VAT pricing in your WooCommerce store. 19 * Version: 1.5.1 819 * Version: 1.5.19 20 20 * Author: Wijnberg Developments 21 21 * Author URI: https://wijnberg.dev/ … … 41 41 * Rename this for your plugin and update it as you release new versions. 42 42 */ 43 define( 'WDEVS_TAX_SWITCH_VERSION', '1.5.1 8' );43 define( 'WDEVS_TAX_SWITCH_VERSION', '1.5.19' ); 44 44 45 45 /**
Note: See TracChangeset
for help on using the changeset viewer.