@pod-os/elements 0.26.1-rc.d4c6cc6.0 → 0.26.1-rc.d6e1fef.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.
@@ -3155,23 +3155,14 @@ const PosAppBrowser = class {
3155
3155
  /**
3156
3156
  * The mode the app is running in:
3157
3157
  *
3158
- * - standalone: use this when you deploy it as a standalone web application
3158
+ * - standalone: use this when you deploy it as a standalone web application
3159
3159
  * - pod: use this when you host this app as a default interface for you pod
3160
3160
  */
3161
3161
  this.mode = 'standalone';
3162
3162
  this.uri = '';
3163
3163
  }
3164
3164
  render() {
3165
- return (index.h(index.Host, { key: 'd2c863f8abf790352cdf9c830a1baa8d7aee95a8' }, index.h("pos-app", { key: '163415bea00a0a18f5e97f5cb7f3e5b9f5910f61', restorePreviousSession: this.restorePreviousSession }, index.h("pos-error-toast", { key: '799735b00aff86946259013132079814520ced7e' }, index.h("pos-router", { key: 'bdb89d03d93937399ec38b0b2c1d695feea248b9', mode: this.mode, "onPod-os:route-changed": e => (this.uri = e.detail) }, index.h("header", { key: 'e828af57fa2d8842c058197a826ac488cbb2a968' }, index.h("pos-add-new-thing", { key: '28eed0a89a4e554e88ea4fce13b2dd59c5ce0149', referenceUri: this.uri }), index.h("pos-navigation-bar", { key: '7cfa339b537b62240d5f2bbe7397107e8a1a7e8f', uri: this.uri === 'pod-os:dashboard' ? '' : this.uri }), index.h("pos-login", { key: 'c72bcdc0fdaa31a7e324dbbccc2e0e50125d021c' })), index.h("main", { key: 'a02ba7b0060f53346e49f10a85a856bf91a2d694' }, this.mainContent()), index.h("footer", { key: 'bf1dd2d6bc955fb7b84697ba8c3265146e537dd2' }, index.h(Logo, { key: 'ede51e21902c8f9c7c14fd41acd152536e65be79' }), index.h("span", { key: 'ab72f5096bb7049eb8e6d434ddd6e7f5ac2bc2f4' }, "PodOS Browser"), index.h("span", { key: '0beba45e269eeec9e9c85f058023174820962c3c' }, "|"), index.h("a", { key: 'f57e94eee1df69da8d61b5c8afe47caf921f428b', class: "settings", href: "?uri=pod-os%3Asettings" }, "\u2699 Settings")))))));
3166
- }
3167
- mainContent() {
3168
- if (this.uri === '') {
3169
- return null;
3170
- }
3171
- if (this.uri.startsWith('pod-os:')) {
3172
- return index.h("pos-internal-router", { uri: this.uri });
3173
- }
3174
- return (index.h("pos-resource", { key: this.uri, uri: this.uri }, index.h("pos-type-router", null)));
3165
+ return (index.h(index.Host, { key: '50b6e91f4e98be29cfa37552eb799883aeb49c9e' }, index.h("pos-app", { key: '652617d5eaf3653caeb58b9e93dff09810a587a3', restorePreviousSession: this.restorePreviousSession }, index.h("pos-error-toast", { key: 'f4a29b30c2a4caece50c0da046426bc50a3b402e' }, index.h("pos-router", { key: 'd3f2307db47406c4d84c9b27ac767d263ae81c32', mode: this.mode, "onPod-os:route-changed": e => (this.uri = e.detail) }, index.h("header", { key: '521c8469dae209a27780d62a5922f8a15d393e07' }, index.h("pos-add-new-thing", { key: '2fdd9716da4b3590fb0983a4b50f8c63eca26dce', referenceUri: this.uri }), index.h("pos-navigation-bar", { key: '6add9651de9ff5ca8496470c0df1341927683001', uri: this.uri === 'pod-os:dashboard' ? '' : this.uri }), index.h("pos-login", { key: '87a60cc03fc63a2ca68b294726e7e44a09bdc835' })), index.h("main", { key: 'dd2b3de09ca7f8957b240b030cafeeac37e76c1b' }, this.uri.startsWith('pod-os:') ? (index.h("pos-internal-router", { uri: this.uri })) : (index.h("pos-resource", { key: this.uri, uri: this.uri }, index.h("pos-type-router", null)))), index.h("footer", { key: 'ea1444713656c8740d81c5ac777b72bb6e287729' }, index.h(Logo, { key: '1bba3eec9e30c30f9132a6524e00ec212169f402' }), index.h("span", { key: '3b38a5e1704559f271075b60a27d8334f41a09dc' }, "PodOS Browser"), index.h("span", { key: '848dd110da12d70ec7798bfcf042638af8f7b121' }, "|"), index.h("a", { key: '8b748b91e4ae5351d0b2081dcb2af09867a00aee', class: "settings", href: "?uri=pod-os%3Asettings" }, "\u2699 Settings")))))));
3175
3166
  }
3176
3167
  };
3177
3168
  const Logo = () => {