collective-webcomponents
Version:
Stencil Component Starter
5 lines • 4.47 kB
JavaScript
/*!
* Built with http://stenciljs.com
* 2018-05-22T23:08:50
*/
!function(e,o,t,c,n,i,s,r,l,d,u,a,p,m){for((u=e[t]=e[t]||{}).components=l,(p=l.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((a=o.createElement("style")).innerHTML=p.join()+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),o.head.insertBefore(a,o.head.firstChild)),function(e,o,t){(e["s-apps"]=e["s-apps"]||[]).push("CollectiveWebcomponents"),t.componentOnReady||(t.componentOnReady=function(){var o=this;function t(t){if(o.nodeName.indexOf("-")>0){for(var c=e["s-apps"],n=0,i=0;i<c.length;i++)if(e[c[i]].componentOnReady){if(e[c[i]].componentOnReady(o,t))return;n++}if(n<c.length)return void(e["s-cr"]=e["s-cr"]||[]).push([o,t])}t(null)}return e.Promise?new e.Promise(t):{then:t}})}(e,0,d),n=n||u.resourcesUrl,a=(p=o.querySelectorAll("script")).length-1;a>=0&&!(m=p[a]).src&&!m.hasAttribute("data-resources-url");a--);p=m.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&m.src&&(n=(p=m.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"collectivewebcomponents/"),a=o.createElement("script"),function(e,o,t,c){return!(o.search.indexOf("core=esm")>0)&&(!(!(o.search.indexOf("core=es5")>0||"file:"===o.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in t)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,a)?a.src=n+"collectivewebcomponents.xuvztbdv.js":(a.src=n+"collectivewebcomponents.nucpidor.js",a.setAttribute("type","module"),a.setAttribute("crossorigin",!0)),a.setAttribute("data-resources-url",n),a.setAttribute("data-namespace","collectivewebcomponents"),o.head.appendChild(a)}(window,document,"CollectiveWebcomponents",0,0,0,0,0,[["collective-product-cell",{ios:"fscuivwy",md:"ecdd2mbs"},1,[["product",1],["selected",1,0,1,3]]],["collective-products","hf5wg0q6",1,[["columns",1,0,1,4],["element",7],["imageSize",1,0,"image-size",4],["pid",1,0,1,2],["products",1],["showBrand",1,0,"show-brand",3],["showInfoOnHover",1,0,"show-info-on-hover",3],["showPrice",1,0,"show-price",3],["showRetailer",1,0,"show-retailer",3],["showSalePrice",1,0,"show-sale-price",3]]],["collective-products-chooser",{ios:"fscuivwy",md:"ecdd2mbs"},1,[["element",7],["loading",5],["products",5],["searchText",5],["showModal",5],["value",1]]],["collective-products-chooser-button",{ios:"fscuivwy",md:"ecdd2mbs"},1,[["element",7],["showSearch",5],["value",1]]],["collective-widget-product-cell","hf5wg0q6",1,[["imageSize",1,0,"image-size",4],["product",1],["productId",1,0,"product-id",1],["productObject",5],["showBrand",1,0,"show-brand",3],["showInfoOnHover",1,0,"show-info-on-hover",3],["showPrice",1,0,"show-price",3],["showSalePrice",1,0,"show-sale-price",3]]],["ion-button",{ios:"fscuivwy",md:"ecdd2mbs"},1,[["buttonType",2,0,"button-type",2],["color",1,0,1,2],["disabled",1,0,1,3],["el",7],["expand",1,0,1,2],["fill",1,0,1,2],["href",1,0,1,2],["keyFocus",5],["mode",1,0,1,2],["routerDirection",1,0,"router-direction",2],["shape",1,0,1,2],["size",1,0,1,2],["strong",1,0,1,3],["type",1,0,1,2],["win",3,0,0,0,"window"]]],["ion-icon","hmyp3jgr",1,[["ariaLabel",2,0,"aria-label",2],["color",1,0,1,2],["doc",3,0,0,0,"document"],["el",7],["icon",1,0,1,2],["ios",1,0,1,2],["isServer",3,0,0,0,"isServer"],["isVisible",5],["md",1,0,1,2],["mode",3,0,0,0,"mode"],["name",1,0,1,2],["resourcesUrl",3,0,0,0,"resourcesUrl"],["size",1,0,1,2],["src",1,0,1,2],["svgContent",5],["win",3,0,0,0,"window"]],1],["ion-ripple-effect",{ios:"fscuivwy",md:"ecdd2mbs"},1,[["addRipple",6],["doc",3,0,0,0,"document"],["el",7],["enableListener",3,0,0,0,"enableListener"],["queue",3,0,0,0,"queue"],["tapClick",1,0,"tap-click",3]],0,[["mousedown","mouseDown",1,1],["parent:ionActivated","ionActivated",1],["touchstart","touchStart",1,1]]],["ion-searchbar",{ios:"fscuivwy",md:"ecdd2mbs"},1,[["activated",5],["animated",1,0,1,3],["autocomplete",1,0,1,2],["autocorrect",1,0,1,2],["cancelButtonText",1,0,"cancel-button-text",2],["color",1,0,1,2],["debounce",1,0,1,4],["doc",3,0,0,0,"document"],["el",7],["focused",5],["mode",1,0,1,2],["placeholder",1,0,1,2],["showCancelButton",1,0,"show-cancel-button",3],["spellcheck",1,0,1,3],["type",1,0,1,2],["value",2,0,1,2]]],["ion-spinner",{ios:"fscuivwy",md:"ecdd2mbs"},1,[["color",1,0,1,2],["config",3,0,0,0,"config"],["duration",1,0,1,4],["mode",1,0,1,2],["name",1,0,1,2],["paused",1,0,1,3]]]],HTMLElement.prototype);