@icanbwell/composite 1.545.0 → 1.547.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[]).push([[964],{5964:(F,d,n)=>{n.r(d),n.d(d,{DefaultErrorBoundaryFallback:()=>v});function l(r,t,o,e){if(o==="a"&&!e)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?r!==t||!e:!t.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return o==="m"?e:o==="a"?e.call(r):e?e.value:t.get(r)}var u=n(934);const f="Looks like something went wrong when loading this page. Please try refreshing it.",h=r=>f;var c=n(9226);function C(r){var t;let o=h(c.ErrorCode.UNKNOWN),e=c.ErrorCode.UNKNOWN;return r instanceof u.b&&(e=(t=r.errorCode)!==null&&t!==void 0?t:e,o=h()),{message:o,errorCode:e}}var b=n(1827),a,i,g;const m="bwell-error-component";class w extends HTMLElement{static get observedAttributes(){return["message"]}constructor(){super(),a.add(this),this.attachShadow({mode:"open"})}connectedCallback(){var t,o;const{message:e}=C(),s=l(this,a,"m",g).call(this);this.shadowRoot.appendChild(s),l(this,a,"m",i).call(this,"message",this.getAttribute("message")||e),(o=(t=this.shadowRoot)===null||t===void 0?void 0:t.getElementById("refresh"))===null||o===void 0||o.addEventListener("click",()=>{this.resetError()})}attributeChangedCallback(t,o,e){l(this,a,"m",i).call(this,t,e)}resetError(){b.b.reloadView()}}a=new WeakSet,i=function(t,o){var e;const s=(e=this.shadowRoot)===null||e===void 0?void 0:e.getElementById(t);s&&(s.innerHTML=o)},g=function(){var t,o;let e=(o=(t=document.getElementById("bwell-custom-error-template"))===null||t===void 0?void 0:t.content)===null||o===void 0?void 0:o.cloneNode(!0);return e||(e=document.createElement("article"),e.innerHTML=`
1
+ "use strict";(globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[]).push([[279],{3279:(F,d,n)=>{n.r(d),n.d(d,{DefaultErrorBoundaryFallback:()=>v});function l(r,t,o,e){if(o==="a"&&!e)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?r!==t||!e:!t.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return o==="m"?e:o==="a"?e.call(r):e?e.value:t.get(r)}var u=n(934);const f="Looks like something went wrong when loading this page. Please try refreshing it.",h=r=>f;var c=n(9226);function C(r){var t;let o=h(c.ErrorCode.UNKNOWN),e=c.ErrorCode.UNKNOWN;return r instanceof u.b&&(e=(t=r.errorCode)!==null&&t!==void 0?t:e,o=h()),{message:o,errorCode:e}}var b=n(1827),a,i,g;const m="bwell-error-component";class w extends HTMLElement{static get observedAttributes(){return["message"]}constructor(){super(),a.add(this),this.attachShadow({mode:"open"})}connectedCallback(){var t,o;const{message:e}=C(),s=l(this,a,"m",g).call(this);this.shadowRoot.appendChild(s),l(this,a,"m",i).call(this,"message",this.getAttribute("message")||e),(o=(t=this.shadowRoot)===null||t===void 0?void 0:t.getElementById("refresh"))===null||o===void 0||o.addEventListener("click",()=>{this.resetError()})}attributeChangedCallback(t,o,e){l(this,a,"m",i).call(this,t,e)}resetError(){b.b.reloadView()}}a=new WeakSet,i=function(t,o){var e;const s=(e=this.shadowRoot)===null||e===void 0?void 0:e.getElementById(t);s&&(s.innerHTML=o)},g=function(){var t,o;let e=(o=(t=document.getElementById("bwell-custom-error-template"))===null||t===void 0?void 0:t.content)===null||o===void 0?void 0:o.cloneNode(!0);return e||(e=document.createElement("article"),e.innerHTML=`
2
2
  <style>
3
3
  :host {
4
4
  --background: #FFFFFF;