Changeset 2777405
- Timestamp:
- 08/29/2022 08:35:22 PM (4 years ago)
- Location:
- wpappsdev-pcbuilder/trunk
- Files:
-
- 8 edited
-
assets/js/wpadpcbu-public.js (modified) (1 diff)
-
includes/Admin/Settings.php (modified) (1 diff)
-
includes/Ajax.php (modified) (2 diffs)
-
includes/Helper/BuilderManager.php (modified) (1 diff)
-
includes/functions-helper.php (modified) (3 diffs)
-
languages/wpappsdev-pcbuilder.pot (modified) (20 diffs)
-
readme.txt (modified) (2 diffs)
-
wpappsdev-pcbuilder.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpappsdev-pcbuilder/trunk/assets/js/wpadpcbu-public.js
r2736642 r2777405 1 (()=>{var e={306:function(e){!function(t){"use strict";var n=function(){return{escape:function(e){return e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")},parseExtension:t,mimeType:function(e){var n=t(e).toLowerCase();return(r="application/font-woff",o="image/jpeg",{woff:r,woff2:r,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:o,jpeg:o,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"})[n]||"";var r,o},dataAsUrl:function(e,t){return"data:"+t+";base64,"+e},isDataUrl:function(e){return-1!==e.search(/^(data:)/)},canvasToBlob:function(e){return e.toBlob?new Promise((function(t){e.toBlob(t)})):function(e){return new Promise((function(t){for(var n=window.atob(e.toDataURL().split(",")[1]),r=n.length,o=new Uint8Array(r),c=0;c<r;c++)o[c]=n.charCodeAt(c);t(new Blob([o],{type:"image/png"}))}))}(e)},resolveUrl:function(e,t){var n=document.implementation.createHTMLDocument(),r=n.createElement("base");n.head.appendChild(r);var o=n.createElement("a");return n.body.appendChild(o),r.href=t,o.href=e,o.href},getAndEncode:function(e){var t=3e4;a.impl.options.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());return new Promise((function(n){var r,o=new XMLHttpRequest;if(o.onreadystatechange=i,o.ontimeout=u,o.responseType="blob",o.timeout=t,o.open("GET",e,!0),o.send(),a.impl.options.imagePlaceholder){var c=a.impl.options.imagePlaceholder.split(/,/);c&&c[1]&&(r=c[1])}function i(){if(4===o.readyState)if(200===o.status){var t=new FileReader;t.onloadend=function(){var e=t.result.split(/,/)[1];n(e)},t.readAsDataURL(o.response)}else r?n(r):p("cannot fetch resource: "+e+", status: "+o.status)}function u(){r?n(r):p("timeout of "+t+"ms occured while fetching resource: "+e)}function p(e){console.error(e),n("")}}))},uid:(e=0,function(){return"u"+t()+e++;function t(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}),delay:function(e){return function(t){return new Promise((function(n){setTimeout((function(){n(t)}),e)}))}},asArray:function(e){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t},escapeXhtml:function(e){return e.replace(/#/g,"%23").replace(/\n/g,"%0A")},makeImage:function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src=e}))},width:function(e){var t=n(e,"border-left-width"),r=n(e,"border-right-width");return e.scrollWidth+t+r},height:function(e){var t=n(e,"border-top-width"),r=n(e,"border-bottom-width");return e.scrollHeight+t+r}};var e;function t(e){var t=/\.([^\.\/]*?)$/g.exec(e);return t?t[1]:""}function n(e,t){var n=window.getComputedStyle(e).getPropertyValue(t);return parseFloat(n.replace("px",""))}}(),r=function(){var e=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:function(e,n,c){return i()?Promise.resolve(e):Promise.resolve(e).then(r).then((function(t){var r=Promise.resolve(e);return t.forEach((function(e){r=r.then((function(t){return o(t,e,n,c)}))})),r}));function i(){return!t(e)}},shouldProcess:t,impl:{readUrls:r,inline:o}};function t(t){return-1!==t.search(e)}function r(t){for(var r,o=[];null!==(r=e.exec(t));)o.push(r[1]);return o.filter((function(e){return!n.isDataUrl(e)}))}function o(e,t,r,o){return Promise.resolve(t).then((function(e){return r?n.resolveUrl(e,r):e})).then(o||n.getAndEncode).then((function(e){return n.dataAsUrl(e,n.mimeType(t))})).then((function(r){return e.replace(function(e){return new RegExp("(url\\(['\"]?)("+n.escape(e)+")(['\"]?\\))","g")}(t),"$1"+r+"$3")}))}}(),o=function(){return{resolveAll:function(){return e(document).then((function(e){return Promise.all(e.map((function(e){return e.resolve()})))})).then((function(e){return e.join("\n")}))},impl:{readAll:e}};function e(){return Promise.resolve(n.asArray(document.styleSheets)).then((function(e){var t=[];return e.forEach((function(e){try{n.asArray(e.cssRules||[]).forEach(t.push.bind(t))}catch(t){console.log("Error while reading CSS rules from "+e.href,t.toString())}})),t})).then((function(e){return e.filter((function(e){return e.type===CSSRule.FONT_FACE_RULE})).filter((function(e){return r.shouldProcess(e.style.getPropertyValue("src"))}))})).then((function(t){return t.map(e)}));function e(e){return{resolve:function(){var t=(e.parentStyleSheet||{}).href;return r.inlineAll(e.cssText,t)},src:function(){return e.style.getPropertyValue("src")}}}}}(),c=function(){return{inlineAll:function t(o){return o instanceof Element?c(o).then((function(){return o instanceof HTMLImageElement?e(o).inline():Promise.all(n.asArray(o.childNodes).map((function(e){return t(e)})))})):Promise.resolve(o);function c(e){var t=e.style.getPropertyValue("background");return t?r.inlineAll(t).then((function(t){e.style.setProperty("background",t,e.style.getPropertyPriority("background"))})).then((function(){return e})):Promise.resolve(e)}},impl:{newImage:e}};function e(e){return{inline:function(t){return n.isDataUrl(e.src)?Promise.resolve():Promise.resolve(e.src).then(t||n.getAndEncode).then((function(t){return n.dataAsUrl(t,n.mimeType(e.src))})).then((function(t){return new Promise((function(n,r){e.onload=n,e.onerror=r,e.src=t}))}))}}}}(),i={imagePlaceholder:void 0,cacheBust:!1},a={toSvg:u,toPng:function(e,t){return p(e,t||{}).then((function(e){return e.toDataURL()}))},toJpeg:function(e,t){return p(e,t=t||{}).then((function(e){return e.toDataURL("image/jpeg",t.quality||1)}))},toBlob:function(e,t){return p(e,t||{}).then(n.canvasToBlob)},toPixelData:function(e,t){return p(e,t||{}).then((function(t){return t.getContext("2d").getImageData(0,0,n.width(e),n.height(e)).data}))},impl:{fontFaces:o,images:c,util:n,inliner:r,options:{}}};function u(e,t){return function(e){void 0===e.imagePlaceholder?a.impl.options.imagePlaceholder=i.imagePlaceholder:a.impl.options.imagePlaceholder=e.imagePlaceholder;void 0===e.cacheBust?a.impl.options.cacheBust=i.cacheBust:a.impl.options.cacheBust=e.cacheBust}(t=t||{}),Promise.resolve(e).then((function(e){return l(e,t.filter,!0)})).then(s).then(d).then((function(e){t.bgcolor&&(e.style.backgroundColor=t.bgcolor);t.width&&(e.style.width=t.width+"px");t.height&&(e.style.height=t.height+"px");t.style&&Object.keys(t.style).forEach((function(n){e.style[n]=t.style[n]}));return e})).then((function(r){return function(e,t,r){return Promise.resolve(e).then((function(e){return e.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(e)})).then(n.escapeXhtml).then((function(e){return'<foreignObject x="0" y="0" width="100%" height="100%">'+e+"</foreignObject>"})).then((function(e){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+r+'">'+e+"</svg>"})).then((function(e){return"data:image/svg+xml;charset=utf-8,"+e}))}(r,t.width||n.width(e),t.height||n.height(e))}))}function p(e,t){return u(e,t).then(n.makeImage).then(n.delay(100)).then((function(r){var o=function(e){var r=document.createElement("canvas");if(r.width=t.width||n.width(e),r.height=t.height||n.height(e),t.bgcolor){var o=r.getContext("2d");o.fillStyle=t.bgcolor,o.fillRect(0,0,r.width,r.height)}return r}(e);return o.getContext("2d").drawImage(r,0,0),o}))}function l(e,t,r){return r||!t||t(e)?Promise.resolve(e).then((function(e){return e instanceof HTMLCanvasElement?n.makeImage(e.toDataURL()):e.cloneNode(!1)})).then((function(r){return function(e,t,r){var o=e.childNodes;return 0===o.length?Promise.resolve(t):c(t,n.asArray(o),r).then((function(){return t}));function c(e,t,n){var r=Promise.resolve();return t.forEach((function(t){r=r.then((function(){return l(t,n)})).then((function(t){t&&e.appendChild(t)}))})),r}}(e,r,t)})).then((function(t){return function(e,t){return t instanceof Element?Promise.resolve().then(r).then(o).then(c).then(i).then((function(){return t})):t;function r(){function r(e,t){function r(e,t){n.asArray(e).forEach((function(n){t.setProperty(n,e.getPropertyValue(n),e.getPropertyPriority(n))}))}e.cssText?t.cssText=e.cssText:r(e,t)}r(window.getComputedStyle(e),t.style)}function o(){function r(r){var o=window.getComputedStyle(e,r),c=o.getPropertyValue("content");if(""!==c&&"none"!==c){var i=n.uid();t.className=t.className+" "+i;var a=document.createElement("style");a.appendChild(u(i,r,o)),t.appendChild(a)}function u(e,t,r){var o="."+e+":"+t,c=r.cssText?i(r):a(r);return document.createTextNode(o+"{"+c+"}");function i(e){var t=e.getPropertyValue("content");return e.cssText+" content: "+t+";"}function a(e){return n.asArray(e).map(t).join("; ")+";";function t(t){return t+": "+e.getPropertyValue(t)+(e.getPropertyPriority(t)?" !important":"")}}}}[":before",":after"].forEach((function(e){r(e)}))}function c(){e instanceof HTMLTextAreaElement&&(t.innerHTML=e.value),e instanceof HTMLInputElement&&t.setAttribute("value",e.value)}function i(){t instanceof SVGElement&&(t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t instanceof SVGRectElement&&["width","height"].forEach((function(e){var n=t.getAttribute(e);n&&t.style.setProperty(e,n)})))}}(e,t)})):Promise.resolve()}function s(e){return o.resolveAll().then((function(t){var n=document.createElement("style");return e.appendChild(n),n.appendChild(document.createTextNode(t)),e}))}function d(e){return c.inlineAll(e).then((function(){return e}))}e.exports=a}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var c=t[r]={exports:{}};return e[r].call(c.exports,c,c.exports,n),c.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,o,c,i,a,u,p,l,s,d=n(306),f=n.n(d);e=jQuery,r=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";"hide"==n?e(t).waitMe("hide"):e(t).waitMe({effect:"ios"})},o=function(){var t=[];return e.each(e(".wpadpcbu-filter-panel input[type='checkbox']:checked"),(function(){t.push({tax:e(this).data("tax"),val:e(this).val()})})),t},c=function(){return e("#input-search").val()},i=function(){return e("#input-sort option:selected").val()},a=function(){return e("input.wpadpcbu-price-start").val()},u=function(){return e("input.wpadpcbu-price-end").val()},p=function(t){var n=".wpadpcbu-component-products";e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:t,beforeSend:function(){r(n)},success:function(t){if(t.success){var o=t.data;e("#wpadpcbu-products-row").html(o.markup),l(o)}else"pcbucomp"==t.data.type&&(window.location.href=wpadpcbu_public.builder);r(n,"hide")}})},l=function(t){var n=t.total_items,r=t.total_pages,o=t.current_page,c=t.per_page;e(".pagination-button").hide(),r>o&&e("#next-btn").show(),o>1&&o<=r&&e("#previous-btn").show(),1==r&&e(".wpadpcbu-pagination").addClass("no-pagination"),e("span.total-products").text(n),e("span.total-pages").text(r),e("span.current-page").text(o),e('input[name="total_items"]').val(n),e('input[name="total_pages"]').val(r),e('input[name="per_page"]').val(c),e('input[name="current_page"]').val(o)},s=function(e,n){clearTimeout(t);var r={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:c(),sortByFilter:i(),priceStart:e,priceEnd:n,_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(r)}),1e3)},jQuery(document).ready((function(e){e(".wpadpcbu-search-product").on("click",(function(e){e.preventDefault();var t=jQuery(this).data("componentid");window.location.assign(wpadpcbu_public.search+"?pcbucomp="+t)})),e(".wpadpcbu-remove-product").on("click",(function(t){t.preventDefault();var n=e(this).data("componentid"),o="#componentid-"+n,c={action:"remove_component_product",componentId:n,_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:c,beforeSend:function(){r(o)},success:function(e){e.success?location.reload():console.debug(e),r(o,"hide")}})})),e(".wpadpcbu-product-cart").on("click",(function(t){t.preventDefault();var n=".wpadpcbu-component-table table",o={action:"add_components_product_to_cart",_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:o,beforeSend:function(){r(n)},success:function(t){if(t.success)e(document.body).trigger("wc_fragment_refresh") ;else{var o=t.data;"missing-component"==o.type&&o.missing.forEach((function(t){e("#componentid-"+t+" .required-span").addClass("missing")})),alert(t.data.message)}r(n,"hide")}})})),e(".wpadpcbu-save").on("click",(function(t){t.preventDefault();var n=".wpadpcbu-component-table table",o={action:"pcbuilder_configuration_save",_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:o,beforeSend:function(){r(n)},success:function(t){if(t.success)window.location.assign(t.data.url);else{var o=t.data;"missing-component"==o.type&&o.missing.forEach((function(t){e("#componentid-"+t+" .required-span").addClass("missing")})),alert(o.message)}r(n,"hide")}})})),e(".wpadpcbu-remove-savedpc").on("click",(function(t){t.preventDefault();var n={action:"remove_savedpc",pcId:e(this).data("id"),_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:n,beforeSend:function(){r(".my_account_savedpcs")},success:function(e){e.success?location.reload():console.debug(e),r(".my_account_savedpcs","hide")}})})),e(".wpadpcbu-screenshots").on("click",(function(e){e.preventDefault();var t=document.getElementById("wpadpcbu-component"),n=new Date,r="Pc Configuration "+n.toDateString()+" "+n.toLocaleTimeString();f().toJpeg(t).then((function(e){var t=document.createElement("a");t.download=r+".jpeg",t.href=e,t.click()}))}))})),jQuery(document).ready((function(e){e(".bclink").on("click",(function(e){e.preventDefault();var t=jQuery(this).data("page");"builder"==t&&window.location.assign(wpadpcbu_public.builder),"search"==t&&location.reload()})),e("#filter-hide").on("click",(function(t){t.preventDefault(),e(this).hide(),e("#wpadpcbu-search-filter").hide(),e("#filter-show").show()})),e("#filter-show").on("click",(function(t){t.preventDefault(),e(this).hide(),e("#wpadpcbu-search-filter").show(),e("#filter-hide").show()})),e(".back-button").on("click",(function(e){e.preventDefault(),window.location.assign(wpadpcbu_public.builder)})),e(".filter-group .toggler").on("click",(function(t){t.preventDefault();var n=jQuery(this).data("group");e("#fgp-"+n).toggleClass("show")})),e("body").on("click",".wpadpcbu-actions .choose",(function(t){t.preventDefault();var n=jQuery(this).data("componentid"),o=jQuery(this).data("productid"),c="#component-product-"+o,i={action:"add_component_product",componentId:n,productId:o,_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:i,beforeSend:function(){r(c)},success:function(e){e.success?window.location.href=wpadpcbu_public.builder:console.debug(e),r(c,"hide")}})})),e("input[type='checkbox']").click((function(){clearTimeout(t);var e={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:c(),sortByFilter:i(),priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(e)}),1e3)})),e("#input-sort").on("change",(function(n){n.preventDefault(),clearTimeout(t);var r=e(this).val(),i={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:c(),sortByFilter:r,priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(i)}),1e3)})),e("#input-search").keyup((function(n){n.preventDefault(),clearTimeout(t);var r=e(this).val(),c={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:r,sortByFilter:i(),priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(c)}),1e3)})),e(".pagination-button").on("click",(function(t){t.preventDefault();var n=jQuery(this).data("pagination"),r=e('input[name="current_page"]').val(),l=r;"next"==n&&(l=parseInt(r)+1),"prev"==n&&(l=parseInt(r)-1);var s={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,paged:l,taxFilters:o(),searchFilter:c(),sortByFilter:i(),priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};p(s)}))})),jQuery(document).ready((function(e){var t,n=e(".wpadpcbu-price-range"),r=e(".wpadpcbu-price-start"),o=e(".wpadpcbu-price-end"),c=wpadpcbu_public.start_range,i=wpadpcbu_public.end_range,p=0,l=0;function d(e){p=e.from,l=e.to,r.prop("value",p),o.prop("value",l),s(p,l)}n.ionRangeSlider({skin:"round",type:"double",min:c,max:i,from:c,to:i,onStart:d,onChange:d}),t=n.data("ionRangeSlider"),r.on("input",(function(){var n=e(this).prop("value");n<c?n=c:n>l&&(n=l),t.update({from:n}),""!=n&&s(n,u())})),o.on("input",(function(){var n=e(this).prop("value");n<p?n=p:n>i&&(n=i),t.update({to:n}),""!=n&&s(a(),n)}))}))})()})();1 (()=>{var e={306:function(e){!function(t){"use strict";var n=function(){return{escape:function(e){return e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")},parseExtension:t,mimeType:function(e){var n=t(e).toLowerCase();return(r="application/font-woff",o="image/jpeg",{woff:r,woff2:r,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:o,jpeg:o,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"})[n]||"";var r,o},dataAsUrl:function(e,t){return"data:"+t+";base64,"+e},isDataUrl:function(e){return-1!==e.search(/^(data:)/)},canvasToBlob:function(e){return e.toBlob?new Promise((function(t){e.toBlob(t)})):function(e){return new Promise((function(t){for(var n=window.atob(e.toDataURL().split(",")[1]),r=n.length,o=new Uint8Array(r),c=0;c<r;c++)o[c]=n.charCodeAt(c);t(new Blob([o],{type:"image/png"}))}))}(e)},resolveUrl:function(e,t){var n=document.implementation.createHTMLDocument(),r=n.createElement("base");n.head.appendChild(r);var o=n.createElement("a");return n.body.appendChild(o),r.href=t,o.href=e,o.href},getAndEncode:function(e){var t=3e4;a.impl.options.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());return new Promise((function(n){var r,o=new XMLHttpRequest;if(o.onreadystatechange=i,o.ontimeout=u,o.responseType="blob",o.timeout=t,o.open("GET",e,!0),o.send(),a.impl.options.imagePlaceholder){var c=a.impl.options.imagePlaceholder.split(/,/);c&&c[1]&&(r=c[1])}function i(){if(4===o.readyState)if(200===o.status){var t=new FileReader;t.onloadend=function(){var e=t.result.split(/,/)[1];n(e)},t.readAsDataURL(o.response)}else r?n(r):p("cannot fetch resource: "+e+", status: "+o.status)}function u(){r?n(r):p("timeout of "+t+"ms occured while fetching resource: "+e)}function p(e){console.error(e),n("")}}))},uid:(e=0,function(){return"u"+t()+e++;function t(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}),delay:function(e){return function(t){return new Promise((function(n){setTimeout((function(){n(t)}),e)}))}},asArray:function(e){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t},escapeXhtml:function(e){return e.replace(/#/g,"%23").replace(/\n/g,"%0A")},makeImage:function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src=e}))},width:function(e){var t=n(e,"border-left-width"),r=n(e,"border-right-width");return e.scrollWidth+t+r},height:function(e){var t=n(e,"border-top-width"),r=n(e,"border-bottom-width");return e.scrollHeight+t+r}};var e;function t(e){var t=/\.([^\.\/]*?)$/g.exec(e);return t?t[1]:""}function n(e,t){var n=window.getComputedStyle(e).getPropertyValue(t);return parseFloat(n.replace("px",""))}}(),r=function(){var e=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:function(e,n,c){return i()?Promise.resolve(e):Promise.resolve(e).then(r).then((function(t){var r=Promise.resolve(e);return t.forEach((function(e){r=r.then((function(t){return o(t,e,n,c)}))})),r}));function i(){return!t(e)}},shouldProcess:t,impl:{readUrls:r,inline:o}};function t(t){return-1!==t.search(e)}function r(t){for(var r,o=[];null!==(r=e.exec(t));)o.push(r[1]);return o.filter((function(e){return!n.isDataUrl(e)}))}function o(e,t,r,o){return Promise.resolve(t).then((function(e){return r?n.resolveUrl(e,r):e})).then(o||n.getAndEncode).then((function(e){return n.dataAsUrl(e,n.mimeType(t))})).then((function(r){return e.replace(function(e){return new RegExp("(url\\(['\"]?)("+n.escape(e)+")(['\"]?\\))","g")}(t),"$1"+r+"$3")}))}}(),o=function(){return{resolveAll:function(){return e(document).then((function(e){return Promise.all(e.map((function(e){return e.resolve()})))})).then((function(e){return e.join("\n")}))},impl:{readAll:e}};function e(){return Promise.resolve(n.asArray(document.styleSheets)).then((function(e){var t=[];return e.forEach((function(e){try{n.asArray(e.cssRules||[]).forEach(t.push.bind(t))}catch(t){console.log("Error while reading CSS rules from "+e.href,t.toString())}})),t})).then((function(e){return e.filter((function(e){return e.type===CSSRule.FONT_FACE_RULE})).filter((function(e){return r.shouldProcess(e.style.getPropertyValue("src"))}))})).then((function(t){return t.map(e)}));function e(e){return{resolve:function(){var t=(e.parentStyleSheet||{}).href;return r.inlineAll(e.cssText,t)},src:function(){return e.style.getPropertyValue("src")}}}}}(),c=function(){return{inlineAll:function t(o){return o instanceof Element?c(o).then((function(){return o instanceof HTMLImageElement?e(o).inline():Promise.all(n.asArray(o.childNodes).map((function(e){return t(e)})))})):Promise.resolve(o);function c(e){var t=e.style.getPropertyValue("background");return t?r.inlineAll(t).then((function(t){e.style.setProperty("background",t,e.style.getPropertyPriority("background"))})).then((function(){return e})):Promise.resolve(e)}},impl:{newImage:e}};function e(e){return{inline:function(t){return n.isDataUrl(e.src)?Promise.resolve():Promise.resolve(e.src).then(t||n.getAndEncode).then((function(t){return n.dataAsUrl(t,n.mimeType(e.src))})).then((function(t){return new Promise((function(n,r){e.onload=n,e.onerror=r,e.src=t}))}))}}}}(),i={imagePlaceholder:void 0,cacheBust:!1},a={toSvg:u,toPng:function(e,t){return p(e,t||{}).then((function(e){return e.toDataURL()}))},toJpeg:function(e,t){return p(e,t=t||{}).then((function(e){return e.toDataURL("image/jpeg",t.quality||1)}))},toBlob:function(e,t){return p(e,t||{}).then(n.canvasToBlob)},toPixelData:function(e,t){return p(e,t||{}).then((function(t){return t.getContext("2d").getImageData(0,0,n.width(e),n.height(e)).data}))},impl:{fontFaces:o,images:c,util:n,inliner:r,options:{}}};function u(e,t){return function(e){void 0===e.imagePlaceholder?a.impl.options.imagePlaceholder=i.imagePlaceholder:a.impl.options.imagePlaceholder=e.imagePlaceholder;void 0===e.cacheBust?a.impl.options.cacheBust=i.cacheBust:a.impl.options.cacheBust=e.cacheBust}(t=t||{}),Promise.resolve(e).then((function(e){return l(e,t.filter,!0)})).then(s).then(d).then((function(e){t.bgcolor&&(e.style.backgroundColor=t.bgcolor);t.width&&(e.style.width=t.width+"px");t.height&&(e.style.height=t.height+"px");t.style&&Object.keys(t.style).forEach((function(n){e.style[n]=t.style[n]}));return e})).then((function(r){return function(e,t,r){return Promise.resolve(e).then((function(e){return e.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(e)})).then(n.escapeXhtml).then((function(e){return'<foreignObject x="0" y="0" width="100%" height="100%">'+e+"</foreignObject>"})).then((function(e){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+r+'">'+e+"</svg>"})).then((function(e){return"data:image/svg+xml;charset=utf-8,"+e}))}(r,t.width||n.width(e),t.height||n.height(e))}))}function p(e,t){return u(e,t).then(n.makeImage).then(n.delay(100)).then((function(r){var o=function(e){var r=document.createElement("canvas");if(r.width=t.width||n.width(e),r.height=t.height||n.height(e),t.bgcolor){var o=r.getContext("2d");o.fillStyle=t.bgcolor,o.fillRect(0,0,r.width,r.height)}return r}(e);return o.getContext("2d").drawImage(r,0,0),o}))}function l(e,t,r){return r||!t||t(e)?Promise.resolve(e).then((function(e){return e instanceof HTMLCanvasElement?n.makeImage(e.toDataURL()):e.cloneNode(!1)})).then((function(r){return function(e,t,r){var o=e.childNodes;return 0===o.length?Promise.resolve(t):c(t,n.asArray(o),r).then((function(){return t}));function c(e,t,n){var r=Promise.resolve();return t.forEach((function(t){r=r.then((function(){return l(t,n)})).then((function(t){t&&e.appendChild(t)}))})),r}}(e,r,t)})).then((function(t){return function(e,t){return t instanceof Element?Promise.resolve().then(r).then(o).then(c).then(i).then((function(){return t})):t;function r(){function r(e,t){function r(e,t){n.asArray(e).forEach((function(n){t.setProperty(n,e.getPropertyValue(n),e.getPropertyPriority(n))}))}e.cssText?t.cssText=e.cssText:r(e,t)}r(window.getComputedStyle(e),t.style)}function o(){function r(r){var o=window.getComputedStyle(e,r),c=o.getPropertyValue("content");if(""!==c&&"none"!==c){var i=n.uid();t.className=t.className+" "+i;var a=document.createElement("style");a.appendChild(u(i,r,o)),t.appendChild(a)}function u(e,t,r){var o="."+e+":"+t,c=r.cssText?i(r):a(r);return document.createTextNode(o+"{"+c+"}");function i(e){var t=e.getPropertyValue("content");return e.cssText+" content: "+t+";"}function a(e){return n.asArray(e).map(t).join("; ")+";";function t(t){return t+": "+e.getPropertyValue(t)+(e.getPropertyPriority(t)?" !important":"")}}}}[":before",":after"].forEach((function(e){r(e)}))}function c(){e instanceof HTMLTextAreaElement&&(t.innerHTML=e.value),e instanceof HTMLInputElement&&t.setAttribute("value",e.value)}function i(){t instanceof SVGElement&&(t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t instanceof SVGRectElement&&["width","height"].forEach((function(e){var n=t.getAttribute(e);n&&t.style.setProperty(e,n)})))}}(e,t)})):Promise.resolve()}function s(e){return o.resolveAll().then((function(t){var n=document.createElement("style");return e.appendChild(n),n.appendChild(document.createTextNode(t)),e}))}function d(e){return c.inlineAll(e).then((function(){return e}))}e.exports=a}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var c=t[r]={exports:{}};return e[r].call(c.exports,c,c.exports,n),c.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,o,c,i,a,u,p,l,s,d=n(306),f=n.n(d);e=jQuery,r=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";"hide"==n?e(t).waitMe("hide"):e(t).waitMe({effect:"ios"})},o=function(){var t=[];return e.each(e(".wpadpcbu-filter-panel input[type='checkbox']:checked"),(function(){t.push({tax:e(this).data("tax"),val:e(this).val()})})),t},c=function(){return e("#input-search").val()},i=function(){return e("#input-sort option:selected").val()},a=function(){return e("input.wpadpcbu-price-start").val()},u=function(){return e("input.wpadpcbu-price-end").val()},p=function(t){var n=".wpadpcbu-component-products";e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:t,beforeSend:function(){r(n)},success:function(t){if(t.success){var o=t.data;e("#wpadpcbu-products-row").html(o.markup),l(o)}else"pcbucomp"==t.data.type&&(window.location.href=wpadpcbu_public.builder);r(n,"hide")}})},l=function(t){var n=t.total_items,r=t.total_pages,o=t.current_page,c=t.per_page;e(".pagination-button").hide(),r>o&&e("#next-btn").show(),o>1&&o<=r&&e("#previous-btn").show(),1==r&&e(".wpadpcbu-pagination").addClass("no-pagination"),e("span.total-products").text(n),e("span.total-pages").text(r),e("span.current-page").text(o),e('input[name="total_items"]').val(n),e('input[name="total_pages"]').val(r),e('input[name="per_page"]').val(c),e('input[name="current_page"]').val(o)},s=function(e,n){clearTimeout(t);var r={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:c(),sortByFilter:i(),priceStart:e,priceEnd:n,_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(r)}),1e3)},jQuery(document).ready((function(e){e(".wpadpcbu-search-product").on("click",(function(e){e.preventDefault();var t=jQuery(this).data("componentid");window.location.assign(wpadpcbu_public.search+"?pcbucomp="+t)})),e(".wpadpcbu-remove-product").on("click",(function(t){t.preventDefault();var n=e(this).data("componentid"),o="#componentid-"+n,c={action:"remove_component_product",componentId:n,_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:c,beforeSend:function(){r(o)},success:function(e){e.success?location.reload():console.debug(e),r(o,"hide")}})})),e(".wpadpcbu-product-cart").on("click",(function(t){t.preventDefault();var n=".wpadpcbu-component-table table",o={action:"add_components_product_to_cart",_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:o,beforeSend:function(){r(n)},success:function(t){if(t.success)e(document.body).trigger("wc_fragment_refresh"),t.data.redirect&&window.location.assign(t.data.url);else{var o=t.data;"missing-component"==o.type&&o.missing.forEach((function(t){e("#componentid-"+t+" .required-span").addClass("missing")})),alert(t.data.message)}r(n,"hide")}})})),e(".wpadpcbu-save").on("click",(function(t){t.preventDefault();var n=".wpadpcbu-component-table table",o={action:"pcbuilder_configuration_save",_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:o,beforeSend:function(){r(n)},success:function(t){if(t.success)window.location.assign(t.data.url);else{var o=t.data;"missing-component"==o.type&&o.missing.forEach((function(t){e("#componentid-"+t+" .required-span").addClass("missing")})),alert(o.message)}r(n,"hide")}})})),e(".wpadpcbu-remove-savedpc").on("click",(function(t){t.preventDefault();var n={action:"remove_savedpc",pcId:e(this).data("id"),_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:n,beforeSend:function(){r(".my_account_savedpcs")},success:function(e){e.success?location.reload():console.debug(e),r(".my_account_savedpcs","hide")}})})),e(".wpadpcbu-screenshots").on("click",(function(e){e.preventDefault();var t=document.getElementById("wpadpcbu-component"),n=new Date,r="Pc Configuration "+n.toDateString()+" "+n.toLocaleTimeString();f().toJpeg(t).then((function(e){var t=document.createElement("a");t.download=r+".jpeg",t.href=e,t.click()}))}))})),jQuery(document).ready((function(e){e(".bclink").on("click",(function(e){e.preventDefault();var t=jQuery(this).data("page");"builder"==t&&window.location.assign(wpadpcbu_public.builder),"search"==t&&location.reload()})),e("#filter-hide").on("click",(function(t){t.preventDefault(),e(this).hide(),e("#wpadpcbu-search-filter").hide(),e("#filter-show").show()})),e("#filter-show").on("click",(function(t){t.preventDefault(),e(this).hide(),e("#wpadpcbu-search-filter").show(),e("#filter-hide").show()})),e(".back-button").on("click",(function(e){e.preventDefault(),window.location.assign(wpadpcbu_public.builder)})),e(".filter-group .toggler").on("click",(function(t){t.preventDefault();var n=jQuery(this).data("group");e("#fgp-"+n).toggleClass("show")})),e("body").on("click",".wpadpcbu-actions .choose",(function(t){t.preventDefault();var n=jQuery(this).data("componentid"),o=jQuery(this).data("productid"),c="#component-product-"+o,i={action:"add_component_product",componentId:n,productId:o,_nonce:wpadpcbu_public.nonce};e.ajax(wpadpcbu_public.ajaxurl,{method:"post",data:i,beforeSend:function(){r(c)},success:function(e){e.success?window.location.href=wpadpcbu_public.builder:console.debug(e),r(c,"hide")}})})),e("input[type='checkbox']").click((function(){clearTimeout(t);var e={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:c(),sortByFilter:i(),priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(e)}),1e3)})),e("#input-sort").on("change",(function(n){n.preventDefault(),clearTimeout(t);var r=e(this).val(),i={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:c(),sortByFilter:r,priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(i)}),1e3)})),e("#input-search").keyup((function(n){n.preventDefault(),clearTimeout(t);var r=e(this).val(),c={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,taxFilters:o(),searchFilter:r,sortByFilter:i(),priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};t=setTimeout((function(){p(c)}),1e3)})),e(".pagination-button").on("click",(function(t){t.preventDefault();var n=jQuery(this).data("pagination"),r=e('input[name="current_page"]').val(),l=r;"next"==n&&(l=parseInt(r)+1),"prev"==n&&(l=parseInt(r)-1);var s={action:"filter_component_product",pcbucomp:wpadpcbu_public.pcbucomp,paged:l,taxFilters:o(),searchFilter:c(),sortByFilter:i(),priceStart:a(),priceEnd:u(),_nonce:wpadpcbu_public.nonce};p(s)}))})),jQuery(document).ready((function(e){var t,n=e(".wpadpcbu-price-range"),r=e(".wpadpcbu-price-start"),o=e(".wpadpcbu-price-end"),c=wpadpcbu_public.start_range,i=wpadpcbu_public.end_range,p=0,l=0;function d(e){p=e.from,l=e.to,r.prop("value",p),o.prop("value",l),s(p,l)}n.ionRangeSlider({skin:"round",type:"double",min:c,max:i,from:c,to:i,onStart:d,onChange:d}),t=n.data("ionRangeSlider"),r.on("input",(function(){var n=e(this).prop("value");n<c?n=c:n>l&&(n=l),t.update({from:n}),""!=n&&s(n,u())})),o.on("input",(function(){var n=e(this).prop("value");n<p?n=p:n>i&&(n=i),t.update({to:n}),""!=n&&s(a(),n)}))}))})()})(); -
wpappsdev-pcbuilder/trunk/includes/Admin/Settings.php
r2736642 r2777405 156 156 'type' => 'checkbox', 157 157 ], 158 [ 159 'name' => 'wpadpcbu_redirect_checkout_disable', 160 'label' => __( 'Redirect Checkout', 'wpappsdev-pcbuilder' ), 161 'desc' => __( 'Enable redirect to checkout page after product added to cart.', 'wpappsdev-pcbuilder' ), 162 'type' => 'checkbox', 163 ], 158 164 // [ 159 165 // 'name' => 'wpadpcbu_builder_disable_table_column', -
wpappsdev-pcbuilder/trunk/includes/Ajax.php
r2736642 r2777405 272 272 } 273 273 274 if ( wpadpcbu_process()->builder->redirect_checkout_enable() ) { 275 $redirect = true; 276 } else { 277 $redirect = false; 278 } 279 274 280 wp_send_json_success( 275 281 [ 276 'url' => wc_get_checkout_url(), 282 'url' => wc_get_checkout_url(), 283 'redirect' => $redirect, 277 284 ] 278 285 ); … … 306 313 // Get pc builder data from session. 307 314 $pcbu_data = WC()->session->get( 'wpadpcbu_pc_builder_data', [] ); 308 $items = $pcbu_data['items'] ?? [];315 $items = $pcbu_data['items'] ?? []; 309 316 310 317 if ( empty( $items ) ) { -
wpappsdev-pcbuilder/trunk/includes/Helper/BuilderManager.php
r2736642 r2777405 62 62 63 63 /** 64 * Redirect checkout page enable/disable. 65 * 66 * @return bool 67 */ 68 public function redirect_checkout_enable() { 69 $option = wpadpcbu_get_option( 'wpadpcbu_redirect_checkout_disable', 'builder_page_settings', 'off' ); 70 71 if ( 'on' === $option ) { 72 return true; 73 } 74 75 return false; 76 } 77 78 /** 64 79 * Builder page actions list. 65 80 * -
wpappsdev-pcbuilder/trunk/includes/functions-helper.php
r2736642 r2777405 569 569 'orderby' => 'meta_value_num', 570 570 'order' => 'ASC', 571 'hide_empty' => false, 571 572 'meta_query' => [ 572 'relation' => 'AND',573 573 [ 574 574 'key' => 'wpadpcbu_component_serial', … … 579 579 [ 580 580 'key' => 'wpadpcbu_required_component', 581 // 'type' => 'NUMERIC',582 581 'compare' => '=', 583 582 'value' => 'yes', … … 586 585 ]; 587 586 588 $components = get_t ax_terms_list( 'pcbucomp',$args );587 $components = get_terms( $args ); 589 588 590 589 foreach ( $components as $component ) { 591 $component_list[] = (int) $component ['term_id'];590 $component_list[] = (int) $component->term_id; 592 591 } 593 592 -
wpappsdev-pcbuilder/trunk/languages/wpappsdev-pcbuilder.pot
r2736642 r2777405 13 13 "com>\n" 14 14 "POT-Creation-Date: " 15 "2022-0 6-03 01:43+0600\n"15 "2022-08-30 02:07+0600\n" 16 16 "PO-Revision-Date: \n" 17 17 "Last-Translator: Your " … … 133 133 134 134 #: includes/Admin/Settings.php:134 135 #: includes/Admin/Settings.php:18 1135 #: includes/Admin/Settings.php:187 136 136 msgid "Disable Breadcrumb" 137 137 msgstr "" … … 161 161 162 162 #: includes/Admin/Settings.php:147 163 #: includes/Admin/Settings.php:1 87163 #: includes/Admin/Settings.php:193 164 164 msgid "Breadcrumb Title" 165 165 msgstr "" … … 188 188 msgstr "" 189 189 190 #: includes/Admin/Settings.php:175 190 #: includes/Admin/Settings.php:160 191 msgid "Redirect Checkout" 192 msgstr "" 193 194 #: includes/Admin/Settings.php:161 195 msgid "" 196 "Enable redirect to " 197 "checkout page after " 198 "product added to cart." 199 msgstr "" 200 201 #: includes/Admin/Settings.php:181 191 202 msgid "Per Page" 192 203 msgstr "" 193 204 194 #: includes/Admin/Settings.php:18 2205 #: includes/Admin/Settings.php:188 195 206 msgid "" 196 207 "Disable search page " … … 198 209 msgstr "" 199 210 200 #: includes/Admin/Settings.php:1 88211 #: includes/Admin/Settings.php:194 201 212 msgid "" 202 213 "Input breadcrumb section " … … 205 216 msgstr "" 206 217 207 #: includes/Admin/Settings.php:19 0218 #: includes/Admin/Settings.php:196 208 219 #: includes/Helper/SearchManager.php:36 209 220 msgid "" … … 213 224 msgstr "" 214 225 215 #: includes/Admin/Settings.php: 194226 #: includes/Admin/Settings.php:200 216 227 msgid "Disable Top Filter" 217 228 msgstr "" 218 229 219 #: includes/Admin/Settings.php: 195230 #: includes/Admin/Settings.php:201 220 231 msgid "" 221 232 "Disable search page top " … … 223 234 msgstr "" 224 235 225 #: includes/Admin/Settings.php:20 0236 #: includes/Admin/Settings.php:206 226 237 msgid "Price range start" 227 238 msgstr "" 228 239 229 #: includes/Admin/Settings.php:2 06240 #: includes/Admin/Settings.php:212 230 241 msgid "Price range end" 231 242 msgstr "" 232 243 233 #: includes/Admin/Settings.php:2 26244 #: includes/Admin/Settings.php:232 234 245 msgid "Select Page" 235 246 msgstr "" 236 247 237 #: includes/Ajax.php:5 5238 #: includes/Ajax.php: 494248 #: includes/Ajax.php:56 249 #: includes/Ajax.php:524 239 250 msgid "Are you cheating?" 240 251 msgstr "" 241 252 242 #: includes/Ajax.php:7 1253 #: includes/Ajax.php:74 243 254 msgid "" 244 255 "Please select valid PC " … … 246 257 msgstr "" 247 258 248 #: includes/Ajax.php:9 0249 #: includes/Ajax.php:11 2259 #: includes/Ajax.php:94 260 #: includes/Ajax.php:118 250 261 #: wpappsdev-pcbuilder.php:245 251 262 msgid "Configure" 252 263 msgstr "" 253 264 254 #: includes/Ajax.php:9 4265 #: includes/Ajax.php:99 255 266 msgid "" 256 267 "Please assign component " … … 258 269 msgstr "" 259 270 260 #: includes/Ajax.php:1 16271 #: includes/Ajax.php:123 261 272 msgid "" 262 273 "No filter found for this " … … 266 277 msgstr "" 267 278 268 #: includes/Ajax.php:2 48279 #: includes/Ajax.php:256 269 280 msgid "" 270 281 "Please select components " … … 272 283 msgstr "" 273 284 274 #: includes/Ajax.php: 291285 #: includes/Ajax.php:307 275 286 msgid "" 276 287 "You can not save pc " … … 279 290 msgstr "" 280 291 281 #: includes/Ajax.php:3 04292 #: includes/Ajax.php:321 282 293 msgid "" 283 294 "You can not save empty " … … 285 296 msgstr "" 286 297 287 #: includes/Ajax.php:3 33298 #: includes/Ajax.php:350 288 299 msgid "" 289 300 "Something wrong when " … … 291 302 msgstr "" 292 303 293 #: includes/Ajax.php:3 61294 #: includes/Ajax.php:4 08304 #: includes/Ajax.php:378 305 #: includes/Ajax.php:432 295 306 msgid "Invalid nonce." 296 307 msgstr "" 297 308 298 #: includes/Ajax.php:3 73309 #: includes/Ajax.php:391 299 310 msgid "" 300 311 "Saved pc configuration " … … 302 313 msgstr "" 303 314 304 #: includes/Ajax.php: 385315 #: includes/Ajax.php:406 305 316 msgid "" 306 317 "Something wrong when " … … 309 320 msgstr "" 310 321 311 #: includes/Ajax.php:4 18322 #: includes/Ajax.php:444 312 323 msgid "Invalid action." 313 324 msgstr "" 314 325 315 #: includes/Ajax.php:4 28326 #: includes/Ajax.php:456 316 327 msgid "" 317 328 "Invalid component id." 318 329 msgstr "" 319 330 320 #: includes/Ajax.php:5 04331 #: includes/Ajax.php:535 321 332 msgid "" 322 333 "WC session get function " … … 324 335 msgstr "" 325 336 326 #: includes/Ajax.php:5 28337 #: includes/Ajax.php:559 327 338 msgid "" 328 339 "Please select required " … … 431 442 432 443 #: includes/Frontend/CustomerDashboard.php:108 433 #: includes/Helper/BuilderManager.php: 98444 #: includes/Helper/BuilderManager.php:113 434 445 msgid "Image" 435 446 msgstr "" 436 447 437 448 #: includes/Frontend/CustomerDashboard.php:109 438 #: includes/Helper/BuilderManager.php:1 00449 #: includes/Helper/BuilderManager.php:115 439 450 msgid "Price" 440 451 msgstr "" … … 444 455 msgstr "" 445 456 446 #: includes/Helper/BuilderManager.php: 71457 #: includes/Helper/BuilderManager.php:86 447 458 msgid "Add To Cart" 448 459 msgstr "" 449 460 450 #: includes/Helper/BuilderManager.php: 76461 #: includes/Helper/BuilderManager.php:91 451 462 msgid "" 452 463 "Saved PC Configuration" 453 464 msgstr "" 454 465 455 #: includes/Helper/BuilderManager.php: 81466 #: includes/Helper/BuilderManager.php:96 456 467 msgid "Screenshots" 457 468 msgstr "" 458 469 459 #: includes/Helper/BuilderManager.php: 97470 #: includes/Helper/BuilderManager.php:112 460 471 #: templates/dashboard/view-savedpc.php:33 461 472 msgid "Component" 462 473 msgstr "" 463 474 464 #: includes/Helper/BuilderManager.php: 99475 #: includes/Helper/BuilderManager.php:114 465 476 msgid "Product Name" 466 477 msgstr "" 467 478 468 #: includes/Helper/BuilderManager.php:1 01479 #: includes/Helper/BuilderManager.php:116 469 480 msgid "Action" 470 481 msgstr "" -
wpappsdev-pcbuilder/trunk/readme.txt
r2736642 r2777405 7 7 Requires at least: 5.0 8 8 Tested up to: 6.0 9 Version: 1. 1.010 Stable tag: 1. 1.09 Version: 1.2.0 10 Stable tag: 1.2.0 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 98 98 == Changelog == 99 99 100 = 1.2.0 = 101 * Fixed: Required components validation issue. 102 * Added: New settings for redirect checkout page. 103 * Updated: Localization POT file. 104 100 105 = 1.1.0 = 101 106 * Added: Required component functionality. -
wpappsdev-pcbuilder/trunk/wpappsdev-pcbuilder.php
r2736642 r2777405 3 3 * Plugin Name: WPAppsDev - WooCommerce PcBuilder Toolkit 4 4 * Description: Complete PC Components Selling Solution Toolkit for WooCommerce. 5 * Version: 1. 1.05 * Version: 1.2.0 6 6 * Author: Saiful Islam Ananda 7 7 * Author URI: http://saifulananda.me/ … … 9 9 * Text Domain: wpappsdev-pcbuilder 10 10 * Domain Path: /languages 11 * WC tested up to: 6. 511 * WC tested up to: 6.8.2 12 12 */ 13 13
Note: See TracChangeset
for help on using the changeset viewer.