@bruit/component
Advanced tools
Comparing version 0.4.0 to 0.4.1
/*! | ||
* Built with http://stenciljs.com | ||
* 2018-11-16T10:43:08 | ||
* 2018-11-16T11:03:40 | ||
*/ | ||
!function(e,t,r,n,i,s,o,u,c,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML="bruit-io{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var n=e["s-apps"],i=0,s=0;s<n.length;s++)if(e[n[s]].componentOnReady){if(e[n[s]].componentOnReady(t,r))return;i++}if(i<n.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&h.src&&(i=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,n){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"bruit.wttbevx2.js":(d.src=i+"bruit.fhnzvs9e.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype); | ||
!function(e,t,r,i,n,s,o,c,u,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML="bruit-io{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var i=e["s-apps"],n=0,s=0;s<i.length;s++)if(e[i[s]].componentOnReady){if(e[i[s]].componentOnReady(t,r))return;n++}if(n<i.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,i){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"bruit.8ikjtj8l.js":(d.src=n+"bruit.bhhfghec.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype); |
@@ -58,3 +58,3 @@ import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type'; | ||
} | ||
this._haveInnerElement = !!this.bruitElement.innerHTML; | ||
this._haveInnerElement = !!this.bruitElement.innerHTML ? !!this.bruitElement.innerHTML.trim() : false; | ||
} | ||
@@ -61,0 +61,0 @@ newFeedback() { |
// bruit: Host Data, ES Module/es2017 Target | ||
export const BruitIo = ["bruit-io","pd6tgfyw",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]]; | ||
export const BruitIo = ["bruit-io","uizkjbgu",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]]; |
// bruit: Host Data, ES Module/es5 Target | ||
export var BruitIo = ["bruit-io","pd6tgfyw",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]]; | ||
export var BruitIo = ["bruit-io","uizkjbgu",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]]; |
{ | ||
"name": "@bruit/component", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "send your feedbacks with bruit.io", | ||
@@ -5,0 +5,0 @@ "private": false, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2299564