@openremote/or-dashboard-builder 1.30.0-snapshot.20260902114525 → 1.30.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.
package/dist/umd/index.js CHANGED
@@ -4781,7 +4781,7 @@ ${s[0]?s[0]:""}</textarea>`:X` <input
4781
4781
  flex-wrap: wrap;
4782
4782
  position: relative;
4783
4783
  }
4784
- `,uu=tW=class extends aE{constructor(){super(...arguments),this._loading=!0,this._isReady=!1,this._startedByUser=!1,this._refreshTimer=void 0}static getManifest(){return{displayName:"Gateway",displayIcon:"lan-connect",minColumnWidth:1,minColumnHeight:1,getContentHtml:t=>new tW(t),getSettingsHtml:t=>new ul(t),getDefaultConfig:()=>({attributeRefs:[],type:"HTTPS",target:"localhost",targetPort:443})}}refreshContent(t){this.widgetConfig=JSON.parse(JSON.stringify(this.widgetConfig)),this._readyCheck(this.widgetConfig)}static get styles(){return[...super.styles,uh]}disconnectedCallback(){this._refreshTimer&&clearTimeout(this._refreshTimer),super.disconnectedCallback()}firstUpdated(t){if(this.widgetConfig){let t=this._getTunnelInfoByConfig(this.widgetConfig);this._readyCheck(this.widgetConfig),setTimeout(()=>{this._getActiveTunnel(t).then(t=>{t&&(console.log("Existing tunnel found!",t),this._setActiveTunnel(t,!0))}).catch(t=>{console.error(t)}).finally(()=>{this._loading=!1})},500)}return super.firstUpdated(t)}render(){var t;this._getTunnelInfoByConfig(this.widgetConfig);let e=(null==(t=this.getEditMode)?void 0:t.call(this))||!this._isConfigComplete(this.widgetConfig)||!this._isReady;return X`
4784
+ `,uu=tW=class extends aE{constructor(){super(...arguments),this._loading=!0,this._isReady=!1,this._startedByUser=!1,this._refreshTimer=void 0}static getManifest(){return{displayName:"Gateway",displayIcon:"lan-connect",minColumnWidth:1,minColumnHeight:1,getContentHtml:t=>new tW(t),getSettingsHtml:t=>new ul(t),getDefaultConfig:()=>({attributeRefs:[],type:"HTTPS",target:"127.0.0.1",targetPort:443})}}refreshContent(t){this.widgetConfig=JSON.parse(JSON.stringify(this.widgetConfig)),this._readyCheck(this.widgetConfig)}static get styles(){return[...super.styles,uh]}disconnectedCallback(){this._refreshTimer&&clearTimeout(this._refreshTimer),super.disconnectedCallback()}firstUpdated(t){if(this.widgetConfig){let t=this._getTunnelInfoByConfig(this.widgetConfig);this._readyCheck(this.widgetConfig),setTimeout(()=>{this._getActiveTunnel(t).then(t=>{t&&(console.log("Existing tunnel found!",t),this._setActiveTunnel(t,!0))}).catch(t=>{console.error(t)}).finally(()=>{this._loading=!1})},500)}return super.firstUpdated(t)}render(){var t;this._getTunnelInfoByConfig(this.widgetConfig);let e=(null==(t=this.getEditMode)?void 0:t.call(this))||!this._isConfigComplete(this.widgetConfig)||!this._isReady;return X`
4785
4785
  <div id="gateway-widget-wrapper">
4786
4786
  <div id="gateway-widget-container">
4787
4787
  ${t0(this._loading,()=>X` <or-loading-indicator></or-loading-indicator> `,()=>{var t;return this._activeTunnel?X`