PluginProbe ʕ •ᴥ•ʔ
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution with eCommerce Templates & Woo Widgets / 4.9.5
ShopEngine Elementor WooCommerce Builder Addon – All in One WooCommerce Solution with eCommerce Templates & Woo Widgets v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 2.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.1 3.0.0 3.1.0 3.1.1 4.0.0 4.0.1 4.1.0 4.1.1 4.2.0 4.2.1 4.3.0 4.3.1 4.4.0 4.5.0 4.5.1 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.6.8 4.6.9 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.7.5 4.7.6 4.7.7 4.7.8 4.7.9 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.8.6 4.8.7 4.8.8 4.8.9 trunk 0.1.2-beta 0.1.3-beta 0.1.4-beta 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.5.0 1.5.1 1.6.0 1.6.1 1.7.0 1.8.0 1.8.1 1.9.0
shopengine / widgets / init / assets / js / editor.js
shopengine / widgets / init / assets / js Last commit date
editor.js 1 week ago jquery-asRange.min.js 5 years ago widgets.js 1 week ago
editor.js
1 lines
1 !function(e,t){"use strict";t.once("document:loaded",(function(){setTimeout((function(){t.reloadPreview()}),0)}))}(jQuery,window.elementor),parent.document.addEventListener("mousedown",(function(e){let t=parent.document.querySelectorAll(".elementor-element--promotion");if(t.length>0)for(let n=0;n<t.length;n++)if(t[n].contains(e.target)){let o=parent.document.querySelector("#elementor-element--promotion__dialog"),i=t[n].querySelector(".icon > i").classList.toString();if(o.querySelectorAll(".shopengine-dialog-buttons-action").forEach((e=>e.remove())),i.indexOf("shopengine")>=0){e.stopImmediatePropagation(),o.querySelectorAll(".dialog-buttons-action:not(.shopengine-dialog-buttons-action)").forEach((e=>e.remove()));let t=document.createElement("a"),n=document.createTextNode("Upgrade ShopEngine");t.setAttribute("href","https://wpmet.com/plugin/shopengine/pricing/"),t.setAttribute("target","_blank"),t.classList.add("dialog-button","dialog-action","dialog-buttons-action","elementor-button","go-pro","elementor-button-success","shopengine-dialog-buttons-action"),t.appendChild(n),o.querySelector(".dialog-buttons-wrapper").appendChild(t)}else{o.querySelectorAll(".dialog-buttons-action:not(.shopengine-dialog-buttons-action)").forEach((e=>e.style.display=""));let e=o.querySelector(".shopengine-dialog-buttons-action");e&&e.remove()}break}})),function(e,t){"use strict";t.once("document:loaded",(function(){t.hooks.addAction("panel/open_editor/widget/shopengine-archive-view-mode",(function(n,o){var i=o.get("settings"),c=t.getPanelView().getCurrentPageView(),a=c.content?c.content.currentView:c,r=i._shopengineClHandlers||(i._shopengineClHandlers={});function l(e,t,n){r[e]&&i.off(t,r[e]),r[e]=n,i.on(t,n)}function s(e,t){var n=Object.keys(t).map((function(e){return"change:"+t[e]})).join(" ");function o(){var n=a.getControlViewByName(e);n&&n.children.each((function(e){var n=t[e.model.get("list_key")];n&&e.$el.toggle(""!==i.get(n))}))}o(),a.on("render:collection",o),l(e,n,o)}function g(){var n=t.$previewContents.find(".shopengine-archive-products--custom-list .shopengine-cl-add-to-cart").find("a.add_to_cart_button, a.product_type_variable, a.product_type_grouped, a.product_type_external"),o=i.get("shopengine_cl_add_to_cart_text");n.each((function(){var t=e(this);t.data("shopengineDefaultText")||t.data("shopengineDefaultText",t.text()),t.text(o||t.data("shopengineDefaultText"))}))}function p(){var n=(i.get("shopengine_cl_title_tag")||"h2").toLowerCase();t.$previewContents.find(".shopengine-archive-products--custom-list .shopengine-cl-title").each((function(){var t=e(this);this.tagName.toLowerCase()!==n&&t.replaceWith(e("<"+n+"></"+n+">").attr("class",t.attr("class")).html(t.html()))}))}function h(){var n=parseInt(i.get("shopengine_cl_excerpt_length"),10)||20;t.$previewContents.find(".shopengine-archive-products--custom-list .shopengine-cl-excerpt[data-shopengine-full-excerpt]").each((function(){var t=e(this),o=t.attr("data-shopengine-full-excerpt").split(/\s+/).filter(Boolean);t.text(o.slice(0,n).join(" "))}))}s("shopengine_cl_ordering_list",{category:"shopengine_cl_show_category",rating:"shopengine_cl_show_rating",excerpt:"shopengine_cl_show_excerpt"}),s("shopengine_cl_action_btns_ordering_list",{"quick-view":"shopengine_cl_show_quickview",wishlist:"shopengine_cl_show_wishlist",comparison:"shopengine_cl_show_comparison","direct-checkout":"shopengine_cl_show_direct_checkout"}),g(),l("shopengine_cl_add_to_cart_text","change:shopengine_cl_add_to_cart_text",g),p(),l("shopengine_cl_title_tag","change:shopengine_cl_title_tag",p),h(),l("shopengine_cl_excerpt_length","change:shopengine_cl_excerpt_length",h)}))}))}(jQuery,window.elementor);